vendor: 10,665 bytes, lines 1-8
1 2/*! 3 * shariff-plus - v2.3.2 - Fri, 18 Apr 2025 12:13:28 GMT 4 * https://www.richard-fath.de/en/software/shariff-plus.html 5 * Copyright (c) 2025 Richard Fath (shariff-plus), Ines Pauer (shariff), Philipp Busse (shariff), Sebastian Hilbig (shariff), Erich Kramer (shariff), Deniz Sesli (shariff) 6 * Licensed under the MIT license 7 */ 8!function(e){function t(r){if(a[r])return a[r].exports;var i=a[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var a={};t.m=e,t.c=a,t.d=function(e,a,r){t.o(e,a)||Object.defineProperty(e,a,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(a,"a",a),a},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=2)}([function(e,t,a){"use strict";function r(){this.protocol=null,this.slashes=null,this.auth=null,this.host=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.query=null,this.pathname=null,this.path=null,this.href=null}function i(e,t,a){if(e&&p.isObject(e)&&e instanceof r)return e;var i=new r;return i.parse(e,t,a),i}function n(e){return p.isString(e)&&(e=i(e)),e instanceof r?e.format():r.prototype.format.call(e)}function o(e,t){return i(e,!1,!0).resolve(t)}function s(e,t){return e?i(e,!1,!0).resolveObject(t):t}var l=a(10),p=a(12);t.parse=i,t.resolve=o,t.resolveObject=s,t.format=n,t.Url=r;var u=/^([a-z0-9.+-]+:)/i,d=/:[0-9]*$/,h=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,c=["<",">",'"',"`"," ","\r","\n","\t"],f=["{","}","|","\\","^","`"].concat(c),m=["'"].concat(f),b=["%","/","?",";","#"].concat(m),g=["/","?","#"],k=/^[+a-z0-9A-Z_-]{0,63}$/,v=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,j={javascript:!0,"javascript:":!0},z={javascript:!0,"javascript:":!0},y={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0},P=a(13);r.prototype.parse=function(e,t,a){if(!p.isString(e))throw new TypeError("Parameter 'url' must be a string, not "+typeof e);var r=e.indexOf("?"),i=-1!==r&&r<e.indexOf("#")?"?":"#",n=e.split(i),o=/\\/g;n[0]=n[0].replace(o,"/"),e=n.join(i);var s=e;if(s=s.trim(),!a&&1===e.split("#").length){var d=h.exec(s);if(d)return this.path=s,this.href=s,this.pathname=d[1],d[2]?(this.search=d[2],this.query=t?P.parse(this.search.substr(1)):this.search.substr(1)):t&&(this.search="",this.query={}),this}var c=u.exec(s);if(c){c=c[0];var f=c.toLowerCase();this.protocol=f,s=s.substr(c.length)}if(a||c||s.match(/^\/\/[^@\/]+@[^@\/]+/)){var w="//"===s.substr(0,2);!w||c&&z[c]||(s=s.substr(2),this.slashes=!0)}if(!z[c]&&(w||c&&!y[c])){for(var x=-1,C=0;C<g.length;C++){var U=s.indexOf(g[C]);-1!==U&&(-1===x||U<x)&&(x=U)}var T,S;S=-1===x?s.lastIndexOf("@"):s.lastIndexOf("@",x),-1!==S&&(T=s.slice(0,S),s=s.slice(S+1),this.auth=decodeURIComponent(T)),x=-1;for(var C=0;C<b.length;C++){var U=s.indexOf(b[C]);-1!==U&&(-1===x||U<x)&&(x=U)}-1===x&&(x=s.length),this.host=s.slice(0,x),s=s.slice(x),this.parseHost(),this.hostname=this.hostname||"";var I="["===this.hostname[0]&&"]"===this.hostname[this.hostname.length-1];if(!I)for(var R=this.hostname.split(/\./),C=0,D=R.length;C<D;C++){var F=R[C];if(F&&!F.match(k)){for(var L="",N=0,O=F.length;N<O;N++)F.charCodeAt(N)>127?L+="x":L+=F[N];if(!L.match(k)){var X=R.slice(0,C),M=R.slice(C+1),q=F.match(v);q&&(X.push(q[1]),M.unshift(q[2])),M.length&&(s="/"+M.join(".")+s),this.hostname=X.join(".");break}}}this.hostname.length>255?this.hostname="":this.hostname=this.hostname.toLowerCase(),I||(this.hostname=l.toASCII(this.hostname));var J=this.port?":"+this.port:"",V=this.hostname||"";this.host=V+J,this.href+=this.host,I&&(this.hostname=this.hostname.substr(1,this.hostname.length-2),"/"!==s[0]&&(s="/"+s))}if(!j[f])for(var C=0,D=m.length;C<D;C++){var G=m[C];if(-1!==s.indexOf(G)){var W=encodeURIComponent(G);W===G&&(W=escape(G)),s=s.split(G).join(W)}}var B=s.indexOf("#");-1!==B&&(this.hash=s.substr(B),s=s.slice(0,B));var Z=s.indexOf("?");if(-1!==Z?(this.search=s.substr(Z),this.query=s.substr(Z+1),t&&(this.query=P.parse(this.query)),s=s.slice(0,Z)):t&&(this.search="",this.query={}),s&&(this.pathname=s),y[f]&&this.hostname&&!this.pathname&&(this.pathname="/"),this.pathname||this.search){var J=this.pathname||"",A=this.search||"";this.path=J+A}return this.href=this.format(),this},r.prototype.format=function(){var e=this.auth||"";e&&(e=encodeURIComponent(e),e=e.replace(/%3A/i,":"),e+="@");var t=this.protocol||"",a=this.pathname||"",r=this.hash||"",i=!1,n="";this.host?i=e+this.host:this.hostname&&(i=e+(-1===this.hostname.indexOf(":")?this.hostname:"["+this.hostname+"]"),this.port&&(i+=":"+this.port)),this.query&&p.isObject(this.query)&&Object.keys(this.query).length&&(n=P.stringify(this.query));var o=this.search||n&&"?"+n||"";return t&&":"!==t.substr(-1)&&(t+=":"),this.slashes||(!t||y[t])&&!1!==i?(i="//"+(i||""),a&&"/"!==a.charAt(0)&&(a="/"+a)):i||(i=""),r&&"#"!==r.charAt(0)&&(r="#"+r),o&&"?"!==o.charAt(0)&&(o="?"+o),a=a.replace(/[?#]/g,function(e){return encodeURIComponent(e)}),o=o.replace("#","%23"),t+i+a+o+r},r.prototype.resolve=function(e){return this.resolveObject(i(e,!1,!0)).format()},r.prototype.resolveObject=function(e){if(p.isString(e)){var t=new r;t.parse(e,!1,!0),e=t}for(var a=new r,i=Object.keys(this),n=0;n<i.length;n++){var o=i[n];a[o]=this[o]}if(a.hash=e.hash,""===e.href)return a.href=a.format(),a;if(e.slashes&&!e.protocol){for(var s=Object.keys(e),l=0;l<s.length;l++){var u=s[l];"protocol"!==u&&(a[u]=e[u])}return y[a.protocol]&&a.hostname&&!a.pathname&&(a.path=a.pathname="/"),a.href=a.format(),a}if(e.protocol&&e.protocol!==a.protocol){if(!y[e.protocol]){for(var d=Object.keys(e),h=0;h<d.length;h++){var c=d[h];a[c]=e[c]}return a.href=a.format(),a}if(a.protocol=e.protocol,e.host||z[e.protocol])a.pathname=e.pathname;else{for(var f=(e.pathname||"").split("/");f.length&&!(e.host=f.shift()););e.host||(e.host=""),e.hostname||(e.hostname=""),""!==f[0]&&f.unshift(""),f.length<2&&f.unshift(""),a.pathname=f.join("/")}if(a.search=e.search,a.query=e.query,a.host=e.host||"",a.auth=e.auth,a.hostname=e.hostname||e.host,a.port=e.port,a.pathname||a.search){var m=a.pathname||"",b=a.search||"";a.path=m+b}return a.slashes=a.slashes||e.slashes,a.href=a.format(),a}var g=a.pathname&&"/"===a.pathname.charAt(0),k=e.host||e.pathname&&"/"===e.pathname.charAt(0),v=k||g||a.host&&e.pathname,j=v,P=a.pathname&&a.pathname.split("/")||[],f=e.pathname&&e.pathname.split("/")||[],w=a.protocol&&!y[a.protocol];if(w&&(a.hostname="",a.port=null,a.host&&(""===P[0]?P[0]=a.host:P.unshift(a.host)),a.host="",e.protocol&&(e.hostname=null,e.port=null,e.host&&(""===f[0]?f[0]=e.host:f.unshift(e.host)),e.host=null),v=v&&(""===f[0]||""===P[0])),k)a.host=e.host||""===e.host?e.host:a.host,a.hostname=e.hostname||""===e.hostname?e.hostname:a.hostname,a.search=e.search,a.query=e.query,P=f;else if(f.length)P||(P=[]),P.pop(),P=P.concat(f),a.search=e.search,a.query=e.query;else if(!p.isNullOrUndefined(e.search)){if(w){a.hostname=a.host=P.shift();var x=!!(a.host&&a.host.indexOf("@")>0)&&a.host.split("@");x&&(a.auth=x.shift(),a.host=a.hostname=x.shift())}return a.search=e.search,a.query=e.query,p.isNull(a.pathname)&&p.isNull(a.search)||(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.href=a.format(),a}if(!P.length)return a.pathname=null,a.search?a.path="/"+a.search:a.path=null,a.href=a.format(),a;for(var C=P.slice(-1)[0],U=(a.host||e.host||P.length>1)&&("."===C||".."===C)||""===C,T=0,S=P.length;S>=0;S--)C=P[S],"."===C?P.splice(S,1):".."===C?(P.splice(S,1),T++):T&&(P.splice(S,1),T--);if(!v&&!j)for(;T--;T)P.unshift("..");!v||""===P[0]||P[0]&&"/"===P[0].charAt(0)||P.unshift(""),U&&"/"!==P.join("/").substr(-1)&&P.push("");var I=""===P[0]||P[0]&&"/"===P[0].charAt(0);if(w){a.hostname=a.host=I?"":P.length?P.shift():"";var x=!!(a.host&&a.host.indexOf("@")>0)&&a.host.split("@");x&&(a.auth=x.shift(),a.host=a.hostname=x.shift())}return v=v||a.host&&P.length,v&&!I&&P.unshift(""),P.length?a.pathname=P.join("/"):(a.pathname=null,a.path=null),p.isNull(a.pathname)&&p.isNull(a.search)||(a.path=(a.pathname?a.pathname:"")+(a.search?a.search:"")),a.auth=e.auth||a.auth,a.slashes=a.slashes||e.slashes,a.href=a.format(),a},r.prototype.parseHost=function(){var e=this.host,t=d.exec(e);t&&(t=t[0],":"!==t&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)}},function(e,t){var a;a=function(){return this}();try{a=a||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(a=window)}e.exports=a},function(e,t,a){"use strict";a(3),e.exports=a(4)},function(e,t){},function(e,t,a){"use strict";(function(t){function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n=function(){function e(e,t){for(var a=0;a<t.length;a++){var r=t[a];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,a,r){return a&&e(t.prototype,a),r&&e(t,r),t}}(),o=a(5),s=a(6),l=a(0),p=document.currentScript||document.querySelector('script[src$="shariff.js"]')||document.querySelector('script[src$="shariff.min.js"]'),u=p?p.src.split("/").slice(0,-1).join("/"):"",d={theme:"color",backendUrl:null,infoUrl:"https://www.richard-fath.de/de/software/shariff-plus.html",infoDisplay:"blank",lang:"de",langFallback:"en",mailUrl:function(){var e=l.parse(this.getURL(),!0);return e.query.view="mail",delete e.search,l.format(e)},mailBody:function(){return this.getURL()},mediaUrl:null,orientation:"horizontal",buttonStyle:"standard",referrerTrack:null,services:["twitter","facebooklike","facebook","info"],dialogsMediaUrl:u,facebookCountBtn:"like",facebooklikeCss:"facebooklike_dlg.css",facebooklikeOptions:{width:450,layout:"standard",action:"like",size:"large",show_faces:!0,share:!0,appId:null},title:t.document.title,twitterVia:null,url:function(){var e=t.document.location.href,a=o("link[rel=canonical]").attr("href")||this.getMeta("og:url")||"";return a.length>0&&(a.indexOf("http")<0&&(a=0!==a.indexOf("//")?t.document.location.protocol+"//"+t.document.location.host+a:t.document.location.protocol+a),e=a),e}},h=function(){function e(t,a){var i=this;r(this,e),this.element=t,o(t).empty(),this.options=o.extend({},d,a,o(t).data()),this.services=Object.keys(s).filter(function(e){return i.isEnabledService(e)}).sort(function(e,t){var a=i.options.services;return a.indexOf(e)-a.indexOf(t)}).map(function(e){return s[e](i)}),this._addButtonList(),null!==this.options.backendUrl&&"icon"!==this.options.buttonStyle&&this.get
8Shares(this._updateCounts.bind(this))}return n(e,[{key:"isEnabledService",value:function(e){return this.options.services.indexOf(e)>-1}},{key:"$socialshareElement",value:function(){return o(this.element)}},{key:"getLocalized",value:function(e,t){return"object"===i(e[t])?void 0===e[t][this.options.lang]?e[t][this.options.langFallback]:e[t][this.options.lang]:"string"==typeof e[t]?e[t]:void 0}},{key:"getMeta",value:function(e){return o('meta[name="'+e+'"],[property="'+e+'"]').attr("content")||""}},{key:"getInfoUrl",value:function(){return this.options.infoUrl}},{key:"getInfoDisplayPopup",value:function(){return"popup"===this.options.infoDisplay}},{key:"getInfoDisplayBlank",value:function(){return"popup"!==this.options.infoDisplay&&"self"!==this.options.infoDisplay}},{key:"getURL",value:function(){return this.getOption("url")}},{key:"getOption",value:function(e){var t=this.options[e];return"function"==typeof t?t.call(this):t}},{key:"getTitle",value:function(){var e=this.getOption("title");if(o(this.element).data().title)return e;e=e||this.getMeta("DC.title");var t=this.getMeta("DC.creator");return e&&t?e+" - "+t:e}},{key:"getReferrerTrack",value:function(){return this.options.referrerTrack||""}},{key:"getShares",value:function(e){var t=l.parse(this.options.backendUrl,!0);return t.query.url=this.getURL(),delete t.search,o.getJSON(l.format(t),e)}},{key:"getDialogsMediaUrl",value:function(){return this.options.dialogsMediaUrl||""}},{key:"getFacebooklikeCss",value:function(){return this.options.facebooklikeCss}},{key:"getFacebooklikeOptions",value:function(){return this.options.facebooklikeOptions}},{key:"_updateCounts",value:function(e,t,a){var r=this;if(e){var i=null;o.each(e,function(e,t){t>=1e3&&(t=Math.round(t/1e3)+"k");var a=!0;"facebook"===e&&(i=t,"like"===r.options.facebookCountBtn&&(a=!1)),r.isEnabledService(e)&&a&&o(r.element).find("."+e+" a").append(o("<span/>").addClass("share_count").text(t))}),this.isEnabledService("facebooklike")&&null!==i&&"share"!==this.options.facebookCountBtn&&o(this.element).find(".facebooklike a").append(o("<span/>").addClass("share_count").text(i))}}},{key:"_addButtonList",value:function(){var e=this,a=o("<ul/>").addClass(["theme-"+this.options.theme,"orientation-"+this.options.orientation,"button-style-"+this.options.buttonStyle,"shariff-col-"+this.options.services.length].join(" ")),r=[];this.services.forEach(function(t){var i=o("<li/>").addClass("shariff-button "+t.name),n=o("<a/>").attr("href",t.shareUrl);if("standard"===e.options.buttonStyle){var s=o("<span/>").addClass("share_text").text(e.getLocalized(t,"shareText"));n.append(s)}void 0!==t.faPrefix&&void 0!==t.faName&&n.prepend(o("<span/>").addClass(t.faPrefix+" "+t.faName)),t.shareUrl.match(/javascript:/)&&void 0!==t.dialogHtml&&(n.attr("data-dlg-idx",r.length),r[r.length]=t),t.popup?(n.attr("data-rel","popup"),"info"!==t.name&&n.attr("rel","nofollow")):t.blank?(n.attr("target","_blank"),"info"===t.name?n.attr("rel","noopener noreferrer"):n.attr("rel","nofollow noopener noreferrer")):"info"!==t.name&&n.attr("rel","nofollow"),n.attr("title",e.getLocalized(t,"title")),n.attr("role","button"),n.attr("aria-label",e.getLocalized(t,"title")),i.append(n),i.on("click","li",function(e){i.trigger("shariff-share",t)}),a.append(i)}),a.on("click",'[data-rel="popup"]',function(e){e.preventDefault();var a=o(this).attr("href");if(a.match(/twitter\.com\/intent\/(\w+)/)){var i=t.window;if(i.__twttr&&i.__twttr.widgets&&i.__twttr.widgets.loaded)return}var n=o(this).attr("data-dlg-idx");if(n&&!isNaN(n)&&void 0!==r[n].dialogHtml){var s=o(this).attr("title"),l='<meta name="viewport" content="width=device-width, initial-scale=1.0"><title>'+s+"</title>";void 0!==r[n].dialogCssUrl&&r[n].dialogCssUrl&&(l+='<link rel="stylesheet" href="'+r[n].dialogCssUrl+'">');var p=t.window.open("","_blank","width=600,height=460");return p.document.head.innerHTML=l,void(p.document.body.innerHTML=r[n].dialogHtml)}t.window.open(a,"_blank","width=600,height=460")}),this.$socialshareElement().append(a)}}]),e}();e.exports=h,t.Shariff=h,o(function(){o(".shariff").each(function(){this.hasOwnProperty("shariff")||(this.shariff=new h(this))})})}).call(t,a(1))},function(e,t){e.exports=jQuery},function(e,t,a){"use strict";e.exports={buffer:a(7),clipboard:a(8),diaspora:a(9),facebook:a(16),facebooklike:a(17),fediverse:a(18),flipboard:a(19),info:a(20),linkedin:a(21),mail:a(22),pinterest:a(23),pocket:a(24),print:a(25),qzone:a(26),reddit:a(27),stumbleupon:a(28),telegram:a(29),tencent:a(30),threema:a(31),tumblr:a(32),twitter:a(33),vk:a(34),weibo:a(35),whatsapp:a(36),xing:a(37)}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"buffer",faPrefix:"fab",faName:"fa-buffer",title:{bg:"Сподели в buffer",cs:"SdÃlet na buffer",da:"Del pÃ¥ buffer",de:"Bei buffer teilen",en:"Share on buffer",es:"Compartir en buffer",fi:"Jaa bufferissä",fr:"Partager sur buffer",hr:"Podijelite na buffer",hu:"Megosztás bufferen",it:"Condividi su buffer",ja:"bufferä¸ã§å
±æ",ko:"bufferìì ê³µì í기",nl:"Delen op buffer",no:"Del pÃ¥ buffer",pl:"UdostÄpnij przez buffer",pt:"Compartilhar no buffer",ro:"PartajeazÄ pe buffer",ru:"ÐоделиÑÑÑÑ Ð½Ð° buffer",sk:"ZdieľaÅ¥ na buffer",sl:"Deli na buffer",sr:"Podeli na buffer",sv:"Dela pÃ¥ buffer",tr:"buffer'ta payla
8Å",zh:"å¨bufferä¸å享"},shareUrl:"https://buffer.com/add?text="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!1,shareText:{bg:"",cs:"",da:"",de:"kopieren",en:"clipboard",es:"",fi:"",fr:"",hr:"",hu:"",it:"",ja:"",ko:"",nl:"",no:"",pl:"",pt:"",ro:"",ru:"",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},name:"clipboard",faPrefix:"far",faName:"fa-copy",title:{bg:"",cs:"",da:"",de:"In die Zwischenablage kopieren",en:"Copy to clipboard",es:"",fi:"",fr:"",hr:"",hu:"",it:"",ja:"",ko:"",nl:"",no:"",pl:"",pt:"",ro:"",ru:"",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},shareUrl:'javascript:var d = document.createElement("input");document.body.appendChild(d);d.value = "'+e.getURL()+'";d.select();d.setSelectionRange(0, 99999);document.execCommand("copy");document.body.removeChild(d);'}}},function(e,t,a){"use strict";var r=a(0);e.exports=function(e){var t=r.parse("https://share.diasporafoundation.org/",!0);return t.query.url=e.getURL(),t.query.title=e.getTitle(),t.protocol="https",delete t.search,{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"diaspora",faPrefix:"fas",faName:"fa-asterisk",title:{bg:"Сподели в diaspora*",cs:"SdÃlet na diaspora*",da:"Del pÃ¥ diaspora*",de:"Bei diaspora* teilen",en:"Share on diaspora*",es:"Compartir en diaspora*",fi:"Jaa Diasporaissä",fr:"Partager sur diaspora*",hr:"Podijelite na diaspora*",hu:"Megosztás diaspora*",it:"Condividi su diaspora*",ja:"diaspora*ä¸ã§å
±æ",ko:"diaspora*ìì ê³µì í기",nl:"Delen op diaspora*",no:"Del pÃ¥ diaspora*",pl:"UdostÄpnij przez diaspora*",pt:"Compartilhar no diaspora*",ro:"PartajeazÄ pe diaspora*",ru:"ÐоделиÑÑÑÑ Ð½Ð° diaspora*",sk:"ZdieľaÅ¥ na diaspora*",sl:"Deli na diaspora*",sr:"Podeli na diaspora*-u",sv:"Dela pÃ¥ diaspora*",tr:"diaspora*'ta paylaÅ",zh:"å享è³diaspora*"},shareUrl:r.format(t)+e.getReferrerTrack()}}},function(e,t,a){(function(e,r){var i;!function(r){function n(e){throw new RangeError(I[e])}function o(e,t){for(var a=e.length,r=[];a--;)r[a]=t(e[a]);return r}function s(e,t){var a=e.split("@"),r="";return a.length>1&&(r=a[0]+"@",e=a[1]),e=e.replace(S,"."),r+o(e.split("."),t).join(".")}function l(e){for(var t,a,r=[],i=0,n=e.length;i<n;)t=e.charCodeAt(i++),t>=55296&&t<=56319&&i<n?(a=e.charCodeAt(i++),56320==(64512&a)?r.push(((1023&t)<<10)+(1023&a)+65536):(r.push(t),i--)):r.push(t);return r}function p(e){return o(e,function(e){var t="";return e>65535&&(e-=65536,t+=F(e>>>10&1023|55296),e=56320|1023&e),t+=F(e)}).join("")}function u(e){return e-48<10?e-22:e-65<26?e-65:e-97<26?e-97:v}function d(e,t){return e+22+75*(e<26)-((0!=t)<<5)}function h(e,t,a){var r=0;for(e=a?D(e/P):e>>1,e+=D(e/t);e>R*z>>1;r+=v)e=D(e/R);return D(r+(R+1)*e/(e+y))}function c(e){var t,a,r,i,o,s,l,d,c,f,m=[],b=e.length,g=0,y=x,P=w;for(a=e.lastIndexOf(C),a<0&&(a=0),r=0;r<a;++r)e.charCodeAt(r)>=128&&n("not-basic"),m.push(e.charCodeAt(r));for(i=a>0?a+1:0;i<b;){for(o=g,s=1,l=v;i>=b&&n("invalid-input"),d=u(e.charCodeAt(i++)),(d>=v||d>D((k-g)/s))&&n("overflow"),g+=d*s,c=l<=P?j:l>=P+z?z:l-P,!(d<c);l+=v)f=v-c,s>D(k/f)&&n("overflow"),s*=f;t=m.length+1,P=h(g-o,t,0==o),D(g/t)>k-y&&n("overflow"),y+=D(g/t),g%=t,m.splice(g++,0,y)}return p(m)}function f(e){var t,a,r,i,o,s,p,u,c,f,m,b,g,y,P,U=[];for(e=l(e),b=e.length,t=x,a=0,o=w,s=0;s<b;++s)(m=e[s])<128&&U.push(F(m));for(r=i=U.length,i&&U.push(C);r<b;){for(p=k,s=0;s<b;++s)(m=e[s])>=t&&m<p&&(p=m);for(g=r+1,p-t>D((k-a)/g)&&n("overflow"),a+=(p-t)*g,t=p,s=0;s<b;++s)if(m=e[s],m<t&&++a>k&&n("overflow"),m==t){for(u=a,c=v;f=c<=o?j:c>=o+z?z:c-o,!(u<f);c+=v)P=u-f,y=v-f,U.push(F(d(f+P%y,0))),u=D(P/y);U.push(F(d(u,0))),o=h(a,g,r==i),a=0,++r}++a,++t}return U.join("")}function m(e){return s(e,function(e){return U.test(e)?c(e.slice(4).toLowerCase()):e})}function b(e){return s(e,function(e){return T.test(e)?"xn--"+f(e):e})}var g,k=("object"==typeof t&&t&&t.nodeType,"object"==typeof e&&e&&e.nodeType,2147483647),v=36,j=1,z=26,y=38,P=700,w=72,x=128,C="-",U=/^xn--/,T=/[^\x20-\x7E]/,S=/[\x2E\u3002\uFF0E\uFF61]/g,I={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >
8= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=v-j,D=Math.floor,F=String.fromCharCode;g={version:"1.4.1",ucs2:{decode:l,encode:p},decode:c,encode:f,toASCII:b,toUnicode:m},void 0!==(i=function(){return g}.call(t,a,t,e))&&(e.exports=i)}()}).call(t,a(11)(e),a(1))},function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},function(e,t,a){"use strict";e.exports={isString:function(e){return"string"==typeof e},isObject:function(e){return"object"==typeof e&&null!==e},isNull:function(e){return null===e},isNullOrUndefined:function(e){return null==e}}},function(e,t,a){"use strict";t.decode=t.parse=a(14),t.encode=t.stringify=a(15)},function(e,t,a){"use strict";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,a,n){t=t||"&",a=a||"=";var o={};if("string"!=typeof e||0===e.length)return o;var s=/\+/g;e=e.split(t);var l=1e3;n&&"number"==typeof n.maxKeys&&(l=n.maxKeys);var p=e.length;l>0&&p>l&&(p=l);for(var u=0;u<p;++u){var d,h,c,f,m=e[u].replace(s,"%20"),b=m.indexOf(a);b>=0?(d=m.substr(0,b),h=m.substr(b+1)):(d=m,h=""),c=decodeURIComponent(d),f=decodeURIComponent(h),r(o,c)?i(o[c])?o[c].push(f):o[c]=[o[c],f]:o[c]=f}return o};var i=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},function(e,t,a){"use strict";function r(e,t){if(e.map)return e.map(t);for(var a=[],r=0;r<e.length;r++)a.push(t(e[r],r));return a}var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,a,s){return t=t||"&",a=a||"=",null===e&&(e=void 0),"object"==typeof e?r(o(e),function(o){var s=encodeURIComponent(i(o))+a;return n(e[o])?r(e[o],function(e){return s+encodeURIComponent(i(e))}).join(t):s+encodeURIComponent(i(e[o]))}).join(t):s?encodeURIComponent(i(s))+a+encodeURIComponent(i(e)):""};var n=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)},o=Object.keys||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.push(a);return t}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"facebook",faPrefix:"fab",faName:"fa-facebook-f",title:{bg:"Сподели вÑв Facebook",cs:"SdÃlet na Facebooku",da:"Del pÃ¥ Facebook",de:"Bei Facebook teilen",en:"Share on Facebook",es:"Compartir en Facebook",fi:"Jaa Facebookissa",fr:"Partager sur Facebook",hr:"Podijelite na Facebooku",hu:"Megosztás Facebookon",it:"Condividi su Facebook",ja:"ãã§ã¤ã¹ããã¯ä¸ã§å
±æ",ko:"íì´ì¤ë¶ìì ê³µì í기",nl:"Delen op Facebook",no:"Del pÃ¥ Facebook",pl:"UdostÄpnij na Facebooku",pt:"Compartilhar no Facebook",ro:"PartajeazÄ pe Facebook",ru:"ÐоделиÑÑÑÑ Ð½Ð° Facebook",sk:"ZdieľaÅ¥ na Facebooku",sl:"Deli na Facebooku",sr:"Podeli na Facebook-u",sv:"Dela pÃ¥ Facebook",tr:"Facebook'ta paylaÅ",zh:"å¨Facebookä¸å享"},shareUrl:"https://www.facebook.com/sharer/sharer.php?u="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=e.getURL(),a=e.getTitle(),r=e.getOption("lang"),i="Close",n="https://www.facebook.com/plugins/like.php?href="+encodeURIComponent(t)+e.getReferrerTrack(),o=65,s=47,l=103,p='<div><h1 class="dialogtitle">',u=e.getFacebooklikeOptions();switch(r){case"bg":i="Ðлизо";break;case"cs":i="ZavÅÃt";break;case"da":i="Luk";break;case"de":i="SchlieÃen";break;case"es":i="Cerrar";break;case"fi":i="Sulje";break;case"fr":i="Fermer";break;case"hr":i="Zatvoriti";break;case"hu":i="Bezár";break;case"it":i="Chiudi";break;case"ja":i="éãã";break;case"ko":i="ë«ê¸°";break;case"nl":i="Sluiten";break;case"no":i="Lukk";break;case"pl":i="Zamknij";break;case"pt":i="Fechar";break;case"ro":i="Ãnchide";break;case"ru":i="ÐакÑÑÑÑ";break;case"sk":i="ZatvoriÅ¥";break;case"sl":i="Zapri";break;case"sr":i="Zatvori";break;case"sv":i="Stäng";break;case"tr":i="Kapatın";break;case"zh":i="å
³é"}switch(u.layout){case"standard":o=u.show_faces?80:35,s=225,l=450;break;case"box_count":o=65,s=55,l=103;break;case"button_count":o=46,s=90,l=154}void 0===u.width||null===u.width?u.width=l:u.width<s&&(u.width=s),u.appId=u.appId||e.getMeta("fb:app_id")||null;for(var d in u)u.hasOwnProperty(d)&&void 0!==u[d]&&null!==u[d]&&(n+="&"+d+"="+u[d]);return n+="&height="+o,p+=a+'</h1><a class="dialoglink" href="'+t+'">'+t+'</a></div><div class="facebooklike"><iframe src="'+n+'" width="'+u.width+'" height="'+o+'" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowfullscreen="true" allow="autoplay; clipboard-write; encrypted-media; picture-in-picture; web-share"></iframe></div><div><button class="dialogbutton" onclick="self.close()">'+i+"</button></div>",{popup:!0,shareText:{bg:"Ñ
аÑеÑвам",cs:"to se mi lÃbÃ",da:"synes godt om",de:"gefällt mir",en:"like",es:"me gusta",fi:"tykkää",fr:"jâaime",hr:"sviÄa mi se",hu:"tetszik",it:"mi piace",ja:"ãããï¼",ko:"ì¢ìì",nl:"vind ik leuk",no:"liker",pl:"lubiÄ to!",pt:"gosto",ro:"îmi place",ru:"нÑавиÑÑÑ",sk:"páÄi sa mi to",sl:"vÅ¡eÄ mi je",sr:"ÑвиÑа ми Ñе",sv:"gilla",tr:"beÄen",zh:"èµ"},name:"facebooklike",faPrefix:"fas",faName:"fa-thumbs-up",title:{bg:"ХаÑеÑвам/ÐеÑе не Ñ
аÑеÑвам вÑв Facebook",cs:"To se mi lÃbÃ/už se mi to nelÃbà na Facebooku",da:"Synes godt om/Fjern Synes godt om pÃ¥ Facebook",de:"Gefällt mir/Gefällt mir nicht mehr bei Facebook",en:"Like/Unlike on Facebook",es:"Me gusta/Ya no me gusta en Facebook",fi:"Tykkää/En tykkääkään Facebookissa",fr:"Jâaime/Je nâaime plus sur Facebook",hr:"SviÄa mi se/Ne sviÄa mi se na Facebooku",hu:"Tetszik/Mégsem tetszik a Facebookon",it:"Mi piace/Non mi piace più su Facebook",ja:"ãã§ã¤ã¹ããã¯ä¸ ãããï¼/ããããï¼ããåãæ¶ã",ko:"íì´ì¤ë¶ìì ì¢ìì/ì«ì´í¨",nl:"Vind ik leuk/Vind ik niet meer leuk op Facebook",no:"Liker/Slutt Ã¥ like pÃ¥ Facebook",pl:"LubiÄ to!/Nie lubiÄ na Facebooku",pt:"Gosto/Não gosto no Facebook",ro:"Ãmi place/Nu-mi mai place pe Facebook",ru:"ÐÑавиÑÑÑ/Ðе нÑавиÑÑÑ Ð½Ð° Facebook",sk:"PáÄi sa mi to/ZruÅ¡iÅ¥ PáÄi sa mi to na Facebooku",sl:"VÅ¡eÄ mi je/Ni mi vÅ¡eÄ na Facebooku",sr:"СвиÑа ми Ñе/Ðе ÑвиÑа ми Ñе на ФаÑебоок
8Ñ",sv:"Gilla/Sluta gilla pÃ¥ Facebook",tr:"Facebook'ta BeÄen/BeÄenmekten Vazgeç",zh:"Facebookä¸çèµ/åæ¶èµ"},shareUrl:"javascript:void(0);",dialogHtml:p,dialogCssUrl:e.getDialogsMediaUrl()+"/"+e.getFacebooklikeCss()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!1,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"fediverse",faPrefix:"fab",faName:"fa-mastodon",title:{bg:"Сподели в Fediverse",cs:"SdÃlet na Fediverse",da:"Del pÃ¥ Fediverse",de:"Im Fediverse teilen",en:"Share in Fediverse",es:"Compartir en Fediverse",fi:"Jaa Fediverseissä",fr:"Partager sur Fediverse",hr:"Podijelite na Fediverse",hu:"Megosztás Fediverseen",it:"Condividi su Fediverse",ja:"Fediverseä¸ã§å
±æ",ko:"Fediverseìì ê³µì í기",nl:"Delen op Fediverse",no:"Del pÃ¥ Fediverse",pl:"UdostÄpnij przez Fediverse",pt:"Compartilhar no Fediverse",ro:"PartajeazÄ pe Fediverse",ru:"ÐоделиÑÑÑÑ Ð½Ð° Fediverse",sk:"ZdieľaÅ¥ na Fediverse",sl:"Deli na Fediverse",sr:"Podeli na Fediverse-u",sv:"Dela pÃ¥ Fediverse",tr:"Fediverse'ta payla
8Å",zh:"å¨Fediverseä¸å享"},shareUrl:"web+mastodon://share?text="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"flip it",name:"flipboard",faPrefix:"fab",faName:"fa-flipboard",title:{bg:"Сподели в Flipboard",cs:"SdÃlet na Flipboardu",da:"Del pÃ¥ Flipboard",de:"Bei Flipboard teilen",en:"Share on Flipboard",es:"Compartir en Flipboard",fi:"Jaa Flipboardissä",fr:"Partager sur Flipboard",hr:"Podijelite na Flipboardu",hu:"Megosztás Flipboardon",it:"Condividi su Flipboard",ja:"Flipboardä¸ã§å
±æ",ko:"Flipboardìì ê³µì í기",nl:"Delen op Flipboard",no:"Del pÃ¥ Flipboard",pl:"UdostÄpnij na Flipboardu",pt:"Compartilhar no Flipboard",ro:"PartajeazÄ pe Flipboard",ru:"ÐоделиÑÑÑÑ Ð½Ð° Flipboard",sk:"ZdieľaÅ¥ na Flipboardu",sl:"Deli na Flipboardu",sr:"Podeli na Flipboard-u",sv:"Dela pÃ¥ Flipboard",tr:"Flipboard'ta paylaÅ",zh:"å¨Flipboardä¸å享"},shareUrl:"https://share.flipboard.com/bookmarklet/popout?v=2&title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{blank:e.getInfoDisplayBlank(),popup:e.getInfoDisplayPopup(),shareText:"Info",name:"info",faPrefix:"fas",faName:"fa-info",title:{bg:"ÐовеÑе инÑоÑмаÑиÑ",cs:"VÃce informacÃ",da:"Flere oplysninger",de:"Weitere Informationen",en:"More information",es:"Más informaciones",fi:"Lisätietoja",fr:"Plus d'informations",hr:"ViÅ¡e informacija",hu:"Több információ",it:"Maggiori informazioni",ja:"詳ããæ
å ±",ko:"ì¶ê° ì ë³´",nl:"Verdere informatie",no:"Mer informasjon",pl:"WiÄcej informacji",pt:"Mais informações",ro:"Mai multe informatii",ru:"ÐолÑÑе инÑоÑмаÑии",sk:"Viac informáciÃ",sl:"VeÄ informacij",sr:"ViÅ¡e informacija",sv:"Mer information",tr:"Daha fazla bilgi",zh:"æ´å¤ä¿¡æ¯"},shareUrl:e.getInfoUrl()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"mitteilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"ã·ã§ã¢",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"distribuiÈi",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"linkedin",faPrefix:"fab",faName:"fa-linkedin-in",title:{bg:"Сподели в LinkedIn",cs:"SdÃlet na LinkedIn",da:"Del pÃ¥ LinkedIn",de:"Bei LinkedIn teilen",en:"Share on LinkedIn",es:"Compartir en LinkedIn",fi:"Jaa LinkedInissä",fr:"Partager sur LinkedIn",hr:"Podijelite na LinkedIn",hu:"Megosztás LinkedInen",it:"Condividi su LinkedIn",ja:"LinkedInä¸ã§å
±æ",ko:"LinkedInìì ê³µì í기",nl:"Delen op LinkedIn",no:"Del pÃ¥ LinkedIn",pl:"UdostÄpnij przez LinkedIn",pt:"Compartilhar no LinkedIn",ro:"PartajeazÄ pe LinkedIn",ru:"ÐоделиÑÑÑÑ Ð½Ð° LinkedIn",sk:"ZdieľaÅ¥ na LinkedIn",sl:"Deli na LinkedIn",sr:"Podeli na LinkedIn-u",sv:"Dela pÃ¥ LinkedIn",tr:"LinkedIn'ta paylaÅ",zh:"å¨LinkedInä¸å享"},shareUrl:"https://www.linkedin.com/sharing/share-offsite/?url="+encodeURIComponent(e.getURL())}}},function(e,t,a){"use strict";e.exports=function(e){var t=e.getOption("mailUrl");return 0===t.indexOf("mailto:")&&(t+="?subject="+encodeURIComponent(e.getOption("mailSubject")||e.getTitle()),t+="&body="+encodeURIComponent(e.getOption("mailBody").replace(/\{url\}/i,e.getURL()))),{blank:0===t.indexOf("http"),popup:!1,shareText:{en:"mail",zh:"å享"},name:"mail",faPrefix:"fas",faName:"fa-envelope",title:{bg:"ÐзпÑаÑи по имейл",cs:"Poslat mailem",da:"Sende via e-mail",de:"Per E-Mail versenden",en:"Send by email",es:"Enviar por email",fi:"Lähetä sähköpostitse",fr:"Envoyer par courriel",hr:"PoÅ¡aljite emailom",hu:"Elküldés e-mailben",it:"Inviare via email",ja:"é»åã¡ã¼ã«ã§éä¿¡",ko:"ì´ë©ì¼ë¡ ë³´ë´ê¸°",nl:"Sturen via e-mail",no:"Send via epost",pl:"WyÅlij e-mailem",pt:"Enviar por e-mail",ro:"Trimite prin e-mail",ru:"ÐÑпÑавиÑÑ Ð¿Ð¾ Ñл. поÑÑе",sk:"PoslaÅ¥ e-mailom",sl:"PoÅ¡lji po elektronski poÅ¡ti",sr:"PoÅ¡alji putem email-a",sv:"Skicka via e-post",tr:"E-posta ile gönder",zh:"éè¿çµåé®ä»¶ä¼ é"},shareUrl:t}}},function(e,t,a){"use strict";var r=a(0);e.exports=function(e){var t=e.getTitle(),a=e.getMeta("DC.creator");a.length>0&&(t+=" - "+a);var i=e.getOption("mediaUrl");(!i||i.length<=0)&&(i=e.getMeta("og:image"));var n=r.parse("https://www.pinterest.com/pin/create/link/",!0);return n.query.url=e.getURL(),n.query.media=i,n.query.description=t,delete n.search,{popup:!0,shareText:"pin it",name:"pinterest",faPrefix:"fab",faName:"fa-pinterest-p",title:{bg:"Сподели в Pinterest",cs:"PÅidat na Pinterest",da:"Del pÃ¥ Pinterest",de:"Bei Pinterest pinnen",en:"Pin it on Pinterest",es:"Compartir en Pinterest",fi:"Jaa Pinterestissä",fr:"Partager sur Pinterest",hr:"Podijelite na Pinterest",hu:"Megosztás Pinteresten",it:"Condividi su Pinterest",ja:"Pinterestä¸ã§å
±æ",ko:"Pinterestìì ê³µì í기",nl:"Delen op Pinterest",no:"Del pÃ¥ Pinterest",pl:"UdostÄpnij przez Pinterest",pt:"Compartilhar no Pinterest",ro:"PartajeazÄ pe Pinterest",ru:"ÐоделиÑÑÑÑ Ð½Ð° Pinterest",sk:"ZdieľaÅ¥ na Pinterest",sl:"Deli na Pinterest",sr:"Podeli na Pinterest-u",sv:"Dela pÃ¥ Pinterest",tr:"Pinterest'ta payla
8Å",zh:"å享è³Pinterest"},shareUrl:r.format(n)+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL());return{popup:!0,shareText:"Pocket",name:"pocket",faPrefix:"fab",faName:"fa-get-pocket",title:{bg:"Ðапазване в Pocket",cs:"Uložit do Pocket",da:"Gem i Pocket",de:"In Pocket speichern",en:"Save to Pocket",es:"Guardar en Pocket",fi:"Tallenna kohtaan Pocket",fr:"Enregistrer dans Pocket",hr:"Spremi u Pocket",hu:'Mentés "Pocket"-be',it:"Salva in Pocket",ja:"ããã±ãããã«ä¿å",ko:"Pocketì ì ì¥",nl:"Opslaan in Pocket",no:"Lagre i Pocket",pl:"Zapisz w Pocket",pt:"Salvar em Pocket",ro:"SalvaÈi în Pocket",ru:"СоÑ
ÑаниÑÑ Ð² Pocket",sk:"UložiÅ¥ do prieÄinka Pocket",sl:"Shrani v Pocket",sr:"SaÄuvaj u Pocket",sv:"Spara till Pocket",tr:"Pocket e kaydet",zh:"ä¿åå°Pocket"},shareUrl:"https://getpocket.com/save?title="+encodeURIComponent(e.getTitle())+"&url="+t+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{name:"print",faPrefix:"fas",faName:"fa-print",popup:!1,shareText:{bg:"",cs:"tlaÄit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"РаÑпеÑаÑаÑÑ",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},title:{bg:"",cs:"tlaÄit",da:"",de:"drucken",en:"print",es:"impresión",fi:"",fr:"imprimer",hr:"",hu:"",it:"stampa",ja:"",ko:"",nl:"afdrukken",no:"",pl:"drukuj",pt:"",ro:"",ru:"РаÑпеÑаÑаÑÑ",sk:"",sl:"",sr:"",sv:"",tr:"",zh:""},shareUrl:"javascript:window.print();"}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"qzone",faPrefix:"fab",faName:"fa-qq",title:{bg:"Сподели в Qzone",cs:"SdÃlet na Qzone",da:"Del pÃ¥ Qzone",de:"Bei Qzone teilen",en:"Share on Qzone",es:"Compartir en Qzone",fi:"Jaa Qzoneissä",fr:"Partager sur Qzone",hr:"Podijelite na Qzone",hu:"Megosztás Qzone",it:"Condividi su Qzone",ja:"Qzoneä¸ã§å
±æ",ko:"Qzoneìì ê³µì í기",nl:"Delen op Qzone",no:"Del pÃ¥ Qzone",pl:"UdostÄpnij przez Qzone",pt:"Compartilhar no Qzone",ro:"PartajeazÄ pe Qzone",ru:"ÐоделиÑÑÑÑ Ð½Ð° Qzone",sk:"ZdieľaÅ¥ na Qzone",sl:"Deli na Qzone",sr:"Podeli na Qzone-u",sv:"Dela pÃ¥ Qzone",tr:"Qzone'ta paylaÅ",zh:"å享è³QQ空é´"},shareUrl:"https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),a=encodeURIComponent(e.getTitle());return""!==a&&(a="&title="+a),{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"reddit",faPrefix:"fab",faName:"fa-reddit-alien",title:{bg:"Сподели в Reddit",cs:"SdÃlet na Redditu",da:"Del pÃ¥ Reddit",de:"Bei Reddit teilen",en:"Share on Reddit",es:"Compartir en Reddit",fi:"Jaa Redditissä",fr:"Partager sur Reddit",hr:"Podijelite na Reddit",hu:"Megosztás Redditen",it:"Condividi su Reddit",ja:"Redditä¸ã§å
±æ",ko:"Redditìì ê³µì í기",nl:"Delen op Reddit",no:"Del pÃ¥ Reddit",pl:"UdostÄpnij przez Reddit",pt:"Compartilhar no Reddit",ro:"PartajeazÄ pe Reddit",ru:"ÐоделиÑÑÑÑ Ð½Ð° Reddit",sk:"ZdieľaÅ¥ na Reddit",sl:"Deli na Reddit",sr:"Podeli na Reddit-u",sv:"Dela pÃ¥ Reddit",tr:"Reddit'ta paylaÅ",zh:"å享è³Reddit"},shareUrl:"https://reddit.com/submit?url="+t+a+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),a=encodeURIComponent(e.getTitle());return""!==a&&(a="&title="+a),{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"stumbleupon",faPrefix:"fab",faName:"fa-stumbleupon",title:{bg:"Сподели в Stumbleupon",cs:"SdÃlet na Stumbleuponu",da:"Del pÃ¥ Stumbleupon",de
8:"Bei Stumbleupon teilen",en:"Share on Stumbleupon",es:"Compartir en Stumbleupon",fi:"Jaa Stumbleuponissä",fr:"Partager sur Stumbleupon",hr:"Podijelite na Stumbleupon",hu:"Megosztás Stumbleupon",it:"Condividi su Stumbleupon",ja:"Stumbleuponä¸ã§å
±æ",ko:"Stumbleuponìì ê³µì í기",nl:"Delen op Stumbleupon",no:"Del pÃ¥ Stumbleupon",pl:"UdostÄpnij przez Stumbleupon",pt:"Compartilhar no Stumbleupon",ro:"PartajeazÄ pe Stumbleupon",ru:"ÐоделиÑÑÑÑ Ð½Ð° Stumbleupon",sk:"ZdieľaÅ¥ na Stumbleupon",sl:"Deli na Stumbleupon",sr:"Podeli na Stumbleupon-u",sv:"Dela pÃ¥ Stumbleupon",tr:"Stumbleupon'ta paylaÅ",zh:"å享è³Stumbleupon"},shareUrl:"https://www.stumbleupon.com/submit?url="+t+a+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"telegram",faPrefix:"fab",faName:"fa-telegram",title:{bg:"Сподели в Telegram",cs:"SdÃlet na Telegramu",da:"Del pÃ¥ Telegram",de:"Bei Telegram teilen",en:"Share on Telegram",es:"Compartir en Telegram",fi:"Jaa Telegramissä",fr:"Partager sur Telegram",hr:"Podijelite na Telegram",hu:"Megosztás Telegramen",it:"Condividi su Telegram",ja:"Telegramä¸ã§å
±æ",ko:"Telegramìì ê³µì í기",nl:"Delen op Telegram",no:"Del pÃ¥ Telegram",pl:"UdostÄpnij przez Telegram",pt:"Compartilhar no Telegram",ro:"PartajeazÄ pe Telegram",ru:"ÐоделиÑÑÑÑ Ð½Ð° Telegram",sk:"ZdieľaÅ¥ na Telegram",sl:"Deli na Telegram",sr:"Podeli na Telegram-u",sv:"Dela pÃ¥ Telegram",tr:"Telegram'ta paylaÅ",zh:"å¨Telegramä¸å享"},shareUrl:"https://t.me/share/url?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"tencent-weibo",faPrefix:"fab",faName:"fa-tencent-weibo",title:{bg:"Сподели в tencent weibo",cs:"SdÃlet na tencent weibo",da:"Del pÃ¥ tencent weibo",de:"Bei tencent weibo teilen",en:"Share on tencent weibo",es:"Compartir en tencent weibo",fi:"Jaa tencent weiboissä",fr:"Partager sur tencent weibo",hr:"Podijelite na tencent weibo",hu:"Megosztás tencent weiboen",it:"Condividi su tencent weibo",ja:"Tencent weiboä¸ã§å
±æ",ko:"Tencent weiboìì ê³µì í기",nl:"Delen op tencent weibo",no:"Del pÃ¥ tencent weibo",pl:"UdostÄpnij przez tencent weibo",pt:"Compartilhar no tencent weibo",ro:"PartajeazÄ pe tencent weibo",ru:"ÐоделиÑÑÑÑ Ð½Ð° tencent weibo",sk:"ZdieľaÅ¥ na tencent weibo",sl:"Deli na tencent weibo",sr:"Podeli na tencent weibo-u",sv:"Dela pÃ¥ tencent weibo",tr:"Tencent weibo'ta paylaÅ",zh:"å享è³è
¾è®¯å¾®å"},shareUrl:"https://v.t.qq.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),a=e.getTitle();return{popup:!1,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"threema",faPrefix:"fas",faName:"fa-lock",title:{bg:"Сподели в Threema",cs:"SdÃlet na Threema",da:"Del pÃ¥ Threema",de:"Bei Threema teilen",en:"Share on Threema",es:"Compartir en Threema",fi:"Jaa Threemaissä",fr:"Partager sur Threema",hr:"Podijelite na Threema",hu:"Megosztás Threemaen",it:"Condividi su Threema",ja:"Threemaä¸ã§å
±æ",ko:"Threemaìì ê³µì í기",nl:"Delen op Threema",no:"Del pÃ¥ Threema",pl:"UdostÄpnij przez Threema",pt:"Compartilhar no Threema",ro:"PartajeazÄ pe Threema",ru:"ÐоделиÑÑÑÑ Ð½Ð° Threema",sk:"ZdieľaÅ¥ na Threema",sl:"Deli na Threema",sr:"Podeli na Threema-u",sv:"Dela pÃ¥ Threema",tr:"Threema'ta payla
8Å",zh:"å¨Threemaä¸å享"},shareUrl:"threema://compose?text="+encodeURIComponent(a)+"%20"+t+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"tumblr",faPrefix:"fab",faName:"fa-tumblr",title:{bg:"Сподели в tumblr",cs:"SdÃlet na tumblru",da:"Del pÃ¥ tumblr",de:"Bei tumblr teilen",en:"Share on tumblr",es:"Compartir en tumblr",fi:"Jaa tumblrissä",fr:"Partager sur tumblr",hr:"Podijelite na tumblr",hu:"Megosztás tumblren",it:"Condividi su tumblr",ja:"tumblrä¸ã§å
±æ",ko:"tumblrìì ê³µì í기",nl:"Delen op tumblr",no:"Del pÃ¥ tumblr",pl:"UdostÄpnij przez tumblr",pt:"Compartilhar no tumblr",ro:"PartajeazÄ pe tumblr",ru:"ÐоделиÑÑÑÑ Ð½Ð° tumblr",sk:"ZdieľaÅ¥ na tumblr",sl:"Deli na tumblr",sr:"Podeli na tumblr-u",sv:"Dela pÃ¥ tumblr",tr:"tumblr'ta paylaÅ",zh:"å¨tumblrä¸å享"},shareUrl:"https://tumblr.com/widgets/share/tool?canonicalUrl="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,a){"use strict";var r=a(0),i=function(e,t){var a=document.createElement("div"),r=document.createTextNode(e);a.appendChild(r);var i=a.textContent;if(i.length<=t)return e;var n=i.substring(0,t-1).lastIndexOf(" ");return i=i.substring(0,n)+"â¦"};e.exports=function(e){var t=r.parse("https://twitter.com/intent/tweet",!0),a=e.getTitle();t.query.url=e.getURL(),null!==e.options.twitterVia&&(t.query.via=e.options.twitterVia);var n=280-(t.query.via||"").length-(t.query.url||"").length;return t.query.text=i(a,n),delete t.search,{popup:!0,shareText:{de:"posten",en:"post",ja:"æç¨¿",ko:"ê²ì물",ru:"ÐоÑÑÑ",sr:"poÅ¡ta",zh:"èä½"},name:"twitter",faPrefix:"fab fa-brands",faName:"fa-x-twitter",title:{bg:"Сподели в X",cs:"SdÃlet na X",da:"Del pÃ¥ X",de:"Bei X teilen",en:"Share on X",es:"Compartir en X",fi:"Jaa X",fr:"Partager sur X",hr:"Podijelite na X",hu:"Megosztás X",it:"Condividi su X",ja:"Xã§å
±æãã",ko:"Xìì ê³µì ",nl:"Delen op X",no:"Del pÃ¥ X",pl:"UdostÄpnij na X",pt:"Compartilhar no X",ro:"PartajeazÄ pe X",ru:"ÐоделиÑÑÑÑ Ð½Ð° X",sk:"ZdieľaÅ¥ na X",sl:"Deli na X",sr:"Podeli na X-u",sv:"Dela pÃ¥ X",tr:"X'da paylaÅ",zh:"å¨Xä¸å享"},shareUrl:r.format(t)+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"vk",faPrefix:"fab",faName:"fa-vk",title:{bg:"Сподели вÑв VK",cs:"SdÃlet na VKu",da:"Del pÃ¥ VK",de
8:"Bei VK teilen",en:"Share on VK",es:"Compartir en VK",fi:"Jaa VKissa",fr:"Partager sur VK",hr:"Podijelite na VKu",hu:"Megosztás VKon",it:"Condividi su VK",ja:"ãã§ã¤ã¹ããã¯ä¸ã§å
±æ",ko:"íì´ì¤ë¶ìì ê³µì í기",nl:"Delen op VK",no:"Del pÃ¥ VK",pl:"UdostÄpnij na VKu",pt:"Compartilhar no VK",ro:"PartajeazÄ pe VK",ru:"ÐоделиÑÑÑÑ Ð½Ð° ÐÐонÑакÑе",sk:"ZdieľaÅ¥ na VKu",sl:"Deli na VKu",sr:"Podeli na VK-u",sv:"Dela pÃ¥ VK",tr:"VK'ta paylaÅ",zh:"å¨VKä¸å享"},shareUrl:"https://vk.com/share.php?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"weibo",faPrefix:"fab",faName:"fa-weibo",title:{bg:"Сподели в weibo",cs:"SdÃlet na weibo",da:"Del pÃ¥ weibo",de:"Bei weibo teilen",en:"Share on weibo",es:"Compartir en weibo",fi:"Jaa weiboissä",fr:"Partager sur weibo",hr:"Podijelite na weibo",hu:"Megosztás weiboen",it:"Condividi su weibo",ja:"Weiboä¸ã§å
±æ",ko:"Weiboìì ê³µì í기",nl:"Delen op weibo",no:"Del pÃ¥ weibo",pl:"UdostÄpnij przez weibo",pt:"Compartilhar no weibo",ro:"PartajeazÄ pe weibo",ru:"ÐоделиÑÑÑÑ Ð½Ð° weibo",sk:"ZdieľaÅ¥ na weibo",sl:"Deli na weibo",sr:"Podeli na weibo-u",sv:"Dela pÃ¥ weibo",tr:"Weibo'ta paylaÅ",zh:"åäº«è³æ°æµªå¾®å"},shareUrl:"https://service.weibo.com/share/share.php?url="+encodeURIComponent(e.getURL())+"&title="+e.getTitle()+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){var t=encodeURIComponent(e.getURL()),a=e.getTitle();return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"whatsapp",faPrefix:"fab",faName:"fa-whatsapp",title:{bg:"Сподели в Whatsapp",cs:"SdÃlet na Whatsappu",da:"Del pÃ¥ Whatsapp",de:"Bei Whatsapp teilen",en:"Share on Whatsapp",es:"Compartir en Whatsapp",fi:"Jaa WhatsAppissä",fr:"Partager sur Whatsapp",hr:"Podijelite na Whatsapp",hu:"Megosztás WhatsAppen",it:"Condividi su Whatsapp",ja:"Whatsappä¸ã§å
±æ",ko:"Whatsappìì ê³µì í기",nl:"Delen op Whatsapp",no:"Del pÃ¥ Whatsapp",pl:"UdostÄpnij przez WhatsApp",pt:"Compartilhar no Whatsapp",ro:"PartajeazÄ pe Whatsapp",ru:"ÐоделиÑÑÑÑ Ð½Ð° Whatsapp",sk:"ZdieľaÅ¥ na Whatsapp",sl:"Deli na Whatsapp",sr:"Podeli na WhatsApp-u",sv:"Dela pÃ¥ Whatsapp",tr:"Whatsapp'ta paylaÅ",zh:"å¨Whatsappä¸å享"},shareUrl:"https://api.whatsapp.com/send?text="+encodeURIComponent(a)+"%20"+t+e.getReferrerTrack()}}},function(e,t,a){"use strict";e.exports=function(e){return{popup:!0,shareText:{bg:"cподелÑне",cs:"sdÃlet",da:"del",de:"teilen",en:"share",es:"compartir",fi:"Jaa",fr:"partager",hr:"podijelite",hu:"megosztás",it:"condividi",ja:"å
±æ",ko:"ê³µì í기",nl:"delen",no:"del",pl:"udostÄpnij",pt:"compartilhar",ro:"partajeazÄ",ru:"поделиÑÑÑÑ",sk:"zdieľaÅ¥",sl:"deli",sr:"podeli",sv:"dela",tr:"paylaÅ",zh:"å享"},name:"xing",faPrefix:"fab",faName:"fa-xing",title:{bg:"Сподели в XING",cs:"SdÃlet na XINGu",da:"Del pÃ¥ XING",de:"Bei XING teilen",en:"Share on XING",es:"Compartir en XING",fi:"Jaa XINGissä",fr:"Partager sur XING",hr:"Podijelite na XING",hu:"Megosztás XINGen",it:"Condividi su XING",ja:"XINGä¸ã§å
±æ",ko:"XINGìì ê³µì í기",nl:"Delen op XING",no:"Del pÃ¥ XING",pl:"UdostÄpnij przez XING",pt:"Compartilhar no XING",ro:"PartajeazÄ pe XING",ru:"ÐоделиÑÑÑÑ Ð½Ð° XING",sk:"ZdieľaÅ¥ na XING",sl:"Deli na XING",sr:"Podeli na XING-u",sv:"Dela pÃ¥ XING",tr:"XING'ta payla
8Å",zh:"å享è³XING"},shareUrl:"https://www.xing.com/spi/shares/new?url="+encodeURIComponent(e.getURL())+e.getReferrerTrack()}}}]); 9/** 10 * Ajax Autocomplete for jQuery, version 1.4.11 11 * (c) 2017 Tomas Kirda 12 * 13 * Ajax Autocomplete for jQuery is freely distributable under the terms of an MIT-style license. 14 * For details, see the web site: https://github.com/devbridge/jQuery-Autocomplete 15 */ 16!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports&&"function"==typeof require?t(require("jquery")):t(jQuery)}(function(t){"use strict";var e={escapeRegExChars:function(t){return t.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")},createNode:function(t){var e=document.createElement("div");return e.className=t,e.style.position="absolute",e.style.display="none",e}},s=27,i=9,n=13,o=38,a=39,u=40,l=t.noop;function r(e,s){this.element=e,this.el=t(e),this.suggestions=[],this.badQueries=[],this.selectedIndex=-1,this.currentValue=this.element.value,this.timeoutId=null,this.cachedResponse={},this.onChangeTimeout=null,this.onChange=null,this.isLocal=!1,this.suggestionsContainer=null,this.noSuggestionsContainer=null,this.options=t.extend(!0,{},r.defaults,s),this.classes={selected:"autocomplete-selected",suggestion:"autocomplete-suggestion"},this.hint=null,this.hintValue="",this.selection=null,this.initialize(),this.setOptions(s)}r.utils=e,t.Autocomplete=r,r.defaults={ajaxSettings:{},autoSelectFirst:!1,appendTo:"body",serviceUrl:null,lookup:null,onSelect:null,onHint:null,width:"auto",minChars:1,maxHeight:300,deferRequestBy:0,params:{},formatResult:function(t,s){if(!s)return t.value;var i="("+e.escapeRegExChars(s)+")";return t.value.replace(new RegExp(i,"gi"),"<strong>$1</strong>").replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/<(\/?strong)>/g,"<$1>")},formatGroup:function(t,e){return'<div class="autocomplete-group">'+e+"</div>"},delimiter:null,zIndex:9999,type:"GET",noCache:!1,onSearchStart:l,onSearchComplete:l,onSearchError:l,preserveInput:!1,containerClass:"autocomplete-suggestions",tabDisabled:!1,dataType:"text",currentRequest:null,triggerSelectOnValidInput:!0,preventBadQueries:!0,lookupFilter:function(t,e,s){return-1!==t.value.toLowerCase().indexOf(s)},paramName:"query",transformResult:function(e){return"string"==typeof e?t.parseJSON(e):e},showNoSuggestionNotice:!1,noSuggestionNotice:"No results",orientation:"bottom",forceFixPosition:!1},r.prototype={initialize:function(){var e,s=this,i="."+s.classes.suggestion,n=s.classes.selected,o=s.options;s.element.setAttribute("autocomplete","off"),s.noSuggestionsContainer=t('<div class="autocomplete-no-suggestion"></div>').html(this.options.noSuggestionNotice).get(0),s.suggestionsContainer=r.utils.createNode(o.containerClass),(e=t(s.suggestionsContainer)).appendTo(o.appendTo||"body"),"auto"!==o.width&&e.css("width",o.width),e.on("mouseover.autocomplete",i,function(){s.activate(t(this).data("index"))}),e.on("mouseout.autocomplete",function(){s.selectedIndex=-1,e.children("."+n).removeClass(n)}),e.on("click.autocomplete",i,function(){s.select(t(this).data("index"))}),e.on("click.autocomplete",function(){clearTimeout(s.blurTimeoutId)}),s.fixPositionCapture=function(){s.visible&&s.fixPosition()},t(window).on("resize.autocomplete",s.fixPositionCapture),s.el.on("keydown.autocomplete",function(t){s.onKeyPress(t)}),s.el.on("keyup.autocomplete",function(t){s.onKeyUp(t)}),s.el.on("blur.autocomplete",function(){s.onBlur()}),s.el.on("focus.autocomplete",function(){s.onFocus()}),s.el.on("change.autocomplete",function(t){s.onKeyUp(t)}),s.el.on("input.autocomplete",function(t){s.onKeyUp(t)})},onFocus:function(){this.disabled||(this.fixPosition(),this.el.val().length>=this.options.minChars&&this.onValueChange())},onBlur:function(){var e=this,s=e.options,i=e.el.val(),n=e.getQuery(i);e.blurTimeoutId=setTimeout(function(){e.hide(),e.selection&&e.currentValue!==n&&(s.onInvalidateSelection||t.noop).call(e.element)},200)},abortAjax:function(){this.currentRequest&&(this.currentRequest.abort(),this.currentRequest=null)},setOptions:function(e){var s=t.extend({},this.options,e);this.isLocal=Array.isArray(s.lookup),this.isLocal&&(s.lookup=this.verifySuggestionsFormat(s.lookup)),s.orientation=this.validateOrientation(s.orientation,"bottom"),t(this.suggestionsContainer).css({"max-height":s.maxHeight+"px",width:s.width+"px","z-index":s.zIndex}),this.options=s},clearCache:function(){this.cachedResponse={},this.badQueries=[]},clear:function(){this.clearCache(),this.currentValue="",this.suggestions=[]},disable:function(){this.disabled=!0,clearTimeout(this.onChangeTimeout),this.abortAjax()},enable:function(){this.disabled=!1},fixPosition:function(){var e=t(this.suggestionsContainer),s=e.parent().get(0);if(s===document.body||this.options.forceFixPosition){var i=this.options.orientation,n=e.outerHeight(),o=this.el.outerHeight(),a=this.el.offset(),u={top:a.top,left
16:a.left};if("auto"===i){var l=t(window).height(),r=t(window).scrollTop(),h=-r+a.top-n,c=r+l-(a.top+o+n);i=Math.max(h,c)===h?"top":"bottom"}if(u.top+="top"===i?-n:o,s!==document.body){var g,d=e.css("opacity");this.visible||e.css("opacity",0).show(),g=e.offsetParent().offset(),u.top-=g.top,u.top+=s.scrollTop,u.left-=g.left,this.visible||e.css("opacity",d).hide()}"auto"===this.options.width&&(u.width=this.el.outerWidth()+"px"),e.css(u)}},isCursorAtEnd:function(){var t,e=this.el.val().length,s=this.element.selectionStart;return"number"==typeof s?s===e:!document.selection||((t=document.selection.createRange()).moveStart("character",-e),e===t.text.length)},onKeyPress:function(t){if(this.disabled||this.visible||t.which!==u||!this.currentValue){if(!this.disabled&&this.visible){switch(t.which){case s:this.el.val(this.currentValue),this.hide();break;case a:if(this.hint&&this.options.onHint&&this.isCursorAtEnd()){this.selectHint();break}return;case i:if(this.hint&&this.options.onHint)return void this.selectHint();if(-1===this.selectedIndex)return void this.hide();if(this.select(this.selectedIndex),!1===this.options.tabDisabled)return;break;case n:if(-1===this.selectedIndex)return void this.hide();this.select(this.selectedIndex);break;case o:this.moveUp();break;case u:this.moveDown();break;default:return}t.stopImmediatePropagation(),t.preventDefault()}}else this.suggest()},onKeyUp:function(t){var e=this;if(!e.disabled){switch(t.which){case o:case u:return}clearTimeout(e.onChangeTimeout),e.currentValue!==e.el.val()&&(e.findBestHint(),e.options.deferRequestBy>0?e.onChangeTimeout=setTimeout(function(){e.onValueChange()},e.options.deferRequestBy):e.onValueChange())}},onValueChange:function(){if(this.ignoreValueChange)this.ignoreValueChange=!1;else{var e=this.options,s=this.el.val(),i=this.getQuery(s);this.selection&&this.currentValue!==i&&(this.selection=null,(e.onInvalidateSelection||t.noop).call(this.element)),clearTimeout(this.onChangeTimeout),this.currentValue=s,this.selectedIndex=-1,e.triggerSelectOnValidInput&&this.isExactMatch(i)?this.select(0):i.length<e.minChars?this.hide():this.getSuggestions(i)}},isExactMatch:function(t){var e=this.suggestions;return 1===e.length&&e[0].value.toLowerCase()===t.toLowerCase()},getQuery:function(e){var s,i=this.options.delimiter;return i?(s=e.split(i),t.trim(s[s.length-1])):e},getSuggestionsLocal:function(e){var s,i=this.options,n=e.toLowerCase(),o=i.lookupFilter,a=parseInt(i.lookupLimit,10);return s={suggestions:t.grep(i.lookup,function(t){return o(t,e,n)})},a&&s.suggestions.length>a&&(s.suggestions=s.suggestions.slice(0,a)),s},getSuggestions:function(e){var s,i,n,o,a=this,u=a.options,l=u.serviceUrl;u.params[u.paramName]=e,!1!==u.onSearchStart.call(a.element,u.params)&&(i=u.ignoreParams?null:u.params,t.isFunction(u.lookup)?u.lookup(e,function(t){a.suggestions=t.suggestions,a.suggest(),u.onSearchComplete.call(a.element,e,t.suggestions)}):(a.isLocal?s=a.getSuggestionsLocal(e):(t.isFunction(l)&&(l=l.call(a.element,e)),n=l+"?"+t.param(i||{}),s=a.cachedResponse[n]),s&&Array.isArray(s.suggestions)?(a.suggestions=s.suggestions,a.suggest(),u.onSearchComplete.call(a.element,e,s.suggestions)):a.isBadQuery(e)?u.onSearchComplete.call(a.element,e,[]):(a.abortAjax(),o={url:l,data:i,type:u.type,dataType:u.dataType},t.extend(o,u.ajaxSettings),a.currentRequest=t.ajax(o).done(function(t){var s;a.currentRequest=null,s=u.transformResult(t,e),a.processResponse(s,e,n),u.onSearchComplete.call(a.element,e,s.suggestions)}).fail(function(t,s,i){u.onSearchError.call(a.element,e,t,s,i)}))))},isBadQuery:function(t){if(!this.options.preventBadQueries)return!1;for(var e=this.badQueries,s=e.length;s--;)if(0===t.indexOf(e[s]))return!0;return!1},hide:function(){var e=t(this.suggestionsContainer);t.isFunction(this.options.onHide)&&this.visible&&this.options.onHide.call(this.element,e),this.visible=!1,this.selectedIndex=-1,clearTimeout(this.onChangeTimeout),t(this.suggestionsContainer).hide(),this.onHint(null)},suggest:function(){if(this.suggestions.length){var e,s=this.options,i=s.groupBy,n=s.formatResult,o=this.getQuery(this.currentValue),a=this.classes.suggestion,u=this.classes.selected,l=t(this.suggestionsContainer),r=t(this.noSuggestionsContainer),h=s.beforeRender,c="";s.triggerSelectOnValidInput&&this.isExactMatch(o)?this.select(0):(t.each(this.suggestions,function(t,u){i&&(c+=function(t,n){var o=t.data[i];return e===o?"":(e=o,s.formatGroup(t,e))}(u,0)),c+='<div class="'+a+'" data-index="'+t+'">'+n(u,o,t)+"</div>"}),this.adjustContainerWidth(),r.detach(),l.html(c),t.isFunction(h)&&h.call(this.element,l,this.suggestions),this.fixPosition(),l.show(),s.autoSelectFirst&&(this.selectedIndex=0,l.scrollTop(0),l.children("."+a).first().addClass(u)),this.visible=!0,this.findBestHint())}else this.options.showNoSuggestionNotice?this.noSuggestions():this.hide()},noSuggestions:function(){var e=this.options.beforeRender,s=t(this.suggestionsContainer),i=t(this.noSuggestionsContainer);this.adjustContainerWidth(),i.detach(),s.empty(),s.append(i),t.isFunction(e)&&e.call(this.element,s,this.suggestions),this.fixPosition(),s.show(),this.visible=!0},adjustContainerWidth:function(){var e,s=this.options,i=t(this.suggestionsContainer);"auto"===s.width?(e=this.el.outerWidth(),i.css("width",e>0?e:300)):"flex"===s.width&&i.css("width","")},findBestHint:function(){var e=this.el.val().toLowerCase(),s=null;e&&(t.each(this.suggestions,function(t,i){var n=0===i.value.toLowerCase().indexOf(e);return n&&(s=i),!n}),this.onHint(s))},onHint:function(e){var s=this.options.onHint,i="";e&&(i=this.currentValue+e.value.substr(this.currentValue.length)),this.hintValue!==i&&(this.hintValue=i,this.hint=e,t.isFunction(s)&&s.call(this.element,i))},verifySuggestionsFormat:function(e){return e.length&&"string"==typeof e[0]?t.map(e,function(t){return{value:t,data:null}}):e},validateOrientation:function(e,s){return e=t.trim(e||"").toLowerCase(),-1===t.inArray(e,["auto","bottom","top"])&&(e=s),e},processResponse:function(t,e,s){var i=this.options;t.suggestions=this.verifySuggestionsFormat(t.suggestions),i.noCache||(this.cachedResponse[s]=t,i.preventBadQueries&&!t.suggestions.length&&this.badQueries.push(e)),e===this.getQuery(this.currentValue)&&(this.suggestions=t.suggestions,this.suggest())},activate:function(e){var s,i=this.classes.selected,n=t(this.suggestionsContainer),o=n.find("."+this.classes.suggestion);return n.find("."+i).removeClass(i),this.selectedIndex=e,-1!==this.selectedIndex&&o.length>this.selectedIndex?(s=o.get(this.selectedIndex),t(s).addClass(i),s):null},selectHint:function(){var e=t.inArray(this.hint,this.suggestions);this.select(e)},select:function(t){this.hide(),this.onSelect(t)},moveUp:function(){if(-1!==this.selectedIndex)return 0===this.selectedIndex?(t(this.suggestionsContainer).children("."+this.classes.suggestion).first().removeClass(this.classes.selected),this.selectedIndex=-1,this.ignoreValueChange=!1,this.el.val(this.currentValue),void this.findBestHint()):void this.adjustScroll(this.selectedIndex-1)},moveDown:function(){this.selectedIndex!==this.suggestions.length-1&&this.adjustScroll(this.selectedIndex+1)},adjustScroll:function(e){var s=this.activate(e);if(s){var i,n,o,a=t(s).outerHeight();i=s.offsetTop,o=(n=t(this.suggestionsContainer).scrollTop())+this.options.maxHeight-a,i<n?t(this.suggestionsContainer).scrollTop(i):i>o&&t(this.suggestionsContainer).scrollTop(i-this.options.maxHeight+a),this.options.preserveInput||(this.ignoreValueChange=!0,this.el.val(this.getValue(this.suggestions[e].value))),this.onHint(null)}},onSelect:function(e){var s=this.options.onSelect,i=this.suggestions[e];this.currentValue=this.getValue(i.value),this.currentValue===this.el.val()||this.options.preserveInput||this.el.val(this.currentValue),this.onHint(null),this.suggestions=[],this.selection=i,t.isFunction(s)&&s.call(this.element,i)},getValue:function(t){var e,s,i=this.options.delimiter;return i?1===(s=(e=this.currentValue).split(i)).length?t:e.substr(0,e.length-s[s.length-1].length)+t:t},dispose:function(){this.el.off(".autocomplete").removeData("autocomplete"),t(window).off("resize.autocomplete",this.fixPositionCapture),t(this.suggestionsContainer).remove()}},t.fn.devbridgeAutocomplete=function(e,s){return arguments.length?this.each(function(){var i=t(this),n=i.data("autocomplete");"string"==typeof e?n&&"function"==typeof n[e]&&n[e](s):(n&&n.dispose&&n.dispose(),n=new r(this,e),i.data("autocomplete",n))}):this.first().data("autocomplete")}
16,t.fn.autocomplete||(t.fn.autocomplete=t.fn.devbridgeAutocomplete)}); 17 18function SuggestController() { 19 20 this.init = function () { 21 22 jQuery('form[data-suggest]').each(function () { 23 var $form = $(this), $searchBox = $form.find('.tx-solr-suggest'), $formAutoComplete; 24 25 if ($form.find('.tx-solr-autocomplete').length > 0){ 26 $formAutoComplete = $form.find('.tx-solr-autocomplete'); 27 } else { 28 $formAutoComplete = $('body'); 29 } 30 31 // when no specific container found, use the form as container 32 if ($searchBox.length === 0) { 33 $searchBox = $form; 34 } 35 $searchBox.css('position', 'relative'); 36 37 $form.find('.tx-solr-suggest-focus').focus(); 38 39 // Prevent submit of empty search form 40 $form.on('submit', function (e) { 41 if ($form.find('.tx-solr-suggest-focus').val() === '') { 42 e.preventDefault(); 43 $form.find('.tx-solr-suggest-focus').focus(); 44 } 45 }); 46 47 $form.find('.tx-solr-suggest').devbridgeAutocomplete({ 48 serviceUrl: $form.data('suggest'), 49 dataType: 'json', 50 paramName: 'tx_solr[queryString]', 51 groupBy: 'category', 52 maxHeight: 1000, 53 appendTo: $formAutoComplete, 54 autoSelectFirst: false, 55 triggerSelectOnValidInput: false, 56 width: $searchBox.outerWidth() * 0.66, 57 onSelect: function (suggestion) { 58 // go to link when selecting found result 59 if (suggestion.data.link) { 60 // Open youtube in overlay 61 if (suggestion.data.link.indexOf('https://www.youtube.com') === 0) { 62 openVideoOverlay(suggestion.data.link); 63 } else { 64 location.href = suggestion.data.link; 65 } 66 // else trigger form submit (do search) 67 } else { 68 $form.trigger('submit'); 69 } 70 }, 71 transformResult: function (response) { 72 if (!response.suggestions) return {suggestions: []}; 73 var firstSuggestion, result = { 74 suggestions: $.map(response.suggestions, function (count, suggestion) { 75 if (!firstSuggestion) firstSuggestion = suggestion; 76 return {value: suggestion, data: {category: 'suggestion', count: count}}; 77 }) 78 }; 79 80 $.each(response.documents, function (key, value) { 81 var dataObject = value; 82 83 var defaultGroup = $form.data('suggest-header') ? $form.data('suggest-header') : 'Top results'; 84 dataObject.category = defaultGroup; 85 86 // if a group is set we try to get a label 87 if(dataObject.group) { 88 dataObject.category = $form.data('suggest-header-' + dataObject.group) ? $form.data('suggest-header-' + dataObject.group) : dataObject.group; 89 } 90 91 result.suggestions.push( 92 { 93 value: firstSuggestion, 94 data: dataObject 95 } 96 ); 97 }); 98 99 return result; 100 }, 101 beforeRender: function (container) { 102 // remove first group header 103 container.find('.autocomplete-group:first').remove(); 104 container.addClass('tx-solr-autosuggest'); 105 106 // add active class to container 107 $searchBox.parent().addClass('autocomplete-active').fadeIn(); 108 }, 109 formatResult: function (suggestion, currentValue) {
110 // Do not replace anything if there current value is empty 111 if (!currentValue) { 112 return suggestion.value; 113 } 114 var pattern = '(' + $.Autocomplete.utils.escapeRegExChars(currentValue.trim()) + ')'; 115 // normal suggestion 116 if (suggestion.data.category === 'suggestion') { 117 return suggestion.value 118 .replace(new RegExp(pattern, 'gi'), '<strong>$1<\/strong>') 119 .replace(/&/g, '&') 120 .replace(/</g, '<') 121 .replace(/>/g, '>') 122 .replace(/"/g, '"') 123 .replace(/<(\/?strong)>/g, '<$1>'); 124 125 // results 126 } else { 127 var title = suggestion.data.title 128 .replace(new RegExp(pattern, 'gi'), '<em>$1<\/em>') 129 .replace(/&/g, '&') 130 .replace(/</g, '<') 131 .replace(/>/g, '>') 132 .replace(/"/g, '"') 133 .replace(/<(\/?em)>/g, '<$1>'); 134 135 return '<div class="' + suggestion.data.type + '">' + 136 (!!suggestion.data.previewImage ? '<figure ' + (!!suggestion.data.hasVideo ? 'class="hasVideo"' : '') + '>
136<img src="' + suggestion.data.previewImage + '" /></figure>' : '') + 137 '<a href="' + suggestion.data.link + '" class="internal-link">' + title + '</a>' + 138 '</div>'; 139 } 140 141 } 142 }).on('blur', function () { 143 $searchBox.parent().removeClass('autocomplete-active'); 144 var $box = $(this); 145 setTimeout(function () { 146 $box.devbridgeAutocomplete('hide'); 147 }, 200); 148 }); 149 }); 150 }; 151} 152 153jQuery(document).ready(function() { 154 /** solr search autocomplete **/ 155 var solrSuggestController = new SuggestController(); 156 solrSuggestController.init(); 157 158 jQuery("body").on("tx_solr_updated", function() { 159 solrSuggestController.init(); 160 }); 161}); 162
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.