1(function ($) { 2 $(document).ready(function () { 3 const SessionStorageKeys = { 4 showGeoblockedModal: "show_geoblocked_error_modal", 5 showWatchStreamModal: "show_watch_stream_error_modal", 6 }; 7 8 const showGeoblockedModal = sessionStorage.getItem( 9 SessionStorageKeys.showGeoblockedModal 10 ); 11 12 const showWatchStreamModal = sessionStorage.getItem( 13 SessionStorageKeys.showWatchStreamModal 14 ); 15 16 // Display Geoblock modal 17 if (showGeoblockedModal === null || showGeoblockedModal === "true") { 18 sessionStorage.setItem(SessionStorageKeys.showGeoblockedModal, "true"); 19 $("#geoblocked_error_modal").removeClass("hidden"); 20 } 21 22 // Hide Geoblock modal 23 $("#close_geoblocked_error_modal").click(() => { 24 $("#geoblocked_error_modal").addClass("hidden"); 25 sessionStorage.setItem(SessionStorageKeys.showGeoblockedModal, "false"); 26 }); 27 28 // Display Watch Stream modal 29 if (showWatchStreamModal === null || showWatchStreamModal === "true") { 30 sessionStorage.setItem(SessionStorageKeys.showWatchStreamModal, "true"); 31 $("#watch_stream_error_modal").removeClass("hidden"); 32 } 33 34 // Hide Watch Stream modal 35 $("#close_watch_stream_error_modal").click(() => { 36 $("#watch_stream_error_modal").addClass("hidden"); 37 sessionStorage.setItem(SessionStorageKeys.showWatchStreamModal, "false"); 38 }); 39 }); 40})(jQuery);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.