Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
surya-dev-singh
GitHub Repository: surya-dev-singh/BITB-framwork
Path: blob/main/sites/vk/b-0f6403442fbf95cd84849e54d8e9ab53.ddb71f5a609d75e3ef6e.js.download
502 views
(window.webpackJsonp=window.webpackJsonp||[]).push([["b-0f6403442fbf95cd84849e54d8e9ab53"],{DM2o:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statlogsValueEvent=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),s=2;s<r;s++)n[s-2]=arguments[s];if(void 0===e||void 0===t)return;var l;!function e(t,r){if(u.default.checkVersion()){if(!0!==u.default.get(o)){u.default.set(o,!0);try{t()}catch(e){}return void u.default.set(o,!1)}r||setTimeout(function(){return e(t,!0)},100)}else t()}(function(){try{l=(l=JSON.parse((0,a.getCookie)(i))).data}catch(e){l=[]}l.push([Math.round(Date.now()/1e3),e,t].concat(n)),l=l.slice(l.length-100);var r=Math.round((0,c.rand)(0,1e9));(0,a.setCookie)(i,JSON.stringify({data:l,uniqueId:r}),.01)})};var n,o,i,a=r("J8bf"),c=r("jE6c"),u=(n=r("Xrg9"))&&n.__esModule?n:{default:n};o="lock_m_stats_cookie_lock",i="remixmsts"},J8bf:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getCookie=function(e){(function(){window._cookies={};for(var e=document.cookie.split(";"),t=/^[\s]*([^\s]+?)$/i,r=0,n=e.length;r<n;r++){var o=e[r].split("=");2===o.length&&(_cookies[o[0].match(t)[1]]=unescape(o[1].match(t)?o[1].match(t)[1]:""))}})(),"https:"!==location.protocol&&(0,o.statlogsValueEvent)("read_unsecure_cookie",e,location.href);return _cookies[e]},t.setCookie=function(e,t,r,o){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"None",a=window.locDomain,c=e+"="+escape(t),u="; path=/"+(a?"; domain=."+a:""),s="https:"===location.protocol,l=!!o;(0,n.partConfigEnabled)("cookie_secure_default_true")&&(l=!1!==o);var f=s&&l?"; secure":"",p=l&&browser.chrome&&parseInt(browser.version)>=71&&(0,n.partConfigEnabled)("cookie_class_samesite")?"; SameSite=".concat(i):"",d="";if(r){var g=new Date;g.setTime(g.getTime()+24*r*60*60*1e3),d="; expires="+g.toGMTString()}document.cookie=c+d+u+p+f},t.initCookies=function(){window._cookies={}};var n=r("W9Tc"),o=r("DM2o")},W9Tc:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.partConfigEnabled=function(e){var t=window.vk.pe;return!!(void 0===t?{}:t)[e]},t.calculateTimeOffsets=function(){var e=window.vk.ts;if(e&&!window.browser.opera_mobile){var t=new Date,r=Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds())/1e3-e;r-=10800,r=(r/=60).toFixed(0),(r*=60)<-55800?r+=86400:r>37800&&(r-=86400);var o=0,i=Math.abs(r);[-12,-11,-10,-9.5,-9,-8,-7,-6,-5,-4.5,-4,-3.5,-3,-2,-1,0,1,2,3,3.5,4,4.5,5,5.5,5.75,6,6.5,7,8,8.75,9,9.5,10,10.5,11,12,12.75,13,14].forEach(function(e){var t=Math.round(3600*(e-3)),n=Math.abs(r-t);n<i&&(i=n,o=t)});var a=(0,n.getCookie)("remixdt");return void 0!==a&&intval(a)===o||(0,n.setCookie)("remixdt",o,365),o}return 0};var n=r("J8bf")},Xrg9:function(e,t,r){"use strict";function n(){return void 0!==window.localStorage&&null!==window.localStorage&&void 0!==window.JSON}function o(e){try{localStorage.removeItem(e)}catch(e){}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={checkVersion:n,remove:o,get:function(e){if(!n())return!1;try{return JSON.parse(localStorage.getItem(e))}catch(e){return!1}},set:function(e,t){o(e);try{return!!n()&&localStorage.setItem(e,JSON.stringify(t))}catch(e){return!1}}};t.default=i},jE6c:function(e,t,r){"use strict";function n(e){return function(e){if(Array.isArray(e)){for(var t=0,r=new Array(e.length);t<e.length;t++)r[t]=e[t];return r}}(e)||function(e){if(Symbol.iterator in Object(e)||"[object Arguments]"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance")}()}Object.defineProperty(t,"__esModule",{value:!0}),t.isHttpHref=function(e){var t=(e+"").split(":"),r=t[1]&&t[0]?t[0]+":":location.protocol;return"http:"===r||"https:"===r},t.each=function(e,t){if(!e)return e;if(a(e)||void 0===e.length){for(var r in e)if(e.hasOwnProperty(r)&&!1===t.call(e[r],r,e[r]))break}else for(var n=0,o=e.length;n<o;n++){var i=e[n];if(!1===t.call(i,n,i))break}return e},t.copy=function(e){if(i(e))return e.concat([]);if(a(e))return extend({},e);return e},t.intval=function(e){if(!0===e)return 1;return parseInt(e)||0},t.defaults=t.stripTags=t.srand=t.utf2win=t.unescapeAttr=t.locBase=t.vkNow=t.htsc=t.escapeStr=t.escapeRE=t.escapeAttr=t.irand=t.isUndefined=t.isString=t.isObject=t.isFunction=t.isEmpty=t.isArray=t.replaceEntities=t.rand=void 0;t.locBase=function(){return location.toString().replace(/#.+$/,"")};var o=function(e,t){return Math.random()*(t-e+1)+e};t.rand=o;t.isUndefined=function(e){return void 0===e};t.isFunction=function(e){return e&&"[object Function]"===Object.prototype.toString.call(e)};t.isString=function(e){return"string"==typeof e};var i=function(e){return"[object Array]"===Object.prototype.toString.call(e)};t.isArray=i;var a=function(e){return"[object Object]"===Object.prototype.toString.call(e)};t.isObject=a;t.isEmpty=function(e){if(!a(e))return!1;for(var t in e)if(e.hasOwnProperty(t))return!1;return!0};t.escapeRE=function(e){return e?e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1"):""};t.htsc=function(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/\'/g,"&#39;").replace(/%/g,"&#37;")};t.escapeAttr=function(e){return e.replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/\'/g,"&#39;")};t.unescapeAttr=function(e){return e.replace(/&amp;/g,"&").replace(/&quot;/g,'"').replace(/&#39;/g,"'")};t.replaceEntities=function(e){return ce("textarea",{innerHTML:(e||"").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;")}).value};t.escapeStr=function(e){return e.replace(/\'/g,"\\'")};t.stripTags=function(e){return e.replace(/<[^>]+>/g,"")};t.srand=function(){return Math.random().toString(36).substr(2)};t.irand=function(e,t){return Math.floor(o(e,t))};t.utf2win=function(e){return unescape(encodeURIComponent(e))};t.vkNow=function(){return+new Date};t.defaults=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),o=1;o<t;o++)r[o-1]=arguments[o];return Object.assign.apply(Object,[{},e].concat(n(r.reverse()),[e]))}}}]);