1(function (global, factory) { 2 typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('jquery')) : 3 typeof define === 'function' && define.amd ? define(['exports', 'jquery'], factory) : 4 (factory((global.bootstrap = {}),global.jQuery,global.Popper)); 5}(this, (function (exports,$,Popper) { 'use strict'; 6 7$ = $ && $.hasOwnProperty('default') ? $['default'] : $; 8Popper = Popper && Popper.hasOwnProperty('default') ? Popper['default'] : Popper; 9 10function _defineProperties(target, props) { 11 for (var i = 0; i < props.length; i++) { 12 var descriptor = props[i]; 13 descriptor.enumerable = descriptor.enumerable || false; 14 descriptor.configurable = true; 15 if ("value" in descriptor) descriptor.writable = true; 16 Object.defineProperty(target, descriptor.key, descriptor); 17 } 18} 19 20function _createClass(Constructor, protoProps, staticProps) { 21 if (protoProps) _defineProperties(Constructor.prototype, protoProps); 22 if (staticProps) _defineProperties(Constructor, staticProps); 23 return Constructor; 24} 25 26function _extends() { 27 _extends = Object.assign || function (target) { 28 for (var i = 1; i < arguments.length; i++) { 29 var source = arguments[i]; 30 31 for (var key in source) { 32 if (Object.prototype.hasOwnProperty.call(source, key)) { 33 target[key] = source[key]; 34 } 35 } 36 } 37 38 return target; 39 }; 40 41 return _extends.apply(this, arguments); 42} 43 44function _inheritsLoose(subClass, superClass) { 45 subClass.prototype = Object.create(superClass.prototype); 46 subClass.prototype.constructor = subClass; 47 subClass.__proto__ = superClass; 48} 49 50/** 51 * -------------------------------------------------------------------------- 52 * Bootstrap (v4.0.0): util.js 53 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 54 * -------------------------------------------------------------------------- 55 */ 56 57var Util = function ($$$1) { 58 /** 59 * ------------------------------------------------------------------------ 60 * Private TransitionEnd Helpers 61 * ------------------------------------------------------------------------ 62 */ 63 var transition = false; 64 var MAX_UID = 1000000; // Shoutout AngusCroll (https://goo.gl/pxwQGp) 65 66 function toType(obj) { 67 return {}.toString.call(obj).match(/\s([a-zA-Z]+)/)[1].toLowerCase(); 68 } 69 70 function getSpecialTransitionEndEvent() { 71 return { 72 bindType: transition.end, 73 delegateType: transition.end, 74 handle: function handle(event) { 75 if ($$$1(event.target).is(this)) { 76 return event.handleObj.handler.apply(this, arguments); // eslint-disable-line prefer-rest-params 77 } 78 79 return undefined; // eslint-disable-line no-undefined 80 } 81 }; 82 } 83 84 function transitionEndTest() { 85 if (typeof window !== 'undefined' && window.QUnit) { 86 return false; 87 } 88 89 return { 90 end: 'transitionend' 91 }; 92 } 93 94 function transitionEndEmulator(duration) { 95 var _this = this; 96 97 var called = false; 98 $$$1(this).one(Util.TRANSITION_END, function () { 99 called = true; 100 }); 101 setTimeout(function () { 102 if (!called) { 103 Util.triggerTransitionEnd(_this); 104 } 105 }, duration); 106 return this; 107 } 108 109 function setTransitionEndSupport() { 110 transition = transitionEndTest(); 111 $$$1.fn.emulateTransitionEnd = transitionEndEmulator; 112 113 if (Util.supportsTransitionEnd()) { 114 $$$1.event.special[Util.TRANSITION_END] = getSpecialTransitionEndEvent(); 115 } 116 } 117 118 function escapeId(selector) { 119 // We escape IDs in case of special selectors (selector = '#myId:something') 120 // $.escapeSelector does not exist in jQuery < 3 121 selector = typeof $$$1.escapeSelector === 'function' ? $$$1.escapeSelector(selector).substr(1) : selector.replace(/(:|\.|\[|\]|,|=|@)/g, '\\$1'); 122 return selector; 123 } 124 /** 125 * -------------------------------------------------------------------------- 126 * Public Util Api 127 * -------------------------------------------------------------------------- 128 */ 129 130 131 var Util = { 132 TRANSITION_END: 'bsTransitionEnd', 133 getUID: function getUID(prefix) { 134 do { 135 // eslint-disable-next-line no-bitwise 136 prefix += ~~(Math.random() * MAX_UID); // "~~" acts like a faster Math.floor() here 137 } while (document.getElementById(prefix)); 138 139 return prefix; 140 }, 141 getSelectorFromElement: function getSelectorFromElement(element) { 142 var selector = element.getAttribute('data-target'); 143 144 if (!selector || selector === '#') { 145 selector = element.getAttribute('href') || ''; 146 } // If it's an ID 147 148 149 if (selector.charAt(0) === '#') { 150 selector = escapeId(selector); 151 } 152
153 try { 154 var $selector = $$$1(document).find(selector); 155 return $selector.length > 0 ? selector : null; 156 } catch (err) { 157 return null; 158 } 159 }, 160 reflow: function reflow(element) { 161 return element.offsetHeight; 162 }, 163 triggerTransitionEnd: function triggerTransitionEnd(element) { 164 $$$1(element).trigger(transition.end); 165 }, 166 supportsTransitionEnd: function supportsTransitionEnd() { 167 return Boolean(transition); 168 }, 169 isElement: function isElement(obj) { 170 return (obj[0] || obj).nodeType; 171 }, 172 typeCheckConfig: function typeCheckConfig(componentName, config, configTypes) { 173 for (var property in configTypes) { 174 if (Object.prototype.hasOwnProperty.call(configTypes, property)) { 175 var expectedTypes = configTypes[property]; 176 var value = config[property]; 177 var valueType = value && Util.isElement(value) ? 'element' : toType(value); 178 179 if (!new RegExp(expectedTypes).test(valueType)) { 180 throw new Error(componentName.toUpperCase() + ": " + ("Option \"" + property + "\" provided type \"" + valueType + "\" ") + ("but expected type \"" + expectedTypes + "\".")); 181 } 182 } 183 } 184 } 185 }; 186 setTransitionEndSupport(); 187 return Util; 188}($); 189 190/** 191 * -------------------------------------------------------------------------- 192 * Bootstrap (v4.0.0): collapse.js 193 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 194 * -------------------------------------------------------------------------- 195 */ 196 197var Collapse = function ($$$1) { 198 /** 199 * ------------------------------------------------------------------------ 200 * Constants 201 * ------------------------------------------------------------------------ 202 */ 203 var NAME = 'collapse'; 204 var VERSION = '4.0.0'; 205 var DATA_KEY = 'bs.collapse'; 206 var EVENT_KEY = "." + DATA_KEY; 207 var DATA_API_KEY = '.data-api'; 208 var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; 209 var TRANSITION_DURATION = 600; 210 var Default = { 211 toggle: true, 212 parent: '' 213 }; 214 var DefaultType = { 215 toggle: 'boolean', 216 parent: '(string|element)' 217 }; 218 var Event = { 219 SHOW: "show" + EVENT_KEY, 220 SHOWN: "shown" + EVENT_KEY, 221 HIDE: "hide" + EVENT_KEY, 222 HIDDEN: "hidden" + EVENT_KEY, 223 CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY 224 }; 225 var ClassName = { 226 SHOW: 'show', 227 COLLAPSE: 'collapse', 228 COLLAPSING: 'collapsing', 229 COLLAPSED: 'collapsed' 230 }; 231 var Dimension = { 232 WIDTH: 'width', 233 HEIGHT: 'height' 234 }; 235 var Selector = { 236 ACTIVES: '.show, .collapsing', 237 DATA_TOGGLE: '[data-ekit-toggle="collapse"]' 238 /** 239 * ------------------------------------------------------------------------ 240 * Class Definition 241 * ------------------------------------------------------------------------ 242 */ 243 244 }; 245 246 var Collapse = 247 /*#__PURE__*/ 248 function () { 249 function Collapse(element, config) { 250 this._isTransitioning = false; 251 this._element = element; 252 this._config = this._getConfig(config); 253 this._triggerArray = $$$1.makeArray($$$1("[data-ekit-toggle=\"collapse\"][href=\"#" + element.id + "\"]," + ("[data-ekit-toggle=\"collapse\"][data-target=\"#" + element.id + "\"]"))); 254 var tabToggles = $$$1(Selector.DATA_TOGGLE); 255 256 for (var i = 0; i < tabToggles.length; i++) { 257 var elem = tabToggles[i]; 258 var selector = Util.getSelectorFromElement(elem); 259 260 if (selector !== null && $$$1(selector).filter(element).length > 0) { 261 this._selector = selector; 262 263 this._triggerArray.push(elem); 264 } 265 } 266 267 this._parent = this._config.parent ? this._getParent() : null; 268 269 if (!this._config.parent) { 270 this._addAriaAndCollapsedClass(this._element, this._triggerArray); 271 } 272 273 if (this._config.toggle) { 274 this.toggle(); 275 } 276 } // Getters 277 278 279 var _proto = Collapse.prototype; 280 281 // Public 282 _proto.toggle = function toggle() { 283 if ($$$1(this._element).hasClass(ClassName.SHOW)) { 284 this.hide(); 285 } else { 286 this.show(); 287 } 288 }; 289 290 _proto.show = function show() { 291 var _this = this; 292 293 if (this._isTransitioning || $$$1(this._element).hasClass(ClassName.SHOW)) { 294 return; 295 } 296 297 var actives; 298 var activesData; 299 300 if (this._parent) { 301 actives = $$$1.makeArray($$$1(this._parent).find(Selector.ACTIVES).filter("[data-parent=\"" + this._config.parent + "\"]")); 302 303 if (actives.length === 0) { 304 actives = null; 305 } 306 } 307 308 if (actives) { 309 activesData = $$$1(actives).not(this._selector).data(DATA_KEY); 310 311 if (activesData && activesData._isTransitioning) { 312 return; 313 } 314 } 315 316 var startEvent = $$$1.Event(Event.SHOW); 317 $$$1(this._element).trigger(startEvent); 318 319 if (startEvent.isDefaultPrevented()) { 320 return; 321 } 322 323 if (actives) { 324 Collapse._jQueryInterface.call($$$1(actives).not(this._selector), 'hide'); 325 326 if (!activesData) { 327 $$$1(actives).data(DATA_KEY, null); 328 } 329 } 330 331 var dimension = this._getDimension(); 332 333 $$$1(this._element).removeClass(ClassName.COLLAPSE).addClass(ClassName.COLLAPSING); 334 this._element.style[dimension] = 0; 335 336 if (this._triggerArray.length > 0) { 337 $$$1(this._triggerArray).removeClass(ClassName.COLLAPSED).attr('aria-expanded', true); 338 } 339 340 this.setTransitioning(true); 341 342 var complete = function complete() { 343 $$$1(_this._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).addClass(ClassName.SHOW); 344 _this._element.style[dimension] = ''; 345 346 _this.setTransitioning(false); 347 348 $$$1(_this._element).trigger(Event.SHOWN); 349 }; 350 351 if (!Util.supportsTransitionEnd()) { 352 complete(); 353 return; 354 } 355 356 var capitalizedDimension = dimension[0].toUpperCase() + dimension.slice(1); 357 var scrollSize = "scroll" + capitalizedDimension; 358 $$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 359 this._element.style[dimension] = this._element[scrollSize] + "px"; 360 }; 361 362 _proto.hide = function hide() { 363 var _this2 = this; 364 365 if (this._isTransitioning || !$$$1(this._element).hasClass(ClassName.SHOW)) { 366 return; 367 } 368 369 var startEvent = $$$1.Event(Event.HIDE); 370 $$$1(this._element).trigger(startEvent); 371 372 if (startEvent.isDefaultPrevented()) { 373 return; 374 } 375 376 var dimension = this._getDimension(); 377 378 this._element.style[dimension] = this._element.getBoundingClientRect()[dimension] + "px"; 379 Util.reflow(this._element); 380 $$$1(this._element).addClass(ClassName.COLLAPSING).removeClass(ClassName.COLLAPSE).removeClass(ClassName.SHOW); 381 382 if (this._triggerArray.length > 0) { 383 for (var i = 0; i < this._triggerArray.length; i++) { 384 var trigger = this._triggerArray[i]; 385 var selector = Util.getSelectorFromElement(trigger); 386 387 if (selector !== null) { 388 var $elem = $$$1(selector); 389 390 if (!$elem.hasClass(ClassName.SHOW)) { 391 $$$1(trigger).addClass(ClassName.COLLAPSED).attr('aria-expanded', false); 392 } 393 } 394 } 395 } 396 397 this.setTransitioning(true); 398 399 var complete = function complete() { 400 _this2.setTransitioning(false); 401 402 $$$1(_this2._element).removeClass(ClassName.COLLAPSING).addClass(ClassName.COLLAPSE).trigger(Event.HIDDEN); 403 }; 404 405 this._element.style[dimension] = ''; 406 407 if (!Util.supportsTransitionEnd()) { 408 complete(); 409 return; 410 } 411 412 $$$1(this._element).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 413 }; 414 415 _proto.setTransitioning = function setTransitioning(isTransitioning) { 416 this._isTransitioning = isTransitioning; 417 }; 418 419 _proto.dispose = function dispose() { 420 $$$1.removeData(this._element, DATA_KEY); 421 this._config = null; 422 this._parent = null; 423 this._element = null; 424 this._triggerArray = null; 425 this._isTransitioning = null; 426 }; // Private 427 428 429 _proto._getConfig = function _getConfig(config) { 430 config = _extends({}, Default, config); 431 config.toggle = Boolean(config.toggle); // Coerce string values 432 433 Util.typeCheckConfig(NAME, config, DefaultType); 434 return config; 435 }; 436 437 _proto._getDimension = function _getDimension() { 438 var hasWidth = $$$1(this._element).hasClass(Dimension.WIDTH); 439 return hasWidth ? Dimension.WIDTH : Dimension.HEIGHT; 440 }; 441 442 _proto._getParent = function _getParent() { 443 var _this3 = this; 444 445 var parent = null; 446 447 if (Util.isElement(this._config.parent)) { 448 parent = this._config.parent; // It's a jQuery object 449 450 if (typeof this._config.parent.jquery !== 'undefined') { 451 parent = this._config.parent[0]; 452 } 453 } else { 454 parent = $$$1(this._config.parent)[0]; 455 } 456 457 var selector = "[data-ekit-toggle=\"collapse\"][data-parent=\"" + this._config.parent + "\"]"; 458 $$$1(parent).find(selector).each(function (i, element) { 459 _this3._addAriaAndCollapsedClass(Collapse._getTargetFromElement(element), [element]); 460 }); 461 return parent; 462 }; 463 464 _proto._addAriaAndCollapsedClass = function _addAriaAndCollapsedClass(element, triggerArray) { 465 if (element) { 466 var isOpen = $$$1(element).hasClass(ClassName.SHOW); 467 468 if (triggerArray.length > 0) { 469 $$$1(triggerArray).toggleClass(ClassName.COLLAPSED, !isOpen).attr('aria-expanded', isOpen); 470 } 471 } 472 }; // Static 473 474 475 Collapse._getTargetFromElement = function _getTargetFromElement(element) { 476 var selector = Util.getSelectorFromElement(element); 477 return selector ? $$$1(selector)[0] : null; 478 }; 479 480 Collapse._jQueryInterface = function _jQueryInterface(config) { 481 return this.each(function () { 482 var $this = $$$1(this); 483 var data = $this.data(DATA_KEY); 484 485 var _config = _extends({}, Default, $this.data(), typeof config === 'object' && config); 486 487 if (!data && _config.toggle && /show|hide/.test(config)) { 488 _config.toggle = false;
489 } 490 491 if (!data) { 492 data = new Collapse(this, _config); 493 $this.data(DATA_KEY, data); 494 } 495 496 if (typeof config === 'string') { 497 if (typeof data[config] === 'undefined') { 498 throw new TypeError("No method named \"" + config + "\""); 499 } 500 501 data[config](); 502 } 503 }); 504 }; 505 506 _createClass(Collapse, null, [{ 507 key: "VERSION", 508 get: function get() { 509 return VERSION; 510 } 511 }, { 512 key: "Default", 513 get: function get() { 514 return Default; 515 } 516 }]); 517 return Collapse; 518 }(); 519 /** 520 * ------------------------------------------------------------------------ 521 * Data Api implementation 522 * ------------------------------------------------------------------------ 523 */ 524 525 526 $$$1(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { 527 // preventDefault only for <a> elements (which change the URL) not inside the collapsible element 528 if (event.currentTarget.tagName === 'A') { 529 event.preventDefault(); 530 } 531 532 var $trigger = $$$1(this); 533 var selector = Util.getSelectorFromElement(this); 534 $$$1(selector).each(function () { 535 var $target = $$$1(this); 536 var data = $target.data(DATA_KEY); 537 var config = data ? 'toggle' : $trigger.data(); 538 539 Collapse._jQueryInterface.call($target, config); 540 }); 541 }); 542 /** 543 * ------------------------------------------------------------------------ 544 * jQuery 545 * ------------------------------------------------------------------------ 546 */ 547 548 $$$1.fn[NAME] = Collapse._jQueryInterface; 549 $$$1.fn[NAME].Constructor = Collapse; 550 551 $$$1.fn[NAME].noConflict = function () { 552 $$$1.fn[NAME] = JQUERY_NO_CONFLICT; 553 return Collapse._jQueryInterface; 554 }; 555 556 return Collapse; 557}($); 558 559/** 560 * -------------------------------------------------------------------------- 561 * Bootstrap (v4.0.0): tab.js 562 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 563 * -------------------------------------------------------------------------- 564 */ 565 566var Tab = function ($$$1) { 567 /** 568 * ------------------------------------------------------------------------ 569 * Constants 570 * ------------------------------------------------------------------------ 571 */ 572 var NAME = 'tab'; 573 var VERSION = '4.0.0'; 574 var DATA_KEY = 'bs.tab'; 575 var EVENT_KEY = "." + DATA_KEY; 576 var DATA_API_KEY = '.data-api'; 577 var JQUERY_NO_CONFLICT = $$$1.fn[NAME]; 578 var TRANSITION_DURATION = 150; 579 var Event = { 580 HIDE: "hide" + EVENT_KEY, 581 HIDDEN: "hidden" + EVENT_KEY, 582 SHOW: "show" + EVENT_KEY, 583 SHOWN: "shown" + EVENT_KEY, 584 CLICK_DATA_API: "click" + EVENT_KEY + DATA_API_KEY 585 }; 586 var ClassName = { 587 DROPDOWN_MENU: 'dropdown-menu', 588 ACTIVE: 'active', 589 DISABLED: 'disabled', 590 FADE: 'fade', 591 SHOW: 'show' 592 }; 593 var Selector = { 594 DROPDOWN: '.dropdown', 595 NAV_LIST_GROUP: '.nav, .list-group', 596 ACTIVE: '.active', 597 ACTIVE_UL: '> li > .active', 598 DATA_TOGGLE: '[data-ekit-toggle="tab"], [data-ekit-toggle="pill"], [data-ekit-toggle="list"]', 599 DROPDOWN_TOGGLE: '.dropdown-toggle', 600 DROPDOWN_ACTIVE_CHILD: '> .dropdown-menu .active' 601 /** 602 * ------------------------------------------------------------------------ 603 * Class Definition 604 * ------------------------------------------------------------------------ 605 */ 606 607 }; 608 609 var Tab = 610 /*#__PURE__*/ 611 function () { 612 function Tab(element) { 613 this._element = element; 614 } // Getters 615 616 617 var _proto = Tab.prototype; 618 619 // Public 620 _proto.show = function show() { 621 var _this = this; 622 623 if (this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && $$$1(this._element).hasClass(ClassName.ACTIVE) || $$$1(this._element).hasClass(ClassName.DISABLED)) { 624 return; 625 } 626 627 var target; 628 var previous; 629 var listElement = $$$1(this._element).closest(Selector.NAV_LIST_GROUP)[0]; 630 var selector = Util.getSelectorFromElement(this._element); 631 632 if (listElement) { 633 var itemSelector = listElement.nodeName === 'UL' ? Selector.ACTIVE_UL : Selector.ACTIVE; 634 previous = $$$1.makeArray($$$1(listElement).find(itemSelector)); 635 previous = previous[previous.length - 1]; 636 } 637 638 var hideEvent = $$$1.Event(Event.HIDE, { 639 relatedTarget: this._element 640 }); 641 var showEvent = $$$1.Event(Event.SHOW, { 642 relatedTarget: previous 643 }); 644 645 if (previous) { 646 $$$1(previous).trigger(hideEvent); 647 } 648 649 $$$1(this._element).trigger(showEvent); 650 651 if (showEvent.isDefaultPrevented() || hideEvent.isDefaultPrevented()) { 652 return; 653 } 654 655 if (selector) { 656 target = $$$1(selector)[0]; 657 } 658 659 this._activate(this._element, listElement); 660 661 var complete = function complete() { 662 var hiddenEvent = $$$1.Event(Event.HIDDEN, { 663 relatedTarget: _this._element 664 }); 665 var shownEvent = $$$1.Event(Event.SHOWN, { 666 relatedTarget: previous 667 }); 668 $$$1(previous).trigger(hiddenEvent); 669 $$$1(_this._element).trigger(shownEvent); 670 }; 671 672 if (target) { 673 this._activate(target, target.parentNode, complete); 674 } else { 675 complete(); 676 } 677 }; 678 679 _proto.dispose = function dispose() { 680 $$$1.removeData(this._element, DATA_KEY); 681 this._element = null; 682 }; // Private 683 684 685 _proto._activate = function _activate(element, container, callback) { 686 var _this2 = this; 687 688 var activeElements; 689 690 if (container.nodeName === 'UL') { 691 activeElements = $$$1(container).find(Selector.ACTIVE_UL); 692 } else { 693 activeElements = $$$1(container).children(Selector.ACTIVE); 694 } 695 696 var active = activeElements[0]; 697 var isTransitioning = callback && Util.supportsTransitionEnd() && active && $$$1(active).hasClass(ClassName.FADE); 698 699 var complete = function complete() { 700 return _this2._transitionComplete(element, active, callback); 701 }; 702 703 if (active && isTransitioning) { 704 $$$1(active).one(Util.TRANSITION_END, complete).emulateTransitionEnd(TRANSITION_DURATION); 705 } else { 706 complete(); 707 } 708 }; 709 710 _proto._transitionComplete = function _transitionComplete(element, active, callback) { 711 if (active) { 712 $$$1(active).removeClass(ClassName.SHOW + " " + ClassName.ACTIVE);
vendor: 3,734 bytes, lines 713-844
713 var dropdownChild = $$$1(active.parentNode).find(Selector.DROPDOWN_ACTIVE_CHILD)[0]; 714 715 if (dropdownChild) { 716 $$$1(dropdownChild).removeClass(ClassName.ACTIVE); 717 } 718 719 if (active.getAttribute('role') === 'tab') { 720 active.setAttribute('aria-selected', false); 721 } 722 } 723 724 $$$1(element).addClass(ClassName.ACTIVE); 725 726 if (element.getAttribute('role') === 'tab') { 727 element.setAttribute('aria-selected', true); 728 } 729 730 Util.reflow(element); 731 $$$1(element).addClass(ClassName.SHOW); 732 733 if (element.parentNode && $$$1(element.parentNode).hasClass(ClassName.DROPDOWN_MENU)) { 734 var dropdownElement = $$$1(element).closest(Selector.DROPDOWN)[0]; 735 736 if (dropdownElement) { 737 $$$1(dropdownElement).find(Selector.DROPDOWN_TOGGLE).addClass(ClassName.ACTIVE); 738 } 739 740 element.setAttribute('aria-expanded', true); 741 } 742 743 if (callback) { 744 callback(); 745 } 746 }; // Static 747 748 749 Tab._jQueryInterface = function _jQueryInterface(config) { 750 return this.each(function () { 751 var $this = $$$1(this); 752 var data = $this.data(DATA_KEY); 753 754 if (!data) { 755 data = new Tab(this); 756 $this.data(DATA_KEY, data); 757 } 758 759 if (typeof config === 'string') { 760 if (typeof data[config] === 'undefined') { 761 throw new TypeError("No method named \"" + config + "\""); 762 } 763 764 data[config](); 765 } 766 }); 767 }; 768 769 _createClass(Tab, null, [{ 770 key: "VERSION", 771 get: function get() { 772 return VERSION; 773 } 774 }]); 775 return Tab; 776 }(); 777 /** 778 * ------------------------------------------------------------------------ 779 * Data Api implementation 780 * ------------------------------------------------------------------------ 781 */ 782 783 784 $$$1(document).on(Event.CLICK_DATA_API, Selector.DATA_TOGGLE, function (event) { 785 event.preventDefault(); 786 787 Tab._jQueryInterface.call($$$1(this), 'show'); 788 }); 789 /** 790 * ------------------------------------------------------------------------ 791 * jQuery 792 * ------------------------------------------------------------------------ 793 */ 794 795 $$$1.fn[NAME] = Tab._jQueryInterface; 796 $$$1.fn[NAME].Constructor = Tab; 797 798 $$$1.fn[NAME].noConflict = function () { 799 $$$1.fn[NAME] = JQUERY_NO_CONFLICT; 800 return Tab._jQueryInterface; 801 }; 802 803 return Tab; 804}($); 805 806/** 807 * -------------------------------------------------------------------------- 808 * Bootstrap (v4.0.0-alpha.6): index.js 809 * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) 810 * -------------------------------------------------------------------------- 811 */ 812 813(function ($$$1) { 814 if (typeof $$$1 === 'undefined') { 815 throw new TypeError('Ekit Prefixed Bootstrap\'s JavaScript requires jQuery. jQuery must be included before Ekit Prefixed Bootstrap\'s JavaScript.'); 816 } 817 818 var version = $$$1.fn.jquery.split(' ')[0].split('.'); 819 var minMajor = 1; 820 var ltMajor = 2; 821 var minMinor = 9; 822 var minPatch = 1; 823 var maxMajor = 4; 824 825 if (version[0] < ltMajor && version[1] < minMinor || version[0] === minMajor && version[1] === minMinor && version[2] < minPatch || version[0] >= maxMajor) { 826 throw new Error('Ekit Prefixed Bootstrap\'s JavaScript requires at least jQuery v1.9.1 but less than v4.0.0'); 827 } 828})($); 829 830exports.Util = Util; 831// exports.Alert = Alert; 832// exports.Button = Button; 833// exports.Carousel = Carousel; 834exports.Collapse = Collapse; 835// exports.Dropdown = Dropdown; 836// exports.Modal = Modal; 837// exports.Popover = Popover; 838// exports.Scrollspy = ScrollSpy; 839exports.Tab = Tab; 840// exports.Tooltip = Tooltip; 841 842Object.defineProperty(exports, '__esModule', { value: true }); 843 844})));
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.