PageSourceSearch

https://strongdia.com/wp-content/plugins/super-socializer/js/front/combined.js?ver=7.13.26

js strongdia.com collected 2026-09-26 08:23:18 UTC 59,444 bytes, 873 lines download raw bytes

1theChampFBKey = typeof theChampFBKey != 'undefined' ? theChampFBKey : '', theChampFBLang = typeof theChampFBLang != 'undefined' ? theChampFBLang : theChampDefaultLang, theChampFbIosLogin = typeof theChampFbIosLogin != 'undefined' ? theChampFbIosLogin : 0;
2// general.js
3function theChampPopup(e){window.open(e,"_blank","height=420,width=620,left=390,top=105,resizable,scrollbars,toolbar=0,personalbar=0,menubar=no,location=no,directories=no,status")}function theChampStrReplace(e,t,n){for(var r=0;r<e.length;r++){n=n.replace(new RegExp(e[r],"g"),t[r])}return n}function theChampCallAjax(e){if(typeof jQuery!="undefined"){e()}else{theChampGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}function theChampGetScript(e,t){var n=document.createElement("script");n.src=e;var r=document.getElementsByTagName("head")[0],i=false;n.onload=n.onreadystatechange=function(){if(!i&&(!this.readyState||this.readyState=="loaded"||this.readyState=="complete")){i=true;t();n.onload=n.onreadystatechange=null;r.removeChild(n)}};r.appendChild(n)}function theChampGetElementsByClass(e,t){if(e.getElementsByClassName){return e.getElementsByClassName(t)}else{return function(e,t){if(t==null){t=document}var n=[],r=t.getElementsByTagName("*"),i=r.length,s=new RegExp("(^|\\s)"+e+"(\\s|$)"),o,u;for(o=0,u=0;o<i;o++){if(s.test(r[o].className)){n[u]=r[o];u++}}return n}(t,e)}}if(typeof String.prototype.trim!=="function"){String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}}
4function theChampGetCookie(e){for(var t=e+"=",a=document.cookie.split(";"),h=0;h<a.length;h++){for(var i=a[h];" "==i.charAt(0);)i=i.substring(1,i.length);if(0==i.indexOf(t))return i.substring(t.length,i.length)}return null}
5// common.js
6function theChampLoginPopup(e){if("undefined"!=typeof theChampSameTabLogin&&theChampSameTabLogin==1){location.href=e}else{window.open(e,"_blank","height=520,width=770,left=315,top=80,resizable,scrollbars,toolbar=0,personalbar=0,menubar=no,location=no,directories=no,status")}}function theChampLoadingIcon(){jQuery(".the_champ_login_container").html('<img id="the_champ_loading_image" src="'+theChampLoadingImgPath+'" />')}function theChampInitiateLogin(e,a){var t=jQuery(e).parents("div.the_champ_login_container").find(".heateor_ss_social_login_optin");if(0==t.length||jQuery(t).is(":checked")){"facebook"==a?theChampLoginPopup(theChampFacebookAuthUrl):"foursquare"==a?theChampLoginPopup(theChampFoursquareAuthUrl):"mailru"==a?theChampLoginPopup(theChampMailruAuthUrl):"dropbox"==a?theChampLoginPopup(theChampDropboxAuthUrl):"disqus"==a?theChampLoginPopup(theChampDisqusAuthUrl):"stackoverflow"==a?theChampLoginPopup(theChampStackoverflowAuthUrl):"discord"==a?theChampLoginPopup(theChampDiscordAuthUrl):"amazon"==a?theChampLoginPopup(theChampAmazonAuthUrl):"reddit"==a?theChampLoginPopup(theChampRedditAuthUrl):"github"==a?theChampLoginPopup(theChampGithubAuthUrl):"spotify"==a?theChampLoginPopup(theChampSpotifyAuthUrl):"dribbble"==a?theChampLoginPopup(theChampDribbbleAuthUrl):"kakao"==a?theChampLoginPopup(theChampKakaoAuthUrl):"line"==a?theChampLoginPopup(theChampLineAuthUrl):"microsoft"==a?theChampLoginPopup(theChampLiveAuthUrl):"twitch"==a?theChampLoginPopup(theChampTwitchAuthUrl):"steam"==a?theChampLoginPopup(theChampSteamAuthUrl):"twitter"==a?theChampLoginPopup(theChampTwitterAuthUrl):("linkedin"==a&&theChampLoginPopup(theChampLinkedinAuthUrl),"google"==a?theChampLoginPopup(theChampGoogleAuthUrl):"vkontakte"==a?theChampLoginPopup(theChampVkontakteAuthUrl):"wordpress"==a?theChampLoginPopup(theChampWordpressAuthUrl):"yahoo"==a?theChampLoginPopup(theChampYahooAuthUrl):"instagram"==a&&theChampLoginPopup(theChampInstagramAuthUrl))}else t.length>0&&jQuery(t).parent().css("color","red")}function theChampDisplayLoginIcon(e,t){if("undefined"!=typeof jQuery)for(var a=0;a<t.length;a++)jQuery("."+t[a]).css("display","block");else for(a=0;a<t.length;a++)for(var h=theChampGetElementsByClass(e,t[a]),i=0;i<h.length;i++)h[i].style.display="block"}function theChampValidateEmail(e){return/^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}function the_champ_save_email(e){var t=document.getElementById("the_champ_email").value.trim(),a=document.getElementById("the_champ_confirm_email").value.trim();return"save"!=e.id||theChampValidateEmail(t)?t!=a?(document.getElementById("the_champ_error").innerHTML="Email addresses do not match",void jQuery("#TB_ajaxContent").css("height","auto")):void theChampCallAjax(function(){theChampSaveEmail(e.id,t)}
6):(document.getElementById("the_champ_error").innerHTML=theChampEmailPopupErrorMsg,void jQuery("#TB_ajaxContent").css("height","auto"))}function theChampSaveEmail(e,t){document.getElementById("the_champ_error").innerHTML='<img src="'+theChampLoadingImgPath+'" />',jQuery.ajax({type:"POST",dataType:"json",url:theChampAjaxUrl,data:{action:"the_champ_save_email",elemId:e,email:t,id:theChampEmailPopupUniqueId},success:function(e){window.history.pushState({html:"html",pageTitle:"page title"},"","?done=1"),1==e.status&&e.message.response&&"success"==e.message.response?location.href=e.message.url:1==e.status&&"success"==e.message?location.href=theChampRegRedirectionUrl:1==e.status&&"cancelled"==e.message?tb_remove():1==e.status&&"verify"==e.message?document.getElementById("TB_ajaxContent").innerHTML="<strong>"+theChampEmailPopupVerifyMessage+"</strong>":0==e.status&&(document.getElementById("the_champ_error").innerHTML=e.message,jQuery("#TB_ajaxContent").css("height","auto"))},error:function(e,t,a){location.href=decodeURIComponent(theChampRedirectionUrl)}})}function theChampCapitaliseFirstLetter2(e){return e.charAt(0).toUpperCase()+e.slice(1)}if(void 0===theChampLinkingRedirection)var theChampLinkingRedirection="";theChampVerified&&theChampLoadEvent(function(){tb_show(theChampPopupTitle,theChampAjaxUrl)}),theChampEmailPopup&&theChampLoadEvent(function(){tb_show(theChampEmailPopupTitle,theChampEmailAjaxUrl)});var theChampCommentFormLogin=!1;
7// sdk.js
8function theChampInitiateFB(){FB.init({appId:theChampFBKey,channelUrl:"//"+theChampSiteUrl+"/channel.html",status:!0,cookie:!0,xfbml:!0,version:"v10.0"})}window.fbAsyncInit=function(){theChampInitiateFB(),theChampFbIosLogin&&theChampAuthUserFB(),"function"==typeof theChampDisplayLoginIcon&&theChampDisplayLoginIcon(document,["theChampFacebookButton","theChampFacebookLogin"]),("undefined"!=typeof theChampCommentNotification&&1==theChampCommentNotification||"undefined"!=typeof theChampHeateorFcmRecentComments&&1==theChampHeateorFcmRecentComments)&&FB.Event.subscribe("comment.create",function(e){void 0!==e.commentID&&e.commentID&&("undefined"!=typeof theChampCommentNotification&&1==theChampCommentNotification&&jQuery.ajax({type:"POST",dataType:"json",url:theChampSiteUrl+"/index.php",data:{action:"the_champ_moderate_fb_comments",data:e},success:function(e,t,n){}}),"undefined"!=typeof theChampHeateorFcmRecentComments&&1==theChampHeateorFcmRecentComments&&jQuery.ajax({type:"POST",dataType:"json",url:theChampSiteUrl+"/index.php",data:{action:"heateor_fcm_save_fb_comment",data:e},success:function(e,t,n){}}))}),"undefined"!=typeof theChampFbLikeMycred&&theChampFbLikeMycred&&(FB.Event.subscribe("edge.create",function(e){heateorSsmiMycredPoints("Facebook_like_recommend","",e||"")}),FB.Event.subscribe("edge.remove",function(e){heateorSsmiMycredPoints("Facebook_like_recommend","",e||"","Minus point(s) for undoing Facebook like-recommend")})),"undefined"!=typeof theChampSsga&&theChampSsga&&(FB.Event.subscribe("edge.create",function(e){heateorSsgaSocialPluginsTracking("Facebook","Like",e||"")}),FB.Event.subscribe("edge.remove",function(e){heateorSsgaSocialPluginsTracking("Facebook","Unlike",e||"")}))},function(e){var t,n="facebook-jssdk",o=e.getElementsByTagName("script")[0];e.getElementById(n)||((t=e.createElement("script")).id=n,t.async=!0,t.src="//connect.facebook.net/"+theChampFBLang+"/sdk.js",o.parentNode.insertBefore(t,o))}(document);
9// commenting.js
10function theChampRenderFBCommenting(){var e=typeof theChampCommentingId!='undefined'?document.getElementById(theChampCommentingId):'';if(e){var t=[],n=[],a=[];t.wordpress='<div style="clear:both"></div>'+e.innerHTML,theChampFBCommentingContent=("undefined"!=typeof theChampFacebookCommentsNotifierOptinText?'<div class="heateor_ss_fb_comments_notifier_optin_container"><label><input type="checkbox" class="heateor_ss_fb_comments_notifier_optin" value="1" />'+theChampFacebookCommentsNotifierOptinText+"</label></div>":"")+("undefined"!=typeof theChampFacebookCommentsOptinText?'<div class="heateor_ss_fb_comments_optin_container"><label><input type="checkbox" class="heateor_ss_fb_comments_optin" value="1" />'+theChampFacebookCommentsOptinText+"</label></div>":"")+'<div class="fb-comments" data-href="'+theChampFBCommentUrl+'"',""!=theChampFBCommentColor&&(theChampFBCommentingContent+=' data-colorscheme="'+theChampFBCommentColor+'"'),""!=theChampFBCommentNumPosts&&(theChampFBCommentingContent+=' data-numposts="'+theChampFBCommentNumPosts+'"'),theChampFBCommentingContent+=' data-width="'+theChampFBCommentWidth+'"',""!=theChampFBCommentOrderby&&(theChampFBCommentingContent+=' data-order-by="'+theChampFBCommentOrderby+'"'),theChampFBCommentingContent+=" ></div>",t.fb=theChampFBCommentingContent,n.fb="theChampInitiateFB();",t.googleplus="<div class='g-comments' data-href='"+theChampGpCommentsUrl+"' "+(theChampGpCommentsWidth?"data-width='"+theChampGpCommentsWidth+"'":"")+" data-first_party_property='BLOGGER' data-view_type='FILTERED_POSTMOD' ></div>",n.googleplus=" ",a.googleplus="//apis.google.com/js/plusone.js",t.disqus='<div class="embed-container clearfix" id="disqus_thread">
10'+(""!=theChampDisqusShortname?theChampDisqusShortname:'<div style="font-size: 14px;clear: both;">Specify a Disqus shortname in Super Socializer &gt; Social Commenting section in admin panel</div>')+"</div>",n.disqus="var disqus_shortname = '"+theChampDisqusShortname+"';(function(d) {var dsq = d.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js'; (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(dsq); })(document);";var o='<div class="theChampCommentingTabs"><h3 id="theChampReplyTitle" style="margin-bottom:15px" class="comment-reply-title">'+theChampScLabel+"</h3><ul>";theChampScEnabledTabs=theChampScEnabledTabs.split(",");for(var i=0;i<theChampScEnabledTabs.length;i++){o+='<li id="theChampTabs-'+i+'-li" onclick="',o+="this.setAttribute('class', 'theChampSelectedTab');document.getElementById('theChampTabs-"+i+"').style.display='block';","fb"==theChampScEnabledTabs[i]&&(o+="theChampInitiateFB();");for(var m=0;m<theChampScEnabledTabs.length;m++)m!=i&&(o+="document.getElementById('theChampTabs-"+m+"-li').setAttribute('class', '');document.getElementById('theChampTabs-"+m+"').style.display='none';");o+='">',o+=theChampScTabLabels[theChampScEnabledTabs[i]],o+="</li>"}for(o+="</ul>",i=0;i<theChampScEnabledTabs.length;i++)o+='<div id="theChampTabs-'+i+'" ><div style="clear: both"></div>'+t[theChampScEnabledTabs[i]]+"</div>";o+="</div>",e.innerHTML=o;var h=document.getElementById("reply-title");for(h&&h.remove(),i=0;i<theChampScEnabledTabs.length;i++)if(n[theChampScEnabledTabs[i]]){var s=document.createElement("script");a[theChampScEnabledTabs[i]]&&s.setAttribute("src",a[theChampScEnabledTabs[i]]),s.innerHTML=n[theChampScEnabledTabs[i]],document.getElementById("theChampTabs-"+i).appendChild(s)}for(document.getElementById("theChampTabs-0-li").setAttribute("class","theChampSelectedTab"),i=1;i<theChampScEnabledTabs.length;i++)document.getElementById("theChampTabs-"+i).style.display="none";null!=theChampGetCookie("heateorSsSLOptin")&&jQuery("input.heateor_ss_social_login_optin").length>0&&jQuery("input.heateor_ss_social_login_optin").prop("checked",!0),jQuery("input.heateor_ss_social_login_optin").click(function(){if(jQuery(this).is(":checked")){if(null==theChampGetCookie("heateorSsSLOptin")){var e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="heateorSsSLOptin=1; expires="+e.toUTCString()+"; path=/"}}else document.cookie="heateorSsSLOptin=; expires=Fri, 02 Jan 1970 00:00:00 UTC; path=/"}),"undefined"!=typeof theChampFacebookCommentsOptinText&&(null!=heateorFcmGetCookie("heateorFcmOptin")&&jQuery("input.heateor_ss_fb_comments_optin").prop("checked",!0),jQuery("input.heateor_ss_fb_comments_optin").click(function(){if(jQuery(this).is(":checked")){if(heateorFcmOptin=1,null==heateorFcmGetCookie("heateorFcmOptin")){var e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="heateorFcmOptin=1; expires="+e.toUTCString()+"; path=/"}}else heateorFcmOptin=0,document.cookie="heateorFcmOptin=; expires=Fri, 02 Jan 1970 00:00:00 UTC; path=/"})),"undefined"!=typeof theChampFacebookCommentsNotifierOptinText&&(null!=heateorFcnGetCookie("heateorFcnOptin")&&jQuery("input.heateor_ss_fb_comments_notifier_optin").prop("checked",!0),jQuery("input.heateor_ss_fb_comments_notifier_optin").click(function(){if(jQuery(this).is(":checked")){if(heateorFcnOptin=1,null==heateorFcnGetCookie("heateorFcnOptin")){var e=new Date;e.setTime(e.getTime()+31536e6),document.cookie="heateorFcnOptin=1; expires="+e.toUTCString()+"; path=/"}}else heateorFcnOptin=0,document.cookie="heateorFcnOptin=; expires=Fri, 02 Jan 1970 00:00:00 UTC; path=/"}))}}theChampLoadEvent(function(){theChampRenderFBCommenting()});
11// sharing.js
12function heateorSsDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.theChampWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.theChampWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.theChampWhatsapp
12Background a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""}
13/**
14 * Show more sharing services popup
15 */
16function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
17	var shareContainer = elem.parentElement.parentElement.parentElement;
18	postUrl = encodeURIComponent(postUrl);
19    concate = '</ul></div><div class="footer-panel"><p></p></div></div>';
20	var theChampMoreSharingServices = {
21	  facebook: {
22		title: "Facebook",
23		locale: "en-US",
24		redirect_url: "http://www.facebook.com/sharer.php?u=" + postUrl + "&t=" + postTitle + "&v=3",
25	  },
26	  twitter: {
27		title: "Twitter",
28		locale: "en-US",
29		redirect_url: "http://twitter.com/intent/tweet?text=" + (twitterTitle ? twitterTitle : postTitle) + " " + postUrl,
30	  },
31	  linkedin: {
32		title: "Linkedin",
33		locale: "en-US",
34		redirect_url: "http://www.linkedin.com/shareArticle?mini=true&url=" + postUrl + "&title=" + postTitle,
35	  },
36    CopyLink: {
37      title: "Copy Link",
38      locale: "en-US",
39      redirect_url: "",
40      bookmarklet_url: ""
41    },
42    parler: {
43      title: "Parler",
44      locale: "en-US",
45      redirect_url: "https://parler.com/new-post?message=" + postTitle + "&url=" + postUrl
46    },
47	  pinterest: {
48  		title: "Pinterest",
49  		locale: "en-US",
50  		redirect_url: "https://pinterest.com/pin/create/button/?url=" + postUrl + "&media=${media_link}&description=" + postTitle,
51  		bookmarklet_url: "javascript:void((function(){var e=document.createElement('script');e.setAttribute('type','text/javascript');e.setAttribute('charset','UTF-8');e.setAttribute('src','//assets.pinterest.com/js/pinmarklet.js?r='+Math.random()*99999999);document.body.appendChild(e)})());"
52	  },
53      Diaspora: {
54        title: "Diaspora",
55        locale: "en-US",
56        redirect_url: "https://joindiaspora.com/bookmarklet?url=" + postUrl + "&title=" + postTitle + "&v=1"
57      },
58      Douban: {
59        title: "Douban",
60        locale: "en-US",
61        redirect_url: "https://www.douban.com/share/service?name="+postTitle+"&href="+postUrl+"&image=&updated=&bm=&url="+postUrl+"&title="+postTitle+"&sel="
62      },
63      Draugiem: {
64        title: "Draugiem",
65        locale: "en-US",
66        redirect_url: "https://www.draugiem.lv/say/ext/add.php?link="+postUrl+"&title="+postTitle
67      },
68      Facebook_Messenger: {
69        title: "Facebook Messenger",
70        locale: "en-US",
71        redirect_url: heateorSsFbMessengerAPI.replace('%encoded_post_url%', postUrl)
72      },
73      Google_Classroom: {
74        title: "Google Classroom",
75        locale: "en-US",
76        redirect_url: "https://classroom.google.com/u/0/share?url="+postUrl
77      },
78      Kik: {
79        title: "Kik",
80        locale: "en-US",
81        redirect_url: "https://www.kik.com/send/article/?app_name=Share&text=&title="+postTitle+"&url="+postUrl
82      },
83      Papaly: {
84        title: "Papaly",
85        locale: "en-US",
86        redirect_url: "https://papaly.com/api/share.html?url="+postUrl+"&title="+postTitle
87      },
88      Refind: {
89        title: "Refind",
90        locale: "en-US",
91        redirect_url: "https://refind.com/?url="+postUrl
92      },
93      Skype: {
94        title: "Skype",
95        locale: "en-US",
96        redirect_url: "https://web.skype.com/share?url="+postUrl
97      },
98      SMS: {
99        title: "SMS",
100        locale: "en-US",
101        bookmarklet_url: "sms://?&body="+postTitle+" "+postUrl
102      },
103      Trello: {
104        title: "Trello",
105        locale: "en-US",
106        redirect_url: "https://trello.com/add-card?mode=popup&url="+postUrl+"&name="+postTitle+"&desc="
107      },
108      Viber: {
109        title: "Viber",
110        locale: "en-US",
111        bookmarklet_url: "viber://forward?text="+postTitle+" "+postUrl
112      },
113      Threema: {
114		title: "Threema",
115		locale: "en-US",
116		bookmarklet_url: "threema://compose?text="+postTitle+" "+postUrl
117	  },
118      Telegram: {
119        title: "Telegram",
120        locale: "en-US",
121        redirect_url: "https://telegram.me/share/url?url="+postUrl
121+"&text="+postTitle
122      },
123	  email: {
124		title: "Email",
125		locale: "en-US",
126		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
127	  },
128	  reddit: {
129		title: "Reddit",
130		locale: "en-US",
131		redirect_url: "http://reddit.com/submit?url=" + postUrl + "&title=" + postTitle,
132	  },
133	  float_it: {
134		title: "Float it",
135		locale: "en-US",
136		redirect_url: "http://www.designfloat.com/submit.php?url=" + postUrl + "&title=" + postTitle,
137	  },
138	  google_mail: {
139		title: "Google Gmail",
140		locale: "en-US",
141		redirect_url: "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=" + postTitle + "&body=Link: " + postUrl,
142	  },
143	  gentlereader: {
144        title: "GentleReader",
145        locale: "en-US",
146        redirect_url: "https://app.gentlereader.com/bookmark?url=" + postUrl,
147      },
148      google_bookmarks: {
149		title: "Google Bookmarks",
150		locale: "en-US",
151		redirect_url: "http://www.google.com/bookmarks/mark?op=edit&bkmk=" + postUrl + "&title=" + postTitle,
152	  },
153	  digg: {
154		title: "Digg",
155		locale: "en-US",
156		redirect_url: "http://digg.com/submit?phase=2&url=" + postUrl + "&title=" + postTitle,
157	  },
158	  printfriendly: {
159		title: "PrintFriendly",
160		locale: "en-US",
161		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
162	  },
163	  print: {
164		title: "Print",
165		locale: "en-US",
166		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
167		bookmarklet_url: "javascript:window.print();"
168	  },
169	  tumblr: {
170		title: "Tumblr",
171		locale: "en-US",
172		redirect_url: "https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=" + postUrl + "&title=" + postTitle + "&caption=",
173		bookmarklet_url: "javascript:var d=document,w=window,e=w.getSelection,k=d.getSelection,x=d.selection,s=(e?e():(k)?k():(x?x.createRange().text:0)),f='http://www.tumblr.com/share',l=d.location,e=encodeURIComponent,p='?v=3&u='+e(l.href) +'&t='+e(d.title) +'&s='+e(s),u=f+p;try{if(!/^(.*\\.)?tumblr[^.]*$/.test(l.host))throw(0);tstbklt();}catch(z){a =function(){if(!w.open(u,'t','toolbar=0,resizable=0,status=1,width=450,height=430'))l.href=u;};if(/Firefox/.test(navigator.userAgent))setTimeout(a,0);else a();}void(0);"
174	  },
175	  vk: {
176		title: "Vkontakte",
177		locale: "ru",
178		redirect_url: "https://vk.com/share.php?url=" + postUrl + "&title=" + postTitle,
179	  },
180	  evernote: {
181		title: "Evernote",
182		locale: "en-US",
183		redirect_url: "https://www.evernote.com/clip.action?url=" + postUrl + "&title=" + postTitle,
184		bookmarklet_url: "javascript:(function(){EN_CLIP_HOST='http://www.evernote.com';try{var x=document.createElement('SCRIPT');x.type='text/javascript';x.src=EN_CLIP_HOST+'/public/bookmarkClipper.js?'+(new Date().getTime()/100000);document.getElementsByTagName('head')[0].appendChild(x);}catch(e){location.href=EN_CLIP_HOST+'/clip.action?url='+encodeURIComponent(location.href)+'&title='+encodeURIComponent(document.title);}})();"
185	  },
186	  amazon_us_wish_list: {
187		title: "Amazon Wish List",
188		locale: "en-US",
189		redirect_url: "http://www.amazon.com/wishlist/add?u=" + postUrl + "&t=" + postTitle,
190		bookmarklet_url: "javascript:(function(){var w=window,l=w.location,d=w.document,s=d.createElement('script'),e=encodeURIComponent,x='undefined',u='http://www.amazon.com/gp/wishlist/add';if(typeof s!='object')l.href=u+'?u='+e(l)+'&t='+e(d.title);function g(){if(d.readyState&&d.readyState!='complete'){setTimeout(g,200);}else{if(typeof AUWLBook==x)s.setAttribute('src',u+'.js?loc='+e(l)),d.body.appendChild(s);function f(){(typeof AUWLBook==x)?setTimeout(f,200):AUWLBook.showPopover();}f();}}g();}())"
191	  },
192	  wordpress_blog: {
193		title: "WordPress",
194		locale: "en-US",
195		redirect_url: "http://www.addtoany.com/ext/wordpress/press_this?linkurl=" + postUrl + "&linkname=" + postTitle,
196	  },
197	  whatsapp: {
198		title: "Whatsapp",
199		locale: "en-US",
200		redirect_url: "https://" + heateorSsDetermineWhatsappShareAPI(true) + "/send?text=" + postTitle + " " + postUrl,
201	  },
202	  diigo: {
203		title: "Diigo",
204		locale: "en-US",
205		redirect_url: "http://www.diigo.com/post?url=" + postUrl + "&title=" + postTitle,
206	  },
207	  yc_hacker_news: {
208		title: "Hacker News",
209		locale: "en-US",
210		redirect_url: "http://news.ycombinator.com/submitlink?u=" + postUrl + "&t=" + postTitle,
211	  },
212	  box_net: {
213		title: "Box.net",
214		locale: "en-US",
215		redirect_url: "https://www.box.net/api/1.0/import?url=" + postUrl + "&name=" + postTitle + "&import_as=link",
216	  },
217	  aol_mail: {
218		title: "AOL Mail",
219		locale: "en-US",
220		redirect_url: "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=" + postTitle + "&body=" + postUrl,
221	  },
222	  yahoo_mail: {
223		title: "Yahoo Mail",
224		locale: "en-US",
225		redirect_url: "http://compose.mail.yahoo.com/?Subject=" + postTitle + "&body=Link: " + postUrl,
226	  },
227	  instapaper: {
228		title: "Instapaper",
229		locale: "en-US",
230		redirect_url: "http://www.instapaper.com/edit?url=" + postUrl + "&title=" + postTitle,
231	  },
232	  plurk: {
233		title: "Plurk",
234		locale: "en-US",
235		redirect_url: "http://www.plurk.com/m?content=" + postUrl + "&qualifier=shares",
236	  },
237	  wanelo: {
238		title: "Wanelo",
239		locale: "en-US",
240		redirect_url: "http://wanelo.com/p/post?bookmarklet=&images%5B%5D=&url=" + postUrl + "&title=" + postTitle + "&price=&shop=",
241		bookmarklet_url: "javascript:void ((function(url){if(!window.waneloBookmarklet){var productURL=encodeURIComponent(url),cacheBuster=Math.floor(Math.random()*1e3),element=document.createElement('script');element.setAttribute('src','//wanelo.com/bookmarklet/3/setup?*='+cacheBuster+'&url='+productURL),element.onload=init,element.setAttribute('type','text/javascript'),document.getElementsByTagName('head')[0].appendChild(element)}else init();function init(){window.waneloBookmarklet()}})(window.location.href))"
242	  },
243	  aim: {
244		title: "AIM",
245		locale: "en-US",
246		redirect_url: "http://share.aim.com/share/?url=" + postUrl + "&title=" + postTitle,
247	  },
248	  viadeo: {
249		title: "Viadeo",
250		locale: "en-US",
251		redirect_url: "http://www.viadeo.com/shareit/share/?url=" + postUrl + "&title=" + postTitle,
252	  },
253	  pinboard_in: {
254		title: "Pinboard",
255		locale: "en-US",
256		redirect_url: "http://pinboard.in/add?url=" + postUrl + "&title=" + postTitle,
257	  },
258	  blogger_post: {
259		title: "Blogger Post",
260		locale: "en-US",
261		redirect_url: "http://www.blogger.com/blog_this.pyra?t=&u=" + postUrl + "&l&n=" + postTitle,
262	  },
263	  typepad_post: {
264		title: "TypePad Post",
265		locale: "en-US",
266		redirect_url: "http://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title=" + postTitle + "&qp_href=" + postUrl + "&qp_text=" + postTitle,
267	  },
268	  buffer: {
269		title: "Buffer",
270		locale: "en-US",
271		redirect_url: "http://bufferapp.com/add?url=" + postUrl + "&text=" + postTitle,
272	  },
273	  flipboard: {
274		title: "Flipboard",
275		locale: "en-US",
276		redirect_url: "https://share.flipboard.com/bookmarklet/popout?v=2&url=" + postUrl + "&title=" + postTitle,
277	  },
278	  mail: {
279		title: "Email",
280		locale: "en-US",
281		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
282	  },
283	  pocket: {
284		title: "Pocket",
285		locale: "en-US",
286		redirect_url: "https://readitlaterlist.com/save?url=" + postUrl + "&title=" + postTitle,
287	  },
288	  fark: {
289		title: "Fark",
290		locale: "en-US",
291		redirect_url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url=" + postUrl,
292	  },
293	  fintel: {
294		title: "Fintel",
295		locale: "en-US",
296		redirect_url: "https://fintel.io/submit?url=" + postUrl,
297	  },
298	  yummly: {
299		title: "Yummly",
300		locale: "en-US",
301		redirect_url: "http://www.yummly.com/urb/verify?url=" + postUrl + "&title=" + postTitle,
302	  },
303	  app_net: {
304		title: "App.net",
305		locale: "en-US",
306		redirect_url: "https://account.app.net/login/",
307	  },
308	  balatarin: {
309		title: "Balatarin",
310		locale: "en-US",
311		redirect_url: "https://www.balatarin.com/login",
312	  },
313	  bibSonomy: {
314		title: "BibSonomy",
315		locale: "en-US",
316		redirect_url: "http://www.bibsonomy.org/login",
317	  },
318	  Bitty_Browser: {
319		title: "Bitty Browser",
320		locale: "en-US",
321		redirect_url: "http://www.bitty.com/manual/?contenttype=&contentvalue=" + postUrl,
322	  },
323	  Blinklist: {
324		title: "Blinklist",
325		locale: "en-US",
326		redirect_url: "http://blinklist.com/blink?t=" + postTitle + "&d=&u=" + postUrl,
327	  },
328	  BlogMarks: {
329		title: "BlogMarks",
330		locale: "en-US",
331		redirect_url: "http://blogmarks.net/my/new.php?mini=1&simple=1&title=" + postTitle + "&url=" + postUrl,
332	  },
333	  Bookmarks_fr: {
334		title: "Bookmarks.fr",
335		locale: "en-US",
336		redirect_url: "http://www.bookmarks.fr/Connexion/?action=add&address=" + postUrl + "&title=" + postTitle,
337	  },
338	  BuddyMarks: {
339		title: "BuddyMarks",
340		locale: "en-US",
341		redirect_url: "http://buddymarks.com/login.php?bookmark_title=" + postTitle + "&bookmark_url=" + postUrl + "&bookmark_desc=&bookmark_tags=",
342	  },
343	  Care2_news: {
344		title: "Care2 News",
345		locale: "en-US",
346		redirect_url: "http://www.care2.com/passport/login.html?promoID=10&pg=http://www.care2.com/news/compose?sharehint=news&share[share_type]news&bookmarklet=Y&share[title]=" + postTitle + "&share[link_url]=" + postUrl + "&share[content]=",
347	  },
348	  CiteULike: {
349		title: "Cite U Like",
350		locale: "en-US",
351		redirect_url: "http://www.citeulike.org/posturl?url=" + postUrl + "&title=" + postTitle,
352	  },
353	  Diary_Ru: {
354		title: "Diary.Ru",
355		locale: "en-US",
356		redirect_url: "http://www.diary.ru/?newpost&title=" + postTitle + "&text=" + postUrl,
357	  },
358	  dzone: {
359		title: "DZone",
360		locale: "en-US",
361		redirect_url: "http://www.dzone.com/links/add.html?url=" + postUrl + "&title=" + postTitle,
362	  },
363	  Folkd: {
364		title: "Folkd",
365		locale: "en-US",
366		redirect_url: "http://www.folkd.com/page/social-bookmarking.html?addurl=" + postUrl,
367	  },
368	  Hatena: {
369		title: "Hatena",
370		locale: "en-US",
371		redirect_url: "http://b.hatena.ne.jp/bookmarklet?url=" + postUrl + "&btitle=" + postTitle,
372	  },
373	  Jamespot: {
374		title: "Jamespot",
375		locale: "en-US",
376		redirect_url: "//my.jamespot.com/",
377	  },
378	  Kakao: {
379		title: "Kakao",
380		locale: "en-US",
381		redirect_url: "https://story.kakao.com/share?url=" + postUrl,
382	  },
383	  Kindle_It: {
384		title: "Kindle_It",
385		locale: "en-US",
386		redirect_url: "//fivefilters.org/kindle-it/send.php?url=" + postUrl,
387	  },
388	  Known: {
389		title: "Known",
390		locale: "en-US",
391		redirect_url: "https://withknown.com/share/?url=" + postUrl + "&title=" + postTitle,
392	  },
393	  Line: {
394		title: "Line",
395		locale: "en-US",
396		redirect_url: "https://social-plugins.line.me/lineit/share?url=" + postUrl,
397	  },
398	  LiveJournal: {
399		title: "LiveJournal",
400		locale: "en-US",
401		redirect_url: "http://www.livejournal.com/update.bml?subject=" + postTitle + "&event=" + postUrl,
402	  },
403	  Mail_Ru: {
404		title: "Mail.Ru",
405		locale: "en-US",
406		redirect_url: "https://connect.mail.ru/share?share_url=" + postUrl,
407	  },
408	  Mendeley: {
409		title: "Mendeley",
410		locale: "en-US",
411		redirect_url: "https://www.mendeley.com/sign-in/",
412	  },
413	  Meneame: {
414		title: "Meneame",
415		locale: "en-US",
416		redirect_url: "https://www.meneame.net/submit.php?url=" + postUrl,
417	  },
418	  MeWe: {
419		title: "MeWe",
420		locale: "en-US",
421		redirect_url: "https://mewe.com/share?link=" + postUrl,
422	  },
423	  Mix: {
424		title: "Mix",
425		locale: "en-US",
426		redirect_url: "https://mix.com/mixit?url=" + postUrl,
427	  },
428	  Mixi: {
429		title: "Mixi",
430		locale: "en-US",
431		redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
432	  },
433	  MySpace: {
434		title: "MySpace",
435		locale: "en-US",
436		redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
437	  },
438	  Netvouz: {
439		title: "Netvouz",
440		locale: "en-US",
441		redirect_url: "http://www.netvouz.com/action/submitBookmark?url=" + postUrl + "&title=" + postTitle + "&popup=no&description=",
442	  },
443	  Odnoklassniki: {
444		title: "Odnoklassniki",
445		locale: "en-US",
446		redirect_url: "https://connect.ok.ru/dk?cmd=WidgetSharePreview&st.cmd=WidgetSharePreview&st.shareUrl=" + postUrl + "&st.client_id=-1",
447	  },
448	  Outlook_com: {
449		title: "Outlook.com",
450		locale: "en-US",
451		redirect_url: "https://mail.live.com/default.aspx?rru=compose?subject=" + postTitle + "&body=" + postUrl + "&lc=1033&id=64855&mkt=en-us&cbcxt=mai",
452	  },
453	  Protopage_Bookmarks: {
454		title: "Protopage_Bookmarks",
455		locale: "en-US",
456		redirect_url: "http://www.protopage.com/add-button-site?url=" + postUrl + "&label=&type=page",
457	  },
458	  Pusha: {
459		title: "Pusha",
460		locale: "en-US",
461		redirect_url: "//www.pusha.se/posta?url=" + postUrl,
462	  },
463	  Qzone: {
464		title: "Qzone",
465		locale: "en-US",
466		redirect_url: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + postUrl,
467	  },
468	  Rediff_MyPage: {
469		title: "Rediff MyPage",
470		locale: "en-US",
471		redirect_url: "//share.rediff.com/bookmark/addbookmark?bookmarkurl=" + postUrl + "&title=" + postTitle,
472	  },
473	  Renren: {
474		title: "Renren",
475		locale: "en-US",
476		redirect_url: "//www.connect.renren.com/share/sharer?url=" + postUrl + "&title=" + postTitle,
477	  },
478	  Sina_Weibo: {
479		title: "Sina Weibo",
480		locale: "en-US",
481		redirect_url: "http://service.weibo.com/share/share.php?url=" + postUrl + "&title=" + postTitle,
482	  },
483	  SiteJot: {
484		title: "SiteJot",
485		locale: "en-US",
486		redirect_url: "http://www.sitejot.com/loginform.php?iSiteAdd=&iSiteDes=",
487	  },
488	  Slashdot: {
489		title: "Slashdot",
490		locale: "en-US",
491		redirect_url: "//slashdot.org/submission?url=" + postUrl,
492	  },
493	  StockTwits: {
494		title: "StockTwits",
495		locale: "en-US",
496		redirect_url: "https://stocktwits.com/widgets/share?body=" + postTitle + " " + postUrl,
497	  },
498	  Svejo: {
499		title: "Svejo",
500		locale: "en-US",
501		redirect_url: "https://svejo.net/story/submit_by_url?url=" + postUrl + "&title=" + postTitle + "&summary=",
502	  },
503	  Symbaloo_Feeds: {
504		title: "Symbaloo_Feeds",
505		locale: "en-US",
506		redirect_url: "//www.symbaloo.com/",
507	  },
508	  Tuenti: {
509		title: "Tuenti",
510		locale: "en-US",
511		redirect_url: "https://www.tuenti.com/share?p=b5dd6602&url=" + postUrl,
512	  },
513	  Twiddla: {
514		title: "Twiddla",
515		locale: "en-US",
516		redirect_url: "//www.twiddla.com/New.aspx?url=" + postUrl + "&title=" + postTitle,
517	  },
518	  Webnews: {
519		title: "Webnews",
520		locale: "en-US",
521		redirect_url: "//www.webnews.de/login",
522	  },
523	  Wykop: {
524		title: "Wykop",
525		locale: "en-US",
526		redirect_url: "//www.wykop.pl/dodaj?url=" + postUrl + "&title=" + postTitle,
527	  },
528	  Xing: {
529		title: "Xing",
530		locale: "en-US",
531		redirect_url: "https://www.xing.com/spi/shares/new?cb=0&url=" + postUrl,
532	  },
533	  Yoolink: {
534		title: "Yoolink",
535		locale: "en-US",
536		redirect_url: "//yoolink.to/addorshare?url_value=" + postUrl + "&title=" + postTitle,
537	  }
538	}
539	var theChampMoreSharingServicesHtml = '<button id="the_champ_sharing_popup_close" class="close-button separated"><img src="'+ theChampCloseIconPath +'" /></button><div id="the_champ_sharing_more_content" data-href="'+ decodeURIComponent(shareContainer.getAttribute('class').indexOf('the_champ_horizontal_sharing') != -1 ? heateorSsHorSharingShortUrl : heateorSsVerticalSharingShortUrl) +'"><div class="filter"><input type="text" onkeyup="theChampFilterSharing(this.value.trim())" placeholder="'+ heateorSsMoreSharePopupSearchText +'" class="search"></div><div class="all-services"><ul class="mini">';
540	for(var i in theChampMoreSharingServices){
541		var tempTitle = theChampCapitaliseFirstLetter(theChampMoreSharingServices[i].title.replace(/[_. ]/g, ""));
542		theChampMoreSharingServicesHtml += '<li><a rel="nofollow" class="theChamp'+i+'Share" title="'+ theChampMoreSharingServices[i].title +'" alt="'+ theChampMoreSharingServices[i].title +'" ';
543		if(theChampMoreSharingServices[i].bookmarklet_url){
544			theChampMoreSharingServicesHtml += 'href="' + theChampMoreSharingServices[i].bookmarklet_url + '" ';
545		}else if(theChampMoreSharingServices[i].redirect_url){
546            theChampMoreSharingServicesHtml += 'onclick="theChampPopup(\'' + theChampMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
547        }else{
548            theChampMoreSharingServicesHtml += 'href="javascript:void(0)" ';
549        }
550		theChampMoreSharingServicesHtml += '"><i style="width:22px;height:22px" title="'+ theChampMoreSharingServices[i].title +'" class="theChampSharing theChamp' + tempTitle + 'Background"><ss style="display:block;width:100%;height:100%;" class="theChampSharingSvg theChamp' + tempTitle + 'Svg"></ss></i>' + theChampMoreSharingServices[i].title + '</a></li>';
551	}
552	theChampMoreSharingServicesHtml += concate;
553	
554	var mainDiv = document.createElement('div');
555	mainDiv.innerHTML = theChampMoreSharingServicesHtml;
556	mainDiv.setAttribute('id', 'the_champ_sharing_more_providers');
557	var bgDiv = document.createElement('div');
558	bgDiv.setAttribute('id', 'the_champ_popup_bg');
559	jQuery('body').append(mainDiv).append(bgDiv);
560	document.getElementById('the_champ_popup_bg').onclick = document.getElementById('the_champ_sharing_popup_close').onclick = function(){
561		mainDiv.parentNode.removeChild(mainDiv);
562		bgDiv.parentNode.removeChild(bgDiv);
563	}
564}
565
566if(typeof theChampHorizontalSharingCountEnable == 'undefined'){
567	var theChampHorizontalSharingCountEnable = 0;
568}
569if(typeof theChampVerticalSharingCountEnable == 'undefined'){
570	var theChampVerticalSharingCountEnable = 0;
571}
572if((typeof theChampSaveSharesLocally == 'undefined' || theChampSaveSharesLocally == 0) && (theChampHorizontalSharingCountEnable || theChampVerticalSharingCountEnable)){
573	// get sharing counts on window load
574	theChampLoadEvent(
575		function(){
576			// sharing counts
577			theChampCallAjax(function(){
578				theChampGetSharingCounts();
579			});
580		}
581	);
582}
583	
584/**
585 * Search sharing services
586 */
587function theChampFilterSharing(val) {
588	jQuery('ul.mini li a').each(function(){
589		if (jQuery(this).text().toLowerCase().indexOf(val.toLowerCase()) != -1) {
590			jQuery(this).parent().css('display', 'block');
591		} else {
592			jQuery(this).parent().css('display', 'none');
593		}
594	});
595};
596
597var heateorSsFacebookTargetUrls = [];
598
599/**
600 * Get sharing counts
601 */
602function theChampGetSharingCounts(){
603	var targetUrls = [];
604	jQuery('.the_champ_sharing_container').each(function(){
605		if(typeof jQuery(this).attr('super-socializer-no-counts') == 'undefined'){
606			var currentTargetUrl = jQuery(this).attr('super-socializer-data-
606href');
607			if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
608				targetUrls.push(currentTargetUrl);
609				heateorSsUrlCountFetched.push(currentTargetUrl);
610			}
611		}
612	});
613	if(targetUrls.length == 0){
614		return;
615	}
616	jQuery.ajax({
617		type: 'GET',
618		dataType: 'json',
619		url: theChampSharingAjaxUrl,
620		data: {
621			action: 'the_champ_sharing_count',
622			urls: targetUrls,
623		},
624		success: function(data, textStatus, XMLHttpRequest){
625			if(data.status == 1){
626				if(data.facebook){
627					heateorSsFacebookTargetUrls = data.facebook_urls;
628				}
629				for(var i in data.message){
630					var sharingContainers = jQuery("div[super-socializer-data-href='"+i+"']");
631
632					jQuery(sharingContainers).each(function(){
633						var totalCount = 0;
634						for(var j in data.message[i]){
635							var sharingCount = parseInt(data.message[i][j]) || 0;
636
637							var targetElement = jQuery(this).find('.the_champ_'+j+'_count');
638							
639							if(jQuery(targetElement).attr('ss_st_count')){
640								sharingCount = parseInt(sharingCount) + parseInt(jQuery(targetElement).attr('ss_st_count'));
641							}
642							totalCount += parseInt(sharingCount);
643							if(sharingCount < 1){ continue; }
644							jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
645							
646							if ( ( typeof theChampReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
647								jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left');
648							}
649							if ( ( typeof theChampReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
650								jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0');
651							}
652						}
653						var totalCountContainer = jQuery(this).find('.theChampTCBackground');
654						jQuery(totalCountContainer).each(function(){
655							var containerHeight = jQuery(this).css('height');
656							jQuery(this).html('<div class="theChampTotalShareCount" style="font-size: '+ (parseInt(containerHeight) * 62/100) +'px">' + theChampCalculateApproxCount(totalCount) + '</div><div class="theChampTotalShareText" style="font-size: '+ (parseInt(containerHeight) * 38/100) +'px">' + (totalCount == 0 || totalCount > 1 ? heateorSsSharesText : heateorSsShareText) + '</div>').css('visibility', 'visible');
657						});
658					});
659				}
660				if(heateorSsFacebookTargetUrls.length != 0){
661					theChampFetchFacebookShares(heateorSsFacebookTargetUrls);
662				}
663			}
664		}
665	});
666}
667
668function theChampFetchFacebookShares(targetUrls){
669	var loopCounter = 0;
670	for(var i in targetUrls){
671		for(var j in targetUrls[i]){
672			loopCounter++;
673			theChampFBShareJSONCall(targetUrls[i][j], loopCounter, targetUrls[0].length*targetUrls.length, targetUrls[0][j]);
674		}
675	}
676}
677
678function theChampFBShareJSONCall(targetUrl, loopCounter, targetUrlsLength, dataHref) {
679	jQuery.getJSON('//graph.facebook.com/?id=' + targetUrl, function(data){
680	    if(data.share && data.share.share_count >= 0){
681	    	var sharingContainers = jQuery("div[super-socializer-data-href='"+dataHref+"']");
682
683			jQuery(sharingContainers).each(function(){
684				var targetElement = jQuery(this).find('.the_champ_facebook_count');
685				var facebookBackground = jQuery(this).find('i.theChampFacebookBackground');
686				var sharingCount = parseInt(data.share.share_count);
687
688				if(jQuery(targetElement).attr('ss_st_count') !== undefined){
689					sharingCount += parseInt(jQuery(targetElement).attr('ss_st_count'));
690				}
691                if(sharingCount > 0){
692    				if(typeof jQuery(facebookBackground).attr('heateor-ss-fb-shares') == 'undefined'){
693    					jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
694    					jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount);
695    				}else if(typeof jQuery(facebookBackground).attr('heateor-ss-fb-shares') != 'undefined'){
696    					var tempShareCount = parseInt(jQuery(facebookBackground).attr('heateor-ss-fb-shares'));
697    					jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount + tempShareCount);
698    					jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount + tempShareCount));
699    				}
700    				if ( ( typeof theChampReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
701    					jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left');
702    				}
703    				if ( ( typeof theChampReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
704    					jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0');
705    				}
706    				var totalCountContainer = jQuery(this).find('.theChampTCBackground');
707    				jQuery(totalCountContainer).each(function(){
708    					var totalShareCountElem = jQuery(this).find('.theChampTotalShareCount');
709    					var totalShareCount = jQuery(totalShareCountElem).text();
710    					var newTotalCount = theChampCalculateActualCount(totalShareCount) + sharingCount;
711    					jQuery(totalShareCountElem).text(theChampCalculateApproxCount(newTotalCount));
712    					jQuery(this).find('.theChampTotalShareText').text(newTotalCount == 0 || newTotalCount > 1 ? heateorSsSharesText : heateorSsShareText);
713    				});
714                }
715			});
716		}
717		
718		if(loopCounter == targetUrlsLength){
719			setTimeout(function(){
720				var facebookShares = {};
721				for(var i in heateorSsFacebookTargetUrls[0]){
722					var sharingContainers = jQuery("div[super-socializer-data-href='"+heateorSsFacebookTargetUrls[0][i]+"']");
723					jQuery(sharingContainers).each(function(){
724						var facebookCountElement = jQuery(this).find('.the_champ_facebook_count');
725						var facebookCountElementBg = jQuery(this).find('i.theChampFacebookBackground');
726						var shareCountString = typeof jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares') != 'undefined' ? jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares').trim() : '';
727						if(shareCountString != ''){
728							var shareCount = parseInt(theChampCalculateActualCount(shareCountString));
729							if(jQuery(facebookCountElement).attr('ss_st_count') !== undefined){
730								var startingCount = parseInt(jQuery(facebookCountElement).attr('ss_st_count').trim());
731								shareCount = Math.abs(shareCount - startingCount);
732							}
733							facebookShares[heateorSsFacebookTargetUrls[0][i]] = shareCount;
734							return;
735						}
736					});
737				}
738				if(!jQuery.isEmptyObject(facebookShares)){
739					theChampSaveFacebookShares(facebookShares);
740				}
741			}, 1000);
742		}
743	});
744}
745
746function theChampSaveFacebookShares(facebookShares){
747	jQuery.ajax({
748		type: 'GET',
749		dataType: 'json',
750		url: theChampSharingAjaxUrl,
751		data: {
752			action: 'the_champ_save_facebook_shares',
753			share_counts: facebookShares,
754		},
755		success: function(data, textStatus, XMLHttpRequest){}
756	});
757}
758
759function theChampCalculateApproxCount(sharingCount){
760    // round to one decimal
761    if(sharingCount > 999 && sharingCount < 10000){
762        sharingCount = (Math.round(sharingCount/100))/10 + 'K';
763    }else if(sharingCount > 9999 && sharingCount < 100000){
764        sharingCount = (Math.round(sharingCount/100))/10 + 'K';
765    }else if(sharingCount > 99999 && sharingCount < 1000000){
766        sharingCount = (Math.round(sharingCount/100))/10 + 'K';
767    }else if(sharingCount > 999999){
768        sharingCount = (Math.round(sharingCount/100000))/10 + 'M';
769    }
770    return sharingCount;
771}
772
773function theChampCalculateActualCount(sharingCount){
774    if(sharingCount.indexOf('K') > 0){
775        sharingCount = sharingCount.replace('K', '') * 1000;
776    }else if(sharingCount.indexOf('M') > 0){
777        sharingCount = sharingCount.replace('M', '') * 1000000;
778    }
779    return parseInt(sharingCount);
780}
781
782function theChampCapitaliseFirstLetter(e) {
783    return e.charAt(0).toUpperCase() + e.slice(1)
784}
785
786jQuery(function(){
787	var heateorSsWhatsappJSAPI = heateorSsDetermineWhatsappShareAPI(false);
788	var classes = ['the_champ_vertical_sharing', 'the_champ_vertical_counter'];
789	for(var i = 0; i < classes.length; i++){
790		if(jQuery('.' + classes[i]).length){
791			jQuery('.' + classes[i]).each(function(){
792				var verticalSharingHtml = jQuery(this).html();
793				if(jQuery(this).attr('style').indexOf('right') >= 0){
794					var removeClass = 'theChampPushIn', margin = 'Right', alignment = 'right', addClass = 'theChampPullOut';
795				}else{
796					var removeClass = 'theChampPullOut', margin = 'Left', alignment = 'left', addClass = 'theChampPushIn';
797				}
798				jQuery(this).html(verticalSharingHtml + '<div title="Hide" style="float:' + alignment + '" onclick="theChampHideSharing(this, \''+ removeClass +'\', \''+ addClass +'\',\'' + margin +'\', \'' + alignment + '\')" class="theChampSharingArrow ' + removeClass + '"></div>');
799			});
800		}
801	}
802    if(typeof theChampMobileStickySharingEnabled != 'undefined' && theChampMobileStickySharingEnabled == 1){
803		if(jQuery('div.the_champ_vertical_sharing').length){
804			// insert div before </body>
805			jQuery(document.body).append("<div class='heateor_ss_mobile_footer'></div>");
806		}
807    }
808
809    var heateorSsClipboard = new ClipboardJS('.theChampCopyLinkBackgroun
809d, .theChampCopyLinkShare, .theChampCopyLinkSvg', {
810        text: function(trigger) {
811            if(jQuery(trigger).hasClass('theChampCopyLinkShare')){
812                var element = trigger.parentElement.parentElement.parentElement.parentElement;
813                var url = jQuery(element).attr("data-href") || "";
814            }else if(jQuery(trigger).hasClass('theChampCopyLinkSvg')){
815                var element = trigger.parentElement.parentElement.parentElement.parentElement;
816                var url = jQuery(element).attr("super-socializer-data-href") || "";
817				if(jQuery(element).hasClass('the_champ_horizontal_sharing') && typeof heateorSsHorSharingShortUrl != "undefined"){
818					var url = heateorSsHorSharingShortUrl;
819				}else if(jQuery(element).hasClass('the_champ_vertical_sharing') && typeof heateorSsVerticalSharingShortUrl != "undefined"){
820					var url = heateorSsVerticalSharingShortUrl;
821				}
822                if(!url){
823                    var element = trigger.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;
824                    var url = jQuery(element).attr("data-href") || "";
825                }
826            }
827            return url;
828        }
829    });
830    heateorSsClipboard.on('success', function(e) {
831        alert(heateorSsCopyLinkMessage);
832    });
833});
834
835function theChampHideSharing(elem, removeClass, addClass, margin, alignment){
836	var animation = {}, counter = jQuery(elem).parent().hasClass('the_champ_vertical_counter'), offset = parseInt(jQuery(elem).parent().css('width')) + 10 - (counter ? 16 : 0);
837	var ssOffset = jQuery(elem).parent().attr('ss-offset');
838	if(ssOffset){
839		var savedOffset = parseInt(ssOffset);
840	}else{
841		var savedOffset = (counter ? theChampCounterOffset : theChampSharingOffset);
842	}
843	if(jQuery(elem).attr('title') == 'Hide'){
844		animation[alignment] = "-=" + (offset + savedOffset);
845		jQuery(elem).parent().animate(animation, 400, function(){
846			jQuery(elem).removeClass(removeClass).addClass(addClass).attr('title', 'Share');
847			if(counter){
848				var cssFloat = alignment == 'left' ? 'right' : 'left';
849				jQuery(elem).css('float', cssFloat);
850			}else{
851				jQuery(elem).css('margin' + margin, offset + 'px')
852			}
853		});
854	}else{
855		animation[alignment] = "+=" + (offset + savedOffset); 
856		jQuery(elem).parent().animate(animation, 400, function(){
857			jQuery(elem).removeClass(addClass).addClass(removeClass).attr('title', 'Hide');
858			if(counter){
859				jQuery(elem).css('float', alignment);
860			}else{
861				jQuery(elem).css('margin' + margin, '0px');
862			}
863		});
864	}
865}
866
867/*!
868 * clipboard.js v2.0.6
869 * https://clipboardjs.com/
870 * 
871 * Licensed MIT © Zeno Rocha
872 */
873!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.ClipboardJS=e():t.ClipboardJS=e()}(this,function(){return o={},r.m=n=[function(t,e){t.exports=function(t){var e;if("SELECT"===t.nodeName)t.focus(),e=t.value;else if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName){var n=t.hasAttribute("readonly");n||t.setAttribute("readonly",""),t.select(),t.setSelectionRange(0,t.value.length),n||t.removeAttribute("readonly"),e=t.value}
vendor: 6,555 bytes, line 873
873else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),r=document.createRange();r.selectNodeContents(t),o.removeAllRanges(),o.addRange(r),e=o.toString()}return e}},function(t,e){function n(){}n.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){var o=this;function r(){o.off(t,r),e.apply(n,arguments)}return r._=e,this.on(t,r,n)},emit:function(t){for(var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,r=n.length;o<r;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],r=[];if(o&&e)for(var i=0,a=o.length;i<a;i++)o[i].fn!==e&&o[i].fn._!==e&&r.push(o[i]);return r.length?n[t]=r:delete n[t],this}},t.exports=n,t.exports.TinyEmitter=n},function(t,e,n){var d=n(3),h=n(4);t.exports=function(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!d.string(e))throw new TypeError("Second argument must be a String");if(!d.fn(n))throw new TypeError("Third argument must be a Function");if(d.node(t))return s=e,f=n,(u=t).addEventListener(s,f),{destroy:function(){u.removeEventListener(s,f)}};if(d.nodeList(t))return a=t,c=e,l=n,Array.prototype.forEach.call(a,function(t){t.addEventListener(c,l)}),{destroy:function(){Array.prototype.forEach.call(a,function(t){t.removeEventListener(c,l)})}};if(d.string(t))return o=t,r=e,i=n,h(document.body,o,r,i);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList");var o,r,i,a,c,l,u,s,f}},function(t,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){return"[object Function]"===Object.prototype.toString.call(t)}},function(t,e,n){var a=n(5);function i(t,e,n,o,r){var i=function(e,n,t,o){return function(t){t.delegateTarget=a(t.target,n),t.delegateTarget&&o.call(e,t)}}.apply(this,arguments);return t.addEventListener(n,i,r),{destroy:function(){t.removeEventListener(n,i,r)}}}t.exports=function(t,e,n,o,r){return"function"==typeof t.addEventListener?i.apply(null,arguments):"function"==typeof n?i.bind(null,document).apply(null,arguments):("string"==typeof t&&(t=document.querySelectorAll(t)),Array.prototype.map.call(t,function(t){return i(t,e,n,o,r)}))}},function(t,e){if("undefined"!=typeof Element&&!Element.prototype.matches){var n=Element.prototype;n.matches=n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector}t.exports=function(t,e){for(;t&&9!==t.nodeType;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}},function(t,e,n){"use strict";n.r(e);var o=n(0),r=n.n(o),i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function a(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}function c(t){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,c),this.resolveOptions(t),this.initSelection()}var l=(function(t,e,n){return e&&a(t.prototype,e),n&&a(t,n),t}(c,[{key:"resolveOptions",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};this.action=e.action,this.container=e.container,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""}},{key:"initSelection",value:function(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function(){var t=this,e="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return t.removeFake()},this.fakeHandler=this.container.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[e?"right":"left"]="-9999px";var n=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=n+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=r()(this.fakeElem),this.copyText()}},{key:"removeFake",value:function(){this.fakeHandler&&(this.container.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(this.container.removeChild(this.fakeElem),this.fakeElem=null)}},{key:"selectTarget",value:function(){this.selectedText=r()(this.target),this.copyText()}},{key:"copyText",value:function(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function(t){this.emitter.emit(t?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function(){this.trigger&&this.trigger.focus(),document.activeElement.blur(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function(){this.removeFake()}},{key:"action",set:function(t){var e=0<arguments.length&&void 0!==t?t:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function(){return this._action}},{key:"target",set:function(t){if(void 0!==t){if(!t||"object"!==(void 0===t?"undefined":i(t))||1!==t.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&t.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(t.hasAttribute("readonly")||t.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=t}},get:function(){return this._target}}]),c),u=n(1),s=n.n(u),f=n(2),d=n.n(f),h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t}
873,p=function(t,e,n){return e&&y(t.prototype,e),n&&y(t,n),t};function y(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}var m=(function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(v,s.a),p(v,[{key:"resolveOptions",value:function(t){var e=0<arguments.length&&void 0!==t?t:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===h(e.container)?e.container:document.body}},{key:"listenClick",value:function(t){var e=this;this.listener=d()(t,"click",function(t){return e.onClick(t)})}},{key:"onClick",value:function(t){var e=t.delegateTarget||t.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l({action:this.action(e),target:this.target(e),text:this.text(e),container:this.container,trigger:e,emitter:this})}},{key:"defaultAction",value:function(t){return b("action",t)}},{key:"defaultTarget",value:function(t){var e=b("target",t);if(e)return document.querySelector(e)}},{key:"defaultText",value:function(t){return b("text",t)}},{key:"destroy",value:function(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function(t){var e=0<arguments.length&&void 0!==t?t:["copy","cut"],n="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;return n.forEach(function(t){o=o&&!!document.queryCommandSupported(t)}),o}}]),v);function v(t,e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,v);var n=function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(v.__proto__||Object.getPrototypeOf(v)).call(this));return n.resolveOptions(e),n.listenClick(t),n}function b(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}e.default=m}],r.c=o,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=6).default;function r(t){if(o[t])return o[t].exports;var e=o[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,r),e.l=!0,e.exports}var n,o});

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.