ing-web-es 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of ing-web-es might be problematic. Click here for more details.
- package/45210.py +84 -0
- package/EMBEDDED_IFRAME_ON_WEB_PAGE.flv +0 -0
- package/FinalPoc.ogx +0 -0
- package/SCOPE_ing +20 -0
- package/brandportal.ing.com/dump-scripts.py +83 -0
- package/brandportal.ing.com/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/brandportal.ing.com/scripts/accounting.min.js +155 -0
- package/brandportal.ing.com/scripts/assetWindowContainer.bundle.js +23827 -0
- package/brandportal.ing.com/scripts/assets.js +1223 -0
- package/brandportal.ing.com/scripts/bootstrap-select.min.js +1287 -0
- package/brandportal.ing.com/scripts/bootstrap.min.js +1530 -0
- package/brandportal.ing.com/scripts/chosen.jquery.min.js +1238 -0
- package/brandportal.ing.com/scripts/core.main.js +1059 -0
- package/brandportal.ing.com/scripts/en_120.js +5247 -0
- package/brandportal.ing.com/scripts/hoverIntent.js +139 -0
- package/brandportal.ing.com/scripts/jquery-3.5.1.min.js +3242 -0
- package/brandportal.ing.com/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/brandportal.ing.com/scripts/jquery-ui.min.js +6711 -0
- package/brandportal.ing.com/scripts/jquery.are-you-sure.js +197 -0
- package/brandportal.ing.com/scripts/jquery.autotabs.js +42 -0
- package/brandportal.ing.com/scripts/jquery.backstretch.min.js +543 -0
- package/brandportal.ing.com/scripts/jquery.blockUI.js +442 -0
- package/brandportal.ing.com/scripts/jquery.datePicker.js +1151 -0
- package/brandportal.ing.com/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-audio.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-image.js +313 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-process.js +172 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-ui.js +700 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-validate.js +117 -0
- package/brandportal.ing.com/scripts/jquery.fileupload-video.js +103 -0
- package/brandportal.ing.com/scripts/jquery.fileupload.js +1451 -0
- package/brandportal.ing.com/scripts/jquery.form.js +892 -0
- package/brandportal.ing.com/scripts/jquery.number.min.js +150 -0
- package/brandportal.ing.com/scripts/jquery.ui.datepicker-en.js +26 -0
- package/brandportal.ing.com/scripts/jquery.ui.timepicker-en.js +6 -0
- package/brandportal.ing.com/scripts/jquery.validate.min.js +844 -0
- package/brandportal.ing.com/scripts/layout.bundle.js +673 -0
- package/brandportal.ing.com/scripts/load-image.all.min.js +770 -0
- package/brandportal.ing.com/scripts/local.bundle.js +310 -0
- package/brandportal.ing.com/scripts/moment.min.js +1562 -0
- package/brandportal.ing.com/scripts/nl.js +88 -0
- package/brandportal.ing.com/scripts/paginator.js +267 -0
- package/brandportal.ing.com/scripts/popper.min.js +844 -0
- package/brandportal.ing.com/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/brandportal.ing.com/scripts/selectables.custom.js +174 -0
- package/brandportal.ing.com/scripts/slick.min.js +687 -0
- package/brandportal.ing.com/scripts/superfish.js +279 -0
- package/brandportal.ing.com/scripts/upload-main.js +90 -0
- package/brandportal.ing.com/scripts/video.min.js +12517 -0
- package/brandportal.ing.com/scripts/videojs.wavesurfer.min.js +495 -0
- package/brandportal.ing.com/scripts/wavesurfer.min.js +2775 -0
- package/burping.json +783 -0
- package/dump-scripts.py +83 -0
- package/ing.com.txt +365 -0
- package/ing.com_200List.txt +30 -0
- package/ing.com_DIRSEARCH.txt +8220 -0
- package/ing_notes +1 -0
- package/nmap +1224 -0
- package/nuclei_ing.com.txt +9 -0
- package/package.json +12 -0
- package/poc.html +116 -0
- package/scope.txt +141 -0
- package/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/scripts/AliasCtrl.js +0 -0
- package/scripts/ChangePasswordCtrl.js +0 -0
- package/scripts/CustomErrorCtrl.js +0 -0
- package/scripts/ErrorCtrl.js +0 -0
- package/scripts/HeaderCtrl.js +0 -0
- package/scripts/LoginValidationService.js +0 -0
- package/scripts/NipValidator.js +0 -0
- package/scripts/Psd2AliasCtrl.js +0 -0
- package/scripts/RegonValidator.js +0 -0
- package/scripts/SmsCtrl.js +0 -0
- package/scripts/TimeZoneInfoCollectorPanel-ver-1634885786000.js +2 -0
- package/scripts/accounting.min.js +155 -0
- package/scripts/angular-animate.min.js +0 -0
- package/scripts/angular-cookies.min.js +0 -0
- package/scripts/angular-translate.min.js +0 -0
- package/scripts/angular-ui-router.js +0 -0
- package/scripts/angular.min.js +0 -0
- package/scripts/assetWindowContainer.bundle.js +23827 -0
- package/scripts/assets.js +1223 -0
- package/scripts/bootstrap-select.min.js +1287 -0
- package/scripts/bootstrap.min.js +1530 -0
- package/scripts/chosen.jquery.min.js +1238 -0
- package/scripts/core.main.js +1059 -0
- package/scripts/criticalMessageService.js +0 -0
- package/scripts/data-dir-cookies-bar.js +0 -0
- package/scripts/data-dir-progress-pie.js +0 -0
- package/scripts/dir-critical-message.js +0 -0
- package/scripts/dir-login-keyboard.js +0 -0
- package/scripts/dir-login-validation.js +0 -0
- package/scripts/en_120.js +5247 -0
- package/scripts/environment.js +22 -0
- package/scripts/gemius-init.js +0 -0
- package/scripts/gemiusID.js +0 -0
- package/scripts/hoverIntent.js +139 -0
- package/scripts/ing-vendor.min-ver-1634885786000.js +2 -0
- package/scripts/ing-ver-1634885786000.js +2 -0
- package/scripts/jquery-3.5.1.min.js +3242 -0
- package/scripts/jquery-ui-timepicker-addon.js +1471 -0
- package/scripts/jquery-ui.min.js +6711 -0
- package/scripts/jquery.are-you-sure.js +197 -0
- package/scripts/jquery.autotabs.js +42 -0
- package/scripts/jquery.backstretch.min.js +543 -0
- package/scripts/jquery.blockUI.js +442 -0
- package/scripts/jquery.datePicker.js +1151 -0
- package/scripts/jquery.dialogextend.2_0_4.pack.js +300 -0
- package/scripts/jquery.fileupload-audio.js +103 -0
- package/scripts/jquery.fileupload-image.js +313 -0
- package/scripts/jquery.fileupload-process.js +172 -0
- package/scripts/jquery.fileupload-ui.js +700 -0
- package/scripts/jquery.fileupload-validate.js +117 -0
- package/scripts/jquery.fileupload-video.js +103 -0
- package/scripts/jquery.fileupload.js +1451 -0
- package/scripts/jquery.form.js +892 -0
- package/scripts/jquery.number.min.js +150 -0
- package/scripts/jquery.ui.datepicker-en.js +26 -0
- package/scripts/jquery.ui.timepicker-en.js +6 -0
- package/scripts/jquery.validate.min.js +844 -0
- package/scripts/jsbn-ver-1634886518000.js +2 -0
- package/scripts/layout.bundle.js +673 -0
- package/scripts/load-image.all.min.js +770 -0
- package/scripts/local.bundle.js +310 -0
- package/scripts/login-app.js +0 -0
- package/scripts/login-en.js +0 -0
- package/scripts/login-pl.js +0 -0
- package/scripts/login-states.js +0 -0
- package/scripts/main.js +23 -0
- package/scripts/mobileAuthCtrl.js +0 -0
- package/scripts/moment.min.js +1562 -0
- package/scripts/mon_ing_init.js +22 -0
- package/scripts/nl.js +88 -0
- package/scripts/paginator.js +267 -0
- package/scripts/pinLoginDefault-ver-1634885786000.js +2 -0
- package/scripts/popper.min.js +844 -0
- package/scripts/prng4-ver-1634886518000.js +2 -0
- package/scripts/psd2-states.js +0 -0
- package/scripts/rng-ver-1634886518000.js +2 -0
- package/scripts/rsa_jsbn-ver-1634886518000.js +2 -0
- package/scripts/selectAssetBrowser.bundle.js +47577 -0
- package/scripts/selectables.custom.js +174 -0
- package/scripts/sgemius.js +0 -0
- package/scripts/sha1.js +0 -0
- package/scripts/slick.min.js +687 -0
- package/scripts/superfish.js +279 -0
- package/scripts/upload-main.js +90 -0
- package/scripts/video.min.js +12517 -0
- package/scripts/videojs.wavesurfer.min.js +495 -0
- package/scripts/wavesurfer.min.js +2775 -0
- package/scripts/webtrekk_v4-ver-1634885786000.js +2 -0
- package/setup-feature.js +47 -0
- package/start.ingbusiness.pl/dump-scripts.py +83 -0
- package/start.ingbusiness.pl/form.html_v=202110040949 +52 -0
- package/start.ingbusiness.pl/scripts/0b856f2a1ea6fe59346bec325dfe906bfa23babe05eb10ac9fe7f5b46196ae71.js +0 -0
- package/start.ingbusiness.pl/scripts/AliasCtrl.js +136 -0
- package/start.ingbusiness.pl/scripts/ChangePasswordCtrl.js +162 -0
- package/start.ingbusiness.pl/scripts/CustomErrorCtrl.js +9 -0
- package/start.ingbusiness.pl/scripts/ErrorCtrl.js +30 -0
- package/start.ingbusiness.pl/scripts/HeaderCtrl.js +84 -0
- package/start.ingbusiness.pl/scripts/LoginService.js +86 -0
- package/start.ingbusiness.pl/scripts/LoginValidationService.js +52 -0
- package/start.ingbusiness.pl/scripts/NipValidator.js +30 -0
- package/start.ingbusiness.pl/scripts/PasswordCtrl.js +179 -0
- package/start.ingbusiness.pl/scripts/Psd2AliasCtrl.js +12 -0
- package/start.ingbusiness.pl/scripts/RegonValidator.js +73 -0
- package/start.ingbusiness.pl/scripts/RequestService.js +26 -0
- package/start.ingbusiness.pl/scripts/SmsCtrl.js +91 -0
- package/start.ingbusiness.pl/scripts/UnlockUserCtrl.js +79 -0
- package/start.ingbusiness.pl/scripts/angular-animate.min.js +1535 -0
- package/start.ingbusiness.pl/scripts/angular-cookies.min.js +62 -0
- package/start.ingbusiness.pl/scripts/angular-translate.min.js +871 -0
- package/start.ingbusiness.pl/scripts/angular-ui-router.js +1561 -0
- package/start.ingbusiness.pl/scripts/angular.min.js +9845 -0
- package/start.ingbusiness.pl/scripts/criticalMessageService.js +24 -0
- package/start.ingbusiness.pl/scripts/data-dir-button-loader.js +30 -0
- package/start.ingbusiness.pl/scripts/data-dir-compile-template.js +17 -0
- package/start.ingbusiness.pl/scripts/data-dir-cookies-bar.js +37 -0
- package/start.ingbusiness.pl/scripts/data-dir-progress-pie.js +102 -0
- package/start.ingbusiness.pl/scripts/data-dir-svg-icon.js +633 -0
- package/start.ingbusiness.pl/scripts/data-gemius-event.js +119 -0
- package/start.ingbusiness.pl/scripts/dir-critical-message.js +9 -0
- package/start.ingbusiness.pl/scripts/dir-help-panel-content.js +29 -0
- package/start.ingbusiness.pl/scripts/dir-login-keyboard.js +346 -0
- package/start.ingbusiness.pl/scripts/dir-login-validation.js +20 -0
- package/start.ingbusiness.pl/scripts/dir-nav-links.js +26 -0
- package/start.ingbusiness.pl/scripts/dir-title.js +21 -0
- package/start.ingbusiness.pl/scripts/gemius-init.js +12 -0
- package/start.ingbusiness.pl/scripts/gemiusID.js +32 -0
- package/start.ingbusiness.pl/scripts/hashService.js +91 -0
- package/start.ingbusiness.pl/scripts/helpPanelPasswordService.js +26 -0
- package/start.ingbusiness.pl/scripts/helpPanelService.js +92 -0
- package/start.ingbusiness.pl/scripts/jquery-3.5.1.min.js +3242 -0
- package/start.ingbusiness.pl/scripts/login-app.js +107 -0
- package/start.ingbusiness.pl/scripts/login-en.js +73 -0
- package/start.ingbusiness.pl/scripts/login-pl.js +74 -0
- package/start.ingbusiness.pl/scripts/login-states.js +156 -0
- package/start.ingbusiness.pl/scripts/maskService.js +194 -0
- package/start.ingbusiness.pl/scripts/maskUtilService.js +302 -0
- package/start.ingbusiness.pl/scripts/mobileAuthCtrl.js +189 -0
- package/start.ingbusiness.pl/scripts/psd2-states.js +67 -0
- package/start.ingbusiness.pl/scripts/securityPolicyService.js +119 -0
- package/start.ingbusiness.pl/scripts/sgemius.js +257 -0
- package/start.ingbusiness.pl/scripts/sha1.js +210 -0
- package/start.ingbusiness.pl/scripts/sprintf.js +115 -0
- package/start.ingbusiness.pl/scripts/tabletScalingService.js +59 -0
- package/start.ingbusiness.pl/scripts/userAgentResolverService.js +12 -0
@@ -0,0 +1,1530 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v4.0.0 (https://getbootstrap.com)
|
3
|
+
* Copyright 2011-2018 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
! function(t, e) {
|
7
|
+
"object" == typeof exports && "undefined" != typeof module ? e(exports, require("jquery"), require("popper.js")) : "function" == typeof define && define.amd ? define(["exports", "jquery", "popper.js"], e) : e(t.bootstrap = {}, t.jQuery, t.Popper)
|
8
|
+
}(this, function(t, e, n) {
|
9
|
+
"use strict";
|
10
|
+
|
11
|
+
function i(t, e) {
|
12
|
+
for (var n = 0; n < e.length; n++) {
|
13
|
+
var i = e[n];
|
14
|
+
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(t, i.key, i)
|
15
|
+
}
|
16
|
+
}
|
17
|
+
|
18
|
+
function s(t, e, n) {
|
19
|
+
return e && i(t.prototype, e), n && i(t, n), t
|
20
|
+
}
|
21
|
+
|
22
|
+
function r() {
|
23
|
+
return (r = Object.assign || function(t) {
|
24
|
+
for (var e = 1; e < arguments.length; e++) {
|
25
|
+
var n = arguments[e];
|
26
|
+
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (t[i] = n[i])
|
27
|
+
}
|
28
|
+
return t
|
29
|
+
}).apply(this, arguments)
|
30
|
+
}
|
31
|
+
e = e && e.hasOwnProperty("default") ? e.default : e, n = n && n.hasOwnProperty("default") ? n.default : n;
|
32
|
+
var o, a, l, h, c, u, f, d, _, g, p, m, v, E, T, y, C, I, A, b, D, S, w, N, O, k, P = function(t) {
|
33
|
+
var e = !1;
|
34
|
+
|
35
|
+
function n(e) {
|
36
|
+
var n = this,
|
37
|
+
s = !1;
|
38
|
+
return t(this).one(i.TRANSITION_END, function() {
|
39
|
+
s = !0
|
40
|
+
}), setTimeout(function() {
|
41
|
+
s || i.triggerTransitionEnd(n)
|
42
|
+
}, e), this
|
43
|
+
}
|
44
|
+
var i = {
|
45
|
+
TRANSITION_END: "bsTransitionEnd",
|
46
|
+
getUID: function(t) {
|
47
|
+
do {
|
48
|
+
t += ~~(1e6 * Math.random())
|
49
|
+
} while (document.getElementById(t));
|
50
|
+
return t
|
51
|
+
},
|
52
|
+
getSelectorFromElement: function(e) {
|
53
|
+
var n, i = e.getAttribute("data-target");
|
54
|
+
i && "#" !== i || (i = e.getAttribute("href") || ""), "#" === i.charAt(0) && (n = i, i = n = "function" == typeof t.escapeSelector ? t.escapeSelector(n).substr(1) : n.replace(/(:|\.|\[|\]|,|=|@)/g, "\\$1"));
|
55
|
+
try {
|
56
|
+
return t(document).find(i).length > 0 ? i : null
|
57
|
+
} catch (t) {
|
58
|
+
return null
|
59
|
+
}
|
60
|
+
},
|
61
|
+
reflow: function(t) {
|
62
|
+
return t.offsetHeight
|
63
|
+
},
|
64
|
+
triggerTransitionEnd: function(n) {
|
65
|
+
t(n).trigger(e.end)
|
66
|
+
},
|
67
|
+
supportsTransitionEnd: function() {
|
68
|
+
return Boolean(e)
|
69
|
+
},
|
70
|
+
isElement: function(t) {
|
71
|
+
return (t[0] || t).nodeType
|
72
|
+
},
|
73
|
+
typeCheckConfig: function(t, e, n) {
|
74
|
+
for (var s in n)
|
75
|
+
if (Object.prototype.hasOwnProperty.call(n, s)) {
|
76
|
+
var r = n[s],
|
77
|
+
o = e[s],
|
78
|
+
a = o && i.isElement(o) ? "element" : (l = o, {}.toString.call(l).match(/\s([a-zA-Z]+)/)[1].toLowerCase());
|
79
|
+
if (!new RegExp(r).test(a)) throw new Error(t.toUpperCase() + ': Option "' + s + '" provided type "' + a + '" but expected type "' + r + '".')
|
80
|
+
} var l
|
81
|
+
}
|
82
|
+
};
|
83
|
+
return e = ("undefined" == typeof window || !window.QUnit) && {
|
84
|
+
end: "transitionend"
|
85
|
+
}, t.fn.emulateTransitionEnd = n, i.supportsTransitionEnd() && (t.event.special[i.TRANSITION_END] = {
|
86
|
+
bindType: e.end,
|
87
|
+
delegateType: e.end,
|
88
|
+
handle: function(e) {
|
89
|
+
if (t(e.target).is(this)) return e.handleObj.handler.apply(this, arguments)
|
90
|
+
}
|
91
|
+
}), i
|
92
|
+
}(e),
|
93
|
+
L = (a = "alert", h = "." + (l = "bs.alert"), c = (o = e).fn[a], u = {
|
94
|
+
CLOSE: "close" + h,
|
95
|
+
CLOSED: "closed" + h,
|
96
|
+
CLICK_DATA_API: "click" + h + ".data-api"
|
97
|
+
}, f = "alert", d = "fade", _ = "show", g = function() {
|
98
|
+
function t(t) {
|
99
|
+
this._element = t
|
100
|
+
}
|
101
|
+
var e = t.prototype;
|
102
|
+
return e.close = function(t) {
|
103
|
+
t = t || this._element;
|
104
|
+
var e = this._getRootElement(t);
|
105
|
+
this._triggerCloseEvent(e).isDefaultPrevented() || this._removeElement(e)
|
106
|
+
}, e.dispose = function() {
|
107
|
+
o.removeData(this._element, l), this._element = null
|
108
|
+
}, e._getRootElement = function(t) {
|
109
|
+
var e = P.getSelectorFromElement(t),
|
110
|
+
n = !1;
|
111
|
+
return e && (n = o(e)[0]), n || (n = o(t).closest("." + f)[0]), n
|
112
|
+
}, e._triggerCloseEvent = function(t) {
|
113
|
+
var e = o.Event(u.CLOSE);
|
114
|
+
return o(t).trigger(e), e
|
115
|
+
}, e._removeElement = function(t) {
|
116
|
+
var e = this;
|
117
|
+
o(t).removeClass(_), P.supportsTransitionEnd() && o(t).hasClass(d) ? o(t).one(P.TRANSITION_END, function(n) {
|
118
|
+
return e._destroyElement(t, n)
|
119
|
+
}).emulateTransitionEnd(150) : this._destroyElement(t)
|
120
|
+
}, e._destroyElement = function(t) {
|
121
|
+
o(t).detach().trigger(u.CLOSED).remove()
|
122
|
+
}, t._jQueryInterface = function(e) {
|
123
|
+
return this.each(function() {
|
124
|
+
var n = o(this),
|
125
|
+
i = n.data(l);
|
126
|
+
i || (i = new t(this), n.data(l, i)), "close" === e && i[e](this)
|
127
|
+
})
|
128
|
+
}, t._handleDismiss = function(t) {
|
129
|
+
return function(e) {
|
130
|
+
e && e.preventDefault(), t.close(this)
|
131
|
+
}
|
132
|
+
}, s(t, null, [{
|
133
|
+
key: "VERSION",
|
134
|
+
get: function() {
|
135
|
+
return "4.0.0"
|
136
|
+
}
|
137
|
+
}]), t
|
138
|
+
}(), o(document).on(u.CLICK_DATA_API, '[data-dismiss="alert"]', g._handleDismiss(new g)), o.fn[a] = g._jQueryInterface, o.fn[a].Constructor = g, o.fn[a].noConflict = function() {
|
139
|
+
return o.fn[a] = c, g._jQueryInterface
|
140
|
+
}, g),
|
141
|
+
R = (m = "button", E = "." + (v = "bs.button"), T = ".data-api", y = (p = e).fn[m], C = "active", I = "btn", A = "focus", b = '[data-toggle^="button"]', D = '[data-toggle="buttons"]', S = "input", w = ".active", N = ".btn", O = {
|
142
|
+
CLICK_DATA_API: "click" + E + T,
|
143
|
+
FOCUS_BLUR_DATA_API: "focus" + E + T + " blur" + E + T
|
144
|
+
}, k = function() {
|
145
|
+
function t(t) {
|
146
|
+
this._element = t
|
147
|
+
}
|
148
|
+
var e = t.prototype;
|
149
|
+
return e.toggle = function() {
|
150
|
+
var t = !0,
|
151
|
+
e = !0,
|
152
|
+
n = p(this._element).closest(D)[0];
|
153
|
+
if (n) {
|
154
|
+
var i = p(this._element).find(S)[0];
|
155
|
+
if (i) {
|
156
|
+
if ("radio" === i.type)
|
157
|
+
if (i.checked && p(this._element).hasClass(C)) t = !1;
|
158
|
+
else {
|
159
|
+
var s = p(n).find(w)[0];
|
160
|
+
s && p(s).removeClass(C)
|
161
|
+
} if (t) {
|
162
|
+
if (i.hasAttribute("disabled") || n.hasAttribute("disabled") || i.classList.contains("disabled") || n.classList.contains("disabled")) return;
|
163
|
+
i.checked = !p(this._element).hasClass(C), p(i).trigger("change")
|
164
|
+
}
|
165
|
+
i.focus(), e = !1
|
166
|
+
}
|
167
|
+
}
|
168
|
+
e && this._element.setAttribute("aria-pressed", !p(this._element).hasClass(C)), t && p(this._element).toggleClass(C)
|
169
|
+
}, e.dispose = function() {
|
170
|
+
p.removeData(this._element, v), this._element = null
|
171
|
+
}, t._jQueryInterface = function(e) {
|
172
|
+
return this.each(function() {
|
173
|
+
var n = p(this).data(v);
|
174
|
+
n || (n = new t(this), p(this).data(v, n)), "toggle" === e && n[e]()
|
175
|
+
})
|
176
|
+
}, s(t, null, [{
|
177
|
+
key: "VERSION",
|
178
|
+
get: function() {
|
179
|
+
return "4.0.0"
|
180
|
+
}
|
181
|
+
}]), t
|
182
|
+
}(), p(document).on(O.CLICK_DATA_API, b, function(t) {
|
183
|
+
t.preventDefault();
|
184
|
+
var e = t.target;
|
185
|
+
p(e).hasClass(I) || (e = p(e).closest(N)), k._jQueryInterface.call(p(e), "toggle")
|
186
|
+
}).on(O.FOCUS_BLUR_DATA_API, b, function(t) {
|
187
|
+
var e = p(t.target).closest(N)[0];
|
188
|
+
p(e).toggleClass(A, /^focus(in)?$/.test(t.type))
|
189
|
+
}), p.fn[m] = k._jQueryInterface, p.fn[m].Constructor = k, p.fn[m].noConflict = function() {
|
190
|
+
return p.fn[m] = y, k._jQueryInterface
|
191
|
+
}, k),
|
192
|
+
j = function(t) {
|
193
|
+
var e = "carousel",
|
194
|
+
n = "bs.carousel",
|
195
|
+
i = "." + n,
|
196
|
+
o = t.fn[e],
|
197
|
+
a = {
|
198
|
+
interval: 5e3,
|
199
|
+
keyboard: !0,
|
200
|
+
slide: !1,
|
201
|
+
pause: "hover",
|
202
|
+
wrap: !0
|
203
|
+
},
|
204
|
+
l = {
|
205
|
+
interval: "(number|boolean)",
|
206
|
+
keyboard: "boolean",
|
207
|
+
slide: "(boolean|string)",
|
208
|
+
pause: "(string|boolean)",
|
209
|
+
wrap: "boolean"
|
210
|
+
},
|
211
|
+
h = "next",
|
212
|
+
c = "prev",
|
213
|
+
u = "left",
|
214
|
+
f = "right",
|
215
|
+
d = {
|
216
|
+
SLIDE: "slide" + i,
|
217
|
+
SLID: "slid" + i,
|
218
|
+
KEYDOWN: "keydown" + i,
|
219
|
+
MOUSEENTER: "mouseenter" + i,
|
220
|
+
MOUSELEAVE: "mouseleave" + i,
|
221
|
+
TOUCHEND: "touchend" + i,
|
222
|
+
LOAD_DATA_API: "load" + i + ".data-api",
|
223
|
+
CLICK_DATA_API: "click" + i + ".data-api"
|
224
|
+
},
|
225
|
+
_ = "carousel",
|
226
|
+
g = "active",
|
227
|
+
p = "slide",
|
228
|
+
m = "carousel-item-right",
|
229
|
+
v = "carousel-item-left",
|
230
|
+
E = "carousel-item-next",
|
231
|
+
T = "carousel-item-prev",
|
232
|
+
y = {
|
233
|
+
ACTIVE: ".active",
|
234
|
+
ACTIVE_ITEM: ".active.carousel-item",
|
235
|
+
ITEM: ".carousel-item",
|
236
|
+
NEXT_PREV: ".carousel-item-next, .carousel-item-prev",
|
237
|
+
INDICATORS: ".carousel-indicators",
|
238
|
+
DATA_SLIDE: "[data-slide], [data-slide-to]",
|
239
|
+
DATA_RIDE: '[data-ride="carousel"]'
|
240
|
+
},
|
241
|
+
C = function() {
|
242
|
+
function o(e, n) {
|
243
|
+
this._items = null, this._interval = null, this._activeElement = null, this._isPaused = !1, this._isSliding = !1, this.touchTimeout = null, this._config = this._getConfig(n), this._element = t(e)[0], this._indicatorsElement = t(this._element).find(y.INDICATORS)[0], this._addEventListeners()
|
244
|
+
}
|
245
|
+
var C = o.prototype;
|
246
|
+
return C.next = function() {
|
247
|
+
this._isSliding || this._slide(h)
|
248
|
+
}, C.nextWhenVisible = function() {
|
249
|
+
!document.hidden && t(this._element).is(":visible") && "hidden" !== t(this._element).css("visibility") && this.next()
|
250
|
+
}, C.prev = function() {
|
251
|
+
this._isSliding || this._slide(c)
|
252
|
+
}, C.pause = function(e) {
|
253
|
+
e || (this._isPaused = !0), t(this._element).find(y.NEXT_PREV)[0] && P.supportsTransitionEnd() && (P.triggerTransitionEnd(this._element), this.cycle(!0)), clearInterval(this._interval), this._interval = null
|
254
|
+
}, C.cycle = function(t) {
|
255
|
+
t || (this._isPaused = !1), this._interval && (clearInterval(this._interval), this._interval = null), this._config.interval && !this._isPaused && (this._interval = setInterval((document.visibilityState ? this.nextWhenVisible : this.next).bind(this), this._config.interval))
|
256
|
+
}, C.to = function(e) {
|
257
|
+
var n = this;
|
258
|
+
this._activeElement = t(this._element).find(y.ACTIVE_ITEM)[0];
|
259
|
+
var i = this._getItemIndex(this._activeElement);
|
260
|
+
if (!(e > this._items.length - 1 || e < 0))
|
261
|
+
if (this._isSliding) t(this._element).one(d.SLID, function() {
|
262
|
+
return n.to(e)
|
263
|
+
});
|
264
|
+
else {
|
265
|
+
if (i === e) return this.pause(), void this.cycle();
|
266
|
+
var s = e > i ? h : c;
|
267
|
+
this._slide(s, this._items[e])
|
268
|
+
}
|
269
|
+
}, C.dispose = function() {
|
270
|
+
t(this._element).off(i), t.removeData(this._element, n), this._items = null, this._config = null, this._element = null, this._interval = null, this._isPaused = null, this._isSliding = null, this._activeElement = null, this._indicatorsElement = null
|
271
|
+
}, C._getConfig = function(t) {
|
272
|
+
return t = r({}, a, t), P.typeCheckConfig(e, t, l), t
|
273
|
+
}, C._addEventListeners = function() {
|
274
|
+
var e = this;
|
275
|
+
this._config.keyboard && t(this._element).on(d.KEYDOWN, function(t) {
|
276
|
+
return e._keydown(t)
|
277
|
+
}), "hover" === this._config.pause && (t(this._element).on(d.MOUSEENTER, function(t) {
|
278
|
+
return e.pause(t)
|
279
|
+
}).on(d.MOUSELEAVE, function(t) {
|
280
|
+
return e.cycle(t)
|
281
|
+
}), "ontouchstart" in document.documentElement && t(this._element).on(d.TOUCHEND, function() {
|
282
|
+
e.pause(), e.touchTimeout && clearTimeout(e.touchTimeout), e.touchTimeout = setTimeout(function(t) {
|
283
|
+
return e.cycle(t)
|
284
|
+
}, 500 + e._config.interval)
|
285
|
+
}))
|
286
|
+
}, C._keydown = function(t) {
|
287
|
+
if (!/input|textarea/i.test(t.target.tagName)) switch (t.which) {
|
288
|
+
case 37:
|
289
|
+
t.preventDefault(), this.prev();
|
290
|
+
break;
|
291
|
+
case 39:
|
292
|
+
t.preventDefault(), this.next()
|
293
|
+
}
|
294
|
+
}, C._getItemIndex = function(e) {
|
295
|
+
return this._items = t.makeArray(t(e).parent().find(y.ITEM)), this._items.indexOf(e)
|
296
|
+
}, C._getItemByDirection = function(t, e) {
|
297
|
+
var n = t === h,
|
298
|
+
i = t === c,
|
299
|
+
s = this._getItemIndex(e),
|
300
|
+
r = this._items.length - 1;
|
301
|
+
if ((i && 0 === s || n && s === r) && !this._config.wrap) return e;
|
302
|
+
var o = (s + (t === c ? -1 : 1)) % this._items.length;
|
303
|
+
return -1 === o ? this._items[this._items.length - 1] : this._items[o]
|
304
|
+
}, C._triggerSlideEvent = function(e, n) {
|
305
|
+
var i = this._getItemIndex(e),
|
306
|
+
s = this._getItemIndex(t(this._element).find(y.ACTIVE_ITEM)[0]),
|
307
|
+
r = t.Event(d.SLIDE, {
|
308
|
+
relatedTarget: e,
|
309
|
+
direction: n,
|
310
|
+
from: s,
|
311
|
+
to: i
|
312
|
+
});
|
313
|
+
return t(this._element).trigger(r), r
|
314
|
+
}, C._setActiveIndicatorElement = function(e) {
|
315
|
+
if (this._indicatorsElement) {
|
316
|
+
t(this._indicatorsElement).find(y.ACTIVE).removeClass(g);
|
317
|
+
var n = this._indicatorsElement.children[this._getItemIndex(e)];
|
318
|
+
n && t(n).addClass(g)
|
319
|
+
}
|
320
|
+
}, C._slide = function(e, n) {
|
321
|
+
var i, s, r, o = this,
|
322
|
+
a = t(this._element).find(y.ACTIVE_ITEM)[0],
|
323
|
+
l = this._getItemIndex(a),
|
324
|
+
c = n || a && this._getItemByDirection(e, a),
|
325
|
+
_ = this._getItemIndex(c),
|
326
|
+
C = Boolean(this._interval);
|
327
|
+
if (e === h ? (i = v, s = E, r = u) : (i = m, s = T, r = f), c && t(c).hasClass(g)) this._isSliding = !1;
|
328
|
+
else if (!this._triggerSlideEvent(c, r).isDefaultPrevented() && a && c) {
|
329
|
+
this._isSliding = !0, C && this.pause(), this._setActiveIndicatorElement(c);
|
330
|
+
var I = t.Event(d.SLID, {
|
331
|
+
relatedTarget: c,
|
332
|
+
direction: r,
|
333
|
+
from: l,
|
334
|
+
to: _
|
335
|
+
});
|
336
|
+
P.supportsTransitionEnd() && t(this._element).hasClass(p) ? (t(c).addClass(s), P.reflow(c), t(a).addClass(i), t(c).addClass(i), t(a).one(P.TRANSITION_END, function() {
|
337
|
+
t(c).removeClass(i + " " + s).addClass(g), t(a).removeClass(g + " " + s + " " + i), o._isSliding = !1, setTimeout(function() {
|
338
|
+
return t(o._element).trigger(I)
|
339
|
+
}, 0)
|
340
|
+
}).emulateTransitionEnd(600)) : (t(a).removeClass(g), t(c).addClass(g), this._isSliding = !1, t(this._element).trigger(I)), C && this.cycle()
|
341
|
+
}
|
342
|
+
}, o._jQueryInterface = function(e) {
|
343
|
+
return this.each(function() {
|
344
|
+
var i = t(this).data(n),
|
345
|
+
s = r({}, a, t(this).data());
|
346
|
+
"object" == typeof e && (s = r({}, s, e));
|
347
|
+
var l = "string" == typeof e ? e : s.slide;
|
348
|
+
if (i || (i = new o(this, s), t(this).data(n, i)), "number" == typeof e) i.to(e);
|
349
|
+
else if ("string" == typeof l) {
|
350
|
+
if ("undefined" == typeof i[l]) throw new TypeError('No method named "' + l + '"');
|
351
|
+
i[l]()
|
352
|
+
} else s.interval && (i.pause(), i.cycle())
|
353
|
+
})
|
354
|
+
}, o._dataApiClickHandler = function(e) {
|
355
|
+
var i = P.getSelectorFromElement(this);
|
356
|
+
if (i) {
|
357
|
+
var s = t(i)[0];
|
358
|
+
if (s && t(s).hasClass(_)) {
|
359
|
+
var a = r({}, t(s).data(), t(this).data()),
|
360
|
+
l = this.getAttribute("data-slide-to");
|
361
|
+
l && (a.interval = !1), o._jQueryInterface.call(t(s), a), l && t(s).data(n).to(l), e.preventDefault()
|
362
|
+
}
|
363
|
+
}
|
364
|
+
}, s(o, null, [{
|
365
|
+
key: "VERSION",
|
366
|
+
get: function() {
|
367
|
+
return "4.0.0"
|
368
|
+
}
|
369
|
+
}, {
|
370
|
+
key: "Default",
|
371
|
+
get: function() {
|
372
|
+
return a
|
373
|
+
}
|
374
|
+
}]), o
|
375
|
+
}();
|
376
|
+
return t(document).on(d.CLICK_DATA_API, y.DATA_SLIDE, C._dataApiClickHandler), t(window).on(d.LOAD_DATA_API, function() {
|
377
|
+
t(y.DATA_RIDE).each(function() {
|
378
|
+
var e = t(this);
|
379
|
+
C._jQueryInterface.call(e, e.data())
|
380
|
+
})
|
381
|
+
}), t.fn[e] = C._jQueryInterface, t.fn[e].Constructor = C, t.fn[e].noConflict = function() {
|
382
|
+
return t.fn[e] = o, C._jQueryInterface
|
383
|
+
}, C
|
384
|
+
}(e),
|
385
|
+
H = function(t) {
|
386
|
+
var e = "collapse",
|
387
|
+
n = "bs.collapse",
|
388
|
+
i = "." + n,
|
389
|
+
o = t.fn[e],
|
390
|
+
a = {
|
391
|
+
toggle: !0,
|
392
|
+
parent: ""
|
393
|
+
},
|
394
|
+
l = {
|
395
|
+
toggle: "boolean",
|
396
|
+
parent: "(string|element)"
|
397
|
+
},
|
398
|
+
h = {
|
399
|
+
SHOW: "show" + i,
|
400
|
+
SHOWN: "shown" + i,
|
401
|
+
HIDE: "hide" + i,
|
402
|
+
HIDDEN: "hidden" + i,
|
403
|
+
CLICK_DATA_API: "click" + i + ".data-api"
|
404
|
+
},
|
405
|
+
c = "show",
|
406
|
+
u = "collapse",
|
407
|
+
f = "collapsing",
|
408
|
+
d = "collapsed",
|
409
|
+
_ = "width",
|
410
|
+
g = "height",
|
411
|
+
p = {
|
412
|
+
ACTIVES: ".show, .collapsing",
|
413
|
+
DATA_TOGGLE: '[data-toggle="collapse"]'
|
414
|
+
},
|
415
|
+
m = function() {
|
416
|
+
function i(e, n) {
|
417
|
+
this._isTransitioning = !1, this._element = e, this._config = this._getConfig(n), this._triggerArray = t.makeArray(t('[data-toggle="collapse"][href="#' + e.id + '"],[data-toggle="collapse"][data-target="#' + e.id + '"]'));
|
418
|
+
for (var i = t(p.DATA_TOGGLE), s = 0; s < i.length; s++) {
|
419
|
+
var r = i[s],
|
420
|
+
o = P.getSelectorFromElement(r);
|
421
|
+
null !== o && t(o).filter(e).length > 0 && (this._selector = o, this._triggerArray.push(r))
|
422
|
+
}
|
423
|
+
this._parent = this._config.parent ? this._getParent() : null, this._config.parent || this._addAriaAndCollapsedClass(this._element, this._triggerArray), this._config.toggle && this.toggle()
|
424
|
+
}
|
425
|
+
var o = i.prototype;
|
426
|
+
return o.toggle = function() {
|
427
|
+
t(this._element).hasClass(c) ? this.hide() : this.show()
|
428
|
+
}, o.show = function() {
|
429
|
+
var e, s, r = this;
|
430
|
+
if (!this._isTransitioning && !t(this._element).hasClass(c) && (this._parent && 0 === (e = t.makeArray(t(this._parent).find(p.ACTIVES).filter('[data-parent="' + this._config.parent + '"]'))).length && (e = null), !(e && (s = t(e).not(this._selector).data(n)) && s._isTransitioning))) {
|
431
|
+
var o = t.Event(h.SHOW);
|
432
|
+
if (t(this._element).trigger(o), !o.isDefaultPrevented()) {
|
433
|
+
e && (i._jQueryInterface.call(t(e).not(this._selector), "hide"), s || t(e).data(n, null));
|
434
|
+
var a = this._getDimension();
|
435
|
+
t(this._element).removeClass(u).addClass(f), this._element.style[a] = 0, this._triggerArray.length > 0 && t(this._triggerArray).removeClass(d).attr("aria-expanded", !0), this.setTransitioning(!0);
|
436
|
+
var l = function() {
|
437
|
+
t(r._element).removeClass(f).addClass(u).addClass(c), r._element.style[a] = "", r.setTransitioning(!1), t(r._element).trigger(h.SHOWN)
|
438
|
+
};
|
439
|
+
if (P.supportsTransitionEnd()) {
|
440
|
+
var _ = "scroll" + (a[0].toUpperCase() + a.slice(1));
|
441
|
+
t(this._element).one(P.TRANSITION_END, l).emulateTransitionEnd(600), this._element.style[a] = this._element[_] + "px"
|
442
|
+
} else l()
|
443
|
+
}
|
444
|
+
}
|
445
|
+
}, o.hide = function() {
|
446
|
+
var e = this;
|
447
|
+
if (!this._isTransitioning && t(this._element).hasClass(c)) {
|
448
|
+
var n = t.Event(h.HIDE);
|
449
|
+
if (t(this._element).trigger(n), !n.isDefaultPrevented()) {
|
450
|
+
var i = this._getDimension();
|
451
|
+
if (this._element.style[i] = this._element.getBoundingClientRect()[i] + "px", P.reflow(this._element), t(this._element).addClass(f).removeClass(u).removeClass(c), this._triggerArray.length > 0)
|
452
|
+
for (var s = 0; s < this._triggerArray.length; s++) {
|
453
|
+
var r = this._triggerArray[s],
|
454
|
+
o = P.getSelectorFromElement(r);
|
455
|
+
if (null !== o) t(o).hasClass(c) || t(r).addClass(d).attr("aria-expanded", !1)
|
456
|
+
}
|
457
|
+
this.setTransitioning(!0);
|
458
|
+
var a = function() {
|
459
|
+
e.setTransitioning(!1), t(e._element).removeClass(f).addClass(u).trigger(h.HIDDEN)
|
460
|
+
};
|
461
|
+
this._element.style[i] = "", P.supportsTransitionEnd() ? t(this._element).one(P.TRANSITION_END, a).emulateTransitionEnd(600) : a()
|
462
|
+
}
|
463
|
+
}
|
464
|
+
}, o.setTransitioning = function(t) {
|
465
|
+
this._isTransitioning = t
|
466
|
+
}, o.dispose = function() {
|
467
|
+
t.removeData(this._element, n), this._config = null, this._parent = null, this._element = null, this._triggerArray = null, this._isTransitioning = null
|
468
|
+
}, o._getConfig = function(t) {
|
469
|
+
return (t = r({}, a, t)).toggle = Boolean(t.toggle), P.typeCheckConfig(e, t, l), t
|
470
|
+
}, o._getDimension = function() {
|
471
|
+
return t(this._element).hasClass(_) ? _ : g
|
472
|
+
}, o._getParent = function() {
|
473
|
+
var e = this,
|
474
|
+
n = null;
|
475
|
+
P.isElement(this._config.parent) ? (n = this._config.parent, "undefined" != typeof this._config.parent.jquery && (n = this._config.parent[0])) : n = t(this._config.parent)[0];
|
476
|
+
var s = '[data-toggle="collapse"][data-parent="' + this._config.parent + '"]';
|
477
|
+
return t(n).find(s).each(function(t, n) {
|
478
|
+
e._addAriaAndCollapsedClass(i._getTargetFromElement(n), [n])
|
479
|
+
}), n
|
480
|
+
}, o._addAriaAndCollapsedClass = function(e, n) {
|
481
|
+
if (e) {
|
482
|
+
var i = t(e).hasClass(c);
|
483
|
+
n.length > 0 && t(n).toggleClass(d, !i).attr("aria-expanded", i)
|
484
|
+
}
|
485
|
+
}, i._getTargetFromElement = function(e) {
|
486
|
+
var n = P.getSelectorFromElement(e);
|
487
|
+
return n ? t(n)[0] : null
|
488
|
+
}, i._jQueryInterface = function(e) {
|
489
|
+
return this.each(function() {
|
490
|
+
var s = t(this),
|
491
|
+
o = s.data(n),
|
492
|
+
l = r({}, a, s.data(), "object" == typeof e && e);
|
493
|
+
if (!o && l.toggle && /show|hide/.test(e) && (l.toggle = !1), o || (o = new i(this, l), s.data(n, o)), "string" == typeof e) {
|
494
|
+
if ("undefined" == typeof o[e]) throw new TypeError('No method named "' + e + '"');
|
495
|
+
o[e]()
|
496
|
+
}
|
497
|
+
})
|
498
|
+
}, s(i, null, [{
|
499
|
+
key: "VERSION",
|
500
|
+
get: function() {
|
501
|
+
return "4.0.0"
|
502
|
+
}
|
503
|
+
}, {
|
504
|
+
key: "Default",
|
505
|
+
get: function() {
|
506
|
+
return a
|
507
|
+
}
|
508
|
+
}]), i
|
509
|
+
}();
|
510
|
+
return t(document).on(h.CLICK_DATA_API, p.DATA_TOGGLE, function(e) {
|
511
|
+
"A" === e.currentTarget.tagName && e.preventDefault();
|
512
|
+
var i = t(this),
|
513
|
+
s = P.getSelectorFromElement(this);
|
514
|
+
t(s).each(function() {
|
515
|
+
var e = t(this),
|
516
|
+
s = e.data(n) ? "toggle" : i.data();
|
517
|
+
m._jQueryInterface.call(e, s)
|
518
|
+
})
|
519
|
+
}), t.fn[e] = m._jQueryInterface, t.fn[e].Constructor = m, t.fn[e].noConflict = function() {
|
520
|
+
return t.fn[e] = o, m._jQueryInterface
|
521
|
+
}, m
|
522
|
+
}(e),
|
523
|
+
W = function(t) {
|
524
|
+
var e = "dropdown",
|
525
|
+
i = "bs.dropdown",
|
526
|
+
o = "." + i,
|
527
|
+
a = ".data-api",
|
528
|
+
l = t.fn[e],
|
529
|
+
h = new RegExp("38|40|27"),
|
530
|
+
c = {
|
531
|
+
HIDE: "hide" + o,
|
532
|
+
HIDDEN: "hidden" + o,
|
533
|
+
SHOW: "show" + o,
|
534
|
+
SHOWN: "shown" + o,
|
535
|
+
CLICK: "click" + o,
|
536
|
+
CLICK_DATA_API: "click" + o + a,
|
537
|
+
KEYDOWN_DATA_API: "keydown" + o + a,
|
538
|
+
KEYUP_DATA_API: "keyup" + o + a
|
539
|
+
},
|
540
|
+
u = "disabled",
|
541
|
+
f = "show",
|
542
|
+
d = "dropup",
|
543
|
+
_ = "dropright",
|
544
|
+
g = "dropleft",
|
545
|
+
p = "dropdown-menu-right",
|
546
|
+
m = "dropdown-menu-left",
|
547
|
+
v = "position-static",
|
548
|
+
E = '[data-toggle="dropdown"]',
|
549
|
+
T = ".dropdown form",
|
550
|
+
y = ".dropdown-menu",
|
551
|
+
C = ".navbar-nav",
|
552
|
+
I = ".dropdown-menu .dropdown-item:not(.disabled)",
|
553
|
+
A = "top-start",
|
554
|
+
b = "top-end",
|
555
|
+
D = "bottom-start",
|
556
|
+
S = "bottom-end",
|
557
|
+
w = "right-start",
|
558
|
+
N = "left-start",
|
559
|
+
O = {
|
560
|
+
offset: 0,
|
561
|
+
flip: !0,
|
562
|
+
boundary: "scrollParent"
|
563
|
+
},
|
564
|
+
k = {
|
565
|
+
offset: "(number|string|function)",
|
566
|
+
flip: "boolean",
|
567
|
+
boundary: "(string|element)"
|
568
|
+
},
|
569
|
+
L = function() {
|
570
|
+
function a(t, e) {
|
571
|
+
this._element = t, this._popper = null, this._config = this._getConfig(e), this._menu = this._getMenuElement(), this._inNavbar = this._detectNavbar(), this._addEventListeners()
|
572
|
+
}
|
573
|
+
var l = a.prototype;
|
574
|
+
return l.toggle = function() {
|
575
|
+
if (!this._element.disabled && !t(this._element).hasClass(u)) {
|
576
|
+
var e = a._getParentFromElement(this._element),
|
577
|
+
i = t(this._menu).hasClass(f);
|
578
|
+
if (a._clearMenus(), !i) {
|
579
|
+
var s = {
|
580
|
+
relatedTarget: this._element
|
581
|
+
},
|
582
|
+
r = t.Event(c.SHOW, s);
|
583
|
+
if (t(e).trigger(r), !r.isDefaultPrevented()) {
|
584
|
+
if (!this._inNavbar) {
|
585
|
+
if ("undefined" == typeof n) throw new TypeError("Bootstrap dropdown require Popper.js (https://popper.js.org)");
|
586
|
+
var o = this._element;
|
587
|
+
t(e).hasClass(d) && (t(this._menu).hasClass(m) || t(this._menu).hasClass(p)) && (o = e), "scrollParent" !== this._config.boundary && t(e).addClass(v), this._popper = new n(o, this._menu, this._getPopperConfig())
|
588
|
+
}
|
589
|
+
"ontouchstart" in document.documentElement && 0 === t(e).closest(C).length && t("body").children().on("mouseover", null, t.noop), this._element.focus(), this._element.setAttribute("aria-expanded", !0), t(this._menu).toggleClass(f), t(e).toggleClass(f).trigger(t.Event(c.SHOWN, s))
|
590
|
+
}
|
591
|
+
}
|
592
|
+
}
|
593
|
+
}, l.dispose = function() {
|
594
|
+
t.removeData(this._element, i), t(this._element).off(o), this._element = null, this._menu = null, null !== this._popper && (this._popper.destroy(), this._popper = null)
|
595
|
+
}, l.update = function() {
|
596
|
+
this._inNavbar = this._detectNavbar(), null !== this._popper && this._popper.scheduleUpdate()
|
597
|
+
}, l._addEventListeners = function() {
|
598
|
+
var e = this;
|
599
|
+
t(this._element).on(c.CLICK, function(t) {
|
600
|
+
t.preventDefault(), t.stopPropagation(), e.toggle()
|
601
|
+
})
|
602
|
+
}, l._getConfig = function(n) {
|
603
|
+
return n = r({}, this.constructor.Default, t(this._element).data(), n), P.typeCheckConfig(e, n, this.constructor.DefaultType), n
|
604
|
+
}, l._getMenuElement = function() {
|
605
|
+
if (!this._menu) {
|
606
|
+
var e = a._getParentFromElement(this._element);
|
607
|
+
this._menu = t(e).find(y)[0]
|
608
|
+
}
|
609
|
+
return this._menu
|
610
|
+
}, l._getPlacement = function() {
|
611
|
+
var e = t(this._element).parent(),
|
612
|
+
n = D;
|
613
|
+
return e.hasClass(d) ? (n = A, t(this._menu).hasClass(p) && (n = b)) : e.hasClass(_) ? n = w : e.hasClass(g) ? n = N : t(this._menu).hasClass(p) && (n = S), n
|
614
|
+
}, l._detectNavbar = function() {
|
615
|
+
return t(this._element).closest(".navbar").length > 0
|
616
|
+
}, l._getPopperConfig = function() {
|
617
|
+
var t = this,
|
618
|
+
e = {};
|
619
|
+
return "function" == typeof this._config.offset ? e.fn = function(e) {
|
620
|
+
return e.offsets = r({}, e.offsets, t._config.offset(e.offsets) || {}), e
|
621
|
+
} : e.offset = this._config.offset, {
|
622
|
+
placement: this._getPlacement(),
|
623
|
+
modifiers: {
|
624
|
+
offset: e,
|
625
|
+
flip: {
|
626
|
+
enabled: this._config.flip
|
627
|
+
},
|
628
|
+
preventOverflow: {
|
629
|
+
boundariesElement: this._config.boundary
|
630
|
+
}
|
631
|
+
}
|
632
|
+
}
|
633
|
+
}, a._jQueryInterface = function(e) {
|
634
|
+
return this.each(function() {
|
635
|
+
var n = t(this).data(i);
|
636
|
+
if (n || (n = new a(this, "object" == typeof e ? e : null), t(this).data(i, n)), "string" == typeof e) {
|
637
|
+
if ("undefined" == typeof n[e]) throw new TypeError('No method named "' + e + '"');
|
638
|
+
n[e]()
|
639
|
+
}
|
640
|
+
})
|
641
|
+
}, a._clearMenus = function(e) {
|
642
|
+
if (!e || 3 !== e.which && ("keyup" !== e.type || 9 === e.which))
|
643
|
+
for (var n = t.makeArray(t(E)), s = 0; s < n.length; s++) {
|
644
|
+
var r = a._getParentFromElement(n[s]),
|
645
|
+
o = t(n[s]).data(i),
|
646
|
+
l = {
|
647
|
+
relatedTarget: n[s]
|
648
|
+
};
|
649
|
+
if (o) {
|
650
|
+
var h = o._menu;
|
651
|
+
if (t(r).hasClass(f) && !(e && ("click" === e.type && /input|textarea/i.test(e.target.tagName) || "keyup" === e.type && 9 === e.which) && t.contains(r, e.target))) {
|
652
|
+
var u = t.Event(c.HIDE, l);
|
653
|
+
t(r).trigger(u), u.isDefaultPrevented() || ("ontouchstart" in document.documentElement && t("body").children().off("mouseover", null, t.noop), n[s].setAttribute("aria-expanded", "false"), t(h).removeClass(f), t(r).removeClass(f).trigger(t.Event(c.HIDDEN, l)))
|
654
|
+
}
|
655
|
+
}
|
656
|
+
}
|
657
|
+
}, a._getParentFromElement = function(e) {
|
658
|
+
var n, i = P.getSelectorFromElement(e);
|
659
|
+
return i && (n = t(i)[0]), n || e.parentNode
|
660
|
+
}, a._dataApiKeydownHandler = function(e) {
|
661
|
+
if ((/input|textarea/i.test(e.target.tagName) ? !(32 === e.which || 27 !== e.which && (40 !== e.which && 38 !== e.which || t(e.target).closest(y).length)) : h.test(e.which)) && (e.preventDefault(), e.stopPropagation(), !this.disabled && !t(this).hasClass(u))) {
|
662
|
+
var n = a._getParentFromElement(this),
|
663
|
+
i = t(n).hasClass(f);
|
664
|
+
if ((i || 27 === e.which && 32 === e.which) && (!i || 27 !== e.which && 32 !== e.which)) {
|
665
|
+
var s = t(n).find(I).get();
|
666
|
+
if (0 !== s.length) {
|
667
|
+
var r = s.indexOf(e.target);
|
668
|
+
38 === e.which && r > 0 && r--, 40 === e.which && r < s.length - 1 && r++, r < 0 && (r = 0), s[r].focus()
|
669
|
+
}
|
670
|
+
} else {
|
671
|
+
if (27 === e.which) {
|
672
|
+
var o = t(n).find(E)[0];
|
673
|
+
t(o).trigger("focus")
|
674
|
+
}
|
675
|
+
t(this).trigger("click")
|
676
|
+
}
|
677
|
+
}
|
678
|
+
}, s(a, null, [{
|
679
|
+
key: "VERSION",
|
680
|
+
get: function() {
|
681
|
+
return "4.0.0"
|
682
|
+
}
|
683
|
+
}, {
|
684
|
+
key: "Default",
|
685
|
+
get: function() {
|
686
|
+
return O
|
687
|
+
}
|
688
|
+
}, {
|
689
|
+
key: "DefaultType",
|
690
|
+
get: function() {
|
691
|
+
return k
|
692
|
+
}
|
693
|
+
}]), a
|
694
|
+
}();
|
695
|
+
return t(document).on(c.KEYDOWN_DATA_API, E, L._dataApiKeydownHandler).on(c.KEYDOWN_DATA_API, y, L._dataApiKeydownHandler).on(c.CLICK_DATA_API + " " + c.KEYUP_DATA_API, L._clearMenus).on(c.CLICK_DATA_API, E, function(e) {
|
696
|
+
e.preventDefault(), e.stopPropagation(), L._jQueryInterface.call(t(this), "toggle")
|
697
|
+
}).on(c.CLICK_DATA_API, T, function(t) {
|
698
|
+
t.stopPropagation()
|
699
|
+
}), t.fn[e] = L._jQueryInterface, t.fn[e].Constructor = L, t.fn[e].noConflict = function() {
|
700
|
+
return t.fn[e] = l, L._jQueryInterface
|
701
|
+
}, L
|
702
|
+
}(e),
|
703
|
+
M = function(t) {
|
704
|
+
var e = "modal",
|
705
|
+
n = "bs.modal",
|
706
|
+
i = "." + n,
|
707
|
+
o = t.fn.modal,
|
708
|
+
a = {
|
709
|
+
backdrop: !0,
|
710
|
+
keyboard: !0,
|
711
|
+
focus: !0,
|
712
|
+
show: !0
|
713
|
+
},
|
714
|
+
l = {
|
715
|
+
backdrop: "(boolean|string)",
|
716
|
+
keyboard: "boolean",
|
717
|
+
focus: "boolean",
|
718
|
+
show: "boolean"
|
719
|
+
},
|
720
|
+
h = {
|
721
|
+
HIDE: "hide" + i,
|
722
|
+
HIDDEN: "hidden" + i,
|
723
|
+
SHOW: "show" + i,
|
724
|
+
SHOWN: "shown" + i,
|
725
|
+
FOCUSIN: "focusin" + i,
|
726
|
+
RESIZE: "resize" + i,
|
727
|
+
CLICK_DISMISS: "click.dismiss" + i,
|
728
|
+
KEYDOWN_DISMISS: "keydown.dismiss" + i,
|
729
|
+
MOUSEUP_DISMISS: "mouseup.dismiss" + i,
|
730
|
+
MOUSEDOWN_DISMISS: "mousedown.dismiss" + i,
|
731
|
+
CLICK_DATA_API: "click" + i + ".data-api"
|
732
|
+
},
|
733
|
+
c = "modal-scrollbar-measure",
|
734
|
+
u = "modal-backdrop",
|
735
|
+
f = "modal-open",
|
736
|
+
d = "fade",
|
737
|
+
_ = "show",
|
738
|
+
g = {
|
739
|
+
DIALOG: ".modal-dialog",
|
740
|
+
DATA_TOGGLE: '[data-toggle="modal"]',
|
741
|
+
DATA_DISMISS: '[data-dismiss="modal"]',
|
742
|
+
FIXED_CONTENT: ".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",
|
743
|
+
STICKY_CONTENT: ".sticky-top",
|
744
|
+
NAVBAR_TOGGLER: ".navbar-toggler"
|
745
|
+
},
|
746
|
+
p = function() {
|
747
|
+
function o(e, n) {
|
748
|
+
this._config = this._getConfig(n), this._element = e, this._dialog = t(e).find(g.DIALOG)[0], this._backdrop = null, this._isShown = !1, this._isBodyOverflowing = !1, this._ignoreBackdropClick = !1, this._originalBodyPadding = 0, this._scrollbarWidth = 0
|
749
|
+
}
|
750
|
+
var p = o.prototype;
|
751
|
+
return p.toggle = function(t) {
|
752
|
+
return this._isShown ? this.hide() : this.show(t)
|
753
|
+
}, p.show = function(e) {
|
754
|
+
var n = this;
|
755
|
+
if (!this._isTransitioning && !this._isShown) {
|
756
|
+
P.supportsTransitionEnd() && t(this._element).hasClass(d) && (this._isTransitioning = !0);
|
757
|
+
var i = t.Event(h.SHOW, {
|
758
|
+
relatedTarget: e
|
759
|
+
});
|
760
|
+
t(this._element).trigger(i), this._isShown || i.isDefaultPrevented() || (this._isShown = !0, this._checkScrollbar(), this._setScrollbar(), this._adjustDialog(), t(document.body).addClass(f), this._setEscapeEvent(), this._setResizeEvent(), t(this._element).on(h.CLICK_DISMISS, g.DATA_DISMISS, function(t) {
|
761
|
+
return n.hide(t)
|
762
|
+
}), t(this._dialog).on(h.MOUSEDOWN_DISMISS, function() {
|
763
|
+
t(n._element).one(h.MOUSEUP_DISMISS, function(e) {
|
764
|
+
t(e.target).is(n._element) && (n._ignoreBackdropClick = !0)
|
765
|
+
})
|
766
|
+
}), this._showBackdrop(function() {
|
767
|
+
return n._showElement(e)
|
768
|
+
}))
|
769
|
+
}
|
770
|
+
}, p.hide = function(e) {
|
771
|
+
var n = this;
|
772
|
+
if (e && e.preventDefault(), !this._isTransitioning && this._isShown) {
|
773
|
+
var i = t.Event(h.HIDE);
|
774
|
+
if (t(this._element).trigger(i), this._isShown && !i.isDefaultPrevented()) {
|
775
|
+
this._isShown = !1;
|
776
|
+
var s = P.supportsTransitionEnd() && t(this._element).hasClass(d);
|
777
|
+
s && (this._isTransitioning = !0), this._setEscapeEvent(), this._setResizeEvent(), t(document).off(h.FOCUSIN), t(this._element).removeClass(_), t(this._element).off(h.CLICK_DISMISS), t(this._dialog).off(h.MOUSEDOWN_DISMISS), s ? t(this._element).one(P.TRANSITION_END, function(t) {
|
778
|
+
return n._hideModal(t)
|
779
|
+
}).emulateTransitionEnd(300) : this._hideModal()
|
780
|
+
}
|
781
|
+
}
|
782
|
+
}, p.dispose = function() {
|
783
|
+
t.removeData(this._element, n), t(window, document, this._element, this._backdrop).off(i), this._config = null, this._element = null, this._dialog = null, this._backdrop = null, this._isShown = null, this._isBodyOverflowing = null, this._ignoreBackdropClick = null, this._scrollbarWidth = null
|
784
|
+
}, p.handleUpdate = function() {
|
785
|
+
this._adjustDialog()
|
786
|
+
}, p._getConfig = function(t) {
|
787
|
+
return t = r({}, a, t), P.typeCheckConfig(e, t, l), t
|
788
|
+
}, p._showElement = function(e) {
|
789
|
+
var n = this,
|
790
|
+
i = P.supportsTransitionEnd() && t(this._element).hasClass(d);
|
791
|
+
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 && P.reflow(this._element), t(this._element).addClass(_), this._config.focus && this._enforceFocus();
|
792
|
+
var s = t.Event(h.SHOWN, {
|
793
|
+
relatedTarget: e
|
794
|
+
}),
|
795
|
+
r = function() {
|
796
|
+
n._config.focus && n._element.focus(), n._isTransitioning = !1, t(n._element).trigger(s)
|
797
|
+
};
|
798
|
+
i ? t(this._dialog).one(P.TRANSITION_END, r).emulateTransitionEnd(300) : r()
|
799
|
+
}, p._enforceFocus = function() {
|
800
|
+
var e = this;
|
801
|
+
t(document).off(h.FOCUSIN).on(h.FOCUSIN, function(n) {
|
802
|
+
document !== n.target && e._element !== n.target && 0 === t(e._element).has(n.target).length && e._element.focus()
|
803
|
+
})
|
804
|
+
}, p._setEscapeEvent = function() {
|
805
|
+
var e = this;
|
806
|
+
this._isShown && this._config.keyboard ? t(this._element).on(h.KEYDOWN_DISMISS, function(t) {
|
807
|
+
27 === t.which && (t.preventDefault(), e.hide())
|
808
|
+
}) : this._isShown || t(this._element).off(h.KEYDOWN_DISMISS)
|
809
|
+
}, p._setResizeEvent = function() {
|
810
|
+
var e = this;
|
811
|
+
this._isShown ? t(window).on(h.RESIZE, function(t) {
|
812
|
+
return e.handleUpdate(t)
|
813
|
+
}) : t(window).off(h.RESIZE)
|
814
|
+
}, p._hideModal = function() {
|
815
|
+
var e = this;
|
816
|
+
this._element.style.display = "none", this._element.setAttribute("aria-hidden", !0), this._isTransitioning = !1, this._showBackdrop(function() {
|
817
|
+
t(document.body).removeClass(f), e._resetAdjustments(), e._resetScrollbar(), t(e._element).trigger(h.HIDDEN)
|
818
|
+
})
|
819
|
+
}, p._removeBackdrop = function() {
|
820
|
+
this._backdrop && (t(this._backdrop).remove(), this._backdrop = null)
|
821
|
+
}, p._showBackdrop = function(e) {
|
822
|
+
var n = this,
|
823
|
+
i = t(this._element).hasClass(d) ? d : "";
|
824
|
+
if (this._isShown && this._config.backdrop) {
|
825
|
+
var s = P.supportsTransitionEnd() && i;
|
826
|
+
if (this._backdrop = document.createElement("div"), this._backdrop.className = u, i && t(this._backdrop).addClass(i), t(this._backdrop).appendTo(document.body), t(this._element).on(h.CLICK_DISMISS, function(t) {
|
827
|
+
n._ignoreBackdropClick ? n._ignoreBackdropClick = !1 : t.target === t.currentTarget && ("static" === n._config.backdrop ? n._element.focus() : n.hide())
|
828
|
+
}), s && P.reflow(this._backdrop), t(this._backdrop).addClass(_), !e) return;
|
829
|
+
if (!s) return void e();
|
830
|
+
t(this._backdrop).one(P.TRANSITION_END, e).emulateTransitionEnd(150)
|
831
|
+
} else if (!this._isShown && this._backdrop) {
|
832
|
+
t(this._backdrop).removeClass(_);
|
833
|
+
var r = function() {
|
834
|
+
n._removeBackdrop(), e && e()
|
835
|
+
};
|
836
|
+
P.supportsTransitionEnd() && t(this._element).hasClass(d) ? t(this._backdrop).one(P.TRANSITION_END, r).emulateTransitionEnd(150) : r()
|
837
|
+
} else e && e()
|
838
|
+
}, p._adjustDialog = function() {
|
839
|
+
var t = this._element.scrollHeight > document.documentElement.clientHeight;
|
840
|
+
!this._isBodyOverflowing && t && (this._element.style.paddingLeft = this._scrollbarWidth + "px"), this._isBodyOverflowing && !t && (this._element.style.paddingRight = this._scrollbarWidth + "px")
|
841
|
+
}, p._resetAdjustments = function() {
|
842
|
+
this._element.style.paddingLeft = "", this._element.style.paddingRight = ""
|
843
|
+
}, p._checkScrollbar = function() {
|
844
|
+
var t = document.body.getBoundingClientRect();
|
845
|
+
this._isBodyOverflowing = t.left + t.right < window.innerWidth, this._scrollbarWidth = this._getScrollbarWidth()
|
846
|
+
}, p._setScrollbar = function() {
|
847
|
+
var e = this;
|
848
|
+
if (this._isBodyOverflowing) {
|
849
|
+
t(g.FIXED_CONTENT).each(function(n, i) {
|
850
|
+
var s = t(i)[0].style.paddingRight,
|
851
|
+
r = t(i).css("padding-right");
|
852
|
+
t(i).data("padding-right", s).css("padding-right", parseFloat(r) + e._scrollbarWidth + "px")
|
853
|
+
}), t(g.STICKY_CONTENT).each(function(n, i) {
|
854
|
+
var s = t(i)[0].style.marginRight,
|
855
|
+
r = t(i).css("margin-right");
|
856
|
+
t(i).data("margin-right", s).css("margin-right", parseFloat(r) - e._scrollbarWidth + "px")
|
857
|
+
}), t(g.NAVBAR_TOGGLER).each(function(n, i) {
|
858
|
+
var s = t(i)[0].style.marginRight,
|
859
|
+
r = t(i).css("margin-right");
|
860
|
+
t(i).data("margin-right", s).css("margin-right", parseFloat(r) + e._scrollbarWidth + "px")
|
861
|
+
});
|
862
|
+
var n = document.body.style.paddingRight,
|
863
|
+
i = t("body").css("padding-right");
|
864
|
+
t("body").data("padding-right", n).css("padding-right", parseFloat(i) + this._scrollbarWidth + "px")
|
865
|
+
}
|
866
|
+
}, p._resetScrollbar = function() {
|
867
|
+
t(g.FIXED_CONTENT).each(function(e, n) {
|
868
|
+
var i = t(n).data("padding-right");
|
869
|
+
"undefined" != typeof i && t(n).css("padding-right", i).removeData("padding-right")
|
870
|
+
}), t(g.STICKY_CONTENT + ", " + g.NAVBAR_TOGGLER).each(function(e, n) {
|
871
|
+
var i = t(n).data("margin-right");
|
872
|
+
"undefined" != typeof i && t(n).css("margin-right", i).removeData("margin-right")
|
873
|
+
});
|
874
|
+
var e = t("body").data("padding-right");
|
875
|
+
"undefined" != typeof e && t("body").css("padding-right", e).removeData("padding-right")
|
876
|
+
}, p._getScrollbarWidth = function() {
|
877
|
+
var t = document.createElement("div");
|
878
|
+
t.className = c, document.body.appendChild(t);
|
879
|
+
var e = t.getBoundingClientRect().width - t.clientWidth;
|
880
|
+
return document.body.removeChild(t), e
|
881
|
+
}, o._jQueryInterface = function(e, i) {
|
882
|
+
return this.each(function() {
|
883
|
+
var s = t(this).data(n),
|
884
|
+
a = r({}, o.Default, t(this).data(), "object" == typeof e && e);
|
885
|
+
if (s || (s = new o(this, a), t(this).data(n, s)), "string" == typeof e) {
|
886
|
+
if ("undefined" == typeof s[e]) throw new TypeError('No method named "' + e + '"');
|
887
|
+
s[e](i)
|
888
|
+
} else a.show && s.show(i)
|
889
|
+
})
|
890
|
+
}, s(o, null, [{
|
891
|
+
key: "VERSION",
|
892
|
+
get: function() {
|
893
|
+
return "4.0.0"
|
894
|
+
}
|
895
|
+
}, {
|
896
|
+
key: "Default",
|
897
|
+
get: function() {
|
898
|
+
return a
|
899
|
+
}
|
900
|
+
}]), o
|
901
|
+
}();
|
902
|
+
return t(document).on(h.CLICK_DATA_API, g.DATA_TOGGLE, function(e) {
|
903
|
+
var i, s = this,
|
904
|
+
o = P.getSelectorFromElement(this);
|
905
|
+
o && (i = t(o)[0]);
|
906
|
+
var a = t(i).data(n) ? "toggle" : r({}, t(i).data(), t(this).data());
|
907
|
+
"A" !== this.tagName && "AREA" !== this.tagName || e.preventDefault();
|
908
|
+
var l = t(i).one(h.SHOW, function(e) {
|
909
|
+
e.isDefaultPrevented() || l.one(h.HIDDEN, function() {
|
910
|
+
t(s).is(":visible") && s.focus()
|
911
|
+
})
|
912
|
+
});
|
913
|
+
p._jQueryInterface.call(t(i), a, this)
|
914
|
+
}), t.fn.modal = p._jQueryInterface, t.fn.modal.Constructor = p, t.fn.modal.noConflict = function() {
|
915
|
+
return t.fn.modal = o, p._jQueryInterface
|
916
|
+
}, p
|
917
|
+
}(e),
|
918
|
+
U = function(t) {
|
919
|
+
var e = "tooltip",
|
920
|
+
i = "bs.tooltip",
|
921
|
+
o = "." + i,
|
922
|
+
a = t.fn[e],
|
923
|
+
l = new RegExp("(^|\\s)bs-tooltip\\S+", "g"),
|
924
|
+
h = {
|
925
|
+
animation: "boolean",
|
926
|
+
template: "string",
|
927
|
+
title: "(string|element|function)",
|
928
|
+
trigger: "string",
|
929
|
+
delay: "(number|object)",
|
930
|
+
html: "boolean",
|
931
|
+
selector: "(string|boolean)",
|
932
|
+
placement: "(string|function)",
|
933
|
+
offset: "(number|string)",
|
934
|
+
container: "(string|element|boolean)",
|
935
|
+
fallbackPlacement: "(string|array)",
|
936
|
+
boundary: "(string|element)"
|
937
|
+
},
|
938
|
+
c = {
|
939
|
+
AUTO: "auto",
|
940
|
+
TOP: "top",
|
941
|
+
RIGHT: "right",
|
942
|
+
BOTTOM: "bottom",
|
943
|
+
LEFT: "left"
|
944
|
+
},
|
945
|
+
u = {
|
946
|
+
animation: !0,
|
947
|
+
template: '<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',
|
948
|
+
trigger: "hover focus",
|
949
|
+
title: "",
|
950
|
+
delay: 0,
|
951
|
+
html: !1,
|
952
|
+
selector: !1,
|
953
|
+
placement: "top",
|
954
|
+
offset: 0,
|
955
|
+
container: !1,
|
956
|
+
fallbackPlacement: "flip",
|
957
|
+
boundary: "scrollParent"
|
958
|
+
},
|
959
|
+
f = "show",
|
960
|
+
d = "out",
|
961
|
+
_ = {
|
962
|
+
HIDE: "hide" + o,
|
963
|
+
HIDDEN: "hidden" + o,
|
964
|
+
SHOW: "show" + o,
|
965
|
+
SHOWN: "shown" + o,
|
966
|
+
INSERTED: "inserted" + o,
|
967
|
+
CLICK: "click" + o,
|
968
|
+
FOCUSIN: "focusin" + o,
|
969
|
+
FOCUSOUT: "focusout" + o,
|
970
|
+
MOUSEENTER: "mouseenter" + o,
|
971
|
+
MOUSELEAVE: "mouseleave" + o
|
972
|
+
},
|
973
|
+
g = "fade",
|
974
|
+
p = "show",
|
975
|
+
m = ".tooltip-inner",
|
976
|
+
v = ".arrow",
|
977
|
+
E = "hover",
|
978
|
+
T = "focus",
|
979
|
+
y = "click",
|
980
|
+
C = "manual",
|
981
|
+
I = function() {
|
982
|
+
function a(t, e) {
|
983
|
+
if ("undefined" == typeof n) throw new TypeError("Bootstrap tooltips require Popper.js (https://popper.js.org)");
|
984
|
+
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()
|
985
|
+
}
|
986
|
+
var I = a.prototype;
|
987
|
+
return I.enable = function() {
|
988
|
+
this._isEnabled = !0
|
989
|
+
}, I.disable = function() {
|
990
|
+
this._isEnabled = !1
|
991
|
+
}, I.toggleEnabled = function() {
|
992
|
+
this._isEnabled = !this._isEnabled
|
993
|
+
}, I.toggle = function(e) {
|
994
|
+
if (this._isEnabled)
|
995
|
+
if (e) {
|
996
|
+
var n = this.constructor.DATA_KEY,
|
997
|
+
i = t(e.currentTarget).data(n);
|
998
|
+
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)
|
999
|
+
} else {
|
1000
|
+
if (t(this.getTipElement()).hasClass(p)) return void this._leave(null, this);
|
1001
|
+
this._enter(null, this)
|
1002
|
+
}
|
1003
|
+
}, I.dispose = function() {
|
1004
|
+
clearTimeout(this._timeout), t.removeData(this.element, this.constructor.DATA_KEY), t(this.element).off(this.constructor.EVENT_KEY), t(this.element).closest(".modal").off("hide.bs.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
|
1005
|
+
}, I.show = function() {
|
1006
|
+
var e = this;
|
1007
|
+
if ("none" === t(this.element).css("display")) throw new Error("Please use show on visible elements");
|
1008
|
+
var i = t.Event(this.constructor.Event.SHOW);
|
1009
|
+
if (this.isWithContent() && this._isEnabled) {
|
1010
|
+
t(this.element).trigger(i);
|
1011
|
+
var s = t.contains(this.element.ownerDocument.documentElement, this.element);
|
1012
|
+
if (i.isDefaultPrevented() || !s) return;
|
1013
|
+
var r = this.getTipElement(),
|
1014
|
+
o = P.getUID(this.constructor.NAME);
|
1015
|
+
r.setAttribute("id", o), this.element.setAttribute("aria-describedby", o), this.setContent(), this.config.animation && t(r).addClass(g);
|
1016
|
+
var l = "function" == typeof this.config.placement ? this.config.placement.call(this, r, this.element) : this.config.placement,
|
1017
|
+
h = this._getAttachment(l);
|
1018
|
+
this.addAttachmentClass(h);
|
1019
|
+
var c = !1 === this.config.container ? document.body : t(this.config.container);
|
1020
|
+
t(r).data(this.constructor.DATA_KEY, this), t.contains(this.element.ownerDocument.documentElement, this.tip) || t(r).appendTo(c), t(this.element).trigger(this.constructor.Event.INSERTED), this._popper = new n(this.element, r, {
|
1021
|
+
placement: h,
|
1022
|
+
modifiers: {
|
1023
|
+
offset: {
|
1024
|
+
offset: this.config.offset
|
1025
|
+
},
|
1026
|
+
flip: {
|
1027
|
+
behavior: this.config.fallbackPlacement
|
1028
|
+
},
|
1029
|
+
arrow: {
|
1030
|
+
element: v
|
1031
|
+
},
|
1032
|
+
preventOverflow: {
|
1033
|
+
boundariesElement: this.config.boundary
|
1034
|
+
}
|
1035
|
+
},
|
1036
|
+
onCreate: function(t) {
|
1037
|
+
t.originalPlacement !== t.placement && e._handlePopperPlacementChange(t)
|
1038
|
+
},
|
1039
|
+
onUpdate: function(t) {
|
1040
|
+
e._handlePopperPlacementChange(t)
|
1041
|
+
}
|
1042
|
+
}), t(r).addClass(p), "ontouchstart" in document.documentElement && t("body").children().on("mouseover", null, t.noop);
|
1043
|
+
var u = function() {
|
1044
|
+
e.config.animation && e._fixTransition();
|
1045
|
+
var n = e._hoverState;
|
1046
|
+
e._hoverState = null, t(e.element).trigger(e.constructor.Event.SHOWN), n === d && e._leave(null, e)
|
1047
|
+
};
|
1048
|
+
P.supportsTransitionEnd() && t(this.tip).hasClass(g) ? t(this.tip).one(P.TRANSITION_END, u).emulateTransitionEnd(a._TRANSITION_DURATION) : u()
|
1049
|
+
}
|
1050
|
+
}, I.hide = function(e) {
|
1051
|
+
var n = this,
|
1052
|
+
i = this.getTipElement(),
|
1053
|
+
s = t.Event(this.constructor.Event.HIDE),
|
1054
|
+
r = function() {
|
1055
|
+
n._hoverState !== f && 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()
|
1056
|
+
};
|
1057
|
+
t(this.element).trigger(s), s.isDefaultPrevented() || (t(i).removeClass(p), "ontouchstart" in document.documentElement && t("body").children().off("mouseover", null, t.noop), this._activeTrigger[y] = !1, this._activeTrigger[T] = !1, this._activeTrigger[E] = !1, P.supportsTransitionEnd() && t(this.tip).hasClass(g) ? t(i).one(P.TRANSITION_END, r).emulateTransitionEnd(150) : r(), this._hoverState = "")
|
1058
|
+
}, I.update = function() {
|
1059
|
+
null !== this._popper && this._popper.scheduleUpdate()
|
1060
|
+
}, I.isWithContent = function() {
|
1061
|
+
return Boolean(this.getTitle())
|
1062
|
+
}, I.addAttachmentClass = function(e) {
|
1063
|
+
t(this.getTipElement()).addClass("bs-tooltip-" + e)
|
1064
|
+
}, I.getTipElement = function() {
|
1065
|
+
return this.tip = this.tip || t(this.config.template)[0], this.tip
|
1066
|
+
}, I.setContent = function() {
|
1067
|
+
var e = t(this.getTipElement());
|
1068
|
+
this.setElementContent(e.find(m), this.getTitle()), e.removeClass(g + " " + p)
|
1069
|
+
}, I.setElementContent = function(e, n) {
|
1070
|
+
var i = this.config.html;
|
1071
|
+
"object" == typeof n && (n.nodeType || n.jquery) ? i ? t(n).parent().is(e) || e.empty().append(n) : e.text(t(n).text()) : e[i ? "html" : "text"](n)
|
1072
|
+
}, I.getTitle = function() {
|
1073
|
+
var t = this.element.getAttribute("data-original-title");
|
1074
|
+
return t || (t = "function" == typeof this.config.title ? this.config.title.call(this.element) : this.config.title), t
|
1075
|
+
}, I._getAttachment = function(t) {
|
1076
|
+
return c[t.toUpperCase()]
|
1077
|
+
}, I._setListeners = function() {
|
1078
|
+
var e = this;
|
1079
|
+
this.config.trigger.split(" ").forEach(function(n) {
|
1080
|
+
if ("click" === n) t(e.element).on(e.constructor.Event.CLICK, e.config.selector, function(t) {
|
1081
|
+
return e.toggle(t)
|
1082
|
+
});
|
1083
|
+
else if (n !== C) {
|
1084
|
+
var i = n === E ? e.constructor.Event.MOUSEENTER : e.constructor.Event.FOCUSIN,
|
1085
|
+
s = n === E ? e.constructor.Event.MOUSELEAVE : e.constructor.Event.FOCUSOUT;
|
1086
|
+
t(e.element).on(i, e.config.selector, function(t) {
|
1087
|
+
return e._enter(t)
|
1088
|
+
}).on(s, e.config.selector, function(t) {
|
1089
|
+
return e._leave(t)
|
1090
|
+
})
|
1091
|
+
}
|
1092
|
+
t(e.element).closest(".modal").on("hide.bs.modal", function() {
|
1093
|
+
return e.hide()
|
1094
|
+
})
|
1095
|
+
}), this.config.selector ? this.config = r({}, this.config, {
|
1096
|
+
trigger: "manual",
|
1097
|
+
selector: ""
|
1098
|
+
}) : this._fixTitle()
|
1099
|
+
}, I._fixTitle = function() {
|
1100
|
+
var t = typeof this.element.getAttribute("data-original-title");
|
1101
|
+
(this.element.getAttribute("title") || "string" !== t) && (this.element.setAttribute("data-original-title", this.element.getAttribute("title") || ""), this.element.setAttribute("title", ""))
|
1102
|
+
}, I._enter = function(e, n) {
|
1103
|
+
var i = this.constructor.DATA_KEY;
|
1104
|
+
(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 ? T : E] = !0), t(n.getTipElement()).hasClass(p) || n._hoverState === f ? n._hoverState = f : (clearTimeout(n._timeout), n._hoverState = f, n.config.delay && n.config.delay.show ? n._timeout = setTimeout(function() {
|
1105
|
+
n._hoverState === f && n.show()
|
1106
|
+
}, n.config.delay.show) : n.show())
|
1107
|
+
}, I._leave = function(e, n) {
|
1108
|
+
var i = this.constructor.DATA_KEY;
|
1109
|
+
(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 ? T : E] = !1), n._isWithActiveTrigger() || (clearTimeout(n._timeout), n._hoverState = d, n.config.delay && n.config.delay.hide ? n._timeout = setTimeout(function() {
|
1110
|
+
n._hoverState === d && n.hide()
|
1111
|
+
}, n.config.delay.hide) : n.hide())
|
1112
|
+
}, I._isWithActiveTrigger = function() {
|
1113
|
+
for (var t in this._activeTrigger)
|
1114
|
+
if (this._activeTrigger[t]) return !0;
|
1115
|
+
return !1
|
1116
|
+
}, I._getConfig = function(n) {
|
1117
|
+
return "number" == typeof(n = r({}, this.constructor.Default, t(this.element).data(), n)).delay && (n.delay = {
|
1118
|
+
show: n.delay,
|
1119
|
+
hide: n.delay
|
1120
|
+
}), "number" == typeof n.title && (n.title = n.title.toString()), "number" == typeof n.content && (n.content = n.content.toString()), P.typeCheckConfig(e, n, this.constructor.DefaultType), n
|
1121
|
+
}, I._getDelegateConfig = function() {
|
1122
|
+
var t = {};
|
1123
|
+
if (this.config)
|
1124
|
+
for (var e in this.config) this.constructor.Default[e] !== this.config[e] && (t[e] = this.config[e]);
|
1125
|
+
return t
|
1126
|
+
}, I._cleanTipClass = function() {
|
1127
|
+
var e = t(this.getTipElement()),
|
1128
|
+
n = e.attr("class").match(l);
|
1129
|
+
null !== n && n.length > 0 && e.removeClass(n.join(""))
|
1130
|
+
}, I._handlePopperPlacementChange = function(t) {
|
1131
|
+
this._cleanTipClass(), this.addAttachmentClass(this._getAttachment(t.placement))
|
1132
|
+
}, I._fixTransition = function() {
|
1133
|
+
var e = this.getTipElement(),
|
1134
|
+
n = this.config.animation;
|
1135
|
+
null === e.getAttribute("x-placement") && (t(e).removeClass(g), this.config.animation = !1, this.hide(), this.show(), this.config.animation = n)
|
1136
|
+
}, a._jQueryInterface = function(e) {
|
1137
|
+
return this.each(function() {
|
1138
|
+
var n = t(this).data(i),
|
1139
|
+
s = "object" == typeof e && e;
|
1140
|
+
if ((n || !/dispose|hide/.test(e)) && (n || (n = new a(this, s), t(this).data(i, n)), "string" == typeof e)) {
|
1141
|
+
if ("undefined" == typeof n[e]) throw new TypeError('No method named "' + e + '"');
|
1142
|
+
n[e]()
|
1143
|
+
}
|
1144
|
+
})
|
1145
|
+
}, s(a, null, [{
|
1146
|
+
key: "VERSION",
|
1147
|
+
get: function() {
|
1148
|
+
return "4.0.0"
|
1149
|
+
}
|
1150
|
+
}, {
|
1151
|
+
key: "Default",
|
1152
|
+
get: function() {
|
1153
|
+
return u
|
1154
|
+
}
|
1155
|
+
}, {
|
1156
|
+
key: "NAME",
|
1157
|
+
get: function() {
|
1158
|
+
return e
|
1159
|
+
}
|
1160
|
+
}, {
|
1161
|
+
key: "DATA_KEY",
|
1162
|
+
get: function() {
|
1163
|
+
return i
|
1164
|
+
}
|
1165
|
+
}, {
|
1166
|
+
key: "Event",
|
1167
|
+
get: function() {
|
1168
|
+
return _
|
1169
|
+
}
|
1170
|
+
}, {
|
1171
|
+
key: "EVENT_KEY",
|
1172
|
+
get: function() {
|
1173
|
+
return o
|
1174
|
+
}
|
1175
|
+
}, {
|
1176
|
+
key: "DefaultType",
|
1177
|
+
get: function() {
|
1178
|
+
return h
|
1179
|
+
}
|
1180
|
+
}]), a
|
1181
|
+
}();
|
1182
|
+
return t.fn[e] = I._jQueryInterface, t.fn[e].Constructor = I, t.fn[e].noConflict = function() {
|
1183
|
+
return t.fn[e] = a, I._jQueryInterface
|
1184
|
+
}, I
|
1185
|
+
}(e),
|
1186
|
+
x = function(t) {
|
1187
|
+
var e = "popover",
|
1188
|
+
n = "bs.popover",
|
1189
|
+
i = "." + n,
|
1190
|
+
o = t.fn[e],
|
1191
|
+
a = new RegExp("(^|\\s)bs-popover\\S+", "g"),
|
1192
|
+
l = r({}, U.Default, {
|
1193
|
+
placement: "right",
|
1194
|
+
trigger: "click",
|
1195
|
+
content: "",
|
1196
|
+
template: '<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'
|
1197
|
+
}),
|
1198
|
+
h = r({}, U.DefaultType, {
|
1199
|
+
content: "(string|element|function)"
|
1200
|
+
}),
|
1201
|
+
c = "fade",
|
1202
|
+
u = "show",
|
1203
|
+
f = ".popover-header",
|
1204
|
+
d = ".popover-body",
|
1205
|
+
_ = {
|
1206
|
+
HIDE: "hide" + i,
|
1207
|
+
HIDDEN: "hidden" + i,
|
1208
|
+
SHOW: "show" + i,
|
1209
|
+
SHOWN: "shown" + i,
|
1210
|
+
INSERTED: "inserted" + i,
|
1211
|
+
CLICK: "click" + i,
|
1212
|
+
FOCUSIN: "focusin" + i,
|
1213
|
+
FOCUSOUT: "focusout" + i,
|
1214
|
+
MOUSEENTER: "mouseenter" + i,
|
1215
|
+
MOUSELEAVE: "mouseleave" + i
|
1216
|
+
},
|
1217
|
+
g = function(r) {
|
1218
|
+
var o, g;
|
1219
|
+
|
1220
|
+
function p() {
|
1221
|
+
return r.apply(this, arguments) || this
|
1222
|
+
}
|
1223
|
+
g = r, (o = p).prototype = Object.create(g.prototype), o.prototype.constructor = o, o.__proto__ = g;
|
1224
|
+
var m = p.prototype;
|
1225
|
+
return m.isWithContent = function() {
|
1226
|
+
return this.getTitle() || this._getContent()
|
1227
|
+
}, m.addAttachmentClass = function(e) {
|
1228
|
+
t(this.getTipElement()).addClass("bs-popover-" + e)
|
1229
|
+
}, m.getTipElement = function() {
|
1230
|
+
return this.tip = this.tip || t(this.config.template)[0], this.tip
|
1231
|
+
}, m.setContent = function() {
|
1232
|
+
var e = t(this.getTipElement());
|
1233
|
+
this.setElementContent(e.find(f), this.getTitle());
|
1234
|
+
var n = this._getContent();
|
1235
|
+
"function" == typeof n && (n = n.call(this.element)), this.setElementContent(e.find(d), n), e.removeClass(c + " " + u)
|
1236
|
+
}, m._getContent = function() {
|
1237
|
+
return this.element.getAttribute("data-content") || this.config.content
|
1238
|
+
}, m._cleanTipClass = function() {
|
1239
|
+
var e = t(this.getTipElement()),
|
1240
|
+
n = e.attr("class").match(a);
|
1241
|
+
null !== n && n.length > 0 && e.removeClass(n.join(""))
|
1242
|
+
}, p._jQueryInterface = function(e) {
|
1243
|
+
return this.each(function() {
|
1244
|
+
var i = t(this).data(n),
|
1245
|
+
s = "object" == typeof e ? e : null;
|
1246
|
+
if ((i || !/destroy|hide/.test(e)) && (i || (i = new p(this, s), t(this).data(n, i)), "string" == typeof e)) {
|
1247
|
+
if ("undefined" == typeof i[e]) throw new TypeError('No method named "' + e + '"');
|
1248
|
+
i[e]()
|
1249
|
+
}
|
1250
|
+
})
|
1251
|
+
}, s(p, null, [{
|
1252
|
+
key: "VERSION",
|
1253
|
+
get: function() {
|
1254
|
+
return "4.0.0"
|
1255
|
+
}
|
1256
|
+
}, {
|
1257
|
+
key: "Default",
|
1258
|
+
get: function() {
|
1259
|
+
return l
|
1260
|
+
}
|
1261
|
+
}, {
|
1262
|
+
key: "NAME",
|
1263
|
+
get: function() {
|
1264
|
+
return e
|
1265
|
+
}
|
1266
|
+
}, {
|
1267
|
+
key: "DATA_KEY",
|
1268
|
+
get: function() {
|
1269
|
+
return n
|
1270
|
+
}
|
1271
|
+
}, {
|
1272
|
+
key: "Event",
|
1273
|
+
get: function() {
|
1274
|
+
return _
|
1275
|
+
}
|
1276
|
+
}, {
|
1277
|
+
key: "EVENT_KEY",
|
1278
|
+
get: function() {
|
1279
|
+
return i
|
1280
|
+
}
|
1281
|
+
}, {
|
1282
|
+
key: "DefaultType",
|
1283
|
+
get: function() {
|
1284
|
+
return h
|
1285
|
+
}
|
1286
|
+
}]), p
|
1287
|
+
}(U);
|
1288
|
+
return t.fn[e] = g._jQueryInterface, t.fn[e].Constructor = g, t.fn[e].noConflict = function() {
|
1289
|
+
return t.fn[e] = o, g._jQueryInterface
|
1290
|
+
}, g
|
1291
|
+
}(e),
|
1292
|
+
K = function(t) {
|
1293
|
+
var e = "scrollspy",
|
1294
|
+
n = "bs.scrollspy",
|
1295
|
+
i = "." + n,
|
1296
|
+
o = t.fn[e],
|
1297
|
+
a = {
|
1298
|
+
offset: 10,
|
1299
|
+
method: "auto",
|
1300
|
+
target: ""
|
1301
|
+
},
|
1302
|
+
l = {
|
1303
|
+
offset: "number",
|
1304
|
+
method: "string",
|
1305
|
+
target: "(string|element)"
|
1306
|
+
},
|
1307
|
+
h = {
|
1308
|
+
ACTIVATE: "activate" + i,
|
1309
|
+
SCROLL: "scroll" + i,
|
1310
|
+
LOAD_DATA_API: "load" + i + ".data-api"
|
1311
|
+
},
|
1312
|
+
c = "dropdown-item",
|
1313
|
+
u = "active",
|
1314
|
+
f = {
|
1315
|
+
DATA_SPY: '[data-spy="scroll"]',
|
1316
|
+
ACTIVE: ".active",
|
1317
|
+
NAV_LIST_GROUP: ".nav, .list-group",
|
1318
|
+
NAV_LINKS: ".nav-link",
|
1319
|
+
NAV_ITEMS: ".nav-item",
|
1320
|
+
LIST_ITEMS: ".list-group-item",
|
1321
|
+
DROPDOWN: ".dropdown",
|
1322
|
+
DROPDOWN_ITEMS: ".dropdown-item",
|
1323
|
+
DROPDOWN_TOGGLE: ".dropdown-toggle"
|
1324
|
+
},
|
1325
|
+
d = "offset",
|
1326
|
+
_ = "position",
|
1327
|
+
g = function() {
|
1328
|
+
function o(e, n) {
|
1329
|
+
var i = this;
|
1330
|
+
this._element = e, this._scrollElement = "BODY" === e.tagName ? window : e, this._config = this._getConfig(n), this._selector = this._config.target + " " + f.NAV_LINKS + "," + this._config.target + " " + f.LIST_ITEMS + "," + this._config.target + " " + f.DROPDOWN_ITEMS, this._offsets = [], this._targets = [], this._activeTarget = null, this._scrollHeight = 0, t(this._scrollElement).on(h.SCROLL, function(t) {
|
1331
|
+
return i._process(t)
|
1332
|
+
}), this.refresh(), this._process()
|
1333
|
+
}
|
1334
|
+
var g = o.prototype;
|
1335
|
+
return g.refresh = function() {
|
1336
|
+
var e = this,
|
1337
|
+
n = this._scrollElement === this._scrollElement.window ? d : _,
|
1338
|
+
i = "auto" === this._config.method ? n : this._config.method,
|
1339
|
+
s = i === _ ? this._getScrollTop() : 0;
|
1340
|
+
this._offsets = [], this._targets = [], this._scrollHeight = this._getScrollHeight(), t.makeArray(t(this._selector)).map(function(e) {
|
1341
|
+
var n, r = P.getSelectorFromElement(e);
|
1342
|
+
if (r && (n = t(r)[0]), n) {
|
1343
|
+
var o = n.getBoundingClientRect();
|
1344
|
+
if (o.width || o.height) return [t(n)[i]().top + s, r]
|
1345
|
+
}
|
1346
|
+
return null
|
1347
|
+
}).filter(function(t) {
|
1348
|
+
return t
|
1349
|
+
}).sort(function(t, e) {
|
1350
|
+
return t[0] - e[0]
|
1351
|
+
}).forEach(function(t) {
|
1352
|
+
e._offsets.push(t[0]), e._targets.push(t[1])
|
1353
|
+
})
|
1354
|
+
}, g.dispose = function() {
|
1355
|
+
t.removeData(this._element, n), t(this._scrollElement).off(i), this._element = null, this._scrollElement = null, this._config = null, this._selector = null, this._offsets = null, this._targets = null, this._activeTarget = null, this._scrollHeight = null
|
1356
|
+
}, g._getConfig = function(n) {
|
1357
|
+
if ("string" != typeof(n = r({}, a, n)).target) {
|
1358
|
+
var i = t(n.target).attr("id");
|
1359
|
+
i || (i = P.getUID(e), t(n.target).attr("id", i)), n.target = "#" + i
|
1360
|
+
}
|
1361
|
+
return P.typeCheckConfig(e, n, l), n
|
1362
|
+
}, g._getScrollTop = function() {
|
1363
|
+
return this._scrollElement === window ? this._scrollElement.pageYOffset : this._scrollElement.scrollTop
|
1364
|
+
}, g._getScrollHeight = function() {
|
1365
|
+
return this._scrollElement.scrollHeight || Math.max(document.body.scrollHeight, document.documentElement.scrollHeight)
|
1366
|
+
}, g._getOffsetHeight = function() {
|
1367
|
+
return this._scrollElement === window ? window.innerHeight : this._scrollElement.getBoundingClientRect().height
|
1368
|
+
}, g._process = function() {
|
1369
|
+
var t = this._getScrollTop() + this._config.offset,
|
1370
|
+
e = this._getScrollHeight(),
|
1371
|
+
n = this._config.offset + e - this._getOffsetHeight();
|
1372
|
+
if (this._scrollHeight !== e && this.refresh(), t >= n) {
|
1373
|
+
var i = this._targets[this._targets.length - 1];
|
1374
|
+
this._activeTarget !== i && this._activate(i)
|
1375
|
+
} else {
|
1376
|
+
if (this._activeTarget && t < this._offsets[0] && this._offsets[0] > 0) return this._activeTarget = null, void this._clear();
|
1377
|
+
for (var s = this._offsets.length; s--;) {
|
1378
|
+
this._activeTarget !== this._targets[s] && t >= this._offsets[s] && ("undefined" == typeof this._offsets[s + 1] || t < this._offsets[s + 1]) && this._activate(this._targets[s])
|
1379
|
+
}
|
1380
|
+
}
|
1381
|
+
}, g._activate = function(e) {
|
1382
|
+
this._activeTarget = e, this._clear();
|
1383
|
+
var n = this._selector.split(",");
|
1384
|
+
n = n.map(function(t) {
|
1385
|
+
return t + '[data-target="' + e + '"],' + t + '[href="' + e + '"]'
|
1386
|
+
});
|
1387
|
+
var i = t(n.join(","));
|
1388
|
+
i.hasClass(c) ? (i.closest(f.DROPDOWN).find(f.DROPDOWN_TOGGLE).addClass(u), i.addClass(u)) : (i.addClass(u), i.parents(f.NAV_LIST_GROUP).prev(f.NAV_LINKS + ", " + f.LIST_ITEMS).addClass(u), i.parents(f.NAV_LIST_GROUP).prev(f.NAV_ITEMS).children(f.NAV_LINKS).addClass(u)), t(this._scrollElement).trigger(h.ACTIVATE, {
|
1389
|
+
relatedTarget: e
|
1390
|
+
})
|
1391
|
+
}, g._clear = function() {
|
1392
|
+
t(this._selector).filter(f.ACTIVE).removeClass(u)
|
1393
|
+
}, o._jQueryInterface = function(e) {
|
1394
|
+
return this.each(function() {
|
1395
|
+
var i = t(this).data(n);
|
1396
|
+
if (i || (i = new o(this, "object" == typeof e && e), t(this).data(n, i)), "string" == typeof e) {
|
1397
|
+
if ("undefined" == typeof i[e]) throw new TypeError('No method named "' + e + '"');
|
1398
|
+
i[e]()
|
1399
|
+
}
|
1400
|
+
})
|
1401
|
+
}, s(o, null, [{
|
1402
|
+
key: "VERSION",
|
1403
|
+
get: function() {
|
1404
|
+
return "4.0.0"
|
1405
|
+
}
|
1406
|
+
}, {
|
1407
|
+
key: "Default",
|
1408
|
+
get: function() {
|
1409
|
+
return a
|
1410
|
+
}
|
1411
|
+
}]), o
|
1412
|
+
}();
|
1413
|
+
return t(window).on(h.LOAD_DATA_API, function() {
|
1414
|
+
for (var e = t.makeArray(t(f.DATA_SPY)), n = e.length; n--;) {
|
1415
|
+
var i = t(e[n]);
|
1416
|
+
g._jQueryInterface.call(i, i.data())
|
1417
|
+
}
|
1418
|
+
}), t.fn[e] = g._jQueryInterface, t.fn[e].Constructor = g, t.fn[e].noConflict = function() {
|
1419
|
+
return t.fn[e] = o, g._jQueryInterface
|
1420
|
+
}, g
|
1421
|
+
}(e),
|
1422
|
+
V = function(t) {
|
1423
|
+
var e = "bs.tab",
|
1424
|
+
n = "." + e,
|
1425
|
+
i = t.fn.tab,
|
1426
|
+
r = {
|
1427
|
+
HIDE: "hide" + n,
|
1428
|
+
HIDDEN: "hidden" + n,
|
1429
|
+
SHOW: "show" + n,
|
1430
|
+
SHOWN: "shown" + n,
|
1431
|
+
CLICK_DATA_API: "click.bs.tab.data-api"
|
1432
|
+
},
|
1433
|
+
o = "dropdown-menu",
|
1434
|
+
a = "active",
|
1435
|
+
l = "disabled",
|
1436
|
+
h = "fade",
|
1437
|
+
c = "show",
|
1438
|
+
u = ".dropdown",
|
1439
|
+
f = ".nav, .list-group",
|
1440
|
+
d = ".active",
|
1441
|
+
_ = "> li > .active",
|
1442
|
+
g = '[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',
|
1443
|
+
p = ".dropdown-toggle",
|
1444
|
+
m = "> .dropdown-menu .active",
|
1445
|
+
v = function() {
|
1446
|
+
function n(t) {
|
1447
|
+
this._element = t
|
1448
|
+
}
|
1449
|
+
var i = n.prototype;
|
1450
|
+
return i.show = function() {
|
1451
|
+
var e = this;
|
1452
|
+
if (!(this._element.parentNode && this._element.parentNode.nodeType === Node.ELEMENT_NODE && t(this._element).hasClass(a) || t(this._element).hasClass(l))) {
|
1453
|
+
var n, i, s = t(this._element).closest(f)[0],
|
1454
|
+
o = P.getSelectorFromElement(this._element);
|
1455
|
+
if (s) {
|
1456
|
+
var h = "UL" === s.nodeName ? _ : d;
|
1457
|
+
i = (i = t.makeArray(t(s).find(h)))[i.length - 1]
|
1458
|
+
}
|
1459
|
+
var c = t.Event(r.HIDE, {
|
1460
|
+
relatedTarget: this._element
|
1461
|
+
}),
|
1462
|
+
u = t.Event(r.SHOW, {
|
1463
|
+
relatedTarget: i
|
1464
|
+
});
|
1465
|
+
if (i && t(i).trigger(c), t(this._element).trigger(u), !u.isDefaultPrevented() && !c.isDefaultPrevented()) {
|
1466
|
+
o && (n = t(o)[0]), this._activate(this._element, s);
|
1467
|
+
var g = function() {
|
1468
|
+
var n = t.Event(r.HIDDEN, {
|
1469
|
+
relatedTarget: e._element
|
1470
|
+
}),
|
1471
|
+
s = t.Event(r.SHOWN, {
|
1472
|
+
relatedTarget: i
|
1473
|
+
});
|
1474
|
+
t(i).trigger(n), t(e._element).trigger(s)
|
1475
|
+
};
|
1476
|
+
n ? this._activate(n, n.parentNode, g) : g()
|
1477
|
+
}
|
1478
|
+
}
|
1479
|
+
}, i.dispose = function() {
|
1480
|
+
t.removeData(this._element, e), this._element = null
|
1481
|
+
}, i._activate = function(e, n, i) {
|
1482
|
+
var s = this,
|
1483
|
+
r = ("UL" === n.nodeName ? t(n).find(_) : t(n).children(d))[0],
|
1484
|
+
o = i && P.supportsTransitionEnd() && r && t(r).hasClass(h),
|
1485
|
+
a = function() {
|
1486
|
+
return s._transitionComplete(e, r, i)
|
1487
|
+
};
|
1488
|
+
r && o ? t(r).one(P.TRANSITION_END, a).emulateTransitionEnd(150) : a()
|
1489
|
+
}, i._transitionComplete = function(e, n, i) {
|
1490
|
+
if (n) {
|
1491
|
+
t(n).removeClass(c + " " + a);
|
1492
|
+
var s = t(n.parentNode).find(m)[0];
|
1493
|
+
s && t(s).removeClass(a), "tab" === n.getAttribute("role") && n.setAttribute("aria-selected", !1)
|
1494
|
+
}
|
1495
|
+
if (t(e).addClass(a), "tab" === e.getAttribute("role") && e.setAttribute("aria-selected", !0), P.reflow(e), t(e).addClass(c), e.parentNode && t(e.parentNode).hasClass(o)) {
|
1496
|
+
var r = t(e).closest(u)[0];
|
1497
|
+
r && t(r).find(p).addClass(a), e.setAttribute("aria-expanded", !0)
|
1498
|
+
}
|
1499
|
+
i && i()
|
1500
|
+
}, n._jQueryInterface = function(i) {
|
1501
|
+
return this.each(function() {
|
1502
|
+
var s = t(this),
|
1503
|
+
r = s.data(e);
|
1504
|
+
if (r || (r = new n(this), s.data(e, r)), "string" == typeof i) {
|
1505
|
+
if ("undefined" == typeof r[i]) throw new TypeError('No method named "' + i + '"');
|
1506
|
+
r[i]()
|
1507
|
+
}
|
1508
|
+
})
|
1509
|
+
}, s(n, null, [{
|
1510
|
+
key: "VERSION",
|
1511
|
+
get: function() {
|
1512
|
+
return "4.0.0"
|
1513
|
+
}
|
1514
|
+
}]), n
|
1515
|
+
}();
|
1516
|
+
return t(document).on(r.CLICK_DATA_API, g, function(e) {
|
1517
|
+
e.preventDefault(), v._jQueryInterface.call(t(this), "show")
|
1518
|
+
}), t.fn.tab = v._jQueryInterface, t.fn.tab.Constructor = v, t.fn.tab.noConflict = function() {
|
1519
|
+
return t.fn.tab = i, v._jQueryInterface
|
1520
|
+
}, v
|
1521
|
+
}(e);
|
1522
|
+
! function(t) {
|
1523
|
+
if ("undefined" == typeof t) throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");
|
1524
|
+
var e = t.fn.jquery.split(" ")[0].split(".");
|
1525
|
+
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")
|
1526
|
+
}(e), t.Util = P, t.Alert = L, t.Button = R, t.Carousel = j, t.Collapse = H, t.Dropdown = W, t.Modal = M, t.Popover = x, t.Scrollspy = K, t.Tab = V, t.Tooltip = U, Object.defineProperty(t, "__esModule", {
|
1527
|
+
value: !0
|
1528
|
+
})
|
1529
|
+
});
|
1530
|
+
//# sourceMappingURL=bootstrap.min.js.map
|