Members-Manager/media/uikit-v3/js/uikit.min.js

3 lines
112 KiB
JavaScript
Raw Normal View History

2018-07-11 00:35:10 +00:00
/*! UIkit 3.0.0-beta.34 | http://www.getuikit.com | (c) 2014 - 2017 YOOtheme | MIT License */
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define("uikit",e):t.UIkit=e()}(this,function(){"use strict";function t(t){this.state=je,this.value=void 0,this.deferred=[];var e=this;try{t(function(t){e.resolve(t)},function(t){e.reject(t)})}catch(t){e.reject(t)}}function e(t,e){return function(i){var n=arguments.length;return n?n>1?t.apply(e,arguments):t.call(e,i):t.call(e)}}function i(t,e){return qe.call(t,e)}function n(t){return t.replace(Xe,function(t,e){return e?e.toUpperCase():""})}function o(t){return t.replace(Je,"$1-$2").toLowerCase()}function s(t){return t.replace(Ge,r)}function r(t,e){return e?e.toUpperCase():""}function a(t){return t.length?r(null,t.charAt(0))+t.slice(1):""}function l(t,e){return Ke.call(t,e)}function h(t,e){return Qe.call(t,e)}function c(t,e){return t&&(v(t)?ei:ii).call(t,e)}function u(t){return"function"==typeof t}function f(t){return null!==t&&"object"==typeof t}function d(t){return f(t)&&Object.getPrototypeOf(t)===Object.prototype}function p(t){return f(t)&&t===t.window}function m(t){return f(t)&&9===t.nodeType}function g(t){return"boolean"==typeof t}function v(t){return"string"==typeof t}function w(t){return"number"==typeof t}function y(t){return w(t)||v(t)&&!isNaN(t-parseFloat(t))}function b(t){return void 0===t}function x(t){return g(t)?t:"true"===t||"1"===t||""===t||"false"!==t&&"0"!==t&&t}function k(t){var e=Number(t);return!isNaN(e)&&e}function _(t){return parseFloat(t)||0}function T(t){return ni(t)?t:v(t)?t.split(",").map(function(t){return y(t)?k(t):x(t.trim())}):[t]}function E(t){if(v(t))if("@"===t[0]){var e="media-"+t.substr(1);t=oi[e]||(oi[e]=_(Nt(e)))}else if(isNaN(t))return t;return!(!t||isNaN(t))&&"(min-width: "+t+"px)"}function C(t,e,i){return t===Boolean?x(e):t===Number?k(e):"query"===t?L(e,i):"list"===t?T(e):"media"===t?E(e):t?t(e):e}function A(t){return t?h(t,"ms")?_(t):1e3*_(t):0}function S(t,e,i){return t.replace(new RegExp(e+"|"+i,"mg"),function(t){return t===e?i:e})}function I(t,e){for(var i in t)if(!1===e.call(t[i],t[i],i))break}function N(t,e,i){return void 0===e&&(e=0),void 0===i&&(i=1),Math.min(Math.max(t,e),i)}function D(){}function O(t,e){return t.left<=e.right&&e.left<=t.right&&t.top<=e.bottom&&e.top<=t.bottom}function B(t,e){return O({top:t.y,bottom:t.y,left:t.x,right:t.x},e)}function P(t,e){return new Ue(function(i,n){var o=si({data:null,method:"GET",headers:{},xhr:new XMLHttpRequest,beforeSend:D,responseType:""},e),s=o.xhr;o.beforeSend(o);for(var r in o)if(r in s)try{s[r]=o[r]}catch(t){}s.open(o.method.toUpperCase(),t);for(var a in o.headers)s.setRequestHeader(a,o.headers[a]);Rt(s,"load",function(){0===s.status||s.status>=200&&s.status<300||304===s.status?i(s):n(si(Error(s.statusText),{xhr:s,status:s.status}))}),Rt(s,"error",function(){return n(si(Error("Network Error"),{xhr:s}))}),Rt(s,"timeout",function(){return n(si(Error("Network Timeout"),{xhr:s}))}),s.send(o.data)})}function M(t,e){return v(t)?z(t)?Q(Et(t)):W(t,e):Q(t)}function H(t,e){return v(t)?z(t)?tt(Et(t)):F(t,e):tt(t)}function z(t){return"<"===t[0]||t.match(/^\s*</)}function L(t,e){return M(t,q(t)?e:di)}function j(t,e){return H(t,q(t)?e:di)}function W(t,e){return Q(R(t,e,"querySelector"))}function F(t,e){return tt(R(t,e,"querySelectorAll"))}function R(t,e,i){if(void 0===e&&(e=di),!t||!v(t))return null;var n;q(t=t.replace(li,"$1 *"))&&(n=[],t=t.split(",").map(function(t,i){var o=e;if("!"===(t=t.trim())[0]){var s=t.substr(1).trim().split(" ");o=X(e.parentNode,s[0]),t=s.slice(1).join(" ")}return o?(o.id||(o.id="uk-"+Date.now()+i,n.push(function(){return nt(o,"id")})),"#"+o.id+" "+t):null}).filter(Boolean).join(","),e=di);try{return e[i](t)}catch(t){return null}finally{n&&n.forEach(function(t){return t()})}}function Y(t,e){return H(t).filter(function(t){return U(t,e)})}function V(t,e){return v(e)?U(t,e)||X(t,e):t===e||Q(e).contains(Q(t))}function q(t){return v(t)&&t.match(ai)}function U(t,e){return tt(t).some(function(t){return ci.call(t,e)})}function X(t,e){return l(e,">")&&(e=e.slice(1)),Z(t)?t.parentNode&&ui.call(t,e):tt(