core/skin/m2.yurecnt.ru/js/yashare/share.js

17 lines
85 KiB
JavaScript
Raw Normal View History

2023-04-09 19:52:26 +05:00
!function(t){function e(i){if(n[i])return n[i].exports;var M=n[i]={exports:{},id:i,loaded:!1};return t[i].call(M.exports,M,M.exports,e),M.loaded=!0,M.exports}var n={};return e.m=t,e.c=n,e.p="https://yastatic.net/share2/v-1.15.3/",e(0)}([function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}var M="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},u=n(122),o=i(u),r=n(3),a=n(4),j=i(a),L=n(128),c=i(L),s=n(126),g=i(s),N=n(125),y=i(N),l=(0,r.loadPlugins)(),p=(0,r.getFrameUrl)(),D=new j["default"](window.document),I=new c["default"](window,o["default"].metrika.id),d=o["default"].defaults,A=(0,g["default"])({defaults:d,plugins:l,frameUrl:p,metrika:I});(0,y["default"])(window,function(){A(".ya-share2",{reinit:!1})}),I.inject(D),window.Ya=window.Ya||{},window.Ya.share2=function(t,e){if("object"===("undefined"==typeof t?"undefined":M(t))&&1===t.nodeType)return A(t,e)[0];if("string"==typeof t)return 0===t.indexOf("#")&&(console.log("DEPRECATION: use element id instead of query selector for initialization"),t=t.slice(1)),A("#"+t,e)[0];throw new TypeError("Neither element nor element id is provided")}},function(t,e){"use strict";e.__esModule=!0;var n={closest:function(t,e){do if(n.hasClass(t,e))return t;while(t=t.parentNode)},hasClass:function(t,e){var i=n.getClassList(t);return i&&i.indexOf(e)!==-1},toArray:function(t){for(var e=[],n=t.length,i=0;i<n;i+=1)e.push(t[i]);return e},on:function(t,e,n){t.addEventListener?t.addEventListener(e,n,!1):t.attachEvent("on"+e,n)},off:function(t,e,n){t.removeEventListener?t.removeEventListener(e,n,!1):t.detachEvent("on"+e,n)},getTarget:function(t){return t.target||t.srcElement},preventDefault:function(t){t.preventDefault?t.preventDefault():t.returnValue=!1},stopPropagation:function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},getDataset:function(t){if(t.dataset)return t.dataset;for(var e={},n=t.attributes,i=0,M=n.length;i<M;i+=1){var u=n[i].nodeName,o=n[i].nodeValue;if(0===u.indexOf("data-")){var r=u.replace(/^data-/,"").replace(/-([a-z])/g,function(t,e){return e.toUpperCase()});e[r]=o}}return e},getClassList:function(t){return t.classList?n.toArray(t.classList):t.className?t.className.split(" "):void 0},getTextContent:function(t){return"textContent"in t?t.textContent:t.innerText},setTextContent:function(t,e){"textContent"in t?t.textContent=e:t.innerText=e},remove:function(t){return t.parentNode.removeChild(t)},getRectRelativeToDocument:function(t){var e=t.getBoundingClientRect(),n=void 0===window.scrollY?document.documentElement.scrollTop:window.scrollY,i=void 0===window.scrollX?document.documentElement.scrollLeft:window.scrollX,M=e.top+n,u=e.left+i,o=void 0===e.width?e.right-e.left:e.width,r=void 0===e.height?e.bottom-e.top:e.height;return{top:M,left:u,width:o,height:r}}};e["default"]=n},function(t,e){"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,M=function(t){return"function"==typeof Array.isArray?Array.isArray(t):"[object Array]"===i.call(t)},u=function(t){if(!t||"[object Object]"!==i.call(t))return!1;var e=n.call(t,"constructor"),M=t.constructor&&t.constructor.prototype&&n.call(t.constructor.prototype,"isPrototypeOf");if(t.constructor&&!e&&!M)return!1;var u;for(u in t);return"undefined"==typeof u||n.call(t,u)};t.exports=function o(){var t,e,n,i,r,a,j=arguments[0],L=1,c=arguments.length,s=!1;for("boolean"==typeof j?(s=j,j=arguments[1]||{},L=2):("object"!=typeof j&&"function"!=typeof j||null==j)&&(j={});L<c;++L)if(t=arguments[L],null!=t)for(e in t)n=j[e],i=t[e],j!==i&&(s&&i&&(u(i)||(r=M(i)))?(r?(r=!1,a=n&&M(n)?n:[]):a=n&&u(n)?n:{},j[e]=o(s,a,i)):"undefined"!=typeof i&&(j[e]=i));return j}},function(t,e,n){"use strict";function i(){var t=n(114);return t.keys().reduce(function(e,n){var i=n.match(/^\.\/(\w+)\.js/);return i&&(e[i[1]]=t(n)["default"]),e},{})}function M(){return n(34)}function u(t){var e=n(115),i=n(116),M=n(87);return M+Object.keys(t).map(function(n){return"\n.y
},function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTQuMjQ2IDguOTU0aDMuNDF2MTAuMjgxaC0zLjQxem0xLjcyNS00LjkzNWMtMS4xNjcgMC0xLjkyOS43NjktMS45MjkgMS43NzYgMCAuOTg3Ljc0IDEuNzc3IDEuODg0IDEuNzc3aC4wMjJjMS4xOSAwIDEuOTMtLjc5IDEuOTMtMS43NzctLjAyMy0xLjAwNy0uNzQtMS43NzYtMS45MDctMS43NzZ6bTEwLjA1MiA0LjcxNWMtMS44MSAwLTIuNjIuOTk3LTMuMDczIDEuNjk4VjguOTc2SDkuNTRjLjA0NS45NjUgMCAxMC4yODEgMCAxMC4yODFoMy40MXYtNS43NDJjMC0uMzA3LjAyMi0uNjE0LjExMi0uODM0LjI0Ni0uNjEzLjgwNy0xLjI1IDEuNzUtMS4yNSAxLjIzMyAwIDEuNzI3Ljk0NCAxLjcyNyAyLjMyNXY1LjUwMWgzLjQxdi01Ljg5NmMwLTMuMTU4LTEuNjgzLTQuNjI3LTMuOTI2LTQuNjI3eiIgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+"},function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTcuODE1IDEzLjNjLjQzOCAyLjExNC44NjggNC4yMjEgMS4zMDYgNi4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m9yZy8yMDAwL3N2ZyI+PGcgZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIj48cGF0aCBkPSJNMTEuNjc0IDYuNTM2YTEuNjkgMS42OSAwIDAgMC0xLjY4OCAxLjY4OGMwIC45My43NTcgMS42ODcgMS42ODggMS42ODdhMS42OSAxLjY5IDAgMCAwIDEuNjg4LTEuNjg3IDEuNjkgMS42OSAwIDAgMC0xLjY4OC0xLjY4OHptMCA1Ljc2M2E0LjA4IDQuMDggMCAwIDEtNC4wNzYtNC4wNzUgNC4wOCA0LjA4IDAgMCAxIDQuMDc2LTQuMDc3IDQuMDggNC4wOCAwIDAgMSA0LjA3NyA0LjA3NyA0LjA4IDQuMDggMCAwIDEtNC4wNzcgNC4wNzV6TTEwLjAyNSAxNS42MjRhNy42MzMgNy42MzMgMCAwIDEtMi4zNjctLjk4IDEuMTk0IDEuMTk0IDAgMCAxIDEuMjcyLTIuMDIyIDUuMTc1IDUuMTc1IDAgMCAwIDUuNDg5IDAgMS4xOTQgMS4xOTQgMCAxIDEgMS4yNzIgMi4wMjIgNy42NDcgNy42NDcgMCAwIDEtMi4zNjcuOThsMi4yNzkgMi4yOGExLjE5NCAxLjE5NCAwIDAgMS0xLjY5IDEuNjg4bC0yLjIzOC0yLjI0LTIuMjQgMi4yNGExLjE5MyAxLjE5MyAwIDEgMS0xLjY4OS0xLjY4OWwyLjI3OS0yLjI3OSIvPjwvZz48L3N2Zz4="},function(t,e){t.exports="data:image/svg+xml;base64,PHN2ZyB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTYgOS43NDJjMCAxLjU4Lj
c===!0?N+=" "+e:c!==!1&&null!==c&&void 0!==c&&(N+=" "+e+'="'+i(c)+'"');if(j){var l=t.block+(t.elem?this._optDelimElem+t.elem:"");t.block&&(g=u(t,l,null,this._optNobaseMods,this._optDelimMod),t.js&&((s={})[l]=t.js===!0?{}:t.js));var p=this._optJsCls&&(this._optJsElem||!t.elem),D=t.mix;if(D&&D.length)for(e=0,o=D.length;e<o;e++){var I=D[e];if(I&&I.bem!==!1){var d=I.block||t.block||"",A=I.elem||(I.block?null:t.block&&t.elem),S=d+(A?this._optDelimElem+A:"");d&&(g+=u(I,S,l,this._optNobaseMods,this._optDelimMod),I.js&&((s=s||{})[S]=I.js===!0?{}:I.js,y=!0,p||(p=d&&this._optJsCls&&(this._optJsElem||!A))))}}if(s){p&&(g+=" "+this._optJsCls);var T=y||t.js!==!0?M(JSON.stringify(s)):'{"'+l+'":{}}';N+=" "+(t.jsAttr||this._optJsAttrName)+"='"+(this._optJsAttrIsJs?"return "+T:T)+"'"}}t.cls&&(g=(g?g+" ":"")+i(t.cls).trim());var z=t.tag||"div";this._buf+="<"+z+(g?' class="'+g+'"':"")+(N?N:""),this._shortTags[z]?this._buf+="/>":(this._buf+=">",t.html?this._buf+=t.html:this._html(t.content),this._buf+="</"+z+">")}}};var e="area base br col command embed hr img input keygen link menuitem meta param source track wbr".split(" "),n=t.prototype.xmlEscape=function(t){return(t+"").replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;")},i=t.prototype.attrEscape=function(t){return(t+"").replace(/&/g,"&amp;").replace(/"/g,"&quot;")},M=t.prototype.jsAttrEscape=function(t){return(t+"").replace(/&/g,"&amp;").replace(/'/g,"&#39;")},u=function(t,e,n,i,M){var u,o,r,a="";if(n!==e&&(n&&(a+=" "),a+=e),u=t.elem&&t.elemMods||t.mods)for(r in u)o=u[r],(o||0===o)&&(a+=" "+(i?M:e+M)+r+(o===!0?"":M+o));return a};return t}();t.exports=i},function(t,e,n){"use strict";function i(t){for(var e=t.split("."),n=[],i=0;i<e.length;i++){for(var M=e[i];"\\"===M[M.length-1];)M=M.slice(0,-1)+".",M+=e[++i];n.push(M)}return n}var M=n(121);t.exports.get=function(t,e){if(!M(t)||"string"!=typeof e)return t;for(var n=i(e),u=0;u<n.length&&(t=t[n[u]],void 0!==t);u++);return t},t.exports.set=function(t,e,n){if(M(t)&&"string"==typeof e)for(var u=i(e),o=0;o<u.length;o++){var r=u[o];M(t[r])||(t[r]={}),o===u.length-1&&(t[r]=n),t=t[r]}},t.exports["delete"]=function(t,e){if(M(t)&&"string"==typeof e)for(var n=i(e),u=0;u<n.length;u++){var o=n[u];if(u===n.length-1)return void delete t[o];t=t[o]}},t.exports.has=function(t,e){if(!M(t)||"string"!=typeof e)return!1;for(var n=i(e),u=0;u<n.length;u++)if(t=t[n[u]],void 0===t)return!1;return!0}},function(t,e){"use strict";t.exports=function(t){var e=typeof t;return null!==t&&("object"===e||"function"===e)}},function(t,e){"use strict";e.__esModule=!0,e["default"]={metrika:{id:26812653},defaults:{hooks:{onready:function(){},onshare:function(){}},theme:{bare:!1,copy:"last",counter:!1,lang:"ru",limit:!1,popupPosition:"inner",popupDirection:"bottom",services:"collections,vkontakte,facebook,twitter",size:"m",direction:"horizontal"},i18n:{az:{copyLink:"Əlaqə",pressToCopy:"Press ctrl+C and Enter to copy"},be:{copyLink:"Cпасылка",pressToCopy:"Press ctrl+C and Enter to copy"},en:{copyLink:"Copy link",pressToCopy:"Press ctrl+C and Enter to copy"},hy:{copyLink:"Հղում",pressToCopy:"Press ctrl+C and Enter to copy"},ka:{copyLink:"ბმული",pressToCopy:"Press ctrl+C and Enter to copy"},kk:{copyLink:"Сілтеме",pressToCopy:"Press ctrl+C and Enter to copy"},ro:{copyLink:"Link",pressToCopy:"Press ctrl+C and Enter to copy"},ru:{copyLink:"Скопировать ссылку",pressToCopy:"Чтобы скопировать, нажмите ctrl+С и enter"},tr:{copyLink:"Bağlantı",pressToCopy:"Press ctrl+C and Enter to copy"},tt:{copyLink:"Сылтама",pressToCopy:"Press ctrl+C and Enter to copy"},uk:{copyLink:"Посилання",pressToCopy:"Press ctrl+C and Enter to copy"}},content:{template:"default",description:"",image:"",title:window.document.title,url:window.location.href},contentByService:{}}}},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}e.__esModule=!0;var M=n(118),u=i(M),o=n(1),r=i(o),a={findInside:function(t,e){return t.querySelectorAll("."+u["default"].stringify(e))},findOutside:function(
* contentloaded.js
*
* Author: Diego Perini (diego.perini at gmail.com)
* Summary: cross-browser wrapper for DOMContentLoaded
* Updated: 20101020
* License: MIT
* Version: 1.2
*
* URL:
* http://javascript.nwbox.com/ContentLoaded/
* http://javascript.nwbox.com/ContentLoaded/MIT-LICENSE
*
*/
function n(t,e){function n(i){"readystatechange"===i.type&&"complete"!==o.readyState||(("load"===i.type?t:o)[L](c+i.type,n,!1),M||(M=!0,e.call(t,i.type||i)))}function i(){try{r.doScroll("left")}catch(t){return void setTimeout(i,50)}n("poll")}var M=!1,u=!0,o=t.document,r=o.documentElement,a=o.addEventListener,j=a?"addEventListener":"attachEvent",L=a?"removeEventListener":"detachEvent",c=a?"":"on";if("complete"===o.readyState)e.call(t,"lazy");else{if(!a&&r.doScroll){try{u=!t.frameElement}catch(s){}u&&i()}o[j](c+"DOMContentLoaded",n,!1),o[j](c+"readystatechange",n,!1),t[j](c+"load",n,!1)}}e.__esModule=!0,e["default"]=n},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function M(t){return function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return"string"==typeof e&&(e=L["default"].toArray(document.querySelectorAll(e))),Array.isArray(e)||(e=[e]),n.reinit===!1&&(e=e.filter(function(t){return!(0,N.hasClass)(t,"ya-share2_inited")})),e.map(function(e){var i=new a["default"](e,(0,o["default"])({options:n},t));return i.isBare()||l||(y.injectCss((0,c.getCss)(t.plugins)),l=!0),i})}}e.__esModule=!0,e["default"]=M;var u=n(2),o=i(u),r=n(131),a=i(r),j=n(1),L=i(j),c=n(3),s=n(4),g=i(s),N=n(117),y=new g["default"](window.document),l=!1},,function(t,e){"use strict";e.__esModule=!0;var n=function(t,e){this._window=t,this._namespace="yandex_metrika_callbacks",this._id=e};n.prototype.inject=function(t){var e=this,n=t.injectJs("https://mc.yandex.ru/metrika/watch.js"),i="function"==typeof this._window.jQuery;this._window[this._namespace]=this._window[this._namespace]||[],this._window[this._namespace].push(function(){try{e._window["yaCounter"+e._id]=new window.Ya.Metrika({id:e._id,trackLinks:!0,accurateTrackBounce:!0,params:{jquery:i,version:i&&e._window.jQuery().jquery,shareVersion:2}}),n.parentNode.removeChild(n)}catch(t){console.error(t)}})},n.prototype.getCounter=function(){return this._window["yaCounter"+this._id]},e["default"]=n},function(t,e,n){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function M(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function u(t,e){var n=(0,g["default"])(!0,{},t,{contentByService:{}});return Object.keys(e).forEach(function(t){var i=e[t];Object.keys(i).forEach(function(e){var M="contentByService."+t+"."+e,u=i[e];y["default"].set(n,M,u)})}),n}function o(t){var e={};return Object.keys(t).forEach(function(n){var i=n.split(":"),M=c(i,2),u=M[0],o=M[1],a=p[u]||p._defaults,j=a.group,L=a.type,s=r(L,t[n]),g=void 0;if(o){if("content"!==j)return;g="contentByService."+o+"."+u}else g=j+"."+u;y["default"].set(e,g,s)}),e}function r(t,e){switch(t){case"boolean":return void 0!==e;default:return e}}function a(t,e){var n={};return Object.keys(t).forEach(function(i){var M=t[i];"object"===("undefined"==typeof M?"undefined":L(M))&&null!==M&&("contentByService"===i?!function(){var t=M;Object.keys(t).forEach(function(i){var u=t[i];"object"===("undefined"==typeof M?"undefined":L(M))&&null!==M&&Object.keys(u).forEach(function(t){var M=u[t],o="contentByService."+i+"."+t;void 0===y["default"].get(e,"content."+t)&&void 0===y["default"].get(e,"contentByService."+i+"."+t)||y["default"].set(n,o,M)})})}():!function(){var t=M;Object.keys(t).forEach(function(M){var u=t[M],o=i+"."+M;void 0!==y["default"].get(e,i+"."+M)&&y["default"].set(n,o,u)})}())}),n}function j(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},M=u(e,t),r=o(n),j=a(r,M),L=a(i,M);return new l(M,j,L)}e.__esModule=!0,e.Storage=void 0;var L="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},c=function(){function t(t,e){var n=[],i=!0,M=!1,u=void 0;try{for(var o,r=t[Symbol.iterator]();!(i=(o=r.next()).done)&&(n.push(o.value),!e||n.length!==e);i=!0);}catch(a){M=!0,u=a}finally{try{!i&&r["return"]&&r["return"]()}finally{if(M)throw u}}return n}return function(e,n){if(Array.isArray(e))return e;if(Symbol.iter