@tsiky/components-r19 1.6.106 → 1.6.108
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/chart.cjs.js +10 -10
- package/dist/chart.js +39 -7
- package/dist/components-r19.css +1 -1
- package/dist/index.cjs.js +5 -5
- package/dist/index.js +476 -473
- package/dist/src/components/NavItemV2/NavItemV2.d.ts.map +1 -1
- package/dist/src/components/PieChartV2/PieChartV2.d.ts.map +1 -1
- package/dist/src/components/SubHeaderContent/SubHeaderContent.d.ts +1 -0
- package/dist/src/components/SubHeaderContent/SubHeaderContent.d.ts.map +1 -1
- package/dist/src/components/SubHeaderNavItem/SubHeaderNavItem.d.ts +1 -0
- package/dist/src/components/SubHeaderNavItem/SubHeaderNavItem.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -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 ht=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Y1,AArrowDownIcon:Y1,AArrowUp:J1,AArrowUpIcon:J1,ALargeSmall:Q1,ALargeSmallIcon:Q1,Accessibility:u1,AccessibilityIcon:u1,Activity:p1,ActivityIcon:p1,ActivitySquare:It,ActivitySquareIcon:It,AirVent:ei,AirVentIcon:ei,Airplay:ti,AirplayIcon:ti,AlarmCheck:Tt,AlarmCheckIcon:Tt,AlarmClock:ni,AlarmClockCheck:Tt,AlarmClockCheckIcon:Tt,AlarmClockIcon:ni,AlarmClockMinus:Ht,AlarmClockMinusIcon:Ht,AlarmClockOff:ai,AlarmClockOffIcon:ai,AlarmClockPlus:Dt,AlarmClockPlusIcon:Dt,AlarmMinus:Ht,AlarmMinusIcon:Ht,AlarmPlus:Dt,AlarmPlusIcon:Dt,AlarmSmoke:oi,AlarmSmokeIcon:oi,Album:ci,AlbumIcon:ci,AlertCircle:pa,AlertCircleIcon:pa,AlertOctagon:Pn,AlertOctagonIcon:Pn,AlertTriangle:rc,AlertTriangleIcon:rc,AlignCenter:hi,AlignCenterHorizontal:ii,AlignCenterHorizontalIcon:ii,AlignCenterIcon:hi,AlignCenterVertical:ri,AlignCenterVerticalIcon:ri,AlignEndHorizontal:si,AlignEndHorizontalIcon:si,AlignEndVertical:di,AlignEndVerticalIcon:di,AlignHorizontalDistributeCenter:li,AlignHorizontalDistributeCenterIcon:li,AlignHorizontalDistributeEnd:ui,AlignHorizontalDistributeEndIcon:ui,AlignHorizontalDistributeStart:pi,AlignHorizontalDistributeStartIcon:pi,AlignHorizontalJustifyCenter:yi,AlignHorizontalJustifyCenterIcon:yi,AlignHorizontalJustifyEnd:ki,AlignHorizontalJustifyEndIcon:ki,AlignHorizontalJustifyStart:mi,AlignHorizontalJustifyStartIcon:mi,AlignHorizontalSpaceAround:fi,AlignHorizontalSpaceAroundIcon:fi,AlignHorizontalSpaceBetween:vi,AlignHorizontalSpaceBetweenIcon:vi,AlignJustify:gi,AlignJustifyIcon:gi,AlignLeft:Mi,AlignLeftIcon:Mi,AlignRight:_i,AlignRightIcon:_i,AlignStartHorizontal:xi,AlignStartHorizontalIcon:xi,AlignStartVertical:Li,AlignStartVerticalIcon:Li,AlignVerticalDistributeCenter:bi,AlignVerticalDistributeCenterIcon:bi,AlignVerticalDistributeEnd:Ii,AlignVerticalDistributeEndIcon:Ii,AlignVerticalDistributeStart:Ci,AlignVerticalDistributeStartIcon:Ci,AlignVerticalJustifyCenter:wi,AlignVerticalJustifyCenterIcon:wi,AlignVerticalJustifyEnd:Ni,AlignVerticalJustifyEndIcon:Ni,AlignVerticalJustifyStart:Si,AlignVerticalJustifyStartIcon:Si,AlignVerticalSpaceAround:$i,AlignVerticalSpaceAroundIcon:$i,AlignVerticalSpaceBetween:ji,AlignVerticalSpaceBetweenIcon:ji,Ambulance:qi,AmbulanceIcon:qi,Ampersand:Ai,AmpersandIcon:Ai,Ampersands:zi,AmpersandsIcon:zi,Amphora:Vi,AmphoraIcon:Vi,Anchor:Pi,AnchorIcon:Pi,Angry:Ti,AngryIcon:Ti,Annoyed:Hi,AnnoyedIcon:Hi,Antenna:Di,AntennaIcon:Di,Anvil:Bi,AnvilIcon:Bi,Aperture:Ri,ApertureIcon:Ri,AppWindow:Ei,AppWindowIcon:Ei,AppWindowMac:Fi,AppWindowMacIcon:Fi,Apple:Oi,AppleIcon:Oi,Archive:Gi,ArchiveIcon:Gi,ArchiveRestore:Ui,ArchiveRestoreIcon:Ui,ArchiveX:Wi,ArchiveXIcon:Wi,AreaChart:ea,AreaChartIcon:ea,Armchair:Zi,ArmchairIcon:Zi,ArrowBigDown:Xi,ArrowBigDownDash:Ki,ArrowBigDownDashIcon:Ki,ArrowBigDownIcon:Xi,ArrowBigLeft:Ji,ArrowBigLeftDash:Yi,ArrowBigLeftDashIcon:Yi,ArrowBigLeftIcon:Ji,ArrowBigRight:er,ArrowBigRightDash:Qi,ArrowBigRightDashIcon:Qi,ArrowBigRightIcon:er,ArrowBigUp:ar,ArrowBigUpDash:tr,ArrowBigUpDashIcon:tr,ArrowBigUpIcon:ar,ArrowDown:ur,ArrowDown01:nr,ArrowDown01Icon:nr,ArrowDown10:or,ArrowDown10Icon:or,ArrowDownAZ:Bt,ArrowDownAZIcon:Bt,ArrowDownAz:Bt,ArrowDownAzIcon:Bt,ArrowDownCircle:ya,ArrowDownCircleIcon:ya,ArrowDownFromLine:cr,ArrowDownFromLineIcon:cr,ArrowDownIcon:ur,ArrowDownLeft:ir,ArrowDownLeftFromCircle:ma,ArrowDownLeftFromCircleIcon:ma,ArrowDownLeftFromSquare:lo,ArrowDownLeftFromSquareIcon:lo,ArrowDownLeftIcon:ir,ArrowDownLeftSquare:co,ArrowDownLeftSquareIcon:co,ArrowDownNarrowWide:rr,ArrowDownNarrowWideIcon:rr,ArrowDownRight:sr,ArrowDownRightFromCircle:fa,ArrowDownRightFromCircleIcon:fa,ArrowDownRightFromSquare:ho,ArrowDownRightFromSquareIcon:ho,ArrowDownRightIcon:sr,ArrowDownRightSquare:io,ArrowDownRightSquareIcon:io,ArrowDownSquare:ro,ArrowDownSquareIcon:ro,ArrowDownToDot:dr,ArrowDownToDotIcon:dr,ArrowDownToLine:lr,ArrowDownToLineIcon:lr,ArrowDownUp:hr,ArrowDownUpIcon:hr,ArrowDownWideNarrow:Rt,ArrowDownWideNarrowIcon:Rt,ArrowDownZA:Ft,ArrowDownZAIcon:Ft,ArrowDownZa:Ft,ArrowDownZaIcon:Ft,ArrowLeft:mr,ArrowLeftCircle:ka,ArrowLeftCircleIcon:ka,ArrowLeftFromLine:pr,ArrowLeftFromLineIcon:pr,ArrowLeftIcon:mr,ArrowLeftRight:yr,ArrowLeftRightIcon:yr,ArrowLeftSquare:so,ArrowLeftSquareIcon:so,ArrowLeftToLine:kr,ArrowLeftToLineIcon:kr,ArrowRight:Mr,ArrowRightCircle:Ma,ArrowRightCircleIcon:Ma,ArrowRightFromLine:fr,ArrowRightFromLineIcon:fr,ArrowRightIcon:Mr,ArrowRightLeft:gr,ArrowRightLeftIcon:gr,ArrowRightSquare:yo,ArrowRightSquareIcon:yo,ArrowRightToLine:vr,ArrowRightToLineIcon:vr,ArrowUp:jr,ArrowUp01:_r,ArrowUp01Icon:_r,ArrowUp10:xr,ArrowUp10Icon:xr,ArrowUpAZ:Et,ArrowUpAZIcon:Et,ArrowUpAz:Et,ArrowUpAzIcon:Et,ArrowUpCircle:_a,ArrowUpCircleIcon:_a,ArrowUpDown:Lr,ArrowUpDownIcon:Lr,ArrowUpFromDot:Ir,ArrowUpFromDotIcon:Ir,ArrowUpFromLine:br,ArrowUpFromLineIcon:br,ArrowUpIcon:jr,ArrowUpLeft:wr,ArrowUpLeftFromCircle:ga,ArrowUpLeftFromCircleIcon:ga,ArrowUpLeftFromSquare:uo,ArrowUpLeftFromSquareIcon:uo,ArrowUpLeftIcon:wr,ArrowUpLeftSquare:ko,ArrowUpLeftSquareIcon:ko,ArrowUpNarrowWide:Ot,ArrowUpNarrowWideIcon:Ot,ArrowUpRight:Cr,ArrowUpRightFromCircle:va,ArrowUpRightFromCircleIcon:va,ArrowUpRightFromSquare:po,ArrowUpRightFromSquareIcon:po,ArrowUpRightIcon:Cr,ArrowUpRightSquare:mo,ArrowUpRightSquareIcon:mo,ArrowUpSquare:fo,ArrowUpSquareIcon:fo,ArrowUpToLine:Nr,ArrowUpToLineIcon:Nr,ArrowUpWideNarrow:Sr,ArrowUpWideNarrowIcon:Sr,ArrowUpZA:Ut,ArrowUpZAIcon:Ut,ArrowUpZa:Ut,ArrowUpZaIcon:Ut,ArrowsUpFromLine:$r,ArrowsUpFromLineIcon:$r,Asterisk:qr,AsteriskIcon:qr,AsteriskSquare:go,AsteriskSquareIcon:go,AtSign:Ar,AtSignIcon:Ar,Atom:zr,AtomIcon:zr,AudioLines:Vr,AudioLinesIcon:Vr,AudioWaveform:Pr,AudioWaveformIcon:Pr,Award:Tr,AwardIcon:Tr,Axe:Hr,AxeIcon:Hr,Axis3D:Wt,Axis3DIcon:Wt,Axis3d:Wt,Axis3dIcon:Wt,Baby:Dr,BabyIcon:Dr,Backpack:Br,BackpackIcon:Br,Badge:as,BadgeAlert:Rr,BadgeAlertIcon:Rr,BadgeCent:Fr,BadgeCentIcon:Fr,BadgeCheck:Gt,BadgeCheckIcon:Gt,BadgeDollarSign:Er,BadgeDollarSignIcon:Er,BadgeEuro:Or,BadgeEuroIcon:Or,BadgeHelp:Zt,BadgeHelpIcon:Zt,BadgeIcon:as,BadgeIndianRupee:Ur,BadgeIndianRupeeIcon:Ur,BadgeInfo:Wr,BadgeInfoIcon:Wr,BadgeJapaneseYen:Zr,BadgeJapaneseYenIcon:Zr,BadgeMinus:Gr,BadgeMinusIcon:Gr,BadgePercent:Kr,BadgePercentIcon:Kr,BadgePlus:Xr,BadgePlusIcon:Xr,BadgePoundSterling:Yr,BadgePoundSterlingIcon:Yr,BadgeQuestionMark:Zt,BadgeQuestionMarkIcon:Zt,BadgeRussianRuble:Jr,BadgeRussianRubleIcon:Jr,BadgeSwissFranc:Qr,BadgeSwissFrancIcon:Qr,BadgeTurkishLira:es,BadgeTurkishLiraIcon:es,BadgeX:ts,BadgeXIcon:ts,BaggageClaim:ns,BaggageClaimIcon:ns,Ban:os,BanIcon:os,Banana:cs,BananaIcon:cs,Bandage:is,BandageIcon:is,Banknote:ls,BanknoteArrowDown:rs,BanknoteArrowDownIcon:rs,BanknoteArrowUp:ss,BanknoteArrowUpIcon:ss,BanknoteIcon:ls,BanknoteX:ds,BanknoteXIcon:ds,BarChart:sa,BarChart2:da,BarChart2Icon:da,BarChart3:ia,BarChart3Icon:ia,BarChart4:ca,BarChart4Icon:ca,BarChartBig:oa,BarChartBigIcon:oa,BarChartHorizontal:aa,BarChartHorizontalBig:ta,BarChartHorizontalBigIcon:ta,BarChartHorizontalIcon:aa,BarChartIcon:sa,Barcode:hs,BarcodeIcon:hs,Barrel:us,BarrelIcon:us,Baseline:ps,BaselineIcon:ps,Bath:ys,BathIcon:ys,Battery:_s,BatteryCharging:ks,BatteryChargingIcon:ks,BatteryFull:ms,BatteryFullIcon:ms,BatteryIcon:_s,BatteryLow:fs,BatteryLowIcon:fs,BatteryMedium:gs,BatteryMediumIcon:gs,BatteryPlus:vs,BatteryPlusIcon:vs,BatteryWarning:Ms,BatteryWarningIcon:Ms,Beaker:xs,BeakerIcon:xs,Bean:Is,BeanIcon:Is,BeanOff:Ls,BeanOffIcon:Ls,Bed:Cs,BedDouble:bs,BedDoubleIcon:bs,BedIcon:Cs,BedSingle:ws,BedSingleIcon:ws,Beef:Ns,BeefIcon:Ns,Beer:js,BeerIcon:js,BeerOff:Ss,BeerOffIcon:Ss,Bell:Ps,BellDot:$s,BellDotIcon:$s,BellElectric:qs,BellElectricIcon:qs,BellIcon:Ps,BellMinus:As,BellMinusIcon:As,BellOff:zs,BellOffIcon:zs,BellPlus:Vs,BellPlusIcon:Vs,BellRing:Ts,BellRingIcon:Ts,BetweenHorizonalEnd:Kt,BetweenHorizonalEndIcon:Kt,BetweenHorizonalStart:Xt,BetweenHorizonalStartIcon:Xt,BetweenHorizontalEnd:Kt,BetweenHorizontalEndIcon:Kt,BetweenHorizontalStart:Xt,BetweenHorizontalStartIcon:Xt,BetweenVerticalEnd:Ds,BetweenVerticalEndIcon:Ds,BetweenVerticalStart:Hs,BetweenVerticalStartIcon:Hs,BicepsFlexed:Bs,BicepsFlexedIcon:Bs,Bike:Fs,BikeIcon:Fs,Binary:Rs,BinaryIcon:Rs,Binoculars:Es,BinocularsIcon:Es,Biohazard:Os,BiohazardIcon:Os,Bird:Us,BirdIcon:Us,Bitcoin:Ws,BitcoinIcon:Ws,Blend:Gs,BlendIcon:Gs,Blinds:Zs,BlindsIcon:Zs,Blocks:Ks,BlocksIcon:Ks,Bluetooth:Qs,BluetoothConnected:Xs,BluetoothConnectedIcon:Xs,BluetoothIcon:Qs,BluetoothOff:Ys,BluetoothOffIcon:Ys,BluetoothSearching:Js,BluetoothSearchingIcon:Js,Bold:e2,BoldIcon:e2,Bolt:t2,BoltIcon:t2,Bomb:a2,BombIcon:a2,Bone:n2,BoneIcon:n2,Book:C2,BookA:o2,BookAIcon:o2,BookAlert:c2,BookAlertIcon:c2,BookAudio:i2,BookAudioIcon:i2,BookCheck:r2,BookCheckIcon:r2,BookCopy:s2,BookCopyIcon:s2,BookDashed:Yt,BookDashedIcon:Yt,BookDown:d2,BookDownIcon:d2,BookHeadphones:l2,BookHeadphonesIcon:l2,BookHeart:h2,BookHeartIcon:h2,BookIcon:C2,BookImage:u2,BookImageIcon:u2,BookKey:p2,BookKeyIcon:p2,BookLock:y2,BookLockIcon:y2,BookMarked:m2,BookMarkedIcon:m2,BookMinus:k2,BookMinusIcon:k2,BookOpen:v2,BookOpenCheck:f2,BookOpenCheckIcon:f2,BookOpenIcon:v2,BookOpenText:g2,BookOpenTextIcon:g2,BookPlus:M2,BookPlusIcon:M2,BookTemplate:Yt,BookTemplateIcon:Yt,BookText:_2,BookTextIcon:_2,BookType:x2,BookTypeIcon:x2,BookUp:I2,BookUp2:L2,BookUp2Icon:L2,BookUpIcon:I2,BookUser:b2,BookUserIcon:b2,BookX:w2,BookXIcon:w2,Bookmark:q2,BookmarkCheck:N2,BookmarkCheckIcon:N2,BookmarkIcon:q2,BookmarkMinus:S2,BookmarkMinusIcon:S2,BookmarkPlus:j2,BookmarkPlusIcon:j2,BookmarkX:$2,BookmarkXIcon:$2,BoomBox:A2,BoomBoxIcon:A2,Bot:P2,BotIcon:P2,BotMessageSquare:z2,BotMessageSquareIcon:z2,BotOff:V2,BotOffIcon:V2,BottleWine:T2,BottleWineIcon:T2,BowArrow:H2,BowArrowIcon:H2,Box:D2,BoxIcon:D2,BoxSelect:So,BoxSelectIcon:So,Boxes:B2,BoxesIcon:B2,Braces:Jt,BracesIcon:Jt,Brackets:R2,BracketsIcon:R2,Brain:O2,BrainCircuit:F2,BrainCircuitIcon:F2,BrainCog:E2,BrainCogIcon:E2,BrainIcon:O2,BrickWall:G2,BrickWallFire:U2,BrickWallFireIcon:U2,BrickWallIcon:G2,BrickWallShield:W2,BrickWallShieldIcon:W2,Briefcase:Y2,BriefcaseBusiness:Z2,BriefcaseBusinessIcon:Z2,BriefcaseConveyorBelt:K2,BriefcaseConveyorBeltIcon:K2,BriefcaseIcon:Y2,BriefcaseMedical:X2,BriefcaseMedicalIcon:X2,BringToFront:J2,BringToFrontIcon:J2,Brush:ed,BrushCleaning:Q2,BrushCleaningIcon:Q2,BrushIcon:ed,Bubbles:td,BubblesIcon:td,Bug:cd,BugIcon:cd,BugOff:ad,BugOffIcon:ad,BugPlay:nd,BugPlayIcon:nd,Building:id,Building2:od,Building2Icon:od,BuildingIcon:id,Bus:sd,BusFront:rd,BusFrontIcon:rd,BusIcon:sd,Cable:ld,CableCar:dd,CableCarIcon:dd,CableIcon:ld,Cake:ud,CakeIcon:ud,CakeSlice:hd,CakeSliceIcon:hd,Calculator:pd,CalculatorIcon:pd,Calendar:y1,Calendar1:yd,Calendar1Icon:yd,CalendarArrowDown:kd,CalendarArrowDownIcon:kd,CalendarArrowUp:md,CalendarArrowUpIcon:md,CalendarCheck:gd,CalendarCheck2:fd,CalendarCheck2Icon:fd,CalendarCheckIcon:gd,CalendarClock:vd,CalendarClockIcon:vd,CalendarCog:Md,CalendarCogIcon:Md,CalendarDays:_d,CalendarDaysIcon:_d,CalendarFold:xd,CalendarFoldIcon:xd,CalendarHeart:Ld,CalendarHeartIcon:Ld,CalendarIcon:y1,CalendarMinus:bd,CalendarMinus2:Id,CalendarMinus2Icon:Id,CalendarMinusIcon:bd,CalendarOff:wd,CalendarOffIcon:wd,CalendarPlus:Nd,CalendarPlus2:Cd,CalendarPlus2Icon:Cd,CalendarPlusIcon:Nd,CalendarRange:Sd,CalendarRangeIcon:Sd,CalendarSearch:jd,CalendarSearchIcon:jd,CalendarSync:$d,CalendarSyncIcon:$d,CalendarX:Ad,CalendarX2:qd,CalendarX2Icon:qd,CalendarXIcon:Ad,Camera:Vd,CameraIcon:Vd,CameraOff:zd,CameraOffIcon:zd,CandlestickChart:na,CandlestickChartIcon:na,Candy:Hd,CandyCane:Pd,CandyCaneIcon:Pd,CandyIcon:Hd,CandyOff:Td,CandyOffIcon:Td,Cannabis:Dd,CannabisIcon:Dd,Captions:Qt,CaptionsIcon:Qt,CaptionsOff:Bd,CaptionsOffIcon:Bd,Car:Ed,CarFront:Rd,CarFrontIcon:Rd,CarIcon:Ed,CarTaxiFront:Fd,CarTaxiFrontIcon:Fd,Caravan:Od,CaravanIcon:Od,CardSim:Ud,CardSimIcon:Ud,Carrot:Wd,CarrotIcon:Wd,CaseLower:Gd,CaseLowerIcon:Gd,CaseSensitive:Zd,CaseSensitiveIcon:Zd,CaseUpper:Kd,CaseUpperIcon:Kd,CassetteTape:Xd,CassetteTapeIcon:Xd,Cast:Yd,CastIcon:Yd,Castle:Qd,CastleIcon:Qd,Cat:Jd,CatIcon:Jd,Cctv:e0,CctvIcon:e0,ChartArea:ea,ChartAreaIcon:ea,ChartBar:aa,ChartBarBig:ta,ChartBarBigIcon:ta,ChartBarDecreasing:t0,ChartBarDecreasingIcon:t0,ChartBarIcon:aa,ChartBarIncreasing:a0,ChartBarIncreasingIcon:a0,ChartBarStacked:n0,ChartBarStackedIcon:n0,ChartCandlestick:na,ChartCandlestickIcon:na,ChartColumn:ia,ChartColumnBig:oa,ChartColumnBigIcon:oa,ChartColumnDecreasing:o0,ChartColumnDecreasingIcon:o0,ChartColumnIcon:ia,ChartColumnIncreasing:ca,ChartColumnIncreasingIcon:ca,ChartColumnStacked:c0,ChartColumnStackedIcon:c0,ChartGantt:i0,ChartGanttIcon:i0,ChartLine:ra,ChartLineIcon:ra,ChartNetwork:r0,ChartNetworkIcon:r0,ChartNoAxesColumn:da,ChartNoAxesColumnDecreasing:s0,ChartNoAxesColumnDecreasingIcon:s0,ChartNoAxesColumnIcon:da,ChartNoAxesColumnIncreasing:sa,ChartNoAxesColumnIncreasingIcon:sa,ChartNoAxesCombined:d0,ChartNoAxesCombinedIcon:d0,ChartNoAxesGantt:la,ChartNoAxesGanttIcon:la,ChartPie:ha,ChartPieIcon:ha,ChartScatter:ua,ChartScatterIcon:ua,ChartSpline:l0,ChartSplineIcon:l0,Check:k1,CheckCheck:h0,CheckCheckIcon:h0,CheckCircle:xa,CheckCircle2:La,CheckCircle2Icon:La,CheckCircleIcon:xa,CheckIcon:k1,CheckLine:u0,CheckLineIcon:u0,CheckSquare:Mo,CheckSquare2:_o,CheckSquare2Icon:_o,CheckSquareIcon:Mo,ChefHat:p0,ChefHatIcon:p0,Cherry:y0,CherryIcon:y0,ChevronDown:Nt,ChevronDownCircle:Ia,ChevronDownCircleIcon:Ia,ChevronDownIcon:Nt,ChevronDownSquare:xo,ChevronDownSquareIcon:xo,ChevronFirst:k0,ChevronFirstIcon:k0,ChevronLast:m0,ChevronLastIcon:m0,ChevronLeft:f0,ChevronLeftCircle:ba,ChevronLeftCircleIcon:ba,ChevronLeftIcon:f0,ChevronLeftSquare:Lo,ChevronLeftSquareIcon:Lo,ChevronRight:m1,ChevronRightCircle:wa,ChevronRightCircleIcon:wa,ChevronRightIcon:m1,ChevronRightSquare:Io,ChevronRightSquareIcon:Io,ChevronUp:bc,ChevronUpCircle:Ca,ChevronUpCircleIcon:Ca,ChevronUpIcon:bc,ChevronUpSquare:bo,ChevronUpSquareIcon:bo,ChevronsDown:v0,ChevronsDownIcon:v0,ChevronsDownUp:g0,ChevronsDownUpIcon:g0,ChevronsLeft:_0,ChevronsLeftIcon:_0,ChevronsLeftRight:M0,ChevronsLeftRightEllipsis:x0,ChevronsLeftRightEllipsisIcon:x0,ChevronsLeftRightIcon:M0,ChevronsRight:I0,ChevronsRightIcon:I0,ChevronsRightLeft:L0,ChevronsRightLeftIcon:L0,ChevronsUp:b0,ChevronsUpDown:Oc,ChevronsUpDownIcon:Oc,ChevronsUpIcon:b0,Chrome:w0,ChromeIcon:w0,Church:C0,ChurchIcon:C0,Cigarette:S0,CigaretteIcon:S0,CigaretteOff:N0,CigaretteOffIcon:N0,Circle:E0,CircleAlert:pa,CircleAlertIcon:pa,CircleArrowDown:ya,CircleArrowDownIcon:ya,CircleArrowLeft:ka,CircleArrowLeftIcon:ka,CircleArrowOutDownLeft:ma,CircleArrowOutDownLeftIcon:ma,CircleArrowOutDownRight:fa,CircleArrowOutDownRightIcon:fa,CircleArrowOutUpLeft:ga,CircleArrowOutUpLeftIcon:ga,CircleArrowOutUpRight:va,CircleArrowOutUpRightIcon:va,CircleArrowRight:Ma,CircleArrowRightIcon:Ma,CircleArrowUp:_a,CircleArrowUpIcon:_a,CircleCheck:La,CircleCheckBig:xa,CircleCheckBigIcon:xa,CircleCheckIcon:La,CircleChevronDown:Ia,CircleChevronDownIcon:Ia,CircleChevronLeft:ba,CircleChevronLeftIcon:ba,CircleChevronRight:wa,CircleChevronRightIcon:wa,CircleChevronUp:Ca,CircleChevronUpIcon:Ca,CircleDashed:j0,CircleDashedIcon:j0,CircleDivide:Na,CircleDivideIcon:Na,CircleDollarSign:q0,CircleDollarSignIcon:q0,CircleDot:A0,CircleDotDashed:$0,CircleDotDashedIcon:$0,CircleDotIcon:A0,CircleEllipsis:z0,CircleEllipsisIcon:z0,CircleEqual:V0,CircleEqualIcon:V0,CircleFadingArrowUp:T0,CircleFadingArrowUpIcon:T0,CircleFadingPlus:P0,CircleFadingPlusIcon:P0,CircleGauge:Sa,CircleGaugeIcon:Sa,CircleHelp:tt,CircleHelpIcon:tt,CircleIcon:E0,CircleMinus:ja,CircleMinusIcon:ja,CircleOff:H0,CircleOffIcon:H0,CircleParking:Aa,CircleParkingIcon:Aa,CircleParkingOff:$a,CircleParkingOffIcon:$a,CirclePause:qa,CirclePauseIcon:qa,CirclePercent:za,CirclePercentIcon:za,CirclePlay:Va,CirclePlayIcon:Va,CirclePlus:Pa,CirclePlusIcon:Pa,CirclePoundSterling:D0,CirclePoundSterlingIcon:D0,CirclePower:Ta,CirclePowerIcon:Ta,CircleQuestionMark:tt,CircleQuestionMarkIcon:tt,CircleSlash:B0,CircleSlash2:Ha,CircleSlash2Icon:Ha,CircleSlashIcon:B0,CircleSlashed:Ha,CircleSlashedIcon:Ha,CircleSmall:R0,CircleSmallIcon:R0,CircleStar:F0,CircleStarIcon:F0,CircleStop:Da,CircleStopIcon:Da,CircleUser:Ra,CircleUserIcon:Ra,CircleUserRound:Ba,CircleUserRoundIcon:Ba,CircleX:_t,CircleXIcon:_t,CircuitBoard:O0,CircuitBoardIcon:O0,Citrus:U0,CitrusIcon:U0,Clapperboard:W0,ClapperboardIcon:W0,Clipboard:al,ClipboardCheck:G0,ClipboardCheckIcon:G0,ClipboardClock:Z0,ClipboardClockIcon:Z0,ClipboardCopy:K0,ClipboardCopyIcon:K0,ClipboardEdit:Ea,ClipboardEditIcon:Ea,ClipboardIcon:al,ClipboardList:X0,ClipboardListIcon:X0,ClipboardMinus:Y0,ClipboardMinusIcon:Y0,ClipboardPaste:J0,ClipboardPasteIcon:J0,ClipboardPen:Ea,ClipboardPenIcon:Ea,ClipboardPenLine:Fa,ClipboardPenLineIcon:Fa,ClipboardPlus:Q0,ClipboardPlusIcon:Q0,ClipboardSignature:Fa,ClipboardSignatureIcon:Fa,ClipboardType:el,ClipboardTypeIcon:el,ClipboardX:tl,ClipboardXIcon:tl,Clock:Ml,Clock1:ol,Clock10:nl,Clock10Icon:nl,Clock11:cl,Clock11Icon:cl,Clock12:il,Clock12Icon:il,Clock1Icon:ol,Clock2:rl,Clock2Icon:rl,Clock3:sl,Clock3Icon:sl,Clock4:dl,Clock4Icon:dl,Clock5:ll,Clock5Icon:ll,Clock6:hl,Clock6Icon:hl,Clock7:ul,Clock7Icon:ul,Clock8:pl,Clock8Icon:pl,Clock9:yl,Clock9Icon:yl,ClockAlert:kl,ClockAlertIcon:kl,ClockArrowDown:ml,ClockArrowDownIcon:ml,ClockArrowUp:fl,ClockArrowUpIcon:fl,ClockFading:gl,ClockFadingIcon:gl,ClockIcon:Ml,ClockPlus:vl,ClockPlusIcon:vl,ClosedCaption:_l,ClosedCaptionIcon:_l,Cloud:Tl,CloudAlert:xl,CloudAlertIcon:xl,CloudCheck:Ll,CloudCheckIcon:Ll,CloudCog:Il,CloudCogIcon:Il,CloudDownload:Oa,CloudDownloadIcon:Oa,CloudDrizzle:bl,CloudDrizzleIcon:bl,CloudFog:wl,CloudFogIcon:wl,CloudHail:Cl,CloudHailIcon:Cl,CloudIcon:Tl,CloudLightning:Nl,CloudLightningIcon:Nl,CloudMoon:jl,CloudMoonIcon:jl,CloudMoonRain:Sl,CloudMoonRainIcon:Sl,CloudOff:$l,CloudOffIcon:$l,CloudRain:Al,CloudRainIcon:Al,CloudRainWind:ql,CloudRainWindIcon:ql,CloudSnow:zl,CloudSnowIcon:zl,CloudSun:Pl,CloudSunIcon:Pl,CloudSunRain:Vl,CloudSunRainIcon:Vl,CloudUpload:Ua,CloudUploadIcon:Ua,Cloudy:Hl,CloudyIcon:Hl,Clover:Dl,CloverIcon:Dl,Club:Bl,ClubIcon:Bl,Code:Rl,Code2:Wa,Code2Icon:Wa,CodeIcon:Rl,CodeSquare:wo,CodeSquareIcon:wo,CodeXml:Wa,CodeXmlIcon:Wa,Codepen:Fl,CodepenIcon:Fl,Codesandbox:El,CodesandboxIcon:El,Coffee:Ol,CoffeeIcon:Ol,Cog:Ul,CogIcon:Ul,Coins:Wl,CoinsIcon:Wl,Columns:Ga,Columns2:Ga,Columns2Icon:Ga,Columns3:Za,Columns3Cog:at,Columns3CogIcon:at,Columns3Icon:Za,Columns4:Gl,Columns4Icon:Gl,ColumnsIcon:Ga,ColumnsSettings:at,ColumnsSettingsIcon:at,Combine:Zl,CombineIcon:Zl,Command:Kl,CommandIcon:Kl,Compass:Xl,CompassIcon:Xl,Component:Yl,ComponentIcon:Yl,Computer:Jl,ComputerIcon:Jl,ConciergeBell:Ql,ConciergeBellIcon:Ql,Cone:eh,ConeIcon:eh,Construction:th,ConstructionIcon:th,Contact:ah,Contact2:Ka,Contact2Icon:Ka,ContactIcon:ah,ContactRound:Ka,ContactRoundIcon:Ka,Container:nh,ContainerIcon:nh,Contrast:ch,ContrastIcon:ch,Cookie:oh,CookieIcon:oh,CookingPot:rh,CookingPotIcon:rh,Copy:uh,CopyCheck:ih,CopyCheckIcon:ih,CopyIcon:uh,CopyMinus:sh,CopyMinusIcon:sh,CopyPlus:dh,CopyPlusIcon:dh,CopySlash:lh,CopySlashIcon:lh,CopyX:hh,CopyXIcon:hh,Copyleft:ph,CopyleftIcon:ph,Copyright:yh,CopyrightIcon:yh,CornerDownLeft:kh,CornerDownLeftIcon:kh,CornerDownRight:mh,CornerDownRightIcon:mh,CornerLeftDown:fh,CornerLeftDownIcon:fh,CornerLeftUp:gh,CornerLeftUpIcon:gh,CornerRightDown:vh,CornerRightDownIcon:vh,CornerRightUp:Mh,CornerRightUpIcon:Mh,CornerUpLeft:_h,CornerUpLeftIcon:_h,CornerUpRight:xh,CornerUpRightIcon:xh,Cpu:Lh,CpuIcon:Lh,CreativeCommons:Ih,CreativeCommonsIcon:Ih,CreditCard:bh,CreditCardIcon:bh,Croissant:wh,CroissantIcon:wh,Crop:Ch,CropIcon:Ch,Cross:Nh,CrossIcon:Nh,Crosshair:Sh,CrosshairIcon:Sh,Crown:jh,CrownIcon:jh,Cuboid:$h,CuboidIcon:$h,CupSoda:qh,CupSodaIcon:qh,CurlyBraces:Jt,CurlyBracesIcon:Jt,Currency:Ah,CurrencyIcon:Ah,Cylinder:zh,CylinderIcon:zh,Dam:Vh,DamIcon:Vh,Database:Hh,DatabaseBackup:Ph,DatabaseBackupIcon:Ph,DatabaseIcon:Hh,DatabaseZap:Th,DatabaseZapIcon:Th,DecimalsArrowLeft:Dh,DecimalsArrowLeftIcon:Dh,DecimalsArrowRight:Bh,DecimalsArrowRightIcon:Bh,Delete:Rh,DeleteIcon:Rh,Dessert:Fh,DessertIcon:Fh,Diameter:Eh,DiameterIcon:Eh,Diamond:Wh,DiamondIcon:Wh,DiamondMinus:Oh,DiamondMinusIcon:Oh,DiamondPercent:Xa,DiamondPercentIcon:Xa,DiamondPlus:Uh,DiamondPlusIcon:Uh,Dice1:Gh,Dice1Icon:Gh,Dice2:Zh,Dice2Icon:Zh,Dice3:Kh,Dice3Icon:Kh,Dice4:Xh,Dice4Icon:Xh,Dice5:Yh,Dice5Icon:Yh,Dice6:Jh,Dice6Icon:Jh,Dices:Qh,DicesIcon:Qh,Diff:eu,DiffIcon:eu,Disc:ou,Disc2:tu,Disc2Icon:tu,Disc3:au,Disc3Icon:au,DiscAlbum:nu,DiscAlbumIcon:nu,DiscIcon:ou,Divide:cu,DivideCircle:Na,DivideCircleIcon:Na,DivideIcon:cu,DivideSquare:jo,DivideSquareIcon:jo,Dna:ru,DnaIcon:ru,DnaOff:iu,DnaOffIcon:iu,Dock:su,DockIcon:su,Dog:du,DogIcon:du,DollarSign:lu,DollarSignIcon:lu,Donut:hu,DonutIcon:hu,DoorClosed:pu,DoorClosedIcon:pu,DoorClosedLocked:uu,DoorClosedLockedIcon:uu,DoorOpen:yu,DoorOpenIcon:yu,Dot:ku,DotIcon:ku,DotSquare:qo,DotSquareIcon:qo,Download:fu,DownloadCloud:Oa,DownloadCloudIcon:Oa,DownloadIcon:fu,DraftingCompass:mu,DraftingCompassIcon:mu,Drama:gu,DramaIcon:gu,Dribbble:vu,DribbbleIcon:vu,Drill:Mu,DrillIcon:Mu,Drone:_u,DroneIcon:_u,Droplet:Lu,DropletIcon:Lu,DropletOff:xu,DropletOffIcon:xu,Droplets:Iu,DropletsIcon:Iu,Drum:bu,DrumIcon:bu,Drumstick:wu,DrumstickIcon:wu,Dumbbell:Cu,DumbbellIcon:Cu,Ear:Su,EarIcon:Su,EarOff:Nu,EarOffIcon:Nu,Earth:Ya,EarthIcon:Ya,EarthLock:ju,EarthLockIcon:ju,Eclipse:$u,EclipseIcon:$u,Edit:Pe,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Pe,Egg:zu,EggFried:qu,EggFriedIcon:qu,EggIcon:zu,EggOff:Au,EggOffIcon:Au,Ellipsis:Qa,EllipsisIcon:Qa,EllipsisVertical:Ja,EllipsisVerticalIcon:Ja,Equal:Tu,EqualApproximately:Vu,EqualApproximatelyIcon:Vu,EqualIcon:Tu,EqualNot:Pu,EqualNotIcon:Pu,EqualSquare:$o,EqualSquareIcon:$o,Eraser:Hu,EraserIcon:Hu,EthernetPort:Du,EthernetPortIcon:Du,Euro:Bu,EuroIcon:Bu,Expand:Fu,ExpandIcon:Fu,ExternalLink:Ru,ExternalLinkIcon:Ru,Eye:g1,EyeClosed:Eu,EyeClosedIcon:Eu,EyeIcon:g1,EyeOff:f1,EyeOffIcon:f1,Facebook:Ou,FacebookIcon:Ou,Factory:Uu,FactoryIcon:Uu,Fan:Wu,FanIcon:Wu,FastForward:Gu,FastForwardIcon:Gu,Feather:Zu,FeatherIcon:Zu,Fence:Ku,FenceIcon:Ku,FerrisWheel:Xu,FerrisWheelIcon:Xu,Figma:Yu,FigmaIcon:Yu,File:Up,FileArchive:Ju,FileArchiveIcon:Ju,FileAudio:ep,FileAudio2:Qu,FileAudio2Icon:Qu,FileAudioIcon:ep,FileAxis3D:en,FileAxis3DIcon:en,FileAxis3d:en,FileAxis3dIcon:en,FileBadge:np,FileBadge2:tp,FileBadge2Icon:tp,FileBadgeIcon:np,FileBarChart:tn,FileBarChart2:an,FileBarChart2Icon:an,FileBarChartIcon:tn,FileBox:ap,FileBoxIcon:ap,FileChartColumn:an,FileChartColumnIcon:an,FileChartColumnIncreasing:tn,FileChartColumnIncreasingIcon:tn,FileChartLine:nn,FileChartLineIcon:nn,FileChartPie:on,FileChartPieIcon:on,FileCheck:cp,FileCheck2:op,FileCheck2Icon:op,FileCheckIcon:cp,FileClock:ip,FileClockIcon:ip,FileCode:rp,FileCode2:sp,FileCode2Icon:sp,FileCodeIcon:rp,FileCog:cn,FileCog2:cn,FileCog2Icon:cn,FileCogIcon:cn,FileDiff:dp,FileDiffIcon:dp,FileDigit:lp,FileDigitIcon:lp,FileDown:hp,FileDownIcon:hp,FileEdit:sn,FileEditIcon:sn,FileHeart:up,FileHeartIcon:up,FileIcon:Up,FileImage:pp,FileImageIcon:pp,FileInput:yp,FileInputIcon:yp,FileJson:mp,FileJson2:kp,FileJson2Icon:kp,FileJsonIcon:mp,FileKey:gp,FileKey2:fp,FileKey2Icon:fp,FileKeyIcon:gp,FileLineChart:nn,FileLineChartIcon:nn,FileLock:Mp,FileLock2:vp,FileLock2Icon:vp,FileLockIcon:Mp,FileMinus:xp,FileMinus2:_p,FileMinus2Icon:_p,FileMinusIcon:xp,FileMusic:Lp,FileMusicIcon:Lp,FileOutput:Ip,FileOutputIcon:Ip,FilePen:sn,FilePenIcon:sn,FilePenLine:rn,FilePenLineIcon:rn,FilePieChart:on,FilePieChartIcon:on,FilePlay:dn,FilePlayIcon:dn,FilePlus:wp,FilePlus2:bp,FilePlus2Icon:bp,FilePlusIcon:wp,FileQuestion:ln,FileQuestionIcon:ln,FileQuestionMark:ln,FileQuestionMarkIcon:ln,FileScan:Cp,FileScanIcon:Cp,FileSearch:Sp,FileSearch2:Np,FileSearch2Icon:Np,FileSearchIcon:Sp,FileSignature:rn,FileSignatureIcon:rn,FileSliders:jp,FileSlidersIcon:jp,FileSpreadsheet:$p,FileSpreadsheetIcon:$p,FileStack:qp,FileStackIcon:qp,FileSymlink:Ap,FileSymlinkIcon:Ap,FileTerminal:zp,FileTerminalIcon:zp,FileText:Vp,FileTextIcon:Vp,FileType:Tp,FileType2:Pp,FileType2Icon:Pp,FileTypeIcon:Tp,FileUp:Hp,FileUpIcon:Hp,FileUser:Dp,FileUserIcon:Dp,FileVideo:dn,FileVideo2:hn,FileVideo2Icon:hn,FileVideoCamera:hn,FileVideoCameraIcon:hn,FileVideoIcon:dn,FileVolume:Rp,FileVolume2:Bp,FileVolume2Icon:Bp,FileVolumeIcon:Rp,FileWarning:Fp,FileWarningIcon:Fp,FileX:Op,FileX2:Ep,FileX2Icon:Ep,FileXIcon:Op,Files:Wp,FilesIcon:Wp,Film:Gp,FilmIcon:Gp,Filter:xt,FilterIcon:xt,FilterX:yn,FilterXIcon:yn,Fingerprint:Zp,FingerprintIcon:Zp,FireExtinguisher:Kp,FireExtinguisherIcon:Kp,Fish:Yp,FishIcon:Yp,FishOff:Xp,FishOffIcon:Xp,FishSymbol:Jp,FishSymbolIcon:Jp,Flag:ay,FlagIcon:ay,FlagOff:Qp,FlagOffIcon:Qp,FlagTriangleLeft:ey,FlagTriangleLeftIcon:ey,FlagTriangleRight:ty,FlagTriangleRightIcon:ty,Flame:oy,FlameIcon:oy,FlameKindling:ny,FlameKindlingIcon:ny,Flashlight:iy,FlashlightIcon:iy,FlashlightOff:cy,FlashlightOffIcon:cy,FlaskConical:sy,FlaskConicalIcon:sy,FlaskConicalOff:ry,FlaskConicalOffIcon:ry,FlaskRound:dy,FlaskRoundIcon:dy,FlipHorizontal:hy,FlipHorizontal2:ly,FlipHorizontal2Icon:ly,FlipHorizontalIcon:hy,FlipVertical:py,FlipVertical2:uy,FlipVertical2Icon:uy,FlipVerticalIcon:py,Flower:ky,Flower2:yy,Flower2Icon:yy,FlowerIcon:ky,Focus:my,FocusIcon:my,FoldHorizontal:fy,FoldHorizontalIcon:fy,FoldVertical:gy,FoldVerticalIcon:gy,Folder:v1,FolderArchive:vy,FolderArchiveIcon:vy,FolderCheck:My,FolderCheckIcon:My,FolderClock:_y,FolderClockIcon:_y,FolderClosed:xy,FolderClosedIcon:xy,FolderCode:Ly,FolderCodeIcon:Ly,FolderCog:un,FolderCog2:un,FolderCog2Icon:un,FolderCogIcon:un,FolderDot:Iy,FolderDotIcon:Iy,FolderDown:by,FolderDownIcon:by,FolderEdit:pn,FolderEditIcon:pn,FolderGit:Cy,FolderGit2:wy,FolderGit2Icon:wy,FolderGitIcon:Cy,FolderHeart:Ny,FolderHeartIcon:Ny,FolderIcon:v1,FolderInput:Sy,FolderInputIcon:Sy,FolderKanban:jy,FolderKanbanIcon:jy,FolderKey:$y,FolderKeyIcon:$y,FolderLock:qy,FolderLockIcon:qy,FolderMinus:Ay,FolderMinusIcon:Ay,FolderOpen:Vy,FolderOpenDot:zy,FolderOpenDotIcon:zy,FolderOpenIcon:Vy,FolderOutput:Py,FolderOutputIcon:Py,FolderPen:pn,FolderPenIcon:pn,FolderPlus:Uc,FolderPlusIcon:Uc,FolderRoot:Ty,FolderRootIcon:Ty,FolderSearch:Dy,FolderSearch2:Hy,FolderSearch2Icon:Hy,FolderSearchIcon:Dy,FolderSymlink:By,FolderSymlinkIcon:By,FolderSync:Ry,FolderSyncIcon:Ry,FolderTree:Fy,FolderTreeIcon:Fy,FolderUp:Ey,FolderUpIcon:Ey,FolderX:Oy,FolderXIcon:Oy,Folders:Uy,FoldersIcon:Uy,Footprints:Wy,FootprintsIcon:Wy,ForkKnife:gc,ForkKnifeCrossed:fc,ForkKnifeCrossedIcon:fc,ForkKnifeIcon:gc,Forklift:Gy,ForkliftIcon:Gy,FormInput:Kn,FormInputIcon:Kn,Forward:Zy,ForwardIcon:Zy,Frame:Ky,FrameIcon:Ky,Framer:Xy,FramerIcon:Xy,Frown:Yy,FrownIcon:Yy,Fuel:Jy,FuelIcon:Jy,Fullscreen:Qy,FullscreenIcon:Qy,FunctionSquare:Ao,FunctionSquareIcon:Ao,Funnel:xt,FunnelIcon:xt,FunnelPlus:e4,FunnelPlusIcon:e4,FunnelX:yn,FunnelXIcon:yn,GalleryHorizontal:a4,GalleryHorizontalEnd:t4,GalleryHorizontalEndIcon:t4,GalleryHorizontalIcon:a4,GalleryThumbnails:n4,GalleryThumbnailsIcon:n4,GalleryVertical:c4,GalleryVerticalEnd:o4,GalleryVerticalEndIcon:o4,GalleryVerticalIcon:c4,Gamepad:r4,Gamepad2:i4,Gamepad2Icon:i4,GamepadIcon:r4,GanttChart:la,GanttChartIcon:la,GanttChartSquare:ot,GanttChartSquareIcon:ot,Gauge:s4,GaugeCircle:Sa,GaugeCircleIcon:Sa,GaugeIcon:s4,Gavel:d4,GavelIcon:d4,Gem:l4,GemIcon:l4,GeorgianLari:h4,GeorgianLariIcon:h4,Ghost:u4,GhostIcon:u4,Gift:p4,GiftIcon:p4,GitBranch:k4,GitBranchIcon:k4,GitBranchPlus:y4,GitBranchPlusIcon:y4,GitCommit:kn,GitCommitHorizontal:kn,GitCommitHorizontalIcon:kn,GitCommitIcon:kn,GitCommitVertical:m4,GitCommitVerticalIcon:m4,GitCompare:g4,GitCompareArrows:f4,GitCompareArrowsIcon:f4,GitCompareIcon:g4,GitFork:v4,GitForkIcon:v4,GitGraph:M4,GitGraphIcon:M4,GitMerge:_4,GitMergeIcon:_4,GitPullRequest:C4,GitPullRequestArrow:x4,GitPullRequestArrowIcon:x4,GitPullRequestClosed:L4,GitPullRequestClosedIcon:L4,GitPullRequestCreate:b4,GitPullRequestCreateArrow:I4,GitPullRequestCreateArrowIcon:I4,GitPullRequestCreateIcon:b4,GitPullRequestDraft:w4,GitPullRequestDraftIcon:w4,GitPullRequestIcon:C4,Github:N4,GithubIcon:N4,Gitlab:S4,GitlabIcon:S4,GlassWater:j4,GlassWaterIcon:j4,Glasses:$4,GlassesIcon:$4,Globe:A4,Globe2:Ya,Globe2Icon:Ya,GlobeIcon:A4,GlobeLock:q4,GlobeLockIcon:q4,Goal:z4,GoalIcon:z4,Gpu:V4,GpuIcon:V4,Grab:Mn,GrabIcon:Mn,GraduationCap:P4,GraduationCapIcon:P4,Grape:T4,GrapeIcon:T4,Grid:nt,Grid2X2:vn,Grid2X2Check:mn,Grid2X2CheckIcon:mn,Grid2X2Icon:vn,Grid2X2Plus:fn,Grid2X2PlusIcon:fn,Grid2X2X:gn,Grid2X2XIcon:gn,Grid2x2:vn,Grid2x2Check:mn,Grid2x2CheckIcon:mn,Grid2x2Icon:vn,Grid2x2Plus:fn,Grid2x2PlusIcon:fn,Grid2x2X:gn,Grid2x2XIcon:gn,Grid3X3:nt,Grid3X3Icon:nt,Grid3x2:H4,Grid3x2Icon:H4,Grid3x3:nt,Grid3x3Icon:nt,GridIcon:nt,Grip:B4,GripHorizontal:D4,GripHorizontalIcon:D4,GripIcon:B4,GripVertical:M1,GripVerticalIcon:M1,Group:R4,GroupIcon:R4,Guitar:F4,GuitarIcon:F4,Ham:E4,HamIcon:E4,Hamburger:O4,HamburgerIcon:O4,Hammer:U4,HammerIcon:U4,Hand:Y4,HandCoins:W4,HandCoinsIcon:W4,HandFist:G4,HandFistIcon:G4,HandGrab:Mn,HandGrabIcon:Mn,HandHeart:Z4,HandHeartIcon:Z4,HandHelping:_n,HandHelpingIcon:_n,HandIcon:Y4,HandMetal:K4,HandMetalIcon:K4,HandPlatter:X4,HandPlatterIcon:X4,Handbag:J4,HandbagIcon:J4,Handshake:Q4,HandshakeIcon:Q4,HardDrive:a5,HardDriveDownload:e5,HardDriveDownloadIcon:e5,HardDriveIcon:a5,HardDriveUpload:t5,HardDriveUploadIcon:t5,HardHat:n5,HardHatIcon:n5,Hash:o5,HashIcon:o5,HatGlasses:c5,HatGlassesIcon:c5,Haze:i5,HazeIcon:i5,HdmiPort:r5,HdmiPortIcon:r5,Heading:y5,Heading1:s5,Heading1Icon:s5,Heading2:d5,Heading2Icon:d5,Heading3:l5,Heading3Icon:l5,Heading4:h5,Heading4Icon:h5,Heading5:u5,Heading5Icon:u5,Heading6:p5,Heading6Icon:p5,HeadingIcon:y5,HeadphoneOff:k5,HeadphoneOffIcon:k5,Headphones:m5,HeadphonesIcon:m5,Headset:f5,HeadsetIcon:f5,Heart:I5,HeartCrack:g5,HeartCrackIcon:g5,HeartHandshake:v5,HeartHandshakeIcon:v5,HeartIcon:I5,HeartMinus:M5,HeartMinusIcon:M5,HeartOff:_5,HeartOffIcon:_5,HeartPlus:x5,HeartPlusIcon:x5,HeartPulse:L5,HeartPulseIcon:L5,Heater:b5,HeaterIcon:b5,HelpCircle:tt,HelpCircleIcon:tt,HelpingHand:_n,HelpingHandIcon:_n,Hexagon:w5,HexagonIcon:w5,Highlighter:C5,HighlighterIcon:C5,History:N5,HistoryIcon:N5,Home:Lt,HomeIcon:Lt,Hop:j5,HopIcon:j5,HopOff:S5,HopOffIcon:S5,Hospital:_1,HospitalIcon:_1,Hotel:$5,HotelIcon:$5,Hourglass:q5,HourglassIcon:q5,House:Lt,HouseIcon:Lt,HousePlug:A5,HousePlugIcon:A5,HousePlus:V5,HousePlusIcon:V5,HouseWifi:z5,HouseWifiIcon:z5,IceCream:Ln,IceCream2:xn,IceCream2Icon:xn,IceCreamBowl:xn,IceCreamBowlIcon:xn,IceCreamCone:Ln,IceCreamConeIcon:Ln,IceCreamIcon:Ln,Icon:a.Icon,IdCard:T5,IdCardIcon:T5,IdCardLanyard:P5,IdCardLanyardIcon:P5,Image:U5,ImageDown:H5,ImageDownIcon:H5,ImageIcon:U5,ImageMinus:D5,ImageMinusIcon:D5,ImageOff:B5,ImageOffIcon:B5,ImagePlay:R5,ImagePlayIcon:R5,ImagePlus:F5,ImagePlusIcon:F5,ImageUp:E5,ImageUpIcon:E5,ImageUpscale:O5,ImageUpscaleIcon:O5,Images:W5,ImagesIcon:W5,Import:G5,ImportIcon:G5,Inbox:Z5,InboxIcon:Z5,Indent:bn,IndentDecrease:In,IndentDecreaseIcon:In,IndentIcon:bn,IndentIncrease:bn,IndentIncreaseIcon:bn,IndianRupee:K5,IndianRupeeIcon:K5,Infinity:X5,InfinityIcon:X5,Info:Y5,InfoIcon:Y5,Inspect:Bo,InspectIcon:Bo,InspectionPanel:J5,InspectionPanelIcon:J5,Instagram:Q5,InstagramIcon:Q5,Italic:ek,ItalicIcon:ek,IterationCcw:tk,IterationCcwIcon:tk,IterationCw:ak,IterationCwIcon:ak,JapaneseYen:ok,JapaneseYenIcon:ok,Joystick:nk,JoystickIcon:nk,Kanban:ck,KanbanIcon:ck,KanbanSquare:zo,KanbanSquareDashed:Co,KanbanSquareDashedIcon:Co,KanbanSquareIcon:zo,Kayak:ik,KayakIcon:ik,Key:dk,KeyIcon:dk,KeyRound:rk,KeyRoundIcon:rk,KeySquare:sk,KeySquareIcon:sk,Keyboard:uk,KeyboardIcon:uk,KeyboardMusic:lk,KeyboardMusicIcon:lk,KeyboardOff:hk,KeyboardOffIcon:hk,Lamp:gk,LampCeiling:pk,LampCeilingIcon:pk,LampDesk:kk,LampDeskIcon:kk,LampFloor:yk,LampFloorIcon:yk,LampIcon:gk,LampWallDown:mk,LampWallDownIcon:mk,LampWallUp:fk,LampWallUpIcon:fk,LandPlot:vk,LandPlotIcon:vk,Landmark:Mk,LandmarkIcon:Mk,Languages:_k,LanguagesIcon:_k,Laptop:Lk,Laptop2:wn,Laptop2Icon:wn,LaptopIcon:Lk,LaptopMinimal:wn,LaptopMinimalCheck:xk,LaptopMinimalCheckIcon:xk,LaptopMinimalIcon:wn,Lasso:bk,LassoIcon:bk,LassoSelect:Ik,LassoSelectIcon:Ik,Laugh:wk,LaughIcon:wk,Layers:Cn,Layers2:Ck,Layers2Icon:Ck,Layers3:Cn,Layers3Icon:Cn,LayersIcon:Cn,Layout:Gn,LayoutDashboard:Nk,LayoutDashboardIcon:Nk,LayoutGrid:Sk,LayoutGridIcon:Sk,LayoutIcon:Gn,LayoutList:jk,LayoutListIcon:jk,LayoutPanelLeft:$k,LayoutPanelLeftIcon:$k,LayoutPanelTop:qk,LayoutPanelTopIcon:qk,LayoutTemplate:Ak,LayoutTemplateIcon:Ak,Leaf:zk,LeafIcon:zk,LeafyGreen:Pk,LeafyGreenIcon:Pk,Lectern:Vk,LecternIcon:Vk,LetterText:Tk,LetterTextIcon:Tk,Library:Dk,LibraryBig:Hk,LibraryBigIcon:Hk,LibraryIcon:Dk,LibrarySquare:Vo,LibrarySquareIcon:Vo,LifeBuoy:Bk,LifeBuoyIcon:Bk,Ligature:Rk,LigatureIcon:Rk,Lightbulb:Ek,LightbulbIcon:Ek,LightbulbOff:Fk,LightbulbOffIcon:Fk,LineChart:ra,LineChartIcon:ra,LineSquiggle:Ok,LineSquiggleIcon:Ok,Link:Gk,Link2:Uk,Link2Icon:Uk,Link2Off:Wk,Link2OffIcon:Wk,LinkIcon:Gk,Linkedin:Zk,LinkedinIcon:Zk,List:h3,ListCheck:Kk,ListCheckIcon:Kk,ListChecks:Xk,ListChecksIcon:Xk,ListCollapse:Yk,ListCollapseIcon:Yk,ListEnd:Jk,ListEndIcon:Jk,ListFilter:t3,ListFilterIcon:t3,ListFilterPlus:Qk,ListFilterPlusIcon:Qk,ListIcon:h3,ListMinus:e3,ListMinusIcon:e3,ListMusic:a3,ListMusicIcon:a3,ListOrdered:n3,ListOrderedIcon:n3,ListPlus:o3,ListPlusIcon:o3,ListRestart:c3,ListRestartIcon:c3,ListStart:i3,ListStartIcon:i3,ListTodo:r3,ListTodoIcon:r3,ListTree:s3,ListTreeIcon:s3,ListVideo:d3,ListVideoIcon:d3,ListX:l3,ListXIcon:l3,Loader:p3,Loader2:Nn,Loader2Icon:Nn,LoaderCircle:Nn,LoaderCircleIcon:Nn,LoaderIcon:p3,LoaderPinwheel:u3,LoaderPinwheelIcon:u3,Locate:m3,LocateFixed:y3,LocateFixedIcon:y3,LocateIcon:m3,LocateOff:k3,LocateOffIcon:k3,LocationEdit:qn,LocationEditIcon:qn,Lock:g3,LockIcon:g3,LockKeyhole:f3,LockKeyholeIcon:f3,LockKeyholeOpen:Sn,LockKeyholeOpenIcon:Sn,LockOpen:jn,LockOpenIcon:jn,LogIn:v3,LogInIcon:v3,LogOut:M3,LogOutIcon:M3,Logs:_3,LogsIcon:_3,Lollipop:x3,LollipopIcon:x3,LucideAArrowDown:Y1,LucideAArrowUp:J1,LucideALargeSmall:Q1,LucideAccessibility:u1,LucideActivity:p1,LucideActivitySquare:It,LucideAirVent:ei,LucideAirplay:ti,LucideAlarmCheck:Tt,LucideAlarmClock:ni,LucideAlarmClockCheck:Tt,LucideAlarmClockMinus:Ht,LucideAlarmClockOff:ai,LucideAlarmClockPlus:Dt,LucideAlarmMinus:Ht,LucideAlarmPlus:Dt,LucideAlarmSmoke:oi,LucideAlbum:ci,LucideAlertCircle:pa,LucideAlertOctagon:Pn,LucideAlertTriangle:rc,LucideAlignCenter:hi,LucideAlignCenterHorizontal:ii,LucideAlignCenterVertical:ri,LucideAlignEndHorizontal:si,LucideAlignEndVertical:di,LucideAlignHorizontalDistributeCenter:li,LucideAlignHorizontalDistributeEnd:ui,LucideAlignHorizontalDistributeStart:pi,LucideAlignHorizontalJustifyCenter:yi,LucideAlignHorizontalJustifyEnd:ki,LucideAlignHorizontalJustifyStart:mi,LucideAlignHorizontalSpaceAround:fi,LucideAlignHorizontalSpaceBetween:vi,LucideAlignJustify:gi,LucideAlignLeft:Mi,LucideAlignRight:_i,LucideAlignStartHorizontal:xi,LucideAlignStartVertical:Li,LucideAlignVerticalDistributeCenter:bi,LucideAlignVerticalDistributeEnd:Ii,LucideAlignVerticalDistributeStart:Ci,LucideAlignVerticalJustifyCenter:wi,LucideAlignVerticalJustifyEnd:Ni,LucideAlignVerticalJustifyStart:Si,LucideAlignVerticalSpaceAround:$i,LucideAlignVerticalSpaceBetween:ji,LucideAmbulance:qi,LucideAmpersand:Ai,LucideAmpersands:zi,LucideAmphora:Vi,LucideAnchor:Pi,LucideAngry:Ti,LucideAnnoyed:Hi,LucideAntenna:Di,LucideAnvil:Bi,LucideAperture:Ri,LucideAppWindow:Ei,LucideAppWindowMac:Fi,LucideApple:Oi,LucideArchive:Gi,LucideArchiveRestore:Ui,LucideArchiveX:Wi,LucideAreaChart:ea,LucideArmchair:Zi,LucideArrowBigDown:Xi,LucideArrowBigDownDash:Ki,LucideArrowBigLeft:Ji,LucideArrowBigLeftDash:Yi,LucideArrowBigRight:er,LucideArrowBigRightDash:Qi,LucideArrowBigUp:ar,LucideArrowBigUpDash:tr,LucideArrowDown:ur,LucideArrowDown01:nr,LucideArrowDown10:or,LucideArrowDownAZ:Bt,LucideArrowDownAz:Bt,LucideArrowDownCircle:ya,LucideArrowDownFromLine:cr,LucideArrowDownLeft:ir,LucideArrowDownLeftFromCircle:ma,LucideArrowDownLeftFromSquare:lo,LucideArrowDownLeftSquare:co,LucideArrowDownNarrowWide:rr,LucideArrowDownRight:sr,LucideArrowDownRightFromCircle:fa,LucideArrowDownRightFromSquare:ho,LucideArrowDownRightSquare:io,LucideArrowDownSquare:ro,LucideArrowDownToDot:dr,LucideArrowDownToLine:lr,LucideArrowDownUp:hr,LucideArrowDownWideNarrow:Rt,LucideArrowDownZA:Ft,LucideArrowDownZa:Ft,LucideArrowLeft:mr,LucideArrowLeftCircle:ka,LucideArrowLeftFromLine:pr,LucideArrowLeftRight:yr,LucideArrowLeftSquare:so,LucideArrowLeftToLine:kr,LucideArrowRight:Mr,LucideArrowRightCircle:Ma,LucideArrowRightFromLine:fr,LucideArrowRightLeft:gr,LucideArrowRightSquare:yo,LucideArrowRightToLine:vr,LucideArrowUp:jr,LucideArrowUp01:_r,LucideArrowUp10:xr,LucideArrowUpAZ:Et,LucideArrowUpAz:Et,LucideArrowUpCircle:_a,LucideArrowUpDown:Lr,LucideArrowUpFromDot:Ir,LucideArrowUpFromLine:br,LucideArrowUpLeft:wr,LucideArrowUpLeftFromCircle:ga,LucideArrowUpLeftFromSquare:uo,LucideArrowUpLeftSquare:ko,LucideArrowUpNarrowWide:Ot,LucideArrowUpRight:Cr,LucideArrowUpRightFromCircle:va,LucideArrowUpRightFromSquare:po,LucideArrowUpRightSquare:mo,LucideArrowUpSquare:fo,LucideArrowUpToLine:Nr,LucideArrowUpWideNarrow:Sr,LucideArrowUpZA:Ut,LucideArrowUpZa:Ut,LucideArrowsUpFromLine:$r,LucideAsterisk:qr,LucideAsteriskSquare:go,LucideAtSign:Ar,LucideAtom:zr,LucideAudioLines:Vr,LucideAudioWaveform:Pr,LucideAward:Tr,LucideAxe:Hr,LucideAxis3D:Wt,LucideAxis3d:Wt,LucideBaby:Dr,LucideBackpack:Br,LucideBadge:as,LucideBadgeAlert:Rr,LucideBadgeCent:Fr,LucideBadgeCheck:Gt,LucideBadgeDollarSign:Er,LucideBadgeEuro:Or,LucideBadgeHelp:Zt,LucideBadgeIndianRupee:Ur,LucideBadgeInfo:Wr,LucideBadgeJapaneseYen:Zr,LucideBadgeMinus:Gr,LucideBadgePercent:Kr,LucideBadgePlus:Xr,LucideBadgePoundSterling:Yr,LucideBadgeQuestionMark:Zt,LucideBadgeRussianRuble:Jr,LucideBadgeSwissFranc:Qr,LucideBadgeTurkishLira:es,LucideBadgeX:ts,LucideBaggageClaim:ns,LucideBan:os,LucideBanana:cs,LucideBandage:is,LucideBanknote:ls,LucideBanknoteArrowDown:rs,LucideBanknoteArrowUp:ss,LucideBanknoteX:ds,LucideBarChart:sa,LucideBarChart2:da,LucideBarChart3:ia,LucideBarChart4:ca,LucideBarChartBig:oa,LucideBarChartHorizontal:aa,LucideBarChartHorizontalBig:ta,LucideBarcode:hs,LucideBarrel:us,LucideBaseline:ps,LucideBath:ys,LucideBattery:_s,LucideBatteryCharging:ks,LucideBatteryFull:ms,LucideBatteryLow:fs,LucideBatteryMedium:gs,LucideBatteryPlus:vs,LucideBatteryWarning:Ms,LucideBeaker:xs,LucideBean:Is,LucideBeanOff:Ls,LucideBed:Cs,LucideBedDouble:bs,LucideBedSingle:ws,LucideBeef:Ns,LucideBeer:js,LucideBeerOff:Ss,LucideBell:Ps,LucideBellDot:$s,LucideBellElectric:qs,LucideBellMinus:As,LucideBellOff:zs,LucideBellPlus:Vs,LucideBellRing:Ts,LucideBetweenHorizonalEnd:Kt,LucideBetweenHorizonalStart:Xt,LucideBetweenHorizontalEnd:Kt,LucideBetweenHorizontalStart:Xt,LucideBetweenVerticalEnd:Ds,LucideBetweenVerticalStart:Hs,LucideBicepsFlexed:Bs,LucideBike:Fs,LucideBinary:Rs,LucideBinoculars:Es,LucideBiohazard:Os,LucideBird:Us,LucideBitcoin:Ws,LucideBlend:Gs,LucideBlinds:Zs,LucideBlocks:Ks,LucideBluetooth:Qs,LucideBluetoothConnected:Xs,LucideBluetoothOff:Ys,LucideBluetoothSearching:Js,LucideBold:e2,LucideBolt:t2,LucideBomb:a2,LucideBone:n2,LucideBook:C2,LucideBookA:o2,LucideBookAlert:c2,LucideBookAudio:i2,LucideBookCheck:r2,LucideBookCopy:s2,LucideBookDashed:Yt,LucideBookDown:d2,LucideBookHeadphones:l2,LucideBookHeart:h2,LucideBookImage:u2,LucideBookKey:p2,LucideBookLock:y2,LucideBookMarked:m2,LucideBookMinus:k2,LucideBookOpen:v2,LucideBookOpenCheck:f2,LucideBookOpenText:g2,LucideBookPlus:M2,LucideBookTemplate:Yt,LucideBookText:_2,LucideBookType:x2,LucideBookUp:I2,LucideBookUp2:L2,LucideBookUser:b2,LucideBookX:w2,LucideBookmark:q2,LucideBookmarkCheck:N2,LucideBookmarkMinus:S2,LucideBookmarkPlus:j2,LucideBookmarkX:$2,LucideBoomBox:A2,LucideBot:P2,LucideBotMessageSquare:z2,LucideBotOff:V2,LucideBottleWine:T2,LucideBowArrow:H2,LucideBox:D2,LucideBoxSelect:So,LucideBoxes:B2,LucideBraces:Jt,LucideBrackets:R2,LucideBrain:O2,LucideBrainCircuit:F2,LucideBrainCog:E2,LucideBrickWall:G2,LucideBrickWallFire:U2,LucideBrickWallShield:W2,LucideBriefcase:Y2,LucideBriefcaseBusiness:Z2,LucideBriefcaseConveyorBelt:K2,LucideBriefcaseMedical:X2,LucideBringToFront:J2,LucideBrush:ed,LucideBrushCleaning:Q2,LucideBubbles:td,LucideBug:cd,LucideBugOff:ad,LucideBugPlay:nd,LucideBuilding:id,LucideBuilding2:od,LucideBus:sd,LucideBusFront:rd,LucideCable:ld,LucideCableCar:dd,LucideCake:ud,LucideCakeSlice:hd,LucideCalculator:pd,LucideCalendar:y1,LucideCalendar1:yd,LucideCalendarArrowDown:kd,LucideCalendarArrowUp:md,LucideCalendarCheck:gd,LucideCalendarCheck2:fd,LucideCalendarClock:vd,LucideCalendarCog:Md,LucideCalendarDays:_d,LucideCalendarFold:xd,LucideCalendarHeart:Ld,LucideCalendarMinus:bd,LucideCalendarMinus2:Id,LucideCalendarOff:wd,LucideCalendarPlus:Nd,LucideCalendarPlus2:Cd,LucideCalendarRange:Sd,LucideCalendarSearch:jd,LucideCalendarSync:$d,LucideCalendarX:Ad,LucideCalendarX2:qd,LucideCamera:Vd,LucideCameraOff:zd,LucideCandlestickChart:na,LucideCandy:Hd,LucideCandyCane:Pd,LucideCandyOff:Td,LucideCannabis:Dd,LucideCaptions:Qt,LucideCaptionsOff:Bd,LucideCar:Ed,LucideCarFront:Rd,LucideCarTaxiFront:Fd,LucideCaravan:Od,LucideCardSim:Ud,LucideCarrot:Wd,LucideCaseLower:Gd,LucideCaseSensitive:Zd,LucideCaseUpper:Kd,LucideCassetteTape:Xd,LucideCast:Yd,LucideCastle:Qd,LucideCat:Jd,LucideCctv:e0,LucideChartArea:ea,LucideChartBar:aa,LucideChartBarBig:ta,LucideChartBarDecreasing:t0,LucideChartBarIncreasing:a0,LucideChartBarStacked:n0,LucideChartCandlestick:na,LucideChartColumn:ia,LucideChartColumnBig:oa,LucideChartColumnDecreasing:o0,LucideChartColumnIncreasing:ca,LucideChartColumnStacked:c0,LucideChartGantt:i0,LucideChartLine:ra,LucideChartNetwork:r0,LucideChartNoAxesColumn:da,LucideChartNoAxesColumnDecreasing:s0,LucideChartNoAxesColumnIncreasing:sa,LucideChartNoAxesCombined:d0,LucideChartNoAxesGantt:la,LucideChartPie:ha,LucideChartScatter:ua,LucideChartSpline:l0,LucideCheck:k1,LucideCheckCheck:h0,LucideCheckCircle:xa,LucideCheckCircle2:La,LucideCheckLine:u0,LucideCheckSquare:Mo,LucideCheckSquare2:_o,LucideChefHat:p0,LucideCherry:y0,LucideChevronDown:Nt,LucideChevronDownCircle:Ia,LucideChevronDownSquare:xo,LucideChevronFirst:k0,LucideChevronLast:m0,LucideChevronLeft:f0,LucideChevronLeftCircle:ba,LucideChevronLeftSquare:Lo,LucideChevronRight:m1,LucideChevronRightCircle:wa,LucideChevronRightSquare:Io,LucideChevronUp:bc,LucideChevronUpCircle:Ca,LucideChevronUpSquare:bo,LucideChevronsDown:v0,LucideChevronsDownUp:g0,LucideChevronsLeft:_0,LucideChevronsLeftRight:M0,LucideChevronsLeftRightEllipsis:x0,LucideChevronsRight:I0,LucideChevronsRightLeft:L0,LucideChevronsUp:b0,LucideChevronsUpDown:Oc,LucideChrome:w0,LucideChurch:C0,LucideCigarette:S0,LucideCigaretteOff:N0,LucideCircle:E0,LucideCircleAlert:pa,LucideCircleArrowDown:ya,LucideCircleArrowLeft:ka,LucideCircleArrowOutDownLeft:ma,LucideCircleArrowOutDownRight:fa,LucideCircleArrowOutUpLeft:ga,LucideCircleArrowOutUpRight:va,LucideCircleArrowRight:Ma,LucideCircleArrowUp:_a,LucideCircleCheck:La,LucideCircleCheckBig:xa,LucideCircleChevronDown:Ia,LucideCircleChevronLeft:ba,LucideCircleChevronRight:wa,LucideCircleChevronUp:Ca,LucideCircleDashed:j0,LucideCircleDivide:Na,LucideCircleDollarSign:q0,LucideCircleDot:A0,LucideCircleDotDashed:$0,LucideCircleEllipsis:z0,LucideCircleEqual:V0,LucideCircleFadingArrowUp:T0,LucideCircleFadingPlus:P0,LucideCircleGauge:Sa,LucideCircleHelp:tt,LucideCircleMinus:ja,LucideCircleOff:H0,LucideCircleParking:Aa,LucideCircleParkingOff:$a,LucideCirclePause:qa,LucideCirclePercent:za,LucideCirclePlay:Va,LucideCirclePlus:Pa,LucideCirclePoundSterling:D0,LucideCirclePower:Ta,LucideCircleQuestionMark:tt,LucideCircleSlash:B0,LucideCircleSlash2:Ha,LucideCircleSlashed:Ha,LucideCircleSmall:R0,LucideCircleStar:F0,LucideCircleStop:Da,LucideCircleUser:Ra,LucideCircleUserRound:Ba,LucideCircleX:_t,LucideCircuitBoard:O0,LucideCitrus:U0,LucideClapperboard:W0,LucideClipboard:al,LucideClipboardCheck:G0,LucideClipboardClock:Z0,LucideClipboardCopy:K0,LucideClipboardEdit:Ea,LucideClipboardList:X0,LucideClipboardMinus:Y0,LucideClipboardPaste:J0,LucideClipboardPen:Ea,LucideClipboardPenLine:Fa,LucideClipboardPlus:Q0,LucideClipboardSignature:Fa,LucideClipboardType:el,LucideClipboardX:tl,LucideClock:Ml,LucideClock1:ol,LucideClock10:nl,LucideClock11:cl,LucideClock12:il,LucideClock2:rl,LucideClock3:sl,LucideClock4:dl,LucideClock5:ll,LucideClock6:hl,LucideClock7:ul,LucideClock8:pl,LucideClock9:yl,LucideClockAlert:kl,LucideClockArrowDown:ml,LucideClockArrowUp:fl,LucideClockFading:gl,LucideClockPlus:vl,LucideClosedCaption:_l,LucideCloud:Tl,LucideCloudAlert:xl,LucideCloudCheck:Ll,LucideCloudCog:Il,LucideCloudDownload:Oa,LucideCloudDrizzle:bl,LucideCloudFog:wl,LucideCloudHail:Cl,LucideCloudLightning:Nl,LucideCloudMoon:jl,LucideCloudMoonRain:Sl,LucideCloudOff:$l,LucideCloudRain:Al,LucideCloudRainWind:ql,LucideCloudSnow:zl,LucideCloudSun:Pl,LucideCloudSunRain:Vl,LucideCloudUpload:Ua,LucideCloudy:Hl,LucideClover:Dl,LucideClub:Bl,LucideCode:Rl,LucideCode2:Wa,LucideCodeSquare:wo,LucideCodeXml:Wa,LucideCodepen:Fl,LucideCodesandbox:El,LucideCoffee:Ol,LucideCog:Ul,LucideCoins:Wl,LucideColumns:Ga,LucideColumns2:Ga,LucideColumns3:Za,LucideColumns3Cog:at,LucideColumns4:Gl,LucideColumnsSettings:at,LucideCombine:Zl,LucideCommand:Kl,LucideCompass:Xl,LucideComponent:Yl,LucideComputer:Jl,LucideConciergeBell:Ql,LucideCone:eh,LucideConstruction:th,LucideContact:ah,LucideContact2:Ka,LucideContactRound:Ka,LucideContainer:nh,LucideContrast:ch,LucideCookie:oh,LucideCookingPot:rh,LucideCopy:uh,LucideCopyCheck:ih,LucideCopyMinus:sh,LucideCopyPlus:dh,LucideCopySlash:lh,LucideCopyX:hh,LucideCopyleft:ph,LucideCopyright:yh,LucideCornerDownLeft:kh,LucideCornerDownRight:mh,LucideCornerLeftDown:fh,LucideCornerLeftUp:gh,LucideCornerRightDown:vh,LucideCornerRightUp:Mh,LucideCornerUpLeft:_h,LucideCornerUpRight:xh,LucideCpu:Lh,LucideCreativeCommons:Ih,LucideCreditCard:bh,LucideCroissant:wh,LucideCrop:Ch,LucideCross:Nh,LucideCrosshair:Sh,LucideCrown:jh,LucideCuboid:$h,LucideCupSoda:qh,LucideCurlyBraces:Jt,LucideCurrency:Ah,LucideCylinder:zh,LucideDam:Vh,LucideDatabase:Hh,LucideDatabaseBackup:Ph,LucideDatabaseZap:Th,LucideDecimalsArrowLeft:Dh,LucideDecimalsArrowRight:Bh,LucideDelete:Rh,LucideDessert:Fh,LucideDiameter:Eh,LucideDiamond:Wh,LucideDiamondMinus:Oh,LucideDiamondPercent:Xa,LucideDiamondPlus:Uh,LucideDice1:Gh,LucideDice2:Zh,LucideDice3:Kh,LucideDice4:Xh,LucideDice5:Yh,LucideDice6:Jh,LucideDices:Qh,LucideDiff:eu,LucideDisc:ou,LucideDisc2:tu,LucideDisc3:au,LucideDiscAlbum:nu,LucideDivide:cu,LucideDivideCircle:Na,LucideDivideSquare:jo,LucideDna:ru,LucideDnaOff:iu,LucideDock:su,LucideDog:du,LucideDollarSign:lu,LucideDonut:hu,LucideDoorClosed:pu,LucideDoorClosedLocked:uu,LucideDoorOpen:yu,LucideDot:ku,LucideDotSquare:qo,LucideDownload:fu,LucideDownloadCloud:Oa,LucideDraftingCompass:mu,LucideDrama:gu,LucideDribbble:vu,LucideDrill:Mu,LucideDrone:_u,LucideDroplet:Lu,LucideDropletOff:xu,LucideDroplets:Iu,LucideDrum:bu,LucideDrumstick:wu,LucideDumbbell:Cu,LucideEar:Su,LucideEarOff:Nu,LucideEarth:Ya,LucideEarthLock:ju,LucideEclipse:$u,LucideEdit:Pe,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:zu,LucideEggFried:qu,LucideEggOff:Au,LucideEllipsis:Qa,LucideEllipsisVertical:Ja,LucideEqual:Tu,LucideEqualApproximately:Vu,LucideEqualNot:Pu,LucideEqualSquare:$o,LucideEraser:Hu,LucideEthernetPort:Du,LucideEuro:Bu,LucideExpand:Fu,LucideExternalLink:Ru,LucideEye:g1,LucideEyeClosed:Eu,LucideEyeOff:f1,LucideFacebook:Ou,LucideFactory:Uu,LucideFan:Wu,LucideFastForward:Gu,LucideFeather:Zu,LucideFence:Ku,LucideFerrisWheel:Xu,LucideFigma:Yu,LucideFile:Up,LucideFileArchive:Ju,LucideFileAudio:ep,LucideFileAudio2:Qu,LucideFileAxis3D:en,LucideFileAxis3d:en,LucideFileBadge:np,LucideFileBadge2:tp,LucideFileBarChart:tn,LucideFileBarChart2:an,LucideFileBox:ap,LucideFileChartColumn:an,LucideFileChartColumnIncreasing:tn,LucideFileChartLine:nn,LucideFileChartPie:on,LucideFileCheck:cp,LucideFileCheck2:op,LucideFileClock:ip,LucideFileCode:rp,LucideFileCode2:sp,LucideFileCog:cn,LucideFileCog2:cn,LucideFileDiff:dp,LucideFileDigit:lp,LucideFileDown:hp,LucideFileEdit:sn,LucideFileHeart:up,LucideFileImage:pp,LucideFileInput:yp,LucideFileJson:mp,LucideFileJson2:kp,LucideFileKey:gp,LucideFileKey2:fp,LucideFileLineChart:nn,LucideFileLock:Mp,LucideFileLock2:vp,LucideFileMinus:xp,LucideFileMinus2:_p,LucideFileMusic:Lp,LucideFileOutput:Ip,LucideFilePen:sn,LucideFilePenLine:rn,LucideFilePieChart:on,LucideFilePlay:dn,LucideFilePlus:wp,LucideFilePlus2:bp,LucideFileQuestion:ln,LucideFileQuestionMark:ln,LucideFileScan:Cp,LucideFileSearch:Sp,LucideFileSearch2:Np,LucideFileSignature:rn,LucideFileSliders:jp,LucideFileSpreadsheet:$p,LucideFileStack:qp,LucideFileSymlink:Ap,LucideFileTerminal:zp,LucideFileText:Vp,LucideFileType:Tp,LucideFileType2:Pp,LucideFileUp:Hp,LucideFileUser:Dp,LucideFileVideo:dn,LucideFileVideo2:hn,LucideFileVideoCamera:hn,LucideFileVolume:Rp,LucideFileVolume2:Bp,LucideFileWarning:Fp,LucideFileX:Op,LucideFileX2:Ep,LucideFiles:Wp,LucideFilm:Gp,LucideFilter:xt,LucideFilterX:yn,LucideFingerprint:Zp,LucideFireExtinguisher:Kp,LucideFish:Yp,LucideFishOff:Xp,LucideFishSymbol:Jp,LucideFlag:ay,LucideFlagOff:Qp,LucideFlagTriangleLeft:ey,LucideFlagTriangleRight:ty,LucideFlame:oy,LucideFlameKindling:ny,LucideFlashlight:iy,LucideFlashlightOff:cy,LucideFlaskConical:sy,LucideFlaskConicalOff:ry,LucideFlaskRound:dy,LucideFlipHorizontal:hy,LucideFlipHorizontal2:ly,LucideFlipVertical:py,LucideFlipVertical2:uy,LucideFlower:ky,LucideFlower2:yy,LucideFocus:my,LucideFoldHorizontal:fy,LucideFoldVertical:gy,LucideFolder:v1,LucideFolderArchive:vy,LucideFolderCheck:My,LucideFolderClock:_y,LucideFolderClosed:xy,LucideFolderCode:Ly,LucideFolderCog:un,LucideFolderCog2:un,LucideFolderDot:Iy,LucideFolderDown:by,LucideFolderEdit:pn,LucideFolderGit:Cy,LucideFolderGit2:wy,LucideFolderHeart:Ny,LucideFolderInput:Sy,LucideFolderKanban:jy,LucideFolderKey:$y,LucideFolderLock:qy,LucideFolderMinus:Ay,LucideFolderOpen:Vy,LucideFolderOpenDot:zy,LucideFolderOutput:Py,LucideFolderPen:pn,LucideFolderPlus:Uc,LucideFolderRoot:Ty,LucideFolderSearch:Dy,LucideFolderSearch2:Hy,LucideFolderSymlink:By,LucideFolderSync:Ry,LucideFolderTree:Fy,LucideFolderUp:Ey,LucideFolderX:Oy,LucideFolders:Uy,LucideFootprints:Wy,LucideForkKnife:gc,LucideForkKnifeCrossed:fc,LucideForklift:Gy,LucideFormInput:Kn,LucideForward:Zy,LucideFrame:Ky,LucideFramer:Xy,LucideFrown:Yy,LucideFuel:Jy,LucideFullscreen:Qy,LucideFunctionSquare:Ao,LucideFunnel:xt,LucideFunnelPlus:e4,LucideFunnelX:yn,LucideGalleryHorizontal:a4,LucideGalleryHorizontalEnd:t4,LucideGalleryThumbnails:n4,LucideGalleryVertical:c4,LucideGalleryVerticalEnd:o4,LucideGamepad:r4,LucideGamepad2:i4,LucideGanttChart:la,LucideGanttChartSquare:ot,LucideGauge:s4,LucideGaugeCircle:Sa,LucideGavel:d4,LucideGem:l4,LucideGeorgianLari:h4,LucideGhost:u4,LucideGift:p4,LucideGitBranch:k4,LucideGitBranchPlus:y4,LucideGitCommit:kn,LucideGitCommitHorizontal:kn,LucideGitCommitVertical:m4,LucideGitCompare:g4,LucideGitCompareArrows:f4,LucideGitFork:v4,LucideGitGraph:M4,LucideGitMerge:_4,LucideGitPullRequest:C4,LucideGitPullRequestArrow:x4,LucideGitPullRequestClosed:L4,LucideGitPullRequestCreate:b4,LucideGitPullRequestCreateArrow:I4,LucideGitPullRequestDraft:w4,LucideGithub:N4,LucideGitlab:S4,LucideGlassWater:j4,LucideGlasses:$4,LucideGlobe:A4,LucideGlobe2:Ya,LucideGlobeLock:q4,LucideGoal:z4,LucideGpu:V4,LucideGrab:Mn,LucideGraduationCap:P4,LucideGrape:T4,LucideGrid:nt,LucideGrid2X2:vn,LucideGrid2X2Check:mn,LucideGrid2X2Plus:fn,LucideGrid2X2X:gn,LucideGrid2x2:vn,LucideGrid2x2Check:mn,LucideGrid2x2Plus:fn,LucideGrid2x2X:gn,LucideGrid3X3:nt,LucideGrid3x2:H4,LucideGrid3x3:nt,LucideGrip:B4,LucideGripHorizontal:D4,LucideGripVertical:M1,LucideGroup:R4,LucideGuitar:F4,LucideHam:E4,LucideHamburger:O4,LucideHammer:U4,LucideHand:Y4,LucideHandCoins:W4,LucideHandFist:G4,LucideHandGrab:Mn,LucideHandHeart:Z4,LucideHandHelping:_n,LucideHandMetal:K4,LucideHandPlatter:X4,LucideHandbag:J4,LucideHandshake:Q4,LucideHardDrive:a5,LucideHardDriveDownload:e5,LucideHardDriveUpload:t5,LucideHardHat:n5,LucideHash:o5,LucideHatGlasses:c5,LucideHaze:i5,LucideHdmiPort:r5,LucideHeading:y5,LucideHeading1:s5,LucideHeading2:d5,LucideHeading3:l5,LucideHeading4:h5,LucideHeading5:u5,LucideHeading6:p5,LucideHeadphoneOff:k5,LucideHeadphones:m5,LucideHeadset:f5,LucideHeart:I5,LucideHeartCrack:g5,LucideHeartHandshake:v5,LucideHeartMinus:M5,LucideHeartOff:_5,LucideHeartPlus:x5,LucideHeartPulse:L5,LucideHeater:b5,LucideHelpCircle:tt,LucideHelpingHand:_n,LucideHexagon:w5,LucideHighlighter:C5,LucideHistory:N5,LucideHome:Lt,LucideHop:j5,LucideHopOff:S5,LucideHospital:_1,LucideHotel:$5,LucideHourglass:q5,LucideHouse:Lt,LucideHousePlug:A5,LucideHousePlus:V5,LucideHouseWifi:z5,LucideIceCream:Ln,LucideIceCream2:xn,LucideIceCreamBowl:xn,LucideIceCreamCone:Ln,LucideIdCard:T5,LucideIdCardLanyard:P5,LucideImage:U5,LucideImageDown:H5,LucideImageMinus:D5,LucideImageOff:B5,LucideImagePlay:R5,LucideImagePlus:F5,LucideImageUp:E5,LucideImageUpscale:O5,LucideImages:W5,LucideImport:G5,LucideInbox:Z5,LucideIndent:bn,LucideIndentDecrease:In,LucideIndentIncrease:bn,LucideIndianRupee:K5,LucideInfinity:X5,LucideInfo:Y5,LucideInspect:Bo,LucideInspectionPanel:J5,LucideInstagram:Q5,LucideItalic:ek,LucideIterationCcw:tk,LucideIterationCw:ak,LucideJapaneseYen:ok,LucideJoystick:nk,LucideKanban:ck,LucideKanbanSquare:zo,LucideKanbanSquareDashed:Co,LucideKayak:ik,LucideKey:dk,LucideKeyRound:rk,LucideKeySquare:sk,LucideKeyboard:uk,LucideKeyboardMusic:lk,LucideKeyboardOff:hk,LucideLamp:gk,LucideLampCeiling:pk,LucideLampDesk:kk,LucideLampFloor:yk,LucideLampWallDown:mk,LucideLampWallUp:fk,LucideLandPlot:vk,LucideLandmark:Mk,LucideLanguages:_k,LucideLaptop:Lk,LucideLaptop2:wn,LucideLaptopMinimal:wn,LucideLaptopMinimalCheck:xk,LucideLasso:bk,LucideLassoSelect:Ik,LucideLaugh:wk,LucideLayers:Cn,LucideLayers2:Ck,LucideLayers3:Cn,LucideLayout:Gn,LucideLayoutDashboard:Nk,LucideLayoutGrid:Sk,LucideLayoutList:jk,LucideLayoutPanelLeft:$k,LucideLayoutPanelTop:qk,LucideLayoutTemplate:Ak,LucideLeaf:zk,LucideLeafyGreen:Pk,LucideLectern:Vk,LucideLetterText:Tk,LucideLibrary:Dk,LucideLibraryBig:Hk,LucideLibrarySquare:Vo,LucideLifeBuoy:Bk,LucideLigature:Rk,LucideLightbulb:Ek,LucideLightbulbOff:Fk,LucideLineChart:ra,LucideLineSquiggle:Ok,LucideLink:Gk,LucideLink2:Uk,LucideLink2Off:Wk,LucideLinkedin:Zk,LucideList:h3,LucideListCheck:Kk,LucideListChecks:Xk,LucideListCollapse:Yk,LucideListEnd:Jk,LucideListFilter:t3,LucideListFilterPlus:Qk,LucideListMinus:e3,LucideListMusic:a3,LucideListOrdered:n3,LucideListPlus:o3,LucideListRestart:c3,LucideListStart:i3,LucideListTodo:r3,LucideListTree:s3,LucideListVideo:d3,LucideListX:l3,LucideLoader:p3,LucideLoader2:Nn,LucideLoaderCircle:Nn,LucideLoaderPinwheel:u3,LucideLocate:m3,LucideLocateFixed:y3,LucideLocateOff:k3,LucideLocationEdit:qn,LucideLock:g3,LucideLockKeyhole:f3,LucideLockKeyholeOpen:Sn,LucideLockOpen:jn,LucideLogIn:v3,LucideLogOut:M3,LucideLogs:_3,LucideLollipop:x3,LucideLuggage:L3,LucideMSquare:Po,LucideMagnet:I3,LucideMail:$3,LucideMailCheck:b3,LucideMailMinus:w3,LucideMailOpen:C3,LucideMailPlus:N3,LucideMailQuestion:$n,LucideMailQuestionMark:$n,LucideMailSearch:S3,LucideMailWarning:j3,LucideMailX:q3,LucideMailbox:A3,LucideMails:z3,LucideMap:K3,LucideMapMinus:V3,LucideMapPin:W3,LucideMapPinCheck:P3,LucideMapPinCheckInside:T3,LucideMapPinHouse:H3,LucideMapPinMinus:B3,LucideMapPinMinusInside:D3,LucideMapPinOff:R3,LucideMapPinPen:qn,LucideMapPinPlus:E3,LucideMapPinPlusInside:F3,LucideMapPinX:U3,LucideMapPinXInside:O3,LucideMapPinned:G3,LucideMapPlus:Z3,LucideMars:Y3,LucideMarsStroke:X3,LucideMartini:J3,LucideMaximize:tm,LucideMaximize2:Q3,LucideMedal:em,LucideMegaphone:nm,LucideMegaphoneOff:am,LucideMeh:om,LucideMemoryStick:cm,LucideMenu:Wc,LucideMenuSquare:To,LucideMerge:im,LucideMessageCircle:mm,LucideMessageCircleCode:rm,LucideMessageCircleDashed:sm,LucideMessageCircleHeart:dm,LucideMessageCircleMore:lm,LucideMessageCircleOff:hm,LucideMessageCirclePlus:um,LucideMessageCircleQuestion:An,LucideMessageCircleQuestionMark:An,LucideMessageCircleReply:pm,LucideMessageCircleWarning:ym,LucideMessageCircleX:km,LucideMessageSquare:qm,LucideMessageSquareCode:fm,LucideMessageSquareDashed:gm,LucideMessageSquareDiff:vm,LucideMessageSquareDot:Mm,LucideMessageSquareHeart:_m,LucideMessageSquareLock:xm,LucideMessageSquareMore:Lm,LucideMessageSquareOff:Im,LucideMessageSquarePlus:bm,LucideMessageSquareQuote:wm,LucideMessageSquareReply:Cm,LucideMessageSquareShare:Nm,LucideMessageSquareText:Sm,LucideMessageSquareWarning:jm,LucideMessageSquareX:$m,LucideMessagesSquare:Am,LucideMic:Vm,LucideMic2:zn,LucideMicOff:zm,LucideMicVocal:zn,LucideMicrochip:Pm,LucideMicroscope:Tm,LucideMicrowave:Hm,LucideMilestone:Dm,LucideMilk:Rm,LucideMilkOff:Bm,LucideMinimize:Em,LucideMinimize2:Fm,LucideMinus:Om,LucideMinusCircle:ja,LucideMinusSquare:Ho,LucideMonitor:n6,LucideMonitorCheck:Um,LucideMonitorCog:Wm,LucideMonitorDot:Gm,LucideMonitorDown:Zm,LucideMonitorOff:Km,LucideMonitorPause:Ym,LucideMonitorPlay:Xm,LucideMonitorSmartphone:Jm,LucideMonitorSpeaker:Qm,LucideMonitorStop:e6,LucideMonitorUp:t6,LucideMonitorX:a6,LucideMoon:c6,LucideMoonStar:o6,LucideMoreHorizontal:Qa,LucideMoreVertical:Ja,LucideMountain:r6,LucideMountainSnow:i6,LucideMouse:p6,LucideMouseOff:s6,LucideMousePointer:h6,LucideMousePointer2:d6,LucideMousePointerBan:l6,LucideMousePointerClick:u6,LucideMousePointerSquareDashed:No,LucideMove:a.Move,LucideMove3D:Vn,LucideMove3d:Vn,LucideMoveDiagonal:k6,LucideMoveDiagonal2:y6,LucideMoveDown:v6,LucideMoveDownLeft:m6,LucideMoveDownRight:f6,LucideMoveHorizontal:g6,LucideMoveLeft:M6,LucideMoveRight:_6,LucideMoveUp:I6,LucideMoveUpLeft:x6,LucideMoveUpRight:L6,LucideMoveVertical:b6,LucideMusic:S6,LucideMusic2:w6,LucideMusic3:C6,LucideMusic4:N6,LucideNavigation:A6,LucideNavigation2:$6,LucideNavigation2Off:j6,LucideNavigationOff:q6,LucideNetwork:z6,LucideNewspaper:V6,LucideNfc:P6,LucideNonBinary:T6,LucideNotebook:R6,LucideNotebookPen:H6,LucideNotebookTabs:D6,LucideNotebookText:B6,LucideNotepadText:E6,LucideNotepadTextDashed:F6,LucideNut:U6,LucideNutOff:O6,LucideOctagon:G6,LucideOctagonAlert:Pn,LucideOctagonMinus:W6,LucideOctagonPause:Tn,LucideOctagonX:Hn,LucideOmega:Z6,LucideOption:K6,LucideOrbit:X6,LucideOrigami:Y6,LucideOutdent:In,LucidePackage:c8,LucidePackage2:J6,LucidePackageCheck:Q6,LucidePackageMinus:e8,LucidePackageOpen:t8,LucidePackagePlus:a8,LucidePackageSearch:n8,LucidePackageX:o8,LucidePaintBucket:i8,LucidePaintRoller:r8,LucidePaintbrush:s8,LucidePaintbrush2:Dn,LucidePaintbrushVertical:Dn,LucidePalette:d8,LucidePalmtree:ic,LucidePanda:l8,LucidePanelBottom:p8,LucidePanelBottomClose:h8,LucidePanelBottomDashed:Bn,LucidePanelBottomInactive:Bn,LucidePanelBottomOpen:u8,LucidePanelLeft:On,LucidePanelLeftClose:Rn,LucidePanelLeftDashed:Fn,LucidePanelLeftInactive:Fn,LucidePanelLeftOpen:En,LucidePanelRight:m8,LucidePanelRightClose:y8,LucidePanelRightDashed:Un,LucidePanelRightInactive:Un,LucidePanelRightOpen:k8,LucidePanelTop:v8,LucidePanelTopClose:f8,LucidePanelTopDashed:Wn,LucidePanelTopInactive:Wn,LucidePanelTopOpen:g8,LucidePanelsLeftBottom:M8,LucidePanelsLeftRight:Za,LucidePanelsRightBottom:_8,LucidePanelsTopBottom:Jn,LucidePanelsTopLeft:Gn,LucidePaperclip:x8,LucideParentheses:L8,LucideParkingCircle:Aa,LucideParkingCircleOff:$a,LucideParkingMeter:I8,LucideParkingSquare:Ro,LucideParkingSquareOff:Do,LucidePartyPopper:b8,LucidePause:w8,LucidePauseCircle:qa,LucidePauseOctagon:Tn,LucidePawPrint:C8,LucidePcCase:N8,LucidePen:lt,LucidePenBox:Pe,LucidePenLine:dt,LucidePenOff:j8,LucidePenSquare:Pe,LucidePenTool:S8,LucidePencil:x1,LucidePencilLine:$8,LucidePencilOff:q8,LucidePencilRuler:A8,LucidePentagon:z8,LucidePercent:V8,LucidePercentCircle:za,LucidePercentDiamond:Xa,LucidePercentSquare:Fo,LucidePersonStanding:T8,LucidePhilippinePeso:P8,LucidePhone:E8,LucidePhoneCall:H8,LucidePhoneForwarded:D8,LucidePhoneIncoming:B8,LucidePhoneMissed:R8,LucidePhoneOff:F8,LucidePhoneOutgoing:O8,LucidePi:U8,LucidePiSquare:Eo,LucidePiano:W8,LucidePickaxe:G8,LucidePictureInPicture:K8,LucidePictureInPicture2:Z8,LucidePieChart:ha,LucidePiggyBank:X8,LucidePilcrow:J8,LucidePilcrowLeft:Y8,LucidePilcrowRight:Q8,LucidePilcrowSquare:Oo,LucidePill:tf,LucidePillBottle:ef,LucidePin:nf,LucidePinOff:af,LucidePipette:of,LucidePizza:cf,LucidePlane:df,LucidePlaneLanding:rf,LucidePlaneTakeoff:sf,LucidePlay:lf,LucidePlayCircle:Va,LucidePlaySquare:Uo,LucidePlug:uf,LucidePlug2:hf,LucidePlugZap:Zn,LucidePlugZap2:Zn,LucidePlus:Gc,LucidePlusCircle:Pa,LucidePlusSquare:Wo,LucidePocket:yf,LucidePocketKnife:pf,LucidePodcast:kf,LucidePointer:ff,LucidePointerOff:mf,LucidePopcorn:vf,LucidePopsicle:gf,LucidePoundSterling:Mf,LucidePower:xf,LucidePowerCircle:Ta,LucidePowerOff:_f,LucidePowerSquare:Go,LucidePresentation:Lf,LucidePrinter:bf,LucidePrinterCheck:If,LucideProjector:wf,LucideProportions:Cf,LucidePuzzle:Sf,LucidePyramid:Nf,LucideQrCode:jf,LucideQuote:$f,LucideRabbit:qf,LucideRadar:Af,LucideRadiation:zf,LucideRadical:Vf,LucideRadio:Hf,LucideRadioReceiver:Pf,LucideRadioTower:Tf,LucideRadius:Df,LucideRailSymbol:Bf,LucideRainbow:Rf,LucideRat:Ff,LucideRatio:Ef,LucideReceipt:Qf,LucideReceiptCent:Of,LucideReceiptEuro:Wf,LucideReceiptIndianRupee:Uf,LucideReceiptJapaneseYen:Gf,LucideReceiptPoundSterling:Zf,LucideReceiptRussianRuble:Kf,LucideReceiptSwissFranc:Xf,LucideReceiptText:Yf,LucideReceiptTurkishLira:Jf,LucideRectangleCircle:e7,LucideRectangleEllipsis:Kn,LucideRectangleGoggles:t7,LucideRectangleHorizontal:a7,LucideRectangleVertical:n7,LucideRecycle:o7,LucideRedo:r7,LucideRedo2:c7,LucideRedoDot:i7,LucideRefreshCcw:d7,LucideRefreshCcwDot:s7,LucideRefreshCw:h7,LucideRefreshCwOff:l7,LucideRefrigerator:u7,LucideRegex:p7,LucideRemoveFormatting:y7,LucideRepeat:f7,LucideRepeat1:k7,LucideRepeat2:m7,LucideReplace:v7,LucideReplaceAll:g7,LucideReply:x7,LucideReplyAll:M7,LucideRewind:_7,LucideRibbon:L7,LucideRocket:I7,LucideRockingChair:C7,LucideRollerCoaster:b7,LucideRose:w7,LucideRotate3D:Xn,LucideRotate3d:Xn,LucideRotateCcw:j7,LucideRotateCcwKey:N7,LucideRotateCcwSquare:S7,LucideRotateCw:q7,LucideRotateCwSquare:$7,LucideRoute:z7,LucideRouteOff:A7,LucideRouter:V7,LucideRows:Yn,LucideRows2:Yn,LucideRows3:Jn,LucideRows4:P7,LucideRss:T7,LucideRuler:D7,LucideRulerDimensionLine:H7,LucideRussianRuble:B7,LucideSailboat:R7,LucideSalad:F7,LucideSandwich:E7,LucideSatellite:U7,LucideSatelliteDish:O7,LucideSaudiRiyal:W7,LucideSave:X7,LucideSaveAll:G7,LucideSaveOff:Z7,LucideScale:K7,LucideScale3D:Qn,LucideScale3d:Qn,LucideScaling:Y7,LucideScan:ig,LucideScanBarcode:J7,LucideScanEye:Q7,LucideScanFace:eg,LucideScanHeart:tg,LucideScanLine:ag,LucideScanQrCode:ng,LucideScanSearch:og,LucideScanText:cg,LucideScatterChart:ua,LucideSchool:rg,LucideSchool2:dc,LucideScissors:dg,LucideScissorsLineDashed:sg,LucideScissorsSquare:Zo,LucideScissorsSquareDashedBottom:vo,LucideScreenShare:lg,LucideScreenShareOff:hg,LucideScroll:pg,LucideScrollText:ug,LucideSearch:L1,LucideSearchCheck:yg,LucideSearchCode:kg,LucideSearchSlash:mg,LucideSearchX:fg,LucideSection:gg,LucideSend:Mg,LucideSendHorizonal:eo,LucideSendHorizontal:eo,LucideSendToBack:vg,LucideSeparatorHorizontal:_g,LucideSeparatorVertical:xg,LucideServer:wg,LucideServerCog:Lg,LucideServerCrash:bg,LucideServerOff:Ig,LucideSettings:Ng,LucideSettings2:Cg,LucideShapes:Sg,LucideShare:$g,LucideShare2:jg,LucideSheet:qg,LucideShell:Ag,LucideShield:Eg,LucideShieldAlert:zg,LucideShieldBan:Vg,LucideShieldCheck:Pg,LucideShieldClose:ao,LucideShieldEllipsis:Tg,LucideShieldHalf:Hg,LucideShieldMinus:Bg,LucideShieldOff:Dg,LucideShieldPlus:Rg,LucideShieldQuestion:to,LucideShieldQuestionMark:to,LucideShieldUser:Fg,LucideShieldX:ao,LucideShip:Ug,LucideShipWheel:Og,LucideShirt:Wg,LucideShoppingBag:Gg,LucideShoppingBasket:Zg,LucideShoppingCart:Kg,LucideShovel:Xg,LucideShowerHead:Yg,LucideShredder:Jg,LucideShrimp:Qg,LucideShrink:ev,LucideShrub:tv,LucideShuffle:nv,LucideSidebar:On,LucideSidebarClose:Rn,LucideSidebarOpen:En,LucideSigma:av,LucideSigmaSquare:Ko,LucideSignal:sv,LucideSignalHigh:ov,LucideSignalLow:cv,LucideSignalMedium:iv,LucideSignalZero:rv,LucideSignature:dv,LucideSignpost:hv,LucideSignpostBig:lv,LucideSiren:uv,LucideSkipBack:pv,LucideSkipForward:yv,LucideSkull:kv,LucideSlack:mv,LucideSlash:fv,LucideSlashSquare:Xo,LucideSlice:gv,LucideSliders:no,LucideSlidersHorizontal:vv,LucideSlidersVertical:no,LucideSmartphone:xv,LucideSmartphoneCharging:Mv,LucideSmartphoneNfc:_v,LucideSmile:Iv,LucideSmilePlus:Lv,LucideSnail:bv,LucideSnowflake:wv,LucideSoapDispenserDroplet:Cv,LucideSofa:Nv,LucideSortAsc:Ot,LucideSortDesc:Rt,LucideSoup:Sv,LucideSpace:jv,LucideSpade:$v,LucideSparkle:qv,LucideSparkles:oo,LucideSpeaker:Av,LucideSpeech:zv,LucideSpellCheck:Pv,LucideSpellCheck2:Vv,LucideSpline:Hv,LucideSplinePointer:Tv,LucideSplit:Dv,LucideSplitSquareHorizontal:Yo,LucideSplitSquareVertical:Jo,LucideSpool:Bv,LucideSpotlight:Rv,LucideSprayCan:Fv,LucideSprout:Ev,LucideSquare:e9,LucideSquareActivity:It,LucideSquareArrowDown:ro,LucideSquareArrowDownLeft:co,LucideSquareArrowDownRight:io,LucideSquareArrowLeft:so,LucideSquareArrowOutDownLeft:lo,LucideSquareArrowOutDownRight:ho,LucideSquareArrowOutUpLeft:uo,LucideSquareArrowOutUpRight:po,LucideSquareArrowRight:yo,LucideSquareArrowUp:fo,LucideSquareArrowUpLeft:ko,LucideSquareArrowUpRight:mo,LucideSquareAsterisk:go,LucideSquareBottomDashedScissors:vo,LucideSquareChartGantt:ot,LucideSquareCheck:_o,LucideSquareCheckBig:Mo,LucideSquareChevronDown:xo,LucideSquareChevronLeft:Lo,LucideSquareChevronRight:Io,LucideSquareChevronUp:bo,LucideSquareCode:wo,LucideSquareDashed:So,LucideSquareDashedBottom:Uv,LucideSquareDashedBottomCode:Ov,LucideSquareDashedKanban:Co,LucideSquareDashedMousePointer:No,LucideSquareDashedTopSolid:Wv,LucideSquareDivide:jo,LucideSquareDot:qo,LucideSquareEqual:$o,LucideSquareFunction:Ao,LucideSquareGanttChart:ot,LucideSquareKanban:zo,LucideSquareLibrary:Vo,LucideSquareM:Po,LucideSquareMenu:To,LucideSquareMinus:Ho,LucideSquareMousePointer:Bo,LucideSquareParking:Ro,LucideSquareParkingOff:Do,LucideSquarePause:Gv,LucideSquarePen:Pe,LucideSquarePercent:Fo,LucideSquarePi:Eo,LucideSquarePilcrow:Oo,LucideSquarePlay:Uo,LucideSquarePlus:Wo,LucideSquarePower:Go,LucideSquareRadical:Zv,LucideSquareRoundCorner:Kv,LucideSquareScissors:Zo,LucideSquareSigma:Ko,LucideSquareSlash:Xo,LucideSquareSplitHorizontal:Yo,LucideSquareSplitVertical:Jo,LucideSquareSquare:Xv,LucideSquareStack:Yv,LucideSquareStar:Jv,LucideSquareStop:Qv,LucideSquareTerminal:Qo,LucideSquareUser:tc,LucideSquareUserRound:ec,LucideSquareX:ac,LucideSquaresExclude:t9,LucideSquaresIntersect:a9,LucideSquaresSubtract:n9,LucideSquaresUnite:o9,LucideSquircle:i9,LucideSquircleDashed:c9,LucideSquirrel:r9,LucideStamp:s9,LucideStar:u9,LucideStarHalf:d9,LucideStarOff:l9,LucideStars:oo,LucideStepBack:h9,LucideStepForward:p9,LucideStethoscope:y9,LucideSticker:k9,LucideStickyNote:m9,LucideStopCircle:Da,LucideStore:f9,LucideStretchHorizontal:g9,LucideStretchVertical:v9,LucideStrikethrough:M9,LucideSubscript:_9,LucideSubtitles:Qt,LucideSun:C9,LucideSunDim:x9,LucideSunMedium:L9,LucideSunMoon:I9,LucideSunSnow:b9,LucideSunrise:w9,LucideSunset:N9,LucideSuperscript:S9,LucideSwatchBook:j9,LucideSwissFranc:$9,LucideSwitchCamera:q9,LucideSword:A9,LucideSwords:V9,LucideSyringe:z9,LucideTable:E9,LucideTable2:P9,LucideTableCellsMerge:T9,LucideTableCellsSplit:H9,LucideTableColumnsSplit:D9,LucideTableConfig:at,LucideTableOfContents:B9,LucideTableProperties:R9,LucideTableRowsSplit:F9,LucideTablet:U9,LucideTabletSmartphone:O9,LucideTablets:W9,LucideTag:G9,LucideTags:Z9,LucideTally1:K9,LucideTally2:X9,LucideTally3:Y9,LucideTally4:J9,LucideTally5:Q9,LucideTangent:eM,LucideTarget:tM,LucideTelescope:aM,LucideTent:oM,LucideTentTree:nM,LucideTerminal:cM,LucideTerminalSquare:Qo,LucideTestTube:iM,LucideTestTube2:nc,LucideTestTubeDiagonal:nc,LucideTestTubes:rM,LucideText:uM,LucideTextCursor:dM,LucideTextCursorInput:sM,LucideTextQuote:lM,LucideTextSearch:hM,LucideTextSelect:oc,LucideTextSelection:oc,LucideTheater:pM,LucideThermometer:fM,LucideThermometerSnowflake:yM,LucideThermometerSun:kM,LucideThumbsDown:mM,LucideThumbsUp:gM,LucideTicket:bM,LucideTicketCheck:vM,LucideTicketMinus:MM,LucideTicketPercent:_M,LucideTicketPlus:xM,LucideTicketSlash:LM,LucideTicketX:IM,LucideTickets:CM,LucideTicketsPlane:wM,LucideTimer:jM,LucideTimerOff:NM,LucideTimerReset:SM,LucideToggleLeft:$M,LucideToggleRight:qM,LucideToilet:AM,LucideToolCase:zM,LucideTornado:PM,LucideTorus:VM,LucideTouchpad:HM,LucideTouchpadOff:TM,LucideTowerControl:BM,LucideToyBrick:DM,LucideTractor:RM,LucideTrafficCone:FM,LucideTrain:cc,LucideTrainFront:OM,LucideTrainFrontTunnel:EM,LucideTrainTrack:UM,LucideTramFront:cc,LucideTransgender:WM,LucideTrash:GM,LucideTrash2:St,LucideTreeDeciduous:ZM,LucideTreePalm:ic,LucideTreePine:KM,LucideTrees:XM,LucideTrello:YM,LucideTrendingDown:JM,LucideTrendingUp:QM,LucideTrendingUpDown:e_,LucideTriangle:a_,LucideTriangleAlert:rc,LucideTriangleDashed:t_,LucideTriangleRight:n_,LucideTrophy:o_,LucideTruck:i_,LucideTruckElectric:c_,LucideTurkishLira:r_,LucideTurntable:s_,LucideTurtle:d_,LucideTv:h_,LucideTv2:sc,LucideTvMinimal:sc,LucideTvMinimalPlay:l_,LucideTwitch:u_,LucideTwitter:p_,LucideType:k_,LucideTypeOutline:y_,LucideUmbrella:f_,LucideUmbrellaOff:m_,LucideUnderline:g_,LucideUndo:__,LucideUndo2:v_,LucideUndoDot:M_,LucideUnfoldHorizontal:x_,LucideUnfoldVertical:L_,LucideUngroup:I_,LucideUniversity:dc,LucideUnlink:N_,LucideUnlink2:b_,LucideUnlock:jn,LucideUnlockKeyhole:Sn,LucideUnplug:w_,LucideUpload:C_,LucideUploadCloud:Ua,LucideUsb:S_,LucideUser:B_,LucideUser2:kc,LucideUserCheck:j_,LucideUserCheck2:lc,LucideUserCircle:Ra,LucideUserCircle2:Ba,LucideUserCog:$_,LucideUserCog2:hc,LucideUserLock:q_,LucideUserMinus:A_,LucideUserMinus2:uc,LucideUserPen:z_,LucideUserPlus:I1,LucideUserPlus2:pc,LucideUserRound:kc,LucideUserRoundCheck:lc,LucideUserRoundCog:hc,LucideUserRoundMinus:uc,LucideUserRoundPen:V_,LucideUserRoundPlus:pc,LucideUserRoundSearch:P_,LucideUserRoundX:yc,LucideUserSearch:T_,LucideUserSquare:tc,LucideUserSquare2:ec,LucideUserStar:H_,LucideUserX:D_,LucideUserX2:yc,LucideUsers:R_,LucideUsers2:mc,LucideUsersRound:mc,LucideUtensils:gc,LucideUtensilsCrossed:fc,LucideUtilityPole:F_,LucideVariable:E_,LucideVault:O_,LucideVectorSquare:U_,LucideVegan:W_,LucideVenetianMask:G_,LucideVenus:Y_,LucideVenusAndMars:Z_,LucideVerified:Gt,LucideVibrate:X_,LucideVibrateOff:K_,LucideVideo:Q_,LucideVideoOff:J_,LucideVideotape:ex,LucideView:ax,LucideVoicemail:tx,LucideVolleyball:nx,LucideVolume:dx,LucideVolume1:ox,LucideVolume2:cx,LucideVolumeOff:ix,LucideVolumeX:rx,LucideVote:sx,LucideWallet:hx,LucideWallet2:vc,LucideWalletCards:lx,LucideWalletMinimal:vc,LucideWallpaper:ux,LucideWand:px,LucideWand2:Mc,LucideWandSparkles:Mc,LucideWarehouse:yx,LucideWashingMachine:kx,LucideWatch:mx,LucideWaves:gx,LucideWavesLadder:fx,LucideWaypoints:vx,LucideWebcam:Mx,LucideWebhook:Lx,LucideWebhookOff:_x,LucideWeight:xx,LucideWheat:bx,LucideWheatOff:Ix,LucideWholeWord:wx,LucideWifi:zx,LucideWifiCog:Cx,LucideWifiHigh:Nx,LucideWifiLow:Sx,LucideWifiOff:jx,LucideWifiPen:$x,LucideWifiSync:qx,LucideWifiZero:Ax,LucideWind:Px,LucideWindArrowDown:Vx,LucideWine:Hx,LucideWineOff:Tx,LucideWorkflow:Dx,LucideWorm:Bx,LucideWrapText:Rx,LucideWrench:Fx,LucideX:Ze,LucideXCircle:_t,LucideXOctagon:Hn,LucideXSquare:ac,LucideYoutube:Ox,LucideZap:Ux,LucideZapOff:Ex,LucideZoomIn:Wx,LucideZoomOut:Gx,Luggage:L3,LuggageIcon:L3,MSquare:Po,MSquareIcon:Po,Magnet:I3,MagnetIcon:I3,Mail:$3,MailCheck:b3,MailCheckIcon:b3,MailIcon:$3,MailMinus:w3,MailMinusIcon:w3,MailOpen:C3,MailOpenIcon:C3,MailPlus:N3,MailPlusIcon:N3,MailQuestion:$n,MailQuestionIcon:$n,MailQuestionMark:$n,MailQuestionMarkIcon:$n,MailSearch:S3,MailSearchIcon:S3,MailWarning:j3,MailWarningIcon:j3,MailX:q3,MailXIcon:q3,Mailbox:A3,MailboxIcon:A3,Mails:z3,MailsIcon:z3,Map:K3,MapIcon:K3,MapMinus:V3,MapMinusIcon:V3,MapPin:W3,MapPinCheck:P3,MapPinCheckIcon:P3,MapPinCheckInside:T3,MapPinCheckInsideIcon:T3,MapPinHouse:H3,MapPinHouseIcon:H3,MapPinIcon:W3,MapPinMinus:B3,MapPinMinusIcon:B3,MapPinMinusInside:D3,MapPinMinusInsideIcon:D3,MapPinOff:R3,MapPinOffIcon:R3,MapPinPen:qn,MapPinPenIcon:qn,MapPinPlus:E3,MapPinPlusIcon:E3,MapPinPlusInside:F3,MapPinPlusInsideIcon:F3,MapPinX:U3,MapPinXIcon:U3,MapPinXInside:O3,MapPinXInsideIcon:O3,MapPinned:G3,MapPinnedIcon:G3,MapPlus:Z3,MapPlusIcon:Z3,Mars:Y3,MarsIcon:Y3,MarsStroke:X3,MarsStrokeIcon:X3,Martini:J3,MartiniIcon:J3,Maximize:tm,Maximize2:Q3,Maximize2Icon:Q3,MaximizeIcon:tm,Medal:em,MedalIcon:em,Megaphone:nm,MegaphoneIcon:nm,MegaphoneOff:am,MegaphoneOffIcon:am,Meh:om,MehIcon:om,MemoryStick:cm,MemoryStickIcon:cm,Menu:Wc,MenuIcon:Wc,MenuSquare:To,MenuSquareIcon:To,Merge:im,MergeIcon:im,MessageCircle:mm,MessageCircleCode:rm,MessageCircleCodeIcon:rm,MessageCircleDashed:sm,MessageCircleDashedIcon:sm,MessageCircleHeart:dm,MessageCircleHeartIcon:dm,MessageCircleIcon:mm,MessageCircleMore:lm,MessageCircleMoreIcon:lm,MessageCircleOff:hm,MessageCircleOffIcon:hm,MessageCirclePlus:um,MessageCirclePlusIcon:um,MessageCircleQuestion:An,MessageCircleQuestionIcon:An,MessageCircleQuestionMark:An,MessageCircleQuestionMarkIcon:An,MessageCircleReply:pm,MessageCircleReplyIcon:pm,MessageCircleWarning:ym,MessageCircleWarningIcon:ym,MessageCircleX:km,MessageCircleXIcon:km,MessageSquare:qm,MessageSquareCode:fm,MessageSquareCodeIcon:fm,MessageSquareDashed:gm,MessageSquareDashedIcon:gm,MessageSquareDiff:vm,MessageSquareDiffIcon:vm,MessageSquareDot:Mm,MessageSquareDotIcon:Mm,MessageSquareHeart:_m,MessageSquareHeartIcon:_m,MessageSquareIcon:qm,MessageSquareLock:xm,MessageSquareLockIcon:xm,MessageSquareMore:Lm,MessageSquareMoreIcon:Lm,MessageSquareOff:Im,MessageSquareOffIcon:Im,MessageSquarePlus:bm,MessageSquarePlusIcon:bm,MessageSquareQuote:wm,MessageSquareQuoteIcon:wm,MessageSquareReply:Cm,MessageSquareReplyIcon:Cm,MessageSquareShare:Nm,MessageSquareShareIcon:Nm,MessageSquareText:Sm,MessageSquareTextIcon:Sm,MessageSquareWarning:jm,MessageSquareWarningIcon:jm,MessageSquareX:$m,MessageSquareXIcon:$m,MessagesSquare:Am,MessagesSquareIcon:Am,Mic:Vm,Mic2:zn,Mic2Icon:zn,MicIcon:Vm,MicOff:zm,MicOffIcon:zm,MicVocal:zn,MicVocalIcon:zn,Microchip:Pm,MicrochipIcon:Pm,Microscope:Tm,MicroscopeIcon:Tm,Microwave:Hm,MicrowaveIcon:Hm,Milestone:Dm,MilestoneIcon:Dm,Milk:Rm,MilkIcon:Rm,MilkOff:Bm,MilkOffIcon:Bm,Minimize:Em,Minimize2:Fm,Minimize2Icon:Fm,MinimizeIcon:Em,Minus:Om,MinusCircle:ja,MinusCircleIcon:ja,MinusIcon:Om,MinusSquare:Ho,MinusSquareIcon:Ho,Monitor:n6,MonitorCheck:Um,MonitorCheckIcon:Um,MonitorCog:Wm,MonitorCogIcon:Wm,MonitorDot:Gm,MonitorDotIcon:Gm,MonitorDown:Zm,MonitorDownIcon:Zm,MonitorIcon:n6,MonitorOff:Km,MonitorOffIcon:Km,MonitorPause:Ym,MonitorPauseIcon:Ym,MonitorPlay:Xm,MonitorPlayIcon:Xm,MonitorSmartphone:Jm,MonitorSmartphoneIcon:Jm,MonitorSpeaker:Qm,MonitorSpeakerIcon:Qm,MonitorStop:e6,MonitorStopIcon:e6,MonitorUp:t6,MonitorUpIcon:t6,MonitorX:a6,MonitorXIcon:a6,Moon:c6,MoonIcon:c6,MoonStar:o6,MoonStarIcon:o6,MoreHorizontal:Qa,MoreHorizontalIcon:Qa,MoreVertical:Ja,MoreVerticalIcon:Ja,Mountain:r6,MountainIcon:r6,MountainSnow:i6,MountainSnowIcon:i6,Mouse:p6,MouseIcon:p6,MouseOff:s6,MouseOffIcon:s6,MousePointer:h6,MousePointer2:d6,MousePointer2Icon:d6,MousePointerBan:l6,MousePointerBanIcon:l6,MousePointerClick:u6,MousePointerClickIcon:u6,MousePointerIcon:h6,MousePointerSquareDashed:No,MousePointerSquareDashedIcon:No,Move:a.Move,Move3D:Vn,Move3DIcon:Vn,Move3d:Vn,Move3dIcon:Vn,MoveDiagonal:k6,MoveDiagonal2:y6,MoveDiagonal2Icon:y6,MoveDiagonalIcon:k6,MoveDown:v6,MoveDownIcon:v6,MoveDownLeft:m6,MoveDownLeftIcon:m6,MoveDownRight:f6,MoveDownRightIcon:f6,MoveHorizontal:g6,MoveHorizontalIcon:g6,MoveIcon:a.Move,MoveLeft:M6,MoveLeftIcon:M6,MoveRight:_6,MoveRightIcon:_6,MoveUp:I6,MoveUpIcon:I6,MoveUpLeft:x6,MoveUpLeftIcon:x6,MoveUpRight:L6,MoveUpRightIcon:L6,MoveVertical:b6,MoveVerticalIcon:b6,Music:S6,Music2:w6,Music2Icon:w6,Music3:C6,Music3Icon:C6,Music4:N6,Music4Icon:N6,MusicIcon:S6,Navigation:A6,Navigation2:$6,Navigation2Icon:$6,Navigation2Off:j6,Navigation2OffIcon:j6,NavigationIcon:A6,NavigationOff:q6,NavigationOffIcon:q6,Network:z6,NetworkIcon:z6,Newspaper:V6,NewspaperIcon:V6,Nfc:P6,NfcIcon:P6,NonBinary:T6,NonBinaryIcon:T6,Notebook:R6,NotebookIcon:R6,NotebookPen:H6,NotebookPenIcon:H6,NotebookTabs:D6,NotebookTabsIcon:D6,NotebookText:B6,NotebookTextIcon:B6,NotepadText:E6,NotepadTextDashed:F6,NotepadTextDashedIcon:F6,NotepadTextIcon:E6,Nut:U6,NutIcon:U6,NutOff:O6,NutOffIcon:O6,Octagon:G6,OctagonAlert:Pn,OctagonAlertIcon:Pn,OctagonIcon:G6,OctagonMinus:W6,OctagonMinusIcon:W6,OctagonPause:Tn,OctagonPauseIcon:Tn,OctagonX:Hn,OctagonXIcon:Hn,Omega:Z6,OmegaIcon:Z6,Option:K6,OptionIcon:K6,Orbit:X6,OrbitIcon:X6,Origami:Y6,OrigamiIcon:Y6,Outdent:In,OutdentIcon:In,Package:c8,Package2:J6,Package2Icon:J6,PackageCheck:Q6,PackageCheckIcon:Q6,PackageIcon:c8,PackageMinus:e8,PackageMinusIcon:e8,PackageOpen:t8,PackageOpenIcon:t8,PackagePlus:a8,PackagePlusIcon:a8,PackageSearch:n8,PackageSearchIcon:n8,PackageX:o8,PackageXIcon:o8,PaintBucket:i8,PaintBucketIcon:i8,PaintRoller:r8,PaintRollerIcon:r8,Paintbrush:s8,Paintbrush2:Dn,Paintbrush2Icon:Dn,PaintbrushIcon:s8,PaintbrushVertical:Dn,PaintbrushVerticalIcon:Dn,Palette:d8,PaletteIcon:d8,Palmtree:ic,PalmtreeIcon:ic,Panda:l8,PandaIcon:l8,PanelBottom:p8,PanelBottomClose:h8,PanelBottomCloseIcon:h8,PanelBottomDashed:Bn,PanelBottomDashedIcon:Bn,PanelBottomIcon:p8,PanelBottomInactive:Bn,PanelBottomInactiveIcon:Bn,PanelBottomOpen:u8,PanelBottomOpenIcon:u8,PanelLeft:On,PanelLeftClose:Rn,PanelLeftCloseIcon:Rn,PanelLeftDashed:Fn,PanelLeftDashedIcon:Fn,PanelLeftIcon:On,PanelLeftInactive:Fn,PanelLeftInactiveIcon:Fn,PanelLeftOpen:En,PanelLeftOpenIcon:En,PanelRight:m8,PanelRightClose:y8,PanelRightCloseIcon:y8,PanelRightDashed:Un,PanelRightDashedIcon:Un,PanelRightIcon:m8,PanelRightInactive:Un,PanelRightInactiveIcon:Un,PanelRightOpen:k8,PanelRightOpenIcon:k8,PanelTop:v8,PanelTopClose:f8,PanelTopCloseIcon:f8,PanelTopDashed:Wn,PanelTopDashedIcon:Wn,PanelTopIcon:v8,PanelTopInactive:Wn,PanelTopInactiveIcon:Wn,PanelTopOpen:g8,PanelTopOpenIcon:g8,PanelsLeftBottom:M8,PanelsLeftBottomIcon:M8,PanelsLeftRight:Za,PanelsLeftRightIcon:Za,PanelsRightBottom:_8,PanelsRightBottomIcon:_8,PanelsTopBottom:Jn,PanelsTopBottomIcon:Jn,PanelsTopLeft:Gn,PanelsTopLeftIcon:Gn,Paperclip:x8,PaperclipIcon:x8,Parentheses:L8,ParenthesesIcon:L8,ParkingCircle:Aa,ParkingCircleIcon:Aa,ParkingCircleOff:$a,ParkingCircleOffIcon:$a,ParkingMeter:I8,ParkingMeterIcon:I8,ParkingSquare:Ro,ParkingSquareIcon:Ro,ParkingSquareOff:Do,ParkingSquareOffIcon:Do,PartyPopper:b8,PartyPopperIcon:b8,Pause:w8,PauseCircle:qa,PauseCircleIcon:qa,PauseIcon:w8,PauseOctagon:Tn,PauseOctagonIcon:Tn,PawPrint:C8,PawPrintIcon:C8,PcCase:N8,PcCaseIcon:N8,Pen:lt,PenBox:Pe,PenBoxIcon:Pe,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:j8,PenOffIcon:j8,PenSquare:Pe,PenSquareIcon:Pe,PenTool:S8,PenToolIcon:S8,Pencil:x1,PencilIcon:x1,PencilLine:$8,PencilLineIcon:$8,PencilOff:q8,PencilOffIcon:q8,PencilRuler:A8,PencilRulerIcon:A8,Pentagon:z8,PentagonIcon:z8,Percent:V8,PercentCircle:za,PercentCircleIcon:za,PercentDiamond:Xa,PercentDiamondIcon:Xa,PercentIcon:V8,PercentSquare:Fo,PercentSquareIcon:Fo,PersonStanding:T8,PersonStandingIcon:T8,PhilippinePeso:P8,PhilippinePesoIcon:P8,Phone:E8,PhoneCall:H8,PhoneCallIcon:H8,PhoneForwarded:D8,PhoneForwardedIcon:D8,PhoneIcon:E8,PhoneIncoming:B8,PhoneIncomingIcon:B8,PhoneMissed:R8,PhoneMissedIcon:R8,PhoneOff:F8,PhoneOffIcon:F8,PhoneOutgoing:O8,PhoneOutgoingIcon:O8,Pi:U8,PiIcon:U8,PiSquare:Eo,PiSquareIcon:Eo,Piano:W8,PianoIcon:W8,Pickaxe:G8,PickaxeIcon:G8,PictureInPicture:K8,PictureInPicture2:Z8,PictureInPicture2Icon:Z8,PictureInPictureIcon:K8,PieChart:ha,PieChartIcon:ha,PiggyBank:X8,PiggyBankIcon:X8,Pilcrow:J8,PilcrowIcon:J8,PilcrowLeft:Y8,PilcrowLeftIcon:Y8,PilcrowRight:Q8,PilcrowRightIcon:Q8,PilcrowSquare:Oo,PilcrowSquareIcon:Oo,Pill:tf,PillBottle:ef,PillBottleIcon:ef,PillIcon:tf,Pin:nf,PinIcon:nf,PinOff:af,PinOffIcon:af,Pipette:of,PipetteIcon:of,Pizza:cf,PizzaIcon:cf,Plane:df,PlaneIcon:df,PlaneLanding:rf,PlaneLandingIcon:rf,PlaneTakeoff:sf,PlaneTakeoffIcon:sf,Play:lf,PlayCircle:Va,PlayCircleIcon:Va,PlayIcon:lf,PlaySquare:Uo,PlaySquareIcon:Uo,Plug:uf,Plug2:hf,Plug2Icon:hf,PlugIcon:uf,PlugZap:Zn,PlugZap2:Zn,PlugZap2Icon:Zn,PlugZapIcon:Zn,Plus:Gc,PlusCircle:Pa,PlusCircleIcon:Pa,PlusIcon:Gc,PlusSquare:Wo,PlusSquareIcon:Wo,Pocket:yf,PocketIcon:yf,PocketKnife:pf,PocketKnifeIcon:pf,Podcast:kf,PodcastIcon:kf,Pointer:ff,PointerIcon:ff,PointerOff:mf,PointerOffIcon:mf,Popcorn:vf,PopcornIcon:vf,Popsicle:gf,PopsicleIcon:gf,PoundSterling:Mf,PoundSterlingIcon:Mf,Power:xf,PowerCircle:Ta,PowerCircleIcon:Ta,PowerIcon:xf,PowerOff:_f,PowerOffIcon:_f,PowerSquare:Go,PowerSquareIcon:Go,Presentation:Lf,PresentationIcon:Lf,Printer:bf,PrinterCheck:If,PrinterCheckIcon:If,PrinterIcon:bf,Projector:wf,ProjectorIcon:wf,Proportions:Cf,ProportionsIcon:Cf,Puzzle:Sf,PuzzleIcon:Sf,Pyramid:Nf,PyramidIcon:Nf,QrCode:jf,QrCodeIcon:jf,Quote:$f,QuoteIcon:$f,Rabbit:qf,RabbitIcon:qf,Radar:Af,RadarIcon:Af,Radiation:zf,RadiationIcon:zf,Radical:Vf,RadicalIcon:Vf,Radio:Hf,RadioIcon:Hf,RadioReceiver:Pf,RadioReceiverIcon:Pf,RadioTower:Tf,RadioTowerIcon:Tf,Radius:Df,RadiusIcon:Df,RailSymbol:Bf,RailSymbolIcon:Bf,Rainbow:Rf,RainbowIcon:Rf,Rat:Ff,RatIcon:Ff,Ratio:Ef,RatioIcon:Ef,Receipt:Qf,ReceiptCent:Of,ReceiptCentIcon:Of,ReceiptEuro:Wf,ReceiptEuroIcon:Wf,ReceiptIcon:Qf,ReceiptIndianRupee:Uf,ReceiptIndianRupeeIcon:Uf,ReceiptJapaneseYen:Gf,ReceiptJapaneseYenIcon:Gf,ReceiptPoundSterling:Zf,ReceiptPoundSterlingIcon:Zf,ReceiptRussianRuble:Kf,ReceiptRussianRubleIcon:Kf,ReceiptSwissFranc:Xf,ReceiptSwissFrancIcon:Xf,ReceiptText:Yf,ReceiptTextIcon:Yf,ReceiptTurkishLira:Jf,ReceiptTurkishLiraIcon:Jf,RectangleCircle:e7,RectangleCircleIcon:e7,RectangleEllipsis:Kn,RectangleEllipsisIcon:Kn,RectangleGoggles:t7,RectangleGogglesIcon:t7,RectangleHorizontal:a7,RectangleHorizontalIcon:a7,RectangleVertical:n7,RectangleVerticalIcon:n7,Recycle:o7,RecycleIcon:o7,Redo:r7,Redo2:c7,Redo2Icon:c7,RedoDot:i7,RedoDotIcon:i7,RedoIcon:r7,RefreshCcw:d7,RefreshCcwDot:s7,RefreshCcwDotIcon:s7,RefreshCcwIcon:d7,RefreshCw:h7,RefreshCwIcon:h7,RefreshCwOff:l7,RefreshCwOffIcon:l7,Refrigerator:u7,RefrigeratorIcon:u7,Regex:p7,RegexIcon:p7,RemoveFormatting:y7,RemoveFormattingIcon:y7,Repeat:f7,Repeat1:k7,Repeat1Icon:k7,Repeat2:m7,Repeat2Icon:m7,RepeatIcon:f7,Replace:v7,ReplaceAll:g7,ReplaceAllIcon:g7,ReplaceIcon:v7,Reply:x7,ReplyAll:M7,ReplyAllIcon:M7,ReplyIcon:x7,Rewind:_7,RewindIcon:_7,Ribbon:L7,RibbonIcon:L7,Rocket:I7,RocketIcon:I7,RockingChair:C7,RockingChairIcon:C7,RollerCoaster:b7,RollerCoasterIcon:b7,Rose:w7,RoseIcon:w7,Rotate3D:Xn,Rotate3DIcon:Xn,Rotate3d:Xn,Rotate3dIcon:Xn,RotateCcw:j7,RotateCcwIcon:j7,RotateCcwKey:N7,RotateCcwKeyIcon:N7,RotateCcwSquare:S7,RotateCcwSquareIcon:S7,RotateCw:q7,RotateCwIcon:q7,RotateCwSquare:$7,RotateCwSquareIcon:$7,Route:z7,RouteIcon:z7,RouteOff:A7,RouteOffIcon:A7,Router:V7,RouterIcon:V7,Rows:Yn,Rows2:Yn,Rows2Icon:Yn,Rows3:Jn,Rows3Icon:Jn,Rows4:P7,Rows4Icon:P7,RowsIcon:Yn,Rss:T7,RssIcon:T7,Ruler:D7,RulerDimensionLine:H7,RulerDimensionLineIcon:H7,RulerIcon:D7,RussianRuble:B7,RussianRubleIcon:B7,Sailboat:R7,SailboatIcon:R7,Salad:F7,SaladIcon:F7,Sandwich:E7,SandwichIcon:E7,Satellite:U7,SatelliteDish:O7,SatelliteDishIcon:O7,SatelliteIcon:U7,SaudiRiyal:W7,SaudiRiyalIcon:W7,Save:X7,SaveAll:G7,SaveAllIcon:G7,SaveIcon:X7,SaveOff:Z7,SaveOffIcon:Z7,Scale:K7,Scale3D:Qn,Scale3DIcon:Qn,Scale3d:Qn,Scale3dIcon:Qn,ScaleIcon:K7,Scaling:Y7,ScalingIcon:Y7,Scan:ig,ScanBarcode:J7,ScanBarcodeIcon:J7,ScanEye:Q7,ScanEyeIcon:Q7,ScanFace:eg,ScanFaceIcon:eg,ScanHeart:tg,ScanHeartIcon:tg,ScanIcon:ig,ScanLine:ag,ScanLineIcon:ag,ScanQrCode:ng,ScanQrCodeIcon:ng,ScanSearch:og,ScanSearchIcon:og,ScanText:cg,ScanTextIcon:cg,ScatterChart:ua,ScatterChartIcon:ua,School:rg,School2:dc,School2Icon:dc,SchoolIcon:rg,Scissors:dg,ScissorsIcon:dg,ScissorsLineDashed:sg,ScissorsLineDashedIcon:sg,ScissorsSquare:Zo,ScissorsSquareDashedBottom:vo,ScissorsSquareDashedBottomIcon:vo,ScissorsSquareIcon:Zo,ScreenShare:lg,ScreenShareIcon:lg,ScreenShareOff:hg,ScreenShareOffIcon:hg,Scroll:pg,ScrollIcon:pg,ScrollText:ug,ScrollTextIcon:ug,Search:L1,SearchCheck:yg,SearchCheckIcon:yg,SearchCode:kg,SearchCodeIcon:kg,SearchIcon:L1,SearchSlash:mg,SearchSlashIcon:mg,SearchX:fg,SearchXIcon:fg,Section:gg,SectionIcon:gg,Send:Mg,SendHorizonal:eo,SendHorizonalIcon:eo,SendHorizontal:eo,SendHorizontalIcon:eo,SendIcon:Mg,SendToBack:vg,SendToBackIcon:vg,SeparatorHorizontal:_g,SeparatorHorizontalIcon:_g,SeparatorVertical:xg,SeparatorVerticalIcon:xg,Server:wg,ServerCog:Lg,ServerCogIcon:Lg,ServerCrash:bg,ServerCrashIcon:bg,ServerIcon:wg,ServerOff:Ig,ServerOffIcon:Ig,Settings:Ng,Settings2:Cg,Settings2Icon:Cg,SettingsIcon:Ng,Shapes:Sg,ShapesIcon:Sg,Share:$g,Share2:jg,Share2Icon:jg,ShareIcon:$g,Sheet:qg,SheetIcon:qg,Shell:Ag,ShellIcon:Ag,Shield:Eg,ShieldAlert:zg,ShieldAlertIcon:zg,ShieldBan:Vg,ShieldBanIcon:Vg,ShieldCheck:Pg,ShieldCheckIcon:Pg,ShieldClose:ao,ShieldCloseIcon:ao,ShieldEllipsis:Tg,ShieldEllipsisIcon:Tg,ShieldHalf:Hg,ShieldHalfIcon:Hg,ShieldIcon:Eg,ShieldMinus:Bg,ShieldMinusIcon:Bg,ShieldOff:Dg,ShieldOffIcon:Dg,ShieldPlus:Rg,ShieldPlusIcon:Rg,ShieldQuestion:to,ShieldQuestionIcon:to,ShieldQuestionMark:to,ShieldQuestionMarkIcon:to,ShieldUser:Fg,ShieldUserIcon:Fg,ShieldX:ao,ShieldXIcon:ao,Ship:Ug,ShipIcon:Ug,ShipWheel:Og,ShipWheelIcon:Og,Shirt:Wg,ShirtIcon:Wg,ShoppingBag:Gg,ShoppingBagIcon:Gg,ShoppingBasket:Zg,ShoppingBasketIcon:Zg,ShoppingCart:Kg,ShoppingCartIcon:Kg,Shovel:Xg,ShovelIcon:Xg,ShowerHead:Yg,ShowerHeadIcon:Yg,Shredder:Jg,ShredderIcon:Jg,Shrimp:Qg,ShrimpIcon:Qg,Shrink:ev,ShrinkIcon:ev,Shrub:tv,ShrubIcon:tv,Shuffle:nv,ShuffleIcon:nv,Sidebar:On,SidebarClose:Rn,SidebarCloseIcon:Rn,SidebarIcon:On,SidebarOpen:En,SidebarOpenIcon:En,Sigma:av,SigmaIcon:av,SigmaSquare:Ko,SigmaSquareIcon:Ko,Signal:sv,SignalHigh:ov,SignalHighIcon:ov,SignalIcon:sv,SignalLow:cv,SignalLowIcon:cv,SignalMedium:iv,SignalMediumIcon:iv,SignalZero:rv,SignalZeroIcon:rv,Signature:dv,SignatureIcon:dv,Signpost:hv,SignpostBig:lv,SignpostBigIcon:lv,SignpostIcon:hv,Siren:uv,SirenIcon:uv,SkipBack:pv,SkipBackIcon:pv,SkipForward:yv,SkipForwardIcon:yv,Skull:kv,SkullIcon:kv,Slack:mv,SlackIcon:mv,Slash:fv,SlashIcon:fv,SlashSquare:Xo,SlashSquareIcon:Xo,Slice:gv,SliceIcon:gv,Sliders:no,SlidersHorizontal:vv,SlidersHorizontalIcon:vv,SlidersIcon:no,SlidersVertical:no,SlidersVerticalIcon:no,Smartphone:xv,SmartphoneCharging:Mv,SmartphoneChargingIcon:Mv,SmartphoneIcon:xv,SmartphoneNfc:_v,SmartphoneNfcIcon:_v,Smile:Iv,SmileIcon:Iv,SmilePlus:Lv,SmilePlusIcon:Lv,Snail:bv,SnailIcon:bv,Snowflake:wv,SnowflakeIcon:wv,SoapDispenserDroplet:Cv,SoapDispenserDropletIcon:Cv,Sofa:Nv,SofaIcon:Nv,SortAsc:Ot,SortAscIcon:Ot,SortDesc:Rt,SortDescIcon:Rt,Soup:Sv,SoupIcon:Sv,Space:jv,SpaceIcon:jv,Spade:$v,SpadeIcon:$v,Sparkle:qv,SparkleIcon:qv,Sparkles:oo,SparklesIcon:oo,Speaker:Av,SpeakerIcon:Av,Speech:zv,SpeechIcon:zv,SpellCheck:Pv,SpellCheck2:Vv,SpellCheck2Icon:Vv,SpellCheckIcon:Pv,Spline:Hv,SplineIcon:Hv,SplinePointer:Tv,SplinePointerIcon:Tv,Split:Dv,SplitIcon:Dv,SplitSquareHorizontal:Yo,SplitSquareHorizontalIcon:Yo,SplitSquareVertical:Jo,SplitSquareVerticalIcon:Jo,Spool:Bv,SpoolIcon:Bv,Spotlight:Rv,SpotlightIcon:Rv,SprayCan:Fv,SprayCanIcon:Fv,Sprout:Ev,SproutIcon:Ev,Square:e9,SquareActivity:It,SquareActivityIcon:It,SquareArrowDown:ro,SquareArrowDownIcon:ro,SquareArrowDownLeft:co,SquareArrowDownLeftIcon:co,SquareArrowDownRight:io,SquareArrowDownRightIcon:io,SquareArrowLeft:so,SquareArrowLeftIcon:so,SquareArrowOutDownLeft:lo,SquareArrowOutDownLeftIcon:lo,SquareArrowOutDownRight:ho,SquareArrowOutDownRightIcon:ho,SquareArrowOutUpLeft:uo,SquareArrowOutUpLeftIcon:uo,SquareArrowOutUpRight:po,SquareArrowOutUpRightIcon:po,SquareArrowRight:yo,SquareArrowRightIcon:yo,SquareArrowUp:fo,SquareArrowUpIcon:fo,SquareArrowUpLeft:ko,SquareArrowUpLeftIcon:ko,SquareArrowUpRight:mo,SquareArrowUpRightIcon:mo,SquareAsterisk:go,SquareAsteriskIcon:go,SquareBottomDashedScissors:vo,SquareBottomDashedScissorsIcon:vo,SquareChartGantt:ot,SquareChartGanttIcon:ot,SquareCheck:_o,SquareCheckBig:Mo,SquareCheckBigIcon:Mo,SquareCheckIcon:_o,SquareChevronDown:xo,SquareChevronDownIcon:xo,SquareChevronLeft:Lo,SquareChevronLeftIcon:Lo,SquareChevronRight:Io,SquareChevronRightIcon:Io,SquareChevronUp:bo,SquareChevronUpIcon:bo,SquareCode:wo,SquareCodeIcon:wo,SquareDashed:So,SquareDashedBottom:Uv,SquareDashedBottomCode:Ov,SquareDashedBottomCodeIcon:Ov,SquareDashedBottomIcon:Uv,SquareDashedIcon:So,SquareDashedKanban:Co,SquareDashedKanbanIcon:Co,SquareDashedMousePointer:No,SquareDashedMousePointerIcon:No,SquareDashedTopSolid:Wv,SquareDashedTopSolidIcon:Wv,SquareDivide:jo,SquareDivideIcon:jo,SquareDot:qo,SquareDotIcon:qo,SquareEqual:$o,SquareEqualIcon:$o,SquareFunction:Ao,SquareFunctionIcon:Ao,SquareGanttChart:ot,SquareGanttChartIcon:ot,SquareIcon:e9,SquareKanban:zo,SquareKanbanIcon:zo,SquareLibrary:Vo,SquareLibraryIcon:Vo,SquareM:Po,SquareMIcon:Po,SquareMenu:To,SquareMenuIcon:To,SquareMinus:Ho,SquareMinusIcon:Ho,SquareMousePointer:Bo,SquareMousePointerIcon:Bo,SquareParking:Ro,SquareParkingIcon:Ro,SquareParkingOff:Do,SquareParkingOffIcon:Do,SquarePause:Gv,SquarePauseIcon:Gv,SquarePen:Pe,SquarePenIcon:Pe,SquarePercent:Fo,SquarePercentIcon:Fo,SquarePi:Eo,SquarePiIcon:Eo,SquarePilcrow:Oo,SquarePilcrowIcon:Oo,SquarePlay:Uo,SquarePlayIcon:Uo,SquarePlus:Wo,SquarePlusIcon:Wo,SquarePower:Go,SquarePowerIcon:Go,SquareRadical:Zv,SquareRadicalIcon:Zv,SquareRoundCorner:Kv,SquareRoundCornerIcon:Kv,SquareScissors:Zo,SquareScissorsIcon:Zo,SquareSigma:Ko,SquareSigmaIcon:Ko,SquareSlash:Xo,SquareSlashIcon:Xo,SquareSplitHorizontal:Yo,SquareSplitHorizontalIcon:Yo,SquareSplitVertical:Jo,SquareSplitVerticalIcon:Jo,SquareSquare:Xv,SquareSquareIcon:Xv,SquareStack:Yv,SquareStackIcon:Yv,SquareStar:Jv,SquareStarIcon:Jv,SquareStop:Qv,SquareStopIcon:Qv,SquareTerminal:Qo,SquareTerminalIcon:Qo,SquareUser:tc,SquareUserIcon:tc,SquareUserRound:ec,SquareUserRoundIcon:ec,SquareX:ac,SquareXIcon:ac,SquaresExclude:t9,SquaresExcludeIcon:t9,SquaresIntersect:a9,SquaresIntersectIcon:a9,SquaresSubtract:n9,SquaresSubtractIcon:n9,SquaresUnite:o9,SquaresUniteIcon:o9,Squircle:i9,SquircleDashed:c9,SquircleDashedIcon:c9,SquircleIcon:i9,Squirrel:r9,SquirrelIcon:r9,Stamp:s9,StampIcon:s9,Star:u9,StarHalf:d9,StarHalfIcon:d9,StarIcon:u9,StarOff:l9,StarOffIcon:l9,Stars:oo,StarsIcon:oo,StepBack:h9,StepBackIcon:h9,StepForward:p9,StepForwardIcon:p9,Stethoscope:y9,StethoscopeIcon:y9,Sticker:k9,StickerIcon:k9,StickyNote:m9,StickyNoteIcon:m9,StopCircle:Da,StopCircleIcon:Da,Store:f9,StoreIcon:f9,StretchHorizontal:g9,StretchHorizontalIcon:g9,StretchVertical:v9,StretchVerticalIcon:v9,Strikethrough:M9,StrikethroughIcon:M9,Subscript:_9,SubscriptIcon:_9,Subtitles:Qt,SubtitlesIcon:Qt,Sun:C9,SunDim:x9,SunDimIcon:x9,SunIcon:C9,SunMedium:L9,SunMediumIcon:L9,SunMoon:I9,SunMoonIcon:I9,SunSnow:b9,SunSnowIcon:b9,Sunrise:w9,SunriseIcon:w9,Sunset:N9,SunsetIcon:N9,Superscript:S9,SuperscriptIcon:S9,SwatchBook:j9,SwatchBookIcon:j9,SwissFranc:$9,SwissFrancIcon:$9,SwitchCamera:q9,SwitchCameraIcon:q9,Sword:A9,SwordIcon:A9,Swords:V9,SwordsIcon:V9,Syringe:z9,SyringeIcon:z9,Table:E9,Table2:P9,Table2Icon:P9,TableCellsMerge:T9,TableCellsMergeIcon:T9,TableCellsSplit:H9,TableCellsSplitIcon:H9,TableColumnsSplit:D9,TableColumnsSplitIcon:D9,TableConfig:at,TableConfigIcon:at,TableIcon:E9,TableOfContents:B9,TableOfContentsIcon:B9,TableProperties:R9,TablePropertiesIcon:R9,TableRowsSplit:F9,TableRowsSplitIcon:F9,Tablet:U9,TabletIcon:U9,TabletSmartphone:O9,TabletSmartphoneIcon:O9,Tablets:W9,TabletsIcon:W9,Tag:G9,TagIcon:G9,Tags:Z9,TagsIcon:Z9,Tally1:K9,Tally1Icon:K9,Tally2:X9,Tally2Icon:X9,Tally3:Y9,Tally3Icon:Y9,Tally4:J9,Tally4Icon:J9,Tally5:Q9,Tally5Icon:Q9,Tangent:eM,TangentIcon:eM,Target:tM,TargetIcon:tM,Telescope:aM,TelescopeIcon:aM,Tent:oM,TentIcon:oM,TentTree:nM,TentTreeIcon:nM,Terminal:cM,TerminalIcon:cM,TerminalSquare:Qo,TerminalSquareIcon:Qo,TestTube:iM,TestTube2:nc,TestTube2Icon:nc,TestTubeDiagonal:nc,TestTubeDiagonalIcon:nc,TestTubeIcon:iM,TestTubes:rM,TestTubesIcon:rM,Text:uM,TextCursor:dM,TextCursorIcon:dM,TextCursorInput:sM,TextCursorInputIcon:sM,TextIcon:uM,TextQuote:lM,TextQuoteIcon:lM,TextSearch:hM,TextSearchIcon:hM,TextSelect:oc,TextSelectIcon:oc,TextSelection:oc,TextSelectionIcon:oc,Theater:pM,TheaterIcon:pM,Thermometer:fM,ThermometerIcon:fM,ThermometerSnowflake:yM,ThermometerSnowflakeIcon:yM,ThermometerSun:kM,ThermometerSunIcon:kM,ThumbsDown:mM,ThumbsDownIcon:mM,ThumbsUp:gM,ThumbsUpIcon:gM,Ticket:bM,TicketCheck:vM,TicketCheckIcon:vM,TicketIcon:bM,TicketMinus:MM,TicketMinusIcon:MM,TicketPercent:_M,TicketPercentIcon:_M,TicketPlus:xM,TicketPlusIcon:xM,TicketSlash:LM,TicketSlashIcon:LM,TicketX:IM,TicketXIcon:IM,Tickets:CM,TicketsIcon:CM,TicketsPlane:wM,TicketsPlaneIcon:wM,Timer:jM,TimerIcon:jM,TimerOff:NM,TimerOffIcon:NM,TimerReset:SM,TimerResetIcon:SM,ToggleLeft:$M,ToggleLeftIcon:$M,ToggleRight:qM,ToggleRightIcon:qM,Toilet:AM,ToiletIcon:AM,ToolCase:zM,ToolCaseIcon:zM,Tornado:PM,TornadoIcon:PM,Torus:VM,TorusIcon:VM,Touchpad:HM,TouchpadIcon:HM,TouchpadOff:TM,TouchpadOffIcon:TM,TowerControl:BM,TowerControlIcon:BM,ToyBrick:DM,ToyBrickIcon:DM,Tractor:RM,TractorIcon:RM,TrafficCone:FM,TrafficConeIcon:FM,Train:cc,TrainFront:OM,TrainFrontIcon:OM,TrainFrontTunnel:EM,TrainFrontTunnelIcon:EM,TrainIcon:cc,TrainTrack:UM,TrainTrackIcon:UM,TramFront:cc,TramFrontIcon:cc,Transgender:WM,TransgenderIcon:WM,Trash:GM,Trash2:St,Trash2Icon:St,TrashIcon:GM,TreeDeciduous:ZM,TreeDeciduousIcon:ZM,TreePalm:ic,TreePalmIcon:ic,TreePine:KM,TreePineIcon:KM,Trees:XM,TreesIcon:XM,Trello:YM,TrelloIcon:YM,TrendingDown:JM,TrendingDownIcon:JM,TrendingUp:QM,TrendingUpDown:e_,TrendingUpDownIcon:e_,TrendingUpIcon:QM,Triangle:a_,TriangleAlert:rc,TriangleAlertIcon:rc,TriangleDashed:t_,TriangleDashedIcon:t_,TriangleIcon:a_,TriangleRight:n_,TriangleRightIcon:n_,Trophy:o_,TrophyIcon:o_,Truck:i_,TruckElectric:c_,TruckElectricIcon:c_,TruckIcon:i_,TurkishLira:r_,TurkishLiraIcon:r_,Turntable:s_,TurntableIcon:s_,Turtle:d_,TurtleIcon:d_,Tv:h_,Tv2:sc,Tv2Icon:sc,TvIcon:h_,TvMinimal:sc,TvMinimalIcon:sc,TvMinimalPlay:l_,TvMinimalPlayIcon:l_,Twitch:u_,TwitchIcon:u_,Twitter:p_,TwitterIcon:p_,Type:k_,TypeIcon:k_,TypeOutline:y_,TypeOutlineIcon:y_,Umbrella:f_,UmbrellaIcon:f_,UmbrellaOff:m_,UmbrellaOffIcon:m_,Underline:g_,UnderlineIcon:g_,Undo:__,Undo2:v_,Undo2Icon:v_,UndoDot:M_,UndoDotIcon:M_,UndoIcon:__,UnfoldHorizontal:x_,UnfoldHorizontalIcon:x_,UnfoldVertical:L_,UnfoldVerticalIcon:L_,Ungroup:I_,UngroupIcon:I_,University:dc,UniversityIcon:dc,Unlink:N_,Unlink2:b_,Unlink2Icon:b_,UnlinkIcon:N_,Unlock:jn,UnlockIcon:jn,UnlockKeyhole:Sn,UnlockKeyholeIcon:Sn,Unplug:w_,UnplugIcon:w_,Upload:C_,UploadCloud:Ua,UploadCloudIcon:Ua,UploadIcon:C_,Usb:S_,UsbIcon:S_,User:B_,User2:kc,User2Icon:kc,UserCheck:j_,UserCheck2:lc,UserCheck2Icon:lc,UserCheckIcon:j_,UserCircle:Ra,UserCircle2:Ba,UserCircle2Icon:Ba,UserCircleIcon:Ra,UserCog:$_,UserCog2:hc,UserCog2Icon:hc,UserCogIcon:$_,UserIcon:B_,UserLock:q_,UserLockIcon:q_,UserMinus:A_,UserMinus2:uc,UserMinus2Icon:uc,UserMinusIcon:A_,UserPen:z_,UserPenIcon:z_,UserPlus:I1,UserPlus2:pc,UserPlus2Icon:pc,UserPlusIcon:I1,UserRound:kc,UserRoundCheck:lc,UserRoundCheckIcon:lc,UserRoundCog:hc,UserRoundCogIcon:hc,UserRoundIcon:kc,UserRoundMinus:uc,UserRoundMinusIcon:uc,UserRoundPen:V_,UserRoundPenIcon:V_,UserRoundPlus:pc,UserRoundPlusIcon:pc,UserRoundSearch:P_,UserRoundSearchIcon:P_,UserRoundX:yc,UserRoundXIcon:yc,UserSearch:T_,UserSearchIcon:T_,UserSquare:tc,UserSquare2:ec,UserSquare2Icon:ec,UserSquareIcon:tc,UserStar:H_,UserStarIcon:H_,UserX:D_,UserX2:yc,UserX2Icon:yc,UserXIcon:D_,Users:R_,Users2:mc,Users2Icon:mc,UsersIcon:R_,UsersRound:mc,UsersRoundIcon:mc,Utensils:gc,UtensilsCrossed:fc,UtensilsCrossedIcon:fc,UtensilsIcon:gc,UtilityPole:F_,UtilityPoleIcon:F_,Variable:E_,VariableIcon:E_,Vault:O_,VaultIcon:O_,VectorSquare:U_,VectorSquareIcon:U_,Vegan:W_,VeganIcon:W_,VenetianMask:G_,VenetianMaskIcon:G_,Venus:Y_,VenusAndMars:Z_,VenusAndMarsIcon:Z_,VenusIcon:Y_,Verified:Gt,VerifiedIcon:Gt,Vibrate:X_,VibrateIcon:X_,VibrateOff:K_,VibrateOffIcon:K_,Video:Q_,VideoIcon:Q_,VideoOff:J_,VideoOffIcon:J_,Videotape:ex,VideotapeIcon:ex,View:ax,ViewIcon:ax,Voicemail:tx,VoicemailIcon:tx,Volleyball:nx,VolleyballIcon:nx,Volume:dx,Volume1:ox,Volume1Icon:ox,Volume2:cx,Volume2Icon:cx,VolumeIcon:dx,VolumeOff:ix,VolumeOffIcon:ix,VolumeX:rx,VolumeXIcon:rx,Vote:sx,VoteIcon:sx,Wallet:hx,Wallet2:vc,Wallet2Icon:vc,WalletCards:lx,WalletCardsIcon:lx,WalletIcon:hx,WalletMinimal:vc,WalletMinimalIcon:vc,Wallpaper:ux,WallpaperIcon:ux,Wand:px,Wand2:Mc,Wand2Icon:Mc,WandIcon:px,WandSparkles:Mc,WandSparklesIcon:Mc,Warehouse:yx,WarehouseIcon:yx,WashingMachine:kx,WashingMachineIcon:kx,Watch:mx,WatchIcon:mx,Waves:gx,WavesIcon:gx,WavesLadder:fx,WavesLadderIcon:fx,Waypoints:vx,WaypointsIcon:vx,Webcam:Mx,WebcamIcon:Mx,Webhook:Lx,WebhookIcon:Lx,WebhookOff:_x,WebhookOffIcon:_x,Weight:xx,WeightIcon:xx,Wheat:bx,WheatIcon:bx,WheatOff:Ix,WheatOffIcon:Ix,WholeWord:wx,WholeWordIcon:wx,Wifi:zx,WifiCog:Cx,WifiCogIcon:Cx,WifiHigh:Nx,WifiHighIcon:Nx,WifiIcon:zx,WifiLow:Sx,WifiLowIcon:Sx,WifiOff:jx,WifiOffIcon:jx,WifiPen:$x,WifiPenIcon:$x,WifiSync:qx,WifiSyncIcon:qx,WifiZero:Ax,WifiZeroIcon:Ax,Wind:Px,WindArrowDown:Vx,WindArrowDownIcon:Vx,WindIcon:Px,Wine:Hx,WineIcon:Hx,WineOff:Tx,WineOffIcon:Tx,Workflow:Dx,WorkflowIcon:Dx,Worm:Bx,WormIcon:Bx,WrapText:Rx,WrapTextIcon:Rx,Wrench:Fx,WrenchIcon:Fx,X:Ze,XCircle:_t,XCircleIcon:_t,XIcon:Ze,XOctagon:Hn,XOctagonIcon:Hn,XSquare:ac,XSquareIcon:ac,Youtube:Ox,YoutubeIcon:Ox,Zap:Ux,ZapIcon:Ux,ZapOff:Ex,ZapOffIcon:Ex,ZoomIn:Wx,ZoomInIcon:Wx,ZoomOut:Gx,ZoomOutIcon:Gx,createLucideIcon:a.createLucideIcon,icons:Qse},Symbol.toStringTag,{value:"Module"})),e2e=({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,M=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(qb,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(lj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(qb,{...M})})]})]}),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}})})]})},hj=k.createContext(void 0),it=()=>{const e=k.useContext(hj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},t2e=({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,M)=>{p(f=>({...f,[m]:M}))};return c.jsx(hj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},uj=({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:M}=it();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?ht[t]:null,v=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 ${v}`,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||M===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))]})]})},pj=({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:M,onSwap:f,draggable:v=!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;M&&M.length>0&&(q=j.map(($,P)=>({...$,node:j[M[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 R=N.node.props;R.uniqueKey===S&&(P=A),R.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"?v?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})};pj.displayName="Grid";const dL=({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"})},Ab=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=it(),h=()=>{l(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,...d,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,role:o?"button":"presentation",tabIndex:o?0:-1,...d,children:t})},yj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=it(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),M=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=>{M.current&&!M.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)},v=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:[v.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:M,className:`navbar-dropdown ${_}`,children:e.map(g=>c.jsx(Ab,{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(Ab,{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))})})},kj=k.createContext(void 0),a2e=({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(kj.Provider,{value:{themeName:n,setTheme:i},children:e})},mj=()=>{const e=k.useContext(kj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},lL=()=>{const{themeName:e,setTheme:t}=mj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},T1=({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=y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),h())},p=l?.mode==="guide"?l.description:l?.mode==="key"?l.key:void 0;return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,title:p,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})]})]})},zb=({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})=>{const{currentTheme:s,switchTheme:d}=lL(),[l,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!l)return null;const u=s===t,p=y=>{d(y?t:e)};return c.jsx(T1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},n2e=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"})),Yw=k.memo(n2e),fj=k.createContext(void 0),o2e=({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(fj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},gj=()=>{const e=k.useContext(fj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Qx=({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}=gj(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(T1,{leftIcon:e||c.jsx(Yw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Yw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:o,a11yConfig:i})},c2e=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"})),Jw=k.memo(c2e),vj=k.createContext(void 0),i2e=({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(vj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},Mj=()=>{const e=k.useContext(vj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},eL=({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}=Mj(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(T1,{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})},_j=k.createContext(void 0),r2e=({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(_j.Provider,{value:{showData:t,switchShowData:o},children:e})},xj=()=>{const e=k.useContext(_j);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},s2e=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"})),Qw=k.memo(s2e),tL=({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}=xj(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?c.jsx(T1,{checked:o,onToggle:d=>i(d),size:e,leftIcon:c.jsx(Qw,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Qw,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},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:"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"})),Lj=k.memo(d2e);function Vb({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,M)=>{u(f=>f.map(v=>v.component_key===m&&M>3?{...v,visible:!v.visible}:v))},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(Lj,{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,M)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:m.visible,disabled:M<4,onChange:()=>p(m.component_key,M),style:{marginRight:8}}),c.jsx("span",{style:{color:M<4?"#6b7280":"#111827"},children:m.label}),M<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 l2e=({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}=it(),M=m?.draggable===!0,f=m?.showData===!0,v=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(dL,{imagePath:e})}),c.jsx(yj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[M&&c.jsx(Qx,{}),f&&c.jsx(tL,{}),v&&c.jsx(eL,{}),c.jsx(zb,{}),_&&c.jsx(Vb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(uj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[M&&c.jsx(Qx,{}),f&&c.jsx(tL,{}),v&&c.jsx(eL,{}),c.jsx(zb,{}),_&&c.jsx(Vb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},Ij=({icon:e,text:t,size:n=16,color:o="currentColor",className:i="",active:r=!1,href:s})=>{const d=e?ht[e]:null,l=s?"a":"div";return c.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:o},role:"text","aria-label":t,...s?{href:s}:{},children:[d&&c.jsx(d,{size:n,"aria-hidden":"true"}),c.jsx("span",{children:t})]})},bj=({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(uj,{logo:"BarChart",position:"right",categories:o})})]}),h2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=it();return c.jsx(bj,{style:n,item:o,children:e?.map(r=>c.jsx(Ij,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},wj=({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})]})]})},rw=k.createContext({});function $t(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const sw=typeof window<"u",dw=sw?k.useLayoutEffect:k.useEffect,hL=k.createContext(null);function lw(e,t){e.indexOf(t)===-1&&e.push(t)}function hw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function u2e([...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 ut=(e,t,n)=>n>t?t:n<e?e:n;function Pb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Xc=()=>{},Xe=()=>{};process.env.NODE_ENV!=="production"&&(Xc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Pb(t,n))},Xe=(e,t,n)=>{if(!e)throw new Error(Pb(t,n))});const pt={},Cj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Nj(e){return typeof e=="object"&&e!==null}const Sj=e=>/^0[^.\s]+$/u.test(e);function uw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Oe=e=>e,p2e=(e,t)=>n=>t(e(n)),H1=(...e)=>e.reduce(p2e),$1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class pw{constructor(){this.subscriptions=[]}add(t){return lw(this.subscriptions,t),()=>hw(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 Ke=e=>e*1e3,Ee=e=>e/1e3;function jj(e,t){return t?e*(1e3/t):0}const eC=new Set;function yw(e,t,n){e||eC.has(t)||(console.warn(Pb(t,n)),eC.add(t))}const $j=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,y2e=1e-7,k2e=12;function m2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=$j(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>y2e&&++d<k2e);return s}function D1(e,t,n,o){if(e===t&&n===o)return Oe;const i=r=>m2e(r,0,1,e,n);return r=>r===0||r===1?r:$j(i(r),t,o)}const qj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Aj=e=>t=>1-e(1-t),zj=D1(.33,1.53,.69,.99),kw=Aj(zj),Vj=qj(kw),Pj=e=>(e*=2)<1?.5*kw(e):.5*(2-Math.pow(2,-10*(e-1))),mw=e=>1-Math.sin(Math.acos(e)),Tj=Aj(mw),Hj=qj(mw),f2e=D1(.42,0,1,1),g2e=D1(0,0,.58,1),Dj=D1(.42,0,.58,1),v2e=e=>Array.isArray(e)&&typeof e[0]!="number",Bj=e=>Array.isArray(e)&&typeof e[0]=="number",tC={linear:Oe,easeIn:f2e,easeInOut:Dj,easeOut:g2e,circIn:mw,circInOut:Hj,circOut:Tj,backIn:kw,backInOut:Vj,backOut:zj,anticipate:Pj},M2e=e=>typeof e=="string",aC=e=>{if(Bj(e)){Xe(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return D1(t,n,o,i)}else if(M2e(e))return Xe(tC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),tC[e];return e},O1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _2e(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 M=y&&i?n:o;return p&&s.add(u),M.has(u)||M.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 x2e=40;function Rj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=O1.reduce((L,w)=>(L[w]=_2e(r),L),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:m,postRender:M}=s,f=()=>{const L=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(L-i.timestamp,x2e),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),M.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(f))},v=()=>{n=!0,o=!0,i.isProcessing||e(f)};return{schedule:O1.reduce((L,w)=>{const C=s[w];return L[w]=(b,x=!1,I=!1)=>(n||v(),C.schedule(b,x,I)),L},{}),cancel:L=>{for(let w=0;w<O1.length;w++)s[O1[w]].cancel(L)},state:i,steps:s}}const{schedule:se,cancel:yt,state:Ie,steps:zL}=Rj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Oe,!0);let Zx;function L2e(){Zx=void 0}const Ve={now:()=>(Zx===void 0&&Ve.set(Ie.isProcessing||pt.useManualTiming?Ie.timestamp:performance.now()),Zx),set:e=>{Zx=e,queueMicrotask(L2e)}},Fj=e=>t=>typeof t=="string"&&t.startsWith(e),fw=Fj("--"),I2e=Fj("var(--"),gw=e=>I2e(e)?b2e.test(e.split("/*")[0].trim()):!1,b2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Yc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},q1={...Yc,transform:e=>ut(0,1,e)},U1={...Yc,default:1},b1=e=>Math.round(e*1e5)/1e5,vw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function w2e(e){return e==null}const C2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Mw=(e,t)=>n=>!!(typeof n=="string"&&C2e.test(n)&&n.startsWith(e)||t&&!w2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ej=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(vw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},N2e=e=>ut(0,255,e),VL={...Yc,transform:e=>Math.round(N2e(e))},xc={test:Mw("rgb","red"),parse:Ej("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+VL.transform(e)+", "+VL.transform(t)+", "+VL.transform(n)+", "+b1(q1.transform(o))+")"};function S2e(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 Tb={test:Mw("#"),parse:S2e,transform:xc.transform},B1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mt=B1("deg"),ct=B1("%"),U=B1("px"),j2e=B1("vh"),$2e=B1("vw"),nC={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},Hc={test:Mw("hsl","hue"),parse:Ej("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ct.transform(b1(t))+", "+ct.transform(b1(n))+", "+b1(q1.transform(o))+")"},ge={test:e=>xc.test(e)||Tb.test(e)||Hc.test(e),parse:e=>xc.test(e)?xc.parse(e):Hc.test(e)?Hc.parse(e):Tb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?xc.transform(e):Hc.transform(e),getAnimatableNone:e=>{const t=ge.parse(e);return t.alpha=0,ge.transform(t)}},q2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function A2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(vw)?.length||0)+(e.match(q2e)?.length||0)>0}const Oj="number",Uj="color",z2e="var",V2e="var(",oC="${}",P2e=/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 A1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(P2e,l=>(ge.test(l)?(o.color.push(r),i.push(Uj),n.push(ge.parse(l))):l.startsWith(V2e)?(o.var.push(r),i.push(z2e),n.push(l)):(o.number.push(r),i.push(Oj),n.push(parseFloat(l))),++r,oC)).split(oC);return{values:n,split:d,indexes:o,types:i}}function Wj(e){return A1(e).values}function Gj(e){const{split:t,types:n}=A1(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===Oj?r+=b1(i[s]):d===Uj?r+=ge.transform(i[s]):r+=i[s]}return r}}const T2e=e=>typeof e=="number"?0:ge.test(e)?ge.getAnimatableNone(e):e;function H2e(e){const t=Wj(e);return Gj(e)(t.map(T2e))}const jt={test:A2e,parse:Wj,createTransformer:Gj,getAnimatableNone:H2e};function PL(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 D2e({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=PL(l,d,e+1/3),r=PL(l,d,e),s=PL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function aL(e,t){return n=>n>0?t:e}const le=(e,t,n)=>e+(t-e)*n,TL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},B2e=[Tb,xc,Hc],R2e=e=>B2e.find(t=>t.test(e));function cC(e){const t=R2e(e);if(Xc(!!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===Hc&&(n=D2e(n)),n}const iC=(e,t)=>{const n=cC(e),o=cC(t);if(!n||!o)return aL(e,t);const i={...n};return r=>(i.red=TL(n.red,o.red,r),i.green=TL(n.green,o.green,r),i.blue=TL(n.blue,o.blue,r),i.alpha=le(n.alpha,o.alpha,r),xc.transform(i))},Hb=new Set(["none","hidden"]);function F2e(e,t){return Hb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function E2e(e,t){return n=>le(e,t,n)}function _w(e){return typeof e=="number"?E2e:typeof e=="string"?gw(e)?aL:ge.test(e)?iC:W2e:Array.isArray(e)?Zj:typeof e=="object"?ge.test(e)?iC:O2e:aL}function Zj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>_w(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function O2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=_w(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function U2e(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 W2e=(e,t)=>{const n=jt.createTransformer(t),o=A1(e),i=A1(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?Hb.has(e)&&!i.values.length||Hb.has(t)&&!o.values.length?F2e(e,t):H1(Zj(U2e(o,i),i.values),n):(Xc(!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"),aL(e,t))};function Kj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?le(e,t,n):_w(e)(e,t)}const G2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>yt(t),now:()=>Ie.isProcessing?Ie.timestamp:Ve.now()}},Xj=(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)})`},nL=2e4;function xw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<nL;)t+=n,o=e.next(t);return t>=nL?1/0:t}function Z2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(xw(o),nL);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Ee(i)}}const K2e=5;function Yj(e,t,n){const o=Math.max(t-K2e,0);return jj(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},HL=.001;function X2e({duration:e=he.duration,bounce:t=he.bounce,velocity:n=he.velocity,mass:o=he.mass}){let i,r;Xc(e<=Ke(he.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(he.minDamping,he.maxDamping,s),e=ut(he.minDuration,he.maxDuration,Ee(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Db(h,s),M=Math.exp(-p);return HL-y/m*M},r=h=>{const p=h*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(h,2)*e,M=Math.exp(-p),f=Db(Math.pow(h,2),s);return(-i(h)+HL>0?-1:1)*((y-m)*M)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-HL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=J2e(i,r,d);if(e=Ke(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 Y2e=12;function J2e(e,t,n){let o=n;for(let i=1;i<Y2e;i++)o=o-e(o)/t(o);return o}function Db(e,t){return e*Math.sqrt(1-t*t)}const Q2e=["duration","bounce"],ede=["stiffness","damping","mass"];function rC(e,t){return t.some(n=>e[n]!==void 0)}function tde(e){let t={velocity:he.velocity,stiffness:he.stiffness,damping:he.damping,mass:he.mass,isResolvedFromDuration:!1,...e};if(!rC(e,ede)&&rC(e,Q2e))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:he.mass,stiffness:i,damping:r}}else{const n=X2e(e);t={...t,...n,mass:he.mass},t.isResolvedFromDuration=!0}return t}function oL(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}=tde({...n,velocity:-Ee(n.velocity||0)}),M=y||0,f=h/(2*Math.sqrt(l*u)),v=s-r,_=Ee(Math.sqrt(l/u)),g=Math.abs(v)<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=Db(_,f);L=b=>{const x=Math.exp(-f*_*b);return s-x*((M+f*_*v)/C*Math.sin(C*b)+v*Math.cos(C*b))}}else if(f===1)L=C=>s-Math.exp(-_*C)*(v+(M+_*v)*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*((M+f*_*v)*Math.sinh(I)+C*v*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?M:0;f<1&&(x=C===0?Ke(M):Yj(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(xw(w),nL),b=Xj(x=>w.next(C*x).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}oL.applyToOptions=e=>{const t=Z2e(e,100,oL);return e.ease=t.ease,e.duration=Ke(t.duration),e.type="keyframes",e};function Bb({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,M=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let f=n*t;const v=p+f,_=s===void 0?v:s(v);_!==v&&(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=oL({keyframes:[y.value,M(y.value)],velocity:Yj(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 ade(e,t,n){const o=[],i=n||pt.mix||Kj,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]||Oe:t;d=H1(l,d)}o.push(d)}return o}function Jj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Xe(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=ade(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=$1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function nde(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=$1(0,t,o);e.push(le(n,1,i))}}function ode(e){const t=[0];return nde(t,e.length-1),t}function cde(e,t){return e.map(n=>n*t)}function ide(e,t){return e.map(()=>t||Dj).splice(0,e.length-1)}function Dc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=v2e(o)?o.map(aC):aC(o),r={done:!1,value:t[0]},s=cde(n&&n.length===t.length?n:ode(t),e),d=Jj(s,t,{ease:Array.isArray(i)?i:ide(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const rde=e=>e!==null;function Lw(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(rde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const sde={decay:Bb,inertia:Bb,tween:Dc,keyframes:Dc,spring:oL};function Qj(e){typeof e.type=="string"&&(e.type=sde[e.type])}class Iw{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 dde=e=>e/100;class bw extends Iw{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!==Ve.now()&&this.tick(Ve.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;Qj(t);const{type:n=Dc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Dc;process.env.NODE_ENV!=="production"&&l!==Dc&&Xe(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Dc&&typeof d[0]!="number"&&(this.mixKeyframes=H1(dde,Kj(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=xw(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:M,onUpdate:f,finalKeyframe:v}=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=ut(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&&M!==Bb&&(C.value=Lw(u,this.options,v,this.speed)),f&&f(C.value),x&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Ee(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ee(t)}get time(){return Ee(this.currentTime)}set time(t){t=Ke(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(Ve.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ee(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=G2e,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(Ve.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 lde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Lc=e=>e*180/Math.PI,Rb=e=>{const t=Lc(Math.atan2(e[1],e[0]));return Fb(t)},hde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Rb,rotateZ:Rb,skewX:e=>Lc(Math.atan(e[1])),skewY:e=>Lc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Fb=e=>(e=e%360,e<0&&(e+=360),e),sC=Rb,dC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),lC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ude={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:dC,scaleY:lC,scale:e=>(dC(e)+lC(e))/2,rotateX:e=>Fb(Lc(Math.atan2(e[6],e[5]))),rotateY:e=>Fb(Lc(Math.atan2(-e[2],e[0]))),rotateZ:sC,rotate:sC,skewX:e=>Lc(Math.atan(e[4])),skewY:e=>Lc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Eb(e){return e.includes("scale")?1:0}function Ob(e,t){if(!e||e==="none")return Eb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=ude,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=hde,i=d}if(!i)return Eb(t);const r=o[t],s=i[1].split(",").map(yde);return typeof r=="function"?r(s):s[r]}const pde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ob(n,t)};function yde(e){return parseFloat(e.trim())}const Jc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qc=new Set(Jc),hC=e=>e===Yc||e===U,kde=new Set(["x","y","z"]),mde=Jc.filter(e=>!kde.has(e));function fde(e){const t=[];return mde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const wc={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})=>Ob(t,"x"),y:(e,{transform:t})=>Ob(t,"y")};wc.translateX=wc.x;wc.translateY=wc.y;const Cc=new Set;let Ub=!1,Wb=!1,Gb=!1;function e$(){if(Wb){const e=Array.from(Cc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=fde(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)})}Wb=!1,Ub=!1,Cc.forEach(e=>e.complete(Gb)),Cc.clear()}function t$(){Cc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wb=!0)})}function gde(){Gb=!0,t$(),e$(),Gb=!1}class ww{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?(Cc.add(this),Ub||(Ub=!0,se.read(t$),se.resolveKeyframes(e$))):(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])}lde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Cc.delete(this)}cancel(){this.state==="scheduled"&&(Cc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const vde=e=>e.startsWith("--");function Mde(e,t,n){vde(t)?e.style.setProperty(t,n):e.style[t]=n}const _de=uw(()=>window.ScrollTimeline!==void 0),xde={};function Lde(e,t){const n=uw(e);return()=>xde[t]??n()}const a$=Lde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),d1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,uC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:d1([0,.65,.55,1]),circOut:d1([.55,0,1,.45]),backIn:d1([.31,.01,.66,-.59]),backOut:d1([.33,1.53,.69,.99])};function n$(e,t){if(e)return typeof e=="function"?a$()?Xj(e,t):"ease-out":Bj(e)?d1(e):Array.isArray(e)?e.map(n=>n$(n,t)||uC.easeOut):uC[e]}function Ide(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=n$(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 o$(e){return typeof e=="function"&&"applyToOptions"in e}function bde({type:e,...t}){return o$(e)&&a$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class wde extends Iw{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,Xe(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=bde(t);this.animation=Ide(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Lw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):Mde(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 Ee(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ee(t)}get time(){return Ee(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ke(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&&_de()?(this.animation.timeline=t,Oe):n(this)}}const c$={anticipate:Pj,backInOut:Vj,circInOut:Hj};function Cde(e){return e in c$}function Nde(e){typeof e.ease=="string"&&Cde(e.ease)&&(e.ease=c$[e.ease])}const pC=10;class Sde extends wde{constructor(t){Nde(t),Qj(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 bw({...s,autoplay:!1}),l=Ke(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-pC).value,d.sample(l).value,pC),d.stop()}}const yC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jt.test(e)||e==="0")&&!e.startsWith("url("));function jde(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 $de(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=yC(i,t),d=yC(r,t);return Xc(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:jde(e)||(n==="spring"||o$(n))&&o}function Zb(e){e.duration=0,e.type="keyframes"}const qde=new Set(["opacity","clipPath","filter","transform"]),Ade=uw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zde(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 Ade()&&n&&qde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Vde=40;class Pde extends Iw{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=Ve.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||ww;this.keyframeResolver=new m(d,(M,f,v)=>this.onKeyframesResolved(M,f,y,!v),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=Ve.now(),$de(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(Lw(t,o,n)),t[0]=t[t.length-1],Zb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Vde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&zde(y)?new Sde({...y,element:y.motionValue.owner.current}):new bw(y);m.finished.then(()=>this.notifyFinished()).catch(Oe),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(),gde()),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 Tde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hde(e){const t=Tde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Dde=4;function i$(e,t,n=1){Xe(n<=Dde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Hde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return Cj(s)?parseFloat(s):s}return gw(i)?i$(i,t,n+1):i}function Cw(e,t){return e?.[t]??e?.default??e}const r$=new Set(["width","height","top","left","right","bottom",...Jc]),Bde={test:e=>e==="auto",parse:e=>e},s$=e=>t=>t.test(e),d$=[Yc,U,ct,Mt,$2e,j2e,Bde],kC=e=>d$.find(s$(e));function Rde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Sj(e):!0}const Fde=new Set(["brightness","contrast","saturate","opacity"]);function Ede(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(vw)||[];if(!o)return e;const i=n.replace(o,"");let r=Fde.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Ode=/\b([a-z-]*)\(.*?\)/gu,Kb={...jt,getAnimatableNone:e=>{const t=e.match(Ode);return t?t.map(Ede).join(" "):e}},mC={...Yc,transform:Math.round},Ude={rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scale:U1,scaleX:U1,scaleY:U1,scaleZ:U1,skew:Mt,skewX:Mt,skewY:Mt,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:q1,originX:nC,originY:nC,originZ:U},Nw={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,backgroundPositionX:U,backgroundPositionY:U,...Ude,zIndex:mC,fillOpacity:q1,strokeOpacity:q1,numOctaves:mC},Wde={...Nw,color:ge,backgroundColor:ge,outlineColor:ge,fill:ge,stroke:ge,borderColor:ge,borderTopColor:ge,borderRightColor:ge,borderBottomColor:ge,borderLeftColor:ge,filter:Kb,WebkitFilter:Kb},l$=e=>Wde[e];function h$(e,t){let n=l$(e);return n!==Kb&&(n=jt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Gde=new Set(["auto","none","0"]);function Zde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Gde.has(r)&&A1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=h$(n,i)}class Kde extends ww{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(),gw(h))){const u=i$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!r$.has(o)||t.length!==2)return;const[i,r]=t,s=kC(i),d=kC(r);if(s!==d)if(hC(s)&&hC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else wc[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Rde(t[i]))&&o.push(i);o.length&&Zde(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=wc[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]=wc[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 Xde(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 u$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function p$(e){return Nj(e)&&"offsetHeight"in e}const fC=30,Yde=e=>!isNaN(parseFloat(e)),w1={current:void 0};class Jde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=Ve.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=Ve.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Yde(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&yw(!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 pw);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 w1.current&&w1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ve.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>fC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,fC);return jj(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 Nc(e,t){return new Jde(e,t)}const{schedule:Sw}=Rj(queueMicrotask,!1),Ge={x:!1,y:!1};function y$(){return Ge.x||Ge.y}function Qde(e){return e==="x"||e==="y"?Ge[e]?null:(Ge[e]=!0,()=>{Ge[e]=!1}):Ge.x||Ge.y?null:(Ge.x=Ge.y=!0,()=>{Ge.x=Ge.y=!1})}function k$(e,t){const n=Xde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function gC(e){return!(e.pointerType==="touch"||y$())}function e0e(e,t,n={}){const[o,i,r]=k$(e,n),s=d=>{if(!gC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{gC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const m$=(e,t)=>t?e===t?!0:m$(e,t.parentElement):!1,jw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,t0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a0e(e){return t0e.has(e.tagName)||e.tabIndex!==-1}const Kx=new WeakSet;function vC(e){return t=>{t.key==="Enter"&&e(t)}}function DL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const n0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=vC(()=>{if(Kx.has(n))return;DL(n,"down");const i=vC(()=>{DL(n,"up")}),r=()=>DL(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 MC(e){return jw(e)&&!y$()}function o0e(e,t,n={}){const[o,i,r]=k$(e,n),s=d=>{const l=d.currentTarget;if(!MC(d))return;Kx.add(l);const h=t(l,d),u=(m,M)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Kx.has(l)&&Kx.delete(l),MC(m)&&typeof h=="function"&&h(m,{success:M})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||m$(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),p$(d)&&(d.addEventListener("focus",h=>n0e(h,i)),!a0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function f$(e){return Nj(e)&&"ownerSVGElement"in e}function c0e(e){return f$(e)&&e.tagName==="svg"}function i0e(...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=Jj(i,r,s);return t?d(o):d}const be=e=>!!(e&&e.getVelocity),r0e=[...d$,ge,jt],s0e=e=>r0e.find(s$(e)),uL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function _C(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=_C(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():_C(e[i],null)}}}}function l0e(...e){return K.useCallback(d0e(...e),e)}class h0e extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=p$(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 u0e({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(uL),l=l0e(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 M=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const f=document.createElement("style");d&&(f.nonce=d);const v=o??document.head;return v.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
8161
|
+
*/const ht=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:Y1,AArrowDownIcon:Y1,AArrowUp:J1,AArrowUpIcon:J1,ALargeSmall:Q1,ALargeSmallIcon:Q1,Accessibility:u1,AccessibilityIcon:u1,Activity:p1,ActivityIcon:p1,ActivitySquare:It,ActivitySquareIcon:It,AirVent:ei,AirVentIcon:ei,Airplay:ti,AirplayIcon:ti,AlarmCheck:Tt,AlarmCheckIcon:Tt,AlarmClock:ni,AlarmClockCheck:Tt,AlarmClockCheckIcon:Tt,AlarmClockIcon:ni,AlarmClockMinus:Ht,AlarmClockMinusIcon:Ht,AlarmClockOff:ai,AlarmClockOffIcon:ai,AlarmClockPlus:Dt,AlarmClockPlusIcon:Dt,AlarmMinus:Ht,AlarmMinusIcon:Ht,AlarmPlus:Dt,AlarmPlusIcon:Dt,AlarmSmoke:oi,AlarmSmokeIcon:oi,Album:ci,AlbumIcon:ci,AlertCircle:pa,AlertCircleIcon:pa,AlertOctagon:Pn,AlertOctagonIcon:Pn,AlertTriangle:rc,AlertTriangleIcon:rc,AlignCenter:hi,AlignCenterHorizontal:ii,AlignCenterHorizontalIcon:ii,AlignCenterIcon:hi,AlignCenterVertical:ri,AlignCenterVerticalIcon:ri,AlignEndHorizontal:si,AlignEndHorizontalIcon:si,AlignEndVertical:di,AlignEndVerticalIcon:di,AlignHorizontalDistributeCenter:li,AlignHorizontalDistributeCenterIcon:li,AlignHorizontalDistributeEnd:ui,AlignHorizontalDistributeEndIcon:ui,AlignHorizontalDistributeStart:pi,AlignHorizontalDistributeStartIcon:pi,AlignHorizontalJustifyCenter:yi,AlignHorizontalJustifyCenterIcon:yi,AlignHorizontalJustifyEnd:ki,AlignHorizontalJustifyEndIcon:ki,AlignHorizontalJustifyStart:mi,AlignHorizontalJustifyStartIcon:mi,AlignHorizontalSpaceAround:fi,AlignHorizontalSpaceAroundIcon:fi,AlignHorizontalSpaceBetween:vi,AlignHorizontalSpaceBetweenIcon:vi,AlignJustify:gi,AlignJustifyIcon:gi,AlignLeft:Mi,AlignLeftIcon:Mi,AlignRight:_i,AlignRightIcon:_i,AlignStartHorizontal:xi,AlignStartHorizontalIcon:xi,AlignStartVertical:Li,AlignStartVerticalIcon:Li,AlignVerticalDistributeCenter:bi,AlignVerticalDistributeCenterIcon:bi,AlignVerticalDistributeEnd:Ii,AlignVerticalDistributeEndIcon:Ii,AlignVerticalDistributeStart:Ci,AlignVerticalDistributeStartIcon:Ci,AlignVerticalJustifyCenter:wi,AlignVerticalJustifyCenterIcon:wi,AlignVerticalJustifyEnd:Ni,AlignVerticalJustifyEndIcon:Ni,AlignVerticalJustifyStart:Si,AlignVerticalJustifyStartIcon:Si,AlignVerticalSpaceAround:$i,AlignVerticalSpaceAroundIcon:$i,AlignVerticalSpaceBetween:ji,AlignVerticalSpaceBetweenIcon:ji,Ambulance:qi,AmbulanceIcon:qi,Ampersand:Ai,AmpersandIcon:Ai,Ampersands:zi,AmpersandsIcon:zi,Amphora:Vi,AmphoraIcon:Vi,Anchor:Pi,AnchorIcon:Pi,Angry:Ti,AngryIcon:Ti,Annoyed:Hi,AnnoyedIcon:Hi,Antenna:Di,AntennaIcon:Di,Anvil:Bi,AnvilIcon:Bi,Aperture:Ri,ApertureIcon:Ri,AppWindow:Ei,AppWindowIcon:Ei,AppWindowMac:Fi,AppWindowMacIcon:Fi,Apple:Oi,AppleIcon:Oi,Archive:Gi,ArchiveIcon:Gi,ArchiveRestore:Ui,ArchiveRestoreIcon:Ui,ArchiveX:Wi,ArchiveXIcon:Wi,AreaChart:ea,AreaChartIcon:ea,Armchair:Zi,ArmchairIcon:Zi,ArrowBigDown:Xi,ArrowBigDownDash:Ki,ArrowBigDownDashIcon:Ki,ArrowBigDownIcon:Xi,ArrowBigLeft:Ji,ArrowBigLeftDash:Yi,ArrowBigLeftDashIcon:Yi,ArrowBigLeftIcon:Ji,ArrowBigRight:er,ArrowBigRightDash:Qi,ArrowBigRightDashIcon:Qi,ArrowBigRightIcon:er,ArrowBigUp:ar,ArrowBigUpDash:tr,ArrowBigUpDashIcon:tr,ArrowBigUpIcon:ar,ArrowDown:ur,ArrowDown01:nr,ArrowDown01Icon:nr,ArrowDown10:or,ArrowDown10Icon:or,ArrowDownAZ:Bt,ArrowDownAZIcon:Bt,ArrowDownAz:Bt,ArrowDownAzIcon:Bt,ArrowDownCircle:ya,ArrowDownCircleIcon:ya,ArrowDownFromLine:cr,ArrowDownFromLineIcon:cr,ArrowDownIcon:ur,ArrowDownLeft:ir,ArrowDownLeftFromCircle:ma,ArrowDownLeftFromCircleIcon:ma,ArrowDownLeftFromSquare:lo,ArrowDownLeftFromSquareIcon:lo,ArrowDownLeftIcon:ir,ArrowDownLeftSquare:co,ArrowDownLeftSquareIcon:co,ArrowDownNarrowWide:rr,ArrowDownNarrowWideIcon:rr,ArrowDownRight:sr,ArrowDownRightFromCircle:fa,ArrowDownRightFromCircleIcon:fa,ArrowDownRightFromSquare:ho,ArrowDownRightFromSquareIcon:ho,ArrowDownRightIcon:sr,ArrowDownRightSquare:io,ArrowDownRightSquareIcon:io,ArrowDownSquare:ro,ArrowDownSquareIcon:ro,ArrowDownToDot:dr,ArrowDownToDotIcon:dr,ArrowDownToLine:lr,ArrowDownToLineIcon:lr,ArrowDownUp:hr,ArrowDownUpIcon:hr,ArrowDownWideNarrow:Rt,ArrowDownWideNarrowIcon:Rt,ArrowDownZA:Ft,ArrowDownZAIcon:Ft,ArrowDownZa:Ft,ArrowDownZaIcon:Ft,ArrowLeft:mr,ArrowLeftCircle:ka,ArrowLeftCircleIcon:ka,ArrowLeftFromLine:pr,ArrowLeftFromLineIcon:pr,ArrowLeftIcon:mr,ArrowLeftRight:yr,ArrowLeftRightIcon:yr,ArrowLeftSquare:so,ArrowLeftSquareIcon:so,ArrowLeftToLine:kr,ArrowLeftToLineIcon:kr,ArrowRight:Mr,ArrowRightCircle:Ma,ArrowRightCircleIcon:Ma,ArrowRightFromLine:fr,ArrowRightFromLineIcon:fr,ArrowRightIcon:Mr,ArrowRightLeft:gr,ArrowRightLeftIcon:gr,ArrowRightSquare:yo,ArrowRightSquareIcon:yo,ArrowRightToLine:vr,ArrowRightToLineIcon:vr,ArrowUp:jr,ArrowUp01:_r,ArrowUp01Icon:_r,ArrowUp10:xr,ArrowUp10Icon:xr,ArrowUpAZ:Et,ArrowUpAZIcon:Et,ArrowUpAz:Et,ArrowUpAzIcon:Et,ArrowUpCircle:_a,ArrowUpCircleIcon:_a,ArrowUpDown:Lr,ArrowUpDownIcon:Lr,ArrowUpFromDot:Ir,ArrowUpFromDotIcon:Ir,ArrowUpFromLine:br,ArrowUpFromLineIcon:br,ArrowUpIcon:jr,ArrowUpLeft:wr,ArrowUpLeftFromCircle:ga,ArrowUpLeftFromCircleIcon:ga,ArrowUpLeftFromSquare:uo,ArrowUpLeftFromSquareIcon:uo,ArrowUpLeftIcon:wr,ArrowUpLeftSquare:ko,ArrowUpLeftSquareIcon:ko,ArrowUpNarrowWide:Ot,ArrowUpNarrowWideIcon:Ot,ArrowUpRight:Cr,ArrowUpRightFromCircle:va,ArrowUpRightFromCircleIcon:va,ArrowUpRightFromSquare:po,ArrowUpRightFromSquareIcon:po,ArrowUpRightIcon:Cr,ArrowUpRightSquare:mo,ArrowUpRightSquareIcon:mo,ArrowUpSquare:fo,ArrowUpSquareIcon:fo,ArrowUpToLine:Nr,ArrowUpToLineIcon:Nr,ArrowUpWideNarrow:Sr,ArrowUpWideNarrowIcon:Sr,ArrowUpZA:Ut,ArrowUpZAIcon:Ut,ArrowUpZa:Ut,ArrowUpZaIcon:Ut,ArrowsUpFromLine:$r,ArrowsUpFromLineIcon:$r,Asterisk:qr,AsteriskIcon:qr,AsteriskSquare:go,AsteriskSquareIcon:go,AtSign:Ar,AtSignIcon:Ar,Atom:zr,AtomIcon:zr,AudioLines:Vr,AudioLinesIcon:Vr,AudioWaveform:Pr,AudioWaveformIcon:Pr,Award:Tr,AwardIcon:Tr,Axe:Hr,AxeIcon:Hr,Axis3D:Wt,Axis3DIcon:Wt,Axis3d:Wt,Axis3dIcon:Wt,Baby:Dr,BabyIcon:Dr,Backpack:Br,BackpackIcon:Br,Badge:as,BadgeAlert:Rr,BadgeAlertIcon:Rr,BadgeCent:Fr,BadgeCentIcon:Fr,BadgeCheck:Gt,BadgeCheckIcon:Gt,BadgeDollarSign:Er,BadgeDollarSignIcon:Er,BadgeEuro:Or,BadgeEuroIcon:Or,BadgeHelp:Zt,BadgeHelpIcon:Zt,BadgeIcon:as,BadgeIndianRupee:Ur,BadgeIndianRupeeIcon:Ur,BadgeInfo:Wr,BadgeInfoIcon:Wr,BadgeJapaneseYen:Zr,BadgeJapaneseYenIcon:Zr,BadgeMinus:Gr,BadgeMinusIcon:Gr,BadgePercent:Kr,BadgePercentIcon:Kr,BadgePlus:Xr,BadgePlusIcon:Xr,BadgePoundSterling:Yr,BadgePoundSterlingIcon:Yr,BadgeQuestionMark:Zt,BadgeQuestionMarkIcon:Zt,BadgeRussianRuble:Jr,BadgeRussianRubleIcon:Jr,BadgeSwissFranc:Qr,BadgeSwissFrancIcon:Qr,BadgeTurkishLira:es,BadgeTurkishLiraIcon:es,BadgeX:ts,BadgeXIcon:ts,BaggageClaim:ns,BaggageClaimIcon:ns,Ban:os,BanIcon:os,Banana:cs,BananaIcon:cs,Bandage:is,BandageIcon:is,Banknote:ls,BanknoteArrowDown:rs,BanknoteArrowDownIcon:rs,BanknoteArrowUp:ss,BanknoteArrowUpIcon:ss,BanknoteIcon:ls,BanknoteX:ds,BanknoteXIcon:ds,BarChart:sa,BarChart2:da,BarChart2Icon:da,BarChart3:ia,BarChart3Icon:ia,BarChart4:ca,BarChart4Icon:ca,BarChartBig:oa,BarChartBigIcon:oa,BarChartHorizontal:aa,BarChartHorizontalBig:ta,BarChartHorizontalBigIcon:ta,BarChartHorizontalIcon:aa,BarChartIcon:sa,Barcode:hs,BarcodeIcon:hs,Barrel:us,BarrelIcon:us,Baseline:ps,BaselineIcon:ps,Bath:ys,BathIcon:ys,Battery:_s,BatteryCharging:ks,BatteryChargingIcon:ks,BatteryFull:ms,BatteryFullIcon:ms,BatteryIcon:_s,BatteryLow:fs,BatteryLowIcon:fs,BatteryMedium:gs,BatteryMediumIcon:gs,BatteryPlus:vs,BatteryPlusIcon:vs,BatteryWarning:Ms,BatteryWarningIcon:Ms,Beaker:xs,BeakerIcon:xs,Bean:Is,BeanIcon:Is,BeanOff:Ls,BeanOffIcon:Ls,Bed:Cs,BedDouble:bs,BedDoubleIcon:bs,BedIcon:Cs,BedSingle:ws,BedSingleIcon:ws,Beef:Ns,BeefIcon:Ns,Beer:js,BeerIcon:js,BeerOff:Ss,BeerOffIcon:Ss,Bell:Ps,BellDot:$s,BellDotIcon:$s,BellElectric:qs,BellElectricIcon:qs,BellIcon:Ps,BellMinus:As,BellMinusIcon:As,BellOff:zs,BellOffIcon:zs,BellPlus:Vs,BellPlusIcon:Vs,BellRing:Ts,BellRingIcon:Ts,BetweenHorizonalEnd:Kt,BetweenHorizonalEndIcon:Kt,BetweenHorizonalStart:Xt,BetweenHorizonalStartIcon:Xt,BetweenHorizontalEnd:Kt,BetweenHorizontalEndIcon:Kt,BetweenHorizontalStart:Xt,BetweenHorizontalStartIcon:Xt,BetweenVerticalEnd:Ds,BetweenVerticalEndIcon:Ds,BetweenVerticalStart:Hs,BetweenVerticalStartIcon:Hs,BicepsFlexed:Bs,BicepsFlexedIcon:Bs,Bike:Fs,BikeIcon:Fs,Binary:Rs,BinaryIcon:Rs,Binoculars:Es,BinocularsIcon:Es,Biohazard:Os,BiohazardIcon:Os,Bird:Us,BirdIcon:Us,Bitcoin:Ws,BitcoinIcon:Ws,Blend:Gs,BlendIcon:Gs,Blinds:Zs,BlindsIcon:Zs,Blocks:Ks,BlocksIcon:Ks,Bluetooth:Qs,BluetoothConnected:Xs,BluetoothConnectedIcon:Xs,BluetoothIcon:Qs,BluetoothOff:Ys,BluetoothOffIcon:Ys,BluetoothSearching:Js,BluetoothSearchingIcon:Js,Bold:e2,BoldIcon:e2,Bolt:t2,BoltIcon:t2,Bomb:a2,BombIcon:a2,Bone:n2,BoneIcon:n2,Book:C2,BookA:o2,BookAIcon:o2,BookAlert:c2,BookAlertIcon:c2,BookAudio:i2,BookAudioIcon:i2,BookCheck:r2,BookCheckIcon:r2,BookCopy:s2,BookCopyIcon:s2,BookDashed:Yt,BookDashedIcon:Yt,BookDown:d2,BookDownIcon:d2,BookHeadphones:l2,BookHeadphonesIcon:l2,BookHeart:h2,BookHeartIcon:h2,BookIcon:C2,BookImage:u2,BookImageIcon:u2,BookKey:p2,BookKeyIcon:p2,BookLock:y2,BookLockIcon:y2,BookMarked:m2,BookMarkedIcon:m2,BookMinus:k2,BookMinusIcon:k2,BookOpen:v2,BookOpenCheck:f2,BookOpenCheckIcon:f2,BookOpenIcon:v2,BookOpenText:g2,BookOpenTextIcon:g2,BookPlus:M2,BookPlusIcon:M2,BookTemplate:Yt,BookTemplateIcon:Yt,BookText:_2,BookTextIcon:_2,BookType:x2,BookTypeIcon:x2,BookUp:I2,BookUp2:L2,BookUp2Icon:L2,BookUpIcon:I2,BookUser:b2,BookUserIcon:b2,BookX:w2,BookXIcon:w2,Bookmark:q2,BookmarkCheck:N2,BookmarkCheckIcon:N2,BookmarkIcon:q2,BookmarkMinus:S2,BookmarkMinusIcon:S2,BookmarkPlus:j2,BookmarkPlusIcon:j2,BookmarkX:$2,BookmarkXIcon:$2,BoomBox:A2,BoomBoxIcon:A2,Bot:P2,BotIcon:P2,BotMessageSquare:z2,BotMessageSquareIcon:z2,BotOff:V2,BotOffIcon:V2,BottleWine:T2,BottleWineIcon:T2,BowArrow:H2,BowArrowIcon:H2,Box:D2,BoxIcon:D2,BoxSelect:So,BoxSelectIcon:So,Boxes:B2,BoxesIcon:B2,Braces:Jt,BracesIcon:Jt,Brackets:R2,BracketsIcon:R2,Brain:O2,BrainCircuit:F2,BrainCircuitIcon:F2,BrainCog:E2,BrainCogIcon:E2,BrainIcon:O2,BrickWall:G2,BrickWallFire:U2,BrickWallFireIcon:U2,BrickWallIcon:G2,BrickWallShield:W2,BrickWallShieldIcon:W2,Briefcase:Y2,BriefcaseBusiness:Z2,BriefcaseBusinessIcon:Z2,BriefcaseConveyorBelt:K2,BriefcaseConveyorBeltIcon:K2,BriefcaseIcon:Y2,BriefcaseMedical:X2,BriefcaseMedicalIcon:X2,BringToFront:J2,BringToFrontIcon:J2,Brush:ed,BrushCleaning:Q2,BrushCleaningIcon:Q2,BrushIcon:ed,Bubbles:td,BubblesIcon:td,Bug:cd,BugIcon:cd,BugOff:ad,BugOffIcon:ad,BugPlay:nd,BugPlayIcon:nd,Building:id,Building2:od,Building2Icon:od,BuildingIcon:id,Bus:sd,BusFront:rd,BusFrontIcon:rd,BusIcon:sd,Cable:ld,CableCar:dd,CableCarIcon:dd,CableIcon:ld,Cake:ud,CakeIcon:ud,CakeSlice:hd,CakeSliceIcon:hd,Calculator:pd,CalculatorIcon:pd,Calendar:y1,Calendar1:yd,Calendar1Icon:yd,CalendarArrowDown:kd,CalendarArrowDownIcon:kd,CalendarArrowUp:md,CalendarArrowUpIcon:md,CalendarCheck:gd,CalendarCheck2:fd,CalendarCheck2Icon:fd,CalendarCheckIcon:gd,CalendarClock:vd,CalendarClockIcon:vd,CalendarCog:Md,CalendarCogIcon:Md,CalendarDays:_d,CalendarDaysIcon:_d,CalendarFold:xd,CalendarFoldIcon:xd,CalendarHeart:Ld,CalendarHeartIcon:Ld,CalendarIcon:y1,CalendarMinus:bd,CalendarMinus2:Id,CalendarMinus2Icon:Id,CalendarMinusIcon:bd,CalendarOff:wd,CalendarOffIcon:wd,CalendarPlus:Nd,CalendarPlus2:Cd,CalendarPlus2Icon:Cd,CalendarPlusIcon:Nd,CalendarRange:Sd,CalendarRangeIcon:Sd,CalendarSearch:jd,CalendarSearchIcon:jd,CalendarSync:$d,CalendarSyncIcon:$d,CalendarX:Ad,CalendarX2:qd,CalendarX2Icon:qd,CalendarXIcon:Ad,Camera:Vd,CameraIcon:Vd,CameraOff:zd,CameraOffIcon:zd,CandlestickChart:na,CandlestickChartIcon:na,Candy:Hd,CandyCane:Pd,CandyCaneIcon:Pd,CandyIcon:Hd,CandyOff:Td,CandyOffIcon:Td,Cannabis:Dd,CannabisIcon:Dd,Captions:Qt,CaptionsIcon:Qt,CaptionsOff:Bd,CaptionsOffIcon:Bd,Car:Ed,CarFront:Rd,CarFrontIcon:Rd,CarIcon:Ed,CarTaxiFront:Fd,CarTaxiFrontIcon:Fd,Caravan:Od,CaravanIcon:Od,CardSim:Ud,CardSimIcon:Ud,Carrot:Wd,CarrotIcon:Wd,CaseLower:Gd,CaseLowerIcon:Gd,CaseSensitive:Zd,CaseSensitiveIcon:Zd,CaseUpper:Kd,CaseUpperIcon:Kd,CassetteTape:Xd,CassetteTapeIcon:Xd,Cast:Yd,CastIcon:Yd,Castle:Qd,CastleIcon:Qd,Cat:Jd,CatIcon:Jd,Cctv:e0,CctvIcon:e0,ChartArea:ea,ChartAreaIcon:ea,ChartBar:aa,ChartBarBig:ta,ChartBarBigIcon:ta,ChartBarDecreasing:t0,ChartBarDecreasingIcon:t0,ChartBarIcon:aa,ChartBarIncreasing:a0,ChartBarIncreasingIcon:a0,ChartBarStacked:n0,ChartBarStackedIcon:n0,ChartCandlestick:na,ChartCandlestickIcon:na,ChartColumn:ia,ChartColumnBig:oa,ChartColumnBigIcon:oa,ChartColumnDecreasing:o0,ChartColumnDecreasingIcon:o0,ChartColumnIcon:ia,ChartColumnIncreasing:ca,ChartColumnIncreasingIcon:ca,ChartColumnStacked:c0,ChartColumnStackedIcon:c0,ChartGantt:i0,ChartGanttIcon:i0,ChartLine:ra,ChartLineIcon:ra,ChartNetwork:r0,ChartNetworkIcon:r0,ChartNoAxesColumn:da,ChartNoAxesColumnDecreasing:s0,ChartNoAxesColumnDecreasingIcon:s0,ChartNoAxesColumnIcon:da,ChartNoAxesColumnIncreasing:sa,ChartNoAxesColumnIncreasingIcon:sa,ChartNoAxesCombined:d0,ChartNoAxesCombinedIcon:d0,ChartNoAxesGantt:la,ChartNoAxesGanttIcon:la,ChartPie:ha,ChartPieIcon:ha,ChartScatter:ua,ChartScatterIcon:ua,ChartSpline:l0,ChartSplineIcon:l0,Check:k1,CheckCheck:h0,CheckCheckIcon:h0,CheckCircle:xa,CheckCircle2:La,CheckCircle2Icon:La,CheckCircleIcon:xa,CheckIcon:k1,CheckLine:u0,CheckLineIcon:u0,CheckSquare:Mo,CheckSquare2:_o,CheckSquare2Icon:_o,CheckSquareIcon:Mo,ChefHat:p0,ChefHatIcon:p0,Cherry:y0,CherryIcon:y0,ChevronDown:Nt,ChevronDownCircle:Ia,ChevronDownCircleIcon:Ia,ChevronDownIcon:Nt,ChevronDownSquare:xo,ChevronDownSquareIcon:xo,ChevronFirst:k0,ChevronFirstIcon:k0,ChevronLast:m0,ChevronLastIcon:m0,ChevronLeft:f0,ChevronLeftCircle:ba,ChevronLeftCircleIcon:ba,ChevronLeftIcon:f0,ChevronLeftSquare:Lo,ChevronLeftSquareIcon:Lo,ChevronRight:m1,ChevronRightCircle:wa,ChevronRightCircleIcon:wa,ChevronRightIcon:m1,ChevronRightSquare:Io,ChevronRightSquareIcon:Io,ChevronUp:bc,ChevronUpCircle:Ca,ChevronUpCircleIcon:Ca,ChevronUpIcon:bc,ChevronUpSquare:bo,ChevronUpSquareIcon:bo,ChevronsDown:v0,ChevronsDownIcon:v0,ChevronsDownUp:g0,ChevronsDownUpIcon:g0,ChevronsLeft:_0,ChevronsLeftIcon:_0,ChevronsLeftRight:M0,ChevronsLeftRightEllipsis:x0,ChevronsLeftRightEllipsisIcon:x0,ChevronsLeftRightIcon:M0,ChevronsRight:I0,ChevronsRightIcon:I0,ChevronsRightLeft:L0,ChevronsRightLeftIcon:L0,ChevronsUp:b0,ChevronsUpDown:Oc,ChevronsUpDownIcon:Oc,ChevronsUpIcon:b0,Chrome:w0,ChromeIcon:w0,Church:C0,ChurchIcon:C0,Cigarette:S0,CigaretteIcon:S0,CigaretteOff:N0,CigaretteOffIcon:N0,Circle:E0,CircleAlert:pa,CircleAlertIcon:pa,CircleArrowDown:ya,CircleArrowDownIcon:ya,CircleArrowLeft:ka,CircleArrowLeftIcon:ka,CircleArrowOutDownLeft:ma,CircleArrowOutDownLeftIcon:ma,CircleArrowOutDownRight:fa,CircleArrowOutDownRightIcon:fa,CircleArrowOutUpLeft:ga,CircleArrowOutUpLeftIcon:ga,CircleArrowOutUpRight:va,CircleArrowOutUpRightIcon:va,CircleArrowRight:Ma,CircleArrowRightIcon:Ma,CircleArrowUp:_a,CircleArrowUpIcon:_a,CircleCheck:La,CircleCheckBig:xa,CircleCheckBigIcon:xa,CircleCheckIcon:La,CircleChevronDown:Ia,CircleChevronDownIcon:Ia,CircleChevronLeft:ba,CircleChevronLeftIcon:ba,CircleChevronRight:wa,CircleChevronRightIcon:wa,CircleChevronUp:Ca,CircleChevronUpIcon:Ca,CircleDashed:j0,CircleDashedIcon:j0,CircleDivide:Na,CircleDivideIcon:Na,CircleDollarSign:q0,CircleDollarSignIcon:q0,CircleDot:A0,CircleDotDashed:$0,CircleDotDashedIcon:$0,CircleDotIcon:A0,CircleEllipsis:z0,CircleEllipsisIcon:z0,CircleEqual:V0,CircleEqualIcon:V0,CircleFadingArrowUp:T0,CircleFadingArrowUpIcon:T0,CircleFadingPlus:P0,CircleFadingPlusIcon:P0,CircleGauge:Sa,CircleGaugeIcon:Sa,CircleHelp:tt,CircleHelpIcon:tt,CircleIcon:E0,CircleMinus:ja,CircleMinusIcon:ja,CircleOff:H0,CircleOffIcon:H0,CircleParking:Aa,CircleParkingIcon:Aa,CircleParkingOff:$a,CircleParkingOffIcon:$a,CirclePause:qa,CirclePauseIcon:qa,CirclePercent:za,CirclePercentIcon:za,CirclePlay:Va,CirclePlayIcon:Va,CirclePlus:Pa,CirclePlusIcon:Pa,CirclePoundSterling:D0,CirclePoundSterlingIcon:D0,CirclePower:Ta,CirclePowerIcon:Ta,CircleQuestionMark:tt,CircleQuestionMarkIcon:tt,CircleSlash:B0,CircleSlash2:Ha,CircleSlash2Icon:Ha,CircleSlashIcon:B0,CircleSlashed:Ha,CircleSlashedIcon:Ha,CircleSmall:R0,CircleSmallIcon:R0,CircleStar:F0,CircleStarIcon:F0,CircleStop:Da,CircleStopIcon:Da,CircleUser:Ra,CircleUserIcon:Ra,CircleUserRound:Ba,CircleUserRoundIcon:Ba,CircleX:_t,CircleXIcon:_t,CircuitBoard:O0,CircuitBoardIcon:O0,Citrus:U0,CitrusIcon:U0,Clapperboard:W0,ClapperboardIcon:W0,Clipboard:al,ClipboardCheck:G0,ClipboardCheckIcon:G0,ClipboardClock:Z0,ClipboardClockIcon:Z0,ClipboardCopy:K0,ClipboardCopyIcon:K0,ClipboardEdit:Ea,ClipboardEditIcon:Ea,ClipboardIcon:al,ClipboardList:X0,ClipboardListIcon:X0,ClipboardMinus:Y0,ClipboardMinusIcon:Y0,ClipboardPaste:J0,ClipboardPasteIcon:J0,ClipboardPen:Ea,ClipboardPenIcon:Ea,ClipboardPenLine:Fa,ClipboardPenLineIcon:Fa,ClipboardPlus:Q0,ClipboardPlusIcon:Q0,ClipboardSignature:Fa,ClipboardSignatureIcon:Fa,ClipboardType:el,ClipboardTypeIcon:el,ClipboardX:tl,ClipboardXIcon:tl,Clock:Ml,Clock1:ol,Clock10:nl,Clock10Icon:nl,Clock11:cl,Clock11Icon:cl,Clock12:il,Clock12Icon:il,Clock1Icon:ol,Clock2:rl,Clock2Icon:rl,Clock3:sl,Clock3Icon:sl,Clock4:dl,Clock4Icon:dl,Clock5:ll,Clock5Icon:ll,Clock6:hl,Clock6Icon:hl,Clock7:ul,Clock7Icon:ul,Clock8:pl,Clock8Icon:pl,Clock9:yl,Clock9Icon:yl,ClockAlert:kl,ClockAlertIcon:kl,ClockArrowDown:ml,ClockArrowDownIcon:ml,ClockArrowUp:fl,ClockArrowUpIcon:fl,ClockFading:gl,ClockFadingIcon:gl,ClockIcon:Ml,ClockPlus:vl,ClockPlusIcon:vl,ClosedCaption:_l,ClosedCaptionIcon:_l,Cloud:Tl,CloudAlert:xl,CloudAlertIcon:xl,CloudCheck:Ll,CloudCheckIcon:Ll,CloudCog:Il,CloudCogIcon:Il,CloudDownload:Oa,CloudDownloadIcon:Oa,CloudDrizzle:bl,CloudDrizzleIcon:bl,CloudFog:wl,CloudFogIcon:wl,CloudHail:Cl,CloudHailIcon:Cl,CloudIcon:Tl,CloudLightning:Nl,CloudLightningIcon:Nl,CloudMoon:jl,CloudMoonIcon:jl,CloudMoonRain:Sl,CloudMoonRainIcon:Sl,CloudOff:$l,CloudOffIcon:$l,CloudRain:Al,CloudRainIcon:Al,CloudRainWind:ql,CloudRainWindIcon:ql,CloudSnow:zl,CloudSnowIcon:zl,CloudSun:Pl,CloudSunIcon:Pl,CloudSunRain:Vl,CloudSunRainIcon:Vl,CloudUpload:Ua,CloudUploadIcon:Ua,Cloudy:Hl,CloudyIcon:Hl,Clover:Dl,CloverIcon:Dl,Club:Bl,ClubIcon:Bl,Code:Rl,Code2:Wa,Code2Icon:Wa,CodeIcon:Rl,CodeSquare:wo,CodeSquareIcon:wo,CodeXml:Wa,CodeXmlIcon:Wa,Codepen:Fl,CodepenIcon:Fl,Codesandbox:El,CodesandboxIcon:El,Coffee:Ol,CoffeeIcon:Ol,Cog:Ul,CogIcon:Ul,Coins:Wl,CoinsIcon:Wl,Columns:Ga,Columns2:Ga,Columns2Icon:Ga,Columns3:Za,Columns3Cog:at,Columns3CogIcon:at,Columns3Icon:Za,Columns4:Gl,Columns4Icon:Gl,ColumnsIcon:Ga,ColumnsSettings:at,ColumnsSettingsIcon:at,Combine:Zl,CombineIcon:Zl,Command:Kl,CommandIcon:Kl,Compass:Xl,CompassIcon:Xl,Component:Yl,ComponentIcon:Yl,Computer:Jl,ComputerIcon:Jl,ConciergeBell:Ql,ConciergeBellIcon:Ql,Cone:eh,ConeIcon:eh,Construction:th,ConstructionIcon:th,Contact:ah,Contact2:Ka,Contact2Icon:Ka,ContactIcon:ah,ContactRound:Ka,ContactRoundIcon:Ka,Container:nh,ContainerIcon:nh,Contrast:ch,ContrastIcon:ch,Cookie:oh,CookieIcon:oh,CookingPot:rh,CookingPotIcon:rh,Copy:uh,CopyCheck:ih,CopyCheckIcon:ih,CopyIcon:uh,CopyMinus:sh,CopyMinusIcon:sh,CopyPlus:dh,CopyPlusIcon:dh,CopySlash:lh,CopySlashIcon:lh,CopyX:hh,CopyXIcon:hh,Copyleft:ph,CopyleftIcon:ph,Copyright:yh,CopyrightIcon:yh,CornerDownLeft:kh,CornerDownLeftIcon:kh,CornerDownRight:mh,CornerDownRightIcon:mh,CornerLeftDown:fh,CornerLeftDownIcon:fh,CornerLeftUp:gh,CornerLeftUpIcon:gh,CornerRightDown:vh,CornerRightDownIcon:vh,CornerRightUp:Mh,CornerRightUpIcon:Mh,CornerUpLeft:_h,CornerUpLeftIcon:_h,CornerUpRight:xh,CornerUpRightIcon:xh,Cpu:Lh,CpuIcon:Lh,CreativeCommons:Ih,CreativeCommonsIcon:Ih,CreditCard:bh,CreditCardIcon:bh,Croissant:wh,CroissantIcon:wh,Crop:Ch,CropIcon:Ch,Cross:Nh,CrossIcon:Nh,Crosshair:Sh,CrosshairIcon:Sh,Crown:jh,CrownIcon:jh,Cuboid:$h,CuboidIcon:$h,CupSoda:qh,CupSodaIcon:qh,CurlyBraces:Jt,CurlyBracesIcon:Jt,Currency:Ah,CurrencyIcon:Ah,Cylinder:zh,CylinderIcon:zh,Dam:Vh,DamIcon:Vh,Database:Hh,DatabaseBackup:Ph,DatabaseBackupIcon:Ph,DatabaseIcon:Hh,DatabaseZap:Th,DatabaseZapIcon:Th,DecimalsArrowLeft:Dh,DecimalsArrowLeftIcon:Dh,DecimalsArrowRight:Bh,DecimalsArrowRightIcon:Bh,Delete:Rh,DeleteIcon:Rh,Dessert:Fh,DessertIcon:Fh,Diameter:Eh,DiameterIcon:Eh,Diamond:Wh,DiamondIcon:Wh,DiamondMinus:Oh,DiamondMinusIcon:Oh,DiamondPercent:Xa,DiamondPercentIcon:Xa,DiamondPlus:Uh,DiamondPlusIcon:Uh,Dice1:Gh,Dice1Icon:Gh,Dice2:Zh,Dice2Icon:Zh,Dice3:Kh,Dice3Icon:Kh,Dice4:Xh,Dice4Icon:Xh,Dice5:Yh,Dice5Icon:Yh,Dice6:Jh,Dice6Icon:Jh,Dices:Qh,DicesIcon:Qh,Diff:eu,DiffIcon:eu,Disc:ou,Disc2:tu,Disc2Icon:tu,Disc3:au,Disc3Icon:au,DiscAlbum:nu,DiscAlbumIcon:nu,DiscIcon:ou,Divide:cu,DivideCircle:Na,DivideCircleIcon:Na,DivideIcon:cu,DivideSquare:jo,DivideSquareIcon:jo,Dna:ru,DnaIcon:ru,DnaOff:iu,DnaOffIcon:iu,Dock:su,DockIcon:su,Dog:du,DogIcon:du,DollarSign:lu,DollarSignIcon:lu,Donut:hu,DonutIcon:hu,DoorClosed:pu,DoorClosedIcon:pu,DoorClosedLocked:uu,DoorClosedLockedIcon:uu,DoorOpen:yu,DoorOpenIcon:yu,Dot:ku,DotIcon:ku,DotSquare:qo,DotSquareIcon:qo,Download:fu,DownloadCloud:Oa,DownloadCloudIcon:Oa,DownloadIcon:fu,DraftingCompass:mu,DraftingCompassIcon:mu,Drama:gu,DramaIcon:gu,Dribbble:vu,DribbbleIcon:vu,Drill:Mu,DrillIcon:Mu,Drone:_u,DroneIcon:_u,Droplet:Lu,DropletIcon:Lu,DropletOff:xu,DropletOffIcon:xu,Droplets:Iu,DropletsIcon:Iu,Drum:bu,DrumIcon:bu,Drumstick:wu,DrumstickIcon:wu,Dumbbell:Cu,DumbbellIcon:Cu,Ear:Su,EarIcon:Su,EarOff:Nu,EarOffIcon:Nu,Earth:Ya,EarthIcon:Ya,EarthLock:ju,EarthLockIcon:ju,Eclipse:$u,EclipseIcon:$u,Edit:Pe,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Pe,Egg:zu,EggFried:qu,EggFriedIcon:qu,EggIcon:zu,EggOff:Au,EggOffIcon:Au,Ellipsis:Qa,EllipsisIcon:Qa,EllipsisVertical:Ja,EllipsisVerticalIcon:Ja,Equal:Tu,EqualApproximately:Vu,EqualApproximatelyIcon:Vu,EqualIcon:Tu,EqualNot:Pu,EqualNotIcon:Pu,EqualSquare:$o,EqualSquareIcon:$o,Eraser:Hu,EraserIcon:Hu,EthernetPort:Du,EthernetPortIcon:Du,Euro:Bu,EuroIcon:Bu,Expand:Fu,ExpandIcon:Fu,ExternalLink:Ru,ExternalLinkIcon:Ru,Eye:g1,EyeClosed:Eu,EyeClosedIcon:Eu,EyeIcon:g1,EyeOff:f1,EyeOffIcon:f1,Facebook:Ou,FacebookIcon:Ou,Factory:Uu,FactoryIcon:Uu,Fan:Wu,FanIcon:Wu,FastForward:Gu,FastForwardIcon:Gu,Feather:Zu,FeatherIcon:Zu,Fence:Ku,FenceIcon:Ku,FerrisWheel:Xu,FerrisWheelIcon:Xu,Figma:Yu,FigmaIcon:Yu,File:Up,FileArchive:Ju,FileArchiveIcon:Ju,FileAudio:ep,FileAudio2:Qu,FileAudio2Icon:Qu,FileAudioIcon:ep,FileAxis3D:en,FileAxis3DIcon:en,FileAxis3d:en,FileAxis3dIcon:en,FileBadge:np,FileBadge2:tp,FileBadge2Icon:tp,FileBadgeIcon:np,FileBarChart:tn,FileBarChart2:an,FileBarChart2Icon:an,FileBarChartIcon:tn,FileBox:ap,FileBoxIcon:ap,FileChartColumn:an,FileChartColumnIcon:an,FileChartColumnIncreasing:tn,FileChartColumnIncreasingIcon:tn,FileChartLine:nn,FileChartLineIcon:nn,FileChartPie:on,FileChartPieIcon:on,FileCheck:cp,FileCheck2:op,FileCheck2Icon:op,FileCheckIcon:cp,FileClock:ip,FileClockIcon:ip,FileCode:rp,FileCode2:sp,FileCode2Icon:sp,FileCodeIcon:rp,FileCog:cn,FileCog2:cn,FileCog2Icon:cn,FileCogIcon:cn,FileDiff:dp,FileDiffIcon:dp,FileDigit:lp,FileDigitIcon:lp,FileDown:hp,FileDownIcon:hp,FileEdit:sn,FileEditIcon:sn,FileHeart:up,FileHeartIcon:up,FileIcon:Up,FileImage:pp,FileImageIcon:pp,FileInput:yp,FileInputIcon:yp,FileJson:mp,FileJson2:kp,FileJson2Icon:kp,FileJsonIcon:mp,FileKey:gp,FileKey2:fp,FileKey2Icon:fp,FileKeyIcon:gp,FileLineChart:nn,FileLineChartIcon:nn,FileLock:Mp,FileLock2:vp,FileLock2Icon:vp,FileLockIcon:Mp,FileMinus:xp,FileMinus2:_p,FileMinus2Icon:_p,FileMinusIcon:xp,FileMusic:Lp,FileMusicIcon:Lp,FileOutput:Ip,FileOutputIcon:Ip,FilePen:sn,FilePenIcon:sn,FilePenLine:rn,FilePenLineIcon:rn,FilePieChart:on,FilePieChartIcon:on,FilePlay:dn,FilePlayIcon:dn,FilePlus:wp,FilePlus2:bp,FilePlus2Icon:bp,FilePlusIcon:wp,FileQuestion:ln,FileQuestionIcon:ln,FileQuestionMark:ln,FileQuestionMarkIcon:ln,FileScan:Cp,FileScanIcon:Cp,FileSearch:Sp,FileSearch2:Np,FileSearch2Icon:Np,FileSearchIcon:Sp,FileSignature:rn,FileSignatureIcon:rn,FileSliders:jp,FileSlidersIcon:jp,FileSpreadsheet:$p,FileSpreadsheetIcon:$p,FileStack:qp,FileStackIcon:qp,FileSymlink:Ap,FileSymlinkIcon:Ap,FileTerminal:zp,FileTerminalIcon:zp,FileText:Vp,FileTextIcon:Vp,FileType:Tp,FileType2:Pp,FileType2Icon:Pp,FileTypeIcon:Tp,FileUp:Hp,FileUpIcon:Hp,FileUser:Dp,FileUserIcon:Dp,FileVideo:dn,FileVideo2:hn,FileVideo2Icon:hn,FileVideoCamera:hn,FileVideoCameraIcon:hn,FileVideoIcon:dn,FileVolume:Rp,FileVolume2:Bp,FileVolume2Icon:Bp,FileVolumeIcon:Rp,FileWarning:Fp,FileWarningIcon:Fp,FileX:Op,FileX2:Ep,FileX2Icon:Ep,FileXIcon:Op,Files:Wp,FilesIcon:Wp,Film:Gp,FilmIcon:Gp,Filter:xt,FilterIcon:xt,FilterX:yn,FilterXIcon:yn,Fingerprint:Zp,FingerprintIcon:Zp,FireExtinguisher:Kp,FireExtinguisherIcon:Kp,Fish:Yp,FishIcon:Yp,FishOff:Xp,FishOffIcon:Xp,FishSymbol:Jp,FishSymbolIcon:Jp,Flag:ay,FlagIcon:ay,FlagOff:Qp,FlagOffIcon:Qp,FlagTriangleLeft:ey,FlagTriangleLeftIcon:ey,FlagTriangleRight:ty,FlagTriangleRightIcon:ty,Flame:oy,FlameIcon:oy,FlameKindling:ny,FlameKindlingIcon:ny,Flashlight:iy,FlashlightIcon:iy,FlashlightOff:cy,FlashlightOffIcon:cy,FlaskConical:sy,FlaskConicalIcon:sy,FlaskConicalOff:ry,FlaskConicalOffIcon:ry,FlaskRound:dy,FlaskRoundIcon:dy,FlipHorizontal:hy,FlipHorizontal2:ly,FlipHorizontal2Icon:ly,FlipHorizontalIcon:hy,FlipVertical:py,FlipVertical2:uy,FlipVertical2Icon:uy,FlipVerticalIcon:py,Flower:ky,Flower2:yy,Flower2Icon:yy,FlowerIcon:ky,Focus:my,FocusIcon:my,FoldHorizontal:fy,FoldHorizontalIcon:fy,FoldVertical:gy,FoldVerticalIcon:gy,Folder:v1,FolderArchive:vy,FolderArchiveIcon:vy,FolderCheck:My,FolderCheckIcon:My,FolderClock:_y,FolderClockIcon:_y,FolderClosed:xy,FolderClosedIcon:xy,FolderCode:Ly,FolderCodeIcon:Ly,FolderCog:un,FolderCog2:un,FolderCog2Icon:un,FolderCogIcon:un,FolderDot:Iy,FolderDotIcon:Iy,FolderDown:by,FolderDownIcon:by,FolderEdit:pn,FolderEditIcon:pn,FolderGit:Cy,FolderGit2:wy,FolderGit2Icon:wy,FolderGitIcon:Cy,FolderHeart:Ny,FolderHeartIcon:Ny,FolderIcon:v1,FolderInput:Sy,FolderInputIcon:Sy,FolderKanban:jy,FolderKanbanIcon:jy,FolderKey:$y,FolderKeyIcon:$y,FolderLock:qy,FolderLockIcon:qy,FolderMinus:Ay,FolderMinusIcon:Ay,FolderOpen:Vy,FolderOpenDot:zy,FolderOpenDotIcon:zy,FolderOpenIcon:Vy,FolderOutput:Py,FolderOutputIcon:Py,FolderPen:pn,FolderPenIcon:pn,FolderPlus:Uc,FolderPlusIcon:Uc,FolderRoot:Ty,FolderRootIcon:Ty,FolderSearch:Dy,FolderSearch2:Hy,FolderSearch2Icon:Hy,FolderSearchIcon:Dy,FolderSymlink:By,FolderSymlinkIcon:By,FolderSync:Ry,FolderSyncIcon:Ry,FolderTree:Fy,FolderTreeIcon:Fy,FolderUp:Ey,FolderUpIcon:Ey,FolderX:Oy,FolderXIcon:Oy,Folders:Uy,FoldersIcon:Uy,Footprints:Wy,FootprintsIcon:Wy,ForkKnife:gc,ForkKnifeCrossed:fc,ForkKnifeCrossedIcon:fc,ForkKnifeIcon:gc,Forklift:Gy,ForkliftIcon:Gy,FormInput:Kn,FormInputIcon:Kn,Forward:Zy,ForwardIcon:Zy,Frame:Ky,FrameIcon:Ky,Framer:Xy,FramerIcon:Xy,Frown:Yy,FrownIcon:Yy,Fuel:Jy,FuelIcon:Jy,Fullscreen:Qy,FullscreenIcon:Qy,FunctionSquare:Ao,FunctionSquareIcon:Ao,Funnel:xt,FunnelIcon:xt,FunnelPlus:e4,FunnelPlusIcon:e4,FunnelX:yn,FunnelXIcon:yn,GalleryHorizontal:a4,GalleryHorizontalEnd:t4,GalleryHorizontalEndIcon:t4,GalleryHorizontalIcon:a4,GalleryThumbnails:n4,GalleryThumbnailsIcon:n4,GalleryVertical:c4,GalleryVerticalEnd:o4,GalleryVerticalEndIcon:o4,GalleryVerticalIcon:c4,Gamepad:r4,Gamepad2:i4,Gamepad2Icon:i4,GamepadIcon:r4,GanttChart:la,GanttChartIcon:la,GanttChartSquare:ot,GanttChartSquareIcon:ot,Gauge:s4,GaugeCircle:Sa,GaugeCircleIcon:Sa,GaugeIcon:s4,Gavel:d4,GavelIcon:d4,Gem:l4,GemIcon:l4,GeorgianLari:h4,GeorgianLariIcon:h4,Ghost:u4,GhostIcon:u4,Gift:p4,GiftIcon:p4,GitBranch:k4,GitBranchIcon:k4,GitBranchPlus:y4,GitBranchPlusIcon:y4,GitCommit:kn,GitCommitHorizontal:kn,GitCommitHorizontalIcon:kn,GitCommitIcon:kn,GitCommitVertical:m4,GitCommitVerticalIcon:m4,GitCompare:g4,GitCompareArrows:f4,GitCompareArrowsIcon:f4,GitCompareIcon:g4,GitFork:v4,GitForkIcon:v4,GitGraph:M4,GitGraphIcon:M4,GitMerge:_4,GitMergeIcon:_4,GitPullRequest:C4,GitPullRequestArrow:x4,GitPullRequestArrowIcon:x4,GitPullRequestClosed:L4,GitPullRequestClosedIcon:L4,GitPullRequestCreate:b4,GitPullRequestCreateArrow:I4,GitPullRequestCreateArrowIcon:I4,GitPullRequestCreateIcon:b4,GitPullRequestDraft:w4,GitPullRequestDraftIcon:w4,GitPullRequestIcon:C4,Github:N4,GithubIcon:N4,Gitlab:S4,GitlabIcon:S4,GlassWater:j4,GlassWaterIcon:j4,Glasses:$4,GlassesIcon:$4,Globe:A4,Globe2:Ya,Globe2Icon:Ya,GlobeIcon:A4,GlobeLock:q4,GlobeLockIcon:q4,Goal:z4,GoalIcon:z4,Gpu:V4,GpuIcon:V4,Grab:Mn,GrabIcon:Mn,GraduationCap:P4,GraduationCapIcon:P4,Grape:T4,GrapeIcon:T4,Grid:nt,Grid2X2:vn,Grid2X2Check:mn,Grid2X2CheckIcon:mn,Grid2X2Icon:vn,Grid2X2Plus:fn,Grid2X2PlusIcon:fn,Grid2X2X:gn,Grid2X2XIcon:gn,Grid2x2:vn,Grid2x2Check:mn,Grid2x2CheckIcon:mn,Grid2x2Icon:vn,Grid2x2Plus:fn,Grid2x2PlusIcon:fn,Grid2x2X:gn,Grid2x2XIcon:gn,Grid3X3:nt,Grid3X3Icon:nt,Grid3x2:H4,Grid3x2Icon:H4,Grid3x3:nt,Grid3x3Icon:nt,GridIcon:nt,Grip:B4,GripHorizontal:D4,GripHorizontalIcon:D4,GripIcon:B4,GripVertical:M1,GripVerticalIcon:M1,Group:R4,GroupIcon:R4,Guitar:F4,GuitarIcon:F4,Ham:E4,HamIcon:E4,Hamburger:O4,HamburgerIcon:O4,Hammer:U4,HammerIcon:U4,Hand:Y4,HandCoins:W4,HandCoinsIcon:W4,HandFist:G4,HandFistIcon:G4,HandGrab:Mn,HandGrabIcon:Mn,HandHeart:Z4,HandHeartIcon:Z4,HandHelping:_n,HandHelpingIcon:_n,HandIcon:Y4,HandMetal:K4,HandMetalIcon:K4,HandPlatter:X4,HandPlatterIcon:X4,Handbag:J4,HandbagIcon:J4,Handshake:Q4,HandshakeIcon:Q4,HardDrive:a5,HardDriveDownload:e5,HardDriveDownloadIcon:e5,HardDriveIcon:a5,HardDriveUpload:t5,HardDriveUploadIcon:t5,HardHat:n5,HardHatIcon:n5,Hash:o5,HashIcon:o5,HatGlasses:c5,HatGlassesIcon:c5,Haze:i5,HazeIcon:i5,HdmiPort:r5,HdmiPortIcon:r5,Heading:y5,Heading1:s5,Heading1Icon:s5,Heading2:d5,Heading2Icon:d5,Heading3:l5,Heading3Icon:l5,Heading4:h5,Heading4Icon:h5,Heading5:u5,Heading5Icon:u5,Heading6:p5,Heading6Icon:p5,HeadingIcon:y5,HeadphoneOff:k5,HeadphoneOffIcon:k5,Headphones:m5,HeadphonesIcon:m5,Headset:f5,HeadsetIcon:f5,Heart:I5,HeartCrack:g5,HeartCrackIcon:g5,HeartHandshake:v5,HeartHandshakeIcon:v5,HeartIcon:I5,HeartMinus:M5,HeartMinusIcon:M5,HeartOff:_5,HeartOffIcon:_5,HeartPlus:x5,HeartPlusIcon:x5,HeartPulse:L5,HeartPulseIcon:L5,Heater:b5,HeaterIcon:b5,HelpCircle:tt,HelpCircleIcon:tt,HelpingHand:_n,HelpingHandIcon:_n,Hexagon:w5,HexagonIcon:w5,Highlighter:C5,HighlighterIcon:C5,History:N5,HistoryIcon:N5,Home:Lt,HomeIcon:Lt,Hop:j5,HopIcon:j5,HopOff:S5,HopOffIcon:S5,Hospital:_1,HospitalIcon:_1,Hotel:$5,HotelIcon:$5,Hourglass:q5,HourglassIcon:q5,House:Lt,HouseIcon:Lt,HousePlug:A5,HousePlugIcon:A5,HousePlus:V5,HousePlusIcon:V5,HouseWifi:z5,HouseWifiIcon:z5,IceCream:Ln,IceCream2:xn,IceCream2Icon:xn,IceCreamBowl:xn,IceCreamBowlIcon:xn,IceCreamCone:Ln,IceCreamConeIcon:Ln,IceCreamIcon:Ln,Icon:a.Icon,IdCard:T5,IdCardIcon:T5,IdCardLanyard:P5,IdCardLanyardIcon:P5,Image:U5,ImageDown:H5,ImageDownIcon:H5,ImageIcon:U5,ImageMinus:D5,ImageMinusIcon:D5,ImageOff:B5,ImageOffIcon:B5,ImagePlay:R5,ImagePlayIcon:R5,ImagePlus:F5,ImagePlusIcon:F5,ImageUp:E5,ImageUpIcon:E5,ImageUpscale:O5,ImageUpscaleIcon:O5,Images:W5,ImagesIcon:W5,Import:G5,ImportIcon:G5,Inbox:Z5,InboxIcon:Z5,Indent:bn,IndentDecrease:In,IndentDecreaseIcon:In,IndentIcon:bn,IndentIncrease:bn,IndentIncreaseIcon:bn,IndianRupee:K5,IndianRupeeIcon:K5,Infinity:X5,InfinityIcon:X5,Info:Y5,InfoIcon:Y5,Inspect:Bo,InspectIcon:Bo,InspectionPanel:J5,InspectionPanelIcon:J5,Instagram:Q5,InstagramIcon:Q5,Italic:ek,ItalicIcon:ek,IterationCcw:tk,IterationCcwIcon:tk,IterationCw:ak,IterationCwIcon:ak,JapaneseYen:ok,JapaneseYenIcon:ok,Joystick:nk,JoystickIcon:nk,Kanban:ck,KanbanIcon:ck,KanbanSquare:zo,KanbanSquareDashed:Co,KanbanSquareDashedIcon:Co,KanbanSquareIcon:zo,Kayak:ik,KayakIcon:ik,Key:dk,KeyIcon:dk,KeyRound:rk,KeyRoundIcon:rk,KeySquare:sk,KeySquareIcon:sk,Keyboard:uk,KeyboardIcon:uk,KeyboardMusic:lk,KeyboardMusicIcon:lk,KeyboardOff:hk,KeyboardOffIcon:hk,Lamp:gk,LampCeiling:pk,LampCeilingIcon:pk,LampDesk:kk,LampDeskIcon:kk,LampFloor:yk,LampFloorIcon:yk,LampIcon:gk,LampWallDown:mk,LampWallDownIcon:mk,LampWallUp:fk,LampWallUpIcon:fk,LandPlot:vk,LandPlotIcon:vk,Landmark:Mk,LandmarkIcon:Mk,Languages:_k,LanguagesIcon:_k,Laptop:Lk,Laptop2:wn,Laptop2Icon:wn,LaptopIcon:Lk,LaptopMinimal:wn,LaptopMinimalCheck:xk,LaptopMinimalCheckIcon:xk,LaptopMinimalIcon:wn,Lasso:bk,LassoIcon:bk,LassoSelect:Ik,LassoSelectIcon:Ik,Laugh:wk,LaughIcon:wk,Layers:Cn,Layers2:Ck,Layers2Icon:Ck,Layers3:Cn,Layers3Icon:Cn,LayersIcon:Cn,Layout:Gn,LayoutDashboard:Nk,LayoutDashboardIcon:Nk,LayoutGrid:Sk,LayoutGridIcon:Sk,LayoutIcon:Gn,LayoutList:jk,LayoutListIcon:jk,LayoutPanelLeft:$k,LayoutPanelLeftIcon:$k,LayoutPanelTop:qk,LayoutPanelTopIcon:qk,LayoutTemplate:Ak,LayoutTemplateIcon:Ak,Leaf:zk,LeafIcon:zk,LeafyGreen:Pk,LeafyGreenIcon:Pk,Lectern:Vk,LecternIcon:Vk,LetterText:Tk,LetterTextIcon:Tk,Library:Dk,LibraryBig:Hk,LibraryBigIcon:Hk,LibraryIcon:Dk,LibrarySquare:Vo,LibrarySquareIcon:Vo,LifeBuoy:Bk,LifeBuoyIcon:Bk,Ligature:Rk,LigatureIcon:Rk,Lightbulb:Ek,LightbulbIcon:Ek,LightbulbOff:Fk,LightbulbOffIcon:Fk,LineChart:ra,LineChartIcon:ra,LineSquiggle:Ok,LineSquiggleIcon:Ok,Link:Gk,Link2:Uk,Link2Icon:Uk,Link2Off:Wk,Link2OffIcon:Wk,LinkIcon:Gk,Linkedin:Zk,LinkedinIcon:Zk,List:h3,ListCheck:Kk,ListCheckIcon:Kk,ListChecks:Xk,ListChecksIcon:Xk,ListCollapse:Yk,ListCollapseIcon:Yk,ListEnd:Jk,ListEndIcon:Jk,ListFilter:t3,ListFilterIcon:t3,ListFilterPlus:Qk,ListFilterPlusIcon:Qk,ListIcon:h3,ListMinus:e3,ListMinusIcon:e3,ListMusic:a3,ListMusicIcon:a3,ListOrdered:n3,ListOrderedIcon:n3,ListPlus:o3,ListPlusIcon:o3,ListRestart:c3,ListRestartIcon:c3,ListStart:i3,ListStartIcon:i3,ListTodo:r3,ListTodoIcon:r3,ListTree:s3,ListTreeIcon:s3,ListVideo:d3,ListVideoIcon:d3,ListX:l3,ListXIcon:l3,Loader:p3,Loader2:Nn,Loader2Icon:Nn,LoaderCircle:Nn,LoaderCircleIcon:Nn,LoaderIcon:p3,LoaderPinwheel:u3,LoaderPinwheelIcon:u3,Locate:m3,LocateFixed:y3,LocateFixedIcon:y3,LocateIcon:m3,LocateOff:k3,LocateOffIcon:k3,LocationEdit:qn,LocationEditIcon:qn,Lock:g3,LockIcon:g3,LockKeyhole:f3,LockKeyholeIcon:f3,LockKeyholeOpen:Sn,LockKeyholeOpenIcon:Sn,LockOpen:jn,LockOpenIcon:jn,LogIn:v3,LogInIcon:v3,LogOut:M3,LogOutIcon:M3,Logs:_3,LogsIcon:_3,Lollipop:x3,LollipopIcon:x3,LucideAArrowDown:Y1,LucideAArrowUp:J1,LucideALargeSmall:Q1,LucideAccessibility:u1,LucideActivity:p1,LucideActivitySquare:It,LucideAirVent:ei,LucideAirplay:ti,LucideAlarmCheck:Tt,LucideAlarmClock:ni,LucideAlarmClockCheck:Tt,LucideAlarmClockMinus:Ht,LucideAlarmClockOff:ai,LucideAlarmClockPlus:Dt,LucideAlarmMinus:Ht,LucideAlarmPlus:Dt,LucideAlarmSmoke:oi,LucideAlbum:ci,LucideAlertCircle:pa,LucideAlertOctagon:Pn,LucideAlertTriangle:rc,LucideAlignCenter:hi,LucideAlignCenterHorizontal:ii,LucideAlignCenterVertical:ri,LucideAlignEndHorizontal:si,LucideAlignEndVertical:di,LucideAlignHorizontalDistributeCenter:li,LucideAlignHorizontalDistributeEnd:ui,LucideAlignHorizontalDistributeStart:pi,LucideAlignHorizontalJustifyCenter:yi,LucideAlignHorizontalJustifyEnd:ki,LucideAlignHorizontalJustifyStart:mi,LucideAlignHorizontalSpaceAround:fi,LucideAlignHorizontalSpaceBetween:vi,LucideAlignJustify:gi,LucideAlignLeft:Mi,LucideAlignRight:_i,LucideAlignStartHorizontal:xi,LucideAlignStartVertical:Li,LucideAlignVerticalDistributeCenter:bi,LucideAlignVerticalDistributeEnd:Ii,LucideAlignVerticalDistributeStart:Ci,LucideAlignVerticalJustifyCenter:wi,LucideAlignVerticalJustifyEnd:Ni,LucideAlignVerticalJustifyStart:Si,LucideAlignVerticalSpaceAround:$i,LucideAlignVerticalSpaceBetween:ji,LucideAmbulance:qi,LucideAmpersand:Ai,LucideAmpersands:zi,LucideAmphora:Vi,LucideAnchor:Pi,LucideAngry:Ti,LucideAnnoyed:Hi,LucideAntenna:Di,LucideAnvil:Bi,LucideAperture:Ri,LucideAppWindow:Ei,LucideAppWindowMac:Fi,LucideApple:Oi,LucideArchive:Gi,LucideArchiveRestore:Ui,LucideArchiveX:Wi,LucideAreaChart:ea,LucideArmchair:Zi,LucideArrowBigDown:Xi,LucideArrowBigDownDash:Ki,LucideArrowBigLeft:Ji,LucideArrowBigLeftDash:Yi,LucideArrowBigRight:er,LucideArrowBigRightDash:Qi,LucideArrowBigUp:ar,LucideArrowBigUpDash:tr,LucideArrowDown:ur,LucideArrowDown01:nr,LucideArrowDown10:or,LucideArrowDownAZ:Bt,LucideArrowDownAz:Bt,LucideArrowDownCircle:ya,LucideArrowDownFromLine:cr,LucideArrowDownLeft:ir,LucideArrowDownLeftFromCircle:ma,LucideArrowDownLeftFromSquare:lo,LucideArrowDownLeftSquare:co,LucideArrowDownNarrowWide:rr,LucideArrowDownRight:sr,LucideArrowDownRightFromCircle:fa,LucideArrowDownRightFromSquare:ho,LucideArrowDownRightSquare:io,LucideArrowDownSquare:ro,LucideArrowDownToDot:dr,LucideArrowDownToLine:lr,LucideArrowDownUp:hr,LucideArrowDownWideNarrow:Rt,LucideArrowDownZA:Ft,LucideArrowDownZa:Ft,LucideArrowLeft:mr,LucideArrowLeftCircle:ka,LucideArrowLeftFromLine:pr,LucideArrowLeftRight:yr,LucideArrowLeftSquare:so,LucideArrowLeftToLine:kr,LucideArrowRight:Mr,LucideArrowRightCircle:Ma,LucideArrowRightFromLine:fr,LucideArrowRightLeft:gr,LucideArrowRightSquare:yo,LucideArrowRightToLine:vr,LucideArrowUp:jr,LucideArrowUp01:_r,LucideArrowUp10:xr,LucideArrowUpAZ:Et,LucideArrowUpAz:Et,LucideArrowUpCircle:_a,LucideArrowUpDown:Lr,LucideArrowUpFromDot:Ir,LucideArrowUpFromLine:br,LucideArrowUpLeft:wr,LucideArrowUpLeftFromCircle:ga,LucideArrowUpLeftFromSquare:uo,LucideArrowUpLeftSquare:ko,LucideArrowUpNarrowWide:Ot,LucideArrowUpRight:Cr,LucideArrowUpRightFromCircle:va,LucideArrowUpRightFromSquare:po,LucideArrowUpRightSquare:mo,LucideArrowUpSquare:fo,LucideArrowUpToLine:Nr,LucideArrowUpWideNarrow:Sr,LucideArrowUpZA:Ut,LucideArrowUpZa:Ut,LucideArrowsUpFromLine:$r,LucideAsterisk:qr,LucideAsteriskSquare:go,LucideAtSign:Ar,LucideAtom:zr,LucideAudioLines:Vr,LucideAudioWaveform:Pr,LucideAward:Tr,LucideAxe:Hr,LucideAxis3D:Wt,LucideAxis3d:Wt,LucideBaby:Dr,LucideBackpack:Br,LucideBadge:as,LucideBadgeAlert:Rr,LucideBadgeCent:Fr,LucideBadgeCheck:Gt,LucideBadgeDollarSign:Er,LucideBadgeEuro:Or,LucideBadgeHelp:Zt,LucideBadgeIndianRupee:Ur,LucideBadgeInfo:Wr,LucideBadgeJapaneseYen:Zr,LucideBadgeMinus:Gr,LucideBadgePercent:Kr,LucideBadgePlus:Xr,LucideBadgePoundSterling:Yr,LucideBadgeQuestionMark:Zt,LucideBadgeRussianRuble:Jr,LucideBadgeSwissFranc:Qr,LucideBadgeTurkishLira:es,LucideBadgeX:ts,LucideBaggageClaim:ns,LucideBan:os,LucideBanana:cs,LucideBandage:is,LucideBanknote:ls,LucideBanknoteArrowDown:rs,LucideBanknoteArrowUp:ss,LucideBanknoteX:ds,LucideBarChart:sa,LucideBarChart2:da,LucideBarChart3:ia,LucideBarChart4:ca,LucideBarChartBig:oa,LucideBarChartHorizontal:aa,LucideBarChartHorizontalBig:ta,LucideBarcode:hs,LucideBarrel:us,LucideBaseline:ps,LucideBath:ys,LucideBattery:_s,LucideBatteryCharging:ks,LucideBatteryFull:ms,LucideBatteryLow:fs,LucideBatteryMedium:gs,LucideBatteryPlus:vs,LucideBatteryWarning:Ms,LucideBeaker:xs,LucideBean:Is,LucideBeanOff:Ls,LucideBed:Cs,LucideBedDouble:bs,LucideBedSingle:ws,LucideBeef:Ns,LucideBeer:js,LucideBeerOff:Ss,LucideBell:Ps,LucideBellDot:$s,LucideBellElectric:qs,LucideBellMinus:As,LucideBellOff:zs,LucideBellPlus:Vs,LucideBellRing:Ts,LucideBetweenHorizonalEnd:Kt,LucideBetweenHorizonalStart:Xt,LucideBetweenHorizontalEnd:Kt,LucideBetweenHorizontalStart:Xt,LucideBetweenVerticalEnd:Ds,LucideBetweenVerticalStart:Hs,LucideBicepsFlexed:Bs,LucideBike:Fs,LucideBinary:Rs,LucideBinoculars:Es,LucideBiohazard:Os,LucideBird:Us,LucideBitcoin:Ws,LucideBlend:Gs,LucideBlinds:Zs,LucideBlocks:Ks,LucideBluetooth:Qs,LucideBluetoothConnected:Xs,LucideBluetoothOff:Ys,LucideBluetoothSearching:Js,LucideBold:e2,LucideBolt:t2,LucideBomb:a2,LucideBone:n2,LucideBook:C2,LucideBookA:o2,LucideBookAlert:c2,LucideBookAudio:i2,LucideBookCheck:r2,LucideBookCopy:s2,LucideBookDashed:Yt,LucideBookDown:d2,LucideBookHeadphones:l2,LucideBookHeart:h2,LucideBookImage:u2,LucideBookKey:p2,LucideBookLock:y2,LucideBookMarked:m2,LucideBookMinus:k2,LucideBookOpen:v2,LucideBookOpenCheck:f2,LucideBookOpenText:g2,LucideBookPlus:M2,LucideBookTemplate:Yt,LucideBookText:_2,LucideBookType:x2,LucideBookUp:I2,LucideBookUp2:L2,LucideBookUser:b2,LucideBookX:w2,LucideBookmark:q2,LucideBookmarkCheck:N2,LucideBookmarkMinus:S2,LucideBookmarkPlus:j2,LucideBookmarkX:$2,LucideBoomBox:A2,LucideBot:P2,LucideBotMessageSquare:z2,LucideBotOff:V2,LucideBottleWine:T2,LucideBowArrow:H2,LucideBox:D2,LucideBoxSelect:So,LucideBoxes:B2,LucideBraces:Jt,LucideBrackets:R2,LucideBrain:O2,LucideBrainCircuit:F2,LucideBrainCog:E2,LucideBrickWall:G2,LucideBrickWallFire:U2,LucideBrickWallShield:W2,LucideBriefcase:Y2,LucideBriefcaseBusiness:Z2,LucideBriefcaseConveyorBelt:K2,LucideBriefcaseMedical:X2,LucideBringToFront:J2,LucideBrush:ed,LucideBrushCleaning:Q2,LucideBubbles:td,LucideBug:cd,LucideBugOff:ad,LucideBugPlay:nd,LucideBuilding:id,LucideBuilding2:od,LucideBus:sd,LucideBusFront:rd,LucideCable:ld,LucideCableCar:dd,LucideCake:ud,LucideCakeSlice:hd,LucideCalculator:pd,LucideCalendar:y1,LucideCalendar1:yd,LucideCalendarArrowDown:kd,LucideCalendarArrowUp:md,LucideCalendarCheck:gd,LucideCalendarCheck2:fd,LucideCalendarClock:vd,LucideCalendarCog:Md,LucideCalendarDays:_d,LucideCalendarFold:xd,LucideCalendarHeart:Ld,LucideCalendarMinus:bd,LucideCalendarMinus2:Id,LucideCalendarOff:wd,LucideCalendarPlus:Nd,LucideCalendarPlus2:Cd,LucideCalendarRange:Sd,LucideCalendarSearch:jd,LucideCalendarSync:$d,LucideCalendarX:Ad,LucideCalendarX2:qd,LucideCamera:Vd,LucideCameraOff:zd,LucideCandlestickChart:na,LucideCandy:Hd,LucideCandyCane:Pd,LucideCandyOff:Td,LucideCannabis:Dd,LucideCaptions:Qt,LucideCaptionsOff:Bd,LucideCar:Ed,LucideCarFront:Rd,LucideCarTaxiFront:Fd,LucideCaravan:Od,LucideCardSim:Ud,LucideCarrot:Wd,LucideCaseLower:Gd,LucideCaseSensitive:Zd,LucideCaseUpper:Kd,LucideCassetteTape:Xd,LucideCast:Yd,LucideCastle:Qd,LucideCat:Jd,LucideCctv:e0,LucideChartArea:ea,LucideChartBar:aa,LucideChartBarBig:ta,LucideChartBarDecreasing:t0,LucideChartBarIncreasing:a0,LucideChartBarStacked:n0,LucideChartCandlestick:na,LucideChartColumn:ia,LucideChartColumnBig:oa,LucideChartColumnDecreasing:o0,LucideChartColumnIncreasing:ca,LucideChartColumnStacked:c0,LucideChartGantt:i0,LucideChartLine:ra,LucideChartNetwork:r0,LucideChartNoAxesColumn:da,LucideChartNoAxesColumnDecreasing:s0,LucideChartNoAxesColumnIncreasing:sa,LucideChartNoAxesCombined:d0,LucideChartNoAxesGantt:la,LucideChartPie:ha,LucideChartScatter:ua,LucideChartSpline:l0,LucideCheck:k1,LucideCheckCheck:h0,LucideCheckCircle:xa,LucideCheckCircle2:La,LucideCheckLine:u0,LucideCheckSquare:Mo,LucideCheckSquare2:_o,LucideChefHat:p0,LucideCherry:y0,LucideChevronDown:Nt,LucideChevronDownCircle:Ia,LucideChevronDownSquare:xo,LucideChevronFirst:k0,LucideChevronLast:m0,LucideChevronLeft:f0,LucideChevronLeftCircle:ba,LucideChevronLeftSquare:Lo,LucideChevronRight:m1,LucideChevronRightCircle:wa,LucideChevronRightSquare:Io,LucideChevronUp:bc,LucideChevronUpCircle:Ca,LucideChevronUpSquare:bo,LucideChevronsDown:v0,LucideChevronsDownUp:g0,LucideChevronsLeft:_0,LucideChevronsLeftRight:M0,LucideChevronsLeftRightEllipsis:x0,LucideChevronsRight:I0,LucideChevronsRightLeft:L0,LucideChevronsUp:b0,LucideChevronsUpDown:Oc,LucideChrome:w0,LucideChurch:C0,LucideCigarette:S0,LucideCigaretteOff:N0,LucideCircle:E0,LucideCircleAlert:pa,LucideCircleArrowDown:ya,LucideCircleArrowLeft:ka,LucideCircleArrowOutDownLeft:ma,LucideCircleArrowOutDownRight:fa,LucideCircleArrowOutUpLeft:ga,LucideCircleArrowOutUpRight:va,LucideCircleArrowRight:Ma,LucideCircleArrowUp:_a,LucideCircleCheck:La,LucideCircleCheckBig:xa,LucideCircleChevronDown:Ia,LucideCircleChevronLeft:ba,LucideCircleChevronRight:wa,LucideCircleChevronUp:Ca,LucideCircleDashed:j0,LucideCircleDivide:Na,LucideCircleDollarSign:q0,LucideCircleDot:A0,LucideCircleDotDashed:$0,LucideCircleEllipsis:z0,LucideCircleEqual:V0,LucideCircleFadingArrowUp:T0,LucideCircleFadingPlus:P0,LucideCircleGauge:Sa,LucideCircleHelp:tt,LucideCircleMinus:ja,LucideCircleOff:H0,LucideCircleParking:Aa,LucideCircleParkingOff:$a,LucideCirclePause:qa,LucideCirclePercent:za,LucideCirclePlay:Va,LucideCirclePlus:Pa,LucideCirclePoundSterling:D0,LucideCirclePower:Ta,LucideCircleQuestionMark:tt,LucideCircleSlash:B0,LucideCircleSlash2:Ha,LucideCircleSlashed:Ha,LucideCircleSmall:R0,LucideCircleStar:F0,LucideCircleStop:Da,LucideCircleUser:Ra,LucideCircleUserRound:Ba,LucideCircleX:_t,LucideCircuitBoard:O0,LucideCitrus:U0,LucideClapperboard:W0,LucideClipboard:al,LucideClipboardCheck:G0,LucideClipboardClock:Z0,LucideClipboardCopy:K0,LucideClipboardEdit:Ea,LucideClipboardList:X0,LucideClipboardMinus:Y0,LucideClipboardPaste:J0,LucideClipboardPen:Ea,LucideClipboardPenLine:Fa,LucideClipboardPlus:Q0,LucideClipboardSignature:Fa,LucideClipboardType:el,LucideClipboardX:tl,LucideClock:Ml,LucideClock1:ol,LucideClock10:nl,LucideClock11:cl,LucideClock12:il,LucideClock2:rl,LucideClock3:sl,LucideClock4:dl,LucideClock5:ll,LucideClock6:hl,LucideClock7:ul,LucideClock8:pl,LucideClock9:yl,LucideClockAlert:kl,LucideClockArrowDown:ml,LucideClockArrowUp:fl,LucideClockFading:gl,LucideClockPlus:vl,LucideClosedCaption:_l,LucideCloud:Tl,LucideCloudAlert:xl,LucideCloudCheck:Ll,LucideCloudCog:Il,LucideCloudDownload:Oa,LucideCloudDrizzle:bl,LucideCloudFog:wl,LucideCloudHail:Cl,LucideCloudLightning:Nl,LucideCloudMoon:jl,LucideCloudMoonRain:Sl,LucideCloudOff:$l,LucideCloudRain:Al,LucideCloudRainWind:ql,LucideCloudSnow:zl,LucideCloudSun:Pl,LucideCloudSunRain:Vl,LucideCloudUpload:Ua,LucideCloudy:Hl,LucideClover:Dl,LucideClub:Bl,LucideCode:Rl,LucideCode2:Wa,LucideCodeSquare:wo,LucideCodeXml:Wa,LucideCodepen:Fl,LucideCodesandbox:El,LucideCoffee:Ol,LucideCog:Ul,LucideCoins:Wl,LucideColumns:Ga,LucideColumns2:Ga,LucideColumns3:Za,LucideColumns3Cog:at,LucideColumns4:Gl,LucideColumnsSettings:at,LucideCombine:Zl,LucideCommand:Kl,LucideCompass:Xl,LucideComponent:Yl,LucideComputer:Jl,LucideConciergeBell:Ql,LucideCone:eh,LucideConstruction:th,LucideContact:ah,LucideContact2:Ka,LucideContactRound:Ka,LucideContainer:nh,LucideContrast:ch,LucideCookie:oh,LucideCookingPot:rh,LucideCopy:uh,LucideCopyCheck:ih,LucideCopyMinus:sh,LucideCopyPlus:dh,LucideCopySlash:lh,LucideCopyX:hh,LucideCopyleft:ph,LucideCopyright:yh,LucideCornerDownLeft:kh,LucideCornerDownRight:mh,LucideCornerLeftDown:fh,LucideCornerLeftUp:gh,LucideCornerRightDown:vh,LucideCornerRightUp:Mh,LucideCornerUpLeft:_h,LucideCornerUpRight:xh,LucideCpu:Lh,LucideCreativeCommons:Ih,LucideCreditCard:bh,LucideCroissant:wh,LucideCrop:Ch,LucideCross:Nh,LucideCrosshair:Sh,LucideCrown:jh,LucideCuboid:$h,LucideCupSoda:qh,LucideCurlyBraces:Jt,LucideCurrency:Ah,LucideCylinder:zh,LucideDam:Vh,LucideDatabase:Hh,LucideDatabaseBackup:Ph,LucideDatabaseZap:Th,LucideDecimalsArrowLeft:Dh,LucideDecimalsArrowRight:Bh,LucideDelete:Rh,LucideDessert:Fh,LucideDiameter:Eh,LucideDiamond:Wh,LucideDiamondMinus:Oh,LucideDiamondPercent:Xa,LucideDiamondPlus:Uh,LucideDice1:Gh,LucideDice2:Zh,LucideDice3:Kh,LucideDice4:Xh,LucideDice5:Yh,LucideDice6:Jh,LucideDices:Qh,LucideDiff:eu,LucideDisc:ou,LucideDisc2:tu,LucideDisc3:au,LucideDiscAlbum:nu,LucideDivide:cu,LucideDivideCircle:Na,LucideDivideSquare:jo,LucideDna:ru,LucideDnaOff:iu,LucideDock:su,LucideDog:du,LucideDollarSign:lu,LucideDonut:hu,LucideDoorClosed:pu,LucideDoorClosedLocked:uu,LucideDoorOpen:yu,LucideDot:ku,LucideDotSquare:qo,LucideDownload:fu,LucideDownloadCloud:Oa,LucideDraftingCompass:mu,LucideDrama:gu,LucideDribbble:vu,LucideDrill:Mu,LucideDrone:_u,LucideDroplet:Lu,LucideDropletOff:xu,LucideDroplets:Iu,LucideDrum:bu,LucideDrumstick:wu,LucideDumbbell:Cu,LucideEar:Su,LucideEarOff:Nu,LucideEarth:Ya,LucideEarthLock:ju,LucideEclipse:$u,LucideEdit:Pe,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:zu,LucideEggFried:qu,LucideEggOff:Au,LucideEllipsis:Qa,LucideEllipsisVertical:Ja,LucideEqual:Tu,LucideEqualApproximately:Vu,LucideEqualNot:Pu,LucideEqualSquare:$o,LucideEraser:Hu,LucideEthernetPort:Du,LucideEuro:Bu,LucideExpand:Fu,LucideExternalLink:Ru,LucideEye:g1,LucideEyeClosed:Eu,LucideEyeOff:f1,LucideFacebook:Ou,LucideFactory:Uu,LucideFan:Wu,LucideFastForward:Gu,LucideFeather:Zu,LucideFence:Ku,LucideFerrisWheel:Xu,LucideFigma:Yu,LucideFile:Up,LucideFileArchive:Ju,LucideFileAudio:ep,LucideFileAudio2:Qu,LucideFileAxis3D:en,LucideFileAxis3d:en,LucideFileBadge:np,LucideFileBadge2:tp,LucideFileBarChart:tn,LucideFileBarChart2:an,LucideFileBox:ap,LucideFileChartColumn:an,LucideFileChartColumnIncreasing:tn,LucideFileChartLine:nn,LucideFileChartPie:on,LucideFileCheck:cp,LucideFileCheck2:op,LucideFileClock:ip,LucideFileCode:rp,LucideFileCode2:sp,LucideFileCog:cn,LucideFileCog2:cn,LucideFileDiff:dp,LucideFileDigit:lp,LucideFileDown:hp,LucideFileEdit:sn,LucideFileHeart:up,LucideFileImage:pp,LucideFileInput:yp,LucideFileJson:mp,LucideFileJson2:kp,LucideFileKey:gp,LucideFileKey2:fp,LucideFileLineChart:nn,LucideFileLock:Mp,LucideFileLock2:vp,LucideFileMinus:xp,LucideFileMinus2:_p,LucideFileMusic:Lp,LucideFileOutput:Ip,LucideFilePen:sn,LucideFilePenLine:rn,LucideFilePieChart:on,LucideFilePlay:dn,LucideFilePlus:wp,LucideFilePlus2:bp,LucideFileQuestion:ln,LucideFileQuestionMark:ln,LucideFileScan:Cp,LucideFileSearch:Sp,LucideFileSearch2:Np,LucideFileSignature:rn,LucideFileSliders:jp,LucideFileSpreadsheet:$p,LucideFileStack:qp,LucideFileSymlink:Ap,LucideFileTerminal:zp,LucideFileText:Vp,LucideFileType:Tp,LucideFileType2:Pp,LucideFileUp:Hp,LucideFileUser:Dp,LucideFileVideo:dn,LucideFileVideo2:hn,LucideFileVideoCamera:hn,LucideFileVolume:Rp,LucideFileVolume2:Bp,LucideFileWarning:Fp,LucideFileX:Op,LucideFileX2:Ep,LucideFiles:Wp,LucideFilm:Gp,LucideFilter:xt,LucideFilterX:yn,LucideFingerprint:Zp,LucideFireExtinguisher:Kp,LucideFish:Yp,LucideFishOff:Xp,LucideFishSymbol:Jp,LucideFlag:ay,LucideFlagOff:Qp,LucideFlagTriangleLeft:ey,LucideFlagTriangleRight:ty,LucideFlame:oy,LucideFlameKindling:ny,LucideFlashlight:iy,LucideFlashlightOff:cy,LucideFlaskConical:sy,LucideFlaskConicalOff:ry,LucideFlaskRound:dy,LucideFlipHorizontal:hy,LucideFlipHorizontal2:ly,LucideFlipVertical:py,LucideFlipVertical2:uy,LucideFlower:ky,LucideFlower2:yy,LucideFocus:my,LucideFoldHorizontal:fy,LucideFoldVertical:gy,LucideFolder:v1,LucideFolderArchive:vy,LucideFolderCheck:My,LucideFolderClock:_y,LucideFolderClosed:xy,LucideFolderCode:Ly,LucideFolderCog:un,LucideFolderCog2:un,LucideFolderDot:Iy,LucideFolderDown:by,LucideFolderEdit:pn,LucideFolderGit:Cy,LucideFolderGit2:wy,LucideFolderHeart:Ny,LucideFolderInput:Sy,LucideFolderKanban:jy,LucideFolderKey:$y,LucideFolderLock:qy,LucideFolderMinus:Ay,LucideFolderOpen:Vy,LucideFolderOpenDot:zy,LucideFolderOutput:Py,LucideFolderPen:pn,LucideFolderPlus:Uc,LucideFolderRoot:Ty,LucideFolderSearch:Dy,LucideFolderSearch2:Hy,LucideFolderSymlink:By,LucideFolderSync:Ry,LucideFolderTree:Fy,LucideFolderUp:Ey,LucideFolderX:Oy,LucideFolders:Uy,LucideFootprints:Wy,LucideForkKnife:gc,LucideForkKnifeCrossed:fc,LucideForklift:Gy,LucideFormInput:Kn,LucideForward:Zy,LucideFrame:Ky,LucideFramer:Xy,LucideFrown:Yy,LucideFuel:Jy,LucideFullscreen:Qy,LucideFunctionSquare:Ao,LucideFunnel:xt,LucideFunnelPlus:e4,LucideFunnelX:yn,LucideGalleryHorizontal:a4,LucideGalleryHorizontalEnd:t4,LucideGalleryThumbnails:n4,LucideGalleryVertical:c4,LucideGalleryVerticalEnd:o4,LucideGamepad:r4,LucideGamepad2:i4,LucideGanttChart:la,LucideGanttChartSquare:ot,LucideGauge:s4,LucideGaugeCircle:Sa,LucideGavel:d4,LucideGem:l4,LucideGeorgianLari:h4,LucideGhost:u4,LucideGift:p4,LucideGitBranch:k4,LucideGitBranchPlus:y4,LucideGitCommit:kn,LucideGitCommitHorizontal:kn,LucideGitCommitVertical:m4,LucideGitCompare:g4,LucideGitCompareArrows:f4,LucideGitFork:v4,LucideGitGraph:M4,LucideGitMerge:_4,LucideGitPullRequest:C4,LucideGitPullRequestArrow:x4,LucideGitPullRequestClosed:L4,LucideGitPullRequestCreate:b4,LucideGitPullRequestCreateArrow:I4,LucideGitPullRequestDraft:w4,LucideGithub:N4,LucideGitlab:S4,LucideGlassWater:j4,LucideGlasses:$4,LucideGlobe:A4,LucideGlobe2:Ya,LucideGlobeLock:q4,LucideGoal:z4,LucideGpu:V4,LucideGrab:Mn,LucideGraduationCap:P4,LucideGrape:T4,LucideGrid:nt,LucideGrid2X2:vn,LucideGrid2X2Check:mn,LucideGrid2X2Plus:fn,LucideGrid2X2X:gn,LucideGrid2x2:vn,LucideGrid2x2Check:mn,LucideGrid2x2Plus:fn,LucideGrid2x2X:gn,LucideGrid3X3:nt,LucideGrid3x2:H4,LucideGrid3x3:nt,LucideGrip:B4,LucideGripHorizontal:D4,LucideGripVertical:M1,LucideGroup:R4,LucideGuitar:F4,LucideHam:E4,LucideHamburger:O4,LucideHammer:U4,LucideHand:Y4,LucideHandCoins:W4,LucideHandFist:G4,LucideHandGrab:Mn,LucideHandHeart:Z4,LucideHandHelping:_n,LucideHandMetal:K4,LucideHandPlatter:X4,LucideHandbag:J4,LucideHandshake:Q4,LucideHardDrive:a5,LucideHardDriveDownload:e5,LucideHardDriveUpload:t5,LucideHardHat:n5,LucideHash:o5,LucideHatGlasses:c5,LucideHaze:i5,LucideHdmiPort:r5,LucideHeading:y5,LucideHeading1:s5,LucideHeading2:d5,LucideHeading3:l5,LucideHeading4:h5,LucideHeading5:u5,LucideHeading6:p5,LucideHeadphoneOff:k5,LucideHeadphones:m5,LucideHeadset:f5,LucideHeart:I5,LucideHeartCrack:g5,LucideHeartHandshake:v5,LucideHeartMinus:M5,LucideHeartOff:_5,LucideHeartPlus:x5,LucideHeartPulse:L5,LucideHeater:b5,LucideHelpCircle:tt,LucideHelpingHand:_n,LucideHexagon:w5,LucideHighlighter:C5,LucideHistory:N5,LucideHome:Lt,LucideHop:j5,LucideHopOff:S5,LucideHospital:_1,LucideHotel:$5,LucideHourglass:q5,LucideHouse:Lt,LucideHousePlug:A5,LucideHousePlus:V5,LucideHouseWifi:z5,LucideIceCream:Ln,LucideIceCream2:xn,LucideIceCreamBowl:xn,LucideIceCreamCone:Ln,LucideIdCard:T5,LucideIdCardLanyard:P5,LucideImage:U5,LucideImageDown:H5,LucideImageMinus:D5,LucideImageOff:B5,LucideImagePlay:R5,LucideImagePlus:F5,LucideImageUp:E5,LucideImageUpscale:O5,LucideImages:W5,LucideImport:G5,LucideInbox:Z5,LucideIndent:bn,LucideIndentDecrease:In,LucideIndentIncrease:bn,LucideIndianRupee:K5,LucideInfinity:X5,LucideInfo:Y5,LucideInspect:Bo,LucideInspectionPanel:J5,LucideInstagram:Q5,LucideItalic:ek,LucideIterationCcw:tk,LucideIterationCw:ak,LucideJapaneseYen:ok,LucideJoystick:nk,LucideKanban:ck,LucideKanbanSquare:zo,LucideKanbanSquareDashed:Co,LucideKayak:ik,LucideKey:dk,LucideKeyRound:rk,LucideKeySquare:sk,LucideKeyboard:uk,LucideKeyboardMusic:lk,LucideKeyboardOff:hk,LucideLamp:gk,LucideLampCeiling:pk,LucideLampDesk:kk,LucideLampFloor:yk,LucideLampWallDown:mk,LucideLampWallUp:fk,LucideLandPlot:vk,LucideLandmark:Mk,LucideLanguages:_k,LucideLaptop:Lk,LucideLaptop2:wn,LucideLaptopMinimal:wn,LucideLaptopMinimalCheck:xk,LucideLasso:bk,LucideLassoSelect:Ik,LucideLaugh:wk,LucideLayers:Cn,LucideLayers2:Ck,LucideLayers3:Cn,LucideLayout:Gn,LucideLayoutDashboard:Nk,LucideLayoutGrid:Sk,LucideLayoutList:jk,LucideLayoutPanelLeft:$k,LucideLayoutPanelTop:qk,LucideLayoutTemplate:Ak,LucideLeaf:zk,LucideLeafyGreen:Pk,LucideLectern:Vk,LucideLetterText:Tk,LucideLibrary:Dk,LucideLibraryBig:Hk,LucideLibrarySquare:Vo,LucideLifeBuoy:Bk,LucideLigature:Rk,LucideLightbulb:Ek,LucideLightbulbOff:Fk,LucideLineChart:ra,LucideLineSquiggle:Ok,LucideLink:Gk,LucideLink2:Uk,LucideLink2Off:Wk,LucideLinkedin:Zk,LucideList:h3,LucideListCheck:Kk,LucideListChecks:Xk,LucideListCollapse:Yk,LucideListEnd:Jk,LucideListFilter:t3,LucideListFilterPlus:Qk,LucideListMinus:e3,LucideListMusic:a3,LucideListOrdered:n3,LucideListPlus:o3,LucideListRestart:c3,LucideListStart:i3,LucideListTodo:r3,LucideListTree:s3,LucideListVideo:d3,LucideListX:l3,LucideLoader:p3,LucideLoader2:Nn,LucideLoaderCircle:Nn,LucideLoaderPinwheel:u3,LucideLocate:m3,LucideLocateFixed:y3,LucideLocateOff:k3,LucideLocationEdit:qn,LucideLock:g3,LucideLockKeyhole:f3,LucideLockKeyholeOpen:Sn,LucideLockOpen:jn,LucideLogIn:v3,LucideLogOut:M3,LucideLogs:_3,LucideLollipop:x3,LucideLuggage:L3,LucideMSquare:Po,LucideMagnet:I3,LucideMail:$3,LucideMailCheck:b3,LucideMailMinus:w3,LucideMailOpen:C3,LucideMailPlus:N3,LucideMailQuestion:$n,LucideMailQuestionMark:$n,LucideMailSearch:S3,LucideMailWarning:j3,LucideMailX:q3,LucideMailbox:A3,LucideMails:z3,LucideMap:K3,LucideMapMinus:V3,LucideMapPin:W3,LucideMapPinCheck:P3,LucideMapPinCheckInside:T3,LucideMapPinHouse:H3,LucideMapPinMinus:B3,LucideMapPinMinusInside:D3,LucideMapPinOff:R3,LucideMapPinPen:qn,LucideMapPinPlus:E3,LucideMapPinPlusInside:F3,LucideMapPinX:U3,LucideMapPinXInside:O3,LucideMapPinned:G3,LucideMapPlus:Z3,LucideMars:Y3,LucideMarsStroke:X3,LucideMartini:J3,LucideMaximize:tm,LucideMaximize2:Q3,LucideMedal:em,LucideMegaphone:nm,LucideMegaphoneOff:am,LucideMeh:om,LucideMemoryStick:cm,LucideMenu:Wc,LucideMenuSquare:To,LucideMerge:im,LucideMessageCircle:mm,LucideMessageCircleCode:rm,LucideMessageCircleDashed:sm,LucideMessageCircleHeart:dm,LucideMessageCircleMore:lm,LucideMessageCircleOff:hm,LucideMessageCirclePlus:um,LucideMessageCircleQuestion:An,LucideMessageCircleQuestionMark:An,LucideMessageCircleReply:pm,LucideMessageCircleWarning:ym,LucideMessageCircleX:km,LucideMessageSquare:qm,LucideMessageSquareCode:fm,LucideMessageSquareDashed:gm,LucideMessageSquareDiff:vm,LucideMessageSquareDot:Mm,LucideMessageSquareHeart:_m,LucideMessageSquareLock:xm,LucideMessageSquareMore:Lm,LucideMessageSquareOff:Im,LucideMessageSquarePlus:bm,LucideMessageSquareQuote:wm,LucideMessageSquareReply:Cm,LucideMessageSquareShare:Nm,LucideMessageSquareText:Sm,LucideMessageSquareWarning:jm,LucideMessageSquareX:$m,LucideMessagesSquare:Am,LucideMic:Vm,LucideMic2:zn,LucideMicOff:zm,LucideMicVocal:zn,LucideMicrochip:Pm,LucideMicroscope:Tm,LucideMicrowave:Hm,LucideMilestone:Dm,LucideMilk:Rm,LucideMilkOff:Bm,LucideMinimize:Em,LucideMinimize2:Fm,LucideMinus:Om,LucideMinusCircle:ja,LucideMinusSquare:Ho,LucideMonitor:n6,LucideMonitorCheck:Um,LucideMonitorCog:Wm,LucideMonitorDot:Gm,LucideMonitorDown:Zm,LucideMonitorOff:Km,LucideMonitorPause:Ym,LucideMonitorPlay:Xm,LucideMonitorSmartphone:Jm,LucideMonitorSpeaker:Qm,LucideMonitorStop:e6,LucideMonitorUp:t6,LucideMonitorX:a6,LucideMoon:c6,LucideMoonStar:o6,LucideMoreHorizontal:Qa,LucideMoreVertical:Ja,LucideMountain:r6,LucideMountainSnow:i6,LucideMouse:p6,LucideMouseOff:s6,LucideMousePointer:h6,LucideMousePointer2:d6,LucideMousePointerBan:l6,LucideMousePointerClick:u6,LucideMousePointerSquareDashed:No,LucideMove:a.Move,LucideMove3D:Vn,LucideMove3d:Vn,LucideMoveDiagonal:k6,LucideMoveDiagonal2:y6,LucideMoveDown:v6,LucideMoveDownLeft:m6,LucideMoveDownRight:f6,LucideMoveHorizontal:g6,LucideMoveLeft:M6,LucideMoveRight:_6,LucideMoveUp:I6,LucideMoveUpLeft:x6,LucideMoveUpRight:L6,LucideMoveVertical:b6,LucideMusic:S6,LucideMusic2:w6,LucideMusic3:C6,LucideMusic4:N6,LucideNavigation:A6,LucideNavigation2:$6,LucideNavigation2Off:j6,LucideNavigationOff:q6,LucideNetwork:z6,LucideNewspaper:V6,LucideNfc:P6,LucideNonBinary:T6,LucideNotebook:R6,LucideNotebookPen:H6,LucideNotebookTabs:D6,LucideNotebookText:B6,LucideNotepadText:E6,LucideNotepadTextDashed:F6,LucideNut:U6,LucideNutOff:O6,LucideOctagon:G6,LucideOctagonAlert:Pn,LucideOctagonMinus:W6,LucideOctagonPause:Tn,LucideOctagonX:Hn,LucideOmega:Z6,LucideOption:K6,LucideOrbit:X6,LucideOrigami:Y6,LucideOutdent:In,LucidePackage:c8,LucidePackage2:J6,LucidePackageCheck:Q6,LucidePackageMinus:e8,LucidePackageOpen:t8,LucidePackagePlus:a8,LucidePackageSearch:n8,LucidePackageX:o8,LucidePaintBucket:i8,LucidePaintRoller:r8,LucidePaintbrush:s8,LucidePaintbrush2:Dn,LucidePaintbrushVertical:Dn,LucidePalette:d8,LucidePalmtree:ic,LucidePanda:l8,LucidePanelBottom:p8,LucidePanelBottomClose:h8,LucidePanelBottomDashed:Bn,LucidePanelBottomInactive:Bn,LucidePanelBottomOpen:u8,LucidePanelLeft:On,LucidePanelLeftClose:Rn,LucidePanelLeftDashed:Fn,LucidePanelLeftInactive:Fn,LucidePanelLeftOpen:En,LucidePanelRight:m8,LucidePanelRightClose:y8,LucidePanelRightDashed:Un,LucidePanelRightInactive:Un,LucidePanelRightOpen:k8,LucidePanelTop:v8,LucidePanelTopClose:f8,LucidePanelTopDashed:Wn,LucidePanelTopInactive:Wn,LucidePanelTopOpen:g8,LucidePanelsLeftBottom:M8,LucidePanelsLeftRight:Za,LucidePanelsRightBottom:_8,LucidePanelsTopBottom:Jn,LucidePanelsTopLeft:Gn,LucidePaperclip:x8,LucideParentheses:L8,LucideParkingCircle:Aa,LucideParkingCircleOff:$a,LucideParkingMeter:I8,LucideParkingSquare:Ro,LucideParkingSquareOff:Do,LucidePartyPopper:b8,LucidePause:w8,LucidePauseCircle:qa,LucidePauseOctagon:Tn,LucidePawPrint:C8,LucidePcCase:N8,LucidePen:lt,LucidePenBox:Pe,LucidePenLine:dt,LucidePenOff:j8,LucidePenSquare:Pe,LucidePenTool:S8,LucidePencil:x1,LucidePencilLine:$8,LucidePencilOff:q8,LucidePencilRuler:A8,LucidePentagon:z8,LucidePercent:V8,LucidePercentCircle:za,LucidePercentDiamond:Xa,LucidePercentSquare:Fo,LucidePersonStanding:T8,LucidePhilippinePeso:P8,LucidePhone:E8,LucidePhoneCall:H8,LucidePhoneForwarded:D8,LucidePhoneIncoming:B8,LucidePhoneMissed:R8,LucidePhoneOff:F8,LucidePhoneOutgoing:O8,LucidePi:U8,LucidePiSquare:Eo,LucidePiano:W8,LucidePickaxe:G8,LucidePictureInPicture:K8,LucidePictureInPicture2:Z8,LucidePieChart:ha,LucidePiggyBank:X8,LucidePilcrow:J8,LucidePilcrowLeft:Y8,LucidePilcrowRight:Q8,LucidePilcrowSquare:Oo,LucidePill:tf,LucidePillBottle:ef,LucidePin:nf,LucidePinOff:af,LucidePipette:of,LucidePizza:cf,LucidePlane:df,LucidePlaneLanding:rf,LucidePlaneTakeoff:sf,LucidePlay:lf,LucidePlayCircle:Va,LucidePlaySquare:Uo,LucidePlug:uf,LucidePlug2:hf,LucidePlugZap:Zn,LucidePlugZap2:Zn,LucidePlus:Gc,LucidePlusCircle:Pa,LucidePlusSquare:Wo,LucidePocket:yf,LucidePocketKnife:pf,LucidePodcast:kf,LucidePointer:ff,LucidePointerOff:mf,LucidePopcorn:vf,LucidePopsicle:gf,LucidePoundSterling:Mf,LucidePower:xf,LucidePowerCircle:Ta,LucidePowerOff:_f,LucidePowerSquare:Go,LucidePresentation:Lf,LucidePrinter:bf,LucidePrinterCheck:If,LucideProjector:wf,LucideProportions:Cf,LucidePuzzle:Sf,LucidePyramid:Nf,LucideQrCode:jf,LucideQuote:$f,LucideRabbit:qf,LucideRadar:Af,LucideRadiation:zf,LucideRadical:Vf,LucideRadio:Hf,LucideRadioReceiver:Pf,LucideRadioTower:Tf,LucideRadius:Df,LucideRailSymbol:Bf,LucideRainbow:Rf,LucideRat:Ff,LucideRatio:Ef,LucideReceipt:Qf,LucideReceiptCent:Of,LucideReceiptEuro:Wf,LucideReceiptIndianRupee:Uf,LucideReceiptJapaneseYen:Gf,LucideReceiptPoundSterling:Zf,LucideReceiptRussianRuble:Kf,LucideReceiptSwissFranc:Xf,LucideReceiptText:Yf,LucideReceiptTurkishLira:Jf,LucideRectangleCircle:e7,LucideRectangleEllipsis:Kn,LucideRectangleGoggles:t7,LucideRectangleHorizontal:a7,LucideRectangleVertical:n7,LucideRecycle:o7,LucideRedo:r7,LucideRedo2:c7,LucideRedoDot:i7,LucideRefreshCcw:d7,LucideRefreshCcwDot:s7,LucideRefreshCw:h7,LucideRefreshCwOff:l7,LucideRefrigerator:u7,LucideRegex:p7,LucideRemoveFormatting:y7,LucideRepeat:f7,LucideRepeat1:k7,LucideRepeat2:m7,LucideReplace:v7,LucideReplaceAll:g7,LucideReply:x7,LucideReplyAll:M7,LucideRewind:_7,LucideRibbon:L7,LucideRocket:I7,LucideRockingChair:C7,LucideRollerCoaster:b7,LucideRose:w7,LucideRotate3D:Xn,LucideRotate3d:Xn,LucideRotateCcw:j7,LucideRotateCcwKey:N7,LucideRotateCcwSquare:S7,LucideRotateCw:q7,LucideRotateCwSquare:$7,LucideRoute:z7,LucideRouteOff:A7,LucideRouter:V7,LucideRows:Yn,LucideRows2:Yn,LucideRows3:Jn,LucideRows4:P7,LucideRss:T7,LucideRuler:D7,LucideRulerDimensionLine:H7,LucideRussianRuble:B7,LucideSailboat:R7,LucideSalad:F7,LucideSandwich:E7,LucideSatellite:U7,LucideSatelliteDish:O7,LucideSaudiRiyal:W7,LucideSave:X7,LucideSaveAll:G7,LucideSaveOff:Z7,LucideScale:K7,LucideScale3D:Qn,LucideScale3d:Qn,LucideScaling:Y7,LucideScan:ig,LucideScanBarcode:J7,LucideScanEye:Q7,LucideScanFace:eg,LucideScanHeart:tg,LucideScanLine:ag,LucideScanQrCode:ng,LucideScanSearch:og,LucideScanText:cg,LucideScatterChart:ua,LucideSchool:rg,LucideSchool2:dc,LucideScissors:dg,LucideScissorsLineDashed:sg,LucideScissorsSquare:Zo,LucideScissorsSquareDashedBottom:vo,LucideScreenShare:lg,LucideScreenShareOff:hg,LucideScroll:pg,LucideScrollText:ug,LucideSearch:L1,LucideSearchCheck:yg,LucideSearchCode:kg,LucideSearchSlash:mg,LucideSearchX:fg,LucideSection:gg,LucideSend:Mg,LucideSendHorizonal:eo,LucideSendHorizontal:eo,LucideSendToBack:vg,LucideSeparatorHorizontal:_g,LucideSeparatorVertical:xg,LucideServer:wg,LucideServerCog:Lg,LucideServerCrash:bg,LucideServerOff:Ig,LucideSettings:Ng,LucideSettings2:Cg,LucideShapes:Sg,LucideShare:$g,LucideShare2:jg,LucideSheet:qg,LucideShell:Ag,LucideShield:Eg,LucideShieldAlert:zg,LucideShieldBan:Vg,LucideShieldCheck:Pg,LucideShieldClose:ao,LucideShieldEllipsis:Tg,LucideShieldHalf:Hg,LucideShieldMinus:Bg,LucideShieldOff:Dg,LucideShieldPlus:Rg,LucideShieldQuestion:to,LucideShieldQuestionMark:to,LucideShieldUser:Fg,LucideShieldX:ao,LucideShip:Ug,LucideShipWheel:Og,LucideShirt:Wg,LucideShoppingBag:Gg,LucideShoppingBasket:Zg,LucideShoppingCart:Kg,LucideShovel:Xg,LucideShowerHead:Yg,LucideShredder:Jg,LucideShrimp:Qg,LucideShrink:ev,LucideShrub:tv,LucideShuffle:nv,LucideSidebar:On,LucideSidebarClose:Rn,LucideSidebarOpen:En,LucideSigma:av,LucideSigmaSquare:Ko,LucideSignal:sv,LucideSignalHigh:ov,LucideSignalLow:cv,LucideSignalMedium:iv,LucideSignalZero:rv,LucideSignature:dv,LucideSignpost:hv,LucideSignpostBig:lv,LucideSiren:uv,LucideSkipBack:pv,LucideSkipForward:yv,LucideSkull:kv,LucideSlack:mv,LucideSlash:fv,LucideSlashSquare:Xo,LucideSlice:gv,LucideSliders:no,LucideSlidersHorizontal:vv,LucideSlidersVertical:no,LucideSmartphone:xv,LucideSmartphoneCharging:Mv,LucideSmartphoneNfc:_v,LucideSmile:Iv,LucideSmilePlus:Lv,LucideSnail:bv,LucideSnowflake:wv,LucideSoapDispenserDroplet:Cv,LucideSofa:Nv,LucideSortAsc:Ot,LucideSortDesc:Rt,LucideSoup:Sv,LucideSpace:jv,LucideSpade:$v,LucideSparkle:qv,LucideSparkles:oo,LucideSpeaker:Av,LucideSpeech:zv,LucideSpellCheck:Pv,LucideSpellCheck2:Vv,LucideSpline:Hv,LucideSplinePointer:Tv,LucideSplit:Dv,LucideSplitSquareHorizontal:Yo,LucideSplitSquareVertical:Jo,LucideSpool:Bv,LucideSpotlight:Rv,LucideSprayCan:Fv,LucideSprout:Ev,LucideSquare:e9,LucideSquareActivity:It,LucideSquareArrowDown:ro,LucideSquareArrowDownLeft:co,LucideSquareArrowDownRight:io,LucideSquareArrowLeft:so,LucideSquareArrowOutDownLeft:lo,LucideSquareArrowOutDownRight:ho,LucideSquareArrowOutUpLeft:uo,LucideSquareArrowOutUpRight:po,LucideSquareArrowRight:yo,LucideSquareArrowUp:fo,LucideSquareArrowUpLeft:ko,LucideSquareArrowUpRight:mo,LucideSquareAsterisk:go,LucideSquareBottomDashedScissors:vo,LucideSquareChartGantt:ot,LucideSquareCheck:_o,LucideSquareCheckBig:Mo,LucideSquareChevronDown:xo,LucideSquareChevronLeft:Lo,LucideSquareChevronRight:Io,LucideSquareChevronUp:bo,LucideSquareCode:wo,LucideSquareDashed:So,LucideSquareDashedBottom:Uv,LucideSquareDashedBottomCode:Ov,LucideSquareDashedKanban:Co,LucideSquareDashedMousePointer:No,LucideSquareDashedTopSolid:Wv,LucideSquareDivide:jo,LucideSquareDot:qo,LucideSquareEqual:$o,LucideSquareFunction:Ao,LucideSquareGanttChart:ot,LucideSquareKanban:zo,LucideSquareLibrary:Vo,LucideSquareM:Po,LucideSquareMenu:To,LucideSquareMinus:Ho,LucideSquareMousePointer:Bo,LucideSquareParking:Ro,LucideSquareParkingOff:Do,LucideSquarePause:Gv,LucideSquarePen:Pe,LucideSquarePercent:Fo,LucideSquarePi:Eo,LucideSquarePilcrow:Oo,LucideSquarePlay:Uo,LucideSquarePlus:Wo,LucideSquarePower:Go,LucideSquareRadical:Zv,LucideSquareRoundCorner:Kv,LucideSquareScissors:Zo,LucideSquareSigma:Ko,LucideSquareSlash:Xo,LucideSquareSplitHorizontal:Yo,LucideSquareSplitVertical:Jo,LucideSquareSquare:Xv,LucideSquareStack:Yv,LucideSquareStar:Jv,LucideSquareStop:Qv,LucideSquareTerminal:Qo,LucideSquareUser:tc,LucideSquareUserRound:ec,LucideSquareX:ac,LucideSquaresExclude:t9,LucideSquaresIntersect:a9,LucideSquaresSubtract:n9,LucideSquaresUnite:o9,LucideSquircle:i9,LucideSquircleDashed:c9,LucideSquirrel:r9,LucideStamp:s9,LucideStar:u9,LucideStarHalf:d9,LucideStarOff:l9,LucideStars:oo,LucideStepBack:h9,LucideStepForward:p9,LucideStethoscope:y9,LucideSticker:k9,LucideStickyNote:m9,LucideStopCircle:Da,LucideStore:f9,LucideStretchHorizontal:g9,LucideStretchVertical:v9,LucideStrikethrough:M9,LucideSubscript:_9,LucideSubtitles:Qt,LucideSun:C9,LucideSunDim:x9,LucideSunMedium:L9,LucideSunMoon:I9,LucideSunSnow:b9,LucideSunrise:w9,LucideSunset:N9,LucideSuperscript:S9,LucideSwatchBook:j9,LucideSwissFranc:$9,LucideSwitchCamera:q9,LucideSword:A9,LucideSwords:V9,LucideSyringe:z9,LucideTable:E9,LucideTable2:P9,LucideTableCellsMerge:T9,LucideTableCellsSplit:H9,LucideTableColumnsSplit:D9,LucideTableConfig:at,LucideTableOfContents:B9,LucideTableProperties:R9,LucideTableRowsSplit:F9,LucideTablet:U9,LucideTabletSmartphone:O9,LucideTablets:W9,LucideTag:G9,LucideTags:Z9,LucideTally1:K9,LucideTally2:X9,LucideTally3:Y9,LucideTally4:J9,LucideTally5:Q9,LucideTangent:eM,LucideTarget:tM,LucideTelescope:aM,LucideTent:oM,LucideTentTree:nM,LucideTerminal:cM,LucideTerminalSquare:Qo,LucideTestTube:iM,LucideTestTube2:nc,LucideTestTubeDiagonal:nc,LucideTestTubes:rM,LucideText:uM,LucideTextCursor:dM,LucideTextCursorInput:sM,LucideTextQuote:lM,LucideTextSearch:hM,LucideTextSelect:oc,LucideTextSelection:oc,LucideTheater:pM,LucideThermometer:fM,LucideThermometerSnowflake:yM,LucideThermometerSun:kM,LucideThumbsDown:mM,LucideThumbsUp:gM,LucideTicket:bM,LucideTicketCheck:vM,LucideTicketMinus:MM,LucideTicketPercent:_M,LucideTicketPlus:xM,LucideTicketSlash:LM,LucideTicketX:IM,LucideTickets:CM,LucideTicketsPlane:wM,LucideTimer:jM,LucideTimerOff:NM,LucideTimerReset:SM,LucideToggleLeft:$M,LucideToggleRight:qM,LucideToilet:AM,LucideToolCase:zM,LucideTornado:PM,LucideTorus:VM,LucideTouchpad:HM,LucideTouchpadOff:TM,LucideTowerControl:BM,LucideToyBrick:DM,LucideTractor:RM,LucideTrafficCone:FM,LucideTrain:cc,LucideTrainFront:OM,LucideTrainFrontTunnel:EM,LucideTrainTrack:UM,LucideTramFront:cc,LucideTransgender:WM,LucideTrash:GM,LucideTrash2:St,LucideTreeDeciduous:ZM,LucideTreePalm:ic,LucideTreePine:KM,LucideTrees:XM,LucideTrello:YM,LucideTrendingDown:JM,LucideTrendingUp:QM,LucideTrendingUpDown:e_,LucideTriangle:a_,LucideTriangleAlert:rc,LucideTriangleDashed:t_,LucideTriangleRight:n_,LucideTrophy:o_,LucideTruck:i_,LucideTruckElectric:c_,LucideTurkishLira:r_,LucideTurntable:s_,LucideTurtle:d_,LucideTv:h_,LucideTv2:sc,LucideTvMinimal:sc,LucideTvMinimalPlay:l_,LucideTwitch:u_,LucideTwitter:p_,LucideType:k_,LucideTypeOutline:y_,LucideUmbrella:f_,LucideUmbrellaOff:m_,LucideUnderline:g_,LucideUndo:__,LucideUndo2:v_,LucideUndoDot:M_,LucideUnfoldHorizontal:x_,LucideUnfoldVertical:L_,LucideUngroup:I_,LucideUniversity:dc,LucideUnlink:N_,LucideUnlink2:b_,LucideUnlock:jn,LucideUnlockKeyhole:Sn,LucideUnplug:w_,LucideUpload:C_,LucideUploadCloud:Ua,LucideUsb:S_,LucideUser:B_,LucideUser2:kc,LucideUserCheck:j_,LucideUserCheck2:lc,LucideUserCircle:Ra,LucideUserCircle2:Ba,LucideUserCog:$_,LucideUserCog2:hc,LucideUserLock:q_,LucideUserMinus:A_,LucideUserMinus2:uc,LucideUserPen:z_,LucideUserPlus:I1,LucideUserPlus2:pc,LucideUserRound:kc,LucideUserRoundCheck:lc,LucideUserRoundCog:hc,LucideUserRoundMinus:uc,LucideUserRoundPen:V_,LucideUserRoundPlus:pc,LucideUserRoundSearch:P_,LucideUserRoundX:yc,LucideUserSearch:T_,LucideUserSquare:tc,LucideUserSquare2:ec,LucideUserStar:H_,LucideUserX:D_,LucideUserX2:yc,LucideUsers:R_,LucideUsers2:mc,LucideUsersRound:mc,LucideUtensils:gc,LucideUtensilsCrossed:fc,LucideUtilityPole:F_,LucideVariable:E_,LucideVault:O_,LucideVectorSquare:U_,LucideVegan:W_,LucideVenetianMask:G_,LucideVenus:Y_,LucideVenusAndMars:Z_,LucideVerified:Gt,LucideVibrate:X_,LucideVibrateOff:K_,LucideVideo:Q_,LucideVideoOff:J_,LucideVideotape:ex,LucideView:ax,LucideVoicemail:tx,LucideVolleyball:nx,LucideVolume:dx,LucideVolume1:ox,LucideVolume2:cx,LucideVolumeOff:ix,LucideVolumeX:rx,LucideVote:sx,LucideWallet:hx,LucideWallet2:vc,LucideWalletCards:lx,LucideWalletMinimal:vc,LucideWallpaper:ux,LucideWand:px,LucideWand2:Mc,LucideWandSparkles:Mc,LucideWarehouse:yx,LucideWashingMachine:kx,LucideWatch:mx,LucideWaves:gx,LucideWavesLadder:fx,LucideWaypoints:vx,LucideWebcam:Mx,LucideWebhook:Lx,LucideWebhookOff:_x,LucideWeight:xx,LucideWheat:bx,LucideWheatOff:Ix,LucideWholeWord:wx,LucideWifi:zx,LucideWifiCog:Cx,LucideWifiHigh:Nx,LucideWifiLow:Sx,LucideWifiOff:jx,LucideWifiPen:$x,LucideWifiSync:qx,LucideWifiZero:Ax,LucideWind:Px,LucideWindArrowDown:Vx,LucideWine:Hx,LucideWineOff:Tx,LucideWorkflow:Dx,LucideWorm:Bx,LucideWrapText:Rx,LucideWrench:Fx,LucideX:Ze,LucideXCircle:_t,LucideXOctagon:Hn,LucideXSquare:ac,LucideYoutube:Ox,LucideZap:Ux,LucideZapOff:Ex,LucideZoomIn:Wx,LucideZoomOut:Gx,Luggage:L3,LuggageIcon:L3,MSquare:Po,MSquareIcon:Po,Magnet:I3,MagnetIcon:I3,Mail:$3,MailCheck:b3,MailCheckIcon:b3,MailIcon:$3,MailMinus:w3,MailMinusIcon:w3,MailOpen:C3,MailOpenIcon:C3,MailPlus:N3,MailPlusIcon:N3,MailQuestion:$n,MailQuestionIcon:$n,MailQuestionMark:$n,MailQuestionMarkIcon:$n,MailSearch:S3,MailSearchIcon:S3,MailWarning:j3,MailWarningIcon:j3,MailX:q3,MailXIcon:q3,Mailbox:A3,MailboxIcon:A3,Mails:z3,MailsIcon:z3,Map:K3,MapIcon:K3,MapMinus:V3,MapMinusIcon:V3,MapPin:W3,MapPinCheck:P3,MapPinCheckIcon:P3,MapPinCheckInside:T3,MapPinCheckInsideIcon:T3,MapPinHouse:H3,MapPinHouseIcon:H3,MapPinIcon:W3,MapPinMinus:B3,MapPinMinusIcon:B3,MapPinMinusInside:D3,MapPinMinusInsideIcon:D3,MapPinOff:R3,MapPinOffIcon:R3,MapPinPen:qn,MapPinPenIcon:qn,MapPinPlus:E3,MapPinPlusIcon:E3,MapPinPlusInside:F3,MapPinPlusInsideIcon:F3,MapPinX:U3,MapPinXIcon:U3,MapPinXInside:O3,MapPinXInsideIcon:O3,MapPinned:G3,MapPinnedIcon:G3,MapPlus:Z3,MapPlusIcon:Z3,Mars:Y3,MarsIcon:Y3,MarsStroke:X3,MarsStrokeIcon:X3,Martini:J3,MartiniIcon:J3,Maximize:tm,Maximize2:Q3,Maximize2Icon:Q3,MaximizeIcon:tm,Medal:em,MedalIcon:em,Megaphone:nm,MegaphoneIcon:nm,MegaphoneOff:am,MegaphoneOffIcon:am,Meh:om,MehIcon:om,MemoryStick:cm,MemoryStickIcon:cm,Menu:Wc,MenuIcon:Wc,MenuSquare:To,MenuSquareIcon:To,Merge:im,MergeIcon:im,MessageCircle:mm,MessageCircleCode:rm,MessageCircleCodeIcon:rm,MessageCircleDashed:sm,MessageCircleDashedIcon:sm,MessageCircleHeart:dm,MessageCircleHeartIcon:dm,MessageCircleIcon:mm,MessageCircleMore:lm,MessageCircleMoreIcon:lm,MessageCircleOff:hm,MessageCircleOffIcon:hm,MessageCirclePlus:um,MessageCirclePlusIcon:um,MessageCircleQuestion:An,MessageCircleQuestionIcon:An,MessageCircleQuestionMark:An,MessageCircleQuestionMarkIcon:An,MessageCircleReply:pm,MessageCircleReplyIcon:pm,MessageCircleWarning:ym,MessageCircleWarningIcon:ym,MessageCircleX:km,MessageCircleXIcon:km,MessageSquare:qm,MessageSquareCode:fm,MessageSquareCodeIcon:fm,MessageSquareDashed:gm,MessageSquareDashedIcon:gm,MessageSquareDiff:vm,MessageSquareDiffIcon:vm,MessageSquareDot:Mm,MessageSquareDotIcon:Mm,MessageSquareHeart:_m,MessageSquareHeartIcon:_m,MessageSquareIcon:qm,MessageSquareLock:xm,MessageSquareLockIcon:xm,MessageSquareMore:Lm,MessageSquareMoreIcon:Lm,MessageSquareOff:Im,MessageSquareOffIcon:Im,MessageSquarePlus:bm,MessageSquarePlusIcon:bm,MessageSquareQuote:wm,MessageSquareQuoteIcon:wm,MessageSquareReply:Cm,MessageSquareReplyIcon:Cm,MessageSquareShare:Nm,MessageSquareShareIcon:Nm,MessageSquareText:Sm,MessageSquareTextIcon:Sm,MessageSquareWarning:jm,MessageSquareWarningIcon:jm,MessageSquareX:$m,MessageSquareXIcon:$m,MessagesSquare:Am,MessagesSquareIcon:Am,Mic:Vm,Mic2:zn,Mic2Icon:zn,MicIcon:Vm,MicOff:zm,MicOffIcon:zm,MicVocal:zn,MicVocalIcon:zn,Microchip:Pm,MicrochipIcon:Pm,Microscope:Tm,MicroscopeIcon:Tm,Microwave:Hm,MicrowaveIcon:Hm,Milestone:Dm,MilestoneIcon:Dm,Milk:Rm,MilkIcon:Rm,MilkOff:Bm,MilkOffIcon:Bm,Minimize:Em,Minimize2:Fm,Minimize2Icon:Fm,MinimizeIcon:Em,Minus:Om,MinusCircle:ja,MinusCircleIcon:ja,MinusIcon:Om,MinusSquare:Ho,MinusSquareIcon:Ho,Monitor:n6,MonitorCheck:Um,MonitorCheckIcon:Um,MonitorCog:Wm,MonitorCogIcon:Wm,MonitorDot:Gm,MonitorDotIcon:Gm,MonitorDown:Zm,MonitorDownIcon:Zm,MonitorIcon:n6,MonitorOff:Km,MonitorOffIcon:Km,MonitorPause:Ym,MonitorPauseIcon:Ym,MonitorPlay:Xm,MonitorPlayIcon:Xm,MonitorSmartphone:Jm,MonitorSmartphoneIcon:Jm,MonitorSpeaker:Qm,MonitorSpeakerIcon:Qm,MonitorStop:e6,MonitorStopIcon:e6,MonitorUp:t6,MonitorUpIcon:t6,MonitorX:a6,MonitorXIcon:a6,Moon:c6,MoonIcon:c6,MoonStar:o6,MoonStarIcon:o6,MoreHorizontal:Qa,MoreHorizontalIcon:Qa,MoreVertical:Ja,MoreVerticalIcon:Ja,Mountain:r6,MountainIcon:r6,MountainSnow:i6,MountainSnowIcon:i6,Mouse:p6,MouseIcon:p6,MouseOff:s6,MouseOffIcon:s6,MousePointer:h6,MousePointer2:d6,MousePointer2Icon:d6,MousePointerBan:l6,MousePointerBanIcon:l6,MousePointerClick:u6,MousePointerClickIcon:u6,MousePointerIcon:h6,MousePointerSquareDashed:No,MousePointerSquareDashedIcon:No,Move:a.Move,Move3D:Vn,Move3DIcon:Vn,Move3d:Vn,Move3dIcon:Vn,MoveDiagonal:k6,MoveDiagonal2:y6,MoveDiagonal2Icon:y6,MoveDiagonalIcon:k6,MoveDown:v6,MoveDownIcon:v6,MoveDownLeft:m6,MoveDownLeftIcon:m6,MoveDownRight:f6,MoveDownRightIcon:f6,MoveHorizontal:g6,MoveHorizontalIcon:g6,MoveIcon:a.Move,MoveLeft:M6,MoveLeftIcon:M6,MoveRight:_6,MoveRightIcon:_6,MoveUp:I6,MoveUpIcon:I6,MoveUpLeft:x6,MoveUpLeftIcon:x6,MoveUpRight:L6,MoveUpRightIcon:L6,MoveVertical:b6,MoveVerticalIcon:b6,Music:S6,Music2:w6,Music2Icon:w6,Music3:C6,Music3Icon:C6,Music4:N6,Music4Icon:N6,MusicIcon:S6,Navigation:A6,Navigation2:$6,Navigation2Icon:$6,Navigation2Off:j6,Navigation2OffIcon:j6,NavigationIcon:A6,NavigationOff:q6,NavigationOffIcon:q6,Network:z6,NetworkIcon:z6,Newspaper:V6,NewspaperIcon:V6,Nfc:P6,NfcIcon:P6,NonBinary:T6,NonBinaryIcon:T6,Notebook:R6,NotebookIcon:R6,NotebookPen:H6,NotebookPenIcon:H6,NotebookTabs:D6,NotebookTabsIcon:D6,NotebookText:B6,NotebookTextIcon:B6,NotepadText:E6,NotepadTextDashed:F6,NotepadTextDashedIcon:F6,NotepadTextIcon:E6,Nut:U6,NutIcon:U6,NutOff:O6,NutOffIcon:O6,Octagon:G6,OctagonAlert:Pn,OctagonAlertIcon:Pn,OctagonIcon:G6,OctagonMinus:W6,OctagonMinusIcon:W6,OctagonPause:Tn,OctagonPauseIcon:Tn,OctagonX:Hn,OctagonXIcon:Hn,Omega:Z6,OmegaIcon:Z6,Option:K6,OptionIcon:K6,Orbit:X6,OrbitIcon:X6,Origami:Y6,OrigamiIcon:Y6,Outdent:In,OutdentIcon:In,Package:c8,Package2:J6,Package2Icon:J6,PackageCheck:Q6,PackageCheckIcon:Q6,PackageIcon:c8,PackageMinus:e8,PackageMinusIcon:e8,PackageOpen:t8,PackageOpenIcon:t8,PackagePlus:a8,PackagePlusIcon:a8,PackageSearch:n8,PackageSearchIcon:n8,PackageX:o8,PackageXIcon:o8,PaintBucket:i8,PaintBucketIcon:i8,PaintRoller:r8,PaintRollerIcon:r8,Paintbrush:s8,Paintbrush2:Dn,Paintbrush2Icon:Dn,PaintbrushIcon:s8,PaintbrushVertical:Dn,PaintbrushVerticalIcon:Dn,Palette:d8,PaletteIcon:d8,Palmtree:ic,PalmtreeIcon:ic,Panda:l8,PandaIcon:l8,PanelBottom:p8,PanelBottomClose:h8,PanelBottomCloseIcon:h8,PanelBottomDashed:Bn,PanelBottomDashedIcon:Bn,PanelBottomIcon:p8,PanelBottomInactive:Bn,PanelBottomInactiveIcon:Bn,PanelBottomOpen:u8,PanelBottomOpenIcon:u8,PanelLeft:On,PanelLeftClose:Rn,PanelLeftCloseIcon:Rn,PanelLeftDashed:Fn,PanelLeftDashedIcon:Fn,PanelLeftIcon:On,PanelLeftInactive:Fn,PanelLeftInactiveIcon:Fn,PanelLeftOpen:En,PanelLeftOpenIcon:En,PanelRight:m8,PanelRightClose:y8,PanelRightCloseIcon:y8,PanelRightDashed:Un,PanelRightDashedIcon:Un,PanelRightIcon:m8,PanelRightInactive:Un,PanelRightInactiveIcon:Un,PanelRightOpen:k8,PanelRightOpenIcon:k8,PanelTop:v8,PanelTopClose:f8,PanelTopCloseIcon:f8,PanelTopDashed:Wn,PanelTopDashedIcon:Wn,PanelTopIcon:v8,PanelTopInactive:Wn,PanelTopInactiveIcon:Wn,PanelTopOpen:g8,PanelTopOpenIcon:g8,PanelsLeftBottom:M8,PanelsLeftBottomIcon:M8,PanelsLeftRight:Za,PanelsLeftRightIcon:Za,PanelsRightBottom:_8,PanelsRightBottomIcon:_8,PanelsTopBottom:Jn,PanelsTopBottomIcon:Jn,PanelsTopLeft:Gn,PanelsTopLeftIcon:Gn,Paperclip:x8,PaperclipIcon:x8,Parentheses:L8,ParenthesesIcon:L8,ParkingCircle:Aa,ParkingCircleIcon:Aa,ParkingCircleOff:$a,ParkingCircleOffIcon:$a,ParkingMeter:I8,ParkingMeterIcon:I8,ParkingSquare:Ro,ParkingSquareIcon:Ro,ParkingSquareOff:Do,ParkingSquareOffIcon:Do,PartyPopper:b8,PartyPopperIcon:b8,Pause:w8,PauseCircle:qa,PauseCircleIcon:qa,PauseIcon:w8,PauseOctagon:Tn,PauseOctagonIcon:Tn,PawPrint:C8,PawPrintIcon:C8,PcCase:N8,PcCaseIcon:N8,Pen:lt,PenBox:Pe,PenBoxIcon:Pe,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:j8,PenOffIcon:j8,PenSquare:Pe,PenSquareIcon:Pe,PenTool:S8,PenToolIcon:S8,Pencil:x1,PencilIcon:x1,PencilLine:$8,PencilLineIcon:$8,PencilOff:q8,PencilOffIcon:q8,PencilRuler:A8,PencilRulerIcon:A8,Pentagon:z8,PentagonIcon:z8,Percent:V8,PercentCircle:za,PercentCircleIcon:za,PercentDiamond:Xa,PercentDiamondIcon:Xa,PercentIcon:V8,PercentSquare:Fo,PercentSquareIcon:Fo,PersonStanding:T8,PersonStandingIcon:T8,PhilippinePeso:P8,PhilippinePesoIcon:P8,Phone:E8,PhoneCall:H8,PhoneCallIcon:H8,PhoneForwarded:D8,PhoneForwardedIcon:D8,PhoneIcon:E8,PhoneIncoming:B8,PhoneIncomingIcon:B8,PhoneMissed:R8,PhoneMissedIcon:R8,PhoneOff:F8,PhoneOffIcon:F8,PhoneOutgoing:O8,PhoneOutgoingIcon:O8,Pi:U8,PiIcon:U8,PiSquare:Eo,PiSquareIcon:Eo,Piano:W8,PianoIcon:W8,Pickaxe:G8,PickaxeIcon:G8,PictureInPicture:K8,PictureInPicture2:Z8,PictureInPicture2Icon:Z8,PictureInPictureIcon:K8,PieChart:ha,PieChartIcon:ha,PiggyBank:X8,PiggyBankIcon:X8,Pilcrow:J8,PilcrowIcon:J8,PilcrowLeft:Y8,PilcrowLeftIcon:Y8,PilcrowRight:Q8,PilcrowRightIcon:Q8,PilcrowSquare:Oo,PilcrowSquareIcon:Oo,Pill:tf,PillBottle:ef,PillBottleIcon:ef,PillIcon:tf,Pin:nf,PinIcon:nf,PinOff:af,PinOffIcon:af,Pipette:of,PipetteIcon:of,Pizza:cf,PizzaIcon:cf,Plane:df,PlaneIcon:df,PlaneLanding:rf,PlaneLandingIcon:rf,PlaneTakeoff:sf,PlaneTakeoffIcon:sf,Play:lf,PlayCircle:Va,PlayCircleIcon:Va,PlayIcon:lf,PlaySquare:Uo,PlaySquareIcon:Uo,Plug:uf,Plug2:hf,Plug2Icon:hf,PlugIcon:uf,PlugZap:Zn,PlugZap2:Zn,PlugZap2Icon:Zn,PlugZapIcon:Zn,Plus:Gc,PlusCircle:Pa,PlusCircleIcon:Pa,PlusIcon:Gc,PlusSquare:Wo,PlusSquareIcon:Wo,Pocket:yf,PocketIcon:yf,PocketKnife:pf,PocketKnifeIcon:pf,Podcast:kf,PodcastIcon:kf,Pointer:ff,PointerIcon:ff,PointerOff:mf,PointerOffIcon:mf,Popcorn:vf,PopcornIcon:vf,Popsicle:gf,PopsicleIcon:gf,PoundSterling:Mf,PoundSterlingIcon:Mf,Power:xf,PowerCircle:Ta,PowerCircleIcon:Ta,PowerIcon:xf,PowerOff:_f,PowerOffIcon:_f,PowerSquare:Go,PowerSquareIcon:Go,Presentation:Lf,PresentationIcon:Lf,Printer:bf,PrinterCheck:If,PrinterCheckIcon:If,PrinterIcon:bf,Projector:wf,ProjectorIcon:wf,Proportions:Cf,ProportionsIcon:Cf,Puzzle:Sf,PuzzleIcon:Sf,Pyramid:Nf,PyramidIcon:Nf,QrCode:jf,QrCodeIcon:jf,Quote:$f,QuoteIcon:$f,Rabbit:qf,RabbitIcon:qf,Radar:Af,RadarIcon:Af,Radiation:zf,RadiationIcon:zf,Radical:Vf,RadicalIcon:Vf,Radio:Hf,RadioIcon:Hf,RadioReceiver:Pf,RadioReceiverIcon:Pf,RadioTower:Tf,RadioTowerIcon:Tf,Radius:Df,RadiusIcon:Df,RailSymbol:Bf,RailSymbolIcon:Bf,Rainbow:Rf,RainbowIcon:Rf,Rat:Ff,RatIcon:Ff,Ratio:Ef,RatioIcon:Ef,Receipt:Qf,ReceiptCent:Of,ReceiptCentIcon:Of,ReceiptEuro:Wf,ReceiptEuroIcon:Wf,ReceiptIcon:Qf,ReceiptIndianRupee:Uf,ReceiptIndianRupeeIcon:Uf,ReceiptJapaneseYen:Gf,ReceiptJapaneseYenIcon:Gf,ReceiptPoundSterling:Zf,ReceiptPoundSterlingIcon:Zf,ReceiptRussianRuble:Kf,ReceiptRussianRubleIcon:Kf,ReceiptSwissFranc:Xf,ReceiptSwissFrancIcon:Xf,ReceiptText:Yf,ReceiptTextIcon:Yf,ReceiptTurkishLira:Jf,ReceiptTurkishLiraIcon:Jf,RectangleCircle:e7,RectangleCircleIcon:e7,RectangleEllipsis:Kn,RectangleEllipsisIcon:Kn,RectangleGoggles:t7,RectangleGogglesIcon:t7,RectangleHorizontal:a7,RectangleHorizontalIcon:a7,RectangleVertical:n7,RectangleVerticalIcon:n7,Recycle:o7,RecycleIcon:o7,Redo:r7,Redo2:c7,Redo2Icon:c7,RedoDot:i7,RedoDotIcon:i7,RedoIcon:r7,RefreshCcw:d7,RefreshCcwDot:s7,RefreshCcwDotIcon:s7,RefreshCcwIcon:d7,RefreshCw:h7,RefreshCwIcon:h7,RefreshCwOff:l7,RefreshCwOffIcon:l7,Refrigerator:u7,RefrigeratorIcon:u7,Regex:p7,RegexIcon:p7,RemoveFormatting:y7,RemoveFormattingIcon:y7,Repeat:f7,Repeat1:k7,Repeat1Icon:k7,Repeat2:m7,Repeat2Icon:m7,RepeatIcon:f7,Replace:v7,ReplaceAll:g7,ReplaceAllIcon:g7,ReplaceIcon:v7,Reply:x7,ReplyAll:M7,ReplyAllIcon:M7,ReplyIcon:x7,Rewind:_7,RewindIcon:_7,Ribbon:L7,RibbonIcon:L7,Rocket:I7,RocketIcon:I7,RockingChair:C7,RockingChairIcon:C7,RollerCoaster:b7,RollerCoasterIcon:b7,Rose:w7,RoseIcon:w7,Rotate3D:Xn,Rotate3DIcon:Xn,Rotate3d:Xn,Rotate3dIcon:Xn,RotateCcw:j7,RotateCcwIcon:j7,RotateCcwKey:N7,RotateCcwKeyIcon:N7,RotateCcwSquare:S7,RotateCcwSquareIcon:S7,RotateCw:q7,RotateCwIcon:q7,RotateCwSquare:$7,RotateCwSquareIcon:$7,Route:z7,RouteIcon:z7,RouteOff:A7,RouteOffIcon:A7,Router:V7,RouterIcon:V7,Rows:Yn,Rows2:Yn,Rows2Icon:Yn,Rows3:Jn,Rows3Icon:Jn,Rows4:P7,Rows4Icon:P7,RowsIcon:Yn,Rss:T7,RssIcon:T7,Ruler:D7,RulerDimensionLine:H7,RulerDimensionLineIcon:H7,RulerIcon:D7,RussianRuble:B7,RussianRubleIcon:B7,Sailboat:R7,SailboatIcon:R7,Salad:F7,SaladIcon:F7,Sandwich:E7,SandwichIcon:E7,Satellite:U7,SatelliteDish:O7,SatelliteDishIcon:O7,SatelliteIcon:U7,SaudiRiyal:W7,SaudiRiyalIcon:W7,Save:X7,SaveAll:G7,SaveAllIcon:G7,SaveIcon:X7,SaveOff:Z7,SaveOffIcon:Z7,Scale:K7,Scale3D:Qn,Scale3DIcon:Qn,Scale3d:Qn,Scale3dIcon:Qn,ScaleIcon:K7,Scaling:Y7,ScalingIcon:Y7,Scan:ig,ScanBarcode:J7,ScanBarcodeIcon:J7,ScanEye:Q7,ScanEyeIcon:Q7,ScanFace:eg,ScanFaceIcon:eg,ScanHeart:tg,ScanHeartIcon:tg,ScanIcon:ig,ScanLine:ag,ScanLineIcon:ag,ScanQrCode:ng,ScanQrCodeIcon:ng,ScanSearch:og,ScanSearchIcon:og,ScanText:cg,ScanTextIcon:cg,ScatterChart:ua,ScatterChartIcon:ua,School:rg,School2:dc,School2Icon:dc,SchoolIcon:rg,Scissors:dg,ScissorsIcon:dg,ScissorsLineDashed:sg,ScissorsLineDashedIcon:sg,ScissorsSquare:Zo,ScissorsSquareDashedBottom:vo,ScissorsSquareDashedBottomIcon:vo,ScissorsSquareIcon:Zo,ScreenShare:lg,ScreenShareIcon:lg,ScreenShareOff:hg,ScreenShareOffIcon:hg,Scroll:pg,ScrollIcon:pg,ScrollText:ug,ScrollTextIcon:ug,Search:L1,SearchCheck:yg,SearchCheckIcon:yg,SearchCode:kg,SearchCodeIcon:kg,SearchIcon:L1,SearchSlash:mg,SearchSlashIcon:mg,SearchX:fg,SearchXIcon:fg,Section:gg,SectionIcon:gg,Send:Mg,SendHorizonal:eo,SendHorizonalIcon:eo,SendHorizontal:eo,SendHorizontalIcon:eo,SendIcon:Mg,SendToBack:vg,SendToBackIcon:vg,SeparatorHorizontal:_g,SeparatorHorizontalIcon:_g,SeparatorVertical:xg,SeparatorVerticalIcon:xg,Server:wg,ServerCog:Lg,ServerCogIcon:Lg,ServerCrash:bg,ServerCrashIcon:bg,ServerIcon:wg,ServerOff:Ig,ServerOffIcon:Ig,Settings:Ng,Settings2:Cg,Settings2Icon:Cg,SettingsIcon:Ng,Shapes:Sg,ShapesIcon:Sg,Share:$g,Share2:jg,Share2Icon:jg,ShareIcon:$g,Sheet:qg,SheetIcon:qg,Shell:Ag,ShellIcon:Ag,Shield:Eg,ShieldAlert:zg,ShieldAlertIcon:zg,ShieldBan:Vg,ShieldBanIcon:Vg,ShieldCheck:Pg,ShieldCheckIcon:Pg,ShieldClose:ao,ShieldCloseIcon:ao,ShieldEllipsis:Tg,ShieldEllipsisIcon:Tg,ShieldHalf:Hg,ShieldHalfIcon:Hg,ShieldIcon:Eg,ShieldMinus:Bg,ShieldMinusIcon:Bg,ShieldOff:Dg,ShieldOffIcon:Dg,ShieldPlus:Rg,ShieldPlusIcon:Rg,ShieldQuestion:to,ShieldQuestionIcon:to,ShieldQuestionMark:to,ShieldQuestionMarkIcon:to,ShieldUser:Fg,ShieldUserIcon:Fg,ShieldX:ao,ShieldXIcon:ao,Ship:Ug,ShipIcon:Ug,ShipWheel:Og,ShipWheelIcon:Og,Shirt:Wg,ShirtIcon:Wg,ShoppingBag:Gg,ShoppingBagIcon:Gg,ShoppingBasket:Zg,ShoppingBasketIcon:Zg,ShoppingCart:Kg,ShoppingCartIcon:Kg,Shovel:Xg,ShovelIcon:Xg,ShowerHead:Yg,ShowerHeadIcon:Yg,Shredder:Jg,ShredderIcon:Jg,Shrimp:Qg,ShrimpIcon:Qg,Shrink:ev,ShrinkIcon:ev,Shrub:tv,ShrubIcon:tv,Shuffle:nv,ShuffleIcon:nv,Sidebar:On,SidebarClose:Rn,SidebarCloseIcon:Rn,SidebarIcon:On,SidebarOpen:En,SidebarOpenIcon:En,Sigma:av,SigmaIcon:av,SigmaSquare:Ko,SigmaSquareIcon:Ko,Signal:sv,SignalHigh:ov,SignalHighIcon:ov,SignalIcon:sv,SignalLow:cv,SignalLowIcon:cv,SignalMedium:iv,SignalMediumIcon:iv,SignalZero:rv,SignalZeroIcon:rv,Signature:dv,SignatureIcon:dv,Signpost:hv,SignpostBig:lv,SignpostBigIcon:lv,SignpostIcon:hv,Siren:uv,SirenIcon:uv,SkipBack:pv,SkipBackIcon:pv,SkipForward:yv,SkipForwardIcon:yv,Skull:kv,SkullIcon:kv,Slack:mv,SlackIcon:mv,Slash:fv,SlashIcon:fv,SlashSquare:Xo,SlashSquareIcon:Xo,Slice:gv,SliceIcon:gv,Sliders:no,SlidersHorizontal:vv,SlidersHorizontalIcon:vv,SlidersIcon:no,SlidersVertical:no,SlidersVerticalIcon:no,Smartphone:xv,SmartphoneCharging:Mv,SmartphoneChargingIcon:Mv,SmartphoneIcon:xv,SmartphoneNfc:_v,SmartphoneNfcIcon:_v,Smile:Iv,SmileIcon:Iv,SmilePlus:Lv,SmilePlusIcon:Lv,Snail:bv,SnailIcon:bv,Snowflake:wv,SnowflakeIcon:wv,SoapDispenserDroplet:Cv,SoapDispenserDropletIcon:Cv,Sofa:Nv,SofaIcon:Nv,SortAsc:Ot,SortAscIcon:Ot,SortDesc:Rt,SortDescIcon:Rt,Soup:Sv,SoupIcon:Sv,Space:jv,SpaceIcon:jv,Spade:$v,SpadeIcon:$v,Sparkle:qv,SparkleIcon:qv,Sparkles:oo,SparklesIcon:oo,Speaker:Av,SpeakerIcon:Av,Speech:zv,SpeechIcon:zv,SpellCheck:Pv,SpellCheck2:Vv,SpellCheck2Icon:Vv,SpellCheckIcon:Pv,Spline:Hv,SplineIcon:Hv,SplinePointer:Tv,SplinePointerIcon:Tv,Split:Dv,SplitIcon:Dv,SplitSquareHorizontal:Yo,SplitSquareHorizontalIcon:Yo,SplitSquareVertical:Jo,SplitSquareVerticalIcon:Jo,Spool:Bv,SpoolIcon:Bv,Spotlight:Rv,SpotlightIcon:Rv,SprayCan:Fv,SprayCanIcon:Fv,Sprout:Ev,SproutIcon:Ev,Square:e9,SquareActivity:It,SquareActivityIcon:It,SquareArrowDown:ro,SquareArrowDownIcon:ro,SquareArrowDownLeft:co,SquareArrowDownLeftIcon:co,SquareArrowDownRight:io,SquareArrowDownRightIcon:io,SquareArrowLeft:so,SquareArrowLeftIcon:so,SquareArrowOutDownLeft:lo,SquareArrowOutDownLeftIcon:lo,SquareArrowOutDownRight:ho,SquareArrowOutDownRightIcon:ho,SquareArrowOutUpLeft:uo,SquareArrowOutUpLeftIcon:uo,SquareArrowOutUpRight:po,SquareArrowOutUpRightIcon:po,SquareArrowRight:yo,SquareArrowRightIcon:yo,SquareArrowUp:fo,SquareArrowUpIcon:fo,SquareArrowUpLeft:ko,SquareArrowUpLeftIcon:ko,SquareArrowUpRight:mo,SquareArrowUpRightIcon:mo,SquareAsterisk:go,SquareAsteriskIcon:go,SquareBottomDashedScissors:vo,SquareBottomDashedScissorsIcon:vo,SquareChartGantt:ot,SquareChartGanttIcon:ot,SquareCheck:_o,SquareCheckBig:Mo,SquareCheckBigIcon:Mo,SquareCheckIcon:_o,SquareChevronDown:xo,SquareChevronDownIcon:xo,SquareChevronLeft:Lo,SquareChevronLeftIcon:Lo,SquareChevronRight:Io,SquareChevronRightIcon:Io,SquareChevronUp:bo,SquareChevronUpIcon:bo,SquareCode:wo,SquareCodeIcon:wo,SquareDashed:So,SquareDashedBottom:Uv,SquareDashedBottomCode:Ov,SquareDashedBottomCodeIcon:Ov,SquareDashedBottomIcon:Uv,SquareDashedIcon:So,SquareDashedKanban:Co,SquareDashedKanbanIcon:Co,SquareDashedMousePointer:No,SquareDashedMousePointerIcon:No,SquareDashedTopSolid:Wv,SquareDashedTopSolidIcon:Wv,SquareDivide:jo,SquareDivideIcon:jo,SquareDot:qo,SquareDotIcon:qo,SquareEqual:$o,SquareEqualIcon:$o,SquareFunction:Ao,SquareFunctionIcon:Ao,SquareGanttChart:ot,SquareGanttChartIcon:ot,SquareIcon:e9,SquareKanban:zo,SquareKanbanIcon:zo,SquareLibrary:Vo,SquareLibraryIcon:Vo,SquareM:Po,SquareMIcon:Po,SquareMenu:To,SquareMenuIcon:To,SquareMinus:Ho,SquareMinusIcon:Ho,SquareMousePointer:Bo,SquareMousePointerIcon:Bo,SquareParking:Ro,SquareParkingIcon:Ro,SquareParkingOff:Do,SquareParkingOffIcon:Do,SquarePause:Gv,SquarePauseIcon:Gv,SquarePen:Pe,SquarePenIcon:Pe,SquarePercent:Fo,SquarePercentIcon:Fo,SquarePi:Eo,SquarePiIcon:Eo,SquarePilcrow:Oo,SquarePilcrowIcon:Oo,SquarePlay:Uo,SquarePlayIcon:Uo,SquarePlus:Wo,SquarePlusIcon:Wo,SquarePower:Go,SquarePowerIcon:Go,SquareRadical:Zv,SquareRadicalIcon:Zv,SquareRoundCorner:Kv,SquareRoundCornerIcon:Kv,SquareScissors:Zo,SquareScissorsIcon:Zo,SquareSigma:Ko,SquareSigmaIcon:Ko,SquareSlash:Xo,SquareSlashIcon:Xo,SquareSplitHorizontal:Yo,SquareSplitHorizontalIcon:Yo,SquareSplitVertical:Jo,SquareSplitVerticalIcon:Jo,SquareSquare:Xv,SquareSquareIcon:Xv,SquareStack:Yv,SquareStackIcon:Yv,SquareStar:Jv,SquareStarIcon:Jv,SquareStop:Qv,SquareStopIcon:Qv,SquareTerminal:Qo,SquareTerminalIcon:Qo,SquareUser:tc,SquareUserIcon:tc,SquareUserRound:ec,SquareUserRoundIcon:ec,SquareX:ac,SquareXIcon:ac,SquaresExclude:t9,SquaresExcludeIcon:t9,SquaresIntersect:a9,SquaresIntersectIcon:a9,SquaresSubtract:n9,SquaresSubtractIcon:n9,SquaresUnite:o9,SquaresUniteIcon:o9,Squircle:i9,SquircleDashed:c9,SquircleDashedIcon:c9,SquircleIcon:i9,Squirrel:r9,SquirrelIcon:r9,Stamp:s9,StampIcon:s9,Star:u9,StarHalf:d9,StarHalfIcon:d9,StarIcon:u9,StarOff:l9,StarOffIcon:l9,Stars:oo,StarsIcon:oo,StepBack:h9,StepBackIcon:h9,StepForward:p9,StepForwardIcon:p9,Stethoscope:y9,StethoscopeIcon:y9,Sticker:k9,StickerIcon:k9,StickyNote:m9,StickyNoteIcon:m9,StopCircle:Da,StopCircleIcon:Da,Store:f9,StoreIcon:f9,StretchHorizontal:g9,StretchHorizontalIcon:g9,StretchVertical:v9,StretchVerticalIcon:v9,Strikethrough:M9,StrikethroughIcon:M9,Subscript:_9,SubscriptIcon:_9,Subtitles:Qt,SubtitlesIcon:Qt,Sun:C9,SunDim:x9,SunDimIcon:x9,SunIcon:C9,SunMedium:L9,SunMediumIcon:L9,SunMoon:I9,SunMoonIcon:I9,SunSnow:b9,SunSnowIcon:b9,Sunrise:w9,SunriseIcon:w9,Sunset:N9,SunsetIcon:N9,Superscript:S9,SuperscriptIcon:S9,SwatchBook:j9,SwatchBookIcon:j9,SwissFranc:$9,SwissFrancIcon:$9,SwitchCamera:q9,SwitchCameraIcon:q9,Sword:A9,SwordIcon:A9,Swords:V9,SwordsIcon:V9,Syringe:z9,SyringeIcon:z9,Table:E9,Table2:P9,Table2Icon:P9,TableCellsMerge:T9,TableCellsMergeIcon:T9,TableCellsSplit:H9,TableCellsSplitIcon:H9,TableColumnsSplit:D9,TableColumnsSplitIcon:D9,TableConfig:at,TableConfigIcon:at,TableIcon:E9,TableOfContents:B9,TableOfContentsIcon:B9,TableProperties:R9,TablePropertiesIcon:R9,TableRowsSplit:F9,TableRowsSplitIcon:F9,Tablet:U9,TabletIcon:U9,TabletSmartphone:O9,TabletSmartphoneIcon:O9,Tablets:W9,TabletsIcon:W9,Tag:G9,TagIcon:G9,Tags:Z9,TagsIcon:Z9,Tally1:K9,Tally1Icon:K9,Tally2:X9,Tally2Icon:X9,Tally3:Y9,Tally3Icon:Y9,Tally4:J9,Tally4Icon:J9,Tally5:Q9,Tally5Icon:Q9,Tangent:eM,TangentIcon:eM,Target:tM,TargetIcon:tM,Telescope:aM,TelescopeIcon:aM,Tent:oM,TentIcon:oM,TentTree:nM,TentTreeIcon:nM,Terminal:cM,TerminalIcon:cM,TerminalSquare:Qo,TerminalSquareIcon:Qo,TestTube:iM,TestTube2:nc,TestTube2Icon:nc,TestTubeDiagonal:nc,TestTubeDiagonalIcon:nc,TestTubeIcon:iM,TestTubes:rM,TestTubesIcon:rM,Text:uM,TextCursor:dM,TextCursorIcon:dM,TextCursorInput:sM,TextCursorInputIcon:sM,TextIcon:uM,TextQuote:lM,TextQuoteIcon:lM,TextSearch:hM,TextSearchIcon:hM,TextSelect:oc,TextSelectIcon:oc,TextSelection:oc,TextSelectionIcon:oc,Theater:pM,TheaterIcon:pM,Thermometer:fM,ThermometerIcon:fM,ThermometerSnowflake:yM,ThermometerSnowflakeIcon:yM,ThermometerSun:kM,ThermometerSunIcon:kM,ThumbsDown:mM,ThumbsDownIcon:mM,ThumbsUp:gM,ThumbsUpIcon:gM,Ticket:bM,TicketCheck:vM,TicketCheckIcon:vM,TicketIcon:bM,TicketMinus:MM,TicketMinusIcon:MM,TicketPercent:_M,TicketPercentIcon:_M,TicketPlus:xM,TicketPlusIcon:xM,TicketSlash:LM,TicketSlashIcon:LM,TicketX:IM,TicketXIcon:IM,Tickets:CM,TicketsIcon:CM,TicketsPlane:wM,TicketsPlaneIcon:wM,Timer:jM,TimerIcon:jM,TimerOff:NM,TimerOffIcon:NM,TimerReset:SM,TimerResetIcon:SM,ToggleLeft:$M,ToggleLeftIcon:$M,ToggleRight:qM,ToggleRightIcon:qM,Toilet:AM,ToiletIcon:AM,ToolCase:zM,ToolCaseIcon:zM,Tornado:PM,TornadoIcon:PM,Torus:VM,TorusIcon:VM,Touchpad:HM,TouchpadIcon:HM,TouchpadOff:TM,TouchpadOffIcon:TM,TowerControl:BM,TowerControlIcon:BM,ToyBrick:DM,ToyBrickIcon:DM,Tractor:RM,TractorIcon:RM,TrafficCone:FM,TrafficConeIcon:FM,Train:cc,TrainFront:OM,TrainFrontIcon:OM,TrainFrontTunnel:EM,TrainFrontTunnelIcon:EM,TrainIcon:cc,TrainTrack:UM,TrainTrackIcon:UM,TramFront:cc,TramFrontIcon:cc,Transgender:WM,TransgenderIcon:WM,Trash:GM,Trash2:St,Trash2Icon:St,TrashIcon:GM,TreeDeciduous:ZM,TreeDeciduousIcon:ZM,TreePalm:ic,TreePalmIcon:ic,TreePine:KM,TreePineIcon:KM,Trees:XM,TreesIcon:XM,Trello:YM,TrelloIcon:YM,TrendingDown:JM,TrendingDownIcon:JM,TrendingUp:QM,TrendingUpDown:e_,TrendingUpDownIcon:e_,TrendingUpIcon:QM,Triangle:a_,TriangleAlert:rc,TriangleAlertIcon:rc,TriangleDashed:t_,TriangleDashedIcon:t_,TriangleIcon:a_,TriangleRight:n_,TriangleRightIcon:n_,Trophy:o_,TrophyIcon:o_,Truck:i_,TruckElectric:c_,TruckElectricIcon:c_,TruckIcon:i_,TurkishLira:r_,TurkishLiraIcon:r_,Turntable:s_,TurntableIcon:s_,Turtle:d_,TurtleIcon:d_,Tv:h_,Tv2:sc,Tv2Icon:sc,TvIcon:h_,TvMinimal:sc,TvMinimalIcon:sc,TvMinimalPlay:l_,TvMinimalPlayIcon:l_,Twitch:u_,TwitchIcon:u_,Twitter:p_,TwitterIcon:p_,Type:k_,TypeIcon:k_,TypeOutline:y_,TypeOutlineIcon:y_,Umbrella:f_,UmbrellaIcon:f_,UmbrellaOff:m_,UmbrellaOffIcon:m_,Underline:g_,UnderlineIcon:g_,Undo:__,Undo2:v_,Undo2Icon:v_,UndoDot:M_,UndoDotIcon:M_,UndoIcon:__,UnfoldHorizontal:x_,UnfoldHorizontalIcon:x_,UnfoldVertical:L_,UnfoldVerticalIcon:L_,Ungroup:I_,UngroupIcon:I_,University:dc,UniversityIcon:dc,Unlink:N_,Unlink2:b_,Unlink2Icon:b_,UnlinkIcon:N_,Unlock:jn,UnlockIcon:jn,UnlockKeyhole:Sn,UnlockKeyholeIcon:Sn,Unplug:w_,UnplugIcon:w_,Upload:C_,UploadCloud:Ua,UploadCloudIcon:Ua,UploadIcon:C_,Usb:S_,UsbIcon:S_,User:B_,User2:kc,User2Icon:kc,UserCheck:j_,UserCheck2:lc,UserCheck2Icon:lc,UserCheckIcon:j_,UserCircle:Ra,UserCircle2:Ba,UserCircle2Icon:Ba,UserCircleIcon:Ra,UserCog:$_,UserCog2:hc,UserCog2Icon:hc,UserCogIcon:$_,UserIcon:B_,UserLock:q_,UserLockIcon:q_,UserMinus:A_,UserMinus2:uc,UserMinus2Icon:uc,UserMinusIcon:A_,UserPen:z_,UserPenIcon:z_,UserPlus:I1,UserPlus2:pc,UserPlus2Icon:pc,UserPlusIcon:I1,UserRound:kc,UserRoundCheck:lc,UserRoundCheckIcon:lc,UserRoundCog:hc,UserRoundCogIcon:hc,UserRoundIcon:kc,UserRoundMinus:uc,UserRoundMinusIcon:uc,UserRoundPen:V_,UserRoundPenIcon:V_,UserRoundPlus:pc,UserRoundPlusIcon:pc,UserRoundSearch:P_,UserRoundSearchIcon:P_,UserRoundX:yc,UserRoundXIcon:yc,UserSearch:T_,UserSearchIcon:T_,UserSquare:tc,UserSquare2:ec,UserSquare2Icon:ec,UserSquareIcon:tc,UserStar:H_,UserStarIcon:H_,UserX:D_,UserX2:yc,UserX2Icon:yc,UserXIcon:D_,Users:R_,Users2:mc,Users2Icon:mc,UsersIcon:R_,UsersRound:mc,UsersRoundIcon:mc,Utensils:gc,UtensilsCrossed:fc,UtensilsCrossedIcon:fc,UtensilsIcon:gc,UtilityPole:F_,UtilityPoleIcon:F_,Variable:E_,VariableIcon:E_,Vault:O_,VaultIcon:O_,VectorSquare:U_,VectorSquareIcon:U_,Vegan:W_,VeganIcon:W_,VenetianMask:G_,VenetianMaskIcon:G_,Venus:Y_,VenusAndMars:Z_,VenusAndMarsIcon:Z_,VenusIcon:Y_,Verified:Gt,VerifiedIcon:Gt,Vibrate:X_,VibrateIcon:X_,VibrateOff:K_,VibrateOffIcon:K_,Video:Q_,VideoIcon:Q_,VideoOff:J_,VideoOffIcon:J_,Videotape:ex,VideotapeIcon:ex,View:ax,ViewIcon:ax,Voicemail:tx,VoicemailIcon:tx,Volleyball:nx,VolleyballIcon:nx,Volume:dx,Volume1:ox,Volume1Icon:ox,Volume2:cx,Volume2Icon:cx,VolumeIcon:dx,VolumeOff:ix,VolumeOffIcon:ix,VolumeX:rx,VolumeXIcon:rx,Vote:sx,VoteIcon:sx,Wallet:hx,Wallet2:vc,Wallet2Icon:vc,WalletCards:lx,WalletCardsIcon:lx,WalletIcon:hx,WalletMinimal:vc,WalletMinimalIcon:vc,Wallpaper:ux,WallpaperIcon:ux,Wand:px,Wand2:Mc,Wand2Icon:Mc,WandIcon:px,WandSparkles:Mc,WandSparklesIcon:Mc,Warehouse:yx,WarehouseIcon:yx,WashingMachine:kx,WashingMachineIcon:kx,Watch:mx,WatchIcon:mx,Waves:gx,WavesIcon:gx,WavesLadder:fx,WavesLadderIcon:fx,Waypoints:vx,WaypointsIcon:vx,Webcam:Mx,WebcamIcon:Mx,Webhook:Lx,WebhookIcon:Lx,WebhookOff:_x,WebhookOffIcon:_x,Weight:xx,WeightIcon:xx,Wheat:bx,WheatIcon:bx,WheatOff:Ix,WheatOffIcon:Ix,WholeWord:wx,WholeWordIcon:wx,Wifi:zx,WifiCog:Cx,WifiCogIcon:Cx,WifiHigh:Nx,WifiHighIcon:Nx,WifiIcon:zx,WifiLow:Sx,WifiLowIcon:Sx,WifiOff:jx,WifiOffIcon:jx,WifiPen:$x,WifiPenIcon:$x,WifiSync:qx,WifiSyncIcon:qx,WifiZero:Ax,WifiZeroIcon:Ax,Wind:Px,WindArrowDown:Vx,WindArrowDownIcon:Vx,WindIcon:Px,Wine:Hx,WineIcon:Hx,WineOff:Tx,WineOffIcon:Tx,Workflow:Dx,WorkflowIcon:Dx,Worm:Bx,WormIcon:Bx,WrapText:Rx,WrapTextIcon:Rx,Wrench:Fx,WrenchIcon:Fx,X:Ze,XCircle:_t,XCircleIcon:_t,XIcon:Ze,XOctagon:Hn,XOctagonIcon:Hn,XSquare:ac,XSquareIcon:ac,Youtube:Ox,YoutubeIcon:Ox,Zap:Ux,ZapIcon:Ux,ZapOff:Ex,ZapOffIcon:Ex,ZoomIn:Wx,ZoomInIcon:Wx,ZoomOut:Gx,ZoomOutIcon:Gx,createLucideIcon:a.createLucideIcon,icons:Qse},Symbol.toStringTag,{value:"Module"})),e2e=({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,M=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(qb,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(lj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(qb,{...M})})]})]}),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}})})]})},hj=k.createContext(void 0),it=()=>{const e=k.useContext(hj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},t2e=({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,M)=>{p(f=>({...f,[m]:M}))};return c.jsx(hj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},uj=({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:M}=it();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?ht[t]:null,v=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 ${v}`,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||M===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(H){console.error("select onChange error",H)}},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))]})]})},pj=({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:M,onSwap:f,draggable:v=!1,displayNone:_=!1})=>{const[g,L]=k.useState([]);k.useEffect(()=>{const I=$=>{const P=[];return k.Children.forEach($,H=>{Array.isArray(H)?P.push(...I(H)):k.isValidElement(H)&&P.push(H)}),P},j=I(e).filter($=>k.isValidElement($)).map($=>{let P="";const H=$.props;return P=[H.xs?`grid-xs-${H.xs}`:"",H.sm?`grid-sm-${H.sm}`:"",H.md?`grid-md-${H.md}`:"",H.lg?`grid-lg-${H.lg}`:"",H.xl?`grid-xl-${H.xl}`:"",H.className?H.className:""].join(" ").trim(),{node:$,classes:P}});let q=j;M&&M.length>0&&(q=j.map(($,P)=>({...$,node:j[M[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,H=-1;if($.forEach((N,A)=>{if(k.isValidElement(N.node)){const R=N.node.props;R.uniqueKey===S&&(P=A),R.uniqueKey===j&&(H=A)}}),P===-1||H===-1)return;const z=$[H].node;$[H]={...$[H],node:$[P].node},$[P]={...$[P],node:z},L($),typeof f=="function"&&f(H,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"?v?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})};pj.displayName="Grid";const dL=({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"})},Ab=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=it(),h=()=>{l(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,...d,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,role:o?"button":"presentation",tabIndex:o?0:-1,...d,children:t})},yj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=it(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),M=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=>{M.current&&!M.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)},v=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:[v.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:M,className:`navbar-dropdown ${_}`,children:e.map(g=>c.jsx(Ab,{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(Ab,{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))})})},kj=k.createContext(void 0),a2e=({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(kj.Provider,{value:{themeName:n,setTheme:i},children:e})},mj=()=>{const e=k.useContext(kj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},lL=()=>{const{themeName:e,setTheme:t}=mj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},T1=({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=y=>{(y.key==="Enter"||y.key===" ")&&(y.preventDefault(),h())},p=l?.mode==="guide"?l.description:l?.mode==="key"?l.key:void 0;return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,title:p,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})]})]})},zb=({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})=>{const{currentTheme:s,switchTheme:d}=lL(),[l,h]=k.useState(!1);if(k.useEffect(()=>{h(!0)},[]),!l)return null;const u=s===t,p=y=>{d(y?t:e)};return c.jsx(T1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},n2e=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"})),Yw=k.memo(n2e),fj=k.createContext(void 0),o2e=({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(fj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},gj=()=>{const e=k.useContext(fj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Qx=({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}=gj(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(T1,{leftIcon:e||c.jsx(Yw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Yw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:o,a11yConfig:i})},c2e=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"})),Jw=k.memo(c2e),vj=k.createContext(void 0),i2e=({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(vj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},Mj=()=>{const e=k.useContext(vj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},eL=({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}=Mj(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return c.jsx(T1,{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})},_j=k.createContext(void 0),r2e=({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(_j.Provider,{value:{showData:t,switchShowData:o},children:e})},xj=()=>{const e=k.useContext(_j);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},s2e=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"})),Qw=k.memo(s2e),tL=({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}=xj(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?c.jsx(T1,{checked:o,onToggle:d=>i(d),size:e,leftIcon:c.jsx(Qw,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Qw,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},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:"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"})),Lj=k.memo(d2e);function Vb({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,M)=>{u(f=>f.map(v=>v.component_key===m&&M>3?{...v,visible:!v.visible}:v))},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(Lj,{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,M)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:m.visible,disabled:M<4,onChange:()=>p(m.component_key,M),style:{marginRight:8}}),c.jsx("span",{style:{color:M<4?"#6b7280":"#111827"},children:m.label}),M<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 l2e=({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}=it(),M=m?.draggable===!0,f=m?.showData===!0,v=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(dL,{imagePath:e})}),c.jsx(yj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[M&&c.jsx(Qx,{}),f&&c.jsx(tL,{}),v&&c.jsx(eL,{}),c.jsx(zb,{}),_&&c.jsx(Vb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(uj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[M&&c.jsx(Qx,{}),f&&c.jsx(tL,{}),v&&c.jsx(eL,{}),c.jsx(zb,{}),_&&c.jsx(Vb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},Ij=({icon:e,text:t,size:n=16,color:o="currentColor",className:i="",active:r=!1,href:s})=>{const d=e?ht[e]:null,l=s?"a":"div";return c.jsxs(l,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:o},role:"text","aria-label":t,...s?{href:s}:{},children:[d&&c.jsx(d,{size:n,"aria-hidden":"true"}),c.jsx("span",{children:t})]})},bj=({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(uj,{logo:"BarChart",position:"right",categories:o})})]}),h2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=it();return c.jsx(bj,{style:n,item:o,children:e?.map(r=>c.jsx(Ij,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},wj=({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})]})]})},rw=k.createContext({});function $t(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const sw=typeof window<"u",dw=sw?k.useLayoutEffect:k.useEffect,hL=k.createContext(null);function lw(e,t){e.indexOf(t)===-1&&e.push(t)}function hw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function u2e([...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 ut=(e,t,n)=>n>t?t:n<e?e:n;function Pb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Xc=()=>{},Xe=()=>{};process.env.NODE_ENV!=="production"&&(Xc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Pb(t,n))},Xe=(e,t,n)=>{if(!e)throw new Error(Pb(t,n))});const pt={},Cj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Nj(e){return typeof e=="object"&&e!==null}const Sj=e=>/^0[^.\s]+$/u.test(e);function uw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Oe=e=>e,p2e=(e,t)=>n=>t(e(n)),H1=(...e)=>e.reduce(p2e),$1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class pw{constructor(){this.subscriptions=[]}add(t){return lw(this.subscriptions,t),()=>hw(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 Ke=e=>e*1e3,Ee=e=>e/1e3;function jj(e,t){return t?e*(1e3/t):0}const eC=new Set;function yw(e,t,n){e||eC.has(t)||(console.warn(Pb(t,n)),eC.add(t))}const $j=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,y2e=1e-7,k2e=12;function m2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=$j(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>y2e&&++d<k2e);return s}function D1(e,t,n,o){if(e===t&&n===o)return Oe;const i=r=>m2e(r,0,1,e,n);return r=>r===0||r===1?r:$j(i(r),t,o)}const qj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Aj=e=>t=>1-e(1-t),zj=D1(.33,1.53,.69,.99),kw=Aj(zj),Vj=qj(kw),Pj=e=>(e*=2)<1?.5*kw(e):.5*(2-Math.pow(2,-10*(e-1))),mw=e=>1-Math.sin(Math.acos(e)),Tj=Aj(mw),Hj=qj(mw),f2e=D1(.42,0,1,1),g2e=D1(0,0,.58,1),Dj=D1(.42,0,.58,1),v2e=e=>Array.isArray(e)&&typeof e[0]!="number",Bj=e=>Array.isArray(e)&&typeof e[0]=="number",tC={linear:Oe,easeIn:f2e,easeInOut:Dj,easeOut:g2e,circIn:mw,circInOut:Hj,circOut:Tj,backIn:kw,backInOut:Vj,backOut:zj,anticipate:Pj},M2e=e=>typeof e=="string",aC=e=>{if(Bj(e)){Xe(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return D1(t,n,o,i)}else if(M2e(e))return Xe(tC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),tC[e];return e},O1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _2e(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 M=y&&i?n:o;return p&&s.add(u),M.has(u)||M.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 x2e=40;function Rj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=O1.reduce((L,w)=>(L[w]=_2e(r),L),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:m,postRender:M}=s,f=()=>{const L=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(L-i.timestamp,x2e),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),M.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(f))},v=()=>{n=!0,o=!0,i.isProcessing||e(f)};return{schedule:O1.reduce((L,w)=>{const C=s[w];return L[w]=(b,x=!1,I=!1)=>(n||v(),C.schedule(b,x,I)),L},{}),cancel:L=>{for(let w=0;w<O1.length;w++)s[O1[w]].cancel(L)},state:i,steps:s}}const{schedule:se,cancel:yt,state:be,steps:zL}=Rj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Oe,!0);let Zx;function L2e(){Zx=void 0}const Ve={now:()=>(Zx===void 0&&Ve.set(be.isProcessing||pt.useManualTiming?be.timestamp:performance.now()),Zx),set:e=>{Zx=e,queueMicrotask(L2e)}},Fj=e=>t=>typeof t=="string"&&t.startsWith(e),fw=Fj("--"),I2e=Fj("var(--"),gw=e=>I2e(e)?b2e.test(e.split("/*")[0].trim()):!1,b2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Yc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},q1={...Yc,transform:e=>ut(0,1,e)},U1={...Yc,default:1},b1=e=>Math.round(e*1e5)/1e5,vw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function w2e(e){return e==null}const C2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Mw=(e,t)=>n=>!!(typeof n=="string"&&C2e.test(n)&&n.startsWith(e)||t&&!w2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ej=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(vw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},N2e=e=>ut(0,255,e),VL={...Yc,transform:e=>Math.round(N2e(e))},xc={test:Mw("rgb","red"),parse:Ej("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+VL.transform(e)+", "+VL.transform(t)+", "+VL.transform(n)+", "+b1(q1.transform(o))+")"};function S2e(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 Tb={test:Mw("#"),parse:S2e,transform:xc.transform},B1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mt=B1("deg"),ct=B1("%"),U=B1("px"),j2e=B1("vh"),$2e=B1("vw"),nC={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},Hc={test:Mw("hsl","hue"),parse:Ej("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ct.transform(b1(t))+", "+ct.transform(b1(n))+", "+b1(q1.transform(o))+")"},ge={test:e=>xc.test(e)||Tb.test(e)||Hc.test(e),parse:e=>xc.test(e)?xc.parse(e):Hc.test(e)?Hc.parse(e):Tb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?xc.transform(e):Hc.transform(e),getAnimatableNone:e=>{const t=ge.parse(e);return t.alpha=0,ge.transform(t)}},q2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function A2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(vw)?.length||0)+(e.match(q2e)?.length||0)>0}const Oj="number",Uj="color",z2e="var",V2e="var(",oC="${}",P2e=/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 A1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(P2e,l=>(ge.test(l)?(o.color.push(r),i.push(Uj),n.push(ge.parse(l))):l.startsWith(V2e)?(o.var.push(r),i.push(z2e),n.push(l)):(o.number.push(r),i.push(Oj),n.push(parseFloat(l))),++r,oC)).split(oC);return{values:n,split:d,indexes:o,types:i}}function Wj(e){return A1(e).values}function Gj(e){const{split:t,types:n}=A1(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===Oj?r+=b1(i[s]):d===Uj?r+=ge.transform(i[s]):r+=i[s]}return r}}const T2e=e=>typeof e=="number"?0:ge.test(e)?ge.getAnimatableNone(e):e;function H2e(e){const t=Wj(e);return Gj(e)(t.map(T2e))}const jt={test:A2e,parse:Wj,createTransformer:Gj,getAnimatableNone:H2e};function PL(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 D2e({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=PL(l,d,e+1/3),r=PL(l,d,e),s=PL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function aL(e,t){return n=>n>0?t:e}const he=(e,t,n)=>e+(t-e)*n,TL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},B2e=[Tb,xc,Hc],R2e=e=>B2e.find(t=>t.test(e));function cC(e){const t=R2e(e);if(Xc(!!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===Hc&&(n=D2e(n)),n}const iC=(e,t)=>{const n=cC(e),o=cC(t);if(!n||!o)return aL(e,t);const i={...n};return r=>(i.red=TL(n.red,o.red,r),i.green=TL(n.green,o.green,r),i.blue=TL(n.blue,o.blue,r),i.alpha=he(n.alpha,o.alpha,r),xc.transform(i))},Hb=new Set(["none","hidden"]);function F2e(e,t){return Hb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function E2e(e,t){return n=>he(e,t,n)}function _w(e){return typeof e=="number"?E2e:typeof e=="string"?gw(e)?aL:ge.test(e)?iC:W2e:Array.isArray(e)?Zj:typeof e=="object"?ge.test(e)?iC:O2e:aL}function Zj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>_w(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function O2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=_w(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function U2e(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 W2e=(e,t)=>{const n=jt.createTransformer(t),o=A1(e),i=A1(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?Hb.has(e)&&!i.values.length||Hb.has(t)&&!o.values.length?F2e(e,t):H1(Zj(U2e(o,i),i.values),n):(Xc(!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"),aL(e,t))};function Kj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?he(e,t,n):_w(e)(e,t)}const G2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>se.update(t,n),stop:()=>yt(t),now:()=>be.isProcessing?be.timestamp:Ve.now()}},Xj=(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)})`},nL=2e4;function xw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<nL;)t+=n,o=e.next(t);return t>=nL?1/0:t}function Z2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(xw(o),nL);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Ee(i)}}const K2e=5;function Yj(e,t,n){const o=Math.max(t-K2e,0);return jj(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},HL=.001;function X2e({duration:e=ue.duration,bounce:t=ue.bounce,velocity:n=ue.velocity,mass:o=ue.mass}){let i,r;Xc(e<=Ke(ue.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(ue.minDamping,ue.maxDamping,s),e=ut(ue.minDuration,ue.maxDuration,Ee(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Db(h,s),M=Math.exp(-p);return HL-y/m*M},r=h=>{const p=h*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(h,2)*e,M=Math.exp(-p),f=Db(Math.pow(h,2),s);return(-i(h)+HL>0?-1:1)*((y-m)*M)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-HL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=J2e(i,r,d);if(e=Ke(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 Y2e=12;function J2e(e,t,n){let o=n;for(let i=1;i<Y2e;i++)o=o-e(o)/t(o);return o}function Db(e,t){return e*Math.sqrt(1-t*t)}const Q2e=["duration","bounce"],ede=["stiffness","damping","mass"];function rC(e,t){return t.some(n=>e[n]!==void 0)}function tde(e){let t={velocity:ue.velocity,stiffness:ue.stiffness,damping:ue.damping,mass:ue.mass,isResolvedFromDuration:!1,...e};if(!rC(e,ede)&&rC(e,Q2e))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:ue.mass,stiffness:i,damping:r}}else{const n=X2e(e);t={...t,...n,mass:ue.mass},t.isResolvedFromDuration=!0}return t}function oL(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}=tde({...n,velocity:-Ee(n.velocity||0)}),M=y||0,f=h/(2*Math.sqrt(l*u)),v=s-r,_=Ee(Math.sqrt(l/u)),g=Math.abs(v)<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=Db(_,f);L=b=>{const x=Math.exp(-f*_*b);return s-x*((M+f*_*v)/C*Math.sin(C*b)+v*Math.cos(C*b))}}else if(f===1)L=C=>s-Math.exp(-_*C)*(v+(M+_*v)*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*((M+f*_*v)*Math.sinh(I)+C*v*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?M:0;f<1&&(x=C===0?Ke(M):Yj(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(xw(w),nL),b=Xj(x=>w.next(C*x).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}oL.applyToOptions=e=>{const t=Z2e(e,100,oL);return e.ease=t.ease,e.duration=Ke(t.duration),e.type="keyframes",e};function Bb({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,M=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let f=n*t;const v=p+f,_=s===void 0?v:s(v);_!==v&&(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=oL({keyframes:[y.value,M(y.value)],velocity:Yj(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 ade(e,t,n){const o=[],i=n||pt.mix||Kj,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]||Oe:t;d=H1(l,d)}o.push(d)}return o}function Jj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Xe(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=ade(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=$1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function nde(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=$1(0,t,o);e.push(he(n,1,i))}}function ode(e){const t=[0];return nde(t,e.length-1),t}function cde(e,t){return e.map(n=>n*t)}function ide(e,t){return e.map(()=>t||Dj).splice(0,e.length-1)}function Dc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=v2e(o)?o.map(aC):aC(o),r={done:!1,value:t[0]},s=cde(n&&n.length===t.length?n:ode(t),e),d=Jj(s,t,{ease:Array.isArray(i)?i:ide(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const rde=e=>e!==null;function Lw(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(rde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const sde={decay:Bb,inertia:Bb,tween:Dc,keyframes:Dc,spring:oL};function Qj(e){typeof e.type=="string"&&(e.type=sde[e.type])}class Iw{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 dde=e=>e/100;class bw extends Iw{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!==Ve.now()&&this.tick(Ve.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;Qj(t);const{type:n=Dc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Dc;process.env.NODE_ENV!=="production"&&l!==Dc&&Xe(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Dc&&typeof d[0]!="number"&&(this.mixKeyframes=H1(dde,Kj(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=xw(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:M,onUpdate:f,finalKeyframe:v}=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=ut(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&&M!==Bb&&(C.value=Lw(u,this.options,v,this.speed)),f&&f(C.value),x&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Ee(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ee(t)}get time(){return Ee(this.currentTime)}set time(t){t=Ke(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(Ve.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Ee(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=G2e,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(Ve.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 lde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Lc=e=>e*180/Math.PI,Rb=e=>{const t=Lc(Math.atan2(e[1],e[0]));return Fb(t)},hde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Rb,rotateZ:Rb,skewX:e=>Lc(Math.atan(e[1])),skewY:e=>Lc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Fb=e=>(e=e%360,e<0&&(e+=360),e),sC=Rb,dC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),lC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ude={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:dC,scaleY:lC,scale:e=>(dC(e)+lC(e))/2,rotateX:e=>Fb(Lc(Math.atan2(e[6],e[5]))),rotateY:e=>Fb(Lc(Math.atan2(-e[2],e[0]))),rotateZ:sC,rotate:sC,skewX:e=>Lc(Math.atan(e[4])),skewY:e=>Lc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Eb(e){return e.includes("scale")?1:0}function Ob(e,t){if(!e||e==="none")return Eb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=ude,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=hde,i=d}if(!i)return Eb(t);const r=o[t],s=i[1].split(",").map(yde);return typeof r=="function"?r(s):s[r]}const pde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Ob(n,t)};function yde(e){return parseFloat(e.trim())}const Jc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Qc=new Set(Jc),hC=e=>e===Yc||e===U,kde=new Set(["x","y","z"]),mde=Jc.filter(e=>!kde.has(e));function fde(e){const t=[];return mde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const wc={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})=>Ob(t,"x"),y:(e,{transform:t})=>Ob(t,"y")};wc.translateX=wc.x;wc.translateY=wc.y;const Cc=new Set;let Ub=!1,Wb=!1,Gb=!1;function e$(){if(Wb){const e=Array.from(Cc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=fde(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)})}Wb=!1,Ub=!1,Cc.forEach(e=>e.complete(Gb)),Cc.clear()}function t$(){Cc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Wb=!0)})}function gde(){Gb=!0,t$(),e$(),Gb=!1}class ww{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?(Cc.add(this),Ub||(Ub=!0,se.read(t$),se.resolveKeyframes(e$))):(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])}lde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Cc.delete(this)}cancel(){this.state==="scheduled"&&(Cc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const vde=e=>e.startsWith("--");function Mde(e,t,n){vde(t)?e.style.setProperty(t,n):e.style[t]=n}const _de=uw(()=>window.ScrollTimeline!==void 0),xde={};function Lde(e,t){const n=uw(e);return()=>xde[t]??n()}const a$=Lde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),d1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,uC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:d1([0,.65,.55,1]),circOut:d1([.55,0,1,.45]),backIn:d1([.31,.01,.66,-.59]),backOut:d1([.33,1.53,.69,.99])};function n$(e,t){if(e)return typeof e=="function"?a$()?Xj(e,t):"ease-out":Bj(e)?d1(e):Array.isArray(e)?e.map(n=>n$(n,t)||uC.easeOut):uC[e]}function Ide(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=n$(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 o$(e){return typeof e=="function"&&"applyToOptions"in e}function bde({type:e,...t}){return o$(e)&&a$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class wde extends Iw{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,Xe(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=bde(t);this.animation=Ide(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Lw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):Mde(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 Ee(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Ee(t)}get time(){return Ee(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ke(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&&_de()?(this.animation.timeline=t,Oe):n(this)}}const c$={anticipate:Pj,backInOut:Vj,circInOut:Hj};function Cde(e){return e in c$}function Nde(e){typeof e.ease=="string"&&Cde(e.ease)&&(e.ease=c$[e.ease])}const pC=10;class Sde extends wde{constructor(t){Nde(t),Qj(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 bw({...s,autoplay:!1}),l=Ke(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-pC).value,d.sample(l).value,pC),d.stop()}}const yC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jt.test(e)||e==="0")&&!e.startsWith("url("));function jde(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 $de(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=yC(i,t),d=yC(r,t);return Xc(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:jde(e)||(n==="spring"||o$(n))&&o}function Zb(e){e.duration=0,e.type="keyframes"}const qde=new Set(["opacity","clipPath","filter","transform"]),Ade=uw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zde(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 Ade()&&n&&qde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Vde=40;class Pde extends Iw{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=Ve.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||ww;this.keyframeResolver=new m(d,(M,f,v)=>this.onKeyframesResolved(M,f,y,!v),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=Ve.now(),$de(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(Lw(t,o,n)),t[0]=t[t.length-1],Zb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Vde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&zde(y)?new Sde({...y,element:y.motionValue.owner.current}):new bw(y);m.finished.then(()=>this.notifyFinished()).catch(Oe),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(),gde()),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 Tde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hde(e){const t=Tde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Dde=4;function i$(e,t,n=1){Xe(n<=Dde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Hde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return Cj(s)?parseFloat(s):s}return gw(i)?i$(i,t,n+1):i}function Cw(e,t){return e?.[t]??e?.default??e}const r$=new Set(["width","height","top","left","right","bottom",...Jc]),Bde={test:e=>e==="auto",parse:e=>e},s$=e=>t=>t.test(e),d$=[Yc,U,ct,Mt,$2e,j2e,Bde],kC=e=>d$.find(s$(e));function Rde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Sj(e):!0}const Fde=new Set(["brightness","contrast","saturate","opacity"]);function Ede(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(vw)||[];if(!o)return e;const i=n.replace(o,"");let r=Fde.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Ode=/\b([a-z-]*)\(.*?\)/gu,Kb={...jt,getAnimatableNone:e=>{const t=e.match(Ode);return t?t.map(Ede).join(" "):e}},mC={...Yc,transform:Math.round},Ude={rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scale:U1,scaleX:U1,scaleY:U1,scaleZ:U1,skew:Mt,skewX:Mt,skewY:Mt,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:q1,originX:nC,originY:nC,originZ:U},Nw={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,backgroundPositionX:U,backgroundPositionY:U,...Ude,zIndex:mC,fillOpacity:q1,strokeOpacity:q1,numOctaves:mC},Wde={...Nw,color:ge,backgroundColor:ge,outlineColor:ge,fill:ge,stroke:ge,borderColor:ge,borderTopColor:ge,borderRightColor:ge,borderBottomColor:ge,borderLeftColor:ge,filter:Kb,WebkitFilter:Kb},l$=e=>Wde[e];function h$(e,t){let n=l$(e);return n!==Kb&&(n=jt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Gde=new Set(["auto","none","0"]);function Zde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Gde.has(r)&&A1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=h$(n,i)}class Kde extends ww{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(),gw(h))){const u=i$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!r$.has(o)||t.length!==2)return;const[i,r]=t,s=kC(i),d=kC(r);if(s!==d)if(hC(s)&&hC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else wc[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Rde(t[i]))&&o.push(i);o.length&&Zde(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=wc[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]=wc[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 Xde(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 u$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function p$(e){return Nj(e)&&"offsetHeight"in e}const fC=30,Yde=e=>!isNaN(parseFloat(e)),w1={current:void 0};class Jde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=Ve.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=Ve.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Yde(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&yw(!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 pw);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 w1.current&&w1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ve.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>fC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,fC);return jj(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 Nc(e,t){return new Jde(e,t)}const{schedule:Sw}=Rj(queueMicrotask,!1),Ge={x:!1,y:!1};function y$(){return Ge.x||Ge.y}function Qde(e){return e==="x"||e==="y"?Ge[e]?null:(Ge[e]=!0,()=>{Ge[e]=!1}):Ge.x||Ge.y?null:(Ge.x=Ge.y=!0,()=>{Ge.x=Ge.y=!1})}function k$(e,t){const n=Xde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function gC(e){return!(e.pointerType==="touch"||y$())}function e0e(e,t,n={}){const[o,i,r]=k$(e,n),s=d=>{if(!gC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{gC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const m$=(e,t)=>t?e===t?!0:m$(e,t.parentElement):!1,jw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,t0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a0e(e){return t0e.has(e.tagName)||e.tabIndex!==-1}const Kx=new WeakSet;function vC(e){return t=>{t.key==="Enter"&&e(t)}}function DL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const n0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=vC(()=>{if(Kx.has(n))return;DL(n,"down");const i=vC(()=>{DL(n,"up")}),r=()=>DL(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 MC(e){return jw(e)&&!y$()}function o0e(e,t,n={}){const[o,i,r]=k$(e,n),s=d=>{const l=d.currentTarget;if(!MC(d))return;Kx.add(l);const h=t(l,d),u=(m,M)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Kx.has(l)&&Kx.delete(l),MC(m)&&typeof h=="function"&&h(m,{success:M})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||m$(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),p$(d)&&(d.addEventListener("focus",h=>n0e(h,i)),!a0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function f$(e){return Nj(e)&&"ownerSVGElement"in e}function c0e(e){return f$(e)&&e.tagName==="svg"}function i0e(...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=Jj(i,r,s);return t?d(o):d}const we=e=>!!(e&&e.getVelocity),r0e=[...d$,ge,jt],s0e=e=>r0e.find(s$(e)),uL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function _C(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=_C(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():_C(e[i],null)}}}}function l0e(...e){return K.useCallback(d0e(...e),e)}class h0e extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=p$(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 u0e({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(uL),l=l0e(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 M=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const f=document.createElement("style");d&&(f.nonce=d);const v=o??document.head;return v.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
|
${M}px !important;
|
|
8167
8167
|
top: ${p}px !important;
|
|
8168
8168
|
}
|
|
8169
|
-
`),()=>{v.contains(f)&&v.removeChild(f)}},[t]),c.jsx(h0e,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const p0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=$t(y0e),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 M of h.values())if(!M)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,M)=>h.set(M,!1))},[n]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(u0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(hL.Provider,{value:y,children:e})};function y0e(){return new Map}function g$(e=!0){const t=k.useContext(hL);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 W1=e=>e.key||"";function xC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const k0e=({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]=g$(s),p=k.useMemo(()=>xC(e),[e]),y=s&&!h?[]:p.map(W1),m=k.useRef(!0),M=k.useRef(p),f=$t(()=>new Map),[v,_]=k.useState(p),[g,L]=k.useState(p);dw(()=>{m.current=!1,M.current=p;for(let b=0;b<g.length;b++){const x=W1(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!==v){let b=[...p];for(let x=0;x<g.length;x++){const I=g[x],S=W1(I);y.includes(S)||(b.splice(x,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(xC(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(rw);return c.jsx(c.Fragment,{children:g.map(b=>{const x=W1(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(M.current),s&&u?.(),o&&o())};return c.jsx(p0e,{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)})})},v$=k.createContext({strict:!1}),LC={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"]},Kc={};for(const e in LC)Kc[e]={isEnabled:t=>LC[e].some(n=>!!t[n])};function m0e(e){for(const t in e)Kc[t]={...Kc[t],...e[t]}}const f0e=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 cL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||f0e.has(e)}let M$=e=>!cL(e);function g0e(e){typeof e=="function"&&(M$=t=>t.startsWith("on")?!cL(t):e(t))}try{g0e(require("@emotion/is-prop-valid").default)}catch{}function v0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(M$(i)||n===!0&&cL(i)||!t&&!cL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const pL=k.createContext({});function yL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function z1(e){return typeof e=="string"||Array.isArray(e)}const $w=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qw=["initial",...$w];function kL(e){return yL(e.animate)||qw.some(t=>z1(e[t]))}function _$(e){return!!(kL(e)||e.variants)}function M0e(e,t){if(kL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||z1(n)?n:void 0,animate:z1(o)?o:void 0}}return e.inherit!==!1?t:{}}function _0e(e){const{initial:t,animate:n}=M0e(e,k.useContext(pL));return k.useMemo(()=>({initial:t,animate:n}),[IC(t),IC(n)])}function IC(e){return Array.isArray(e)?e.join(" "):e}const V1={};function x0e(e){for(const t in e)V1[t]=e[t],fw(t)&&(V1[t].isCSSVariable=!0)}function x$(e,{layout:t,layoutId:n}){return Qc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!V1[e]||e==="opacity")}const L0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I0e=Jc.length;function b0e(e,t,n){let o="",i=!0;for(let r=0;r<I0e;r++){const s=Jc[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=u$(d,Nw[s]);if(!l){i=!1;const u=L0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function Aw(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(Qc.has(l)){s=!0;continue}else if(fw(l)){i[l]=h;continue}else{const u=u$(h,Nw[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=b0e(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 zw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function L$(e,t,n){for(const o in t)!be(t[o])&&!x$(o,n)&&(e[o]=t[o])}function w0e({transformTemplate:e},t){return k.useMemo(()=>{const n=zw();return Aw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function C0e(e,t){const n=e.style||{},o={};return L$(o,n,e),Object.assign(o,w0e(e,t)),o}function N0e(e,t){const n={},o=C0e(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 S0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},j0e={offset:"strokeDashoffset",array:"strokeDasharray"};function $0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?S0e:j0e;e[r.offset]=U.transform(-o);const s=U.transform(t),d=U.transform(n);e[r.array]=`${s} ${d}`}function I$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Aw(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&&$0e(p,i,r,s,!1)}const b$=()=>({...zw(),attrs:{}}),w$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q0e(e,t,n,o){const i=k.useMemo(()=>{const r=b$();return I$(r,t,w$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};L$(r,e.style,e),i.style={...r,...i.style}}return i}const A0e=["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 Vw(e){return typeof e!="string"||e.includes("-")?!1:!!(A0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function z0e(e,t,n,{latestValues:o},i,r=!1){const d=(Vw(e)?q0e:N0e)(t,o,i,e),l=v0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>be(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function bC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function Pw(e,t,n,o){if(typeof t=="function"){const[i,r]=bC(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]=bC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Xx(e){return be(e)?e.get():e}function V0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:P0e(n,o,i,e),renderState:t()}}function P0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Xx(r[y]);let{initial:s,animate:d}=e;const l=kL(e),h=_$(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"&&!yL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const M=Pw(e,y[m]);if(M){const{transitionEnd:f,transition:v,..._}=M;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 C$=e=>(t,n)=>{const o=k.useContext(pL),i=k.useContext(hL),r=()=>V0e(e,t,o,i);return n?r():$t(r)};function Tw(e,t,n){const{style:o}=e,i={};for(const r in o)(be(o[r])||t.style&&be(t.style[r])||x$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const T0e=C$({scrapeMotionValuesFromProps:Tw,createRenderState:zw});function N$(e,t,n){const o=Tw(e,t,n);for(const i in e)if(be(e[i])||be(t[i])){const r=Jc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const H0e=C$({scrapeMotionValuesFromProps:N$,createRenderState:b$}),D0e=Symbol.for("motionComponentSymbol");function Bc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function B0e(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):Bc(n)&&(n.current=o))},[t])}const Hw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),R0e="framerAppearId",S$="data-"+Hw(R0e),j$=k.createContext({});function F0e(e,t,n,o,i){const{visualElement:r}=k.useContext(pL),s=k.useContext(v$),d=k.useContext(hL),l=k.useContext(uL).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(j$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&E0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[S$],M=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return dw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),M.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!M.current&&u.animationState&&u.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),M.current=!1),u.enteringChildren=void 0)}),u}function E0e(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:$$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Bc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function $$(e){if(e)return e.options.allowProjection!==!1?e.projection:$$(e.parent)}function BL(e,{forwardMotionProps:t=!1}={},n,o){n&&m0e(n);const i=Vw(e)?H0e:T0e;function r(d,l){let h;const u={...k.useContext(uL),...d,layoutId:O0e(d)},{isStatic:p}=u,y=_0e(d),m=i(d,p);if(!p&&sw){U0e(u,n);const M=W0e(u);h=M.MeasureLayout,y.visualElement=F0e(e,m,u,o,M.ProjectionNode)}return c.jsxs(pL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,z0e(e,d,B0e(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[D0e]=e,s}function O0e({layoutId:e}){const t=k.useContext(rw).id;return t&&e!==void 0?t+"-"+e:e}function U0e(e,t){const n=k.useContext(v$).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?Xc(!1,o,"lazy-strict-mode"):Xe(!1,o,"lazy-strict-mode")}}function W0e(e){const{drag:t,layout:n}=Kc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function G0e(e,t){if(typeof Proxy>"u")return BL;const n=new Map,o=(r,s)=>BL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&yw(!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,BL(s,void 0,e,t)),n.get(s))})}function q$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Z0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function K0e(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 RL(e){return e===void 0||e===1}function Xb({scale:e,scaleX:t,scaleY:n}){return!RL(e)||!RL(t)||!RL(n)}function _c(e){return Xb(e)||A$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function A$(e){return wC(e.x)||wC(e.y)}function wC(e){return e&&e!=="0%"}function iL(e,t,n){const o=e-n,i=t*o;return n+i}function CC(e,t,n,o,i){return i!==void 0&&(e=iL(e,i,o)),iL(e,n,o)+t}function Yb(e,t=0,n=1,o,i){e.min=CC(e.min,t,n,o,i),e.max=CC(e.max,t,n,o,i)}function z$(e,{x:t,y:n}){Yb(e.x,t.translate,t.scale,t.originPoint),Yb(e.y,n.translate,n.scale,n.originPoint)}const NC=.999999999999,SC=1.0000000000001;function X0e(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&&Fc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,z$(e,s)),o&&_c(r.latestValues)&&Fc(e,r.latestValues))}t.x<SC&&t.x>NC&&(t.x=1),t.y<SC&&t.y>NC&&(t.y=1)}function Rc(e,t){e.min=e.min+t,e.max=e.max+t}function jC(e,t,n,o,i=.5){const r=le(e.min,e.max,i);Yb(e,t,n,r,o)}function Fc(e,t){jC(e.x,t.x,t.scaleX,t.scale,t.originX),jC(e.y,t.y,t.scaleY,t.scale,t.originY)}function V$(e,t){return q$(K0e(e.getBoundingClientRect(),t))}function Y0e(e,t,n){const o=V$(e,n),{scroll:i}=t;return i&&(Rc(o.x,i.offset.x),Rc(o.y,i.offset.y)),o}const $C=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ec=()=>({x:$C(),y:$C()}),qC=()=>({min:0,max:0}),me=()=>({x:qC(),y:qC()}),Jb={current:null},P$={current:!1};function J0e(){if(P$.current=!0,!!sw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jb.current=e.matches;e.addEventListener("change",t),t()}else Jb.current=!1}const Q0e=new WeakMap;function ele(e,t,n){for(const o in t){const i=t[o],r=n[o];if(be(i))e.addValue(o,i);else if(be(r))e.addValue(o,Nc(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,Nc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const AC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tle{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=ww,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=Ve.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=kL(n),this.isVariantNode=_$(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&&be(m)&&m.set(l[y])}}mount(t){this.current=t,Q0e.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)),P$.current||J0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Jb.current,process.env.NODE_ENV!=="production"&&yw(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(),yt(this.notifyUpdate),yt(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=Qc.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 Kc){const n=Kc[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<AC.length;o++){const i=AC[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=ele(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=Nc(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"&&(Cj(o)||Sj(o))?o=parseFloat(o):!s0e(o)&&jt.test(n)&&(o=h$(t,n)),this.setBaseTarget(t,be(o)?o.get():o)),be(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=Pw(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&&!be(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 pw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Sw.render(this.render)}}class T$ extends tle{constructor(){super(...arguments),this.KeyframeResolver=Kde}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;be(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function H$(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 ale(e){return window.getComputedStyle(e)}class nle extends T${constructor(){super(...arguments),this.type="html",this.renderInstance=H$}readValueFromInstance(t,n){if(Qc.has(n))return this.projection?.isProjecting?Eb(n):pde(t,n);{const o=ale(t),i=(fw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return V$(t,n)}build(t,n,o){Aw(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Tw(t,n,o)}}const D$=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 ole(e,t,n,o){H$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(D$.has(i)?i:Hw(i),t.attrs[i])}class cle extends T${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=me}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qc.has(n)){const o=l$(n);return o&&o.default||0}return n=D$.has(n)?n:Hw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return N$(t,n,o)}build(t,n,o){I$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){ole(t,n,o,i)}mount(t){this.isSVGTag=w$(t.tagName),super.mount(t)}}const ile=(e,t)=>Vw(e)?new cle(t):new nle(t,{allowProjection:e!==k.Fragment});function Zc(e,t,n){const o=e.getProps();return Pw(o,t,n!==void 0?n:o.custom,e)}const Qb=e=>Array.isArray(e);function rle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Nc(n))}function sle(e){return Qb(e)?e[e.length-1]||0:e}function dle(e,t){const n=Zc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=sle(r[s]);rle(e,s,d)}}function lle(e){return!!(be(e)&&e.add)}function ew(e,t){const n=e.getValue("willChange");if(lle(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function B$(e){return e.props[S$]}const hle=e=>e!==null;function ule(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(hle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const ple={type:"spring",stiffness:500,damping:25,restSpeed:10},yle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kle={type:"keyframes",duration:.8},mle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fle=(e,{keyframes:t})=>t.length>2?kle:Qc.has(e)?e.startsWith("scale")?yle(t[1]):ple:mle;function gle({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 Dw=(e,t,n,o={},i,r)=>s=>{const d=Cw(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Ke(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};gle(d)||Object.assign(u,fle(e,u)),u.duration&&(u.duration=Ke(u.duration)),u.repeatDelay&&(u.repeatDelay=Ke(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Zb(u),u.delay===0&&(p=!0)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Zb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ule(u.keyframes,d);if(y!==void 0){se.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new bw(u):new Pde(u)};function vle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function R$(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&&vle(h,u))continue;const m={delay:n,...Cw(r||{},u)},M=p.get();if(M!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===M&&!m.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){const _=B$(e);if(_){const g=window.MotionHandoffAnimation(_,u,se);g!==null&&(m.startTime=g,f=!0)}}ew(e,u),p.start(Dw(u,p,y,e.shouldReduceMotion&&r$.has(u)?{type:!1}:m,e,f));const v=p.animation;v&&l.push(v)}return s&&Promise.all(l).then(()=>{se.update(()=>{s&&dle(e,s)})}),l}function F$(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 tw(e,t,n={}){const o=Zc(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(R$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Mle(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 Mle(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(tw(l,t,{...s,delay:n+(typeof o=="function"?0:o)+F$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function _le(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>tw(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=tw(e,t,n);else{const i=typeof t=="function"?Zc(e,t,n.custom):t;o=Promise.all(R$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function E$(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 xle=qw.length;function O$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?O$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<xle;n++){const o=qw[n],i=e.props[o];(z1(i)||i===!1)&&(t[o]=i)}return t}const Lle=[...$w].reverse(),Ile=$w.length;function ble(e){return t=>Promise.all(t.map(({animation:n,options:o})=>_le(e,n,o)))}function wle(e){let t=ble(e),n=zC(),o=!0;const i=l=>(h,u)=>{const p=Zc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...M}=p;h={...h,...M,...m}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=O$(e.parent)||{},p=[],y=new Set;let m={},M=1/0;for(let v=0;v<Ile;v++){const _=Lle[v],g=n[_],L=h[_]!==void 0?h[_]:u[_],w=z1(L),C=_===l?g.isActive:null;C===!1&&(M=v);let b=L===u[_]&&L!==h[_]&&w;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...m},!g.isActive&&C===null||!L&&!g.prevProp||yL(L)||typeof L=="boolean")continue;const x=Cle(g.prevProp,L);let I=x||_===l&&g.isActive&&!b&&w||v>M&&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 R=e.getValue(A);R&&(R.liveStyle=!1)};for(const A in P){const R=q[A],B=$[A];if(m.hasOwnProperty(A))continue;let H=!1;Qb(R)&&Qb(B)?H=!E$(R,B):H=R!==B,H?R!=null?T(A):y.add(A):R!==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 R={type:_};if(typeof A=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,H=Zc(B,A);if(B.enteringChildren&&H){const{delayChildren:Z}=H.transition||{};R.delay=F$(B.enteringChildren,e,Z)}}return{animation:A,options:R}}))}if(y.size){const v={};if(typeof h.initial!="boolean"){const _=Zc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(v.transition=_.transition)}y.forEach(_=>{const g=e.getBaseTarget(_),L=e.getValue(_);L&&(L.liveStyle=!0),v[_]=g??null}),p.push({animation:v})}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=zC()}}}function Cle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!E$(t,e):!1}function Pt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zC(){return{animate:Pt(!0),whileInView:Pt(),whileHover:Pt(),whileTap:Pt(),whileDrag:Pt(),whileFocus:Pt(),exit:Pt()}}class qt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Nle extends qt{constructor(t){super(t),t.animationState||(t.animationState=wle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();yL(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 Sle=0;class jle extends qt{constructor(){super(...arguments),this.id=Sle++}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 $le={animation:{Feature:Nle},exit:{Feature:jle}};function P1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function R1(e){return{point:{x:e.pageX,y:e.pageY}}}const qle=e=>t=>jw(t)&&e(t,R1(t));function C1(e,t,n,o){return P1(e,t,qle(n),o)}const U$=1e-4,Ale=1-U$,zle=1+U$,W$=.01,Vle=0-W$,Ple=0+W$;function $e(e){return e.max-e.min}function Tle(e,t,n){return Math.abs(e-t)<=n}function VC(e,t,n,o=.5){e.origin=o,e.originPoint=le(t.min,t.max,e.origin),e.scale=$e(n)/$e(t),e.translate=le(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ale&&e.scale<=zle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Vle&&e.translate<=Ple||isNaN(e.translate))&&(e.translate=0)}function N1(e,t,n,o){VC(e.x,t.x,n.x,o?o.originX:void 0),VC(e.y,t.y,n.y,o?o.originY:void 0)}function PC(e,t,n){e.min=n.min+t.min,e.max=e.min+$e(t)}function Hle(e,t,n){PC(e.x,t.x,n.x),PC(e.y,t.y,n.y)}function TC(e,t,n){e.min=t.min-n.min,e.max=e.min+$e(t)}function S1(e,t,n){TC(e.x,t.x,n.x),TC(e.y,t.y,n.y)}function Re(e){return[e("x"),e("y")]}const G$=({current:e})=>e?e.ownerDocument.defaultView:null,HC=(e,t)=>Math.abs(e-t);function Dle(e,t){const n=HC(e.x,t.x),o=HC(e.y,t.y);return Math.sqrt(n**2+o**2)}class Z${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=EL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,M=Dle(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!M)return;const{point:f}=y,{timestamp:v}=Ie;this.history.push({...f,timestamp:v});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=FL(m,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:M,onSessionEnd:f,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=EL(y.type==="pointercancel"?this.lastMoveEventInfo:FL(m,this.transformPagePoint),this.history);this.startEvent&&M&&M(y,_),f&&f(y,_)},!jw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=R1(t),l=FL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=Ie;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,EL(l,this.history)),this.removeListeners=H1(C1(this.contextWindow,"pointermove",this.handlePointerMove),C1(this.contextWindow,"pointerup",this.handlePointerUp),C1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function FL(e,t){return t?{point:t(e.point)}:e}function DC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function EL({point:e},t){return{point:e,delta:DC(e,K$(t)),offset:DC(e,Ble(t)),velocity:Rle(t,.1)}}function Ble(e){return e[0]}function K$(e){return e[e.length-1]}function Rle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=K$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Ke(t)));)n--;if(!o)return{x:0,y:0};const r=Ee(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 Fle(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 BC(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 Ele(e,{top:t,left:n,bottom:o,right:i}){return{x:BC(e.x,n,i),y:BC(e.y,t,o)}}function RC(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 Ole(e,t){return{x:RC(e.x,t.x),y:RC(e.y,t.y)}}function Ule(e,t){let n=.5;const o=$e(e),i=$e(t);return i>o?n=$1(t.min,t.max-o,e.min):o>i&&(n=$1(e.min,e.max-i,t.min)),ut(0,1,n)}function Wle(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 aw=.35;function Gle(e=aw){return e===!1?e=0:e===!0&&(e=aw),{x:FC(e,"left","right"),y:FC(e,"top","bottom")}}function FC(e,t,n){return{min:EC(e,t),max:EC(e,n)}}function EC(e,t){return typeof e=="number"?e:e[t]||0}const Zle=new WeakMap;class Kle{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(R1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:M,onDragStart:f}=this.getProps();if(m&&!M&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qde(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),Re(_=>{let g=this.getAxisMotionValue(_).get()||0;if(ct.test(g)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[_];w&&(g=$e(w)*(parseFloat(g)/100))}}this.originPoint[_]=g}),f&&se.postRender(()=>f(p,y)),ew(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:M,onDirectionLock:f,onDrag:v}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:_}=y;if(M&&this.currentDirection===null){this.currentDirection=Xle(_),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",y.point,_),this.updateAxis("y",y.point,_),this.visualElement.render(),v&&v(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Re(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Z$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:G$(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||!G1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Fle(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&&Bc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ele(o.layoutBox,t):this.constraints=!1,this.elastic=Gle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Re(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Wle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Bc(t))return!1;const o=t.current;Xe(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=Y0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Ole(i.layout.layoutBox,r);if(n){const d=n(Z0e(s));this.hasMutatedConstraints=!!d,d&&(s=q$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Re(u=>{if(!G1(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,M={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,M)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return ew(this.visualElement,t),o.start(Dw(t,o,0,n,this.visualElement,!1))}stopAnimation(){Re(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Re(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){Re(n=>{const{drag:o}=this.getProps();if(!G1(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(!Bc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Re(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Ule({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(),Re(s=>{if(!G1(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;Zle.set(this.visualElement,this);const t=this.visualElement.current,n=C1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Bc(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=P1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Re(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=aw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function G1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Xle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Yle extends qt{constructor(t){super(t),this.removeGroupControls=Oe,this.removeListeners=Oe,this.controls=new Kle(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Oe}unmount(){this.removeGroupControls(),this.removeListeners()}}const OC=e=>(t,n)=>{e&&se.postRender(()=>e(t,n))};class Jle extends qt{constructor(){super(...arguments),this.removePointerDownListener=Oe}onPointerDown(t){this.session=new Z$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:OC(t),onStart:OC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&se.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=C1(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 Yx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function UC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const o1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=UC(e,t.target.x),o=UC(e,t.target.y);return`${n}% ${o}%`}},Qle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=jt.parse(e);if(i.length>5)return o;const r=jt.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 OL=!1;class ehe extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;x0e(the),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),OL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Yx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,OL=!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(),Sw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;OL=!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 X$(e){const[t,n]=g$(),o=k.useContext(rw);return c.jsx(ehe,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(j$),isPresent:t,safeToRemove:n})}const the={borderRadius:{...o1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:o1,borderTopRightRadius:o1,borderBottomLeftRadius:o1,borderBottomRightRadius:o1,boxShadow:Qle};function ahe(e,t,n){const o=be(e)?e:Nc(e);return o.start(Dw("",o,t,n)),o.animation}const nhe=(e,t)=>e.depth-t.depth;class ohe{constructor(){this.children=[],this.isDirty=!1}add(t){lw(this.children,t),this.isDirty=!0}remove(t){hw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nhe),this.isDirty=!1,this.children.forEach(t)}}function che(e,t){const n=Ve.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return se.setup(o,!0),()=>yt(o)}const Y$=["TopLeft","TopRight","BottomLeft","BottomRight"],ihe=Y$.length,WC=e=>typeof e=="string"?parseFloat(e):e,GC=e=>typeof e=="number"||U.test(e);function rhe(e,t,n,o,i,r){i?(e.opacity=le(0,n.opacity??1,she(o)),e.opacityExit=le(t.opacity??1,0,dhe(o))):r&&(e.opacity=le(t.opacity??1,n.opacity??1,o));for(let s=0;s<ihe;s++){const d=`border${Y$[s]}Radius`;let l=ZC(t,d),h=ZC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||GC(l)===GC(h)?(e[d]=Math.max(le(WC(l),WC(h),o),0),(ct.test(h)||ct.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=le(t.rotate||0,n.rotate||0,o))}function ZC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const she=J$(0,.5,Tj),dhe=J$(.5,.95,Oe);function J$(e,t,n){return o=>o<e?0:o>t?1:n($1(e,t,o))}function KC(e,t){e.min=t.min,e.max=t.max}function He(e,t){KC(e.x,t.x),KC(e.y,t.y)}function XC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function YC(e,t,n,o,i){return e-=t,e=iL(e,1/n,o),i!==void 0&&(e=iL(e,1/i,o)),e}function lhe(e,t=0,n=1,o=.5,i,r=e,s=e){if(ct.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=YC(e.min,t,n,d,i),e.max=YC(e.max,t,n,d,i)}function JC(e,t,[n,o,i],r,s){lhe(e,t[n],t[o],t[i],t.scale,r,s)}const hhe=["x","scaleX","originX"],uhe=["y","scaleY","originY"];function QC(e,t,n,o){JC(e.x,t,hhe,n?n.x:void 0,o?o.x:void 0),JC(e.y,t,uhe,n?n.y:void 0,o?o.y:void 0)}function eN(e){return e.translate===0&&e.scale===1}function Q$(e){return eN(e.x)&&eN(e.y)}function tN(e,t){return e.min===t.min&&e.max===t.max}function phe(e,t){return tN(e.x,t.x)&&tN(e.y,t.y)}function aN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function eq(e,t){return aN(e.x,t.x)&&aN(e.y,t.y)}function nN(e){return $e(e.x)/$e(e.y)}function oN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class yhe{constructor(){this.members=[]}add(t){lw(this.members,t),t.scheduleRender()}remove(t){if(hw(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 khe(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:M}=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) `),M&&(o+=`skewY(${M}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 UL=["","X","Y","Z"],mhe=1e3;let fhe=0;function WL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function tq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=B$(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&&tq(o)}function aq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=fhe++,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(Mhe),this.nodes.forEach(Ihe),this.nodes.forEach(bhe),this.nodes.forEach(_he)},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 ohe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new pw),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=f$(s)&&!c0e(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=che(y,250),Yx.hasAnimatedSinceResize&&(Yx.hasAnimatedSinceResize=!1,this.nodes.forEach(rN)))})}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 M=this.options.transition||h.getDefaultTransition()||jhe,{onLayoutAnimationStart:f,onLayoutAnimationComplete:v}=h.getProps(),_=!this.targetLayout||!eq(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={...Cw(M,"layout"),onPlay:f,onComplete:v};(h.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,g)}else p||rN(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(),yt(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(whe),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&&tq(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(cN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(iN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Lhe),this.nodes.forEach(ghe),this.nodes.forEach(vhe)):this.nodes.forEach(iN),this.clearAllSnapshots();const d=Ve.now();Ie.delta=ut(0,1e3/60,d-Ie.timestamp),Ie.timestamp=d,Ie.isProcessing=!0,zL.update.process(Ie),zL.preRender.process(Ie),zL.render.process(Ie),Ie.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Sw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(xhe),this.sharedNodes.forEach(Che)}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&&!$e(this.snapshot.measuredBox.x)&&!$e(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&&!Q$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||_c(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)),$he(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(qhe))){const{scroll:h}=this.root;h&&(Rc(d.x,h.offset.x),Rc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=me();if(He(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&&He(d,s),Rc(d.x,u.offset.x),Rc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=me();He(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&&Fc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),_c(u.latestValues)&&Fc(l,u.latestValues)}return _c(this.latestValues)&&Fc(l,this.latestValues),l}removeTransform(s){const d=me();He(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!_c(h.latestValues))continue;Xb(h.latestValues)&&h.updateSnapshot();const u=me(),p=h.measurePageBox();He(u,p),QC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return _c(this.latestValues)&&QC(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!==Ie.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=Ie.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(),S1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),He(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(),Hle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):He(this.target,this.layout.layoutBox),z$(this.target,this.targetDelta)):He(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(),S1(this.relativeTargetOrigin,this.target,y.target),He(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Xb(this.parent.latestValues)||A$(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===Ie.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;He(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;X0e(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():(XC(this.prevProjectionDelta.x,this.projectionDelta.x),XC(this.prevProjectionDelta.y,this.projectionDelta.y)),N1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!oN(this.projectionDelta.x,this.prevProjectionDelta.x)||!oN(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=Ec(),this.projectionDelta=Ec(),this.projectionDeltaWithTransform=Ec()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Ec();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=me(),m=l?l.source:void 0,M=this.layout?this.layout.source:void 0,f=m!==M,v=this.getStack(),_=!v||v.members.length<=1,g=!!(f&&!_&&this.options.crossfade===!0&&!this.path.some(She));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;sN(p.x,s.x,C),sN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(S1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Nhe(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&phe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=me()),He(L,this.relativeTarget)),f&&(this.animationValues=u,rhe(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&&(yt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Yx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Nc(0)),this.currentAnimation=ahe(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(mhe),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&&nq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||me();const p=$e(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=$e(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}He(d,l),Fc(d,u),N1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new yhe),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&&WL("z",s,h,this.animationValues);for(let u=0;u<UL.length;u++)WL(`rotate${UL[u]}`,s,h,this.animationValues),WL(`skew${UL[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=Xx(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=Xx(d?.pointerEvents)||""),this.hasProjected&&!_c(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=khe(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 M in V1){if(u[M]===void 0)continue;const{correct:f,applyTo:v,isCSSVariable:_}=V1[M],g=p==="none"?u[M]:f(u[M],h);if(v){const L=v.length;for(let w=0;w<L;w++)s[v[w]]=g}else _?this.options.visualElement.renderState.vars[M]=g:s[M]=g}this.options.layoutId&&(s.pointerEvents=h===this?Xx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(cN),this.root.sharedNodes.clear()}}}function ghe(e){e.updateLayout()}function vhe(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"?Re(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=$e(p);p.min=n[u].min,p.max=p.min+y}):nq(i,t.layoutBox,n)&&Re(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=$e(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=Ec();N1(s,n,t.layoutBox);const d=Ec();r?N1(d,e.applyTransform(o,!0),t.measuredBox):N1(d,n,t.layoutBox);const l=!Q$(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();S1(m,t.layoutBox,p.layoutBox);const M=me();S1(M,n,y.layoutBox),eq(m,M)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=M,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 Mhe(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 _he(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xhe(e){e.clearSnapshot()}function cN(e){e.clearMeasurements()}function iN(e){e.isLayoutDirty=!1}function Lhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ihe(e){e.resolveTargetDelta()}function bhe(e){e.calcProjection()}function whe(e){e.resetSkewAndRotation()}function Che(e){e.removeLeadSnapshot()}function sN(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 dN(e,t,n,o){e.min=le(t.min,n.min,o),e.max=le(t.max,n.max,o)}function Nhe(e,t,n,o){dN(e.x,t.x,n.x,o),dN(e.y,t.y,n.y,o)}function She(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jhe={duration:.45,ease:[.4,0,.1,1]},lN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hN=lN("applewebkit/")&&!lN("chrome/")?Math.round:Oe;function uN(e){e.min=hN(e.min),e.max=hN(e.max)}function $he(e){uN(e.x),uN(e.y)}function nq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Tle(nN(t),nN(n),.2)}function qhe(e){return e!==e.root&&e.scroll?.wasRoot}const Ahe=aq({attachResizeListener:(e,t)=>P1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),GL={current:void 0},oq=aq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!GL.current){const e=new Ahe({});e.mount(window),e.setOptions({layoutScroll:!0}),GL.current=e}return GL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zhe={pan:{Feature:Jle},drag:{Feature:Yle,ProjectionNode:oq,MeasureLayout:X$}};function pN(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,R1(t)))}class Vhe extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=e0e(t,(n,o)=>(pN(this.node,o,"Start"),i=>pN(this.node,i,"End"))))}unmount(){}}class Phe extends qt{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=H1(P1(this.node.current,"focus",()=>this.onFocus()),P1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function yN(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,R1(t)))}class The extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=o0e(t,(n,o)=>(yN(this.node,o,"Start"),(i,{success:r})=>yN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const nw=new WeakMap,ZL=new WeakMap,Hhe=e=>{const t=nw.get(e.target);t&&t(e)},Dhe=e=>{e.forEach(Hhe)};function Bhe({root:e,...t}){const n=e||document;ZL.has(n)||ZL.set(n,{});const o=ZL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Dhe,{root:e,...t})),o[i]}function Rhe(e,t,n){const o=Bhe(t);return nw.set(e,n),o.observe(e),()=>{nw.delete(e),o.unobserve(e)}}const Fhe={some:0,all:1};class Ehe extends qt{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:Fhe[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 Rhe(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(Ohe(t,n))&&this.startObserver()}unmount(){}}function Ohe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Uhe={inView:{Feature:Ehe},tap:{Feature:The},focus:{Feature:Phe},hover:{Feature:Vhe}},Whe={layout:{ProjectionNode:oq,MeasureLayout:X$}},Ghe={...$le,...Uhe,...zhe,...Whe},Bw=G0e(Ghe,ile);function cq(e){const t=$t(()=>Nc(e)),{isStatic:n}=k.useContext(uL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function iq(e,t){const n=cq(t()),o=()=>n.set(t());return o(),dw(()=>{const i=()=>se.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function Zhe(e){w1.current=[],e();const t=iq(w1.current,e);return w1.current=void 0,t}function Khe(e,t,n,o){if(typeof e=="function")return Zhe(e);const i=typeof t=="function"?t:i0e(t,n,o);return Array.isArray(e)?kN(e,i):kN([e],([r])=>i(r))}function kN(e,t){const n=$t(()=>[]);return iq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Xhe{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 Yhe=()=>new Xhe;function Jhe(){return $t(Yhe)}const rq=k.createContext(null);function Qhe(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?u2e(e,i,i+r):e}function eue({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=$t(()=>Bw[t]),l=[],h=k.useRef(!1);Xe(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=l.findIndex(M=>p===M.value);m!==-1?l[m].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(nue)},updateOrder:(p,y,m)=>{if(h.current)return;const M=Qhe(l,p,y,m);l!==M&&(h.current=!0,o(M.map(aue).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(rq.Provider,{value:u,children:e})})}const tue=k.forwardRef(eue);function aue(e){return e.value}function nue(e,t){return e.layout.min-t.layout.min}function mN(e,t=0){return be(e)?e:cq(t)}function oue({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=$t(()=>Bw[o]),h=k.useContext(rq),u={x:mN(t.x),y:mN(t.y)},p=Khe([u.x,u.y],([f,v])=>f||v?1:"unset");Xe(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:M}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(f,v)=>{const{velocity:_}=v;_[y]&&M(n,u[y].get(),_[y]),i&&i(f,v)},onLayoutMeasure:f=>m(n,f),ref:d,ignoreStrict:!0,children:e})}const cue=k.forwardRef(oue),rL=[c.jsx(I1,{size:18}),c.jsx(Lt,{size:18}),c.jsx(_1,{size:18}),c.jsx(It,{size:18}),c.jsx(p1,{size:18}),c.jsx(u1,{size:18})],iue=({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=rL[u%rL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),M=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(M){const f=M[1],v=M[2]??"",_=f.padStart(3,"0");h.text=`${y} / ${_}${v}`}}}),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(tue,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(rue,{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 rue({value:e,index:t}){const n=Jhe(),o=rL[t%rL.length]??null;return c.jsx(cue,{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(wj,{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 sue(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 due(e){return!e||typeof e=="string"&&e.trim()===""}function lue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function hue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function uue(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 pue(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 yue(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 kue(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 sL(e,t){const n=sue(e,t);if(n)return n;if(due(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=lue(o);if(r)return r;break}case"url":{const r=hue(o);if(r)return r;break}case"number":{const r=uue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=pue(e,t);if(r)return r;break}case"file":{const r=yue(e,t);if(r)return r;break}}const i=kue(o,t);return i||{isValid:!0}}function sq(e,t){const n={};let o=!0;for(const i of t){const r=sL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const mue="_formContainer_14ads_1",fue="_headerLine_14ads_17",gue="_formTitle_14ads_25",vue="_formDescription_14ads_30",Mue="_sectionTitle_14ads_37",_ue="_sectionHelp_14ads_44",xue="_fieldHelp_14ads_50",Lue="_gridContainer_14ads_58",Iue="_fieldGridItem_14ads_70",bue="_sectionFull_14ads_105",wue="_formFooter_14ads_110",Cue="_footerLeft_14ads_118",Nue="_footerRight_14ads_119",Sue="_cancelLink_14ads_125",jue="_submitButton_14ads_136",$ue="_fieldLabel_14ads_148",que="_inputWrapper_14ads_163",Aue="_inputInner_14ads_187",zue="_hasPrefix_14ads_196",Vue="_inputBase_14ads_196",Pue="_iconPrefix_14ads_292",Tue="_iconSuffix_14ads_293",Hue="_passwordToggle_14ads_319",Due="_fieldError_14ads_365",Bue="_fieldInvalid_14ads_372",ie={formContainer:mue,headerLine:fue,formTitle:gue,formDescription:vue,sectionTitle:Mue,sectionHelp:_ue,fieldHelp:xue,gridContainer:Lue,fieldGridItem:Iue,sectionFull:bue,formFooter:wue,footerLeft:Cue,footerRight:Nue,cancelLink:Sue,submitButton:jue,fieldLabel:$ue,inputWrapper:que,inputInner:Aue,hasPrefix:zue,inputBase:Vue,iconPrefix:Pue,iconSuffix:Tue,passwordToggle:Hue,fieldError:Due,fieldInvalid:Bue},dq=({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?ht[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",m=M=>{n(M.target.value)};return c.jsxs("div",{className:ie.inputWrapper,children:[c.jsx("label",{className:`${ie.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${ie.inputInner} ${p&&y==="prefix"?ie.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:ie.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ie.inputBase} ${i?ie.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:ie.passwordToggle,onClick:()=>d(M=>!M),children:s?c.jsx(f1,{size:16}):c.jsx(g1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:ie.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:ie.fieldError,children:i})]})},Rue="_fieldGroup_yb3zi_7",Fue="_fieldLabel_yb3zi_11",Eue="_required_yb3zi_17",Oue="_fieldInput_yb3zi_22",Uue="_fieldInvalid_yb3zi_40",Wue="_fieldValid_yb3zi_44",Gue="_fieldError_yb3zi_48",Zue="_radioGroup_yb3zi_57",wt={fieldGroup:Rue,fieldLabel:Fue,required:Eue,fieldInput:Oue,fieldInvalid:Uue,fieldValid:Wue,fieldError:Gue,radioGroup:Zue},mL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:wt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${wt.fieldLabel} ${e.required?wt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:wt.fieldError,children:n})]})},lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",wt.fieldInput,s?wt.fieldInvalid:"",d?wt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(mL,{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})})},Kue="_wrapper_117u4_1",Xue="_wrapperInvalid_117u4_15",Yue="_nativeSelect_117u4_19",Jue="_display_117u4_30",Que="_topLabel_117u4_37",epe="_valueLine_117u4_45",tpe="_valuePlaceholder_117u4_53",ape="_valueActive_117u4_57",npe="_caret_117u4_61",ope="_error_117u4_75",cpe="_optionStyle_117u4_89",De={wrapper:Kue,wrapperInvalid:Xue,nativeSelect:Yue,display:Jue,topLabel:Que,valueLine:epe,valuePlaceholder:tpe,valueActive:ape,caret:npe,error:ope,optionStyle:cpe},Rw=({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:`${De.wrapper} ${s?De.wrapperInvalid:""} ${t?De.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:De.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:De.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:De.display,children:[d&&c.jsx("span",{className:De.topLabel,children:d}),c.jsx("span",{className:`${De.valueLine} ${t?De.valueActive:De.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:De.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:De.error,children:i})]})},hq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(mL,{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})]})}),uq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(mL,{field:e,error:i,touched:r,children:c.jsx("div",{className:wt.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))})}),ipe="_fileInputContainer_r2guc_3",rpe="_customFileInput_r2guc_8",spe="_fileInputLabel_r2guc_12",dpe="_dragOver_r2guc_39",lpe="_uploadIcon_r2guc_44",hpe="_uploadText_r2guc_50",upe="_uploadHint_r2guc_56",ppe="_fileList_r2guc_60",ype="_fileListTitle_r2guc_69",kpe="_fileItem_r2guc_80",mpe="_fileIcon_r2guc_96",fpe="_fileName_r2guc_102",gpe="_fileSize_r2guc_108",vpe="_removeButton_r2guc_114",Mpe="_errorText_r2guc_129",Ce={fileInputContainer:ipe,customFileInput:rpe,fileInputLabel:spe,dragOver:dpe,uploadIcon:lpe,uploadText:hpe,uploadHint:upe,fileList:ppe,fileListTitle:ype,fileItem:kpe,fileIcon:mpe,fileName:fpe,fileSize:gpe,removeButton:vpe,errorText:Mpe},pq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=v=>{n(v.target.files)},u=()=>{s.current&&s.current.click()},p=v=>{v.preventDefault(),l(!0)},y=()=>{l(!1)},m=v=>{v.preventDefault(),l(!1),v.dataTransfer.files&&v.dataTransfer.files.length>0&&n(v.dataTransfer.files)},M=v=>{if(!t)return;const _=Array.from(t);_.splice(v,1);const g=new DataTransfer;_.forEach(L=>g.items.add(L)),n(g.files)},f=v=>{if(v===0)return"0 Bytes";const _=1024,g=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(v)/Math.log(_));return parseFloat((v/Math.pow(_,L)).toFixed(2))+" "+g[L]};return c.jsxs("div",{className:`${Ce.fileInputContainer} ${r&&i?Ce.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:Ce.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${Ce.fileInputLabel} ${d?Ce.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[c.jsx("div",{className:Ce.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:Ce.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:Ce.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:Ce.fileList,children:[c.jsx("div",{className:Ce.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((v,_)=>c.jsxs("li",{className:Ce.fileItem,children:[c.jsx("div",{className:Ce.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:Ce.fileName,children:v.name}),c.jsx("div",{className:Ce.fileSize,children:f(v.size)}),c.jsx("button",{type:"button",className:Ce.removeButton,onClick:g=>{g.stopPropagation(),M(_)},"aria-label":`Supprimer ${v.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:Ce.errorText,children:i})]})},_pe="_container_ecah4_2",xpe="_label_ecah4_6",Lpe="_requiredIndicator_ecah4_13",Ipe="_input_ecah4_18",bpe="_inputError_ecah4_49",wpe="_errorMessage_ecah4_58",Pc={container:_pe,label:xpe,requiredIndicator:Lpe,input:Ipe,inputError:bpe,errorMessage:wpe},yq=({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:Pc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Pc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Pc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Pc.input} ${r&&i?Pc.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:Pc.errorMessage,children:i})]})},Cpe="_rangeContainer_cyqk3_3",Npe={rangeContainer:Cpe},kq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${Npe.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})]}),Spe="_colorPickerContainer_1wxgj_2",jpe="_colorInput_1wxgj_19",$pe="_colorValue_1wxgj_39",KL={colorPickerContainer:Spe,colorInput:jpe,colorValue:$pe},mq=({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:KL.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:KL.colorInput}),c.jsx("span",{className:KL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),fq=({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(pq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(yq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(kq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(mq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Rw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(uq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(dq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var XL,fN;function qpe(){if(fN)return XL;fN=1;function e(){this.__data__=[],this.size=0}return XL=e,XL}var YL,gN;function gq(){if(gN)return YL;gN=1;function e(t,n){return t===n||t!==t&&n!==n}return YL=e,YL}var JL,vN;function fL(){if(vN)return JL;vN=1;var e=gq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return JL=t,JL}var QL,MN;function Ape(){if(MN)return QL;MN=1;var e=fL(),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 QL=o,QL}var eI,_N;function zpe(){if(_N)return eI;_N=1;var e=fL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return eI=t,eI}var tI,xN;function Vpe(){if(xN)return tI;xN=1;var e=fL();function t(n){return e(this.__data__,n)>-1}return tI=t,tI}var aI,LN;function Ppe(){if(LN)return aI;LN=1;var e=fL();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 aI=t,aI}var nI,IN;function gL(){if(IN)return nI;IN=1;var e=qpe(),t=Ape(),n=zpe(),o=Vpe(),i=Ppe();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,nI=r,nI}var oI,bN;function Tpe(){if(bN)return oI;bN=1;var e=gL();function t(){this.__data__=new e,this.size=0}return oI=t,oI}var cI,wN;function Hpe(){if(wN)return cI;wN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return cI=e,cI}var iI,CN;function Dpe(){if(CN)return iI;CN=1;function e(t){return this.__data__.get(t)}return iI=e,iI}var rI,NN;function Bpe(){if(NN)return rI;NN=1;function e(t){return this.__data__.has(t)}return rI=e,rI}var sI,SN;function vq(){if(SN)return sI;SN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return sI=e,sI}var dI,jN;function kt(){if(jN)return dI;jN=1;var e=vq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return dI=n,dI}var lI,$N;function Fw(){if($N)return lI;$N=1;var e=kt(),t=e.Symbol;return lI=t,lI}var hI,qN;function Rpe(){if(qN)return hI;qN=1;var e=Fw(),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 hI=r,hI}var uI,AN;function Fpe(){if(AN)return uI;AN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return uI=n,uI}var pI,zN;function vL(){if(zN)return pI;zN=1;var e=Fw(),t=Rpe(),n=Fpe(),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 pI=s,pI}var yI,VN;function Mq(){if(VN)return yI;VN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return yI=e,yI}var kI,PN;function _q(){if(PN)return kI;PN=1;var e=vL(),t=Mq(),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 kI=s,kI}var mI,TN;function Epe(){if(TN)return mI;TN=1;var e=kt(),t=e["__core-js_shared__"];return mI=t,mI}var fI,HN;function Ope(){if(HN)return fI;HN=1;var e=Epe(),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 fI=n,fI}var gI,DN;function xq(){if(DN)return gI;DN=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 gI=n,gI}var vI,BN;function Upe(){if(BN)return vI;BN=1;var e=_q(),t=Ope(),n=Mq(),o=xq(),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 vI=p,vI}var MI,RN;function Wpe(){if(RN)return MI;RN=1;function e(t,n){return t?.[n]}return MI=e,MI}var _I,FN;function e1(){if(FN)return _I;FN=1;var e=Upe(),t=Wpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return _I=n,_I}var xI,EN;function Ew(){if(EN)return xI;EN=1;var e=e1(),t=kt(),n=e(t,"Map");return xI=n,xI}var LI,ON;function ML(){if(ON)return LI;ON=1;var e=e1(),t=e(Object,"create");return LI=t,LI}var II,UN;function Gpe(){if(UN)return II;UN=1;var e=ML();function t(){this.__data__=e?e(null):{},this.size=0}return II=t,II}var bI,WN;function Zpe(){if(WN)return bI;WN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return bI=e,bI}var wI,GN;function Kpe(){if(GN)return wI;GN=1;var e=ML(),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 wI=i,wI}var CI,ZN;function Xpe(){if(ZN)return CI;ZN=1;var e=ML(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return CI=o,CI}var NI,KN;function Ype(){if(KN)return NI;KN=1;var e=ML(),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 NI=n,NI}var SI,XN;function Jpe(){if(XN)return SI;XN=1;var e=Gpe(),t=Zpe(),n=Kpe(),o=Xpe(),i=Ype();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,SI=r,SI}var jI,YN;function Qpe(){if(YN)return jI;YN=1;var e=Jpe(),t=gL(),n=Ew();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return jI=o,jI}var $I,JN;function eye(){if(JN)return $I;JN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return $I=e,$I}var qI,QN;function _L(){if(QN)return qI;QN=1;var e=eye();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return qI=t,qI}var AI,eS;function tye(){if(eS)return AI;eS=1;var e=_L();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return AI=t,AI}var zI,tS;function aye(){if(tS)return zI;tS=1;var e=_L();function t(n){return e(this,n).get(n)}return zI=t,zI}var VI,aS;function nye(){if(aS)return VI;aS=1;var e=_L();function t(n){return e(this,n).has(n)}return VI=t,VI}var PI,nS;function oye(){if(nS)return PI;nS=1;var e=_L();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 PI=t,PI}var TI,oS;function Lq(){if(oS)return TI;oS=1;var e=Qpe(),t=tye(),n=aye(),o=nye(),i=oye();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,TI=r,TI}var HI,cS;function cye(){if(cS)return HI;cS=1;var e=gL(),t=Ew(),n=Lq(),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 HI=i,HI}var DI,iS;function iye(){if(iS)return DI;iS=1;var e=gL(),t=Tpe(),n=Hpe(),o=Dpe(),i=Bpe(),r=cye();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,DI=s,DI}var BI,rS;function rye(){if(rS)return BI;rS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return BI=t,BI}var RI,sS;function sye(){if(sS)return RI;sS=1;function e(t){return this.__data__.has(t)}return RI=e,RI}var FI,dS;function dye(){if(dS)return FI;dS=1;var e=Lq(),t=rye(),n=sye();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,FI=o,FI}var EI,lS;function lye(){if(lS)return EI;lS=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 EI=e,EI}var OI,hS;function hye(){if(hS)return OI;hS=1;function e(t,n){return t.has(n)}return OI=e,OI}var UI,uS;function Iq(){if(uS)return UI;uS=1;var e=dye(),t=lye(),n=hye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,M=d.length;if(m!=M&&!(y&&M>m))return!1;var f=p.get(s),v=p.get(d);if(f&&v)return f==d&&v==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 UI=r,UI}var WI,pS;function uye(){if(pS)return WI;pS=1;var e=kt(),t=e.Uint8Array;return WI=t,WI}var GI,yS;function pye(){if(yS)return GI;yS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return GI=e,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){o[++n]=i}),o}return ZI=e,ZI}var KI,mS;function kye(){if(mS)return KI;mS=1;var e=Fw(),t=uye(),n=gq(),o=Iq(),i=pye(),r=yye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",M="[object Set]",f="[object String]",v="[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 M: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 v:if(w)return w.call(b)==w.call(x)}return!1}return KI=C,KI}var XI,fS;function mye(){if(fS)return XI;fS=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 XI=e,XI}var YI,gS;function Ow(){if(gS)return YI;gS=1;var e=Array.isArray;return YI=e,YI}var JI,vS;function fye(){if(vS)return JI;vS=1;var e=mye(),t=Ow();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return JI=n,JI}var QI,MS;function gye(){if(MS)return QI;MS=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 QI=e,QI}var eb,_S;function vye(){if(_S)return eb;_S=1;function e(){return[]}return eb=e,eb}var tb,xS;function Mye(){if(xS)return tb;xS=1;var e=gye(),t=vye(),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 tb=r,tb}var ab,LS;function _ye(){if(LS)return ab;LS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return ab=e,ab}var nb,IS;function xL(){if(IS)return nb;IS=1;function e(t){return t!=null&&typeof t=="object"}return nb=e,nb}var ob,bS;function xye(){if(bS)return ob;bS=1;var e=vL(),t=xL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return ob=o,ob}var cb,wS;function Lye(){if(wS)return cb;wS=1;var e=xye(),t=xL(),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 cb=r,cb}var l1={exports:{}},ib,CS;function Iye(){if(CS)return ib;CS=1;function e(){return!1}return ib=e,ib}l1.exports;var NS;function bq(){return NS||(NS=1,function(e,t){var n=kt(),o=Iye(),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}(l1,l1.exports)),l1.exports}var rb,SS;function bye(){if(SS)return rb;SS=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 rb=n,rb}var sb,jS;function wq(){if(jS)return sb;jS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return sb=t,sb}var db,$S;function wye(){if($S)return db;$S=1;var e=vL(),t=wq(),n=xL(),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]",M="[object String]",f="[object WeakMap]",v="[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[v]=q[r]=q[_]=q[s]=q[d]=q[l]=q[h]=q[u]=q[p]=q[y]=q[m]=q[M]=q[f]=!1;function $(P){return n(P)&&t(P.length)&&!!q[e(P)]}return db=$,db}var lb,qS;function Cye(){if(qS)return lb;qS=1;function e(t){return function(n){return t(n)}}return lb=e,lb}var h1={exports:{}};h1.exports;var AS;function Nye(){return AS||(AS=1,function(e,t){var n=vq(),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}(h1,h1.exports)),h1.exports}var hb,zS;function Cq(){if(zS)return hb;zS=1;var e=wye(),t=Cye(),n=Nye(),o=n&&n.isTypedArray,i=o?t(o):e;return hb=i,hb}var ub,VS;function Sye(){if(VS)return ub;VS=1;var e=_ye(),t=Lye(),n=Ow(),o=bq(),i=bye(),r=Cq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),m=!p&&!y&&o(h),M=!p&&!y&&!m&&r(h),f=p||y||m||M,v=f?e(h.length,String):[],_=v.length;for(var g in h)(u||d.call(h,g))&&!(f&&(g=="length"||m&&(g=="offset"||g=="parent")||M&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||i(g,_)))&&v.push(g);return v}return ub=l,ub}var pb,PS;function jye(){if(PS)return pb;PS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return pb=t,pb}var yb,TS;function $ye(){if(TS)return yb;TS=1;function e(t,n){return function(o){return t(n(o))}}return yb=e,yb}var kb,HS;function qye(){if(HS)return kb;HS=1;var e=$ye(),t=e(Object.keys,Object);return kb=t,kb}var mb,DS;function Aye(){if(DS)return mb;DS=1;var e=jye(),t=qye(),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 mb=i,mb}var fb,BS;function zye(){if(BS)return fb;BS=1;var e=_q(),t=wq();function n(o){return o!=null&&t(o.length)&&!e(o)}return fb=n,fb}var gb,RS;function Vye(){if(RS)return gb;RS=1;var e=Sye(),t=Aye(),n=zye();function o(i){return n(i)?e(i):t(i)}return gb=o,gb}var vb,FS;function Pye(){if(FS)return vb;FS=1;var e=fye(),t=Mye(),n=Vye();function o(i){return e(i,n,t)}return vb=o,vb}var Mb,ES;function Tye(){if(ES)return Mb;ES=1;var e=Pye(),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,M=e(s),f=M.length;if(m!=f&&!p)return!1;for(var v=m;v--;){var _=y[v];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;++v<m;){_=y[v];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 Mb=i,Mb}var _b,OS;function Hye(){if(OS)return _b;OS=1;var e=e1(),t=kt(),n=e(t,"DataView");return _b=n,_b}var xb,US;function Dye(){if(US)return xb;US=1;var e=e1(),t=kt(),n=e(t,"Promise");return xb=n,xb}var Lb,WS;function Bye(){if(WS)return Lb;WS=1;var e=e1(),t=kt(),n=e(t,"Set");return Lb=n,Lb}var Ib,GS;function Rye(){if(GS)return Ib;GS=1;var e=e1(),t=kt(),n=e(t,"WeakMap");return Ib=n,Ib}var bb,ZS;function Fye(){if(ZS)return bb;ZS=1;var e=Hye(),t=Ew(),n=Dye(),o=Bye(),i=Rye(),r=vL(),s=xq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),M=s(t),f=s(n),v=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 M:return d;case f:return h;case v:return u;case _:return p}return w}),bb=g,bb}var wb,KS;function Eye(){if(KS)return wb;KS=1;var e=iye(),t=Iq(),n=kye(),o=Tye(),i=Fye(),r=Ow(),s=bq(),d=Cq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function M(f,v,_,g,L,w){var C=r(f),b=r(v),x=C?u:i(f),I=b?u:i(v);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(v))return!1;C=!0,S=!1}if(q&&!S)return w||(w=new e),C||d(f)?t(f,v,_,g,L,w):n(f,v,x,_,g,L,w);if(!(_&l)){var $=S&&m.call(f,"__wrapped__"),P=j&&m.call(v,"__wrapped__");if($||P){var T=$?f.value():f,z=P?v.value():v;return w||(w=new e),L(T,z,_,g,w)}}return q?(w||(w=new e),o(f,v,_,g,L,w)):!1}return wb=M,wb}var Cb,XS;function Oye(){if(XS)return Cb;XS=1;var e=Eye(),t=xL();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 Cb=n,Cb}var Nb,YS;function Uye(){if(YS)return Nb;YS=1;var e=Oye();function t(n,o){return e(n,o)}return Nb=t,Nb}var Wye=Uye();const Gye=a.getDefaultExportFromCjs(Wye),Zye=({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,M]=k.useState({}),[f,v]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Gye(_.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 $=sL(S,q);y(P=>({...P,[I]:$.isValid?"":$.error}))}}},L=I=>{if(!m[I]){M(j=>({...j,[I]:!0}));const S=e.fields.find(j=>j.name===I);if(S){const j=sL(h[I],S);y(q=>({...q,[I]:j.isValid?"":j.error}))}}},w=async I=>{I.preventDefault(),v(!0);const S=e.fields.reduce((q,$)=>($.type!=="section"&&(q[$.name]=!0),q),{});M(S);const j=sq(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"}))}v(!1)},C=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,x=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:ie.formContainer,children:[c.jsx("div",{className:ie.headerLine,children:c.jsx("h2",{className:ie.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:ie.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${ie.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:w,children:[c.jsx("div",{className:ie.gridContainer,style:{gridTemplateColumns:`repeat(${x}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return c.jsxs("div",{className:ie.sectionFull,children:[c.jsx("h5",{className:ie.sectionTitle,children:I.label}),I.help&&c.jsx("p",{className:ie.sectionHelp,children:I.help})]},I.name);const j={gridColumn:`span ${Math.max(1,Math.min(x,I.gridCol??x))}`};return c.jsxs("div",{className:ie.fieldGridItem,style:j,children:[c.jsx(fq,{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:ie.fieldHelp,children:I.help})]},I.name)})}),c.jsxs("div",{className:ie.formFooter,children:[c.jsx("div",{className:ie.footerLeft,children:s&&c.jsxs("button",{type:"button",className:ie.cancelLink,onClick:s,children:[C&&c.jsx(C,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:ie.footerRight,children:c.jsx(Jx,{type:"submit",variant:"primary",size:"md",className:ie.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 Kye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Xye="_container_1gljv_85",Yye="_tableWrapper_1gljv_111",Jye="_tableControls_1gljv_117",Qye="_controlsRight_1gljv_128",e4e="_limitedRows_1gljv_151",t4e="_table_1gljv_111",a4e="_headerCell_1gljv_206",n4e="_headerContent_1gljv_220",o4e="_headerWords_1gljv_229",c4e="_headerWord_1gljv_229",i4e="_cellContent_1gljv_276",r4e="_alignLeft_1gljv_286",s4e="_alignCenter_1gljv_290",d4e="_alignRight_1gljv_294",l4e="_tableCell_1gljv_298",h4e="_tableRow_1gljv_308",u4e="_emptyRow_1gljv_385",p4e="_toggleFiltersButton_1gljv_393",y4e="_toggleSortButton_1gljv_394",k4e="_buttonTextCompact_1gljv_415",m4e="_uppercaseSmall_1gljv_450",f4e="_filtersPanel_1gljv_463",g4e="_filtersPanelInline_1gljv_481",v4e="_filtersPanelHorizontal_1gljv_492",M4e="_filtersRow_1gljv_492",_4e="_filtersActionsHorizontal_1gljv_525",x4e="_filterItemInline_1gljv_542",L4e="_filterLabel_1gljv_571",I4e="_filterInput_1gljv_576",b4e="_filterSelect_1gljv_577",w4e="_operatorSelect_1gljv_578",C4e="_operatorInput_1gljv_579",N4e="_activeFilterTag_1gljv_597",S4e="_actionsGroup_1gljv_609",j4e="_applyButton_1gljv_615",$4e="_cancelButton_1gljv_625",q4e="_columnSorterContainer_1gljv_649",A4e="_sorterControls_1gljv_654",z4e="_sortDropdownWrapper_1gljv_659",V4e="_sortDropdown_1gljv_659",P4e="_sortDropdownHeader_1gljv_679",T4e="_closeButton_1gljv_688",H4e="_sortDropdownContent_1gljv_703",D4e="_sortDropdownItem_1gljv_709",B4e="_sortDirectionButtons_1gljv_734",R4e="_sortDirectionButton_1gljv_734",F4e="_activeSort_1gljv_757",E4e="_sortActions_1gljv_764",O4e="_paginationButton_1gljv_842",U4e="_pageSizeSelect_1gljv_844",W4e="_topPagination_1gljv_853",G4e="_paginationContainer_1gljv_861",Z4e="_leftGroup_1gljv_874",K4e="_pageSizeControls_1gljv_882",X4e="_paginationInfo_1gljv_908",Y4e="_paginationControls_1gljv_916",J4e="_disabledButton_1gljv_947",Q4e="_activeButton_1gljv_952",e5e="_navigationButton_1gljv_962",t5e="_operatorFilterContainer_1gljv_1010",a5e="_rangeSeparator_1gljv_1016",n5e="_activeFiltersSection_1gljv_1179",o5e="_activeFiltersRow_1gljv_1184",c5e="_activeFiltersList_1gljv_1192",i5e="_clearAllButton_1gljv_1200",r5e="_removeFilterButton_1gljv_1221",s5e="_sortIndicator_1gljv_1272",d5e="_active_1gljv_349",l5e="_clearSortButton_1gljv_1371",h5e="_loaderSpinner_1gljv_2743",u5e="_loaderSpinnerSmall_1gljv_2755",p5e="_paginationLoading_1gljv_2772",y5e="_loadingButton_1gljv_2780",k5e="_loadingIndicator_1gljv_2791",V={container:Xye,tableWrapper:Yye,tableControls:Jye,controlsRight:Qye,limitedRows:e4e,table:t4e,headerCell:a4e,headerContent:n4e,headerWords:o4e,headerWord:c4e,cellContent:i4e,alignLeft:r4e,alignCenter:s4e,alignRight:d4e,tableCell:l4e,tableRow:h4e,emptyRow:u4e,toggleFiltersButton:p4e,toggleSortButton:y4e,buttonTextCompact:k4e,uppercaseSmall:m4e,filtersPanel:f4e,filtersPanelInline:g4e,filtersPanelHorizontal:v4e,filtersRow:M4e,filtersActionsHorizontal:_4e,filterItemInline:x4e,filterLabel:L4e,filterInput:I4e,filterSelect:b4e,operatorSelect:w4e,operatorInput:C4e,activeFilterTag:N4e,actionsGroup:S4e,applyButton:j4e,cancelButton:$4e,columnSorterContainer:q4e,sorterControls:A4e,sortDropdownWrapper:z4e,sortDropdown:V4e,sortDropdownHeader:P4e,closeButton:T4e,sortDropdownContent:H4e,sortDropdownItem:D4e,sortDirectionButtons:B4e,sortDirectionButton:R4e,activeSort:F4e,sortActions:E4e,paginationButton:O4e,pageSizeSelect:U4e,topPagination:W4e,paginationContainer:G4e,leftGroup:Z4e,pageSizeControls:K4e,paginationInfo:X4e,paginationControls:Y4e,disabledButton:J4e,activeButton:Q4e,navigationButton:e5e,operatorFilterContainer:t5e,rangeSeparator:a5e,activeFiltersSection:n5e,activeFiltersRow:o5e,activeFiltersList:c5e,clearAllButton:i5e,removeFilterButton:r5e,sortIndicator:s5e,active:d5e,clearSortButton:l5e,loaderSpinner:h5e,loaderSpinnerSmall:u5e,paginationLoading:p5e,loadingButton:y5e,loadingIndicator:k5e},m5e=({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"})]}),f5e=({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}),g5e=({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))})},JS=({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})},v5e=({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))]})},M5e=({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})},_5e=({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})]})},x5e=({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})]})},L5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(M5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(JS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(JS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(v5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(_5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(g5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(f5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(x5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(m5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Nq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const M={};return e.forEach(f=>{f.type==="daterange"?M[f.id]={start:"",end:""}:M[f.id]=f.defaultValue??""}),M});k.useEffect(()=>{if(!i)return;const M={...d??{}};e.forEach(f=>{f.id in M||(M[f.id]=f.type==="daterange"?{start:"",end:""}:f.defaultValue??"")}),(t||[]).forEach(f=>{!f||!f.id||(M[f.id]=f.value)}),l(M),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(M=>M.id))]);const h=i?t:r,u=k.useCallback((M,f)=>{l(v=>({...v,[M]:f}))},[]),p=k.useCallback(async()=>{const M=[],f={...d};for(const[v,_]of Object.entries(f)){const g=e.find(C=>C.id===v);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||M.push({id:v,type:g.type,value:L,label:g.label})}return i?n?.(M):(s(M),o?.(M)),M},[d,e,i,n,o]),y=k.useCallback(M=>{l(f=>({...f,[M]:void 0})),u(M,void 0)},[u]),m=k.useCallback(()=>{const M={};e.forEach(f=>{f.type==="daterange"?M[f.id]={start:"",end:""}:M[f.id]=f.defaultValue??""}),l(M),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},I5e=(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 Sq(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(v=>t.some(_=>{const g=v.data[_.id];return g==null?!1:String(g).toLowerCase().includes(l)}))),s.length>0&&(f=f.filter(v=>s.every(_=>{try{const g=v.data[_.id];return I5e(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((v,_)=>{const g=v.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,M=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:m,endIndex:M}}const jq=({value:e})=>e,$q=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),qq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Aq=({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)},zq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Vq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),Pq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Tq=({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"})),ow={renderers:{text:jq,email:$q,link:qq,badge:Aq,date:zq,number:Vq,currency:Pq,image:Tq},icons:{sortAsc:k.createElement(bc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Nt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Oc,{className:"sort-icon",size:14})}},b5e=(e,t)=>{ow.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),ow.renderers[e]=t},w5e=({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:M=!1,loading:f=!1})=>{const[v,_]=k.useState(!1),g=typeof s=="boolean"?s:v,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:x}=Nq({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(xt,{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(L5e,{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(Ze,{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:M||f,"aria-disabled":M||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:V.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},QS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},C5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(M=>M.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(M,f)=>{n({key:M,direction:f}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(M=>!M),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const M=v=>{if(!l.current)return;const _=v.target;_&&!l.current.contains(_)&&s(!1)},f=v=>{v.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",M),document.addEventListener("keydown",f),()=>{document.removeEventListener("pointerdown",M),document.removeEventListener("keydown",f)}},[r]),k.useEffect(()=>{const M=document.querySelector("[data-table-wrapper]");if(!M)return;const f=M.style.overflow??"";return r?M.style.overflow="hidden":M.style.overflow=f,()=>{M.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(Oc,{size:14}),c.jsx("span",{className:`${V.buttonTextCompact} ${QS(o)?V.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:V.sortIndicator,children:t?.direction==="asc"?c.jsx(bc,{size:12}):c.jsx(Nt,{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(Ze,{size:16})})]}),c.jsx("div",{className:V.sortDropdownContent,children:d.map(M=>{const f=String(M.label??M.id),v=QS(f);return c.jsxs("div",{className:V.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(M.id,"asc")},children:[c.jsx("span",{className:`${V.columnSorterLabel} ${v?V.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:V.sortDirectionButtons,children:[c.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===M.id&&t?.direction==="asc"?V.activeSort:""}`,onClick:()=>u(M.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(bc,{size:12})}),c.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===M.id&&t?.direction==="desc"?V.activeSort:""}`,onClick:()=>u(M.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(Nt,{size:12})})]})]},M.id)})}),h&&c.jsx("div",{className:V.sortActions,children:c.jsxs("button",{className:V.clearSortButton,onClick:p,type:"button",children:[c.jsx(_t,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},N5e=({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,M=()=>{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}):"«"}),M().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}):"»"})]})]})},S5e=(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)},j5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},$5e=({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=S5e(String(t.label??""),i),s=j5e(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}`)})})}),q5e=({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})})},A5e=({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(q5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},z5e=({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(A5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Hq=({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:M,onPageSizeChange:f,onPageChange:v,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,R]=k.useState(n.pageSize??10),[B,H]=k.useState(!1),Z=k.useRef(null),[E,X]=k.useState([]),re=p?d:E,ue=p?[]:E;k.useEffect(()=>{const Q=n.currentPage??1,$c=n.pageSize??10;Q!==z&&N(Q),$c!==A&&R($c)},[n.currentPage,n.pageSize]);const{paginatedData:Ne,sortedData:ne,totalPages:ye,startIndex:F}=Sq(t,e,i,P,z,A,ue),Y=ne.length,oe=typeof $=="number"&&$>=0?$:Y;let ee=ye;typeof $=="number"&&$>=0&&(ee=Math.max(1,Math.ceil($/A)));const pe=Y>10;k.useEffect(()=>{const Q=Math.max(1,Math.floor(ee));z>Q&&N(Q),z<1&&N(1)},[ee]);const _e=Q=>{p||X(Q),l?.(Q),N(1),v?.(1)},fe=Q=>{p||X(Q),h?.(Q),N(1),v?.(1),Z.current&&Z.current.style.setProperty("--filters-panel-height","0px")},Se=Q=>{v?.(Q),N(Q)},we=Q=>{R(Q),N(1),f?.(Q),v?.(1)},de=Q=>{Z.current&&Z.current.style.setProperty("--filters-panel-height",`${Math.round(Q)}px`)},xe=Q=>{T(Q),u?.(Q)},mt=Q=>{H(Q),!Q&&Z.current&&Z.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(re?.length??0)>0&&H(!0)},[re]),k.useEffect(()=>{s.length>0&&re.length>0&&H(!0)},[s.length,re.length]);const jc=(re?.length??0)>0&&L?L:g;return c.jsxs("div",{ref:Z,className:`${V.container} ${r} ${B?V.filtersOpen:""}`,style:{background:M,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:V.tableControls,children:c.jsxs("div",{className:V.controlsRight,children:[c.jsx(C5e,{columns:e,onSort:xe,label:w,sortConfig:P,loading:q}),s.length>0&&c.jsx(w5e,{filters:s,externalFilters:re,onFiltersChange:_e,onApply:fe,isControlled:p,debounceTimeout:y,expanded:B,onToggle:mt,panelPlacement:"top",onPanelHeightChange:de,label:jc,applyLabel:C,cancelLabel:b,clearLabel:x,applyDisabled:I,loading:j})]})}),c.jsx("div",{className:V.topPagination,children:c.jsx(N5e,{currentPage:z,totalPages:ee,pageSize:A,totalItems:oe,itemLabel:_,onPageChange:Se,onPageSizeChange:we,loading:S})}),c.jsx("div",{className:`${V.tableWrapper} ${pe?V.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:V.table,children:[c.jsx($5e,{columns:e}),c.jsx(z5e,{data:Ne,columns:e,onRowClick:o,startIndex:F,getRowStyle:m,searchTerm:i})]})})]})};function V5e(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(Hq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const P5e="_mpRoot_31595_1",T5e="_mpHeader_31595_22",H5e="_mpTitle_31595_31",D5e="_mpList_31595_35",B5e="_mpVertical_31595_41",R5e="_mpHorizontal_31595_46",F5e="_mpItem_31595_55",E5e="_mpClickable_31595_95",O5e="_mpLeft_31595_117",U5e="_mpIcon_31595_125",W5e="_mpMeta_31595_140",G5e="_mpLabel_31595_145",Z5e="_mpDate_31595_154",K5e="_mpRight_31595_160",X5e="_mpValue_31595_168",Y5e="_mpHint_31595_176",J5e="_mpBadge_31595_180",Q5e="_mpBadgeTop_31595_199",eke="_mpBadgeSub_31595_206",tke="_mpBadgeSmall_31595_213",ake="_mpPill_31595_229",nke="_mpRounded_31595_232",oke="_mpCompact_31595_236",cke="_compactItemWrapper_31595_252",ike="_mpSummaryRoot_31595_265",rke="_mpSummaryInner_31595_269",ske="_mpSummaryFlex_31595_284",dke="_mpSummaryCardWrapperHorizontal_31595_292",lke="_mpSummaryCardWrapper_31595_292",hke="_mpSummaryCardHorizontal_31595_303",uke="_mpSummaryCard_31595_292",pke="_mpSummaryValue_31595_321",yke="_mpSummaryLabel_31595_327",kke="_mpSummaryBadge_31595_338",mke="_mpSummaryBadgeSub_31595_357",fke="_mpEmpty_31595_365",gke="_mpSummaryVertical_31595_372",vke="_mpIconSquare_31595_380",W={mpRoot:P5e,mpHeader:T5e,mpTitle:H5e,mpList:D5e,mpVertical:B5e,mpHorizontal:R5e,mpItem:F5e,mpClickable:E5e,mpLeft:O5e,mpIcon:U5e,mpMeta:W5e,mpLabel:G5e,mpDate:Z5e,mpRight:K5e,mpValue:X5e,mpHint:Y5e,mpBadge:J5e,mpBadgeTop:Q5e,mpBadgeSub:eke,mpBadgeSmall:tke,mpPill:ake,mpRounded:nke,mpCompact:oke,compactItemWrapper:cke,mpSummaryRoot:ike,mpSummaryInner:rke,mpSummaryFlex:ske,mpSummaryCardWrapperHorizontal:dke,mpSummaryCardWrapper:lke,mpSummaryCardHorizontal:hke,mpSummaryCard:uke,mpSummaryValue:pke,mpSummaryLabel:yke,mpSummaryBadge:kke,mpSummaryBadgeSub:mke,mpEmpty:fke,mpSummaryVertical:gke,mpIconSquare:vke},Ct=(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})`},Mke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[W.mpItem,t==="pill"?W.mpPill:W.mpRounded,n?W.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:W.mpLeft,children:[h?c.jsx("div",{className:W.mpIconSquare,style:{background:u??Ct(p??o??"#7c3aed",1),border:`1px solid ${Ct(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:W.mpIcon,children:e.icon}):null,c.jsxs("div",{className:W.mpMeta,children:[c.jsx("div",{className:W.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:W.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:W.mpDate,children:e.date})]})]}),c.jsxs("div",{className:W.mpRight,children:[c.jsx("div",{className:W.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[W.mpBadge,e.badge.small?W.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Ct(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Ct(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:W.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:W.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:W.mpHint,children:e.hint}):null]})]})},_ke=k.memo(Mke),ej=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:W.mpHeader,children:[c.jsx("div",{className:W.mpTitle,children:e}),c.jsx("div",{children:t})]}),tj=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},xke=({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??tj("#7c3aed",.12),border:`1px solid ${tj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Lke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:W.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:W.mpSummaryLabel,children:e.label}),c.jsx("div",{className:W.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]})]}),aj=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},nj=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:aj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:aj("#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]})]}),oj=(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}},Ike=e=>{switch(e){case"image":return t=>k.createElement(xke,{item:t});case"pertinence":return t=>k.createElement(Lke,{item:t});case"alternateHorizontal":return t=>oj(nj,t);case"compact":return t=>oj(nj,t);case"summary":return;case"default":default:return}},Dq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?W.mpSummaryCardHorizontal:W.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:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:W.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:W.mpSummaryLabel,children:e.label})]})},bke=["transparent","transparent","transparent","transparent"],wke=["transparent","transparent","transparent","transparent"],Cke=["#059669","#2563eb","#b45309","#7c3aed"],Nke=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Bq=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:M=bke,summaryBorderColors:f=wke,summaryValueColors:v=Cke,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":Nke(r,.08),"--mp-bg-primary":g},T=[W.mpRoot,$?W.mpVertical:W.mpHorizontal,s?W.mpCompact:"",m?W.mpSummaryRoot:"",o!=="auto"?o==="vertical"?W.mpOrientationVertical:W.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(Ike(_)??void 0),[y,_]);if(m){const N=o==="horizontal"?W.mpSummaryFlex:W.mpSummaryVertical,R={...(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(ej,{title:d}),c.jsx("div",{className:W.mpSummaryInner,children:c.jsx("div",{className:`${N} ${w??""}`,style:R,children:t.length===0?c.jsx("div",{className:W.mpEmpty,children:p}):t.map((B,H)=>{const Z=B.bgColor??M[H%M.length],E=B.borderColor??f[H%f.length],X=B.valueColor??v[H%v.length];return z?c.jsx("div",{className:o==="horizontal"?W.mpSummaryCardWrapperHorizontal:W.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...q??{}},children:z(B,H)},B.id):c.jsx(Dq,{item:B,orientation:o==="horizontal"?"horizontal":"vertical",bg:Z,border:E,valueColor:X,onClick:l,width:S??void 0,height:j??void 0,extraStyle:q},B.id)})})})]})}return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(ej,{title:d}),c.jsx("div",{className:W.mpList,style:L,children:u?c.jsx("div",{className:W.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:W.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?W.compactItemWrapper:void 0,style:A,children:c.jsx(_ke,{item:N,shape:i,onItemClick:l,color:r,renderItem:z?R=>z(R,t.indexOf(R)):void 0})},N.id)})})]})};k.memo(Bq);const Ske=({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})=>{const m=t?typeof t=="number"?`${t}px`:t:void 0,M=n?typeof n=="number"?`${n}px`:n:void 0,f=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),v=f?r:void 0,_=v?.icon?ht[v.icon]:void 0,g=28,L=v?.iconSize??g,w=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),C=o.contentBackground??void 0,b=typeof h=="number"?`${h}px`:h;return c.jsxs("div",{className:w,style:{width:m,height:M,color:o.text,background:o.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:b,...s},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{title:e?.mode==="guide"?e.description:e?.mode==="key"?[y?`${e.textLabel||"Texte"}: ${y}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,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:C},children:l||(f&&v?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[_&&c.jsx("div",{className:"placeholder-icon",style:{width:L,height:L},children:c.jsx(_,{color:v.iconColor??"currentColor",size:typeof L=="number"?L:parseInt(String(L),10)||g})}),v.text&&c.jsx("div",{className:"placeholder-text",children:v.text}),v.subtext&&c.jsx("div",{className:"placeholder-subtext",children:v.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Uw=({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?ht[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:"✕"})]})},Rq=k.createContext(null),jke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,$ke=({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(()=>{M(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=jke(),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},M=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))},v=()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear(),s([])},_=x=>{h.current=x},g=()=>r.slice(),L=k.useMemo(()=>({showAlert:m,dismissAlert:M,updateAlert:f,clearAlerts:v,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(k0e,{mode:"popLayout",children:r.map(x=>c.jsx(Bw.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(Uw,{id:x.id,text:x.text,subtext:x.subtext,icon:x.icon,background:"transparent",colorTextPrimary:x.colorTextPrimary,colorTextSub:x.colorTextSub,model:x.model,onClose:()=>M(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(Rq.Provider,{value:L,children:[w?iw.createPortal(C,w):b,e]})},qke=()=>{const e=k.useContext(Rq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Ake={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"}},zke="_container_18zbo_1",Vke="_icon_18zbo_9",Pke="_selectWrapper_18zbo_23",Sb={container:zke,icon:Vke,selectWrapper:Pke},Tke=({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:Sb.container,children:[c.jsxs("div",{className:Sb.icon,children:[c.jsx(y1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Sb.selectWrapper,children:c.jsx(Rw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Hke=250,Dke=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,M]=k.useState(!1),[f,v]=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?.(),v(!1),M(!0))},close:()=>{m&&(r?.(),v(!1),M(!1))},toggle:()=>{m?(r?.(),v(!1),M(!1)):(o?.(),v(!1),M(!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){v(!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){v(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},Hke+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?.(),v(!1),M(!1))};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m,r]);const C=()=>{u&&(r?.(),v(!1),M(!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?.(),v(!1),M(!1)},children:c.jsx(Ze,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function Bke(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 Rke="_container_1pfsp_1",Fke="_title_1pfsp_8",cj={container:Rke,title:Fke},Eke=({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:`${cj.container} ${o}`,style:r,children:c.jsx("h2",{className:cj.title,children:e})})},Oke="_modalOverlay_1dmfp_1",Uke="_modalContainer_1dmfp_16",Wke="_modalTitle_1dmfp_29",Gke="_modalInput_1dmfp_38",Zke="_modalTextarea_1dmfp_39",Kke="_modalActions_1dmfp_71",Xke="_cancelBtn_1dmfp_78",Yke="_saveBtn_1dmfp_100",Jke="_inputError_1dmfp_148",Qke="_inlineAlert_1dmfp_153",We={modalOverlay:Oke,modalContainer:Uke,modalTitle:Wke,modalInput:Gke,modalTextarea:Zke,modalActions:Kke,cancelBtn:Xke,saveBtn:Yke,inputError:Jke,inlineAlert:Qke},Sc=({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),[M,f]=k.useState(!1),[v,_]=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:We.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:We.modalContainer,onMouseDown:b,onClick:b,children:[c.jsx("h2",{className:We.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"?`${We.modalTextarea} ${j?We.inputError:""}`:`${We.modalInput} ${j?We.inputError:""}`,tabIndex:0,disabled:M};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&&v&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Uw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:We.inlineAlert})})]},x.name)}),c.jsxs("div",{className:We.modalActions,children:[c.jsx("button",{className:We.cancelBtn,onClick:t,type:"button",disabled:M,children:u}),c.jsx("button",{className:We.saveBtn,onClick:w,type:"button",disabled:M||!!d,children:M?"En cours...":h})]})]})})},e3e=({title:e,keyCount:t,onAddKey:n})=>{const[o,i]=k.useState(!1),r=s=>{const d=s.key;n&&d&&n(d)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>i(!0),className:"add-key-button",children:[c.jsx(Gc,{className:"add-key-icon"}),"Clé"]}),c.jsx(Sc,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},t3e=({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,M]=k.useState(!1),f=()=>l(!0),v=()=>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:{}})}v()},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(Wc,{size:20,className:"menu-toggle",onClick:()=>M(!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(Uc,{size:18,className:"header-folder",onClick:f}),c.jsx(Wc,{size:18,className:"header-menu",onClick:()=>M(!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(v1,{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(x1,{onClick:j=>g(j,x),color:"#777",size:16}),n&&c.jsx(St,{onClick:j=>C(j,x.id),color:"#777",size:16})]})]},x.id)})}),c.jsx(Sc,{isOpen:d,onClose:v,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(Sc,{isOpen:!!h,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Fq=({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:r?.mode==="guide"?r.description||e:r?.mode==="key"?r.key:void 0,children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(L1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:s=>n?.(s.target.value),className:"search-input"})]}),a3e=({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(""),[M,f]=k.useState(null),[v,_]=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,v),f(null),_("")},A=()=>{f(null),_("")},R=async H=>{const Z=H.name?.trim();if(Z){if(S(null),q(!1),Z===e||!i)return C(!1),"ok";try{const E=await i(e,Z);if(typeof E=="string"&&E==="ok")C(!1),S(null);else{if(typeof E=="string"&&E==="duplicate-same")return S("Une clé existe déjà dans ce module."),q(!0),"duplicate-same";if(typeof E=="string"&&E==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(E){console.error("Erreur handleRenameSave:",E),S("Erreur lors du renommage.")}}},B=(H,Z)=>{if(H!=="name")return;const E=Z.trim();S(null),q(!1),E&&typeof h=="function"&&(h(E,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(m1,{className:"collapse-icon"}):c.jsx(Nt,{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(dt,{className:"action-icon"})}),c.jsx("button",{onClick:H=>{H.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(St,{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:M===H.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:v,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:!v.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:A,className:"cancel-button",children:c.jsx(Ze,{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(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,H.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ze,{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(Ze,{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(Sc,{isOpen:w,onClose:()=>{C(!1),S(null),q(!1)},onSave:R,onFieldChange:B,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:j})]})},n3e="_wrapper_1wvht_1",o3e="_leftGroup_1wvht_12",c3e="_filterButton_1wvht_21",i3e="_open_1wvht_42",r3e="_filterIcon_1wvht_42",s3e="_infoText_1wvht_58",d3e="_pickerContainer_1wvht_66",l3e="_srOnly_1wvht_79",h3e="_pickerLabel_1wvht_91",u3e="_datetime_1wvht_98",p3e="_rightGroup_1wvht_107",y3e="_searchInputWrap_1wvht_116",k3e="_searchInput_1wvht_116",m3e="_searchIcon_1wvht_152",qe={wrapper:n3e,leftGroup:o3e,filterButton:c3e,open:i3e,filterIcon:r3e,infoText:s3e,pickerContainer:d3e,srOnly:l3e,pickerLabel:h3e,datetime:u3e,rightGroup:p3e,searchInputWrap:y3e,searchInput:k3e,searchIcon:m3e};function f3e({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:qe.wrapper,ref:d,children:[c.jsxs("div",{className:qe.leftGroup,children:[c.jsxs("button",{type:"button",className:`${qe.filterButton} ${o?qe.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:qe.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:qe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:qe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:qe.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:qe.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:qe.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:qe.rightGroup,children:c.jsxs("div",{className:qe.searchInputWrap,children:[c.jsx("input",{className:qe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:qe.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 g3e=({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 M=Array.isArray(r)?r:[],f=M.length===0,v=M.every(w=>typeof w=="string"),_=M.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})]}):v&&!_?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:M.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:M.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)})})]})},v3e=({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(M=>Array.isArray(M)),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((M,f)=>{const v=u[f]||"";if(Array.isArray(M)){const[_,g]=M,L=s[f]||r;return c.jsxs("div",{className:`clb-row ${v}`,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 ${v}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:M})]},f):c.jsx("div",{className:`clb-fullrow ${v}`,style:{background:h??void 0},children:c.jsx("span",{children:M})},f)})})]})},M3e=({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)})})]})},_3e=({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}))}),x3e=({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}))}),L3e="_overlay_i1ay5_2",I3e="_fadeIn_i1ay5_1",b3e="_popup_i1ay5_17",w3e="_slideUp_i1ay5_1",C3e="_header_i1ay5_28",N3e="_body_i1ay5_40",S3e="_footer_i1ay5_51",j3e="_cancelButton_i1ay5_59",$3e="_confirmButton_i1ay5_77",q3e="_warning_i1ay5_97",A3e="_danger_i1ay5_106",z3e="_info_i1ay5_115",gt={overlay:L3e,fadeIn:I3e,popup:b3e,slideUp:w3e,header:C3e,body:N3e,footer:S3e,cancelButton:j3e,confirmButton:$3e,warning:q3e,danger:A3e,info:z3e},V3e=({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:gt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${gt.popup} ${gt[d]}`,children:[c.jsx("div",{className:gt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:gt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:gt.footer,children:[c.jsx("button",{className:gt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:gt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},P3e=()=>{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}},T3e="_container_v7v52_1",H3e="_selectButton_v7v52_6",D3e="_disabled_v7v52_19",B3e="_error_v7v52_29",R3e="_outline_v7v52_43",F3e="_filled_v7v52_53",E3e="_sm_v7v52_58",O3e="_md_v7v52_63",U3e="_lg_v7v52_68",W3e="_buttonContent_v7v52_73",G3e="_label_v7v52_80",Z3e="_placeholder_v7v52_87",K3e="_iconsContainer_v7v52_91",X3e="_loadingSpinner_v7v52_99",Y3e="_spin_v7v52_1",J3e="_arrowIcon_v7v52_119",Q3e="_arrowIconOpen_v7v52_127",eme="_dropdown_v7v52_131",tme="_searchContainer_v7v52_146",ame="_searchInput_v7v52_150",nme="_optionsList_v7v52_173",ome="_noResults_v7v52_195",cme="_option_v7v52_173",ime="_optionHighlighted_v7v52_217",rme="_optionSelected_v7v52_222",sme="_optionDisabled_v7v52_228",dme="_optionLabel_v7v52_233",lme="_checkIcon_v7v52_240",hme="_widthFull_v7v52_248",ume="_width64_v7v52_252",pme="_width80_v7v52_256",yme="_width96_v7v52_260",ae={container:T3e,selectButton:H3e,disabled:D3e,error:B3e,default:"_default_v7v52_38",outline:R3e,filled:F3e,sm:E3e,md:O3e,lg:U3e,buttonContent:W3e,label:G3e,placeholder:Z3e,iconsContainer:K3e,loadingSpinner:X3e,spin:Y3e,arrowIcon:J3e,arrowIconOpen:Q3e,dropdown:eme,searchContainer:tme,searchInput:ame,optionsList:nme,noResults:ome,option:cme,optionHighlighted:ime,optionSelected:rme,optionDisabled:sme,optionLabel:dme,checkIcon:lme,widthFull:hme,width64:ume,width80:pme,width96:yme},kme=({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,M]=k.useState(""),[f,v]=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),M(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{v(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),M(""))},j=N=>{M(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(),v(A=>A<b.length-1?A+1:A);break;case"ArrowUp":N.preventDefault(),v(A=>A>0?A-1:A);break;case"Enter":N.preventDefault(),b[f]&&S(b[f]);break;case"Escape":y(!1),M("");break}},$=()=>[ae.selectButton,ae[l],ae[h],i?ae.disabled:"",s?ae.error:"",d].filter(Boolean).join(" "),P=()=>{switch(u){case"w-64":return ae.width64;case"w-80":return ae.width80;case"w-96":return ae.width96;default:return ae.widthFull}},T=(N,A)=>[ae.option,A===f?ae.optionHighlighted:"",N.value===t?ae.optionSelected:"",N.disabled?ae.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:`${ae.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:ae.buttonContent,children:[c.jsx("span",{className:`${ae.label} ${x?"":ae.placeholder}`,children:x?x.label:o}),c.jsxs("div",{className:ae.iconsContainer,children:[r&&c.jsx("div",{className:ae.loadingSpinner}),c.jsx("svg",{className:`${ae.arrowIcon} ${p?ae.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&&iw.createPortal(c.jsxs("div",{className:`${ae.dropdown} ${P()}`,style:z,ref:w,children:[c.jsx("div",{className:ae.searchContainer,children:c.jsx("input",{ref:C,type:"text",value:m,onChange:j,placeholder:"Rechercher...",className:ae.searchInput,autoFocus:!0})}),c.jsx("div",{className:ae.optionsList,children:b.length===0?c.jsx("div",{className:ae.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:()=>v(A),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:ae.buttonContent,children:[c.jsx("span",{className:ae.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:ae.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)]})},mme="_container_uq7pt_1",fme="_item_uq7pt_7",gme="_mainValue_uq7pt_13",vme="_label_uq7pt_17",Mme="_subValue_uq7pt_22",_me="_subValueWrapper_uq7pt_27",xme="_subSeparator_uq7pt_32",Be={container:mme,item:fme,mainValue:gme,label:vme,subValue:Mme,subValueWrapper:_me,subSeparator:xme},Lme=({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[M,f]=p.split("/").map(v=>v.trim());return c.jsxs("span",{className:Be.subValueWrapper,children:[c.jsx("span",{className:Be.subLeft,style:{color:y},children:M}),c.jsx("span",{className:Be.subSeparator,children:" / "}),c.jsx("span",{className:Be.subRight,style:{color:m},children:f})]})};return c.jsxs("div",{className:Be.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:Be.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Be.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:Be.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:Be.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Be.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:Be.label,style:{color:l},children:p.label}),c.jsx("div",{className:Be.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},Ime="_encours_16ist_1",bme="_header_16ist_19",wme="_iconWrap_16ist_27",Cme="_title_16ist_36",Nme="_items_16ist_47",Sme="_spaceEvenly_16ist_56",jme="_item_16ist_47",$me="_valueContainer_16ist_86",qme="_value_16ist_86",Ame="_label_16ist_108",et={encours:Ime,header:bme,iconWrap:wme,title:Cme,items:Nme,spaceEvenly:Sme,item:jme,valueContainer:$me,value:qme,label:Ame},Ic=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function zme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=Ic(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=Ic(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=Ic(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=Ic(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Vme(){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 Pme(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:M="#ffffff",width:f,gap:v,className:_,ariaLabel:g}=e,L=r?ht[r]:void 0,w={background:M,width:Ic(f),...m},C={};n&&(C.color=n),o!==void 0&&(C.fontSize=Ic(o)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${et.encours} ${_??""}`,style:w,"aria-label":g??t,children:[c.jsxs("div",{className:et.header,children:[c.jsx("div",{className:et.iconWrap,"aria-hidden":!0,style:b,children:L?c.jsx(L,{size:typeof s=="number"?s:void 0}):c.jsx(Vme,{})}),c.jsx("div",{className:et.title,style:C,children:t})]}),c.jsx("div",{className:`${et.items} ${v===void 0?et.spaceEvenly:""}`,role:"list",style:v!==void 0?{gap:`${v}px`}:{},children:y.map((x,I)=>{const{valueStyle:S,labelStyle:j}=zme(x,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:et.item,role:"listitem",style:{...x.background?{background:x.background}:{},...x.width?{width:Ic(x.width)}:{}},children:c.jsxs("div",{className:et.valueContainer,children:[c.jsx("div",{className:et.value,style:S,children:x.value}),x.label&&c.jsx("div",{className:et.label,style:j,children:x.label})]})},`${String(x.label??x.value)}-${I}`)})})]})}const Tme=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"})),Hme=k.memo(Tme),Dme=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"})),Bme=k.memo(Dme),Rme=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"})),Fme=k.memo(Rme),Eme=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"})),Ome=k.memo(Eme),Ume=({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,M]=k.useState(e),[f,v]=k.useState(!1);if(k.useEffect(()=>{v(!0)},[]),k.useEffect(()=>{M(e)},[e]),!f)return null;const _=(w,C)=>{C<4||M(b=>b.map(x=>x.component_key===w?{...x,visible:!x.visible}:x))},g=()=>{t(m),y(!1)},L=u?.mode==="guide"?u.description||s:u?.mode==="key"?u.key: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(Lj,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?c.jsx(Bme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Hme,{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(Fme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Ome,{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})})]})]})},Wme="_container_zhny9_1",Gme="_card_zhny9_15",Zme="_footer_zhny9_33",Kme="_noPaddingMobile_zhny9_51",Z1={container:Wme,card:Gme,footer:Zme,noPaddingMobile:Kme},Xme="_board_71fer_1",Yme="_clickable_71fer_21",Jme="_sideBar_71fer_26",Qme="_boardContent_71fer_32",e6e="_orange_71fer_40",t6e="_red_71fer_44",a6e="_green_71fer_48",n6e="_grey_71fer_52",o6e="_lightGrey_71fer_56",c6e="_big_71fer_61",i6e="_medium_71fer_66",r6e="_headerRow_71fer_70",s6e="_iconWrapper_71fer_75",d6e="_headerTitle_71fer_80",l6e="_valueArea_71fer_89",h6e="_titleWhite_71fer_99",u6e="_titleBlack_71fer_103",p6e="_valueWhite_71fer_108",y6e="_valueBlack_71fer_112",k6e="_valueBlue_71fer_116",m6e="_bars_71fer_121",f6e="_bar_71fer_121",g6e="_barDark_71fer_135",v6e="_barDim_71fer_139",Fe={board:Xme,clickable:Yme,sideBar:Jme,boardContent:Qme,orange:e6e,red:t6e,green:a6e,grey:n6e,lightGrey:o6e,big:c6e,medium:i6e,headerRow:r6e,iconWrapper:s6e,headerTitle:d6e,valueArea:l6e,titleWhite:h6e,titleBlack:u6e,valueWhite:p6e,valueBlack:y6e,valueBlue:k6e,bars:m6e,bar:f6e,barDark:g6e,barDim:v6e},M6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Fe.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Fe.bar} ${r<o?"":e?Fe.barDark:Fe.barDim}`},r))})},bt=({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:M="white",titleFontSize:f,titleFontWeight:v,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=`${Fe.board} ${Fe[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:Fe.sideBar,style:{backgroundColor:L}}),c.jsxs("div",{className:Fe.boardContent,style:{padding:$,gap:b},children:[c.jsxs("div",{className:Fe.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&c.jsx("div",{className:Fe.iconWrapper,style:{color:I},children:t}),c.jsx("div",{className:`${Fe.headerTitle} header-title-data-board`,children:c.jsx("span",{title:e?.mode==="guide"?e.description:e?.mode==="key"?[S?`${e.textLabel||"Texte"}: ${S}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,"aria-label":e?.description,style:{color:m,...f?{fontSize:f}:{},...v?{fontWeight:v}:{}},children:n})}),j?c.jsx(M6e,{endingDark:q,lightCount:s}):null]}),c.jsx("div",{className:Fe.valueArea,style:{color:M,..._?{fontSize:_}:{},...g?{fontWeight:g}:{}},children:o})]})]})},_6e="_wrapper_1uu3e_10",x6e="_hosp_1uu3e_19",L6e="_headerRow_1uu3e_54",I6e="_iconWrapper_1uu3e_61",b6e="_headerTitle_1uu3e_67",w6e="_hospValue_1uu3e_76",C6e="_side_1uu3e_88",N6e="_mini_1uu3e_100",S6e="_miniLabel_1uu3e_131",j6e="_miniValue_1uu3e_140",$6e="_miniBars_1uu3e_150",q6e="_bars_1uu3e_155",A6e="_bar_1uu3e_155",z6e="_barDark_1uu3e_169",V6e="_barDim_1uu3e_173",je={wrapper:_6e,hosp:x6e,headerRow:L6e,iconWrapper:I6e,headerTitle:b6e,hospValue:w6e,side:C6e,mini:N6e,miniLabel:S6e,miniValue:j6e,miniBars:$6e,bars:q6e,bar:A6e,barDark:z6e,barDim:V6e},P6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${je.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${je.bar} ${r<o?"":e?je.barDark:je.barDim}`},r))})},Eq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${je.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${je.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:e.a11yConfig?.mode==="guide"?e.a11yConfig.description:e.a11yConfig?.mode==="key"?[e.titleKey?`${e.a11yConfig.textLabel||"Texte"}: ${e.titleKey}`:null,e.a11yConfig.key?`${e.a11yConfig.guideLabel||"Guide"}: ${e.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:[c.jsxs("div",{className:je.headerRow,children:[c.jsxs("div",{className:`${je.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:je.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:e.a11yConfig?.mode==="guide"?e.a11yConfig.description:e.a11yConfig?.mode==="key"?[e.titleKey?`${e.a11yConfig.textLabel||"Texte"}: ${e.titleKey}`:null,e.a11yConfig.key?`${e.a11yConfig.guideLabel||"Guide"}: ${e.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:e.label})]}),r?c.jsx(P6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:je.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:je.side,children:t.map((d,l)=>c.jsxs("div",{className:`${je.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:d.a11yConfig?.mode==="guide"?d.a11yConfig.description:d.a11yConfig?.mode==="key"?[d.titleKey?`${d.a11yConfig.textLabel||"Texte"}: ${d.titleKey}`:null,d.a11yConfig.key?`${d.a11yConfig.guideLabel||"Guide"}: ${d.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:[c.jsxs("span",{className:je.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:d.a11yConfig?.mode==="guide"?d.a11yConfig.description:d.a11yConfig?.mode==="key"?[d.a11yConfig.key?`${d.a11yConfig.textLabel||"Texte"}: ${d.a11yConfig.key}`:null,d.a11yConfig.key?`${d.a11yConfig.guideLabel||"Guide"}: ${d.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${je.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:je.miniBars})]},d.id??`${d.label}-${l}`))})]})},T6e=({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 M={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},f=e[0],v=e[1],_=e.slice(2,5);return c.jsxs("div",{style:M,className:`${Z1.container} ${y?Z1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:Z1.card,children:[f?c.jsx(bt,{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,v&&_.length>0?c.jsx(Eq,{left:{a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.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)}))}):v&&_.length===0?c.jsx(bt,{a11yConfig:v.a11yConfig,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,size:v.size??"big",valueScale:v.valueScale,width:v.width,height:v.height,titleColor:"white",valueColor:"white",titleFontSize:v.titleFontSize??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,onClick:g=>m?.(1,g)}):null]}),t&&c.jsx("div",{className:Z1.footer,children:t})]})},H6e=({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})})}),D6e=({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(H6e,{}):void 0}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),B6e="_menu_10i6j_1",R6e="_menuRow_10i6j_18",F6e="_separator_10i6j_33",E6e="_rowLabel_10i6j_39",O6e="_rowLeadingIcon_10i6j_47",U6e="_rowIcon_10i6j_54",Tc={menu:B6e,menuRow:R6e,separator:F6e,rowLabel:E6e,rowLeadingIcon:O6e,rowIcon:U6e},W6e=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:Tc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Tc.separator},y.id);const m=y,M=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Tc.menuRow,style:M,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Tc.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Tc.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Tc.rowIcon,children:m.icon})]},m.id)})})}),Oq=({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:M="12px",roleFontWeight:f,avatarColor:v="#5b8fb9",backgroundColorAvatar:_="#f1f4f5",dropdownMenuItems:g,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:x,className:I=""})=>{const{user:S}=it(),j=e||S,{currentTheme:q,switchTheme:$}=lL(),P=k.useRef(null),T=k.useRef(null),[z,N]=k.useState(!1),[A,R]=k.useState({}),B=k.useMemo(()=>{const F=[],Y=({variant:ee})=>ee==="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(Y,{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??B,Z=()=>{if(!P.current){N(F=>!F);return}if(!z){const F=P.current.getBoundingClientRect(),Y=window.innerWidth,oe=window.innerHeight,ee=200,pe=200,_e=4,fe=w?.x??0,Se=w?.y??0,de=Y-F.right>=ee+_e;R(de?{top:F.bottom-pe+Se,left:F.right+_e+fe}:{bottom:oe-F.top+Se,left:F.left+fe})}N(F=>!F)};if(k.useEffect(()=>{if(!z||!P.current)return;const F=()=>{const Y=P.current.getBoundingClientRect(),oe=window.innerWidth,ee=window.innerHeight,pe=200,_e=200,fe=4,Se=w?.x??0,we=w?.y??0,xe=oe-Y.right>=pe+fe;R(xe?{top:Y.bottom-_e+we,left:Y.right+fe+Se}:{bottom:ee-Y.top+we,left:Y.left+Se})};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(),ee=T.current.getBoundingClientRect(),pe=w?.x??0,_e=w?.y??0;R(fe=>fe.left!==void 0&&fe.top!==void 0&&fe.left>=oe.right-1?{top:oe.bottom-ee.height+_e,left:fe.left+pe}:fe)},Y=requestAnimationFrame(()=>{setTimeout(F,0)});return()=>cancelAnimationFrame(Y)},[z,w]),!j)return null;const E=j,X=parseInt(h,10)||40,re=`${X*.375}px`,ue=`${X*1.375}px`,Ne=`${X*.2}px`,ne=`${X*.6}px`,ye=()=>{const F=parseInt(h,10)||40,Y=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:[E.image?c.jsx("img",{src:E.image,alt:`${E.prenom} ${E.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:re,height:re,borderRadius:"50%",backgroundColor:v,position:"absolute",top:Ne,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:ue,height:ue,borderRadius:"50%",backgroundColor:v,position:"absolute",top:ne,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&c.jsx("div",{style:{position:"absolute",bottom:oe,right:oe,width:`${Y}px`,height:`${Y}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:E.email,children:E.email}),c.jsx("span",{style:{color:l,fontSize:M,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:E.role,children:E.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:b?.mode==="guide"?b.description||E.email:b?.mode==="key"?[E.role?`${b.textLabel||"Texte"}: ${E.role}`:null,b.key?`${b.guideLabel||"Guide"}: ${b.key}`:null].filter(Boolean).join(" | "):void 0,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(ye,{})})}),c.jsx(W6e,{ref:T,isVisible:z,onClose:()=>N(!1),items:H,style:L,position:A})]})},G6e="_navItem_16uqf_1",Z6e="_label_16uqf_14",K6e="_icon_16uqf_26",c1={navItem:G6e,label:Z6e,icon:K6e},Ww=({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:M=!1,padding:f="10px 16px",borderWidth:v="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:c1.icon,style:{marginRight:M?0:_},children:r}),!M&&c.jsx("span",{className:c1.label,title:w?.mode==="guide"?w.description||e:w?.mode==="key"?[t?`${w.textLabel||"Texte"}: ${t}`:null,w.key?`${w.guideLabel||"Guide"}: ${w.key}`:null].filter(Boolean).join(" | "):void 0,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:`${c1.navItem} ${i?c1.active:""} ${d} ${g?c1.disabled:""}`,style:{padding:f,color:i?u:g?L||"#999":h,borderLeft:i?`${v} solid ${l}`:`${v} solid transparent`,backgroundColor:x(),fontSize:y,fontWeight:m,cursor:g?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":g};return o&&!g?c.jsx("a",{href:o,...I,children:b}):c.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!g?0:void 0,children:b})},X6e="_navbar_agnn2_1",Y6e="_topSection_agnn2_9",J6e="_sectionsContainer_agnn2_14",Q6e="_sectionTitle_agnn2_20",e8e="_sectionItems_agnn2_25",t8e="_bottomSection_agnn2_30",a8e="_versionContainer_agnn2_49",rt={navbar:X6e,topSection:Y6e,sectionsContainer:J6e,sectionTitle:Q6e,sectionItems:e8e,bottomSection:t8e,versionContainer:a8e},n8e=({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:M="12px",navItemFontSize:f="15px",navItemFontWeight:v="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=it(),N=z.activeNav,A=z.setActiveNav,R=z.user,B=S.user||R;return c.jsxs("div",{className:`${rt.navbar} ${q}`,style:{width:$,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:rt.topSection,style:{gap:t},children:[P&&c.jsx("div",{className:rt.logoContainer,children:c.jsx(dL,{...e})}),c.jsx("div",{className:rt.sectionsContainer,style:{gap:i},children:n.map((H,Z)=>c.jsxs("div",{className:rt.section,children:[H.title&&c.jsx("div",{className:rt.sectionTitle,title:H.a11yConfig?.mode==="guide"?H.a11yConfig.description||H.title:H.a11yConfig?.mode==="key"?[H.titleKey?`${H.a11yConfig.textLabel||"Texte"}: ${H.titleKey}`:null,H.a11yConfig.key?`${H.a11yConfig.guideLabel||"Guide"}: ${H.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,style:{fontSize:L,color:w,padding:g,fontWeight:C,border:"4px solid transparent",...u},children:H.title}),c.jsx("div",{className:rt.sectionItems,style:{gap:r},children:H.items.map(E=>c.jsx(Ww,{...E,isActive:E.isActive===null?E.isActive:N===E.id,onClick:()=>{E.onClick&&E.onClick(),E.isActive==null&&A(E.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:M,fontSize:f,fontWeight:v,color:_,style:p},E.id))})]},Z))})]}),c.jsxs("div",{className:rt.bottomSection,style:{gap:t},children:[c.jsx(Oq,{...S,user:B}),h&&c.jsx("div",{className:rt.versionContainer,title:T?.mode==="guide"?T.description||h:T?.mode==="key"?[T.textLabel||"Texte",T.key?`${T.guideLabel||"Guide"}: ${T.key}`:null].filter(Boolean).join(" | "):void 0,style:{fontSize:b,fontWeight:x,color:I},children:h})]})]})},o8e="_container_4qege_1",c8e="_titleContainer_4qege_10",i8e="_title_4qege_10",r8e="_inlineToggleContainer_4qege_24",s8e="_rightContentContainer_4qege_30",i1={container:o8e,titleContainer:c8e,title:i8e,inlineToggleContainer:r8e,rightContentContainer:s8e},d8e=({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=v=>v,rightContent:M,inlineToggle:f})=>{const{activeNav:v}=it(),_=y.find(L=>L.id===v),g=m(_?_.label:v);return g?c.jsxs("div",{className:`${i1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:i1.titleContainer,children:[c.jsx("div",{className:i1.title,style:{fontSize:n,fontWeight:o,color:i},children:g}),f&&c.jsx("div",{className:i1.inlineToggleContainer,children:f})]}),M&&c.jsx("div",{className:i1.rightContentContainer,children:M})]}):null},l8e="_navItem_1hg26_1",h8e="_navItemIcon_1hg26_21",u8e="_navItemLabel_1hg26_29",p8e="_navItemCount_1hg26_36",y8e="_navItemIndicator_1hg26_49",r1={navItem:l8e,navItemIcon:h8e,navItemLabel:u8e,navItemCount:p8e,navItemIndicator:y8e},Uq=({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:M="2px 6px",countFontSize:f="12px",countFontWeight:v="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})=>{const j=()=>{S||(o?.(),i&&(window.location.href=i))};return c.jsxs("div",{className:`${r1.navItem} ${I}`,onClick:j,title:e?.mode==="guide"?e.description||t:e?.mode==="key"?[r?`${e.textLabel||"Texte"}: ${r}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,style:{gap:b,padding:L,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,...x},children:[s&&c.jsx("span",{className:r1.navItemIcon,children:s}),c.jsx("span",{className:r1.navItemLabel,title:e?.mode==="guide"?e.description:e?.mode==="key"?e.key:void 0,children:t}),d!==void 0&&c.jsx("span",{className:r1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:m,padding:M,fontSize:f,fontWeight:v},children:d}),n&&!S&&c.jsx("div",{className:r1.navItemIndicator,style:{height:g,backgroundColor:_}})]})},k8e="_container_13hsa_1",m8e="_groupHeader_13hsa_8",f8e="_groupHeaderLeft_13hsa_18",g8e="_groupIcon_13hsa_23",v8e="_dropdown_13hsa_29",M8e="_item_13hsa_42",_8e="_itemIcon_13hsa_65",x8e="_chevron_13hsa_72",L8e="_chevronOpen_13hsa_79",st={container:k8e,groupHeader:m8e,groupHeaderLeft:f8e,groupIcon:g8e,dropdown:v8e,item:M8e,itemIcon:_8e,chevron:x8e,chevronOpen:L8e},I8e=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"})),j1=k.memo(I8e),Wq=({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:M="var(--color-primary)",itemActiveBorderColor:f="var(--color-primary)",itemDividerColor:v="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:[st.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:st.groupHeader,style:N,onClick:()=>q(z?"":T.id),role:"button","aria-expanded":z,children:[c.jsxs("div",{className:st.groupHeaderLeft,style:{gap:I},children:[T.icon&&c.jsx("span",{className:st.groupIcon,style:{color:L,width:C,height:C},children:T.icon}),c.jsx("span",{children:T.label})]}),c.jsx("span",{className:[st.chevron,z?st.chevronOpen:""].join(" "),style:{color:w},children:c.jsx(j1,{width:18,height:18})})]}),z&&c.jsx("div",{className:st.dropdown,style:A,children:T.items.map(R=>{const B=R.id===t,H={padding:x,gap:I,color:B?M:m,backgroundColor:p,"--item-border-width":B?"4px":"1px","--item-border-color":B?f:v};return c.jsxs("div",{className:st.item,style:H,onClick:()=>{n?.(T.id,R.id),q("")},role:"menuitem",onMouseEnter:Z=>{B||(Z.currentTarget.style.backgroundColor=y)},children:[R.icon&&c.jsx("span",{className:st.itemIcon,style:{color:B?g:_,width:C,height:C},children:R.icon}),c.jsx("span",{children:R.label})]},R.id)})})]},T.id)})})},b8e="_subheaderContent_1glo8_1",w8e="_navContainer_1glo8_11",C8e="_rightContent_1glo8_45",jb={subheaderContent:b8e,navContainer:w8e,rightContent:C8e},N8e=({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:M="#5c6975",indicatorHeight:f="3px",showDraggable:v=!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:R=!1})=>{const{activeSubNav:B,setActiveSubNav:H,navCounts:Z,activeNav:E}=it();if(R){const X=e.find(ue=>ue.id===B)||e[0],re=[{id:"current-group",label:X?.label||E?.toUpperCase()||"MENU",icon:X?.icon,items:e.map(ue=>({id:ue.id,label:ue.label,icon:ue.icon}))}];return c.jsx("div",{className:L,style:w,children:c.jsx(Wq,{groups:re,activeItemId:B,onItemClick:(ue,Ne)=>{const ne=e.find(ye=>ye.id===Ne);ne&&(ne.onClick&&ne.onClick(),ne.href&&(window.location.href=ne.href),H(Ne))},headerBgColor:t})})}return c.jsxs("div",{className:`${jb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...w},children:[c.jsx("div",{className:`${jb.navContainer} ${q||""}`,style:{gap:l,...$},children:e.map(X=>{const re=X.count!==void 0?X.count:Z[X.id],ue=B===X.id||X.isActive;return c.jsx(Uq,{...X,count:re,isActive:ue,onClick:()=>{X.onClick&&X.onClick(),H(X.id)},activeColor:m,inactiveColor:M,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:`${jb.rightContent} ${P||""}`,style:{gap:h,...T},children:[v&&c.jsx(Qx,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(eL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),g&&c.jsx(tL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},S8e=({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}=lL(),m=p!="dark",M=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:M,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"})]})})},j8e=({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}},$8e=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"})),q8e=k.memo($8e),A8e=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"})),z8e=k.memo(A8e),V8e=({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:r.a11yConfig?.mode==="guide"?r.a11yConfig.description:r.a11yConfig?.mode==="key"?[r.a11yConfig.description?r.a11yConfig.description:null,r.titleKey?`${r.a11yConfig.textLabel||"Texte"}: ${r.titleKey}`:null,r.a11yConfig.key?`${r.a11yConfig.guideLabel||"Guide"}: ${r.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{title:r.a11yConfig?.mode==="guide"?r.a11yConfig.description:r.a11yConfig?.mode==="key"?[r.a11yConfig.description?r.a11yConfig.description:null,r.titleKey?`${r.a11yConfig.textLabel||"Texte"}: ${r.titleKey}`:null,r.a11yConfig.key?`${r.a11yConfig.guideLabel||"Guide"}: ${r.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(z8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(q8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),P8e=({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)})}),T8e=({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,M=Math.min(y*u,h),f=_=>{t({page:_})},v=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,M,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[m,"–",M]})," ","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:"<"}),(v||[]).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"})})]})},Gq=({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:M,tableState:f,className:v,style:_,rowStyle:g,onRowClick:L,rowClassName:w,title:C,removeLabelSpan:b=!1,a11yConfig:x})=>{const I=k.useMemo(()=>({...p}),[p]),S=k.useRef(null);k.useEffect(()=>{if(!m||!y||!M||n)return;const z=new IntersectionObserver(N=>{N[0].isIntersecting&&y()},{threshold:.1});return S.current&&z.observe(S.current),()=>z.disconnect()},[m,y,M,n]);const{tableState:j,handleSort:q}=j8e({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 R="asc";N===z&&(R=A==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(z,R):q(z)};return c.jsxs("div",{className:`table-container ${v||""}`,style:_,title:x?.mode==="guide"?x.description||C:x?.mode==="key"?x.key:void 0,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(V8e,{columns:t,sortBy:$,sortOrder:P,onSort:T,removeLabelSpan:b}),c.jsx(P8e,{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(T8e,{state:o,onPaginationChange:i,text:I,onLoadMore:y,infiniteScroll:m,hasMore:M,isLoading:n})]})},H8e="_datePickerContainer_1941b_3",D8e="_label_1941b_16",B8e="_displayNode_1941b_23",R8e="_datePickerButton_1941b_30",F8e="_datePickerButtonDisabled_1941b_50",E8e="_datePickerButtonOpen_1941b_59",O8e="_datePickerLabel_1941b_68",U8e="_placeholder_1941b_79",W8e="_chevron_1941b_83",G8e="_errorMessage_1941b_91",Z8e="_dropdown_1941b_96",K8e="_calendarHeader_1941b_120",X8e="_navButton_1941b_129",Y8e="_headerSelectors_1941b_148",J8e="_monthSelector_1941b_156",Q8e="_yearSelector_1941b_157",efe="_selectorButton_1941b_161",tfe="_selectorChevron_1941b_178",afe="_selectorChevronOpen_1941b_183",nfe="_monthDropdown_1941b_187",ofe="_yearDropdown_1941b_188",cfe="_monthItem_1941b_208",ife="_yearItem_1941b_209",rfe="_monthItemSelected_1941b_231",sfe="_yearItemSelected_1941b_232",dfe="_weekdays_1941b_236",lfe="_weekday_1941b_236",hfe="_calendarGrid_1941b_252",ufe="_dateCell_1941b_260",pfe="_dateCellSelected_1941b_283",yfe="_dateCellOtherMonth_1941b_287",kfe="_dateCellOtherMonthSelected_1941b_291",mfe="_calendarFooter_1941b_295",ffe="_cancelButton_1941b_303",gfe="_applyButton_1941b_304",vfe="_timePickerContainer_1941b_348",Mfe="_timeGroup_1941b_357",_fe="_timeLabel_1941b_364",xfe="_timeInputWrapper_1941b_370",Lfe="_timeInput_1941b_370",Ife="_timeSeparator_1941b_398",O={datePickerContainer:H8e,label:D8e,displayNode:B8e,datePickerButton:R8e,datePickerButtonDisabled:F8e,datePickerButtonOpen:E8e,datePickerLabel:O8e,placeholder:U8e,chevron:W8e,errorMessage:G8e,dropdown:Z8e,calendarHeader:K8e,navButton:X8e,headerSelectors:Y8e,monthSelector:J8e,yearSelector:Q8e,selectorButton:efe,selectorChevron:tfe,selectorChevronOpen:afe,monthDropdown:nfe,yearDropdown:ofe,monthItem:cfe,yearItem:ife,monthItemSelected:rfe,yearItemSelected:sfe,weekdays:dfe,weekday:lfe,calendarGrid:hfe,dateCell:ufe,dateCellSelected:pfe,dateCellOtherMonth:yfe,dateCellOtherMonthSelected:kfe,calendarFooter:mfe,cancelButton:ffe,applyButton:gfe,timePickerContainer:vfe,timeGroup:Mfe,timeLabel:_fe,timeInputWrapper:xfe,timeInput:Lfe,timeSeparator:Ife},ij=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],bfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],cw=({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:M="0.25rem",dropdownMarginTop:f="0.25rem",itemPadding:v="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:R="#6c757d",weekdayTextColor:B="#6c757d",currentMonthDateColor:H="#212529",otherMonthDateColor:Z="#adb5bd",selectedDateBgColor:E="#00A6D9",selectedDateTextColor:X="#ffffff",cancelButtonBgColor:re="#e9ecef",cancelButtonTextColor:ue="#212529",applyButtonBgColor:Ne="#00A6D9",applyButtonTextColor:ne="#ffffff",width:ye,displayNode:F=void 0,displayMode:Y="auto",displayNodeAriaLabel:oe,dropdownPosition:ee="bottom",dropdownAlignment:pe="right",dropdownWidth:_e,withBorder:fe=!1,icon:Se,precision:we="day",hoursLabel:de="Heures",minutesLabel:xe="Minutes",lowerLimit:mt=null,upperLimit:t1=null,months:jc,weekdays:Q,cancelText:$c="Annuler",applyText:ke="Appliquer",prevMonthAriaLabel:At="Mois précédent",nextMonthAriaLabel:Yq="Mois suivant",calendarAriaLabel:Jq="Sélecteur de date",openedAriaLabel:Qq="Ouvrir le sélecteur de date",selectedDateAriaLabel:eA="Date sélectionnée: ",locale:Gw="fr-FR"})=>{const zt=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},[Ye,Vt]=k.useState(!1),[qc,tA]=k.useState({top:0,left:0,width:0}),[te,a1]=k.useState(zt(e)||new Date),[LL,IL]=k.useState(zt(e)),[bL,wL]=k.useState(zt(e)?.getHours()??0),[CL,NL]=k.useState(zt(e)?.getMinutes()??0),[SL,Ac]=k.useState(!1),[jL,zc]=k.useState(!1),$L=k.useRef(null),F1=k.useRef(null),qL=k.useRef(null),AL=k.useRef(null);k.useEffect(()=>{const D=zt(e);IL(D),D&&(a1(D),wL(D.getHours()),NL(D.getMinutes()))},[e]);const Vc=k.useCallback(()=>{if(F1.current){const D=F1.current.getBoundingClientRect();tA({top:D.top,left:D.left,width:D.width})}},[]);k.useEffect(()=>(Ye&&(Vc(),window.addEventListener("scroll",Vc,!0),window.addEventListener("resize",Vc)),()=>{window.removeEventListener("scroll",Vc,!0),window.removeEventListener("resize",Vc)}),[Ye,Vc]),k.useEffect(()=>{const D=G=>{if($L.current&&!$L.current.contains(G.target)){const ve=document.getElementById("datepicker-dropdown");if(ve&&ve.contains(G.target))return;Vt(!1),Ac(!1),zc(!1)}qL.current&&!qL.current.contains(G.target)&&Ac(!1),AL.current&&!AL.current.contains(G.target)&&zc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const Zw=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),aA=D=>{const G=new Date(D.getFullYear(),D.getMonth(),1).getDay();return G===0?6:G-1},nA=()=>{const D=[],G=aA(te),ve=Zw(te),E1=new Date(te.getFullYear(),te.getMonth()-1,1),ft=Zw(E1);for(let Ue=G-1;Ue>=0;Ue--)D.push(new Date(te.getFullYear(),te.getMonth()-1,ft-Ue));for(let Ue=1;Ue<=ve;Ue++)D.push(new Date(te.getFullYear(),te.getMonth(),Ue));const n1=42-D.length;for(let Ue=1;Ue<=n1;Ue++)D.push(new Date(te.getFullYear(),te.getMonth()+1,Ue));return D},oA=(D,G)=>!D||!G?!1:D.getDate()===G.getDate()&&D.getMonth()===G.getMonth()&&D.getFullYear()===G.getFullYear(),cA=D=>D.getMonth()===te.getMonth()&&D.getFullYear()===te.getFullYear(),iA=()=>{a1(new Date(te.getFullYear(),te.getMonth()-1,1))},rA=()=>{a1(new Date(te.getFullYear(),te.getMonth()+1,1))},sA=D=>{if(!s){const G=new Date(D);G.setHours(bL),G.setMinutes(CL),IL(G)}},dA=()=>{if(!s){if(LL){const D=new Date(LL);D.setHours(bL),D.setMinutes(CL),t(D)}else t(null);Vt(!1)}},lA=()=>{const D=zt(e);IL(D),D&&(wL(D.getHours()),NL(D.getMinutes())),Vt(!1)},hA=D=>{a1(new Date(te.getFullYear(),D,1)),Ac(!1)},uA=D=>{a1(new Date(D,te.getMonth(),1)),zc(!1)},pA=()=>{const D=te.getFullYear(),G=[];for(let ve=D-10;ve<=D+10;ve++)G.push(ve);return G},yA=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),Vt(!Ye);break;case"Escape":Vt(!1),Ac(!1),zc(!1);break;case"Tab":Ye&&(Vt(!1),Ac(!1),zc(!1));break}},kA={width:ye||(r?"100%":"auto"),fontSize:p,fontWeight:_},mA={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}`},fA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:$,borderWidth:P,boxShadow:T,transition:`opacity ${z} ${N}, transform ${z} ${N}`,position:"fixed",top:ee==="bottom"?qc.top+(F1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:ee==="top"?window.innerHeight-qc.top+parseFloat(f.replace("rem",""))*16:"auto",left:pe==="left"?qc.left:"auto",right:pe==="right"?window.innerWidth-(qc.left+qc.width):"auto",width:_e||(r?qc.width:"auto"),zIndex:10001},Kw={width:y,height:y,color:I||"#6c757d","--icon-rotation":Ye?"rotate(180deg)":"rotate(0deg)"},gA={color:j||"#212529",marginBottom:m,fontWeight:_},vA={color:q||"#6c757d"},MA={color:S||"#dc3545",marginTop:M},_A=nA(),Je=zt(e),Xw=Je?we==="minutes"?`${Je.toLocaleDateString(Gw)} ${Je.getHours().toString().padStart(2,"0")}:${Je.getMinutes().toString().padStart(2,"0")}`:Je.toLocaleDateString(Gw):"",xA=!!F&&(Y==="icon"||Y==="auto"&&!Je),LA=oe||(Je?`${eA}${Xw}`:Qq);return c.jsxs("div",{className:`${O.datePickerContainer} ${i}`,ref:$L,style:kA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:O.label,style:gA,children:n}),c.jsxs("button",{ref:F1,type:"button",onClick:()=>!s&&Vt(!Ye),onKeyDown:yA,className:`
|
|
8169
|
+
`),()=>{v.contains(f)&&v.removeChild(f)}},[t]),c.jsx(h0e,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const p0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=$t(y0e),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 M of h.values())if(!M)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,M)=>h.set(M,!1))},[n]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(u0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(hL.Provider,{value:y,children:e})};function y0e(){return new Map}function g$(e=!0){const t=k.useContext(hL);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 W1=e=>e.key||"";function xC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const k0e=({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]=g$(s),p=k.useMemo(()=>xC(e),[e]),y=s&&!h?[]:p.map(W1),m=k.useRef(!0),M=k.useRef(p),f=$t(()=>new Map),[v,_]=k.useState(p),[g,L]=k.useState(p);dw(()=>{m.current=!1,M.current=p;for(let b=0;b<g.length;b++){const x=W1(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!==v){let b=[...p];for(let x=0;x<g.length;x++){const I=g[x],S=W1(I);y.includes(S)||(b.splice(x,0,I),w.push(I))}return r==="wait"&&w.length&&(b=w),L(xC(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(rw);return c.jsx(c.Fragment,{children:g.map(b=>{const x=W1(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(M.current),s&&u?.(),o&&o())};return c.jsx(p0e,{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)})})},v$=k.createContext({strict:!1}),LC={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"]},Kc={};for(const e in LC)Kc[e]={isEnabled:t=>LC[e].some(n=>!!t[n])};function m0e(e){for(const t in e)Kc[t]={...Kc[t],...e[t]}}const f0e=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 cL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||f0e.has(e)}let M$=e=>!cL(e);function g0e(e){typeof e=="function"&&(M$=t=>t.startsWith("on")?!cL(t):e(t))}try{g0e(require("@emotion/is-prop-valid").default)}catch{}function v0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(M$(i)||n===!0&&cL(i)||!t&&!cL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const pL=k.createContext({});function yL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function z1(e){return typeof e=="string"||Array.isArray(e)}const $w=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],qw=["initial",...$w];function kL(e){return yL(e.animate)||qw.some(t=>z1(e[t]))}function _$(e){return!!(kL(e)||e.variants)}function M0e(e,t){if(kL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||z1(n)?n:void 0,animate:z1(o)?o:void 0}}return e.inherit!==!1?t:{}}function _0e(e){const{initial:t,animate:n}=M0e(e,k.useContext(pL));return k.useMemo(()=>({initial:t,animate:n}),[IC(t),IC(n)])}function IC(e){return Array.isArray(e)?e.join(" "):e}const V1={};function x0e(e){for(const t in e)V1[t]=e[t],fw(t)&&(V1[t].isCSSVariable=!0)}function x$(e,{layout:t,layoutId:n}){return Qc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!V1[e]||e==="opacity")}const L0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I0e=Jc.length;function b0e(e,t,n){let o="",i=!0;for(let r=0;r<I0e;r++){const s=Jc[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=u$(d,Nw[s]);if(!l){i=!1;const u=L0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function Aw(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(Qc.has(l)){s=!0;continue}else if(fw(l)){i[l]=h;continue}else{const u=u$(h,Nw[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=b0e(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 zw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function L$(e,t,n){for(const o in t)!we(t[o])&&!x$(o,n)&&(e[o]=t[o])}function w0e({transformTemplate:e},t){return k.useMemo(()=>{const n=zw();return Aw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function C0e(e,t){const n=e.style||{},o={};return L$(o,n,e),Object.assign(o,w0e(e,t)),o}function N0e(e,t){const n={},o=C0e(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 S0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},j0e={offset:"strokeDashoffset",array:"strokeDasharray"};function $0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?S0e:j0e;e[r.offset]=U.transform(-o);const s=U.transform(t),d=U.transform(n);e[r.array]=`${s} ${d}`}function I$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Aw(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&&$0e(p,i,r,s,!1)}const b$=()=>({...zw(),attrs:{}}),w$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q0e(e,t,n,o){const i=k.useMemo(()=>{const r=b$();return I$(r,t,w$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};L$(r,e.style,e),i.style={...r,...i.style}}return i}const A0e=["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 Vw(e){return typeof e!="string"||e.includes("-")?!1:!!(A0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function z0e(e,t,n,{latestValues:o},i,r=!1){const d=(Vw(e)?q0e:N0e)(t,o,i,e),l=v0e(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 bC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function Pw(e,t,n,o){if(typeof t=="function"){const[i,r]=bC(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]=bC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Xx(e){return we(e)?e.get():e}function V0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:P0e(n,o,i,e),renderState:t()}}function P0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Xx(r[y]);let{initial:s,animate:d}=e;const l=kL(e),h=_$(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"&&!yL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const M=Pw(e,y[m]);if(M){const{transitionEnd:f,transition:v,..._}=M;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 C$=e=>(t,n)=>{const o=k.useContext(pL),i=k.useContext(hL),r=()=>V0e(e,t,o,i);return n?r():$t(r)};function Tw(e,t,n){const{style:o}=e,i={};for(const r in o)(we(o[r])||t.style&&we(t.style[r])||x$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const T0e=C$({scrapeMotionValuesFromProps:Tw,createRenderState:zw});function N$(e,t,n){const o=Tw(e,t,n);for(const i in e)if(we(e[i])||we(t[i])){const r=Jc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const H0e=C$({scrapeMotionValuesFromProps:N$,createRenderState:b$}),D0e=Symbol.for("motionComponentSymbol");function Bc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function B0e(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):Bc(n)&&(n.current=o))},[t])}const Hw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),R0e="framerAppearId",S$="data-"+Hw(R0e),j$=k.createContext({});function F0e(e,t,n,o,i){const{visualElement:r}=k.useContext(pL),s=k.useContext(v$),d=k.useContext(hL),l=k.useContext(uL).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(j$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&E0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[S$],M=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return dw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),M.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!M.current&&u.animationState&&u.animationState.animateChanges(),M.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),M.current=!1),u.enteringChildren=void 0)}),u}function E0e(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:$$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Bc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function $$(e){if(e)return e.options.allowProjection!==!1?e.projection:$$(e.parent)}function BL(e,{forwardMotionProps:t=!1}={},n,o){n&&m0e(n);const i=Vw(e)?H0e:T0e;function r(d,l){let h;const u={...k.useContext(uL),...d,layoutId:O0e(d)},{isStatic:p}=u,y=_0e(d),m=i(d,p);if(!p&&sw){U0e(u,n);const M=W0e(u);h=M.MeasureLayout,y.visualElement=F0e(e,m,u,o,M.ProjectionNode)}return c.jsxs(pL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,z0e(e,d,B0e(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[D0e]=e,s}function O0e({layoutId:e}){const t=k.useContext(rw).id;return t&&e!==void 0?t+"-"+e:e}function U0e(e,t){const n=k.useContext(v$).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?Xc(!1,o,"lazy-strict-mode"):Xe(!1,o,"lazy-strict-mode")}}function W0e(e){const{drag:t,layout:n}=Kc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function G0e(e,t){if(typeof Proxy>"u")return BL;const n=new Map,o=(r,s)=>BL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&yw(!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,BL(s,void 0,e,t)),n.get(s))})}function q$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Z0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function K0e(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 RL(e){return e===void 0||e===1}function Xb({scale:e,scaleX:t,scaleY:n}){return!RL(e)||!RL(t)||!RL(n)}function _c(e){return Xb(e)||A$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function A$(e){return wC(e.x)||wC(e.y)}function wC(e){return e&&e!=="0%"}function iL(e,t,n){const o=e-n,i=t*o;return n+i}function CC(e,t,n,o,i){return i!==void 0&&(e=iL(e,i,o)),iL(e,n,o)+t}function Yb(e,t=0,n=1,o,i){e.min=CC(e.min,t,n,o,i),e.max=CC(e.max,t,n,o,i)}function z$(e,{x:t,y:n}){Yb(e.x,t.translate,t.scale,t.originPoint),Yb(e.y,n.translate,n.scale,n.originPoint)}const NC=.999999999999,SC=1.0000000000001;function X0e(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&&Fc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,z$(e,s)),o&&_c(r.latestValues)&&Fc(e,r.latestValues))}t.x<SC&&t.x>NC&&(t.x=1),t.y<SC&&t.y>NC&&(t.y=1)}function Rc(e,t){e.min=e.min+t,e.max=e.max+t}function jC(e,t,n,o,i=.5){const r=he(e.min,e.max,i);Yb(e,t,n,r,o)}function Fc(e,t){jC(e.x,t.x,t.scaleX,t.scale,t.originX),jC(e.y,t.y,t.scaleY,t.scale,t.originY)}function V$(e,t){return q$(K0e(e.getBoundingClientRect(),t))}function Y0e(e,t,n){const o=V$(e,n),{scroll:i}=t;return i&&(Rc(o.x,i.offset.x),Rc(o.y,i.offset.y)),o}const $C=()=>({translate:0,scale:1,origin:0,originPoint:0}),Ec=()=>({x:$C(),y:$C()}),qC=()=>({min:0,max:0}),me=()=>({x:qC(),y:qC()}),Jb={current:null},P$={current:!1};function J0e(){if(P$.current=!0,!!sw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Jb.current=e.matches;e.addEventListener("change",t),t()}else Jb.current=!1}const Q0e=new WeakMap;function ele(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,Nc(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,Nc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const AC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tle{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=ww,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=Ve.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=kL(n),this.isVariantNode=_$(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,Q0e.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)),P$.current||J0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Jb.current,process.env.NODE_ENV!=="production"&&yw(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(),yt(this.notifyUpdate),yt(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=Qc.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 Kc){const n=Kc[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<AC.length;o++){const i=AC[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=ele(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=Nc(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"&&(Cj(o)||Sj(o))?o=parseFloat(o):!s0e(o)&&jt.test(n)&&(o=h$(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=Pw(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 pw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Sw.render(this.render)}}class T$ extends tle{constructor(){super(...arguments),this.KeyframeResolver=Kde}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 H$(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 ale(e){return window.getComputedStyle(e)}class nle extends T${constructor(){super(...arguments),this.type="html",this.renderInstance=H$}readValueFromInstance(t,n){if(Qc.has(n))return this.projection?.isProjecting?Eb(n):pde(t,n);{const o=ale(t),i=(fw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return V$(t,n)}build(t,n,o){Aw(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Tw(t,n,o)}}const D$=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 ole(e,t,n,o){H$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(D$.has(i)?i:Hw(i),t.attrs[i])}class cle extends T${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=me}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Qc.has(n)){const o=l$(n);return o&&o.default||0}return n=D$.has(n)?n:Hw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return N$(t,n,o)}build(t,n,o){I$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){ole(t,n,o,i)}mount(t){this.isSVGTag=w$(t.tagName),super.mount(t)}}const ile=(e,t)=>Vw(e)?new cle(t):new nle(t,{allowProjection:e!==k.Fragment});function Zc(e,t,n){const o=e.getProps();return Pw(o,t,n!==void 0?n:o.custom,e)}const Qb=e=>Array.isArray(e);function rle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Nc(n))}function sle(e){return Qb(e)?e[e.length-1]||0:e}function dle(e,t){const n=Zc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=sle(r[s]);rle(e,s,d)}}function lle(e){return!!(we(e)&&e.add)}function ew(e,t){const n=e.getValue("willChange");if(lle(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function B$(e){return e.props[S$]}const hle=e=>e!==null;function ule(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(hle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const ple={type:"spring",stiffness:500,damping:25,restSpeed:10},yle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kle={type:"keyframes",duration:.8},mle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fle=(e,{keyframes:t})=>t.length>2?kle:Qc.has(e)?e.startsWith("scale")?yle(t[1]):ple:mle;function gle({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 Dw=(e,t,n,o={},i,r)=>s=>{const d=Cw(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Ke(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};gle(d)||Object.assign(u,fle(e,u)),u.duration&&(u.duration=Ke(u.duration)),u.repeatDelay&&(u.repeatDelay=Ke(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Zb(u),u.delay===0&&(p=!0)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Zb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ule(u.keyframes,d);if(y!==void 0){se.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new bw(u):new Pde(u)};function vle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function R$(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&&vle(h,u))continue;const m={delay:n,...Cw(r||{},u)},M=p.get();if(M!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===M&&!m.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){const _=B$(e);if(_){const g=window.MotionHandoffAnimation(_,u,se);g!==null&&(m.startTime=g,f=!0)}}ew(e,u),p.start(Dw(u,p,y,e.shouldReduceMotion&&r$.has(u)?{type:!1}:m,e,f));const v=p.animation;v&&l.push(v)}return s&&Promise.all(l).then(()=>{se.update(()=>{s&&dle(e,s)})}),l}function F$(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 tw(e,t,n={}){const o=Zc(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(R$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Mle(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 Mle(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(tw(l,t,{...s,delay:n+(typeof o=="function"?0:o)+F$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function _le(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>tw(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=tw(e,t,n);else{const i=typeof t=="function"?Zc(e,t,n.custom):t;o=Promise.all(R$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function E$(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 xle=qw.length;function O$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?O$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<xle;n++){const o=qw[n],i=e.props[o];(z1(i)||i===!1)&&(t[o]=i)}return t}const Lle=[...$w].reverse(),Ile=$w.length;function ble(e){return t=>Promise.all(t.map(({animation:n,options:o})=>_le(e,n,o)))}function wle(e){let t=ble(e),n=zC(),o=!0;const i=l=>(h,u)=>{const p=Zc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...M}=p;h={...h,...M,...m}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=O$(e.parent)||{},p=[],y=new Set;let m={},M=1/0;for(let v=0;v<Ile;v++){const _=Lle[v],g=n[_],L=h[_]!==void 0?h[_]:u[_],w=z1(L),C=_===l?g.isActive:null;C===!1&&(M=v);let b=L===u[_]&&L!==h[_]&&w;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...m},!g.isActive&&C===null||!L&&!g.prevProp||yL(L)||typeof L=="boolean")continue;const x=Cle(g.prevProp,L);let I=x||_===l&&g.isActive&&!b&&w||v>M&&w,S=!1;const j=Array.isArray(L)?L:[L];let q=j.reduce(i(_),{});C===!1&&(q={});const{prevResolvedValues:$={}}=g,P={...$,...q},H=A=>{I=!0,y.has(A)&&(S=!0,y.delete(A)),g.needsAnimating[A]=!0;const R=e.getValue(A);R&&(R.liveStyle=!1)};for(const A in P){const R=q[A],B=$[A];if(m.hasOwnProperty(A))continue;let T=!1;Qb(R)&&Qb(B)?T=!E$(R,B):T=R!==B,T?R!=null?H(A):y.add(A):R!==void 0&&y.has(A)?H(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 R={type:_};if(typeof A=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,T=Zc(B,A);if(B.enteringChildren&&T){const{delayChildren:Z}=T.transition||{};R.delay=F$(B.enteringChildren,e,Z)}}return{animation:A,options:R}}))}if(y.size){const v={};if(typeof h.initial!="boolean"){const _=Zc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(v.transition=_.transition)}y.forEach(_=>{const g=e.getBaseTarget(_),L=e.getValue(_);L&&(L.liveStyle=!0),v[_]=g??null}),p.push({animation:v})}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=zC()}}}function Cle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!E$(t,e):!1}function Pt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zC(){return{animate:Pt(!0),whileInView:Pt(),whileHover:Pt(),whileTap:Pt(),whileDrag:Pt(),whileFocus:Pt(),exit:Pt()}}class qt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Nle extends qt{constructor(t){super(t),t.animationState||(t.animationState=wle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();yL(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 Sle=0;class jle extends qt{constructor(){super(...arguments),this.id=Sle++}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 $le={animation:{Feature:Nle},exit:{Feature:jle}};function P1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function R1(e){return{point:{x:e.pageX,y:e.pageY}}}const qle=e=>t=>jw(t)&&e(t,R1(t));function C1(e,t,n,o){return P1(e,t,qle(n),o)}const U$=1e-4,Ale=1-U$,zle=1+U$,W$=.01,Vle=0-W$,Ple=0+W$;function $e(e){return e.max-e.min}function Tle(e,t,n){return Math.abs(e-t)<=n}function VC(e,t,n,o=.5){e.origin=o,e.originPoint=he(t.min,t.max,e.origin),e.scale=$e(n)/$e(t),e.translate=he(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ale&&e.scale<=zle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Vle&&e.translate<=Ple||isNaN(e.translate))&&(e.translate=0)}function N1(e,t,n,o){VC(e.x,t.x,n.x,o?o.originX:void 0),VC(e.y,t.y,n.y,o?o.originY:void 0)}function PC(e,t,n){e.min=n.min+t.min,e.max=e.min+$e(t)}function Hle(e,t,n){PC(e.x,t.x,n.x),PC(e.y,t.y,n.y)}function TC(e,t,n){e.min=t.min-n.min,e.max=e.min+$e(t)}function S1(e,t,n){TC(e.x,t.x,n.x),TC(e.y,t.y,n.y)}function Re(e){return[e("x"),e("y")]}const G$=({current:e})=>e?e.ownerDocument.defaultView:null,HC=(e,t)=>Math.abs(e-t);function Dle(e,t){const n=HC(e.x,t.x),o=HC(e.y,t.y);return Math.sqrt(n**2+o**2)}class Z${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=EL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,M=Dle(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!M)return;const{point:f}=y,{timestamp:v}=be;this.history.push({...f,timestamp:v});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=FL(m,this.transformPagePoint),se.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:M,onSessionEnd:f,resumeAnimation:v}=this.handlers;if(this.dragSnapToOrigin&&v&&v(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=EL(y.type==="pointercancel"?this.lastMoveEventInfo:FL(m,this.transformPagePoint),this.history);this.startEvent&&M&&M(y,_),f&&f(y,_)},!jw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=R1(t),l=FL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=be;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,EL(l,this.history)),this.removeListeners=H1(C1(this.contextWindow,"pointermove",this.handlePointerMove),C1(this.contextWindow,"pointerup",this.handlePointerUp),C1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function FL(e,t){return t?{point:t(e.point)}:e}function DC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function EL({point:e},t){return{point:e,delta:DC(e,K$(t)),offset:DC(e,Ble(t)),velocity:Rle(t,.1)}}function Ble(e){return e[0]}function K$(e){return e[e.length-1]}function Rle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=K$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Ke(t)));)n--;if(!o)return{x:0,y:0};const r=Ee(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 Fle(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 BC(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 Ele(e,{top:t,left:n,bottom:o,right:i}){return{x:BC(e.x,n,i),y:BC(e.y,t,o)}}function RC(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 Ole(e,t){return{x:RC(e.x,t.x),y:RC(e.y,t.y)}}function Ule(e,t){let n=.5;const o=$e(e),i=$e(t);return i>o?n=$1(t.min,t.max-o,e.min):o>i&&(n=$1(e.min,e.max-i,t.min)),ut(0,1,n)}function Wle(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 aw=.35;function Gle(e=aw){return e===!1?e=0:e===!0&&(e=aw),{x:FC(e,"left","right"),y:FC(e,"top","bottom")}}function FC(e,t,n){return{min:EC(e,t),max:EC(e,n)}}function EC(e,t){return typeof e=="number"?e:e[t]||0}const Zle=new WeakMap;class Kle{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(R1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:M,onDragStart:f}=this.getProps();if(m&&!M&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qde(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),Re(_=>{let g=this.getAxisMotionValue(_).get()||0;if(ct.test(g)){const{projection:L}=this.visualElement;if(L&&L.layout){const w=L.layout.layoutBox[_];w&&(g=$e(w)*(parseFloat(g)/100))}}this.originPoint[_]=g}),f&&se.postRender(()=>f(p,y)),ew(this.visualElement,"transform");const{animationState:v}=this.visualElement;v&&v.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:M,onDirectionLock:f,onDrag:v}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:_}=y;if(M&&this.currentDirection===null){this.currentDirection=Xle(_),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",y.point,_),this.updateAxis("y",y.point,_),this.visualElement.render(),v&&v(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Re(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new Z$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:G$(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||!G1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Fle(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&&Bc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ele(o.layoutBox,t):this.constraints=!1,this.elastic=Gle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Re(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Wle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Bc(t))return!1;const o=t.current;Xe(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=Y0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Ole(i.layout.layoutBox,r);if(n){const d=n(Z0e(s));this.hasMutatedConstraints=!!d,d&&(s=q$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Re(u=>{if(!G1(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,M={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,M)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return ew(this.visualElement,t),o.start(Dw(t,o,0,n,this.visualElement,!1))}stopAnimation(){Re(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Re(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){Re(n=>{const{drag:o}=this.getProps();if(!G1(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(!Bc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Re(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Ule({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(),Re(s=>{if(!G1(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;Zle.set(this.visualElement,this);const t=this.visualElement.current,n=C1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Bc(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=P1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Re(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=aw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function G1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Xle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Yle extends qt{constructor(t){super(t),this.removeGroupControls=Oe,this.removeListeners=Oe,this.controls=new Kle(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Oe}unmount(){this.removeGroupControls(),this.removeListeners()}}const OC=e=>(t,n)=>{e&&se.postRender(()=>e(t,n))};class Jle extends qt{constructor(){super(...arguments),this.removePointerDownListener=Oe}onPointerDown(t){this.session=new Z$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:G$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:OC(t),onStart:OC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&se.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=C1(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 Yx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function UC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const o1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=UC(e,t.target.x),o=UC(e,t.target.y);return`${n}% ${o}%`}},Qle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=jt.parse(e);if(i.length>5)return o;const r=jt.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 OL=!1;class ehe extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;x0e(the),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),OL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Yx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,OL=!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(),Sw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;OL=!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 X$(e){const[t,n]=g$(),o=k.useContext(rw);return c.jsx(ehe,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(j$),isPresent:t,safeToRemove:n})}const the={borderRadius:{...o1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:o1,borderTopRightRadius:o1,borderBottomLeftRadius:o1,borderBottomRightRadius:o1,boxShadow:Qle};function ahe(e,t,n){const o=we(e)?e:Nc(e);return o.start(Dw("",o,t,n)),o.animation}const nhe=(e,t)=>e.depth-t.depth;class ohe{constructor(){this.children=[],this.isDirty=!1}add(t){lw(this.children,t),this.isDirty=!0}remove(t){hw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nhe),this.isDirty=!1,this.children.forEach(t)}}function che(e,t){const n=Ve.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return se.setup(o,!0),()=>yt(o)}const Y$=["TopLeft","TopRight","BottomLeft","BottomRight"],ihe=Y$.length,WC=e=>typeof e=="string"?parseFloat(e):e,GC=e=>typeof e=="number"||U.test(e);function rhe(e,t,n,o,i,r){i?(e.opacity=he(0,n.opacity??1,she(o)),e.opacityExit=he(t.opacity??1,0,dhe(o))):r&&(e.opacity=he(t.opacity??1,n.opacity??1,o));for(let s=0;s<ihe;s++){const d=`border${Y$[s]}Radius`;let l=ZC(t,d),h=ZC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||GC(l)===GC(h)?(e[d]=Math.max(he(WC(l),WC(h),o),0),(ct.test(h)||ct.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=he(t.rotate||0,n.rotate||0,o))}function ZC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const she=J$(0,.5,Tj),dhe=J$(.5,.95,Oe);function J$(e,t,n){return o=>o<e?0:o>t?1:n($1(e,t,o))}function KC(e,t){e.min=t.min,e.max=t.max}function He(e,t){KC(e.x,t.x),KC(e.y,t.y)}function XC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function YC(e,t,n,o,i){return e-=t,e=iL(e,1/n,o),i!==void 0&&(e=iL(e,1/i,o)),e}function lhe(e,t=0,n=1,o=.5,i,r=e,s=e){if(ct.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=YC(e.min,t,n,d,i),e.max=YC(e.max,t,n,d,i)}function JC(e,t,[n,o,i],r,s){lhe(e,t[n],t[o],t[i],t.scale,r,s)}const hhe=["x","scaleX","originX"],uhe=["y","scaleY","originY"];function QC(e,t,n,o){JC(e.x,t,hhe,n?n.x:void 0,o?o.x:void 0),JC(e.y,t,uhe,n?n.y:void 0,o?o.y:void 0)}function eN(e){return e.translate===0&&e.scale===1}function Q$(e){return eN(e.x)&&eN(e.y)}function tN(e,t){return e.min===t.min&&e.max===t.max}function phe(e,t){return tN(e.x,t.x)&&tN(e.y,t.y)}function aN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function eq(e,t){return aN(e.x,t.x)&&aN(e.y,t.y)}function nN(e){return $e(e.x)/$e(e.y)}function oN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class yhe{constructor(){this.members=[]}add(t){lw(this.members,t),t.scheduleRender()}remove(t){if(hw(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 khe(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:M}=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) `),M&&(o+=`skewY(${M}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 UL=["","X","Y","Z"],mhe=1e3;let fhe=0;function WL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function tq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=B$(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&&tq(o)}function aq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=fhe++,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(Mhe),this.nodes.forEach(Ihe),this.nodes.forEach(bhe),this.nodes.forEach(_he)},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 ohe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new pw),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=f$(s)&&!c0e(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=che(y,250),Yx.hasAnimatedSinceResize&&(Yx.hasAnimatedSinceResize=!1,this.nodes.forEach(rN)))})}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 M=this.options.transition||h.getDefaultTransition()||jhe,{onLayoutAnimationStart:f,onLayoutAnimationComplete:v}=h.getProps(),_=!this.targetLayout||!eq(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={...Cw(M,"layout"),onPlay:f,onComplete:v};(h.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,g)}else p||rN(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(),yt(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(whe),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&&tq(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(cN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(iN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Lhe),this.nodes.forEach(ghe),this.nodes.forEach(vhe)):this.nodes.forEach(iN),this.clearAllSnapshots();const d=Ve.now();be.delta=ut(0,1e3/60,d-be.timestamp),be.timestamp=d,be.isProcessing=!0,zL.update.process(be),zL.preRender.process(be),zL.render.process(be),be.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Sw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(xhe),this.sharedNodes.forEach(Che)}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&&!$e(this.snapshot.measuredBox.x)&&!$e(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&&!Q$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||_c(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)),$he(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(qhe))){const{scroll:h}=this.root;h&&(Rc(d.x,h.offset.x),Rc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=me();if(He(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&&He(d,s),Rc(d.x,u.offset.x),Rc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=me();He(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&&Fc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),_c(u.latestValues)&&Fc(l,u.latestValues)}return _c(this.latestValues)&&Fc(l,this.latestValues),l}removeTransform(s){const d=me();He(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!_c(h.latestValues))continue;Xb(h.latestValues)&&h.updateSnapshot();const u=me(),p=h.measurePageBox();He(u,p),QC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return _c(this.latestValues)&&QC(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(),S1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),He(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(),Hle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):He(this.target,this.layout.layoutBox),z$(this.target,this.targetDelta)):He(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(),S1(this.relativeTargetOrigin,this.target,y.target),He(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Xb(this.parent.latestValues)||A$(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;He(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;X0e(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():(XC(this.prevProjectionDelta.x,this.projectionDelta.x),XC(this.prevProjectionDelta.y,this.projectionDelta.y)),N1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!oN(this.projectionDelta.x,this.prevProjectionDelta.x)||!oN(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=Ec(),this.projectionDelta=Ec(),this.projectionDeltaWithTransform=Ec()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Ec();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=me(),m=l?l.source:void 0,M=this.layout?this.layout.source:void 0,f=m!==M,v=this.getStack(),_=!v||v.members.length<=1,g=!!(f&&!_&&this.options.crossfade===!0&&!this.path.some(She));this.animationProgress=0;let L;this.mixTargetDelta=w=>{const C=w/1e3;sN(p.x,s.x,C),sN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(S1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Nhe(this.relativeTarget,this.relativeTargetOrigin,y,C),L&&phe(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=me()),He(L,this.relativeTarget)),f&&(this.animationValues=u,rhe(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&&(yt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=se.update(()=>{Yx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Nc(0)),this.currentAnimation=ahe(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(mhe),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&&nq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||me();const p=$e(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=$e(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}He(d,l),Fc(d,u),N1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new yhe),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&&WL("z",s,h,this.animationValues);for(let u=0;u<UL.length;u++)WL(`rotate${UL[u]}`,s,h,this.animationValues),WL(`skew${UL[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=Xx(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=Xx(d?.pointerEvents)||""),this.hasProjected&&!_c(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=khe(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 M in V1){if(u[M]===void 0)continue;const{correct:f,applyTo:v,isCSSVariable:_}=V1[M],g=p==="none"?u[M]:f(u[M],h);if(v){const L=v.length;for(let w=0;w<L;w++)s[v[w]]=g}else _?this.options.visualElement.renderState.vars[M]=g:s[M]=g}this.options.layoutId&&(s.pointerEvents=h===this?Xx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(cN),this.root.sharedNodes.clear()}}}function ghe(e){e.updateLayout()}function vhe(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"?Re(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=$e(p);p.min=n[u].min,p.max=p.min+y}):nq(i,t.layoutBox,n)&&Re(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=$e(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=Ec();N1(s,n,t.layoutBox);const d=Ec();r?N1(d,e.applyTransform(o,!0),t.measuredBox):N1(d,n,t.layoutBox);const l=!Q$(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();S1(m,t.layoutBox,p.layoutBox);const M=me();S1(M,n,y.layoutBox),eq(m,M)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=M,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 Mhe(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 _he(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xhe(e){e.clearSnapshot()}function cN(e){e.clearMeasurements()}function iN(e){e.isLayoutDirty=!1}function Lhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function rN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ihe(e){e.resolveTargetDelta()}function bhe(e){e.calcProjection()}function whe(e){e.resetSkewAndRotation()}function Che(e){e.removeLeadSnapshot()}function sN(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 dN(e,t,n,o){e.min=he(t.min,n.min,o),e.max=he(t.max,n.max,o)}function Nhe(e,t,n,o){dN(e.x,t.x,n.x,o),dN(e.y,t.y,n.y,o)}function She(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jhe={duration:.45,ease:[.4,0,.1,1]},lN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),hN=lN("applewebkit/")&&!lN("chrome/")?Math.round:Oe;function uN(e){e.min=hN(e.min),e.max=hN(e.max)}function $he(e){uN(e.x),uN(e.y)}function nq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Tle(nN(t),nN(n),.2)}function qhe(e){return e!==e.root&&e.scroll?.wasRoot}const Ahe=aq({attachResizeListener:(e,t)=>P1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),GL={current:void 0},oq=aq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!GL.current){const e=new Ahe({});e.mount(window),e.setOptions({layoutScroll:!0}),GL.current=e}return GL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zhe={pan:{Feature:Jle},drag:{Feature:Yle,ProjectionNode:oq,MeasureLayout:X$}};function pN(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,R1(t)))}class Vhe extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=e0e(t,(n,o)=>(pN(this.node,o,"Start"),i=>pN(this.node,i,"End"))))}unmount(){}}class Phe extends qt{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=H1(P1(this.node.current,"focus",()=>this.onFocus()),P1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function yN(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,R1(t)))}class The extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=o0e(t,(n,o)=>(yN(this.node,o,"Start"),(i,{success:r})=>yN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const nw=new WeakMap,ZL=new WeakMap,Hhe=e=>{const t=nw.get(e.target);t&&t(e)},Dhe=e=>{e.forEach(Hhe)};function Bhe({root:e,...t}){const n=e||document;ZL.has(n)||ZL.set(n,{});const o=ZL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Dhe,{root:e,...t})),o[i]}function Rhe(e,t,n){const o=Bhe(t);return nw.set(e,n),o.observe(e),()=>{nw.delete(e),o.unobserve(e)}}const Fhe={some:0,all:1};class Ehe extends qt{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:Fhe[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 Rhe(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(Ohe(t,n))&&this.startObserver()}unmount(){}}function Ohe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Uhe={inView:{Feature:Ehe},tap:{Feature:The},focus:{Feature:Phe},hover:{Feature:Vhe}},Whe={layout:{ProjectionNode:oq,MeasureLayout:X$}},Ghe={...$le,...Uhe,...zhe,...Whe},Bw=G0e(Ghe,ile);function cq(e){const t=$t(()=>Nc(e)),{isStatic:n}=k.useContext(uL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function iq(e,t){const n=cq(t()),o=()=>n.set(t());return o(),dw(()=>{const i=()=>se.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function Zhe(e){w1.current=[],e();const t=iq(w1.current,e);return w1.current=void 0,t}function Khe(e,t,n,o){if(typeof e=="function")return Zhe(e);const i=typeof t=="function"?t:i0e(t,n,o);return Array.isArray(e)?kN(e,i):kN([e],([r])=>i(r))}function kN(e,t){const n=$t(()=>[]);return iq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Xhe{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 Yhe=()=>new Xhe;function Jhe(){return $t(Yhe)}const rq=k.createContext(null);function Qhe(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?u2e(e,i,i+r):e}function eue({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=$t(()=>Bw[t]),l=[],h=k.useRef(!1);Xe(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=l.findIndex(M=>p===M.value);m!==-1?l[m].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(nue)},updateOrder:(p,y,m)=>{if(h.current)return;const M=Qhe(l,p,y,m);l!==M&&(h.current=!0,o(M.map(aue).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(rq.Provider,{value:u,children:e})})}const tue=k.forwardRef(eue);function aue(e){return e.value}function nue(e,t){return e.layout.min-t.layout.min}function mN(e,t=0){return we(e)?e:cq(t)}function oue({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=$t(()=>Bw[o]),h=k.useContext(rq),u={x:mN(t.x),y:mN(t.y)},p=Khe([u.x,u.y],([f,v])=>f||v?1:"unset");Xe(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:M}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(f,v)=>{const{velocity:_}=v;_[y]&&M(n,u[y].get(),_[y]),i&&i(f,v)},onLayoutMeasure:f=>m(n,f),ref:d,ignoreStrict:!0,children:e})}const cue=k.forwardRef(oue),rL=[c.jsx(I1,{size:18}),c.jsx(Lt,{size:18}),c.jsx(_1,{size:18}),c.jsx(It,{size:18}),c.jsx(p1,{size:18}),c.jsx(u1,{size:18})],iue=({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=rL[u%rL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),M=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(M){const f=M[1],v=M[2]??"",_=f.padStart(3,"0");h.text=`${y} / ${_}${v}`}}}),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(tue,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(rue,{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 rue({value:e,index:t}){const n=Jhe(),o=rL[t%rL.length]??null;return c.jsx(cue,{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(wj,{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 sue(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 due(e){return!e||typeof e=="string"&&e.trim()===""}function lue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function hue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function uue(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 pue(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 yue(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 kue(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 sL(e,t){const n=sue(e,t);if(n)return n;if(due(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=lue(o);if(r)return r;break}case"url":{const r=hue(o);if(r)return r;break}case"number":{const r=uue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=pue(e,t);if(r)return r;break}case"file":{const r=yue(e,t);if(r)return r;break}}const i=kue(o,t);return i||{isValid:!0}}function sq(e,t){const n={};let o=!0;for(const i of t){const r=sL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const mue="_formContainer_14ads_1",fue="_headerLine_14ads_17",gue="_formTitle_14ads_25",vue="_formDescription_14ads_30",Mue="_sectionTitle_14ads_37",_ue="_sectionHelp_14ads_44",xue="_fieldHelp_14ads_50",Lue="_gridContainer_14ads_58",Iue="_fieldGridItem_14ads_70",bue="_sectionFull_14ads_105",wue="_formFooter_14ads_110",Cue="_footerLeft_14ads_118",Nue="_footerRight_14ads_119",Sue="_cancelLink_14ads_125",jue="_submitButton_14ads_136",$ue="_fieldLabel_14ads_148",que="_inputWrapper_14ads_163",Aue="_inputInner_14ads_187",zue="_hasPrefix_14ads_196",Vue="_inputBase_14ads_196",Pue="_iconPrefix_14ads_292",Tue="_iconSuffix_14ads_293",Hue="_passwordToggle_14ads_319",Due="_fieldError_14ads_365",Bue="_fieldInvalid_14ads_372",ie={formContainer:mue,headerLine:fue,formTitle:gue,formDescription:vue,sectionTitle:Mue,sectionHelp:_ue,fieldHelp:xue,gridContainer:Lue,fieldGridItem:Iue,sectionFull:bue,formFooter:wue,footerLeft:Cue,footerRight:Nue,cancelLink:Sue,submitButton:jue,fieldLabel:$ue,inputWrapper:que,inputInner:Aue,hasPrefix:zue,inputBase:Vue,iconPrefix:Pue,iconSuffix:Tue,passwordToggle:Hue,fieldError:Due,fieldInvalid:Bue},dq=({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?ht[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",m=M=>{n(M.target.value)};return c.jsxs("div",{className:ie.inputWrapper,children:[c.jsx("label",{className:`${ie.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${ie.inputInner} ${p&&y==="prefix"?ie.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:ie.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ie.inputBase} ${i?ie.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:ie.passwordToggle,onClick:()=>d(M=>!M),children:s?c.jsx(f1,{size:16}):c.jsx(g1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:ie.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:ie.fieldError,children:i})]})},Rue="_fieldGroup_yb3zi_7",Fue="_fieldLabel_yb3zi_11",Eue="_required_yb3zi_17",Oue="_fieldInput_yb3zi_22",Uue="_fieldInvalid_yb3zi_40",Wue="_fieldValid_yb3zi_44",Gue="_fieldError_yb3zi_48",Zue="_radioGroup_yb3zi_57",wt={fieldGroup:Rue,fieldLabel:Fue,required:Eue,fieldInput:Oue,fieldInvalid:Uue,fieldValid:Wue,fieldError:Gue,radioGroup:Zue},mL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:wt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${wt.fieldLabel} ${e.required?wt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:wt.fieldError,children:n})]})},lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",wt.fieldInput,s?wt.fieldInvalid:"",d?wt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(mL,{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})})},Kue="_wrapper_117u4_1",Xue="_wrapperInvalid_117u4_15",Yue="_nativeSelect_117u4_19",Jue="_display_117u4_30",Que="_topLabel_117u4_37",epe="_valueLine_117u4_45",tpe="_valuePlaceholder_117u4_53",ape="_valueActive_117u4_57",npe="_caret_117u4_61",ope="_error_117u4_75",cpe="_optionStyle_117u4_89",De={wrapper:Kue,wrapperInvalid:Xue,nativeSelect:Yue,display:Jue,topLabel:Que,valueLine:epe,valuePlaceholder:tpe,valueActive:ape,caret:npe,error:ope,optionStyle:cpe},Rw=({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:`${De.wrapper} ${s?De.wrapperInvalid:""} ${t?De.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:De.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:De.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:De.display,children:[d&&c.jsx("span",{className:De.topLabel,children:d}),c.jsx("span",{className:`${De.valueLine} ${t?De.valueActive:De.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:De.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:De.error,children:i})]})},hq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(mL,{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})]})}),uq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(mL,{field:e,error:i,touched:r,children:c.jsx("div",{className:wt.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))})}),ipe="_fileInputContainer_r2guc_3",rpe="_customFileInput_r2guc_8",spe="_fileInputLabel_r2guc_12",dpe="_dragOver_r2guc_39",lpe="_uploadIcon_r2guc_44",hpe="_uploadText_r2guc_50",upe="_uploadHint_r2guc_56",ppe="_fileList_r2guc_60",ype="_fileListTitle_r2guc_69",kpe="_fileItem_r2guc_80",mpe="_fileIcon_r2guc_96",fpe="_fileName_r2guc_102",gpe="_fileSize_r2guc_108",vpe="_removeButton_r2guc_114",Mpe="_errorText_r2guc_129",Ne={fileInputContainer:ipe,customFileInput:rpe,fileInputLabel:spe,dragOver:dpe,uploadIcon:lpe,uploadText:hpe,uploadHint:upe,fileList:ppe,fileListTitle:ype,fileItem:kpe,fileIcon:mpe,fileName:fpe,fileSize:gpe,removeButton:vpe,errorText:Mpe},pq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=v=>{n(v.target.files)},u=()=>{s.current&&s.current.click()},p=v=>{v.preventDefault(),l(!0)},y=()=>{l(!1)},m=v=>{v.preventDefault(),l(!1),v.dataTransfer.files&&v.dataTransfer.files.length>0&&n(v.dataTransfer.files)},M=v=>{if(!t)return;const _=Array.from(t);_.splice(v,1);const g=new DataTransfer;_.forEach(L=>g.items.add(L)),n(g.files)},f=v=>{if(v===0)return"0 Bytes";const _=1024,g=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(v)/Math.log(_));return parseFloat((v/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((v,_)=>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:v.name}),c.jsx("div",{className:Ne.fileSize,children:f(v.size)}),c.jsx("button",{type:"button",className:Ne.removeButton,onClick:g=>{g.stopPropagation(),M(_)},"aria-label":`Supprimer ${v.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})]})},_pe="_container_ecah4_2",xpe="_label_ecah4_6",Lpe="_requiredIndicator_ecah4_13",Ipe="_input_ecah4_18",bpe="_inputError_ecah4_49",wpe="_errorMessage_ecah4_58",Pc={container:_pe,label:xpe,requiredIndicator:Lpe,input:Ipe,inputError:bpe,errorMessage:wpe},yq=({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:Pc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Pc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Pc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Pc.input} ${r&&i?Pc.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:Pc.errorMessage,children:i})]})},Cpe="_rangeContainer_cyqk3_3",Npe={rangeContainer:Cpe},kq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${Npe.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})]}),Spe="_colorPickerContainer_1wxgj_2",jpe="_colorInput_1wxgj_19",$pe="_colorValue_1wxgj_39",KL={colorPickerContainer:Spe,colorInput:jpe,colorValue:$pe},mq=({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:KL.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:KL.colorInput}),c.jsx("span",{className:KL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),fq=({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(pq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(yq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(kq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(mq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Rw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(uq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(dq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var XL,fN;function qpe(){if(fN)return XL;fN=1;function e(){this.__data__=[],this.size=0}return XL=e,XL}var YL,gN;function gq(){if(gN)return YL;gN=1;function e(t,n){return t===n||t!==t&&n!==n}return YL=e,YL}var JL,vN;function fL(){if(vN)return JL;vN=1;var e=gq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return JL=t,JL}var QL,MN;function Ape(){if(MN)return QL;MN=1;var e=fL(),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 QL=o,QL}var eI,_N;function zpe(){if(_N)return eI;_N=1;var e=fL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return eI=t,eI}var tI,xN;function Vpe(){if(xN)return tI;xN=1;var e=fL();function t(n){return e(this.__data__,n)>-1}return tI=t,tI}var aI,LN;function Ppe(){if(LN)return aI;LN=1;var e=fL();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 aI=t,aI}var nI,IN;function gL(){if(IN)return nI;IN=1;var e=qpe(),t=Ape(),n=zpe(),o=Vpe(),i=Ppe();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,nI=r,nI}var oI,bN;function Tpe(){if(bN)return oI;bN=1;var e=gL();function t(){this.__data__=new e,this.size=0}return oI=t,oI}var cI,wN;function Hpe(){if(wN)return cI;wN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return cI=e,cI}var iI,CN;function Dpe(){if(CN)return iI;CN=1;function e(t){return this.__data__.get(t)}return iI=e,iI}var rI,NN;function Bpe(){if(NN)return rI;NN=1;function e(t){return this.__data__.has(t)}return rI=e,rI}var sI,SN;function vq(){if(SN)return sI;SN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return sI=e,sI}var dI,jN;function kt(){if(jN)return dI;jN=1;var e=vq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return dI=n,dI}var lI,$N;function Fw(){if($N)return lI;$N=1;var e=kt(),t=e.Symbol;return lI=t,lI}var hI,qN;function Rpe(){if(qN)return hI;qN=1;var e=Fw(),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 hI=r,hI}var uI,AN;function Fpe(){if(AN)return uI;AN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return uI=n,uI}var pI,zN;function vL(){if(zN)return pI;zN=1;var e=Fw(),t=Rpe(),n=Fpe(),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 pI=s,pI}var yI,VN;function Mq(){if(VN)return yI;VN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return yI=e,yI}var kI,PN;function _q(){if(PN)return kI;PN=1;var e=vL(),t=Mq(),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 kI=s,kI}var mI,TN;function Epe(){if(TN)return mI;TN=1;var e=kt(),t=e["__core-js_shared__"];return mI=t,mI}var fI,HN;function Ope(){if(HN)return fI;HN=1;var e=Epe(),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 fI=n,fI}var gI,DN;function xq(){if(DN)return gI;DN=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 gI=n,gI}var vI,BN;function Upe(){if(BN)return vI;BN=1;var e=_q(),t=Ope(),n=Mq(),o=xq(),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 vI=p,vI}var MI,RN;function Wpe(){if(RN)return MI;RN=1;function e(t,n){return t?.[n]}return MI=e,MI}var _I,FN;function e1(){if(FN)return _I;FN=1;var e=Upe(),t=Wpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return _I=n,_I}var xI,EN;function Ew(){if(EN)return xI;EN=1;var e=e1(),t=kt(),n=e(t,"Map");return xI=n,xI}var LI,ON;function ML(){if(ON)return LI;ON=1;var e=e1(),t=e(Object,"create");return LI=t,LI}var II,UN;function Gpe(){if(UN)return II;UN=1;var e=ML();function t(){this.__data__=e?e(null):{},this.size=0}return II=t,II}var bI,WN;function Zpe(){if(WN)return bI;WN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return bI=e,bI}var wI,GN;function Kpe(){if(GN)return wI;GN=1;var e=ML(),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 wI=i,wI}var CI,ZN;function Xpe(){if(ZN)return CI;ZN=1;var e=ML(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return CI=o,CI}var NI,KN;function Ype(){if(KN)return NI;KN=1;var e=ML(),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 NI=n,NI}var SI,XN;function Jpe(){if(XN)return SI;XN=1;var e=Gpe(),t=Zpe(),n=Kpe(),o=Xpe(),i=Ype();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,SI=r,SI}var jI,YN;function Qpe(){if(YN)return jI;YN=1;var e=Jpe(),t=gL(),n=Ew();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return jI=o,jI}var $I,JN;function eye(){if(JN)return $I;JN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return $I=e,$I}var qI,QN;function _L(){if(QN)return qI;QN=1;var e=eye();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return qI=t,qI}var AI,eS;function tye(){if(eS)return AI;eS=1;var e=_L();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return AI=t,AI}var zI,tS;function aye(){if(tS)return zI;tS=1;var e=_L();function t(n){return e(this,n).get(n)}return zI=t,zI}var VI,aS;function nye(){if(aS)return VI;aS=1;var e=_L();function t(n){return e(this,n).has(n)}return VI=t,VI}var PI,nS;function oye(){if(nS)return PI;nS=1;var e=_L();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 PI=t,PI}var TI,oS;function Lq(){if(oS)return TI;oS=1;var e=Qpe(),t=tye(),n=aye(),o=nye(),i=oye();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,TI=r,TI}var HI,cS;function cye(){if(cS)return HI;cS=1;var e=gL(),t=Ew(),n=Lq(),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 HI=i,HI}var DI,iS;function iye(){if(iS)return DI;iS=1;var e=gL(),t=Tpe(),n=Hpe(),o=Dpe(),i=Bpe(),r=cye();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,DI=s,DI}var BI,rS;function rye(){if(rS)return BI;rS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return BI=t,BI}var RI,sS;function sye(){if(sS)return RI;sS=1;function e(t){return this.__data__.has(t)}return RI=e,RI}var FI,dS;function dye(){if(dS)return FI;dS=1;var e=Lq(),t=rye(),n=sye();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,FI=o,FI}var EI,lS;function lye(){if(lS)return EI;lS=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 EI=e,EI}var OI,hS;function hye(){if(hS)return OI;hS=1;function e(t,n){return t.has(n)}return OI=e,OI}var UI,uS;function Iq(){if(uS)return UI;uS=1;var e=dye(),t=lye(),n=hye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,M=d.length;if(m!=M&&!(y&&M>m))return!1;var f=p.get(s),v=p.get(d);if(f&&v)return f==d&&v==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 UI=r,UI}var WI,pS;function uye(){if(pS)return WI;pS=1;var e=kt(),t=e.Uint8Array;return WI=t,WI}var GI,yS;function pye(){if(yS)return GI;yS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return GI=e,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){o[++n]=i}),o}return ZI=e,ZI}var KI,mS;function kye(){if(mS)return KI;mS=1;var e=Fw(),t=uye(),n=gq(),o=Iq(),i=pye(),r=yye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",M="[object Set]",f="[object String]",v="[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 M:var H=S&s;if(P||(P=r),b.size!=x.size&&!H)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 v:if(w)return w.call(b)==w.call(x)}return!1}return KI=C,KI}var XI,fS;function mye(){if(fS)return XI;fS=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 XI=e,XI}var YI,gS;function Ow(){if(gS)return YI;gS=1;var e=Array.isArray;return YI=e,YI}var JI,vS;function fye(){if(vS)return JI;vS=1;var e=mye(),t=Ow();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return JI=n,JI}var QI,MS;function gye(){if(MS)return QI;MS=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 QI=e,QI}var eb,_S;function vye(){if(_S)return eb;_S=1;function e(){return[]}return eb=e,eb}var tb,xS;function Mye(){if(xS)return tb;xS=1;var e=gye(),t=vye(),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 tb=r,tb}var ab,LS;function _ye(){if(LS)return ab;LS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return ab=e,ab}var nb,IS;function xL(){if(IS)return nb;IS=1;function e(t){return t!=null&&typeof t=="object"}return nb=e,nb}var ob,bS;function xye(){if(bS)return ob;bS=1;var e=vL(),t=xL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return ob=o,ob}var cb,wS;function Lye(){if(wS)return cb;wS=1;var e=xye(),t=xL(),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 cb=r,cb}var l1={exports:{}},ib,CS;function Iye(){if(CS)return ib;CS=1;function e(){return!1}return ib=e,ib}l1.exports;var NS;function bq(){return NS||(NS=1,function(e,t){var n=kt(),o=Iye(),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}(l1,l1.exports)),l1.exports}var rb,SS;function bye(){if(SS)return rb;SS=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 rb=n,rb}var sb,jS;function wq(){if(jS)return sb;jS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return sb=t,sb}var db,$S;function wye(){if($S)return db;$S=1;var e=vL(),t=wq(),n=xL(),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]",M="[object String]",f="[object WeakMap]",v="[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[v]=q[r]=q[_]=q[s]=q[d]=q[l]=q[h]=q[u]=q[p]=q[y]=q[m]=q[M]=q[f]=!1;function $(P){return n(P)&&t(P.length)&&!!q[e(P)]}return db=$,db}var lb,qS;function Cye(){if(qS)return lb;qS=1;function e(t){return function(n){return t(n)}}return lb=e,lb}var h1={exports:{}};h1.exports;var AS;function Nye(){return AS||(AS=1,function(e,t){var n=vq(),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}(h1,h1.exports)),h1.exports}var hb,zS;function Cq(){if(zS)return hb;zS=1;var e=wye(),t=Cye(),n=Nye(),o=n&&n.isTypedArray,i=o?t(o):e;return hb=i,hb}var ub,VS;function Sye(){if(VS)return ub;VS=1;var e=_ye(),t=Lye(),n=Ow(),o=bq(),i=bye(),r=Cq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),m=!p&&!y&&o(h),M=!p&&!y&&!m&&r(h),f=p||y||m||M,v=f?e(h.length,String):[],_=v.length;for(var g in h)(u||d.call(h,g))&&!(f&&(g=="length"||m&&(g=="offset"||g=="parent")||M&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||i(g,_)))&&v.push(g);return v}return ub=l,ub}var pb,PS;function jye(){if(PS)return pb;PS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return pb=t,pb}var yb,TS;function $ye(){if(TS)return yb;TS=1;function e(t,n){return function(o){return t(n(o))}}return yb=e,yb}var kb,HS;function qye(){if(HS)return kb;HS=1;var e=$ye(),t=e(Object.keys,Object);return kb=t,kb}var mb,DS;function Aye(){if(DS)return mb;DS=1;var e=jye(),t=qye(),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 mb=i,mb}var fb,BS;function zye(){if(BS)return fb;BS=1;var e=_q(),t=wq();function n(o){return o!=null&&t(o.length)&&!e(o)}return fb=n,fb}var gb,RS;function Vye(){if(RS)return gb;RS=1;var e=Sye(),t=Aye(),n=zye();function o(i){return n(i)?e(i):t(i)}return gb=o,gb}var vb,FS;function Pye(){if(FS)return vb;FS=1;var e=fye(),t=Mye(),n=Vye();function o(i){return e(i,n,t)}return vb=o,vb}var Mb,ES;function Tye(){if(ES)return Mb;ES=1;var e=Pye(),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,M=e(s),f=M.length;if(m!=f&&!p)return!1;for(var v=m;v--;){var _=y[v];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;++v<m;){_=y[v];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 Mb=i,Mb}var _b,OS;function Hye(){if(OS)return _b;OS=1;var e=e1(),t=kt(),n=e(t,"DataView");return _b=n,_b}var xb,US;function Dye(){if(US)return xb;US=1;var e=e1(),t=kt(),n=e(t,"Promise");return xb=n,xb}var Lb,WS;function Bye(){if(WS)return Lb;WS=1;var e=e1(),t=kt(),n=e(t,"Set");return Lb=n,Lb}var Ib,GS;function Rye(){if(GS)return Ib;GS=1;var e=e1(),t=kt(),n=e(t,"WeakMap");return Ib=n,Ib}var bb,ZS;function Fye(){if(ZS)return bb;ZS=1;var e=Hye(),t=Ew(),n=Dye(),o=Bye(),i=Rye(),r=vL(),s=xq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),M=s(t),f=s(n),v=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 M:return d;case f:return h;case v:return u;case _:return p}return w}),bb=g,bb}var wb,KS;function Eye(){if(KS)return wb;KS=1;var e=iye(),t=Iq(),n=kye(),o=Tye(),i=Fye(),r=Ow(),s=bq(),d=Cq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function M(f,v,_,g,L,w){var C=r(f),b=r(v),x=C?u:i(f),I=b?u:i(v);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(v))return!1;C=!0,S=!1}if(q&&!S)return w||(w=new e),C||d(f)?t(f,v,_,g,L,w):n(f,v,x,_,g,L,w);if(!(_&l)){var $=S&&m.call(f,"__wrapped__"),P=j&&m.call(v,"__wrapped__");if($||P){var H=$?f.value():f,z=P?v.value():v;return w||(w=new e),L(H,z,_,g,w)}}return q?(w||(w=new e),o(f,v,_,g,L,w)):!1}return wb=M,wb}var Cb,XS;function Oye(){if(XS)return Cb;XS=1;var e=Eye(),t=xL();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 Cb=n,Cb}var Nb,YS;function Uye(){if(YS)return Nb;YS=1;var e=Oye();function t(n,o){return e(n,o)}return Nb=t,Nb}var Wye=Uye();const Gye=a.getDefaultExportFromCjs(Wye),Zye=({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,M]=k.useState({}),[f,v]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Gye(_.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 $=sL(S,q);y(P=>({...P,[I]:$.isValid?"":$.error}))}}},L=I=>{if(!m[I]){M(j=>({...j,[I]:!0}));const S=e.fields.find(j=>j.name===I);if(S){const j=sL(h[I],S);y(q=>({...q,[I]:j.isValid?"":j.error}))}}},w=async I=>{I.preventDefault(),v(!0);const S=e.fields.reduce((q,$)=>($.type!=="section"&&(q[$.name]=!0),q),{});M(S);const j=sq(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"}))}v(!1)},C=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,x=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:ie.formContainer,children:[c.jsx("div",{className:ie.headerLine,children:c.jsx("h2",{className:ie.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:ie.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${ie.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:w,children:[c.jsx("div",{className:ie.gridContainer,style:{gridTemplateColumns:`repeat(${x}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return c.jsxs("div",{className:ie.sectionFull,children:[c.jsx("h5",{className:ie.sectionTitle,children:I.label}),I.help&&c.jsx("p",{className:ie.sectionHelp,children:I.help})]},I.name);const j={gridColumn:`span ${Math.max(1,Math.min(x,I.gridCol??x))}`};return c.jsxs("div",{className:ie.fieldGridItem,style:j,children:[c.jsx(fq,{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:ie.fieldHelp,children:I.help})]},I.name)})}),c.jsxs("div",{className:ie.formFooter,children:[c.jsx("div",{className:ie.footerLeft,children:s&&c.jsxs("button",{type:"button",className:ie.cancelLink,onClick:s,children:[C&&c.jsx(C,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:ie.footerRight,children:c.jsx(Jx,{type:"submit",variant:"primary",size:"md",className:ie.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 Kye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Xye="_container_1gljv_85",Yye="_tableWrapper_1gljv_111",Jye="_tableControls_1gljv_117",Qye="_controlsRight_1gljv_128",e4e="_limitedRows_1gljv_151",t4e="_table_1gljv_111",a4e="_headerCell_1gljv_206",n4e="_headerContent_1gljv_220",o4e="_headerWords_1gljv_229",c4e="_headerWord_1gljv_229",i4e="_cellContent_1gljv_276",r4e="_alignLeft_1gljv_286",s4e="_alignCenter_1gljv_290",d4e="_alignRight_1gljv_294",l4e="_tableCell_1gljv_298",h4e="_tableRow_1gljv_308",u4e="_emptyRow_1gljv_385",p4e="_toggleFiltersButton_1gljv_393",y4e="_toggleSortButton_1gljv_394",k4e="_buttonTextCompact_1gljv_415",m4e="_uppercaseSmall_1gljv_450",f4e="_filtersPanel_1gljv_463",g4e="_filtersPanelInline_1gljv_481",v4e="_filtersPanelHorizontal_1gljv_492",M4e="_filtersRow_1gljv_492",_4e="_filtersActionsHorizontal_1gljv_525",x4e="_filterItemInline_1gljv_542",L4e="_filterLabel_1gljv_571",I4e="_filterInput_1gljv_576",b4e="_filterSelect_1gljv_577",w4e="_operatorSelect_1gljv_578",C4e="_operatorInput_1gljv_579",N4e="_activeFilterTag_1gljv_597",S4e="_actionsGroup_1gljv_609",j4e="_applyButton_1gljv_615",$4e="_cancelButton_1gljv_625",q4e="_columnSorterContainer_1gljv_649",A4e="_sorterControls_1gljv_654",z4e="_sortDropdownWrapper_1gljv_659",V4e="_sortDropdown_1gljv_659",P4e="_sortDropdownHeader_1gljv_679",T4e="_closeButton_1gljv_688",H4e="_sortDropdownContent_1gljv_703",D4e="_sortDropdownItem_1gljv_709",B4e="_sortDirectionButtons_1gljv_734",R4e="_sortDirectionButton_1gljv_734",F4e="_activeSort_1gljv_757",E4e="_sortActions_1gljv_764",O4e="_paginationButton_1gljv_842",U4e="_pageSizeSelect_1gljv_844",W4e="_topPagination_1gljv_853",G4e="_paginationContainer_1gljv_861",Z4e="_leftGroup_1gljv_874",K4e="_pageSizeControls_1gljv_882",X4e="_paginationInfo_1gljv_908",Y4e="_paginationControls_1gljv_916",J4e="_disabledButton_1gljv_947",Q4e="_activeButton_1gljv_952",e5e="_navigationButton_1gljv_962",t5e="_operatorFilterContainer_1gljv_1010",a5e="_rangeSeparator_1gljv_1016",n5e="_activeFiltersSection_1gljv_1179",o5e="_activeFiltersRow_1gljv_1184",c5e="_activeFiltersList_1gljv_1192",i5e="_clearAllButton_1gljv_1200",r5e="_removeFilterButton_1gljv_1221",s5e="_sortIndicator_1gljv_1272",d5e="_active_1gljv_349",l5e="_clearSortButton_1gljv_1371",h5e="_loaderSpinner_1gljv_2743",u5e="_loaderSpinnerSmall_1gljv_2755",p5e="_paginationLoading_1gljv_2772",y5e="_loadingButton_1gljv_2780",k5e="_loadingIndicator_1gljv_2791",V={container:Xye,tableWrapper:Yye,tableControls:Jye,controlsRight:Qye,limitedRows:e4e,table:t4e,headerCell:a4e,headerContent:n4e,headerWords:o4e,headerWord:c4e,cellContent:i4e,alignLeft:r4e,alignCenter:s4e,alignRight:d4e,tableCell:l4e,tableRow:h4e,emptyRow:u4e,toggleFiltersButton:p4e,toggleSortButton:y4e,buttonTextCompact:k4e,uppercaseSmall:m4e,filtersPanel:f4e,filtersPanelInline:g4e,filtersPanelHorizontal:v4e,filtersRow:M4e,filtersActionsHorizontal:_4e,filterItemInline:x4e,filterLabel:L4e,filterInput:I4e,filterSelect:b4e,operatorSelect:w4e,operatorInput:C4e,activeFilterTag:N4e,actionsGroup:S4e,applyButton:j4e,cancelButton:$4e,columnSorterContainer:q4e,sorterControls:A4e,sortDropdownWrapper:z4e,sortDropdown:V4e,sortDropdownHeader:P4e,closeButton:T4e,sortDropdownContent:H4e,sortDropdownItem:D4e,sortDirectionButtons:B4e,sortDirectionButton:R4e,activeSort:F4e,sortActions:E4e,paginationButton:O4e,pageSizeSelect:U4e,topPagination:W4e,paginationContainer:G4e,leftGroup:Z4e,pageSizeControls:K4e,paginationInfo:X4e,paginationControls:Y4e,disabledButton:J4e,activeButton:Q4e,navigationButton:e5e,operatorFilterContainer:t5e,rangeSeparator:a5e,activeFiltersSection:n5e,activeFiltersRow:o5e,activeFiltersList:c5e,clearAllButton:i5e,removeFilterButton:r5e,sortIndicator:s5e,active:d5e,clearSortButton:l5e,loaderSpinner:h5e,loaderSpinnerSmall:u5e,paginationLoading:p5e,loadingButton:y5e,loadingIndicator:k5e},m5e=({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"})]}),f5e=({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}),g5e=({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))})},JS=({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})},v5e=({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))]})},M5e=({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})},_5e=({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})]})},x5e=({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})]})},L5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(M5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(JS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(JS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(v5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(_5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(g5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(f5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(x5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(m5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Nq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const M={};return e.forEach(f=>{f.type==="daterange"?M[f.id]={start:"",end:""}:M[f.id]=f.defaultValue??""}),M});k.useEffect(()=>{if(!i)return;const M={...d??{}};e.forEach(f=>{f.id in M||(M[f.id]=f.type==="daterange"?{start:"",end:""}:f.defaultValue??"")}),(t||[]).forEach(f=>{!f||!f.id||(M[f.id]=f.value)}),l(M),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(M=>M.id))]);const h=i?t:r,u=k.useCallback((M,f)=>{l(v=>({...v,[M]:f}))},[]),p=k.useCallback(async()=>{const M=[],f={...d};for(const[v,_]of Object.entries(f)){const g=e.find(C=>C.id===v);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||M.push({id:v,type:g.type,value:L,label:g.label})}return i?n?.(M):(s(M),o?.(M)),M},[d,e,i,n,o]),y=k.useCallback(M=>{l(f=>({...f,[M]:void 0})),u(M,void 0)},[u]),m=k.useCallback(()=>{const M={};e.forEach(f=>{f.type==="daterange"?M[f.id]={start:"",end:""}:M[f.id]=f.defaultValue??""}),l(M),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},I5e=(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 Sq(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(v=>t.some(_=>{const g=v.data[_.id];return g==null?!1:String(g).toLowerCase().includes(l)}))),s.length>0&&(f=f.filter(v=>s.every(_=>{try{const g=v.data[_.id];return I5e(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((v,_)=>{const g=v.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,M=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:m,endIndex:M}}const jq=({value:e})=>e,$q=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),qq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Aq=({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)},zq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Vq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),Pq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Tq=({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"})),ow={renderers:{text:jq,email:$q,link:qq,badge:Aq,date:zq,number:Vq,currency:Pq,image:Tq},icons:{sortAsc:k.createElement(bc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Nt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Oc,{className:"sort-icon",size:14})}},b5e=(e,t)=>{ow.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),ow.renderers[e]=t},w5e=({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:M=!1,loading:f=!1})=>{const[v,_]=k.useState(!1),g=typeof s=="boolean"?s:v,{appliedFilters:L,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:x}=Nq({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)},H=()=>{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(xt,{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(L5e,{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:H,type:"button",children:[c.jsx(Ze,{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:M||f,"aria-disabled":M||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:V.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},QS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},C5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(M=>M.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(M,f)=>{n({key:M,direction:f}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(M=>!M),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const M=v=>{if(!l.current)return;const _=v.target;_&&!l.current.contains(_)&&s(!1)},f=v=>{v.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",M),document.addEventListener("keydown",f),()=>{document.removeEventListener("pointerdown",M),document.removeEventListener("keydown",f)}},[r]),k.useEffect(()=>{const M=document.querySelector("[data-table-wrapper]");if(!M)return;const f=M.style.overflow??"";return r?M.style.overflow="hidden":M.style.overflow=f,()=>{M.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(Oc,{size:14}),c.jsx("span",{className:`${V.buttonTextCompact} ${QS(o)?V.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:V.sortIndicator,children:t?.direction==="asc"?c.jsx(bc,{size:12}):c.jsx(Nt,{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(Ze,{size:16})})]}),c.jsx("div",{className:V.sortDropdownContent,children:d.map(M=>{const f=String(M.label??M.id),v=QS(f);return c.jsxs("div",{className:V.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(M.id,"asc")},children:[c.jsx("span",{className:`${V.columnSorterLabel} ${v?V.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:V.sortDirectionButtons,children:[c.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===M.id&&t?.direction==="asc"?V.activeSort:""}`,onClick:()=>u(M.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(bc,{size:12})}),c.jsx("button",{className:`${V.sortDirectionButton} ${t?.key===M.id&&t?.direction==="desc"?V.activeSort:""}`,onClick:()=>u(M.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(Nt,{size:12})})]})]},M.id)})}),h&&c.jsx("div",{className:V.sortActions,children:c.jsxs("button",{className:V.clearSortButton,onClick:p,type:"button",children:[c.jsx(_t,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},N5e=({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,M=()=>{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}):"«"}),M().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}):"»"})]})]})},S5e=(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)},j5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},$5e=({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=S5e(String(t.label??""),i),s=j5e(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}`)})})}),q5e=({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})})},A5e=({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(q5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},z5e=({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(A5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Hq=({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:M,onPageSizeChange:f,onPageChange:v,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,H]=k.useState({key:null,direction:"asc"}),[z,N]=k.useState(n.currentPage??1),[A,R]=k.useState(n.pageSize??10),[B,T]=k.useState(!1),Z=k.useRef(null),[E,de]=k.useState([]),X=p?d:E,xe=p?[]:E;k.useEffect(()=>{const Q=n.currentPage??1,$c=n.pageSize??10;Q!==z&&N(Q),$c!==A&&R($c)},[n.currentPage,n.pageSize]);const{paginatedData:ye,sortedData:re,totalPages:ee,startIndex:F}=Sq(t,e,i,P,z,A,xe),Y=re.length,oe=typeof $=="number"&&$>=0?$:Y;let te=ee;typeof $=="number"&&$>=0&&(te=Math.max(1,Math.ceil($/A)));const pe=Y>10;k.useEffect(()=>{const Q=Math.max(1,Math.floor(te));z>Q&&N(Q),z<1&&N(1)},[te]);const _e=Q=>{p||de(Q),l?.(Q),N(1),v?.(1)},fe=Q=>{p||de(Q),h?.(Q),N(1),v?.(1),Z.current&&Z.current.style.setProperty("--filters-panel-height","0px")},Se=Q=>{v?.(Q),N(Q)},Ce=Q=>{R(Q),N(1),f?.(Q),v?.(1)},le=Q=>{Z.current&&Z.current.style.setProperty("--filters-panel-height",`${Math.round(Q)}px`)},Le=Q=>{H(Q),u?.(Q)},mt=Q=>{T(Q),!Q&&Z.current&&Z.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(X?.length??0)>0&&T(!0)},[X]),k.useEffect(()=>{s.length>0&&X.length>0&&T(!0)},[s.length,X.length]);const jc=(X?.length??0)>0&&L?L:g;return c.jsxs("div",{ref:Z,className:`${V.container} ${r} ${B?V.filtersOpen:""}`,style:{background:M,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:V.tableControls,children:c.jsxs("div",{className:V.controlsRight,children:[c.jsx(C5e,{columns:e,onSort:Le,label:w,sortConfig:P,loading:q}),s.length>0&&c.jsx(w5e,{filters:s,externalFilters:X,onFiltersChange:_e,onApply:fe,isControlled:p,debounceTimeout:y,expanded:B,onToggle:mt,panelPlacement:"top",onPanelHeightChange:le,label:jc,applyLabel:C,cancelLabel:b,clearLabel:x,applyDisabled:I,loading:j})]})}),c.jsx("div",{className:V.topPagination,children:c.jsx(N5e,{currentPage:z,totalPages:te,pageSize:A,totalItems:oe,itemLabel:_,onPageChange:Se,onPageSizeChange:Ce,loading:S})}),c.jsx("div",{className:`${V.tableWrapper} ${pe?V.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:V.table,children:[c.jsx($5e,{columns:e}),c.jsx(z5e,{data:ye,columns:e,onRowClick:o,startIndex:F,getRowStyle:m,searchTerm:i})]})})]})};function V5e(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(Hq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const P5e="_mpRoot_31595_1",T5e="_mpHeader_31595_22",H5e="_mpTitle_31595_31",D5e="_mpList_31595_35",B5e="_mpVertical_31595_41",R5e="_mpHorizontal_31595_46",F5e="_mpItem_31595_55",E5e="_mpClickable_31595_95",O5e="_mpLeft_31595_117",U5e="_mpIcon_31595_125",W5e="_mpMeta_31595_140",G5e="_mpLabel_31595_145",Z5e="_mpDate_31595_154",K5e="_mpRight_31595_160",X5e="_mpValue_31595_168",Y5e="_mpHint_31595_176",J5e="_mpBadge_31595_180",Q5e="_mpBadgeTop_31595_199",eke="_mpBadgeSub_31595_206",tke="_mpBadgeSmall_31595_213",ake="_mpPill_31595_229",nke="_mpRounded_31595_232",oke="_mpCompact_31595_236",cke="_compactItemWrapper_31595_252",ike="_mpSummaryRoot_31595_265",rke="_mpSummaryInner_31595_269",ske="_mpSummaryFlex_31595_284",dke="_mpSummaryCardWrapperHorizontal_31595_292",lke="_mpSummaryCardWrapper_31595_292",hke="_mpSummaryCardHorizontal_31595_303",uke="_mpSummaryCard_31595_292",pke="_mpSummaryValue_31595_321",yke="_mpSummaryLabel_31595_327",kke="_mpSummaryBadge_31595_338",mke="_mpSummaryBadgeSub_31595_357",fke="_mpEmpty_31595_365",gke="_mpSummaryVertical_31595_372",vke="_mpIconSquare_31595_380",W={mpRoot:P5e,mpHeader:T5e,mpTitle:H5e,mpList:D5e,mpVertical:B5e,mpHorizontal:R5e,mpItem:F5e,mpClickable:E5e,mpLeft:O5e,mpIcon:U5e,mpMeta:W5e,mpLabel:G5e,mpDate:Z5e,mpRight:K5e,mpValue:X5e,mpHint:Y5e,mpBadge:J5e,mpBadgeTop:Q5e,mpBadgeSub:eke,mpBadgeSmall:tke,mpPill:ake,mpRounded:nke,mpCompact:oke,compactItemWrapper:cke,mpSummaryRoot:ike,mpSummaryInner:rke,mpSummaryFlex:ske,mpSummaryCardWrapperHorizontal:dke,mpSummaryCardWrapper:lke,mpSummaryCardHorizontal:hke,mpSummaryCard:uke,mpSummaryValue:pke,mpSummaryLabel:yke,mpSummaryBadge:kke,mpSummaryBadgeSub:mke,mpEmpty:fke,mpSummaryVertical:gke,mpIconSquare:vke},Ct=(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})`},Mke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[W.mpItem,t==="pill"?W.mpPill:W.mpRounded,n?W.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:W.mpLeft,children:[h?c.jsx("div",{className:W.mpIconSquare,style:{background:u??Ct(p??o??"#7c3aed",1),border:`1px solid ${Ct(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:W.mpIcon,children:e.icon}):null,c.jsxs("div",{className:W.mpMeta,children:[c.jsx("div",{className:W.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:W.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:W.mpDate,children:e.date})]})]}),c.jsxs("div",{className:W.mpRight,children:[c.jsx("div",{className:W.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[W.mpBadge,e.badge.small?W.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Ct(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Ct(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:W.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:W.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:W.mpHint,children:e.hint}):null]})]})},_ke=k.memo(Mke),ej=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:W.mpHeader,children:[c.jsx("div",{className:W.mpTitle,children:e}),c.jsx("div",{children:t})]}),tj=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},xke=({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??tj("#7c3aed",.12),border:`1px solid ${tj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Lke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:W.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:W.mpSummaryLabel,children:e.label}),c.jsx("div",{className:W.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]})]}),aj=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},nj=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:aj("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:aj("#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]})]}),oj=(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}},Ike=e=>{switch(e){case"image":return t=>k.createElement(xke,{item:t});case"pertinence":return t=>k.createElement(Lke,{item:t});case"alternateHorizontal":return t=>oj(nj,t);case"compact":return t=>oj(nj,t);case"summary":return;case"default":default:return}},Dq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?W.mpSummaryCardHorizontal:W.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:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:W.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:W.mpSummaryLabel,children:e.label})]})},bke=["transparent","transparent","transparent","transparent"],wke=["transparent","transparent","transparent","transparent"],Cke=["#059669","#2563eb","#b45309","#7c3aed"],Nke=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Bq=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:M=bke,summaryBorderColors:f=wke,summaryValueColors:v=Cke,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":Nke(r,.08),"--mp-bg-primary":g},H=[W.mpRoot,$?W.mpVertical:W.mpHorizontal,s?W.mpCompact:"",m?W.mpSummaryRoot:"",o!=="auto"?o==="vertical"?W.mpOrientationVertical:W.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(Ike(_)??void 0),[y,_]);if(m){const N=o==="horizontal"?W.mpSummaryFlex:W.mpSummaryVertical,R={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return c.jsxs("div",{className:H,style:P,"aria-busy":u,children:[d&&c.jsx(ej,{title:d}),c.jsx("div",{className:W.mpSummaryInner,children:c.jsx("div",{className:`${N} ${w??""}`,style:R,children:t.length===0?c.jsx("div",{className:W.mpEmpty,children:p}):t.map((B,T)=>{const Z=B.bgColor??M[T%M.length],E=B.borderColor??f[T%f.length],de=B.valueColor??v[T%v.length];return z?c.jsx("div",{className:o==="horizontal"?W.mpSummaryCardWrapperHorizontal:W.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...q??{}},children:z(B,T)},B.id):c.jsx(Dq,{item:B,orientation:o==="horizontal"?"horizontal":"vertical",bg:Z,border:E,valueColor:de,onClick:l,width:S??void 0,height:j??void 0,extraStyle:q},B.id)})})})]})}return c.jsxs("div",{className:H,style:P,"aria-busy":u,children:[d&&c.jsx(ej,{title:d}),c.jsx("div",{className:W.mpList,style:L,children:u?c.jsx("div",{className:W.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:W.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?W.compactItemWrapper:void 0,style:A,children:c.jsx(_ke,{item:N,shape:i,onItemClick:l,color:r,renderItem:z?R=>z(R,t.indexOf(R)):void 0})},N.id)})})]})};k.memo(Bq);const Ske=({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})=>{const m=t?typeof t=="number"?`${t}px`:t:void 0,M=n?typeof n=="number"?`${n}px`:n:void 0,f=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),v=f?r:void 0,_=v?.icon?ht[v.icon]:void 0,g=28,L=v?.iconSize??g,w=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),C=o.contentBackground??void 0,b=typeof h=="number"?`${h}px`:h;return c.jsxs("div",{className:w,style:{width:m,height:M,color:o.text,background:o.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:b,...s},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{title:e?.mode==="guide"?e.description:e?.mode==="key"?[y?`${e.textLabel||"Texte"}: ${y}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,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:C},children:l||(f&&v?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[_&&c.jsx("div",{className:"placeholder-icon",style:{width:L,height:L},children:c.jsx(_,{color:v.iconColor??"currentColor",size:typeof L=="number"?L:parseInt(String(L),10)||g})}),v.text&&c.jsx("div",{className:"placeholder-text",children:v.text}),v.subtext&&c.jsx("div",{className:"placeholder-subtext",children:v.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},Uw=({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?ht[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:"✕"})]})},Rq=k.createContext(null),jke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,$ke=({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(()=>{M(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=jke(),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(H=>y(H.id)),q.slice(0,$)):q}),p(I,x.duration),I},M=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))},v=()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear(),s([])},_=x=>{h.current=x},g=()=>r.slice(),L=k.useMemo(()=>({showAlert:m,dismissAlert:M,updateAlert:f,clearAlerts:v,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(k0e,{mode:"popLayout",children:r.map(x=>c.jsx(Bw.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(Uw,{id:x.id,text:x.text,subtext:x.subtext,icon:x.icon,background:"transparent",colorTextPrimary:x.colorTextPrimary,colorTextSub:x.colorTextSub,model:x.model,onClose:()=>M(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(Rq.Provider,{value:L,children:[w?iw.createPortal(C,w):b,e]})},qke=()=>{const e=k.useContext(Rq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Ake={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"}},zke="_container_18zbo_1",Vke="_icon_18zbo_9",Pke="_selectWrapper_18zbo_23",Sb={container:zke,icon:Vke,selectWrapper:Pke},Tke=({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:Sb.container,children:[c.jsxs("div",{className:Sb.icon,children:[c.jsx(y1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Sb.selectWrapper,children:c.jsx(Rw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Hke=250,Dke=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,M]=k.useState(!1),[f,v]=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?.(),v(!1),M(!0))},close:()=>{m&&(r?.(),v(!1),M(!1))},toggle:()=>{m?(r?.(),v(!1),M(!1)):(o?.(),v(!1),M(!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){v(!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){v(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},Hke+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?.(),v(!1),M(!1))};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m,r]);const C=()=>{u&&(r?.(),v(!1),M(!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?.(),v(!1),M(!1)},children:c.jsx(Ze,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function Bke(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 Rke="_container_1pfsp_1",Fke="_title_1pfsp_8",cj={container:Rke,title:Fke},Eke=({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:`${cj.container} ${o}`,style:r,children:c.jsx("h2",{className:cj.title,children:e})})},Oke="_modalOverlay_1dmfp_1",Uke="_modalContainer_1dmfp_16",Wke="_modalTitle_1dmfp_29",Gke="_modalInput_1dmfp_38",Zke="_modalTextarea_1dmfp_39",Kke="_modalActions_1dmfp_71",Xke="_cancelBtn_1dmfp_78",Yke="_saveBtn_1dmfp_100",Jke="_inputError_1dmfp_148",Qke="_inlineAlert_1dmfp_153",We={modalOverlay:Oke,modalContainer:Uke,modalTitle:Wke,modalInput:Gke,modalTextarea:Zke,modalActions:Kke,cancelBtn:Xke,saveBtn:Yke,inputError:Jke,inlineAlert:Qke},Sc=({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),[M,f]=k.useState(!1),[v,_]=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:We.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:We.modalContainer,onMouseDown:b,onClick:b,children:[c.jsx("h2",{className:We.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"?`${We.modalTextarea} ${j?We.inputError:""}`:`${We.modalInput} ${j?We.inputError:""}`,tabIndex:0,disabled:M};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&&v&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Uw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:We.inlineAlert})})]},x.name)}),c.jsxs("div",{className:We.modalActions,children:[c.jsx("button",{className:We.cancelBtn,onClick:t,type:"button",disabled:M,children:u}),c.jsx("button",{className:We.saveBtn,onClick:w,type:"button",disabled:M||!!d,children:M?"En cours...":h})]})]})})},e3e=({title:e,keyCount:t,onAddKey:n})=>{const[o,i]=k.useState(!1),r=s=>{const d=s.key;n&&d&&n(d)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>i(!0),className:"add-key-button",children:[c.jsx(Gc,{className:"add-key-icon"}),"Clé"]}),c.jsx(Sc,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},t3e=({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,M]=k.useState(!1),f=()=>l(!0),v=()=>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:{}})}v()},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(Wc,{size:20,className:"menu-toggle",onClick:()=>M(!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(Uc,{size:18,className:"header-folder",onClick:f}),c.jsx(Wc,{size:18,className:"header-menu",onClick:()=>M(!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(v1,{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(x1,{onClick:j=>g(j,x),color:"#777",size:16}),n&&c.jsx(St,{onClick:j=>C(j,x.id),color:"#777",size:16})]})]},x.id)})}),c.jsx(Sc,{isOpen:d,onClose:v,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(Sc,{isOpen:!!h,onClose:L,onSave:w,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Fq=({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:r?.mode==="guide"?r.description||e:r?.mode==="key"?r.key:void 0,children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(L1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:s=>n?.(s.target.value),className:"search-input"})]}),a3e=({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(""),[M,f]=k.useState(null),[v,_]=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(T=>T.language),P=n.filter(T=>!$.includes(T.code)),H=()=>{y&&g.trim()&&(d?.(e,y,g.trim()),m(""),L(""),p(!1))},z=(T,Z)=>{f(T),_(Z)},N=T=>{r?.(e,T,v),f(null),_("")},A=()=>{f(null),_("")},R=async T=>{const Z=T.name?.trim();if(Z){if(S(null),q(!1),Z===e||!i)return C(!1),"ok";try{const E=await i(e,Z);if(typeof E=="string"&&E==="ok")C(!1),S(null);else{if(typeof E=="string"&&E==="duplicate-same")return S("Une clé existe déjà dans ce module."),q(!0),"duplicate-same";if(typeof E=="string"&&E==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(E){console.error("Erreur handleRenameSave:",E),S("Erreur lors du renommage.")}}},B=(T,Z)=>{if(T!=="name")return;const E=Z.trim();S(null),q(!1),E&&typeof h=="function"&&(h(E,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(m1,{className:"collapse-icon"}):c.jsx(Nt,{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:T=>{T.stopPropagation(),C(!0)},title:"Renommer la clé",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:T=>{T.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(St,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(T=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:T.language}),c.jsx("div",{className:"translation-content",children:M===T.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:v,onChange:Z=>_(Z.target.value),className:"edit-input",autoFocus:!0,onKeyDown:Z=>{Z.key==="Enter"&&N(T.language),Z.key==="Escape"&&A()}}),c.jsx("button",{onClick:()=>N(T.language),className:"save-button",disabled:!v.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:A,className:"cancel-button",children:c.jsx(Ze,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:T.value,children:T.value}),c.jsx("button",{onClick:()=>z(T.language,T.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,T.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ze,{className:"action-icon"})})]})})]},T.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:T=>m(T.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),P.map(T=>c.jsxs("option",{value:T.code,children:[T.name," (",T.code,")"]},T.code))]})}),y&&c.jsx("input",{type:"text",value:g,onChange:T=>L(T.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:T=>{T.key==="Enter"&&H(),T.key==="Escape"&&(p(!1),m(""),L(""))}}),c.jsx("button",{onClick:H,disabled:!y||!g.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),m(""),L("")},className:"cancel-button",children:c.jsx(Ze,{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(Sc,{isOpen:w,onClose:()=>{C(!1),S(null),q(!1)},onSave:R,onFieldChange:B,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:j})]})},n3e="_wrapper_1wvht_1",o3e="_leftGroup_1wvht_12",c3e="_filterButton_1wvht_21",i3e="_open_1wvht_42",r3e="_filterIcon_1wvht_42",s3e="_infoText_1wvht_58",d3e="_pickerContainer_1wvht_66",l3e="_srOnly_1wvht_79",h3e="_pickerLabel_1wvht_91",u3e="_datetime_1wvht_98",p3e="_rightGroup_1wvht_107",y3e="_searchInputWrap_1wvht_116",k3e="_searchInput_1wvht_116",m3e="_searchIcon_1wvht_152",qe={wrapper:n3e,leftGroup:o3e,filterButton:c3e,open:i3e,filterIcon:r3e,infoText:s3e,pickerContainer:d3e,srOnly:l3e,pickerLabel:h3e,datetime:u3e,rightGroup:p3e,searchInputWrap:y3e,searchInput:k3e,searchIcon:m3e};function f3e({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:qe.wrapper,ref:d,children:[c.jsxs("div",{className:qe.leftGroup,children:[c.jsxs("button",{type:"button",className:`${qe.filterButton} ${o?qe.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:qe.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:qe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:qe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:qe.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:qe.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:qe.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:qe.rightGroup,children:c.jsxs("div",{className:qe.searchInputWrap,children:[c.jsx("input",{className:qe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:qe.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 g3e=({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 M=Array.isArray(r)?r:[],f=M.length===0,v=M.every(w=>typeof w=="string"),_=M.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})]}):v&&!_?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:M.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:M.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)})})]})},v3e=({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(M=>Array.isArray(M)),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((M,f)=>{const v=u[f]||"";if(Array.isArray(M)){const[_,g]=M,L=s[f]||r;return c.jsxs("div",{className:`clb-row ${v}`,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 ${v}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:M})]},f):c.jsx("div",{className:`clb-fullrow ${v}`,style:{background:h??void 0},children:c.jsx("span",{children:M})},f)})})]})},M3e=({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)})})]})},_3e=({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}))}),x3e=({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}))}),L3e="_overlay_i1ay5_2",I3e="_fadeIn_i1ay5_1",b3e="_popup_i1ay5_17",w3e="_slideUp_i1ay5_1",C3e="_header_i1ay5_28",N3e="_body_i1ay5_40",S3e="_footer_i1ay5_51",j3e="_cancelButton_i1ay5_59",$3e="_confirmButton_i1ay5_77",q3e="_warning_i1ay5_97",A3e="_danger_i1ay5_106",z3e="_info_i1ay5_115",gt={overlay:L3e,fadeIn:I3e,popup:b3e,slideUp:w3e,header:C3e,body:N3e,footer:S3e,cancelButton:j3e,confirmButton:$3e,warning:q3e,danger:A3e,info:z3e},V3e=({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:gt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${gt.popup} ${gt[d]}`,children:[c.jsx("div",{className:gt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:gt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:gt.footer,children:[c.jsx("button",{className:gt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:gt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},P3e=()=>{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}},T3e="_container_v7v52_1",H3e="_selectButton_v7v52_6",D3e="_disabled_v7v52_19",B3e="_error_v7v52_29",R3e="_outline_v7v52_43",F3e="_filled_v7v52_53",E3e="_sm_v7v52_58",O3e="_md_v7v52_63",U3e="_lg_v7v52_68",W3e="_buttonContent_v7v52_73",G3e="_label_v7v52_80",Z3e="_placeholder_v7v52_87",K3e="_iconsContainer_v7v52_91",X3e="_loadingSpinner_v7v52_99",Y3e="_spin_v7v52_1",J3e="_arrowIcon_v7v52_119",Q3e="_arrowIconOpen_v7v52_127",eme="_dropdown_v7v52_131",tme="_searchContainer_v7v52_146",ame="_searchInput_v7v52_150",nme="_optionsList_v7v52_173",ome="_noResults_v7v52_195",cme="_option_v7v52_173",ime="_optionHighlighted_v7v52_217",rme="_optionSelected_v7v52_222",sme="_optionDisabled_v7v52_228",dme="_optionLabel_v7v52_233",lme="_checkIcon_v7v52_240",hme="_widthFull_v7v52_248",ume="_width64_v7v52_252",pme="_width80_v7v52_256",yme="_width96_v7v52_260",ne={container:T3e,selectButton:H3e,disabled:D3e,error:B3e,default:"_default_v7v52_38",outline:R3e,filled:F3e,sm:E3e,md:O3e,lg:U3e,buttonContent:W3e,label:G3e,placeholder:Z3e,iconsContainer:K3e,loadingSpinner:X3e,spin:Y3e,arrowIcon:J3e,arrowIconOpen:Q3e,dropdown:eme,searchContainer:tme,searchInput:ame,optionsList:nme,noResults:ome,option:cme,optionHighlighted:ime,optionSelected:rme,optionDisabled:sme,optionLabel:dme,checkIcon:lme,widthFull:hme,width64:ume,width80:pme,width96:yme},kme=({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,M]=k.useState(""),[f,v]=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),M(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{v(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),M(""))},j=N=>{M(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(),v(A=>A<b.length-1?A+1:A);break;case"ArrowUp":N.preventDefault(),v(A=>A>0?A-1:A);break;case"Enter":N.preventDefault(),b[f]&&S(b[f]);break;case"Escape":y(!1),M("");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}},H=(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&&iw.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:H(N,A),onClick:()=>S(N),onMouseEnter:()=>v(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)]})},mme="_container_uq7pt_1",fme="_item_uq7pt_7",gme="_mainValue_uq7pt_13",vme="_label_uq7pt_17",Mme="_subValue_uq7pt_22",_me="_subValueWrapper_uq7pt_27",xme="_subSeparator_uq7pt_32",Be={container:mme,item:fme,mainValue:gme,label:vme,subValue:Mme,subValueWrapper:_me,subSeparator:xme},Lme=({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[M,f]=p.split("/").map(v=>v.trim());return c.jsxs("span",{className:Be.subValueWrapper,children:[c.jsx("span",{className:Be.subLeft,style:{color:y},children:M}),c.jsx("span",{className:Be.subSeparator,children:" / "}),c.jsx("span",{className:Be.subRight,style:{color:m},children:f})]})};return c.jsxs("div",{className:Be.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:Be.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Be.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:Be.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:Be.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:Be.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:Be.label,style:{color:l},children:p.label}),c.jsx("div",{className:Be.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},Ime="_encours_16ist_1",bme="_header_16ist_19",wme="_iconWrap_16ist_27",Cme="_title_16ist_36",Nme="_items_16ist_47",Sme="_spaceEvenly_16ist_56",jme="_item_16ist_47",$me="_valueContainer_16ist_86",qme="_value_16ist_86",Ame="_label_16ist_108",et={encours:Ime,header:bme,iconWrap:wme,title:Cme,items:Nme,spaceEvenly:Sme,item:jme,valueContainer:$me,value:qme,label:Ame},Ic=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function zme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=Ic(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=Ic(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=Ic(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=Ic(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Vme(){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 Pme(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:M="#ffffff",width:f,gap:v,className:_,ariaLabel:g}=e,L=r?ht[r]:void 0,w={background:M,width:Ic(f),...m},C={};n&&(C.color=n),o!==void 0&&(C.fontSize=Ic(o)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${et.encours} ${_??""}`,style:w,"aria-label":g??t,children:[c.jsxs("div",{className:et.header,children:[c.jsx("div",{className:et.iconWrap,"aria-hidden":!0,style:b,children:L?c.jsx(L,{size:typeof s=="number"?s:void 0}):c.jsx(Vme,{})}),c.jsx("div",{className:et.title,style:C,children:t})]}),c.jsx("div",{className:`${et.items} ${v===void 0?et.spaceEvenly:""}`,role:"list",style:v!==void 0?{gap:`${v}px`}:{},children:y.map((x,I)=>{const{valueStyle:S,labelStyle:j}=zme(x,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:et.item,role:"listitem",style:{...x.background?{background:x.background}:{},...x.width?{width:Ic(x.width)}:{}},children:c.jsxs("div",{className:et.valueContainer,children:[c.jsx("div",{className:et.value,style:S,children:x.value}),x.label&&c.jsx("div",{className:et.label,style:j,children:x.label})]})},`${String(x.label??x.value)}-${I}`)})})]})}const Tme=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"})),Hme=k.memo(Tme),Dme=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"})),Bme=k.memo(Dme),Rme=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"})),Fme=k.memo(Rme),Eme=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"})),Ome=k.memo(Eme),Ume=({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,M]=k.useState(e),[f,v]=k.useState(!1);if(k.useEffect(()=>{v(!0)},[]),k.useEffect(()=>{M(e)},[e]),!f)return null;const _=(w,C)=>{C<4||M(b=>b.map(x=>x.component_key===w?{...x,visible:!x.visible}:x))},g=()=>{t(m),y(!1)},L=u?.mode==="guide"?u.description||s:u?.mode==="key"?u.key: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(Lj,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?c.jsx(Bme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Hme,{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(Fme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Ome,{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})})]})]})},Wme="_container_zhny9_1",Gme="_card_zhny9_15",Zme="_footer_zhny9_33",Kme="_noPaddingMobile_zhny9_51",Z1={container:Wme,card:Gme,footer:Zme,noPaddingMobile:Kme},Xme="_board_71fer_1",Yme="_clickable_71fer_21",Jme="_sideBar_71fer_26",Qme="_boardContent_71fer_32",e6e="_orange_71fer_40",t6e="_red_71fer_44",a6e="_green_71fer_48",n6e="_grey_71fer_52",o6e="_lightGrey_71fer_56",c6e="_big_71fer_61",i6e="_medium_71fer_66",r6e="_headerRow_71fer_70",s6e="_iconWrapper_71fer_75",d6e="_headerTitle_71fer_80",l6e="_valueArea_71fer_89",h6e="_titleWhite_71fer_99",u6e="_titleBlack_71fer_103",p6e="_valueWhite_71fer_108",y6e="_valueBlack_71fer_112",k6e="_valueBlue_71fer_116",m6e="_bars_71fer_121",f6e="_bar_71fer_121",g6e="_barDark_71fer_135",v6e="_barDim_71fer_139",Fe={board:Xme,clickable:Yme,sideBar:Jme,boardContent:Qme,orange:e6e,red:t6e,green:a6e,grey:n6e,lightGrey:o6e,big:c6e,medium:i6e,headerRow:r6e,iconWrapper:s6e,headerTitle:d6e,valueArea:l6e,titleWhite:h6e,titleBlack:u6e,valueWhite:p6e,valueBlack:y6e,valueBlue:k6e,bars:m6e,bar:f6e,barDark:g6e,barDim:v6e},M6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Fe.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Fe.bar} ${r<o?"":e?Fe.barDark:Fe.barDim}`},r))})},bt=({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:M="white",titleFontSize:f,titleFontWeight:v,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||{},H=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=`${Fe.board} ${Fe[d]} ${p}`;return c.jsxs("div",{className:z,onClick:x,style:l!==void 0?{...H,"--ds-value-scale":l}:H,children:[L&&c.jsx("div",{className:Fe.sideBar,style:{backgroundColor:L}}),c.jsxs("div",{className:Fe.boardContent,style:{padding:$,gap:b},children:[c.jsxs("div",{className:Fe.headerRow,style:{justifyContent:w,alignItems:C},children:[t&&c.jsx("div",{className:Fe.iconWrapper,style:{color:I},children:t}),c.jsx("div",{className:`${Fe.headerTitle} header-title-data-board`,children:c.jsx("span",{title:e?.mode==="guide"?e.description:e?.mode==="key"?[S?`${e.textLabel||"Texte"}: ${S}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,"aria-label":e?.description,style:{color:m,...f?{fontSize:f}:{},...v?{fontWeight:v}:{}},children:n})}),j?c.jsx(M6e,{endingDark:q,lightCount:s}):null]}),c.jsx("div",{className:Fe.valueArea,style:{color:M,..._?{fontSize:_}:{},...g?{fontWeight:g}:{}},children:o})]})]})},_6e="_wrapper_1uu3e_10",x6e="_hosp_1uu3e_19",L6e="_headerRow_1uu3e_54",I6e="_iconWrapper_1uu3e_61",b6e="_headerTitle_1uu3e_67",w6e="_hospValue_1uu3e_76",C6e="_side_1uu3e_88",N6e="_mini_1uu3e_100",S6e="_miniLabel_1uu3e_131",j6e="_miniValue_1uu3e_140",$6e="_miniBars_1uu3e_150",q6e="_bars_1uu3e_155",A6e="_bar_1uu3e_155",z6e="_barDark_1uu3e_169",V6e="_barDim_1uu3e_173",je={wrapper:_6e,hosp:x6e,headerRow:L6e,iconWrapper:I6e,headerTitle:b6e,hospValue:w6e,side:C6e,mini:N6e,miniLabel:S6e,miniValue:j6e,miniBars:$6e,bars:q6e,bar:A6e,barDark:z6e,barDim:V6e},P6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${je.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${je.bar} ${r<o?"":e?je.barDark:je.barDim}`},r))})},Eq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${je.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${je.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:e.a11yConfig?.mode==="guide"?e.a11yConfig.description:e.a11yConfig?.mode==="key"?[e.titleKey?`${e.a11yConfig.textLabel||"Texte"}: ${e.titleKey}`:null,e.a11yConfig.key?`${e.a11yConfig.guideLabel||"Guide"}: ${e.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:[c.jsxs("div",{className:je.headerRow,children:[c.jsxs("div",{className:`${je.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:je.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:e.a11yConfig?.mode==="guide"?e.a11yConfig.description:e.a11yConfig?.mode==="key"?[e.titleKey?`${e.a11yConfig.textLabel||"Texte"}: ${e.titleKey}`:null,e.a11yConfig.key?`${e.a11yConfig.guideLabel||"Guide"}: ${e.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:e.label})]}),r?c.jsx(P6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:je.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:je.side,children:t.map((d,l)=>c.jsxs("div",{className:`${je.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:d.a11yConfig?.mode==="guide"?d.a11yConfig.description:d.a11yConfig?.mode==="key"?[d.titleKey?`${d.a11yConfig.textLabel||"Texte"}: ${d.titleKey}`:null,d.a11yConfig.key?`${d.a11yConfig.guideLabel||"Guide"}: ${d.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:[c.jsxs("span",{className:je.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:d.a11yConfig?.mode==="guide"?d.a11yConfig.description:d.a11yConfig?.mode==="key"?[d.a11yConfig.key?`${d.a11yConfig.textLabel||"Texte"}: ${d.a11yConfig.key}`:null,d.a11yConfig.key?`${d.a11yConfig.guideLabel||"Guide"}: ${d.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${je.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:je.miniBars})]},d.id??`${d.label}-${l}`))})]})},T6e=({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 M={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},f=e[0],v=e[1],_=e.slice(2,5);return c.jsxs("div",{style:M,className:`${Z1.container} ${y?Z1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:Z1.card,children:[f?c.jsx(bt,{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,v&&_.length>0?c.jsx(Eq,{left:{a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.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)}))}):v&&_.length===0?c.jsx(bt,{a11yConfig:v.a11yConfig,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,size:v.size??"big",valueScale:v.valueScale,width:v.width,height:v.height,titleColor:"white",valueColor:"white",titleFontSize:v.titleFontSize??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,onClick:g=>m?.(1,g)}):null]}),t&&c.jsx("div",{className:Z1.footer,children:t})]})},H6e=({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})})}),D6e=({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(H6e,{}):void 0}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),B6e="_menu_10i6j_1",R6e="_menuRow_10i6j_18",F6e="_separator_10i6j_33",E6e="_rowLabel_10i6j_39",O6e="_rowLeadingIcon_10i6j_47",U6e="_rowIcon_10i6j_54",Tc={menu:B6e,menuRow:R6e,separator:F6e,rowLabel:E6e,rowLeadingIcon:O6e,rowIcon:U6e},W6e=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:Tc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Tc.separator},y.id);const m=y,M=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Tc.menuRow,style:M,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Tc.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Tc.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Tc.rowIcon,children:m.icon})]},m.id)})})}),Oq=({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:M="12px",roleFontWeight:f,avatarColor:v="#5b8fb9",backgroundColorAvatar:_="#f1f4f5",dropdownMenuItems:g,dropdownMenuStyle:L,dropdownMenuOffset:w,statusDotColor:C,a11yConfig:b,style:x,className:I=""})=>{const{user:S}=it(),j=e||S,{currentTheme:q,switchTheme:$}=lL(),P=k.useRef(null),H=k.useRef(null),[z,N]=k.useState(!1),[A,R]=k.useState({}),B=k.useMemo(()=>{const F=[],Y=({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(Y,{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,$]),T=g??B,Z=()=>{if(!P.current){N(F=>!F);return}if(!z){const F=P.current.getBoundingClientRect(),Y=window.innerWidth,oe=window.innerHeight,te=200,pe=200,_e=4,fe=w?.x??0,Se=w?.y??0,le=Y-F.right>=te+_e;R(le?{top:F.bottom-pe+Se,left:F.right+_e+fe}:{bottom:oe-F.top+Se,left:F.left+fe})}N(F=>!F)};if(k.useEffect(()=>{if(!z||!P.current)return;const F=()=>{const Y=P.current.getBoundingClientRect(),oe=window.innerWidth,te=window.innerHeight,pe=200,_e=200,fe=4,Se=w?.x??0,Ce=w?.y??0,Le=oe-Y.right>=pe+fe;R(Le?{top:Y.bottom-_e+Ce,left:Y.right+fe+Se}:{bottom:te-Y.top+Ce,left:Y.left+Se})};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||!H.current)return;const F=()=>{const oe=P.current.getBoundingClientRect(),te=H.current.getBoundingClientRect(),pe=w?.x??0,_e=w?.y??0;R(fe=>fe.left!==void 0&&fe.top!==void 0&&fe.left>=oe.right-1?{top:oe.bottom-te.height+_e,left:fe.left+pe}:fe)},Y=requestAnimationFrame(()=>{setTimeout(F,0)});return()=>cancelAnimationFrame(Y)},[z,w]),!j)return null;const E=j,de=parseInt(h,10)||40,X=`${de*.375}px`,xe=`${de*1.375}px`,ye=`${de*.2}px`,re=`${de*.6}px`,ee=()=>{const F=parseInt(h,10)||40,Y=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:[E.image?c.jsx("img",{src:E.image,alt:`${E.prenom} ${E.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:v,position:"absolute",top:ye,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:xe,height:xe,borderRadius:"50%",backgroundColor:v,position:"absolute",top:re,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&c.jsx("div",{style:{position:"absolute",bottom:oe,right:oe,width:`${Y}px`,height:`${Y}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:E.email,children:E.email}),c.jsx("span",{style:{color:l,fontSize:M,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:E.role,children:E.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:b?.mode==="guide"?b.description||E.email:b?.mode==="key"?[E.role?`${b.textLabel||"Texte"}: ${E.role}`:null,b.key?`${b.guideLabel||"Guide"}: ${b.key}`:null].filter(Boolean).join(" | "):void 0,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(ee,{})})}),c.jsx(W6e,{ref:H,isVisible:z,onClose:()=>N(!1),items:T,style:L,position:A})]})},G6e="_navItem_16uqf_1",Z6e="_label_16uqf_14",K6e="_icon_16uqf_26",c1={navItem:G6e,label:Z6e,icon:K6e},Ww=({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:M=!1,padding:f="10px 16px",borderWidth:v="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:c1.icon,style:{marginRight:M?0:_},children:r}),!M&&c.jsx("span",{className:c1.label,title:w?.mode==="guide"?w.description||e:w?.mode==="key"?[t?`${w.textLabel||"Texte"}: ${t}`:null,w.key?`${w.guideLabel||"Guide"}: ${w.key}`:null].filter(Boolean).join(" | "):void 0,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:`${c1.navItem} ${i?c1.active:""} ${d} ${g?c1.disabled:""}`,style:{padding:f,color:i?u:g?L||"#999":h,borderLeft:i?`${v} solid ${l}`:`${v} 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,children:b}):c.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!g?0:void 0,children:b})},X6e="_navbar_agnn2_1",Y6e="_topSection_agnn2_9",J6e="_sectionsContainer_agnn2_14",Q6e="_sectionTitle_agnn2_20",e8e="_sectionItems_agnn2_25",t8e="_bottomSection_agnn2_30",a8e="_versionContainer_agnn2_49",rt={navbar:X6e,topSection:Y6e,sectionsContainer:J6e,sectionTitle:Q6e,sectionItems:e8e,bottomSection:t8e,versionContainer:a8e},n8e=({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:M="12px",navItemFontSize:f="15px",navItemFontWeight:v="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:H})=>{const z=it(),N=z.activeNav,A=z.setActiveNav,R=z.user,B=S.user||R;return c.jsxs("div",{className:`${rt.navbar} ${q}`,style:{width:$,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:rt.topSection,style:{gap:t},children:[P&&c.jsx("div",{className:rt.logoContainer,children:c.jsx(dL,{...e})}),c.jsx("div",{className:rt.sectionsContainer,style:{gap:i},children:n.map((T,Z)=>c.jsxs("div",{className:rt.section,children:[T.title&&c.jsx("div",{className:rt.sectionTitle,title:T.a11yConfig?.mode==="guide"?T.a11yConfig.description||T.title:T.a11yConfig?.mode==="key"?[T.titleKey?`${T.a11yConfig.textLabel||"Texte"}: ${T.titleKey}`:null,T.a11yConfig.key?`${T.a11yConfig.guideLabel||"Guide"}: ${T.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,style:{fontSize:L,color:w,padding:g,fontWeight:C,border:"4px solid transparent",...u},children:T.title}),c.jsx("div",{className:rt.sectionItems,style:{gap:r},children:T.items.map(E=>c.jsx(Ww,{...E,isActive:E.isActive===null?E.isActive:N===E.id,onClick:()=>{E.onClick&&E.onClick(),E.isActive==null&&A(E.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:M,fontSize:f,fontWeight:v,color:_,style:p},E.id))})]},Z))})]}),c.jsxs("div",{className:rt.bottomSection,style:{gap:t},children:[c.jsx(Oq,{...S,user:B}),h&&c.jsx("div",{className:rt.versionContainer,title:H?.mode==="guide"?H.description||h:H?.mode==="key"?[H.textLabel||"Texte",H.key?`${H.guideLabel||"Guide"}: ${H.key}`:null].filter(Boolean).join(" | "):void 0,style:{fontSize:b,fontWeight:x,color:I},children:h})]})]})},o8e="_container_4qege_1",c8e="_titleContainer_4qege_10",i8e="_title_4qege_10",r8e="_inlineToggleContainer_4qege_24",s8e="_rightContentContainer_4qege_30",i1={container:o8e,titleContainer:c8e,title:i8e,inlineToggleContainer:r8e,rightContentContainer:s8e},d8e=({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=v=>v,rightContent:M,inlineToggle:f})=>{const{activeNav:v}=it(),_=y.find(L=>L.id===v),g=m(_?_.label:v);return g?c.jsxs("div",{className:`${i1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:i1.titleContainer,children:[c.jsx("div",{className:i1.title,style:{fontSize:n,fontWeight:o,color:i},children:g}),f&&c.jsx("div",{className:i1.inlineToggleContainer,children:f})]}),M&&c.jsx("div",{className:i1.rightContentContainer,children:M})]}):null},l8e="_navItem_1hg26_1",h8e="_navItemIcon_1hg26_21",u8e="_navItemLabel_1hg26_29",p8e="_navItemCount_1hg26_36",y8e="_navItemIndicator_1hg26_49",r1={navItem:l8e,navItemIcon:h8e,navItemLabel:u8e,navItemCount:p8e,navItemIndicator:y8e},Uq=({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:M="2px 6px",countFontSize:f="12px",countFontWeight:v="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:`${r1.navItem} ${I}`,onClick:q,title:e?.mode==="guide"?e.description||t:e?.mode==="key"?[r?`${e.textLabel||"Texte"}: ${r}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,style:{gap:b,padding:L,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:w,fontWeight:C,...x},children:[s&&c.jsx("span",{className:r1.navItemIcon,children:s}),c.jsx("span",{className:r1.navItemLabel,title:e?.mode==="guide"?e.description:e?.mode==="key"?e.key:void 0,children:t}),d!==void 0&&c.jsx("span",{className:r1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:m,padding:M,fontSize:f,fontWeight:v},children:d}),n&&!S&&c.jsx("div",{className:r1.navItemIndicator,style:{height:g,backgroundColor:_}})]})},k8e="_container_13hsa_1",m8e="_groupHeader_13hsa_8",f8e="_groupHeaderLeft_13hsa_18",g8e="_groupIcon_13hsa_23",v8e="_dropdown_13hsa_29",M8e="_item_13hsa_42",_8e="_itemIcon_13hsa_65",x8e="_chevron_13hsa_72",L8e="_chevronOpen_13hsa_79",st={container:k8e,groupHeader:m8e,groupHeaderLeft:f8e,groupIcon:g8e,dropdown:v8e,item:M8e,itemIcon:_8e,chevron:x8e,chevronOpen:L8e},I8e=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"})),j1=k.memo(I8e),Wq=({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:M="var(--color-primary)",itemActiveBorderColor:f="var(--color-primary)",itemDividerColor:v="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 H=z=>{$.current&&!$.current.contains(z.target)&&q("")};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const P={backgroundColor:r,color:s,borderRadius:S,...o};return c.jsx("nav",{ref:$,className:[st.container,i].filter(Boolean).join(" "),style:P,children:e.map(H=>{const z=j===H.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:st.groupHeader,style:N,onClick:()=>q(z?"":H.id),role:"button","aria-expanded":z,children:[c.jsxs("div",{className:st.groupHeaderLeft,style:{gap:I},children:[H.icon&&c.jsx("span",{className:st.groupIcon,style:{color:L,width:C,height:C},children:H.icon}),c.jsx("span",{children:H.label})]}),c.jsx("span",{className:[st.chevron,z?st.chevronOpen:""].join(" "),style:{color:w},children:c.jsx(j1,{width:18,height:18})})]}),z&&c.jsx("div",{className:st.dropdown,style:A,children:H.items.map(R=>{const B=R.id===t,T={padding:x,gap:I,color:B?M:m,backgroundColor:p,"--item-border-width":B?"4px":"1px","--item-border-color":B?f:v};return c.jsxs("div",{className:st.item,style:T,onClick:()=>{n?.(H.id,R.id),q("")},role:"menuitem",onMouseEnter:Z=>{B||(Z.currentTarget.style.backgroundColor=y)},children:[R.icon&&c.jsx("span",{className:st.itemIcon,style:{color:B?g:_,width:C,height:C},children:R.icon}),c.jsx("span",{children:R.label})]},R.id)})})]},H.id)})})},b8e="_subheaderContent_1glo8_1",w8e="_navContainer_1glo8_11",C8e="_rightContent_1glo8_45",jb={subheaderContent:b8e,navContainer:w8e,rightContent:C8e},N8e=({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:M="#5c6975",indicatorHeight:f="3px",showDraggable:v=!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:H,rightActions:z,activeSwitcherColor:N,inactiveSwitcherColor:A,isMobile:R=!1,onNavigate:B})=>{const{activeSubNav:T,setActiveSubNav:Z,navCounts:E,activeNav:de}=it();if(R){const X=e.find(ye=>ye.id===T)||e[0],xe=[{id:"current-group",label:X?.label||de?.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(Wq,{groups:xe,activeItemId:T,onItemClick:(ye,re)=>{const ee=e.find(F=>F.id===re);ee&&(ee.onClick&&ee.onClick(),ee.href&&(B?B(ee.href):ee.onNavigate?ee.onNavigate(ee.href):window.location.href=ee.href),Z(re))},headerBgColor:t})})}return c.jsxs("div",{className:`${jb.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...w},children:[c.jsx("div",{className:`${jb.navContainer} ${q||""}`,style:{gap:l,...$},children:e.map(X=>{const xe=X.count!==void 0?X.count:E[X.id],ye=T===X.id||X.isActive;return c.jsx(Uq,{...X,onNavigate:B||X.onNavigate,count:xe,isActive:ye,onClick:()=>{X.onClick&&X.onClick(),Z(X.id)},activeColor:m,inactiveColor:M,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:`${jb.rightContent} ${P||""}`,style:{gap:h,...H},children:[v&&c.jsx(Qx,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(eL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),g&&c.jsx(tL,{size:20,colors:{bg:N,activeBg:A,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},S8e=({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}=lL(),m=p!="dark",M=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:M,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"})]})})},j8e=({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}},$8e=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"})),q8e=k.memo($8e),A8e=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"})),z8e=k.memo(A8e),V8e=({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:r.a11yConfig?.mode==="guide"?r.a11yConfig.description:r.a11yConfig?.mode==="key"?[r.a11yConfig.description?r.a11yConfig.description:null,r.titleKey?`${r.a11yConfig.textLabel||"Texte"}: ${r.titleKey}`:null,r.a11yConfig.key?`${r.a11yConfig.guideLabel||"Guide"}: ${r.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{title:r.a11yConfig?.mode==="guide"?r.a11yConfig.description:r.a11yConfig?.mode==="key"?[r.a11yConfig.description?r.a11yConfig.description:null,r.titleKey?`${r.a11yConfig.textLabel||"Texte"}: ${r.titleKey}`:null,r.a11yConfig.key?`${r.a11yConfig.guideLabel||"Guide"}: ${r.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(z8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(q8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),P8e=({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)})}),T8e=({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,M=Math.min(y*u,h),f=_=>{t({page:_})},v=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,M,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[m,"–",M]})," ","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:"<"}),(v||[]).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"})})]})},Gq=({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:M,tableState:f,className:v,style:_,rowStyle:g,onRowClick:L,rowClassName:w,title:C,removeLabelSpan:b=!1,a11yConfig:x})=>{const I=k.useMemo(()=>({...p}),[p]),S=k.useRef(null);k.useEffect(()=>{if(!m||!y||!M||n)return;const z=new IntersectionObserver(N=>{N[0].isIntersecting&&y()},{threshold:.1});return S.current&&z.observe(S.current),()=>z.disconnect()},[m,y,M,n]);const{tableState:j,handleSort:q}=j8e({initialSortBy:null,onSortChange:r}),$=(f?.sortBy!==void 0?f.sortBy:j.sortBy)??void 0,P=f?.sortOrder!==void 0?f.sortOrder:j.sortOrder,H=z=>{const N=$,A=P;let R="asc";N===z&&(R=A==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(z,R):q(z)};return c.jsxs("div",{className:`table-container ${v||""}`,style:_,title:x?.mode==="guide"?x.description||C:x?.mode==="key"?x.key:void 0,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(V8e,{columns:t,sortBy:$,sortOrder:P,onSort:H,removeLabelSpan:b}),c.jsx(P8e,{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(T8e,{state:o,onPaginationChange:i,text:I,onLoadMore:y,infiniteScroll:m,hasMore:M,isLoading:n})]})},H8e="_datePickerContainer_1941b_3",D8e="_label_1941b_16",B8e="_displayNode_1941b_23",R8e="_datePickerButton_1941b_30",F8e="_datePickerButtonDisabled_1941b_50",E8e="_datePickerButtonOpen_1941b_59",O8e="_datePickerLabel_1941b_68",U8e="_placeholder_1941b_79",W8e="_chevron_1941b_83",G8e="_errorMessage_1941b_91",Z8e="_dropdown_1941b_96",K8e="_calendarHeader_1941b_120",X8e="_navButton_1941b_129",Y8e="_headerSelectors_1941b_148",J8e="_monthSelector_1941b_156",Q8e="_yearSelector_1941b_157",efe="_selectorButton_1941b_161",tfe="_selectorChevron_1941b_178",afe="_selectorChevronOpen_1941b_183",nfe="_monthDropdown_1941b_187",ofe="_yearDropdown_1941b_188",cfe="_monthItem_1941b_208",ife="_yearItem_1941b_209",rfe="_monthItemSelected_1941b_231",sfe="_yearItemSelected_1941b_232",dfe="_weekdays_1941b_236",lfe="_weekday_1941b_236",hfe="_calendarGrid_1941b_252",ufe="_dateCell_1941b_260",pfe="_dateCellSelected_1941b_283",yfe="_dateCellOtherMonth_1941b_287",kfe="_dateCellOtherMonthSelected_1941b_291",mfe="_calendarFooter_1941b_295",ffe="_cancelButton_1941b_303",gfe="_applyButton_1941b_304",vfe="_timePickerContainer_1941b_348",Mfe="_timeGroup_1941b_357",_fe="_timeLabel_1941b_364",xfe="_timeInputWrapper_1941b_370",Lfe="_timeInput_1941b_370",Ife="_timeSeparator_1941b_398",O={datePickerContainer:H8e,label:D8e,displayNode:B8e,datePickerButton:R8e,datePickerButtonDisabled:F8e,datePickerButtonOpen:E8e,datePickerLabel:O8e,placeholder:U8e,chevron:W8e,errorMessage:G8e,dropdown:Z8e,calendarHeader:K8e,navButton:X8e,headerSelectors:Y8e,monthSelector:J8e,yearSelector:Q8e,selectorButton:efe,selectorChevron:tfe,selectorChevronOpen:afe,monthDropdown:nfe,yearDropdown:ofe,monthItem:cfe,yearItem:ife,monthItemSelected:rfe,yearItemSelected:sfe,weekdays:dfe,weekday:lfe,calendarGrid:hfe,dateCell:ufe,dateCellSelected:pfe,dateCellOtherMonth:yfe,dateCellOtherMonthSelected:kfe,calendarFooter:mfe,cancelButton:ffe,applyButton:gfe,timePickerContainer:vfe,timeGroup:Mfe,timeLabel:_fe,timeInputWrapper:xfe,timeInput:Lfe,timeSeparator:Ife},ij=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],bfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],cw=({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:M="0.25rem",dropdownMarginTop:f="0.25rem",itemPadding:v="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:H="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:N="ease",dateCellSize:A="2.5rem",headerTextColor:R="#6c757d",weekdayTextColor:B="#6c757d",currentMonthDateColor:T="#212529",otherMonthDateColor:Z="#adb5bd",selectedDateBgColor:E="#00A6D9",selectedDateTextColor:de="#ffffff",cancelButtonBgColor:X="#e9ecef",cancelButtonTextColor:xe="#212529",applyButtonBgColor:ye="#00A6D9",applyButtonTextColor:re="#ffffff",width:ee,displayNode:F=void 0,displayMode:Y="auto",displayNodeAriaLabel:oe,dropdownPosition:te="bottom",dropdownAlignment:pe="right",dropdownWidth:_e,withBorder:fe=!1,icon:Se,precision:Ce="day",hoursLabel:le="Heures",minutesLabel:Le="Minutes",lowerLimit:mt=null,upperLimit:t1=null,months:jc,weekdays:Q,cancelText:$c="Annuler",applyText:ke="Appliquer",prevMonthAriaLabel:At="Mois précédent",nextMonthAriaLabel:Yq="Mois suivant",calendarAriaLabel:Jq="Sélecteur de date",openedAriaLabel:Qq="Ouvrir le sélecteur de date",selectedDateAriaLabel:eA="Date sélectionnée: ",locale:Gw="fr-FR"})=>{const zt=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},[Ye,Vt]=k.useState(!1),[qc,tA]=k.useState({top:0,left:0,width:0}),[ae,a1]=k.useState(zt(e)||new Date),[LL,IL]=k.useState(zt(e)),[bL,wL]=k.useState(zt(e)?.getHours()??0),[CL,NL]=k.useState(zt(e)?.getMinutes()??0),[SL,Ac]=k.useState(!1),[jL,zc]=k.useState(!1),$L=k.useRef(null),F1=k.useRef(null),qL=k.useRef(null),AL=k.useRef(null);k.useEffect(()=>{const D=zt(e);IL(D),D&&(a1(D),wL(D.getHours()),NL(D.getMinutes()))},[e]);const Vc=k.useCallback(()=>{if(F1.current){const D=F1.current.getBoundingClientRect();tA({top:D.top,left:D.left,width:D.width})}},[]);k.useEffect(()=>(Ye&&(Vc(),window.addEventListener("scroll",Vc,!0),window.addEventListener("resize",Vc)),()=>{window.removeEventListener("scroll",Vc,!0),window.removeEventListener("resize",Vc)}),[Ye,Vc]),k.useEffect(()=>{const D=G=>{if($L.current&&!$L.current.contains(G.target)){const ve=document.getElementById("datepicker-dropdown");if(ve&&ve.contains(G.target))return;Vt(!1),Ac(!1),zc(!1)}qL.current&&!qL.current.contains(G.target)&&Ac(!1),AL.current&&!AL.current.contains(G.target)&&zc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const Zw=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),aA=D=>{const G=new Date(D.getFullYear(),D.getMonth(),1).getDay();return G===0?6:G-1},nA=()=>{const D=[],G=aA(ae),ve=Zw(ae),E1=new Date(ae.getFullYear(),ae.getMonth()-1,1),ft=Zw(E1);for(let Ue=G-1;Ue>=0;Ue--)D.push(new Date(ae.getFullYear(),ae.getMonth()-1,ft-Ue));for(let Ue=1;Ue<=ve;Ue++)D.push(new Date(ae.getFullYear(),ae.getMonth(),Ue));const n1=42-D.length;for(let Ue=1;Ue<=n1;Ue++)D.push(new Date(ae.getFullYear(),ae.getMonth()+1,Ue));return D},oA=(D,G)=>!D||!G?!1:D.getDate()===G.getDate()&&D.getMonth()===G.getMonth()&&D.getFullYear()===G.getFullYear(),cA=D=>D.getMonth()===ae.getMonth()&&D.getFullYear()===ae.getFullYear(),iA=()=>{a1(new Date(ae.getFullYear(),ae.getMonth()-1,1))},rA=()=>{a1(new Date(ae.getFullYear(),ae.getMonth()+1,1))},sA=D=>{if(!s){const G=new Date(D);G.setHours(bL),G.setMinutes(CL),IL(G)}},dA=()=>{if(!s){if(LL){const D=new Date(LL);D.setHours(bL),D.setMinutes(CL),t(D)}else t(null);Vt(!1)}},lA=()=>{const D=zt(e);IL(D),D&&(wL(D.getHours()),NL(D.getMinutes())),Vt(!1)},hA=D=>{a1(new Date(ae.getFullYear(),D,1)),Ac(!1)},uA=D=>{a1(new Date(D,ae.getMonth(),1)),zc(!1)},pA=()=>{const D=ae.getFullYear(),G=[];for(let ve=D-10;ve<=D+10;ve++)G.push(ve);return G},yA=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),Vt(!Ye);break;case"Escape":Vt(!1),Ac(!1),zc(!1);break;case"Tab":Ye&&(Vt(!1),Ac(!1),zc(!1));break}},kA={width:ee||(r?"100%":"auto"),fontSize:p,fontWeight:_},mA={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}`},fA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:$,borderWidth:P,boxShadow:H,transition:`opacity ${z} ${N}, transform ${z} ${N}`,position:"fixed",top:te==="bottom"?qc.top+(F1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:te==="top"?window.innerHeight-qc.top+parseFloat(f.replace("rem",""))*16:"auto",left:pe==="left"?qc.left:"auto",right:pe==="right"?window.innerWidth-(qc.left+qc.width):"auto",width:_e||(r?qc.width:"auto"),zIndex:10001},Kw={width:y,height:y,color:I||"#6c757d","--icon-rotation":Ye?"rotate(180deg)":"rotate(0deg)"},gA={color:j||"#212529",marginBottom:m,fontWeight:_},vA={color:q||"#6c757d"},MA={color:S||"#dc3545",marginTop:M},_A=nA(),Je=zt(e),Xw=Je?Ce==="minutes"?`${Je.toLocaleDateString(Gw)} ${Je.getHours().toString().padStart(2,"0")}:${Je.getMinutes().toString().padStart(2,"0")}`:Je.toLocaleDateString(Gw):"",xA=!!F&&(Y==="icon"||Y==="auto"&&!Je),LA=oe||(Je?`${eA}${Xw}`:Qq);return c.jsxs("div",{className:`${O.datePickerContainer} ${i}`,ref:$L,style:kA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:O.label,style:gA,children:n}),c.jsxs("button",{ref:F1,type:"button",onClick:()=>!s&&Vt(!Ye),onKeyDown:yA,className:`
|
|
8170
8170
|
${O.datePickerButton}
|
|
8171
8171
|
${Ye?O.datePickerButtonOpen:""}
|
|
8172
8172
|
${s?O.datePickerButtonDisabled:""}
|
|
8173
|
-
`,style:mA,disabled:s,"aria-expanded":Ye,"aria-haspopup":"dialog","aria-label":LA,"aria-labelledby":n?`${n}-label`:void 0,children:[xA?c.jsx("span",{className:O.displayNode,"aria-hidden":!0,children:F}):c.jsx("span",{className:`${O.datePickerLabel} ${Je?"":O.placeholder}`,style:Je?void 0:vA,children:Je?Xw:o}),Se?c.jsx("span",{className:O.chevron,style:Kw,children:Se}):c.jsx(j1,{fill:"var(--color-text)",className:`${O.chevron} ${Ye?O.chevronOpen:""}`,style:Kw})]}),d&&c.jsx("div",{className:O.errorMessage,style:MA,children:d}),Ye&&!s&&iw.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:O.dropdown,style:fA,role:"dialog","aria-label":Jq,children:[c.jsxs("div",{className:O.calendarHeader,children:[c.jsx("button",{type:"button",className:O.navButton,onClick:iA,"aria-label":At,children:"‹"}),c.jsxs("div",{className:O.headerSelectors,children:[c.jsxs("div",{className:O.monthSelector,ref:qL,children:[c.jsxs("button",{type:"button",className:O.selectorButton,onClick:()=>Ac(!SL),style:{color:R,"--hover-color":b},children:[(jc||ij)[
|
|
8173
|
+
`,style:mA,disabled:s,"aria-expanded":Ye,"aria-haspopup":"dialog","aria-label":LA,"aria-labelledby":n?`${n}-label`:void 0,children:[xA?c.jsx("span",{className:O.displayNode,"aria-hidden":!0,children:F}):c.jsx("span",{className:`${O.datePickerLabel} ${Je?"":O.placeholder}`,style:Je?void 0:vA,children:Je?Xw:o}),Se?c.jsx("span",{className:O.chevron,style:Kw,children:Se}):c.jsx(j1,{fill:"var(--color-text)",className:`${O.chevron} ${Ye?O.chevronOpen:""}`,style:Kw})]}),d&&c.jsx("div",{className:O.errorMessage,style:MA,children:d}),Ye&&!s&&iw.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:O.dropdown,style:fA,role:"dialog","aria-label":Jq,children:[c.jsxs("div",{className:O.calendarHeader,children:[c.jsx("button",{type:"button",className:O.navButton,onClick:iA,"aria-label":At,children:"‹"}),c.jsxs("div",{className:O.headerSelectors,children:[c.jsxs("div",{className:O.monthSelector,ref:qL,children:[c.jsxs("button",{type:"button",className:O.selectorButton,onClick:()=>Ac(!SL),style:{color:R,"--hover-color":b},children:[(jc||ij)[ae.getMonth()],c.jsx(j1,{fill:"var(--color-text)",className:`${O.selectorChevron} ${SL?O.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),SL&&c.jsx("div",{className:O.monthDropdown,children:(jc||ij).map((D,G)=>c.jsx("button",{type:"button",className:`${O.monthItem} ${ae.getMonth()===G?O.monthItemSelected:""}`,onClick:()=>hA(G),style:{padding:v,backgroundColor:ae.getMonth()===G?x||"#e7f1ff":C},onMouseEnter:ve=>{b&&ae.getMonth()!==G&&(ve.currentTarget.style.backgroundColor=b)},onMouseLeave:ve=>{b&&(ve.currentTarget.style.backgroundColor=ae.getMonth()===G?x||"#e7f1ff":C)},children:D},G))})]}),c.jsxs("div",{className:O.yearSelector,ref:AL,children:[c.jsxs("button",{type:"button",className:O.selectorButton,onClick:()=>zc(!jL),style:{color:R,"--hover-color":b},children:[ae.getFullYear(),c.jsx(j1,{fill:"var(--color-text)",className:`${O.selectorChevron} ${jL?O.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),jL&&c.jsx("div",{className:O.yearDropdown,children:pA().map(D=>c.jsx("button",{type:"button",className:`${O.yearItem} ${ae.getFullYear()===D?O.yearItemSelected:""}`,onClick:()=>uA(D),style:{padding:v,backgroundColor:ae.getFullYear()===D?x||"#e7f1ff":C},onMouseEnter:G=>{b&&ae.getFullYear()!==D&&(G.currentTarget.style.backgroundColor=b)},onMouseLeave:G=>{b&&(G.currentTarget.style.backgroundColor=ae.getFullYear()===D?x||"#e7f1ff":C)},children:D},D))})]})]}),c.jsx("button",{type:"button",className:O.navButton,onClick:rA,"aria-label":Yq,children:"›"})]}),c.jsx("div",{className:O.weekdays,children:(Q||bfe).map(D=>c.jsx("div",{className:O.weekday,style:{color:B},children:D},D))}),c.jsx("div",{className:O.calendarGrid,children:_A.map((D,G)=>{if(!D)return null;const ve=oA(D,LL),E1=cA(D),ft=!!(mt&&D<mt||t1&&D>t1);return c.jsx("button",{type:"button",className:`${O.dateCell} ${ve?O.dateCellSelected:""} ${ve?O.dateCellOtherMonthSelected:""} ${E1?"":O.dateCellOtherMonth} ${ft?O.dateCellDisabled:""}`,onClick:()=>!ft&&sA(D),disabled:ft,style:{width:A,height:A,color:ve?de:E1?T:Z,backgroundColor:ve?E:"transparent",opacity:ft?.4:1,cursor:ft?"not-allowed":"pointer"},onMouseEnter:n1=>{!ve&&!ft&&b&&(n1.currentTarget.style.backgroundColor=b)},onMouseLeave:n1=>{ve||(n1.currentTarget.style.backgroundColor="transparent")},children:D.getDate()},G)})}),Ce==="minutes"&&c.jsxs("div",{className:O.timePickerContainer,children:[c.jsxs("div",{className:O.timeGroup,children:[c.jsx("span",{className:O.timeLabel,children:le}),c.jsx("div",{className:O.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"23",value:bL,onChange:D=>{const G=parseInt(D.target.value);!isNaN(G)&&G>=0&&G<=23&&wL(G)},className:O.timeInput})})]}),c.jsx("span",{className:O.timeSeparator,children:":"}),c.jsxs("div",{className:O.timeGroup,children:[c.jsx("span",{className:O.timeLabel,children:Le}),c.jsx("div",{className:O.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"59",value:CL,onChange:D=>{const G=parseInt(D.target.value);!isNaN(G)&&G>=0&&G<=59&&NL(G)},className:O.timeInput})})]})]}),c.jsxs("div",{className:O.calendarFooter,children:[c.jsx("button",{type:"button",className:O.cancelButton,onClick:lA,style:{backgroundColor:X,color:xe,borderRadius:$,padding:v},children:$c}),c.jsx("button",{type:"button",className:O.applyButton,onClick:dA,style:{backgroundColor:ye,color:re,borderRadius:$,padding:v},children:ke})]})]}),document.body)]})},wfe="_selectContainer_1ptm9_1",Cfe="_label_1ptm9_15",Nfe="_selectButton_1ptm9_23",Sfe="_selectButtonDisabled_1ptm9_43",jfe="_selectButtonOpen_1ptm9_48",$fe="_selectButtonContent_1ptm9_58",qfe="_selectIcon_1ptm9_66",Afe="_selectLabel_1ptm9_72",zfe="_placeholder_1ptm9_79",Vfe="_chevron_1ptm9_84",Pfe="_errorMessage_1ptm9_93",Tfe="_dropdown_1ptm9_99",Hfe="_dropdownContent_1ptm9_123",Dfe="_item_1ptm9_129",Bfe="_itemSelected_1ptm9_151",Rfe="_itemContent_1ptm9_155",Ffe="_itemIcon_1ptm9_162",Efe="_itemLabel_1ptm9_168",Me={selectContainer:wfe,label:Cfe,selectButton:Nfe,selectButtonDisabled:Sfe,selectButtonOpen:jfe,selectButtonContent:$fe,selectIcon:qfe,selectLabel:Afe,placeholder:zfe,chevron:Vfe,errorMessage:Pfe,dropdown:Tfe,dropdownContent:Hfe,item:Dfe,itemSelected:Bfe,itemContent:Rfe,itemIcon:Ffe,itemLabel:Efe},Zq=({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:M="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:f="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:v="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:H="var(--select-border-radius, 0.5rem)",borderWidth:z="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:R="var(--select-transition-timing, ease)",scrollbarWidth:B="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:T="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:Z="var(--select-scrollbar-thumb-color, #c1c1c1)",width:E,minWidth:de,dropdownPosition:X="bottom",dropdownAlignment:xe="right",dropdownWidth:ye,a11yConfig:re,titleKey:ee})=>{const[F,Y]=k.useState(!1),oe=k.useRef(null),te=e.find(ke=>ke.value===t);k.useEffect(()=>{const ke=At=>{oe.current&&!oe.current.contains(At.target)&&Y(!1)};return document.addEventListener("mousedown",ke),()=>document.removeEventListener("mousedown",ke)},[]);const pe=ke=>{d||(n(ke),Y(!1))},_e=ke=>{if(!d)switch(ke.key){case"Enter":case" ":ke.preventDefault(),Y(!F);break;case"Escape":Y(!1);break;case"Tab":F&&Y(!1);break}},fe={width:E||(s?"100%":"auto"),minWidth:de,fontSize:y},Se={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:H,borderWidth:z,transition:`all ${A} ${R}`},Ce={backgroundColor:b||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:H,borderWidth:z,boxShadow:N,transition:`opacity ${A} ${R}, transform ${A} ${R}`,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"?v:0,marginBottom:X==="top"?v: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:M},mt={color:$||"var(--select-placeholder-color, #6c757d)"},t1={color:j||"var(--select-error-color, #dc3545)",marginTop:f},jc={padding:_,transition:`background-color ${A} ${R}`},Q={gap:g},$c={"--scrollbar-width":B,"--scrollbar-track-color":T,"--scrollbar-thumb-color":Z};return c.jsxs("div",{className:`${Me.selectContainer} ${r}`,ref:oe,style:fe,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:re?.mode==="guide"?re.description||[ee?`${re.textLabel||"Texte"}: ${ee}`:null,re.key?`${re.guideLabel||"Guide"}: ${re.key}`:null].filter(Boolean).join(" | "):re?.mode==="key"?[ee?`${re.textLabel||"Texte"}: ${ee}`:null,re.key?`${re.guideLabel||"Guide"}: ${re.key}`:null].filter(Boolean).join(" | "):void 0,children:[o&&c.jsx("label",{className:Me.label,style:Le,children:o}),c.jsxs("button",{type:"button",onClick:()=>!d&&Y(!F),onKeyDown:_e,className:`
|
|
8174
8174
|
${Me.selectButton}
|
|
8175
8175
|
${F?Me.selectButtonOpen:""}
|
|
8176
8176
|
${d?Me.selectButtonDisabled:""}
|
|
8177
|
-
`,style:Se,disabled:d,"aria-expanded":F,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:Me.selectButtonContent,style:Q,children:[
|
|
8177
|
+
`,style:Se,disabled:d,"aria-expanded":F,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:Me.selectButtonContent,style:Q,children:[te?.icon&&c.jsx("span",{className:Me.selectIcon,style:le,children:te.icon}),c.jsx("span",{className:`${Me.selectLabel} ${te?"":Me.placeholder}`,style:te?void 0:mt,children:te?te.label:i})]}),c.jsx(j1,{fill:"var(--color-text)",className:`${Me.chevron} ${F?Me.chevronOpen:""}`,style:le})]}),l&&c.jsx("div",{className:Me.errorMessage,style:t1,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:$c,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:{...jc,backgroundColor:t===ke.value?I||"#F0F4F6":"transparent"},onMouseEnter:At=>{x&&(At.currentTarget.style.backgroundColor=x)},onMouseLeave:At=>{x&&(At.currentTarget.style.backgroundColor=t===ke.value?I||"#F0F4F6":"transparent")},role:"option","aria-selected":t===ke.value,children:c.jsxs("div",{className:Me.itemContent,style:Q,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))})})]})},Ofe="_filterBar_1hlqe_3",Ufe="_label_1hlqe_11",rj={filterBar:Ofe,label:Ufe},Wfe=({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:M="0.875rem",labelFontWeight:f="400",labelColor:v="#212529",labelMarginRight:_="1rem",startDateWidth:g,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:x,extraContent:I})=>{const S={fontSize:M,fontWeight:f,color:v,marginRight:_},j={gap:m};return c.jsxs("div",{className:`${rj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:rj.label,style:S,children:e}),c.jsx(cw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:g,...C}),c.jsx(cw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),c.jsx(Zq,{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})]})},Gfe="_container_1x6mq_16",Zfe="_disabled_1x6mq_26",Kfe="_predStyle_1x6mq_32",Xfe="_realStyle_1x6mq_36",Yfe="_predGap_1x6mq_40",Jfe="_realGap_1x6mq_44",Qfe="_big_1x6mq_49",e7e="_medium_1x6mq_53",t7e="_iconWrapper_1x6mq_58",a7e="_predRelative_1x6mq_68",n7e="_realRelative_1x6mq_72",o7e="_iconImg_1x6mq_76",c7e="_content_1x6mq_84",i7e="_header_1x6mq_93",r7e="_predJustify_1x6mq_99",s7e="_realJustify_1x6mq_103",d7e="_predHeaderLineHeight_1x6mq_116",l7e="_realHeaderLineHeight_1x6mq_120",h7e="_title_1x6mq_129",u7e="_titleBlack_1x6mq_144",p7e="_titleWhite_1x6mq_148",y7e="_subtitle_1x6mq_153",k7e="_valueRowHorizontal_1x6mq_163",m7e="_valueRowVertical_1x6mq_171",f7e="_singleValue_1x6mq_180",g7e="_primaryRow_1x6mq_184",v7e="_maxBadge_1x6mq_191",M7e="_valuePrimary_1x6mq_203",_7e="_valuePrimaryBlack_1x6mq_210",x7e="_valuePrimaryWhite_1x6mq_214",L7e="_valueSlash_1x6mq_219",I7e="_valueSecondary_1x6mq_226",b7e="_valueSecondaryBlue_1x6mq_232",w7e="_valueSecondaryWhite_1x6mq_236",C7e="_valueSecondaryBlack_1x6mq_240",N7e="_valueStacked_1x6mq_245",S7e="_stackedTop_1x6mq_254",j7e="_stackedBottom_1x6mq_255",ce={container:Gfe,disabled:Zfe,predStyle:Kfe,realStyle:Xfe,predGap:Yfe,realGap:Jfe,big:Qfe,medium:e7e,iconWrapper:t7e,predRelative:a7e,realRelative:n7e,iconImg:o7e,content:c7e,header:i7e,predJustify:r7e,realJustify:s7e,predHeaderLineHeight:d7e,realHeaderLineHeight:l7e,title:h7e,titleBlack:u7e,titleWhite:p7e,subtitle:y7e,valueRowHorizontal:k7e,valueRowVertical:m7e,singleValue:f7e,primaryRow:g7e,maxBadge:v7e,valuePrimary:M7e,valuePrimaryBlack:_7e,valuePrimaryWhite:x7e,valueSlash:L7e,valueSecondary:I7e,valueSecondaryBlue:b7e,valueSecondaryWhite:w7e,valueSecondaryBlack:C7e,valueStacked:N7e,stackedTop:S7e,stackedBottom:j7e},$7e=({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:M=!1,titleFontSize:f,titleFontWeight:v,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:R,maxBadgeA11yKey:B,predictionKey:H,predictionA11yKey:Z,realisedKey:E,realisedA11yKey:X})=>{const re=i!==void 0?i:!!o,ue=`${ce.container} ${ce[d]} ${ce[y]} ${S?ce.disabled:""}`,Ne=h==="white"?ce.valuePrimaryWhite:ce.valuePrimaryBlack,ne=h==="blue"?ce.valueSecondaryBlue:h==="white"?ce.valueSecondaryWhite:ce.valueSecondaryBlack,ye=pe=>pe===void 0?void 0:typeof pe=="number"?`${pe}px`:pe,F=pe=>pe===void 0?void 0:pe,Y=m==="vertical",oe=s!=null&&s!==""&&s!=="-"&&s!=="—",ee=Y?ce.valueRowVertical:ce.valueRowHorizontal;return c.jsxs("div",{className:`${ue} ${p}`,style:{backgroundColor:x},children:[t&&c.jsx("div",{className:`${ce.iconWrapper} ${ce[j]}`,children:t}),c.jsxs("div",{className:`${ce.content} ${ce[I]} ${oe?"":ce.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[c.jsx("div",{className:`${ce.header} ${ce[q]} ${ce[$]} header-indicator-v2`,style:{minHeight:P},children:c.jsx("h6",{className:`${ce.title}`,style:{fontSize:ye(f),fontWeight:F(v),color:l},title:e?.mode==="guide"?e.description||[z?`${e.textLabel||"Texte"}: ${z}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[z?`${e.textLabel||"Texte"}: ${z}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,children:n})}),re&&o?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ce.subtitle,style:{fontSize:ye(_),fontWeight:F(g)},title:e?.mode==="guide"?e.description||[N?`${e.textLabel||"Texte"}: ${N}`:null,A?`${e.guideLabel||"Guide"}: ${A}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[N?`${e.textLabel||"Texte"}: ${N}`:null,A?`${e.guideLabel||"Guide"}: ${A}`:null].filter(Boolean).join(" | "):void 0,children:o})}):null,c.jsxs("div",{className:`${ee} count-indicator-v2`,children:[c.jsxs("div",{className:ce.primaryRow,children:[M&&c.jsx("span",{className:`${ce.maxBadge} max-badge-indicator-v2`,title:e?.mode==="guide"?e.description||[R?`${e.textLabel||"Texte"}: ${R}`:null,B?`${e.guideLabel||"Guide"}: ${B}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[R?`${e.textLabel||"Texte"}: ${R}`:null,B?`${e.guideLabel||"Guide"}: ${B}`:null].filter(Boolean).join(" | "):void 0,children:"MAX"}),c.jsx("span",{className:`${ce.valuePrimary} ${Ne}`,style:{fontSize:ye(L||(!oe&&Y?"1.75rem":void 0)),fontWeight:F(w),color:u||void 0},title:e?.mode==="guide"?e.description||[E?`${e.textLabel||"Texte"}: ${E}`:null,X?`${e.guideLabel||"Guide"}: ${X}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[E?`${e.textLabel||"Texte"}: ${E}`:null,X?`${e.guideLabel||"Guide"}: ${X}`:null].filter(Boolean).join(" | "):void 0,children:r})]}),oe&&c.jsxs(c.Fragment,{children:[!Y&&c.jsx("span",{className:ce.valueSlash,style:{fontSize:ye(C),fontWeight:F(b)},children:"/"}),c.jsx("span",{className:`${ce.valueSecondary} ${ne}`,style:{fontSize:ye(C),fontWeight:F(b)},title:e?.mode==="guide"?e.description||[H?`${e.textLabel||"Texte"}: ${H}`:null,Z?`${e.guideLabel||"Guide"}: ${Z}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[H?`${e.textLabel||"Texte"}: ${H}`:null,Z?`${e.guideLabel||"Guide"}: ${Z}`:null].filter(Boolean).join(" | "):void 0,children:s})]})]})]})]})},q7e="_banner_f10in_2",A7e="_iep_f10in_14",z7e="_groupSmall_f10in_24",V7e="_genre_f10in_34",P7e="_gravite_f10in_42",T7e="_orientationContainer_f10in_48",H7e="_service_f10in_61",D7e="_roomBedContainer_f10in_71",B7e="_room_f10in_71",R7e="_bed_f10in_87",F7e="_bedUf_f10in_92",E7e="_statusContainer_f10in_97",O7e="_status_f10in_97",U7e="_centeredWarn_f10in_124",Ae={banner:q7e,iep:A7e,groupSmall:z7e,genre:V7e,gravite:P7e,orientationContainer:T7e,service:H7e,roomBedContainer:D7e,room:B7e,bed:R7e,bedUf:F7e,statusContainer:E7e,status:O7e,centeredWarn:U7e},W7e=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"}))),sj=k.memo(W7e),G7e=({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:M,style:f,warn:v=!1,warnMessage:_,warnColor:g="#F94134"})=>c.jsxs("div",{className:Ae.banner,style:{backgroundColor:l,...f},children:[c.jsxs("div",{className:Ae.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:Ae.groupSmall,children:[c.jsx("span",{className:`${Ae.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:M},children:t??"--"}),c.jsx("span",{className:`${Ae.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:Ae.orientationContainer,children:c.jsx("div",{className:Ae.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:Ae.roomBedContainer,children:[i&&c.jsx("span",{className:Ae.bedUf,children:i}),c.jsx("span",{className:Ae.room,children:r??"--"}),c.jsx("span",{className:Ae.bed,children:o??"--"})]}),c.jsxs("div",{className:Ae.statusContainer,children:[d?c.jsx("div",{className:`${Ae.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):v&&c.jsxs("div",{className:Ae.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(sj,{color:g,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:g,fontSize:"12px",fontWeight:600},children:_})]}),d&&v&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:g,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(sj,{color:g,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),Z7e=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"})),K7e=k.memo(Z7e),X7e=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"})),Kq=k.memo(X7e),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:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),J7e=k.memo(Y7e),Q7e="_overlay_1uxex_1",ege="_container_1uxex_11",tge="_fullscreen_1uxex_24",age="_header_1uxex_30",nge="_headerActions_1uxex_42",oge="_iconButton_1uxex_47",cge="_body_1uxex_58",ige="_sidebar_1uxex_65",rge="_content_1uxex_91",sge="_contentHeader_1uxex_98",dge="_childrenWrapper_1uxex_114",lge="_footer_1uxex_138",hge="_baseButton_1uxex_146",uge="_noOverlay_1uxex_160",pge="_contained_1uxex_168",Le={overlay:Q7e,container:ege,fullscreen:tge,header:age,headerActions:nge,iconButton:oge,body:cge,sidebar:ige,content:rge,contentHeader:sge,childrenWrapper:dge,footer:lge,baseButton:hge,noOverlay:uge,contained:pge},yge=({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:M=!1,hideSidebar:f=!1,onDelete:v,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 B=H=>{(H.type==="scroll"||H.type==="wheel"||H.type==="touchmove"||A.current&&!A.current.contains(H.target))&&s()};return document.addEventListener("mousedown",B),document.addEventListener("scroll",B,!0),document.addEventListener("wheel",B,{passive:!0,capture:!0}),document.addEventListener("touchmove",B,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",B),document.removeEventListener("scroll",B,!0),document.removeEventListener("wheel",B,!0),document.removeEventListener("touchmove",B,!0)}},[r,$,s]),!r)return null;const R=(B,H=!1)=>c.jsx(Jx,{onClick:B.disabled?void 0:B.onClick,className:Le.baseButton,disabled:B.disabled,style:{background:B.backgroundColor??(H?"#008FBB":"#ffffff"),color:B.textColor??(H?"#ffffff":"#374151"),border:B.borderColor||H?"none":void 0,cursor:B.disabled?B.cursor??"not-allowed":B.cursor??"pointer",filter:B.disabled?B.filter??"grayscale(0.5)":B.filter??"none",opacity:B.disabled?.65:1},title:B.a11yConfig?.mode==="guide"?B.a11yConfig.description||B.text:B.a11yConfig?.mode==="key"?B.a11yConfig.key:void 0,children:B.text});return c.jsx("div",{className:$?Le.noOverlay:Le.overlay,onClick:s,children:c.jsxs("div",{ref:A,className:`${Le.container} ${z?Le.fullscreen:""} ${$?Le.contained:""}`,onClick:B=>B.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:[!M&&c.jsxs("header",{className:Le.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},title:T?.mode==="guide"?T.description||e:T?.mode==="key"?T.key:void 0,children:e}),c.jsxs("div",{className:Le.headerActions,children:[!m&&c.jsx("button",{onClick:()=>N(!z),className:Le.iconButton,title:z?"Réduire":"Agrandir",children:z?c.jsx(J7e,{width:22,height:22,fill:t}):c.jsx(K7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:Le.iconButton,title:"Fermer",children:c.jsx(Kq,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:Le.body,style:{overflow:I},children:[y&&!f&&c.jsx("aside",{className:Le.sidebar,children:y}),c.jsxs("main",{className:Le.content,style:{backgroundColor:p,overflow:I},children:[u&&c.jsxs("header",{className:Le.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),S]}),c.jsx("div",{className:Le.childrenWrapper,style:{padding:x,overflow:I},children:h})]})]}),!q&&c.jsxs("footer",{className:Le.footer,style:{backgroundColor:n},children:[v&&c.jsx(Jx,{onClick:v,className:Le.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,R(d),R(l,!0)]})]})})},kge="_container_1vb1c_1",mge="_searchWrapper_1vb1c_10",fge="_navItems_1vb1c_17",$b={container:kge,searchWrapper:mge,navItems:fge},gge=({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:`${$b.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:$b.searchWrapper,children:c.jsx(Fq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:$b.navItems,children:e.map(p=>c.jsx(Ww,{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))})]}),vge=({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:M="Valider",cancelText:f="Annuler",a11yConfig:v})=>{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:v?.mode==="guide"?v.description||s:v?.mode==="key"?[d?`${v.textLabel||"Texte"}: ${d}`:null,v.key?`${v.guideLabel||"Guide"}: ${v.key}`:null].filter(Boolean).join(" | "):void 0,children:[s," (",e.length,")"]}),c.jsx(Uc,{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(M1,{size:14,className:"drag-handle"}),c.jsxs("div",{className:"module-content",title:$.a11yConfig?.mode==="guide"?$.a11yConfig.description||$.title:$.a11yConfig?.mode==="key"?[$.titleKey?`${$.a11yConfig.textLabel||"Texte"}: ${$.titleKey}`:null,$.a11yConfig.key?`${$.a11yConfig.guideLabel||"Guide"}: ${$.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,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(lt,{size:12,className:"action-icon edit",onClick:P=>I(P,$)}),c.jsx(St,{size:12,className:"action-icon delete",onClick:P=>q(P,$)})]})]},$.id))}),c.jsx(Sc,{isOpen:_,onClose:b,onSave:x,title:l,fields:[{name:"title",label:h,placeholder:u}],confirmText:M,cancelText:f}),L&&c.jsx(Sc,{isOpen:!!L,onClose:S,onSave:j,title:p,initialValues:{title:L.title},fields:[{name:"title",label:y,placeholder:m}],confirmText:M,cancelText:f})]})},Mge=({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,M]=k.useState(""),[f,v]=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),M(C[A]||"")},j=()=>{p&&(o(p,m),y(null),M(""))},q=N=>{N.key==="Enter"?j():N.key==="Escape"&&(y(null),M(""))},$=()=>{v(!0),b.length>0&&g(b[0].toUpperCase()),w("")},P=()=>{_&&L.trim()&&(o(_,L.trim()),v(!1),g(""),w(""))},T=()=>{v(!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:s?.mode==="guide"?s.description||e:s?.mode==="key"?[`${s.textLabel||"Texte"}: ${e}`,s.key?`${s.guideLabel||"Guide"}: ${s.key}`:null].filter(Boolean).join(" | "):void 0,children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(lt,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),c.jsx(St,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(N=>{const A=N.toUpperCase(),R=C[A]||"",B=p===A;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:A}),B?c.jsx("input",{className:"translation-input editing",value:m,onChange:H=>M(H.target.value),onBlur:j,onKeyDown:q,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${R?"":"empty"}`,onClick:()=>S(N),title:"Cliquer pour éditer",children:R||"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(k1,{size:18,className:"action-icon confirm",onClick:P}),c.jsx(Ze,{size:18,className:"action-icon cancel",onClick:T})]})]}):b.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Gc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},_ge="_overlay_1jz4r_1",xge="_modal_1jz4r_15",Lge="_body_1jz4r_27",Ige="_footer_1jz4r_46",bge="_confirmButton_1jz4r_55",wge="_danger_1jz4r_75",Cge="_cancelButton_1jz4r_83",vt={overlay:_ge,modal:xge,body:Lge,footer:Ige,confirmButton:bge,danger:wge,cancelButton:Cge},Nge=({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:vt.overlay,onClick:o,children:c.jsxs("div",{className:vt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:vt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:vt.footer,children:[c.jsx("button",{className:`${vt.confirmButton} ${s?vt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:vt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:vt.cancelButton,onClick:o,children:r})]})]})}):null,Sge="_card_1ildr_1",jge="_topIcon_1ildr_17",$ge="_title_1ildr_24",qge="_text_1ildr_31",Age="_bottomIcon_1ildr_37",s1={card:Sge,topIcon:jge,title:$ge,text:qge,bottomIcon:Age},zge=({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:`${s1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:h?.mode==="guide"?h.description||t:h?.mode==="key"?h.key:void 0,children:[e&&c.jsx("div",{className:s1.topIcon,children:e}),c.jsx("h3",{className:s1.title,style:{color:s},children:t}),c.jsx("p",{className:s1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:s1.bottomIcon,children:o})]}),Vge="_container_1ry38_1",Pge="_disabled_1ry38_9",Tge="_selectBox_1ry38_14",Hge="_selectBoxOpen_1ry38_36",Dge="_tagsContainer_1ry38_41",Bge="_tag_1ry38_41",Rge="_tagLabel_1ry38_66",Fge="_removeBtnContainer_1ry38_72",Ege="_removeBtn_1ry38_72",Oge="_searchInput_1ry38_97",Uge="_placeholder_1ry38_117",Wge="_actions_1ry38_124",Gge="_clearBtn_1ry38_131",Zge="_chevron_1ry38_153",Kge="_chevronOpen_1ry38_159",Xge="_dropdown_1ry38_163",Yge="_option_1ry38_177",Jge="_noOptions_1ry38_189",Qge="_overflowBlock_1ry38_196",eve="_overflowEllipsis_1ry38_203",tve="_overflowBadge_1ry38_210",ave="_overflowBadgeWrap_1ry38_233",nve="_overflowDropdown_1ry38_239",ove="_overflowDropdownItem_1ry38_255",cve="_overflowDropdownItemLabel_1ry38_266",ive="_overflowDropdownItemRemove_1ry38_273",J={container:Vge,disabled:Pge,selectBox:Tge,selectBoxOpen:Hge,tagsContainer:Dge,tag:Bge,tagLabel:Rge,removeBtnContainer:Fge,removeBtn:Ege,searchInput:Oge,placeholder:Uge,actions:Wge,clearBtn:Gge,chevron:Zge,chevronOpen:Kge,dropdown:Xge,option:Yge,noOptions:Jge,overflowBlock:Qge,overflowEllipsis:eve,overflowBadge:tve,overflowBadgeWrap:ave,overflowDropdown:nve,overflowDropdownItem:ove,overflowDropdownItemLabel:cve,overflowDropdownItemRemove:ive},rve=({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),M=k.useRef(null),f=k.useRef(null),[v,_]=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 R=A.target;y.current&&!y.current.contains(R)&&(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=M.current,Z=f.current;if(!H||!Z)return;const E=Z.getBoundingClientRect().width,X=Z.querySelector(`.${J.actions}`),re=X?X.getBoundingClientRect().width:80,ue=56,Ne=r?80:0,ne=16,ye=Array.from(H.querySelectorAll(`.${J.tag}`));ye.length===b.length&&(w.current=ye.map(de=>{const xe=de.getBoundingClientRect(),mt=de.scrollWidth;return Math.max(xe.width,mt,de.offsetWidth||0)}));const F=w.current,Y=F.length>0?F.reduce((de,xe)=>de+xe,0)/F.length:120,oe=b.length<=F.length?F.slice(0,b.length):[...F,...Array(b.length-F.length).fill(Y)],ee=4,pe=Math.max(0,E-re-Ne-ne);let _e=0,fe=0;for(let de=0;de<b.length;de++){const xe=oe[de]??120;if(_e+xe+ee>pe)break;_e+=xe+ee,fe++}if(fe>=b.length){_(null);return}const Se=Math.max(0,E-ue-re-Ne-ne);_e=0;let we=0;for(let de=0;de<b.length;de++){const xe=oe[de]??120;if(_e+xe+ee>Se)break;_e+=xe+ee,we++}we<b.length&&we>0?_(we):_(null)},A=requestAnimationFrame(()=>{N()}),R=setTimeout(N,100),B=new ResizeObserver(()=>{N()});return f.current&&B.observe(f.current),()=>{cancelAnimationFrame(A),clearTimeout(R),B.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)},$=v!=null&&v<b.length?b.slice(v):[],P=(N,A)=>{A.stopPropagation();const R=b.filter(B=>B.value!==N);o(R)},T=N=>{N.stopPropagation(),o([])},z=N=>{N.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${J.container} ${s} ${d?J.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:f,className:`${J.selectBox} ${l?J.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:J.tagsContainer,ref:M,children:[v!==null&&v>0?b.slice(0,v).map((N,A)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:R=>P(N.value,R),"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:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:R=>P(N.value,R),"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:J.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:J.placeholder,children:i})]}),v!==null&&v<b.length&&c.jsxs("div",{className:J.overflowBlock,children:[c.jsx("span",{className:J.overflowEllipsis,children:"..."}),c.jsxs("div",{className:J.overflowBadgeWrap,children:[c.jsx("button",{ref:C,type:"button",className:J.overflowBadge,onClick:q,"aria-label":`Afficher ${$.length} éléments cachés`,children:$.length}),g&&$.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:$.map((N,A)=>c.jsxs("div",{className:J.overflowDropdownItem,children:[c.jsx("span",{className:J.overflowDropdownItemLabel,children:N.label}),c.jsx("button",{type:"button",className:J.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),P(N.value,R)},"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:J.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:J.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:`${J.chevron} ${l?J.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:J.dropdown,role:"listbox",children:I.length>0?I.map((N,A)=>c.jsx("div",{className:J.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${A}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},sve="_container_h7jek_1",dve={container:sve},lve=({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 M=String(m.uf).replace(/^0+/,"");return y.has(M)?!1:(y.add(M),!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:dve.container,children:[c.jsx(bt,{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(bt,{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(bt,{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(bt,{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(bt,{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"}})]})},hve=({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:h?.mode==="guide"?h.description:h?.mode==="key"?[u?`${h.textLabel||"Texte"}: ${u}`:null,h.key?`${h.guideLabel||"Guide"}: ${h.key}`:null].filter(Boolean).join(" | "):void 0,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})]}),uve="_container_1pt6c_1",pve="_chartContainer_1pt6c_14",yve="_legend_1pt6c_22",kve="_legendItem_1pt6c_29",mve="_leftSection_1pt6c_41",fve="_colorIndicator_1pt6c_47",gve="_label_1pt6c_54",vve="_rightSection_1pt6c_60",Mve="_ratio_1pt6c_66",_ve="_value1_1pt6c_73",xve="_separator_1pt6c_78",Lve="_value2_1pt6c_82",Ive="_statusIndicator_1pt6c_87",bve="_inactive_1pt6c_102",ze={container:uve,chartContainer:pve,legend:yve,legendItem:kve,leftSection:mve,colorIndicator:fve,label:gve,rightSection:vve,ratio:Mve,value1:_ve,separator:xve,value2:Lve,statusIndicator:Ive,inactive:bve},dj=Math.PI/180,wve=({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:M,borderColor:f,hideDonut:v=!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":M||"#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*dj),A=j+z*Math.sin(-q*dj),R=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:`${R}%`})},[x,b]);return c.jsxs("div",{className:`${ze.container} ${u}`,style:w,children:[!v&&c.jsx("div",{className:ze.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:ze.legend,children:e.map((S,j)=>{const q=_.has(S.nom);return c.jsxs("div",{className:`${ze.legendItem} ${!v&&!q?ze.inactive:""}`,onClick:()=>L(S.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:ze.leftSection,children:[c.jsx("div",{className:ze.colorIndicator,style:{backgroundColor:S.color,opacity:v||q?1:.3}}),c.jsx("span",{className:ze.label,style:{opacity:v||q?1:.5},children:S.nom})]}),c.jsxs("div",{className:ze.rightSection,style:{opacity:v||q?1:.5},children:[c.jsxs("div",{className:ze.ratio,children:[c.jsx("span",{className:ze.value1,children:S.value1}),c.jsx("span",{className:ze.separator,children:"/"}),c.jsx("span",{className:ze.value2,children:S.value2})]}),S.statusColor&&c.jsx("div",{className:ze.statusIndicator,style:{backgroundColor:S.statusColor}})]})]},`legend-${j}`)})})]})},Cve="_container_1pc4v_1",Nve="_leftGroup_1pc4v_10",Sve="_iconBtn_1pc4v_16",K1={container:Cve,leftGroup:Nve,iconBtn:Sve},jve=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"})),$ve=k.memo(jve),qve=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"})),Xq=k.memo(qve),Ave=({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:[K1.container,i].filter(Boolean).join(" "),style:y,children:[c.jsxs("div",{className:K1.leftGroup,children:[c.jsx("button",{className:K1.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??c.jsx($ve,{width:22,height:22})}),c.jsx(dL,{...t,size:"medium"})]}),c.jsx("button",{className:K1.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??c.jsx(Xq,{width:22,height:22})})]})},zve="_container_24g3e_1",Vve="_iconBtn_24g3e_10",Pve="_title_24g3e_22",X1={container:zve,iconBtn:Vve,title:Pve},Tve=({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:[X1.container,i].filter(Boolean).join(" "),style:m,children:[c.jsx("button",{className:X1.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??c.jsx(Kq,{width:22,height:22})}),c.jsx("span",{className:X1.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),c.jsx("button",{className:X1.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??c.jsx(Xq,{width:22,height:22})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=zge;exports.AddItemModal=Sc;exports.Alert=Uw;exports.AlertMessage=hve;exports.AlertsProvider=$ke;exports.BadgeList=lj;exports.BadgeRenderer=Aq;exports.Button=Jx;exports.ChartContainer=Ske;exports.CheckboxInput=hq;exports.CircularProgress=qb;exports.ColorInput=mq;exports.ComponentVisibilityManager=Vb;exports.ComponentVisibilityToggle=Ume;exports.ConfirmationModal=Nge;exports.ConfirmationPopup=V3e;exports.CounterListBox=v3e;exports.CurrencyRenderer=Pq;exports.DashboardSummary=Lme;exports.DataBoard=bt;exports.DataFourBoards=Eq;exports.DateInput=yq;exports.DatePicker=cw;exports.DateRenderer=zq;exports.DayStatCard=e2e;exports.DayStatCardV2=T6e;exports.DonutChartRatio=wve;exports.DraggableProvider=o2e;exports.DraggableSwitcherButton=Qx;exports.DynamicForm=Zye;exports.DynamicInput=fq;exports.EmailRenderer=$q;exports.Encours=Pme;exports.EntryControl=f3e;exports.FileInput=pq;exports.FilterBar=Wfe;exports.FiltreEtiquette=rve;exports.FlexRowContainer=_3e;exports.Grid=pj;exports.Header=l2e;exports.HorizontalBarChart=D6e;exports.IconText=Ij;exports.ImageRenderer=Tq;exports.IndicatorItemV2=$7e;exports.InfoBanner=G7e;exports.InputWrapper=mL;exports.LegendFilterProvider=i2e;exports.LegendFilterSwitcherButton=eL;exports.LinkRenderer=qq;exports.ListContentContainer=x3e;exports.Logo=dL;exports.MetricsPanel=Bq;exports.MobileMenuHeader=Tve;exports.MobileNavMenu=Wq;exports.MobileTopBar=Ave;exports.ModuleHeader=e3e;exports.ModuleSideBar=t3e;exports.ModuleSideBarV2=vge;exports.NavBar=yj;exports.NavBarV2=n8e;exports.NavItem=Ab;exports.NavItemV2=Ww;exports.NavProvider=t2e;exports.NumberRenderer=Vq;exports.PeriodSelect=Tke;exports.PopUp=yge;exports.RadioInput=uq;exports.RangeInput=kq;exports.ScrollableHorizontale=bj;exports.SearchBar=Fq;exports.Select=Zq;exports.SelectFilter=kme;exports.SelectInput=Rw;exports.SettingNavBar=gge;exports.ShowDataProvider=r2e;exports.ShowDataSwitcherButton=tL;exports.SideComponent=Dke;exports.SimpleListBox=g3e;exports.SubHeaderContent=N8e;exports.SubHeaderNavItem=Uq;exports.SubHeaderTitle=d8e;exports.SubNavBar=h2e;exports.SummaryAvailable=lve;exports.SummaryCard=Dq;exports.Switcher=T1;exports.TableLayout=Gq;exports.TableauDynamique=Hq;exports.TableauDynamiqueSafePagination=V5e;exports.TableauxComponent=Gq;exports.TextInput=dq;exports.TextRenderer=jq;exports.TextareaInput=lq;exports.ThemeProvider=a2e;exports.ThemeSwitcher=S8e;exports.ThemeSwitcherButton=zb;exports.Title=Eke;exports.TranslationKey=a3e;exports.TranslationKeyV2=Mge;exports.TrendItem=wj;exports.TrendList=iue;exports.TrendListBox=M3e;exports.UserInfo=Oq;exports.alertModels=Ake;exports.getFormSchema=Kye;exports.hexToRgba=Ct;exports.registerRenderer=b5e;exports.tableConfig=ow;exports.useAlerts=qke;exports.useBodyScrollLock=Bke;exports.useConfirmationPopup=P3e;exports.useDraggableSwitcher=gj;exports.useFilters=Nq;exports.useLegendFilterSwitcher=Mj;exports.useNavigation=it;exports.useShowDataSwitcher=xj;exports.useTableData=Sq;exports.useThemeContext=mj;exports.useThemeSwitcher=lL;exports.validateField=sL;exports.validateForm=sq;
|
|
8180
|
+
`,style:{...jc,backgroundColor:t===ke.value?I||"#F0F4F6":"transparent"},onMouseEnter:At=>{x&&(At.currentTarget.style.backgroundColor=x)},onMouseLeave:At=>{x&&(At.currentTarget.style.backgroundColor=t===ke.value?I||"#F0F4F6":"transparent")},role:"option","aria-selected":t===ke.value,children:c.jsxs("div",{className:Me.itemContent,style:Q,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))})})]})},Ofe="_filterBar_1hlqe_3",Ufe="_label_1hlqe_11",rj={filterBar:Ofe,label:Ufe},Wfe=({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:M="0.875rem",labelFontWeight:f="400",labelColor:v="#212529",labelMarginRight:_="1rem",startDateWidth:g,endDateWidth:L,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:x,extraContent:I})=>{const S={fontSize:M,fontWeight:f,color:v,marginRight:_},j={gap:m};return c.jsxs("div",{className:`${rj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:rj.label,style:S,children:e}),c.jsx(cw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:g,...C}),c.jsx(cw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:L,...C}),c.jsx(Zq,{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})]})},Gfe="_container_1x6mq_16",Zfe="_disabled_1x6mq_26",Kfe="_predStyle_1x6mq_32",Xfe="_realStyle_1x6mq_36",Yfe="_predGap_1x6mq_40",Jfe="_realGap_1x6mq_44",Qfe="_big_1x6mq_49",e7e="_medium_1x6mq_53",t7e="_iconWrapper_1x6mq_58",a7e="_predRelative_1x6mq_68",n7e="_realRelative_1x6mq_72",o7e="_iconImg_1x6mq_76",c7e="_content_1x6mq_84",i7e="_header_1x6mq_93",r7e="_predJustify_1x6mq_99",s7e="_realJustify_1x6mq_103",d7e="_predHeaderLineHeight_1x6mq_116",l7e="_realHeaderLineHeight_1x6mq_120",h7e="_title_1x6mq_129",u7e="_titleBlack_1x6mq_144",p7e="_titleWhite_1x6mq_148",y7e="_subtitle_1x6mq_153",k7e="_valueRowHorizontal_1x6mq_163",m7e="_valueRowVertical_1x6mq_171",f7e="_singleValue_1x6mq_180",g7e="_primaryRow_1x6mq_184",v7e="_maxBadge_1x6mq_191",M7e="_valuePrimary_1x6mq_203",_7e="_valuePrimaryBlack_1x6mq_210",x7e="_valuePrimaryWhite_1x6mq_214",L7e="_valueSlash_1x6mq_219",I7e="_valueSecondary_1x6mq_226",b7e="_valueSecondaryBlue_1x6mq_232",w7e="_valueSecondaryWhite_1x6mq_236",C7e="_valueSecondaryBlack_1x6mq_240",N7e="_valueStacked_1x6mq_245",S7e="_stackedTop_1x6mq_254",j7e="_stackedBottom_1x6mq_255",ce={container:Gfe,disabled:Zfe,predStyle:Kfe,realStyle:Xfe,predGap:Yfe,realGap:Jfe,big:Qfe,medium:e7e,iconWrapper:t7e,predRelative:a7e,realRelative:n7e,iconImg:o7e,content:c7e,header:i7e,predJustify:r7e,realJustify:s7e,predHeaderLineHeight:d7e,realHeaderLineHeight:l7e,title:h7e,titleBlack:u7e,titleWhite:p7e,subtitle:y7e,valueRowHorizontal:k7e,valueRowVertical:m7e,singleValue:f7e,primaryRow:g7e,maxBadge:v7e,valuePrimary:M7e,valuePrimaryBlack:_7e,valuePrimaryWhite:x7e,valueSlash:L7e,valueSecondary:I7e,valueSecondaryBlue:b7e,valueSecondaryWhite:w7e,valueSecondaryBlack:C7e,valueStacked:N7e,stackedTop:S7e,stackedBottom:j7e},$7e=({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:M=!1,titleFontSize:f,titleFontWeight:v,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:H="",titleKey:z,subtitleKey:N,subtitleA11yKey:A,maxBadgeKey:R,maxBadgeA11yKey:B,predictionKey:T,predictionA11yKey:Z,realisedKey:E,realisedA11yKey:de})=>{const X=i!==void 0?i:!!o,xe=`${ce.container} ${ce[d]} ${ce[y]} ${S?ce.disabled:""}`,ye=h==="white"?ce.valuePrimaryWhite:ce.valuePrimaryBlack,re=h==="blue"?ce.valueSecondaryBlue:h==="white"?ce.valueSecondaryWhite:ce.valueSecondaryBlack,ee=pe=>pe===void 0?void 0:typeof pe=="number"?`${pe}px`:pe,F=pe=>pe===void 0?void 0:pe,Y=m==="vertical",oe=s!=null&&s!==""&&s!=="-"&&s!=="—",te=Y?ce.valueRowVertical:ce.valueRowHorizontal;return c.jsxs("div",{className:`${xe} ${p}`,style:{backgroundColor:x},children:[t&&c.jsx("div",{className:`${ce.iconWrapper} ${ce[j]}`,children:t}),c.jsxs("div",{className:`${ce.content} ${ce[I]} ${oe?"":ce.singleValue} content-indicator-v2`,style:{justifyContent:H},children:[c.jsx("div",{className:`${ce.header} ${ce[q]} ${ce[$]} header-indicator-v2`,style:{minHeight:P},children:c.jsx("h6",{className:`${ce.title}`,style:{fontSize:ee(f),fontWeight:F(v),color:l},title:e?.mode==="guide"?e.description||[z?`${e.textLabel||"Texte"}: ${z}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[z?`${e.textLabel||"Texte"}: ${z}`:null,e.key?`${e.guideLabel||"Guide"}: ${e.key}`:null].filter(Boolean).join(" | "):void 0,children:n})}),X&&o?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ce.subtitle,style:{fontSize:ee(_),fontWeight:F(g)},title:e?.mode==="guide"?e.description||[N?`${e.textLabel||"Texte"}: ${N}`:null,A?`${e.guideLabel||"Guide"}: ${A}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[N?`${e.textLabel||"Texte"}: ${N}`:null,A?`${e.guideLabel||"Guide"}: ${A}`:null].filter(Boolean).join(" | "):void 0,children:o})}):null,c.jsxs("div",{className:`${te} count-indicator-v2`,children:[c.jsxs("div",{className:ce.primaryRow,children:[M&&c.jsx("span",{className:`${ce.maxBadge} max-badge-indicator-v2`,title:e?.mode==="guide"?e.description||[R?`${e.textLabel||"Texte"}: ${R}`:null,B?`${e.guideLabel||"Guide"}: ${B}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[R?`${e.textLabel||"Texte"}: ${R}`:null,B?`${e.guideLabel||"Guide"}: ${B}`:null].filter(Boolean).join(" | "):void 0,children:"MAX"}),c.jsx("span",{className:`${ce.valuePrimary} ${ye}`,style:{fontSize:ee(L||(!oe&&Y?"1.75rem":void 0)),fontWeight:F(w),color:u||void 0},title:e?.mode==="guide"?e.description||[E?`${e.textLabel||"Texte"}: ${E}`:null,de?`${e.guideLabel||"Guide"}: ${de}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[E?`${e.textLabel||"Texte"}: ${E}`:null,de?`${e.guideLabel||"Guide"}: ${de}`:null].filter(Boolean).join(" | "):void 0,children:r})]}),oe&&c.jsxs(c.Fragment,{children:[!Y&&c.jsx("span",{className:ce.valueSlash,style:{fontSize:ee(C),fontWeight:F(b)},children:"/"}),c.jsx("span",{className:`${ce.valueSecondary} ${re}`,style:{fontSize:ee(C),fontWeight:F(b)},title:e?.mode==="guide"?e.description||[T?`${e.textLabel||"Texte"}: ${T}`:null,Z?`${e.guideLabel||"Guide"}: ${Z}`:null].filter(Boolean).join(" | "):e?.mode==="key"?[T?`${e.textLabel||"Texte"}: ${T}`:null,Z?`${e.guideLabel||"Guide"}: ${Z}`:null].filter(Boolean).join(" | "):void 0,children:s})]})]})]})]})},q7e="_banner_f10in_2",A7e="_iep_f10in_14",z7e="_groupSmall_f10in_24",V7e="_genre_f10in_34",P7e="_gravite_f10in_42",T7e="_orientationContainer_f10in_48",H7e="_service_f10in_61",D7e="_roomBedContainer_f10in_71",B7e="_room_f10in_71",R7e="_bed_f10in_87",F7e="_bedUf_f10in_92",E7e="_statusContainer_f10in_97",O7e="_status_f10in_97",U7e="_centeredWarn_f10in_124",Ae={banner:q7e,iep:A7e,groupSmall:z7e,genre:V7e,gravite:P7e,orientationContainer:T7e,service:H7e,roomBedContainer:D7e,room:B7e,bed:R7e,bedUf:F7e,statusContainer:E7e,status:O7e,centeredWarn:U7e},W7e=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"}))),sj=k.memo(W7e),G7e=({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:M,style:f,warn:v=!1,warnMessage:_,warnColor:g="#F94134"})=>c.jsxs("div",{className:Ae.banner,style:{backgroundColor:l,...f},children:[c.jsxs("div",{className:Ae.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:Ae.groupSmall,children:[c.jsx("span",{className:`${Ae.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:M},children:t??"--"}),c.jsx("span",{className:`${Ae.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:Ae.orientationContainer,children:c.jsx("div",{className:Ae.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:Ae.roomBedContainer,children:[i&&c.jsx("span",{className:Ae.bedUf,children:i}),c.jsx("span",{className:Ae.room,children:r??"--"}),c.jsx("span",{className:Ae.bed,children:o??"--"})]}),c.jsxs("div",{className:Ae.statusContainer,children:[d?c.jsx("div",{className:`${Ae.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):v&&c.jsxs("div",{className:Ae.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(sj,{color:g,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:g,fontSize:"12px",fontWeight:600},children:_})]}),d&&v&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:g,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(sj,{color:g,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),Z7e=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"})),K7e=k.memo(Z7e),X7e=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"})),Kq=k.memo(X7e),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:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),J7e=k.memo(Y7e),Q7e="_overlay_1uxex_1",ege="_container_1uxex_11",tge="_fullscreen_1uxex_24",age="_header_1uxex_30",nge="_headerActions_1uxex_42",oge="_iconButton_1uxex_47",cge="_body_1uxex_58",ige="_sidebar_1uxex_65",rge="_content_1uxex_91",sge="_contentHeader_1uxex_98",dge="_childrenWrapper_1uxex_114",lge="_footer_1uxex_138",hge="_baseButton_1uxex_146",uge="_noOverlay_1uxex_160",pge="_contained_1uxex_168",Ie={overlay:Q7e,container:ege,fullscreen:tge,header:age,headerActions:nge,iconButton:oge,body:cge,sidebar:ige,content:rge,contentHeader:sge,childrenWrapper:dge,footer:lge,baseButton:hge,noOverlay:uge,contained:pge},yge=({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:M=!1,hideSidebar:f=!1,onDelete:v,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:H})=>{const[z,N]=k.useState(!1),A=k.useRef(null);if(k.useEffect(()=>{if(!r||!$)return;const B=T=>{(T.type==="scroll"||T.type==="wheel"||T.type==="touchmove"||A.current&&!A.current.contains(T.target))&&s()};return document.addEventListener("mousedown",B),document.addEventListener("scroll",B,!0),document.addEventListener("wheel",B,{passive:!0,capture:!0}),document.addEventListener("touchmove",B,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",B),document.removeEventListener("scroll",B,!0),document.removeEventListener("wheel",B,!0),document.removeEventListener("touchmove",B,!0)}},[r,$,s]),!r)return null;const R=(B,T=!1)=>c.jsx(Jx,{onClick:B.disabled?void 0:B.onClick,className:Ie.baseButton,disabled:B.disabled,style:{background:B.backgroundColor??(T?"#008FBB":"#ffffff"),color:B.textColor??(T?"#ffffff":"#374151"),border:B.borderColor||T?"none":void 0,cursor:B.disabled?B.cursor??"not-allowed":B.cursor??"pointer",filter:B.disabled?B.filter??"grayscale(0.5)":B.filter??"none",opacity:B.disabled?.65:1},title:B.a11yConfig?.mode==="guide"?B.a11yConfig.description||B.text:B.a11yConfig?.mode==="key"?B.a11yConfig.key:void 0,children:B.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:B=>B.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:[!M&&c.jsxs("header",{className:Ie.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},title:H?.mode==="guide"?H.description||e:H?.mode==="key"?H.key:void 0,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(J7e,{width:22,height:22,fill:t}):c.jsx(K7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:Ie.iconButton,title:"Fermer",children:c.jsx(Kq,{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:[v&&c.jsx(Jx,{onClick:v,className:Ie.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,R(d),R(l,!0)]})]})})},kge="_container_1vb1c_1",mge="_searchWrapper_1vb1c_10",fge="_navItems_1vb1c_17",$b={container:kge,searchWrapper:mge,navItems:fge},gge=({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:`${$b.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:$b.searchWrapper,children:c.jsx(Fq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:$b.navItems,children:e.map(p=>c.jsx(Ww,{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))})]}),vge=({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:M="Valider",cancelText:f="Annuler",a11yConfig:v})=>{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:v?.mode==="guide"?v.description||s:v?.mode==="key"?[d?`${v.textLabel||"Texte"}: ${d}`:null,v.key?`${v.guideLabel||"Guide"}: ${v.key}`:null].filter(Boolean).join(" | "):void 0,children:[s," (",e.length,")"]}),c.jsx(Uc,{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(M1,{size:14,className:"drag-handle"}),c.jsxs("div",{className:"module-content",title:$.a11yConfig?.mode==="guide"?$.a11yConfig.description||$.title:$.a11yConfig?.mode==="key"?[$.titleKey?`${$.a11yConfig.textLabel||"Texte"}: ${$.titleKey}`:null,$.a11yConfig.key?`${$.a11yConfig.guideLabel||"Guide"}: ${$.a11yConfig.key}`:null].filter(Boolean).join(" | "):void 0,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(lt,{size:12,className:"action-icon edit",onClick:P=>I(P,$)}),c.jsx(St,{size:12,className:"action-icon delete",onClick:P=>q(P,$)})]})]},$.id))}),c.jsx(Sc,{isOpen:_,onClose:b,onSave:x,title:l,fields:[{name:"title",label:h,placeholder:u}],confirmText:M,cancelText:f}),L&&c.jsx(Sc,{isOpen:!!L,onClose:S,onSave:j,title:p,initialValues:{title:L.title},fields:[{name:"title",label:y,placeholder:m}],confirmText:M,cancelText:f})]})},Mge=({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,M]=k.useState(""),[f,v]=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),M(C[A]||"")},j=()=>{p&&(o(p,m),y(null),M(""))},q=N=>{N.key==="Enter"?j():N.key==="Escape"&&(y(null),M(""))},$=()=>{v(!0),b.length>0&&g(b[0].toUpperCase()),w("")},P=()=>{_&&L.trim()&&(o(_,L.trim()),v(!1),g(""),w(""))},H=()=>{v(!1),g(""),w("")},z=N=>{N.key==="Enter"?P():N.key==="Escape"&&H()};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:s?.mode==="guide"?s.description||e:s?.mode==="key"?[`${s.textLabel||"Texte"}: ${e}`,s.key?`${s.guideLabel||"Guide"}: ${s.key}`:null].filter(Boolean).join(" | "):void 0,children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(lt,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),c.jsx(St,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(N=>{const A=N.toUpperCase(),R=C[A]||"",B=p===A;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:A}),B?c.jsx("input",{className:"translation-input editing",value:m,onChange:T=>M(T.target.value),onBlur:j,onKeyDown:q,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${R?"":"empty"}`,onClick:()=>S(N),title:"Cliquer pour éditer",children:R||"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(k1,{size:18,className:"action-icon confirm",onClick:P}),c.jsx(Ze,{size:18,className:"action-icon cancel",onClick:H})]})]}):b.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Gc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},_ge="_overlay_1jz4r_1",xge="_modal_1jz4r_15",Lge="_body_1jz4r_27",Ige="_footer_1jz4r_46",bge="_confirmButton_1jz4r_55",wge="_danger_1jz4r_75",Cge="_cancelButton_1jz4r_83",vt={overlay:_ge,modal:xge,body:Lge,footer:Ige,confirmButton:bge,danger:wge,cancelButton:Cge},Nge=({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:vt.overlay,onClick:o,children:c.jsxs("div",{className:vt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:vt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:vt.footer,children:[c.jsx("button",{className:`${vt.confirmButton} ${s?vt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:vt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:vt.cancelButton,onClick:o,children:r})]})]})}):null,Sge="_card_1ildr_1",jge="_topIcon_1ildr_17",$ge="_title_1ildr_24",qge="_text_1ildr_31",Age="_bottomIcon_1ildr_37",s1={card:Sge,topIcon:jge,title:$ge,text:qge,bottomIcon:Age},zge=({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:`${s1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:h?.mode==="guide"?h.description||t:h?.mode==="key"?h.key:void 0,children:[e&&c.jsx("div",{className:s1.topIcon,children:e}),c.jsx("h3",{className:s1.title,style:{color:s},children:t}),c.jsx("p",{className:s1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:s1.bottomIcon,children:o})]}),Vge="_container_1ry38_1",Pge="_disabled_1ry38_9",Tge="_selectBox_1ry38_14",Hge="_selectBoxOpen_1ry38_36",Dge="_tagsContainer_1ry38_41",Bge="_tag_1ry38_41",Rge="_tagLabel_1ry38_66",Fge="_removeBtnContainer_1ry38_72",Ege="_removeBtn_1ry38_72",Oge="_searchInput_1ry38_97",Uge="_placeholder_1ry38_117",Wge="_actions_1ry38_124",Gge="_clearBtn_1ry38_131",Zge="_chevron_1ry38_153",Kge="_chevronOpen_1ry38_159",Xge="_dropdown_1ry38_163",Yge="_option_1ry38_177",Jge="_noOptions_1ry38_189",Qge="_overflowBlock_1ry38_196",eve="_overflowEllipsis_1ry38_203",tve="_overflowBadge_1ry38_210",ave="_overflowBadgeWrap_1ry38_233",nve="_overflowDropdown_1ry38_239",ove="_overflowDropdownItem_1ry38_255",cve="_overflowDropdownItemLabel_1ry38_266",ive="_overflowDropdownItemRemove_1ry38_273",J={container:Vge,disabled:Pge,selectBox:Tge,selectBoxOpen:Hge,tagsContainer:Dge,tag:Bge,tagLabel:Rge,removeBtnContainer:Fge,removeBtn:Ege,searchInput:Oge,placeholder:Uge,actions:Wge,clearBtn:Gge,chevron:Zge,chevronOpen:Kge,dropdown:Xge,option:Yge,noOptions:Jge,overflowBlock:Qge,overflowEllipsis:eve,overflowBadge:tve,overflowBadgeWrap:ave,overflowDropdown:nve,overflowDropdownItem:ove,overflowDropdownItemLabel:cve,overflowDropdownItemRemove:ive},rve=({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),M=k.useRef(null),f=k.useRef(null),[v,_]=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 R=A.target;y.current&&!y.current.contains(R)&&(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 T=M.current,Z=f.current;if(!T||!Z)return;const E=Z.getBoundingClientRect().width,de=Z.querySelector(`.${J.actions}`),X=de?de.getBoundingClientRect().width:80,xe=56,ye=r?80:0,re=16,ee=Array.from(T.querySelectorAll(`.${J.tag}`));ee.length===b.length&&(w.current=ee.map(le=>{const Le=le.getBoundingClientRect(),mt=le.scrollWidth;return Math.max(Le.width,mt,le.offsetWidth||0)}));const F=w.current,Y=F.length>0?F.reduce((le,Le)=>le+Le,0)/F.length:120,oe=b.length<=F.length?F.slice(0,b.length):[...F,...Array(b.length-F.length).fill(Y)],te=4,pe=Math.max(0,E-X-ye-re);let _e=0,fe=0;for(let le=0;le<b.length;le++){const Le=oe[le]??120;if(_e+Le+te>pe)break;_e+=Le+te,fe++}if(fe>=b.length){_(null);return}const Se=Math.max(0,E-xe-X-ye-re);_e=0;let Ce=0;for(let le=0;le<b.length;le++){const Le=oe[le]??120;if(_e+Le+te>Se)break;_e+=Le+te,Ce++}Ce<b.length&&Ce>0?_(Ce):_(null)},A=requestAnimationFrame(()=>{N()}),R=setTimeout(N,100),B=new ResizeObserver(()=>{N()});return f.current&&B.observe(f.current),()=>{cancelAnimationFrame(A),clearTimeout(R),B.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)},$=v!=null&&v<b.length?b.slice(v):[],P=(N,A)=>{A.stopPropagation();const R=b.filter(B=>B.value!==N);o(R)},H=N=>{N.stopPropagation(),o([])},z=N=>{N.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${J.container} ${s} ${d?J.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:f,className:`${J.selectBox} ${l?J.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:J.tagsContainer,ref:M,children:[v!==null&&v>0?b.slice(0,v).map((N,A)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:R=>P(N.value,R),"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:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:N.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:R=>P(N.value,R),"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:J.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:J.placeholder,children:i})]}),v!==null&&v<b.length&&c.jsxs("div",{className:J.overflowBlock,children:[c.jsx("span",{className:J.overflowEllipsis,children:"..."}),c.jsxs("div",{className:J.overflowBadgeWrap,children:[c.jsx("button",{ref:C,type:"button",className:J.overflowBadge,onClick:q,"aria-label":`Afficher ${$.length} éléments cachés`,children:$.length}),g&&$.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:$.map((N,A)=>c.jsxs("div",{className:J.overflowDropdownItem,children:[c.jsx("span",{className:J.overflowDropdownItemLabel,children:N.label}),c.jsx("button",{type:"button",className:J.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),P(N.value,R)},"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:J.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:J.clearBtn,onClick:H,"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:`${J.chevron} ${l?J.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:J.dropdown,role:"listbox",children:I.length>0?I.map((N,A)=>c.jsx("div",{className:J.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${A}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},sve="_container_h7jek_1",dve={container:sve},lve=({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 M=String(m.uf).replace(/^0+/,"");return y.has(M)?!1:(y.add(M),!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:dve.container,children:[c.jsx(bt,{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(bt,{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(bt,{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(bt,{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(bt,{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"}})]})},hve=({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:h?.mode==="guide"?h.description:h?.mode==="key"?[u?`${h.textLabel||"Texte"}: ${u}`:null,h.key?`${h.guideLabel||"Guide"}: ${h.key}`:null].filter(Boolean).join(" | "):void 0,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})]}),uve="_container_1pt6c_1",pve="_chartContainer_1pt6c_14",yve="_legend_1pt6c_22",kve="_legendItem_1pt6c_29",mve="_leftSection_1pt6c_41",fve="_colorIndicator_1pt6c_47",gve="_label_1pt6c_54",vve="_rightSection_1pt6c_60",Mve="_ratio_1pt6c_66",_ve="_value1_1pt6c_73",xve="_separator_1pt6c_78",Lve="_value2_1pt6c_82",Ive="_statusIndicator_1pt6c_87",bve="_inactive_1pt6c_102",ze={container:uve,chartContainer:pve,legend:yve,legendItem:kve,leftSection:mve,colorIndicator:fve,label:gve,rightSection:vve,ratio:Mve,value1:_ve,separator:xve,value2:Lve,statusIndicator:Ive,inactive:bve},dj=Math.PI/180,wve=({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:M,borderColor:f,hideDonut:v=!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":M||"#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:H})=>{if(H===0||b)return null;const z=$+(P-$)*.5,N=S+z*Math.cos(-q*dj),A=j+z*Math.sin(-q*dj),R=Math.round(H/x*100);return c.jsx(a.Text,{x:N,y:A,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[x,b]);return c.jsxs("div",{className:`${ze.container} ${u}`,style:w,children:[!v&&c.jsx("div",{className:ze.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:ze.legend,children:e.map((S,j)=>{const q=_.has(S.nom);return c.jsxs("div",{className:`${ze.legendItem} ${!v&&!q?ze.inactive:""}`,onClick:()=>L(S.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:ze.leftSection,children:[c.jsx("div",{className:ze.colorIndicator,style:{backgroundColor:S.color,opacity:v||q?1:.3}}),c.jsx("span",{className:ze.label,style:{opacity:v||q?1:.5},children:S.nom})]}),c.jsxs("div",{className:ze.rightSection,style:{opacity:v||q?1:.5},children:[c.jsxs("div",{className:ze.ratio,children:[c.jsx("span",{className:ze.value1,children:S.value1}),c.jsx("span",{className:ze.separator,children:"/"}),c.jsx("span",{className:ze.value2,children:S.value2})]}),S.statusColor&&c.jsx("div",{className:ze.statusIndicator,style:{backgroundColor:S.statusColor}})]})]},`legend-${j}`)})})]})},Cve="_container_1pc4v_1",Nve="_leftGroup_1pc4v_10",Sve="_iconBtn_1pc4v_16",K1={container:Cve,leftGroup:Nve,iconBtn:Sve},jve=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"})),$ve=k.memo(jve),qve=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"})),Xq=k.memo(qve),Ave=({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:[K1.container,i].filter(Boolean).join(" "),style:y,children:[c.jsxs("div",{className:K1.leftGroup,children:[c.jsx("button",{className:K1.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??c.jsx($ve,{width:22,height:22})}),c.jsx(dL,{...t,size:"medium"})]}),c.jsx("button",{className:K1.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??c.jsx(Xq,{width:22,height:22})})]})},zve="_container_24g3e_1",Vve="_iconBtn_24g3e_10",Pve="_title_24g3e_22",X1={container:zve,iconBtn:Vve,title:Pve},Tve=({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:[X1.container,i].filter(Boolean).join(" "),style:m,children:[c.jsx("button",{className:X1.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??c.jsx(Kq,{width:22,height:22})}),c.jsx("span",{className:X1.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),c.jsx("button",{className:X1.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??c.jsx(Xq,{width:22,height:22})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=zge;exports.AddItemModal=Sc;exports.Alert=Uw;exports.AlertMessage=hve;exports.AlertsProvider=$ke;exports.BadgeList=lj;exports.BadgeRenderer=Aq;exports.Button=Jx;exports.ChartContainer=Ske;exports.CheckboxInput=hq;exports.CircularProgress=qb;exports.ColorInput=mq;exports.ComponentVisibilityManager=Vb;exports.ComponentVisibilityToggle=Ume;exports.ConfirmationModal=Nge;exports.ConfirmationPopup=V3e;exports.CounterListBox=v3e;exports.CurrencyRenderer=Pq;exports.DashboardSummary=Lme;exports.DataBoard=bt;exports.DataFourBoards=Eq;exports.DateInput=yq;exports.DatePicker=cw;exports.DateRenderer=zq;exports.DayStatCard=e2e;exports.DayStatCardV2=T6e;exports.DonutChartRatio=wve;exports.DraggableProvider=o2e;exports.DraggableSwitcherButton=Qx;exports.DynamicForm=Zye;exports.DynamicInput=fq;exports.EmailRenderer=$q;exports.Encours=Pme;exports.EntryControl=f3e;exports.FileInput=pq;exports.FilterBar=Wfe;exports.FiltreEtiquette=rve;exports.FlexRowContainer=_3e;exports.Grid=pj;exports.Header=l2e;exports.HorizontalBarChart=D6e;exports.IconText=Ij;exports.ImageRenderer=Tq;exports.IndicatorItemV2=$7e;exports.InfoBanner=G7e;exports.InputWrapper=mL;exports.LegendFilterProvider=i2e;exports.LegendFilterSwitcherButton=eL;exports.LinkRenderer=qq;exports.ListContentContainer=x3e;exports.Logo=dL;exports.MetricsPanel=Bq;exports.MobileMenuHeader=Tve;exports.MobileNavMenu=Wq;exports.MobileTopBar=Ave;exports.ModuleHeader=e3e;exports.ModuleSideBar=t3e;exports.ModuleSideBarV2=vge;exports.NavBar=yj;exports.NavBarV2=n8e;exports.NavItem=Ab;exports.NavItemV2=Ww;exports.NavProvider=t2e;exports.NumberRenderer=Vq;exports.PeriodSelect=Tke;exports.PopUp=yge;exports.RadioInput=uq;exports.RangeInput=kq;exports.ScrollableHorizontale=bj;exports.SearchBar=Fq;exports.Select=Zq;exports.SelectFilter=kme;exports.SelectInput=Rw;exports.SettingNavBar=gge;exports.ShowDataProvider=r2e;exports.ShowDataSwitcherButton=tL;exports.SideComponent=Dke;exports.SimpleListBox=g3e;exports.SubHeaderContent=N8e;exports.SubHeaderNavItem=Uq;exports.SubHeaderTitle=d8e;exports.SubNavBar=h2e;exports.SummaryAvailable=lve;exports.SummaryCard=Dq;exports.Switcher=T1;exports.TableLayout=Gq;exports.TableauDynamique=Hq;exports.TableauDynamiqueSafePagination=V5e;exports.TableauxComponent=Gq;exports.TextInput=dq;exports.TextRenderer=jq;exports.TextareaInput=lq;exports.ThemeProvider=a2e;exports.ThemeSwitcher=S8e;exports.ThemeSwitcherButton=zb;exports.Title=Eke;exports.TranslationKey=a3e;exports.TranslationKeyV2=Mge;exports.TrendItem=wj;exports.TrendList=iue;exports.TrendListBox=M3e;exports.UserInfo=Oq;exports.alertModels=Ake;exports.getFormSchema=Kye;exports.hexToRgba=Ct;exports.registerRenderer=b5e;exports.tableConfig=ow;exports.useAlerts=qke;exports.useBodyScrollLock=Bke;exports.useConfirmationPopup=P3e;exports.useDraggableSwitcher=gj;exports.useFilters=Nq;exports.useLegendFilterSwitcher=Mj;exports.useNavigation=it;exports.useShowDataSwitcher=xj;exports.useTableData=Sq;exports.useThemeContext=mj;exports.useThemeSwitcher=lL;exports.validateField=sL;exports.validateForm=sq;
|