1!(function (t) { 2 "function" == typeof define && define.amd 3 ? define(["jquery"], t) 4 : "undefined" != typeof exports 5 ? (module.exports = t(require("jquery"))) 6 : t(jQuery); 7})(function (t) { 8 "use strict"; 9 var o = "ayin_theme", 10 i = window.ayin_theme || {}; 11 ((i = (function () { 12 return function (e, o) { 13 var i = this; 14 (i.defaults = {}), 15 (i.options = 16 "object" == typeof o ? t.extend({}, i.defaults, o) : i.defaults), 17 (i.$el = t(e)), 18 "undefined" != typeof ayin_jav_js_object && 19 void 0 !== ayin_jav_js_object.query_vars && 20 void 0 !== ayin_jav_js_object.query_vars.paged 21 ? (i.global_blog_page = ayin_jav_js_object.query_vars.paged) 22 : (i.global_blog_page = -1), 23 0 == i.global_blog_page && (i.global_blog_page = 1), 24 (i.global_blog_ajax_load = !0), 25 (i.global_video_autoplay = "off"), 26 "undefined" == typeof ayin_jav_js_object || 27 void 0 === ayin_jav_js_object.video_auto_play || 28 i.getMobileOperatingSystem() || 29 (i.global_video_autoplay = ayin_jav_js_object.video_auto_play), 30 (i.global_browser_desktop_autoplay = "on"); 31 var a = /^((?!chrome|android).)*safari/i.test(navigator.userAgent); 32 !i.getMobileOperatingSystem() && 33 a && 34 (i.global_browser_desktop_autoplay = "off"), 35 (i.global_muted_video = !1), 36 "on" === i.global_video_autoplay && 37 "off" === i.global_browser_desktop_autoplay && 38 (i.global_muted_video = !0); 39 var l = !1, 40 n = window.chrome, 41 r = window.navigator, 42 s = r.vendor, 43 d = void 0 !== window.opr, 44 c = r.userAgent.indexOf("Edge") > -1; 45 (l = 46 !!r.userAgent.match("CriOS") || 47 (null != n && "Google Inc." === s && !1 === d && !1 === c)), 48 (i.global_video_network_mute_for_autoplay = !1), 49 "on" === i.global_video_autoplay && 50 l && 51 (i.global_video_network_mute_for_autoplay = !0), 52 (i.global_number_format = "short"), 53 "undefined" != typeof ayin_jav_js_object && 54 void 0 !== ayin_jav_js_object.number_format && 55 (i.global_number_format = ayin_jav_js_object.number_format), 56 (i.global_video_lightbox_items = []), 57 (i.global_video_lightbox_suggested_posts = []), 58 (i.global_video_lightbox_live_comments = null), 59 (i.global_click_added_live_comment = null), 60 (i.global_video_vast_running = []), 61 (i.global_video_auto_next = 62 void 0 !== Cookies.get("vpautonextvideo") && 63 "true" == Cookies.get("vpautonextvideo")), 64 (i.global_hls_library = !1), 65 (i.global_mpd_library = !1), 66 (i.you_rel = 0), 67 (i.you_modestbranding = 1), 68 (i.you_showinfo = 1), 69 "undefined" != typeof ayin_jav_plugin_js_object && 70 (void 0 !== ayin_jav_plugin_js_object.youtube_rel && 71 "yes" === ayin_jav_plugin_js_object.youtube_rel && 72 (i.you_rel = 1), 73 void 0 !== ayin_jav_plugin_js_object.youtube_modestbranding && 74 "no" === ayin_jav_plugin_js_object.youtube_modestbranding && 75 (i.you_modestbranding = 0), 76 void 0 !== ayin_jav_plugin_js_object.youtube_showinfo && 77 "no" === ayin_jav_plugin_js_object.youtube_showinfo && 78 (i.you_showinfo = 0)), 79 i.init(); 80 }; 81 })()).prototype.init = function () { 82 var t = this; 83 scrollDir({ attribute: "data-vp-scroll-direction" }), 84 t.mobile_menu_open(), 85 t.mobile_menu_items(), 86 t.clone_nav(), 87 t.top_search_dropdown(), 88 t.blog_switch_view(), 89 t.ajax_load_post(), 90 t.ajax_infinite_scroll(), 91 t.single_slider(), 92 t.video_light_off(), 93 t.video_share_toolbar(), 94 t.create_single_video_player(), 95 t.close_video_player_floating(), 96 t.auto_next_control(), 97 t.open_lightbox_video(), 98 t.close_lightbox_video_title(), 99 t.close_lightbox_video(), 100 t.add_scroll_bar_for_playlist(), 101 t.watch_later(), 102 t.archive_sort_button(), 103 t.scroll_control(), 104 t.sticky_menu(), 105 t.popular_slider(),
106 t.megamenu_control(), 107 t.open_lightbox_image(), 108 t.video_repeat(), 109 t.advance_search(), 110 t.window_load(), 111 t.window_resize(), 112 t.window_scroll(), 113 t.document_control(), 114 t.single_video_clean_action(), 115 t.dark_mode(), 116 t.dark_mode_storage(), 117 t.$el.trigger(o + "init", [t]); 118 }), 119 (i.prototype.window_load = function () { 120 t(window).on("load", function () {}); 121 }), 122 (i.prototype.window_resize = function () { 123 var e = window.innerWidth; 124 t(window).on("resize", function () { 125 e !== window.innerWidth && (e = window.innerWidth); 126 }); 127 }), 128 (i.prototype.window_scroll = function () { 129 var e = this; 130 t(window).on("scroll", function () { 131 e.sticky_menu(), 132 e.ajax_infinite_scroll(), 133 e.video_player_floating(), 134 e.scroll_to_top_button(); 135 }); 136 }), 137 (i.prototype.document_control = function () { 138 t(document).on("click", function (t) {}); 139 }), 140 (i.prototype.scroll_to_top_button = function () { 141 var e = t(".scroll-to-top-button-control"); 142 0 !== e.length && 143 (document.body.scrollTop > window.innerHeight || 144 document.documentElement.scrollTop > window.innerHeight 145 ? e 146 .addClass("active-item") 147 .find("a") 148 .on("click.scrollToTop", function () { 149 return ( 150 t("html, body") 151 .stop() 152 .animate( 153 { scrollTop: 0 }, 154 { duration: 500 }, 155 function () {} 156 ), 157 !1 158 ); 159 }) 160 : e.removeClass("active-item").find("a").off(".scrollToTop")); 161 }), 162 (i.prototype.megamenu_control = function () { 163 this.$el 164 .off(".megamenuControl") 165 .on("hover.megamenuControl", ".megamenu-item-control", function (e) { 166 var o = t(this), 167 i = o.parents(".megamenu-wrapper-control"); 168 i 169 .find(".megamenu-item-control") 170 .addClass("hidden-item") 171 .removeClass("active-item"), 172 o.addClass("active-item").removeClass("hidden-item"); 173 var a = t.trim(o.attr("data-id")); 174 void 0 !== a && 175 "" != a && 176 (i.find(".sc-blocks-container-control").length > 0 177 ? (i 178 .find(".sc-blocks-container-control") 179 .addClass("hidden-item") 180 .removeClass("active-item"), 181 i 182 .find('.sc-blocks-container-control[data-id="' + a + '"]') 183 .addClass("active-item") 184 .removeClass("hidden-item")) 185 : (i 186 .find(".blog-wrapper-control") 187 .addClass("hidden-item") 188 .removeClass("active-item"), 189 i 190 .find('.blog-wrapper-control[data-id="' + a + '"]') 191 .addClass("active-item") 192 .removeClass("hidden-item"))); 193 }); 194 }), 195 (i.prototype.mobile_menu_open = function () { 196 var t = this; 197 t.$el 198 .off(".mobileMenuOpen") 199 .on("click.mobileMenuOpen", ".button-menu-mobile-control", function ( 200 e 201 ) { 202 t.$el.toggleClass("active-mobile-menu"); 203 }); 204 }), 205 (i.prototype.mobile_menu_items = function () { 206 this.$el 207 .find(".vp-mobile-menu-items-control > ul > li.menu-item-has-children") 208 .each(function (e, o) { 209 var i = t(this), 210 a = "open-submenu-" + e; 211 i.append( 212 '<span class="open-submenu-mobile ' + 213 a + 214 '"><i class="fa fa-angle-right" aria-hidden="true"></i></span>' 215 ) 216 .find("." + a) 217 .on("click", function () { 218 i.toggleClass("active-sub-menu") 219 .children("ul") 220 .slideToggle({ duration: 368 }); 221 }); 222 }); 223 }), 224 (i.prototype.clone_nav = function () { 225 0 !== t(".main-nav-control", this.$el).length && 226 t(".main-nav-control", this.$el) 227 .clone(!0) 228 .addClass("sticky-menu-control sticky-menu") 229 .insertAfter("#site-header"); 230 }), 231 (i.prototype.sticky_menu = function () { 232 var e = this, 233 i = t(".nav-wrap-control", e.$el), 234 a = t(".sticky-menu-control", e.$el); 235 t(window).scrollTop() > i.offset().top + i.height() + 10 && 236 !a.hasClass("active-item") 237 ? (a.addClass("active-item setTransit"),
238 e.$el.trigger(o + "stickyMenuShow", [e])) 239 : t(window).scrollTop() <= i.offset().top && 240 a.hasClass("active-item") && 241 (a 242 .removeClass("active-item setTransit") 243 .find("a.top-search-dropdown-control") 244 .removeClass("active-item"), 245 e.$el.trigger(o + "stickyMenuHide", [e])); 246 }), 247 (i.prototype.top_search_dropdown = function () { 248 var e = this; 249 e.$el 250 .off(".topSearchDropdown") 251 .on( 252 "click.topSearchDropdown", 253 "a.top-search-dropdown-control", 254 function (i) { 255 e.$el.trigger(o + "topSearchDropdownBefore", [e]); 256 var a = t(this), 257 l = a 258 .parents(".top-search-elm-control") 259 .find(".search-terms-textfield-control"); 260 return ( 261 a.toggleClass("active-item"), 262 a.hasClass("active-item") && 263 (setTimeout(function () { 264 l.focus(); 265 }, 200), 266 l.focus()), 267 e.$el.trigger(o + "topSearchDropdownAfter", [e]), 268 !1 269 ); 270 } 271 ); 272 }), 273 (i.prototype.blog_switch_view = function () { 274 var e = this; 275 e.$el 276 .off(".blogSwitchView") 277 .on("click.blogSwitchView", ".switch-control", function (o) { 278 var i = t(this), 279 a = e.$el.find(".blog-items-control"), 280 l = i.parents(".series-heading-control"); 281 l.length > 0 && 282 l.next(".blog-items-control").length > 0 && 283 (a = l.next(".blog-items-control")), 284 a.length > 0 && 285 (a.hasClass("grid-default") || a.hasClass("list-default")) && 286 (l.length > 0 287 ? l.find(".switch-control").removeClass("active-item") 288 : t(".switch-control").removeClass("active-item"), 289 i.addClass("active-item"), 290 i.hasClass("grid-icon") 291 ? a.addClass("grid-default").removeClass("list-default") 292 : i.hasClass("list-icon") && 293 a.addClass("list-default").removeClass("grid-default")); 294 }); 295 }), 296 (i.prototype.ajax_post_action = function (e) { 297 var o = this; 298 if (-1 === o.global_blog_page || !o.global_blog_ajax_load) 299 return e.blur(), !1; 300 o.global_blog_ajax_load = !1; 301 var i = e.attr("data-template"), 302 a = e.attr("data-style"), 303 l = e.parents(".blog-wrapper-control"), 304 n = l.find(".blog-items-control"), 305 r = { 306 action: "blog_ajax_load_post", 307 blog_page: o.global_blog_page, 308 template: i, 309 query_vars: ayin_jav_js_object.query_vars, 310 style: a, 311 archive_query: 312 void 0 !== ayin_jav_js_object.archive_query 313 ? ayin_jav_js_object.archive_query 314 : "", 315 // alphabet_filter parameter removed 316 theme_image_ratio: 317 void 0 !== ayin_jav_js_object.theme_image_ratio 318 ? ayin_jav_js_object.theme_image_ratio 319 : "", 320 security: 321 void 0 !== ayin_jav_js_object.security 322 ? ayin_jav_js_object.security 323 : "", 324 }; 325 e.addClass("ajax-loading active-item"), 326 t.ajax({ 327 type: "POST", 328 url: ayin_jav_js_object.admin_ajax, 329 cache: !1, 330 data: r, 331 dataType: "html", 332 success: function (t, i, a) { 333 "" != t 334 ? (n.append(t), 335 (o.global_blog_page = o.global_blog_page + 1), 336 n.find(".blog-last-page-control").length > 0 && 337 (l.find(".blog-last-page-control").remove(), 338 l.find(".blog-pagination-control").remove()), 339 o.$el.trigger("ajaxloadpostcomplete_themeControl", [o])) 340 : (o.global_blog_page = -1), 341 (o.global_blog_ajax_load = !0), 342 e.removeClass("ajax-loading active-item").blur(); 343 }, 344 error: function (t, i, a) { 345 (o.global_blog_ajax_load = !0), 346 e.removeClass("ajax-loading active-item").blur(); 347 }, 348 }); 349 }), 350 (i.prototype.ajax_load_post = function () { 351 var e = this; 352 e.$el 353 .off(".ajaxLoadPost") 354 .on("click.ajaxLoadPost", "a.loadmore-btn-control", function (o) { 355 var i = t(this); 356 return e.ajax_post_action(i), !1; 357 }); 358 }), 359 (i.prototype.ajax_infinite_scroll = function () { 360 var e = this,
361 o = e.$el.find(".infinite-scroll-control"); 362 0 !== o.length && 363 o.each(function (o, i) { 364 var a = t(this), 365 l = a.offset().top, 366 n = t(window).scrollTop() + t(window).height(); 367 l <= n && l + t(window).height() > n && e.ajax_post_action(a); 368 }); 369 }), 370 (i.prototype.single_slider = function () { 371 this.$el.find(".is-single-slider").each(function (e, o) { 372 var i = t(this), 373 a = i.parents(".ayin-post-extensions"), 374 l = { 375 arrows: !0, 376 dots: !0, 377 infinite: !0, 378 speed: 500, 379 slidesToShow: 1, 380 adaptiveHeight: !0, 381 focusOnSelect: !1, 382 prevArrow: 383 '<button class="slick-prev slick-arrow" aria-label="Previous" type="button"><i class="fa fa-angle-left" aria-hidden="true"></i></button>', 384 nextArrow: 385 '<button class="slick-next slick-arrow" aria-label="Next" type="button"><i class="fa fa-angle-right" aria-hidden="true"></i></button>', 386 }; 387 i.hasClass("effect-fade") && (l.fade = !0), 388 i.on("init", function (t, e) { 389 if (a.length > 0) { 390 var o = a.find(".widget-arrow-prev-control"), 391 i = a.find(".widget-arrow-next-control"); 392 o.on("click", function () { 393 e.slickPrev(); 394 }), 395 i.on("click", function () { 396 e.slickNext(); 397 }); 398 } 399 }), 400 i 401 .find("img.ul-normal-effect") 402 .addClass("img-effect-setup img-loaded"), 403 i.slick(l); 404 }); 405 }), 406 (i.prototype.video_light_off = function () { 407 var e = this; 408 e.$el 409 .off(".videoLightOffBTN") 410 .on("click.videoLightOffBTN", ".turn-off-light-control", function (o) { 411 t(this).toggleClass("active-item"), 412 e.$el.toggleClass("light-off-enabled"); 413 }); 414 }), 415 (i.prototype.video_share_toolbar = function () { 416 this.$el 417 .off(".videoShareToolbar") 418 .on("click.videoShareToolbar", ".share-control", function (e) { 419 var o = t(this), 420 i = o.parents(".single-player-video-wrapper"); 421 o.toggleClass("active-item"), 422 i.find(".social-share-toolbar-control").toggleClass("active-item"); 423 }); 424 }), 425 // alphabet_filter_action function removed 426 (i.prototype.getMobileOperatingSystem = function () { 427 return navigator.userAgent.match( 428 /(Android|iPod|iPhone|iPad|IEMobile|Opera Mini)/ 429 ); 430 }), 431 (i.prototype.loadAdsLibraries = function (t) { 432 var e = this, 433 o = "undefined" != typeof window && void 0 !== window.adsbygoogle, 434 i = "undefined" != typeof google && void 0 !== google.ima, 435 a = 436 "undefined" != typeof ayin_jav_plugin_js_object && 437 void 0 !== ayin_jav_plugin_js_object.google_adsense_library_url && 438 "" != ayin_jav_plugin_js_object.google_adsense_library_url 439 ? ayin_jav_plugin_js_object.google_adsense_library_url 440 : "https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js", 441 l = 442 "undefined" != typeof ayin_jav_plugin_js_object && 443 void 0 !== ayin_jav_plugin_js_object.google_ima_library_url && 444 "" != ayin_jav_plugin_js_object.google_ima_library_url 445 ? ayin_jav_plugin_js_object.google_ima_library_url 446 : "https://imasdk.googleapis.com/js/sdkloader/ima3.js"; 447 o && i 448 ? t() 449 : o || i 450 ? (o || e.requestScript(a, t), i || e.requestScript(l, t)) 451 : e.requestScript(a, function () { 452 e.requestScript(l, t); 453 }); 454 }), 455 (i.prototype.setYoutubeAPIReady = function (e) { 456 var i = this, 457 a = ""; 458 void 0 !== e && (a = e), 459 setTimeout(function () { 460 if ( 461 t('script[src*="youtube.com/iframe_api"]').length > 0 || 462 t('script[src*="www-widgetapi.js"]').length > 0 463 ) 464 var e = setInterval(function () { 465 "undefined" != typeof YT && 466 void 0 !== YT.Player && 467 (i.loadAdsLibraries(function () { 468 t(document).trigger(o + "youtubeAPIReady" + a, []); 469 }), 470 clearInterval(e)); 471 }, 368); 472 else { 473 var l = t.Deferred(); 474 window.onYouTubeIframeAPIReady = function () { 475 l.resolve(window.YT); 476 }; 477 var n = document.createElement("script"); 478 n.src = 479 "undefined" != typeof ayin_jav_plugin_js_object && 480 void 0 !== ayin_jav_plugin_js_object.youtube_library_url && 481 "" != ayin_jav_plugin_js_object.youtube_library_url 482 ? ayin_jav_plugin_js_object.youtube_library_url 483 : "https://www.youtube.com/iframe_api"; 484 var r = document.getElementsByTagName("script")[0]; 485 r.parentNode.insertBefore(n, r), 486 l.done(function (e) { 487 i.loadAdsLibraries(function () { 488 t(document).trigger(o + "youtubeAPIReady" + a, []); 489 }); 490 }); 491 } 492 }, 368); 493 }), 494 (i.prototype.setVideo3rdPartyAPIReady = function (e, i, a) { 495 var l = this, 496 n = ""; 497 switch ((void 0 !== e && (n = e), a)) { 498 case "vimeo": 499 var r = "undefined" != typeof Vimeo && void 0 !== Vimeo.Player, 500 s = 501 "undefined" != typeof ayin_jav_plugin_js_object && 502 void 0 !== ayin_jav_plugin_js_object.vimeo_library_url && 503 "" != ayin_jav_plugin_js_object.vimeo_library_url 504 ? ayin_jav_plugin_js_object.vimeo_library_url 505 : "https://player.vimeo.com/api/player.js"; 506 break; 507 case "facebook": 508 (r = "undefined" != typeof FB && void 0 !== FB.Event), 509 (s = 510 "undefined" != typeof ayin_jav_plugin_js_object && 511 void 0 !== ayin_jav_plugin_js_object.facebook_library_url && 512 "" != ayin_jav_plugin_js_object.facebook_library_url 513 ? ayin_jav_plugin_js_object.facebook_library_url 514 : "https://connect.facebook.net/en_US/sdk.js?ver=3.2#xfbml=1&version=v3.2"); 515 } 516 void 0 !== r && 517 void 0 !== s && 518 "" != t.trim(s) && 519 (r 520 ? l.loadAdsLibraries(function () { 521 t(document).trigger(o + i + n, []); 522 }) 523 : l.requestScript(s, function () { 524 l.loadAdsLibraries(function () { 525 t(document).trigger(o + i + n, []); 526 }); 527 })); 528 }), 529 (i.prototype.create_single_video_player = function (e, i) { 530 var a = this; 531 if (void 0 !== i) 532 var l = i, 533 n = "off", 534 r = !0; 535 else if ( 536 "undefined" != typeof ayin_jav_js_object && 537 void 0 !== ayin_jav_js_object.single_video_network && 538 void 0 !== ayin_jav_js_object.single_video_source && 539 void 0 !== ayin_jav_js_object.single_video_url && 540 void 0 !== ayin_jav_js_object.single_video_network_library_setup 541 )
542 (l = ayin_jav_js_object), (n = a.global_video_autoplay); 543 if ( 544 void 0 === l || 545 void 0 === l.single_video_network || 546 void 0 === l.single_video_source || 547 void 0 === l.single_video_url 548 ) 549 return ""; 550 var s = l.single_video_network, 551 d = l.single_video_source, 552 c = l.single_video_url; 553 if ((null == e && (e = "player-api-control"), 0 === t("#" + e).length)) 554 return ""; 555 "drive" == s && 556 t("#" + e).find('iframe[src*="https://drive.google.com"]').length > 0 && 557 (s = "embeded-code"); 558 var _ = t("#" + e).parents(".player-3rdparty-control"), 559 v = e + "-init", 560 u = null, 561 g = {}, 562 p = !0, 563 f = _.find(".autoplay-off-elm-control"), 564 m = _.find(".player-muted-control"), 565 b = f.attr("data-background-url"), 566 h = t("#" + e).parents(".lib-item-control"); 567 if (void 0 !== l.player_library && "vp" != l.player_library) 568 switch (l.player_library) { 569 case "videojs": 570 if (void 0 === r) return ""; 571 } 572 switch (s) { 573 case "youtube": 574 (g = { 575 enablejsapi: 1, 576 html5: 1, 577 wmode: "transparent", 578 modestbranding: a.you_modestbranding, 579 iv_load_policy: 3, 580 autoplay: 0, 581 playsinline: 1, 582 rel: a.you_rel, 583 showinfo: a.you_showinfo, 584 }), 585 void 0 !== l.single_video_youtube_playlist_id && 586 "" != l.single_video_youtube_playlist_id && 587 ((g.list = t.trim(l.single_video_youtube_playlist_id)), 588 (g.listType = "playlist")), 589 t(document).on(o + "youtubeAPIReady" + e, function () { 590 u = new YT.Player(e, { 591 videoId: d, 592 playerVars: g, 593 events: { 594 onReady: function (i) { 595 t("#" + e).attr({ wmode: "Opaque" }), 596 a.global_muted_video && u.mute(), 597 setTimeout(function () { 598 _.addClass("player-loaded"), 599 "on" !== n || 600 0 !== h.length || 601 t( 602 "#parse-lightbox-control.video-lightbox-wrapper-control" 603 ).hasClass("show-lightbox") 604 ? f 605 .css({ "background-image": "url(" + b + ")" }) 606 .addClass("active-item") 607 .on("click", function () { 608 u.playVideo(), 609 t(this).removeClass("active-item"); 610 }) 611 : u.playVideo(), 612 t("#" + v).trigger(o + "videoCreateFinish", [u]), 613 "player-api-control" === e && 614 a.$el.on( 615 o + "openLightBoxVideoEventTrigger", 616 function () { 617 a.player_actions(u, s, "pause"); 618 } 619 ); 620 }, 368); 621 }, 622 onStateChange: function (o) { 623 1 === o.data && (a.global_player_playing[e] = !0), 624 o.target.isMuted() && 625 p && 626 m.addClass("active-item").on("click", function () { 627 o.target.unMute(), t(this).removeClass("active-item"); 628 }), 629 (p = !1), 630 0 === o.data && 631 (m.removeClass("active-item"), 632 a.auto_next_fnc({ 633 player: u, 634 partyElm: _, 635 player_id: e, 636 single_video_network: s, 637 }), 638 o.target.stopVideo()); 639 }, 640 }, 641 }); 642 }), 643 a.setYoutubeAPIReady(e); 644 break; 645 case "facebook": 646 t(document).on(o + "facebookAPIReady" + e, function () { 647 t("#" + e) 648 .addClass("fb-video") 649 .attr({ 650 "data-href": c, 651 "data-allowfullscreen": "true", 652 "data-width": "2560", 653 "data-height": "1440", 654 }), 655 FB.Event.subscribe("xfbml.ready", function (i) { 656 if ("video" === i.type && i.id === e) { 657 (u = i.instance), 658 t("#" + e) 659 .find("iframe") 660 .attr("allow", "autoplay; encrypted-media"), 661 a.global_muted_video || 662 a.global_video_network_mute_for_autoplay 663 ? u.mute() 664 : u.unmute(); 665 u.subscribe("startedPlaying", function (o) { 666 (a.global_player_playing[e] = !0), 667 u.isMuted() && 668 p && 669 m.addClass("active-item").on("click", function () { 670 u.unmute(), 671 t(this).removeClass("active-item"), 672 u.play(); 673 }), 674 (p = !1); 675 }), 676 setTimeout(function () { 677 _.addClass("player-loaded"), 678 "on" !== n || 679 0 !== h.length || 680 t( 681 "#parse-lightbox-control.video-lightbox-wrapper-control" 682 ).hasClass("show-lightbox") 683 ? f 684 .css({ "background-image": "url(" + b + ")" }) 685 .addClass("active-item") 686 .on("click", function () { 687 u.play(), t(this).removeClass("active-item"); 688 }) 689 : u.play(), 690 t("#" + v).trigger(o + "videoCreateFinish", [u]), 691 "player-api-control" === e && 692 a.$el.on( 693 o + "openLightBoxVideoEventTrigger", 694 function () { 695 a.player_actions(u, s, "pause"); 696 } 697 ); 698 }, 368); 699 } 700 }), 701 t("#parse-lightbox-control").length > 0 && 702 FB.XFBML.parse( 703 document.getElementById("parse-lightbox-control") 704 ); 705 }), 706 a.setVideo3rdPartyAPIReady(e, "facebookAPIReady", "facebook"); 707 break; 708 case "embeded-code": 709 (u = { 710 play: function () {}, 711 pause: function () {}, 712 seek: function (t) {}, 713 }), 714 t("#" + e).append(l.single_video_embed); 715 var y = t("#" + e).find(".video-js"); 716 -1 === l.single_video_embed.indexOf("videojs(") && 717 -1 === l.single_video_embed.indexOf("videojs (") && 718 "function" == typeof videojs && 719 y.length > 0 && 720 void 0 !== y.attr("id") && 721 (videojs(y.attr("id")), console.log("Ayin: video js setup")), 722 a.$el.on(o + "closeLightBoxVideoEventForEmbedTrigger", function ( 723 o, 724 i, 725 a 726 ) { 727 a.find("#" + e).length > 0 && t("#" + e).html(""); 728 }), 729 a.$el.on(o + "VideoEmbedChangeEventTrigger", function (o, i, a) { 730 a.find("#" + e).length > 0 && t("#" + e).html(""); 731 }), 732 a.$el.on(o + "openLightBoxVideoEmbedEventTrigger", function ( 733 o, 734 i, 735 a 736 ) { 737 a.find("#" + e).length > 0 && 738 t("#" + e).append(l.single_video_embed); 739 }); 740 } 741 }), 742 (i.prototype.video_player_floating = function () { 743 var e = this, 744 o = t("#video-player-wrap-control"); 745 if ( 746 0 !== o.length && 747 !e.$el.hasClass("disable-floating-video") && 748 o.find(".player-3rdparty-control").hasClass("player-loaded") 749 ) { 750 var i = o.offset().top + o.outerHeight(!0); 751 if (t(window).scrollTop() > i + 20) { 752 if (e.$el.hasClass("floating-video")) return; 753 e.$el.addClass("floating-video"); 754 } else { 755 if (!e.$el.hasClass("floating-video")) return; 756 e.$el.removeClass("floating-video"); 757 } 758 } 759 }), 760 (i.prototype.close_video_player_floating = function () { 761 var e = this; 762 e.$el 763 .off(".scrollUpVideoPlayerFloating") 764 .on( 765 "click.scrollUpVideoPlayerFloating", 766 "a.scroll-up-floating-video-control", 767 function (e) { 768 return ( 769 t("html, body").animate( 770 { scrollTop: 0 }, 771 { duration: 500, complete: function () {} } 772 ), 773 !1 774 ); 775 } 776 ), 777 e.$el 778 .off(".closeVideoPlayerFloating") 779 .on( 780 "click.closeVideoPlayerFloating", 781 "a.close-floating-video-control", 782 function (o) { 783 t(this); 784 return e.$el.addClass("disable-floating-video"), !1; 785 } 786 ); 787 }), 788 (i.prototype.auto_next_control = function () { 789 var e = this; 790 e.$el 791 .off(".autoNextControl") 792 .on("click.autoNextControl", ".auto-next-control", function (o) { 793 var i = t(this).find(".auto-next-icon-control"); 794 return ( 795 i.toggleClass("active-item"), 796 i.hasClass("active-item") 797 ? Cookies.set("vpautonextvideo", "true", { expires: 368 }) 798 : Cookies.set("vpautonextvideo", "false", { expires: 368 }), 799 (e.global_video_auto_next = 800 void 0 !== Cookies.get("vpautonextvideo") && 801 "true" == Cookies.get("vpautonextvideo")), 802 !1 803 ); 804 }), 805 e.auto_next_check(); 806 }), 807 (i.prototype.auto_next_check = function () { 808 return ( 809 !!this.global_video_auto_next && 810 (t(".auto-next-icon-control").addClass("active-item"), !0) 811 ); 812 }), 813 (i.prototype.player_actions = function (t, e, o, i) { 814 var a = this; 815 if (void 0 !== t && void 0 !== e) { 816 if (void 0 !== t.ayin_partyLibrary) 817 switch (t.ayin_partyLibrary) { 818 case "jw": 819 return void ("play" === o 820 ? t.play() 821 : "pause" === o 822 ? t.pause() 823 : "seek" === o && void 0 !== i && a.isNumber(i) && t.seek(i)); 824 } 825 switch (e) { 826 case "youtube": 827 "play" === o 828 ? t.playVideo() 829 : "pause" === o 830 ? t.pauseVideo() 831 : "seek" === o && 832 void 0 !== i && 833 a.isNumber(i) && 834 t.seekTo(i, !1); 835 break; 836 case "vimeo": 837 "play" === o 838 ? t.play() 839 : "pause" === o 840 ? t.pause() 841 : "seek" === o && 842 void 0 !== i && 843 a.isNumber(i) && 844 t.setCurrentTime(i); 845 break; 846 case "facebook": 847 "play" === o 848 ? t.play() 849 : "pause" === o 850 ? t.pause() 851 : "seek" === o && void 0 !== i && a.isNumber(i) && t.seek(i); 852 break; 853 case "self-hosted": 854 case "drive": 855 "play" === o 856 ? t.play() 857 : "pause" === o 858 ? t.pause() 859 : "seek" === o && 860 void 0 !== i && 861 a.isNumber(i) && 862 (t.currentTime = i); 863 } 864 } 865 }), 866 (i.prototype.isNumber = function (t) { 867 return !isNaN(parseFloat(t)) && isFinite(t); 868 }), 869 (i.prototype.nFormatter = function (t, e) { 870 if (isNaN(t)) return "0"; 871 for ( 872 var o = [ 873 { value: 1e18, symbol: "E" }, 874 { value: 1e15, symbol: "P" }, 875 { value: 1e12, symbol: "T" }, 876 { value: 1e9, symbol: "G" }, 877 { value: 1e6, symbol: "M" }, 878 { value: 1e3, symbol: "k" }, 879 ], 880 i = /\.0+$|(\.[0-9]*[1-9])0+$/, 881 a = 0; 882 a < o.length; 883 a++ 884 ) 885 if (t >= o[a].value) 886 return (t / o[a].value).toFixed(e).replace(i, "$1") + o[a].symbol; 887 return t.toFixed(e).replace(i, "$1"); 888 }), 889 (i.prototype.fake_player = function (t) { 890 if ("object" == typeof t) { 891 var e = this, 892 o = t.player, 893 i = t.single_video_network, 894 a = document.createElement("video"); 895 return ( 896 (a.play = function () { 897 e.player_actions(o, i, "play"); 898 }), 899 (a.pause = function () { 900 e.player_actions(o, i, "pause"); 901 }), 902 ("self-hosted" !== i && "drive" !== i) || 903 void 0 !== o.ayin_partyLibrary 904 ? a 905 : o 906 ); 907 } 908 }), 909 (i.prototype.auto_next_fnc = function (e) { 910 var i = this; 911 if ("object" == typeof e) { 912 e.player; 913 var a = e.partyElm, 914 l = 915 (e.player_id, 916 e.single_video_network, 917 a.parents(".playlist-frame-control")), 918 n = null, 919 r = function (e, l, n) { 920 var r = a.find(".auto-next-elm-control"); 921 if ( 922 (null !== e && r.find(".video-next-title-control").text(e), 923 null === l && (l = r.attr("data-next-url")), 924 void 0 !== l && "" != l) 925 ) { 926 r 927 .css({ 928 "background-image": 929 "url(" + r.attr("data-background-url") + ")", 930 }) 931 .addClass("active-item"), 932 screenfull.isFullscreen && a.addClass("auto-next-set-fs"), 933 t(window).on("resize", function () { 934 screenfull.isFullscreen 935 ? a.addClass("auto-next-set-fs") 936 : a.removeClass("auto-next-set-fs"); 937 }); 938 var s = null; 939 (s = setTimeout(function () { 940 null !== s && clearTimeout(s), 941 void 0 !== n && n.length > 0 942 ? a.parents(".lib-item-control").hasClass("show-video") && 943 a 944 .parents(".video-lightbox-wrapper-control") 945 .hasClass("show-lightbox") && 946 n.trigger("click") 947 : (window.location.href = l); 948 }, 6800)), 949 r.find(".loader-timer-control").on("click", function () { 950 return ( 951 null !== s && clearTimeout(s), 952 void 0 !== n && n.length > 0 953 ? n.trigger("click") 954 : (window.location.href = l), 955 !1 956 ); 957 }), 958 r.find(".cancel-btn-control").on("click", function () { 959 return ( 960 null !== s && clearTimeout(s), 961 r.removeClass("active-item"), 962 a.removeClass("auto-next-set-fs"), 963 !1 964 ); 965 }), 966 i.$el.on(o + "closeLightBoxVideoEventTrigger", function () { 967 null !== s && clearTimeout(s), 968 r.removeClass("active-item"), 969 a.removeClass("auto-next-set-fs"); 970 }), 971 i.$el.on(o + "openLightBoxVideoEventTrigger", function () { 972 null !== s && clearTimeout(s), 973 r.removeClass("active-item"), 974 a.removeClass("auto-next-set-fs"); 975 }); 976 } 977 }; 978 if (a.parents(".video-lightbox-wrapper-control").length > 0) { 979 if ( 980 1 === 981 (n = a 982 .parents(".video-lightb
982ox-wrapper-control") 983 .find(".repeat-video-control")).length && 984 n.hasClass("active-item") 985 ) 986 return i.video_repeat_action(e), !1; 987 if (!i.global_video_auto_next) return; 988 var s = (u = a 989 .parents(".video-lightbox-wrapper-control") 990 .find(".next-video-popup-action .check-url-control")).attr( 991 "href" 992 ), 993 d = u.text(); 994 if (0 === u.length) return; 995 r(d, s, u); 996 } else if (l.length > 0) { 997 if ( 998 1 === (n = l.find(".repeat-video-control")).length && 999 n.hasClass("active-item") 1000 ) 1001 return i.video_repeat_action(e), !1; 1002 if (!i.global_video_auto_next) return; 1003 var c = l.find(".video-listing-item-control.current-item"); 1004 if (0 === c.length) return; 1005 var _ = c.attr("data-index"); 1006 if (void 0 === _ || !i.isNumber(_)) return; 1007 var v = parseFloat(_) + 1; 1008 0 === 1009 l.find('.video-listing-item-control[data-index="' + v + '"]') 1010 .length && (v = 0); 1011 var u; 1012 s = (u = l 1013 .find('.video-listing-item-control[data-index="' + v + '"]') 1014 .find(".check-url-control")).attr("href"); 1015 r((d = u.text()), s); 1016 } else { 1017 if ( 1018 1 === (n = i.$el.find(".single-repeat-video-control")).length && 1019 n.hasClass("active-item") 1020 ) 1021 return i.video_repeat_action(e), !1; 1022 if (!i.global_video_auto_next) return; 1023 r(null, null); 1024 } 1025 } 1026 }), 1027 (i.prototype.updateQueryStringParameter = function (t, e, o) { 1028 var i = new RegExp("([?&])" + e + "=.*?(&|$)", "i"), 1029 a = -1 !== t.indexOf("?") ? "&" : "?"; 1030 return t.match(i) 1031 ? t.replace(i, "$1" + e + "=" + o + "$2") 1032 : t + a + e + "=" + o; 1033 }), 1034 (i.prototype.advance_search = function () { 1035 var o = this; 1036 o.$el 1037 .off(".advanceSearchControl") 1038 .on( 1039 "click.advanceSearchControl", 1040 ".filter-group-title-control", 1041 function () { 1042 var e = t(this).parents(".ft-group-control"); 1043 "none" == e.find(".ft-group-items-control").css("display") 1044 ? e.removeClass("hide-group-filter").addClass("show-group-filter") 1045 : e 1046 .removeClass("show-group-filter") 1047 .addClass("hide-group-filter"); 1048 } 1049 ), 1050 o.$el 1051 .off(".advanceSearchTopPress") 1052 .on( 1053 "keyup.advanceSearchTopPress", 1054 ".ft-keyword-control-top", 1055 function (e) { 1056 var o = t(this); 1057 t(".ft-keyword-control-bottom").val(o.val()), 1058 13 == e.keyCode && t(".apply-ft-control").trigger("click"); 1059 } 1060 ), 1061 o.$el 1062 .off(".advanceSearchBottomPress") 1063 .on( 1064 "keyup.advanceSearchBottomPress", 1065 ".ft-keyword-control-bottom", 1066 function () { 1067 var o = t(this); 1068 t(".ft-keyword-control-top").val(o.val()), 1069 13 == e.keyCode && t(".apply-ft-control").trigger("click"); 1070 } 1071 ), 1072 o.$el 1073 .off(".advanceSearchSubmit") 1074 .on("click.advanceSearchSubmit", ".apply-ft-control", function () { 1075 var e = t(this); 1076 e.parents(".ft-search-box-control").hasClass("ft-search-box-top") 1077 ? t(".ft-keyword-control-bottom").val( 1078 t(".ft-keyword-control-top").val() 1079 ) 1080 : t(".ft-keyword-control-top").val( 1081 t(".ft-keyword-control-bottom").val() 1082 ); 1083 var i = e.attr("data-url"), 1084 a = "", 1085 l = t(".ft-keyword-control-top").val(); 1086 a = o.updateQueryStringParameter( 1087 i, 1088 "keyword", 1089 encodeURIComponent(l) 1090 ); 1091 var n = t('input[name="tag_item_ft[]"]:checked') 1092 .map(function (e, o) { 1093 return t(o).val(); 1094 }) 1095 .get(); 1096 (a = o.updateQueryStringParameter( 1097 a, 1098 "tags", 1099 encodeURIComponent(n.join()) 1100 )), 1101 (document.location.href = a); 1102 }); 1103 }), 1104 (i.prototype.converSecondsToTime = function (t) { 1105 var e = new Date(null); 1106 e.setSeconds(t); 1107 var o = "";
1108 try { 1109 o = e.toISOString().substr(11, 8); 1110 } catch (t) { 1111 return o; 1112 } 1113 var i = o.split(":"); 1114 return 3 === i.length && "00" == i[0] && (o = i[1] + ":" + i[2]), o; 1115 }), 1116 (i.prototype.open_lightbox_image = function () { 1117 var e = this; 1118 e.$el 1119 .off(".openLightboxImage") 1120 .on("click.openLightboxImage", ".img-lightbox-icon-control", function ( 1121 i 1122 ) { 1123 e.$el.trigger(o + "openLightBoxImageEventTrigger", [e]); 1124 var a = t(this), 1125 l = a.attr("data-url"), 1126 n = a.attr("data-id"); 1127 if (void 0 === n || void 0 === l) return !1; 1128 var r = e.$el.find(".image-lightbox-wrapper-control"); 1129 0 === r.length 1130 ? (e.$el.append( 1131 '<div class="image-lightbox-wrapper image-lightbox-wrapper-control dark-background">\t\t\t\t\t\t\t\t\t<div class="close-btn close-img-lg-control"></div>\t\t\t\t\t\t\t\t\t<div class="img-loading img-loading-control"><span class="video-load-icon"></span></div>\t\t\t\t\t\t\t\t</div>' 1132 ), 1133 (r = e.$el.find(".image-lightbox-wrapper-control")), 1134 t(".close-img-lg-control", r).on("click", function () { 1135 r.removeClass("show-lightbox"), 1136 t("img.image-lightbox-item-control", r).removeClass( 1137 "active-item" 1138 ), 1139 e.$el.trigger(o + "closeLightBoxImageEventTrigger", [e]); 1140 }), 1141 setTimeout(function () { 1142 r.addClass("show-lightbox"); 1143 }, 200)) 1144 : r.addClass("show-lightbox"), 1145 0 === 1146 r.find('.image-lightbox-item-control[data-id="' + n + '"]').length 1147 ? (r.append( 1148 '<img src="' + 1149 l + 1150 '" class="image-lightbox-item image-lightbox-item-control" data-id="' + 1151 n + 1152 '">' 1153 ), 1154 setTimeout(function () { 1155 t('<img src="' + l + '">').on("load", function () { 1156 r.hasClass("show-lightbox") && 1157 t( 1158 'img.image-lightbox-item-control[data-id="' + n + '"]', 1159 r 1160 ).addClass("active-item"); 1161 }); 1162 }, 368)) 1163 : t( 1164 'img.image-lightbox-item-control[data-id="' + n + '"]', 1165 r 1166 ).addClass("active-item"); 1167 }); 1168 }), 1169 (i.prototype.open_lightbox_video = function () { 1170 var e = this; 1171 e.$el 1172 .off(".openLightboxVideo") 1173 .on("click.openLightboxVideo", ".video-popup-control", function (i) { 1174 e.$el.trigger(o + "openLightBoxVideoEventTrigger", [e]); 1175 var a = t(this), 1176 l = t.trim(a.attr("data-id")), 1177 n = "player-api-control-" + l, 1178 r = n + "-init", 1179 s = "video-lib-" + l; 1180 if ("" != l) { 1181 var d = e.$el.find(".video-lightbox-wrapper-control"); 1182 if (0 === d.length) { 1183 e.$el.append( 1184 '<div id="parse-lightbox-control" class="video-lightbox-wrapper video-lightbox-wrapper-control dark-background comments-off comments-off-control">\t\t\t\t\t\t\t\t\t<div class="lib-item-cp navigation-font">\t\t\t\t\t\t\t\t\t\t<div class="site__container-fluid">\t\t\t\t\t\t\t\t\t\t\t<div class="site__row">\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col cp-left">\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="lib-close-video lib-close-video-control"><span class="close-btn"></span><span>' + 1185 ayin_jav_js_object.translate_close + 1186 '</span></div>\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col cp-center">\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="auto-next-control"><span>' + 1187 ayin_jav_js_object.translate_auto_next + 1188 '</span><span><i class="auto-next-icon big-style auto-next-icon-control"></i></span></div>\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col cp-right">\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="listing-toolbar listing-toolbar-control">\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__row">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col toolbar-item toolbar-item-control h6 active-item" data-active="suggested">' + 1189 ayin_jav_js_object.translate_suggested + 1190 '</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col toolbar-item toolbar-item-control h6 " data-active="comments">' + 1191 ayin_jav_js_object.translate_comments + 1192 '</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t<div class="lib-contents lib-contents-control">\t\t\t\t\t\t\t\t\t\t<div class="site__container-fluid">\t\t\t\t\t\t\t\t\t\t\t<div class="site__row">\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col lib-vid-player lib-vid-player-control">\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col lib-vid-listing lib-vid-listing-control">\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="listing-toolbar listing-toolbar-control">\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__container-fluid">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__row">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col toolbar-item toolbar-item-control h6 active-item" data-active="suggested">' + 1193 ayin_jav_js_object.translate_suggested + 1194 '</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="site__col toolbar-item toolbar-item-control h6 " data-active="comments">' + 1195 ayin_jav_js_object.translate_comments + 1196 '</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="data-lightbox data-lightbox-control">\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="data-lightbox-content">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="suggested-listing suggested-listing-control active-item">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="loading-content loading-content-control">' + 1197 ayin_jav_js_object.translate_loading + 1198 '...<br><span class="loader-bar"></span></div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="ajax-content ajax-content-control"></div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="comments-listing comments-listing-control ">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="loading-content loading-content-control">' + 1199 ayin_jav_js_object.translate_loading + 1200 '...<br><span class="loader-bar"></span></div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="ajax-comment-form ajax-comment-form-control disable-comment">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="ajax-comment-form-wrapper">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="comment-input-wrap"><input type="text" class="live-comment-input live-comment-input-control" placeholder="' + 1201 ayin_jav_js_object.translate_public_comment + 1202 '..."></div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="comment-send-wrap"><button class="live-comment-send live-comment-send-control">' + 1203 ayin_jav_js_object.translate_post_comment + 1204 '</button>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<input type="button" class="live-comment-reset live-comment-reset-control white-style" value="' + 1205 ayin_jav_js_object.translate_reset + 1206 '">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="ajax-content ajax-content-control"></div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t</div>' 1207 ); 1208 var c = (d = e.$el.find(".video-lightbox-wrapper-control")).find( 1209 ".live-comment-reset-control" 1210 ), 1211 _ = d.find(".live-comment-input-control"); 1212 c 1213 .off(".resetCommentForm") 1214 .on("click.resetCommentForm", function () { 1215 _.val(""); 1216 }), 1217 setTimeout(function () { 1218 d.addClass("show-lightbox"), 1219 d 1220 .find(".data-lightbox-control") 1221 .mCustomScrollbar({ 1222 theme: "minimal", 1223 alwaysShowScrollbar: 0, 1224 scrollInertia: 200, 1225 }); 1226 }, 200); 1227 } else { 1228 d.addClass("show-lightbox"); 1229 var v = d.find(".lib-item-control.show-video"); 1230 if (v.length > 0) { 1231 var u = v.attr("id"); 1232 v.removeClass("show-video"), 1233 e.$el.trigger(o + "VideoEmbedChangeEventTrigger", [e, v]), 1234 void 0 !== e.global_video_lightbox_items[u] && 1235 e.player_actions( 1236 e.global_video_lightbox_items[u][0], 1237 e.global_video_lightbox_items[u][1], 1238 "pause" 1239 ); 1240 } 1241 } 1242 t("html").addClass("disable-scroll"), e.auto_next_check(); 1243 var g = d.find(".suggested-listing-control"); 1244 if ( 1245 (g 1246 .removeClass("load-completed") 1247 .find(".ajax-content-control") 1248 .html(""), 1249 0 === t("#" + s).length) 1250 ) { 1251 var p = ""; 1252 (p += 1253 '<div id="' + 1254 s + 1255 '" class="lib-item lib-item-control show-video">'), 1256 (p +=
1257 '<div class="single-player-video-wrapper">\t\t\t\t\t\t\t\t\t\t<div class="video-lightbox-title video-lightbox-title-control"></div>\t\t\t\t\t\t\t\t\t\t<div class="video-player-wrap">\t\t\t\t\t\t\t\t\t\t\t<div class="video-player-ratio"></div>\t\t\t\t\t\t\t\t\t\t\t<div class="video-player-content video-player-control">\t\t\t\t\t\t\t\t\t\t\t\t<div class="player-3rdparty player-3rdparty-control" id="' + 1258 r + 1259 '">\t\t\t\t\t\t\t\t\t\t\t\t\t<div id="' + 1260 n + 1261 '" class="player-api">\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="player-muted player-muted-control"><i class="fa fa-volume-off" aria-hidden="true"></i></div>\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="autoplay-off-elm autoplay-off-elm-control video-play-control" data-id="' + 1262 l + 1263 '">\t\t\t\t\t\t\t\t\t\t\t\t\t\t<span class="video-icon big-icon video-play-control" data-id="' + 1264 l + 1265 '"></span>\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="player-muted ads-mute-elm ads-muted-control"><i class="fa fa-volume-off" aria-hidden="true"></i></div>\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="auto-next-elm auto-next-elm-control dark-background">\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="auto-next-content">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="up-next-text font-size-12">' + 1266 ayin_jav_js_object.translate_up_next + 1267 '</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class="h6-mobile video-next-title video-next-title-control"></h3>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class="loader-timer-wrapper loader-timer-control">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40" class="loader-timer">\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<circle class="progress-timer" fill="none" stroke-linecap="round" cx="20" cy="20" r="15.915494309" />\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</svg>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<i class="fa fa-fast-forward" aria-hidden="true"></i>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<a href="#" class="basic-button basic-button-default cancel-btn cancel-btn-control">' + 1268 ayin_jav_js_object.translate_cancel + 1269 '</a>\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t\t<div class="video-loading video-loading-control">\t\t\t\t\t\t\t\t\t\t\t\t\t<span class="video-load-icon"></span>\t\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t\t</div>'), 1270 (p += "</div>"), 1271 d.find(".lib-vid-player-control").append(p); 1272 var f = { 1273 action: "get_player_params", 1274 post_id: l, 1275 security: 1276 void 0 !== ayin_jav_js_object.security 1277 ? ayin_jav_js_object.security 1278 : "", 1279 }; 1280 t.ajax({ 1281 type: "POST", 1282 url: ayin_jav_js_object.admin_ajax, 1283 cache: !1, 1284 data: f, 1285 dataType: "json", 1286 success: function (i, a, l) { 1287 if ("object" == typeof i) { 1288 if ( 1289 ("on" == ayin_jav_js_object.video_lightbox_suggested && 1290 void 0 !== i.single_video_suggested && 1291 ((e.global_video_lightbox_suggested_posts[s] = 1292 i.single_video_suggested), 1293 g 1294 .addClass("load-completed") 1295 .find(".ajax-content-control") 1296 .html(i.single_video_suggested)), 1297 void 0 !== i.video_title && 1298 "" != t.trim(i.video_title) && 1299 t("#" + s) 1300 .find(".video-lightbox-title-control") 1301 .html(i.video_title), 1302 void 0 === i.single_video_network && 1303 void 0 === i.single_video_source && 1304 void 0 === i.single_video_url) 1305 ) 1306 return !1;
1307 var c = t("#" + r).find(".autoplay-off-elm-control"); 1308 c 1309 .attr("data-background-url", i.poster_background) 1310 .append( 1311 '<img class="poster-preload" src="' + 1312 i.poster_background + 1313 '">' 1314 ), 1315 t("#" + r) 1316 .find(".auto-next-elm-control") 1317 .attr("data-background-url", i.poster_background), 1318 t("#" + r).on(o + "videoCreateFinish", function ( 1319 o, 1320 a, 1321 l 1322 ) { 1323 (e.global_video_lightbox_items[s] = [ 1324 a, 1325 i.single_video_network, 1326 ]), 1327 setTimeout(function () { 1328 if ( 1329 !t("#" + s).hasClass("show-video") || 1330 !d.hasClass("show-lightbox") || 1331 "on" != e.global_video_autoplay || 1332 void 0 !== l 1333 ) 1334 return !1; 1335 c.removeClass("active-item"), 1336 e.player_actions( 1337 a, 1338 i.single_video_network, 1339 "play" 1340 ); 1341 }, 200); 1342 }), 1343 t("#" + r).on( 1344 o + "playVideoWithGoogleIMAReady", 1345 function (o, i, a) { 1346 "on" === e.global_video_autoplay && 1347 t("#" + s).hasClass("show-video") && 1348 d.hasClass("show-lightbox") && 1349 a.trigger("click"); 1350 } 1351 ), 1352 e.create_single_video_player(n, i); 1353 } 1354 }, 1355 error: function (t, e, o) {}, 1356 }); 1357 } else { 1358 t("#" + s).addClass("show-video"), 1359 e.$el.trigger(o + "openLightBoxVideoEmbedEventTrigger", [ 1360 e, 1361 t("#" + s), 1362 ]); 1363 var m = t("#" + s).find(".autoplay-off-elm-control"); 1364 if ( 1365 ("on" == ayin_jav_js_object.video_lightbox_suggested && 1366 void 0 !== e.global_video_lightbox_suggested_posts[s] && 1367 g 1368 .addClass("load-completed") 1369 .find(".ajax-content-control") 1370 .html(e.global_video_lightbox_suggested_posts[s]), 1371 t("#" + s).find(".ima-adContainer-control:not(.hide-ads)") 1372 .length > 0) 1373 ) { 1374 var b = t("#" + s) 1375 .find(".ima-adContainer-control") 1376 .attr("id"); 1377 if (void 0 !== b && void 0 !== e.is_ad_google_ima_control[b]) 1378 try { 1379 "boolean" == typeof e.is_ad_google_ima_stated_event[b] && 1380 !0 === e.is_ad_google_ima_stated_event[b] 1381 ? e.is_ad_google_ima_control[b].resume() 1382 : 0 === 1383 t("#" + s).find( 1384 ".autoplay-off-elm-control.active-item" 1385 ).length && 1386 ((e.is_ad_google_ima_stated_event[b] = !0), 1387 e.is_ad_google_ima_control[b].start()); 1388 } catch (t) {} 1389 else "on" === e.global_video_autoplay && m.trigger("click"); 1390 return !1; 1391 } 1392 if ( 1393 void 0 === e.global_video_lightbox_items[s] || 1394 "on" != e.global_video_autoplay 1395 ) 1396 return !1; 1397 m.removeClass("active-item"), 1398 e.player_actions( 1399 e.global_video_lightbox_items[s][0], 1400 e.global_video_lightbox_items[s][1], 1401 "play" 1402 ); 1403 } 1404 return !1; 1405 } 1406 }), 1407 e.$el 1408 .off(".lightboxToolbar") 1409 .on( 1410 "click.lightboxToolbar", 1411 ".listing-toolbar-control .toolbar-item-control", 1412 function (e) { 1413 var o = t(this).attr("data-active"); 1414 t( 1415 ".listing-toolbar-control .toolbar-item-control, .data-lightbox-control .suggested-listing-control, .data-lightbox-control .comments-listing-control" 1416 ).removeClass("active-item"), 1417 t( 1418 '.listing-toolbar-control .toolbar-item-control[data-active="' + 1419 o + 1420 '"], .data-lightbox-control .' + 1421 o + 1422 "-listing-control" 1423 ).addClass("active-item"); 1424 } 1425 ); 1426 }), 1427 (i.prototype.close_lightbox_video_title = function () { 1428 this.$el
1429 .off(".closeLightboxVideoTitle") 1430 .on("click.closeLightboxVideoTitle", ".close-title-control", function ( 1431 e 1432 ) { 1433 var o = t(this).parents(".video-lightbox-title-control"); 1434 o.length > 0 && o.remove(); 1435 }); 1436 }), 1437 (i.prototype.close_lightbox_video = function () { 1438 var e = this; 1439 e.$el 1440 .off(".closeLightboxVideo") 1441 .on("click.closeLightboxVideo", ".lib-close-video-control", function ( 1442 i 1443 ) { 1444 e.$el.trigger(o + "closeLightBoxVideoEventTrigger", [e]); 1445 var a = e.$el.find(".video-lightbox-wrapper-control"), 1446 l = a.find(".lib-item-control.show-video"), 1447 n = l.attr("id"), 1448 r = a.find(".suggested-listing-control"), 1449 s = a.find(".comments-listing-control"); 1450 if ( 1451 (null !== e.global_video_lightbox_live_comments && 1452 (clearInterval(e.global_video_lightbox_live_comments), 1453 (e.global_video_lightbox_live_comments = null)), 1454 r 1455 .removeClass("load-completed") 1456 .find(".ajax-content-control") 1457 .html(""), 1458 s 1459 .removeClass("load-completed") 1460 .find(".ajax-content-control") 1461 .html(""), 1462 l.removeClass("show-video"), 1463 a.removeClass("show-lightbox"), 1464 t("html").removeClass("disable-scroll"), 1465 e.$el.off(".lightboxAddedComment"), 1466 s.find(".spam-error").length > 0 && s.find(".spam-error").remove(), 1467 e.$el.trigger(o + "closeLightBoxVideoEventForEmbedTrigger", [e, l]), 1468 void 0 === e.global_video_lightbox_items[n]) 1469 ) 1470 return !1; 1471 var d = e.global_video_lightbox_items[n][0], 1472 c = e.global_video_lightbox_items[n][1], 1473 _ = l.find(".ima-adContainer-control").attr("id"); 1474 if ( 1475 (e.player_actions(d, c, "pause"), 1476 void 0 !== _ && 1477 void 0 !== e.is_ad_google_ima_control[_] && 1478 "boolean" == typeof e.is_ad_google_ima_stated_event[_] && 1479 !0 === e.is_ad_google_ima_stated_event[_]) 1480 ) 1481 try { 1482 e.is_ad_google_ima_control[_].pause(); 1483 } catch (t) {} 1484 return !1; 1485 }); 1486 }), 1487 (i.prototype.add_scroll_bar_for_playlist = function () { 1488 this.$el 1489 .find(".video-playlist-listing-control") 1490 .mCustomScrollbar({ alwaysShowScrollbar: 1, scrollInertia: 200 }); 1491 }), 1492 (i.prototype.watch_later = function () { 1493 var e = this, 1494 o = "watchlatervideos", 1495 i = function (i, l) { 1496 var n = i.attr("data-id"); 1497 if (!e.isNumber(n)) return !1; 1498 if (((n = parseFloat(n)), void 0 !== Cookies.get(o))) { 1499 var r = t.trim(Cookies.get(o)), 1500 s = []; 1501 t.each(r.split(","), function (o, i) { 1502 var a = t.trim(i); 1503 e.isNumber(a) && (s[o] = parseFloat(a)); 1504 }); 1505 var d = s.indexOf(n); 1506 if ("remove" === l) { 1507 if (-1 !== d) { 1508 s.splice(d, 1); 1509 var c = s.join(); 1510 Cookies.set(o, c, { expires: 368 }), 1511 "" === c && 1512 e.$el.find(".hasVideos-control").removeClass("hasVideos"); 1513 } 1514 i.removeClass("active-item"); 1515 var _ = i.parents(".watch-later-archive-control"); 1516 _.length > 0 && 1517 t('article[id="post-' + n + '"]', _).hide("fast", function () { 1518 t(this).remove(); 1519 }); 1520 var v = e.$el.find(".top-watch-later-control"); 1521 t('.video-listing-item[id="post-' + n + '-wl"]', v).hide( 1522 "fast", 1523 function () { 1524 t(this).remove(), 1525 0 === v.find(".video-listing-item-control").length && 1526 (v.addClass("no-video"), 1527 e.$el 1528 .find(".hasVideos-control") 1529 .removeClass("hasVideos")); 1530 } 1531 ); 1532 } else if ("add" === l && -1 === d) { 1533 s.push(n); 1534 c = s.join(); 1535 Cookies.set(o, c, { expires: 368 }), a(i); 1536 } 1537 } else "add" === l && (Cookies.set(o, n, { expires: 368 }), a(i)); 1538 "add" === l && 1539 (e.$el.find(".hasVideos-control").addClass("hasVideos"), 1540 i.addClass("active-item")); 1541 }, 1542 a = function (t) { 1543 var o = t.attr("data-id"); 1544 if (!e.isNumber(o)) return !1; 1545 o = parseFloat(o); 1546 var i = t.attr("data-title"), 1547 a = t.attr("data-hyperlink"), 1548 l = t.attr("data-img-src"), 1549 n = ""; 1550 void 0 !== l && 1551 "" != l && 1552 (n = '<img class="blog-picture" src="' + l + '">'), 1553 e.$el 1554 .find(".top-watch-later-control") 1555 .prepend( 1556 '<div class="video-listing-item video-listing-item-control" id="post-' + 1557 o +
1558 '-wl">\t\t\t\t\t\t\t\t<div class="video-img">' + 1559 n + 1560 '</div>\t\t\t\t\t\t\t\t<div class="video-content">\t\t\t\t\t\t\t\t\t<h3 class="h6 post-title">\t\t\t\t\t\t\t\t\t\t<a href="' + 1561 a + 1562 '" title="' + 1563 i + 1564 '">' + 1565 i + 1566 '</a>\t\t\t\t\t\t\t\t\t</h3>\t\t\t\t\t\t\t\t</div>\t\t\t\t\t\t\t\t<div class="remove-item-watch-later remove-item-watch-later-control" data-id="' + 1567 o + 1568 '"><i class="fa fa-times" aria-hidden="true"></i></div>\t\t\t\t\t\t\t</div>' 1569 ) 1570 .removeClass("no-video"); 1571 }; 1572 e.$el 1573 .off(".addWatchLater") 1574 .on("click.addWatchLater", ".watch-later-control", function (e) { 1575 var o = t(this); 1576 o.hasClass("active-item") ? i(o, "remove") : i(o, "add"); 1577 }), 1578 e.$el 1579 .off(".removeWatchLater") 1580 .on( 1581 "click.removeWatchLater", 1582 ".remove-item-watch-later-control", 1583 function (o) { 1584 var a = t(this), 1585 l = a.attr("data-id"); 1586 i(a, "remove"); 1587 var n = a.parents(".top-watch-later-control"); 1588 t('.video-listing-item[id="post-' + l + '-wl"]', n).hide( 1589 "fast", 1590 function () { 1591 t(this).remove(), 1592 0 === n.find(".video-listing-item-control").length && 1593 (n.addClass("no-video"), 1594 e.$el 1595 .find(".hasVideos-control") 1596 .removeClass("hasVideos")); 1597 } 1598 ); 1599 var r = e.$el.find(".watch-later-archive-control"); 1600 r.length > 0 && 1601 t('article[id="post-' + l + '"]', r).hide("fast", function () { 1602 t(this).remove(); 1603 }), 1604 e.$el 1605 .find('.watch-later-control[data-id="' + l + '"]') 1606 .removeClass("active-item"); 1607 } 1608 ); 1609 }), 1610 (i.prototype.archive_sort_button = function () { 1611 this.$el 1612 .off(".archiveSortBtn") 1613 .on("click.archiveSortBtn", ".sort-block-control", function (e) { 1614 t(this).toggleClass("active-item"); 1615 }); 1616 }), 1617 (i.prototype.video_repeat = function () { 1618 this.$el 1619 .off(".videoPlayerRepeat") 1620 .on("click.videoPlayerRepeat", ".repeat-video-control", function (e) { 1621 t(this).toggleClass("active-item"); 1622 }); 1623 }), 1624 (i.prototype.video_repeat_action = function (t) { 1625 var e = this, 1626 i = t.player, 1627 a = (t.partyElm, t.player_id, t.single_video_network), 1628 l = null; 1629 e.$el.on(o + "closeLightBoxVideoEventTrigger", function () { 1630 null != l && clearTimeout(l); 1631 }), 1632 (l = setTimeout(function () { 1633 e.player_actions(i, a, "seek", 0), e.player_actions(i, a, "play"); 1634 }, 368)); 1635 }), 1636 (i.prototype.scroll_control = function () { 1637 this.$el 1638 .off(".scrollControlAction") 1639 .on("click.scrollControlAction", ".scroll-elm-control", function (e) { 1640 var o = t(this), 1641 i = o.attr("href"); 1642 if ( 1643 ((void 0 !== i && "" != i) || (i = o.attr("data-href")), 1644 t(i).length > 0) 1645 ) 1646 return ( 1647 t("html, body") 1648 .stop() 1649 .animate( 1650 { 1651 scrollTop: 1652 t(i).offset().top - t("#wpadminbar").height() - 40, 1653 }, 1654 { duration: 500 }, 1655 function () {} 1656 ), 1657 !1 1658 ); 1659 }); 1660 }), 1661 (i.prototype.popular_slider = function () { 1662 var e = this; 1663 e.$el.find(".slider-popular-control").each(function (o, i) { 1664 var a = t(this), 1665 l = { 1666 arrows: !0, 1667 dots: !1, 1668 infinite: !0, 1669 speed: 500, 1670 slidesToShow: 2, 1671 slidesToScroll: 1, 1672 adaptiveHeight: !0, 1673 focusOnSelect: !1, 1674 prevArrow: 1675 '<button class="slick-prev slick-arrow" aria-label="Previous" type="button"><i class="fa fa-angle-left" aria-hidden="true"></i></button>', 1676 nextArrow: 1677 '<button class="slick-next slick-arrow" aria-label="Next" type="button"><i class="fa fa-angle-right" aria-hidden="true"></i></button>', 1678 responsive: [ 1679 { 1680 breakpoint: 992, 1681 settings: { slidesToShow: 1, slidesToScroll: 1 }, 1682 }, 1683 ], 1684 }; 1685 e.$el.hasClass("fullwidth-mode-enable") && 1686 ((l.slidesToShow = 4), 1687 (l.responsive = [ 1688 { breakpoint: 2e3, settings: { slidesToShow: 3 } }, 1689 { breakpoint: 1580, settings: { slidesToShow: 2 } }, 1690 { 1691 breakpoint: 992, 1692 settings: { slidesToShow: 1, slidesToScroll: 1 }, 1693 }, 1694 ])), 1695 a.on("init", function (t, e) {}), 1696 a 1697 .find("img.ul-normal-effect") 1698 .addClass("img-effect-setup img-loaded"), 1699 a.slick(l); 1700 }); 1701 }), 1702 (i.prototype.requestScript = function (t, e) { 1703 var o = document.getElementsByTagName("head")[0], 1704 i = document.createElement("script"); 1705 (i.type = "text/javascript"), 1706 (i.src = t), 1707 o.appendChild(i), 1708 (i.onreadystatechange = e), 1709 (i.onload = e), 1710 (i.onerror = e); 1711 }), 1712 (i.prototype.single_video_clean_action = function () { 1713 var e = this; 1714 e.$el 1715 .off(".videoCleanStyle") 1716 .on("click.videoCleanStyle", ".show-hide-toolbar-control", function ( 1717 o 1718 ) { 1719 t(this); 1720 e.$el.toggleClass("single-video-clean-style"); 1721 }); 1722 }), 1723 (i.prototype.dark_mode = function () { 1724 t(".ayin-dark-button").click(function () { 1725 t(".ayin-dark-button").toggleClass("active"), 1726 t(".ayin-dark-button").hasClass("active") 1727 ? (t("body").addClass("dark-mode"), 1728 localStorage.setItem("darkMode", !0)) 1729 : (t("body").removeClass("dark-mode"), 1730 localStorage.removeItem("darkMode")); 1731 }), 1732 localStorage.getItem("darkMode") && 1733 (t("body").addClass("dark-mode"), 1734 t(".ayin-dark-button").addClass("active")); 1735 }), 1736 (i.prototype.dark_mode_storage = function () { 1737 (function (t) { 1738 var e = document.cookie.match("(^|;) ?" + t + "=([^;]*)(;|$)"); 1739 return e ? e[2] : null; 1740 })("haliemNightMode") && 1741 (t("body").addClass("dark-mode"), 1742 t(".ayin-dark-button").addClass("active")); 1743 }), 1744 (i.prototype.destroy = function () {}), 1745 (t.fn.J_ayin_theme = function () { 1746 var t, 1747 e, 1748 o = this, 1749 a = arguments[0], 1750 l = Array.prototype.slice.call(arguments, 1), 1751 n = o.length; 1752 for (t = 0; t < n; t++) 1753 if ( 1754 ("object" == typeof a || void 0 === a 1755 ? (o[t].J_ayin_theme = new i(o[t], a)) 1756 : (e = o[t].J_ayin_theme[a].apply(o[t].J_ayin_theme, l)), 1757 void 0 !== e) 1758 ) 1759 return e; 1760 return o; 1761 }), 1762 t(document).ready(function () { 1763 var e = t("body");
1764 e.on(o + "init", function (t, o) { 1765 (window.get_ayin_build_fnc = o), e.trigger("get_ayin_build_fnc", []); 1766 }), 1767 e.J_ayin_theme({}); 1768 }); 1769});
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.