1// UMD 2(function (factory) { 3 "use strict"; 4 5 if (typeof define === 'function' && define.amd) { 6 // AMD 7 define(['jquery'], function ($) { 8 return factory($, window, document); 9 }); 10 } 11 else if (typeof exports === 'object') { 12 // CommonJS 13 module.exports = function (root, $) { 14 if (!root) { 15 root = window; 16 } 17 18 if (!$) { 19 $ = typeof window !== 'undefined' ? 20 require('jquery') : 21 require('jquery')(root); 22 } 23 24 return factory($, root, root.document); 25 }; 26 } 27 else { 28 // Browser 29 factory(jQuery, window, document); 30 } 31} 32 (function ($, window, document) { 33 34 if ($.fn.dataTable) { 35 $.fn.dataTable.render.moment = function (from, to, locale) { 36 // Argument shifting 37 if (arguments.length === 1) { 38 locale = 'en'; 39 to = from; 40 from = 'YYYY-MM-DD'; 41 } 42 else if (arguments.length === 2) { 43 locale = 'en'; 44 } 45 46 return function (d, type, row) { 47 var m = window.moment(d, from, locale, true); 48 49 // Order and type get a number value from Moment, everything else 50 // sees the rendered value 51 var returnValue = m.format(type === 'sort' || type === 'type' ? 'x' : to); 52 if (returnValue === 'Invalid date') { 53 returnValue = d; 54 } 55 return returnValue; 56 }; 57 }; 58 } 59 60 })); 61 62function equalHeightContent() { 63 var section = $("#microsite_content > #section"); 64 var aside = $("#microsite_content > aside"); 65 section.height("auto"); 66 aside.height("auto"); 67 if (section.height() > aside.height()) { 68 aside.height(section.height()); 69 } else { 70 section.height(aside.height()); 71 } 72} 73 74function equalHeightByRow(root) { 75 console.log('equalHeightByRow'); 76 console.log('root: ' + root); 77 var rowCount = 0; 78 var containerCount = 0; 79 $(root).find(".equalheight").height("auto"); 80 $(root).each(function () { 81 $(this).find(".equalheight").each(function (i, val) { 82 if (i > 0) { 83 var thisPosition = $(this).position().top; 84 var prevPosition = $($(this).closest(root).find(".equalheight")[i - 1]).position().top; 85 console.log("This: " + thisPosition); 86 console.log("Prev: " + prevPosition); 87 console.log("Compare: " + (thisPosition !== prevPosition).toString()); 88 if (thisPosition !== prevPosition) { 89 equalHeight($(root).find(".equalheight.group-" + containerCount + "-" + rowCount)); 90 rowCount++; 91 } 92 } 93 $(this).addClass("group-" + containerCount + "-" + rowCount); 94 }); 95 equalHeight($(root).find(".equalheight.group-" + containerCount + "-" + rowCount)); 96 rowCount = 0; 97 containerCount++; 98 }); 99 $(document).trigger("complete.EqualHeight.Row"); 100} 101 102function equalHeightByRowWithContainer(root) { 103 console.log("equalHeightByRowWithContainer"); 104 var rowcount = 0; 105 $(root).find(".equalheight").height("auto"); 106 $(root).each(function (i, element) { 107 if (i > 0) { 108 console.log("This: " + $(this).position().top); 109 console.log("Prev: " + $($(root)[i - 1]).position().top); 110 console.log("Compare: " + ($(this).position().top !== $($(root)[i - 1]).position().top).toString()); 111 if ($(this).position().top !== $($(root)[i - 1]).position().top) { 112 equalHeight($(root).find(".equalheight.group-" + rowcount)); 113 rowcount++; 114 } 115 } 116 $(this).find(".equalheight").addClass("group-" + rowcount); 117 equalHeight($(root).find(".equalheight.group-" + rowcount)); 118 }); 119 equalHeight($(root).find(".equalheight.group-" + rowcount)); 120} 121 122(function ($) { 123 $.fn.parallax = function () { 124 var window_width = $(window).width(); 125 // Parallax Scripts 126 return this.each(function (i) { 127 var $this = $(this); 128 $this.addClass('parallax'); 129 130 function updateParallax(initial) { 131 var container_height; 132 if (window_width < 601) { 133 container_height = ($this.height() > 0) ? $this.height() : $this.children("img").height(); 134 } else { 135 container_height = ($this.height() > 0) ? $this.height() : 500; 136 } 137 var $img = $this.children("img").first(); 138 var img_height = $img.height(); 139 var parallax_dist = img_height - container_height; 140 var bottom = $this.offset().top + container_height; 141 var top = $this.offset().top; 142 var scrollTop = $(window).scrollTop(); 143 var windowHeight = window.innerHeight; 144 var windowBottom = scrollTop + windowHeight; 145 var percentScrolled = (windowBottom - top) / (container_height + windowHeight); 146 var parallax = Math.round((parallax_dist * percentScrolled)); 147 148 if (initial) { 149 $img.css('display', 'block'); 150 } 151 if ((bottom > scrollTop) && (top < (scrollTop + windowHeight))) { 152 $img.css('transform', "translate3D(-50%," + parallax + "px, 0)"); 153 } 154 155 } 156 157 // Wait for image load 158 $this.children("img").one("load", function () { 159 updateParallax(true); 160 }).each(function () { 161 if (this.complete) $(this).trigger("load"); 162 }); 163 164 $(window).scroll(function () { 165 window_width = $(window).width(); 166 updateParallax(false); 167 }); 168 169 $(window).resize(function () { 170 window_width = $(window).width(); 171 updateParallax(false); 172 }); 173 174 }); 175 176 }; 177}(jQuery)); 178 179 180function $_GET(param) { 181 var vars = {}; 182 window.location.href.replace(location.hash, '').replace( 183 /[?&]+([^=&]+)=?([^&]*)?/gi, // regexp 184 function (m, key, value) { // callback 185 vars[key] = value !== undefined ? value : ''; 186 } 187 ); 188 189 if (param) { 190 return vars[param] ? vars[param] : null; 191 } 192 return vars; 193} 194 195$(document).ready(function () { 196 197 $(".video_previewimage").click(function () { 198 $(".video_previewimage .embed-responsive-item, .video_previewimage .embed-responsive video").css("position", "absolute"); 199 }); 200 201 $(".text_with_media.hidden").parent().css("display", "none"); 202 203 // Javascript to enable link to tab 204 var tabInitialLoad = document.location.toString(); 205 if (tabInitialLoad.match('#')) { 206 $('.nav-tabs a[href="#' + tabInitialLoad.split('#')[1] + '"]').tab('show'); 207 } 208 209 // // Change hash for page-reload 210 // $('.nav-tabs a').on('shown.bs.tab', function (e) { 211 // window.location.hash = e.target.hash; 212 // }); 213 214 215 $("#microsite_header ul li, #main_header ul li").each(function () { 216 if (window.currentLocation.indexOf($(this).find("a").attr("href").trim()) !== -1) { 217 $(this).addClass("active"); 218 } 219 }); 220 221 $(".contact .lightbox").on('click', function () { 222 $(this).colorbox({ 223 width: 650, 224 height: 300, 225 html: $(this).parent().parent().find(".contact-detail").html() 226 }); 227 }); 228 229 $("#contact_filter #select_division").on('change', contact_filter); 230 $("#contact_filter #select_function").on('change', contact_filter); 231 232 function contact_filter() { 233 var sel_division = $("#contact_filter #select_division").val(); 234 var sel_function = $("#contact_filter #select_function").val(); 235 236 if (sel_division === undefined) { 237 sel_division = "#"; 238 } 239 240 $(".contact").removeClass("hidden"); 241 if (sel_division !== '#' || sel_function !== '#') { 242 $(".contact").each(function () { 243 244 if (sel_division !== '#') { 245 if ($(this).attr('data-division').indexOf(sel_division) === -1) { 246 if (!$(this).hasClass("hidden")) { 247 $(this).addClass("hidden"); 248 } 249 } 250 } 251 252 if (sel_function !== '#') { 253 if ($(this).attr('data-function') !== sel_function) { 254 if (!$(this).hasClass("hidden")) { 255 $(this).addClass("hidden"); 256 } 257 } 258 } 259 }); 260 } 261 if ($(".contact").length === $(".hidden.contact").length) { 262 $(".no_result").removeClass("hidden"); 263 } else { 264 $(".no_result").addClass("hidden"); 265 } 266 } 267 268 $(".dropdown").on('shown.bs.dropdown', function () { 269 console.log("Log: Equalheight"); 270 equalHeightByRow($(".dropdown.open").find(".dropdown-menu.equalheight")); 271 }); 272 273 equalHeight($(".division-info")); 274 275 276 if (ALSO.swiper.swipes.length > 0) { 277 $(".parallax-slider .swiper-slide a").addClass("animated"); 278 for (var i = 0; i < ALSO.swiper.swipes.length; i++) { 279 if (ALSO.swiper.swipes[i] !== undefined) { 280 $slider = ALSO.swiper.swipes[i]; 281 if ($slider.container.hasClass("parallax-slider")) { 282 $slider.on('slideChangeStart', function (e) { 283 $(".swiper-slide-active a").addClass("hidden"); 284 $(".swiper-slide-active a").removeClass("fadeIn"); 285 }); 286 287 $slider.on('transitionEnd', function (e) { 288 $(".swiper-slide-active a").removeClass("hidden"); 289 $(".swiper-slide-active a").addClass("fadeIn"); 290 }); 291 } 292 } 293 } 294 } 295 296 $('.parallax').parallax(); 297 298 299 var $dataTableWrap = $('.table-datatable') 300 301 if ($dataTableWrap.length > 0) { 302 303 $dataTable = $dataTableWrap.find('table'); 304 var initialRows = 10; 305 if ($dataTableWrap.data('initialrows') !== undefined) { 306 initialRows = parseInt($dataTableWrap.data('initialrows').split('-')[1]); 307 } 308 Datatables.create($dataTable, { 309 310 columnDefs: [{ 311 targets: 0, 312 render: $.fn.dataTable.render.moment('YYYY-MM-DD', 'DD.MM.YYYY', 'de') 313 }], 314 bDestroy: true, 315 pageLength: initialRows 316 317 }); 318 319 if ($_GET('filter') !== null) { 320 $dataTable.DataTable().search(decodeURI($_GET('filter'))).draw(); 321 } 322 323 } 324 325 326 $('.lightbox.gallery').colorbox({ rel: 'gal' }); 327 328 $(".js-new_search_layer_opt_in .btn-primary").on("click", function (event) { 329 var url = "/ec/webservice/rest/productSearchService/saveSetting/useNewProductSearch/true.json"; 330 $.ajax({ 331 type: 'GET', 332 url: url, 333 dataType: 'json', 334 async: false, 335 success: function (data) { 336 //window.location.href = pegasos.actionPrefix + "/searchNew.do"; 337 // eventuell 338 window.parent.location.href = pegasos.actionPrefix + "/searchNew.do"; 339 } 340 }); 341 event.preventDefault(); 342 }); 343 344 if ($('.js-imagemap').length > 0) { 345 $('.js-imagemap map area, .js-imagemap .light-responsive').on('click', function (e) { 346 e.preventDefault(); 347 $content = $($(this).attr('href')); 348 if ($content.attr('data-type') === 'url') { 349 $.colorbox({ 350 maxWidth: '80%', 351 maxHeight: '100%', 352 trapFocus: false, 353 iframe: false, 354 photo: false, 355 href: $content.attr('data-href').trim(), 356 onComplete: function () { 357 var $that = $(this); 358 setTimeout(function () { 359 $that.colorbox.resize(); 360 }, 20); 361 } 362 }); 363 } else if ($content.attr('data-type') === 'content') { 364 $.colorbox({ 365 maxWidth: '80%', 366 iframe: false, 367 html: $content.html().trim(), 368 onComplete: function () { 369 $(this).colorbox.resize(); 370 } 371 }); 372 } else if ($content.attr('data-type') === 'noColorbox') { 373 window.parent.location.href = $content.attr('data-href').trim(); 374 } 375 }); 376 } 377 378 var $vAcc = $('.v-accordion'); 379 if ($vAcc.length > 0) verticalAccordion($vAcc); 380 381 382 $(".js_actionTracking").click(function (event) { 383 if (typeof (pegasos.tracking) != "undefined" && typeof (webtrekkV3) != "undefined") { 384 pegasos.tracking.wt.sendinfo({ linkId: $(event.target).data("trackingLinkId") }); 385 } 386 }); 387 388}); 389 390/*equal height for mobile */ 391// function isMobileDevice() { 392// return /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent); 393// } 394 395/* 396infiniteslide.js v2 397version: 2.0.1 398Author: T.Morimoto 399 400Copyright 2017, T.Morimoto 401* Free to use and abuse under the MIT license. 402* http://www.opensource.org/licenses/mit-license.php 403 404https://github.com/woodroots/infiniteslidev2 405*/ 406!function(n){n(window).on("load",function(){window.loaded=!0}),n(function(){n.fn.infiniteslide=function(e){var t=n.extend({speed:100,direction:"left",pauseonhover:!0,responsive:!1,clone:1},e),o=function(e,i){if("up"==i||"down"==i)var t=(h=0,n(e).children(":not(.infiniteslide_clone)").each(function(e,i){h+=n(this).outerHeight(!0)}),h);else t=(w=0,n(e).children(":not(.infiniteslide_clone)").each(function(e,i){w+=n(this).outerWidth(!0)}),w);return t},a=function(n,e){if("up"==e||"down"==e)var i="0,-"+n+"px,0";else i="-"+n+"px,0,0";return i};return this.each(function(e,r){var s=n(this),l=Date.now()+Math.floor(1e4*Math.random()).toString(16);1==t.pauseonhover&&n(s).on("mouseenter",function(){n(this).css({animationPlayState:"paused"})}).on("mouseleave",function(){n(this).css({animationPlayState:"running"})});var d=function(){!function(e,i){if(n(e).wrap('<div class="infiniteslide_wrap"></div>').parent().css({overflow:"hidden"}),"up"==i||"down"==i)var t="column";else t="row";n(e).css({display:"flex",flexWrap:"nowrap",alignItems:"center","-ms-flex-align":"center",flexDirection:t}).children().css({flex:"none",display:"block"})}(s,t.direction),function(e,t){var o=n(e).children().clone().addClass("infiniteslide_clone");for(i=1;i<=t;)o.clone().appendTo(n(e)),i++}(s,t.clone),function(e,i,t,r){var s=o(e,t);"up"!=t&&"down"!=t||n(e).parent(".infiniteslide_wrap").css({height:s+"px"});var l=a(s,t);
406n(e).attr("data-style","infiniteslide"+i);var d,c,f="@keyframes infiniteslide"+i+"{from {transform:translate3d(0,0,0);}to {transform:translate3d("+l+");}}";if(n("<style />").attr("id","infiniteslide"+i+"_style").html(f).appendTo("head"),"right"==t||"down"==t)var u=" reverse";else u="";n(e).css({animation:"infiniteslide"+i+" "+(d=s,c=r,d/c)+"s linear 0s infinite"+u})}(s,l,t.direction,t.speed),t.responsive&&n(window).on("resize",function(){var e,i,r,l=(e=s,i=t.direction,r=o(e,i),a(r,i)),d=s.attr("data-style"),c=n("#"+d+"_style").html().replace(/to {transform:translate3d\((.*?)\)/,"to {transform:translate3d("+l+")");n("#"+d+"_style").html(c)})};window.loaded?d():n(window).on("load",d)})}})}(jQuery); 407 408$(document).ready(function () { 409 410 let $dzArray = $('[data-ct-dropzone="content"]'); 411 let observerArray = []; 412 if ($dzArray.length > 0) { 413 $dzArray.each(function(i, el){ 414// if(i == 6) { return false; } 415 console.log(el); 416 observerArray.push(initDropzone(el)); 417 }); 418 } 419 420 var selectValue = "ECDEV" 421 if(!window.location.href.match(/ECDEV/)) selectValue = window.location.href.match(/[A-Z]{2}(_\d{4})?/g); 422 $('#cc-lang-control').val(selectValue); 423 $('#cc-lang-control').on('change', function(e){ 424 changeLangCC($(this).val()); 425 }); 426 427 $('.dummy-products').off('click').on('click', 'a', function(e) { 428 e.preventDefault(); 429 console.log('click on a'); 430 $(this).attr('data-content','You have clicked on a link in the dummy preview. This popover shows, that the link is working.'); 431 $(this).attr('data-trigger','manual'); 432 $('.dummy-products a').not(this).popover('hide'); 433 $(this).popover('toggle'); 434 }); 435 436}); 437 438 439 440function initDropzone(dz) { 441 console.log("initDropzone"); 442 'use strict'; 443 444 return new MutationObserver(function(mutations){ 445 if(mutations[0].target.classList.contains('fs-button-drop-target')){ 446 dz.classList.add("contentdropzone-visible"); 447 dz.classList.remove("contentdropzone-invisible"); 448 } else { 449 dz.classList.add("contentdropzone-invisible"); 450 dz.classList.remove("contentdropzone-visible"); 451 } 452 }).observe(dz.querySelector('[data-fs-button-id]'), { attributes: true, attributeFilter: ['class'] }); 453} 454 455 456function changeLangCC(lang) { 457 console.log('call changeLangCC'); 458 var currentLocation = window.location.href; 459 if(!currentLocation.match(/lang/g)) { 460 console.log('lang does not match'); 461 var string2replace = "/ECDEV/" 462 if(!currentLocation.match(/ECDEV/)) string2replace = /\/[A-Z]{2}(_\d{4})?\//g; 463 window.location.href = currentLocation.replace(string2replace,'/'+lang+'/'); 464 } 465} 466 467$(document).on("complete.EqualHeight.Products", equalHeightContent); 468$(window).resize(function () { 469 // if ($(window).width() > 500) { 470 // equalHeightByRow(".row.equalheight"); 471 // } 472 equalHeightByRow(".row.equalheight"); 473 equalHeightContent(); 474}); 475 476// Equalheight in Lightbox 477$(document).bind('cbox_complete', function () { 478 equalHeightByRow(".row.equalheight"); 479}); 480 481$(window).load(function () { 482 // if ($(window).width() > 500) { 483 // equalHeightByRow(".row.equalheight"); 484 // } 485 equalHeightByRow(".row.equalheight"); 486 equalHeightContent(); 487 if ($('.infiniteSlide').length > 0) { 488 $('.infiniteSlide').infiniteslide(); 489 } 490}); 491 492$(function () { 493 $("[data-toggle=popover]").popover(); 494}); 495 496 497 498$(window).on('hashchange', function () { 499 if (window.location.hash.indexOf('accordion') > -1) hashTriggeredAccordion(); 500}); 501 502function verticalAccordion($vAcc) { 503 if (window.location.hash.indexOf('accordion') === -1) { 504 $vAcc.each(function (idxV, elV) { 505 $(elV).find('.panel').each(function (idxP, elP) { 506 if ($(elP).find('.panel-collapse').hasClass('in')) { 507 resetPanelState($(elP).closest('.panel-group'), true); 508 $(elP).addClass('panel-open'); 509 510 setTimeout(function () { 511 $(elP).find('[data-toggle="collapse"]').each(function () { 512 // console.log('found data-toggle=collapse'); 513 $('#' + ($(this).attr('aria-controls'))).collapse('show'); 514 }); 515 $(elP).addClass('show-content').trigger('adjustHeightTrigger', elP); 516 }, 350); 517 } 518 var elPHeight = $(elP).outerHeight() + 'px'; 519 // $(elP).css({'max-height': elPHeight}).data('initialMaxHeight', elPHeight); 520 }); 521 }); 522 } else { 523 hashTriggeredAccordion(); 524 } 525 526 $vAcc 527 .off('click.collapseIn click.collapseOut') 528 .on('click.collapseIn', '[data-toggle="collapse"][aria-expanded=false]', function (e) { 529 e.preventDefault(); 530 console.log('enter new panel'); 531 var that = $(this), 532 thatPanel = that.closest('.panel'), 533 thatPanelGroup = that.closest('.panel-group'); 534 535 resetPanelState(thatPanelGroup, true); 536 thatPanel.addClass('panel-open'); 537 setTextType(this); 538 539 setTimeout(function () { 540 thatPanel.addClass('show-content').trigger('adjustHeightTrigger', thatPanel); 541 }, 500); 542 }) 543 .on('click.collapseOut', '[data-toggle="collapse"][aria-expanded=true]', function (e) { 544 e.preventDefault(); 545 console.log('exit panel'); 546 var that = $(this), 547 thatPanelGroup = that.closest('.panel-group'); 548 resetPanelState(thatPanelGroup, false); 549 }) 550 .on('adjustHeightTrigger', function (e, openPanel) { 551 var openPanelHeight = $(openPanel).children('.panel-heading').eq(0).outerHeight() + $(openPanel).find('.panel-body').eq(0).outerHeight(); 552 $(openPanel).closest('.panel-group').find('.panel').css({ 'max-height': openPanelHeight + 'px' }); 553 }) 554 ; 555} 556 557function hashTriggeredAccordion(linkhash) { 558 var winHash = linkhash || window.location.hash, 559 triggerId = {}; 560 561 if (winHash.indexOf('accordion') > -1) triggerId.accId = $('#' + winHash.substring(winHash.indexOf('accordion'), winHash.indexOf('='))); 562 if (winHash.indexOf('body') > -1) triggerId.accBody = $('#' + winHash.substring(winHash.indexOf('body'), winHash.length)); 563 564 if (triggerId.accBody.length) { 565 resetPanelState(triggerId.accId, triggerId.accBody.length); 566 567 $(triggerId.accBody.closest('.panel').addClass('panel-open').find('[data-toggle="collapse"]').attr('aria-controls')).collapse('show'); 568 setTextType(triggerId.accBody.closest('.panel').find('[data-toggle="collapse"]')); 569 setTimeout(function () { 570 triggerId.accBody.closest('.panel').find('[data-toggle="collapse"]').each(function () { 571 $('#' + ($(this).attr('aria-controls'))).collapse('show'); 572 }); 573 triggerId.accBody.closest('.panel').addClass('show-content').trigger('adjustHeightTrigger', triggerId.accBody); 574 }, 200); 575 } 576} 577 578function resetPanelState(panelGroup, toggleActivated) { 579 console.log('resetPanelState'); 580 panelGroup.find('.show-content').each(function (idx, el) { 581 $(el).removeClass('show-content'); 582 }); 583 if (toggleActivated) { 584 panelGroup.addClass('panel-activated').find('.panel').each(function () { 585 var thatP = $(this); 586 thatP.removeClass('panel-open'); 587 thatP.find('[data-toggle="collapse"]').each(function () { 588 setTextType(this, true); 589 $('#' + $(this).attr('aria-controls')).collapse('hide'); 590 }); 591 }); 592 } else { 593 var thatPanel = panelGroup.removeClass('panel-activated').find('.panel-open').removeClass('panel-open').addClass('panel-closing'); 594 panelGroup.find('.panel').each(function (idx, el) { 595 // console.log($(el).data('initialMaxHeight')); 596 // $(el).css({'max-height': $(el).data('initialMaxHeight')}); 597 $(el).find('[data-toggle="collapse"]').each(function () { 598 setTextType(this); 599 $('#' + $(this).attr('aria-controls')).collapse('hide'); 600 }); 601 }); 602 setTimeout(function () { 603 thatPanel.removeClass('panel-closing'); 604 }, 500); 605 } 606 607} 608 609function mondayscroll() { 610 $('html, body').animate({ scrollTop: ($(".mwf-form").offset().top) - 100 }, 'fast'); 611} 612 613function setTextType(el, shortText, maxLength) { 614 shortText = shortText || false; 615 maxLength = maxLength || 30; 616 var thatEl = $(el), 617 thatText = thatEl.text(); 618 619 if (!shortText) { 620 thatEl.text(thatEl.data('originText')); 621 } else { 622 if (thatText.length > maxLength) { 623 thatEl.data('originText', thatText); 624 thatEl.text(thatText.substr(0, maxLength - 3) + '...'); 625 } 626 } 627} 628 629/* Hover over background-image in multi element*/ 630document.addEventListener("DOMContentLoaded", function() { 631 const imgEl = Array.from(document.querySelectorAll("#hover_background")) 632 //console.log("image:", imgEl); 633 if(imgEl.length > 0) { 634 imgEl.forEach((img) => { 635 img.addEventListener("mouseenter", function (e) { 636 let hoverUrl = img.dataset.backgroundHover; 637 img.setAttribute('style', 'background-image: ' + hoverUrl + ';'); 638 }); 639 img.addEventListener("mouseleave", function () { 640 let baseUrl = img.dataset.background; 641 img.setAttribute('style', 'background-image: ' + baseUrl + ';'); 642 }); 643 }); 644 } 645}); 646 647 648/* 649$( document ).ready(function() { 650 651if (window.location.href.indexOf("6000_ctv2022/register/index.jsp") > -1 || window.location.href.indexOf("_ctv2022/contact") > -1) { 652 var languageArray = []; 653 $(".flyout > ul > li a").each(function () { 654 languageArray.push( 655 $(this).attr("href").replace("../..", "https://www.also.com/ec/cms5") 656 ); 657 }); 658 659 for (var i = 0; i < languageArray.length; i++) { 660 $(".flyout > ul > li").children().eq(0 + i).attr("href", languageArray[i]); 661 } 662} 663 664}); 665 666*/
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.