HiddenEye-Legacy/WebPages/VK_poll_method/s_c.js

2 lines
498 KiB
JavaScript
Raw Normal View History

!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=61)}([function(){var e=window,t=e.se,n=e.ce,i=e.attr,o=e.append,a=e.ge,r=e.each,s=e.addEvent,l=e.removeEvent,c=e.remove,u=e.unlockButton,d=e.setDocumentDomain,f=e.lockButton,p=e.checkNav,_=e.cancelEvent,m=e.checkEvent,v=e.getHref,h=e.extend,g=e.stopEvent,w=e.tag,y=e.gpeByTag,b=e.obj2qs,k=e.scrollToHash,C=e.addClass,M=e.hasClass,S=e.qs2obj,E=e.copy,T=e.isVkWebView,A=e.onDOMReady,x=e.statlogsValueEvent,I=e.browser,P=window,B=P.ajax,L=function(){var e=!(!window.history||!history.pushState),A=null,P=t(function(){return A}),N=[],O=7,H=!1,D=30;function j(){document.selection?document.selection.empty():window.getSelection&&window.getSelection().removeAllRanges()}function R(e,t,n){for(var i=N.length-1;i>=0;--i)if(N[i].h==e||N[i].a==e)return void(N[i]={h:e,d:t,a:n});N.push({h:e,d:t,a:n}),N.length>O&&N.shift()}function q(e){for(var t=N.length-1;t>=0;--t)if(N[t].h==e||N[t].a==e)return N=N.slice(0,t+1),N[t].d;return!1}function F(e){var t;if(t=/^(https?:)\/\/([^:\/]+)?(?::(\d+))?\/?(.*)$/i.exec(e)){if(t[1]!=location.protocol)return!1;if(t[2]&&t[2]!=location.hostname)return!1;if(t[3]&&t[3]!=location.port)return!1;e=t[4]}return e}function U(e){var t=n("iframe");i(t,"id","upload_iframe"),i(t,"name","upload_iframe"),i(t,"width","0"),i(t,"height","0"),i(t,"border","0"),i(t,"style","width:0;height:0;border:none;position:absolute;left:-1000px;"),o(t,e.parentNode),window.frames.upload_iframe.name="upload_iframe",t=a("upload_iframe");var p=!1;return r(e,function(e,t){return"submit"===t.type?(p=t,!1):void 0}),s(t,"load",function _(){l(t,"load",_),setTimeout(function(){c(t),u(p)},2e3)}),d(),i(e,"target","upload_iframe"),i(e,"method","post"),i(e,"enctype","multipart/form-data"),i(e,"encoding","multipart/form-data"),o(n("input",{type:"hidden",id:"__extra",name:"__extra",value:1}),e),e.submit(),f(p),setTimeout(function(){c("__extra")},0),!1}function z(e,t){var n=window,i=n.al;if(!window.al||!i.ver)return!0;var o=p(t.target,{skip_onclick:!0,skip_clicable:!0});return o?!0:e===!1?!1:(L.go(e,t)||_(t),!1)}function $(e,t,i){if(!i)return!0;if(m(t))return!0;c("app_go_frame");var o=v(e),a=n("iframe",{id:"app_go_frame",src:i,onload:function(){c("app_go_frame"),o&&L.hard_go(o)}},{display:"none"});return window.bodyNode.appendChild(a),!1}function V(e,t,n){return m(t)?!0:n&&n.push_only?!0:(n&&n.replace?location.replace(e):e&&(location.href=v(e)),!0)}function W(e,t,n){var i=window,o=i.al;_(t);var a=v(e);if(window.al&&o.ver){if(n&&n.push_only)return!0;if(B.nav(a,n))return j(),!0}V(a,t,n)}function X(t,n,o){var a,s;if(t&&t.href&&t.getAttribute&&t.getAttribute("data-change-location-with-post-away")){s=t.href,a=it(t);var l={};return a.post_id&&(l.post=a.post_id,a.ad_data&&(l.post_ad_data=a.ad_data),s="/away.php?to="+encodeURIComponent(s)+"&"+b(l).substr(1)),V(s,n,o),!1}if(L.onBeforeGo(t,n,o))return!1;if(o=h({no_push:!1,push_only:!1,replace:!1},o),m(n))return!g(n);if(!t)return!0;e&&(o.no_push||o.need_restore)&&(H=!1);var c=t,u="",d="",f="";!t.href&&t.getAttribute&&(c=t.getAttribute("data-href"));function p(e){return"a"===w(e)?e:y("a",e)}var v=n&&p(n.target)||t&&t.tagName&&p(t);if(("input"==w(t)||"button"==w(t))&&("submit"==t.type||"image"==t.type)&&t.form){if(t.disab
/*752*/