lenticular_cloud2/lenticular_cloud/static/main.js

3 lines
481 KiB
JavaScript
Raw Normal View History

2020-05-09 18:00:07 +00:00
/*! For license information please see main.js.LICENSE.txt */
2022-02-04 21:37:09 +00:00
(()=>{var e={3734:function(e,t,r){!function(e,t,r){"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=n(t),a=n(r);function o(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function s(e,t,r){return t&&o(e.prototype,t),r&&o(e,r),e}function l(){return l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},l.apply(this,arguments)}function u(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,c(e,t)}function c(e,t){return c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},c(e,t)}var f="transitionend",d=1e6,h=1e3;function p(e){return null==e?""+e:{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}function g(){return{bindType:f,delegateType:f,handle:function(e){if(i.default(e.target).is(this))return e.handleObj.handler.apply(this,arguments)}}}function y(e){var t=this,r=!1;return i.default(this).one(v.TRANSITION_END,(function(){r=!0})),setTimeout((function(){r||v.triggerTransitionEnd(t)}),e),this}function m(){i.default.fn.emulateTransitionEnd=y,i.default.event.special[v.TRANSITION_END]=g()}var v={TRANSITION_END:"bsTransitionEnd",getUID:function(e){do{e+=~~(Math.random()*d)}while(document.getElementById(e));return e},getSelectorFromElement:function(e){var t=e.getAttribute("data-target");if(!t||"#"===t){var r=e.getAttribute("href");t=r&&"#"!==r?r.trim():""}try{return document.querySelector(t)?t:null}catch(e){return null}},getTransitionDurationFromElement:function(e){if(!e)return 0;var t=i.default(e).css("transition-duration"),r=i.default(e).css("transition-delay"),n=parseFloat(t),a=parseFloat(r);return n||a?(t=t.split(",")[0],r=r.split(",")[0],(parseFloat(t)+parseFloat(r))*h):0},reflow:function(e){return e.offsetHeight},triggerTransitionEnd:function(e){i.default(e).trigger(f)},supportsTransitionEnd:function(){return Boolean(f)},isElement:function(e){return(e[0]||e).nodeType},typeCheckConfig:function(e,t,r){for(var n in r)if(Object.prototype.hasOwnProperty.call(r,n)){var i=r[n],a=t[n],o=a&&v.isElement(a)?"element":p(a);if(!new RegExp(i).test(o))throw new Error(e.toUpperCase()+': Option "'+n+'" provided type "'+o+'" but expected type "'+i+'".')}},findShadowRoot:function(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?v.findShadowRoot(e.parentNode):null},jQueryDetection:function(){if(void 0===i.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var e=i.default.fn.jquery.split(" ")[0].split("."),t=1,r=2,n=9,a=1,o=4;if(e[0]<r&&e[1]<n||e[0]===t&&e[1]===n&&e[2]<a||e[0]>=o)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};v.jQueryDetection(),m();var C="alert",E="4.6.1",b="bs.alert",T="."+b,S=".data-api",_=i.default.fn[C],A="alert",I="fade",w="show",B="close"+T,N="closed"+T,k="click"+T+S,L='[data-dismiss="alert"]',D=function(){function e(e){this._element=e}var t=e.prototype;return t.close=function(e){var t=this._element;e&&(t=this._getRootElement(e)),this._triggerCloseEvent(t).isDefaultPrevented()||this._removeElement(t)},t.dispose=function(){i.default.removeData(this._element,b),this._element=null},t._getRootElement=function(e){var t=v.getSelectorFromElement(e),r=!1;return t&&(r=document.querySelector(t)),r||(r=i.default(e).closest("."+A)[0]),r},t._triggerCloseEvent=function(e){var t=i.default.Event(B);return i.default(e).trigger(t),t},t._removeElement=function(e){var t=this;if(i.default(e).removeClass(w),i.default(e).hasClass(I)){var r=v.getTransitionDurationFromElement(e);i.default(e).one(v.TRANSITION_END,(function(r){return t._destroyElement(e,r)})).emulateTransitionEnd(r)}else this._destroyElement(e)},t._destroyElement=function(e){i.default(e).detach().trigger(N).remove()},e._
2020-05-09 18:00:07 +00:00
//# sourceMappingURL=main.js.map