@aegov/design-system
Advanced tools
Comparing version 2.1.5 to 2.2.0
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("AEGov",[],e):"object"==typeof exports?exports.AEGov=e():t.AEGov=e()}(self,(function(){return function(){"use strict";var t={101:function(t,e,i){i.r(e),e.default=class{_eventType;_eventFunctions;constructor(t,e){this._eventType=t,this._eventFunctions=e}init(){this._eventFunctions.forEach((t=>{"undefined"!=typeof window&&window.addEventListener(this._eventType,t)}))}}},915:function(t,e,i){i.r(e),i.d(e,{afterMain:function(){return E},afterRead:function(){return b},afterWrite:function(){return x},applyStyles:function(){return D},arrow:function(){return Z},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return _},beforeRead:function(){return m},beforeWrite:function(){return O},bottom:function(){return o},clippingParents:function(){return u},computeStyles:function(){return it},createPopper:function(){return Ct},createPopperBase:function(){return Pt},createPopperLite:function(){return Dt},detectOverflow:function(){return mt},end:function(){return l},eventListeners:function(){return ot},flip:function(){return yt},hide:function(){return wt},left:function(){return s},main:function(){return w},modifierPhases:function(){return A},offset:function(){return Et},placements:function(){return v},popper:function(){return f},popperGenerator:function(){return Tt},popperOffsets:function(){return Ot},preventOverflow:function(){return Lt},read:function(){return y},reference:function(){return h},right:function(){return r},start:function(){return d},top:function(){return n},variationPlacements:function(){return g},viewport:function(){return p},write:function(){return L}});var n="top",o="bottom",r="right",s="left",a="auto",c=[n,o,r,s],d="start",l="end",u="clippingParents",p="viewport",f="popper",h="reference",g=c.reduce((function(t,e){return t.concat([e+"-"+d,e+"-"+l])}),[]),v=[].concat(c,[a]).reduce((function(t,e){return t.concat([e,e+"-"+d,e+"-"+l])}),[]),m="beforeRead",y="read",b="afterRead",_="beforeMain",w="main",E="afterMain",O="beforeWrite",L="write",x="afterWrite",A=[m,y,b,_,w,E,O,L,x];function k(t){return t?(t.nodeName||"").toLowerCase():null}function j(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function T(t){return t instanceof j(t).Element||t instanceof Element}function P(t){return t instanceof j(t).HTMLElement||t instanceof HTMLElement}function C(t){return"undefined"!=typeof ShadowRoot&&(t instanceof j(t).ShadowRoot||t instanceof ShadowRoot)}var D={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];P(o)&&k(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});P(n)&&k(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function S(t){return t.split("-")[0]}var M=Math.max,H=Math.min,I=Math.round;function B(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(B())}function V(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,r=1;e&&P(t)&&(o=t.offsetWidth>0&&I(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&I(n.height)/t.offsetHeight||1);var s=(T(t)?j(t):window).visualViewport,a=!q()&&i,c=(n.left+(a&&s?s.offsetLeft:0))/o,d=(n.top+(a&&s?s.offsetTop:0))/r,l=n.width/o,u=n.height/r;return{width:l,height:u,top:d,right:c+l,bottom:d+u,left:c,x:c,y:d}}function W(t){var e=V(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function R(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&C(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(t){return j(t).getComputedStyle(t)}function F(t){return["table","td","th"].indexOf(k(t))>=0}function G(t){return((T(t)?t.ownerDocument:t.document)||window.document).documentElement}function N(t){return"html"===k(t)?t:t.assignedSlot||t.parentNode||(C(t)?t.host:null)||G(t)}function K(t){return P(t)&&"fixed"!==z(t).position?t.offsetParent:null}function U(t){for(var e=j(t),i=K(t);i&&F(i)&&"static"===z(i).position;)i=K(i);return i&&("html"===k(i)||"body"===k(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(B());if(/Trident/i.test(B())&&P(t)&&"fixed"===z(t).position)return null;var i=N(t);for(C(i)&&(i=i.host);P(i)&&["html","body"].indexOf(k(i))<0;){var n=z(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return M(t,H(e,i))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,d=t.options,l=i.elements.arrow,u=i.modifiersData.popperOffsets,p=S(i.placement),f=X(p),h=[s,r].indexOf(p)>=0?"height":"width";if(l&&u){var g=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,c))}(d.padding,i),v=W(l),m="y"===f?n:s,y="y"===f?o:r,b=i.rects.reference[h]+i.rects.reference[f]-u[f]-i.rects.popper[h],_=u[f]-i.rects.reference[f],w=U(l),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,O=b/2-_/2,L=g[m],x=E-v[h]-g[y],A=E/2-v[h]/2+O,k=Y(L,A,x),j=f;i.modifiersData[a]=((e={})[j]=k,e.centerOffset=k-A,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&R(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,a=t.popperRect,c=t.placement,d=t.variation,u=t.offsets,p=t.position,f=t.gpuAcceleration,h=t.adaptive,g=t.roundOffsets,v=t.isFixed,m=u.x,y=void 0===m?0:m,b=u.y,_=void 0===b?0:b,w="function"==typeof g?g({x:y,y:_}):{x:y,y:_};y=w.x,_=w.y;var E=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),L=s,x=n,A=window;if(h){var k=U(i),T="clientHeight",P="clientWidth";k===j(i)&&"static"!==z(k=G(i)).position&&"absolute"===p&&(T="scrollHeight",P="scrollWidth"),(c===n||(c===s||c===r)&&d===l)&&(x=o,_-=(v&&k===A&&A.visualViewport?A.visualViewport.height:k[T])-a.height,_*=f?1:-1),c!==s&&(c!==n&&c!==o||d!==l)||(L=r,y-=(v&&k===A&&A.visualViewport?A.visualViewport.width:k[P])-a.width,y*=f?1:-1)}var C,D=Object.assign({position:p},h&&tt),S=!0===g?function(t,e){var i=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:I(i*o)/o||0,y:I(n*o)/o||0}}({x:y,y:_},j(i)):{x:y,y:_};return y=S.x,_=S.y,f?Object.assign({},D,((C={})[x]=O?"0":"",C[L]=E?"0":"",C.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+_+"px)":"translate3d("+y+"px, "+_+"px, 0)",C)):Object.assign({},D,((e={})[x]=O?_+"px":"",e[L]=E?y+"px":"",e.transform="",e))}var it={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,r=i.adaptive,s=void 0===r||r,a=i.roundOffsets,c=void 0===a||a,d={placement:S(e.placement),variation:$(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0},ot={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,r=void 0===o||o,s=n.resize,a=void 0===s||s,c=j(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach((function(t){t.addEventListener("scroll",i.update,nt)})),a&&c.addEventListener("resize",i.update,nt),function(){r&&d.forEach((function(t){t.removeEventListener("scroll",i.update,nt)})),a&&c.removeEventListener("resize",i.update,nt)}},data:{}},rt={left:"right",right:"left",bottom:"top",top:"bottom"};function st(t){return t.replace(/left|right|bottom|top/g,(function(t){return rt[t]}))}var at={start:"end",end:"start"};function ct(t){return t.replace(/start|end/g,(function(t){return at[t]}))}function dt(t){var e=j(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lt(t){return V(G(t)).left+dt(t).scrollLeft}function ut(t){var e=z(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function pt(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:P(t)&&ut(t)?t:pt(N(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=pt(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),r=j(n),s=o?[r].concat(r.visualViewport||[],ut(n)?n:[]):n,a=e.concat(s);return o?a:a.concat(ft(N(s)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gt(t,e,i){return e===p?ht(function(t,e){var i=j(t),n=G(t),o=i.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var d=q();(d||!d&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+lt(t),y:c}}(t,i)):T(e)?function(t,e){var i=V(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ht(function(t){var e,i=G(t),n=dt(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=M(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=M(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+lt(t),c=-n.scrollTop;return"rtl"===z(o||i).direction&&(a+=M(i.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(G(t)))}function vt(t){var e,i=t.reference,a=t.element,c=t.placement,u=c?S(c):null,p=c?$(c):null,f=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2;switch(u){case n:e={x:f,y:i.y-a.height};break;case o:e={x:f,y:i.y+i.height};break;case r:e={x:i.x+i.width,y:h};break;case s:e={x:i.x-a.width,y:h};break;default:e={x:i.x,y:i.y}}var g=u?X(u):null;if(null!=g){var v="y"===g?"height":"width";switch(p){case d:e[g]=e[g]-(i[v]/2-a[v]/2);break;case l:e[g]=e[g]+(i[v]/2-a[v]/2)}}return e}function mt(t,e){void 0===e&&(e={});var i=e,s=i.placement,a=void 0===s?t.placement:s,d=i.strategy,l=void 0===d?t.strategy:d,g=i.boundary,v=void 0===g?u:g,m=i.rootBoundary,y=void 0===m?p:m,b=i.elementContext,_=void 0===b?f:b,w=i.altBoundary,E=void 0!==w&&w,O=i.padding,L=void 0===O?0:O,x=J("number"!=typeof L?L:Q(L,c)),A=_===f?h:f,j=t.rects.popper,C=t.elements[E?A:_],D=function(t,e,i,n){var o="clippingParents"===e?function(t){var e=ft(N(t)),i=["absolute","fixed"].indexOf(z(t).position)>=0&&P(t)?U(t):t;return T(i)?e.filter((function(t){return T(t)&&R(t,i)&&"body"!==k(t)})):[]}(t):[].concat(e),r=[].concat(o,[i]),s=r[0],a=r.reduce((function(e,i){var o=gt(t,i,n);return e.top=M(o.top,e.top),e.right=H(o.right,e.right),e.bottom=H(o.bottom,e.bottom),e.left=M(o.left,e.left),e}),gt(t,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(T(C)?C:C.contextElement||G(t.elements.popper),v,y,l),S=V(t.elements.reference),I=vt({reference:S,element:j,strategy:"absolute",placement:a}),B=ht(Object.assign({},j,I)),q=_===f?B:S,W={top:D.top-q.top+x.top,bottom:q.bottom-D.bottom+x.bottom,left:D.left-q.left+x.left,right:q.right-D.right+x.right},F=t.modifiersData.offset;if(_===f&&F){var K=F[a];Object.keys(W).forEach((function(t){var e=[r,o].indexOf(t)>=0?1:-1,i=[n,o].indexOf(t)>=0?"y":"x";W[t]+=K[i]*e}))}return W}var yt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,l=t.name;if(!e.modifiersData[l]._skip){for(var u=i.mainAxis,p=void 0===u||u,f=i.altAxis,h=void 0===f||f,m=i.fallbackPlacements,y=i.padding,b=i.boundary,_=i.rootBoundary,w=i.altBoundary,E=i.flipVariations,O=void 0===E||E,L=i.allowedAutoPlacements,x=e.options.placement,A=S(x),k=m||(A!==x&&O?function(t){if(S(t)===a)return[];var e=st(t);return[ct(t),e,ct(e)]}(x):[st(x)]),j=[x].concat(k).reduce((function(t,i){return t.concat(S(i)===a?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,r=i.rootBoundary,s=i.padding,a=i.flipVariations,d=i.allowedAutoPlacements,l=void 0===d?v:d,u=$(n),p=u?a?g:g.filter((function(t){return $(t)===u})):c,f=p.filter((function(t){return l.indexOf(t)>=0}));0===f.length&&(f=p);var h=f.reduce((function(e,i){return e[i]=mt(t,{placement:i,boundary:o,rootBoundary:r,padding:s})[S(i)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:i,boundary:b,rootBoundary:_,padding:y,flipVariations:O,allowedAutoPlacements:L}):i)}),[]),T=e.rects.reference,P=e.rects.popper,C=new Map,D=!0,M=j[0],H=0;H<j.length;H++){var I=j[H],B=S(I),q=$(I)===d,V=[n,o].indexOf(B)>=0,W=V?"width":"height",R=mt(e,{placement:I,boundary:b,rootBoundary:_,altBoundary:w,padding:y}),z=V?q?r:s:q?o:n;T[W]>P[W]&&(z=st(z));var F=st(z),G=[];if(p&&G.push(R[B]<=0),h&&G.push(R[z]<=0,R[F]<=0),G.every((function(t){return t}))){M=I,D=!1;break}C.set(I,G)}if(D)for(var N=function(t){var e=j.find((function(e){var i=C.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},K=O?3:1;K>0&&"break"!==N(K);K--);e.placement!==M&&(e.modifiersData[l]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function _t(t){return[n,r,o,s].some((function(e){return t[e]>=0}))}var wt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),c=bt(s,n),d=bt(a,o,r),l=_t(c),u=_t(d);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:l,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":u})}},Et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,o=t.name,a=i.offset,c=void 0===a?[0,0]:a,d=v.reduce((function(t,i){return t[i]=function(t,e,i){var o=S(t),a=[s,n].indexOf(o)>=0?-1:1,c="function"==typeof i?i(Object.assign({},e,{placement:t})):i,d=c[0],l=c[1];return d=d||0,l=(l||0)*a,[s,r].indexOf(o)>=0?{x:l,y:d}:{x:d,y:l}}(i,e.rects,c),t}),{}),l=d[e.placement],u=l.x,p=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=p),e.modifiersData[o]=d}},Ot={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=vt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Lt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,c=i.mainAxis,l=void 0===c||c,u=i.altAxis,p=void 0!==u&&u,f=i.boundary,h=i.rootBoundary,g=i.altBoundary,v=i.padding,m=i.tether,y=void 0===m||m,b=i.tetherOffset,_=void 0===b?0:b,w=mt(e,{boundary:f,rootBoundary:h,padding:v,altBoundary:g}),E=S(e.placement),O=$(e.placement),L=!O,x=X(E),A="x"===x?"y":"x",k=e.modifiersData.popperOffsets,j=e.rects.reference,T=e.rects.popper,P="function"==typeof _?_(Object.assign({},e.rects,{placement:e.placement})):_,C="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(k){if(l){var B,q="y"===x?n:s,V="y"===x?o:r,R="y"===x?"height":"width",z=k[x],F=z+w[q],G=z-w[V],N=y?-T[R]/2:0,K=O===d?j[R]:T[R],J=O===d?-T[R]:-j[R],Q=e.elements.arrow,Z=y&&Q?W(Q):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[q],it=tt[V],nt=Y(0,j[R],Z[R]),ot=L?j[R]/2-N-nt-et-C.mainAxis:K-nt-et-C.mainAxis,rt=L?-j[R]/2+N+nt+it+C.mainAxis:J+nt+it+C.mainAxis,st=e.elements.arrow&&U(e.elements.arrow),at=st?"y"===x?st.clientTop||0:st.clientLeft||0:0,ct=null!=(B=null==D?void 0:D[x])?B:0,dt=z+rt-ct,lt=Y(y?H(F,z+ot-ct-at):F,z,y?M(G,dt):G);k[x]=lt,I[x]=lt-z}if(p){var ut,pt="x"===x?n:s,ft="x"===x?o:r,ht=k[A],gt="y"===A?"height":"width",vt=ht+w[pt],yt=ht-w[ft],bt=-1!==[n,s].indexOf(E),_t=null!=(ut=null==D?void 0:D[A])?ut:0,wt=bt?vt:ht-j[gt]-T[gt]-_t+C.altAxis,Et=bt?ht+j[gt]+T[gt]-_t-C.altAxis:yt,Ot=y&&bt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(wt,ht,Et):Y(y?wt:vt,ht,y?Et:yt);k[A]=Ot,I[A]=Ot-ht}e.modifiersData[a]=I}},requiresIfExists:["offset"]};function xt(t,e,i){void 0===i&&(i=!1);var n,o,r=P(e),s=P(e)&&function(t){var e=t.getBoundingClientRect(),i=I(e.width)/t.offsetWidth||1,n=I(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=G(e),c=V(t,s,i),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!i)&&(("body"!==k(e)||ut(a))&&(d=(n=e)!==j(n)&&P(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:dt(n)),P(e)?((l=V(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=lt(a))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function At(t){var e=new Map,i=new Set,n=[];function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||o(t)})),n}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function jt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Tt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,o=e.defaultOptions,r=void 0===o?kt:o;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],d=!1,l={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:T(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var s,d,p=function(t){var e=At(t);return A.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((s=[].concat(n,a.options.modifiers),d=s.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(d).map((function(t){return d[t]}))));return a.orderedModifiers=p.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,o=t.effect;if("function"==typeof o){var r=o({state:a,name:e,instance:l,options:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!d){var t=a.elements,e=t.reference,i=t.popper;if(jt(e,i)){a.rects={reference:xt(e,U(i),"fixed"===a.options.strategy),popper:W(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var o=a.orderedModifiers[n],r=o.fn,s=o.options,c=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:c,name:u,instance:l})||a)}else a.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){u(),d=!0}};if(!jt(t,e))return l;function u(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(i).then((function(t){!d&&i.onFirstUpdate&&i.onFirstUpdate(t)})),l}}var Pt=Tt(),Ct=Tt({defaultModifiers:[ot,Ot,it,D,Et,yt,Lt,Z,wt]}),Dt=Tt({defaultModifiers:[ot,Ot,it,D]})},251:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initAccordions=void 0;var n={alwaysOpen:!1,activeClasses:"accordion-active",inactiveClasses:"accordion-inactive",onOpen:function(){},onClose:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&this._items.map((function(e){e.active&&t.open(e.id),e.triggerEl.addEventListener("click",(function(){t.toggle(e.id)}))}))},t.prototype.getItem=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.open=function(t){var e,i,n=this,o=this.getItem(t);this._options.alwaysOpen||this._items.map((function(t){var e,i;t!==o&&((e=t.triggerEl.classList).remove.apply(e,n._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,n._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-expanded","false"),t.active=!1)})),(e=o.triggerEl.classList).add.apply(e,this._options.activeClasses.split(" ")),(i=o.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-expanded","true"),o.targetEl.classList.remove("hidden"),o.active=!0,this._options.onOpen(this,o)},t.prototype.toggle=function(t){var e=this.getItem(t);e.active?this.close(t):this.open(t),this._options.onToggle(this,e)},t.prototype.close=function(t){var e,i,n=this.getItem(t);(e=n.triggerEl.classList).remove.apply(e,this._options.activeClasses.split(" ")),(i=n.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,this._options.onClose(this,n)},t}();"undefined"!=typeof window&&(window.Accordion=o),e.initAccordions=function(){document.querySelectorAll("[data-accordion]").forEach((function(t){var e=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),r=t.getAttribute("data-inactive-classes"),s=[];t.querySelectorAll("[data-accordion-target]").forEach((function(e){if(e.closest("[data-accordion]")===t){var i={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),active:"true"===e.getAttribute("aria-expanded")};s.push(i)}})),new o(s,{alwaysOpen:"open"===e,activeClasses:i||n.activeClasses,inactiveClasses:r||n.inactiveClasses})}))},e.default=o},148:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCollapses=void 0;var n={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible="true"===this._triggerEl.getAttribute("aria-expanded"):this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",(function(){t.toggle()})))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function r(){document.querySelectorAll("[data-collapse-toggle]").forEach((function(t){var e=t.getAttribute("data-collapse-toggle"),i=document.getElementById(e);i?new o(i,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))}))}e.initCollapses=r,"undefined"!=typeof window&&(window.Collapse=o,window.initCollapses=r),e.default=o},989:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDismisses=void 0;var n={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",(function(){t.hide()}))},t.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout((function(){t._targetEl.classList.add("hidden")}),this._options.duration),this._options.onHide(this,this._targetEl)},t}();function r(){document.querySelectorAll("[data-dismiss-target]").forEach((function(t){var e=t.getAttribute("data-dismiss-target"),i=document.querySelector(e);i?new o(i,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))}))}e.initDismisses=r,"undefined"!=typeof window&&(window.Dismiss=o,window.initDismisses=r),e.default=o},830:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDrawers=void 0;var n={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"aegov-drawer-backdrop",onShow:function(){},onHide:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map((function(e){t._targetEl.classList.add(e)})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.isVisible()&&t.hide()}))},t.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.add(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.add(e)}))),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.remove(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.remove(e)}))),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var t,e=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(t=i.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",(function(){e.hide()}))}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),r=function(t,e){if(e.some((function(e){return e.id===t})))return e.find((function(e){return e.id===t}))};function s(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach((function(e){var i=e.getAttribute("data-drawer-target"),s=document.getElementById(i);if(s){var a=e.getAttribute("data-drawer-placement"),c=e.getAttribute("data-drawer-body-scrolling"),d=e.getAttribute("data-drawer-backdrop"),l=e.getAttribute("data-drawer-edge"),u=e.getAttribute("data-drawer-edge-offset");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,bodyScrolling:c?"true"===c:n.bodyScrolling,backdrop:d?"true"===d:n.backdrop,edge:l?"true"===l:n.edge,edgeOffset:u||n.edgeOffset})})}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-toggle]").forEach((function(e){var i=e.getAttribute("data-drawer-toggle");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.toggle()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach((function(e){var i=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.hide()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))})),document.querySelectorAll("[data-drawer-show]").forEach((function(e){var i=e.getAttribute("data-drawer-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.show()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}))}e.initDrawers=s,"undefined"!=typeof window&&(window.Drawer=o,window.initDrawers=s),e.default=o},270:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initDropdowns=void 0;var r=i(915),s={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();"click"===this._options.triggerType&&e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.toggle()}))})),"hover"===this._options.triggerType&&(e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){"click"===e?t.toggle():setTimeout((function(){t.show()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){setTimeout((function(){t._targetEl.matches(":hover")||t.hide()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){setTimeout((function(){t._triggerEl.matches(":hover")||t.hide()}),t._options.delay)}))})))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":default:return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-dropdown-toggle]").forEach((function(t){var e=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),c=t.getAttribute("data-dropdown-trigger"),d=t.getAttribute("data-dropdown-delay");new a(i,t,{placement:n||s.placement,triggerType:c||s.triggerType,offsetSkidding:o?parseInt(o):s.offsetSkidding,offsetDistance:r?parseInt(r):s.offsetDistance,delay:d?parseInt(d):s.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))}))}e.initDropdowns=c,"undefined"!=typeof window&&(window.Dropdown=a,window.initDropdowns=c),e.default=a},606:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.initAEGov=void 0;var n=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);function u(){(0,n.initAccordions)(),(0,o.initCollapses)(),(0,r.initDismisses)(),(0,a.initDropdowns)(),(0,c.initModals)(),(0,s.initDrawers)(),(0,d.initTabs)(),(0,l.initTooltips)()}e.initAEGov=u,"undefined"!=typeof window&&(window.initAEGov=u)},940:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initModals=void 0;var n={placement:"center",backdropClasses:"aegov-modal-backdrop",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map((function(e){t._targetEl.classList.add(e)}))},t.prototype._createBackdrop=function(){var t;if(this._isHidden){var e=document.createElement("div");e.setAttribute("modal-backdrop",""),(t=e.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(e),this._backdropEl=e}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var t=this;"dynamic"===this._options.backdrop&&(this._clickOutsideEventListener=function(e){t._handleOutsideClick(e.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){"dynamic"===this._options.backdrop&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":default:return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),r=function(t,e){return e.some((function(e){return e.id===t}))?e.find((function(e){return e.id===t})):null};function s(){var t=[];document.querySelectorAll("[data-modal-target]").forEach((function(e){var i=e.getAttribute("data-modal-target"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))})),document.querySelectorAll("[data-modal-toggle]").forEach((function(e){var i=e.getAttribute("data-modal-toggle"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop"),d=r(i,t);d||(d={id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})},t.push(d)),e.addEventListener("click",(function(){d.object.toggle()}))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-show]").forEach((function(e){var i=e.getAttribute("data-modal-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isHidden&&n.object.show()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-hide]").forEach((function(e){var i=e.getAttribute("data-modal-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isVisible&&n.object.hide()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))}))}e.initModals=s,"undefined"!=typeof window&&(window.Modal=o,window.initModals=s),e.default=o},231:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initTabs=void 0;var n={defaultTabId:null,activeClasses:"tab-active",inactiveClasses:"tab-inactive",onShow:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._activeTab=e?this.getTab(e.defaultTabId):null,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map((function(e){e.triggerEl.addEventListener("click",(function(){t.show(e.id)}))})))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(t){this._activeTab=t},t.prototype.getTab=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.show=function(t,e){var i,n,o=this;void 0===e&&(e=!1);var r=this.getTab(t);(r!==this._activeTab||e)&&(this._items.map((function(t){var e,i;t!==r&&((e=t.triggerEl.classList).remove.apply(e,o._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,o._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-selected","false"))})),(i=r.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(n=r.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-selected","true"),r.targetEl.classList.remove("hidden"),this._setActiveTab(r),this._options.onShow(this,r))},t}();function r(){document.querySelectorAll("[data-tabs-toggle]").forEach((function(t){var e=[],i=null;t.querySelectorAll('[role="tab"]').forEach((function(t){var n="true"===t.getAttribute("aria-selected"),o={id:t.getAttribute("data-tabs-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-tabs-target"))};e.push(o),n&&(i=o.id)})),new o(e,{defaultTabId:i})}))}e.initTabs=r,"undefined"!=typeof window&&(window.Tabs=o,window.initTabs=r),e.default=o},990:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initTooltips=void 0;var r=i(915),s={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.hide()}))}))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-tooltip-target]").forEach((function(t){var e=t.getAttribute("data-tooltip-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new a(i,t,{placement:o||s.placement,triggerType:n||s.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))}))}e.initTooltips=c,"undefined"!=typeof window&&(window.Tooltip=a,window.initTooltips=c),e.default=a}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){var t=n;Object.defineProperty(t,"__esModule",{value:!0});var e=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);i(606),new(i(101).default)("load",[e.initAccordions,o.initCollapses,r.initDismisses,a.initDropdowns,c.initModals,s.initDrawers,d.initTabs,l.initTooltips]).init(),t.default={Accordion:e.default,Collapse:o.default,Dismiss:r.default,Dropdown:a.default,Modal:c.default,Drawer:s.default,Tabs:d.default,Tooltip:l.default}}(),n}()})); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("AEGov",[],e):"object"==typeof exports?exports.AEGov=e():t.AEGov=e()}(self,(function(){return function(){"use strict";var t={101:function(t,e,i){i.r(e),e.default=class{_eventType;_eventFunctions;constructor(t,e){this._eventType=t,this._eventFunctions=e}init(){this._eventFunctions.forEach((t=>{"undefined"!=typeof window&&window.addEventListener(this._eventType,t)}))}}},915:function(t,e,i){i.r(e),i.d(e,{afterMain:function(){return E},afterRead:function(){return b},afterWrite:function(){return x},applyStyles:function(){return S},arrow:function(){return Z},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return _},beforeRead:function(){return m},beforeWrite:function(){return O},bottom:function(){return o},clippingParents:function(){return u},computeStyles:function(){return it},createPopper:function(){return Ct},createPopperBase:function(){return Pt},createPopperLite:function(){return St},detectOverflow:function(){return mt},end:function(){return l},eventListeners:function(){return ot},flip:function(){return yt},hide:function(){return wt},left:function(){return s},main:function(){return w},modifierPhases:function(){return A},offset:function(){return Et},placements:function(){return v},popper:function(){return f},popperGenerator:function(){return Tt},popperOffsets:function(){return Ot},preventOverflow:function(){return Lt},read:function(){return y},reference:function(){return h},right:function(){return r},start:function(){return d},top:function(){return n},variationPlacements:function(){return g},viewport:function(){return p},write:function(){return L}});var n="top",o="bottom",r="right",s="left",a="auto",c=[n,o,r,s],d="start",l="end",u="clippingParents",p="viewport",f="popper",h="reference",g=c.reduce((function(t,e){return t.concat([e+"-"+d,e+"-"+l])}),[]),v=[].concat(c,[a]).reduce((function(t,e){return t.concat([e,e+"-"+d,e+"-"+l])}),[]),m="beforeRead",y="read",b="afterRead",_="beforeMain",w="main",E="afterMain",O="beforeWrite",L="write",x="afterWrite",A=[m,y,b,_,w,E,O,L,x];function k(t){return t?(t.nodeName||"").toLowerCase():null}function j(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function T(t){return t instanceof j(t).Element||t instanceof Element}function P(t){return t instanceof j(t).HTMLElement||t instanceof HTMLElement}function C(t){return"undefined"!=typeof ShadowRoot&&(t instanceof j(t).ShadowRoot||t instanceof ShadowRoot)}var S={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];P(o)&&k(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});P(n)&&k(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function D(t){return t.split("-")[0]}var M=Math.max,H=Math.min,I=Math.round;function B(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(B())}function V(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,r=1;e&&P(t)&&(o=t.offsetWidth>0&&I(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&I(n.height)/t.offsetHeight||1);var s=(T(t)?j(t):window).visualViewport,a=!q()&&i,c=(n.left+(a&&s?s.offsetLeft:0))/o,d=(n.top+(a&&s?s.offsetTop:0))/r,l=n.width/o,u=n.height/r;return{width:l,height:u,top:d,right:c+l,bottom:d+u,left:c,x:c,y:d}}function W(t){var e=V(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function R(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&C(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(t){return j(t).getComputedStyle(t)}function F(t){return["table","td","th"].indexOf(k(t))>=0}function N(t){return((T(t)?t.ownerDocument:t.document)||window.document).documentElement}function G(t){return"html"===k(t)?t:t.assignedSlot||t.parentNode||(C(t)?t.host:null)||N(t)}function K(t){return P(t)&&"fixed"!==z(t).position?t.offsetParent:null}function U(t){for(var e=j(t),i=K(t);i&&F(i)&&"static"===z(i).position;)i=K(i);return i&&("html"===k(i)||"body"===k(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(B());if(/Trident/i.test(B())&&P(t)&&"fixed"===z(t).position)return null;var i=G(t);for(C(i)&&(i=i.host);P(i)&&["html","body"].indexOf(k(i))<0;){var n=z(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return M(t,H(e,i))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,d=t.options,l=i.elements.arrow,u=i.modifiersData.popperOffsets,p=D(i.placement),f=X(p),h=[s,r].indexOf(p)>=0?"height":"width";if(l&&u){var g=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,c))}(d.padding,i),v=W(l),m="y"===f?n:s,y="y"===f?o:r,b=i.rects.reference[h]+i.rects.reference[f]-u[f]-i.rects.popper[h],_=u[f]-i.rects.reference[f],w=U(l),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,O=b/2-_/2,L=g[m],x=E-v[h]-g[y],A=E/2-v[h]/2+O,k=Y(L,A,x),j=f;i.modifiersData[a]=((e={})[j]=k,e.centerOffset=k-A,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&R(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,a=t.popperRect,c=t.placement,d=t.variation,u=t.offsets,p=t.position,f=t.gpuAcceleration,h=t.adaptive,g=t.roundOffsets,v=t.isFixed,m=u.x,y=void 0===m?0:m,b=u.y,_=void 0===b?0:b,w="function"==typeof g?g({x:y,y:_}):{x:y,y:_};y=w.x,_=w.y;var E=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),L=s,x=n,A=window;if(h){var k=U(i),T="clientHeight",P="clientWidth";k===j(i)&&"static"!==z(k=N(i)).position&&"absolute"===p&&(T="scrollHeight",P="scrollWidth"),(c===n||(c===s||c===r)&&d===l)&&(x=o,_-=(v&&k===A&&A.visualViewport?A.visualViewport.height:k[T])-a.height,_*=f?1:-1),c!==s&&(c!==n&&c!==o||d!==l)||(L=r,y-=(v&&k===A&&A.visualViewport?A.visualViewport.width:k[P])-a.width,y*=f?1:-1)}var C,S=Object.assign({position:p},h&&tt),D=!0===g?function(t,e){var i=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:I(i*o)/o||0,y:I(n*o)/o||0}}({x:y,y:_},j(i)):{x:y,y:_};return y=D.x,_=D.y,f?Object.assign({},S,((C={})[x]=O?"0":"",C[L]=E?"0":"",C.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+_+"px)":"translate3d("+y+"px, "+_+"px, 0)",C)):Object.assign({},S,((e={})[x]=O?_+"px":"",e[L]=E?y+"px":"",e.transform="",e))}var it={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,r=i.adaptive,s=void 0===r||r,a=i.roundOffsets,c=void 0===a||a,d={placement:D(e.placement),variation:$(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0},ot={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,r=void 0===o||o,s=n.resize,a=void 0===s||s,c=j(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach((function(t){t.addEventListener("scroll",i.update,nt)})),a&&c.addEventListener("resize",i.update,nt),function(){r&&d.forEach((function(t){t.removeEventListener("scroll",i.update,nt)})),a&&c.removeEventListener("resize",i.update,nt)}},data:{}},rt={left:"right",right:"left",bottom:"top",top:"bottom"};function st(t){return t.replace(/left|right|bottom|top/g,(function(t){return rt[t]}))}var at={start:"end",end:"start"};function ct(t){return t.replace(/start|end/g,(function(t){return at[t]}))}function dt(t){var e=j(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lt(t){return V(N(t)).left+dt(t).scrollLeft}function ut(t){var e=z(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function pt(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:P(t)&&ut(t)?t:pt(G(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=pt(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),r=j(n),s=o?[r].concat(r.visualViewport||[],ut(n)?n:[]):n,a=e.concat(s);return o?a:a.concat(ft(G(s)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gt(t,e,i){return e===p?ht(function(t,e){var i=j(t),n=N(t),o=i.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var d=q();(d||!d&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+lt(t),y:c}}(t,i)):T(e)?function(t,e){var i=V(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ht(function(t){var e,i=N(t),n=dt(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=M(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=M(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+lt(t),c=-n.scrollTop;return"rtl"===z(o||i).direction&&(a+=M(i.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(N(t)))}function vt(t){var e,i=t.reference,a=t.element,c=t.placement,u=c?D(c):null,p=c?$(c):null,f=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2;switch(u){case n:e={x:f,y:i.y-a.height};break;case o:e={x:f,y:i.y+i.height};break;case r:e={x:i.x+i.width,y:h};break;case s:e={x:i.x-a.width,y:h};break;default:e={x:i.x,y:i.y}}var g=u?X(u):null;if(null!=g){var v="y"===g?"height":"width";switch(p){case d:e[g]=e[g]-(i[v]/2-a[v]/2);break;case l:e[g]=e[g]+(i[v]/2-a[v]/2)}}return e}function mt(t,e){void 0===e&&(e={});var i=e,s=i.placement,a=void 0===s?t.placement:s,d=i.strategy,l=void 0===d?t.strategy:d,g=i.boundary,v=void 0===g?u:g,m=i.rootBoundary,y=void 0===m?p:m,b=i.elementContext,_=void 0===b?f:b,w=i.altBoundary,E=void 0!==w&&w,O=i.padding,L=void 0===O?0:O,x=J("number"!=typeof L?L:Q(L,c)),A=_===f?h:f,j=t.rects.popper,C=t.elements[E?A:_],S=function(t,e,i,n){var o="clippingParents"===e?function(t){var e=ft(G(t)),i=["absolute","fixed"].indexOf(z(t).position)>=0&&P(t)?U(t):t;return T(i)?e.filter((function(t){return T(t)&&R(t,i)&&"body"!==k(t)})):[]}(t):[].concat(e),r=[].concat(o,[i]),s=r[0],a=r.reduce((function(e,i){var o=gt(t,i,n);return e.top=M(o.top,e.top),e.right=H(o.right,e.right),e.bottom=H(o.bottom,e.bottom),e.left=M(o.left,e.left),e}),gt(t,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(T(C)?C:C.contextElement||N(t.elements.popper),v,y,l),D=V(t.elements.reference),I=vt({reference:D,element:j,strategy:"absolute",placement:a}),B=ht(Object.assign({},j,I)),q=_===f?B:D,W={top:S.top-q.top+x.top,bottom:q.bottom-S.bottom+x.bottom,left:S.left-q.left+x.left,right:q.right-S.right+x.right},F=t.modifiersData.offset;if(_===f&&F){var K=F[a];Object.keys(W).forEach((function(t){var e=[r,o].indexOf(t)>=0?1:-1,i=[n,o].indexOf(t)>=0?"y":"x";W[t]+=K[i]*e}))}return W}var yt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,l=t.name;if(!e.modifiersData[l]._skip){for(var u=i.mainAxis,p=void 0===u||u,f=i.altAxis,h=void 0===f||f,m=i.fallbackPlacements,y=i.padding,b=i.boundary,_=i.rootBoundary,w=i.altBoundary,E=i.flipVariations,O=void 0===E||E,L=i.allowedAutoPlacements,x=e.options.placement,A=D(x),k=m||(A!==x&&O?function(t){if(D(t)===a)return[];var e=st(t);return[ct(t),e,ct(e)]}(x):[st(x)]),j=[x].concat(k).reduce((function(t,i){return t.concat(D(i)===a?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,r=i.rootBoundary,s=i.padding,a=i.flipVariations,d=i.allowedAutoPlacements,l=void 0===d?v:d,u=$(n),p=u?a?g:g.filter((function(t){return $(t)===u})):c,f=p.filter((function(t){return l.indexOf(t)>=0}));0===f.length&&(f=p);var h=f.reduce((function(e,i){return e[i]=mt(t,{placement:i,boundary:o,rootBoundary:r,padding:s})[D(i)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:i,boundary:b,rootBoundary:_,padding:y,flipVariations:O,allowedAutoPlacements:L}):i)}),[]),T=e.rects.reference,P=e.rects.popper,C=new Map,S=!0,M=j[0],H=0;H<j.length;H++){var I=j[H],B=D(I),q=$(I)===d,V=[n,o].indexOf(B)>=0,W=V?"width":"height",R=mt(e,{placement:I,boundary:b,rootBoundary:_,altBoundary:w,padding:y}),z=V?q?r:s:q?o:n;T[W]>P[W]&&(z=st(z));var F=st(z),N=[];if(p&&N.push(R[B]<=0),h&&N.push(R[z]<=0,R[F]<=0),N.every((function(t){return t}))){M=I,S=!1;break}C.set(I,N)}if(S)for(var G=function(t){var e=j.find((function(e){var i=C.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},K=O?3:1;K>0&&"break"!==G(K);K--);e.placement!==M&&(e.modifiersData[l]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function _t(t){return[n,r,o,s].some((function(e){return t[e]>=0}))}var wt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),c=bt(s,n),d=bt(a,o,r),l=_t(c),u=_t(d);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:l,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":u})}},Et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,o=t.name,a=i.offset,c=void 0===a?[0,0]:a,d=v.reduce((function(t,i){return t[i]=function(t,e,i){var o=D(t),a=[s,n].indexOf(o)>=0?-1:1,c="function"==typeof i?i(Object.assign({},e,{placement:t})):i,d=c[0],l=c[1];return d=d||0,l=(l||0)*a,[s,r].indexOf(o)>=0?{x:l,y:d}:{x:d,y:l}}(i,e.rects,c),t}),{}),l=d[e.placement],u=l.x,p=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=p),e.modifiersData[o]=d}},Ot={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=vt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Lt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,c=i.mainAxis,l=void 0===c||c,u=i.altAxis,p=void 0!==u&&u,f=i.boundary,h=i.rootBoundary,g=i.altBoundary,v=i.padding,m=i.tether,y=void 0===m||m,b=i.tetherOffset,_=void 0===b?0:b,w=mt(e,{boundary:f,rootBoundary:h,padding:v,altBoundary:g}),E=D(e.placement),O=$(e.placement),L=!O,x=X(E),A="x"===x?"y":"x",k=e.modifiersData.popperOffsets,j=e.rects.reference,T=e.rects.popper,P="function"==typeof _?_(Object.assign({},e.rects,{placement:e.placement})):_,C="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(k){if(l){var B,q="y"===x?n:s,V="y"===x?o:r,R="y"===x?"height":"width",z=k[x],F=z+w[q],N=z-w[V],G=y?-T[R]/2:0,K=O===d?j[R]:T[R],J=O===d?-T[R]:-j[R],Q=e.elements.arrow,Z=y&&Q?W(Q):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[q],it=tt[V],nt=Y(0,j[R],Z[R]),ot=L?j[R]/2-G-nt-et-C.mainAxis:K-nt-et-C.mainAxis,rt=L?-j[R]/2+G+nt+it+C.mainAxis:J+nt+it+C.mainAxis,st=e.elements.arrow&&U(e.elements.arrow),at=st?"y"===x?st.clientTop||0:st.clientLeft||0:0,ct=null!=(B=null==S?void 0:S[x])?B:0,dt=z+rt-ct,lt=Y(y?H(F,z+ot-ct-at):F,z,y?M(N,dt):N);k[x]=lt,I[x]=lt-z}if(p){var ut,pt="x"===x?n:s,ft="x"===x?o:r,ht=k[A],gt="y"===A?"height":"width",vt=ht+w[pt],yt=ht-w[ft],bt=-1!==[n,s].indexOf(E),_t=null!=(ut=null==S?void 0:S[A])?ut:0,wt=bt?vt:ht-j[gt]-T[gt]-_t+C.altAxis,Et=bt?ht+j[gt]+T[gt]-_t-C.altAxis:yt,Ot=y&&bt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(wt,ht,Et):Y(y?wt:vt,ht,y?Et:yt);k[A]=Ot,I[A]=Ot-ht}e.modifiersData[a]=I}},requiresIfExists:["offset"]};function xt(t,e,i){void 0===i&&(i=!1);var n,o,r=P(e),s=P(e)&&function(t){var e=t.getBoundingClientRect(),i=I(e.width)/t.offsetWidth||1,n=I(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=N(e),c=V(t,s,i),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!i)&&(("body"!==k(e)||ut(a))&&(d=(n=e)!==j(n)&&P(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:dt(n)),P(e)?((l=V(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=lt(a))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function At(t){var e=new Map,i=new Set,n=[];function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||o(t)})),n}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function jt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Tt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,o=e.defaultOptions,r=void 0===o?kt:o;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],d=!1,l={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:T(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var s,d,p=function(t){var e=At(t);return A.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((s=[].concat(n,a.options.modifiers),d=s.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(d).map((function(t){return d[t]}))));return a.orderedModifiers=p.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,o=t.effect;if("function"==typeof o){var r=o({state:a,name:e,instance:l,options:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!d){var t=a.elements,e=t.reference,i=t.popper;if(jt(e,i)){a.rects={reference:xt(e,U(i),"fixed"===a.options.strategy),popper:W(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var o=a.orderedModifiers[n],r=o.fn,s=o.options,c=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:c,name:u,instance:l})||a)}else a.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){u(),d=!0}};if(!jt(t,e))return l;function u(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(i).then((function(t){!d&&i.onFirstUpdate&&i.onFirstUpdate(t)})),l}}var Pt=Tt(),Ct=Tt({defaultModifiers:[ot,Ot,it,S,Et,yt,Lt,Z,wt]}),St=Tt({defaultModifiers:[ot,Ot,it,S]})},251:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initAccordions=function(){document.querySelectorAll("[data-accordion]").forEach((function(t){var e=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),r=t.getAttribute("data-inactive-classes"),s=[];t.querySelectorAll("[data-accordion-target]").forEach((function(e){if(e.closest("[data-accordion]")===t){var i={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),active:"true"===e.getAttribute("aria-expanded")};s.push(i)}})),new o(s,{alwaysOpen:"open"===e,activeClasses:i||n.activeClasses,inactiveClasses:r||n.inactiveClasses})}))};var n={alwaysOpen:!1,activeClasses:"accordion-active",inactiveClasses:"accordion-inactive",onOpen:function(){},onClose:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&this._items.map((function(e){e.active&&t.open(e.id),e.triggerEl.addEventListener("click",(function(){t.toggle(e.id)}))}))},t.prototype.getItem=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.open=function(t){var e,i,n=this,o=this.getItem(t);this._options.alwaysOpen||this._items.map((function(t){var e,i;t!==o&&((e=t.triggerEl.classList).remove.apply(e,n._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,n._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-expanded","false"),t.active=!1)})),(e=o.triggerEl.classList).add.apply(e,this._options.activeClasses.split(" ")),(i=o.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-expanded","true"),o.targetEl.classList.remove("hidden"),o.active=!0,this._options.onOpen(this,o)},t.prototype.toggle=function(t){var e=this.getItem(t);e.active?this.close(t):this.open(t),this._options.onToggle(this,e)},t.prototype.close=function(t){var e,i,n=this.getItem(t);(e=n.triggerEl.classList).remove.apply(e,this._options.activeClasses.split(" ")),(i=n.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,this._options.onClose(this,n)},t}();"undefined"!=typeof window&&(window.Accordion=o),e.default=o},148:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCollapses=r;var n={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible="true"===this._triggerEl.getAttribute("aria-expanded"):this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",(function(){t.toggle()})))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function r(){document.querySelectorAll("[data-collapse-toggle]").forEach((function(t){var e=t.getAttribute("data-collapse-toggle"),i=document.getElementById(e);i?new o(i,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))}))}"undefined"!=typeof window&&(window.Collapse=o,window.initCollapses=r),e.default=o},989:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDismisses=r;var n={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",(function(){t.hide()}))},t.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout((function(){t._targetEl.classList.add("hidden")}),this._options.duration),this._options.onHide(this,this._targetEl)},t}();function r(){document.querySelectorAll("[data-dismiss-target]").forEach((function(t){var e=t.getAttribute("data-dismiss-target"),i=document.querySelector(e);i?new o(i,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))}))}"undefined"!=typeof window&&(window.Dismiss=o,window.initDismisses=r),e.default=o},830:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDrawers=s;var n={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"aegov-drawer-backdrop",onShow:function(){},onHide:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map((function(e){t._targetEl.classList.add(e)})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.isVisible()&&t.hide()}))},t.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.add(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.add(e)}))),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.remove(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.remove(e)}))),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var t,e=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(t=i.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",(function(){e.hide()}))}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),r=function(t,e){if(e.some((function(e){return e.id===t})))return e.find((function(e){return e.id===t}))};function s(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach((function(e){var i=e.getAttribute("data-drawer-target"),s=document.getElementById(i);if(s){var a=e.getAttribute("data-drawer-placement"),c=e.getAttribute("data-drawer-body-scrolling"),d=e.getAttribute("data-drawer-backdrop"),l=e.getAttribute("data-drawer-edge"),u=e.getAttribute("data-drawer-edge-offset");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,bodyScrolling:c?"true"===c:n.bodyScrolling,backdrop:d?"true"===d:n.backdrop,edge:l?"true"===l:n.edge,edgeOffset:u||n.edgeOffset})})}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-toggle]").forEach((function(e){var i=e.getAttribute("data-drawer-toggle");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.toggle()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach((function(e){var i=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.hide()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))})),document.querySelectorAll("[data-drawer-show]").forEach((function(e){var i=e.getAttribute("data-drawer-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.show()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}))}"undefined"!=typeof window&&(window.Drawer=o,window.initDrawers=s),e.default=o},270:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initDropdowns=c;var r=i(915),s={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();"click"===this._options.triggerType&&e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.toggle()}))})),"hover"===this._options.triggerType&&(e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){"click"===e?t.toggle():setTimeout((function(){t.show()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){setTimeout((function(){t._targetEl.matches(":hover")||t.hide()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){setTimeout((function(){t._triggerEl.matches(":hover")||t.hide()}),t._options.delay)}))})))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":default:return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-dropdown-toggle]").forEach((function(t){var e=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),c=t.getAttribute("data-dropdown-trigger"),d=t.getAttribute("data-dropdown-delay");new a(i,t,{placement:n||s.placement,triggerType:c||s.triggerType,offsetSkidding:o?parseInt(o):s.offsetSkidding,offsetDistance:r?parseInt(r):s.offsetDistance,delay:d?parseInt(d):s.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))}))}"undefined"!=typeof window&&(window.Dropdown=a,window.initDropdowns=c),e.default=a},606:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.initAEGov=u;var n=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);function u(){(0,n.initAccordions)(),(0,o.initCollapses)(),(0,r.initDismisses)(),(0,a.initDropdowns)(),(0,c.initModals)(),(0,s.initDrawers)(),(0,d.initTabs)(),(0,l.initTooltips)()}"undefined"!=typeof window&&(window.initAEGov=u)},940:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initModals=s;var n={placement:"center",backdropClasses:"aegov-modal-backdrop",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map((function(e){t._targetEl.classList.add(e)}))},t.prototype._createBackdrop=function(){var t;if(this._isHidden){var e=document.createElement("div");e.setAttribute("modal-backdrop",""),(t=e.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(e),this._backdropEl=e}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var t=this;"dynamic"===this._options.backdrop&&(this._clickOutsideEventListener=function(e){t._handleOutsideClick(e.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){"dynamic"===this._options.backdrop&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":default:return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),r=function(t,e){return e.some((function(e){return e.id===t}))?e.find((function(e){return e.id===t})):null};function s(){var t=[];document.querySelectorAll("[data-modal-target]").forEach((function(e){var i=e.getAttribute("data-modal-target"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))})),document.querySelectorAll("[data-modal-toggle]").forEach((function(e){var i=e.getAttribute("data-modal-toggle"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop"),d=r(i,t);d||(d={id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})},t.push(d)),e.addEventListener("click",(function(){d.object.toggle()}))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-show]").forEach((function(e){var i=e.getAttribute("data-modal-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isHidden&&n.object.show()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-hide]").forEach((function(e){var i=e.getAttribute("data-modal-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isVisible&&n.object.hide()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))}))}"undefined"!=typeof window&&(window.Modal=o,window.initModals=s),e.default=o},231:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initTabs=r;var n={defaultTabId:null,activeClasses:"tab-active",inactiveClasses:"tab-inactive",onShow:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._activeTab=e?this.getTab(e.defaultTabId):null,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map((function(e){e.triggerEl.addEventListener("click",(function(){t.show(e.id)}))})))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(t){this._activeTab=t},t.prototype.getTab=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.show=function(t,e){var i,n,o=this;void 0===e&&(e=!1);var r=this.getTab(t);(r!==this._activeTab||e)&&(this._items.map((function(t){var e,i;t!==r&&((e=t.triggerEl.classList).remove.apply(e,o._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,o._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-selected","false"))})),(i=r.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(n=r.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-selected","true"),r.targetEl.classList.remove("hidden"),this._setActiveTab(r),this._options.onShow(this,r))},t}();function r(){document.querySelectorAll("[data-tabs-toggle]").forEach((function(t){var e=[],i=null;t.querySelectorAll('[role="tab"]').forEach((function(t){var n="true"===t.getAttribute("aria-selected"),o={id:t.getAttribute("data-tabs-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-tabs-target"))};e.push(o),n&&(i=o.id)})),new o(e,{defaultTabId:i})}))}"undefined"!=typeof window&&(window.Tabs=o,window.initTabs=r),e.default=o},990:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initTooltips=c;var r=i(915),s={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.hide()}))}))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-tooltip-target]").forEach((function(t){var e=t.getAttribute("data-tooltip-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new a(i,t,{placement:o||s.placement,triggerType:n||s.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))}))}"undefined"!=typeof window&&(window.Tooltip=a,window.initTooltips=c),e.default=a}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){var t=n;Object.defineProperty(t,"__esModule",{value:!0});var e=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);i(606),new(i(101).default)("load",[e.initAccordions,o.initCollapses,r.initDismisses,a.initDropdowns,c.initModals,s.initDrawers,d.initTabs,l.initTooltips]).init(),t.default={Accordion:e.default,Collapse:o.default,Dismiss:r.default,Dropdown:a.default,Modal:c.default,Drawer:s.default,Tabs:d.default,Tooltip:l.default}}(),n}()})); | ||
//# sourceMappingURL=aegov-scripts.js.map |
@@ -1,2 +0,2 @@ | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("AEGov",[],e):"object"==typeof exports?exports.AEGov=e():t.AEGov=e()}(self,(function(){return function(){"use strict";var t={101:function(t,e,i){i.r(e),e.default=class{_eventType;_eventFunctions;constructor(t,e){this._eventType=t,this._eventFunctions=e}init(){this._eventFunctions.forEach((t=>{"undefined"!=typeof window&&window.addEventListener(this._eventType,t)}))}}},915:function(t,e,i){i.r(e),i.d(e,{afterMain:function(){return E},afterRead:function(){return b},afterWrite:function(){return x},applyStyles:function(){return D},arrow:function(){return Z},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return _},beforeRead:function(){return m},beforeWrite:function(){return O},bottom:function(){return o},clippingParents:function(){return u},computeStyles:function(){return it},createPopper:function(){return Ct},createPopperBase:function(){return Pt},createPopperLite:function(){return Dt},detectOverflow:function(){return mt},end:function(){return l},eventListeners:function(){return ot},flip:function(){return yt},hide:function(){return wt},left:function(){return s},main:function(){return w},modifierPhases:function(){return A},offset:function(){return Et},placements:function(){return v},popper:function(){return f},popperGenerator:function(){return Tt},popperOffsets:function(){return Ot},preventOverflow:function(){return Lt},read:function(){return y},reference:function(){return h},right:function(){return r},start:function(){return d},top:function(){return n},variationPlacements:function(){return g},viewport:function(){return p},write:function(){return L}});var n="top",o="bottom",r="right",s="left",a="auto",c=[n,o,r,s],d="start",l="end",u="clippingParents",p="viewport",f="popper",h="reference",g=c.reduce((function(t,e){return t.concat([e+"-"+d,e+"-"+l])}),[]),v=[].concat(c,[a]).reduce((function(t,e){return t.concat([e,e+"-"+d,e+"-"+l])}),[]),m="beforeRead",y="read",b="afterRead",_="beforeMain",w="main",E="afterMain",O="beforeWrite",L="write",x="afterWrite",A=[m,y,b,_,w,E,O,L,x];function k(t){return t?(t.nodeName||"").toLowerCase():null}function j(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function T(t){return t instanceof j(t).Element||t instanceof Element}function P(t){return t instanceof j(t).HTMLElement||t instanceof HTMLElement}function C(t){return"undefined"!=typeof ShadowRoot&&(t instanceof j(t).ShadowRoot||t instanceof ShadowRoot)}var D={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];P(o)&&k(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});P(n)&&k(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function S(t){return t.split("-")[0]}var M=Math.max,H=Math.min,I=Math.round;function B(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(B())}function V(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,r=1;e&&P(t)&&(o=t.offsetWidth>0&&I(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&I(n.height)/t.offsetHeight||1);var s=(T(t)?j(t):window).visualViewport,a=!q()&&i,c=(n.left+(a&&s?s.offsetLeft:0))/o,d=(n.top+(a&&s?s.offsetTop:0))/r,l=n.width/o,u=n.height/r;return{width:l,height:u,top:d,right:c+l,bottom:d+u,left:c,x:c,y:d}}function W(t){var e=V(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function R(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&C(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(t){return j(t).getComputedStyle(t)}function F(t){return["table","td","th"].indexOf(k(t))>=0}function G(t){return((T(t)?t.ownerDocument:t.document)||window.document).documentElement}function N(t){return"html"===k(t)?t:t.assignedSlot||t.parentNode||(C(t)?t.host:null)||G(t)}function K(t){return P(t)&&"fixed"!==z(t).position?t.offsetParent:null}function U(t){for(var e=j(t),i=K(t);i&&F(i)&&"static"===z(i).position;)i=K(i);return i&&("html"===k(i)||"body"===k(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(B());if(/Trident/i.test(B())&&P(t)&&"fixed"===z(t).position)return null;var i=N(t);for(C(i)&&(i=i.host);P(i)&&["html","body"].indexOf(k(i))<0;){var n=z(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return M(t,H(e,i))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,d=t.options,l=i.elements.arrow,u=i.modifiersData.popperOffsets,p=S(i.placement),f=X(p),h=[s,r].indexOf(p)>=0?"height":"width";if(l&&u){var g=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,c))}(d.padding,i),v=W(l),m="y"===f?n:s,y="y"===f?o:r,b=i.rects.reference[h]+i.rects.reference[f]-u[f]-i.rects.popper[h],_=u[f]-i.rects.reference[f],w=U(l),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,O=b/2-_/2,L=g[m],x=E-v[h]-g[y],A=E/2-v[h]/2+O,k=Y(L,A,x),j=f;i.modifiersData[a]=((e={})[j]=k,e.centerOffset=k-A,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&R(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,a=t.popperRect,c=t.placement,d=t.variation,u=t.offsets,p=t.position,f=t.gpuAcceleration,h=t.adaptive,g=t.roundOffsets,v=t.isFixed,m=u.x,y=void 0===m?0:m,b=u.y,_=void 0===b?0:b,w="function"==typeof g?g({x:y,y:_}):{x:y,y:_};y=w.x,_=w.y;var E=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),L=s,x=n,A=window;if(h){var k=U(i),T="clientHeight",P="clientWidth";k===j(i)&&"static"!==z(k=G(i)).position&&"absolute"===p&&(T="scrollHeight",P="scrollWidth"),(c===n||(c===s||c===r)&&d===l)&&(x=o,_-=(v&&k===A&&A.visualViewport?A.visualViewport.height:k[T])-a.height,_*=f?1:-1),c!==s&&(c!==n&&c!==o||d!==l)||(L=r,y-=(v&&k===A&&A.visualViewport?A.visualViewport.width:k[P])-a.width,y*=f?1:-1)}var C,D=Object.assign({position:p},h&&tt),S=!0===g?function(t,e){var i=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:I(i*o)/o||0,y:I(n*o)/o||0}}({x:y,y:_},j(i)):{x:y,y:_};return y=S.x,_=S.y,f?Object.assign({},D,((C={})[x]=O?"0":"",C[L]=E?"0":"",C.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+_+"px)":"translate3d("+y+"px, "+_+"px, 0)",C)):Object.assign({},D,((e={})[x]=O?_+"px":"",e[L]=E?y+"px":"",e.transform="",e))}var it={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,r=i.adaptive,s=void 0===r||r,a=i.roundOffsets,c=void 0===a||a,d={placement:S(e.placement),variation:$(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0},ot={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,r=void 0===o||o,s=n.resize,a=void 0===s||s,c=j(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach((function(t){t.addEventListener("scroll",i.update,nt)})),a&&c.addEventListener("resize",i.update,nt),function(){r&&d.forEach((function(t){t.removeEventListener("scroll",i.update,nt)})),a&&c.removeEventListener("resize",i.update,nt)}},data:{}},rt={left:"right",right:"left",bottom:"top",top:"bottom"};function st(t){return t.replace(/left|right|bottom|top/g,(function(t){return rt[t]}))}var at={start:"end",end:"start"};function ct(t){return t.replace(/start|end/g,(function(t){return at[t]}))}function dt(t){var e=j(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lt(t){return V(G(t)).left+dt(t).scrollLeft}function ut(t){var e=z(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function pt(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:P(t)&&ut(t)?t:pt(N(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=pt(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),r=j(n),s=o?[r].concat(r.visualViewport||[],ut(n)?n:[]):n,a=e.concat(s);return o?a:a.concat(ft(N(s)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gt(t,e,i){return e===p?ht(function(t,e){var i=j(t),n=G(t),o=i.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var d=q();(d||!d&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+lt(t),y:c}}(t,i)):T(e)?function(t,e){var i=V(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ht(function(t){var e,i=G(t),n=dt(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=M(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=M(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+lt(t),c=-n.scrollTop;return"rtl"===z(o||i).direction&&(a+=M(i.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(G(t)))}function vt(t){var e,i=t.reference,a=t.element,c=t.placement,u=c?S(c):null,p=c?$(c):null,f=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2;switch(u){case n:e={x:f,y:i.y-a.height};break;case o:e={x:f,y:i.y+i.height};break;case r:e={x:i.x+i.width,y:h};break;case s:e={x:i.x-a.width,y:h};break;default:e={x:i.x,y:i.y}}var g=u?X(u):null;if(null!=g){var v="y"===g?"height":"width";switch(p){case d:e[g]=e[g]-(i[v]/2-a[v]/2);break;case l:e[g]=e[g]+(i[v]/2-a[v]/2)}}return e}function mt(t,e){void 0===e&&(e={});var i=e,s=i.placement,a=void 0===s?t.placement:s,d=i.strategy,l=void 0===d?t.strategy:d,g=i.boundary,v=void 0===g?u:g,m=i.rootBoundary,y=void 0===m?p:m,b=i.elementContext,_=void 0===b?f:b,w=i.altBoundary,E=void 0!==w&&w,O=i.padding,L=void 0===O?0:O,x=J("number"!=typeof L?L:Q(L,c)),A=_===f?h:f,j=t.rects.popper,C=t.elements[E?A:_],D=function(t,e,i,n){var o="clippingParents"===e?function(t){var e=ft(N(t)),i=["absolute","fixed"].indexOf(z(t).position)>=0&&P(t)?U(t):t;return T(i)?e.filter((function(t){return T(t)&&R(t,i)&&"body"!==k(t)})):[]}(t):[].concat(e),r=[].concat(o,[i]),s=r[0],a=r.reduce((function(e,i){var o=gt(t,i,n);return e.top=M(o.top,e.top),e.right=H(o.right,e.right),e.bottom=H(o.bottom,e.bottom),e.left=M(o.left,e.left),e}),gt(t,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(T(C)?C:C.contextElement||G(t.elements.popper),v,y,l),S=V(t.elements.reference),I=vt({reference:S,element:j,strategy:"absolute",placement:a}),B=ht(Object.assign({},j,I)),q=_===f?B:S,W={top:D.top-q.top+x.top,bottom:q.bottom-D.bottom+x.bottom,left:D.left-q.left+x.left,right:q.right-D.right+x.right},F=t.modifiersData.offset;if(_===f&&F){var K=F[a];Object.keys(W).forEach((function(t){var e=[r,o].indexOf(t)>=0?1:-1,i=[n,o].indexOf(t)>=0?"y":"x";W[t]+=K[i]*e}))}return W}var yt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,l=t.name;if(!e.modifiersData[l]._skip){for(var u=i.mainAxis,p=void 0===u||u,f=i.altAxis,h=void 0===f||f,m=i.fallbackPlacements,y=i.padding,b=i.boundary,_=i.rootBoundary,w=i.altBoundary,E=i.flipVariations,O=void 0===E||E,L=i.allowedAutoPlacements,x=e.options.placement,A=S(x),k=m||(A!==x&&O?function(t){if(S(t)===a)return[];var e=st(t);return[ct(t),e,ct(e)]}(x):[st(x)]),j=[x].concat(k).reduce((function(t,i){return t.concat(S(i)===a?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,r=i.rootBoundary,s=i.padding,a=i.flipVariations,d=i.allowedAutoPlacements,l=void 0===d?v:d,u=$(n),p=u?a?g:g.filter((function(t){return $(t)===u})):c,f=p.filter((function(t){return l.indexOf(t)>=0}));0===f.length&&(f=p);var h=f.reduce((function(e,i){return e[i]=mt(t,{placement:i,boundary:o,rootBoundary:r,padding:s})[S(i)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:i,boundary:b,rootBoundary:_,padding:y,flipVariations:O,allowedAutoPlacements:L}):i)}),[]),T=e.rects.reference,P=e.rects.popper,C=new Map,D=!0,M=j[0],H=0;H<j.length;H++){var I=j[H],B=S(I),q=$(I)===d,V=[n,o].indexOf(B)>=0,W=V?"width":"height",R=mt(e,{placement:I,boundary:b,rootBoundary:_,altBoundary:w,padding:y}),z=V?q?r:s:q?o:n;T[W]>P[W]&&(z=st(z));var F=st(z),G=[];if(p&&G.push(R[B]<=0),h&&G.push(R[z]<=0,R[F]<=0),G.every((function(t){return t}))){M=I,D=!1;break}C.set(I,G)}if(D)for(var N=function(t){var e=j.find((function(e){var i=C.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},K=O?3:1;K>0&&"break"!==N(K);K--);e.placement!==M&&(e.modifiersData[l]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function _t(t){return[n,r,o,s].some((function(e){return t[e]>=0}))}var wt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),c=bt(s,n),d=bt(a,o,r),l=_t(c),u=_t(d);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:l,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":u})}},Et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,o=t.name,a=i.offset,c=void 0===a?[0,0]:a,d=v.reduce((function(t,i){return t[i]=function(t,e,i){var o=S(t),a=[s,n].indexOf(o)>=0?-1:1,c="function"==typeof i?i(Object.assign({},e,{placement:t})):i,d=c[0],l=c[1];return d=d||0,l=(l||0)*a,[s,r].indexOf(o)>=0?{x:l,y:d}:{x:d,y:l}}(i,e.rects,c),t}),{}),l=d[e.placement],u=l.x,p=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=p),e.modifiersData[o]=d}},Ot={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=vt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Lt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,c=i.mainAxis,l=void 0===c||c,u=i.altAxis,p=void 0!==u&&u,f=i.boundary,h=i.rootBoundary,g=i.altBoundary,v=i.padding,m=i.tether,y=void 0===m||m,b=i.tetherOffset,_=void 0===b?0:b,w=mt(e,{boundary:f,rootBoundary:h,padding:v,altBoundary:g}),E=S(e.placement),O=$(e.placement),L=!O,x=X(E),A="x"===x?"y":"x",k=e.modifiersData.popperOffsets,j=e.rects.reference,T=e.rects.popper,P="function"==typeof _?_(Object.assign({},e.rects,{placement:e.placement})):_,C="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),D=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(k){if(l){var B,q="y"===x?n:s,V="y"===x?o:r,R="y"===x?"height":"width",z=k[x],F=z+w[q],G=z-w[V],N=y?-T[R]/2:0,K=O===d?j[R]:T[R],J=O===d?-T[R]:-j[R],Q=e.elements.arrow,Z=y&&Q?W(Q):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[q],it=tt[V],nt=Y(0,j[R],Z[R]),ot=L?j[R]/2-N-nt-et-C.mainAxis:K-nt-et-C.mainAxis,rt=L?-j[R]/2+N+nt+it+C.mainAxis:J+nt+it+C.mainAxis,st=e.elements.arrow&&U(e.elements.arrow),at=st?"y"===x?st.clientTop||0:st.clientLeft||0:0,ct=null!=(B=null==D?void 0:D[x])?B:0,dt=z+rt-ct,lt=Y(y?H(F,z+ot-ct-at):F,z,y?M(G,dt):G);k[x]=lt,I[x]=lt-z}if(p){var ut,pt="x"===x?n:s,ft="x"===x?o:r,ht=k[A],gt="y"===A?"height":"width",vt=ht+w[pt],yt=ht-w[ft],bt=-1!==[n,s].indexOf(E),_t=null!=(ut=null==D?void 0:D[A])?ut:0,wt=bt?vt:ht-j[gt]-T[gt]-_t+C.altAxis,Et=bt?ht+j[gt]+T[gt]-_t-C.altAxis:yt,Ot=y&&bt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(wt,ht,Et):Y(y?wt:vt,ht,y?Et:yt);k[A]=Ot,I[A]=Ot-ht}e.modifiersData[a]=I}},requiresIfExists:["offset"]};function xt(t,e,i){void 0===i&&(i=!1);var n,o,r=P(e),s=P(e)&&function(t){var e=t.getBoundingClientRect(),i=I(e.width)/t.offsetWidth||1,n=I(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=G(e),c=V(t,s,i),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!i)&&(("body"!==k(e)||ut(a))&&(d=(n=e)!==j(n)&&P(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:dt(n)),P(e)?((l=V(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=lt(a))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function At(t){var e=new Map,i=new Set,n=[];function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||o(t)})),n}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function jt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Tt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,o=e.defaultOptions,r=void 0===o?kt:o;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],d=!1,l={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:T(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var s,d,p=function(t){var e=At(t);return A.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((s=[].concat(n,a.options.modifiers),d=s.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(d).map((function(t){return d[t]}))));return a.orderedModifiers=p.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,o=t.effect;if("function"==typeof o){var r=o({state:a,name:e,instance:l,options:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!d){var t=a.elements,e=t.reference,i=t.popper;if(jt(e,i)){a.rects={reference:xt(e,U(i),"fixed"===a.options.strategy),popper:W(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var o=a.orderedModifiers[n],r=o.fn,s=o.options,c=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:c,name:u,instance:l})||a)}else a.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){u(),d=!0}};if(!jt(t,e))return l;function u(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(i).then((function(t){!d&&i.onFirstUpdate&&i.onFirstUpdate(t)})),l}}var Pt=Tt(),Ct=Tt({defaultModifiers:[ot,Ot,it,D,Et,yt,Lt,Z,wt]}),Dt=Tt({defaultModifiers:[ot,Ot,it,D]})},251:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initAccordions=void 0;var n={alwaysOpen:!1,activeClasses:"accordion-active",inactiveClasses:"accordion-inactive",onOpen:function(){},onClose:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&this._items.map((function(e){e.active&&t.open(e.id),e.triggerEl.addEventListener("click",(function(){t.toggle(e.id)}))}))},t.prototype.getItem=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.open=function(t){var e,i,n=this,o=this.getItem(t);this._options.alwaysOpen||this._items.map((function(t){var e,i;t!==o&&((e=t.triggerEl.classList).remove.apply(e,n._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,n._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-expanded","false"),t.active=!1)})),(e=o.triggerEl.classList).add.apply(e,this._options.activeClasses.split(" ")),(i=o.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-expanded","true"),o.targetEl.classList.remove("hidden"),o.active=!0,this._options.onOpen(this,o)},t.prototype.toggle=function(t){var e=this.getItem(t);e.active?this.close(t):this.open(t),this._options.onToggle(this,e)},t.prototype.close=function(t){var e,i,n=this.getItem(t);(e=n.triggerEl.classList).remove.apply(e,this._options.activeClasses.split(" ")),(i=n.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,this._options.onClose(this,n)},t}();"undefined"!=typeof window&&(window.Accordion=o),e.initAccordions=function(){document.querySelectorAll("[data-accordion]").forEach((function(t){var e=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),r=t.getAttribute("data-inactive-classes"),s=[];t.querySelectorAll("[data-accordion-target]").forEach((function(e){if(e.closest("[data-accordion]")===t){var i={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),active:"true"===e.getAttribute("aria-expanded")};s.push(i)}})),new o(s,{alwaysOpen:"open"===e,activeClasses:i||n.activeClasses,inactiveClasses:r||n.inactiveClasses})}))},e.default=o},148:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCollapses=void 0;var n={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible="true"===this._triggerEl.getAttribute("aria-expanded"):this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",(function(){t.toggle()})))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function r(){document.querySelectorAll("[data-collapse-toggle]").forEach((function(t){var e=t.getAttribute("data-collapse-toggle"),i=document.getElementById(e);i?new o(i,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))}))}e.initCollapses=r,"undefined"!=typeof window&&(window.Collapse=o,window.initCollapses=r),e.default=o},989:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDismisses=void 0;var n={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",(function(){t.hide()}))},t.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout((function(){t._targetEl.classList.add("hidden")}),this._options.duration),this._options.onHide(this,this._targetEl)},t}();function r(){document.querySelectorAll("[data-dismiss-target]").forEach((function(t){var e=t.getAttribute("data-dismiss-target"),i=document.querySelector(e);i?new o(i,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))}))}e.initDismisses=r,"undefined"!=typeof window&&(window.Dismiss=o,window.initDismisses=r),e.default=o},830:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDrawers=void 0;var n={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"aegov-drawer-backdrop",onShow:function(){},onHide:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map((function(e){t._targetEl.classList.add(e)})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.isVisible()&&t.hide()}))},t.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.add(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.add(e)}))),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.remove(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.remove(e)}))),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var t,e=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(t=i.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",(function(){e.hide()}))}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),r=function(t,e){if(e.some((function(e){return e.id===t})))return e.find((function(e){return e.id===t}))};function s(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach((function(e){var i=e.getAttribute("data-drawer-target"),s=document.getElementById(i);if(s){var a=e.getAttribute("data-drawer-placement"),c=e.getAttribute("data-drawer-body-scrolling"),d=e.getAttribute("data-drawer-backdrop"),l=e.getAttribute("data-drawer-edge"),u=e.getAttribute("data-drawer-edge-offset");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,bodyScrolling:c?"true"===c:n.bodyScrolling,backdrop:d?"true"===d:n.backdrop,edge:l?"true"===l:n.edge,edgeOffset:u||n.edgeOffset})})}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-toggle]").forEach((function(e){var i=e.getAttribute("data-drawer-toggle");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.toggle()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach((function(e){var i=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.hide()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))})),document.querySelectorAll("[data-drawer-show]").forEach((function(e){var i=e.getAttribute("data-drawer-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.show()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}))}e.initDrawers=s,"undefined"!=typeof window&&(window.Drawer=o,window.initDrawers=s),e.default=o},270:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initDropdowns=void 0;var r=i(915),s={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();"click"===this._options.triggerType&&e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.toggle()}))})),"hover"===this._options.triggerType&&(e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){"click"===e?t.toggle():setTimeout((function(){t.show()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){setTimeout((function(){t._targetEl.matches(":hover")||t.hide()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){setTimeout((function(){t._triggerEl.matches(":hover")||t.hide()}),t._options.delay)}))})))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":default:return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-dropdown-toggle]").forEach((function(t){var e=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),c=t.getAttribute("data-dropdown-trigger"),d=t.getAttribute("data-dropdown-delay");new a(i,t,{placement:n||s.placement,triggerType:c||s.triggerType,offsetSkidding:o?parseInt(o):s.offsetSkidding,offsetDistance:r?parseInt(r):s.offsetDistance,delay:d?parseInt(d):s.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))}))}e.initDropdowns=c,"undefined"!=typeof window&&(window.Dropdown=a,window.initDropdowns=c),e.default=a},606:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.initAEGov=void 0;var n=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);function u(){(0,n.initAccordions)(),(0,o.initCollapses)(),(0,r.initDismisses)(),(0,a.initDropdowns)(),(0,c.initModals)(),(0,s.initDrawers)(),(0,d.initTabs)(),(0,l.initTooltips)()}e.initAEGov=u,"undefined"!=typeof window&&(window.initAEGov=u)},940:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initModals=void 0;var n={placement:"center",backdropClasses:"aegov-modal-backdrop",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map((function(e){t._targetEl.classList.add(e)}))},t.prototype._createBackdrop=function(){var t;if(this._isHidden){var e=document.createElement("div");e.setAttribute("modal-backdrop",""),(t=e.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(e),this._backdropEl=e}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var t=this;"dynamic"===this._options.backdrop&&(this._clickOutsideEventListener=function(e){t._handleOutsideClick(e.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){"dynamic"===this._options.backdrop&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":default:return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),r=function(t,e){return e.some((function(e){return e.id===t}))?e.find((function(e){return e.id===t})):null};function s(){var t=[];document.querySelectorAll("[data-modal-target]").forEach((function(e){var i=e.getAttribute("data-modal-target"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))})),document.querySelectorAll("[data-modal-toggle]").forEach((function(e){var i=e.getAttribute("data-modal-toggle"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop"),d=r(i,t);d||(d={id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})},t.push(d)),e.addEventListener("click",(function(){d.object.toggle()}))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-show]").forEach((function(e){var i=e.getAttribute("data-modal-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isHidden&&n.object.show()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-hide]").forEach((function(e){var i=e.getAttribute("data-modal-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isVisible&&n.object.hide()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))}))}e.initModals=s,"undefined"!=typeof window&&(window.Modal=o,window.initModals=s),e.default=o},231:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initTabs=void 0;var n={defaultTabId:null,activeClasses:"tab-active",inactiveClasses:"tab-inactive",onShow:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._activeTab=e?this.getTab(e.defaultTabId):null,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map((function(e){e.triggerEl.addEventListener("click",(function(){t.show(e.id)}))})))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(t){this._activeTab=t},t.prototype.getTab=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.show=function(t,e){var i,n,o=this;void 0===e&&(e=!1);var r=this.getTab(t);(r!==this._activeTab||e)&&(this._items.map((function(t){var e,i;t!==r&&((e=t.triggerEl.classList).remove.apply(e,o._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,o._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-selected","false"))})),(i=r.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(n=r.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-selected","true"),r.targetEl.classList.remove("hidden"),this._setActiveTab(r),this._options.onShow(this,r))},t}();function r(){document.querySelectorAll("[data-tabs-toggle]").forEach((function(t){var e=[],i=null;t.querySelectorAll('[role="tab"]').forEach((function(t){var n="true"===t.getAttribute("aria-selected"),o={id:t.getAttribute("data-tabs-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-tabs-target"))};e.push(o),n&&(i=o.id)})),new o(e,{defaultTabId:i})}))}e.initTabs=r,"undefined"!=typeof window&&(window.Tabs=o,window.initTabs=r),e.default=o},990:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initTooltips=void 0;var r=i(915),s={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.hide()}))}))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-tooltip-target]").forEach((function(t){var e=t.getAttribute("data-tooltip-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new a(i,t,{placement:o||s.placement,triggerType:n||s.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))}))}e.initTooltips=c,"undefined"!=typeof window&&(window.Tooltip=a,window.initTooltips=c),e.default=a}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){var t=n;Object.defineProperty(t,"__esModule",{value:!0});var e=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);i(606),new(i(101).default)("load",[e.initAccordions,o.initCollapses,r.initDismisses,a.initDropdowns,c.initModals,s.initDrawers,d.initTabs,l.initTooltips]).init(),t.default={Accordion:e.default,Collapse:o.default,Dismiss:r.default,Dropdown:a.default,Modal:c.default,Drawer:s.default,Tabs:d.default,Tooltip:l.default}}(),n}()})); | ||
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("AEGov",[],e):"object"==typeof exports?exports.AEGov=e():t.AEGov=e()}(self,(function(){return function(){"use strict";var t={101:function(t,e,i){i.r(e),e.default=class{_eventType;_eventFunctions;constructor(t,e){this._eventType=t,this._eventFunctions=e}init(){this._eventFunctions.forEach((t=>{"undefined"!=typeof window&&window.addEventListener(this._eventType,t)}))}}},915:function(t,e,i){i.r(e),i.d(e,{afterMain:function(){return E},afterRead:function(){return b},afterWrite:function(){return x},applyStyles:function(){return S},arrow:function(){return Z},auto:function(){return a},basePlacements:function(){return c},beforeMain:function(){return _},beforeRead:function(){return m},beforeWrite:function(){return O},bottom:function(){return o},clippingParents:function(){return u},computeStyles:function(){return it},createPopper:function(){return Ct},createPopperBase:function(){return Pt},createPopperLite:function(){return St},detectOverflow:function(){return mt},end:function(){return l},eventListeners:function(){return ot},flip:function(){return yt},hide:function(){return wt},left:function(){return s},main:function(){return w},modifierPhases:function(){return A},offset:function(){return Et},placements:function(){return v},popper:function(){return f},popperGenerator:function(){return Tt},popperOffsets:function(){return Ot},preventOverflow:function(){return Lt},read:function(){return y},reference:function(){return h},right:function(){return r},start:function(){return d},top:function(){return n},variationPlacements:function(){return g},viewport:function(){return p},write:function(){return L}});var n="top",o="bottom",r="right",s="left",a="auto",c=[n,o,r,s],d="start",l="end",u="clippingParents",p="viewport",f="popper",h="reference",g=c.reduce((function(t,e){return t.concat([e+"-"+d,e+"-"+l])}),[]),v=[].concat(c,[a]).reduce((function(t,e){return t.concat([e,e+"-"+d,e+"-"+l])}),[]),m="beforeRead",y="read",b="afterRead",_="beforeMain",w="main",E="afterMain",O="beforeWrite",L="write",x="afterWrite",A=[m,y,b,_,w,E,O,L,x];function k(t){return t?(t.nodeName||"").toLowerCase():null}function j(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function T(t){return t instanceof j(t).Element||t instanceof Element}function P(t){return t instanceof j(t).HTMLElement||t instanceof HTMLElement}function C(t){return"undefined"!=typeof ShadowRoot&&(t instanceof j(t).ShadowRoot||t instanceof ShadowRoot)}var S={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var i=e.styles[t]||{},n=e.attributes[t]||{},o=e.elements[t];P(o)&&k(o)&&(Object.assign(o.style,i),Object.keys(n).forEach((function(t){var e=n[t];!1===e?o.removeAttribute(t):o.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,i={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,i.popper),e.styles=i,e.elements.arrow&&Object.assign(e.elements.arrow.style,i.arrow),function(){Object.keys(e.elements).forEach((function(t){var n=e.elements[t],o=e.attributes[t]||{},r=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:i[t]).reduce((function(t,e){return t[e]="",t}),{});P(n)&&k(n)&&(Object.assign(n.style,r),Object.keys(o).forEach((function(t){n.removeAttribute(t)})))}))}},requires:["computeStyles"]};function D(t){return t.split("-")[0]}var M=Math.max,H=Math.min,I=Math.round;function B(){var t=navigator.userAgentData;return null!=t&&t.brands&&Array.isArray(t.brands)?t.brands.map((function(t){return t.brand+"/"+t.version})).join(" "):navigator.userAgent}function q(){return!/^((?!chrome|android).)*safari/i.test(B())}function V(t,e,i){void 0===e&&(e=!1),void 0===i&&(i=!1);var n=t.getBoundingClientRect(),o=1,r=1;e&&P(t)&&(o=t.offsetWidth>0&&I(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&I(n.height)/t.offsetHeight||1);var s=(T(t)?j(t):window).visualViewport,a=!q()&&i,c=(n.left+(a&&s?s.offsetLeft:0))/o,d=(n.top+(a&&s?s.offsetTop:0))/r,l=n.width/o,u=n.height/r;return{width:l,height:u,top:d,right:c+l,bottom:d+u,left:c,x:c,y:d}}function W(t){var e=V(t),i=t.offsetWidth,n=t.offsetHeight;return Math.abs(e.width-i)<=1&&(i=e.width),Math.abs(e.height-n)<=1&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function R(t,e){var i=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(i&&C(i)){var n=e;do{if(n&&t.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function z(t){return j(t).getComputedStyle(t)}function F(t){return["table","td","th"].indexOf(k(t))>=0}function N(t){return((T(t)?t.ownerDocument:t.document)||window.document).documentElement}function G(t){return"html"===k(t)?t:t.assignedSlot||t.parentNode||(C(t)?t.host:null)||N(t)}function K(t){return P(t)&&"fixed"!==z(t).position?t.offsetParent:null}function U(t){for(var e=j(t),i=K(t);i&&F(i)&&"static"===z(i).position;)i=K(i);return i&&("html"===k(i)||"body"===k(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(B());if(/Trident/i.test(B())&&P(t)&&"fixed"===z(t).position)return null;var i=G(t);for(C(i)&&(i=i.host);P(i)&&["html","body"].indexOf(k(i))<0;){var n=z(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||e&&"filter"===n.willChange||e&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(t)||e}function X(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Y(t,e,i){return M(t,H(e,i))}function J(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function Q(t,e){return e.reduce((function(e,i){return e[i]=t,e}),{})}var Z={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,d=t.options,l=i.elements.arrow,u=i.modifiersData.popperOffsets,p=D(i.placement),f=X(p),h=[s,r].indexOf(p)>=0?"height":"width";if(l&&u){var g=function(t,e){return J("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:Q(t,c))}(d.padding,i),v=W(l),m="y"===f?n:s,y="y"===f?o:r,b=i.rects.reference[h]+i.rects.reference[f]-u[f]-i.rects.popper[h],_=u[f]-i.rects.reference[f],w=U(l),E=w?"y"===f?w.clientHeight||0:w.clientWidth||0:0,O=b/2-_/2,L=g[m],x=E-v[h]-g[y],A=E/2-v[h]/2+O,k=Y(L,A,x),j=f;i.modifiersData[a]=((e={})[j]=k,e.centerOffset=k-A,e)}},effect:function(t){var e=t.state,i=t.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=e.elements.popper.querySelector(n)))&&R(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function $(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function et(t){var e,i=t.popper,a=t.popperRect,c=t.placement,d=t.variation,u=t.offsets,p=t.position,f=t.gpuAcceleration,h=t.adaptive,g=t.roundOffsets,v=t.isFixed,m=u.x,y=void 0===m?0:m,b=u.y,_=void 0===b?0:b,w="function"==typeof g?g({x:y,y:_}):{x:y,y:_};y=w.x,_=w.y;var E=u.hasOwnProperty("x"),O=u.hasOwnProperty("y"),L=s,x=n,A=window;if(h){var k=U(i),T="clientHeight",P="clientWidth";k===j(i)&&"static"!==z(k=N(i)).position&&"absolute"===p&&(T="scrollHeight",P="scrollWidth"),(c===n||(c===s||c===r)&&d===l)&&(x=o,_-=(v&&k===A&&A.visualViewport?A.visualViewport.height:k[T])-a.height,_*=f?1:-1),c!==s&&(c!==n&&c!==o||d!==l)||(L=r,y-=(v&&k===A&&A.visualViewport?A.visualViewport.width:k[P])-a.width,y*=f?1:-1)}var C,S=Object.assign({position:p},h&&tt),D=!0===g?function(t,e){var i=t.x,n=t.y,o=e.devicePixelRatio||1;return{x:I(i*o)/o||0,y:I(n*o)/o||0}}({x:y,y:_},j(i)):{x:y,y:_};return y=D.x,_=D.y,f?Object.assign({},S,((C={})[x]=O?"0":"",C[L]=E?"0":"",C.transform=(A.devicePixelRatio||1)<=1?"translate("+y+"px, "+_+"px)":"translate3d("+y+"px, "+_+"px, 0)",C)):Object.assign({},S,((e={})[x]=O?_+"px":"",e[L]=E?y+"px":"",e.transform="",e))}var it={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=void 0===n||n,r=i.adaptive,s=void 0===r||r,a=i.roundOffsets,c=void 0===a||a,d={placement:D(e.placement),variation:$(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:o,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,et(Object.assign({},d,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:s,roundOffsets:c})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,et(Object.assign({},d,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:c})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},nt={passive:!0},ot={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,i=t.instance,n=t.options,o=n.scroll,r=void 0===o||o,s=n.resize,a=void 0===s||s,c=j(e.elements.popper),d=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&d.forEach((function(t){t.addEventListener("scroll",i.update,nt)})),a&&c.addEventListener("resize",i.update,nt),function(){r&&d.forEach((function(t){t.removeEventListener("scroll",i.update,nt)})),a&&c.removeEventListener("resize",i.update,nt)}},data:{}},rt={left:"right",right:"left",bottom:"top",top:"bottom"};function st(t){return t.replace(/left|right|bottom|top/g,(function(t){return rt[t]}))}var at={start:"end",end:"start"};function ct(t){return t.replace(/start|end/g,(function(t){return at[t]}))}function dt(t){var e=j(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function lt(t){return V(N(t)).left+dt(t).scrollLeft}function ut(t){var e=z(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function pt(t){return["html","body","#document"].indexOf(k(t))>=0?t.ownerDocument.body:P(t)&&ut(t)?t:pt(G(t))}function ft(t,e){var i;void 0===e&&(e=[]);var n=pt(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),r=j(n),s=o?[r].concat(r.visualViewport||[],ut(n)?n:[]):n,a=e.concat(s);return o?a:a.concat(ft(G(s)))}function ht(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function gt(t,e,i){return e===p?ht(function(t,e){var i=j(t),n=N(t),o=i.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,c=0;if(o){r=o.width,s=o.height;var d=q();(d||!d&&"fixed"===e)&&(a=o.offsetLeft,c=o.offsetTop)}return{width:r,height:s,x:a+lt(t),y:c}}(t,i)):T(e)?function(t,e){var i=V(t,!1,"fixed"===e);return i.top=i.top+t.clientTop,i.left=i.left+t.clientLeft,i.bottom=i.top+t.clientHeight,i.right=i.left+t.clientWidth,i.width=t.clientWidth,i.height=t.clientHeight,i.x=i.left,i.y=i.top,i}(e,i):ht(function(t){var e,i=N(t),n=dt(t),o=null==(e=t.ownerDocument)?void 0:e.body,r=M(i.scrollWidth,i.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),s=M(i.scrollHeight,i.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),a=-n.scrollLeft+lt(t),c=-n.scrollTop;return"rtl"===z(o||i).direction&&(a+=M(i.clientWidth,o?o.clientWidth:0)-r),{width:r,height:s,x:a,y:c}}(N(t)))}function vt(t){var e,i=t.reference,a=t.element,c=t.placement,u=c?D(c):null,p=c?$(c):null,f=i.x+i.width/2-a.width/2,h=i.y+i.height/2-a.height/2;switch(u){case n:e={x:f,y:i.y-a.height};break;case o:e={x:f,y:i.y+i.height};break;case r:e={x:i.x+i.width,y:h};break;case s:e={x:i.x-a.width,y:h};break;default:e={x:i.x,y:i.y}}var g=u?X(u):null;if(null!=g){var v="y"===g?"height":"width";switch(p){case d:e[g]=e[g]-(i[v]/2-a[v]/2);break;case l:e[g]=e[g]+(i[v]/2-a[v]/2)}}return e}function mt(t,e){void 0===e&&(e={});var i=e,s=i.placement,a=void 0===s?t.placement:s,d=i.strategy,l=void 0===d?t.strategy:d,g=i.boundary,v=void 0===g?u:g,m=i.rootBoundary,y=void 0===m?p:m,b=i.elementContext,_=void 0===b?f:b,w=i.altBoundary,E=void 0!==w&&w,O=i.padding,L=void 0===O?0:O,x=J("number"!=typeof L?L:Q(L,c)),A=_===f?h:f,j=t.rects.popper,C=t.elements[E?A:_],S=function(t,e,i,n){var o="clippingParents"===e?function(t){var e=ft(G(t)),i=["absolute","fixed"].indexOf(z(t).position)>=0&&P(t)?U(t):t;return T(i)?e.filter((function(t){return T(t)&&R(t,i)&&"body"!==k(t)})):[]}(t):[].concat(e),r=[].concat(o,[i]),s=r[0],a=r.reduce((function(e,i){var o=gt(t,i,n);return e.top=M(o.top,e.top),e.right=H(o.right,e.right),e.bottom=H(o.bottom,e.bottom),e.left=M(o.left,e.left),e}),gt(t,s,n));return a.width=a.right-a.left,a.height=a.bottom-a.top,a.x=a.left,a.y=a.top,a}(T(C)?C:C.contextElement||N(t.elements.popper),v,y,l),D=V(t.elements.reference),I=vt({reference:D,element:j,strategy:"absolute",placement:a}),B=ht(Object.assign({},j,I)),q=_===f?B:D,W={top:S.top-q.top+x.top,bottom:q.bottom-S.bottom+x.bottom,left:S.left-q.left+x.left,right:q.right-S.right+x.right},F=t.modifiersData.offset;if(_===f&&F){var K=F[a];Object.keys(W).forEach((function(t){var e=[r,o].indexOf(t)>=0?1:-1,i=[n,o].indexOf(t)>=0?"y":"x";W[t]+=K[i]*e}))}return W}var yt={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,l=t.name;if(!e.modifiersData[l]._skip){for(var u=i.mainAxis,p=void 0===u||u,f=i.altAxis,h=void 0===f||f,m=i.fallbackPlacements,y=i.padding,b=i.boundary,_=i.rootBoundary,w=i.altBoundary,E=i.flipVariations,O=void 0===E||E,L=i.allowedAutoPlacements,x=e.options.placement,A=D(x),k=m||(A!==x&&O?function(t){if(D(t)===a)return[];var e=st(t);return[ct(t),e,ct(e)]}(x):[st(x)]),j=[x].concat(k).reduce((function(t,i){return t.concat(D(i)===a?function(t,e){void 0===e&&(e={});var i=e,n=i.placement,o=i.boundary,r=i.rootBoundary,s=i.padding,a=i.flipVariations,d=i.allowedAutoPlacements,l=void 0===d?v:d,u=$(n),p=u?a?g:g.filter((function(t){return $(t)===u})):c,f=p.filter((function(t){return l.indexOf(t)>=0}));0===f.length&&(f=p);var h=f.reduce((function(e,i){return e[i]=mt(t,{placement:i,boundary:o,rootBoundary:r,padding:s})[D(i)],e}),{});return Object.keys(h).sort((function(t,e){return h[t]-h[e]}))}(e,{placement:i,boundary:b,rootBoundary:_,padding:y,flipVariations:O,allowedAutoPlacements:L}):i)}),[]),T=e.rects.reference,P=e.rects.popper,C=new Map,S=!0,M=j[0],H=0;H<j.length;H++){var I=j[H],B=D(I),q=$(I)===d,V=[n,o].indexOf(B)>=0,W=V?"width":"height",R=mt(e,{placement:I,boundary:b,rootBoundary:_,altBoundary:w,padding:y}),z=V?q?r:s:q?o:n;T[W]>P[W]&&(z=st(z));var F=st(z),N=[];if(p&&N.push(R[B]<=0),h&&N.push(R[z]<=0,R[F]<=0),N.every((function(t){return t}))){M=I,S=!1;break}C.set(I,N)}if(S)for(var G=function(t){var e=j.find((function(e){var i=C.get(e);if(i)return i.slice(0,t).every((function(t){return t}))}));if(e)return M=e,"break"},K=O?3:1;K>0&&"break"!==G(K);K--);e.placement!==M&&(e.modifiersData[l]._skip=!0,e.placement=M,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function bt(t,e,i){return void 0===i&&(i={x:0,y:0}),{top:t.top-e.height-i.y,right:t.right-e.width+i.x,bottom:t.bottom-e.height+i.y,left:t.left-e.width-i.x}}function _t(t){return[n,r,o,s].some((function(e){return t[e]>=0}))}var wt={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,i=t.name,n=e.rects.reference,o=e.rects.popper,r=e.modifiersData.preventOverflow,s=mt(e,{elementContext:"reference"}),a=mt(e,{altBoundary:!0}),c=bt(s,n),d=bt(a,o,r),l=_t(c),u=_t(d);e.modifiersData[i]={referenceClippingOffsets:c,popperEscapeOffsets:d,isReferenceHidden:l,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":u})}},Et={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,o=t.name,a=i.offset,c=void 0===a?[0,0]:a,d=v.reduce((function(t,i){return t[i]=function(t,e,i){var o=D(t),a=[s,n].indexOf(o)>=0?-1:1,c="function"==typeof i?i(Object.assign({},e,{placement:t})):i,d=c[0],l=c[1];return d=d||0,l=(l||0)*a,[s,r].indexOf(o)>=0?{x:l,y:d}:{x:d,y:l}}(i,e.rects,c),t}),{}),l=d[e.placement],u=l.x,p=l.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=p),e.modifiersData[o]=d}},Ot={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=vt({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},Lt={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,c=i.mainAxis,l=void 0===c||c,u=i.altAxis,p=void 0!==u&&u,f=i.boundary,h=i.rootBoundary,g=i.altBoundary,v=i.padding,m=i.tether,y=void 0===m||m,b=i.tetherOffset,_=void 0===b?0:b,w=mt(e,{boundary:f,rootBoundary:h,padding:v,altBoundary:g}),E=D(e.placement),O=$(e.placement),L=!O,x=X(E),A="x"===x?"y":"x",k=e.modifiersData.popperOffsets,j=e.rects.reference,T=e.rects.popper,P="function"==typeof _?_(Object.assign({},e.rects,{placement:e.placement})):_,C="number"==typeof P?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),S=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,I={x:0,y:0};if(k){if(l){var B,q="y"===x?n:s,V="y"===x?o:r,R="y"===x?"height":"width",z=k[x],F=z+w[q],N=z-w[V],G=y?-T[R]/2:0,K=O===d?j[R]:T[R],J=O===d?-T[R]:-j[R],Q=e.elements.arrow,Z=y&&Q?W(Q):{width:0,height:0},tt=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},et=tt[q],it=tt[V],nt=Y(0,j[R],Z[R]),ot=L?j[R]/2-G-nt-et-C.mainAxis:K-nt-et-C.mainAxis,rt=L?-j[R]/2+G+nt+it+C.mainAxis:J+nt+it+C.mainAxis,st=e.elements.arrow&&U(e.elements.arrow),at=st?"y"===x?st.clientTop||0:st.clientLeft||0:0,ct=null!=(B=null==S?void 0:S[x])?B:0,dt=z+rt-ct,lt=Y(y?H(F,z+ot-ct-at):F,z,y?M(N,dt):N);k[x]=lt,I[x]=lt-z}if(p){var ut,pt="x"===x?n:s,ft="x"===x?o:r,ht=k[A],gt="y"===A?"height":"width",vt=ht+w[pt],yt=ht-w[ft],bt=-1!==[n,s].indexOf(E),_t=null!=(ut=null==S?void 0:S[A])?ut:0,wt=bt?vt:ht-j[gt]-T[gt]-_t+C.altAxis,Et=bt?ht+j[gt]+T[gt]-_t-C.altAxis:yt,Ot=y&&bt?function(t,e,i){var n=Y(t,e,i);return n>i?i:n}(wt,ht,Et):Y(y?wt:vt,ht,y?Et:yt);k[A]=Ot,I[A]=Ot-ht}e.modifiersData[a]=I}},requiresIfExists:["offset"]};function xt(t,e,i){void 0===i&&(i=!1);var n,o,r=P(e),s=P(e)&&function(t){var e=t.getBoundingClientRect(),i=I(e.width)/t.offsetWidth||1,n=I(e.height)/t.offsetHeight||1;return 1!==i||1!==n}(e),a=N(e),c=V(t,s,i),d={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(r||!r&&!i)&&(("body"!==k(e)||ut(a))&&(d=(n=e)!==j(n)&&P(n)?{scrollLeft:(o=n).scrollLeft,scrollTop:o.scrollTop}:dt(n)),P(e)?((l=V(e,!0)).x+=e.clientLeft,l.y+=e.clientTop):a&&(l.x=lt(a))),{x:c.left+d.scrollLeft-l.x,y:c.top+d.scrollTop-l.y,width:c.width,height:c.height}}function At(t){var e=new Map,i=new Set,n=[];function o(t){i.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!i.has(t)){var n=e.get(t);n&&o(n)}})),n.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){i.has(t.name)||o(t)})),n}var kt={placement:"bottom",modifiers:[],strategy:"absolute"};function jt(){for(var t=arguments.length,e=new Array(t),i=0;i<t;i++)e[i]=arguments[i];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Tt(t){void 0===t&&(t={});var e=t,i=e.defaultModifiers,n=void 0===i?[]:i,o=e.defaultOptions,r=void 0===o?kt:o;return function(t,e,i){void 0===i&&(i=r);var o,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},kt,r),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},c=[],d=!1,l={state:a,setOptions:function(i){var o="function"==typeof i?i(a.options):i;u(),a.options=Object.assign({},r,a.options,o),a.scrollParents={reference:T(t)?ft(t):t.contextElement?ft(t.contextElement):[],popper:ft(e)};var s,d,p=function(t){var e=At(t);return A.reduce((function(t,i){return t.concat(e.filter((function(t){return t.phase===i})))}),[])}((s=[].concat(n,a.options.modifiers),d=s.reduce((function(t,e){var i=t[e.name];return t[e.name]=i?Object.assign({},i,e,{options:Object.assign({},i.options,e.options),data:Object.assign({},i.data,e.data)}):e,t}),{}),Object.keys(d).map((function(t){return d[t]}))));return a.orderedModifiers=p.filter((function(t){return t.enabled})),a.orderedModifiers.forEach((function(t){var e=t.name,i=t.options,n=void 0===i?{}:i,o=t.effect;if("function"==typeof o){var r=o({state:a,name:e,instance:l,options:n});c.push(r||function(){})}})),l.update()},forceUpdate:function(){if(!d){var t=a.elements,e=t.reference,i=t.popper;if(jt(e,i)){a.rects={reference:xt(e,U(i),"fixed"===a.options.strategy),popper:W(i)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(t){return a.modifiersData[t.name]=Object.assign({},t.data)}));for(var n=0;n<a.orderedModifiers.length;n++)if(!0!==a.reset){var o=a.orderedModifiers[n],r=o.fn,s=o.options,c=void 0===s?{}:s,u=o.name;"function"==typeof r&&(a=r({state:a,options:c,name:u,instance:l})||a)}else a.reset=!1,n=-1}}},update:(o=function(){return new Promise((function(t){l.forceUpdate(),t(a)}))},function(){return s||(s=new Promise((function(t){Promise.resolve().then((function(){s=void 0,t(o())}))}))),s}),destroy:function(){u(),d=!0}};if(!jt(t,e))return l;function u(){c.forEach((function(t){return t()})),c=[]}return l.setOptions(i).then((function(t){!d&&i.onFirstUpdate&&i.onFirstUpdate(t)})),l}}var Pt=Tt(),Ct=Tt({defaultModifiers:[ot,Ot,it,S,Et,yt,Lt,Z,wt]}),St=Tt({defaultModifiers:[ot,Ot,it,S]})},251:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initAccordions=function(){document.querySelectorAll("[data-accordion]").forEach((function(t){var e=t.getAttribute("data-accordion"),i=t.getAttribute("data-active-classes"),r=t.getAttribute("data-inactive-classes"),s=[];t.querySelectorAll("[data-accordion-target]").forEach((function(e){if(e.closest("[data-accordion]")===t){var i={id:e.getAttribute("data-accordion-target"),triggerEl:e,targetEl:document.querySelector(e.getAttribute("data-accordion-target")),active:"true"===e.getAttribute("aria-expanded")};s.push(i)}})),new o(s,{alwaysOpen:"open"===e,activeClasses:i||n.activeClasses,inactiveClasses:r||n.inactiveClasses})}))};var n={alwaysOpen:!1,activeClasses:"accordion-active",inactiveClasses:"accordion-inactive",onOpen:function(){},onClose:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&this._items.map((function(e){e.active&&t.open(e.id),e.triggerEl.addEventListener("click",(function(){t.toggle(e.id)}))}))},t.prototype.getItem=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.open=function(t){var e,i,n=this,o=this.getItem(t);this._options.alwaysOpen||this._items.map((function(t){var e,i;t!==o&&((e=t.triggerEl.classList).remove.apply(e,n._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,n._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-expanded","false"),t.active=!1)})),(e=o.triggerEl.classList).add.apply(e,this._options.activeClasses.split(" ")),(i=o.triggerEl.classList).remove.apply(i,this._options.inactiveClasses.split(" ")),o.triggerEl.setAttribute("aria-expanded","true"),o.targetEl.classList.remove("hidden"),o.active=!0,this._options.onOpen(this,o)},t.prototype.toggle=function(t){var e=this.getItem(t);e.active?this.close(t):this.open(t),this._options.onToggle(this,e)},t.prototype.close=function(t){var e,i,n=this.getItem(t);(e=n.triggerEl.classList).remove.apply(e,this._options.activeClasses.split(" ")),(i=n.triggerEl.classList).add.apply(i,this._options.inactiveClasses.split(" ")),n.targetEl.classList.add("hidden"),n.triggerEl.setAttribute("aria-expanded","false"),n.active=!1,this._options.onClose(this,n)},t}();"undefined"!=typeof window&&(window.Accordion=o),e.default=o},148:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initCollapses=r;var n={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&(this._triggerEl.hasAttribute("aria-expanded")?this._visible="true"===this._triggerEl.getAttribute("aria-expanded"):this._visible=!this._targetEl.classList.contains("hidden"),this._triggerEl.addEventListener("click",(function(){t.toggle()})))},t.prototype.collapse=function(){this._targetEl.classList.add("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","false"),this._visible=!1,this._options.onCollapse(this)},t.prototype.expand=function(){this._targetEl.classList.remove("hidden"),this._triggerEl&&this._triggerEl.setAttribute("aria-expanded","true"),this._visible=!0,this._options.onExpand(this)},t.prototype.toggle=function(){this._visible?this.collapse():this.expand(),this._options.onToggle(this)},t}();function r(){document.querySelectorAll("[data-collapse-toggle]").forEach((function(t){var e=t.getAttribute("data-collapse-toggle"),i=document.getElementById(e);i?new o(i,t):console.error('The target element with id "'.concat(e,'" does not exist. Please check the data-collapse-toggle attribute.'))}))}"undefined"!=typeof window&&(window.Collapse=o,window.initCollapses=r),e.default=o},989:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDismisses=r;var n={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},o=function(){function t(t,e,o){void 0===t&&(t=null),void 0===e&&(e=null),void 0===o&&(o=n),this._targetEl=t,this._triggerEl=e,this._options=i(i({},n),o),this._init()}return t.prototype._init=function(){var t=this;this._triggerEl&&this._triggerEl.addEventListener("click",(function(){t.hide()}))},t.prototype.hide=function(){var t=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout((function(){t._targetEl.classList.add("hidden")}),this._options.duration),this._options.onHide(this,this._targetEl)},t}();function r(){document.querySelectorAll("[data-dismiss-target]").forEach((function(t){var e=t.getAttribute("data-dismiss-target"),i=document.querySelector(e);i?new o(i,t):console.error('The dismiss element with id "'.concat(e,'" does not exist. Please check the data-dismiss-target attribute.'))}))}"undefined"!=typeof window&&(window.Dismiss=o,window.initDismisses=r),e.default=o},830:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initDrawers=s;var n={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"aegov-drawer-backdrop",onShow:function(){},onHide:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._visible=!1,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform")),this._getPlacementClasses(this._options.placement).base.map((function(e){t._targetEl.classList.add(e)})),document.addEventListener("keydown",(function(e){"Escape"===e.key&&t.isVisible()&&t.hide()}))},t.prototype.hide=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.add(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.remove(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.add(e)}))),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._options.bodyScrolling||document.body.classList.remove("overflow-hidden"),this._options.backdrop&&this._destroyBackdropEl(),this._visible=!1,this._options.onHide(this)},t.prototype.show=function(){var t=this;this._options.edge?(this._getPlacementClasses(this._options.placement+"-edge").active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement+"-edge").inactive.map((function(e){t._targetEl.classList.remove(e)}))):(this._getPlacementClasses(this._options.placement).active.map((function(e){t._targetEl.classList.add(e)})),this._getPlacementClasses(this._options.placement).inactive.map((function(e){t._targetEl.classList.remove(e)}))),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._options.bodyScrolling||document.body.classList.add("overflow-hidden"),this._options.backdrop&&this._createBackdrop(),this._visible=!0,this._options.onShow(this)},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype._createBackdrop=function(){var t,e=this;if(!this._visible){var i=document.createElement("div");i.setAttribute("drawer-backdrop",""),(t=i.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(i),i.addEventListener("click",(function(){e.hide()}))}},t.prototype._destroyBackdropEl=function(){this._visible&&document.querySelector("[drawer-backdrop]").remove()},t.prototype._getPlacementClasses=function(t){switch(t){case"top":return{base:["top-0","left-0","right-0"],active:["transform-none"],inactive:["-translate-y-full"]};case"right":return{base:["right-0","top-0"],active:["transform-none"],inactive:["translate-x-full"]};case"bottom":return{base:["bottom-0","left-0","right-0"],active:["transform-none"],inactive:["translate-y-full"]};case"left":default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]};case"bottom-edge":return{base:["left-0","top-0"],active:["transform-none"],inactive:["translate-y-full",this._options.edgeOffset]}}},t.prototype.isHidden=function(){return!this._visible},t.prototype.isVisible=function(){return this._visible},t}(),r=function(t,e){if(e.some((function(e){return e.id===t})))return e.find((function(e){return e.id===t}))};function s(){var t=[];document.querySelectorAll("[data-drawer-target]").forEach((function(e){var i=e.getAttribute("data-drawer-target"),s=document.getElementById(i);if(s){var a=e.getAttribute("data-drawer-placement"),c=e.getAttribute("data-drawer-body-scrolling"),d=e.getAttribute("data-drawer-backdrop"),l=e.getAttribute("data-drawer-edge"),u=e.getAttribute("data-drawer-edge-offset");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,bodyScrolling:c?"true"===c:n.bodyScrolling,backdrop:d?"true"===d:n.backdrop,edge:l?"true"===l:n.edge,edgeOffset:u||n.edgeOffset})})}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-toggle]").forEach((function(e){var i=e.getAttribute("data-drawer-toggle");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.toggle()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})),document.querySelectorAll("[data-drawer-dismiss], [data-drawer-hide]").forEach((function(e){var i=e.getAttribute("data-drawer-dismiss")?e.getAttribute("data-drawer-dismiss"):e.getAttribute("data-drawer-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.hide()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))})),document.querySelectorAll("[data-drawer-show]").forEach((function(e){var i=e.getAttribute("data-drawer-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.show()})):console.error("Drawer with id ".concat(i," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(i," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}))}"undefined"!=typeof window&&(window.Drawer=o,window.initDrawers=s),e.default=o},270:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initDropdowns=c;var r=i(915),s={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();"click"===this._options.triggerType&&e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.toggle()}))})),"hover"===this._options.triggerType&&(e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){"click"===e?t.toggle():setTimeout((function(){t.show()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){setTimeout((function(){t._targetEl.matches(":hover")||t.hide()}),t._options.delay)})),t._targetEl.addEventListener(e,(function(){setTimeout((function(){t._triggerEl.matches(":hover")||t.hide()}),t._options.delay)}))})))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":default:return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show(),this._options.onToggle(this)},t.prototype.isVisible=function(){return this._visible},t.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-dropdown-toggle]").forEach((function(t){var e=t.getAttribute("data-dropdown-toggle"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-dropdown-placement"),o=t.getAttribute("data-dropdown-offset-skidding"),r=t.getAttribute("data-dropdown-offset-distance"),c=t.getAttribute("data-dropdown-trigger"),d=t.getAttribute("data-dropdown-delay");new a(i,t,{placement:n||s.placement,triggerType:c||s.triggerType,offsetSkidding:o?parseInt(o):s.offsetSkidding,offsetDistance:r?parseInt(r):s.offsetDistance,delay:d?parseInt(d):s.delay})}else console.error('The dropdown element with id "'.concat(e,'" does not exist. Please check the data-dropdown-toggle attribute.'))}))}"undefined"!=typeof window&&(window.Dropdown=a,window.initDropdowns=c),e.default=a},606:function(t,e,i){Object.defineProperty(e,"__esModule",{value:!0}),e.initAEGov=u;var n=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);function u(){(0,n.initAccordions)(),(0,o.initCollapses)(),(0,r.initDismisses)(),(0,a.initDropdowns)(),(0,c.initModals)(),(0,s.initDrawers)(),(0,d.initTabs)(),(0,l.initTooltips)()}"undefined"!=typeof window&&(window.initAEGov=u)},940:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initModals=s;var n={placement:"center",backdropClasses:"aegov-modal-backdrop",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},o=function(){function t(t,e){void 0===t&&(t=null),void 0===e&&(e=n),this._targetEl=t,this._options=i(i({},n),e),this._isHidden=!0,this._backdropEl=null,this._init()}return t.prototype._init=function(){var t=this;this._targetEl&&this._getPlacementClasses().map((function(e){t._targetEl.classList.add(e)}))},t.prototype._createBackdrop=function(){var t;if(this._isHidden){var e=document.createElement("div");e.setAttribute("modal-backdrop",""),(t=e.classList).add.apply(t,this._options.backdropClasses.split(" ")),document.querySelector("body").append(e),this._backdropEl=e}},t.prototype._destroyBackdropEl=function(){this._isHidden||document.querySelector("[modal-backdrop]").remove()},t.prototype._setupModalCloseEventListeners=function(){var t=this;"dynamic"===this._options.backdrop&&(this._clickOutsideEventListener=function(e){t._handleOutsideClick(e.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0)),this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeModalCloseEventListeners=function(){"dynamic"===this._options.backdrop&&this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0),document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._handleOutsideClick=function(t){(t===this._targetEl||t===this._backdropEl&&this.isVisible())&&this.hide()},t.prototype._getPlacementClasses=function(){switch(this._options.placement){case"top-left":return["justify-start","items-start"];case"top-center":return["justify-center","items-start"];case"top-right":return["justify-end","items-start"];case"center-left":return["justify-start","items-center"];case"center":default:return["justify-center","items-center"];case"center-right":return["justify-end","items-center"];case"bottom-left":return["justify-start","items-end"];case"bottom-center":return["justify-center","items-end"];case"bottom-right":return["justify-end","items-end"]}},t.prototype.toggle=function(){this._isHidden?this.show():this.hide(),this._options.onToggle(this)},t.prototype.show=function(){this.isHidden&&(this._targetEl.classList.add("flex"),this._targetEl.classList.remove("hidden"),this._targetEl.setAttribute("aria-modal","true"),this._targetEl.setAttribute("role","dialog"),this._targetEl.removeAttribute("aria-hidden"),this._createBackdrop(),this._isHidden=!1,document.body.classList.add("overflow-hidden"),this._options.closable&&this._setupModalCloseEventListeners(),this._options.onShow(this))},t.prototype.hide=function(){this.isVisible&&(this._targetEl.classList.add("hidden"),this._targetEl.classList.remove("flex"),this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),this._destroyBackdropEl(),this._isHidden=!0,document.body.classList.remove("overflow-hidden"),this._options.closable&&this._removeModalCloseEventListeners(),this._options.onHide(this))},t.prototype.isVisible=function(){return!this._isHidden},t.prototype.isHidden=function(){return this._isHidden},t}(),r=function(t,e){return e.some((function(e){return e.id===t}))?e.find((function(e){return e.id===t})):null};function s(){var t=[];document.querySelectorAll("[data-modal-target]").forEach((function(e){var i=e.getAttribute("data-modal-target"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop");r(i,t)||t.push({id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})})}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-target attribute points to the correct modal id?."))})),document.querySelectorAll("[data-modal-toggle]").forEach((function(e){var i=e.getAttribute("data-modal-toggle"),s=document.getElementById(i);if(s){var a=s.getAttribute("data-modal-placement"),c=s.getAttribute("data-modal-backdrop"),d=r(i,t);d||(d={id:i,object:new o(s,{placement:a||n.placement,backdrop:c||n.backdrop})},t.push(d)),e.addEventListener("click",(function(){d.object.toggle()}))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-toggle attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-show]").forEach((function(e){var i=e.getAttribute("data-modal-show");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isHidden&&n.object.show()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-show attribute points to the correct modal id?"))})),document.querySelectorAll("[data-modal-hide]").forEach((function(e){var i=e.getAttribute("data-modal-hide");if(document.getElementById(i)){var n=r(i,t);n?e.addEventListener("click",(function(){n.object.isVisible&&n.object.hide()})):console.error("Modal with id ".concat(i," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(i," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))}))}"undefined"!=typeof window&&(window.Modal=o,window.initModals=s),e.default=o},231:function(t,e){var i=this&&this.__assign||function(){return i=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},i.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.initTabs=r;var n={defaultTabId:null,activeClasses:"tab-active",inactiveClasses:"tab-inactive",onShow:function(){}},o=function(){function t(t,e){void 0===t&&(t=[]),void 0===e&&(e=n),this._items=t,this._activeTab=e?this.getTab(e.defaultTabId):null,this._options=i(i({},n),e),this._init()}return t.prototype._init=function(){var t=this;this._items.length&&(this._activeTab||this._setActiveTab(this._items[0]),this.show(this._activeTab.id,!0),this._items.map((function(e){e.triggerEl.addEventListener("click",(function(){t.show(e.id)}))})))},t.prototype.getActiveTab=function(){return this._activeTab},t.prototype._setActiveTab=function(t){this._activeTab=t},t.prototype.getTab=function(t){return this._items.filter((function(e){return e.id===t}))[0]},t.prototype.show=function(t,e){var i,n,o=this;void 0===e&&(e=!1);var r=this.getTab(t);(r!==this._activeTab||e)&&(this._items.map((function(t){var e,i;t!==r&&((e=t.triggerEl.classList).remove.apply(e,o._options.activeClasses.split(" ")),(i=t.triggerEl.classList).add.apply(i,o._options.inactiveClasses.split(" ")),t.targetEl.classList.add("hidden"),t.triggerEl.setAttribute("aria-selected","false"))})),(i=r.triggerEl.classList).add.apply(i,this._options.activeClasses.split(" ")),(n=r.triggerEl.classList).remove.apply(n,this._options.inactiveClasses.split(" ")),r.triggerEl.setAttribute("aria-selected","true"),r.targetEl.classList.remove("hidden"),this._setActiveTab(r),this._options.onShow(this,r))},t}();function r(){document.querySelectorAll("[data-tabs-toggle]").forEach((function(t){var e=[],i=null;t.querySelectorAll('[role="tab"]').forEach((function(t){var n="true"===t.getAttribute("aria-selected"),o={id:t.getAttribute("data-tabs-target"),triggerEl:t,targetEl:document.querySelector(t.getAttribute("data-tabs-target"))};e.push(o),n&&(i=o.id)})),new o(e,{defaultTabId:i})}))}"undefined"!=typeof window&&(window.Tabs=o,window.initTabs=r),e.default=o},990:function(t,e,i){var n=this&&this.__assign||function(){return n=Object.assign||function(t){for(var e,i=1,n=arguments.length;i<n;i++)for(var o in e=arguments[i])Object.prototype.hasOwnProperty.call(e,o)&&(t[o]=e[o]);return t},n.apply(this,arguments)},o=this&&this.__spreadArray||function(t,e,i){if(i||2===arguments.length)for(var n,o=0,r=e.length;o<r;o++)!n&&o in e||(n||(n=Array.prototype.slice.call(e,0,o)),n[o]=e[o]);return t.concat(n||Array.prototype.slice.call(e))};Object.defineProperty(e,"__esModule",{value:!0}),e.initTooltips=c;var r=i(915),s={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},a=function(){function t(t,e,i){void 0===t&&(t=null),void 0===e&&(e=null),void 0===i&&(i=s),this._targetEl=t,this._triggerEl=e,this._options=n(n({},s),i),this._popperInstance=this._createPopperInstance(),this._visible=!1,this._init()}return t.prototype._init=function(){this._triggerEl&&this._setupEventListeners()},t.prototype._setupEventListeners=function(){var t=this,e=this._getTriggerEvents();e.showEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.show()}))})),e.hideEvents.forEach((function(e){t._triggerEl.addEventListener(e,(function(){t.hide()}))}))},t.prototype._createPopperInstance=function(){return(0,r.createPopper)(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},t.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]}}},t.prototype._setupKeydownListener=function(){var t=this;this._keydownEventListener=function(e){"Escape"===e.key&&t.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},t.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},t.prototype._setupClickOutsideListener=function(){var t=this;this._clickOutsideEventListener=function(e){t._handleClickOutside(e,t._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},t.prototype._handleClickOutside=function(t,e){var i=t.target;i===e||e.contains(i)||this._triggerEl.contains(i)||!this.isVisible()||this.hide()},t.prototype.isVisible=function(){return this._visible},t.prototype.toggle=function(){this.isVisible()?this.hide():this.show()},t.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})})),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},t.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions((function(t){return n(n({},t),{modifiers:o(o([],t.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})})),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},t}();function c(){document.querySelectorAll("[data-tooltip-target]").forEach((function(t){var e=t.getAttribute("data-tooltip-target"),i=document.getElementById(e);if(i){var n=t.getAttribute("data-tooltip-trigger"),o=t.getAttribute("data-tooltip-placement");new a(i,t,{placement:o||s.placement,triggerType:n||s.triggerType})}else console.error('The tooltip element with id "'.concat(e,'" does not exist. Please check the data-tooltip-target attribute.'))}))}"undefined"!=typeof window&&(window.Tooltip=a,window.initTooltips=c),e.default=a}},e={};function i(n){var o=e[n];if(void 0!==o)return o.exports;var r=e[n]={exports:{}};return t[n].call(r.exports,r,r.exports,i),r.exports}i.d=function(t,e){for(var n in e)i.o(e,n)&&!i.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};return function(){var t=n;Object.defineProperty(t,"__esModule",{value:!0});var e=i(251),o=i(148),r=i(989),s=i(830),a=i(270),c=i(940),d=i(231),l=i(990);i(606),new(i(101).default)("load",[e.initAccordions,o.initCollapses,r.initDismisses,a.initDropdowns,c.initModals,s.initDrawers,d.initTabs,l.initTooltips]).init(),t.default={Accordion:e.default,Collapse:o.default,Dismiss:r.default,Dropdown:a.default,Modal:c.default,Drawer:s.default,Tabs:d.default,Tooltip:l.default}}(),n}()})); | ||
//# sourceMappingURL=aegov-scripts.min.js.map |
{ | ||
"name": "@aegov/design-system", | ||
"version": "2.1.5", | ||
"version": "2.2.0", | ||
"description": "A design system for the Government of the United Arab Emirates. The design system has been created based on research and information collected from in-depth studies conducted on user behaviour and benchmarking best practices. The primary use of this design system is to allow ministries of the United Arab Emirates to create consistent websites with components that are common and acceissible.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -128,7 +128,9 @@ import pc from "picocolors" | ||
primary:aegovColors.aegold, | ||
secondary:aegovColors.aeblack | ||
secondary:aegovColors.aeblack, | ||
"primary-support":aegovColors.camel, | ||
"secondary-support":aegovColors.seablue | ||
}, | ||
extend: { | ||
boxShadow: { | ||
'button': `0px 0px 0px 5px` | ||
'button': `0px 0px 0px 6px` | ||
}, | ||
@@ -135,0 +137,0 @@ height: { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
510956
16
690