Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@appartmint/mint

Package Overview
Dependencies
Maintainers
2
Versions
137
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@appartmint/mint - npm Package Compare versions

Comparing version 0.12.26 to 0.12.28

src/ts/imports/components/header.ts

10

dist/js/index.js

@@ -319,2 +319,3 @@ (function webpackUniversalModuleDefinition(root, factory) {

}
break;
case 'arrowleft':

@@ -804,8 +805,9 @@ this.closeClosestMenu();

}
let isSimilar = true;
keys.forEach(key => {
if (obj1[key] !== obj2[key]) {
return false;
isSimilar = false;
}
});
return true;
return isSimilar;
}

@@ -1036,5 +1038,5 @@ /**

if (el) {
focusables = [...el.querySelectorAll(this.focusable)];
focusables = Array.from(el.querySelectorAll(this.focusable));
} else {
focusables = [...document.querySelectorAll(this.focusable)];
focusables = Array.from(document.querySelectorAll(this.focusable));
}

@@ -1041,0 +1043,0 @@ return focusables.filter(el => this.isFocusable(el));

2

dist/js/index.min.js

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.mint=t():e.mint=t()}(self,(()=>(()=>{"use strict";var e={870:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintHeader=void 0;const l=i(64),n=s(i(427)),a=s(i(378)),r=s(i(110));class o{constructor(e){this.lastWidth=n.default.windowWidth(),this.el={};let t={from:l.mintSide.Top,fixed:!0};r.default.set(Object.assign(Object.assign({},t),e)),this.attachElements(),this.attachEvents(),this.addClasses(),this.setMobileMenu()}attachElements(){var e;this.el.html=document.querySelector("html"),this.el.body=document.querySelector("body"),this.el.header=document.getElementById(a.default.getId("header")),this.el.mobileButton=(null===(e=this.el.header)||void 0===e?void 0:e.querySelector(a.default.controls(a.default.getId("wrapper"))))||null,this.el.wrapper=document.getElementById(a.default.getId("wrapper"))}attachEvents(){var e,t,i,s;window.addEventListener("scroll",n.default.throttleEvent(this.eHandleScroll.bind(this),r.default.delay.default,{trailing:!1}));let l=null===(e=this.el.header)||void 0===e?void 0:e.querySelectorAll(a.default.focusable),o=null==l?void 0:l[(null==l?void 0:l.length)-1];null==o||o.addEventListener("keydown",n.default.throttleEvent(this.eWrapTab.bind(this))),null==l||l.forEach((e=>{e.addEventListener("keydown",n.default.throttleEvent(this.eHandleKeypress.bind(this)))}));let d=null===(t=this.el.header)||void 0===t?void 0:t.querySelectorAll(a.default.controls()+a.default.neg(a.default.controls(a.default.ids.wrapper)));null==d||d.forEach((e=>{e.addEventListener("click",n.default.throttleEvent(this.eToggleMenu.bind(this),r.default.delay.slow,{trailing:!1}))})),null===(i=this.el.mobileButton)||void 0===i||i.addEventListener("click",n.default.throttleEvent(this.eToggleMobileMenu.bind(this),r.default.delay.slow,{trailing:!1})),null===(s=this.el.wrapper)||void 0===s||s.addEventListener("transitionend",this.eTransitionEnd.bind(this))}addClasses(){var e;r.default.fixed&&(null===(e=this.el.body)||void 0===e||e.classList.add(a.default.getClass("fixed")))}setMobileMenu(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t;let i=e?"true":"false",s=e?"close menu":"open menu";null===(t=this.el.mobileButton)||void 0===t||t.setAttribute("aria-expanded",i),setTimeout((()=>{var e;null===(e=this.el.mobileButton)||void 0===e||e.setAttribute("aria-label",s)}),r.default.delay.fast),e?(!0!==r.default.fixed&&window.scroll({top:0,left:0,behavior:"smooth"}),setTimeout((()=>{this.el.html&&(this.el.html.style.overflow="hidden")}),r.default.from===l.mintSide.Left?r.default.delay.default:r.default.delay.instant),this.el.wrapper&&(this.el.wrapper.style.display="flex"),requestAnimationFrame((()=>{var e;null===(e=this.el.wrapper)||void 0===e||e.classList.add(a.default.getClass("open"))}))):(this.el.html&&(this.el.html.style.overflow="auto"),requestAnimationFrame((()=>{var e;null===(e=this.el.wrapper)||void 0===e||e.classList.remove(a.default.getClass("open"))})),this.closeAllMenus())}toggleMobileMenu(){var e,t;this.setMobileMenu("false"===(null===(t=null===(e=this.el.mobileButton)||void 0===e?void 0:e.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase()))}setMenu(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t?"true":"false",s=null==e?void 0:e.nextElementSibling;e&&s&&(e.setAttribute("aria-expanded",i),t?n.default.show(s):(n.default.hide(s),this.closeSubMenus(e)))}toggleMenu(e){var t;this.setMenu(e,"true"!==(null===(t=null==e?void 0:e.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase()))}closeSubMenus(e){let t=null==e?void 0:e.nextElementSibling;(null==t?void 0:t.querySelectorAll(a.default.subMenuButtons)).forEach((e=>{var i;(null===(i=e.parentElement)||void 0===i?void 0:i.parentElement)===t&&this.setMenu(e)}))}closeSiblingMenus(e){var t;let i=null==e?void 0:e.parentElement;(null===(t=null==i?void 0:i.parentElement)||void 0===t?void 0:t.querySelectorAll(a.default.subMenuButtons)).forEach((t=>{t!==e&&this.setMenu(t)}))}closeAllMenus(){var e;let t=null===(e=this.el.wrapper)||void 0===e?void 0:e.querySelectorAll(a.default.subMenuButtons);null==t||t.forEach((e=>{this.setMenu(e)}))}openClosestMenu(){var e;let t=document.activeElement,i=null==t?void 0:t.nextElementSibling,s="true"===(null===(e=null==t?void 0:t.getAttribute("aria-expanded"))||void 0===e?void 0:e.toLowerCase());if((null==t?void 0:t.getAttribute("aria-controls"))===a.default.ids.wrapper&&(i=this.el.wrapper),(null==t?void 0:t.getAttribute("aria-controls"))&&i&&!s){t.click();let e=i.querySelector(a.default.focusable);null==e||e.focus()}}closeClosestMenu(){var e,t;let i=document.activeElement,s=null==i?void 0:i.closest(a.default.subMenu),l=(null==s?void 0:s.previousElementSibling)?s.previousElementSibling:this.el.mobileButton;(null==i?void 0:i.getAttribute("aria-controls"))&&"true"===(null===(e=null==i?void 0:i.getAttribute("aria-expanded"))||void 0===e?void 0:e.toLowerCase())&&(l=i),"true"===(null===(t=null==l?void 0:l.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase())&&(null==l||l.click(),null==l||l.focus())}toggleClosestMenu(){var e,t;"true"===(null===(t=null===(e=document.activeElement)||void 0===e?void 0:e.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase())?this.closeClosestMenu():this.openClosestMenu()}eHandleResize(e){n.default.windowWidth()!==this.lastWidth&&this.setMobileMenu(),this.lastWidth=n.default.windowWidth()}eHandleScroll(){this.closeAllMenus()}eWrapTab(e){var t;"tab"!==e.key.toLowerCase()||e.shiftKey||(null===(t=this.el.mobileButton)||void 0===t||t.focus(),document.activeElement===this.el.mobileButton&&e.preventDefault())}eHandleButtonKeypress(e){var t;let i=e.target,s=null==i?void 0:i.closest("li");switch(e.key.toLowerCase()){case"escape":(null==s?void 0:s.classList.contains(a.default.classes.open))?this.setMenu(s):(this.setMobileMenu(),null===(t=this.el.menuButton)||void 0===t||t.focus());case"arrowleft":this.closeClosestMenu();break;case"arrowright":this.openClosestMenu();break;case"enter":case"space":null==i||i.click()}}eHandleLinkKeypress(e){let t=e.target;switch(e.key.toLowerCase()){case"escape":case"arrowleft":this.closeClosestMenu();break;case"arrowright":this.openClosestMenu();break;case"enter":case"space":null==t||t.click()}}eHandleKeypress(e){"tab"!==e.key.toLowerCase()&&e.preventDefault();const t=e.target;switch(null==t?void 0:t.tagName.toLowerCase()){case"a":this.eHandleLinkKeypress(e);break;case"button":this.eHandleButtonKeypress(e)}}eToggleMobileMenu(){this.toggleMobileMenu()}eToggleMenu(e){let t=e.target;this.closeSiblingMenus(t),this.toggleMenu(t)}eTransitionEnd(){var e;!1===(null===(e=this.el.wrapper)||void 0===e?void 0:e.classList.contains(a.default.getClass("open")))&&(this.el.wrapper.style.display="none")}}t.mintHeader=o,t.default=o},64:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSide=void 0,(i=t.mintSide||(t.mintSide={}))[i.Top=0]="Top",i[i.Right=1]="Right",i[i.Bottom=2]="Bottom",i[i.Left=3]="Left"},54:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintColor=void 0;class i{constructor(e){this.r="number"==typeof e.r?Math.max(Math.min(e.r,i.hexBase**2-1),0):0,this.g="number"==typeof e.g?Math.max(Math.min(e.g,i.hexBase**2-1),0):0,this.b="number"==typeof e.b?Math.max(Math.min(e.b,i.hexBase**2-1),0):0,this.a="number"==typeof e.a?Math.max(Math.min(e.a,1),0):1,"string"==typeof e.color&&this.stringConstructor(e.color)}stringConstructor(e){e.startsWith("#")?this.hexConstructor(e):(~e.indexOf("linear-gradient")&&(e=e.substring(e.indexOf("linear-gradient"),e.length)),this.rgbConstructor(e))}hexConstructor(e){switch(e.length){case 1:case 5:case 6:return;case 2:e="#"+e[1]+e[1]+e[1]+e[1]+e[1]+e[1]+i.hexMax;break;case 3:e="#"+e[1]+e[1]+e[1]+e[2]+e[2]+e[2]+i.hexMax;break;case 4:e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+i.hexMax;break;case 7:e+=i.hexMax;break;case 8:e+=e[e.length-1];break;default:e=e.substring(0,9)}this.r=parseInt(e.substring(1,3),i.hexBase),this.g=parseInt(e.substring(3,5),i.hexBase),this.b=parseInt(e.substring(5,7),i.hexBase),this.a=parseInt(e.substring(7,9),i.hexBase)/i.hexBase**2}rgbConstructor(e){let t=e.match(/rgba?\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3})\)?(?:, ?(\d(?:\.\d*)?)\))?/);t&&(this.r=parseInt(t[1]),this.g=parseInt(t[2]),this.b=parseInt(t[3]),this.a=parseFloat(t[4]))}getBrightness(){return 0===this.a?262:isNaN(this.r)||isNaN(this.g)||isNaN(this.b)?-1:Math.round((299*this.r+587*this.g+144*this.b)/1e3)}}t.mintColor=i,i.hexBase=16,i.hexMax="FF",t.default=i},708:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintItem=void 0;class i{constructor(){this.version=0,this.priority=0,this.price=0,this.level=0,this.size=0,this.num=0,this.width=0,this.height=0,this.centered=!1,this.disabled=!1,this.private=!1,this.attr={},this.params={},this.options={},this.lists={},this.paragraphs=[],this.classes=[],this.items=[],this.images=[],this.buttons=[]}}t.mintItem=i,t.default=i},139:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintDisplay=void 0;class i{}t.mintDisplay=i,t.default=i},376:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintEvent=void 0;class i{}t.mintEvent=i,t.default=i},4:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintIcon=void 0;const l=s(i(982));class n{static append(e,t){document.querySelectorAll(t).forEach((t=>{let i=document.createElement("i");i.classList.add(...e.split(" ")),t.querySelector("i")||t.appendChild(i),i.classList.contains("fa-up-right-from-square")&&t.setAttribute("target","_blank")}))}static update(e){let t=l.default.removeValues(Object.assign(Object.assign({},this.icons),e),[!1]);Object.keys(t).forEach((e=>{this.append(t[e],e)}))}static remove(e,t){document.querySelectorAll(t).forEach((e=>{let t=e.querySelector("i");t&&t.remove()}))}}t.mintIcon=n,n.icons={'a[href^="mailto:"]':"far fa-envelope",'a[href^="tel:"]':"fas fa-phone-flip",'a[href^="sms:"]':"far fa-message",'a[href^="https://maps"]':"fas fa-map-location-dot",'a[href^="http"]':"fas fa-up-right-from-square"},t.default=n},718:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintList=void 0;class i{static shuffle(e){let t=[...e];for(let e=t.length-1;e>0;e--){const i=Math.floor(Math.random()*(e+1));[t[e],t[i]]=[t[i],t[e]]}return t}}t.mintList=i,t.default=i},683:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintMath=void 0;class i{static randomInt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t)+t)}}t.mintMath=i,t.default=i},982:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintObject=void 0;class i{static isSimilar(e,t){let i=Object.keys(e);return i.length===Object.keys(t).length&&(i.forEach((i=>{if(e[i]!==t[i])return!1})),!0)}static isSuperset(e,t){let s=!0;if(e===t)return s;try{if(0===Object.keys(t).length)return!s}catch(e){return!s}return Object.keys(t).forEach((l=>{s=s&&i.isSuperset(e[l],t[l])})),s}static remove(e,t){return this.removeKeys(e,t)}static removeKeys(e,t){return Object.keys(e).reduce(((i,s)=>(t.includes(s)||(i[s]=e[s]),i)),{})}static removeValues(e,t){return Object.keys(e).reduce(((i,s)=>(t.includes(e[s])||(i[s]=e[s]),i)),{})}static sort(e){return Object.keys(e).sort().reduce(((t,i)=>(t[i]=e[i],t)),{})}static filter(e,t){return this.filterKeys(e,t)}static filterKeys(e,t){return t.reduce(((t,i)=>(t[i]=e[i],t)),{})}static filterValues(e,t){return Object.keys(e).reduce(((i,s)=>(t.includes(e[s])&&(i[s]=e[s]),i)),{})}}t.mintObject=i,t.default=i},378:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSelectors=void 0;class s{static prefix(e){return(e=e.toLowerCase()).startsWith(this.pre)?e:`${this.pre}${e}`}static cssPrefix(e){return`--${this.prefix(e.replace(/^-+/,""))}`}static cssVar(e){return`var(${this.cssPrefix(e)})`}static neg(e){return`:not(${e})`}static class(e){return`.${this.prefix(e)}`}static id(e){return`#${this.prefix(e)}`}static controls(e){return e?`[aria-controls="${this.prefix(e)}"]`:this.hasControls}static expanded(e){return"boolean"==typeof e?`[aria-expanded="${e}"]`:this.hasExpanded}static getId(e){var t;return null!==(t=this.ids[null!=e?e:-1])&&void 0!==t?t:""}static getClass(e,t){var i,s;return t?null!==(i=this.classes[t][null!=e?e:-1])&&void 0!==i?i:"":null!==(s=this.classes[null!=e?e:-1])&&void 0!==s?s:""}static getFocusables(e){let t;return t=e?[...e.querySelectorAll(this.focusable)]:[...document.querySelectorAll(this.focusable)],t.filter((e=>this.isFocusable(e)))}static isFocusable(e){let t=e;do{if("none"===window.getComputedStyle(t).getPropertyValue("display").toLowerCase())return!1;t=t.parentElement}while(t);return!0}}t.mintSelectors=s,i=s,s.lib="mint",s.pre=`${i.lib}-`,s.disabled="[disabled]",s.hasControls="[aria-controls]",s.hasExpanded="[aria-expanded]",s.hasLink="[href]",s.hasRouterLink="[routerLink]",s.hasId="[id]",s.notTabbable='[tabindex^="-"]',s.tabbable=`[tabindex]${i.neg(i.notTabbable)}`,s.focusable=`input${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n select${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n textarea${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n button${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n object${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n a${i.hasLink}, a${i.hasRouterLink},\n area${i.hasLink},\n ${i.tabbable}`.replace(/\s/g,""),s.subMenuButtons=`button${i.hasControls}`,s.subMenu=`${i.subMenuButtons} + ul${i.hasId}`,s.ids={header:i.prefix("header"),logo:i.prefix("logo"),wrapper:i.prefix("wrapper"),mainContent:i.prefix("main-content")},s.classes={sides:{top:i.prefix("top"),right:i.prefix("right"),bottom:i.prefix("bottom"),left:i.prefix("left")},srOnly:i.prefix("sr-only"),js:i.prefix("js"),ready:i.prefix("ready"),fixed:i.prefix("fixed"),open:i.prefix("open")},t.default=s},110:(e,t,i)=>{var s;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSettings=void 0;const l=i(64),n=i(378);class a{static set(e){let t=!1;"number"==typeof e.delayBase&&(this.delayBase=e.delayBase,t=!0),"number"==typeof e.delayStep&&(this.delayStep=e.delayStep,t=!0),t&&this.setDelay(),e.delay&&Object.keys(e.delay).length&&Object.values(e.delay).reduce(((e,t)=>e&&"number"==typeof t),!0)&&(this.delay=Object.assign(Object.assign({},this.delay),e.delay)),"number"==typeof e.from&&this.setFrom(e.from),"boolean"==typeof e.fixed&&this.setFixed(e.fixed)}static setDelay(){this.delay={instant:this.delayBase+0*this.delayStep,fast:this.delayBase+1*this.delayStep,medFast:this.delayBase+2*this.delayStep,default:this.delayBase+3*this.delayStep,medSlow:this.delayBase+4*this.delayStep,slow:this.delayBase+5*this.delayStep}}static setFrom(e){if(this.from!==e){this.from=e;let t=document.getElementById(n.mintSelectors.getId("header"));null==t||t.classList.remove(...Object.values(n.mintSelectors.classes.sides)),null==t||t.classList.add(n.mintSelectors.getClass(l.mintSide[this.from].toLowerCase(),"sides"))}}static setFixed(e){if(this.fixed!==e){this.fixed=e;let t=document.getElementById(n.mintSelectors.getId("header")),i=n.mintSelectors.getClass("fixed");this.fixed?null==t||t.classList.add(i):null==t||t.classList.remove(i)}}}t.mintSettings=a,s=a,a.delayBase=0,a.delayStep=100,a.delay={instant:s.delayBase+0*s.delayStep,fast:s.delayBase+1*s.delayStep,medFast:s.delayBase+2*s.delayStep,default:s.delayBase+3*s.delayStep,medSlow:s.delayBase+4*s.delayStep,slow:s.delayBase+5*s.delayStep},t.default=a},226:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintText=void 0;class i{static slug(e){return e.toLowerCase().replace(/\W+/g,"-").replace(/^-+|-+$/g,"")}static pluralize(e){return e.endsWith("ies")||e.endsWith("es")||e.endsWith("s")&&!e.endsWith("us")&&!e.endsWith("is")&&!e.endsWith("ss")?e:e.endsWith("y")&&!["a","e","i","o","u"].includes(e.charAt(e.length-2))?e.slice(0,-1)+"ies":e.endsWith("s")||e.endsWith("sh")||e.endsWith("ch")||e.endsWith("x")||e.endsWith("z")?e+"es":e+"s"}}t.mintText=i,t.default=i},505:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintWindow=void 0;class i{}t.mintWindow=i,t.default=i},491:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.mintUtil=t.mintSettings=t.mintSelectors=t.mintWindow=t.mintText=t.mintObject=t.mintMath=t.mintList=t.mintIcon=t.mintEvent=t.mintDisplay=t.mintItem=t.mintColor=t.mintHeader=t.mintSide=void 0;var l=i(64);Object.defineProperty(t,"mintSide",{enumerable:!0,get:function(){return l.mintSide}});var n=i(870);Object.defineProperty(t,"mintHeader",{enumerable:!0,get:function(){return n.mintHeader}});var a=i(54);Object.defineProperty(t,"mintColor",{enumerable:!0,get:function(){return a.mintColor}});var r=i(708);Object.defineProperty(t,"mintItem",{enumerable:!0,get:function(){return r.mintItem}});var o=i(139);Object.defineProperty(t,"mintDisplay",{enumerable:!0,get:function(){return o.mintDisplay}});var d=i(376);Object.defineProperty(t,"mintEvent",{enumerable:!0,get:function(){return d.mintEvent}});var u=i(4);Object.defineProperty(t,"mintIcon",{enumerable:!0,get:function(){return u.mintIcon}});var c=i(718);Object.defineProperty(t,"mintList",{enumerable:!0,get:function(){return c.mintList}});var h=i(683);Object.defineProperty(t,"mintMath",{enumerable:!0,get:function(){return h.mintMath}});var f=i(982);Object.defineProperty(t,"mintObject",{enumerable:!0,get:function(){return f.mintObject}});var m=i(226);Object.defineProperty(t,"mintText",{enumerable:!0,get:function(){return m.mintText}});var p=i(505);Object.defineProperty(t,"mintWindow",{enumerable:!0,get:function(){return p.mintWindow}});var b=i(378);Object.defineProperty(t,"mintSelectors",{enumerable:!0,get:function(){return b.mintSelectors}});var v=i(110);Object.defineProperty(t,"mintSettings",{enumerable:!0,get:function(){return v.mintSettings}});var y=i(427);Object.defineProperty(t,"mintUtil",{enumerable:!0,get:function(){return y.mintUtil}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s(y).default}})},427:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintUtil=void 0;const l=i(64),n=s(i(110));class a{static windowWidth(){const e=document.body.getBoundingClientRect().width%1;return window.innerWidth+e}static debounce(e){let t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default;return function(s){t&&clearTimeout(t),t=setTimeout(e,i,s)}}static debounceEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default;return a.debounce(e,t)}static throttle(e){let t,i,s,l,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,r=arguments.length>2?arguments[2]:void 0,o=0,d=function(){o=!1===(null==r?void 0:r.leading)?0:(new Date).getTime(),l=0,s=e.apply(t,i),l||(t=i=null)};return function(){let n=(new Date).getTime();o||!1!==(null==r?void 0:r.leading)||(o=n);let u=a-n+o;return t=this,i=arguments,u<=0||u>a?(l&&(clearTimeout(l),l=0),o=n,s=e.apply(t,i),l||(t=i=null)):l||!1===(null==r?void 0:r.trailing)||(l=window.setTimeout(d,u)),s}}static throttleEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,i=arguments.length>2?arguments[2]:void 0;return a.throttle(e,t,i)}static show(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.mintSide.Top;e&&(e.style.display="",requestAnimationFrame((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height=`${e.scrollHeight}px`:e.style.width=`${e.scrollWidth}px`,setTimeout((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height="auto":e.style.width="auto"}),t)})))}static hide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.mintSide.Top;if(e){let s=e.scrollHeight,n=e.scrollWidth,a=e.style.transition;e.style.transition="",requestAnimationFrame((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height=`${s}px`:e.style.width=`${n}px`,e.style.transition=a,requestAnimationFrame((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height="0":e.style.width="0"}))})),setTimeout((()=>{e.style.display="none"}),t)}}static copyText(e){let t=document.createElement("textarea");return!(!e||!t||(t.value=e,t.style.cssText="\n position: fixed;\n top: 0;\n left: 0;\n transform: translate(-100%, -100%);\n opacity: 0;\n z-index: -1;\n ",document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value),document.body.removeChild(t),0))}static isEmail(e){return null!==e.match(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/)}}t.mintUtil=a,t.default=a}},t={};return function i(s){var l=t[s];if(void 0!==l)return l.exports;var n=t[s]={exports:{}};return e[s].call(n.exports,n,n.exports,i),n.exports}(491)})()));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.mint=t():e.mint=t()}(self,(()=>(()=>{"use strict";var e={870:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintHeader=void 0;const l=i(64),n=s(i(427)),a=s(i(378)),r=s(i(110));class o{constructor(e){this.lastWidth=n.default.windowWidth(),this.el={};let t={from:l.mintSide.Top,fixed:!0};r.default.set(Object.assign(Object.assign({},t),e)),this.attachElements(),this.attachEvents(),this.addClasses(),this.setMobileMenu()}attachElements(){var e;this.el.html=document.querySelector("html"),this.el.body=document.querySelector("body"),this.el.header=document.getElementById(a.default.getId("header")),this.el.mobileButton=(null===(e=this.el.header)||void 0===e?void 0:e.querySelector(a.default.controls(a.default.getId("wrapper"))))||null,this.el.wrapper=document.getElementById(a.default.getId("wrapper"))}attachEvents(){var e,t,i,s;window.addEventListener("scroll",n.default.throttleEvent(this.eHandleScroll.bind(this),r.default.delay.default,{trailing:!1}));let l=null===(e=this.el.header)||void 0===e?void 0:e.querySelectorAll(a.default.focusable),o=null==l?void 0:l[(null==l?void 0:l.length)-1];null==o||o.addEventListener("keydown",n.default.throttleEvent(this.eWrapTab.bind(this))),null==l||l.forEach((e=>{e.addEventListener("keydown",n.default.throttleEvent(this.eHandleKeypress.bind(this)))}));let d=null===(t=this.el.header)||void 0===t?void 0:t.querySelectorAll(a.default.controls()+a.default.neg(a.default.controls(a.default.ids.wrapper)));null==d||d.forEach((e=>{e.addEventListener("click",n.default.throttleEvent(this.eToggleMenu.bind(this),r.default.delay.slow,{trailing:!1}))})),null===(i=this.el.mobileButton)||void 0===i||i.addEventListener("click",n.default.throttleEvent(this.eToggleMobileMenu.bind(this),r.default.delay.slow,{trailing:!1})),null===(s=this.el.wrapper)||void 0===s||s.addEventListener("transitionend",this.eTransitionEnd.bind(this))}addClasses(){var e;r.default.fixed&&(null===(e=this.el.body)||void 0===e||e.classList.add(a.default.getClass("fixed")))}setMobileMenu(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];var t;let i=e?"true":"false",s=e?"close menu":"open menu";null===(t=this.el.mobileButton)||void 0===t||t.setAttribute("aria-expanded",i),setTimeout((()=>{var e;null===(e=this.el.mobileButton)||void 0===e||e.setAttribute("aria-label",s)}),r.default.delay.fast),e?(!0!==r.default.fixed&&window.scroll({top:0,left:0,behavior:"smooth"}),setTimeout((()=>{this.el.html&&(this.el.html.style.overflow="hidden")}),r.default.from===l.mintSide.Left?r.default.delay.default:r.default.delay.instant),this.el.wrapper&&(this.el.wrapper.style.display="flex"),requestAnimationFrame((()=>{var e;null===(e=this.el.wrapper)||void 0===e||e.classList.add(a.default.getClass("open"))}))):(this.el.html&&(this.el.html.style.overflow="auto"),requestAnimationFrame((()=>{var e;null===(e=this.el.wrapper)||void 0===e||e.classList.remove(a.default.getClass("open"))})),this.closeAllMenus())}toggleMobileMenu(){var e,t;this.setMobileMenu("false"===(null===(t=null===(e=this.el.mobileButton)||void 0===e?void 0:e.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase()))}setMenu(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=t?"true":"false",s=null==e?void 0:e.nextElementSibling;e&&s&&(e.setAttribute("aria-expanded",i),t?n.default.show(s):(n.default.hide(s),this.closeSubMenus(e)))}toggleMenu(e){var t;this.setMenu(e,"true"!==(null===(t=null==e?void 0:e.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase()))}closeSubMenus(e){let t=null==e?void 0:e.nextElementSibling;(null==t?void 0:t.querySelectorAll(a.default.subMenuButtons)).forEach((e=>{var i;(null===(i=e.parentElement)||void 0===i?void 0:i.parentElement)===t&&this.setMenu(e)}))}closeSiblingMenus(e){var t;let i=null==e?void 0:e.parentElement;(null===(t=null==i?void 0:i.parentElement)||void 0===t?void 0:t.querySelectorAll(a.default.subMenuButtons)).forEach((t=>{t!==e&&this.setMenu(t)}))}closeAllMenus(){var e;let t=null===(e=this.el.wrapper)||void 0===e?void 0:e.querySelectorAll(a.default.subMenuButtons);null==t||t.forEach((e=>{this.setMenu(e)}))}openClosestMenu(){var e;let t=document.activeElement,i=null==t?void 0:t.nextElementSibling,s="true"===(null===(e=null==t?void 0:t.getAttribute("aria-expanded"))||void 0===e?void 0:e.toLowerCase());if((null==t?void 0:t.getAttribute("aria-controls"))===a.default.ids.wrapper&&(i=this.el.wrapper),(null==t?void 0:t.getAttribute("aria-controls"))&&i&&!s){t.click();let e=i.querySelector(a.default.focusable);null==e||e.focus()}}closeClosestMenu(){var e,t;let i=document.activeElement,s=null==i?void 0:i.closest(a.default.subMenu),l=(null==s?void 0:s.previousElementSibling)?s.previousElementSibling:this.el.mobileButton;(null==i?void 0:i.getAttribute("aria-controls"))&&"true"===(null===(e=null==i?void 0:i.getAttribute("aria-expanded"))||void 0===e?void 0:e.toLowerCase())&&(l=i),"true"===(null===(t=null==l?void 0:l.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase())&&(null==l||l.click(),null==l||l.focus())}toggleClosestMenu(){var e,t;"true"===(null===(t=null===(e=document.activeElement)||void 0===e?void 0:e.getAttribute("aria-expanded"))||void 0===t?void 0:t.toLowerCase())?this.closeClosestMenu():this.openClosestMenu()}eHandleResize(e){n.default.windowWidth()!==this.lastWidth&&this.setMobileMenu(),this.lastWidth=n.default.windowWidth()}eHandleScroll(){this.closeAllMenus()}eWrapTab(e){var t;"tab"!==e.key.toLowerCase()||e.shiftKey||(null===(t=this.el.mobileButton)||void 0===t||t.focus(),document.activeElement===this.el.mobileButton&&e.preventDefault())}eHandleButtonKeypress(e){var t;let i=e.target,s=null==i?void 0:i.closest("li");switch(e.key.toLowerCase()){case"escape":(null==s?void 0:s.classList.contains(a.default.classes.open))?this.setMenu(s):(this.setMobileMenu(),null===(t=this.el.menuButton)||void 0===t||t.focus());break;case"arrowleft":this.closeClosestMenu();break;case"arrowright":this.openClosestMenu();break;case"enter":case"space":null==i||i.click()}}eHandleLinkKeypress(e){let t=e.target;switch(e.key.toLowerCase()){case"escape":case"arrowleft":this.closeClosestMenu();break;case"arrowright":this.openClosestMenu();break;case"enter":case"space":null==t||t.click()}}eHandleKeypress(e){"tab"!==e.key.toLowerCase()&&e.preventDefault();const t=e.target;switch(null==t?void 0:t.tagName.toLowerCase()){case"a":this.eHandleLinkKeypress(e);break;case"button":this.eHandleButtonKeypress(e)}}eToggleMobileMenu(){this.toggleMobileMenu()}eToggleMenu(e){let t=e.target;this.closeSiblingMenus(t),this.toggleMenu(t)}eTransitionEnd(){var e;!1===(null===(e=this.el.wrapper)||void 0===e?void 0:e.classList.contains(a.default.getClass("open")))&&(this.el.wrapper.style.display="none")}}t.mintHeader=o,t.default=o},64:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSide=void 0,(i=t.mintSide||(t.mintSide={}))[i.Top=0]="Top",i[i.Right=1]="Right",i[i.Bottom=2]="Bottom",i[i.Left=3]="Left"},54:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintColor=void 0;class i{constructor(e){this.r="number"==typeof e.r?Math.max(Math.min(e.r,i.hexBase**2-1),0):0,this.g="number"==typeof e.g?Math.max(Math.min(e.g,i.hexBase**2-1),0):0,this.b="number"==typeof e.b?Math.max(Math.min(e.b,i.hexBase**2-1),0):0,this.a="number"==typeof e.a?Math.max(Math.min(e.a,1),0):1,"string"==typeof e.color&&this.stringConstructor(e.color)}stringConstructor(e){e.startsWith("#")?this.hexConstructor(e):(~e.indexOf("linear-gradient")&&(e=e.substring(e.indexOf("linear-gradient"),e.length)),this.rgbConstructor(e))}hexConstructor(e){switch(e.length){case 1:case 5:case 6:return;case 2:e="#"+e[1]+e[1]+e[1]+e[1]+e[1]+e[1]+i.hexMax;break;case 3:e="#"+e[1]+e[1]+e[1]+e[2]+e[2]+e[2]+i.hexMax;break;case 4:e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]+i.hexMax;break;case 7:e+=i.hexMax;break;case 8:e+=e[e.length-1];break;default:e=e.substring(0,9)}this.r=parseInt(e.substring(1,3),i.hexBase),this.g=parseInt(e.substring(3,5),i.hexBase),this.b=parseInt(e.substring(5,7),i.hexBase),this.a=parseInt(e.substring(7,9),i.hexBase)/i.hexBase**2}rgbConstructor(e){let t=e.match(/rgba?\((\d{1,3}), ?(\d{1,3}), ?(\d{1,3})\)?(?:, ?(\d(?:\.\d*)?)\))?/);t&&(this.r=parseInt(t[1]),this.g=parseInt(t[2]),this.b=parseInt(t[3]),this.a=parseFloat(t[4]))}getBrightness(){return 0===this.a?262:isNaN(this.r)||isNaN(this.g)||isNaN(this.b)?-1:Math.round((299*this.r+587*this.g+144*this.b)/1e3)}}t.mintColor=i,i.hexBase=16,i.hexMax="FF",t.default=i},708:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintItem=void 0;class i{constructor(){this.version=0,this.priority=0,this.price=0,this.level=0,this.size=0,this.num=0,this.width=0,this.height=0,this.centered=!1,this.disabled=!1,this.private=!1,this.attr={},this.params={},this.options={},this.lists={},this.paragraphs=[],this.classes=[],this.items=[],this.images=[],this.buttons=[]}}t.mintItem=i,t.default=i},139:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintDisplay=void 0;class i{}t.mintDisplay=i,t.default=i},376:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintEvent=void 0;class i{}t.mintEvent=i,t.default=i},4:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintIcon=void 0;const l=s(i(982));class n{static append(e,t){document.querySelectorAll(t).forEach((t=>{let i=document.createElement("i");i.classList.add(...e.split(" ")),t.querySelector("i")||t.appendChild(i),i.classList.contains("fa-up-right-from-square")&&t.setAttribute("target","_blank")}))}static update(e){let t=l.default.removeValues(Object.assign(Object.assign({},this.icons),e),[!1]);Object.keys(t).forEach((e=>{this.append(t[e],e)}))}static remove(e,t){document.querySelectorAll(t).forEach((e=>{let t=e.querySelector("i");t&&t.remove()}))}}t.mintIcon=n,n.icons={'a[href^="mailto:"]':"far fa-envelope",'a[href^="tel:"]':"fas fa-phone-flip",'a[href^="sms:"]':"far fa-message",'a[href^="https://maps"]':"fas fa-map-location-dot",'a[href^="http"]':"fas fa-up-right-from-square"},t.default=n},718:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintList=void 0;class i{static shuffle(e){let t=[...e];for(let e=t.length-1;e>0;e--){const i=Math.floor(Math.random()*(e+1));[t[e],t[i]]=[t[i],t[e]]}return t}}t.mintList=i,t.default=i},683:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintMath=void 0;class i{static randomInt(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t=Math.ceil(t),e=Math.floor(e),Math.floor(Math.random()*(e-t)+t)}}t.mintMath=i,t.default=i},982:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintObject=void 0;class i{static isSimilar(e,t){let i=Object.keys(e);if(i.length!==Object.keys(t).length)return!1;let s=!0;return i.forEach((i=>{e[i]!==t[i]&&(s=!1)})),s}static isSuperset(e,t){let s=!0;if(e===t)return s;try{if(0===Object.keys(t).length)return!s}catch(e){return!s}return Object.keys(t).forEach((l=>{s=s&&i.isSuperset(e[l],t[l])})),s}static remove(e,t){return this.removeKeys(e,t)}static removeKeys(e,t){return Object.keys(e).reduce(((i,s)=>(t.includes(s)||(i[s]=e[s]),i)),{})}static removeValues(e,t){return Object.keys(e).reduce(((i,s)=>(t.includes(e[s])||(i[s]=e[s]),i)),{})}static sort(e){return Object.keys(e).sort().reduce(((t,i)=>(t[i]=e[i],t)),{})}static filter(e,t){return this.filterKeys(e,t)}static filterKeys(e,t){return t.reduce(((t,i)=>(t[i]=e[i],t)),{})}static filterValues(e,t){return Object.keys(e).reduce(((i,s)=>(t.includes(e[s])&&(i[s]=e[s]),i)),{})}}t.mintObject=i,t.default=i},378:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSelectors=void 0;class s{static prefix(e){return(e=e.toLowerCase()).startsWith(this.pre)?e:`${this.pre}${e}`}static cssPrefix(e){return`--${this.prefix(e.replace(/^-+/,""))}`}static cssVar(e){return`var(${this.cssPrefix(e)})`}static neg(e){return`:not(${e})`}static class(e){return`.${this.prefix(e)}`}static id(e){return`#${this.prefix(e)}`}static controls(e){return e?`[aria-controls="${this.prefix(e)}"]`:this.hasControls}static expanded(e){return"boolean"==typeof e?`[aria-expanded="${e}"]`:this.hasExpanded}static getId(e){var t;return null!==(t=this.ids[null!=e?e:-1])&&void 0!==t?t:""}static getClass(e,t){var i,s;return t?null!==(i=this.classes[t][null!=e?e:-1])&&void 0!==i?i:"":null!==(s=this.classes[null!=e?e:-1])&&void 0!==s?s:""}static getFocusables(e){let t;return t=e?Array.from(e.querySelectorAll(this.focusable)):Array.from(document.querySelectorAll(this.focusable)),t.filter((e=>this.isFocusable(e)))}static isFocusable(e){let t=e;do{if("none"===window.getComputedStyle(t).getPropertyValue("display").toLowerCase())return!1;t=t.parentElement}while(t);return!0}}t.mintSelectors=s,i=s,s.lib="mint",s.pre=`${i.lib}-`,s.disabled="[disabled]",s.hasControls="[aria-controls]",s.hasExpanded="[aria-expanded]",s.hasLink="[href]",s.hasRouterLink="[routerLink]",s.hasId="[id]",s.notTabbable='[tabindex^="-"]',s.tabbable=`[tabindex]${i.neg(i.notTabbable)}`,s.focusable=`input${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n select${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n textarea${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n button${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n object${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n a${i.hasLink}, a${i.hasRouterLink},\n area${i.hasLink},\n ${i.tabbable}`.replace(/\s/g,""),s.subMenuButtons=`button${i.hasControls}`,s.subMenu=`${i.subMenuButtons} + ul${i.hasId}`,s.ids={header:i.prefix("header"),logo:i.prefix("logo"),wrapper:i.prefix("wrapper"),mainContent:i.prefix("main-content")},s.classes={sides:{top:i.prefix("top"),right:i.prefix("right"),bottom:i.prefix("bottom"),left:i.prefix("left")},srOnly:i.prefix("sr-only"),js:i.prefix("js"),ready:i.prefix("ready"),fixed:i.prefix("fixed"),open:i.prefix("open")},t.default=s},110:(e,t,i)=>{var s;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSettings=void 0;const l=i(64),n=i(378);class a{static set(e){let t=!1;"number"==typeof e.delayBase&&(this.delayBase=e.delayBase,t=!0),"number"==typeof e.delayStep&&(this.delayStep=e.delayStep,t=!0),t&&this.setDelay(),e.delay&&Object.keys(e.delay).length&&Object.values(e.delay).reduce(((e,t)=>e&&"number"==typeof t),!0)&&(this.delay=Object.assign(Object.assign({},this.delay),e.delay)),"number"==typeof e.from&&this.setFrom(e.from),"boolean"==typeof e.fixed&&this.setFixed(e.fixed)}static setDelay(){this.delay={instant:this.delayBase+0*this.delayStep,fast:this.delayBase+1*this.delayStep,medFast:this.delayBase+2*this.delayStep,default:this.delayBase+3*this.delayStep,medSlow:this.delayBase+4*this.delayStep,slow:this.delayBase+5*this.delayStep}}static setFrom(e){if(this.from!==e){this.from=e;let t=document.getElementById(n.mintSelectors.getId("header"));null==t||t.classList.remove(...Object.values(n.mintSelectors.classes.sides)),null==t||t.classList.add(n.mintSelectors.getClass(l.mintSide[this.from].toLowerCase(),"sides"))}}static setFixed(e){if(this.fixed!==e){this.fixed=e;let t=document.getElementById(n.mintSelectors.getId("header")),i=n.mintSelectors.getClass("fixed");this.fixed?null==t||t.classList.add(i):null==t||t.classList.remove(i)}}}t.mintSettings=a,s=a,a.delayBase=0,a.delayStep=100,a.delay={instant:s.delayBase+0*s.delayStep,fast:s.delayBase+1*s.delayStep,medFast:s.delayBase+2*s.delayStep,default:s.delayBase+3*s.delayStep,medSlow:s.delayBase+4*s.delayStep,slow:s.delayBase+5*s.delayStep},t.default=a},226:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintText=void 0;class i{static slug(e){return e.toLowerCase().replace(/\W+/g,"-").replace(/^-+|-+$/g,"")}static pluralize(e){return e.endsWith("ies")||e.endsWith("es")||e.endsWith("s")&&!e.endsWith("us")&&!e.endsWith("is")&&!e.endsWith("ss")?e:e.endsWith("y")&&!["a","e","i","o","u"].includes(e.charAt(e.length-2))?e.slice(0,-1)+"ies":e.endsWith("s")||e.endsWith("sh")||e.endsWith("ch")||e.endsWith("x")||e.endsWith("z")?e+"es":e+"s"}}t.mintText=i,t.default=i},505:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.mintWindow=void 0;class i{}t.mintWindow=i,t.default=i},491:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.mintUtil=t.mintSettings=t.mintSelectors=t.mintWindow=t.mintText=t.mintObject=t.mintMath=t.mintList=t.mintIcon=t.mintEvent=t.mintDisplay=t.mintItem=t.mintColor=t.mintHeader=t.mintSide=void 0;var l=i(64);Object.defineProperty(t,"mintSide",{enumerable:!0,get:function(){return l.mintSide}});var n=i(870);Object.defineProperty(t,"mintHeader",{enumerable:!0,get:function(){return n.mintHeader}});var a=i(54);Object.defineProperty(t,"mintColor",{enumerable:!0,get:function(){return a.mintColor}});var r=i(708);Object.defineProperty(t,"mintItem",{enumerable:!0,get:function(){return r.mintItem}});var o=i(139);Object.defineProperty(t,"mintDisplay",{enumerable:!0,get:function(){return o.mintDisplay}});var d=i(376);Object.defineProperty(t,"mintEvent",{enumerable:!0,get:function(){return d.mintEvent}});var u=i(4);Object.defineProperty(t,"mintIcon",{enumerable:!0,get:function(){return u.mintIcon}});var c=i(718);Object.defineProperty(t,"mintList",{enumerable:!0,get:function(){return c.mintList}});var h=i(683);Object.defineProperty(t,"mintMath",{enumerable:!0,get:function(){return h.mintMath}});var f=i(982);Object.defineProperty(t,"mintObject",{enumerable:!0,get:function(){return f.mintObject}});var m=i(226);Object.defineProperty(t,"mintText",{enumerable:!0,get:function(){return m.mintText}});var p=i(505);Object.defineProperty(t,"mintWindow",{enumerable:!0,get:function(){return p.mintWindow}});var b=i(378);Object.defineProperty(t,"mintSelectors",{enumerable:!0,get:function(){return b.mintSelectors}});var v=i(110);Object.defineProperty(t,"mintSettings",{enumerable:!0,get:function(){return v.mintSettings}});var y=i(427);Object.defineProperty(t,"mintUtil",{enumerable:!0,get:function(){return y.mintUtil}}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s(y).default}})},427:function(e,t,i){var s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintUtil=void 0;const l=i(64),n=s(i(110));class a{static windowWidth(){const e=document.body.getBoundingClientRect().width%1;return window.innerWidth+e}static debounce(e){let t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default;return function(s){t&&clearTimeout(t),t=setTimeout(e,i,s)}}static debounceEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default;return a.debounce(e,t)}static throttle(e){let t,i,s,l,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,r=arguments.length>2?arguments[2]:void 0,o=0,d=function(){o=!1===(null==r?void 0:r.leading)?0:(new Date).getTime(),l=0,s=e.apply(t,i),l||(t=i=null)};return function(){let n=(new Date).getTime();o||!1!==(null==r?void 0:r.leading)||(o=n);let u=a-n+o;return t=this,i=arguments,u<=0||u>a?(l&&(clearTimeout(l),l=0),o=n,s=e.apply(t,i),l||(t=i=null)):l||!1===(null==r?void 0:r.trailing)||(l=window.setTimeout(d,u)),s}}static throttleEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,i=arguments.length>2?arguments[2]:void 0;return a.throttle(e,t,i)}static show(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.mintSide.Top;e&&(e.style.display="",requestAnimationFrame((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height=`${e.scrollHeight}px`:e.style.width=`${e.scrollWidth}px`,setTimeout((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height="auto":e.style.width="auto"}),t)})))}static hide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:l.mintSide.Top;if(e){let s=e.scrollHeight,n=e.scrollWidth,a=e.style.transition;e.style.transition="",requestAnimationFrame((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height=`${s}px`:e.style.width=`${n}px`,e.style.transition=a,requestAnimationFrame((()=>{i===l.mintSide.Top||i===l.mintSide.Bottom?e.style.height="0":e.style.width="0"}))})),setTimeout((()=>{e.style.display="none"}),t)}}static copyText(e){let t=document.createElement("textarea");return!(!e||!t||(t.value=e,t.style.cssText="\n position: fixed;\n top: 0;\n left: 0;\n transform: translate(-100%, -100%);\n opacity: 0;\n z-index: -1;\n ",document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value),document.body.removeChild(t),0))}static isEmail(e){return null!==e.match(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/)}}t.mintUtil=a,t.default=a}},t={};return function i(s){var l=t[s];if(void 0!==l)return l.exports;var n=t[s]={exports:{}};return e[s].call(n.exports,n,n.exports,i),n.exports}(491)})()));
//# sourceMappingURL=index.min.js.map

@@ -150,5 +150,5 @@ (function webpackUniversalModuleDefinition(root, factory) {

if (el) {
focusables = [...el.querySelectorAll(this.focusable)];
focusables = Array.from(el.querySelectorAll(this.focusable));
} else {
focusables = [...document.querySelectorAll(this.focusable)];
focusables = Array.from(document.querySelectorAll(this.focusable));
}

@@ -155,0 +155,0 @@ return focusables.filter(el => this.isFocusable(el));

@@ -1,2 +0,2 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.mintUtil=t():e.mintUtil=t()}(this,(()=>(()=>{"use strict";var e={64:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSide=void 0,(i=t.mintSide||(t.mintSide={}))[i.Top=0]="Top",i[i.Right=1]="Right",i[i.Bottom=2]="Bottom",i[i.Left=3]="Left"},378:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSelectors=void 0;class a{static prefix(e){return(e=e.toLowerCase()).startsWith(this.pre)?e:`${this.pre}${e}`}static cssPrefix(e){return`--${this.prefix(e.replace(/^-+/,""))}`}static cssVar(e){return`var(${this.cssPrefix(e)})`}static neg(e){return`:not(${e})`}static class(e){return`.${this.prefix(e)}`}static id(e){return`#${this.prefix(e)}`}static controls(e){return e?`[aria-controls="${this.prefix(e)}"]`:this.hasControls}static expanded(e){return"boolean"==typeof e?`[aria-expanded="${e}"]`:this.hasExpanded}static getId(e){var t;return null!==(t=this.ids[null!=e?e:-1])&&void 0!==t?t:""}static getClass(e,t){var i,a;return t?null!==(i=this.classes[t][null!=e?e:-1])&&void 0!==i?i:"":null!==(a=this.classes[null!=e?e:-1])&&void 0!==a?a:""}static getFocusables(e){let t;return t=e?[...e.querySelectorAll(this.focusable)]:[...document.querySelectorAll(this.focusable)],t.filter((e=>this.isFocusable(e)))}static isFocusable(e){let t=e;do{if("none"===window.getComputedStyle(t).getPropertyValue("display").toLowerCase())return!1;t=t.parentElement}while(t);return!0}}t.mintSelectors=a,i=a,a.lib="mint",a.pre=`${i.lib}-`,a.disabled="[disabled]",a.hasControls="[aria-controls]",a.hasExpanded="[aria-expanded]",a.hasLink="[href]",a.hasRouterLink="[routerLink]",a.hasId="[id]",a.notTabbable='[tabindex^="-"]',a.tabbable=`[tabindex]${i.neg(i.notTabbable)}`,a.focusable=`input${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n select${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n textarea${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n button${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n object${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n a${i.hasLink}, a${i.hasRouterLink},\n area${i.hasLink},\n ${i.tabbable}`.replace(/\s/g,""),a.subMenuButtons=`button${i.hasControls}`,a.subMenu=`${i.subMenuButtons} + ul${i.hasId}`,a.ids={header:i.prefix("header"),logo:i.prefix("logo"),wrapper:i.prefix("wrapper"),mainContent:i.prefix("main-content")},a.classes={sides:{top:i.prefix("top"),right:i.prefix("right"),bottom:i.prefix("bottom"),left:i.prefix("left")},srOnly:i.prefix("sr-only"),js:i.prefix("js"),ready:i.prefix("ready"),fixed:i.prefix("fixed"),open:i.prefix("open")},t.default=a},110:(e,t,i)=>{var a;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSettings=void 0;const s=i(64),l=i(378);class n{static set(e){let t=!1;"number"==typeof e.delayBase&&(this.delayBase=e.delayBase,t=!0),"number"==typeof e.delayStep&&(this.delayStep=e.delayStep,t=!0),t&&this.setDelay(),e.delay&&Object.keys(e.delay).length&&Object.values(e.delay).reduce(((e,t)=>e&&"number"==typeof t),!0)&&(this.delay=Object.assign(Object.assign({},this.delay),e.delay)),"number"==typeof e.from&&this.setFrom(e.from),"boolean"==typeof e.fixed&&this.setFixed(e.fixed)}static setDelay(){this.delay={instant:this.delayBase+0*this.delayStep,fast:this.delayBase+1*this.delayStep,medFast:this.delayBase+2*this.delayStep,default:this.delayBase+3*this.delayStep,medSlow:this.delayBase+4*this.delayStep,slow:this.delayBase+5*this.delayStep}}static setFrom(e){if(this.from!==e){this.from=e;let t=document.getElementById(l.mintSelectors.getId("header"));null==t||t.classList.remove(...Object.values(l.mintSelectors.classes.sides)),null==t||t.classList.add(l.mintSelectors.getClass(s.mintSide[this.from].toLowerCase(),"sides"))}}static setFixed(e){if(this.fixed!==e){this.fixed=e;let t=document.getElementById(l.mintSelectors.getId("header")),i=l.mintSelectors.getClass("fixed");this.fixed?null==t||t.classList.add(i):null==t||t.classList.remove(i)}}}t.mintSettings=n,a=n,n.delayBase=0,n.delayStep=100,n.delay={instant:a.delayBase+0*a.delayStep,fast:a.delayBase+1*a.delayStep,medFast:a.delayBase+2*a.delayStep,default:a.delayBase+3*a.delayStep,medSlow:a.delayBase+4*a.delayStep,slow:a.delayBase+5*a.delayStep},t.default=n},427:function(e,t,i){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintUtil=void 0;const s=i(64),l=a(i(110));class n{static windowWidth(){const e=document.body.getBoundingClientRect().width%1;return window.innerWidth+e}static debounce(e){let t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default;return function(a){t&&clearTimeout(t),t=setTimeout(e,i,a)}}static debounceEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default;return n.debounce(e,t)}static throttle(e){let t,i,a,s,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,d=arguments.length>2?arguments[2]:void 0,o=0,r=function(){o=!1===(null==d?void 0:d.leading)?0:(new Date).getTime(),s=0,a=e.apply(t,i),s||(t=i=null)};return function(){let l=(new Date).getTime();o||!1!==(null==d?void 0:d.leading)||(o=l);let u=n-l+o;return t=this,i=arguments,u<=0||u>n?(s&&(clearTimeout(s),s=0),o=l,a=e.apply(t,i),s||(t=i=null)):s||!1===(null==d?void 0:d.trailing)||(s=window.setTimeout(r,u)),a}}static throttleEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,i=arguments.length>2?arguments[2]:void 0;return n.throttle(e,t,i)}static show(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.mintSide.Top;e&&(e.style.display="",requestAnimationFrame((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height=`${e.scrollHeight}px`:e.style.width=`${e.scrollWidth}px`,setTimeout((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height="auto":e.style.width="auto"}),t)})))}static hide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.mintSide.Top;if(e){let a=e.scrollHeight,l=e.scrollWidth,n=e.style.transition;e.style.transition="",requestAnimationFrame((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height=`${a}px`:e.style.width=`${l}px`,e.style.transition=n,requestAnimationFrame((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height="0":e.style.width="0"}))})),setTimeout((()=>{e.style.display="none"}),t)}}static copyText(e){let t=document.createElement("textarea");return!(!e||!t||(t.value=e,t.style.cssText="\n position: fixed;\n top: 0;\n left: 0;\n transform: translate(-100%, -100%);\n opacity: 0;\n z-index: -1;\n ",document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value),document.body.removeChild(t),0))}static isEmail(e){return null!==e.match(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/)}}t.mintUtil=n,t.default=n}},t={},i=function i(a){var s=t[a];if(void 0!==s)return s.exports;var l=t[a]={exports:{}};return e[a].call(l.exports,l,l.exports,i),l.exports}(427);return i.default})()));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.mintUtil=t():e.mintUtil=t()}(this,(()=>(()=>{"use strict";var e={64:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSide=void 0,(i=t.mintSide||(t.mintSide={}))[i.Top=0]="Top",i[i.Right=1]="Right",i[i.Bottom=2]="Bottom",i[i.Left=3]="Left"},378:(e,t)=>{var i;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSelectors=void 0;class a{static prefix(e){return(e=e.toLowerCase()).startsWith(this.pre)?e:`${this.pre}${e}`}static cssPrefix(e){return`--${this.prefix(e.replace(/^-+/,""))}`}static cssVar(e){return`var(${this.cssPrefix(e)})`}static neg(e){return`:not(${e})`}static class(e){return`.${this.prefix(e)}`}static id(e){return`#${this.prefix(e)}`}static controls(e){return e?`[aria-controls="${this.prefix(e)}"]`:this.hasControls}static expanded(e){return"boolean"==typeof e?`[aria-expanded="${e}"]`:this.hasExpanded}static getId(e){var t;return null!==(t=this.ids[null!=e?e:-1])&&void 0!==t?t:""}static getClass(e,t){var i,a;return t?null!==(i=this.classes[t][null!=e?e:-1])&&void 0!==i?i:"":null!==(a=this.classes[null!=e?e:-1])&&void 0!==a?a:""}static getFocusables(e){let t;return t=e?Array.from(e.querySelectorAll(this.focusable)):Array.from(document.querySelectorAll(this.focusable)),t.filter((e=>this.isFocusable(e)))}static isFocusable(e){let t=e;do{if("none"===window.getComputedStyle(t).getPropertyValue("display").toLowerCase())return!1;t=t.parentElement}while(t);return!0}}t.mintSelectors=a,i=a,a.lib="mint",a.pre=`${i.lib}-`,a.disabled="[disabled]",a.hasControls="[aria-controls]",a.hasExpanded="[aria-expanded]",a.hasLink="[href]",a.hasRouterLink="[routerLink]",a.hasId="[id]",a.notTabbable='[tabindex^="-"]',a.tabbable=`[tabindex]${i.neg(i.notTabbable)}`,a.focusable=`input${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n select${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n textarea${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n button${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n object${i.neg(i.disabled)}${i.neg(i.notTabbable)},\n a${i.hasLink}, a${i.hasRouterLink},\n area${i.hasLink},\n ${i.tabbable}`.replace(/\s/g,""),a.subMenuButtons=`button${i.hasControls}`,a.subMenu=`${i.subMenuButtons} + ul${i.hasId}`,a.ids={header:i.prefix("header"),logo:i.prefix("logo"),wrapper:i.prefix("wrapper"),mainContent:i.prefix("main-content")},a.classes={sides:{top:i.prefix("top"),right:i.prefix("right"),bottom:i.prefix("bottom"),left:i.prefix("left")},srOnly:i.prefix("sr-only"),js:i.prefix("js"),ready:i.prefix("ready"),fixed:i.prefix("fixed"),open:i.prefix("open")},t.default=a},110:(e,t,i)=>{var a;Object.defineProperty(t,"__esModule",{value:!0}),t.mintSettings=void 0;const s=i(64),l=i(378);class n{static set(e){let t=!1;"number"==typeof e.delayBase&&(this.delayBase=e.delayBase,t=!0),"number"==typeof e.delayStep&&(this.delayStep=e.delayStep,t=!0),t&&this.setDelay(),e.delay&&Object.keys(e.delay).length&&Object.values(e.delay).reduce(((e,t)=>e&&"number"==typeof t),!0)&&(this.delay=Object.assign(Object.assign({},this.delay),e.delay)),"number"==typeof e.from&&this.setFrom(e.from),"boolean"==typeof e.fixed&&this.setFixed(e.fixed)}static setDelay(){this.delay={instant:this.delayBase+0*this.delayStep,fast:this.delayBase+1*this.delayStep,medFast:this.delayBase+2*this.delayStep,default:this.delayBase+3*this.delayStep,medSlow:this.delayBase+4*this.delayStep,slow:this.delayBase+5*this.delayStep}}static setFrom(e){if(this.from!==e){this.from=e;let t=document.getElementById(l.mintSelectors.getId("header"));null==t||t.classList.remove(...Object.values(l.mintSelectors.classes.sides)),null==t||t.classList.add(l.mintSelectors.getClass(s.mintSide[this.from].toLowerCase(),"sides"))}}static setFixed(e){if(this.fixed!==e){this.fixed=e;let t=document.getElementById(l.mintSelectors.getId("header")),i=l.mintSelectors.getClass("fixed");this.fixed?null==t||t.classList.add(i):null==t||t.classList.remove(i)}}}t.mintSettings=n,a=n,n.delayBase=0,n.delayStep=100,n.delay={instant:a.delayBase+0*a.delayStep,fast:a.delayBase+1*a.delayStep,medFast:a.delayBase+2*a.delayStep,default:a.delayBase+3*a.delayStep,medSlow:a.delayBase+4*a.delayStep,slow:a.delayBase+5*a.delayStep},t.default=n},427:function(e,t,i){var a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.mintUtil=void 0;const s=i(64),l=a(i(110));class n{static windowWidth(){const e=document.body.getBoundingClientRect().width%1;return window.innerWidth+e}static debounce(e){let t,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default;return function(a){t&&clearTimeout(t),t=setTimeout(e,i,a)}}static debounceEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default;return n.debounce(e,t)}static throttle(e){let t,i,a,s,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,o=arguments.length>2?arguments[2]:void 0,d=0,r=function(){d=!1===(null==o?void 0:o.leading)?0:(new Date).getTime(),s=0,a=e.apply(t,i),s||(t=i=null)};return function(){let l=(new Date).getTime();d||!1!==(null==o?void 0:o.leading)||(d=l);let u=n-l+d;return t=this,i=arguments,u<=0||u>n?(s&&(clearTimeout(s),s=0),d=l,a=e.apply(t,i),s||(t=i=null)):s||!1===(null==o?void 0:o.trailing)||(s=window.setTimeout(r,u)),a}}static throttleEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,i=arguments.length>2?arguments[2]:void 0;return n.throttle(e,t,i)}static show(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.mintSide.Top;e&&(e.style.display="",requestAnimationFrame((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height=`${e.scrollHeight}px`:e.style.width=`${e.scrollWidth}px`,setTimeout((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height="auto":e.style.width="auto"}),t)})))}static hide(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.default.delay.default,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:s.mintSide.Top;if(e){let a=e.scrollHeight,l=e.scrollWidth,n=e.style.transition;e.style.transition="",requestAnimationFrame((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height=`${a}px`:e.style.width=`${l}px`,e.style.transition=n,requestAnimationFrame((()=>{i===s.mintSide.Top||i===s.mintSide.Bottom?e.style.height="0":e.style.width="0"}))})),setTimeout((()=>{e.style.display="none"}),t)}}static copyText(e){let t=document.createElement("textarea");return!(!e||!t||(t.value=e,t.style.cssText="\n position: fixed;\n top: 0;\n left: 0;\n transform: translate(-100%, -100%);\n opacity: 0;\n z-index: -1;\n ",document.body.appendChild(t),t.select(),t.setSelectionRange(0,99999),navigator.clipboard.writeText(t.value),document.body.removeChild(t),0))}static isEmail(e){return null!==e.match(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/)}}t.mintUtil=n,t.default=n}},t={},i=function i(a){var s=t[a];if(void 0!==s)return s.exports;var l=t[a]={exports:{}};return e[a].call(l.exports,l,l.exports,i),l.exports}(427);return i.default})()));
//# sourceMappingURL=util.min.js.map
{
"name": "@appartmint/mint",
"author": "App Art Mint LLC",
"version": "0.12.26",
"version": "0.12.28",
"license": "MIT",

@@ -22,6 +22,6 @@ "description": "The front-end TS/SCSS framework of App Art Mint",

},
"main": "dist/js/index.min.js",
"types": "dist/js/index.d.ts",
"main": "src/ts/index.ts",
"type": "module",
"files": [
"src/scss/**/*.scss",
"src/**/*.{ts,scss}",
"dist/**/*.{css,js,d.ts,map}"

