PageSourceSearch

https://www.perfectgame.org/ScriptResource.axd?d=YxFU2pUkHIgnVyJnz…7oYZV1BQvt3E4oo8z8BGhTAX1EOXJjw2&t=1d95a2b4

js perfectgame.org collected 2026-09-24 15:25:34 UTC 28,358 bytes, 557 lines download raw bytes

1Type.registerNamespace("Telerik.Web.UI");
2(function(a,b,d){var c="v2.3";
3$telerik.toSocialShare=function(e){return e;
4};
5$telerik.findSocialShare=$find;
6b.RadSocialShare=function(e){b.RadSocialShare.initializeBase(this,[e]);
7this._mainButtons=null;
8this._compactButtons=null;
9this._addFbScript=false;
10this._addGoogleScript=false;
11this._addTwitterScript=false;
12this._addLinkedInScript=false;
13this._addYammerScript=false;
14this._addPinterestScript=false;
15this._uniqueId=false;
16this._ulElement=null;
17this._compactPopup=null;
18this._emailPopup=null;
19this._comboBox=null;
20this._emailButton=null;
21this._compactButton=null;
22this._trackerSet=false;
23this._locale="";
24this._fbLikeWithSend=false;
25this._standardClickDelegate=null;
26this._toggleCompactDelegate=null;
27this._toggleEmailDelegate=null;
28this._sendMailDelegate=null;
29this._tryAgainDelegate=null;
30};
31b.RadSocialShare.prototype={initialize:function(){b.RadSocialShare.callBaseMethod(this,"initialize");
32if(this._addLinkedInScript){window[this.get_id()+"linkedInHandler"]=Function.createDelegate(this,this._linkedInShare);
33this._addScriptBlock(this._getStandardButtonUrl("linkedInPlatform"));
34var h=this;
35setTimeout(function(){h._addScriptBlock(b.RadSocialShare.SocialNetUrls.LinkedInnonSecureAnonymousScript);
36},10);
37}var f=this.get_element();
38if($telerik.isRightToLeft(f)){Sys.UI.DomElement.addCssClass(f,"sshRtl");
39}this._ulElement=this.get_element().getElementsByTagName("ul")[0];
40this.configureButtons(true);
41this.configureCompactPopup();
42this.configureEmailPopup();
43if(this._addFbScript||this._addTwitterScript||this._addGoogleScript||this._addLinkedInScript||this._addYammerScript||this._addPinterestScript){if(this._addFbScript){this._addScriptBlock(this._getStandardButtonUrl("facebookscript"));
44}if(this._addGoogleScript){this._addScriptBlock(this._getStandardButtonUrl("googlescript"));
45}if(this._addTwitterScript){this._addScriptBlock(this._getStandardButtonUrl("twitterscript"));
46}if(this._addPinterestScript){this._addScriptBlock(this._getStandardButtonUrl("pinterestscript"));
47}if(this._addYammerScript){this._initScriptButtons(this._getStandardButtonUrl("yammerscript"),Function.createDelegate(this,function(){this.addYammerButtons();
48}));
49}setTimeout(Function.createDelegate(this,this.parseGeneratedButtons),300);
50}var e=$get(this.get_id()+"_IEHack");
51if($telerik.isIE&&e){e.parentNode.removeChild(e);
52}if(this.get_gaEnabled()){var g=("https:"==document.location.protocol)?"https://ssl":"http://www";
53this._addScriptBlock(g+this._getStandardButtonUrl("ga"));
54}},dispose:function(){var f=this.get_mainButtons();
55if(f&&f.length>0){this._disposeButtons(f);
56}var e=this.get_compactButtons();
57if(e&&e.length>0){this._disposeButtons(e);
58}if(this._emailPopup){this.setupEmailElements(null,true);
59}this._standardClickDelegate=null;
60this._toggleEmailDelegate=null;
61this._toggleCompactDelegate=null;
62b.RadSocialShare.callBaseMethod(this,"dispose");
63},_disposeButtons:function(f){for(var g=0;
64g<f.length;
65g++){var e=f[g]._element;
66if(e){a(e).unbind();
67}}},configureButtons:function(m){var g=(!m&&this._comboBox)?this._comboBox.get_childListElement().parentNode:this._ulElement;
68var k=(!m&&this._comboBox)?$telerik.getChildrenByClassName(this._comboBox.get_childListElement(),"rcbItem"):$telerik.getChildrenByClassName(g,"sshListItem");
69var f=m?this.get_mainButtons():this.get_compactButtons();
70if(!f){return;
71}this._standardClickDelegate=Function.createDelegate(this,this._clickHandler);
72this._toggleCompactDelegate=Function.createDelegate(this,this.toggleCompactPopup);
73this._toggleEmailDelegate=Function.createDelegate(this,this.toggleEmailPopup);
74var q=this.get_urlToShare()?this.get_urlToShare():location.href;
75for(var l=0;
76l<f.length;
77l++){var e=f[l];
78if(!k[l]){return;
79}e._element=k[l].firstChild;
80var p=e[0];
81if(e[1]){e[2]=e[2]?e[2]:e[1];
82}else{var h=document,o=h.title?h.title:h.location.href;
83if(this.get_titleToShare()){o=this.get_titleToShare();
84}e[2]=e[2]?e[2]:o;
85}e[1]=e[1]?e[1]:q;
86if(p==="Pinterest"){var j=e[3];
87e[3]=j?j:document.location.href;
88}var n=this._getStandardButtonUrl(p);
89if(n){e[1]=encodeURIComponent(e[1]);
90a(e._element).bind("click",{button:e},this._standardClickDelegate);
91}else{if(m){if(!this._fbLikeWithSend){this._fbLikeWithSend=(f[l][0]=="FacebookLike"||f[l][0]=="FacebookRecommend")&&(f[l+1]&&f[l+1][
910]=="FacebookSend");
92}if(p.indexOf("Facebook")>-1&&p!="ShareOnFacebook"){this.configureFbButton(e);
93}if(p=="Twitter"){this.configureTwitterButton(e);
94}if(p=="GooglePlusOne"){this.configureGoogleButton(e);
95}if(p.indexOf("LinkedIn")>-1&&p!="LinkedIn"){this.configureLinkedInButton(e);
96}if(p=="Yammer"){this.configureYammerButton(e);
97}if(p=="Pinterest"){this.configurePinterestButton(e);
98}}if(p=="CompactButton"){a(e._element).bind("click",{button:e},this._toggleCompactDelegate);
99this._compactButton=e;
100}if(p=="SendEmail"){a(e._element).bind("click",{button:e},this._toggleEmailDelegate);
101this._emailButton=e;
102}}}},configureCompactPopup:function(){this._compactPopup=$find(this.get_id()+"_compactPopup");
103if(!this._compactPopup){return;
104}this._comboBox=$find(this._compactPopup.get_id()+"_C_comboBox");
105this._compactPopup._comboBox=this._comboBox;
106this._compactPopup.add_show(Function.createDelegate(this,this._showCompactPopupHandler));
107this.configureButtons(false);
108this._comboBox.add_selectedIndexChanged(this.comboBoxSelectionChanged);
109this._comboBox.add_dropDownClosing(function(f,e){e.set_cancel(true);
110});
111this._compactPopup.add_beforeClose(this._closeCompactPopupHandler);
112},configureEmailPopup:function(){this._emailPopup=$find(this.get_id()+"_emailPopup");
113if(!this._emailPopup){return;
114}this._emailPopup.add_show(Function.createDelegate(this,this._showEmailPopupHandler));
115this._emailPopup.add_beforeClose(this._closeEmailPopupHandler);
116this._emailPopup._createUI();
117if(!this.get_hideIframesOnDialogMove()&&this._emailPopup._resizeExtender){this._emailPopup._resizeExtender.set_hideIframes(false);
118}this.setupEmailElements(this._emailPopup.get_contentElement());
119},_addScriptBlock:function(r,e){var s=this,n=Function.createDelegate(s,function(i){(i.target||i.srcElement).loading=d;
120if(e){e();
121}else{s.parseGeneratedButtons();
122}}),p=function(i){var l=(i.srcElement||i.target);
123if(l.readyState==="complete"||l.readyState==="loaded"){l.onreadystatechange=null;
124l.loading=d;
125if(e){e();
126}else{s.parseGeneratedButtons();
127}}};
128r=r.replace("[locale]",this._locale);
129var g=document.getElementsByTagName("script");
130for(var k=0,m=g.length;
131k<m;
132k++){var f=g[k];
133if(f&&f.getAttribute("src")==r){if(f.loading){$telerik.addExternalHandler(f,"readystatechange",p);
134$telerik.addExternalHandler(f,"load",n);
135return true;
136}return;
137}}var j=document.getElementsByTagName("head")[0];
138var q=document.createElement("script");
139q.setAttribute("async",true);
140q.type="text/javascript";
141q.src=r;
142q.loading=true;
143q.parsetags="explicit";
144q.onload=n;
145$telerik.addExternalHandler(q,"readystatechange",p);
146if(r.indexOf("connect.facebook.net")>=0){var h=$get("fb-root");
147if(!h){h=document.createElement("div");
148h.setAttribute("id","fb-root");
149h.appendChild(q);
150document.body.appendChild(h);
151}else{j.appendChild(q);
152}}else{j.appendChild(q);
153}var o=this._getGooglePlusOneLocale();
154window.___gcfg={lang:o,parsetags:"onload"};
155return true;
156},_initScriptButtons:function(g,f){var e=this._addScriptBlock(g,f);
157e||f("custom");
158},_getGooglePlusOneLocale:function(){var e=this._locale.replace("_","-");
159if(e=="zh-CN"||e=="zh-TW"||e=="en-GB"||e=="en-US"||e=="pt-BR"||e=="pt-PT"||e=="es-419"){return e;
160}else{return e.substring(0,e.indexOf("-"));
161}},parseGeneratedButtons:function(){var h=window.twttr,g=g;
162if(this._addFbScript){try{if(!window.fbAsyncInit){window.fbAsyncInit=Function.createDelegate(this,function(){window.FB.init({appId:this.get_fbAppId(),status:true,cookie:true,xfbml:true,version:c});
163this.attachFacebookEvents();
164});
165}else{var f=window.FB;
166if(f&&f.XFBML&&f.XFBML.parse&&window.fbAsyncInit.hasRun){f.XFBML.parse(this.get_element());
167this.attachFacebookEvents();
168}}}catch(e){}}if(this._addTwitterScript&&typeof(h)!="undefined"&&h){h.widgets.load();
169if(!this._twEventsAdded){h.events.bind("tweet",Function.createDelegate(this,this._tweet));
170this._twEventsAdded=true;
171}}if(this._addGoogleScript&&typeof(gapi)!="undefined"&&window.gapi){window.gapi.plusone.go(this.get_element());
172}if(this._addLinkedInScript&&typeof(g)!="undefined"&&a(document.documentElement).find("script[src='https:"+b.RadSocialShare.SocialNetUrls.LinkedInnonSecureAnonymousScript+"']").length>0){setTimeout(function(){if(typeof(g.parse)!="undefined"){window.IN.parse();
173}},500);
174}},attachFacebookEvents:function(){var e=window.FB;
175if(!this._fbEventsAdded){e.Event.subscribe("edge.create",Function.createDelegate(this,this._fbLike));
176e.Event.subscribe("edge.remove",Function.createDelegate(this,this._fbUnLike));
177e.Event.subscribe("message.send",Function.createDelegate(this,this._fbSend));
178this._fbEventsAdded=true;
179}},addYammerButtons:function(){if(window.yam===d){return;
180}var f=window.yam;
181f.config({appId:this.get_yammerAppId()});
182this._fixMissingYammerHelper();
183var e=a(this.get_element());
184var g=e.find("[data-telerik-yammerbutton]");
185g.each(this._createYammerActionButton);
186},_createYammerActionButton:function(h,f){var j="__telerik_yammer_"+this.parentElement.parentElement.id+"_"+h;
187f.setAttribute("id",j);
188try{f.innerHTML="";
189window.yam.connect.actionButton({container:"#"+j,network:f.getAttribute("data-telerik-network"),action:f.getAttribute("data-telerik-actionButton")});
190}catch(g){}finally{f.removeAttribute("data-telerik-network");
191f.removeAttribute("data-telerik-actionButton");
192}},_fixMissingYammerHelper:function(){var e=window.yam;
193if(e.helper===d){e.helper={message:""};
194}},_closeCompactPopupHandler:function(f,e){f._comboBox.clearSelection();
195},_showCompactPopupHandler:function(j,f){var g=this._comboBox;
196g._removeEmTagsFromAllItems();
197g.setAllItemsVisible(true);
198if(!g.get_dropDownVisible()){g.showDropDown();
199var h=g.get_dropDownElement();
200var i=h.parentNode;
201j.get_contentElement().appendChild(i);
202Sys.UI.DomElement.addCssClass(i,"sshComboDropDown");
203Sys.UI.DomElement.addCssClass(g.get_element(),"sshComboWrapper");
204}if(!this.get_hideIframesOnDialogMove()&&j._resizeExtender){j._resizeExtender.set_hideIframes(false);
205}setTimeout(function(){g.get_inputDomElement().focus();
206},10);
207var e=new b.SocialDialogEventArgs(j,this._compactButton);
208this.raiseEvent("clicked",e);
209j.autoSize();
210},_closeEmailPopupHandler:function(l,e){var f=l.get_contentElement();
211var h=f.getElementsByTagName("*");
212for(var j=0;
213j<h.length;
214j++){var g=h[j];
215var m=g.tagName.toLowerCase();
216if((m=="input"&&g.getAttribute("type")=="text")||m=="textarea"){g.value="";
217Sys.UI.DomElement.removeCssClass(g,"sshWrongEmail");
218}else{var k=g.id;
219if(k){if(k.indexOf("emailForm")>-1){g.style.display="";
220}else{if(k.indexOf("error")>-1||k.indexOf("success")>-1){g.style.display="none";
221}}}}}__doPostBack(l._captchaRefresh.id,"");
222},_showEmailPopupHandler:function(h,f){var g=this.get_compactPopup();
223if(g&&g.isVisible()){g.close();
224}this._url.value=decodeURIComponent(this._emailButton[1]);
225this._subject.value="[Your email] has shared a link with you";
226h.autoSize();
227setTimeout(function(){h._toInput.focus();
228},10);
229var e=new b.SocialDialogEventArgs(h,this._emailButton);
230this.raiseEvent("clicked",e);
231},configureFbButton:function(f){var k=f[0].toLowerCase().replace("facebook","");
232var j=(k=="like"||k=="recommend")?"fb:like":"fb:send";
233f._element.style.display="none";
234var g=k!="share"?document.createElement(j):document.createElement("fb:share-button");
235if(this._fbLikeWithSend){if(k=="like"||k=="recommend"){g.setAttribute("send",true);
236}else{if(k=="send"){return;
237}}}var i=f[1];
238var e=this._getFbBtnSetting(f[4]);
239if(k!="share"){g.setAttribute("action",k);
240g.setAttribute("show_faces",f[3]!==d?f[3]:true);
241g.setAttribute("layout",e);
242g.setAttribute("colorscheme",f[5]!==d?f[5].toLowerCase():"light");
243if(f[7]){g.setAttribute("font",this._getFbBtnSetting(f[7]));
244}if(f[8]&&f[8]!=""){g.setAttribute("ref",f[8]);
245}}else{g.setAttribute("type",e);
246}if(f[6]!=""){g.setAttribute("width",f[6]+"px");
247}var h=f._element.parentNode;
248g.setAttribute("href",i);
249g.setAttribute("parentSsh",this.get_id());
250h.appendChild(g);
251},configureTwitterButton:function(f){var g=b.RadSocialShare.SocialNetUrls.ShareOnTwitter.replace("[u]",f[1]).replace("[t]",encodeURIComponent(f[2]));
252var e=f._element;
253e.parentNode.setAttribute("parentSsh",this.get_id());
254Sys.UI.DomElement.addCssClass(e,"twitter-share-button");
255e.setAttribute("href",g);
256e.setAttribute("data-count",f[3]!==d?f[3].toLowerCase():"none");
257},configureGoogleButton:function(e){var f=document.createElement("g:plusone");
258window[this.get_id()+"plusoneHandler"]=Function.createDelegate(this,this._gPlusOne);
259f.setAttribute("callback",this.get_id()+"plusoneHandler");
260f.setAttribute("href",decodeURIComponent(e[1]));
261f.setAttribute("size",e[3]!==d?e[3].toLowerCase():"standard");
262f.setAttribute("annotation",e[4]!==d?e[4].toLowerCase():"none");
263if(e[5]!==d){f.setAttribute("width",e[5]);
264}e._element.parentNode.appendChild(f);
265e._element.style.display="none";
266},configureLinkedInButton:function(e){var h="<script type='IN/Share' ";
267var i=e[1];
268if(i!=""){h+="data-url='"+i+"' ";
269}var g=e[3];
270if(g!="None"){h+=g=="Vertical"?"data-counter='top'":"data-counter='right'";
271}if(e[4]=="true"){h+=" data-showZero='true'";
272}h+=" data-onsuccess='"+this.get_id()+"linkedInHandler'></script>";
273var f=document.createElement("div");
274e._element.parentNode.appendChild(f);
275e._element.style.display="none";
276$telerik.$(f).html(h);
277},configureYammerButton:function(e){var f=this.verifyYammerButtonData(e);
278var g=e._element.parentNode;
279g.setAttribute("data-telerik-actionButton",f.type);
280g.setAttribute("data-telerik-network",f.network);
281g.setAttribute("data-telerik-yammerButton","true");
282},verifyYammerButtonData:function(e){var g={type:"like",network:""};
283var f=e[3].toLowerCase();
284if(f=="like"||f=="follow"){a.extend(g,{type:f,network:e[4]});
285}return g;
286},configurePinterestButton:function(f){var g=f[0];
287var j=f[1];
288var i=f[2];
289var h=f[3];
290var e=f[5];
291if(g==="Pinterest"){switch(e){case"PinIt":this.createPinItButton(f,j,i,h);
292break;
293case"PinPageImage":this.createPinterestBookmarkletButton(f);
294break;
295case"Follow":this.createPinterestFollowButton(f,j);
296break;
297default:this.createPinItButton(f,j,i,h);
298}}},createPinItButton:function(e,k,i,h){if(!isNaN(e[3])){h=d;
299}var j=b.RadSocialShare.SocialNetUrls.PinIt.replace("[m]",encodeURIComponent(k)).replace("[d]",encodeURIComponent(i)).replace("[u]",h!==d?encodeURIComponent(h):location.href);
300var f=e._element;
301f.setAttribute("data-pin-do","buttonPin");
302f.setAttribute("href",j);
303var g=e[4];
304if(g!="None"){if(g==="Vertical"){f.setAttribute("data-pin-config","above");
305$telerik.$(f).wrap('<span class="sshStandardPinItButtonVertical"></span>');
306}else{if(g==="Horizontal"){f.setAttribute("data-pin-config","beside");
307$telerik.$(f).wrap('<span class="sshStandardPinItButtonHorizontal"></span>');
308}}}},createPinterestBookmarkletButton:function(e){var f=e._element;
309f.setAttribute("href","#");
310f.innerHTML='<img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" style="border: none"; alt="Pin" />';
311$telerik.$(f).wrap('<span class="sshStandardPinPageImageButton"></span>');
312a(f).on("click",this.initializePinterestBookmarkletScript);
313},initializePinterestBookmarkletScript:function(f){f.preventDefault();
314var h=b.RadSocialShare.SocialNetUrls.pinterestBookmarkletScript;
315var g=document.getElementsByTagName("head")[0];
316if(g){var i=document.createElement("script");
317i.setAttribute("async",true);
318i.type="text/javascript";
319i.src=h;
320g.appendChild(i);
321}},createPinterestFollowButton:function(e,g){var f=e._element;
322f.setAttribute("href",g);
323f.setAttribute("data-pin-do","buttonFollow");
324f.innerHTML="Follow";
325$telerik.$(f).wrap('<span class="sshStandardPinterestFollowButton"></span>');
326},_getStandardButtonUrl:function(e){return b.RadSocialShare.SocialNetUrls[e];
327},_getFbBtnSetting:function(e){switch(e){case"IconLink":e="icon_link";
328break;
329case"BoxCount":e="box_count";
330break;
331case"ButtonCount":e="button_count";
332break;
333case"LucidaGrande":e="lucida grande";
334break;
335case"SegoeUI":e="segoe ui";
336break;
337case"TrebuchetMS":e="trebuchet ms";
338break;
339}return e.toLowerCase();
340},set_fbShareStrings:function(i,h){var e=this.get_element();
341var f=a.merge(a(e).find("iframe[class='fb_ltr']"),a(e).find("iframe[class='fb_rtl']"));
342a(f).each(function(){this.src=this.src.replace(/&href=[^&]+/,"&href="+i);
343});
344var g=a(e).find("a[name='fb_share']");
345a(g).each(function(){this.href=this.href.replace(/u=[^&]+/,"u="+i);
346this.href=this.href;
347});
348},set_googleShareStrings:function(h,g){var e=this.get_element();
349var f=a(e).find("iframe[title='+1']");
350a(f).each(function(){this.src=this.src.replace(/url=[^&]+/,"url="+h);
351});
352},set_twitterShareStrings:function(h,g){var e=this.get_element();
353var f=a(e).find(".twitter-share-button");
354a(f).each(function(){var j=this.src.replace(/&url=[^&]+/,"&url="+h).replace(/&text=[^&]+/,"&text="+g);
355var i=this;
356i.src="";
357setTimeout(function(){i.src=j;
358},100);
359});
360},set_linkedInShareStrings:function(h,g){var e=this.get_element();
361var f=a(e).find("script[type='IN/Share+init']");
362if(f.length==0){return;
363}a(f).each(function(){this.setAttribute("data-url",h);
364this.setAttribute("type","IN/Share");
365this.parentNode.removeChild(this.parentNode.firstChild);
366});
367setTimeout(function(){window.IN.init();
368},30);
369},set_customButtonsStrings:function(h,k,j){var f=h?this.get_mainButtons():this.get_compactButtons();
370if(f){for(var g=0;
371g<f.length;
372g++){var e=f[g];
373if(k){this.set_urlToShare(k);
374e[1]=k;
375}if(j){this.set_titleToShare(j);
376e[2]=j;
377}}}},set_stringsToShare:function(f,e){if((!f||this._urlToShare==f)&&(!e||this._titleToShare==e)){return;
378}if(f){this.set_urlToShare(f);
379}if(e){this.set_titleToShare(e);
380}this.set_customButtonsStrings(true,f,e);
381this.set_customButtonsStrings(false,f,e);
382this.set_fbShareStrings(f,e);
383this.set_googleShareStrings(f,e);
384this.set_twitterShareStrings(f,e);
385this.set_linkedInShareStrings(f,e);
386},_clickHandler:function(l){var g=l.data.button;
387var i=new b.SocialDialogCancelEventArgs(g);
388this.raiseEvent("clicking",i);
389var y=g[1];
390var t=encodeURIComponent(g[2]);
391var x=b.RadSocialShare.SocialNetUrls[g[0]].replace("[u]",y).replace("[t]",t);
392var z=g[3];
393var n=g[4];
394var q=window.screen?window.screen:$telerik.getViewPortSize();
395var u=g[5]?g[5]:(q.height-n)/2;
396var o=g[6]?g[6]:(q.width-z)/2;
397var j;
398if(i.get_cancel()){return;
399}
399var r=(g[0]=="MailTo")?"_self":"sharer";
400var h=g[0];
401if(h.toLowerCase().indexOf("pinterest")==-1){j=window.open(x,r,"resizable,scrollbars=1,toolbar=0,status=0,width="+z+",height="+n+",top="+u+",left="+o);
402}else{var v=g[1];
403var s=g[2];
404var m=document.location.href;
405var w=b.RadSocialShare.SocialNetUrls.PinIt.replace("[m]",v).replace("[d]",s?encodeURIComponent(s):document.location.href).replace("[u]",encodeURIComponent(m));
406var k=z!=470?z:580;
407j=window.open(w,r,"resizable,scrollbars=1,toolbar=0,status=0,width="+k+",height="+n+",top="+u+",left="+o);
408}$telerik.cancelRawEvent(l);
409var f=new b.SocialDialogEventArgs(j,g);
410this.raiseEvent("clicked",f);
411if(this.get_gaEnabled()){this._trackSocial(g[0].replace("ShareOn",""),"share",g[1]);
412}var p=this.get_compactPopup();
413if(p&&p.isVisible()){p.close();
414}},_fbLike:function(e,f){if(f.getAttribute("parentSsh")!=this.get_id()){return;
415}this._onSocialAction("fbLike",e,"facebook");
416},_fbUnLike:function(e,f){if(f.getAttribute("parentSsh")!=this.get_id()){return;
417}this._onSocialAction("fbUnLike",e,"facebook");
418},_fbSend:function(e,f){if(f.getAttribute("parentSsh")!=this.get_id()){return;
419}this._onSocialAction("fbSend",e,"facebook");
420},_onSocialAction:function(f,h,g){h=decodeURIComponent(h);
421var e=Sys.EventArgs.Empty;
422e._url=h;
423e.get_url=function(){return this._url;
424};
425this.raiseEvent(f,e);
426if(g&&this.get_gaEnabled()){this._trackSocial(g,f.replace("fb","").replace("linkedIn","").toLowerCase(),h);
427}},_setUpGAAccount:function(){var e=window._gaq=window._gaq||[];
428var g=this.get_trackerId();
429var h=window._gat._getTrackers();
430if(h.length==0){e.push([(g+"._setAccount"),this.get_gaID()]);
431e.push([g+"._trackPageview"]);
432}else{for(var f=0;
433f<h.length;
434f++){if(h[f]._getName()==g){continue;
435}e.push([(g+"._setAccount"),this.get_gaID()]);
436e.push([g+"._trackPageview"]);
437}}this._trackerSet=true;
438},_tweet:function(e){var f=e.target;
439if(!(f&&f.parentNode.getAttribute("parentSsh")==this.get_id())){return;
440}var g=f.src.split("&url=")[1];
441this._onSocialAction("tweet",g,"twitter");
442},_gPlusOne:function(e){var g=e.href;
443var f=e.state+"Plusone";
444this._onSocialAction(f,g,"Google");
445},_linkedInShare:function(e){this._onSocialAction("linkedInShare",e,"LinkedIn");
446},_trackSocial:function(f,g,i){if(!this._trackerSet){this._setUpGAAccount();
447}var j;
448var e=window._gaq;
449if(f=="Google"){var h=g.replace("Plusone","");
450j=this.get_trackerId()+"._trackEvent";
451e.push([j,f,h,i]);
452}else{if(f=="Twitter"){g="tweet";
453}j=this.get_trackerId()+"._trackSocial";
454e.push([j,f,g,i]);
455}},comboBoxSelectionChanged:function(f,e){var g=e.get_item().get_element().firstChild;
456$telerik.$(g).trigger("click");
457},toggleCompactPopup:function(f){this.togglePopup(this.get_compactPopup(),f);
458},toggleEmailPopup:function(f){this.togglePopup(this.get_emailPopup(),f);
459},togglePopup:function(i,h){if(!i){return;
460}if(!i.isVisible()){if(h){if(h&&h.data&&h.data.button){var f=h.data.button;
461var g=new b.SocialDialogCancelEventArgs(f);
462this.raiseEvent("clicking",g);
463if(g.get_cancel()){return;
464}if(f[0]=="SendEmail"){this._emailButton=f;
465}}}i.show();
466}else{i.close();
467}$telerik.cancelRawEvent(h);
468},setupEmailElements:function(f,k){var h=["_url","_from","_to","_comments","_subject","_emailForm","_errorValidation","_success","_error","_errorCaptcha","_sendBtn","_ok","_tryAgain","_cancel"];
469for(var j=0;
470j<h.length;
471j++){var g=h[j];
472if(k){a(this[g]).unbind();
473this[g]=null;
474this._sendMailDelegate=null;
475this._tryAgainDelegate=null;
476this._fromBlurDelegate=null;
477}this[g]=$get(this.get_id()+g,f);
478}if(!k){this._sendMailDelegate=Function.createDelegate(this,this.sendMail);
479this._tryAgainDelegate=Function.createDelegate(this,this._tryAgainHandler);
480this._fromBlurDelegate=Function.createDelegate(this,this._fromBlur);
481if(this._sendBtn){a(this._sendBtn).bind("click",this._sendMailDelegate);
482}if(this._ok){a(this._ok).bind("click",this._toggleEmailDelegate);
483}if(this._cancel){a(this._cancel).bind("click",this._toggleEmailDelegate);
484}if(this._tryAgain){a(this._tryAgain).bind("click",this._tryAgainDelegate);
485}if(this._from){a(this._from).bind("blur",this._fromBlurDelegate);
486}var e=this.get_id()+"_emailPopup_C_"+this.get_id()+"_captcha";
487this._captchaTb=$get(e+"_CaptchaTextBox",f);
488this._emailPopup._captchaRefresh=$get(e+"_CaptchaLinkButton",f);
489this._emailPopup._toInput=this._to;
490}},sendMail:function(f){$telerik.cancelRawEvent(f);
491var g=this.validateEmails();
492if(!g){this._errorValidation.style.display="";
493this._emailPopup.autoSize();
494}else{this._errorValidation.style.display="none";
495WebForm_DoCallback(this._uniqueId,"sendMail&"+this._from.value+"&"+this._to.value+"&"+encodeURIComponent(this._subject.value)+"&"+encodeURIComponent(this._comments.value)+"<br/> "+encodeURIComponent("<a href='"+this._url.value+"'>"+this._url.value+"</a>")+"&"+this._captchaTb.value,Function.createDelegate(this,this.success),"context",Function.createDelegate(this,this.error));
496}},success:function(){this._emailForm.style.display="none";
497this._success.style.display="";
498this._emailPopup.autoSize();
499},error:function(f){var e=this._errorCaptcha;
500if(f.indexOf("email captha failed!")<0){this._emailForm.style.display="none";
501e=this._error;
502}e.style.display="";
503this._emailPopup.autoSize();
504},validateEmail:function(f,g){var e=/^[a-zA-Z0-9._-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,4}$/;
505var h=e.test(f);
506if(h){Sys.UI.DomElement.removeCssClass(g,"sshWrongEmail");
507}else{Sys.UI.DomElement.addCssClass(g,"sshWrongEmail");
508}return h;
509},validateEmails:function(){var f=this.validateEmail(this._from.value.replace(/[ ,;]/g,""),this._from);
510var j=true;
511var h=this._to.value;
512if(h.indexOf(",")<0&&h.indexOf(";")<0){j=this.validateEmail(h.replace(/ /g,""),this._to);
513}else{var g=h.replace(/[ ]/g,"").split(/[,;]+/);
514for(var e=0;
515e<g.length;
516e++){if(g[e]!=""){j=j&&this.validateEmail(g[e],this._to);
517}}}return f&&j;
518},_tryAgainHandler:function(){this._closeEmailPopupHandler(this._emailPopup);
519this._showEmailPopupHandler(this._emailPopup);
520},_fromBlur:function(){if(this._subject.value.indexOf("has shared a link with you")>-1){this._subject.value=this._from.value+" has shared a link with you";
521}},get_mainButtons:function(){return this._mainButtons;
522},set_mainButtons:function(e){if(!e){this._mainButtons=[];
523}else{this._mainButtons=eval(e);
524}},get_compactButtons:function(){return this._compactButtons;
525},set_compactButtons:function(e){if(!e){this._compactButtons=[];
526}else{this._compactButtons=eval(e);
527}},get_compactPopup:function(){return this._compactPopup;
528},get_emailPopup:function(){return this._emailPopup;
529},get_gaEnabled:function(){return this.get_gaID()!="";
530},get_trackerId:function(){return"tracker_"+this.get_gaID();
531},get_rippleZonesConfiguration:function(){return[{element:this.get_element(),rippleConfigurations:[{rippleType:b.MaterialRippleType.Icon,containerSelector:".sshIcon",iconRippleSizeFactor:0.8}]}];
532}};
533a.registerControlProperties(b.RadSocialShare,{gaID:"",fbAppId:"",yammerAppId:"",hideIframesOnDialogMove:true,urlToShare:"",titleToShare:""});
534a.registerControlEvents(b.RadSocialShare,["clicking","clicked","fbLike","fbUnLike","fbSend","tweet","onPlusone","offPlusone","linkedInShare"]);
535Telerik.Web.UI.RadSocialShare.registerClass("Telerik.Web.UI.RadSocialShare",b.RadWebControl);
536if(!b.RadSocialShare.SocialNetUrls){b.RadSocialShare.SocialNetUrls={ShareOnTwitter:"http://twitter.com/intent/tweet?url=[u]&text=[t]",ShareOnGooglePlus:"https://plus.google.com/share?url=[u]",GoogleBookmarks:"https://www.google.com/bookmarks/mark?op=add&bkmk=[u]&title=[t]",LinkedIn:"https://www.linkedin.com/shareArticle?mini=true&url=[u]&title=[t]",Delicious:"http://delicious.com/save?url=[u]&amp;title=[t]",Blogger:"http://www.blogger.com/blog_this.pyra?t=&u=[u]&n=[t]",Digg:"http://digg.com/submit?url=[u]&amp;title=[t]",Reddit:"http://www.reddit.com/submit?url=[u]&amp;title=[t]",StumbleUpon:"http://www.stumbleupon.com/submit?url=[u]&amp;title=[t]",MySpace:"http://www.myspace.com/Modules/PostTo/Pages/?u=[u]&amp;t=[t]",Tumblr:"http://www.tumblr.com/share/link?url=[u]&name=[t]",MailTo:"mailto:?body=[u]&subject=[t]",ShareOnFacebook:"http://www.facebook.com/sharer.php?u=[u]&t=[t]",linkedInPlatform:"//platform.linkedin.com/in.js?async=true",facebookscript:"//connect.facebook.net/[locale]/sdk.js",googlescript:"//apis.google.com/js/plusone.js",twitterscript:"//platform.twitter.com/widgets.js",ga:".google-analytics.com/ga.js",yammerscript:"https://c64.assets-yammer.com/assets/platform_embed.js",ShareOnYammer:"https://www.yammer.com/home/bookmarklet?bookmarklet_pop=1&u=[u]&t=[t]",PinIt:"//pinterest.com/pin/create/button/?media=[m]&url=[u]&description=[d]",pinterestscript:"//assets.pinterest.com/js/pinit.js?r="+Math.random(),ShareOnPinterest:"//assets.pinterest.com/js/pinit.js",pinterestBookmarkletScript:"//assets.pinterest.com/js/pinmarklet.js",LinkedInnonSecureAnonymousScript:"//platform.linkedin.com/js/secureAnonymousFramework?v=0.0.2000-RC8.57838-1429"};
537}Telerik.Web.UI.SocialDialogEventArgs=function(f,e){Telerik.Web.UI.SocialDialogEventArgs.initializeBase(this);
538this._dialog=f;
539this._socialNetType=e[0];
540this._button=e;
541};
542Telerik.Web.UI.SocialDialogEventArgs.prototype={get_dialog:function(){return this._dialog;
543},get_socialNetType:function(){return this._socialNetType;
544},get_url:function(){return decodeURIComponent(this._button[1]);
545}};
546Telerik.Web.UI.SocialDialogEventArgs.registerClass("Telerik.Web.UI.SocialDialogEventArgs",Sys.EventArgs);
547Telerik.Web.UI.SocialDialogCancelEventArgs=function(e){Telerik.Web.UI.SocialDialogCancelEventArgs.initializeBase(this);
548this._socialNetType=e[0];
549this._button=e;
550};
551Telerik.Web.UI.SocialDialogCancelEventArgs.prototype={get_socialNetType:function(){return this._socialNetType;
552},get_url:function(){return decodeURIComponent(this._button[1]);
553},set_stringsToShare:function(f,e){if(f){this._button[1]=encodeURIComponent(f);
554}if(e){this._button[2]=encodeURIComponent(e);
555}}};
556Telerik.Web.UI.SocialDialogCancelEventArgs.registerClass("Telerik.Web.UI.SocialDialogCancelEventArgs",Sys.CancelEventArgs);
557})($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.