PageSourceSearch

https://stagebuddy.com/wp-content/plugins/super-socializer/js/front/sharing/sharing.js?ver=7.9.2

js stagebuddy.com collected 2026-10-02 04:21:02 UTC 45,925 bytes, 886 lines download raw bytes

1/**
2 * Show more sharing services popup
3 */
4function theChampMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
5	postUrl = encodeURIComponent(postUrl);
6	concate = '</ul></div><div class="footer-panel"><p></p></div></div>';
7	var theChampMoreSharingServices = {
8	  facebook: {
9		title: "Facebook",
10		locale: "en-US",
11		redirect_url: "http://www.facebook.com/sharer.php?u=" + postUrl + "&t=" + postTitle + "&v=3",
12	  },
13	  twitter: {
14		title: "Twitter",
15		locale: "en-US",
16		redirect_url: "http://twitter.com/intent/tweet?text=" + (twitterTitle ? twitterTitle : postTitle) + " " + postUrl,
17	  },
18	  google: {
19		title: "Google plus",
20		locale: "en-US",
21		redirect_url: "https://plus.google.com/share?url=" + postUrl,
22	  },
23	  linkedin: {
24		title: "Linkedin",
25		locale: "en-US",
26		redirect_url: "http://www.linkedin.com/shareArticle?mini=true&url=" + postUrl + "&title=" + postTitle,
27	  },
28	  pinterest: {
29		title: "Pinterest",
30		locale: "en-US",
31		redirect_url: "https://pinterest.com/pin/create/button/?url=" + postUrl + "&media=${media_link}&description=" + postTitle,
32		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)})());"
33	  },
34	  CopyLink: {
35		title: "Copy Link",
36		locale: "en-US",
37		redirect_url: "",
38		bookmarklet_url: ""
39	  },
40	  Diaspora: {
41		title: "Diaspora",
42		locale: "en-US",
43		redirect_url: "https://joindiaspora.com/bookmarklet?url=" + postUrl + "&title=" + postTitle + "&v=1"
44	  },
45	  Douban: {
46		title: "Douban",
47		locale: "en-US",
48		redirect_url: "https://www.douban.com/share/service?name="+postTitle+"&href="+postUrl+"&image=&updated=&bm=&url="+postUrl+"&title="+postTitle+"&sel="
49	  },
50	  Draugiem: {
51		title: "Draugiem",
52		locale: "en-US",
53		redirect_url: "https://www.draugiem.lv/say/ext/add.php?link="+postUrl+"&title="+postTitle
54	  },
55	  Facebook_Messenger: {
56		title: "Facebook Messenger",
57		locale: "en-US",
58		redirect_url: "https://www.facebook.com/dialog/send?app_id=595489497242932&display=popup&link="+postUrl+"&redirect_uri="+postUrl
59	  },
60	  Google_Classroom: {
61		title: "Google Classroom",
62		locale: "en-US",
63		redirect_url: "https://classroom.google.com/u/0/share?url="+postUrl
64	  },
65	  Kik: {
66		title: "Kik",
67		locale: "en-US",
68		redirect_url: "https://www.kik.com/send/article/?app_name=Share&text=&title="+postTitle+"&url="+postUrl
69	  },
70	  Papaly: {
71		title: "Papaly",
72		locale: "en-US",
73		redirect_url: "https://papaly.com/api/share.html?url="+postUrl+"&title="+postTitle
74	  },
75	  Polyvore: {
76		title: "Polyvore",
77		locale: "en-US",
78		bookmarklet_url: "javascript:(function(){function e(a){var c=window;if(c.PolyvoreClipper){c.PolyvoreClipper.run()}else{var b=a.createElement(\'script\');c._polyvoreMode=\'prod\';c._polyvoreHost=\'www.polyvore.com\';b.src=\'http://akwww.polyvorecdn.com/rsrc/clipper.js?\'+Math.floor((new Date()).getTime()/86400000);a.body.appendChild(b)}}try{e(document)}catch(g){}for(var f=0;f<frames.length;++f){var i=frames[f];try{if(i.frameElement.tagName==\'IFRAME\'){continue}if(i.innerWidth<400||i.innerHeight<400){continue}e(i.document)}catch(j){}}})();"
79	  },
80	  Refind: {
81		title: "Refind",
82		locale: "en-US",
83		redirect_url: "https://refind.com/?url="+postUrl
84	  },
85	  Skype: {
86		title: "Skype",
87		locale: "en-US",
88		redirect_url: "https://web.skype.com/share?url="+postUrl
89	  },
90	  SMS: {
91		title: "SMS",
92		locale: "en-US",
93		bookmarklet_url: "sms://?&body="+postTitle+" "+postUrl
94	  },
95	  Trello: {
96		title: "Trello",
97		locale: "en-US",
98		redirect_url: "https://trello.com/add-card?mode=popup&url="+postUrl+"&name="+postTitle+"&desc="
99	  },
100	  Viber: {
101		title: "Viber",
102		locale: "en-US",
103		bookmarklet_url: "viber://forward?text="+postTitle+" "+postUrl
104	  },
105	  Telegram: {
106		title: "Telegram",
107		locale: "en-US",
108		redirect_url: "https://telegram.me/share/url?url="+postUrl+"&text="+postTitle
109	  },
110	  yahoo_bookmarks: {
111		title: "Yahoo",
112		locale: "en-US",
113		redirect_url: "http://bookmarks.yahoo.com/toolbar/savebm?u=" + postUrl + "&t=" + postTitle,
114	  },
115	  email: {
116		title: "Email",
117		locale: "en-US",
118		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
119	  },
120	  delicious: {
121		title: "Delicious",
122		locale: "en-US",
123		redirect_url: "http://delicious.com/save?url=" + postUrl + "&title=" + postTitle,
124	  },
125	  reddit: {
126		title: "Reddit",
127		locale: "en-US",
128		redirect_url: "http://reddit.com/submit?url=" + postUrl + "&title=" + postTitle,
129	  },
130	  float_it: {
131		title: "Float it",
132		locale: "en-US",
133		redirect_url: "http://www.designfloat.com/submit.php?url=" + postUrl + "&title=" + postTitle,
134	  },
135	  google_mail: {
136		title: "Google Gmail",
137		locale: "en-US",
138		redirect_url: "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=" + postTitle + "&body=Link: " + postUrl,
139	  },
140	  google_bookmarks: {
141		title: "Google Bookmarks",
142		locale: "en-US",
143		redirect_url: "http://www.google.com/bookmarks/mark?op=edit&bkmk=" + postUrl + "&title=" + postTitle,
144	  },
145	  digg: {
146		title: "Digg",
147		locale: "en-US",
148		redirect_url: "http://digg.com/submit?phase=2&url=" + postUrl + "&title=" + postTitle,
149	  },
150	  stumbleupon: {
151		title: "Stumbleupon",
152		locale: "en-US",
153		redirect_url: "http://www.stumbleupon.com/submit?url=" + postUrl + "&title=" + postTitle,
154	  },
155	  printfriendly: {
156		title: "PrintFriendly",
157		locale: "en-US",
158		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
159	  },
160	  print: {
161		title: "Print",
162		locale: "en-US",
163		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
164	  },
165	  tumblr: {
166		title: "Tumblr",
167		locale: "en-US",
168		redirect_url: "http://www.tumblr.com/share?v=3&u=" + postUrl + "&t=" + postTitle,
169		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);"
170	  },
171	  vk: {
172		title: "Vkontakte",
173		locale: "ru",
174		redirect_url: "https://vk.com/share.php?url=" + postUrl + "&title=" + postTitle,
175	  },
176	  evernote: {
177		title: "Evernote",
178		locale: "en-US",
179		redirect_url: "https://www.evernote.com/clip.action?url=" + postUrl + "&title=" + postTitle,
180		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);}})();"
181	  },
182	  amazon_us_wish_list: {
183		title: "Amazon Wish List",
184		locale: "en-US",
185		redirect_url: "http://www.amazon.com/wishlist/add?u=" + postUrl + "&t=" + postTitle,
186		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();}())"
187	  },
188	  wordpress_blog: {
189		title: "WordPress",
190		locale: "en-US",
191		redirect_url: "http://www.addtoany.com/ext/wordpress/press_this?linkurl=" + postUrl + "&linkname=" + postTitle,
192	  },
193	  whatsapp: {
194		title: "Whatsapp",
195		locale: "en-US",
196		redirect_url: "whatsapp://send?text=" + postTitle + " " + postUrl,
197	  },
198	  diigo: {
199		title: "Diigo",
200		locale: "en-US",
201		redirect_url: "http://www.diigo.com/post?url=" + postUrl + "&title=" + postTitle,
202	  },
203	  yc_hacker_news: {
204		title: "Hacker News",
205		locale: "en-US",
206		redirect_url: "http://news.ycombinator.com/submitlink?u=" + postUrl + "&t=" + postTitle,
207	  },
208	  box_net: {
209		title: "Box.net",
210		locale: "en-US",
211		redirect_url: "https://www.box.net/api/1.0/import?url=" + postUrl + "&name=" + postTitle + "&import_as=link",
212	  },
213	  aol_mail: {
214		title: "AOL Mail",
215		locale: "en-US",
216		redirect_url: "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=" + postTitle + "&body=" + postUrl,
217	  },
218	  yahoo_mail: {
219		title: "Yahoo Mail",
220		locale: "en-US",
221		redirect_url: "http://compose.mail.yahoo.com/?Subject=" + postTitle + "&body=Link: " + postUrl,
222	  },
223	  instapaper: {
224		title: "Instapaper",
225		locale: "en-US",
226		redirect_url: "http://www.instapaper.com/edit?url=" + postUrl + "&title=" + postTitle,
227	  },
228	  plurk: {
229		title: "Plurk",
230		locale: "en-US",
231		redirect_url: "http://www.plurk.com/m?content=" + postUrl + "&qualifier=shares",
232	  },
233	  wanelo: {
234		title: "Wanelo",
235		locale: "en-US",
236		redirect_url: "http://wanelo.com/p/post?bookmarklet=&images%5B%5D=&url=" + postUrl + "&title=" + postTitle + "&price=&shop=",
237		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))"
238	  },
239	  aim: {
240		title: "AIM",
241		locale: "en-US",
242		redirect_url: "http://share.aim.com/share/?url=" + postUrl + "&title=" + postTitle,
243	  },
244	  stumpedia: {
245		title: "Stumpedia",
246		locale: "en-US",
247		redirect_url: "http://www.stumpedia.com/submit?url=" + postUrl + "&title=" + postTitle,
248	  },
249	  viadeo: {
250		title: "Viadeo",
251		locale: "en-US",
252		redirect_url: "http://www.viadeo.com/shareit/share/?url=" + postUrl + "&title=" + postTitle,
253	  },
254	  yahoo_messenger: {
255		title: "Yahoo Messenger",
256		locale: "en-US",
257		redirect_url: "ymsgr:sendim?m=" + postUrl,
258	  },
259	  pinboard_in: {
260		title: "Pinboard",
261		locale: "en-US",
262		redirect_url: "http://pinboard.in/add?url=" + postUrl + "&title=" + postTitle,
263	  },
264	  blogger_post: {
265		title: "Blogger Post",
266		locale: "en-US",
267		redirect_url: "http://www.blogger.com/blog_this.pyra?t=&u=" + postUrl + "&l&n=" + postTitle,
268	  },
269	  typepad_post: {
270		title: "TypePad Post",
271		locale: "en-US",
272		redirect_url: "http://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title=" + postTitle + "&qp_href=" + postUrl + "&qp_text=" + postTitle,
273	  },
274	  buffer: {
275		title: "Buffer",
276		locale: "en-US",
277		redirect_url: "http://bufferapp.com/add?url=" + postUrl + "&text=" + postTitle,
278	  },
279	  flipboard: {
280		title: "Flipboard",
281		locale: "en-US",
282		redirect_url: "https://share.flipboard.com/bookmarklet/popout?v=2&url=" + postUrl + "&title=" + postTitle,
283	  },
284	  mail: {
285		title: "Email",
286		locale: "en-US",
287		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
288	  },
289	  pocket: {
290		title: "Pocket",
291		locale: "en-US",
292		redirect_url: "https://readitlaterlist.com/save?url=" + postUrl + "&title=" + postTitle,
293	  },
294	  fark: {
295		title: "Fark",
296		locale: "en-US",
297		redirect_url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url=" + postUrl,
298	  },
299	  yummly: {
300		title: "Yummly",
301		locale: "en-US",
302		redirect_url: "http://www.yummly.com/urb/verify?url=" + postUrl + "&title=" + postTitle,
303	  },
304	  app_net: {
305		title: "App.net",
306		locale: "en-US",
307		redirect_url: "https://account.app.net/login/",
308	  },
309	  baidu: {
310		title: "Baidu",
311		locale: "en-US",
312		redirect_url: "http://cang.baidu.com/do/add?it=" + postTitle + "&iu=" + postUrl,
313	  },
314	  balatarin: {
315		title: "Balatarin",
316		locale: "en-US",
317		redirect_url: "https://www.balatarin.com/login",
318	  },
319	  bibSonomy: {
320		title: "BibSonomy",
321		locale: "en-US",
322		redirect_url: "http://www.bibsonomy.org/login",
323	  },
324	  Bitty_Browser: {
325		title: "Bitty Browser",
326		locale: "en-US",
327		redirect_url: "http://www.bitty.com/manual/?contenttype=&contentvalue=" + postUrl,
328	  },
329	  Blinklist: {
330		title: "Blinklist",
331		locale: "en-US",
332		redirect_url: "http://blinklist.com/blink?t=" + postTitle + "&d=&u=" + postUrl,
333	  },
334	  BlogMarks: {
335		title: "BlogMarks",
336		locale: "en-US",
337		redirect_url: "http://blogmarks.net/my/new.php?mini=1&simple=1&title=" + postTitle + "&url=" + postUrl,
338	  },
339	  Bookmarks_fr: {
340		title: "Bookmarks.fr",
341		locale: "en-US",
342		redirect_url: "http://www.bookmarks.fr/Connexion/?action=add&address=" + postUrl + "&title=" + postTitle,
343	  },
344	  BuddyMarks: {
345		title: "BuddyMarks",
346		locale: "en-US",
347		redirect_url: "http://buddymarks.com/login.php?bookmark_title=" + postTitle + "&bookmark_url=" + postUrl + "&bookmark_desc=&bookmark_tags=",
348	  },
349	  Care2_news: {
350		title: "Care2 News",
351		locale: "en-US",
352		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]=",
353	  },
354	  CiteULike: {
355		title: "Cite U Like",
356		locale: "en-US",
357		redirect_url: "http://www.citeulike.org/posturl?url=" + postUrl + "&title=" + postTitle,
358	  },
359	  Diary_Ru: {
360		title: "Diary.Ru",
361		locale: "en-US",
362		redirect_url: "http://www.diary.ru/?newpost&title=" + postTitle + "&text=" + postUrl,
363	  },
364	  diHITT: {
365		title: "diHITT",
366		locale: "en-US",
367		redirect_url: "http://www.dihitt.com/submit?url=" + postUrl + "&title=" + postTitle,
368	  },
369	  dzone: {
370		title: "DZone",
371		locale: "en-US",
372		redirect_url: "http://www.dzone.com/links/add.html?url=" + postUrl + "&title=" + postTitle,
373	  },
374	  Folkd: {
375		title: "Folkd",
376		locale: "en-US",
377		redirect_url: "http://www.folkd.com/page/social-bookmarking.html?addurl=" + postUrl,
378	  },
379	  Hatena: {
380		title: "Hatena",
381		locale: "en-US",
382		redirect_url: "http://b.hatena.ne.jp/bookmarklet?url=" + postUrl + "&btitle=" + postTitle,
383	  },
384	  Jamespot: {
385		title: "Jamespot",
386		locale: "en-US",
387		redirect_url: "//my.jamespot.com/",
388	  },
389	  Kakao: {
390		title: "Kakao",
391		locale: "en-US",
392		redirect_url: "https://story.kakao.com/share?url=" + postUrl,
393	  },
394	  Kindle_It: {
395		title: "Kindle_It",
396		locale: "en-US",
397		redirect_url: "//fivefilters.org/kindle-it/send.php?url=" + postUrl,
398	  },
399	  Known: {
400		title: "Known",
401		locale: "en-US",
402		redirect_url: "https://withknown.com/share/?url=" + postUrl + "&title=" + postTitle,
403	  },
404	  Line: {
405		title: "Line",
406		locale: "en-US",
407		redirect_url: "line://msg/text/" + postTitle + "! " + postUrl,
408	  },
409	  LiveJournal: {
410		title: "LiveJournal",
411		locale: "en-US",
412		redirect_url: "http://www.livejournal.com/update.bml?subject=" + postTitle + "&event=" + postUrl,
413	  },
414	  Mail_Ru: {
415		title: "Mail.Ru",
416		locale: "en-US",
417		redirect_url: "http://connect.mail.ru/share?share_url=" + postUrl,
418	  },
419	  Mendeley: {
420		title: "Mendeley",
421		locale: "en-US",
422		redirect_url: "https://www.mendeley.com/sign-in/",
423	  },
424	  Meneame: {
425		title: "Meneame",
426		locale: "en-US",
427		redirect_url: "https://www.meneame.net/submit.php?url=" + postUrl,
428	  },
429	  Mixi: {
430		title: "Mixi",
431		locale: "en-US",
432		redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
433	  },
434	  MySpace: {
435		title: "MySpace",
436		locale: "en-US",
437		redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
438	  },
439	  Netlog: {
440		title: "Netlog",
441		locale: "en-US",
442		redirect_url: "http://www.netlog.com/go/manage/links/view=save&origin=external&url=" + postUrl + "&title=" + postTitle + "&description=",
443	  },
444	  Netvouz: {
445		title: "Netvouz",
446		locale: "en-US",
447		redirect_url: "http://www.netvouz.com/action/submitBookmark?url=" + postUrl + "&title=" + postTitle + "&popup=no&description=",
448	  },
449	  NewsVine: {
450		title: "NewsVine",
451		locale: "en-US",
452		redirect_url: "http://www.newsvine.com/_tools/seed?popoff=0&u=" + postUrl + "&h=" + postTitle,
453	  },
454	  NUjij: {
455		title: "NUjij",
456		locale: "en-US",
457		redirect_url: "http://www.nujij.nl/nieuw-bericht.2051051.lynkx?title=" + postTitle + "&url=" + postUrl + "&bericht=&topic=",
458	  },
459	  Odnoklassniki: {
460		title: "Odnoklassniki",
461		locale: "en-US",
462		redirect_url: "https://connect.ok.ru/dk?cmd=WidgetSharePreview&st.cmd=WidgetSharePreview&st.shareUrl=" + postUrl + "&st.client_id=-1",
463	  },
464	  Oknotizie: {
465		title: "Oknotizie",
466		locale: "en-US",
467		redirect_url: "//oknotizie.virgilio.it/post?url=" + postUrl + "&title=" + postTitle,
468	  },
469	  Outlook_com: {
470		title: "Outlook.com",
471		locale: "en-US",
472		redirect_url: "https://mail.live.com/default.aspx?rru=compose?subject=" + postTitle + "&body=" + postUrl + "&lc=1033&id=64855&mkt=en-us&cbcxt=mai",
473	  },
474	  Protopage_Bookmarks: {
475		title: "Protopage_Bookmarks",
476		locale: "en-US",
477		redirect_url: "http://www.protopage.com/add-button-site?url=" + postUrl + "&label=&type=page",
478	  },
479	  Pusha: {
480		title: "Pusha",
481		locale: "en-US",
482		redirect_url: "//www.pusha.se/posta?url=" + postUrl,
483	  },
484	  Qzone: {
485		title: "Qzone",
486		locale: "en-US",
487		redirect_url: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + postUrl,
488	  },
489	  Rediff_MyPage: {
490		title: "Rediff MyPage",
491		locale: "en-US",
492		redirect_url: "//share.rediff.com/bookmark/addbookmark?bookmarkurl=" + postUrl + "&title=" + postTitle,
493	  },
494	  Renren: {
495		title: "Renren",
496		locale: "en-US",
497		redirect_url: "//www.connect.renren.com/share/sharer?url=" + postUrl + "&title=" + postTitle,
498	  },
499	  Segnalo: {
500		title: "Segnalo",
501		locale: "en-US",
502		redirect_url: "http://segnalo.virgilio.it/post.html.php?url=" + postUrl + "&title=" + postTitle,
503	  },
504	  Sina_Weibo: {
505		title: "Sina Weibo",
506		locale: "en-US",
507		redirect_url: "//service.weibo.com/share/share.php?url=" + postUrl + "&title=" + postTitle,
508	  },
509	  SiteJot: {
510		title: "SiteJot",
511		locale: "en-US",
512		redirect_url: "http://www.sitejot.com/loginform.php?iSiteAdd=&iSiteDes=",
513	  },
514	  Slashdot: {
515		title: "Slashdot",
516		locale: "en-US",
517		redirect_url: "//slashdot.org/submission?url=" + postUrl,
518	  },
519	  Svejo: {
520		title: "Svejo",
521		locale: "en-US",
522		redirect_url: "https://svejo.net/story/submit_by_url?url=" + postUrl + "&title=" + postTitle + "&summary=",
523	  },
524	  Symbaloo_Feeds: {
525		title: "Symbaloo_Feeds",
526		locale: "en-US",
527		redirect_url: "//www.symbaloo.com/",
528	  },
529	  Tuenti: {
530		title: "Tuenti",
531		locale: "en-US",
532		redirect_url: "https://www.tuenti.com/share?p=b5dd6602&url=" + postUrl,
533	  },
534	  Twiddla: {
535		title: "Twiddla",
536		locale: "en-US",
537		redirect_url: "//www.twiddla.com/New.aspx?url=" + postUrl + "&title=" + postTitle,
538	  },
539	  Webnews: {
540		title: "Webnews",
541		locale: "en-US",
542		redirect_url: "//www.webnews.de/login",
543	  },
544	  Wykop: {
545		title: "Wykop",
546		locale: "en-US",
547		redirect_url: "//www.wykop.pl/dodaj?url=" + postUrl + "&title=" + postTitle,
548	  },
549	  Yoolink: {
550		title: "Yoolink",
551		locale: "en-US",
552		redirect_url: "//yoolink.to/addorshare?url_value=" + postUrl + "&title=" + postTitle,
553	  },
554	  YouMob: {
555		title: "YouMob",
556		locale: "en-US",
557		redirect_url: "//youmob.com/startmob.aspx?cookietest=true&mob=" + postUrl,
558	  }
559	}
560	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(postUrl) +'"><div class="filter"><input type="text" onkeyup="theChampFilterSharing(this.value.trim())" placeholder="Search" class="search"></div><div class="all-services"><ul class="mini">';
561	for(var i in theChampMoreSharingServices){
562		var tempTitle = theChampCapitaliseFirstLetter(theChampMoreSharingServices[i].title.replace(/[_. ]/g, ""));
563		theChampMoreSharingServicesHtml += '<li><a rel="nofollow" class="theChamp'+i+'Share" title="'+ theChampMoreSharingServices[i].title +'" alt="'+ theChampMoreSharingServices[i].title +'" ';
564		if(theChampMoreSharingServices[i].bookmarklet_url){
565			theChampMoreSharingServicesHtml += 'href="' + theChampMoreSharingServices[i].bookmarklet_url + '" ';
566		}else if(theChampMoreSharingServices[i].redirect_url){
567			theChampMoreSharingServicesHtml += 'onclick="theChampPopup(\'' + theChampMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
568		}else{
569			theChampMoreSharingServicesHtml += 'href="javascript:void(0)" ';
570		}
571		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>';
572	}
573	theChampMoreSharingServicesHtml += concate;
574	
575	var mainDiv = document.createElement('div');
576	mainDiv.innerHTML = theChampMoreSharingServicesHtml;
577	mainDiv.setAttribute('id', 'the_champ_sharing_more_providers');
578	var bgDiv = document.createElement('div');
579	bgDiv.setAttribute('id', 'the_champ_popup_bg');
580	jQuery('body').append(mainDiv).append(bgDiv);
581	document.getElementById('the_champ_popup_bg').onclick = document.getElementById('the_champ_sharing_popup_close').onclick = function(){
582		mainDiv.parentNode.removeChild(mainDiv);
583		bgDiv.parentNode.removeChild(bgDiv);
584	}
585}
586
587if(typeof theChampHorizontalSharingCountEnable == 'undefined'){
588	var theChampHorizontalSharingCountEnable = 0;
589}
590if(typeof theChampVerticalSharingCountEnable == 'undefined'){
591	var theChampVerticalSharingCountEnable = 0;
592}
593if(theChampHorizontalSharingCountEnable || theChampVerticalSharingCountEnable){
594	// get sharing counts on window load
595	theChampLoadEvent(
596		function(){
597			// sharing counts
598			theChampCallAjax(function(){
599				theChampGetSharingCounts();
600			});
601		}
602	);
603}
604	
605/**
606 * Search sharing services
607 */
608function theChampFilterSharing(val) {
609	jQuery('ul.mini li a').each(function(){
610		if (jQuery(this).text().toLowerCase().indexOf(val.toLowerCase()) != -1) {
611			jQuery(this).parent().css('display', 'block');
612		} else {
613			jQuery(this).parent().css('display', 'none');
614		}
615	});
616};
617
618var heateorSsFacebookTargetUrls = [];
619
620/**
621 * Get sharing counts
622 */
623function theChampGetSharingCounts(){
624	var targetUrls = [];
625	jQuery('.the_champ_sharing_container').each(function(){
626		if(typeof jQuery(this).attr('super-socializer-no-counts') == 'undefined'){
627			var currentTargetUrl = jQuery(this).attr('super-socializer-data-
627href');
628			if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSsUrlCountFetched) == -1){
629				targetUrls.push(currentTargetUrl);
630				heateorSsUrlCountFetched.push(currentTargetUrl);
631			}
632		}
633	});
634	if(targetUrls.length == 0){
635		return;
636	}
637	jQuery.ajax({
638		type: 'GET',
639		dataType: 'json',
640		url: theChampSharingAjaxUrl,
641		data: {
642			action: 'the_champ_sharing_count',
643			urls: targetUrls,
644		},
645		success: function(data, textStatus, XMLHttpRequest){
646			if(data.status == 1){
647				if(data.facebook){
648					heateorSsFacebookTargetUrls = data.facebook_urls;
649				}
650				for(var i in data.message){
651					var sharingContainers = jQuery("div[super-socializer-data-href='"+i+"']");
652
653					jQuery(sharingContainers).each(function(){
654						var totalCount = 0;
655						for(var j in data.message[i]){
656							var sharingCount = parseInt(data.message[i][j]) || 0;
657
658							var targetElement = jQuery(this).find('.the_champ_'+j+'_count');
659							
660							if(jQuery(targetElement).attr('ss_st_count')){
661								sharingCount = parseInt(sharingCount) + parseInt(jQuery(targetElement).attr('ss_st_count'));
662							}
663							totalCount += parseInt(sharingCount);
664							if(sharingCount < 1){ continue; }
665							jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
666							
667							if ( ( typeof theChampReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
668								jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left');
669							}
670							if ( ( typeof theChampReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
671								jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0');
672							}
673						}
674						var totalCountContainer = jQuery(this).find('.theChampTCBackground');
675						jQuery(totalCountContainer).each(function(){
676							var containerHeight = jQuery(this).css('height');
677							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');
678						});
679					});
680				}
681				if(heateorSsFacebookTargetUrls.length != 0){
682					theChampFetchFacebookShares(heateorSsFacebookTargetUrls);
683				}
684			}
685		}
686	});
687}
688
689function theChampFetchFacebookShares(targetUrls){
690	var loopCounter = 0;
691	for(var i in targetUrls){
692		for(var j in targetUrls[i]){
693			loopCounter++;
694			theChampFBShareJSONCall(targetUrls[i][j], loopCounter, targetUrls[0].length*targetUrls.length, targetUrls[0][j]);
695		}
696	}
697}
698
699function theChampFBShareJSONCall(targetUrl, loopCounter, targetUrlsLength, dataHref) {
700	jQuery.getJSON('//graph.facebook.com/?id=' + targetUrl, function(data){
701	    if(data.share && data.share.share_count >= 0){
702	    	var sharingContainers = jQuery("div[super-socializer-data-href='"+dataHref+"']");
703
704			jQuery(sharingContainers).each(function(){
705				var targetElement = jQuery(this).find('.the_champ_facebook_count');
706				var facebookBackground = jQuery(this).find('i.theChampFacebookBackground');
707				var sharingCount = parseInt(data.share.share_count);
708
709				if(jQuery(targetElement).attr('ss_st_count') !== undefined){
710					sharingCount += parseInt(jQuery(targetElement).attr('ss_st_count'));
711				}
712				if(sharingCount > 0){
713					if(jQuery(targetElement).text().trim() == '' || jQuery(targetElement).text().trim() == '&nbsp;'){
714						jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
715						jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount);
716					}else if(typeof jQuery(facebookBackground).attr('heateor-ss-fb-shares') != 'undefined'){
717						var tempShareCount = parseInt(jQuery(facebookBackground).attr('heateor-ss-fb-shares'));
718						jQuery(facebookBackground).attr('heateor-ss-fb-shares', sharingCount + tempShareCount);
719						jQuery(targetElement).html(theChampCalculateApproxCount(sharingCount + tempShareCount));
720					}
721					if ( ( typeof theChampReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
722						jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('float', 'left');
723					}
724					if ( ( typeof theChampReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_horizontal_sharing') ) || ( typeof theChampReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('the_champ_vertical_sharing') ) ) {
725						jQuery(targetElement).parents('li').find('.theChampSharingSvg').css('marginTop', '0');
726					}
727					var totalCountContainer = jQuery(this).find('.theChampTCBackground');
728					jQuery(totalCountContainer).each(function(){
729						var totalShareCountElem = jQuery(this).find('.theChampTotalShareCount');
730						var totalShareCount = jQuery(totalShareCountElem).text();
731						var newTotalCount = theChampCalculateActualCount(totalShareCount) + sharingCount;
732						jQuery(totalShareCountElem).text(theChampCalculateApproxCount(newTotalCount));
733						jQuery(this).find('.theChampTotalShareText').text(newTotalCount == 0 || newTotalCount > 1 ? heateorSsSharesText : heateorSsShareText);
734					});
735				}
736			});
737		}
738		
739		if(loopCounter == targetUrlsLength){
740			setTimeout(function(){
741				var facebookShares = {};
742				for(var i in heateorSsFacebookTargetUrls[0]){
743					var sharingContainers = jQuery("div[super-socializer-data-href='"+heateorSsFacebookTargetUrls[0][i]+"']");
744					jQuery(sharingContainers).each(function(){
745						var facebookCountElement = jQuery(this).find('.the_champ_facebook_count');
746						var facebookCountElementBg = jQuery(this).find('i.theChampFacebookBackground');
747						var shareCountString = typeof jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares') != 'undefined' ? jQuery(facebookCountElementBg).attr('heateor-ss-fb-shares').trim() : '';
748						if(shareCountString != ''){
749							var shareCount = parseInt(theChampCalculateActualCount(shareCountString));
750							if(jQuery(facebookCountElement).attr('ss_st_count') !== undefined){
751								var startingCount = parseInt(jQuery(facebookCountElement).attr('ss_st_count').trim());
752								shareCount = Math.abs(shareCount - startingCount);
753							}
754							facebookShares[heateorSsFacebookTargetUrls[0][i]] = shareCount;
755							return;
756						}
757					});
758				}
759				if(!jQuery.isEmptyObject(facebookShares)){
760					theChampSaveFacebookShares(facebookShares);
761				}
762			}, 1000);
763		}
764	});
765}
766
767function theChampSaveFacebookShares(facebookShares){
768	jQuery.ajax({
769		type: 'GET',
770		dataType: 'json',
771		url: theChampSharingAjaxUrl,
772		data: {
773			action: 'the_champ_save_facebook_shares',
774			share_counts: facebookShares,
775		},
776		success: function(data, textStatus, XMLHttpRequest){}
777	});
778}
779
780function theChampCalculateApproxCount(sharingCount){
781	// round to one decimal
782	if(sharingCount > 999 && sharingCount < 10000){
783		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
784	}else if(sharingCount > 9999 && sharingCount < 100000){
785		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
786	}else if(sharingCount > 99999 && sharingCount < 1000000){
787		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
788	}else if(sharingCount > 999999){
789		sharingCount = (Math.round(sharingCount/100000))/10 + 'M';
790	}
791	return sharingCount;
792}
793
794function theChampCalculateActualCount(sharingCount){
795	if(sharingCount.indexOf('K') > 0){
796		sharingCount = sharingCount.replace('K', '') * 1000;
797	}else if(sharingCount.indexOf('M') > 0){
798		sharingCount = sharingCount.replace('M', '') * 1000000;
799	}
800	return parseInt(sharingCount);
801}
802
803function theChampCapitaliseFirstLetter(e) {
804    return e.charAt(0).toUpperCase() + e.slice(1)
805}
806
807jQuery(function(){
808	var classes = ['the_champ_vertical_sharing', 'the_champ_vertical_counter'];
809	for(var i = 0; i < classes.length; i++){
810		if(jQuery('.' + classes[i]).length){
811			jQuery('.' + classes[i]).each(function(){
812				var verticalSharingHtml = jQuery(this).html();
813				if(jQuery(this).attr('style').indexOf('right') >= 0){
814					var removeClass = 'theChampPushIn', margin = 'Right', alignment = 'right', addClass = 'theChampPullOut';
815				}else{
816					var removeClass = 'theChampPullOut', margin = 'Left', alignment = 'left', addClass = 'theChampPushIn';
817				}
818				jQuery(this).html(verticalSharingHtml + '<div title="Hide" style="float:' + alignment + '" onclick="theChampHideSharing(this, \''+ removeClass +'\', \''+ addClass +'\',\'' + margin +'\', \'' + alignment + '\')" class="theChampSharingArrow ' + removeClass + '"></div>');
819			});
820		}
821	}
822	if(theChampMobileStickySharingEnabled == 1){
823		// insert div before </body>
824		jQuery(document.body).append("<div class='heateor_ss_mobile_footer'></div>");
825	}
826
827	var heateorSsClipboard = new Clipboard('.theChampCopyLinkBackgroun
827d, .theChampCopyLinkShare, .theChampCopyLinkSvg', {
828		text: function(trigger) {
829			if(jQuery(trigger).hasClass('theChampCopyLinkShare')){
830				var element = trigger.parentElement.parentElement.parentElement.parentElement;
831				var url = jQuery(element).attr("data-href") || "";
832			}else if(jQuery(trigger).hasClass('theChampCopyLinkSvg')){
833				var element = trigger.parentElement.parentElement.parentElement.parentElement;
834				var url = jQuery(element).attr("super-socializer-data-href") || "";
835				if(!url){
836					var element = trigger.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;
837					var url = jQuery(element).attr("data-href") || "";
838				}
839			}
840			return url;
841		}
842	});
843	heateorSsClipboard.on('success', function(e) {
844	    alert(heateorSsCopyLinkMessage);
845	});
846});
847
848function theChampHideSharing(elem, removeClass, addClass, margin, alignment){
849	var animation = {}, counter = jQuery(elem).parent().hasClass('the_champ_vertical_counter'), offset = parseInt(jQuery(elem).parent().css('width')) + 10 - (counter ? 16 : 0);
850	var ssOffset = jQuery(elem).parent().attr('ss-offset');
851	if(ssOffset){
852		var savedOffset = parseInt(ssOffset);
853	}else{
854		var savedOffset = (counter ? theChampCounterOffset : theChampSharingOffset);
855	}
856	if(jQuery(elem).attr('title') == 'Hide'){
857		animation[alignment] = "-=" + (offset + savedOffset);
858		jQuery(elem).parent().animate(animation, 400, function(){
859			jQuery(elem).removeClass(removeClass).addClass(addClass).attr('title', 'Share');
860			if(counter){
861				var cssFloat = alignment == 'left' ? 'right' : 'left';
862				jQuery(elem).css('float', cssFloat);
863			}else{
864				jQuery(elem).css('margin' + margin, offset + 'px')
865			}
866		});
867	}else{
868		animation[alignment] = "+=" + (offset + savedOffset); 
869		jQuery(elem).parent().animate(animation, 400, function(){
870			jQuery(elem).removeClass(addClass).addClass(removeClass).attr('title', 'Hide');
871			if(counter){
872				jQuery(elem).css('float', alignment);
873			}else{
874				jQuery(elem).css('margin' + margin, '0px');
875			}
876		});
877	}
878}
879
880/*!
881 * clipboard.js v1.7.1
882 * https://zenorocha.github.io/clipboard.js
883 *
884 * Licensed MIT © Zeno Rocha
885 */
886!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Clipboard=t()}}(function(){var t,e,n;return function t(e,n,o){function i(a,c){if(!n[a]){if(!e[a]){var l="function"==typeof require&&require;if(!c&&l)return l(a,!0);if(r)return r(a,!0);var s=new Error("Cannot find module '"+a+"'");throw s.code="MODULE_NOT_FOUND",s}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return i(n||t)},u,u.exports,t,e,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<o.length;a++)i(o[a]);return i}({1:[function(t,e,n){function o(t,e){for(;t&&t.nodeType!==i;){if("function"==typeof t.matches&&t.matches(e))return t;t=t.parentNode}}var i=9;if("undefined"!=typeof Element&&!Element.prototype.matches){var r=Element.prototype;r.matches=r.matchesSelector||r.mozMatchesSelector||r.msMatchesSelector||r.oMatchesSelector||r.webkitMatchesSelector}e.exports=o},{}],2:[function(t,e,n){function o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function i(t,e,n,o){return function(n){n.delegateTarget=r(n.target,e),n.delegateTarget&&o.call(t,n)}}var r=t("./closest");e.exports=o},{"./closest":1}],3:[function(t,e,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)}},{}],4:[function(t,e,n){function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!c.string(e))throw new TypeError("Second argument must be a String");if(!c.fn(n))throw new TypeError("Third argument must be a Function");if(c.node(t))return i(t,e,n);if(c.nodeList(t))return r(t,e,n);if(c.string(t))return a(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function r(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function a(t,e,n){return l(document.body,t,e,n)}var c=t("./is"),l=t("delegate");e.exports=o},{"./is":3,delegate:2}],5:[function(t,e,n){function o(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: 7,655 bytes, line 886
886else{t.hasAttribute("contenteditable")&&t.focus();var o=window.getSelection(),i=document.createRange();i.selectNodeContents(t),o.removeAllRanges(),o.addRange(i),e=o.toString()}return e}e.exports=o},{}],6:[function(t,e,n){function o(){}o.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){function o(){i.off(t,o),e.apply(n,arguments)}var i=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,i=n.length;for(o;o<i;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],i=[];if(o&&e)for(var r=0,a=o.length;r<a;r++)o[r].fn!==e&&o[r].fn._!==e&&i.push(o[r]);return i.length?n[t]=i:delete n[t],this}},e.exports=o},{}],7:[function(e,n,o){!function(i,r){if("function"==typeof t&&t.amd)t(["module","select"],r);else if(void 0!==o)r(n,e("select"));else{var a={exports:{}};r(a,i.select),i.clipboardAction=a.exports}}(this,function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{default:t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(e),r="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},a=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),c=function(){function t(e){o(this,t),this.resolveOptions(e),this.initSelection()}return a(t,[{key:"resolveOptions",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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 t(){this.text?this.selectFake():this.target&&this.selectTarget()}},{key:"selectFake",value:function t(){var e=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.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[n?"right":"left"]="-9999px";var o=window.pageYOffset||document.documentElement.scrollTop;this.fakeElem.style.top=o+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,this.container.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()}},{key:"removeFake",value:function t(){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 t(){this.selectedText=(0,i.default)(this.target),this.copyText()}},{key:"copyText",value:function t(){var e=void 0;try{e=document.execCommand(this.action)}catch(t){e=!1}this.handleResult(e)}},{key:"handleResult",value:function t(e){this.emitter.emit(e?"success":"error",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})}},{key:"clearSelection",value:function t(){this.trigger&&this.trigger.focus(),window.getSelection().removeAllRanges()}},{key:"destroy",value:function t(){this.removeFake()}},{key:"action",set:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"copy";if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function t(){return this._action}},{key:"target",set:function t(e){if(void 0!==e){if(!e||"object"!==(void 0===e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function t(){return this._target}}]),t}();t.exports=c})},{select:5}],8:[function(e,n,o){!function(i,r){if("function"==typeof t&&t.amd)t(["module","./clipboard-action","tiny-emitter","good-listener"],r);else if(void 0!==o)r(n,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var a={exports:{}};r(a,i.clipboardAction,i.tinyEmitter,i.goodListener),i.clipboard=a.exports}}(this,function(t,e,n,o){"use strict";function i(t){return t&&t.__esModule?t:{default:t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(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}function c(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)}function l(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var s=i(e),u=i(n),f=i(o),d="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},h=function(){function t(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)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),p=function(t){function e(t,n){r(this,e);var o=a(this,(e.__proto__||Object.getPrototypeOf(e)).call(this));return o.resolveOptions(n),o.listenClick(t),o}return c(e,t),h(e,[{key:"resolveOptions",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};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"===d(e.container)?e.container:document.body}},{key:"listenClick",value:function t(e){var n=this;this.listener=(0,f.default)(e,"click",function(t){return n.onClick(t)})}},{key:"onClick",value:function t(e){var n=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new s.default({action:this.action(n),target:this.target(n),text:this.text(n),container:this.container,trigger:n,emitter:this})}},{key:"defaultAction",value:function t(e){return l("action",e)}},{key:"defaultTarget",value:function t(e){var n=l("target",e);if(n)return document.querySelector(n)}},{key:"defaultText",value:function t(e){return l("text",e)}},{key:"destroy",value:function t(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)}}],[{key:"isSupported",value:function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],n="string"==typeof e?[e]:e,o=!!document.queryCommandSupported;
886return n.forEach(function(t){o=o&&!!document.queryCommandSupported(t)}),o}}]),e}(u.default);t.exports=p})},{"./clipboard-action":7,"good-listener":4,"tiny-emitter":6}]},{},[8])(8)});

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.