PageSourceSearch

https://petparadise.co.za/webmodules/common/js/vidz.js

js petparadise.co.za collected 2026-10-09 00:59:09 UTC 1,734 bytes, 37 lines download raw bytes

1! function (a) {
2
3    var url = window.location.href;
4    var arr = url.split("/");
5    var result = arr[0] + "//";
6
7    var b = function () {
8        function a() { }
9        return a.youtube = function (a) {
10            var c, b = "";
11            return c = a.replace(/(>|<)/gi, "").split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/), void 0 !== c[2] ? (b = c[2].split(/[^0-9a-z_\-]/i), b = b[0]) : b = c, b
12        }, a
13    }(),
14        c = function () {
15            function a() { }
16            return a.youtube = function (a) {
17                return '<div class="embed-container"><iframe src="' + result + 'www.youtube.com/embed/' + a + '" frameborder="0" allowfullscreen></iframe></div>'
18            }, a
19        }(),
20        d = function () {
21            function d(e) {
22                this.defaults = {};
23                var g = (a.extend(this.defaults, e), a(this).data().videoUrl),
24                    h = d.determineNetwork(g),
25                    i = b[h](g);
26                return this.html(c[h](i)), this
27            }
28            return d.printCss = function () { }, d.determineNetwork = function (a) {
29                return "" !== b.youtube(a) && "youtube"
30            }, d
31        }();
32    a.fn.videoEmbedder = d, a(document).ready(function () {
33        a("head").append("<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>"), a("div").each(function (b, c) {
34            "undefined" != typeof a(c).data().videoUrl && a(c).videoEmbedder()
35        })
36    })
37}(jQuery);

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.