1(function ($) { 2 3 const $megamenuParentListItem = $('.megamenu-nav li.is-parent'); 4 const $megamenuParentListSubItem = $('.megamenu-nav .sub-nav-link'); 5 const $megamenuBackground = $('#megamenu-background'); 6 const isTouch = 'ontouchstart' in window || !!(navigator.msMaxTouchPoints); 7 8 const handleMenuItemOpenState = (elem) => { 9 10 elem.addClass('is-open'); 11 elem.find('a').first().attr('aria-expanded', true); 12 var maxHeight = null; 13 var $stepone = $('.megamenu-stepone'); 14 15 if ( 'menu-item-33' === elem.attr('id') ) { 16 17 /*setTimeout(()=> { 18 $('.megamenu-stepone').addClass('show'); 19 }, 500);*/ 20 21 } 22 else 23 { 24 $stepone.removeClass('aos-animate show'); 25 26 maxHeight = elem.find('.megamenu-content').outerHeight(); 27 28 if (!$('.megamenu-stepone').hasClass('show')) { 29 //$('.offcanvas-stepone').addClass('offcanvas-up offcanvas-border'); 30 } 31 } 32 33 34 if(typeof maxHeight == 'number') { 35 36 // $('.megamenu-stepone').removeClass('show'); 37 maxHeight = maxHeight+240; 38 //setTimeout(()=> { 39 openMegamenu($megamenuBackground, maxHeight, elem); 40 //}, 40); 41 } 42 else 43 { 44 45 maxHeight = $('.megamenu-stepone').height(); 46 47 if ($(window).width() < 1154) { 48 maxHeight = 750; 49 } 50 else 51 { 52 maxHeight = 550; 53 } 54 55 openMegamenu($megamenuBackground, maxHeight, elem); 56 57 /*if ( 'menu-item-33' === elem.attr('id') ) { 58 setTimeout(()=> { 59 $('.megamenu-stepone').addClass('show'); 60 }, 450); 61 }*/ 62 63 /* 64 handleMenuItemCloseState($(elem)); 65 debouncedClose($megamenuBackground, 0); 66 setTimeout(()=> { 67 $('body').addClass('megamenu-visible'); 68 }, 410); 69 70 */ 71 } 72 73 }; 74 75 const handleMenuItemCloseState = (elem) => { 76 elem.removeClass('is-open'); 77 elem.find('a').first().attr('aria-expanded', false); 78 }; 79 80 const openMegamenu = (bgElem, heightVal, item) => { 81 82 $('body').addClass('megamenu-visible'); 83 bgElem.height(heightVal).addClass('megamenu-is-visible'); 84 $(bgElem).css({'--megamenu-height': heightVal}); 85 $('.header').addClass('is-hover'); 86 87 var $stepone = $('.megamenu-stepone'); 88 89 if ( 'menu-item-33' === item.attr('id') ) { 90 $stepone 91 .attr('data-aos', 'fade-zoom-in') 92 .attr('data-aos-easing', 'ease-in-back') 93 .attr('data-aos-delay', '0') 94 .attr('data-aos-offset', '0') 95 .addClass('show'); 96 setTimeout(()=> { $stepone.addClass('aos-animate'); }, 150); 97 } 98 99 if ( item.find('.megamenu-content').length ) { 100 setTimeout(()=> { 101 //item.find('.megamenu-content').addClass('aos-animate'); 102 }, 10); 103 } 104 105 }; 106 107 const closeMegamenu = (bgElem, heightVal) => { 108 bgElem.height(heightVal); 109 $(bgElem).css({'--megamenu-height': heightVal}); 110 111 $('body').removeClass('megamenu-visible'); 112 $('.megamenu-stepone').removeClass('show aos-animate'); 113 setTimeout(function() { 114 $('.header').removeClass('is-hover'); 115 }, 200); 116 }; 117 118 const $megamenuContentElem = $('.megamenu-nav .megamenu-content'); 119 120 const getTallestMenuHeight = () => { 121 let maxHeight = 0; 122 $megamenuContentElem.each((index, item) => { 123 if ($(item).outerHeight() > maxHeight) { 124 maxHeight = $(item).outerHeight(); 125 } 126 }); 127 return maxHeight; 128 } 129 130 const getTallestSubMenuHeight = (submenu) => { 131 let maxHeight = 0; 132 } 133 134 const debouncedClose = _.debounce(closeMegamenu, 400); 135 const throttledContentHeightCount = _.throttle(getTallestMenuHeight, 100); 136 137 let megamenuContentMaxHeight = 0; 138 139 window.onresize = () => { 140 megamenuContentMaxHeight = throttledContentHeightCount(); 141 }; 142 143 144 $(() => { 145 146 megamenuContentMaxHeight = getTallestMenuHeight(); 147 148 $megamenuParentListItem.each((index, item) => { 149 150 if (!isTouch) { 151 152 $(item).hoverIntent({ 153 sensitivity: 10, 154 interval: 50, 155 over: () => { 156 157 debouncedClose.cancel(); 158 $megamenuParentListItem.removeClass('is-open'); 159 160 if ( 'menu-item-33' == $(item).attr('id') ) { 161 //$('body').addClass('megamenu-visible'); 162 } 163 164 $('.megamenu-content').removeClass('aos-animate'); 165 166 handleMenuItemOpenState($(item));
167 //openMegamenu($megamenuBackground, megamenuContentMaxHeight); 168 169 }, 170 out: () => { 171 172 //handleMenuItemCloseState($(item)); 173 //debouncedClose($megamenuBackground, 0); 174 175 }, 176 }); 177 178 } 179 180 $(item).find('a').first().on('touch', () => { 181 if (!$(item).hasClass('is-open')) { 182 $megamenuParentListItem.removeClass('is-open'); 183 handleMenuItemOpenState($(item)); 184 openMegamenu($megamenuBackground, megamenuContentMaxHeight, $(item)); 185 } else { 186 handleMenuItemCloseState($(item)); 187 closeMegamenu($megamenuBackground, 0); 188 } 189 }); 190 }); 191 192 $megamenuParentListSubItem.each((index, item) => { 193 if (!isTouch) { 194 $(item).hoverIntent({ 195 sensitivity: 10, 196 interval: 50, 197 over: () => { 198 var id = $(item).attr('id'); 199 $('.megamenu-background-images-intro__oval__hold > img').removeClass('show'); 200 $('.megamenu-background-images-intro__oval__hold > img[data-item="'+id+'"]').addClass('show'); 201 }, 202 out: () => { 203 $('.megamenu-background-images-intro__oval__hold > img').removeClass('show'); 204 }, 205 }); 206 } 207 }); 208 209 $('.megamenu_close').on('click touch', () => { 210 211 var form_id = $('#form-inquire-finish input[name="happyforms_form_id"]').val(); 212 213 $megamenuBackground.removeClass('megamenu-is-visible'); 214 215 setTimeout(()=> { 216 217 $('.nav-item.is-parent').removeClass('is-open'); 218 $('body').addClass('megamenu-visible'); 219 $('.nav-item').find('a').first().attr('aria-expanded', false); 220 221 if ($('body').hasClass('is-open')) { 222 $('body').removeClass('megamenu-visible'); 223 } 224 225 debouncedClose($megamenuBackground, 0); 226 227 if ( $("body:not(.show-inquire)") ) { 228 $('#form-inquire-finish input:checkbox[name="'+form_id+'_checkbox_9[]"]').each(function() { 229 $(this).prop('checked', false); 230 }); 231 } 232 233 }, 0); 234 235 }); 236 237 $('a[id="sub-menu-33"]').on('click touch', () => { 238 setTimeout(()=> { 239 $('body').addClass('megamenu-visible'); 240 $('.nav-item.is-parent').removeClass('is-open'); 241 $('li[id="menu-item-33"]').addClass('is-open'); 242 $('.offcanvas').removeClass('offcanvas-end'); 243 $('#form-name').focus(); 244 }, 10); 245 }); 246 247 $('.offcanvas-nav_menu, .offcanvas-nav_close').on('click touch', () => { 248 249 $('.megamenu_close').trigger('click'); 250 251 setTimeout(()=> { 252 $('.offcanvas').addClass('offcanvas-end offcanvas-border'); 253 $('.btn-send').removeClass('inquiry-sent'); 254 $('.btn-send').html('SUBMIT INQUIRY<span class="arrow-next"></span><div class="spinner d-none"></div>'); 255 $('.btn-send').find('.arrow-next').removeClass('d-none'); 256 $('.btn-send').find('.spinner').addClass('d-none'); 257 $('.btn-send').prop('disabled', false); 258 $('.offcanvas-message').empty(); 259 }, 400); 260 261 setTimeout(()=> { 262 if ($('body').hasClass('show-inquire')) { 263 $('body').removeClass('show-inquire'); 264 } 265 }, 800); 266 267 }); 268 269 $('#megamenu-dim').on('click touch', (e) => { 270 if ($('body').hasClass('megamenu-visible')) { 271 e.preventDefault(); 272 $megamenuParentListItem.removeClass('is-open');
273 closeMegamenu($megamenuBackground, 0); 274 } 275 }); 276 277 }); 278 279 $('form[id="form-inquire-init"] input[type=checkbox][name="537_checkbox_9[]"], form[id="form-request-inquire"] input[type=checkbox][name="537_checkbox_9[]"]').on('change', function() { 280 $('.ks-cboxtags.ks-cboxtags-init ~ .invalid-feedback').hide(); 281 }); 282 283 $('form[id="form-inquire-init"] input[type=checkbox][name="537_checkbox_10"]').on('change', function() { 284 $('.ks-cboxtags.ks-cboxaboutus-init ~ .invalid-feedback').hide(); 285 }); 286 287 $('form[id="form-inquire-finish"] input[type=checkbox][name="537_checkbox_9[]"]').on('change', function() { 288 $('.ks-cboxtags.ks-cboxtags-finish ~ .invalid-feedback').hide(); 289 }); 290 291 $('form[id="form-inquire-finish"] input[type=checkbox][name="537_checkbox_10[]"]').on('change', function() { 292 $('.ks-cboxtags.ks-cboxaboutus-finish ~ .invalid-feedback').hide(); 293 }); 294 295 $('form[id="form-inquire-finish"] input[type=radio][name="537_radio_15"]').on('change', function() { 296 $('.ks-cboxtags.ks-cboxtags-worked ~ .invalid-feedback').hide(); 297 }); 298 299 300 var flatpickr4 = flatpickr("#flatpickr4", { 301 altInput: true, 302 disableMobile: "true", 303 minDate: "today", 304 altFormat: "M.j.Y", 305 dateFormat: "M.j.Y", 306 onChange: function(selectedDates, dateStr, instance) { 307 $('#flatpickr4').parent().next().hide(); 308 } 309 }); 310 311 var flatpickr5 = flatpickr("#flatpickr5", { 312 enableTime: true, 313 noCalendar: true, 314 dateFormat: "h:i K", 315 time_24hr: false, 316 onChange: function(selectedDates, dateStr, instance) { 317 $('#flatpickr5').css({'max-width': 103}); 318 $('#flatpickr5').parent().next().hide(); 319 } 320 }); 321 322 var flatpickr6 = flatpickr("#flatpickr6", { 323 enableTime: true, 324 noCalendar: true, 325 dateFormat: "h:i K", 326 time_24hr: false, 327 onChange: function(selectedDates, dateStr, instance) { 328 $('#flatpickr6').css({'max-width': 103}); 329 $('#flatpickr6').parent().next().hide(); 330 } 331 }); 332 333 function validateEmail (mail) { 334 335 if (/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,3})+$/.test(mail)) { 336 return true; 337 } 338 339 return false; 340 } 341 342 /* Form inquire init */ 343 344 $('form[id="form-inquire-init"]').on('submit', function(event) { 345 346 event.preventDefault(); 347 348 var next = true; 349 var form_id = $(this).find('input[name="form_id"]').val(); 350 var location = $(this).find('input[name="location"]').val(); 351 var date = $(this).find('input[name="date"]').val(); 352 var timestart = $(this).find('input[name="time-start"]').val(); 353 var timeend = $(this).find('input[name="time-end"]').val(); 354 var guests = $(this).find('input[name="guests"]').val(); 355 356 var types = []; 357 $(this).find('input:checkbox[name="'+form_id+'_checkbox_9[]"]:checked').each(function() { 358 types.push($(this).val()); 359 }); 360 361 var aboutus = []; 362 $(this).find("input:checkbox[name=about-us]:checked").each(function() { 363 aboutus.push($(this).val()); 364 }); 365 366 if (!location) { 367 next = false; 368 } 369 370 if (!date) { 371 $(this).find('input[name="date"]').parent().next().show(); 372 next = false; 373 } 374 375 var txt = 'PLEASE PROVIDE A VALID TIME'; 376 if (!timestart || !timeend) { 377 txt = 'PLEASE PROVIDE A VALID'; 378 $(this).find('input[name="time-start"]').parent().next().show(); 379 next = false; 380 } 381 382 if (!timestart && !timeend) { 383 txt += ' START/END TIME'; 384 next = false; 385 } else if (timestart && !timeend) { 386 txt += ' END TIME'; 387 next = false; 388 } else if (!timestart && timeend) { 389 txt += ' START TIME'; 390 next = false; 391 } 392 393 $(this).find('input[name="time-start"]').parent().next().text(txt); 394 395 if (!types.length) { 396 $(this).find('.ks-cboxtags.ks-cboxtags-init').next().show(); 397 next = false;
398 } 399 400 if (next) { 401 402 $('.offcanvas').removeClass('offcanvas-end'); 403 $('#form-inquire-finish input[name="'+form_id+'_single_line_text_5"]').val(location); 404 $('#form-inquire-finish input[name="'+form_id+'_single_line_text_12"]').val(guests); 405 406 flatpickr4.setDate(date); 407 flatpickr5.setDate(timestart); 408 flatpickr6.setDate(timeend); 409 410 $.each( types, function( index, value ){ 411 $('#form-inquire-finish input:checkbox[name="'+form_id+'_checkbox_9[]"]').each(function() { 412 if ($(this).val() == value) { 413 $(this).prop('checked', true); 414 } 415 }); 416 }); 417 418 $('#flatpickr4 + input.autowidth').css({width: 156}); 419 } 420 421 }); 422 423 /* Form inquire full */ 424 425 $('form[id="form-request-inquire"]').on('submit', function(event) { 426 427 event.preventDefault(); 428 429 /*gtag("event", "open_map", { 430 form_name: "Open map", 431 form_id: "map_001" 432 });*/ 433 434 var next = true; 435 var form_id = $(this).find('input[name="form_id"]').val(); 436 var date = $(this).find('input[name="date"]').val(); 437 var timestart = $(this).find('input[name="time-start"]').val(); 438 var timeend = $(this).find('input[name="time-end"]').val(); 439 var location = $(this).find('input[name="location"]').val(); 440 var guests = $(this).find('input[name="guests"]').val(); 441 442 var types = []; 443 $(this).find('input:checkbox[name="'+form_id+'_checkbox_9[]"]:checked').each(function() { 444 types.push($(this).val()); 445 }); 446 447 var aboutus = []; 448 $(this).find("input:checkbox[name=about-us]:checked").each(function() { 449 aboutus.push($(this).val()); 450 }); 451 452 if (!location) { 453 next = false; 454 } 455 456 if (!date) { 457 $(this).find('input[name="date"]').parent().next().show(); 458 next = false; 459 } 460 461 var txt = 'PLEASE PROVIDE A VALID TIME'; 462 if (!timestart || !timeend) { 463 txt = 'PLEASE PROVIDE A VALID'; 464 $(this).find('input[name="time-start"]').parent().next().show(); 465 next = false; 466 } 467 468 if (!timestart && !timeend) { 469 txt += ' START/END TIME'; 470 next = false; 471 } else if (timestart && !timeend) { 472 txt += ' END TIME'; 473 next = false; 474 } else if (!timestart && timeend) { 475 txt += ' START TIME'; 476 next = false; 477 } 478 479 $(this).find('input[name="time-start"]').parent().next().text(txt); 480 481 if (!types.length) { 482 $(this).find('.ks-cboxtags.ks-cboxtags-init').next().show(); 483 next = false; 484 } 485 486 if (next) { 487 488 $('body').addClass('show-inquire'); 489 $('.offcanvas').removeClass('offcanvas-end'); 490 $('#form-inquire-finish input[name="'+form_id+'_single_line_text_5"]').val(location); 491 $('#form-inquire-finish input[name="'+form_id+'_single_line_text_12"]').val(guests); 492 493 flatpickr4.setDate(date); 494 flatpickr5.setDate(timestart); 495 flatpickr6.setDate(timeend); 496 497 $.each( types, function( index, value ){ 498 $('#form-inquire-finish input:checkbox[name="'+form_id+'_checkbox_9[]"]').each(function() { 499 if ($(this).val() == value) { 500 $(this).prop('checked', true); 501 } 502 }); 503 }); 504 505 $('#flatpickr4 + input.autowidth').css({width: 156}); 506 } 507 508 }); 509 510 $('.form-request-for-proposal').on('submit', function (event) { 511 512 event.preventDefault(); 513 514 var next = true; 515 var form_id = $(this).find('input[name="form_id"]').val(); 516 var date = $(this).find('input[name="date"]').val(); 517 var timestart = $(this).find('input[name="time-start"]').val(); 518 var timeend = $(this).find('input[name="time-end"]').val(); 519 var location = $(this).find('input[name="location"]').val(); 520 var guests = $(this).find('input[name="guests"]').val(); 521 522 var types = [];
523 $(this).find('input:checkbox[name="' + form_id + '_checkbox_9[]"]:checked').each(function () { 524 types.push($(this).val()); 525 }); 526 527 var aboutus = []; 528 $(this).find("input:checkbox[name=about-us]:checked").each(function () { 529 aboutus.push($(this).val()); 530 }); 531 532 if (!location) { 533 next = false; 534 } 535 536 if (!date) { 537 $(this).find('input[name="date"]').parent().next().show(); 538 next = false; 539 } 540 541 var txt = 'PLEASE PROVIDE A VALID TIME'; 542 if (!timestart || !timeend) { 543 txt = 'PLEASE PROVIDE A VALID'; 544 $(this).find('input[name="time-start"]').parent().next().show(); 545 next = false; 546 } 547 548 if (!timestart && !timeend) { 549 txt += ' START/END TIME'; 550 next = false; 551 } else if (timestart && !timeend) { 552 txt += ' END TIME'; 553 next = false; 554 } else if (!timestart && timeend) { 555 txt += ' START TIME'; 556 next = false; 557 } 558 559 $(this).find('input[name="time-start"]').parent().next().text(txt); 560 561 if (!types.length) { 562 $(this).find('.ks-cboxtags.ks-cboxtags-init').next().show(); 563 next = false; 564 } 565 566 if (next) { 567 568 $('body').addClass('show-inquire'); 569 $('.offcanvas').removeClass('offcanvas-end'); 570 $('#form-inquire-finish input[name="' + form_id + '_single_line_text_5"]').val(location); 571 $('#form-inquire-finish input[name="' + form_id + '_single_line_text_12"]').val(guests); 572 573 flatpickr4.setDate(date); 574 flatpickr5.setDate(timestart); 575 flatpickr6.setDate(timeend); 576 577 $.each(types, function (index, value) { 578 $('#form-inquire-finish input:checkbox[name="' + form_id + '_checkbox_9[]"]').each(function () { 579 if ($(this).val() == value) { 580 $(this).prop('checked', true); 581 } 582 }); 583 }); 584 585 $('#flatpickr4 + input.autowidth').css({ width: 156 }); 586 } 587 }); 588 589 $('form[id="form-inquire-finish---"]').on('submit', function(event) { 590 591 event.preventDefault(); 592 593 var next = true; 594 var $form = $(this); 595 var $submit = $(this).find('button[type="submit"]'); 596 var name = $(this).find('input[name="name"]').val(); 597 var company = $(this).find('input[name="company"]').val(); 598 var phone = $(this).find('input[name="phone"]').val(); 599 var email = $(this).find('input[name="email"]').val(); 600 /* var location = $(this).find('select[name="location"] option:selected').val(); */ 601 var location = $(this).find('input[name="location"]').val(); 602 var date = $(this).find('input[name="date"]').val(); 603 var timestart = $(this).find('input[name="time-start"]').val(); 604 var timeend = $(this).find('input[name="time-end"]').val(); 605 /* var type = $(this).find('input[name="event-type"]:checked').val(); */ 606 var purpuse = $(this).find('input[name="purpuse"]').val(); 607 var guests = $(this).find('input[name="guests"]').val(); 608 var budget = $(this).find('input[name="budget"]').val(); 609 var details = $(this).find('input[name="details"]').val(); 610 var workedbefore = $(this).find('input[name="worked-before"]:checked').val(); 611 var pointcontact = $(this).find('input[name="pointcontact"]').val(); 612 613 var types = []; 614 $(this).find("input:checkbox[name=event-type]:checked").each(function() { 615 types.push($(this).val()); 616 }); 617 618 var aboutus = []; 619 $(this).find("input:checkbox[name=about-us]:checked").each(function() { 620 aboutus.push($(this).val()); 621 }); 622 623 if (!name) { 624 next = false; 625 } 626 627 if (!company) { } 628 629 if (!phone) { 630 next = false; 631 } 632 633 if (!email) { 634 next = false; 635 } 636 637 if (!validateEmail(email)) { 638 next = false;
639 } 640 641 /*if (!location) { 642 $(this).find('select[name="location"] ~ .invalid-feedback').show(); 643 next = false; 644 }*/ 645 646 if (!location) { 647 next = false; 648 } 649 650 if (!date) { 651 $(this).find('input[name="date"]').parent().next().show(); 652 next = false; 653 } 654 655 var txt = 'PLEASE PROVIDE A VALID TIME'; 656 if (!timestart || !timeend) { 657 txt = 'PLEASE PROVIDE A VALID'; 658 $(this).find('input[name="time-start"]').parent().next().show(); 659 next = false; 660 } 661 662 if (!timestart && !timeend) { 663 txt += ' START/END TIME'; 664 next = false; 665 } else if (timestart && !timeend) { 666 txt += ' END TIME'; 667 next = false; 668 } else if (!timestart && timeend) { 669 txt += ' START TIME'; 670 next = false; 671 } 672 673 $(this).find('input[name="time-start"]').parent().next().text(txt); 674 675 if (!types.length) { 676 $('.ks-cboxtags.ks-cboxtags-finish').next().show(); 677 next = false; 678 } 679 680 if (!aboutus.length) { 681 $('.ks-cboxtags.ks-cboxaboutus-finish').next().show(); 682 next = false; 683 } 684 685 if (!purpuse) { 686 next = false; 687 } 688 689 if (!guests) { 690 next = false; 691 } 692 693 if (!budget) { 694 next = false; 695 } 696 697 if (!details) { 698 next = false; 699 } 700 701 if (!workedbefore) { 702 $('.ks-cboxtags.ks-cboxtags-worked').next().show(); 703 next = false; 704 } 705 706 if (next) { 707 708 $submit.prop('disabled', true); 709 $submit.find('.arrow-next').toggleClass('d-none'); 710 $submit.find('.spinner').toggleClass('d-none'); 711 $('.offcanvas-message').empty(); 712 713 $.ajax({ 714 type: "post", 715 dataType: "json", 716 url: ajax.url, 717 data: { 718 action: ajax.action, 719 nonce: ajax.nonce, 720 name: name, 721 company: company, 722 phone: phone, 723 email: email, 724 location: location, 725 date: date, 726 timestart: timestart, 727 timeend: timeend, 728 types: types, 729 aboutus: aboutus, 730 purpuse: purpuse, 731 guests: guests, 732 budget: budget, 733 details: details, 734 workedbefore: workedbefore, 735 pointcontact: pointcontact 736 }, 737 success: function(response) { 738 739 if(response.type == 'success') { 740 741 $submit.prop('disabled', false); 742 $submit.addClass('inquiry-sent'); 743 $submit.html('INQUIRY SENT<span class="arrow-sent"></span>'); 744 $submit.find('.arrow-next').toggleClass('d-none'); 745 $submit.find('.spinner').toggleClass('d-none'); 746 747 //$('.megamenu_close').trigger('click'); 748 //$('.offcanvas-message').append('<h2>'+response.message+'</h2>'); 749 750 setTimeout(function() { 751 752 $('#form-inquire-init').removeClass('was-validated'); 753 $('#form-inquire-init')[0].reset(); 754 755 $form.removeClass('was-validated'); 756 $form[0].reset(); 757 758 //$('.offcanvas').addClass('offcanvas-end offcanvas-border'); 759 760 $('#flatpickr1 + input.autowidth').css({width: 270}); 761 $('#flatpickr4 + input.autowidth').css({width: 156}); 762 763 }, 3000); 764 } 765 else 766 { 767 $submit.removeClass('inquiry-sent'); 768 $submit.html('SUBMIT INQUIRY<span class="arrow-next"></span><div class="spinner d-none"></div>'); 769 $submit.find('.arrow-next').removeClass('d-none'); 770 $submit.find('.spinner').addClass('d-none'); 771 $submit.prop('disabled', false); 772 $('.offcanvas-message').append('<h2>'+response.message+'</h2>'); 773 } 774 775 } 776 }); 777 778 } 779 780 }); 781 782})(jQuery);
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.