mdb-ui-kit/js/mdb.min.js

45 lines
200 KiB
JavaScript
Raw Normal View History

2020-12-17 11:06:16 +03:00
/*!
* MDB5
2020-12-30 17:38:50 +03:00
* Version: FREE 2.2.1
2020-12-17 11:06:16 +03:00
*
*
* Copyright: Material Design for Bootstrap
* https://mdbootstrap.com/
*
* Read the license: https://mdbootstrap.com/general/license/
*
*
* Documentation: https://mdbootstrap.com/docs/standard/
*
* Support: https://mdbootstrap.com/support/
*
* Contact: office@mdbootstrap.com
*
*/
2020-12-30 17:38:50 +03:00
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("mdb",[],e):"object"==typeof exports?exports.mdb=e():t.mdb=e()}(this,function(){return r={},o.m=n=[function(t,e,n){"use strict";var r=n(3),n=n(97);r({target:"Array",proto:!0,forced:[].forEach!=n},{forEach:n})},function(t,e,n){var r,o=n(7),i=n(98),a=n(97),c=n(17);for(r in i){var s=o[r],u=s&&s.prototype;if(u&&u.forEach!==a)try{c(u,"forEach",a)}catch(t){u.forEach=a}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var u=n(7),l=n(31).f,f=n(17),p=n(24),h=n(60),d=n(86),g=n(66);t.exports=function(t,e){var n,r,o,i=t.target,a=t.global,c=t.stat,s=a?u:c?u[i]||h(i,{}):(u[i]||{}).prototype;if(s)for(n in e){if(r=e[n],o=t.noTargetGet?(o=l(s,n))&&o.value:s[n],!g(a?n:i+(c?".":"#")+n,t.forced)&&void 0!==o){if(typeof r==typeof o)continue;d(r,o)}(t.sham||o&&o.sham)&&f(r,"sham",!0),p(s,n,r,t)}}},function(t,e,n){var r=n(7),o=n(62),i=n(13),a=n(63),c=n(67),n=n(94),s=o("wks"),u=r.Symbol,l=n?u:u&&u.withoutSetter||a;t.exports=function(t){return i(s,t)||(c&&i(u,t)?s[t]=u[t]:s[t]=l("Symbol."+t)),s[t]}},function(t,e,n){"use strict";var r=n(3),o=n(42).find,i=n(96),a=n(34),n="find",c=!0,a=a(n);n in[]&&Array(1)[n](function(){c=!1}),r({target:"Array",proto:!0,forced:c||!a},{find:function(t,e){return o(this,t,1<arguments.length?e:void 0)}}),i(n)},function(t,e,n){"use strict";var r=n(24),o=n(10),i=n(2),a=n(72),c="toString",s=RegExp.prototype,u=s[c],n=i(function(){return"/a/b"!=u.call({source:"a",flags:"b"})}),i=u.name!=c;(n||i)&&r(RegExp.prototype,c,function(){var t=o(this),e=String(t.source),n=t.flags;return"/"+e+"/"+String(void 0===n&&t instanceof RegExp&&!("flags"in s)?a.call(t):n)},{unsafe:!0})},function(n,t,e){(function(t){function e(t){return t&&t.Math==Math&&t}n.exports=e("object"==typeof globalThis&&globalThis)||e("object"==typeof window&&window)||e("object"==typeof self&&self)||e("object"==typeof t&&t)||function(){return this}()||Function("return this")()}).call(this,e(82))},function(t,e,n){var r=n(70),o=n(24),n=n(119);r||o(Object.prototype,"toString",n,{unsafe:!0})},function(t,e,n){"use strict";var r=n(3),n=n(56);r({target:"RegExp",proto:!0,forced:/./.exec!==n},{exec:n})},function(t,e,n){var r=n(12);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},function(t,e,n){n=n(2);t.exports=!n(function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})},function(t,e){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},function(t,e,n){var r=n(11),o=n(83),i=n(10),a=n(39),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(i(t),e=a(e,!0),i(n),o)try{return c(t,e,n)}catch(t){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},function(t,e,n){"use strict";var r=n(3),o=n(2),s=n(52),u=n(12),l=n(20),f=n(25),p=n(55),h=n(93),i=n(53),a=n(4),n=n(95),d=a("isConcatSpreadable"),g=9007199254740991,m="Maximum allowed index exceeded",o=51<=n||!o(function(){var t=[];return t[d]=!1,t.concat()[0]!==t}),i=i("concat");r({target:"Array",proto:!0,forced:!o||!i},{concat:function(){for(var t,e,n,r=l(this),o=h(r,0),i=0,a=-1,c=arguments.length;a<c;a++)if(function(t){if(!u(t))return!1;var e=t[d];return void 0!==e?!!e:s(t)}(n=-1===a?r:arguments[a])){if(e=f(n.length),g<i+e)throw TypeError(m);for(t=0;t<e;t++,i++)t in n&&p(o,i,n[t])}else{if(g<=i)throw TypeError(m);p(o,i++,n)}return o.length=i,o}})},function(t,e,n){var r=n(46),o=n(26);t.exports=function(t){return r(o(t))}},function(t,e,n){var r=n(11),o=n(14),i=n(38);t.exports=r?function(t,e,n){return o.f(t,e,i(1,n))}:function(t,e,n){return t[e]=n,t}},function(t,e,n){var r=n(3),o=n(20),i=n(54);r({target:"Object",stat:!0,forced:n(2)(function(){i(1)})},{keys:function(t){return i(o(t))}})},function(t,e,n){"use strict";var r=n(3),o=n(42).filter,i=n(53),n=n(34),i=i("filter"),n=n("filter");r({target:"Array",proto:!0,forced:!i||!n},{filter:function(t,e){return o
2020-12-30 17:22:44 +03:00
/**!
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.16.1
* @license
* Copyright (c) 2016 Federico Zivolo and contributors
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
2020-12-30 17:38:50 +03:00
var n="undefined"!=typeof window&&"undefined"!=typeof document&&"undefined"!=typeof navigator,r=function(){for(var t=["Edge","Trident","Firefox"],e=0;e<t.length;e+=1)if(n&&0<=navigator.userAgent.indexOf(t[e]))return 1;return 0}();var o=n&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},r))}};function i(t){return t&&"[object Function]"==={}.toString.call(t)}function f(t,e){if(1!==t.nodeType)return[];t=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?t[e]:t}function u(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function l(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=f(t),n=e.overflow,r=e.overflowX,e=e.overflowY;return/(auto|scroll|overlay)/.test(n+e+r)?t:l(u(t))}function p(t){return t&&t.referenceNode?t.referenceNode:t}var e=n&&!(!window.MSInputMethodContext||!document.documentMode),a=n&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?e:10!==t&&e||a}function m(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===f(n,"position")?m(n):n:(t?t.ownerDocument:document).documentElement}function c(t){return null!==t.parentNode?c(t.parentNode):t}function d(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,o=n?e:t,n=document.createRange();n.setStart(r,0),n.setEnd(o,0);n=n.commonAncestorContainer;if(t!==n&&e!==n||r.contains(o))return"BODY"===(o=(r=n).nodeName)||"HTML"!==o&&m(r.firstElementChild)!==r?m(n):n;n=c(t);return n.host?d(n.host,e):d(t,c(e).host)}function g(t,e){var n="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",e=t.nodeName;if("BODY"!==e&&"HTML"!==e)return t[n];e=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||e)[n]}function s(t,e){var n="x"===e?"Left":"Top",e="Left"==n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+e+"Width"])}function v(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function y(t){var e=t.body,n=t.documentElement,t=h(10)&&getComputedStyle(n);return{height:v("Height",e,n,t),width:v("Width",e,n,t)}}var b=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},_=function(t,e,n){return e&&w(t.prototype,e),n&&w(t,n),t};function w(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}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}var E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n,r=arguments[e];for(n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};function S(t){return E({},t,{right:t.left+t.width,bottom:t.top+t.height})}function k(t){var e,n,r={};try{h(10)?(r=t.getBoundingClientRect(),e=g(t,"top"),n=g(t,"left"),r.top+=e,r.left+=n,r.bottom+=e,r.right+=n):r=t.getBoundingClientRect()}catch(t){}var o={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},i="HTML"===t.nodeName?y(t.ownerDocument):{},a=i.width||t.clientWidth||o.width,c=i.height||t.clientHeight||o.height,i=t.offsetWidth-a,a=t.offsetHeight-c;return(i||a)&&(i-=s(c=f(t),"x"),a-=s(c,"y"),o.width-=i,o.height-=a),S(o)}function j(t,e,n){var r=2<arguments.length&&void 0!==n&&n,o=h(10),i="HTML"===e.nodeName,a=k(t),c=k(e),s=l(t),u=f(e),n=parseFloat(u.borderTopWidth),t=parseFloat(u.borderLeftWidth);r&&i&&(c.top=Math.max(c.top,0),c.left=Math.max(c
2020-12-17 11:06:16 +03:00
//# sourceMappingURL=mdb.min.js.map