PageSourceSearch

https://www.cmds.cl/wp-content/plugins/sassy-social-share/public/js/sassy-social-share-public.js?ver=3.3.20

js cmds.cl collected 2026-10-08 08:12:54 UTC 44,150 bytes, 838 lines download raw bytes

1function heateorSssCallAjax(e){if(typeof jQuery!="undefined"){e()}else{heateorSssGetScript("https://code.jquery.com/jquery-latest.min.js",e)}}
2function heateorSssGetScript(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)}
3function heateorSssDetermineWhatsappShareAPI(a){if(a)return-1!=navigator.userAgent.indexOf("Mobi")?"api.whatsapp.com":"web.whatsapp.com";var p=jQuery("i.heateorSssWhatsappBackground a").attr("href");return void 0!==p?-1!=navigator.userAgent.indexOf("Mobi")?(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("web.whatsapp.com","api.whatsapp.com")),"api.whatsapp.com"):(jQuery("i.heateorSssWhatsappBackground a").attr("href",p.replace("api.whatsapp.com","web.whatsapp.com")),"web.whatsapp.com"):""}
4/**
5 * Show more sharing services popup
6 */
7function heateorSssMoreSharingPopup(elem, postUrl, postTitle, twitterTitle){
8	postUrl = encodeURIComponent(postUrl);
9	concate = '</ul></div><div class="footer-panel"><p></p></div></div>';
10	var heateorSssMoreSharingServices = {	  
11	  facebook: {
12		title: "Facebook",
13		locale: "en-US",
14		redirect_url: "https://www.facebook.com/sharer.php?u=" + postUrl + "&t=" + postTitle + "&v=3",
15	  },
16	  twitter: {
17		title: "Twitter",
18		locale: "en-US",
19		redirect_url: "https://twitter.com/intent/tweet?text=" + (twitterTitle ? twitterTitle : postTitle) + " " + postUrl,
20	  },
21	  linkedin: {
22		title: "Linkedin",
23		locale: "en-US",
24		redirect_url: "https://www.linkedin.com/shareArticle?mini=true&url=" + postUrl + "&title=" + postTitle,
25	  },
26	  parler: {
27		title: "Parler",
28		locale: "en-US",
29		redirect_url: "https://parler.com/new-post?message=" + postTitle + "&url=" + postUrl
30	  },
31	  gab: {
32		title: "Gab",
33		locale: "en-US",
34		redirect_url: "https://gab.com/compose?text=" + postTitle + "&url=" + postUrl
35	  },
36	  pinterest: {
37		title: "Pinterest",
38		locale: "en-US",
39		redirect_url: "https://pinterest.com/pin/create/button/?url=" + postUrl + "&media=${media_link}&description=" + postTitle,
40		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)})());"
41	  },
42	  CopyLink: {
43		title: "Copy Link",
44		locale: "en-US",
45		redirect_url: "",
46		bookmarklet_url: ""
47	  },
48	  Diaspora: {
49		title: "Diaspora",
50		locale: "en-US",
51		redirect_url: "https://joindiaspora.com/bookmarklet?url=" + postUrl + "&title=" + postTitle + "&v=1"
52	  },
53	  Douban: {
54		title: "Douban",
55		locale: "en-US",
56		redirect_url: "https://www.douban.com/share/service?name="+postTitle+"&href="+postUrl+"&image=&updated=&bm=&url="+postUrl+"&title="+postTitle+"&sel="
57	  },
58	  Draugiem: {
59		title: "Draugiem",
60		locale: "en-US",
61		redirect_url: "https://www.draugiem.lv/say/ext/add.php?link="+postUrl+"&title="+postTitle
62	  },
63	  Facebook_Messenger: {
64		title: "Facebook Messenger",
65		locale: "en-US",
66		redirect_url: "https://www.facebook.com/dialog/send?app_id=1904103319867886&display=popup&link="+postUrl+"&redirect_uri="+postUrl
67	  },
68	  Google_Classroom: {
69		title: "Google Classroom",
70		locale: "en-US",
71		redirect_url: "https://classroom.google.com/u/0/share?url="+postUrl
72	  },
73	  Kik: {
74		title: "Kik",
75		locale: "en-US",
76		redirect_url: "https://www.kik.com/send/article/?app_name=Share&text=&title="+postTitle+"&url="+postUrl
77	  },
78	  Papaly: {
79		title: "Papaly",
80		locale: "en-US",
81		redirect_url: "https://papaly.com/api/share.html?url="+postUrl+"&title="+postTitle
82	  },
83	  Refind: {
84		title: "Refind",
85		locale: "en-US",
86		redirect_url: "https://refind.com/?url="+postUrl
87	  },
88	  Skype: {
89		title: "Skype",
90		locale: "en-US",
91		redirect_url: "https://web.skype.com/share?url="+postUrl
92	  },
93	  SMS: {
94		title: "SMS",
95		locale: "en-US",
96		bookmarklet_url: "sms:?&body="+postTitle+" "+postUrl
97	  },
98	  Trello: {
99		title: "Trello",
100		locale: "en-US",
101		redirect_url: "https://trello.com/add-card?mode=popup&url="+postUrl+"&name="+postTitle+"&desc="
102	  },
103	  Viber: {
104		title: "Viber",
105		locale: "en-US",
106		bookmarklet_url: "viber://forward?text="+postTitle+" "+postUrl
107	  },
108	  Threema: {
109		title: "Threema",
110		locale: "en-US",
111		bookmarklet_url: "threema://compose?text="+postTitle+" "+postUrl
112	  },
113	  Telegram: {
114		title: "Telegram",
115		locale: "en-US",
116		redirect_url: "https://telegram.me/share/url?url="+postUrl+"&text="+postTitle
117	  },
118	  email: {
119		title: "Email",
120		locale: "en-US",
121		redirect_url: "mailto:?subject=" + postTitle + "&body=Link: " + postUrl,
122	  },
123	  reddit: {
124		title: "Reddit",
125		locale: "en-US",
126		redirect_url: "http://reddit.com/submit?url=" + postUrl + "&title=" + postTitle,
127	  },
128	  float_it: {
129		title: "Float it",
130		locale: "en-US",
131		redirect_url: "http://www.designfloat.com/submit.php?url=" + postUrl + "&title=" + postTitle,
132	  },
133	  google_mail: {
134		title: "Google Gmail",
135		locale: "en-US",
136		redirect_url: "https://mail.google.com/mail/?ui=2&view=cm&fs=1&tf=1&su=" + postTitle + "&body=Link: " + postUrl,
137	  },
138	  gentlereader: {
139        title: "GentleReader",
140        locale: "en-US",
141        redirect_url: "https://app.gentlereader.com/bookmark?url=" + postUrl,
142      },
143	  google_bookmarks: {
144		title: "Google Bookmarks",
145		locale: "en-US",
146		redirect_url: "http://www.google.com/bookmarks/mark?op=edit&bkmk=" + postUrl + "&title=" + postTitle,
147	  },
148	  digg: {
149		title: "Digg",
150		locale: "en-US",
151		redirect_url: "http://digg.com/submit?phase=2&url=" + postUrl + "&title=" + postTitle,
152	  },
153	  printfriendly: {
154		title: "PrintFriendly",
155		locale: "en-US",
156		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
157	  },
158	  print: {
159		title: "Print",
160		locale: "en-US",
161		redirect_url: "http://www.printfriendly.com/print?url=" + postUrl,
162		bookmarklet_url: "javascript:window.print()"
163	  },
164	  tumblr: {
165		title: "Tumblr",
166		locale: "en-US",
167		redirect_url: "https://www.tumblr.com/widgets/share/tool?posttype=link&canonicalUrl=" + postUrl + "&title=" + postTitle + "&caption=",
168		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);"
169	  },
170	  vk: {
171		title: "Vkontakte",
172		locale: "ru",
173		redirect_url: "https://vk.com/share.php?url=" + postUrl + "&title=" + postTitle,
174	  },
175	  evernote: {
176		title: "Evernote",
177		locale: "en-US",
178		redirect_url: "https://www.evernote.com/clip.action?url=" + postUrl + "&title=" + postTitle,
179		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);}})();"
180	  },
181	  amazon_us_wish_list: {
182		title: "Amazon Wish List",
183		locale: "en-US",
184		redirect_url: "http://www.amazon.com/wishlist/add?u=" + postUrl + "&t=" + postTitle,
185		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();}())"
186	  },
187	  wordpress_blog: {
188		title: "WordPress",
189		locale: "en-US",
190		redirect_url: "http://www.addtoany.com/ext/wordpress/press_this?linkurl=" + postUrl + "&linkname=" + postTitle,
191	  },
192	  whatsapp: {
193		title: "Whatsapp",
194		locale: "en-US",
195		bookmarklet_url: "https://" + heateorSssDetermineWhatsappShareAPI(true) + "/send?text=" + postTitle + " " + postUrl,
196	  },
197	  diigo: {
198		title: "Diigo",
199		locale: "en-US",
200		redirect_url: "http://www.diigo.com/post?url=" + postUrl + "&title=" + postTitle,
201	  },
202	  yc_hacker_news: {
203		title: "Hacker News",
204		locale: "en-US",
205		redirect_url: "http://news.ycombinator.com/submitlink?u=" + postUrl + "&t=" + postTitle,
206	  },
207	  box_net: {
208		title: "Box.net",
209		locale: "en-US",
210		redirect_url: "https://www.box.net/api/1.0/import?url=" + postUrl + "&name=" + postTitle + "&import_as=link",
211	  },
212	  aol_mail: {
213		title: "AOL Mail",
214		locale: "en-US",
215		redirect_url: "http://webmail.aol.com/25045/aol/en-us/Mail/compose-message.aspx?subject=" + postTitle + "&body=" + postUrl,
216	  },
217	  yahoo_mail: {
218		title: "Yahoo Mail",
219		locale: "en-US",
220		redirect_url: "http://compose.mail.yahoo.com/?Subject=" + postTitle + "&body=Link: " + postUrl,
221	  },
222	  instapaper: {
223		title: "Instapaper",
224		locale: "en-US",
225		redirect_url: "http://www.instapaper.com/edit?url=" + postUrl + "&title=" + postTitle,
226	  },
227	  plurk: {
228		title: "Plurk",
229		locale: "en-US",
230		redirect_url: "http://www.plurk.com/m?content=" + postUrl + "&qualifier=shares",
231	  },
232	  aim: {
233		title: "AIM",
234		locale: "en-US",
235		redirect_url: "http://share.aim.com/share/?url=" + postUrl + "&title=" + postTitle,
236	  },
237	  viadeo: {
238		title: "Viadeo",
239		locale: "en-US",
240		redirect_url: "http://www.viadeo.com/shareit/share/?url=" + postUrl + "&title=" + postTitle,
241	  },
242	  pinboard_in: {
243		title: "Pinboard",
244		locale: "en-US",
245		redirect_url: "http://pinboard.in/add?url=" + postUrl + "&title=" + postTitle,
246	  },
247	  blogger_post: {
248		title: "Blogger Post",
249		locale: "en-US",
250		redirect_url: "http://www.blogger.com/blog_this.pyra?t=&u=" + postUrl + "&l&n=" + postTitle,
251	  },
252	  typepad_post: {
253		title: "TypePad Post",
254		locale: "en-US",
255		redirect_url: "http://www.typepad.com/services/quickpost/post?v=2&qp_show=ac&qp_title=" + postTitle + "&qp_href=" + postUrl + "&qp_text=" + postTitle,
256	  },
257	  buffer: {
258		title: "Buffer",
259		locale: "en-US",
260		redirect_url: "http://bufferapp.com/add?url=" + postUrl + "&text=" + postTitle,
261	  },
262	  flipboard: {
263		title: "Flipboard",
264		locale: "en-US",
265		redirect_url: "https://share.flipboard.com/bookmarklet/popout?v=2&url=" + postUrl + "&title=" + postTitle,
266	  },
267	  pocket: {
268		title: "Pocket",
269		locale: "en-US",
270		redirect_url: "https://readitlaterlist.com/save?url=" + postUrl + "&title=" + postTitle,
271	  },
272	  fark: {
273		title: "Fark",
274		locale: "en-US",
275		redirect_url: "http://cgi.fark.com/cgi/fark/submit.pl?new_url=" + postUrl,
276	  },
277	  fintel: {
278		title: "Fintel",
279		locale: "en-US",
280		redirect_url: "https://fintel.io/submit?url=" + postUrl,
281	  },
282	  yummly: {
283		title: "Yummly",
284		locale: "en-US",
285		redirect_url: "http://www.yummly.com/urb/verify?url=" + postUrl + "&title=" + postTitle,
286	  },
287	  app_net: {
288		title: "App.net",
289		locale: "en-US",
290		redirect_url: "https://account.app.net/login/",
291	  },
292	  balatarin: {
293		title: "Balatarin",
294		locale: "en-US",
295		redirect_url: "https://www.balatarin.com/login",
296	  },
297	  bibSonomy: {
298		title: "BibSonomy",
299		locale: "en-US",
300		redirect_url: "http://www.bibsonomy.org/login",
301	  },
302	  Bitty_Browser: {
303		title: "Bitty Browser",
304		locale: "en-US",
305		redirect_url: "http://www.bitty.com/manual/?contenttype=&contentvalue=" + postUrl,
306	  },
307	  Blinklist: {
308		title: "Blinklist",
309		locale: "en-US",
310		redirect_url: "http://blinklist.com/blink?t=" + postTitle + "&d=&u=" + postUrl,
311	  },
312	  BlogMarks: {
313		title: "BlogMarks",
314		locale: "en-US",
315		redirect_url: "http://blogmarks.net/my/new.php?mini=1&simple=1&title=" + postTitle + "&url=" + postUrl,
316	  },
317	  Bookmarks_fr: {
318		title: "Bookmarks.fr",
319		locale: "en-US",
320		redirect_url: "http://www.bookmarks.fr/Connexion/?action=add&address=" + postUrl + "&title=" + postTitle,
321	  },
322	  BuddyMarks: {
323		title: "BuddyMarks",
324		locale: "en-US",
325		redirect_url: "http://buddymarks.com/login.php?bookmark_title=" + postTitle + "&bookmark_url=" + postUrl + "&bookmark_desc=&bookmark_tags=",
326	  },
327	  Care2_news: {
328		title: "Care2 News",
329		locale: "en-US",
330		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]=",
331	  },
332	  Diary_Ru: {
333		title: "Diary.Ru",
334		locale: "en-US",
335		redirect_url: "http://www.diary.ru/?newpost&title=" + postTitle + "&text=" + postUrl,
336	  },
337	  Folkd: {
338		title: "Folkd",
339		locale: "en-US",
340		redirect_url: "http://www.folkd.com/page/social-bookmarking.html?addurl=" + postUrl,
341	  },
342	  Hatena: {
343		title: "Hatena",
344		locale: "en-US",
345		redirect_url: "http://b.hatena.ne.jp/bookmarklet?url=" + postUrl + "&btitle=" + postTitle,
346	  },
347	  Jamespot: {
348		title: "Jamespot",
349		locale: "en-US",
350		redirect_url: "//my.jamespot.com/",
351	  },
352	  Kakao: {
353		title: "Kakao",
354		locale: "en-US",
355		redirect_url: "https://story.kakao.com/share?url=" + postUrl,
356	  },
357	  Kindle_It: {
358		title: "Kindle_It",
359		locale: "en-US",
360		redirect_url: "//fivefilters.org/kindle-it/send.php?url=" + postUrl,
361	  },
362	  Known: {
363		title: "Known",
364		locale: "en-US",
365		redirect_url: "https://withknown.com/share/?url=" + postUrl + "&title=" + postTitle,
366	  },
367	  Line: {
368		title: "Line",
369		locale: "en-US",
370		redirect_url: "https://social-plugins.line.me/lineit/share?url=" + postUrl,
371	  },
372	  LiveJournal: {
373		title: "LiveJournal",
374		locale: "en-US",
375		redirect_url: "http://www.livejournal.com/update.bml?subject=" + postTitle + "&event=" + postUrl,
376	  },
377	  Mail_Ru: {
378		title: "Mail.Ru",
379		locale: "en-US",
380		redirect_url: "https://connect.mail.ru/share?share_url=" + postUrl,
381	  },
382	  Mendeley: {
383		title: "Mendeley",
384		locale: "en-US",
385		redirect_url: "https://www.mendeley.com/sign-in/",
386	  },
387	  Meneame: {
388		title: "Meneame",
389		locale: "en-US",
390		redirect_url: "https://www.meneame.net/submit.php?url=" + postUrl,
391	  },
392	  MeWe: {
393		title: "MeWe",
394		locale: "en-US",
395		redirect_url: "https://mewe.com/share?link=" + postUrl,
396	  },
397	  Mix: {
398		title: "Mix",
399		locale: "en-US",
400		redirect_url: "https://mix.com/mixit?url=" + postUrl,
401	  },
402	  Mixi: {
403		title: "Mixi",
404		locale: "en-US",
405		redirect_url: "https://mixi.jp/share.pl?mode=login&u=" + postUrl,
406	  },
407	  MySpace: {
408		title: "MySpace",
409		locale: "en-US",
410		redirect_url: "https://myspace.com/post?u=" + encodeURIComponent(postUrl) + "&t=" + postTitle + "&l=3&c=" + postTitle,
411	  },
412	  Netvouz: {
413		title: "Netvouz",
414		locale: "en-US",
415		redirect_url: "http://www.netvouz.com/action/submitBookmark?url=" + postUrl + "&title=" + postTitle + "&popup=no&description=",
416	  },
417	  Odnoklassniki: {
418		title: "Odnoklassniki",
419		locale: "en-US",
420		redirect_url: "https://connect.ok.ru/dk?cmd=WidgetSharePreview&st.cmd=WidgetSharePreview&st.shareUrl=" + postUrl + "&st.client_id=-1",
421	  },
422	  Outlook_com: {
423		title: "Outlook.com",
424		locale: "en-US",
425		redirect_url: "https://mail.live.com/default.aspx?rru=compose?subject=" + postTitle + "&body=" + postUrl + "&lc=1033&id=64855&mkt=en-us&cbcxt=mai",
426	  },
427	  Protopage_Bookmarks: {
428		title: "Protopage_Bookmarks",
429		locale: "en-US",
430		redirect_url: "http://www.protopage.com/add-button-site?url=" + postUrl + "&label=&type=page",
431	  },
432	  Pusha: {
433		title: "Pusha",
434		locale: "en-US",
435		redirect_url: "//www.pusha.se/posta?url=" + postUrl,
436	  },
437	  Qzone: {
438		title: "Qzone",
439		locale: "en-US",
440		redirect_url: "http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=" + postUrl,
441	  },
442	  Rediff_MyPage: {
443		title: "Rediff MyPage",
444		locale: "en-US",
445		redirect_url: "//share.rediff.com/bookmark/addbookmark?bookmarkurl=" + postUrl + "&title=" + postTitle,
446	  },
447	  Renren: {
448		title: "Renren",
449		locale: "en-US",
450		redirect_url: "//www.connect.renren.com/share/sharer?url=" + postUrl + "&title=" + postTitle,
451	  },
452	  Sina_Weibo: {
453		title: "Sina Weibo",
454		locale: "en-US",
455		redirect_url: "http://service.weibo.com/share/share.php?url=" + postUrl + "&title=" + postTitle,
456	  },
457	  SiteJot: {
458		title: "SiteJot",
459		locale: "en-US",
460		redirect_url: "http://www.sitejot.com/loginform.php?iSiteAdd=&iSiteDes=",
461	  },
462	  Slashdot: {
463		title: "Slashdot",
464		locale: "en-US",
465		redirect_url: "//slashdot.org/submission?url=" + postUrl,
466	  },
467	  StockTwits: {
468		title: "StockTwits",
469		locale: "en-US",
470		redirect_url: "https://stocktwits.com/widgets/share?body=" + postTitle + " " + postUrl,
471	  },
472	  Svejo: {
473		title: "Svejo",
474		locale: "en-US",
475		redirect_url: "https://svejo.net/story/submit_by_url?url=" + postUrl + "&title=" + postTitle + "&summary=",
476	  },
477	  Symbaloo_Feeds: {
478		title: "Symbaloo_Feeds",
479		locale: "en-US",
480		redirect_url: "//www.symbaloo.com/",
481	  },
482	  Tuenti: {
483		title: "Tuenti",
484		locale: "en-US",
485		redirect_url: "https://www.tuenti.com/share?p=b5dd6602&url=" + postUrl,
486	  },
487	  Twiddla: {
488		title: "Twiddla",
489		locale: "en-US",
490		redirect_url: "//www.twiddla.com/New.aspx?url=" + postUrl + "&title=" + postTitle,
491	  },
492	  Webnews: {
493		title: "Webnews",
494		locale: "en-US",
495		redirect_url: "//www.webnews.de/login",
496	  },
497	  Wykop: {
498		title: "Wykop",
499		locale: "en-US",
500		redirect_url: "//www.wykop.pl/dodaj?url=" + postUrl + "&title=" + postTitle,
501	  },
502	  Xing: {
503		title: "Xing",
504		locale: "en-US",
505		redirect_url: "https://www.xing.com/spi/shares/new?cb=0&url=" + postUrl,
506	  },
507	  Yoolink: {
508		title: "Yoolink",
509		locale: "en-US",
510		redirect_url: "//yoolink.to/addorshare?url_value=" + postUrl + "&title=" + postTitle,
511	  }
512	};
513	var heateorSssMoreSharingServicesHtml = '<button id="heateor_sss_sharing_popup_close" class="close-button separated"><img src="'+ heateorSssCloseIconPath +'" /></button><div id="heateor_sss_sharing_more_content" data-href="'+ decodeURIComponent(postUrl) +'"><div class="filter"><input type="text" onkeyup="heateorSssFilterSharing(this.value.trim())" placeholder="Search" class="search"></div><div class="all-services"><ul class="mini">';
514	for(var i in heateorSssMoreSharingServices){
515		var tempTitle = heateorSssCapitaliseFirstLetter(heateorSssMoreSharingServices[i].title.replace(/[_. ]/g, ""));
516		heateorSssMoreSharingServicesHtml += '<li><a rel="nofollow" class="heateorSss'+i+'Share" title="'+ heateorSssMoreSharingServices[i].title +'" alt="'+ heateorSssMoreSharingServices[i].title +'" ';
517		if(heateorSssMoreSharingServices[i].bookmarklet_url){
518			heateorSssMoreSharingServicesHtml += 'href="' + heateorSssMoreSharingServices[i].bookmarklet_url + '" ';
519		}else if(heateorSssMoreSharingServices[i].redirect_url){
520			heateorSssMoreSharingServicesHtml += 'onclick="heateorSssPopup(\'' + heateorSssMoreSharingServices[i].redirect_url + '\')" href="javascript:void(0)" ';
521		}else{
522			heateorSssMoreSharingServicesHtml += 'href="javascript:void(0)" ';
523		}
524		heateorSssMoreSharingServicesHtml += '"><i style="width:22px;height:22px" title="'+ heateorSssMoreSharingServices[i].title +'" class="heateorSssSharing heateorSss' + tempTitle + 'Background"><ss style="display:block;width:100%;height:100%;" class="heateorSssSharingSvg heateorSss' + tempTitle + 'Svg"></ss></i>' + heateorSssMoreSharingServices[i].title + '</a></li>';
525	}
526	heateorSssMoreSharingServicesHtml += concate;
527	
528	var mainDiv = document.createElement('div');
529	mainDiv.innerHTML = heateorSssMoreSharingServicesHtml;
530	mainDiv.setAttribute('id', 'heateor_sss_sharing_more_providers');
531	var bgDiv = document.createElement('div');
532	bgDiv.setAttribute('id', 'heateor_sss_popup_bg');
533	jQuery('body').append(mainDiv).append(bgDiv);
534	document.getElementById('heateor_sss_popup_bg').onclick = document.getElementById('heateor_sss_sharing_popup_close').onclick = function(){
535		mainDiv.parentNode.removeChild(mainDiv);
536		bgDiv.parentNode.removeChild(bgDiv);
537	}
538}
539
540if(heateorSssHorizontalSharingCountEnable || heateorSssVerticalSharingCountEnable){
541	// get sharing counts on window load
542	heateorSssLoadEvent(
543		function(){
544			// sharing counts
545			heateorSssCallAjax(function(){
546				heateorSssGetSharingCounts();
547			});
548		}
549	);
550}
551	
552/**
553 * Search sharing services
554 */
555function heateorSssFilterSharing(val) {
556	jQuery('ul.mini li a').each(function(){
557		if (jQuery(this).text().toLowerCase().indexOf(val.toLowerCase()) != -1) {
558			jQuery(this).parent().css('display', 'block');
559		} else {
560			jQuery(this).parent().css('display', 'none');
561		}
562	});
563};
564
565var heateorSssFacebookTargetUrls = [];
566
567/**
568 * Get sharing counts
569 */
570function heateorSssGetSharingCounts(){
571	var targetUrls = [];
572	jQuery('.heateor_sss_sharing_container').each(function(){
573		if(typeof jQuery(this).attr('heateor-sss-no-counts') == 'undefined'){
574			var currentTargetUrl = jQuery(this).attr('heateor-sss-data-href');
575			if(currentTargetUrl != null && jQuery.inArray(currentTargetUrl, heateorSssUrlCountFetched) == -1){
576				targetUrls.push(currentTargetUrl);
577				heateorSssUrlCountFetched.push(currentTargetUrl);
578			}
579		}
580	});
581	
582	if(targetUrls.length == 0){
583		return;
584	}
585	jQuery.ajax({
586		type: 'GET',
587		dataType: 'json',
588		url: heateorSssSharingAjaxUrl,
589		data: {
590			action: 'heateor_sss_sharing_count',
591			urls: targetUrls,
592		},
593		success: function(data, textStatus, XMLHttpRequest){
594			if(data.status == 1){
595				if(data.facebook){
596					heateorSssFacebookTargetUrls = data.facebook_urls;
597				}
598				for(var i in data.message){
599					var sharingContainers = jQuery("div[heateor-sss-data-href='"+i+"']");
600
601					jQuery(sharingContainers).each(function(){
602						var totalCount = 0;
603						for(var j in data.message[i]){
604							var sharingCount = parseInt(data.message[i][j]) || 0;
605
606							var targetElement = jQuery(this).find('.heateor_sss_'+j+'_count');
607							
608							if(jQuery(targetElement).attr('sss_st_count')){
609								sharingCount = parseInt(sharingCount) + parseInt(jQuery(targetElement).attr('sss_st_count'));
610							}
611							totalCount += parseInt(sharingCount);
612							if(sharingCount < 1){ continue; }
613							jQuery(targetElement).html(heateorSssCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
614							if ( ( typeof heateorSssReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
615								jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('float', 'left');
616							}
617							if ( ( typeof heateorSssReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
618								jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('marginTop', '0');
619							}
620						}
621						var totalCountContainer = jQuery(this).find('.heateorSssTCBackground'), totalShares = heateorSssCalculateApproxCount(totalCount);
622						jQuery(totalCountContainer).each(function(){
623							var containerHeight = jQuery(this).css('height');
624							jQuery(this).html('<div class="heateorSssTotalShareCount" style="font-size: '+ (parseInt(containerHeight) * 62/100) +'px">' + totalShares + '</div><div class="heateorSssTotalShareText" style="font-size: '+ (parseInt(containerHeight) * 38/100) +'px">' + (totalCount == 0 || totalCount > 1 ? heateorSssSharesText : heateorSssShareText) + '</div>').css('visibility', 'visible');
625						});
626					});
627				}
628				if(heateorSssFacebookTargetUrls.length != 0){
629					heateorSssFetchFacebookShares(heateorSssFacebookTargetUrls);
630				}
631			}
632		}
633	});
634}
635
636function heateorSssFetchFacebookShares(targetUrls){
637	var loopCounter = 0;
638	for(var i in targetUrls){
639		for(var j in targetUrls[i]){
640			loopCounter++;
641			heateorSssFBShareJSONCall(targetUrls[i][j], loopCounter, targetUrls[0].length*targetUrls.length, targetUrls[0][j]);
642		}
643	}
644}
645
646function heateorSssFBShareJSONCall(targetUrl, loopCounter, targetUrlsLength, dataHref) {
647	jQuery.getJSON('//graph.facebook.com/?id=' + targetUrl, function(data){
648	    if(data.share && data.share.share_count >= 0){
649	    	var sharingContainers = jQuery("div[heateor-sss-data-href='"+dataHref+"']");
650
651			jQuery(sharingContainers).each(function(){
652				var targetElement = jQuery(this).find('.heateor_sss_facebook_count');
653				var facebookBackground = jQuery(this).find('i.heateorSssFacebookBackground');
654				var sharingCount = parseInt(data.share.share_count);
655
656				if(jQuery(targetElement).attr('sss_st_count') !== undefined){
657					sharingCount += parseInt(jQuery(targetElement).attr('sss_st_count'));
658				}
659				if(sharingCount > 0){
660					if(typeof jQuery(facebookBackground).attr('heateor-sss-fb-shares') == 'undefined'){
661						jQuery(targetElement).html(heateorSssCalculateApproxCount(sharingCount)).css({'visibility': 'visible', 'display': 'block'});
662						jQuery(facebookBackground).attr('heateor-sss-fb-shares', sharingCount);
663					}else if(typeof jQuery(facebookBackground).attr('heateor-sss-fb-shares') != 'undefined'){
664						var tempShareCount = parseInt(jQuery(facebookBackground).attr('heateor-sss-fb-shares'));
665						jQuery(facebookBackground).attr('heateor-sss-fb-shares', sharingCount + tempShareCount);
666						jQuery(targetElement).html(heateorSssCalculateApproxCount(sharingCount + tempShareCount));
667					}
668
669					if ( ( typeof heateorSssReduceHorizontalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgWidth != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
670						jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('float', 'left');
671					}
672					if ( ( typeof heateorSssReduceHorizontalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_horizontal_sharing') ) || ( typeof heateorSssReduceVerticalSvgHeight != 'undefined' && jQuery(this).hasClass('heateor_sss_vertical_sharing') ) ) {
673						jQuery(targetElement).parents('li').find('.heateorSssSharingSvg').css('marginTop', '0');
674					}
675					
676					var totalCountContainer = jQuery(this).find('.heateorSssTCBackgroun
676d');
677					jQuery(totalCountContainer).each(function(){
678						var totalShareCountElem = jQuery(this).find('.heateorSssTotalShareCount');
679						var totalShareCount = jQuery(totalShareCountElem).text();
680						var newTotalCount = heateorSssCalculateActualCount(totalShareCount) + sharingCount;
681						jQuery(totalShareCountElem).text(heateorSssCalculateApproxCount(newTotalCount));
682						jQuery(this).find('.heateorSssTotalShareText').text(newTotalCount == 0 || newTotalCount > 1 ? heateorSssSharesText : heateorSssShareText);
683					});
684				}
685			});
686		}
687		
688		if(loopCounter == targetUrlsLength){
689			setTimeout(function(){
690				var facebookShares = {};
691				for(var i in heateorSssFacebookTargetUrls[0]){
692					var sharingContainers = jQuery("div[heateor-sss-data-href='"+heateorSssFacebookTargetUrls[0][i]+"']");
693					jQuery(sharingContainers).each(function(){
694						var facebookCountElement = jQuery(this).find('.heateor_sss_facebook_count');
695						var facebookCountElementBg = jQuery(this).find('i.heateorSssFacebookBackground');
696						var shareCountString = typeof jQuery(facebookCountElementBg).attr('heateor-sss-fb-shares') != 'undefined' ? jQuery(facebookCountElementBg).attr('heateor-sss-fb-shares').trim() : '';
697						if(shareCountString != ''){
698							var shareCount = parseInt(heateorSssCalculateActualCount(shareCountString));
699							if(jQuery(facebookCountElement).attr('sss_st_count') !== undefined){
700								var startingCount = parseInt(jQuery(facebookCountElement).attr('sss_st_count').trim());
701								shareCount = Math.abs(shareCount - startingCount);
702							}
703							facebookShares[heateorSssFacebookTargetUrls[0][i]] = shareCount;
704							return;
705						}
706					});
707				}
708				if(!jQuery.isEmptyObject(facebookShares)){
709					heateorSssSaveFacebookShares(facebookShares);
710				}
711			}, 1000);
712		}
713	});
714}
715
716function heateorSssSaveFacebookShares(facebookShares){
717	jQuery.ajax({
718		type: 'GET',
719		dataType: 'json',
720		url: heateorSssSharingAjaxUrl,
721		data: {
722			action: 'heateor_sss_save_facebook_shares',
723			share_counts: facebookShares,
724		},
725		success: function(data, textStatus, XMLHttpRequest){}
726	});
727}
728
729function heateorSssCalculateApproxCount(sharingCount){
730	// round to one decimal
731	if(sharingCount > 999 && sharingCount < 10000){
732		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
733	}else if(sharingCount > 9999 && sharingCount < 100000){
734		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
735	}else if(sharingCount > 99999 && sharingCount < 1000000){
736		sharingCount = (Math.round(sharingCount/100))/10 + 'K';
737	}else if(sharingCount > 999999){
738		sharingCount = (Math.round(sharingCount/100000))/10 + 'M';
739	}
740	return sharingCount;
741}
742
743function heateorSssCalculateActualCount(sharingCount){
744	if(sharingCount.indexOf('K') > 0){
745		sharingCount = sharingCount.replace('K', '') * 1000;
746	}else if(sharingCount.indexOf('M') > 0){
747		sharingCount = sharingCount.replace('M', '') * 1000000;
748	}
749	return parseInt(sharingCount);
750}
751
752function heateorSssCapitaliseFirstLetter(e) {
753    return e.charAt(0).toUpperCase() + e.slice(1)
754}
755
756jQuery(function(){
757	var heateorSssWhatsappJSAPI = heateorSssDetermineWhatsappShareAPI(false);
758	var classes = ['heateor_sss_vertical_sharing', 'heateor_sss_vertical_counter'];
759	for(var i = 0; i < classes.length; i++){
760		if(jQuery('.' + classes[i]).length){
761			jQuery('.' + classes[i]).each(function(){
762				var verticalSharingHtml = jQuery(this).html();
763				if(jQuery(this).attr('style').indexOf('right') >= 0){
764					var removeClass = 'heateorSssPushIn', margin = 'Right', alignment = 'right', addClass = 'heateorSssPullOut';
765				}else{
766					var removeClass = 'heateorSssPullOut', margin = 'Left', alignment = 'left', addClass = 'heateorSssPushIn';
767				}
768				jQuery(this).html(verticalSharingHtml + '<div title="Hide" style="float:' + alignment + '" onclick="heateorSssHideSharing(this, \''+ removeClass +'\', \''+ addClass +'\',\'' + margin +'\', \'' + alignment + '\')" class="heateorSssSharingArrow ' + removeClass + '"></div>');
769			});
770		}
771	}
772	if(heateorSssMobileStickySharingEnabled == 1){
773		if(jQuery('div.heateor_sss_vertical_sharing').length){
774			// insert div before </body>
775			jQuery(document.body).append("<div class='heateor_sss_mobile_footer'></div>");
776		}
777	}
778
779	var heateorSssClipboard = new ClipboardJS('.heateorSssCopyLinkBackgroun
779d, .heateorSssCopyLinkShare, .heateorSssCopyLinkSvg', {
780		text: function(trigger) {
781			if(jQuery(trigger).hasClass('heateorSssCopyLinkShare')){
782				var element = trigger.parentElement.parentElement.parentElement.parentElement;
783				var url = jQuery(element).attr("data-href") || "";
784			}else if(jQuery(trigger).hasClass('heateorSssCopyLinkSvg')){
785                var element = trigger.parentElement.parentElement.parentElement.parentElement;
786                var url = jQuery(element).attr("heateor-sss-data-href") || "";
787                if(!url){
788                    var element = trigger.parentElement.parentElement.parentElement.parentElement.parentElement.parentElement;
789                    var url = jQuery(element).attr("data-href") || "";
790                }
791            }
792			return url;
793		}
794	});
795	heateorSssClipboard.on('success', function(e) {
796        alert(heateorSssCopyLinkMessage);
797    });
798});
799
800function heateorSssHideSharing(elem, removeClass, addClass, margin, alignment){
801	var animation = {}, counter = jQuery(elem).parent().hasClass('heateor_sss_vertical_counter'), offset = parseInt(jQuery(elem).parent().css('width')) + 10 - (counter ? 16 : 0);
802	var ssOffset = jQuery(elem).parent().attr('ss-offset');
803	if(ssOffset){
804		var savedOffset = parseInt(ssOffset);
805	}else{
806		var savedOffset = (counter ? heateorSssCounterOffset : heateorSssSharingOffset);
807	}
808	if(jQuery(elem).attr('title') == 'Hide'){
809		animation[alignment] = "-=" + (offset + savedOffset);
810		jQuery(elem).parent().animate(animation, 400, function(){
811			jQuery(elem).removeClass(removeClass).addClass(addClass).attr('title', 'Share');
812			if(counter){
813				var cssFloat = alignment == 'left' ? 'right' : 'left';
814				jQuery(elem).css('float', cssFloat);
815			}else{
816				jQuery(elem).css('margin' + margin, offset + 'px')
817			}
818		});
819	}else{
820		animation[alignment] = "+=" + (offset + savedOffset); 
821		jQuery(elem).parent().animate(animation, 400, function(){
822			jQuery(elem).removeClass(addClass).addClass(removeClass).attr('title', 'Hide');
823			if(counter){
824				jQuery(elem).css('float', alignment);
825			}else{
826				jQuery(elem).css('margin' + margin, '0px');
827			}
828		});
829	}
830}
831
832/*!
833 * clipboard.js v2.0.6
834 * https://clipboardjs.com/
835 * 
836 * Licensed MIT © Zeno Rocha
837 */
838!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 838
838else{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}
838,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.