1!function(t){"function"==typeof define&&define.amd?define("scripts",t):t()}(function(){"use strict";function n(t,e,n){var o=n?((o=new Date).setTime(o.getTime()+24*n*60*60*1e3),"; expires="+o.toGMTString()):"";document.cookie=encodeURIComponent(t)+"="+encodeURIComponent(e)+o+"; path=/"}var o,a,i;function St(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.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(){100<t(this).scrollTop()?e<991&&"on"!==n.data("mob")||n.fadeIn():n.fadeOut()})}),jQuery(function(t){t(document).on("click",".js-spoiler-box-title",function(){t(this).toggleClass("active").next().slideToggle()})}),o=window,a=document,(i=jQuery)&&(i.fn.wpshoplightbox=function(t){var e=i(this),n=i('<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>');e.on("click",function(){var t=i(this).attr("href"),e=a.createElement("img"),e=i(e);if(t.match(/(\.jpg|\.gif|\.jpeg|\.png|\.webp|\.svg)$/i)){e.attr("src",t);n.appendTo("body")[0];return i("head").append('<style id="wpshoplightbox-scroll-style" type="text/css">.wpshoplightbox-scroll{margin-right:'+(o.innerWidth-a.documentElement.clientWidth)+"px;}</style>"),i("body").addClass("wpshoplightbox-scroll"),n.find(".wpshoplightbox-image").html(e),setTimeout(function(){n.addClass("wpshoplightbox--open")},10),!1}}),i(a).on("click",".wpshoplightbox-body, .wpshoplightbox-close",function(){i(a).find(".wpshoplightbox-container").removeClass("wpshoplightbox--open"),setTimeout(function(){i(a).find(".wpshoplightbox-container").remove()},400),i("body").removeClass("wpshoplightbox-scroll"),i("#wpshoplightbox-scroll-style").remove()})}),jQuery(function(d){d(document).on("click",".js-star-rating-item",function(){var o=d(this),a=o.parent(),i=o.data("score"),t=a.data("post-id"),r=a.data("rating-count"),c=a.data("rating-sum"),l=a.data("rating-value");function s(t,e){return e[4<t%100&&t%100<20?2:[2,0,1,1,1,2][t%10<5?t%10:5]]}a.hasClass("disabled")||(a.addClass("disabled process"),t={action:"wpshop_star_rating_submit",nonce:wps_ajax.nonce,post_id:t,score:i,rating_count:r,rating_sum:c,rating_value:l},jQuery.post(wps_ajax.url,t,function(t){var e,n;t.success?(l=((c+=i)/++r).toFixed(2),e="assessment",n=d("html").attr("lang"),"undefined"!=typeof rating_count_text_filter?e=rating_count_text_filter:("ru-RU"===n&&(e=s(r,["оÑенка","оÑенки","оÑенок"])),"uk"===n&&(e=s(r,["оÑÑнка","оÑÑнки","оÑÑнок"]))),o.parent().parent().find(".star-rating-text").html("<em>( <strong>"+r+"</strong> "+e+", "+settings_array.rating_text_average+" <strong>"+l+"</strong> "+settings_array.rating_text_from+" <strong>5</strong> )</em></div>")):(t.data,console.log(t)),a.removeClass("process")}))}),d(".js-star-rating-item").on({mouseenter:function(){d(this).parent().hasClass("disabled")||(d(this).parent().addClass("hover"),d(this).addClass("hover").prevAll().addClass("hover"))},mouseleave:function(){d(this).parent().hasClass("disabled")||(d(this).parent().removeClass("hover"),d(".js-star-rating-item").removeClass("hover"))}})}),jQuery(function(n){"undefined"!=typeof wpshop_views_counter_params&&n.ajax({type:"GET",url:wpshop_views_counter_params.url,data:"id="+wpshop_views_counter_params.post_id+"&action=wpshop_views_counter"}).done(function(t){t.success&&t.data.forEach(function(t){var e;e=t.id,t=t.count,(e=n('.js-views-count[data-post_id="'+e+'"]')).length&&e.text(t)})})}),function(){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(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 t(t,e,n){return e&&o(t.prototype,e),n&&o(t,n),t}function e(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&&n(t,e)}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
1function n(t,e){return(n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function c(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function l(t,e){return!e||"object"!=typeof e&&"function"!=typeof e?c(t):e}function a(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(!(t=e=e||(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)?Array.from(t):void 0)))throw new TypeError("Invalid attempt to spread non-iterable instance");return t}var s=(t(It,[{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)}}]),It),d=(t(_t,[{key:"eventHandler",value:function(t,e){var n=this,o=e.share_url,a=e.windowTitle,i=e.windowWidth,r=e.windowHeight;t.preventDefault(),e=Math.round((window.outerHeight||window.document.documentElement.offsetHeight)/2-r/2);var c=Math.round((window.outerWidth||window.document.documentElement.offsetWidth)/2-i/2),i="width=".concat(i,",height=").concat(r);e="left=".concat(c,",top=").concat(e);var l="".concat(i,",").concat(e,",location=no,toolbar=no,menubar=no"),s=window.open(o,a,l),d=setInterval(function(){s.closed&&(n.callback(t,{share_url:o,windowTitle:a,windowOptions:l},s),clearInterval(d))},10);return s}},{key:"setShareCallback",value:function(t){this.callback=t}},{key:"createEvents",value:function(t){var n=this;a(t).forEach(function(t){var e=n.getPreparedData(t);n.events.addEventListener(t,"click.".concat(n.instanceId),function(t){return n.eventHandler.call(n,t,e)})})}},{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()}}]),_t),u=(e(Ct,d),t(Ct,[{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 n=document.createElement("script"),o=document.querySelectorAll('[data-counter="vkontakte"]'),t="https://vk.com/share.php?act=count&index=1&url=".concat(this.url);window.VK=Object.assign({},{Share:{}},window.VK),0<o.length&&(window.VK.Share.count=function(t,e){a(o).forEach(function(t){t.innerHTML=St(e)}),null!==n.parentNode&&n.parentNode.removeChild(n)},n.src=t,document.body.appendChild(n))}}]),Ct),h=(e(kt,d),t(kt,[{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);
10<n.length&&(window[e]=function(e){a(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))}}]),kt),p=(e(yt,d),t(yt,[{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 n=document.createElement("script"),o=document.querySelectorAll('[data-counter="odnoklassniki"]'),t="https://connect.ok.ru/dk?st.cmd=extLike&uid=1&ref=".concat(this.url);window.ODKL={},0<o.length&&(window.ODKL.updateCount=function(t,e){a(o).forEach(function(t){t.innerHTML=St(e)}),null!==n.parentNode&&n.parentNode.removeChild(n)},n.src=t,document.body.appendChild(n))}}]),yt),m=(e(bt,d),t(bt,[{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"),e=encodeURIComponent(this.url.replace(/^.*?:\/\//,"")),n=("goodshare_"+Math.random()).replace(".",""),o=document.querySelectorAll('[data-counter="moimir"]');0<o.length&&(window[n]=function(e){a(o).forEach(function(t){t.innerHTML=St(e.share_mm)}),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src="https://appsmail.ru/share/count/"+e+"?callback="+n,document.body.appendChild(t))}}]),bt),v=(e(gt,d),t(gt,[{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"),e=("goodshare_"+Math.random()).replace(".",""),n=document.querySelectorAll('[data-counter="tumblr"]'),o="https://api.tumblr.com/v2/share/stats?url=".concat(this.url,"&callback=").concat(e);
10<n.length&&(window[e]=function(e){a(n).forEach(function(t){t.innerHTML=St(e.response.note_count)}),null!==t.parentNode&&t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),gt),w=(e(ft,d),t(ft,[{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);
10<n.length&&(window[e]=function(e){a(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))}}]),ft),f=(e(wt,d),t(wt,[{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)}}]),wt),g=(e(vt,d),t(vt,[{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);
10<n.length&&(window[e]=function(e){a(n).forEach(function(t){t.innerHTML=e?e.shares:""}),t.parentNode.removeChild(t)},t.src=o,document.body.appendChild(t))}}]),vt),b=(e(mt,d),t(mt,[{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)}}]),mt),y=(e(pt,d),t(pt,[{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)}}]),pt),k=(e(ht,d),t(ht,[{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)}}]),ht),C=(e(ut,d),t(ut,[{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)}}]),ut),_=(e(dt,d),t(dt,[{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)}}]),dt),I=(e(st,d),t(st,[{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)}}]),st),U=(e(lt,d),t(lt,[{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)}}]),lt),E=(e(ct,d),t(ct,[{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)}}]),ct),R=(e(rt,d),t(rt,[{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)}}]),rt),S=(e(it,d),t(it,[{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)}}]),it),j=(e(at,d),t(at,[{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)}}]),at),x=(e(ot,d),t(ot,[{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)}}]),ot),W=(e(nt,d),t(nt,[{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)}}]),nt),T=(e(et,d),t(et,[{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)}}]),et),A=(e(tt,d),t(tt,[{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)}}]),tt),q=(e(Z,d),t(Z,[{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
1p-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)}}]),Z),H=(e(X,d),t(X,[{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)}}]),X),P=(e(J,d),t(J,[{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)}}]),J),D=(e($,d),t($,[{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)}}]),$),O=(e(Y,d),t(Y,[{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)}}]),Y),M=(e(F,d),t(F,[{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)}}]),F),N=(e(G,d),t(G,[{key:"getPreparedData",value:function(t){var e=t.dataset.url?encodeURIComponent(t.dataset.url):this.url;t=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)}}]),G),Q=(e(V,d),t(V,[{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)}}]),V),L=(e(z,d),t(z,[{key:"getPreparedData",value:function(t){return t=t.dataset.url?encodeURIComponent(t.dataset.url):this.url,t="https://wa.me/?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)}}]),z),B=(e(K,d),t(K,[{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)}}]),K);function K(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,K);var e=l(this,r(K).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function z(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,z);var e=l(this,r(z).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function V(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,V);var e=l(this,r(V).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function G(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,G);var e=l(this,r(G).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function F(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,F);var e=l(this,r(F).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function Y(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,Y);var e=l(this,r(Y).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function $(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,$);var n=l(this,r($).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function J(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,J);var n=l(this,r(J).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function X(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');i(this,X);var o=l(this,r(X).call(this));return o.url=encodeURIComponent(t),o.title=encodeURIComponent(e),o.description=n?encodeURIComponent(n.content):"",o.createEvents=o.createEvents.bind(c(o)),o}function Z(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');i(this,Z);var a=l(this,r(Z).call(this));return a.url=encodeURIComponent(t),a.title=encodeURIComponent(e),a.description=n?encodeURIComponent(n.content):"",a.image=o?encodeURIComponent(o.href):"",a.createEvents=a.createEvents.bind(c(a)),a}function tt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,tt);var e=l(this,r(tt).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function et(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');i(this,et);var o=l(this,r(et).call(this));return o.url=encodeURIComponent(t),o.title=encodeURIComponent(e),o.description=n?encodeURIComponent(n.content):"",o.createEvents=o.createEvents.bind(c(o)),o}function nt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,nt);var n=l(this,r(nt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function ot(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,ot);var n=l(this,r(ot).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function at(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,at);var n=l(this,r(at).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function it(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,it);var n=l(this,r(it).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function rt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,rt);var n=l(this,r(rt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function ct(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,ct);var e=l(this,r(ct).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function lt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,lt);var e=l(this,r(lt).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}function st(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,st);var n=l(this,r(st).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function dt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,dt);var n=l(this,r(dt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function ut(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');i(this,ut);var o=l(this,r(ut).call(this));return o.url=encodeURIComponent(t),o.title=encodeURIComponent(e),o.description=n?encodeURIComponent(n.content):"",o.createEvents=o.createEvents.bind(c(o)),o}function ht(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');i(this,ht);var o=l(this,r(ht).call(this));return o.url=encodeURIComponent(t),o.title=encodeURIComponent(e),o.description=n?encodeURIComponent(n.content):"",o.createEvents=o.createEvents.bind(c(o)),o}function pt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,pt);var n=l(this,r(pt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function mt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,mt);var n=l(this,r(mt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function vt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,vt);var n=l(this,r(vt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function wt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,wt);var n=l(this,r(wt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function ft(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.querySelector('meta[name="description"]'),n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');i(this,ft);var o=l(this,r(ft).call(this));return o.url=encodeURIComponent(t),o.description=e?encodeURIComponent(e.content):"",o.image=n?encodeURIComponent(n.href):"",o.createEvents=o.createEvents.bind(c(o)),o}function gt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]');i(this,gt);var o=l(this,r(gt).call(this));return o.url=encodeURIComponent(t),o.title=encodeURIComponent(e),o.description=n?encodeURIComponent(n.content):"",o.createEvents=o.createEvents.bind(c(o)),o}function bt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('meta[name="description"]'),o=3<arguments.length&&void 0!==arguments[3]?arguments[3]:document.querySelector('link[rel="apple-touch-icon"]');i(this,bt);var a=l(this,r(bt).call(this));return a.url=encodeURIComponent(t),a.title=encodeURIComponent(e),a.description=n?encodeURIComponent(n.content):"",a.image=o?encodeURIComponent(o.href):"",a.createEvents=a.createEvents.bind(c(a)),a}function yt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,yt);var n=l(this,r(yt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function kt(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title;i(this,kt);var n=l(this,r(kt).call(this));return n.url=encodeURIComponent(t),n.title=encodeURIComponent(e),n.createEvents=n.createEvents.bind(c(n)),n}function Ct(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href,e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:document.title,n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:document.querySelector('link[rel="apple-touch-icon"]');i(this,Ct);var o=l(this,r(Ct).call(this));return o.url=encodeURIComponent(t),o.title=encodeURIComponent(e),o.image=n?encodeURIComponent(n.href):"",o.createEvents=o.createEvents.bind(c(o)),o}function _t(){i(this,_t),this.events=new s,this.callback=function(){},this.updateInstanceId()}function It(){i(this,It),this.handlers={}}function Ut(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:document.location.href;i(this,Ut);var e=l(this,r(Ut).call(this));return e.url=encodeURIComponent(t),e.createEvents=e.createEvents.bind(c(e)),e}e(Ut,d),t(Ut,[{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=do
1cument.querySelectorAll('[data-social="line"]');return this.createEvents(t)}}]);var Et=[u,h,p,m,k,v,w,f,g,b,y,C,_,I,S,U,E,R,j,x,W,T,A,q,H,P,D,O,M,N,Q,L,B,Ut];function Rt(){i(this,Rt),this.providers=Et,this.getProviders()}t(Rt,[{key:"setShareCallback",value:function(e){this.providers=this.providers.map(function(t){return t.setShareCallback(e)})}},{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()})}}]),u=Rt,window._goodshare=new u}(),jQuery(function(c){var i=!1,r=!1,o=c(".js-humburger"),t=c("#site-navigation"),e=c("#header_menu"),n=c("#top-menu"),a=c(".widget-mobile-menu ul"),l=c(".js-mobile-menu-placeholder"),n=n.clone(),a=a.clone();n.find("li").addClass("only-hamburger"),a.find("li").addClass("only-hamburger"),l.append(t.clone().attr("id","site-navigation-mobile")),o.on("click",function(){c(".js-search-screen").is(":visible")&&u(),o.toggleClass("open"),l.find("#site-navigation-mobile").slideToggle()}),e.prepend(n.html()),e.append(a.html());var s,a=c(window).width();function d(){c(".main-navigation .menu-item .sub-menu").slideUp(200)}function u(){var t=c(".js-search-screen"),e=c("body");c(".site-content").removeClass("blur"),t.removeClass("open"),setTimeout(function(){t.css("display","none")},10),c(".js-search-icon").removeClass("close"),e.removeClass("scroll-locked"),e.css("padding-right","")}991<a&&(c(".main-navigation .menu-item a, .main-navigation .menu-item .removed-link").on("mouseenter",function(){c(this).parent().parent().find(".sub-menu:visible").hide(),c(this).parent().find(".sub-menu:first").show(),clearTimeout(s)}),c(".main-navigation").on({mouseenter:function(){clearTimeout(s)},mouseleave:function(){s=setTimeout(d,400)}})),a<=991&&(c(".main-navigation").on("click",".menu-item-has-children",function(t){"A"!==t.target.nodeName&&"a"!==t.target.nodeName&&(t.stopPropagation(),c(this).toggleClass("open"),c(this).find(".sub-menu:first").slideToggle())}),c("#footer_menu").on("click",".menu-item-has-children",function(t){"A"!==t.target.nodeName&&"a"!==t.target.nodeName&&(t.stopPropagation(),c(this).toggleClass("open"),c(this).find(".sub-menu:first").slideToggle())})),c(".sidebar-navigation").on("click",".menu-item-has-children",function(t){"A"!==t.target.nodeName&&"a"!==t.target.nodeName&&(t.stopPropagation(),c(this).toggleClass("open"),c(this).find(".sub-menu:first").slideToggle())}),c(".js-search-icon").on("click",function(){c("#site-navigation-mobile").is(":visible")&&(o.toggleClass("open"),l.find("#site-navigation-mobile").slideToggle());var t=c(".js-search-screen"),e=c(this),n=c("body");t.is(":visible")?u():(c(".site-content").addClass("blur"),t.css("display","block"),t.find(".search-field").focus(),setTimeout(function(){t.addClass("open")},10),e.addClass("close"),e=n.outerWidth(),n.addClass("scroll-locked"),e=n.outerWidth()-e,n.css("padding-right",e+"px"))});var h=0;function p(){var t,e;
1c(".js-infinity-scroll").length<1||h!==infinity_scroll_archive_limit&&(t=k(),e=C(),!i&&!r&&t>e-1.5*document.documentElement.clientHeight&&(i=!0,c(".js-pagination-box").fadeOut(),c("#main").append('<div class="donut js-donut-loading-posts"></div>'),e={action:"journalx_load_posts",nonce:wps_ajax.nonce,query_vars:query_vars,current_page:current_page},jQuery.post(wps_ajax.url,e,function(t){i=!1,current_page++,current_page===max_pages&&(r=!0),t?(c("#main .post-boxes").append(t),++h===infinity_scroll_archive_limit&&(t=(t=c(".js-pagination-box .nav-links a:last-child").attr("href")).replace(/page\/[0-9]+/g,"page/"+(current_page+1)),c(".js-pagination-box .nav-links").html('<a class="next page-numbers" href="'+t+'">'+wps_ajax.str_load_more+"</a>"),c(".js-pagination-box").show())):r=!0,c(".js-donut-loading-posts").remove()})))}c(window).on("scroll",function(){p()}),p();var m=c(".article-wrap").data("post-id"),v=c(".article-wrap").data("post-id"),w=m,f="previous",g=!1,b=0,y=[];function k(){return window.pageYOffset||document.documentElement.scrollTop}function C(){return Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)}function _(t){var e=c("#entry_comments_"+t),n=e.attr("data-loaded");e.is(":hidden")?(e.slideDown(),"true"!==n&&(t={action:"ajax_load_comments",nonce:wps_ajax.nonce,post_id:t},jQuery.post(wps_ajax.url,t,function(t){e.html(t),e.attr("data-loaded","true"),jQuery("body").trigger(jQuery.Event("journalx_load_comments"))}))):e.slideUp()}function I(){c(".entry-content iframe, .responsive-iframe iframe").each(function(){var t,e,n;c(this).parents(".not-responsive").length||c(this).width()<=c(this).parent().width()||(n=c(this).width(),t=c(this).height(),c(this).attr("data-original-w")?(n=c(this).attr("data-original-w"),t=c(this).attr("data-original-h")):(c(this).attr("data-original-w",n),c(this).attr("data-original-h",t)),n=(e=c(this).parent().width())/n,n=Math.round(t*n),c(this).css({width:e,height:n}))})}function U(){c("body").css("margin-bottom",c(".site-footer").outerHeight()+40)}y[m]={title:document.title,url:window.location.href},c(window).on("scroll",function(){if(c("body").hasClass("single")&&infinity_scroll_single_enabled){var n=k(),t=C();if(!i&&!r&&n>t-2*document.documentElement.clientHeight){if(b===infinity_scroll_single_limit)return;i=!0,c("#main").append('<div class="donut js-donut-loading-post"></div>');var e={action:"journalx_load_post",nonce:wps_ajax.nonce,post_id:m,start_post_id:w,direct:f};jQuery.post(wps_ajax.url,e,function(t){if(i=!1,t.success){if(jQuery("body").trigger(jQuery.Event("journalx_load_post")),f!==t.data.direct){if(g)return r=!0,void c(".js-donut-loading-post").remove();g=!0}c("#main").append(t.data.html),y[t.data.post_id]={title:t.data.title,url:t.data.url},f=t.data.direct,m=t.data.post_id,b++,void 0!==window.instgrm&&window.instgrm.Embeds.process(),void 0!==window._goodshare&&window._goodshare.reNewAllInstance(),void 0!==window.expert_review&&window._expertreview.init()}else r=!0;c(".js-donut-loading-post").remove()})}var o,a="";c(".article-wrap").each(function(){var t=c(this).offset().top,e=c(this).attr("data-post-id");t-150<n&&(a=e)}),a.length&&a!==v&&(a=parseInt(a),o=y[a].url,t=y[a].title,e=o,t=t,history.replaceState({title:t,url:e},t,e),document.title=t,v=a,"undefined"!=typeof yandex_counter&&yandex_counter.hit(o),"undefined"!=typeof gtag&&"undefined"!=typeof ga_tracking_id&>ag("config",ga_tracking_id,{page_path:o}),c("#wpadminbar").length&&(o=(o=c("#wp-admin-bar-edit a").attr("href")).replace(/[0-9]+/g,a),c("#wp-admin-bar-edit a").attr("href",o)))}}),c(document).on("click",".js-load-comments",function(){_(c(this).data("post-id"))}),c(document).on("click",".js-meta-comments",function(){var t=c(this).parents(".js-post-container"),e=t.data("post-id");c("html, body").animate({scrollTop:t.find(".entry-footer").offset().top},1e3),c(".entry-comments").is(":hidden")&&_(e)}),c(document).on("click",".comments-pagination a",function(){var t=c(this),e=t.attr("href").match(/commentpage-([0-9]+)/)[1],t=t.parents(".entry-comments").data("post-id"),n=c("#entry_comments_"+t);n.prepend('<div class="donut--full"><div class="donut"></div></div>');e={action:"ajax_load_comments",nonce:wps_ajax.nonce,post_id:t,cpage:e};return jQuery.post(wps_ajax.url,e,function(t){n.html(t),k()>n.offset().top&&c([document.documentElement,document.body]).animate({scrollTop:n.offset().top},100)}),!1}),c(document).on("journalx_load_comments",function(){window.addComment.init()}),c(document).on("click",".more-link",function(){window.location.href=c(this).attr("href"),window.onbeforeunload=function(){window.scrollTo(0,0)},window.location.reload(!1)}),window.addEventListener("scroll",function(t,e){void 0===e&&(e=250);var n,o,a=!1;function i(){if(a)return n=arguments,void(o=t);t.apply(t,arguments),a=!0,setTimeout(function(){a=!1,n&&(i.apply(o,n),n=o=null)},e)}return i}(R,100),!0),c(window).scroll(function(){setTimeout(R,500)}),c(window).on("resize",function(){R(),setTimeout(R,1e3),U()}),c(".entry-content table").wrap(c("<div class='table-responsive' />")),c(document).on("journalx_load_post",function(){setTimeout(function(){c(".entry-content table").wrap(c("<div class='table-responsive' />"))},100)}),1==settings_array.lightbox_display&&(c(".entry-content").find("a:has(img)").wpshoplightbox(),c(document).find("a:has(img.lightbox-open)").wpshoplightbox(),c(document).on("journalx_load_post",function(){setTimeout(function(){c(".entry-content").find("a:has(img)").wpshoplightbox()},100)})),jQuery(document).on("click",".js-link",function(t){var e=jQuery(this).data("href");"http"===e.substring(0,4)||"viber"===e.substring(0,5)||"http"===(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,a,i,r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/=",c=0,l=0,s="",d=[];if(!t)return t;for(t+="";e=(i=r.indexOf(t.charAt(c++))<<18|r.indexOf(t.charAt(c++))<<12|(o=r.indexOf(t.charAt(c++)))<<6|(a=r.indexOf(t.charAt(c++))))>>16&255,n=i>>8&255,i=255&i,d[l++]=64===o?String.fromCharCode(e):64===a?String.fromCharCode(e,n):String.fromCharCode(e,n,i),c<t.length;);return s=d.join(""),decodeURIComponent(escape(s.replace(/\0+$/,"")))}(e)).substring(0,4)&&(e=n);var n="self";"blank"!==jQuery(this).data("target")&&"_blank"!==jQuery(this).data("target")&&"blank"!==jQuery(this).attr("target")&&"_blank"!==jQuery(this).attr("target")||(n="blank"),"blank"===n?window.open(e):document.location.href=e}),I(),c(window).on("resize",function(){I()}),U();var E=c(".widget-area");function R(){var o,a,i,t=c(window).width(),r=c(window).height();t<1100||(o=k(),t=(t-1160)/2,i=(a=o+30)+E.height(),E.css("right",t),c(".entry-content").each(function(){var t,n,e=c(this);e.offset().top-r<o&&(t=(e=(t=e).offset().top)+t.height(),n=!1,c(".content-wide, .content-right").each(function(){var t=c(this),e=t.offset().top,t=e+t.height();e<i&&a<t&&(n=!0)}),e<a&&i<t&&!n?E.addClass("is-active"):E.removeClass("is-active"))}))}R()}),jQuery(function(e){e(document).on("click",".js-table-of-contents-hide",function(){var t=e(this).parents(".table-of-contents");t.toggleClass("open"),t.hasClass("open")?(n("wpshop_toc_hide","",-1),e(".js-table-of-contents-list").slideDown()):(n("wpshop_toc_hide","hide"),e(".js-table-of-contents-list").slideUp())}),e(document).on("click",'.table-of-contents a[href*="#"]',function(t){var o=e(this).parents(".entry-content").find(this.hash);e("html,body").stop().animate({scrollTop:o.offset().top-100},{duration:500,step:function(t,e){var n=o.offset().top-100;e.end!==n&&(e.end=n)}}),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.