1var breakFlg,$newsTab,$newsTabItem,$newsTabItemLink,$newsTabCont,$newsList,cateLen,$newsListLen,videoControl,ua=navigator.userAgent.toLowerCase(),$win=$(window),$pt=$("#pagetop");function initPage(){objectFitImages(".u-img-ofiCover, .u-img-ofiCover img, .u-img-ofiContain, .u-img-ofiContain img"),$pt.find("a").on("click",function(){return $("html, body").scrollTop(377).stop().animate({scrollTop:0},890,"easeOutExpo"),!1}),$win.on("scroll",function(){var e=$win.height(),a=$win.scrollTop(),n=$("#contents").outerHeight();100<a?$pt.addClass("-visible"):$pt.removeClass("-visible"),a<n-e?($pt.addClass("fixed"),$(".btn-search.u-pc-item").removeClass("absolute")):($pt.removeClass("fixed"),$(".btn-search.u-pc-item").addClass("absolute"))}),(0<ua.indexOf("windows")&&0<ua.indexOf("phone")||0<ua.indexOf("iphone")||0<ua.indexOf("ipod")||0<ua.indexOf("android")&&0<ua.indexOf("mobile")||0<ua.indexOf("firefox")&&0<ua.indexOf("mobile")||0<ua.indexOf("blackberry"))&&$(".tel-link img").each(function(){var e=$(this).attr("alt");$(this).wrap($("<a>").attr("href","tel:"+e.replace(/-/g,"")))}),$(".smooth a").smoothLink();var e=$(".l-globalNav"),a=$(".l-globalNav-child"),n=a.children("ul"),i=$("#foot .l-globalNav-item ul");e.children("li").navigation({activeClass:"-active",activeParentClass:"-active"}),a.children("li").navigation({activeClass:"-active"}),n.children("li").navigation({activeClass:"-active"}),$(".l-globalNav-item.-utility").find(".l-globalNav-utility-item").navigation({activeClassTarget:".l-globalNav-utility-item",activeClass:"-active"}),i.children("li").navigation({activeClass:"-active"}),-1!=location.href.indexOf("/sustainability/region/")&&$(".-navRegion").addClass("-active")}initPage(),$win.breakPoint({smartPhoneWidth:767,tabletWidth:0,pcMediumWidth:0,onSmartPhoneEnter:function(){breakFlg=1;var e=$("#l-navBtn");e.on("click",function(){return $("body").toggleClass("-navOpen"),!1}),$(document).ready(function(){$("#head").find(".-active")&&($("#head").find(".l-globalNav-item.-active").clone().appendTo("#head").wrap('<ul id="localNavList">'),$("#localNavList .l-globalNav-item > a, #localNavList .l-globalNav-item > span").on("click",function(){return $("#localNavList").toggleClass("-localNavopen"),!1})),e.on("click",function(){$("ul").toggleClass("open")});var a,n=0;$(window).on("scroll",function(){a=$(this).scrollTop();var e=$("body");130<a?e.addClass("-headerHide"):e.removeClass("-headerHide"),180<a?e.addClass("-headerFix"):e.removeClass("-headerFix"),250<a?a<n?e.addClass("-headerShow"):(e.removeClass("-headerShow -navOpen"),$("#localNavList").removeClass("-localNavopen")):e.removeClass("-headerShow"),n=a})})},onPcEnter:function(){breakFlg=0},onSmartPhoneLeave:function(){breakFlg=0},onPcLeave:function(){breakFlg=1}}),$("#home .news-tab").length&&($newsTab=$(".news-tab"),$newsTabItem=$newsTab.find(".news-tab-item"),$newsTabItemLink=$newsTabItem.find("a"),$newsTabCont=$(".\\@news__container"),$newsList=$newsTabCont.find(".\\@news__list"),cateLen=$newsTabItem.length,$newsListLen=$newsList.length,$newsTabItemLink.on("click",function(){var e=$
1(this).attr("href").replace("#","");$newsTabItemLink.removeClass("-active"),$(this).addClass("-active");for(var a=0;a<$newsListLen;a++)$newsList.eq(a).attr("data-category")===e&&($newsList.hide(),$newsList.eq(a).show());return!1})),$(".inview").length&&$(".inview").on("inview",function(){$(this).addClass("-inviewIn")}),$(".btn-search a").on("click",function(){return $(".box-search").addClass("show"),$("#bodyIn").addClass("blur"),$("#input-search").focus(),!1}),$(".box-search .overlay").on("click",function(){$(".box-search").removeClass("show"),$("#bodyIn").removeClass("blur")}),$(".modalMovie").length&&(videoControl=function(e){$(".youtubePlayer").each(function(){this.contentWindow.postMessage(JSON.stringify({event:"command",func:e,args:[]}),"*")})},MicroModal.init({onShow:function(e){},onClose:function(e){videoControl("pauseVideo")},openTrigger:"data-custom-open",closeTrigger:"data-custom-close",openClass:"is-open",disableScroll:!0,disableFocus:!1,awaitOpenAnimation:!1,awaitCloseAnimation:!0,debugMode:!0})); 2 3document.querySelectorAll('.modalMovie').forEach((movieButton) => { 4 movieButton.addEventListener('click', function () { 5 const videoId = this.dataset.videoId; 6 const modalId = this.dataset.customOpen; 7 const modal = document.getElementById(modalId); 8 const youtubeFrame = modal.querySelector('.modal__iframe'); 9 10 youtubeFrame.innerHTML = ` 11 <iframe 12 src="https://www.youtube.com/embed/${videoId}?playsinline=1&enablejsapi=1" 13 title="YouTube video player" 14 frameborder="0" 15 allow="encrypted-media; picture-in-picture; web-share" 16 referrerpolicy="strict-origin-when-cross-origin" 17 allowfullscreen 18 class="youtubePlayer"> 19 </iframe> 20 `; 21 }); 22}); 23 24document.querySelectorAll('.modalMovie').forEach((movieButton) => { 25 movieButton.addEventListener('click', function () { 26 const videoId = this.dataset.videoId; 27 const modalId = this.dataset.customOpen; 28 const modal = document.getElementById(modalId); 29 const youtubeFrame = modal.querySelector('.modal__iframe'); 30 31 youtubeFrame.innerHTML = ` 32 <iframe 33 src="https://www.youtube.com/embed/${videoId}?playsinline=1&enablejsapi=1" 34 title="YouTube video player" 35 frameborder="0" 36 allow="encrypted-media; picture-in-picture; web-share" 37 referrerpolicy="strict-origin-when-cross-origin" 38 allowfullscreen 39 class="youtubePlayer"> 40 </iframe> 41 `; 42 }); 43});
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.