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

45 lines
168 KiB
JavaScript
Raw Permalink Normal View History

2020-12-17 11:06:16 +03:00
/*!
* MDB5
2020-12-30 17:27:37 +03:00
* Version: FREE 1.0.0-alpha2
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:27:37 +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={},i.m=n=[function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,n){var l=n(8),f=n(38).f,h=n(26),p=n(32),d=n(66),g=n(88),m=n(71);t.exports=function(t,e){var n,r,i,o,a=t.target,c=t.global,s=t.stat,u=c?l:s?l[a]||d(a,{}):(l[a]||{}).prototype;if(u)for(n in e){if(i=e[n],r=t.noTargetGet?(o=f(u,n))&&o.value:u[n],!m(c?n:a+(s?".":"#")+n,t.forced)&&void 0!==r){if(typeof i==typeof r)continue;g(i,r)}(t.sham||r&&r.sham)&&h(i,"sham",!0),p(u,n,i,t)}}},function(t,e,n){var r=n(8),i=n(67),o=n(15),a=n(68),c=n(72),s=n(95),u=i("wks"),l=r.Symbol,f=s?l:l&&l.withoutSetter||a;t.exports=function(t){return o(u,t)||(c&&o(l,t)?u[t]=l[t]:u[t]=f("Symbol."+t)),u[t]}},function(t,e,n){"use strict";var r=n(1),i=n(97);r({target:"Array",proto:!0,forced:[].forEach!=i},{forEach:i})},function(t,e,n){var r=n(8),i=n(106),o=n(97),a=n(26);for(var c in i){var s=r[c],u=s&&s.prototype;if(u&&u.forEach!==o)try{a(u,"forEach",o)}catch(t){u.forEach=o}}},function(t,e,n){var r=n(1),i=n(28),o=n(62);r({target:"Object",stat:!0,forced:n(0)(function(){o(1)})},{keys:function(t){return o(i(t))}})},function(t,e,n){var r=n(74),i=n(32),o=n(116);r||i(Object.prototype,"toString",o,{unsafe:!0})},function(t,e,n){"use strict";function i(t,e){var n=nt[t]=E(X[q]);return $(n,{type:V,tag:t,description:e}),f||(n.description=e),n}function r(e,t){y(e);var n=_(t),r=k(n).concat(pt(n));return W(r,function(t){f&&!ht.call(n,t)||ft(e,t,n[t])}),e}function o(t,e){var n=_(t),r=w(e,!0);if(n!==G||!g(nt,r)||g(rt,r)){var i=J(n,r);return!i||!g(nt,r)||g(n,Q)&&n[Q][r]||(i.enumerable=!0),i}}function a(t){var e=tt(_(t)),n=[];return W(e,function(t){g(nt,t)||g(N,t)||n.push(t)}),n}var c=n(1),s=n(8),u=n(40),l=n(56),f=n(11),h=n(72),p=n(95),d=n(0),g=n(15),m=n(58),v=n(14),y=n(16),b=n(28),_=n(25),w=n(46),O=n(45),E=n(51),k=n(62),S=n(48),j=n(123),x=n(70),A=n(38),D=n(21),C=n(65),T=n(26),P=n(32),L=n(67),I=n(55),N=n(57),R=n(68),M=n(2),H=n(107),F=n(108),B=n(80),U=n(47),W=n(50).forEach,Q=I("hidden"),V="Symbol",q="prototype",Y=M("toPrimitive"),$=U.set,z=U.getterFor(V),G=Object[q],X=s.Symbol,K=u("JSON","stringify"),J=A.f,Z=D.f,tt=j.f,et=C.f,nt=L("symbols"),rt=L("op-symbols"),it=L("string-to-symbol-registry"),ot=L("symbol-to-string-registry"),at=L("wks"),ct=s.QObject,st=!ct||!ct[q]||!ct[q].findChild,ut=f&&d(function(){return 7!=E(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a})?function(t,e,n){var r=J(G,e);r&&delete G[e],Z(t,e,n),r&&t!==G&&Z(G,e,r)}:Z,lt=p?function(t){return"symbol"==typeof t}:function(t){return Object(t)instanceof X},ft=function(t,e,n){t===G&&ft(rt,e,n),y(t);var r=w(e,!0);return y(n),g(nt,r)?(n.enumerable?(g(t,Q)&&t[Q][r]&&(t[Q][r]=!1),n=E(n,{enumerable:O(0,!1)})):(g(t,Q)||Z(t,Q,O(1,{})),t[Q][r]=!0),ut(t,r,n)):Z(t,r,n)},ht=function(t){var e=w(t,!0),n=et.call(this,e);return!(this===G&&g(nt,e)&&!g(rt,e))&&(!(n||!g(this,e)||!g(nt,e)||g(this,Q)&&this[Q][e])||n)},pt=function(t){var e=t===G,n=tt(e?rt:_(t)),r=[];return W(n,function(t){!g(nt,t)||e&&!g(G,t)||r.push(nt[t])}),r};h||(P((X=function(t){if(this instanceof X)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==t?String(t):void 0,n=R(e),r=function(t){this===G&&r.call(rt,t),g(this,Q)&&g(this[Q],n)&&(this[Q][n]=!1),ut(this,n,O(1,t))};return f&&st&&ut(G,n,{configurable:!0,set:r}),i(n,e)})[q],"toString",function(){return z(this).tag}),P(X,"withoutSetter",function(t){return i(R(t),t)}),C.f=ht,D.f=ft,A.f=o,S.f=j.f=a,x.f=pt,H.f=function(t){return i(M(t),t)},f&&(Z(X[q],"description",{configurable:!0,get:function(){return z(this).description}}),l||P(G,"propertyIsEnumerable",ht,{unsafe:!0}))),c({global:!0,wrap:!0,forced:!h,sham:!h},{Symbol:X}),W(k(at),function(t){F(t)}),c({target:V,stat:!0,forced:!h},{for:function(t){var e=String(t);if(g(it,e))return it[e];var n=X(e);return it[e]=n,ot[n]=e,n},keyFor:function(t){if(!lt(t))throw TypeError(t+" is not a symbol");if(g(ot,t))return ot[t]},use
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:27:37 +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 a(t){return t&&"[object Function]"==={}.toString.call(t)}function _(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function d(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function g(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=_(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:g(d(t))}function m(t){return t&&t.referenceNode?t.referenceNode:t}var e=n&&!(!window.MSInputMethodContext||!document.documentMode),i=n&&/MSIE 10/.test(navigator.userAgent);function v(t){return 11===t?e:10!==t&&e||i}function b(t){if(!t)return document.documentElement;for(var e=v(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"===_(n,"position")?b(n):n:t?t.ownerDocument.documentElement:document.documentElement}function l(t){return null!==t.parentNode?l(t.parentNode):t}function y(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,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,c,s=o.commonAncestorContainer;if(t!==s&&e!==s||r.contains(i))return"BODY"===(c=(a=s).nodeName)||"HTML"!==c&&b(a.firstElementChild)!==a?b(s):s;var u=l(t);return u.host?y(u.host,e):y(t,l(e).host)}function w(t,e){var n="top"===(1<arguments.length&&void 0!==e?e:"top")?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"!==r&&"HTML"!==r)return t[n];var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[n]}function f(t,e){var n="x"===e?"Left":"Top",r="Left"==n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+r+"Width"])}function c(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],v(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function O(t){var e=t.body,n=t.documentElement,r=v(10)&&getComputedStyle(n);return{height:c("Height",e,n,r),width:c("Width",e,n,r)}}var s=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},u=function(t,e,n){return e&&h(t.prototype,e),n&&h(t,n),t};function h(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 E(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function S(t){return k({},t,{right:t.left+t.width,bottom:t.top+t.height})}function j(t){var e,n,r={};try{v(10)?(r=t.getBoundingClientRect(),e=w(t,"top"),n=w(t,"left"),r.top+=e,r.left+=n,r.bottom+=e,r.right+=n):r=t.getBoundingClientRect()}catch(t){}var i,o={left:r.left,top:r.top,width:r.right-r.left,height:r.bottom-r.top},a="HTML"===t.nodeName?O(t.ownerDocument):{},c=a.width||t.clientWidth||o.width,s=a.height||t.clientHeight||o.height,u=t.offsetWidth-c,l=t.offsetHeight-s;return(u||l)&&(u-=f(i=_(t),"x"),l-=f(i,"y"),o.width-=u,o.height-=l),S(o)}function x(t,e,n){var r=2<arguments.length&&void 0!==n&&n,i=v(10),o="HTML"===e.nodeName,a=j(t),c=j(e),s=g(t),u=_(e),l=parseFloat(u.borderTopWidth),f=parseFloat(u.borderLeftWidth);r&&o&&(c.t
2020-12-17 11:06:16 +03:00
//# sourceMappingURL=mdb.min.js.map