PageSourceSearch

http://www.vanquishgame.com/scripts/jquery-cookie.js

js vanquishgame.com collected 2026-10-08 20:51:15 UTC 2,146 bytes, 52 lines download raw bytes

1!function (e) {
2  "function" == typeof define && define.amd ? define(["jquery"], e) : e("object" == typeof exports ? require("jquery") : jQuery)
3}(function (e) {
4  function o(e) {
5    return c.raw ? e : encodeURIComponent(e)
6  }
7
8  function n(e) {
9    return c.raw ? e : decodeURIComponent(e)
10  }
11
12  function i(e) {
13    return o(c.json ? JSON.stringify(e) : String(e))
14  }
15
16  function t(e) {
17    0 === e.indexOf('"') && (e = e.slice(1, -1).replace(/\\"/g, '"').replace(/\\\\/g, "\\"));
18    try {
19      return e = decodeURIComponent(e.replace(a, " ")), c.json ? JSON.parse(e) : e
20    } catch (e) {
21    }
22  }
23
24  function r(o, n) {
25    var i = c.raw ? o : t(o);
26    return e.isFunction(n) ? n(i) : i
27  }
28
29  var a = /\+/g, c = e.cookie = function (t, a, s) {
30    if (void 0 !== a && !e.isFunction(a)) {
31      if (s = e.extend({}, c.defaults, s), "number" == typeof s.expires) {
32        var p = s.expires, u = s.expires = new Date;
33        u.setTime(+u + 864e5 * p)
34      }
35      return document.cookie = [o(t), "=", i(a), s.expires ? "; expires=" + s.expires.toUTCString() : "", s.path ? "; path=" + s.path : "", s.domain ? "; domain=" + s.domain : "", s.secure ? "; secure" : ""].join("")
36    }
37    for (var d = t ? void 0 : {}, f = document.cookie ? document.cookie.split("; ") : [], l = 0, g = f.length; l < g; l++) {
38      var y = f[l].split("="), m = n(y.shift()), w = y.join("=");
39      if (t && t === m) {
40        d = r(w, a);
41        break
42      }
43      t || void 0 === (w = r(w)) || (d[m] = w)
44    }
45    return d
46  };
47  c.defaults = {}, e.removeCookie = function (o, n) {
48    return void 0 !== e.cookie(o) && (e.cookie(o, "", e.extend({}, n, {expires: -1})), !e.cookie(o))
49  }
50});
51var pathArray = window.location.pathname.split("/");
52pathArray[1] && "buy-now" != pathArray[1] ? "passed" != $.cookie("age_gate") && window.location.assign(window.location.protocol + "//" + window.location.host) : pathArray[1] && "buy-now" == pathArray[1] && "passed" == $.cookie("age_gate") && window.location.assign("https://store.vanquishgame.com"), "passed" != $.cookie("age_gate") && document.write("<style>#age-gate-dialog { display: block; }</style>");

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.