@tsiky/components-r19 1.6.115 → 1.6.116
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +6 -6
- package/dist/index.js +636 -633
- package/dist/src/components/NavBarV2/NavBarV2.d.ts +1 -0
- package/dist/src/components/NavBarV2/NavBarV2.d.ts.map +1 -1
- package/dist/src/components/SearchBar/SearchBar.d.ts +1 -0
- package/dist/src/components/SearchBar/SearchBar.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-BYKV-EEv.cjs"),rw=require("react-dom");function bA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-BYKV-EEv.cjs"),rw=require("react-dom");function bA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Z=bA(k),wA="_button_1kuwt_2",CA="_primary_1kuwt_21",NA="_secondary_1kuwt_26",SA="_accent_1kuwt_31",jA="_outline_1kuwt_36",$A="_success_1kuwt_41",qA="_danger_1kuwt_46",AA="_warning_1kuwt_51",zA="_info_1kuwt_56",VA="_sm_1kuwt_62",PA="_md_1kuwt_67",TA="_lg_1kuwt_72",He={button:wA,primary:CA,secondary:NA,accent:SA,outline:jA,success:$A,danger:qA,warning:AA,info:zA,sm:VA,md:PA,lg:TA};function Y(e,t,n,o){if(!e||!e.mode||e.mode==="none")return;const{mode:i,moduleName:r,key:s,description:d,titleKey:l,textLabel:h="Texte",guideLabel:u="Guide"}=e,p=n||s,y=o||d,m=t||l,v=(f,M)=>{const _=M?M.trim():"";return _?_.includes(":")?`${f} : ${_.replace(/\s*:\s*/g," : ")}`:r?`${f} : ${r} : ${_}`:`${f} : ${_}`:`${f} : `};if(i==="key")return[v(h||"Texte",m),v(u||"Guide",p)].join(" | ");if(i==="guide")return y||void 0}const Qx=({children:e,variant:t="primary",size:n="md",className:o="",type:i="button",a11yConfig:r,...s})=>{const d={primary:He.primary,secondary:He.secondary,accent:He.accent,outline:He.outline,success:He.success,danger:He.danger,warning:He.warning,info:He.info},l={sm:He.sm,md:He.md,lg:He.lg},h=[He.button,d[t]??"",l[n]??"",o].filter(Boolean).join(" ");return c.jsx("button",{type:i,className:h,...s,title:s.title||Y(r,typeof e=="string"?e:void 0),children:e})},Ab=({progress:e,size:t,strokeWidth:n,color:o="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:l,labelColor:h,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const m=n||t*.1;t+=m;const v=Math.min(5,Math.max(0,Math.floor(e))),f=t/2,M=(t-m)/2,_=2*Math.PI*M,L=_/5*(1-.1),w=_-L;return c.jsxs("div",{className:`circular-progress-container ${y}`,children:[c.jsxs("div",{className:"circular-progress",style:{width:t,height:t},children:[c.jsxs("svg",{width:t,height:t,children:[c.jsx("circle",{cx:f,cy:f,r:M-m/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((C,b)=>{const x=-90+b*72;return b>=v?null:c.jsx("circle",{cx:f,cy:f,r:M,fill:"transparent",stroke:o,strokeWidth:m,strokeLinecap:"butt",strokeDasharray:`${L} ${w}`,strokeDashoffset:0,transform:`rotate(${x} ${f} ${f})`,style:{transition:"stroke 0.3s ease"}},b)})]}),(s||d)&&c.jsxs("div",{className:"circular-progress-content",style:{color:r},children:[s&&c.jsx("div",{className:"circular-progress-text-top",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-bold)",...u},children:s}),d&&c.jsx("div",{className:"circular-progress-text-bottom",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",...p},children:d})]})]}),l&&c.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:h||r||"inherit"},children:l})]})},HA="_wrapper_12x8x_1",DA="_list_12x8x_12",BA="_item_12x8x_22",RA="_badge_12x8x_30",FA="_text_12x8x_42",EA="_tooltip_12x8x_49",et={wrapper:HA,list:DA,item:BA,badge:RA,text:FA,tooltip:EA};function hj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:o="#000",bgColor:i="transparent",activateTooltip:r=!0,maxVisible:s=3,width:d="auto",gap:l=0}){const[h,u]=k.useState(!1),[p,y]=k.useState(null),m=k.useRef(null);k.useEffect(()=>{function _(g){g.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[h]),k.useEffect(()=>{function _(g){m.current&&!m.current.contains(g.target)&&u(!1)}return h&&document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[h]);function v(_){r&&(_.preventDefault(),y({x:_.clientX,y:_.clientY}),u(!0))}const f=e.slice(0,s),M=_=>typeof _=="number"?`${_}px`:_;return c.jsxs("div",{className:et.wrapper,style:{width:M(d),background:i,...t,"--gap":M(l)},onContextMenu:v,"aria-label":"liste-badges",children:[c.jsx("ul",{className:et.list,children:f.map((_,g)=>c.jsxs("li",{className:et.item,children:[c.jsx("span",{className:et.badge,style:{backgroundColor:_.badgeColor??n},"aria-hidden":!0}),c.jsx("span",{className:et.text,style:{color:_.textColor??o},children:_.text})]},g))}),r&&h&&p&&c.jsx("div",{className:et.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":M(l)},role:"dialog","aria-modal":"false",ref:m,children:c.jsx("ul",{className:et.list,children:e.map((_,g)=>c.jsxs("li",{className:et.item,children:[c.jsx("span",{className:et.badge,style:{backgroundColor:_.badgeColor??n}}),c.jsx("span",{className:et.text,style:{color:_.textColor??"#000"},children:_.text})]},g))})})]})}/**
|
|
2
2
|
* @license lucide-react v0.540.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8158,7 +8158,7 @@
|
|
|
8158
8158
|
*
|
|
8159
8159
|
* This source code is licensed under the ISC license.
|
|
8160
8160
|
* See the LICENSE file in the root directory of this source tree.
|
|
8161
|
-
*/const ut=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:J1,AArrowDownIcon:J1,AArrowUp:Q1,AArrowUpIcon:Q1,ALargeSmall:ei,ALargeSmallIcon:ei,Accessibility:p1,AccessibilityIcon:p1,Activity:y1,ActivityIcon:y1,ActivitySquare:bt,ActivitySquareIcon:bt,AirVent:ti,AirVentIcon:ti,Airplay:ai,AirplayIcon:ai,AlarmCheck:Ht,AlarmCheckIcon:Ht,AlarmClock:oi,AlarmClockCheck:Ht,AlarmClockCheckIcon:Ht,AlarmClockIcon:oi,AlarmClockMinus:Dt,AlarmClockMinusIcon:Dt,AlarmClockOff:ni,AlarmClockOffIcon:ni,AlarmClockPlus:Bt,AlarmClockPlusIcon:Bt,AlarmMinus:Dt,AlarmMinusIcon:Dt,AlarmPlus:Bt,AlarmPlusIcon:Bt,AlarmSmoke:ci,AlarmSmokeIcon:ci,Album:ii,AlbumIcon:ii,AlertCircle:ya,AlertCircleIcon:ya,AlertOctagon:Tn,AlertOctagonIcon:Tn,AlertTriangle:sc,AlertTriangleIcon:sc,AlignCenter:ui,AlignCenterHorizontal:ri,AlignCenterHorizontalIcon:ri,AlignCenterIcon:ui,AlignCenterVertical:si,AlignCenterVerticalIcon:si,AlignEndHorizontal:di,AlignEndHorizontalIcon:di,AlignEndVertical:li,AlignEndVerticalIcon:li,AlignHorizontalDistributeCenter:hi,AlignHorizontalDistributeCenterIcon:hi,AlignHorizontalDistributeEnd:pi,AlignHorizontalDistributeEndIcon:pi,AlignHorizontalDistributeStart:yi,AlignHorizontalDistributeStartIcon:yi,AlignHorizontalJustifyCenter:ki,AlignHorizontalJustifyCenterIcon:ki,AlignHorizontalJustifyEnd:mi,AlignHorizontalJustifyEndIcon:mi,AlignHorizontalJustifyStart:fi,AlignHorizontalJustifyStartIcon:fi,AlignHorizontalSpaceAround:gi,AlignHorizontalSpaceAroundIcon:gi,AlignHorizontalSpaceBetween:Mi,AlignHorizontalSpaceBetweenIcon:Mi,AlignJustify:vi,AlignJustifyIcon:vi,AlignLeft:_i,AlignLeftIcon:_i,AlignRight:xi,AlignRightIcon:xi,AlignStartHorizontal:Li,AlignStartHorizontalIcon:Li,AlignStartVertical:Ii,AlignStartVerticalIcon:Ii,AlignVerticalDistributeCenter:wi,AlignVerticalDistributeCenterIcon:wi,AlignVerticalDistributeEnd:bi,AlignVerticalDistributeEndIcon:bi,AlignVerticalDistributeStart:Ni,AlignVerticalDistributeStartIcon:Ni,AlignVerticalJustifyCenter:Ci,AlignVerticalJustifyCenterIcon:Ci,AlignVerticalJustifyEnd:Si,AlignVerticalJustifyEndIcon:Si,AlignVerticalJustifyStart:ji,AlignVerticalJustifyStartIcon:ji,AlignVerticalSpaceAround:qi,AlignVerticalSpaceAroundIcon:qi,AlignVerticalSpaceBetween:$i,AlignVerticalSpaceBetweenIcon:$i,Ambulance:Ai,AmbulanceIcon:Ai,Ampersand:zi,AmpersandIcon:zi,Ampersands:Vi,AmpersandsIcon:Vi,Amphora:Pi,AmphoraIcon:Pi,Anchor:Ti,AnchorIcon:Ti,Angry:Hi,AngryIcon:Hi,Annoyed:Di,AnnoyedIcon:Di,Antenna:Bi,AntennaIcon:Bi,Anvil:Ri,AnvilIcon:Ri,Aperture:Fi,ApertureIcon:Fi,AppWindow:Oi,AppWindowIcon:Oi,AppWindowMac:Ei,AppWindowMacIcon:Ei,Apple:Ui,AppleIcon:Ui,Archive:Zi,ArchiveIcon:Zi,ArchiveRestore:Wi,ArchiveRestoreIcon:Wi,ArchiveX:Gi,ArchiveXIcon:Gi,AreaChart:ta,AreaChartIcon:ta,Armchair:Ki,ArmchairIcon:Ki,ArrowBigDown:Yi,ArrowBigDownDash:Xi,ArrowBigDownDashIcon:Xi,ArrowBigDownIcon:Yi,ArrowBigLeft:Qi,ArrowBigLeftDash:Ji,ArrowBigLeftDashIcon:Ji,ArrowBigLeftIcon:Qi,ArrowBigRight:tr,ArrowBigRightDash:er,ArrowBigRightDashIcon:er,ArrowBigRightIcon:tr,ArrowBigUp:nr,ArrowBigUpDash:ar,ArrowBigUpDashIcon:ar,ArrowBigUpIcon:nr,ArrowDown:pr,ArrowDown01:or,ArrowDown01Icon:or,ArrowDown10:cr,ArrowDown10Icon:cr,ArrowDownAZ:Rt,ArrowDownAZIcon:Rt,ArrowDownAz:Rt,ArrowDownAzIcon:Rt,ArrowDownCircle:ka,ArrowDownCircleIcon:ka,ArrowDownFromLine:ir,ArrowDownFromLineIcon:ir,ArrowDownIcon:pr,ArrowDownLeft:rr,ArrowDownLeftFromCircle:fa,ArrowDownLeftFromCircleIcon:fa,ArrowDownLeftFromSquare:ho,ArrowDownLeftFromSquareIcon:ho,ArrowDownLeftIcon:rr,ArrowDownLeftSquare:io,ArrowDownLeftSquareIcon:io,ArrowDownNarrowWide:sr,ArrowDownNarrowWideIcon:sr,ArrowDownRight:dr,ArrowDownRightFromCircle:ga,ArrowDownRightFromCircleIcon:ga,ArrowDownRightFromSquare:uo,ArrowDownRightFromSquareIcon:uo,ArrowDownRightIcon:dr,ArrowDownRightSquare:ro,ArrowDownRightSquareIcon:ro,ArrowDownSquare:so,ArrowDownSquareIcon:so,ArrowDownToDot:lr,ArrowDownToDotIcon:lr,ArrowDownToLine:hr,ArrowDownToLineIcon:hr,ArrowDownUp:ur,ArrowDownUpIcon:ur,ArrowDownWideNarrow:Ft,ArrowDownWideNarrowIcon:Ft,ArrowDownZA:Et,ArrowDownZAIcon:Et,ArrowDownZa:Et,ArrowDownZaIcon:Et,ArrowLeft:fr,ArrowLeftCircle:ma,ArrowLeftCircleIcon:ma,ArrowLeftFromLine:yr,ArrowLeftFromLineIcon:yr,ArrowLeftIcon:fr,ArrowLeftRight:kr,ArrowLeftRightIcon:kr,ArrowLeftSquare:lo,ArrowLeftSquareIcon:lo,ArrowLeftToLine:mr,ArrowLeftToLineIcon:mr,ArrowRight:_r,ArrowRightCircle:_a,ArrowRightCircleIcon:_a,ArrowRightFromLine:gr,ArrowRightFromLineIcon:gr,ArrowRightIcon:_r,ArrowRightLeft:vr,ArrowRightLeftIcon:vr,ArrowRightSquare:ko,ArrowRightSquareIcon:ko,ArrowRightToLine:Mr,ArrowRightToLineIcon:Mr,ArrowUp:$r,ArrowUp01:xr,ArrowUp01Icon:xr,ArrowUp10:Lr,ArrowUp10Icon:Lr,ArrowUpAZ:Ot,ArrowUpAZIcon:Ot,ArrowUpAz:Ot,ArrowUpAzIcon:Ot,ArrowUpCircle:xa,ArrowUpCircleIcon:xa,ArrowUpDown:Ir,ArrowUpDownIcon:Ir,ArrowUpFromDot:br,ArrowUpFromDotIcon:br,ArrowUpFromLine:wr,ArrowUpFromLineIcon:wr,ArrowUpIcon:$r,ArrowUpLeft:Cr,ArrowUpLeftFromCircle:va,ArrowUpLeftFromCircleIcon:va,ArrowUpLeftFromSquare:po,ArrowUpLeftFromSquareIcon:po,ArrowUpLeftIcon:Cr,ArrowUpLeftSquare:mo,ArrowUpLeftSquareIcon:mo,ArrowUpNarrowWide:Ut,ArrowUpNarrowWideIcon:Ut,ArrowUpRight:Nr,ArrowUpRightFromCircle:Ma,ArrowUpRightFromCircleIcon:Ma,ArrowUpRightFromSquare:yo,ArrowUpRightFromSquareIcon:yo,ArrowUpRightIcon:Nr,ArrowUpRightSquare:fo,ArrowUpRightSquareIcon:fo,ArrowUpSquare:go,ArrowUpSquareIcon:go,ArrowUpToLine:Sr,ArrowUpToLineIcon:Sr,ArrowUpWideNarrow:jr,ArrowUpWideNarrowIcon:jr,ArrowUpZA:Wt,ArrowUpZAIcon:Wt,ArrowUpZa:Wt,ArrowUpZaIcon:Wt,ArrowsUpFromLine:qr,ArrowsUpFromLineIcon:qr,Asterisk:Ar,AsteriskIcon:Ar,AsteriskSquare:vo,AsteriskSquareIcon:vo,AtSign:zr,AtSignIcon:zr,Atom:Vr,AtomIcon:Vr,AudioLines:Pr,AudioLinesIcon:Pr,AudioWaveform:Tr,AudioWaveformIcon:Tr,Award:Hr,AwardIcon:Hr,Axe:Dr,AxeIcon:Dr,Axis3D:Gt,Axis3DIcon:Gt,Axis3d:Gt,Axis3dIcon:Gt,Baby:Br,BabyIcon:Br,Backpack:Rr,BackpackIcon:Rr,Badge:ns,BadgeAlert:Fr,BadgeAlertIcon:Fr,BadgeCent:Er,BadgeCentIcon:Er,BadgeCheck:Zt,BadgeCheckIcon:Zt,BadgeDollarSign:Or,BadgeDollarSignIcon:Or,BadgeEuro:Ur,BadgeEuroIcon:Ur,BadgeHelp:Kt,BadgeHelpIcon:Kt,BadgeIcon:ns,BadgeIndianRupee:Wr,BadgeIndianRupeeIcon:Wr,BadgeInfo:Gr,BadgeInfoIcon:Gr,BadgeJapaneseYen:Kr,BadgeJapaneseYenIcon:Kr,BadgeMinus:Zr,BadgeMinusIcon:Zr,BadgePercent:Xr,BadgePercentIcon:Xr,BadgePlus:Yr,BadgePlusIcon:Yr,BadgePoundSterling:Jr,BadgePoundSterlingIcon:Jr,BadgeQuestionMark:Kt,BadgeQuestionMarkIcon:Kt,BadgeRussianRuble:Qr,BadgeRussianRubleIcon:Qr,BadgeSwissFranc:es,BadgeSwissFrancIcon:es,BadgeTurkishLira:ts,BadgeTurkishLiraIcon:ts,BadgeX:as,BadgeXIcon:as,BaggageClaim:os,BaggageClaimIcon:os,Ban:cs,BanIcon:cs,Banana:is,BananaIcon:is,Bandage:rs,BandageIcon:rs,Banknote:hs,BanknoteArrowDown:ss,BanknoteArrowDownIcon:ss,BanknoteArrowUp:ds,BanknoteArrowUpIcon:ds,BanknoteIcon:hs,BanknoteX:ls,BanknoteXIcon:ls,BarChart:da,BarChart2:la,BarChart2Icon:la,BarChart3:ra,BarChart3Icon:ra,BarChart4:ia,BarChart4Icon:ia,BarChartBig:ca,BarChartBigIcon:ca,BarChartHorizontal:na,BarChartHorizontalBig:aa,BarChartHorizontalBigIcon:aa,BarChartHorizontalIcon:na,BarChartIcon:da,Barcode:us,BarcodeIcon:us,Barrel:ps,BarrelIcon:ps,Baseline:ys,BaselineIcon:ys,Bath:ks,BathIcon:ks,Battery:xs,BatteryCharging:ms,BatteryChargingIcon:ms,BatteryFull:fs,BatteryFullIcon:fs,BatteryIcon:xs,BatteryLow:gs,BatteryLowIcon:gs,BatteryMedium:vs,BatteryMediumIcon:vs,BatteryPlus:Ms,BatteryPlusIcon:Ms,BatteryWarning:_s,BatteryWarningIcon:_s,Beaker:Ls,BeakerIcon:Ls,Bean:bs,BeanIcon:bs,BeanOff:Is,BeanOffIcon:Is,Bed:Ns,BedDouble:ws,BedDoubleIcon:ws,BedIcon:Ns,BedSingle:Cs,BedSingleIcon:Cs,Beef:Ss,BeefIcon:Ss,Beer:$s,BeerIcon:$s,BeerOff:js,BeerOffIcon:js,Bell:Ts,BellDot:qs,BellDotIcon:qs,BellElectric:As,BellElectricIcon:As,BellIcon:Ts,BellMinus:zs,BellMinusIcon:zs,BellOff:Vs,BellOffIcon:Vs,BellPlus:Ps,BellPlusIcon:Ps,BellRing:Hs,BellRingIcon:Hs,BetweenHorizonalEnd:Xt,BetweenHorizonalEndIcon:Xt,BetweenHorizonalStart:Yt,BetweenHorizonalStartIcon:Yt,BetweenHorizontalEnd:Xt,BetweenHorizontalEndIcon:Xt,BetweenHorizontalStart:Yt,BetweenHorizontalStartIcon:Yt,BetweenVerticalEnd:Bs,BetweenVerticalEndIcon:Bs,BetweenVerticalStart:Ds,BetweenVerticalStartIcon:Ds,BicepsFlexed:Rs,BicepsFlexedIcon:Rs,Bike:Es,BikeIcon:Es,Binary:Fs,BinaryIcon:Fs,Binoculars:Os,BinocularsIcon:Os,Biohazard:Us,BiohazardIcon:Us,Bird:Ws,BirdIcon:Ws,Bitcoin:Gs,BitcoinIcon:Gs,Blend:Zs,BlendIcon:Zs,Blinds:Ks,BlindsIcon:Ks,Blocks:Xs,BlocksIcon:Xs,Bluetooth:e2,BluetoothConnected:Ys,BluetoothConnectedIcon:Ys,BluetoothIcon:e2,BluetoothOff:Js,BluetoothOffIcon:Js,BluetoothSearching:Qs,BluetoothSearchingIcon:Qs,Bold:t2,BoldIcon:t2,Bolt:a2,BoltIcon:a2,Bomb:n2,BombIcon:n2,Bone:o2,BoneIcon:o2,Book:N2,BookA:c2,BookAIcon:c2,BookAlert:i2,BookAlertIcon:i2,BookAudio:r2,BookAudioIcon:r2,BookCheck:s2,BookCheckIcon:s2,BookCopy:d2,BookCopyIcon:d2,BookDashed:Jt,BookDashedIcon:Jt,BookDown:l2,BookDownIcon:l2,BookHeadphones:h2,BookHeadphonesIcon:h2,BookHeart:u2,BookHeartIcon:u2,BookIcon:N2,BookImage:p2,BookImageIcon:p2,BookKey:y2,BookKeyIcon:y2,BookLock:k2,BookLockIcon:k2,BookMarked:f2,BookMarkedIcon:f2,BookMinus:m2,BookMinusIcon:m2,BookOpen:M2,BookOpenCheck:g2,BookOpenCheckIcon:g2,BookOpenIcon:M2,BookOpenText:v2,BookOpenTextIcon:v2,BookPlus:_2,BookPlusIcon:_2,BookTemplate:Jt,BookTemplateIcon:Jt,BookText:x2,BookTextIcon:x2,BookType:L2,BookTypeIcon:L2,BookUp:b2,BookUp2:I2,BookUp2Icon:I2,BookUpIcon:b2,BookUser:w2,BookUserIcon:w2,BookX:C2,BookXIcon:C2,Bookmark:A2,BookmarkCheck:S2,BookmarkCheckIcon:S2,BookmarkIcon:A2,BookmarkMinus:j2,BookmarkMinusIcon:j2,BookmarkPlus:$2,BookmarkPlusIcon:$2,BookmarkX:q2,BookmarkXIcon:q2,BoomBox:z2,BoomBoxIcon:z2,Bot:T2,BotIcon:T2,BotMessageSquare:V2,BotMessageSquareIcon:V2,BotOff:P2,BotOffIcon:P2,BottleWine:H2,BottleWineIcon:H2,BowArrow:D2,BowArrowIcon:D2,Box:B2,BoxIcon:B2,BoxSelect:jo,BoxSelectIcon:jo,Boxes:R2,BoxesIcon:R2,Braces:Qt,BracesIcon:Qt,Brackets:F2,BracketsIcon:F2,Brain:U2,BrainCircuit:E2,BrainCircuitIcon:E2,BrainCog:O2,BrainCogIcon:O2,BrainIcon:U2,BrickWall:Z2,BrickWallFire:W2,BrickWallFireIcon:W2,BrickWallIcon:Z2,BrickWallShield:G2,BrickWallShieldIcon:G2,Briefcase:J2,BriefcaseBusiness:K2,BriefcaseBusinessIcon:K2,BriefcaseConveyorBelt:X2,BriefcaseConveyorBeltIcon:X2,BriefcaseIcon:J2,BriefcaseMedical:Y2,BriefcaseMedicalIcon:Y2,BringToFront:Q2,BringToFrontIcon:Q2,Brush:td,BrushCleaning:ed,BrushCleaningIcon:ed,BrushIcon:td,Bubbles:ad,BubblesIcon:ad,Bug:id,BugIcon:id,BugOff:nd,BugOffIcon:nd,BugPlay:od,BugPlayIcon:od,Building:rd,Building2:cd,Building2Icon:cd,BuildingIcon:rd,Bus:dd,BusFront:sd,BusFrontIcon:sd,BusIcon:dd,Cable:hd,CableCar:ld,CableCarIcon:ld,CableIcon:hd,Cake:pd,CakeIcon:pd,CakeSlice:ud,CakeSliceIcon:ud,Calculator:yd,CalculatorIcon:yd,Calendar:k1,Calendar1:kd,Calendar1Icon:kd,CalendarArrowDown:md,CalendarArrowDownIcon:md,CalendarArrowUp:fd,CalendarArrowUpIcon:fd,CalendarCheck:vd,CalendarCheck2:gd,CalendarCheck2Icon:gd,CalendarCheckIcon:vd,CalendarClock:Md,CalendarClockIcon:Md,CalendarCog:_d,CalendarCogIcon:_d,CalendarDays:xd,CalendarDaysIcon:xd,CalendarFold:Ld,CalendarFoldIcon:Ld,CalendarHeart:Id,CalendarHeartIcon:Id,CalendarIcon:k1,CalendarMinus:wd,CalendarMinus2:bd,CalendarMinus2Icon:bd,CalendarMinusIcon:wd,CalendarOff:Cd,CalendarOffIcon:Cd,CalendarPlus:Sd,CalendarPlus2:Nd,CalendarPlus2Icon:Nd,CalendarPlusIcon:Sd,CalendarRange:jd,CalendarRangeIcon:jd,CalendarSearch:$d,CalendarSearchIcon:$d,CalendarSync:qd,CalendarSyncIcon:qd,CalendarX:zd,CalendarX2:Ad,CalendarX2Icon:Ad,CalendarXIcon:zd,Camera:Pd,CameraIcon:Pd,CameraOff:Vd,CameraOffIcon:Vd,CandlestickChart:oa,CandlestickChartIcon:oa,Candy:Dd,CandyCane:Td,CandyCaneIcon:Td,CandyIcon:Dd,CandyOff:Hd,CandyOffIcon:Hd,Cannabis:Bd,CannabisIcon:Bd,Captions:ea,CaptionsIcon:ea,CaptionsOff:Rd,CaptionsOffIcon:Rd,Car:Od,CarFront:Fd,CarFrontIcon:Fd,CarIcon:Od,CarTaxiFront:Ed,CarTaxiFrontIcon:Ed,Caravan:Ud,CaravanIcon:Ud,CardSim:Wd,CardSimIcon:Wd,Carrot:Gd,CarrotIcon:Gd,CaseLower:Zd,CaseLowerIcon:Zd,CaseSensitive:Kd,CaseSensitiveIcon:Kd,CaseUpper:Xd,CaseUpperIcon:Xd,CassetteTape:Yd,CassetteTapeIcon:Yd,Cast:Jd,CastIcon:Jd,Castle:e0,CastleIcon:e0,Cat:Qd,CatIcon:Qd,Cctv:t0,CctvIcon:t0,ChartArea:ta,ChartAreaIcon:ta,ChartBar:na,ChartBarBig:aa,ChartBarBigIcon:aa,ChartBarDecreasing:a0,ChartBarDecreasingIcon:a0,ChartBarIcon:na,ChartBarIncreasing:n0,ChartBarIncreasingIcon:n0,ChartBarStacked:o0,ChartBarStackedIcon:o0,ChartCandlestick:oa,ChartCandlestickIcon:oa,ChartColumn:ra,ChartColumnBig:ca,ChartColumnBigIcon:ca,ChartColumnDecreasing:c0,ChartColumnDecreasingIcon:c0,ChartColumnIcon:ra,ChartColumnIncreasing:ia,ChartColumnIncreasingIcon:ia,ChartColumnStacked:i0,ChartColumnStackedIcon:i0,ChartGantt:r0,ChartGanttIcon:r0,ChartLine:sa,ChartLineIcon:sa,ChartNetwork:s0,ChartNetworkIcon:s0,ChartNoAxesColumn:la,ChartNoAxesColumnDecreasing:d0,ChartNoAxesColumnDecreasingIcon:d0,ChartNoAxesColumnIcon:la,ChartNoAxesColumnIncreasing:da,ChartNoAxesColumnIncreasingIcon:da,ChartNoAxesCombined:l0,ChartNoAxesCombinedIcon:l0,ChartNoAxesGantt:ha,ChartNoAxesGanttIcon:ha,ChartPie:ua,ChartPieIcon:ua,ChartScatter:pa,ChartScatterIcon:pa,ChartSpline:h0,ChartSplineIcon:h0,Check:m1,CheckCheck:u0,CheckCheckIcon:u0,CheckCircle:La,CheckCircle2:Ia,CheckCircle2Icon:Ia,CheckCircleIcon:La,CheckIcon:m1,CheckLine:p0,CheckLineIcon:p0,CheckSquare:_o,CheckSquare2:xo,CheckSquare2Icon:xo,CheckSquareIcon:_o,ChefHat:y0,ChefHatIcon:y0,Cherry:k0,CherryIcon:k0,ChevronDown:St,ChevronDownCircle:ba,ChevronDownCircleIcon:ba,ChevronDownIcon:St,ChevronDownSquare:Lo,ChevronDownSquareIcon:Lo,ChevronFirst:m0,ChevronFirstIcon:m0,ChevronLast:f0,ChevronLastIcon:f0,ChevronLeft:g0,ChevronLeftCircle:wa,ChevronLeftCircleIcon:wa,ChevronLeftIcon:g0,ChevronLeftSquare:Io,ChevronLeftSquareIcon:Io,ChevronRight:f1,ChevronRightCircle:Ca,ChevronRightCircleIcon:Ca,ChevronRightIcon:f1,ChevronRightSquare:bo,ChevronRightSquareIcon:bo,ChevronUp:wc,ChevronUpCircle:Na,ChevronUpCircleIcon:Na,ChevronUpIcon:wc,ChevronUpSquare:wo,ChevronUpSquareIcon:wo,ChevronsDown:M0,ChevronsDownIcon:M0,ChevronsDownUp:v0,ChevronsDownUpIcon:v0,ChevronsLeft:x0,ChevronsLeftIcon:x0,ChevronsLeftRight:_0,ChevronsLeftRightEllipsis:L0,ChevronsLeftRightEllipsisIcon:L0,ChevronsLeftRightIcon:_0,ChevronsRight:b0,ChevronsRightIcon:b0,ChevronsRightLeft:I0,ChevronsRightLeftIcon:I0,ChevronsUp:w0,ChevronsUpDown:Uc,ChevronsUpDownIcon:Uc,ChevronsUpIcon:w0,Chrome:C0,ChromeIcon:C0,Church:N0,ChurchIcon:N0,Cigarette:j0,CigaretteIcon:j0,CigaretteOff:S0,CigaretteOffIcon:S0,Circle:O0,CircleAlert:ya,CircleAlertIcon:ya,CircleArrowDown:ka,CircleArrowDownIcon:ka,CircleArrowLeft:ma,CircleArrowLeftIcon:ma,CircleArrowOutDownLeft:fa,CircleArrowOutDownLeftIcon:fa,CircleArrowOutDownRight:ga,CircleArrowOutDownRightIcon:ga,CircleArrowOutUpLeft:va,CircleArrowOutUpLeftIcon:va,CircleArrowOutUpRight:Ma,CircleArrowOutUpRightIcon:Ma,CircleArrowRight:_a,CircleArrowRightIcon:_a,CircleArrowUp:xa,CircleArrowUpIcon:xa,CircleCheck:Ia,CircleCheckBig:La,CircleCheckBigIcon:La,CircleCheckIcon:Ia,CircleChevronDown:ba,CircleChevronDownIcon:ba,CircleChevronLeft:wa,CircleChevronLeftIcon:wa,CircleChevronRight:Ca,CircleChevronRightIcon:Ca,CircleChevronUp:Na,CircleChevronUpIcon:Na,CircleDashed:$0,CircleDashedIcon:$0,CircleDivide:Sa,CircleDivideIcon:Sa,CircleDollarSign:A0,CircleDollarSignIcon:A0,CircleDot:z0,CircleDotDashed:q0,CircleDotDashedIcon:q0,CircleDotIcon:z0,CircleEllipsis:V0,CircleEllipsisIcon:V0,CircleEqual:P0,CircleEqualIcon:P0,CircleFadingArrowUp:H0,CircleFadingArrowUpIcon:H0,CircleFadingPlus:T0,CircleFadingPlusIcon:T0,CircleGauge:ja,CircleGaugeIcon:ja,CircleHelp:at,CircleHelpIcon:at,CircleIcon:O0,CircleMinus:$a,CircleMinusIcon:$a,CircleOff:D0,CircleOffIcon:D0,CircleParking:za,CircleParkingIcon:za,CircleParkingOff:qa,CircleParkingOffIcon:qa,CirclePause:Aa,CirclePauseIcon:Aa,CirclePercent:Va,CirclePercentIcon:Va,CirclePlay:Pa,CirclePlayIcon:Pa,CirclePlus:Ta,CirclePlusIcon:Ta,CirclePoundSterling:B0,CirclePoundSterlingIcon:B0,CirclePower:Ha,CirclePowerIcon:Ha,CircleQuestionMark:at,CircleQuestionMarkIcon:at,CircleSlash:R0,CircleSlash2:Da,CircleSlash2Icon:Da,CircleSlashIcon:R0,CircleSlashed:Da,CircleSlashedIcon:Da,CircleSmall:F0,CircleSmallIcon:F0,CircleStar:E0,CircleStarIcon:E0,CircleStop:Ba,CircleStopIcon:Ba,CircleUser:Fa,CircleUserIcon:Fa,CircleUserRound:Ra,CircleUserRoundIcon:Ra,CircleX:xt,CircleXIcon:xt,CircuitBoard:U0,CircuitBoardIcon:U0,Citrus:W0,CitrusIcon:W0,Clapperboard:G0,ClapperboardIcon:G0,Clipboard:nl,ClipboardCheck:Z0,ClipboardCheckIcon:Z0,ClipboardClock:K0,ClipboardClockIcon:K0,ClipboardCopy:X0,ClipboardCopyIcon:X0,ClipboardEdit:Oa,ClipboardEditIcon:Oa,ClipboardIcon:nl,ClipboardList:Y0,ClipboardListIcon:Y0,ClipboardMinus:J0,ClipboardMinusIcon:J0,ClipboardPaste:Q0,ClipboardPasteIcon:Q0,ClipboardPen:Oa,ClipboardPenIcon:Oa,ClipboardPenLine:Ea,ClipboardPenLineIcon:Ea,ClipboardPlus:el,ClipboardPlusIcon:el,ClipboardSignature:Ea,ClipboardSignatureIcon:Ea,ClipboardType:tl,ClipboardTypeIcon:tl,ClipboardX:al,ClipboardXIcon:al,Clock:_l,Clock1:cl,Clock10:ol,Clock10Icon:ol,Clock11:il,Clock11Icon:il,Clock12:rl,Clock12Icon:rl,Clock1Icon:cl,Clock2:sl,Clock2Icon:sl,Clock3:dl,Clock3Icon:dl,Clock4:ll,Clock4Icon:ll,Clock5:hl,Clock5Icon:hl,Clock6:ul,Clock6Icon:ul,Clock7:pl,Clock7Icon:pl,Clock8:yl,Clock8Icon:yl,Clock9:kl,Clock9Icon:kl,ClockAlert:ml,ClockAlertIcon:ml,ClockArrowDown:fl,ClockArrowDownIcon:fl,ClockArrowUp:gl,ClockArrowUpIcon:gl,ClockFading:vl,ClockFadingIcon:vl,ClockIcon:_l,ClockPlus:Ml,ClockPlusIcon:Ml,ClosedCaption:xl,ClosedCaptionIcon:xl,Cloud:Hl,CloudAlert:Ll,CloudAlertIcon:Ll,CloudCheck:Il,CloudCheckIcon:Il,CloudCog:bl,CloudCogIcon:bl,CloudDownload:Ua,CloudDownloadIcon:Ua,CloudDrizzle:wl,CloudDrizzleIcon:wl,CloudFog:Cl,CloudFogIcon:Cl,CloudHail:Nl,CloudHailIcon:Nl,CloudIcon:Hl,CloudLightning:Sl,CloudLightningIcon:Sl,CloudMoon:$l,CloudMoonIcon:$l,CloudMoonRain:jl,CloudMoonRainIcon:jl,CloudOff:ql,CloudOffIcon:ql,CloudRain:zl,CloudRainIcon:zl,CloudRainWind:Al,CloudRainWindIcon:Al,CloudSnow:Vl,CloudSnowIcon:Vl,CloudSun:Tl,CloudSunIcon:Tl,CloudSunRain:Pl,CloudSunRainIcon:Pl,CloudUpload:Wa,CloudUploadIcon:Wa,Cloudy:Dl,CloudyIcon:Dl,Clover:Bl,CloverIcon:Bl,Club:Rl,ClubIcon:Rl,Code:Fl,Code2:Ga,Code2Icon:Ga,CodeIcon:Fl,CodeSquare:Co,CodeSquareIcon:Co,CodeXml:Ga,CodeXmlIcon:Ga,Codepen:El,CodepenIcon:El,Codesandbox:Ol,CodesandboxIcon:Ol,Coffee:Ul,CoffeeIcon:Ul,Cog:Wl,CogIcon:Wl,Coins:Gl,CoinsIcon:Gl,Columns:Za,Columns2:Za,Columns2Icon:Za,Columns3:Ka,Columns3Cog:nt,Columns3CogIcon:nt,Columns3Icon:Ka,Columns4:Zl,Columns4Icon:Zl,ColumnsIcon:Za,ColumnsSettings:nt,ColumnsSettingsIcon:nt,Combine:Kl,CombineIcon:Kl,Command:Xl,CommandIcon:Xl,Compass:Yl,CompassIcon:Yl,Component:Jl,ComponentIcon:Jl,Computer:Ql,ComputerIcon:Ql,ConciergeBell:eh,ConciergeBellIcon:eh,Cone:th,ConeIcon:th,Construction:ah,ConstructionIcon:ah,Contact:nh,Contact2:Xa,Contact2Icon:Xa,ContactIcon:nh,ContactRound:Xa,ContactRoundIcon:Xa,Container:oh,ContainerIcon:oh,Contrast:ih,ContrastIcon:ih,Cookie:ch,CookieIcon:ch,CookingPot:sh,CookingPotIcon:sh,Copy:ph,CopyCheck:rh,CopyCheckIcon:rh,CopyIcon:ph,CopyMinus:dh,CopyMinusIcon:dh,CopyPlus:lh,CopyPlusIcon:lh,CopySlash:hh,CopySlashIcon:hh,CopyX:uh,CopyXIcon:uh,Copyleft:yh,CopyleftIcon:yh,Copyright:kh,CopyrightIcon:kh,CornerDownLeft:mh,CornerDownLeftIcon:mh,CornerDownRight:fh,CornerDownRightIcon:fh,CornerLeftDown:gh,CornerLeftDownIcon:gh,CornerLeftUp:vh,CornerLeftUpIcon:vh,CornerRightDown:Mh,CornerRightDownIcon:Mh,CornerRightUp:_h,CornerRightUpIcon:_h,CornerUpLeft:xh,CornerUpLeftIcon:xh,CornerUpRight:Lh,CornerUpRightIcon:Lh,Cpu:Ih,CpuIcon:Ih,CreativeCommons:bh,CreativeCommonsIcon:bh,CreditCard:wh,CreditCardIcon:wh,Croissant:Ch,CroissantIcon:Ch,Crop:Nh,CropIcon:Nh,Cross:Sh,CrossIcon:Sh,Crosshair:jh,CrosshairIcon:jh,Crown:$h,CrownIcon:$h,Cuboid:qh,CuboidIcon:qh,CupSoda:Ah,CupSodaIcon:Ah,CurlyBraces:Qt,CurlyBracesIcon:Qt,Currency:zh,CurrencyIcon:zh,Cylinder:Vh,CylinderIcon:Vh,Dam:Ph,DamIcon:Ph,Database:Dh,DatabaseBackup:Th,DatabaseBackupIcon:Th,DatabaseIcon:Dh,DatabaseZap:Hh,DatabaseZapIcon:Hh,DecimalsArrowLeft:Bh,DecimalsArrowLeftIcon:Bh,DecimalsArrowRight:Rh,DecimalsArrowRightIcon:Rh,Delete:Fh,DeleteIcon:Fh,Dessert:Eh,DessertIcon:Eh,Diameter:Oh,DiameterIcon:Oh,Diamond:Gh,DiamondIcon:Gh,DiamondMinus:Uh,DiamondMinusIcon:Uh,DiamondPercent:Ya,DiamondPercentIcon:Ya,DiamondPlus:Wh,DiamondPlusIcon:Wh,Dice1:Zh,Dice1Icon:Zh,Dice2:Kh,Dice2Icon:Kh,Dice3:Xh,Dice3Icon:Xh,Dice4:Yh,Dice4Icon:Yh,Dice5:Jh,Dice5Icon:Jh,Dice6:Qh,Dice6Icon:Qh,Dices:eu,DicesIcon:eu,Diff:tu,DiffIcon:tu,Disc:cu,Disc2:au,Disc2Icon:au,Disc3:nu,Disc3Icon:nu,DiscAlbum:ou,DiscAlbumIcon:ou,DiscIcon:cu,Divide:iu,DivideCircle:Sa,DivideCircleIcon:Sa,DivideIcon:iu,DivideSquare:$o,DivideSquareIcon:$o,Dna:su,DnaIcon:su,DnaOff:ru,DnaOffIcon:ru,Dock:du,DockIcon:du,Dog:lu,DogIcon:lu,DollarSign:hu,DollarSignIcon:hu,Donut:uu,DonutIcon:uu,DoorClosed:yu,DoorClosedIcon:yu,DoorClosedLocked:pu,DoorClosedLockedIcon:pu,DoorOpen:ku,DoorOpenIcon:ku,Dot:mu,DotIcon:mu,DotSquare:Ao,DotSquareIcon:Ao,Download:gu,DownloadCloud:Ua,DownloadCloudIcon:Ua,DownloadIcon:gu,DraftingCompass:fu,DraftingCompassIcon:fu,Drama:vu,DramaIcon:vu,Dribbble:Mu,DribbbleIcon:Mu,Drill:_u,DrillIcon:_u,Drone:xu,DroneIcon:xu,Droplet:Iu,DropletIcon:Iu,DropletOff:Lu,DropletOffIcon:Lu,Droplets:bu,DropletsIcon:bu,Drum:wu,DrumIcon:wu,Drumstick:Cu,DrumstickIcon:Cu,Dumbbell:Nu,DumbbellIcon:Nu,Ear:ju,EarIcon:ju,EarOff:Su,EarOffIcon:Su,Earth:Ja,EarthIcon:Ja,EarthLock:$u,EarthLockIcon:$u,Eclipse:qu,EclipseIcon:qu,Edit:Te,Edit2:ht,Edit2Icon:ht,Edit3:lt,Edit3Icon:lt,EditIcon:Te,Egg:Vu,EggFried:Au,EggFriedIcon:Au,EggIcon:Vu,EggOff:zu,EggOffIcon:zu,Ellipsis:en,EllipsisIcon:en,EllipsisVertical:Qa,EllipsisVerticalIcon:Qa,Equal:Hu,EqualApproximately:Pu,EqualApproximatelyIcon:Pu,EqualIcon:Hu,EqualNot:Tu,EqualNotIcon:Tu,EqualSquare:qo,EqualSquareIcon:qo,Eraser:Du,EraserIcon:Du,EthernetPort:Bu,EthernetPortIcon:Bu,Euro:Ru,EuroIcon:Ru,Expand:Eu,ExpandIcon:Eu,ExternalLink:Fu,ExternalLinkIcon:Fu,Eye:v1,EyeClosed:Ou,EyeClosedIcon:Ou,EyeIcon:v1,EyeOff:g1,EyeOffIcon:g1,Facebook:Uu,FacebookIcon:Uu,Factory:Wu,FactoryIcon:Wu,Fan:Gu,FanIcon:Gu,FastForward:Zu,FastForwardIcon:Zu,Feather:Ku,FeatherIcon:Ku,Fence:Xu,FenceIcon:Xu,FerrisWheel:Yu,FerrisWheelIcon:Yu,Figma:Ju,FigmaIcon:Ju,File:Wp,FileArchive:Qu,FileArchiveIcon:Qu,FileAudio:tp,FileAudio2:ep,FileAudio2Icon:ep,FileAudioIcon:tp,FileAxis3D:tn,FileAxis3DIcon:tn,FileAxis3d:tn,FileAxis3dIcon:tn,FileBadge:op,FileBadge2:ap,FileBadge2Icon:ap,FileBadgeIcon:op,FileBarChart:an,FileBarChart2:nn,FileBarChart2Icon:nn,FileBarChartIcon:an,FileBox:np,FileBoxIcon:np,FileChartColumn:nn,FileChartColumnIcon:nn,FileChartColumnIncreasing:an,FileChartColumnIncreasingIcon:an,FileChartLine:on,FileChartLineIcon:on,FileChartPie:cn,FileChartPieIcon:cn,FileCheck:ip,FileCheck2:cp,FileCheck2Icon:cp,FileCheckIcon:ip,FileClock:rp,FileClockIcon:rp,FileCode:sp,FileCode2:dp,FileCode2Icon:dp,FileCodeIcon:sp,FileCog:rn,FileCog2:rn,FileCog2Icon:rn,FileCogIcon:rn,FileDiff:lp,FileDiffIcon:lp,FileDigit:hp,FileDigitIcon:hp,FileDown:up,FileDownIcon:up,FileEdit:dn,FileEditIcon:dn,FileHeart:pp,FileHeartIcon:pp,FileIcon:Wp,FileImage:yp,FileImageIcon:yp,FileInput:kp,FileInputIcon:kp,FileJson:fp,FileJson2:mp,FileJson2Icon:mp,FileJsonIcon:fp,FileKey:vp,FileKey2:gp,FileKey2Icon:gp,FileKeyIcon:vp,FileLineChart:on,FileLineChartIcon:on,FileLock:_p,FileLock2:Mp,FileLock2Icon:Mp,FileLockIcon:_p,FileMinus:Lp,FileMinus2:xp,FileMinus2Icon:xp,FileMinusIcon:Lp,FileMusic:Ip,FileMusicIcon:Ip,FileOutput:bp,FileOutputIcon:bp,FilePen:dn,FilePenIcon:dn,FilePenLine:sn,FilePenLineIcon:sn,FilePieChart:cn,FilePieChartIcon:cn,FilePlay:ln,FilePlayIcon:ln,FilePlus:Cp,FilePlus2:wp,FilePlus2Icon:wp,FilePlusIcon:Cp,FileQuestion:hn,FileQuestionIcon:hn,FileQuestionMark:hn,FileQuestionMarkIcon:hn,FileScan:Np,FileScanIcon:Np,FileSearch:jp,FileSearch2:Sp,FileSearch2Icon:Sp,FileSearchIcon:jp,FileSignature:sn,FileSignatureIcon:sn,FileSliders:$p,FileSlidersIcon:$p,FileSpreadsheet:qp,FileSpreadsheetIcon:qp,FileStack:Ap,FileStackIcon:Ap,FileSymlink:zp,FileSymlinkIcon:zp,FileTerminal:Vp,FileTerminalIcon:Vp,FileText:Pp,FileTextIcon:Pp,FileType:Hp,FileType2:Tp,FileType2Icon:Tp,FileTypeIcon:Hp,FileUp:Dp,FileUpIcon:Dp,FileUser:Bp,FileUserIcon:Bp,FileVideo:ln,FileVideo2:un,FileVideo2Icon:un,FileVideoCamera:un,FileVideoCameraIcon:un,FileVideoIcon:ln,FileVolume:Fp,FileVolume2:Rp,FileVolume2Icon:Rp,FileVolumeIcon:Fp,FileWarning:Ep,FileWarningIcon:Ep,FileX:Up,FileX2:Op,FileX2Icon:Op,FileXIcon:Up,Files:Gp,FilesIcon:Gp,Film:Zp,FilmIcon:Zp,Filter:Lt,FilterIcon:Lt,FilterX:kn,FilterXIcon:kn,Fingerprint:Kp,FingerprintIcon:Kp,FireExtinguisher:Xp,FireExtinguisherIcon:Xp,Fish:Jp,FishIcon:Jp,FishOff:Yp,FishOffIcon:Yp,FishSymbol:Qp,FishSymbolIcon:Qp,Flag:ny,FlagIcon:ny,FlagOff:ey,FlagOffIcon:ey,FlagTriangleLeft:ty,FlagTriangleLeftIcon:ty,FlagTriangleRight:ay,FlagTriangleRightIcon:ay,Flame:cy,FlameIcon:cy,FlameKindling:oy,FlameKindlingIcon:oy,Flashlight:ry,FlashlightIcon:ry,FlashlightOff:iy,FlashlightOffIcon:iy,FlaskConical:dy,FlaskConicalIcon:dy,FlaskConicalOff:sy,FlaskConicalOffIcon:sy,FlaskRound:ly,FlaskRoundIcon:ly,FlipHorizontal:uy,FlipHorizontal2:hy,FlipHorizontal2Icon:hy,FlipHorizontalIcon:uy,FlipVertical:yy,FlipVertical2:py,FlipVertical2Icon:py,FlipVerticalIcon:yy,Flower:my,Flower2:ky,Flower2Icon:ky,FlowerIcon:my,Focus:fy,FocusIcon:fy,FoldHorizontal:gy,FoldHorizontalIcon:gy,FoldVertical:vy,FoldVerticalIcon:vy,Folder:M1,FolderArchive:My,FolderArchiveIcon:My,FolderCheck:_y,FolderCheckIcon:_y,FolderClock:xy,FolderClockIcon:xy,FolderClosed:Ly,FolderClosedIcon:Ly,FolderCode:Iy,FolderCodeIcon:Iy,FolderCog:pn,FolderCog2:pn,FolderCog2Icon:pn,FolderCogIcon:pn,FolderDot:by,FolderDotIcon:by,FolderDown:wy,FolderDownIcon:wy,FolderEdit:yn,FolderEditIcon:yn,FolderGit:Ny,FolderGit2:Cy,FolderGit2Icon:Cy,FolderGitIcon:Ny,FolderHeart:Sy,FolderHeartIcon:Sy,FolderIcon:M1,FolderInput:jy,FolderInputIcon:jy,FolderKanban:$y,FolderKanbanIcon:$y,FolderKey:qy,FolderKeyIcon:qy,FolderLock:Ay,FolderLockIcon:Ay,FolderMinus:zy,FolderMinusIcon:zy,FolderOpen:Py,FolderOpenDot:Vy,FolderOpenDotIcon:Vy,FolderOpenIcon:Py,FolderOutput:Ty,FolderOutputIcon:Ty,FolderPen:yn,FolderPenIcon:yn,FolderPlus:Wc,FolderPlusIcon:Wc,FolderRoot:Hy,FolderRootIcon:Hy,FolderSearch:By,FolderSearch2:Dy,FolderSearch2Icon:Dy,FolderSearchIcon:By,FolderSymlink:Ry,FolderSymlinkIcon:Ry,FolderSync:Fy,FolderSyncIcon:Fy,FolderTree:Ey,FolderTreeIcon:Ey,FolderUp:Oy,FolderUpIcon:Oy,FolderX:Uy,FolderXIcon:Uy,Folders:Wy,FoldersIcon:Wy,Footprints:Gy,FootprintsIcon:Gy,ForkKnife:vc,ForkKnifeCrossed:gc,ForkKnifeCrossedIcon:gc,ForkKnifeIcon:vc,Forklift:Zy,ForkliftIcon:Zy,FormInput:Xn,FormInputIcon:Xn,Forward:Ky,ForwardIcon:Ky,Frame:Xy,FrameIcon:Xy,Framer:Yy,FramerIcon:Yy,Frown:Jy,FrownIcon:Jy,Fuel:Qy,FuelIcon:Qy,Fullscreen:e4,FullscreenIcon:e4,FunctionSquare:zo,FunctionSquareIcon:zo,Funnel:Lt,FunnelIcon:Lt,FunnelPlus:t4,FunnelPlusIcon:t4,FunnelX:kn,FunnelXIcon:kn,GalleryHorizontal:n4,GalleryHorizontalEnd:a4,GalleryHorizontalEndIcon:a4,GalleryHorizontalIcon:n4,GalleryThumbnails:o4,GalleryThumbnailsIcon:o4,GalleryVertical:i4,GalleryVerticalEnd:c4,GalleryVerticalEndIcon:c4,GalleryVerticalIcon:i4,Gamepad:s4,Gamepad2:r4,Gamepad2Icon:r4,GamepadIcon:s4,GanttChart:ha,GanttChartIcon:ha,GanttChartSquare:ct,GanttChartSquareIcon:ct,Gauge:d4,GaugeCircle:ja,GaugeCircleIcon:ja,GaugeIcon:d4,Gavel:l4,GavelIcon:l4,Gem:h4,GemIcon:h4,GeorgianLari:u4,GeorgianLariIcon:u4,Ghost:p4,GhostIcon:p4,Gift:y4,GiftIcon:y4,GitBranch:m4,GitBranchIcon:m4,GitBranchPlus:k4,GitBranchPlusIcon:k4,GitCommit:mn,GitCommitHorizontal:mn,GitCommitHorizontalIcon:mn,GitCommitIcon:mn,GitCommitVertical:f4,GitCommitVerticalIcon:f4,GitCompare:v4,GitCompareArrows:g4,GitCompareArrowsIcon:g4,GitCompareIcon:v4,GitFork:M4,GitForkIcon:M4,GitGraph:_4,GitGraphIcon:_4,GitMerge:x4,GitMergeIcon:x4,GitPullRequest:N4,GitPullRequestArrow:L4,GitPullRequestArrowIcon:L4,GitPullRequestClosed:I4,GitPullRequestClosedIcon:I4,GitPullRequestCreate:w4,GitPullRequestCreateArrow:b4,GitPullRequestCreateArrowIcon:b4,GitPullRequestCreateIcon:w4,GitPullRequestDraft:C4,GitPullRequestDraftIcon:C4,GitPullRequestIcon:N4,Github:S4,GithubIcon:S4,Gitlab:j4,GitlabIcon:j4,GlassWater:$4,GlassWaterIcon:$4,Glasses:q4,GlassesIcon:q4,Globe:z4,Globe2:Ja,Globe2Icon:Ja,GlobeIcon:z4,GlobeLock:A4,GlobeLockIcon:A4,Goal:V4,GoalIcon:V4,Gpu:P4,GpuIcon:P4,Grab:_n,GrabIcon:_n,GraduationCap:T4,GraduationCapIcon:T4,Grape:H4,GrapeIcon:H4,Grid:ot,Grid2X2:Mn,Grid2X2Check:fn,Grid2X2CheckIcon:fn,Grid2X2Icon:Mn,Grid2X2Plus:gn,Grid2X2PlusIcon:gn,Grid2X2X:vn,Grid2X2XIcon:vn,Grid2x2:Mn,Grid2x2Check:fn,Grid2x2CheckIcon:fn,Grid2x2Icon:Mn,Grid2x2Plus:gn,Grid2x2PlusIcon:gn,Grid2x2X:vn,Grid2x2XIcon:vn,Grid3X3:ot,Grid3X3Icon:ot,Grid3x2:D4,Grid3x2Icon:D4,Grid3x3:ot,Grid3x3Icon:ot,GridIcon:ot,Grip:R4,GripHorizontal:B4,GripHorizontalIcon:B4,GripIcon:R4,GripVertical:_1,GripVerticalIcon:_1,Group:F4,GroupIcon:F4,Guitar:E4,GuitarIcon:E4,Ham:O4,HamIcon:O4,Hamburger:U4,HamburgerIcon:U4,Hammer:W4,HammerIcon:W4,Hand:J4,HandCoins:G4,HandCoinsIcon:G4,HandFist:Z4,HandFistIcon:Z4,HandGrab:_n,HandGrabIcon:_n,HandHeart:K4,HandHeartIcon:K4,HandHelping:xn,HandHelpingIcon:xn,HandIcon:J4,HandMetal:X4,HandMetalIcon:X4,HandPlatter:Y4,HandPlatterIcon:Y4,Handbag:Q4,HandbagIcon:Q4,Handshake:e5,HandshakeIcon:e5,HardDrive:n5,HardDriveDownload:t5,HardDriveDownloadIcon:t5,HardDriveIcon:n5,HardDriveUpload:a5,HardDriveUploadIcon:a5,HardHat:o5,HardHatIcon:o5,Hash:c5,HashIcon:c5,HatGlasses:i5,HatGlassesIcon:i5,Haze:r5,HazeIcon:r5,HdmiPort:s5,HdmiPortIcon:s5,Heading:k5,Heading1:d5,Heading1Icon:d5,Heading2:l5,Heading2Icon:l5,Heading3:h5,Heading3Icon:h5,Heading4:u5,Heading4Icon:u5,Heading5:p5,Heading5Icon:p5,Heading6:y5,Heading6Icon:y5,HeadingIcon:k5,HeadphoneOff:m5,HeadphoneOffIcon:m5,Headphones:f5,HeadphonesIcon:f5,Headset:g5,HeadsetIcon:g5,Heart:b5,HeartCrack:v5,HeartCrackIcon:v5,HeartHandshake:M5,HeartHandshakeIcon:M5,HeartIcon:b5,HeartMinus:_5,HeartMinusIcon:_5,HeartOff:x5,HeartOffIcon:x5,HeartPlus:L5,HeartPlusIcon:L5,HeartPulse:I5,HeartPulseIcon:I5,Heater:w5,HeaterIcon:w5,HelpCircle:at,HelpCircleIcon:at,HelpingHand:xn,HelpingHandIcon:xn,Hexagon:C5,HexagonIcon:C5,Highlighter:N5,HighlighterIcon:N5,History:S5,HistoryIcon:S5,Home:It,HomeIcon:It,Hop:$5,HopIcon:$5,HopOff:j5,HopOffIcon:j5,Hospital:x1,HospitalIcon:x1,Hotel:q5,HotelIcon:q5,Hourglass:A5,HourglassIcon:A5,House:It,HouseIcon:It,HousePlug:z5,HousePlugIcon:z5,HousePlus:P5,HousePlusIcon:P5,HouseWifi:V5,HouseWifiIcon:V5,IceCream:In,IceCream2:Ln,IceCream2Icon:Ln,IceCreamBowl:Ln,IceCreamBowlIcon:Ln,IceCreamCone:In,IceCreamConeIcon:In,IceCreamIcon:In,Icon:a.Icon,IdCard:H5,IdCardIcon:H5,IdCardLanyard:T5,IdCardLanyardIcon:T5,Image:W5,ImageDown:D5,ImageDownIcon:D5,ImageIcon:W5,ImageMinus:B5,ImageMinusIcon:B5,ImageOff:R5,ImageOffIcon:R5,ImagePlay:F5,ImagePlayIcon:F5,ImagePlus:E5,ImagePlusIcon:E5,ImageUp:O5,ImageUpIcon:O5,ImageUpscale:U5,ImageUpscaleIcon:U5,Images:G5,ImagesIcon:G5,Import:Z5,ImportIcon:Z5,Inbox:K5,InboxIcon:K5,Indent:wn,IndentDecrease:bn,IndentDecreaseIcon:bn,IndentIcon:wn,IndentIncrease:wn,IndentIncreaseIcon:wn,IndianRupee:X5,IndianRupeeIcon:X5,Infinity:Y5,InfinityIcon:Y5,Info:J5,InfoIcon:J5,Inspect:Ro,InspectIcon:Ro,InspectionPanel:Q5,InspectionPanelIcon:Q5,Instagram:ek,InstagramIcon:ek,Italic:tk,ItalicIcon:tk,IterationCcw:ak,IterationCcwIcon:ak,IterationCw:nk,IterationCwIcon:nk,JapaneseYen:ck,JapaneseYenIcon:ck,Joystick:ok,JoystickIcon:ok,Kanban:ik,KanbanIcon:ik,KanbanSquare:Vo,KanbanSquareDashed:No,KanbanSquareDashedIcon:No,KanbanSquareIcon:Vo,Kayak:rk,KayakIcon:rk,Key:lk,KeyIcon:lk,KeyRound:sk,KeyRoundIcon:sk,KeySquare:dk,KeySquareIcon:dk,Keyboard:pk,KeyboardIcon:pk,KeyboardMusic:hk,KeyboardMusicIcon:hk,KeyboardOff:uk,KeyboardOffIcon:uk,Lamp:vk,LampCeiling:yk,LampCeilingIcon:yk,LampDesk:mk,LampDeskIcon:mk,LampFloor:kk,LampFloorIcon:kk,LampIcon:vk,LampWallDown:fk,LampWallDownIcon:fk,LampWallUp:gk,LampWallUpIcon:gk,LandPlot:Mk,LandPlotIcon:Mk,Landmark:_k,LandmarkIcon:_k,Languages:xk,LanguagesIcon:xk,Laptop:Ik,Laptop2:Cn,Laptop2Icon:Cn,LaptopIcon:Ik,LaptopMinimal:Cn,LaptopMinimalCheck:Lk,LaptopMinimalCheckIcon:Lk,LaptopMinimalIcon:Cn,Lasso:wk,LassoIcon:wk,LassoSelect:bk,LassoSelectIcon:bk,Laugh:Ck,LaughIcon:Ck,Layers:Nn,Layers2:Nk,Layers2Icon:Nk,Layers3:Nn,Layers3Icon:Nn,LayersIcon:Nn,Layout:Zn,LayoutDashboard:Sk,LayoutDashboardIcon:Sk,LayoutGrid:jk,LayoutGridIcon:jk,LayoutIcon:Zn,LayoutList:$k,LayoutListIcon:$k,LayoutPanelLeft:qk,LayoutPanelLeftIcon:qk,LayoutPanelTop:Ak,LayoutPanelTopIcon:Ak,LayoutTemplate:zk,LayoutTemplateIcon:zk,Leaf:Vk,LeafIcon:Vk,LeafyGreen:Tk,LeafyGreenIcon:Tk,Lectern:Pk,LecternIcon:Pk,LetterText:Hk,LetterTextIcon:Hk,Library:Bk,LibraryBig:Dk,LibraryBigIcon:Dk,LibraryIcon:Bk,LibrarySquare:Po,LibrarySquareIcon:Po,LifeBuoy:Rk,LifeBuoyIcon:Rk,Ligature:Fk,LigatureIcon:Fk,Lightbulb:Ok,LightbulbIcon:Ok,LightbulbOff:Ek,LightbulbOffIcon:Ek,LineChart:sa,LineChartIcon:sa,LineSquiggle:Uk,LineSquiggleIcon:Uk,Link:Zk,Link2:Wk,Link2Icon:Wk,Link2Off:Gk,Link2OffIcon:Gk,LinkIcon:Zk,Linkedin:Kk,LinkedinIcon:Kk,List:u3,ListCheck:Xk,ListCheckIcon:Xk,ListChecks:Yk,ListChecksIcon:Yk,ListCollapse:Jk,ListCollapseIcon:Jk,ListEnd:Qk,ListEndIcon:Qk,ListFilter:a3,ListFilterIcon:a3,ListFilterPlus:e3,ListFilterPlusIcon:e3,ListIcon:u3,ListMinus:t3,ListMinusIcon:t3,ListMusic:n3,ListMusicIcon:n3,ListOrdered:o3,ListOrderedIcon:o3,ListPlus:c3,ListPlusIcon:c3,ListRestart:i3,ListRestartIcon:i3,ListStart:r3,ListStartIcon:r3,ListTodo:s3,ListTodoIcon:s3,ListTree:d3,ListTreeIcon:d3,ListVideo:l3,ListVideoIcon:l3,ListX:h3,ListXIcon:h3,Loader:y3,Loader2:Sn,Loader2Icon:Sn,LoaderCircle:Sn,LoaderCircleIcon:Sn,LoaderIcon:y3,LoaderPinwheel:p3,LoaderPinwheelIcon:p3,Locate:f3,LocateFixed:k3,LocateFixedIcon:k3,LocateIcon:f3,LocateOff:m3,LocateOffIcon:m3,LocationEdit:An,LocationEditIcon:An,Lock:v3,LockIcon:v3,LockKeyhole:g3,LockKeyholeIcon:g3,LockKeyholeOpen:jn,LockKeyholeOpenIcon:jn,LockOpen:$n,LockOpenIcon:$n,LogIn:M3,LogInIcon:M3,LogOut:_3,LogOutIcon:_3,Logs:x3,LogsIcon:x3,Lollipop:L3,LollipopIcon:L3,LucideAArrowDown:J1,LucideAArrowUp:Q1,LucideALargeSmall:ei,LucideAccessibility:p1,LucideActivity:y1,LucideActivitySquare:bt,LucideAirVent:ti,LucideAirplay:ai,LucideAlarmCheck:Ht,LucideAlarmClock:oi,LucideAlarmClockCheck:Ht,LucideAlarmClockMinus:Dt,LucideAlarmClockOff:ni,LucideAlarmClockPlus:Bt,LucideAlarmMinus:Dt,LucideAlarmPlus:Bt,LucideAlarmSmoke:ci,LucideAlbum:ii,LucideAlertCircle:ya,LucideAlertOctagon:Tn,LucideAlertTriangle:sc,LucideAlignCenter:ui,LucideAlignCenterHorizontal:ri,LucideAlignCenterVertical:si,LucideAlignEndHorizontal:di,LucideAlignEndVertical:li,LucideAlignHorizontalDistributeCenter:hi,LucideAlignHorizontalDistributeEnd:pi,LucideAlignHorizontalDistributeStart:yi,LucideAlignHorizontalJustifyCenter:ki,LucideAlignHorizontalJustifyEnd:mi,LucideAlignHorizontalJustifyStart:fi,LucideAlignHorizontalSpaceAround:gi,LucideAlignHorizontalSpaceBetween:Mi,LucideAlignJustify:vi,LucideAlignLeft:_i,LucideAlignRight:xi,LucideAlignStartHorizontal:Li,LucideAlignStartVertical:Ii,LucideAlignVerticalDistributeCenter:wi,LucideAlignVerticalDistributeEnd:bi,LucideAlignVerticalDistributeStart:Ni,LucideAlignVerticalJustifyCenter:Ci,LucideAlignVerticalJustifyEnd:Si,LucideAlignVerticalJustifyStart:ji,LucideAlignVerticalSpaceAround:qi,LucideAlignVerticalSpaceBetween:$i,LucideAmbulance:Ai,LucideAmpersand:zi,LucideAmpersands:Vi,LucideAmphora:Pi,LucideAnchor:Ti,LucideAngry:Hi,LucideAnnoyed:Di,LucideAntenna:Bi,LucideAnvil:Ri,LucideAperture:Fi,LucideAppWindow:Oi,LucideAppWindowMac:Ei,LucideApple:Ui,LucideArchive:Zi,LucideArchiveRestore:Wi,LucideArchiveX:Gi,LucideAreaChart:ta,LucideArmchair:Ki,LucideArrowBigDown:Yi,LucideArrowBigDownDash:Xi,LucideArrowBigLeft:Qi,LucideArrowBigLeftDash:Ji,LucideArrowBigRight:tr,LucideArrowBigRightDash:er,LucideArrowBigUp:nr,LucideArrowBigUpDash:ar,LucideArrowDown:pr,LucideArrowDown01:or,LucideArrowDown10:cr,LucideArrowDownAZ:Rt,LucideArrowDownAz:Rt,LucideArrowDownCircle:ka,LucideArrowDownFromLine:ir,LucideArrowDownLeft:rr,LucideArrowDownLeftFromCircle:fa,LucideArrowDownLeftFromSquare:ho,LucideArrowDownLeftSquare:io,LucideArrowDownNarrowWide:sr,LucideArrowDownRight:dr,LucideArrowDownRightFromCircle:ga,LucideArrowDownRightFromSquare:uo,LucideArrowDownRightSquare:ro,LucideArrowDownSquare:so,LucideArrowDownToDot:lr,LucideArrowDownToLine:hr,LucideArrowDownUp:ur,LucideArrowDownWideNarrow:Ft,LucideArrowDownZA:Et,LucideArrowDownZa:Et,LucideArrowLeft:fr,LucideArrowLeftCircle:ma,LucideArrowLeftFromLine:yr,LucideArrowLeftRight:kr,LucideArrowLeftSquare:lo,LucideArrowLeftToLine:mr,LucideArrowRight:_r,LucideArrowRightCircle:_a,LucideArrowRightFromLine:gr,LucideArrowRightLeft:vr,LucideArrowRightSquare:ko,LucideArrowRightToLine:Mr,LucideArrowUp:$r,LucideArrowUp01:xr,LucideArrowUp10:Lr,LucideArrowUpAZ:Ot,LucideArrowUpAz:Ot,LucideArrowUpCircle:xa,LucideArrowUpDown:Ir,LucideArrowUpFromDot:br,LucideArrowUpFromLine:wr,LucideArrowUpLeft:Cr,LucideArrowUpLeftFromCircle:va,LucideArrowUpLeftFromSquare:po,LucideArrowUpLeftSquare:mo,LucideArrowUpNarrowWide:Ut,LucideArrowUpRight:Nr,LucideArrowUpRightFromCircle:Ma,LucideArrowUpRightFromSquare:yo,LucideArrowUpRightSquare:fo,LucideArrowUpSquare:go,LucideArrowUpToLine:Sr,LucideArrowUpWideNarrow:jr,LucideArrowUpZA:Wt,LucideArrowUpZa:Wt,LucideArrowsUpFromLine:qr,LucideAsterisk:Ar,LucideAsteriskSquare:vo,LucideAtSign:zr,LucideAtom:Vr,LucideAudioLines:Pr,LucideAudioWaveform:Tr,LucideAward:Hr,LucideAxe:Dr,LucideAxis3D:Gt,LucideAxis3d:Gt,LucideBaby:Br,LucideBackpack:Rr,LucideBadge:ns,LucideBadgeAlert:Fr,LucideBadgeCent:Er,LucideBadgeCheck:Zt,LucideBadgeDollarSign:Or,LucideBadgeEuro:Ur,LucideBadgeHelp:Kt,LucideBadgeIndianRupee:Wr,LucideBadgeInfo:Gr,LucideBadgeJapaneseYen:Kr,LucideBadgeMinus:Zr,LucideBadgePercent:Xr,LucideBadgePlus:Yr,LucideBadgePoundSterling:Jr,LucideBadgeQuestionMark:Kt,LucideBadgeRussianRuble:Qr,LucideBadgeSwissFranc:es,LucideBadgeTurkishLira:ts,LucideBadgeX:as,LucideBaggageClaim:os,LucideBan:cs,LucideBanana:is,LucideBandage:rs,LucideBanknote:hs,LucideBanknoteArrowDown:ss,LucideBanknoteArrowUp:ds,LucideBanknoteX:ls,LucideBarChart:da,LucideBarChart2:la,LucideBarChart3:ra,LucideBarChart4:ia,LucideBarChartBig:ca,LucideBarChartHorizontal:na,LucideBarChartHorizontalBig:aa,LucideBarcode:us,LucideBarrel:ps,LucideBaseline:ys,LucideBath:ks,LucideBattery:xs,LucideBatteryCharging:ms,LucideBatteryFull:fs,LucideBatteryLow:gs,LucideBatteryMedium:vs,LucideBatteryPlus:Ms,LucideBatteryWarning:_s,LucideBeaker:Ls,LucideBean:bs,LucideBeanOff:Is,LucideBed:Ns,LucideBedDouble:ws,LucideBedSingle:Cs,LucideBeef:Ss,LucideBeer:$s,LucideBeerOff:js,LucideBell:Ts,LucideBellDot:qs,LucideBellElectric:As,LucideBellMinus:zs,LucideBellOff:Vs,LucideBellPlus:Ps,LucideBellRing:Hs,LucideBetweenHorizonalEnd:Xt,LucideBetweenHorizonalStart:Yt,LucideBetweenHorizontalEnd:Xt,LucideBetweenHorizontalStart:Yt,LucideBetweenVerticalEnd:Bs,LucideBetweenVerticalStart:Ds,LucideBicepsFlexed:Rs,LucideBike:Es,LucideBinary:Fs,LucideBinoculars:Os,LucideBiohazard:Us,LucideBird:Ws,LucideBitcoin:Gs,LucideBlend:Zs,LucideBlinds:Ks,LucideBlocks:Xs,LucideBluetooth:e2,LucideBluetoothConnected:Ys,LucideBluetoothOff:Js,LucideBluetoothSearching:Qs,LucideBold:t2,LucideBolt:a2,LucideBomb:n2,LucideBone:o2,LucideBook:N2,LucideBookA:c2,LucideBookAlert:i2,LucideBookAudio:r2,LucideBookCheck:s2,LucideBookCopy:d2,LucideBookDashed:Jt,LucideBookDown:l2,LucideBookHeadphones:h2,LucideBookHeart:u2,LucideBookImage:p2,LucideBookKey:y2,LucideBookLock:k2,LucideBookMarked:f2,LucideBookMinus:m2,LucideBookOpen:M2,LucideBookOpenCheck:g2,LucideBookOpenText:v2,LucideBookPlus:_2,LucideBookTemplate:Jt,LucideBookText:x2,LucideBookType:L2,LucideBookUp:b2,LucideBookUp2:I2,LucideBookUser:w2,LucideBookX:C2,LucideBookmark:A2,LucideBookmarkCheck:S2,LucideBookmarkMinus:j2,LucideBookmarkPlus:$2,LucideBookmarkX:q2,LucideBoomBox:z2,LucideBot:T2,LucideBotMessageSquare:V2,LucideBotOff:P2,LucideBottleWine:H2,LucideBowArrow:D2,LucideBox:B2,LucideBoxSelect:jo,LucideBoxes:R2,LucideBraces:Qt,LucideBrackets:F2,LucideBrain:U2,LucideBrainCircuit:E2,LucideBrainCog:O2,LucideBrickWall:Z2,LucideBrickWallFire:W2,LucideBrickWallShield:G2,LucideBriefcase:J2,LucideBriefcaseBusiness:K2,LucideBriefcaseConveyorBelt:X2,LucideBriefcaseMedical:Y2,LucideBringToFront:Q2,LucideBrush:td,LucideBrushCleaning:ed,LucideBubbles:ad,LucideBug:id,LucideBugOff:nd,LucideBugPlay:od,LucideBuilding:rd,LucideBuilding2:cd,LucideBus:dd,LucideBusFront:sd,LucideCable:hd,LucideCableCar:ld,LucideCake:pd,LucideCakeSlice:ud,LucideCalculator:yd,LucideCalendar:k1,LucideCalendar1:kd,LucideCalendarArrowDown:md,LucideCalendarArrowUp:fd,LucideCalendarCheck:vd,LucideCalendarCheck2:gd,LucideCalendarClock:Md,LucideCalendarCog:_d,LucideCalendarDays:xd,LucideCalendarFold:Ld,LucideCalendarHeart:Id,LucideCalendarMinus:wd,LucideCalendarMinus2:bd,LucideCalendarOff:Cd,LucideCalendarPlus:Sd,LucideCalendarPlus2:Nd,LucideCalendarRange:jd,LucideCalendarSearch:$d,LucideCalendarSync:qd,LucideCalendarX:zd,LucideCalendarX2:Ad,LucideCamera:Pd,LucideCameraOff:Vd,LucideCandlestickChart:oa,LucideCandy:Dd,LucideCandyCane:Td,LucideCandyOff:Hd,LucideCannabis:Bd,LucideCaptions:ea,LucideCaptionsOff:Rd,LucideCar:Od,LucideCarFront:Fd,LucideCarTaxiFront:Ed,LucideCaravan:Ud,LucideCardSim:Wd,LucideCarrot:Gd,LucideCaseLower:Zd,LucideCaseSensitive:Kd,LucideCaseUpper:Xd,LucideCassetteTape:Yd,LucideCast:Jd,LucideCastle:e0,LucideCat:Qd,LucideCctv:t0,LucideChartArea:ta,LucideChartBar:na,LucideChartBarBig:aa,LucideChartBarDecreasing:a0,LucideChartBarIncreasing:n0,LucideChartBarStacked:o0,LucideChartCandlestick:oa,LucideChartColumn:ra,LucideChartColumnBig:ca,LucideChartColumnDecreasing:c0,LucideChartColumnIncreasing:ia,LucideChartColumnStacked:i0,LucideChartGantt:r0,LucideChartLine:sa,LucideChartNetwork:s0,LucideChartNoAxesColumn:la,LucideChartNoAxesColumnDecreasing:d0,LucideChartNoAxesColumnIncreasing:da,LucideChartNoAxesCombined:l0,LucideChartNoAxesGantt:ha,LucideChartPie:ua,LucideChartScatter:pa,LucideChartSpline:h0,LucideCheck:m1,LucideCheckCheck:u0,LucideCheckCircle:La,LucideCheckCircle2:Ia,LucideCheckLine:p0,LucideCheckSquare:_o,LucideCheckSquare2:xo,LucideChefHat:y0,LucideCherry:k0,LucideChevronDown:St,LucideChevronDownCircle:ba,LucideChevronDownSquare:Lo,LucideChevronFirst:m0,LucideChevronLast:f0,LucideChevronLeft:g0,LucideChevronLeftCircle:wa,LucideChevronLeftSquare:Io,LucideChevronRight:f1,LucideChevronRightCircle:Ca,LucideChevronRightSquare:bo,LucideChevronUp:wc,LucideChevronUpCircle:Na,LucideChevronUpSquare:wo,LucideChevronsDown:M0,LucideChevronsDownUp:v0,LucideChevronsLeft:x0,LucideChevronsLeftRight:_0,LucideChevronsLeftRightEllipsis:L0,LucideChevronsRight:b0,LucideChevronsRightLeft:I0,LucideChevronsUp:w0,LucideChevronsUpDown:Uc,LucideChrome:C0,LucideChurch:N0,LucideCigarette:j0,LucideCigaretteOff:S0,LucideCircle:O0,LucideCircleAlert:ya,LucideCircleArrowDown:ka,LucideCircleArrowLeft:ma,LucideCircleArrowOutDownLeft:fa,LucideCircleArrowOutDownRight:ga,LucideCircleArrowOutUpLeft:va,LucideCircleArrowOutUpRight:Ma,LucideCircleArrowRight:_a,LucideCircleArrowUp:xa,LucideCircleCheck:Ia,LucideCircleCheckBig:La,LucideCircleChevronDown:ba,LucideCircleChevronLeft:wa,LucideCircleChevronRight:Ca,LucideCircleChevronUp:Na,LucideCircleDashed:$0,LucideCircleDivide:Sa,LucideCircleDollarSign:A0,LucideCircleDot:z0,LucideCircleDotDashed:q0,LucideCircleEllipsis:V0,LucideCircleEqual:P0,LucideCircleFadingArrowUp:H0,LucideCircleFadingPlus:T0,LucideCircleGauge:ja,LucideCircleHelp:at,LucideCircleMinus:$a,LucideCircleOff:D0,LucideCircleParking:za,LucideCircleParkingOff:qa,LucideCirclePause:Aa,LucideCirclePercent:Va,LucideCirclePlay:Pa,LucideCirclePlus:Ta,LucideCirclePoundSterling:B0,LucideCirclePower:Ha,LucideCircleQuestionMark:at,LucideCircleSlash:R0,LucideCircleSlash2:Da,LucideCircleSlashed:Da,LucideCircleSmall:F0,LucideCircleStar:E0,LucideCircleStop:Ba,LucideCircleUser:Fa,LucideCircleUserRound:Ra,LucideCircleX:xt,LucideCircuitBoard:U0,LucideCitrus:W0,LucideClapperboard:G0,LucideClipboard:nl,LucideClipboardCheck:Z0,LucideClipboardClock:K0,LucideClipboardCopy:X0,LucideClipboardEdit:Oa,LucideClipboardList:Y0,LucideClipboardMinus:J0,LucideClipboardPaste:Q0,LucideClipboardPen:Oa,LucideClipboardPenLine:Ea,LucideClipboardPlus:el,LucideClipboardSignature:Ea,LucideClipboardType:tl,LucideClipboardX:al,LucideClock:_l,LucideClock1:cl,LucideClock10:ol,LucideClock11:il,LucideClock12:rl,LucideClock2:sl,LucideClock3:dl,LucideClock4:ll,LucideClock5:hl,LucideClock6:ul,LucideClock7:pl,LucideClock8:yl,LucideClock9:kl,LucideClockAlert:ml,LucideClockArrowDown:fl,LucideClockArrowUp:gl,LucideClockFading:vl,LucideClockPlus:Ml,LucideClosedCaption:xl,LucideCloud:Hl,LucideCloudAlert:Ll,LucideCloudCheck:Il,LucideCloudCog:bl,LucideCloudDownload:Ua,LucideCloudDrizzle:wl,LucideCloudFog:Cl,LucideCloudHail:Nl,LucideCloudLightning:Sl,LucideCloudMoon:$l,LucideCloudMoonRain:jl,LucideCloudOff:ql,LucideCloudRain:zl,LucideCloudRainWind:Al,LucideCloudSnow:Vl,LucideCloudSun:Tl,LucideCloudSunRain:Pl,LucideCloudUpload:Wa,LucideCloudy:Dl,LucideClover:Bl,LucideClub:Rl,LucideCode:Fl,LucideCode2:Ga,LucideCodeSquare:Co,LucideCodeXml:Ga,LucideCodepen:El,LucideCodesandbox:Ol,LucideCoffee:Ul,LucideCog:Wl,LucideCoins:Gl,LucideColumns:Za,LucideColumns2:Za,LucideColumns3:Ka,LucideColumns3Cog:nt,LucideColumns4:Zl,LucideColumnsSettings:nt,LucideCombine:Kl,LucideCommand:Xl,LucideCompass:Yl,LucideComponent:Jl,LucideComputer:Ql,LucideConciergeBell:eh,LucideCone:th,LucideConstruction:ah,LucideContact:nh,LucideContact2:Xa,LucideContactRound:Xa,LucideContainer:oh,LucideContrast:ih,LucideCookie:ch,LucideCookingPot:sh,LucideCopy:ph,LucideCopyCheck:rh,LucideCopyMinus:dh,LucideCopyPlus:lh,LucideCopySlash:hh,LucideCopyX:uh,LucideCopyleft:yh,LucideCopyright:kh,LucideCornerDownLeft:mh,LucideCornerDownRight:fh,LucideCornerLeftDown:gh,LucideCornerLeftUp:vh,LucideCornerRightDown:Mh,LucideCornerRightUp:_h,LucideCornerUpLeft:xh,LucideCornerUpRight:Lh,LucideCpu:Ih,LucideCreativeCommons:bh,LucideCreditCard:wh,LucideCroissant:Ch,LucideCrop:Nh,LucideCross:Sh,LucideCrosshair:jh,LucideCrown:$h,LucideCuboid:qh,LucideCupSoda:Ah,LucideCurlyBraces:Qt,LucideCurrency:zh,LucideCylinder:Vh,LucideDam:Ph,LucideDatabase:Dh,LucideDatabaseBackup:Th,LucideDatabaseZap:Hh,LucideDecimalsArrowLeft:Bh,LucideDecimalsArrowRight:Rh,LucideDelete:Fh,LucideDessert:Eh,LucideDiameter:Oh,LucideDiamond:Gh,LucideDiamondMinus:Uh,LucideDiamondPercent:Ya,LucideDiamondPlus:Wh,LucideDice1:Zh,LucideDice2:Kh,LucideDice3:Xh,LucideDice4:Yh,LucideDice5:Jh,LucideDice6:Qh,LucideDices:eu,LucideDiff:tu,LucideDisc:cu,LucideDisc2:au,LucideDisc3:nu,LucideDiscAlbum:ou,LucideDivide:iu,LucideDivideCircle:Sa,LucideDivideSquare:$o,LucideDna:su,LucideDnaOff:ru,LucideDock:du,LucideDog:lu,LucideDollarSign:hu,LucideDonut:uu,LucideDoorClosed:yu,LucideDoorClosedLocked:pu,LucideDoorOpen:ku,LucideDot:mu,LucideDotSquare:Ao,LucideDownload:gu,LucideDownloadCloud:Ua,LucideDraftingCompass:fu,LucideDrama:vu,LucideDribbble:Mu,LucideDrill:_u,LucideDrone:xu,LucideDroplet:Iu,LucideDropletOff:Lu,LucideDroplets:bu,LucideDrum:wu,LucideDrumstick:Cu,LucideDumbbell:Nu,LucideEar:ju,LucideEarOff:Su,LucideEarth:Ja,LucideEarthLock:$u,LucideEclipse:qu,LucideEdit:Te,LucideEdit2:ht,LucideEdit3:lt,LucideEgg:Vu,LucideEggFried:Au,LucideEggOff:zu,LucideEllipsis:en,LucideEllipsisVertical:Qa,LucideEqual:Hu,LucideEqualApproximately:Pu,LucideEqualNot:Tu,LucideEqualSquare:qo,LucideEraser:Du,LucideEthernetPort:Bu,LucideEuro:Ru,LucideExpand:Eu,LucideExternalLink:Fu,LucideEye:v1,LucideEyeClosed:Ou,LucideEyeOff:g1,LucideFacebook:Uu,LucideFactory:Wu,LucideFan:Gu,LucideFastForward:Zu,LucideFeather:Ku,LucideFence:Xu,LucideFerrisWheel:Yu,LucideFigma:Ju,LucideFile:Wp,LucideFileArchive:Qu,LucideFileAudio:tp,LucideFileAudio2:ep,LucideFileAxis3D:tn,LucideFileAxis3d:tn,LucideFileBadge:op,LucideFileBadge2:ap,LucideFileBarChart:an,LucideFileBarChart2:nn,LucideFileBox:np,LucideFileChartColumn:nn,LucideFileChartColumnIncreasing:an,LucideFileChartLine:on,LucideFileChartPie:cn,LucideFileCheck:ip,LucideFileCheck2:cp,LucideFileClock:rp,LucideFileCode:sp,LucideFileCode2:dp,LucideFileCog:rn,LucideFileCog2:rn,LucideFileDiff:lp,LucideFileDigit:hp,LucideFileDown:up,LucideFileEdit:dn,LucideFileHeart:pp,LucideFileImage:yp,LucideFileInput:kp,LucideFileJson:fp,LucideFileJson2:mp,LucideFileKey:vp,LucideFileKey2:gp,LucideFileLineChart:on,LucideFileLock:_p,LucideFileLock2:Mp,LucideFileMinus:Lp,LucideFileMinus2:xp,LucideFileMusic:Ip,LucideFileOutput:bp,LucideFilePen:dn,LucideFilePenLine:sn,LucideFilePieChart:cn,LucideFilePlay:ln,LucideFilePlus:Cp,LucideFilePlus2:wp,LucideFileQuestion:hn,LucideFileQuestionMark:hn,LucideFileScan:Np,LucideFileSearch:jp,LucideFileSearch2:Sp,LucideFileSignature:sn,LucideFileSliders:$p,LucideFileSpreadsheet:qp,LucideFileStack:Ap,LucideFileSymlink:zp,LucideFileTerminal:Vp,LucideFileText:Pp,LucideFileType:Hp,LucideFileType2:Tp,LucideFileUp:Dp,LucideFileUser:Bp,LucideFileVideo:ln,LucideFileVideo2:un,LucideFileVideoCamera:un,LucideFileVolume:Fp,LucideFileVolume2:Rp,LucideFileWarning:Ep,LucideFileX:Up,LucideFileX2:Op,LucideFiles:Gp,LucideFilm:Zp,LucideFilter:Lt,LucideFilterX:kn,LucideFingerprint:Kp,LucideFireExtinguisher:Xp,LucideFish:Jp,LucideFishOff:Yp,LucideFishSymbol:Qp,LucideFlag:ny,LucideFlagOff:ey,LucideFlagTriangleLeft:ty,LucideFlagTriangleRight:ay,LucideFlame:cy,LucideFlameKindling:oy,LucideFlashlight:ry,LucideFlashlightOff:iy,LucideFlaskConical:dy,LucideFlaskConicalOff:sy,LucideFlaskRound:ly,LucideFlipHorizontal:uy,LucideFlipHorizontal2:hy,LucideFlipVertical:yy,LucideFlipVertical2:py,LucideFlower:my,LucideFlower2:ky,LucideFocus:fy,LucideFoldHorizontal:gy,LucideFoldVertical:vy,LucideFolder:M1,LucideFolderArchive:My,LucideFolderCheck:_y,LucideFolderClock:xy,LucideFolderClosed:Ly,LucideFolderCode:Iy,LucideFolderCog:pn,LucideFolderCog2:pn,LucideFolderDot:by,LucideFolderDown:wy,LucideFolderEdit:yn,LucideFolderGit:Ny,LucideFolderGit2:Cy,LucideFolderHeart:Sy,LucideFolderInput:jy,LucideFolderKanban:$y,LucideFolderKey:qy,LucideFolderLock:Ay,LucideFolderMinus:zy,LucideFolderOpen:Py,LucideFolderOpenDot:Vy,LucideFolderOutput:Ty,LucideFolderPen:yn,LucideFolderPlus:Wc,LucideFolderRoot:Hy,LucideFolderSearch:By,LucideFolderSearch2:Dy,LucideFolderSymlink:Ry,LucideFolderSync:Fy,LucideFolderTree:Ey,LucideFolderUp:Oy,LucideFolderX:Uy,LucideFolders:Wy,LucideFootprints:Gy,LucideForkKnife:vc,LucideForkKnifeCrossed:gc,LucideForklift:Zy,LucideFormInput:Xn,LucideForward:Ky,LucideFrame:Xy,LucideFramer:Yy,LucideFrown:Jy,LucideFuel:Qy,LucideFullscreen:e4,LucideFunctionSquare:zo,LucideFunnel:Lt,LucideFunnelPlus:t4,LucideFunnelX:kn,LucideGalleryHorizontal:n4,LucideGalleryHorizontalEnd:a4,LucideGalleryThumbnails:o4,LucideGalleryVertical:i4,LucideGalleryVerticalEnd:c4,LucideGamepad:s4,LucideGamepad2:r4,LucideGanttChart:ha,LucideGanttChartSquare:ct,LucideGauge:d4,LucideGaugeCircle:ja,LucideGavel:l4,LucideGem:h4,LucideGeorgianLari:u4,LucideGhost:p4,LucideGift:y4,LucideGitBranch:m4,LucideGitBranchPlus:k4,LucideGitCommit:mn,LucideGitCommitHorizontal:mn,LucideGitCommitVertical:f4,LucideGitCompare:v4,LucideGitCompareArrows:g4,LucideGitFork:M4,LucideGitGraph:_4,LucideGitMerge:x4,LucideGitPullRequest:N4,LucideGitPullRequestArrow:L4,LucideGitPullRequestClosed:I4,LucideGitPullRequestCreate:w4,LucideGitPullRequestCreateArrow:b4,LucideGitPullRequestDraft:C4,LucideGithub:S4,LucideGitlab:j4,LucideGlassWater:$4,LucideGlasses:q4,LucideGlobe:z4,LucideGlobe2:Ja,LucideGlobeLock:A4,LucideGoal:V4,LucideGpu:P4,LucideGrab:_n,LucideGraduationCap:T4,LucideGrape:H4,LucideGrid:ot,LucideGrid2X2:Mn,LucideGrid2X2Check:fn,LucideGrid2X2Plus:gn,LucideGrid2X2X:vn,LucideGrid2x2:Mn,LucideGrid2x2Check:fn,LucideGrid2x2Plus:gn,LucideGrid2x2X:vn,LucideGrid3X3:ot,LucideGrid3x2:D4,LucideGrid3x3:ot,LucideGrip:R4,LucideGripHorizontal:B4,LucideGripVertical:_1,LucideGroup:F4,LucideGuitar:E4,LucideHam:O4,LucideHamburger:U4,LucideHammer:W4,LucideHand:J4,LucideHandCoins:G4,LucideHandFist:Z4,LucideHandGrab:_n,LucideHandHeart:K4,LucideHandHelping:xn,LucideHandMetal:X4,LucideHandPlatter:Y4,LucideHandbag:Q4,LucideHandshake:e5,LucideHardDrive:n5,LucideHardDriveDownload:t5,LucideHardDriveUpload:a5,LucideHardHat:o5,LucideHash:c5,LucideHatGlasses:i5,LucideHaze:r5,LucideHdmiPort:s5,LucideHeading:k5,LucideHeading1:d5,LucideHeading2:l5,LucideHeading3:h5,LucideHeading4:u5,LucideHeading5:p5,LucideHeading6:y5,LucideHeadphoneOff:m5,LucideHeadphones:f5,LucideHeadset:g5,LucideHeart:b5,LucideHeartCrack:v5,LucideHeartHandshake:M5,LucideHeartMinus:_5,LucideHeartOff:x5,LucideHeartPlus:L5,LucideHeartPulse:I5,LucideHeater:w5,LucideHelpCircle:at,LucideHelpingHand:xn,LucideHexagon:C5,LucideHighlighter:N5,LucideHistory:S5,LucideHome:It,LucideHop:$5,LucideHopOff:j5,LucideHospital:x1,LucideHotel:q5,LucideHourglass:A5,LucideHouse:It,LucideHousePlug:z5,LucideHousePlus:P5,LucideHouseWifi:V5,LucideIceCream:In,LucideIceCream2:Ln,LucideIceCreamBowl:Ln,LucideIceCreamCone:In,LucideIdCard:H5,LucideIdCardLanyard:T5,LucideImage:W5,LucideImageDown:D5,LucideImageMinus:B5,LucideImageOff:R5,LucideImagePlay:F5,LucideImagePlus:E5,LucideImageUp:O5,LucideImageUpscale:U5,LucideImages:G5,LucideImport:Z5,LucideInbox:K5,LucideIndent:wn,LucideIndentDecrease:bn,LucideIndentIncrease:wn,LucideIndianRupee:X5,LucideInfinity:Y5,LucideInfo:J5,LucideInspect:Ro,LucideInspectionPanel:Q5,LucideInstagram:ek,LucideItalic:tk,LucideIterationCcw:ak,LucideIterationCw:nk,LucideJapaneseYen:ck,LucideJoystick:ok,LucideKanban:ik,LucideKanbanSquare:Vo,LucideKanbanSquareDashed:No,LucideKayak:rk,LucideKey:lk,LucideKeyRound:sk,LucideKeySquare:dk,LucideKeyboard:pk,LucideKeyboardMusic:hk,LucideKeyboardOff:uk,LucideLamp:vk,LucideLampCeiling:yk,LucideLampDesk:mk,LucideLampFloor:kk,LucideLampWallDown:fk,LucideLampWallUp:gk,LucideLandPlot:Mk,LucideLandmark:_k,LucideLanguages:xk,LucideLaptop:Ik,LucideLaptop2:Cn,LucideLaptopMinimal:Cn,LucideLaptopMinimalCheck:Lk,LucideLasso:wk,LucideLassoSelect:bk,LucideLaugh:Ck,LucideLayers:Nn,LucideLayers2:Nk,LucideLayers3:Nn,LucideLayout:Zn,LucideLayoutDashboard:Sk,LucideLayoutGrid:jk,LucideLayoutList:$k,LucideLayoutPanelLeft:qk,LucideLayoutPanelTop:Ak,LucideLayoutTemplate:zk,LucideLeaf:Vk,LucideLeafyGreen:Tk,LucideLectern:Pk,LucideLetterText:Hk,LucideLibrary:Bk,LucideLibraryBig:Dk,LucideLibrarySquare:Po,LucideLifeBuoy:Rk,LucideLigature:Fk,LucideLightbulb:Ok,LucideLightbulbOff:Ek,LucideLineChart:sa,LucideLineSquiggle:Uk,LucideLink:Zk,LucideLink2:Wk,LucideLink2Off:Gk,LucideLinkedin:Kk,LucideList:u3,LucideListCheck:Xk,LucideListChecks:Yk,LucideListCollapse:Jk,LucideListEnd:Qk,LucideListFilter:a3,LucideListFilterPlus:e3,LucideListMinus:t3,LucideListMusic:n3,LucideListOrdered:o3,LucideListPlus:c3,LucideListRestart:i3,LucideListStart:r3,LucideListTodo:s3,LucideListTree:d3,LucideListVideo:l3,LucideListX:h3,LucideLoader:y3,LucideLoader2:Sn,LucideLoaderCircle:Sn,LucideLoaderPinwheel:p3,LucideLocate:f3,LucideLocateFixed:k3,LucideLocateOff:m3,LucideLocationEdit:An,LucideLock:v3,LucideLockKeyhole:g3,LucideLockKeyholeOpen:jn,LucideLockOpen:$n,LucideLogIn:M3,LucideLogOut:_3,LucideLogs:x3,LucideLollipop:L3,LucideLuggage:I3,LucideMSquare:To,LucideMagnet:b3,LucideMail:q3,LucideMailCheck:w3,LucideMailMinus:C3,LucideMailOpen:N3,LucideMailPlus:S3,LucideMailQuestion:qn,LucideMailQuestionMark:qn,LucideMailSearch:j3,LucideMailWarning:$3,LucideMailX:A3,LucideMailbox:z3,LucideMails:V3,LucideMap:X3,LucideMapMinus:P3,LucideMapPin:G3,LucideMapPinCheck:T3,LucideMapPinCheckInside:H3,LucideMapPinHouse:D3,LucideMapPinMinus:R3,LucideMapPinMinusInside:B3,LucideMapPinOff:F3,LucideMapPinPen:An,LucideMapPinPlus:O3,LucideMapPinPlusInside:E3,LucideMapPinX:W3,LucideMapPinXInside:U3,LucideMapPinned:Z3,LucideMapPlus:K3,LucideMars:J3,LucideMarsStroke:Y3,LucideMartini:Q3,LucideMaximize:am,LucideMaximize2:em,LucideMedal:tm,LucideMegaphone:om,LucideMegaphoneOff:nm,LucideMeh:cm,LucideMemoryStick:im,LucideMenu:Gc,LucideMenuSquare:Ho,LucideMerge:rm,LucideMessageCircle:fm,LucideMessageCircleCode:sm,LucideMessageCircleDashed:dm,LucideMessageCircleHeart:lm,LucideMessageCircleMore:hm,LucideMessageCircleOff:um,LucideMessageCirclePlus:pm,LucideMessageCircleQuestion:zn,LucideMessageCircleQuestionMark:zn,LucideMessageCircleReply:ym,LucideMessageCircleWarning:km,LucideMessageCircleX:mm,LucideMessageSquare:Am,LucideMessageSquareCode:gm,LucideMessageSquareDashed:vm,LucideMessageSquareDiff:Mm,LucideMessageSquareDot:_m,LucideMessageSquareHeart:xm,LucideMessageSquareLock:Lm,LucideMessageSquareMore:Im,LucideMessageSquareOff:bm,LucideMessageSquarePlus:wm,LucideMessageSquareQuote:Cm,LucideMessageSquareReply:Nm,LucideMessageSquareShare:Sm,LucideMessageSquareText:jm,LucideMessageSquareWarning:$m,LucideMessageSquareX:qm,LucideMessagesSquare:zm,LucideMic:Pm,LucideMic2:Vn,LucideMicOff:Vm,LucideMicVocal:Vn,LucideMicrochip:Tm,LucideMicroscope:Hm,LucideMicrowave:Dm,LucideMilestone:Bm,LucideMilk:Fm,LucideMilkOff:Rm,LucideMinimize:Om,LucideMinimize2:Em,LucideMinus:Um,LucideMinusCircle:$a,LucideMinusSquare:Do,LucideMonitor:o6,LucideMonitorCheck:Wm,LucideMonitorCog:Gm,LucideMonitorDot:Zm,LucideMonitorDown:Km,LucideMonitorOff:Xm,LucideMonitorPause:Jm,LucideMonitorPlay:Ym,LucideMonitorSmartphone:Qm,LucideMonitorSpeaker:e6,LucideMonitorStop:t6,LucideMonitorUp:a6,LucideMonitorX:n6,LucideMoon:i6,LucideMoonStar:c6,LucideMoreHorizontal:en,LucideMoreVertical:Qa,LucideMountain:s6,LucideMountainSnow:r6,LucideMouse:y6,LucideMouseOff:d6,LucideMousePointer:u6,LucideMousePointer2:l6,LucideMousePointerBan:h6,LucideMousePointerClick:p6,LucideMousePointerSquareDashed:So,LucideMove:a.Move,LucideMove3D:Pn,LucideMove3d:Pn,LucideMoveDiagonal:m6,LucideMoveDiagonal2:k6,LucideMoveDown:M6,LucideMoveDownLeft:f6,LucideMoveDownRight:g6,LucideMoveHorizontal:v6,LucideMoveLeft:_6,LucideMoveRight:x6,LucideMoveUp:b6,LucideMoveUpLeft:L6,LucideMoveUpRight:I6,LucideMoveVertical:w6,LucideMusic:j6,LucideMusic2:C6,LucideMusic3:N6,LucideMusic4:S6,LucideNavigation:z6,LucideNavigation2:q6,LucideNavigation2Off:$6,LucideNavigationOff:A6,LucideNetwork:V6,LucideNewspaper:P6,LucideNfc:T6,LucideNonBinary:H6,LucideNotebook:F6,LucideNotebookPen:D6,LucideNotebookTabs:B6,LucideNotebookText:R6,LucideNotepadText:O6,LucideNotepadTextDashed:E6,LucideNut:W6,LucideNutOff:U6,LucideOctagon:Z6,LucideOctagonAlert:Tn,LucideOctagonMinus:G6,LucideOctagonPause:Hn,LucideOctagonX:Dn,LucideOmega:K6,LucideOption:X6,LucideOrbit:Y6,LucideOrigami:J6,LucideOutdent:bn,LucidePackage:i8,LucidePackage2:Q6,LucidePackageCheck:e8,LucidePackageMinus:t8,LucidePackageOpen:a8,LucidePackagePlus:n8,LucidePackageSearch:o8,LucidePackageX:c8,LucidePaintBucket:r8,LucidePaintRoller:s8,LucidePaintbrush:d8,LucidePaintbrush2:Bn,LucidePaintbrushVertical:Bn,LucidePalette:l8,LucidePalmtree:rc,LucidePanda:h8,LucidePanelBottom:y8,LucidePanelBottomClose:u8,LucidePanelBottomDashed:Rn,LucidePanelBottomInactive:Rn,LucidePanelBottomOpen:p8,LucidePanelLeft:Un,LucidePanelLeftClose:Fn,LucidePanelLeftDashed:En,LucidePanelLeftInactive:En,LucidePanelLeftOpen:On,LucidePanelRight:f8,LucidePanelRightClose:k8,LucidePanelRightDashed:Wn,LucidePanelRightInactive:Wn,LucidePanelRightOpen:m8,LucidePanelTop:M8,LucidePanelTopClose:g8,LucidePanelTopDashed:Gn,LucidePanelTopInactive:Gn,LucidePanelTopOpen:v8,LucidePanelsLeftBottom:_8,LucidePanelsLeftRight:Ka,LucidePanelsRightBottom:x8,LucidePanelsTopBottom:Qn,LucidePanelsTopLeft:Zn,LucidePaperclip:L8,LucideParentheses:I8,LucideParkingCircle:za,LucideParkingCircleOff:qa,LucideParkingMeter:b8,LucideParkingSquare:Fo,LucideParkingSquareOff:Bo,LucidePartyPopper:w8,LucidePause:C8,LucidePauseCircle:Aa,LucidePauseOctagon:Hn,LucidePawPrint:N8,LucidePcCase:S8,LucidePen:ht,LucidePenBox:Te,LucidePenLine:lt,LucidePenOff:$8,LucidePenSquare:Te,LucidePenTool:j8,LucidePencil:L1,LucidePencilLine:q8,LucidePencilOff:A8,LucidePencilRuler:z8,LucidePentagon:V8,LucidePercent:P8,LucidePercentCircle:Va,LucidePercentDiamond:Ya,LucidePercentSquare:Eo,LucidePersonStanding:H8,LucidePhilippinePeso:T8,LucidePhone:O8,LucidePhoneCall:D8,LucidePhoneForwarded:B8,LucidePhoneIncoming:R8,LucidePhoneMissed:F8,LucidePhoneOff:E8,LucidePhoneOutgoing:U8,LucidePi:W8,LucidePiSquare:Oo,LucidePiano:G8,LucidePickaxe:Z8,LucidePictureInPicture:X8,LucidePictureInPicture2:K8,LucidePieChart:ua,LucidePiggyBank:Y8,LucidePilcrow:Q8,LucidePilcrowLeft:J8,LucidePilcrowRight:ef,LucidePilcrowSquare:Uo,LucidePill:af,LucidePillBottle:tf,LucidePin:of,LucidePinOff:nf,LucidePipette:cf,LucidePizza:rf,LucidePlane:lf,LucidePlaneLanding:sf,LucidePlaneTakeoff:df,LucidePlay:hf,LucidePlayCircle:Pa,LucidePlaySquare:Wo,LucidePlug:pf,LucidePlug2:uf,LucidePlugZap:Kn,LucidePlugZap2:Kn,LucidePlus:Zc,LucidePlusCircle:Ta,LucidePlusSquare:Go,LucidePocket:kf,LucidePocketKnife:yf,LucidePodcast:mf,LucidePointer:gf,LucidePointerOff:ff,LucidePopcorn:Mf,LucidePopsicle:vf,LucidePoundSterling:_f,LucidePower:Lf,LucidePowerCircle:Ha,LucidePowerOff:xf,LucidePowerSquare:Zo,LucidePresentation:If,LucidePrinter:wf,LucidePrinterCheck:bf,LucideProjector:Cf,LucideProportions:Nf,LucidePuzzle:jf,LucidePyramid:Sf,LucideQrCode:$f,LucideQuote:qf,LucideRabbit:Af,LucideRadar:zf,LucideRadiation:Vf,LucideRadical:Pf,LucideRadio:Df,LucideRadioReceiver:Tf,LucideRadioTower:Hf,LucideRadius:Bf,LucideRailSymbol:Rf,LucideRainbow:Ff,LucideRat:Ef,LucideRatio:Of,LucideReceipt:e7,LucideReceiptCent:Uf,LucideReceiptEuro:Gf,LucideReceiptIndianRupee:Wf,LucideReceiptJapaneseYen:Zf,LucideReceiptPoundSterling:Kf,LucideReceiptRussianRuble:Xf,LucideReceiptSwissFranc:Yf,LucideReceiptText:Jf,LucideReceiptTurkishLira:Qf,LucideRectangleCircle:t7,LucideRectangleEllipsis:Xn,LucideRectangleGoggles:a7,LucideRectangleHorizontal:n7,LucideRectangleVertical:o7,LucideRecycle:c7,LucideRedo:s7,LucideRedo2:i7,LucideRedoDot:r7,LucideRefreshCcw:l7,LucideRefreshCcwDot:d7,LucideRefreshCw:u7,LucideRefreshCwOff:h7,LucideRefrigerator:p7,LucideRegex:y7,LucideRemoveFormatting:k7,LucideRepeat:g7,LucideRepeat1:m7,LucideRepeat2:f7,LucideReplace:M7,LucideReplaceAll:v7,LucideReply:L7,LucideReplyAll:_7,LucideRewind:x7,LucideRibbon:I7,LucideRocket:b7,LucideRockingChair:N7,LucideRollerCoaster:w7,LucideRose:C7,LucideRotate3D:Yn,LucideRotate3d:Yn,LucideRotateCcw:$7,LucideRotateCcwKey:S7,LucideRotateCcwSquare:j7,LucideRotateCw:A7,LucideRotateCwSquare:q7,LucideRoute:V7,LucideRouteOff:z7,LucideRouter:P7,LucideRows:Jn,LucideRows2:Jn,LucideRows3:Qn,LucideRows4:T7,LucideRss:H7,LucideRuler:B7,LucideRulerDimensionLine:D7,LucideRussianRuble:R7,LucideSailboat:F7,LucideSalad:E7,LucideSandwich:O7,LucideSatellite:W7,LucideSatelliteDish:U7,LucideSaudiRiyal:G7,LucideSave:Y7,LucideSaveAll:Z7,LucideSaveOff:K7,LucideScale:X7,LucideScale3D:eo,LucideScale3d:eo,LucideScaling:J7,LucideScan:rg,LucideScanBarcode:Q7,LucideScanEye:eg,LucideScanFace:tg,LucideScanHeart:ag,LucideScanLine:ng,LucideScanQrCode:og,LucideScanSearch:cg,LucideScanText:ig,LucideScatterChart:pa,LucideSchool:sg,LucideSchool2:lc,LucideScissors:lg,LucideScissorsLineDashed:dg,LucideScissorsSquare:Ko,LucideScissorsSquareDashedBottom:Mo,LucideScreenShare:hg,LucideScreenShareOff:ug,LucideScroll:yg,LucideScrollText:pg,LucideSearch:I1,LucideSearchCheck:kg,LucideSearchCode:mg,LucideSearchSlash:fg,LucideSearchX:gg,LucideSection:vg,LucideSend:_g,LucideSendHorizonal:to,LucideSendHorizontal:to,LucideSendToBack:Mg,LucideSeparatorHorizontal:xg,LucideSeparatorVertical:Lg,LucideServer:Cg,LucideServerCog:Ig,LucideServerCrash:wg,LucideServerOff:bg,LucideSettings:Sg,LucideSettings2:Ng,LucideShapes:jg,LucideShare:qg,LucideShare2:$g,LucideSheet:Ag,LucideShell:zg,LucideShield:Og,LucideShieldAlert:Vg,LucideShieldBan:Pg,LucideShieldCheck:Tg,LucideShieldClose:no,LucideShieldEllipsis:Hg,LucideShieldHalf:Dg,LucideShieldMinus:Rg,LucideShieldOff:Bg,LucideShieldPlus:Fg,LucideShieldQuestion:ao,LucideShieldQuestionMark:ao,LucideShieldUser:Eg,LucideShieldX:no,LucideShip:Wg,LucideShipWheel:Ug,LucideShirt:Gg,LucideShoppingBag:Zg,LucideShoppingBasket:Kg,LucideShoppingCart:Xg,LucideShovel:Yg,LucideShowerHead:Jg,LucideShredder:Qg,LucideShrimp:ev,LucideShrink:tv,LucideShrub:av,LucideShuffle:ov,LucideSidebar:Un,LucideSidebarClose:Fn,LucideSidebarOpen:On,LucideSigma:nv,LucideSigmaSquare:Xo,LucideSignal:dv,LucideSignalHigh:cv,LucideSignalLow:iv,LucideSignalMedium:rv,LucideSignalZero:sv,LucideSignature:lv,LucideSignpost:uv,LucideSignpostBig:hv,LucideSiren:pv,LucideSkipBack:yv,LucideSkipForward:kv,LucideSkull:mv,LucideSlack:fv,LucideSlash:gv,LucideSlashSquare:Yo,LucideSlice:vv,LucideSliders:oo,LucideSlidersHorizontal:Mv,LucideSlidersVertical:oo,LucideSmartphone:Lv,LucideSmartphoneCharging:_v,LucideSmartphoneNfc:xv,LucideSmile:bv,LucideSmilePlus:Iv,LucideSnail:wv,LucideSnowflake:Cv,LucideSoapDispenserDroplet:Nv,LucideSofa:Sv,LucideSortAsc:Ut,LucideSortDesc:Ft,LucideSoup:jv,LucideSpace:$v,LucideSpade:qv,LucideSparkle:Av,LucideSparkles:co,LucideSpeaker:zv,LucideSpeech:Vv,LucideSpellCheck:Tv,LucideSpellCheck2:Pv,LucideSpline:Dv,LucideSplinePointer:Hv,LucideSplit:Bv,LucideSplitSquareHorizontal:Jo,LucideSplitSquareVertical:Qo,LucideSpool:Rv,LucideSpotlight:Fv,LucideSprayCan:Ev,LucideSprout:Ov,LucideSquare:t9,LucideSquareActivity:bt,LucideSquareArrowDown:so,LucideSquareArrowDownLeft:io,LucideSquareArrowDownRight:ro,LucideSquareArrowLeft:lo,LucideSquareArrowOutDownLeft:ho,LucideSquareArrowOutDownRight:uo,LucideSquareArrowOutUpLeft:po,LucideSquareArrowOutUpRight:yo,LucideSquareArrowRight:ko,LucideSquareArrowUp:go,LucideSquareArrowUpLeft:mo,LucideSquareArrowUpRight:fo,LucideSquareAsterisk:vo,LucideSquareBottomDashedScissors:Mo,LucideSquareChartGantt:ct,LucideSquareCheck:xo,LucideSquareCheckBig:_o,LucideSquareChevronDown:Lo,LucideSquareChevronLeft:Io,LucideSquareChevronRight:bo,LucideSquareChevronUp:wo,LucideSquareCode:Co,LucideSquareDashed:jo,LucideSquareDashedBottom:Wv,LucideSquareDashedBottomCode:Uv,LucideSquareDashedKanban:No,LucideSquareDashedMousePointer:So,LucideSquareDashedTopSolid:Gv,LucideSquareDivide:$o,LucideSquareDot:Ao,LucideSquareEqual:qo,LucideSquareFunction:zo,LucideSquareGanttChart:ct,LucideSquareKanban:Vo,LucideSquareLibrary:Po,LucideSquareM:To,LucideSquareMenu:Ho,LucideSquareMinus:Do,LucideSquareMousePointer:Ro,LucideSquareParking:Fo,LucideSquareParkingOff:Bo,LucideSquarePause:Zv,LucideSquarePen:Te,LucideSquarePercent:Eo,LucideSquarePi:Oo,LucideSquarePilcrow:Uo,LucideSquarePlay:Wo,LucideSquarePlus:Go,LucideSquarePower:Zo,LucideSquareRadical:Kv,LucideSquareRoundCorner:Xv,LucideSquareScissors:Ko,LucideSquareSigma:Xo,LucideSquareSlash:Yo,LucideSquareSplitHorizontal:Jo,LucideSquareSplitVertical:Qo,LucideSquareSquare:Yv,LucideSquareStack:Jv,LucideSquareStar:Qv,LucideSquareStop:e9,LucideSquareTerminal:ec,LucideSquareUser:ac,LucideSquareUserRound:tc,LucideSquareX:nc,LucideSquaresExclude:a9,LucideSquaresIntersect:n9,LucideSquaresSubtract:o9,LucideSquaresUnite:c9,LucideSquircle:r9,LucideSquircleDashed:i9,LucideSquirrel:s9,LucideStamp:d9,LucideStar:p9,LucideStarHalf:l9,LucideStarOff:h9,LucideStars:co,LucideStepBack:u9,LucideStepForward:y9,LucideStethoscope:k9,LucideSticker:m9,LucideStickyNote:f9,LucideStopCircle:Ba,LucideStore:g9,LucideStretchHorizontal:v9,LucideStretchVertical:M9,LucideStrikethrough:_9,LucideSubscript:x9,LucideSubtitles:ea,LucideSun:N9,LucideSunDim:L9,LucideSunMedium:I9,LucideSunMoon:b9,LucideSunSnow:w9,LucideSunrise:C9,LucideSunset:S9,LucideSuperscript:j9,LucideSwatchBook:$9,LucideSwissFranc:q9,LucideSwitchCamera:A9,LucideSword:z9,LucideSwords:P9,LucideSyringe:V9,LucideTable:O9,LucideTable2:T9,LucideTableCellsMerge:H9,LucideTableCellsSplit:D9,LucideTableColumnsSplit:B9,LucideTableConfig:nt,LucideTableOfContents:R9,LucideTableProperties:F9,LucideTableRowsSplit:E9,LucideTablet:W9,LucideTabletSmartphone:U9,LucideTablets:G9,LucideTag:Z9,LucideTags:K9,LucideTally1:X9,LucideTally2:Y9,LucideTally3:J9,LucideTally4:Q9,LucideTally5:eM,LucideTangent:tM,LucideTarget:aM,LucideTelescope:nM,LucideTent:cM,LucideTentTree:oM,LucideTerminal:iM,LucideTerminalSquare:ec,LucideTestTube:rM,LucideTestTube2:oc,LucideTestTubeDiagonal:oc,LucideTestTubes:sM,LucideText:pM,LucideTextCursor:lM,LucideTextCursorInput:dM,LucideTextQuote:hM,LucideTextSearch:uM,LucideTextSelect:cc,LucideTextSelection:cc,LucideTheater:yM,LucideThermometer:gM,LucideThermometerSnowflake:kM,LucideThermometerSun:mM,LucideThumbsDown:fM,LucideThumbsUp:vM,LucideTicket:wM,LucideTicketCheck:MM,LucideTicketMinus:_M,LucideTicketPercent:xM,LucideTicketPlus:LM,LucideTicketSlash:IM,LucideTicketX:bM,LucideTickets:NM,LucideTicketsPlane:CM,LucideTimer:$M,LucideTimerOff:SM,LucideTimerReset:jM,LucideToggleLeft:qM,LucideToggleRight:AM,LucideToilet:zM,LucideToolCase:VM,LucideTornado:TM,LucideTorus:PM,LucideTouchpad:DM,LucideTouchpadOff:HM,LucideTowerControl:RM,LucideToyBrick:BM,LucideTractor:FM,LucideTrafficCone:EM,LucideTrain:ic,LucideTrainFront:UM,LucideTrainFrontTunnel:OM,LucideTrainTrack:WM,LucideTramFront:ic,LucideTransgender:GM,LucideTrash:ZM,LucideTrash2:jt,LucideTreeDeciduous:KM,LucideTreePalm:rc,LucideTreePine:XM,LucideTrees:YM,LucideTrello:JM,LucideTrendingDown:QM,LucideTrendingUp:e_,LucideTrendingUpDown:t_,LucideTriangle:n_,LucideTriangleAlert:sc,LucideTriangleDashed:a_,LucideTriangleRight:o_,LucideTrophy:c_,LucideTruck:r_,LucideTruckElectric:i_,LucideTurkishLira:s_,LucideTurntable:d_,LucideTurtle:l_,LucideTv:u_,LucideTv2:dc,LucideTvMinimal:dc,LucideTvMinimalPlay:h_,LucideTwitch:p_,LucideTwitter:y_,LucideType:m_,LucideTypeOutline:k_,LucideUmbrella:g_,LucideUmbrellaOff:f_,LucideUnderline:v_,LucideUndo:x_,LucideUndo2:M_,LucideUndoDot:__,LucideUnfoldHorizontal:L_,LucideUnfoldVertical:I_,LucideUngroup:b_,LucideUniversity:lc,LucideUnlink:S_,LucideUnlink2:w_,LucideUnlock:$n,LucideUnlockKeyhole:jn,LucideUnplug:C_,LucideUpload:N_,LucideUploadCloud:Wa,LucideUsb:j_,LucideUser:R_,LucideUser2:mc,LucideUserCheck:$_,LucideUserCheck2:hc,LucideUserCircle:Fa,LucideUserCircle2:Ra,LucideUserCog:q_,LucideUserCog2:uc,LucideUserLock:A_,LucideUserMinus:z_,LucideUserMinus2:pc,LucideUserPen:V_,LucideUserPlus:b1,LucideUserPlus2:yc,LucideUserRound:mc,LucideUserRoundCheck:hc,LucideUserRoundCog:uc,LucideUserRoundMinus:pc,LucideUserRoundPen:P_,LucideUserRoundPlus:yc,LucideUserRoundSearch:T_,LucideUserRoundX:kc,LucideUserSearch:H_,LucideUserSquare:ac,LucideUserSquare2:tc,LucideUserStar:D_,LucideUserX:B_,LucideUserX2:kc,LucideUsers:F_,LucideUsers2:fc,LucideUsersRound:fc,LucideUtensils:vc,LucideUtensilsCrossed:gc,LucideUtilityPole:E_,LucideVariable:O_,LucideVault:U_,LucideVectorSquare:W_,LucideVegan:G_,LucideVenetianMask:Z_,LucideVenus:J_,LucideVenusAndMars:K_,LucideVerified:Zt,LucideVibrate:Y_,LucideVibrateOff:X_,LucideVideo:ex,LucideVideoOff:Q_,LucideVideotape:tx,LucideView:nx,LucideVoicemail:ax,LucideVolleyball:ox,LucideVolume:lx,LucideVolume1:cx,LucideVolume2:ix,LucideVolumeOff:rx,LucideVolumeX:sx,LucideVote:dx,LucideWallet:ux,LucideWallet2:Mc,LucideWalletCards:hx,LucideWalletMinimal:Mc,LucideWallpaper:px,LucideWand:yx,LucideWand2:_c,LucideWandSparkles:_c,LucideWarehouse:kx,LucideWashingMachine:mx,LucideWatch:fx,LucideWaves:vx,LucideWavesLadder:gx,LucideWaypoints:Mx,LucideWebcam:_x,LucideWebhook:Ix,LucideWebhookOff:xx,LucideWeight:Lx,LucideWheat:wx,LucideWheatOff:bx,LucideWholeWord:Cx,LucideWifi:Vx,LucideWifiCog:Nx,LucideWifiHigh:Sx,LucideWifiLow:jx,LucideWifiOff:$x,LucideWifiPen:qx,LucideWifiSync:Ax,LucideWifiZero:zx,LucideWind:Tx,LucideWindArrowDown:Px,LucideWine:Dx,LucideWineOff:Hx,LucideWorkflow:Bx,LucideWorm:Rx,LucideWrapText:Fx,LucideWrench:Ex,LucideX:Ke,LucideXCircle:xt,LucideXOctagon:Dn,LucideXSquare:nc,LucideYoutube:Ux,LucideZap:Wx,LucideZapOff:Ox,LucideZoomIn:Gx,LucideZoomOut:Zx,Luggage:I3,LuggageIcon:I3,MSquare:To,MSquareIcon:To,Magnet:b3,MagnetIcon:b3,Mail:q3,MailCheck:w3,MailCheckIcon:w3,MailIcon:q3,MailMinus:C3,MailMinusIcon:C3,MailOpen:N3,MailOpenIcon:N3,MailPlus:S3,MailPlusIcon:S3,MailQuestion:qn,MailQuestionIcon:qn,MailQuestionMark:qn,MailQuestionMarkIcon:qn,MailSearch:j3,MailSearchIcon:j3,MailWarning:$3,MailWarningIcon:$3,MailX:A3,MailXIcon:A3,Mailbox:z3,MailboxIcon:z3,Mails:V3,MailsIcon:V3,Map:X3,MapIcon:X3,MapMinus:P3,MapMinusIcon:P3,MapPin:G3,MapPinCheck:T3,MapPinCheckIcon:T3,MapPinCheckInside:H3,MapPinCheckInsideIcon:H3,MapPinHouse:D3,MapPinHouseIcon:D3,MapPinIcon:G3,MapPinMinus:R3,MapPinMinusIcon:R3,MapPinMinusInside:B3,MapPinMinusInsideIcon:B3,MapPinOff:F3,MapPinOffIcon:F3,MapPinPen:An,MapPinPenIcon:An,MapPinPlus:O3,MapPinPlusIcon:O3,MapPinPlusInside:E3,MapPinPlusInsideIcon:E3,MapPinX:W3,MapPinXIcon:W3,MapPinXInside:U3,MapPinXInsideIcon:U3,MapPinned:Z3,MapPinnedIcon:Z3,MapPlus:K3,MapPlusIcon:K3,Mars:J3,MarsIcon:J3,MarsStroke:Y3,MarsStrokeIcon:Y3,Martini:Q3,MartiniIcon:Q3,Maximize:am,Maximize2:em,Maximize2Icon:em,MaximizeIcon:am,Medal:tm,MedalIcon:tm,Megaphone:om,MegaphoneIcon:om,MegaphoneOff:nm,MegaphoneOffIcon:nm,Meh:cm,MehIcon:cm,MemoryStick:im,MemoryStickIcon:im,Menu:Gc,MenuIcon:Gc,MenuSquare:Ho,MenuSquareIcon:Ho,Merge:rm,MergeIcon:rm,MessageCircle:fm,MessageCircleCode:sm,MessageCircleCodeIcon:sm,MessageCircleDashed:dm,MessageCircleDashedIcon:dm,MessageCircleHeart:lm,MessageCircleHeartIcon:lm,MessageCircleIcon:fm,MessageCircleMore:hm,MessageCircleMoreIcon:hm,MessageCircleOff:um,MessageCircleOffIcon:um,MessageCirclePlus:pm,MessageCirclePlusIcon:pm,MessageCircleQuestion:zn,MessageCircleQuestionIcon:zn,MessageCircleQuestionMark:zn,MessageCircleQuestionMarkIcon:zn,MessageCircleReply:ym,MessageCircleReplyIcon:ym,MessageCircleWarning:km,MessageCircleWarningIcon:km,MessageCircleX:mm,MessageCircleXIcon:mm,MessageSquare:Am,MessageSquareCode:gm,MessageSquareCodeIcon:gm,MessageSquareDashed:vm,MessageSquareDashedIcon:vm,MessageSquareDiff:Mm,MessageSquareDiffIcon:Mm,MessageSquareDot:_m,MessageSquareDotIcon:_m,MessageSquareHeart:xm,MessageSquareHeartIcon:xm,MessageSquareIcon:Am,MessageSquareLock:Lm,MessageSquareLockIcon:Lm,MessageSquareMore:Im,MessageSquareMoreIcon:Im,MessageSquareOff:bm,MessageSquareOffIcon:bm,MessageSquarePlus:wm,MessageSquarePlusIcon:wm,MessageSquareQuote:Cm,MessageSquareQuoteIcon:Cm,MessageSquareReply:Nm,MessageSquareReplyIcon:Nm,MessageSquareShare:Sm,MessageSquareShareIcon:Sm,MessageSquareText:jm,MessageSquareTextIcon:jm,MessageSquareWarning:$m,MessageSquareWarningIcon:$m,MessageSquareX:qm,MessageSquareXIcon:qm,MessagesSquare:zm,MessagesSquareIcon:zm,Mic:Pm,Mic2:Vn,Mic2Icon:Vn,MicIcon:Pm,MicOff:Vm,MicOffIcon:Vm,MicVocal:Vn,MicVocalIcon:Vn,Microchip:Tm,MicrochipIcon:Tm,Microscope:Hm,MicroscopeIcon:Hm,Microwave:Dm,MicrowaveIcon:Dm,Milestone:Bm,MilestoneIcon:Bm,Milk:Fm,MilkIcon:Fm,MilkOff:Rm,MilkOffIcon:Rm,Minimize:Om,Minimize2:Em,Minimize2Icon:Em,MinimizeIcon:Om,Minus:Um,MinusCircle:$a,MinusCircleIcon:$a,MinusIcon:Um,MinusSquare:Do,MinusSquareIcon:Do,Monitor:o6,MonitorCheck:Wm,MonitorCheckIcon:Wm,MonitorCog:Gm,MonitorCogIcon:Gm,MonitorDot:Zm,MonitorDotIcon:Zm,MonitorDown:Km,MonitorDownIcon:Km,MonitorIcon:o6,MonitorOff:Xm,MonitorOffIcon:Xm,MonitorPause:Jm,MonitorPauseIcon:Jm,MonitorPlay:Ym,MonitorPlayIcon:Ym,MonitorSmartphone:Qm,MonitorSmartphoneIcon:Qm,MonitorSpeaker:e6,MonitorSpeakerIcon:e6,MonitorStop:t6,MonitorStopIcon:t6,MonitorUp:a6,MonitorUpIcon:a6,MonitorX:n6,MonitorXIcon:n6,Moon:i6,MoonIcon:i6,MoonStar:c6,MoonStarIcon:c6,MoreHorizontal:en,MoreHorizontalIcon:en,MoreVertical:Qa,MoreVerticalIcon:Qa,Mountain:s6,MountainIcon:s6,MountainSnow:r6,MountainSnowIcon:r6,Mouse:y6,MouseIcon:y6,MouseOff:d6,MouseOffIcon:d6,MousePointer:u6,MousePointer2:l6,MousePointer2Icon:l6,MousePointerBan:h6,MousePointerBanIcon:h6,MousePointerClick:p6,MousePointerClickIcon:p6,MousePointerIcon:u6,MousePointerSquareDashed:So,MousePointerSquareDashedIcon:So,Move:a.Move,Move3D:Pn,Move3DIcon:Pn,Move3d:Pn,Move3dIcon:Pn,MoveDiagonal:m6,MoveDiagonal2:k6,MoveDiagonal2Icon:k6,MoveDiagonalIcon:m6,MoveDown:M6,MoveDownIcon:M6,MoveDownLeft:f6,MoveDownLeftIcon:f6,MoveDownRight:g6,MoveDownRightIcon:g6,MoveHorizontal:v6,MoveHorizontalIcon:v6,MoveIcon:a.Move,MoveLeft:_6,MoveLeftIcon:_6,MoveRight:x6,MoveRightIcon:x6,MoveUp:b6,MoveUpIcon:b6,MoveUpLeft:L6,MoveUpLeftIcon:L6,MoveUpRight:I6,MoveUpRightIcon:I6,MoveVertical:w6,MoveVerticalIcon:w6,Music:j6,Music2:C6,Music2Icon:C6,Music3:N6,Music3Icon:N6,Music4:S6,Music4Icon:S6,MusicIcon:j6,Navigation:z6,Navigation2:q6,Navigation2Icon:q6,Navigation2Off:$6,Navigation2OffIcon:$6,NavigationIcon:z6,NavigationOff:A6,NavigationOffIcon:A6,Network:V6,NetworkIcon:V6,Newspaper:P6,NewspaperIcon:P6,Nfc:T6,NfcIcon:T6,NonBinary:H6,NonBinaryIcon:H6,Notebook:F6,NotebookIcon:F6,NotebookPen:D6,NotebookPenIcon:D6,NotebookTabs:B6,NotebookTabsIcon:B6,NotebookText:R6,NotebookTextIcon:R6,NotepadText:O6,NotepadTextDashed:E6,NotepadTextDashedIcon:E6,NotepadTextIcon:O6,Nut:W6,NutIcon:W6,NutOff:U6,NutOffIcon:U6,Octagon:Z6,OctagonAlert:Tn,OctagonAlertIcon:Tn,OctagonIcon:Z6,OctagonMinus:G6,OctagonMinusIcon:G6,OctagonPause:Hn,OctagonPauseIcon:Hn,OctagonX:Dn,OctagonXIcon:Dn,Omega:K6,OmegaIcon:K6,Option:X6,OptionIcon:X6,Orbit:Y6,OrbitIcon:Y6,Origami:J6,OrigamiIcon:J6,Outdent:bn,OutdentIcon:bn,Package:i8,Package2:Q6,Package2Icon:Q6,PackageCheck:e8,PackageCheckIcon:e8,PackageIcon:i8,PackageMinus:t8,PackageMinusIcon:t8,PackageOpen:a8,PackageOpenIcon:a8,PackagePlus:n8,PackagePlusIcon:n8,PackageSearch:o8,PackageSearchIcon:o8,PackageX:c8,PackageXIcon:c8,PaintBucket:r8,PaintBucketIcon:r8,PaintRoller:s8,PaintRollerIcon:s8,Paintbrush:d8,Paintbrush2:Bn,Paintbrush2Icon:Bn,PaintbrushIcon:d8,PaintbrushVertical:Bn,PaintbrushVerticalIcon:Bn,Palette:l8,PaletteIcon:l8,Palmtree:rc,PalmtreeIcon:rc,Panda:h8,PandaIcon:h8,PanelBottom:y8,PanelBottomClose:u8,PanelBottomCloseIcon:u8,PanelBottomDashed:Rn,PanelBottomDashedIcon:Rn,PanelBottomIcon:y8,PanelBottomInactive:Rn,PanelBottomInactiveIcon:Rn,PanelBottomOpen:p8,PanelBottomOpenIcon:p8,PanelLeft:Un,PanelLeftClose:Fn,PanelLeftCloseIcon:Fn,PanelLeftDashed:En,PanelLeftDashedIcon:En,PanelLeftIcon:Un,PanelLeftInactive:En,PanelLeftInactiveIcon:En,PanelLeftOpen:On,PanelLeftOpenIcon:On,PanelRight:f8,PanelRightClose:k8,PanelRightCloseIcon:k8,PanelRightDashed:Wn,PanelRightDashedIcon:Wn,PanelRightIcon:f8,PanelRightInactive:Wn,PanelRightInactiveIcon:Wn,PanelRightOpen:m8,PanelRightOpenIcon:m8,PanelTop:M8,PanelTopClose:g8,PanelTopCloseIcon:g8,PanelTopDashed:Gn,PanelTopDashedIcon:Gn,PanelTopIcon:M8,PanelTopInactive:Gn,PanelTopInactiveIcon:Gn,PanelTopOpen:v8,PanelTopOpenIcon:v8,PanelsLeftBottom:_8,PanelsLeftBottomIcon:_8,PanelsLeftRight:Ka,PanelsLeftRightIcon:Ka,PanelsRightBottom:x8,PanelsRightBottomIcon:x8,PanelsTopBottom:Qn,PanelsTopBottomIcon:Qn,PanelsTopLeft:Zn,PanelsTopLeftIcon:Zn,Paperclip:L8,PaperclipIcon:L8,Parentheses:I8,ParenthesesIcon:I8,ParkingCircle:za,ParkingCircleIcon:za,ParkingCircleOff:qa,ParkingCircleOffIcon:qa,ParkingMeter:b8,ParkingMeterIcon:b8,ParkingSquare:Fo,ParkingSquareIcon:Fo,ParkingSquareOff:Bo,ParkingSquareOffIcon:Bo,PartyPopper:w8,PartyPopperIcon:w8,Pause:C8,PauseCircle:Aa,PauseCircleIcon:Aa,PauseIcon:C8,PauseOctagon:Hn,PauseOctagonIcon:Hn,PawPrint:N8,PawPrintIcon:N8,PcCase:S8,PcCaseIcon:S8,Pen:ht,PenBox:Te,PenBoxIcon:Te,PenIcon:ht,PenLine:lt,PenLineIcon:lt,PenOff:$8,PenOffIcon:$8,PenSquare:Te,PenSquareIcon:Te,PenTool:j8,PenToolIcon:j8,Pencil:L1,PencilIcon:L1,PencilLine:q8,PencilLineIcon:q8,PencilOff:A8,PencilOffIcon:A8,PencilRuler:z8,PencilRulerIcon:z8,Pentagon:V8,PentagonIcon:V8,Percent:P8,PercentCircle:Va,PercentCircleIcon:Va,PercentDiamond:Ya,PercentDiamondIcon:Ya,PercentIcon:P8,PercentSquare:Eo,PercentSquareIcon:Eo,PersonStanding:H8,PersonStandingIcon:H8,PhilippinePeso:T8,PhilippinePesoIcon:T8,Phone:O8,PhoneCall:D8,PhoneCallIcon:D8,PhoneForwarded:B8,PhoneForwardedIcon:B8,PhoneIcon:O8,PhoneIncoming:R8,PhoneIncomingIcon:R8,PhoneMissed:F8,PhoneMissedIcon:F8,PhoneOff:E8,PhoneOffIcon:E8,PhoneOutgoing:U8,PhoneOutgoingIcon:U8,Pi:W8,PiIcon:W8,PiSquare:Oo,PiSquareIcon:Oo,Piano:G8,PianoIcon:G8,Pickaxe:Z8,PickaxeIcon:Z8,PictureInPicture:X8,PictureInPicture2:K8,PictureInPicture2Icon:K8,PictureInPictureIcon:X8,PieChart:ua,PieChartIcon:ua,PiggyBank:Y8,PiggyBankIcon:Y8,Pilcrow:Q8,PilcrowIcon:Q8,PilcrowLeft:J8,PilcrowLeftIcon:J8,PilcrowRight:ef,PilcrowRightIcon:ef,PilcrowSquare:Uo,PilcrowSquareIcon:Uo,Pill:af,PillBottle:tf,PillBottleIcon:tf,PillIcon:af,Pin:of,PinIcon:of,PinOff:nf,PinOffIcon:nf,Pipette:cf,PipetteIcon:cf,Pizza:rf,PizzaIcon:rf,Plane:lf,PlaneIcon:lf,PlaneLanding:sf,PlaneLandingIcon:sf,PlaneTakeoff:df,PlaneTakeoffIcon:df,Play:hf,PlayCircle:Pa,PlayCircleIcon:Pa,PlayIcon:hf,PlaySquare:Wo,PlaySquareIcon:Wo,Plug:pf,Plug2:uf,Plug2Icon:uf,PlugIcon:pf,PlugZap:Kn,PlugZap2:Kn,PlugZap2Icon:Kn,PlugZapIcon:Kn,Plus:Zc,PlusCircle:Ta,PlusCircleIcon:Ta,PlusIcon:Zc,PlusSquare:Go,PlusSquareIcon:Go,Pocket:kf,PocketIcon:kf,PocketKnife:yf,PocketKnifeIcon:yf,Podcast:mf,PodcastIcon:mf,Pointer:gf,PointerIcon:gf,PointerOff:ff,PointerOffIcon:ff,Popcorn:Mf,PopcornIcon:Mf,Popsicle:vf,PopsicleIcon:vf,PoundSterling:_f,PoundSterlingIcon:_f,Power:Lf,PowerCircle:Ha,PowerCircleIcon:Ha,PowerIcon:Lf,PowerOff:xf,PowerOffIcon:xf,PowerSquare:Zo,PowerSquareIcon:Zo,Presentation:If,PresentationIcon:If,Printer:wf,PrinterCheck:bf,PrinterCheckIcon:bf,PrinterIcon:wf,Projector:Cf,ProjectorIcon:Cf,Proportions:Nf,ProportionsIcon:Nf,Puzzle:jf,PuzzleIcon:jf,Pyramid:Sf,PyramidIcon:Sf,QrCode:$f,QrCodeIcon:$f,Quote:qf,QuoteIcon:qf,Rabbit:Af,RabbitIcon:Af,Radar:zf,RadarIcon:zf,Radiation:Vf,RadiationIcon:Vf,Radical:Pf,RadicalIcon:Pf,Radio:Df,RadioIcon:Df,RadioReceiver:Tf,RadioReceiverIcon:Tf,RadioTower:Hf,RadioTowerIcon:Hf,Radius:Bf,RadiusIcon:Bf,RailSymbol:Rf,RailSymbolIcon:Rf,Rainbow:Ff,RainbowIcon:Ff,Rat:Ef,RatIcon:Ef,Ratio:Of,RatioIcon:Of,Receipt:e7,ReceiptCent:Uf,ReceiptCentIcon:Uf,ReceiptEuro:Gf,ReceiptEuroIcon:Gf,ReceiptIcon:e7,ReceiptIndianRupee:Wf,ReceiptIndianRupeeIcon:Wf,ReceiptJapaneseYen:Zf,ReceiptJapaneseYenIcon:Zf,ReceiptPoundSterling:Kf,ReceiptPoundSterlingIcon:Kf,ReceiptRussianRuble:Xf,ReceiptRussianRubleIcon:Xf,ReceiptSwissFranc:Yf,ReceiptSwissFrancIcon:Yf,ReceiptText:Jf,ReceiptTextIcon:Jf,ReceiptTurkishLira:Qf,ReceiptTurkishLiraIcon:Qf,RectangleCircle:t7,RectangleCircleIcon:t7,RectangleEllipsis:Xn,RectangleEllipsisIcon:Xn,RectangleGoggles:a7,RectangleGogglesIcon:a7,RectangleHorizontal:n7,RectangleHorizontalIcon:n7,RectangleVertical:o7,RectangleVerticalIcon:o7,Recycle:c7,RecycleIcon:c7,Redo:s7,Redo2:i7,Redo2Icon:i7,RedoDot:r7,RedoDotIcon:r7,RedoIcon:s7,RefreshCcw:l7,RefreshCcwDot:d7,RefreshCcwDotIcon:d7,RefreshCcwIcon:l7,RefreshCw:u7,RefreshCwIcon:u7,RefreshCwOff:h7,RefreshCwOffIcon:h7,Refrigerator:p7,RefrigeratorIcon:p7,Regex:y7,RegexIcon:y7,RemoveFormatting:k7,RemoveFormattingIcon:k7,Repeat:g7,Repeat1:m7,Repeat1Icon:m7,Repeat2:f7,Repeat2Icon:f7,RepeatIcon:g7,Replace:M7,ReplaceAll:v7,ReplaceAllIcon:v7,ReplaceIcon:M7,Reply:L7,ReplyAll:_7,ReplyAllIcon:_7,ReplyIcon:L7,Rewind:x7,RewindIcon:x7,Ribbon:I7,RibbonIcon:I7,Rocket:b7,RocketIcon:b7,RockingChair:N7,RockingChairIcon:N7,RollerCoaster:w7,RollerCoasterIcon:w7,Rose:C7,RoseIcon:C7,Rotate3D:Yn,Rotate3DIcon:Yn,Rotate3d:Yn,Rotate3dIcon:Yn,RotateCcw:$7,RotateCcwIcon:$7,RotateCcwKey:S7,RotateCcwKeyIcon:S7,RotateCcwSquare:j7,RotateCcwSquareIcon:j7,RotateCw:A7,RotateCwIcon:A7,RotateCwSquare:q7,RotateCwSquareIcon:q7,Route:V7,RouteIcon:V7,RouteOff:z7,RouteOffIcon:z7,Router:P7,RouterIcon:P7,Rows:Jn,Rows2:Jn,Rows2Icon:Jn,Rows3:Qn,Rows3Icon:Qn,Rows4:T7,Rows4Icon:T7,RowsIcon:Jn,Rss:H7,RssIcon:H7,Ruler:B7,RulerDimensionLine:D7,RulerDimensionLineIcon:D7,RulerIcon:B7,RussianRuble:R7,RussianRubleIcon:R7,Sailboat:F7,SailboatIcon:F7,Salad:E7,SaladIcon:E7,Sandwich:O7,SandwichIcon:O7,Satellite:W7,SatelliteDish:U7,SatelliteDishIcon:U7,SatelliteIcon:W7,SaudiRiyal:G7,SaudiRiyalIcon:G7,Save:Y7,SaveAll:Z7,SaveAllIcon:Z7,SaveIcon:Y7,SaveOff:K7,SaveOffIcon:K7,Scale:X7,Scale3D:eo,Scale3DIcon:eo,Scale3d:eo,Scale3dIcon:eo,ScaleIcon:X7,Scaling:J7,ScalingIcon:J7,Scan:rg,ScanBarcode:Q7,ScanBarcodeIcon:Q7,ScanEye:eg,ScanEyeIcon:eg,ScanFace:tg,ScanFaceIcon:tg,ScanHeart:ag,ScanHeartIcon:ag,ScanIcon:rg,ScanLine:ng,ScanLineIcon:ng,ScanQrCode:og,ScanQrCodeIcon:og,ScanSearch:cg,ScanSearchIcon:cg,ScanText:ig,ScanTextIcon:ig,ScatterChart:pa,ScatterChartIcon:pa,School:sg,School2:lc,School2Icon:lc,SchoolIcon:sg,Scissors:lg,ScissorsIcon:lg,ScissorsLineDashed:dg,ScissorsLineDashedIcon:dg,ScissorsSquare:Ko,ScissorsSquareDashedBottom:Mo,ScissorsSquareDashedBottomIcon:Mo,ScissorsSquareIcon:Ko,ScreenShare:hg,ScreenShareIcon:hg,ScreenShareOff:ug,ScreenShareOffIcon:ug,Scroll:yg,ScrollIcon:yg,ScrollText:pg,ScrollTextIcon:pg,Search:I1,SearchCheck:kg,SearchCheckIcon:kg,SearchCode:mg,SearchCodeIcon:mg,SearchIcon:I1,SearchSlash:fg,SearchSlashIcon:fg,SearchX:gg,SearchXIcon:gg,Section:vg,SectionIcon:vg,Send:_g,SendHorizonal:to,SendHorizonalIcon:to,SendHorizontal:to,SendHorizontalIcon:to,SendIcon:_g,SendToBack:Mg,SendToBackIcon:Mg,SeparatorHorizontal:xg,SeparatorHorizontalIcon:xg,SeparatorVertical:Lg,SeparatorVerticalIcon:Lg,Server:Cg,ServerCog:Ig,ServerCogIcon:Ig,ServerCrash:wg,ServerCrashIcon:wg,ServerIcon:Cg,ServerOff:bg,ServerOffIcon:bg,Settings:Sg,Settings2:Ng,Settings2Icon:Ng,SettingsIcon:Sg,Shapes:jg,ShapesIcon:jg,Share:qg,Share2:$g,Share2Icon:$g,ShareIcon:qg,Sheet:Ag,SheetIcon:Ag,Shell:zg,ShellIcon:zg,Shield:Og,ShieldAlert:Vg,ShieldAlertIcon:Vg,ShieldBan:Pg,ShieldBanIcon:Pg,ShieldCheck:Tg,ShieldCheckIcon:Tg,ShieldClose:no,ShieldCloseIcon:no,ShieldEllipsis:Hg,ShieldEllipsisIcon:Hg,ShieldHalf:Dg,ShieldHalfIcon:Dg,ShieldIcon:Og,ShieldMinus:Rg,ShieldMinusIcon:Rg,ShieldOff:Bg,ShieldOffIcon:Bg,ShieldPlus:Fg,ShieldPlusIcon:Fg,ShieldQuestion:ao,ShieldQuestionIcon:ao,ShieldQuestionMark:ao,ShieldQuestionMarkIcon:ao,ShieldUser:Eg,ShieldUserIcon:Eg,ShieldX:no,ShieldXIcon:no,Ship:Wg,ShipIcon:Wg,ShipWheel:Ug,ShipWheelIcon:Ug,Shirt:Gg,ShirtIcon:Gg,ShoppingBag:Zg,ShoppingBagIcon:Zg,ShoppingBasket:Kg,ShoppingBasketIcon:Kg,ShoppingCart:Xg,ShoppingCartIcon:Xg,Shovel:Yg,ShovelIcon:Yg,ShowerHead:Jg,ShowerHeadIcon:Jg,Shredder:Qg,ShredderIcon:Qg,Shrimp:ev,ShrimpIcon:ev,Shrink:tv,ShrinkIcon:tv,Shrub:av,ShrubIcon:av,Shuffle:ov,ShuffleIcon:ov,Sidebar:Un,SidebarClose:Fn,SidebarCloseIcon:Fn,SidebarIcon:Un,SidebarOpen:On,SidebarOpenIcon:On,Sigma:nv,SigmaIcon:nv,SigmaSquare:Xo,SigmaSquareIcon:Xo,Signal:dv,SignalHigh:cv,SignalHighIcon:cv,SignalIcon:dv,SignalLow:iv,SignalLowIcon:iv,SignalMedium:rv,SignalMediumIcon:rv,SignalZero:sv,SignalZeroIcon:sv,Signature:lv,SignatureIcon:lv,Signpost:uv,SignpostBig:hv,SignpostBigIcon:hv,SignpostIcon:uv,Siren:pv,SirenIcon:pv,SkipBack:yv,SkipBackIcon:yv,SkipForward:kv,SkipForwardIcon:kv,Skull:mv,SkullIcon:mv,Slack:fv,SlackIcon:fv,Slash:gv,SlashIcon:gv,SlashSquare:Yo,SlashSquareIcon:Yo,Slice:vv,SliceIcon:vv,Sliders:oo,SlidersHorizontal:Mv,SlidersHorizontalIcon:Mv,SlidersIcon:oo,SlidersVertical:oo,SlidersVerticalIcon:oo,Smartphone:Lv,SmartphoneCharging:_v,SmartphoneChargingIcon:_v,SmartphoneIcon:Lv,SmartphoneNfc:xv,SmartphoneNfcIcon:xv,Smile:bv,SmileIcon:bv,SmilePlus:Iv,SmilePlusIcon:Iv,Snail:wv,SnailIcon:wv,Snowflake:Cv,SnowflakeIcon:Cv,SoapDispenserDroplet:Nv,SoapDispenserDropletIcon:Nv,Sofa:Sv,SofaIcon:Sv,SortAsc:Ut,SortAscIcon:Ut,SortDesc:Ft,SortDescIcon:Ft,Soup:jv,SoupIcon:jv,Space:$v,SpaceIcon:$v,Spade:qv,SpadeIcon:qv,Sparkle:Av,SparkleIcon:Av,Sparkles:co,SparklesIcon:co,Speaker:zv,SpeakerIcon:zv,Speech:Vv,SpeechIcon:Vv,SpellCheck:Tv,SpellCheck2:Pv,SpellCheck2Icon:Pv,SpellCheckIcon:Tv,Spline:Dv,SplineIcon:Dv,SplinePointer:Hv,SplinePointerIcon:Hv,Split:Bv,SplitIcon:Bv,SplitSquareHorizontal:Jo,SplitSquareHorizontalIcon:Jo,SplitSquareVertical:Qo,SplitSquareVerticalIcon:Qo,Spool:Rv,SpoolIcon:Rv,Spotlight:Fv,SpotlightIcon:Fv,SprayCan:Ev,SprayCanIcon:Ev,Sprout:Ov,SproutIcon:Ov,Square:t9,SquareActivity:bt,SquareActivityIcon:bt,SquareArrowDown:so,SquareArrowDownIcon:so,SquareArrowDownLeft:io,SquareArrowDownLeftIcon:io,SquareArrowDownRight:ro,SquareArrowDownRightIcon:ro,SquareArrowLeft:lo,SquareArrowLeftIcon:lo,SquareArrowOutDownLeft:ho,SquareArrowOutDownLeftIcon:ho,SquareArrowOutDownRight:uo,SquareArrowOutDownRightIcon:uo,SquareArrowOutUpLeft:po,SquareArrowOutUpLeftIcon:po,SquareArrowOutUpRight:yo,SquareArrowOutUpRightIcon:yo,SquareArrowRight:ko,SquareArrowRightIcon:ko,SquareArrowUp:go,SquareArrowUpIcon:go,SquareArrowUpLeft:mo,SquareArrowUpLeftIcon:mo,SquareArrowUpRight:fo,SquareArrowUpRightIcon:fo,SquareAsterisk:vo,SquareAsteriskIcon:vo,SquareBottomDashedScissors:Mo,SquareBottomDashedScissorsIcon:Mo,SquareChartGantt:ct,SquareChartGanttIcon:ct,SquareCheck:xo,SquareCheckBig:_o,SquareCheckBigIcon:_o,SquareCheckIcon:xo,SquareChevronDown:Lo,SquareChevronDownIcon:Lo,SquareChevronLeft:Io,SquareChevronLeftIcon:Io,SquareChevronRight:bo,SquareChevronRightIcon:bo,SquareChevronUp:wo,SquareChevronUpIcon:wo,SquareCode:Co,SquareCodeIcon:Co,SquareDashed:jo,SquareDashedBottom:Wv,SquareDashedBottomCode:Uv,SquareDashedBottomCodeIcon:Uv,SquareDashedBottomIcon:Wv,SquareDashedIcon:jo,SquareDashedKanban:No,SquareDashedKanbanIcon:No,SquareDashedMousePointer:So,SquareDashedMousePointerIcon:So,SquareDashedTopSolid:Gv,SquareDashedTopSolidIcon:Gv,SquareDivide:$o,SquareDivideIcon:$o,SquareDot:Ao,SquareDotIcon:Ao,SquareEqual:qo,SquareEqualIcon:qo,SquareFunction:zo,SquareFunctionIcon:zo,SquareGanttChart:ct,SquareGanttChartIcon:ct,SquareIcon:t9,SquareKanban:Vo,SquareKanbanIcon:Vo,SquareLibrary:Po,SquareLibraryIcon:Po,SquareM:To,SquareMIcon:To,SquareMenu:Ho,SquareMenuIcon:Ho,SquareMinus:Do,SquareMinusIcon:Do,SquareMousePointer:Ro,SquareMousePointerIcon:Ro,SquareParking:Fo,SquareParkingIcon:Fo,SquareParkingOff:Bo,SquareParkingOffIcon:Bo,SquarePause:Zv,SquarePauseIcon:Zv,SquarePen:Te,SquarePenIcon:Te,SquarePercent:Eo,SquarePercentIcon:Eo,SquarePi:Oo,SquarePiIcon:Oo,SquarePilcrow:Uo,SquarePilcrowIcon:Uo,SquarePlay:Wo,SquarePlayIcon:Wo,SquarePlus:Go,SquarePlusIcon:Go,SquarePower:Zo,SquarePowerIcon:Zo,SquareRadical:Kv,SquareRadicalIcon:Kv,SquareRoundCorner:Xv,SquareRoundCornerIcon:Xv,SquareScissors:Ko,SquareScissorsIcon:Ko,SquareSigma:Xo,SquareSigmaIcon:Xo,SquareSlash:Yo,SquareSlashIcon:Yo,SquareSplitHorizontal:Jo,SquareSplitHorizontalIcon:Jo,SquareSplitVertical:Qo,SquareSplitVerticalIcon:Qo,SquareSquare:Yv,SquareSquareIcon:Yv,SquareStack:Jv,SquareStackIcon:Jv,SquareStar:Qv,SquareStarIcon:Qv,SquareStop:e9,SquareStopIcon:e9,SquareTerminal:ec,SquareTerminalIcon:ec,SquareUser:ac,SquareUserIcon:ac,SquareUserRound:tc,SquareUserRoundIcon:tc,SquareX:nc,SquareXIcon:nc,SquaresExclude:a9,SquaresExcludeIcon:a9,SquaresIntersect:n9,SquaresIntersectIcon:n9,SquaresSubtract:o9,SquaresSubtractIcon:o9,SquaresUnite:c9,SquaresUniteIcon:c9,Squircle:r9,SquircleDashed:i9,SquircleDashedIcon:i9,SquircleIcon:r9,Squirrel:s9,SquirrelIcon:s9,Stamp:d9,StampIcon:d9,Star:p9,StarHalf:l9,StarHalfIcon:l9,StarIcon:p9,StarOff:h9,StarOffIcon:h9,Stars:co,StarsIcon:co,StepBack:u9,StepBackIcon:u9,StepForward:y9,StepForwardIcon:y9,Stethoscope:k9,StethoscopeIcon:k9,Sticker:m9,StickerIcon:m9,StickyNote:f9,StickyNoteIcon:f9,StopCircle:Ba,StopCircleIcon:Ba,Store:g9,StoreIcon:g9,StretchHorizontal:v9,StretchHorizontalIcon:v9,StretchVertical:M9,StretchVerticalIcon:M9,Strikethrough:_9,StrikethroughIcon:_9,Subscript:x9,SubscriptIcon:x9,Subtitles:ea,SubtitlesIcon:ea,Sun:N9,SunDim:L9,SunDimIcon:L9,SunIcon:N9,SunMedium:I9,SunMediumIcon:I9,SunMoon:b9,SunMoonIcon:b9,SunSnow:w9,SunSnowIcon:w9,Sunrise:C9,SunriseIcon:C9,Sunset:S9,SunsetIcon:S9,Superscript:j9,SuperscriptIcon:j9,SwatchBook:$9,SwatchBookIcon:$9,SwissFranc:q9,SwissFrancIcon:q9,SwitchCamera:A9,SwitchCameraIcon:A9,Sword:z9,SwordIcon:z9,Swords:P9,SwordsIcon:P9,Syringe:V9,SyringeIcon:V9,Table:O9,Table2:T9,Table2Icon:T9,TableCellsMerge:H9,TableCellsMergeIcon:H9,TableCellsSplit:D9,TableCellsSplitIcon:D9,TableColumnsSplit:B9,TableColumnsSplitIcon:B9,TableConfig:nt,TableConfigIcon:nt,TableIcon:O9,TableOfContents:R9,TableOfContentsIcon:R9,TableProperties:F9,TablePropertiesIcon:F9,TableRowsSplit:E9,TableRowsSplitIcon:E9,Tablet:W9,TabletIcon:W9,TabletSmartphone:U9,TabletSmartphoneIcon:U9,Tablets:G9,TabletsIcon:G9,Tag:Z9,TagIcon:Z9,Tags:K9,TagsIcon:K9,Tally1:X9,Tally1Icon:X9,Tally2:Y9,Tally2Icon:Y9,Tally3:J9,Tally3Icon:J9,Tally4:Q9,Tally4Icon:Q9,Tally5:eM,Tally5Icon:eM,Tangent:tM,TangentIcon:tM,Target:aM,TargetIcon:aM,Telescope:nM,TelescopeIcon:nM,Tent:cM,TentIcon:cM,TentTree:oM,TentTreeIcon:oM,Terminal:iM,TerminalIcon:iM,TerminalSquare:ec,TerminalSquareIcon:ec,TestTube:rM,TestTube2:oc,TestTube2Icon:oc,TestTubeDiagonal:oc,TestTubeDiagonalIcon:oc,TestTubeIcon:rM,TestTubes:sM,TestTubesIcon:sM,Text:pM,TextCursor:lM,TextCursorIcon:lM,TextCursorInput:dM,TextCursorInputIcon:dM,TextIcon:pM,TextQuote:hM,TextQuoteIcon:hM,TextSearch:uM,TextSearchIcon:uM,TextSelect:cc,TextSelectIcon:cc,TextSelection:cc,TextSelectionIcon:cc,Theater:yM,TheaterIcon:yM,Thermometer:gM,ThermometerIcon:gM,ThermometerSnowflake:kM,ThermometerSnowflakeIcon:kM,ThermometerSun:mM,ThermometerSunIcon:mM,ThumbsDown:fM,ThumbsDownIcon:fM,ThumbsUp:vM,ThumbsUpIcon:vM,Ticket:wM,TicketCheck:MM,TicketCheckIcon:MM,TicketIcon:wM,TicketMinus:_M,TicketMinusIcon:_M,TicketPercent:xM,TicketPercentIcon:xM,TicketPlus:LM,TicketPlusIcon:LM,TicketSlash:IM,TicketSlashIcon:IM,TicketX:bM,TicketXIcon:bM,Tickets:NM,TicketsIcon:NM,TicketsPlane:CM,TicketsPlaneIcon:CM,Timer:$M,TimerIcon:$M,TimerOff:SM,TimerOffIcon:SM,TimerReset:jM,TimerResetIcon:jM,ToggleLeft:qM,ToggleLeftIcon:qM,ToggleRight:AM,ToggleRightIcon:AM,Toilet:zM,ToiletIcon:zM,ToolCase:VM,ToolCaseIcon:VM,Tornado:TM,TornadoIcon:TM,Torus:PM,TorusIcon:PM,Touchpad:DM,TouchpadIcon:DM,TouchpadOff:HM,TouchpadOffIcon:HM,TowerControl:RM,TowerControlIcon:RM,ToyBrick:BM,ToyBrickIcon:BM,Tractor:FM,TractorIcon:FM,TrafficCone:EM,TrafficConeIcon:EM,Train:ic,TrainFront:UM,TrainFrontIcon:UM,TrainFrontTunnel:OM,TrainFrontTunnelIcon:OM,TrainIcon:ic,TrainTrack:WM,TrainTrackIcon:WM,TramFront:ic,TramFrontIcon:ic,Transgender:GM,TransgenderIcon:GM,Trash:ZM,Trash2:jt,Trash2Icon:jt,TrashIcon:ZM,TreeDeciduous:KM,TreeDeciduousIcon:KM,TreePalm:rc,TreePalmIcon:rc,TreePine:XM,TreePineIcon:XM,Trees:YM,TreesIcon:YM,Trello:JM,TrelloIcon:JM,TrendingDown:QM,TrendingDownIcon:QM,TrendingUp:e_,TrendingUpDown:t_,TrendingUpDownIcon:t_,TrendingUpIcon:e_,Triangle:n_,TriangleAlert:sc,TriangleAlertIcon:sc,TriangleDashed:a_,TriangleDashedIcon:a_,TriangleIcon:n_,TriangleRight:o_,TriangleRightIcon:o_,Trophy:c_,TrophyIcon:c_,Truck:r_,TruckElectric:i_,TruckElectricIcon:i_,TruckIcon:r_,TurkishLira:s_,TurkishLiraIcon:s_,Turntable:d_,TurntableIcon:d_,Turtle:l_,TurtleIcon:l_,Tv:u_,Tv2:dc,Tv2Icon:dc,TvIcon:u_,TvMinimal:dc,TvMinimalIcon:dc,TvMinimalPlay:h_,TvMinimalPlayIcon:h_,Twitch:p_,TwitchIcon:p_,Twitter:y_,TwitterIcon:y_,Type:m_,TypeIcon:m_,TypeOutline:k_,TypeOutlineIcon:k_,Umbrella:g_,UmbrellaIcon:g_,UmbrellaOff:f_,UmbrellaOffIcon:f_,Underline:v_,UnderlineIcon:v_,Undo:x_,Undo2:M_,Undo2Icon:M_,UndoDot:__,UndoDotIcon:__,UndoIcon:x_,UnfoldHorizontal:L_,UnfoldHorizontalIcon:L_,UnfoldVertical:I_,UnfoldVerticalIcon:I_,Ungroup:b_,UngroupIcon:b_,University:lc,UniversityIcon:lc,Unlink:S_,Unlink2:w_,Unlink2Icon:w_,UnlinkIcon:S_,Unlock:$n,UnlockIcon:$n,UnlockKeyhole:jn,UnlockKeyholeIcon:jn,Unplug:C_,UnplugIcon:C_,Upload:N_,UploadCloud:Wa,UploadCloudIcon:Wa,UploadIcon:N_,Usb:j_,UsbIcon:j_,User:R_,User2:mc,User2Icon:mc,UserCheck:$_,UserCheck2:hc,UserCheck2Icon:hc,UserCheckIcon:$_,UserCircle:Fa,UserCircle2:Ra,UserCircle2Icon:Ra,UserCircleIcon:Fa,UserCog:q_,UserCog2:uc,UserCog2Icon:uc,UserCogIcon:q_,UserIcon:R_,UserLock:A_,UserLockIcon:A_,UserMinus:z_,UserMinus2:pc,UserMinus2Icon:pc,UserMinusIcon:z_,UserPen:V_,UserPenIcon:V_,UserPlus:b1,UserPlus2:yc,UserPlus2Icon:yc,UserPlusIcon:b1,UserRound:mc,UserRoundCheck:hc,UserRoundCheckIcon:hc,UserRoundCog:uc,UserRoundCogIcon:uc,UserRoundIcon:mc,UserRoundMinus:pc,UserRoundMinusIcon:pc,UserRoundPen:P_,UserRoundPenIcon:P_,UserRoundPlus:yc,UserRoundPlusIcon:yc,UserRoundSearch:T_,UserRoundSearchIcon:T_,UserRoundX:kc,UserRoundXIcon:kc,UserSearch:H_,UserSearchIcon:H_,UserSquare:ac,UserSquare2:tc,UserSquare2Icon:tc,UserSquareIcon:ac,UserStar:D_,UserStarIcon:D_,UserX:B_,UserX2:kc,UserX2Icon:kc,UserXIcon:B_,Users:F_,Users2:fc,Users2Icon:fc,UsersIcon:F_,UsersRound:fc,UsersRoundIcon:fc,Utensils:vc,UtensilsCrossed:gc,UtensilsCrossedIcon:gc,UtensilsIcon:vc,UtilityPole:E_,UtilityPoleIcon:E_,Variable:O_,VariableIcon:O_,Vault:U_,VaultIcon:U_,VectorSquare:W_,VectorSquareIcon:W_,Vegan:G_,VeganIcon:G_,VenetianMask:Z_,VenetianMaskIcon:Z_,Venus:J_,VenusAndMars:K_,VenusAndMarsIcon:K_,VenusIcon:J_,Verified:Zt,VerifiedIcon:Zt,Vibrate:Y_,VibrateIcon:Y_,VibrateOff:X_,VibrateOffIcon:X_,Video:ex,VideoIcon:ex,VideoOff:Q_,VideoOffIcon:Q_,Videotape:tx,VideotapeIcon:tx,View:nx,ViewIcon:nx,Voicemail:ax,VoicemailIcon:ax,Volleyball:ox,VolleyballIcon:ox,Volume:lx,Volume1:cx,Volume1Icon:cx,Volume2:ix,Volume2Icon:ix,VolumeIcon:lx,VolumeOff:rx,VolumeOffIcon:rx,VolumeX:sx,VolumeXIcon:sx,Vote:dx,VoteIcon:dx,Wallet:ux,Wallet2:Mc,Wallet2Icon:Mc,WalletCards:hx,WalletCardsIcon:hx,WalletIcon:ux,WalletMinimal:Mc,WalletMinimalIcon:Mc,Wallpaper:px,WallpaperIcon:px,Wand:yx,Wand2:_c,Wand2Icon:_c,WandIcon:yx,WandSparkles:_c,WandSparklesIcon:_c,Warehouse:kx,WarehouseIcon:kx,WashingMachine:mx,WashingMachineIcon:mx,Watch:fx,WatchIcon:fx,Waves:vx,WavesIcon:vx,WavesLadder:gx,WavesLadderIcon:gx,Waypoints:Mx,WaypointsIcon:Mx,Webcam:_x,WebcamIcon:_x,Webhook:Ix,WebhookIcon:Ix,WebhookOff:xx,WebhookOffIcon:xx,Weight:Lx,WeightIcon:Lx,Wheat:wx,WheatIcon:wx,WheatOff:bx,WheatOffIcon:bx,WholeWord:Cx,WholeWordIcon:Cx,Wifi:Vx,WifiCog:Nx,WifiCogIcon:Nx,WifiHigh:Sx,WifiHighIcon:Sx,WifiIcon:Vx,WifiLow:jx,WifiLowIcon:jx,WifiOff:$x,WifiOffIcon:$x,WifiPen:qx,WifiPenIcon:qx,WifiSync:Ax,WifiSyncIcon:Ax,WifiZero:zx,WifiZeroIcon:zx,Wind:Tx,WindArrowDown:Px,WindArrowDownIcon:Px,WindIcon:Tx,Wine:Dx,WineIcon:Dx,WineOff:Hx,WineOffIcon:Hx,Workflow:Bx,WorkflowIcon:Bx,Worm:Rx,WormIcon:Rx,WrapText:Fx,WrapTextIcon:Fx,Wrench:Ex,WrenchIcon:Ex,X:Ke,XCircle:xt,XCircleIcon:xt,XIcon:Ke,XOctagon:Dn,XOctagonIcon:Dn,XSquare:nc,XSquareIcon:nc,Youtube:Ux,YoutubeIcon:Ux,Zap:Wx,ZapIcon:Wx,ZapOff:Ox,ZapOffIcon:Ox,ZoomIn:Gx,ZoomInIcon:Gx,ZoomOut:Zx,ZoomOutIcon:Zx,createLucideIcon:a.createLucideIcon,icons:e2e},Symbol.toStringTag,{value:"Module"})),t2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:o,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:l,style:h,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,m=e?{size:e*.5,...s}:s,v=e?{size:e*.4,...l}:l,f={background:t,position:"relative",...h,...y&&{width:y}};return c.jsxs("div",{style:f,className:`stat-card ${u}`,children:[c.jsxs("div",{className:"stat-card-header",children:[c.jsx("div",{className:"stat-card-header-top",style:i,children:n}),o&&c.jsx("div",{className:"stat-card-header-bottom",style:r,children:o})]}),c.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[c.jsx("div",{className:"progress-row-single",children:c.jsx(Ab,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(hj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(Ab,{...v})})]})]}),p&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},uj=k.createContext(void 0),rt=()=>{const e=k.useContext(uj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},a2e=({children:e,defaultActive:t=""})=>{const[n,o]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[l,h]=k.useState(void 0),[u,p]=k.useState({}),y=(m,v)=>{p(f=>({...f,[m]:v}))};return c.jsx(uj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},pj=({categories:e,logo:t="Menu",buttonContent:n,position:o="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:m,activeSubNav:v}=rt();k.useEffect(()=>{if(!i)return;const _=g=>{p.current&&!p.current.contains(g.target)&&l(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[i]),k.useEffect(()=>{if(d&&o==="auto"&&y.current){const _=y.current.getBoundingClientRect(),g=window.innerWidth/2;u(_.left<g?"left":"right")}},[d,o]);const f=t?ut[t]:null,M=o==="auto"?h:o;return c.jsxs("div",{className:"dropdown",ref:p,children:[c.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(_=>!_),"aria-expanded":d,"aria-haspopup":"true",children:[f&&c.jsx(f,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((_,g)=>c.jsxs("div",{className:"dropdown-category",children:[_.title&&c.jsx("div",{className:"category-title",children:_.title}),c.jsx("div",{className:"category-items",children:_.items.map((L,w)=>{const C=L.id??L.label,b=m===C||v===C,x=L.select??r;if(L.id==="language"){if(!x||!Array.isArray(x.options)||!x.onChange)return c.jsx("div",{className:"dropdown-language"},w);const S=Array.isArray(x.options)?x.options:[],q=S.some($=>$.code===x.value)?S:[{code:x.value??"",label:String(x.value??"")},...S];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:x.name??"language",className:"language-select",value:x.value??"",onChange:$=>{const P=$.target.value;try{x.onChange(P)}catch(T){console.error("select onChange error",T)}},children:q.map($=>c.jsx("option",{value:$.code,children:$.label},$.code))})},w)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{L.onClick?.(),l(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?c.jsx("button",{type:"button",...I,children:L.label},w):c.jsx("a",{...I,href:L.href,children:L.label},w)})})]},g))]})]})},yj=({children:e,container:t=!1,item:n=!1,parent:o=!1,xs:i,sm:r,md:s,lg:d,xl:l,spacing:h=0,className:u="",uniqueKey:p=0,style:y={},width:m,order:v,onSwap:f,draggable:M=!1,displayNone:_=!1})=>{const[g,L]=k.useState([]);k.useEffect(()=>{const I=$=>{const P=[];return k.Children.forEach($,T=>{Array.isArray(T)?P.push(...I(T)):k.isValidElement(T)&&P.push(T)}),P},j=I(e).filter($=>k.isValidElement($)).map($=>{let P="";const T=$.props;return P=[T.xs?`grid-xs-${T.xs}`:"",T.sm?`grid-sm-${T.sm}`:"",T.md?`grid-md-${T.md}`:"",T.lg?`grid-lg-${T.lg}`:"",T.xl?`grid-xl-${T.xl}`:"",T.className?T.className:""].join(" ").trim(),{node:$,classes:P}});let q=j;v&&v.length>0&&(q=j.map(($,P)=>({...$,node:j[v[P]]?.node??$.node}))),L(q)},[e]);const w=(I,S)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",S.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},b=(I,S)=>{I.preventDefault();const j=Number(I.dataTransfer.getData("dragIndex")),q=Number(I.dataTransfer.getData("parentKey"));if(t&&q!==p)return;const $=[...g];let P=-1,T=-1;if($.forEach((N,A)=>{if(k.isValidElement(N.node)){const B=N.node.props;B.uniqueKey===S&&(P=A),B.uniqueKey===j&&(T=A)}}),P===-1||T===-1)return;const z=$[T].node;$[T]={...$[T],node:$[P].node},$[P]={...$[P],node:z},L($),typeof f=="function"&&f(T,P)},x=o?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!o&&m?y={...y,width:`${m}px`}:!o&&!m&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?c.jsx("div",{className:`${u} grid-container ${x}`,style:{"--gap-grid":`${h}rem`,...y},children:g.map(I=>I.node.type?.displayName==="Grid"?M?c.jsx("div",{draggable:!0,onDragStart:S=>w(S,I.node?.props?.uniqueKey),onDragOver:S=>C(S),onDrop:S=>b(S,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):c.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?c.jsx("div",{className:`${u} grid-item ${x} ${_?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):c.jsx(c.Fragment,{children:e})};yj.displayName="Grid";const lL=({imagePath:e,...t})=>{const[n,o]=k.useState(!1);return k.useEffect(()=>{o(!0)},[]),n?c.jsx("div",{className:`logo logo--${t.size}`,children:c.jsx("a",{href:"/",children:c.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):c.jsx("div",{className:"logo logo-placeholder"})},zb=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...l})=>{const{setActiveNav:h}=rt(),u=()=>{h(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),...l,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),role:o?"button":"presentation",tabIndex:o?0:-1,...l,children:t})},kj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=rt(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),v=k.useRef(null);k.useEffect(()=>{const g=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]),k.useEffect(()=>{if(l&&i==="auto"&&m.current){const g=m.current.getBoundingClientRect(),L=window.innerWidth/2;p(g.left<L?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const g=L=>{v.current&&!v.current.contains(L.target)&&m.current&&!m.current.contains(L.target)&&h(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[l]);const f=g=>{t?.(g),h(!1)},M=e.find(g=>g.id===r)||e[0],_=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:m,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[M.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:v,className:`navbar-dropdown ${_}`,children:e.map(g=>c.jsx(zb,{id:g.id,label:g.label,href:g.moduleKey&&o[g.moduleKey]?g.href:void 0,isActive:r===g.id&&g.moduleKey!==void 0&&o[g.moduleKey],onClick:f,highlightColor:n},g.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(g=>c.jsx(zb,{id:g.id,label:g.label,href:g.moduleKey&&o[g.moduleKey]?g.href:void 0,isActive:r===g.id&&g.moduleKey!==void 0&&o[g.moduleKey],onClick:f,highlightColor:n},g.id))})})},mj=k.createContext(void 0),n2e=({children:e,initialTheme:t})=>{const[n,o]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{o(r)},[]);return c.jsx(mj.Provider,{value:{themeName:n,setTheme:i},children:e})},fj=()=>{const e=k.useContext(mj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},hL=()=>{const{themeName:e,setTheme:t}=fj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},H1=({colors:e={},leftIcon:t,rightIcon:n,checked:o=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:l})=>{const h=()=>i?.(!o),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),h())};return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,title:Y(l),className:`switcher ${o?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:h,onKeyDown:u,children:[c.jsx("div",{className:"switcher-circle"}),c.jsxs("div",{className:"switcher-icons",children:[t&&c.jsx("div",{className:"switcher-icon-left",children:t}),n&&c.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Vb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:o="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:l}=hL(),[h,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!h)return null;const p=d===t,y=m=>{l(m?t:e)};return c.jsx(H1,{leftIcon:n,rightIcon:o,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},o2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),Jw=k.memo(o2e),gj=k.createContext(void 0),c2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const o=i=>{n(i)};return c.jsx(gj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},vj=()=>{const e=k.useContext(gj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},eL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:o=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=vj(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(H1,{leftIcon:e||c.jsx(Jw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Jw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:o,a11yConfig:i})},i2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),Qw=k.memo(i2e),Mj=k.createContext(void 0),r2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const o=i=>{n(i)};return c.jsx(Mj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},_j=()=>{const e=k.useContext(Mj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},tL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:o=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=_j(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(H1,{leftIcon:e||c.jsx(Qw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Qw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:o,a11yConfig:i})},xj=k.createContext(void 0),s2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const o=i=>{n(i)};return c.jsx(xj.Provider,{value:{showData:t,switchShowData:o},children:e})},Lj=()=>{const e=k.useContext(xj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},d2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),eC=k.memo(d2e),aL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:o,switchShowData:i}=Lj(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?c.jsx(H1,{checked:o,onToggle:d=>i(d),size:e,leftIcon:c.jsx(eC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(eC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},l2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),Ij=k.memo(l2e);function Pb({items:e,onSave:t,loading:n,disabled:o,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,l]=k.useState(!1),[h,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(m,v)=>{u(f=>f.map(M=>M.component_key===m&&v>3?{...M,visible:!M.visible}:M))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(m=>!m),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(Ij,{fill:"currentColor"})}),d&&c.jsxs("div",{style:{position:"absolute",top:"110%",right:0,minWidth:220,background:"#fff",border:"1px solid var(--color-border)",borderRadius:8,boxShadow:"0 4px 16px rgba(0,0,0,0.08)",zIndex:1e3,padding:12},children:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:h.map((m,v)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:m.visible,disabled:v<4,onChange:()=>p(m.component_key,v),style:{marginRight:8}}),c.jsx("span",{style:{color:v<4?"#6b7280":"#111827"},children:m.label}),v<4&&c.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},m.component_key))}),c.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const h2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:o,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:m}=rt(),v=m?.draggable===!0,f=m?.showData===!0,M=m?.legendFilter===!0,_=m?.componentVisibility===!0&&d&&d.length>0;return c.jsx("header",{className:"header",style:{backgroundColor:i},children:c.jsxs("div",{className:"header-layout-container",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("a",{href:"/",children:c.jsx(lL,{imagePath:e})}),c.jsx(kj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[v&&c.jsx(eL,{}),f&&c.jsx(aL,{}),M&&c.jsx(tL,{}),c.jsx(Vb,{}),_&&c.jsx(Pb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(pj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[v&&c.jsx(eL,{}),f&&c.jsx(aL,{}),M&&c.jsx(tL,{}),c.jsx(Vb,{}),_&&c.jsx(Pb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},bj=({icon:e,text:t,size:n=16,color:o="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const l=e?ut[e]:null,h=s?"a":"div";return c.jsxs(h,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:o},title:Y(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[l&&c.jsx(l,{size:n,"aria-hidden":"true"}),c.jsx("span",{children:t})]})},wj=({children:e,className:t="",style:n,item:o})=>c.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[c.jsx("div",{className:"scrollable",children:e}),c.jsx("div",{className:"scrollable-dropdown",children:c.jsx(pj,{logo:"BarChart",position:"right",categories:o})})]}),u2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=rt();return c.jsx(wj,{style:n,item:o,children:e?.map(r=>c.jsx(bj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},Cj=({title:e,subtitle:t,text:n,background:o="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,u]=n?n.split("/"):[];return c.jsxs("div",{className:"trend-item",style:{background:o,...d},children:[c.jsxs("div",{className:"trend-left",children:[c.jsx("div",{className:"trend-icon",children:l}),c.jsxs("div",{className:"trend-texts",children:[c.jsx("span",{className:"trend-title",style:i,children:e}),t&&c.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),c.jsxs("div",{className:"trend-right",style:s,children:[c.jsx("span",{className:"trend-right-left",children:h}),c.jsx("span",{className:"trend-right-separator",children:" / "}),c.jsx("span",{className:"trend-right-right",children:u})]})]})},sw=k.createContext({});function qt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const dw=typeof window<"u",lw=dw?k.useLayoutEffect:k.useEffect,uL=k.createContext(null);function hw(e,t){e.indexOf(t)===-1&&e.push(t)}function uw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function p2e([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&o<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const pt=(e,t,n)=>n>t?t:n<e?e:n;function Tb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Yc=()=>{},Ye=()=>{};process.env.NODE_ENV!=="production"&&(Yc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Tb(t,n))},Ye=(e,t,n)=>{if(!e)throw new Error(Tb(t,n))});const yt={},Nj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Sj(e){return typeof e=="object"&&e!==null}const jj=e=>/^0[^.\s]+$/u.test(e);function pw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ue=e=>e,y2e=(e,t)=>n=>t(e(n)),D1=(...e)=>e.reduce(y2e),q1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class yw{constructor(){this.subscriptions=[]}add(t){return hw(this.subscriptions,t),()=>uw(this.subscriptions,t)}notify(t,n,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,o);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xe=e=>e*1e3,Oe=e=>e/1e3;function $j(e,t){return t?e*(1e3/t):0}const tC=new Set;function kw(e,t,n){e||tC.has(t)||(console.warn(Tb(t,n)),tC.add(t))}const qj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,k2e=1e-7,m2e=12;function f2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=qj(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>k2e&&++d<m2e);return s}function B1(e,t,n,o){if(e===t&&n===o)return Ue;const i=r=>f2e(r,0,1,e,n);return r=>r===0||r===1?r:qj(i(r),t,o)}const Aj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,zj=e=>t=>1-e(1-t),Vj=B1(.33,1.53,.69,.99),mw=zj(Vj),Pj=Aj(mw),Tj=e=>(e*=2)<1?.5*mw(e):.5*(2-Math.pow(2,-10*(e-1))),fw=e=>1-Math.sin(Math.acos(e)),Hj=zj(fw),Dj=Aj(fw),g2e=B1(.42,0,1,1),v2e=B1(0,0,.58,1),Bj=B1(.42,0,.58,1),M2e=e=>Array.isArray(e)&&typeof e[0]!="number",Rj=e=>Array.isArray(e)&&typeof e[0]=="number",aC={linear:Ue,easeIn:g2e,easeInOut:Bj,easeOut:v2e,circIn:fw,circInOut:Dj,circOut:Hj,backIn:mw,backInOut:Pj,backOut:Vj,anticipate:Tj},_2e=e=>typeof e=="string",nC=e=>{if(Rj(e)){Ye(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return B1(t,n,o,i)}else if(_2e(e))return Ye(aC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),aC[e];return e},U1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function x2e(e,t){let n=new Set,o=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(h.schedule(u),e()),u(d)}const h={schedule:(u,p=!1,y=!1)=>{const v=y&&i?n:o;return p&&s.add(u),v.has(u)||v.add(u),u},cancel:u=>{o.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,o]=[o,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const L2e=40;function Fj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=U1.reduce((L,w)=>(L[w]=x2e(r),L),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:m,postRender:v}=s,f=()=>{const L=yt.useManualTiming?i.timestamp:performance.now();n=!1,yt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(L-i.timestamp,L2e),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),m.process(i),v.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(f))},M=()=>{n=!0,o=!0,i.isProcessing||e(f)};return{schedule:U1.reduce((L,w)=>{const C=s[w];return L[w]=(b,x=!1,I=!1)=>(n||M(),C.schedule(b,x,I)),L},{}),cancel:L=>{for(let w=0;w<U1.length;w++)s[U1[w]].cancel(L)},state:i,steps:s}}const{schedule:se,cancel:kt,state:be,steps:VL}=Fj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ue,!0);let Kx;function I2e(){Kx=void 0}const Pe={now:()=>(Kx===void 0&&Pe.set(be.isProcessing||yt.useManualTiming?be.timestamp:performance.now()),Kx),set:e=>{Kx=e,queueMicrotask(I2e)}},Ej=e=>t=>typeof t=="string"&&t.startsWith(e),gw=Ej("--"),b2e=Ej("var(--"),vw=e=>b2e(e)?w2e.test(e.split("/*")[0].trim()):!1,w2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Jc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},A1={...Jc,transform:e=>pt(0,1,e)},W1={...Jc,default:1},w1=e=>Math.round(e*1e5)/1e5,Mw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function C2e(e){return e==null}const N2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_w=(e,t)=>n=>!!(typeof n=="string"&&N2e.test(n)&&n.startsWith(e)||t&&!C2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Oj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(Mw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},S2e=e=>pt(0,255,e),PL={...Jc,transform:e=>Math.round(S2e(e))},Lc={test:_w("rgb","red"),parse:Oj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+PL.transform(e)+", "+PL.transform(t)+", "+PL.transform(n)+", "+w1(A1.transform(o))+")"};function j2e(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const Hb={test:_w("#"),parse:j2e,transform:Lc.transform},R1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),_t=R1("deg"),it=R1("%"),O=R1("px"),$2e=R1("vh"),q2e=R1("vw"),oC={...it,parse:e=>it.parse(e)/100,transform:e=>it.transform(e*100)},Dc={test:_w("hsl","hue"),parse:Oj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+it.transform(w1(t))+", "+it.transform(w1(n))+", "+w1(A1.transform(o))+")"},ge={test:e=>Lc.test(e)||Hb.test(e)||Dc.test(e),parse:e=>Lc.test(e)?Lc.parse(e):Dc.test(e)?Dc.parse(e):Hb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Lc.transform(e):Dc.transform(e),getAnimatableNone:e=>{const t=ge.parse(e);return t.alpha=0,ge.transform(t)}},A2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function z2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(Mw)?.length||0)+(e.match(A2e)?.length||0)>0}const Uj="number",Wj="color",V2e="var",P2e="var(",cC="${}",T2e=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function z1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(T2e,l=>(ge.test(l)?(o.color.push(r),i.push(Wj),n.push(ge.parse(l))):l.startsWith(P2e)?(o.var.push(r),i.push(V2e),n.push(l)):(o.number.push(r),i.push(Uj),n.push(parseFloat(l))),++r,cC)).split(cC);return{values:n,split:d,indexes:o,types:i}}function Gj(e){return z1(e).values}function Zj(e){const{split:t,types:n}=z1(e),o=t.length;return i=>{let r="";for(let s=0;s<o;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===Uj?r+=w1(i[s]):d===Wj?r+=ge.transform(i[s]):r+=i[s]}return r}}const H2e=e=>typeof e=="number"?0:ge.test(e)?ge.getAnimatableNone(e):e;function D2e(e){const t=Gj(e);return Zj(e)(t.map(H2e))}const $t={test:z2e,parse:Gj,createTransformer:Zj,getAnimatableNone:D2e};function TL(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function B2e({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,l=2*n-d;i=TL(l,d,e+1/3),r=TL(l,d,e),s=TL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function nL(e,t){return n=>n>0?t:e}const le=(e,t,n)=>e+(t-e)*n,HL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},R2e=[Hb,Lc,Dc],F2e=e=>R2e.find(t=>t.test(e));function iC(e){const t=F2e(e);if(Yc(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Dc&&(n=B2e(n)),n}const rC=(e,t)=>{const n=iC(e),o=iC(t);if(!n||!o)return nL(e,t);const i={...n};return r=>(i.red=HL(n.red,o.red,r),i.green=HL(n.green,o.green,r),i.blue=HL(n.blue,o.blue,r),i.alpha=le(n.alpha,o.alpha,r),Lc.transform(i))},Db=new Set(["none","hidden"]);function E2e(e,t){return Db.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function O2e(e,t){return n=>le(e,t,n)}function xw(e){return typeof e=="number"?O2e:typeof e=="string"?vw(e)?nL:ge.test(e)?rC:G2e:Array.isArray(e)?Kj:typeof e=="object"?ge.test(e)?rC:U2e:nL}function Kj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>xw(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function U2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=xw(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function W2e(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][o[r]],d=e.values[s]??0;n[i]=d,o[r]++}return n}const G2e=(e,t)=>{const n=$t.createTransformer(t),o=z1(e),i=z1(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?Db.has(e)&&!i.values.length||Db.has(t)&&!o.values.length?E2e(e,t):D1(Kj(W2e(o,i),i.values),n):(Yc(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),nL(e,t))};function Xj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?le(e,t,n):xw(e)(e,t)}const Z2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>kt(t),now:()=>be.isProcessing?be.timestamp:Pe.now()}},Yj=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)o+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},oL=2e4;function Lw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<oL;)t+=n,o=e.next(t);return t>=oL?1/0:t}function K2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(Lw(o),oL);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Oe(i)}}const X2e=5;function Jj(e,t,n){const o=Math.max(t-X2e,0);return $j(n-e(o),t-o)}const he={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},DL=.001;function Y2e({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:o=he.mass}){let i,r;Yc(e<=Xe(he.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=pt(he.minDamping,he.maxDamping,s),e=pt(he.minDuration,he.maxDuration,Oe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Bb(h,s),v=Math.exp(-p);return DL-y/m*v},r=h=>{const p=h*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(h,2)*e,v=Math.exp(-p),f=Bb(Math.pow(h,2),s);return(-i(h)+DL>0?-1:1)*((y-m)*v)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-DL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=Q2e(i,r,d);if(e=Xe(e),isNaN(l))return{stiffness:he.stiffness,damping:he.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const J2e=12;function Q2e(e,t,n){let o=n;for(let i=1;i<J2e;i++)o=o-e(o)/t(o);return o}function Bb(e,t){return e*Math.sqrt(1-t*t)}const ede=["duration","bounce"],tde=["stiffness","damping","mass"];function sC(e,t){return t.some(n=>e[n]!==void 0)}function ade(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!sC(e,tde)&&sC(e,ede))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*pt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:he.mass,stiffness:i,damping:r}}else{const n=Y2e(e);t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function cL(e=he.visualDuration,t=he.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:l,damping:h,mass:u,duration:p,velocity:y,isResolvedFromDuration:m}=ade({...n,velocity:-Oe(n.velocity||0)}),v=y||0,f=h/(2*Math.sqrt(l*u)),M=s-r,_=Oe(Math.sqrt(l/u)),g=Math.abs(M)<5;o||(o=g?he.restSpeed.granular:he.restSpeed.default),i||(i=g?he.restDelta.granular:he.restDelta.default);let L;if(f<1){const C=Bb(_,f);L=b=>{const x=Math.exp(-f*_*b);return s-x*((v+f*_*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(f===1)L=C=>s-Math.exp(-_*C)*(M+(v+_*M)*C);else{const C=_*Math.sqrt(f*f-1);L=b=>{const x=Math.exp(-f*_*b),I=Math.min(C*b,300);return s-x*((v+f*_*M)*Math.sinh(I)+C*M*Math.cosh(I))/C}}const w={calculatedDuration:m&&p||null,next:C=>{const b=L(C);if(m)d.done=C>=p;else{let x=C===0?v:0;f<1&&(x=C===0?Xe(v):Jj(L,C,b));const I=Math.abs(x)<=o,S=Math.abs(s-b)<=i;d.done=I&&S}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(Lw(w),oL),b=Yj(x=>w.next(C*x).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}cL.applyToOptions=e=>{const t=K2e(e,100,cL);return e.ease=t.ease,e.duration=Xe(t.duration),e.type="keyframes",e};function Rb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:l,restDelta:h=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},m=I=>d!==void 0&&I<d||l!==void 0&&I>l,v=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let f=n*t;const M=p+f,_=s===void 0?M:s(M);_!==M&&(f=_-p);const g=I=>-f*Math.exp(-I/o),L=I=>_+g(I),w=I=>{const S=g(I),j=L(I);y.done=Math.abs(S)<=h,y.value=y.done?_:j};let C,b;const x=I=>{m(y.value)&&(C=I,b=cL({keyframes:[y.value,v(y.value)],velocity:Jj(L,I,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return x(0),{calculatedDuration:null,next:I=>{let S=!1;return!b&&C===void 0&&(S=!0,w(I),x(I)),C!==void 0&&I>=C?b.next(I-C):(!S&&w(I),y)}}}function nde(e,t,n){const o=[],i=n||yt.mix||Xj,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Ue:t;d=D1(l,d)}o.push(d)}return o}function Qj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ye(r===t.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=nde(t,o,i),l=d.length,h=u=>{if(s&&u<e[0])return t[0];let p=0;if(l>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=q1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(pt(e[0],e[r-1],u)):h}function ode(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=q1(0,t,o);e.push(le(n,1,i))}}function cde(e){const t=[0];return ode(t,e.length-1),t}function ide(e,t){return e.map(n=>n*t)}function rde(e,t){return e.map(()=>t||Bj).splice(0,e.length-1)}function Bc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=M2e(o)?o.map(nC):nC(o),r={done:!1,value:t[0]},s=ide(n&&n.length===t.length?n:cde(t),e),d=Qj(s,t,{ease:Array.isArray(i)?i:rde(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const sde=e=>e!==null;function Iw(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(sde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const dde={decay:Rb,inertia:Rb,tween:Bc,keyframes:Bc,spring:cL};function e$(e){typeof e.type=="string"&&(e.type=dde[e.type])}class bw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const lde=e=>e/100;class ww extends bw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Pe.now()&&this.tick(Pe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;e$(t);const{type:n=Bc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Bc;process.env.NODE_ENV!=="production"&&l!==Bc&&Ye(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Bc&&typeof d[0]!="number"&&(this.mixKeyframes=D1(lde,Xj(d[0],d[1])),d=[0,100]);const h=l({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...d].reverse(),velocity:-s})),h.calculatedDuration===null&&(h.calculatedDuration=Lw(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:o,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:l}=this;if(this.startTime===null)return o.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:m,type:v,onUpdate:f,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const _=this.currentTime-h*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?_<0:_>i;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,w=o;if(p){const I=Math.min(this.currentTime,i)/d;let S=Math.floor(I),j=I%1;!j&&I>=1&&(j=1),j===1&&S--,S=Math.min(S,p+1),!!(S%2)&&(y==="reverse"?(j=1-j,m&&(j-=m/d)):y==="mirror"&&(w=s)),L=pt(0,1,j)*d}const C=g?{done:!1,value:u[0]}:w.next(L);r&&(C.value=r(C.value));let{done:b}=C;!g&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const x=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return x&&v!==Rb&&(C.value=Iw(u,this.options,M,this.speed)),f&&f(C.value),x&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Oe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(this.currentTime)}set time(t){t=Xe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Pe.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Oe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Z2e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Pe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function hde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Ic=e=>e*180/Math.PI,Fb=e=>{const t=Ic(Math.atan2(e[1],e[0]));return Eb(t)},ude={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Fb,rotateZ:Fb,skewX:e=>Ic(Math.atan(e[1])),skewY:e=>Ic(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Eb=e=>(e=e%360,e<0&&(e+=360),e),dC=Fb,lC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),hC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),pde={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lC,scaleY:hC,scale:e=>(lC(e)+hC(e))/2,rotateX:e=>Eb(Ic(Math.atan2(e[6],e[5]))),rotateY:e=>Eb(Ic(Math.atan2(-e[2],e[0]))),rotateZ:dC,rotate:dC,skewX:e=>Ic(Math.atan(e[4])),skewY:e=>Ic(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ob(e){return e.includes("scale")?1:0}function Ub(e,t){if(!e||e==="none")return Ob(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=pde,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=ude,i=d}if(!i)return Ob(t);const r=o[t],s=i[1].split(",").map(kde);return typeof r=="function"?r(s):s[r]}const yde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ub(n,t)};function kde(e){return parseFloat(e.trim())}const Qc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],e1=new Set(Qc),uC=e=>e===Jc||e===O,mde=new Set(["x","y","z"]),fde=Qc.filter(e=>!mde.has(e));function gde(e){const t=[];return fde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Cc={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Ub(t,"x"),y:(e,{transform:t})=>Ub(t,"y")};Cc.translateX=Cc.x;Cc.translateY=Cc.y;const Nc=new Set;let Wb=!1,Gb=!1,Zb=!1;function t$(){if(Gb){const e=Array.from(Nc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=gde(o);i.length&&(n.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=n.get(o);i&&i.forEach(([r,s])=>{o.getValue(r)?.set(s)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Gb=!1,Wb=!1,Nc.forEach(e=>e.complete(Zb)),Nc.clear()}function a$(){Nc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gb=!0)})}function vde(){Zb=!0,a$(),t$(),Zb=!1}class Cw{constructor(t,n,o,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Nc.add(this),Wb||(Wb=!0,se.read(a$),se.resolveKeyframes(t$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(o&&n){const d=o.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}hde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Nc.delete(this)}cancel(){this.state==="scheduled"&&(Nc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Mde=e=>e.startsWith("--");function _de(e,t,n){Mde(t)?e.style.setProperty(t,n):e.style[t]=n}const xde=pw(()=>window.ScrollTimeline!==void 0),Lde={};function Ide(e,t){const n=pw(e);return()=>Lde[t]??n()}const n$=Ide(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),l1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,pC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:l1([0,.65,.55,1]),circOut:l1([.55,0,1,.45]),backIn:l1([.31,.01,.66,-.59]),backOut:l1([.33,1.53,.69,.99])};function o$(e,t){if(e)return typeof e=="function"?n$()?Yj(e,t):"ease-out":Rj(e)?l1(e):Array.isArray(e)?e.map(n=>o$(n,t)||pC.easeOut):pC[e]}function bde(e,t,n,{delay:o=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:l}={},h=void 0){const u={[t]:n};l&&(u.offset=l);const p=o$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:o,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"};return h&&(y.pseudoElement=h),e.animate(u,y)}function c$(e){return typeof e=="function"&&"applyToOptions"in e}function wde({type:e,...t}){return c$(e)&&n$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Cde extends bw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:o,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,Ye(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=wde(t);this.animation=bde(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Iw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):_de(n,o,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Oe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Xe(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&xde()?(this.animation.timeline=t,Ue):n(this)}}const i$={anticipate:Tj,backInOut:Pj,circInOut:Dj};function Nde(e){return e in i$}function Sde(e){typeof e.ease=="string"&&Nde(e.ease)&&(e.ease=i$[e.ease])}const yC=10;class jde extends Cde{constructor(t){Sde(t),e$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:o,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new ww({...s,autoplay:!1}),l=Xe(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-yC).value,d.sample(l).value,yC),d.stop()}}const kC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&($t.test(e)||e==="0")&&!e.startsWith("url("));function $de(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function qde(e,t,n,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=kC(i,t),d=kC(r,t);return Yc(s===d,`You are trying to animate ${t} from "${i}" to "${r}". "${s?r:i}" is not an animatable value.`,"value-not-animatable"),!s||!d?!1:$de(e)||(n==="spring"||c$(n))&&o}function Kb(e){e.duration=0,e.type="keyframes"}const Ade=new Set(["opacity","clipPath","filter","transform"]),zde=pw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Vde(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return zde()&&n&&Ade.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Pde=40;class Tde extends bw{constructor({autoplay:t=!0,delay:n=0,type:o="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:l,motionValue:h,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Pe.now();const y={autoplay:t,delay:n,type:o,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},m=u?.KeyframeResolver||Cw;this.keyframeResolver=new m(d,(v,f,M)=>this.onKeyframesResolved(v,f,y,!M),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,o,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=o;this.resolvedAt=Pe.now(),qde(t,r,s,d)||((yt.instantAnimations||!l)&&u?.(Iw(t,o,n)),t[0]=t[t.length-1],Kb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Pde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&Vde(y)?new jde({...y,element:y.motionValue.owner.current}):new ww(y);m.finished.then(()=>this.notifyFinished()).catch(Ue),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),vde()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Hde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dde(e){const t=Hde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Bde=4;function r$(e,t,n=1){Ye(n<=Bde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Dde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return Nj(s)?parseFloat(s):s}return vw(i)?r$(i,t,n+1):i}function Nw(e,t){return e?.[t]??e?.default??e}const s$=new Set(["width","height","top","left","right","bottom",...Qc]),Rde={test:e=>e==="auto",parse:e=>e},d$=e=>t=>t.test(e),l$=[Jc,O,it,_t,q2e,$2e,Rde],mC=e=>l$.find(d$(e));function Fde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||jj(e):!0}const Ede=new Set(["brightness","contrast","saturate","opacity"]);function Ode(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(Mw)||[];if(!o)return e;const i=n.replace(o,"");let r=Ede.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Ude=/\b([a-z-]*)\(.*?\)/gu,Xb={...$t,getAnimatableNone:e=>{const t=e.match(Ude);return t?t.map(Ode).join(" "):e}},fC={...Jc,transform:Math.round},Wde={rotate:_t,rotateX:_t,rotateY:_t,rotateZ:_t,scale:W1,scaleX:W1,scaleY:W1,scaleZ:W1,skew:_t,skewX:_t,skewY:_t,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:A1,originX:oC,originY:oC,originZ:O},Sw={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,backgroundPositionX:O,backgroundPositionY:O,...Wde,zIndex:fC,fillOpacity:A1,strokeOpacity:A1,numOctaves:fC},Gde={...Sw,color:ge,backgroundColor:ge,outlineColor:ge,fill:ge,stroke:ge,borderColor:ge,borderTopColor:ge,borderRightColor:ge,borderBottomColor:ge,borderLeftColor:ge,filter:Xb,WebkitFilter:Xb},h$=e=>Gde[e];function u$(e,t){let n=h$(e);return n!==Xb&&(n=$t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Zde=new Set(["auto","none","0"]);function Kde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Zde.has(r)&&z1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=u$(n,i)}class Xde extends Cw{constructor(t,n,o,i,r){super(t,n,o,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:o}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let h=t[l];if(typeof h=="string"&&(h=h.trim(),vw(h))){const u=r$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!s$.has(o)||t.length!==2)return;const[i,r]=t,s=mC(i),d=mC(r);if(s!==d)if(uC(s)&&uC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Cc[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Fde(t[i]))&&o.push(i);o.length&&Kde(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cc[o](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=o.length-1,s=o[r];o[r]=Cc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function Yde(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=n?.[e]??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const p$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function y$(e){return Sj(e)&&"offsetHeight"in e}const gC=30,Jde=e=>!isNaN(parseFloat(e)),C1={current:void 0};class Qde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=Pe.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Pe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Jde(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&kw(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new yw);const o=this.events[t].add(n);return t==="change"?()=>{o(),se.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return C1.current&&C1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Pe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gC);return $j(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Sc(e,t){return new Qde(e,t)}const{schedule:jw}=Fj(queueMicrotask,!1),Ze={x:!1,y:!1};function k$(){return Ze.x||Ze.y}function e0e(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function m$(e,t){const n=Yde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function vC(e){return!(e.pointerType==="touch"||k$())}function t0e(e,t,n={}){const[o,i,r]=m$(e,n),s=d=>{if(!vC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{vC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const f$=(e,t)=>t?e===t?!0:f$(e,t.parentElement):!1,$w=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,a0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function n0e(e){return a0e.has(e.tagName)||e.tabIndex!==-1}const Xx=new WeakSet;function MC(e){return t=>{t.key==="Enter"&&e(t)}}function BL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const o0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=MC(()=>{if(Xx.has(n))return;BL(n,"down");const i=MC(()=>{BL(n,"up")}),r=()=>BL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function _C(e){return $w(e)&&!k$()}function c0e(e,t,n={}){const[o,i,r]=m$(e,n),s=d=>{const l=d.currentTarget;if(!_C(d))return;Xx.add(l);const h=t(l,d),u=(m,v)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Xx.has(l)&&Xx.delete(l),_C(m)&&typeof h=="function"&&h(m,{success:v})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||f$(l,m.target))},y=m=>{u(m,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return o.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),y$(d)&&(d.addEventListener("focus",h=>o0e(h,i)),!n0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function g$(e){return Sj(e)&&"ownerSVGElement"in e}function i0e(e){return g$(e)&&e.tagName==="svg"}function r0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=Qj(i,r,s);return t?d(o):d}const we=e=>!!(e&&e.getVelocity),s0e=[...l$,ge,$t],d0e=e=>s0e.find(d$(e)),pL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function xC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function l0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=xC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<o.length;i++){const r=o[i];typeof r=="function"?r():xC(e[i],null)}}}}function h0e(...e){return K.useCallback(l0e(...e),e)}class u0e extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=y$(o)&&o.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p0e({children:e,isPresent:t,anchorX:n,root:o}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(pL),l=h0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:h,height:u,top:p,left:y,right:m}=s.current;if(t||!r.current||!h||!u)return;const v=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const f=document.createElement("style");d&&(f.nonce=d);const M=o??document.head;return M.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
8161
|
+
*/const ut=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:J1,AArrowDownIcon:J1,AArrowUp:Q1,AArrowUpIcon:Q1,ALargeSmall:ei,ALargeSmallIcon:ei,Accessibility:p1,AccessibilityIcon:p1,Activity:y1,ActivityIcon:y1,ActivitySquare:bt,ActivitySquareIcon:bt,AirVent:ti,AirVentIcon:ti,Airplay:ai,AirplayIcon:ai,AlarmCheck:Ht,AlarmCheckIcon:Ht,AlarmClock:oi,AlarmClockCheck:Ht,AlarmClockCheckIcon:Ht,AlarmClockIcon:oi,AlarmClockMinus:Dt,AlarmClockMinusIcon:Dt,AlarmClockOff:ni,AlarmClockOffIcon:ni,AlarmClockPlus:Bt,AlarmClockPlusIcon:Bt,AlarmMinus:Dt,AlarmMinusIcon:Dt,AlarmPlus:Bt,AlarmPlusIcon:Bt,AlarmSmoke:ci,AlarmSmokeIcon:ci,Album:ii,AlbumIcon:ii,AlertCircle:ya,AlertCircleIcon:ya,AlertOctagon:Tn,AlertOctagonIcon:Tn,AlertTriangle:sc,AlertTriangleIcon:sc,AlignCenter:ui,AlignCenterHorizontal:ri,AlignCenterHorizontalIcon:ri,AlignCenterIcon:ui,AlignCenterVertical:si,AlignCenterVerticalIcon:si,AlignEndHorizontal:di,AlignEndHorizontalIcon:di,AlignEndVertical:li,AlignEndVerticalIcon:li,AlignHorizontalDistributeCenter:hi,AlignHorizontalDistributeCenterIcon:hi,AlignHorizontalDistributeEnd:pi,AlignHorizontalDistributeEndIcon:pi,AlignHorizontalDistributeStart:yi,AlignHorizontalDistributeStartIcon:yi,AlignHorizontalJustifyCenter:ki,AlignHorizontalJustifyCenterIcon:ki,AlignHorizontalJustifyEnd:mi,AlignHorizontalJustifyEndIcon:mi,AlignHorizontalJustifyStart:fi,AlignHorizontalJustifyStartIcon:fi,AlignHorizontalSpaceAround:gi,AlignHorizontalSpaceAroundIcon:gi,AlignHorizontalSpaceBetween:Mi,AlignHorizontalSpaceBetweenIcon:Mi,AlignJustify:vi,AlignJustifyIcon:vi,AlignLeft:_i,AlignLeftIcon:_i,AlignRight:xi,AlignRightIcon:xi,AlignStartHorizontal:Li,AlignStartHorizontalIcon:Li,AlignStartVertical:Ii,AlignStartVerticalIcon:Ii,AlignVerticalDistributeCenter:wi,AlignVerticalDistributeCenterIcon:wi,AlignVerticalDistributeEnd:bi,AlignVerticalDistributeEndIcon:bi,AlignVerticalDistributeStart:Ni,AlignVerticalDistributeStartIcon:Ni,AlignVerticalJustifyCenter:Ci,AlignVerticalJustifyCenterIcon:Ci,AlignVerticalJustifyEnd:Si,AlignVerticalJustifyEndIcon:Si,AlignVerticalJustifyStart:ji,AlignVerticalJustifyStartIcon:ji,AlignVerticalSpaceAround:qi,AlignVerticalSpaceAroundIcon:qi,AlignVerticalSpaceBetween:$i,AlignVerticalSpaceBetweenIcon:$i,Ambulance:Ai,AmbulanceIcon:Ai,Ampersand:zi,AmpersandIcon:zi,Ampersands:Vi,AmpersandsIcon:Vi,Amphora:Pi,AmphoraIcon:Pi,Anchor:Ti,AnchorIcon:Ti,Angry:Hi,AngryIcon:Hi,Annoyed:Di,AnnoyedIcon:Di,Antenna:Bi,AntennaIcon:Bi,Anvil:Ri,AnvilIcon:Ri,Aperture:Fi,ApertureIcon:Fi,AppWindow:Oi,AppWindowIcon:Oi,AppWindowMac:Ei,AppWindowMacIcon:Ei,Apple:Ui,AppleIcon:Ui,Archive:Zi,ArchiveIcon:Zi,ArchiveRestore:Wi,ArchiveRestoreIcon:Wi,ArchiveX:Gi,ArchiveXIcon:Gi,AreaChart:ta,AreaChartIcon:ta,Armchair:Ki,ArmchairIcon:Ki,ArrowBigDown:Yi,ArrowBigDownDash:Xi,ArrowBigDownDashIcon:Xi,ArrowBigDownIcon:Yi,ArrowBigLeft:Qi,ArrowBigLeftDash:Ji,ArrowBigLeftDashIcon:Ji,ArrowBigLeftIcon:Qi,ArrowBigRight:tr,ArrowBigRightDash:er,ArrowBigRightDashIcon:er,ArrowBigRightIcon:tr,ArrowBigUp:nr,ArrowBigUpDash:ar,ArrowBigUpDashIcon:ar,ArrowBigUpIcon:nr,ArrowDown:pr,ArrowDown01:or,ArrowDown01Icon:or,ArrowDown10:cr,ArrowDown10Icon:cr,ArrowDownAZ:Rt,ArrowDownAZIcon:Rt,ArrowDownAz:Rt,ArrowDownAzIcon:Rt,ArrowDownCircle:ka,ArrowDownCircleIcon:ka,ArrowDownFromLine:ir,ArrowDownFromLineIcon:ir,ArrowDownIcon:pr,ArrowDownLeft:rr,ArrowDownLeftFromCircle:fa,ArrowDownLeftFromCircleIcon:fa,ArrowDownLeftFromSquare:ho,ArrowDownLeftFromSquareIcon:ho,ArrowDownLeftIcon:rr,ArrowDownLeftSquare:io,ArrowDownLeftSquareIcon:io,ArrowDownNarrowWide:sr,ArrowDownNarrowWideIcon:sr,ArrowDownRight:dr,ArrowDownRightFromCircle:ga,ArrowDownRightFromCircleIcon:ga,ArrowDownRightFromSquare:uo,ArrowDownRightFromSquareIcon:uo,ArrowDownRightIcon:dr,ArrowDownRightSquare:ro,ArrowDownRightSquareIcon:ro,ArrowDownSquare:so,ArrowDownSquareIcon:so,ArrowDownToDot:lr,ArrowDownToDotIcon:lr,ArrowDownToLine:hr,ArrowDownToLineIcon:hr,ArrowDownUp:ur,ArrowDownUpIcon:ur,ArrowDownWideNarrow:Ft,ArrowDownWideNarrowIcon:Ft,ArrowDownZA:Et,ArrowDownZAIcon:Et,ArrowDownZa:Et,ArrowDownZaIcon:Et,ArrowLeft:fr,ArrowLeftCircle:ma,ArrowLeftCircleIcon:ma,ArrowLeftFromLine:yr,ArrowLeftFromLineIcon:yr,ArrowLeftIcon:fr,ArrowLeftRight:kr,ArrowLeftRightIcon:kr,ArrowLeftSquare:lo,ArrowLeftSquareIcon:lo,ArrowLeftToLine:mr,ArrowLeftToLineIcon:mr,ArrowRight:_r,ArrowRightCircle:_a,ArrowRightCircleIcon:_a,ArrowRightFromLine:gr,ArrowRightFromLineIcon:gr,ArrowRightIcon:_r,ArrowRightLeft:vr,ArrowRightLeftIcon:vr,ArrowRightSquare:ko,ArrowRightSquareIcon:ko,ArrowRightToLine:Mr,ArrowRightToLineIcon:Mr,ArrowUp:$r,ArrowUp01:xr,ArrowUp01Icon:xr,ArrowUp10:Lr,ArrowUp10Icon:Lr,ArrowUpAZ:Ot,ArrowUpAZIcon:Ot,ArrowUpAz:Ot,ArrowUpAzIcon:Ot,ArrowUpCircle:xa,ArrowUpCircleIcon:xa,ArrowUpDown:Ir,ArrowUpDownIcon:Ir,ArrowUpFromDot:br,ArrowUpFromDotIcon:br,ArrowUpFromLine:wr,ArrowUpFromLineIcon:wr,ArrowUpIcon:$r,ArrowUpLeft:Cr,ArrowUpLeftFromCircle:va,ArrowUpLeftFromCircleIcon:va,ArrowUpLeftFromSquare:po,ArrowUpLeftFromSquareIcon:po,ArrowUpLeftIcon:Cr,ArrowUpLeftSquare:mo,ArrowUpLeftSquareIcon:mo,ArrowUpNarrowWide:Ut,ArrowUpNarrowWideIcon:Ut,ArrowUpRight:Nr,ArrowUpRightFromCircle:Ma,ArrowUpRightFromCircleIcon:Ma,ArrowUpRightFromSquare:yo,ArrowUpRightFromSquareIcon:yo,ArrowUpRightIcon:Nr,ArrowUpRightSquare:fo,ArrowUpRightSquareIcon:fo,ArrowUpSquare:go,ArrowUpSquareIcon:go,ArrowUpToLine:Sr,ArrowUpToLineIcon:Sr,ArrowUpWideNarrow:jr,ArrowUpWideNarrowIcon:jr,ArrowUpZA:Wt,ArrowUpZAIcon:Wt,ArrowUpZa:Wt,ArrowUpZaIcon:Wt,ArrowsUpFromLine:qr,ArrowsUpFromLineIcon:qr,Asterisk:Ar,AsteriskIcon:Ar,AsteriskSquare:vo,AsteriskSquareIcon:vo,AtSign:zr,AtSignIcon:zr,Atom:Vr,AtomIcon:Vr,AudioLines:Pr,AudioLinesIcon:Pr,AudioWaveform:Tr,AudioWaveformIcon:Tr,Award:Hr,AwardIcon:Hr,Axe:Dr,AxeIcon:Dr,Axis3D:Gt,Axis3DIcon:Gt,Axis3d:Gt,Axis3dIcon:Gt,Baby:Br,BabyIcon:Br,Backpack:Rr,BackpackIcon:Rr,Badge:ns,BadgeAlert:Fr,BadgeAlertIcon:Fr,BadgeCent:Er,BadgeCentIcon:Er,BadgeCheck:Zt,BadgeCheckIcon:Zt,BadgeDollarSign:Or,BadgeDollarSignIcon:Or,BadgeEuro:Ur,BadgeEuroIcon:Ur,BadgeHelp:Kt,BadgeHelpIcon:Kt,BadgeIcon:ns,BadgeIndianRupee:Wr,BadgeIndianRupeeIcon:Wr,BadgeInfo:Gr,BadgeInfoIcon:Gr,BadgeJapaneseYen:Kr,BadgeJapaneseYenIcon:Kr,BadgeMinus:Zr,BadgeMinusIcon:Zr,BadgePercent:Xr,BadgePercentIcon:Xr,BadgePlus:Yr,BadgePlusIcon:Yr,BadgePoundSterling:Jr,BadgePoundSterlingIcon:Jr,BadgeQuestionMark:Kt,BadgeQuestionMarkIcon:Kt,BadgeRussianRuble:Qr,BadgeRussianRubleIcon:Qr,BadgeSwissFranc:es,BadgeSwissFrancIcon:es,BadgeTurkishLira:ts,BadgeTurkishLiraIcon:ts,BadgeX:as,BadgeXIcon:as,BaggageClaim:os,BaggageClaimIcon:os,Ban:cs,BanIcon:cs,Banana:is,BananaIcon:is,Bandage:rs,BandageIcon:rs,Banknote:hs,BanknoteArrowDown:ss,BanknoteArrowDownIcon:ss,BanknoteArrowUp:ds,BanknoteArrowUpIcon:ds,BanknoteIcon:hs,BanknoteX:ls,BanknoteXIcon:ls,BarChart:da,BarChart2:la,BarChart2Icon:la,BarChart3:ra,BarChart3Icon:ra,BarChart4:ia,BarChart4Icon:ia,BarChartBig:ca,BarChartBigIcon:ca,BarChartHorizontal:na,BarChartHorizontalBig:aa,BarChartHorizontalBigIcon:aa,BarChartHorizontalIcon:na,BarChartIcon:da,Barcode:us,BarcodeIcon:us,Barrel:ps,BarrelIcon:ps,Baseline:ys,BaselineIcon:ys,Bath:ks,BathIcon:ks,Battery:xs,BatteryCharging:ms,BatteryChargingIcon:ms,BatteryFull:fs,BatteryFullIcon:fs,BatteryIcon:xs,BatteryLow:gs,BatteryLowIcon:gs,BatteryMedium:vs,BatteryMediumIcon:vs,BatteryPlus:Ms,BatteryPlusIcon:Ms,BatteryWarning:_s,BatteryWarningIcon:_s,Beaker:Ls,BeakerIcon:Ls,Bean:bs,BeanIcon:bs,BeanOff:Is,BeanOffIcon:Is,Bed:Ns,BedDouble:ws,BedDoubleIcon:ws,BedIcon:Ns,BedSingle:Cs,BedSingleIcon:Cs,Beef:Ss,BeefIcon:Ss,Beer:$s,BeerIcon:$s,BeerOff:js,BeerOffIcon:js,Bell:Ts,BellDot:qs,BellDotIcon:qs,BellElectric:As,BellElectricIcon:As,BellIcon:Ts,BellMinus:zs,BellMinusIcon:zs,BellOff:Vs,BellOffIcon:Vs,BellPlus:Ps,BellPlusIcon:Ps,BellRing:Hs,BellRingIcon:Hs,BetweenHorizonalEnd:Xt,BetweenHorizonalEndIcon:Xt,BetweenHorizonalStart:Yt,BetweenHorizonalStartIcon:Yt,BetweenHorizontalEnd:Xt,BetweenHorizontalEndIcon:Xt,BetweenHorizontalStart:Yt,BetweenHorizontalStartIcon:Yt,BetweenVerticalEnd:Bs,BetweenVerticalEndIcon:Bs,BetweenVerticalStart:Ds,BetweenVerticalStartIcon:Ds,BicepsFlexed:Rs,BicepsFlexedIcon:Rs,Bike:Es,BikeIcon:Es,Binary:Fs,BinaryIcon:Fs,Binoculars:Os,BinocularsIcon:Os,Biohazard:Us,BiohazardIcon:Us,Bird:Ws,BirdIcon:Ws,Bitcoin:Gs,BitcoinIcon:Gs,Blend:Zs,BlendIcon:Zs,Blinds:Ks,BlindsIcon:Ks,Blocks:Xs,BlocksIcon:Xs,Bluetooth:e2,BluetoothConnected:Ys,BluetoothConnectedIcon:Ys,BluetoothIcon:e2,BluetoothOff:Js,BluetoothOffIcon:Js,BluetoothSearching:Qs,BluetoothSearchingIcon:Qs,Bold:t2,BoldIcon:t2,Bolt:a2,BoltIcon:a2,Bomb:n2,BombIcon:n2,Bone:o2,BoneIcon:o2,Book:N2,BookA:c2,BookAIcon:c2,BookAlert:i2,BookAlertIcon:i2,BookAudio:r2,BookAudioIcon:r2,BookCheck:s2,BookCheckIcon:s2,BookCopy:d2,BookCopyIcon:d2,BookDashed:Jt,BookDashedIcon:Jt,BookDown:l2,BookDownIcon:l2,BookHeadphones:h2,BookHeadphonesIcon:h2,BookHeart:u2,BookHeartIcon:u2,BookIcon:N2,BookImage:p2,BookImageIcon:p2,BookKey:y2,BookKeyIcon:y2,BookLock:k2,BookLockIcon:k2,BookMarked:f2,BookMarkedIcon:f2,BookMinus:m2,BookMinusIcon:m2,BookOpen:M2,BookOpenCheck:g2,BookOpenCheckIcon:g2,BookOpenIcon:M2,BookOpenText:v2,BookOpenTextIcon:v2,BookPlus:_2,BookPlusIcon:_2,BookTemplate:Jt,BookTemplateIcon:Jt,BookText:x2,BookTextIcon:x2,BookType:L2,BookTypeIcon:L2,BookUp:b2,BookUp2:I2,BookUp2Icon:I2,BookUpIcon:b2,BookUser:w2,BookUserIcon:w2,BookX:C2,BookXIcon:C2,Bookmark:A2,BookmarkCheck:S2,BookmarkCheckIcon:S2,BookmarkIcon:A2,BookmarkMinus:j2,BookmarkMinusIcon:j2,BookmarkPlus:$2,BookmarkPlusIcon:$2,BookmarkX:q2,BookmarkXIcon:q2,BoomBox:z2,BoomBoxIcon:z2,Bot:T2,BotIcon:T2,BotMessageSquare:V2,BotMessageSquareIcon:V2,BotOff:P2,BotOffIcon:P2,BottleWine:H2,BottleWineIcon:H2,BowArrow:D2,BowArrowIcon:D2,Box:B2,BoxIcon:B2,BoxSelect:jo,BoxSelectIcon:jo,Boxes:R2,BoxesIcon:R2,Braces:Qt,BracesIcon:Qt,Brackets:F2,BracketsIcon:F2,Brain:U2,BrainCircuit:E2,BrainCircuitIcon:E2,BrainCog:O2,BrainCogIcon:O2,BrainIcon:U2,BrickWall:Z2,BrickWallFire:W2,BrickWallFireIcon:W2,BrickWallIcon:Z2,BrickWallShield:G2,BrickWallShieldIcon:G2,Briefcase:J2,BriefcaseBusiness:K2,BriefcaseBusinessIcon:K2,BriefcaseConveyorBelt:X2,BriefcaseConveyorBeltIcon:X2,BriefcaseIcon:J2,BriefcaseMedical:Y2,BriefcaseMedicalIcon:Y2,BringToFront:Q2,BringToFrontIcon:Q2,Brush:td,BrushCleaning:ed,BrushCleaningIcon:ed,BrushIcon:td,Bubbles:ad,BubblesIcon:ad,Bug:id,BugIcon:id,BugOff:nd,BugOffIcon:nd,BugPlay:od,BugPlayIcon:od,Building:rd,Building2:cd,Building2Icon:cd,BuildingIcon:rd,Bus:dd,BusFront:sd,BusFrontIcon:sd,BusIcon:dd,Cable:hd,CableCar:ld,CableCarIcon:ld,CableIcon:hd,Cake:pd,CakeIcon:pd,CakeSlice:ud,CakeSliceIcon:ud,Calculator:yd,CalculatorIcon:yd,Calendar:k1,Calendar1:kd,Calendar1Icon:kd,CalendarArrowDown:md,CalendarArrowDownIcon:md,CalendarArrowUp:fd,CalendarArrowUpIcon:fd,CalendarCheck:vd,CalendarCheck2:gd,CalendarCheck2Icon:gd,CalendarCheckIcon:vd,CalendarClock:Md,CalendarClockIcon:Md,CalendarCog:_d,CalendarCogIcon:_d,CalendarDays:xd,CalendarDaysIcon:xd,CalendarFold:Ld,CalendarFoldIcon:Ld,CalendarHeart:Id,CalendarHeartIcon:Id,CalendarIcon:k1,CalendarMinus:wd,CalendarMinus2:bd,CalendarMinus2Icon:bd,CalendarMinusIcon:wd,CalendarOff:Cd,CalendarOffIcon:Cd,CalendarPlus:Sd,CalendarPlus2:Nd,CalendarPlus2Icon:Nd,CalendarPlusIcon:Sd,CalendarRange:jd,CalendarRangeIcon:jd,CalendarSearch:$d,CalendarSearchIcon:$d,CalendarSync:qd,CalendarSyncIcon:qd,CalendarX:zd,CalendarX2:Ad,CalendarX2Icon:Ad,CalendarXIcon:zd,Camera:Pd,CameraIcon:Pd,CameraOff:Vd,CameraOffIcon:Vd,CandlestickChart:oa,CandlestickChartIcon:oa,Candy:Dd,CandyCane:Td,CandyCaneIcon:Td,CandyIcon:Dd,CandyOff:Hd,CandyOffIcon:Hd,Cannabis:Bd,CannabisIcon:Bd,Captions:ea,CaptionsIcon:ea,CaptionsOff:Rd,CaptionsOffIcon:Rd,Car:Od,CarFront:Fd,CarFrontIcon:Fd,CarIcon:Od,CarTaxiFront:Ed,CarTaxiFrontIcon:Ed,Caravan:Ud,CaravanIcon:Ud,CardSim:Wd,CardSimIcon:Wd,Carrot:Gd,CarrotIcon:Gd,CaseLower:Zd,CaseLowerIcon:Zd,CaseSensitive:Kd,CaseSensitiveIcon:Kd,CaseUpper:Xd,CaseUpperIcon:Xd,CassetteTape:Yd,CassetteTapeIcon:Yd,Cast:Jd,CastIcon:Jd,Castle:e0,CastleIcon:e0,Cat:Qd,CatIcon:Qd,Cctv:t0,CctvIcon:t0,ChartArea:ta,ChartAreaIcon:ta,ChartBar:na,ChartBarBig:aa,ChartBarBigIcon:aa,ChartBarDecreasing:a0,ChartBarDecreasingIcon:a0,ChartBarIcon:na,ChartBarIncreasing:n0,ChartBarIncreasingIcon:n0,ChartBarStacked:o0,ChartBarStackedIcon:o0,ChartCandlestick:oa,ChartCandlestickIcon:oa,ChartColumn:ra,ChartColumnBig:ca,ChartColumnBigIcon:ca,ChartColumnDecreasing:c0,ChartColumnDecreasingIcon:c0,ChartColumnIcon:ra,ChartColumnIncreasing:ia,ChartColumnIncreasingIcon:ia,ChartColumnStacked:i0,ChartColumnStackedIcon:i0,ChartGantt:r0,ChartGanttIcon:r0,ChartLine:sa,ChartLineIcon:sa,ChartNetwork:s0,ChartNetworkIcon:s0,ChartNoAxesColumn:la,ChartNoAxesColumnDecreasing:d0,ChartNoAxesColumnDecreasingIcon:d0,ChartNoAxesColumnIcon:la,ChartNoAxesColumnIncreasing:da,ChartNoAxesColumnIncreasingIcon:da,ChartNoAxesCombined:l0,ChartNoAxesCombinedIcon:l0,ChartNoAxesGantt:ha,ChartNoAxesGanttIcon:ha,ChartPie:ua,ChartPieIcon:ua,ChartScatter:pa,ChartScatterIcon:pa,ChartSpline:h0,ChartSplineIcon:h0,Check:m1,CheckCheck:u0,CheckCheckIcon:u0,CheckCircle:La,CheckCircle2:Ia,CheckCircle2Icon:Ia,CheckCircleIcon:La,CheckIcon:m1,CheckLine:p0,CheckLineIcon:p0,CheckSquare:_o,CheckSquare2:xo,CheckSquare2Icon:xo,CheckSquareIcon:_o,ChefHat:y0,ChefHatIcon:y0,Cherry:k0,CherryIcon:k0,ChevronDown:St,ChevronDownCircle:ba,ChevronDownCircleIcon:ba,ChevronDownIcon:St,ChevronDownSquare:Lo,ChevronDownSquareIcon:Lo,ChevronFirst:m0,ChevronFirstIcon:m0,ChevronLast:f0,ChevronLastIcon:f0,ChevronLeft:g0,ChevronLeftCircle:wa,ChevronLeftCircleIcon:wa,ChevronLeftIcon:g0,ChevronLeftSquare:Io,ChevronLeftSquareIcon:Io,ChevronRight:f1,ChevronRightCircle:Ca,ChevronRightCircleIcon:Ca,ChevronRightIcon:f1,ChevronRightSquare:bo,ChevronRightSquareIcon:bo,ChevronUp:wc,ChevronUpCircle:Na,ChevronUpCircleIcon:Na,ChevronUpIcon:wc,ChevronUpSquare:wo,ChevronUpSquareIcon:wo,ChevronsDown:M0,ChevronsDownIcon:M0,ChevronsDownUp:v0,ChevronsDownUpIcon:v0,ChevronsLeft:x0,ChevronsLeftIcon:x0,ChevronsLeftRight:_0,ChevronsLeftRightEllipsis:L0,ChevronsLeftRightEllipsisIcon:L0,ChevronsLeftRightIcon:_0,ChevronsRight:b0,ChevronsRightIcon:b0,ChevronsRightLeft:I0,ChevronsRightLeftIcon:I0,ChevronsUp:w0,ChevronsUpDown:Uc,ChevronsUpDownIcon:Uc,ChevronsUpIcon:w0,Chrome:C0,ChromeIcon:C0,Church:N0,ChurchIcon:N0,Cigarette:j0,CigaretteIcon:j0,CigaretteOff:S0,CigaretteOffIcon:S0,Circle:O0,CircleAlert:ya,CircleAlertIcon:ya,CircleArrowDown:ka,CircleArrowDownIcon:ka,CircleArrowLeft:ma,CircleArrowLeftIcon:ma,CircleArrowOutDownLeft:fa,CircleArrowOutDownLeftIcon:fa,CircleArrowOutDownRight:ga,CircleArrowOutDownRightIcon:ga,CircleArrowOutUpLeft:va,CircleArrowOutUpLeftIcon:va,CircleArrowOutUpRight:Ma,CircleArrowOutUpRightIcon:Ma,CircleArrowRight:_a,CircleArrowRightIcon:_a,CircleArrowUp:xa,CircleArrowUpIcon:xa,CircleCheck:Ia,CircleCheckBig:La,CircleCheckBigIcon:La,CircleCheckIcon:Ia,CircleChevronDown:ba,CircleChevronDownIcon:ba,CircleChevronLeft:wa,CircleChevronLeftIcon:wa,CircleChevronRight:Ca,CircleChevronRightIcon:Ca,CircleChevronUp:Na,CircleChevronUpIcon:Na,CircleDashed:$0,CircleDashedIcon:$0,CircleDivide:Sa,CircleDivideIcon:Sa,CircleDollarSign:A0,CircleDollarSignIcon:A0,CircleDot:z0,CircleDotDashed:q0,CircleDotDashedIcon:q0,CircleDotIcon:z0,CircleEllipsis:V0,CircleEllipsisIcon:V0,CircleEqual:P0,CircleEqualIcon:P0,CircleFadingArrowUp:H0,CircleFadingArrowUpIcon:H0,CircleFadingPlus:T0,CircleFadingPlusIcon:T0,CircleGauge:ja,CircleGaugeIcon:ja,CircleHelp:at,CircleHelpIcon:at,CircleIcon:O0,CircleMinus:$a,CircleMinusIcon:$a,CircleOff:D0,CircleOffIcon:D0,CircleParking:za,CircleParkingIcon:za,CircleParkingOff:qa,CircleParkingOffIcon:qa,CirclePause:Aa,CirclePauseIcon:Aa,CirclePercent:Va,CirclePercentIcon:Va,CirclePlay:Pa,CirclePlayIcon:Pa,CirclePlus:Ta,CirclePlusIcon:Ta,CirclePoundSterling:B0,CirclePoundSterlingIcon:B0,CirclePower:Ha,CirclePowerIcon:Ha,CircleQuestionMark:at,CircleQuestionMarkIcon:at,CircleSlash:R0,CircleSlash2:Da,CircleSlash2Icon:Da,CircleSlashIcon:R0,CircleSlashed:Da,CircleSlashedIcon:Da,CircleSmall:F0,CircleSmallIcon:F0,CircleStar:E0,CircleStarIcon:E0,CircleStop:Ba,CircleStopIcon:Ba,CircleUser:Fa,CircleUserIcon:Fa,CircleUserRound:Ra,CircleUserRoundIcon:Ra,CircleX:xt,CircleXIcon:xt,CircuitBoard:U0,CircuitBoardIcon:U0,Citrus:W0,CitrusIcon:W0,Clapperboard:G0,ClapperboardIcon:G0,Clipboard:nl,ClipboardCheck:Z0,ClipboardCheckIcon:Z0,ClipboardClock:K0,ClipboardClockIcon:K0,ClipboardCopy:X0,ClipboardCopyIcon:X0,ClipboardEdit:Oa,ClipboardEditIcon:Oa,ClipboardIcon:nl,ClipboardList:Y0,ClipboardListIcon:Y0,ClipboardMinus:J0,ClipboardMinusIcon:J0,ClipboardPaste:Q0,ClipboardPasteIcon:Q0,ClipboardPen:Oa,ClipboardPenIcon:Oa,ClipboardPenLine:Ea,ClipboardPenLineIcon:Ea,ClipboardPlus:el,ClipboardPlusIcon:el,ClipboardSignature:Ea,ClipboardSignatureIcon:Ea,ClipboardType:tl,ClipboardTypeIcon:tl,ClipboardX:al,ClipboardXIcon:al,Clock:_l,Clock1:cl,Clock10:ol,Clock10Icon:ol,Clock11:il,Clock11Icon:il,Clock12:rl,Clock12Icon:rl,Clock1Icon:cl,Clock2:sl,Clock2Icon:sl,Clock3:dl,Clock3Icon:dl,Clock4:ll,Clock4Icon:ll,Clock5:hl,Clock5Icon:hl,Clock6:ul,Clock6Icon:ul,Clock7:pl,Clock7Icon:pl,Clock8:yl,Clock8Icon:yl,Clock9:kl,Clock9Icon:kl,ClockAlert:ml,ClockAlertIcon:ml,ClockArrowDown:fl,ClockArrowDownIcon:fl,ClockArrowUp:gl,ClockArrowUpIcon:gl,ClockFading:vl,ClockFadingIcon:vl,ClockIcon:_l,ClockPlus:Ml,ClockPlusIcon:Ml,ClosedCaption:xl,ClosedCaptionIcon:xl,Cloud:Hl,CloudAlert:Ll,CloudAlertIcon:Ll,CloudCheck:Il,CloudCheckIcon:Il,CloudCog:bl,CloudCogIcon:bl,CloudDownload:Ua,CloudDownloadIcon:Ua,CloudDrizzle:wl,CloudDrizzleIcon:wl,CloudFog:Cl,CloudFogIcon:Cl,CloudHail:Nl,CloudHailIcon:Nl,CloudIcon:Hl,CloudLightning:Sl,CloudLightningIcon:Sl,CloudMoon:$l,CloudMoonIcon:$l,CloudMoonRain:jl,CloudMoonRainIcon:jl,CloudOff:ql,CloudOffIcon:ql,CloudRain:zl,CloudRainIcon:zl,CloudRainWind:Al,CloudRainWindIcon:Al,CloudSnow:Vl,CloudSnowIcon:Vl,CloudSun:Tl,CloudSunIcon:Tl,CloudSunRain:Pl,CloudSunRainIcon:Pl,CloudUpload:Wa,CloudUploadIcon:Wa,Cloudy:Dl,CloudyIcon:Dl,Clover:Bl,CloverIcon:Bl,Club:Rl,ClubIcon:Rl,Code:Fl,Code2:Ga,Code2Icon:Ga,CodeIcon:Fl,CodeSquare:Co,CodeSquareIcon:Co,CodeXml:Ga,CodeXmlIcon:Ga,Codepen:El,CodepenIcon:El,Codesandbox:Ol,CodesandboxIcon:Ol,Coffee:Ul,CoffeeIcon:Ul,Cog:Wl,CogIcon:Wl,Coins:Gl,CoinsIcon:Gl,Columns:Za,Columns2:Za,Columns2Icon:Za,Columns3:Ka,Columns3Cog:nt,Columns3CogIcon:nt,Columns3Icon:Ka,Columns4:Zl,Columns4Icon:Zl,ColumnsIcon:Za,ColumnsSettings:nt,ColumnsSettingsIcon:nt,Combine:Kl,CombineIcon:Kl,Command:Xl,CommandIcon:Xl,Compass:Yl,CompassIcon:Yl,Component:Jl,ComponentIcon:Jl,Computer:Ql,ComputerIcon:Ql,ConciergeBell:eh,ConciergeBellIcon:eh,Cone:th,ConeIcon:th,Construction:ah,ConstructionIcon:ah,Contact:nh,Contact2:Xa,Contact2Icon:Xa,ContactIcon:nh,ContactRound:Xa,ContactRoundIcon:Xa,Container:oh,ContainerIcon:oh,Contrast:ih,ContrastIcon:ih,Cookie:ch,CookieIcon:ch,CookingPot:sh,CookingPotIcon:sh,Copy:ph,CopyCheck:rh,CopyCheckIcon:rh,CopyIcon:ph,CopyMinus:dh,CopyMinusIcon:dh,CopyPlus:lh,CopyPlusIcon:lh,CopySlash:hh,CopySlashIcon:hh,CopyX:uh,CopyXIcon:uh,Copyleft:yh,CopyleftIcon:yh,Copyright:kh,CopyrightIcon:kh,CornerDownLeft:mh,CornerDownLeftIcon:mh,CornerDownRight:fh,CornerDownRightIcon:fh,CornerLeftDown:gh,CornerLeftDownIcon:gh,CornerLeftUp:vh,CornerLeftUpIcon:vh,CornerRightDown:Mh,CornerRightDownIcon:Mh,CornerRightUp:_h,CornerRightUpIcon:_h,CornerUpLeft:xh,CornerUpLeftIcon:xh,CornerUpRight:Lh,CornerUpRightIcon:Lh,Cpu:Ih,CpuIcon:Ih,CreativeCommons:bh,CreativeCommonsIcon:bh,CreditCard:wh,CreditCardIcon:wh,Croissant:Ch,CroissantIcon:Ch,Crop:Nh,CropIcon:Nh,Cross:Sh,CrossIcon:Sh,Crosshair:jh,CrosshairIcon:jh,Crown:$h,CrownIcon:$h,Cuboid:qh,CuboidIcon:qh,CupSoda:Ah,CupSodaIcon:Ah,CurlyBraces:Qt,CurlyBracesIcon:Qt,Currency:zh,CurrencyIcon:zh,Cylinder:Vh,CylinderIcon:Vh,Dam:Ph,DamIcon:Ph,Database:Dh,DatabaseBackup:Th,DatabaseBackupIcon:Th,DatabaseIcon:Dh,DatabaseZap:Hh,DatabaseZapIcon:Hh,DecimalsArrowLeft:Bh,DecimalsArrowLeftIcon:Bh,DecimalsArrowRight:Rh,DecimalsArrowRightIcon:Rh,Delete:Fh,DeleteIcon:Fh,Dessert:Eh,DessertIcon:Eh,Diameter:Oh,DiameterIcon:Oh,Diamond:Gh,DiamondIcon:Gh,DiamondMinus:Uh,DiamondMinusIcon:Uh,DiamondPercent:Ya,DiamondPercentIcon:Ya,DiamondPlus:Wh,DiamondPlusIcon:Wh,Dice1:Zh,Dice1Icon:Zh,Dice2:Kh,Dice2Icon:Kh,Dice3:Xh,Dice3Icon:Xh,Dice4:Yh,Dice4Icon:Yh,Dice5:Jh,Dice5Icon:Jh,Dice6:Qh,Dice6Icon:Qh,Dices:eu,DicesIcon:eu,Diff:tu,DiffIcon:tu,Disc:cu,Disc2:au,Disc2Icon:au,Disc3:nu,Disc3Icon:nu,DiscAlbum:ou,DiscAlbumIcon:ou,DiscIcon:cu,Divide:iu,DivideCircle:Sa,DivideCircleIcon:Sa,DivideIcon:iu,DivideSquare:$o,DivideSquareIcon:$o,Dna:su,DnaIcon:su,DnaOff:ru,DnaOffIcon:ru,Dock:du,DockIcon:du,Dog:lu,DogIcon:lu,DollarSign:hu,DollarSignIcon:hu,Donut:uu,DonutIcon:uu,DoorClosed:yu,DoorClosedIcon:yu,DoorClosedLocked:pu,DoorClosedLockedIcon:pu,DoorOpen:ku,DoorOpenIcon:ku,Dot:mu,DotIcon:mu,DotSquare:Ao,DotSquareIcon:Ao,Download:gu,DownloadCloud:Ua,DownloadCloudIcon:Ua,DownloadIcon:gu,DraftingCompass:fu,DraftingCompassIcon:fu,Drama:vu,DramaIcon:vu,Dribbble:Mu,DribbbleIcon:Mu,Drill:_u,DrillIcon:_u,Drone:xu,DroneIcon:xu,Droplet:Iu,DropletIcon:Iu,DropletOff:Lu,DropletOffIcon:Lu,Droplets:bu,DropletsIcon:bu,Drum:wu,DrumIcon:wu,Drumstick:Cu,DrumstickIcon:Cu,Dumbbell:Nu,DumbbellIcon:Nu,Ear:ju,EarIcon:ju,EarOff:Su,EarOffIcon:Su,Earth:Ja,EarthIcon:Ja,EarthLock:$u,EarthLockIcon:$u,Eclipse:qu,EclipseIcon:qu,Edit:Te,Edit2:ht,Edit2Icon:ht,Edit3:lt,Edit3Icon:lt,EditIcon:Te,Egg:Vu,EggFried:Au,EggFriedIcon:Au,EggIcon:Vu,EggOff:zu,EggOffIcon:zu,Ellipsis:en,EllipsisIcon:en,EllipsisVertical:Qa,EllipsisVerticalIcon:Qa,Equal:Hu,EqualApproximately:Pu,EqualApproximatelyIcon:Pu,EqualIcon:Hu,EqualNot:Tu,EqualNotIcon:Tu,EqualSquare:qo,EqualSquareIcon:qo,Eraser:Du,EraserIcon:Du,EthernetPort:Bu,EthernetPortIcon:Bu,Euro:Ru,EuroIcon:Ru,Expand:Eu,ExpandIcon:Eu,ExternalLink:Fu,ExternalLinkIcon:Fu,Eye:v1,EyeClosed:Ou,EyeClosedIcon:Ou,EyeIcon:v1,EyeOff:g1,EyeOffIcon:g1,Facebook:Uu,FacebookIcon:Uu,Factory:Wu,FactoryIcon:Wu,Fan:Gu,FanIcon:Gu,FastForward:Zu,FastForwardIcon:Zu,Feather:Ku,FeatherIcon:Ku,Fence:Xu,FenceIcon:Xu,FerrisWheel:Yu,FerrisWheelIcon:Yu,Figma:Ju,FigmaIcon:Ju,File:Wp,FileArchive:Qu,FileArchiveIcon:Qu,FileAudio:tp,FileAudio2:ep,FileAudio2Icon:ep,FileAudioIcon:tp,FileAxis3D:tn,FileAxis3DIcon:tn,FileAxis3d:tn,FileAxis3dIcon:tn,FileBadge:op,FileBadge2:ap,FileBadge2Icon:ap,FileBadgeIcon:op,FileBarChart:an,FileBarChart2:nn,FileBarChart2Icon:nn,FileBarChartIcon:an,FileBox:np,FileBoxIcon:np,FileChartColumn:nn,FileChartColumnIcon:nn,FileChartColumnIncreasing:an,FileChartColumnIncreasingIcon:an,FileChartLine:on,FileChartLineIcon:on,FileChartPie:cn,FileChartPieIcon:cn,FileCheck:ip,FileCheck2:cp,FileCheck2Icon:cp,FileCheckIcon:ip,FileClock:rp,FileClockIcon:rp,FileCode:sp,FileCode2:dp,FileCode2Icon:dp,FileCodeIcon:sp,FileCog:rn,FileCog2:rn,FileCog2Icon:rn,FileCogIcon:rn,FileDiff:lp,FileDiffIcon:lp,FileDigit:hp,FileDigitIcon:hp,FileDown:up,FileDownIcon:up,FileEdit:dn,FileEditIcon:dn,FileHeart:pp,FileHeartIcon:pp,FileIcon:Wp,FileImage:yp,FileImageIcon:yp,FileInput:kp,FileInputIcon:kp,FileJson:fp,FileJson2:mp,FileJson2Icon:mp,FileJsonIcon:fp,FileKey:vp,FileKey2:gp,FileKey2Icon:gp,FileKeyIcon:vp,FileLineChart:on,FileLineChartIcon:on,FileLock:_p,FileLock2:Mp,FileLock2Icon:Mp,FileLockIcon:_p,FileMinus:Lp,FileMinus2:xp,FileMinus2Icon:xp,FileMinusIcon:Lp,FileMusic:Ip,FileMusicIcon:Ip,FileOutput:bp,FileOutputIcon:bp,FilePen:dn,FilePenIcon:dn,FilePenLine:sn,FilePenLineIcon:sn,FilePieChart:cn,FilePieChartIcon:cn,FilePlay:ln,FilePlayIcon:ln,FilePlus:Cp,FilePlus2:wp,FilePlus2Icon:wp,FilePlusIcon:Cp,FileQuestion:hn,FileQuestionIcon:hn,FileQuestionMark:hn,FileQuestionMarkIcon:hn,FileScan:Np,FileScanIcon:Np,FileSearch:jp,FileSearch2:Sp,FileSearch2Icon:Sp,FileSearchIcon:jp,FileSignature:sn,FileSignatureIcon:sn,FileSliders:$p,FileSlidersIcon:$p,FileSpreadsheet:qp,FileSpreadsheetIcon:qp,FileStack:Ap,FileStackIcon:Ap,FileSymlink:zp,FileSymlinkIcon:zp,FileTerminal:Vp,FileTerminalIcon:Vp,FileText:Pp,FileTextIcon:Pp,FileType:Hp,FileType2:Tp,FileType2Icon:Tp,FileTypeIcon:Hp,FileUp:Dp,FileUpIcon:Dp,FileUser:Bp,FileUserIcon:Bp,FileVideo:ln,FileVideo2:un,FileVideo2Icon:un,FileVideoCamera:un,FileVideoCameraIcon:un,FileVideoIcon:ln,FileVolume:Fp,FileVolume2:Rp,FileVolume2Icon:Rp,FileVolumeIcon:Fp,FileWarning:Ep,FileWarningIcon:Ep,FileX:Up,FileX2:Op,FileX2Icon:Op,FileXIcon:Up,Files:Gp,FilesIcon:Gp,Film:Zp,FilmIcon:Zp,Filter:Lt,FilterIcon:Lt,FilterX:kn,FilterXIcon:kn,Fingerprint:Kp,FingerprintIcon:Kp,FireExtinguisher:Xp,FireExtinguisherIcon:Xp,Fish:Jp,FishIcon:Jp,FishOff:Yp,FishOffIcon:Yp,FishSymbol:Qp,FishSymbolIcon:Qp,Flag:ny,FlagIcon:ny,FlagOff:ey,FlagOffIcon:ey,FlagTriangleLeft:ty,FlagTriangleLeftIcon:ty,FlagTriangleRight:ay,FlagTriangleRightIcon:ay,Flame:cy,FlameIcon:cy,FlameKindling:oy,FlameKindlingIcon:oy,Flashlight:ry,FlashlightIcon:ry,FlashlightOff:iy,FlashlightOffIcon:iy,FlaskConical:dy,FlaskConicalIcon:dy,FlaskConicalOff:sy,FlaskConicalOffIcon:sy,FlaskRound:ly,FlaskRoundIcon:ly,FlipHorizontal:uy,FlipHorizontal2:hy,FlipHorizontal2Icon:hy,FlipHorizontalIcon:uy,FlipVertical:yy,FlipVertical2:py,FlipVertical2Icon:py,FlipVerticalIcon:yy,Flower:my,Flower2:ky,Flower2Icon:ky,FlowerIcon:my,Focus:fy,FocusIcon:fy,FoldHorizontal:gy,FoldHorizontalIcon:gy,FoldVertical:vy,FoldVerticalIcon:vy,Folder:M1,FolderArchive:My,FolderArchiveIcon:My,FolderCheck:_y,FolderCheckIcon:_y,FolderClock:xy,FolderClockIcon:xy,FolderClosed:Ly,FolderClosedIcon:Ly,FolderCode:Iy,FolderCodeIcon:Iy,FolderCog:pn,FolderCog2:pn,FolderCog2Icon:pn,FolderCogIcon:pn,FolderDot:by,FolderDotIcon:by,FolderDown:wy,FolderDownIcon:wy,FolderEdit:yn,FolderEditIcon:yn,FolderGit:Ny,FolderGit2:Cy,FolderGit2Icon:Cy,FolderGitIcon:Ny,FolderHeart:Sy,FolderHeartIcon:Sy,FolderIcon:M1,FolderInput:jy,FolderInputIcon:jy,FolderKanban:$y,FolderKanbanIcon:$y,FolderKey:qy,FolderKeyIcon:qy,FolderLock:Ay,FolderLockIcon:Ay,FolderMinus:zy,FolderMinusIcon:zy,FolderOpen:Py,FolderOpenDot:Vy,FolderOpenDotIcon:Vy,FolderOpenIcon:Py,FolderOutput:Ty,FolderOutputIcon:Ty,FolderPen:yn,FolderPenIcon:yn,FolderPlus:Wc,FolderPlusIcon:Wc,FolderRoot:Hy,FolderRootIcon:Hy,FolderSearch:By,FolderSearch2:Dy,FolderSearch2Icon:Dy,FolderSearchIcon:By,FolderSymlink:Ry,FolderSymlinkIcon:Ry,FolderSync:Fy,FolderSyncIcon:Fy,FolderTree:Ey,FolderTreeIcon:Ey,FolderUp:Oy,FolderUpIcon:Oy,FolderX:Uy,FolderXIcon:Uy,Folders:Wy,FoldersIcon:Wy,Footprints:Gy,FootprintsIcon:Gy,ForkKnife:vc,ForkKnifeCrossed:gc,ForkKnifeCrossedIcon:gc,ForkKnifeIcon:vc,Forklift:Zy,ForkliftIcon:Zy,FormInput:Xn,FormInputIcon:Xn,Forward:Ky,ForwardIcon:Ky,Frame:Xy,FrameIcon:Xy,Framer:Yy,FramerIcon:Yy,Frown:Jy,FrownIcon:Jy,Fuel:Qy,FuelIcon:Qy,Fullscreen:e4,FullscreenIcon:e4,FunctionSquare:zo,FunctionSquareIcon:zo,Funnel:Lt,FunnelIcon:Lt,FunnelPlus:t4,FunnelPlusIcon:t4,FunnelX:kn,FunnelXIcon:kn,GalleryHorizontal:n4,GalleryHorizontalEnd:a4,GalleryHorizontalEndIcon:a4,GalleryHorizontalIcon:n4,GalleryThumbnails:o4,GalleryThumbnailsIcon:o4,GalleryVertical:i4,GalleryVerticalEnd:c4,GalleryVerticalEndIcon:c4,GalleryVerticalIcon:i4,Gamepad:s4,Gamepad2:r4,Gamepad2Icon:r4,GamepadIcon:s4,GanttChart:ha,GanttChartIcon:ha,GanttChartSquare:ct,GanttChartSquareIcon:ct,Gauge:d4,GaugeCircle:ja,GaugeCircleIcon:ja,GaugeIcon:d4,Gavel:l4,GavelIcon:l4,Gem:h4,GemIcon:h4,GeorgianLari:u4,GeorgianLariIcon:u4,Ghost:p4,GhostIcon:p4,Gift:y4,GiftIcon:y4,GitBranch:m4,GitBranchIcon:m4,GitBranchPlus:k4,GitBranchPlusIcon:k4,GitCommit:mn,GitCommitHorizontal:mn,GitCommitHorizontalIcon:mn,GitCommitIcon:mn,GitCommitVertical:f4,GitCommitVerticalIcon:f4,GitCompare:v4,GitCompareArrows:g4,GitCompareArrowsIcon:g4,GitCompareIcon:v4,GitFork:M4,GitForkIcon:M4,GitGraph:_4,GitGraphIcon:_4,GitMerge:x4,GitMergeIcon:x4,GitPullRequest:N4,GitPullRequestArrow:L4,GitPullRequestArrowIcon:L4,GitPullRequestClosed:I4,GitPullRequestClosedIcon:I4,GitPullRequestCreate:w4,GitPullRequestCreateArrow:b4,GitPullRequestCreateArrowIcon:b4,GitPullRequestCreateIcon:w4,GitPullRequestDraft:C4,GitPullRequestDraftIcon:C4,GitPullRequestIcon:N4,Github:S4,GithubIcon:S4,Gitlab:j4,GitlabIcon:j4,GlassWater:$4,GlassWaterIcon:$4,Glasses:q4,GlassesIcon:q4,Globe:z4,Globe2:Ja,Globe2Icon:Ja,GlobeIcon:z4,GlobeLock:A4,GlobeLockIcon:A4,Goal:V4,GoalIcon:V4,Gpu:P4,GpuIcon:P4,Grab:_n,GrabIcon:_n,GraduationCap:T4,GraduationCapIcon:T4,Grape:H4,GrapeIcon:H4,Grid:ot,Grid2X2:Mn,Grid2X2Check:fn,Grid2X2CheckIcon:fn,Grid2X2Icon:Mn,Grid2X2Plus:gn,Grid2X2PlusIcon:gn,Grid2X2X:vn,Grid2X2XIcon:vn,Grid2x2:Mn,Grid2x2Check:fn,Grid2x2CheckIcon:fn,Grid2x2Icon:Mn,Grid2x2Plus:gn,Grid2x2PlusIcon:gn,Grid2x2X:vn,Grid2x2XIcon:vn,Grid3X3:ot,Grid3X3Icon:ot,Grid3x2:D4,Grid3x2Icon:D4,Grid3x3:ot,Grid3x3Icon:ot,GridIcon:ot,Grip:R4,GripHorizontal:B4,GripHorizontalIcon:B4,GripIcon:R4,GripVertical:_1,GripVerticalIcon:_1,Group:F4,GroupIcon:F4,Guitar:E4,GuitarIcon:E4,Ham:O4,HamIcon:O4,Hamburger:U4,HamburgerIcon:U4,Hammer:W4,HammerIcon:W4,Hand:J4,HandCoins:G4,HandCoinsIcon:G4,HandFist:Z4,HandFistIcon:Z4,HandGrab:_n,HandGrabIcon:_n,HandHeart:K4,HandHeartIcon:K4,HandHelping:xn,HandHelpingIcon:xn,HandIcon:J4,HandMetal:X4,HandMetalIcon:X4,HandPlatter:Y4,HandPlatterIcon:Y4,Handbag:Q4,HandbagIcon:Q4,Handshake:e5,HandshakeIcon:e5,HardDrive:n5,HardDriveDownload:t5,HardDriveDownloadIcon:t5,HardDriveIcon:n5,HardDriveUpload:a5,HardDriveUploadIcon:a5,HardHat:o5,HardHatIcon:o5,Hash:c5,HashIcon:c5,HatGlasses:i5,HatGlassesIcon:i5,Haze:r5,HazeIcon:r5,HdmiPort:s5,HdmiPortIcon:s5,Heading:k5,Heading1:d5,Heading1Icon:d5,Heading2:l5,Heading2Icon:l5,Heading3:h5,Heading3Icon:h5,Heading4:u5,Heading4Icon:u5,Heading5:p5,Heading5Icon:p5,Heading6:y5,Heading6Icon:y5,HeadingIcon:k5,HeadphoneOff:m5,HeadphoneOffIcon:m5,Headphones:f5,HeadphonesIcon:f5,Headset:g5,HeadsetIcon:g5,Heart:b5,HeartCrack:v5,HeartCrackIcon:v5,HeartHandshake:M5,HeartHandshakeIcon:M5,HeartIcon:b5,HeartMinus:_5,HeartMinusIcon:_5,HeartOff:x5,HeartOffIcon:x5,HeartPlus:L5,HeartPlusIcon:L5,HeartPulse:I5,HeartPulseIcon:I5,Heater:w5,HeaterIcon:w5,HelpCircle:at,HelpCircleIcon:at,HelpingHand:xn,HelpingHandIcon:xn,Hexagon:C5,HexagonIcon:C5,Highlighter:N5,HighlighterIcon:N5,History:S5,HistoryIcon:S5,Home:It,HomeIcon:It,Hop:$5,HopIcon:$5,HopOff:j5,HopOffIcon:j5,Hospital:x1,HospitalIcon:x1,Hotel:q5,HotelIcon:q5,Hourglass:A5,HourglassIcon:A5,House:It,HouseIcon:It,HousePlug:z5,HousePlugIcon:z5,HousePlus:P5,HousePlusIcon:P5,HouseWifi:V5,HouseWifiIcon:V5,IceCream:In,IceCream2:Ln,IceCream2Icon:Ln,IceCreamBowl:Ln,IceCreamBowlIcon:Ln,IceCreamCone:In,IceCreamConeIcon:In,IceCreamIcon:In,Icon:a.Icon,IdCard:H5,IdCardIcon:H5,IdCardLanyard:T5,IdCardLanyardIcon:T5,Image:W5,ImageDown:D5,ImageDownIcon:D5,ImageIcon:W5,ImageMinus:B5,ImageMinusIcon:B5,ImageOff:R5,ImageOffIcon:R5,ImagePlay:F5,ImagePlayIcon:F5,ImagePlus:E5,ImagePlusIcon:E5,ImageUp:O5,ImageUpIcon:O5,ImageUpscale:U5,ImageUpscaleIcon:U5,Images:G5,ImagesIcon:G5,Import:Z5,ImportIcon:Z5,Inbox:K5,InboxIcon:K5,Indent:wn,IndentDecrease:bn,IndentDecreaseIcon:bn,IndentIcon:wn,IndentIncrease:wn,IndentIncreaseIcon:wn,IndianRupee:X5,IndianRupeeIcon:X5,Infinity:Y5,InfinityIcon:Y5,Info:J5,InfoIcon:J5,Inspect:Ro,InspectIcon:Ro,InspectionPanel:Q5,InspectionPanelIcon:Q5,Instagram:ek,InstagramIcon:ek,Italic:tk,ItalicIcon:tk,IterationCcw:ak,IterationCcwIcon:ak,IterationCw:nk,IterationCwIcon:nk,JapaneseYen:ck,JapaneseYenIcon:ck,Joystick:ok,JoystickIcon:ok,Kanban:ik,KanbanIcon:ik,KanbanSquare:Vo,KanbanSquareDashed:No,KanbanSquareDashedIcon:No,KanbanSquareIcon:Vo,Kayak:rk,KayakIcon:rk,Key:lk,KeyIcon:lk,KeyRound:sk,KeyRoundIcon:sk,KeySquare:dk,KeySquareIcon:dk,Keyboard:pk,KeyboardIcon:pk,KeyboardMusic:hk,KeyboardMusicIcon:hk,KeyboardOff:uk,KeyboardOffIcon:uk,Lamp:vk,LampCeiling:yk,LampCeilingIcon:yk,LampDesk:mk,LampDeskIcon:mk,LampFloor:kk,LampFloorIcon:kk,LampIcon:vk,LampWallDown:fk,LampWallDownIcon:fk,LampWallUp:gk,LampWallUpIcon:gk,LandPlot:Mk,LandPlotIcon:Mk,Landmark:_k,LandmarkIcon:_k,Languages:xk,LanguagesIcon:xk,Laptop:Ik,Laptop2:Cn,Laptop2Icon:Cn,LaptopIcon:Ik,LaptopMinimal:Cn,LaptopMinimalCheck:Lk,LaptopMinimalCheckIcon:Lk,LaptopMinimalIcon:Cn,Lasso:wk,LassoIcon:wk,LassoSelect:bk,LassoSelectIcon:bk,Laugh:Ck,LaughIcon:Ck,Layers:Nn,Layers2:Nk,Layers2Icon:Nk,Layers3:Nn,Layers3Icon:Nn,LayersIcon:Nn,Layout:Zn,LayoutDashboard:Sk,LayoutDashboardIcon:Sk,LayoutGrid:jk,LayoutGridIcon:jk,LayoutIcon:Zn,LayoutList:$k,LayoutListIcon:$k,LayoutPanelLeft:qk,LayoutPanelLeftIcon:qk,LayoutPanelTop:Ak,LayoutPanelTopIcon:Ak,LayoutTemplate:zk,LayoutTemplateIcon:zk,Leaf:Vk,LeafIcon:Vk,LeafyGreen:Tk,LeafyGreenIcon:Tk,Lectern:Pk,LecternIcon:Pk,LetterText:Hk,LetterTextIcon:Hk,Library:Bk,LibraryBig:Dk,LibraryBigIcon:Dk,LibraryIcon:Bk,LibrarySquare:Po,LibrarySquareIcon:Po,LifeBuoy:Rk,LifeBuoyIcon:Rk,Ligature:Fk,LigatureIcon:Fk,Lightbulb:Ok,LightbulbIcon:Ok,LightbulbOff:Ek,LightbulbOffIcon:Ek,LineChart:sa,LineChartIcon:sa,LineSquiggle:Uk,LineSquiggleIcon:Uk,Link:Zk,Link2:Wk,Link2Icon:Wk,Link2Off:Gk,Link2OffIcon:Gk,LinkIcon:Zk,Linkedin:Kk,LinkedinIcon:Kk,List:u3,ListCheck:Xk,ListCheckIcon:Xk,ListChecks:Yk,ListChecksIcon:Yk,ListCollapse:Jk,ListCollapseIcon:Jk,ListEnd:Qk,ListEndIcon:Qk,ListFilter:a3,ListFilterIcon:a3,ListFilterPlus:e3,ListFilterPlusIcon:e3,ListIcon:u3,ListMinus:t3,ListMinusIcon:t3,ListMusic:n3,ListMusicIcon:n3,ListOrdered:o3,ListOrderedIcon:o3,ListPlus:c3,ListPlusIcon:c3,ListRestart:i3,ListRestartIcon:i3,ListStart:r3,ListStartIcon:r3,ListTodo:s3,ListTodoIcon:s3,ListTree:d3,ListTreeIcon:d3,ListVideo:l3,ListVideoIcon:l3,ListX:h3,ListXIcon:h3,Loader:y3,Loader2:Sn,Loader2Icon:Sn,LoaderCircle:Sn,LoaderCircleIcon:Sn,LoaderIcon:y3,LoaderPinwheel:p3,LoaderPinwheelIcon:p3,Locate:f3,LocateFixed:k3,LocateFixedIcon:k3,LocateIcon:f3,LocateOff:m3,LocateOffIcon:m3,LocationEdit:An,LocationEditIcon:An,Lock:v3,LockIcon:v3,LockKeyhole:g3,LockKeyholeIcon:g3,LockKeyholeOpen:jn,LockKeyholeOpenIcon:jn,LockOpen:$n,LockOpenIcon:$n,LogIn:M3,LogInIcon:M3,LogOut:_3,LogOutIcon:_3,Logs:x3,LogsIcon:x3,Lollipop:L3,LollipopIcon:L3,LucideAArrowDown:J1,LucideAArrowUp:Q1,LucideALargeSmall:ei,LucideAccessibility:p1,LucideActivity:y1,LucideActivitySquare:bt,LucideAirVent:ti,LucideAirplay:ai,LucideAlarmCheck:Ht,LucideAlarmClock:oi,LucideAlarmClockCheck:Ht,LucideAlarmClockMinus:Dt,LucideAlarmClockOff:ni,LucideAlarmClockPlus:Bt,LucideAlarmMinus:Dt,LucideAlarmPlus:Bt,LucideAlarmSmoke:ci,LucideAlbum:ii,LucideAlertCircle:ya,LucideAlertOctagon:Tn,LucideAlertTriangle:sc,LucideAlignCenter:ui,LucideAlignCenterHorizontal:ri,LucideAlignCenterVertical:si,LucideAlignEndHorizontal:di,LucideAlignEndVertical:li,LucideAlignHorizontalDistributeCenter:hi,LucideAlignHorizontalDistributeEnd:pi,LucideAlignHorizontalDistributeStart:yi,LucideAlignHorizontalJustifyCenter:ki,LucideAlignHorizontalJustifyEnd:mi,LucideAlignHorizontalJustifyStart:fi,LucideAlignHorizontalSpaceAround:gi,LucideAlignHorizontalSpaceBetween:Mi,LucideAlignJustify:vi,LucideAlignLeft:_i,LucideAlignRight:xi,LucideAlignStartHorizontal:Li,LucideAlignStartVertical:Ii,LucideAlignVerticalDistributeCenter:wi,LucideAlignVerticalDistributeEnd:bi,LucideAlignVerticalDistributeStart:Ni,LucideAlignVerticalJustifyCenter:Ci,LucideAlignVerticalJustifyEnd:Si,LucideAlignVerticalJustifyStart:ji,LucideAlignVerticalSpaceAround:qi,LucideAlignVerticalSpaceBetween:$i,LucideAmbulance:Ai,LucideAmpersand:zi,LucideAmpersands:Vi,LucideAmphora:Pi,LucideAnchor:Ti,LucideAngry:Hi,LucideAnnoyed:Di,LucideAntenna:Bi,LucideAnvil:Ri,LucideAperture:Fi,LucideAppWindow:Oi,LucideAppWindowMac:Ei,LucideApple:Ui,LucideArchive:Zi,LucideArchiveRestore:Wi,LucideArchiveX:Gi,LucideAreaChart:ta,LucideArmchair:Ki,LucideArrowBigDown:Yi,LucideArrowBigDownDash:Xi,LucideArrowBigLeft:Qi,LucideArrowBigLeftDash:Ji,LucideArrowBigRight:tr,LucideArrowBigRightDash:er,LucideArrowBigUp:nr,LucideArrowBigUpDash:ar,LucideArrowDown:pr,LucideArrowDown01:or,LucideArrowDown10:cr,LucideArrowDownAZ:Rt,LucideArrowDownAz:Rt,LucideArrowDownCircle:ka,LucideArrowDownFromLine:ir,LucideArrowDownLeft:rr,LucideArrowDownLeftFromCircle:fa,LucideArrowDownLeftFromSquare:ho,LucideArrowDownLeftSquare:io,LucideArrowDownNarrowWide:sr,LucideArrowDownRight:dr,LucideArrowDownRightFromCircle:ga,LucideArrowDownRightFromSquare:uo,LucideArrowDownRightSquare:ro,LucideArrowDownSquare:so,LucideArrowDownToDot:lr,LucideArrowDownToLine:hr,LucideArrowDownUp:ur,LucideArrowDownWideNarrow:Ft,LucideArrowDownZA:Et,LucideArrowDownZa:Et,LucideArrowLeft:fr,LucideArrowLeftCircle:ma,LucideArrowLeftFromLine:yr,LucideArrowLeftRight:kr,LucideArrowLeftSquare:lo,LucideArrowLeftToLine:mr,LucideArrowRight:_r,LucideArrowRightCircle:_a,LucideArrowRightFromLine:gr,LucideArrowRightLeft:vr,LucideArrowRightSquare:ko,LucideArrowRightToLine:Mr,LucideArrowUp:$r,LucideArrowUp01:xr,LucideArrowUp10:Lr,LucideArrowUpAZ:Ot,LucideArrowUpAz:Ot,LucideArrowUpCircle:xa,LucideArrowUpDown:Ir,LucideArrowUpFromDot:br,LucideArrowUpFromLine:wr,LucideArrowUpLeft:Cr,LucideArrowUpLeftFromCircle:va,LucideArrowUpLeftFromSquare:po,LucideArrowUpLeftSquare:mo,LucideArrowUpNarrowWide:Ut,LucideArrowUpRight:Nr,LucideArrowUpRightFromCircle:Ma,LucideArrowUpRightFromSquare:yo,LucideArrowUpRightSquare:fo,LucideArrowUpSquare:go,LucideArrowUpToLine:Sr,LucideArrowUpWideNarrow:jr,LucideArrowUpZA:Wt,LucideArrowUpZa:Wt,LucideArrowsUpFromLine:qr,LucideAsterisk:Ar,LucideAsteriskSquare:vo,LucideAtSign:zr,LucideAtom:Vr,LucideAudioLines:Pr,LucideAudioWaveform:Tr,LucideAward:Hr,LucideAxe:Dr,LucideAxis3D:Gt,LucideAxis3d:Gt,LucideBaby:Br,LucideBackpack:Rr,LucideBadge:ns,LucideBadgeAlert:Fr,LucideBadgeCent:Er,LucideBadgeCheck:Zt,LucideBadgeDollarSign:Or,LucideBadgeEuro:Ur,LucideBadgeHelp:Kt,LucideBadgeIndianRupee:Wr,LucideBadgeInfo:Gr,LucideBadgeJapaneseYen:Kr,LucideBadgeMinus:Zr,LucideBadgePercent:Xr,LucideBadgePlus:Yr,LucideBadgePoundSterling:Jr,LucideBadgeQuestionMark:Kt,LucideBadgeRussianRuble:Qr,LucideBadgeSwissFranc:es,LucideBadgeTurkishLira:ts,LucideBadgeX:as,LucideBaggageClaim:os,LucideBan:cs,LucideBanana:is,LucideBandage:rs,LucideBanknote:hs,LucideBanknoteArrowDown:ss,LucideBanknoteArrowUp:ds,LucideBanknoteX:ls,LucideBarChart:da,LucideBarChart2:la,LucideBarChart3:ra,LucideBarChart4:ia,LucideBarChartBig:ca,LucideBarChartHorizontal:na,LucideBarChartHorizontalBig:aa,LucideBarcode:us,LucideBarrel:ps,LucideBaseline:ys,LucideBath:ks,LucideBattery:xs,LucideBatteryCharging:ms,LucideBatteryFull:fs,LucideBatteryLow:gs,LucideBatteryMedium:vs,LucideBatteryPlus:Ms,LucideBatteryWarning:_s,LucideBeaker:Ls,LucideBean:bs,LucideBeanOff:Is,LucideBed:Ns,LucideBedDouble:ws,LucideBedSingle:Cs,LucideBeef:Ss,LucideBeer:$s,LucideBeerOff:js,LucideBell:Ts,LucideBellDot:qs,LucideBellElectric:As,LucideBellMinus:zs,LucideBellOff:Vs,LucideBellPlus:Ps,LucideBellRing:Hs,LucideBetweenHorizonalEnd:Xt,LucideBetweenHorizonalStart:Yt,LucideBetweenHorizontalEnd:Xt,LucideBetweenHorizontalStart:Yt,LucideBetweenVerticalEnd:Bs,LucideBetweenVerticalStart:Ds,LucideBicepsFlexed:Rs,LucideBike:Es,LucideBinary:Fs,LucideBinoculars:Os,LucideBiohazard:Us,LucideBird:Ws,LucideBitcoin:Gs,LucideBlend:Zs,LucideBlinds:Ks,LucideBlocks:Xs,LucideBluetooth:e2,LucideBluetoothConnected:Ys,LucideBluetoothOff:Js,LucideBluetoothSearching:Qs,LucideBold:t2,LucideBolt:a2,LucideBomb:n2,LucideBone:o2,LucideBook:N2,LucideBookA:c2,LucideBookAlert:i2,LucideBookAudio:r2,LucideBookCheck:s2,LucideBookCopy:d2,LucideBookDashed:Jt,LucideBookDown:l2,LucideBookHeadphones:h2,LucideBookHeart:u2,LucideBookImage:p2,LucideBookKey:y2,LucideBookLock:k2,LucideBookMarked:f2,LucideBookMinus:m2,LucideBookOpen:M2,LucideBookOpenCheck:g2,LucideBookOpenText:v2,LucideBookPlus:_2,LucideBookTemplate:Jt,LucideBookText:x2,LucideBookType:L2,LucideBookUp:b2,LucideBookUp2:I2,LucideBookUser:w2,LucideBookX:C2,LucideBookmark:A2,LucideBookmarkCheck:S2,LucideBookmarkMinus:j2,LucideBookmarkPlus:$2,LucideBookmarkX:q2,LucideBoomBox:z2,LucideBot:T2,LucideBotMessageSquare:V2,LucideBotOff:P2,LucideBottleWine:H2,LucideBowArrow:D2,LucideBox:B2,LucideBoxSelect:jo,LucideBoxes:R2,LucideBraces:Qt,LucideBrackets:F2,LucideBrain:U2,LucideBrainCircuit:E2,LucideBrainCog:O2,LucideBrickWall:Z2,LucideBrickWallFire:W2,LucideBrickWallShield:G2,LucideBriefcase:J2,LucideBriefcaseBusiness:K2,LucideBriefcaseConveyorBelt:X2,LucideBriefcaseMedical:Y2,LucideBringToFront:Q2,LucideBrush:td,LucideBrushCleaning:ed,LucideBubbles:ad,LucideBug:id,LucideBugOff:nd,LucideBugPlay:od,LucideBuilding:rd,LucideBuilding2:cd,LucideBus:dd,LucideBusFront:sd,LucideCable:hd,LucideCableCar:ld,LucideCake:pd,LucideCakeSlice:ud,LucideCalculator:yd,LucideCalendar:k1,LucideCalendar1:kd,LucideCalendarArrowDown:md,LucideCalendarArrowUp:fd,LucideCalendarCheck:vd,LucideCalendarCheck2:gd,LucideCalendarClock:Md,LucideCalendarCog:_d,LucideCalendarDays:xd,LucideCalendarFold:Ld,LucideCalendarHeart:Id,LucideCalendarMinus:wd,LucideCalendarMinus2:bd,LucideCalendarOff:Cd,LucideCalendarPlus:Sd,LucideCalendarPlus2:Nd,LucideCalendarRange:jd,LucideCalendarSearch:$d,LucideCalendarSync:qd,LucideCalendarX:zd,LucideCalendarX2:Ad,LucideCamera:Pd,LucideCameraOff:Vd,LucideCandlestickChart:oa,LucideCandy:Dd,LucideCandyCane:Td,LucideCandyOff:Hd,LucideCannabis:Bd,LucideCaptions:ea,LucideCaptionsOff:Rd,LucideCar:Od,LucideCarFront:Fd,LucideCarTaxiFront:Ed,LucideCaravan:Ud,LucideCardSim:Wd,LucideCarrot:Gd,LucideCaseLower:Zd,LucideCaseSensitive:Kd,LucideCaseUpper:Xd,LucideCassetteTape:Yd,LucideCast:Jd,LucideCastle:e0,LucideCat:Qd,LucideCctv:t0,LucideChartArea:ta,LucideChartBar:na,LucideChartBarBig:aa,LucideChartBarDecreasing:a0,LucideChartBarIncreasing:n0,LucideChartBarStacked:o0,LucideChartCandlestick:oa,LucideChartColumn:ra,LucideChartColumnBig:ca,LucideChartColumnDecreasing:c0,LucideChartColumnIncreasing:ia,LucideChartColumnStacked:i0,LucideChartGantt:r0,LucideChartLine:sa,LucideChartNetwork:s0,LucideChartNoAxesColumn:la,LucideChartNoAxesColumnDecreasing:d0,LucideChartNoAxesColumnIncreasing:da,LucideChartNoAxesCombined:l0,LucideChartNoAxesGantt:ha,LucideChartPie:ua,LucideChartScatter:pa,LucideChartSpline:h0,LucideCheck:m1,LucideCheckCheck:u0,LucideCheckCircle:La,LucideCheckCircle2:Ia,LucideCheckLine:p0,LucideCheckSquare:_o,LucideCheckSquare2:xo,LucideChefHat:y0,LucideCherry:k0,LucideChevronDown:St,LucideChevronDownCircle:ba,LucideChevronDownSquare:Lo,LucideChevronFirst:m0,LucideChevronLast:f0,LucideChevronLeft:g0,LucideChevronLeftCircle:wa,LucideChevronLeftSquare:Io,LucideChevronRight:f1,LucideChevronRightCircle:Ca,LucideChevronRightSquare:bo,LucideChevronUp:wc,LucideChevronUpCircle:Na,LucideChevronUpSquare:wo,LucideChevronsDown:M0,LucideChevronsDownUp:v0,LucideChevronsLeft:x0,LucideChevronsLeftRight:_0,LucideChevronsLeftRightEllipsis:L0,LucideChevronsRight:b0,LucideChevronsRightLeft:I0,LucideChevronsUp:w0,LucideChevronsUpDown:Uc,LucideChrome:C0,LucideChurch:N0,LucideCigarette:j0,LucideCigaretteOff:S0,LucideCircle:O0,LucideCircleAlert:ya,LucideCircleArrowDown:ka,LucideCircleArrowLeft:ma,LucideCircleArrowOutDownLeft:fa,LucideCircleArrowOutDownRight:ga,LucideCircleArrowOutUpLeft:va,LucideCircleArrowOutUpRight:Ma,LucideCircleArrowRight:_a,LucideCircleArrowUp:xa,LucideCircleCheck:Ia,LucideCircleCheckBig:La,LucideCircleChevronDown:ba,LucideCircleChevronLeft:wa,LucideCircleChevronRight:Ca,LucideCircleChevronUp:Na,LucideCircleDashed:$0,LucideCircleDivide:Sa,LucideCircleDollarSign:A0,LucideCircleDot:z0,LucideCircleDotDashed:q0,LucideCircleEllipsis:V0,LucideCircleEqual:P0,LucideCircleFadingArrowUp:H0,LucideCircleFadingPlus:T0,LucideCircleGauge:ja,LucideCircleHelp:at,LucideCircleMinus:$a,LucideCircleOff:D0,LucideCircleParking:za,LucideCircleParkingOff:qa,LucideCirclePause:Aa,LucideCirclePercent:Va,LucideCirclePlay:Pa,LucideCirclePlus:Ta,LucideCirclePoundSterling:B0,LucideCirclePower:Ha,LucideCircleQuestionMark:at,LucideCircleSlash:R0,LucideCircleSlash2:Da,LucideCircleSlashed:Da,LucideCircleSmall:F0,LucideCircleStar:E0,LucideCircleStop:Ba,LucideCircleUser:Fa,LucideCircleUserRound:Ra,LucideCircleX:xt,LucideCircuitBoard:U0,LucideCitrus:W0,LucideClapperboard:G0,LucideClipboard:nl,LucideClipboardCheck:Z0,LucideClipboardClock:K0,LucideClipboardCopy:X0,LucideClipboardEdit:Oa,LucideClipboardList:Y0,LucideClipboardMinus:J0,LucideClipboardPaste:Q0,LucideClipboardPen:Oa,LucideClipboardPenLine:Ea,LucideClipboardPlus:el,LucideClipboardSignature:Ea,LucideClipboardType:tl,LucideClipboardX:al,LucideClock:_l,LucideClock1:cl,LucideClock10:ol,LucideClock11:il,LucideClock12:rl,LucideClock2:sl,LucideClock3:dl,LucideClock4:ll,LucideClock5:hl,LucideClock6:ul,LucideClock7:pl,LucideClock8:yl,LucideClock9:kl,LucideClockAlert:ml,LucideClockArrowDown:fl,LucideClockArrowUp:gl,LucideClockFading:vl,LucideClockPlus:Ml,LucideClosedCaption:xl,LucideCloud:Hl,LucideCloudAlert:Ll,LucideCloudCheck:Il,LucideCloudCog:bl,LucideCloudDownload:Ua,LucideCloudDrizzle:wl,LucideCloudFog:Cl,LucideCloudHail:Nl,LucideCloudLightning:Sl,LucideCloudMoon:$l,LucideCloudMoonRain:jl,LucideCloudOff:ql,LucideCloudRain:zl,LucideCloudRainWind:Al,LucideCloudSnow:Vl,LucideCloudSun:Tl,LucideCloudSunRain:Pl,LucideCloudUpload:Wa,LucideCloudy:Dl,LucideClover:Bl,LucideClub:Rl,LucideCode:Fl,LucideCode2:Ga,LucideCodeSquare:Co,LucideCodeXml:Ga,LucideCodepen:El,LucideCodesandbox:Ol,LucideCoffee:Ul,LucideCog:Wl,LucideCoins:Gl,LucideColumns:Za,LucideColumns2:Za,LucideColumns3:Ka,LucideColumns3Cog:nt,LucideColumns4:Zl,LucideColumnsSettings:nt,LucideCombine:Kl,LucideCommand:Xl,LucideCompass:Yl,LucideComponent:Jl,LucideComputer:Ql,LucideConciergeBell:eh,LucideCone:th,LucideConstruction:ah,LucideContact:nh,LucideContact2:Xa,LucideContactRound:Xa,LucideContainer:oh,LucideContrast:ih,LucideCookie:ch,LucideCookingPot:sh,LucideCopy:ph,LucideCopyCheck:rh,LucideCopyMinus:dh,LucideCopyPlus:lh,LucideCopySlash:hh,LucideCopyX:uh,LucideCopyleft:yh,LucideCopyright:kh,LucideCornerDownLeft:mh,LucideCornerDownRight:fh,LucideCornerLeftDown:gh,LucideCornerLeftUp:vh,LucideCornerRightDown:Mh,LucideCornerRightUp:_h,LucideCornerUpLeft:xh,LucideCornerUpRight:Lh,LucideCpu:Ih,LucideCreativeCommons:bh,LucideCreditCard:wh,LucideCroissant:Ch,LucideCrop:Nh,LucideCross:Sh,LucideCrosshair:jh,LucideCrown:$h,LucideCuboid:qh,LucideCupSoda:Ah,LucideCurlyBraces:Qt,LucideCurrency:zh,LucideCylinder:Vh,LucideDam:Ph,LucideDatabase:Dh,LucideDatabaseBackup:Th,LucideDatabaseZap:Hh,LucideDecimalsArrowLeft:Bh,LucideDecimalsArrowRight:Rh,LucideDelete:Fh,LucideDessert:Eh,LucideDiameter:Oh,LucideDiamond:Gh,LucideDiamondMinus:Uh,LucideDiamondPercent:Ya,LucideDiamondPlus:Wh,LucideDice1:Zh,LucideDice2:Kh,LucideDice3:Xh,LucideDice4:Yh,LucideDice5:Jh,LucideDice6:Qh,LucideDices:eu,LucideDiff:tu,LucideDisc:cu,LucideDisc2:au,LucideDisc3:nu,LucideDiscAlbum:ou,LucideDivide:iu,LucideDivideCircle:Sa,LucideDivideSquare:$o,LucideDna:su,LucideDnaOff:ru,LucideDock:du,LucideDog:lu,LucideDollarSign:hu,LucideDonut:uu,LucideDoorClosed:yu,LucideDoorClosedLocked:pu,LucideDoorOpen:ku,LucideDot:mu,LucideDotSquare:Ao,LucideDownload:gu,LucideDownloadCloud:Ua,LucideDraftingCompass:fu,LucideDrama:vu,LucideDribbble:Mu,LucideDrill:_u,LucideDrone:xu,LucideDroplet:Iu,LucideDropletOff:Lu,LucideDroplets:bu,LucideDrum:wu,LucideDrumstick:Cu,LucideDumbbell:Nu,LucideEar:ju,LucideEarOff:Su,LucideEarth:Ja,LucideEarthLock:$u,LucideEclipse:qu,LucideEdit:Te,LucideEdit2:ht,LucideEdit3:lt,LucideEgg:Vu,LucideEggFried:Au,LucideEggOff:zu,LucideEllipsis:en,LucideEllipsisVertical:Qa,LucideEqual:Hu,LucideEqualApproximately:Pu,LucideEqualNot:Tu,LucideEqualSquare:qo,LucideEraser:Du,LucideEthernetPort:Bu,LucideEuro:Ru,LucideExpand:Eu,LucideExternalLink:Fu,LucideEye:v1,LucideEyeClosed:Ou,LucideEyeOff:g1,LucideFacebook:Uu,LucideFactory:Wu,LucideFan:Gu,LucideFastForward:Zu,LucideFeather:Ku,LucideFence:Xu,LucideFerrisWheel:Yu,LucideFigma:Ju,LucideFile:Wp,LucideFileArchive:Qu,LucideFileAudio:tp,LucideFileAudio2:ep,LucideFileAxis3D:tn,LucideFileAxis3d:tn,LucideFileBadge:op,LucideFileBadge2:ap,LucideFileBarChart:an,LucideFileBarChart2:nn,LucideFileBox:np,LucideFileChartColumn:nn,LucideFileChartColumnIncreasing:an,LucideFileChartLine:on,LucideFileChartPie:cn,LucideFileCheck:ip,LucideFileCheck2:cp,LucideFileClock:rp,LucideFileCode:sp,LucideFileCode2:dp,LucideFileCog:rn,LucideFileCog2:rn,LucideFileDiff:lp,LucideFileDigit:hp,LucideFileDown:up,LucideFileEdit:dn,LucideFileHeart:pp,LucideFileImage:yp,LucideFileInput:kp,LucideFileJson:fp,LucideFileJson2:mp,LucideFileKey:vp,LucideFileKey2:gp,LucideFileLineChart:on,LucideFileLock:_p,LucideFileLock2:Mp,LucideFileMinus:Lp,LucideFileMinus2:xp,LucideFileMusic:Ip,LucideFileOutput:bp,LucideFilePen:dn,LucideFilePenLine:sn,LucideFilePieChart:cn,LucideFilePlay:ln,LucideFilePlus:Cp,LucideFilePlus2:wp,LucideFileQuestion:hn,LucideFileQuestionMark:hn,LucideFileScan:Np,LucideFileSearch:jp,LucideFileSearch2:Sp,LucideFileSignature:sn,LucideFileSliders:$p,LucideFileSpreadsheet:qp,LucideFileStack:Ap,LucideFileSymlink:zp,LucideFileTerminal:Vp,LucideFileText:Pp,LucideFileType:Hp,LucideFileType2:Tp,LucideFileUp:Dp,LucideFileUser:Bp,LucideFileVideo:ln,LucideFileVideo2:un,LucideFileVideoCamera:un,LucideFileVolume:Fp,LucideFileVolume2:Rp,LucideFileWarning:Ep,LucideFileX:Up,LucideFileX2:Op,LucideFiles:Gp,LucideFilm:Zp,LucideFilter:Lt,LucideFilterX:kn,LucideFingerprint:Kp,LucideFireExtinguisher:Xp,LucideFish:Jp,LucideFishOff:Yp,LucideFishSymbol:Qp,LucideFlag:ny,LucideFlagOff:ey,LucideFlagTriangleLeft:ty,LucideFlagTriangleRight:ay,LucideFlame:cy,LucideFlameKindling:oy,LucideFlashlight:ry,LucideFlashlightOff:iy,LucideFlaskConical:dy,LucideFlaskConicalOff:sy,LucideFlaskRound:ly,LucideFlipHorizontal:uy,LucideFlipHorizontal2:hy,LucideFlipVertical:yy,LucideFlipVertical2:py,LucideFlower:my,LucideFlower2:ky,LucideFocus:fy,LucideFoldHorizontal:gy,LucideFoldVertical:vy,LucideFolder:M1,LucideFolderArchive:My,LucideFolderCheck:_y,LucideFolderClock:xy,LucideFolderClosed:Ly,LucideFolderCode:Iy,LucideFolderCog:pn,LucideFolderCog2:pn,LucideFolderDot:by,LucideFolderDown:wy,LucideFolderEdit:yn,LucideFolderGit:Ny,LucideFolderGit2:Cy,LucideFolderHeart:Sy,LucideFolderInput:jy,LucideFolderKanban:$y,LucideFolderKey:qy,LucideFolderLock:Ay,LucideFolderMinus:zy,LucideFolderOpen:Py,LucideFolderOpenDot:Vy,LucideFolderOutput:Ty,LucideFolderPen:yn,LucideFolderPlus:Wc,LucideFolderRoot:Hy,LucideFolderSearch:By,LucideFolderSearch2:Dy,LucideFolderSymlink:Ry,LucideFolderSync:Fy,LucideFolderTree:Ey,LucideFolderUp:Oy,LucideFolderX:Uy,LucideFolders:Wy,LucideFootprints:Gy,LucideForkKnife:vc,LucideForkKnifeCrossed:gc,LucideForklift:Zy,LucideFormInput:Xn,LucideForward:Ky,LucideFrame:Xy,LucideFramer:Yy,LucideFrown:Jy,LucideFuel:Qy,LucideFullscreen:e4,LucideFunctionSquare:zo,LucideFunnel:Lt,LucideFunnelPlus:t4,LucideFunnelX:kn,LucideGalleryHorizontal:n4,LucideGalleryHorizontalEnd:a4,LucideGalleryThumbnails:o4,LucideGalleryVertical:i4,LucideGalleryVerticalEnd:c4,LucideGamepad:s4,LucideGamepad2:r4,LucideGanttChart:ha,LucideGanttChartSquare:ct,LucideGauge:d4,LucideGaugeCircle:ja,LucideGavel:l4,LucideGem:h4,LucideGeorgianLari:u4,LucideGhost:p4,LucideGift:y4,LucideGitBranch:m4,LucideGitBranchPlus:k4,LucideGitCommit:mn,LucideGitCommitHorizontal:mn,LucideGitCommitVertical:f4,LucideGitCompare:v4,LucideGitCompareArrows:g4,LucideGitFork:M4,LucideGitGraph:_4,LucideGitMerge:x4,LucideGitPullRequest:N4,LucideGitPullRequestArrow:L4,LucideGitPullRequestClosed:I4,LucideGitPullRequestCreate:w4,LucideGitPullRequestCreateArrow:b4,LucideGitPullRequestDraft:C4,LucideGithub:S4,LucideGitlab:j4,LucideGlassWater:$4,LucideGlasses:q4,LucideGlobe:z4,LucideGlobe2:Ja,LucideGlobeLock:A4,LucideGoal:V4,LucideGpu:P4,LucideGrab:_n,LucideGraduationCap:T4,LucideGrape:H4,LucideGrid:ot,LucideGrid2X2:Mn,LucideGrid2X2Check:fn,LucideGrid2X2Plus:gn,LucideGrid2X2X:vn,LucideGrid2x2:Mn,LucideGrid2x2Check:fn,LucideGrid2x2Plus:gn,LucideGrid2x2X:vn,LucideGrid3X3:ot,LucideGrid3x2:D4,LucideGrid3x3:ot,LucideGrip:R4,LucideGripHorizontal:B4,LucideGripVertical:_1,LucideGroup:F4,LucideGuitar:E4,LucideHam:O4,LucideHamburger:U4,LucideHammer:W4,LucideHand:J4,LucideHandCoins:G4,LucideHandFist:Z4,LucideHandGrab:_n,LucideHandHeart:K4,LucideHandHelping:xn,LucideHandMetal:X4,LucideHandPlatter:Y4,LucideHandbag:Q4,LucideHandshake:e5,LucideHardDrive:n5,LucideHardDriveDownload:t5,LucideHardDriveUpload:a5,LucideHardHat:o5,LucideHash:c5,LucideHatGlasses:i5,LucideHaze:r5,LucideHdmiPort:s5,LucideHeading:k5,LucideHeading1:d5,LucideHeading2:l5,LucideHeading3:h5,LucideHeading4:u5,LucideHeading5:p5,LucideHeading6:y5,LucideHeadphoneOff:m5,LucideHeadphones:f5,LucideHeadset:g5,LucideHeart:b5,LucideHeartCrack:v5,LucideHeartHandshake:M5,LucideHeartMinus:_5,LucideHeartOff:x5,LucideHeartPlus:L5,LucideHeartPulse:I5,LucideHeater:w5,LucideHelpCircle:at,LucideHelpingHand:xn,LucideHexagon:C5,LucideHighlighter:N5,LucideHistory:S5,LucideHome:It,LucideHop:$5,LucideHopOff:j5,LucideHospital:x1,LucideHotel:q5,LucideHourglass:A5,LucideHouse:It,LucideHousePlug:z5,LucideHousePlus:P5,LucideHouseWifi:V5,LucideIceCream:In,LucideIceCream2:Ln,LucideIceCreamBowl:Ln,LucideIceCreamCone:In,LucideIdCard:H5,LucideIdCardLanyard:T5,LucideImage:W5,LucideImageDown:D5,LucideImageMinus:B5,LucideImageOff:R5,LucideImagePlay:F5,LucideImagePlus:E5,LucideImageUp:O5,LucideImageUpscale:U5,LucideImages:G5,LucideImport:Z5,LucideInbox:K5,LucideIndent:wn,LucideIndentDecrease:bn,LucideIndentIncrease:wn,LucideIndianRupee:X5,LucideInfinity:Y5,LucideInfo:J5,LucideInspect:Ro,LucideInspectionPanel:Q5,LucideInstagram:ek,LucideItalic:tk,LucideIterationCcw:ak,LucideIterationCw:nk,LucideJapaneseYen:ck,LucideJoystick:ok,LucideKanban:ik,LucideKanbanSquare:Vo,LucideKanbanSquareDashed:No,LucideKayak:rk,LucideKey:lk,LucideKeyRound:sk,LucideKeySquare:dk,LucideKeyboard:pk,LucideKeyboardMusic:hk,LucideKeyboardOff:uk,LucideLamp:vk,LucideLampCeiling:yk,LucideLampDesk:mk,LucideLampFloor:kk,LucideLampWallDown:fk,LucideLampWallUp:gk,LucideLandPlot:Mk,LucideLandmark:_k,LucideLanguages:xk,LucideLaptop:Ik,LucideLaptop2:Cn,LucideLaptopMinimal:Cn,LucideLaptopMinimalCheck:Lk,LucideLasso:wk,LucideLassoSelect:bk,LucideLaugh:Ck,LucideLayers:Nn,LucideLayers2:Nk,LucideLayers3:Nn,LucideLayout:Zn,LucideLayoutDashboard:Sk,LucideLayoutGrid:jk,LucideLayoutList:$k,LucideLayoutPanelLeft:qk,LucideLayoutPanelTop:Ak,LucideLayoutTemplate:zk,LucideLeaf:Vk,LucideLeafyGreen:Tk,LucideLectern:Pk,LucideLetterText:Hk,LucideLibrary:Bk,LucideLibraryBig:Dk,LucideLibrarySquare:Po,LucideLifeBuoy:Rk,LucideLigature:Fk,LucideLightbulb:Ok,LucideLightbulbOff:Ek,LucideLineChart:sa,LucideLineSquiggle:Uk,LucideLink:Zk,LucideLink2:Wk,LucideLink2Off:Gk,LucideLinkedin:Kk,LucideList:u3,LucideListCheck:Xk,LucideListChecks:Yk,LucideListCollapse:Jk,LucideListEnd:Qk,LucideListFilter:a3,LucideListFilterPlus:e3,LucideListMinus:t3,LucideListMusic:n3,LucideListOrdered:o3,LucideListPlus:c3,LucideListRestart:i3,LucideListStart:r3,LucideListTodo:s3,LucideListTree:d3,LucideListVideo:l3,LucideListX:h3,LucideLoader:y3,LucideLoader2:Sn,LucideLoaderCircle:Sn,LucideLoaderPinwheel:p3,LucideLocate:f3,LucideLocateFixed:k3,LucideLocateOff:m3,LucideLocationEdit:An,LucideLock:v3,LucideLockKeyhole:g3,LucideLockKeyholeOpen:jn,LucideLockOpen:$n,LucideLogIn:M3,LucideLogOut:_3,LucideLogs:x3,LucideLollipop:L3,LucideLuggage:I3,LucideMSquare:To,LucideMagnet:b3,LucideMail:q3,LucideMailCheck:w3,LucideMailMinus:C3,LucideMailOpen:N3,LucideMailPlus:S3,LucideMailQuestion:qn,LucideMailQuestionMark:qn,LucideMailSearch:j3,LucideMailWarning:$3,LucideMailX:A3,LucideMailbox:z3,LucideMails:V3,LucideMap:X3,LucideMapMinus:P3,LucideMapPin:G3,LucideMapPinCheck:T3,LucideMapPinCheckInside:H3,LucideMapPinHouse:D3,LucideMapPinMinus:R3,LucideMapPinMinusInside:B3,LucideMapPinOff:F3,LucideMapPinPen:An,LucideMapPinPlus:O3,LucideMapPinPlusInside:E3,LucideMapPinX:W3,LucideMapPinXInside:U3,LucideMapPinned:Z3,LucideMapPlus:K3,LucideMars:J3,LucideMarsStroke:Y3,LucideMartini:Q3,LucideMaximize:am,LucideMaximize2:em,LucideMedal:tm,LucideMegaphone:om,LucideMegaphoneOff:nm,LucideMeh:cm,LucideMemoryStick:im,LucideMenu:Gc,LucideMenuSquare:Ho,LucideMerge:rm,LucideMessageCircle:fm,LucideMessageCircleCode:sm,LucideMessageCircleDashed:dm,LucideMessageCircleHeart:lm,LucideMessageCircleMore:hm,LucideMessageCircleOff:um,LucideMessageCirclePlus:pm,LucideMessageCircleQuestion:zn,LucideMessageCircleQuestionMark:zn,LucideMessageCircleReply:ym,LucideMessageCircleWarning:km,LucideMessageCircleX:mm,LucideMessageSquare:Am,LucideMessageSquareCode:gm,LucideMessageSquareDashed:vm,LucideMessageSquareDiff:Mm,LucideMessageSquareDot:_m,LucideMessageSquareHeart:xm,LucideMessageSquareLock:Lm,LucideMessageSquareMore:Im,LucideMessageSquareOff:bm,LucideMessageSquarePlus:wm,LucideMessageSquareQuote:Cm,LucideMessageSquareReply:Nm,LucideMessageSquareShare:Sm,LucideMessageSquareText:jm,LucideMessageSquareWarning:$m,LucideMessageSquareX:qm,LucideMessagesSquare:zm,LucideMic:Pm,LucideMic2:Vn,LucideMicOff:Vm,LucideMicVocal:Vn,LucideMicrochip:Tm,LucideMicroscope:Hm,LucideMicrowave:Dm,LucideMilestone:Bm,LucideMilk:Fm,LucideMilkOff:Rm,LucideMinimize:Om,LucideMinimize2:Em,LucideMinus:Um,LucideMinusCircle:$a,LucideMinusSquare:Do,LucideMonitor:o6,LucideMonitorCheck:Wm,LucideMonitorCog:Gm,LucideMonitorDot:Zm,LucideMonitorDown:Km,LucideMonitorOff:Xm,LucideMonitorPause:Jm,LucideMonitorPlay:Ym,LucideMonitorSmartphone:Qm,LucideMonitorSpeaker:e6,LucideMonitorStop:t6,LucideMonitorUp:a6,LucideMonitorX:n6,LucideMoon:i6,LucideMoonStar:c6,LucideMoreHorizontal:en,LucideMoreVertical:Qa,LucideMountain:s6,LucideMountainSnow:r6,LucideMouse:y6,LucideMouseOff:d6,LucideMousePointer:u6,LucideMousePointer2:l6,LucideMousePointerBan:h6,LucideMousePointerClick:p6,LucideMousePointerSquareDashed:So,LucideMove:a.Move,LucideMove3D:Pn,LucideMove3d:Pn,LucideMoveDiagonal:m6,LucideMoveDiagonal2:k6,LucideMoveDown:M6,LucideMoveDownLeft:f6,LucideMoveDownRight:g6,LucideMoveHorizontal:v6,LucideMoveLeft:_6,LucideMoveRight:x6,LucideMoveUp:b6,LucideMoveUpLeft:L6,LucideMoveUpRight:I6,LucideMoveVertical:w6,LucideMusic:j6,LucideMusic2:C6,LucideMusic3:N6,LucideMusic4:S6,LucideNavigation:z6,LucideNavigation2:q6,LucideNavigation2Off:$6,LucideNavigationOff:A6,LucideNetwork:V6,LucideNewspaper:P6,LucideNfc:T6,LucideNonBinary:H6,LucideNotebook:F6,LucideNotebookPen:D6,LucideNotebookTabs:B6,LucideNotebookText:R6,LucideNotepadText:O6,LucideNotepadTextDashed:E6,LucideNut:W6,LucideNutOff:U6,LucideOctagon:Z6,LucideOctagonAlert:Tn,LucideOctagonMinus:G6,LucideOctagonPause:Hn,LucideOctagonX:Dn,LucideOmega:K6,LucideOption:X6,LucideOrbit:Y6,LucideOrigami:J6,LucideOutdent:bn,LucidePackage:i8,LucidePackage2:Q6,LucidePackageCheck:e8,LucidePackageMinus:t8,LucidePackageOpen:a8,LucidePackagePlus:n8,LucidePackageSearch:o8,LucidePackageX:c8,LucidePaintBucket:r8,LucidePaintRoller:s8,LucidePaintbrush:d8,LucidePaintbrush2:Bn,LucidePaintbrushVertical:Bn,LucidePalette:l8,LucidePalmtree:rc,LucidePanda:h8,LucidePanelBottom:y8,LucidePanelBottomClose:u8,LucidePanelBottomDashed:Rn,LucidePanelBottomInactive:Rn,LucidePanelBottomOpen:p8,LucidePanelLeft:Un,LucidePanelLeftClose:Fn,LucidePanelLeftDashed:En,LucidePanelLeftInactive:En,LucidePanelLeftOpen:On,LucidePanelRight:f8,LucidePanelRightClose:k8,LucidePanelRightDashed:Wn,LucidePanelRightInactive:Wn,LucidePanelRightOpen:m8,LucidePanelTop:M8,LucidePanelTopClose:g8,LucidePanelTopDashed:Gn,LucidePanelTopInactive:Gn,LucidePanelTopOpen:v8,LucidePanelsLeftBottom:_8,LucidePanelsLeftRight:Ka,LucidePanelsRightBottom:x8,LucidePanelsTopBottom:Qn,LucidePanelsTopLeft:Zn,LucidePaperclip:L8,LucideParentheses:I8,LucideParkingCircle:za,LucideParkingCircleOff:qa,LucideParkingMeter:b8,LucideParkingSquare:Fo,LucideParkingSquareOff:Bo,LucidePartyPopper:w8,LucidePause:C8,LucidePauseCircle:Aa,LucidePauseOctagon:Hn,LucidePawPrint:N8,LucidePcCase:S8,LucidePen:ht,LucidePenBox:Te,LucidePenLine:lt,LucidePenOff:$8,LucidePenSquare:Te,LucidePenTool:j8,LucidePencil:L1,LucidePencilLine:q8,LucidePencilOff:A8,LucidePencilRuler:z8,LucidePentagon:V8,LucidePercent:P8,LucidePercentCircle:Va,LucidePercentDiamond:Ya,LucidePercentSquare:Eo,LucidePersonStanding:H8,LucidePhilippinePeso:T8,LucidePhone:O8,LucidePhoneCall:D8,LucidePhoneForwarded:B8,LucidePhoneIncoming:R8,LucidePhoneMissed:F8,LucidePhoneOff:E8,LucidePhoneOutgoing:U8,LucidePi:W8,LucidePiSquare:Oo,LucidePiano:G8,LucidePickaxe:Z8,LucidePictureInPicture:X8,LucidePictureInPicture2:K8,LucidePieChart:ua,LucidePiggyBank:Y8,LucidePilcrow:Q8,LucidePilcrowLeft:J8,LucidePilcrowRight:ef,LucidePilcrowSquare:Uo,LucidePill:af,LucidePillBottle:tf,LucidePin:of,LucidePinOff:nf,LucidePipette:cf,LucidePizza:rf,LucidePlane:lf,LucidePlaneLanding:sf,LucidePlaneTakeoff:df,LucidePlay:hf,LucidePlayCircle:Pa,LucidePlaySquare:Wo,LucidePlug:pf,LucidePlug2:uf,LucidePlugZap:Kn,LucidePlugZap2:Kn,LucidePlus:Zc,LucidePlusCircle:Ta,LucidePlusSquare:Go,LucidePocket:kf,LucidePocketKnife:yf,LucidePodcast:mf,LucidePointer:gf,LucidePointerOff:ff,LucidePopcorn:Mf,LucidePopsicle:vf,LucidePoundSterling:_f,LucidePower:Lf,LucidePowerCircle:Ha,LucidePowerOff:xf,LucidePowerSquare:Zo,LucidePresentation:If,LucidePrinter:wf,LucidePrinterCheck:bf,LucideProjector:Cf,LucideProportions:Nf,LucidePuzzle:jf,LucidePyramid:Sf,LucideQrCode:$f,LucideQuote:qf,LucideRabbit:Af,LucideRadar:zf,LucideRadiation:Vf,LucideRadical:Pf,LucideRadio:Df,LucideRadioReceiver:Tf,LucideRadioTower:Hf,LucideRadius:Bf,LucideRailSymbol:Rf,LucideRainbow:Ff,LucideRat:Ef,LucideRatio:Of,LucideReceipt:e7,LucideReceiptCent:Uf,LucideReceiptEuro:Gf,LucideReceiptIndianRupee:Wf,LucideReceiptJapaneseYen:Zf,LucideReceiptPoundSterling:Kf,LucideReceiptRussianRuble:Xf,LucideReceiptSwissFranc:Yf,LucideReceiptText:Jf,LucideReceiptTurkishLira:Qf,LucideRectangleCircle:t7,LucideRectangleEllipsis:Xn,LucideRectangleGoggles:a7,LucideRectangleHorizontal:n7,LucideRectangleVertical:o7,LucideRecycle:c7,LucideRedo:s7,LucideRedo2:i7,LucideRedoDot:r7,LucideRefreshCcw:l7,LucideRefreshCcwDot:d7,LucideRefreshCw:u7,LucideRefreshCwOff:h7,LucideRefrigerator:p7,LucideRegex:y7,LucideRemoveFormatting:k7,LucideRepeat:g7,LucideRepeat1:m7,LucideRepeat2:f7,LucideReplace:M7,LucideReplaceAll:v7,LucideReply:L7,LucideReplyAll:_7,LucideRewind:x7,LucideRibbon:I7,LucideRocket:b7,LucideRockingChair:N7,LucideRollerCoaster:w7,LucideRose:C7,LucideRotate3D:Yn,LucideRotate3d:Yn,LucideRotateCcw:$7,LucideRotateCcwKey:S7,LucideRotateCcwSquare:j7,LucideRotateCw:A7,LucideRotateCwSquare:q7,LucideRoute:V7,LucideRouteOff:z7,LucideRouter:P7,LucideRows:Jn,LucideRows2:Jn,LucideRows3:Qn,LucideRows4:T7,LucideRss:H7,LucideRuler:B7,LucideRulerDimensionLine:D7,LucideRussianRuble:R7,LucideSailboat:F7,LucideSalad:E7,LucideSandwich:O7,LucideSatellite:W7,LucideSatelliteDish:U7,LucideSaudiRiyal:G7,LucideSave:Y7,LucideSaveAll:Z7,LucideSaveOff:K7,LucideScale:X7,LucideScale3D:eo,LucideScale3d:eo,LucideScaling:J7,LucideScan:rg,LucideScanBarcode:Q7,LucideScanEye:eg,LucideScanFace:tg,LucideScanHeart:ag,LucideScanLine:ng,LucideScanQrCode:og,LucideScanSearch:cg,LucideScanText:ig,LucideScatterChart:pa,LucideSchool:sg,LucideSchool2:lc,LucideScissors:lg,LucideScissorsLineDashed:dg,LucideScissorsSquare:Ko,LucideScissorsSquareDashedBottom:Mo,LucideScreenShare:hg,LucideScreenShareOff:ug,LucideScroll:yg,LucideScrollText:pg,LucideSearch:I1,LucideSearchCheck:kg,LucideSearchCode:mg,LucideSearchSlash:fg,LucideSearchX:gg,LucideSection:vg,LucideSend:_g,LucideSendHorizonal:to,LucideSendHorizontal:to,LucideSendToBack:Mg,LucideSeparatorHorizontal:xg,LucideSeparatorVertical:Lg,LucideServer:Cg,LucideServerCog:Ig,LucideServerCrash:wg,LucideServerOff:bg,LucideSettings:Sg,LucideSettings2:Ng,LucideShapes:jg,LucideShare:qg,LucideShare2:$g,LucideSheet:Ag,LucideShell:zg,LucideShield:Og,LucideShieldAlert:Vg,LucideShieldBan:Pg,LucideShieldCheck:Tg,LucideShieldClose:no,LucideShieldEllipsis:Hg,LucideShieldHalf:Dg,LucideShieldMinus:Rg,LucideShieldOff:Bg,LucideShieldPlus:Fg,LucideShieldQuestion:ao,LucideShieldQuestionMark:ao,LucideShieldUser:Eg,LucideShieldX:no,LucideShip:Wg,LucideShipWheel:Ug,LucideShirt:Gg,LucideShoppingBag:Zg,LucideShoppingBasket:Kg,LucideShoppingCart:Xg,LucideShovel:Yg,LucideShowerHead:Jg,LucideShredder:Qg,LucideShrimp:ev,LucideShrink:tv,LucideShrub:av,LucideShuffle:ov,LucideSidebar:Un,LucideSidebarClose:Fn,LucideSidebarOpen:On,LucideSigma:nv,LucideSigmaSquare:Xo,LucideSignal:dv,LucideSignalHigh:cv,LucideSignalLow:iv,LucideSignalMedium:rv,LucideSignalZero:sv,LucideSignature:lv,LucideSignpost:uv,LucideSignpostBig:hv,LucideSiren:pv,LucideSkipBack:yv,LucideSkipForward:kv,LucideSkull:mv,LucideSlack:fv,LucideSlash:gv,LucideSlashSquare:Yo,LucideSlice:vv,LucideSliders:oo,LucideSlidersHorizontal:Mv,LucideSlidersVertical:oo,LucideSmartphone:Lv,LucideSmartphoneCharging:_v,LucideSmartphoneNfc:xv,LucideSmile:bv,LucideSmilePlus:Iv,LucideSnail:wv,LucideSnowflake:Cv,LucideSoapDispenserDroplet:Nv,LucideSofa:Sv,LucideSortAsc:Ut,LucideSortDesc:Ft,LucideSoup:jv,LucideSpace:$v,LucideSpade:qv,LucideSparkle:Av,LucideSparkles:co,LucideSpeaker:zv,LucideSpeech:Vv,LucideSpellCheck:Tv,LucideSpellCheck2:Pv,LucideSpline:Dv,LucideSplinePointer:Hv,LucideSplit:Bv,LucideSplitSquareHorizontal:Jo,LucideSplitSquareVertical:Qo,LucideSpool:Rv,LucideSpotlight:Fv,LucideSprayCan:Ev,LucideSprout:Ov,LucideSquare:t9,LucideSquareActivity:bt,LucideSquareArrowDown:so,LucideSquareArrowDownLeft:io,LucideSquareArrowDownRight:ro,LucideSquareArrowLeft:lo,LucideSquareArrowOutDownLeft:ho,LucideSquareArrowOutDownRight:uo,LucideSquareArrowOutUpLeft:po,LucideSquareArrowOutUpRight:yo,LucideSquareArrowRight:ko,LucideSquareArrowUp:go,LucideSquareArrowUpLeft:mo,LucideSquareArrowUpRight:fo,LucideSquareAsterisk:vo,LucideSquareBottomDashedScissors:Mo,LucideSquareChartGantt:ct,LucideSquareCheck:xo,LucideSquareCheckBig:_o,LucideSquareChevronDown:Lo,LucideSquareChevronLeft:Io,LucideSquareChevronRight:bo,LucideSquareChevronUp:wo,LucideSquareCode:Co,LucideSquareDashed:jo,LucideSquareDashedBottom:Wv,LucideSquareDashedBottomCode:Uv,LucideSquareDashedKanban:No,LucideSquareDashedMousePointer:So,LucideSquareDashedTopSolid:Gv,LucideSquareDivide:$o,LucideSquareDot:Ao,LucideSquareEqual:qo,LucideSquareFunction:zo,LucideSquareGanttChart:ct,LucideSquareKanban:Vo,LucideSquareLibrary:Po,LucideSquareM:To,LucideSquareMenu:Ho,LucideSquareMinus:Do,LucideSquareMousePointer:Ro,LucideSquareParking:Fo,LucideSquareParkingOff:Bo,LucideSquarePause:Zv,LucideSquarePen:Te,LucideSquarePercent:Eo,LucideSquarePi:Oo,LucideSquarePilcrow:Uo,LucideSquarePlay:Wo,LucideSquarePlus:Go,LucideSquarePower:Zo,LucideSquareRadical:Kv,LucideSquareRoundCorner:Xv,LucideSquareScissors:Ko,LucideSquareSigma:Xo,LucideSquareSlash:Yo,LucideSquareSplitHorizontal:Jo,LucideSquareSplitVertical:Qo,LucideSquareSquare:Yv,LucideSquareStack:Jv,LucideSquareStar:Qv,LucideSquareStop:e9,LucideSquareTerminal:ec,LucideSquareUser:ac,LucideSquareUserRound:tc,LucideSquareX:nc,LucideSquaresExclude:a9,LucideSquaresIntersect:n9,LucideSquaresSubtract:o9,LucideSquaresUnite:c9,LucideSquircle:r9,LucideSquircleDashed:i9,LucideSquirrel:s9,LucideStamp:d9,LucideStar:p9,LucideStarHalf:l9,LucideStarOff:h9,LucideStars:co,LucideStepBack:u9,LucideStepForward:y9,LucideStethoscope:k9,LucideSticker:m9,LucideStickyNote:f9,LucideStopCircle:Ba,LucideStore:g9,LucideStretchHorizontal:v9,LucideStretchVertical:M9,LucideStrikethrough:_9,LucideSubscript:x9,LucideSubtitles:ea,LucideSun:N9,LucideSunDim:L9,LucideSunMedium:I9,LucideSunMoon:b9,LucideSunSnow:w9,LucideSunrise:C9,LucideSunset:S9,LucideSuperscript:j9,LucideSwatchBook:$9,LucideSwissFranc:q9,LucideSwitchCamera:A9,LucideSword:z9,LucideSwords:P9,LucideSyringe:V9,LucideTable:O9,LucideTable2:T9,LucideTableCellsMerge:H9,LucideTableCellsSplit:D9,LucideTableColumnsSplit:B9,LucideTableConfig:nt,LucideTableOfContents:R9,LucideTableProperties:F9,LucideTableRowsSplit:E9,LucideTablet:W9,LucideTabletSmartphone:U9,LucideTablets:G9,LucideTag:Z9,LucideTags:K9,LucideTally1:X9,LucideTally2:Y9,LucideTally3:J9,LucideTally4:Q9,LucideTally5:eM,LucideTangent:tM,LucideTarget:aM,LucideTelescope:nM,LucideTent:cM,LucideTentTree:oM,LucideTerminal:iM,LucideTerminalSquare:ec,LucideTestTube:rM,LucideTestTube2:oc,LucideTestTubeDiagonal:oc,LucideTestTubes:sM,LucideText:pM,LucideTextCursor:lM,LucideTextCursorInput:dM,LucideTextQuote:hM,LucideTextSearch:uM,LucideTextSelect:cc,LucideTextSelection:cc,LucideTheater:yM,LucideThermometer:gM,LucideThermometerSnowflake:kM,LucideThermometerSun:mM,LucideThumbsDown:fM,LucideThumbsUp:vM,LucideTicket:wM,LucideTicketCheck:MM,LucideTicketMinus:_M,LucideTicketPercent:xM,LucideTicketPlus:LM,LucideTicketSlash:IM,LucideTicketX:bM,LucideTickets:NM,LucideTicketsPlane:CM,LucideTimer:$M,LucideTimerOff:SM,LucideTimerReset:jM,LucideToggleLeft:qM,LucideToggleRight:AM,LucideToilet:zM,LucideToolCase:VM,LucideTornado:TM,LucideTorus:PM,LucideTouchpad:DM,LucideTouchpadOff:HM,LucideTowerControl:RM,LucideToyBrick:BM,LucideTractor:FM,LucideTrafficCone:EM,LucideTrain:ic,LucideTrainFront:UM,LucideTrainFrontTunnel:OM,LucideTrainTrack:WM,LucideTramFront:ic,LucideTransgender:GM,LucideTrash:ZM,LucideTrash2:jt,LucideTreeDeciduous:KM,LucideTreePalm:rc,LucideTreePine:XM,LucideTrees:YM,LucideTrello:JM,LucideTrendingDown:QM,LucideTrendingUp:e_,LucideTrendingUpDown:t_,LucideTriangle:n_,LucideTriangleAlert:sc,LucideTriangleDashed:a_,LucideTriangleRight:o_,LucideTrophy:c_,LucideTruck:r_,LucideTruckElectric:i_,LucideTurkishLira:s_,LucideTurntable:d_,LucideTurtle:l_,LucideTv:u_,LucideTv2:dc,LucideTvMinimal:dc,LucideTvMinimalPlay:h_,LucideTwitch:p_,LucideTwitter:y_,LucideType:m_,LucideTypeOutline:k_,LucideUmbrella:g_,LucideUmbrellaOff:f_,LucideUnderline:v_,LucideUndo:x_,LucideUndo2:M_,LucideUndoDot:__,LucideUnfoldHorizontal:L_,LucideUnfoldVertical:I_,LucideUngroup:b_,LucideUniversity:lc,LucideUnlink:S_,LucideUnlink2:w_,LucideUnlock:$n,LucideUnlockKeyhole:jn,LucideUnplug:C_,LucideUpload:N_,LucideUploadCloud:Wa,LucideUsb:j_,LucideUser:R_,LucideUser2:mc,LucideUserCheck:$_,LucideUserCheck2:hc,LucideUserCircle:Fa,LucideUserCircle2:Ra,LucideUserCog:q_,LucideUserCog2:uc,LucideUserLock:A_,LucideUserMinus:z_,LucideUserMinus2:pc,LucideUserPen:V_,LucideUserPlus:b1,LucideUserPlus2:yc,LucideUserRound:mc,LucideUserRoundCheck:hc,LucideUserRoundCog:uc,LucideUserRoundMinus:pc,LucideUserRoundPen:P_,LucideUserRoundPlus:yc,LucideUserRoundSearch:T_,LucideUserRoundX:kc,LucideUserSearch:H_,LucideUserSquare:ac,LucideUserSquare2:tc,LucideUserStar:D_,LucideUserX:B_,LucideUserX2:kc,LucideUsers:F_,LucideUsers2:fc,LucideUsersRound:fc,LucideUtensils:vc,LucideUtensilsCrossed:gc,LucideUtilityPole:E_,LucideVariable:O_,LucideVault:U_,LucideVectorSquare:W_,LucideVegan:G_,LucideVenetianMask:Z_,LucideVenus:J_,LucideVenusAndMars:K_,LucideVerified:Zt,LucideVibrate:Y_,LucideVibrateOff:X_,LucideVideo:ex,LucideVideoOff:Q_,LucideVideotape:tx,LucideView:nx,LucideVoicemail:ax,LucideVolleyball:ox,LucideVolume:lx,LucideVolume1:cx,LucideVolume2:ix,LucideVolumeOff:rx,LucideVolumeX:sx,LucideVote:dx,LucideWallet:ux,LucideWallet2:Mc,LucideWalletCards:hx,LucideWalletMinimal:Mc,LucideWallpaper:px,LucideWand:yx,LucideWand2:_c,LucideWandSparkles:_c,LucideWarehouse:kx,LucideWashingMachine:mx,LucideWatch:fx,LucideWaves:vx,LucideWavesLadder:gx,LucideWaypoints:Mx,LucideWebcam:_x,LucideWebhook:Ix,LucideWebhookOff:xx,LucideWeight:Lx,LucideWheat:wx,LucideWheatOff:bx,LucideWholeWord:Cx,LucideWifi:Vx,LucideWifiCog:Nx,LucideWifiHigh:Sx,LucideWifiLow:jx,LucideWifiOff:$x,LucideWifiPen:qx,LucideWifiSync:Ax,LucideWifiZero:zx,LucideWind:Tx,LucideWindArrowDown:Px,LucideWine:Dx,LucideWineOff:Hx,LucideWorkflow:Bx,LucideWorm:Rx,LucideWrapText:Fx,LucideWrench:Ex,LucideX:Ke,LucideXCircle:xt,LucideXOctagon:Dn,LucideXSquare:nc,LucideYoutube:Ux,LucideZap:Wx,LucideZapOff:Ox,LucideZoomIn:Gx,LucideZoomOut:Zx,Luggage:I3,LuggageIcon:I3,MSquare:To,MSquareIcon:To,Magnet:b3,MagnetIcon:b3,Mail:q3,MailCheck:w3,MailCheckIcon:w3,MailIcon:q3,MailMinus:C3,MailMinusIcon:C3,MailOpen:N3,MailOpenIcon:N3,MailPlus:S3,MailPlusIcon:S3,MailQuestion:qn,MailQuestionIcon:qn,MailQuestionMark:qn,MailQuestionMarkIcon:qn,MailSearch:j3,MailSearchIcon:j3,MailWarning:$3,MailWarningIcon:$3,MailX:A3,MailXIcon:A3,Mailbox:z3,MailboxIcon:z3,Mails:V3,MailsIcon:V3,Map:X3,MapIcon:X3,MapMinus:P3,MapMinusIcon:P3,MapPin:G3,MapPinCheck:T3,MapPinCheckIcon:T3,MapPinCheckInside:H3,MapPinCheckInsideIcon:H3,MapPinHouse:D3,MapPinHouseIcon:D3,MapPinIcon:G3,MapPinMinus:R3,MapPinMinusIcon:R3,MapPinMinusInside:B3,MapPinMinusInsideIcon:B3,MapPinOff:F3,MapPinOffIcon:F3,MapPinPen:An,MapPinPenIcon:An,MapPinPlus:O3,MapPinPlusIcon:O3,MapPinPlusInside:E3,MapPinPlusInsideIcon:E3,MapPinX:W3,MapPinXIcon:W3,MapPinXInside:U3,MapPinXInsideIcon:U3,MapPinned:Z3,MapPinnedIcon:Z3,MapPlus:K3,MapPlusIcon:K3,Mars:J3,MarsIcon:J3,MarsStroke:Y3,MarsStrokeIcon:Y3,Martini:Q3,MartiniIcon:Q3,Maximize:am,Maximize2:em,Maximize2Icon:em,MaximizeIcon:am,Medal:tm,MedalIcon:tm,Megaphone:om,MegaphoneIcon:om,MegaphoneOff:nm,MegaphoneOffIcon:nm,Meh:cm,MehIcon:cm,MemoryStick:im,MemoryStickIcon:im,Menu:Gc,MenuIcon:Gc,MenuSquare:Ho,MenuSquareIcon:Ho,Merge:rm,MergeIcon:rm,MessageCircle:fm,MessageCircleCode:sm,MessageCircleCodeIcon:sm,MessageCircleDashed:dm,MessageCircleDashedIcon:dm,MessageCircleHeart:lm,MessageCircleHeartIcon:lm,MessageCircleIcon:fm,MessageCircleMore:hm,MessageCircleMoreIcon:hm,MessageCircleOff:um,MessageCircleOffIcon:um,MessageCirclePlus:pm,MessageCirclePlusIcon:pm,MessageCircleQuestion:zn,MessageCircleQuestionIcon:zn,MessageCircleQuestionMark:zn,MessageCircleQuestionMarkIcon:zn,MessageCircleReply:ym,MessageCircleReplyIcon:ym,MessageCircleWarning:km,MessageCircleWarningIcon:km,MessageCircleX:mm,MessageCircleXIcon:mm,MessageSquare:Am,MessageSquareCode:gm,MessageSquareCodeIcon:gm,MessageSquareDashed:vm,MessageSquareDashedIcon:vm,MessageSquareDiff:Mm,MessageSquareDiffIcon:Mm,MessageSquareDot:_m,MessageSquareDotIcon:_m,MessageSquareHeart:xm,MessageSquareHeartIcon:xm,MessageSquareIcon:Am,MessageSquareLock:Lm,MessageSquareLockIcon:Lm,MessageSquareMore:Im,MessageSquareMoreIcon:Im,MessageSquareOff:bm,MessageSquareOffIcon:bm,MessageSquarePlus:wm,MessageSquarePlusIcon:wm,MessageSquareQuote:Cm,MessageSquareQuoteIcon:Cm,MessageSquareReply:Nm,MessageSquareReplyIcon:Nm,MessageSquareShare:Sm,MessageSquareShareIcon:Sm,MessageSquareText:jm,MessageSquareTextIcon:jm,MessageSquareWarning:$m,MessageSquareWarningIcon:$m,MessageSquareX:qm,MessageSquareXIcon:qm,MessagesSquare:zm,MessagesSquareIcon:zm,Mic:Pm,Mic2:Vn,Mic2Icon:Vn,MicIcon:Pm,MicOff:Vm,MicOffIcon:Vm,MicVocal:Vn,MicVocalIcon:Vn,Microchip:Tm,MicrochipIcon:Tm,Microscope:Hm,MicroscopeIcon:Hm,Microwave:Dm,MicrowaveIcon:Dm,Milestone:Bm,MilestoneIcon:Bm,Milk:Fm,MilkIcon:Fm,MilkOff:Rm,MilkOffIcon:Rm,Minimize:Om,Minimize2:Em,Minimize2Icon:Em,MinimizeIcon:Om,Minus:Um,MinusCircle:$a,MinusCircleIcon:$a,MinusIcon:Um,MinusSquare:Do,MinusSquareIcon:Do,Monitor:o6,MonitorCheck:Wm,MonitorCheckIcon:Wm,MonitorCog:Gm,MonitorCogIcon:Gm,MonitorDot:Zm,MonitorDotIcon:Zm,MonitorDown:Km,MonitorDownIcon:Km,MonitorIcon:o6,MonitorOff:Xm,MonitorOffIcon:Xm,MonitorPause:Jm,MonitorPauseIcon:Jm,MonitorPlay:Ym,MonitorPlayIcon:Ym,MonitorSmartphone:Qm,MonitorSmartphoneIcon:Qm,MonitorSpeaker:e6,MonitorSpeakerIcon:e6,MonitorStop:t6,MonitorStopIcon:t6,MonitorUp:a6,MonitorUpIcon:a6,MonitorX:n6,MonitorXIcon:n6,Moon:i6,MoonIcon:i6,MoonStar:c6,MoonStarIcon:c6,MoreHorizontal:en,MoreHorizontalIcon:en,MoreVertical:Qa,MoreVerticalIcon:Qa,Mountain:s6,MountainIcon:s6,MountainSnow:r6,MountainSnowIcon:r6,Mouse:y6,MouseIcon:y6,MouseOff:d6,MouseOffIcon:d6,MousePointer:u6,MousePointer2:l6,MousePointer2Icon:l6,MousePointerBan:h6,MousePointerBanIcon:h6,MousePointerClick:p6,MousePointerClickIcon:p6,MousePointerIcon:u6,MousePointerSquareDashed:So,MousePointerSquareDashedIcon:So,Move:a.Move,Move3D:Pn,Move3DIcon:Pn,Move3d:Pn,Move3dIcon:Pn,MoveDiagonal:m6,MoveDiagonal2:k6,MoveDiagonal2Icon:k6,MoveDiagonalIcon:m6,MoveDown:M6,MoveDownIcon:M6,MoveDownLeft:f6,MoveDownLeftIcon:f6,MoveDownRight:g6,MoveDownRightIcon:g6,MoveHorizontal:v6,MoveHorizontalIcon:v6,MoveIcon:a.Move,MoveLeft:_6,MoveLeftIcon:_6,MoveRight:x6,MoveRightIcon:x6,MoveUp:b6,MoveUpIcon:b6,MoveUpLeft:L6,MoveUpLeftIcon:L6,MoveUpRight:I6,MoveUpRightIcon:I6,MoveVertical:w6,MoveVerticalIcon:w6,Music:j6,Music2:C6,Music2Icon:C6,Music3:N6,Music3Icon:N6,Music4:S6,Music4Icon:S6,MusicIcon:j6,Navigation:z6,Navigation2:q6,Navigation2Icon:q6,Navigation2Off:$6,Navigation2OffIcon:$6,NavigationIcon:z6,NavigationOff:A6,NavigationOffIcon:A6,Network:V6,NetworkIcon:V6,Newspaper:P6,NewspaperIcon:P6,Nfc:T6,NfcIcon:T6,NonBinary:H6,NonBinaryIcon:H6,Notebook:F6,NotebookIcon:F6,NotebookPen:D6,NotebookPenIcon:D6,NotebookTabs:B6,NotebookTabsIcon:B6,NotebookText:R6,NotebookTextIcon:R6,NotepadText:O6,NotepadTextDashed:E6,NotepadTextDashedIcon:E6,NotepadTextIcon:O6,Nut:W6,NutIcon:W6,NutOff:U6,NutOffIcon:U6,Octagon:Z6,OctagonAlert:Tn,OctagonAlertIcon:Tn,OctagonIcon:Z6,OctagonMinus:G6,OctagonMinusIcon:G6,OctagonPause:Hn,OctagonPauseIcon:Hn,OctagonX:Dn,OctagonXIcon:Dn,Omega:K6,OmegaIcon:K6,Option:X6,OptionIcon:X6,Orbit:Y6,OrbitIcon:Y6,Origami:J6,OrigamiIcon:J6,Outdent:bn,OutdentIcon:bn,Package:i8,Package2:Q6,Package2Icon:Q6,PackageCheck:e8,PackageCheckIcon:e8,PackageIcon:i8,PackageMinus:t8,PackageMinusIcon:t8,PackageOpen:a8,PackageOpenIcon:a8,PackagePlus:n8,PackagePlusIcon:n8,PackageSearch:o8,PackageSearchIcon:o8,PackageX:c8,PackageXIcon:c8,PaintBucket:r8,PaintBucketIcon:r8,PaintRoller:s8,PaintRollerIcon:s8,Paintbrush:d8,Paintbrush2:Bn,Paintbrush2Icon:Bn,PaintbrushIcon:d8,PaintbrushVertical:Bn,PaintbrushVerticalIcon:Bn,Palette:l8,PaletteIcon:l8,Palmtree:rc,PalmtreeIcon:rc,Panda:h8,PandaIcon:h8,PanelBottom:y8,PanelBottomClose:u8,PanelBottomCloseIcon:u8,PanelBottomDashed:Rn,PanelBottomDashedIcon:Rn,PanelBottomIcon:y8,PanelBottomInactive:Rn,PanelBottomInactiveIcon:Rn,PanelBottomOpen:p8,PanelBottomOpenIcon:p8,PanelLeft:Un,PanelLeftClose:Fn,PanelLeftCloseIcon:Fn,PanelLeftDashed:En,PanelLeftDashedIcon:En,PanelLeftIcon:Un,PanelLeftInactive:En,PanelLeftInactiveIcon:En,PanelLeftOpen:On,PanelLeftOpenIcon:On,PanelRight:f8,PanelRightClose:k8,PanelRightCloseIcon:k8,PanelRightDashed:Wn,PanelRightDashedIcon:Wn,PanelRightIcon:f8,PanelRightInactive:Wn,PanelRightInactiveIcon:Wn,PanelRightOpen:m8,PanelRightOpenIcon:m8,PanelTop:M8,PanelTopClose:g8,PanelTopCloseIcon:g8,PanelTopDashed:Gn,PanelTopDashedIcon:Gn,PanelTopIcon:M8,PanelTopInactive:Gn,PanelTopInactiveIcon:Gn,PanelTopOpen:v8,PanelTopOpenIcon:v8,PanelsLeftBottom:_8,PanelsLeftBottomIcon:_8,PanelsLeftRight:Ka,PanelsLeftRightIcon:Ka,PanelsRightBottom:x8,PanelsRightBottomIcon:x8,PanelsTopBottom:Qn,PanelsTopBottomIcon:Qn,PanelsTopLeft:Zn,PanelsTopLeftIcon:Zn,Paperclip:L8,PaperclipIcon:L8,Parentheses:I8,ParenthesesIcon:I8,ParkingCircle:za,ParkingCircleIcon:za,ParkingCircleOff:qa,ParkingCircleOffIcon:qa,ParkingMeter:b8,ParkingMeterIcon:b8,ParkingSquare:Fo,ParkingSquareIcon:Fo,ParkingSquareOff:Bo,ParkingSquareOffIcon:Bo,PartyPopper:w8,PartyPopperIcon:w8,Pause:C8,PauseCircle:Aa,PauseCircleIcon:Aa,PauseIcon:C8,PauseOctagon:Hn,PauseOctagonIcon:Hn,PawPrint:N8,PawPrintIcon:N8,PcCase:S8,PcCaseIcon:S8,Pen:ht,PenBox:Te,PenBoxIcon:Te,PenIcon:ht,PenLine:lt,PenLineIcon:lt,PenOff:$8,PenOffIcon:$8,PenSquare:Te,PenSquareIcon:Te,PenTool:j8,PenToolIcon:j8,Pencil:L1,PencilIcon:L1,PencilLine:q8,PencilLineIcon:q8,PencilOff:A8,PencilOffIcon:A8,PencilRuler:z8,PencilRulerIcon:z8,Pentagon:V8,PentagonIcon:V8,Percent:P8,PercentCircle:Va,PercentCircleIcon:Va,PercentDiamond:Ya,PercentDiamondIcon:Ya,PercentIcon:P8,PercentSquare:Eo,PercentSquareIcon:Eo,PersonStanding:H8,PersonStandingIcon:H8,PhilippinePeso:T8,PhilippinePesoIcon:T8,Phone:O8,PhoneCall:D8,PhoneCallIcon:D8,PhoneForwarded:B8,PhoneForwardedIcon:B8,PhoneIcon:O8,PhoneIncoming:R8,PhoneIncomingIcon:R8,PhoneMissed:F8,PhoneMissedIcon:F8,PhoneOff:E8,PhoneOffIcon:E8,PhoneOutgoing:U8,PhoneOutgoingIcon:U8,Pi:W8,PiIcon:W8,PiSquare:Oo,PiSquareIcon:Oo,Piano:G8,PianoIcon:G8,Pickaxe:Z8,PickaxeIcon:Z8,PictureInPicture:X8,PictureInPicture2:K8,PictureInPicture2Icon:K8,PictureInPictureIcon:X8,PieChart:ua,PieChartIcon:ua,PiggyBank:Y8,PiggyBankIcon:Y8,Pilcrow:Q8,PilcrowIcon:Q8,PilcrowLeft:J8,PilcrowLeftIcon:J8,PilcrowRight:ef,PilcrowRightIcon:ef,PilcrowSquare:Uo,PilcrowSquareIcon:Uo,Pill:af,PillBottle:tf,PillBottleIcon:tf,PillIcon:af,Pin:of,PinIcon:of,PinOff:nf,PinOffIcon:nf,Pipette:cf,PipetteIcon:cf,Pizza:rf,PizzaIcon:rf,Plane:lf,PlaneIcon:lf,PlaneLanding:sf,PlaneLandingIcon:sf,PlaneTakeoff:df,PlaneTakeoffIcon:df,Play:hf,PlayCircle:Pa,PlayCircleIcon:Pa,PlayIcon:hf,PlaySquare:Wo,PlaySquareIcon:Wo,Plug:pf,Plug2:uf,Plug2Icon:uf,PlugIcon:pf,PlugZap:Kn,PlugZap2:Kn,PlugZap2Icon:Kn,PlugZapIcon:Kn,Plus:Zc,PlusCircle:Ta,PlusCircleIcon:Ta,PlusIcon:Zc,PlusSquare:Go,PlusSquareIcon:Go,Pocket:kf,PocketIcon:kf,PocketKnife:yf,PocketKnifeIcon:yf,Podcast:mf,PodcastIcon:mf,Pointer:gf,PointerIcon:gf,PointerOff:ff,PointerOffIcon:ff,Popcorn:Mf,PopcornIcon:Mf,Popsicle:vf,PopsicleIcon:vf,PoundSterling:_f,PoundSterlingIcon:_f,Power:Lf,PowerCircle:Ha,PowerCircleIcon:Ha,PowerIcon:Lf,PowerOff:xf,PowerOffIcon:xf,PowerSquare:Zo,PowerSquareIcon:Zo,Presentation:If,PresentationIcon:If,Printer:wf,PrinterCheck:bf,PrinterCheckIcon:bf,PrinterIcon:wf,Projector:Cf,ProjectorIcon:Cf,Proportions:Nf,ProportionsIcon:Nf,Puzzle:jf,PuzzleIcon:jf,Pyramid:Sf,PyramidIcon:Sf,QrCode:$f,QrCodeIcon:$f,Quote:qf,QuoteIcon:qf,Rabbit:Af,RabbitIcon:Af,Radar:zf,RadarIcon:zf,Radiation:Vf,RadiationIcon:Vf,Radical:Pf,RadicalIcon:Pf,Radio:Df,RadioIcon:Df,RadioReceiver:Tf,RadioReceiverIcon:Tf,RadioTower:Hf,RadioTowerIcon:Hf,Radius:Bf,RadiusIcon:Bf,RailSymbol:Rf,RailSymbolIcon:Rf,Rainbow:Ff,RainbowIcon:Ff,Rat:Ef,RatIcon:Ef,Ratio:Of,RatioIcon:Of,Receipt:e7,ReceiptCent:Uf,ReceiptCentIcon:Uf,ReceiptEuro:Gf,ReceiptEuroIcon:Gf,ReceiptIcon:e7,ReceiptIndianRupee:Wf,ReceiptIndianRupeeIcon:Wf,ReceiptJapaneseYen:Zf,ReceiptJapaneseYenIcon:Zf,ReceiptPoundSterling:Kf,ReceiptPoundSterlingIcon:Kf,ReceiptRussianRuble:Xf,ReceiptRussianRubleIcon:Xf,ReceiptSwissFranc:Yf,ReceiptSwissFrancIcon:Yf,ReceiptText:Jf,ReceiptTextIcon:Jf,ReceiptTurkishLira:Qf,ReceiptTurkishLiraIcon:Qf,RectangleCircle:t7,RectangleCircleIcon:t7,RectangleEllipsis:Xn,RectangleEllipsisIcon:Xn,RectangleGoggles:a7,RectangleGogglesIcon:a7,RectangleHorizontal:n7,RectangleHorizontalIcon:n7,RectangleVertical:o7,RectangleVerticalIcon:o7,Recycle:c7,RecycleIcon:c7,Redo:s7,Redo2:i7,Redo2Icon:i7,RedoDot:r7,RedoDotIcon:r7,RedoIcon:s7,RefreshCcw:l7,RefreshCcwDot:d7,RefreshCcwDotIcon:d7,RefreshCcwIcon:l7,RefreshCw:u7,RefreshCwIcon:u7,RefreshCwOff:h7,RefreshCwOffIcon:h7,Refrigerator:p7,RefrigeratorIcon:p7,Regex:y7,RegexIcon:y7,RemoveFormatting:k7,RemoveFormattingIcon:k7,Repeat:g7,Repeat1:m7,Repeat1Icon:m7,Repeat2:f7,Repeat2Icon:f7,RepeatIcon:g7,Replace:M7,ReplaceAll:v7,ReplaceAllIcon:v7,ReplaceIcon:M7,Reply:L7,ReplyAll:_7,ReplyAllIcon:_7,ReplyIcon:L7,Rewind:x7,RewindIcon:x7,Ribbon:I7,RibbonIcon:I7,Rocket:b7,RocketIcon:b7,RockingChair:N7,RockingChairIcon:N7,RollerCoaster:w7,RollerCoasterIcon:w7,Rose:C7,RoseIcon:C7,Rotate3D:Yn,Rotate3DIcon:Yn,Rotate3d:Yn,Rotate3dIcon:Yn,RotateCcw:$7,RotateCcwIcon:$7,RotateCcwKey:S7,RotateCcwKeyIcon:S7,RotateCcwSquare:j7,RotateCcwSquareIcon:j7,RotateCw:A7,RotateCwIcon:A7,RotateCwSquare:q7,RotateCwSquareIcon:q7,Route:V7,RouteIcon:V7,RouteOff:z7,RouteOffIcon:z7,Router:P7,RouterIcon:P7,Rows:Jn,Rows2:Jn,Rows2Icon:Jn,Rows3:Qn,Rows3Icon:Qn,Rows4:T7,Rows4Icon:T7,RowsIcon:Jn,Rss:H7,RssIcon:H7,Ruler:B7,RulerDimensionLine:D7,RulerDimensionLineIcon:D7,RulerIcon:B7,RussianRuble:R7,RussianRubleIcon:R7,Sailboat:F7,SailboatIcon:F7,Salad:E7,SaladIcon:E7,Sandwich:O7,SandwichIcon:O7,Satellite:W7,SatelliteDish:U7,SatelliteDishIcon:U7,SatelliteIcon:W7,SaudiRiyal:G7,SaudiRiyalIcon:G7,Save:Y7,SaveAll:Z7,SaveAllIcon:Z7,SaveIcon:Y7,SaveOff:K7,SaveOffIcon:K7,Scale:X7,Scale3D:eo,Scale3DIcon:eo,Scale3d:eo,Scale3dIcon:eo,ScaleIcon:X7,Scaling:J7,ScalingIcon:J7,Scan:rg,ScanBarcode:Q7,ScanBarcodeIcon:Q7,ScanEye:eg,ScanEyeIcon:eg,ScanFace:tg,ScanFaceIcon:tg,ScanHeart:ag,ScanHeartIcon:ag,ScanIcon:rg,ScanLine:ng,ScanLineIcon:ng,ScanQrCode:og,ScanQrCodeIcon:og,ScanSearch:cg,ScanSearchIcon:cg,ScanText:ig,ScanTextIcon:ig,ScatterChart:pa,ScatterChartIcon:pa,School:sg,School2:lc,School2Icon:lc,SchoolIcon:sg,Scissors:lg,ScissorsIcon:lg,ScissorsLineDashed:dg,ScissorsLineDashedIcon:dg,ScissorsSquare:Ko,ScissorsSquareDashedBottom:Mo,ScissorsSquareDashedBottomIcon:Mo,ScissorsSquareIcon:Ko,ScreenShare:hg,ScreenShareIcon:hg,ScreenShareOff:ug,ScreenShareOffIcon:ug,Scroll:yg,ScrollIcon:yg,ScrollText:pg,ScrollTextIcon:pg,Search:I1,SearchCheck:kg,SearchCheckIcon:kg,SearchCode:mg,SearchCodeIcon:mg,SearchIcon:I1,SearchSlash:fg,SearchSlashIcon:fg,SearchX:gg,SearchXIcon:gg,Section:vg,SectionIcon:vg,Send:_g,SendHorizonal:to,SendHorizonalIcon:to,SendHorizontal:to,SendHorizontalIcon:to,SendIcon:_g,SendToBack:Mg,SendToBackIcon:Mg,SeparatorHorizontal:xg,SeparatorHorizontalIcon:xg,SeparatorVertical:Lg,SeparatorVerticalIcon:Lg,Server:Cg,ServerCog:Ig,ServerCogIcon:Ig,ServerCrash:wg,ServerCrashIcon:wg,ServerIcon:Cg,ServerOff:bg,ServerOffIcon:bg,Settings:Sg,Settings2:Ng,Settings2Icon:Ng,SettingsIcon:Sg,Shapes:jg,ShapesIcon:jg,Share:qg,Share2:$g,Share2Icon:$g,ShareIcon:qg,Sheet:Ag,SheetIcon:Ag,Shell:zg,ShellIcon:zg,Shield:Og,ShieldAlert:Vg,ShieldAlertIcon:Vg,ShieldBan:Pg,ShieldBanIcon:Pg,ShieldCheck:Tg,ShieldCheckIcon:Tg,ShieldClose:no,ShieldCloseIcon:no,ShieldEllipsis:Hg,ShieldEllipsisIcon:Hg,ShieldHalf:Dg,ShieldHalfIcon:Dg,ShieldIcon:Og,ShieldMinus:Rg,ShieldMinusIcon:Rg,ShieldOff:Bg,ShieldOffIcon:Bg,ShieldPlus:Fg,ShieldPlusIcon:Fg,ShieldQuestion:ao,ShieldQuestionIcon:ao,ShieldQuestionMark:ao,ShieldQuestionMarkIcon:ao,ShieldUser:Eg,ShieldUserIcon:Eg,ShieldX:no,ShieldXIcon:no,Ship:Wg,ShipIcon:Wg,ShipWheel:Ug,ShipWheelIcon:Ug,Shirt:Gg,ShirtIcon:Gg,ShoppingBag:Zg,ShoppingBagIcon:Zg,ShoppingBasket:Kg,ShoppingBasketIcon:Kg,ShoppingCart:Xg,ShoppingCartIcon:Xg,Shovel:Yg,ShovelIcon:Yg,ShowerHead:Jg,ShowerHeadIcon:Jg,Shredder:Qg,ShredderIcon:Qg,Shrimp:ev,ShrimpIcon:ev,Shrink:tv,ShrinkIcon:tv,Shrub:av,ShrubIcon:av,Shuffle:ov,ShuffleIcon:ov,Sidebar:Un,SidebarClose:Fn,SidebarCloseIcon:Fn,SidebarIcon:Un,SidebarOpen:On,SidebarOpenIcon:On,Sigma:nv,SigmaIcon:nv,SigmaSquare:Xo,SigmaSquareIcon:Xo,Signal:dv,SignalHigh:cv,SignalHighIcon:cv,SignalIcon:dv,SignalLow:iv,SignalLowIcon:iv,SignalMedium:rv,SignalMediumIcon:rv,SignalZero:sv,SignalZeroIcon:sv,Signature:lv,SignatureIcon:lv,Signpost:uv,SignpostBig:hv,SignpostBigIcon:hv,SignpostIcon:uv,Siren:pv,SirenIcon:pv,SkipBack:yv,SkipBackIcon:yv,SkipForward:kv,SkipForwardIcon:kv,Skull:mv,SkullIcon:mv,Slack:fv,SlackIcon:fv,Slash:gv,SlashIcon:gv,SlashSquare:Yo,SlashSquareIcon:Yo,Slice:vv,SliceIcon:vv,Sliders:oo,SlidersHorizontal:Mv,SlidersHorizontalIcon:Mv,SlidersIcon:oo,SlidersVertical:oo,SlidersVerticalIcon:oo,Smartphone:Lv,SmartphoneCharging:_v,SmartphoneChargingIcon:_v,SmartphoneIcon:Lv,SmartphoneNfc:xv,SmartphoneNfcIcon:xv,Smile:bv,SmileIcon:bv,SmilePlus:Iv,SmilePlusIcon:Iv,Snail:wv,SnailIcon:wv,Snowflake:Cv,SnowflakeIcon:Cv,SoapDispenserDroplet:Nv,SoapDispenserDropletIcon:Nv,Sofa:Sv,SofaIcon:Sv,SortAsc:Ut,SortAscIcon:Ut,SortDesc:Ft,SortDescIcon:Ft,Soup:jv,SoupIcon:jv,Space:$v,SpaceIcon:$v,Spade:qv,SpadeIcon:qv,Sparkle:Av,SparkleIcon:Av,Sparkles:co,SparklesIcon:co,Speaker:zv,SpeakerIcon:zv,Speech:Vv,SpeechIcon:Vv,SpellCheck:Tv,SpellCheck2:Pv,SpellCheck2Icon:Pv,SpellCheckIcon:Tv,Spline:Dv,SplineIcon:Dv,SplinePointer:Hv,SplinePointerIcon:Hv,Split:Bv,SplitIcon:Bv,SplitSquareHorizontal:Jo,SplitSquareHorizontalIcon:Jo,SplitSquareVertical:Qo,SplitSquareVerticalIcon:Qo,Spool:Rv,SpoolIcon:Rv,Spotlight:Fv,SpotlightIcon:Fv,SprayCan:Ev,SprayCanIcon:Ev,Sprout:Ov,SproutIcon:Ov,Square:t9,SquareActivity:bt,SquareActivityIcon:bt,SquareArrowDown:so,SquareArrowDownIcon:so,SquareArrowDownLeft:io,SquareArrowDownLeftIcon:io,SquareArrowDownRight:ro,SquareArrowDownRightIcon:ro,SquareArrowLeft:lo,SquareArrowLeftIcon:lo,SquareArrowOutDownLeft:ho,SquareArrowOutDownLeftIcon:ho,SquareArrowOutDownRight:uo,SquareArrowOutDownRightIcon:uo,SquareArrowOutUpLeft:po,SquareArrowOutUpLeftIcon:po,SquareArrowOutUpRight:yo,SquareArrowOutUpRightIcon:yo,SquareArrowRight:ko,SquareArrowRightIcon:ko,SquareArrowUp:go,SquareArrowUpIcon:go,SquareArrowUpLeft:mo,SquareArrowUpLeftIcon:mo,SquareArrowUpRight:fo,SquareArrowUpRightIcon:fo,SquareAsterisk:vo,SquareAsteriskIcon:vo,SquareBottomDashedScissors:Mo,SquareBottomDashedScissorsIcon:Mo,SquareChartGantt:ct,SquareChartGanttIcon:ct,SquareCheck:xo,SquareCheckBig:_o,SquareCheckBigIcon:_o,SquareCheckIcon:xo,SquareChevronDown:Lo,SquareChevronDownIcon:Lo,SquareChevronLeft:Io,SquareChevronLeftIcon:Io,SquareChevronRight:bo,SquareChevronRightIcon:bo,SquareChevronUp:wo,SquareChevronUpIcon:wo,SquareCode:Co,SquareCodeIcon:Co,SquareDashed:jo,SquareDashedBottom:Wv,SquareDashedBottomCode:Uv,SquareDashedBottomCodeIcon:Uv,SquareDashedBottomIcon:Wv,SquareDashedIcon:jo,SquareDashedKanban:No,SquareDashedKanbanIcon:No,SquareDashedMousePointer:So,SquareDashedMousePointerIcon:So,SquareDashedTopSolid:Gv,SquareDashedTopSolidIcon:Gv,SquareDivide:$o,SquareDivideIcon:$o,SquareDot:Ao,SquareDotIcon:Ao,SquareEqual:qo,SquareEqualIcon:qo,SquareFunction:zo,SquareFunctionIcon:zo,SquareGanttChart:ct,SquareGanttChartIcon:ct,SquareIcon:t9,SquareKanban:Vo,SquareKanbanIcon:Vo,SquareLibrary:Po,SquareLibraryIcon:Po,SquareM:To,SquareMIcon:To,SquareMenu:Ho,SquareMenuIcon:Ho,SquareMinus:Do,SquareMinusIcon:Do,SquareMousePointer:Ro,SquareMousePointerIcon:Ro,SquareParking:Fo,SquareParkingIcon:Fo,SquareParkingOff:Bo,SquareParkingOffIcon:Bo,SquarePause:Zv,SquarePauseIcon:Zv,SquarePen:Te,SquarePenIcon:Te,SquarePercent:Eo,SquarePercentIcon:Eo,SquarePi:Oo,SquarePiIcon:Oo,SquarePilcrow:Uo,SquarePilcrowIcon:Uo,SquarePlay:Wo,SquarePlayIcon:Wo,SquarePlus:Go,SquarePlusIcon:Go,SquarePower:Zo,SquarePowerIcon:Zo,SquareRadical:Kv,SquareRadicalIcon:Kv,SquareRoundCorner:Xv,SquareRoundCornerIcon:Xv,SquareScissors:Ko,SquareScissorsIcon:Ko,SquareSigma:Xo,SquareSigmaIcon:Xo,SquareSlash:Yo,SquareSlashIcon:Yo,SquareSplitHorizontal:Jo,SquareSplitHorizontalIcon:Jo,SquareSplitVertical:Qo,SquareSplitVerticalIcon:Qo,SquareSquare:Yv,SquareSquareIcon:Yv,SquareStack:Jv,SquareStackIcon:Jv,SquareStar:Qv,SquareStarIcon:Qv,SquareStop:e9,SquareStopIcon:e9,SquareTerminal:ec,SquareTerminalIcon:ec,SquareUser:ac,SquareUserIcon:ac,SquareUserRound:tc,SquareUserRoundIcon:tc,SquareX:nc,SquareXIcon:nc,SquaresExclude:a9,SquaresExcludeIcon:a9,SquaresIntersect:n9,SquaresIntersectIcon:n9,SquaresSubtract:o9,SquaresSubtractIcon:o9,SquaresUnite:c9,SquaresUniteIcon:c9,Squircle:r9,SquircleDashed:i9,SquircleDashedIcon:i9,SquircleIcon:r9,Squirrel:s9,SquirrelIcon:s9,Stamp:d9,StampIcon:d9,Star:p9,StarHalf:l9,StarHalfIcon:l9,StarIcon:p9,StarOff:h9,StarOffIcon:h9,Stars:co,StarsIcon:co,StepBack:u9,StepBackIcon:u9,StepForward:y9,StepForwardIcon:y9,Stethoscope:k9,StethoscopeIcon:k9,Sticker:m9,StickerIcon:m9,StickyNote:f9,StickyNoteIcon:f9,StopCircle:Ba,StopCircleIcon:Ba,Store:g9,StoreIcon:g9,StretchHorizontal:v9,StretchHorizontalIcon:v9,StretchVertical:M9,StretchVerticalIcon:M9,Strikethrough:_9,StrikethroughIcon:_9,Subscript:x9,SubscriptIcon:x9,Subtitles:ea,SubtitlesIcon:ea,Sun:N9,SunDim:L9,SunDimIcon:L9,SunIcon:N9,SunMedium:I9,SunMediumIcon:I9,SunMoon:b9,SunMoonIcon:b9,SunSnow:w9,SunSnowIcon:w9,Sunrise:C9,SunriseIcon:C9,Sunset:S9,SunsetIcon:S9,Superscript:j9,SuperscriptIcon:j9,SwatchBook:$9,SwatchBookIcon:$9,SwissFranc:q9,SwissFrancIcon:q9,SwitchCamera:A9,SwitchCameraIcon:A9,Sword:z9,SwordIcon:z9,Swords:P9,SwordsIcon:P9,Syringe:V9,SyringeIcon:V9,Table:O9,Table2:T9,Table2Icon:T9,TableCellsMerge:H9,TableCellsMergeIcon:H9,TableCellsSplit:D9,TableCellsSplitIcon:D9,TableColumnsSplit:B9,TableColumnsSplitIcon:B9,TableConfig:nt,TableConfigIcon:nt,TableIcon:O9,TableOfContents:R9,TableOfContentsIcon:R9,TableProperties:F9,TablePropertiesIcon:F9,TableRowsSplit:E9,TableRowsSplitIcon:E9,Tablet:W9,TabletIcon:W9,TabletSmartphone:U9,TabletSmartphoneIcon:U9,Tablets:G9,TabletsIcon:G9,Tag:Z9,TagIcon:Z9,Tags:K9,TagsIcon:K9,Tally1:X9,Tally1Icon:X9,Tally2:Y9,Tally2Icon:Y9,Tally3:J9,Tally3Icon:J9,Tally4:Q9,Tally4Icon:Q9,Tally5:eM,Tally5Icon:eM,Tangent:tM,TangentIcon:tM,Target:aM,TargetIcon:aM,Telescope:nM,TelescopeIcon:nM,Tent:cM,TentIcon:cM,TentTree:oM,TentTreeIcon:oM,Terminal:iM,TerminalIcon:iM,TerminalSquare:ec,TerminalSquareIcon:ec,TestTube:rM,TestTube2:oc,TestTube2Icon:oc,TestTubeDiagonal:oc,TestTubeDiagonalIcon:oc,TestTubeIcon:rM,TestTubes:sM,TestTubesIcon:sM,Text:pM,TextCursor:lM,TextCursorIcon:lM,TextCursorInput:dM,TextCursorInputIcon:dM,TextIcon:pM,TextQuote:hM,TextQuoteIcon:hM,TextSearch:uM,TextSearchIcon:uM,TextSelect:cc,TextSelectIcon:cc,TextSelection:cc,TextSelectionIcon:cc,Theater:yM,TheaterIcon:yM,Thermometer:gM,ThermometerIcon:gM,ThermometerSnowflake:kM,ThermometerSnowflakeIcon:kM,ThermometerSun:mM,ThermometerSunIcon:mM,ThumbsDown:fM,ThumbsDownIcon:fM,ThumbsUp:vM,ThumbsUpIcon:vM,Ticket:wM,TicketCheck:MM,TicketCheckIcon:MM,TicketIcon:wM,TicketMinus:_M,TicketMinusIcon:_M,TicketPercent:xM,TicketPercentIcon:xM,TicketPlus:LM,TicketPlusIcon:LM,TicketSlash:IM,TicketSlashIcon:IM,TicketX:bM,TicketXIcon:bM,Tickets:NM,TicketsIcon:NM,TicketsPlane:CM,TicketsPlaneIcon:CM,Timer:$M,TimerIcon:$M,TimerOff:SM,TimerOffIcon:SM,TimerReset:jM,TimerResetIcon:jM,ToggleLeft:qM,ToggleLeftIcon:qM,ToggleRight:AM,ToggleRightIcon:AM,Toilet:zM,ToiletIcon:zM,ToolCase:VM,ToolCaseIcon:VM,Tornado:TM,TornadoIcon:TM,Torus:PM,TorusIcon:PM,Touchpad:DM,TouchpadIcon:DM,TouchpadOff:HM,TouchpadOffIcon:HM,TowerControl:RM,TowerControlIcon:RM,ToyBrick:BM,ToyBrickIcon:BM,Tractor:FM,TractorIcon:FM,TrafficCone:EM,TrafficConeIcon:EM,Train:ic,TrainFront:UM,TrainFrontIcon:UM,TrainFrontTunnel:OM,TrainFrontTunnelIcon:OM,TrainIcon:ic,TrainTrack:WM,TrainTrackIcon:WM,TramFront:ic,TramFrontIcon:ic,Transgender:GM,TransgenderIcon:GM,Trash:ZM,Trash2:jt,Trash2Icon:jt,TrashIcon:ZM,TreeDeciduous:KM,TreeDeciduousIcon:KM,TreePalm:rc,TreePalmIcon:rc,TreePine:XM,TreePineIcon:XM,Trees:YM,TreesIcon:YM,Trello:JM,TrelloIcon:JM,TrendingDown:QM,TrendingDownIcon:QM,TrendingUp:e_,TrendingUpDown:t_,TrendingUpDownIcon:t_,TrendingUpIcon:e_,Triangle:n_,TriangleAlert:sc,TriangleAlertIcon:sc,TriangleDashed:a_,TriangleDashedIcon:a_,TriangleIcon:n_,TriangleRight:o_,TriangleRightIcon:o_,Trophy:c_,TrophyIcon:c_,Truck:r_,TruckElectric:i_,TruckElectricIcon:i_,TruckIcon:r_,TurkishLira:s_,TurkishLiraIcon:s_,Turntable:d_,TurntableIcon:d_,Turtle:l_,TurtleIcon:l_,Tv:u_,Tv2:dc,Tv2Icon:dc,TvIcon:u_,TvMinimal:dc,TvMinimalIcon:dc,TvMinimalPlay:h_,TvMinimalPlayIcon:h_,Twitch:p_,TwitchIcon:p_,Twitter:y_,TwitterIcon:y_,Type:m_,TypeIcon:m_,TypeOutline:k_,TypeOutlineIcon:k_,Umbrella:g_,UmbrellaIcon:g_,UmbrellaOff:f_,UmbrellaOffIcon:f_,Underline:v_,UnderlineIcon:v_,Undo:x_,Undo2:M_,Undo2Icon:M_,UndoDot:__,UndoDotIcon:__,UndoIcon:x_,UnfoldHorizontal:L_,UnfoldHorizontalIcon:L_,UnfoldVertical:I_,UnfoldVerticalIcon:I_,Ungroup:b_,UngroupIcon:b_,University:lc,UniversityIcon:lc,Unlink:S_,Unlink2:w_,Unlink2Icon:w_,UnlinkIcon:S_,Unlock:$n,UnlockIcon:$n,UnlockKeyhole:jn,UnlockKeyholeIcon:jn,Unplug:C_,UnplugIcon:C_,Upload:N_,UploadCloud:Wa,UploadCloudIcon:Wa,UploadIcon:N_,Usb:j_,UsbIcon:j_,User:R_,User2:mc,User2Icon:mc,UserCheck:$_,UserCheck2:hc,UserCheck2Icon:hc,UserCheckIcon:$_,UserCircle:Fa,UserCircle2:Ra,UserCircle2Icon:Ra,UserCircleIcon:Fa,UserCog:q_,UserCog2:uc,UserCog2Icon:uc,UserCogIcon:q_,UserIcon:R_,UserLock:A_,UserLockIcon:A_,UserMinus:z_,UserMinus2:pc,UserMinus2Icon:pc,UserMinusIcon:z_,UserPen:V_,UserPenIcon:V_,UserPlus:b1,UserPlus2:yc,UserPlus2Icon:yc,UserPlusIcon:b1,UserRound:mc,UserRoundCheck:hc,UserRoundCheckIcon:hc,UserRoundCog:uc,UserRoundCogIcon:uc,UserRoundIcon:mc,UserRoundMinus:pc,UserRoundMinusIcon:pc,UserRoundPen:P_,UserRoundPenIcon:P_,UserRoundPlus:yc,UserRoundPlusIcon:yc,UserRoundSearch:T_,UserRoundSearchIcon:T_,UserRoundX:kc,UserRoundXIcon:kc,UserSearch:H_,UserSearchIcon:H_,UserSquare:ac,UserSquare2:tc,UserSquare2Icon:tc,UserSquareIcon:ac,UserStar:D_,UserStarIcon:D_,UserX:B_,UserX2:kc,UserX2Icon:kc,UserXIcon:B_,Users:F_,Users2:fc,Users2Icon:fc,UsersIcon:F_,UsersRound:fc,UsersRoundIcon:fc,Utensils:vc,UtensilsCrossed:gc,UtensilsCrossedIcon:gc,UtensilsIcon:vc,UtilityPole:E_,UtilityPoleIcon:E_,Variable:O_,VariableIcon:O_,Vault:U_,VaultIcon:U_,VectorSquare:W_,VectorSquareIcon:W_,Vegan:G_,VeganIcon:G_,VenetianMask:Z_,VenetianMaskIcon:Z_,Venus:J_,VenusAndMars:K_,VenusAndMarsIcon:K_,VenusIcon:J_,Verified:Zt,VerifiedIcon:Zt,Vibrate:Y_,VibrateIcon:Y_,VibrateOff:X_,VibrateOffIcon:X_,Video:ex,VideoIcon:ex,VideoOff:Q_,VideoOffIcon:Q_,Videotape:tx,VideotapeIcon:tx,View:nx,ViewIcon:nx,Voicemail:ax,VoicemailIcon:ax,Volleyball:ox,VolleyballIcon:ox,Volume:lx,Volume1:cx,Volume1Icon:cx,Volume2:ix,Volume2Icon:ix,VolumeIcon:lx,VolumeOff:rx,VolumeOffIcon:rx,VolumeX:sx,VolumeXIcon:sx,Vote:dx,VoteIcon:dx,Wallet:ux,Wallet2:Mc,Wallet2Icon:Mc,WalletCards:hx,WalletCardsIcon:hx,WalletIcon:ux,WalletMinimal:Mc,WalletMinimalIcon:Mc,Wallpaper:px,WallpaperIcon:px,Wand:yx,Wand2:_c,Wand2Icon:_c,WandIcon:yx,WandSparkles:_c,WandSparklesIcon:_c,Warehouse:kx,WarehouseIcon:kx,WashingMachine:mx,WashingMachineIcon:mx,Watch:fx,WatchIcon:fx,Waves:vx,WavesIcon:vx,WavesLadder:gx,WavesLadderIcon:gx,Waypoints:Mx,WaypointsIcon:Mx,Webcam:_x,WebcamIcon:_x,Webhook:Ix,WebhookIcon:Ix,WebhookOff:xx,WebhookOffIcon:xx,Weight:Lx,WeightIcon:Lx,Wheat:wx,WheatIcon:wx,WheatOff:bx,WheatOffIcon:bx,WholeWord:Cx,WholeWordIcon:Cx,Wifi:Vx,WifiCog:Nx,WifiCogIcon:Nx,WifiHigh:Sx,WifiHighIcon:Sx,WifiIcon:Vx,WifiLow:jx,WifiLowIcon:jx,WifiOff:$x,WifiOffIcon:$x,WifiPen:qx,WifiPenIcon:qx,WifiSync:Ax,WifiSyncIcon:Ax,WifiZero:zx,WifiZeroIcon:zx,Wind:Tx,WindArrowDown:Px,WindArrowDownIcon:Px,WindIcon:Tx,Wine:Dx,WineIcon:Dx,WineOff:Hx,WineOffIcon:Hx,Workflow:Bx,WorkflowIcon:Bx,Worm:Rx,WormIcon:Rx,WrapText:Fx,WrapTextIcon:Fx,Wrench:Ex,WrenchIcon:Ex,X:Ke,XCircle:xt,XCircleIcon:xt,XIcon:Ke,XOctagon:Dn,XOctagonIcon:Dn,XSquare:nc,XSquareIcon:nc,Youtube:Ux,YoutubeIcon:Ux,Zap:Wx,ZapIcon:Wx,ZapOff:Ox,ZapOffIcon:Ox,ZoomIn:Gx,ZoomInIcon:Gx,ZoomOut:Zx,ZoomOutIcon:Zx,createLucideIcon:a.createLucideIcon,icons:e2e},Symbol.toStringTag,{value:"Module"})),t2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:o,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:l,style:h,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,m=e?{size:e*.5,...s}:s,v=e?{size:e*.4,...l}:l,f={background:t,position:"relative",...h,...y&&{width:y}};return c.jsxs("div",{style:f,className:`stat-card ${u}`,children:[c.jsxs("div",{className:"stat-card-header",children:[c.jsx("div",{className:"stat-card-header-top",style:i,children:n}),o&&c.jsx("div",{className:"stat-card-header-bottom",style:r,children:o})]}),c.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[c.jsx("div",{className:"progress-row-single",children:c.jsx(Ab,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(hj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(Ab,{...v})})]})]}),p&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},uj=k.createContext(void 0),rt=()=>{const e=k.useContext(uj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},a2e=({children:e,defaultActive:t=""})=>{const[n,o]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[l,h]=k.useState(void 0),[u,p]=k.useState({}),y=(m,v)=>{p(f=>({...f,[m]:v}))};return c.jsx(uj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},pj=({categories:e,logo:t="Menu",buttonContent:n,position:o="auto",closeOnClickOutside:i=!0,select:r,topContent:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState("right"),p=k.useRef(null),y=k.useRef(null),{activeNav:m,activeSubNav:v}=rt();k.useEffect(()=>{if(!i)return;const _=g=>{p.current&&!p.current.contains(g.target)&&l(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[i]),k.useEffect(()=>{if(d&&o==="auto"&&y.current){const _=y.current.getBoundingClientRect(),g=window.innerWidth/2;u(_.left<g?"left":"right")}},[d,o]);const f=t?ut[t]:null,M=o==="auto"?h:o;return c.jsxs("div",{className:"dropdown",ref:p,children:[c.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(_=>!_),"aria-expanded":d,"aria-haspopup":"true",children:[f&&c.jsx(f,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((_,g)=>c.jsxs("div",{className:"dropdown-category",children:[_.title&&c.jsx("div",{className:"category-title",children:_.title}),c.jsx("div",{className:"category-items",children:_.items.map((L,w)=>{const C=L.id??L.label,b=m===C||v===C,x=L.select??r;if(L.id==="language"){if(!x||!Array.isArray(x.options)||!x.onChange)return c.jsx("div",{className:"dropdown-language"},w);const S=Array.isArray(x.options)?x.options:[],q=S.some($=>$.code===x.value)?S:[{code:x.value??"",label:String(x.value??"")},...S];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:x.name??"language",className:"language-select",value:x.value??"",onChange:$=>{const P=$.target.value;try{x.onChange(P)}catch(T){console.error("select onChange error",T)}},children:q.map($=>c.jsx("option",{value:$.code,children:$.label},$.code))})},w)}const I={className:`dropdown-item ${b?"active":""}`,onClick:()=>{L.onClick?.(),l(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?c.jsx("button",{type:"button",...I,children:L.label},w):c.jsx("a",{...I,href:L.href,children:L.label},w)})})]},g))]})]})},yj=({children:e,container:t=!1,item:n=!1,parent:o=!1,xs:i,sm:r,md:s,lg:d,xl:l,spacing:h=0,className:u="",uniqueKey:p=0,style:y={},width:m,order:v,onSwap:f,draggable:M=!1,displayNone:_=!1})=>{const[g,L]=k.useState([]);k.useEffect(()=>{const I=$=>{const P=[];return k.Children.forEach($,T=>{Array.isArray(T)?P.push(...I(T)):k.isValidElement(T)&&P.push(T)}),P},j=I(e).filter($=>k.isValidElement($)).map($=>{let P="";const T=$.props;return P=[T.xs?`grid-xs-${T.xs}`:"",T.sm?`grid-sm-${T.sm}`:"",T.md?`grid-md-${T.md}`:"",T.lg?`grid-lg-${T.lg}`:"",T.xl?`grid-xl-${T.xl}`:"",T.className?T.className:""].join(" ").trim(),{node:$,classes:P}});let q=j;v&&v.length>0&&(q=j.map(($,P)=>({...$,node:j[v[P]]?.node??$.node}))),L(q)},[e]);const w=(I,S)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",S.toString()),I.dataTransfer.setData("parentKey",p.toString())},C=I=>{I.preventDefault(),I.stopPropagation()},b=(I,S)=>{I.preventDefault();const j=Number(I.dataTransfer.getData("dragIndex")),q=Number(I.dataTransfer.getData("parentKey"));if(t&&q!==p)return;const $=[...g];let P=-1,T=-1;if($.forEach((N,A)=>{if(k.isValidElement(N.node)){const B=N.node.props;B.uniqueKey===S&&(P=A),B.uniqueKey===j&&(T=A)}}),P===-1||T===-1)return;const V=$[T].node;$[T]={...$[T],node:$[P].node},$[P]={...$[P],node:V},L($),typeof f=="function"&&f(T,P)},x=o?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!o&&m?y={...y,width:`${m}px`}:!o&&!m&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?c.jsx("div",{className:`${u} grid-container ${x}`,style:{"--gap-grid":`${h}rem`,...y},children:g.map(I=>I.node.type?.displayName==="Grid"?M?c.jsx("div",{draggable:!0,onDragStart:S=>w(S,I.node?.props?.uniqueKey),onDragOver:S=>C(S),onDrop:S=>b(S,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):c.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?c.jsx("div",{className:`${u} grid-item ${x} ${_?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):c.jsx(c.Fragment,{children:e})};yj.displayName="Grid";const lL=({imagePath:e,...t})=>{const[n,o]=k.useState(!1);return k.useEffect(()=>{o(!0)},[]),n?c.jsx("div",{className:`logo logo--${t.size}`,children:c.jsx("a",{href:"/",children:c.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):c.jsx("div",{className:"logo logo-placeholder"})},zb=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...l})=>{const{setActiveNav:h}=rt(),u=()=>{h(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),...l,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),role:o?"button":"presentation",tabIndex:o?0:-1,...l,children:t})},kj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=rt(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),v=k.useRef(null);k.useEffect(()=>{const g=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]),k.useEffect(()=>{if(l&&i==="auto"&&m.current){const g=m.current.getBoundingClientRect(),L=window.innerWidth/2;p(g.left<L?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const g=L=>{v.current&&!v.current.contains(L.target)&&m.current&&!m.current.contains(L.target)&&h(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[l]);const f=g=>{t?.(g),h(!1)},M=e.find(g=>g.id===r)||e[0],_=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:m,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[M.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:v,className:`navbar-dropdown ${_}`,children:e.map(g=>c.jsx(zb,{id:g.id,label:g.label,href:g.moduleKey&&o[g.moduleKey]?g.href:void 0,isActive:r===g.id&&g.moduleKey!==void 0&&o[g.moduleKey],onClick:f,highlightColor:n},g.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(g=>c.jsx(zb,{id:g.id,label:g.label,href:g.moduleKey&&o[g.moduleKey]?g.href:void 0,isActive:r===g.id&&g.moduleKey!==void 0&&o[g.moduleKey],onClick:f,highlightColor:n},g.id))})})},mj=k.createContext(void 0),n2e=({children:e,initialTheme:t})=>{const[n,o]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{o(r)},[]);return c.jsx(mj.Provider,{value:{themeName:n,setTheme:i},children:e})},fj=()=>{const e=k.useContext(mj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},hL=()=>{const{themeName:e,setTheme:t}=fj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},H1=({colors:e={},leftIcon:t,rightIcon:n,checked:o=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:l})=>{const h=()=>i?.(!o),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),h())};return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,title:Y(l),className:`switcher ${o?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:h,onKeyDown:u,children:[c.jsx("div",{className:"switcher-circle"}),c.jsxs("div",{className:"switcher-icons",children:[t&&c.jsx("div",{className:"switcher-icon-left",children:t}),n&&c.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Vb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:o="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:l}=hL(),[h,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!h)return null;const p=d===t,y=m=>{l(m?t:e)};return c.jsx(H1,{leftIcon:n,rightIcon:o,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},o2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),Jw=k.memo(o2e),gj=k.createContext(void 0),c2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const o=i=>{n(i)};return c.jsx(gj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},vj=()=>{const e=k.useContext(gj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},eL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:o=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=vj(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(H1,{leftIcon:e||c.jsx(Jw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Jw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:o,a11yConfig:i})},i2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),Qw=k.memo(i2e),Mj=k.createContext(void 0),r2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const o=i=>{n(i)};return c.jsx(Mj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},_j=()=>{const e=k.useContext(Mj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},tL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:o=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=_j(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(H1,{leftIcon:e||c.jsx(Qw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Qw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:o,a11yConfig:i})},xj=k.createContext(void 0),s2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const o=i=>{n(i)};return c.jsx(xj.Provider,{value:{showData:t,switchShowData:o},children:e})},Lj=()=>{const e=k.useContext(xj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},d2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),eC=k.memo(d2e),aL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:o,switchShowData:i}=Lj(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?c.jsx(H1,{checked:o,onToggle:d=>i(d),size:e,leftIcon:c.jsx(eC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(eC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},l2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),Ij=k.memo(l2e);function Pb({items:e,onSave:t,loading:n,disabled:o,saveLabel:i,savingLabel:r,buttonTitle:s}){const[d,l]=k.useState(!1),[h,u]=k.useState(e);k.useEffect(()=>{u(e)},[e]);const p=(m,v)=>{u(f=>f.map(M=>M.component_key===m&&v>3?{...M,visible:!M.visible}:M))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(m=>!m),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(Ij,{fill:"currentColor"})}),d&&c.jsxs("div",{style:{position:"absolute",top:"110%",right:0,minWidth:220,background:"#fff",border:"1px solid var(--color-border)",borderRadius:8,boxShadow:"0 4px 16px rgba(0,0,0,0.08)",zIndex:1e3,padding:12},children:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:h.map((m,v)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:m.visible,disabled:v<4,onChange:()=>p(m.component_key,v),style:{marginRight:8}}),c.jsx("span",{style:{color:v<4?"#6b7280":"#111827"},children:m.label}),v<4&&c.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},m.component_key))}),c.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const h2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:o,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:m}=rt(),v=m?.draggable===!0,f=m?.showData===!0,M=m?.legendFilter===!0,_=m?.componentVisibility===!0&&d&&d.length>0;return c.jsx("header",{className:"header",style:{backgroundColor:i},children:c.jsxs("div",{className:"header-layout-container",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("a",{href:"/",children:c.jsx(lL,{imagePath:e})}),c.jsx(kj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[v&&c.jsx(eL,{}),f&&c.jsx(aL,{}),M&&c.jsx(tL,{}),c.jsx(Vb,{}),_&&c.jsx(Pb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(pj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[v&&c.jsx(eL,{}),f&&c.jsx(aL,{}),M&&c.jsx(tL,{}),c.jsx(Vb,{}),_&&c.jsx(Pb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},bj=({icon:e,text:t,size:n=16,color:o="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const l=e?ut[e]:null,h=s?"a":"div";return c.jsxs(h,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:o},title:Y(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[l&&c.jsx(l,{size:n,"aria-hidden":"true"}),c.jsx("span",{children:t})]})},wj=({children:e,className:t="",style:n,item:o})=>c.jsxs("div",{className:`scrollable-horizontale ${t}`,style:n,children:[c.jsx("div",{className:"scrollable",children:e}),c.jsx("div",{className:"scrollable-dropdown",children:c.jsx(pj,{logo:"BarChart",position:"right",categories:o})})]}),u2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=rt();return c.jsx(wj,{style:n,item:o,children:e?.map(r=>c.jsx(bj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},Cj=({title:e,subtitle:t,text:n,background:o="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,u]=n?n.split("/"):[];return c.jsxs("div",{className:"trend-item",style:{background:o,...d},children:[c.jsxs("div",{className:"trend-left",children:[c.jsx("div",{className:"trend-icon",children:l}),c.jsxs("div",{className:"trend-texts",children:[c.jsx("span",{className:"trend-title",style:i,children:e}),t&&c.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),c.jsxs("div",{className:"trend-right",style:s,children:[c.jsx("span",{className:"trend-right-left",children:h}),c.jsx("span",{className:"trend-right-separator",children:" / "}),c.jsx("span",{className:"trend-right-right",children:u})]})]})},sw=k.createContext({});function qt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const dw=typeof window<"u",lw=dw?k.useLayoutEffect:k.useEffect,uL=k.createContext(null);function hw(e,t){e.indexOf(t)===-1&&e.push(t)}function uw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function p2e([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&o<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const pt=(e,t,n)=>n>t?t:n<e?e:n;function Tb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Yc=()=>{},Ye=()=>{};process.env.NODE_ENV!=="production"&&(Yc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Tb(t,n))},Ye=(e,t,n)=>{if(!e)throw new Error(Tb(t,n))});const yt={},Nj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Sj(e){return typeof e=="object"&&e!==null}const jj=e=>/^0[^.\s]+$/u.test(e);function pw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ue=e=>e,y2e=(e,t)=>n=>t(e(n)),D1=(...e)=>e.reduce(y2e),q1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class yw{constructor(){this.subscriptions=[]}add(t){return hw(this.subscriptions,t),()=>uw(this.subscriptions,t)}notify(t,n,o){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,o);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,o)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Xe=e=>e*1e3,Oe=e=>e/1e3;function $j(e,t){return t?e*(1e3/t):0}const tC=new Set;function kw(e,t,n){e||tC.has(t)||(console.warn(Tb(t,n)),tC.add(t))}const qj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,k2e=1e-7,m2e=12;function f2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=qj(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>k2e&&++d<m2e);return s}function B1(e,t,n,o){if(e===t&&n===o)return Ue;const i=r=>f2e(r,0,1,e,n);return r=>r===0||r===1?r:qj(i(r),t,o)}const Aj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,zj=e=>t=>1-e(1-t),Vj=B1(.33,1.53,.69,.99),mw=zj(Vj),Pj=Aj(mw),Tj=e=>(e*=2)<1?.5*mw(e):.5*(2-Math.pow(2,-10*(e-1))),fw=e=>1-Math.sin(Math.acos(e)),Hj=zj(fw),Dj=Aj(fw),g2e=B1(.42,0,1,1),v2e=B1(0,0,.58,1),Bj=B1(.42,0,.58,1),M2e=e=>Array.isArray(e)&&typeof e[0]!="number",Rj=e=>Array.isArray(e)&&typeof e[0]=="number",aC={linear:Ue,easeIn:g2e,easeInOut:Bj,easeOut:v2e,circIn:fw,circInOut:Dj,circOut:Hj,backIn:mw,backInOut:Pj,backOut:Vj,anticipate:Tj},_2e=e=>typeof e=="string",nC=e=>{if(Rj(e)){Ye(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return B1(t,n,o,i)}else if(_2e(e))return Ye(aC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),aC[e];return e},U1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function x2e(e,t){let n=new Set,o=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(h.schedule(u),e()),u(d)}const h={schedule:(u,p=!1,y=!1)=>{const v=y&&i?n:o;return p&&s.add(u),v.has(u)||v.add(u),u},cancel:u=>{o.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,o]=[o,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const L2e=40;function Fj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=U1.reduce((L,w)=>(L[w]=x2e(r),L),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:m,postRender:v}=s,f=()=>{const L=yt.useManualTiming?i.timestamp:performance.now();n=!1,yt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(L-i.timestamp,L2e),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),m.process(i),v.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(f))},M=()=>{n=!0,o=!0,i.isProcessing||e(f)};return{schedule:U1.reduce((L,w)=>{const C=s[w];return L[w]=(b,x=!1,I=!1)=>(n||M(),C.schedule(b,x,I)),L},{}),cancel:L=>{for(let w=0;w<U1.length;w++)s[U1[w]].cancel(L)},state:i,steps:s}}const{schedule:de,cancel:kt,state:be,steps:VL}=Fj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ue,!0);let Kx;function I2e(){Kx=void 0}const Pe={now:()=>(Kx===void 0&&Pe.set(be.isProcessing||yt.useManualTiming?be.timestamp:performance.now()),Kx),set:e=>{Kx=e,queueMicrotask(I2e)}},Ej=e=>t=>typeof t=="string"&&t.startsWith(e),gw=Ej("--"),b2e=Ej("var(--"),vw=e=>b2e(e)?w2e.test(e.split("/*")[0].trim()):!1,w2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Jc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},A1={...Jc,transform:e=>pt(0,1,e)},W1={...Jc,default:1},w1=e=>Math.round(e*1e5)/1e5,Mw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function C2e(e){return e==null}const N2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,_w=(e,t)=>n=>!!(typeof n=="string"&&N2e.test(n)&&n.startsWith(e)||t&&!C2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Oj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(Mw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},S2e=e=>pt(0,255,e),PL={...Jc,transform:e=>Math.round(S2e(e))},Lc={test:_w("rgb","red"),parse:Oj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+PL.transform(e)+", "+PL.transform(t)+", "+PL.transform(n)+", "+w1(A1.transform(o))+")"};function j2e(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const Hb={test:_w("#"),parse:j2e,transform:Lc.transform},R1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),_t=R1("deg"),it=R1("%"),O=R1("px"),$2e=R1("vh"),q2e=R1("vw"),oC={...it,parse:e=>it.parse(e)/100,transform:e=>it.transform(e*100)},Dc={test:_w("hsl","hue"),parse:Oj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+it.transform(w1(t))+", "+it.transform(w1(n))+", "+w1(A1.transform(o))+")"},ge={test:e=>Lc.test(e)||Hb.test(e)||Dc.test(e),parse:e=>Lc.test(e)?Lc.parse(e):Dc.test(e)?Dc.parse(e):Hb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Lc.transform(e):Dc.transform(e),getAnimatableNone:e=>{const t=ge.parse(e);return t.alpha=0,ge.transform(t)}},A2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function z2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(Mw)?.length||0)+(e.match(A2e)?.length||0)>0}const Uj="number",Wj="color",V2e="var",P2e="var(",cC="${}",T2e=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function z1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(T2e,l=>(ge.test(l)?(o.color.push(r),i.push(Wj),n.push(ge.parse(l))):l.startsWith(P2e)?(o.var.push(r),i.push(V2e),n.push(l)):(o.number.push(r),i.push(Uj),n.push(parseFloat(l))),++r,cC)).split(cC);return{values:n,split:d,indexes:o,types:i}}function Gj(e){return z1(e).values}function Zj(e){const{split:t,types:n}=z1(e),o=t.length;return i=>{let r="";for(let s=0;s<o;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===Uj?r+=w1(i[s]):d===Wj?r+=ge.transform(i[s]):r+=i[s]}return r}}const H2e=e=>typeof e=="number"?0:ge.test(e)?ge.getAnimatableNone(e):e;function D2e(e){const t=Gj(e);return Zj(e)(t.map(H2e))}const $t={test:z2e,parse:Gj,createTransformer:Zj,getAnimatableNone:D2e};function TL(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function B2e({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,l=2*n-d;i=TL(l,d,e+1/3),r=TL(l,d,e),s=TL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function nL(e,t){return n=>n>0?t:e}const he=(e,t,n)=>e+(t-e)*n,HL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},R2e=[Hb,Lc,Dc],F2e=e=>R2e.find(t=>t.test(e));function iC(e){const t=F2e(e);if(Yc(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let n=t.parse(e);return t===Dc&&(n=B2e(n)),n}const rC=(e,t)=>{const n=iC(e),o=iC(t);if(!n||!o)return nL(e,t);const i={...n};return r=>(i.red=HL(n.red,o.red,r),i.green=HL(n.green,o.green,r),i.blue=HL(n.blue,o.blue,r),i.alpha=he(n.alpha,o.alpha,r),Lc.transform(i))},Db=new Set(["none","hidden"]);function E2e(e,t){return Db.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function O2e(e,t){return n=>he(e,t,n)}function xw(e){return typeof e=="number"?O2e:typeof e=="string"?vw(e)?nL:ge.test(e)?rC:G2e:Array.isArray(e)?Kj:typeof e=="object"?ge.test(e)?rC:U2e:nL}function Kj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>xw(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function U2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=xw(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function W2e(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][o[r]],d=e.values[s]??0;n[i]=d,o[r]++}return n}const G2e=(e,t)=>{const n=$t.createTransformer(t),o=z1(e),i=z1(t);return o.indexes.var.length===i.indexes.var.length&&o.indexes.color.length===i.indexes.color.length&&o.indexes.number.length>=i.indexes.number.length?Db.has(e)&&!i.values.length||Db.has(t)&&!o.values.length?E2e(e,t):D1(Kj(W2e(o,i),i.values),n):(Yc(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),nL(e,t))};function Xj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?he(e,t,n):xw(e)(e,t)}const Z2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>de.update(t,n),stop:()=>kt(t),now:()=>be.isProcessing?be.timestamp:Pe.now()}},Yj=(e,t,n=10)=>{let o="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)o+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${o.substring(0,o.length-2)})`},oL=2e4;function Lw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<oL;)t+=n,o=e.next(t);return t>=oL?1/0:t}function K2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(Lw(o),oL);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Oe(i)}}const X2e=5;function Jj(e,t,n){const o=Math.max(t-X2e,0);return $j(n-e(o),t-o)}const ue={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},DL=.001;function Y2e({duration:e=ue.duration,bounce:t=ue.bounce,velocity:n=ue.velocity,mass:o=ue.mass}){let i,r;Yc(e<=Xe(ue.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=pt(ue.minDamping,ue.maxDamping,s),e=pt(ue.minDuration,ue.maxDuration,Oe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Bb(h,s),v=Math.exp(-p);return DL-y/m*v},r=h=>{const p=h*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(h,2)*e,v=Math.exp(-p),f=Bb(Math.pow(h,2),s);return(-i(h)+DL>0?-1:1)*((y-m)*v)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-DL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=Q2e(i,r,d);if(e=Xe(e),isNaN(l))return{stiffness:ue.stiffness,damping:ue.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const J2e=12;function Q2e(e,t,n){let o=n;for(let i=1;i<J2e;i++)o=o-e(o)/t(o);return o}function Bb(e,t){return e*Math.sqrt(1-t*t)}const ede=["duration","bounce"],tde=["stiffness","damping","mass"];function sC(e,t){return t.some(n=>e[n]!==void 0)}function ade(e){let t={velocity:ue.velocity,stiffness:ue.stiffness,damping:ue.damping,mass:ue.mass,isResolvedFromDuration:!1,...e};if(!sC(e,tde)&&sC(e,ede))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*pt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ue.mass,stiffness:i,damping:r}}else{const n=Y2e(e);t={...t,...n,mass:ue.mass},t.isResolvedFromDuration=!0}return t}function cL(e=ue.visualDuration,t=ue.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:l,damping:h,mass:u,duration:p,velocity:y,isResolvedFromDuration:m}=ade({...n,velocity:-Oe(n.velocity||0)}),v=y||0,f=h/(2*Math.sqrt(l*u)),M=s-r,_=Oe(Math.sqrt(l/u)),g=Math.abs(M)<5;o||(o=g?ue.restSpeed.granular:ue.restSpeed.default),i||(i=g?ue.restDelta.granular:ue.restDelta.default);let L;if(f<1){const C=Bb(_,f);L=b=>{const x=Math.exp(-f*_*b);return s-x*((v+f*_*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(f===1)L=C=>s-Math.exp(-_*C)*(M+(v+_*M)*C);else{const C=_*Math.sqrt(f*f-1);L=b=>{const x=Math.exp(-f*_*b),I=Math.min(C*b,300);return s-x*((v+f*_*M)*Math.sinh(I)+C*M*Math.cosh(I))/C}}const w={calculatedDuration:m&&p||null,next:C=>{const b=L(C);if(m)d.done=C>=p;else{let x=C===0?v:0;f<1&&(x=C===0?Xe(v):Jj(L,C,b));const I=Math.abs(x)<=o,S=Math.abs(s-b)<=i;d.done=I&&S}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(Lw(w),oL),b=Yj(x=>w.next(C*x).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}cL.applyToOptions=e=>{const t=K2e(e,100,cL);return e.ease=t.ease,e.duration=Xe(t.duration),e.type="keyframes",e};function Rb({keyframes:e,velocity:t=0,power:n=.8,timeConstant:o=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:s,min:d,max:l,restDelta:h=.5,restSpeed:u}){const p=e[0],y={done:!1,value:p},m=I=>d!==void 0&&I<d||l!==void 0&&I>l,v=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let f=n*t;const M=p+f,_=s===void 0?M:s(M);_!==M&&(f=_-p);const g=I=>-f*Math.exp(-I/o),L=I=>_+g(I),w=I=>{const S=g(I),j=L(I);y.done=Math.abs(S)<=h,y.value=y.done?_:j};let C,b;const x=I=>{m(y.value)&&(C=I,b=cL({keyframes:[y.value,v(y.value)],velocity:Jj(L,I,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return x(0),{calculatedDuration:null,next:I=>{let S=!1;return!b&&C===void 0&&(S=!0,w(I),x(I)),C!==void 0&&I>=C?b.next(I-C):(!S&&w(I),y)}}}function nde(e,t,n){const o=[],i=n||yt.mix||Xj,r=e.length-1;for(let s=0;s<r;s++){let d=i(e[s],e[s+1]);if(t){const l=Array.isArray(t)?t[s]||Ue:t;d=D1(l,d)}o.push(d)}return o}function Qj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ye(r===t.length,"Both input and output ranges must be the same length","range-length"),r===1)return()=>t[0];if(r===2&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[r-1]&&(e=[...e].reverse(),t=[...t].reverse());const d=nde(t,o,i),l=d.length,h=u=>{if(s&&u<e[0])return t[0];let p=0;if(l>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=q1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(pt(e[0],e[r-1],u)):h}function ode(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=q1(0,t,o);e.push(he(n,1,i))}}function cde(e){const t=[0];return ode(t,e.length-1),t}function ide(e,t){return e.map(n=>n*t)}function rde(e,t){return e.map(()=>t||Bj).splice(0,e.length-1)}function Bc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=M2e(o)?o.map(nC):nC(o),r={done:!1,value:t[0]},s=ide(n&&n.length===t.length?n:cde(t),e),d=Qj(s,t,{ease:Array.isArray(i)?i:rde(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const sde=e=>e!==null;function Iw(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(sde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const dde={decay:Rb,inertia:Rb,tween:Bc,keyframes:Bc,spring:cL};function e$(e){typeof e.type=="string"&&(e.type=dde[e.type])}class bw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const lde=e=>e/100;class ww extends bw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Pe.now()&&this.tick(Pe.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=t,this.initAnimation(),this.play(),t.autoplay===!1&&this.pause()}initAnimation(){const{options:t}=this;e$(t);const{type:n=Bc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Bc;process.env.NODE_ENV!=="production"&&l!==Bc&&Ye(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Bc&&typeof d[0]!="number"&&(this.mixKeyframes=D1(lde,Xj(d[0],d[1])),d=[0,100]);const h=l({...t,keyframes:d});r==="mirror"&&(this.mirroredGenerator=l({...t,keyframes:[...d].reverse(),velocity:-s})),h.calculatedDuration===null&&(h.calculatedDuration=Lw(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(o+1)-i,this.generator=h}updateTime(t){const n=Math.round(t-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(t,n=!1){const{generator:o,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:l}=this;if(this.startTime===null)return o.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:m,type:v,onUpdate:f,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const _=this.currentTime-h*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?_<0:_>i;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,w=o;if(p){const I=Math.min(this.currentTime,i)/d;let S=Math.floor(I),j=I%1;!j&&I>=1&&(j=1),j===1&&S--,S=Math.min(S,p+1),!!(S%2)&&(y==="reverse"?(j=1-j,m&&(j-=m/d)):y==="mirror"&&(w=s)),L=pt(0,1,j)*d}const C=g?{done:!1,value:u[0]}:w.next(L);r&&(C.value=r(C.value));let{done:b}=C;!g&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const x=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return x&&v!==Rb&&(C.value=Iw(u,this.options,M,this.speed)),f&&f(C.value),x&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Oe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(this.currentTime)}set time(t){t=Xe(t),this.currentTime=t,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(Pe.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Oe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Z2e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(Pe.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function hde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Ic=e=>e*180/Math.PI,Fb=e=>{const t=Ic(Math.atan2(e[1],e[0]));return Eb(t)},ude={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Fb,rotateZ:Fb,skewX:e=>Ic(Math.atan(e[1])),skewY:e=>Ic(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Eb=e=>(e=e%360,e<0&&(e+=360),e),dC=Fb,lC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),hC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),pde={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:lC,scaleY:hC,scale:e=>(lC(e)+hC(e))/2,rotateX:e=>Eb(Ic(Math.atan2(e[6],e[5]))),rotateY:e=>Eb(Ic(Math.atan2(-e[2],e[0]))),rotateZ:dC,rotate:dC,skewX:e=>Ic(Math.atan(e[4])),skewY:e=>Ic(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Ob(e){return e.includes("scale")?1:0}function Ub(e,t){if(!e||e==="none")return Ob(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=pde,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=ude,i=d}if(!i)return Ob(t);const r=o[t],s=i[1].split(",").map(kde);return typeof r=="function"?r(s):s[r]}const yde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ub(n,t)};function kde(e){return parseFloat(e.trim())}const Qc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],e1=new Set(Qc),uC=e=>e===Jc||e===O,mde=new Set(["x","y","z"]),fde=Qc.filter(e=>!mde.has(e));function gde(e){const t=[];return fde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Cc={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>Ub(t,"x"),y:(e,{transform:t})=>Ub(t,"y")};Cc.translateX=Cc.x;Cc.translateY=Cc.y;const Nc=new Set;let Wb=!1,Gb=!1,Zb=!1;function t$(){if(Gb){const e=Array.from(Nc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=gde(o);i.length&&(n.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=n.get(o);i&&i.forEach(([r,s])=>{o.getValue(r)?.set(s)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Gb=!1,Wb=!1,Nc.forEach(e=>e.complete(Zb)),Nc.clear()}function a$(){Nc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Gb=!0)})}function vde(){Zb=!0,a$(),t$(),Zb=!1}class Cw{constructor(t,n,o,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=o,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Nc.add(this),Wb||(Wb=!0,de.read(a$),de.resolveKeyframes(t$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(o&&n){const d=o.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}hde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Nc.delete(this)}cancel(){this.state==="scheduled"&&(Nc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Mde=e=>e.startsWith("--");function _de(e,t,n){Mde(t)?e.style.setProperty(t,n):e.style[t]=n}const xde=pw(()=>window.ScrollTimeline!==void 0),Lde={};function Ide(e,t){const n=pw(e);return()=>Lde[t]??n()}const n$=Ide(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),l1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,pC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:l1([0,.65,.55,1]),circOut:l1([.55,0,1,.45]),backIn:l1([.31,.01,.66,-.59]),backOut:l1([.33,1.53,.69,.99])};function o$(e,t){if(e)return typeof e=="function"?n$()?Yj(e,t):"ease-out":Rj(e)?l1(e):Array.isArray(e)?e.map(n=>o$(n,t)||pC.easeOut):pC[e]}function bde(e,t,n,{delay:o=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:l}={},h=void 0){const u={[t]:n};l&&(u.offset=l);const p=o$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:o,duration:i,easing:Array.isArray(p)?"linear":p,fill:"both",iterations:r+1,direction:s==="reverse"?"alternate":"normal"};return h&&(y.pseudoElement=h),e.animate(u,y)}function c$(e){return typeof e=="function"&&"applyToOptions"in e}function wde({type:e,...t}){return c$(e)&&n$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Cde extends bw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:o,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,Ye(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=wde(t);this.animation=bde(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Iw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):_de(n,o,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Oe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Oe(t)}get time(){return Oe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Xe(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return Number(this.animation.startTime)}set startTime(t){this.animation.startTime=t}attachTimeline({timeline:t,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&xde()?(this.animation.timeline=t,Ue):n(this)}}const i$={anticipate:Tj,backInOut:Pj,circInOut:Dj};function Nde(e){return e in i$}function Sde(e){typeof e.ease=="string"&&Nde(e.ease)&&(e.ease=i$[e.ease])}const yC=10;class jde extends Cde{constructor(t){Sde(t),e$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:o,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new ww({...s,autoplay:!1}),l=Xe(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-yC).value,d.sample(l).value,yC),d.stop()}}const kC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&($t.test(e)||e==="0")&&!e.startsWith("url("));function $de(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function qde(e,t,n,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=kC(i,t),d=kC(r,t);return Yc(s===d,`You are trying to animate ${t} from "${i}" to "${r}". "${s?r:i}" is not an animatable value.`,"value-not-animatable"),!s||!d?!1:$de(e)||(n==="spring"||c$(n))&&o}function Kb(e){e.duration=0,e.type="keyframes"}const Ade=new Set(["opacity","clipPath","filter","transform"]),zde=pw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Vde(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return zde()&&n&&Ade.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Pde=40;class Tde extends bw{constructor({autoplay:t=!0,delay:n=0,type:o="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:s="loop",keyframes:d,name:l,motionValue:h,element:u,...p}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=Pe.now();const y={autoplay:t,delay:n,type:o,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},m=u?.KeyframeResolver||Cw;this.keyframeResolver=new m(d,(v,f,M)=>this.onKeyframesResolved(v,f,y,!M),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,o,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=o;this.resolvedAt=Pe.now(),qde(t,r,s,d)||((yt.instantAnimations||!l)&&u?.(Iw(t,o,n)),t[0]=t[t.length-1],Kb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Pde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&Vde(y)?new jde({...y,element:y.motionValue.owner.current}):new ww(y);m.finished.then(()=>this.notifyFinished()).catch(Ue),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),vde()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Hde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Dde(e){const t=Hde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Bde=4;function r$(e,t,n=1){Ye(n<=Bde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Dde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return Nj(s)?parseFloat(s):s}return vw(i)?r$(i,t,n+1):i}function Nw(e,t){return e?.[t]??e?.default??e}const s$=new Set(["width","height","top","left","right","bottom",...Qc]),Rde={test:e=>e==="auto",parse:e=>e},d$=e=>t=>t.test(e),l$=[Jc,O,it,_t,q2e,$2e,Rde],mC=e=>l$.find(d$(e));function Fde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||jj(e):!0}const Ede=new Set(["brightness","contrast","saturate","opacity"]);function Ode(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(Mw)||[];if(!o)return e;const i=n.replace(o,"");let r=Ede.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Ude=/\b([a-z-]*)\(.*?\)/gu,Xb={...$t,getAnimatableNone:e=>{const t=e.match(Ude);return t?t.map(Ode).join(" "):e}},fC={...Jc,transform:Math.round},Wde={rotate:_t,rotateX:_t,rotateY:_t,rotateZ:_t,scale:W1,scaleX:W1,scaleY:W1,scaleZ:W1,skew:_t,skewX:_t,skewY:_t,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:A1,originX:oC,originY:oC,originZ:O},Sw={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,backgroundPositionX:O,backgroundPositionY:O,...Wde,zIndex:fC,fillOpacity:A1,strokeOpacity:A1,numOctaves:fC},Gde={...Sw,color:ge,backgroundColor:ge,outlineColor:ge,fill:ge,stroke:ge,borderColor:ge,borderTopColor:ge,borderRightColor:ge,borderBottomColor:ge,borderLeftColor:ge,filter:Xb,WebkitFilter:Xb},h$=e=>Gde[e];function u$(e,t){let n=h$(e);return n!==Xb&&(n=$t),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Zde=new Set(["auto","none","0"]);function Kde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Zde.has(r)&&z1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=u$(n,i)}class Xde extends Cw{constructor(t,n,o,i,r){super(t,n,o,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:o}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<t.length;l++){let h=t[l];if(typeof h=="string"&&(h=h.trim(),vw(h))){const u=r$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!s$.has(o)||t.length!==2)return;const[i,r]=t,s=mC(i),d=mC(r);if(s!==d)if(uC(s)&&uC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Cc[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Fde(t[i]))&&o.push(i);o.length&&Kde(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Cc[o](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(o,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:o}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=o.length-1,s=o[r];o[r]=Cc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function Yde(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=n?.[e]??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const p$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function y$(e){return Sj(e)&&"offsetHeight"in e}const gC=30,Jde=e=>!isNaN(parseFloat(e)),C1={current:void 0};class Qde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=Pe.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(o),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Pe.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Jde(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&kw(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new yw);const o=this.events[t].add(n);return t==="change"?()=>{o(),de.read(()=>{this.events.change.getSize()||this.stop()})}:o}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,n,o){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-o}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return C1.current&&C1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Pe.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>gC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,gC);return $j(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Sc(e,t){return new Qde(e,t)}const{schedule:jw}=Fj(queueMicrotask,!1),Ze={x:!1,y:!1};function k$(){return Ze.x||Ze.y}function e0e(e){return e==="x"||e==="y"?Ze[e]?null:(Ze[e]=!0,()=>{Ze[e]=!1}):Ze.x||Ze.y?null:(Ze.x=Ze.y=!0,()=>{Ze.x=Ze.y=!1})}function m$(e,t){const n=Yde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function vC(e){return!(e.pointerType==="touch"||k$())}function t0e(e,t,n={}){const[o,i,r]=m$(e,n),s=d=>{if(!vC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{vC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const f$=(e,t)=>t?e===t?!0:f$(e,t.parentElement):!1,$w=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,a0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function n0e(e){return a0e.has(e.tagName)||e.tabIndex!==-1}const Xx=new WeakSet;function MC(e){return t=>{t.key==="Enter"&&e(t)}}function BL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const o0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=MC(()=>{if(Xx.has(n))return;BL(n,"down");const i=MC(()=>{BL(n,"up")}),r=()=>BL(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",o,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",o),t)};function _C(e){return $w(e)&&!k$()}function c0e(e,t,n={}){const[o,i,r]=m$(e,n),s=d=>{const l=d.currentTarget;if(!_C(d))return;Xx.add(l);const h=t(l,d),u=(m,v)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Xx.has(l)&&Xx.delete(l),_C(m)&&typeof h=="function"&&h(m,{success:v})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||f$(l,m.target))},y=m=>{u(m,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return o.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),y$(d)&&(d.addEventListener("focus",h=>o0e(h,i)),!n0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function g$(e){return Sj(e)&&"ownerSVGElement"in e}function i0e(e){return g$(e)&&e.tagName==="svg"}function r0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=Qj(i,r,s);return t?d(o):d}const we=e=>!!(e&&e.getVelocity),s0e=[...l$,ge,$t],d0e=e=>s0e.find(d$(e)),pL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function xC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function l0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=xC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<o.length;i++){const r=o[i];typeof r=="function"?r():xC(e[i],null)}}}}function h0e(...e){return Z.useCallback(l0e(...e),e)}class u0e extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=y$(o)&&o.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p0e({children:e,isPresent:t,anchorX:n,root:o}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(pL),l=h0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:h,height:u,top:p,left:y,right:m}=s.current;if(t||!r.current||!h||!u)return;const v=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const f=document.createElement("style");d&&(f.nonce=d);const M=o??document.head;return M.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
8162
8162
|
[data-motion-pop-id="${i}"] {
|
|
8163
8163
|
position: absolute !important;
|
|
8164
8164
|
width: ${h}px !important;
|
|
@@ -8166,15 +8166,15 @@
|
|
|
8166
8166
|
${v}px !important;
|
|
8167
8167
|
top: ${p}px !important;
|
|
8168
8168
|
}
|
|
8169
|
-
`),()=>{M.contains(f)&&M.removeChild(f)}},[t]),c.jsx(u0e,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const y0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=qt(k0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:m=>{h.set(m,!0);for(const v of h.values())if(!v)return;o&&o()},register:m=>(h.set(m,!1),()=>h.delete(m))}),[n,h,o]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((m,v)=>h.set(v,!1))},[n]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(p0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(uL.Provider,{value:y,children:e})};function k0e(){return new Map}function v$(e=!0){const t=k.useContext(uL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&o&&o(r),[r,o,e]);return!n&&o?[!1,s]:[!0]}const G1=e=>e.key||"";function LC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const m0e=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=v$(s),p=k.useMemo(()=>LC(e),[e]),y=s&&!h?[]:p.map(G1),m=k.useRef(!0),v=k.useRef(p),f=qt(()=>new Map),[M,_]=k.useState(p),[g,L]=k.useState(p);lw(()=>{m.current=!1,v.current=p;for(let b=0;b<g.length;b++){const x=G1(g[b]);y.includes(x)?f.delete(x):f.get(x)!==!0&&f.set(x,!1)}},[g,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let x=0;x<g.length;x++){const I=g[x],S=G1(I);y.includes(S)||(b.splice(x,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(LC(b)),_(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&g.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=k.useContext(sw);return c.jsx(c.Fragment,{children:g.map(b=>{const x=G1(b),I=s&&!h?!1:p===g||y.includes(x),S=()=>{if(f.has(x))f.set(x,!0);else return;let j=!0;f.forEach(q=>{q||(j=!1)}),j&&(C?.(),L(v.current),s&&u?.(),o&&o())};return c.jsx(y0e,{isPresent:I,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:I?void 0:S,anchorX:d,children:b},x)})})},M$=k.createContext({strict:!1}),IC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xc={};for(const e in IC)Xc[e]={isEnabled:t=>IC[e].some(n=>!!t[n])};function f0e(e){for(const t in e)Xc[t]={...Xc[t],...e[t]}}const g0e=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function iL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||g0e.has(e)}let _$=e=>!iL(e);function v0e(e){typeof e=="function"&&(_$=t=>t.startsWith("on")?!iL(t):e(t))}try{v0e(require("@emotion/is-prop-valid").default)}catch{}function M0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(_$(i)||n===!0&&iL(i)||!t&&!iL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const yL=k.createContext({});function kL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function V1(e){return typeof e=="string"||Array.isArray(e)}const qw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Aw=["initial",...qw];function mL(e){return kL(e.animate)||Aw.some(t=>V1(e[t]))}function x$(e){return!!(mL(e)||e.variants)}function _0e(e,t){if(mL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||V1(n)?n:void 0,animate:V1(o)?o:void 0}}return e.inherit!==!1?t:{}}function x0e(e){const{initial:t,animate:n}=_0e(e,k.useContext(yL));return k.useMemo(()=>({initial:t,animate:n}),[bC(t),bC(n)])}function bC(e){return Array.isArray(e)?e.join(" "):e}const P1={};function L0e(e){for(const t in e)P1[t]=e[t],gw(t)&&(P1[t].isCSSVariable=!0)}function L$(e,{layout:t,layoutId:n}){return e1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!P1[e]||e==="opacity")}const I0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},b0e=Qc.length;function w0e(e,t,n){let o="",i=!0;for(let r=0;r<b0e;r++){const s=Qc[r],d=e[s];if(d===void 0)continue;let l=!0;if(typeof d=="number"?l=d===(s.startsWith("scale")?1:0):l=parseFloat(d)===0,!l||n){const h=p$(d,Sw[s]);if(!l){i=!1;const u=I0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function zw(e,t,n){const{style:o,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(e1.has(l)){s=!0;continue}else if(gw(l)){i[l]=h;continue}else{const u=p$(h,Sw[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=w0e(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;o.transformOrigin=`${l} ${h} ${u}`}}const Vw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function I$(e,t,n){for(const o in t)!we(t[o])&&!L$(o,n)&&(e[o]=t[o])}function C0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Vw();return zw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function N0e(e,t){const n=e.style||{},o={};return I$(o,n,e),Object.assign(o,C0e(e,t)),o}function S0e(e,t){const n={},o=N0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const j0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},$0e={offset:"strokeDashoffset",array:"strokeDasharray"};function q0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?j0e:$0e;e[r.offset]=O.transform(-o);const s=O.transform(t),d=O.transform(n);e[r.array]=`${s} ${d}`}function b$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(zw(e,d,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),o!==void 0&&(p.scale=o),i!==void 0&&q0e(p,i,r,s,!1)}const w$=()=>({...Vw(),attrs:{}}),C$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function A0e(e,t,n,o){const i=k.useMemo(()=>{const r=w$();return b$(r,t,C$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};I$(r,e.style,e),i.style={...r,...i.style}}return i}const z0e=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Pw(e){return typeof e!="string"||e.includes("-")?!1:!!(z0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function V0e(e,t,n,{latestValues:o},i,r=!1){const d=(Pw(e)?A0e:S0e)(t,o,i,e),l=M0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>we(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function wC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function Tw(e,t,n,o){if(typeof t=="function"){const[i,r]=wC(o);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=wC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Yx(e){return we(e)?e.get():e}function P0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:T0e(n,o,i,e),renderState:t()}}function T0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Yx(r[y]);let{initial:s,animate:d}=e;const l=mL(e),h=x$(e);t&&h&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!kL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const v=Tw(e,y[m]);if(v){const{transitionEnd:f,transition:M,..._}=v;for(const g in _){let L=_[g];if(Array.isArray(L)){const w=u?L.length-1:0;L=L[w]}L!==null&&(i[g]=L)}for(const g in f)i[g]=f[g]}}}return i}const N$=e=>(t,n)=>{const o=k.useContext(yL),i=k.useContext(uL),r=()=>P0e(e,t,o,i);return n?r():qt(r)};function Hw(e,t,n){const{style:o}=e,i={};for(const r in o)(we(o[r])||t.style&&we(t.style[r])||L$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const H0e=N$({scrapeMotionValuesFromProps:Hw,createRenderState:Vw});function S$(e,t,n){const o=Hw(e,t,n);for(const i in e)if(we(e[i])||we(t[i])){const r=Qc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const D0e=N$({scrapeMotionValuesFromProps:S$,createRenderState:w$}),B0e=Symbol.for("motionComponentSymbol");function Rc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function R0e(e,t,n){return k.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):Rc(n)&&(n.current=o))},[t])}const Dw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),F0e="framerAppearId",j$="data-"+Dw(F0e),$$=k.createContext({});function E0e(e,t,n,o,i){const{visualElement:r}=k.useContext(yL),s=k.useContext(M$),d=k.useContext(uL),l=k.useContext(pL).reducedMotion,h=k.useRef(null);o=o||s.renderer,!h.current&&o&&(h.current=o(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext($$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&O0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[j$],v=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return lw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),v.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!v.current&&u.animationState&&u.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),v.current=!1),u.enteringChildren=void 0)}),u}function O0e(e,t,n,o){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:q$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Rc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function q$(e){if(e)return e.options.allowProjection!==!1?e.projection:q$(e.parent)}function RL(e,{forwardMotionProps:t=!1}={},n,o){n&&f0e(n);const i=Pw(e)?D0e:H0e;function r(d,l){let h;const u={...k.useContext(pL),...d,layoutId:U0e(d)},{isStatic:p}=u,y=x0e(d),m=i(d,p);if(!p&&dw){W0e(u,n);const v=G0e(u);h=v.MeasureLayout,y.visualElement=E0e(e,m,u,o,v.ProjectionNode)}return c.jsxs(yL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,V0e(e,d,R0e(m,y.visualElement,l),m,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[B0e]=e,s}function U0e({layoutId:e}){const t=k.useContext(sw).id;return t&&e!==void 0?t+"-"+e:e}function W0e(e,t){const n=k.useContext(M$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Yc(!1,o,"lazy-strict-mode"):Ye(!1,o,"lazy-strict-mode")}}function G0e(e){const{drag:t,layout:n}=Xc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function Z0e(e,t){if(typeof Proxy>"u")return RL;const n=new Map,o=(r,s)=>RL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&kw(!1,"motion() is deprecated. Use motion.create() instead."),o(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?o:(n.has(s)||n.set(s,RL(s,void 0,e,t)),n.get(s))})}function A$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function K0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function X0e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function FL(e){return e===void 0||e===1}function Yb({scale:e,scaleX:t,scaleY:n}){return!FL(e)||!FL(t)||!FL(n)}function xc(e){return Yb(e)||z$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function z$(e){return CC(e.x)||CC(e.y)}function CC(e){return e&&e!=="0%"}function rL(e,t,n){const o=e-n,i=t*o;return n+i}function NC(e,t,n,o,i){return i!==void 0&&(e=rL(e,i,o)),rL(e,n,o)+t}function Jb(e,t=0,n=1,o,i){e.min=NC(e.min,t,n,o,i),e.max=NC(e.max,t,n,o,i)}function V$(e,{x:t,y:n}){Jb(e.x,t.translate,t.scale,t.originPoint),Jb(e.y,n.translate,n.scale,n.originPoint)}const SC=.999999999999,jC=1.0000000000001;function Y0e(e,t,n,o=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Ec(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,V$(e,s)),o&&xc(r.latestValues)&&Ec(e,r.latestValues))}t.x<jC&&t.x>SC&&(t.x=1),t.y<jC&&t.y>SC&&(t.y=1)}function Fc(e,t){e.min=e.min+t,e.max=e.max+t}function $C(e,t,n,o,i=.5){const r=le(e.min,e.max,i);Jb(e,t,n,r,o)}function Ec(e,t){$C(e.x,t.x,t.scaleX,t.scale,t.originX),$C(e.y,t.y,t.scaleY,t.scale,t.originY)}function P$(e,t){return A$(X0e(e.getBoundingClientRect(),t))}function J0e(e,t,n){const o=P$(e,n),{scroll:i}=t;return i&&(Fc(o.x,i.offset.x),Fc(o.y,i.offset.y)),o}const qC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Oc=()=>({x:qC(),y:qC()}),AC=()=>({min:0,max:0}),me=()=>({x:AC(),y:AC()}),Qb={current:null},T$={current:!1};function Q0e(){if(T$.current=!0,!!dw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qb.current=e.matches;e.addEventListener("change",t),t()}else Qb.current=!1}const ele=new WeakMap;function tle(e,t,n){for(const o in t){const i=t[o],r=n[o];if(we(i))e.addValue(o,i);else if(we(r))e.addValue(o,Sc(i,{owner:e}));else if(r!==i)if(e.hasValue(o)){const s=e.getValue(o);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,Sc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const zC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ale{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Cw,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=Pe.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,se.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=mL(n),this.isVariantNode=x$(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in p){const m=p[y];l[y]!==void 0&&we(m)&&m.set(l[y])}}mount(t){this.current=t,ele.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),T$.current||Q0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qb.current,process.env.NODE_ENV!=="production"&&kw(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),kt(this.notifyUpdate),kt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=e1.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&se.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Xc){const n=Xc[t];if(!n)continue;const{isEnabled:o,Feature:i}=n;if(!this.features[t]&&i&&o(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):me()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;o<zC.length;o++){const i=zC[o];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=tle(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=Sc(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Nj(o)||jj(o))?o=parseFloat(o):!d0e(o)&&$t.test(n)&&(o=u$(t,n)),this.setBaseTarget(t,we(o)?o.get():o)),we(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const r=Tw(this.props,n,this.presenceContext?.custom);r&&(o=r[t])}if(n&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!we(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new yw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){jw.render(this.render)}}class H$ extends ale{constructor(){super(...arguments),this.KeyframeResolver=Xde}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;we(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function D$(e,{style:t,vars:n},o,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,o);for(s in n)r.setProperty(s,n[s])}function nle(e){return window.getComputedStyle(e)}class ole extends H${constructor(){super(...arguments),this.type="html",this.renderInstance=D$}readValueFromInstance(t,n){if(e1.has(n))return this.projection?.isProjecting?Ob(n):yde(t,n);{const o=nle(t),i=(gw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return P$(t,n)}build(t,n,o){zw(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Hw(t,n,o)}}const B$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function cle(e,t,n,o){D$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(B$.has(i)?i:Dw(i),t.attrs[i])}class ile extends H${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=me}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(e1.has(n)){const o=h$(n);return o&&o.default||0}return n=B$.has(n)?n:Dw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return S$(t,n,o)}build(t,n,o){b$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){cle(t,n,o,i)}mount(t){this.isSVGTag=C$(t.tagName),super.mount(t)}}const rle=(e,t)=>Pw(e)?new ile(t):new ole(t,{allowProjection:e!==k.Fragment});function Kc(e,t,n){const o=e.getProps();return Tw(o,t,n!==void 0?n:o.custom,e)}const ew=e=>Array.isArray(e);function sle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Sc(n))}function dle(e){return ew(e)?e[e.length-1]||0:e}function lle(e,t){const n=Kc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=dle(r[s]);sle(e,s,d)}}function hle(e){return!!(we(e)&&e.add)}function tw(e,t){const n=e.getValue("willChange");if(hle(n))return n.add(t);if(!n&&yt.WillChange){const o=new yt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function R$(e){return e.props[j$]}const ule=e=>e!==null;function ple(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(ule),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const yle={type:"spring",stiffness:500,damping:25,restSpeed:10},kle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),mle={type:"keyframes",duration:.8},fle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},gle=(e,{keyframes:t})=>t.length>2?mle:e1.has(e)?e.startsWith("scale")?kle(t[1]):yle:fle;function vle({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const Bw=(e,t,n,o={},i,r)=>s=>{const d=Nw(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Xe(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-h,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:r?void 0:i};vle(d)||Object.assign(u,gle(e,u)),u.duration&&(u.duration=Xe(u.duration)),u.repeatDelay&&(u.repeatDelay=Xe(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Kb(u),u.delay===0&&(p=!0)),(yt.instantAnimations||yt.skipAnimations)&&(p=!0,Kb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ple(u.keyframes,d);if(y!==void 0){se.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new ww(u):new Tde(u)};function Mle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function F$(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;o&&(r=o);const l=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||h&&Mle(h,u))continue;const m={delay:n,...Nw(r||{},u)},v=p.get();if(v!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===v&&!m.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){const _=R$(e);if(_){const g=window.MotionHandoffAnimation(_,u,se);g!==null&&(m.startTime=g,f=!0)}}tw(e,u),p.start(Bw(u,p,y,e.shouldReduceMotion&&s$.has(u)?{type:!1}:m,e,f));const M=p.animation;M&&l.push(M)}return s&&Promise.all(l).then(()=>{se.update(()=>{s&&lle(e,s)})}),l}function E$(e,t,n,o=0,i=1){const r=Array.from(e).sort((h,u)=>h.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*o;return typeof n=="function"?n(r,s):i===1?r*o:d-r*o}function aw(e,t,n={}){const o=Kc(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const r=o?()=>Promise.all(F$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return _le(e,t,l,h,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[l,h]=d==="beforeChildren"?[r,s]:[s,r];return l().then(()=>h())}else return Promise.all([r(),s(n.delay)])}function _le(e,t,n=0,o=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(aw(l,t,{...s,delay:n+(typeof o=="function"?0:o)+E$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function xle(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>aw(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=aw(e,t,n);else{const i=typeof t=="function"?Kc(e,t,n.custom):t;o=Promise.all(F$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function O$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}const Lle=Aw.length;function U$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?U$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Lle;n++){const o=Aw[n],i=e.props[o];(V1(i)||i===!1)&&(t[o]=i)}return t}const Ile=[...qw].reverse(),ble=qw.length;function wle(e){return t=>Promise.all(t.map(({animation:n,options:o})=>xle(e,n,o)))}function Cle(e){let t=wle(e),n=VC(),o=!0;const i=l=>(h,u)=>{const p=Kc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...v}=p;h={...h,...v,...m}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=U$(e.parent)||{},p=[],y=new Set;let m={},v=1/0;for(let M=0;M<ble;M++){const _=Ile[M],g=n[_],L=h[_]!==void 0?h[_]:u[_],w=V1(L),C=_===l?g.isActive:null;C===!1&&(v=M);let b=L===u[_]&&L!==h[_]&&w;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...m},!g.isActive&&C===null||!L&&!g.prevProp||kL(L)||typeof L=="boolean")continue;const x=Nle(g.prevProp,L);let I=x||_===l&&g.isActive&&!b&&w||M>v&&w,S=!1;const j=Array.isArray(L)?L:[L];let q=j.reduce(i(_),{});C===!1&&(q={});const{prevResolvedValues:$={}}=g,P={...$,...q},T=A=>{I=!0,y.has(A)&&(S=!0,y.delete(A)),g.needsAnimating[A]=!0;const B=e.getValue(A);B&&(B.liveStyle=!1)};for(const A in P){const B=q[A],R=$[A];if(m.hasOwnProperty(A))continue;let H=!1;ew(B)&&ew(R)?H=!O$(B,R):H=B!==R,H?B!=null?T(A):y.add(A):B!==void 0&&y.has(A)?T(A):g.protectedKeys[A]=!0}g.prevProp=L,g.prevResolvedValues=q,g.isActive&&(m={...m,...q}),o&&e.blockInitialAnimation&&(I=!1);const z=b&&x;I&&(!z||S)&&p.push(...j.map(A=>{const B={type:_};if(typeof A=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,H=Kc(R,A);if(R.enteringChildren&&H){const{delayChildren:Z}=H.transition||{};B.delay=E$(R.enteringChildren,e,Z)}}return{animation:A,options:B}}))}if(y.size){const M={};if(typeof h.initial!="boolean"){const _=Kc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(M.transition=_.transition)}y.forEach(_=>{const g=e.getBaseTarget(_),L=e.getValue(_);L&&(L.liveStyle=!0),M[_]=g??null}),p.push({animation:M})}let f=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(p):Promise.resolve()}function d(l,h){if(n[l].isActive===h)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(l,h)),n[l].isActive=h;const u=s(l);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=VC()}}}function Nle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!O$(t,e):!1}function Tt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function VC(){return{animate:Tt(!0),whileInView:Tt(),whileHover:Tt(),whileTap:Tt(),whileDrag:Tt(),whileFocus:Tt(),exit:Tt()}}class At{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Sle extends At{constructor(t){super(t),t.animationState||(t.animationState=Cle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();kL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let jle=0;class $le extends At{constructor(){super(...arguments),this.id=jle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const qle={animation:{Feature:Sle},exit:{Feature:$le}};function T1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function F1(e){return{point:{x:e.pageX,y:e.pageY}}}const Ale=e=>t=>$w(t)&&e(t,F1(t));function N1(e,t,n,o){return T1(e,t,Ale(n),o)}const W$=1e-4,zle=1-W$,Vle=1+W$,G$=.01,Ple=0-G$,Tle=0+G$;function qe(e){return e.max-e.min}function Hle(e,t,n){return Math.abs(e-t)<=n}function PC(e,t,n,o=.5){e.origin=o,e.originPoint=le(t.min,t.max,e.origin),e.scale=qe(n)/qe(t),e.translate=le(n.min,n.max,e.origin)-e.originPoint,(e.scale>=zle&&e.scale<=Vle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ple&&e.translate<=Tle||isNaN(e.translate))&&(e.translate=0)}function S1(e,t,n,o){PC(e.x,t.x,n.x,o?o.originX:void 0),PC(e.y,t.y,n.y,o?o.originY:void 0)}function TC(e,t,n){e.min=n.min+t.min,e.max=e.min+qe(t)}function Dle(e,t,n){TC(e.x,t.x,n.x),TC(e.y,t.y,n.y)}function HC(e,t,n){e.min=t.min-n.min,e.max=e.min+qe(t)}function j1(e,t,n){HC(e.x,t.x,n.x),HC(e.y,t.y,n.y)}function Fe(e){return[e("x"),e("y")]}const Z$=({current:e})=>e?e.ownerDocument.defaultView:null,DC=(e,t)=>Math.abs(e-t);function Ble(e,t){const n=DC(e.x,t.x),o=DC(e.y,t.y);return Math.sqrt(n**2+o**2)}class K${constructor(t,n,{transformPagePoint:o,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=OL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=Ble(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!v)return;const{point:f}=y,{timestamp:M}=be;this.history.push({...f,timestamp:M});const{onStart:_,onMove:g}=this.handlers;m||(_&&_(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,y)},this.handlePointerMove=(y,m)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=EL(m,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:v,onSessionEnd:f,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=OL(y.type==="pointercancel"?this.lastMoveEventInfo:EL(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(y,_),f&&f(y,_)},!$w(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=F1(t),l=EL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=be;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,OL(l,this.history)),this.removeListeners=D1(N1(this.contextWindow,"pointermove",this.handlePointerMove),N1(this.contextWindow,"pointerup",this.handlePointerUp),N1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),kt(this.updatePoint)}}function EL(e,t){return t?{point:t(e.point)}:e}function BC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function OL({point:e},t){return{point:e,delta:BC(e,X$(t)),offset:BC(e,Rle(t)),velocity:Fle(t,.1)}}function Rle(e){return e[0]}function X$(e){return e[e.length-1]}function Fle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=X$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Xe(t)));)n--;if(!o)return{x:0,y:0};const r=Oe(i.timestamp-o.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ele(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?le(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?le(n,e,o.max):Math.min(e,n)),e}function RC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Ole(e,{top:t,left:n,bottom:o,right:i}){return{x:RC(e.x,n,i),y:RC(e.y,t,o)}}function FC(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function Ule(e,t){return{x:FC(e.x,t.x),y:FC(e.y,t.y)}}function Wle(e,t){let n=.5;const o=qe(e),i=qe(t);return i>o?n=q1(t.min,t.max-o,e.min):o>i&&(n=q1(e.min,e.max-i,t.min)),pt(0,1,n)}function Gle(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const nw=.35;function Zle(e=nw){return e===!1?e=0:e===!0&&(e=nw),{x:EC(e,"left","right"),y:EC(e,"top","bottom")}}function EC(e,t,n){return{min:OC(e,t),max:OC(e,n)}}function OC(e,t){return typeof e=="number"?e:e[t]||0}const Kle=new WeakMap;class Xle{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=me(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:o}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(F1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:v,onDragStart:f}=this.getProps();if(m&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=e0e(m),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Fe(_=>{let g=this.getAxisMotionValue(_).get()||0;if(it.test(g)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[_];w&&(g=qe(w)*(parseFloat(g)/100))}}this.originPoint[_]=g}),f&&se.postRender(()=>f(p,y)),tw(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:f,onDrag:M}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:_}=y;if(v&&this.currentDirection===null){this.currentDirection=Yle(_),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",y.point,_),this.updateAxis("y",y.point,_),this.visualElement.render(),M&&M(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Fe(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new K$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:Z$(this.visualElement)})}stop(t,n){const o=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!o)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&se.postRender(()=>d(o,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:i}=this.getProps();if(!o||!Z1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Ele(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Rc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ole(o.layoutBox,t):this.constraints=!1,this.elastic=Zle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Fe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Gle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Rc(t))return!1;const o=t.current;Ye(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=J0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Ule(i.layout.layoutBox,r);if(n){const d=n(K0e(s));this.hasMutatedConstraints=!!d,d&&(s=A$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Fe(u=>{if(!Z1(u,n,this.currentDirection))return;let p=l&&l[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,m=i?40:1e7,v={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,v)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return tw(this.visualElement,t),o.start(Bw(t,o,0,n,this.visualElement,!1))}stopAnimation(){Fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),i=o[n];return i||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Fe(n=>{const{drag:o}=this.getProps();if(!Z1(n,o,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:d}=i.layout.layoutBox[n];r.set(t[n]-le(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Rc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Wle({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Fe(s=>{if(!Z1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(le(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;Kle.set(this.visualElement,this);const t=this.visualElement.current,n=N1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Rc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),se.read(o);const s=T1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Fe(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=l[u].translate,p.set(p.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=nw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function Z1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Yle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jle extends At{constructor(t){super(t),this.removeGroupControls=Ue,this.removeListeners=Ue,this.controls=new Xle(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ue}unmount(){this.removeGroupControls(),this.removeListeners()}}const UC=e=>(t,n)=>{e&&se.postRender(()=>e(t,n))};class Qle extends At{constructor(){super(...arguments),this.removePointerDownListener=Ue}onPointerDown(t){this.session=new K$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Z$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:UC(t),onStart:UC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&se.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=N1(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Jx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function WC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const c1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;const n=WC(e,t.target.x),o=WC(e,t.target.y);return`${n}% ${o}%`}},ehe={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=$t.parse(e);if(i.length>5)return o;const r=$t.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=l;const h=le(d,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=h),typeof i[3+s]=="number"&&(i[3+s]/=h),r(i)}};let UL=!1;class the extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;L0e(ahe),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),UL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Jx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,UL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||se.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),jw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;UL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),o&&o.deregister&&o.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Y$(e){const[t,n]=v$(),o=k.useContext(sw);return c.jsx(the,{...e,layoutGroup:o,switchLayoutGroup:k.useContext($$),isPresent:t,safeToRemove:n})}const ahe={borderRadius:{...c1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c1,borderTopRightRadius:c1,borderBottomLeftRadius:c1,borderBottomRightRadius:c1,boxShadow:ehe};function nhe(e,t,n){const o=we(e)?e:Sc(e);return o.start(Bw("",o,t,n)),o.animation}const ohe=(e,t)=>e.depth-t.depth;class che{constructor(){this.children=[],this.isDirty=!1}add(t){hw(this.children,t),this.isDirty=!0}remove(t){uw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ohe),this.isDirty=!1,this.children.forEach(t)}}function ihe(e,t){const n=Pe.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(kt(o),e(r-t))};return se.setup(o,!0),()=>kt(o)}const J$=["TopLeft","TopRight","BottomLeft","BottomRight"],rhe=J$.length,GC=e=>typeof e=="string"?parseFloat(e):e,ZC=e=>typeof e=="number"||O.test(e);function she(e,t,n,o,i,r){i?(e.opacity=le(0,n.opacity??1,dhe(o)),e.opacityExit=le(t.opacity??1,0,lhe(o))):r&&(e.opacity=le(t.opacity??1,n.opacity??1,o));for(let s=0;s<rhe;s++){const d=`border${J$[s]}Radius`;let l=KC(t,d),h=KC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||ZC(l)===ZC(h)?(e[d]=Math.max(le(GC(l),GC(h),o),0),(it.test(h)||it.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=le(t.rotate||0,n.rotate||0,o))}function KC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const dhe=Q$(0,.5,Hj),lhe=Q$(.5,.95,Ue);function Q$(e,t,n){return o=>o<e?0:o>t?1:n(q1(e,t,o))}function XC(e,t){e.min=t.min,e.max=t.max}function De(e,t){XC(e.x,t.x),XC(e.y,t.y)}function YC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function JC(e,t,n,o,i){return e-=t,e=rL(e,1/n,o),i!==void 0&&(e=rL(e,1/i,o)),e}function hhe(e,t=0,n=1,o=.5,i,r=e,s=e){if(it.test(t)&&(t=parseFloat(t),t=le(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=le(r.min,r.max,o);e===r&&(d-=t),e.min=JC(e.min,t,n,d,i),e.max=JC(e.max,t,n,d,i)}function QC(e,t,[n,o,i],r,s){hhe(e,t[n],t[o],t[i],t.scale,r,s)}const uhe=["x","scaleX","originX"],phe=["y","scaleY","originY"];function eN(e,t,n,o){QC(e.x,t,uhe,n?n.x:void 0,o?o.x:void 0),QC(e.y,t,phe,n?n.y:void 0,o?o.y:void 0)}function tN(e){return e.translate===0&&e.scale===1}function eq(e){return tN(e.x)&&tN(e.y)}function aN(e,t){return e.min===t.min&&e.max===t.max}function yhe(e,t){return aN(e.x,t.x)&&aN(e.y,t.y)}function nN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function tq(e,t){return nN(e.x,t.x)&&nN(e.y,t.y)}function oN(e){return qe(e.x)/qe(e.y)}function cN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class khe{constructor(){this.members=[]}add(t){hw(this.members,t),t.scheduleRender()}remove(t){if(uw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let o;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mhe(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:m,skewY:v}=n;h&&(o=`perspective(${h}px) ${o}`),u&&(o+=`rotate(${u}deg) `),p&&(o+=`rotateX(${p}deg) `),y&&(o+=`rotateY(${y}deg) `),m&&(o+=`skewX(${m}deg) `),v&&(o+=`skewY(${v}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(o+=`scale(${d}, ${l})`),o||"none"}const WL=["","X","Y","Z"],fhe=1e3;let ghe=0;function GL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function aq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=R$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",se,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&aq(o)}function nq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=ghe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(_he),this.nodes.forEach(bhe),this.nodes.forEach(whe),this.nodes.forEach(xhe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new che)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new yw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const l=this.eventHandlers.get(s);l&&l.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=g$(s)&&!i0e(s),this.instance=s;const{layoutId:d,layout:l,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;se.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=ihe(y,250),Jx.hasAnimatedSinceResize&&(Jx.hasAnimatedSinceResize=!1,this.nodes.forEach(sN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||h.getDefaultTransition()||$he,{onLayoutAnimationStart:f,onLayoutAnimationComplete:M}=h.getProps(),_=!this.targetLayout||!tq(this.targetLayout,m),g=!p&&y;if(this.options.layoutRoot||this.resumeFrom||g||p&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Nw(v,"layout"),onPlay:f,onComplete:M};(h.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,g)}else p||sN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),kt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Che),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&aq(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:d,layout:l}=this.options;if(d===void 0&&!l)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(rN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ihe),this.nodes.forEach(vhe),this.nodes.forEach(Mhe)):this.nodes.forEach(rN),this.clearAllSnapshots();const d=Pe.now();be.delta=pt(0,1e3/60,d-be.timestamp),be.timestamp=d,be.isProcessing=!0,VL.update.process(be),VL.preRender.process(be),VL.render.process(be),be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,jw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Lhe),this.sharedNodes.forEach(Nhe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,se.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){se.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!qe(this.snapshot.measuredBox.x)&&!qe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=me(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(d=!1),d&&this.instance){const l=o(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!eq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||xc(this.latestValues)||u)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let l=this.removeElementScroll(d);return s&&(l=this.removeTransform(l)),qhe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return me();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Ahe))){const{scroll:h}=this.root;h&&(Fc(d.x,h.offset.x),Fc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=me();if(De(d,s),this.scroll?.wasRoot)return d;for(let l=0;l<this.path.length;l++){const h=this.path[l],{scroll:u,options:p}=h;h!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&De(d,s),Fc(d.x,u.offset.x),Fc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=me();De(l,s);for(let h=0;h<this.path.length;h++){const u=this.path[h];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ec(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),xc(u.latestValues)&&Ec(l,u.latestValues)}return xc(this.latestValues)&&Ec(l,this.latestValues),l}removeTransform(s){const d=me();De(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!xc(h.latestValues))continue;Yb(h.latestValues)&&h.updateSnapshot();const u=me(),p=h.measurePageBox();De(u,p),eN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return xc(this.latestValues)&&eN(d,this.latestValues),d}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==be.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==d;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=be.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=me(),this.relativeTargetOrigin=me(),j1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=me(),this.targetWithTransforms=me()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Dle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),V$(this.target,this.targetDelta)):De(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=me(),this.relativeTargetOrigin=me(),j1(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Yb(this.parent.latestValues)||z$(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const s=this.getLead(),d=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===be.timestamp&&(l=!1),l)return;const{layout:h,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||u))return;De(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;Y0e(this.layoutCorrected,this.treeScale,this.path,d),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=me());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(YC(this.prevProjectionDelta.x,this.projectionDelta.x),YC(this.prevProjectionDelta.y,this.projectionDelta.y)),S1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!cN(this.projectionDelta.x,this.prevProjectionDelta.x)||!cN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Oc(),this.projectionDelta=Oc(),this.projectionDeltaWithTransform=Oc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Oc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=me(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,f=m!==v,M=this.getStack(),_=!M||M.members.length<=1,g=!!(f&&!_&&this.options.crossfade===!0&&!this.path.some(jhe));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;dN(p.x,s.x,C),dN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(j1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),She(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&yhe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=me()),De(L,this.relativeTarget)),f&&(this.animationValues=u,she(u,h,this.latestValues,C,g,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(kt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Jx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Sc(0)),this.currentAnimation=nhe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),s.onUpdate&&s.onUpdate(d)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fhe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:l,layout:h,latestValues:u}=s;if(!(!d||!l||!h)){if(this!==s&&this.layout&&h&&oq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||me();const p=qe(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=qe(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}De(d,l),Ec(d,u),S1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new khe),this.sharedNodes.get(s).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:l}={}){const h=this.getStack();h&&h.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(d=!0),!d)return;const h={};l.z&&GL("z",s,h,this.animationValues);for(let u=0;u<WL.length;u++)GL(`rotate${WL[u]}`,s,h,this.animationValues),GL(`skew${WL[u]}`,s,h,this.animationValues);s.render();for(const u in h)s.setStaticValue(u,h[u]),this.animationValues&&(this.animationValues[u]=h[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Yx(d?.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Yx(d?.pointerEvents)||""),this.hasProjected&&!xc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=mhe(this.projectionDeltaWithTransform,this.treeScale,u);l&&(p=l(u,p)),s.transform=p;const{x:y,y:m}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${m.origin*100}% 0`,h.animationValues?s.opacity=h===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=h===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const v in P1){if(u[v]===void 0)continue;const{correct:f,applyTo:M,isCSSVariable:_}=P1[v],g=p==="none"?u[v]:f(u[v],h);if(M){const L=M.length;for(let w=0;w<L;w++)s[M[w]]=g}else _?this.options.visualElement.renderState.vars[v]=g:s[v]=g}this.options.layoutId&&(s.pointerEvents=h===this?Yx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(iN),this.root.sharedNodes.clear()}}}function vhe(e){e.updateLayout()}function Mhe(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=qe(p);p.min=n[u].min,p.max=p.min+y}):oq(i,t.layoutBox,n)&&Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=qe(n[u]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+y)});const s=Oc();S1(s,n,t.layoutBox);const d=Oc();r?S1(d,e.applyTransform(o,!0),t.measuredBox):S1(d,n,t.layoutBox);const l=!eq(s);let h=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const m=me();j1(m,t.layoutBox,p.layoutBox);const v=me();j1(v,n,y.layoutBox),tq(m,v)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=m,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function _he(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function xhe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Lhe(e){e.clearSnapshot()}function iN(e){e.clearMeasurements()}function rN(e){e.isLayoutDirty=!1}function Ihe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function sN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bhe(e){e.resolveTargetDelta()}function whe(e){e.calcProjection()}function Che(e){e.resetSkewAndRotation()}function Nhe(e){e.removeLeadSnapshot()}function dN(e,t,n){e.translate=le(t.translate,0,n),e.scale=le(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lN(e,t,n,o){e.min=le(t.min,n.min,o),e.max=le(t.max,n.max,o)}function She(e,t,n,o){lN(e.x,t.x,n.x,o),lN(e.y,t.y,n.y,o)}function jhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $he={duration:.45,ease:[.4,0,.1,1]},hN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),uN=hN("applewebkit/")&&!hN("chrome/")?Math.round:Ue;function pN(e){e.min=uN(e.min),e.max=uN(e.max)}function qhe(e){pN(e.x),pN(e.y)}function oq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Hle(oN(t),oN(n),.2)}function Ahe(e){return e!==e.root&&e.scroll?.wasRoot}const zhe=nq({attachResizeListener:(e,t)=>T1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ZL={current:void 0},cq=nq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ZL.current){const e=new zhe({});e.mount(window),e.setOptions({layoutScroll:!0}),ZL.current=e}return ZL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Vhe={pan:{Feature:Qle},drag:{Feature:Jle,ProjectionNode:cq,MeasureLayout:Y$}};function yN(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=o[i];r&&se.postRender(()=>r(t,F1(t)))}class Phe extends At{mount(){const{current:t}=this.node;t&&(this.unmount=t0e(t,(n,o)=>(yN(this.node,o,"Start"),i=>yN(this.node,i,"End"))))}unmount(){}}class The extends At{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=D1(T1(this.node.current,"focus",()=>this.onFocus()),T1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function kN(e,t,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=o[i];r&&se.postRender(()=>r(t,F1(t)))}class Hhe extends At{mount(){const{current:t}=this.node;t&&(this.unmount=c0e(t,(n,o)=>(kN(this.node,o,"Start"),(i,{success:r})=>kN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ow=new WeakMap,KL=new WeakMap,Dhe=e=>{const t=ow.get(e.target);t&&t(e)},Bhe=e=>{e.forEach(Dhe)};function Rhe({root:e,...t}){const n=e||document;KL.has(n)||KL.set(n,{});const o=KL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Bhe,{root:e,...t})),o[i]}function Fhe(e,t,n){const o=Rhe(t);return ow.set(e,n),o.observe(e),()=>{ow.delete(e),o.unobserve(e)}}const Ehe={some:0,all:1};class Ohe extends At{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Ehe[i]},d=l=>{const{isIntersecting:h}=l;if(this.isInView===h||(this.isInView=h,r&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=h?u:p;y&&y(l)};return Fhe(this.node.current,s,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Uhe(t,n))&&this.startObserver()}unmount(){}}function Uhe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Whe={inView:{Feature:Ohe},tap:{Feature:Hhe},focus:{Feature:The},hover:{Feature:Phe}},Ghe={layout:{ProjectionNode:cq,MeasureLayout:Y$}},Zhe={...qle,...Whe,...Vhe,...Ghe},Rw=Z0e(Zhe,rle);function iq(e){const t=qt(()=>Sc(e)),{isStatic:n}=k.useContext(pL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function rq(e,t){const n=iq(t()),o=()=>n.set(t());return o(),lw(()=>{const i=()=>se.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),kt(o)}}),n}function Khe(e){C1.current=[],e();const t=rq(C1.current,e);return C1.current=void 0,t}function Xhe(e,t,n,o){if(typeof e=="function")return Khe(e);const i=typeof t=="function"?t:r0e(t,n,o);return Array.isArray(e)?mN(e,i):mN([e],([r])=>i(r))}function mN(e,t){const n=qt(()=>[]);return rq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Yhe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Jhe=()=>new Yhe;function Qhe(){return qt(Jhe)}const sq=k.createContext(null);function eue(e,t,n,o){if(!o)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=o>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=le(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?p2e(e,i,i+r):e}function tue({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=qt(()=>Rw[t]),l=[],h=k.useRef(!1);Ye(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=l.findIndex(v=>p===v.value);m!==-1?l[m].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(oue)},updateOrder:(p,y,m)=>{if(h.current)return;const v=eue(l,p,y,m);l!==v&&(h.current=!0,o(v.map(nue).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(sq.Provider,{value:u,children:e})})}const aue=k.forwardRef(tue);function nue(e){return e.value}function oue(e,t){return e.layout.min-t.layout.min}function fN(e,t=0){return we(e)?e:iq(t)}function cue({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=qt(()=>Rw[o]),h=k.useContext(sq),u={x:fN(t.x),y:fN(t.y)},p=Xhe([u.x,u.y],([f,M])=>f||M?1:"unset");Ye(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:v}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(f,M)=>{const{velocity:_}=M;_[y]&&v(n,u[y].get(),_[y]),i&&i(f,M)},onLayoutMeasure:f=>m(n,f),ref:d,ignoreStrict:!0,children:e})}const iue=k.forwardRef(cue),sL=[c.jsx(b1,{size:18}),c.jsx(It,{size:18}),c.jsx(x1,{size:18}),c.jsx(bt,{size:18}),c.jsx(y1,{size:18}),c.jsx(p1,{size:18})],rue=({items:e,onReorder:t,draggable:n=!1,className:o,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,l]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((h,u)=>{if(h.icon==null&&(h.icon=sL[u%sL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),v=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(v){const f=v[1],M=v[2]??"",_=f.padStart(3,"0");h.text=`${y} / ${_}${M}`}}}),l(e)):l([])},[e]),c.jsxs("div",{className:`trend-list ${o??""}`,draggable:n,style:{position:"relative"},children:[c.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),c.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:c.jsx(aue,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(sue,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function sue({value:e,index:t}){const n=Qhe(),o=sL[t%sL.length]??null;return c.jsx(iue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:c.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[c.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:c.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:c.jsxs("g",{fill:"currentColor",children:[c.jsx("circle",{cx:"8",cy:"6",r:"2"}),c.jsx("circle",{cx:"16",cy:"6",r:"2"}),c.jsx("circle",{cx:"8",cy:"12",r:"2"}),c.jsx("circle",{cx:"16",cy:"12",r:"2"}),c.jsx("circle",{cx:"8",cy:"18",r:"2"}),c.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),c.jsx("div",{style:{flex:1},children:c.jsx(Cj,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??o})})]})})}function due(e,t){return t.required?t.type==="checkbox"&&!e?{isValid:!1,error:`${t.label} est requis`}:!e||typeof e=="string"&&e.trim()===""?{isValid:!1,error:`${t.label} est requis`}:null:null}function lue(e){return!e||typeof e=="string"&&e.trim()===""}function hue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function uue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function pue(e,t){const n=Number(e);return isNaN(n)?{isValid:!1,error:"Doit être un nombre valide"}:t.validation?.min!==void 0&&n<Number(t.validation.min)?{isValid:!1,error:`Doit être ≥ ${t.validation.min}`}:t.validation?.max!==void 0&&n>Number(t.validation.max)?{isValid:!1,error:`Doit être ≤ ${t.validation.max}`}:null}function yue(e,t){return t.validation?.minDate&&new Date(e)<new Date(t.validation.minDate)?{isValid:!1,error:`Doit être après ${t.validation.minDate}`}:t.validation?.maxDate&&new Date(e)>new Date(t.validation.maxDate)?{isValid:!1,error:`Doit être avant ${t.validation.maxDate}`}:null}function kue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),o=e.type;if(!n.some(i=>o.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${o}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function mue(e,t){return t.validation?t.validation.minLength&&e.length<t.validation.minLength?{isValid:!1,error:`Minimum ${t.validation.minLength} caractères`}:t.validation.maxLength&&e.length>t.validation.maxLength?{isValid:!1,error:`Maximum ${t.validation.maxLength} caractères`}:t.validation.pattern&&!new RegExp(t.validation.pattern).test(e)?{isValid:!1,error:"Format invalide"}:null:null}function dL(e,t){const n=due(e,t);if(n)return n;if(lue(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=hue(o);if(r)return r;break}case"url":{const r=uue(o);if(r)return r;break}case"number":{const r=pue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=yue(e,t);if(r)return r;break}case"file":{const r=kue(e,t);if(r)return r;break}}const i=mue(o,t);return i||{isValid:!0}}function dq(e,t){const n={};let o=!0;for(const i of t){const r=dL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const fue="_formContainer_14ads_1",gue="_headerLine_14ads_17",vue="_formTitle_14ads_25",Mue="_formDescription_14ads_30",_ue="_sectionTitle_14ads_37",xue="_sectionHelp_14ads_44",Lue="_fieldHelp_14ads_50",Iue="_gridContainer_14ads_58",bue="_fieldGridItem_14ads_70",wue="_sectionFull_14ads_105",Cue="_formFooter_14ads_110",Nue="_footerLeft_14ads_118",Sue="_footerRight_14ads_119",jue="_cancelLink_14ads_125",$ue="_submitButton_14ads_136",que="_fieldLabel_14ads_148",Aue="_inputWrapper_14ads_163",zue="_inputInner_14ads_187",Vue="_hasPrefix_14ads_196",Pue="_inputBase_14ads_196",Tue="_iconPrefix_14ads_292",Hue="_iconSuffix_14ads_293",Due="_passwordToggle_14ads_319",Bue="_fieldError_14ads_365",Rue="_fieldInvalid_14ads_372",re={formContainer:fue,headerLine:gue,formTitle:vue,formDescription:Mue,sectionTitle:_ue,sectionHelp:xue,fieldHelp:Lue,gridContainer:Iue,fieldGridItem:bue,sectionFull:wue,formFooter:Cue,footerLeft:Nue,footerRight:Sue,cancelLink:jue,submitButton:$ue,fieldLabel:que,inputWrapper:Aue,inputInner:zue,hasPrefix:Vue,inputBase:Pue,iconPrefix:Tue,iconSuffix:Hue,passwordToggle:Due,fieldError:Bue,fieldInvalid:Rue},lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const[s,d]=k.useState(!1),l=e.type==="password",h=e.attributes?.showPasswordToggle??!0,u=l?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?ut[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",m=v=>{n(v.target.value)};return c.jsxs("div",{className:re.inputWrapper,children:[c.jsx("label",{className:`${re.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${re.inputInner} ${p&&y==="prefix"?re.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:re.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${re.inputBase} ${i?re.fieldInvalid:""}`,value:t??"",onChange:m,onBlur:o,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&c.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:re.passwordToggle,onClick:()=>d(v=>!v),children:s?c.jsx(g1,{size:16}):c.jsx(v1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:re.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:re.fieldError,children:i})]})},Fue="_fieldGroup_yb3zi_7",Eue="_fieldLabel_yb3zi_11",Oue="_required_yb3zi_17",Uue="_fieldInput_yb3zi_22",Wue="_fieldInvalid_yb3zi_40",Gue="_fieldValid_yb3zi_44",Zue="_fieldError_yb3zi_48",Kue="_radioGroup_yb3zi_57",Ct={fieldGroup:Fue,fieldLabel:Eue,required:Oue,fieldInput:Uue,fieldInvalid:Wue,fieldValid:Gue,fieldError:Zue,radioGroup:Kue},fL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:Ct.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${Ct.fieldLabel} ${e.required?Ct.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:Ct.fieldError,children:n})]})},hq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Ct.fieldInput,s?Ct.fieldInvalid:"",d?Ct.fieldValid:""].filter(Boolean).join(" ");return c.jsx(fL,{field:e,error:i,touched:r,children:c.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:o,rows:4})})},Xue="_wrapper_117u4_1",Yue="_wrapperInvalid_117u4_15",Jue="_nativeSelect_117u4_19",Que="_display_117u4_30",epe="_topLabel_117u4_37",tpe="_valueLine_117u4_45",ape="_valuePlaceholder_117u4_53",npe="_valueActive_117u4_57",ope="_caret_117u4_61",cpe="_error_117u4_75",ipe="_optionStyle_117u4_89",Be={wrapper:Xue,wrapperInvalid:Yue,nativeSelect:Jue,display:Que,topLabel:epe,valueLine:tpe,valuePlaceholder:ape,valueActive:npe,caret:ope,error:cpe,optionStyle:ipe},Fw=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",l=e.placeholder||"",h=e.options?.find(u=>String(u.value)===String(t))?.label??"";return c.jsxs("div",{className:`${Be.wrapper} ${s?Be.wrapperInvalid:""} ${t?Be.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:Be.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:o,"aria-invalid":s,"aria-label":d,children:[c.jsx("option",{value:"",disabled:!0,hidden:!0,children:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>c.jsx("option",{value:u.value,className:Be.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:Be.display,children:[d&&c.jsx("span",{className:Be.topLabel,children:d}),c.jsx("span",{className:`${Be.valueLine} ${t?Be.valueActive:Be.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:Be.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:Be.error,children:i})]})},uq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(fL,{field:e,error:i,touched:r,children:c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),pq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(fL,{field:e,error:i,touched:r,children:c.jsx("div",{className:Ct.radioGroup,children:e.options?.map(s=>c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),rpe="_fileInputContainer_r2guc_3",spe="_customFileInput_r2guc_8",dpe="_fileInputLabel_r2guc_12",lpe="_dragOver_r2guc_39",hpe="_uploadIcon_r2guc_44",upe="_uploadText_r2guc_50",ppe="_uploadHint_r2guc_56",ype="_fileList_r2guc_60",kpe="_fileListTitle_r2guc_69",mpe="_fileItem_r2guc_80",fpe="_fileIcon_r2guc_96",gpe="_fileName_r2guc_102",vpe="_fileSize_r2guc_108",Mpe="_removeButton_r2guc_114",_pe="_errorText_r2guc_129",Ne={fileInputContainer:rpe,customFileInput:spe,fileInputLabel:dpe,dragOver:lpe,uploadIcon:hpe,uploadText:upe,uploadHint:ppe,fileList:ype,fileListTitle:kpe,fileItem:mpe,fileIcon:fpe,fileName:gpe,fileSize:vpe,removeButton:Mpe,errorText:_pe},yq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),l(!0)},y=()=>{l(!1)},m=M=>{M.preventDefault(),l(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},v=M=>{if(!t)return;const _=Array.from(t);_.splice(M,1);const g=new DataTransfer;_.forEach(L=>g.items.add(L)),n(g.files)},f=M=>{if(M===0)return"0 Bytes";const _=1024,g=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(M)/Math.log(_));return parseFloat((M/Math.pow(_,L)).toFixed(2))+" "+g[L]};return c.jsxs("div",{className:`${Ne.fileInputContainer} ${r&&i?Ne.hasError:""}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:h,onBlur:o,ref:s,className:Ne.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${Ne.fileInputLabel} ${d?Ne.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[c.jsx("div",{className:Ne.uploadIcon,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),c.jsx("path",{d:"M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"})]})}),c.jsx("div",{className:Ne.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:Ne.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:Ne.fileList,children:[c.jsx("div",{className:Ne.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((M,_)=>c.jsxs("li",{className:Ne.fileItem,children:[c.jsx("div",{className:Ne.fileIcon,children:c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:c.jsx("path",{d:"M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"})})}),c.jsx("div",{className:Ne.fileName,children:M.name}),c.jsx("div",{className:Ne.fileSize,children:f(M.size)}),c.jsx("button",{type:"button",className:Ne.removeButton,onClick:g=>{g.stopPropagation(),v(_)},"aria-label":`Supprimer ${M.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),c.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},_))})]}),r&&i&&c.jsx("div",{className:Ne.errorText,children:i})]})},xpe="_container_ecah4_2",Lpe="_label_ecah4_6",Ipe="_requiredIndicator_ecah4_13",bpe="_input_ecah4_18",wpe="_inputError_ecah4_49",Cpe="_errorMessage_ecah4_58",Tc={container:xpe,label:Lpe,requiredIndicator:Ipe,input:bpe,inputError:wpe,errorMessage:Cpe},kq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const l=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return c.jsxs("div",{className:Tc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Tc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Tc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Tc.input} ${r&&i?Tc.inputError:""}`,style:{color:s,backgroundColor:d},min:e.validation?.min,max:e.validation?.max,step:e.type==="time"?e.attributes?.step:void 0,disabled:e.disabled}),r&&i&&c.jsx("div",{className:Tc.errorMessage,children:i})]})},Npe="_rangeContainer_cyqk3_3",Spe={rangeContainer:Npe},mq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${Spe.rangeContainer}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:o,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),jpe="_colorPickerContainer_1wxgj_2",$pe="_colorInput_1wxgj_19",qpe="_colorValue_1wxgj_39",XL={colorPickerContainer:jpe,colorInput:$pe,colorValue:qpe},fq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:"mb-3",children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsxs("div",{className:XL.colorPickerContainer,children:[c.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:o,className:XL.colorInput}),c.jsx("span",{className:XL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),gq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return c.jsx(yq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(kq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(mq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(fq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Fw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(uq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(pq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var YL,gN;function Ape(){if(gN)return YL;gN=1;function e(){this.__data__=[],this.size=0}return YL=e,YL}var JL,vN;function vq(){if(vN)return JL;vN=1;function e(t,n){return t===n||t!==t&&n!==n}return JL=e,JL}var QL,MN;function gL(){if(MN)return QL;MN=1;var e=vq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return QL=t,QL}var eI,_N;function zpe(){if(_N)return eI;_N=1;var e=gL(),t=Array.prototype,n=t.splice;function o(i){var r=this.__data__,s=e(r,i);if(s<0)return!1;var d=r.length-1;return s==d?r.pop():n.call(r,s,1),--this.size,!0}return eI=o,eI}var tI,xN;function Vpe(){if(xN)return tI;xN=1;var e=gL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return tI=t,tI}var aI,LN;function Ppe(){if(LN)return aI;LN=1;var e=gL();function t(n){return e(this.__data__,n)>-1}return aI=t,aI}var nI,IN;function Tpe(){if(IN)return nI;IN=1;var e=gL();function t(n,o){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,o])):i[r][1]=o,this}return nI=t,nI}var oI,bN;function vL(){if(bN)return oI;bN=1;var e=Ape(),t=zpe(),n=Vpe(),o=Ppe(),i=Tpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,oI=r,oI}var cI,wN;function Hpe(){if(wN)return cI;wN=1;var e=vL();function t(){this.__data__=new e,this.size=0}return cI=t,cI}var iI,CN;function Dpe(){if(CN)return iI;CN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return iI=e,iI}var rI,NN;function Bpe(){if(NN)return rI;NN=1;function e(t){return this.__data__.get(t)}return rI=e,rI}var sI,SN;function Rpe(){if(SN)return sI;SN=1;function e(t){return this.__data__.has(t)}return sI=e,sI}var dI,jN;function Mq(){if(jN)return dI;jN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return dI=e,dI}var lI,$N;function mt(){if($N)return lI;$N=1;var e=Mq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return lI=n,lI}var hI,qN;function Ew(){if(qN)return hI;qN=1;var e=mt(),t=e.Symbol;return hI=t,hI}var uI,AN;function Fpe(){if(AN)return uI;AN=1;var e=Ew(),t=Object.prototype,n=t.hasOwnProperty,o=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),l=s[i];try{s[i]=void 0;var h=!0}catch{}var u=o.call(s);return h&&(d?s[i]=l:delete s[i]),u}return uI=r,uI}var pI,zN;function Epe(){if(zN)return pI;zN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return pI=n,pI}var yI,VN;function ML(){if(VN)return yI;VN=1;var e=Ew(),t=Fpe(),n=Epe(),o="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:o:r&&r in Object(d)?t(d):n(d)}return yI=s,yI}var kI,PN;function _q(){if(PN)return kI;PN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return kI=e,kI}var mI,TN;function xq(){if(TN)return mI;TN=1;var e=ML(),t=_q(),n="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==o||l==i||l==n||l==r}return mI=s,mI}var fI,HN;function Ope(){if(HN)return fI;HN=1;var e=mt(),t=e["__core-js_shared__"];return fI=t,fI}var gI,DN;function Upe(){if(DN)return gI;DN=1;var e=Ope(),t=function(){var o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function n(o){return!!t&&t in o}return gI=n,gI}var vI,BN;function Lq(){if(BN)return vI;BN=1;var e=Function.prototype,t=e.toString;function n(o){if(o!=null){try{return t.call(o)}catch{}try{return o+""}catch{}}return""}return vI=n,vI}var MI,RN;function Wpe(){if(RN)return MI;RN=1;var e=xq(),t=Upe(),n=_q(),o=Lq(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,l=s.toString,h=d.hasOwnProperty,u=RegExp("^"+l.call(h).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var m=e(y)?u:r;return m.test(o(y))}return MI=p,MI}var _I,FN;function Gpe(){if(FN)return _I;FN=1;function e(t,n){return t?.[n]}return _I=e,_I}var xI,EN;function t1(){if(EN)return xI;EN=1;var e=Wpe(),t=Gpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return xI=n,xI}var LI,ON;function Ow(){if(ON)return LI;ON=1;var e=t1(),t=mt(),n=e(t,"Map");return LI=n,LI}var II,UN;function _L(){if(UN)return II;UN=1;var e=t1(),t=e(Object,"create");return II=t,II}var bI,WN;function Zpe(){if(WN)return bI;WN=1;var e=_L();function t(){this.__data__=e?e(null):{},this.size=0}return bI=t,bI}var wI,GN;function Kpe(){if(GN)return wI;GN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return wI=e,wI}var CI,ZN;function Xpe(){if(ZN)return CI;ZN=1;var e=_L(),t="__lodash_hash_undefined__",n=Object.prototype,o=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return o.call(s,r)?s[r]:void 0}return CI=i,CI}var NI,KN;function Ype(){if(KN)return NI;KN=1;var e=_L(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return NI=o,NI}var SI,XN;function Jpe(){if(XN)return SI;XN=1;var e=_L(),t="__lodash_hash_undefined__";function n(o,i){var r=this.__data__;return this.size+=this.has(o)?0:1,r[o]=e&&i===void 0?t:i,this}return SI=n,SI}var jI,YN;function Qpe(){if(YN)return jI;YN=1;var e=Zpe(),t=Kpe(),n=Xpe(),o=Ype(),i=Jpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,jI=r,jI}var $I,JN;function eye(){if(JN)return $I;JN=1;var e=Qpe(),t=vL(),n=Ow();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return $I=o,$I}var qI,QN;function tye(){if(QN)return qI;QN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return qI=e,qI}var AI,eS;function xL(){if(eS)return AI;eS=1;var e=tye();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return AI=t,AI}var zI,tS;function aye(){if(tS)return zI;tS=1;var e=xL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return zI=t,zI}var VI,aS;function nye(){if(aS)return VI;aS=1;var e=xL();function t(n){return e(this,n).get(n)}return VI=t,VI}var PI,nS;function oye(){if(nS)return PI;nS=1;var e=xL();function t(n){return e(this,n).has(n)}return PI=t,PI}var TI,oS;function cye(){if(oS)return TI;oS=1;var e=xL();function t(n,o){var i=e(this,n),r=i.size;return i.set(n,o),this.size+=i.size==r?0:1,this}return TI=t,TI}var HI,cS;function Iq(){if(cS)return HI;cS=1;var e=eye(),t=aye(),n=nye(),o=oye(),i=cye();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,HI=r,HI}var DI,iS;function iye(){if(iS)return DI;iS=1;var e=vL(),t=Ow(),n=Iq(),o=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<o-1)return l.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(l)}return d.set(r,s),this.size=d.size,this}return DI=i,DI}var BI,rS;function rye(){if(rS)return BI;rS=1;var e=vL(),t=Hpe(),n=Dpe(),o=Bpe(),i=Rpe(),r=iye();function s(d){var l=this.__data__=new e(d);this.size=l.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=i,s.prototype.set=r,BI=s,BI}var RI,sS;function sye(){if(sS)return RI;sS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return RI=t,RI}var FI,dS;function dye(){if(dS)return FI;dS=1;function e(t){return this.__data__.has(t)}return FI=e,FI}var EI,lS;function lye(){if(lS)return EI;lS=1;var e=Iq(),t=sye(),n=dye();function o(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return o.prototype.add=o.prototype.push=t,o.prototype.has=n,EI=o,EI}var OI,hS;function hye(){if(hS)return OI;hS=1;function e(t,n){for(var o=-1,i=t==null?0:t.length;++o<i;)if(n(t[o],o,t))return!0;return!1}return OI=e,OI}var UI,uS;function uye(){if(uS)return UI;uS=1;function e(t,n){return t.has(n)}return UI=e,UI}var WI,pS;function bq(){if(pS)return WI;pS=1;var e=lye(),t=hye(),n=uye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,v=d.length;if(m!=v&&!(y&&v>m))return!1;var f=p.get(s),M=p.get(d);if(f&&M)return f==d&&M==s;var _=-1,g=!0,L=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++_<m;){var w=s[_],C=d[_];if(h)var b=y?h(C,w,_,d,s,p):h(w,C,_,s,d,p);if(b!==void 0){if(b)continue;g=!1;break}if(L){if(!t(d,function(x,I){if(!n(L,I)&&(w===x||u(w,x,l,h,p)))return L.push(I)})){g=!1;break}}else if(!(w===C||u(w,C,l,h,p))){g=!1;break}}return p.delete(s),p.delete(d),g}return WI=r,WI}var GI,yS;function pye(){if(yS)return GI;yS=1;var e=mt(),t=e.Uint8Array;return GI=t,GI}var ZI,kS;function yye(){if(kS)return ZI;kS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return ZI=e,ZI}var KI,mS;function kye(){if(mS)return KI;mS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return KI=e,KI}var XI,fS;function mye(){if(fS)return XI;fS=1;var e=Ew(),t=pye(),n=vq(),o=bq(),i=yye(),r=kye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",v="[object Set]",f="[object String]",M="[object Symbol]",_="[object ArrayBuffer]",g="[object DataView]",L=e?e.prototype:void 0,w=L?L.valueOf:void 0;function C(b,x,I,S,j,q,$){switch(I){case g:if(b.byteLength!=x.byteLength||b.byteOffset!=x.byteOffset)return!1;b=b.buffer,x=x.buffer;case _:return!(b.byteLength!=x.byteLength||!q(new t(b),new t(x)));case l:case h:case y:return n(+b,+x);case u:return b.name==x.name&&b.message==x.message;case m:case f:return b==x+"";case p:var P=i;case v:var T=S&s;if(P||(P=r),b.size!=x.size&&!T)return!1;var z=$.get(b);if(z)return z==x;S|=d,$.set(b,x);var N=o(P(b),P(x),S,j,q,$);return $.delete(b),N;case M:if(w)return w.call(b)==w.call(x)}return!1}return XI=C,XI}var YI,gS;function fye(){if(gS)return YI;gS=1;function e(t,n){for(var o=-1,i=n.length,r=t.length;++o<i;)t[r+o]=n[o];return t}return YI=e,YI}var JI,vS;function Uw(){if(vS)return JI;vS=1;var e=Array.isArray;return JI=e,JI}var QI,MS;function gye(){if(MS)return QI;MS=1;var e=fye(),t=Uw();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return QI=n,QI}var eb,_S;function vye(){if(_S)return eb;_S=1;function e(t,n){for(var o=-1,i=t==null?0:t.length,r=0,s=[];++o<i;){var d=t[o];n(d,o,t)&&(s[r++]=d)}return s}return eb=e,eb}var tb,xS;function Mye(){if(xS)return tb;xS=1;function e(){return[]}return tb=e,tb}var ab,LS;function _ye(){if(LS)return ab;LS=1;var e=vye(),t=Mye(),n=Object.prototype,o=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return o.call(s,d)}))}:t;return ab=r,ab}var nb,IS;function xye(){if(IS)return nb;IS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return nb=e,nb}var ob,bS;function LL(){if(bS)return ob;bS=1;function e(t){return t!=null&&typeof t=="object"}return ob=e,ob}var cb,wS;function Lye(){if(wS)return cb;wS=1;var e=ML(),t=LL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return cb=o,cb}var ib,CS;function Iye(){if(CS)return ib;CS=1;var e=Lye(),t=LL(),n=Object.prototype,o=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&o.call(s,"callee")&&!i.call(s,"callee")};return ib=r,ib}var h1={exports:{}},rb,NS;function bye(){if(NS)return rb;NS=1;function e(){return!1}return rb=e,rb}h1.exports;var SS;function wq(){return SS||(SS=1,function(e,t){var n=mt(),o=bye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,l=d?d.isBuffer:void 0,h=l||o;e.exports=h}(h1,h1.exports)),h1.exports}var sb,jS;function wye(){if(jS)return sb;jS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(o,i){var r=typeof o;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(o))&&o>-1&&o%1==0&&o<i}return sb=n,sb}var db,$S;function Cq(){if($S)return db;$S=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return db=t,db}var lb,qS;function Cye(){if(qS)return lb;qS=1;var e=ML(),t=Cq(),n=LL(),o="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",l="[object Function]",h="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",m="[object Set]",v="[object String]",f="[object WeakMap]",M="[object ArrayBuffer]",_="[object DataView]",g="[object Float32Array]",L="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",x="[object Uint8Array]",I="[object Uint8ClampedArray]",S="[object Uint16Array]",j="[object Uint32Array]",q={};q[g]=q[L]=q[w]=q[C]=q[b]=q[x]=q[I]=q[S]=q[j]=!0,q[o]=q[i]=q[M]=q[r]=q[_]=q[s]=q[d]=q[l]=q[h]=q[u]=q[p]=q[y]=q[m]=q[v]=q[f]=!1;function $(P){return n(P)&&t(P.length)&&!!q[e(P)]}return lb=$,lb}var hb,AS;function Nye(){if(AS)return hb;AS=1;function e(t){return function(n){return t(n)}}return hb=e,hb}var u1={exports:{}};u1.exports;var zS;function Sye(){return zS||(zS=1,function(e,t){var n=Mq(),o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===o,s=r&&n.process,d=function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(u1,u1.exports)),u1.exports}var ub,VS;function Nq(){if(VS)return ub;VS=1;var e=Cye(),t=Nye(),n=Sye(),o=n&&n.isTypedArray,i=o?t(o):e;return ub=i,ub}var pb,PS;function jye(){if(PS)return pb;PS=1;var e=xye(),t=Iye(),n=Uw(),o=wq(),i=wye(),r=Nq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),m=!p&&!y&&o(h),v=!p&&!y&&!m&&r(h),f=p||y||m||v,M=f?e(h.length,String):[],_=M.length;for(var g in h)(u||d.call(h,g))&&!(f&&(g=="length"||m&&(g=="offset"||g=="parent")||v&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||i(g,_)))&&M.push(g);return M}return pb=l,pb}var yb,TS;function $ye(){if(TS)return yb;TS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return yb=t,yb}var kb,HS;function qye(){if(HS)return kb;HS=1;function e(t,n){return function(o){return t(n(o))}}return kb=e,kb}var mb,DS;function Aye(){if(DS)return mb;DS=1;var e=qye(),t=e(Object.keys,Object);return mb=t,mb}var fb,BS;function zye(){if(BS)return fb;BS=1;var e=$ye(),t=Aye(),n=Object.prototype,o=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))o.call(r,d)&&d!="constructor"&&s.push(d);return s}return fb=i,fb}var gb,RS;function Vye(){if(RS)return gb;RS=1;var e=xq(),t=Cq();function n(o){return o!=null&&t(o.length)&&!e(o)}return gb=n,gb}var vb,FS;function Pye(){if(FS)return vb;FS=1;var e=jye(),t=zye(),n=Vye();function o(i){return n(i)?e(i):t(i)}return vb=o,vb}var Mb,ES;function Tye(){if(ES)return Mb;ES=1;var e=gye(),t=_ye(),n=Pye();function o(i){return e(i,n,t)}return Mb=o,Mb}var _b,OS;function Hye(){if(OS)return _b;OS=1;var e=Tye(),t=1,n=Object.prototype,o=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),m=y.length,v=e(s),f=v.length;if(m!=f&&!p)return!1;for(var M=m;M--;){var _=y[M];if(!(p?_ in s:o.call(s,_)))return!1}var g=u.get(r),L=u.get(s);if(g&&L)return g==s&&L==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<m;){_=y[M];var b=r[_],x=s[_];if(l)var I=p?l(x,b,_,s,r,u):l(b,x,_,r,s,u);if(!(I===void 0?b===x||h(b,x,d,l,u):I)){w=!1;break}C||(C=_=="constructor")}if(w&&!C){var S=r.constructor,j=s.constructor;S!=j&&"constructor"in r&&"constructor"in s&&!(typeof S=="function"&&S instanceof S&&typeof j=="function"&&j instanceof j)&&(w=!1)}return u.delete(r),u.delete(s),w}return _b=i,_b}var xb,US;function Dye(){if(US)return xb;US=1;var e=t1(),t=mt(),n=e(t,"DataView");return xb=n,xb}var Lb,WS;function Bye(){if(WS)return Lb;WS=1;var e=t1(),t=mt(),n=e(t,"Promise");return Lb=n,Lb}var Ib,GS;function Rye(){if(GS)return Ib;GS=1;var e=t1(),t=mt(),n=e(t,"Set");return Ib=n,Ib}var bb,ZS;function Fye(){if(ZS)return bb;ZS=1;var e=t1(),t=mt(),n=e(t,"WeakMap");return bb=n,bb}var wb,KS;function Eye(){if(KS)return wb;KS=1;var e=Dye(),t=Ow(),n=Bye(),o=Rye(),i=Fye(),r=ML(),s=Lq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),v=s(t),f=s(n),M=s(o),_=s(i),g=r;return(e&&g(new e(new ArrayBuffer(1)))!=y||t&&g(new t)!=d||n&&g(n.resolve())!=h||o&&g(new o)!=u||i&&g(new i)!=p)&&(g=function(L){var w=r(L),C=w==l?L.constructor:void 0,b=C?s(C):"";if(b)switch(b){case m:return y;case v:return d;case f:return h;case M:return u;case _:return p}return w}),wb=g,wb}var Cb,XS;function Oye(){if(XS)return Cb;XS=1;var e=rye(),t=bq(),n=mye(),o=Hye(),i=Eye(),r=Uw(),s=wq(),d=Nq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function v(f,M,_,g,L,w){var C=r(f),b=r(M),x=C?u:i(f),I=b?u:i(M);x=x==h?p:x,I=I==h?p:I;var S=x==p,j=I==p,q=x==I;if(q&&s(f)){if(!s(M))return!1;C=!0,S=!1}if(q&&!S)return w||(w=new e),C||d(f)?t(f,M,_,g,L,w):n(f,M,x,_,g,L,w);if(!(_&l)){var $=S&&m.call(f,"__wrapped__"),P=j&&m.call(M,"__wrapped__");if($||P){var T=$?f.value():f,z=P?M.value():M;return w||(w=new e),L(T,z,_,g,w)}}return q?(w||(w=new e),o(f,M,_,g,L,w)):!1}return Cb=v,Cb}var Nb,YS;function Uye(){if(YS)return Nb;YS=1;var e=Oye(),t=LL();function n(o,i,r,s,d){return o===i?!0:o==null||i==null||!t(o)&&!t(i)?o!==o&&i!==i:e(o,i,r,s,n,d)}return Nb=n,Nb}var Sb,JS;function Wye(){if(JS)return Sb;JS=1;var e=Uye();function t(n,o){return e(n,o)}return Sb=t,Sb}var Gye=Wye();const Zye=a.getDefaultExportFromCjs(Gye),Kye=({schema:e,initialData:t={},onSubmit:n,submitLabel:o,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[m,v]=k.useState({}),[f,M]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Zye(_.current,t)||(u(t),_.current=t)},[t]);const g=(I,S)=>{const j={...h,[I]:S};if(u(j),m[I]){const q=e.fields.find($=>$.name===I);if(q){const $=dL(S,q);y(P=>({...P,[I]:$.isValid?"":$.error}))}}},L=I=>{if(!m[I]){v(j=>({...j,[I]:!0}));const S=e.fields.find(j=>j.name===I);if(S){const j=dL(h[I],S);y(q=>({...q,[I]:j.isValid?"":j.error}))}}},w=async I=>{I.preventDefault(),M(!0);const S=e.fields.reduce((q,$)=>($.type!=="section"&&(q[$.name]=!0),q),{});v(S);const j=dq(h,e.fields.filter(q=>q.type!=="section"));if(y(j.errors),j.isValid)try{await n(h)}catch(q){console.error("Erreur lors de la soumission:",q),y($=>({...$,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=l?ut[l]:null,b=i&&ut[i]||e.submitIcon&&ut[e.submitIcon]||null,x=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:re.formContainer,children:[c.jsx("div",{className:re.headerLine,children:c.jsx("h2",{className:re.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:re.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${re.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:w,children:[c.jsx("div",{className:re.gridContainer,style:{gridTemplateColumns:`repeat(${x}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return c.jsxs("div",{className:re.sectionFull,children:[c.jsx("h5",{className:re.sectionTitle,children:I.label}),I.help&&c.jsx("p",{className:re.sectionHelp,children:I.help})]},I.name);const j={gridColumn:`span ${Math.max(1,Math.min(x,I.gridCol??x))}`};return c.jsxs("div",{className:re.fieldGridItem,style:j,children:[c.jsx(gq,{field:I,value:h[I.name],onChange:q=>g(I.name,q),onBlur:()=>L(I.name),error:p[I.name],touched:m[I.name]}),I.help&&c.jsx("small",{className:re.fieldHelp,children:I.help})]},I.name)})}),c.jsxs("div",{className:re.formFooter,children:[c.jsx("div",{className:re.footerLeft,children:s&&c.jsxs("button",{type:"button",className:re.cancelLink,onClick:s,children:[C&&c.jsx(C,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:re.footerRight,children:c.jsx(Qx,{type:"submit",variant:"primary",size:"md",className:re.submitButton,disabled:f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):c.jsxs(c.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&c.jsx(b,{size:16,className:"me-2"}),o||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&c.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function Xye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Yye="_container_1gljv_85",Jye="_tableWrapper_1gljv_111",Qye="_tableControls_1gljv_117",e4e="_controlsRight_1gljv_128",t4e="_limitedRows_1gljv_151",a4e="_table_1gljv_111",n4e="_headerCell_1gljv_206",o4e="_headerContent_1gljv_220",c4e="_headerWords_1gljv_229",i4e="_headerWord_1gljv_229",r4e="_cellContent_1gljv_276",s4e="_alignLeft_1gljv_286",d4e="_alignCenter_1gljv_290",l4e="_alignRight_1gljv_294",h4e="_tableCell_1gljv_298",u4e="_tableRow_1gljv_308",p4e="_emptyRow_1gljv_385",y4e="_toggleFiltersButton_1gljv_393",k4e="_toggleSortButton_1gljv_394",m4e="_buttonTextCompact_1gljv_415",f4e="_uppercaseSmall_1gljv_450",g4e="_filtersPanel_1gljv_463",v4e="_filtersPanelInline_1gljv_481",M4e="_filtersPanelHorizontal_1gljv_492",_4e="_filtersRow_1gljv_492",x4e="_filtersActionsHorizontal_1gljv_525",L4e="_filterItemInline_1gljv_542",I4e="_filterLabel_1gljv_571",b4e="_filterInput_1gljv_576",w4e="_filterSelect_1gljv_577",C4e="_operatorSelect_1gljv_578",N4e="_operatorInput_1gljv_579",S4e="_activeFilterTag_1gljv_597",j4e="_actionsGroup_1gljv_609",$4e="_applyButton_1gljv_615",q4e="_cancelButton_1gljv_625",A4e="_columnSorterContainer_1gljv_649",z4e="_sorterControls_1gljv_654",V4e="_sortDropdownWrapper_1gljv_659",P4e="_sortDropdown_1gljv_659",T4e="_sortDropdownHeader_1gljv_679",H4e="_closeButton_1gljv_688",D4e="_sortDropdownContent_1gljv_703",B4e="_sortDropdownItem_1gljv_709",R4e="_sortDirectionButtons_1gljv_734",F4e="_sortDirectionButton_1gljv_734",E4e="_activeSort_1gljv_757",O4e="_sortActions_1gljv_764",U4e="_paginationButton_1gljv_842",W4e="_pageSizeSelect_1gljv_844",G4e="_topPagination_1gljv_853",Z4e="_paginationContainer_1gljv_861",K4e="_leftGroup_1gljv_874",X4e="_pageSizeControls_1gljv_882",Y4e="_paginationInfo_1gljv_908",J4e="_paginationControls_1gljv_916",Q4e="_disabledButton_1gljv_947",e5e="_activeButton_1gljv_952",t5e="_navigationButton_1gljv_962",a5e="_operatorFilterContainer_1gljv_1010",n5e="_rangeSeparator_1gljv_1016",o5e="_activeFiltersSection_1gljv_1179",c5e="_activeFiltersRow_1gljv_1184",i5e="_activeFiltersList_1gljv_1192",r5e="_clearAllButton_1gljv_1200",s5e="_removeFilterButton_1gljv_1221",d5e="_sortIndicator_1gljv_1272",l5e="_active_1gljv_349",h5e="_clearSortButton_1gljv_1371",u5e="_loaderSpinner_1gljv_2743",p5e="_loaderSpinnerSmall_1gljv_2755",y5e="_paginationLoading_1gljv_2772",k5e="_loadingButton_1gljv_2780",m5e="_loadingIndicator_1gljv_2791",V={container:Yye,tableWrapper:Jye,tableControls:Qye,controlsRight:e4e,limitedRows:t4e,table:a4e,headerCell:n4e,headerContent:o4e,headerWords:c4e,headerWord:i4e,cellContent:r4e,alignLeft:s4e,alignCenter:d4e,alignRight:l4e,tableCell:h4e,tableRow:u4e,emptyRow:p4e,toggleFiltersButton:y4e,toggleSortButton:k4e,buttonTextCompact:m4e,uppercaseSmall:f4e,filtersPanel:g4e,filtersPanelInline:v4e,filtersPanelHorizontal:M4e,filtersRow:_4e,filtersActionsHorizontal:x4e,filterItemInline:L4e,filterLabel:I4e,filterInput:b4e,filterSelect:w4e,operatorSelect:C4e,operatorInput:N4e,activeFilterTag:S4e,actionsGroup:j4e,applyButton:$4e,cancelButton:q4e,columnSorterContainer:A4e,sorterControls:z4e,sortDropdownWrapper:V4e,sortDropdown:P4e,sortDropdownHeader:T4e,closeButton:H4e,sortDropdownContent:D4e,sortDropdownItem:B4e,sortDirectionButtons:R4e,sortDirectionButton:F4e,activeSort:E4e,sortActions:O4e,paginationButton:U4e,pageSizeSelect:W4e,topPagination:G4e,paginationContainer:Z4e,leftGroup:K4e,pageSizeControls:X4e,paginationInfo:Y4e,paginationControls:J4e,disabledButton:Q4e,activeButton:e5e,navigationButton:t5e,operatorFilterContainer:a5e,rangeSeparator:n5e,activeFiltersSection:o5e,activeFiltersRow:c5e,activeFiltersList:i5e,clearAllButton:r5e,removeFilterButton:s5e,sortIndicator:d5e,active:l5e,clearSortButton:h5e,loaderSpinner:u5e,loaderSpinnerSmall:p5e,paginationLoading:y5e,loadingButton:k5e,loadingIndicator:m5e},f5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:o,className:V.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),g5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:o,className:V.filterInput}),v5e=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const l=await e.asyncOptions();r(l??[])}catch(l){console.error("Erreur chargement options MultiSelect:",l),r([])}else r(e.options??[])})()},[e]);const s=d=>{const l=Array.from(d.target.selectedOptions,h=>h.value);n(l)};return c.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:o,className:V.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},QS=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return c.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:V.filterInput})},M5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const l=h=>{const u=h.target.value;n(u)};return s?c.jsx("div",{children:"Chargement..."}):c.jsxs("select",{value:String(t||""),onChange:l,disabled:o,className:V.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},_5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const l=d.target.value;r(l),n(l)};return c.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:V.filterInput})},x5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const l=u=>{r(u.target.value)},h=u=>{d(u.target.value)};return c.jsxs("div",{className:V.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:V.operatorSelect,children:[c.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>c.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),c.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:o||!i,className:V.operatorInput})]})},L5e=({value:e,onChange:t,disabled:n})=>{const o=e||{},i=s=>{t({...o,start:s.target.value})},r=s=>{t({...o,end:s.target.value})};return c.jsxs("div",{className:V.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:V.filterInput}),c.jsx("span",{className:V.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:V.filterInput})]})},I5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(_5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(QS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(QS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(M5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(x5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(v5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(g5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(L5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(f5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Sq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const v={};return e.forEach(f=>{f.type==="daterange"?v[f.id]={start:"",end:""}:v[f.id]=f.defaultValue??""}),v});k.useEffect(()=>{if(!i)return;const v={...d??{}};e.forEach(f=>{f.id in v||(v[f.id]=f.type==="daterange"?{start:"",end:""}:f.defaultValue??"")}),(t||[]).forEach(f=>{!f||!f.id||(v[f.id]=f.value)}),l(v),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(v=>v.id))]);const h=i?t:r,u=k.useCallback((v,f)=>{l(M=>({...M,[v]:f}))},[]),p=k.useCallback(async()=>{const v=[],f={...d};for(const[M,_]of Object.entries(f)){const g=e.find(C=>C.id===M);if(!g)continue;let L=_;try{typeof _=="function"&&(L=await _(f)),typeof g.executeOnApply=="function"&&(L=await g.executeOnApply(L,f))}catch{continue}if(g.type==="daterange"){const C=L?.start??"",b=L?.end??"",x=typeof C=="string"?C.trim()==="":!C,I=typeof b=="string"?b.trim()==="":!b;if(x&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||v.push({id:M,type:g.type,value:L,label:g.label})}return i?n?.(v):(s(v),o?.(v)),v},[d,e,i,n,o]),y=k.useCallback(v=>{l(f=>({...f,[v]:void 0})),u(v,void 0)},[u]),m=k.useCallback(()=>{const v={};e.forEach(f=>{f.type==="daterange"?v[f.id]={start:"",end:""}:v[f.id]=f.defaultValue??""}),l(v),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},b5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(o=>String(o)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const o=n;if(!o.start||!o.end)return!1;const i=o.start,r=o.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),l=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(l)?!1:s>=d&&s<=l}catch(o){return console.error("Error processing daterange filter:",o),!1}case"operator":if(typeof n=="object"&&n!==null){const o=n;if(!("operator"in o)||!("value"in o))return!1;const{operator:i,value:r}=o,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function jq(e,t,n="",o={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),l=(n||"").trim().toLowerCase(),h=k.useMemo(()=>{let f=e;return l&&(f=f.filter(M=>t.some(_=>{const g=M.data[_.id];return g==null?!1:String(g).toLowerCase().includes(l)}))),s.length>0&&(f=f.filter(M=>s.every(_=>{try{const g=M.data[_.id];return b5e(g,_)}catch(g){return console.error("Error applying filter:",g),!1}}))),f},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const f=o.key;return[...h].sort((M,_)=>{const g=M.data[f],L=_.data[f];if(g==null)return 1;if(L==null)return-1;if(typeof g=="number"&&typeof L=="number")return o.direction==="desc"?L-g:g-L;if(g instanceof Date&&L instanceof Date){const C=g.getTime()-L.getTime();return o.direction==="desc"?-C:C}const w=String(g).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-w:w})},[h,o]),p=u,y=Math.ceil(u.length/d),m=0,v=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:m,endIndex:v}}const $q=({value:e})=>e,qq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Aq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),zq=({value:e})=>{if(!e)return null;const t={success:"success-badge",warning:"warning-badge",error:"error-badge",info:"info-badge",default:"default-badge"},n=typeof e=="object"?e.type:"default",o=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},o)},Vq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Pq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),Tq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Hq=({value:e})=>k.createElement("div",{className:"image-container"},k.createElement("img",{src:e,alt:"Table content",className:"table-image",onError:t=>t.currentTarget.style.display="none"})),cw={renderers:{text:$q,email:qq,link:Aq,badge:zq,date:Vq,number:Pq,currency:Tq,image:Hq},icons:{sortAsc:k.createElement(wc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(St,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Uc,{className:"sort-icon",size:14})}},w5e=(e,t)=>{cw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),cw.renderers[e]=t},C5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:l="top",onPanelHeightChange:h,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:m="Clear",applyDisabled:v=!1,loading:f=!1})=>{const[M,_]=k.useState(!1),g=typeof s=="boolean"?s:M,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:x}=Sq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),I=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(g&&I.current){const z=I.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[g,e,w,h]);const j=()=>{typeof s=="boolean"?d?.(!s):_(z=>{const N=!z;return d?.(N),N})},q=()=>e.map(z=>{const N=w?.[z.id];return N==null||typeof N=="string"&&N.trim()===""?null:{id:z.id,label:z.label,value:N}}).filter(Boolean),$=async()=>{let z;try{z=await b()}catch{z=void 0}let N=[];z&&Array.isArray(z)&&z.length>0?N=z:L&&L.length>0?N=L:N=q(),n?.(N),o?.(N)},P=()=>{d?.(!1),typeof s!="boolean"&&_(!1)},T=()=>{x(),n?.([]),o?.([])};return k.useEffect(()=>{const z=A=>{g&&S.current&&(S.current.contains(A.target)||(d?.(!1),typeof s!="boolean"&&_(!1)))},N=A=>{A.key==="Escape"&&g&&(d?.(!1),typeof s!="boolean"&&_(!1))};return g&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",N)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",N)}},[g,s,d]),c.jsxs("div",{className:V.advancedFiltersContainer,ref:S,children:[c.jsxs("button",{className:`${V.toggleFiltersButton} ${L.length>0?V.active:""} ${g?V.toggleFiltersButtonOpen:""} ${f?V.loadingButton:""}`,onClick:j,"aria-expanded":g,"aria-controls":"advanced-filters-panel",type:"button",disabled:f,children:[f?c.jsx("span",{className:V.loaderSpinnerSmall}):c.jsx(Lt,{size:14}),c.jsx("span",{className:V.buttonTextCompact,children:u}),L.length>0&&!f&&c.jsx("span",{className:V.filterCountBadge,"aria-hidden":!0,children:L.length}),f&&c.jsx("span",{className:V.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),g&&c.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${V.filtersPanel} ${l==="top"?`${V.filtersPanelInline} ${V.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:V.filtersRow,children:e.map(z=>c.jsxs("div",{className:`${V.filterItem} ${V.filterItemInline}`,children:[c.jsxs("label",{className:V.filterLabel,children:[z.label,z.required&&c.jsx("span",{className:V.required,children:"*"})]}),c.jsx(I5e,{config:z,value:w[z.id],onChange:N=>C(z.id,N),disabled:z.disabled})]},z.id))}),c.jsxs("div",{className:V.filtersActionsHorizontal,children:[c.jsx("div",{className:V.activeFiltersSection,children:L.length>0&&c.jsxs("div",{className:V.activeFiltersRow,children:[c.jsx("span",{className:V.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:V.activeFiltersList,children:L.map(z=>c.jsxs("div",{className:V.activeFilterTag,children:[z.label??z.id,c.jsx("button",{className:V.removeFilterButton,onClick:()=>C(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),c.jsxs("button",{className:V.clearAllButton,onClick:T,type:"button",children:[c.jsx(Ke,{size:12})," ",m]})]})}),c.jsxs("div",{className:V.actionsGroup,children:[c.jsx("button",{className:V.cancelButton,onClick:P,type:"button",disabled:f,children:y}),c.jsx("button",{className:`${V.applyButton} ${f?V.loadingButton:""}`,onClick:$,type:"button",disabled:v||f,"aria-disabled":v||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:V.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},ej=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},N5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(v=>v.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(v,f)=>{n({key:v,direction:f}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(v=>!v),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const v=M=>{if(!l.current)return;const _=M.target;_&&!l.current.contains(_)&&s(!1)},f=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",v),document.addEventListener("keydown",f),()=>{document.removeEventListener("pointerdown",v),document.removeEventListener("keydown",f)}},[r]),k.useEffect(()=>{const v=document.querySelector("[data-table-wrapper]");if(!v)return;const f=v.style.overflow??"";return r?v.style.overflow="hidden":v.style.overflow=f,()=>{v.style.overflow=f}},[r]),c.jsx("div",{className:V.columnSorterContainer,ref:l,children:c.jsx("div",{className:V.sorterControls,children:d.length>0&&c.jsxs("div",{className:V.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${V.toggleSortButton} ${r?V.toggleSortButtonOpen:""} ${h?V.active:""} ${i?V.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:V.loaderSpinnerSmall}):c.jsx(Uc,{size:14}),c.jsx("span",{className:`${V.buttonTextCompact} ${ej(o)?V.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:V.sortIndicator,children:t?.direction==="asc"?c.jsx(wc,{size:12}):c.jsx(St,{size:12})})]}),r&&c.jsxs("div",{className:`${V.sortDropdown} ${V.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:V.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:V.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:c.jsx(Ke,{size:16})})]}),c.jsx("div",{className:V.sortDropdownContent,children:d.map(v=>{const f=String(v.label??v.id),M=ej(f);return c.jsxs("div",{className:V.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(v.id,"asc")},children:[c.jsx("span",{className:`${V.columnSorterLabel} ${M?V.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:V.sortDirectionButtons,children:[c.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===v.id&&t?.direction==="asc"?V.activeSort:""}`,onClick:()=>u(v.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(wc,{size:12})}),c.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===v.id&&t?.direction==="desc"?V.activeSort:""}`,onClick:()=>u(v.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(St,{size:12})})]})]},v.id)})}),h&&c.jsx("div",{className:V.sortActions,children:c.jsxs("button",{className:V.clearSortButton,onClick:p,type:"button",children:[c.jsx(xt,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},S5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:o,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const l=Math.max(1,Math.floor(t)),h=Math.min(Math.max(1,Math.floor(e)),l),u=()=>{h>1&&r(h-1)},p=()=>{if(h<t){const f=h+1;r(f)}},y=o>0?(h-1)*n+1:0,m=o>0?Math.min(h*n,o):0,v=()=>{const f=[];let _=Math.max(1,h-Math.floor(2.5)),g=_+5-1;g>l&&(g=l,_=Math.max(1,g-5+1));for(let L=_;L<=g;L++)f.push(L);return f};return c.jsxs("div",{className:V.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:V.leftGroup,children:s&&c.jsx("div",{className:V.pageSizeControls,children:c.jsx("select",{value:n,onChange:f=>s(Number(f.target.value)),className:V.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(f=>c.jsx("option",{value:f,children:f},f))})})}),c.jsx("div",{className:V.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:V.paginationLoading,children:[c.jsx("span",{className:V.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),c.jsxs("div",{className:V.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${V.paginationButton} ${V.navigationButton} ${h===1?V.disabledButton:""} ${d?V.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:V.loaderSpinnerSmall}):"«"}),v().map(f=>c.jsx("button",{onClick:()=>r(f),disabled:d,"aria-current":h===f?"page":void 0,className:`${V.paginationButton} ${h===f?V.activeButton:""} ${d?V.loadingButton:""}`,children:d&&h===f?c.jsx("span",{className:V.loaderSpinnerSmall}):f},f)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${V.paginationButton} ${V.navigationButton} ${d?V.loadingButton:""} ${h>=l?V.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:V.loaderSpinnerSmall}):"»"})]})]})},j5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const o=n.toLowerCase();return o.charAt(0).toUpperCase()+o.slice(1)},$5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},q5e=({columns:e})=>c.jsx("thead",{className:V.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?V.alignRight:t.align==="left"?V.alignLeft:V.alignCenter,i=t.preserveHeaderCase===!0,r=j5e(String(t.label??""),i),s=$5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${V.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:c.jsx("div",{className:V.headerContent,children:s?c.jsx("div",{className:V.headerWords,children:d.map((l,h)=>c.jsx("span",{className:V.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),A5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?V.alignRight:n.align==="left"?V.alignLeft:V.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${V.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:V.cellContent,children:i})})},z5e=({row:e,rowId:t,columns:n,onRowClick:o,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return c.jsx("tr",{className:`${V.tableRow} ${o?V.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(A5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},V5e=({data:e,columns:t,onRowClick:n,startIndex:o,searchTerm:i,getRowStyle:r})=>e.length===0?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,className:V.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(z5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Dq=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:o,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:l,onApplyFilters:h,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:m,background:v,onPageSizeChange:f,onPageChange:M,itemLabel:_="items",advancedFiltersLabel:g="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:x="Clear",applyDisabled:I=!1,paginationLoading:S=!1,filtersLoading:j=!1,sortLoading:q=!1,totalCount:$=null})=>{const[P,T]=k.useState({key:null,direction:"asc"}),[z,N]=k.useState(n.currentPage??1),[A,B]=k.useState(n.pageSize??10),[R,H]=k.useState(!1),Z=k.useRef(null),[W,pe]=k.useState([]),X=p?d:W,xe=p?[]:W;k.useEffect(()=>{const ee=n.currentPage??1,qc=n.pageSize??10;ee!==z&&N(ee),qc!==A&&B(qc)},[n.currentPage,n.pageSize]);const{paginatedData:ye,sortedData:Se,totalPages:ce,startIndex:F}=jq(t,e,i,P,z,A,xe),J=Se.length,oe=typeof $=="number"&&$>=0?$:J;let te=ce;typeof $=="number"&&$>=0&&(te=Math.max(1,Math.ceil($/A)));const ue=J>10;k.useEffect(()=>{const ee=Math.max(1,Math.floor(te));z>ee&&N(ee),z<1&&N(1)},[te]);const _e=ee=>{p||pe(ee),l?.(ee),N(1),M?.(1)},fe=ee=>{p||pe(ee),h?.(ee),N(1),M?.(1),Z.current&&Z.current.style.setProperty("--filters-panel-height","0px")},je=ee=>{M?.(ee),N(ee)},Ce=ee=>{B(ee),N(1),f?.(ee),M?.(1)},de=ee=>{Z.current&&Z.current.style.setProperty("--filters-panel-height",`${Math.round(ee)}px`)},Le=ee=>{T(ee),u?.(ee)},ft=ee=>{H(ee),!ee&&Z.current&&Z.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(X?.length??0)>0&&H(!0)},[X]),k.useEffect(()=>{s.length>0&&X.length>0&&H(!0)},[s.length,X.length]);const $c=(X?.length??0)>0&&L?L:g;return c.jsxs("div",{ref:Z,className:`${V.container} ${r} ${R?V.filtersOpen:""}`,style:{background:v,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:V.tableControls,children:c.jsxs("div",{className:V.controlsRight,children:[c.jsx(N5e,{columns:e,onSort:Le,label:w,sortConfig:P,loading:q}),s.length>0&&c.jsx(C5e,{filters:s,externalFilters:X,onFiltersChange:_e,onApply:fe,isControlled:p,debounceTimeout:y,expanded:R,onToggle:ft,panelPlacement:"top",onPanelHeightChange:de,label:$c,applyLabel:C,cancelLabel:b,clearLabel:x,applyDisabled:I,loading:j})]})}),c.jsx("div",{className:V.topPagination,children:c.jsx(S5e,{currentPage:z,totalPages:te,pageSize:A,totalItems:oe,itemLabel:_,onPageChange:je,onPageSizeChange:Ce,loading:S})}),c.jsx("div",{className:`${V.tableWrapper} ${ue?V.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:V.table,children:[c.jsx(q5e,{columns:e}),c.jsx(V5e,{data:ye,columns:e,onRowClick:o,startIndex:F,getRowStyle:m,searchTerm:i})]})})]})};function P5e(e){const{pagination:t,totalCount:n,onPageChange:o,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),l=s>1,h=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!l||p>s&&!h||o?.(p))};return c.jsx(Dq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const T5e="_mpRoot_31595_1",H5e="_mpHeader_31595_22",D5e="_mpTitle_31595_31",B5e="_mpList_31595_35",R5e="_mpVertical_31595_41",F5e="_mpHorizontal_31595_46",E5e="_mpItem_31595_55",O5e="_mpClickable_31595_95",U5e="_mpLeft_31595_117",W5e="_mpIcon_31595_125",G5e="_mpMeta_31595_140",Z5e="_mpLabel_31595_145",K5e="_mpDate_31595_154",X5e="_mpRight_31595_160",Y5e="_mpValue_31595_168",J5e="_mpHint_31595_176",Q5e="_mpBadge_31595_180",eke="_mpBadgeTop_31595_199",tke="_mpBadgeSub_31595_206",ake="_mpBadgeSmall_31595_213",nke="_mpPill_31595_229",oke="_mpRounded_31595_232",cke="_mpCompact_31595_236",ike="_compactItemWrapper_31595_252",rke="_mpSummaryRoot_31595_265",ske="_mpSummaryInner_31595_269",dke="_mpSummaryFlex_31595_284",lke="_mpSummaryCardWrapperHorizontal_31595_292",hke="_mpSummaryCardWrapper_31595_292",uke="_mpSummaryCardHorizontal_31595_303",pke="_mpSummaryCard_31595_292",yke="_mpSummaryValue_31595_321",kke="_mpSummaryLabel_31595_327",mke="_mpSummaryBadge_31595_338",fke="_mpSummaryBadgeSub_31595_357",gke="_mpEmpty_31595_365",vke="_mpSummaryVertical_31595_372",Mke="_mpIconSquare_31595_380",U={mpRoot:T5e,mpHeader:H5e,mpTitle:D5e,mpList:B5e,mpVertical:R5e,mpHorizontal:F5e,mpItem:E5e,mpClickable:O5e,mpLeft:U5e,mpIcon:W5e,mpMeta:G5e,mpLabel:Z5e,mpDate:K5e,mpRight:X5e,mpValue:Y5e,mpHint:J5e,mpBadge:Q5e,mpBadgeTop:eke,mpBadgeSub:tke,mpBadgeSmall:ake,mpPill:nke,mpRounded:oke,mpCompact:cke,compactItemWrapper:ike,mpSummaryRoot:rke,mpSummaryInner:ske,mpSummaryFlex:dke,mpSummaryCardWrapperHorizontal:lke,mpSummaryCardWrapper:hke,mpSummaryCardHorizontal:uke,mpSummaryCard:pke,mpSummaryValue:yke,mpSummaryLabel:kke,mpSummaryBadge:mke,mpSummaryBadgeSub:fke,mpEmpty:gke,mpSummaryVertical:vke,mpIconSquare:Mke},Nt=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,l)=>`rgba(${l.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let o=n.replace("#","").toLowerCase();if(o.length===3&&(o=o.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(o))return`rgba(124, 58, 237, ${t})`;const i=parseInt(o.slice(0,2),16),r=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},_ke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[U.mpItem,t==="pill"?U.mpPill:U.mpRounded,n?U.mpClickable:""].filter(Boolean).join(" ");if(i)return c.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return c.jsxs(d,{...l,children:[c.jsxs("div",{className:U.mpLeft,children:[h?c.jsx("div",{className:U.mpIconSquare,style:{background:u??Nt(p??o??"#7c3aed",1),border:`1px solid ${Nt(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:U.mpIcon,children:e.icon}):null,c.jsxs("div",{className:U.mpMeta,children:[c.jsx("div",{className:U.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:U.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:U.mpDate,children:e.date})]})]}),c.jsxs("div",{className:U.mpRight,children:[c.jsx("div",{className:U.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[U.mpBadge,e.badge.small?U.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Nt(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Nt(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:U.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:U.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:U.mpHint,children:e.hint}):null]})]})},xke=k.memo(_ke),tj=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:U.mpHeader,children:[c.jsx("div",{className:U.mpTitle,children:e}),c.jsx("div",{children:t})]}),aj=(e,t=1)=>{try{return Nt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Lke=({item:e})=>c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[c.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[c.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),c.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),c.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??aj("#7c3aed",.12),border:`1px solid ${aj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Ike=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:U.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:U.mpSummaryLabel,children:e.label}),c.jsx("div",{className:U.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]})]}),nj=(e,t=1)=>{try{return Nt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},oj=e=>c.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[c.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[c.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?c.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),c.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[c.jsx("div",{style:{fontWeight:900,fontSize:"clamp(16px, 1.6vw, 20px)",color:e.valueColor,lineHeight:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.value}),e.badge?c.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:nj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:nj("#7c3aed",.12)}`,color:e.badge.textColor||"#0f172a",fontWeight:700,fontSize:"clamp(12px, 1.2vw, 14px)",width:"120px",height:"52px",textAlign:"center",boxSizing:"border-box",overflow:"hidden",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",lineHeight:1.2,flexShrink:0},children:[c.jsx("div",{style:{fontSize:14,fontWeight:800,lineHeight:1.2,letterSpacing:"0.02em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.text}),e.badge.subText?c.jsx("div",{style:{fontSize:13,marginTop:4,fontWeight:700,letterSpacing:"0.01em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.subText}):null]}):null]})]}),cj=(e,t)=>{try{if(typeof e=="function"){const n=e(t);if(n!==void 0)return n}}catch{}try{return k.createElement(e,{item:t})}catch(n){return console.warn("chooseDefaultRender: impossible de rendre CompactRenderer",n),null}},bke=e=>{switch(e){case"image":return t=>k.createElement(Lke,{item:t});case"pertinence":return t=>k.createElement(Ike,{item:t});case"alternateHorizontal":return t=>cj(oj,t);case"compact":return t=>cj(oj,t);case"summary":return;case"default":default:return}},Bq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?U.mpSummaryCardHorizontal:U.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:U.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:U.mpSummaryLabel,children:e.label})]})},wke=["transparent","transparent","transparent","transparent"],Cke=["transparent","transparent","transparent","transparent"],Nke=["#059669","#2563eb","#b45309","#7c3aed"],Ske=(e,t=1)=>{try{return Nt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Rq=e=>{const{items:t=[],layout:n="vertical",orientation:o="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:l,className:h="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:m=!1,summaryBgColors:v=wke,summaryBorderColors:f=Cke,summaryValueColors:M=Nke,preset:_,background:g}=e,{itemsContainerStyle:L,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:x,compactItemStyle:I,summaryCardWidth:S,summaryCardHeight:j,summaryCardStyle:q}=e,$=n==="vertical",P={"--mp-accent":r,"--mp-accent-soft":Ske(r,.08),"--mp-bg-primary":g},T=[U.mpRoot,$?U.mpVertical:U.mpHorizontal,s?U.mpCompact:"",m?U.mpSummaryRoot:"",o!=="auto"?o==="vertical"?U.mpOrientationVertical:U.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(bke(_)??void 0),[y,_]);if(m){const N=o==="horizontal"?U.mpSummaryFlex:U.mpSummaryVertical,B={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(tj,{title:d}),c.jsx("div",{className:U.mpSummaryInner,children:c.jsx("div",{className:`${N} ${w??""}`,style:B,children:t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map((R,H)=>{const Z=R.bgColor??v[H%v.length],W=R.borderColor??f[H%f.length],pe=R.valueColor??M[H%M.length];return z?c.jsx("div",{className:o==="horizontal"?U.mpSummaryCardWrapperHorizontal:U.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...q??{}},children:z(R,H)},R.id):c.jsx(Bq,{item:R,orientation:o==="horizontal"?"horizontal":"vertical",bg:Z,border:W,valueColor:pe,onClick:l,width:S??void 0,height:j??void 0,extraStyle:q},R.id)})})})]})}return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(tj,{title:d}),c.jsx("div",{className:U.mpList,style:L,children:u?c.jsx("div",{className:U.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map(N=>{const A=s?{width:b??void 0,height:x??void 0,boxSizing:"border-box",...I??{}}:void 0;return c.jsx("div",{className:s?U.compactItemWrapper:void 0,style:A,children:c.jsx(xke,{item:N,shape:i,onItemClick:l,color:r,renderItem:z?B=>z(B,t.indexOf(B)):void 0})},N.id)})})]})};k.memo(Rq);const jke=({a11yConfig:e,width:t,height:n,colors:o={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:l,padding:h="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:m})=>{const v=t?typeof t=="number"?`${t}px`:t:void 0,f=n?typeof n=="number"?`${n}px`:n:void 0,M=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),_=M?r:void 0,g=_?.icon?ut[_.icon]:void 0,L=28,w=_?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),b=o.contentBackground??void 0,x=typeof h=="number"?`${h}px`:h;return c.jsxs("div",{className:C,style:{width:v,height:f,color:o.text,background:o.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:x,...s},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{title:Y(e,m||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&c.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),c.jsx("div",{className:"chart-title-right",children:i.right})]}),c.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:b},children:l||(M&&_?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[g&&c.jsx("div",{className:"placeholder-icon",style:{width:w,height:w},children:c.jsx(g,{color:_.iconColor??"currentColor",size:typeof w=="number"?w:parseInt(String(w),10)||L})}),_.text&&c.jsx("div",{className:"placeholder-text",children:_.text}),_.subtext&&c.jsx("div",{className:"placeholder-subtext",children:_.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Ww=({id:e,size:t="100%",background:n,icon:o,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y})=>{const m=o||y?.icon?ut[o||y?.icon]:null;return c.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...l},role:"alert",onClick:d,children:[m&&c.jsx(m,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),c.jsxs("div",{className:"alert-content",children:[c.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary},children:i}),r&&c.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&c.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},Fq=k.createContext(null),$ke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,qke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:o,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),h=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear()},[]);const p=(x,I)=>{const S=I===void 0||I===0?t:I;if(S===-1)return;const j=window.setTimeout(()=>{v(x)},S);d.current.set(x,j)},y=x=>{const I=d.current.get(x);I&&(window.clearTimeout(I),d.current.delete(x))},m=x=>{const I=$ke(),S={...x,id:I,createdAt:Date.now()};return s(j=>{const q=[S,...j],$=u.current;return typeof $=="number"&&$>=0&&q.length>$?(q.slice($).forEach(T=>y(T.id)),q.slice(0,$)):q}),p(I,x.duration),I},v=x=>{y(x),s(I=>I.filter(S=>S.id!==x))},f=(x,I)=>{s(S=>S.map(j=>j.id===x?{...j,...I}:j))},M=()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear(),s([])},_=x=>{h.current=x},g=()=>r.slice(),L=k.useMemo(()=>({showAlert:m,dismissAlert:v,updateAlert:f,clearAlerts:M,setContainerRef:_,getAlertsSnapshot:g}),[r]),w=h.current,C=c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:c.jsx(m0e,{mode:"popLayout",children:r.map(x=>c.jsx(Rw.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:x.background||x.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:c.jsx(Ww,{id:x.id,text:x.text,subtext:x.subtext,icon:x.icon,background:"transparent",colorTextPrimary:x.colorTextPrimary,colorTextSub:x.colorTextSub,model:x.model,onClose:()=>v(x.id),size:"100%",style:{boxShadow:"none"}})},x.id))})}),b=c.jsx("div",{ref:x=>{h.current||(l.current=x)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return c.jsxs(Fq.Provider,{value:L,children:[w?rw.createPortal(C,w):b,e]})},Ake=()=>{const e=k.useContext(Fq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},zke={default:{background:"#f3f4f6",icon:"Info",colorTextPrimary:"#111827",colorTextSub:"#4b5563"},info:{background:"#dbeafe",icon:"Info",colorTextPrimary:"#1e40af",colorTextSub:"#3b82f6"},success:{background:"#dcfce7",icon:"CheckCircle2",colorTextPrimary:"#166534",colorTextSub:"#22c55e"},warning:{background:"#fef3c7",icon:"AlertTriangle",colorTextPrimary:"#92400e",colorTextSub:"#f59e0b"},error:{background:"#fee2e2",icon:"XCircle",colorTextPrimary:"#991b1b",colorTextSub:"#ef4444"}},Vke="_container_18zbo_1",Pke="_icon_18zbo_9",Tke="_selectWrapper_18zbo_23",jb={container:Vke,icon:Pke,selectWrapper:Tke},Hke=({options:e,defaultValue:t,onChange:n,label:o})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return c.jsxs("div",{className:jb.container,children:[c.jsxs("div",{className:jb.icon,children:[c.jsx(k1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:jb.selectWrapper,children:c.jsx(Fw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Dke=250,Bke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:o,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[m,v]=k.useState(!1),[f,M]=k.useState(!1),_=k.useRef(null),g=k.useRef(null),L=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const x=_.current;if(!x)return;const I=x.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const j=I.getAttribute("data-scp-prev-position")??"";I.style.position=j,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{m||(o?.(),M(!1),v(!0))},close:()=>{m&&(r?.(),M(!1),v(!1))},toggle:()=>{m?(r?.(),M(!1),v(!1)):(o?.(),M(!1),v(!0))}}),[m,o,r]),k.useEffect(()=>{const x=g.current;w.current&&(window.clearTimeout(w.current),w.current=null);const I=S=>{if(S.target===x&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(m){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return x&&(x.addEventListener("transitionend",I),w.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},Dke+60)),m&&(L.current=document.activeElement),()=>{x&&x.removeEventListener("transitionend",I),w.current&&(window.clearTimeout(w.current),w.current=null)}},[m,i,s]),k.useEffect(()=>{const x=I=>{I.key==="Escape"&&m&&(r?.(),M(!1),v(!1))};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m,r]);const C=()=>{u&&(r?.(),M(!1),v(!1))},b=typeof n=="number"?`${n}px`:n;return c.jsxs("div",{ref:_,className:`scp-inline-root ${m?"open":""}`,"aria-hidden":!m,children:[c.jsx("div",{className:`scp-overlay ${m?"visible":""}`,onMouseDown:C,role:"presentation"}),c.jsxs("aside",{className:`scp-panel ${m?"in":"out"} ${f?"interactive":""} ${l}`,style:{width:b,...d},ref:g,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),v(!1)},children:c.jsx(Ke,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function Rke(e){const t=k.useRef("");k.useEffect(()=>{if(e){t.current=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=t.current||""},[e])}const Fke="_container_1pfsp_1",Eke="_title_1pfsp_8",ij={container:Fke,title:Eke},Oke=({title:e,fontSize:t,barColor:n,className:o="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return c.jsx("div",{className:`${ij.container} ${o}`,style:r,children:c.jsx("h2",{className:ij.title,children:e})})},Uke="_modalOverlay_1dmfp_1",Wke="_modalContainer_1dmfp_16",Gke="_modalTitle_1dmfp_29",Zke="_modalInput_1dmfp_38",Kke="_modalTextarea_1dmfp_39",Xke="_modalActions_1dmfp_71",Yke="_cancelBtn_1dmfp_78",Jke="_saveBtn_1dmfp_100",Qke="_inputError_1dmfp_148",e3e="_inlineAlert_1dmfp_153",Ge={modalOverlay:Uke,modalContainer:Wke,modalTitle:Gke,modalInput:Zke,modalTextarea:Kke,modalActions:Xke,cancelBtn:Yke,saveBtn:Jke,inputError:Qke,inlineAlert:e3e},jc=({isOpen:e,onClose:t,onSave:n,title:o="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:l,confirmText:h="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),m=k.useRef(null),[v,f]=k.useState(!1),[M,_]=k.useState(!1),g=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const x={};for(const I of i)x[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(x),requestAnimationFrame(()=>{m.current?.focus();const I=m.current;if(I&&typeof I.selectionStart=="number"){const S=String(I.value??"").length;I.setSelectionRange(S,S)}}),()=>{g.current&&(window.clearTimeout(g.current),g.current=null)}},[e]),k.useEffect(()=>{s&&e?(_(!0),g.current&&(window.clearTimeout(g.current),g.current=null),g.current=window.setTimeout(()=>{_(!1),g.current=null},3e3)):(_(!1),g.current&&(window.clearTimeout(g.current),g.current=null))},[s,e]),!e)return null;const L=(x,I)=>{y(S=>({...S,[x]:I})),l&&l(x,I)},w=async()=>{if(!Object.values(p).some(x=>x===""||x===void 0))try{f(!0);const x=await n(p);if(typeof x=="string"&&x==="duplicate-same"){f(!1);return}y({}),f(!1),t()}catch(x){console.error("AddItemModal onSave error:",x),f(!1),t()}},C=x=>{x.target===x.currentTarget&&t()},b=x=>x.stopPropagation();return c.jsx("div",{className:Ge.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:Ge.modalContainer,onMouseDown:b,onClick:b,children:[c.jsx("h2",{className:Ge.modalTitle,children:o}),i.map((x,I)=>{const S=p[x.name]??"",j=I===0&&!!s,q={name:x.name,placeholder:x.placeholder||x.label,value:String(S),onChange:$=>L(x.name,$.target.value),className:x.type==="textarea"?`${Ge.modalTextarea} ${j?Ge.inputError:""}`:`${Ge.modalInput} ${j?Ge.inputError:""}`,tabIndex:0,disabled:v};return I===0&&(q.ref=$=>{m.current=$}),c.jsxs("div",{style:{marginBottom:8},children:[x.type==="textarea"?c.jsx("textarea",{rows:x.rows||4,...q}):c.jsx("input",{type:x.type||"text",...q}),I===0&&M&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Ww,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:Ge.inlineAlert})})]},x.name)}),c.jsxs("div",{className:Ge.modalActions,children:[c.jsx("button",{className:Ge.cancelBtn,onClick:t,type:"button",disabled:v,children:u}),c.jsx("button",{className:Ge.saveBtn,onClick:w,type:"button",disabled:v||!!d,children:v?"En cours...":h})]})]})})},t3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:o})=>{const[i,r]=k.useState(!1),s=d=>{const l=d.key;n&&l&&n(l)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{title:Y(o,e),children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[c.jsx(Zc,{className:"add-key-icon"}),"Clé"]}),c.jsx(jc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},a3e=({modules:e,onEdit:t,onDelete:n,onAddModule:o,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[m,v]=k.useState(!1),f=()=>l(!0),M=()=>l(!1),_=x=>{if(o){const I=x.code?.trim()||x.id?.trim(),S=x.title?.trim(),j=I||S||String(Date.now()),q=S||I||`Module ${j}`;o({id:j,title:q,subtitle:"",translations:{}})}M()},g=(x,I)=>{x.stopPropagation(),u(I)},L=()=>u(null),w=x=>{if(!h){L();return}const I={...h,title:x.title||h.title,subtitle:""};t&&t(I),L()},C=(x,I)=>{x.stopPropagation(),n&&n(I)},b=x=>{y(x.id),i&&i(x)};return m?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Gc,{size:20,className:"menu-toggle",onClick:()=>v(!1)})}):c.jsxs("div",{className:"module-sidebar",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),c.jsxs("div",{className:"header-actions",children:[c.jsx(Wc,{size:18,className:"header-folder",onClick:f}),c.jsx(Gc,{size:18,className:"header-menu",onClick:()=>v(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(x=>{const I=Object.keys(x.translations||{}).length,S=I>0||x.id===p;return c.jsxs("div",{className:`module-item ${x.id===p?"selected":""}`,onClick:()=>b(x),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(x)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(M1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[x.title,S&&c.jsxs("span",{className:"count",children:[" ",I," "]})]}),x.subtitle?c.jsx("div",{className:"module-subtitle",children:x.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(L1,{onClick:j=>g(j,x),color:"#777",size:16}),n&&c.jsx(jt,{onClick:j=>C(j,x.id),color:"#777",size:16})]})]},x.id)})}),c.jsx(jc,{isOpen:d,onClose:M,onSave:_,title:s||"Ajouter un module",fields:r&&r.length?r.map(x=>({name:x.name,label:x.label,type:x.type,placeholder:x.placeholder,rows:x.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(jc,{isOpen:!!h,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Eq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:o="left",iconColor:i="#9ca3af",a11yConfig:r})=>c.jsxs("div",{className:`search-container icon-${o}`,title:Y(r,e),children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(I1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:s=>n?.(s.target.value),className:"search-input"})]}),n3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:o,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(""),[v,f]=k.useState(null),[M,_]=k.useState(""),[g,L]=k.useState(""),[w,C]=k.useState(!1),[b,x]=k.useState(!1),[I,S]=k.useState(null),[j,q]=k.useState(!1),$=t.map(H=>H.language),P=n.filter(H=>!$.includes(H.code)),T=()=>{y&&g.trim()&&(d?.(e,y,g.trim()),m(""),L(""),p(!1))},z=(H,Z)=>{f(H),_(Z)},N=H=>{r?.(e,H,M),f(null),_("")},A=()=>{f(null),_("")},B=async H=>{const Z=H.name?.trim();if(Z){if(S(null),q(!1),Z===e||!i)return C(!1),"ok";try{const W=await i(e,Z);if(typeof W=="string"&&W==="ok")C(!1),S(null);else{if(typeof W=="string"&&W==="duplicate-same")return S("Une clé existe déjà dans ce module."),q(!0),"duplicate-same";if(typeof W=="string"&&W==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(W){console.error("Erreur handleRenameSave:",W),S("Erreur lors du renommage.")}}},R=(H,Z)=>{if(H!=="name")return;const W=Z.trim();S(null),q(!1),W&&typeof h=="function"&&(h(W,e)?(S("Une clé existe déjà dans ce module."),q(!0)):(S(null),q(!1)))};return c.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${l?"draggable":""}`,children:[c.jsxs("div",{className:"card-header",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("button",{className:"collapse-button",onClick:()=>x(!b),title:b?"Déplier":"Replier",children:b?c.jsx(f1,{className:"collapse-icon"}):c.jsx(St,{className:"collapse-icon"})}),c.jsx("h3",{className:"card-title",title:e,children:e})]}),c.jsxs("div",{className:"header-actions",children:[c.jsx("button",{className:"action-button",onClick:H=>{H.stopPropagation(),C(!0)},title:"Renommer la clé",children:c.jsx(lt,{className:"action-icon"})}),c.jsx("button",{onClick:H=>{H.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(jt,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(H=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:H.language}),c.jsx("div",{className:"translation-content",children:v===H.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:M,onChange:Z=>_(Z.target.value),className:"edit-input",autoFocus:!0,onKeyDown:Z=>{Z.key==="Enter"&&N(H.language),Z.key==="Escape"&&A()}}),c.jsx("button",{onClick:()=>N(H.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:A,className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:H.value,children:H.value}),c.jsx("button",{onClick:()=>z(H.language,H.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(lt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,H.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ke,{className:"action-icon"})})]})})]},H.language)),u?c.jsxs("div",{className:"add-language-row",children:[c.jsx("div",{className:"language-code",children:"+"}),c.jsxs("div",{className:"add-language-content",children:[c.jsx("div",{className:"language-select-container",children:c.jsxs("select",{value:y,onChange:H=>m(H.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),P.map(H=>c.jsxs("option",{value:H.code,children:[H.name," (",H.code,")"]},H.code))]})}),y&&c.jsx("input",{type:"text",value:g,onChange:H=>L(H.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:H=>{H.key==="Enter"&&T(),H.key==="Escape"&&(p(!1),m(""),L(""))}}),c.jsx("button",{onClick:T,disabled:!y||!g.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),m(""),L("")},className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]})]}):c.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:P.length===0,children:[c.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&c.jsxs("div",{className:"drag-overlay",children:[c.jsx(a.Move,{size:24,strokeWidth:1.5}),c.jsx("span",{children:"Glisser pour réorganiser"})]}),c.jsx(jc,{isOpen:w,onClose:()=>{C(!1),S(null),q(!1)},onSave:B,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:j})]})},o3e="_wrapper_1wvht_1",c3e="_leftGroup_1wvht_12",i3e="_filterButton_1wvht_21",r3e="_open_1wvht_42",s3e="_filterIcon_1wvht_42",d3e="_infoText_1wvht_58",l3e="_pickerContainer_1wvht_66",h3e="_srOnly_1wvht_79",u3e="_pickerLabel_1wvht_91",p3e="_datetime_1wvht_98",y3e="_rightGroup_1wvht_107",k3e="_searchInputWrap_1wvht_116",m3e="_searchInput_1wvht_116",f3e="_searchIcon_1wvht_152",Ae={wrapper:o3e,leftGroup:c3e,filterButton:i3e,open:r3e,filterIcon:s3e,infoText:d3e,pickerContainer:l3e,srOnly:h3e,pickerLabel:u3e,datetime:p3e,rightGroup:y3e,searchInputWrap:k3e,searchInput:m3e,searchIcon:f3e};function g3e({onDateChange:e,onSearch:t,initialDate:n}){const[o,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const m=y.target;d.current&&m&&!d.current.contains(m)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const l=()=>i(p=>!p),h=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return c.jsxs("div",{className:Ae.wrapper,ref:d,children:[c.jsxs("div",{className:Ae.leftGroup,children:[c.jsxs("button",{type:"button",className:`${Ae.filterButton} ${o?Ae.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:Ae.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:c.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),c.jsx("div",{className:Ae.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:Ae.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:Ae.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:Ae.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:Ae.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:Ae.rightGroup,children:c.jsxs("div",{className:Ae.searchInputWrap,children:[c.jsx("input",{className:Ae.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:Ae.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:c.jsx("path",{fill:"currentColor",d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79L20 20.49 21.49 19l-5.99-5zM10 15.5A5.5 5.5 0 1115.5 10 5.5 5.5 0 0110 15.5z"})})]})})]})}const v3e=({className:e="",style:t={},title:n,titleClassName:o="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:m="1rem"})=>{const v=Array.isArray(r)?r:[],f=v.length===0,M=v.every(w=>typeof w=="string"),_=v.some(w=>Array.isArray(w)),g=(w,C,b)=>d?d(w,C,b):c.jsx("span",{className:"slb-cell-text",children:w}),L=m?{"--col-gap":m}:void 0;return f?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!_?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("ul",{className:"slb-list",children:v.map((w,C)=>c.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:g(w,C,0)},C))})]}):c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-grid",style:L,children:v.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[x,I]=w;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:g(x,C,0)}),c.jsx("div",{className:"slb-grid-right",children:g(I,C,1)})]},C)}return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:g(w,C,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},M3e=({className:e="",style:t={},title:n,titleColor:o,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:l,itemBg:h,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(v=>Array.isArray(v)),m=p?{"--col-gap":p}:void 0;return c.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&c.jsx("div",{className:"clb-title",style:o?{color:o}:void 0,children:n}),c.jsx("div",{className:"clb-grid",style:m,children:i.map((v,f)=>{const M=u[f]||"";if(Array.isArray(v)){const[_,g]=v,L=s[f]||r;return c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col",children:c.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:l,minWidth:l},children:_})}),c.jsx("div",{className:"clb-text",children:g})]},f)}return y?c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:v})]},f):c.jsx("div",{className:`clb-fullrow ${M}`,style:{background:h??void 0},children:c.jsx("span",{children:v})},f)})})]})},_3e=({className:e="",style:t={},title:n,items:o=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return c.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&c.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),c.jsx("div",{className:"tlb-grid",style:u,children:o.map((p,y)=>{const m=d[y]||"";return c.jsxs("div",{className:`tlb-row ${m}`,style:{background:s??void 0},children:[c.jsx("div",{className:"tlb-label",children:p.label}),c.jsxs("div",{className:"tlb-value-group",children:[c.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),c.jsxs("div",{className:"tlb-value-wrap",children:[c.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&c.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},x3e=({className:e="",style:t={},children:n,gap:o="1rem"})=>c.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":o},children:k.Children.map(n,i=>c.jsx("div",{className:"frc-item",children:i}))}),L3e=({className:e="",style:t={},children:n,gap:o="1rem",background:i="#D9EEF5"})=>c.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":o},children:k.Children.map(n,r=>c.jsx("div",{className:"lcc-cell",children:r}))}),I3e="_overlay_i1ay5_2",b3e="_fadeIn_i1ay5_1",w3e="_popup_i1ay5_17",C3e="_slideUp_i1ay5_1",N3e="_header_i1ay5_28",S3e="_body_i1ay5_40",j3e="_footer_i1ay5_51",$3e="_cancelButton_i1ay5_59",q3e="_confirmButton_i1ay5_77",A3e="_warning_i1ay5_97",z3e="_danger_i1ay5_106",V3e="_info_i1ay5_115",vt={overlay:I3e,fadeIn:b3e,popup:w3e,slideUp:C3e,header:N3e,body:S3e,footer:j3e,cancelButton:$3e,confirmButton:q3e,warning:A3e,danger:z3e,info:V3e},P3e=({isOpen:e,title:t,message:n,onConfirm:o,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const l=u=>{u.target===u.currentTarget&&i()},h=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&o()};return c.jsx("div",{className:vt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${vt.popup} ${vt[d]}`,children:[c.jsx("div",{className:vt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:vt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:vt.footer,children:[c.jsx("button",{className:vt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:vt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},T3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),o=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),o()},[e.onConfirm,o]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:o,handleConfirm:i}},H3e="_container_v7v52_1",D3e="_selectButton_v7v52_6",B3e="_disabled_v7v52_19",R3e="_error_v7v52_29",F3e="_outline_v7v52_43",E3e="_filled_v7v52_53",O3e="_sm_v7v52_58",U3e="_md_v7v52_63",W3e="_lg_v7v52_68",G3e="_buttonContent_v7v52_73",Z3e="_label_v7v52_80",K3e="_placeholder_v7v52_87",X3e="_iconsContainer_v7v52_91",Y3e="_loadingSpinner_v7v52_99",J3e="_spin_v7v52_1",Q3e="_arrowIcon_v7v52_119",eme="_arrowIconOpen_v7v52_127",tme="_dropdown_v7v52_131",ame="_searchContainer_v7v52_146",nme="_searchInput_v7v52_150",ome="_optionsList_v7v52_173",cme="_noResults_v7v52_195",ime="_option_v7v52_173",rme="_optionHighlighted_v7v52_217",sme="_optionSelected_v7v52_222",dme="_optionDisabled_v7v52_228",lme="_optionLabel_v7v52_233",hme="_checkIcon_v7v52_240",ume="_widthFull_v7v52_248",pme="_width64_v7v52_252",yme="_width80_v7v52_256",kme="_width96_v7v52_260",ne={container:H3e,selectButton:D3e,disabled:B3e,error:R3e,default:"_default_v7v52_38",outline:F3e,filled:E3e,sm:O3e,md:U3e,lg:W3e,buttonContent:G3e,label:Z3e,placeholder:K3e,iconsContainer:X3e,loadingSpinner:Y3e,spin:J3e,arrowIcon:Q3e,arrowIconOpen:eme,dropdown:tme,searchContainer:ame,searchInput:nme,optionsList:ome,noResults:cme,option:ime,optionHighlighted:rme,optionSelected:sme,optionDisabled:dme,optionLabel:lme,checkIcon:hme,widthFull:ume,width64:pme,width80:yme,width96:kme},mme=({options:e,value:t,onChange:n,placeholder:o="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:l="md",variant:h="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[m,v]=k.useState(""),[f,M]=k.useState(0),[_,g]=k.useState({top:0,left:0,width:0}),L=k.useRef(null),w=k.useRef(null),C=k.useRef(null),b=k.useMemo(()=>m?e.filter(N=>N.label.toLowerCase().includes(m.toLowerCase())):e,[e,m]),x=e.find(N=>N.value===t),I=k.useCallback(()=>{if(L.current){const N=L.current.getBoundingClientRect();g({top:N.top,left:N.left,width:N.width})}},[]);k.useEffect(()=>(p&&(I(),window.addEventListener("scroll",I,!0),window.addEventListener("resize",I)),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}),[p,I]),k.useEffect(()=>{const N=A=>{L.current&&!L.current.contains(A.target)&&w.current&&!w.current.contains(A.target)&&(y(!1),v(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{M(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),v(""))},j=N=>{v(N.target.value),p||y(!0)},q=N=>{if(!p){(N.key==="ArrowDown"||N.key==="Enter")&&y(!0);return}switch(N.key){case"ArrowDown":N.preventDefault(),M(A=>A<b.length-1?A+1:A);break;case"ArrowUp":N.preventDefault(),M(A=>A>0?A-1:A);break;case"Enter":N.preventDefault(),b[f]&&S(b[f]);break;case"Escape":y(!1),v("");break}},$=()=>[ne.selectButton,ne[l],ne[h],i?ne.disabled:"",s?ne.error:"",d].filter(Boolean).join(" "),P=()=>{switch(u){case"w-64":return ne.width64;case"w-80":return ne.width80;case"w-96":return ne.width96;default:return ne.widthFull}},T=(N,A)=>[ne.option,A===f?ne.optionHighlighted:"",N.value===t?ne.optionSelected:"",N.disabled?ne.optionDisabled:""].filter(Boolean).join(" "),z={position:"fixed",top:_.top+(L.current?.offsetHeight||0)+4,left:_.left,width:_.width,zIndex:9999};return c.jsxs("div",{className:`${ne.container} ${P()}`,children:[c.jsx("button",{ref:L,className:$(),onClick:()=>!i&&y(!p),onKeyDown:q,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:c.jsxs("div",{className:ne.buttonContent,children:[c.jsx("span",{className:`${ne.label} ${x?"":ne.placeholder}`,children:x?x.label:o}),c.jsxs("div",{className:ne.iconsContainer,children:[r&&c.jsx("div",{className:ne.loadingSpinner}),c.jsx("svg",{className:`${ne.arrowIcon} ${p?ne.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&rw.createPortal(c.jsxs("div",{className:`${ne.dropdown} ${P()}`,style:z,ref:w,children:[c.jsx("div",{className:ne.searchContainer,children:c.jsx("input",{ref:C,type:"text",value:m,onChange:j,placeholder:"Rechercher...",className:ne.searchInput,autoFocus:!0})}),c.jsx("div",{className:ne.optionsList,children:b.length===0?c.jsx("div",{className:ne.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((N,A)=>c.jsx("li",{className:T(N,A),onClick:()=>S(N),onMouseEnter:()=>M(A),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:ne.buttonContent,children:[c.jsx("span",{className:ne.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:ne.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:c.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})},N.value))})})]}),document.body)]})},fme="_container_uq7pt_1",gme="_item_uq7pt_7",vme="_mainValue_uq7pt_13",Mme="_label_uq7pt_17",_me="_subValue_uq7pt_22",xme="_subValueWrapper_uq7pt_27",Lme="_subSeparator_uq7pt_32",Re={container:fme,item:gme,mainValue:vme,label:Mme,subValue:_me,subValueWrapper:xme,subSeparator:Lme},Ime=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:o="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:l="#6b7280",valueColor:h="#000000"})=>{const u=(p,y,m)=>{const[v,f]=p.split("/").map(M=>M.trim());return c.jsxs("span",{className:Re.subValueWrapper,children:[c.jsx("span",{className:Re.subLeft,style:{color:y},children:v}),c.jsx("span",{className:Re.subSeparator,children:" / "}),c.jsx("span",{className:Re.subRight,style:{color:m},children:f})]})};return c.jsxs("div",{className:Re.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:Re.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:Re.label,style:{color:l},children:p.label}),c.jsx("div",{className:Re.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},bme="_encours_16ist_1",wme="_header_16ist_19",Cme="_iconWrap_16ist_27",Nme="_title_16ist_36",Sme="_items_16ist_47",jme="_spaceEvenly_16ist_56",$me="_item_16ist_47",qme="_valueContainer_16ist_86",Ame="_value_16ist_86",zme="_label_16ist_108",tt={encours:bme,header:wme,iconWrap:Cme,title:Nme,items:Sme,spaceEvenly:jme,item:$me,valueContainer:qme,value:Ame,label:zme},bc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function Vme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=bc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=bc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(o.color=e.labelColor),e.labelFontSize!==void 0?o.fontSize=bc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=bc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Pme(){return c.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[c.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),c.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function Tme(e){const{title:t,titleColor:n,titleFontSize:o,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:m,bg:v="#ffffff",width:f,gap:M,className:_,ariaLabel:g}=e,L=r?ut[r]:void 0,w={background:v,width:bc(f),...m},C={};n&&(C.color=n),o!==void 0&&(C.fontSize=bc(o)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${tt.encours} ${_??""}`,style:w,"aria-label":g??t,children:[c.jsxs("div",{className:tt.header,children:[c.jsx("div",{className:tt.iconWrap,"aria-hidden":!0,style:b,children:L?c.jsx(L,{size:typeof s=="number"?s:void 0}):c.jsx(Pme,{})}),c.jsx("div",{className:tt.title,style:C,children:t})]}),c.jsx("div",{className:`${tt.items} ${M===void 0?tt.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((x,I)=>{const{valueStyle:S,labelStyle:j}=Vme(x,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:tt.item,role:"listitem",style:{...x.background?{background:x.background}:{},...x.width?{width:bc(x.width)}:{}},children:c.jsxs("div",{className:tt.valueContainer,children:[c.jsx("div",{className:tt.value,style:S,children:x.value}),x.label&&c.jsx("div",{className:tt.label,style:j,children:x.label})]})},`${String(x.label??x.value)}-${I}`)})})]})}const Hme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-360 280-559h400z"})),Dme=k.memo(Hme),Bme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m280-400 200-201 200 201z"})),Rme=k.memo(Bme),Fme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),Eme=k.memo(Fme),Ome=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),Ume=k.memo(Ome),Wme=({items:e,onSave:t,loading:n,disabled:o,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h,a11yConfig:u})=>{const[p,y]=k.useState(!1),[m,v]=k.useState(e),[f,M]=k.useState(!1);if(k.useEffect(()=>{M(!0)},[]),k.useEffect(()=>{v(e)},[e]),!f)return null;const _=(w,C)=>{C<4||v(b=>b.map(x=>x.component_key===w?{...x,visible:!x.visible}:x))},g=()=>{t(m),y(!1)},L=Y(u,s);return c.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[c.jsxs("div",{onClick:()=>{o||y(!p)},style:{display:"flex",alignItems:"center",cursor:o?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[c.jsx(Ij,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?c.jsx(Rme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Dme,{width:d,height:d,fill:l?.icon||"currentColor"})]}),p&&c.jsxs("div",{style:{position:"absolute",top:"120%",right:0,minWidth:260,background:"#fff",borderRadius:"0.25rem",boxShadow:"0px 3px 7px 0px rgba(17, 20, 21, 0.05),0px 14px 14px 0px rgba(17, 20, 21, 0.04),0px 30px 18px 0px rgba(17, 20, 21, 0.03), 0px 54px 22px 0px rgba(17, 20, 21, 0.01),0px 85px 24px 0px rgba(17, 20, 21, 0)",zIndex:235465456,padding:"0 0 0.5rem 0"},children:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:m.map((w,C)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>_(w.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:b=>{C>=4&&(b.currentTarget.style.background="#F9FAFB")},onMouseLeave:b=>{C>=4&&(b.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:w.visible?c.jsx(Eme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Ume,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:w.label})]}),C===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},w.component_key))}),c.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:c.jsx("button",{type:"button",onClick:g,disabled:n,style:{padding:"6px 16px",borderRadius:4,border:"none",background:"var(--color-primary, #008FBB)",color:"#fff",fontSize:"14px",fontWeight:500,cursor:n?"not-allowed":"pointer",transition:"opacity 0.2s",opacity:n?.7:1},children:n?r:i})})]})]})},Gme="_container_zhny9_1",Zme="_card_zhny9_15",Kme="_footer_zhny9_33",Xme="_noPaddingMobile_zhny9_51",K1={container:Gme,card:Zme,footer:Kme,noPaddingMobile:Xme},Yme="_board_71fer_1",Jme="_clickable_71fer_21",Qme="_sideBar_71fer_26",e6e="_boardContent_71fer_32",t6e="_orange_71fer_40",a6e="_red_71fer_44",n6e="_green_71fer_48",o6e="_grey_71fer_52",c6e="_lightGrey_71fer_56",i6e="_big_71fer_61",r6e="_medium_71fer_66",s6e="_headerRow_71fer_70",d6e="_iconWrapper_71fer_75",l6e="_headerTitle_71fer_80",h6e="_valueArea_71fer_89",u6e="_titleWhite_71fer_99",p6e="_titleBlack_71fer_103",y6e="_valueWhite_71fer_108",k6e="_valueBlack_71fer_112",m6e="_valueBlue_71fer_116",f6e="_bars_71fer_121",g6e="_bar_71fer_121",v6e="_barDark_71fer_135",M6e="_barDim_71fer_139",Ee={board:Yme,clickable:Jme,sideBar:Qme,boardContent:e6e,orange:t6e,red:a6e,green:n6e,grey:o6e,lightGrey:c6e,big:i6e,medium:r6e,headerRow:s6e,iconWrapper:d6e,headerTitle:l6e,valueArea:h6e,titleWhite:u6e,titleBlack:p6e,valueWhite:y6e,valueBlack:k6e,valueBlue:m6e,bars:f6e,bar:g6e,barDark:v6e,barDim:M6e},_6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ee.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ee.bar} ${r<o?"":e?Ee.barDark:Ee.barDim}`},r))})},wt=({a11yConfig:e,iconName:t,label:n,value:o,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:l,width:h,height:u,className:p="",style:y,titleColor:m="white",valueColor:v="white",titleFontSize:f,titleFontWeight:M,valueFontSize:_,valueFontWeight:g,barColor:L,justifyContent:w="space-between",alignItems:C="flex-start",cardGap:b="",onClick:x,iconColor:I,titleKey:S})=>{const j=r!=="none",q=r==="endingDark",{padding:$,...P}=y||{},T=h===void 0&&u===void 0&&i===void 0&&Object.keys(P).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...P},z=`${Ee.board} ${Ee[d]} ${p}`;return c.jsxs("div",{className:z,onClick:x,style:l!==void 0?{...T,"--ds-value-scale":l}:T,children:[L&&c.jsx("div",{className:Ee.sideBar,style:{backgroundColor:L}}),c.jsxs("div",{className:Ee.boardContent,style:{padding:$,gap:b},children:[c.jsxs("div",{className:Ee.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&c.jsx("div",{className:Ee.iconWrapper,style:{color:I},children:t}),c.jsx("div",{className:`${Ee.headerTitle} header-title-data-board`,children:c.jsx("span",{title:Y(e,S),"aria-label":e?.description,style:{color:m,...f?{fontSize:f}:{},...M?{fontWeight:M}:{}},children:n})}),j?c.jsx(_6e,{endingDark:q,lightCount:s}):null]}),c.jsx("div",{className:Ee.valueArea,style:{color:v,..._?{fontSize:_}:{},...g?{fontWeight:g}:{}},children:o})]})]})},x6e="_wrapper_1uu3e_10",L6e="_hosp_1uu3e_19",I6e="_headerRow_1uu3e_54",b6e="_iconWrapper_1uu3e_61",w6e="_headerTitle_1uu3e_67",C6e="_hospValue_1uu3e_76",N6e="_side_1uu3e_88",S6e="_mini_1uu3e_100",j6e="_miniLabel_1uu3e_131",$6e="_miniValue_1uu3e_140",q6e="_miniBars_1uu3e_150",A6e="_bars_1uu3e_155",z6e="_bar_1uu3e_155",V6e="_barDark_1uu3e_169",P6e="_barDim_1uu3e_173",$e={wrapper:x6e,hosp:L6e,headerRow:I6e,iconWrapper:b6e,headerTitle:w6e,hospValue:C6e,side:N6e,mini:S6e,miniLabel:j6e,miniValue:$6e,miniBars:q6e,bars:A6e,bar:z6e,barDark:V6e,barDim:P6e},T6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${$e.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${$e.bar} ${r<o?"":e?$e.barDark:$e.barDim}`},r))})},Oq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${$e.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${$e.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Y(e.a11yConfig,e.titleKey),children:[c.jsxs("div",{className:$e.headerRow,children:[c.jsxs("div",{className:`${$e.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:$e.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Y(e.a11yConfig,e.titleKey),children:e.label})]}),r?c.jsx(T6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:$e.hospValue,style:{color:e.valueColor||"white",...e.valueScale!==void 0?{"--ds-value-scale":e.valueScale}:{},...e.valueFontSize?{fontSize:e.valueFontSize}:{},...e.valueFontWeight?{fontWeight:e.valueFontWeight}:{}},children:e.value})]}),c.jsx("div",{className:$e.side,children:t.map((d,l)=>c.jsxs("div",{className:`${$e.mini} ${d.className||""} icon-wrapper-data-four-boards`,onClick:d.onClick,style:{...d.width?{width:d.width}:{},...d.height?{height:d.height}:{},...d.backgroundColor?{backgroundColor:d.backgroundColor}:{},...d.style||{}},title:Y(d.a11yConfig,d.titleKey),children:[c.jsxs("span",{className:$e.miniLabel,style:{color:d.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...d.titleFontSize?{fontSize:d.titleFontSize}:{},...d.titleFontWeight?{fontWeight:d.titleFontWeight}:{}},title:Y(d.a11yConfig,d.titleKey),children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${$e.miniValue} mini-value-data-four-boards`,style:{color:d.valueColor||"white",textAlign:"right",...d.valueScale!==void 0?{"--ds-value-scale":d.valueScale}:{},...d.valueFontSize?{fontSize:d.valueFontSize}:{},...d.valueFontWeight?{fontWeight:d.valueFontWeight}:{}},children:d.value}),c.jsx("div",{className:$e.miniBars})]},d.id??`${d.label}-${l}`))})]})},H6e=({items:e,footerLabel:t,width:n,height:o,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:m})=>{const v={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},f=e[0],M=e[1],_=e.slice(2,5);return c.jsxs("div",{style:v,className:`${K1.container} ${y?K1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:K1.card,children:[f?c.jsx(wt,{a11yConfig:f.a11yConfig,label:f.label,value:f.value,backgroundColor:f.backgroundColor,bars:f.bars,lightBars:f.lightBars,size:f.size??"big",valueScale:f.valueScale,width:f.width,height:f.height,titleColor:"white",valueColor:"white",titleFontSize:f.titleFontSize??l,titleFontWeight:f.titleFontWeight??h,valueFontSize:f.valueFontSize??u,valueFontWeight:f.valueFontWeight??p,titleKey:f.titleKey,onClick:g=>m?.(0,g)}):null,M&&_.length>0?c.jsx(Oq,{left:{a11yConfig:M.a11yConfig,id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,titleKey:M.titleKey,onClick:g=>m?.(1,g)},right:_.map((g,L)=>({a11yConfig:g.a11yConfig,id:g.id,label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,valueScale:g.valueScale,width:g.width,height:g.height,titleFontSize:g.titleFontSize??l,titleFontWeight:g.titleFontWeight??h,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p,titleKey:g.titleKey,onClick:w=>m?.(2+L,w)}))}):M&&_.length===0?c.jsx(wt,{a11yConfig:M.a11yConfig,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:g=>m?.(1,g)}):null]}),t&&c.jsx("div",{className:K1.footer,children:t})]})},D6e=({x:e,y:t,width:n,payload:o,fontSize:i,fontWeight:r,stroke:s})=>c.jsx("g",{transform:`translate(${e},${t})`,children:c.jsx("foreignObject",{x:-n,y:-20,width:n,height:40,style:{overflow:"visible"},children:c.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.1",wordBreak:"break-word",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",paddingRight:"8px"},children:o.value})})}),B6e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:o=!0,backgroundColor:i="#ffffff",legendTextColor:r="#000",barHeight:s=100,yAxisWidth:d=240,fontSize:l="12px",fontWeight:h="400",wrapLabels:u=!1,domain:p})=>c.jsx("div",{style:{backgroundColor:i},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:t,children:c.jsxs(a.BarChart,{data:e,layout:"vertical",children:[c.jsx(a.CartesianGrid,{stroke:"#E5E7EB",vertical:!1}),c.jsx(a.XAxis,{type:"number",domain:p,axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r}),c.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:d,interval:0,fontSize:l,fontWeight:h,tick:u?c.jsx(D6e,{}):void 0}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),R6e="_menu_10i6j_1",F6e="_menuRow_10i6j_18",E6e="_separator_10i6j_33",O6e="_rowLabel_10i6j_39",U6e="_rowLeadingIcon_10i6j_47",W6e="_rowIcon_10i6j_54",Hc={menu:R6e,menuRow:F6e,separator:E6e,rowLabel:O6e,rowLeadingIcon:U6e,rowIcon:W6e},G6e=k.forwardRef(function({isVisible:t,onClose:n,items:o,style:i,position:r,bg:s},d){const l=k.useRef(null),h=d||l;if(k.useEffect(()=>{if(!t)return;const y=m=>{h.current&&!h.current.contains(m.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return c.jsx("div",{ref:h,role:"menu",className:Hc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Hc.separator},y.id);const m=y,v=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Hc.menuRow,style:v,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Hc.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Hc.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Hc.rowIcon,children:m.icon})]},m.id)})})}),Uq=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:o,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:l="#888",avatarSize:h="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:m=600,roleFontSize:v="12px",roleFontWeight:f,avatarColor:M="#5b8fb9",backgroundColorAvatar:_="#f1f4f5",dropdownMenuItems:g,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:x,className:I=""})=>{const{user:S}=rt(),j=e||S,{currentTheme:q,switchTheme:$}=hL(),P=k.useRef(null),T=k.useRef(null),[z,N]=k.useState(!1),[A,B]=k.useState({}),R=k.useMemo(()=>{const F=[],J=({variant:te})=>te==="sun"?c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("circle",{cx:"12",cy:"12",r:"4"})}):c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(F.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),F.push({id:"sep-profile",type:"separator"}));const oe=q==="dark";return F.push({id:"theme",type:"action",label:oe?"Mode clair":"Mode sombre",icon:c.jsx(J,{variant:oe?"sun":"moon"}),onClick:()=>{$(oe?"light":"dark")}}),(t||o)&&(F.push({id:"sep-theme",type:"separator"}),F.push({id:"logout",type:"action",label:"Se déconnecter",danger:!0,onClick:()=>{if(t){if(typeof window>"u")return;n==="_blank"?window.open(t,"_blank","noopener,noreferrer"):window.location.assign(t);return}o?.()}})),F},[q,t,n,o,i,r,$]),H=g??R,Z=()=>{if(!P.current){N(F=>!F);return}if(!z){const F=P.current.getBoundingClientRect(),J=window.innerWidth,oe=window.innerHeight,te=200,ue=200,_e=4,fe=w?.x??0,je=w?.y??0,de=J-F.right>=te+_e;B(de?{top:F.bottom-ue+je,left:F.right+_e+fe}:{bottom:oe-F.top+je,left:F.left+fe})}N(F=>!F)};if(k.useEffect(()=>{if(!z||!P.current)return;const F=()=>{const J=P.current.getBoundingClientRect(),oe=window.innerWidth,te=window.innerHeight,ue=200,_e=200,fe=4,je=w?.x??0,Ce=w?.y??0,Le=oe-J.right>=ue+fe;B(Le?{top:J.bottom-_e+Ce,left:J.right+fe+je}:{bottom:te-J.top+Ce,left:J.left+je})};return window.addEventListener("resize",F),window.addEventListener("orientationchange",F),()=>{window.removeEventListener("resize",F),window.removeEventListener("orientationchange",F)}},[z,w]),k.useEffect(()=>{if(!z||!P.current||!T.current)return;const F=()=>{const oe=P.current.getBoundingClientRect(),te=T.current.getBoundingClientRect(),ue=w?.x??0,_e=w?.y??0;B(fe=>fe.left!==void 0&&fe.top!==void 0&&fe.left>=oe.right-1?{top:oe.bottom-te.height+_e,left:fe.left+ue}:fe)},J=requestAnimationFrame(()=>{setTimeout(F,0)});return()=>cancelAnimationFrame(J)},[z,w]),!j)return null;const W=j,pe=parseInt(h,10)||40,X=`${pe*.375}px`,xe=`${pe*1.375}px`,ye=`${pe*.2}px`,Se=`${pe*.6}px`,ce=()=>{const F=parseInt(h,10)||40,J=Math.max(8,F*.34375),oe=Math.max(2,F*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[W.image?c.jsx("img",{src:W.image,alt:`${W.prenom} ${W.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):c.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:_,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:X,height:X,borderRadius:"50%",backgroundColor:M,position:"absolute",top:ye,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:xe,height:xe,borderRadius:"50%",backgroundColor:M,position:"absolute",top:Se,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&c.jsx("div",{style:{position:"absolute",bottom:oe,right:oe,width:`${J}px`,height:`${J}px`,borderRadius:"50%",backgroundColor:C,border:"2px solid white",zIndex:10}})]}),c.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[c.jsx("span",{style:{fontWeight:m,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:W.email,children:W.email}),c.jsx("span",{style:{color:l,fontSize:v,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:W.role,children:W.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:P,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",...x},onClick:Z,title:Y(b,W.role),role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(ce,{})})}),c.jsx(G6e,{ref:T,isVisible:z,onClose:()=>N(!1),items:H,style:L,position:A})]})},Z6e="_navItem_16uqf_1",K6e="_label_16uqf_14",X6e="_icon_16uqf_26",i1={navItem:Z6e,label:K6e,icon:X6e},Gw=({label:e,labelKey:t,onClick:n,href:o,isActive:i,icon:r,style:s,className:d="",highlightColor:l="#00aec7",color:h="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:m="500",sidebarCollapsed:v=!1,padding:f="10px 16px",borderWidth:M="4px",iconGap:_="12px",disabled:g=!1,disabledColor:L,a11yConfig:w})=>{const C=()=>{g||n?.()},b=c.jsxs(c.Fragment,{children:[r&&c.jsx("span",{className:i1.icon,style:{marginRight:v?0:_},children:r}),!v&&c.jsx("span",{className:i1.label,children:e})]}),x=()=>{if(!i)return"transparent";const S=j=>{const q=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(j);return q?{r:parseInt(q[1],16),g:parseInt(q[2],16),b:parseInt(q[3],16)}:null};if(l.startsWith("#")){const j=S(l);if(j)return`rgba(${j.r}, ${j.g}, ${j.b}, 0.08)`}else if(l.startsWith("rgb")){const j=l.match(/\d+/g);if(j&&j.length>=3)return`rgba(${j[0]}, ${j[1]}, ${j[2]}, 0.08)`}return p},I={onClick:C,className:`${i1.navItem} ${i?i1.active:""} ${d} ${g?i1.disabled:""}`,style:{padding:f,color:i?u:g?L||"#999":h,borderLeft:i?`${M} solid ${l}`:`${M} solid transparent`,backgroundColor:x(),fontSize:y,fontWeight:m,cursor:g?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":g};return o&&!n&&!g?c.jsx("a",{href:o,...I,title:Y(w,t),children:b}):c.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!g?0:void 0,title:Y(w,t),children:b})},Y6e="_navbar_agnn2_1",J6e="_topSection_agnn2_9",Q6e="_sectionsContainer_agnn2_14",e8e="_sectionTitle_agnn2_20",t8e="_sectionItems_agnn2_25",a8e="_bottomSection_agnn2_30",n8e="_versionContainer_agnn2_49",st={navbar:Y6e,topSection:J6e,sectionsContainer:Q6e,sectionTitle:e8e,sectionItems:t8e,bottomSection:a8e,versionContainer:n8e},o8e=({logoProps:e,logoSpacing:t,navItems:n,padding:o="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:l="rgba(0, 0, 0, 0.05)",version:h,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:m="4px",navItemIconGap:v="12px",navItemFontSize:f="15px",navItemFontWeight:M="500",navItemColor:_,sectionTitlePadding:g="16px",sectionTitleFontSize:L="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:x="400",versionColor:I="#999",userInfoProps:S,style:j,className:q="",width:$="280px",showLogo:P=!0,versionA11yConfig:T})=>{const z=rt(),N=z.activeNav,A=z.setActiveNav,B=z.user,R=S.user||B;return c.jsxs("div",{className:`${st.navbar} ${q}`,style:{width:$,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:st.topSection,style:{gap:t},children:[P&&c.jsx("div",{className:st.logoContainer,children:c.jsx(lL,{...e})}),c.jsx("div",{className:st.sectionsContainer,style:{gap:i},children:n.map((H,Z)=>c.jsxs("div",{className:st.section,children:[H.title&&c.jsx("div",{className:st.sectionTitle,title:Y(H.a11yConfig,H.titleKey),style:{fontSize:L,color:w,padding:g,fontWeight:C,border:"4px solid transparent",...u},children:H.title}),c.jsx("div",{className:st.sectionItems,style:{gap:r},children:H.items.map(W=>c.jsx(Gw,{...W,isActive:W.isActive===null?W.isActive:N===W.id,onClick:()=>{W.onClick&&W.onClick(),W.isActive==null&&A(W.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:v,fontSize:f,fontWeight:M,color:_,style:p},W.id))})]},Z))})]}),c.jsxs("div",{className:st.bottomSection,style:{gap:t},children:[c.jsx(Uq,{...S,user:R}),h&&c.jsx("div",{className:st.versionContainer,title:Y(T,h),style:{fontSize:b,fontWeight:x,color:I},children:h})]})]})},c8e="_container_4qege_1",i8e="_titleContainer_4qege_10",r8e="_title_4qege_10",s8e="_inlineToggleContainer_4qege_24",d8e="_rightContentContainer_4qege_30",r1={container:c8e,titleContainer:i8e,title:r8e,inlineToggleContainer:s8e,rightContentContainer:d8e},l8e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:v,inlineToggle:f})=>{const{activeNav:M}=rt(),_=y.find(L=>L.id===M),g=m(_?_.label:M);return g?c.jsxs("div",{className:`${r1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:r1.titleContainer,children:[c.jsx("div",{className:r1.title,style:{fontSize:n,fontWeight:o,color:i},children:g}),f&&c.jsx("div",{className:r1.inlineToggleContainer,children:f})]}),v&&c.jsx("div",{className:r1.rightContentContainer,children:v})]}):null},h8e="_navItem_1hg26_1",u8e="_navItemIcon_1hg26_21",p8e="_navItemLabel_1hg26_29",y8e="_navItemCount_1hg26_36",k8e="_navItemIndicator_1hg26_49",s1={navItem:h8e,navItemIcon:u8e,navItemLabel:p8e,navItemCount:y8e,navItemIndicator:k8e},Wq=({a11yConfig:e,label:t,isActive:n,onClick:o,href:i,labelKey:r,icon:s,count:d,activeColor:l="#00aec7",inactiveColor:h="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:m="10px",countPadding:v="2px 6px",countFontSize:f="12px",countFontWeight:M="500",indicatorColor:_="#00aec7",indicatorHeight:g="3px",padding:L="8px 4px",fontSize:w="14px",fontWeight:C="500",gap:b="8px",style:x,className:I="",disabled:S=!1,onNavigate:j})=>{const q=()=>{S||(o?.(),i&&(j?j(i):window.location.href=i))};return c.jsxs("div",{className:`${s1.navItem} ${I}`,onClick:q,title:Y(e,r),style:{gap:b,padding:L,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,...x},children:[s&&c.jsx("span",{className:s1.navItemIcon,children:s}),c.jsx("span",{className:s1.navItemLabel,children:t}),d!==void 0&&c.jsx("span",{className:s1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:m,padding:v,fontSize:f,fontWeight:M},children:d}),n&&!S&&c.jsx("div",{className:s1.navItemIndicator,style:{height:g,backgroundColor:_}})]})},m8e="_container_13hsa_1",f8e="_groupHeader_13hsa_8",g8e="_groupHeaderLeft_13hsa_18",v8e="_groupIcon_13hsa_23",M8e="_dropdown_13hsa_29",_8e="_item_13hsa_42",x8e="_itemIcon_13hsa_65",L8e="_chevron_13hsa_72",I8e="_chevronOpen_13hsa_79",dt={container:m8e,groupHeader:f8e,groupHeaderLeft:g8e,groupIcon:v8e,dropdown:M8e,item:_8e,itemIcon:x8e,chevron:L8e,chevronOpen:I8e},b8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),$1=k.memo(b8e),Gq=({groups:e,activeItemId:t,onItemClick:n,style:o,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:l="var(--color-text)",headerBorderBottomColor:h="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:m="var(--color-text)",itemActiveColor:v="var(--color-primary)",itemActiveBorderColor:f="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:_="#555555",activeIconColor:g="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:w="var(--color-text)",iconSize:C=22,headerPadding:b="14px 20px",itemPadding:x="14px 20px",iconGap:I=14,borderRadius:S=0})=>{const[j,q]=k.useState(""),$=k.useRef(null);k.useEffect(()=>{const T=z=>{$.current&&!$.current.contains(z.target)&&q("")};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);const P={backgroundColor:r,color:s,borderRadius:S,...o};return c.jsx("nav",{ref:$,className:[dt.container,i].filter(Boolean).join(" "),style:P,children:e.map(T=>{const z=j===T.id,N={backgroundColor:d,color:l,padding:b,borderBottom:`1px solid ${h}`,gap:I},A={backgroundColor:u};return c.jsxs("div",{children:[c.jsxs("div",{className:dt.groupHeader,style:N,onClick:()=>q(z?"":T.id),role:"button","aria-expanded":z,children:[c.jsxs("div",{className:dt.groupHeaderLeft,style:{gap:I},children:[T.icon&&c.jsx("span",{className:dt.groupIcon,style:{color:L,width:C,height:C},children:T.icon}),c.jsx("span",{children:T.label})]}),c.jsx("span",{className:[dt.chevron,z?dt.chevronOpen:""].join(" "),style:{color:w},children:c.jsx($1,{width:18,height:18})})]}),z&&c.jsx("div",{className:dt.dropdown,style:A,children:T.items.map(B=>{const R=B.id===t,H={padding:x,gap:I,color:R?v:m,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?f:M};return c.jsxs("div",{className:dt.item,style:H,onClick:()=>{n?.(T.id,B.id),q("")},role:"menuitem",onMouseEnter:Z=>{R||(Z.currentTarget.style.backgroundColor=y)},children:[B.icon&&c.jsx("span",{className:dt.itemIcon,style:{color:R?g:_,width:C,height:C},children:B.icon}),c.jsx("span",{children:B.label})]},B.id)})})]},T.id)})})},w8e="_subheaderContent_1glo8_1",C8e="_navContainer_1glo8_11",N8e="_rightContent_1glo8_45",$b={subheaderContent:w8e,navContainer:C8e,rightContent:N8e},S8e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:o,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:l="24px",actionsGap:h="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:m="#00aec7",inactiveItemColor:v="#5c6975",indicatorHeight:f="3px",showDraggable:M=!1,showLegend:_=!1,showData:g=!1,className:L="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:x,countPadding:I,countFontSize:S,countFontWeight:j,navContainerClassName:q,navContainerStyle:$,rightContentClassName:P,rightContentStyle:T,rightActions:z,activeSwitcherColor:N,inactiveSwitcherColor:A,isMobile:B=!1,onNavigate:R})=>{const{activeSubNav:H,setActiveSubNav:Z,navCounts:W,activeNav:pe}=rt();if(B){const X=e.find(ye=>ye.id===H)||e[0],xe=[{id:"current-group",label:X?.label||pe?.toUpperCase()||"MENU",icon:X?.icon,items:e.map(ye=>({id:ye.id,label:ye.label,icon:ye.icon}))}];return c.jsx("div",{className:L,style:w,children:c.jsx(Gq,{groups:xe,activeItemId:H,onItemClick:(ye,Se)=>{const ce=e.find(F=>F.id===Se);ce&&(ce.onClick&&ce.onClick(),ce.href&&(R?R(ce.href):ce.onNavigate?ce.onNavigate(ce.href):window.location.href=ce.href),Z(Se))},headerBgColor:t})})}return c.jsxs("div",{className:`${$b.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...w},children:[c.jsx("div",{className:`${$b.navContainer} ${q||""}`,style:{gap:l,...$},children:e.map(X=>{const xe=X.count!==void 0?X.count:W[X.id],ye=H===X.id||X.isActive;return c.jsx(Wq,{...X,onNavigate:R||X.onNavigate,count:xe,isActive:ye,onClick:()=>{X.onClick&&X.onClick(),Z(X.id)},activeColor:m,inactiveColor:v,countBackgroundColor:C,countColor:b,countBorderRadius:x,countPadding:I,countFontSize:S,countFontWeight:j,indicatorColor:m,indicatorHeight:f,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:X.style},X.id)})}),c.jsxs("div",{className:`${$b.rightContent} ${P||""}`,style:{gap:h,...T},children:[M&&c.jsx(eL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(tL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),g&&c.jsx(aL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},j8e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:o="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=hL(),m=p!="dark",v=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:v,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:m?c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("circle",{cx:"12",cy:"12",r:"5"}),c.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),c.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),c.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),c.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),c.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),c.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),c.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),c.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},$8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[o,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";o.sortBy===s&&(d=o.sortOrder==="asc"?"desc":"asc");const l={...o,sortBy:s,sortOrder:d};i(l),n(s,d)},[o,n]);return{tableState:o,handleSort:r}},q8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),A8e=k.memo(q8e),z8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),V8e=k.memo(z8e),P8e=({columns:e,sortBy:t,sortOrder:n,onSort:o,removeLabelSpan:i=!1})=>c.jsx("thead",{children:c.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return c.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&o(String(r.key)),title:Y(r.a11yConfig,r.titleKey),children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(V8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(A8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),T8e=({data:e,columns:t,rowKey:n,onRowClick:o,isLoading:i,text:r,rowStyle:s,rowClassName:d})=>!e.length&&!i?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:c.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):c.jsx("tbody",{children:e.map((l,h)=>{const u=l[n],p=typeof u=="string"||typeof u=="number"?u:h;return c.jsx("tr",{onClick:()=>o&&o(l),style:{cursor:o?"pointer":"default",...s?s(l):{}},className:d?d(l,h):"",children:t.map((y,m)=>c.jsx("td",{style:{width:y.width,textAlign:y.align||"left"},className:y.className,children:y.render?y.render(l):l[y.key]},`${String(y.key)}-${m}`))},p)})}),H8e=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:o,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:l,total:h}=e,u=l===-1?h:l,p=Math.ceil(h/u)||1,y=Math.min(Math.max(1,d),p),m=h===0?0:(y-1)*u+1,v=Math.min(y*u,h),f=_=>{t({page:_})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,j)=>j+1);const L=Math.max(y-1,1),w=Math.min(y+1,p),C=L>2,b=w<p-2,x=1,I=p;if(!C&&b)return[...Array.from({length:5},(q,$)=>$+1),"...",p];if(C&&!b){const j=Array.from({length:5},(q,$)=>p-5+$+1);return[x,"...",...j]}if(C&&b){const S=Array.from({length:w-L+1},(j,q)=>L+q);return[x,"...",...S,"...",I]}return[]},[y,p]);return c.jsxs("div",{className:"table-pagination",children:[c.jsx("div",{className:"pagination-summary",children:h>0?c.jsx("span",{children:r?.itemsRange?r.itemsRange(m,v,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[m,"–",v]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>f(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>f(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((_,g)=>_==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},g):c.jsx("button",{className:`pagination-btn ${_===y?"active":""}`,onClick:()=>f(_),children:_},g)),c.jsx("button",{className:"pagination-btn",onClick:()=>f(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),c.jsx("button",{className:"pagination-btn",onClick:()=>f(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!o&&n&&i&&c.jsx("div",{className:"pagination-load-more",children:c.jsx("button",{className:"btn-load-more",onClick:n,disabled:s,style:{padding:"8px 16px",backgroundColor:"white",border:"1px solid #ddd",borderRadius:"6px",cursor:s?"wait":"pointer",color:"#555",fontWeight:600},children:s?r?.loading||"Chargement...":r?.loadMore||"Charger plus"})})]})},Zq=({data:e,columns:t,isLoading:n,pagination:o,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:l=!0,height:h,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:m,hasMore:v,tableState:f,className:M,style:_,rowStyle:g,onRowClick:L,rowClassName:w,titleKey:C,removeLabelSpan:b=!1,a11yConfig:x})=>{const I=k.useMemo(()=>({...p}),[p]),S=k.useRef(null);k.useEffect(()=>{if(!m||!y||!v||n)return;const z=new IntersectionObserver(N=>{N[0].isIntersecting&&y()},{threshold:.1});return S.current&&z.observe(S.current),()=>z.disconnect()},[m,y,v,n]);const{tableState:j,handleSort:q}=$8e({initialSortBy:null,onSortChange:r}),$=(f?.sortBy!==void 0?f.sortBy:j.sortBy)??void 0,P=f?.sortOrder!==void 0?f.sortOrder:j.sortOrder,T=z=>{const N=$,A=P;let B="asc";N===z&&(B=A==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(z,B):q(z)};return c.jsxs("div",{className:`table-container ${M||""}`,style:_,title:Y(x,C),children:[c.jsxs("div",{className:"table-frame",style:{height:h??void 0,minHeight:u??void 0},children:[n&&c.jsx("div",{className:"table-loader-overlay",children:c.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),c.jsxs("div",{className:`table-wrapper ${l?"sticky-header":""}`,children:[c.jsxs("table",{className:"data-table",children:[c.jsx(P8e,{columns:t,sortBy:$,sortOrder:P,onSort:T,removeLabelSpan:b}),c.jsx(T8e,{data:e,columns:t.map(z=>({...z,render:z.render?N=>z.render(N,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:I,rowStyle:typeof g=="function"?g:g?()=>g:void 0,rowClassName:w})]}),m&&c.jsx("div",{ref:S,style:{height:20,margin:10}})]})]}),c.jsx(H8e,{state:o,onPaginationChange:i,text:I,onLoadMore:y,infiniteScroll:m,hasMore:v,isLoading:n})]})},D8e="_datePickerContainer_1941b_3",B8e="_label_1941b_16",R8e="_displayNode_1941b_23",F8e="_datePickerButton_1941b_30",E8e="_datePickerButtonDisabled_1941b_50",O8e="_datePickerButtonOpen_1941b_59",U8e="_datePickerLabel_1941b_68",W8e="_placeholder_1941b_79",G8e="_chevron_1941b_83",Z8e="_errorMessage_1941b_91",K8e="_dropdown_1941b_96",X8e="_calendarHeader_1941b_120",Y8e="_navButton_1941b_129",J8e="_headerSelectors_1941b_148",Q8e="_monthSelector_1941b_156",efe="_yearSelector_1941b_157",tfe="_selectorButton_1941b_161",afe="_selectorChevron_1941b_178",nfe="_selectorChevronOpen_1941b_183",ofe="_monthDropdown_1941b_187",cfe="_yearDropdown_1941b_188",ife="_monthItem_1941b_208",rfe="_yearItem_1941b_209",sfe="_monthItemSelected_1941b_231",dfe="_yearItemSelected_1941b_232",lfe="_weekdays_1941b_236",hfe="_weekday_1941b_236",ufe="_calendarGrid_1941b_252",pfe="_dateCell_1941b_260",yfe="_dateCellSelected_1941b_283",kfe="_dateCellOtherMonth_1941b_287",mfe="_dateCellOtherMonthSelected_1941b_291",ffe="_calendarFooter_1941b_295",gfe="_cancelButton_1941b_303",vfe="_applyButton_1941b_304",Mfe="_timePickerContainer_1941b_348",_fe="_timeGroup_1941b_357",xfe="_timeLabel_1941b_364",Lfe="_timeInputWrapper_1941b_370",Ife="_timeInput_1941b_370",bfe="_timeSeparator_1941b_398",E={datePickerContainer:D8e,label:B8e,displayNode:R8e,datePickerButton:F8e,datePickerButtonDisabled:E8e,datePickerButtonOpen:O8e,datePickerLabel:U8e,placeholder:W8e,chevron:G8e,errorMessage:Z8e,dropdown:K8e,calendarHeader:X8e,navButton:Y8e,headerSelectors:J8e,monthSelector:Q8e,yearSelector:efe,selectorButton:tfe,selectorChevron:afe,selectorChevronOpen:nfe,monthDropdown:ofe,yearDropdown:cfe,monthItem:ife,yearItem:rfe,monthItemSelected:sfe,yearItemSelected:dfe,weekdays:lfe,weekday:hfe,calendarGrid:ufe,dateCell:pfe,dateCellSelected:yfe,dateCellOtherMonth:kfe,dateCellOtherMonthSelected:mfe,calendarFooter:ffe,cancelButton:gfe,applyButton:vfe,timePickerContainer:Mfe,timeGroup:_fe,timeLabel:xfe,timeInputWrapper:Lfe,timeInput:Ife,timeSeparator:bfe},rj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],wfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],iw=({value:e,onChange:t,label:n,placeholder:o="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:l="2.75rem",buttonPadding:h="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:m="0.5rem",errorMarginTop:v="0.25rem",dropdownMarginTop:f="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:_="400",buttonBgColor:g,buttonBorderColor:L,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:x,iconColor:I,errorColor:S,labelColor:j,placeholderColor:q,borderRadius:$="var(--radius-content)",borderWidth:P="0.0625rem",boxShadow:T="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:N="ease",dateCellSize:A="2.5rem",headerTextColor:B="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:H="#212529",otherMonthDateColor:Z="#adb5bd",selectedDateBgColor:W="#00A6D9",selectedDateTextColor:pe="#ffffff",cancelButtonBgColor:X="#e9ecef",cancelButtonTextColor:xe="#212529",applyButtonBgColor:ye="#00A6D9",applyButtonTextColor:Se="#ffffff",width:ce,displayNode:F=void 0,displayMode:J="auto",displayNodeAriaLabel:oe,dropdownPosition:te="bottom",dropdownAlignment:ue="right",dropdownWidth:_e,withBorder:fe=!1,icon:je,precision:Ce="day",hoursLabel:de="Heures",minutesLabel:Le="Minutes",lowerLimit:ft=null,upperLimit:a1=null,months:$c,weekdays:ee,cancelText:qc="Annuler",applyText:ke="Appliquer",prevMonthAriaLabel:zt="Mois précédent",nextMonthAriaLabel:Jq="Mois suivant",calendarAriaLabel:Qq="Sélecteur de date",openedAriaLabel:eA="Ouvrir le sélecteur de date",selectedDateAriaLabel:tA="Date sélectionnée: ",locale:Zw="fr-FR"})=>{const Vt=D=>{if(D instanceof Date)return isNaN(D.getTime())?null:D;if(typeof D=="string"&&D){const G=new Date(D);return isNaN(G.getTime())?null:G}return null},[Je,Pt]=k.useState(!1),[Ac,aA]=k.useState({top:0,left:0,width:0}),[ae,n1]=k.useState(Vt(e)||new Date),[IL,bL]=k.useState(Vt(e)),[wL,CL]=k.useState(Vt(e)?.getHours()??0),[NL,SL]=k.useState(Vt(e)?.getMinutes()??0),[jL,zc]=k.useState(!1),[$L,Vc]=k.useState(!1),qL=k.useRef(null),E1=k.useRef(null),AL=k.useRef(null),zL=k.useRef(null);k.useEffect(()=>{const D=Vt(e);bL(D),D&&(n1(D),CL(D.getHours()),SL(D.getMinutes()))},[e]);const Pc=k.useCallback(()=>{if(E1.current){const D=E1.current.getBoundingClientRect();aA({top:D.top,left:D.left,width:D.width})}},[]);k.useEffect(()=>(Je&&(Pc(),window.addEventListener("scroll",Pc,!0),window.addEventListener("resize",Pc)),()=>{window.removeEventListener("scroll",Pc,!0),window.removeEventListener("resize",Pc)}),[Je,Pc]),k.useEffect(()=>{const D=G=>{if(qL.current&&!qL.current.contains(G.target)){const ve=document.getElementById("datepicker-dropdown");if(ve&&ve.contains(G.target))return;Pt(!1),zc(!1),Vc(!1)}AL.current&&!AL.current.contains(G.target)&&zc(!1),zL.current&&!zL.current.contains(G.target)&&Vc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const Kw=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),nA=D=>{const G=new Date(D.getFullYear(),D.getMonth(),1).getDay();return G===0?6:G-1},oA=()=>{const D=[],G=nA(ae),ve=Kw(ae),O1=new Date(ae.getFullYear(),ae.getMonth()-1,1),gt=Kw(O1);for(let We=G-1;We>=0;We--)D.push(new Date(ae.getFullYear(),ae.getMonth()-1,gt-We));for(let We=1;We<=ve;We++)D.push(new Date(ae.getFullYear(),ae.getMonth(),We));const o1=42-D.length;for(let We=1;We<=o1;We++)D.push(new Date(ae.getFullYear(),ae.getMonth()+1,We));return D},cA=(D,G)=>!D||!G?!1:D.getDate()===G.getDate()&&D.getMonth()===G.getMonth()&&D.getFullYear()===G.getFullYear(),iA=D=>D.getMonth()===ae.getMonth()&&D.getFullYear()===ae.getFullYear(),rA=()=>{n1(new Date(ae.getFullYear(),ae.getMonth()-1,1))},sA=()=>{n1(new Date(ae.getFullYear(),ae.getMonth()+1,1))},dA=D=>{if(!s){const G=new Date(D);G.setHours(wL),G.setMinutes(NL),bL(G)}},lA=()=>{if(!s){if(IL){const D=new Date(IL);D.setHours(wL),D.setMinutes(NL),t(D)}else t(null);Pt(!1)}},hA=()=>{const D=Vt(e);bL(D),D&&(CL(D.getHours()),SL(D.getMinutes())),Pt(!1)},uA=D=>{n1(new Date(ae.getFullYear(),D,1)),zc(!1)},pA=D=>{n1(new Date(D,ae.getMonth(),1)),Vc(!1)},yA=()=>{const D=ae.getFullYear(),G=[];for(let ve=D-10;ve<=D+10;ve++)G.push(ve);return G},kA=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),Pt(!Je);break;case"Escape":Pt(!1),zc(!1),Vc(!1);break;case"Tab":Je&&(Pt(!1),zc(!1),Vc(!1));break}},mA={width:ce||(r?"100%":"auto"),fontSize:p,fontWeight:_},fA={height:l,padding:h,backgroundColor:g||"#ffffff",border:fe?void 0:"none",borderColor:d?S||"#dc3545":L||"#dee2e6",color:w||"#212529",borderRadius:$,borderWidth:P,fontWeight:_,transition:`all ${z} ${N}`},gA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:$,borderWidth:P,boxShadow:T,transition:`opacity ${z} ${N}, transform ${z} ${N}`,position:"fixed",top:te==="bottom"?Ac.top+(E1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:te==="top"?window.innerHeight-Ac.top+parseFloat(f.replace("rem",""))*16:"auto",left:ue==="left"?Ac.left:"auto",right:ue==="right"?window.innerWidth-(Ac.left+Ac.width):"auto",width:_e||(r?Ac.width:"auto"),zIndex:10001},Xw={width:y,height:y,color:I||"#6c757d","--icon-rotation":Je?"rotate(180deg)":"rotate(0deg)"},vA={color:j||"#212529",marginBottom:m,fontWeight:_},MA={color:q||"#6c757d"},_A={color:S||"#dc3545",marginTop:v},xA=oA(),Qe=Vt(e),Yw=Qe?Ce==="minutes"?`${Qe.toLocaleDateString(Zw)} ${Qe.getHours().toString().padStart(2,"0")}:${Qe.getMinutes().toString().padStart(2,"0")}`:Qe.toLocaleDateString(Zw):"",LA=!!F&&(J==="icon"||J==="auto"&&!Qe),IA=oe||(Qe?`${tA}${Yw}`:eA);return c.jsxs("div",{className:`${E.datePickerContainer} ${i}`,ref:qL,style:mA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:E.label,style:vA,children:n}),c.jsxs("button",{ref:E1,type:"button",onClick:()=>!s&&Pt(!Je),onKeyDown:kA,className:`
|
|
8169
|
+
`),()=>{M.contains(f)&&M.removeChild(f)}},[t]),c.jsx(u0e,{isPresent:t,childRef:r,sizeRef:s,children:Z.cloneElement(e,{ref:l})})}const y0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=qt(k0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:m=>{h.set(m,!0);for(const v of h.values())if(!v)return;o&&o()},register:m=>(h.set(m,!1),()=>h.delete(m))}),[n,h,o]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((m,v)=>h.set(v,!1))},[n]),Z.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(p0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(uL.Provider,{value:y,children:e})};function k0e(){return new Map}function v$(e=!0){const t=k.useContext(uL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:o,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&o&&o(r),[r,o,e]);return!n&&o?[!1,s]:[!0]}const G1=e=>e.key||"";function LC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const m0e=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=v$(s),p=k.useMemo(()=>LC(e),[e]),y=s&&!h?[]:p.map(G1),m=k.useRef(!0),v=k.useRef(p),f=qt(()=>new Map),[M,_]=k.useState(p),[g,L]=k.useState(p);lw(()=>{m.current=!1,v.current=p;for(let b=0;b<g.length;b++){const x=G1(g[b]);y.includes(x)?f.delete(x):f.get(x)!==!0&&f.set(x,!1)}},[g,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let x=0;x<g.length;x++){const I=g[x],S=G1(I);y.includes(S)||(b.splice(x,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(LC(b)),_(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&g.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:C}=k.useContext(sw);return c.jsx(c.Fragment,{children:g.map(b=>{const x=G1(b),I=s&&!h?!1:p===g||y.includes(x),S=()=>{if(f.has(x))f.set(x,!0);else return;let j=!0;f.forEach(q=>{q||(j=!1)}),j&&(C?.(),L(v.current),s&&u?.(),o&&o())};return c.jsx(y0e,{isPresent:I,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:I?void 0:S,anchorX:d,children:b},x)})})},M$=k.createContext({strict:!1}),IC={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},Xc={};for(const e in IC)Xc[e]={isEnabled:t=>IC[e].some(n=>!!t[n])};function f0e(e){for(const t in e)Xc[t]={...Xc[t],...e[t]}}const g0e=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function iL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||g0e.has(e)}let _$=e=>!iL(e);function v0e(e){typeof e=="function"&&(_$=t=>t.startsWith("on")?!iL(t):e(t))}try{v0e(require("@emotion/is-prop-valid").default)}catch{}function M0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(_$(i)||n===!0&&iL(i)||!t&&!iL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const yL=k.createContext({});function kL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function V1(e){return typeof e=="string"||Array.isArray(e)}const qw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Aw=["initial",...qw];function mL(e){return kL(e.animate)||Aw.some(t=>V1(e[t]))}function x$(e){return!!(mL(e)||e.variants)}function _0e(e,t){if(mL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||V1(n)?n:void 0,animate:V1(o)?o:void 0}}return e.inherit!==!1?t:{}}function x0e(e){const{initial:t,animate:n}=_0e(e,k.useContext(yL));return k.useMemo(()=>({initial:t,animate:n}),[bC(t),bC(n)])}function bC(e){return Array.isArray(e)?e.join(" "):e}const P1={};function L0e(e){for(const t in e)P1[t]=e[t],gw(t)&&(P1[t].isCSSVariable=!0)}function L$(e,{layout:t,layoutId:n}){return e1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!P1[e]||e==="opacity")}const I0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},b0e=Qc.length;function w0e(e,t,n){let o="",i=!0;for(let r=0;r<b0e;r++){const s=Qc[r],d=e[s];if(d===void 0)continue;let l=!0;if(typeof d=="number"?l=d===(s.startsWith("scale")?1:0):l=parseFloat(d)===0,!l||n){const h=p$(d,Sw[s]);if(!l){i=!1;const u=I0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function zw(e,t,n){const{style:o,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(e1.has(l)){s=!0;continue}else if(gw(l)){i[l]=h;continue}else{const u=p$(h,Sw[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=w0e(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;o.transformOrigin=`${l} ${h} ${u}`}}const Vw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function I$(e,t,n){for(const o in t)!we(t[o])&&!L$(o,n)&&(e[o]=t[o])}function C0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Vw();return zw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function N0e(e,t){const n=e.style||{},o={};return I$(o,n,e),Object.assign(o,C0e(e,t)),o}function S0e(e,t){const n={},o=N0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const j0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},$0e={offset:"strokeDashoffset",array:"strokeDasharray"};function q0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?j0e:$0e;e[r.offset]=O.transform(-o);const s=O.transform(t),d=O.transform(n);e[r.array]=`${s} ${d}`}function b$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(zw(e,d,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),o!==void 0&&(p.scale=o),i!==void 0&&q0e(p,i,r,s,!1)}const w$=()=>({...Vw(),attrs:{}}),C$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function A0e(e,t,n,o){const i=k.useMemo(()=>{const r=w$();return b$(r,t,C$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};I$(r,e.style,e),i.style={...r,...i.style}}return i}const z0e=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Pw(e){return typeof e!="string"||e.includes("-")?!1:!!(z0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function V0e(e,t,n,{latestValues:o},i,r=!1){const d=(Pw(e)?A0e:S0e)(t,o,i,e),l=M0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>we(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function wC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function Tw(e,t,n,o){if(typeof t=="function"){const[i,r]=wC(o);t=t(n!==void 0?n:e.custom,i,r)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[i,r]=wC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Yx(e){return we(e)?e.get():e}function P0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:T0e(n,o,i,e),renderState:t()}}function T0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Yx(r[y]);let{initial:s,animate:d}=e;const l=mL(e),h=x$(e);t&&h&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!kL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const v=Tw(e,y[m]);if(v){const{transitionEnd:f,transition:M,..._}=v;for(const g in _){let L=_[g];if(Array.isArray(L)){const w=u?L.length-1:0;L=L[w]}L!==null&&(i[g]=L)}for(const g in f)i[g]=f[g]}}}return i}const N$=e=>(t,n)=>{const o=k.useContext(yL),i=k.useContext(uL),r=()=>P0e(e,t,o,i);return n?r():qt(r)};function Hw(e,t,n){const{style:o}=e,i={};for(const r in o)(we(o[r])||t.style&&we(t.style[r])||L$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const H0e=N$({scrapeMotionValuesFromProps:Hw,createRenderState:Vw});function S$(e,t,n){const o=Hw(e,t,n);for(const i in e)if(we(e[i])||we(t[i])){const r=Qc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const D0e=N$({scrapeMotionValuesFromProps:S$,createRenderState:w$}),B0e=Symbol.for("motionComponentSymbol");function Rc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function R0e(e,t,n){return k.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):Rc(n)&&(n.current=o))},[t])}const Dw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),F0e="framerAppearId",j$="data-"+Dw(F0e),$$=k.createContext({});function E0e(e,t,n,o,i){const{visualElement:r}=k.useContext(yL),s=k.useContext(M$),d=k.useContext(uL),l=k.useContext(pL).reducedMotion,h=k.useRef(null);o=o||s.renderer,!h.current&&o&&(h.current=o(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext($$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&O0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[j$],v=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return lw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),v.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!v.current&&u.animationState&&u.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),v.current=!1),u.enteringChildren=void 0)}),u}function O0e(e,t,n,o){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:q$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Rc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function q$(e){if(e)return e.options.allowProjection!==!1?e.projection:q$(e.parent)}function RL(e,{forwardMotionProps:t=!1}={},n,o){n&&f0e(n);const i=Pw(e)?D0e:H0e;function r(d,l){let h;const u={...k.useContext(pL),...d,layoutId:U0e(d)},{isStatic:p}=u,y=x0e(d),m=i(d,p);if(!p&&dw){W0e(u,n);const v=G0e(u);h=v.MeasureLayout,y.visualElement=E0e(e,m,u,o,v.ProjectionNode)}return c.jsxs(yL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,V0e(e,d,R0e(m,y.visualElement,l),m,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[B0e]=e,s}function U0e({layoutId:e}){const t=k.useContext(sw).id;return t&&e!==void 0?t+"-"+e:e}function W0e(e,t){const n=k.useContext(M$).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const o="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?Yc(!1,o,"lazy-strict-mode"):Ye(!1,o,"lazy-strict-mode")}}function G0e(e){const{drag:t,layout:n}=Xc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function Z0e(e,t){if(typeof Proxy>"u")return RL;const n=new Map,o=(r,s)=>RL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&kw(!1,"motion() is deprecated. Use motion.create() instead."),o(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?o:(n.has(s)||n.set(s,RL(s,void 0,e,t)),n.get(s))})}function A$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function K0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function X0e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function FL(e){return e===void 0||e===1}function Yb({scale:e,scaleX:t,scaleY:n}){return!FL(e)||!FL(t)||!FL(n)}function xc(e){return Yb(e)||z$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function z$(e){return CC(e.x)||CC(e.y)}function CC(e){return e&&e!=="0%"}function rL(e,t,n){const o=e-n,i=t*o;return n+i}function NC(e,t,n,o,i){return i!==void 0&&(e=rL(e,i,o)),rL(e,n,o)+t}function Jb(e,t=0,n=1,o,i){e.min=NC(e.min,t,n,o,i),e.max=NC(e.max,t,n,o,i)}function V$(e,{x:t,y:n}){Jb(e.x,t.translate,t.scale,t.originPoint),Jb(e.y,n.translate,n.scale,n.originPoint)}const SC=.999999999999,jC=1.0000000000001;function Y0e(e,t,n,o=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Ec(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,V$(e,s)),o&&xc(r.latestValues)&&Ec(e,r.latestValues))}t.x<jC&&t.x>SC&&(t.x=1),t.y<jC&&t.y>SC&&(t.y=1)}function Fc(e,t){e.min=e.min+t,e.max=e.max+t}function $C(e,t,n,o,i=.5){const r=he(e.min,e.max,i);Jb(e,t,n,r,o)}function Ec(e,t){$C(e.x,t.x,t.scaleX,t.scale,t.originX),$C(e.y,t.y,t.scaleY,t.scale,t.originY)}function P$(e,t){return A$(X0e(e.getBoundingClientRect(),t))}function J0e(e,t,n){const o=P$(e,n),{scroll:i}=t;return i&&(Fc(o.x,i.offset.x),Fc(o.y,i.offset.y)),o}const qC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Oc=()=>({x:qC(),y:qC()}),AC=()=>({min:0,max:0}),me=()=>({x:AC(),y:AC()}),Qb={current:null},T$={current:!1};function Q0e(){if(T$.current=!0,!!dw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Qb.current=e.matches;e.addEventListener("change",t),t()}else Qb.current=!1}const ele=new WeakMap;function tle(e,t,n){for(const o in t){const i=t[o],r=n[o];if(we(i))e.addValue(o,i);else if(we(r))e.addValue(o,Sc(i,{owner:e}));else if(r!==i)if(e.hasValue(o)){const s=e.getValue(o);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(o);e.addValue(o,Sc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const zC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ale{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Cw,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const y=Pe.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,de.render(this.render,!1,!0))};const{latestValues:l,renderState:h}=s;this.latestValues=l,this.baseTarget={...l},this.initialValues=n.initial?{...l}:{},this.renderState=h,this.parent=t,this.props=n,this.presenceContext=o,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=mL(n),this.isVariantNode=x$(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:u,...p}=this.scrapeMotionValuesFromProps(n,{},this);for(const y in p){const m=p[y];l[y]!==void 0&&we(m)&&m.set(l[y])}}mount(t){this.current=t,ele.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),T$.current||Q0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Qb.current,process.env.NODE_ENV!=="production"&&kw(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected.","reduced-motion-disabled"),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),kt(this.notifyUpdate),kt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const o=e1.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&de.preRender(this.notifyUpdate),o&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Xc){const n=Xc[t];if(!n)continue;const{isEnabled:o,Feature:i}=n;if(!this.features[t]&&i&&o(this.props)&&(this.features[t]=new i(this)),this.features[t]){const r=this.features[t];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):me()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let o=0;o<zC.length;o++){const i=zC[o];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=tle(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=Sc(n===null?void 0:n,{owner:this}),this.addValue(t,o)),o}readValue(t,n){let o=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return o!=null&&(typeof o=="string"&&(Nj(o)||jj(o))?o=parseFloat(o):!d0e(o)&&$t.test(n)&&(o=u$(t,n)),this.setBaseTarget(t,we(o)?o.get():o)),we(o)?o.get():o}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let o;if(typeof n=="string"||typeof n=="object"){const r=Tw(this.props,n,this.presenceContext?.custom);r&&(o=r[t])}if(n&&o!==void 0)return o;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!we(i)?i:this.initialValues[t]!==void 0&&o===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new yw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){jw.render(this.render)}}class H$ extends ale{constructor(){super(...arguments),this.KeyframeResolver=Xde}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;we(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function D$(e,{style:t,vars:n},o,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,o);for(s in n)r.setProperty(s,n[s])}function nle(e){return window.getComputedStyle(e)}class ole extends H${constructor(){super(...arguments),this.type="html",this.renderInstance=D$}readValueFromInstance(t,n){if(e1.has(n))return this.projection?.isProjecting?Ob(n):yde(t,n);{const o=nle(t),i=(gw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return P$(t,n)}build(t,n,o){zw(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Hw(t,n,o)}}const B$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function cle(e,t,n,o){D$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(B$.has(i)?i:Dw(i),t.attrs[i])}class ile extends H${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=me}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(e1.has(n)){const o=h$(n);return o&&o.default||0}return n=B$.has(n)?n:Dw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return S$(t,n,o)}build(t,n,o){b$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){cle(t,n,o,i)}mount(t){this.isSVGTag=C$(t.tagName),super.mount(t)}}const rle=(e,t)=>Pw(e)?new ile(t):new ole(t,{allowProjection:e!==k.Fragment});function Kc(e,t,n){const o=e.getProps();return Tw(o,t,n!==void 0?n:o.custom,e)}const ew=e=>Array.isArray(e);function sle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Sc(n))}function dle(e){return ew(e)?e[e.length-1]||0:e}function lle(e,t){const n=Kc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=dle(r[s]);sle(e,s,d)}}function hle(e){return!!(we(e)&&e.add)}function tw(e,t){const n=e.getValue("willChange");if(hle(n))return n.add(t);if(!n&&yt.WillChange){const o=new yt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function R$(e){return e.props[j$]}const ule=e=>e!==null;function ple(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(ule),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const yle={type:"spring",stiffness:500,damping:25,restSpeed:10},kle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),mle={type:"keyframes",duration:.8},fle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},gle=(e,{keyframes:t})=>t.length>2?mle:e1.has(e)?e.startsWith("scale")?kle(t[1]):yle:fle;function vle({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const Bw=(e,t,n,o={},i,r)=>s=>{const d=Nw(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Xe(l);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...d,delay:-h,onUpdate:y=>{t.set(y),d.onUpdate&&d.onUpdate(y)},onComplete:()=>{s(),d.onComplete&&d.onComplete()},name:e,motionValue:t,element:r?void 0:i};vle(d)||Object.assign(u,gle(e,u)),u.duration&&(u.duration=Xe(u.duration)),u.repeatDelay&&(u.repeatDelay=Xe(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Kb(u),u.delay===0&&(p=!0)),(yt.instantAnimations||yt.skipAnimations)&&(p=!0,Kb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ple(u.keyframes,d);if(y!==void 0){de.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new ww(u):new Tde(u)};function Mle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function F$(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;o&&(r=o);const l=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||h&&Mle(h,u))continue;const m={delay:n,...Nw(r||{},u)},v=p.get();if(v!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===v&&!m.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){const _=R$(e);if(_){const g=window.MotionHandoffAnimation(_,u,de);g!==null&&(m.startTime=g,f=!0)}}tw(e,u),p.start(Bw(u,p,y,e.shouldReduceMotion&&s$.has(u)?{type:!1}:m,e,f));const M=p.animation;M&&l.push(M)}return s&&Promise.all(l).then(()=>{de.update(()=>{s&&lle(e,s)})}),l}function E$(e,t,n,o=0,i=1){const r=Array.from(e).sort((h,u)=>h.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*o;return typeof n=="function"?n(r,s):i===1?r*o:d-r*o}function aw(e,t,n={}){const o=Kc(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const r=o?()=>Promise.all(F$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return _le(e,t,l,h,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[l,h]=d==="beforeChildren"?[r,s]:[s,r];return l().then(()=>h())}else return Promise.all([r(),s(n.delay)])}function _le(e,t,n=0,o=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(aw(l,t,{...s,delay:n+(typeof o=="function"?0:o)+E$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function xle(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>aw(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=aw(e,t,n);else{const i=typeof t=="function"?Kc(e,t,n.custom):t;o=Promise.all(F$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function O$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}const Lle=Aw.length;function U$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?U$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Lle;n++){const o=Aw[n],i=e.props[o];(V1(i)||i===!1)&&(t[o]=i)}return t}const Ile=[...qw].reverse(),ble=qw.length;function wle(e){return t=>Promise.all(t.map(({animation:n,options:o})=>xle(e,n,o)))}function Cle(e){let t=wle(e),n=VC(),o=!0;const i=l=>(h,u)=>{const p=Kc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...v}=p;h={...h,...v,...m}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=U$(e.parent)||{},p=[],y=new Set;let m={},v=1/0;for(let M=0;M<ble;M++){const _=Ile[M],g=n[_],L=h[_]!==void 0?h[_]:u[_],w=V1(L),C=_===l?g.isActive:null;C===!1&&(v=M);let b=L===u[_]&&L!==h[_]&&w;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...m},!g.isActive&&C===null||!L&&!g.prevProp||kL(L)||typeof L=="boolean")continue;const x=Nle(g.prevProp,L);let I=x||_===l&&g.isActive&&!b&&w||M>v&&w,S=!1;const j=Array.isArray(L)?L:[L];let q=j.reduce(i(_),{});C===!1&&(q={});const{prevResolvedValues:$={}}=g,P={...$,...q},T=A=>{I=!0,y.has(A)&&(S=!0,y.delete(A)),g.needsAnimating[A]=!0;const B=e.getValue(A);B&&(B.liveStyle=!1)};for(const A in P){const B=q[A],R=$[A];if(m.hasOwnProperty(A))continue;let D=!1;ew(B)&&ew(R)?D=!O$(B,R):D=B!==R,D?B!=null?T(A):y.add(A):B!==void 0&&y.has(A)?T(A):g.protectedKeys[A]=!0}g.prevProp=L,g.prevResolvedValues=q,g.isActive&&(m={...m,...q}),o&&e.blockInitialAnimation&&(I=!1);const V=b&&x;I&&(!V||S)&&p.push(...j.map(A=>{const B={type:_};if(typeof A=="string"&&o&&!V&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,D=Kc(R,A);if(R.enteringChildren&&D){const{delayChildren:W}=D.transition||{};B.delay=E$(R.enteringChildren,e,W)}}return{animation:A,options:B}}))}if(y.size){const M={};if(typeof h.initial!="boolean"){const _=Kc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(M.transition=_.transition)}y.forEach(_=>{const g=e.getBaseTarget(_),L=e.getValue(_);L&&(L.liveStyle=!0),M[_]=g??null}),p.push({animation:M})}let f=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(p):Promise.resolve()}function d(l,h){if(n[l].isActive===h)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(l,h)),n[l].isActive=h;const u=s(l);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=VC()}}}function Nle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!O$(t,e):!1}function Tt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function VC(){return{animate:Tt(!0),whileInView:Tt(),whileHover:Tt(),whileTap:Tt(),whileDrag:Tt(),whileFocus:Tt(),exit:Tt()}}class At{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Sle extends At{constructor(t){super(t),t.animationState||(t.animationState=Cle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();kL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let jle=0;class $le extends At{constructor(){super(...arguments),this.id=jle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const qle={animation:{Feature:Sle},exit:{Feature:$le}};function T1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function F1(e){return{point:{x:e.pageX,y:e.pageY}}}const Ale=e=>t=>$w(t)&&e(t,F1(t));function N1(e,t,n,o){return T1(e,t,Ale(n),o)}const W$=1e-4,zle=1-W$,Vle=1+W$,G$=.01,Ple=0-G$,Tle=0+G$;function qe(e){return e.max-e.min}function Hle(e,t,n){return Math.abs(e-t)<=n}function PC(e,t,n,o=.5){e.origin=o,e.originPoint=he(t.min,t.max,e.origin),e.scale=qe(n)/qe(t),e.translate=he(n.min,n.max,e.origin)-e.originPoint,(e.scale>=zle&&e.scale<=Vle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Ple&&e.translate<=Tle||isNaN(e.translate))&&(e.translate=0)}function S1(e,t,n,o){PC(e.x,t.x,n.x,o?o.originX:void 0),PC(e.y,t.y,n.y,o?o.originY:void 0)}function TC(e,t,n){e.min=n.min+t.min,e.max=e.min+qe(t)}function Dle(e,t,n){TC(e.x,t.x,n.x),TC(e.y,t.y,n.y)}function HC(e,t,n){e.min=t.min-n.min,e.max=e.min+qe(t)}function j1(e,t,n){HC(e.x,t.x,n.x),HC(e.y,t.y,n.y)}function Fe(e){return[e("x"),e("y")]}const Z$=({current:e})=>e?e.ownerDocument.defaultView:null,DC=(e,t)=>Math.abs(e-t);function Ble(e,t){const n=DC(e.x,t.x),o=DC(e.y,t.y);return Math.sqrt(n**2+o**2)}class K${constructor(t,n,{transformPagePoint:o,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=OL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,v=Ble(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!v)return;const{point:f}=y,{timestamp:M}=be;this.history.push({...f,timestamp:M});const{onStart:_,onMove:g}=this.handlers;m||(_&&_(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,y)},this.handlePointerMove=(y,m)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=EL(m,this.transformPagePoint),de.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:v,onSessionEnd:f,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=OL(y.type==="pointercancel"?this.lastMoveEventInfo:EL(m,this.transformPagePoint),this.history);this.startEvent&&v&&v(y,_),f&&f(y,_)},!$w(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=F1(t),l=EL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=be;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,OL(l,this.history)),this.removeListeners=D1(N1(this.contextWindow,"pointermove",this.handlePointerMove),N1(this.contextWindow,"pointerup",this.handlePointerUp),N1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),kt(this.updatePoint)}}function EL(e,t){return t?{point:t(e.point)}:e}function BC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function OL({point:e},t){return{point:e,delta:BC(e,X$(t)),offset:BC(e,Rle(t)),velocity:Fle(t,.1)}}function Rle(e){return e[0]}function X$(e){return e[e.length-1]}function Fle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=X$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Xe(t)));)n--;if(!o)return{x:0,y:0};const r=Oe(i.timestamp-o.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-o.x)/r,y:(i.y-o.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function Ele(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?he(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?he(n,e,o.max):Math.min(e,n)),e}function RC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Ole(e,{top:t,left:n,bottom:o,right:i}){return{x:RC(e.x,n,i),y:RC(e.y,t,o)}}function FC(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function Ule(e,t){return{x:FC(e.x,t.x),y:FC(e.y,t.y)}}function Wle(e,t){let n=.5;const o=qe(e),i=qe(t);return i>o?n=q1(t.min,t.max-o,e.min):o>i&&(n=q1(e.min,e.max-i,t.min)),pt(0,1,n)}function Gle(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const nw=.35;function Zle(e=nw){return e===!1?e=0:e===!0&&(e=nw),{x:EC(e,"left","right"),y:EC(e,"top","bottom")}}function EC(e,t,n){return{min:OC(e,t),max:OC(e,n)}}function OC(e,t){return typeof e=="number"?e:e[t]||0}const Kle=new WeakMap;class Xle{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=me(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:o}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=p=>{const{dragSnapToOrigin:y}=this.getProps();y?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(F1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:v,onDragStart:f}=this.getProps();if(m&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=e0e(m),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Fe(_=>{let g=this.getAxisMotionValue(_).get()||0;if(it.test(g)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[_];w&&(g=qe(w)*(parseFloat(g)/100))}}this.originPoint[_]=g}),f&&de.postRender(()=>f(p,y)),tw(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:v,onDirectionLock:f,onDrag:M}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:_}=y;if(v&&this.currentDirection===null){this.currentDirection=Yle(_),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",y.point,_),this.updateAxis("y",y.point,_),this.visualElement.render(),M&&M(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Fe(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new K$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:Z$(this.visualElement)})}stop(t,n){const o=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!o)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&de.postRender(()=>d(o,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:o}=this.getProps();!o&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,o){const{drag:i}=this.getProps();if(!o||!Z1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Ele(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Rc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ole(o.layoutBox,t):this.constraints=!1,this.elastic=Zle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Fe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Gle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Rc(t))return!1;const o=t.current;Ye(o!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=J0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Ule(i.layout.layoutBox,r);if(n){const d=n(K0e(s));this.hasMutatedConstraints=!!d,d&&(s=A$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Fe(u=>{if(!Z1(u,n,this.currentDirection))return;let p=l&&l[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,m=i?40:1e7,v={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,v)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return tw(this.visualElement,t),o.start(Bw(t,o,0,n,this.visualElement,!1))}stopAnimation(){Fe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Fe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,o=this.visualElement.getProps(),i=o[n];return i||this.visualElement.getValue(t,(o.initial?o.initial[t]:void 0)||0)}snapToCursor(t){Fe(n=>{const{drag:o}=this.getProps();if(!Z1(n,o,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:s,max:d}=i.layout.layoutBox[n];r.set(t[n]-he(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Rc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Fe(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Wle({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Fe(s=>{if(!Z1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(he(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;Kle.set(this.visualElement,this);const t=this.visualElement.current,n=N1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Rc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",o);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),de.read(o);const s=T1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Fe(u=>{const p=this.getAxisMotionValue(u);p&&(this.originPoint[u]+=l[u].translate,p.set(p.get()+l[u].translate))}),this.visualElement.render())});return()=>{s(),n(),r(),d&&d()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:o=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=nw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function Z1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Yle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Jle extends At{constructor(t){super(t),this.removeGroupControls=Ue,this.removeListeners=Ue,this.controls=new Xle(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ue}unmount(){this.removeGroupControls(),this.removeListeners()}}const UC=e=>(t,n)=>{e&&de.postRender(()=>e(t,n))};class Qle extends At{constructor(){super(...arguments),this.removePointerDownListener=Ue}onPointerDown(t){this.session=new K$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Z$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:UC(t),onStart:UC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&de.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=N1(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Jx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function WC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const c1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;const n=WC(e,t.target.x),o=WC(e,t.target.y);return`${n}% ${o}%`}},ehe={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=$t.parse(e);if(i.length>5)return o;const r=$t.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=l;const h=he(d,l,.5);return typeof i[2+s]=="number"&&(i[2+s]/=h),typeof i[3+s]=="number"&&(i[3+s]/=h),r(i)}};let UL=!1;class the extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;L0e(ahe),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),UL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Jx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,UL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||de.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),jw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;UL=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),o&&o.deregister&&o.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Y$(e){const[t,n]=v$(),o=k.useContext(sw);return c.jsx(the,{...e,layoutGroup:o,switchLayoutGroup:k.useContext($$),isPresent:t,safeToRemove:n})}const ahe={borderRadius:{...c1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c1,borderTopRightRadius:c1,borderBottomLeftRadius:c1,borderBottomRightRadius:c1,boxShadow:ehe};function nhe(e,t,n){const o=we(e)?e:Sc(e);return o.start(Bw("",o,t,n)),o.animation}const ohe=(e,t)=>e.depth-t.depth;class che{constructor(){this.children=[],this.isDirty=!1}add(t){hw(this.children,t),this.isDirty=!0}remove(t){uw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(ohe),this.isDirty=!1,this.children.forEach(t)}}function ihe(e,t){const n=Pe.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(kt(o),e(r-t))};return de.setup(o,!0),()=>kt(o)}const J$=["TopLeft","TopRight","BottomLeft","BottomRight"],rhe=J$.length,GC=e=>typeof e=="string"?parseFloat(e):e,ZC=e=>typeof e=="number"||O.test(e);function she(e,t,n,o,i,r){i?(e.opacity=he(0,n.opacity??1,dhe(o)),e.opacityExit=he(t.opacity??1,0,lhe(o))):r&&(e.opacity=he(t.opacity??1,n.opacity??1,o));for(let s=0;s<rhe;s++){const d=`border${J$[s]}Radius`;let l=KC(t,d),h=KC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||ZC(l)===ZC(h)?(e[d]=Math.max(he(GC(l),GC(h),o),0),(it.test(h)||it.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=he(t.rotate||0,n.rotate||0,o))}function KC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const dhe=Q$(0,.5,Hj),lhe=Q$(.5,.95,Ue);function Q$(e,t,n){return o=>o<e?0:o>t?1:n(q1(e,t,o))}function XC(e,t){e.min=t.min,e.max=t.max}function De(e,t){XC(e.x,t.x),XC(e.y,t.y)}function YC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function JC(e,t,n,o,i){return e-=t,e=rL(e,1/n,o),i!==void 0&&(e=rL(e,1/i,o)),e}function hhe(e,t=0,n=1,o=.5,i,r=e,s=e){if(it.test(t)&&(t=parseFloat(t),t=he(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=he(r.min,r.max,o);e===r&&(d-=t),e.min=JC(e.min,t,n,d,i),e.max=JC(e.max,t,n,d,i)}function QC(e,t,[n,o,i],r,s){hhe(e,t[n],t[o],t[i],t.scale,r,s)}const uhe=["x","scaleX","originX"],phe=["y","scaleY","originY"];function eN(e,t,n,o){QC(e.x,t,uhe,n?n.x:void 0,o?o.x:void 0),QC(e.y,t,phe,n?n.y:void 0,o?o.y:void 0)}function tN(e){return e.translate===0&&e.scale===1}function eq(e){return tN(e.x)&&tN(e.y)}function aN(e,t){return e.min===t.min&&e.max===t.max}function yhe(e,t){return aN(e.x,t.x)&&aN(e.y,t.y)}function nN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function tq(e,t){return nN(e.x,t.x)&&nN(e.y,t.y)}function oN(e){return qe(e.x)/qe(e.y)}function cN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class khe{constructor(){this.members=[]}add(t){hw(this.members,t),t.scheduleRender()}remove(t){if(uw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let o;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function mhe(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:m,skewY:v}=n;h&&(o=`perspective(${h}px) ${o}`),u&&(o+=`rotate(${u}deg) `),p&&(o+=`rotateX(${p}deg) `),y&&(o+=`rotateY(${y}deg) `),m&&(o+=`skewX(${m}deg) `),v&&(o+=`skewY(${v}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(o+=`scale(${d}, ${l})`),o||"none"}const WL=["","X","Y","Z"],fhe=1e3;let ghe=0;function GL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function aq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=R$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",de,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&aq(o)}function nq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=ghe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(_he),this.nodes.forEach(bhe),this.nodes.forEach(whe),this.nodes.forEach(xhe)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new che)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new yw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const l=this.eventHandlers.get(s);l&&l.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=g$(s)&&!i0e(s),this.instance=s;const{layoutId:d,layout:l,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;de.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=ihe(y,250),Jx.hasAnimatedSinceResize&&(Jx.hasAnimatedSinceResize=!1,this.nodes.forEach(sN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||h.getDefaultTransition()||$he,{onLayoutAnimationStart:f,onLayoutAnimationComplete:M}=h.getProps(),_=!this.targetLayout||!tq(this.targetLayout,m),g=!p&&y;if(this.options.layoutRoot||this.resumeFrom||g||p&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Nw(v,"layout"),onPlay:f,onComplete:M};(h.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,g)}else p||sN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),kt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(Che),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&aq(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){const p=this.path[u];p.shouldResetTransform=!0,p.updateScroll("snapshot"),p.options.layoutRoot&&p.willUpdate(!1)}const{layoutId:d,layout:l}=this.options;if(d===void 0&&!l)return;const h=this.getTransformTemplate();this.prevTransformTemplateValue=h?h(this.latestValues,""):void 0,this.updateSnapshot(),s&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(iN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(rN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Ihe),this.nodes.forEach(vhe),this.nodes.forEach(Mhe)):this.nodes.forEach(rN),this.clearAllSnapshots();const d=Pe.now();be.delta=pt(0,1e3/60,d-be.timestamp),be.timestamp=d,be.isProcessing=!0,VL.update.process(be),VL.preRender.process(be),VL.render.process(be),be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,jw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Lhe),this.sharedNodes.forEach(Nhe)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,de.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){de.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!qe(this.snapshot.measuredBox.x)&&!qe(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();const s=this.layout;this.layout=this.measure(!1),this.layoutCorrected=me(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:d}=this.options;d&&d.notify("LayoutMeasure",this.layout.layoutBox,s?s.layoutBox:void 0)}updateScroll(s="measure"){let d=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===s&&(d=!1),d&&this.instance){const l=o(this.instance);this.scroll={animationId:this.root.animationId,phase:s,isRoot:l,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:l}}}resetTransform(){if(!i)return;const s=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,d=this.projectionDelta&&!eq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||xc(this.latestValues)||u)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let l=this.removeElementScroll(d);return s&&(l=this.removeTransform(l)),qhe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return me();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Ahe))){const{scroll:h}=this.root;h&&(Fc(d.x,h.offset.x),Fc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=me();if(De(d,s),this.scroll?.wasRoot)return d;for(let l=0;l<this.path.length;l++){const h=this.path[l],{scroll:u,options:p}=h;h!==this.root&&u&&p.layoutScroll&&(u.wasRoot&&De(d,s),Fc(d.x,u.offset.x),Fc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=me();De(l,s);for(let h=0;h<this.path.length;h++){const u=this.path[h];!d&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Ec(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),xc(u.latestValues)&&Ec(l,u.latestValues)}return xc(this.latestValues)&&Ec(l,this.latestValues),l}removeTransform(s){const d=me();De(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!xc(h.latestValues))continue;Yb(h.latestValues)&&h.updateSnapshot();const u=me(),p=h.measurePageBox();De(u,p),eN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return xc(this.latestValues)&&eN(d,this.latestValues),d}setTargetDelta(s){this.targetDelta=s,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(s){this.options={...this.options,...s,crossfade:s.crossfade!==void 0?s.crossfade:!0}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==be.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(s=!1){const d=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=d.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=d.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=d.isSharedProjectionDirty);const l=!!this.resumingFrom||this!==d;if(!(s||l&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:u,layoutId:p}=this.options;if(!(!this.layout||!(u||p))){if(this.resolvedRelativeTargetAt=be.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=me(),this.relativeTargetOrigin=me(),j1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=me(),this.targetWithTransforms=me()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Dle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):De(this.target,this.layout.layoutBox),V$(this.target,this.targetDelta)):De(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget)){this.attemptToResolveRelativeTarget=!1;const y=this.getClosestProjectingParent();y&&!!y.resumingFrom==!!this.resumingFrom&&!y.options.layoutScroll&&y.target&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=me(),this.relativeTargetOrigin=me(),j1(this.relativeTargetOrigin,this.target,y.target),De(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Yb(this.parent.latestValues)||z$(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){const s=this.getLead(),d=!!this.resumingFrom||this!==s;let l=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(l=!1),d&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(l=!1),this.resolvedRelativeTargetAt===be.timestamp&&(l=!1),l)return;const{layout:h,layoutId:u}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(h||u))return;De(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;Y0e(this.layoutCorrected,this.treeScale,this.path,d),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=me());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(YC(this.prevProjectionDelta.x,this.projectionDelta.x),YC(this.prevProjectionDelta.y,this.projectionDelta.y)),S1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!cN(this.projectionDelta.x,this.prevProjectionDelta.x)||!cN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",m))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(s=!0){if(this.options.visualElement?.scheduleRender(),s){const d=this.getStack();d&&d.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Oc(),this.projectionDelta=Oc(),this.projectionDeltaWithTransform=Oc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Oc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=me(),m=l?l.source:void 0,v=this.layout?this.layout.source:void 0,f=m!==v,M=this.getStack(),_=!M||M.members.length<=1,g=!!(f&&!_&&this.options.crossfade===!0&&!this.path.some(jhe));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;dN(p.x,s.x,C),dN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(j1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),She(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&yhe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=me()),De(L,this.relativeTarget)),f&&(this.animationValues=u,she(u,h,this.latestValues,C,g,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=C},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(s){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(kt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=de.update(()=>{Jx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Sc(0)),this.currentAnimation=nhe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),s.onUpdate&&s.onUpdate(d)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(fhe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:l,layout:h,latestValues:u}=s;if(!(!d||!l||!h)){if(this!==s&&this.layout&&h&&oq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||me();const p=qe(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=qe(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}De(d,l),Ec(d,u),S1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new khe),this.sharedNodes.get(s).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:l}={}){const h=this.getStack();h&&h.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(d=!0),!d)return;const h={};l.z&&GL("z",s,h,this.animationValues);for(let u=0;u<WL.length;u++)GL(`rotate${WL[u]}`,s,h,this.animationValues),GL(`skew${WL[u]}`,s,h,this.animationValues);s.render();for(const u in h)s.setStaticValue(u,h[u]),this.animationValues&&(this.animationValues[u]=h[u]);s.scheduleRender()}applyProjectionStyles(s,d){if(!this.instance||this.isSVG)return;if(!this.isVisible){s.visibility="hidden";return}const l=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,s.visibility="",s.opacity="",s.pointerEvents=Yx(d?.pointerEvents)||"",s.transform=l?l(this.latestValues,""):"none";return}const h=this.getLead();if(!this.projectionDelta||!this.layout||!h.target){this.options.layoutId&&(s.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,s.pointerEvents=Yx(d?.pointerEvents)||""),this.hasProjected&&!xc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=mhe(this.projectionDeltaWithTransform,this.treeScale,u);l&&(p=l(u,p)),s.transform=p;const{x:y,y:m}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${m.origin*100}% 0`,h.animationValues?s.opacity=h===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=h===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const v in P1){if(u[v]===void 0)continue;const{correct:f,applyTo:M,isCSSVariable:_}=P1[v],g=p==="none"?u[v]:f(u[v],h);if(M){const L=M.length;for(let w=0;w<L;w++)s[M[w]]=g}else _?this.options.visualElement.renderState.vars[v]=g:s[v]=g}this.options.layoutId&&(s.pointerEvents=h===this?Yx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(iN),this.root.sharedNodes.clear()}}}function vhe(e){e.updateLayout()}function Mhe(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=qe(p);p.min=n[u].min,p.max=p.min+y}):oq(i,t.layoutBox,n)&&Fe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=qe(n[u]);p.max=p.min+y,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[u].max=e.relativeTarget[u].min+y)});const s=Oc();S1(s,n,t.layoutBox);const d=Oc();r?S1(d,e.applyTransform(o,!0),t.measuredBox):S1(d,n,t.layoutBox);const l=!eq(s);let h=!1;if(!e.resumeFrom){const u=e.getClosestProjectingParent();if(u&&!u.resumeFrom){const{snapshot:p,layout:y}=u;if(p&&y){const m=me();j1(m,t.layoutBox,p.layoutBox);const v=me();j1(v,n,y.layoutBox),tq(m,v)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=m,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function _he(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function xhe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Lhe(e){e.clearSnapshot()}function iN(e){e.clearMeasurements()}function rN(e){e.isLayoutDirty=!1}function Ihe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function sN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function bhe(e){e.resolveTargetDelta()}function whe(e){e.calcProjection()}function Che(e){e.resetSkewAndRotation()}function Nhe(e){e.removeLeadSnapshot()}function dN(e,t,n){e.translate=he(t.translate,0,n),e.scale=he(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function lN(e,t,n,o){e.min=he(t.min,n.min,o),e.max=he(t.max,n.max,o)}function She(e,t,n,o){lN(e.x,t.x,n.x,o),lN(e.y,t.y,n.y,o)}function jhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const $he={duration:.45,ease:[.4,0,.1,1]},hN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),uN=hN("applewebkit/")&&!hN("chrome/")?Math.round:Ue;function pN(e){e.min=uN(e.min),e.max=uN(e.max)}function qhe(e){pN(e.x),pN(e.y)}function oq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Hle(oN(t),oN(n),.2)}function Ahe(e){return e!==e.root&&e.scroll?.wasRoot}const zhe=nq({attachResizeListener:(e,t)=>T1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ZL={current:void 0},cq=nq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ZL.current){const e=new zhe({});e.mount(window),e.setOptions({layoutScroll:!0}),ZL.current=e}return ZL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Vhe={pan:{Feature:Qle},drag:{Feature:Jle,ProjectionNode:cq,MeasureLayout:Y$}};function yN(e,t,n){const{props:o}=e;e.animationState&&o.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=o[i];r&&de.postRender(()=>r(t,F1(t)))}class Phe extends At{mount(){const{current:t}=this.node;t&&(this.unmount=t0e(t,(n,o)=>(yN(this.node,o,"Start"),i=>yN(this.node,i,"End"))))}unmount(){}}class The extends At{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=D1(T1(this.node.current,"focus",()=>this.onFocus()),T1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function kN(e,t,n){const{props:o}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&o.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=o[i];r&&de.postRender(()=>r(t,F1(t)))}class Hhe extends At{mount(){const{current:t}=this.node;t&&(this.unmount=c0e(t,(n,o)=>(kN(this.node,o,"Start"),(i,{success:r})=>kN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ow=new WeakMap,KL=new WeakMap,Dhe=e=>{const t=ow.get(e.target);t&&t(e)},Bhe=e=>{e.forEach(Dhe)};function Rhe({root:e,...t}){const n=e||document;KL.has(n)||KL.set(n,{});const o=KL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Bhe,{root:e,...t})),o[i]}function Fhe(e,t,n){const o=Rhe(t);return ow.set(e,n),o.observe(e),()=>{ow.delete(e),o.unobserve(e)}}const Ehe={some:0,all:1};class Ohe extends At{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Ehe[i]},d=l=>{const{isIntersecting:h}=l;if(this.isInView===h||(this.isInView=h,r&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=h?u:p;y&&y(l)};return Fhe(this.node.current,s,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Uhe(t,n))&&this.startObserver()}unmount(){}}function Uhe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Whe={inView:{Feature:Ohe},tap:{Feature:Hhe},focus:{Feature:The},hover:{Feature:Phe}},Ghe={layout:{ProjectionNode:cq,MeasureLayout:Y$}},Zhe={...qle,...Whe,...Vhe,...Ghe},Rw=Z0e(Zhe,rle);function iq(e){const t=qt(()=>Sc(e)),{isStatic:n}=k.useContext(pL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function rq(e,t){const n=iq(t()),o=()=>n.set(t());return o(),lw(()=>{const i=()=>de.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),kt(o)}}),n}function Khe(e){C1.current=[],e();const t=rq(C1.current,e);return C1.current=void 0,t}function Xhe(e,t,n,o){if(typeof e=="function")return Khe(e);const i=typeof t=="function"?t:r0e(t,n,o);return Array.isArray(e)?mN(e,i):mN([e],([r])=>i(r))}function mN(e,t){const n=qt(()=>[]);return rq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Yhe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Jhe=()=>new Yhe;function Qhe(){return qt(Jhe)}const sq=k.createContext(null);function eue(e,t,n,o){if(!o)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=o>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=he(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?p2e(e,i,i+r):e}function tue({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=qt(()=>Rw[t]),l=[],h=k.useRef(!1);Ye(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=l.findIndex(v=>p===v.value);m!==-1?l[m].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(oue)},updateOrder:(p,y,m)=>{if(h.current)return;const v=eue(l,p,y,m);l!==v&&(h.current=!0,o(v.map(nue).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(sq.Provider,{value:u,children:e})})}const aue=k.forwardRef(tue);function nue(e){return e.value}function oue(e,t){return e.layout.min-t.layout.min}function fN(e,t=0){return we(e)?e:iq(t)}function cue({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=qt(()=>Rw[o]),h=k.useContext(sq),u={x:fN(t.x),y:fN(t.y)},p=Xhe([u.x,u.y],([f,M])=>f||M?1:"unset");Ye(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:v}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(f,M)=>{const{velocity:_}=M;_[y]&&v(n,u[y].get(),_[y]),i&&i(f,M)},onLayoutMeasure:f=>m(n,f),ref:d,ignoreStrict:!0,children:e})}const iue=k.forwardRef(cue),sL=[c.jsx(b1,{size:18}),c.jsx(It,{size:18}),c.jsx(x1,{size:18}),c.jsx(bt,{size:18}),c.jsx(y1,{size:18}),c.jsx(p1,{size:18})],rue=({items:e,onReorder:t,draggable:n=!1,className:o,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,l]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((h,u)=>{if(h.icon==null&&(h.icon=sL[u%sL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),v=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(v){const f=v[1],M=v[2]??"",_=f.padStart(3,"0");h.text=`${y} / ${_}${M}`}}}),l(e)):l([])},[e]),c.jsxs("div",{className:`trend-list ${o??""}`,draggable:n,style:{position:"relative"},children:[c.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),c.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:c.jsx(aue,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(sue,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function sue({value:e,index:t}){const n=Qhe(),o=sL[t%sL.length]??null;return c.jsx(iue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:c.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[c.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:c.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:c.jsxs("g",{fill:"currentColor",children:[c.jsx("circle",{cx:"8",cy:"6",r:"2"}),c.jsx("circle",{cx:"16",cy:"6",r:"2"}),c.jsx("circle",{cx:"8",cy:"12",r:"2"}),c.jsx("circle",{cx:"16",cy:"12",r:"2"}),c.jsx("circle",{cx:"8",cy:"18",r:"2"}),c.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),c.jsx("div",{style:{flex:1},children:c.jsx(Cj,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??o})})]})})}function due(e,t){return t.required?t.type==="checkbox"&&!e?{isValid:!1,error:`${t.label} est requis`}:!e||typeof e=="string"&&e.trim()===""?{isValid:!1,error:`${t.label} est requis`}:null:null}function lue(e){return!e||typeof e=="string"&&e.trim()===""}function hue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function uue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function pue(e,t){const n=Number(e);return isNaN(n)?{isValid:!1,error:"Doit être un nombre valide"}:t.validation?.min!==void 0&&n<Number(t.validation.min)?{isValid:!1,error:`Doit être ≥ ${t.validation.min}`}:t.validation?.max!==void 0&&n>Number(t.validation.max)?{isValid:!1,error:`Doit être ≤ ${t.validation.max}`}:null}function yue(e,t){return t.validation?.minDate&&new Date(e)<new Date(t.validation.minDate)?{isValid:!1,error:`Doit être après ${t.validation.minDate}`}:t.validation?.maxDate&&new Date(e)>new Date(t.validation.maxDate)?{isValid:!1,error:`Doit être avant ${t.validation.maxDate}`}:null}function kue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),o=e.type;if(!n.some(i=>o.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${o}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function mue(e,t){return t.validation?t.validation.minLength&&e.length<t.validation.minLength?{isValid:!1,error:`Minimum ${t.validation.minLength} caractères`}:t.validation.maxLength&&e.length>t.validation.maxLength?{isValid:!1,error:`Maximum ${t.validation.maxLength} caractères`}:t.validation.pattern&&!new RegExp(t.validation.pattern).test(e)?{isValid:!1,error:"Format invalide"}:null:null}function dL(e,t){const n=due(e,t);if(n)return n;if(lue(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=hue(o);if(r)return r;break}case"url":{const r=uue(o);if(r)return r;break}case"number":{const r=pue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=yue(e,t);if(r)return r;break}case"file":{const r=kue(e,t);if(r)return r;break}}const i=mue(o,t);return i||{isValid:!0}}function dq(e,t){const n={};let o=!0;for(const i of t){const r=dL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const fue="_formContainer_14ads_1",gue="_headerLine_14ads_17",vue="_formTitle_14ads_25",Mue="_formDescription_14ads_30",_ue="_sectionTitle_14ads_37",xue="_sectionHelp_14ads_44",Lue="_fieldHelp_14ads_50",Iue="_gridContainer_14ads_58",bue="_fieldGridItem_14ads_70",wue="_sectionFull_14ads_105",Cue="_formFooter_14ads_110",Nue="_footerLeft_14ads_118",Sue="_footerRight_14ads_119",jue="_cancelLink_14ads_125",$ue="_submitButton_14ads_136",que="_fieldLabel_14ads_148",Aue="_inputWrapper_14ads_163",zue="_inputInner_14ads_187",Vue="_hasPrefix_14ads_196",Pue="_inputBase_14ads_196",Tue="_iconPrefix_14ads_292",Hue="_iconSuffix_14ads_293",Due="_passwordToggle_14ads_319",Bue="_fieldError_14ads_365",Rue="_fieldInvalid_14ads_372",se={formContainer:fue,headerLine:gue,formTitle:vue,formDescription:Mue,sectionTitle:_ue,sectionHelp:xue,fieldHelp:Lue,gridContainer:Iue,fieldGridItem:bue,sectionFull:wue,formFooter:Cue,footerLeft:Nue,footerRight:Sue,cancelLink:jue,submitButton:$ue,fieldLabel:que,inputWrapper:Aue,inputInner:zue,hasPrefix:Vue,inputBase:Pue,iconPrefix:Tue,iconSuffix:Hue,passwordToggle:Due,fieldError:Bue,fieldInvalid:Rue},lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const[s,d]=k.useState(!1),l=e.type==="password",h=e.attributes?.showPasswordToggle??!0,u=l?s?"text":"password":e.type,p=e.attributes?.iconComponent??(e.attributes?.icon?ut[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",m=v=>{n(v.target.value)};return c.jsxs("div",{className:se.inputWrapper,children:[c.jsx("label",{className:`${se.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${se.inputInner} ${p&&y==="prefix"?se.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:se.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${se.inputBase} ${i?se.fieldInvalid:""}`,value:t??"",onChange:m,onBlur:o,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&c.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:se.passwordToggle,onClick:()=>d(v=>!v),children:s?c.jsx(g1,{size:16}):c.jsx(v1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:se.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:se.fieldError,children:i})]})},Fue="_fieldGroup_yb3zi_7",Eue="_fieldLabel_yb3zi_11",Oue="_required_yb3zi_17",Uue="_fieldInput_yb3zi_22",Wue="_fieldInvalid_yb3zi_40",Gue="_fieldValid_yb3zi_44",Zue="_fieldError_yb3zi_48",Kue="_radioGroup_yb3zi_57",Ct={fieldGroup:Fue,fieldLabel:Eue,required:Oue,fieldInput:Uue,fieldInvalid:Wue,fieldValid:Gue,fieldError:Zue,radioGroup:Kue},fL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:Ct.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${Ct.fieldLabel} ${e.required?Ct.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:Ct.fieldError,children:n})]})},hq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Ct.fieldInput,s?Ct.fieldInvalid:"",d?Ct.fieldValid:""].filter(Boolean).join(" ");return c.jsx(fL,{field:e,error:i,touched:r,children:c.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:o,rows:4})})},Xue="_wrapper_117u4_1",Yue="_wrapperInvalid_117u4_15",Jue="_nativeSelect_117u4_19",Que="_display_117u4_30",epe="_topLabel_117u4_37",tpe="_valueLine_117u4_45",ape="_valuePlaceholder_117u4_53",npe="_valueActive_117u4_57",ope="_caret_117u4_61",cpe="_error_117u4_75",ipe="_optionStyle_117u4_89",Be={wrapper:Xue,wrapperInvalid:Yue,nativeSelect:Jue,display:Que,topLabel:epe,valueLine:tpe,valuePlaceholder:ape,valueActive:npe,caret:ope,error:cpe,optionStyle:ipe},Fw=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=!!(r&&i),d=e.label||"",l=e.placeholder||"",h=e.options?.find(u=>String(u.value)===String(t))?.label??"";return c.jsxs("div",{className:`${Be.wrapper} ${s?Be.wrapperInvalid:""} ${t?Be.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:Be.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:o,"aria-invalid":s,"aria-label":d,children:[c.jsx("option",{value:"",disabled:!0,hidden:!0,children:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>c.jsx("option",{value:u.value,className:Be.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:Be.display,children:[d&&c.jsx("span",{className:Be.topLabel,children:d}),c.jsx("span",{className:`${Be.valueLine} ${t?Be.valueActive:Be.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:Be.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:Be.error,children:i})]})},uq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(fL,{field:e,error:i,touched:r,children:c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),pq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(fL,{field:e,error:i,touched:r,children:c.jsx("div",{className:Ct.radioGroup,children:e.options?.map(s=>c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),rpe="_fileInputContainer_r2guc_3",spe="_customFileInput_r2guc_8",dpe="_fileInputLabel_r2guc_12",lpe="_dragOver_r2guc_39",hpe="_uploadIcon_r2guc_44",upe="_uploadText_r2guc_50",ppe="_uploadHint_r2guc_56",ype="_fileList_r2guc_60",kpe="_fileListTitle_r2guc_69",mpe="_fileItem_r2guc_80",fpe="_fileIcon_r2guc_96",gpe="_fileName_r2guc_102",vpe="_fileSize_r2guc_108",Mpe="_removeButton_r2guc_114",_pe="_errorText_r2guc_129",Ne={fileInputContainer:rpe,customFileInput:spe,fileInputLabel:dpe,dragOver:lpe,uploadIcon:hpe,uploadText:upe,uploadHint:ppe,fileList:ype,fileListTitle:kpe,fileItem:mpe,fileIcon:fpe,fileName:gpe,fileSize:vpe,removeButton:Mpe,errorText:_pe},yq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),l(!0)},y=()=>{l(!1)},m=M=>{M.preventDefault(),l(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},v=M=>{if(!t)return;const _=Array.from(t);_.splice(M,1);const g=new DataTransfer;_.forEach(L=>g.items.add(L)),n(g.files)},f=M=>{if(M===0)return"0 Bytes";const _=1024,g=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(M)/Math.log(_));return parseFloat((M/Math.pow(_,L)).toFixed(2))+" "+g[L]};return c.jsxs("div",{className:`${Ne.fileInputContainer} ${r&&i?Ne.hasError:""}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:h,onBlur:o,ref:s,className:Ne.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${Ne.fileInputLabel} ${d?Ne.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[c.jsx("div",{className:Ne.uploadIcon,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M.5 9.9a.5.5 0 0 1 .5.5v2.5a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-2.5a.5.5 0 0 1 1 0v2.5a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2v-2.5a.5.5 0 0 1 .5-.5z"}),c.jsx("path",{d:"M7.646 1.146a.5.5 0 0 1 .708 0l3 3a.5.5 0 0 1-.708.708L8.5 2.707V11.5a.5.5 0 0 1-1 0V2.707L5.354 4.854a.5.5 0 1 1-.708-.708l3-3z"})]})}),c.jsx("div",{className:Ne.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:Ne.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:Ne.fileList,children:[c.jsx("div",{className:Ne.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((M,_)=>c.jsxs("li",{className:Ne.fileItem,children:[c.jsx("div",{className:Ne.fileIcon,children:c.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:c.jsx("path",{d:"M4 0h5.293A1 1 0 0 1 10 .293L13.707 4a1 1 0 0 1 .293.707V14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V2a2 2 0 0 1 2-2zm5.5 1.5v2a1 1 0 0 0 1 1h2l-3-3z"})})}),c.jsx("div",{className:Ne.fileName,children:M.name}),c.jsx("div",{className:Ne.fileSize,children:f(M.size)}),c.jsx("button",{type:"button",className:Ne.removeButton,onClick:g=>{g.stopPropagation(),v(_)},"aria-label":`Supprimer ${M.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),c.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},_))})]}),r&&i&&c.jsx("div",{className:Ne.errorText,children:i})]})},xpe="_container_ecah4_2",Lpe="_label_ecah4_6",Ipe="_requiredIndicator_ecah4_13",bpe="_input_ecah4_18",wpe="_inputError_ecah4_49",Cpe="_errorMessage_ecah4_58",Tc={container:xpe,label:Lpe,requiredIndicator:Ipe,input:bpe,inputError:wpe,errorMessage:Cpe},kq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r,labelColor:s="black",backgroundColor:d="white"})=>{const l=e.type==="month"?"month":e.type==="week"?"week":e.type==="time"?"time":e.type==="datetime-local"?"datetime-local":"date";return c.jsxs("div",{className:Tc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Tc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Tc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Tc.input} ${r&&i?Tc.inputError:""}`,style:{color:s,backgroundColor:d},min:e.validation?.min,max:e.validation?.max,step:e.type==="time"?e.attributes?.step:void 0,disabled:e.disabled}),r&&i&&c.jsx("div",{className:Tc.errorMessage,children:i})]})},Npe="_rangeContainer_cyqk3_3",Spe={rangeContainer:Npe},mq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${Spe.rangeContainer}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:o,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),jpe="_colorPickerContainer_1wxgj_2",$pe="_colorInput_1wxgj_19",qpe="_colorValue_1wxgj_39",XL={colorPickerContainer:jpe,colorInput:$pe,colorValue:qpe},fq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:"mb-3",children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsxs("div",{className:XL.colorPickerContainer,children:[c.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:o,className:XL.colorInput}),c.jsx("span",{className:XL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),gq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return c.jsx(yq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(kq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(mq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(fq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Fw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(uq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(pq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var YL,gN;function Ape(){if(gN)return YL;gN=1;function e(){this.__data__=[],this.size=0}return YL=e,YL}var JL,vN;function vq(){if(vN)return JL;vN=1;function e(t,n){return t===n||t!==t&&n!==n}return JL=e,JL}var QL,MN;function gL(){if(MN)return QL;MN=1;var e=vq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return QL=t,QL}var eI,_N;function zpe(){if(_N)return eI;_N=1;var e=gL(),t=Array.prototype,n=t.splice;function o(i){var r=this.__data__,s=e(r,i);if(s<0)return!1;var d=r.length-1;return s==d?r.pop():n.call(r,s,1),--this.size,!0}return eI=o,eI}var tI,xN;function Vpe(){if(xN)return tI;xN=1;var e=gL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return tI=t,tI}var aI,LN;function Ppe(){if(LN)return aI;LN=1;var e=gL();function t(n){return e(this.__data__,n)>-1}return aI=t,aI}var nI,IN;function Tpe(){if(IN)return nI;IN=1;var e=gL();function t(n,o){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,o])):i[r][1]=o,this}return nI=t,nI}var oI,bN;function vL(){if(bN)return oI;bN=1;var e=Ape(),t=zpe(),n=Vpe(),o=Ppe(),i=Tpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,oI=r,oI}var cI,wN;function Hpe(){if(wN)return cI;wN=1;var e=vL();function t(){this.__data__=new e,this.size=0}return cI=t,cI}var iI,CN;function Dpe(){if(CN)return iI;CN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return iI=e,iI}var rI,NN;function Bpe(){if(NN)return rI;NN=1;function e(t){return this.__data__.get(t)}return rI=e,rI}var sI,SN;function Rpe(){if(SN)return sI;SN=1;function e(t){return this.__data__.has(t)}return sI=e,sI}var dI,jN;function Mq(){if(jN)return dI;jN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return dI=e,dI}var lI,$N;function mt(){if($N)return lI;$N=1;var e=Mq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return lI=n,lI}var hI,qN;function Ew(){if(qN)return hI;qN=1;var e=mt(),t=e.Symbol;return hI=t,hI}var uI,AN;function Fpe(){if(AN)return uI;AN=1;var e=Ew(),t=Object.prototype,n=t.hasOwnProperty,o=t.toString,i=e?e.toStringTag:void 0;function r(s){var d=n.call(s,i),l=s[i];try{s[i]=void 0;var h=!0}catch{}var u=o.call(s);return h&&(d?s[i]=l:delete s[i]),u}return uI=r,uI}var pI,zN;function Epe(){if(zN)return pI;zN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return pI=n,pI}var yI,VN;function ML(){if(VN)return yI;VN=1;var e=Ew(),t=Fpe(),n=Epe(),o="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:o:r&&r in Object(d)?t(d):n(d)}return yI=s,yI}var kI,PN;function _q(){if(PN)return kI;PN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return kI=e,kI}var mI,TN;function xq(){if(TN)return mI;TN=1;var e=ML(),t=_q(),n="[object AsyncFunction]",o="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==o||l==i||l==n||l==r}return mI=s,mI}var fI,HN;function Ope(){if(HN)return fI;HN=1;var e=mt(),t=e["__core-js_shared__"];return fI=t,fI}var gI,DN;function Upe(){if(DN)return gI;DN=1;var e=Ope(),t=function(){var o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function n(o){return!!t&&t in o}return gI=n,gI}var vI,BN;function Lq(){if(BN)return vI;BN=1;var e=Function.prototype,t=e.toString;function n(o){if(o!=null){try{return t.call(o)}catch{}try{return o+""}catch{}}return""}return vI=n,vI}var MI,RN;function Wpe(){if(RN)return MI;RN=1;var e=xq(),t=Upe(),n=_q(),o=Lq(),i=/[\\^$.*+?()[\]{}|]/g,r=/^\[object .+?Constructor\]$/,s=Function.prototype,d=Object.prototype,l=s.toString,h=d.hasOwnProperty,u=RegExp("^"+l.call(h).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function p(y){if(!n(y)||t(y))return!1;var m=e(y)?u:r;return m.test(o(y))}return MI=p,MI}var _I,FN;function Gpe(){if(FN)return _I;FN=1;function e(t,n){return t?.[n]}return _I=e,_I}var xI,EN;function t1(){if(EN)return xI;EN=1;var e=Wpe(),t=Gpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return xI=n,xI}var LI,ON;function Ow(){if(ON)return LI;ON=1;var e=t1(),t=mt(),n=e(t,"Map");return LI=n,LI}var II,UN;function _L(){if(UN)return II;UN=1;var e=t1(),t=e(Object,"create");return II=t,II}var bI,WN;function Zpe(){if(WN)return bI;WN=1;var e=_L();function t(){this.__data__=e?e(null):{},this.size=0}return bI=t,bI}var wI,GN;function Kpe(){if(GN)return wI;GN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return wI=e,wI}var CI,ZN;function Xpe(){if(ZN)return CI;ZN=1;var e=_L(),t="__lodash_hash_undefined__",n=Object.prototype,o=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return o.call(s,r)?s[r]:void 0}return CI=i,CI}var NI,KN;function Ype(){if(KN)return NI;KN=1;var e=_L(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return NI=o,NI}var SI,XN;function Jpe(){if(XN)return SI;XN=1;var e=_L(),t="__lodash_hash_undefined__";function n(o,i){var r=this.__data__;return this.size+=this.has(o)?0:1,r[o]=e&&i===void 0?t:i,this}return SI=n,SI}var jI,YN;function Qpe(){if(YN)return jI;YN=1;var e=Zpe(),t=Kpe(),n=Xpe(),o=Ype(),i=Jpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,jI=r,jI}var $I,JN;function eye(){if(JN)return $I;JN=1;var e=Qpe(),t=vL(),n=Ow();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return $I=o,$I}var qI,QN;function tye(){if(QN)return qI;QN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return qI=e,qI}var AI,eS;function xL(){if(eS)return AI;eS=1;var e=tye();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return AI=t,AI}var zI,tS;function aye(){if(tS)return zI;tS=1;var e=xL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return zI=t,zI}var VI,aS;function nye(){if(aS)return VI;aS=1;var e=xL();function t(n){return e(this,n).get(n)}return VI=t,VI}var PI,nS;function oye(){if(nS)return PI;nS=1;var e=xL();function t(n){return e(this,n).has(n)}return PI=t,PI}var TI,oS;function cye(){if(oS)return TI;oS=1;var e=xL();function t(n,o){var i=e(this,n),r=i.size;return i.set(n,o),this.size+=i.size==r?0:1,this}return TI=t,TI}var HI,cS;function Iq(){if(cS)return HI;cS=1;var e=eye(),t=aye(),n=nye(),o=oye(),i=cye();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,HI=r,HI}var DI,iS;function iye(){if(iS)return DI;iS=1;var e=vL(),t=Ow(),n=Iq(),o=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<o-1)return l.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(l)}return d.set(r,s),this.size=d.size,this}return DI=i,DI}var BI,rS;function rye(){if(rS)return BI;rS=1;var e=vL(),t=Hpe(),n=Dpe(),o=Bpe(),i=Rpe(),r=iye();function s(d){var l=this.__data__=new e(d);this.size=l.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=i,s.prototype.set=r,BI=s,BI}var RI,sS;function sye(){if(sS)return RI;sS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return RI=t,RI}var FI,dS;function dye(){if(dS)return FI;dS=1;function e(t){return this.__data__.has(t)}return FI=e,FI}var EI,lS;function lye(){if(lS)return EI;lS=1;var e=Iq(),t=sye(),n=dye();function o(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return o.prototype.add=o.prototype.push=t,o.prototype.has=n,EI=o,EI}var OI,hS;function hye(){if(hS)return OI;hS=1;function e(t,n){for(var o=-1,i=t==null?0:t.length;++o<i;)if(n(t[o],o,t))return!0;return!1}return OI=e,OI}var UI,uS;function uye(){if(uS)return UI;uS=1;function e(t,n){return t.has(n)}return UI=e,UI}var WI,pS;function bq(){if(pS)return WI;pS=1;var e=lye(),t=hye(),n=uye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,v=d.length;if(m!=v&&!(y&&v>m))return!1;var f=p.get(s),M=p.get(d);if(f&&M)return f==d&&M==s;var _=-1,g=!0,L=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++_<m;){var w=s[_],C=d[_];if(h)var b=y?h(C,w,_,d,s,p):h(w,C,_,s,d,p);if(b!==void 0){if(b)continue;g=!1;break}if(L){if(!t(d,function(x,I){if(!n(L,I)&&(w===x||u(w,x,l,h,p)))return L.push(I)})){g=!1;break}}else if(!(w===C||u(w,C,l,h,p))){g=!1;break}}return p.delete(s),p.delete(d),g}return WI=r,WI}var GI,yS;function pye(){if(yS)return GI;yS=1;var e=mt(),t=e.Uint8Array;return GI=t,GI}var ZI,kS;function yye(){if(kS)return ZI;kS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return ZI=e,ZI}var KI,mS;function kye(){if(mS)return KI;mS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return KI=e,KI}var XI,fS;function mye(){if(fS)return XI;fS=1;var e=Ew(),t=pye(),n=vq(),o=bq(),i=yye(),r=kye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",v="[object Set]",f="[object String]",M="[object Symbol]",_="[object ArrayBuffer]",g="[object DataView]",L=e?e.prototype:void 0,w=L?L.valueOf:void 0;function C(b,x,I,S,j,q,$){switch(I){case g:if(b.byteLength!=x.byteLength||b.byteOffset!=x.byteOffset)return!1;b=b.buffer,x=x.buffer;case _:return!(b.byteLength!=x.byteLength||!q(new t(b),new t(x)));case l:case h:case y:return n(+b,+x);case u:return b.name==x.name&&b.message==x.message;case m:case f:return b==x+"";case p:var P=i;case v:var T=S&s;if(P||(P=r),b.size!=x.size&&!T)return!1;var V=$.get(b);if(V)return V==x;S|=d,$.set(b,x);var N=o(P(b),P(x),S,j,q,$);return $.delete(b),N;case M:if(w)return w.call(b)==w.call(x)}return!1}return XI=C,XI}var YI,gS;function fye(){if(gS)return YI;gS=1;function e(t,n){for(var o=-1,i=n.length,r=t.length;++o<i;)t[r+o]=n[o];return t}return YI=e,YI}var JI,vS;function Uw(){if(vS)return JI;vS=1;var e=Array.isArray;return JI=e,JI}var QI,MS;function gye(){if(MS)return QI;MS=1;var e=fye(),t=Uw();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return QI=n,QI}var eb,_S;function vye(){if(_S)return eb;_S=1;function e(t,n){for(var o=-1,i=t==null?0:t.length,r=0,s=[];++o<i;){var d=t[o];n(d,o,t)&&(s[r++]=d)}return s}return eb=e,eb}var tb,xS;function Mye(){if(xS)return tb;xS=1;function e(){return[]}return tb=e,tb}var ab,LS;function _ye(){if(LS)return ab;LS=1;var e=vye(),t=Mye(),n=Object.prototype,o=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return o.call(s,d)}))}:t;return ab=r,ab}var nb,IS;function xye(){if(IS)return nb;IS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return nb=e,nb}var ob,bS;function LL(){if(bS)return ob;bS=1;function e(t){return t!=null&&typeof t=="object"}return ob=e,ob}var cb,wS;function Lye(){if(wS)return cb;wS=1;var e=ML(),t=LL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return cb=o,cb}var ib,CS;function Iye(){if(CS)return ib;CS=1;var e=Lye(),t=LL(),n=Object.prototype,o=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&o.call(s,"callee")&&!i.call(s,"callee")};return ib=r,ib}var h1={exports:{}},rb,NS;function bye(){if(NS)return rb;NS=1;function e(){return!1}return rb=e,rb}h1.exports;var SS;function wq(){return SS||(SS=1,function(e,t){var n=mt(),o=bye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,l=d?d.isBuffer:void 0,h=l||o;e.exports=h}(h1,h1.exports)),h1.exports}var sb,jS;function wye(){if(jS)return sb;jS=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(o,i){var r=typeof o;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(o))&&o>-1&&o%1==0&&o<i}return sb=n,sb}var db,$S;function Cq(){if($S)return db;$S=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return db=t,db}var lb,qS;function Cye(){if(qS)return lb;qS=1;var e=ML(),t=Cq(),n=LL(),o="[object Arguments]",i="[object Array]",r="[object Boolean]",s="[object Date]",d="[object Error]",l="[object Function]",h="[object Map]",u="[object Number]",p="[object Object]",y="[object RegExp]",m="[object Set]",v="[object String]",f="[object WeakMap]",M="[object ArrayBuffer]",_="[object DataView]",g="[object Float32Array]",L="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",x="[object Uint8Array]",I="[object Uint8ClampedArray]",S="[object Uint16Array]",j="[object Uint32Array]",q={};q[g]=q[L]=q[w]=q[C]=q[b]=q[x]=q[I]=q[S]=q[j]=!0,q[o]=q[i]=q[M]=q[r]=q[_]=q[s]=q[d]=q[l]=q[h]=q[u]=q[p]=q[y]=q[m]=q[v]=q[f]=!1;function $(P){return n(P)&&t(P.length)&&!!q[e(P)]}return lb=$,lb}var hb,AS;function Nye(){if(AS)return hb;AS=1;function e(t){return function(n){return t(n)}}return hb=e,hb}var u1={exports:{}};u1.exports;var zS;function Sye(){return zS||(zS=1,function(e,t){var n=Mq(),o=t&&!t.nodeType&&t,i=o&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===o,s=r&&n.process,d=function(){try{var l=i&&i.require&&i.require("util").types;return l||s&&s.binding&&s.binding("util")}catch{}}();e.exports=d}(u1,u1.exports)),u1.exports}var ub,VS;function Nq(){if(VS)return ub;VS=1;var e=Cye(),t=Nye(),n=Sye(),o=n&&n.isTypedArray,i=o?t(o):e;return ub=i,ub}var pb,PS;function jye(){if(PS)return pb;PS=1;var e=xye(),t=Iye(),n=Uw(),o=wq(),i=wye(),r=Nq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),m=!p&&!y&&o(h),v=!p&&!y&&!m&&r(h),f=p||y||m||v,M=f?e(h.length,String):[],_=M.length;for(var g in h)(u||d.call(h,g))&&!(f&&(g=="length"||m&&(g=="offset"||g=="parent")||v&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||i(g,_)))&&M.push(g);return M}return pb=l,pb}var yb,TS;function $ye(){if(TS)return yb;TS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return yb=t,yb}var kb,HS;function qye(){if(HS)return kb;HS=1;function e(t,n){return function(o){return t(n(o))}}return kb=e,kb}var mb,DS;function Aye(){if(DS)return mb;DS=1;var e=qye(),t=e(Object.keys,Object);return mb=t,mb}var fb,BS;function zye(){if(BS)return fb;BS=1;var e=$ye(),t=Aye(),n=Object.prototype,o=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))o.call(r,d)&&d!="constructor"&&s.push(d);return s}return fb=i,fb}var gb,RS;function Vye(){if(RS)return gb;RS=1;var e=xq(),t=Cq();function n(o){return o!=null&&t(o.length)&&!e(o)}return gb=n,gb}var vb,FS;function Pye(){if(FS)return vb;FS=1;var e=jye(),t=zye(),n=Vye();function o(i){return n(i)?e(i):t(i)}return vb=o,vb}var Mb,ES;function Tye(){if(ES)return Mb;ES=1;var e=gye(),t=_ye(),n=Pye();function o(i){return e(i,n,t)}return Mb=o,Mb}var _b,OS;function Hye(){if(OS)return _b;OS=1;var e=Tye(),t=1,n=Object.prototype,o=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),m=y.length,v=e(s),f=v.length;if(m!=f&&!p)return!1;for(var M=m;M--;){var _=y[M];if(!(p?_ in s:o.call(s,_)))return!1}var g=u.get(r),L=u.get(s);if(g&&L)return g==s&&L==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<m;){_=y[M];var b=r[_],x=s[_];if(l)var I=p?l(x,b,_,s,r,u):l(b,x,_,r,s,u);if(!(I===void 0?b===x||h(b,x,d,l,u):I)){w=!1;break}C||(C=_=="constructor")}if(w&&!C){var S=r.constructor,j=s.constructor;S!=j&&"constructor"in r&&"constructor"in s&&!(typeof S=="function"&&S instanceof S&&typeof j=="function"&&j instanceof j)&&(w=!1)}return u.delete(r),u.delete(s),w}return _b=i,_b}var xb,US;function Dye(){if(US)return xb;US=1;var e=t1(),t=mt(),n=e(t,"DataView");return xb=n,xb}var Lb,WS;function Bye(){if(WS)return Lb;WS=1;var e=t1(),t=mt(),n=e(t,"Promise");return Lb=n,Lb}var Ib,GS;function Rye(){if(GS)return Ib;GS=1;var e=t1(),t=mt(),n=e(t,"Set");return Ib=n,Ib}var bb,ZS;function Fye(){if(ZS)return bb;ZS=1;var e=t1(),t=mt(),n=e(t,"WeakMap");return bb=n,bb}var wb,KS;function Eye(){if(KS)return wb;KS=1;var e=Dye(),t=Ow(),n=Bye(),o=Rye(),i=Fye(),r=ML(),s=Lq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),v=s(t),f=s(n),M=s(o),_=s(i),g=r;return(e&&g(new e(new ArrayBuffer(1)))!=y||t&&g(new t)!=d||n&&g(n.resolve())!=h||o&&g(new o)!=u||i&&g(new i)!=p)&&(g=function(L){var w=r(L),C=w==l?L.constructor:void 0,b=C?s(C):"";if(b)switch(b){case m:return y;case v:return d;case f:return h;case M:return u;case _:return p}return w}),wb=g,wb}var Cb,XS;function Oye(){if(XS)return Cb;XS=1;var e=rye(),t=bq(),n=mye(),o=Hye(),i=Eye(),r=Uw(),s=wq(),d=Nq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function v(f,M,_,g,L,w){var C=r(f),b=r(M),x=C?u:i(f),I=b?u:i(M);x=x==h?p:x,I=I==h?p:I;var S=x==p,j=I==p,q=x==I;if(q&&s(f)){if(!s(M))return!1;C=!0,S=!1}if(q&&!S)return w||(w=new e),C||d(f)?t(f,M,_,g,L,w):n(f,M,x,_,g,L,w);if(!(_&l)){var $=S&&m.call(f,"__wrapped__"),P=j&&m.call(M,"__wrapped__");if($||P){var T=$?f.value():f,V=P?M.value():M;return w||(w=new e),L(T,V,_,g,w)}}return q?(w||(w=new e),o(f,M,_,g,L,w)):!1}return Cb=v,Cb}var Nb,YS;function Uye(){if(YS)return Nb;YS=1;var e=Oye(),t=LL();function n(o,i,r,s,d){return o===i?!0:o==null||i==null||!t(o)&&!t(i)?o!==o&&i!==i:e(o,i,r,s,n,d)}return Nb=n,Nb}var Sb,JS;function Wye(){if(JS)return Sb;JS=1;var e=Uye();function t(n,o){return e(n,o)}return Sb=t,Sb}var Gye=Wye();const Zye=a.getDefaultExportFromCjs(Gye),Kye=({schema:e,initialData:t={},onSubmit:n,submitLabel:o,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[m,v]=k.useState({}),[f,M]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Zye(_.current,t)||(u(t),_.current=t)},[t]);const g=(I,S)=>{const j={...h,[I]:S};if(u(j),m[I]){const q=e.fields.find($=>$.name===I);if(q){const $=dL(S,q);y(P=>({...P,[I]:$.isValid?"":$.error}))}}},L=I=>{if(!m[I]){v(j=>({...j,[I]:!0}));const S=e.fields.find(j=>j.name===I);if(S){const j=dL(h[I],S);y(q=>({...q,[I]:j.isValid?"":j.error}))}}},w=async I=>{I.preventDefault(),M(!0);const S=e.fields.reduce((q,$)=>($.type!=="section"&&(q[$.name]=!0),q),{});v(S);const j=dq(h,e.fields.filter(q=>q.type!=="section"));if(y(j.errors),j.isValid)try{await n(h)}catch(q){console.error("Erreur lors de la soumission:",q),y($=>({...$,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=l?ut[l]:null,b=i&&ut[i]||e.submitIcon&&ut[e.submitIcon]||null,x=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:se.formContainer,children:[c.jsx("div",{className:se.headerLine,children:c.jsx("h2",{className:se.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:se.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${se.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:w,children:[c.jsx("div",{className:se.gridContainer,style:{gridTemplateColumns:`repeat(${x}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return c.jsxs("div",{className:se.sectionFull,children:[c.jsx("h5",{className:se.sectionTitle,children:I.label}),I.help&&c.jsx("p",{className:se.sectionHelp,children:I.help})]},I.name);const j={gridColumn:`span ${Math.max(1,Math.min(x,I.gridCol??x))}`};return c.jsxs("div",{className:se.fieldGridItem,style:j,children:[c.jsx(gq,{field:I,value:h[I.name],onChange:q=>g(I.name,q),onBlur:()=>L(I.name),error:p[I.name],touched:m[I.name]}),I.help&&c.jsx("small",{className:se.fieldHelp,children:I.help})]},I.name)})}),c.jsxs("div",{className:se.formFooter,children:[c.jsx("div",{className:se.footerLeft,children:s&&c.jsxs("button",{type:"button",className:se.cancelLink,onClick:s,children:[C&&c.jsx(C,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:se.footerRight,children:c.jsx(Qx,{type:"submit",variant:"primary",size:"md",className:se.submitButton,disabled:f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):c.jsxs(c.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&c.jsx(b,{size:16,className:"me-2"}),o||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&c.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function Xye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Yye="_container_1gljv_85",Jye="_tableWrapper_1gljv_111",Qye="_tableControls_1gljv_117",e4e="_controlsRight_1gljv_128",t4e="_limitedRows_1gljv_151",a4e="_table_1gljv_111",n4e="_headerCell_1gljv_206",o4e="_headerContent_1gljv_220",c4e="_headerWords_1gljv_229",i4e="_headerWord_1gljv_229",r4e="_cellContent_1gljv_276",s4e="_alignLeft_1gljv_286",d4e="_alignCenter_1gljv_290",l4e="_alignRight_1gljv_294",h4e="_tableCell_1gljv_298",u4e="_tableRow_1gljv_308",p4e="_emptyRow_1gljv_385",y4e="_toggleFiltersButton_1gljv_393",k4e="_toggleSortButton_1gljv_394",m4e="_buttonTextCompact_1gljv_415",f4e="_uppercaseSmall_1gljv_450",g4e="_filtersPanel_1gljv_463",v4e="_filtersPanelInline_1gljv_481",M4e="_filtersPanelHorizontal_1gljv_492",_4e="_filtersRow_1gljv_492",x4e="_filtersActionsHorizontal_1gljv_525",L4e="_filterItemInline_1gljv_542",I4e="_filterLabel_1gljv_571",b4e="_filterInput_1gljv_576",w4e="_filterSelect_1gljv_577",C4e="_operatorSelect_1gljv_578",N4e="_operatorInput_1gljv_579",S4e="_activeFilterTag_1gljv_597",j4e="_actionsGroup_1gljv_609",$4e="_applyButton_1gljv_615",q4e="_cancelButton_1gljv_625",A4e="_columnSorterContainer_1gljv_649",z4e="_sorterControls_1gljv_654",V4e="_sortDropdownWrapper_1gljv_659",P4e="_sortDropdown_1gljv_659",T4e="_sortDropdownHeader_1gljv_679",H4e="_closeButton_1gljv_688",D4e="_sortDropdownContent_1gljv_703",B4e="_sortDropdownItem_1gljv_709",R4e="_sortDirectionButtons_1gljv_734",F4e="_sortDirectionButton_1gljv_734",E4e="_activeSort_1gljv_757",O4e="_sortActions_1gljv_764",U4e="_paginationButton_1gljv_842",W4e="_pageSizeSelect_1gljv_844",G4e="_topPagination_1gljv_853",Z4e="_paginationContainer_1gljv_861",K4e="_leftGroup_1gljv_874",X4e="_pageSizeControls_1gljv_882",Y4e="_paginationInfo_1gljv_908",J4e="_paginationControls_1gljv_916",Q4e="_disabledButton_1gljv_947",e5e="_activeButton_1gljv_952",t5e="_navigationButton_1gljv_962",a5e="_operatorFilterContainer_1gljv_1010",n5e="_rangeSeparator_1gljv_1016",o5e="_activeFiltersSection_1gljv_1179",c5e="_activeFiltersRow_1gljv_1184",i5e="_activeFiltersList_1gljv_1192",r5e="_clearAllButton_1gljv_1200",s5e="_removeFilterButton_1gljv_1221",d5e="_sortIndicator_1gljv_1272",l5e="_active_1gljv_349",h5e="_clearSortButton_1gljv_1371",u5e="_loaderSpinner_1gljv_2743",p5e="_loaderSpinnerSmall_1gljv_2755",y5e="_paginationLoading_1gljv_2772",k5e="_loadingButton_1gljv_2780",m5e="_loadingIndicator_1gljv_2791",z={container:Yye,tableWrapper:Jye,tableControls:Qye,controlsRight:e4e,limitedRows:t4e,table:a4e,headerCell:n4e,headerContent:o4e,headerWords:c4e,headerWord:i4e,cellContent:r4e,alignLeft:s4e,alignCenter:d4e,alignRight:l4e,tableCell:h4e,tableRow:u4e,emptyRow:p4e,toggleFiltersButton:y4e,toggleSortButton:k4e,buttonTextCompact:m4e,uppercaseSmall:f4e,filtersPanel:g4e,filtersPanelInline:v4e,filtersPanelHorizontal:M4e,filtersRow:_4e,filtersActionsHorizontal:x4e,filterItemInline:L4e,filterLabel:I4e,filterInput:b4e,filterSelect:w4e,operatorSelect:C4e,operatorInput:N4e,activeFilterTag:S4e,actionsGroup:j4e,applyButton:$4e,cancelButton:q4e,columnSorterContainer:A4e,sorterControls:z4e,sortDropdownWrapper:V4e,sortDropdown:P4e,sortDropdownHeader:T4e,closeButton:H4e,sortDropdownContent:D4e,sortDropdownItem:B4e,sortDirectionButtons:R4e,sortDirectionButton:F4e,activeSort:E4e,sortActions:O4e,paginationButton:U4e,pageSizeSelect:W4e,topPagination:G4e,paginationContainer:Z4e,leftGroup:K4e,pageSizeControls:X4e,paginationInfo:Y4e,paginationControls:J4e,disabledButton:Q4e,activeButton:e5e,navigationButton:t5e,operatorFilterContainer:a5e,rangeSeparator:n5e,activeFiltersSection:o5e,activeFiltersRow:c5e,activeFiltersList:i5e,clearAllButton:r5e,removeFilterButton:s5e,sortIndicator:d5e,active:l5e,clearSortButton:h5e,loaderSpinner:u5e,loaderSpinnerSmall:p5e,paginationLoading:y5e,loadingButton:k5e,loadingIndicator:m5e},f5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:o,className:z.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),g5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:o,className:z.filterInput}),v5e=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const l=await e.asyncOptions();r(l??[])}catch(l){console.error("Erreur chargement options MultiSelect:",l),r([])}else r(e.options??[])})()},[e]);const s=d=>{const l=Array.from(d.target.selectedOptions,h=>h.value);n(l)};return c.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:o,className:z.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},QS=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return c.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:z.filterInput})},M5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const l=h=>{const u=h.target.value;n(u)};return s?c.jsx("div",{children:"Chargement..."}):c.jsxs("select",{value:String(t||""),onChange:l,disabled:o,className:z.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},_5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const l=d.target.value;r(l),n(l)};return c.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:z.filterInput})},x5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const l=u=>{r(u.target.value)},h=u=>{d(u.target.value)};return c.jsxs("div",{className:z.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:z.operatorSelect,children:[c.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>c.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),c.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:o||!i,className:z.operatorInput})]})},L5e=({value:e,onChange:t,disabled:n})=>{const o=e||{},i=s=>{t({...o,start:s.target.value})},r=s=>{t({...o,end:s.target.value})};return c.jsxs("div",{className:z.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:z.filterInput}),c.jsx("span",{className:z.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:z.filterInput})]})},I5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(_5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(QS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(QS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(M5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(x5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(v5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(g5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(L5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(f5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Sq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const v={};return e.forEach(f=>{f.type==="daterange"?v[f.id]={start:"",end:""}:v[f.id]=f.defaultValue??""}),v});k.useEffect(()=>{if(!i)return;const v={...d??{}};e.forEach(f=>{f.id in v||(v[f.id]=f.type==="daterange"?{start:"",end:""}:f.defaultValue??"")}),(t||[]).forEach(f=>{!f||!f.id||(v[f.id]=f.value)}),l(v),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(v=>v.id))]);const h=i?t:r,u=k.useCallback((v,f)=>{l(M=>({...M,[v]:f}))},[]),p=k.useCallback(async()=>{const v=[],f={...d};for(const[M,_]of Object.entries(f)){const g=e.find(C=>C.id===M);if(!g)continue;let L=_;try{typeof _=="function"&&(L=await _(f)),typeof g.executeOnApply=="function"&&(L=await g.executeOnApply(L,f))}catch{continue}if(g.type==="daterange"){const C=L?.start??"",b=L?.end??"",x=typeof C=="string"?C.trim()==="":!C,I=typeof b=="string"?b.trim()==="":!b;if(x&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||v.push({id:M,type:g.type,value:L,label:g.label})}return i?n?.(v):(s(v),o?.(v)),v},[d,e,i,n,o]),y=k.useCallback(v=>{l(f=>({...f,[v]:void 0})),u(v,void 0)},[u]),m=k.useCallback(()=>{const v={};e.forEach(f=>{f.type==="daterange"?v[f.id]={start:"",end:""}:v[f.id]=f.defaultValue??""}),l(v),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},b5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(o=>String(o)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const o=n;if(!o.start||!o.end)return!1;const i=o.start,r=o.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),l=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(l)?!1:s>=d&&s<=l}catch(o){return console.error("Error processing daterange filter:",o),!1}case"operator":if(typeof n=="object"&&n!==null){const o=n;if(!("operator"in o)||!("value"in o))return!1;const{operator:i,value:r}=o,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function jq(e,t,n="",o={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),l=(n||"").trim().toLowerCase(),h=k.useMemo(()=>{let f=e;return l&&(f=f.filter(M=>t.some(_=>{const g=M.data[_.id];return g==null?!1:String(g).toLowerCase().includes(l)}))),s.length>0&&(f=f.filter(M=>s.every(_=>{try{const g=M.data[_.id];return b5e(g,_)}catch(g){return console.error("Error applying filter:",g),!1}}))),f},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const f=o.key;return[...h].sort((M,_)=>{const g=M.data[f],L=_.data[f];if(g==null)return 1;if(L==null)return-1;if(typeof g=="number"&&typeof L=="number")return o.direction==="desc"?L-g:g-L;if(g instanceof Date&&L instanceof Date){const C=g.getTime()-L.getTime();return o.direction==="desc"?-C:C}const w=String(g).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-w:w})},[h,o]),p=u,y=Math.ceil(u.length/d),m=0,v=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:m,endIndex:v}}const $q=({value:e})=>e,qq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Aq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),zq=({value:e})=>{if(!e)return null;const t={success:"success-badge",warning:"warning-badge",error:"error-badge",info:"info-badge",default:"default-badge"},n=typeof e=="object"?e.type:"default",o=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},o)},Vq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Pq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),Tq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Hq=({value:e})=>k.createElement("div",{className:"image-container"},k.createElement("img",{src:e,alt:"Table content",className:"table-image",onError:t=>t.currentTarget.style.display="none"})),cw={renderers:{text:$q,email:qq,link:Aq,badge:zq,date:Vq,number:Pq,currency:Tq,image:Hq},icons:{sortAsc:k.createElement(wc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(St,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Uc,{className:"sort-icon",size:14})}},w5e=(e,t)=>{cw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),cw.renderers[e]=t},C5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:l="top",onPanelHeightChange:h,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:m="Clear",applyDisabled:v=!1,loading:f=!1})=>{const[M,_]=k.useState(!1),g=typeof s=="boolean"?s:M,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:x}=Sq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),I=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(g&&I.current){const V=I.current.getBoundingClientRect().height;h?.(V)}else h?.(0)},[g,e,w,h]);const j=()=>{typeof s=="boolean"?d?.(!s):_(V=>{const N=!V;return d?.(N),N})},q=()=>e.map(V=>{const N=w?.[V.id];return N==null||typeof N=="string"&&N.trim()===""?null:{id:V.id,label:V.label,value:N}}).filter(Boolean),$=async()=>{let V;try{V=await b()}catch{V=void 0}let N=[];V&&Array.isArray(V)&&V.length>0?N=V:L&&L.length>0?N=L:N=q(),n?.(N),o?.(N)},P=()=>{d?.(!1),typeof s!="boolean"&&_(!1)},T=()=>{x(),n?.([]),o?.([])};return k.useEffect(()=>{const V=A=>{g&&S.current&&(S.current.contains(A.target)||(d?.(!1),typeof s!="boolean"&&_(!1)))},N=A=>{A.key==="Escape"&&g&&(d?.(!1),typeof s!="boolean"&&_(!1))};return g&&(document.addEventListener("pointerdown",V),document.addEventListener("keydown",N)),()=>{document.removeEventListener("pointerdown",V),document.removeEventListener("keydown",N)}},[g,s,d]),c.jsxs("div",{className:z.advancedFiltersContainer,ref:S,children:[c.jsxs("button",{className:`${z.toggleFiltersButton} ${L.length>0?z.active:""} ${g?z.toggleFiltersButtonOpen:""} ${f?z.loadingButton:""}`,onClick:j,"aria-expanded":g,"aria-controls":"advanced-filters-panel",type:"button",disabled:f,children:[f?c.jsx("span",{className:z.loaderSpinnerSmall}):c.jsx(Lt,{size:14}),c.jsx("span",{className:z.buttonTextCompact,children:u}),L.length>0&&!f&&c.jsx("span",{className:z.filterCountBadge,"aria-hidden":!0,children:L.length}),f&&c.jsx("span",{className:z.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),g&&c.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${z.filtersPanel} ${l==="top"?`${z.filtersPanelInline} ${z.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:z.filtersRow,children:e.map(V=>c.jsxs("div",{className:`${z.filterItem} ${z.filterItemInline}`,children:[c.jsxs("label",{className:z.filterLabel,children:[V.label,V.required&&c.jsx("span",{className:z.required,children:"*"})]}),c.jsx(I5e,{config:V,value:w[V.id],onChange:N=>C(V.id,N),disabled:V.disabled})]},V.id))}),c.jsxs("div",{className:z.filtersActionsHorizontal,children:[c.jsx("div",{className:z.activeFiltersSection,children:L.length>0&&c.jsxs("div",{className:z.activeFiltersRow,children:[c.jsx("span",{className:z.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:z.activeFiltersList,children:L.map(V=>c.jsxs("div",{className:z.activeFilterTag,children:[V.label??V.id,c.jsx("button",{className:z.removeFilterButton,onClick:()=>C(V.id,void 0),"aria-label":`Supprimer ${V.id}`,type:"button",children:"×"})]},V.id))}),c.jsxs("button",{className:z.clearAllButton,onClick:T,type:"button",children:[c.jsx(Ke,{size:12})," ",m]})]})}),c.jsxs("div",{className:z.actionsGroup,children:[c.jsx("button",{className:z.cancelButton,onClick:P,type:"button",disabled:f,children:y}),c.jsx("button",{className:`${z.applyButton} ${f?z.loadingButton:""}`,onClick:$,type:"button",disabled:v||f,"aria-disabled":v||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:z.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},ej=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},N5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(v=>v.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(v,f)=>{n({key:v,direction:f}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(v=>!v),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const v=M=>{if(!l.current)return;const _=M.target;_&&!l.current.contains(_)&&s(!1)},f=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",v),document.addEventListener("keydown",f),()=>{document.removeEventListener("pointerdown",v),document.removeEventListener("keydown",f)}},[r]),k.useEffect(()=>{const v=document.querySelector("[data-table-wrapper]");if(!v)return;const f=v.style.overflow??"";return r?v.style.overflow="hidden":v.style.overflow=f,()=>{v.style.overflow=f}},[r]),c.jsx("div",{className:z.columnSorterContainer,ref:l,children:c.jsx("div",{className:z.sorterControls,children:d.length>0&&c.jsxs("div",{className:z.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${z.toggleSortButton} ${r?z.toggleSortButtonOpen:""} ${h?z.active:""} ${i?z.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:z.loaderSpinnerSmall}):c.jsx(Uc,{size:14}),c.jsx("span",{className:`${z.buttonTextCompact} ${ej(o)?z.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:z.sortIndicator,children:t?.direction==="asc"?c.jsx(wc,{size:12}):c.jsx(St,{size:12})})]}),r&&c.jsxs("div",{className:`${z.sortDropdown} ${z.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:z.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:z.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:c.jsx(Ke,{size:16})})]}),c.jsx("div",{className:z.sortDropdownContent,children:d.map(v=>{const f=String(v.label??v.id),M=ej(f);return c.jsxs("div",{className:z.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(v.id,"asc")},children:[c.jsx("span",{className:`${z.columnSorterLabel} ${M?z.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:z.sortDirectionButtons,children:[c.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===v.id&&t?.direction==="asc"?z.activeSort:""}`,onClick:()=>u(v.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(wc,{size:12})}),c.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===v.id&&t?.direction==="desc"?z.activeSort:""}`,onClick:()=>u(v.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(St,{size:12})})]})]},v.id)})}),h&&c.jsx("div",{className:z.sortActions,children:c.jsxs("button",{className:z.clearSortButton,onClick:p,type:"button",children:[c.jsx(xt,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},S5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:o,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const l=Math.max(1,Math.floor(t)),h=Math.min(Math.max(1,Math.floor(e)),l),u=()=>{h>1&&r(h-1)},p=()=>{if(h<t){const f=h+1;r(f)}},y=o>0?(h-1)*n+1:0,m=o>0?Math.min(h*n,o):0,v=()=>{const f=[];let _=Math.max(1,h-Math.floor(2.5)),g=_+5-1;g>l&&(g=l,_=Math.max(1,g-5+1));for(let L=_;L<=g;L++)f.push(L);return f};return c.jsxs("div",{className:z.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:z.leftGroup,children:s&&c.jsx("div",{className:z.pageSizeControls,children:c.jsx("select",{value:n,onChange:f=>s(Number(f.target.value)),className:z.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(f=>c.jsx("option",{value:f,children:f},f))})})}),c.jsx("div",{className:z.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:z.paginationLoading,children:[c.jsx("span",{className:z.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),c.jsxs("div",{className:z.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${z.paginationButton} ${z.navigationButton} ${h===1?z.disabledButton:""} ${d?z.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:z.loaderSpinnerSmall}):"«"}),v().map(f=>c.jsx("button",{onClick:()=>r(f),disabled:d,"aria-current":h===f?"page":void 0,className:`${z.paginationButton} ${h===f?z.activeButton:""} ${d?z.loadingButton:""}`,children:d&&h===f?c.jsx("span",{className:z.loaderSpinnerSmall}):f},f)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${z.paginationButton} ${z.navigationButton} ${d?z.loadingButton:""} ${h>=l?z.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:z.loaderSpinnerSmall}):"»"})]})]})},j5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const o=n.toLowerCase();return o.charAt(0).toUpperCase()+o.slice(1)},$5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},q5e=({columns:e})=>c.jsx("thead",{className:z.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?z.alignRight:t.align==="left"?z.alignLeft:z.alignCenter,i=t.preserveHeaderCase===!0,r=j5e(String(t.label??""),i),s=$5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${z.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:c.jsx("div",{className:z.headerContent,children:s?c.jsx("div",{className:z.headerWords,children:d.map((l,h)=>c.jsx("span",{className:z.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),A5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?z.alignRight:n.align==="left"?z.alignLeft:z.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${z.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:z.cellContent,children:i})})},z5e=({row:e,rowId:t,columns:n,onRowClick:o,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return c.jsx("tr",{className:`${z.tableRow} ${o?z.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(A5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},V5e=({data:e,columns:t,onRowClick:n,startIndex:o,searchTerm:i,getRowStyle:r})=>e.length===0?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,className:z.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(z5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Dq=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:o,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:l,onApplyFilters:h,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:m,background:v,onPageSizeChange:f,onPageChange:M,itemLabel:_="items",advancedFiltersLabel:g="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:x="Clear",applyDisabled:I=!1,paginationLoading:S=!1,filtersLoading:j=!1,sortLoading:q=!1,totalCount:$=null})=>{const[P,T]=k.useState({key:null,direction:"asc"}),[V,N]=k.useState(n.currentPage??1),[A,B]=k.useState(n.pageSize??10),[R,D]=k.useState(!1),W=k.useRef(null),[K,ee]=k.useState([]),X=p?d:K,xe=p?[]:K;k.useEffect(()=>{const te=n.currentPage??1,qc=n.pageSize??10;te!==V&&N(te),qc!==A&&B(qc)},[n.currentPage,n.pageSize]);const{paginatedData:ye,sortedData:Se,totalPages:ie,startIndex:F}=jq(t,e,i,P,V,A,xe),J=Se.length,ce=typeof $=="number"&&$>=0?$:J;let ae=ie;typeof $=="number"&&$>=0&&(ae=Math.max(1,Math.ceil($/A)));const pe=J>10;k.useEffect(()=>{const te=Math.max(1,Math.floor(ae));V>te&&N(te),V<1&&N(1)},[ae]);const _e=te=>{p||ee(te),l?.(te),N(1),M?.(1)},fe=te=>{p||ee(te),h?.(te),N(1),M?.(1),W.current&&W.current.style.setProperty("--filters-panel-height","0px")},je=te=>{M?.(te),N(te)},Ce=te=>{B(te),N(1),f?.(te),M?.(1)},le=te=>{W.current&&W.current.style.setProperty("--filters-panel-height",`${Math.round(te)}px`)},Le=te=>{T(te),u?.(te)},ft=te=>{D(te),!te&&W.current&&W.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(X?.length??0)>0&&D(!0)},[X]),k.useEffect(()=>{s.length>0&&X.length>0&&D(!0)},[s.length,X.length]);const $c=(X?.length??0)>0&&L?L:g;return c.jsxs("div",{ref:W,className:`${z.container} ${r} ${R?z.filtersOpen:""}`,style:{background:v,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:z.tableControls,children:c.jsxs("div",{className:z.controlsRight,children:[c.jsx(N5e,{columns:e,onSort:Le,label:w,sortConfig:P,loading:q}),s.length>0&&c.jsx(C5e,{filters:s,externalFilters:X,onFiltersChange:_e,onApply:fe,isControlled:p,debounceTimeout:y,expanded:R,onToggle:ft,panelPlacement:"top",onPanelHeightChange:le,label:$c,applyLabel:C,cancelLabel:b,clearLabel:x,applyDisabled:I,loading:j})]})}),c.jsx("div",{className:z.topPagination,children:c.jsx(S5e,{currentPage:V,totalPages:ae,pageSize:A,totalItems:ce,itemLabel:_,onPageChange:je,onPageSizeChange:Ce,loading:S})}),c.jsx("div",{className:`${z.tableWrapper} ${pe?z.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:z.table,children:[c.jsx(q5e,{columns:e}),c.jsx(V5e,{data:ye,columns:e,onRowClick:o,startIndex:F,getRowStyle:m,searchTerm:i})]})})]})};function P5e(e){const{pagination:t,totalCount:n,onPageChange:o,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),l=s>1,h=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!l||p>s&&!h||o?.(p))};return c.jsx(Dq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const T5e="_mpRoot_31595_1",H5e="_mpHeader_31595_22",D5e="_mpTitle_31595_31",B5e="_mpList_31595_35",R5e="_mpVertical_31595_41",F5e="_mpHorizontal_31595_46",E5e="_mpItem_31595_55",O5e="_mpClickable_31595_95",U5e="_mpLeft_31595_117",W5e="_mpIcon_31595_125",G5e="_mpMeta_31595_140",Z5e="_mpLabel_31595_145",K5e="_mpDate_31595_154",X5e="_mpRight_31595_160",Y5e="_mpValue_31595_168",J5e="_mpHint_31595_176",Q5e="_mpBadge_31595_180",eke="_mpBadgeTop_31595_199",tke="_mpBadgeSub_31595_206",ake="_mpBadgeSmall_31595_213",nke="_mpPill_31595_229",oke="_mpRounded_31595_232",cke="_mpCompact_31595_236",ike="_compactItemWrapper_31595_252",rke="_mpSummaryRoot_31595_265",ske="_mpSummaryInner_31595_269",dke="_mpSummaryFlex_31595_284",lke="_mpSummaryCardWrapperHorizontal_31595_292",hke="_mpSummaryCardWrapper_31595_292",uke="_mpSummaryCardHorizontal_31595_303",pke="_mpSummaryCard_31595_292",yke="_mpSummaryValue_31595_321",kke="_mpSummaryLabel_31595_327",mke="_mpSummaryBadge_31595_338",fke="_mpSummaryBadgeSub_31595_357",gke="_mpEmpty_31595_365",vke="_mpSummaryVertical_31595_372",Mke="_mpIconSquare_31595_380",U={mpRoot:T5e,mpHeader:H5e,mpTitle:D5e,mpList:B5e,mpVertical:R5e,mpHorizontal:F5e,mpItem:E5e,mpClickable:O5e,mpLeft:U5e,mpIcon:W5e,mpMeta:G5e,mpLabel:Z5e,mpDate:K5e,mpRight:X5e,mpValue:Y5e,mpHint:J5e,mpBadge:Q5e,mpBadgeTop:eke,mpBadgeSub:tke,mpBadgeSmall:ake,mpPill:nke,mpRounded:oke,mpCompact:cke,compactItemWrapper:ike,mpSummaryRoot:rke,mpSummaryInner:ske,mpSummaryFlex:dke,mpSummaryCardWrapperHorizontal:lke,mpSummaryCardWrapper:hke,mpSummaryCardHorizontal:uke,mpSummaryCard:pke,mpSummaryValue:yke,mpSummaryLabel:kke,mpSummaryBadge:mke,mpSummaryBadgeSub:fke,mpEmpty:gke,mpSummaryVertical:vke,mpIconSquare:Mke},Nt=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,l)=>`rgba(${l.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let o=n.replace("#","").toLowerCase();if(o.length===3&&(o=o.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(o))return`rgba(124, 58, 237, ${t})`;const i=parseInt(o.slice(0,2),16),r=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},_ke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[U.mpItem,t==="pill"?U.mpPill:U.mpRounded,n?U.mpClickable:""].filter(Boolean).join(" ");if(i)return c.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return c.jsxs(d,{...l,children:[c.jsxs("div",{className:U.mpLeft,children:[h?c.jsx("div",{className:U.mpIconSquare,style:{background:u??Nt(p??o??"#7c3aed",1),border:`1px solid ${Nt(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:U.mpIcon,children:e.icon}):null,c.jsxs("div",{className:U.mpMeta,children:[c.jsx("div",{className:U.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:U.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:U.mpDate,children:e.date})]})]}),c.jsxs("div",{className:U.mpRight,children:[c.jsx("div",{className:U.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[U.mpBadge,e.badge.small?U.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Nt(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Nt(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:U.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:U.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:U.mpHint,children:e.hint}):null]})]})},xke=k.memo(_ke),tj=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:U.mpHeader,children:[c.jsx("div",{className:U.mpTitle,children:e}),c.jsx("div",{children:t})]}),aj=(e,t=1)=>{try{return Nt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Lke=({item:e})=>c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[c.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[c.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),c.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),c.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??aj("#7c3aed",.12),border:`1px solid ${aj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Ike=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:U.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:U.mpSummaryLabel,children:e.label}),c.jsx("div",{className:U.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]})]}),nj=(e,t=1)=>{try{return Nt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},oj=e=>c.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[c.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[c.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?c.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),c.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[c.jsx("div",{style:{fontWeight:900,fontSize:"clamp(16px, 1.6vw, 20px)",color:e.valueColor,lineHeight:1,minWidth:0,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.value}),e.badge?c.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:nj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:nj("#7c3aed",.12)}`,color:e.badge.textColor||"#0f172a",fontWeight:700,fontSize:"clamp(12px, 1.2vw, 14px)",width:"120px",height:"52px",textAlign:"center",boxSizing:"border-box",overflow:"hidden",boxShadow:"0 2px 4px rgba(0,0,0,0.1)",lineHeight:1.2,flexShrink:0},children:[c.jsx("div",{style:{fontSize:14,fontWeight:800,lineHeight:1.2,letterSpacing:"0.02em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.text}),e.badge.subText?c.jsx("div",{style:{fontSize:13,marginTop:4,fontWeight:700,letterSpacing:"0.01em",width:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:e.badge.subText}):null]}):null]})]}),cj=(e,t)=>{try{if(typeof e=="function"){const n=e(t);if(n!==void 0)return n}}catch{}try{return k.createElement(e,{item:t})}catch(n){return console.warn("chooseDefaultRender: impossible de rendre CompactRenderer",n),null}},bke=e=>{switch(e){case"image":return t=>k.createElement(Lke,{item:t});case"pertinence":return t=>k.createElement(Ike,{item:t});case"alternateHorizontal":return t=>cj(oj,t);case"compact":return t=>cj(oj,t);case"summary":return;case"default":default:return}},Bq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?U.mpSummaryCardHorizontal:U.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:U.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:U.mpSummaryLabel,children:e.label})]})},wke=["transparent","transparent","transparent","transparent"],Cke=["transparent","transparent","transparent","transparent"],Nke=["#059669","#2563eb","#b45309","#7c3aed"],Ske=(e,t=1)=>{try{return Nt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Rq=e=>{const{items:t=[],layout:n="vertical",orientation:o="auto",shape:i="rounded",color:r="#7c3aed",compact:s=!1,title:d,onItemClick:l,className:h="",loading:u=!1,emptyMessage:p="Aucun élément",renderItem:y,summary:m=!1,summaryBgColors:v=wke,summaryBorderColors:f=Cke,summaryValueColors:M=Nke,preset:_,background:g}=e,{itemsContainerStyle:L,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:x,compactItemStyle:I,summaryCardWidth:S,summaryCardHeight:j,summaryCardStyle:q}=e,$=n==="vertical",P={"--mp-accent":r,"--mp-accent-soft":Ske(r,.08),"--mp-bg-primary":g},T=[U.mpRoot,$?U.mpVertical:U.mpHorizontal,s?U.mpCompact:"",m?U.mpSummaryRoot:"",o!=="auto"?o==="vertical"?U.mpOrientationVertical:U.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),V=k.useMemo(()=>y||(bke(_)??void 0),[y,_]);if(m){const N=o==="horizontal"?U.mpSummaryFlex:U.mpSummaryVertical,B={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(tj,{title:d}),c.jsx("div",{className:U.mpSummaryInner,children:c.jsx("div",{className:`${N} ${w??""}`,style:B,children:t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map((R,D)=>{const W=R.bgColor??v[D%v.length],K=R.borderColor??f[D%f.length],ee=R.valueColor??M[D%M.length];return V?c.jsx("div",{className:o==="horizontal"?U.mpSummaryCardWrapperHorizontal:U.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...q??{}},children:V(R,D)},R.id):c.jsx(Bq,{item:R,orientation:o==="horizontal"?"horizontal":"vertical",bg:W,border:K,valueColor:ee,onClick:l,width:S??void 0,height:j??void 0,extraStyle:q},R.id)})})})]})}return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(tj,{title:d}),c.jsx("div",{className:U.mpList,style:L,children:u?c.jsx("div",{className:U.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map(N=>{const A=s?{width:b??void 0,height:x??void 0,boxSizing:"border-box",...I??{}}:void 0;return c.jsx("div",{className:s?U.compactItemWrapper:void 0,style:A,children:c.jsx(xke,{item:N,shape:i,onItemClick:l,color:r,renderItem:V?B=>V(B,t.indexOf(B)):void 0})},N.id)})})]})};k.memo(Rq);const jke=({a11yConfig:e,width:t,height:n,colors:o={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:l,padding:h="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:m})=>{const v=t?typeof t=="number"?`${t}px`:t:void 0,f=n?typeof n=="number"?`${n}px`:n:void 0,M=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),_=M?r:void 0,g=_?.icon?ut[_.icon]:void 0,L=28,w=_?.iconSize??L,C=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),b=o.contentBackground??void 0,x=typeof h=="number"?`${h}px`:h;return c.jsxs("div",{className:C,style:{width:v,height:f,color:o.text,background:o.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:x,...s},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{title:Y(e,m||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&c.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),c.jsx("div",{className:"chart-title-right",children:i.right})]}),c.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:b},children:l||(M&&_?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[g&&c.jsx("div",{className:"placeholder-icon",style:{width:w,height:w},children:c.jsx(g,{color:_.iconColor??"currentColor",size:typeof w=="number"?w:parseInt(String(w),10)||L})}),_.text&&c.jsx("div",{className:"placeholder-text",children:_.text}),_.subtext&&c.jsx("div",{className:"placeholder-subtext",children:_.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Ww=({id:e,size:t="100%",background:n,icon:o,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y})=>{const m=o||y?.icon?ut[o||y?.icon]:null;return c.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",...l},role:"alert",onClick:d,children:[m&&c.jsx(m,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),c.jsxs("div",{className:"alert-content",children:[c.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary},children:i}),r&&c.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&c.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},Fq=k.createContext(null),$ke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,qke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:o,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),h=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear()},[]);const p=(x,I)=>{const S=I===void 0||I===0?t:I;if(S===-1)return;const j=window.setTimeout(()=>{v(x)},S);d.current.set(x,j)},y=x=>{const I=d.current.get(x);I&&(window.clearTimeout(I),d.current.delete(x))},m=x=>{const I=$ke(),S={...x,id:I,createdAt:Date.now()};return s(j=>{const q=[S,...j],$=u.current;return typeof $=="number"&&$>=0&&q.length>$?(q.slice($).forEach(T=>y(T.id)),q.slice(0,$)):q}),p(I,x.duration),I},v=x=>{y(x),s(I=>I.filter(S=>S.id!==x))},f=(x,I)=>{s(S=>S.map(j=>j.id===x?{...j,...I}:j))},M=()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear(),s([])},_=x=>{h.current=x},g=()=>r.slice(),L=k.useMemo(()=>({showAlert:m,dismissAlert:v,updateAlert:f,clearAlerts:M,setContainerRef:_,getAlertsSnapshot:g}),[r]),w=h.current,C=c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:c.jsx(m0e,{mode:"popLayout",children:r.map(x=>c.jsx(Rw.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:x.background||x.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:c.jsx(Ww,{id:x.id,text:x.text,subtext:x.subtext,icon:x.icon,background:"transparent",colorTextPrimary:x.colorTextPrimary,colorTextSub:x.colorTextSub,model:x.model,onClose:()=>v(x.id),size:"100%",style:{boxShadow:"none"}})},x.id))})}),b=c.jsx("div",{ref:x=>{h.current||(l.current=x)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return c.jsxs(Fq.Provider,{value:L,children:[w?rw.createPortal(C,w):b,e]})},Ake=()=>{const e=k.useContext(Fq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},zke={default:{background:"#f3f4f6",icon:"Info",colorTextPrimary:"#111827",colorTextSub:"#4b5563"},info:{background:"#dbeafe",icon:"Info",colorTextPrimary:"#1e40af",colorTextSub:"#3b82f6"},success:{background:"#dcfce7",icon:"CheckCircle2",colorTextPrimary:"#166534",colorTextSub:"#22c55e"},warning:{background:"#fef3c7",icon:"AlertTriangle",colorTextPrimary:"#92400e",colorTextSub:"#f59e0b"},error:{background:"#fee2e2",icon:"XCircle",colorTextPrimary:"#991b1b",colorTextSub:"#ef4444"}},Vke="_container_18zbo_1",Pke="_icon_18zbo_9",Tke="_selectWrapper_18zbo_23",jb={container:Vke,icon:Pke,selectWrapper:Tke},Hke=({options:e,defaultValue:t,onChange:n,label:o})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return c.jsxs("div",{className:jb.container,children:[c.jsxs("div",{className:jb.icon,children:[c.jsx(k1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:jb.selectWrapper,children:c.jsx(Fw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Dke=250,Bke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:o,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[m,v]=k.useState(!1),[f,M]=k.useState(!1),_=k.useRef(null),g=k.useRef(null),L=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const x=_.current;if(!x)return;const I=x.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const j=I.getAttribute("data-scp-prev-position")??"";I.style.position=j,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{m||(o?.(),M(!1),v(!0))},close:()=>{m&&(r?.(),M(!1),v(!1))},toggle:()=>{m?(r?.(),M(!1),v(!1)):(o?.(),M(!1),v(!0))}}),[m,o,r]),k.useEffect(()=>{const x=g.current;w.current&&(window.clearTimeout(w.current),w.current=null);const I=S=>{if(S.target===x&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(m){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return x&&(x.addEventListener("transitionend",I),w.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},Dke+60)),m&&(L.current=document.activeElement),()=>{x&&x.removeEventListener("transitionend",I),w.current&&(window.clearTimeout(w.current),w.current=null)}},[m,i,s]),k.useEffect(()=>{const x=I=>{I.key==="Escape"&&m&&(r?.(),M(!1),v(!1))};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m,r]);const C=()=>{u&&(r?.(),M(!1),v(!1))},b=typeof n=="number"?`${n}px`:n;return c.jsxs("div",{ref:_,className:`scp-inline-root ${m?"open":""}`,"aria-hidden":!m,children:[c.jsx("div",{className:`scp-overlay ${m?"visible":""}`,onMouseDown:C,role:"presentation"}),c.jsxs("aside",{className:`scp-panel ${m?"in":"out"} ${f?"interactive":""} ${l}`,style:{width:b,...d},ref:g,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),v(!1)},children:c.jsx(Ke,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function Rke(e){const t=k.useRef("");k.useEffect(()=>{if(e){t.current=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=t.current||""},[e])}const Fke="_container_1pfsp_1",Eke="_title_1pfsp_8",ij={container:Fke,title:Eke},Oke=({title:e,fontSize:t,barColor:n,className:o="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return c.jsx("div",{className:`${ij.container} ${o}`,style:r,children:c.jsx("h2",{className:ij.title,children:e})})},Uke="_modalOverlay_1dmfp_1",Wke="_modalContainer_1dmfp_16",Gke="_modalTitle_1dmfp_29",Zke="_modalInput_1dmfp_38",Kke="_modalTextarea_1dmfp_39",Xke="_modalActions_1dmfp_71",Yke="_cancelBtn_1dmfp_78",Jke="_saveBtn_1dmfp_100",Qke="_inputError_1dmfp_148",e3e="_inlineAlert_1dmfp_153",Ge={modalOverlay:Uke,modalContainer:Wke,modalTitle:Gke,modalInput:Zke,modalTextarea:Kke,modalActions:Xke,cancelBtn:Yke,saveBtn:Jke,inputError:Qke,inlineAlert:e3e},jc=({isOpen:e,onClose:t,onSave:n,title:o="Ajouter un élément",fields:i,initialValues:r={},errorMessage:s="",disableSave:d,onFieldChange:l,confirmText:h="Valider",cancelText:u="Annuler"})=>{const[p,y]=k.useState({}),m=k.useRef(null),[v,f]=k.useState(!1),[M,_]=k.useState(!1),g=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const x={};for(const I of i)x[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(x),requestAnimationFrame(()=>{m.current?.focus();const I=m.current;if(I&&typeof I.selectionStart=="number"){const S=String(I.value??"").length;I.setSelectionRange(S,S)}}),()=>{g.current&&(window.clearTimeout(g.current),g.current=null)}},[e]),k.useEffect(()=>{s&&e?(_(!0),g.current&&(window.clearTimeout(g.current),g.current=null),g.current=window.setTimeout(()=>{_(!1),g.current=null},3e3)):(_(!1),g.current&&(window.clearTimeout(g.current),g.current=null))},[s,e]),!e)return null;const L=(x,I)=>{y(S=>({...S,[x]:I})),l&&l(x,I)},w=async()=>{if(!Object.values(p).some(x=>x===""||x===void 0))try{f(!0);const x=await n(p);if(typeof x=="string"&&x==="duplicate-same"){f(!1);return}y({}),f(!1),t()}catch(x){console.error("AddItemModal onSave error:",x),f(!1),t()}},C=x=>{x.target===x.currentTarget&&t()},b=x=>x.stopPropagation();return c.jsx("div",{className:Ge.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:Ge.modalContainer,onMouseDown:b,onClick:b,children:[c.jsx("h2",{className:Ge.modalTitle,children:o}),i.map((x,I)=>{const S=p[x.name]??"",j=I===0&&!!s,q={name:x.name,placeholder:x.placeholder||x.label,value:String(S),onChange:$=>L(x.name,$.target.value),className:x.type==="textarea"?`${Ge.modalTextarea} ${j?Ge.inputError:""}`:`${Ge.modalInput} ${j?Ge.inputError:""}`,tabIndex:0,disabled:v};return I===0&&(q.ref=$=>{m.current=$}),c.jsxs("div",{style:{marginBottom:8},children:[x.type==="textarea"?c.jsx("textarea",{rows:x.rows||4,...q}):c.jsx("input",{type:x.type||"text",...q}),I===0&&M&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Ww,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:Ge.inlineAlert})})]},x.name)}),c.jsxs("div",{className:Ge.modalActions,children:[c.jsx("button",{className:Ge.cancelBtn,onClick:t,type:"button",disabled:v,children:u}),c.jsx("button",{className:Ge.saveBtn,onClick:w,type:"button",disabled:v||!!d,children:v?"En cours...":h})]})]})})},t3e=({title:e,keyCount:t,onAddKey:n,a11yConfig:o})=>{const[i,r]=k.useState(!1),s=d=>{const l=d.key;n&&l&&n(l)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{title:Y(o,e),children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[c.jsx(Zc,{className:"add-key-icon"}),"Clé"]}),c.jsx(jc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},a3e=({modules:e,onEdit:t,onDelete:n,onAddModule:o,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[m,v]=k.useState(!1),f=()=>l(!0),M=()=>l(!1),_=x=>{if(o){const I=x.code?.trim()||x.id?.trim(),S=x.title?.trim(),j=I||S||String(Date.now()),q=S||I||`Module ${j}`;o({id:j,title:q,subtitle:"",translations:{}})}M()},g=(x,I)=>{x.stopPropagation(),u(I)},L=()=>u(null),w=x=>{if(!h){L();return}const I={...h,title:x.title||h.title,subtitle:""};t&&t(I),L()},C=(x,I)=>{x.stopPropagation(),n&&n(I)},b=x=>{y(x.id),i&&i(x)};return m?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Gc,{size:20,className:"menu-toggle",onClick:()=>v(!1)})}):c.jsxs("div",{className:"module-sidebar",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),c.jsxs("div",{className:"header-actions",children:[c.jsx(Wc,{size:18,className:"header-folder",onClick:f}),c.jsx(Gc,{size:18,className:"header-menu",onClick:()=>v(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(x=>{const I=Object.keys(x.translations||{}).length,S=I>0||x.id===p;return c.jsxs("div",{className:`module-item ${x.id===p?"selected":""}`,onClick:()=>b(x),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(x)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(M1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[x.title,S&&c.jsxs("span",{className:"count",children:[" ",I," "]})]}),x.subtitle?c.jsx("div",{className:"module-subtitle",children:x.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(L1,{onClick:j=>g(j,x),color:"#777",size:16}),n&&c.jsx(jt,{onClick:j=>C(j,x.id),color:"#777",size:16})]})]},x.id)})}),c.jsx(jc,{isOpen:d,onClose:M,onSave:_,title:s||"Ajouter un module",fields:r&&r.length?r.map(x=>({name:x.name,label:x.label,type:x.type,placeholder:x.placeholder,rows:x.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(jc,{isOpen:!!h,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Eq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:o="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>c.jsxs("div",{className:`search-container icon-${o}`,title:Y(r,e),children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(I1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),n3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:o,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(""),[v,f]=k.useState(null),[M,_]=k.useState(""),[g,L]=k.useState(""),[w,C]=k.useState(!1),[b,x]=k.useState(!1),[I,S]=k.useState(null),[j,q]=k.useState(!1),$=t.map(D=>D.language),P=n.filter(D=>!$.includes(D.code)),T=()=>{y&&g.trim()&&(d?.(e,y,g.trim()),m(""),L(""),p(!1))},V=(D,W)=>{f(D),_(W)},N=D=>{r?.(e,D,M),f(null),_("")},A=()=>{f(null),_("")},B=async D=>{const W=D.name?.trim();if(W){if(S(null),q(!1),W===e||!i)return C(!1),"ok";try{const K=await i(e,W);if(typeof K=="string"&&K==="ok")C(!1),S(null);else{if(typeof K=="string"&&K==="duplicate-same")return S("Une clé existe déjà dans ce module."),q(!0),"duplicate-same";if(typeof K=="string"&&K==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(K){console.error("Erreur handleRenameSave:",K),S("Erreur lors du renommage.")}}},R=(D,W)=>{if(D!=="name")return;const K=W.trim();S(null),q(!1),K&&typeof h=="function"&&(h(K,e)?(S("Une clé existe déjà dans ce module."),q(!0)):(S(null),q(!1)))};return c.jsxs("div",{className:`translation-key ${b?"collapsed":"expanded"} ${l?"draggable":""}`,children:[c.jsxs("div",{className:"card-header",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("button",{className:"collapse-button",onClick:()=>x(!b),title:b?"Déplier":"Replier",children:b?c.jsx(f1,{className:"collapse-icon"}):c.jsx(St,{className:"collapse-icon"})}),c.jsx("h3",{className:"card-title",title:e,children:e})]}),c.jsxs("div",{className:"header-actions",children:[c.jsx("button",{className:"action-button",onClick:D=>{D.stopPropagation(),C(!0)},title:"Renommer la clé",children:c.jsx(lt,{className:"action-icon"})}),c.jsx("button",{onClick:D=>{D.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(jt,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(D=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:D.language}),c.jsx("div",{className:"translation-content",children:v===D.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:M,onChange:W=>_(W.target.value),className:"edit-input",autoFocus:!0,onKeyDown:W=>{W.key==="Enter"&&N(D.language),W.key==="Escape"&&A()}}),c.jsx("button",{onClick:()=>N(D.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:A,className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:D.value,children:D.value}),c.jsx("button",{onClick:()=>V(D.language,D.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(lt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,D.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ke,{className:"action-icon"})})]})})]},D.language)),u?c.jsxs("div",{className:"add-language-row",children:[c.jsx("div",{className:"language-code",children:"+"}),c.jsxs("div",{className:"add-language-content",children:[c.jsx("div",{className:"language-select-container",children:c.jsxs("select",{value:y,onChange:D=>m(D.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),P.map(D=>c.jsxs("option",{value:D.code,children:[D.name," (",D.code,")"]},D.code))]})}),y&&c.jsx("input",{type:"text",value:g,onChange:D=>L(D.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:D=>{D.key==="Enter"&&T(),D.key==="Escape"&&(p(!1),m(""),L(""))}}),c.jsx("button",{onClick:T,disabled:!y||!g.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),m(""),L("")},className:"cancel-button",children:c.jsx(Ke,{className:"action-icon"})})]})]}):c.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:P.length===0,children:[c.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&c.jsxs("div",{className:"drag-overlay",children:[c.jsx(a.Move,{size:24,strokeWidth:1.5}),c.jsx("span",{children:"Glisser pour réorganiser"})]}),c.jsx(jc,{isOpen:w,onClose:()=>{C(!1),S(null),q(!1)},onSave:B,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:j})]})},o3e="_wrapper_1wvht_1",c3e="_leftGroup_1wvht_12",i3e="_filterButton_1wvht_21",r3e="_open_1wvht_42",s3e="_filterIcon_1wvht_42",d3e="_infoText_1wvht_58",l3e="_pickerContainer_1wvht_66",h3e="_srOnly_1wvht_79",u3e="_pickerLabel_1wvht_91",p3e="_datetime_1wvht_98",y3e="_rightGroup_1wvht_107",k3e="_searchInputWrap_1wvht_116",m3e="_searchInput_1wvht_116",f3e="_searchIcon_1wvht_152",Ae={wrapper:o3e,leftGroup:c3e,filterButton:i3e,open:r3e,filterIcon:s3e,infoText:d3e,pickerContainer:l3e,srOnly:h3e,pickerLabel:u3e,datetime:p3e,rightGroup:y3e,searchInputWrap:k3e,searchInput:m3e,searchIcon:f3e};function g3e({onDateChange:e,onSearch:t,initialDate:n}){const[o,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const m=y.target;d.current&&m&&!d.current.contains(m)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const l=()=>i(p=>!p),h=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return c.jsxs("div",{className:Ae.wrapper,ref:d,children:[c.jsxs("div",{className:Ae.leftGroup,children:[c.jsxs("button",{type:"button",className:`${Ae.filterButton} ${o?Ae.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:Ae.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:c.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),c.jsx("div",{className:Ae.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:Ae.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:Ae.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:Ae.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:Ae.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:Ae.rightGroup,children:c.jsxs("div",{className:Ae.searchInputWrap,children:[c.jsx("input",{className:Ae.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:Ae.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:c.jsx("path",{fill:"currentColor",d:"M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5 6.5 6.5 0 109.5 16a6.471 6.471 0 004.23-1.57l.27.28v.79L20 20.49 21.49 19l-5.99-5zM10 15.5A5.5 5.5 0 1115.5 10 5.5 5.5 0 0110 15.5z"})})]})})]})}const v3e=({className:e="",style:t={},title:n,titleClassName:o="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:m="1rem"})=>{const v=Array.isArray(r)?r:[],f=v.length===0,M=v.every(w=>typeof w=="string"),_=v.some(w=>Array.isArray(w)),g=(w,C,b)=>d?d(w,C,b):c.jsx("span",{className:"slb-cell-text",children:w}),L=m?{"--col-gap":m}:void 0;return f?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!_?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("ul",{className:"slb-list",children:v.map((w,C)=>c.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:g(w,C,0)},C))})]}):c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-grid",style:L,children:v.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[x,I]=w;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:g(x,C,0)}),c.jsx("div",{className:"slb-grid-right",children:g(I,C,1)})]},C)}return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:g(w,C,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},M3e=({className:e="",style:t={},title:n,titleColor:o,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:l,itemBg:h,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(v=>Array.isArray(v)),m=p?{"--col-gap":p}:void 0;return c.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&c.jsx("div",{className:"clb-title",style:o?{color:o}:void 0,children:n}),c.jsx("div",{className:"clb-grid",style:m,children:i.map((v,f)=>{const M=u[f]||"";if(Array.isArray(v)){const[_,g]=v,L=s[f]||r;return c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col",children:c.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:l,minWidth:l},children:_})}),c.jsx("div",{className:"clb-text",children:g})]},f)}return y?c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:v})]},f):c.jsx("div",{className:`clb-fullrow ${M}`,style:{background:h??void 0},children:c.jsx("span",{children:v})},f)})})]})},_3e=({className:e="",style:t={},title:n,items:o=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return c.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&c.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),c.jsx("div",{className:"tlb-grid",style:u,children:o.map((p,y)=>{const m=d[y]||"";return c.jsxs("div",{className:`tlb-row ${m}`,style:{background:s??void 0},children:[c.jsx("div",{className:"tlb-label",children:p.label}),c.jsxs("div",{className:"tlb-value-group",children:[c.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),c.jsxs("div",{className:"tlb-value-wrap",children:[c.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&c.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},x3e=({className:e="",style:t={},children:n,gap:o="1rem"})=>c.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":o},children:k.Children.map(n,i=>c.jsx("div",{className:"frc-item",children:i}))}),L3e=({className:e="",style:t={},children:n,gap:o="1rem",background:i="#D9EEF5"})=>c.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":o},children:k.Children.map(n,r=>c.jsx("div",{className:"lcc-cell",children:r}))}),I3e="_overlay_i1ay5_2",b3e="_fadeIn_i1ay5_1",w3e="_popup_i1ay5_17",C3e="_slideUp_i1ay5_1",N3e="_header_i1ay5_28",S3e="_body_i1ay5_40",j3e="_footer_i1ay5_51",$3e="_cancelButton_i1ay5_59",q3e="_confirmButton_i1ay5_77",A3e="_warning_i1ay5_97",z3e="_danger_i1ay5_106",V3e="_info_i1ay5_115",vt={overlay:I3e,fadeIn:b3e,popup:w3e,slideUp:C3e,header:N3e,body:S3e,footer:j3e,cancelButton:$3e,confirmButton:q3e,warning:A3e,danger:z3e,info:V3e},P3e=({isOpen:e,title:t,message:n,onConfirm:o,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const l=u=>{u.target===u.currentTarget&&i()},h=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&o()};return c.jsx("div",{className:vt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${vt.popup} ${vt[d]}`,children:[c.jsx("div",{className:vt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:vt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:vt.footer,children:[c.jsx("button",{className:vt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:vt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},T3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),o=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),o()},[e.onConfirm,o]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:o,handleConfirm:i}},H3e="_container_v7v52_1",D3e="_selectButton_v7v52_6",B3e="_disabled_v7v52_19",R3e="_error_v7v52_29",F3e="_outline_v7v52_43",E3e="_filled_v7v52_53",O3e="_sm_v7v52_58",U3e="_md_v7v52_63",W3e="_lg_v7v52_68",G3e="_buttonContent_v7v52_73",Z3e="_label_v7v52_80",K3e="_placeholder_v7v52_87",X3e="_iconsContainer_v7v52_91",Y3e="_loadingSpinner_v7v52_99",J3e="_spin_v7v52_1",Q3e="_arrowIcon_v7v52_119",eme="_arrowIconOpen_v7v52_127",tme="_dropdown_v7v52_131",ame="_searchContainer_v7v52_146",nme="_searchInput_v7v52_150",ome="_optionsList_v7v52_173",cme="_noResults_v7v52_195",ime="_option_v7v52_173",rme="_optionHighlighted_v7v52_217",sme="_optionSelected_v7v52_222",dme="_optionDisabled_v7v52_228",lme="_optionLabel_v7v52_233",hme="_checkIcon_v7v52_240",ume="_widthFull_v7v52_248",pme="_width64_v7v52_252",yme="_width80_v7v52_256",kme="_width96_v7v52_260",oe={container:H3e,selectButton:D3e,disabled:B3e,error:R3e,default:"_default_v7v52_38",outline:F3e,filled:E3e,sm:O3e,md:U3e,lg:W3e,buttonContent:G3e,label:Z3e,placeholder:K3e,iconsContainer:X3e,loadingSpinner:Y3e,spin:J3e,arrowIcon:Q3e,arrowIconOpen:eme,dropdown:tme,searchContainer:ame,searchInput:nme,optionsList:ome,noResults:cme,option:ime,optionHighlighted:rme,optionSelected:sme,optionDisabled:dme,optionLabel:lme,checkIcon:hme,widthFull:ume,width64:pme,width80:yme,width96:kme},mme=({options:e,value:t,onChange:n,placeholder:o="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:l="md",variant:h="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[m,v]=k.useState(""),[f,M]=k.useState(0),[_,g]=k.useState({top:0,left:0,width:0}),L=k.useRef(null),w=k.useRef(null),C=k.useRef(null),b=k.useMemo(()=>m?e.filter(N=>N.label.toLowerCase().includes(m.toLowerCase())):e,[e,m]),x=e.find(N=>N.value===t),I=k.useCallback(()=>{if(L.current){const N=L.current.getBoundingClientRect();g({top:N.top,left:N.left,width:N.width})}},[]);k.useEffect(()=>(p&&(I(),window.addEventListener("scroll",I,!0),window.addEventListener("resize",I)),()=>{window.removeEventListener("scroll",I,!0),window.removeEventListener("resize",I)}),[p,I]),k.useEffect(()=>{const N=A=>{L.current&&!L.current.contains(A.target)&&w.current&&!w.current.contains(A.target)&&(y(!1),v(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{M(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),v(""))},j=N=>{v(N.target.value),p||y(!0)},q=N=>{if(!p){(N.key==="ArrowDown"||N.key==="Enter")&&y(!0);return}switch(N.key){case"ArrowDown":N.preventDefault(),M(A=>A<b.length-1?A+1:A);break;case"ArrowUp":N.preventDefault(),M(A=>A>0?A-1:A);break;case"Enter":N.preventDefault(),b[f]&&S(b[f]);break;case"Escape":y(!1),v("");break}},$=()=>[oe.selectButton,oe[l],oe[h],i?oe.disabled:"",s?oe.error:"",d].filter(Boolean).join(" "),P=()=>{switch(u){case"w-64":return oe.width64;case"w-80":return oe.width80;case"w-96":return oe.width96;default:return oe.widthFull}},T=(N,A)=>[oe.option,A===f?oe.optionHighlighted:"",N.value===t?oe.optionSelected:"",N.disabled?oe.optionDisabled:""].filter(Boolean).join(" "),V={position:"fixed",top:_.top+(L.current?.offsetHeight||0)+4,left:_.left,width:_.width,zIndex:9999};return c.jsxs("div",{className:`${oe.container} ${P()}`,children:[c.jsx("button",{ref:L,className:$(),onClick:()=>!i&&y(!p),onKeyDown:q,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:c.jsxs("div",{className:oe.buttonContent,children:[c.jsx("span",{className:`${oe.label} ${x?"":oe.placeholder}`,children:x?x.label:o}),c.jsxs("div",{className:oe.iconsContainer,children:[r&&c.jsx("div",{className:oe.loadingSpinner}),c.jsx("svg",{className:`${oe.arrowIcon} ${p?oe.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:c.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),p&&rw.createPortal(c.jsxs("div",{className:`${oe.dropdown} ${P()}`,style:V,ref:w,children:[c.jsx("div",{className:oe.searchContainer,children:c.jsx("input",{ref:C,type:"text",value:m,onChange:j,placeholder:"Rechercher...",className:oe.searchInput,autoFocus:!0})}),c.jsx("div",{className:oe.optionsList,children:b.length===0?c.jsx("div",{className:oe.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((N,A)=>c.jsx("li",{className:T(N,A),onClick:()=>S(N),onMouseEnter:()=>M(A),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:oe.buttonContent,children:[c.jsx("span",{className:oe.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:oe.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:c.jsx("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})]})},N.value))})})]}),document.body)]})},fme="_container_uq7pt_1",gme="_item_uq7pt_7",vme="_mainValue_uq7pt_13",Mme="_label_uq7pt_17",_me="_subValue_uq7pt_22",xme="_subValueWrapper_uq7pt_27",Lme="_subSeparator_uq7pt_32",Re={container:fme,item:gme,mainValue:vme,label:Mme,subValue:_me,subValueWrapper:xme,subSeparator:Lme},Ime=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:o="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:l="#6b7280",valueColor:h="#000000"})=>{const u=(p,y,m)=>{const[v,f]=p.split("/").map(M=>M.trim());return c.jsxs("span",{className:Re.subValueWrapper,children:[c.jsx("span",{className:Re.subLeft,style:{color:y},children:v}),c.jsx("span",{className:Re.subSeparator,children:" / "}),c.jsx("span",{className:Re.subRight,style:{color:m},children:f})]})};return c.jsxs("div",{className:Re.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:Re.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:Re.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Re.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:Re.label,style:{color:l},children:p.label}),c.jsx("div",{className:Re.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},bme="_encours_16ist_1",wme="_header_16ist_19",Cme="_iconWrap_16ist_27",Nme="_title_16ist_36",Sme="_items_16ist_47",jme="_spaceEvenly_16ist_56",$me="_item_16ist_47",qme="_valueContainer_16ist_86",Ame="_value_16ist_86",zme="_label_16ist_108",tt={encours:bme,header:wme,iconWrap:Cme,title:Nme,items:Sme,spaceEvenly:jme,item:$me,valueContainer:qme,value:Ame,label:zme},bc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function Vme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=bc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=bc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(o.color=e.labelColor),e.labelFontSize!==void 0?o.fontSize=bc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=bc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Pme(){return c.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[c.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),c.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function Tme(e){const{title:t,titleColor:n,titleFontSize:o,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:m,bg:v="#ffffff",width:f,gap:M,className:_,ariaLabel:g}=e,L=r?ut[r]:void 0,w={background:v,width:bc(f),...m},C={};n&&(C.color=n),o!==void 0&&(C.fontSize=bc(o)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${tt.encours} ${_??""}`,style:w,"aria-label":g??t,children:[c.jsxs("div",{className:tt.header,children:[c.jsx("div",{className:tt.iconWrap,"aria-hidden":!0,style:b,children:L?c.jsx(L,{size:typeof s=="number"?s:void 0}):c.jsx(Pme,{})}),c.jsx("div",{className:tt.title,style:C,children:t})]}),c.jsx("div",{className:`${tt.items} ${M===void 0?tt.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((x,I)=>{const{valueStyle:S,labelStyle:j}=Vme(x,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:tt.item,role:"listitem",style:{...x.background?{background:x.background}:{},...x.width?{width:bc(x.width)}:{}},children:c.jsxs("div",{className:tt.valueContainer,children:[c.jsx("div",{className:tt.value,style:S,children:x.value}),x.label&&c.jsx("div",{className:tt.label,style:j,children:x.label})]})},`${String(x.label??x.value)}-${I}`)})})]})}const Hme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-360 280-559h400z"})),Dme=k.memo(Hme),Bme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m280-400 200-201 200 201z"})),Rme=k.memo(Bme),Fme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),Eme=k.memo(Fme),Ome=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),Ume=k.memo(Ome),Wme=({items:e,onSave:t,loading:n,disabled:o,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h,a11yConfig:u})=>{const[p,y]=k.useState(!1),[m,v]=k.useState(e),[f,M]=k.useState(!1);if(k.useEffect(()=>{M(!0)},[]),k.useEffect(()=>{v(e)},[e]),!f)return null;const _=(w,C)=>{C<4||v(b=>b.map(x=>x.component_key===w?{...x,visible:!x.visible}:x))},g=()=>{t(m),y(!1)},L=Y(u,s);return c.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[c.jsxs("div",{onClick:()=>{o||y(!p)},style:{display:"flex",alignItems:"center",cursor:o?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[c.jsx(Ij,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?c.jsx(Rme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Dme,{width:d,height:d,fill:l?.icon||"currentColor"})]}),p&&c.jsxs("div",{style:{position:"absolute",top:"120%",right:0,minWidth:260,background:"#fff",borderRadius:"0.25rem",boxShadow:"0px 3px 7px 0px rgba(17, 20, 21, 0.05),0px 14px 14px 0px rgba(17, 20, 21, 0.04),0px 30px 18px 0px rgba(17, 20, 21, 0.03), 0px 54px 22px 0px rgba(17, 20, 21, 0.01),0px 85px 24px 0px rgba(17, 20, 21, 0)",zIndex:235465456,padding:"0 0 0.5rem 0"},children:[c.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:m.map((w,C)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>_(w.component_key,C),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:C<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:b=>{C>=4&&(b.currentTarget.style.background="#F9FAFB")},onMouseLeave:b=>{C>=4&&(b.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:w.visible?c.jsx(Eme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Ume,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:w.label})]}),C===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},w.component_key))}),c.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:c.jsx("button",{type:"button",onClick:g,disabled:n,style:{padding:"6px 16px",borderRadius:4,border:"none",background:"var(--color-primary, #008FBB)",color:"#fff",fontSize:"14px",fontWeight:500,cursor:n?"not-allowed":"pointer",transition:"opacity 0.2s",opacity:n?.7:1},children:n?r:i})})]})]})},Gme="_container_zhny9_1",Zme="_card_zhny9_15",Kme="_footer_zhny9_33",Xme="_noPaddingMobile_zhny9_51",K1={container:Gme,card:Zme,footer:Kme,noPaddingMobile:Xme},Yme="_board_71fer_1",Jme="_clickable_71fer_21",Qme="_sideBar_71fer_26",e6e="_boardContent_71fer_32",t6e="_orange_71fer_40",a6e="_red_71fer_44",n6e="_green_71fer_48",o6e="_grey_71fer_52",c6e="_lightGrey_71fer_56",i6e="_big_71fer_61",r6e="_medium_71fer_66",s6e="_headerRow_71fer_70",d6e="_iconWrapper_71fer_75",l6e="_headerTitle_71fer_80",h6e="_valueArea_71fer_89",u6e="_titleWhite_71fer_99",p6e="_titleBlack_71fer_103",y6e="_valueWhite_71fer_108",k6e="_valueBlack_71fer_112",m6e="_valueBlue_71fer_116",f6e="_bars_71fer_121",g6e="_bar_71fer_121",v6e="_barDark_71fer_135",M6e="_barDim_71fer_139",Ee={board:Yme,clickable:Jme,sideBar:Qme,boardContent:e6e,orange:t6e,red:a6e,green:n6e,grey:o6e,lightGrey:c6e,big:i6e,medium:r6e,headerRow:s6e,iconWrapper:d6e,headerTitle:l6e,valueArea:h6e,titleWhite:u6e,titleBlack:p6e,valueWhite:y6e,valueBlack:k6e,valueBlue:m6e,bars:f6e,bar:g6e,barDark:v6e,barDim:M6e},_6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ee.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ee.bar} ${r<o?"":e?Ee.barDark:Ee.barDim}`},r))})},wt=({a11yConfig:e,iconName:t,label:n,value:o,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:l,width:h,height:u,className:p="",style:y,titleColor:m="white",valueColor:v="white",titleFontSize:f,titleFontWeight:M,valueFontSize:_,valueFontWeight:g,barColor:L,justifyContent:w="space-between",alignItems:C="flex-start",cardGap:b="",onClick:x,iconColor:I,titleKey:S})=>{const j=r!=="none",q=r==="endingDark",{padding:$,...P}=y||{},T=h===void 0&&u===void 0&&i===void 0&&Object.keys(P).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...P},V=`${Ee.board} ${Ee[d]} ${p}`;return c.jsxs("div",{className:V,onClick:x,style:l!==void 0?{...T,"--ds-value-scale":l}:T,children:[L&&c.jsx("div",{className:Ee.sideBar,style:{backgroundColor:L}}),c.jsxs("div",{className:Ee.boardContent,style:{padding:$,gap:b},children:[c.jsxs("div",{className:Ee.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&c.jsx("div",{className:Ee.iconWrapper,style:{color:I},children:t}),c.jsx("div",{className:`${Ee.headerTitle} header-title-data-board`,children:c.jsx("span",{title:Y(e,S),"aria-label":e?.description,style:{color:m,...f?{fontSize:f}:{},...M?{fontWeight:M}:{}},children:n})}),j?c.jsx(_6e,{endingDark:q,lightCount:s}):null]}),c.jsx("div",{className:Ee.valueArea,style:{color:v,..._?{fontSize:_}:{},...g?{fontWeight:g}:{}},children:o})]})]})},x6e="_wrapper_1uu3e_10",L6e="_hosp_1uu3e_19",I6e="_headerRow_1uu3e_54",b6e="_iconWrapper_1uu3e_61",w6e="_headerTitle_1uu3e_67",C6e="_hospValue_1uu3e_76",N6e="_side_1uu3e_88",S6e="_mini_1uu3e_100",j6e="_miniLabel_1uu3e_131",$6e="_miniValue_1uu3e_140",q6e="_miniBars_1uu3e_150",A6e="_bars_1uu3e_155",z6e="_bar_1uu3e_155",V6e="_barDark_1uu3e_169",P6e="_barDim_1uu3e_173",$e={wrapper:x6e,hosp:L6e,headerRow:I6e,iconWrapper:b6e,headerTitle:w6e,hospValue:C6e,side:N6e,mini:S6e,miniLabel:j6e,miniValue:$6e,miniBars:q6e,bars:A6e,bar:z6e,barDark:V6e,barDim:P6e},T6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${$e.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${$e.bar} ${r<o?"":e?$e.barDark:$e.barDim}`},r))})},Oq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${$e.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${$e.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Y(e.a11yConfig,e.titleKey),children:[c.jsxs("div",{className:$e.headerRow,children:[c.jsxs("div",{className:`${$e.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:$e.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Y(e.a11yConfig,e.titleKey),children:e.label})]}),r?c.jsx(T6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:$e.hospValue,style:{color:e.valueColor||"white",...e.valueScale!==void 0?{"--ds-value-scale":e.valueScale}:{},...e.valueFontSize?{fontSize:e.valueFontSize}:{},...e.valueFontWeight?{fontWeight:e.valueFontWeight}:{}},children:e.value})]}),c.jsx("div",{className:$e.side,children:t.map((d,l)=>c.jsxs("div",{className:`${$e.mini} ${d.className||""} icon-wrapper-data-four-boards`,onClick:d.onClick,style:{...d.width?{width:d.width}:{},...d.height?{height:d.height}:{},...d.backgroundColor?{backgroundColor:d.backgroundColor}:{},...d.style||{}},title:Y(d.a11yConfig,d.titleKey),children:[c.jsxs("span",{className:$e.miniLabel,style:{color:d.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...d.titleFontSize?{fontSize:d.titleFontSize}:{},...d.titleFontWeight?{fontWeight:d.titleFontWeight}:{}},title:Y(d.a11yConfig,d.titleKey),children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${$e.miniValue} mini-value-data-four-boards`,style:{color:d.valueColor||"white",textAlign:"right",...d.valueScale!==void 0?{"--ds-value-scale":d.valueScale}:{},...d.valueFontSize?{fontSize:d.valueFontSize}:{},...d.valueFontWeight?{fontWeight:d.valueFontWeight}:{}},children:d.value}),c.jsx("div",{className:$e.miniBars})]},d.id??`${d.label}-${l}`))})]})},H6e=({items:e,footerLabel:t,width:n,height:o,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:m})=>{const v={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},f=e[0],M=e[1],_=e.slice(2,5);return c.jsxs("div",{style:v,className:`${K1.container} ${y?K1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:K1.card,children:[f?c.jsx(wt,{a11yConfig:f.a11yConfig,label:f.label,value:f.value,backgroundColor:f.backgroundColor,bars:f.bars,lightBars:f.lightBars,size:f.size??"big",valueScale:f.valueScale,width:f.width,height:f.height,titleColor:"white",valueColor:"white",titleFontSize:f.titleFontSize??l,titleFontWeight:f.titleFontWeight??h,valueFontSize:f.valueFontSize??u,valueFontWeight:f.valueFontWeight??p,titleKey:f.titleKey,onClick:g=>m?.(0,g)}):null,M&&_.length>0?c.jsx(Oq,{left:{a11yConfig:M.a11yConfig,id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,titleKey:M.titleKey,onClick:g=>m?.(1,g)},right:_.map((g,L)=>({a11yConfig:g.a11yConfig,id:g.id,label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,valueScale:g.valueScale,width:g.width,height:g.height,titleFontSize:g.titleFontSize??l,titleFontWeight:g.titleFontWeight??h,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p,titleKey:g.titleKey,onClick:w=>m?.(2+L,w)}))}):M&&_.length===0?c.jsx(wt,{a11yConfig:M.a11yConfig,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:g=>m?.(1,g)}):null]}),t&&c.jsx("div",{className:K1.footer,children:t})]})},D6e=({x:e,y:t,width:n,payload:o,fontSize:i,fontWeight:r,stroke:s})=>c.jsx("g",{transform:`translate(${e},${t})`,children:c.jsx("foreignObject",{x:-n,y:-20,width:n,height:40,style:{overflow:"visible"},children:c.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.1",wordBreak:"break-word",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",paddingRight:"8px"},children:o.value})})}),B6e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:o=!0,backgroundColor:i="#ffffff",legendTextColor:r="#000",barHeight:s=100,yAxisWidth:d=240,fontSize:l="12px",fontWeight:h="400",wrapLabels:u=!1,domain:p})=>c.jsx("div",{style:{backgroundColor:i},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:t,children:c.jsxs(a.BarChart,{data:e,layout:"vertical",children:[c.jsx(a.CartesianGrid,{stroke:"#E5E7EB",vertical:!1}),c.jsx(a.XAxis,{type:"number",domain:p,axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r}),c.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:d,interval:0,fontSize:l,fontWeight:h,tick:u?c.jsx(D6e,{}):void 0}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),R6e="_menu_10i6j_1",F6e="_menuRow_10i6j_18",E6e="_separator_10i6j_33",O6e="_rowLabel_10i6j_39",U6e="_rowLeadingIcon_10i6j_47",W6e="_rowIcon_10i6j_54",Hc={menu:R6e,menuRow:F6e,separator:E6e,rowLabel:O6e,rowLeadingIcon:U6e,rowIcon:W6e},G6e=k.forwardRef(function({isVisible:t,onClose:n,items:o,style:i,position:r,bg:s},d){const l=k.useRef(null),h=d||l;if(k.useEffect(()=>{if(!t)return;const y=m=>{h.current&&!h.current.contains(m.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return c.jsx("div",{ref:h,role:"menu",className:Hc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Hc.separator},y.id);const m=y,v=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Hc.menuRow,style:v,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Hc.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Hc.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Hc.rowIcon,children:m.icon})]},m.id)})})}),Uq=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:o,profileHref:i,profileLinkTarget:r="_self",backgroundColor:s="transparent",textColor:d="inherit",roleColor:l="#888",avatarSize:h="32px",padding:u="10px",gap:p="12px",emailFontSize:y="14px",emailFontWeight:m=600,roleFontSize:v="12px",roleFontWeight:f,avatarColor:M="#5b8fb9",backgroundColorAvatar:_="#f1f4f5",dropdownMenuItems:g,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:x,className:I=""})=>{const{user:S}=rt(),j=e||S,{currentTheme:q,switchTheme:$}=hL(),P=k.useRef(null),T=k.useRef(null),[V,N]=k.useState(!1),[A,B]=k.useState({}),R=k.useMemo(()=>{const F=[],J=({variant:ae})=>ae==="sun"?c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("circle",{cx:"12",cy:"12",r:"4"})}):c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(F.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),F.push({id:"sep-profile",type:"separator"}));const ce=q==="dark";return F.push({id:"theme",type:"action",label:ce?"Mode clair":"Mode sombre",icon:c.jsx(J,{variant:ce?"sun":"moon"}),onClick:()=>{$(ce?"light":"dark")}}),(t||o)&&(F.push({id:"sep-theme",type:"separator"}),F.push({id:"logout",type:"action",label:"Se déconnecter",danger:!0,onClick:()=>{if(t){if(typeof window>"u")return;n==="_blank"?window.open(t,"_blank","noopener,noreferrer"):window.location.assign(t);return}o?.()}})),F},[q,t,n,o,i,r,$]),D=g??R,W=()=>{if(!P.current){N(F=>!F);return}if(!V){const F=P.current.getBoundingClientRect(),J=window.innerWidth,ce=window.innerHeight,ae=200,pe=200,_e=4,fe=w?.x??0,je=w?.y??0,le=J-F.right>=ae+_e;B(le?{top:F.bottom-pe+je,left:F.right+_e+fe}:{bottom:ce-F.top+je,left:F.left+fe})}N(F=>!F)};if(k.useEffect(()=>{if(!V||!P.current)return;const F=()=>{const J=P.current.getBoundingClientRect(),ce=window.innerWidth,ae=window.innerHeight,pe=200,_e=200,fe=4,je=w?.x??0,Ce=w?.y??0,Le=ce-J.right>=pe+fe;B(Le?{top:J.bottom-_e+Ce,left:J.right+fe+je}:{bottom:ae-J.top+Ce,left:J.left+je})};return window.addEventListener("resize",F),window.addEventListener("orientationchange",F),()=>{window.removeEventListener("resize",F),window.removeEventListener("orientationchange",F)}},[V,w]),k.useEffect(()=>{if(!V||!P.current||!T.current)return;const F=()=>{const ce=P.current.getBoundingClientRect(),ae=T.current.getBoundingClientRect(),pe=w?.x??0,_e=w?.y??0;B(fe=>fe.left!==void 0&&fe.top!==void 0&&fe.left>=ce.right-1?{top:ce.bottom-ae.height+_e,left:fe.left+pe}:fe)},J=requestAnimationFrame(()=>{setTimeout(F,0)});return()=>cancelAnimationFrame(J)},[V,w]),!j)return null;const K=j,ee=parseInt(h,10)||40,X=`${ee*.375}px`,xe=`${ee*1.375}px`,ye=`${ee*.2}px`,Se=`${ee*.6}px`,ie=()=>{const F=parseInt(h,10)||40,J=Math.max(8,F*.34375),ce=Math.max(2,F*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[K.image?c.jsx("img",{src:K.image,alt:`${K.prenom} ${K.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):c.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:_,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:X,height:X,borderRadius:"50%",backgroundColor:M,position:"absolute",top:ye,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:xe,height:xe,borderRadius:"50%",backgroundColor:M,position:"absolute",top:Se,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&c.jsx("div",{style:{position:"absolute",bottom:ce,right:ce,width:`${J}px`,height:`${J}px`,borderRadius:"50%",backgroundColor:C,border:"2px solid white",zIndex:10}})]}),c.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[c.jsx("span",{style:{fontWeight:m,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:K.email,children:K.email}),c.jsx("span",{style:{color:l,fontSize:v,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:K.role,children:K.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:P,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",...x},onClick:W,title:Y(b,K.role),role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(ie,{})})}),c.jsx(G6e,{ref:T,isVisible:V,onClose:()=>N(!1),items:D,style:L,position:A})]})},Z6e="_navItem_16uqf_1",K6e="_label_16uqf_14",X6e="_icon_16uqf_26",i1={navItem:Z6e,label:K6e,icon:X6e},Gw=({label:e,labelKey:t,onClick:n,href:o,isActive:i,icon:r,style:s,className:d="",highlightColor:l="#00aec7",color:h="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:m="500",sidebarCollapsed:v=!1,padding:f="10px 16px",borderWidth:M="4px",iconGap:_="12px",disabled:g=!1,disabledColor:L,a11yConfig:w})=>{const C=()=>{g||n?.()},b=c.jsxs(c.Fragment,{children:[r&&c.jsx("span",{className:i1.icon,style:{marginRight:v?0:_},children:r}),!v&&c.jsx("span",{className:i1.label,children:e})]}),x=()=>{if(!i)return"transparent";const S=j=>{const q=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(j);return q?{r:parseInt(q[1],16),g:parseInt(q[2],16),b:parseInt(q[3],16)}:null};if(l.startsWith("#")){const j=S(l);if(j)return`rgba(${j.r}, ${j.g}, ${j.b}, 0.08)`}else if(l.startsWith("rgb")){const j=l.match(/\d+/g);if(j&&j.length>=3)return`rgba(${j[0]}, ${j[1]}, ${j[2]}, 0.08)`}return p},I={onClick:C,className:`${i1.navItem} ${i?i1.active:""} ${d} ${g?i1.disabled:""}`,style:{padding:f,color:i?u:g?L||"#999":h,borderLeft:i?`${M} solid ${l}`:`${M} solid transparent`,backgroundColor:x(),fontSize:y,fontWeight:m,cursor:g?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":g};return o&&!n&&!g?c.jsx("a",{href:o,...I,title:Y(w,t),children:b}):c.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!g?0:void 0,title:Y(w,t),children:b})},Y6e="_navbar_agnn2_1",J6e="_topSection_agnn2_9",Q6e="_sectionsContainer_agnn2_14",e8e="_sectionTitle_agnn2_20",t8e="_sectionItems_agnn2_25",a8e="_bottomSection_agnn2_30",n8e="_versionContainer_agnn2_49",st={navbar:Y6e,topSection:J6e,sectionsContainer:Q6e,sectionTitle:e8e,sectionItems:t8e,bottomSection:a8e,versionContainer:n8e},o8e=({logoProps:e,logoSpacing:t,navItems:n,padding:o="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:l="rgba(0, 0, 0, 0.05)",version:h,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:m="4px",navItemIconGap:v="12px",navItemFontSize:f="15px",navItemFontWeight:M="500",navItemColor:_,sectionTitlePadding:g="16px",sectionTitleFontSize:L="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:x="400",versionColor:I="#999",userInfoProps:S,style:j,className:q="",width:$="280px",showLogo:P=!0,versionA11yConfig:T,displayNone:V=!1})=>{const N=rt(),A=N.activeNav,B=N.setActiveNav,R=N.user,D=S.user||R;return c.jsxs("div",{className:`${st.navbar} ${q}`,style:{width:$,backgroundColor:s,padding:o,display:V?"none":"flex",...j},children:[c.jsxs("div",{className:st.topSection,style:{gap:t},children:[P&&c.jsx("div",{className:st.logoContainer,children:c.jsx(lL,{...e})}),c.jsx("div",{className:st.sectionsContainer,style:{gap:i},children:n.map((W,K)=>c.jsxs("div",{className:st.section,children:[W.title&&c.jsx("div",{className:st.sectionTitle,title:Y(W.a11yConfig,W.titleKey),style:{fontSize:L,color:w,padding:g,fontWeight:C,border:"4px solid transparent",...u},children:W.title}),c.jsx("div",{className:st.sectionItems,style:{gap:r},children:W.items.map(ee=>c.jsx(Gw,{...ee,isActive:ee.isActive===null?ee.isActive:A===ee.id,onClick:()=>{ee.onClick&&ee.onClick(),ee.isActive==null&&B(ee.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:v,fontSize:f,fontWeight:M,color:_,style:p},ee.id))})]},K))})]}),c.jsxs("div",{className:st.bottomSection,style:{gap:t},children:[c.jsx(Uq,{...S,user:D}),h&&c.jsx("div",{className:st.versionContainer,title:Y(T,h),style:{fontSize:b,fontWeight:x,color:I},children:h})]})]})},c8e="_container_4qege_1",i8e="_titleContainer_4qege_10",r8e="_title_4qege_10",s8e="_inlineToggleContainer_4qege_24",d8e="_rightContentContainer_4qege_30",r1={container:c8e,titleContainer:i8e,title:r8e,inlineToggleContainer:s8e,rightContentContainer:d8e},l8e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:v,inlineToggle:f})=>{const{activeNav:M}=rt(),_=y.find(L=>L.id===M),g=m(_?_.label:M);return g?c.jsxs("div",{className:`${r1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:r1.titleContainer,children:[c.jsx("div",{className:r1.title,style:{fontSize:n,fontWeight:o,color:i},children:g}),f&&c.jsx("div",{className:r1.inlineToggleContainer,children:f})]}),v&&c.jsx("div",{className:r1.rightContentContainer,children:v})]}):null},h8e="_navItem_1hg26_1",u8e="_navItemIcon_1hg26_21",p8e="_navItemLabel_1hg26_29",y8e="_navItemCount_1hg26_36",k8e="_navItemIndicator_1hg26_49",s1={navItem:h8e,navItemIcon:u8e,navItemLabel:p8e,navItemCount:y8e,navItemIndicator:k8e},Wq=({a11yConfig:e,label:t,isActive:n,onClick:o,href:i,labelKey:r,icon:s,count:d,activeColor:l="#00aec7",inactiveColor:h="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:m="10px",countPadding:v="2px 6px",countFontSize:f="12px",countFontWeight:M="500",indicatorColor:_="#00aec7",indicatorHeight:g="3px",padding:L="8px 4px",fontSize:w="14px",fontWeight:C="500",gap:b="8px",style:x,className:I="",disabled:S=!1,onNavigate:j})=>{const q=()=>{S||(o?.(),i&&(j?j(i):window.location.href=i))};return c.jsxs("div",{className:`${s1.navItem} ${I}`,onClick:q,title:Y(e,r),style:{gap:b,padding:L,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,...x},children:[s&&c.jsx("span",{className:s1.navItemIcon,children:s}),c.jsx("span",{className:s1.navItemLabel,children:t}),d!==void 0&&c.jsx("span",{className:s1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:m,padding:v,fontSize:f,fontWeight:M},children:d}),n&&!S&&c.jsx("div",{className:s1.navItemIndicator,style:{height:g,backgroundColor:_}})]})},m8e="_container_13hsa_1",f8e="_groupHeader_13hsa_8",g8e="_groupHeaderLeft_13hsa_18",v8e="_groupIcon_13hsa_23",M8e="_dropdown_13hsa_29",_8e="_item_13hsa_42",x8e="_itemIcon_13hsa_65",L8e="_chevron_13hsa_72",I8e="_chevronOpen_13hsa_79",dt={container:m8e,groupHeader:f8e,groupHeaderLeft:g8e,groupIcon:v8e,dropdown:M8e,item:_8e,itemIcon:x8e,chevron:L8e,chevronOpen:I8e},b8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),$1=k.memo(b8e),Gq=({groups:e,activeItemId:t,onItemClick:n,style:o,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:l="var(--color-text)",headerBorderBottomColor:h="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:m="var(--color-text)",itemActiveColor:v="var(--color-primary)",itemActiveBorderColor:f="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:_="#555555",activeIconColor:g="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:w="var(--color-text)",iconSize:C=22,headerPadding:b="14px 20px",itemPadding:x="14px 20px",iconGap:I=14,borderRadius:S=0})=>{const[j,q]=k.useState(""),$=k.useRef(null);k.useEffect(()=>{const T=V=>{$.current&&!$.current.contains(V.target)&&q("")};return document.addEventListener("mousedown",T),()=>document.removeEventListener("mousedown",T)},[]);const P={backgroundColor:r,color:s,borderRadius:S,...o};return c.jsx("nav",{ref:$,className:[dt.container,i].filter(Boolean).join(" "),style:P,children:e.map(T=>{const V=j===T.id,N={backgroundColor:d,color:l,padding:b,borderBottom:`1px solid ${h}`,gap:I},A={backgroundColor:u};return c.jsxs("div",{children:[c.jsxs("div",{className:dt.groupHeader,style:N,onClick:()=>q(V?"":T.id),role:"button","aria-expanded":V,children:[c.jsxs("div",{className:dt.groupHeaderLeft,style:{gap:I},children:[T.icon&&c.jsx("span",{className:dt.groupIcon,style:{color:L,width:C,height:C},children:T.icon}),c.jsx("span",{children:T.label})]}),c.jsx("span",{className:[dt.chevron,V?dt.chevronOpen:""].join(" "),style:{color:w},children:c.jsx($1,{width:18,height:18})})]}),V&&c.jsx("div",{className:dt.dropdown,style:A,children:T.items.map(B=>{const R=B.id===t,D={padding:x,gap:I,color:R?v:m,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?f:M};return c.jsxs("div",{className:dt.item,style:D,onClick:()=>{n?.(T.id,B.id),q("")},role:"menuitem",onMouseEnter:W=>{R||(W.currentTarget.style.backgroundColor=y)},children:[B.icon&&c.jsx("span",{className:dt.itemIcon,style:{color:R?g:_,width:C,height:C},children:B.icon}),c.jsx("span",{children:B.label})]},B.id)})})]},T.id)})})},w8e="_subheaderContent_1glo8_1",C8e="_navContainer_1glo8_11",N8e="_rightContent_1glo8_45",$b={subheaderContent:w8e,navContainer:C8e,rightContent:N8e},S8e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:o,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:l="24px",actionsGap:h="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:m="#00aec7",inactiveItemColor:v="#5c6975",indicatorHeight:f="3px",showDraggable:M=!1,showLegend:_=!1,showData:g=!1,className:L="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:x,countPadding:I,countFontSize:S,countFontWeight:j,navContainerClassName:q,navContainerStyle:$,rightContentClassName:P,rightContentStyle:T,rightActions:V,activeSwitcherColor:N,inactiveSwitcherColor:A,isMobile:B=!1,onNavigate:R})=>{const{activeSubNav:D,setActiveSubNav:W,navCounts:K,activeNav:ee}=rt();if(B){const X=e.find(ye=>ye.id===D)||e[0],xe=[{id:"current-group",label:X?.label||ee?.toUpperCase()||"MENU",icon:X?.icon,items:e.map(ye=>({id:ye.id,label:ye.label,icon:ye.icon}))}];return c.jsx("div",{className:L,style:w,children:c.jsx(Gq,{groups:xe,activeItemId:D,onItemClick:(ye,Se)=>{const ie=e.find(F=>F.id===Se);ie&&(ie.onClick&&ie.onClick(),ie.href&&(R?R(ie.href):ie.onNavigate?ie.onNavigate(ie.href):window.location.href=ie.href),W(Se))},headerBgColor:t})})}return c.jsxs("div",{className:`${$b.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...w},children:[c.jsx("div",{className:`${$b.navContainer} ${q||""}`,style:{gap:l,...$},children:e.map(X=>{const xe=X.count!==void 0?X.count:K[X.id],ye=D===X.id||X.isActive;return c.jsx(Wq,{...X,onNavigate:R||X.onNavigate,count:xe,isActive:ye,onClick:()=>{X.onClick&&X.onClick(),W(X.id)},activeColor:m,inactiveColor:v,countBackgroundColor:C,countColor:b,countBorderRadius:x,countPadding:I,countFontSize:S,countFontWeight:j,indicatorColor:m,indicatorHeight:f,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:X.style},X.id)})}),c.jsxs("div",{className:`${$b.rightContent} ${P||""}`,style:{gap:h,...T},children:[M&&c.jsx(eL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(tL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),g&&c.jsx(aL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),V]})]})},j8e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:o="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=hL(),m=p!="dark",v=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:v,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:m?c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("circle",{cx:"12",cy:"12",r:"5"}),c.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),c.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),c.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),c.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),c.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),c.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),c.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),c.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},$8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[o,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";o.sortBy===s&&(d=o.sortOrder==="asc"?"desc":"asc");const l={...o,sortBy:s,sortOrder:d};i(l),n(s,d)},[o,n]);return{tableState:o,handleSort:r}},q8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),A8e=k.memo(q8e),z8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),V8e=k.memo(z8e),P8e=({columns:e,sortBy:t,sortOrder:n,onSort:o,removeLabelSpan:i=!1})=>c.jsx("thead",{children:c.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return c.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&o(String(r.key)),title:Y(r.a11yConfig,r.titleKey),children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(V8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(A8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),T8e=({data:e,columns:t,rowKey:n,onRowClick:o,isLoading:i,text:r,rowStyle:s,rowClassName:d})=>!e.length&&!i?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:c.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):c.jsx("tbody",{children:e.map((l,h)=>{const u=l[n],p=typeof u=="string"||typeof u=="number"?u:h;return c.jsx("tr",{onClick:()=>o&&o(l),style:{cursor:o?"pointer":"default",...s?s(l):{}},className:d?d(l,h):"",children:t.map((y,m)=>c.jsx("td",{style:{width:y.width,textAlign:y.align||"left"},className:y.className,children:y.render?y.render(l):l[y.key]},`${String(y.key)}-${m}`))},p)})}),H8e=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:o,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:l,total:h}=e,u=l===-1?h:l,p=Math.ceil(h/u)||1,y=Math.min(Math.max(1,d),p),m=h===0?0:(y-1)*u+1,v=Math.min(y*u,h),f=_=>{t({page:_})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,j)=>j+1);const L=Math.max(y-1,1),w=Math.min(y+1,p),C=L>2,b=w<p-2,x=1,I=p;if(!C&&b)return[...Array.from({length:5},(q,$)=>$+1),"...",p];if(C&&!b){const j=Array.from({length:5},(q,$)=>p-5+$+1);return[x,"...",...j]}if(C&&b){const S=Array.from({length:w-L+1},(j,q)=>L+q);return[x,"...",...S,"...",I]}return[]},[y,p]);return c.jsxs("div",{className:"table-pagination",children:[c.jsx("div",{className:"pagination-summary",children:h>0?c.jsx("span",{children:r?.itemsRange?r.itemsRange(m,v,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[m,"–",v]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>f(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>f(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((_,g)=>_==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},g):c.jsx("button",{className:`pagination-btn ${_===y?"active":""}`,onClick:()=>f(_),children:_},g)),c.jsx("button",{className:"pagination-btn",onClick:()=>f(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),c.jsx("button",{className:"pagination-btn",onClick:()=>f(p),disabled:y===p,title:r?.last||"Dernier",children:">>"})]}),!o&&n&&i&&c.jsx("div",{className:"pagination-load-more",children:c.jsx("button",{className:"btn-load-more",onClick:n,disabled:s,style:{padding:"8px 16px",backgroundColor:"white",border:"1px solid #ddd",borderRadius:"6px",cursor:s?"wait":"pointer",color:"#555",fontWeight:600},children:s?r?.loading||"Chargement...":r?.loadMore||"Charger plus"})})]})},Zq=({data:e,columns:t,isLoading:n,pagination:o,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:l=!0,height:h,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:m,hasMore:v,tableState:f,className:M,style:_,rowStyle:g,onRowClick:L,rowClassName:w,titleKey:C,removeLabelSpan:b=!1,a11yConfig:x})=>{const I=k.useMemo(()=>({...p}),[p]),S=k.useRef(null);k.useEffect(()=>{if(!m||!y||!v||n)return;const V=new IntersectionObserver(N=>{N[0].isIntersecting&&y()},{threshold:.1});return S.current&&V.observe(S.current),()=>V.disconnect()},[m,y,v,n]);const{tableState:j,handleSort:q}=$8e({initialSortBy:null,onSortChange:r}),$=(f?.sortBy!==void 0?f.sortBy:j.sortBy)??void 0,P=f?.sortOrder!==void 0?f.sortOrder:j.sortOrder,T=V=>{const N=$,A=P;let B="asc";N===V&&(B=A==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(V,B):q(V)};return c.jsxs("div",{className:`table-container ${M||""}`,style:_,title:Y(x,C),children:[c.jsxs("div",{className:"table-frame",style:{height:h??void 0,minHeight:u??void 0},children:[n&&c.jsx("div",{className:"table-loader-overlay",children:c.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),c.jsxs("div",{className:`table-wrapper ${l?"sticky-header":""}`,children:[c.jsxs("table",{className:"data-table",children:[c.jsx(P8e,{columns:t,sortBy:$,sortOrder:P,onSort:T,removeLabelSpan:b}),c.jsx(T8e,{data:e,columns:t.map(V=>({...V,render:V.render?N=>V.render(N,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:I,rowStyle:typeof g=="function"?g:g?()=>g:void 0,rowClassName:w})]}),m&&c.jsx("div",{ref:S,style:{height:20,margin:10}})]})]}),c.jsx(H8e,{state:o,onPaginationChange:i,text:I,onLoadMore:y,infiniteScroll:m,hasMore:v,isLoading:n})]})},D8e="_datePickerContainer_1941b_3",B8e="_label_1941b_16",R8e="_displayNode_1941b_23",F8e="_datePickerButton_1941b_30",E8e="_datePickerButtonDisabled_1941b_50",O8e="_datePickerButtonOpen_1941b_59",U8e="_datePickerLabel_1941b_68",W8e="_placeholder_1941b_79",G8e="_chevron_1941b_83",Z8e="_errorMessage_1941b_91",K8e="_dropdown_1941b_96",X8e="_calendarHeader_1941b_120",Y8e="_navButton_1941b_129",J8e="_headerSelectors_1941b_148",Q8e="_monthSelector_1941b_156",efe="_yearSelector_1941b_157",tfe="_selectorButton_1941b_161",afe="_selectorChevron_1941b_178",nfe="_selectorChevronOpen_1941b_183",ofe="_monthDropdown_1941b_187",cfe="_yearDropdown_1941b_188",ife="_monthItem_1941b_208",rfe="_yearItem_1941b_209",sfe="_monthItemSelected_1941b_231",dfe="_yearItemSelected_1941b_232",lfe="_weekdays_1941b_236",hfe="_weekday_1941b_236",ufe="_calendarGrid_1941b_252",pfe="_dateCell_1941b_260",yfe="_dateCellSelected_1941b_283",kfe="_dateCellOtherMonth_1941b_287",mfe="_dateCellOtherMonthSelected_1941b_291",ffe="_calendarFooter_1941b_295",gfe="_cancelButton_1941b_303",vfe="_applyButton_1941b_304",Mfe="_timePickerContainer_1941b_348",_fe="_timeGroup_1941b_357",xfe="_timeLabel_1941b_364",Lfe="_timeInputWrapper_1941b_370",Ife="_timeInput_1941b_370",bfe="_timeSeparator_1941b_398",E={datePickerContainer:D8e,label:B8e,displayNode:R8e,datePickerButton:F8e,datePickerButtonDisabled:E8e,datePickerButtonOpen:O8e,datePickerLabel:U8e,placeholder:W8e,chevron:G8e,errorMessage:Z8e,dropdown:K8e,calendarHeader:X8e,navButton:Y8e,headerSelectors:J8e,monthSelector:Q8e,yearSelector:efe,selectorButton:tfe,selectorChevron:afe,selectorChevronOpen:nfe,monthDropdown:ofe,yearDropdown:cfe,monthItem:ife,yearItem:rfe,monthItemSelected:sfe,yearItemSelected:dfe,weekdays:lfe,weekday:hfe,calendarGrid:ufe,dateCell:pfe,dateCellSelected:yfe,dateCellOtherMonth:kfe,dateCellOtherMonthSelected:mfe,calendarFooter:ffe,cancelButton:gfe,applyButton:vfe,timePickerContainer:Mfe,timeGroup:_fe,timeLabel:xfe,timeInputWrapper:Lfe,timeInput:Ife,timeSeparator:bfe},rj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],wfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],iw=({value:e,onChange:t,label:n,placeholder:o="Sélectionner une date...",className:i="",fullWidth:r=!0,disabled:s=!1,error:d,buttonHeight:l="2.75rem",buttonPadding:h="0.75rem 1rem 0.75rem 1rem",dropdownMaxHeight:u="auto",fontSize:p="0.875rem",iconSize:y="1.5rem",labelMarginBottom:m="0.5rem",errorMarginTop:v="0.25rem",dropdownMarginTop:f="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:_="400",buttonBgColor:g,buttonBorderColor:L,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:x,iconColor:I,errorColor:S,labelColor:j,placeholderColor:q,borderRadius:$="var(--radius-content)",borderWidth:P="0.0625rem",boxShadow:T="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:V="0.2s",transitionTiming:N="ease",dateCellSize:A="2.5rem",headerTextColor:B="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:D="#212529",otherMonthDateColor:W="#adb5bd",selectedDateBgColor:K="#00A6D9",selectedDateTextColor:ee="#ffffff",cancelButtonBgColor:X="#e9ecef",cancelButtonTextColor:xe="#212529",applyButtonBgColor:ye="#00A6D9",applyButtonTextColor:Se="#ffffff",width:ie,displayNode:F=void 0,displayMode:J="auto",displayNodeAriaLabel:ce,dropdownPosition:ae="bottom",dropdownAlignment:pe="right",dropdownWidth:_e,withBorder:fe=!1,icon:je,precision:Ce="day",hoursLabel:le="Heures",minutesLabel:Le="Minutes",lowerLimit:ft=null,upperLimit:a1=null,months:$c,weekdays:te,cancelText:qc="Annuler",applyText:ke="Appliquer",prevMonthAriaLabel:zt="Mois précédent",nextMonthAriaLabel:Jq="Mois suivant",calendarAriaLabel:Qq="Sélecteur de date",openedAriaLabel:eA="Ouvrir le sélecteur de date",selectedDateAriaLabel:tA="Date sélectionnée: ",locale:Zw="fr-FR"})=>{const Vt=H=>{if(H instanceof Date)return isNaN(H.getTime())?null:H;if(typeof H=="string"&&H){const G=new Date(H);return isNaN(G.getTime())?null:G}return null},[Je,Pt]=k.useState(!1),[Ac,aA]=k.useState({top:0,left:0,width:0}),[ne,n1]=k.useState(Vt(e)||new Date),[IL,bL]=k.useState(Vt(e)),[wL,CL]=k.useState(Vt(e)?.getHours()??0),[NL,SL]=k.useState(Vt(e)?.getMinutes()??0),[jL,zc]=k.useState(!1),[$L,Vc]=k.useState(!1),qL=k.useRef(null),E1=k.useRef(null),AL=k.useRef(null),zL=k.useRef(null);k.useEffect(()=>{const H=Vt(e);bL(H),H&&(n1(H),CL(H.getHours()),SL(H.getMinutes()))},[e]);const Pc=k.useCallback(()=>{if(E1.current){const H=E1.current.getBoundingClientRect();aA({top:H.top,left:H.left,width:H.width})}},[]);k.useEffect(()=>(Je&&(Pc(),window.addEventListener("scroll",Pc,!0),window.addEventListener("resize",Pc)),()=>{window.removeEventListener("scroll",Pc,!0),window.removeEventListener("resize",Pc)}),[Je,Pc]),k.useEffect(()=>{const H=G=>{if(qL.current&&!qL.current.contains(G.target)){const ve=document.getElementById("datepicker-dropdown");if(ve&&ve.contains(G.target))return;Pt(!1),zc(!1),Vc(!1)}AL.current&&!AL.current.contains(G.target)&&zc(!1),zL.current&&!zL.current.contains(G.target)&&Vc(!1)};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const Kw=H=>new Date(H.getFullYear(),H.getMonth()+1,0).getDate(),nA=H=>{const G=new Date(H.getFullYear(),H.getMonth(),1).getDay();return G===0?6:G-1},oA=()=>{const H=[],G=nA(ne),ve=Kw(ne),O1=new Date(ne.getFullYear(),ne.getMonth()-1,1),gt=Kw(O1);for(let We=G-1;We>=0;We--)H.push(new Date(ne.getFullYear(),ne.getMonth()-1,gt-We));for(let We=1;We<=ve;We++)H.push(new Date(ne.getFullYear(),ne.getMonth(),We));const o1=42-H.length;for(let We=1;We<=o1;We++)H.push(new Date(ne.getFullYear(),ne.getMonth()+1,We));return H},cA=(H,G)=>!H||!G?!1:H.getDate()===G.getDate()&&H.getMonth()===G.getMonth()&&H.getFullYear()===G.getFullYear(),iA=H=>H.getMonth()===ne.getMonth()&&H.getFullYear()===ne.getFullYear(),rA=()=>{n1(new Date(ne.getFullYear(),ne.getMonth()-1,1))},sA=()=>{n1(new Date(ne.getFullYear(),ne.getMonth()+1,1))},dA=H=>{if(!s){const G=new Date(H);G.setHours(wL),G.setMinutes(NL),bL(G)}},lA=()=>{if(!s){if(IL){const H=new Date(IL);H.setHours(wL),H.setMinutes(NL),t(H)}else t(null);Pt(!1)}},hA=()=>{const H=Vt(e);bL(H),H&&(CL(H.getHours()),SL(H.getMinutes())),Pt(!1)},uA=H=>{n1(new Date(ne.getFullYear(),H,1)),zc(!1)},pA=H=>{n1(new Date(H,ne.getMonth(),1)),Vc(!1)},yA=()=>{const H=ne.getFullYear(),G=[];for(let ve=H-10;ve<=H+10;ve++)G.push(ve);return G},kA=H=>{if(!s)switch(H.key){case"Enter":case" ":H.preventDefault(),Pt(!Je);break;case"Escape":Pt(!1),zc(!1),Vc(!1);break;case"Tab":Je&&(Pt(!1),zc(!1),Vc(!1));break}},mA={width:ie||(r?"100%":"auto"),fontSize:p,fontWeight:_},fA={height:l,padding:h,backgroundColor:g||"#ffffff",border:fe?void 0:"none",borderColor:d?S||"#dc3545":L||"#dee2e6",color:w||"#212529",borderRadius:$,borderWidth:P,fontWeight:_,transition:`all ${V} ${N}`},gA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:$,borderWidth:P,boxShadow:T,transition:`opacity ${V} ${N}, transform ${V} ${N}`,position:"fixed",top:ae==="bottom"?Ac.top+(E1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:ae==="top"?window.innerHeight-Ac.top+parseFloat(f.replace("rem",""))*16:"auto",left:pe==="left"?Ac.left:"auto",right:pe==="right"?window.innerWidth-(Ac.left+Ac.width):"auto",width:_e||(r?Ac.width:"auto"),zIndex:10001},Xw={width:y,height:y,color:I||"#6c757d","--icon-rotation":Je?"rotate(180deg)":"rotate(0deg)"},vA={color:j||"#212529",marginBottom:m,fontWeight:_},MA={color:q||"#6c757d"},_A={color:S||"#dc3545",marginTop:v},xA=oA(),Qe=Vt(e),Yw=Qe?Ce==="minutes"?`${Qe.toLocaleDateString(Zw)} ${Qe.getHours().toString().padStart(2,"0")}:${Qe.getMinutes().toString().padStart(2,"0")}`:Qe.toLocaleDateString(Zw):"",LA=!!F&&(J==="icon"||J==="auto"&&!Qe),IA=ce||(Qe?`${tA}${Yw}`:eA);return c.jsxs("div",{className:`${E.datePickerContainer} ${i}`,ref:qL,style:mA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:E.label,style:vA,children:n}),c.jsxs("button",{ref:E1,type:"button",onClick:()=>!s&&Pt(!Je),onKeyDown:kA,className:`
|
|
8170
8170
|
${E.datePickerButton}
|
|
8171
8171
|
${Je?E.datePickerButtonOpen:""}
|
|
8172
8172
|
${s?E.datePickerButtonDisabled:""}
|
|
8173
|
-
`,style:fA,disabled:s,"aria-expanded":Je,"aria-haspopup":"dialog","aria-label":IA,"aria-labelledby":n?`${n}-label`:void 0,children:[LA?c.jsx("span",{className:E.displayNode,"aria-hidden":!0,children:F}):c.jsx("span",{className:`${E.datePickerLabel} ${Qe?"":E.placeholder}`,style:Qe?void 0:MA,children:Qe?Yw:o}),je?c.jsx("span",{className:E.chevron,style:Xw,children:je}):c.jsx($1,{fill:"var(--color-text)",className:`${E.chevron} ${Je?E.chevronOpen:""}`,style:Xw})]}),d&&c.jsx("div",{className:E.errorMessage,style:_A,children:d}),Je&&!s&&rw.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:E.dropdown,style:gA,role:"dialog","aria-label":Qq,children:[c.jsxs("div",{className:E.calendarHeader,children:[c.jsx("button",{type:"button",className:E.navButton,onClick:rA,"aria-label":zt,children:"‹"}),c.jsxs("div",{className:E.headerSelectors,children:[c.jsxs("div",{className:E.monthSelector,ref:AL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>zc(!jL),style:{color:B,"--hover-color":b},children:[($c||rj)[
|
|
8173
|
+
`,style:fA,disabled:s,"aria-expanded":Je,"aria-haspopup":"dialog","aria-label":IA,"aria-labelledby":n?`${n}-label`:void 0,children:[LA?c.jsx("span",{className:E.displayNode,"aria-hidden":!0,children:F}):c.jsx("span",{className:`${E.datePickerLabel} ${Qe?"":E.placeholder}`,style:Qe?void 0:MA,children:Qe?Yw:o}),je?c.jsx("span",{className:E.chevron,style:Xw,children:je}):c.jsx($1,{fill:"var(--color-text)",className:`${E.chevron} ${Je?E.chevronOpen:""}`,style:Xw})]}),d&&c.jsx("div",{className:E.errorMessage,style:_A,children:d}),Je&&!s&&rw.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:E.dropdown,style:gA,role:"dialog","aria-label":Qq,children:[c.jsxs("div",{className:E.calendarHeader,children:[c.jsx("button",{type:"button",className:E.navButton,onClick:rA,"aria-label":zt,children:"‹"}),c.jsxs("div",{className:E.headerSelectors,children:[c.jsxs("div",{className:E.monthSelector,ref:AL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>zc(!jL),style:{color:B,"--hover-color":b},children:[($c||rj)[ne.getMonth()],c.jsx($1,{fill:"var(--color-text)",className:`${E.selectorChevron} ${jL?E.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),jL&&c.jsx("div",{className:E.monthDropdown,children:($c||rj).map((H,G)=>c.jsx("button",{type:"button",className:`${E.monthItem} ${ne.getMonth()===G?E.monthItemSelected:""}`,onClick:()=>uA(G),style:{padding:M,backgroundColor:ne.getMonth()===G?x||"#e7f1ff":C},onMouseEnter:ve=>{b&&ne.getMonth()!==G&&(ve.currentTarget.style.backgroundColor=b)},onMouseLeave:ve=>{b&&(ve.currentTarget.style.backgroundColor=ne.getMonth()===G?x||"#e7f1ff":C)},children:H},G))})]}),c.jsxs("div",{className:E.yearSelector,ref:zL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>Vc(!$L),style:{color:B,"--hover-color":b},children:[ne.getFullYear(),c.jsx($1,{fill:"var(--color-text)",className:`${E.selectorChevron} ${$L?E.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),$L&&c.jsx("div",{className:E.yearDropdown,children:yA().map(H=>c.jsx("button",{type:"button",className:`${E.yearItem} ${ne.getFullYear()===H?E.yearItemSelected:""}`,onClick:()=>pA(H),style:{padding:M,backgroundColor:ne.getFullYear()===H?x||"#e7f1ff":C},onMouseEnter:G=>{b&&ne.getFullYear()!==H&&(G.currentTarget.style.backgroundColor=b)},onMouseLeave:G=>{b&&(G.currentTarget.style.backgroundColor=ne.getFullYear()===H?x||"#e7f1ff":C)},children:H},H))})]})]}),c.jsx("button",{type:"button",className:E.navButton,onClick:sA,"aria-label":Jq,children:"›"})]}),c.jsx("div",{className:E.weekdays,children:(te||wfe).map(H=>c.jsx("div",{className:E.weekday,style:{color:R},children:H},H))}),c.jsx("div",{className:E.calendarGrid,children:xA.map((H,G)=>{if(!H)return null;const ve=cA(H,IL),O1=iA(H),gt=!!(ft&&H<ft||a1&&H>a1);return c.jsx("button",{type:"button",className:`${E.dateCell} ${ve?E.dateCellSelected:""} ${ve?E.dateCellOtherMonthSelected:""} ${O1?"":E.dateCellOtherMonth} ${gt?E.dateCellDisabled:""}`,onClick:()=>!gt&&dA(H),disabled:gt,style:{width:A,height:A,color:ve?ee:O1?D:W,backgroundColor:ve?K:"transparent",opacity:gt?.4:1,cursor:gt?"not-allowed":"pointer"},onMouseEnter:o1=>{!ve&&!gt&&b&&(o1.currentTarget.style.backgroundColor=b)},onMouseLeave:o1=>{ve||(o1.currentTarget.style.backgroundColor="transparent")},children:H.getDate()},G)})}),Ce==="minutes"&&c.jsxs("div",{className:E.timePickerContainer,children:[c.jsxs("div",{className:E.timeGroup,children:[c.jsx("span",{className:E.timeLabel,children:le}),c.jsx("div",{className:E.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"23",value:wL,onChange:H=>{const G=parseInt(H.target.value);!isNaN(G)&&G>=0&&G<=23&&CL(G)},className:E.timeInput})})]}),c.jsx("span",{className:E.timeSeparator,children:":"}),c.jsxs("div",{className:E.timeGroup,children:[c.jsx("span",{className:E.timeLabel,children:Le}),c.jsx("div",{className:E.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"59",value:NL,onChange:H=>{const G=parseInt(H.target.value);!isNaN(G)&&G>=0&&G<=59&&SL(G)},className:E.timeInput})})]})]}),c.jsxs("div",{className:E.calendarFooter,children:[c.jsx("button",{type:"button",className:E.cancelButton,onClick:hA,style:{backgroundColor:X,color:xe,borderRadius:$,padding:M},children:qc}),c.jsx("button",{type:"button",className:E.applyButton,onClick:lA,style:{backgroundColor:ye,color:Se,borderRadius:$,padding:M},children:ke})]})]}),document.body)]})},Cfe="_selectContainer_1ptm9_1",Nfe="_label_1ptm9_15",Sfe="_selectButton_1ptm9_23",jfe="_selectButtonDisabled_1ptm9_43",$fe="_selectButtonOpen_1ptm9_48",qfe="_selectButtonContent_1ptm9_58",Afe="_selectIcon_1ptm9_66",zfe="_selectLabel_1ptm9_72",Vfe="_placeholder_1ptm9_79",Pfe="_chevron_1ptm9_84",Tfe="_errorMessage_1ptm9_93",Hfe="_dropdown_1ptm9_99",Dfe="_dropdownContent_1ptm9_123",Bfe="_item_1ptm9_129",Rfe="_itemSelected_1ptm9_151",Ffe="_itemContent_1ptm9_155",Efe="_itemIcon_1ptm9_162",Ofe="_itemLabel_1ptm9_168",Me={selectContainer:Cfe,label:Nfe,selectButton:Sfe,selectButtonDisabled:jfe,selectButtonOpen:$fe,selectButtonContent:qfe,selectIcon:Afe,selectLabel:zfe,placeholder:Vfe,chevron:Pfe,errorMessage:Tfe,dropdown:Hfe,dropdownContent:Dfe,item:Bfe,itemSelected:Rfe,itemContent:Ffe,itemIcon:Efe,itemLabel:Ofe},Kq=({items:e,value:t,onChange:n,label:o,placeholder:i="Sélectionner...",className:r="",fullWidth:s=!0,disabled:d=!1,error:l,buttonHeight:h="var(--select-button-height, 2.75rem)",buttonPadding:u="var(--select-button-padding, 0.75rem)",dropdownMaxHeight:p="var(--select-dropdown-max-height, 15rem)",fontSize:y="var(--select-font-size, 0.875rem)",iconSize:m="var(--select-icon-size, 1.5rem)",labelMarginBottom:v="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:f="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:M="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:_="var(--select-item-padding, 0.5rem 0.75rem)",gap:g="var(--select-gap, 0.5rem)",buttonBgColor:L,buttonBorderColor:w,buttonTextColor:C,dropdownBgColor:b,itemHoverColor:x,selectedItemBgColor:I,iconColor:S,errorColor:j,labelColor:q,placeholderColor:$,border:P,borderRadius:T="var(--select-border-radius, 0.5rem)",borderWidth:V="var(--select-border-width, 0.0625rem)",boxShadow:N="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:A="var(--select-transition-duration, 0.2s)",transitionTiming:B="var(--select-transition-timing, ease)",scrollbarWidth:R="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:D="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:W="var(--select-scrollbar-thumb-color, #c1c1c1)",width:K,minWidth:ee,dropdownPosition:X="bottom",dropdownAlignment:xe="right",dropdownWidth:ye,a11yConfig:Se,titleKey:ie})=>{const[F,J]=k.useState(!1),ce=k.useRef(null),ae=e.find(ke=>ke.value===t);k.useEffect(()=>{const ke=zt=>{ce.current&&!ce.current.contains(zt.target)&&J(!1)};return document.addEventListener("mousedown",ke),()=>document.removeEventListener("mousedown",ke)},[]);const pe=ke=>{d||(n(ke),J(!1))},_e=ke=>{if(!d)switch(ke.key){case"Enter":case" ":ke.preventDefault(),J(!F);break;case"Escape":J(!1);break;case"Tab":F&&J(!1);break}},fe={width:K||(s?"100%":"auto"),minWidth:ee,fontSize:y},je={height:h,padding:u,backgroundColor:L||"var(--select-button-bg-color, #ffffff)",border:P,borderColor:l?j||"var(--select-error-color, #dc3545)":w||"var(--select-button-border-color, #dee2e6)",color:C||"var(--select-button-text-color, #212529)",borderRadius:T,borderWidth:V,transition:`all ${A} ${B}`},Ce={backgroundColor:b||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:T,borderWidth:V,boxShadow:N,transition:`opacity ${A} ${B}, transform ${A} ${B}`,position:"absolute",top:X==="bottom"?"100%":"auto",bottom:X==="top"?"100%":"auto",left:xe==="left"?0:"auto",right:xe==="right"?0:"auto",width:ye||(s?"100%":"auto"),marginTop:X==="bottom"?M:0,marginBottom:X==="top"?M:0,zIndex:1001},le={width:m,height:m,color:S||"var(--select-icon-color, #6c757d)","--icon-rotation":F?"rotate(180deg)":"rotate(0deg)"},Le={color:q||"var(--select-label-color, #212529)",marginBottom:v},ft={color:$||"var(--select-placeholder-color, #6c757d)"},a1={color:j||"var(--select-error-color, #dc3545)",marginTop:f},$c={padding:_,transition:`background-color ${A} ${B}`},te={gap:g},qc={"--scrollbar-width":R,"--scrollbar-track-color":D,"--scrollbar-thumb-color":W};return c.jsxs("div",{className:`${Me.selectContainer} ${r}`,ref:ce,style:fe,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:Y(Se,ie),children:[o&&c.jsx("label",{className:Me.label,style:Le,children:o}),c.jsxs("button",{type:"button",onClick:()=>!d&&J(!F),onKeyDown:_e,className:`
|
|
8174
8174
|
${Me.selectButton}
|
|
8175
8175
|
${F?Me.selectButtonOpen:""}
|
|
8176
8176
|
${d?Me.selectButtonDisabled:""}
|
|
8177
|
-
`,style:je,disabled:d,"aria-expanded":F,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:Me.selectButtonContent,style:
|
|
8177
|
+
`,style:je,disabled:d,"aria-expanded":F,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:Me.selectButtonContent,style:te,children:[ae?.icon&&c.jsx("span",{className:Me.selectIcon,style:le,children:ae.icon}),c.jsx("span",{className:`${Me.selectLabel} ${ae?"":Me.placeholder}`,style:ae?void 0:ft,children:ae?ae.label:i})]}),c.jsx($1,{fill:"var(--color-text)",className:`${Me.chevron} ${F?Me.chevronOpen:""}`,style:le})]}),l&&c.jsx("div",{className:Me.errorMessage,style:a1,children:l}),F&&!d&&c.jsx("div",{className:Me.dropdown,style:Ce,role:"listbox","aria-label":o||"Options de sélection",children:c.jsx("div",{className:Me.dropdownContent,style:qc,children:e.map(ke=>c.jsx("button",{type:"button",onClick:()=>pe(ke.value),className:`
|
|
8178
8178
|
${Me.item}
|
|
8179
8179
|
${t===ke.value?Me.itemSelected:""}
|
|
8180
|
-
`,style:{...$c,backgroundColor:t===ke.value?I||"#F0F4F6":"transparent"},onMouseEnter:zt=>{x&&(zt.currentTarget.style.backgroundColor=x)},onMouseLeave:zt=>{x&&(zt.currentTarget.style.backgroundColor=t===ke.value?I||"#F0F4F6":"transparent")},role:"option","aria-selected":t===ke.value,children:c.jsxs("div",{className:Me.itemContent,style:ee,children:[ke.icon&&c.jsx("span",{className:Me.itemIcon,style:de,children:ke.icon}),c.jsx("span",{className:Me.itemLabel,children:ke.label})]})},ke.value))})})]})},Ufe="_filterBar_1hlqe_3",Wfe="_label_1hlqe_11",sj={filterBar:Ufe,label:Wfe},Gfe=({label:e="Filtres",startDate:t,endDate:n,granularity:o,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:l="Date début",endDatePlaceholder:h="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:m="0.75rem",labelFontSize:v="0.875rem",labelFontWeight:f="400",labelColor:M="#212529",labelMarginRight:_="1rem",startDateWidth:g,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:x,extraContent:I})=>{const S={fontSize:v,fontWeight:f,color:M,marginRight:_},j={gap:m};return c.jsxs("div",{className:`${sj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:sj.label,style:S,children:e}),c.jsx(iw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:g,...C}),c.jsx(iw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),c.jsx(Kq,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),I,x&&c.jsx("div",{style:{marginLeft:"auto"},children:x})]})},Zfe="_container_1x6mq_16",Kfe="_disabled_1x6mq_26",Xfe="_predStyle_1x6mq_32",Yfe="_realStyle_1x6mq_36",Jfe="_predGap_1x6mq_40",Qfe="_realGap_1x6mq_44",e7e="_big_1x6mq_49",t7e="_medium_1x6mq_53",a7e="_iconWrapper_1x6mq_58",n7e="_predRelative_1x6mq_68",o7e="_realRelative_1x6mq_72",c7e="_iconImg_1x6mq_76",i7e="_content_1x6mq_84",r7e="_header_1x6mq_93",s7e="_predJustify_1x6mq_99",d7e="_realJustify_1x6mq_103",l7e="_predHeaderLineHeight_1x6mq_116",h7e="_realHeaderLineHeight_1x6mq_120",u7e="_title_1x6mq_129",p7e="_titleBlack_1x6mq_144",y7e="_titleWhite_1x6mq_148",k7e="_subtitle_1x6mq_153",m7e="_valueRowHorizontal_1x6mq_163",f7e="_valueRowVertical_1x6mq_171",g7e="_singleValue_1x6mq_180",v7e="_primaryRow_1x6mq_184",M7e="_maxBadge_1x6mq_191",_7e="_valuePrimary_1x6mq_203",x7e="_valuePrimaryBlack_1x6mq_210",L7e="_valuePrimaryWhite_1x6mq_214",I7e="_valueSlash_1x6mq_219",b7e="_valueSecondary_1x6mq_226",w7e="_valueSecondaryBlue_1x6mq_232",C7e="_valueSecondaryWhite_1x6mq_236",N7e="_valueSecondaryBlack_1x6mq_240",S7e="_valueStacked_1x6mq_245",j7e="_stackedTop_1x6mq_254",$7e="_stackedBottom_1x6mq_255",ie={container:Zfe,disabled:Kfe,predStyle:Xfe,realStyle:Yfe,predGap:Jfe,realGap:Qfe,big:e7e,medium:t7e,iconWrapper:a7e,predRelative:n7e,realRelative:o7e,iconImg:c7e,content:i7e,header:r7e,predJustify:s7e,realJustify:d7e,predHeaderLineHeight:l7e,realHeaderLineHeight:h7e,title:u7e,titleBlack:p7e,titleWhite:y7e,subtitle:k7e,valueRowHorizontal:m7e,valueRowVertical:f7e,singleValue:g7e,primaryRow:v7e,maxBadge:M7e,valuePrimary:_7e,valuePrimaryBlack:x7e,valuePrimaryWhite:L7e,valueSlash:I7e,valueSecondary:b7e,valueSecondaryBlue:w7e,valueSecondaryWhite:C7e,valueSecondaryBlack:N7e,valueStacked:S7e,stackedTop:j7e,stackedBottom:$7e},q7e=({a11yConfig:e,iconName:t,title:n,subtitle:o,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:l="black",valueColor:h="blue",realValueColor:u,className:p="",style:y="",variant:m="horizontal",showMax:v=!1,titleFontSize:f,titleFontWeight:M,subtitleFontSize:_,subtitleFontWeight:g,primaryFontSize:L,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:b,backgroundColor:x="#f2f9fc",gap:I="",disabled:S=!1,positionRelative:j="",justifyContent:q="",headerLineHeight:$="",headerMinHeight:P="",contentSpace:T="",titleKey:z,subtitleKey:N,subtitleA11yKey:A,maxBadgeKey:B,maxBadgeA11yKey:R,predictionKey:H,predictionA11yKey:Z,realisedKey:W,realisedA11yKey:pe})=>{const X=i!==void 0?i:!!o,xe=`${ie.container} ${ie[d]} ${ie[y]} ${S?ie.disabled:""}`,ye=h==="white"?ie.valuePrimaryWhite:ie.valuePrimaryBlack,Se=h==="blue"?ie.valueSecondaryBlue:h==="white"?ie.valueSecondaryWhite:ie.valueSecondaryBlack,ce=ue=>ue===void 0?void 0:typeof ue=="number"?`${ue}px`:ue,F=ue=>ue===void 0?void 0:ue,J=m==="vertical",oe=s!=null&&s!==""&&s!=="-"&&s!=="—",te=J?ie.valueRowVertical:ie.valueRowHorizontal;return c.jsxs("div",{className:`${xe} ${p}`,style:{backgroundColor:x},children:[t&&c.jsx("div",{className:`${ie.iconWrapper} ${ie[j]}`,children:t}),c.jsxs("div",{className:`${ie.content} ${ie[I]} ${oe?"":ie.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[c.jsx("div",{className:`${ie.header} ${ie[q]} ${ie[$]} header-indicator-v2`,style:{minHeight:P},children:c.jsx("h6",{className:`${ie.title}`,style:{fontSize:ce(f),fontWeight:F(M),color:l},title:Y(e,z),children:n})}),X&&o?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ie.subtitle,style:{fontSize:ce(_),fontWeight:F(g)},title:Y(e,N,A),children:o})}):null,c.jsxs("div",{className:`${te} count-indicator-v2`,children:[c.jsxs("div",{className:ie.primaryRow,children:[v&&c.jsx("span",{className:`${ie.maxBadge} max-badge-indicator-v2`,title:Y(e,B,R),children:"MAX"}),c.jsx("span",{className:`${ie.valuePrimary} ${ye}`,style:{fontSize:ce(L||(!oe&&J?"1.75rem":void 0)),fontWeight:F(w),color:u||void 0},title:Y(e,W,pe),children:r})]}),oe&&c.jsxs(c.Fragment,{children:[!J&&c.jsx("span",{className:ie.valueSlash,style:{fontSize:ce(C),fontWeight:F(b)},children:"/"}),c.jsx("span",{className:`${ie.valueSecondary} ${Se}`,style:{fontSize:ce(C),fontWeight:F(b)},title:Y(e,H,Z),children:s})]})]})]})]})},A7e="_banner_f10in_2",z7e="_iep_f10in_14",V7e="_groupSmall_f10in_24",P7e="_genre_f10in_34",T7e="_gravite_f10in_42",H7e="_orientationContainer_f10in_48",D7e="_service_f10in_61",B7e="_roomBedContainer_f10in_71",R7e="_room_f10in_71",F7e="_bed_f10in_87",E7e="_bedUf_f10in_92",O7e="_statusContainer_f10in_97",U7e="_status_f10in_97",W7e="_centeredWarn_f10in_124",ze={banner:A7e,iep:z7e,groupSmall:V7e,genre:P7e,gravite:T7e,orientationContainer:H7e,service:D7e,roomBedContainer:B7e,room:R7e,bed:F7e,bedUf:E7e,statusContainer:O7e,status:U7e,centeredWarn:W7e},G7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},K.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),K.createElement("g",{mask:"url(#a)"},K.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),dj=k.memo(G7e),Z7e=({patient:e,genre:t,gravite:n,bed:o,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:l="#ffffff",primaryFontColor:h="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:m="#9ca3af",genreFontSize:v,style:f,warn:M=!1,warnMessage:_,warnColor:g="#F94134"})=>c.jsxs("div",{className:ze.banner,style:{backgroundColor:l,...f},children:[c.jsxs("div",{className:ze.iep,children:[c.jsx("div",{style:{color:u},children:e.iep??"--"}),c.jsxs("div",{style:{color:h},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),c.jsxs("div",{className:ze.groupSmall,children:[c.jsx("span",{className:`${ze.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:v},children:t??"--"}),c.jsx("span",{className:`${ze.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:ze.orientationContainer,children:c.jsx("div",{className:ze.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:ze.roomBedContainer,children:[i&&c.jsx("span",{className:ze.bedUf,children:i}),c.jsx("span",{className:ze.room,children:r??"--"}),c.jsx("span",{className:ze.bed,children:o??"--"})]}),c.jsxs("div",{className:ze.statusContainer,children:[d?c.jsx("div",{className:`${ze.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&c.jsxs("div",{className:ze.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(dj,{color:g,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:g,fontSize:"12px",fontWeight:600},children:_})]}),d&&M&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:g,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(dj,{color:g,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),K7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),X7e=k.memo(K7e),Y7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),Xq=k.memo(Y7e),J7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),Q7e=k.memo(J7e),ege="_overlay_1uxex_1",tge="_container_1uxex_11",age="_fullscreen_1uxex_24",nge="_header_1uxex_30",oge="_headerActions_1uxex_42",cge="_iconButton_1uxex_47",ige="_body_1uxex_58",rge="_sidebar_1uxex_65",sge="_content_1uxex_91",dge="_contentHeader_1uxex_98",lge="_childrenWrapper_1uxex_114",hge="_footer_1uxex_138",uge="_baseButton_1uxex_146",pge="_noOverlay_1uxex_160",yge="_contained_1uxex_168",Ie={overlay:ege,container:tge,fullscreen:age,header:nge,headerActions:oge,iconButton:cge,body:ige,sidebar:rge,content:sge,contentHeader:dge,childrenWrapper:lge,footer:hge,baseButton:uge,noOverlay:pge,contained:yge},kge=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:o="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:l,children:h,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:m=!1,hideHeader:v=!1,hideSidebar:f=!1,onDelete:M,deleteLabel:_="Supprimer",width:g="75%",maxWidth:L="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:x="1rem",overflow:I="auto",contentHeaderAction:S,contentFooterAction:j,hideFooter:q=!1,hideOverlay:$=!1,position:P,a11yConfig:T})=>{const[z,N]=k.useState(!1),A=k.useRef(null);if(k.useEffect(()=>{if(!r||!$)return;const R=H=>{(H.type==="scroll"||H.type==="wheel"||H.type==="touchmove"||A.current&&!A.current.contains(H.target))&&s()};return document.addEventListener("mousedown",R),document.addEventListener("scroll",R,!0),document.addEventListener("wheel",R,{passive:!0,capture:!0}),document.addEventListener("touchmove",R,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",R),document.removeEventListener("scroll",R,!0),document.removeEventListener("wheel",R,!0),document.removeEventListener("touchmove",R,!0)}},[r,$,s]),!r)return null;const B=(R,H=!1)=>c.jsx(Qx,{onClick:R.disabled?void 0:R.onClick,className:Ie.baseButton,disabled:R.disabled,style:{background:R.backgroundColor??(H?"#008FBB":"#ffffff"),color:R.textColor??(H?"#ffffff":"#374151"),border:R.borderColor||H?"none":void 0,cursor:R.disabled?R.cursor??"not-allowed":R.cursor??"pointer",filter:R.disabled?R.filter??"grayscale(0.5)":R.filter??"none",opacity:R.disabled?.65:1},title:Y(R.a11yConfig,R.text),children:R.text});return c.jsx("div",{className:$?Ie.noOverlay:Ie.overlay,onClick:s,children:c.jsxs("div",{ref:A,className:`${Ie.container} ${z?Ie.fullscreen:""} ${$?Ie.contained:""}`,onClick:R=>R.stopPropagation(),style:{width:z?"100%":g,maxWidth:z?"none":L,height:z?"100%":w,maxHeight:z?"100%":C,borderRadius:z?"0":b,overflow:I,...P||{}},children:[!v&&c.jsxs("header",{className:Ie.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},title:Y(T,e),children:e}),c.jsxs("div",{className:Ie.headerActions,children:[!m&&c.jsx("button",{onClick:()=>N(!z),className:Ie.iconButton,title:z?"Réduire":"Agrandir",children:z?c.jsx(Q7e,{width:22,height:22,fill:t}):c.jsx(X7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:Ie.iconButton,title:"Fermer",children:c.jsx(Xq,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:Ie.body,style:{overflow:I},children:[y&&!f&&c.jsx("aside",{className:Ie.sidebar,children:y}),c.jsxs("main",{className:Ie.content,style:{backgroundColor:p,overflow:I},children:[u&&c.jsxs("header",{className:Ie.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),S]}),c.jsx("div",{className:Ie.childrenWrapper,style:{padding:x,overflow:I},children:h})]})]}),!q&&c.jsxs("footer",{className:Ie.footer,style:{backgroundColor:n},children:[M&&c.jsx(Qx,{onClick:M,className:Ie.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,B(d),B(l,!0)]})]})})},mge="_container_1vb1c_1",fge="_searchWrapper_1vb1c_10",gge="_navItems_1vb1c_17",qb={container:mge,searchWrapper:fge,navItems:gge},vge=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:o="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>c.jsxs("div",{className:`${qb.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:qb.searchWrapper,children:c.jsx(Eq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:qb.navItems,children:e.map(p=>c.jsx(Gw,{id:p.id,label:p.label,icon:p.icon,isActive:t===p.id,onClick:()=>r?.(p.id),activeColor:n,color:i,fontWeight:"600",fontSize:"0.75rem",padding:"0.75rem 1rem",iconGap:"0.5rem"},p.id))})]}),Mge=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules",titleKey:d,addModuleTitle:l="Ajouter un module",addModuleLabel:h="Titre",addModulePlaceholder:u="Nom du module",renameModuleTitle:p="Renommer le module",renameModuleLabel:y="Titre",renameModulePlaceholder:m="Nom du module",confirmText:v="Valider",cancelText:f="Annuler",a11yConfig:M})=>{const[_,g]=k.useState(!1),[L,w]=k.useState(null),C=()=>g(!0),b=()=>g(!1),x=$=>{const P=$.title?.trim();P&&o&&o(P),b()},I=($,P)=>{$.stopPropagation(),w(P)},S=()=>w(null),j=$=>{const P=$.title?.trim();L&&P&&i&&i(L,P),S()},q=($,P)=>{$.stopPropagation(),r&&r(P)};return c.jsxs("div",{className:"module-sidebar-v2",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("div",{className:"header-title",title:Y(M,d),children:[s," (",e.length,")"]}),c.jsx(Wc,{size:18,className:"add-view-icon",onClick:C})]}),c.jsx("div",{className:"module-list",children:e.map($=>c.jsxs("div",{className:`module-item ${$.id===t?"selected":""}`,onClick:()=>n&&n($),children:[$.icon||c.jsx(_1,{size:18,className:"drag-handle"}),c.jsxs("div",{className:"module-content",title:Y($.a11yConfig,$.titleKey),children:[c.jsx("div",{className:"module-title",children:$.title}),$.subtitle&&c.jsx("div",{className:"module-subtitle",children:$.subtitle})]}),typeof $.count<"u"&&c.jsx("span",{className:"module-count",children:$.count}),c.jsxs("div",{className:"module-actions",children:[c.jsx(ht,{size:10,className:"action-icon edit",onClick:P=>I(P,$)}),c.jsx(jt,{size:10,className:"action-icon delete",onClick:P=>q(P,$)})]})]},$.id))}),c.jsx(jc,{isOpen:_,onClose:b,onSave:x,title:l,fields:[{name:"title",label:h,placeholder:u}],confirmText:v,cancelText:f}),L&&c.jsx(jc,{isOpen:!!L,onClose:S,onSave:j,title:p,initialValues:{title:L.title},fields:[{name:"title",label:y,placeholder:m}],confirmText:v,cancelText:f})]})},_ge=({keyName:e,translations:t,availableLanguages:n,onChange:o,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(e),[p,y]=k.useState(null),[m,v]=k.useState(""),[f,M]=k.useState(!1),[_,g]=k.useState(""),[L,w]=k.useState(""),C=k.useMemo(()=>{const N={};return Array.isArray(t)&&t.forEach(A=>{A&&A.language&&(N[A.language.toUpperCase()]=A.value)}),N},[t]),b=k.useMemo(()=>n,[n]),x=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},I=N=>{N.key==="Enter"?x():N.key==="Escape"&&(u(e),l(!1))},S=N=>{const A=N.toUpperCase();y(A),v(C[A]||"")},j=()=>{p&&(o(p,m),y(null),v(""))},q=N=>{N.key==="Enter"?j():N.key==="Escape"&&(y(null),v(""))},$=()=>{M(!0),b.length>0&&g(b[0].toUpperCase()),w("")},P=()=>{_&&L.trim()&&(o(_,L.trim()),M(!1),g(""),w(""))},T=()=>{M(!1),g(""),w("")},z=N=>{N.key==="Enter"?P():N.key==="Escape"&&T()};return c.jsxs("div",{className:"translation-key-v2",children:[c.jsxs("div",{className:"header",children:[d?c.jsx("input",{className:"key-name-input",value:h,onChange:N=>u(N.target.value),onBlur:x,onKeyDown:I,autoFocus:!0}):c.jsx("h3",{className:"header-title",title:Y(s,e),children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(ht,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),c.jsx(jt,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(N=>{const A=N.toUpperCase(),B=C[A]||"",R=p===A;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:A}),R?c.jsx("input",{className:"translation-input editing",value:m,onChange:H=>v(H.target.value),onBlur:j,onKeyDown:q,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${B?"":"empty"}`,onClick:()=>S(N),title:"Cliquer pour éditer",children:B||"Cliquer pour ajouter..."})]},N)}),f?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:_,onChange:N=>g(N.target.value),children:b.map(N=>c.jsx("option",{value:N.toUpperCase(),children:N.toUpperCase()},N))}),c.jsx("input",{className:"translation-input editing",value:L,onChange:N=>w(N.target.value),onKeyDown:z,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(m1,{size:18,className:"action-icon confirm",onClick:P}),c.jsx(Ke,{size:18,className:"action-icon cancel",onClick:T})]})]}):b.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Zc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},xge="_overlay_1jz4r_1",Lge="_modal_1jz4r_15",Ige="_body_1jz4r_27",bge="_footer_1jz4r_46",wge="_confirmButton_1jz4r_55",Cge="_danger_1jz4r_75",Nge="_cancelButton_1jz4r_83",Mt={overlay:xge,modal:Lge,body:Ige,footer:bge,confirmButton:wge,danger:Cge,cancelButton:Nge},Sge=({isOpen:e,message:t,onConfirm:n,onCancel:o,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h})=>e?c.jsx("div",{className:Mt.overlay,onClick:o,children:c.jsxs("div",{className:Mt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:Mt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:Mt.footer,children:[c.jsx("button",{className:`${Mt.confirmButton} ${s?Mt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:Mt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:Mt.cancelButton,onClick:o,children:r})]})]})}):null,jge="_card_1ildr_1",$ge="_topIcon_1ildr_17",qge="_title_1ildr_24",Age="_text_1ildr_31",zge="_bottomIcon_1ildr_37",d1={card:jge,topIcon:$ge,title:qge,text:Age,bottomIcon:zge},Vge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff",a11yConfig:h})=>c.jsxs("div",{className:`${d1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:Y(h,t),children:[e&&c.jsx("div",{className:d1.topIcon,children:e}),c.jsx("h3",{className:d1.title,style:{color:s},children:t}),c.jsx("p",{className:d1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:d1.bottomIcon,children:o})]}),Pge="_container_1ry38_1",Tge="_disabled_1ry38_9",Hge="_selectBox_1ry38_14",Dge="_selectBoxOpen_1ry38_36",Bge="_tagsContainer_1ry38_41",Rge="_tag_1ry38_41",Fge="_tagLabel_1ry38_66",Ege="_removeBtnContainer_1ry38_72",Oge="_removeBtn_1ry38_72",Uge="_searchInput_1ry38_97",Wge="_placeholder_1ry38_117",Gge="_actions_1ry38_124",Zge="_clearBtn_1ry38_131",Kge="_chevron_1ry38_153",Xge="_chevronOpen_1ry38_159",Yge="_dropdown_1ry38_163",Jge="_option_1ry38_177",Qge="_noOptions_1ry38_189",eve="_overflowBlock_1ry38_196",tve="_overflowEllipsis_1ry38_203",ave="_overflowBadge_1ry38_210",nve="_overflowBadgeWrap_1ry38_233",ove="_overflowDropdown_1ry38_239",cve="_overflowDropdownItem_1ry38_255",ive="_overflowDropdownItemLabel_1ry38_266",rve="_overflowDropdownItemRemove_1ry38_273",Q={container:Pge,disabled:Tge,selectBox:Hge,selectBoxOpen:Dge,tagsContainer:Bge,tag:Rge,tagLabel:Fge,removeBtnContainer:Ege,removeBtn:Oge,searchInput:Uge,placeholder:Wge,actions:Gge,clearBtn:Zge,chevron:Kge,chevronOpen:Xge,dropdown:Yge,option:Jge,noOptions:Qge,overflowBlock:eve,overflowEllipsis:tve,overflowBadge:ave,overflowBadgeWrap:nve,overflowDropdown:ove,overflowDropdownItem:cve,overflowDropdownItemLabel:ive,overflowDropdownItemRemove:rve},sve=({options:e,noOptionsMessage:t="",value:n,onChange:o,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1})=>{const[l,h]=k.useState(!1),[u,p]=k.useState(""),y=k.useRef(null),m=k.useRef(null),v=k.useRef(null),f=k.useRef(null),[M,_]=k.useState(null),[g,L]=k.useState(!1),w=k.useRef([]),C=k.useRef(null),b=k.useMemo(()=>{const N=new Map(e.map(A=>[A.value,A]));return n.map(A=>N.get(A)).filter(A=>A!==void 0)},[e,n]),x=k.useMemo(()=>e.filter(N=>!n.includes(N.value)),[e,n]),I=k.useMemo(()=>{let N=x;return u&&(N=N.filter(A=>A.label.toLowerCase().includes(u.toLowerCase()))),N},[x,u]);k.useEffect(()=>{const N=A=>{const B=A.target;y.current&&!y.current.contains(B)&&(h(!1),p(""),_(null),L(!1))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{if(b.length===0){_(null),w.current=[];return}b.length>w.current.length&&_(null);const N=()=>{const H=v.current,Z=f.current;if(!H||!Z)return;const W=Z.getBoundingClientRect().width,pe=Z.querySelector(`.${Q.actions}`),X=pe?pe.getBoundingClientRect().width:80,xe=56,ye=r?80:0,Se=16,ce=Array.from(H.querySelectorAll(`.${Q.tag}`));ce.length===b.length&&(w.current=ce.map(de=>{const Le=de.getBoundingClientRect(),ft=de.scrollWidth;return Math.max(Le.width,ft,de.offsetWidth||0)}));const F=w.current,J=F.length>0?F.reduce((de,Le)=>de+Le,0)/F.length:120,oe=b.length<=F.length?F.slice(0,b.length):[...F,...Array(b.length-F.length).fill(J)],te=4,ue=Math.max(0,W-X-ye-Se);let _e=0,fe=0;for(let de=0;de<b.length;de++){const Le=oe[de]??120;if(_e+Le+te>ue)break;_e+=Le+te,fe++}if(fe>=b.length){_(null);return}const je=Math.max(0,W-xe-X-ye-Se);_e=0;let Ce=0;for(let de=0;de<b.length;de++){const Le=oe[de]??120;if(_e+Le+te>je)break;_e+=Le+te,Ce++}Ce<b.length&&Ce>0?_(Ce):_(null)},A=requestAnimationFrame(()=>{N()}),B=setTimeout(N,100),R=new ResizeObserver(()=>{N()});return f.current&&R.observe(f.current),()=>{cancelAnimationFrame(A),clearTimeout(B),R.disconnect()}},[b,r,l]);const S=()=>{if(d)return;const N=!l;N&&L(!1),h(N),N&&r&&setTimeout(()=>m.current?.focus(),0)},j=N=>{if(n.includes(N.value))return;L(!1);const A=[...b,N];o(A),p(""),_(null),h(!1)},q=N=>{N.preventDefault(),N.stopPropagation(),L(A=>!A)},$=M!=null&&M<b.length?b.slice(M):[],P=(N,A)=>{A.stopPropagation();const B=b.filter(R=>R.value!==N);o(B)},T=N=>{N.stopPropagation(),o([])},z=N=>{N.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${Q.container} ${s} ${d?Q.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:f,className:`${Q.selectBox} ${l?Q.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:Q.tagsContainer,ref:v,children:[M!==null&&M>0?b.slice(0,M).map((N,A)=>c.jsxs("div",{className:Q.tag,children:[c.jsx("div",{className:Q.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:Q.removeBtnContainer,children:c.jsx("button",{type:"button",className:Q.removeBtn,onClick:B=>P(N.value,B),"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${N.value}-${A}`)):b.map((N,A)=>c.jsxs("div",{className:Q.tag,children:[c.jsx("div",{className:Q.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:Q.removeBtnContainer,children:c.jsx("button",{type:"button",className:Q.removeBtn,onClick:B=>P(N.value,B),"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${N.value}-${A}`)),r?c.jsx("input",{ref:m,type:"text",className:Q.searchInput,placeholder:b.length===0?i:"",value:u,onChange:N=>{p(N.target.value),l||h(!0)},onClick:z,disabled:d}):b.length===0&&c.jsx("span",{className:Q.placeholder,children:i})]}),M!==null&&M<b.length&&c.jsxs("div",{className:Q.overflowBlock,children:[c.jsx("span",{className:Q.overflowEllipsis,children:"..."}),c.jsxs("div",{className:Q.overflowBadgeWrap,children:[c.jsx("button",{ref:C,type:"button",className:Q.overflowBadge,onClick:q,"aria-label":`Afficher ${$.length} éléments cachés`,children:$.length}),g&&$.length>0&&c.jsx("div",{className:Q.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:$.map((N,A)=>c.jsxs("div",{className:Q.overflowDropdownItem,children:[c.jsx("span",{className:Q.overflowDropdownItemLabel,children:N.label}),c.jsx("button",{type:"button",className:Q.overflowDropdownItemRemove,onClick:B=>{B.stopPropagation(),P(N.value,B)},"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${N.value}-${A}`))})]})]}),c.jsxs("div",{className:Q.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:Q.clearBtn,onClick:T,"aria-label":"Effacer tout",children:c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:c.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),c.jsx("svg",{className:`${Q.chevron} ${l?Q.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&c.jsx("div",{className:Q.dropdown,role:"listbox",children:I.length>0?I.map((N,A)=>c.jsx("div",{className:Q.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${A}`)):c.jsx("div",{className:Q.noOptions,children:t})})]})},dve="_container_h7jek_1",lve={container:dve},hve=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:o=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={}})=>{const l=k.useMemo(()=>{const p=i.length===0?o:o.filter(m=>m&&i.includes(String(m.uf).replace(/^0+/,""))),y=new Set;return p.filter(m=>{if(!m||!m.uf)return!1;const v=String(m.uf).replace(/^0+/,"");return y.has(v)?!1:(y.add(v),!0)})},[o,i]),h=k.useMemo(()=>l.reduce((p,y)=>({disponibles:p.disponibles+(y.totalAvailable??y.disponibles??0),homme:p.homme+(y.availableMen??y.disponibleHomme??0),femme:p.femme+(y.availableWomen??y.disponibleFemme??0),indifferencie:p.indifferencie+(y.availableIndifferentSex??y.indifferences??0),sorties:p.sorties+(y.outToday??y.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[l]),u=p=>d.disponibles?d.disponibles:p>3?"#35994E":p>=1?"#EF6C00":"#C62828";return c.jsxs("div",{className:lve.container,children:[c.jsx(wt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:h.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:u(h.disponibles),valueFontSize:"2.5rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"white",valueColor:"white",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:h.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:h.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:h.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:h.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},uve=({message:e,icon:t,className:n,style:o,fontSize:i,fontWeight:r,color:s,backgroundColor:d="#f44336",onClick:l,a11yConfig:h,titleKey:u})=>c.jsxs("div",{className:n,onClick:l,title:Y(h,u),style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",backgroundColor:d,color:s,fontSize:i,fontWeight:r,cursor:l?"pointer":"default",...o},children:[t&&c.jsx("span",{style:{display:"flex",alignItems:"center",color:s},children:t}),c.jsx("span",{children:e})]}),pve="_container_1pt6c_1",yve="_chartContainer_1pt6c_14",kve="_legend_1pt6c_22",mve="_legendItem_1pt6c_29",fve="_leftSection_1pt6c_41",gve="_colorIndicator_1pt6c_47",vve="_label_1pt6c_54",Mve="_rightSection_1pt6c_60",_ve="_ratio_1pt6c_66",xve="_value1_1pt6c_73",Lve="_separator_1pt6c_78",Ive="_value2_1pt6c_82",bve="_statusIndicator_1pt6c_87",wve="_inactive_1pt6c_102",Ve={container:pve,chartContainer:yve,legend:kve,legendItem:mve,leftSection:fve,colorIndicator:gve,label:vve,rightSection:Mve,ratio:_ve,value1:xve,separator:Lve,value2:Ive,statusIndicator:bve,inactive:wve},lj=Math.PI/180,Cve=({data:e,height:t=400,bg:n,backgroundColor:o,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:m,separatorColor:v,borderColor:f,hideDonut:M=!0})=>{const[_,g]=k.useState(new Set(e.map(S=>S.nom))),L=S=>{const j=new Set(_);j.has(S)?j.size>1&&j.delete(S):j.add(S),g(j)},w={...p,"--bg-color":n||o||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":l||"0","--border-radius":h||"0","--label-color":y||"inherit","--ratio-color":m||"inherit","--separator-color":v||"#03a9f4","--border-color":f||"#e0e0e0"},C=k.useMemo(()=>e.map(S=>({...S,displayValue:_.has(S.nom)?S.value:0})),[e,_]),b=k.useMemo(()=>e.every(S=>S.value===0),[e]),x=k.useMemo(()=>b?1:C.reduce((S,j)=>S+j.displayValue,0)||1,[b,C]),I=k.useCallback(({cx:S,cy:j,midAngle:q,innerRadius:$,outerRadius:P,value:T})=>{if(T===0||b)return null;const z=$+(P-$)*.5,N=S+z*Math.cos(-q*lj),A=j+z*Math.sin(-q*lj),B=Math.round(T/x*100);return c.jsx(a.Text,{x:N,y:A,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${B}%`})},[x,b]);return c.jsxs("div",{className:`${Ve.container} ${u}`,style:w,children:[!M&&c.jsx("div",{className:Ve.chartContainer,style:{height:t/2+100},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:c.jsx(a.PieChart,{children:c.jsx(a.Pie,{data:b?[{displayValue:1,color:"#A3C2CB"}]:C,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:b?0:2,startAngle:90,endAngle:450,labelLine:!1,label:I,isAnimationActive:!1,children:b?c.jsx(a.Cell,{fill:"#A3C2CB"}):C.map((S,j)=>c.jsx(a.Cell,{fill:S.color},`cell-${j}`))})})})}),c.jsx("div",{className:Ve.legend,children:e.map((S,j)=>{const q=_.has(S.nom);return c.jsxs("div",{className:`${Ve.legendItem} ${!M&&!q?Ve.inactive:""}`,onClick:()=>L(S.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:Ve.leftSection,children:[c.jsx("div",{className:Ve.colorIndicator,style:{backgroundColor:S.color,opacity:M||q?1:.3}}),c.jsx("span",{className:Ve.label,style:{opacity:M||q?1:.5},children:S.nom})]}),c.jsxs("div",{className:Ve.rightSection,style:{opacity:M||q?1:.5},children:[c.jsxs("div",{className:Ve.ratio,children:[c.jsx("span",{className:Ve.value1,children:S.value1}),c.jsx("span",{className:Ve.separator,children:"/"}),c.jsx("span",{className:Ve.value2,children:S.value2})]}),S.statusColor&&c.jsx("div",{className:Ve.statusIndicator,style:{backgroundColor:S.statusColor}})]})]},`legend-${j}`)})})]})},Nve="_container_1pc4v_1",Sve="_leftGroup_1pc4v_10",jve="_iconBtn_1pc4v_16",X1={container:Nve,leftGroup:Sve,iconBtn:jve},$ve=e=>K.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},K.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),qve=k.memo($ve),Ave=e=>K.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},K.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),Yq=k.memo(Ave),zve=({menuIcon:e,logoProps:t,actionIcon:n,style:o,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:l=1,height:h="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${l}px solid ${d}`,height:h,...o};return c.jsxs("header",{className:[X1.container,i].filter(Boolean).join(" "),style:y,children:[c.jsxs("div",{className:X1.leftGroup,children:[c.jsx("button",{className:X1.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??c.jsx(qve,{width:22,height:22})}),c.jsx(lL,{...t,size:"medium"})]}),c.jsx("button",{className:X1.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??c.jsx(Yq,{width:22,height:22})})]})},Vve="_container_24g3e_1",Pve="_iconBtn_24g3e_10",Tve="_title_24g3e_22",Y1={container:Vve,iconBtn:Pve,title:Tve},Hve=({title:e="Menu",closeIcon:t,actionIcon:n,style:o,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:l="transparent",borderBottomWidth:h=0,height:u="8vh",onClose:p,onAction:y})=>{const m={backgroundColor:s,color:d,borderBottom:`${h}px solid ${l}`,height:u,...o};return c.jsxs("div",{className:[Y1.container,i].filter(Boolean).join(" "),style:m,children:[c.jsx("button",{className:Y1.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??c.jsx(Xq,{width:22,height:22})}),c.jsx("span",{className:Y1.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),c.jsx("button",{className:Y1.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??c.jsx(Yq,{width:22,height:22})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=Vge;exports.AddItemModal=jc;exports.Alert=Ww;exports.AlertMessage=uve;exports.AlertsProvider=qke;exports.BadgeList=hj;exports.BadgeRenderer=zq;exports.Button=Qx;exports.ChartContainer=jke;exports.CheckboxInput=uq;exports.CircularProgress=Ab;exports.ColorInput=fq;exports.ComponentVisibilityManager=Pb;exports.ComponentVisibilityToggle=Wme;exports.ConfirmationModal=Sge;exports.ConfirmationPopup=P3e;exports.CounterListBox=M3e;exports.CurrencyRenderer=Tq;exports.DashboardSummary=Ime;exports.DataBoard=wt;exports.DataFourBoards=Oq;exports.DateInput=kq;exports.DatePicker=iw;exports.DateRenderer=Vq;exports.DayStatCard=t2e;exports.DayStatCardV2=H6e;exports.DonutChartRatio=Cve;exports.DraggableProvider=c2e;exports.DraggableSwitcherButton=eL;exports.DynamicForm=Kye;exports.DynamicInput=gq;exports.EmailRenderer=qq;exports.Encours=Tme;exports.EntryControl=g3e;exports.FileInput=yq;exports.FilterBar=Gfe;exports.FiltreEtiquette=sve;exports.FlexRowContainer=x3e;exports.Grid=yj;exports.Header=h2e;exports.HorizontalBarChart=B6e;exports.IconText=bj;exports.ImageRenderer=Hq;exports.IndicatorItemV2=q7e;exports.InfoBanner=Z7e;exports.InputWrapper=fL;exports.LegendFilterProvider=r2e;exports.LegendFilterSwitcherButton=tL;exports.LinkRenderer=Aq;exports.ListContentContainer=L3e;exports.Logo=lL;exports.MetricsPanel=Rq;exports.MobileMenuHeader=Hve;exports.MobileNavMenu=Gq;exports.MobileTopBar=zve;exports.ModuleHeader=t3e;exports.ModuleSideBar=a3e;exports.ModuleSideBarV2=Mge;exports.NavBar=kj;exports.NavBarV2=o8e;exports.NavItem=zb;exports.NavItemV2=Gw;exports.NavProvider=a2e;exports.NumberRenderer=Pq;exports.PeriodSelect=Hke;exports.PopUp=kge;exports.RadioInput=pq;exports.RangeInput=mq;exports.ScrollableHorizontale=wj;exports.SearchBar=Eq;exports.Select=Kq;exports.SelectFilter=mme;exports.SelectInput=Fw;exports.SettingNavBar=vge;exports.ShowDataProvider=s2e;exports.ShowDataSwitcherButton=aL;exports.SideComponent=Bke;exports.SimpleListBox=v3e;exports.SubHeaderContent=S8e;exports.SubHeaderNavItem=Wq;exports.SubHeaderTitle=l8e;exports.SubNavBar=u2e;exports.SummaryAvailable=hve;exports.SummaryCard=Bq;exports.Switcher=H1;exports.TableLayout=Zq;exports.TableauDynamique=Dq;exports.TableauDynamiqueSafePagination=P5e;exports.TableauxComponent=Zq;exports.TextInput=lq;exports.TextRenderer=$q;exports.TextareaInput=hq;exports.ThemeProvider=n2e;exports.ThemeSwitcher=j8e;exports.ThemeSwitcherButton=Vb;exports.Title=Oke;exports.TranslationKey=n3e;exports.TranslationKeyV2=_ge;exports.TrendItem=Cj;exports.TrendList=rue;exports.TrendListBox=_3e;exports.UserInfo=Uq;exports.alertModels=zke;exports.getA11yTooltip=Y;exports.getFormSchema=Xye;exports.hexToRgba=Nt;exports.registerRenderer=w5e;exports.tableConfig=cw;exports.useAlerts=Ake;exports.useBodyScrollLock=Rke;exports.useConfirmationPopup=T3e;exports.useDraggableSwitcher=vj;exports.useFilters=Sq;exports.useLegendFilterSwitcher=_j;exports.useNavigation=rt;exports.useShowDataSwitcher=Lj;exports.useTableData=jq;exports.useThemeContext=fj;exports.useThemeSwitcher=hL;exports.validateField=dL;exports.validateForm=dq;
|
|
8180
|
+
`,style:{...$c,backgroundColor:t===ke.value?I||"#F0F4F6":"transparent"},onMouseEnter:zt=>{x&&(zt.currentTarget.style.backgroundColor=x)},onMouseLeave:zt=>{x&&(zt.currentTarget.style.backgroundColor=t===ke.value?I||"#F0F4F6":"transparent")},role:"option","aria-selected":t===ke.value,children:c.jsxs("div",{className:Me.itemContent,style:te,children:[ke.icon&&c.jsx("span",{className:Me.itemIcon,style:le,children:ke.icon}),c.jsx("span",{className:Me.itemLabel,children:ke.label})]})},ke.value))})})]})},Ufe="_filterBar_1hlqe_3",Wfe="_label_1hlqe_11",sj={filterBar:Ufe,label:Wfe},Gfe=({label:e="Filtres",startDate:t,endDate:n,granularity:o,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:l="Date début",endDatePlaceholder:h="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:m="0.75rem",labelFontSize:v="0.875rem",labelFontWeight:f="400",labelColor:M="#212529",labelMarginRight:_="1rem",startDateWidth:g,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:x,extraContent:I})=>{const S={fontSize:v,fontWeight:f,color:M,marginRight:_},j={gap:m};return c.jsxs("div",{className:`${sj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:sj.label,style:S,children:e}),c.jsx(iw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:g,...C}),c.jsx(iw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),c.jsx(Kq,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),I,x&&c.jsx("div",{style:{marginLeft:"auto"},children:x})]})},Zfe="_container_1x6mq_16",Kfe="_disabled_1x6mq_26",Xfe="_predStyle_1x6mq_32",Yfe="_realStyle_1x6mq_36",Jfe="_predGap_1x6mq_40",Qfe="_realGap_1x6mq_44",e7e="_big_1x6mq_49",t7e="_medium_1x6mq_53",a7e="_iconWrapper_1x6mq_58",n7e="_predRelative_1x6mq_68",o7e="_realRelative_1x6mq_72",c7e="_iconImg_1x6mq_76",i7e="_content_1x6mq_84",r7e="_header_1x6mq_93",s7e="_predJustify_1x6mq_99",d7e="_realJustify_1x6mq_103",l7e="_predHeaderLineHeight_1x6mq_116",h7e="_realHeaderLineHeight_1x6mq_120",u7e="_title_1x6mq_129",p7e="_titleBlack_1x6mq_144",y7e="_titleWhite_1x6mq_148",k7e="_subtitle_1x6mq_153",m7e="_valueRowHorizontal_1x6mq_163",f7e="_valueRowVertical_1x6mq_171",g7e="_singleValue_1x6mq_180",v7e="_primaryRow_1x6mq_184",M7e="_maxBadge_1x6mq_191",_7e="_valuePrimary_1x6mq_203",x7e="_valuePrimaryBlack_1x6mq_210",L7e="_valuePrimaryWhite_1x6mq_214",I7e="_valueSlash_1x6mq_219",b7e="_valueSecondary_1x6mq_226",w7e="_valueSecondaryBlue_1x6mq_232",C7e="_valueSecondaryWhite_1x6mq_236",N7e="_valueSecondaryBlack_1x6mq_240",S7e="_valueStacked_1x6mq_245",j7e="_stackedTop_1x6mq_254",$7e="_stackedBottom_1x6mq_255",re={container:Zfe,disabled:Kfe,predStyle:Xfe,realStyle:Yfe,predGap:Jfe,realGap:Qfe,big:e7e,medium:t7e,iconWrapper:a7e,predRelative:n7e,realRelative:o7e,iconImg:c7e,content:i7e,header:r7e,predJustify:s7e,realJustify:d7e,predHeaderLineHeight:l7e,realHeaderLineHeight:h7e,title:u7e,titleBlack:p7e,titleWhite:y7e,subtitle:k7e,valueRowHorizontal:m7e,valueRowVertical:f7e,singleValue:g7e,primaryRow:v7e,maxBadge:M7e,valuePrimary:_7e,valuePrimaryBlack:x7e,valuePrimaryWhite:L7e,valueSlash:I7e,valueSecondary:b7e,valueSecondaryBlue:w7e,valueSecondaryWhite:C7e,valueSecondaryBlack:N7e,valueStacked:S7e,stackedTop:j7e,stackedBottom:$7e},q7e=({a11yConfig:e,iconName:t,title:n,subtitle:o,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:l="black",valueColor:h="blue",realValueColor:u,className:p="",style:y="",variant:m="horizontal",showMax:v=!1,titleFontSize:f,titleFontWeight:M,subtitleFontSize:_,subtitleFontWeight:g,primaryFontSize:L,primaryFontWeight:w,secondaryFontSize:C,secondaryFontWeight:b,backgroundColor:x="#f2f9fc",gap:I="",disabled:S=!1,positionRelative:j="",justifyContent:q="",headerLineHeight:$="",headerMinHeight:P="",contentSpace:T="",titleKey:V,subtitleKey:N,subtitleA11yKey:A,maxBadgeKey:B,maxBadgeA11yKey:R,predictionKey:D,predictionA11yKey:W,realisedKey:K,realisedA11yKey:ee})=>{const X=i!==void 0?i:!!o,xe=`${re.container} ${re[d]} ${re[y]} ${S?re.disabled:""}`,ye=h==="white"?re.valuePrimaryWhite:re.valuePrimaryBlack,Se=h==="blue"?re.valueSecondaryBlue:h==="white"?re.valueSecondaryWhite:re.valueSecondaryBlack,ie=pe=>pe===void 0?void 0:typeof pe=="number"?`${pe}px`:pe,F=pe=>pe===void 0?void 0:pe,J=m==="vertical",ce=s!=null&&s!==""&&s!=="-"&&s!=="—",ae=J?re.valueRowVertical:re.valueRowHorizontal;return c.jsxs("div",{className:`${xe} ${p}`,style:{backgroundColor:x},children:[t&&c.jsx("div",{className:`${re.iconWrapper} ${re[j]}`,children:t}),c.jsxs("div",{className:`${re.content} ${re[I]} ${ce?"":re.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[c.jsx("div",{className:`${re.header} ${re[q]} ${re[$]} header-indicator-v2`,style:{minHeight:P},children:c.jsx("h6",{className:`${re.title}`,style:{fontSize:ie(f),fontWeight:F(M),color:l},title:Y(e,V),children:n})}),X&&o?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:re.subtitle,style:{fontSize:ie(_),fontWeight:F(g)},title:Y(e,N,A),children:o})}):null,c.jsxs("div",{className:`${ae} count-indicator-v2`,children:[c.jsxs("div",{className:re.primaryRow,children:[v&&c.jsx("span",{className:`${re.maxBadge} max-badge-indicator-v2`,title:Y(e,B,R),children:"MAX"}),c.jsx("span",{className:`${re.valuePrimary} ${ye}`,style:{fontSize:ie(L||(!ce&&J?"1.75rem":void 0)),fontWeight:F(w),color:u||void 0},title:Y(e,K,ee),children:r})]}),ce&&c.jsxs(c.Fragment,{children:[!J&&c.jsx("span",{className:re.valueSlash,style:{fontSize:ie(C),fontWeight:F(b)},children:"/"}),c.jsx("span",{className:`${re.valueSecondary} ${Se}`,style:{fontSize:ie(C),fontWeight:F(b)},title:Y(e,D,W),children:s})]})]})]})]})},A7e="_banner_f10in_2",z7e="_iep_f10in_14",V7e="_groupSmall_f10in_24",P7e="_genre_f10in_34",T7e="_gravite_f10in_42",H7e="_orientationContainer_f10in_48",D7e="_service_f10in_61",B7e="_roomBedContainer_f10in_71",R7e="_room_f10in_71",F7e="_bed_f10in_87",E7e="_bedUf_f10in_92",O7e="_statusContainer_f10in_97",U7e="_status_f10in_97",W7e="_centeredWarn_f10in_124",ze={banner:A7e,iep:z7e,groupSmall:V7e,genre:P7e,gravite:T7e,orientationContainer:H7e,service:D7e,roomBedContainer:B7e,room:R7e,bed:F7e,bedUf:E7e,statusContainer:O7e,status:U7e,centeredWarn:W7e},G7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),dj=k.memo(G7e),Z7e=({patient:e,genre:t,gravite:n,bed:o,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:l="#ffffff",primaryFontColor:h="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:m="#9ca3af",genreFontSize:v,style:f,warn:M=!1,warnMessage:_,warnColor:g="#F94134"})=>c.jsxs("div",{className:ze.banner,style:{backgroundColor:l,...f},children:[c.jsxs("div",{className:ze.iep,children:[c.jsx("div",{style:{color:u},children:e.iep??"--"}),c.jsxs("div",{style:{color:h},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),c.jsxs("div",{className:ze.groupSmall,children:[c.jsx("span",{className:`${ze.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:v},children:t??"--"}),c.jsx("span",{className:`${ze.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:ze.orientationContainer,children:c.jsx("div",{className:ze.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:ze.roomBedContainer,children:[i&&c.jsx("span",{className:ze.bedUf,children:i}),c.jsx("span",{className:ze.room,children:r??"--"}),c.jsx("span",{className:ze.bed,children:o??"--"})]}),c.jsxs("div",{className:ze.statusContainer,children:[d?c.jsx("div",{className:`${ze.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&c.jsxs("div",{className:ze.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(dj,{color:g,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:g,fontSize:"12px",fontWeight:600},children:_})]}),d&&M&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:g,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(dj,{color:g,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),K7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),X7e=k.memo(K7e),Y7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),Xq=k.memo(Y7e),J7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),Q7e=k.memo(J7e),ege="_overlay_1uxex_1",tge="_container_1uxex_11",age="_fullscreen_1uxex_24",nge="_header_1uxex_30",oge="_headerActions_1uxex_42",cge="_iconButton_1uxex_47",ige="_body_1uxex_58",rge="_sidebar_1uxex_65",sge="_content_1uxex_91",dge="_contentHeader_1uxex_98",lge="_childrenWrapper_1uxex_114",hge="_footer_1uxex_138",uge="_baseButton_1uxex_146",pge="_noOverlay_1uxex_160",yge="_contained_1uxex_168",Ie={overlay:ege,container:tge,fullscreen:age,header:nge,headerActions:oge,iconButton:cge,body:ige,sidebar:rge,content:sge,contentHeader:dge,childrenWrapper:lge,footer:hge,baseButton:uge,noOverlay:pge,contained:yge},kge=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:o="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:l,children:h,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:m=!1,hideHeader:v=!1,hideSidebar:f=!1,onDelete:M,deleteLabel:_="Supprimer",width:g="75%",maxWidth:L="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:x="1rem",overflow:I="auto",contentHeaderAction:S,contentFooterAction:j,hideFooter:q=!1,hideOverlay:$=!1,position:P,a11yConfig:T})=>{const[V,N]=k.useState(!1),A=k.useRef(null);if(k.useEffect(()=>{if(!r||!$)return;const R=D=>{(D.type==="scroll"||D.type==="wheel"||D.type==="touchmove"||A.current&&!A.current.contains(D.target))&&s()};return document.addEventListener("mousedown",R),document.addEventListener("scroll",R,!0),document.addEventListener("wheel",R,{passive:!0,capture:!0}),document.addEventListener("touchmove",R,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",R),document.removeEventListener("scroll",R,!0),document.removeEventListener("wheel",R,!0),document.removeEventListener("touchmove",R,!0)}},[r,$,s]),!r)return null;const B=(R,D=!1)=>c.jsx(Qx,{onClick:R.disabled?void 0:R.onClick,className:Ie.baseButton,disabled:R.disabled,style:{background:R.backgroundColor??(D?"#008FBB":"#ffffff"),color:R.textColor??(D?"#ffffff":"#374151"),border:R.borderColor||D?"none":void 0,cursor:R.disabled?R.cursor??"not-allowed":R.cursor??"pointer",filter:R.disabled?R.filter??"grayscale(0.5)":R.filter??"none",opacity:R.disabled?.65:1},title:Y(R.a11yConfig,R.text),children:R.text});return c.jsx("div",{className:$?Ie.noOverlay:Ie.overlay,onClick:s,children:c.jsxs("div",{ref:A,className:`${Ie.container} ${V?Ie.fullscreen:""} ${$?Ie.contained:""}`,onClick:R=>R.stopPropagation(),style:{width:V?"100%":g,maxWidth:V?"none":L,height:V?"100%":w,maxHeight:V?"100%":C,borderRadius:V?"0":b,overflow:I,...P||{}},children:[!v&&c.jsxs("header",{className:Ie.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},title:Y(T,e),children:e}),c.jsxs("div",{className:Ie.headerActions,children:[!m&&c.jsx("button",{onClick:()=>N(!V),className:Ie.iconButton,title:V?"Réduire":"Agrandir",children:V?c.jsx(Q7e,{width:22,height:22,fill:t}):c.jsx(X7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:Ie.iconButton,title:"Fermer",children:c.jsx(Xq,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:Ie.body,style:{overflow:I},children:[y&&!f&&c.jsx("aside",{className:Ie.sidebar,children:y}),c.jsxs("main",{className:Ie.content,style:{backgroundColor:p,overflow:I},children:[u&&c.jsxs("header",{className:Ie.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),S]}),c.jsx("div",{className:Ie.childrenWrapper,style:{padding:x,overflow:I},children:h})]})]}),!q&&c.jsxs("footer",{className:Ie.footer,style:{backgroundColor:n},children:[M&&c.jsx(Qx,{onClick:M,className:Ie.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,B(d),B(l,!0)]})]})})},mge="_container_1vb1c_1",fge="_searchWrapper_1vb1c_10",gge="_navItems_1vb1c_17",qb={container:mge,searchWrapper:fge,navItems:gge},vge=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:o="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>c.jsxs("div",{className:`${qb.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:qb.searchWrapper,children:c.jsx(Eq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:qb.navItems,children:e.map(p=>c.jsx(Gw,{id:p.id,label:p.label,icon:p.icon,isActive:t===p.id,onClick:()=>r?.(p.id),activeColor:n,color:i,fontWeight:"600",fontSize:"0.75rem",padding:"0.75rem 1rem",iconGap:"0.5rem"},p.id))})]}),Mge=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules",titleKey:d,addModuleTitle:l="Ajouter un module",addModuleLabel:h="Titre",addModulePlaceholder:u="Nom du module",renameModuleTitle:p="Renommer le module",renameModuleLabel:y="Titre",renameModulePlaceholder:m="Nom du module",confirmText:v="Valider",cancelText:f="Annuler",a11yConfig:M})=>{const[_,g]=k.useState(!1),[L,w]=k.useState(null),C=()=>g(!0),b=()=>g(!1),x=$=>{const P=$.title?.trim();P&&o&&o(P),b()},I=($,P)=>{$.stopPropagation(),w(P)},S=()=>w(null),j=$=>{const P=$.title?.trim();L&&P&&i&&i(L,P),S()},q=($,P)=>{$.stopPropagation(),r&&r(P)};return c.jsxs("div",{className:"module-sidebar-v2",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("div",{className:"header-title",title:Y(M,d),children:[s," (",e.length,")"]}),c.jsx(Wc,{size:18,className:"add-view-icon",onClick:C})]}),c.jsx("div",{className:"module-list",children:e.map($=>c.jsxs("div",{className:`module-item ${$.id===t?"selected":""}`,onClick:()=>n&&n($),children:[$.icon||c.jsx(_1,{size:18,className:"drag-handle"}),c.jsxs("div",{className:"module-content",title:Y($.a11yConfig,$.titleKey),children:[c.jsx("div",{className:"module-title",children:$.title}),$.subtitle&&c.jsx("div",{className:"module-subtitle",children:$.subtitle})]}),typeof $.count<"u"&&c.jsx("span",{className:"module-count",children:$.count}),c.jsxs("div",{className:"module-actions",children:[c.jsx(ht,{size:10,className:"action-icon edit",onClick:P=>I(P,$)}),c.jsx(jt,{size:10,className:"action-icon delete",onClick:P=>q(P,$)})]})]},$.id))}),c.jsx(jc,{isOpen:_,onClose:b,onSave:x,title:l,fields:[{name:"title",label:h,placeholder:u}],confirmText:v,cancelText:f}),L&&c.jsx(jc,{isOpen:!!L,onClose:S,onSave:j,title:p,initialValues:{title:L.title},fields:[{name:"title",label:y,placeholder:m}],confirmText:v,cancelText:f})]})},_ge=({keyName:e,translations:t,availableLanguages:n,onChange:o,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(e),[p,y]=k.useState(null),[m,v]=k.useState(""),[f,M]=k.useState(!1),[_,g]=k.useState(""),[L,w]=k.useState(""),C=k.useMemo(()=>{const N={};return Array.isArray(t)&&t.forEach(A=>{A&&A.language&&(N[A.language.toUpperCase()]=A.value)}),N},[t]),b=k.useMemo(()=>n,[n]),x=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},I=N=>{N.key==="Enter"?x():N.key==="Escape"&&(u(e),l(!1))},S=N=>{const A=N.toUpperCase();y(A),v(C[A]||"")},j=()=>{p&&(o(p,m),y(null),v(""))},q=N=>{N.key==="Enter"?j():N.key==="Escape"&&(y(null),v(""))},$=()=>{M(!0),b.length>0&&g(b[0].toUpperCase()),w("")},P=()=>{_&&L.trim()&&(o(_,L.trim()),M(!1),g(""),w(""))},T=()=>{M(!1),g(""),w("")},V=N=>{N.key==="Enter"?P():N.key==="Escape"&&T()};return c.jsxs("div",{className:"translation-key-v2",children:[c.jsxs("div",{className:"header",children:[d?c.jsx("input",{className:"key-name-input",value:h,onChange:N=>u(N.target.value),onBlur:x,onKeyDown:I,autoFocus:!0}):c.jsx("h3",{className:"header-title",title:Y(s,e),children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(ht,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),c.jsx(jt,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(N=>{const A=N.toUpperCase(),B=C[A]||"",R=p===A;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:A}),R?c.jsx("input",{className:"translation-input editing",value:m,onChange:D=>v(D.target.value),onBlur:j,onKeyDown:q,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${B?"":"empty"}`,onClick:()=>S(N),title:"Cliquer pour éditer",children:B||"Cliquer pour ajouter..."})]},N)}),f?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:_,onChange:N=>g(N.target.value),children:b.map(N=>c.jsx("option",{value:N.toUpperCase(),children:N.toUpperCase()},N))}),c.jsx("input",{className:"translation-input editing",value:L,onChange:N=>w(N.target.value),onKeyDown:V,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(m1,{size:18,className:"action-icon confirm",onClick:P}),c.jsx(Ke,{size:18,className:"action-icon cancel",onClick:T})]})]}):b.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Zc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},xge="_overlay_1jz4r_1",Lge="_modal_1jz4r_15",Ige="_body_1jz4r_27",bge="_footer_1jz4r_46",wge="_confirmButton_1jz4r_55",Cge="_danger_1jz4r_75",Nge="_cancelButton_1jz4r_83",Mt={overlay:xge,modal:Lge,body:Ige,footer:bge,confirmButton:wge,danger:Cge,cancelButton:Nge},Sge=({isOpen:e,message:t,onConfirm:n,onCancel:o,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h})=>e?c.jsx("div",{className:Mt.overlay,onClick:o,children:c.jsxs("div",{className:Mt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:Mt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:Mt.footer,children:[c.jsx("button",{className:`${Mt.confirmButton} ${s?Mt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:Mt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:Mt.cancelButton,onClick:o,children:r})]})]})}):null,jge="_card_1ildr_1",$ge="_topIcon_1ildr_17",qge="_title_1ildr_24",Age="_text_1ildr_31",zge="_bottomIcon_1ildr_37",d1={card:jge,topIcon:$ge,title:qge,text:Age,bottomIcon:zge},Vge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff",a11yConfig:h})=>c.jsxs("div",{className:`${d1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:Y(h,t),children:[e&&c.jsx("div",{className:d1.topIcon,children:e}),c.jsx("h3",{className:d1.title,style:{color:s},children:t}),c.jsx("p",{className:d1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:d1.bottomIcon,children:o})]}),Pge="_container_1ry38_1",Tge="_disabled_1ry38_9",Hge="_selectBox_1ry38_14",Dge="_selectBoxOpen_1ry38_36",Bge="_tagsContainer_1ry38_41",Rge="_tag_1ry38_41",Fge="_tagLabel_1ry38_66",Ege="_removeBtnContainer_1ry38_72",Oge="_removeBtn_1ry38_72",Uge="_searchInput_1ry38_97",Wge="_placeholder_1ry38_117",Gge="_actions_1ry38_124",Zge="_clearBtn_1ry38_131",Kge="_chevron_1ry38_153",Xge="_chevronOpen_1ry38_159",Yge="_dropdown_1ry38_163",Jge="_option_1ry38_177",Qge="_noOptions_1ry38_189",eve="_overflowBlock_1ry38_196",tve="_overflowEllipsis_1ry38_203",ave="_overflowBadge_1ry38_210",nve="_overflowBadgeWrap_1ry38_233",ove="_overflowDropdown_1ry38_239",cve="_overflowDropdownItem_1ry38_255",ive="_overflowDropdownItemLabel_1ry38_266",rve="_overflowDropdownItemRemove_1ry38_273",Q={container:Pge,disabled:Tge,selectBox:Hge,selectBoxOpen:Dge,tagsContainer:Bge,tag:Rge,tagLabel:Fge,removeBtnContainer:Ege,removeBtn:Oge,searchInput:Uge,placeholder:Wge,actions:Gge,clearBtn:Zge,chevron:Kge,chevronOpen:Xge,dropdown:Yge,option:Jge,noOptions:Qge,overflowBlock:eve,overflowEllipsis:tve,overflowBadge:ave,overflowBadgeWrap:nve,overflowDropdown:ove,overflowDropdownItem:cve,overflowDropdownItemLabel:ive,overflowDropdownItemRemove:rve},sve=({options:e,noOptionsMessage:t="",value:n,onChange:o,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1})=>{const[l,h]=k.useState(!1),[u,p]=k.useState(""),y=k.useRef(null),m=k.useRef(null),v=k.useRef(null),f=k.useRef(null),[M,_]=k.useState(null),[g,L]=k.useState(!1),w=k.useRef([]),C=k.useRef(null),b=k.useMemo(()=>{const N=new Map(e.map(A=>[A.value,A]));return n.map(A=>N.get(A)).filter(A=>A!==void 0)},[e,n]),x=k.useMemo(()=>e.filter(N=>!n.includes(N.value)),[e,n]),I=k.useMemo(()=>{let N=x;return u&&(N=N.filter(A=>A.label.toLowerCase().includes(u.toLowerCase()))),N},[x,u]);k.useEffect(()=>{const N=A=>{const B=A.target;y.current&&!y.current.contains(B)&&(h(!1),p(""),_(null),L(!1))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{if(b.length===0){_(null),w.current=[];return}b.length>w.current.length&&_(null);const N=()=>{const D=v.current,W=f.current;if(!D||!W)return;const K=W.getBoundingClientRect().width,ee=W.querySelector(`.${Q.actions}`),X=ee?ee.getBoundingClientRect().width:80,xe=56,ye=r?80:0,Se=16,ie=Array.from(D.querySelectorAll(`.${Q.tag}`));ie.length===b.length&&(w.current=ie.map(le=>{const Le=le.getBoundingClientRect(),ft=le.scrollWidth;return Math.max(Le.width,ft,le.offsetWidth||0)}));const F=w.current,J=F.length>0?F.reduce((le,Le)=>le+Le,0)/F.length:120,ce=b.length<=F.length?F.slice(0,b.length):[...F,...Array(b.length-F.length).fill(J)],ae=4,pe=Math.max(0,K-X-ye-Se);let _e=0,fe=0;for(let le=0;le<b.length;le++){const Le=ce[le]??120;if(_e+Le+ae>pe)break;_e+=Le+ae,fe++}if(fe>=b.length){_(null);return}const je=Math.max(0,K-xe-X-ye-Se);_e=0;let Ce=0;for(let le=0;le<b.length;le++){const Le=ce[le]??120;if(_e+Le+ae>je)break;_e+=Le+ae,Ce++}Ce<b.length&&Ce>0?_(Ce):_(null)},A=requestAnimationFrame(()=>{N()}),B=setTimeout(N,100),R=new ResizeObserver(()=>{N()});return f.current&&R.observe(f.current),()=>{cancelAnimationFrame(A),clearTimeout(B),R.disconnect()}},[b,r,l]);const S=()=>{if(d)return;const N=!l;N&&L(!1),h(N),N&&r&&setTimeout(()=>m.current?.focus(),0)},j=N=>{if(n.includes(N.value))return;L(!1);const A=[...b,N];o(A),p(""),_(null),h(!1)},q=N=>{N.preventDefault(),N.stopPropagation(),L(A=>!A)},$=M!=null&&M<b.length?b.slice(M):[],P=(N,A)=>{A.stopPropagation();const B=b.filter(R=>R.value!==N);o(B)},T=N=>{N.stopPropagation(),o([])},V=N=>{N.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${Q.container} ${s} ${d?Q.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:f,className:`${Q.selectBox} ${l?Q.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:Q.tagsContainer,ref:v,children:[M!==null&&M>0?b.slice(0,M).map((N,A)=>c.jsxs("div",{className:Q.tag,children:[c.jsx("div",{className:Q.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:Q.removeBtnContainer,children:c.jsx("button",{type:"button",className:Q.removeBtn,onClick:B=>P(N.value,B),"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${N.value}-${A}`)):b.map((N,A)=>c.jsxs("div",{className:Q.tag,children:[c.jsx("div",{className:Q.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:Q.removeBtnContainer,children:c.jsx("button",{type:"button",className:Q.removeBtn,onClick:B=>P(N.value,B),"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${N.value}-${A}`)),r?c.jsx("input",{ref:m,type:"text",className:Q.searchInput,placeholder:b.length===0?i:"",value:u,onChange:N=>{p(N.target.value),l||h(!0)},onClick:V,disabled:d}):b.length===0&&c.jsx("span",{className:Q.placeholder,children:i})]}),M!==null&&M<b.length&&c.jsxs("div",{className:Q.overflowBlock,children:[c.jsx("span",{className:Q.overflowEllipsis,children:"..."}),c.jsxs("div",{className:Q.overflowBadgeWrap,children:[c.jsx("button",{ref:C,type:"button",className:Q.overflowBadge,onClick:q,"aria-label":`Afficher ${$.length} éléments cachés`,children:$.length}),g&&$.length>0&&c.jsx("div",{className:Q.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:$.map((N,A)=>c.jsxs("div",{className:Q.overflowDropdownItem,children:[c.jsx("span",{className:Q.overflowDropdownItemLabel,children:N.label}),c.jsx("button",{type:"button",className:Q.overflowDropdownItemRemove,onClick:B=>{B.stopPropagation(),P(N.value,B)},"aria-label":`Supprimer ${N.label}`,children:c.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:c.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${N.value}-${A}`))})]})]}),c.jsxs("div",{className:Q.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:Q.clearBtn,onClick:T,"aria-label":"Effacer tout",children:c.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:c.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),c.jsx("svg",{className:`${Q.chevron} ${l?Q.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),l&&!d&&c.jsx("div",{className:Q.dropdown,role:"listbox",children:I.length>0?I.map((N,A)=>c.jsx("div",{className:Q.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${A}`)):c.jsx("div",{className:Q.noOptions,children:t})})]})},dve="_container_h7jek_1",lve={container:dve},hve=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:o=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={}})=>{const l=k.useMemo(()=>{const p=i.length===0?o:o.filter(m=>m&&i.includes(String(m.uf).replace(/^0+/,""))),y=new Set;return p.filter(m=>{if(!m||!m.uf)return!1;const v=String(m.uf).replace(/^0+/,"");return y.has(v)?!1:(y.add(v),!0)})},[o,i]),h=k.useMemo(()=>l.reduce((p,y)=>({disponibles:p.disponibles+(y.totalAvailable??y.disponibles??0),homme:p.homme+(y.availableMen??y.disponibleHomme??0),femme:p.femme+(y.availableWomen??y.disponibleFemme??0),indifferencie:p.indifferencie+(y.availableIndifferentSex??y.indifferences??0),sorties:p.sorties+(y.outToday??y.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[l]),u=p=>d.disponibles?d.disponibles:p>3?"#35994E":p>=1?"#EF6C00":"#C62828";return c.jsxs("div",{className:lve.container,children:[c.jsx(wt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:h.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:u(h.disponibles),valueFontSize:"2.5rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"white",valueColor:"white",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:h.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:h.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:h.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),c.jsx(wt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:h.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},uve=({message:e,icon:t,className:n,style:o,fontSize:i,fontWeight:r,color:s,backgroundColor:d="#f44336",onClick:l,a11yConfig:h,titleKey:u})=>c.jsxs("div",{className:n,onClick:l,title:Y(h,u),style:{display:"flex",alignItems:"center",gap:"8px",padding:"8px 12px",borderRadius:"6px",backgroundColor:d,color:s,fontSize:i,fontWeight:r,cursor:l?"pointer":"default",...o},children:[t&&c.jsx("span",{style:{display:"flex",alignItems:"center",color:s},children:t}),c.jsx("span",{children:e})]}),pve="_container_1pt6c_1",yve="_chartContainer_1pt6c_14",kve="_legend_1pt6c_22",mve="_legendItem_1pt6c_29",fve="_leftSection_1pt6c_41",gve="_colorIndicator_1pt6c_47",vve="_label_1pt6c_54",Mve="_rightSection_1pt6c_60",_ve="_ratio_1pt6c_66",xve="_value1_1pt6c_73",Lve="_separator_1pt6c_78",Ive="_value2_1pt6c_82",bve="_statusIndicator_1pt6c_87",wve="_inactive_1pt6c_102",Ve={container:pve,chartContainer:yve,legend:kve,legendItem:mve,leftSection:fve,colorIndicator:gve,label:vve,rightSection:Mve,ratio:_ve,value1:xve,separator:Lve,value2:Ive,statusIndicator:bve,inactive:wve},lj=Math.PI/180,Cve=({data:e,height:t=400,bg:n,backgroundColor:o,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:m,separatorColor:v,borderColor:f,hideDonut:M=!0})=>{const[_,g]=k.useState(new Set(e.map(S=>S.nom))),L=S=>{const j=new Set(_);j.has(S)?j.size>1&&j.delete(S):j.add(S),g(j)},w={...p,"--bg-color":n||o||"transparent","--text-color":i||"inherit","--font-size":r||"14px","--font-weight":s||"400","--padding":d||"0","--margin":l||"0","--border-radius":h||"0","--label-color":y||"inherit","--ratio-color":m||"inherit","--separator-color":v||"#03a9f4","--border-color":f||"#e0e0e0"},C=k.useMemo(()=>e.map(S=>({...S,displayValue:_.has(S.nom)?S.value:0})),[e,_]),b=k.useMemo(()=>e.every(S=>S.value===0),[e]),x=k.useMemo(()=>b?1:C.reduce((S,j)=>S+j.displayValue,0)||1,[b,C]),I=k.useCallback(({cx:S,cy:j,midAngle:q,innerRadius:$,outerRadius:P,value:T})=>{if(T===0||b)return null;const V=$+(P-$)*.5,N=S+V*Math.cos(-q*lj),A=j+V*Math.sin(-q*lj),B=Math.round(T/x*100);return c.jsx(a.Text,{x:N,y:A,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${B}%`})},[x,b]);return c.jsxs("div",{className:`${Ve.container} ${u}`,style:w,children:[!M&&c.jsx("div",{className:Ve.chartContainer,style:{height:t/2+100},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:c.jsx(a.PieChart,{children:c.jsx(a.Pie,{data:b?[{displayValue:1,color:"#A3C2CB"}]:C,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:b?0:2,startAngle:90,endAngle:450,labelLine:!1,label:I,isAnimationActive:!1,children:b?c.jsx(a.Cell,{fill:"#A3C2CB"}):C.map((S,j)=>c.jsx(a.Cell,{fill:S.color},`cell-${j}`))})})})}),c.jsx("div",{className:Ve.legend,children:e.map((S,j)=>{const q=_.has(S.nom);return c.jsxs("div",{className:`${Ve.legendItem} ${!M&&!q?Ve.inactive:""}`,onClick:()=>L(S.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:Ve.leftSection,children:[c.jsx("div",{className:Ve.colorIndicator,style:{backgroundColor:S.color,opacity:M||q?1:.3}}),c.jsx("span",{className:Ve.label,style:{opacity:M||q?1:.5},children:S.nom})]}),c.jsxs("div",{className:Ve.rightSection,style:{opacity:M||q?1:.5},children:[c.jsxs("div",{className:Ve.ratio,children:[c.jsx("span",{className:Ve.value1,children:S.value1}),c.jsx("span",{className:Ve.separator,children:"/"}),c.jsx("span",{className:Ve.value2,children:S.value2})]}),S.statusColor&&c.jsx("div",{className:Ve.statusIndicator,style:{backgroundColor:S.statusColor}})]})]},`legend-${j}`)})})]})},Nve="_container_1pc4v_1",Sve="_leftGroup_1pc4v_10",jve="_iconBtn_1pc4v_16",X1={container:Nve,leftGroup:Sve,iconBtn:jve},$ve=e=>Z.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},Z.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),qve=k.memo($ve),Ave=e=>Z.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},Z.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),Yq=k.memo(Ave),zve=({menuIcon:e,logoProps:t,actionIcon:n,style:o,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:l=1,height:h="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${l}px solid ${d}`,height:h,...o};return c.jsxs("header",{className:[X1.container,i].filter(Boolean).join(" "),style:y,children:[c.jsxs("div",{className:X1.leftGroup,children:[c.jsx("button",{className:X1.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??c.jsx(qve,{width:22,height:22})}),c.jsx(lL,{...t,size:"medium"})]}),c.jsx("button",{className:X1.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??c.jsx(Yq,{width:22,height:22})})]})},Vve="_container_24g3e_1",Pve="_iconBtn_24g3e_10",Tve="_title_24g3e_22",Y1={container:Vve,iconBtn:Pve,title:Tve},Hve=({title:e="Menu",closeIcon:t,actionIcon:n,style:o,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:l="transparent",borderBottomWidth:h=0,height:u="8vh",onClose:p,onAction:y})=>{const m={backgroundColor:s,color:d,borderBottom:`${h}px solid ${l}`,height:u,...o};return c.jsxs("div",{className:[Y1.container,i].filter(Boolean).join(" "),style:m,children:[c.jsx("button",{className:Y1.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??c.jsx(Xq,{width:22,height:22})}),c.jsx("span",{className:Y1.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),c.jsx("button",{className:Y1.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??c.jsx(Yq,{width:22,height:22})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=Vge;exports.AddItemModal=jc;exports.Alert=Ww;exports.AlertMessage=uve;exports.AlertsProvider=qke;exports.BadgeList=hj;exports.BadgeRenderer=zq;exports.Button=Qx;exports.ChartContainer=jke;exports.CheckboxInput=uq;exports.CircularProgress=Ab;exports.ColorInput=fq;exports.ComponentVisibilityManager=Pb;exports.ComponentVisibilityToggle=Wme;exports.ConfirmationModal=Sge;exports.ConfirmationPopup=P3e;exports.CounterListBox=M3e;exports.CurrencyRenderer=Tq;exports.DashboardSummary=Ime;exports.DataBoard=wt;exports.DataFourBoards=Oq;exports.DateInput=kq;exports.DatePicker=iw;exports.DateRenderer=Vq;exports.DayStatCard=t2e;exports.DayStatCardV2=H6e;exports.DonutChartRatio=Cve;exports.DraggableProvider=c2e;exports.DraggableSwitcherButton=eL;exports.DynamicForm=Kye;exports.DynamicInput=gq;exports.EmailRenderer=qq;exports.Encours=Tme;exports.EntryControl=g3e;exports.FileInput=yq;exports.FilterBar=Gfe;exports.FiltreEtiquette=sve;exports.FlexRowContainer=x3e;exports.Grid=yj;exports.Header=h2e;exports.HorizontalBarChart=B6e;exports.IconText=bj;exports.ImageRenderer=Hq;exports.IndicatorItemV2=q7e;exports.InfoBanner=Z7e;exports.InputWrapper=fL;exports.LegendFilterProvider=r2e;exports.LegendFilterSwitcherButton=tL;exports.LinkRenderer=Aq;exports.ListContentContainer=L3e;exports.Logo=lL;exports.MetricsPanel=Rq;exports.MobileMenuHeader=Hve;exports.MobileNavMenu=Gq;exports.MobileTopBar=zve;exports.ModuleHeader=t3e;exports.ModuleSideBar=a3e;exports.ModuleSideBarV2=Mge;exports.NavBar=kj;exports.NavBarV2=o8e;exports.NavItem=zb;exports.NavItemV2=Gw;exports.NavProvider=a2e;exports.NumberRenderer=Pq;exports.PeriodSelect=Hke;exports.PopUp=kge;exports.RadioInput=pq;exports.RangeInput=mq;exports.ScrollableHorizontale=wj;exports.SearchBar=Eq;exports.Select=Kq;exports.SelectFilter=mme;exports.SelectInput=Fw;exports.SettingNavBar=vge;exports.ShowDataProvider=s2e;exports.ShowDataSwitcherButton=aL;exports.SideComponent=Bke;exports.SimpleListBox=v3e;exports.SubHeaderContent=S8e;exports.SubHeaderNavItem=Wq;exports.SubHeaderTitle=l8e;exports.SubNavBar=u2e;exports.SummaryAvailable=hve;exports.SummaryCard=Bq;exports.Switcher=H1;exports.TableLayout=Zq;exports.TableauDynamique=Dq;exports.TableauDynamiqueSafePagination=P5e;exports.TableauxComponent=Zq;exports.TextInput=lq;exports.TextRenderer=$q;exports.TextareaInput=hq;exports.ThemeProvider=n2e;exports.ThemeSwitcher=j8e;exports.ThemeSwitcherButton=Vb;exports.Title=Oke;exports.TranslationKey=n3e;exports.TranslationKeyV2=_ge;exports.TrendItem=Cj;exports.TrendList=rue;exports.TrendListBox=_3e;exports.UserInfo=Uq;exports.alertModels=zke;exports.getA11yTooltip=Y;exports.getFormSchema=Xye;exports.hexToRgba=Nt;exports.registerRenderer=w5e;exports.tableConfig=cw;exports.useAlerts=Ake;exports.useBodyScrollLock=Rke;exports.useConfirmationPopup=T3e;exports.useDraggableSwitcher=vj;exports.useFilters=Sq;exports.useLegendFilterSwitcher=_j;exports.useNavigation=rt;exports.useShowDataSwitcher=Lj;exports.useTableData=jq;exports.useThemeContext=fj;exports.useThemeSwitcher=hL;exports.validateField=dL;exports.validateForm=dq;
|