@@ -48,11 +48,11 @@ ],

"scripts": {
"upgrade:config": "npm up -D @appartmint/config && mint-config",
"upgrade": "npm up -D @appartmint/config && mint-config",
"prepare": "npm-run-all clean bundle",
"bundle": "npm-run-all build build:**",
"preversion": "npm i && npm run test",
"version": "npm publish && git add -A",
"postversion": "git push && git push --tags && npm run endversion --if-present",
"clean": "rimraf $npm_package_config_dirs_dist $npm_package_config_dirs_doc",
"clean": "cross-var rimraf $npm_package_config_dirs_dist $npm_package_config_dirs_doc",
"clear": "npm run clean",
"build": "webpack --config $npm_package_config_webpack",
"bundle": "npm-run-all build build:**",
"build": "cross-var webpack --config $npm_package_config_webpack",
"build:prod": "cross-env NODE_ENV=production npm run build",

@@ -64,10 +64,13 @@ "build:index": "cross-env BUILD_MODE=index npm run build",

"build:tsdoc": "typedoc",
"build:sassdoc": "sassdoc $npm_package_config_dirs_src/$npm_package_config_dirs_scss -p > $npm_package_config_dirs_doc/sassdoc.json",
"serve": "webpack serve --config $npm_package_config_webpack",
"build:sassdoc": "cross-var sassdoc $npm_package_config_dirs_src/$npm_package_config_dirs_scss -p > $npm_package_config_dirs_doc/sassdoc.json",
"serve": "cross-var webpack serve --config $npm_package_config_webpack",
"watch": "npm run build -- --watch",
"test": "echo '\nRun tests here!\n'",
"relink": "npm r -g @appartmint/mint && npm link"
"watch:prod": "cross-env NODE_ENV=production npm run watch",
"watch:tsdoc": "npm run build:tsdoc -- --watch",
"test": "echo-cli \"\\nRun tests here!\\n\"",
"relink": "npm r -g @appartmint/mint && npm link",
"upgrade:config": "npm up -D @appartmint/config && mint-config"
},
"devDependencies": {
"@appartmint/config": "^0.6.5",
"@appartmint/config": "^0.7.0",
"@babel/core": "^7.19.6",

@@ -78,3 +81,5 @@ "@babel/preset-env": "^7.19.4",

"cross-env": "^7.0.3",
"cross-var": "^1.1.0",
"css-loader": "^6.7.1",
"echo-cli": "^2.0.0",
"jasmine-core": "^4.5.0",

@@ -81,0 +86,0 @@ "karma": "^6.4.1",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc