Rev 637 | Rev 846 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 637 | Rev 679 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | /*! |
1 | /*! |
2 | * Bootstrap v5.1.1 (https://getbootstrap.com/) |
2 | * Bootstrap v5.1.3 (https://getbootstrap.com/) |
3 | * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) |
3 | * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors) |
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5 | */ |
5 | */ |
6 | (function (global, factory) { |
6 | (function (global, factory) { |
7 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
7 | typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() : |
8 | typeof define === 'function' && define.amd ? define(factory) : |
8 | typeof define === 'function' && define.amd ? define(factory) : |
9 | (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.bootstrap = factory()); |
9 | (global = typeof globalThis !== 'undefined' ? globalThis : global || self, global.bootstrap = factory()); |
10 | }(this, (function () { 'use strict'; |
10 | })(this, (function () { 'use strict'; |
11 | 11 | ||
12 | /** |
12 | /** |
13 | * -------------------------------------------------------------------------- |
13 | * -------------------------------------------------------------------------- |
14 | * Bootstrap (v5.1.1): util/index.js |
14 | * Bootstrap (v5.1.3): util/index.js |
15 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
15 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
16 | * -------------------------------------------------------------------------- |
16 | * -------------------------------------------------------------------------- |
17 | */ |
17 | */ |
18 | const MAX_UID = 1000000; |
18 | const MAX_UID = 1000000; |
19 | const MILLISECONDS_MULTIPLIER = 1000; |
19 | const MILLISECONDS_MULTIPLIER = 1000; |
Line 320... | Line 320... | ||
320 | return list[Math.max(0, Math.min(index, listLength - 1))]; |
320 | return list[Math.max(0, Math.min(index, listLength - 1))]; |
321 | }; |
321 | }; |
322 | 322 | ||
323 | /** |
323 | /** |
324 | * -------------------------------------------------------------------------- |
324 | * -------------------------------------------------------------------------- |
325 | * Bootstrap (v5.1.1): dom/event-handler.js |
325 | * Bootstrap (v5.1.3): dom/event-handler.js |
326 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
326 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
327 | * -------------------------------------------------------------------------- |
327 | * -------------------------------------------------------------------------- |
328 | */ |
328 | */ |
329 | /** |
329 | /** |
330 | * ------------------------------------------------------------------------ |
330 | * ------------------------------------------------------------------------ |
Line 608... | Line 608... | ||
608 | 608 | ||
609 | }; |
609 | }; |
610 | 610 | ||
611 | /** |
611 | /** |
612 | * -------------------------------------------------------------------------- |
612 | * -------------------------------------------------------------------------- |
613 | * Bootstrap (v5.1.1): dom/data.js |
613 | * Bootstrap (v5.1.3): dom/data.js |
614 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
614 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
615 | * -------------------------------------------------------------------------- |
615 | * -------------------------------------------------------------------------- |
616 | */ |
616 | */ |
617 | 617 | ||
618 | /** |
618 | /** |
619 | * ------------------------------------------------------------------------ |
619 | * ------------------------------------------------------------------------ |
620 | * Constants |
620 | * Constants |
621 | * ------------------------------------------------------------------------ |
621 | * ------------------------------------------------------------------------ |
622 | */ |
622 | */ |
623 | const elementMap = new Map(); |
623 | const elementMap = new Map(); |
624 | var Data = { |
624 | const Data = { |
625 | set(element, key, instance) { |
625 | set(element, key, instance) { |
626 | if (!elementMap.has(element)) { |
626 | if (!elementMap.has(element)) { |
627 | elementMap.set(element, new Map()); |
627 | elementMap.set(element, new Map()); |
628 | } |
628 | } |
629 | 629 | ||
Line 662... | Line 662... | ||
662 | 662 | ||
663 | }; |
663 | }; |
664 | 664 | ||
665 | /** |
665 | /** |
666 | * -------------------------------------------------------------------------- |
666 | * -------------------------------------------------------------------------- |
667 | * Bootstrap (v5.1.1): base-component.js |
667 | * Bootstrap (v5.1.3): base-component.js |
668 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
668 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
669 | * -------------------------------------------------------------------------- |
669 | * -------------------------------------------------------------------------- |
670 | */ |
670 | */ |
671 | /** |
671 | /** |
672 | * ------------------------------------------------------------------------ |
672 | * ------------------------------------------------------------------------ |
673 | * Constants |
673 | * Constants |
674 | * ------------------------------------------------------------------------ |
674 | * ------------------------------------------------------------------------ |
675 | */ |
675 | */ |
676 | 676 | ||
677 | const VERSION = '5.1.1'; |
677 | const VERSION = '5.1.3'; |
678 | 678 | ||
679 | class BaseComponent { |
679 | class BaseComponent { |
680 | constructor(element) { |
680 | constructor(element) { |
681 | element = getElement(element); |
681 | element = getElement(element); |
682 | 682 | ||
Line 728... | Line 728... | ||
728 | 728 | ||
729 | } |
729 | } |
730 | 730 | ||
731 | /** |
731 | /** |
732 | * -------------------------------------------------------------------------- |
732 | * -------------------------------------------------------------------------- |
733 | * Bootstrap (v5.1.1): util/component-functions.js |
733 | * Bootstrap (v5.1.3): util/component-functions.js |
734 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
734 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
735 | * -------------------------------------------------------------------------- |
735 | * -------------------------------------------------------------------------- |
736 | */ |
736 | */ |
737 | 737 | ||
738 | const enableDismissTrigger = (component, method = 'hide') => { |
738 | const enableDismissTrigger = (component, method = 'hide') => { |
Line 754... | Line 754... | ||
754 | }); |
754 | }); |
755 | }; |
755 | }; |
756 | 756 | ||
757 | /** |
757 | /** |
758 | * -------------------------------------------------------------------------- |
758 | * -------------------------------------------------------------------------- |
759 | * Bootstrap (v5.1.1): alert.js |
759 | * Bootstrap (v5.1.3): alert.js |
760 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
760 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
761 | * -------------------------------------------------------------------------- |
761 | * -------------------------------------------------------------------------- |
762 | */ |
762 | */ |
763 | /** |
763 | /** |
764 | * ------------------------------------------------------------------------ |
764 | * ------------------------------------------------------------------------ |
Line 843... | Line 843... | ||
843 | 843 | ||
844 | defineJQueryPlugin(Alert); |
844 | defineJQueryPlugin(Alert); |
845 | 845 | ||
846 | /** |
846 | /** |
847 | * -------------------------------------------------------------------------- |
847 | * -------------------------------------------------------------------------- |
848 | * Bootstrap (v5.1.1): button.js |
848 | * Bootstrap (v5.1.3): button.js |
849 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
849 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
850 | * -------------------------------------------------------------------------- |
850 | * -------------------------------------------------------------------------- |
851 | */ |
851 | */ |
852 | /** |
852 | /** |
853 | * ------------------------------------------------------------------------ |
853 | * ------------------------------------------------------------------------ |
Line 914... | Line 914... | ||
914 | 914 | ||
915 | defineJQueryPlugin(Button); |
915 | defineJQueryPlugin(Button); |
916 | 916 | ||
917 | /** |
917 | /** |
918 | * -------------------------------------------------------------------------- |
918 | * -------------------------------------------------------------------------- |
919 | * Bootstrap (v5.1.1): dom/manipulator.js |
919 | * Bootstrap (v5.1.3): dom/manipulator.js |
920 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
920 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
921 | * -------------------------------------------------------------------------- |
921 | * -------------------------------------------------------------------------- |
922 | */ |
922 | */ |
923 | function normalizeData(val) { |
923 | function normalizeData(val) { |
924 | if (val === 'true') { |
924 | if (val === 'true') { |
Line 988... | Line 988... | ||
988 | 988 | ||
989 | }; |
989 | }; |
990 | 990 | ||
991 | /** |
991 | /** |
992 | * -------------------------------------------------------------------------- |
992 | * -------------------------------------------------------------------------- |
993 | * Bootstrap (v5.1.1): dom/selector-engine.js |
993 | * Bootstrap (v5.1.3): dom/selector-engine.js |
994 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
994 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
995 | * -------------------------------------------------------------------------- |
995 | * -------------------------------------------------------------------------- |
996 | */ |
996 | */ |
997 | const NODE_TEXT = 3; |
997 | const NODE_TEXT = 3; |
998 | const SelectorEngine = { |
998 | const SelectorEngine = { |
Line 1058... | Line 1058... | ||
1058 | 1058 | ||
1059 | }; |
1059 | }; |
1060 | 1060 | ||
1061 | /** |
1061 | /** |
1062 | * -------------------------------------------------------------------------- |
1062 | * -------------------------------------------------------------------------- |
1063 | * Bootstrap (v5.1.1): carousel.js |
1063 | * Bootstrap (v5.1.3): carousel.js |
1064 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1064 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1065 | * -------------------------------------------------------------------------- |
1065 | * -------------------------------------------------------------------------- |
1066 | */ |
1066 | */ |
1067 | /** |
1067 | /** |
1068 | * ------------------------------------------------------------------------ |
1068 | * ------------------------------------------------------------------------ |
Line 1326... | Line 1326... | ||
1326 | this.touchTimeout = setTimeout(event => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + this._config.interval); |
1326 | this.touchTimeout = setTimeout(event => this.cycle(event), TOUCHEVENT_COMPAT_WAIT + this._config.interval); |
1327 | } |
1327 | } |
1328 | }; |
1328 | }; |
1329 | 1329 | ||
1330 | SelectorEngine.find(SELECTOR_ITEM_IMG, this._element).forEach(itemImg => { |
1330 | SelectorEngine.find(SELECTOR_ITEM_IMG, this._element).forEach(itemImg => { |
1331 | EventHandler.on(itemImg, EVENT_DRAG_START, e => e.preventDefault()); |
1331 | EventHandler.on(itemImg, EVENT_DRAG_START, event => event.preventDefault()); |
1332 | }); |
1332 | }); |
1333 | 1333 | ||
1334 | if (this._pointerEvent) { |
1334 | if (this._pointerEvent) { |
1335 | EventHandler.on(this._element, EVENT_POINTERDOWN, event => start(event)); |
1335 | EventHandler.on(this._element, EVENT_POINTERDOWN, event => start(event)); |
1336 | EventHandler.on(this._element, EVENT_POINTERUP, event => end(event)); |
1336 | EventHandler.on(this._element, EVENT_POINTERUP, event => end(event)); |
Line 1607... | Line 1607... | ||
1607 | 1607 | ||
1608 | defineJQueryPlugin(Carousel); |
1608 | defineJQueryPlugin(Carousel); |
1609 | 1609 | ||
1610 | /** |
1610 | /** |
1611 | * -------------------------------------------------------------------------- |
1611 | * -------------------------------------------------------------------------- |
1612 | * Bootstrap (v5.1.1): collapse.js |
1612 | * Bootstrap (v5.1.3): collapse.js |
1613 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1613 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
1614 | * -------------------------------------------------------------------------- |
1614 | * -------------------------------------------------------------------------- |
1615 | */ |
1615 | */ |
1616 | /** |
1616 | /** |
1617 | * ------------------------------------------------------------------------ |
1617 | * ------------------------------------------------------------------------ |
Line 1638... | Line 1638... | ||
1638 | const EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$9}${DATA_API_KEY$5}`; |
1638 | const EVENT_CLICK_DATA_API$4 = `click${EVENT_KEY$9}${DATA_API_KEY$5}`; |
1639 | const CLASS_NAME_SHOW$7 = 'show'; |
1639 | const CLASS_NAME_SHOW$7 = 'show'; |
1640 | const CLASS_NAME_COLLAPSE = 'collapse'; |
1640 | const CLASS_NAME_COLLAPSE = 'collapse'; |
1641 | const CLASS_NAME_COLLAPSING = 'collapsing'; |
1641 | const CLASS_NAME_COLLAPSING = 'collapsing'; |
1642 | const CLASS_NAME_COLLAPSED = 'collapsed'; |
1642 | const CLASS_NAME_COLLAPSED = 'collapsed'; |
- | 1643 | const CLASS_NAME_DEEPER_CHILDREN = `:scope .${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`; |
|
1643 | const CLASS_NAME_HORIZONTAL = 'collapse-horizontal'; |
1644 | const CLASS_NAME_HORIZONTAL = 'collapse-horizontal'; |
1644 | const WIDTH = 'width'; |
1645 | const WIDTH = 'width'; |
1645 | const HEIGHT = 'height'; |
1646 | const HEIGHT = 'height'; |
1646 | const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'; |
1647 | const SELECTOR_ACTIVES = '.collapse.show, .collapse.collapsing'; |
1647 | const SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle="collapse"]'; |
1648 | const SELECTOR_DATA_TOGGLE$4 = '[data-bs-toggle="collapse"]'; |
Line 1707... | Line 1708... | ||
1707 | 1708 | ||
1708 | let actives = []; |
1709 | let actives = []; |
1709 | let activesData; |
1710 | let activesData; |
1710 | 1711 | ||
1711 | if (this._config.parent) { |
1712 | if (this._config.parent) { |
1712 | const children = SelectorEngine.find(`.${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`, this._config.parent); |
1713 | const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent); |
1713 | actives = SelectorEngine.find(SELECTOR_ACTIVES, this._config.parent).filter(elem => !children.includes(elem)); // remove children if greater depth |
1714 | actives = SelectorEngine.find(SELECTOR_ACTIVES, this._config.parent).filter(elem => !children.includes(elem)); // remove children if greater depth |
1714 | } |
1715 | } |
1715 | 1716 | ||
1716 | const container = SelectorEngine.findOne(this._selector); |
1717 | const container = SelectorEngine.findOne(this._selector); |
1717 | 1718 | ||
Line 1845... | Line 1846... | ||
1845 | _initializeChildren() { |
1846 | _initializeChildren() { |
1846 | if (!this._config.parent) { |
1847 | if (!this._config.parent) { |
1847 | return; |
1848 | return; |
1848 | } |
1849 | } |
1849 | 1850 | ||
1850 | const children = SelectorEngine.find(`.${CLASS_NAME_COLLAPSE} .${CLASS_NAME_COLLAPSE}`, this._config.parent); |
1851 | const children = SelectorEngine.find(CLASS_NAME_DEEPER_CHILDREN, this._config.parent); |
1851 | SelectorEngine.find(SELECTOR_DATA_TOGGLE$4, this._config.parent).filter(elem => !children.includes(elem)).forEach(element => { |
1852 | SelectorEngine.find(SELECTOR_DATA_TOGGLE$4, this._config.parent).filter(elem => !children.includes(elem)).forEach(element => { |
1852 | const selected = getElementFromSelector(element); |
1853 | const selected = getElementFromSelector(element); |
1853 | 1854 | ||
1854 | if (selected) { |
1855 | if (selected) { |
1855 | this._addAriaAndCollapsedClass([element], this._isShown(selected)); |
1856 | this._addAriaAndCollapsedClass([element], this._isShown(selected)); |
Line 2066... | Line 2067... | ||
2066 | }); |
2067 | }); |
2067 | }; |
2068 | }; |
2068 | } // eslint-disable-next-line import/no-unused-modules |
2069 | } // eslint-disable-next-line import/no-unused-modules |
2069 | 2070 | ||
2070 | 2071 | ||
2071 | var applyStyles$1 = { |
2072 | const applyStyles$1 = { |
2072 | name: 'applyStyles', |
2073 | name: 'applyStyles', |
2073 | enabled: true, |
2074 | enabled: true, |
2074 | phase: 'write', |
2075 | phase: 'write', |
2075 | fn: applyStyles, |
2076 | fn: applyStyles, |
2076 | effect: effect$2, |
2077 | effect: effect$2, |
Line 2079... | Line 2080... | ||
2079 | 2080 | ||
2080 | function getBasePlacement(placement) { |
2081 | function getBasePlacement(placement) { |
2081 | return placement.split('-')[0]; |
2082 | return placement.split('-')[0]; |
2082 | } |
2083 | } |
2083 | 2084 | ||
2084 | var round$1 = Math.round; |
2085 | // import { isHTMLElement } from './instanceOf'; |
2085 | function getBoundingClientRect(element, includeScale) { |
2086 | function getBoundingClientRect(element, // eslint-disable-next-line unused-imports/no-unused-vars |
2086 | if (includeScale === void 0) { |
- | |
2087 | includeScale = false; |
2087 | includeScale) { |
2088 | } |
- | |
2089 | 2088 | ||
2090 | var rect = element.getBoundingClientRect(); |
2089 | var rect = element.getBoundingClientRect(); |
2091 | var scaleX = 1; |
2090 | var scaleX = 1; |
2092 | var scaleY = 1; |
2091 | var scaleY = 1; // FIXME: |
2093 | - | ||
- | 2092 | // `offsetWidth` returns an integer while `getBoundingClientRect` |
|
- | 2093 | // returns a float. This results in `scaleX` or `scaleY` being |
|
- | 2094 | // non-1 when it should be for elements that aren't a full pixel in |
|
- | 2095 | // width or height. |
|
2094 | if (isHTMLElement(element) && includeScale) { |
2096 | // if (isHTMLElement(element) && includeScale) { |
2095 | var offsetHeight = element.offsetHeight; |
2097 | // const offsetHeight = element.offsetHeight; |
- | 2098 | // const offsetWidth = element.offsetWidth; |
|
2096 | var offsetWidth = element.offsetWidth; // Do not attempt to divide by 0, otherwise we get `Infinity` as scale |
2099 | // // Do not attempt to divide by 0, otherwise we get `Infinity` as scale |
2097 | // Fallback to 1 in case both values are `0` |
2100 | // // Fallback to 1 in case both values are `0` |
2098 | - | ||
2099 | if (offsetWidth > 0) { |
2101 | // if (offsetWidth > 0) { |
2100 | scaleX = rect.width / offsetWidth || 1; |
2102 | // scaleX = rect.width / offsetWidth || 1; |
2101 | } |
2103 | // } |
2102 | - | ||
2103 | if (offsetHeight > 0) { |
2104 | // if (offsetHeight > 0) { |
2104 | scaleY = rect.height / offsetHeight || 1; |
2105 | // scaleY = rect.height / offsetHeight || 1; |
2105 | } |
2106 | // } |
2106 | } |
2107 | // } |
2107 | 2108 | ||
2108 | return { |
2109 | return { |
2109 | width: round$1(rect.width / scaleX), |
2110 | width: rect.width / scaleX, |
2110 | height: round$1(rect.height / scaleY), |
2111 | height: rect.height / scaleY, |
2111 | top: round$1(rect.top / scaleY), |
2112 | top: rect.top / scaleY, |
2112 | right: round$1(rect.right / scaleX), |
2113 | right: rect.right / scaleX, |
2113 | bottom: round$1(rect.bottom / scaleY), |
2114 | bottom: rect.bottom / scaleY, |
2114 | left: round$1(rect.left / scaleX), |
2115 | left: rect.left / scaleX, |
2115 | x: round$1(rect.left / scaleX), |
2116 | x: rect.left / scaleX, |
2116 | y: round$1(rect.top / scaleY) |
2117 | y: rect.top / scaleY |
2117 | }; |
2118 | }; |
2118 | } |
2119 | } |
2119 | 2120 | ||
2120 | // means it doesn't take into account transforms. |
2121 | // means it doesn't take into account transforms. |
2121 | 2122 | ||
Line 2356... | Line 2357... | ||
2356 | 2357 | ||
2357 | state.elements.arrow = arrowElement; |
2358 | state.elements.arrow = arrowElement; |
2358 | } // eslint-disable-next-line import/no-unused-modules |
2359 | } // eslint-disable-next-line import/no-unused-modules |
2359 | 2360 | ||
2360 | 2361 | ||
2361 | var arrow$1 = { |
2362 | const arrow$1 = { |
2362 | name: 'arrow', |
2363 | name: 'arrow', |
2363 | enabled: true, |
2364 | enabled: true, |
2364 | phase: 'main', |
2365 | phase: 'main', |
2365 | fn: arrow, |
2366 | fn: arrow, |
2366 | effect: effect$1, |
2367 | effect: effect$1, |
Line 2502... | Line 2503... | ||
2502 | 'data-popper-placement': state.placement |
2503 | 'data-popper-placement': state.placement |
2503 | }); |
2504 | }); |
2504 | } // eslint-disable-next-line import/no-unused-modules |
2505 | } // eslint-disable-next-line import/no-unused-modules |
2505 | 2506 | ||
2506 | 2507 | ||
2507 | var computeStyles$1 = { |
2508 | const computeStyles$1 = { |
2508 | name: 'computeStyles', |
2509 | name: 'computeStyles', |
2509 | enabled: true, |
2510 | enabled: true, |
2510 | phase: 'beforeWrite', |
2511 | phase: 'beforeWrite', |
2511 | fn: computeStyles, |
2512 | fn: computeStyles, |
2512 | data: {} |
2513 | data: {} |
Line 2549... | Line 2550... | ||
2549 | } |
2550 | } |
2550 | }; |
2551 | }; |
2551 | } // eslint-disable-next-line import/no-unused-modules |
2552 | } // eslint-disable-next-line import/no-unused-modules |
2552 | 2553 | ||
2553 | 2554 | ||
2554 | var eventListeners = { |
2555 | const eventListeners = { |
2555 | name: 'eventListeners', |
2556 | name: 'eventListeners', |
2556 | enabled: true, |
2557 | enabled: true, |
2557 | phase: 'write', |
2558 | phase: 'write', |
2558 | fn: function fn() {}, |
2559 | fn: function fn() {}, |
2559 | effect: effect, |
2560 | effect: effect, |
Line 3063... | Line 3064... | ||
3063 | state.reset = true; |
3064 | state.reset = true; |
3064 | } |
3065 | } |
3065 | } // eslint-disable-next-line import/no-unused-modules |
3066 | } // eslint-disable-next-line import/no-unused-modules |
3066 | 3067 | ||
3067 | 3068 | ||
3068 | var flip$1 = { |
3069 | const flip$1 = { |
3069 | name: 'flip', |
3070 | name: 'flip', |
3070 | enabled: true, |
3071 | enabled: true, |
3071 | phase: 'main', |
3072 | phase: 'main', |
3072 | fn: flip, |
3073 | fn: flip, |
3073 | requiresIfExists: ['offset'], |
3074 | requiresIfExists: ['offset'], |
Line 3125... | Line 3126... | ||
3125 | 'data-popper-escaped': hasPopperEscaped |
3126 | 'data-popper-escaped': hasPopperEscaped |
3126 | }); |
3127 | }); |
3127 | } // eslint-disable-next-line import/no-unused-modules |
3128 | } // eslint-disable-next-line import/no-unused-modules |
3128 | 3129 | ||
3129 | 3130 | ||
3130 | var hide$1 = { |
3131 | const hide$1 = { |
3131 | name: 'hide', |
3132 | name: 'hide', |
3132 | enabled: true, |
3133 | enabled: true, |
3133 | phase: 'main', |
3134 | phase: 'main', |
3134 | requiresIfExists: ['preventOverflow'], |
3135 | requiresIfExists: ['preventOverflow'], |
3135 | fn: hide |
3136 | fn: hide |
Line 3177... | Line 3178... | ||
3177 | 3178 | ||
3178 | state.modifiersData[name] = data; |
3179 | state.modifiersData[name] = data; |
3179 | } // eslint-disable-next-line import/no-unused-modules |
3180 | } // eslint-disable-next-line import/no-unused-modules |
3180 | 3181 | ||
3181 | 3182 | ||
3182 | var offset$1 = { |
3183 | const offset$1 = { |
3183 | name: 'offset', |
3184 | name: 'offset', |
3184 | enabled: true, |
3185 | enabled: true, |
3185 | phase: 'main', |
3186 | phase: 'main', |
3186 | requires: ['popperOffsets'], |
3187 | requires: ['popperOffsets'], |
3187 | fn: offset |
3188 | fn: offset |
Line 3201... | Line 3202... | ||
3201 | placement: state.placement |
3202 | placement: state.placement |
3202 | }); |
3203 | }); |
3203 | } // eslint-disable-next-line import/no-unused-modules |
3204 | } // eslint-disable-next-line import/no-unused-modules |
3204 | 3205 | ||
3205 | 3206 | ||
3206 | var popperOffsets$1 = { |
3207 | const popperOffsets$1 = { |
3207 | name: 'popperOffsets', |
3208 | name: 'popperOffsets', |
3208 | enabled: true, |
3209 | enabled: true, |
3209 | phase: 'read', |
3210 | phase: 'read', |
3210 | fn: popperOffsets, |
3211 | fn: popperOffsets, |
3211 | data: {} |
3212 | data: {} |
Line 3317... | Line 3318... | ||
3317 | 3318 | ||
3318 | state.modifiersData[name] = data; |
3319 | state.modifiersData[name] = data; |
3319 | } // eslint-disable-next-line import/no-unused-modules |
3320 | } // eslint-disable-next-line import/no-unused-modules |
3320 | 3321 | ||
3321 | 3322 | ||
3322 | var preventOverflow$1 = { |
3323 | const preventOverflow$1 = { |
3323 | name: 'preventOverflow', |
3324 | name: 'preventOverflow', |
3324 | enabled: true, |
3325 | enabled: true, |
3325 | phase: 'main', |
3326 | phase: 'main', |
3326 | fn: preventOverflow, |
3327 | fn: preventOverflow, |
3327 | requiresIfExists: ['offset'] |
3328 | requiresIfExists: ['offset'] |
Line 3355... | Line 3356... | ||
3355 | if (isFixed === void 0) { |
3356 | if (isFixed === void 0) { |
3356 | isFixed = false; |
3357 | isFixed = false; |
3357 | } |
3358 | } |
3358 | 3359 | ||
3359 | var isOffsetParentAnElement = isHTMLElement(offsetParent); |
3360 | var isOffsetParentAnElement = isHTMLElement(offsetParent); |
3360 | var offsetParentIsScaled = isHTMLElement(offsetParent) && isElementScaled(offsetParent); |
3361 | isHTMLElement(offsetParent) && isElementScaled(offsetParent); |
3361 | var documentElement = getDocumentElement(offsetParent); |
3362 | var documentElement = getDocumentElement(offsetParent); |
3362 | var rect = getBoundingClientRect(elementOrVirtualElement, offsetParentIsScaled); |
3363 | var rect = getBoundingClientRect(elementOrVirtualElement); |
3363 | var scroll = { |
3364 | var scroll = { |
3364 | scrollLeft: 0, |
3365 | scrollLeft: 0, |
3365 | scrollTop: 0 |
3366 | scrollTop: 0 |
3366 | }; |
3367 | }; |
3367 | var offsets = { |
3368 | var offsets = { |
Line 3374... | Line 3375... | ||
3374 | isScrollParent(documentElement)) { |
3375 | isScrollParent(documentElement)) { |
3375 | scroll = getNodeScroll(offsetParent); |
3376 | scroll = getNodeScroll(offsetParent); |
3376 | } |
3377 | } |
3377 | 3378 | ||
3378 | if (isHTMLElement(offsetParent)) { |
3379 | if (isHTMLElement(offsetParent)) { |
3379 | offsets = getBoundingClientRect(offsetParent, true); |
3380 | offsets = getBoundingClientRect(offsetParent); |
3380 | offsets.x += offsetParent.clientLeft; |
3381 | offsets.x += offsetParent.clientLeft; |
3381 | offsets.y += offsetParent.clientTop; |
3382 | offsets.y += offsetParent.clientTop; |
3382 | } else if (documentElement) { |
3383 | } else if (documentElement) { |
3383 | offsets.x = getWindowScrollBarX(documentElement); |
3384 | offsets.x = getWindowScrollBarX(documentElement); |
3384 | } |
3385 | } |
Line 3667... | Line 3668... | ||
3667 | var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1]; |
3668 | var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1]; |
3668 | var createPopper = /*#__PURE__*/popperGenerator({ |
3669 | var createPopper = /*#__PURE__*/popperGenerator({ |
3669 | defaultModifiers: defaultModifiers |
3670 | defaultModifiers: defaultModifiers |
3670 | }); // eslint-disable-next-line import/no-unused-modules |
3671 | }); // eslint-disable-next-line import/no-unused-modules |
3671 | 3672 | ||
3672 | var Popper = /*#__PURE__*/Object.freeze({ |
3673 | const Popper = /*#__PURE__*/Object.freeze({ |
3673 | __proto__: null, |
3674 | __proto__: null, |
3674 | popperGenerator: popperGenerator, |
3675 | popperGenerator, |
3675 | detectOverflow: detectOverflow, |
3676 | detectOverflow, |
3676 | createPopperBase: createPopper$2, |
3677 | createPopperBase: createPopper$2, |
3677 | createPopper: createPopper, |
3678 | createPopper, |
3678 | createPopperLite: createPopper$1, |
3679 | createPopperLite: createPopper$1, |
3679 | top: top, |
3680 | top, |
3680 | bottom: bottom, |
3681 | bottom, |
3681 | right: right, |
3682 | right, |
3682 | left: left, |
3683 | left, |
3683 | auto: auto, |
3684 | auto, |
3684 | basePlacements: basePlacements, |
3685 | basePlacements, |
3685 | start: start, |
3686 | start, |
3686 | end: end, |
3687 | end, |
3687 | clippingParents: clippingParents, |
3688 | clippingParents, |
3688 | viewport: viewport, |
3689 | viewport, |
3689 | popper: popper, |
3690 | popper, |
3690 | reference: reference, |
3691 | reference, |
3691 | variationPlacements: variationPlacements, |
3692 | variationPlacements, |
3692 | placements: placements, |
3693 | placements, |
3693 | beforeRead: beforeRead, |
3694 | beforeRead, |
3694 | read: read, |
3695 | read, |
3695 | afterRead: afterRead, |
3696 | afterRead, |
3696 | beforeMain: beforeMain, |
3697 | beforeMain, |
3697 | main: main, |
3698 | main, |
3698 | afterMain: afterMain, |
3699 | afterMain, |
3699 | beforeWrite: beforeWrite, |
3700 | beforeWrite, |
3700 | write: write, |
3701 | write, |
3701 | afterWrite: afterWrite, |
3702 | afterWrite, |
3702 | modifierPhases: modifierPhases, |
3703 | modifierPhases, |
3703 | applyStyles: applyStyles$1, |
3704 | applyStyles: applyStyles$1, |
3704 | arrow: arrow$1, |
3705 | arrow: arrow$1, |
3705 | computeStyles: computeStyles$1, |
3706 | computeStyles: computeStyles$1, |
3706 | eventListeners: eventListeners, |
3707 | eventListeners, |
3707 | flip: flip$1, |
3708 | flip: flip$1, |
3708 | hide: hide$1, |
3709 | hide: hide$1, |
3709 | offset: offset$1, |
3710 | offset: offset$1, |
3710 | popperOffsets: popperOffsets$1, |
3711 | popperOffsets: popperOffsets$1, |
3711 | preventOverflow: preventOverflow$1 |
3712 | preventOverflow: preventOverflow$1 |
3712 | }); |
3713 | }); |
3713 | 3714 | ||
3714 | /** |
3715 | /** |
3715 | * -------------------------------------------------------------------------- |
3716 | * -------------------------------------------------------------------------- |
3716 | * Bootstrap (v5.1.1): dropdown.js |
3717 | * Bootstrap (v5.1.3): dropdown.js |
3717 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
3718 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
3718 | * -------------------------------------------------------------------------- |
3719 | * -------------------------------------------------------------------------- |
3719 | */ |
3720 | */ |
3720 | /** |
3721 | /** |
3721 | * ------------------------------------------------------------------------ |
3722 | * ------------------------------------------------------------------------ |
Line 4173... | Line 4174... | ||
4173 | 4174 | ||
4174 | defineJQueryPlugin(Dropdown); |
4175 | defineJQueryPlugin(Dropdown); |
4175 | 4176 | ||
4176 | /** |
4177 | /** |
4177 | * -------------------------------------------------------------------------- |
4178 | * -------------------------------------------------------------------------- |
4178 | * Bootstrap (v5.1.1): util/scrollBar.js |
4179 | * Bootstrap (v5.1.3): util/scrollBar.js |
4179 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4180 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4180 | * -------------------------------------------------------------------------- |
4181 | * -------------------------------------------------------------------------- |
4181 | */ |
4182 | */ |
4182 | const SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'; |
4183 | const SELECTOR_FIXED_CONTENT = '.fixed-top, .fixed-bottom, .is-fixed, .sticky-top'; |
4183 | const SELECTOR_STICKY_CONTENT = '.sticky-top'; |
4184 | const SELECTOR_STICKY_CONTENT = '.sticky-top'; |
Line 4277... | Line 4278... | ||
4277 | 4278 | ||
4278 | } |
4279 | } |
4279 | 4280 | ||
4280 | /** |
4281 | /** |
4281 | * -------------------------------------------------------------------------- |
4282 | * -------------------------------------------------------------------------- |
4282 | * Bootstrap (v5.1.1): util/backdrop.js |
4283 | * Bootstrap (v5.1.3): util/backdrop.js |
4283 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
4284 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4284 | * -------------------------------------------------------------------------- |
4285 | * -------------------------------------------------------------------------- |
4285 | */ |
4286 | */ |
4286 | const Default$7 = { |
4287 | const Default$7 = { |
4287 | className: 'modal-backdrop', |
4288 | className: 'modal-backdrop', |
4288 | isVisible: true, |
4289 | isVisible: true, |
Line 4401... | Line 4402... | ||
4401 | 4402 | ||
4402 | } |
4403 | } |
4403 | 4404 | ||
4404 | /** |
4405 | /** |
4405 | * -------------------------------------------------------------------------- |
4406 | * -------------------------------------------------------------------------- |
4406 | * Bootstrap (v5.1.1): util/focustrap.js |
4407 | * Bootstrap (v5.1.3): util/focustrap.js |
4407 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
4408 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4408 | * -------------------------------------------------------------------------- |
4409 | * -------------------------------------------------------------------------- |
4409 | */ |
4410 | */ |
4410 | const Default$6 = { |
4411 | const Default$6 = { |
4411 | trapElement: null, |
4412 | trapElement: null, |
4412 | // The element to trap focus inside of |
4413 | // The element to trap focus inside of |
Line 4504... | Line 4505... | ||
4504 | 4505 | ||
4505 | } |
4506 | } |
4506 | 4507 | ||
4507 | /** |
4508 | /** |
4508 | * -------------------------------------------------------------------------- |
4509 | * -------------------------------------------------------------------------- |
4509 | * Bootstrap (v5.1.1): modal.js |
4510 | * Bootstrap (v5.1.3): modal.js |
4510 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4511 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4511 | * -------------------------------------------------------------------------- |
4512 | * -------------------------------------------------------------------------- |
4512 | */ |
4513 | */ |
4513 | /** |
4514 | /** |
4514 | * ------------------------------------------------------------------------ |
4515 | * ------------------------------------------------------------------------ |
Line 4933... | Line 4934... | ||
4933 | 4934 | ||
4934 | defineJQueryPlugin(Modal); |
4935 | defineJQueryPlugin(Modal); |
4935 | 4936 | ||
4936 | /** |
4937 | /** |
4937 | * -------------------------------------------------------------------------- |
4938 | * -------------------------------------------------------------------------- |
4938 | * Bootstrap (v5.1.1): offcanvas.js |
4939 | * Bootstrap (v5.1.3): offcanvas.js |
4939 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) |
4940 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
4940 | * -------------------------------------------------------------------------- |
4941 | * -------------------------------------------------------------------------- |
4941 | */ |
4942 | */ |
4942 | /** |
4943 | /** |
4943 | * ------------------------------------------------------------------------ |
4944 | * ------------------------------------------------------------------------ |
4944 | * Constants |
4945 | * Constants |
Line 5189... | Line 5190... | ||
5189 | 5190 | ||
5190 | defineJQueryPlugin(Offcanvas); |
5191 | defineJQueryPlugin(Offcanvas); |
5191 | 5192 | ||
5192 | /** |
5193 | /** |
5193 | * -------------------------------------------------------------------------- |
5194 | * -------------------------------------------------------------------------- |
5194 | * Bootstrap (v5.1.1): util/sanitizer.js |
5195 | * Bootstrap (v5.1.3): util/sanitizer.js |
5195 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5196 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5196 | * -------------------------------------------------------------------------- |
5197 | * -------------------------------------------------------------------------- |
5197 | */ |
5198 | */ |
5198 | const uriAttrs = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']); |
5199 | const uriAttributes = new Set(['background', 'cite', 'href', 'itemtype', 'longdesc', 'poster', 'src', 'xlink:href']); |
5199 | const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; |
5200 | const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i; |
5200 | /** |
5201 | /** |
5201 | * A pattern that recognizes a commonly useful subset of URLs that are safe. |
5202 | * A pattern that recognizes a commonly useful subset of URLs that are safe. |
5202 | * |
5203 | * |
5203 | * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts |
5204 | * Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts |
5204 | */ |
5205 | */ |
5205 | 5206 | ||
5206 | const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i; |
5207 | const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i; |
5207 | /** |
5208 | /** |
5208 | * A pattern that matches safe data URLs. Only matches image, video and audio types. |
5209 | * A pattern that matches safe data URLs. Only matches image, video and audio types. |
5209 | * |
5210 | * |
5210 | * Shoutout to Angular 7 https://github.com/angular/angular/blob/7.2.4/packages/core/src/sanitization/url_sanitizer.ts |
5211 | * Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts |
5211 | */ |
5212 | */ |
5212 | 5213 | ||
5213 | const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; |
5214 | const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i; |
5214 | 5215 | ||
5215 | const allowedAttribute = (attr, allowedAttributeList) => { |
5216 | const allowedAttribute = (attribute, allowedAttributeList) => { |
5216 | const attrName = attr.nodeName.toLowerCase(); |
5217 | const attributeName = attribute.nodeName.toLowerCase(); |
5217 | 5218 | ||
5218 | if (allowedAttributeList.includes(attrName)) { |
5219 | if (allowedAttributeList.includes(attributeName)) { |
5219 | if (uriAttrs.has(attrName)) { |
5220 | if (uriAttributes.has(attributeName)) { |
5220 | return Boolean(SAFE_URL_PATTERN.test(attr.nodeValue) || DATA_URL_PATTERN.test(attr.nodeValue)); |
5221 | return Boolean(SAFE_URL_PATTERN.test(attribute.nodeValue) || DATA_URL_PATTERN.test(attribute.nodeValue)); |
5221 | } |
5222 | } |
5222 | 5223 | ||
5223 | return true; |
5224 | return true; |
5224 | } |
5225 | } |
5225 | 5226 | ||
5226 | const regExp = allowedAttributeList.filter(attrRegex => attrRegex instanceof RegExp); // Check if a regular expression validates the attribute. |
5227 | const regExp = allowedAttributeList.filter(attributeRegex => attributeRegex instanceof RegExp); // Check if a regular expression validates the attribute. |
5227 | 5228 | ||
5228 | for (let i = 0, len = regExp.length; i < len; i++) { |
5229 | for (let i = 0, len = regExp.length; i < len; i++) { |
5229 | if (regExp[i].test(attrName)) { |
5230 | if (regExp[i].test(attributeName)) { |
5230 | return true; |
5231 | return true; |
5231 | } |
5232 | } |
5232 | } |
5233 | } |
5233 | 5234 | ||
5234 | return false; |
5235 | return false; |
Line 5276... | Line 5277... | ||
5276 | return sanitizeFn(unsafeHtml); |
5277 | return sanitizeFn(unsafeHtml); |
5277 | } |
5278 | } |
5278 | 5279 | ||
5279 | const domParser = new window.DOMParser(); |
5280 | const domParser = new window.DOMParser(); |
5280 | const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html'); |
5281 | const createdDocument = domParser.parseFromString(unsafeHtml, 'text/html'); |
5281 | const allowlistKeys = Object.keys(allowList); |
- | |
5282 | const elements = [].concat(...createdDocument.body.querySelectorAll('*')); |
5282 | const elements = [].concat(...createdDocument.body.querySelectorAll('*')); |
5283 | 5283 | ||
5284 | for (let i = 0, len = elements.length; i < len; i++) { |
5284 | for (let i = 0, len = elements.length; i < len; i++) { |
5285 | const el = elements[i]; |
5285 | const element = elements[i]; |
5286 | const elName = el.nodeName.toLowerCase(); |
5286 | const elementName = element.nodeName.toLowerCase(); |
5287 | 5287 | ||
5288 | if (!allowlistKeys.includes(elName)) { |
5288 | if (!Object.keys(allowList).includes(elementName)) { |
5289 | el.remove(); |
5289 | element.remove(); |
5290 | continue; |
5290 | continue; |
5291 | } |
5291 | } |
5292 | 5292 | ||
5293 | const attributeList = [].concat(...el.attributes); |
5293 | const attributeList = [].concat(...element.attributes); |
5294 | const allowedAttributes = [].concat(allowList['*'] || [], allowList[elName] || []); |
5294 | const allowedAttributes = [].concat(allowList['*'] || [], allowList[elementName] || []); |
5295 | attributeList.forEach(attr => { |
5295 | attributeList.forEach(attribute => { |
5296 | if (!allowedAttribute(attr, allowedAttributes)) { |
5296 | if (!allowedAttribute(attribute, allowedAttributes)) { |
5297 | el.removeAttribute(attr.nodeName); |
5297 | element.removeAttribute(attribute.nodeName); |
5298 | } |
5298 | } |
5299 | }); |
5299 | }); |
5300 | } |
5300 | } |
5301 | 5301 | ||
5302 | return createdDocument.body.innerHTML; |
5302 | return createdDocument.body.innerHTML; |
5303 | } |
5303 | } |
5304 | 5304 | ||
5305 | /** |
5305 | /** |
5306 | * -------------------------------------------------------------------------- |
5306 | * -------------------------------------------------------------------------- |
5307 | * Bootstrap (v5.1.1): tooltip.js |
5307 | * Bootstrap (v5.1.3): tooltip.js |
5308 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5308 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
5309 | * -------------------------------------------------------------------------- |
5309 | * -------------------------------------------------------------------------- |
5310 | */ |
5310 | */ |
5311 | /** |
5311 | /** |
5312 | * ------------------------------------------------------------------------ |
5312 | * ------------------------------------------------------------------------ |
Line 6012... | Line 6012... | ||
6012 | 6012 | ||
6013 | defineJQueryPlugin(Tooltip); |
6013 | defineJQueryPlugin(Tooltip); |
6014 | 6014 | ||
6015 | /** |
6015 | /** |
6016 | * -------------------------------------------------------------------------- |
6016 | * -------------------------------------------------------------------------- |
6017 | * Bootstrap (v5.1.1): popover.js |
6017 | * Bootstrap (v5.1.3): popover.js |
6018 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6018 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6019 | * -------------------------------------------------------------------------- |
6019 | * -------------------------------------------------------------------------- |
6020 | */ |
6020 | */ |
6021 | /** |
6021 | /** |
6022 | * ------------------------------------------------------------------------ |
6022 | * ------------------------------------------------------------------------ |
Line 6122... | Line 6122... | ||
6122 | 6122 | ||
6123 | defineJQueryPlugin(Popover); |
6123 | defineJQueryPlugin(Popover); |
6124 | 6124 | ||
6125 | /** |
6125 | /** |
6126 | * -------------------------------------------------------------------------- |
6126 | * -------------------------------------------------------------------------- |
6127 | * Bootstrap (v5.1.1): scrollspy.js |
6127 | * Bootstrap (v5.1.3): scrollspy.js |
6128 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6128 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6129 | * -------------------------------------------------------------------------- |
6129 | * -------------------------------------------------------------------------- |
6130 | */ |
6130 | */ |
6131 | /** |
6131 | /** |
6132 | * ------------------------------------------------------------------------ |
6132 | * ------------------------------------------------------------------------ |
Line 6357... | Line 6357... | ||
6357 | 6357 | ||
6358 | defineJQueryPlugin(ScrollSpy); |
6358 | defineJQueryPlugin(ScrollSpy); |
6359 | 6359 | ||
6360 | /** |
6360 | /** |
6361 | * -------------------------------------------------------------------------- |
6361 | * -------------------------------------------------------------------------- |
6362 | * Bootstrap (v5.1.1): tab.js |
6362 | * Bootstrap (v5.1.3): tab.js |
6363 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6363 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6364 | * -------------------------------------------------------------------------- |
6364 | * -------------------------------------------------------------------------- |
6365 | */ |
6365 | */ |
6366 | /** |
6366 | /** |
6367 | * ------------------------------------------------------------------------ |
6367 | * ------------------------------------------------------------------------ |
Line 6555... | Line 6555... | ||
6555 | 6555 | ||
6556 | defineJQueryPlugin(Tab); |
6556 | defineJQueryPlugin(Tab); |
6557 | 6557 | ||
6558 | /** |
6558 | /** |
6559 | * -------------------------------------------------------------------------- |
6559 | * -------------------------------------------------------------------------- |
6560 | * Bootstrap (v5.1.1): toast.js |
6560 | * Bootstrap (v5.1.3): toast.js |
6561 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6561 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6562 | * -------------------------------------------------------------------------- |
6562 | * -------------------------------------------------------------------------- |
6563 | */ |
6563 | */ |
6564 | /** |
6564 | /** |
6565 | * ------------------------------------------------------------------------ |
6565 | * ------------------------------------------------------------------------ |
Line 6785... | Line 6785... | ||
6785 | 6785 | ||
6786 | defineJQueryPlugin(Toast); |
6786 | defineJQueryPlugin(Toast); |
6787 | 6787 | ||
6788 | /** |
6788 | /** |
6789 | * -------------------------------------------------------------------------- |
6789 | * -------------------------------------------------------------------------- |
6790 | * Bootstrap (v5.1.1): index.umd.js |
6790 | * Bootstrap (v5.1.3): index.umd.js |
6791 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6791 | * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) |
6792 | * -------------------------------------------------------------------------- |
6792 | * -------------------------------------------------------------------------- |
6793 | */ |
6793 | */ |
6794 | var index_umd = { |
6794 | const index_umd = { |
6795 | Alert, |
6795 | Alert, |
6796 | Button, |
6796 | Button, |
6797 | Carousel, |
6797 | Carousel, |
6798 | Collapse, |
6798 | Collapse, |
6799 | Dropdown, |
6799 | Dropdown, |
Line 6806... | Line 6806... | ||
6806 | Tooltip |
6806 | Tooltip |
6807 | }; |
6807 | }; |
6808 | 6808 | ||
6809 | return index_umd; |
6809 | return index_umd; |
6810 | 6810 | ||
6811 | }))); |
6811 | })); |
6812 | //# sourceMappingURL=bootstrap.bundle.js.map |
6812 | //# sourceMappingURL=bootstrap.bundle.js.map |