diff --git a/app/Models/User.php b/app/Models/User.php index 32df2cf..997e698 100755 --- a/app/Models/User.php +++ b/app/Models/User.php @@ -53,4 +53,11 @@ class User extends Authenticatable public function roles(){ return $this->belongsToMany(Role::class, 'user_role')->withTimestamps(); } + + public function menus(){ + return Menu::whereHas('roles', function ($query){ + $query->whereIn('roles.id', $this->roles->pluck('id')) + ->where('role_menu.allow_show', true); + }); + } } diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index d8930f0..59cb8b6 100755 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -34,21 +34,24 @@ class AppServiceProvider extends ServiceProvider { Blade::component('circle', Circle::class); - View::composer('layouts.partials.sidebar', function ($view){ + View::composer('layouts.partials.sidebar', function ($view) { $user = Auth::user(); - if($user){ - $menus = Menu::whereHas('roles', function ($query) use ($user){ - $query->where('roles.id', $user->roles->pluck('id')); - }) - ->with(['children' => function ($query) { - $query->whereHas('roles', function ($subQuery) { - $subQuery->where('role_menu.allow_show', 1); - }); - }]) - ->orderBy('sort_order', 'asc') - ->get(); - }else{ + if ($user) { + $menus = Menu::whereHas('roles', function ($query) use ($user) { + $query->whereIn('roles.id', $user->roles->pluck('id')) + ->where('role_menu.allow_show', 1); + }) + ->with(['children' => function ($query) use ($user) { + $query->whereHas('roles', function ($subQuery) use ($user) { + $subQuery->whereIn('roles.id', $user->roles->pluck('id')) + ->where('role_menu.allow_show', 1); + }); + }]) + ->whereNull('parent_id') // Ambil hanya menu utama + ->orderBy('sort_order', 'asc') + ->get(); + } else { $menus = collect(); } diff --git a/app/Providers/RouteServiceProvider.php b/app/Providers/RouteServiceProvider.php index ad012c7..1cf5f15 100755 --- a/app/Providers/RouteServiceProvider.php +++ b/app/Providers/RouteServiceProvider.php @@ -17,7 +17,7 @@ class RouteServiceProvider extends ServiceProvider * * @var string */ - public const HOME = '/dashboards/bigdata'; + public const HOME = '/home'; /** * Define your route model bindings, pattern filters, and other route configuration. diff --git a/public/build/assets/app-Wz_4hh3O.js b/public/build/assets/app-Wz_4hh3O.js deleted file mode 100644 index 0e0a5ac..0000000 --- a/public/build/assets/app-Wz_4hh3O.js +++ /dev/null @@ -1,18 +0,0 @@ -var lh=Object.defineProperty;var uh=(r,i,s)=>i in r?lh(r,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):r[i]=s;var Xe=(r,i,s)=>uh(r,typeof i!="symbol"?i+"":i,s);import{g as fh,c as Gs,a as dh}from"./_commonjsHelpers-C4iS2aBk.js";var hu={exports:{}},Lt="top",jt="bottom",Ft="right",$t="left",to="auto",An=[Lt,jt,Ft,$t],Cr="start",_n="end",pu="clippingParents",Ic="viewport",gn="popper",vu="reference",mc=An.reduce(function(r,i){return r.concat([i+"-"+Cr,i+"-"+_n])},[]),Nc=[].concat(An,[to]).reduce(function(r,i){return r.concat([i,i+"-"+Cr,i+"-"+_n])},[]),gu="beforeRead",mu="read",_u="afterRead",bu="beforeMain",Eu="main",yu="afterMain",Su="beforeWrite",Au="write",wu="afterWrite",Tu=[gu,mu,_u,bu,Eu,yu,Su,Au,wu];function be(r){return r?(r.nodeName||"").toLowerCase():null}function Wt(r){if(r==null)return window;if(r.toString()!=="[object Window]"){var i=r.ownerDocument;return i&&i.defaultView||window}return r}function Ir(r){var i=Wt(r).Element;return r instanceof i||r instanceof Element}function Yt(r){var i=Wt(r).HTMLElement;return r instanceof i||r instanceof HTMLElement}function Lc(r){if(typeof ShadowRoot>"u")return!1;var i=Wt(r).ShadowRoot;return r instanceof i||r instanceof ShadowRoot}function hh(r){var i=r.state;Object.keys(i.elements).forEach(function(s){var f=i.styles[s]||{},u=i.attributes[s]||{},d=i.elements[s];!Yt(d)||!be(d)||(Object.assign(d.style,f),Object.keys(u).forEach(function(m){var _=u[m];_===!1?d.removeAttribute(m):d.setAttribute(m,_===!0?"":_)}))})}function ph(r){var i=r.state,s={popper:{position:i.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(i.elements.popper.style,s.popper),i.styles=s,i.elements.arrow&&Object.assign(i.elements.arrow.style,s.arrow),function(){Object.keys(i.elements).forEach(function(f){var u=i.elements[f],d=i.attributes[f]||{},m=Object.keys(i.styles.hasOwnProperty(f)?i.styles[f]:s[f]),_=m.reduce(function(v,A){return v[A]="",v},{});!Yt(u)||!be(u)||(Object.assign(u.style,_),Object.keys(d).forEach(function(v){u.removeAttribute(v)}))})}}const $c={name:"applyStyles",enabled:!0,phase:"write",fn:hh,effect:ph,requires:["computeStyles"]};function _e(r){return r.split("-")[0]}var Or=Math.max,Xs=Math.min,bn=Math.round;function _c(){var r=navigator.userAgentData;return r!=null&&r.brands&&Array.isArray(r.brands)?r.brands.map(function(i){return i.brand+"/"+i.version}).join(" "):navigator.userAgent}function Ou(){return!/^((?!chrome|android).)*safari/i.test(_c())}function En(r,i,s){i===void 0&&(i=!1),s===void 0&&(s=!1);var f=r.getBoundingClientRect(),u=1,d=1;i&&Yt(r)&&(u=r.offsetWidth>0&&bn(f.width)/r.offsetWidth||1,d=r.offsetHeight>0&&bn(f.height)/r.offsetHeight||1);var m=Ir(r)?Wt(r):window,_=m.visualViewport,v=!Ou()&&s,A=(f.left+(v&&_?_.offsetLeft:0))/u,S=(f.top+(v&&_?_.offsetTop:0))/d,R=f.width/u,$=f.height/d;return{width:R,height:$,top:S,right:A+R,bottom:S+$,left:A,x:A,y:S}}function Dc(r){var i=En(r),s=r.offsetWidth,f=r.offsetHeight;return Math.abs(i.width-s)<=1&&(s=i.width),Math.abs(i.height-f)<=1&&(f=i.height),{x:r.offsetLeft,y:r.offsetTop,width:s,height:f}}function xu(r,i){var s=i.getRootNode&&i.getRootNode();if(r.contains(i))return!0;if(s&&Lc(s)){var f=i;do{if(f&&r.isSameNode(f))return!0;f=f.parentNode||f.host}while(f)}return!1}function Le(r){return Wt(r).getComputedStyle(r)}function vh(r){return["table","td","th"].indexOf(be(r))>=0}function Je(r){return((Ir(r)?r.ownerDocument:r.document)||window.document).documentElement}function eo(r){return be(r)==="html"?r:r.assignedSlot||r.parentNode||(Lc(r)?r.host:null)||Je(r)}function Bl(r){return!Yt(r)||Le(r).position==="fixed"?null:r.offsetParent}function gh(r){var i=/firefox/i.test(_c()),s=/Trident/i.test(_c());if(s&&Yt(r)){var f=Le(r);if(f.position==="fixed")return null}var u=eo(r);for(Lc(u)&&(u=u.host);Yt(u)&&["html","body"].indexOf(be(u))<0;){var d=Le(u);if(d.transform!=="none"||d.perspective!=="none"||d.contain==="paint"||["transform","perspective"].indexOf(d.willChange)!==-1||i&&d.willChange==="filter"||i&&d.filter&&d.filter!=="none")return u;u=u.parentNode}return null}function Si(r){for(var i=Wt(r),s=Bl(r);s&&vh(s)&&Le(s).position==="static";)s=Bl(s);return s&&(be(s)==="html"||be(s)==="body"&&Le(s).position==="static")?i:s||gh(r)||i}function Rc(r){return["top","bottom"].indexOf(r)>=0?"x":"y"}function vi(r,i,s){return Or(r,Xs(i,s))}function mh(r,i,s){var f=vi(r,i,s);return f>s?s:f}function Cu(){return{top:0,right:0,bottom:0,left:0}}function Iu(r){return Object.assign({},Cu(),r)}function Nu(r,i){return i.reduce(function(s,f){return s[f]=r,s},{})}var _h=function(i,s){return i=typeof i=="function"?i(Object.assign({},s.rects,{placement:s.placement})):i,Iu(typeof i!="number"?i:Nu(i,An))};function bh(r){var i,s=r.state,f=r.name,u=r.options,d=s.elements.arrow,m=s.modifiersData.popperOffsets,_=_e(s.placement),v=Rc(_),A=[$t,Ft].indexOf(_)>=0,S=A?"height":"width";if(!(!d||!m)){var R=_h(u.padding,s),$=Dc(d),M=v==="y"?Lt:$t,K=v==="y"?jt:Ft,z=s.rects.reference[S]+s.rects.reference[v]-m[v]-s.rects.popper[S],F=m[v]-s.rects.reference[v],Z=Si(d),N=Z?v==="y"?Z.clientHeight||0:Z.clientWidth||0:0,tt=z/2-F/2,j=R[M],J=N-$[S]-R[K],P=N/2-$[S]/2+tt,Q=vi(j,P,J),H=v;s.modifiersData[f]=(i={},i[H]=Q,i.centerOffset=Q-P,i)}}function Eh(r){var i=r.state,s=r.options,f=s.element,u=f===void 0?"[data-popper-arrow]":f;u!=null&&(typeof u=="string"&&(u=i.elements.popper.querySelector(u),!u)||xu(i.elements.popper,u)&&(i.elements.arrow=u))}const Lu={name:"arrow",enabled:!0,phase:"main",fn:bh,effect:Eh,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function yn(r){return r.split("-")[1]}var yh={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Sh(r,i){var s=r.x,f=r.y,u=i.devicePixelRatio||1;return{x:bn(s*u)/u||0,y:bn(f*u)/u||0}}function zl(r){var i,s=r.popper,f=r.popperRect,u=r.placement,d=r.variation,m=r.offsets,_=r.position,v=r.gpuAcceleration,A=r.adaptive,S=r.roundOffsets,R=r.isFixed,$=m.x,M=$===void 0?0:$,K=m.y,z=K===void 0?0:K,F=typeof S=="function"?S({x:M,y:z}):{x:M,y:z};M=F.x,z=F.y;var Z=m.hasOwnProperty("x"),N=m.hasOwnProperty("y"),tt=$t,j=Lt,J=window;if(A){var P=Si(s),Q="clientHeight",H="clientWidth";if(P===Wt(s)&&(P=Je(s),Le(P).position!=="static"&&_==="absolute"&&(Q="scrollHeight",H="scrollWidth")),P=P,u===Lt||(u===$t||u===Ft)&&d===_n){j=jt;var et=R&&P===J&&J.visualViewport?J.visualViewport.height:P[Q];z-=et-f.height,z*=v?1:-1}if(u===$t||(u===Lt||u===jt)&&d===_n){tt=Ft;var Y=R&&P===J&&J.visualViewport?J.visualViewport.width:P[H];M-=Y-f.width,M*=v?1:-1}}var st=Object.assign({position:_},A&&yh),mt=S===!0?Sh({x:M,y:z},Wt(s)):{x:M,y:z};if(M=mt.x,z=mt.y,v){var q;return Object.assign({},st,(q={},q[j]=N?"0":"",q[tt]=Z?"0":"",q.transform=(J.devicePixelRatio||1)<=1?"translate("+M+"px, "+z+"px)":"translate3d("+M+"px, "+z+"px, 0)",q))}return Object.assign({},st,(i={},i[j]=N?z+"px":"",i[tt]=Z?M+"px":"",i.transform="",i))}function Ah(r){var i=r.state,s=r.options,f=s.gpuAcceleration,u=f===void 0?!0:f,d=s.adaptive,m=d===void 0?!0:d,_=s.roundOffsets,v=_===void 0?!0:_,A={placement:_e(i.placement),variation:yn(i.placement),popper:i.elements.popper,popperRect:i.rects.popper,gpuAcceleration:u,isFixed:i.options.strategy==="fixed"};i.modifiersData.popperOffsets!=null&&(i.styles.popper=Object.assign({},i.styles.popper,zl(Object.assign({},A,{offsets:i.modifiersData.popperOffsets,position:i.options.strategy,adaptive:m,roundOffsets:v})))),i.modifiersData.arrow!=null&&(i.styles.arrow=Object.assign({},i.styles.arrow,zl(Object.assign({},A,{offsets:i.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:v})))),i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-placement":i.placement})}const Pc={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:Ah,data:{}};var Hs={passive:!0};function wh(r){var i=r.state,s=r.instance,f=r.options,u=f.scroll,d=u===void 0?!0:u,m=f.resize,_=m===void 0?!0:m,v=Wt(i.elements.popper),A=[].concat(i.scrollParents.reference,i.scrollParents.popper);return d&&A.forEach(function(S){S.addEventListener("scroll",s.update,Hs)}),_&&v.addEventListener("resize",s.update,Hs),function(){d&&A.forEach(function(S){S.removeEventListener("scroll",s.update,Hs)}),_&&v.removeEventListener("resize",s.update,Hs)}}const kc={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:wh,data:{}};var Th={left:"right",right:"left",bottom:"top",top:"bottom"};function Ks(r){return r.replace(/left|right|bottom|top/g,function(i){return Th[i]})}var Oh={start:"end",end:"start"};function Vl(r){return r.replace(/start|end/g,function(i){return Oh[i]})}function Mc(r){var i=Wt(r),s=i.pageXOffset,f=i.pageYOffset;return{scrollLeft:s,scrollTop:f}}function jc(r){return En(Je(r)).left+Mc(r).scrollLeft}function xh(r,i){var s=Wt(r),f=Je(r),u=s.visualViewport,d=f.clientWidth,m=f.clientHeight,_=0,v=0;if(u){d=u.width,m=u.height;var A=Ou();(A||!A&&i==="fixed")&&(_=u.offsetLeft,v=u.offsetTop)}return{width:d,height:m,x:_+jc(r),y:v}}function Ch(r){var i,s=Je(r),f=Mc(r),u=(i=r.ownerDocument)==null?void 0:i.body,d=Or(s.scrollWidth,s.clientWidth,u?u.scrollWidth:0,u?u.clientWidth:0),m=Or(s.scrollHeight,s.clientHeight,u?u.scrollHeight:0,u?u.clientHeight:0),_=-f.scrollLeft+jc(r),v=-f.scrollTop;return Le(u||s).direction==="rtl"&&(_+=Or(s.clientWidth,u?u.clientWidth:0)-d),{width:d,height:m,x:_,y:v}}function Fc(r){var i=Le(r),s=i.overflow,f=i.overflowX,u=i.overflowY;return/auto|scroll|overlay|hidden/.test(s+u+f)}function $u(r){return["html","body","#document"].indexOf(be(r))>=0?r.ownerDocument.body:Yt(r)&&Fc(r)?r:$u(eo(r))}function gi(r,i){var s;i===void 0&&(i=[]);var f=$u(r),u=f===((s=r.ownerDocument)==null?void 0:s.body),d=Wt(f),m=u?[d].concat(d.visualViewport||[],Fc(f)?f:[]):f,_=i.concat(m);return u?_:_.concat(gi(eo(m)))}function bc(r){return Object.assign({},r,{left:r.x,top:r.y,right:r.x+r.width,bottom:r.y+r.height})}function Ih(r,i){var s=En(r,!1,i==="fixed");return s.top=s.top+r.clientTop,s.left=s.left+r.clientLeft,s.bottom=s.top+r.clientHeight,s.right=s.left+r.clientWidth,s.width=r.clientWidth,s.height=r.clientHeight,s.x=s.left,s.y=s.top,s}function Hl(r,i,s){return i===Ic?bc(xh(r,s)):Ir(i)?Ih(i,s):bc(Ch(Je(r)))}function Nh(r){var i=gi(eo(r)),s=["absolute","fixed"].indexOf(Le(r).position)>=0,f=s&&Yt(r)?Si(r):r;return Ir(f)?i.filter(function(u){return Ir(u)&&xu(u,f)&&be(u)!=="body"}):[]}function Lh(r,i,s,f){var u=i==="clippingParents"?Nh(r):[].concat(i),d=[].concat(u,[s]),m=d[0],_=d.reduce(function(v,A){var S=Hl(r,A,f);return v.top=Or(S.top,v.top),v.right=Xs(S.right,v.right),v.bottom=Xs(S.bottom,v.bottom),v.left=Or(S.left,v.left),v},Hl(r,m,f));return _.width=_.right-_.left,_.height=_.bottom-_.top,_.x=_.left,_.y=_.top,_}function Du(r){var i=r.reference,s=r.element,f=r.placement,u=f?_e(f):null,d=f?yn(f):null,m=i.x+i.width/2-s.width/2,_=i.y+i.height/2-s.height/2,v;switch(u){case Lt:v={x:m,y:i.y-s.height};break;case jt:v={x:m,y:i.y+i.height};break;case Ft:v={x:i.x+i.width,y:_};break;case $t:v={x:i.x-s.width,y:_};break;default:v={x:i.x,y:i.y}}var A=u?Rc(u):null;if(A!=null){var S=A==="y"?"height":"width";switch(d){case Cr:v[A]=v[A]-(i[S]/2-s[S]/2);break;case _n:v[A]=v[A]+(i[S]/2-s[S]/2);break}}return v}function Sn(r,i){i===void 0&&(i={});var s=i,f=s.placement,u=f===void 0?r.placement:f,d=s.strategy,m=d===void 0?r.strategy:d,_=s.boundary,v=_===void 0?pu:_,A=s.rootBoundary,S=A===void 0?Ic:A,R=s.elementContext,$=R===void 0?gn:R,M=s.altBoundary,K=M===void 0?!1:M,z=s.padding,F=z===void 0?0:z,Z=Iu(typeof F!="number"?F:Nu(F,An)),N=$===gn?vu:gn,tt=r.rects.popper,j=r.elements[K?N:$],J=Lh(Ir(j)?j:j.contextElement||Je(r.elements.popper),v,S,m),P=En(r.elements.reference),Q=Du({reference:P,element:tt,strategy:"absolute",placement:u}),H=bc(Object.assign({},tt,Q)),et=$===gn?H:P,Y={top:J.top-et.top+Z.top,bottom:et.bottom-J.bottom+Z.bottom,left:J.left-et.left+Z.left,right:et.right-J.right+Z.right},st=r.modifiersData.offset;if($===gn&&st){var mt=st[u];Object.keys(Y).forEach(function(q){var qt=[Ft,jt].indexOf(q)>=0?1:-1,Tt=[Lt,jt].indexOf(q)>=0?"y":"x";Y[q]+=mt[Tt]*qt})}return Y}function $h(r,i){i===void 0&&(i={});var s=i,f=s.placement,u=s.boundary,d=s.rootBoundary,m=s.padding,_=s.flipVariations,v=s.allowedAutoPlacements,A=v===void 0?Nc:v,S=yn(f),R=S?_?mc:mc.filter(function(K){return yn(K)===S}):An,$=R.filter(function(K){return A.indexOf(K)>=0});$.length===0&&($=R);var M=$.reduce(function(K,z){return K[z]=Sn(r,{placement:z,boundary:u,rootBoundary:d,padding:m})[_e(z)],K},{});return Object.keys(M).sort(function(K,z){return M[K]-M[z]})}function Dh(r){if(_e(r)===to)return[];var i=Ks(r);return[Vl(r),i,Vl(i)]}function Rh(r){var i=r.state,s=r.options,f=r.name;if(!i.modifiersData[f]._skip){for(var u=s.mainAxis,d=u===void 0?!0:u,m=s.altAxis,_=m===void 0?!0:m,v=s.fallbackPlacements,A=s.padding,S=s.boundary,R=s.rootBoundary,$=s.altBoundary,M=s.flipVariations,K=M===void 0?!0:M,z=s.allowedAutoPlacements,F=i.options.placement,Z=_e(F),N=Z===F,tt=v||(N||!K?[Ks(F)]:Dh(F)),j=[F].concat(tt).reduce(function(zt,Ot){return zt.concat(_e(Ot)===to?$h(i,{placement:Ot,boundary:S,rootBoundary:R,padding:A,flipVariations:K,allowedAutoPlacements:z}):Ot)},[]),J=i.rects.reference,P=i.rects.popper,Q=new Map,H=!0,et=j[0],Y=0;Y=0,Tt=qt?"width":"height",vt=Sn(i,{placement:st,boundary:S,rootBoundary:R,altBoundary:$,padding:A}),_t=qt?q?Ft:$t:q?jt:Lt;J[Tt]>P[Tt]&&(_t=Ks(_t));var se=Ks(_t),Rt=[];if(d&&Rt.push(vt[mt]<=0),_&&Rt.push(vt[_t]<=0,vt[se]<=0),Rt.every(function(zt){return zt})){et=st,H=!1;break}Q.set(st,Rt)}if(H)for(var Ee=K?3:1,bt=function(Ot){var xt=j.find(function(Ct){var Dt=Q.get(Ct);if(Dt)return Dt.slice(0,Ot).every(function(Ze){return Ze})});if(xt)return et=xt,"break"},Pt=Ee;Pt>0;Pt--){var Bt=bt(Pt);if(Bt==="break")break}i.placement!==et&&(i.modifiersData[f]._skip=!0,i.placement=et,i.reset=!0)}}const Ru={name:"flip",enabled:!0,phase:"main",fn:Rh,requiresIfExists:["offset"],data:{_skip:!1}};function Ul(r,i,s){return s===void 0&&(s={x:0,y:0}),{top:r.top-i.height-s.y,right:r.right-i.width+s.x,bottom:r.bottom-i.height+s.y,left:r.left-i.width-s.x}}function Gl(r){return[Lt,Ft,jt,$t].some(function(i){return r[i]>=0})}function Ph(r){var i=r.state,s=r.name,f=i.rects.reference,u=i.rects.popper,d=i.modifiersData.preventOverflow,m=Sn(i,{elementContext:"reference"}),_=Sn(i,{altBoundary:!0}),v=Ul(m,f),A=Ul(_,u,d),S=Gl(v),R=Gl(A);i.modifiersData[s]={referenceClippingOffsets:v,popperEscapeOffsets:A,isReferenceHidden:S,hasPopperEscaped:R},i.attributes.popper=Object.assign({},i.attributes.popper,{"data-popper-reference-hidden":S,"data-popper-escaped":R})}const Pu={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ph};function kh(r,i,s){var f=_e(r),u=[$t,Lt].indexOf(f)>=0?-1:1,d=typeof s=="function"?s(Object.assign({},i,{placement:r})):s,m=d[0],_=d[1];return m=m||0,_=(_||0)*u,[$t,Ft].indexOf(f)>=0?{x:_,y:m}:{x:m,y:_}}function Mh(r){var i=r.state,s=r.options,f=r.name,u=s.offset,d=u===void 0?[0,0]:u,m=Nc.reduce(function(S,R){return S[R]=kh(R,i.rects,d),S},{}),_=m[i.placement],v=_.x,A=_.y;i.modifiersData.popperOffsets!=null&&(i.modifiersData.popperOffsets.x+=v,i.modifiersData.popperOffsets.y+=A),i.modifiersData[f]=m}const ku={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:Mh};function jh(r){var i=r.state,s=r.name;i.modifiersData[s]=Du({reference:i.rects.reference,element:i.rects.popper,strategy:"absolute",placement:i.placement})}const Wc={name:"popperOffsets",enabled:!0,phase:"read",fn:jh,data:{}};function Fh(r){return r==="x"?"y":"x"}function Wh(r){var i=r.state,s=r.options,f=r.name,u=s.mainAxis,d=u===void 0?!0:u,m=s.altAxis,_=m===void 0?!1:m,v=s.boundary,A=s.rootBoundary,S=s.altBoundary,R=s.padding,$=s.tether,M=$===void 0?!0:$,K=s.tetherOffset,z=K===void 0?0:K,F=Sn(i,{boundary:v,rootBoundary:A,padding:R,altBoundary:S}),Z=_e(i.placement),N=yn(i.placement),tt=!N,j=Rc(Z),J=Fh(j),P=i.modifiersData.popperOffsets,Q=i.rects.reference,H=i.rects.popper,et=typeof z=="function"?z(Object.assign({},i.rects,{placement:i.placement})):z,Y=typeof et=="number"?{mainAxis:et,altAxis:et}:Object.assign({mainAxis:0,altAxis:0},et),st=i.modifiersData.offset?i.modifiersData.offset[i.placement]:null,mt={x:0,y:0};if(P){if(d){var q,qt=j==="y"?Lt:$t,Tt=j==="y"?jt:Ft,vt=j==="y"?"height":"width",_t=P[j],se=_t+F[qt],Rt=_t-F[Tt],Ee=M?-H[vt]/2:0,bt=N===Cr?Q[vt]:H[vt],Pt=N===Cr?-H[vt]:-Q[vt],Bt=i.elements.arrow,zt=M&&Bt?Dc(Bt):{width:0,height:0},Ot=i.modifiersData["arrow#persistent"]?i.modifiersData["arrow#persistent"].padding:Cu(),xt=Ot[qt],Ct=Ot[Tt],Dt=vi(0,Q[vt],zt[vt]),Ze=tt?Q[vt]/2-Ee-Dt-xt-Y.mainAxis:bt-Dt-xt-Y.mainAxis,lt=tt?-Q[vt]/2+Ee+Dt+Ct+Y.mainAxis:Pt+Dt+Ct+Y.mainAxis,x=i.elements.arrow&&Si(i.elements.arrow),$e=x?j==="y"?x.clientTop||0:x.clientLeft||0:0,ye=(q=st==null?void 0:st[j])!=null?q:0,ft=_t+Ze-ye-$e,it=_t+lt-ye,Vt=vi(M?Xs(se,ft):se,_t,M?Or(Rt,it):Rt);P[j]=Vt,mt[j]=Vt-_t}if(_){var Nr,Et=j==="x"?Lt:$t,De=j==="x"?jt:Ft,k=P[J],Xt=J==="y"?"height":"width",Lr=k+F[Et],dt=k-F[De],Qt=[Lt,$t].indexOf(Z)!==-1,ct=(Nr=st==null?void 0:st[J])!=null?Nr:0,Se=Qt?Lr:k-Q[Xt]-H[Xt]-ct+Y.altAxis,$r=Qt?k+Q[Xt]+H[Xt]-ct-Y.altAxis:dt,Re=M&&Qt?mh(Se,k,$r):vi(M?Se:Lr,k,M?$r:dt);P[J]=Re,mt[J]=Re-k}i.modifiersData[f]=mt}}const Mu={name:"preventOverflow",enabled:!0,phase:"main",fn:Wh,requiresIfExists:["offset"]};function Bh(r){return{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}}function zh(r){return r===Wt(r)||!Yt(r)?Mc(r):Bh(r)}function Vh(r){var i=r.getBoundingClientRect(),s=bn(i.width)/r.offsetWidth||1,f=bn(i.height)/r.offsetHeight||1;return s!==1||f!==1}function Hh(r,i,s){s===void 0&&(s=!1);var f=Yt(i),u=Yt(i)&&Vh(i),d=Je(i),m=En(r,u,s),_={scrollLeft:0,scrollTop:0},v={x:0,y:0};return(f||!f&&!s)&&((be(i)!=="body"||Fc(d))&&(_=zh(i)),Yt(i)?(v=En(i,!0),v.x+=i.clientLeft,v.y+=i.clientTop):d&&(v.x=jc(d))),{x:m.left+_.scrollLeft-v.x,y:m.top+_.scrollTop-v.y,width:m.width,height:m.height}}function Uh(r){var i=new Map,s=new Set,f=[];r.forEach(function(d){i.set(d.name,d)});function u(d){s.add(d.name);var m=[].concat(d.requires||[],d.requiresIfExists||[]);m.forEach(function(_){if(!s.has(_)){var v=i.get(_);v&&u(v)}}),f.push(d)}return r.forEach(function(d){s.has(d.name)||u(d)}),f}function Gh(r){var i=Uh(r);return Tu.reduce(function(s,f){return s.concat(i.filter(function(u){return u.phase===f}))},[])}function Kh(r){var i;return function(){return i||(i=new Promise(function(s){Promise.resolve().then(function(){i=void 0,s(r())})})),i}}function Yh(r){var i=r.reduce(function(s,f){var u=s[f.name];return s[f.name]=u?Object.assign({},u,f,{options:Object.assign({},u.options,f.options),data:Object.assign({},u.data,f.data)}):f,s},{});return Object.keys(i).map(function(s){return i[s]})}var Kl={placement:"bottom",modifiers:[],strategy:"absolute"};function Yl(){for(var r=arguments.length,i=new Array(r),s=0;sh[a]})}}return e.default=h,Object.freeze(e)}const u=f(s),d=new Map,m={set(h,e,a){d.has(h)||d.set(h,new Map);const p=d.get(h);if(!p.has(e)&&p.size!==0){console.error(`Bootstrap doesn't allow more than one instance per element. Bound instance: ${Array.from(p.keys())[0]}.`);return}p.set(e,a)},get(h,e){return d.has(h)&&d.get(h).get(e)||null},remove(h,e){if(!d.has(h))return;const a=d.get(h);a.delete(e),a.size===0&&d.delete(h)}},_=1e6,v=1e3,A="transitionend",S=h=>(h&&window.CSS&&window.CSS.escape&&(h=h.replace(/#([^\s"#']+)/g,(e,a)=>`#${CSS.escape(a)}`)),h),R=h=>h==null?`${h}`:Object.prototype.toString.call(h).match(/\s([a-z]+)/i)[1].toLowerCase(),$=h=>{do h+=Math.floor(Math.random()*_);while(document.getElementById(h));return h},M=h=>{if(!h)return 0;let{transitionDuration:e,transitionDelay:a}=window.getComputedStyle(h);const p=Number.parseFloat(e),O=Number.parseFloat(a);return!p&&!O?0:(e=e.split(",")[0],a=a.split(",")[0],(Number.parseFloat(e)+Number.parseFloat(a))*v)},K=h=>{h.dispatchEvent(new Event(A))},z=h=>!h||typeof h!="object"?!1:(typeof h.jquery<"u"&&(h=h[0]),typeof h.nodeType<"u"),F=h=>z(h)?h.jquery?h[0]:h:typeof h=="string"&&h.length>0?document.querySelector(S(h)):null,Z=h=>{if(!z(h)||h.getClientRects().length===0)return!1;const e=getComputedStyle(h).getPropertyValue("visibility")==="visible",a=h.closest("details:not([open])");if(!a)return e;if(a!==h){const p=h.closest("summary");if(p&&p.parentNode!==a||p===null)return!1}return e},N=h=>!h||h.nodeType!==Node.ELEMENT_NODE||h.classList.contains("disabled")?!0:typeof h.disabled<"u"?h.disabled:h.hasAttribute("disabled")&&h.getAttribute("disabled")!=="false",tt=h=>{if(!document.documentElement.attachShadow)return null;if(typeof h.getRootNode=="function"){const e=h.getRootNode();return e instanceof ShadowRoot?e:null}return h instanceof ShadowRoot?h:h.parentNode?tt(h.parentNode):null},j=()=>{},J=h=>{h.offsetHeight},P=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,Q=[],H=h=>{document.readyState==="loading"?(Q.length||document.addEventListener("DOMContentLoaded",()=>{for(const e of Q)e()}),Q.push(h)):h()},et=()=>document.documentElement.dir==="rtl",Y=h=>{H(()=>{const e=P();if(e){const a=h.NAME,p=e.fn[a];e.fn[a]=h.jQueryInterface,e.fn[a].Constructor=h,e.fn[a].noConflict=()=>(e.fn[a]=p,h.jQueryInterface)}})},st=(h,e=[],a=h)=>typeof h=="function"?h(...e):a,mt=(h,e,a=!0)=>{if(!a){st(h);return}const O=M(e)+5;let L=!1;const I=({target:X})=>{X===e&&(L=!0,e.removeEventListener(A,I),st(h))};e.addEventListener(A,I),setTimeout(()=>{L||K(e)},O)},q=(h,e,a,p)=>{const O=h.length;let L=h.indexOf(e);return L===-1?!a&&p?h[O-1]:h[0]:(L+=a?1:-1,p&&(L=(L+O)%O),h[Math.max(0,Math.min(L,O-1))])},qt=/[^.]*(?=\..*)\.|.*/,Tt=/\..*/,vt=/::\d+$/,_t={};let se=1;const Rt={mouseenter:"mouseover",mouseleave:"mouseout"},Ee=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function bt(h,e){return e&&`${e}::${se++}`||h.uidEvent||se++}function Pt(h){const e=bt(h);return h.uidEvent=e,_t[e]=_t[e]||{},_t[e]}function Bt(h,e){return function a(p){return $e(p,{delegateTarget:h}),a.oneOff&&x.off(h,p.type,e),e.apply(h,[p])}}function zt(h,e,a){return function p(O){const L=h.querySelectorAll(e);for(let{target:I}=O;I&&I!==this;I=I.parentNode)for(const X of L)if(X===I)return $e(O,{delegateTarget:I}),p.oneOff&&x.off(h,O.type,e,a),a.apply(I,[O])}}function Ot(h,e,a=null){return Object.values(h).find(p=>p.callable===e&&p.delegationSelector===a)}function xt(h,e,a){const p=typeof e=="string",O=p?a:e||a;let L=lt(h);return Ee.has(L)||(L=h),[p,O,L]}function Ct(h,e,a,p,O){if(typeof e!="string"||!h)return;let[L,I,X]=xt(e,a,p);e in Rt&&(I=(Ka=>function(Ye){if(!Ye.relatedTarget||Ye.relatedTarget!==Ye.delegateTarget&&!Ye.delegateTarget.contains(Ye.relatedTarget))return Ka.call(this,Ye)})(I));const At=Pt(h),Nt=At[X]||(At[X]={}),ht=Ot(Nt,I,L?a:null);if(ht){ht.oneOff=ht.oneOff&&O;return}const Kt=bt(I,e.replace(qt,"")),Mt=L?zt(h,a,I):Bt(h,I);Mt.delegationSelector=L?a:null,Mt.callable=I,Mt.oneOff=O,Mt.uidEvent=Kt,Nt[Kt]=Mt,h.addEventListener(X,Mt,L)}function Dt(h,e,a,p,O){const L=Ot(e[a],p,O);L&&(h.removeEventListener(a,L,!!O),delete e[a][L.uidEvent])}function Ze(h,e,a,p){const O=e[a]||{};for(const[L,I]of Object.entries(O))L.includes(p)&&Dt(h,e,a,I.callable,I.delegationSelector)}function lt(h){return h=h.replace(Tt,""),Rt[h]||h}const x={on(h,e,a,p){Ct(h,e,a,p,!1)},one(h,e,a,p){Ct(h,e,a,p,!0)},off(h,e,a,p){if(typeof e!="string"||!h)return;const[O,L,I]=xt(e,a,p),X=I!==e,At=Pt(h),Nt=At[I]||{},ht=e.startsWith(".");if(typeof L<"u"){if(!Object.keys(Nt).length)return;Dt(h,At,I,L,O?a:null);return}if(ht)for(const Kt of Object.keys(At))Ze(h,At,Kt,e.slice(1));for(const[Kt,Mt]of Object.entries(Nt)){const dn=Kt.replace(vt,"");(!X||e.includes(dn))&&Dt(h,At,I,Mt.callable,Mt.delegationSelector)}},trigger(h,e,a){if(typeof e!="string"||!h)return null;const p=P(),O=lt(e),L=e!==O;let I=null,X=!0,At=!0,Nt=!1;L&&p&&(I=p.Event(e,a),p(h).trigger(I),X=!I.isPropagationStopped(),At=!I.isImmediatePropagationStopped(),Nt=I.isDefaultPrevented());const ht=$e(new Event(e,{bubbles:X,cancelable:!0}),a);return Nt&&ht.preventDefault(),At&&h.dispatchEvent(ht),ht.defaultPrevented&&I&&I.preventDefault(),ht}};function $e(h,e={}){for(const[a,p]of Object.entries(e))try{h[a]=p}catch{Object.defineProperty(h,a,{configurable:!0,get(){return p}})}return h}function ye(h){if(h==="true")return!0;if(h==="false")return!1;if(h===Number(h).toString())return Number(h);if(h===""||h==="null")return null;if(typeof h!="string")return h;try{return JSON.parse(decodeURIComponent(h))}catch{return h}}function ft(h){return h.replace(/[A-Z]/g,e=>`-${e.toLowerCase()}`)}const it={setDataAttribute(h,e,a){h.setAttribute(`data-bs-${ft(e)}`,a)},removeDataAttribute(h,e){h.removeAttribute(`data-bs-${ft(e)}`)},getDataAttributes(h){if(!h)return{};const e={},a=Object.keys(h.dataset).filter(p=>p.startsWith("bs")&&!p.startsWith("bsConfig"));for(const p of a){let O=p.replace(/^bs/,"");O=O.charAt(0).toLowerCase()+O.slice(1,O.length),e[O]=ye(h.dataset[p])}return e},getDataAttribute(h,e){return ye(h.getAttribute(`data-bs-${ft(e)}`))}};class Vt{static get Default(){return{}}static get DefaultType(){return{}}static get NAME(){throw new Error('You have to implement the static method "NAME", for each component!')}_getConfig(e){return e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e}_mergeConfigObj(e,a){const p=z(a)?it.getDataAttribute(a,"config"):{};return{...this.constructor.Default,...typeof p=="object"?p:{},...z(a)?it.getDataAttributes(a):{},...typeof e=="object"?e:{}}}_typeCheckConfig(e,a=this.constructor.DefaultType){for(const[p,O]of Object.entries(a)){const L=e[p],I=z(L)?"element":R(L);if(!new RegExp(O).test(I))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${p}" provided type "${I}" but expected type "${O}".`)}}}const Nr="5.3.3";class Et extends Vt{constructor(e,a){super(),e=F(e),e&&(this._element=e,this._config=this._getConfig(a),m.set(this._element,this.constructor.DATA_KEY,this))}dispose(){m.remove(this._element,this.constructor.DATA_KEY),x.off(this._element,this.constructor.EVENT_KEY);for(const e of Object.getOwnPropertyNames(this))this[e]=null}_queueCallback(e,a,p=!0){mt(e,a,p)}_getConfig(e){return e=this._mergeConfigObj(e,this._element),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}static getInstance(e){return m.get(F(e),this.DATA_KEY)}static getOrCreateInstance(e,a={}){return this.getInstance(e)||new this(e,typeof a=="object"?a:null)}static get VERSION(){return Nr}static get DATA_KEY(){return`bs.${this.NAME}`}static get EVENT_KEY(){return`.${this.DATA_KEY}`}static eventName(e){return`${e}${this.EVENT_KEY}`}}const De=h=>{let e=h.getAttribute("data-bs-target");if(!e||e==="#"){let a=h.getAttribute("href");if(!a||!a.includes("#")&&!a.startsWith("."))return null;a.includes("#")&&!a.startsWith("#")&&(a=`#${a.split("#")[1]}`),e=a&&a!=="#"?a.trim():null}return e?e.split(",").map(a=>S(a)).join(","):null},k={find(h,e=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(e,h))},findOne(h,e=document.documentElement){return Element.prototype.querySelector.call(e,h)},children(h,e){return[].concat(...h.children).filter(a=>a.matches(e))},parents(h,e){const a=[];let p=h.parentNode.closest(e);for(;p;)a.push(p),p=p.parentNode.closest(e);return a},prev(h,e){let a=h.previousElementSibling;for(;a;){if(a.matches(e))return[a];a=a.previousElementSibling}return[]},next(h,e){let a=h.nextElementSibling;for(;a;){if(a.matches(e))return[a];a=a.nextElementSibling}return[]},focusableChildren(h){const e=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(a=>`${a}:not([tabindex^="-"])`).join(",");return this.find(e,h).filter(a=>!N(a)&&Z(a))},getSelectorFromElement(h){const e=De(h);return e&&k.findOne(e)?e:null},getElementFromSelector(h){const e=De(h);return e?k.findOne(e):null},getMultipleElementsFromSelector(h){const e=De(h);return e?k.find(e):[]}},Xt=(h,e="hide")=>{const a=`click.dismiss${h.EVENT_KEY}`,p=h.NAME;x.on(document,a,`[data-bs-dismiss="${p}"]`,function(O){if(["A","AREA"].includes(this.tagName)&&O.preventDefault(),N(this))return;const L=k.getElementFromSelector(this)||this.closest(`.${p}`);h.getOrCreateInstance(L)[e]()})},Lr="alert",Qt=".bs.alert",ct=`close${Qt}`,Se=`closed${Qt}`,$r="fade",Re="show";class tr extends Et{static get NAME(){return Lr}close(){if(x.trigger(this._element,ct).defaultPrevented)return;this._element.classList.remove(Re);const a=this._element.classList.contains($r);this._queueCallback(()=>this._destroyElement(),this._element,a)}_destroyElement(){this._element.remove(),x.trigger(this._element,Se),this.dispose()}static jQueryInterface(e){return this.each(function(){const a=tr.getOrCreateInstance(this);if(typeof e=="string"){if(a[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);a[e](this)}})}}Xt(tr,"close"),Y(tr);const wn="button",Dr=".bs.button",Pe=".data-api",so="active",Ti='[data-bs-toggle="button"]',oo=`click${Dr}${Pe}`;class er extends Et{static get NAME(){return wn}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(so))}static jQueryInterface(e){return this.each(function(){const a=er.getOrCreateInstance(this);e==="toggle"&&a[e]()})}}x.on(document,oo,Ti,h=>{h.preventDefault();const e=h.target.closest(Ti);er.getOrCreateInstance(e).toggle()}),Y(er);const ao="swipe",Jt=".bs.swipe",co=`touchstart${Jt}`,Tn=`touchmove${Jt}`,lo=`touchend${Jt}`,On=`pointerdown${Jt}`,xn=`pointerup${Jt}`,Cn="touch",uo="pen",Zt="pointer-event",Rr=40,oe={endCallback:null,leftCallback:null,rightCallback:null},Oi={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class Pr extends Vt{constructor(e,a){super(),this._element=e,!(!e||!Pr.isSupported())&&(this._config=this._getConfig(a),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return oe}static get DefaultType(){return Oi}static get NAME(){return ao}dispose(){x.off(this._element,Jt)}_start(e){if(!this._supportPointerEvents){this._deltaX=e.touches[0].clientX;return}this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX)}_end(e){this._eventIsPointerPenTouch(e)&&(this._deltaX=e.clientX-this._deltaX),this._handleSwipe(),st(this._config.endCallback)}_move(e){this._deltaX=e.touches&&e.touches.length>1?0:e.touches[0].clientX-this._deltaX}_handleSwipe(){const e=Math.abs(this._deltaX);if(e<=Rr)return;const a=e/this._deltaX;this._deltaX=0,a&&st(a>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(x.on(this._element,On,e=>this._start(e)),x.on(this._element,xn,e=>this._end(e)),this._element.classList.add(Zt)):(x.on(this._element,co,e=>this._start(e)),x.on(this._element,Tn,e=>this._move(e)),x.on(this._element,lo,e=>this._end(e)))}_eventIsPointerPenTouch(e){return this._supportPointerEvents&&(e.pointerType===uo||e.pointerType===Cn)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const In="carousel",ae=".bs.carousel",rr=".data-api",fo="ArrowLeft",Nn="ArrowRight",xi=500,ke="next",Ae="prev",ce="left",we="right",Ci=`slide${ae}`,nr=`slid${ae}`,ho=`keydown${ae}`,kr=`mouseenter${ae}`,ir=`mouseleave${ae}`,Mr=`dragstart${ae}`,po=`load${ae}${rr}`,vo=`click${ae}${rr}`,le="carousel",jr="active",Ii="slide",go="carousel-item-end",Me="carousel-item-start",Ht="carousel-item-next",mo="carousel-item-prev",Ut=".active",Ni=".carousel-item",_o=Ut+Ni,Gt=".carousel-item img",bo=".carousel-indicators",Eo="[data-bs-slide], [data-bs-slide-to]",yo='[data-bs-ride="carousel"]',So={[fo]:we,[Nn]:ce},Fr={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Ao={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class te extends Et{constructor(e,a){super(e,a),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=k.findOne(bo,this._element),this._addEventListeners(),this._config.ride===le&&this.cycle()}static get Default(){return Fr}static get DefaultType(){return Ao}static get NAME(){return In}next(){this._slide(ke)}nextWhenVisible(){!document.hidden&&Z(this._element)&&this.next()}prev(){this._slide(Ae)}pause(){this._isSliding&&K(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){x.one(this._element,nr,()=>this.cycle());return}this.cycle()}}to(e){const a=this._getItems();if(e>a.length-1||e<0)return;if(this._isSliding){x.one(this._element,nr,()=>this.to(e));return}const p=this._getItemIndex(this._getActive());if(p===e)return;const O=e>p?ke:Ae;this._slide(O,a[e])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(e){return e.defaultInterval=e.interval,e}_addEventListeners(){this._config.keyboard&&x.on(this._element,ho,e=>this._keydown(e)),this._config.pause==="hover"&&(x.on(this._element,kr,()=>this.pause()),x.on(this._element,ir,()=>this._maybeEnableCycle())),this._config.touch&&Pr.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const p of k.find(Gt,this._element))x.on(p,Mr,O=>O.preventDefault());const a={leftCallback:()=>this._slide(this._directionToOrder(ce)),rightCallback:()=>this._slide(this._directionToOrder(we)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),xi+this._config.interval))}};this._swipeHelper=new Pr(this._element,a)}_keydown(e){if(/input|textarea/i.test(e.target.tagName))return;const a=So[e.key];a&&(e.preventDefault(),this._slide(this._directionToOrder(a)))}_getItemIndex(e){return this._getItems().indexOf(e)}_setActiveIndicatorElement(e){if(!this._indicatorsElement)return;const a=k.findOne(Ut,this._indicatorsElement);a.classList.remove(jr),a.removeAttribute("aria-current");const p=k.findOne(`[data-bs-slide-to="${e}"]`,this._indicatorsElement);p&&(p.classList.add(jr),p.setAttribute("aria-current","true"))}_updateInterval(){const e=this._activeElement||this._getActive();if(!e)return;const a=Number.parseInt(e.getAttribute("data-bs-interval"),10);this._config.interval=a||this._config.defaultInterval}_slide(e,a=null){if(this._isSliding)return;const p=this._getActive(),O=e===ke,L=a||q(this._getItems(),p,O,this._config.wrap);if(L===p)return;const I=this._getItemIndex(L),X=dn=>x.trigger(this._element,dn,{relatedTarget:L,direction:this._orderToDirection(e),from:this._getItemIndex(p),to:I});if(X(Ci).defaultPrevented||!p||!L)return;const Nt=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(I),this._activeElement=L;const ht=O?Me:go,Kt=O?Ht:mo;L.classList.add(Kt),J(L),p.classList.add(ht),L.classList.add(ht);const Mt=()=>{L.classList.remove(ht,Kt),L.classList.add(jr),p.classList.remove(jr,Kt,ht),this._isSliding=!1,X(nr)};this._queueCallback(Mt,p,this._isAnimated()),Nt&&this.cycle()}_isAnimated(){return this._element.classList.contains(Ii)}_getActive(){return k.findOne(_o,this._element)}_getItems(){return k.find(Ni,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(e){return et()?e===ce?Ae:ke:e===ce?ke:Ae}_orderToDirection(e){return et()?e===Ae?ce:we:e===Ae?we:ce}static jQueryInterface(e){return this.each(function(){const a=te.getOrCreateInstance(this,e);if(typeof e=="number"){a.to(e);return}if(typeof e=="string"){if(a[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);a[e]()}})}}x.on(document,vo,Eo,function(h){const e=k.getElementFromSelector(this);if(!e||!e.classList.contains(le))return;h.preventDefault();const a=te.getOrCreateInstance(e),p=this.getAttribute("data-bs-slide-to");if(p){a.to(p),a._maybeEnableCycle();return}if(it.getDataAttribute(this,"slide")==="next"){a.next(),a._maybeEnableCycle();return}a.prev(),a._maybeEnableCycle()}),x.on(window,po,()=>{const h=k.find(yo);for(const e of h)te.getOrCreateInstance(e)}),Y(te);const Ln="collapse",je=".bs.collapse",To=".data-api",Li=`show${je}`,$n=`shown${je}`,Oo=`hide${je}`,Wr=`hidden${je}`,xo=`click${je}${To}`,Dn="show",Fe="collapse",Te="collapsing",Co="collapsed",Rn=`:scope .${Fe} .${Fe}`,sr="collapse-horizontal",$i="width",Di="height",Io=".collapse.show, .collapse.collapsing",Br='[data-bs-toggle="collapse"]',Pn={parent:null,toggle:!0},No={parent:"(null|element)",toggle:"boolean"};class We extends Et{constructor(e,a){super(e,a),this._isTransitioning=!1,this._triggerArray=[];const p=k.find(Br);for(const O of p){const L=k.getSelectorFromElement(O),I=k.find(L).filter(X=>X===this._element);L!==null&&I.length&&this._triggerArray.push(O)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return Pn}static get DefaultType(){return No}static get NAME(){return Ln}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let e=[];if(this._config.parent&&(e=this._getFirstLevelChildren(Io).filter(X=>X!==this._element).map(X=>We.getOrCreateInstance(X,{toggle:!1}))),e.length&&e[0]._isTransitioning||x.trigger(this._element,Li).defaultPrevented)return;for(const X of e)X.hide();const p=this._getDimension();this._element.classList.remove(Fe),this._element.classList.add(Te),this._element.style[p]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const O=()=>{this._isTransitioning=!1,this._element.classList.remove(Te),this._element.classList.add(Fe,Dn),this._element.style[p]="",x.trigger(this._element,$n)},I=`scroll${p[0].toUpperCase()+p.slice(1)}`;this._queueCallback(O,this._element,!0),this._element.style[p]=`${this._element[I]}px`}hide(){if(this._isTransitioning||!this._isShown()||x.trigger(this._element,Oo).defaultPrevented)return;const a=this._getDimension();this._element.style[a]=`${this._element.getBoundingClientRect()[a]}px`,J(this._element),this._element.classList.add(Te),this._element.classList.remove(Fe,Dn);for(const O of this._triggerArray){const L=k.getElementFromSelector(O);L&&!this._isShown(L)&&this._addAriaAndCollapsedClass([O],!1)}this._isTransitioning=!0;const p=()=>{this._isTransitioning=!1,this._element.classList.remove(Te),this._element.classList.add(Fe),x.trigger(this._element,Wr)};this._element.style[a]="",this._queueCallback(p,this._element,!0)}_isShown(e=this._element){return e.classList.contains(Dn)}_configAfterMerge(e){return e.toggle=!!e.toggle,e.parent=F(e.parent),e}_getDimension(){return this._element.classList.contains(sr)?$i:Di}_initializeChildren(){if(!this._config.parent)return;const e=this._getFirstLevelChildren(Br);for(const a of e){const p=k.getElementFromSelector(a);p&&this._addAriaAndCollapsedClass([a],this._isShown(p))}}_getFirstLevelChildren(e){const a=k.find(Rn,this._config.parent);return k.find(e,this._config.parent).filter(p=>!a.includes(p))}_addAriaAndCollapsedClass(e,a){if(e.length)for(const p of e)p.classList.toggle(Co,!a),p.setAttribute("aria-expanded",a)}static jQueryInterface(e){const a={};return typeof e=="string"&&/show|hide/.test(e)&&(a.toggle=!1),this.each(function(){const p=We.getOrCreateInstance(this,a);if(typeof e=="string"){if(typeof p[e]>"u")throw new TypeError(`No method named "${e}"`);p[e]()}})}}x.on(document,xo,Br,function(h){(h.target.tagName==="A"||h.delegateTarget&&h.delegateTarget.tagName==="A")&&h.preventDefault();for(const e of k.getMultipleElementsFromSelector(this))We.getOrCreateInstance(e,{toggle:!1}).toggle()}),Y(We);const Be="dropdown",Oe=".bs.dropdown",kn=".data-api",Ri="Escape",Pi="Tab",$o="ArrowUp",Mn="ArrowDown",ue=2,zr=`hide${Oe}`,ki=`hidden${Oe}`,Do=`show${Oe}`,Ro=`shown${Oe}`,Vr=`click${Oe}${kn}`,jn=`keydown${Oe}${kn}`,Fn=`keyup${Oe}${kn}`,ze="show",Wn="dropup",Mi="dropend",ji="dropstart",Po="dropup-center",ko="dropdown-center",fe='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Ve=`${fe}.${ze}`,or=".dropdown-menu",Mo=".navbar",Fi=".navbar-nav",jo=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Fo=et()?"top-end":"top-start",Bn=et()?"top-start":"top-end",Wi=et()?"bottom-end":"bottom-start",Wo=et()?"bottom-start":"bottom-end",Bo=et()?"left-start":"right-start",Bi=et()?"right-start":"left-start",zi="top",Hr="bottom",zo={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},Vo={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};class yt extends Et{constructor(e,a){super(e,a),this._popper=null,this._parent=this._element.parentNode,this._menu=k.next(this._element,or)[0]||k.prev(this._element,or)[0]||k.findOne(or,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return zo}static get DefaultType(){return Vo}static get NAME(){return Be}toggle(){return this._isShown()?this.hide():this.show()}show(){if(N(this._element)||this._isShown())return;const e={relatedTarget:this._element};if(!x.trigger(this._element,Do,e).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(Fi))for(const p of[].concat(...document.body.children))x.on(p,"mouseover",j);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(ze),this._element.classList.add(ze),x.trigger(this._element,Ro,e)}}hide(){if(N(this._element)||!this._isShown())return;const e={relatedTarget:this._element};this._completeHide(e)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(e){if(!x.trigger(this._element,zr,e).defaultPrevented){if("ontouchstart"in document.documentElement)for(const p of[].concat(...document.body.children))x.off(p,"mouseover",j);this._popper&&this._popper.destroy(),this._menu.classList.remove(ze),this._element.classList.remove(ze),this._element.setAttribute("aria-expanded","false"),it.removeDataAttribute(this._menu,"popper"),x.trigger(this._element,ki,e)}}_getConfig(e){if(e=super._getConfig(e),typeof e.reference=="object"&&!z(e.reference)&&typeof e.reference.getBoundingClientRect!="function")throw new TypeError(`${Be.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return e}_createPopper(){if(typeof u>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let e=this._element;this._config.reference==="parent"?e=this._parent:z(this._config.reference)?e=F(this._config.reference):typeof this._config.reference=="object"&&(e=this._config.reference);const a=this._getPopperConfig();this._popper=u.createPopper(e,this._menu,a)}_isShown(){return this._menu.classList.contains(ze)}_getPlacement(){const e=this._parent;if(e.classList.contains(Mi))return Bo;if(e.classList.contains(ji))return Bi;if(e.classList.contains(Po))return zi;if(e.classList.contains(ko))return Hr;const a=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return e.classList.contains(Wn)?a?Bn:Fo:a?Wo:Wi}_detectNavbar(){return this._element.closest(Mo)!==null}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(a=>Number.parseInt(a,10)):typeof e=="function"?a=>e(a,this._element):e}_getPopperConfig(){const e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return(this._inNavbar||this._config.display==="static")&&(it.setDataAttribute(this._menu,"popper","static"),e.modifiers=[{name:"applyStyles",enabled:!1}]),{...e,...st(this._config.popperConfig,[e])}}_selectMenuItem({key:e,target:a}){const p=k.find(jo,this._menu).filter(O=>Z(O));p.length&&q(p,a,e===Mn,!p.includes(a)).focus()}static jQueryInterface(e){return this.each(function(){const a=yt.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof a[e]>"u")throw new TypeError(`No method named "${e}"`);a[e]()}})}static clearMenus(e){if(e.button===ue||e.type==="keyup"&&e.key!==Pi)return;const a=k.find(Ve);for(const p of a){const O=yt.getInstance(p);if(!O||O._config.autoClose===!1)continue;const L=e.composedPath(),I=L.includes(O._menu);if(L.includes(O._element)||O._config.autoClose==="inside"&&!I||O._config.autoClose==="outside"&&I||O._menu.contains(e.target)&&(e.type==="keyup"&&e.key===Pi||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;const X={relatedTarget:O._element};e.type==="click"&&(X.clickEvent=e),O._completeHide(X)}}static dataApiKeydownHandler(e){const a=/input|textarea/i.test(e.target.tagName),p=e.key===Ri,O=[$o,Mn].includes(e.key);if(!O&&!p||a&&!p)return;e.preventDefault();const L=this.matches(fe)?this:k.prev(this,fe)[0]||k.next(this,fe)[0]||k.findOne(fe,e.delegateTarget.parentNode),I=yt.getOrCreateInstance(L);if(O){e.stopPropagation(),I.show(),I._selectMenuItem(e);return}I._isShown()&&(e.stopPropagation(),I.hide(),L.focus())}}x.on(document,jn,fe,yt.dataApiKeydownHandler),x.on(document,jn,or,yt.dataApiKeydownHandler),x.on(document,Vr,yt.clearMenus),x.on(document,Fn,yt.clearMenus),x.on(document,Vr,fe,function(h){h.preventDefault(),yt.getOrCreateInstance(this).toggle()}),Y(yt);const Vi="backdrop",Hi="fade",Ui="show",Gi=`mousedown.bs.${Vi}`,Ho={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Uo={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class He extends Vt{constructor(e){super(),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}static get Default(){return Ho}static get DefaultType(){return Uo}static get NAME(){return Vi}show(e){if(!this._config.isVisible){st(e);return}this._append();const a=this._getElement();this._config.isAnimated&&J(a),a.classList.add(Ui),this._emulateAnimation(()=>{st(e)})}hide(e){if(!this._config.isVisible){st(e);return}this._getElement().classList.remove(Ui),this._emulateAnimation(()=>{this.dispose(),st(e)})}dispose(){this._isAppended&&(x.off(this._element,Gi),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const e=document.createElement("div");e.className=this._config.className,this._config.isAnimated&&e.classList.add(Hi),this._element=e}return this._element}_configAfterMerge(e){return e.rootElement=F(e.rootElement),e}_append(){if(this._isAppended)return;const e=this._getElement();this._config.rootElement.append(e),x.on(e,Gi,()=>{st(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(e){mt(e,this._getElement(),this._config.isAnimated)}}const Go="focustrap",Ur=".bs.focustrap",Ko=`focusin${Ur}`,zn=`keydown.tab${Ur}`,Yo="Tab",de="forward",Ki="backward",St={autofocus:!0,trapElement:null},Vn={autofocus:"boolean",trapElement:"element"};class Hn extends Vt{constructor(e){super(),this._config=this._getConfig(e),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return St}static get DefaultType(){return Vn}static get NAME(){return Go}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),x.off(document,Ur),x.on(document,Ko,e=>this._handleFocusin(e)),x.on(document,zn,e=>this._handleKeydown(e)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,x.off(document,Ur))}_handleFocusin(e){const{trapElement:a}=this._config;if(e.target===document||e.target===a||a.contains(e.target))return;const p=k.focusableChildren(a);p.length===0?a.focus():this._lastTabNavDirection===Ki?p[p.length-1].focus():p[0].focus()}_handleKeydown(e){e.key===Yo&&(this._lastTabNavDirection=e.shiftKey?Ki:de)}}const ar=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Yi=".sticky-top",Gr="padding-right",Kr="margin-right";class Un{constructor(){this._element=document.body}getWidth(){const e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}hide(){const e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Gr,a=>a+e),this._setElementAttributes(ar,Gr,a=>a+e),this._setElementAttributes(Yi,Kr,a=>a-e)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Gr),this._resetElementAttributes(ar,Gr),this._resetElementAttributes(Yi,Kr)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(e,a,p){const O=this.getWidth(),L=I=>{if(I!==this._element&&window.innerWidth>I.clientWidth+O)return;this._saveInitialAttribute(I,a);const X=window.getComputedStyle(I).getPropertyValue(a);I.style.setProperty(a,`${p(Number.parseFloat(X))}px`)};this._applyManipulationCallback(e,L)}_saveInitialAttribute(e,a){const p=e.style.getPropertyValue(a);p&&it.setDataAttribute(e,a,p)}_resetElementAttributes(e,a){const p=O=>{const L=it.getDataAttribute(O,a);if(L===null){O.style.removeProperty(a);return}it.removeDataAttribute(O,a),O.style.setProperty(a,L)};this._applyManipulationCallback(e,p)}_applyManipulationCallback(e,a){if(z(e)){a(e);return}for(const p of k.find(e,this._element))a(p)}}const qo="modal",It=".bs.modal",qi=".data-api",Xi="Escape",Xo=`hide${It}`,Qo=`hidePrevented${It}`,Gn=`hidden${It}`,cr=`show${It}`,Ue=`shown${It}`,Qi=`resize${It}`,Jo=`click.dismiss${It}`,Ji=`mousedown.dismiss${It}`,Zo=`keydown.dismiss${It}`,ta=`click${It}${qi}`,Zi="modal-open",ea="fade",ts="show",Kn="modal-static",ra=".modal.show",es=".modal-dialog",rs=".modal-body",Yn='[data-bs-toggle="modal"]',qn={backdrop:!0,focus:!0,keyboard:!0},ns={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};class ee extends Et{constructor(e,a){super(e,a),this._dialog=k.findOne(es,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new Un,this._addEventListeners()}static get Default(){return qn}static get DefaultType(){return ns}static get NAME(){return qo}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){this._isShown||this._isTransitioning||x.trigger(this._element,cr,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(Zi),this._adjustDialog(),this._backdrop.show(()=>this._showElement(e)))}hide(){!this._isShown||this._isTransitioning||x.trigger(this._element,Xo).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(ts),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){x.off(window,It),x.off(this._dialog,It),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new He({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new Hn({trapElement:this._element})}_showElement(e){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const a=k.findOne(rs,this._dialog);a&&(a.scrollTop=0),J(this._element),this._element.classList.add(ts);const p=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,x.trigger(this._element,Ue,{relatedTarget:e})};this._queueCallback(p,this._dialog,this._isAnimated())}_addEventListeners(){x.on(this._element,Zo,e=>{if(e.key===Xi){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),x.on(window,Qi,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),x.on(this._element,Ji,e=>{x.one(this._element,Jo,a=>{if(!(this._element!==e.target||this._element!==a.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(Zi),this._resetAdjustments(),this._scrollBar.reset(),x.trigger(this._element,Gn)})}_isAnimated(){return this._element.classList.contains(ea)}_triggerBackdropTransition(){if(x.trigger(this._element,Qo).defaultPrevented)return;const a=this._element.scrollHeight>document.documentElement.clientHeight,p=this._element.style.overflowY;p==="hidden"||this._element.classList.contains(Kn)||(a||(this._element.style.overflowY="hidden"),this._element.classList.add(Kn),this._queueCallback(()=>{this._element.classList.remove(Kn),this._queueCallback(()=>{this._element.style.overflowY=p},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const e=this._element.scrollHeight>document.documentElement.clientHeight,a=this._scrollBar.getWidth(),p=a>0;if(p&&!e){const O=et()?"paddingLeft":"paddingRight";this._element.style[O]=`${a}px`}if(!p&&e){const O=et()?"paddingRight":"paddingLeft";this._element.style[O]=`${a}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(e,a){return this.each(function(){const p=ee.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof p[e]>"u")throw new TypeError(`No method named "${e}"`);p[e](a)}})}}x.on(document,ta,Yn,function(h){const e=k.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&h.preventDefault(),x.one(e,cr,O=>{O.defaultPrevented||x.one(e,Gn,()=>{Z(this)&&this.focus()})});const a=k.findOne(ra);a&&ee.getInstance(a).hide(),ee.getOrCreateInstance(e).toggle(this)}),Xt(ee),Y(ee);const is="offcanvas",re=".bs.offcanvas",lr=".data-api",qr=`load${re}${lr}`,Xn="Escape",ss="show",Xr="showing",Qr="hiding",Qn="offcanvas-backdrop",xe=".offcanvas.show",ia=`show${re}`,os=`shown${re}`,Jn=`hide${re}`,as=`hidePrevented${re}`,ur=`hidden${re}`,Zn=`resize${re}`,cs=`click${re}${lr}`,Ce=`keydown.dismiss${re}`,ti='[data-bs-toggle="offcanvas"]',ei={backdrop:!0,keyboard:!0,scroll:!1},sa={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class kt extends Et{constructor(e,a){super(e,a),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return ei}static get DefaultType(){return sa}static get NAME(){return is}toggle(e){return this._isShown?this.hide():this.show(e)}show(e){if(this._isShown||x.trigger(this._element,ia,{relatedTarget:e}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new Un().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Xr);const p=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(ss),this._element.classList.remove(Xr),x.trigger(this._element,os,{relatedTarget:e})};this._queueCallback(p,this._element,!0)}hide(){if(!this._isShown||x.trigger(this._element,Jn).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(Qr),this._backdrop.hide();const a=()=>{this._element.classList.remove(ss,Qr),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new Un().reset(),x.trigger(this._element,ur)};this._queueCallback(a,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const e=()=>{if(this._config.backdrop==="static"){x.trigger(this._element,as);return}this.hide()},a=!!this._config.backdrop;return new He({className:Qn,isVisible:a,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:a?e:null})}_initializeFocusTrap(){return new Hn({trapElement:this._element})}_addEventListeners(){x.on(this._element,Ce,e=>{if(e.key===Xn){if(this._config.keyboard){this.hide();return}x.trigger(this._element,as)}})}static jQueryInterface(e){return this.each(function(){const a=kt.getOrCreateInstance(this,e);if(typeof e=="string"){if(a[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);a[e](this)}})}}x.on(document,cs,ti,function(h){const e=k.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&h.preventDefault(),N(this))return;x.one(e,ur,()=>{Z(this)&&this.focus()});const a=k.findOne(xe);a&&a!==e&&kt.getInstance(a).hide(),kt.getOrCreateInstance(e).toggle(this)}),x.on(window,qr,()=>{for(const h of k.find(xe))kt.getOrCreateInstance(h).show()}),x.on(window,Zn,()=>{for(const h of k.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(h).position!=="fixed"&&kt.getOrCreateInstance(h).hide()}),Xt(kt),Y(kt);const ri={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],dd:[],div:[],dl:[],dt:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},ni=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),oa=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,aa=(h,e)=>{const a=h.nodeName.toLowerCase();return e.includes(a)?ni.has(a)?!!oa.test(h.nodeValue):!0:e.filter(p=>p instanceof RegExp).some(p=>p.test(a))};function ca(h,e,a){if(!h.length)return h;if(a&&typeof a=="function")return a(h);const O=new window.DOMParser().parseFromString(h,"text/html"),L=[].concat(...O.body.querySelectorAll("*"));for(const I of L){const X=I.nodeName.toLowerCase();if(!Object.keys(e).includes(X)){I.remove();continue}const At=[].concat(...I.attributes),Nt=[].concat(e["*"]||[],e[X]||[]);for(const ht of At)aa(ht,Nt)||I.removeAttribute(ht.nodeName)}return O.body.innerHTML}const la="TemplateFactory",ua={allowList:ri,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"
"},fa={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},Jr={entry:"(string|element|function|null)",selector:"(string|element)"};class da extends Vt{constructor(e){super(),this._config=this._getConfig(e)}static get Default(){return ua}static get DefaultType(){return fa}static get NAME(){return la}getContent(){return Object.values(this._config.content).map(e=>this._resolvePossibleFunction(e)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(e){return this._checkContent(e),this._config.content={...this._config.content,...e},this}toHtml(){const e=document.createElement("div");e.innerHTML=this._maybeSanitize(this._config.template);for(const[O,L]of Object.entries(this._config.content))this._setContent(e,L,O);const a=e.children[0],p=this._resolvePossibleFunction(this._config.extraClass);return p&&a.classList.add(...p.split(" ")),a}_typeCheckConfig(e){super._typeCheckConfig(e),this._checkContent(e.content)}_checkContent(e){for(const[a,p]of Object.entries(e))super._typeCheckConfig({selector:a,entry:p},Jr)}_setContent(e,a,p){const O=k.findOne(p,e);if(O){if(a=this._resolvePossibleFunction(a),!a){O.remove();return}if(z(a)){this._putElementInTemplate(F(a),O);return}if(this._config.html){O.innerHTML=this._maybeSanitize(a);return}O.textContent=a}}_maybeSanitize(e){return this._config.sanitize?ca(e,this._config.allowList,this._config.sanitizeFn):e}_resolvePossibleFunction(e){return st(e,[this])}_putElementInTemplate(e,a){if(this._config.html){a.innerHTML="",a.append(e);return}a.textContent=e.textContent}}const ha="tooltip",ls=new Set(["sanitize","allowList","sanitizeFn"]),fr="fade",dr="modal",hr="show",pr=".tooltip-inner",ii=`.${dr}`,us="hide.bs.modal",Ge="hover",si="focus",fs="click",pa="manual",va="hide",vr="hidden",ds="show",ga="shown",hs="inserted",ma="click",ps="focusin",vs="focusout",_a="mouseenter",gs="mouseleave",ba={AUTO:"auto",TOP:"top",RIGHT:et()?"left":"right",BOTTOM:"bottom",LEFT:et()?"right":"left"},Ea={allowList:ri,animation:!0,boundary:"clippingParents",container:!1,customClass:"",delay:0,fallbackPlacements:["top","right","bottom","left"],html:!1,offset:[0,6],placement:"top",popperConfig:null,sanitize:!0,sanitizeFn:null,selector:!1,template:'',title:"",trigger:"hover focus"},oi={allowList:"object",animation:"boolean",boundary:"(string|element)",container:"(string|element|boolean)",customClass:"(string|function)",delay:"(number|object)",fallbackPlacements:"array",html:"boolean",offset:"(array|string|function)",placement:"(string|function)",popperConfig:"(null|object|function)",sanitize:"boolean",sanitizeFn:"(null|function)",selector:"(string|boolean)",template:"string",title:"(string|element|function)",trigger:"string"};class Ie extends Et{constructor(e,a){if(typeof u>"u")throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");super(e,a),this._isEnabled=!0,this._timeout=0,this._isHovered=null,this._activeTrigger={},this._popper=null,this._templateFactory=null,this._newContent=null,this.tip=null,this._setListeners(),this._config.selector||this._fixTitle()}static get Default(){return Ea}static get DefaultType(){return oi}static get NAME(){return ha}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),x.off(this._element.closest(ii),us,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const e=x.trigger(this._element,this.constructor.eventName(ds)),p=(tt(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(e.defaultPrevented||!p)return;this._disposePopper();const O=this._getTipElement();this._element.setAttribute("aria-describedby",O.getAttribute("id"));const{container:L}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(L.append(O),x.trigger(this._element,this.constructor.eventName(hs))),this._popper=this._createPopper(O),O.classList.add(hr),"ontouchstart"in document.documentElement)for(const X of[].concat(...document.body.children))x.on(X,"mouseover",j);const I=()=>{x.trigger(this._element,this.constructor.eventName(ga)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(I,this.tip,this._isAnimated())}hide(){if(!this._isShown()||x.trigger(this._element,this.constructor.eventName(va)).defaultPrevented)return;if(this._getTipElement().classList.remove(hr),"ontouchstart"in document.documentElement)for(const O of[].concat(...document.body.children))x.off(O,"mouseover",j);this._activeTrigger[fs]=!1,this._activeTrigger[si]=!1,this._activeTrigger[Ge]=!1,this._isHovered=null;const p=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),x.trigger(this._element,this.constructor.eventName(vr)))};this._queueCallback(p,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(e){const a=this._getTemplateFactory(e).toHtml();if(!a)return null;a.classList.remove(fr,hr),a.classList.add(`bs-${this.constructor.NAME}-auto`);const p=$(this.constructor.NAME).toString();return a.setAttribute("id",p),this._isAnimated()&&a.classList.add(fr),a}setContent(e){this._newContent=e,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(e){return this._templateFactory?this._templateFactory.changeContent(e):this._templateFactory=new da({...this._config,content:e,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[pr]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(e){return this.constructor.getOrCreateInstance(e.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(fr)}_isShown(){return this.tip&&this.tip.classList.contains(hr)}_createPopper(e){const a=st(this._config.placement,[this,e,this._element]),p=ba[a.toUpperCase()];return u.createPopper(this._element,e,this._getPopperConfig(p))}_getOffset(){const{offset:e}=this._config;return typeof e=="string"?e.split(",").map(a=>Number.parseInt(a,10)):typeof e=="function"?a=>e(a,this._element):e}_resolvePossibleFunction(e){return st(e,[this._element])}_getPopperConfig(e){const a={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:`.${this.constructor.NAME}-arrow`}},{name:"preSetPlacement",enabled:!0,phase:"beforeMain",fn:p=>{this._getTipElement().setAttribute("data-popper-placement",p.state.placement)}}]};return{...a,...st(this._config.popperConfig,[a])}}_setListeners(){const e=this._config.trigger.split(" ");for(const a of e)if(a==="click")x.on(this._element,this.constructor.eventName(ma),this._config.selector,p=>{this._initializeOnDelegatedTarget(p).toggle()});else if(a!==pa){const p=a===Ge?this.constructor.eventName(_a):this.constructor.eventName(ps),O=a===Ge?this.constructor.eventName(gs):this.constructor.eventName(vs);x.on(this._element,p,this._config.selector,L=>{const I=this._initializeOnDelegatedTarget(L);I._activeTrigger[L.type==="focusin"?si:Ge]=!0,I._enter()}),x.on(this._element,O,this._config.selector,L=>{const I=this._initializeOnDelegatedTarget(L);I._activeTrigger[L.type==="focusout"?si:Ge]=I._element.contains(L.relatedTarget),I._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},x.on(this._element.closest(ii),us,this._hideModalHandler)}_fixTitle(){const e=this._element.getAttribute("title");e&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",e),this._element.setAttribute("data-bs-original-title",e),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(e,a){clearTimeout(this._timeout),this._timeout=setTimeout(e,a)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(e){const a=it.getDataAttributes(this._element);for(const p of Object.keys(a))ls.has(p)&&delete a[p];return e={...a,...typeof e=="object"&&e?e:{}},e=this._mergeConfigObj(e),e=this._configAfterMerge(e),this._typeCheckConfig(e),e}_configAfterMerge(e){return e.container=e.container===!1?document.body:F(e.container),typeof e.delay=="number"&&(e.delay={show:e.delay,hide:e.delay}),typeof e.title=="number"&&(e.title=e.title.toString()),typeof e.content=="number"&&(e.content=e.content.toString()),e}_getDelegateConfig(){const e={};for(const[a,p]of Object.entries(this._config))this.constructor.Default[a]!==p&&(e[a]=p);return e.selector=!1,e.trigger="manual",e}_disposePopper(){this._popper&&(this._popper.destroy(),this._popper=null),this.tip&&(this.tip.remove(),this.tip=null)}static jQueryInterface(e){return this.each(function(){const a=Ie.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof a[e]>"u")throw new TypeError(`No method named "${e}"`);a[e]()}})}}Y(Ie);const ya="popover",Sa=".popover-header",Aa=".popover-body",ms={...Ie.Default,content:"",offset:[0,8],placement:"right",template:'',trigger:"click"},_s={...Ie.DefaultType,content:"(null|string|element|function)"};class Zr extends Ie{static get Default(){return ms}static get DefaultType(){return _s}static get NAME(){return ya}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[Sa]:this._getTitle(),[Aa]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(e){return this.each(function(){const a=Zr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof a[e]>"u")throw new TypeError(`No method named "${e}"`);a[e]()}})}}Y(Zr);const wa="scrollspy",tn=".bs.scrollspy",en=".data-api",Ta=`activate${tn}`,he=`click${tn}`,Oa=`load${tn}${en}`,Ne="dropdown-item",Ke="active",xa='[data-bs-spy="scroll"]',ai="[href]",Ca=".nav, .list-group",ci=".nav-link",bs=`${ci}, .nav-item > ${ci}, .list-group-item`,Ia=".dropdown",rn=".dropdown-toggle",Es={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},ys={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class gr extends Et{constructor(e,a){super(e,a),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return Es}static get DefaultType(){return ys}static get NAME(){return wa}refresh(){this._initializeTargetsAndObservables(),this._maybeEnableSmoothScroll(),this._observer?this._observer.disconnect():this._observer=this._getNewObserver();for(const e of this._observableSections.values())this._observer.observe(e)}dispose(){this._observer.disconnect(),super.dispose()}_configAfterMerge(e){return e.target=F(e.target)||document.body,e.rootMargin=e.offset?`${e.offset}px 0px -30%`:e.rootMargin,typeof e.threshold=="string"&&(e.threshold=e.threshold.split(",").map(a=>Number.parseFloat(a))),e}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(x.off(this._config.target,he),x.on(this._config.target,he,ai,e=>{const a=this._observableSections.get(e.target.hash);if(a){e.preventDefault();const p=this._rootElement||window,O=a.offsetTop-this._element.offsetTop;if(p.scrollTo){p.scrollTo({top:O,behavior:"smooth"});return}p.scrollTop=O}}))}_getNewObserver(){const e={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(a=>this._observerCallback(a),e)}_observerCallback(e){const a=I=>this._targetLinks.get(`#${I.target.id}`),p=I=>{this._previousScrollData.visibleEntryTop=I.target.offsetTop,this._process(a(I))},O=(this._rootElement||document.documentElement).scrollTop,L=O>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=O;for(const I of e){if(!I.isIntersecting){this._activeTarget=null,this._clearActiveClass(a(I));continue}const X=I.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(L&&X){if(p(I),!O)return;continue}!L&&!X&&p(I)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const e=k.find(ai,this._config.target);for(const a of e){if(!a.hash||N(a))continue;const p=k.findOne(decodeURI(a.hash),this._element);Z(p)&&(this._targetLinks.set(decodeURI(a.hash),a),this._observableSections.set(a.hash,p))}}_process(e){this._activeTarget!==e&&(this._clearActiveClass(this._config.target),this._activeTarget=e,e.classList.add(Ke),this._activateParents(e),x.trigger(this._element,Ta,{relatedTarget:e}))}_activateParents(e){if(e.classList.contains(Ne)){k.findOne(rn,e.closest(Ia)).classList.add(Ke);return}for(const a of k.parents(e,Ca))for(const p of k.prev(a,bs))p.classList.add(Ke)}_clearActiveClass(e){e.classList.remove(Ke);const a=k.find(`${ai}.${Ke}`,e);for(const p of a)p.classList.remove(Ke)}static jQueryInterface(e){return this.each(function(){const a=gr.getOrCreateInstance(this,e);if(typeof e=="string"){if(a[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);a[e]()}})}}x.on(window,Oa,()=>{for(const h of k.find(xa))gr.getOrCreateInstance(h)}),Y(gr);const Ss="tab",pe=".bs.tab",La=`hide${pe}`,As=`hidden${pe}`,$a=`show${pe}`,Da=`shown${pe}`,Ra=`click${pe}`,nn=`keydown${pe}`,Pa=`load${pe}`,ka="ArrowLeft",ws="ArrowRight",Ma="ArrowUp",Ts="ArrowDown",li="Home",mr="End",ve="active",sn="fade",on="show",an="dropdown",Os=".dropdown-toggle",_r=".dropdown-menu",cn=`:not(${Os})`,ja='.list-group, .nav, [role="tablist"]',br=".nav-item, .list-group-item",xs=`.nav-link${cn}, .list-group-item${cn}, [role="tab"]${cn}`,Er='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',ln=`${xs}, ${Er}`,Cs=`.${ve}[data-bs-toggle="tab"], .${ve}[data-bs-toggle="pill"], .${ve}[data-bs-toggle="list"]`;class ne extends Et{constructor(e){super(e),this._parent=this._element.closest(ja),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),x.on(this._element,nn,a=>this._keydown(a)))}static get NAME(){return Ss}show(){const e=this._element;if(this._elemIsActive(e))return;const a=this._getActiveElem(),p=a?x.trigger(a,La,{relatedTarget:e}):null;x.trigger(e,$a,{relatedTarget:a}).defaultPrevented||p&&p.defaultPrevented||(this._deactivate(a,e),this._activate(e,a))}_activate(e,a){if(!e)return;e.classList.add(ve),this._activate(k.getElementFromSelector(e));const p=()=>{if(e.getAttribute("role")!=="tab"){e.classList.add(on);return}e.removeAttribute("tabindex"),e.setAttribute("aria-selected",!0),this._toggleDropDown(e,!0),x.trigger(e,Da,{relatedTarget:a})};this._queueCallback(p,e,e.classList.contains(sn))}_deactivate(e,a){if(!e)return;e.classList.remove(ve),e.blur(),this._deactivate(k.getElementFromSelector(e));const p=()=>{if(e.getAttribute("role")!=="tab"){e.classList.remove(on);return}e.setAttribute("aria-selected",!1),e.setAttribute("tabindex","-1"),this._toggleDropDown(e,!1),x.trigger(e,As,{relatedTarget:a})};this._queueCallback(p,e,e.classList.contains(sn))}_keydown(e){if(![ka,ws,Ma,Ts,li,mr].includes(e.key))return;e.stopPropagation(),e.preventDefault();const a=this._getChildren().filter(O=>!N(O));let p;if([li,mr].includes(e.key))p=a[e.key===li?0:a.length-1];else{const O=[ws,Ts].includes(e.key);p=q(a,e.target,O,!0)}p&&(p.focus({preventScroll:!0}),ne.getOrCreateInstance(p).show())}_getChildren(){return k.find(ln,this._parent)}_getActiveElem(){return this._getChildren().find(e=>this._elemIsActive(e))||null}_setInitialAttributes(e,a){this._setAttributeIfNotExists(e,"role","tablist");for(const p of a)this._setInitialAttributesOnChild(p)}_setInitialAttributesOnChild(e){e=this._getInnerElement(e);const a=this._elemIsActive(e),p=this._getOuterElement(e);e.setAttribute("aria-selected",a),p!==e&&this._setAttributeIfNotExists(p,"role","presentation"),a||e.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(e,"role","tab"),this._setInitialAttributesOnTargetPanel(e)}_setInitialAttributesOnTargetPanel(e){const a=k.getElementFromSelector(e);a&&(this._setAttributeIfNotExists(a,"role","tabpanel"),e.id&&this._setAttributeIfNotExists(a,"aria-labelledby",`${e.id}`))}_toggleDropDown(e,a){const p=this._getOuterElement(e);if(!p.classList.contains(an))return;const O=(L,I)=>{const X=k.findOne(L,p);X&&X.classList.toggle(I,a)};O(Os,ve),O(_r,on),p.setAttribute("aria-expanded",a)}_setAttributeIfNotExists(e,a,p){e.hasAttribute(a)||e.setAttribute(a,p)}_elemIsActive(e){return e.classList.contains(ve)}_getInnerElement(e){return e.matches(ln)?e:k.findOne(ln,e)}_getOuterElement(e){return e.closest(br)||e}static jQueryInterface(e){return this.each(function(){const a=ne.getOrCreateInstance(this);if(typeof e=="string"){if(a[e]===void 0||e.startsWith("_")||e==="constructor")throw new TypeError(`No method named "${e}"`);a[e]()}})}}x.on(document,Ra,Er,function(h){["A","AREA"].includes(this.tagName)&&h.preventDefault(),!N(this)&&ne.getOrCreateInstance(this).show()}),x.on(window,Pa,()=>{for(const h of k.find(Cs))ne.getOrCreateInstance(h)}),Y(ne);const Is="toast",ie=".bs.toast",ui=`mouseover${ie}`,Ls=`mouseout${ie}`,$s=`focusin${ie}`,Fa=`focusout${ie}`,Wa=`hide${ie}`,Ba=`hidden${ie}`,za=`show${ie}`,Va=`shown${ie}`,Ha="fade",Ds="hide",un="show",fn="showing",Ua={animation:"boolean",autohide:"boolean",delay:"number"},Ga={animation:!0,autohide:!0,delay:5e3};class yr extends Et{constructor(e,a){super(e,a),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Ga}static get DefaultType(){return Ua}static get NAME(){return Is}show(){if(x.trigger(this._element,za).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Ha);const a=()=>{this._element.classList.remove(fn),x.trigger(this._element,Va),this._maybeScheduleHide()};this._element.classList.remove(Ds),J(this._element),this._element.classList.add(un,fn),this._queueCallback(a,this._element,this._config.animation)}hide(){if(!this.isShown()||x.trigger(this._element,Wa).defaultPrevented)return;const a=()=>{this._element.classList.add(Ds),this._element.classList.remove(fn,un),x.trigger(this._element,Ba)};this._element.classList.add(fn),this._queueCallback(a,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(un),super.dispose()}isShown(){return this._element.classList.contains(un)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(e,a){switch(e.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=a;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=a;break}}if(a){this._clearTimeout();return}const p=e.relatedTarget;this._element===p||this._element.contains(p)||this._maybeScheduleHide()}_setListeners(){x.on(this._element,ui,e=>this._onInteraction(e,!0)),x.on(this._element,Ls,e=>this._onInteraction(e,!1)),x.on(this._element,$s,e=>this._onInteraction(e,!0)),x.on(this._element,Fa,e=>this._onInteraction(e,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(e){return this.each(function(){const a=yr.getOrCreateInstance(this,e);if(typeof e=="string"){if(typeof a[e]>"u")throw new TypeError(`No method named "${e}"`);a[e](this)}})}}return Xt(yr),Y(yr),{Alert:tr,Button:er,Carousel:te,Collapse:We,Dropdown:yt,Modal:ee,Offcanvas:kt,Popover:Zr,ScrollSpy:gr,Tab:ne,Toast:yr,Tooltip:Ie}})})(hu);var rp=hu.exports;const mn=dh(rp);/** -* (c) Iconify -* -* For the full copyright and license information, please view the license.txt -* files at https://github.com/iconify/iconify -* -* Licensed under MIT. -* -* @license MIT -* @version 2.1.0 -*/const ju=Object.freeze({left:0,top:0,width:16,height:16}),Qs=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Ai=Object.freeze({...ju,...Qs}),Ec=Object.freeze({...Ai,body:"",hidden:!1}),np=Object.freeze({width:null,height:null}),Fu=Object.freeze({...np,...Qs});function ip(r,i=0){const s=r.replace(/^-?[0-9.]*/,"");function f(u){for(;u<0;)u+=4;return u%4}if(s===""){const u=parseInt(r);return isNaN(u)?0:f(u)}else if(s!==r){let u=0;switch(s){case"%":u=25;break;case"deg":u=90}if(u){let d=parseFloat(r.slice(0,r.length-s.length));return isNaN(d)?0:(d=d/u,d%1===0?f(d):0)}}return i}const sp=/[\s,]+/;function op(r,i){i.split(sp).forEach(s=>{switch(s.trim()){case"horizontal":r.hFlip=!0;break;case"vertical":r.vFlip=!0;break}})}const Wu={...Fu,preserveAspectRatio:""};function ql(r){const i={...Wu},s=(f,u)=>r.getAttribute(f)||u;return i.width=s("width",null),i.height=s("height",null),i.rotate=ip(s("rotate","")),op(i,s("flip","")),i.preserveAspectRatio=s("preserveAspectRatio",s("preserveaspectratio","")),i}function ap(r,i){for(const s in Wu)if(r[s]!==i[s])return!0;return!1}const mi=/^[a-z0-9]+(-[a-z0-9]+)*$/,wi=(r,i,s,f="")=>{const u=r.split(":");if(r.slice(0,1)==="@"){if(u.length<2||u.length>3)return null;f=u.shift().slice(1)}if(u.length>3||!u.length)return null;if(u.length>1){const _=u.pop(),v=u.pop(),A={provider:u.length>0?u[0]:f,prefix:v,name:_};return i&&!Ys(A)?null:A}const d=u[0],m=d.split("-");if(m.length>1){const _={provider:f,prefix:m.shift(),name:m.join("-")};return i&&!Ys(_)?null:_}if(s&&f===""){const _={provider:f,prefix:"",name:d};return i&&!Ys(_,s)?null:_}return null},Ys=(r,i)=>r?!!((r.provider===""||r.provider.match(mi))&&(i&&r.prefix===""||r.prefix.match(mi))&&r.name.match(mi)):!1;function cp(r,i){const s={};!r.hFlip!=!i.hFlip&&(s.hFlip=!0),!r.vFlip!=!i.vFlip&&(s.vFlip=!0);const f=((r.rotate||0)+(i.rotate||0))%4;return f&&(s.rotate=f),s}function Xl(r,i){const s=cp(r,i);for(const f in Ec)f in Qs?f in r&&!(f in s)&&(s[f]=Qs[f]):f in i?s[f]=i[f]:f in r&&(s[f]=r[f]);return s}function lp(r,i){const s=r.icons,f=r.aliases||Object.create(null),u=Object.create(null);function d(m){if(s[m])return u[m]=[];if(!(m in u)){u[m]=null;const _=f[m]&&f[m].parent,v=_&&d(_);v&&(u[m]=[_].concat(v))}return u[m]}return Object.keys(s).concat(Object.keys(f)).forEach(d),u}function up(r,i,s){const f=r.icons,u=r.aliases||Object.create(null);let d={};function m(_){d=Xl(f[_]||u[_],d)}return m(i),s.forEach(m),Xl(r,d)}function Bu(r,i){const s=[];if(typeof r!="object"||typeof r.icons!="object")return s;r.not_found instanceof Array&&r.not_found.forEach(u=>{i(u,null),s.push(u)});const f=lp(r);for(const u in f){const d=f[u];d&&(i(u,up(r,u,d)),s.push(u))}return s}const fp={provider:"",aliases:{},not_found:{},...ju};function pc(r,i){for(const s in i)if(s in r&&typeof r[s]!=typeof i[s])return!1;return!0}function zu(r){if(typeof r!="object"||r===null)return null;const i=r;if(typeof i.prefix!="string"||!r.icons||typeof r.icons!="object"||!pc(r,fp))return null;const s=i.icons;for(const u in s){const d=s[u];if(!u.match(mi)||typeof d.body!="string"||!pc(d,Ec))return null}const f=i.aliases||Object.create(null);for(const u in f){const d=f[u],m=d.parent;if(!u.match(mi)||typeof m!="string"||!s[m]&&!f[m]||!pc(d,Ec))return null}return i}const Js=Object.create(null);function dp(r,i){return{provider:r,prefix:i,icons:Object.create(null),missing:new Set}}function Qe(r,i){const s=Js[r]||(Js[r]=Object.create(null));return s[i]||(s[i]=dp(r,i))}function Bc(r,i){return zu(i)?Bu(i,(s,f)=>{f?r.icons[s]=f:r.missing.add(s)}):[]}function hp(r,i,s){try{if(typeof s.body=="string")return r.icons[i]={...s},!0}catch{}return!1}function pp(r,i){let s=[];return(typeof r=="string"?[r]:Object.keys(Js)).forEach(u=>{(typeof u=="string"&&typeof i=="string"?[i]:Object.keys(Js[u]||{})).forEach(m=>{const _=Qe(u,m);s=s.concat(Object.keys(_.icons).map(v=>(u!==""?"@"+u+":":"")+m+":"+v))})}),s}let bi=!1;function Vu(r){return typeof r=="boolean"&&(bi=r),bi}function Ei(r){const i=typeof r=="string"?wi(r,!0,bi):r;if(i){const s=Qe(i.provider,i.prefix),f=i.name;return s.icons[f]||(s.missing.has(f)?null:void 0)}}function Hu(r,i){const s=wi(r,!0,bi);if(!s)return!1;const f=Qe(s.provider,s.prefix);return hp(f,s.name,i)}function Ql(r,i){if(typeof r!="object")return!1;if(typeof i!="string"&&(i=r.provider||""),bi&&!i&&!r.prefix){let u=!1;return zu(r)&&(r.prefix="",Bu(r,(d,m)=>{m&&Hu(d,m)&&(u=!0)})),u}const s=r.prefix;if(!Ys({provider:i,prefix:s,name:"a"}))return!1;const f=Qe(i,s);return!!Bc(f,r)}function Jl(r){return!!Ei(r)}function vp(r){const i=Ei(r);return i?{...Ai,...i}:null}function gp(r){const i={loaded:[],missing:[],pending:[]},s=Object.create(null);r.sort((u,d)=>u.provider!==d.provider?u.provider.localeCompare(d.provider):u.prefix!==d.prefix?u.prefix.localeCompare(d.prefix):u.name.localeCompare(d.name));let f={provider:"",prefix:"",name:""};return r.forEach(u=>{if(f.name===u.name&&f.prefix===u.prefix&&f.provider===u.provider)return;f=u;const d=u.provider,m=u.prefix,_=u.name,v=s[d]||(s[d]=Object.create(null)),A=v[m]||(v[m]=Qe(d,m));let S;_ in A.icons?S=i.loaded:m===""||A.missing.has(_)?S=i.missing:S=i.pending;const R={provider:d,prefix:m,name:_};S.push(R)}),i}function Uu(r,i){r.forEach(s=>{const f=s.loaderCallbacks;f&&(s.loaderCallbacks=f.filter(u=>u.id!==i))})}function mp(r){r.pendingCallbacksFlag||(r.pendingCallbacksFlag=!0,setTimeout(()=>{r.pendingCallbacksFlag=!1;const i=r.loaderCallbacks?r.loaderCallbacks.slice(0):[];if(!i.length)return;let s=!1;const f=r.provider,u=r.prefix;i.forEach(d=>{const m=d.icons,_=m.pending.length;m.pending=m.pending.filter(v=>{if(v.prefix!==u)return!0;const A=v.name;if(r.icons[A])m.loaded.push({provider:f,prefix:u,name:A});else if(r.missing.has(A))m.missing.push({provider:f,prefix:u,name:A});else return s=!0,!0;return!1}),m.pending.length!==_&&(s||Uu([r],d.id),d.callback(m.loaded.slice(0),m.missing.slice(0),m.pending.slice(0),d.abort))})}))}let _p=0;function bp(r,i,s){const f=_p++,u=Uu.bind(null,s,f);if(!i.pending.length)return u;const d={id:f,icons:i,callback:r,abort:u};return s.forEach(m=>{(m.loaderCallbacks||(m.loaderCallbacks=[])).push(d)}),u}const yc=Object.create(null);function Zl(r,i){yc[r]=i}function Sc(r){return yc[r]||yc[""]}function Ep(r,i=!0,s=!1){const f=[];return r.forEach(u=>{const d=typeof u=="string"?wi(u,i,s):u;d&&f.push(d)}),f}var yp={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Sp(r,i,s,f){const u=r.resources.length,d=r.random?Math.floor(Math.random()*u):r.index;let m;if(r.random){let P=r.resources.slice(0);for(m=[];P.length>1;){const Q=Math.floor(Math.random()*P.length);m.push(P[Q]),P=P.slice(0,Q).concat(P.slice(Q+1))}m=m.concat(P)}else m=r.resources.slice(d).concat(r.resources.slice(0,d));const _=Date.now();let v="pending",A=0,S,R=null,$=[],M=[];typeof f=="function"&&M.push(f);function K(){R&&(clearTimeout(R),R=null)}function z(){v==="pending"&&(v="aborted"),K(),$.forEach(P=>{P.status==="pending"&&(P.status="aborted")}),$=[]}function F(P,Q){Q&&(M=[]),typeof P=="function"&&M.push(P)}function Z(){return{startTime:_,payload:i,status:v,queriesSent:A,queriesPending:$.length,subscribe:F,abort:z}}function N(){v="failed",M.forEach(P=>{P(void 0,S)})}function tt(){$.forEach(P=>{P.status==="pending"&&(P.status="aborted")}),$=[]}function j(P,Q,H){const et=Q!=="success";switch($=$.filter(Y=>Y!==P),v){case"pending":break;case"failed":if(et||!r.dataAfterTimeout)return;break;default:return}if(Q==="abort"){S=H,N();return}if(et){S=H,$.length||(m.length?J():N());return}if(K(),tt(),!r.random){const Y=r.resources.indexOf(P.resource);Y!==-1&&Y!==r.index&&(r.index=Y)}v="completed",M.forEach(Y=>{Y(H)})}function J(){if(v!=="pending")return;K();const P=m.shift();if(P===void 0){if($.length){R=setTimeout(()=>{K(),v==="pending"&&(tt(),N())},r.timeout);return}N();return}const Q={status:"pending",resource:P,callback:(H,et)=>{j(Q,H,et)}};$.push(Q),A++,R=setTimeout(J,r.rotate),s(P,i,Q.callback)}return setTimeout(J),Z}function Gu(r){const i={...yp,...r};let s=[];function f(){s=s.filter(_=>_().status==="pending")}function u(_,v,A){const S=Sp(i,_,v,(R,$)=>{f(),A&&A(R,$)});return s.push(S),S}function d(_){return s.find(v=>_(v))||null}return{query:u,find:d,setIndex:_=>{i.index=_},getIndex:()=>i.index,cleanup:f}}function zc(r){let i;if(typeof r.resources=="string")i=[r.resources];else if(i=r.resources,!(i instanceof Array)||!i.length)return null;return{resources:i,path:r.path||"/",maxURL:r.maxURL||500,rotate:r.rotate||750,timeout:r.timeout||5e3,random:r.random===!0,index:r.index||0,dataAfterTimeout:r.dataAfterTimeout!==!1}}const no=Object.create(null),pi=["https://api.simplesvg.com","https://api.unisvg.com"],qs=[];for(;pi.length>0;)pi.length===1||Math.random()>.5?qs.push(pi.shift()):qs.push(pi.pop());no[""]=zc({resources:["https://api.iconify.design"].concat(qs)});function tu(r,i){const s=zc(i);return s===null?!1:(no[r]=s,!0)}function io(r){return no[r]}function Ap(){return Object.keys(no)}function eu(){}const vc=Object.create(null);function wp(r){if(!vc[r]){const i=io(r);if(!i)return;const s=Gu(i),f={config:i,redundancy:s};vc[r]=f}return vc[r]}function Ku(r,i,s){let f,u;if(typeof r=="string"){const d=Sc(r);if(!d)return s(void 0,424),eu;u=d.send;const m=wp(r);m&&(f=m.redundancy)}else{const d=zc(r);if(d){f=Gu(d);const m=r.resources?r.resources[0]:"",_=Sc(m);_&&(u=_.send)}}return!f||!u?(s(void 0,424),eu):f.query(i,u,s)().abort}const ru="iconify2",yi="iconify",Yu=yi+"-count",nu=yi+"-version",qu=36e5,Tp=168,Op=50;function Ac(r,i){try{return r.getItem(i)}catch{}}function Vc(r,i,s){try{return r.setItem(i,s),!0}catch{}}function iu(r,i){try{r.removeItem(i)}catch{}}function wc(r,i){return Vc(r,Yu,i.toString())}function Tc(r){return parseInt(Ac(r,Yu))||0}const xr={local:!0,session:!0},Xu={local:new Set,session:new Set};let Hc=!1;function xp(r){Hc=r}let Us=typeof window>"u"?{}:window;function Qu(r){const i=r+"Storage";try{if(Us&&Us[i]&&typeof Us[i].length=="number")return Us[i]}catch{}xr[r]=!1}function Ju(r,i){const s=Qu(r);if(!s)return;const f=Ac(s,nu);if(f!==ru){if(f){const _=Tc(s);for(let v=0;v<_;v++)iu(s,yi+v.toString())}Vc(s,nu,ru),wc(s,0);return}const u=Math.floor(Date.now()/qu)-Tp,d=_=>{const v=yi+_.toString(),A=Ac(s,v);if(typeof A=="string"){try{const S=JSON.parse(A);if(typeof S=="object"&&typeof S.cached=="number"&&S.cached>u&&typeof S.provider=="string"&&typeof S.data=="object"&&typeof S.data.prefix=="string"&&i(S,_))return!0}catch{}iu(s,v)}};let m=Tc(s);for(let _=m-1;_>=0;_--)d(_)||(_===m-1?(m--,wc(s,m)):Xu[r].add(_))}function Zu(){if(!Hc){xp(!0);for(const r in xr)Ju(r,i=>{const s=i.data,f=i.provider,u=s.prefix,d=Qe(f,u);if(!Bc(d,s).length)return!1;const m=s.lastModified||-1;return d.lastModifiedCached=d.lastModifiedCached?Math.min(d.lastModifiedCached,m):m,!0})}}function Cp(r,i){const s=r.lastModifiedCached;if(s&&s>=i)return s===i;if(r.lastModifiedCached=i,s)for(const f in xr)Ju(f,u=>{const d=u.data;return u.provider!==r.provider||d.prefix!==r.prefix||d.lastModified===i});return!0}function Ip(r,i){Hc||Zu();function s(f){let u;if(!xr[f]||!(u=Qu(f)))return;const d=Xu[f];let m;if(d.size)d.delete(m=Array.from(d).shift());else if(m=Tc(u),m>=Op||!wc(u,m+1))return;const _={cached:Math.floor(Date.now()/qu),provider:r.provider,data:i};return Vc(u,yi+m.toString(),JSON.stringify(_))}i.lastModified&&!Cp(r,i.lastModified)||Object.keys(i.icons).length&&(i.not_found&&(i=Object.assign({},i),delete i.not_found),s("local")||s("session"))}function su(){}function Np(r){r.iconsLoaderFlag||(r.iconsLoaderFlag=!0,setTimeout(()=>{r.iconsLoaderFlag=!1,mp(r)}))}function Lp(r,i){r.iconsToLoad?r.iconsToLoad=r.iconsToLoad.concat(i).sort():r.iconsToLoad=i,r.iconsQueueFlag||(r.iconsQueueFlag=!0,setTimeout(()=>{r.iconsQueueFlag=!1;const{provider:s,prefix:f}=r,u=r.iconsToLoad;delete r.iconsToLoad;let d;if(!u||!(d=Sc(s)))return;d.prepare(s,f,u).forEach(_=>{Ku(s,_,v=>{if(typeof v!="object")_.icons.forEach(A=>{r.missing.add(A)});else try{const A=Bc(r,v);if(!A.length)return;const S=r.pendingIcons;S&&A.forEach(R=>{S.delete(R)}),Ip(r,v)}catch(A){console.error(A)}Np(r)})})}))}const Uc=(r,i)=>{const s=Ep(r,!0,Vu()),f=gp(s);if(!f.pending.length){let v=!0;return i&&setTimeout(()=>{v&&i(f.loaded,f.missing,f.pending,su)}),()=>{v=!1}}const u=Object.create(null),d=[];let m,_;return f.pending.forEach(v=>{const{provider:A,prefix:S}=v;if(S===_&&A===m)return;m=A,_=S,d.push(Qe(A,S));const R=u[A]||(u[A]=Object.create(null));R[S]||(R[S]=[])}),f.pending.forEach(v=>{const{provider:A,prefix:S,name:R}=v,$=Qe(A,S),M=$.pendingIcons||($.pendingIcons=new Set);M.has(R)||(M.add(R),u[A][S].push(R))}),d.forEach(v=>{const{provider:A,prefix:S}=v;u[A][S].length&&Lp(v,u[A][S])}),i?bp(i,f,d):su},$p=r=>new Promise((i,s)=>{const f=typeof r=="string"?wi(r,!0):r;if(!f){s(r);return}Uc([f||r],u=>{if(u.length&&f){const d=Ei(f);if(d){i({...Ai,...d});return}}s(r)})});function Dp(r){try{const i=typeof r=="string"?JSON.parse(r):r;if(typeof i.body=="string")return{...i}}catch{}}function Rp(r,i){const s=typeof r=="string"?wi(r,!0,!0):null;if(!s){const d=Dp(r);return{value:r,data:d}}const f=Ei(s);if(f!==void 0||!s.prefix)return{value:r,name:s,data:f};const u=Uc([s],()=>i(r,s,Ei(s)));return{value:r,name:s,loading:u}}let tf=!1;try{tf=navigator.vendor.indexOf("Apple")===0}catch{}function Pp(r,i){switch(i){case"svg":case"bg":case"mask":return i}return i!=="style"&&(tf||r.indexOf("=0;){const u=r.indexOf(">",f),d=r.indexOf("",d);if(m===-1)break;s+=r.slice(u+1,d).trim(),r=r.slice(0,f).trim()+r.slice(m+1)}return{defs:s,content:r}}function Fp(r,i){return r?""+r+""+i:i}function Wp(r,i,s){const f=jp(r);return Fp(f.defs,i+f.content+s)}const Bp=r=>r==="unset"||r==="undefined"||r==="none";function ef(r,i){const s={...Ai,...r},f={...Fu,...i},u={left:s.left,top:s.top,width:s.width,height:s.height};let d=s.body;[s,f].forEach(z=>{const F=[],Z=z.hFlip,N=z.vFlip;let tt=z.rotate;Z?N?tt+=2:(F.push("translate("+(u.width+u.left).toString()+" "+(0-u.top).toString()+")"),F.push("scale(-1 1)"),u.top=u.left=0):N&&(F.push("translate("+(0-u.left).toString()+" "+(u.height+u.top).toString()+")"),F.push("scale(1 -1)"),u.top=u.left=0);let j;switch(tt<0&&(tt-=Math.floor(tt/4)*4),tt=tt%4,tt){case 1:j=u.height/2+u.top,F.unshift("rotate(90 "+j.toString()+" "+j.toString()+")");break;case 2:F.unshift("rotate(180 "+(u.width/2+u.left).toString()+" "+(u.height/2+u.top).toString()+")");break;case 3:j=u.width/2+u.left,F.unshift("rotate(-90 "+j.toString()+" "+j.toString()+")");break}tt%2===1&&(u.left!==u.top&&(j=u.left,u.left=u.top,u.top=j),u.width!==u.height&&(j=u.width,u.width=u.height,u.height=j)),F.length&&(d=Wp(d,'',""))});const m=f.width,_=f.height,v=u.width,A=u.height;let S,R;m===null?(R=_===null?"1em":_==="auto"?A:_,S=Oc(R,v/A)):(S=m==="auto"?v:m,R=_===null?Oc(S,A/v):_==="auto"?A:_);const $={},M=(z,F)=>{Bp(F)||($[z]=F.toString())};M("width",S),M("height",R);const K=[u.left,u.top,v,A];return $.viewBox=K.join(" "),{attributes:$,viewBox:K,body:d}}function Gc(r,i){let s=r.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const f in i)s+=" "+f+'="'+i[f]+'"';return'"+r+""}function zp(r){return r.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(//g,"%3E").replace(/\s+/g," ")}function Vp(r){return"data:image/svg+xml,"+zp(r)}function rf(r){return'url("'+Vp(r)+'")'}const Hp=()=>{let r;try{if(r=fetch,typeof r=="function")return r}catch{}};let Zs=Hp();function Up(r){Zs=r}function Gp(){return Zs}function Kp(r,i){const s=io(r);if(!s)return 0;let f;if(!s.maxURL)f=0;else{let u=0;s.resources.forEach(m=>{u=Math.max(u,m.length)});const d=i+".json?icons=";f=s.maxURL-u-s.path.length-d.length}return f}function Yp(r){return r===404}const qp=(r,i,s)=>{const f=[],u=Kp(r,i),d="icons";let m={type:d,provider:r,prefix:i,icons:[]},_=0;return s.forEach((v,A)=>{_+=v.length+1,_>=u&&A>0&&(f.push(m),m={type:d,provider:r,prefix:i,icons:[]},_=v.length),m.icons.push(v)}),f.push(m),f};function Xp(r){if(typeof r=="string"){const i=io(r);if(i)return i.path}return"/"}const Qp=(r,i,s)=>{if(!Zs){s("abort",424);return}let f=Xp(i.provider);switch(i.type){case"icons":{const d=i.prefix,_=i.icons.join(","),v=new URLSearchParams({icons:_});f+=d+".json?"+v.toString();break}case"custom":{const d=i.uri;f+=d.slice(0,1)==="/"?d.slice(1):d;break}default:s("abort",400);return}let u=503;Zs(r+f).then(d=>{const m=d.status;if(m!==200){setTimeout(()=>{s(Yp(m)?"abort":"next",m)});return}return u=501,d.json()}).then(d=>{if(typeof d!="object"||d===null){setTimeout(()=>{d===404?s("abort",d):s("next",u)});return}setTimeout(()=>{s("success",d)})}).catch(()=>{s("next",u)})},Jp={prepare:qp,send:Qp};function ou(r,i){switch(r){case"local":case"session":xr[r]=i;break;case"all":for(const s in xr)xr[s]=i;break}}const gc="data-style";let nf="";function Zp(r){nf=r}function au(r,i){let s=Array.from(r.childNodes).find(f=>f.hasAttribute&&f.hasAttribute(gc));s||(s=document.createElement("style"),s.setAttribute(gc,gc),r.appendChild(s)),s.textContent=":host{display:inline-block;vertical-align:"+(i?"-0.125em":"0")+"}span,svg{display:block}"+nf}function sf(){Zl("",Jp),Vu(!0);let r;try{r=window}catch{}if(r){if(Zu(),r.IconifyPreload!==void 0){const s=r.IconifyPreload,f="Invalid IconifyPreload syntax.";typeof s=="object"&&s!==null&&(s instanceof Array?s:[s]).forEach(u=>{try{(typeof u!="object"||u===null||u instanceof Array||typeof u.icons!="object"||typeof u.prefix!="string"||!Ql(u))&&console.error(f)}catch{console.error(f)}})}if(r.IconifyProviders!==void 0){const s=r.IconifyProviders;if(typeof s=="object"&&s!==null)for(const f in s){const u="IconifyProviders["+f+"] is invalid.";try{const d=s[f];if(typeof d!="object"||!d||d.resources===void 0)continue;tu(f,d)||console.error(u)}catch{console.error(u)}}}}return{enableCache:s=>ou(s,!0),disableCache:s=>ou(s,!1),iconLoaded:Jl,iconExists:Jl,getIcon:vp,listIcons:pp,addIcon:Hu,addCollection:Ql,calculateSize:Oc,buildIcon:ef,iconToHTML:Gc,svgToURL:rf,loadIcons:Uc,loadIcon:$p,addAPIProvider:tu,appendCustomStyle:Zp,_api:{getAPIConfig:io,setAPIModule:Zl,sendAPIQuery:Ku,setFetch:Up,getFetch:Gp,listAPIProviders:Ap}}}const xc={"background-color":"currentColor"},of={"background-color":"transparent"},cu={image:"var(--svg)",repeat:"no-repeat",size:"100% 100%"},lu={"-webkit-mask":xc,mask:xc,background:of};for(const r in lu){const i=lu[r];for(const s in cu)i[r+"-"+s]=cu[s]}function uu(r){return r?r+(r.match(/^[-0-9.]+$/)?"px":""):"inherit"}function tv(r,i,s){const f=document.createElement("span");let u=r.body;u.indexOf("");const d=r.attributes,m=Gc(u,{...d,width:i.width+"",height:i.height+""}),_=rf(m),v=f.style,A={"--svg":_,width:uu(d.width),height:uu(d.height),...s?xc:of};for(const S in A)v.setProperty(S,A[S]);return f}let _i;function ev(){try{_i=window.trustedTypes.createPolicy("iconify",{createHTML:r=>r})}catch{_i=null}}function rv(r){return _i===void 0&&ev(),_i?_i.createHTML(r):r}function nv(r){const i=document.createElement("span"),s=r.attributes;let f="";s.width||(f="width: inherit;"),s.height||(f+="height: inherit;"),f&&(s.style=f);const u=Gc(r.body,s);return i.innerHTML=rv(u),i.firstChild}function Cc(r){return Array.from(r.childNodes).find(i=>{const s=i.tagName&&i.tagName.toUpperCase();return s==="SPAN"||s==="SVG"})}function fu(r,i){const s=i.icon.data,f=i.customisations,u=ef(s,f);f.preserveAspectRatio&&(u.attributes.preserveAspectRatio=f.preserveAspectRatio);const d=i.renderedMode;let m;switch(d){case"svg":m=nv(u);break;default:m=tv(u,{...Ai,...s},d==="mask")}const _=Cc(r);_?m.tagName==="SPAN"&&_.tagName===m.tagName?_.setAttribute("style",m.getAttribute("style")):r.replaceChild(m,_):r.appendChild(m)}function du(r,i,s){const f=s&&(s.rendered?s:s.lastRender);return{rendered:!1,inline:i,icon:r,lastRender:f}}function iv(r="iconify-icon"){let i,s;try{i=window.customElements,s=window.HTMLElement}catch{return}if(!i||!s)return;const f=i.get(r);if(f)return f;const u=["icon","mode","inline","noobserver","width","height","rotate","flip"],d=class extends s{constructor(){super();Xe(this,"_shadowRoot");Xe(this,"_initialised",!1);Xe(this,"_state");Xe(this,"_checkQueued",!1);Xe(this,"_connected",!1);Xe(this,"_observer",null);Xe(this,"_visible",!0);const v=this._shadowRoot=this.attachShadow({mode:"open"}),A=this.hasAttribute("inline");au(v,A),this._state=du({value:""},A),this._queueCheck()}connectedCallback(){this._connected=!0,this.startObserver()}disconnectedCallback(){this._connected=!1,this.stopObserver()}static get observedAttributes(){return u.slice(0)}attributeChangedCallback(v){switch(v){case"inline":{const A=this.hasAttribute("inline"),S=this._state;A!==S.inline&&(S.inline=A,au(this._shadowRoot,A));break}case"noobserver":{this.hasAttribute("noobserver")?this.startObserver():this.stopObserver();break}default:this._queueCheck()}}get icon(){const v=this.getAttribute("icon");if(v&&v.slice(0,1)==="{")try{return JSON.parse(v)}catch{}return v}set icon(v){typeof v=="object"&&(v=JSON.stringify(v)),this.setAttribute("icon",v)}get inline(){return this.hasAttribute("inline")}set inline(v){v?this.setAttribute("inline","true"):this.removeAttribute("inline")}get observer(){return this.hasAttribute("observer")}set observer(v){v?this.setAttribute("observer","true"):this.removeAttribute("observer")}restartAnimation(){const v=this._state;if(v.rendered){const A=this._shadowRoot;if(v.renderedMode==="svg")try{A.lastChild.setCurrentTime(0);return}catch{}fu(A,v)}}get status(){const v=this._state;return v.rendered?"rendered":v.icon.data===null?"failed":"loading"}_queueCheck(){this._checkQueued||(this._checkQueued=!0,setTimeout(()=>{this._check()}))}_check(){if(!this._checkQueued)return;this._checkQueued=!1;const v=this._state,A=this.getAttribute("icon");if(A!==v.icon.value){this._iconChanged(A);return}if(!v.rendered||!this._visible)return;const S=this.getAttribute("mode"),R=ql(this);(v.attrMode!==S||ap(v.customisations,R)||!Cc(this._shadowRoot))&&this._renderIcon(v.icon,R,S)}_iconChanged(v){const A=Rp(v,(S,R,$)=>{const M=this._state;if(M.rendered||this.getAttribute("icon")!==S)return;const K={value:S,name:R,data:$};K.data?this._gotIconData(K):M.icon=K});A.data?this._gotIconData(A):this._state=du(A,this._state.inline,this._state)}_forceRender(){if(!this._visible){const v=Cc(this._shadowRoot);v&&this._shadowRoot.removeChild(v);return}this._queueCheck()}_gotIconData(v){this._checkQueued=!1,this._renderIcon(v,ql(this),this.getAttribute("mode"))}_renderIcon(v,A,S){const R=Pp(v.data.body,S),$=this._state.inline;fu(this._shadowRoot,this._state={rendered:!0,icon:v,inline:$,customisations:A,attrMode:S,renderedMode:R})}startObserver(){if(!this._observer&&!this.hasAttribute("noobserver"))try{this._observer=new IntersectionObserver(v=>{const A=v.some(S=>S.isIntersecting);A!==this._visible&&(this._visible=A,this._forceRender())}),this._observer.observe(this)}catch{if(this._observer){try{this._observer.disconnect()}catch{}this._observer=null}}}stopObserver(){this._observer&&(this._observer.disconnect(),this._observer=null,this._visible=!0,this._connected&&this._forceRender())}};u.forEach(_=>{_ in d.prototype||Object.defineProperty(d.prototype,_,{get:function(){return this.getAttribute(_)},set:function(v){v!==null?this.setAttribute(_,v):this.removeAttribute(_)}})});const m=sf();for(const _ in m)d[_]=d.prototype[_]=m[_];return i.define(r,d),d}iv()||sf();var sv={exports:{}};(function(r,i){(function(s,f){r.exports=f()})(Gs,function(){var s=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Gs<"u"?Gs:typeof self<"u"?self:{};function f(t,n){return n={exports:{}},t(n,n.exports),n.exports}var u=function(t){return t&&t.Math==Math&&t},d=u(typeof globalThis=="object"&&globalThis)||u(typeof window=="object"&&window)||u(typeof self=="object"&&self)||u(typeof s=="object"&&s)||function(){return this}()||Function("return this")(),m=Object.defineProperty,_=function(t,n){try{m(d,t,{value:n,configurable:!0,writable:!0})}catch{d[t]=n}return n},v="__core-js_shared__",A=d[v]||_(v,{}),S=A,R=f(function(t){(t.exports=function(n,o){return S[n]||(S[n]=o!==void 0?o:{})})("versions",[]).push({version:"3.22.6",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.22.6/LICENSE",source:"https://github.com/zloirock/core-js"})}),$=function(t){try{return!!t()}catch{return!0}},M=!$(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),K=Function.prototype,z=K.bind,F=K.call,Z=M&&z.bind(F,F),N=M?function(t){return t&&Z(t)}:function(t){return t&&function(){return F.apply(t,arguments)}},tt=d.TypeError,j=function(t){if(t==null)throw tt("Can't call method on "+t);return t},J=d.Object,P=function(t){return J(j(t))},Q=N({}.hasOwnProperty),H=Object.hasOwn||function(n,o){return Q(P(n),o)},et=0,Y=Math.random(),st=N(1 .toString),mt=function(t){return"Symbol("+(t===void 0?"":t)+")_"+st(++et+Y,36)},q=function(t){return typeof t=="function"},qt=function(t){return q(t)?t:void 0},Tt=function(t,n){return arguments.length<2?qt(d[t]):d[t]&&d[t][n]},vt=Tt("navigator","userAgent")||"",_t=d.process,se=d.Deno,Rt=_t&&_t.versions||se&&se.version,Ee=Rt&&Rt.v8,bt,Pt;Ee&&(bt=Ee.split("."),Pt=bt[0]>0&&bt[0]<4?1:+(bt[0]+bt[1])),!Pt&&vt&&(bt=vt.match(/Edge\/(\d+)/),(!bt||bt[1]>=74)&&(bt=vt.match(/Chrome\/(\d+)/),bt&&(Pt=+bt[1])));var Bt=Pt,zt=!!Object.getOwnPropertySymbols&&!$(function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&Bt&&Bt<41}),Ot=zt&&!Symbol.sham&&typeof Symbol.iterator=="symbol",xt=R("wks"),Ct=d.Symbol,Dt=Ct&&Ct.for,Ze=Ot?Ct:Ct&&Ct.withoutSetter||mt,lt=function(t){if(!H(xt,t)||!(zt||typeof xt[t]=="string")){var n="Symbol."+t;zt&&H(Ct,t)?xt[t]=Ct[t]:Ot&&Dt?xt[t]=Dt(n):xt[t]=Ze(n)}return xt[t]},x=lt("toStringTag"),$e={};$e[x]="z";var ye=String($e)==="[object z]",ft=!$(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7}),it=function(t){return typeof t=="object"?t!==null:q(t)},Vt=d.document,Nr=it(Vt)&&it(Vt.createElement),Et=function(t){return Nr?Vt.createElement(t):{}},De=!ft&&!$(function(){return Object.defineProperty(Et("div"),"a",{get:function(){return 7}}).a!=7}),k=ft&&$(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!=42}),Xt=d.String,Lr=d.TypeError,dt=function(t){if(it(t))return t;throw Lr(Xt(t)+" is not an object")},Qt=Function.prototype.call,ct=M?Qt.bind(Qt):function(){return Qt.apply(Qt,arguments)},Se=N({}.isPrototypeOf),$r=d.Object,Re=Ot?function(t){return typeof t=="symbol"}:function(t){var n=Tt("Symbol");return q(n)&&Se(n.prototype,$r(t))},tr=d.String,wn=function(t){try{return tr(t)}catch{return"Object"}},Kc=d.TypeError,Dr=function(t){if(q(t))return t;throw Kc(wn(t)+" is not a function")},Pe=function(t,n){var o=t[n];return o==null?void 0:Dr(o)},so=d.TypeError,Ti=function(t,n){var o,c;if(q(o=t.toString)&&!it(c=ct(o,t))||q(o=t.valueOf)&&!it(c=ct(o,t)))return c;throw so("Can't convert object to primitive value")},oo=d.TypeError,er=lt("toPrimitive"),ao=function(t,n){if(!it(t)||Re(t))return t;var o=Pe(t,er),c;if(o){if(c=ct(o,t,n),!it(c)||Re(c))return c;throw oo("Can't convert object to primitive value")}return Ti(t)},Jt=function(t){var n=ao(t,"string");return Re(n)?n:n+""},co=d.TypeError,Tn=Object.defineProperty,lo=Object.getOwnPropertyDescriptor,On="enumerable",xn="configurable",Cn="writable",uo=ft?k?function(n,o,c){if(dt(n),o=Jt(o),dt(c),typeof n=="function"&&o==="prototype"&&"value"in c&&Cn in c&&!c[Cn]){var l=lo(n,o);l&&l[Cn]&&(n[o]=c.value,c={configurable:xn in c?c[xn]:l[xn],enumerable:On in c?c[On]:l[On],writable:!1})}return Tn(n,o,c)}:Tn:function(n,o,c){if(dt(n),o=Jt(o),dt(c),De)try{return Tn(n,o,c)}catch{}if("get"in c||"set"in c)throw co("Accessors not supported");return"value"in c&&(n[o]=c.value),n},Zt={f:uo},Rr=function(t,n){return{enumerable:!(t&1),configurable:!(t&2),writable:!(t&4),value:n}},oe=ft?function(t,n,o){return Zt.f(t,n,Rr(1,o))}:function(t,n,o){return t[n]=o,t},Oi=Function.prototype,Pr=ft&&Object.getOwnPropertyDescriptor,In=H(Oi,"name"),Yc=In&&(function(){}).name==="something",ae=In&&(!ft||ft&&Pr(Oi,"name").configurable),rr={EXISTS:In,PROPER:Yc,CONFIGURABLE:ae},fo=N(Function.toString);q(S.inspectSource)||(S.inspectSource=function(t){return fo(t)});var Nn=S.inspectSource,xi=d.WeakMap,ke=q(xi)&&/native code/.test(Nn(xi)),Ae=R("keys"),ce=function(t){return Ae[t]||(Ae[t]=mt(t))},we={},Ci="Object already initialized",nr=d.TypeError,ho=d.WeakMap,kr,ir,Mr,po=function(t){return Mr(t)?ir(t):kr(t,{})},vo=function(t){return function(n){var o;if(!it(n)||(o=ir(n)).type!==t)throw nr("Incompatible receiver, "+t+" required");return o}};if(ke||S.state){var le=S.state||(S.state=new ho),jr=N(le.get),Ii=N(le.has),go=N(le.set);kr=function(t,n){if(Ii(le,t))throw new nr(Ci);return n.facade=t,go(le,t,n),n},ir=function(t){return jr(le,t)||{}},Mr=function(t){return Ii(le,t)}}else{var Me=ce("state");we[Me]=!0,kr=function(t,n){if(H(t,Me))throw new nr(Ci);return n.facade=t,oe(t,Me,n),n},ir=function(t){return H(t,Me)?t[Me]:{}},Mr=function(t){return H(t,Me)}}var Ht={set:kr,get:ir,has:Mr,enforce:po,getterFor:vo},mo=f(function(t){var n=rr.CONFIGURABLE,o=Ht.enforce,c=Ht.get,l=Object.defineProperty,g=ft&&!$(function(){return l(function(){},"length",{value:8}).length!==8}),b=String(String).split("String"),y=t.exports=function(E,w,T){if(String(w).slice(0,7)==="Symbol("&&(w="["+String(w).replace(/^Symbol\(([^)]*)\)/,"$1")+"]"),T&&T.getter&&(w="get "+w),T&&T.setter&&(w="set "+w),(!H(E,"name")||n&&E.name!==w)&&l(E,"name",{value:w,configurable:!0}),g&&T&&H(T,"arity")&&E.length!==T.arity&&l(E,"length",{value:T.arity}),T&&H(T,"constructor")&&T.constructor){if(ft)try{l(E,"prototype",{writable:!1})}catch{}}else E.prototype=void 0;var C=o(E);return H(C,"source")||(C.source=b.join(typeof w=="string"?w:"")),E};Function.prototype.toString=y(function(){return q(this)&&c(this).source||Nn(this)},"toString")}),Ut=function(t,n,o,c){c||(c={});var l=c.enumerable,g=c.name!==void 0?c.name:n;return q(o)&&mo(o,g,c),c.global?l?t[n]=o:_(n,o):(c.unsafe?t[n]&&(l=!0):delete t[n],l?t[n]=o:oe(t,n,o)),t},Ni=N({}.toString),_o=N("".slice),Gt=function(t){return _o(Ni(t),8,-1)},bo=lt("toStringTag"),Eo=d.Object,yo=Gt(function(){return arguments}())=="Arguments",So=function(t,n){try{return t[n]}catch{}},Fr=ye?Gt:function(t){var n,o,c;return t===void 0?"Undefined":t===null?"Null":typeof(o=So(n=Eo(t),bo))=="string"?o:yo?Gt(n):(c=Gt(n))=="Object"&&q(n.callee)?"Arguments":c},Ao=ye?{}.toString:function(){return"[object "+Fr(this)+"]"};ye||Ut(Object.prototype,"toString",Ao,{unsafe:!0});var te={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0},Ln=Et("span").classList,wo=Ln&&Ln.constructor&&Ln.constructor.prototype,je=wo===Object.prototype?void 0:wo,To=N(N.bind),Li=function(t,n){return Dr(t),n===void 0?t:M?To(t,n):function(){return t.apply(n,arguments)}},$n=d.Object,Oo=N("".split),Wr=$(function(){return!$n("z").propertyIsEnumerable(0)})?function(t){return Gt(t)=="String"?Oo(t,""):$n(t)}:$n,xo=Math.ceil,Dn=Math.floor,Fe=Math.trunc||function(n){var o=+n;return(o>0?Dn:xo)(o)},Te=function(t){var n=+t;return n!==n||n===0?0:Fe(n)},Co=Math.min,Rn=function(t){return t>0?Co(Te(t),9007199254740991):0},sr=function(t){return Rn(t.length)},$i=Array.isArray||function(n){return Gt(n)=="Array"},Di=function(){},Io=[],Br=Tt("Reflect","construct"),Pn=/^\s*(?:class|function)\b/,No=N(Pn.exec),We=!Pn.exec(Di),Be=function(n){if(!q(n))return!1;try{return Br(Di,Io,n),!0}catch{return!1}},Lo=function(n){if(!q(n))return!1;switch(Fr(n)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return We||!!No(Pn,Nn(n))}catch{return!0}};Lo.sham=!0;var Oe=!Br||$(function(){var t;return Be(Be.call)||!Be(Object)||!Be(function(){t=!0})||t})?Lo:Be,kn=lt("species"),Ri=d.Array,Pi=function(t){var n;return $i(t)&&(n=t.constructor,Oe(n)&&(n===Ri||$i(n.prototype))?n=void 0:it(n)&&(n=n[kn],n===null&&(n=void 0))),n===void 0?Ri:n},$o=function(t,n){return new(Pi(t))(n===0?0:n)},Mn=N([].push),ue=function(t){var n=t==1,o=t==2,c=t==3,l=t==4,g=t==6,b=t==7,y=t==5||g;return function(E,w,T,C){for(var D=P(E),B=Wr(D),G=Li(w,T),rt=sr(B),V=0,W=C||$o,nt=n?W(E,rt):o||b?W(E,0):void 0,ot,at;rt>V;V++)if((y||V in B)&&(ot=B[V],at=G(ot,V,D),t))if(n)nt[V]=at;else if(at)switch(t){case 3:return!0;case 5:return ot;case 6:return V;case 2:Mn(nt,ot)}else switch(t){case 4:return!1;case 7:Mn(nt,ot)}return g?-1:c||l?l:nt}},zr={forEach:ue(0),map:ue(1),filter:ue(2),some:ue(3),every:ue(4),find:ue(5),findIndex:ue(6),filterReject:ue(7)},ki=function(t,n){var o=[][t];return!!o&&$(function(){o.call(null,n||function(){return 1},1)})},Do=zr.forEach,Ro=ki("forEach"),Vr=Ro?[].forEach:function(n){return Do(this,n,arguments.length>1?arguments[1]:void 0)},jn=function(t){if(t&&t.forEach!==Vr)try{oe(t,"forEach",Vr)}catch{t.forEach=Vr}};for(var Fn in te)te[Fn]&&jn(d[Fn]&&d[Fn].prototype);jn(je);var ze=!!(typeof window<"u"&&window.document&&window.document.createElement),Wn=ze,Mi={}.propertyIsEnumerable,ji=Object.getOwnPropertyDescriptor,Po=ji&&!Mi.call({1:2},1),ko=Po?function(n){var o=ji(this,n);return!!o&&o.enumerable}:Mi,fe={f:ko},Ve=function(t){return Wr(j(t))},or=Object.getOwnPropertyDescriptor,Mo=ft?or:function(n,o){if(n=Ve(n),o=Jt(o),De)try{return or(n,o)}catch{}if(H(n,o))return Rr(!ct(fe.f,n,o),n[o])},Fi={f:Mo},jo=Math.max,Fo=Math.min,Bn=function(t,n){var o=Te(t);return o<0?jo(o+n,0):Fo(o,n)},Wi=function(t){return function(n,o,c){var l=Ve(n),g=sr(l),b=Bn(c,g),y;if(t&&o!=o){for(;g>b;)if(y=l[b++],y!=y)return!0}else for(;g>b;b++)if((t||b in l)&&l[b]===o)return t||b||0;return!t&&-1}},Wo={includes:Wi(!0),indexOf:Wi(!1)},Bo=Wo.indexOf,Bi=N([].push),zi=function(t,n){var o=Ve(t),c=0,l=[],g;for(g in o)!H(we,g)&&H(o,g)&&Bi(l,g);for(;n.length>c;)H(o,g=n[c++])&&(~Bo(l,g)||Bi(l,g));return l},Hr=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],zo=Hr.concat("length","prototype"),Vo=Object.getOwnPropertyNames||function(n){return zi(n,zo)},yt={f:Vo},Vi=Object.getOwnPropertySymbols,Hi={f:Vi},Ui=N([].concat),Gi=Tt("Reflect","ownKeys")||function(n){var o=yt.f(dt(n)),c=Hi.f;return c?Ui(o,c(n)):o},Ho=function(t,n,o){for(var c=Gi(n),l=Zt.f,g=Fi.f,b=0;b>>0||(Xo(Xi,c)?16:10))}:Yr;de({global:!0,forced:parseInt!=Gn},{parseInt:Gn});var cr=Object.keys||function(n){return zi(n,Hr)},Ue=Object.assign,Qi=Object.defineProperty,Jo=N([].concat),Ji=!Ue||$(function(){if(ft&&Ue({b:1},Ue(Qi({},"a",{enumerable:!0,get:function(){Qi(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var t={},n={},o=Symbol(),c="abcdefghijklmnopqrst";return t[o]=7,c.split("").forEach(function(l){n[l]=l}),Ue({},t)[o]!=7||cr(Ue({},n)).join("")!=c})?function(n,o){for(var c=P(n),l=arguments.length,g=1,b=Hi.f,y=fe.f;l>g;)for(var E=Wr(arguments[g++]),w=b?Jo(cr(E),b(E)):cr(E),T=w.length,C=0,D;T>C;)D=w[C++],(!ft||ct(y,E,D))&&(c[D]=E[D]);return c}:Ue;de({target:"Object",stat:!0,arity:2,forced:Object.assign!==Ji},{assign:Ji});var Zo=lt("species"),ta=function(t){return Bt>=51||!$(function(){var n=[],o=n.constructor={};return o[Zo]=function(){return{foo:1}},n[t](Boolean).foo!==1})},Zi=zr.filter,ea=ta("filter");de({target:"Array",proto:!0,forced:!ea},{filter:function(n){return Zi(this,n,arguments.length>1?arguments[1]:void 0)}});var ts=ft&&!k?Object.defineProperties:function(n,o){dt(n);for(var c=Ve(o),l=cr(o),g=l.length,b=0,y;g>b;)Zt.f(n,y=l[b++],c[y]);return n},Kn={f:ts},ra=Tt("document","documentElement"),es=">",rs="<",Yn="prototype",qn="script",ns=ce("IE_PROTO"),ee=function(){},is=function(t){return rs+qn+es+t+rs+"/"+qn+es},na=function(t){t.write(is("")),t.close();var n=t.parentWindow.Object;return t=null,n},re=function(){var t=Et("iframe"),n="java"+qn+":",o;return t.style.display="none",ra.appendChild(t),t.src=String(n),o=t.contentWindow.document,o.open(),o.write(is("document.F=Object")),o.close(),o.F},lr,qr=function(){try{lr=new ActiveXObject("htmlfile")}catch{}qr=typeof document<"u"?document.domain&&lr?na(lr):re():na(lr);for(var t=Hr.length;t--;)delete qr[Yn][Hr[t]];return qr()};we[ns]=!0;var Xn=Object.create||function(n,o){var c;return n!==null?(ee[Yn]=dt(n),c=new ee,ee[Yn]=null,c[ns]=n):c=qr(),o===void 0?c:Kn.f(c,o)},ss=Zt.f,Xr=lt("unscopables"),Qr=Array.prototype;Qr[Xr]==null&&ss(Qr,Xr,{configurable:!0,value:Xn(null)});var Qn=function(t){Qr[Xr][t]=!0},xe={},ia=!$(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),os=ce("IE_PROTO"),Jn=d.Object,as=Jn.prototype,ur=ia?Jn.getPrototypeOf:function(t){var n=P(t);if(H(n,os))return n[os];var o=n.constructor;return q(o)&&n instanceof o?o.prototype:n instanceof Jn?as:null},Zn=lt("iterator"),cs=!1,Ce,ti,ei;[].keys&&(ei=[].keys(),"next"in ei?(ti=ur(ur(ei)),ti!==Object.prototype&&(Ce=ti)):cs=!0);var sa=Ce==null||$(function(){var t={};return Ce[Zn].call(t)!==t});sa&&(Ce={}),q(Ce[Zn])||Ut(Ce,Zn,function(){return this});var kt={IteratorPrototype:Ce,BUGGY_SAFARI_ITERATORS:cs},Xc=Zt.f,ri=lt("toStringTag"),ni=function(t,n,o){t&&!o&&(t=t.prototype),t&&!H(t,ri)&&Xc(t,ri,{configurable:!0,value:n})},oa=kt.IteratorPrototype,aa=function(){return this},ca=function(t,n,o,c){var l=n+" Iterator";return t.prototype=Xn(oa,{next:Rr(+!c,o)}),ni(t,l,!1),xe[l]=aa,t},la=d.String,ua=d.TypeError,fa=function(t){if(typeof t=="object"||q(t))return t;throw ua("Can't set "+la(t)+" as a prototype")},Jr=Object.setPrototypeOf||("__proto__"in{}?function(){var t=!1,n={},o;try{o=N(Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set),o(n,[]),t=n instanceof Array}catch{}return function(l,g){return dt(l),fa(g),t?o(l,g):l.__proto__=g,l}}():void 0),da=rr.PROPER,ha=rr.CONFIGURABLE,ls=kt.IteratorPrototype,fr=kt.BUGGY_SAFARI_ITERATORS,dr=lt("iterator"),hr="keys",pr="values",ii="entries",us=function(){return this},Ge=function(t,n,o,c,l,g,b){ca(o,n,c);var y=function(V){if(V===l&&D)return D;if(!fr&&V in T)return T[V];switch(V){case hr:return function(){return new o(this,V)};case pr:return function(){return new o(this,V)};case ii:return function(){return new o(this,V)}}return function(){return new o(this)}},E=n+" Iterator",w=!1,T=t.prototype,C=T[dr]||T["@@iterator"]||l&&T[l],D=!fr&&C||y(l),B=n=="Array"&&T.entries||C,G,rt;return B&&(G=ur(B.call(new t)),G!==Object.prototype&&G.next&&(ur(G)!==ls&&(Jr?Jr(G,ls):q(G[dr])||Ut(G,dr,us)),ni(G,E,!0))),da&&l==pr&&C&&C.name!==pr&&(ha?oe(T,"name",pr):(w=!0,D=function(){return ct(C,this)})),l&&(rt={values:y(pr),keys:y(hr),entries:y(ii)},de({target:n,proto:!0,forced:fr||w},rt)),T[dr]!==D&&Ut(T,dr,D,{name:l}),xe[n]=D,rt},si=Zt.f,fs="Array Iterator",pa=Ht.set,va=Ht.getterFor(fs),vr=Ge(Array,"Array",function(t,n){pa(this,{type:fs,target:Ve(t),index:0,kind:n})},function(){var t=va(this),n=t.target,o=t.kind,c=t.index++;return!n||c>=n.length?(t.target=void 0,{value:void 0,done:!0}):o=="keys"?{value:c,done:!1}:o=="values"?{value:n[c],done:!1}:{value:[c,n[c]],done:!1}},"values"),ds=xe.Arguments=xe.Array;if(Qn("keys"),Qn("values"),Qn("entries"),ft&&ds.name!=="values")try{si(ds,"name",{value:"values"})}catch{}var ga=N("".charAt),hs=N("".charCodeAt),ma=N("".slice),ps=function(t){return function(n,o){var c=St(j(n)),l=Te(o),g=c.length,b,y;return l<0||l>=g?t?"":void 0:(b=hs(c,l),b<55296||b>56319||l+1===g||(y=hs(c,l+1))<56320||y>57343?t?ga(c,l):b:t?ma(c,l,l+2):(b-55296<<10)+(y-56320)+65536)}},vs={codeAt:ps(!1),charAt:ps(!0)},_a=vs.charAt,gs="String Iterator",ba=Ht.set,Ea=Ht.getterFor(gs);Ge(String,"String",function(t){ba(this,{type:gs,string:St(t),index:0})},function(){var n=Ea(this),o=n.string,c=n.index,l;return c>=o.length?{value:void 0,done:!0}:(l=_a(o,c),n.index+=l.length,{value:l,done:!1})});var oi=function(t,n,o){for(var c in n)Ut(t,c,n[c],o);return t},Ie=function(t,n,o){var c=Jt(n);c in t?Zt.f(t,c,Rr(0,o)):t[c]=o},ya=d.Array,Sa=Math.max,Aa=function(t,n,o){for(var c=sr(t),l=Bn(n,c),g=Bn(c,c),b=ya(Sa(g-l,0)),y=0;lT;T++)if(D=V(t[T]),D&&Se(Es,D))return D;return new rn(!1)}E=Zc(t,w)}for(B=E.next;!(G=ct(B,E)).done;){try{D=V(G.value)}catch(W){bs(E,"throw",W)}if(typeof D=="object"&&D&&Se(Es,D))return D}return new rn(!1)},gr=d.TypeError,Ss=function(t,n){if(Se(n,t))return t;throw gr("Incorrect invocation")},Na=lt("iterator"),pe=!1;try{var La=0,As={next:function(){return{done:!!La++}},return:function(){pe=!0}};As[Na]=function(){return this},Array.from(As,function(){throw 2})}catch{}var $a=function(t,n){if(!pe)return!1;var o=!1;try{var c={};c[Na]=function(){return{next:function(){return{done:o=!0}}}},t(c)}catch{}return o},Da=function(t,n,o){var c,l;return Jr&&q(c=n.constructor)&&c!==o&&it(l=c.prototype)&&l!==o.prototype&&Jr(t,l),t},Ra=function(t,n,o){var c=t.indexOf("Map")!==-1,l=t.indexOf("Weak")!==-1,g=c?"set":"add",b=d[t],y=b&&b.prototype,E=b,w={},T=function(W){var nt=N(y[W]);Ut(y,W,W=="add"?function(at){return nt(this,at===0?0:at),this}:W=="delete"?function(ot){return l&&!it(ot)?!1:nt(this,ot===0?0:ot)}:W=="get"?function(at){return l&&!it(at)?void 0:nt(this,at===0?0:at)}:W=="has"?function(at){return l&&!it(at)?!1:nt(this,at===0?0:at)}:function(at,wt){return nt(this,at===0?0:at,wt),this})},C=zn(t,!q(b)||!(l||y.forEach&&!$(function(){new b().entries().next()})));if(C)E=o.getConstructor(n,t,c,g),Ne.enable();else if(zn(t,!0)){var D=new E,B=D[g](l?{}:-0,1)!=D,G=$(function(){D.has(1)}),rt=$a(function(W){new b(W)}),V=!l&&$(function(){for(var W=new b,nt=5;nt--;)W[g](nt,nt);return!W.has(-0)});rt||(E=n(function(W,nt){Ss(W,y);var ot=Da(new b,W,E);return nt!=null&&ys(nt,ot[g],{that:ot,AS_ENTRIES:c}),ot}),E.prototype=y,y.constructor=E),(G||V)&&(T("delete"),T("has"),c&&T("get")),(V||B)&&T(g),l&&y.clear&&delete y.clear}return w[t]=E,de({global:!0,constructor:!0,forced:E!=b},w),ni(E,t),l||o.setStrong(E,t,c),E},nn=Ne.getWeakData,Pa=Ht.set,ka=Ht.getterFor,ws=zr.find,Ma=zr.findIndex,Ts=N([].splice),li=0,mr=function(t){return t.frozen||(t.frozen=new ve)},ve=function(){this.entries=[]},sn=function(t,n){return ws(t.entries,function(o){return o[0]===n})};ve.prototype={get:function(t){var n=sn(this,t);if(n)return n[1]},has:function(t){return!!sn(this,t)},set:function(t,n){var o=sn(this,t);o?o[1]=n:this.entries.push([t,n])},delete:function(t){var n=Ma(this.entries,function(o){return o[0]===t});return~n&&Ts(this.entries,n,1),!!~n}};var on={getConstructor:function(t,n,o,c){var l=t(function(E,w){Ss(E,g),Pa(E,{type:n,id:li++,frozen:void 0}),w!=null&&ys(w,E[c],{that:E,AS_ENTRIES:o})}),g=l.prototype,b=ka(n),y=function(E,w,T){var C=b(E),D=nn(dt(w),!0);return D===!0?mr(C).set(w,T):D[C.id]=T,E};return oi(g,{delete:function(E){var w=b(this);if(!it(E))return!1;var T=nn(E);return T===!0?mr(w).delete(E):T&&H(T,w.id)&&delete T[w.id]},has:function(w){var T=b(this);if(!it(w))return!1;var C=nn(w);return C===!0?mr(T).has(w):C&&H(C,T.id)}}),oi(g,o?{get:function(w){var T=b(this);if(it(w)){var C=nn(w);return C===!0?mr(T).get(w):C?C[T.id]:void 0}},set:function(w,T){return y(this,w,T)}}:{add:function(w){return y(this,w,!0)}}),l}},an=Ht.enforce,Os=!d.ActiveXObject&&"ActiveXObject"in d,_r,cn=function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}},ja=Ra("WeakMap",cn,on);if(ke&&Os){_r=on.getConstructor(cn,"WeakMap",!0),Ne.enable();var br=ja.prototype,xs=N(br.delete),Er=N(br.has),ln=N(br.get),Cs=N(br.set);oi(br,{delete:function(t){if(it(t)&&!he(t)){var n=an(this);return n.frozen||(n.frozen=new _r),xs(this,t)||n.frozen.delete(t)}return xs(this,t)},has:function(n){if(it(n)&&!he(n)){var o=an(this);return o.frozen||(o.frozen=new _r),Er(this,n)||o.frozen.has(n)}return Er(this,n)},get:function(n){if(it(n)&&!he(n)){var o=an(this);return o.frozen||(o.frozen=new _r),Er(this,n)?ln(this,n):o.frozen.get(n)}return ln(this,n)},set:function(n,o){if(it(n)&&!he(n)){var c=an(this);c.frozen||(c.frozen=new _r),Er(this,n)?Cs(this,n,o):c.frozen.set(n,o)}else Cs(this,n,o);return this}})}var ne=lt("iterator"),Is=lt("toStringTag"),Ns=vr.values,ie=function(t,n){if(t){if(t[ne]!==Ns)try{oe(t,ne,Ns)}catch{t[ne]=Ns}if(t[Is]||oe(t,Is,n),te[n]){for(var o in vr)if(t[o]!==vr[o])try{oe(t,o,vr[o])}catch{t[o]=vr[o]}}}};for(var ui in te)ie(d[ui]&&d[ui].prototype,ui);ie(je,"DOMTokenList");var Ls="Expected a function",$s=NaN,Fa="[object Symbol]",Wa=/^\s+|\s+$/g,Ba=/^[-+]0x[0-9a-f]+$/i,za=/^0b[01]+$/i,Va=/^0o[0-7]+$/i,Ha=parseInt,Ds=typeof s=="object"&&s&&s.Object===Object&&s,un=typeof self=="object"&&self&&self.Object===Object&&self,fn=Ds||un||Function("return this")(),Ua=Object.prototype,Ga=Ua.toString,yr=Math.max,tl=Math.min,h=function(){return fn.Date.now()};function e(t,n,o){var c,l,g,b,y,E,w=0,T=!1,C=!1,D=!0;if(typeof t!="function")throw new TypeError(Ls);n=I(n)||0,p(o)&&(T=!!o.leading,C="maxWait"in o,g=C?yr(I(o.maxWait)||0,n):g,D="trailing"in o?!!o.trailing:D);function B(U){var ut=c,gt=l;return c=l=void 0,w=U,b=t.apply(gt,ut),b}function G(U){return w=U,y=setTimeout(W,n),T?B(U):b}function rt(U){var ut=U-E,gt=U-w,me=n-ut;return C?tl(me,g-gt):me}function V(U){var ut=U-E,gt=U-w;return E===void 0||ut>=n||ut<0||C&>>=g}function W(){var U=h();if(V(U))return nt(U);y=setTimeout(W,rt(U))}function nt(U){return y=void 0,D&&c?B(U):(c=l=void 0,b)}function ot(){y!==void 0&&clearTimeout(y),w=0,c=E=l=y=void 0}function at(){return y===void 0?b:nt(h())}function wt(){var U=h(),ut=V(U);if(c=arguments,l=this,E=U,ut){if(y===void 0)return G(E);if(C)return y=setTimeout(W,n),B(E)}return y===void 0&&(y=setTimeout(W,n)),b}return wt.cancel=ot,wt.flush=at,wt}function a(t,n,o){var c=!0,l=!0;if(typeof t!="function")throw new TypeError(Ls);return p(o)&&(c="leading"in o?!!o.leading:c,l="trailing"in o?!!o.trailing:l),e(t,n,{leading:c,maxWait:n,trailing:l})}function p(t){var n=typeof t;return!!t&&(n=="object"||n=="function")}function O(t){return!!t&&typeof t=="object"}function L(t){return typeof t=="symbol"||O(t)&&Ga.call(t)==Fa}function I(t){if(typeof t=="number")return t;if(L(t))return $s;if(p(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=p(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=t.replace(Wa,"");var o=za.test(t);return o||Va.test(t)?Ha(t.slice(2),o?2:8):Ba.test(t)?$s:+t}var X=a,At="Expected a function",Nt=NaN,ht="[object Symbol]",Kt=/^\s+|\s+$/g,Mt=/^[-+]0x[0-9a-f]+$/i,dn=/^0b[01]+$/i,Ka=/^0o[0-7]+$/i,Ye=parseInt,af=typeof s=="object"&&s&&s.Object===Object&&s,cf=typeof self=="object"&&self&&self.Object===Object&&self,lf=af||cf||Function("return this")(),uf=Object.prototype,ff=uf.toString,df=Math.max,hf=Math.min,Ya=function(){return lf.Date.now()};function pf(t,n,o){var c,l,g,b,y,E,w=0,T=!1,C=!1,D=!0;if(typeof t!="function")throw new TypeError(At);n=el(n)||0,qa(o)&&(T=!!o.leading,C="maxWait"in o,g=C?df(el(o.maxWait)||0,n):g,D="trailing"in o?!!o.trailing:D);function B(U){var ut=c,gt=l;return c=l=void 0,w=U,b=t.apply(gt,ut),b}function G(U){return w=U,y=setTimeout(W,n),T?B(U):b}function rt(U){var ut=U-E,gt=U-w,me=n-ut;return C?hf(me,g-gt):me}function V(U){var ut=U-E,gt=U-w;return E===void 0||ut>=n||ut<0||C&>>=g}function W(){var U=Ya();if(V(U))return nt(U);y=setTimeout(W,rt(U))}function nt(U){return y=void 0,D&&c?B(U):(c=l=void 0,b)}function ot(){y!==void 0&&clearTimeout(y),w=0,c=E=l=y=void 0}function at(){return y===void 0?b:nt(Ya())}function wt(){var U=Ya(),ut=V(U);if(c=arguments,l=this,E=U,ut){if(y===void 0)return G(E);if(C)return y=setTimeout(W,n),B(E)}return y===void 0&&(y=setTimeout(W,n)),b}return wt.cancel=ot,wt.flush=at,wt}function qa(t){var n=typeof t;return!!t&&(n=="object"||n=="function")}function vf(t){return!!t&&typeof t=="object"}function gf(t){return typeof t=="symbol"||vf(t)&&ff.call(t)==ht}function el(t){if(typeof t=="number")return t;if(gf(t))return Nt;if(qa(t)){var n=typeof t.valueOf=="function"?t.valueOf():t;t=qa(n)?n+"":n}if(typeof t!="string")return t===0?t:+t;t=t.replace(Kt,"");var o=dn.test(t);return o||Ka.test(t)?Ye(t.slice(2),o?2:8):Mt.test(t)?Nt:+t}var rl=pf,mf="Expected a function",nl="__lodash_hash_undefined__",_f="[object Function]",bf="[object GeneratorFunction]",Ef=/[\\^$.*+?()[\]{}|]/g,yf=/^\[object .+?Constructor\]$/,Sf=typeof s=="object"&&s&&s.Object===Object&&s,Af=typeof self=="object"&&self&&self.Object===Object&&self,il=Sf||Af||Function("return this")();function wf(t,n){return t==null?void 0:t[n]}function Tf(t){var n=!1;if(t!=null&&typeof t.toString!="function")try{n=!!(t+"")}catch{}return n}var Of=Array.prototype,xf=Function.prototype,sl=Object.prototype,Xa=il["__core-js_shared__"],ol=function(){var t=/[^.]+$/.exec(Xa&&Xa.keys&&Xa.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),al=xf.toString,Qa=sl.hasOwnProperty,Cf=sl.toString,If=RegExp("^"+al.call(Qa).replace(Ef,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Nf=Of.splice,Lf=cl(il,"Map"),fi=cl(Object,"create");function Sr(t){var n=-1,o=t?t.length:0;for(this.clear();++n-1}function Bf(t,n){var o=this.__data__,c=Rs(o,t);return c<0?o.push([t,n]):o[c][1]=n,this}hn.prototype.clear=Mf,hn.prototype.delete=jf,hn.prototype.get=Ff,hn.prototype.has=Wf,hn.prototype.set=Bf;function Ar(t){var n=-1,o=t?t.length:0;for(this.clear();++n0})},ed=function(){return wr.some(function(t){return t.skippedTargets.length>0})},ul="ResizeObserver loop completed with undelivered notifications.",rd=function(){var t;typeof ErrorEvent=="function"?t=new ErrorEvent("error",{message:ul}):(t=document.createEvent("Event"),t.initEvent("error",!1,!1),t.message=ul),window.dispatchEvent(t)},di;(function(t){t.BORDER_BOX="border-box",t.CONTENT_BOX="content-box",t.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"})(di||(di={}));var Tr=function(t){return Object.freeze(t)},nd=function(){function t(n,o){this.inlineSize=n,this.blockSize=o,Tr(this)}return t}(),fl=function(){function t(n,o,c,l){return this.x=n,this.y=o,this.width=c,this.height=l,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,Tr(this)}return t.prototype.toJSON=function(){var n=this,o=n.x,c=n.y,l=n.top,g=n.right,b=n.bottom,y=n.left,E=n.width,w=n.height;return{x:o,y:c,top:l,right:g,bottom:b,left:y,width:E,height:w}},t.fromRect=function(n){return new t(n.x,n.y,n.width,n.height)},t}(),Za=function(t){return t instanceof SVGElement&&"getBBox"in t},dl=function(t){if(Za(t)){var n=t.getBBox(),o=n.width,c=n.height;return!o&&!c}var l=t,g=l.offsetWidth,b=l.offsetHeight;return!(g||b||t.getClientRects().length)},hl=function(t){var n,o;if(t instanceof Element)return!0;var c=(o=(n=t)===null||n===void 0?void 0:n.ownerDocument)===null||o===void 0?void 0:o.defaultView;return!!(c&&t instanceof c.Element)},id=function(t){switch(t.tagName){case"INPUT":if(t.type!=="image")break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},hi=typeof window<"u"?window:{},ks=new WeakMap,pl=/auto|scroll/,sd=/^tb|vertical/,od=/msie|trident/i.test(hi.navigator&&hi.navigator.userAgent),ge=function(t){return parseFloat(t||"0")},pn=function(t,n,o){return t===void 0&&(t=0),n===void 0&&(n=0),o===void 0&&(o=!1),new nd((o?n:t)||0,(o?t:n)||0)},vl=Tr({devicePixelContentBoxSize:pn(),borderBoxSize:pn(),contentBoxSize:pn(),contentRect:new fl(0,0,0,0)}),gl=function(t,n){if(n===void 0&&(n=!1),ks.has(t)&&!n)return ks.get(t);if(dl(t))return ks.set(t,vl),vl;var o=getComputedStyle(t),c=Za(t)&&t.ownerSVGElement&&t.getBBox(),l=!od&&o.boxSizing==="border-box",g=sd.test(o.writingMode||""),b=!c&&pl.test(o.overflowY||""),y=!c&&pl.test(o.overflowX||""),E=c?0:ge(o.paddingTop),w=c?0:ge(o.paddingRight),T=c?0:ge(o.paddingBottom),C=c?0:ge(o.paddingLeft),D=c?0:ge(o.borderTopWidth),B=c?0:ge(o.borderRightWidth),G=c?0:ge(o.borderBottomWidth),rt=c?0:ge(o.borderLeftWidth),V=C+w,W=E+T,nt=rt+B,ot=D+G,at=y?t.offsetHeight-ot-t.clientHeight:0,wt=b?t.offsetWidth-nt-t.clientWidth:0,U=l?V+nt:0,ut=l?W+ot:0,gt=c?c.width:ge(o.width)-U-wt,me=c?c.height:ge(o.height)-ut-at,ah=gt+V+wt+nt,ch=me+W+at+ot,Wl=Tr({devicePixelContentBoxSize:pn(Math.round(gt*devicePixelRatio),Math.round(me*devicePixelRatio),g),borderBoxSize:pn(ah,ch,g),contentBoxSize:pn(gt,me,g),contentRect:new fl(C,E,gt,me)});return ks.set(t,Wl),Wl},ml=function(t,n,o){var c=gl(t,o),l=c.borderBoxSize,g=c.contentBoxSize,b=c.devicePixelContentBoxSize;switch(n){case di.DEVICE_PIXEL_CONTENT_BOX:return b;case di.BORDER_BOX:return l;default:return g}},ad=function(){function t(n){var o=gl(n);this.target=n,this.contentRect=o.contentRect,this.borderBoxSize=Tr([o.borderBoxSize]),this.contentBoxSize=Tr([o.contentBoxSize]),this.devicePixelContentBoxSize=Tr([o.devicePixelContentBoxSize])}return t}(),_l=function(t){if(dl(t))return 1/0;for(var n=0,o=t.parentNode;o;)n+=1,o=o.parentNode;return n},cd=function(){var t=1/0,n=[];wr.forEach(function(b){if(b.activeTargets.length!==0){var y=[];b.activeTargets.forEach(function(w){var T=new ad(w.target),C=_l(w.target);y.push(T),w.lastReportedSize=ml(w.target,w.observedBox),Ct?o.activeTargets.push(l):o.skippedTargets.push(l))})})},ld=function(){var t=0;for(bl(t);td();)t=cd(),bl(t);return ed()&&rd(),t>0},tc,El=[],ud=function(){return El.splice(0).forEach(function(t){return t()})},fd=function(t){if(!tc){var n=0,o=document.createTextNode(""),c={characterData:!0};new MutationObserver(function(){return ud()}).observe(o,c),tc=function(){o.textContent=""+(n?n--:n++)}}El.push(t),tc()},dd=function(t){fd(function(){requestAnimationFrame(t)})},Ms=0,hd=function(){return!!Ms},pd=250,vd={attributes:!0,characterData:!0,childList:!0,subtree:!0},yl=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],Sl=function(t){return t===void 0&&(t=0),Date.now()+t},ec=!1,gd=function(){function t(){var n=this;this.stopped=!0,this.listener=function(){return n.schedule()}}return t.prototype.run=function(n){var o=this;if(n===void 0&&(n=pd),!ec){ec=!0;var c=Sl(n);dd(function(){var l=!1;try{l=ld()}finally{if(ec=!1,n=c-Sl(),!hd())return;l?o.run(1e3):n>0?o.run(n):o.start()}})}},t.prototype.schedule=function(){this.stop(),this.run()},t.prototype.observe=function(){var n=this,o=function(){return n.observer&&n.observer.observe(document.body,vd)};document.body?o():hi.addEventListener("DOMContentLoaded",o)},t.prototype.start=function(){var n=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),yl.forEach(function(o){return hi.addEventListener(o,n.listener,!0)}))},t.prototype.stop=function(){var n=this;this.stopped||(this.observer&&this.observer.disconnect(),yl.forEach(function(o){return hi.removeEventListener(o,n.listener,!0)}),this.stopped=!0)},t}(),rc=new gd,Al=function(t){!Ms&&t>0&&rc.start(),Ms+=t,!Ms&&rc.stop()},md=function(t){return!Za(t)&&!id(t)&&getComputedStyle(t).display==="inline"},_d=function(){function t(n,o){this.target=n,this.observedBox=o||di.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return t.prototype.isActive=function(){var n=ml(this.target,this.observedBox,!0);return md(this.target)&&(this.lastReportedSize=n),this.lastReportedSize.inlineSize!==n.inlineSize||this.lastReportedSize.blockSize!==n.blockSize},t}(),bd=function(){function t(n,o){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=n,this.callback=o}return t}(),js=new WeakMap,wl=function(t,n){for(var o=0;o=0&&(g&&wr.splice(wr.indexOf(c),1),c.observationTargets.splice(l,1),Al(-1))},t.disconnect=function(n){var o=this,c=js.get(n);c.observationTargets.slice().forEach(function(l){return o.unobserve(n,l.target)}),c.activeTargets.splice(0,c.activeTargets.length)},t}(),Ed=function(){function t(n){if(arguments.length===0)throw new TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if(typeof n!="function")throw new TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");Fs.connect(this,n)}return t.prototype.observe=function(n,o){if(arguments.length===0)throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!hl(n))throw new TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");Fs.observe(this,n,o)},t.prototype.unobserve=function(n){if(arguments.length===0)throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!hl(n))throw new TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");Fs.unobserve(this,n)},t.prototype.disconnect=function(){Fs.disconnect(this)},t.toString=function(){return"function ResizeObserver () { [polyfill code] }"},t}(),yd=d.TypeError,Tl=function(t){return function(n,o,c,l){Dr(o);var g=P(n),b=Wr(g),y=sr(g),E=t?y-1:0,w=t?-1:1;if(c<2)for(;;){if(E in b){l=b[E],E+=w;break}if(E+=w,t?E<0:y<=E)throw yd("Reduce of empty array with no initial value")}for(;t?E>=0:y>E;E+=w)E in b&&(l=o(l,b[E],E,g));return l}},Sd={left:Tl(!1),right:Tl(!0)},Ad=Gt(d.process)=="process",wd=Sd.left,Td=ki("reduce"),Od=!Ad&&Bt>79&&Bt<83;de({target:"Array",proto:!0,forced:!Td||Od},{reduce:function(n){var o=arguments.length;return wd(this,n,o,o>1?arguments[1]:void 0)}});var xd=function(){var t=dt(this),n="";return t.hasIndices&&(n+="d"),t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.dotAll&&(n+="s"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n},nc=d.RegExp,ic=$(function(){var t=nc("a","y");return t.lastIndex=2,t.exec("abcd")!=null}),Cd=ic||$(function(){return!nc("a","y").sticky}),Id=ic||$(function(){var t=nc("^r","gy");return t.lastIndex=2,t.exec("str")!=null}),Nd={BROKEN_CARET:Id,MISSED_STICKY:Cd,UNSUPPORTED_Y:ic},Ld=d.RegExp,$d=$(function(){var t=Ld(".","s");return!(t.dotAll&&t.exec(` -`)&&t.flags==="s")}),Dd=d.RegExp,Rd=$(function(){var t=Dd("(?b)","g");return t.exec("b").groups.a!=="b"||"b".replace(t,"$c")!=="bc"}),Pd=Ht.get,kd=R("native-string-replace",String.prototype.replace),Ws=RegExp.prototype.exec,sc=Ws,Md=N("".charAt),jd=N("".indexOf),Fd=N("".replace),oc=N("".slice),ac=function(){var t=/a/,n=/b*/g;return ct(Ws,t,"a"),ct(Ws,n,"a"),t.lastIndex!==0||n.lastIndex!==0}(),Ol=Nd.BROKEN_CARET,cc=/()??/.exec("")[1]!==void 0,Wd=ac||cc||Ol||$d||Rd;Wd&&(sc=function(n){var o=this,c=Pd(o),l=St(n),g=c.raw,b,y,E,w,T,C,D;if(g)return g.lastIndex=o.lastIndex,b=ct(sc,g,l),o.lastIndex=g.lastIndex,b;var B=c.groups,G=Ol&&o.sticky,rt=ct(xd,o),V=o.source,W=0,nt=l;if(G&&(rt=Fd(rt,"y",""),jd(rt,"g")===-1&&(rt+="g"),nt=oc(l,o.lastIndex),o.lastIndex>0&&(!o.multiline||o.multiline&&Md(l,o.lastIndex-1)!==` -`)&&(V="(?: "+V+")",nt=" "+nt,W++),y=new RegExp("^(?:"+V+")",rt)),cc&&(y=new RegExp("^"+V+"$(?!\\s)",rt)),ac&&(E=o.lastIndex),w=ct(Ws,G?y:o,nt),G?w?(w.input=oc(w.input,W),w[0]=oc(w[0],W),w.index=o.lastIndex,o.lastIndex+=w[0].length):o.lastIndex=0:ac&&w&&(o.lastIndex=o.global?w.index+w[0].length:E),cc&&w&&w.length>1&&ct(kd,w[0],y,function(){for(T=1;T]*>)/g,Zd=/\$([$&'`]|\d{1,2})/g,th=function(t,n,o,c,l,g){var b=o+t.length,y=c.length,E=Zd;return l!==void 0&&(l=P(l),E=Jd),Qd(g,E,function(w,T){var C;switch(uc(T,0)){case"$":return"$";case"&":return t;case"`":return fc(n,0,o);case"'":return fc(n,b);case"<":C=l[fc(T,1,-1)];break;default:var D=+T;if(D===0)return w;if(D>y){var B=Xd(D/10);return B===0?w:B<=y?c[B-1]===void 0?uc(T,1):c[B-1]+uc(T,1):w}C=c[D-1]}return C===void 0?"":C})},dc=lt("replace"),eh=Math.max,rh=Math.min,nh=N([].concat),hc=N([].push),Pl=N("".indexOf),kl=N("".slice),ih=function(t){return t===void 0?t:String(t)},sh=function(){return"a".replace(/./,"$0")==="$0"}(),Ml=function(){return/./[dc]?/./[dc]("a","$0")==="":!1}(),oh=!$(function(){var t=/./;return t.exec=function(){var n=[];return n.groups={a:"7"},n},"".replace(t,"$")!=="7"});Cl("replace",function(t,n,o){var c=Ml?"$":"$0";return[function(g,b){var y=j(this),E=g==null?void 0:Pe(g,dc);return E?ct(E,g,y,b):ct(n,St(y),g,b)},function(l,g){var b=dt(this),y=St(l);if(typeof g=="string"&&Pl(g,c)===-1&&Pl(g,"$<")===-1){var E=o(n,b,y,g);if(E.done)return E.value}var w=q(g);w||(g=St(g));var T=b.global;if(T){var C=b.unicode;b.lastIndex=0}for(var D=[];;){var B=lc(b,y);if(B===null||(hc(D,B),!T))break;var G=St(B[0]);G===""&&(b.lastIndex=Il(y,Rn(b.lastIndex),C))}for(var rt="",V=0,W=0;W=V&&(rt+=kl(y,V,ot)+gt,V=ot+nt.length)}return rt+kl(y,V)}]},!oh||!sh||Ml);var zs=function(n){var o=Array.prototype.reduce.call(n,function(c,l){var g=l.name.match(/data-simplebar-(.+)/);if(g){var b=g[1].replace(/\W+(.)/g,function(y,E){return E.toUpperCase()});switch(l.value){case"true":c[b]=!0;break;case"false":c[b]=!1;break;case void 0:c[b]=!0;break;default:c[b]=l.value}}return c},{});return o};function qe(t){return!t||!t.ownerDocument||!t.ownerDocument.defaultView?window:t.ownerDocument.defaultView}function Vs(t){return!t||!t.ownerDocument?document:t.ownerDocument}var vn=null,jl=null;Wn&&window.addEventListener("resize",function(){jl!==window.devicePixelRatio&&(jl=window.devicePixelRatio,vn=null)});function Fl(t){if(vn===null){var n=Vs(t);if(typeof n>"u")return vn=0,vn;var o=n.body,c=n.createElement("div");c.classList.add("simplebar-hide-scrollbar"),o.appendChild(c);var l=c.getBoundingClientRect().right;o.removeChild(c),vn=l}return vn}var pt=function(){function t(o,c){var l=this;this.onScroll=function(){var g=qe(l.el);l.scrollXTicking||(g.requestAnimationFrame(l.scrollX),l.scrollXTicking=!0),l.scrollYTicking||(g.requestAnimationFrame(l.scrollY),l.scrollYTicking=!0)},this.scrollX=function(){l.axis.x.isOverflowing&&(l.showScrollbar("x"),l.positionScrollbar("x")),l.scrollXTicking=!1},this.scrollY=function(){l.axis.y.isOverflowing&&(l.showScrollbar("y"),l.positionScrollbar("y")),l.scrollYTicking=!1},this.onMouseEnter=function(){l.showScrollbar("x"),l.showScrollbar("y")},this.onMouseMove=function(g){l.mouseX=g.clientX,l.mouseY=g.clientY,(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseMoveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseMoveForAxis("y")},this.onMouseLeave=function(){l.onMouseMove.cancel(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&l.onMouseLeaveForAxis("x"),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&l.onMouseLeaveForAxis("y"),l.mouseX=-1,l.mouseY=-1},this.onWindowResize=function(){l.scrollbarWidth=l.getScrollbarWidth(),l.hideNativeScrollbar()},this.hideScrollbars=function(){l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.track.rect)||(l.axis.y.scrollbar.el.classList.remove(l.classNames.visible),l.axis.y.isVisible=!1),l.isWithinBounds(l.axis.x.track.rect)||(l.axis.x.scrollbar.el.classList.remove(l.classNames.visible),l.axis.x.isVisible=!1)},this.onPointerEvent=function(g){var b,y;l.axis.x.track.rect=l.axis.x.track.el.getBoundingClientRect(),l.axis.y.track.rect=l.axis.y.track.el.getBoundingClientRect(),(l.axis.x.isOverflowing||l.axis.x.forceVisible)&&(b=l.isWithinBounds(l.axis.x.track.rect)),(l.axis.y.isOverflowing||l.axis.y.forceVisible)&&(y=l.isWithinBounds(l.axis.y.track.rect)),(b||y)&&(g.preventDefault(),g.stopPropagation(),g.type==="mousedown"&&(b&&(l.axis.x.scrollbar.rect=l.axis.x.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.x.scrollbar.rect)?l.onDragStart(g,"x"):l.onTrackClick(g,"x")),y&&(l.axis.y.scrollbar.rect=l.axis.y.scrollbar.el.getBoundingClientRect(),l.isWithinBounds(l.axis.y.scrollbar.rect)?l.onDragStart(g,"y"):l.onTrackClick(g,"y"))))},this.drag=function(g){var b,y=l.axis[l.draggedAxis].track,E=y.rect[l.axis[l.draggedAxis].sizeAttr],w=l.axis[l.draggedAxis].scrollbar,T=l.contentWrapperEl[l.axis[l.draggedAxis].scrollSizeAttr],C=parseInt(l.elStyles[l.axis[l.draggedAxis].sizeAttr],10);g.preventDefault(),g.stopPropagation(),l.draggedAxis==="y"?b=g.pageY:b=g.pageX;var D=b-y.rect[l.axis[l.draggedAxis].offsetAttr]-l.axis[l.draggedAxis].dragOffset,B=D/(E-w.size),G=B*(T-C);l.draggedAxis==="x"&&(G=l.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?G-(E+w.size):G,G=l.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-G:G),l.contentWrapperEl[l.axis[l.draggedAxis].scrollOffsetAttr]=G},this.onEndDrag=function(g){var b=Vs(l.el),y=qe(l.el);g.preventDefault(),g.stopPropagation(),l.el.classList.remove(l.classNames.dragging),b.removeEventListener("mousemove",l.drag,!0),b.removeEventListener("mouseup",l.onEndDrag,!0),l.removePreventClickId=y.setTimeout(function(){b.removeEventListener("click",l.preventClick,!0),b.removeEventListener("dblclick",l.preventClick,!0),l.removePreventClickId=null})},this.preventClick=function(g){g.preventDefault(),g.stopPropagation()},this.el=o,this.minScrollbarWidth=20,this.options=Object.assign({},t.defaultOptions,c),this.classNames=Object.assign({},t.defaultOptions.classNames,this.options.classNames),this.axis={x:{scrollOffsetAttr:"scrollLeft",sizeAttr:"width",scrollSizeAttr:"scrollWidth",offsetSizeAttr:"offsetWidth",offsetAttr:"left",overflowAttr:"overflowX",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}},y:{scrollOffsetAttr:"scrollTop",sizeAttr:"height",scrollSizeAttr:"scrollHeight",offsetSizeAttr:"offsetHeight",offsetAttr:"top",overflowAttr:"overflowY",dragOffset:0,isOverflowing:!0,isVisible:!1,forceVisible:!1,track:{},scrollbar:{}}},this.removePreventClickId=null,!t.instances.has(this.el)&&(this.recalculate=X(this.recalculate.bind(this),64),this.onMouseMove=X(this.onMouseMove.bind(this),64),this.hideScrollbars=rl(this.hideScrollbars.bind(this),this.options.timeout),this.onWindowResize=rl(this.onWindowResize.bind(this),64,{leading:!0}),t.getRtlHelpers=Zf(t.getRtlHelpers),this.init())}t.getRtlHelpers=function(){var c=document.createElement("div");c.innerHTML='
';var l=c.firstElementChild;document.body.appendChild(l);var g=l.firstElementChild;l.scrollLeft=0;var b=t.getOffset(l),y=t.getOffset(g);l.scrollLeft=999;var E=t.getOffset(g);return{isRtlScrollingInverted:b.left!==y.left&&y.left-E.left!==0,isRtlScrollbarInverted:b.left!==y.left}},t.getOffset=function(c){var l=c.getBoundingClientRect(),g=Vs(c),b=qe(c);return{top:l.top+(b.pageYOffset||g.documentElement.scrollTop),left:l.left+(b.pageXOffset||g.documentElement.scrollLeft)}};var n=t.prototype;return n.init=function(){t.instances.set(this.el,this),Wn&&(this.initDOM(),this.setAccessibilityAttributes(),this.scrollbarWidth=this.getScrollbarWidth(),this.recalculate(),this.initListeners())},n.initDOM=function(){var c=this;if(Array.prototype.filter.call(this.el.children,function(b){return b.classList.contains(c.classNames.wrapper)}).length)this.wrapperEl=this.el.querySelector("."+this.classNames.wrapper),this.contentWrapperEl=this.options.scrollableNode||this.el.querySelector("."+this.classNames.contentWrapper),this.contentEl=this.options.contentNode||this.el.querySelector("."+this.classNames.contentEl),this.offsetEl=this.el.querySelector("."+this.classNames.offset),this.maskEl=this.el.querySelector("."+this.classNames.mask),this.placeholderEl=this.findChild(this.wrapperEl,"."+this.classNames.placeholder),this.heightAutoObserverWrapperEl=this.el.querySelector("."+this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl=this.el.querySelector("."+this.classNames.heightAutoObserverEl),this.axis.x.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.horizontal),this.axis.y.track.el=this.findChild(this.el,"."+this.classNames.track+"."+this.classNames.vertical);else{for(this.wrapperEl=document.createElement("div"),this.contentWrapperEl=document.createElement("div"),this.offsetEl=document.createElement("div"),this.maskEl=document.createElement("div"),this.contentEl=document.createElement("div"),this.placeholderEl=document.createElement("div"),this.heightAutoObserverWrapperEl=document.createElement("div"),this.heightAutoObserverEl=document.createElement("div"),this.wrapperEl.classList.add(this.classNames.wrapper),this.contentWrapperEl.classList.add(this.classNames.contentWrapper),this.offsetEl.classList.add(this.classNames.offset),this.maskEl.classList.add(this.classNames.mask),this.contentEl.classList.add(this.classNames.contentEl),this.placeholderEl.classList.add(this.classNames.placeholder),this.heightAutoObserverWrapperEl.classList.add(this.classNames.heightAutoObserverWrapperEl),this.heightAutoObserverEl.classList.add(this.classNames.heightAutoObserverEl);this.el.firstChild;)this.contentEl.appendChild(this.el.firstChild);this.contentWrapperEl.appendChild(this.contentEl),this.offsetEl.appendChild(this.contentWrapperEl),this.maskEl.appendChild(this.offsetEl),this.heightAutoObserverWrapperEl.appendChild(this.heightAutoObserverEl),this.wrapperEl.appendChild(this.heightAutoObserverWrapperEl),this.wrapperEl.appendChild(this.maskEl),this.wrapperEl.appendChild(this.placeholderEl),this.el.appendChild(this.wrapperEl)}if(!this.axis.x.track.el||!this.axis.y.track.el){var l=document.createElement("div"),g=document.createElement("div");l.classList.add(this.classNames.track),g.classList.add(this.classNames.scrollbar),l.appendChild(g),this.axis.x.track.el=l.cloneNode(!0),this.axis.x.track.el.classList.add(this.classNames.horizontal),this.axis.y.track.el=l.cloneNode(!0),this.axis.y.track.el.classList.add(this.classNames.vertical),this.el.appendChild(this.axis.x.track.el),this.el.appendChild(this.axis.y.track.el)}this.axis.x.scrollbar.el=this.axis.x.track.el.querySelector("."+this.classNames.scrollbar),this.axis.y.scrollbar.el=this.axis.y.track.el.querySelector("."+this.classNames.scrollbar),this.options.autoHide||(this.axis.x.scrollbar.el.classList.add(this.classNames.visible),this.axis.y.scrollbar.el.classList.add(this.classNames.visible)),this.el.setAttribute("data-simplebar","init")},n.setAccessibilityAttributes=function(){var c=this.options.ariaLabel||"scrollable content";this.contentWrapperEl.setAttribute("tabindex","0"),this.contentWrapperEl.setAttribute("role","region"),this.contentWrapperEl.setAttribute("aria-label",c)},n.initListeners=function(){var c=this,l=qe(this.el);this.options.autoHide&&this.el.addEventListener("mouseenter",this.onMouseEnter),["mousedown","click","dblclick"].forEach(function(E){c.el.addEventListener(E,c.onPointerEvent,!0)}),["touchstart","touchend","touchmove"].forEach(function(E){c.el.addEventListener(E,c.onPointerEvent,{capture:!0,passive:!0})}),this.el.addEventListener("mousemove",this.onMouseMove),this.el.addEventListener("mouseleave",this.onMouseLeave),this.contentWrapperEl.addEventListener("scroll",this.onScroll),l.addEventListener("resize",this.onWindowResize);var g=!1,b=null,y=l.ResizeObserver||Ed;this.resizeObserver=new y(function(){!g||b!==null||(b=l.requestAnimationFrame(function(){c.recalculate(),b=null}))}),this.resizeObserver.observe(this.el),this.resizeObserver.observe(this.contentEl),l.requestAnimationFrame(function(){g=!0}),this.mutationObserver=new l.MutationObserver(this.recalculate),this.mutationObserver.observe(this.contentEl,{childList:!0,subtree:!0,characterData:!0})},n.recalculate=function(){var c=qe(this.el);this.elStyles=c.getComputedStyle(this.el),this.isRtl=this.elStyles.direction==="rtl";var l=this.heightAutoObserverEl.offsetHeight<=1,g=this.heightAutoObserverEl.offsetWidth<=1,b=this.contentEl.offsetWidth,y=this.contentWrapperEl.offsetWidth,E=this.elStyles.overflowX,w=this.elStyles.overflowY;this.contentEl.style.padding=this.elStyles.paddingTop+" "+this.elStyles.paddingRight+" "+this.elStyles.paddingBottom+" "+this.elStyles.paddingLeft,this.wrapperEl.style.margin="-"+this.elStyles.paddingTop+" -"+this.elStyles.paddingRight+" -"+this.elStyles.paddingBottom+" -"+this.elStyles.paddingLeft;var T=this.contentEl.scrollHeight,C=this.contentEl.scrollWidth;this.contentWrapperEl.style.height=l?"auto":"100%",this.placeholderEl.style.width=g?b+"px":"auto",this.placeholderEl.style.height=T+"px";var D=this.contentWrapperEl.offsetHeight;this.axis.x.isOverflowing=C>b,this.axis.y.isOverflowing=T>D,this.axis.x.isOverflowing=E==="hidden"?!1:this.axis.x.isOverflowing,this.axis.y.isOverflowing=w==="hidden"?!1:this.axis.y.isOverflowing,this.axis.x.forceVisible=this.options.forceVisible==="x"||this.options.forceVisible===!0,this.axis.y.forceVisible=this.options.forceVisible==="y"||this.options.forceVisible===!0,this.hideNativeScrollbar();var B=this.axis.x.isOverflowing?this.scrollbarWidth:0,G=this.axis.y.isOverflowing?this.scrollbarWidth:0;this.axis.x.isOverflowing=this.axis.x.isOverflowing&&C>y-G,this.axis.y.isOverflowing=this.axis.y.isOverflowing&&T>D-B,this.axis.x.scrollbar.size=this.getScrollbarSize("x"),this.axis.y.scrollbar.size=this.getScrollbarSize("y"),this.axis.x.scrollbar.el.style.width=this.axis.x.scrollbar.size+"px",this.axis.y.scrollbar.el.style.height=this.axis.y.scrollbar.size+"px",this.positionScrollbar("x"),this.positionScrollbar("y"),this.toggleTrackVisibility("x"),this.toggleTrackVisibility("y")},n.getScrollbarSize=function(c){if(c===void 0&&(c="y"),!this.axis[c].isOverflowing)return 0;var l=this.contentEl[this.axis[c].scrollSizeAttr],g=this.axis[c].track.el[this.axis[c].offsetSizeAttr],b,y=g/l;return b=Math.max(~~(y*g),this.options.scrollbarMinSize),this.options.scrollbarMaxSize&&(b=Math.min(b,this.options.scrollbarMaxSize)),b},n.positionScrollbar=function(c){if(c===void 0&&(c="y"),!!this.axis[c].isOverflowing){var l=this.contentWrapperEl[this.axis[c].scrollSizeAttr],g=this.axis[c].track.el[this.axis[c].offsetSizeAttr],b=parseInt(this.elStyles[this.axis[c].sizeAttr],10),y=this.axis[c].scrollbar,E=this.contentWrapperEl[this.axis[c].scrollOffsetAttr];E=c==="x"&&this.isRtl&&t.getRtlHelpers().isRtlScrollingInverted?-E:E;var w=E/(l-b),T=~~((g-y.size)*w);T=c==="x"&&this.isRtl&&t.getRtlHelpers().isRtlScrollbarInverted?T+(g-y.size):T,y.el.style.transform=c==="x"?"translate3d("+T+"px, 0, 0)":"translate3d(0, "+T+"px, 0)"}},n.toggleTrackVisibility=function(c){c===void 0&&(c="y");var l=this.axis[c].track.el,g=this.axis[c].scrollbar.el;this.axis[c].isOverflowing||this.axis[c].forceVisible?(l.style.visibility="visible",this.contentWrapperEl.style[this.axis[c].overflowAttr]="scroll"):(l.style.visibility="hidden",this.contentWrapperEl.style[this.axis[c].overflowAttr]="hidden"),this.axis[c].isOverflowing?g.style.display="block":g.style.display="none"},n.hideNativeScrollbar=function(){this.offsetEl.style[this.isRtl?"left":"right"]=this.axis.y.isOverflowing||this.axis.y.forceVisible?"-"+this.scrollbarWidth+"px":0,this.offsetEl.style.bottom=this.axis.x.isOverflowing||this.axis.x.forceVisible?"-"+this.scrollbarWidth+"px":0},n.onMouseMoveForAxis=function(c){c===void 0&&(c="y"),this.axis[c].track.rect=this.axis[c].track.el.getBoundingClientRect(),this.axis[c].scrollbar.rect=this.axis[c].scrollbar.el.getBoundingClientRect();var l=this.isWithinBounds(this.axis[c].scrollbar.rect);l?this.axis[c].scrollbar.el.classList.add(this.classNames.hover):this.axis[c].scrollbar.el.classList.remove(this.classNames.hover),this.isWithinBounds(this.axis[c].track.rect)?(this.showScrollbar(c),this.axis[c].track.el.classList.add(this.classNames.hover)):this.axis[c].track.el.classList.remove(this.classNames.hover)},n.onMouseLeaveForAxis=function(c){c===void 0&&(c="y"),this.axis[c].track.el.classList.remove(this.classNames.hover),this.axis[c].scrollbar.el.classList.remove(this.classNames.hover)},n.showScrollbar=function(c){c===void 0&&(c="y");var l=this.axis[c].scrollbar.el;this.axis[c].isVisible||(l.classList.add(this.classNames.visible),this.axis[c].isVisible=!0),this.options.autoHide&&this.hideScrollbars()},n.onDragStart=function(c,l){l===void 0&&(l="y");var g=Vs(this.el),b=qe(this.el),y=this.axis[l].scrollbar,E=l==="y"?c.pageY:c.pageX;this.axis[l].dragOffset=E-y.rect[this.axis[l].offsetAttr],this.draggedAxis=l,this.el.classList.add(this.classNames.dragging),g.addEventListener("mousemove",this.drag,!0),g.addEventListener("mouseup",this.onEndDrag,!0),this.removePreventClickId===null?(g.addEventListener("click",this.preventClick,!0),g.addEventListener("dblclick",this.preventClick,!0)):(b.clearTimeout(this.removePreventClickId),this.removePreventClickId=null)},n.onTrackClick=function(c,l){var g=this;if(l===void 0&&(l="y"),!!this.options.clickOnTrack){var b=qe(this.el);this.axis[l].scrollbar.rect=this.axis[l].scrollbar.el.getBoundingClientRect();var y=this.axis[l].scrollbar,E=y.rect[this.axis[l].offsetAttr],w=parseInt(this.elStyles[this.axis[l].sizeAttr],10),T=this.contentWrapperEl[this.axis[l].scrollOffsetAttr],C=l==="y"?this.mouseY-E:this.mouseX-E,D=C<0?-1:1,B=D===-1?T-w:T+w,G=function rt(){if(D===-1){if(T>B){var V;T-=g.options.clickOnTrackSpeed,g.contentWrapperEl.scrollTo((V={},V[g.axis[l].offsetAttr]=T,V)),b.requestAnimationFrame(rt)}}else if(T=c.left&&this.mouseX<=c.left+c.width&&this.mouseY>=c.top&&this.mouseY<=c.top+c.height},n.findChild=function(c,l){var g=c.matches||c.webkitMatchesSelector||c.mozMatchesSelector||c.msMatchesSelector;return Array.prototype.filter.call(c.children,function(b){return g.call(b,l)})[0]},t}();return pt.defaultOptions={autoHide:!0,forceVisible:!1,clickOnTrack:!0,clickOnTrackSpeed:40,classNames:{contentEl:"simplebar-content",contentWrapper:"simplebar-content-wrapper",offset:"simplebar-offset",mask:"simplebar-mask",wrapper:"simplebar-wrapper",placeholder:"simplebar-placeholder",scrollbar:"simplebar-scrollbar",track:"simplebar-track",heightAutoObserverWrapperEl:"simplebar-height-auto-observer-wrapper",heightAutoObserverEl:"simplebar-height-auto-observer",visible:"simplebar-visible",horizontal:"simplebar-horizontal",vertical:"simplebar-vertical",hover:"simplebar-hover",dragging:"simplebar-dragging"},scrollbarMinSize:25,scrollbarMaxSize:0,timeout:1e3},pt.instances=new WeakMap,pt.initDOMLoadedElements=function(){document.removeEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.removeEventListener("load",this.initDOMLoadedElements),Array.prototype.forEach.call(document.querySelectorAll("[data-simplebar]"),function(t){t.getAttribute("data-simplebar")!=="init"&&!pt.instances.has(t)&&new pt(t,zs(t.attributes))})},pt.removeObserver=function(){this.globalObserver.disconnect()},pt.initHtmlApi=function(){this.initDOMLoadedElements=this.initDOMLoadedElements.bind(this),typeof MutationObserver<"u"&&(this.globalObserver=new MutationObserver(pt.handleMutations),this.globalObserver.observe(document,{childList:!0,subtree:!0})),document.readyState==="complete"||document.readyState!=="loading"&&!document.documentElement.doScroll?window.setTimeout(this.initDOMLoadedElements):(document.addEventListener("DOMContentLoaded",this.initDOMLoadedElements),window.addEventListener("load",this.initDOMLoadedElements))},pt.handleMutations=function(t){t.forEach(function(n){Array.prototype.forEach.call(n.addedNodes,function(o){o.nodeType===1&&(o.hasAttribute("data-simplebar")?!pt.instances.has(o)&&document.documentElement.contains(o)&&new pt(o,zs(o.attributes)):Array.prototype.forEach.call(o.querySelectorAll("[data-simplebar]"),function(c){c.getAttribute("data-simplebar")!=="init"&&!pt.instances.has(c)&&document.documentElement.contains(c)&&new pt(c,zs(c.attributes))}))}),Array.prototype.forEach.call(n.removedNodes,function(o){o.nodeType===1&&(o.getAttribute("data-simplebar")==="init"?pt.instances.has(o)&&!document.documentElement.contains(o)&&pt.instances.get(o).unMount():Array.prototype.forEach.call(o.querySelectorAll('[data-simplebar="init"]'),function(c){pt.instances.has(c)&&!document.documentElement.contains(c)&&pt.instances.get(c).unMount()}))})})},pt.getOptions=zs,Wn&&pt.initHtmlApi(),pt})})(sv);window.bootstrap=mn;class ov{initBootstrapComponents(){[...document.querySelectorAll('[data-bs-toggle="popover"]')].map(f=>new mn.Popover(f)),[...document.querySelectorAll('[data-bs-toggle="tooltip"]')].map(f=>new mn.Tooltip(f)),[...document.querySelectorAll(".offcanvas")].map(f=>new mn.Offcanvas(f));var i=document.getElementById("toastPlacement"),s=(i&&document.getElementById("selectToastPlacement").addEventListener("change",function(){i.dataset.originalClass||(i.dataset.originalClass=i.className),i.className=i.dataset.originalClass+" "+this.value}),[].slice.call(document.querySelectorAll(".toast")).map(function(f){return new mn.Toast(f)}),document.getElementById("liveAlertBtn"));s&&s.addEventListener("click",()=>{alert("Nice, you triggered this alert message!","success")})}initfullScreenListener(){var i=document.querySelector('[data-toggle="fullscreen"]');i&&i.addEventListener("click",function(s){s.preventDefault(),document.body.classList.toggle("fullscreen-enable"),document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement?document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen():document.documentElement.requestFullscreen?document.documentElement.requestFullscreen():document.documentElement.mozRequestFullScreen?document.documentElement.mozRequestFullScreen():document.documentElement.webkitRequestFullscreen&&document.documentElement.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT)})}initCounter(){var i=document.querySelectorAll(".counter-value");function s(f){return f.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")}i&&i.forEach(function(f){(function u(){var d=+f.getAttribute("data-target"),m=+f.innerText,_=d/250;_<1&&(_=1),m{i.addEventListener("submit",s=>{i.checkValidity()||(s.preventDefault(),s.stopPropagation()),i.classList.add("was-validated")},!1)})}init(){this.initFormValidation()}}document.addEventListener("DOMContentLoaded",function(r){new ov().init(),new av().init()});class cv{constructor(){this.html=document.getElementsByTagName("html")[0],this.config={},this.defaultConfig=window.config}initVerticalMenu(){var i=document.querySelectorAll(".navbar-nav li .collapse");document.querySelectorAll(".navbar-nav li [data-bs-toggle='collapse']").forEach(s=>{s.addEventListener("click",function(f){f.preventDefault()})}),i.forEach(s=>{s.addEventListener("show.bs.collapse",function(f){let u=f.target.closest(".collapse.show");document.querySelectorAll(".navbar-nav .collapse.show").forEach(d=>{d!==f.target&&d!==u&&new mn.Collapse(d).hide()})})}),document.querySelector(".navbar-nav")&&(document.querySelectorAll(".navbar-nav a").forEach(function(s){var f=window.location.href.split(/[?#]/)[0];if(s.href===f){s.classList.add("active"),s.parentNode.classList.add("active");let u=s.closest(".collapse");for(;u;)u.classList.add("show"),u.parentElement.children[0].classList.add("active"),u.parentElement.children[0].setAttribute("aria-expanded","true"),u=u.parentElement.closest(".collapse")}}),setTimeout(function(){var s,f,u,d,m,_=document.querySelector(".nav-item li a.active");_!=null&&(s=document.querySelector(".app-sidebar .simplebar-content-wrapper"),_=_.offsetTop-300,s)&&100<_&&(u=(f=s).scrollTop,d=_-u,m=0,function v(){var A=m+=20,A=(A/=300)<1?d/2*A*A+u:-d/2*(--A*(A-2)-1)+u;f.scrollTop=A,m<600&&setTimeout(v,20)}())},200))}initConfig(){this.defaultConfig=JSON.parse(JSON.stringify(window.defaultConfig)),this.config=JSON.parse(JSON.stringify(window.config)),this.setSwitchFromConfig()}changeMenuColor(i){this.config.menu.color=i,this.html.setAttribute("data-sidebar-color",i),this.setSwitchFromConfig()}changeMenuSize(i,s=!0){this.html.setAttribute("data-sidebar-size",i),s&&(this.config.menu.size=i,this.setSwitchFromConfig())}changeThemeMode(i){this.config.theme=i,this.html.setAttribute("data-bs-theme",i),this.setSwitchFromConfig()}changeTopbarColor(i){this.config.topbar.color=i,this.html.setAttribute("data-topbar-color",i),this.setSwitchFromConfig()}resetTheme(){this.config=JSON.parse(JSON.stringify(window.defaultConfig)),this.changeMenuColor(this.config.menu.color),this.changeMenuSize(this.config.menu.size),this.changeThemeMode(this.config.theme),this.changeTopbarColor(this.config.topbar.color),this._adjustLayout()}initSwitchListener(){var i=this,s=(document.querySelectorAll("input[name=data-sidebar-color]").forEach(function(f){f.addEventListener("change",function(u){i.changeMenuColor(f.value)})}),document.querySelectorAll("input[name=data-sidebar-size]").forEach(function(f){f.addEventListener("change",function(u){i.changeMenuSize(f.value)})}),document.querySelectorAll("input[name=data-bs-theme]").forEach(function(f){f.addEventListener("change",function(u){i.changeThemeMode(f.value)})}),document.querySelectorAll("input[name=data-topbar-color]").forEach(function(f){f.addEventListener("change",function(u){i.changeTopbarColor(f.value)})}),document.getElementById("light-dark-mode"));s&&s.addEventListener("click",function(f){i.config.theme,i.changeThemeMode("light")}),(s=document.querySelector("#reset-layout"))&&s.addEventListener("click",function(f){i.resetTheme()}),(s=document.querySelector(".button-toggle-menu"))&&s.addEventListener("click",function(){var f=i.config.menu.size,u=i.html.getAttribute("data-sidebar-size",f);u!=="hidden"?u==="condensed"?i.changeMenuSize(f=="condensed"?"default":f,!1):i.changeMenuSize("condensed",!1):i.showBackdrop(),i.html.classList.toggle("sidebar-enable")})}showBackdrop(){let i=document.createElement("div"),s=(i.classList="offcanvas-backdrop fade show",document.body.appendChild(i),document.body.style.overflow="hidden",1040 { -// flatpickr(element, { -// enableTime: false, -// dateFormat: "Y-m-d", -// minDate: `${minYear}-01-01`, -// maxDate: today, -// }); -// }); -// } -// } class Components { initBootstrapComponents() { @@ -131,7 +107,6 @@ class FormValidation { } document.addEventListener("DOMContentLoaded", function (e) { new Components().init(), new FormValidation().init(); - // new InitDatePicker().init(); }); class ThemeLayout { constructor() { diff --git a/resources/scss/structure/_sidebar_custom.scss b/resources/scss/structure/_sidebar_custom.scss new file mode 100644 index 0000000..7e569fe --- /dev/null +++ b/resources/scss/structure/_sidebar_custom.scss @@ -0,0 +1,120 @@ +// +// sidebar_custom.scss +// + +.app-sidebar { + box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1); + background-color: #f8f9fa; /* Warna sidebar putih */ +} + +.logo-box { + text-align: center; + padding: 15px; + border-bottom: 1px solid rgba(0, 0, 0, 0.1); +} + +/* Menu utama */ +.navbar-nav { + list-style: none; + padding: 0; + margin: 0; +} + +.menu-title { + font-size: 14px; + font-weight: bold; + text-transform: uppercase; + color: #6c757d; + padding: 10px 15px; + border-bottom: 1px solid rgba(0, 0, 0, 0.1); +} + +/* Parent Menu */ +.nav-item { + position: relative; +} + +.nav-item > .nav-link { + display: flex; + align-items: center; + font-size: 16px; + font-weight: bold; + color: #343a40; + text-decoration: none; + padding: 12px 20px; + transition: background 0.3s ease-in-out, color 0.3s ease-in-out; + cursor: pointer; +} + +.nav-item > .nav-link:hover { + background: rgba(0, 0, 0, 0.05); + color: #007bff; +} + +/* Ikon di sebelah kiri menu */ +.nav-icon { + font-size: 20px; + margin-right: 10px; + color: #6c757d; +} + +/* CHILD MENU (Submenu) */ +.sub-navbar-nav { + list-style: none; + padding-left: 20px; +} + +/* Menampilkan submenu ketika parent di-hover atau memiliki fokus */ +.nav-item:hover > .sub-navbar-nav, +.nav-item:focus-within > .sub-navbar-nav { + display: block; +} + +/* Aturan untuk setiap submenu item */ +.sub-navbar-nav .nav-item { + margin-left: 0; + width: 100%; +} + +.sub-navbar-nav .nav-link { + font-size: 14px; + font-weight: normal; + color: #6c757d; + display: flex; + align-items: center; + padding: 8px 15px; + transition: color 0.3s ease-in-out, background 0.3s ease-in-out; +} + +/* Hover effect untuk submenu */ +.sub-navbar-nav .nav-link:hover { + background: rgba(0, 0, 0, 0.05); + color: #007bff; +} + +/* CHILD dari CHILD (Level lebih dalam) */ +.sub-navbar-nav .sub-navbar-nav { + margin-left: 15px; +} + +/* Menampilkan submenu level dalam saat parent di-hover */ +.nav-item:hover > .sub-navbar-nav .nav-item:hover > .sub-navbar-nav { + display: block; +} + +/* Aturan tambahan untuk submenu anak-anak */ +.sub-navbar-nav .sub-navbar-nav .nav-link { + font-size: 13px; + color: #868e96; +} + +/* Ikon anak panah saat menu terbuka */ +.menu-arrow { + transition: transform 0.3s ease; +} + +/* Efek putar ikon saat submenu terbuka */ +.nav-item:hover > .nav-link .menu-arrow, +.nav-item:focus-within > .nav-link .menu-arrow { + transform: rotate(90deg); +} diff --git a/resources/scss/style.scss b/resources/scss/style.scss index ed085cf..0816657 100755 --- a/resources/scss/style.scss +++ b/resources/scss/style.scss @@ -16,6 +16,7 @@ @import "structure/general"; @import "structure/topbar"; @import "structure/sidebar"; +@import "structure/sidebar_custom"; @import "structure/footer"; @import "structure/page-title"; diff --git a/resources/views/home/index.blade.php b/resources/views/home/index.blade.php index f49e0ea..0267db0 100644 --- a/resources/views/home/index.blade.php +++ b/resources/views/home/index.blade.php @@ -1,396 +1,9 @@ -@extends('layouts.vertical', ['subtitle' => 'Dashboard']) +@extends('layouts.vertical', ['subtitle' => 'Home']) @section('content') -@include('layouts.partials/page-title', ['title' => 'Home', 'subtitle' => 'Dashboard']) +@include('layouts.partials/page-title', ['title' => 'Home', 'subtitle' => 'Home']) -
- -
-
-
-
-
-

Total Income

-

$78.8k

-
- -
-
- -
-
-
-
-
-
-
- - -
-
-
-
-
-

New Users

-

2,150

-
- -
-
- -
-
-
-
-
-
-
- - -
-
-
-
-
-

Orders

-

1,784

-
- -
-
- -
-
-
-
-
-
-
- - -
-
-
-
-
-

Conversion Rate

-

12.3%

-
- -
-
- -
-
-
-
-
-
-
-
- - - -
- -
-
-
-
-

New Accounts

- - View All - -
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IDDateUserAccountUsername
#US52324 April, 2024 - avatar-2 - Dan Adrick - - Verified - @omions
#US65224 April, 2024 - avatar-2 - Daniel Olsen - - Verified - @alliates
#US86220 April, 2024 - avatar-2 - Jack Roldan - - Pending - @griys
#US75618 April, 2024 - avatar-2 - Betty Cox - - Verified - @reffon
#US42018 April, 2024 - avatar-2 - Carlos - Johnson - - Blocked - @bebo
-
-
- -
- -
- - -
-
-
-

- Recent Transactions -

- - - View All - -
- - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
IDDateAmountStatus - Description -
#9852124 April, 2024$120.55 - Cr - Commisions
#2015824 April, 2024$9.68 - Cr - Affiliates
#3658920 April, 2024$105.22 - Dr - Grocery
#9536218 April, 2024$80.59 - Cr - Refunds
#7521418 April, 2024$750.95 - Dr - Bill Payments
-
-
- -
- -
- -
- @endsection @section('scripts') diff --git a/resources/views/layouts/partials/sidebar.blade.php b/resources/views/layouts/partials/sidebar.blade.php index 44c710e..7bbae35 100644 --- a/resources/views/layouts/partials/sidebar.blade.php +++ b/resources/views/layouts/partials/sidebar.blade.php @@ -14,49 +14,56 @@
-
@for ($i = 0; $i < 20; $i++) diff --git a/routes/web.php b/routes/web.php index 29da4f3..5e57eea 100755 --- a/routes/web.php +++ b/routes/web.php @@ -8,6 +8,7 @@ use App\Http\Controllers\Dashboards\PotentialsController; use App\Http\Controllers\DataSettingController; use App\Http\Controllers\Dashboards\BigDataController; use App\Http\Controllers\GoogleApisController; +use App\Http\Controllers\Home\HomeController; use App\Http\Controllers\Master\UsersController; use App\Http\Controllers\MenusController; use App\Http\Controllers\RequestAssignment\PbgTaskController; @@ -29,6 +30,7 @@ require __DIR__ . '/auth.php'; Route::group(['middleware' => 'auth'], function(){ Route::get('', [BigDataController::class, 'index'])->name('any'); + Route::get('/home', [HomeController::class, 'index']); //dashboards Route::group(['prefix' => '/dashboards'], function(){