0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-04 16:24:22 +01:00
Bootstrap/dist/js/bootstrap.min.js

7 lines
64 KiB
JavaScript
Raw Normal View History

/*!
2019-02-13 17:01:40 +01:00
* Bootstrap v4.3.1 (https://getbootstrap.com/)
2019-01-04 17:29:45 +01:00
* Copyright 2011-2019 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
2017-09-06 06:05:12 +02:00
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
2019-03-01 17:31:34 +01:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("popper.js")):"function"==typeof define&&define.amd?define(["exports","popper.js"],e):e((t=t||self).bootstrap={},t.Popper)}(this,function(t,e){"use strict";function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{},i=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),i.forEach(function(e){o(t,e,n[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e;var r,a,l,c,u,h,f,d,g="transitionend",_=window.jQuery,p=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},m=function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},v=function(t){if(!t)return 0;var e=window.getComputedStyle(t),n=e.transitionDuration,i=e.transitionDelay,o=parseFloat(n),s=parseFloat(i);return o||s?(n=n.split(",")[0],i=i.split(",")[0],1e3*(parseFloat(n)+parseFloat(i))):0},E=function(t){t.dispatchEvent(new Event(g))},y=function(t){return(t[0]||t).nodeType},b=function(t,e){var n=!1,i=e+5;t.addEventListener(g,function e(){n=!0,t.removeEventListener(g,e)}),setTimeout(function(){n||E(t)},i)},D=function(t,e,n){Object.keys(n).forEach(function(i){var o,s=n[i],r=e[i],a=r&&y(r)?"element":(o=r,{}.toString.call(o).match(/\s([a-z]+)/i)[1].toLowerCase());if(!new RegExp(s).test(a))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+a+'" but expected type "'+s+'".')})},T=function(t){return t?[].slice.call(t):[]},I=function(t){return!!t&&(!!(t.style&&t.parentNode&&t.parentNode.style)&&("none"!==t.style.display&&"none"!==t.parentNode.style.display&&"hidden"!==t.style.visibility))},A=function(){return function(){}},S=function(t){return t.offsetHeight},w=(r={},a=1,{set:function(t,e,n){void 0===t.key&&(t.key={key:e,id:a},a++),r[t.key.id]=n},get:function(t,e){if(!t||void 0===t.key)return null;var n=t.key;return n.key===e?r[n.id]:null},delete:function(t,e){if(void 0!==t.key){var n=t.key;n.key===e&&(delete r[n.id],delete t.key)}}}),L={setData:function(t,e,n){w.set(t,e,n)},getData:function(t,e){return w.get(t,e)},removeData:function(t,e){w.delete(t,e)}},O=(l=new CustomEvent("Bootstrap",{cancelable:!0}),(c=document.createElement("div")).addEventListener("Bootstrap",function(){return null}),l.preventDefault(),c.dispatchEvent(l),u=l.defaultPrevented,h=Element.prototype.querySelectorAll,f=Element.prototype.querySelector,d=/:scope\b/,function(){var t=document.createElement("div");try{t.querySelectorAll(":scope *")}catch(t){return!1}return!0}()||(h=function(t){if(!d.test(t))return this.querySelectorAll(t);var e=Boolean(this.id);e||(this.id=p("scope"));var n=null;try{t=t.replace(d,"#"+this.id),n=this.querySelectorAll(t)}finally{e||this.removeAttribute("id")}return n},f=function(t){if(!d.test(t))return this.querySelector(t);var e=h.call(this,t);return void 0!==e[0]?e[0]:null}),{defaultPreventedPreservedOnDispatch:u,find:h,findOne:f}),C=/[^.]*(?=\..*)\.|.*/,N=/\..*/,k=/^key/,P=/::\d+$/,H={},j=1,M={mouseenter:"mouseover",mouseleave:"mouseout"},R=["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoade
2017-10-19 09:17:08 +02:00
//# sourceMappingURL=bootstrap.min.js.map