PageSourceSearch

http://www.lkgnet.com/media/responsive2017/styleassets/js/production/main030125.min.js?v=227.0

js lkgnet.com collected 2026-09-27 01:56:31 UTC 12,578 bytes, 1 lines download raw bytes

1  function gl_getParameterByName(e){url=window.location.href,e=e.replace(/[\[\]]/g,"\\$&");e=new RegExp("[?&]"+e+"(=([^&#]*)|&|#|$)").exec(url);return e?e[2]?decodeURIComponent(e[2].replace(/\+/g," ")):"":null}function gl_setCookie(e,t,o){var i=new Date;i.setTime(i.getTime()+24*o*60*60*1e3);i="expires="+i.toUTCString();document.cookie=e+"="+t+";"+i+";path=/"}$(".home-slider, .quote-slider, .events-slider").slick({dots:!0,arrows:!0,infinite:!0,speed:300,slidesToShow:1,autoplay:!0,autoplaySpeed:4e3}),$(".facilities-slider").slick({dots:!1,arrows:!0,infinite:!0,speed:400,slidesToShow:1,autoplay:!0,autoplaySpeed:4e3}),$(".showcase-slider").slick({dots:!0,arrows:!0,infinite:!1,speed:300,slidesToShow:3,slidesToScroll:1,responsive:[{breakpoint:991,settings:{slidesToShow:3,slidesToScroll:1,infinite:!0,dots:!0}},{breakpoint:767,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:550,settings:{slidesToShow:1,slidesToScroll:1}}]}),$(".card-slider").slick({dots:!0,arrows:!0,infinite:!0,speed:300,slidesToShow:4,slidesToScroll:1,responsive:[{breakpoint:1200,settings:{slidesToShow:3,slidesToScroll:1}},{breakpoint:991,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:767,settings:{slidesToShow:1,slidesToScroll:1}}]}),function(a){a.fn.bmdIframe=function(e){var i=this,n=a.extend({classBtn:".bmd-modalButton",defaultW:640,defaultH:360},e);return a(n.classBtn).on("click",function(e){let t=a(this).attr("data-bmdVideoFullscreen")||!1,o={src:a(this).attr("data-bmdSrc"),height:a(this).attr("data-bmdHeight")||n.defaultH,width:a(this).attr("data-bmdWidth")||n.defaultW};t&&(o.allowfullscreen=""),a(i).find("iframe").attr(o)}),this.on("hidden.bs.modal",function(){a(this).find("iframe").attr("src","")}),this}}(jQuery),jQuery(document).ready(function(){jQuery(".modal.fade").bmdIframe()}),$(".open-popup-link").magnificPopup({type:"inline",midClick:!0,fixedBgPos:!0,fixedContentPos:!0}),$(document).ready(function(){$('a[href="javascript:void(0)"]').parent(".news-item").addClass("preventHover"),$(".play-video").on("click",function(e){$(this).hide();var t=$(this).nextAll(".video").first().attr("src");$(this).nextAll(".video").first().attr("src",t+="?rel=0&autoplay=1")})}),$(document).ready(function(){$(".inner-trigger").on("click",function(){return $(this).parent().parent().toggleClass("expanded"),!1})});var UoL=UoL||{};UoL.LoD=UoL.LoD||{},UoL.LoD.debounce=function(i,n,a){let r;return function(){var e=this,t=arguments,o=a&&!r;clearTimeout(r),r=setTimeout(function(){r=null,a||i.apply(e,t)},n),o&&i.apply(e,t)}},UoL.LoD.fadeOutRemove=function(e){$(e).fadeOut(300,function(){e.setAttribute("hidden",!0)})},UoL.LoD.fadeOutAdd=function(e){$(e).fadeIn(450,function(){e.removeAttribute("hidden",!0)})},UoL.LoD.videoPlayer=function(){"use strict";function L(e,t,o,i,n,a){let r=document.createElement("iframe"),l=e.hasAttribute("data-360"),d="",s=e.querySelector(".uol-carousel-card__video_btn"),c="";r.className="video_iframe",r.setAttribute("frameborder",0),r.setAttribute("allowfullscreen",""),c=l?"360 view of the "+n.textContent:"Youtube video titled"+n.textContent,r.setAttribute("title",c),s.classList.add("playing"),t.target.querySelector(".video_iframe")||(d=l?"https://roundme.com/embed/"+a:"https://www.youtube.com/embed/".concat(a,"?rel=0&showinfo=0&autoplay=1"),r.setAttribute("src",d),r.addEventListener("load",function(e){s.classList.remove("playing"),o.textContent=n.textContent,$("#videoCardModal").modal("show")},{once:!0}),$("#videoCardModal").on("hide.bs.modal",function(){r.removeAttribute("src")}),i.appendChild(r))}return{lazyLoad:function(d,s,c){var u=s.dataset.videoid;if(u){var m=s.classList.contains("uol-hero"),h=s.hasAttribute("data-360"),p=s.hasAttribute("data-live");let t=d.createElement("img"),o="";o=h?s.getAttribute("data-360-image"):"https://i.ytimg.com/vi/"+u+"/hqdefault.jpg",t.src=o;let i=d.createElement("div");i.className="uol-carousel-card__video_cnt";var v=d.querySelector("#videoCardModal .modal-title"),f=d.querySelector("#videoCardModal .modal-body");let n,e,a,r;n=d.createElement("div"),e=d.createElement("p"),a=d.createElement("h3"),n.className="uol-carousel-card__video_caption",e.className="uol-carousel-card__video_cat",a.className="uol-carousel-card__video_title",a.textContent=s.dataset.videotitle||"",m||(e.setAttribute("data-matchHeights","category"+c),a.setAttribute("data-matchHeights","title"+c)),m&&!p&&(i.className="uol-hero_imgCnt",n.className="uol-hero_cpy",a.className="uol-h2",r=d.createElement("p"),r.className="uol-body",r.textContent=s.dataset.videodesc||"",t.className="uol-hero_img"),e.textContent.length&&n.appendChild(e),a.textContent.length&&n.appendChild(a);let l=d.createElement("button");l.type="button",l.classList.add("uol-carousel-card__video_btn"),l.setAttribute("aria-label","Play video: "+s.dataset.videotitle),l.setAttribute("aria-pressed",!1),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="60" height="60" fill="none" viewBox="0 0 60 60"><path class="play" fill="#fff" d="M35.394 31.046l-9.544 5.538c-.81.469-1.85-.1-1.85-1.046V24.462c0-.945 1.038-1.515 1.85-1.044l9.544 5.538a1.203 1.203 0 010 2.09z"/><circle class="circle" cx="30" cy="30" r="28" stroke="#fff" stroke-width="4"/></svg>
1',t.addEventListener("load",function(e){return 120==t.naturalWidth&&0==h&&(o="https://i.ytimg.com/vi/"+u+"/hqdefault.jpg"),1==h&&(o=s.getAttribute("data-360-image")),m?(p||(n.appendChild(r),s.appendChild(n),s.insertBefore(i,n)),i.style.backgroundImage="url('"+o+"')",void i.appendChild(l)):(i.style.backgroundImage="url('"+o+"')",i.appendChild(l),s.appendChild(i),void s.appendChild(n))},{once:!0}),s.setAttribute("tabindex",0),s.setAttribute("aria-label","Video module: "+a.textContent),s.addEventListener("click",function(e){L(s,e,v,f,a,u)},{once:!1}),s.addEventListener("key",function(e){e.keyCode,L(s,e,v,f,a,u)},{once:!1})}},setupLiveLounge:function(e){e&&function(e){let t=new Date,o=new Date(e.getAttribute("data-start-date")+"T"+e.getAttribute("data-start-time")),i=new Date(e.getAttribute("data-end-date")+"T"+e.getAttribute("data-end-time")),n=t>o&&t<i,a=t<o,r=t>i,l=e.querySelector(".video-indicator");n?(e.setAttribute("data-live","live"),l.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="none" viewBox="0 0 20 20"><circle cx="10" cy="10" r="9" stroke-width="2" stroke="currentcolor"></circle><circle class="inner-circle" cx="10" cy="10" r="5" fill="currentcolor"></circle></svg><span class="video-indicator_text">Live</span>'):a?(e.setAttribute("data-live","scheduled"),l.innerHTML='<span class="video-indicator_text"><span class="fa fa-clock-o"></span> Scheduled</span>'):r&&(e.setAttribute("data-live","previous"),l.innerHTML='<span class="video-indicator_text">'.concat(o.toLocaleDateString("en-GB",{weekday:"long",day:"numeric",month:"short",year:"numeric"}),"</span>"))}(e)},createIframe:L,createModal:function(e,t){let o=e.createElement("div");o.setAttribute("class","modal fade"),o.setAttribute("id","videoCardModal"),o.setAttribute("tabindex","-1"),o.setAttribute("role","dialog"),o.innerHTML='<div class="modal-dialog" role="document"><div class="modal-content"><div class="modal-header"><h5 class="modal-title">Modal title</h5><button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button></div><div class="modal-body"></div></div></div></div>',t.appendChild(o)}}}(),UoL.LoD.compareText=function(a,e,t){var r=e.value.toLowerCase().trim();t&&0!=t.length&&(r=t);t="^(?=.*\\b".concat(r.split(/\s+/).join("\\b)(?=.*\\b"),").*$");r.split();var l=document.querySelector(".uol-section[data-type]"),d=document.querySelector("#pageContent"),s=l.querySelector(".wrapper"),c=l.querySelector(".grid"),u=RegExp(t,"i"),m="none"==r||0==r.length,t=s.querySelector(".uol-body"),h=0;a.filter(function(e,t){var o,i=e.dataset.videotitle.toLowerCase().replace(/\s+/g," "),n=e.dataset.videocategory.toLowerCase().replace(/\s+/g," ");!u.test(i)&&!u.test(n)?(h++,m||h!=a.length||t!=a.length-1||(c.innerHTML="",o=document.createElement("p"),t=l.querySelector(".uol-body"),l.contains(t)||(o.textContent="Unfortunately, we couldn't find any matches for \""+r+'". Double check your search for any typos or spelling errors - or try reframing your search.',o.className="uol-body",s.insertBefore(o,c)))):(UoL.LoD.fadeOutRemove(d),o=e.cloneNode(!0),null==c.children[o]&&(o.classList="tile",o.removeAttribute("data-slick-index"),c.appendChild(o))),m&&(c.innerHTML="",setTimeout(function(){UoL.LoD.fadeOutAdd(e),UoL.LoD.fadeOutAdd(d)},300))}),!m&&0<c.childElementCount&&(t&&UoL.LoD.removeChild(s,t),UoL.LoD.fadeOutAdd(l),UoL.LoD.fadeOutRemove(d)),m||0!=c.childElementCount||(UoL.LoD.fadeOutAdd(l),UoL.LoD.fadeOutRemove(d)),m&&(t&&UoL.LoD.removeChild(s,t),UoL.LoD.fadeOutRemove(l),UoL.LoD.fadeOutAdd(d))},UoL.LoD.removeChild=function(e,t){e.removeChild(t)},UoL.LoD.simpleSearch=function(o){var i,n="",e=o.nodeName;"SELECT"==e&&(n="change"),"button"==e.toLowerCase()&&(n="click"),o.addEventListener(n,UoL.LoD.debounce(function(e){var t=Array.prototype.slice.call(document.querySelectorAll(".uol-section:not([data-type]) .tile"));if(document.querySelector(".uol-section[data-type] .grid").innerHTML="",13!=e.keyCode)return"click"==n?(e.preventDefault(),i=document.querySelector("#searchBar").value.toLowerCase().trim(),void UoL.LoD.compareText(t,o,i)):void("change"==n&&UoL.LoD.compareText(t,o));UoL.LoD.compareText(t,o)},1e3,!1))},UoL.LoD.matchHeights=function(){"use strict";var i="data-matchHeights";!function(){for(var e,t=function(e){for(var t,o=[],i=document.querySelectorAll("["+e+"]"),n=i.length;n--;)t=i[n].getAttribute(e),-1===o.indexOf(t)&&o.push(t);return o}(i),o=t.length;o--;)(function(e){for(var t=e.length;t--;)e[t].removeAttribute("style")}
1)(e=document.querySelectorAll("["+i+'="'+t[o]+'"]')),320<=document.body.clientWidth&&function(e,t){for(var o=e.length;o--;)e[o].style.minHeight=t+"px"}(e,function(e){for(var t,o=0,i=e.length;i--;)o<(t=e[i].clientHeight)&&(o=t);return o}(e))}()},("IntersectionObserver"in window||"IntersectionObserverEntry"in window)&&(UoL.LoD.observer=new IntersectionObserver(function(e){e.forEach(function(e){var t=e.target.querySelector(".uol-video--bg");e.isIntersecting?t.play():t.paused||t.pause()})},{root:null,threshold:0,rootMargin:"0px 0px -50px 0px"}),UoL.LoD.observeItems=void document.addEventListener("load",function(){var e=document.querySelectorAll(".uol-section--media");Array.prototype.slice.call(e).forEach(function(e){UoL.LoD.observer.observe(e)})})),UoL.LoD.slickify=function(){for(var e=Array.prototype.slice.call(document.querySelectorAll(".uol-section:not([data-type]):not([data-tag-slug]) .grid")),t=e.length;t--;){var o=e[t].classList.contains("slick-initialized");4<e[t].childElementCount?0==o&&$(e[t]).slick({infinite:!0,dots:!1,arrows:!0,slidesToShow:4,slidesToScroll:2,variableWidth:!0,responsive:[{breakpoint:1260,settings:{slidesToShow:4,slidesToScroll:2}},{breakpoint:912,settings:{slidesToShow:3,slidesToScroll:2}},{breakpoint:756,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:504,settings:{slidesToShow:1,slidesToScroll:1}}]}):document.body.clientWidth<1070&&0==o&&$(e[t]).slick({infinite:!1,dots:!1,arrows:!0,slidesToShow:e[t].childElementCount-1,slidesToScroll:1,variableWidth:!0,mobileFirst:!0,responsive:[{breakpoint:1070,settings:"unslick"},{breakpoint:320,settings:{slidesToShow:1,slidesToScroll:1}},{breakpoint:640,settings:{slidesToShow:2,slidesToScroll:1}},{breakpoint:912,settings:{slidesToShow:3,slidesToScroll:2}}]})}},document.addEventListener("DOMContentLoaded",function(e){if(0<document.querySelectorAll(".tile").length){var t=Array.prototype.slice.call(document.querySelectorAll(".grid")),o=document.querySelector("#searchBar"),i=document.querySelector("#filter"),n=document.querySelector("#searchButton");o&&i&&n&&(o.value="",i.value="",UoL.LoD.simpleSearch(o),UoL.LoD.simpleSearch(i),UoL.LoD.simpleSearch(n)),UoL.LoD.videoPlayer.createModal(document,document.querySelector("body"));for(var a=document.querySelectorAll("[data-videoId]"),r=a.length;r--;)UoL.LoD.videoPlayer.lazyLoad(document,a[r],t.indexOf(a[r].parentElement))}document.querySelector(".uol-hero[data-live]")&&UoL.LoD.videoPlayer.setupLiveLounge(document.querySelector(".uol-hero[data-live]"))}),window.addEventListener("resize",UoL.LoD.debounce(UoL.LoD.slickify),!1),window.addEventListener("load",UoL.LoD.debounce(UoL.LoD.slickify),!1),window.addEventListener("load",UoL.LoD.matchHeights,!1),window.addEventListener("resize",UoL.LoD.matchHeights,!1),document.addEventListener("DOMContentLoaded",function(){UoL.Common.Videoplayer.setup()});

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.