PageSourceSearch

https://gerbor.com.ua/catalog/ua/mobile/javascript/LoadingJS.js

js gerbor.com.ua collected 2026-10-08 05:31:57 UTC 21,536 bytes, 434 lines download raw bytes

1document.write("<style>"+
2	"@keyframes loadingAnimate{from {-webkit-transform: rotateY(0deg) scale(0.8);-o-transform: rotateY(0deg) scale(0.8);-ms-transform: rotateY(0deg) scale(0.8);-moz-transform: rotateY(0deg) scale(0.8);transform: rotateY(0deg) scale(0.8);}to {-webkit-transform: rotateY(-180deg) scale(0.8);-o-transform: rotateY(-180deg) scale(0.8);-ms-transform: rotateY(-180deg) scale(0.8);-moz-transform: rotateY(-180deg) scale(0.8);transform: rotateY(-180deg) scale(0.8);}}"+
3	"@-webkit-keyframes loadingAnimate{from {-webkit-transform: rotateY(0deg) scale(0.8);-o-transform: rotateY(0deg) scale(0.8);-ms-transform: rotateY(0deg) scale(0.8);-moz-transform: rotateY(0deg) scale(0.8);transform: rotateY(0deg) scale(0.8);}to {-webkit-transform: rotateY(-180deg) scale(0.8);-o-transform: rotateY(-180deg) scale(0.8);-ms-transform: rotateY(-180deg) scale(0.8);-moz-transform: rotateY(-180deg) scale(0.8);transform: rotateY(-180deg) scale(0.8);}}"+
4	".loadingRun{-webkit-animation : loadingAnimate 1.2s infinite;animation : loadingAnimate 1.2s infinite;}" + 
5	".loader,.loader:after {border-radius: 50%;width: 60px;height: 60px;}" +
6".loader {margin: 60px auto;font-size: 10px;position: relative;text-indent: -9999em;border-top: 1.1em solid rgba(255, 255, 255, 0.2);border-right: 1.1em solid rgba(255, 255, 255, 0.2);border-bottom: 1.1em solid rgba(255, 255, 255, 0.2);" + 
7  "border-left: 1.1em solid #ffffff;-webkit-transform: translateZ(0);-ms-transform: translateZ(0);transform: translateZ(0);-webkit-animation: load8 1.1s infinite linear;animation: load8 1.1s infinite linear;}" +
8 "@-webkit-keyframes load8 {0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);}100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}" +
9 "@keyframes load8 {0% {-webkit-transform: rotate(0deg);transform: rotate(0deg);}100% {-webkit-transform: rotate(360deg);transform: rotate(360deg);}}" +
10"</style>");
11
12var videoImage = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAG4AAABYCAYAAAAUeMJLAAAABHNCSVQICAgIfAhkiAAABRBJREFUeF7tnb2rHUUYxp8H/wBjo6Wd2ARvesFYCTbJBRtBMCqmsAhGEPEDTNBCBSGQQrQxkYhCiqhNRBAjtkJu8APBSgu1EExEwaj4ynPdve7ds4dzdmZ2Z+fu+8LlwLkz884+v/l4z+zsDrHEzOwQgA0AB6vPfcvS+vdJFbgKYAvAJX2SfL+rdLa/NDPBerOClbRGXliQAoL4EEl97tgucGb2PIATQcV7pqEVOEHyZO1kB5yZCZjAuU1XgeMkT6l62+Cq4fFyR33PAjhTjbUae90GVsDMFEtoujoC4MEOdwc0bNbgBE2Ja7sG4DBJTZBumRQwMwWG7wG4sVEFBSwHaGaHAVxo1e1uh5aJVsttBe+T1tebAtee286SVDd1m4gCZqbpqjlsnhQ4DYd3NerovW0iwOpqdPS6TwXuFwDNH9c3kfRAZELwqoBFnGq7KnDWrCPJhR/lXdfQzpfiOnP5zuVXmoX6dnAR4uVsrA7OwcW3v9BhI9ZzLr8+VEaSc3CFCujgHFxvBUIbjQcnHpz0bmwLGUJbX6znXH6zBCexYnn+fgosLJSErpz0c+upYxVwcLEKZsrv4DIJH+vWwcUqmCm/g8skfKxbBxerYKb8Di6T8LFu9wQ4M7sBwG3aWUjym1hRSshfPDgzewDAqwBurgT/GcDbAJ4j+VsJEELqWDQ4M7sdwJcA1OPa9h2AoyQ/ChFm6nlKB3cewH0rRH4LwDGS2tS7Z6x0cD8BuGUNGj8CeIykdgHvCSsdnLYNNrdjr4IicI+S1DxYtM0NnGAJmobOd0omN0dwNS8FLQpeFMQUZ3MGJ1i/A3gGwGmSuzYCT53k3MHVfD4D8AjJb6cOrK6fg/uf1B8A9GjuKyT/mTpAB7dI6HMAD5P8YsrwHFw3nb8AvAzgRZLXpwiwdHDtR8JSa/wVgHtJfp+64NjyHNxqBb8GoAfk/1yddLwUDm49rdXrLq6XdJxUpYPru+QVqurTJF8KzTxEPge3nqr3k3x3vaTjpHJwq3X+FcCtU3sOvnRwQ0eVWhI7RPLj1XzHTVE6uCHnuEkvgzm4xY6iO+VPAXhjygvPDm43OG0yepKk7phP2hzcf3iK21g0d3C6C3AawLMkFYgUY3MGp9V/3QXQ3YDibI7gtNr/QnXfTXcBirS5gZt0iN+nBc0FnHZ2PQHg3JRD/DmB+xDAPSsuWCH+43thL2XzOkvvcV2vIa6vr7gQfzY9ThdqZq9rf2Tjov8G8BoA3YopKsSfFbgK3n4Ad4ojgA9I/tBHhBLTFj1Ulih4qjo7uFRKjlyOgxtZ8FTuHFwqJUcux8GNLHgqdw4ulZIjl+PgRhY8lTsHl0rJkctxcCMLnspdMnDtglJUMNcrdnP5lWahvv1l2hHi5WysDs7Bxbe/0GEj1nMuvz5URpJzcIUK6OAcXG8FQhuNBycenPRubAsZQltfrOdcfmODk/ajS364bWxLSJy/43Dba36cdGKRhyhu2XHSfoD7EGonLHPZAe5dexX9EPeEwscU1dHbVNzm9pnfZrYF4I6GA817myQvxTj1vHEKVNAuANjXKOkKyY0a3AaAyx1uzgDQnxILptvAClSBiDrRkeqv7VFvPdraBlf1uvZcN3AVvfgABY6TPLX9M6KZ2cwcXoCaI2XZgbYArup5GjY1PDbnvJHq5m46FLiiIVPDY/N/u3pcq/cp2hTEg9Vnn9fGO4FwBfT6DkFSYLi17OyEfwGiWm1shbv/BgAAAABJRU5ErkJggg==";
13var parseBool = function(value,defaultValue){
14
15	if(value === true || value === false) return value;
16	if(value == undefined || value == null) return false;
17	defaultValue = !!defaultValue;
18
19	if(typeof(value) == "number") return (value != 0);
20	if(typeof(value) != "string") return false;
21
22	if(value == "") return false;
23
24	var trueArr=['true','yes','show','enable'],
25	falseArr=['false','no','hide','disable'],
26	value = value.toLowerCase();
27
28	if(trueArr.indexOf(value) < 0 && falseArr.indexOf(value) < 0){
29		return defaultValue;
30	}else{
31		return trueArr.indexOf(value)>=0;
32	}
33};
34
35window.waitForLoading = true;
36var LoadingJS = function(){
37	this.initConfig();
38
39	this.initHtml();
40	this.initCss();
41
42	this.startLoading();
43	this.onResize();
44
45	var self = this;
46	window.onresize =function(){
47		self.onResize();
48	};
49
50	window.setTimeout(function(){window.waitForLoading = false;},250);
51}
52
53LoadingJS.prototype = {
54
55	initConfig : function(){
56		try{
57		  this.loadingCaption = bookConfig.loadingCaption ? bookConfig.loadingCaption : document.title;
58		  this.loadingCaptionFontSize = !isNaN(bookConfig.loadingCaptionFontSize) ? parseInt(bookConfig.loadingCaptionFontSize) : 28;
59		  this.loadingCaptionFontSize = Math.min(100, this.loadingCaptionFontSize);
60		  this.loadingCaptionFontSize = Math.max(0, this.loadingCaptionFontSize);
61		  this.loadingCaptionColor = bookConfig.loadingCaptionColor ? bookConfig.loadingCaptionColor : "#DDDDDD";
62		  this.loadingBackground = bookConfig.loadingBackground ? bookConfig.loadingBackground : "#1F2232";
63		  this.loadingPicture = bookConfig.loadingPicture ? bookConfig.loadingPicture : "";
64		//   this.loadingPictureWidth = !isNaN(bookConfig.loadingPictureWidth) ? parseInt(bookConfig.loadingPictureWidth) : 80;
65		  this.loadingPictureHeight = !isNaN(bookConfig.loadingPictureHeight) ? parseInt(bookConfig.loadingPictureHeight) : 150;
66		  this.loadingDisplayTime = !isNaN(bookConfig.loadingDisplayTime) ? parseInt(bookConfig.loadingDisplayTime) : 0;
67		  this.loadingSpacing = !isNaN(bookConfig.loadingSpacing) ? parseInt(bookConfig.loadingSpacing) : 20;
68		  this.showLoadingGif = (bookConfig.showLoadingGif != undefined) ? parseBool(bookConfig.showLoadingGif, true) : true;
69		  this.loadingVideo = bookConfig.loadingVideo ? bookConfig.loadingVideo : "";
70		  if(this.loadingVideo) this.showLoadingGif = false;
71		}catch(err){
72		  this.loadingCaption = document.title;
73		  this.loadingCaptionFontSize = 28;
74		  this.loadingCaptionColor = "#DDDDDD";
75		  this.loadingBackground = "#1F2232";
76		  this.loadingPicture = "";
77		  this.showLoadingGif = true;
78		//   this.loadingPictureWidth = 80;
79		  this.loadingPictureHeight = 150;
80		  this.loadingDisplayTime = 0;
81		  this.loadingSpacing = 20;
82		  this.loadingVideo = "";
83		}
84  },
85
86	initHtml : function(){
87		this.stop = false;
88
89		this.instance = document.createElement("div");
90		this.title = document.createElement("p");
91		this.title.innerHTML = this.loadingCaption;
92		this.copyright = document.createElement("p");
93		this.copyright.setAttribute("style", "position:absolute;bottom:5%;font-size:1.1rem;width:100%;text-align:center;");
94		if(window.userInfo && window.userInfo.copyright) this.copyright.innerHTML = window.userInfo.copyright;
95
96		this.bg = document.createElement("div");
97		this.bg.setAttribute("style", "transform:scale(1);");
98
99		if(this.showLoadingGif)
100			this.initAnimationHtml();
101
102		if(this.loadingVideo) {
103			this.initVideo();
104		}
105
106		if(this.loadingPicture) {
107			this.image = document.createElement("img");
108			this.image.src = this.loadingPicture;
109			this.instance.appendChild(this.image);
110		}
111		this.instance.appendChild(this.title);
112		this.instance.appendChild(this.copyright);
113		this.bg.appendChild(this.instance);
114		document.body.appendChild(this.bg);
115	},
116
117	initVideo: function(){
118		this.videoImage = document.createElement("img");
119		this.videoImage.src = videoImage;
120		this.videoImage.setAttribute("style", "position: absolute; top: 0px; right: 0px;left:0;bottom:0;margin:auto; z-index: 4;");
121		this.videoImage.addEventListener("click", function(){
122			this.video.style.display = "block";
123			this.instance.style.display = "none";
124			this.video.play();
125		}.bind(this));
126
127		this.videoLoadImage = document.createElement("div");
128		this.videoLoadImage.setAttribute("style", "position: absolute; top: auto; right: 0px;left:0;bottom:50%;margin:auto; z-index: 4;");
129		this.videoLoadImage.setAttribute("class", "loader");
130
131		this.video = document.createElement("video");
132		this.video.src = this.loadingVideo;
133		// this.video.setAttribute("webkit-playsinline", "true");
134		// this.video.setAttribute("x5-playsinline", "true");
135		// this.video.setAttribute("playsinline", "");
136		this.video.setAttribute("preload", "auto");
137		// this.video.setAttribute("controls", "controls");
138		// this.video.setAttribute("muted", "");
139		// this.video.setAttribute("x-webkit-airplay", "allow");
140		this.video.setAttribute("style", "width: 100%; height: 100%; display:none;object-fit: fill; position: absolute; top: 0px; right: 0px; z-index: 3;");
141		this.bg.appendChild(this.video);
142		this.instance.appendChild(this.videoImage);
143		this.instance.appendChild(this.videoLoadImage);
144		this.video.load();
145	},
146
147	showVideo: function(){
148		// $(this.instance).fadeOut(500, function(){
149			
150		// }.bind(this));
151		// $(this.videoImage).fadeIn(500, function(){
152			this.videoImage.style.display = "block";
153			this.videoLoadImage.style.display = "none";
154		// });
155	},
156
157	loadingSvg: function(){
158		// this.loadImageUrl = "<svg t=\"1525916222299\" class=\"icon\" style=\"\" viewBox=\"130 0 800 1024\" version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" p-id=\"2478\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"49\" height=\"56\"><defs><style type=\"text/css\"></style></defs><path d=\"M835.55027 48.761905C876.805122 48.761905 910.222223 81.441158 910.222223 121.753604L910.222223 902.095C910.222223 902.095 910.222223 942.409011 876.805 975.238095L113.777778 975.238095 113.777778 24.380952 88.888889 48.761905 835.55027 48.761905ZM64 0 64 24.380952 64 1024L960 1024C835.55027 1024 904.277615 1024 960 969.325498L960 54.49204
158C960 54.49204 904.277615 0 835.55027 0L88.888889 0 64 0Z\" p-id=\"2479\"></path><path d=\"M775.164361 219.428572C788.910114 219.428572 800.05325 208.512847 800.05325 195.047619 800.05325 181.582391 788.910114 170.666667 775.164361 170.666667L263.111111 170.666667C249.365357 170.666667 238.222222 181.582391 238.222222 195.047619 238.222222 208.512847 249.365357 219.428572 263.111111 219.428572L775.164361 219.428572Z\" p-id=\"2481\"></path><path d=\"M775.164361 365.714285C788.910114 365.714285 800.05325 354.798562 800.05325 341.333333 800.05325 327.868105 788.910114 316.952382 775.164361 316.952382L263.111111 316.952382C249.365357 316.952382 238.222222 327.868105 238.222222 341.333333 238.222222 354.798562 249.365357 365.714285 263.111111 365.714285L775.164361 365.714285Z\" p-id=\"2482\"></path><path d=\"M775.164361 536.380951C788.910114 536.380951 800.05325 525.465229 800.05325 512 800.05325 498.534771 788.910114 487.619049 775.164361 487.619049L263.111111 487.619049C249.365357 487.619049 238.222222 498.534771 238.222222 512 238.222222 525.465229 249.365357 536.380951 263.111111 536.380951L775.164361 536.380951Z\" p-id=\"2483\"></path></svg>";
159
160		var loadImageUrl = document.createElementNS("http://www.w3.org/2000/svg", 'svg');
161		loadImageUrl.setAttribute("t", "1525916222299");
162		loadImageUrl.setAttribute("class", "icon");
163		loadImageUrl.setAttribute("style", "");
164		loadImageUrl.setAttribute("viewBox", "130 0 800 1024");
165		loadImageUrl.setAttribute("version", "1.1");
166		loadImageUrl.setAttribute("xmlns", "http://www.w3.org/2000/svg");
167		loadImageUrl.setAttribute("p-id", "2478");
168		loadImageUrl.setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink");
169		loadImageUrl.setAttribute("width", "49");
170		loadImageUrl.setAttribute("height", "56");
171
172		var defs = document.createElementNS("http://www.w3.org/2000/svg", 'defs');
173		var style = document.createElementNS("http://www.w3.org/2000/svg", 'style');
174		style.setAttribute("type", "text/css");
175		var path1 = document.createElementNS("http://www.w3.org/2000/svg", 'path');
176		path1.setAttribute("d", "M835.55027 48.761905C876.805122 48.761905 910.222223 81.441158 910.222223 121.753604L910.222223 902.095C910.222223 902.095 910.222223 942.409011 876.805 975.238095L113.777778 975.238095 113.777778 24.380952 88.888889 48.761905 835.55027 48.761905ZM64 0 64 24.380952 64 1024L960 1024C835.55027 1024 904.277615 1024 960 969.325498L960 54.49204C960 54.49204 904.277615 0 835.55027 0L88.888889 0 64 0Z");
177		path1.setAttribute("p-id", "2479");
178
179		var path2 = document.createElementNS("http://www.w3.org/2000/svg", 'path');
180		path2.setAttribute("d", "M775.164361 219.428572C788.910114 219.428572 800.05325 208.512847 800.05325 195.047619 800.05325 181.582391 788.910114 170.666667 775.164361 170.666667L263.111111 170.666667C249.365357 170.666667 238.222222 181.582391 238.222222 195.047619 238.222222 208.512847 249.365357 219.428572 263.111111 219.428572L775.164361 219.428572Z");
181		path2.setAttribute("p-id", "2481");
182
183		var path3 = document.createElementNS("http://www.w3.org/2000/svg", 'path');
184		path3.setAttribute("d", "M775.164361 365.714285C788.910114 365.714285 800.05325 354.798562 800.05325 341.333333 800.05325 327.868105 788.910114 316.952382 775.164361 316.952382L263.111111 316.952382C249.365357 316.952382 238.222222 327.868105 238.222222 341.333333 238.222222 354.798562 249.365357 365.714285 263.111111 365.714285L775.164361 365.714285Z");
185		path3.setAttribute("p-id", "2482");
186
187		var path4 = document.createElementNS("http://www.w3.org/2000/svg", 'path');
188		path4.setAttribute("d", "M775.164361 536.380951C788.910114 536.380951 800.05325 525.465229 800.05325 512 800.05325 498.534771 788.910114 487.619049 775.164361 487.619049L263.111111 487.619049C249.365357 487.619049 238.222222 498.534771 238.222222 512 238.222222 525.465229 249.365357 536.380951 263.111111 536.380951L775.164361 536.380951Z");
189		path4.setAttribute("p-id", "2483");
190
191		defs.appendChild(style);
192		loadImageUrl.appendChild(defs);
193		loadImageUrl.appendChild(path1);
194		loadImageUrl.appendChild(path2);
195		loadImageUrl.appendChild(path3);
196		loadImageUrl.appendChild(path4);
197
198		return loadImageUrl;
199	},
200
201	initAnimationHtml : function(){
202		if(!document.createElementNS) return;
203
204		this.loadBox = document.createElement("div");
205		var img1 = this.loadingSvg();
206		var img2 = this.loadingSvg();
207		this.img3 = this.loadingSvg();
208		this.img3.setAttribute("class", "loadingRun");
209
210		this.img3.setAttribute("style", (
211			"position : absolute;" +
212			"left : 20px;" +
213			"top : 0;" +
214			"z-index : -1;" +
215			"-webkit-transform-origin : 0 0;" +
216			"-o-transform-origin : 0 0;" +
217			"-ms-transform-origin : 0 0;" +
218			"-moz-transform-origin : 0 0;" +
219			"transform-origin : 0 0;" +
220			"fill :"  + this.loadingCaptionColor + ";"
221		));
222
223		img2.setAttribute("style", (
224			"position : absolute;" +
225			"left : 20px;" +
226			"top : 0;" +
227			"-webkit-transform:rotateY(180deg) scale(0.8);" +
228			"-o-transform:rotateY(180deg) scale(0.8);" +
229			"-ms-transform:rotateY(180deg) scale(0.8);" +
230			"-moz-transform:rotateY(180deg) scale(0.8);" +
231			"transform:rotateY(180deg) scale(0.8);" +
232			"-webkit-transform-origin : 0 0;" +
233			"-o-transform-origin : 0 0;" +
234			"-ms-transform-origin : 0 0;" +
235			"-moz-transform-origin : 0 0;" +
236			"transform-origin : 0 0;" +
237			"fill : " + this.loadingCaptionColor + ";"
238		));
239
240		img1.setAttribute("style", (
241			"position : absolute;" +
242			"left : 20px;" +
243			"top : 0;" +
244			"-webkit-transform:rotateY(0) scale(0.8);" +
245			"-o-transform:rotateY(0) scale(0.8);" +
246			"-ms-transform:rotateY(0) scale(0.8);" +
247			"-moz-transform:rotateY(0) scale(0.8);" +
248			"transform:rotateY(0) scale(0.8);" +
249			"-webkit-transform-origin : 0 0;" +
250			"-o-transform-origin : 0 0;" +
251			"-ms-transform-origin : 0 0;" +
252			"-moz-transform-origin : 0 0;" +
253			"transform-origin : 0 0;" +
254			"fill : " + this.loadingCaptionColor + ";"
255		));
256
257		this.loadBox.appendChild(img1);
258		this.loadBox.appendChild(img2);
259		this.loadBox.appendChild(this.img3);
260		this.instance.appendChild(this.loadBox);
261	},
262
263	startLoading : function(){
264		
265	},
266
267	destroy : function(){
268
269		// video1.removeEventListener('ended',this);
270                            
271        //                     $('.shade').hide();
272        //                     $("#videoID").hide();
273        //                     $(".flipbook").show();
274        //                     // $('.flipbook-viewport').show();
275        //                     $('.flipbook-viewport').fadeIn(3000);
276        //                     $('#musicinfo').show();
277		if(global.isIE8()||global.isIE9()){
278			$(this.bg).animate({"opacity":"0"},0.6,function(){
279				$("body>style").html("");
280				$(this.bg).remove();
281				$("body").css({"background-color" : ""});
282			}.bind(this));
283		}else{
284			animateOnce($(this.bg) , {"opacity":"0"} , 0.6 ,function(){
285				$(this.img3).attr("class", "");
286				$("body>style").html("");
287				$(this.bg).remove();
288				$(this.image).attr("src", "");
289				$("body").css({"background-color" : ""});
290			}.bind(this));
291		}
292
293	},
294
295	initCss : function(){
296		document.getElementsByTagName("html")[0].setAttribute("style",(
297			"margin : 0;" +
298			"padding : 0;" +
299			"width : 100%;" +
300			"height : 100%;"
301		));
302
303		document.body.setAttribute("style", (
304			"margin : 0;" +
305			"padding : 0;" +
306			"width : 100%;" +
307			"height : 100%;" +
308			"position : fixed;" +
309			"background-color :" + this.loadingBackground + ";"
310		));
311
312		this.bg.setAttribute("style", (
313			"margin : 0;" +
314			"padding : 0;" +
315			"width : 100%;" +
316			"height : 100%;" +
317			"position : fixed;" +
318			"background-color:"  + this.loadingBackground + ";"
319		));
320
321		this.instance.setAttribute("style", (
322			"width : 100%;" +
323			"height : 100%;" +
324			"opacity : 1;" +
325			"color :" +  this.loadingCaptionColor + ";" +
326			"text-align : center;" +
327			"vertical-align : middle;" +
328			"font-family : Tahoma;" +
329		  "position : relative;"
330
331		));
332
333		var titleTran = "translate(-50%, " + this.loadingSpacing/2 + "px)";
334		var loadingBoxTran = "translate(-50% , -" + (this.loadingSpacing/2 + 45) + "px)";
335		var videoImageTran = "translate(-50% , -" + (this.loadingSpacing/2 + 60) + "px)";
336		// var videoLoadImageTran = "translate(-50% , -" + (this.loadingSpacing/2 + 60) + "px)";
337		var imageTran = "translate(-50% , 0)";
338		var imageTop = "5%";
339		var imageDisplay = "block";
340
341		var loadingPictureHeight = Math.min(window.innerHeight * 0.35, this.loadingPictureHeight);
342		if(this.showLoadingGif || this.loadingVideo){
343			if(window.innerHeight <= 300) imageDisplay = "none";
344		} else {
345			imageTop = "50%";
346			imageTran = "translate(-50% , -" + (this.loadingSpacing/2 + loadingPictureHeight) + "px)";
347		}
348
349		if(this.image) this.image.setAttribute("style", (
350			"display : " + imageDisplay + ";" +
351			"position : absolute;" +
352			"top : " + imageTop + ";" +
353			"left : 50%;" +
354			"-webkit-transform :"  + imageTran + ";" +
355		  "-moz-transform :"  + imageTran + ";" +
356		  "-ms-transform :" + imageTran + ";" +
357		  "-o-transform :" + imageTran + ";" +
358			"transform :"  +imageTran + ";" +
359			// "width : " + this.loadingPictureWidth + "px;" +
360			"height : " + this.loadingPictureHeight + "px;" +
361			"max-width : 90%;" +
362			"max-height : 35%;"
363		));
364
365		this.title.setAttribute("style", (
366			"font-family:Arial,Helvetica,sans serif;" +
367		  "font-size : " + this.loadingCaptionFontSize + "px;" +
368		  "position : absolute;" +
369		  "top : 50%;" +
370		  "left : 50%;" +
371		  "-webkit-transform :"  + titleTran + ";" +
372		  "-moz-transform :"  + titleTran + ";" +
373		  "-ms-transform :" + titleTran + ";" +
374		  "-o-transform :" + titleTran + ";" +
375			"transform :"  +titleTran + ";" +
376		  "margin : 0;" +
377		  "padding : 0;" +
378		  "width:90%;"
379		));
380
381		if(this.videoImage) this.videoImage.setAttribute("style", (
382			"position:relative;" +
383			"cursor:pointer;" +
384			"display:none;" +
385			"z-index:4;" +
386			"perspective:200px;" +
387			"-webkit-transform-style:preserve-3d;" +
388			"-o-transform-style:preserve-3d;" +
389			"-ms-transform-style:preserve-3d;" +
390			"-moz-transform-style:preserve-3d;" +
391			"transform-style:preserve-3d;" +
392			"position : absolute;" +
393			"width : auto;" +
394			"height : 60px;" +
395			"left : 50%;" +
396			"top : 50%;" +
397			"-webkit-transform : " +videoImageTran + ";" +
398		  "-moz-transform : " +videoImageTran + ";" +
399		  "-ms-transform : " +videoImageTran + ";" +
400		  "-o-transform : " +videoImageTran + ";" +
401			"transform : " + videoImageTran + ";" +
402		  "padding : 0;"
403		));
404
405		if(this.videoLoadImage) 
406			this.videoLoadImage.style["margin-bottom"] = this.loadingSpacing/2 + "px";
407
408		if(this.loadBox) this.loadBox.setAttribute("style", (
409			"position:relative;" +
410			"perspective:200px;" +
411			"-webkit-transform-style:preserve-3d;" +
412			"-o-transform-style:preserve-3d;" +
413			"-ms-transform-style:preserve-3d;" +
414			"-moz-transform-style:preserve-3d;" +
415			"transform-style:preserve-3d;" +
416			"position : absolute;" +
417			"width : 39.2px;" +
418			"height : 44.8px;" +
419			"left : 50%;" +
420			"top : 50%;" +
421			"-webkit-transform : " +loadingBoxTran + ";" +
422		  "-moz-transform : " +loadingBoxTran + ";" +
423		  "-ms-transform : " +loadingBoxTran + ";" +
424		  "-o-transform : " +loadingBoxTran + ";" +
425			"transform : " + loadingBoxTran + ";" +
426		  "padding : 0;"
427		));
428	},
429
430	onResize : function(){}
431
432}
433
434var jsLoadingBar = new LoadingJS();

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.