1!function(t){"function"==typeof define&&define.amd?define("scripts",t):t()}(function(){"use strict";function t(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,a=Array(e);n<e;n++)a[n]=t[n];return a}function e(t,e){for(var n=0;n<e.length;n++){var a=e[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(t,i(a.key),a)}}function n(t,e){var n="undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=r(t))||e&&t&&"number"==typeof t.length){n&&(t=n);var a=0,i=function(){};return{s:i,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,c=!0,s=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return c=t.done,t},e:function(t){s=!0,o=t},f:function(){try{c||null==n.return||n.return()}finally{if(s)throw o}}}}function a(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var a,i,r,o,c=[],s=!0,f=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;s=!1}else for(;!(s=(a=r.call(n)).done)&&(c.push(a.value),c.length!==e);s=!0);}catch(t){f=!0,i=t}finally{try{if(!s&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(f)throw i}}return c}}(t,e)||r(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var a=n.call(t,e||"default");if("object"!=typeof a)return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}function r(e,n){if(e){if("string"==typeof e)return t(e,n);var a={}.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?t(e,n):void 0}}var o=function(){return t=function t(){var e=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.stack=[],document.addEventListener("keyup",function(t){if("Escape"===t.key||"Esc"===t.key){var n=e.stack.pop();n&&"function"==typeof n.callback&&n.callback(e)}})},(n=[{key:"push",value:function(t,e){return this.off(t),this.stack.push({name:t,callback:e}),this}},{key:"off",value:function(t){return this.stack=this.stack.filter(function(e){return e.name!==t}),this}}])&&e(t.prototype,n),a&&e(t,a),Object.defineProperty(t,"prototype",{writable:!1}),t;var t,n,a}();jQuery(function(t){var e="list",i="tabs",r="popup",c=".js-abc-pagination-container",s=".js-abc-pagination-letter-list",f=".js-abc-pagination-letter",u=".js-abc-pagination-tab",l=".js-abc-pagination-post",d=new o;t(document).on("click",".js-abc-pagination-search",function(n){var o=t(n.currentTarget),s=o.parents(c);if(!s.find(".js-abc-pagination-search-popup").length){var p,h=o.data("search_id"),v=o.data("type"),b=t("#"+h).html().trim(),m=t(b).addClass("js-abc-pagination-search-popup"),g=m.find("input");m.prependTo(s),m.fadeIn(100),m.outerWidth()<s.outerWidth()&&m.css({left:parseInt((s.outerWidth()-m.outerWidth())/2)}),g.val(s.data("search-value")),g.focus().select(),g.on("keyup",function(n){clearTimeout(p),"Escape"!==n.key&&"Esc"!==n.key&&(p=setTimeout(function(){var o=n.currentTarget.value.trim();if(s.data("search-value",o),o.length>1){if(s.find(".js-abc-pagination-show-more").hide(),v!==e&&v!==i||(s.find(u).hide(),s.find(l).hide(),s.find(".js-abc-pagination-post-title").each(function(){var e=t(this);y(o,e.text().trim())&&(e.parents(u).show(),e.parents(l).show())})),v===r){var c={};s.find(".js-abc-pagination-post-title").each(function(){var e=t(this);if(y(o,e.text().trim())){var n=e.parents(u),a=n.attr("id");if(void 0===a)return;a&&void 0===c[a]?(n=n.clone(),c[a]=n,n.find(".js-abc-pagination-close").remove(),n.show().find(".abc-pagination-tab__posts").empty(),n.removeAttr("id")):n=c[a],e.parents(l).each(function(){var e=t(this).clone();e.removeAttr("id"),e.show().addClass("visible").appendTo(n.find(".abc-pagination-tab__posts"))})}}),m.find(u).remove();for(var f=0,d=Object.entries(c);f<d.length;f++){var p=a(d[f],2),h=(p[0],p[1]);m.append(h)}}}else v===r&&m.find(u).remove(),j()},250))}),d.push("close-search#"+h,w),m.on("click",".js-abc-pagination-search-close",w)}function y(t,e){return-1!==e.toLowerCase().indexOf(t.toLowerCase())}function j(){if(v===e&&s.find(u).show(),v===i){s.find(u).hide();var n=s.find(f+".active");n.length?s.find(decodeURIComponent(n.attr("href"))).show():s.find(f).first().show()}s.find(l).css({display:""}),s.find(".js-abc-pagination-show-more").each(function(){var e=t(this);e.data("_activated")||e.show()})}function w(){m.fadeOut(100,function(){m.remove(),j()})}}),t(document).on("click",".js-abc-pagination-show-more",function(e){e.preventDefault();var n=t(e.currentTarget);n.hide().data("_activated",1),n.parents(u).find(l).fadeIn(150).addClass("visible");var a=n.parents(c),i=a.find(s);if(r===i.data("type")){var o=n.parents(u);h(a.find('.js-abc-pagination-letter[href="#'+o.attr("id")+'"]'),a,o)}}),t(document).on("click",f,function(n){var a=t(n.currentTarget),o=a.parents(s);switch(o.data("type")!==e&&(o.find(f).removeClass("active"),a.addClass("active")),o.data("type")){case i:n.preventDefault(),function(t){var e=t.parents(c);if(e.find(u).hide(),t&&t.length&&t.attr("href").length>1){var n=t.attr("href");e.find(decodeURIComponent(n)).show()}}(a);break;case r:n.preventDefault(),function(e){var n=e.parents(c);if(n.find(u+".active").each(function(){var e=t(this);e.removeClass("active"),p(e)}),n.find(u).hide().removeClass("active"),e&&e.length&&e.attr("href").length>1){var a=e.attr("href"),i=n.find(decodeURIComponent(a));i.addClass("active"),function(t){t.length&&(t.show(),d.push("close-popup#"+t.attr("id"),function(e){p(t),t.parents(c).find('.js-abc-pagination-letter[href="#'+t.attr("id")+'"]').removeClass("active").blur(),e.off("close-popup#"+t.attr("id"))}))}(i),h(e,n,i)}}(a)}}).on("click",".js-abc-pagination-close",function(e){e.preventDefault();var n=t(e.target).parents(u);n.removeClass("active"),p(n),n.parents(c).find('.js-abc-pagination-letter[href="#'+n.attr("id")+'"]').removeClass("active")});
1function p(t){t.length&&(t.hide(),d.off("close-popup#"+t.attr("id")))}function h(t,e,n){var a=n.outerWidth(),i=e.outerWidth();if(!(a>=i)){var r=t.position().left+t.outerWidth()/2,o=r-a/2;o<=0||(r+a/2>i?n.css({right:0}):n.css({left:o}))}}function v(e){e.length&&e.each(function(){var e=t(this);t.ajax({url:abc_pagination_ajax.url,data:{action:"abc_pagination_fetch_content",params:e.data("params")}}).done(function(n){n.success?e.replaceWith(t(n.data.html)):console.error("Unable to fetch abc-pagination data",n)})})}t(document).on("click",function(e){var n=t(e.target);n.hasClass("js-abc-pagination-letter")||n.parent().hasClass("js-abc-pagination-letter")||n.parents(u).length||n.hasClass("js-abc-pagination-tab")||t('.js-abc-pagination-tab-list[data-type="'+r+'"] '+u+".active").each(function(){var e=t(this);e.removeClass("active"),p(e),e.parents(c).find(f).removeClass("active")})}),v(t(".js-abc-pagination-ajax")),new MutationObserver(function(e){var a,i=n(e);try{for(i.s();!(a=i.n()).done;){var r,o=n(a.value.addedNodes);try{for(o.s();!(r=o.n()).done;){var c=r.value;c instanceof HTMLElement&&(c.classList.contains("js-abc-pagination-ajax")?v(t(c)):v(t(c).find(".js-abc-pagination-ajax")))}}catch(t){o.e(t)}finally{o.f()}}}catch(t){i.e(t)}finally{i.f()}}).observe(document.body,{childList:!0,subtree:!0})})}); 2!function(e){"function"==typeof define&&define.amd?define("omnivideo",e):e()}((function(){"use strict";function e(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function t(e,t,r,n,o,i,a){try{var c=e[i](a),s=c.value}catch(e){return void r(e)}c.done?t(s):Promise.resolve(s).then(n,o)}function r(e){return function(){var r=this,n=arguments;return new Promise((function(o,i){var a=e.apply(r,n);function c(e){t(a,o,i,c,s,"next",e)}function s(e){t(a,o,i,c,s,"throw",e)}c(void 0)}))}}function n(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function o(e,t,r){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(){c=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",s=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag";function l(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,r){return e[t]=r}}function f(e,t,r,n){var i=t&&t.prototype instanceof b?t:b,a=Object.create(i.prototype),c=new P(n||[]);return o(a,"_invoke",{value:_(e,r,c)}),a}function d(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",h="suspendedYield",v="executing",m="completed",y={};function b(){}function w(){}function g(){}var k={};l(k,a,(function(){return this}));var x=Object.getPrototypeOf,L=x&&x(x(T([])));L&&L!==r&&n.call(L,a)&&(k=L);var E=g.prototype=b.prototype=Object.create(k);function S(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}
vendor: 5,010 bytes, line 2
2))}function A(e,t){function r(o,i,a,c){var s=d(e[o],e,i);if("throw"!==s.type){var u=s.arg,l=u.value;return l&&"object"==typeof l&&n.call(l,"__await")?t.resolve(l.__await).then((function(e){r("next",e,a,c)}),(function(e){r("throw",e,a,c)})):t.resolve(l).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,c)}))}c(s.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){r(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function _(t,r,n){var o=p;return function(i,a){if(o===v)throw Error("Generator is already running");if(o===m){if("throw"===i)throw a;return{value:e,done:!0}}for(n.method=i,n.arg=a;;){var c=n.delegate;if(c){var s=j(c,n);if(s){if(s===y)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===p)throw o=m,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=v;var u=d(t,r,n);if("normal"===u.type){if(o=n.done?m:h,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(o=m,n.method="throw",n.arg=u.arg)}}}function j(t,r){var n=r.method,o=t.iterator[n];if(o===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,j(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var i=d(o,t.iterator,r.arg);if("throw"===i.type)return r.method="throw",r.arg=i.arg,r.delegate=null,y;var a=i.arg;return a?a.done?(r[t.resultName]=a.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function O(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(O,this),this.reset(!0)}function T(t){if(t||""===t){var r=t[a];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function r(){for(;++o<t.length;)if(n.call(t,o))return r.value=t[o],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return w.prototype=g,o(E,"constructor",{value:g,configurable:!0}),o(g,"constructor",{value:w,configurable:!0}),w.displayName=l(g,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===w||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,u,"GeneratorFunction")),e.prototype=Object.create(E),e},t.awrap=function(e){return{__await:e}},S(A.prototype),l(A.prototype,s,(function(){return this})),t.AsyncIterator=A,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new A(f(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},S(E),l(E,u,"Generator"),l(E,a,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=T,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function o(n,o){return c.type="throw",c.arg=t,r.next=n,o&&(r.method="next",r.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var s=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(s&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];
2if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;C(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,c=[],s=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=i.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(e){u=!0,o=e}finally{try{if(!s&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return c}}(e,t)||l(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(t){return function(t){if(Array.isArray(t))return e(t)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||l(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(t,r){if(t){if("string"==typeof t)return e(t,r);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?e(t,r):void 0}}function f(){var e;if(void 0!==(null===(e=navigator.userAgentData)||void 0===e?void 0:e.mobile))return navigator.userAgentData.mobile;var t=navigator.userAgent||"";return!!/Mobi|Android|iPhone|iPad|iPod/i.test(t)||window.matchMedia("(max-width: 767px)").matches}function d(e,t){return p.apply(this,arguments)}function p(){return p=r(c().mark((function e(t,r){var n,o,i,s,u,l,d,p,v,m;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.container,o=t.options,i=t.i18n,s=t.omniVideoBlock,u=t.signal,o=a(a({},{ajaxUrl:"/wp-admin/admin-ajax.php",timeToClose:5,duration:20,nextShowDelay:3600,progressType:"circle",blockHeight:"fixed"}),o),n.innerHTML="",l="wp_omnivideo_next_show",!o.nextShowDelay){e.next=10;break}if(!((d=localStorage.getItem(l))&&parseInt(d)>Date.now())){e.next=8;break}return e.abrupt("return",r);case 8:e.next=11;break;case 10:localStorage.removeItem(l);case 11:if(null==u||!u.aborted){e.next=13;break}return e.abrupt("return",r);case 13:return e.prev=13,(p=new FormData).append("action","omnivideo_get_intro"),p.append("is_mobile",f()?"1":"0"),e.next=19,fetch(o.ajaxUrl,{method:"POST",body:p,signal:u});case 19:if(!(v=e.sent).ok){e.next=41;break}return e.next=23,v.json();case 23:if((v=e.sent).success){e.next=28;break}return console.warn("Unable to load intro."),console.log(v),e.abrupt("return",r);case 28:if(v.data.html){e.next=30;break}return e.abrupt("return",r);case 30:if(o.nextShowDelay&&(m=Date.now()+1e3*o.nextShowDelay,localStorage.setItem(l,m)),"responsive"===o.blockHeight&&(null==s||s.classList.add("is-intro-responsive-height")),null==u||!u.aborted){e.next=34;break}return e.abrupt("return",r);case 34:return e.next=36,h({container:n,html:v.data.html,duration:parseFloat(o.duration),timeToClose:parseFloat(o.timeToClose),i18n:i,progressType:o.progressType,signal:u});case 36:if(null==s||s.classList.remove("is-intro-responsive-height"),null==u||!u.aborted){e.next=39;break}return e.abrupt("return",r);case 39:e.next=42;break;case 41:console.error("HTTP Error: "+v.status);case 42:e.next=47;break;case 44:e.prev=44,e.t0=e.catch(13),console.error(e.t0);case 47:return e.abrupt("return",r);case 48:case"end":return e.stop()}}),e,null,[[13,44]])}))),p.apply(this,arguments)}function h(e){return v.apply(this,arguments)}function v(){return v=r(c().mark((function e(t){var r,n,o,i,a,s,u;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=t.container,n=t.html,o=t.duration,i=t.t
2imeToClose,a=t.i18n,s=t.progressType,u=t.signal,e.abrupt("return",new Promise((function(e){if(null!=u&&u.aborted)e();else switch(m(r,n,1e3*o,u),s){case"circle":!function(t){var n=t.progressDuration,o=t.crossDelay,i=t.closeCallback,a=!1,c=r.querySelector(".js-omnivideo-intro-circle-container"),s=c.querySelector(".js-omnivideo-intro-circle-timer"),l=c.querySelector(".js-omnivideo-intro-circle-cross"),f=c.querySelector(".js-omnivideo-intro-circle-progress"),d=c.querySelector(".js-omnivideo-intro-circle-bg"),p=c,h=p.offsetWidth,v=parseFloat(getComputedStyle(p).getPropertyValue("--omnivideo-intro-circle-stroke")),m=h/2-v,y=2*Math.PI*m;function b(){s.style.display="none",l.classList.add("show"),c.classList.add("enabled"),c.addEventListener("click",(function(){i&&i(),a=!0}))}[f,d].forEach((function(e){e.setAttribute("cx",h/2),e.setAttribute("cy",h/2),e.setAttribute("r",m)})),f.style.strokeDasharray=y,f.style.strokeDashoffset=y;var w=Math.min(o,n);function g(e,t){if(a)return!1;if(u.aborted)return!1;var r=(t-e)/1e3,o=Math.min(r/n,1);f.style.strokeDashoffset=y*(1-o);var i=Math.ceil(w-r);return r<w?s.textContent=i:l.classList.contains("show")||b(),o<1}function k(){var t=performance.now();function r(){var n=performance.now();g(t,n)?requestAnimationFrame(r):e()}requestAnimationFrame(r)}function x(){var t=Date.now(),r=setInterval((function(){var n=Date.now();g(t,n)||(clearInterval(r),e())}),30)}window.requestAnimationFrame?k():x()}({progressDuration:o,crossDelay:i});break;case"bar":!function(t){var n=t.progressDuration,o=t.crossDelay,i=t.closeCallback,c=r.querySelector(".js-omnivideo-intro-progress-bar"),s=r.querySelector(".js-omnivideo-intro-close"),l=r.querySelector(".js-omnivideo-intro-header-message"),f=!1;function d(){s.classList.add("show"),s.addEventListener("click",(function(e){e.preventDefault(),i&&i(),f=!0}))}function p(e,t){if(f)return!1;if(u.aborted)return!1;var r=(t-e)/1e3,i=Math.min(r/n,1);if(c.style.width=100*i+"%",o<n)if(r>=o&&!s.classList.contains("show"))d(),l.remove();else{l.classList.contains("show")||(l.style.display="block",l.style.visibility="visible",l.style.opacity=1);var p=Math.ceil(o-r);l.textContent=a.closeIn.replace("{timeLeft}",p)}return i<1}function h(){var t=performance.now();function r(){var n=performance.now();p(t,n)?requestAnimationFrame(r):e()}requestAnimationFrame(r)}function v(){var t=Date.now(),r=setInterval((function(){var n=Date.now();p(t,n)||(clearInterval(r),e())}),30)}window.requestAnimationFrame?h():v()}({progressDuration:o,crossDelay:i})}})));case 2:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function m(e,t,r,n){return y.apply(this,arguments)}function y(){return(y=r(c().mark((function e(t,o,i,a){return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.race([r(c().mark((function e(){var r,i,s,l,f;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null==a||!a.aborted){e.next=2;break}throw new Error("Aborted");case 2:if(t.innerHTML="",r=document.createRange().createContextualFragment(o),(i=u(r.querySelectorAll("script"))).forEach((function(e){return e.remove()})),null==a||!a.aborted){e.next=8;break}throw new Error("Aborted");case 8:t.append.apply(t,u(r.childNodes)),s=n(i),e.prev=10,s.s();case 12:if((l=s.n()).done){e.next=20;break}if(f=l.value,null==a||!a.aborted){e.next=16;break}throw new Error("Aborted");case 16:return e.next=18,b(f,t);case 18:e.next=12;break;case 20:e.next=25;break;case 22:e.prev=22,e.t0=e.catch(10),s.e(e.t0);case 25:return e.prev=25,s.f(),e.finish(25);case 28:case"end":return e.stop()}}),e,null,[[10,22,25,28]])})))(),new Promise((function(e,t){setTimeout((function(){return t(new Error("Timeout exceeded"))}),i-50)}))]));case 1:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function b(e,t){return new Promise((function(r,o){var i,a=document.createElement("script"),c=n(e.attributes);try{for(c.s();!(i=c.n()).done;){var s=i.value,u=s.name,l=s.value;a.setAttribute(u,l)}}catch(e){c.e(e)}finally{c.f()}e.src?(a.onload=function(){return r()},a.onerror=function(){return o(new Error("Script loading error ".concat(e.src)))},t.appendChild(a)):(a.textContent=e.textContent,t.appendChild(a),r())}))}window.OmniVideoVersion="1.2.0";var w=window.omnivideo_options||{},g=a(a({},{width:730,height:411,defaultSearchParams:{autoplay:1},ratioClass:"omnivideo-embed--16-9",clipRatioClass:"omnivideo-embed--9-16"}),w.iframeOptions||{}),k=w.i18n,x=(a(a({},{vk:{iframe:{width:325,height:646},search:{hd:2}}}),w.providers||{}),"function"==typeof window.omnivideo_configure_iframe?window.omnivideo_configure_iframe:function(){});function L(e){var t,n=!1,o=w.intro.enabled&&!!parseInt(e.dataset.intro),i=e.querySelector(".omnivideo-poster"),a=e.getAttribute("data-default"),u=0;(e.querySelectorAll(".omnivideo-link[data-type]").forEach((function(i){i.addEventListener("click",function(){var i=r(c().mark((function r(i){var a,l,f,p,h,v,m,y,b,L,E,A,_,j,O,C,P,T,D;return c().wrap((function(r){for(;;)switch(r.prev=r.next){case 0:if(i.preventDefault(),a=i.currentTarget,l=n,n=!1,!a.classList.contains("current")){r.next=6;break}return r.abrupt("return");case 6:if(e.querySelectorAll(".omnivideo-link").forEach((function(e){return e.classList.remove("current")})),a.classList.add("current"),e.classList.add("omnivideo-block--playing"),f=e.querySelector(".omnivideo-embed"),e.querySelector(".omnivideo-embed-container").style.display="block",!o){r.next=20;break}return null===(p=t)||void 0===p||p.abort("Skip show intro"),t=new AbortController,r.next=17,d({container:f,options:w.intro,i18n:k,om
2niVideoBlock:e,signal:t.signal},++u);case 17:if(h=r.sent,u===h){r.next=20;break}return r.abrupt("return");case 20:if(f.innerHTML='<div class="omnivideo-loader"></div>',v=a.dataset,m=v.type,y=v.url,b=v.is_clip,L=S(y)){r.next=25;break}return r.abrupt("return");case 25:if(E=!!parseInt(b),"mp4"!==m){r.next=37;break}return(A=document.createElement("video")).setAttribute("controls","controls"),g.defaultSearchParams.autoplay&&!n&&A.setAttribute("autoplay","autoplay"),A.setAttribute("width","100%"),document.dispatchEvent(new CustomEvent("omnivideo/init_block/before_insert_video",{detail:{embedContainer:f,video:A,type:m,url:L,isClickTriggered:l}})),A.innerHTML='<source src="'.concat(L,'" type="video/mp4">Your browser does not support the video tag.'),f.innerHTML="",f.appendChild(A),document.dispatchEvent(new CustomEvent("omnivideo/init_block/after_insert_video",{detail:{embedContainer:f,video:A,type:m,url:L,isClickTriggered:l}})),r.abrupt("return");case 37:for((_=document.createElement("iframe")).width=g.width,_.height=g.height,_.setAttribute("allow","autoplay; fullscreen; picture-in-picture; encrypted-media; gyroscope; accelerometer; clipboard-write; web-share"),_.setAttribute("frameborder","0"),_.setAttribute("allowfullscreen",""),_.setAttribute("referrerpolicy","strict-origin-when-cross-origin"),j=0,O=Object.entries(g.defaultSearchParams);j<O.length;j++)C=s(O[j],2),P=C[0],T=C[1],D=T,"autoplay"===P&&l&&(D=0),L.searchParams.has(P)||L.searchParams.append(P,D);_.src=L,x(_,m,y,n,f),document.dispatchEvent(new CustomEvent("omnivideo/init_block/before_insert_iframe",{detail:{embedContainer:f,iframe:_,type:m,url:L,isClickTriggered:l}})),f.innerHTML="",E?(f.classList.remove("omnivideo-embed--16-9","omnivideo-embed--9-16","omnivideo-embed--1-1","omnivideo-embed--4-3","omnivideo-embed--21-9","omnivideo-embed--4-5"),f.classList.add(g.clipRatioClass)):(f.classList.remove(g.clipRatioClass),f.classList.add(g.ratioClass)),f.appendChild(_),document.dispatchEvent(new CustomEvent("omnivideo/init_block/after_insert_iframe",{detail:{embedContainer:f,iframe:_,type:m,url:L,isClickTriggered:l}}));case 52:case"end":return r.stop()}}),r)})));return function(e){return i.apply(this,arguments)}}())})),i&&i.addEventListener("click",(function(){var t,r=e.querySelector('.omnivideo-link[data-type="'.concat(a,'"]'));r?r.click():null===(t=e.querySelector(".omnivideo-link[data-type]"))||void 0===t||t.click()})),a&&!i)&&new IntersectionObserver((function(t,r){t.forEach((function(t){if(t.isIntersecting){var o=e.querySelector('.omnivideo-link[data-type="'.concat(a,'"]'));o&&(n=!0,o.click(),o.classList.add("current"),e.classList.add("omnivideo-block--playing")),r.unobserve(e)}}))}),{threshold:.1}).observe(e)}function E(e){e.addEventListener("click",(function(t){t.preventDefault();var r=e.getAttribute("data-href")||e.getAttribute("href");if(r){var n=atob(r);"_blank"===(e.getAttribute("data-target")||e.getAttribute("target"))?window.open(n,"_blank").opener=null:window.location.href=n}}))}function S(e){try{return e.startsWith("//")?new URL((window.location.protocol||"https:")+e):(/^https?:\/\//i.test(e)||(e="https://"+e),new URL(e))}catch(e){return console.error("Invalid URL:",e),null}}document.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".omnivideo-block").forEach(L),document.querySelectorAll(".js-omnivideo-pseudo").forEach(E)})),new MutationObserver((function(e){var t,r=n(e);try{for(r.s();!(t=r.n()).done;){var o,i=n(t.value.addedNodes);try{for(i.s();!(o=i.n()).done;){var a=o.value;if(a instanceof HTMLElement){a.classList.contains("omnivideo-block")&&L(a);var c,s=n(a.querySelectorAll(".omnivideo-block"));try{for(s.s();!(c=s.n()).done;){L(c.value)}}catch(e){s.e(e)}finally{s.f()}a.classList.contains("js-omnivideo-pseudo")&&E(a);var u,l=n(a.querySelectorAll(".js-omnivideo-pseudo"));try{for(l.s();!(u=l.n()).done;){E(u.value)}}catch(e){l.e(e)}finally{l.f()}}}}catch(e){i.e(e)}finally{i.f()}}}catch(e){r.e(e)}finally{r.f()}})).observe(document.body,{childList:!0,subtree:!0}),function(e){if(e){var t=function(t){var r=t.detail,n=r.type,o=r.url;r.isClickTriggered||function(t,r){if("undefined"==typeof ym)return;try{ym(e,"reachGoal",t,r,(function(){}))}catch(e){console.error(e)}}("omnivideo/show",{type:n,url:o})};document.addEventListener("omnivideo/init_block/after_insert_iframe",t),document.addEventListener("omnivideo/init_block/after_insert_video",t),document.addEventListener("omnivideo/init_block/after_insert_script",t)}}(w.metrikaCounter)})); 3!function(t){"function"==typeof define&&define.amd?define("scripts",t):t()}((function(){"use strict";function t(t,e,n){var o;if(n){var i=new Date;i.setTime(i.getTime()+24*n*60*60*1e3),o="; expires="+i.toGMTString()}else o="";document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)+o+"; path=/"}function e(t){return 0===t?"":t}window.isMobile=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent),window.isSearchBot=/Bot/i.test(navigator.userAgent),window.addEventListener("DOMContentLoaded",(function(){window.isMobile&&document.body.classList.add("is-mobile")})),jQuery((function(t){var e=t(window).width(),n=t(".js-scrolltop");n.on("click",(function(){return t("body,html").animate({scrollTop:0},500)})),t(window).on("scroll",(function(){t(this).scrollTop()>100?e<991?"on"===n.data("mob")&&n.fadeIn():n.fadeIn():n.fadeOut()}))})),jQuery((function(t){t(document).on("click",".js-spoiler-box-title",(function(){t(this).toggleClass("active").next().slideToggle()}))})),function(t,e,n){n&&(n.fn.wpshoplightbox=function(o){var i=n(this),a=n('<div class="wpshoplightbox-container" role="dialog" tabindex="-1"><div class="wpshoplightbox-bg"></div><div class="wpshoplightbox-inner"><div class="wpshoplightbox-close"><svg width="17" height="17" xmlns="http://www.w3.org/2000/svg"><path fill="none" d="M-1-1h19v19h-19z"/><path fill="#fff" d="M8.485 7.071l-7.071-7.071-1.414 1.414 7.071 7.071-7.071 7.071 1.414 1.414 7.071-7.071 7.071 7.071 1.414-1.414-7.071-7.071 7.071-7.071-1.414-1.414-7.071 7.071z"/></svg></div><div class="wpshoplightbox-body"><div class="wpshoplightbox-image"></div></div><div class="wpshoplightbox-caption"></div></div></div>');i.on("click",(function(){var o=n(this).attr("href"),i=e.createElement("img"),r=n(i);
3if(o.match(/(\.jpg|\.gif|\.jpeg|\.png|\.webp|\.svg)$/i))return r.attr("src",o),a.appendTo("body")[0],n("head").append('<style id="wpshoplightbox-scroll-style" type="text/css">.wpshoplightbox-scroll{margin-right:'+(t.innerWidth-e.documentElement.clientWidth)+"px;}</style>"),n("body").addClass("wpshoplightbox-scroll"),a.find(".wpshoplightbox-image").html(r),setTimeout((function(){a.addClass("wpshoplightbox--open")}),10),!1})),n(e).on("click",".wpshoplightbox-body, .wpshoplightbox-close",(function(){n(e).find(".wpshoplightbox-container").removeClass("wpshoplightbox--open"),setTimeout((function(){n(e).find(".wpshoplightbox-container").remove()}),400),n("body").removeClass("wpshoplightbox-scroll"),n("#wpshoplightbox-scroll-style").remove()}))})}(window,document,jQuery),jQuery((function(t){var e=window.wpshop_ajax||window.wps_ajax;void 0!==e?(t(document).on("click",".js-star-rating-item",(function(){var n=t(this),o=n.parent(),i=n.data("score"),a=o.data("post-id"),r=o.data("rating-count"),s=o.data("rating-sum"),c=o.data("rating-value");if(!o.hasClass("disabled")){o.addClass("disabled process");var l={action:"wpshop_star_rating_submit",nonce:e.nonce,post_id:a,score:i,rating_count:r,rating_sum:s,rating_value:c};jQuery.post(e.url,l,(function(e){if(e.success){r++,c=((s+=i)/r).toFixed(2);var a="assessment",l=t("html").attr("lang");"undefined"!=typeof rating_count_text_filter?a=rating_count_text_filter:("ru-RU"===l&&(a=d(r,["оÑенка","оÑенки","оÑенок"])),"uk"===l&&(a=d(r,["оÑÑнка","оÑÑнки","оÑÑнок"]))),n.parent().parent().find(".star-rating-text").html("<em>(<strong>"+r+"</strong> "+a+", "+settings_array.rating_text_average+" <strong>"+c+"</strong> "+settings_array.rating_text_from+" <strong>5</strong>)</em></div>")}else e.data,console.log(e);o.removeClass("process")}))}function d(t,e){return e[t%100>4&&t%100<20?2:[2,0,1,1,1,2][t%10<5?t%10:5]]}})),t(".js-star-rating-item").on({mouseenter:function(){t(this).parent().hasClass("disabled")||(t(this).parent().addClass("hover"),t(this).addClass("hover").prevAll().addClass("hover"))},mouseleave:function(){t(this).parent().hasClass("disabled")||(t(this).parent().removeClass("hover"),t(".js-star-rating-item").removeClass("hover"))}})):console.error("Unable to find ajax parameters for rating scrips")})),jQuery(document).ready((function(t){function e(e){if(0!==e.length){var n=t(window).scrollTop(),o=n+t(window).height();if(t("body").is(":animated"))for(console.log("animated"),s=0;s<e.length;s++)e[s].curTopOffset<=n&&(console.log("body anim"),t(e[s]).removeClass("w-animate w-animate_no-hover"));!function(e,n){if(e.length)for(var o=0;o<e.length;o++){var a=i(t(e[o]),n);e[o].curTopOffset<a&&(t(e[o]).removeClass("w-animate--wait"),t(e[o]).addClass("w-animate--started"))}}(e,o)}}function n(){var n=t(".w-animate");function r(){!function(e){for(var n=0;n<e.length;n++)e[n].curTopOffset=t(e[n]).offset().top}(n)}!function(e){var n=t(window).scrollTop(),a=n+t(window).height();e.each((function(){var e=t(this),r=e.offset().top;r<n-450&&e.removeClass("w-animate w-animate_no-hover");var s=i(e,a);!function(t,e,n){var i=t.attr("data-animate-style"),a=t.attr("data-animate-distance");0!==a&&""!==a&&(void 0===a&&(a="40"),a=a.replace("px",""),t.css({"transition-duration":"0s","transition-delay":"0s"}),"fadeinup"===i&&t.css("transform","translate3d(0,"+a+"px,0)"),"fadeindown"===i&&t.css("transform","translate3d(0,-"+a+"px,0)"),"fadeinleft"===i&&t.css("transform","translate3d("+a+"px,0,0)"),"fadeinright"===i&&t.css("transform","translate3d(-"+a+"px,0,0)"),o(t,e,n),t.css({"transition-duration":"","transition-delay":""}));var r=t.attr("data-animate-scale");0!==r&&""!==r&&(t.css({"transition-duration":"0s","transition-delay":"0s"}),t.css("transform","scale("+r+")"),o(t,e,n),t.css({"transition-duration":"","transition-delay":""}));var s=t.attr("data-animate-delay");0!==s&&""!==s&&(void 0===s&&(s=Math.random()/4),t.css("transition-delay",s+"s"));var c=t.attr("data-animate-duration");void 0===c&&(c="1.5");0!==c&&""!==c&&t.css("transition-duration",c+"s")}(e,r,a),r<s&&(e.addClass("w-animate--started"),e.is('[data-animate-style="animatednumber"]')),r>=s&&e.addClass("w-animate--wait")}))}(n),n=n.filter(".w-animate--wait"),r(),t(window).bind("resize",a(r,200)),t(window).bind("scroll",a((function(){e(n)}),200))}function o(t,e,n){if(e<n+450)return t[0].offsetHeight}function i(t,e){var n=t.attr("data-animate-trigger-offset"),o=e;
3return void 0===n&&(n=(t.innerHeight()/3).toString()),void 0!==n&&""!==n&&(o=e-1*(n=n.replace("px",""))),o}function a(t,e,n){var o,i;return e||(e=250),function(){var a=n||this,r=+new Date,s=arguments;o&&r<o+e?(clearTimeout(i),i=setTimeout((function(){o=r,t.apply(a,s)}),e)):(o=r,t.apply(a,s))}}var r,c,l,d;r=window.navigator.userAgent,c=r.indexOf("MSIE"),l="",d=!1,c>0&&(8!==(l=parseInt(r.substring(c+5,r.indexOf(".",c))))&&9!==l||(d=!0)),!d&&t(window).width()>=980&&!window.isSearchBot&&!window.isMobile&&t(window).width()>=980?setTimeout((function(){n()}),300):t(".w-animate").removeClass("w-animate")})),jQuery((function(t){"undefined"!=typeof wpshop_views_counter_params&&t.ajax({type:"GET",url:wpshop_views_counter_params.url,data:"id="+wpshop_views_counter_params.post_id+"&action=wpshop_views_counter"}).done((function(e){e.success&&e.data.forEach((function(e){var n,o,i;n=e.id,o=e.count,(i=t('.js-views-count[data-post_id="'+n+'"]')).length&&i.text(o)}))}))})),function(){function t(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(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 o(t,e,o){return e&&n(t.prototype,e),o&&n(t,o),t}function i(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&r(t,e)}function a(t){return(a=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function s(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?s(t):e}function l(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];e=n}else e=void 0;if(e||(e=Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)?Array.from(t):void 0),!(t=e))throw new TypeError("Invalid attempt to spread non-iterable instance");return t}var d=function(){function e(){t(this,e),this.handlers={}}return o(e,[{key:"addEventListener",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"click";this.handlers[e]={func:2<arguments.length?arguments[2]:void 0,target:t};var n=e.split(".")[0];t.addEventListener(n,this.handlers[e].func)}},{key:"removeEventListener",value:function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"click",e=t.split(".")[0],n=this.handlers[t];n.target.removeEventListener(e,n.func),delete this.handlers[t]}},{key:"removeAll",value:function(){for(var t in this.handlers)this.removeEventListener(t)}}]),e}(),u=function(){function e(){t(this,e),this.events=new d,this.callback=function(){},this.updateInstanceId()}return o(e,[{key:"eventHandler",value:function(t,e){var n=this,o=e.share_url,i=e.windowTitle,a=e.windowWidth,r=e.windowHeight;t.preventDefault(),e=Math.round((window.outerHeight||window.document.documentElement.offsetHeight)/2-r/2);var s=Math.round((window.outerWidth||window.document.documentElement.offsetWidth)/2-a/2);a="width=".concat(a,",height=").concat(r),e="left=".concat(s,",top=").concat(e);var c="".concat(a,",").concat(e,",location=no,toolbar=no,menubar=no"),l=window.open(o,i,c),d=setInterval((function(){l.closed&&(n.callback(t,{share_url:o,windowTitle:i,windowOptions:c},l),clearInterval(d))}),10);return l}},{key:"setShareCallback",value:function(t){this.callback=t}},{key:"createEvents",value:function(t){var e=this;l(t).forEach((function(t){var n=e.getPreparedData(t);e.events.addEventListener(t,"click.".concat(e.instanceId),(function(t){return e.eventHandler.call(e,t,n)}))}))}},{key:"getInstance",value:function(){return"function"==typeof this.shareWindow&&this.shareWindow(),"function"==typeof this.getCounter&&this.getCounter(),this}},{key:"updateInstanceId",value:function(){this.instanceId=function(){return"".concat(0<arguments.length&&void 0!==arguments[0]?arguments[0]:"id","-").concat(Math.random().toString(36).substr(2,8))}()}},{key:"reNewInstance",value:function(){return this.events.removeAll(),this.updateInstanceId(),this.getInstance()}}]),e}(),h=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');t(this,r);var i=c(this,a(r).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(n),i.image=o?encodeURIComponent(o.href):"",i.createEvents=i.createEvents.bind(s(i)),i}return i(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://vk.com/share.php?url=".concat(e,"&title=").concat(n,"&image=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="vkontakte"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=document.querySelectorAll('[data-counter="vkontakte"]'),o="https://vk.com/share.php?act=count&index=1&url=".concat(this.url);window.VK=Object.assign({},{Share:{}},window.VK),0<n.length&&(window.VK.Share.count=function(o,i){l(n).forEac
3h((function(t){t.innerHTML=e(i)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),r}(u),p=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://facebook.com/sharer/sharer.php?u=".concat(e,"&t=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="facebook"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="facebook"]'),o="https://graph.facebook.com/?id=".concat(this.url,"&callback=").concat(e);0<n.length&&(window[e]=function(e){l(n).forEach((function(t){t.innerHTML=e.share?e.share.share_count:""})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),n}(u),v=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,r);var o=c(this,a(r).call(this));return o.url=encodeURIComponent(e),o.title=encodeURIComponent(n),o.createEvents=o.createEvents.bind(s(o)),o}return i(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://connect.ok.ru/offer?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="odnoklassniki"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=document.querySelectorAll('[data-counter="odnoklassniki"]'),o="https://connect.ok.ru/dk?st.cmd=extLike&uid=1&ref=".concat(this.url);window.ODKL={},0<n.length&&(window.ODKL.updateCount=function(o,i){l(n).forEach((function(t){t.innerHTML=e(i)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),r}(u),m=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),i=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');t(this,r);var l=c(this,a(r).call(this));return l.url=encodeURIComponent(e),l.title=encodeURIComponent(n),l.description=o?encodeURIComponent(o.content):"",l.image=i?encodeURIComponent(i.href):"",l.createEvents=l.createEvents.bind(s(l)),l}return i(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,o=t.dataset.description?encodeURIComponent(t.dataset.description):this.description;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://connect.mail.ru/share?url=".concat(e,"&title=").concat(n,"&description=").concat(o,"&imageurl=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="moimir"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=encodeURIComponent(this.url.replace(/^.*?:\/\//,"")),o=("goodshare_"+Math.random()).replace(".",""),i=document.querySelectorAll('[data-counter="moimir"]');
30<i.length&&(window[o]=function(n){l(i).forEach((function(t){t.innerHTML=e(n.share_mm)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src="https://appsmail.ru/share/count/"+n+"?callback="+o,document.body.appendChild(t))}}]),r}(u),f=function(n){function r(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,o=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,r);var i=c(this,a(r).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(n),i.description=o?encodeURIComponent(o.content):"",i.createEvents=i.createEvents.bind(s(i)),i}return i(r,n),o(r,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://www.tumblr.com/widgets/share/tool?canonicalUrl=".concat(e,"&title=").concat(n,"&caption=").concat(t,"&posttype=link"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="tumblr"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),n=("goodshare_"+Math.random()).replace(".",""),o=document.querySelectorAll('[data-counter="tumblr"]'),i="https://api.tumblr.com/v2/share/stats?url=".concat(this.url,"&callback=").concat(n);0<o.length&&(window[n]=function(n){l(o).forEach((function(t){t.innerHTML=e(n.response.note_count)})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=i,document.body.appendChild(t))}}]),r}(u),w=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.querySelector('meta[name="description"]'),i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');t(this,n);var r=c(this,a(n).call(this));return r.url=encodeURIComponent(e),r.description=o?encodeURIComponent(o.content):"",r.image=i?encodeURIComponent(i.href):"",r.createEvents=r.createEvents.bind(s(r)),r}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.description?encodeURIComponent(t.dataset.description):this.description;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://www.pinterest.com/pin/create/button/?url=".concat(e,"&description=").concat(n,"&media=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="pinterest"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="pinterest"]'),o="https://api.pinterest.com/v1/urls/count.json?url=".concat(this.url,"&callback=").concat(e);0<n.length&&(window[e]=function(e){l(n).forEach((function(t){t.innerHTML=0<e.length?e.count:""})),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),n}(u),g=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://reddit.com/submit?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="reddit"]');return this.createEvents(t)}}]),n}(u),b=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://buffer.com/add?url=".concat(e,"&text=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="buffer"]');return this.createEvents(t)}},{key:"getCounter",value:function(){var t=document.createElement("script"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="buffer"]'),o="https://api.bufferapp.com/1/links/shares.json?url=".concat(this.url,"&callback=").concat(e);
30<n.length&&(window[e]=function(e){l(n).forEach((function(t){t.innerHTML=e?e.shares:""})),t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),n}(u),y=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://twitter.com/share?url=".concat(e,"&text=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="twitter"]');return this.createEvents(t)}}]),n}(u),k=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://livejournal.com/update.bml?event=".concat(e,"&subject=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="livejournal"]');return this.createEvents(t)}}]),n}(u),C=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=c(this,a(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=i?encodeURIComponent(i.content):"",r.createEvents=r.createEvents.bind(s(r)),r}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://www.linkedin.com/shareArticle?url=".concat(e,"&text=").concat(n,"&summary=").concat(t,"&mini=true"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="linkedin"]');return this.createEvents(t)}}]),n}(u),I=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=c(this,a(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=i?encodeURIComponent(i.content):"",r.createEvents=r.createEvents.bind(s(r)),r}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://www.evernote.com/clip.action?url=".concat(e,"&title=").concat(n,"&body=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="evernote"]');return this.createEvents(t)}}]),n}(u),_=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://del.icio.us/save?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="delicious"]');return this.createEvents(t)}}]),n}(u),U=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://share.flipboard.com/bookmarklet/popout?ext=sharethis&title=".concat(t,"&url=").concat(e,"&v=2"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="flipboard"]');return this.createEvents(t)}}]),n}(u),R=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://mix.com/mixit?su=submit&url=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="mix"]');return this.createEvents(t)}}]),n}(u),E=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://www.meneame.net/submit?url=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="meneame"]');return this.createEvents(t)}}]),n}(u),x=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://www.blogger.com/blog-this.g?u=".concat(e,"&n=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="blogger"]');return this.createEvents(t)}}]),n}(u),S=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://getpocket.com/save?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="pocket"]');return this.createEvents(t)}}]),n}(u),T=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://www.instapaper.com/edit?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="instapaper"]');return this.createEvents(t)}}]),n}(u),W=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://digg.com/submit?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="digg"]');return this.createEvents(t)}}]),n}(u),A=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="http://www.liveinternet.ru/journal_post.php?action=n_add&cnurl=".concat(e,"&cntitle=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="liveinternet"]');return this.createEvents(t)}}]),n}(u),j=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=c(this,a(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=i?encodeURIComponent(i.content):"",r.createEvents=r.createEvents.bind(s(r)),r}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://surfingbird.ru/share?url=".concat(e,"&title=").concat(n,"&description=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="surfingbird"]');return this.createEvents(t)}}]),n}(u),H=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://www.xing.com/spi/shares/new?url=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="xing"]');return this.createEvents(t)}}]),n}(u),q=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');t(this,n);var l=c(this,a(n).call(this));return l.url=encodeURIComponent(e),l.title=encodeURIComponent(o),l.description=i?encodeURIComponent(i.content):"",l.image=r?encodeURIComponent(r.href):"",l.createEvents=l.createEvents.bind(s(l)),l}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,o=t.dataset.description?encodeURIComponent(t.dataset.description):this.description;return t=t.dataset.image?encodeURIComponent(t.dataset.image):this.image,e="https://wordpress.com/w
3p-admin/press-this.php?u=".concat(e,"&t=").concat(n,"&s=").concat(o,"&i=").concat(t,"&v=2"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="wordpress"]');return this.createEvents(t)}}]),n}(u),P=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,i=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');t(this,n);var r=c(this,a(n).call(this));return r.url=encodeURIComponent(e),r.title=encodeURIComponent(o),r.description=i?encodeURIComponent(i.content):"",r.createEvents=r.createEvents.bind(s(r)),r}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,n=t.dataset.title?encodeURIComponent(t.dataset.title):this.title;return t=t.dataset.description?encodeURIComponent(t.dataset.description):this.description,e="https://cang.baidu.com/do/add?iu=".concat(e,"&it=").concat(n,"&dc=").concat(t,"&fr=ien"),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="baidu"]');return this.createEvents(t)}}]),n}(u),D=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="http://share.renren.com/share/buttonshare.do?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="renren"]');return this.createEvents(t)}}]),n}(u),M=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,o=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;t(this,n);var i=c(this,a(n).call(this));return i.url=encodeURIComponent(e),i.title=encodeURIComponent(o),i.createEvents=i.createEvents.bind(s(i)),i}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;return t=t.dataset.title?encodeURIComponent(t.dataset.title):this.title,e="https://service.weibo.com/share/share.php?url=".concat(e,"&title=").concat(t),{callback:this.callback,share_url:e,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="weibo"]');return this.createEvents(t)}}]),n}(u),O=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="sms:?&body=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="sms"]');return this.createEvents(t)}}]),n}(u),N=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://web.skype.com/share?".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="skype"]');return this.createEvents(t)}}]),n}(u),L=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;t=t.dataset.rhash?t.dataset.rhash:null;var n="https://t.me/share/url?url=".concat(e);return null!==t&&(n="https://t.me/iv?url=".concat(e,"&rhash=").concat(t)),{callback:this.callback,share_url:n,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="telegram"]');return this.createEvents(t)}}]),n}(u),Q=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="viber://forward?text=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="viber"]');return this.createEvents(t)}}]),n}(u),z=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://api.whatsapp.com/se
3nd?text=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="whatsapp"]');return this.createEvents(t)}}]),n}(u),B=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://chart.apis.google.com/chart?cht=qr&chs=196x196&chld=Q%7C0&chl=".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="wechat"]');return this.createEvents(t)}}]),n}(u);u=function(e){function n(){var e=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;t(this,n);var o=c(this,a(n).call(this));return o.url=encodeURIComponent(e),o.createEvents=o.createEvents.bind(s(o)),o}return i(n,e),o(n,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="line://msg/text/".concat(t),{callback:this.callback,share_url:t,windowTitle:"Share this",windowWidth:640,windowHeight:480}}},{key:"shareWindow",value:function(){var t=document.querySelectorAll('[data-social="line"]');return this.createEvents(t)}}]),n}(u);var K=[h,p,v,m,C,f,w,g,b,y,k,I,_,U,S,R,E,x,T,W,A,j,H,q,P,D,M,O,N,L,Q,z,B,u];h=function(){function e(){t(this,e),this.providers=K,this.getProviders()}return o(e,[{key:"setShareCallback",value:function(t){this.providers=this.providers.map((function(e){return e.setShareCallback(t)}))}},{key:"getProviders",value:function(){return this.providers=this.providers.map((function(t){return(new t).getInstance()}))}},{key:"reNewAllInstance",value:function(){this.providers=this.providers.map((function(t){return t.reNewInstance()}))}}]),e}(),window._goodshare=new h}(),jQuery((function(t){(function(){var t,e;t=this.jQuery||window.jQuery,e=t(window),t.fn.stick_in_parent=function(n){var o,i,a,r,s,c,l,d,u,h,p;for(null==n&&(n={}),p=n.sticky_class,s=n.inner_scrolling,h=n.recalc_every,u=n.parent,d=n.offset_top,l=n.spacer,i=n.bottoming,null==d&&(d=0),null==u&&(u=void 0),null==s&&(s=!0),null==p&&(p="is_stuck"),o=t(document),null==i&&(i=!0),a=function(n,a,r,c,v,m,f,w){var g,b,y,k,C,I,_,U,R,E,x,S;if(!n.data("sticky_kit")){if(n.data("sticky_kit",!0),C=o.height(),_=n.parent(),null!=u&&(_=_.closest(u)),!_.length)throw"failed to find stick parent";if(g=y=!1,(x=null!=l?l&&n.closest(l):t("<div />"))&&x.css("position",n.css("position")),U=function(){var t,e,i;if(!w&&(C=o.height(),t=parseInt(_.css("border-top-width"),10),e=parseInt(_.css("padding-top"),10),a=parseInt(_.css("padding-bottom"),10),r=_.offset().top+t+e,c=_.height(),y&&(g=y=!1,null==l&&(n.insertAfter(x),x.detach()),n.css({position:"",top:"",width:"",bottom:""}).removeClass(p),i=!0),v=n.offset().top-(parseInt(n.css("margin-top"),10)||0)-d,m=n.outerHeight(!0),f=n.css("float"),x&&x.css({width:n.outerWidth(!0),height:m,display:n.css("display"),"vertical-align":n.css("vertical-align"),float:f}),i))return S()},U(),m!==c)return k=void 0,I=d,E=h,S=function(){var t,u,b,R;if(!w&&(b=!1,null!=E&&(0>=--E&&(E=h,U(),b=!0)),b||o.height()===C||U(),b=e.scrollTop(),null!=k&&(u=b-k),k=b,y?(i&&(R=b+m+I>c+r,g&&!R&&(g=!1,n.css({position:"fixed",bottom:"",top:I}).trigger("sticky_kit:unbottom"))),b<v&&(y=!1,I=d,null==l&&("left"!==f&&"right"!==f||n.insertAfter(x),x.detach()),t={position:"",width:"",top:""},n.css(t).removeClass(p).trigger("sticky_kit:unstick")),s&&(t=e.height(),m+d>t&&!g&&(I-=u,I=Math.max(t-m,I),I=Math.min(d,I),y&&n.css({top:I+"px"})))):b>v&&(y=!0,(t={position:"fixed",top:I}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(t).addClass(p),null==l&&(n.after(x),"left"!==f&&"right"!==f||x.append(n)),n.trigger("sticky_kit:stick")),y&&i&&(null==R&&(R=b+m+I>c+r),!g&&R)))return g=!0,"static"===_.css("position")&&_.css({position:"relative"}),n.css({position:"absolute",bottom:a,top:"auto"}).trigger("sticky_kit:bottom")},R=function(){return U(),S()},b=function(){if(w=!0,e.off("touchmove",S),e.off("scroll",S),e.off("resize",R),t(document.body).off("sticky_kit:recalc",R),n.off("sticky_kit:detach",b),n.removeData("sticky_kit"),n.css({position:"",bottom:"",top:"",width:""}),_.position("position",""),y)return null==l&&("left"!==f&&"right"!==f||n.insertAfter(x),x.remove()),n.removeClass(p)},e.on("touchmove",S),e.on("scroll",S),e.on("resize",R),t(document.body).on("sticky_kit:recalc",R),n.on("sticky_kit:detach",b),setTimeout(S,0)}},r=0,c=this.length;r<c;r++)n=this[r],a(t(n));return this}}).call(this)})),jQuery((function(t){var e=t(window).width();"undefined"!=typeof fixed_header&&"yes"===fixed_header&&(t("#masthead").addClass("site-header-fixed"),t(".site-header-fixed, .main-navigation").css("margin-bottom","0"),t(".card-slider-container, .card-slider-container+.site-content, .mobile-menu-placeholder+.site-content").css("margin-top","0"),t(".site-header-fixed+.header-separator").css("margin-top",t("#masthead").outerHeight()),t(window).on("resize",(function(){t(".site-header-fixed+.header-separator").css("margin-top",t("#masthead").outerHeight())})));var n,o,i,a=t(".js-humburger");t("#site-navigation").length?(i=t("#site-navigation"),n=t("#header_menu")):(n=(o=t('<nav id="site-navigation-mobile" class="main-navigation fixed"><div class="main-navigation-inner full"><div><ul id="header_menu" class="menu"></ul></div></div></nav>')).find("#header_menu"),console.log(n));var r=t("#top-menu"),s=t(".widget-mobile-menu ul"),c=t(".js-mobile-menu-placeholder"),l=r.clone(),d=s.clone();if(l.find("li").addClass("only-hamburger"),d.find("li").addClass("only-hamburger"),void 0===window.top_menu_mobile_position&&(window.top_menu_mobile_position="prepend"),"bottom"===window.top_menu_mobile_position&&(window.top_menu_mobile_position="append"),"append"===window.top_menu_mobile_position?n.append(l.html()):"prepend"===window.top_menu_mobile_position&&n.prepend(l.html()),n.append(d.html()),t("#site-navigation").length?c.append(i.clone().attr("id","site-navigation-mobile")):c.append(o.clone().attr("id","site-navigation-mobile")),a.on("click",(function(){t(".js-search-screen").is(":visible")&&h(),a.toggleClass("open"),c.toggleClass("open").find("#site-navigation-mobile").slideToggle()})),e<=991&&t("#masthead").hasClass("site-header-fixed")){var u=t("#masthead").outerHeight();t("body").hasClass("admin-bar")&&(u+=32),t("#site-navigation-mobile").css({position:"fixed",top:u,left:0,bottom:0,width:"100%","z-index":"99999",overflow:"auto"})}function h(){var e=t(".js-search-screen"),n=t(".js-search-screen-overlay"),o=t("body");t(".site-content").removeClass("blur"),e.removeClass("open"),n.removeClass("open"),setTimeout((function(){e.css("display","none"),n.css("display","none")}),150),t(".js-search-icon").removeClass("close"),o.removeClass("scroll-locked"),o.css("padding-right","")}function p(){t(".entry-image--fullscreen").length&&t(".entry-image--fullscreen").css("height","calc(100vh - "+t(".entry-image--fullscreen").offset().top+"px)")}function v(){t(".entry-content iframe, .responsive-iframe iframe").each((function(){if(!t(this).parents(".wp-has-aspect-ratio").length&&!(t(this).parents(".not-responsive").length||t(this).width()<=t(this).parent().width())){var e=t(this).width(),n=t(this).height();t(this).attr("data-original-w")?(e=t(this).attr("data-original-w"),n=t(this).attr("data-original-h")):(t(this).attr("data-original-w",e),t(this).attr("data-original-h",n));var o=t(this).parent().width(),i=o/e,a=Math.round(n*i);t(this).css({width:o,height:a})}}))}if("undefined"!=typeof fixed_main_menu&&"yes"===fixed_main_menu&&(t("#site-navigation").clone().attr("id","").addClass("site-navigation-fixed").appendTo("body"),t(".site-navigation-fixed").hide(),t(window).on("scroll",(function(){if(t(this).scrollTop()>t(".site-header").outerHeight()&&t(window).width()>974){if(t(".site-navigation-fixed").show(),t(".site-navigation-fixed").css("width",t("#site-navigation").outerWidth()),t(".site-navigation-fixed").css("left",t("#site-navigation").offset().left),t("#masthead").hasClass("site-header-fixed")){var e=t("#masthead").outerHeight();t("body").hasClass("admin-bar")&&(e+=32),t(".site-navigation-fixed").css("top",e)}}else t(".site-navigation-fixed").hide()})),t(window).on("resize",(function(){if(t(".site-navigation-fixed").is(":visible")&&(t(".site-navigation-fixed").css("width",t("#site-navigation").outerWidth()),t(".site-navigation-fixed").css("left",t("#site-navigation").offset().left),t("#masthead").hasClass("site-header-fixed"))){var e=t("#masthead").outerHeight();t("body").hasClass("admin-bar")&&(e+=32),t(".site-navigation-fixed").css("top",e)}}))),e>
3991&&t(".main-navigation, .top-menu").each((function(){var e,n=t(this);n.find(".menu-item a, .menu-item .removed-link").on("mouseenter",(function(){t(this).parent().parent().find(".sub-menu:visible").hide(),t(this).parent().find(".sub-menu:first").show(),clearTimeout(e)})),n.on({mouseenter:function(){clearTimeout(e)},mouseleave:function(){e=setTimeout((function(){n.find(".sub-menu").slideUp(200)}),400)}})})),e<=991&&(t(".main-navigation").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),t(this).toggleClass("open"),t(this).find(".sub-menu:first").slideToggle())})),t("#footer_menu").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),t(this).toggleClass("open"),t(this).find(".sub-menu:first").slideToggle())}))),t(".widget_nav_menu").on("click",".menu-item-has-children",(function(e){"A"!==e.target.nodeName&&"a"!==e.target.nodeName&&(e.stopPropagation(),t(this).toggleClass("open"),t(this).find(".sub-menu:first").slideToggle())})),t(".js-search-icon").on("click",(function(){t("#site-navigation-mobile").is(":visible")&&(a.toggleClass("open"),c.find("#site-navigation-mobile").slideToggle());var e=t(".js-search-screen"),n=t(".js-search-screen-overlay"),o=t(this),i=t("body");if(e.is(":visible"))h();else{t(".site-content").addClass("blur"),n.css("display","block"),e.css("display","block"),e.find(".search-field").focus(),setTimeout((function(){e.addClass("open"),n.addClass("open")}),10),o.addClass("close");var r=i.outerWidth();i.addClass("scroll-locked");var s=i.outerWidth()-r;i.css("padding-right",s+"px")}})),t(".js-search-screen-overlay").on("click",(function(){h()})),p(),setTimeout(p,300),setTimeout(p,1e3),1==settings_array.lightbox_display&&(t(".entry-content").find("a:has(img:not('.lightbox-skip'))").wpshoplightbox(),t(document).find("a:has(img.lightbox-open)").wpshoplightbox()),t(".entry-content table").wrap(t("<div class='table-responsive' />")),jQuery(document).on("click",".js-link",(function(t){var e=jQuery(this).data("href");if("http"!==e.substring(0,4)&&"viber"!==e.substring(0,5)){var n=function(t){if("undefined"==typeof window)return new Buffer(t,"base64").toString("utf-8");if(void 0!==window.atob)return decodeURIComponent(escape(window.atob(t)));var e,n,o,i,a,r,s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",c=0,l=0,d="",u=[];if(!t)return t;t+="";do{e=(r=s.indexOf(t.charAt(c++))<<18|s.indexOf(t.charAt(c++))<<12|(i=s.indexOf(t.charAt(c++)))<<6|(a=s.indexOf(t.charAt(c++))))>>16&255,n=r>>8&255,o=255&r,u[l++]=64===i?String.fromCharCode(e):64===a?String.fromCharCode(e,n):String.fromCharCode(e,n,o)}while(c<t.length);return d=u.join(""),decodeURIComponent(escape(d.replace(/\0+$/,"")))}(e);"http"===n.substring(0,4)&&(e=n)}var o="self";"blank"!==jQuery(this).data("target")&&"_blank"!==jQuery(this).data("target")&&"blank"!==jQuery(this).attr("target")&&"_blank"!==jQuery(this).attr("target")||(o="blank"),"blank"===o?window.open(e):document.location.href=e})),v(),t(window).on("resize",(function(){v()})),e>=992&&1==settings_array.sidebar_fixed){var m=t(".js-sticky-sidebar"),f=m.height();m.stick_in_parent({offset_top:20}),t(window).on("resize",(function(e){return t(document.body).trigger("sticky_kit:recalc")})),setInterval((function(){f!==m.height()&&(f=m.height(),t(document.body).trigger("sticky_kit:recalc"))}),1e3)}function w(){t(window).width()>=992?t("body").css("margin-bottom",t(".site-footer-container").outerHeight()):t("body").css("margin-bottom",0)}t(".site-footer-container").length&&!t(".site-footer-container").hasClass("site-footer-container--disable-sticky")&&(w(),t(window).on("resize",(function(){w()})),setInterval(w,1e3))})),jQuery((function(e){e(document).on("click",".js-table-of-contents-hide",(function(){var n=e(this).parents(".table-of-contents");n.toggleClass("open"),n.hasClass("open")?(t("wpshop_toc_hide","",-1),e(".js-table-of-contents-list").slideDown()):(t("wpshop_toc_hide","hide"),e(".js-table-of-contents-list").slideUp())})),e(document).on("click",'.table-of-contents a[href*="#"]',(function(t){var n=e(this).parents(".entry-content").find(this.hash);e("html,body").stop().animate({scrollTop:n.offset().top-100},{duration:500,step:function(t,e){var o=n.offset().top-100;e.end!==o&&(e.end=o)}}),t.preventDefault()}))}))}));
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.