Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ /*! * Likely 2.4.0 by Ilya Birman (ilyabirman.net) * Rewritten sans jQuery by Evgeny Steblinsky (volter9.github.io) * Supported by Ivan Akulov (iamakulov.com), Viktor Karpov (vitkarpov.com), * Nikolay Rys (linkedin.com/in/nikolay-rys) and contributors * Inspired by Social Likes by Artem Sapegin (sapegin.me) */ !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.likely=e():t.likely=e()}(this,function(){return function(t){function e(i){if(n[i])return n[i].exports;var r=n[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.i=function(t){return t},e.d=function(t,n,i){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:i})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=20)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"each",function(){return o}),n.d(e,"toArray",function(){return u}),n.d(e,"merge",function(){return c}),n.d(e,"extend",function(){return a}),n.d(e,"getDataset",function(){return s}),n.d(e,"bools",function(){return l}),n.d(e,"template",function(){return p}),n.d(e,"makeUrl",function(){return f}),n.d(e,"query",function(){return d}),n.d(e,"set",function(){return h}),n.d(e,"getDefaultUrl",function(){return v}),n.d(e,"isBrowserEnv",function(){return m});var 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},r={yes:!0,no:!1},o=function(t,e){for(var n in t)t.hasOwnProperty(n)&&e(t[n],n)},u=function(t){return Array.prototype.slice.call(t)},c=function(){for(var t={},e=Array.prototype.slice.call(arguments),n=0;n=0;e--)(o=r[e])&&o.name&&/^data-\w[\w\-]*$/.test(o.name)&&(u=o.name.substr(5).replace(/-./g,c),n[u]=o.value);return n},l=function(t){var e={},n=s(t);for(var i in n)if(n.hasOwnProperty(i)){var o=n[i];e[i]=r[o]||o}return e},p=function(t,e){return t?t.replace(/\{([^\}]+)\}/g,function(t,n){return n in e?e[n]:t}):""},f=function(t,e){for(var n in e)e.hasOwnProperty(n)&&(e[n]=encodeURIComponent(e[n]));return p(t,e)},d=function(t){var e=encodeURIComponent,n=[];for(var r in t)"object"!==i(t[r])&&n.push(e(r)+"="+e(t[r]));return n.join("&")},h=function(t,e,n){var i=e.split("."),r=null;i.forEach(function(e,n){void 0===t[e]&&(t[e]={}),n!==i.length-1&&(t=t[e]),r=e}),t[r]=n},v=function(){var t=document.querySelector('link[rel="canonical"]');return t?t.href:window.location.href.replace(window.location.hash,"")},m="undefined"!=typeof window&&"undefined"!=typeof document&&document.createElement},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),n.d(e,"global",function(){return o}),n.d(e,"wrapSVG",function(){return a}),n.d(e,"createNode",function(){return s}),n.d(e,"getScript",function(){return l}),n.d(e,"getJSON",function(){return p}),n.d(e,"find",function(){return f}),n.d(e,"findAll",function(){return d}),n.d(e,"openPopup",function(){return h}),n.d(e,"createTempLink",function(){return v});var i=n(0),r={},o=i.isBrowserEnv?window:r,u=i.isBrowserEnv?document.createElement("div"):{},c=0;o.__likelyCallbacks={};var a=function(t){return''},s=function(t){return u.innerHTML=t,u.children[0]},l=function(t){var e=document.createElement("script"),n=document.head;e.type="text/javascript",e.src=t,n.appendChild(e),n.removeChild(e)},p=function(t,e){var n=encodeURIComponent("random_fun_"+ ++c),i=t.replace(/callback=(\?)/,"callback=__likelyCallbacks."+n);o.__likelyCallbacks[n]=e,l(i)},f=function(t,e){return(e||document).querySelector(t)},d=function(t,e){return Array.prototype.slice.call((e||document).querySelectorAll(t))},h=function(t,e,n,i){var r=Math.round(screen.width/2-n/2),o=0;screen.height>i&&(o=Math.round(screen.height/3-i/2));var u="left="+r+",top="+o+",width="+n+",height="+i+",personalbar=0,toolbar=0,scrollbars=1,resizable=1",c=window.open(t,e,u);return c?(c.focus(),c):(location.href=t,null)},v=function(t){var e=document.createElement("a");e.href=t,e.style="display: none",document.body.appendChild(e),setTimeout(function(){e.click(),document.body.removeChild(e)})}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={name:"likely",prefix:"likely__"}},function(t,e,n){"use strict";var i=n(9),r=n(0),o=n(10),u=n(11),c=n(12),a=n(13),s=n(14),l=n(15),p=n(16),f=n(17),d={facebook:o.a,linkedin:u.a,odnoklassniki:c.a,pinterest:a.a,telegram:s.a,twitter:l.a,vkontakte:p.a,whatsapp:f.a};n.i(r.each)(d,function(t,e){n.i(i.a)(t),t.name=e}),e.a=d},function(t,e,n){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var r=function(){function t(t,e){for(var n=0;n