vendor: 62,651 bytes, lines 1-1073
1if ("undefined" == typeof jQuery) throw new Error("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript."); 2! function(t) { 3 var e = jQuery.fn.jquery.split(" ")[0].split("."); 4 if (e[0] < 2 && e[1] < 9 || 1 == e[0] && 9 == e[1] && e[2] < 1 || e[0] >= 4) throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0") 5}(), 6function() { 7 function t(t, e) { 8 if (!t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); 9 return !e || "object" != typeof e && "function" != typeof e ? t : e 10 } 11 12 function e(t, e) { 13 if ("function" != typeof e && null !== e) throw new TypeError("Super expression must either be null or a function, not " + typeof e); 14 t.prototype = Object.create(e && e.prototype, { 15 constructor: { 16 value: t, 17 enumerable: !1, 18 writable: !0, 19 configurable: !0 20 } 21 }), e && (Object.setPrototypeOf ? Object.setPrototypeOf(t, e) : t.__proto__ = e) 22 } 23 24 function n(t, e) { 25 if (!(t instanceof e)) throw new TypeError("Cannot call a class as a function") 26 } 27 var i = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(t) { 28 return typeof t 29 } : function(t) { 30 return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t 31 }, 32 o = function() { 33 function t(t, e) { 34 for (var n = 0; n < e.length; n++) { 35 var i = e[n]; 36 i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i) 37 } 38 } 39 return function(e, n, i) { 40 return n && t(e.prototype, n), i && t(e, i), e 41 } 42 }(), 43 r = function(t) { 44 function e(t) { 45 return {}.toString.call(t).match(/\s([a-zA-Z]+)/)[1].toLowerCase() 46 } 47 48 function n(t) { 49 return (t[0] || t).nodeType 50 } 51 52 function i() { 53 return { 54 bindType: s.end, 55 delegateType: s.end, 56 handle: function(e) { 57 if (t(e.target).is(this)) return e.handleObj.handler.apply(this, arguments) 58 } 59 } 60 } 61 62 function o() { 63 if (window.QUnit) return !1; 64 var t = document.createElement("bootstrap"); 65 for (var e in a) 66 if (void 0 !== t.style[e]) return { 67 end: a[e] 68 }; 69 return !1 70 } 71 72 function r(e) { 73 var n = this, 74 i = !1; 75 return t(this).one(l.TRANSITION_END, function() { 76 i = !0 77 }), setTimeout(function() { 78 i || l.triggerTransitionEnd(n) 79 }, e), this 80 } 81 var s = !1, 82 a = { 83 WebkitTransition: "webkitTransitionEnd", 84 MozTransition: "transitionend", 85 OTransition: "oTransitionEnd otransitionend", 86 transition: "transitionend" 87 }, 88 l = { 89 TRANSITION_END: "bsTransitionEnd", 90 getUID: function(t) { 91 do { 92 t += ~~(1e6 * Math.random()) 93 } while (document.getElementById(t)); 94 return t 95 }, 96 getSelectorFromElement: function(e) { 97 var n = e.getAttribute("data-target"); 98 n && "#" !== n || (n = e.getAttribute("href") || ""); 99 try { 100 return t(n).length > 0 ? n : null 101 } catch (t) { 102 return null 103 } 104 }, 105 reflow: function(t) { 106 return t.offsetHeight 107 }, 108 triggerTransitionEnd: function(e) { 109 t(e).trigger(s.end) 110 }, 111 supportsTransitionEnd: function() { 112 return Boolean(s) 113 }, 114 typeCheckConfig: function(t, i, o) { 115 for (var r in o) 116 if (o.hasOwnProperty(r)) { 117 var s = o[r], 118 a = i[r], 119 l = a && n(a) ? "element" : e(a); 120 if (!new RegExp(s).test(l)) throw new Error(t.toUpperCase() + ': Option "' + r + '" provided type "' + l + '" but expected type "' + s + '".') 121 } 122 } 123 }; 124 return s = o(), t.fn.emulateTransitionEnd = r, l.supportsTransitionEnd() && (t.event.special[l.TRANSITION_END] = i()), l 125 }(jQuery), 126 s = (function(t) { 127 var e = "htb-alert", 128 i = t.fn[e], 129 s = { 130 DISMISS: '[data-dismiss="alert"]' 131 }, 132 a = { 133 CLOSE: "htb-close.htbbs.htb-alert", 134 CLOSED: "htb-closed.htbbs.htb-alert", 135 CLICK_DATA_API: "click.htbbs.htb-alert.data-api" 136 }, 137 l = { 138 ALERT: "htb-alert", 139 FADE: "htb-fade", 140 SHOW: "htb-show" 141 }, 142 h = function() { 143 function e(t) { 144 n(this, e), this._element = t 145 } 146 return e.prototype.close = function(t) { 147 t = t || this._element; 148 var e = this._getRootElement(t); 149 this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e) 150 }, e.prototype.dispose = function() { 151 t.removeData(this._element, "htbbs.htb-alert"), this._element = null 152 }, e.prototype._getRootElement = function(e) { 153 var n = r.getSelectorFromElement(e), 154 i = !1; 155 return n && (i = t(n)[0]), i || (i = t(e).closest("." + l.ALERT)[0]), i 156 }, e.prototype._triggerCloseEvent = function(e) { 157 var n = t.Event(a.CLOSE); 158 return t(e).trigger(n), n 159 }, e.prototype._removeElement = function(e) { 160 var n = this; 161 t(e).removeClass(l.SHOW), r.supportsTransitionEnd() && t(e).hasClass(l.FADE) ? t(e).one(r.TRANSITION_END, function(t) { 162 return n._destroyElement(e, t) 163 }).emulateTransitionEnd(150) : this._destroyElement(e) 164 }, e.prototype._destroyElement = function(e) { 165 t(e).detach().trigger(a.CLOSED).remove() 166 }, e._jQueryInterface = function(n) { 167 return this.each(function() { 168 var i = t(this), 169 o = i.data("htbbs.htb-alert"); 170 o || (o = new e(this), i.data("htbbs.htb-alert", o)), "htb-close" === n && o[n](this) 171 }) 172 }, e._handleDismiss = function(t) { 173 return function(e) { 174 e && e.preventDefault(), t.close(this) 175 } 176 }, o(e, null, [{ 177 key: "VERSION", 178 get: function() { 179 return "4.0.0-beta" 180 } 181 }]), e 182 }(); 183 t(document).on(a.CLICK_DATA_API, s.DISMISS, h._handleDismiss(new h)), t.fn[e] = h._jQueryInterface, t.fn[e].Constructor = h, t.fn[e].noConflict = function() { 184 return t.fn[e] = i, h._jQueryInterface 185 } 186 }(jQuery), function(t) { 187 var e = "htb-button", 188 i = t.fn[e], 189 r = { 190 ACTIVE: "htb-active", 191 BUTTON: "htb-btn", 192 FOCUS: "htb-focus" 193 }, 194 s = { 195 DATA_TOGGLE_CARROT: '[data-toggle^="button"]', 196 DATA_TOGGLE: '[data-toggle="buttons"]', 197 INPUT: "input", 198 ACTIVE: ".htb-active", 199 BUTTON: ".htb-btn" 200 }, 201 a = { 202 CLICK_DATA_API: "click.htbbs.htb-button.data-api", 203 FOCUS_BLUR_DATA_API: "htb-focus.htbbs.htb-button.data-api blur.htbbs.htb-button.data-api" 204 }, 205 l = function() { 206 function e(t) { 207 n(this, e), this._element = t 208 } 209 return e.prototype.toggle = function() { 210 var e = !0, 211 n = !0, 212 i = t(this._element).closest(s.DATA_TOGGLE)[0]; 213 if (i) { 214 var o = t(this._element).find(s.INPUT)[0]; 215 if (o) { 216 if ("radio" === o.type) 217 if (o.checked && t(this._element).hasClass(r.ACTIVE)) e = !1; 218 else { 219 var a = t(i).find(s.ACTIVE)[0]; 220 a && t(a).removeClass(r.ACTIVE) 221 } 222 if (e) { 223 if (o.hasAttribute("disabled") || i.hasAttribute("disabled") || o.classList.contains("disabled") || i.classList.contains("disabled")) return; 224 o.checked = !t(this._element).hasClass(r.ACTIVE), t(o).trigger("change") 225 } 226 o.focus(), n = !1 227 } 228 } 229 n && this._element.setAttribute("aria-pressed", !t(this._element).hasClass(r.ACTIVE)), e && t(this._element).toggleClass(r.ACTIVE) 230 }, e.prototype.dispose = function() { 231 t.removeData(this._element, "htbbs.htb-button"), this._element = null 232 }, e._jQueryInterface = function(n) { 233 return this.each(function() { 234 var i = t(this).data("htbbs.htb-button"); 235 i || (i = new e(this), t(this).data("htbbs.htb-button", i)), "toggle" === n && i[n]() 236 }) 237 }, o(e, null, [{ 238 key: "VERSION", 239 get: function() { 240 return "4.0.0-beta" 241 } 242 }]), e 243 }(); 244 t(document).on(a.CLICK_DATA_API, s.DATA_TOGGLE_CARROT, function(e) { 245 e.preventDefault(); 246 var n = e.target; 247 t(n).hasClass(r.BUTTON) || (n = t(n).closest(s.BUTTON)), l._jQueryInterface.call(t(n), "toggle") 248 }).on(a.FOCUS_BLUR_DATA_API, s.DATA_TOGGLE_CARROT, function(e) { 249 var n = t(e.target).closest(s.BUTTON)[0]; 250 t(n).toggleClass(r.FOCUS, /^focus(in)?$/.test(e.type)) 251 }), t.fn[e] = l._jQueryInterface, t.fn[e].Constructor = l, t.fn[e].noConflict = function() { 252 return t.fn[e] = i, l._jQueryInterface 253 } 254 }(jQuery), function(t) { 255 var e = "htb-collapse", 256 s = "htbbs.htb-collapse", 257 a = t.fn[e], 258 l = { 259 toggle: !0, 260 parent: "" 261 }, 262 h = { 263 toggle: "boolean", 264 parent: "string" 265 }, 266 c = { 267 SHOW: "show.htbbs.htb-collapse", 268 SHOWN: "shown.htbbs.htb-collapse", 269 HIDE: "hide.htbbs.htb-collapse", 270 HIDDEN: "hidden.htbbs.htb-collapse", 271 CLICK_DATA_API: "click.htbbs.htb-collapse.data-api" 272 }, 273 u = { 274 SHOW: "htb-show", 275 COLLAPSE: "htb-collapse", 276 COLLAPSING: "htb-collapsing", 277 COLLAPSED: "htb-collapsed" 278 }, 279 d = { 280 WIDTH: "width", 281 HEIGHT: "height" 282 }, 283 f = { 284 ACTIVES: ".htb-show, .htb-collapsing", 285 DATA_TOGGLE: '[data-toggle="htbcollapse"]' 286 }, 287 p = function() { 288 function a(e, i) { 289 n(this, a), this._isTransitioning = !1, this._element = e, this._config = this._getConfig(i), this._triggerArray = t.makeArray(t('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]')); 290 for (var o = t(f.DATA_TOGGLE), s = 0; s < o.length; s++) { 291 var l = o[s], 292 h = r.getSelectorFromElement(l); 293 null !== h && t(h).filter(e).length > 0 && this._triggerArray.push(l) 294 } 295 this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle() 296 } 297 return a.prototype.toggle = function() { 298 t(this._element).hasClass(u.SHOW) ? this.hide() : this.show() 299 }, a.prototype.show = function() { 300 var e = this; 301 if (!this._isTransitioning && !t(this._element).hasClass(u.SHOW)) { 302 var n = void 0, 303 i = void 0; 304 if (this._parent && ((n = t.makeArray(t(this._parent).children().children(f.ACTIVES))).length || (n = null)), !(n && (i = t(n).data(s)) && i._isTransitioning)) { 305 var o = t.Event(c.SHOW); 306 if (t(this._element).trigger(o), !o.isDefaultPrevented()) { 307 n && (a._jQueryInterface.call(t(n), "hide"), i || t(n).data(s, null)); 308 var l = this._getDimension(); 309 t(this._element).removeClass(u.COLLAPSE).addClass(u.COLLAPSING), this._element.style[l] = 0, this._triggerArray.length && t(this._triggerArray).removeClass(u.COLLAPSED).attr("aria-expanded", !0), this.setTransitioning(!0); 310 var h = function() { 311 t(e._element).removeClass(u.COLLAPSING).addClass(u.COLLAPSE).addClass(u.SHOW), e._element.style[l] = "", e.setTransitioning(!1), t(e._element).trigger(c.SHOWN) 312 }; 313 if (r.supportsTransitionEnd()) { 314 var d = "scroll" + (l[0].toUpperCase() + l.slice(1)); 315 t(this._element).one(r.TRANSITION_END, h).emulateTransitionEnd(600), this._element.style[l] = this._element[d] + "px" 316 } else h() 317 } 318 } 319 } 320 }, a.prototype.hide = function() { 321 var e = this; 322 if (!this._isTransitioning && t(this._element).hasClass(u.SHOW)) { 323 var n = t.Event(c.HIDE); 324 if (t(this._element).trigger(n), !n.isDefaultPrevented()) { 325 var i = this._getDimension(); 326 if (this._element.style[i] = this._element.getBoundingClientRect()[i] + "px", r.reflow(this._element), t(this._element).addClass(u.COLLAPSING).removeClass(u.COLLAPSE).removeClass(u.SHOW), this._triggerArray.length) 327 for (var o = 0; o < this._triggerArray.length; o++) { 328 var s = this._triggerArray[o], 329 a = r.getSelectorFromElement(s); 330 null !== a && (t(a).hasClass(u.SHOW) || t(s).addClass(u.COLLAPSED).attr("aria-expanded", !1)) 331 } 332 this.setTransitioning(!0); 333 var l = function() { 334 e.setTransitioning(!1), t(e._element).removeClass(u.COLLAPSING).addClass(u.COLLAPSE).trigger(c.HIDDEN) 335 }; 336 this._element.style[i] = "", r.supportsTransitionEnd() ? t(this._element).one(r.TRANSITION_END, l).emulateTransitionEnd(600) : l() 337 } 338 } 339 }, a.prototype.setTransitioning = function(t) { 340 this._isTransitioning = t 341 }, a.prototype.dispose = function() { 342 t.removeData(this._element, s), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null 343 }, a.prototype._getConfig = function(n) { 344 return n = t.extend({}, l, n), n.toggle = Boolean(n.toggle), r.typeCheckConfig(e, n, h), n 345 }, a.prototype._getDimension = function() { 346 return t(this._element).hasClass(d.WIDTH) ? d.WIDTH : d.HEIGHT 347 }, a.prototype._getParent = function() { 348 var e = this, 349 n = t(this._config.parent)[0], 350 i = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]'; 351 return t(n).find(i).each(function(t, n) { 352 e._addAriaAndCollapsedClass(a._getTargetFromElement(n), [n]) 353 }), n 354 }, a.prototype._addAriaAndCollapsedClass = function(e, n) { 355 if (e) { 356 var i = t(e).hasClass(u.SHOW); 357 n.length && t(n).toggleClass(u.COLLAPSED, !i).attr("aria-expanded", i) 358 } 359 }, a._getTargetFromElement = function(e) { 360 var n = r.getSelectorFromElement(e); 361 return n ? t(n)[0] : null 362 }, a._jQueryInterface = function(e) { 363 return this.each(function() { 364 var n = t(this), 365 o = n.data(s), 366 r = t.extend({}, l, n.data(), "object" === (void 0 === e ? "undefined" : i(e)) && e); 367 if (!o && r.toggle && /show|hide/.test(e) && (r.toggle = !1), o || (o = new a(this, r), n.data(s, o)), "string" == typeof e) { 368 if (void 0 === o[e]) throw new Error('No method named "' + e + '"'); 369 o[e]() 370 } 371 }) 372 }, o(a, null, [{ 373 key: "VERSION", 374 get: function() { 375 return "4.0.0-beta" 376 } 377 }, { 378 key: "Default", 379 get: function() { 380 return l 381 } 382 }]), a 383 }(); 384 t(document).on(c.CLICK_DATA_API, f.DATA_TOGGLE, function(e) { 385 /input|textarea/i.test(e.target.tagName) || e.preventDefault(); 386 var n = t(this), 387 i = r.getSelectorFromElement(this); 388 t(i).each(function() { 389 var e = t(this), 390 i = e.data(s) ? "toggle" : n.data(); 391 p._jQueryInterface.call(e, i) 392 }) 393 }), t.fn[e] = p._jQueryInterface, t.fn[e].Constructor = p, t.fn[e].noConflict = function() { 394 return t.fn[e] = a, p._jQueryInterface 395 } 396 }(jQuery), function(t) { 397 var e = "htb-modal", 398 s = ".htbbs.htb-modal", 399 a = t.fn[e], 400 l = { 401 backdrop: !0, 402 keyboard: !0, 403 focus: !0, 404 show: !0 405 }, 406 h = { 407 backdrop: "(boolean|string)", 408 keyboard: "boolean", 409 focus: "boolean", 410 show: "boolean" 411 }, 412 c = { 413 HIDE: "hide.htbbs.htb-modal", 414 HIDDEN: "hidden.htbbs.htb-modal", 415 SHOW: "show.htbbs.htb-modal", 416 SHOWN: "shown.htbbs.htb-modal", 417 FOCUSIN: "focusin.htbbs.htb-modal", 418 RESIZE: "resize.htbbs.htb-modal", 419 CLICK_DISMISS: "click.dismiss.htbbs.htb-modal", 420 KEYDOWN_DISMISS: "keydown.dismiss.htbbs.htb-modal", 421 MOUSEUP_DISMISS: "mouseup.dismiss.htbbs.htb-modal", 422 MOUSEDOWN_DISMISS: "mousedown.dismiss.htbbs.htb-modal", 423 CLICK_DATA_API: "click.htbbs.htb-modal.data-api" 424 }, 425 u = { 426 SCROLLBAR_MEASURER: "htb-modal-scrollbar-measure", 427 BACKDROP: "htb-modal-backdrop", 428 OPEN: "htb-modal-open", 429 FADE: "htb-fade", 430 SHOW: "htb-show" 431 }, 432 d = { 433 DIALOG: ".htb-modal-dialog", 434 DATA_TOGGLE: '[data-toggle="htbmodal"]', 435 DATA_DISMISS: '[data-dismiss="modal"]', 436 FIXED_CONTENT: ".htb-fixed-top, .htb-fixed-bottom, .htb-is-fixed, .htb-sticky-top", 437 NAVBAR_TOGGLER: ".htb-navbar-toggler" 438 }, 439 f = function() { 440 function a(e, i) { 441 n(this, a), this._config = this._getConfig(i), this._element = e, this._dialog = t(e).find(d.DIALOG)[0], this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._originalBodyPadding = 0, this._scrollbarWidth = 0 442 } 443 return a.prototype.toggle = function(t) { 444 return this._isShown ? this.hide() : this.show(t) 445 }, a.prototype.show = function(e) { 446 var n = this; 447 if (!this._isTransitioning) { 448 r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE) && (this._isTransitioning = !0); 449 var i = t.Event(c.SHOW, { 450 relatedTarget: e 451 }); 452 t(this._element).trigger(i), this._isShown || i.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), t(document.body).addClass(u.OPEN), this._setEscapeEvent(), this._setResizeEvent(), t(this._element).on(c.CLICK_DISMISS, d.DATA_DISMISS, function(t) { 453 return n.hide(t) 454 }), t(this._dialog).on(c.MOUSEDOWN_DISMISS, function() { 455 t(n._element).one(c.MOUSEUP_DISMISS, function(e) { 456 t(e.target).is(n._element) && (n._ignoreBackdropClick = !0) 457 }) 458 }), this._showBackdrop(function() { 459 return n._showElement(e) 460 })) 461 } 462 }, a.prototype.hide = function(e) { 463 var n = this; 464 if (e && e.preventDefault(), !this._isTransitioning && this._isShown) { 465 var i = r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE); 466 i && (this._isTransitioning = !0); 467 var o = t.Event(c.HIDE); 468 t(this._element).trigger(o), this._isShown && !o.isDefaultPrevented() && (this._isShown = !1, this._setEscapeEvent(), this._setResizeEvent(), t(document).off(c.FOCUSIN), t(this._element).removeClass(u.SHOW), t(this._element).off(c.CLICK_DISMISS), t(this._dialog).off(c.MOUSEDOWN_DISMISS), i ? t(this._element).one(r.TRANSITION_END, function(t) { 469 return n._hideModal(t) 470 }).emulateTransitionEnd(300) : this._hideModal()) 471 } 472 }, a.prototype.dispose = function() { 473 t.removeData(this._element, "htbbs.htb-modal"), t(window, document, this._element, this._backdrop).off(s), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._scrollbarWidth = null 474 }, a.prototype.handleUpdate = function() { 475 this._adjustDialog() 476 }, a.prototype._getConfig = function(n) { 477 return n = t.extend({}, l, n), r.typeCheckConfig(e, n, h), n 478 }, a.prototype._showElement = function(e) { 479 var n = this, 480 i = r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE); 481 this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE || document.body.appendChild(this._element), this._element.style.display = "block", this._element.removeAttribute("aria-hidden"), this._element.scrollTop = 0, i && r.reflow(this._element), t(this._element).addClass(u.SHOW), this._config.focus && this._enforceFocus(); 482 var o = t.Event(c.SHOWN, { 483 relatedTarget: e 484 }), 485 s = function() { 486 n._config.focus && n._element.focus(), n._isTransitioning = !1, t(n._element).trigger(o) 487 }; 488 i ? t(this._dialog).one(r.TRANSITION_END, s).emulateTransitionEnd(300) : s() 489 }, a.prototype._enforceFocus = function() { 490 var e = this; 491 t(document).off(c.FOCUSIN).on(c.FOCUSIN, function(n) { 492 document === n.target || e._element === n.target || t(e._element).has(n.target).length || e._element.focus() 493 }) 494 }, a.prototype._setEscapeEvent = function() { 495 var e = this; 496 this._isShown && this._config.keyboard ? t(this._element).on(c.KEYDOWN_DISMISS, function(t) { 497 27 === t.which && (t.preventDefault(), e.hide()) 498 }) : this._isShown || t(this._element).off(c.KEYDOWN_DISMISS) 499 }, a.prototype._setResizeEvent = function() { 500 var e = this; 501 this._isShown ? t(window).on(c.RESIZE, function(t) { 502 return e.handleUpdate(t) 503 }) : t(window).off(c.RESIZE) 504 }, a.prototype._hideModal = function() { 505 var e = this; 506 this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._isTransitioning = !1, this._showBackdrop(function() { 507 t(document.body).removeClass(u.OPEN), e._resetAdjustments(), e._resetScrollbar(), t(e._element).trigger(c.HIDDEN) 508 }) 509 }, a.prototype._removeBackdrop = function() { 510 this._backdrop && (t(this._backdrop).remove(), this._backdrop = null) 511 }, a.prototype._showBackdrop = function(e) { 512 var n = this, 513 i = t(this._element).hasClass(u.FADE) ? u.FADE : ""; 514 if (this._isShown && this._config.backdrop) { 515 var o = r.supportsTransitionEnd() && i; 516 if (this._backdrop = document.createElement("div"), this._backdrop.className = u.BACKDROP, i && t(this._backdrop).addClass(i), t(this._backdrop).appendTo(document.body), t(this._element).on(c.CLICK_DISMISS, function(t) { 517 n._ignoreBackdropClick ? n._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === n._config.backdrop ? n._element.focus() : n.hide()) 518 }), o && r.reflow(this._backdrop), t(this._backdrop).addClass(u.SHOW), !e) return; 519 if (!o) return void e(); 520 t(this._backdrop).one(r.TRANSITION_END, e).emulateTransitionEnd(150) 521 } else if (!this._isShown && this._backdrop) { 522 t(this._backdrop).removeClass(u.SHOW); 523 var s = function() { 524 n._removeBackdrop(), e && e() 525 }; 526 r.supportsTransitionEnd() && t(this._element).hasClass(u.FADE) ? t(this._backdrop).one(r.TRANSITION_END, s).emulateTransitionEnd(150) : s() 527 } else e && e() 528 }, a.prototype._adjustDialog = function() { 529 var t = this._element.scrollHeight > document.documentElement.clientHeight; 530 !this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px") 531 }, a.prototype._resetAdjustments = function() { 532 this._element.style.paddingLeft = "", this._element.style.paddingRight = "" 533 }, a.prototype._checkScrollbar = function() { 534 this._isBodyOverflowing = document.body.clientWidth < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth() 535 }, a.prototype._setScrollbar = function() { 536 var e = this; 537 if (this._isBodyOverflowing) { 538 t(d.FIXED_CONTENT).each(function(n, i) { 539 var o = t(i)[0].style.paddingRight, 540 r = t(i).css("padding-right"); 541 t(i).data("padding-right", o).css("padding-right", parseFloat(r) + e._scrollbarWidth + "px") 542 }), t(d.NAVBAR_TOGGLER).each(function(n, i) { 543 var o = t(i)[0].style.marginRight, 544 r = t(i).css("margin-right"); 545 t(i).data("margin-right", o).css("margin-right", parseFloat(r) + e._scrollbarWidth + "px") 546 }); 547 var n = document.body.style.paddingRight, 548 i = t("body").css("padding-right"); 549 t("body").data("padding-right", n).css("padding-right", parseFloat(i) + this._scrollbarWidth + "px") 550 } 551 }, a.prototype._resetScrollbar = function() { 552 t(d.FIXED_CONTENT).each(function(e, n) { 553 var i = t(n).data("padding-right"); 554 void 0 !== i && t(n).css("padding-right", i).removeData("padding-right") 555 }), t(d.NAVBAR_TOGGLER).each(function(e, n) { 556 var i = t(n).data("margin-right"); 557 void 0 !== i && t(n).css("margin-right", i).removeData("margin-right") 558 }); 559 var e = t("body").data("padding-right"); 560 void 0 !== e && t("body").css("padding-right", e).removeData("padding-right") 561 }, a.prototype._getScrollbarWidth = function() { 562 var t = document.createElement("div"); 563 t.className = u.SCROLLBAR_MEASURER, document.body.appendChild(t); 564 var e = t.getBoundingClientRect().width - t.clientWidth; 565 return document.body.removeChild(t), e 566 }, a._jQueryInterface = function(e, n) { 567 return this.each(function() { 568 var o = t(this).data("bs.modal"), 569 r = t.extend({}, a.Default, t(this).data(), "object" === (void 0 === e ? "undefined" : i(e)) && e); 570 if (o || (o = new a(this, r), t(this).data("bs.modal", o)), "string" == typeof e) { 571 if (void 0 === o[e]) throw new Error('No method named "' + e + '"'); 572 o[e](n) 573 } else r.show && o.show(n) 574 }) 575 }, o(a, null, [{ 576 key: "VERSION", 577 get: function() { 578 return "4.0.0-beta" 579 } 580 }, { 581 key: "Default", 582 get: function() { 583 return l 584 } 585 }]), a 586 }(); 587 t(document).on(c.CLICK_DATA_API, d.DATA_TOGGLE, function(e) { 588 var n = this, 589 i = void 0, 590 o = r.getSelectorFromElement(this); 591 o && (i = t(o)[0]); 592 var s = t(i).data("htbbs.htb-modal") ? "toggle" : t.extend({}, t(i).data(), t(this).data()); 593 "A" !== this.tagName && "AREA" !== this.tagName || e.preventDefault(); 594 var a = t(i).one(c.SHOW, function(e) { 595 e.isDefaultPrevented() || a.one(c.HIDDEN, function() { 596 t(n).is(":visible") && n.focus() 597 }) 598 }); 599 f._jQueryInterface.call(t(i), s, this) 600 }), t.fn[e] = f._jQueryInterface, t.fn[e].Constructor = f, t.fn[e].noConflict = function() { 601 return t.fn[e] = a, f._jQueryInterface 602 } 603 }(jQuery), function(t) { 604 var e = t.fn.tab, 605 i = { 606 HIDE: "hide.htbbs.htb-tab", 607 HIDDEN: "hidden.htbbs.htb-tab", 608 SHOW: "show.htbbs.htb-tab", 609 SHOWN: "shown.htbbs.htb-tab", 610 CLICK_DATA_API: "click.htbbs.htb-tab.data-api" 611 }, 612 s = { 613 DROPDOWN_MENU: "htb-dropdown-menu", 614 ACTIVE: "htb-active", 615 DISABLED: "disabled", 616 FADE: "htb-fade", 617 SHOW: "htb-show" 618 }, 619 a = { 620 DROPDOWN: ".htb-dropdown", 621 NAV_LIST_GROUP: ".htb-nav, .htb-list-group", 622 ACTIVE: ".htb-active", 623 DATA_TOGGLE: '[data-toggle="htbtab"]', 624 DROPDOWN_TOGGLE: ".htb-dropdown-toggle", 625 DROPDOWN_ACTIVE_CHILD: "> .htb-dropdown-menu .htb-active" 626 }, 627 l = function() { 628 function e(t) { 629 n(this, e), this._element = t 630 } 631 return e.prototype.show = function() { 632 var e = this; 633 if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && t(this._element).hasClass(s.ACTIVE) || t(this._element).hasClass(s.DISABLED))) { 634 var n = void 0, 635 o = void 0, 636 l = t(this._element).closest(a.NAV_LIST_GROUP)[0], 637 h = r.getSelectorFromElement(this._element); 638 l && (o = t.makeArray(t(l).find(a.ACTIVE)), o = o[o.length - 1]); 639 var c = t.Event(i.HIDE, { 640 relatedTarget: this._element 641 }), 642 u = t.Event(i.SHOW, { 643 relatedTarget: o 644 }); 645 if (o && t(o).trigger(c), t(this._element).trigger(u), !u.isDefaultPrevented() && !c.isDefaultPrevented()) { 646 h && (n = t(h)[0]), this._activate(this._element, l); 647 var d = function() { 648 var n = t.Event(i.HIDDEN, { 649 relatedTarget: e._element 650 }), 651 r = t.Event(i.SHOWN, { 652 relatedTarget: o 653 }); 654 t(o).trigger(n), t(e._element).trigger(r) 655 }; 656 n ? this._activate(n, n.parentNode, d) : d() 657 } 658 } 659 }, e.prototype.dispose = function() { 660 t.removeData(this._element, "bs.tab"), this._element = null 661 }, e.prototype._activate = function(e, n, i) { 662 var o = this, 663 l = t(n).find(a.ACTIVE)[0], 664 h = i && r.supportsTransitionEnd() && l && t(l).hasClass(s.FADE), 665 c = function() { 666 return o._transitionComplete(e, l, h, i) 667 }; 668 l && h ? t(l).one(r.TRANSITION_END, c).emulateTransitionEnd(150) : c(), l && t(l).removeClass(s.SHOW) 669 }, e.prototype._transitionComplete = function(e, n, i, o) { 670 if (n) { 671 t(n).removeClass(s.ACTIVE); 672 var l = t(n.parentNode).find(a.DROPDOWN_ACTIVE_CHILD)[0]; 673 l && t(l).removeClass(s.ACTIVE), n.setAttribute("aria-expanded", !1) 674 } 675 if (t(e).addClass(s.ACTIVE), e.setAttribute("aria-expanded", !0), i ? (r.reflow(e), t(e).addClass(s.SHOW)) : t(e).removeClass(s.FADE), e.parentNode && t(e.parentNode).hasClass(s.DROPDOWN_MENU)) { 676 var h = t(e).closest(a.DROPDOWN)[0]; 677 h && t(h).find(a.DROPDOWN_TOGGLE).addClass(s.ACTIVE), e.setAttribute("aria-expanded", !0) 678 } 679 o && o() 680 }, e._jQueryInterface = function(n) { 681 return this.each(function() { 682 var i = t(this), 683 o = i.data("htbbs.htb-tab"); 684 if (o || (o = new e(this), i.data("htbbs.htb-tab", o)), "string" == typeof n) { 685 if (void 0 === o[n]) throw new Error('No method named "' + n + '"'); 686 o[n]() 687 } 688 }) 689 }, o(e, null, [{ 690 key: "VERSION", 691 get: function() { 692 return "4.0.0-beta" 693 } 694 }]), e 695 }(); 696 t(document).on(i.CLICK_DATA_API, a.DATA_TOGGLE, function(e) { 697 e.preventDefault(), l._jQueryInterface.call(t(this), "show") 698 }), t.fn.tab = l._jQueryInterface, t.fn.tab.Constructor = l, t.fn.tab.noConflict = function() { 699 return t.fn.tab = e, l._jQueryInterface 700 } 701 }(jQuery), function(t) { 702 if ("undefined" == typeof Popper) throw new Error("Bootstrap tooltips require Popper.js (https://popper.js.org)"); 703 var e = "htbtooltip", 704 s = ".htbbs.htb-tooltip", 705 a = t.fn[e], 706 l = new RegExp("(^|\\s)bs-tooltip\\S+", "g"), 707 h = { 708 animation: "boolean", 709 template: "string", 710 title: "(string|element|function)", 711 trigger: "string", 712 delay: "(number|object)", 713 html: "boolean", 714 selector: "(string|boolean)", 715 placement: "(string|function)", 716 offset: "(number|string)", 717 container: "(string|element|boolean)", 718 fallbackPlacement: "(string|array)" 719 }, 720 c = { 721 AUTO: "auto", 722 TOP: "top", 723 RIGHT: "right", 724 BOTTOM: "bottom", 725 LEFT: "left" 726 }, 727 u = { 728 animation: !0, 729 template: '<div class="htb-tooltip" role="tooltip"><div class="htb-arrow"></div><div class="htb-tooltip-inner"></div></div>', 730 trigger: "hover focus", 731 title: "", 732 delay: 0, 733 html: !1, 734 selector: !1, 735 placement: "top", 736 offset: 0, 737 container: !1, 738 fallbackPlacement: "flip" 739 }, 740 d = { 741 SHOW: "show", 742 OUT: "out" 743 }, 744 f = { 745 HIDE: "hide" + s, 746 HIDDEN: "hidden" + s, 747 SHOW: "show" + s, 748 SHOWN: "shown" + s, 749 INSERTED: "inserted" + s, 750 CLICK: "click" + s, 751 FOCUSIN: "focusin" + s, 752 FOCUSOUT: "focusout" + s, 753 MOUSEENTER: "mouseenter" + s, 754 MOUSELEAVE: "mouseleave" + s 755 }, 756 p = { 757 FADE: "htb-fade", 758 SHOW: "htb-show" 759 }, 760 _ = { 761 TOOLTIP: ".htb-tooltip", 762 TOOLTIP_INNER: ".htb-tooltip-inner", 763 ARROW: ".htb-arrow" 764 }, 765 g = { 766 HOVER: "hover", 767 FOCUS: "focus", 768 CLICK: "click", 769 MANUAL: "manual" 770 }, 771 m = function() { 772 function a(t, e) { 773 n(this, a), this._isEnabled = !0, this._timeout = 0, this._hoverState = "", this._activeTrigger = {}, this._popper = null, this.element = t, this.config = this._getConfig(e), this.tip = null, this._setListeners() 774 } 775 return a.prototype.enable = function() { 776 this._isEnabled = !0 777 }, a.prototype.disable = function() { 778 this._isEnabled = !1 779 }, a.prototype.toggleEnabled = function() { 780 this._isEnabled = !this._isEnabled 781 }, a.prototype.toggle = function(e) { 782 if (e) { 783 var n = this.constructor.DATA_KEY, 784 i = t(e.currentTarget).data(n); 785 i || (i = new this.constructor(e.currentTarget, this._getDelegateConfig()), t(e.currentTarget).data(n, i)), i._activeTrigger.click = !i._activeTrigger.click, i._isWithActiveTrigger() ? i._enter(null, i) : i._leave(null, i) 786 } else { 787 if (t(this.getTipElement()).hasClass(p.SHOW)) return void this._leave(null, this); 788 this._enter(null, this) 789 } 790 }, a.prototype.dispose = function() { 791 clearTimeout(this._timeout), t.removeData(this.element, this.constructor.DATA_KEY), t(this.element).off(this.constructor.EVENT_KEY), t(this.element).closest(".htb-modal").off("hide.htbbs.htb-modal"), this.tip && t(this.tip).remove(), this._isEnabled = null, this._timeout = null, this._hoverState = null, this._activeTrigger = null, null !== this._popper && this._popper.destroy(), this._popper = null, this.element = null, this.config = null, this.tip = null 792 }, a.prototype.show = function() { 793 var e = this; 794 if ("none" === t(this.element).css("display")) throw new Error("Please use show on visible elements"); 795 var n = t.Event(this.constructor.Event.SHOW); 796 if (this.isWithContent() && this._isEnabled) { 797 t(this.element).trigger(n); 798 var i = t.contains(this.element.ownerDocument.documentElement, this.element); 799 if (n.isDefaultPrevented() || !i) return; 800 var o = this.getTipElement(), 801 s = r.getUID(this.constructor.NAME); 802 o.setAttribute("id", s), this.element.setAttribute("aria-describedby", s), this.setContent(), this.config.animation && t(o).addClass(p.FADE); 803 var l = "function" == typeof this.config.placement ? this.config.placement.call(this, o, this.element) : this.config.placement, 804 h = this._getAttachment(l); 805 this.addAttachmentClass(h); 806 var c = !1 === this.config.container ? document.body : t(this.config.container); 807 t(o).data(this.constructor.DATA_KEY, this), t.contains(this.element.ownerDocument.documentElement, this.tip) || t(o).appendTo(c), t(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new Popper(this.element, o, { 808 placement: h, 809 modifiers: { 810 offset: { 811 offset: this.config.offset 812 }, 813 flip: { 814 behavior: this.config.fallbackPlacement 815 }, 816 arrow: { 817 element: _.ARROW 818 } 819 }, 820 onCreate: function(t) { 821 t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t) 822 }, 823 onUpdate: function(t) { 824 e._handlePopperPlacementChange(t) 825 } 826 }), t(o).addClass(p.SHOW), "ontouchstart" in document.documentElement && t("body").children().on("mouseover", null, t.noop); 827 var u = function() { 828 e.config.animation && e._fixTransition(); 829 var n = e._hoverState; 830 e._hoverState = null, t(e.element).trigger(e.constructor.Event.SHOWN), n === d.OUT && e._leave(null, e) 831 }; 832 r.supportsTransitionEnd() && t(this.tip).hasClass(p.FADE) ? t(this.tip).one(r.TRANSITION_END, u).emulateTransitionEnd(a._TRANSITION_DURATION) : u() 833 } 834 }, a.prototype.hide = function(e) { 835 var n = this, 836 i = this.getTipElement(), 837 o = t.Event(this.constructor.Event.HIDE), 838 s = function() { 839 n._hoverState !== d.SHOW && i.parentNode && i.parentNode.removeChild(i), n._cleanTipClass(), n.element.removeAttribute("aria-describedby"), t(n.element).trigger(n.constructor.Event.HIDDEN), null !== n._popper && n._popper.destroy(), e && e() 840 }; 841 t(this.element).trigger(o), o.isDefaultPrevented() || (t(i).removeClass(p.SHOW), "ontouchstart" in document.documentElement && t("body").children().off("mouseover", null, t.noop), this._activeTrigger[g.CLICK] = !1, this._activeTrigger[g.FOCUS] = !1, this._activeTrigger[g.HOVER] = !1, r.supportsTransitionEnd() && t(this.tip).hasClass(p.FADE) ? t(i).one(r.TRANSITION_END, s).emulateTransitionEnd(150) : s(), this._hoverState = "") 842 }, a.prototype.update = function() { 843 null !== this._popper && this._popper.scheduleUpdate() 844 }, a.prototype.isWithContent = function() { 845 return Boolean(this.getTitle()) 846 }, a.prototype.addAttachmentClass = function(e) { 847 t(this.getTipElement()).addClass("bs-tooltip-" + e) 848 }, a.prototype.getTipElement = function() { 849 return this.tip = this.tip || t(this.config.template)[0] 850 }, a.prototype.setContent = function() { 851 var e = t(this.getTipElement()); 852 this.setElementContent(e.find(_.TOOLTIP_INNER), this.getTitle()), e.removeClass(p.FADE + " " + p.SHOW) 853 }, a.prototype.setElementContent = function(e, n) { 854 var o = this.config.html; 855 "object" === (void 0 === n ? "undefined" : i(n)) && (n.nodeType || n.jquery) ? o ? t(n).parent().is(e) || e.empty().append(n) : e.text(t(n).text()): e[o ? "html" : "text"](n) 856 }, a.prototype.getTitle = function() { 857 var t = this.element.getAttribute("data-original-title"); 858 return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t 859 }, a.prototype._getAttachment = function(t) { 860 return c[t.toUpperCase()] 861 }, a.prototype._setListeners = function() { 862 var e = this; 863 this.config.trigger.split(" ").forEach(function(n) { 864 if ("click" === n) t(e.element).on(e.constructor.Event.CLICK, e.config.selector, function(t) { 865 return e.toggle(t) 866 }); 867 else if (n !== g.MANUAL) { 868 var i = n === g.HOVER ? e.constructor.Event.MOUSEENTER : e.constructor.Event.FOCUSIN, 869 o = n === g.HOVER ? e.constructor.Event.MOUSELEAVE : e.constructor.Event.FOCUSOUT; 870 t(e.element).on(i, e.config.selector, function(t) { 871 return e._enter(t) 872 }).on(o, e.config.selector, function(t) { 873 return e._leave(t) 874 }) 875 } 876 t(e.element).closest(".htb-modal").on("hide.htbbs.htb-modal", function() { 877 return e.hide() 878 }) 879 }), this.config.selector ? this.config = t.extend({}, this.config, { 880 trigger: "manual", 881 selector: "" 882 }) : this._fixTitle() 883 }, a.prototype._fixTitle = function() { 884 var t = i(this.element.getAttribute("data-original-title")); 885 (this.element.getAttribute("title") || "string" !== t) && (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", "")) 886 }, a.prototype._enter = function(e, n) { 887 var i = this.constructor.DATA_KEY; 888 (n = n || t(e.currentTarget).data(i)) || (n = new this.constructor(e.currentTarget, this._getDelegateConfig()), t(e.currentTarget).data(i, n)), e && (n._activeTrigger["focusin" === e.type ? g.FOCUS : g.HOVER] = !0), t(n.getTipElement()).hasClass(p.SHOW) || n._hoverState === d.SHOW ? n._hoverState = d.SHOW : (clearTimeout(n._timeout), n._hoverState = d.SHOW, n.config.delay && n.config.delay.show ? n._timeout = setTimeout(function() { 889 n._hoverState === d.SHOW && n.show() 890 }, n.config.delay.show) : n.show()) 891 }, a.prototype._leave = function(e, n) { 892 var i = this.constructor.DATA_KEY; 893 (n = n || t(e.currentTarget).data(i)) || (n = new this.constructor(e.currentTarget, this._getDelegateConfig()), t(e.currentTarget).data(i, n)), e && (n._activeTrigger["focusout" === e.type ? g.FOCUS : g.HOVER] = !1), n._isWithActiveTrigger() || (clearTimeout(n._timeout), n._hoverState = d.OUT, n.config.delay && n.config.delay.hide ? n._timeout = setTimeout(function() { 894 n._hoverState === d.OUT && n.hide() 895 }, n.config.delay.hide) : n.hide()) 896 }, a.prototype._isWithActiveTrigger = function() { 897 for (var t in this._activeTrigger) 898 if (this._activeTrigger[t]) return !0; 899 return !1 900 }, a.prototype._getConfig = function(n) { 901 return (n = t.extend({}, this.constructor.Default, t(this.element).data(), n)).delay && "number" == typeof n.delay && (n.delay = { 902 show: n.delay, 903 hide: n.delay 904 }), n.title && "number" == typeof n.title && (n.title = n.title.toString()), n.content && "number" == typeof n.content && (n.content = n.content.toString()), r.typeCheckConfig(e, n, this.constructor.DefaultType), n 905 }, a.prototype._getDelegateConfig = function() { 906 var t = {}; 907 if (this.config) 908 for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]); 909 return t 910 }, a.prototype._cleanTipClass = function() { 911 var e = t(this.getTipElement()), 912 n = e.attr("class").match(l); 913 null !== n && n.length > 0 && e.removeClass(n.join("")) 914 }, a.prototype._handlePopperPlacementChange = function(t) { 915 this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement)) 916 }, a.prototype._fixTransition = function() { 917 var e = this.getTipElement(), 918 n = this.config.animation; 919 null === e.getAttribute("x-placement") && (t(e).removeClass(p.FADE), this.config.animation = !1, this.hide(), this.show(), this.config.animation = n) 920 }, a._jQueryInterface = function(e) { 921 return this.each(function() { 922 var n = t(this).data("htbbs.tooltip"), 923 o = "object" === (void 0 === e ? "undefined" : i(e)) && e; 924 if ((n || !/dispose|hide/.test(e)) && (n || (n = new a(this, o), t(this).data("htbbs.tooltip", n)), "string" == typeof e)) { 925 if (void 0 === n[e]) throw new Error('No method named "' + e + '"'); 926 n[e]() 927 } 928 }) 929 }, o(a, null, [{ 930 key: "VERSION", 931 get: function() { 932 return "4.0.0-beta" 933 } 934 }, { 935 key: "Default", 936 get: function() { 937 return u 938 } 939 }, { 940 key: "NAME", 941 get: function() { 942 return e 943 } 944 }, { 945 key: "DATA_KEY", 946 get: function() { 947 return "htbbs.tooltip" 948 } 949 }, { 950 key: "Event", 951 get: function() { 952 return f 953 } 954 }, { 955 key: "EVENT_KEY", 956 get: function() { 957 return s 958 } 959 }, { 960 key: "DefaultType", 961 get: function() { 962 return h 963 } 964 }]), a 965 }(); 966 return t.fn[e] = m._jQueryInterface, t.fn[e].Constructor = m, t.fn[e].noConflict = function() { 967 return t.fn[e] = a, m._jQueryInterface 968 }, m 969 }(jQuery)); 970 ! function(r) { 971 var a = "htbpopover", 972 l = ".htbbs.htb-popover", 973 h = r.fn[a], 974 c = new RegExp("(^|\\s)htb-bs-popover\\S+", "g"), 975 u = r.extend({}, s.Default, { 976 placement: "right", 977 trigger: "click", 978 content: "", 979 template: '<div class="htb-popover" role="tooltip"><div class="htb-arrow"></div><h3 class="htb-popover-header"></h3><div class="htb-popover-body"></div></div>' 980 }), 981 d = r.extend({}, s.DefaultType, { 982 content: "(string|element|function)" 983 }), 984 f = { 985 FADE: "htb-fade", 986 SHOW: "htb-show" 987 }, 988 p = { 989 TITLE: ".htb-popover-header", 990 CONTENT: ".htb-popover-body" 991 }, 992 _ = { 993 HIDE: "hide" + l, 994 HIDDEN: "hidden" + l, 995 SHOW: "show" + l, 996 SHOWN: "shown" + l, 997 INSERTED: "inserted" + l, 998 CLICK: "click" + l, 999 FOCUSIN: "focusin" + l, 1000 FOCUSOUT: "focusout" + l, 1001 MOUSEENTER: "mouseenter" + l, 1002 MOUSELEAVE: "mouseleave" + l 1003 }, 1004 g = function(s) { 1005 function h() { 1006 return n(this, h), t(this, s.apply(this, arguments)) 1007 } 1008 return e(h, s), h.prototype.isWithContent = function() { 1009 return this.getTitle() || this._getContent() 1010 }, h.prototype.addAttachmentClass = function(t) { 1011 r(this.getTipElement()).addClass("htb-bs-popover-" + t) 1012 }, h.prototype.getTipElement = function() { 1013 return this.tip = this.tip || r(this.config.template)[0] 1014 }, h.prototype.setContent = function() { 1015 var t = r(this.getTipElement()); 1016 this.setElementContent(t.find(p.TITLE), this.getTitle()), this.setElementContent(t.find(p.CONTENT), this._getContent()), t.removeClass(f.FADE + " " + f.SHOW) 1017 }, h.prototype._getContent = function() { 1018 return this.element.getAttribute("data-content") || ("function" == typeof this.config.content ? this.config.content.call(this.element) : this.config.content) 1019 }, h.prototype._cleanTipClass = function() { 1020 var t = r(this.getTipElement()), 1021 e = t.attr("class").match(c); 1022 null !== e && e.length > 0 && t.removeClass(e.join("")) 1023 }, h._jQueryInterface = function(t) { 1024 return this.each(function() { 1025 var e = r(this).data("htbbs.popover"), 1026 n = "object" === (void 0 === t ? "undefined" : i(t)) ? t : null; 1027 if ((e || !/destroy|hide/.test(t)) && (e || (e = new h(this, n), r(this).data("htbbs.popover", e)), "string" == typeof t)) { 1028 if (void 0 === e[t]) throw new Error('No method named "' + t + '"'); 1029 e[t]() 1030 } 1031 }) 1032 }, o(h, null, [{ 1033 key: "VERSION", 1034 get: function() { 1035 return "4.0.0-beta" 1036 } 1037 }, { 1038 key: "Default", 1039 get: function() { 1040 return u 1041 } 1042 }, { 1043 key: "NAME", 1044 get: function() { 1045 return a 1046 } 1047 }, { 1048 key: "DATA_KEY", 1049 get: function() { 1050 return "htbbs.popover" 1051 } 1052 }, { 1053 key: "Event", 1054 get: function() { 1055 return _ 1056 } 1057 }, { 1058 key: "EVENT_KEY", 1059 get: function() { 1060 return l 1061 } 1062 }, { 1063 key: "DefaultType", 1064 get: function() { 1065 return d 1066 } 1067 }]), h 1068 }(s); 1069 r.fn[a] = g._jQueryInterface, r.fn[a].Constructor = g, r.fn[a].noConflict = function() { 1070 return r.fn[a] = h, g._jQueryInterface 1071 } 1072 }(jQuery) 1073}();
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.