PageSourceSearch

https://www.lojaintt.com.br/common/js/backdrop.js?v=1790252405

js lojaintt.com.br collected 2026-09-26 10:10:25 UTC 1,281 bytes, 75 lines download raw bytes

1var backdrop = {};
2
3backdrop.setup = function() {
4	if (backdrop.isLoaded()) {
5		return;
6	}
7
8	backdrop.element = null;
9	backdrop.loaded = true;
10	backdrop.showing = false;
11
12	backdrop.create();
13}
14
15backdrop.isLoaded = function() {
16	return backdrop.loaded;
17}
18
19backdrop.isShowing = function() {
20	return backdrop.showing;
21}
22
23backdrop.canShow = function() {
24	var path = window.location.pathname;
25
26	if (/\/(compra|cliente|pedido)\/.*/i.test(path)) {
27		return true;
28	}
29
30	return false;
31}
32
33backdrop.template = function() {
34	var template = '<div id=\'backdrop\'> </div>';
35
36	return template;
37}
38
39backdrop.create = function() {
40	if (helper.exists(backdrop.element)){
41		return;
42	}
43
44	backdrop.element = $(backdrop.template());
45	$('body').append(backdrop.element);
46
47	backdrop.element.hide();
48}
49
50backdrop.show = function() {
51	backdrop.setup();
52	if (backdrop.isShowing() || !backdrop.canShow()) {
53		return;
54	}
55
56	backdrop.showing = true;
57	backdrop.element.show();
58	if (helper.screenWidth() <= 968) {
59		loading.show();
60	}
61}
62
63backdrop.hide = function() {
64	backdrop.setup();
65	
66	if (!backdrop.isShowing()) {
67		return;
68	}
69
70	backdrop.showing = false;
71	backdrop.element.hide();
72	if (helper.screenWidth() <= 968) {
73		loading.hide();
74	}
75}

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.