1(function(CQ){CQ.WCM=CQ.WCM||{};CQ.WCM.Image=CQ.WCM.Image||function(){var self={};var CONST={MAP_SELECTOR:".cq-wcm-foundation-image-map"};self.handleResize=function(){var elements=document.querySelectorAll(CONST.MAP_SELECTOR);Array.prototype.forEach.call(elements,function(el){if(!el.getAttribute("usemap"))return;var imgSrc=el.getAttribute("src"),onLoadImg=document.createElement("img");onLoadImg.addEventListener("load",function(){var imgWidth=el.getAttribute("width")||el.naturalWidth,imgHeight=el.getAttribute("height")|| 2el.naturalHeight;if(!imgWidth||!imgHeight){var tempImage=new Image;tempImage.src=imgSrc;if(!imgWidth)imgWidth=tempImage.width;if(!imgHeight)imgHeight=tempImage.height}var relWidth=el.offsetWidth/100,relHeight=el.offsetHeight/100,map=el.getAttribute("usemap");map=map.replace("#","");var maps=document.querySelectorAll('map[name\x3d"'+map+'"]');Array.prototype.forEach.call(maps,function(mapEl){var areas=mapEl.querySelectorAll("area");Array.prototype.forEach.call(areas,function(areaEl){if(!areaEl.dataset.coords)areaEl.dataset.coords= 3areaEl.getAttribute("coords");var coords=areaEl.dataset.coords.split(","),relCoords=new Array(coords.length);for(var i=0;i<coords.length;++i)if(i%2==0)relCoords[i]=parseInt(coords[i]/imgWidth*100*relWidth);else relCoords[i]=parseInt(coords[i]/imgHeight*100*relHeight);areaEl.setAttribute("coords",relCoords.toString())})})});onLoadImg.setAttribute("src",imgSrc)})};return self}();var addEventListener=window.addEventListener||window.attachEvent,MutationObserver=window.MutationObserver||window.WebKitMutationObserver|| 4window.MozMutationObserver,mutationConfig={attributes:true},observer=new MutationObserver(function(mutations){mutations.forEach(function(){CQ.WCM.Image.handleResize()})});addEventListener("resize",CQ.WCM.Image.handleResize);observer.observe(document,mutationConfig);CQ.WCM.Image.handleResize()})(CQ); 5(function($){$.fn.rwdImageMaps=function(){var $img=this;var rwdImageMap=function(){$img.each(function(){if(typeof $(this).attr("usemap")=="undefined")return;var that=this,$that=$(that);$("\x3cimg /\x3e").on("load",function(){var attrW="width",attrH="height",w=$that.attr(attrW),h=$that.attr(attrH);if(!w||!h){var temp=new Image;temp.src=$that.attr("src");if(!w)w=temp.width;if(!h)h=temp.height}var wPercent=$that.width()/100,hPercent=$that.height()/100,map=$that.attr("usemap").replace("#",""),c="coords"; 6$('map[name\x3d"'+map+'"]').find("area").each(function(){var $this=$(this);if(!$this.data(c))$this.data(c,$this.attr(c));var coords=$this.data(c).split(","),coordsPercent=new Array(coords.length);for(var i=0;i<coordsPercent.length;++i)if(i%2===0)coordsPercent[i]=parseInt(coords[i]/w*100*wPercent);else coordsPercent[i]=parseInt(coords[i]/h*100*hPercent);$this.attr(c,coordsPercent.toString())})}).attr("src",$that.attr("src"))})};$(window).resize(rwdImageMap).trigger("resize");return this}})(jQuery); 7(function(document,$){var MutationObserver=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,mutationConfig={attributes:true},observer=new MutationObserver(function(mutations){mutations.forEach(function(){bindPlugin()})});$(function(){bindPlugin();observer.observe(document.documentElement,mutationConfig)});function bindPlugin(){$("div[id^\x3d'cq-image-jsp-']").each(function(i,el){$("img[usemap]",el).rwdImageMaps()})}})(document,$CQ); 8(function($){$(function(){function errorLog(error,message){try{if($.cq.isAuthor()||window.location.hash=="#debug"){if(typeof console!="undefined"&&typeof console.log!="undefined"){console.log(error);console.log(message)}alert(error.name+":\n"+error.message+".\n"+message+".")}}catch(e){}}try{var removeHash=function(context){try{if(window.location.hash.length>0&&$(window.location.hash,context).length>0)window.location=(window.location+"").replace(window.location.hash,"")}catch(e){errorLog(e,"Could not remove hash")}}; 9var fadingSpeed=$.browser.msie?0:250;try{$(".cq-carousel").each(function(){var carousel=$(this);var playDelay=+$("var[title\x3d'play-delay']",this).text();if(!playDelay)playDelay=6E3;var slidingSpeed=+$("var[title\x3d'transition-time']",this).text();if(!slidingSpeed)slidingSpeed=1E3;var banners=$(".cq-carousel-banners",this);var switcher=$(".cq-carousel-banner-switch",this);var links=switcher.find("a");var items=$(".cq-carousel-banner-item",this);var width=items.outerWidth();var itemActive=items.filter(":first"); 10var itemPrevious=null;var interval=null;var i=0;var ctlPrev=$("a.cq-carousel-control-prev",this);
10ctlPrev.click(function(){if(ctlPrev.is(".cq-carousel-active"))$(links[(i+links.length-1)%links.length]).click();return false});var ctlNext=$("a.cq-carousel-control-next",this);ctlNext.click(function(){if(ctlNext.is(".cq-carousel-active"))$(links[(i+1)%links.length]).click();return false});if(links.length>1)ctlNext.addClass("cq-carousel-active");function play(){stop();if(playDelay>0)interval=setInterval(function(){$(links[(i+ 111)%links.length]).click()},playDelay)}function stop(){if(interval!==null){clearInterval(interval);interval=null}}if(fadingSpeed||$.browser.version>6)itemActive.css("left",0);else itemActive.show();links.click(function(){var link=$(this);var itemNew=items.filter(link.attr("href"));var j=itemNew.prevAll().length;var direction=j>i||interval!==null?1:-1;if(!link.is(".cq-carousel-active")){links.removeClass("cq-carousel-active");link.addClass("cq-carousel-active");if(itemActive.is(":animated")){itemActive.stop(true, 12true);itemPrevious.stop(true,true)}if(fadingSpeed){itemNew.css({"left":direction*width}).animate({"left":0,"opacity":1},slidingSpeed);itemActive.animate({"left":-direction*width,"opacity":0},slidingSpeed)}else if($.browser.version>6){itemNew.css({"left":direction*width,opacity:1}).animate({"left":0},slidingSpeed);itemActive.animate({"left":-direction*width},slidingSpeed)}else{itemNew.fadeIn();itemActive.fadeOut()}itemPrevious=itemActive;itemActive=itemNew;i=j;if(i>0)ctlPrev.addClass("cq-carousel-active"); 13else ctlPrev.removeClass("cq-carousel-active");if(i<links.length-1)ctlNext.addClass("cq-carousel-active");else ctlNext.removeClass("cq-carousel-active")}return false}).each(function(){var link=$(this);link.attr("title",link.text())}).filter(":first").addClass("cq-carousel-active");play();carousel.hover(function(){stop();ctlPrev.fadeIn();ctlNext.fadeIn()},function(){play();ctlPrev.fadeOut();ctlNext.fadeOut()});removeHash(this)})}catch(e){errorLog(e,"Could not initialize the banners")}}catch(e$0){errorLog(e$0, 14"Init failed")}})})($CQ||$); 15(function($){var $event=$.event,$special,resizeTimeout;$special=$event.special.debouncedresize={setup:function(){$(this).on("resize",$special.handler)},teardown:function(){$(this).off("resize",$special.handler)},handler:function(event,execAsap){var context=this,args=arguments,dispatch=function(){event.type="debouncedresize";$event.dispatch.apply(context,args)};if(resizeTimeout)clearTimeout(resizeTimeout);execAsap?dispatch():resizeTimeout=setTimeout(dispatch,$special.threshold)},threshold:150}})($CQ); 16window.matchMedia=window.matchMedia||function(doc,undefined){var bool,docElem=doc.documentElement,refNode=docElem.firstElementChild||docElem.firstChild,fakeBody=doc.createElement("body"),div=doc.createElement("div");div.id="mq-test-1";div.style.cssText="position:absolute;top:-100em";fakeBody.style.background="none";fakeBody.appendChild(div);return function(q){div.innerHTML='\x26shy;\x3cstyle media\x3d"'+q+'"\x3e #mq-test-1 { width: 42px; }\x3c/style\x3e';docElem.insertBefore(fakeBody,refNode);bool= 17div.offsetWidth===42;docElem.removeChild(fakeBody);return{matches:bool,media:q}}}(document); 18(function($,w){w.picturefill=function(context){var undefined;if(context===undefined)context=$("body");$("div[data-picture]",context).each(function(){var currentPicture=this;var matches=[];$("div[data-media]",currentPicture).each(function(){var media=$(this).attr("data-media");if(!media||w.matchMedia&&w.matchMedia(media).matches)matches.push(this)});var $picImg=$("img",currentPicture).first();if(matches.length){if($picImg.size()===0){var $currentPicture=$(currentPicture);$picImg=$("\x3cimg /\x3e").attr("alt", 19$currentPicture.attr("data-alt")).appendTo($currentPicture)}$picImg.attr("src",matches.pop().getAttribute("data-src"))}else $picImg.remove()})};$(function(){w.picturefill()});$(w).on("debouncedresize",function(){w.picturefill()})})($CQ,this);function cq5forms_isArray(obj){if(Array.isArray)return Array.isArray(obj);else return Object.prototype.toString.call(obj)==="[object Array]"} 20function cq5forms_isNodeList(obj){var prototypeName=Object.prototype.toString.call(obj);return typeof obj==="object"&&/^\[object (HTMLCollection|NodeList|RadioNodeList)\]$/.test(prototypeName)&&typeof obj.length==="number"&&(obj.length===0||typeof obj[0]==="object"&&obj[0].nodeType>0)} 21function cq5forms_showMsg(fid,field,msg,index){var f=document.forms[fid].elements[field];alert(msg);if(cq5forms_isNodeList(f))f=Array.prototype.slice.call(f);if(cq5forms_isArray(f)){if(!index)index=0;f[index].focus()}else f.focus()}
22function cq5forms_isEmpty(obj){if(obj===undefined)return false;var empty=true;if(cq5forms_isNodeList(obj))obj=Array.prototype.slice.call(obj);if(cq5forms_isArray(obj))for(i=0;i<obj.length;i++)if(obj[i].type=="radio"||obj[i].type=="checkbox"){if(obj[i].checked)empty=false}else if(obj[i].localName=="option"){if(obj[i].selected)empty=false}else{if(obj[i].value.length>0)empty=false}else if(obj.type=="radio"||obj.type=="checkbox"){if(obj.checked)empty=false}else if(obj.value.length>0)empty=false;return empty} 23function cq5forms_regcheck(obj,pattern){var result=false;var t=pattern.exec(obj);if(t){var len=obj.length;var pattlen=t[0].length;result=pattlen==len}return result}function cq5forms_multiResourceChange(evt,name,force){if(!force){if(!evt)evt=window.event;if(evt.keyCode<48&&evt.keyCode!=8&&evt.keyCode!=46)return}try{document.getElementById(name).checked=true}catch(e){}};
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.