PageSourceSearch

https://musicintervaltheory.academy/wp-content/plugins/learndash-p…/assets/js/front.js?ver=1.3.8.3

js musicintervaltheory.academy collected 2026-10-05 22:29:12 UTC 23,594 bytes, 785 lines download raw bytes

1jQuery(document).ready( function($) {
2
3	$('body').on( 'click', '.ldms-session__tabs-tab button', function(e) {
4
5		e.preventDefault();
6
7		var parent = $(this).parents('.ldms-session__tabs-tab');
8		var target = $(this).data('target');
9
10		// Reset classes
11		$('.ldms-session__tabs-tab').removeClass('is-active');
12		$('.ldms-session__content-tab').removeClass('is-active');
13
14		$('#' + target ).addClass('is-active');
15		$(this).parents('.ldms-session__tabs-tab').addClass('is-active');
16
17	});
18
19	$('body').on( 'click', '.ldms-file__meta', function(e) {
20
21		// Reset classes
22		$('.ldms-session__tabs-tab').removeClass('is-active');
23		$('.ldms-session__content-tab').removeClass('is-active');
24
25		$('#tab-parent-discussions').addClass('is-active');
26		$('#tab-discussions').addClass('is-active');
27
28		var target = $(this).data('target');
29		target = $(target);
30
31		$('html, body').animate({
32			scrollTop: target.offset().top
33		}, 1000, function() {
34			$(target).focus();
35		});
36
37
38	});
39
40	$('body').on( 'click', '.ldms-archive-message', function(e) {
41
42		e.preventDefault();
43
44		var elm = $(this);
45
46		if( $(this).data('status') == 'archive' ) {
47			r = confirm( ldmaajax.ldms_archive_txt );
48		} else {
49			r = confirm( ldmaajax.ldms_unarchive_txt );
50		}
51
52		if ( r == true ) {
53
54			$.ajax({
55				type : "get",
56				dataType : "json",
57				url : ldmaajax.ajaxurl,
58				data : {
59					action: "ldms_archive_message",
60					post_id : $(this).data('message'),
61					nonce: $(this).data('nonce'),
62					status : $(this).data('status'),
63				},
64				success: function( data ) {
65					$(elm).parents('tr').slideUp('slow');
66				},
67				error: function(errorThrown){
68					alert(errorThrown);
69				}
70
71			});
72
73		}
74
75	});
76
77	$('.ldms-star-session').click(function(e){
78
79		e.preventDefault();
80
81		var elm = $(this);
82
83		$.ajax({
84			type : "get",
85			dataType : "json",
86			url : ldmaajax.ajaxurl,
87			data : {
88				action: "ldms_star_message",
89				post_id : $(this).data('post_id'),
90				status : $(this).data('status'),
91			},
92			success: function( data ) {
93
94				if( $(elm).data('status') == 'unstared' ) {
95					$(elm).parents('tr').addClass('ldms-stared');
96					$(elm).data( 'status', 'stared' );
97				} else {
98					$(elm).parents('tr').removeClass('ldms-stared')
99					$(elm).data( 'status', 'unstared' );
100				}
101
102
103			},
104			error: function(errorThrown){
105				alert(errorThrown);
106			}
107
108		});
109
110
111	});
112
113	$( '.ldms-delete-message' ).click(function(e) {
114
115        e.preventDefault();
116
117        var r = confirm( ldmaajax.ldms_delete_txt );
118
119        if ( r == true ) {
120
121            var message_id = $(this).data( 'message' );
122			var nonce = $(this).data( 'nonce' );
123			var row = $(this).parents( 'tr' );
124            $.ajax({
125                type : "post",
126				dataType : "json",
127				url : ldmaajax.ajaxurl,
128				data : {
129					action: "ldms_delete_message",
130					message_id : message_id,
131					nonce : nonce
132				},
133                success: function( data ) {
134					if(data.success){
135						row.fadeOut( 'slow' );
136					}else{
137						alert(data.data)
138					}
139
140                },
141				error: function(errorThrown){
142					alert(errorThrown);
143				}
144
145            });
146
147        }
148
149    });
150
151
152	$('button[data-toggle="message-modal"]').on('click', function(){
153		$('body').toggleClass('modal-open');
154		$('.message-modal').toggleClass('open');
155	});
156
157	$('.close').on('click', function(){
158		if( jQuery('body').hasClass('modal-open') ){
159			jQuery('body').toggleClass('modal-open');
160			jQuery('.message-modal').toggleClass('open');
161		}
162	});
163
164
165	$('#ldms-message-list table tr').click(function(e){
166
167		if( e.target.className !== 'ldms-delete-icon' && e.target.className !== 'ldms-star-session' && e.target.className !== 'ldms-archive-icon' ){
168
169			target = $(this).data('js-url');
170
171			if( target ) {
172				e.preventDefault();
173				window.location = target;
174			}
175
176		}
177
178	});
179
180
181	if( window.location.hash ){
182
183		target = window.location.hash;
184
185		if( target.search('comment-') ) {
186			jQuery(target).children('.ldms-comment-wrapper').addClass('ldms-focus');
187		}
188
189	}
190
191	$('.js-ldms-tooltip').tooltip();
192
193});
194
195jQuery(window).bind( 'hashchange', function(e) {
196
197	target = window.location.hash;
198
199	if( target.search('comment-') ) {
200
201		jQuery('.ldms-comment .ldms-comment-wrapper').removeClass('ldms-focus');
202
203		jQuery(target).find('.ldms-comment-wrapper').addClass('ldms-focus');
204
205	}
206
207});
208
209
210/**
211 * Tooltips
212 */
213
214
215
216 +function ($) {
217   'use strict';
218
219   // TOOLTIP PUBLIC CLASS DEFINITION
220   // ===============================
221
222   var Tooltip = function (element, options) {
223     this.type       = null
224     this.options    = null
225     this.enabled    = null
226     this.timeout    = null
227     this.hoverState = null
228     this.$element   = null
229     this.inState    = null
230
231     this.init('tooltip', element, options)
232   }
233
234   Tooltip.VERSION  = '3.3.7'
235
236   Tooltip.TRANSITION_DURATION = 150
237
238   Tooltip.DEFAULTS = {
239     animation: true,
240     placement: 'top',
241     selector: false,
242     template: '<div class="lds-tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',
243     trigger: 'hover focus',
244     title: '',
245     delay: 0,
246     html: false,
247     container: false,
248     viewport: {
249       selector: 'body',
250       padding: 0
251     }
252   }
253
254   Tooltip.prototype.init = function (type, element, options) {
255     this.enabled   = true
256     this.type      = type
257     this.$element  = $(element)
258     this.options   = this.getOptions(options)
259     this.$viewport = this.options.viewport && $($.isFunction(this.options.viewport) ? this.options.viewport.call(this, this.$element) : (this.options.viewport.selector || this.options.viewport))
260     this.inState   = { click: false, hover: false, focus: false }
261
262     if (this.$element[0] instanceof document.constructor && !this.options.selector) {
263       throw new Error('`selector` option must be specified when initializing ' + this.type + ' on the window.document object!')
264     }
265
266     var triggers = this.options.trigger.split(' ')
267
268     for (var i = triggers.length; i--;) {
269       var trigger = triggers[i]
270
271       if (trigger == 'click') {
272         this.$element.on('click.' + this.type, this.options.selector, $.proxy(this.toggle, this))
273       } else if (trigger != 'manual') {
274         var eventIn  = trigger == 'hover' ? 'mouseenter' : 'focusin'
275         var eventOut = trigger == 'hover' ? 'mouseleave' : 'focusout'
276
277         this.$element.on(eventIn  + '.' + this.type, this.options.selector, $.proxy(this.enter, this))
278         this.$element.on(eventOut + '.' + this.type, this.options.selector, $.proxy(this.leave, this))
279       }
280     }
281
282     this.options.selector ?
283       (this._options = $.extend({}, this.options, { trigger: 'manual', selector: '' })) :
284       this.fixTitle()
285   }
286
287   Tooltip.prototype.getDefaults = function () {
288     return Tooltip.DEFAULTS
289   }
290
291   Tooltip.prototype.getOptions = function (options) {
292     options = $.extend({}, this.getDefaults(), this.$element.data(), options)
293
294     if (options.delay && typeof options.delay == 'number') {
295       options.delay = {
296         show: options.delay,
297         hide: options.delay
298       }
299     }
300
301     return options
302   }
303
304   Tooltip.prototype.getDelegateOptions = function () {
305     var options  = {}
306     var defaults = this.getDefaults()
307
308     this._options && $.each(this._options, function (key, value) {
309       if (defaults[key] != value) options[key] = value
310     })
311
312     return options
313   }
314
315   Tooltip.prototype.enter = function (obj) {
316     var self = obj instanceof this.constructor ?
317       obj : $(obj.currentTarget).data('bs.' + this.type)
318
319     if (!self) {
320       self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
321       $(obj.currentTarget).data('bs.' + this.type, self)
322     }
323
324     if (obj instanceof $.Event) {
vendor: 10,241 bytes, lines 325-603
325       self.inState[obj.type == 'focusin' ? 'focus' : 'hover'] = true
326     }
327
328     if (self.tip().hasClass('in') || self.hoverState == 'in') {
329       self.hoverState = 'in'
330       return
331     }
332
333     clearTimeout(self.timeout)
334
335     self.hoverState = 'in'
336
337     if (!self.options.delay || !self.options.delay.show) return self.show()
338
339     self.timeout = setTimeout(function () {
340       if (self.hoverState == 'in') self.show()
341     }, self.options.delay.show)
342   }
343
344   Tooltip.prototype.isInStateTrue = function () {
345     for (var key in this.inState) {
346       if (this.inState[key]) return true
347     }
348
349     return false
350   }
351
352   Tooltip.prototype.leave = function (obj) {
353     var self = obj instanceof this.constructor ?
354       obj : $(obj.currentTarget).data('bs.' + this.type)
355
356     if (!self) {
357       self = new this.constructor(obj.currentTarget, this.getDelegateOptions())
358       $(obj.currentTarget).data('bs.' + this.type, self)
359     }
360
361     if (obj instanceof $.Event) {
362       self.inState[obj.type == 'focusout' ? 'focus' : 'hover'] = false
363     }
364
365     if (self.isInStateTrue()) return
366
367     clearTimeout(self.timeout)
368
369     self.hoverState = 'out'
370
371     if (!self.options.delay || !self.options.delay.hide) return self.hide()
372
373     self.timeout = setTimeout(function () {
374       if (self.hoverState == 'out') self.hide()
375     }, self.options.delay.hide)
376   }
377
378   Tooltip.prototype.show = function () {
379     var e = $.Event('show.bs.' + this.type)
380
381     if (this.hasContent() && this.enabled) {
382       this.$element.trigger(e)
383
384       var inDom = $.contains(this.$element[0].ownerDocument.documentElement, this.$element[0])
385       if (e.isDefaultPrevented() || !inDom) return
386       var that = this
387
388       var $tip = this.tip()
389
390       var tipId = this.getUID(this.type)
391
392       this.setContent()
393       $tip.attr('id', tipId)
394       this.$element.attr('aria-describedby', tipId)
395
396       if (this.options.animation) $tip.addClass('fade')
397
398       var placement = typeof this.options.placement == 'function' ?
399         this.options.placement.call(this, $tip[0], this.$element[0]) :
400         this.options.placement
401
402       var autoToken = /\s?auto?\s?/i
403       var autoPlace = autoToken.test(placement)
404       if (autoPlace) placement = placement.replace(autoToken, '') || 'top'
405
406       $tip
407         .detach()
408         .css({ top: 0, left: 0, display: 'block' })
409         .addClass(placement)
410         .data('bs.' + this.type, this)
411
412       this.options.container ? $tip.appendTo(this.options.container) : $tip.insertAfter(this.$element)
413       this.$element.trigger('inserted.bs.' + this.type)
414
415       var pos          = this.getPosition()
416       var actualWidth  = $tip[0].offsetWidth
417       var actualHeight = $tip[0].offsetHeight
418
419       if (autoPlace) {
420         var orgPlacement = placement
421         var viewportDim = this.getPosition(this.$viewport)
422
423         placement = placement == 'bottom' && pos.bottom + actualHeight > viewportDim.bottom ? 'top'    :
424                     placement == 'top'    && pos.top    - actualHeight < viewportDim.top    ? 'bottom' :
425                     placement == 'right'  && pos.right  + actualWidth  > viewportDim.width  ? 'left'   :
426                     placement == 'left'   && pos.left   - actualWidth  < viewportDim.left   ? 'right'  :
427                     placement
428
429         $tip
430           .removeClass(orgPlacement)
431           .addClass(placement)
432       }
433
434       var calculatedOffset = this.getCalculatedOffset(placement, pos, actualWidth, actualHeight)
435
436       this.applyPlacement(calculatedOffset, placement)
437
438       var complete = function () {
439         var prevHoverState = that.hoverState
440         that.$element.trigger('shown.bs.' + that.type)
441         that.hoverState = null
442
443         if (prevHoverState == 'out') that.leave(that)
444       }
445
446       $.support.transition && this.$tip.hasClass('fade') ?
447         $tip
448           .one('bsTransitionEnd', complete)
449           .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
450         complete()
451     }
452   }
453
454   Tooltip.prototype.applyPlacement = function (offset, placement) {
455     var $tip   = this.tip()
456     var width  = $tip[0].offsetWidth
457     var height = $tip[0].offsetHeight
458
459     // manually read margins because getBoundingClientRect includes difference
460     var marginTop = parseInt($tip.css('margin-top'), 10)
461     var marginLeft = parseInt($tip.css('margin-left'), 10)
462
463     // we must check for NaN for ie 8/9
464     if (isNaN(marginTop))  marginTop  = 0
465     if (isNaN(marginLeft)) marginLeft = 0
466
467     offset.top  += marginTop
468     offset.left += marginLeft
469
470     // $.fn.offset doesn't round pixel values
471     // so we use setOffset directly with our own function B-0
472     $.offset.setOffset($tip[0], $.extend({
473       using: function (props) {
474         $tip.css({
475           top: Math.round(props.top),
476           left: Math.round(props.left)
477         })
478       }
479     }, offset), 0)
480
481     $tip.addClass('in')
482
483     // check to see if placing tip in new offset caused the tip to resize itself
484     var actualWidth  = $tip[0].offsetWidth
485     var actualHeight = $tip[0].offsetHeight
486
487     if (placement == 'top' && actualHeight != height) {
488       offset.top = offset.top + height - actualHeight
489     }
490
491     var delta = this.getViewportAdjustedDelta(placement, offset, actualWidth, actualHeight)
492
493     if (delta.left) offset.left += delta.left
494     else offset.top += delta.top
495
496     var isVertical          = /top|bottom/.test(placement)
497     var arrowDelta          = isVertical ? delta.left * 2 - width + actualWidth : delta.top * 2 - height + actualHeight
498     var arrowOffsetPosition = isVertical ? 'offsetWidth' : 'offsetHeight'
499
500     $tip.offset(offset)
501     this.replaceArrow(arrowDelta, $tip[0][arrowOffsetPosition], isVertical)
502   }
503
504   Tooltip.prototype.replaceArrow = function (delta, dimension, isVertical) {
505     this.arrow()
506       .css(isVertical ? 'left' : 'top', 50 * (1 - delta / dimension) + '%')
507       .css(isVertical ? 'top' : 'left', '')
508   }
509
510   Tooltip.prototype.setContent = function () {
511     var $tip  = this.tip()
512     var title = this.getTitle()
513
514     $tip.find('.tooltip-inner')[this.options.html ? 'html' : 'text'](title)
515     $tip.removeClass('fade in top bottom left right')
516   }
517
518   Tooltip.prototype.hide = function (callback) {
519     var that = this
520     var $tip = $(this.$tip)
521     var e    = $.Event('hide.bs.' + this.type)
522
523     function complete() {
524       if (that.hoverState != 'in') $tip.detach()
525       if (that.$element) { // TODO: Check whether guarding this code with this `if` is really necessary.
526         that.$element
527           .removeAttr('aria-describedby')
528           .trigger('hidden.bs.' + that.type)
529       }
530       callback && callback()
531     }
532
533     this.$element.trigger(e)
534
535     if (e.isDefaultPrevented()) return
536
537     $tip.removeClass('in')
538
539     $.support.transition && $tip.hasClass('fade') ?
540       $tip
541         .one('bsTransitionEnd', complete)
542         .emulateTransitionEnd(Tooltip.TRANSITION_DURATION) :
543       complete()
544
545     this.hoverState = null
546
547     return this
548   }
549
550   Tooltip.prototype.fixTitle = function () {
551     var $e = this.$element
552     if ($e.attr('title') || typeof $e.attr('data-original-title') != 'string') {
553       $e.attr('data-original-title', $e.attr('title') || '').attr('title', '')
554     }
555   }
556
557   Tooltip.prototype.hasContent = function () {
558     return this.getTitle()
559   }
560
561   Tooltip.prototype.getPosition = function ($element) {
562     $element   = $element || this.$element
563
564     var el     = $element[0]
565     var isBody = el.tagName == 'BODY'
566
567     var elRect    = el.getBoundingClientRect()
568     if (elRect.width == null) {
569       // width and height are missing in IE8, so compute them manually; see https://github.com/twbs/bootstrap/issues/14093
570       elRect = $.extend({}, elRect, { width: elRect.right - elRect.left, height: elRect.bottom - elRect.top })
571     }
572     var isSvg = window.SVGElement && el instanceof window.SVGElement
573     // Avoid using $.offset() on SVGs since it gives incorrect results in jQuery 3.
574     // See https://github.com/twbs/bootstrap/issues/20280
575     var elOffset  = isBody ? { top: 0, left: 0 } : (isSvg ? null : $element.offset())
576     var scroll    = { scroll: isBody ? document.documentElement.scrollTop || document.body.scrollTop : $element.scrollTop() }
577     var outerDims = isBody ? { width: $(window).width(), height: $(window).height() } : null
578
579     return $.extend({}, elRect, scroll, outerDims, elOffset)
580   }
581
582   Tooltip.prototype.getCalculatedOffset = function (placement, pos, actualWidth, actualHeight) {
583     return placement == 'bottom' ? { top: pos.top + pos.height,   left: pos.left + pos.width / 2 - actualWidth / 2 } :
584            placement == 'top'    ? { top: pos.top - actualHeight, left: pos.left + pos.width / 2 - actualWidth / 2 } :
585            placement == 'left'   ? { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth } :
586         /* placement == 'right' */ { top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width }
587
588   }
589
590   Tooltip.prototype.getViewportAdjustedDelta = function (placement, pos, actualWidth, actualHeight) {
591     var delta = { top: 0, left: 0 }
592     if (!this.$viewport) return delta
593
594     var viewportPadding = this.options.viewport && this.options.viewport.padding || 0
595     var viewportDimensions = this.getPosition(this.$viewport)
596
597     if (/right|left/.test(placement)) {
598       var topEdgeOffset    = pos.top - viewportPadding - viewportDimensions.scroll
599       var bottomEdgeOffset = pos.top + viewportPadding - viewportDimensions.scroll + actualHeight
600       if (topEdgeOffset < viewportDimensions.top) { // top overflow
601         delta.top = viewportDimensions.top - topEdgeOffset
602       } else if (bottomEdgeOffset > viewportDimensions.top + viewportDimensions.height) { // bottom overflow
603         delta.top = viewportDimensions.top + viewportDimensions.height - bottom
vendor: 5,317 bytes, lines 603-785
603EdgeOffset
604       }
605     } else {
606       var leftEdgeOffset  = pos.left - viewportPadding
607       var rightEdgeOffset = pos.left + viewportPadding + actualWidth
608       if (leftEdgeOffset < viewportDimensions.left) { // left overflow
609         delta.left = viewportDimensions.left - leftEdgeOffset
610       } else if (rightEdgeOffset > viewportDimensions.right) { // right overflow
611         delta.left = viewportDimensions.left + viewportDimensions.width - rightEdgeOffset
612       }
613     }
614
615     return delta
616   }
617
618   Tooltip.prototype.getTitle = function () {
619     var title
620     var $e = this.$element
621     var o  = this.options
622
623     title = $e.attr('data-original-title')
624       || (typeof o.title == 'function' ? o.title.call($e[0]) :  o.title)
625
626     return title
627   }
628
629   Tooltip.prototype.getUID = function (prefix) {
630     do prefix += ~~(Math.random() * 1000000)
631     while (document.getElementById(prefix))
632     return prefix
633   }
634
635   Tooltip.prototype.tip = function () {
636     if (!this.$tip) {
637       this.$tip = $(this.options.template)
638       if (this.$tip.length != 1) {
639         throw new Error(this.type + ' `template` option must consist of exactly 1 top-level element!')
640       }
641     }
642     return this.$tip
643   }
644
645   Tooltip.prototype.arrow = function () {
646     return (this.$arrow = this.$arrow || this.tip().find('.tooltip-arrow'))
647   }
648
649   Tooltip.prototype.enable = function () {
650     this.enabled = true
651   }
652
653   Tooltip.prototype.disable = function () {
654     this.enabled = false
655   }
656
657   Tooltip.prototype.toggleEnabled = function () {
658     this.enabled = !this.enabled
659   }
660
661   Tooltip.prototype.toggle = function (e) {
662     var self = this
663     if (e) {
664       self = $(e.currentTarget).data('bs.' + this.type)
665       if (!self) {
666         self = new this.constructor(e.currentTarget, this.getDelegateOptions())
667         $(e.currentTarget).data('bs.' + this.type, self)
668       }
669     }
670
671     if (e) {
672       self.inState.click = !self.inState.click
673       if (self.isInStateTrue()) self.enter(self)
674       else self.leave(self)
675     } else {
676       self.tip().hasClass('in') ? self.leave(self) : self.enter(self)
677     }
678   }
679
680   Tooltip.prototype.destroy = function () {
681     var that = this
682     clearTimeout(this.timeout)
683     this.hide(function () {
684       that.$element.off('.' + that.type).removeData('bs.' + that.type)
685       if (that.$tip) {
686         that.$tip.detach()
687       }
688       that.$tip = null
689       that.$arrow = null
690       that.$viewport = null
691       that.$element = null
692     })
693   }
694
695
696   // TOOLTIP PLUGIN DEFINITION
697   // =========================
698
699   function Plugin(option) {
700     return this.each(function () {
701       var $this   = $(this)
702       var data    = $this.data('bs.tooltip')
703       var options = typeof option == 'object' && option
704
705       if (!data && /destroy|hide/.test(option)) return
706       if (!data) $this.data('bs.tooltip', (data = new Tooltip(this, options)))
707       if (typeof option == 'string') data[option]()
708     })
709   }
710
711   var old = $.fn.tooltip
712
713   $.fn.tooltip             = Plugin
714   $.fn.tooltip.Constructor = Tooltip
715
716
717   // TOOLTIP NO CONFLICT
718   // ===================
719
720   $.fn.tooltip.noConflict = function () {
721     $.fn.tooltip = old
722     return this
723   }
724
725 }(jQuery);
726
727 /* ========================================================================
728  * Bootstrap: transition.js v3.3.7
729  * http://getbootstrap.com/javascript/#transitions
730  * ========================================================================
731  * Copyright 2011-2016 Twitter, Inc.
732  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
733  * ======================================================================== */
734
735
736 +function ($) {
737   'use strict';
738
739   // CSS TRANSITION SUPPORT (Shoutout: http://www.modernizr.com/)
740   // ============================================================
741
742   function transitionEnd() {
743     var el = document.createElement('bootstrap')
744
745     var transEndEventNames = {
746       WebkitTransition : 'webkitTransitionEnd',
747       MozTransition    : 'transitionend',
748       OTransition      : 'oTransitionEnd otransitionend',
749       transition       : 'transitionend'
750     }
751
752     for (var name in transEndEventNames) {
753       if (el.style[name] !== undefined) {
754         return { end: transEndEventNames[name] }
755       }
756     }
757
758     return false // explicit for ie8 (  ._.)
759   }
760
761   // http://blog.alexmaccaw.com/css-transitions
762   $.fn.emulateTransitionEnd = function (duration) {
763     var called = false
764     var $el = this
765     $(this).one('bsTransitionEnd', function () { called = true })
766     var callback = function () { if (!called) $($el).trigger($.support.transition.end) }
767     setTimeout(callback, duration)
768     return this
769   }
770
771   $(function () {
772     $.support.transition = transitionEnd()
773
774     if (!$.support.transition) return
775
776     $.event.special.bsTransitionEnd = {
777       bindType: $.support.transition.end,
778       delegateType: $.support.transition.end,
779       handle: function (e) {
780         if ($(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
781       }
782     }
783   })
784
785 }(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.