PageSourceSearch

https://centriahealthcare.com/wp-content/themes/centria/assets/js/custom.js?ver=52328854312

js centriahealthcare.com collected 2026-10-02 11:28:13 UTC 22,338 bytes, 822 lines download raw bytes

1  
2
3
4jQuery(document).ready(function($){
5
6
7//////////////////////////////
8//////////// Init
9//////////////////////////////
10
11
12  $( '.divi-btn-primary' ).wrapInner( "<span class='text-inner'></span>");
13
14
15  $('#mobile-nav').show();
16  $('#loadmask').hide();
17
18
19  $('body').removeClass('nhg-no-animation-preload').addClass('nhg-dom-loaded');
20
21  $(window).on('load',function(){
22      $('body').addClass('nhg-window-loaded');
23  });
24
25
26  $('.iframe-full-height').on('load', function(){
27      $(this).style.height = $(this).contentDocument.body.scrollHeight +'px';
28  });
29
30
31  jQuery.fn.isInViewport = function () {
32      let elementTop = jQuery(this).offset().top;
33      let elementBottom = elementTop + jQuery(this).outerHeight();
34      let viewportTop = jQuery(window).scrollTop();
35      let viewportBottom = viewportTop + jQuery(window).height();
36      return elementBottom > viewportTop && elementTop < viewportBottom;
37  };
38
39
40
41  $('body').on('click', 'a.scroll', function(e){
42      e.preventDefault();
43      var aid = $(this).attr("href");
44      $('html,body').animate({scrollTop: $(aid).offset().top - 75},'slow');
45  });
46
47  $('body').on('click', 'a.scroll-to', function(e){
48      e.preventDefault();
49      var aid = $(this).attr("href");
50      $('html,body').animate({scrollTop: $(aid).offset().top},'slow');
51  });
52
53
54  $('.expander-trigger').on('click', function(e){
55      e.preventDefault();
56      $(this).closest('.expander').addClass('clicked');
57      $(this).closest('.expander').next('.expanded-content').addClass('opened');
58  });
59
60
61  let headerScrollPosition = $(window).scrollTop(); 
62  $(window).scroll(function() {
63      let headerScrollVal = $(window).scrollTop();
64      //console.log(headerScrollVal);
65      if(headerScrollVal > headerScrollPosition && headerScrollVal >= 300 ) {
66         $('#primary-header').addClass('header-scroll-hide');
67      } else if (headerScrollVal < headerScrollPosition ) {
68         $('#primary-header').removeClass('header-scroll-hide');
69      }
70
71      headerScrollPosition = headerScrollVal;
72  });
73
74
75  if (jQuery('.gfield_select').length) {
76      jQuery('.gfield_select').each(function () {
77          if ($(this).val() === "" || $(this).val() === null) {
78              $(this).addClass('placeholder');
79          } else {
80              $(this).removeClass('placeholder');
81          }
82      });
83
84      jQuery('select').on('change', function (e) {
85          if ($(this).val() === "" || $(this).val() === null) {
86              $(this).addClass('placeholder');
87          } else {
88              $(this).removeClass('placeholder');
89          }
90      });
91  }
92
93
94
95
96
97
98
99  function getParameterByName(name) {
100    name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
101    var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"),
102        results = regex.exec(location.search);
103    return results === null ? "" : decodeURIComponent(results[1].replace(/\+/g, " "));
104  }
105  function getCookie(name) {
106    var match = document.cookie.match(new RegExp('(^| )' + name + '=([^;]+)'));
107    return match ? decodeURIComponent(match[2]) : "";
108  }
109  var params = ["utm_source", "utm_medium", "mcid", "hpuid"];
110  params.forEach(function(param) {
111    var value = getParameterByName(param);
112    if (value) {
113      document.cookie = param + "=" + encodeURIComponent(value) + "; path=/; max-age=" + (60*60*24*30);
114      console.log("Cookie set:", param, "=", value);
115    }
116  });
117  var mapping = {
118    "utm_source": "#input_7_22",
119    "utm_medium": "#input_7_21",
120    "mcid": "#input_7_18",
121    "hpuid": "#input_7_23"
122  };
123  Object.keys(mapping).forEach(function(param) {
124    var field = document.querySelector(mapping[param]);
125    var cookieVal = getCookie(param);
126    console.log("Populating field", mapping[param], "with cookie", param, "=", cookieVal);
127    if (field && cookieVal) {
128      field.value = cookieVal;
129      field.dispatchEvent(new Event("input", { bubbles: true }));
130      field.dispatchEvent(new Event("change", { bubbles: true }));
131      console.log("Set", param, "to", field.value);
132    }
133  });
134
135
136
137
138
139
140
141  var hippa_label_click = 0;
142  $('body').on('click', '.cm-hipaa-forms-privacy-statement', function(){
143      hippa_label_click++;
144      if ( hippa_label_click == 1 ){
145        $(this).find('#cm-hipaa-forms-privacy-agree').trigger('click');        
146      }
147
148  });
149
150
151  $('#global-header-alert .alert-close a').on('click', function(e){
152      e.preventDefault();
153      $('#global-header-alert').addClass('alert-hidden');
154      Cookies.set('centria-hide-global-alert', '1');
155  });
156
157  $('#global-header-daisy-award .closer').on('click', function(e){
158      e.preventDefault();
159      $('#global-header-daisy-award').addClass('alert-hidden');
160      Cookies.set('centria-hide-dairy-award-alert', '1');
161  });
162
163
164//////////////////////////////
165//////////// Mobile Menu
166//////////////////////////////
167
168
169
170  function mobileMenuOpen(){
171    $('body').addClass('mobile-menu-is-open');
172    $('#mobile-menu').addClass('open');
173    $('.form-takeover').removeClass('active');
174    console.log('test');
175  };
176
177  function mobileMenuClose(){
178    $('body').removeClass('mobile-menu-is-open');
179    $('#mobile-menu').removeClass('open');
180  };
181
182
183  $('.mobile-menu-opener').on('click', function(e){
184    e.preventDefault();
185    mobileMenuOpen();
186  });
187
188  $('#mobile-menu .mobile-menu-close-wrapper button').on('click', function(e){
189    e.preventDefault();
190    mobileMenuClose();
191  });
192
193
194  $('#mobile-nav .menu > li.menu-item-has-children ul.sub-menu').each(function(){
195    $(this).prepend('<li class="back"><a href="#">Back</a></li>');
196  });
197
198
199
200
201  $('#mobile-menu li.opener > a').on('click', function(e){
202    e.preventDefault();
203    $('#mobile-menu li.opener > a').not(this).closest('li.opener').removeClass('active');
204    $(this).closest('li.opener').toggleClass('active');
205  });
206
207
208  $(document).on('click', function(e){
209      if(  $(e.target).closest('.js-mobile-nav-close-exlude').length === 0   ){
210        mobileMenuClose();   
211      }    
212  });
213
214
215
216
217
218
219
220
221
222
223
224
225
226if ( $('#job-listing-wrapper').length ) {
227
228
229  $('#job-list-filter-state').on('change', function(){
230      var option = $(this).find("option:selected").val();
231      var queryParams = new URLSearchParams(window.location.search);
232      queryParams.set('jobs-state', option);
233      history.replaceState(null, null, "?"+queryParams.toString());
234      if ( option == 'all' ) {
235        $('#job-list-filter-city').val('all');
236        $('#job-list-filter-city option:not([value="all"])').attr('hidden', '');
237      } else {
238        $('#job-list-filter-city option:not([value="all"])').each(function(){
239          if ( option != $(this).attr('data-state') ){
240            $(this).attr('hidden', '');
241          } else { 
242            $(this).removeAttr('hidden');
243          }
244        });   
245        $('#job-list-filter-city').val('all');  
246      }  
247      filterJobListing();
248  });
249
250  $('#job-list-filter-dept').on('change', function(){
251      var option = $(this).find("option:selected").val();
252      var queryParams = new URLSearchParams(window.location.search);
253      queryParams.set('jobs-dept', option);
254      history.replaceState(null, null, "?"+queryParams.toString());      
255      filterJobListing();
256  });
257
258  $('#job-list-filter-dept-multi .current-wrapper').on('click', function(){
259    $(this).closest('.item').find('.dropdown').toggleClass('open');
260  });
261
262    $(document).on("click", function (event) {
263        if (!$(event.target).closest("#job-list-filter-dept-multi").length) {
264            $("#job-list-filter-dept-multi .dropdown").removeClass('open');
265        }
266    });
267
268
269  $('#job-list-filter-dept-multi').on('change', 'input[name="job-list-filter-dept-multi-input"]', function () {
270    var options = $('input[name="job-list-filter-dept-multi-input"]:checked').map(function () {return $(this).val()}).get().join(',');
271    var queryParams = new URLSearchParams(window.location.search);
272    queryParams.set('jobs-dept', options);
273    history.replaceState(null, null, "?"+queryParams.toString());   
274    filterJobListing();
275    jobListDeptMultiSetCurrentText();
276  });
277
278  function jobListDeptMultiSetCurrentText(){
279    var options = $('input[name="job-list-filter-dept-multi-input"]:checked').map(function () {return $(this).val()}).get().join(', ');
280    console.log(options);
281    if ( !$('input[name="job-list-filter-dept-multi-input"]:checked').length ){
282        $('#job-list-filters .item#job-list-filter-dept-multi .current').text('All Departments');
283    } else { 
284        $('#job-list-filters .item#job-list-filter-dept-multi .current').text(options);
285    }    
286  }
287  
288
289
290
291  $(' #job-list-filter-city').on('change', function(){
292      filterJobListing();
293  });
294
295
296  var urlParams = new URLSearchParams(window.location.search);
297  var jobs_filter_option_state = urlParams.get('jobs-state');
298  var jobs_filter_option_dept = urlParams.get('jobs-dept');
299
300  if ( jobs_filter_option_state && jobs_filter_option_state != 'all' ){
301    $('#job-list-filter-state').val(jobs_filter_option_state).trigger('change'); 
302    //filterJobListing();
303  }
304
305  if ( jobs_filter_option_dept && jobs_filter_option_dept != 'all' ){
306    //$('#job-list-filter-dept').val(jobs_filter_option_dept);
307    var selected = jobs_filter_option_dept.split(',');
308    $('input[name="job-list-filter-dept-multi-input"]').prop('checked', false);
309    $('input[name="job-list-filter-dept-multi-input"]').each(function () {
310        if (selected.includes(this.value)) {
311            this.checked = true;
312        }
313    });    
314    jobListDeptMultiSetCurrentText();
315  }
316
317  filterJobListing();
318
319function filterJobListing() {
320    var i = 0;
321    var state = $('#job-list-filter-state').val();
322    var city = $('#job-list-filter-city').val();
323    var departments = $('input[name="job-list-filter-dept-multi-input"]:checked')
324        .map(function () {
325            return this.value;
326        }).get();
327    $('#job-list .item:not(.item-header):not(.item-no-jobs)').each(function () {
328        var $item = $(this);
329        $item.hide();
330        if ( departments.length && !departments.includes($item.attr('data-department')) ) {  
331            return;  
332        }
333        if ( state != 'all' && state != $item.attr('data-state')  ) {
334            return;
335        }
336        if ( state != 'all' && city != 'all' && city != $item.attr('data-city') ) {
337            return;
338        }
339        $item.show();
340        i++;
341    });
342    $('#job-list').attr('data-count', i);
343}
344
345
346
347
348
349/*
350  $('#project-loop-filters-input').on('change', function(){
351      var option = $(this).find("option:selected").val();
352      var queryParams = new URLSearchParams(window.location.search);
353      queryParams.set('project-filter', option);
354      history.replaceState(null, null, "?"+queryParams.toString());
355      $('#project-loop .item').each(function(){
356          if ( option == 'all' || $(this).attr('data-project-type') == option  ){
357            $(this).show();
358          } else { 
359            $(this).hide();
360          }
361          history.replaceState(null, null, "?"+queryParams.toString());
362      });
363  });
364  var urlParams = new URLSearchParams(window.location.search);
365  var filter_option = urlParams.get('project-filter');
366  console.log(filter_option);
367  if ( filter_option != null && filter_option != 'all' ){
368    $('#project-loop .item').each(function(){
369      if ( $(this).attr('data-project-type') != filter_option ){
370        $(this).hide();
371      }
372    });
373    $('#project-loop-filters-input').val(filter_option);
374  }
375*/
376
377}
378
379
380if ( $('#job-listing-single').length ) {
381  ///var iframe_id = document.getElementById('ob-listing-single-frame');
382  ///var iframe_height = iframe_id.contentWindow.document.body.scrollHeight;
383 /// console.log(iframe_height);
384}
385
386
387
388
389$('#primary-header #menu-main-nav li.opener').on('mouseover', function(){
390
391  $('#main-mega-menu .menu-wrapper').removeClass('active');
392
393  if ( $(this).hasClass('where-to-start') ){
394    $('#main-mega-menu .menu-wrapper[data-menu="where-to-start"]').addClass('active');
395  }
396  else if ( $(this).hasClass('services') ){
397    $('#main-mega-menu .menu-wrapper[data-menu="services"]').addClass('active');
398  }
399  else if ( $(this).hasClass('careers') ){
400    $('#main-mega-menu .menu-wrapper[data-menu="careers"]').addClass('active');
401  }
402  else if ( $(this).hasClass('resources') ){
403    $('#main-mega-menu .menu-wrapper[data-menu="resources"]').addClass('active');
404  }  
405
406});
407
408
409$('#main-mega-menu .menu-wrapper .inner').on('mouseleave', function(){
410  $('#main-mega-menu .menu-wrapper').removeClass('active');
411});
412
413$('.et_pb_row, #primary-header .main-bar').on('mouseover', function(){
414  $('#main-mega-menu .menu-wrapper').removeClass('active');
415});
416
417
418
419
420
421function centriaSetFavoriteLocation(id){
422  Cookies.set('centria_favorite_location', id);
423  console.log('centriaSetFavoriteLocation', id);
424}
425
426
427function centriaClearFavoriteLocation(){
428  Cookies.remove('centria_favorite_location')
429}
430
431$('[data-set-favorite-location]').on('click', function(e){
432  e.preventDefault();
433  var location_id = $(this).attr('data-set-favorite-location');
434  if ( $(this).hasClass('favorite-highlight') ){
435    centriaClearFavoriteLocation();
436    $(this).removeClass('favorite-highlight');
437  } else { 
438    centriaSetFavoriteLocation(location_id);
439    $('[data-set-favorite-location]').removeClass('favorite-highlight');
440    $(this).addClass('favorite-highlight');
441  }
442});
443
444if ( Cookies.get('centria_favorite_location') ) {
445  var location_id = Cookies.get('centria_favorite_location');
446  $('[data-set-favorite-location="'+location_id+'"]').addClass('favorite-highlight');
447}
448
449
450if ( $('#favorite-location-bar').length ) {
451
452  $('#favorite-location-bar .favorite-location-bar-top .toggler, #favorite-location-bar .favorite-location-bar-top .location-name').on('click', function(e){
453      e.preventDefault();
454      $('#favorite-location-bar').toggleClass('open');
455  })
456
457}
458
459
460
461if ( $('#hero-slider').length ) {
462
463  $('#hero-slider .inner').on('init', function(event, slick){
464      setTimeout(() => { 
465          //$('#hero-slider .inner .slick-current .item-content h2 span').addClass('fadein');
466      }, 750);    
467  });
468
469  $('#hero-slider .inner').on('afterChange', function(event, slick, currentSlide){
470    //$('#hero-slider .inner .slick-current .item-content h2 span').addClass('fadein');
471  });
472
473  $('#hero-slider .inner').slick({
474    slidesToShow: 1,
475    slidesToScroll: 1,
476    speed: 600,
477    arrows: false,
478    dots: true,
479    customPaging : function(slider, i) {
480        var title = $(slider.$slides[i]).attr('data-title');
481        return '<button>'+title+'</button>';
482    },    
483  });
484
485}
486
487
488
489
490
491
492
493
494if ( $('#podcast-overview').length ) {
495
496
497  $('#podcast-overview .pocast-toggle a').on('click', function(e){
498    e.preventDefault();
499    $(this).closest('li').addClass('active').siblings().removeClass('active');
500    let podcast_index = $(this).closest('li').attr('data-index');
501    let podcast_thumb = $(this).closest('li').attr('data-thumbnail');
502    $('.podcast-overview-content-wrapper .podcast-content[data-index="'+podcast_index+'"]').addClass('active').siblings().removeClass('active');
503    $('.podcast-thumbnail-image img').attr('src', podcast_thumb);
504  })
505
506
507
508}
509
510
511
512
513
514
515
516if ( $('.article-feed').length ) {
517
518  $('.article-feed .article-feed-cards').slick({
519    slidesToShow: 3,
520    slidesToScroll: 3,
521    speed: 600,
522    arrows: true,
523    dots: false, 
524    prevArrow: $(this).find('.article-feed-left'),
525    nextArrow: $(this).find('.article-feed-right'), 
526    responsive: [
527      {
528        breakpoint: 991,
529        settings: {
530          slidesToShow: 2,
531          slidesToScroll: 2,
532        }
533      },
534      {
535        breakpoint: 767,
536        settings: {
537          slidesToShow: 1,
538          slidesToScroll: 1,
539        }
540      }
541    ]
542  });
543
544}
545
546
547
548if ( $('.our-approach').length ) {
549
550  $(window).on('load resize', function(){
551        var ourApproachItemsHeight = 0;
552        $(".our-approach .items .item, .our-approach .items").each(function() {
553          $(this).attr('style', '');
554          if ($(this).outerHeight() > ourApproachItemsHeight) {
555            ourApproachItemsHeight = $(this).outerHeight();
556          }
557        }).height(ourApproachItemsHeight);    
558  });
559
560  $('.our-approach .pin').on('click', function(){
561      var pin = $(this).attr('data-pin');
562      $(this).addClass('active').siblings().removeClass('active');
563      $('.our-approach .items .item[data-item="'+pin+'"]').addClass('active').siblings().removeClass('active');
564  });
565
566
567}
568
569
570
571
572
573if ( $('.window-box').length ) {
574
575  $('.window-box .item').on('mouseover', function(){
576      $(this).addClass('active').siblings().removeClass('active').find('.image-link').removeClass('active');
577
578      setTimeout(() => { 
579          $(this).find('.image-link').addClass('active');
580      }, 750);
581  });
582
583}
584
585
586
587if ( $('.timeline-v2').length ) {
588
589  $('.timeline-v2 .triggers li a').on('click', function(e){
590    e.preventDefault();
591    let index = $(this).closest('li').attr('data-index');
592    $(this).closest('li').addClass('active').siblings().removeClass('active');
593    $(this).closest('.timeline-v2').find('.content-item[data-index="'+index+'"]').addClass('active').siblings().removeClass('active');
594  });
595
596
597
598/*
599  $(window).on('load resize', function(){
600    var timelineLabelHeight = 0;
601    $(".timeline-label-text").each(function() {
602    $(this).attr('style', '');
603    if ($(this).outerHeight() > timelineLabelHeight) {
604      timelineLabelHeight = $(this).outerHeight();
605    }
606  }).height(timelineLabelHeight);    
607  var timelineItemHeight = 0;
608  $(".timeline .up, .timeline .down").each(function() {
609    $(this).attr('style', '');
610    if ($(this).outerHeight() > timelineItemHeight) {
611      timelineItemHeight = $(this).outerHeight();
612    }
613    }).height(timelineItemHeight);    
614    $('.timeline .up').hide();
615  });
616*/
617
618}
619
620
621
622
623
624if ( $('.faq').length ) {
625  $('.faq .item').on('click', function(e){
626      if ($(e.target).closest('.answer-output').length === 0) {
627        $(this).toggleClass('active');
628      }
629  });
630  $('.faq-search-input').on('input', function(){
631      $(this).closest('.faq').find('.item-hidden').removeClass('item-hidden');
632      $(this).closest('.faq').find('.faq-cta-load-all').hide();
633      var search_string = $(this).val().toLowerCase();
634      $('.faq .item').each(function(){
635        var this_content = $(this).text().toLowerCase();
636        if (this_content.indexOf(search_string) >= 0){
637          $(this).removeClass('hide');
638        } else { 
639          $(this).addClass('hide');
640        }
641      })
642  });
643  $('.faq-cta-load-all a').on('click', function(e){
644    e.preventDefault();
645    $(this).closest('.faq').find('.item-hidden').removeClass('item-hidden');
646    $(this).closest('.faq-cta-load-all').hide();
647  });
648}
649
650
651
652if ( $('.info-tabs').length ) {
653  $('.info-tabs .info-tabs-content .item').on('click', function(){
654      $(this).addClass('active').siblings().removeClass('active');
655      var c = $(this).closest('.info-tabs .inner').find('.item').length;
656      var i = $(this).attr('data-item');
657      var stage_w = $(this).closest('.info-tabs').find('.info-tabs-image').width();
658      console.log(c, i, stage_w);
659      $('.info-tabs .info-tabs-image .inner').css('left', (-1*i*stage_w)+'px');
660  });
661}
662
663
664
665
666
667
668function youtube_ligtbox_open(video){
669  $('#video-popup-overlay-youtube').addClass('active');
670  $('body').addClass('video-popup-overlay-youtube-is-open');
671  new YT.Player('video-popup-overlay-youtube-element', {
672        height: '390',
673        width: '640',
674        videoId: video,
675        events: {
676            onReady: e => e.target.playVideo()
677        }
678    });
679}
680
681function youtube_ligtbox_close(){
682  $('#video-popup-overlay-youtube').removeClass('active');
683  $('body').removeClass('video-popup-overlay-youtube-is-open');
684  $('#video-popup-overlay-youtube #video-popup-overlay-youtube-element').remove();
685  $('#video-popup-overlay-youtube .inner').append('<div id="video-popup-overlay-youtube-element"></div>');
686}
687
688$('#video-popup-overlay-youtube .popup-closer a').on('click', function(e){
689  e.preventDefault();
690  youtube_ligtbox_close();
691});
692$('#video-popup-overlay-youtube').on('click', function(e){
693    if (e.target !== this)
694      return;
695    youtube_ligtbox_close();
696});
697
698
699
700if ( $('.success-stories').length ) {
701  
702  $('.success-stories .item video').trigger('pause');
703  $('.success-stories .item').hover(function(){
704      $(this).find('video').trigger('play');
705    }, function(){
706      $(this).find('video').trigger('pause');
707  });
708  $('.success-stories .item').on('click', function(){
709      var video = $(this).attr('data-youtube');    
710       youtube_ligtbox_open(video);
711  });
712
713}
714
715
716
717if ( $('.photo-reel').length ) {
718  
719  $('.photo-reel .item-video').on('click', function(){
720      var video = $(this).attr('data-youtube');    
721       youtube_ligtbox_open(video);
722  });
723
724}
725
726
727
728
729
730
731
732
733
734if ( $('#open-jobs-map').length ){
735
736  $('#open-jobs-map .col-results .results-headline').on('click tap', function(){
737      $(this).closest('.col-results').toggleClass('active');
738  });
739
740  $(window).on('click load resize scroll', function() {
741      if ($('#open-jobs-map').isInViewport()) {
742          $('#open-jobs-map .col-results').addClass('user-visible');
743      } else {
744         $('#open-jobs-map .col-results').removeClass('user-visible');
745      }
746  });
747
748
749}
750
751
752if ( $('#pathway-tabs').length ){
753
754  $('#pathway-tabs li').on('click', function(){
755      $(this).addClass('active').siblings().removeClass('active');
756      let index = $(this).index()+1;
757      $('#pathway-content .et_pb_module:nth-child('+index+')').addClass('active').siblings().removeClass('active');
758  });
759
760  $('#pathway-content .m-opener').on('click', function(){
761      $(this).closest('.et_pb_module').toggleClass('active').siblings().removeClass('active');
762  });
763
764
765
766
767
768}
769
770
771
772
773
774if ( $('#clinical-headshot-loop.slider .inner').length ){
775
776  $('#clinical-headshot-loop.slider .inner').slick({
777    slidesToShow: 3,
778    slidesToScroll: 2,
779    speed: 600,
780    arrows: true,
781    dots: false,
782    nextArrow: '<button class="slick-next"><i class="fas fa-arrow-circle-right"></i></button>',
783    prevArrow: '<button class="slick-prev"><i class="fas fa-arrow-circle-left"></i></button>',    
784    responsive: [
785      {
786        breakpoint: 991,
787        settings: {
788          slidesToShow: 2,
789          slidesToScroll: 2,
790        }
791      },
792      {
793        breakpoint: 767,
794        settings: {
795          slidesToShow: 1,
796          slidesToScroll: 1,
797        }
798      }
799    ]    
800  });
801
802
803
804
805}
806
807
808
809
810
811
812
813
814
815
816
817});
818
819
820
821
822

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.