PageSourceSearch

https://naloxonenearme.org/wp-content/plugins/unc-cookie-banner/cookie-banner.js?ver=1.0

js naloxonenearme.org collected 2026-10-04 13:30:26 UTC 2,665 bytes, 90 lines download raw bytes

1!function() {
2    "use strict";
3    var e, n, o, t = {
4        567: function(e) {
5            e.exports = window.jQuery
6        }
7    }, i = {};
8    function c(e) {
9        var n = i[e];
10        if (void 0 !== n)
11            return n.exports;
12        var o = i[e] = {
13            exports: {}
14        };
15        return t[e](o, o.exports, c),
16        o.exports
17    }
18    c.n = function(e) {
19        var n = e && e.__esModule ? function() {
20            return e.default
21        }
22        : function() {
23            return e
24        }
25        ;
26        return c.d(n, {
27            a: n
28        }),
29        n
30    }
31    ,
32    c.d = function(e, n) {
33        for (var o in n)
34            c.o(n, o) && !c.o(e, o) && Object.defineProperty(e, o, {
35                enumerable: !0,
36                get: n[o]
37            })
38    }
39    ,
40    c.o = function(e, n) {
41        return Object.prototype.hasOwnProperty.call(e, n)
42    }
43    ,
44    e = window.wp.domReady,
45    n = c.n(e),
46    o = c(567),
47    n()((function() {
48        !function() {
49            var e = o('<div class="cookie-banner-text"></div>').html(JSON.parse(cookieBannerSettings.text))
50              , n = o("<button>", {
51                class: "cookie-banner-button cookie-accept-button",
52                "aria-label": "Accept cookies and close the banner",
53                text: cookieBannerSettings.buttonText
54            });
55            if (-1 === document.cookie.indexOf("cookie_accepted=1")) {
56                var t = o('<section id="cookie-banner" aria-label="Cookie Consent Banner"></section>')
57                  , i = o('<div id="container-cookie"></div>');
58                o("body").prepend(t),
59                t.append(i),
60                i.append(e, n),
61                t.fadeIn(500)
62            } 
63            n.on("click", (function() {
64                t.slideUp(500, (function() {
65                    t.remove()
66                }
67                ));
68                var e = new Date;
69                e.setDate(e.getDate() + 60),
70                document.cookie = "cookie_accepted=1; expires=" + e.toUTCString() + "; path=/"
71            }
72            ));
73            var c = cookieBannerSettings.privacyPolicyURL || null;
74            if (c) {
75                var r = o("<button>", {
76                    type: "button",
77                    class: "cookie-banner-button privacy-policy-button",
78                    text: "Privacy Policy",
79                    "aria-label": "Privacy Policy"
80                });
81                r.on("click", (function() {
82                    window.open(c, "_blank")
83                }
84                )),
85                e.append(r)
86            }
87        }()
88    }
89    ))
90}();

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.