flowbite 2.3.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1 @@
1
+ var n1=(q,U)=>()=>(U||q((U={exports:{}}).exports,U),U.exports);var p8=function(){function q(U,K){if(K===void 0)K=[];this._eventType=U,this._eventFunctions=K}return q.prototype.init=function(){var U=this;this._eventFunctions.forEach(function(K){if(typeof window!=="undefined")window.addEventListener(U._eventType,K)})},q}(),X8=p8;var c8=function(){function q(){this._instances={Accordion:{},Carousel:{},Collapse:{},Dial:{},Dismiss:{},Drawer:{},Dropdown:{},Modal:{},Popover:{},Tabs:{},Tooltip:{},InputCounter:{},CopyClipboard:{}}}return q.prototype.addInstance=function(U,K,J,Q){if(Q===void 0)Q=!1;if(!this._instances[U])return console.warn("Flowbite: Component ".concat(U," does not exist.")),!1;if(this._instances[U][J]&&!Q){console.warn("Flowbite: Instance with ID ".concat(J," already exists."));return}if(Q&&this._instances[U][J])this._instances[U][J].destroyAndRemoveInstance();this._instances[U][J?J:this._generateRandomId()]=K},q.prototype.getAllInstances=function(){return this._instances},q.prototype.getInstances=function(U){if(!this._instances[U])return console.warn("Flowbite: Component ".concat(U," does not exist.")),!1;return this._instances[U]},q.prototype.getInstance=function(U,K){if(!this._componentAndInstanceCheck(U,K))return;if(!this._instances[U][K]){console.warn("Flowbite: Instance with ID ".concat(K," does not exist."));return}return this._instances[U][K]},q.prototype.destroyAndRemoveInstance=function(U,K){if(!this._componentAndInstanceCheck(U,K))return;this.destroyInstanceObject(U,K),this.removeInstance(U,K)},q.prototype.removeInstance=function(U,K){if(!this._componentAndInstanceCheck(U,K))return;delete this._instances[U][K]},q.prototype.destroyInstanceObject=function(U,K){if(!this._componentAndInstanceCheck(U,K))return;this._instances[U][K].destroy()},q.prototype.instanceExists=function(U,K){if(!this._instances[U])return!1;if(!this._instances[U][K])return!1;return!0},q.prototype._generateRandomId=function(){return Math.random().toString(36).substr(2,9)},q.prototype._componentAndInstanceCheck=function(U,K){if(!this._instances[U])return console.warn("Flowbite: Component ".concat(U," does not exist.")),!1;if(!this._instances[U][K])return console.warn("Flowbite: Instance with ID ".concat(K," does not exist.")),!1;return!0},q}(),L8=new c8,L=L8;if(typeof window!=="undefined")window.FlowbiteInstances=L8;function I0(){document.querySelectorAll("[data-accordion]").forEach(function(q){var U=q.getAttribute("data-accordion"),K=q.getAttribute("data-active-classes"),J=q.getAttribute("data-inactive-classes"),Q=[];q.querySelectorAll("[data-accordion-target]").forEach(function(Z){if(Z.closest("[data-accordion]")===q){var z={id:Z.getAttribute("data-accordion-target"),triggerEl:Z,targetEl:document.querySelector(Z.getAttribute("data-accordion-target")),iconEl:Z.querySelector("[data-accordion-icon]"),active:Z.getAttribute("aria-expanded")==="true"?!0:!1};Q.push(z)}}),new bU(q,Q,{alwaysOpen:U==="open"?!0:!1,activeClasses:K?K:qU.activeClasses,inactiveClasses:J?J:qU.inactiveClasses})})}var UU=function(){return UU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},UU.apply(this,arguments)},qU={alwaysOpen:!1,activeClasses:"bg-gray-100 dark:bg-gray-800 text-gray-900 dark:text-white",inactiveClasses:"text-gray-500 dark:text-gray-400",onOpen:function(){},onClose:function(){},onToggle:function(){}},l8={id:null,override:!0},bU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=[];if(J===void 0)J=qU;if(Q===void 0)Q=l8;this._instanceId=Q.id?Q.id:U.id,this._accordionEl=U,this._items=K,this._options=UU(UU({},qU),J),this._initialized=!1,this.init(),L.addInstance("Accordion",this,this._instanceId,Q.override)}return q.prototype.init=function(){var U=this;if(this._items.length&&!this._initialized)this._items.forEach(function(K){if(K.active)U.open(K.id);var J=function(){U.toggle(K.id)};K.triggerEl.addEventListener("click",J),K.clickHandler=J}),this._initialized=!0},q.prototype.destroy=function(){if(this._items.length&&this._initialized)this._items.forEach(function(U){U.triggerEl.removeEventListener("click",U.clickHandler),delete U.clickHandler}),this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Accordion",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.getItem=function(U){return this._items.filter(function(K){return K.id===U})[0]},q.prototype.open=function(U){var K,J,Q=this,Z=this.getItem(U);if(!this._options.alwaysOpen)this._items.map(function(z){var G,Y;if(z!==Z){if((G=z.triggerEl.classList).remove.apply(G,Q._options.activeClasses.split(" ")),(Y=z.triggerEl.classList).add.apply(Y,Q._options.inactiveClasses.split(" ")),z.targetEl.classList.add("hidden"),z.triggerEl.setAttribute("aria-expanded","false"),z.active=!1,z.iconEl)z.iconEl.classList.add("rotate-180")}});if((K=Z.triggerEl.classList).add.apply(K,this._options.activeClasses.split(" ")),(J=Z.triggerEl.classList).remove.apply(J,this._options.inactiveClasses.split(" ")),Z.triggerEl.setAttribute("aria-expanded","true"),Z.targetEl.classList.remove("hidden"),Z.active=!0,Z.iconEl)Z.iconEl.classList.remove("rotate-180");this._options.onOpen(this,Z)},q.prototype.toggle=function(U){var K=this.getItem(U);if(K.active)this.close(U);else this.open(U);this._options.onToggle(this,K)},q.prototype.close=function(U){var K,J,Q=this.getItem(U);if((K=Q.triggerEl.classList).remove.apply(K,this._options.activeClasses.split(" ")),(J=Q.triggerEl.classList).add.apply(J,this._options.inactiveClasses.split(" ")),Q.targetEl.classList.add("hidden"),Q.triggerEl.setAttribute("aria-expanded","false"),Q.active=!1,Q.iconEl)Q.iconEl.classList.add("rotate-180");this._options.onClose(this,Q)},q.prototype.updateOnOpen=function(U){this._options.onOpen=U},q.prototype.updateOnClose=function(U){this._options.onClose=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Accordion=bU,window.initAccordions=I0;var r8=bU;function S0(){document.querySelectorAll("[data-collapse-toggle]").forEach(function(q){var U=q.getAttribute("data-collapse-toggle"),K=document.getElementById(U);if(K)if(!L.instanceExists("Collapse",K.getAttribute("id")))new JU(K,q);else new JU(K,q,{},{id:K.getAttribute("id")+"_"+L._generateRandomId()});else console.error("The target element with id \"".concat(U,"\" does not exist. Please check the data-collapse-toggle attribute."))})}var KU=function(){return KU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},KU.apply(this,arguments)},W8={onCollapse:function(){},onExpand:function(){},onToggle:function(){}},a8={id:null,override:!0},JU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=W8;if(Q===void 0)Q=a8;this._instanceId=Q.id?Q.id:U.id,this._targetEl=U,this._triggerEl=K,this._options=KU(KU({},W8),J),this._visible=!1,this._initialized=!1,this.init(),L.addInstance("Collapse",this,this._instanceId,Q.override)}return q.prototype.init=function(){var U=this;if(this._triggerEl&&this._targetEl&&!this._initialized){if(this._triggerEl.hasAttribute("aria-expanded"))this._visible=this._triggerEl.getAttribute("aria-expanded")==="true";else this._visible=!this._targetEl.classList.contains("hidden");this._clickHandler=function(){U.toggle()},this._triggerEl.addEventListener("click",this._clickHandler),this._initialized=!0}},q.prototype.destroy=function(){if(this._triggerEl&&this._initialized)this._triggerEl.removeEventListener("click",this._clickHandler),this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Collapse",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.collapse=function(){if(this._targetEl.classList.add("hidden"),this._triggerEl)this._triggerEl.setAttribute("aria-expanded","false");this._visible=!1,this._options.onCollapse(this)},q.prototype.expand=function(){if(this._targetEl.classList.remove("hidden"),this._triggerEl)this._triggerEl.setAttribute("aria-expanded","true");this._visible=!0,this._options.onExpand(this)},q.prototype.toggle=function(){if(this._visible)this.collapse();else this.expand();this._options.onToggle(this)},q.prototype.updateOnCollapse=function(U){this._options.onCollapse=U},q.prototype.updateOnExpand=function(U){this._options.onExpand=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Collapse=JU,window.initCollapses=S0;var o8=JU;function k0(){document.querySelectorAll("[data-carousel]").forEach(function(q){var U=q.getAttribute("data-carousel-interval"),K=q.getAttribute("data-carousel")==="slide"?!0:!1,J=[],Q=0;if(q.querySelectorAll("[data-carousel-item]").length)Array.from(q.querySelectorAll("[data-carousel-item]")).map(function(X,H){if(J.push({position:H,el:X}),X.getAttribute("data-carousel-item")==="active")Q=H});var Z=[];if(q.querySelectorAll("[data-carousel-slide-to]").length)Array.from(q.querySelectorAll("[data-carousel-slide-to]")).map(function(X){Z.push({position:parseInt(X.getAttribute("data-carousel-slide-to")),el:X})});var z=new hU(q,J,{defaultPosition:Q,indicators:{items:Z},interval:U?U:QU.interval});if(K)z.cycle();var G=q.querySelector("[data-carousel-next]"),Y=q.querySelector("[data-carousel-prev]");if(G)G.addEventListener("click",function(){z.next()});if(Y)Y.addEventListener("click",function(){z.prev()})})}var X0=function(){return X0=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},X0.apply(this,arguments)},QU={defaultPosition:0,indicators:{items:[],activeClasses:"bg-white dark:bg-gray-800",inactiveClasses:"bg-white/50 dark:bg-gray-800/50 hover:bg-white dark:hover:bg-gray-800"},interval:3000,onNext:function(){},onPrev:function(){},onChange:function(){}},s8={id:null,override:!0},hU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=[];if(J===void 0)J=QU;if(Q===void 0)Q=s8;this._instanceId=Q.id?Q.id:U.id,this._carouselEl=U,this._items=K,this._options=X0(X0(X0({},QU),J),{indicators:X0(X0({},QU.indicators),J.indicators)}),this._activeItem=this.getItem(this._options.defaultPosition),this._indicators=this._options.indicators.items,this._intervalDuration=this._options.interval,this._intervalInstance=null,this._initialized=!1,this.init(),L.addInstance("Carousel",this,this._instanceId,Q.override)}return q.prototype.init=function(){var U=this;if(this._items.length&&!this._initialized){if(this._items.map(function(K){K.el.classList.add("absolute","inset-0","transition-transform","transform")}),this.getActiveItem())this.slideTo(this.getActiveItem().position);else this.slideTo(0);this._indicators.map(function(K,J){K.el.addEventListener("click",function(){U.slideTo(J)})}),this._initialized=!0}},q.prototype.destroy=function(){if(this._initialized)this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Carousel",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.getItem=function(U){return this._items[U]},q.prototype.slideTo=function(U){var K=this._items[U],J={left:K.position===0?this._items[this._items.length-1]:this._items[K.position-1],middle:K,right:K.position===this._items.length-1?this._items[0]:this._items[K.position+1]};if(this._rotate(J),this._setActiveItem(K),this._intervalInstance)this.pause(),this.cycle();this._options.onChange(this)},q.prototype.next=function(){var U=this.getActiveItem(),K=null;if(U.position===this._items.length-1)K=this._items[0];else K=this._items[U.position+1];this.slideTo(K.position),this._options.onNext(this)},q.prototype.prev=function(){var U=this.getActiveItem(),K=null;if(U.position===0)K=this._items[this._items.length-1];else K=this._items[U.position-1];this.slideTo(K.position),this._options.onPrev(this)},q.prototype._rotate=function(U){if(this._items.map(function(K){K.el.classList.add("hidden")}),this._items.length===1){U.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),U.middle.el.classList.add("translate-x-0","z-20");return}U.left.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-20"),U.left.el.classList.add("-translate-x-full","z-10"),U.middle.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-10"),U.middle.el.classList.add("translate-x-0","z-30"),U.right.el.classList.remove("-translate-x-full","translate-x-full","translate-x-0","hidden","z-30"),U.right.el.classList.add("translate-x-full","z-20")},q.prototype.cycle=function(){var U=this;if(typeof window!=="undefined")this._intervalInstance=window.setInterval(function(){U.next()},this._intervalDuration)},q.prototype.pause=function(){clearInterval(this._intervalInstance)},q.prototype.getActiveItem=function(){return this._activeItem},q.prototype._setActiveItem=function(U){var K,J,Q=this;this._activeItem=U;var Z=U.position;if(this._indicators.length)this._indicators.map(function(z){var G,Y;z.el.setAttribute("aria-current","false"),(G=z.el.classList).remove.apply(G,Q._options.indicators.activeClasses.split(" ")),(Y=z.el.classList).add.apply(Y,Q._options.indicators.inactiveClasses.split(" "))}),(K=this._indicators[Z].el.classList).add.apply(K,this._options.indicators.activeClasses.split(" ")),(J=this._indicators[Z].el.classList).remove.apply(J,this._options.indicators.inactiveClasses.split(" ")),this._indicators[Z].el.setAttribute("aria-current","true")},q.prototype.updateOnNext=function(U){this._options.onNext=U},q.prototype.updateOnPrev=function(U){this._options.onPrev=U},q.prototype.updateOnChange=function(U){this._options.onChange=U},q}();if(typeof window!=="undefined")window.Carousel=hU,window.initCarousels=k0;var i8=hU;function x0(){document.querySelectorAll("[data-dismiss-target]").forEach(function(q){var U=q.getAttribute("data-dismiss-target"),K=document.querySelector(U);if(K)new vU(K,q);else console.error("The dismiss element with id \"".concat(U,"\" does not exist. Please check the data-dismiss-target attribute."))})}var ZU=function(){return ZU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},ZU.apply(this,arguments)},B8={transition:"transition-opacity",duration:300,timing:"ease-out",onHide:function(){}},n8={id:null,override:!0},vU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=B8;if(Q===void 0)Q=n8;this._instanceId=Q.id?Q.id:U.id,this._targetEl=U,this._triggerEl=K,this._options=ZU(ZU({},B8),J),this._initialized=!1,this.init(),L.addInstance("Dismiss",this,this._instanceId,Q.override)}return q.prototype.init=function(){var U=this;if(this._triggerEl&&this._targetEl&&!this._initialized)this._clickHandler=function(){U.hide()},this._triggerEl.addEventListener("click",this._clickHandler),this._initialized=!0},q.prototype.destroy=function(){if(this._triggerEl&&this._initialized)this._triggerEl.removeEventListener("click",this._clickHandler),this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Dismiss",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.hide=function(){var U=this;this._targetEl.classList.add(this._options.transition,"duration-".concat(this._options.duration),this._options.timing,"opacity-0"),setTimeout(function(){U._targetEl.classList.add("hidden")},this._options.duration),this._options.onHide(this,this._targetEl)},q.prototype.updateOnHide=function(U){this._options.onHide=U},q}();if(typeof window!=="undefined")window.Dismiss=vU,window.initDismisses=x0;var t8=vU;var k="top",h="bottom",D="right",y="left",GU="auto",e=[k,h,D,y],s="start",L0="end",F8="clippingParents",zU="viewport",C0="popper",N8="reference",PU=e.reduce(function(q,U){return q.concat([U+"-"+s,U+"-"+L0])},[]),YU=[].concat(e,[GU]).reduce(function(q,U){return q.concat([U,U+"-"+s,U+"-"+L0])},[]),e8="beforeRead",U1="read",q1="afterRead",K1="beforeMain",J1="main",Q1="afterMain",Z1="beforeWrite",G1="write",z1="afterWrite",V8=[e8,U1,q1,K1,J1,Q1,Z1,G1,z1];function w(q){return q?(q.nodeName||"").toLowerCase():null}function I(q){if(q==null)return window;if(q.toString()!=="[object Window]"){var U=q.ownerDocument;return U?U.defaultView||window:window}return q}var g=function(q){var U=I(q).Element;return q instanceof U||q instanceof Element},v=function(q){var U=I(q).HTMLElement;return q instanceof U||q instanceof HTMLElement},y0=function(q){if(typeof ShadowRoot==="undefined")return!1;var U=I(q).ShadowRoot;return q instanceof U||q instanceof ShadowRoot};var Y1=function(q){var U=q.state;Object.keys(U.elements).forEach(function(K){var J=U.styles[K]||{},Q=U.attributes[K]||{},Z=U.elements[K];if(!v(Z)||!w(Z))return;Object.assign(Z.style,J),Object.keys(Q).forEach(function(z){var G=Q[z];if(G===!1)Z.removeAttribute(z);else Z.setAttribute(z,G===!0?"":G)})})},H1=function(q){var U=q.state,K={popper:{position:U.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};if(Object.assign(U.elements.popper.style,K.popper),U.styles=K,U.elements.arrow)Object.assign(U.elements.arrow.style,K.arrow);return function(){Object.keys(U.elements).forEach(function(J){var Q=U.elements[J],Z=U.attributes[J]||{},z=Object.keys(U.styles.hasOwnProperty(J)?U.styles[J]:K[J]),G=z.reduce(function(Y,X){return Y[X]="",Y},{});if(!v(Q)||!w(Q))return;Object.assign(Q.style,G),Object.keys(Z).forEach(function(Y){Q.removeAttribute(Y)})})}},R8={name:"applyStyles",enabled:!0,phase:"write",fn:Y1,effect:H1,requires:["computeStyles"]};function $(q){return q.split("-")[0]}var{max:r,min:W0,round:i}=Math;function D0(){var q=navigator.userAgentData;if(q!=null&&q.brands&&Array.isArray(q.brands))return q.brands.map(function(U){return U.brand+"/"+U.version}).join(" ");return navigator.userAgent}function d0(){return!/^((?!chrome|android).)*safari/i.test(D0())}function d(q,U,K){if(U===void 0)U=!1;if(K===void 0)K=!1;var J=q.getBoundingClientRect(),Q=1,Z=1;if(U&&v(q))Q=q.offsetWidth>0?i(J.width)/q.offsetWidth||1:1,Z=q.offsetHeight>0?i(J.height)/q.offsetHeight||1:1;var z=g(q)?I(q):window,G=z.visualViewport,Y=!d0()&&K,X=(J.left+(Y&&G?G.offsetLeft:0))/Q,H=(J.top+(Y&&G?G.offsetTop:0))/Z,V=J.width/Q,T=J.height/Z;return{width:V,height:T,top:H,right:X+V,bottom:H+T,left:X,x:X,y:H}}function B0(q){var U=d(q),K=q.offsetWidth,J=q.offsetHeight;if(Math.abs(U.width-K)<=1)K=U.width;if(Math.abs(U.height-J)<=1)J=U.height;return{x:q.offsetLeft,y:q.offsetTop,width:K,height:J}}function p0(q,U){var K=U.getRootNode&&U.getRootNode();if(q.contains(U))return!0;else if(K&&y0(K)){var J=U;do{if(J&&q.isSameNode(J))return!0;J=J.parentNode||J.host}while(J)}return!1}function f(q){return I(q).getComputedStyle(q)}function wU(q){return["table","td","th"].indexOf(w(q))>=0}function u(q){return((g(q)?q.ownerDocument:q.document)||window.document).documentElement}function n(q){if(w(q)==="html")return q;return q.assignedSlot||q.parentNode||(y0(q)?q.host:null)||u(q)}var A8=function(q){if(!v(q)||f(q).position==="fixed")return null;return q.offsetParent},X1=function(q){var U=/firefox/i.test(D0()),K=/Trident/i.test(D0());if(K&&v(q)){var J=f(q);if(J.position==="fixed")return null}var Q=n(q);if(y0(Q))Q=Q.host;while(v(Q)&&["html","body"].indexOf(w(Q))<0){var Z=f(Q);if(Z.transform!=="none"||Z.perspective!=="none"||Z.contain==="paint"||["transform","perspective"].indexOf(Z.willChange)!==-1||U&&Z.willChange==="filter"||U&&Z.filter&&Z.filter!=="none")return Q;else Q=Q.parentNode}return null};function a(q){var U=I(q),K=A8(q);while(K&&wU(K)&&f(K).position==="static")K=A8(K);if(K&&(w(K)==="html"||w(K)==="body"&&f(K).position==="static"))return U;return K||X1(q)||U}function F0(q){return["top","bottom"].indexOf(q)>=0?"x":"y"}function N0(q,U,K){return r(q,W0(U,K))}function T8(q,U,K){var J=N0(q,U,K);return J>K?K:J}function c0(){return{top:0,right:0,bottom:0,left:0}}function l0(q){return Object.assign({},c0(),q)}function r0(q,U){return U.reduce(function(K,J){return K[J]=q,K},{})}var W1=function(q){var U,K=q.state,J=q.name,Q=q.options,Z=K.elements.arrow,z=K.modifiersData.popperOffsets,G=$(K.placement),Y=F0(G),X=[y,D].indexOf(G)>=0,H=X?"height":"width";if(!Z||!z)return;var V=L1(Q.padding,K),T=B0(Z),W=Y==="y"?k:y,j=Y==="y"?h:D,N=K.rects.reference[H]+K.rects.reference[Y]-z[Y]-K.rects.popper[H],F=z[Y]-K.rects.reference[Y],M=a(Z),x=M?Y==="y"?M.clientHeight||0:M.clientWidth||0:0,C=N/2-F/2,B=V[W],R=x-T[H]-V[j],A=x/2-T[H]/2+C,S=N0(B,A,R),O=Y;K.modifiersData[J]=(U={},U[O]=S,U.centerOffset=S-A,U)},B1=function(q){var{state:U,options:K}=q,J=K.element,Q=J===void 0?"[data-popper-arrow]":J;if(Q==null)return;if(typeof Q==="string"){if(Q=U.elements.popper.querySelector(Q),!Q)return}if(!p0(U.elements.popper,Q))return;U.elements.arrow=Q},L1=function q(U,K){return U=typeof U==="function"?U(Object.assign({},K.rects,{placement:K.placement})):U,l0(typeof U!=="number"?U:r0(U,e))},M8={name:"arrow",enabled:!0,phase:"main",fn:W1,effect:B1,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function p(q){return q.split("-")[1]}var N1=function(q,U){var{x:K,y:J}=q,Q=U.devicePixelRatio||1;return{x:i(K*Q)/Q||0,y:i(J*Q)/Q||0}};function j8(q){var U,K=q.popper,J=q.popperRect,Q=q.placement,Z=q.variation,z=q.offsets,G=q.position,Y=q.gpuAcceleration,X=q.adaptive,H=q.roundOffsets,V=q.isFixed,T=z.x,W=T===void 0?0:T,j=z.y,N=j===void 0?0:j,F=typeof H==="function"?H({x:W,y:N}):{x:W,y:N};W=F.x,N=F.y;var M=z.hasOwnProperty("x"),x=z.hasOwnProperty("y"),C=y,B=k,R=window;if(X){var A=a(K),S="clientHeight",O="clientWidth";if(A===I(K)){if(A=u(K),f(A).position!=="static"&&G==="absolute")S="scrollHeight",O="scrollWidth"}if(A=A,Q===k||(Q===y||Q===D)&&Z===L0){B=h;var P=V&&A===R&&R.visualViewport?R.visualViewport.height:A[S];N-=P-J.height,N*=Y?1:-1}if(Q===y||(Q===k||Q===h)&&Z===L0){C=D;var b=V&&A===R&&R.visualViewport?R.visualViewport.width:A[O];W-=b-J.width,W*=Y?1:-1}}var E=Object.assign({position:G},X&&F1),c=H===!0?N1({x:W,y:N},I(K)):{x:W,y:N};if(W=c.x,N=c.y,Y){var _;return Object.assign({},E,(_={},_[B]=x?"0":"",_[C]=M?"0":"",_.transform=(R.devicePixelRatio||1)<=1?"translate("+W+"px, "+N+"px)":"translate3d("+W+"px, "+N+"px, 0)",_))}return Object.assign({},E,(U={},U[B]=x?N+"px":"",U[C]=M?W+"px":"",U.transform="",U))}var V1=function(q){var{state:U,options:K}=q,J=K.gpuAcceleration,Q=J===void 0?!0:J,Z=K.adaptive,z=Z===void 0?!0:Z,G=K.roundOffsets,Y=G===void 0?!0:G,X={placement:$(U.placement),variation:p(U.placement),popper:U.elements.popper,popperRect:U.rects.popper,gpuAcceleration:Q,isFixed:U.options.strategy==="fixed"};if(U.modifiersData.popperOffsets!=null)U.styles.popper=Object.assign({},U.styles.popper,j8(Object.assign({},X,{offsets:U.modifiersData.popperOffsets,position:U.options.strategy,adaptive:z,roundOffsets:Y})));if(U.modifiersData.arrow!=null)U.styles.arrow=Object.assign({},U.styles.arrow,j8(Object.assign({},X,{offsets:U.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:Y})));U.attributes.popper=Object.assign({},U.attributes.popper,{"data-popper-placement":U.placement})},F1={top:"auto",right:"auto",bottom:"auto",left:"auto"},I8={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:V1,data:{}};var R1=function(q){var{state:U,instance:K,options:J}=q,Q=J.scroll,Z=Q===void 0?!0:Q,z=J.resize,G=z===void 0?!0:z,Y=I(U.elements.popper),X=[].concat(U.scrollParents.reference,U.scrollParents.popper);if(Z)X.forEach(function(H){H.addEventListener("scroll",K.update,HU)});if(G)Y.addEventListener("resize",K.update,HU);return function(){if(Z)X.forEach(function(H){H.removeEventListener("scroll",K.update,HU)});if(G)Y.removeEventListener("resize",K.update,HU)}},HU={passive:!0},S8={name:"eventListeners",enabled:!0,phase:"write",fn:function q(){},effect:R1,data:{}};var A1={left:"right",right:"left",bottom:"top",top:"bottom"};function b0(q){return q.replace(/left|right|bottom|top/g,function(U){return A1[U]})}var T1={start:"end",end:"start"};function XU(q){return q.replace(/start|end/g,function(U){return T1[U]})}function V0(q){var U=I(q),K=U.pageXOffset,J=U.pageYOffset;return{scrollLeft:K,scrollTop:J}}function R0(q){return d(u(q)).left+V0(q).scrollLeft}function $U(q,U){var K=I(q),J=u(q),Q=K.visualViewport,Z=J.clientWidth,z=J.clientHeight,G=0,Y=0;if(Q){Z=Q.width,z=Q.height;var X=d0();if(X||!X&&U==="fixed")G=Q.offsetLeft,Y=Q.offsetTop}return{width:Z,height:z,x:G+R0(q),y:Y}}function OU(q){var U,K=u(q),J=V0(q),Q=(U=q.ownerDocument)==null?void 0:U.body,Z=r(K.scrollWidth,K.clientWidth,Q?Q.scrollWidth:0,Q?Q.clientWidth:0),z=r(K.scrollHeight,K.clientHeight,Q?Q.scrollHeight:0,Q?Q.clientHeight:0),G=-J.scrollLeft+R0(q),Y=-J.scrollTop;if(f(Q||K).direction==="rtl")G+=r(K.clientWidth,Q?Q.clientWidth:0)-Z;return{width:Z,height:z,x:G,y:Y}}function A0(q){var U=f(q),K=U.overflow,J=U.overflowX,Q=U.overflowY;return/auto|scroll|overlay|hidden/.test(K+Q+J)}function LU(q){if(["html","body","#document"].indexOf(w(q))>=0)return q.ownerDocument.body;if(v(q)&&A0(q))return q;return LU(n(q))}function U0(q,U){var K;if(U===void 0)U=[];var J=LU(q),Q=J===((K=q.ownerDocument)==null?void 0:K.body),Z=I(J),z=Q?[Z].concat(Z.visualViewport||[],A0(J)?J:[]):J,G=U.concat(z);return Q?G:G.concat(U0(n(z)))}function h0(q){return Object.assign({},q,{left:q.x,top:q.y,right:q.x+q.width,bottom:q.y+q.height})}var M1=function(q,U){var K=d(q,!1,U==="fixed");return K.top=K.top+q.clientTop,K.left=K.left+q.clientLeft,K.bottom=K.top+q.clientHeight,K.right=K.left+q.clientWidth,K.width=q.clientWidth,K.height=q.clientHeight,K.x=K.left,K.y=K.top,K},k8=function(q,U,K){return U===zU?h0($U(q,K)):g(U)?M1(U,K):h0(OU(u(q)))},j1=function(q){var U=U0(n(q)),K=["absolute","fixed"].indexOf(f(q).position)>=0,J=K&&v(q)?a(q):q;if(!g(J))return[];return U.filter(function(Q){return g(Q)&&p0(Q,J)&&w(Q)!=="body"})};function uU(q,U,K,J){var Q=U==="clippingParents"?j1(q):[].concat(U),Z=[].concat(Q,[K]),z=Z[0],G=Z.reduce(function(Y,X){var H=k8(q,X,J);return Y.top=r(H.top,Y.top),Y.right=W0(H.right,Y.right),Y.bottom=W0(H.bottom,Y.bottom),Y.left=r(H.left,Y.left),Y},k8(q,z,J));return G.width=G.right-G.left,G.height=G.bottom-G.top,G.x=G.left,G.y=G.top,G}function a0(q){var{reference:U,element:K,placement:J}=q,Q=J?$(J):null,Z=J?p(J):null,z=U.x+U.width/2-K.width/2,G=U.y+U.height/2-K.height/2,Y;switch(Q){case k:Y={x:z,y:U.y-K.height};break;case h:Y={x:z,y:U.y+U.height};break;case D:Y={x:U.x+U.width,y:G};break;case y:Y={x:U.x-K.width,y:G};break;default:Y={x:U.x,y:U.y}}var X=Q?F0(Q):null;if(X!=null){var H=X==="y"?"height":"width";switch(Z){case s:Y[X]=Y[X]-(U[H]/2-K[H]/2);break;case L0:Y[X]=Y[X]+(U[H]/2-K[H]/2);break;default:}}return Y}function o(q,U){if(U===void 0)U={};var K=U,J=K.placement,Q=J===void 0?q.placement:J,Z=K.strategy,z=Z===void 0?q.strategy:Z,G=K.boundary,Y=G===void 0?F8:G,X=K.rootBoundary,H=X===void 0?zU:X,V=K.elementContext,T=V===void 0?C0:V,W=K.altBoundary,j=W===void 0?!1:W,N=K.padding,F=N===void 0?0:N,M=l0(typeof F!=="number"?F:r0(F,e)),x=T===C0?N8:C0,C=q.rects.popper,B=q.elements[j?x:T],R=uU(g(B)?B:B.contextElement||u(q.elements.popper),Y,H,z),A=d(q.elements.reference),S=a0({reference:A,element:C,strategy:"absolute",placement:Q}),O=h0(Object.assign({},C,S)),P=T===C0?O:A,b={top:R.top-P.top+M.top,bottom:P.bottom-R.bottom+M.bottom,left:R.left-P.left+M.left,right:P.right-R.right+M.right},E=q.modifiersData.offset;if(T===C0&&E){var c=E[Q];Object.keys(b).forEach(function(_){var Z0=[D,h].indexOf(_)>=0?1:-1,G0=[k,h].indexOf(_)>=0?"y":"x";b[_]+=c[G0]*Z0})}return b}function EU(q,U){if(U===void 0)U={};var K=U,J=K.placement,Q=K.boundary,Z=K.rootBoundary,z=K.padding,G=K.flipVariations,Y=K.allowedAutoPlacements,X=Y===void 0?YU:Y,H=p(J),V=H?G?PU:PU.filter(function(j){return p(j)===H}):e,T=V.filter(function(j){return X.indexOf(j)>=0});if(T.length===0)T=V;var W=T.reduce(function(j,N){return j[N]=o(q,{placement:N,boundary:Q,rootBoundary:Z,padding:z})[$(N)],j},{});return Object.keys(W).sort(function(j,N){return W[j]-W[N]})}var I1=function(q){if($(q)===GU)return[];var U=b0(q);return[XU(q),U,XU(U)]},S1=function(q){var{state:U,options:K,name:J}=q;if(U.modifiersData[J]._skip)return;var Q=K.mainAxis,Z=Q===void 0?!0:Q,z=K.altAxis,G=z===void 0?!0:z,Y=K.fallbackPlacements,X=K.padding,H=K.boundary,V=K.rootBoundary,T=K.altBoundary,W=K.flipVariations,j=W===void 0?!0:W,N=K.allowedAutoPlacements,F=U.options.placement,M=$(F),x=M===F,C=Y||(x||!j?[b0(F)]:I1(F)),B=[F].concat(C).reduce(function(j0,t){return j0.concat($(t)===GU?EU(U,{placement:t,boundary:H,rootBoundary:V,padding:X,flipVariations:j,allowedAutoPlacements:N}):t)},[]),R=U.rects.reference,A=U.rects.popper,S=new Map,O=!0,P=B[0];for(var b=0;b<B.length;b++){var E=B[b],c=$(E),_=p(E)===s,Z0=[k,h].indexOf(c)>=0,G0=Z0?"width":"height",m=o(U,{placement:E,boundary:H,rootBoundary:V,altBoundary:T,padding:X}),l=Z0?_?D:y:_?h:k;if(R[G0]>A[G0])l=b0(l);var s0=b0(l),z0=[];if(Z)z0.push(m[c]<=0);if(G)z0.push(m[l]<=0,m[s0]<=0);if(z0.every(function(j0){return j0})){P=E,O=!1;break}S.set(E,z0)}if(O){var i0=j?3:1,xU=function j0(t){var g0=B.find(function(t0){var Y0=S.get(t0);if(Y0)return Y0.slice(0,t).every(function(CU){return CU})});if(g0)return P=g0,"break"};for(var m0=i0;m0>0;m0--){var n0=xU(m0);if(n0==="break")break}}if(U.placement!==P)U.modifiersData[J]._skip=!0,U.placement=P,U.reset=!0},x8={name:"flip",enabled:!0,phase:"main",fn:S1,requiresIfExists:["offset"],data:{_skip:!1}};var C8=function(q,U,K){if(K===void 0)K={x:0,y:0};return{top:q.top-U.height-K.y,right:q.right-U.width+K.x,bottom:q.bottom-U.height+K.y,left:q.left-U.width-K.x}},y8=function(q){return[k,D,h,y].some(function(U){return q[U]>=0})},k1=function(q){var{state:U,name:K}=q,J=U.rects.reference,Q=U.rects.popper,Z=U.modifiersData.preventOverflow,z=o(U,{elementContext:"reference"}),G=o(U,{altBoundary:!0}),Y=C8(z,J),X=C8(G,Q,Z),H=y8(Y),V=y8(X);U.modifiersData[K]={referenceClippingOffsets:Y,popperEscapeOffsets:X,isReferenceHidden:H,hasPopperEscaped:V},U.attributes.popper=Object.assign({},U.attributes.popper,{"data-popper-reference-hidden":H,"data-popper-escaped":V})},D8={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:k1};function x1(q,U,K){var J=$(q),Q=[y,k].indexOf(J)>=0?-1:1,Z=typeof K==="function"?K(Object.assign({},U,{placement:q})):K,z=Z[0],G=Z[1];return z=z||0,G=(G||0)*Q,[y,D].indexOf(J)>=0?{x:G,y:z}:{x:z,y:G}}var C1=function(q){var{state:U,options:K,name:J}=q,Q=K.offset,Z=Q===void 0?[0,0]:Q,z=YU.reduce(function(H,V){return H[V]=x1(V,U.rects,Z),H},{}),G=z[U.placement],Y=G.x,X=G.y;if(U.modifiersData.popperOffsets!=null)U.modifiersData.popperOffsets.x+=Y,U.modifiersData.popperOffsets.y+=X;U.modifiersData[J]=z},b8={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:C1};var y1=function(q){var{state:U,name:K}=q;U.modifiersData[K]=a0({reference:U.rects.reference,element:U.rects.popper,strategy:"absolute",placement:U.placement})},h8={name:"popperOffsets",enabled:!0,phase:"read",fn:y1,data:{}};function _U(q){return q==="x"?"y":"x"}var D1=function(q){var{state:U,options:K,name:J}=q,Q=K.mainAxis,Z=Q===void 0?!0:Q,z=K.altAxis,G=z===void 0?!1:z,Y=K.boundary,X=K.rootBoundary,H=K.altBoundary,V=K.padding,T=K.tether,W=T===void 0?!0:T,j=K.tetherOffset,N=j===void 0?0:j,F=o(U,{boundary:Y,rootBoundary:X,padding:V,altBoundary:H}),M=$(U.placement),x=p(U.placement),C=!x,B=F0(M),R=_U(B),A=U.modifiersData.popperOffsets,S=U.rects.reference,O=U.rects.popper,P=typeof N==="function"?N(Object.assign({},U.rects,{placement:U.placement})):N,b=typeof P==="number"?{mainAxis:P,altAxis:P}:Object.assign({mainAxis:0,altAxis:0},P),E=U.modifiersData.offset?U.modifiersData.offset[U.placement]:null,c={x:0,y:0};if(!A)return;if(Z){var _,Z0=B==="y"?k:y,G0=B==="y"?h:D,m=B==="y"?"height":"width",l=A[B],s0=l+F[Z0],z0=l-F[G0],i0=W?-O[m]/2:0,xU=x===s?S[m]:O[m],m0=x===s?-O[m]:-S[m],n0=U.elements.arrow,j0=W&&n0?B0(n0):{width:0,height:0},t=U.modifiersData["arrow#persistent"]?U.modifiersData["arrow#persistent"].padding:c0(),g0=t[Z0],t0=t[G0],Y0=N0(0,S[m],j0[m]),CU=C?S[m]/2-i0-Y0-g0-b.mainAxis:xU-Y0-g0-b.mainAxis,E8=C?-S[m]/2+i0+Y0+t0+b.mainAxis:m0+Y0+t0+b.mainAxis,yU=U.elements.arrow&&a(U.elements.arrow),_8=yU?B==="y"?yU.clientTop||0:yU.clientLeft||0:0,q8=(_=E==null?void 0:E[B])!=null?_:0,f8=l+CU-q8-_8,m8=l+E8-q8,K8=N0(W?W0(s0,f8):s0,l,W?r(z0,m8):z0);A[B]=K8,c[B]=K8-l}if(G){var J8,g8=B==="x"?k:y,d8=B==="x"?h:D,H0=A[R],e0=R==="y"?"height":"width",Q8=H0+F[g8],Z8=H0-F[d8],DU=[k,y].indexOf(M)!==-1,G8=(J8=E==null?void 0:E[R])!=null?J8:0,z8=DU?Q8:H0-S[e0]-O[e0]-G8+b.altAxis,Y8=DU?H0+S[e0]+O[e0]-G8-b.altAxis:Z8,H8=W&&DU?T8(z8,H0,Y8):N0(W?z8:Q8,H0,W?Y8:Z8);A[R]=H8,c[R]=H8-H0}U.modifiersData[J]=c},v8={name:"preventOverflow",enabled:!0,phase:"main",fn:D1,requiresIfExists:["offset"]};function fU(q){return{scrollLeft:q.scrollLeft,scrollTop:q.scrollTop}}function mU(q){if(q===I(q)||!v(q))return V0(q);else return fU(q)}var b1=function(q){var U=q.getBoundingClientRect(),K=i(U.width)/q.offsetWidth||1,J=i(U.height)/q.offsetHeight||1;return K!==1||J!==1};function gU(q,U,K){if(K===void 0)K=!1;var J=v(U),Q=v(U)&&b1(U),Z=u(U),z=d(q,Q,K),G={scrollLeft:0,scrollTop:0},Y={x:0,y:0};if(J||!J&&!K){if(w(U)!=="body"||A0(Z))G=mU(U);if(v(U))Y=d(U,!0),Y.x+=U.clientLeft,Y.y+=U.clientTop;else if(Z)Y.x=R0(Z)}return{x:z.left+G.scrollLeft-Y.x,y:z.top+G.scrollTop-Y.y,width:z.width,height:z.height}}var h1=function(q){var U=new Map,K=new Set,J=[];q.forEach(function(Z){U.set(Z.name,Z)});function Q(Z){K.add(Z.name);var z=[].concat(Z.requires||[],Z.requiresIfExists||[]);z.forEach(function(G){if(!K.has(G)){var Y=U.get(G);if(Y)Q(Y)}}),J.push(Z)}return q.forEach(function(Z){if(!K.has(Z.name))Q(Z)}),J};function dU(q){var U=h1(q);return V8.reduce(function(K,J){return K.concat(U.filter(function(Q){return Q.phase===J}))},[])}function pU(q){var U;return function(){if(!U)U=new Promise(function(K){Promise.resolve().then(function(){U=void 0,K(q())})});return U}}function cU(q){var U=q.reduce(function(K,J){var Q=K[J.name];return K[J.name]=Q?Object.assign({},Q,J,{options:Object.assign({},Q.options,J.options),data:Object.assign({},Q.data,J.data)}):J,K},{});return Object.keys(U).map(function(K){return U[K]})}var w8=function(){for(var q=arguments.length,U=new Array(q),K=0;K<q;K++)U[K]=arguments[K];return!U.some(function(J){return!(J&&typeof J.getBoundingClientRect==="function")})};function $8(q){if(q===void 0)q={};var U=q,K=U.defaultModifiers,J=K===void 0?[]:K,Q=U.defaultOptions,Z=Q===void 0?P8:Q;return function z(G,Y,X){if(X===void 0)X=Z;var H={placement:"bottom",orderedModifiers:[],options:Object.assign({},P8,Z),modifiersData:{},elements:{reference:G,popper:Y},attributes:{},styles:{}},V=[],T=!1,W={state:H,setOptions:function F(M){var x=typeof M==="function"?M(H.options):M;N(),H.options=Object.assign({},Z,H.options,x),H.scrollParents={reference:g(G)?U0(G):G.contextElement?U0(G.contextElement):[],popper:U0(Y)};var C=dU(cU([].concat(J,H.options.modifiers)));return H.orderedModifiers=C.filter(function(B){return B.enabled}),j(),W.update()},forceUpdate:function F(){if(T)return;var M=H.elements,x=M.reference,C=M.popper;if(!w8(x,C))return;H.rects={reference:gU(x,a(C),H.options.strategy==="fixed"),popper:B0(C)},H.reset=!1,H.placement=H.options.placement,H.orderedModifiers.forEach(function(b){return H.modifiersData[b.name]=Object.assign({},b.data)});for(var B=0;B<H.orderedModifiers.length;B++){if(H.reset===!0){H.reset=!1,B=-1;continue}var R=H.orderedModifiers[B],A=R.fn,S=R.options,O=S===void 0?{}:S,P=R.name;if(typeof A==="function")H=A({state:H,options:O,name:P,instance:W})||H}},update:pU(function(){return new Promise(function(F){W.forceUpdate(),F(H)})}),destroy:function F(){N(),T=!0}};if(!w8(G,Y))return W;W.setOptions(X).then(function(F){if(!T&&X.onFirstUpdate)X.onFirstUpdate(F)});function j(){H.orderedModifiers.forEach(function(F){var{name:M,options:x}=F,C=x===void 0?{}:x,B=F.effect;if(typeof B==="function"){var R=B({state:H,name:M,instance:W,options:C}),A=function S(){};V.push(R||A)}})}function N(){V.forEach(function(F){return F()}),V=[]}return W}}var P8={placement:"bottom",modifiers:[],strategy:"absolute"};var v1=[S8,h8,I8,R8,b8,x8,v8,M8,D8],T0=$8({defaultModifiers:v1});function v0(){document.querySelectorAll("[data-dropdown-toggle]").forEach(function(q){var U=q.getAttribute("data-dropdown-toggle"),K=document.getElementById(U);if(K){var J=q.getAttribute("data-dropdown-placement"),Q=q.getAttribute("data-dropdown-offset-skidding"),Z=q.getAttribute("data-dropdown-offset-distance"),z=q.getAttribute("data-dropdown-trigger"),G=q.getAttribute("data-dropdown-delay"),Y=q.getAttribute("data-dropdown-ignore-click-outside-class");new lU(K,q,{placement:J?J:K0.placement,triggerType:z?z:K0.triggerType,offsetSkidding:Q?parseInt(Q):K0.offsetSkidding,offsetDistance:Z?parseInt(Z):K0.offsetDistance,delay:G?parseInt(G):K0.delay,ignoreClickOutsideClass:Y?Y:K0.ignoreClickOutsideClass})}else console.error("The dropdown element with id \"".concat(U,"\" does not exist. Please check the data-dropdown-toggle attribute."))})}var q0=function(){return q0=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},q0.apply(this,arguments)},WU=function(q,U,K){if(K||arguments.length===2){for(var J=0,Q=U.length,Z;J<Q;J++)if(Z||!(J in U)){if(!Z)Z=Array.prototype.slice.call(U,0,J);Z[J]=U[J]}}return q.concat(Z||Array.prototype.slice.call(U))},K0={placement:"bottom",triggerType:"click",offsetSkidding:0,offsetDistance:10,delay:300,ignoreClickOutsideClass:!1,onShow:function(){},onHide:function(){},onToggle:function(){}},P1={id:null,override:!0},lU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=K0;if(Q===void 0)Q=P1;this._instanceId=Q.id?Q.id:U.id,this._targetEl=U,this._triggerEl=K,this._options=q0(q0({},K0),J),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),L.addInstance("Dropdown",this,this._instanceId,Q.override)}return q.prototype.init=function(){if(this._triggerEl&&this._targetEl&&!this._initialized)this._popperInstance=this._createPopperInstance(),this._setupEventListeners(),this._initialized=!0},q.prototype.destroy=function(){var U=this,K=this._getTriggerEvents();if(this._options.triggerType==="click")K.showEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._clickHandler)});if(this._options.triggerType==="hover")K.showEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._hoverShowTriggerElHandler),U._targetEl.removeEventListener(J,U._hoverShowTargetElHandler)}),K.hideEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._hoverHideHandler),U._targetEl.removeEventListener(J,U._hoverHideHandler)});this._popperInstance.destroy(),this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Dropdown",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype._setupEventListeners=function(){var U=this,K=this._getTriggerEvents();if(this._clickHandler=function(){U.toggle()},this._options.triggerType==="click")K.showEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._clickHandler)});if(this._hoverShowTriggerElHandler=function(J){if(J.type==="click")U.toggle();else setTimeout(function(){U.show()},U._options.delay)},this._hoverShowTargetElHandler=function(){U.show()},this._hoverHideHandler=function(){setTimeout(function(){if(!U._targetEl.matches(":hover"))U.hide()},U._options.delay)},this._options.triggerType==="hover")K.showEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._hoverShowTriggerElHandler),U._targetEl.addEventListener(J,U._hoverShowTargetElHandler)}),K.hideEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._hoverHideHandler),U._targetEl.addEventListener(J,U._hoverHideHandler)})},q.prototype._createPopperInstance=function(){return T0(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[this._options.offsetSkidding,this._options.offsetDistance]}}]})},q.prototype._setupClickOutsideListener=function(){var U=this;this._clickOutsideEventListener=function(K){U._handleClickOutside(K,U._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},q.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},q.prototype._handleClickOutside=function(U,K){var J=U.target,Q=this._options.ignoreClickOutsideClass,Z=!1;if(Q){var z=document.querySelectorAll(".".concat(Q));z.forEach(function(G){if(G.contains(J)){Z=!0;return}})}if(J!==K&&!K.contains(J)&&!this._triggerEl.contains(J)&&!Z&&this.isVisible())this.hide()},q.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","click"],hideEvents:["mouseleave"]};case"click":return{showEvents:["click"],hideEvents:[]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["click"],hideEvents:[]}}},q.prototype.toggle=function(){if(this.isVisible())this.hide();else this.show();this._options.onToggle(this)},q.prototype.isVisible=function(){return this._visible},q.prototype.show=function(){this._targetEl.classList.remove("hidden"),this._targetEl.classList.add("block"),this._popperInstance.setOptions(function(U){return q0(q0({},U),{modifiers:WU(WU([],U.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},q.prototype.hide=function(){this._targetEl.classList.remove("block"),this._targetEl.classList.add("hidden"),this._popperInstance.setOptions(function(U){return q0(q0({},U),{modifiers:WU(WU([],U.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._visible=!1,this._removeClickOutsideListener(),this._options.onHide(this)},q.prototype.updateOnShow=function(U){this._options.onShow=U},q.prototype.updateOnHide=function(U){this._options.onHide=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Dropdown=lU,window.initDropdowns=v0;var w1=lU;function P0(){document.querySelectorAll("[data-modal-target]").forEach(function(q){var U=q.getAttribute("data-modal-target"),K=document.getElementById(U);if(K){var J=K.getAttribute("data-modal-placement"),Q=K.getAttribute("data-modal-backdrop");new rU(K,{placement:J?J:FU.placement,backdrop:Q?Q:FU.backdrop})}else console.error("Modal with id ".concat(U," 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(q){var U=q.getAttribute("data-modal-toggle"),K=document.getElementById(U);if(K){var J=L.getInstance("Modal",U);if(J){var Q=function(){J.toggle()};q.addEventListener("click",Q),J.addEventListenerInstance(q,"click",Q)}else console.error("Modal with id ".concat(U," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(U," 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(q){var U=q.getAttribute("data-modal-show"),K=document.getElementById(U);if(K){var J=L.getInstance("Modal",U);if(J){var Q=function(){J.show()};q.addEventListener("click",Q),J.addEventListenerInstance(q,"click",Q)}else console.error("Modal with id ".concat(U," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(U," 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(q){var U=q.getAttribute("data-modal-hide"),K=document.getElementById(U);if(K){var J=L.getInstance("Modal",U);if(J){var Q=function(){J.hide()};q.addEventListener("click",Q),J.addEventListenerInstance(q,"click",Q)}else console.error("Modal with id ".concat(U," has not been initialized. Please initialize it using the data-modal-target attribute."))}else console.error("Modal with id ".concat(U," does not exist. Are you sure that the data-modal-hide attribute points to the correct modal id?"))})}var BU=function(){return BU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},BU.apply(this,arguments)},FU={placement:"center",backdropClasses:"bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-40",backdrop:"dynamic",closable:!0,onHide:function(){},onShow:function(){},onToggle:function(){}},$1={id:null,override:!0},rU=function(){function q(U,K,J){if(U===void 0)U=null;if(K===void 0)K=FU;if(J===void 0)J=$1;this._eventListenerInstances=[],this._instanceId=J.id?J.id:U.id,this._targetEl=U,this._options=BU(BU({},FU),K),this._isHidden=!0,this._backdropEl=null,this._initialized=!1,this.init(),L.addInstance("Modal",this,this._instanceId,J.override)}return q.prototype.init=function(){var U=this;if(this._targetEl&&!this._initialized)this._getPlacementClasses().map(function(K){U._targetEl.classList.add(K)}),this._initialized=!0},q.prototype.destroy=function(){if(this._initialized)this.removeAllEventListenerInstances(),this._destroyBackdropEl(),this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Modal",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype._createBackdrop=function(){var U;if(this._isHidden){var K=document.createElement("div");K.setAttribute("modal-backdrop",""),(U=K.classList).add.apply(U,this._options.backdropClasses.split(" ")),document.querySelector("body").append(K),this._backdropEl=K}},q.prototype._destroyBackdropEl=function(){if(!this._isHidden)document.querySelector("[modal-backdrop]").remove()},q.prototype._setupModalCloseEventListeners=function(){var U=this;if(this._options.backdrop==="dynamic")this._clickOutsideEventListener=function(K){U._handleOutsideClick(K.target)},this._targetEl.addEventListener("click",this._clickOutsideEventListener,!0);this._keydownEventListener=function(K){if(K.key==="Escape")U.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},q.prototype._removeModalCloseEventListeners=function(){if(this._options.backdrop==="dynamic")this._targetEl.removeEventListener("click",this._clickOutsideEventListener,!0);document.body.removeEventListener("keydown",this._keydownEventListener,!0)},q.prototype._handleOutsideClick=function(U){if(U===this._targetEl||U===this._backdropEl&&this.isVisible())this.hide()},q.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":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"];default:return["justify-center","items-center"]}},q.prototype.toggle=function(){if(this._isHidden)this.show();else this.hide();this._options.onToggle(this)},q.prototype.show=function(){if(this.isHidden){if(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,this._options.closable)this._setupModalCloseEventListeners();document.body.classList.add("overflow-hidden"),this._options.onShow(this)}},q.prototype.hide=function(){if(this.isVisible){if(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)}},q.prototype.isVisible=function(){return!this._isHidden},q.prototype.isHidden=function(){return this._isHidden},q.prototype.addEventListenerInstance=function(U,K,J){this._eventListenerInstances.push({element:U,type:K,handler:J})},q.prototype.removeAllEventListenerInstances=function(){this._eventListenerInstances.map(function(U){U.element.removeEventListener(U.type,U.handler)}),this._eventListenerInstances=[]},q.prototype.getAllEventListenerInstances=function(){return this._eventListenerInstances},q.prototype.updateOnShow=function(U){this._options.onShow=U},q.prototype.updateOnHide=function(U){this._options.onHide=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Modal=rU,window.initModals=P0;var O1=rU;function w0(){document.querySelectorAll("[data-drawer-target]").forEach(function(q){var U=q.getAttribute("data-drawer-target"),K=document.getElementById(U);if(K){var J=q.getAttribute("data-drawer-placement"),Q=q.getAttribute("data-drawer-body-scrolling"),Z=q.getAttribute("data-drawer-backdrop"),z=q.getAttribute("data-drawer-edge"),G=q.getAttribute("data-drawer-edge-offset");new aU(K,{placement:J?J:M0.placement,bodyScrolling:Q?Q==="true"?!0:!1:M0.bodyScrolling,backdrop:Z?Z==="true"?!0:!1:M0.backdrop,edge:z?z==="true"?!0:!1:M0.edge,edgeOffset:G?G:M0.edgeOffset})}else console.error("Drawer with id ".concat(U," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))}),document.querySelectorAll("[data-drawer-toggle]").forEach(function(q){var U=q.getAttribute("data-drawer-toggle"),K=document.getElementById(U);if(K){var J=L.getInstance("Drawer",U);if(J){var Q=function(){J.toggle()};q.addEventListener("click",Q),J.addEventListenerInstance(q,"click",Q)}else console.error("Drawer with id ".concat(U," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(U," 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(q){var U=q.getAttribute("data-drawer-dismiss")?q.getAttribute("data-drawer-dismiss"):q.getAttribute("data-drawer-hide"),K=document.getElementById(U);if(K){var J=L.getInstance("Drawer",U);if(J){var Q=function(){J.hide()};q.addEventListener("click",Q),J.addEventListenerInstance(q,"click",Q)}else console.error("Drawer with id ".concat(U," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(U," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id"))}),document.querySelectorAll("[data-drawer-show]").forEach(function(q){var U=q.getAttribute("data-drawer-show"),K=document.getElementById(U);if(K){var J=L.getInstance("Drawer",U);if(J){var Q=function(){J.show()};q.addEventListener("click",Q),J.addEventListenerInstance(q,"click",Q)}else console.error("Drawer with id ".concat(U," has not been initialized. Please initialize it using the data-drawer-target attribute."))}else console.error("Drawer with id ".concat(U," not found. Are you sure that the data-drawer-target attribute points to the correct drawer id?"))})}var NU=function(){return NU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},NU.apply(this,arguments)},M0={placement:"left",bodyScrolling:!1,backdrop:!0,edge:!1,edgeOffset:"bottom-[60px]",backdropClasses:"bg-gray-900/50 dark:bg-gray-900/80 fixed inset-0 z-30",onShow:function(){},onHide:function(){},onToggle:function(){}},u1={id:null,override:!0},aU=function(){function q(U,K,J){if(U===void 0)U=null;if(K===void 0)K=M0;if(J===void 0)J=u1;this._eventListenerInstances=[],this._instanceId=J.id?J.id:U.id,this._targetEl=U,this._options=NU(NU({},M0),K),this._visible=!1,this._initialized=!1,this.init(),L.addInstance("Drawer",this,this._instanceId,J.override)}return q.prototype.init=function(){var U=this;if(this._targetEl&&!this._initialized)this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.classList.add("transition-transform"),this._getPlacementClasses(this._options.placement).base.map(function(K){U._targetEl.classList.add(K)}),this._handleEscapeKey=function(K){if(K.key==="Escape"){if(U.isVisible())U.hide()}},document.addEventListener("keydown",this._handleEscapeKey),this._initialized=!0},q.prototype.destroy=function(){if(this._initialized)this.removeAllEventListenerInstances(),this._destroyBackdropEl(),document.removeEventListener("keydown",this._handleEscapeKey),this._initialized=!1},q.prototype.removeInstance=function(){L.removeInstance("Drawer",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.hide=function(){var U=this;if(this._options.edge)this._getPlacementClasses(this._options.placement+"-edge").active.map(function(K){U._targetEl.classList.remove(K)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(K){U._targetEl.classList.add(K)});else this._getPlacementClasses(this._options.placement).active.map(function(K){U._targetEl.classList.remove(K)}),this._getPlacementClasses(this._options.placement).inactive.map(function(K){U._targetEl.classList.add(K)});if(this._targetEl.setAttribute("aria-hidden","true"),this._targetEl.removeAttribute("aria-modal"),this._targetEl.removeAttribute("role"),!this._options.bodyScrolling)document.body.classList.remove("overflow-hidden");if(this._options.backdrop)this._destroyBackdropEl();this._visible=!1,this._options.onHide(this)},q.prototype.show=function(){var U=this;if(this._options.edge)this._getPlacementClasses(this._options.placement+"-edge").active.map(function(K){U._targetEl.classList.add(K)}),this._getPlacementClasses(this._options.placement+"-edge").inactive.map(function(K){U._targetEl.classList.remove(K)});else this._getPlacementClasses(this._options.placement).active.map(function(K){U._targetEl.classList.add(K)}),this._getPlacementClasses(this._options.placement).inactive.map(function(K){U._targetEl.classList.remove(K)});if(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");if(this._options.backdrop)this._createBackdrop();this._visible=!0,this._options.onShow(this)},q.prototype.toggle=function(){if(this.isVisible())this.hide();else this.show()},q.prototype._createBackdrop=function(){var U,K=this;if(!this._visible){var J=document.createElement("div");J.setAttribute("drawer-backdrop",""),(U=J.classList).add.apply(U,this._options.backdropClasses.split(" ")),document.querySelector("body").append(J),J.addEventListener("click",function(){K.hide()})}},q.prototype._destroyBackdropEl=function(){if(this._visible&&document.querySelector("[drawer-backdrop]")!==null)document.querySelector("[drawer-backdrop]").remove()},q.prototype._getPlacementClasses=function(U){switch(U){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":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]};default:return{base:["left-0","top-0"],active:["transform-none"],inactive:["-translate-x-full"]}}},q.prototype.isHidden=function(){return!this._visible},q.prototype.isVisible=function(){return this._visible},q.prototype.addEventListenerInstance=function(U,K,J){this._eventListenerInstances.push({element:U,type:K,handler:J})},q.prototype.removeAllEventListenerInstances=function(){this._eventListenerInstances.map(function(U){U.element.removeEventListener(U.type,U.handler)}),this._eventListenerInstances=[]},q.prototype.getAllEventListenerInstances=function(){return this._eventListenerInstances},q.prototype.updateOnShow=function(U){this._options.onShow=U},q.prototype.updateOnHide=function(U){this._options.onHide=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Drawer=aU,window.initDrawers=w0;var E1=aU;function $0(){document.querySelectorAll("[data-tabs-toggle]").forEach(function(q){var U=[],K=q.getAttribute("data-tabs-active-classes"),J=q.getAttribute("data-tabs-inactive-classes"),Q=null;q.querySelectorAll('[role="tab"]').forEach(function(Z){var z=Z.getAttribute("aria-selected")==="true",G={id:Z.getAttribute("data-tabs-target"),triggerEl:Z,targetEl:document.querySelector(Z.getAttribute("data-tabs-target"))};if(U.push(G),z)Q=G.id}),new oU(q,U,{defaultTabId:Q,activeClasses:K?K:RU.activeClasses,inactiveClasses:J?J:RU.inactiveClasses})})}var VU=function(){return VU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},VU.apply(this,arguments)},RU={defaultTabId:null,activeClasses:"text-blue-600 hover:text-blue-600 dark:text-blue-500 dark:hover:text-blue-500 border-blue-600 dark:border-blue-500",inactiveClasses:"dark:border-transparent text-gray-500 hover:text-gray-600 dark:text-gray-400 border-gray-100 hover:border-gray-300 dark:border-gray-700 dark:hover:text-gray-300",onShow:function(){}},_1={id:null,override:!0},oU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=[];if(J===void 0)J=RU;if(Q===void 0)Q=_1;this._instanceId=Q.id?Q.id:U.id,this._tabsEl=U,this._items=K,this._activeTab=J?this.getTab(J.defaultTabId):null,this._options=VU(VU({},RU),J),this._initialized=!1,this.init(),L.addInstance("Tabs",this,this._tabsEl.id,!0),L.addInstance("Tabs",this,this._instanceId,Q.override)}return q.prototype.init=function(){var U=this;if(this._items.length&&!this._initialized){if(!this._activeTab)this.setActiveTab(this._items[0]);this.show(this._activeTab.id,!0),this._items.map(function(K){K.triggerEl.addEventListener("click",function(J){J.preventDefault(),U.show(K.id)})})}},q.prototype.destroy=function(){if(this._initialized)this._initialized=!1},q.prototype.removeInstance=function(){this.destroy(),L.removeInstance("Tabs",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.getActiveTab=function(){return this._activeTab},q.prototype.setActiveTab=function(U){this._activeTab=U},q.prototype.getTab=function(U){return this._items.filter(function(K){return K.id===U})[0]},q.prototype.show=function(U,K){var J,Q,Z=this;if(K===void 0)K=!1;var z=this.getTab(U);if(z===this._activeTab&&!K)return;this._items.map(function(G){var Y,X;if(G!==z)(Y=G.triggerEl.classList).remove.apply(Y,Z._options.activeClasses.split(" ")),(X=G.triggerEl.classList).add.apply(X,Z._options.inactiveClasses.split(" ")),G.targetEl.classList.add("hidden"),G.triggerEl.setAttribute("aria-selected","false")}),(J=z.triggerEl.classList).add.apply(J,this._options.activeClasses.split(" ")),(Q=z.triggerEl.classList).remove.apply(Q,this._options.inactiveClasses.split(" ")),z.triggerEl.setAttribute("aria-selected","true"),z.targetEl.classList.remove("hidden"),this.setActiveTab(z),this._options.onShow(this,z)},q.prototype.updateOnShow=function(U){this._options.onShow=U},q}();if(typeof window!=="undefined")window.Tabs=oU,window.initTabs=$0;var f1=oU;function O0(){document.querySelectorAll("[data-tooltip-target]").forEach(function(q){var U=q.getAttribute("data-tooltip-target"),K=document.getElementById(U);if(K){var J=q.getAttribute("data-tooltip-trigger"),Q=q.getAttribute("data-tooltip-placement");new sU(K,q,{placement:Q?Q:TU.placement,triggerType:J?J:TU.triggerType})}else console.error("The tooltip element with id \"".concat(U,"\" does not exist. Please check the data-tooltip-target attribute."))})}var J0=function(){return J0=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},J0.apply(this,arguments)},AU=function(q,U,K){if(K||arguments.length===2){for(var J=0,Q=U.length,Z;J<Q;J++)if(Z||!(J in U)){if(!Z)Z=Array.prototype.slice.call(U,0,J);Z[J]=U[J]}}return q.concat(Z||Array.prototype.slice.call(U))},TU={placement:"top",triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},m1={id:null,override:!0},sU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=TU;if(Q===void 0)Q=m1;this._instanceId=Q.id?Q.id:U.id,this._targetEl=U,this._triggerEl=K,this._options=J0(J0({},TU),J),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),L.addInstance("Tooltip",this,this._instanceId,Q.override)}return q.prototype.init=function(){if(this._triggerEl&&this._targetEl&&!this._initialized)this._setupEventListeners(),this._popperInstance=this._createPopperInstance(),this._initialized=!0},q.prototype.destroy=function(){var U=this;if(this._initialized){var K=this._getTriggerEvents();if(K.showEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._showHandler)}),K.hideEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._hideHandler)}),this._removeKeydownListener(),this._removeClickOutsideListener(),this._popperInstance)this._popperInstance.destroy();this._initialized=!1}},q.prototype.removeInstance=function(){L.removeInstance("Tooltip",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype._setupEventListeners=function(){var U=this,K=this._getTriggerEvents();this._showHandler=function(){U.show()},this._hideHandler=function(){U.hide()},K.showEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._showHandler)}),K.hideEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._hideHandler)})},q.prototype._createPopperInstance=function(){return T0(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,8]}}]})},q.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},q.prototype._setupKeydownListener=function(){var U=this;this._keydownEventListener=function(K){if(K.key==="Escape")U.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},q.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},q.prototype._setupClickOutsideListener=function(){var U=this;this._clickOutsideEventListener=function(K){U._handleClickOutside(K,U._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},q.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},q.prototype._handleClickOutside=function(U,K){var J=U.target;if(J!==K&&!K.contains(J)&&!this._triggerEl.contains(J)&&this.isVisible())this.hide()},q.prototype.isVisible=function(){return this._visible},q.prototype.toggle=function(){if(this.isVisible())this.hide();else this.show()},q.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(U){return J0(J0({},U),{modifiers:AU(AU([],U.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},q.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(U){return J0(J0({},U),{modifiers:AU(AU([],U.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},q.prototype.updateOnShow=function(U){this._options.onShow=U},q.prototype.updateOnHide=function(U){this._options.onHide=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Tooltip=sU,window.initTooltips=O0;var g1=sU;function u0(){document.querySelectorAll("[data-popover-target]").forEach(function(q){var U=q.getAttribute("data-popover-target"),K=document.getElementById(U);if(K){var J=q.getAttribute("data-popover-trigger"),Q=q.getAttribute("data-popover-placement"),Z=q.getAttribute("data-popover-offset");new iU(K,q,{placement:Q?Q:o0.placement,offset:Z?parseInt(Z):o0.offset,triggerType:J?J:o0.triggerType})}else console.error("The popover element with id \"".concat(U,"\" does not exist. Please check the data-popover-target attribute."))})}var Q0=function(){return Q0=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},Q0.apply(this,arguments)},MU=function(q,U,K){if(K||arguments.length===2){for(var J=0,Q=U.length,Z;J<Q;J++)if(Z||!(J in U)){if(!Z)Z=Array.prototype.slice.call(U,0,J);Z[J]=U[J]}}return q.concat(Z||Array.prototype.slice.call(U))},o0={placement:"top",offset:10,triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},d1={id:null,override:!0},iU=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=o0;if(Q===void 0)Q=d1;this._instanceId=Q.id?Q.id:U.id,this._targetEl=U,this._triggerEl=K,this._options=Q0(Q0({},o0),J),this._popperInstance=null,this._visible=!1,this._initialized=!1,this.init(),L.addInstance("Popover",this,Q.id?Q.id:this._targetEl.id,Q.override)}return q.prototype.init=function(){if(this._triggerEl&&this._targetEl&&!this._initialized)this._setupEventListeners(),this._popperInstance=this._createPopperInstance(),this._initialized=!0},q.prototype.destroy=function(){var U=this;if(this._initialized){var K=this._getTriggerEvents();if(K.showEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._showHandler),U._targetEl.removeEventListener(J,U._showHandler)}),K.hideEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._hideHandler),U._targetEl.removeEventListener(J,U._hideHandler)}),this._removeKeydownListener(),this._removeClickOutsideListener(),this._popperInstance)this._popperInstance.destroy();this._initialized=!1}},q.prototype.removeInstance=function(){L.removeInstance("Popover",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype._setupEventListeners=function(){var U=this,K=this._getTriggerEvents();this._showHandler=function(){U.show()},this._hideHandler=function(){setTimeout(function(){if(!U._targetEl.matches(":hover"))U.hide()},100)},K.showEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._showHandler),U._targetEl.addEventListener(J,U._showHandler)}),K.hideEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._hideHandler),U._targetEl.addEventListener(J,U._hideHandler)})},q.prototype._createPopperInstance=function(){return T0(this._triggerEl,this._targetEl,{placement:this._options.placement,modifiers:[{name:"offset",options:{offset:[0,this._options.offset]}}]})},q.prototype._getTriggerEvents=function(){switch(this._options.triggerType){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},q.prototype._setupKeydownListener=function(){var U=this;this._keydownEventListener=function(K){if(K.key==="Escape")U.hide()},document.body.addEventListener("keydown",this._keydownEventListener,!0)},q.prototype._removeKeydownListener=function(){document.body.removeEventListener("keydown",this._keydownEventListener,!0)},q.prototype._setupClickOutsideListener=function(){var U=this;this._clickOutsideEventListener=function(K){U._handleClickOutside(K,U._targetEl)},document.body.addEventListener("click",this._clickOutsideEventListener,!0)},q.prototype._removeClickOutsideListener=function(){document.body.removeEventListener("click",this._clickOutsideEventListener,!0)},q.prototype._handleClickOutside=function(U,K){var J=U.target;if(J!==K&&!K.contains(J)&&!this._triggerEl.contains(J)&&this.isVisible())this.hide()},q.prototype.isVisible=function(){return this._visible},q.prototype.toggle=function(){if(this.isVisible())this.hide();else this.show();this._options.onToggle(this)},q.prototype.show=function(){this._targetEl.classList.remove("opacity-0","invisible"),this._targetEl.classList.add("opacity-100","visible"),this._popperInstance.setOptions(function(U){return Q0(Q0({},U),{modifiers:MU(MU([],U.modifiers,!0),[{name:"eventListeners",enabled:!0}],!1)})}),this._setupClickOutsideListener(),this._setupKeydownListener(),this._popperInstance.update(),this._visible=!0,this._options.onShow(this)},q.prototype.hide=function(){this._targetEl.classList.remove("opacity-100","visible"),this._targetEl.classList.add("opacity-0","invisible"),this._popperInstance.setOptions(function(U){return Q0(Q0({},U),{modifiers:MU(MU([],U.modifiers,!0),[{name:"eventListeners",enabled:!1}],!1)})}),this._removeClickOutsideListener(),this._removeKeydownListener(),this._visible=!1,this._options.onHide(this)},q.prototype.updateOnShow=function(U){this._options.onShow=U},q.prototype.updateOnHide=function(U){this._options.onHide=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Popover=iU,window.initPopovers=u0;var p1=iU;function E0(){document.querySelectorAll("[data-dial-init]").forEach(function(q){var U=q.querySelector("[data-dial-toggle]");if(U){var K=U.getAttribute("data-dial-toggle"),J=document.getElementById(K);if(J){var Q=U.getAttribute("data-dial-trigger");new tU(q,U,J,{triggerType:Q?Q:nU.triggerType})}else console.error("Dial with id ".concat(K," does not exist. Are you sure that the data-dial-toggle attribute points to the correct modal id?"))}else console.error("Dial with id ".concat(q.id," does not have a trigger element. Are you sure that the data-dial-toggle attribute exists?"))})}var jU=function(){return jU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},jU.apply(this,arguments)},nU={triggerType:"hover",onShow:function(){},onHide:function(){},onToggle:function(){}},c1={id:null,override:!0},tU=function(){function q(U,K,J,Q,Z){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=null;if(Q===void 0)Q=nU;if(Z===void 0)Z=c1;this._instanceId=Z.id?Z.id:J.id,this._parentEl=U,this._triggerEl=K,this._targetEl=J,this._options=jU(jU({},nU),Q),this._visible=!1,this._initialized=!1,this.init(),L.addInstance("Dial",this,this._instanceId,Z.override)}return q.prototype.init=function(){var U=this;if(this._triggerEl&&this._targetEl&&!this._initialized){var K=this._getTriggerEventTypes(this._options.triggerType);this._showEventHandler=function(){U.show()},K.showEvents.forEach(function(J){U._triggerEl.addEventListener(J,U._showEventHandler),U._targetEl.addEventListener(J,U._showEventHandler)}),this._hideEventHandler=function(){if(!U._parentEl.matches(":hover"))U.hide()},K.hideEvents.forEach(function(J){U._parentEl.addEventListener(J,U._hideEventHandler)}),this._initialized=!0}},q.prototype.destroy=function(){var U=this;if(this._initialized){var K=this._getTriggerEventTypes(this._options.triggerType);K.showEvents.forEach(function(J){U._triggerEl.removeEventListener(J,U._showEventHandler),U._targetEl.removeEventListener(J,U._showEventHandler)}),K.hideEvents.forEach(function(J){U._parentEl.removeEventListener(J,U._hideEventHandler)}),this._initialized=!1}},q.prototype.removeInstance=function(){L.removeInstance("Dial",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.hide=function(){if(this._targetEl.classList.add("hidden"),this._triggerEl)this._triggerEl.setAttribute("aria-expanded","false");this._visible=!1,this._options.onHide(this)},q.prototype.show=function(){if(this._targetEl.classList.remove("hidden"),this._triggerEl)this._triggerEl.setAttribute("aria-expanded","true");this._visible=!0,this._options.onShow(this)},q.prototype.toggle=function(){if(this._visible)this.hide();else this.show()},q.prototype.isHidden=function(){return!this._visible},q.prototype.isVisible=function(){return this._visible},q.prototype._getTriggerEventTypes=function(U){switch(U){case"hover":return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]};case"click":return{showEvents:["click","focus"],hideEvents:["focusout","blur"]};case"none":return{showEvents:[],hideEvents:[]};default:return{showEvents:["mouseenter","focus"],hideEvents:["mouseleave","blur"]}}},q.prototype.updateOnShow=function(U){this._options.onShow=U},q.prototype.updateOnHide=function(U){this._options.onHide=U},q.prototype.updateOnToggle=function(U){this._options.onToggle=U},q}();if(typeof window!=="undefined")window.Dial=tU,window.initDials=E0;var l1=tU;function _0(){document.querySelectorAll("[data-input-counter]").forEach(function(q){var U=q.id,K=document.querySelector('[data-input-counter-increment="'+U+'"]'),J=document.querySelector('[data-input-counter-decrement="'+U+'"]'),Q=q.getAttribute("data-input-counter-min"),Z=q.getAttribute("data-input-counter-max");if(q){if(!L.instanceExists("InputCounter",q.getAttribute("id")))new eU(q,K?K:null,J?J:null,{minValue:Q?parseInt(Q):null,maxValue:Z?parseInt(Z):null})}else console.error("The target element with id \"".concat(U,"\" does not exist. Please check the data-input-counter attribute."))})}var IU=function(){return IU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},IU.apply(this,arguments)},O8={minValue:null,maxValue:null,onIncrement:function(){},onDecrement:function(){}},r1={id:null,override:!0},eU=function(){function q(U,K,J,Q,Z){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=null;if(Q===void 0)Q=O8;if(Z===void 0)Z=r1;this._instanceId=Z.id?Z.id:U.id,this._targetEl=U,this._incrementEl=K,this._decrementEl=J,this._options=IU(IU({},O8),Q),this._initialized=!1,this.init(),L.addInstance("InputCounter",this,this._instanceId,Z.override)}return q.prototype.init=function(){var U=this;if(this._targetEl&&!this._initialized){if(this._inputHandler=function(K){{var J=K.target;if(!/^\d*$/.test(J.value))J.value=J.value.replace(/[^\d]/g,"");if(U._options.maxValue!==null&&parseInt(J.value)>U._options.maxValue)J.value=U._options.maxValue.toString();if(U._options.minValue!==null&&parseInt(J.value)<U._options.minValue)J.value=U._options.minValue.toString()}},this._incrementClickHandler=function(){U.increment()},this._decrementClickHandler=function(){U.decrement()},this._targetEl.addEventListener("input",this._inputHandler),this._incrementEl)this._incrementEl.addEventListener("click",this._incrementClickHandler);if(this._decrementEl)this._decrementEl.addEventListener("click",this._decrementClickHandler);this._initialized=!0}},q.prototype.destroy=function(){if(this._targetEl&&this._initialized){if(this._targetEl.removeEventListener("input",this._inputHandler),this._incrementEl)this._incrementEl.removeEventListener("click",this._incrementClickHandler);if(this._decrementEl)this._decrementEl.removeEventListener("click",this._decrementClickHandler);this._initialized=!1}},q.prototype.removeInstance=function(){L.removeInstance("InputCounter",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.getCurrentValue=function(){return parseInt(this._targetEl.value)||0},q.prototype.increment=function(){if(this._options.maxValue!==null&&this.getCurrentValue()>=this._options.maxValue)return;this._targetEl.value=(this.getCurrentValue()+1).toString(),this._options.onIncrement(this)},q.prototype.decrement=function(){if(this._options.minValue!==null&&this.getCurrentValue()<=this._options.minValue)return;this._targetEl.value=(this.getCurrentValue()-1).toString(),this._options.onDecrement(this)},q.prototype.updateOnIncrement=function(U){this._options.onIncrement=U},q.prototype.updateOnDecrement=function(U){this._options.onDecrement=U},q}();if(typeof window!=="undefined")window.InputCounter=eU,window.initInputCounters=_0;var a1=eU;function f0(){document.querySelectorAll("[data-copy-to-clipboard-target]").forEach(function(q){var U=q.getAttribute("data-copy-to-clipboard-target"),K=document.getElementById(U),J=q.getAttribute("data-copy-to-clipboard-content-type"),Q=q.getAttribute("data-copy-to-clipboard-html-entities");if(K){if(!L.instanceExists("CopyClipboard",K.getAttribute("id")))new U8(q,K,{htmlEntities:Q&&Q==="true"?!0:kU.htmlEntities,contentType:J?J:kU.contentType})}else console.error("The target element with id \"".concat(U,"\" does not exist. Please check the data-copy-to-clipboard-target attribute."))})}var SU=function(){return SU=Object.assign||function(q){for(var U,K=1,J=arguments.length;K<J;K++){U=arguments[K];for(var Q in U)if(Object.prototype.hasOwnProperty.call(U,Q))q[Q]=U[Q]}return q},SU.apply(this,arguments)},kU={htmlEntities:!1,contentType:"input",onCopy:function(){}},o1={id:null,override:!0},U8=function(){function q(U,K,J,Q){if(U===void 0)U=null;if(K===void 0)K=null;if(J===void 0)J=kU;if(Q===void 0)Q=o1;this._instanceId=Q.id?Q.id:K.id,this._triggerEl=U,this._targetEl=K,this._options=SU(SU({},kU),J),this._initialized=!1,this.init(),L.addInstance("CopyClipboard",this,this._instanceId,Q.override)}return q.prototype.init=function(){var U=this;if(this._targetEl&&this._triggerEl&&!this._initialized){if(this._triggerElClickHandler=function(){U.copy()},this._triggerEl)this._triggerEl.addEventListener("click",this._triggerElClickHandler);this._initialized=!0}},q.prototype.destroy=function(){if(this._triggerEl&&this._targetEl&&this._initialized){if(this._triggerEl)this._triggerEl.removeEventListener("click",this._triggerElClickHandler);this._initialized=!1}},q.prototype.removeInstance=function(){L.removeInstance("CopyClipboard",this._instanceId)},q.prototype.destroyAndRemoveInstance=function(){this.destroy(),this.removeInstance()},q.prototype.getTargetValue=function(){if(this._options.contentType==="input")return this._targetEl.value;if(this._options.contentType==="innerHTML")return this._targetEl.innerHTML;if(this._options.contentType==="textContent")return this._targetEl.textContent.replace(/\s+/g," ").trim()},q.prototype.copy=function(){var U=this.getTargetValue();if(this._options.htmlEntities)U=this.decodeHTML(U);var K=document.createElement("textarea");return K.value=U,document.body.appendChild(K),K.select(),document.execCommand("copy"),document.body.removeChild(K),this._options.onCopy(this),U},q.prototype.decodeHTML=function(U){var K=document.createElement("textarea");return K.innerHTML=U,K.textContent},q.prototype.updateOnCopyCallback=function(U){this._options.onCopy=U},q}();if(typeof window!=="undefined")window.CopyClipboard=U8,window.initClipboards=f0;var s1=U8;function u8(){I0(),S0(),k0(),x0(),v0(),P0(),w0(),$0(),O0(),u0(),E0(),_0(),f0()}if(typeof window!=="undefined")window.initFlowbite=u8;var i1=new X8("load",[I0,S0,k0,x0,v0,P0,w0,$0,O0,u0,E0,_0,f0]);i1.init();
data/flowbite.gemspec ADDED
@@ -0,0 +1,33 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'lib/flowbite/version'
4
+
5
+ Gem::Specification.new do |spec|
6
+ spec.name = 'flowbite'
7
+ spec.version = Flowbite::VERSION
8
+ spec.authors = ['Ivan Naumov']
9
+ spec.email = ['ivannaymov@gmail.com']
10
+
11
+ spec.homepage = 'https://github.com/iwdt/flowbite-rails'
12
+ spec.summary = 'The most popular library of interactive components built with Tailwind CSS'
13
+ spec.description = <<~TEXT
14
+ This gem adds the Flowbite assets to your asset pipeline so you can import them in your Rails project.
15
+ TEXT
16
+
17
+ spec.license = 'MIT'
18
+ spec.required_ruby_version = '>= 3.0'
19
+
20
+ spec.metadata['allowed_push_host'] = 'https://rubygems.org'
21
+ spec.metadata['source_code_uri'] = 'https://github.com/iwdt/flowbite-rails'
22
+ spec.metadata['bug_tracker_uri'] = 'https://github.com/iwdt/flowbite-rails/issues'
23
+ spec.metadata['rubygems_mfa_required'] = 'true'
24
+
25
+ spec.files = Dir[
26
+ 'lib/**/*',
27
+ 'assets/builds/*',
28
+ 'flowbite.gemspec',
29
+ 'LICENSE',
30
+ 'Rakefile',
31
+ 'README.md'
32
+ ]
33
+ end
@@ -0,0 +1,14 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Flowbite
4
+ # :nodoc:
5
+ class Engine < ::Rails::Engine
6
+ initializer 'flowbite.assets' do |app|
7
+ app.config.assets.paths << root.join('assets/builds').to_s
8
+ end
9
+
10
+ rake_tasks do
11
+ load root.join('lib/tasks/flowbite_tasks.rake').to_s
12
+ end
13
+ end
14
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module Flowbite
4
+ VERSION = '2.3.0'
5
+ end
data/lib/flowbite.rb ADDED
@@ -0,0 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'flowbite/version'
4
+ require 'flowbite/engine'
5
+
6
+ # :nodoc:
7
+ module Flowbite
8
+ end
@@ -0,0 +1,23 @@
1
+ # frozen_string_literal: true
2
+
3
+ namespace :flowbite do
4
+ namespace :bundler do
5
+ desc 'Download flowbite plugin for usage with standalone Tailwind CSS'
6
+ task :plugin do
7
+ plugin_path = Flowbite::Engine.root.join('assets/builds/flowbite-plugin.js')
8
+ target_path = Rails.root.join('vendor/')
9
+
10
+ mkdir target_path unless target_path.exist?
11
+
12
+ target_path = target_path.join('javascript/')
13
+
14
+ mkdir target_path unless target_path.exist?
15
+
16
+ target_path = target_path.join('flowbite/')
17
+
18
+ mkdir target_path unless target_path.exist?
19
+
20
+ cp_r plugin_path, target_path.join('plugin.js')
21
+ end
22
+ end
23
+ end
metadata ADDED
@@ -0,0 +1,62 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: flowbite
3
+ version: !ruby/object:Gem::Version
4
+ version: 2.3.0
5
+ platform: ruby
6
+ authors:
7
+ - Ivan Naumov
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2024-03-18 00:00:00.000000000 Z
12
+ dependencies: []
13
+ description: 'This gem adds the Flowbite assets to your asset pipeline so you can
14
+ import them in your Rails project.
15
+
16
+ '
17
+ email:
18
+ - ivannaymov@gmail.com
19
+ executables: []
20
+ extensions: []
21
+ extra_rdoc_files: []
22
+ files:
23
+ - LICENSE
24
+ - README.md
25
+ - Rakefile
26
+ - assets/builds/flowbite-plugin.js
27
+ - assets/builds/flowbite.css
28
+ - assets/builds/flowbite.esm.js
29
+ - assets/builds/flowbite.js
30
+ - flowbite.gemspec
31
+ - lib/flowbite.rb
32
+ - lib/flowbite/engine.rb
33
+ - lib/flowbite/version.rb
34
+ - lib/tasks/flowbite_tasks.rake
35
+ homepage: https://github.com/iwdt/flowbite-rails
36
+ licenses:
37
+ - MIT
38
+ metadata:
39
+ allowed_push_host: https://rubygems.org
40
+ source_code_uri: https://github.com/iwdt/flowbite-rails
41
+ bug_tracker_uri: https://github.com/iwdt/flowbite-rails/issues
42
+ rubygems_mfa_required: 'true'
43
+ post_install_message:
44
+ rdoc_options: []
45
+ require_paths:
46
+ - lib
47
+ required_ruby_version: !ruby/object:Gem::Requirement
48
+ requirements:
49
+ - - ">="
50
+ - !ruby/object:Gem::Version
51
+ version: '3.0'
52
+ required_rubygems_version: !ruby/object:Gem::Requirement
53
+ requirements:
54
+ - - ">="
55
+ - !ruby/object:Gem::Version
56
+ version: '0'
57
+ requirements: []
58
+ rubygems_version: 3.0.3.1
59
+ signing_key:
60
+ specification_version: 4
61
+ summary: The most popular library of interactive components built with Tailwind CSS
62
+ test_files: []