1/*1790580340000*/ 2AUI().ready(function () {}); 3Liferay.Portlet.ready(function (_portletId, _node) {}); 4Liferay.on("allPortletsReady", function () { 5 jQuery(".jmaccrdn__title").each(function () { 6 if (jQuery(this).parent().find(".jmaccrdn__body").hasClass("show")) { 7 jQuery(this).parent().find(".jmaccrdn__arrow").addClass("arrow--animate"); 8 } 9 }); 10 11 jQuery(".jmaccrdn__title").click(function (e) { 12 e.preventDefault(); 13 if ( 14 jQuery(this).parent().find(".jmaccrdn__arrow").hasClass("arrow--animate") 15 ) { 16 jQuery(".jmaccrdn__arrow").removeClass("arrow--animate"); 17 } else { 18 jQuery(".jmaccrdn__arrow").removeClass("arrow--animate"); 19 jQuery(this).parent().find(".jmaccrdn__arrow").addClass("arrow--animate"); 20 } 21 }); 22 23 jQuery(".career__dropdown").click(function () { 24 jQuery(this).toggleClass("active"); 25 }); 26}); 27 28jQuery(document).ready(function () { 29 jQuery(".career__option div").on("click", function () { 30 let selectedValue = jQuery(this).text(); 31 jQuery(".textBox").val(selectedValue); 32 }); 33 34 jQuery("#jmsearch").on("click", function () { 35 var search_inp_value=jQuery('[data-qa-id="searchInput"]').attr("id"); 36 jQuery("#"+search_inp_value).val(""); 37 console.log("search_inp_value",search_inp_value); 38 39 jQuery(this).hide(); 40 jQuery(".jmheader__srchcontainer").css({ display: "flex" }); 41 if (jQuery(window).width() <= 834) { 42 jQuery(".jmheader__headerbtn, .jmheader__logocont").hide(); 43 } 44 }); 45 46 jQuery(".jmheader__srchcloseicon").on("click", function () { 47 var search_inp_value=jQuery('[data-qa-id="searchInput"]').attr("id"); 48 jQuery("#"+search_inp_value).val(""); 49 console.log("search_inp_value",search_inp_value); 50 51 jQuery(".jmheader__srchinput").val(""); 52 jQuery(".jmheader__srchcontainer").hide(); 53 jQuery("#jmsearch").show(); 54 if (jQuery(window).width() <= 834) { 55 jQuery(".jmheader__headerbtn, .jmheader__logocont").show(); 56 } 57 }); 58 59 jQuery("div.portlet-forms").addClass("jmdot--digital-temp"); 60 61 function hideAddress() { 62 jQuery(".portlet-forms label").each(function () { 63 if (jQuery(this).text() === "AddressId") { 64 jQuery(this).parents(".form-group").hide(); 65 if (jQuery(this).parents(".form-group").is(":visible")) hideAddress(); 66 } 67 }); 68 } 69 70 jQuery("div.portlet-forms").addClass("jmdot--digital-temp"); 71 72 function hideAddress() { 73 jQuery(".portlet-forms label").each(function () { 74 if (jQuery(this).text() === "AddressId") { 75 jQuery(this).parents(".form-group").hide(); 76 if (jQuery(this).parents(".form-group").is(":visible")) hideAddress(); 77 } 78 }); 79 } 80 81 function showCountry() { 82 jQuery(".portlet-forms label").each(function () { 83 if (jQuery(this).text() === "Country") { 84 var countryText = jQuery( 85 "div.form-builder-select-field.input-group-container div.form-control.results-chosen.select-field-trigger div.option-selected" 86 ) 87 .text() 88 .trim(); 89 90 if ( 91 countryText === "Choose an Option" || 92 countryText === " " || 93 countryText === "" 94 ) { 95 jQuery( 96 "div.form-builder-select-field.input-group-container div.form-control.results-chosen.select-field-trigger div.option-selected" 97 ).text("Country"); 98 } 99 100 jQuery(".dropdown-menu button.dropdown-item").each(function () { 101 if (jQuery(this).text().trim() === "Choose an Option") 102 jQuery(this).text(""); 103 }); 104 } 105 }); 106 } 107 108 var setLimit = 0; 109 function checkFormPage() { 110 if (!jQuery(".loading-animation").length) { 111 jQuery(".portlet-forms.jmdot--digital-temp .form-builder-select-field") 112 .parents(".ddm-field") 113 .addClass("jmhide--label"); 114 jQuery(document).on( 115 "focus", 116 ".portlet-forms.jmdot--digital-temp .form-control", 117 function () { 118 jQuery(this).parents(".ddm-field").addClass("jminput--focus"); 119 } 120 ); 121 122 jQuery(document).on( 123 "blur", 124 ".portlet-forms.jmdot--digital-temp .form-control", 125 function () { 126 jQuery(this).parents(".ddm-field").removeClass("jminput--focus"); 127 if ( 128 !jQuery(this).parents(".form-group").hasClass("has-error") && 129 jQuery(this).val() 130 ) { 131 jQuery(this).parents(".ddm-field").addClass("jminput--complete"); 132 } else { 133 jQuery(this).parents(".ddm-field").removeClass("jminput--complete"); 134 } 135 } 136 ); 137 138 jQuery(document).on( 139 "click", 140 ".jmdot--digital-temp label.ddm-label", 141 function () { 142 jQuery(this).parent(".form-group").find(".form-control").focus(); 143 } 144 ); 145 146 jQuery(document).on( 147 "focus", 148 ".jmdot--digital-temp label.ddm-label", 149 function () { 150 jQuery(this).parent(".form-group").find(".form-control").focus(); 151 } 152 ); 153 154 jQuery(
155 "div.form-builder-select-field.input-group-container div.form-control.results-chosen.select-field-trigger div.option-selected" 156 ).on("DOMSubtreeModified", function () { 157 showCountry(); 158 }); 159 } else if (setLimit <= 7) { 160 setTimeout(function () { 161 setLimit++; 162 checkFormPage(); 163 showCountry(); 164 }, 1000); 165 } 166 } 167 setTimeout(function () { 168 hideAddress(); 169 checkFormPage(); 170 showCountry(); 171 }, 1000); 172 173 setTimeout(function () { 174 jQuery("a.select-arrow-down-container").replaceWith( 175 '<div class="select-chevron-down-container"></div>' 176 ); 177 }, 3000); 178 179 jQuery( 180 ".jmrich--text-inner p a span[class^='btn--style'], .jmpromoblock p a span[class^='btn--style'], *[class^='btn--style']" 181 ).each(function () { 182 jQuery(this).text(jQuery(this).text().replace(">>", "")); 183 }); 184 185 jQuery(".jmrich--text-inner form input").on("focus", function () { 186 jQuery(this).parent("div").addClass("jminput--focus"); 187 }); 188 189 jQuery(".jmrich--text-inner form input").on("blur", function () { 190 jQuery(this).parent("div").removeClass("jminput--focus"); 191 if ( 192 !jQuery(this).parent("div").hasClass("has-error") && 193 jQuery(this).val() 194 ) { 195 jQuery(this).parent("div").addClass("jminput--complete"); 196 } else { 197 jQuery(this).parent("div").removeClass("jminput--complete"); 198 } 199 }); 200 201 jQuery(".jmrich--text-inner form input").on("focus", function () { 202 jQuery(this).parent("td").addClass("jminput--focus"); 203 }); 204 205 jQuery(".jmrich--text-inner form input").on("blur", function () { 206 jQuery(this).parent("td").removeClass("jminput--focus"); 207 if ( 208 !jQuery(this).parent("td").hasClass("has-error") && 209 jQuery(this).val() 210 ) { 211 jQuery(this).parent("td").addClass("jminput--complete"); 212 } else { 213 jQuery(this).parent("td").removeClass("jminput--complete"); 214 } 215 }); 216 217 jQuery('.jmrich--text-inner form input[type="submit"]').each(function () { 218 jQuery(this).parent().append("<span></span>"); 219 }); 220 221 jQuery('.jmrich--text-inner form input[type="checkbox"]').each(function () { 222 jQuery(this).parent().append("<span></span>"); 223 }); 224 225 jQuery(".search__filters") 226 .parents(".col.col-lg-3.col-sm-3.col-3.col-md-3") 227 .parent() 228 .find(".col.col-lg-5.col-sm-5.col-5.col-md-5") 229 .removeClass("col-lg-5 col-sm-5 col-5 col-md-5") 230 .addClass("col-lg-7 col-sm-7 col-7 col-md-7"); 231 232 jQuery(".search__filters") 233 .parents(".col.col-lg-3.col-sm-3.col-3.col-md-3") 234 .parent() 235 .find(".col.col-lg-2.col-sm-2.col-2.col-md-2") 236 .removeClass("col-lg-2 col-sm-2 col-2 col-md-2") 237 .addClass("col-lg-1 col-sm-1 col-1 col-md-1"); 238 239 jQuery(".search__filters") 240 .parents(".col.col-lg-3.col-sm-3.col-3.col-md-3") 241 .parent() 242 .addClass("search__mob-view"); 243 244 var scrollPos = 0; 245 var scrollEventHandler = function () { 246 if ( 247 (jQuery(".explore__left").is(":visible") || 248 jQuery(".jmheader__navbar").hasClass("open")) && 249 window.innerWidth <= 834 250 ) { 251 window.scroll(0, scrollPos); 252 } 253 }; 254 255 window.addEventListener("scroll", scrollEventHandler, false); 256 257 jQuery(document).on("click", ".explore__filtericon", function () { 258 jQuery(".explore__left").show(); 259 var expandedList = jQuery(".explore__applications").filter(function (e) { 260 return jQuery(this).hasClass("explore__expanded"); 261 }); 262 if (!expandedList.length) { 263 jQuery(jQuery(".explore__applications")[0]) 264 .find(".explore__apptext") 265 .click(); 266 } else if (jQuery(window).width() <= 834 && expandedList.length > 1) { 267 jQuery(".explore__applications").removeClass("explore__expanded"); 268 jQuery(jQuery(".explore__applications")[0]) 269 .find(".explore__apptext") 270 .click(); 271 } 272 scrollPos = window.pageYOffset; 273 }); 274 275 jQuery(".jmtabbed .jmtabbed__filtericon").on("click", function () { 276 jQuery(".jmtabbed .panel-group").show(); 277 scrollPos = window.pageYOffset; 278 }); 279 280 jQuery(".jmtabbed .jmtabbed__filterback").on("click", function () { 281 jQuery(".jmtabbed .panel-group").hide(); 282 }); 283 284 /* 285 jQuery(document).on('click', '.explore__apptext', function(){ 286 if (window.innerWidth > 834) { 287 if(!jQuery(this).parents('.explore__applications').hasClass('explore__expanded')){ 288 jQuery('.explore__applications').removeClass('explore__expanded'); 289 jQuery(this).parents('.explore__applications').addClass('explore__expanded'); 290 } else { 291 jQuery('.explore__applications').removeClass('explore__expanded'); 292 } 293 } else if (!jQuery(this).parents('.explore__applications').hasClass('explore__expanded')) { 294 jQuery('.explore__applications').removeClass('explore__expanded'); 295 jQuery(this).parents('.explore__applications').addClass('explore__expanded'); 296 } 297 }); 298 */ 299 300 jQuery(window).on("scroll", function () { 301 if (jQuery(window).scrollTop() >= 82) { 302 jQuery("#banner").addClass("jmheader--fixed"); 303 } else { 304 jQuery("#banner").removeClass("jmheader--fixed"); 305 } 306 }); 307 308 jQuery(".jmheader__navlist").each(function () { 309 var menuText = jQuery(this).find(".header__menu span").text().trim(); 310 if ( 311 menuText === "About us" || 312 menuText === "Science and innovation" || 313 menuText === "Sustainability" || 314 menuText === "Investors" || 315 menuText === "Careers" || 316 menuText === "Media" 317 ) { 318 jQuery(this).addClass("jmchildmenu--listsnormal"); 319 } 320 }); 321 322 jQuery(".jmheader__navlist").each(function () { 323 if ( 324 !jQuery(this).hasClass("jmchildmenu--listsnormal") && 325 jQuery(this).find(".child-header").length % 4 !== 0 326 ) {
327 var rowCount = parseInt(jQuery(this).find(".child-header").length / 4); 328 var addClassStart = rowCount * 4; 329 jQuery(this) 330 .find(".child-header") 331 .each(function (i) { 332 if (i >= addClassStart) { 333 jQuery(this).addClass("bor-bot--0"); 334 } 335 }); 336 } 337 }); 338 339 jQuery(".tabbed-article-heading") 340 .parents(".col.col-lg-6.col-sm-6.col-6.col-md-6") 341 .parent() 342 .addClass("container jmtabbed"); 343 jQuery(".tabbed-article-heading") 344 .parents(".col.col-lg-6.col-sm-6.col-6.col-md-6") 345 .removeClass("col col-lg-6 col-sm-6 col-6 col-md-6") 346 .addClass("col col-lg-9 col-sm-9 col-9 col-md-9"); 347 jQuery(".jmtabbed .panel-collapse.collapse").addClass("show"); 348 jQuery(".jmtabbed") 349 .find(".col.col-lg-6.col-sm-6.col-6.col-md-6") 350 .removeClass("col col-lg-6 col-sm-6 col-6 col-md-6") 351 .addClass("col col-lg-3 col-sm-3 col-3 col-md-3"); 352 353 jQuery(document).on( 354 "click", 355 ".event--templcont .event__filtericon", 356 function () { 357 jQuery(".event--templcont .portlet-body").show(); 358 jQuery(".panel-collapse.collapse").removeClass("show"); 359 jQuery("#section0").addClass("show"); 360 scrollPos = window.pageYOffset; 361 } 362 ); 363 364 jQuery(document).on( 365 "click", 366 ".event--templcont .event__filterback", 367 function () { 368 jQuery( 369 ".event--templcont .col.col-lg-3.col-sm-3.col-3.col-md-3 .portlet-body" 370 ).hide(); 371 } 372 ); 373 374 jQuery(".event--templ") 375 .parents(".col.col-lg-6.col-sm-6.col-6.col-md-6") 376 .parent() 377 .addClass("container event--templcont"); 378 jQuery(".event--templ") 379 .parents(".col.col-lg-6.col-sm-6.col-6.col-md-6") 380 .removeClass("col col-lg-6 col-sm-6 col-6 col-md-6") 381 .addClass("col col-lg-9 col-sm-9 col-9 col-md-9") 382 .prepend("<span class='event__filtericon'></span>"); 383 jQuery(".event--templcont .panel-collapse.collapse").addClass("show"); 384 jQuery(".event--templcont") 385 .find(".col.col-lg-6.col-sm-6.col-6.col-md-6") 386 .removeClass("col col-lg-6 col-sm-6 col-6 col-md-6") 387 .addClass("col col-lg-3 col-sm-3 col-3 col-md-3") 388 .find(".portlet-body p") 389 .prepend("<span class='event__filterback'></span>"); 390 391 jQuery(".event--templcont .addToCal").removeClass("open"); 392 jQuery(document).on("click", ".event--templcont .addToCal", function () { 393 jQuery(this).toggleClass("open"); 394 }); 395 396 jQuery(document).on( 397 "click", 398 ".event--templcont .col.col-lg-3.col-sm-3.col-3.col-md-3 .portlet-body .panel-header-link.panel-header", 399 function () { 400 var elementId = jQuery(this).hasClass(".event-select-panel--title") 401 ? jQuery(this) 402 .parent(".panel-header-link.panel-header") 403 .attr("data-target") 404 : jQuery(this).attr("data-target"); 405 setTimeout(function () { 406 jQuery(".panel-collapse.collapse").removeClass("show"); 407 jQuery(document).find(elementId).addClass("show"); 408 }, 100); 409 } 410 ); 411 412 addModalClass = function () {
413 if (jQuery(".modal-backdrop").length) { 414 jQuery(".modal-backdrop").parent().addClass("jmgetintouchmodal"); 415 } else { 416 setTimeout(function () { 417 addModalClass(); 418 }, 100); 419 } 420 }; 421 422 jQuery( 423 ".jmtwo--person-temp .btn-person_link, .btn__person .jm-get-in-touch" 424 ).on("click", function () { 425 addModalClass(); 426 }); 427 428 if (jQuery(window).width() <= 834) { 429 var expandedList = jQuery(".explore__applications").filter(function (e) { 430 return jQuery(this).hasClass("explore__expanded"); 431 }); 432 if (!expandedList.length) { 433 jQuery(jQuery(".explore__applications")[0]) 434 .find(".explore__apptext") 435 .click(); 436 } 437 } 438 439 jQuery(window).on("resize", function () { 440 if (jQuery(window).width() <= 834) { 441 var expandedList = jQuery(".explore__applications").filter(function (e) { 442 return jQuery(this).hasClass("explore__expanded"); 443 }); 444 if (!expandedList.length) { 445 jQuery(jQuery(".explore__applications")[0]) 446 .find(".explore__apptext") 447 .click(); 448 } 449 } 450 }); 451 452 if (!jQuery("#breadcrumbs").length) { 453 jQuery("#content .layout-content.portlet-layout .journal-content-article") 454 .children() 455 .hasClass("panels-hero"); 456 } 457 458 if (!jQuery("#breadcrumbs").length) { 459 jQuery("#content .layout-content.portlet-layout .journal-content-article") 460 .find( 461 ".jmarticle__hero-main-container, .article__intro, .jmpanels--hero-temp, .matthey--carousel, .jmannual--main-container .jmannual--rs-temp, .search-hero" 462 ) 463 .css({ "margin-top": 0 }); 464 } 465 466 // var selector = jQuery('.panels-hero-panels').parents('.journal-content-article').parent('div'); 467 // if (selector.next().length) { 468 // selector.next().find('.journal-content-article').children().css({'margin-top': 0}); 469 // } else { 470 // selector = selector.parent(div); 471 // } 472 473 var selector = jQuery(".panels-hero-panels") 474 .parents(".journal-content-article") 475 .parent("div"); 476 if (selector.length) { 477 do { 478 selector = selector.parent("div"); 479 if (selector.next().length) { 480 selector 481 .next() 482 .find(".journal-content-article") 483 .children() 484 .css({ "margin-top": 0 }); 485 } 486 } while (!selector.next().length); 487 } 488 489 var lastIndex = jQuery("#content .journal-content-article").length - 1; 490 if ( 491 jQuery(jQuery("#content .journal-content-article")[lastIndex]).find( 492 ".jmimg--main--cardblock, .jmvideotempl" 493 ).length 494 ) { 495 jQuery(".footer__container").css({ "margin-top": 0 }); 496 jQuery(jQuery("#content .journal-content-article")[lastIndex]) 497 .find(".jmvideotempl") 498 .css({ "margin-bottom": 0 }); 499 } 500}); 501 502jQuery(document).ready(function () { 503 // Turn off senna navigation for mailto links 504 jQuery('a[href^="mailto:"]').attr("data-senna-off", "true"); 505}); 506 507/* Platinum js changes */ 508/* 509 * This function gets loaded when everything, including the portlets, is on 510 * the page. 511 */ 512Liferay.on("allPortletsReady", function () { 513 jQuery(".drp-buttons").css("display", "none"); 514 jQuery(".pricedatepick__display").css("display", "none"); 515 jQuery(".accordion-section-title").each(function () { 516 if ( 517 jQuery(this).parent().find(".accordion-section-body").hasClass("show") 518 ) { 519 jQuery(this).parent().find(".accordion-arrow").addClass("arrow-animate"); 520 } 521 }); 522 523 jQuery(".accordion-section-title").click(function (e) { 524 e.preventDefault(); 525 if ( 526 jQuery(this).parent().find(".accordion-arrow").hasClass("arrow-animate") 527 ) { 528 jQuery(".accordion-arrow").removeClass("arrow-animate"); 529 } else { 530 jQuery(".accordion-arrow").removeClass("arrow-animate"); 531 jQuery(this).parent().find(".accordion-arrow").addClass("arrow-animate"); 532 } 533 }); 534 535 jQuery(".disclmr-sec-title").each(function () { 536 if (jQuery(this).parent().find(".disclmr-sec-body").hasClass("show")) { 537 jQuery(this) 538 .parent() 539 .find(".disclmr-arrow") 540 .addClass("disclmr-arrow-animate"); 541 } 542 }); 543 544 jQuery(".disclmr-sec-title").click(function (e) { 545 e.preventDefault(); 546 if ( 547 jQuery(this) 548 .parent() 549 .find(".disclmr-arrow") 550 .hasClass("disclmr-arrow-animate") 551 ) { 552 jQuery(".disclmr-arrow").removeClass("disclmr-arrow-animate"); 553 } else { 554 jQuery(".disclmr-arrow").removeClass("disclmr-arrow-animate"); 555 jQuery(this) 556 .parent() 557 .find(".disclmr-arrow") 558 .addClass("disclmr-arrow-animate"); 559 } 560 }); 561 562 jQuery(".jmannual--main-container").each(function (i) { 563 var customHeight = 0; 564 var parentElement = jQuery(this); 565 jQuery(this) 566 .find(".hero-panels-panel") 567 .each(function (i) { 568 customHeight = 569 jQuery(this).height() > customHeight 570 ? jQuery(this).height() 571 : customHeight; 572 if (i === jQuery(this).length - 1) { 573 jQuery(parentElement) 574 .find(".jm-panel.jmstatistic--panel-temp .container") 575 .css({ height: customHeight + "px" }); 576 } 577 }); 578 }); 579 580 jQuery(".jmaccrdn__title").on("click", function () { 581 var accordianId = jQuery(this).attr("data-target"); 582 var scrollPos = window.innerWidth <= 834 ? 300 : 200; 583 setTimeout(function () { 584 var targetElement = jQuery.find(accordianId); 585 if (targetElement.length) { 586 jQuery("html, body").animate( 587 { 588 scrollTop: targetElement.offset().top - scrollPos, 589 }, 590 100 591 ); 592 } 593 }, 300); 594 }); 595 596 if (!jQuery(".search__results .explore__leftinner").length) 597 jQuery(".search__results .explore__filtericon").hide(); 598 599 jQuery(".hide-accessible").each(function () { 600 if (jQuery(this).text().trim() === "Useful links") { 601 jQuery(this).parents("#content").addClass("jmplatinum--useful-links"); 602 } 603 }); 604}); 605 606function downloadURL(selectObject) { 607 var id = jQuery(selectObject).attr("id"); 608 var rowID = id.substring(id.indexOf("_") + 1); 609 var value = selectObject.value; 610 jQuery("a#download_" + rowID).attr("href", value); 611
612 onDownloadClick(rowID, value); 613} 614 615function onDownloadClick(rowID, urlValue) { 616 var value = jQuery("a#download_" + rowID).attr("href"); 617 618 var myArray = value.split("/"); 619 var res = myArray.filter((item) => item.length != 0 && item.match(/\.pdf$/)); 620 621 var str1 = res[0].length > 0 && res[0].split(/[.-]/); 622 623 var selectedLang = str1.filter( 624 (strval) => strval == "japanese" || strval == "chinese" 625 ); 626 627 var languageVal = selectedLang.length > 0 && selectedLang[0]; 628 629 var title = "English"; 630 switch (languageVal) { 631 case "japanese": 632 title = "Japanese"; 633 break; 634 case "chinese": 635 title = "Chinese"; 636 break; 637 default: 638 title = "English"; 639 } 640 641 var pdfTitle = jQuery("#download_pdf_lang_" + rowID) 642 .text() 643 .trim(); 644 645 var documentTitle = pdfTitle + " " + "(" + title + ")"; 646 647 jQuery("div#analytics_download_div").attr( 648 "data-analytics-asset-id", 649 documentTitle 650 ); 651 jQuery("div#analytics_download_div").attr( 652 "data-analytics-asset-title", 653 documentTitle 654 ); 655} 656 657if ( 658 location.pathname.indexOf("market-research") > -1 || 659 location.pathname.indexOf("industry-links") > -1 || 660 location.pathname.indexOf("pricing-and-trading-disclaimer") > -1 661) { 662 jQuery(".journal-content-article .container").addClass("pad-ltrt--0"); 663} 664 665jQuery(".card__title").parent(".row").addClass("jmcard__heading-cont-phase2"); 666 667jQuery(".jmcasestudy__content, .jmcasestudy__content1") 668 .parents(".container.jmcasestudy") 669 .parents(".container") 670 .addClass("jmcasestudy__mobile-parent-cont"); 671 672//Added for Blue button click event analytics 673function onBlueButtonClick(rowid) { 674 var id = jQuery(rowid).attr("id"); 675 676 Liferay.on("allPortletsReady", function () { 677 var currentLocationUrl = jQuery(location).attr("href"); 678 var buttonTitle = jQuery("#" + id).attr("title"); 679 Analytics.track("blueButtonClicked", { 680 blueButtonTitle: buttonTitle, 681 blueButtonPageUrl: currentLocationUrl, 682 }); 683 }); 684} 685 686jQuery(document).on("click", "#analytics_project_discuss", function () { 687 var bhPageURL = localStorage.getItem("projectDiscussUrl"); 688 console.log("projectdiscussurlnew bhPageURL", bhPageURL); 689 690 var title = localStorage.getItem("buttonTitle"); 691 console.log("projectdiscussurlnew buttonTitle", title); 692 693 Analytics.track("bhProjectDiscussFormSubmitted", { 694 bhProjectDiscussFormTitle: title, 695 bhProjectDiscussFormUrl: bhPageURL, 696 bhCanonicalPageUrl: Liferay.ThemeDisplay.getCanonicalURL(), 697 }); 698});
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.