astro-mail/public/assets/js/bootstrap.bundle.js

25 lines
81 KiB
JavaScript
Raw Normal View History

2024-11-14 10:24:23 +00:00
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery")):"function"==typeof define&&define.amd?define(["exports","jquery"],e):e((t=t||self).bootstrap={},t.jQuery)}(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 r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(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){r(t,e,n[e])})}return t}e=e&&e.hasOwnProperty("default")?e.default:e;var s="transitionend";function a(t){return({}).toString.call(t).match(/\s([a-z]+)/i)[1].toLowerCase()}var l={TRANSITION_END:"bsTransitionEnd",getUID:function t(e){do e+=~~(1e6*Math.random());while(document.getElementById(e));return e},getSelectorFromElement:function t(e){var n=e.getAttribute("data-target");if(!n||"#"===n){var i=e.getAttribute("href");n=i&&"#"!==i?i.trim():""}try{return document.querySelector(n)?n:null}catch(r){return null}},getTransitionDurationFromElement:function t(n){if(!n)return 0;var i=e(n).css("transition-duration"),r=e(n).css("transition-delay"),o=parseFloat(i),s=parseFloat(r);return o||s?(i=i.split(",")[0],r=r.split(",")[0],(parseFloat(i)+parseFloat(r))*1e3):0},reflow:function t(e){return e.offsetHeight},triggerTransitionEnd:function t(n){e(n).trigger(s)},supportsTransitionEnd:function t(){return Boolean(s)},isElement:function t(e){return(e[0]||e).nodeType},typeCheckConfig:function t(e,n,i){for(var r in i)if(Object.prototype.hasOwnProperty.call(i,r)){var o=i[r],s=n[r],c=s&&l.isElement(s)?"element":a(s);if(!RegExp(o).test(c))throw Error(e.toUpperCase()+": "+('Option "'+r+'" provided type "')+c+'" but expected type "'+o+'".')}},findShadowRoot:function t(e){if(!document.documentElement.attachShadow)return null;if("function"==typeof e.getRootNode){var n=e.getRootNode();return n instanceof ShadowRoot?n:null}return e instanceof ShadowRoot?e:e.parentNode?l.findShadowRoot(e.parentNode):null}};e.fn.emulateTransitionEnd=function t(n){var i=this,r=!1;return e(this).one(l.TRANSITION_END,function(){r=!0}),setTimeout(function(){r||l.triggerTransitionEnd(i)},n),this},e.event.special[l.TRANSITION_END]={bindType:s,delegateType:s,handle:function t(n){if(e(n.target).is(this))return n.handleObj.handler.apply(this,arguments)}};var c="alert",h="bs.alert",f="."+h,u=e.fn[c],d={CLOSE:"close"+f,CLOSED:"closed"+f,CLICK_DATA_API:"click"+f+".data-api"},p={ALERT:"alert",FADE:"fade",SHOW:"show"},g=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function t(e){var n=this._element;e&&(n=this._getRootElement(e)),!this._triggerCloseEvent(n).isDefaultPrevented()&&this._removeElement(n)},n.dispose=function t(){e.removeData(this._element,h),this._element=null},n._getRootElement=function t(n){var i=l.getSelectorFromElement(n),r=!1;return i&&(r=document.querySelector(i)),r||(r=e(n).closest("."+p.ALERT)[0]),r},n._triggerCloseEvent=function t(n){var i=e.Event(d.CLOSE);return e(n).trigger(i),i},n._removeElement=function t(n){var i=this;if(e(n).removeClass(p.SHOW),!e(n).hasClass(p.FADE)){this._destroyElement(n);return}var r=l.getTransitionDurationFromElement(n);e(n).one(l.TRANSITION_END,function(t){return i._destroyElement(n,t)}).emulateTransitionEnd(r)},n._destroyElement=function t(n){e(n).detach().trigger(d.CLOSED).remove()},t._jQueryInterface=function n(i){return this.each(function(){var n=e(this),r=n.data(h);r||(r=new t(this),n.data(h,r)),"close"===i&&r[i](this)})},t._handleDismiss=function t(e){return function(t){t&&t.preventDefault(),e.close(this)}},i(t,null,[{key:"VERSION",get:function t(){return"4.3.1"}}]),t}();e(document).on(d.CLICK_DATA_API,'[data-dismiss="alert"]',g._handle
* @fileOverview Kickass library to create and place poppers near their reference elements.
* @version 1.14.7
* @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.
*/ var Z=Y&&window.Promise?function t(e){var n=!1;return function(){!n&&(n=!0,window.Promise.resolve().then(function(){n=!1,e()}))}}:function t(e){var n=!1;return function(){n||(n=!0,setTimeout(function(){n=!1,e()},z))}};function tt(t){return t&&"[object Function]"===({}).toString.call(t)}function te(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function tn(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function ti(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=te(t),n=e.overflow,i=e.overflowX,r=e.overflowY;return/(auto|scroll|overlay)/.test(n+r+i)?t:ti(tn(t))}var tr=Y&&!!(window.MSInputMethodContext&&document.documentMode),to=Y&&/MSIE 10/.test(navigator.userAgent);function ts(t){return 11===t?tr:10===t?to:tr||to}function ta(t){if(!t)return document.documentElement;for(var e=ts(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===te(n,"position")?ta(n):n:t?t.ownerDocument.documentElement:document.documentElement}function tl(t){return null!==t.parentNode?tl(t.parentNode):t}function tc(t,e){if(!t||!t.nodeType||!e||!e.nodeType)return document.documentElement;var n,i,r=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,o=r?t:e,s=r?e:t,a=document.createRange();a.setStart(o,0),a.setEnd(s,0);var l=a.commonAncestorContainer;if(t!==l&&e!==l||o.contains(s))return"BODY"!==(i=(n=l).nodeName)&&("HTML"===i||ta(n.firstElementChild)===n)?l:ta(l);var c=tl(t);return c.host?tc(c.host,e):tc(t,tl(e).host)}function th(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var r=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||r)[n]}return t[n]}function tf(t,e){var n="x"===e?"Left":"Top";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+("Left"===n?"Right":"Bottom")+"Width"],10)}function tu(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],ts(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function td(t){var e=t.body,n=t.documentElement,i=ts(10)&&getComputedStyle(n);return{height:tu("Height",e,n,i),width:tu("Width",e,n,i)}}var tp=function(t,e){if(!(t instanceof e))throw TypeError("Cannot call a class as a function")},tg=function(){function t(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)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),tm=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},t8=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t};function tv(t){return t8({},t,{right:t.left+t.width,bottom:t.top+t.height})}function tE(t){var e={};try{if(ts(10)){e=t.getBoundingClientRect();var n=th(t,"top"),i=th(t,"left");e.top+=n,e.left+=i,e.bottom+=n,e.right+=i}else e=t.getBoundingClientRect()}catch(r){}var o={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?td(t.ownerDocument):{},a=s.width||t.clientWidth||o.right-o.left,l=s.height||t.clientHeight||o.bottom-o.top,c=t.offsetWidth-a,h=t.offsetHeight-l;if(c||h){var f=te(t);c-=tf(f,"x"),h-=tf(f,"y"),o.width-=c,o.height-=h}return tv(o)}function tT(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=ts(10),r="HTML"===e.nodeName,o=tE(t),s=tE(e),a=ti(t),l=te(e),c=parseFloat(l.borderTopWidth,10),h=parseFloat(l.borderLeftWidth,10);n&&r&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var f=tv({top:o.top-s.top-c,left:o.left-s.left-h,width:o.width,height:o.heig