PageSourceSearch

https://boddiskin.com/cdn/shop/t/10/assets/jarallax-video.min.js?v=155869405244917713301776178456

js boddiskin.com collected 2026-10-08 16:21:02 UTC 22,763 bytes, 779 lines download raw bytes

1/*!
2 * Video Extension for Jarallax v2.1.3 (https://github.com/nk-o/jarallax)
3 * Copyright 2022 nK <https://nkdev.info>
4 * Licensed under MIT (https://github.com/nk-o/jarallax/blob/master/LICENSE)
5 */
6!(function (e, t) {
7	"object" == typeof exports && "undefined" != typeof module
8		? (module.exports = t())
9		: "function" == typeof define && define.amd
10		? define(t)
11		: ((e =
12				"undefined" != typeof globalThis
13					? globalThis
14					: e || self).jarallaxVideo = t());
15})(this, function () {
16	"use strict";
17	/*!
18	 * Video Worker v2.1.5 (https://github.com/nk-o/video-worker)
19	 * Copyright 2022 nK <https://nkdev.info>
20	 * Licensed under MIT (https://github.com/nk-o/video-worker/blob/master/LICENSE)
21	 */ let e;
22	e =
23		"undefined" != typeof window
24			? window
25			: "undefined" != typeof global
26			? global
27			: "undefined" != typeof self
28			? self
29			: {};
30	var t = e;
31	function o() {
32		(this.doneCallbacks = []), (this.failCallbacks = []);
33	}
34	o.prototype = {
35		execute(e, t) {
36			let o = e.length;
37			for (t = Array.prototype.slice.call(t); o; )
38				(o -= 1), e[o].apply(null, t);
39		},
40		resolve(...e) {
41			this.execute(this.doneCallbacks, e);
42		},
43		reject(...e) {
44			this.execute(this.failCallbacks, e);
45		},
46		done(e) {
47			this.doneCallbacks.push(e);
48		},
49		fail(e) {
50			this.failCallbacks.push(e);
51		},
52	};
53	var i = {
54		autoplay: !1,
55		loop: !1,
56		mute: !1,
57		volume: 100,
58		showControls: !0,
59		accessibilityHidden: !1,
60		startTime: 0,
61		endTime: 0,
62	};
63	let a = 0,
64		n = 0,
65		s = 0,
66		l = 0,
67		r = 0;
68	const p = new o(),
69		d = new o();
70	class u {
71		constructor(e, t) {
72			const o = this;
73			(o.url = e),
74				(o.options_default = { ...i }),
75				(o.options = (function (e, ...t) {
76					return (
77						(e = e || {}),
78						Object.keys(t).forEach((o) => {
79							t[o] &&
80								Object.keys(t[o]).forEach((i) => {
81									e[i] = t[o][i];
82								});
83						}),
84						e
85					);
86				})({}, o.options_default, t)),
87				(o.videoID = o.parseURL(e)),
88				o.videoID && ((o.ID = a), (a += 1), o.loadAPI(), o.init());
89		}
90		parseURL(e) {
91			const t = (function (e) {
92					const t = e.match(
93						/.*(?:youtu.be\/|v\/|u\/\w\/|embed\/|shorts\/|watch\?v=)([^#\&\?]*).*/
94					);
95					return !(!t || 11 !== t[1].length) && t[1];
96				})(e),
97				o = (function (e) {
98					const t = e.match(
99						/https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)/
100					);
101					return !(!t || !t[3]) && t[3];
102				})(e),
103				i = (function (e) {
104					const t = e.split(/,(?=mp4\:|webm\:|ogv\:|ogg\:)/),
105						o = {};
106					let i = 0;
107					return (
108						t.forEach((e) => {
109							const t = e.match(/^(mp4|webm|ogv|ogg)\:(.*)/);
110							t &&
111								t[1] &&
112								t[2] &&
113								((o["ogv" === t[1] ? "ogg" : t[1]] = t[2]), (i = 1));
114						}),
115						!!i && o
116					);
117				})(e);
118			return t
119				? ((this.type = "youtube"), t)
120				: o
121				? ((this.type = "vimeo"), o)
122				: !!i && ((this.type = "local"), i);
123		}
124		isValid() {
125			return !!this.videoID;
126		}
127		on(e, t) {
128			(this.userEventsList = this.userEventsList || []),
129				(this.userEventsList[e] || (this.userEventsList[e] = [])).push(t);
130		}
131		off(e, t) {
132			this.userEventsList &&
133				this.userEventsList[e] &&
134				(t
135					? this.userEventsList[e].forEach((o, i) => {
136							o === t && (this.userEventsList[e][i] = !1);
137					  })
138					: delete this.userEventsList[e]);
139		}
140		fire(e, ...t) {
141			this.userEventsList &&
142				void 0 !== this.userEventsList[e] &&
143				this.userEventsList[e].forEach((e) => {
144					e && e.apply(this, t);
145				});
146		}
147		play(e) {
148			const o = this;
149			o.player &&
150				("youtube" === o.type &&
151					o.player.playVideo &&
152					(void 0 !== e && o.player.seekTo(e || 0),
153					t.YT.PlayerState.PLAYING !== o.player.getPlayerState() &&
154						o.player.playVideo()),
155				"vimeo" === o.type &&
156					(void 0 !== e && o.player.setCurrentTime(e),
157					o.player.getPaused().then((e) => {
158						e && o.player.play();
159					})),
160				"local" === o.type &&
161					(void 0 !== e && (o.player.currentTime = e),
162					o.player.paused && o.player.play()));
163		}
164		pause() {
165			const e = this;
166			e.player &&
167				("youtube" === e.type &&
168					e.player.pauseVideo &&
169					t.YT.PlayerState.PLAYING === e.player.getPlayerState() &&
170					e.player.pauseVideo(),
171				"vimeo" === e.type &&
172					e.player.getPaused().then((t) => {
173						t || e.player.pause();
174					}),
175				"local" === e.type && (e.player.paused || e.player.pause()));
176		}
177		mute() {
178			const e = this;
179			e.player &&
180				("youtube" === e.type && e.player.mute && e.player.mute(),
181				"vimeo" === e.type && e.player.setVolume && e.setVolume(0),
182				"local" === e.type && (e.$video.muted = !0));
183		}
184		unmute() {
185			const e = this;
186			e.player &&
187				("youtube" === e.type && e.player.mute && e.player.unMute(),
188				"vimeo" === e.type &&
189					e.player.setVolume &&
190					e.setVolume(e.options.volume || 100),
191				"local" === e.type && (e.$video.muted = !1));
192		}
193		setVolume(e = !1) {
194			const t = this;
195			t.player &&
196				"number" == typeof e &&
197				("youtube" === t.type && t.player.setVolume && t.player.setVolume(e),
198				"vimeo" === t.type && t.player.setVolume && t.player.setVolume(e / 100),
199				"local" === t.type && (t.$video.volume = e / 100));
200		}
201		getVolume(e) {
202			const t = this;
203			t.player
204				? ("youtube" === t.type &&
205						t.player.getVolume &&
206						e(t.player.getVolume()),
207				  "vimeo" === t.type &&
208						t.player.getVolume &&
209						t.player.getVolume().then((t) => {
210							e(100 * t);
211						}),
212				  "local" === t.type && e(100 * t.$video.volume))
213				: e(!1);
214		}
215		getMuted(e) {
216			const t = this;
217			t.player
218				? ("youtube" === t.type && t.player.isMuted && e(t.player.isMuted()),
219				  "vimeo" === t.type &&
220						t.player.getVolume &&
221						t.player.getVolume().then((t) => {
222							e(!!t);
223						}),
224				  "local" === t.type && e(t.$video.muted))
225				: e(null);
226		}
227		getImageURL(e) {
228			const o = this;
229			if (o.videoImage) e(o.videoImage);
230			else {
231				if ("youtube" === o.type) {
232					const t = ["maxresdefault", "sddefault", "hqdefault", "0"];
233					let i = 0;
234					const a = new Image();
235					(a.onload = function () {
236						120 !== (this.naturalWidth || this.width) || i === t.length - 1
237							? ((o.videoImage = `https://img.youtube.com/vi/${o.videoID}/${t[i]}.jpg`),
238							  e(o.videoImage))
239							: ((i += 1),
240							  (this.src = `https://img.youtube.com/vi/${o.videoID}/${t[i]}.jpg`));
241					}),
242						(a.src = `https://img.youtube.com/vi/${o.videoID}/${t[i]}.jpg`);
243				}
244				if ("vimeo" === o.type) {
245					let i = t.innerWidth || 1920;
246					t.devicePixelRatio && (i *= t.devicePixelRatio),
247						(i = Math.min(i, 1920));
248					let a = new XMLHttpRequest();
249					a.open(
250						"GET",
251						`https://vimeo.com/api/oembed.json?url=${o.url}&width=${i}`,
252						!0
253					),
254						(a.onreadystatechange = function () {
255							if (
256								4 === this.readyState &&
257								this.status >= 200 &&
258								this.status < 400
259							) {
260								const t = JSON.parse(this.responseText);
261								t.thumbnail_url &&
262									((o.videoImage = t.thumbnail_url), e(o.videoImage));
263							}
264						}),
265						a.send(),
266						(a = null);
267				}
268			}
269		}
270		getIframe(e) {
271			this.getVideo(e);
272		}
273		getVideo(e) {
274			const o = this;
275			o.$video
276				? e(o.$video)
277				: o.onAPIready(() => {
278						let i;
279						if (
280							(o.$video ||
281								((i = document.createElement("div")),
282								(i.style.display = "none")),
283							"youtube" === o.type)
284						) {
285							let e, a;
286							(o.playerOptions = {
287								host: "https://www.youtube-nocookie.com",
288								videoId: o.videoID,
289								playerVars: {
290									autohide: 1,
291									rel: 0,
292									autoplay: 0,
293									playsinline: 1,
294								},
295							}),
296								o.options.showControls ||
297									((o.playerOptions.playerVars.iv_load_policy = 3),
298									(o.playerOptions.playerVars.modestbranding = 1),
299									(o.playerOptions.playerVars.controls = 0),
300									(o.playerOptions.playerVars.showinfo = 0),
301									(o.playerOptions.playerVars.disablekb = 1)),
302								(o.playerOptions.events = {
303									onReady(e) {
304										if (
305											(o.options.mute
306												? e.target.mute()
307												: "number" == typeof o.options.volume &&
308												  e.target.setVolume(o.options.volume),
309											o.options.autoplay && o.play(o.options.startTime),
310											o.fire("ready", e),
311											o.options.loop && !o.options.endTime)
312										) {
313											const e = 0.1;
314											o.options.endTime = o.player.getDuration() - e;
315										}
316										setInterval(() => {
317											o.getVolume((t) => {
318												o.options.volume !== t &&
319													((o.options.volume = t), o.fire("volumechange", e));
320											});
321										}, 150);
322									},
323									onStateChange(i) {
324										o.options.loop &&
325											i.data === t.YT.PlayerState.ENDED &&
326											o.play(o.options.startTime),
327											e ||
328												i.data !== t.YT.PlayerState.PLAYING ||
329												((e = 1), o.fire("started", i)),
330											i.data === t.YT.PlayerState.PLAYING && o.fire("play", i),
331											i.data === t.YT.PlayerState.PAUSED && o.fire("pause", i),
332											i.data === t.YT.PlayerState.ENDED && o.fire("ended", i),
333											i.data === t.YT.PlayerState.PLAYING
334												? (a = setInterval(() => {
335														o.fire("timeupdate", i),
336															o.options.endTime &&
337																o.player.getCurrentTime() >=
338																	o.options.endTime &&
339																(o.options.loop
340																	? o.play(o.options.startTime)
341																	: o.pause());
342												  }, 150))
343												: clearInterval(a);
344									},
345									onError(e) {
346										o.fire("error", e);
347									},
348								});
349							const n = !o.$video;
350							if (n) {
351								const e = document.createElement("div");
352								e.setAttribute("id", o.playerID),
353									i.appendChild(e),
354									document.body.appendChild(i);
355							}
356							(o.player =
357								o.player || new t.YT.Player(o.playerID, o.playerOptions)),
358								n &&
359									((o.$video = document.getElementById(o.playerID)),
360									o.options.accessibilityHidden &&
361										(o.$video.setAttribute("tabindex", "-1"),
362										o.$video.setAttribute("aria-hidden", "true")),
363									(o.videoWidth =
364										parseInt(o.$video.getAttribute("width"), 10) || 1280),
365									(o.videoHeight =
366										parseInt(o.$video.getAttribute("height"), 10) || 720));
367						}
368						if ("vimeo" === o.type) {
369							if (
370								((o.playerOptions = {
371									dnt: 1,
372									id: o.videoID,
373									autopause: 0,
374									transparent: 0,
375									autoplay: o.options.autoplay ? 1 : 0,
376									loop: o.options.loop ? 1 : 0,
377									muted: o.options.mute || 0 === o.options.volume ? 1 : 0,
378								}),
379								o.options.showControls || (o.playerOptions.controls = 0),
380								!o.options.showControls &&
381									o.options.loop &&
382									o.options.autoplay &&
383									(o.playerOptions.background = 1),
384								!o.$video)
385							) {
386								let e = "";
387								Object.keys(o.playerOptions).forEach((t) => {
388									"" !== e && (e += "&"),
389										(e += `${t}=${encodeURIComponent(o.playerOptions[t])}`);
390								}),
391									(o.$video = document.createElement("iframe")),
392									o.$video.setAttribute("id", o.playerID),
393									o.$video.setAttribute(
394										"src",
395										`https://player.vimeo.com/video/${o.videoID}?${e}`
396									),
397									o.$video.setAttribute("frameborder", "0"),
398									o.$video.setAttribute("mozallowfullscreen", ""),
399									o.$video.setAttribute("allowfullscreen", ""),
400									o.$video.setAttribute("title", "Vimeo video player"),
401									o.options.accessibilityHidden &&
402										(o.$video.setAttribute("tabindex", "-1"),
403										o.$video.setAttribute("aria-hidden", "true")),
404									i.appendChild(o.$video),
405									document.body.appendChild(i);
406							}
407							let e;
408							(o.player =
409								o.player || new t.Vimeo.Player(o.$video, o.playerOptions)),
410								o.options.mute ||
411									"number" != typeof o.options.volume ||
412									o.setVolume(o.options.volume),
413								o.options.startTime &&
414									o.options.autoplay &&
415									o.player.setCurrentTime(o.options.startTime),
416								o.player.getVideoWidth().then((e) => {
417									o.videoWidth = e || 1280;
418								}),
419								o.player.getVideoHeight().then((e) => {
420									o.videoHeight = e || 720;
421								}),
422								o.player.on("timeupdate", (t) => {
423									e || (o.fire("started", t), (e = 1)),
424										o.fire("timeupdate", t),
425										o.options.endTime &&
426											o.options.endTime &&
427											t.seconds >= o.options.endTime &&
428											(o.options.loop
429												? o.play(o.options.startTime)
430												: o.pause());
431								}),
432								o.player.on("play", (e) => {
433									o.fire("play", e),
434										o.options.startTime &&
435											0 === e.seconds &&
436											o.play(o.options.startTime);
437								}),
438								o.player.on("pause", (e) => {
439									o.fire("pause", e);
440								}),
441								o.player.on("ended", (e) => {
442									o.fire("ended", e);
443								}),
444								o.player.on("loaded", (e) => {
445									o.fire("ready", e);
446								}),
447								o.player.on("volumechange", (e) => {
448									o.getVolume((e) => {
449										o.options.volume = e;
450									}),
451										o.fire("volumechange", e);
452								}),
453								o.player.on("error", (e) => {
454									o.fire("error", e);
455								});
456						}
457						if ("local" === o.type) {
458							let e;
459							o.$video ||
460								((o.$video = document.createElement("video")),
461								(o.player = o.$video),
462								o.options.showControls && (o.$video.controls = !0),
463								"number" == typeof o.options.volume &&
464									o.setVolume(o.options.volume),
465								o.options.mute && o.mute(),
466								o.options.loop && (o.$video.loop = !0),
467								o.$video.setAttribute("playsinline", ""),
468								o.$video.setAttribute("webkit-playsinline", ""),
469								o.options.accessibilityHidden &&
470									(o.$video.setAttribute("tabindex", "-1"),
471									o.$video.setAttribute("aria-hidden", "true")),
472								o.$video.setAttribute("id", o.playerID),
473								i.appendChild(o.$video),
474								document.body.appendChild(i),
475								Object.keys(o.videoID).forEach((e) => {
476									!(function (e, t, o) {
477										const i = document.createElement("source");
478										(i.src = t), (i.type = o), e.appendChild(i);
479									})(o.$video, o.videoID[e], `video/${e}`);
480								})),
481								o.player.addEventListener("playing", (t) => {
482									e || o.fire("started", t), (e = 1);
483								}),
484								o.player.addEventListener("timeupdate", function (e) {
485									o.fire("timeupdate", e),
486										o.options.endTime &&
487											o.options.endTime &&
488											this.currentTime >= o.options.endTime &&
489											(o.options.loop
490												? o.play(o.options.startTime)
491												: o.pause());
492								}),
493								o.player.addEventListener("play", (e) => {
494									o.fire("play", e);
495								}),
496								o.player.addEventListener("pause", (e) => {
497									o.fire("pause", e);
498								}),
499								o.player.addEventListener("ended", (e) => {
500									o.fire("ended", e);
501								}),
502								o.player.addEventListener("loadedmetadata", function () {
503									(o.videoWidth = this.videoWidth || 1280),
504										(o.videoHeight = this.videoHeight || 720),
505										o.fire("ready"),
506										o.options.autoplay && o.play(o.options.startTime);
507								}),
508								o.player.addEventListener("volumechange", (e) => {
509									o.getVolume((e) => {
510										o.options.volume = e;
511									}),
512										o.fire("volumechange", e);
513								}),
514								o.player.addEventListener("error", (e) => {
515									o.fire("error", e);
516								});
517						}
518						e(o.$video);
519				  });
520		}
521		init() {
522			this.playerID = `VideoWorker-${this.ID}`;
523		}
524		loadAPI() {
525			if (n && s) return;
526			let e = "";
527			if (
528				("youtube" !== this.type ||
529					n ||
530					((n = 1), (e = "https://www.youtube.com/iframe_api")),
531				"vimeo" === this.type && !s)
532			) {
533				if (((s = 1), void 0 !== t.Vimeo)) return;
534				e = "https://player.vimeo.com/api/player.js";
535			}
536			if (!e) return;
537			let o = document.createElement("script"),
538				i = document.getElementsByTagName("head")[0];
539			(o.src = e), i.appendChild(o), (i = null), (o = null);
540		}
541		onAPIready(e) {
542			const o = this;
543			if (
544				("youtube" === o.type &&
545					((void 0 !== t.YT && 0 !== t.YT.loaded) || l
546						? "object" == typeof t.YT && 1 === t.YT.loaded
547							? e()
548							: p.done(() => {
549									e();
550							  })
551						: ((l = 1),
552						  (t.onYouTubeIframeAPIReady = function () {
553								(t.onYouTubeIframeAPIReady = null), p.resolve("done"), e();
554						  }))),
555				"vimeo" === o.type)
556			)
557				if (void 0 !== t.Vimeo || r)
558					void 0 !== t.Vimeo
559						? e()
560						: d.done(() => {
561								e();
562						  });
563				else {
564					r = 1;
565					const o = setInterval(() => {
566						void 0 !== t.Vimeo && (clearInterval(o), d.resolve("done"), e());
567					}, 20);
568				}
569			"local" === o.type && e();
570		}
571	}
572	let m;
573	m =
574		"undefined" != typeof window
575			? window
576			: "undefined" != typeof global
577			? global
578			: "undefined" != typeof self
579			? self
580			: {};
581	var y,
582		c = m;
583	function v(e = c.jarallax) {
584		if (void 0 === e) return;
585		const t = e.constructor,
586			o = t.prototype.onScroll;
587		t.prototype.onScroll = function () {
588			const e = this;
589			o.apply(e);
590			!e.isVideoInserted &&
591				e.video &&
592				(!e.options.videoLazyLoading || e.isElementInViewport) &&
593				!e.options.disableVideo() &&
594				((e.isVideoInserted = !0),
595				e.video.getVideo((t) => {
596					const o = t.parentNode;
597					e.css(t, {
598						position: e.image.position,
599						top: "0px",
600						left: "0px",
601						right: "0px",
602						bottom: "0px",
603						width: "100%",
604						height: "100%",
605						maxWidth: "none",
606						maxHeight: "none",
607						pointerEvents: "none",
608						transformStyle: "preserve-3d",
609						backfaceVisibility: "hidden",
610						margin: 0,
611						zIndex: -1,
612					}),
613						(e.$video = t),
614						"local" === e.video.type &&
615							(e.image.src
616								? e.$video.setAttribute("poster", e.image.src)
617								: e.image.$item &&
618								  "IMG" === e.image.$item.tagName &&
619								  e.image.$item.src &&
620								  e.$video.setAttribute("poster", e.image.$item.src)),
621						e.options.videoClass &&
622							e.$video.setAttribute(
623								"class",
624								`${e.options.videoClass} ${e.options.videoClass}-${e.video.type}`
625							),
626						e.image.$container.appendChild(t),
627						o.parentNode.removeChild(o),
628						e.options.onVideoInsert && e.options.onVideoInsert.call(e);
629				}));
630		};
631		const i = t.prototype.coverImage;
632		t.prototype.coverImage = function () {
633			const e = this,
634				t = i.apply(e),
635				o = !!e.image.$item && e.image.$item.nodeName;
636			if (t && e.video && o && ("IFRAME" === o || "VIDEO" === o)) {
637				let i = t.image.height,
638					a = (i * e.image.width) / e.image.height,
639					n = (t.container.width - a) / 2,
640					s = t.image.marginTop;
641				t.container.width > a &&
642					((a = t.container.width),
643					(i = (a * e.image.height) / e.image.width),
644					(n = 0),
645					(s += (t.image.height - i) / 2)),
646					"IFRAME" === o && ((i += 400), (s -= 200)),
647					e.css(e.$video, {
648						width: `${a}px`,
649						marginLeft: `${n}px`,
650						height: `${i}px`,
651						marginTop: `${s}px`,
652					});
653			}
654			return t;
655		};
656		const a = t.prototype.initImg;
657		t.prototype.initImg = function () {
658			const e = this,
659				t = a.apply(e);
660			return (
661				e.options.videoSrc ||
662					(e.options.videoSrc =
663						e.$item.getAttribute("data-jarallax-video") || null),
664				e.options.videoSrc ? ((e.defaultInitImgResult = t), !0) : t
665			);
666		};
667		const n = t.prototype.canInitParallax;
668		t.prototype.canInitParallax = function () {
669			const e = this;
670			let t = n.apply(e);
671			if (!e.options.videoSrc) return t;
672			const o = new u(e.options.videoSrc, {
673				autoplay: !0,
674				loop: e.options.videoLoop,
675				showControls: !1,
676				accessibilityHidden: !0,
677				startTime: e.options.videoStartTime || 0,
678				endTime: e.options.videoEndTime || 0,
679				mute: !e.options.videoVolume,
680				volume: e.options.videoVolume || 0,
681			});
682			function i() {
683				e.image.$default_item &&
684					((e.image.$item = e.image.$default_item),
685					(e.image.$item.style.display = "block"),
686					e.coverImage(),
687					e.onScroll());
688			}
689			if (
690				(e.options.onVideoWorkerInit && e.options.onVideoWorkerInit.call(e, o),
691				o.isValid())
692			)
693				if (
694					(this.options.disableParallax() &&
695						((t = !0),
696						(e.image.position = "absolute"),
697						(e.options.type = "scroll"),
698						(e.options.speed = 1)),
699					t)
700				) {
701					if (
702						(o.on("ready", () => {
703							if (e.options.videoPlayOnlyVisible) {
704								const t = e.onScroll;
705								e.onScroll = function () {
706									t.apply(e),
707										e.videoError ||
708											(!e.options.videoLoop &&
709												(e.options.videoLoop || e.videoEnded)) ||
710											(e.isVisible() ? o.play() : o.pause());
711								};
712							} else o.play();
713						}),
714						o.on("started", () => {
715							(e.image.$default_item = e.image.$item),
716								(e.image.$item = e.$video),
717								(e.image.width = e.video.videoWidth || 1280),
718								(e.image.height = e.video.videoHeight || 720),
719								e.coverImage(),
720								e.onScroll(),
721								e.image.$default_item &&
722									(e.image.$default_item.style.display = "none");
723						}),
724						o.on("ended", () => {
725							(e.videoEnded = !0), e.options.videoLoop || i();
726						}),
727						o.on("error", () => {
728							(e.videoError = !0), i();
729						}),
730						(e.video = o),
731						!e.defaultInitImgResult &&
732							((e.image.src =
733								"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"),
734							"local" !== o.type))
735					)
736						return (
737							o.getImageURL((t) => {
738								(e.image.bgImage = `url("${t}")`), e.init();
739							}),
740							!1
741						);
742				} else
743					e.defaultInitImgResult ||
744						o.getImageURL((t) => {
745							const o = e.$item.getAttribute("style");
746							o && e.$item.setAttribute("data-jarallax-original-styles", o),
747								e.css(e.$item, {
748									"background-image": `url("${t}")`,
749									"background-position": "center",
750									"background-size": "cover",
751								});
752						});
753			return t;
754		};
755		const s = t.prototype.destroy;
756		t.prototype.destroy = function () {
757			const e = this;
758			e.image.$default_item &&
759				((e.image.$item = e.image.$default_item), delete e.image.$default_item),
760				s.apply(e);
761		};
762	}
763	return (
764		v(),
765		(y = () => {
766			void 0 !== c.jarallax &&
767				c.jarallax(document.querySelectorAll("[data-jarallax-video]"));
768		}),
769		"complete" === document.readyState || "interactive" === document.readyState
770			? y()
771			: document.addEventListener("DOMContentLoaded", y, {
772					capture: !0,
773					once: !0,
774					passive: !0,
775			  }),
776		c.VideoWorker || (c.VideoWorker = u),
777		v
778	);
779}); //# sourceMappingURL=jarallax-video.min.js.map

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.