!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("Flowbite",[],e):"object"==typeof exports?exports.Flowbite=e():t.Flowbite=e()}(self,function(){return function(){"use strict";var t={647:function(t,e,i){i.r(e)},853:function(t,e,i){i.r(e),i.d(e,{afterMain:function(){return w},afterRead:function(){return b},afterWrite:function(){return k},applyStyles:function(){return D},arrow:function(){return Q},auto:function(){return a},basePlacements:function(){return l},beforeMain:function(){return $},beforeRead:function(){return y},beforeWrite:function(){return L},bottom:function(){return o},clippingParents:function(){return u},computeStyles:function(){return ti},createPopper:function(){return t_},createPopperBase:function(){return tA},createPopperLite:function(){return tO},detectOverflow:function(){return tv},end:function(){return d},eventListeners:function(){return to},flip:function(){return ty},hide:function(){return tb},left:function(){return s},main:function(){return E},modifierPhases:function(){return A},offset:function(){return t$},placements:function(){return v},popper:function(){return f},popperGenerator:function(){return tk},popperOffsets:function(){return tE},preventOverflow:function(){return tw},read:function(){return m},reference:function(){return h},right:function(){return r},start:function(){return c},top:function(){return n},variationPlacements:function(){return g},viewport:function(){return p},write:function(){return x}});var n="top",o="bottom",r="right",s="left",a="auto",l=[n,o,r,s],c="start",d="end",u="clippingParents",p="viewport",f="popper",h="reference",g=l.reduce(function(t,e){return t.concat([e+"-"+c,e+"-"+d])},[]),v=[].concat(l,[a]).reduce(function(t,e){return t.concat([e,e+"-"+c,e+"-"+d])},[]),y="beforeRead",m="read",b="afterRead",$="beforeMain",E="main",w="afterMain",L="beforeWrite",x="write",k="afterWrite",A=[y,m,b,$,E,w,L,x,k];function _(t){return t?(t.nodeName||"").toLowerCase():null}function O(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 O(t).Element||t instanceof Element}function P(t){return t instanceof O(t).HTMLElement||t instanceof HTMLElement}function C(t){return"undefined"!=typeof ShadowRoot&&(t instanceof O(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)&&_(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)&&_(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 I=Math.max,M=Math.min,q=Math.round;function H(){var t=navigator.userAgentData;return null!=t&&t.brands?t.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function B(){return!/^((?!chrome|android).)*safari/i.test(H())}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&&q(n.width)/t.offsetWidth||1,r=t.offsetHeight>0&&q(n.height)/t.offsetHeight||1);var s=(T(t)?O(t):window).visualViewport,a=!B()&&i,l=(n.left+(a&&s?s.offsetLeft:0))/o,c=(n.top+(a&&s?s.offsetTop:0))/r,d=n.width/o,u=n.height/r;return{width:d,height:u,top:c,right:l+d,bottom:c+u,left:l,x:l,y:c}}function j(t){var e=V(t),i=t.offsetWidth,n=t.offsetHeight;return 1>=Math.abs(e.width-i)&&(i=e.width),1>=Math.abs(e.height-n)&&(n=e.height),{x:t.offsetLeft,y:t.offsetTop,width:i,height:n}}function W(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 O(t).getComputedStyle(t)}function R(t){return["table","td","th"].indexOf(_(t))>=0}function F(t){return((T(t)?t.ownerDocument:t.document)||window.document).documentElement}function N(t){return"html"===_(t)?t:t.assignedSlot||t.parentNode||(C(t)?t.host:null)||F(t)}function K(t){return P(t)&&"fixed"!==z(t).position?t.offsetParent:null}function U(t){for(var e=O(t),i=K(t);i&&R(i)&&"static"===z(i).position;)i=K(i);return i&&("html"===_(i)||"body"===_(i)&&"static"===z(i).position)?e:i||function(t){var e=/firefox/i.test(H());if(/Trident/i.test(H())&&P(t)&&"fixed"===z(t).position)return null;var i=N(t);for(C(i)&&(i=i.host);P(i)&&0>["html","body"].indexOf(_(i));){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 I(t,M(e,i))}function G(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function J(t,e){return e.reduce(function(e,i){return e[i]=t,e},{})}var Q={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,i=t.state,a=t.name,c=t.options,d=i.elements.arrow,u=i.modifiersData.popperOffsets,p=S(i.placement),f=X(p),h=[s,r].indexOf(p)>=0?"height":"width";if(d&&u){var g,v,y=(g=c.padding,v=i,G("number"!=typeof(g="function"==typeof g?g(Object.assign({},v.rects,{placement:v.placement})):g)?g:J(g,l))),m=j(d),b=i.rects.reference[h]+i.rects.reference[f]-u[f]-i.rects.popper[h],$=u[f]-i.rects.reference[f],E=U(d),w=E?"y"===f?E.clientHeight||0:E.clientWidth||0:0,L=y["y"===f?n:s],x=w-m[h]-y["y"===f?o:r],k=w/2-m[h]/2+(b/2-$/2),A=Y(L,k,x),_=f;i.modifiersData[a]=((e={})[_]=A,e.centerOffset=A-k,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)))&&W(e.elements.popper,n)&&(e.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Z(t){return t.split("-")[1]}var tt={top:"auto",right:"auto",bottom:"auto",left:"auto"};function te(t){var e,i=t.popper,a=t.popperRect,l=t.placement,c=t.variation,u=t.offsets,p=t.position,f=t.gpuAcceleration,h=t.adaptive,g=t.roundOffsets,v=t.isFixed,y=u.x,m=void 0===y?0:y,b=u.y,$=void 0===b?0:b,E="function"==typeof g?g({x:m,y:$}):{x:m,y:$};m=E.x,$=E.y;var w=u.hasOwnProperty("x"),L=u.hasOwnProperty("y"),x=s,k=n,A=window;if(h){var _=U(i),T="clientHeight",P="clientWidth";_===O(i)&&"static"!==z(_=F(i)).position&&"absolute"===p&&(T="scrollHeight",P="scrollWidth"),(l===n||(l===s||l===r)&&c===d)&&(k=o,$-=(v&&_===A&&A.visualViewport?A.visualViewport.height:_[T])-a.height,$*=f?1:-1),(l===s||(l===n||l===o)&&c===d)&&(x=r,m-=(v&&_===A&&A.visualViewport?A.visualViewport.width:_[P])-a.width,m*=f?1:-1)}var C,D,S,I,M,H=Object.assign({position:p},h&&tt),B=!0===g?(D=(C={x:m,y:$}).x,S=C.y,{x:q(D*(I=window.devicePixelRatio||1))/I||0,y:q(S*I)/I||0}):{x:m,y:$};return m=B.x,$=B.y,f?Object.assign({},H,((M={})[k]=L?"0":"",M[x]=w?"0":"",M.transform=1>=(A.devicePixelRatio||1)?"translate("+m+"px, "+$+"px)":"translate3d("+m+"px, "+$+"px, 0)",M)):Object.assign({},H,((e={})[k]=L?$+"px":"",e[x]=w?m+"px":"",e.transform="",e))}var ti={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,i=t.options,n=i.gpuAcceleration,o=i.adaptive,r=i.roundOffsets,s=void 0===r||r,a={placement:S(e.placement),variation:Z(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:void 0===n||n,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,te(Object.assign({},a,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:void 0===o||o,roundOffsets:s})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,te(Object.assign({},a,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}},tn={passive:!0},to={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,l=O(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return r&&c.forEach(function(t){t.addEventListener("scroll",i.update,tn)}),a&&l.addEventListener("resize",i.update,tn),function(){r&&c.forEach(function(t){t.removeEventListener("scroll",i.update,tn)}),a&&l.removeEventListener("resize",i.update,tn)}},data:{}},tr={left:"right",right:"left",bottom:"top",top:"bottom"};function ts(t){return t.replace(/left|right|bottom|top/g,function(t){return tr[t]})}var ta={start:"end",end:"start"};function tl(t){return t.replace(/start|end/g,function(t){return ta[t]})}function tc(t){var e=O(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function td(t){return V(F(t)).left+tc(t).scrollLeft}function tu(t){var e=z(t),i=e.overflow,n=e.overflowX,o=e.overflowY;return/auto|scroll|overlay|hidden/.test(i+o+n)}function tp(t,e){void 0===e&&(e=[]);var i,n=function t(e){return["html","body","#document"].indexOf(_(e))>=0?e.ownerDocument.body:P(e)&&tu(e)?e:t(N(e))}(t),o=n===(null==(i=t.ownerDocument)?void 0:i.body),r=O(n),s=o?[r].concat(r.visualViewport||[],tu(n)?n:[]):n,a=e.concat(s);return o?a:a.concat(tp(N(s)))}function tf(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function th(t,e,i){var n,o,r,s,a,l,c,d,u,f,h,g;return e===p?tf(function(t,e){var i=O(t),n=F(t),o=i.visualViewport,r=n.clientWidth,s=n.clientHeight,a=0,l=0;if(o){r=o.width,s=o.height;var c=B();(c||!c&&"fixed"===e)&&(a=o.offsetLeft,l=o.offsetTop)}return{width:r,height:s,x:a+td(t),y:l}}(t,i)):T(e)?(n=e,(r=V(n,!1,"fixed"===(o=i))).top=r.top+n.clientTop,r.left=r.left+n.clientLeft,r.bottom=r.top+n.clientHeight,r.right=r.left+n.clientWidth,r.width=n.clientWidth,r.height=n.clientHeight,r.x=r.left,r.y=r.top,r):tf((s=F(t),l=F(s),c=tc(s),d=null==(a=s.ownerDocument)?void 0:a.body,u=I(l.scrollWidth,l.clientWidth,d?d.scrollWidth:0,d?d.clientWidth:0),f=I(l.scrollHeight,l.clientHeight,d?d.scrollHeight:0,d?d.clientHeight:0),h=-c.scrollLeft+td(s),g=-c.scrollTop,"rtl"===z(d||l).direction&&(h+=I(l.clientWidth,d?d.clientWidth:0)-u),{width:u,height:f,x:h,y:g}))}function tg(t){var e,i=t.reference,a=t.element,l=t.placement,u=l?S(l):null,p=l?Z(l):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 c:e[g]=e[g]-(i[v]/2-a[v]/2);break;case d:e[g]=e[g]+(i[v]/2-a[v]/2)}}return e}function tv(t,e){void 0===e&&(e={});var i,s,a,c,d,g,v,y,m,b,$=e,E=$.placement,w=void 0===E?t.placement:E,L=$.strategy,x=void 0===L?t.strategy:L,k=$.boundary,A=$.rootBoundary,O=$.elementContext,C=void 0===O?f:O,D=$.altBoundary,S=$.padding,q=void 0===S?0:S,H=G("number"!=typeof q?q:J(q,l)),B=t.rects.popper,j=t.elements[void 0!==D&&D?C===f?h:f:C],R=(i=T(j)?j:j.contextElement||F(t.elements.popper),s=void 0===k?u:k,a=void 0===A?p:A,c=x,m=(y=[].concat("clippingParents"===s?(d=i,g=tp(N(d)),v=["absolute","fixed"].indexOf(z(d).position)>=0&&P(d)?U(d):d,T(v)?g.filter(function(t){return T(t)&&W(t,v)&&"body"!==_(t)}):[]):[].concat(s),[a]))[0],(b=y.reduce(function(t,e){var n=th(i,e,c);return t.top=I(n.top,t.top),t.right=M(n.right,t.right),t.bottom=M(n.bottom,t.bottom),t.left=I(n.left,t.left),t},th(i,m,c))).width=b.right-b.left,b.height=b.bottom-b.top,b.x=b.left,b.y=b.top,b),K=V(t.elements.reference),X=tg({reference:K,element:B,strategy:"absolute",placement:w}),Y=tf(Object.assign({},B,X)),Q=C===f?Y:K,Z={top:R.top-Q.top+H.top,bottom:Q.bottom-R.bottom+H.bottom,left:R.left-Q.left+H.left,right:Q.right-R.right+H.right},tt=t.modifiersData.offset;if(C===f&&tt){var te=tt[w];Object.keys(Z).forEach(function(t){var e=[r,o].indexOf(t)>=0?1:-1,i=[n,o].indexOf(t)>=0?"y":"x";Z[t]+=te[i]*e})}return Z}var ty={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,d=t.name;if(!e.modifiersData[d]._skip){for(var u=i.mainAxis,p=void 0===u||u,f=i.altAxis,h=void 0===f||f,y=i.fallbackPlacements,m=i.padding,b=i.boundary,$=i.rootBoundary,E=i.altBoundary,w=i.flipVariations,L=void 0===w||w,x=i.allowedAutoPlacements,k=e.options.placement,A=S(k),_=y||(A!==k&&L?function(t){if(S(t)===a)return[];var e=ts(t);return[tl(t),e,tl(e)]}(k):[ts(k)]),O=[k].concat(_).reduce(function(t,i){var n,o,r,s,c,d,u,p,f,h,y,E,w,k;return t.concat(S(i)===a?(n=e,o={placement:i,boundary:b,rootBoundary:$,padding:m,flipVariations:L,allowedAutoPlacements:x},!1,s=(r=o).placement,c=r.boundary,d=r.rootBoundary,u=r.padding,p=r.flipVariations,h=void 0===(f=r.allowedAutoPlacements)?v:f,0===(w=(E=(y=Z(s))?p?g:g.filter(function(t){return Z(t)===y}):l).filter(function(t){return h.indexOf(t)>=0})).length&&(w=E),Object.keys(k=w.reduce(function(t,e){return t[e]=tv(n,{placement:e,boundary:c,rootBoundary:d,padding:u})[S(e)],t},{})).sort(function(t,e){return k[t]-k[e]})):i)},[]),T=e.rects.reference,P=e.rects.popper,C=new Map,D=!0,I=O[0],M=0;M=0,j=V?"width":"height",W=tv(e,{placement:q,boundary:b,rootBoundary:$,altBoundary:E,padding:m}),z=V?B?r:s:B?o:n;T[j]>P[j]&&(z=ts(z));var R=ts(z),F=[];if(p&&F.push(W[H]<=0),h&&F.push(W[z]<=0,W[R]<=0),F.every(function(t){return t})){I=q,D=!1;break}C.set(q,F)}if(D)for(var N=function(t){var e=O.find(function(e){var i=C.get(e);if(i)return i.slice(0,t).every(function(t){return t})});if(e)return I=e,"break"},K=L?3:1;K>0&&"break"!==N(K);K--);e.placement!==I&&(e.modifiersData[d]._skip=!0,e.placement=I,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function tm(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 t8(t){return[n,r,o,s].some(function(e){return t[e]>=0})}var tb={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=tv(e,{elementContext:"reference"}),a=tv(e,{altBoundary:!0}),l=tm(s,n),c=tm(a,o,r),d=t8(l),u=t8(c);e.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:u},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":u})}},t$={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,i=t.options,o=t.name,a=i.offset,l=void 0===a?[0,0]:a,c=v.reduce(function(t,i){var o,a,c,d,u,p,f,h;return t[i]=(o=i,a=e.rects,c=l,u=[s,n].indexOf(d=S(o))>=0?-1:1,f=(p="function"==typeof c?c(Object.assign({},a,{placement:o})):c)[0],h=p[1],f=f||0,h=(h||0)*u,[s,r].indexOf(d)>=0?{x:h,y:f}:{x:f,y:h}),t},{}),d=c[e.placement],u=d.x,p=d.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=p),e.modifiersData[o]=c}},tE={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,i=t.name;e.modifiersData[i]=tg({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}},tw={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,i=t.options,a=t.name,l=i.mainAxis,d=i.altAxis,u=i.boundary,p=i.rootBoundary,f=i.altBoundary,h=i.padding,g=i.tether,v=void 0===g||g,y=i.tetherOffset,m=void 0===y?0:y,b=tv(e,{boundary:u,rootBoundary:p,padding:h,altBoundary:f}),$=S(e.placement),E=Z(e.placement),w=!E,L=X($),x="x"===L?"y":"x",k=e.modifiersData.popperOffsets,A=e.rects.reference,_=e.rects.popper,O="function"==typeof m?m(Object.assign({},e.rects,{placement:e.placement})):m,T="number"==typeof O?{mainAxis:O,altAxis:O}:Object.assign({mainAxis:0,altAxis:0},O),P=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,C={x:0,y:0};if(k){if(void 0===l||l){var D,q="y"===L?n:s,H="y"===L?o:r,B="y"===L?"height":"width",V=k[L],W=V+b[q],z=V-b[H],R=v?-_[B]/2:0,F=E===c?A[B]:_[B],N=E===c?-_[B]:-A[B],K=e.elements.arrow,G=v&&K?j(K):{width:0,height:0},J=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},Q=J[q],tt=J[H],te=Y(0,A[B],G[B]),ti=w?A[B]/2-R-te-Q-T.mainAxis:F-te-Q-T.mainAxis,tn=w?-A[B]/2+R+te+tt+T.mainAxis:N+te+tt+T.mainAxis,to=e.elements.arrow&&U(e.elements.arrow),tr=to?"y"===L?to.clientTop||0:to.clientLeft||0:0,ts=null!=(D=null==P?void 0:P[L])?D:0,ta=Y(v?M(W,V+ti-ts-tr):W,V,v?I(z,V+tn-ts):z);k[L]=ta,C[L]=ta-V}if(void 0!==d&&d){var tl,tc,td,tu,tp,tf=k[x],th="y"===x?"height":"width",tg=tf+b["x"===L?n:s],ty=tf-b["x"===L?o:r],tm=-1!==[n,s].indexOf($),t8=null!=(tp=null==P?void 0:P[x])?tp:0,tb=tm?tg:tf-A[th]-_[th]-t8+T.altAxis,t$=tm?tf+A[th]+_[th]-t8-T.altAxis:ty,tE=v&&tm?(tl=tb,tc=tf,td=t$,(tu=Y(tl,tc,td))>td?td:tu):Y(v?tb:tg,tf,v?t$:ty);k[x]=tE,C[x]=tE-tf}e.modifiersData[a]=C}},requiresIfExists:["offset"]},tL={placement:"bottom",modifiers:[],strategy:"absolute"};function tx(){for(var t=arguments.length,e=Array(t),i=0;i