@tsiky/components-r19 1.6.35 → 1.6.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-CW9fOEAU.cjs"),ew=require("react-dom");function gA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Z=gA(k),vA="_button_1kuwt_2",MA="_primary_1kuwt_21",_A="_secondary_1kuwt_26",xA="_accent_1kuwt_31",LA="_outline_1kuwt_36",IA="_success_1kuwt_41",bA="_danger_1kuwt_46",wA="_warning_1kuwt_51",CA="_info_1kuwt_56",NA="_sm_1kuwt_62",SA="_md_1kuwt_67",jA="_lg_1kuwt_72",Pe={button:vA,primary:MA,secondary:_A,accent:xA,outline:LA,success:IA,danger:bA,warning:wA,info:CA,sm:NA,md:SA,lg:jA},Gx=({children:e,variant:t="primary",size:n="md",className:o="",type:i="button",...r})=>{const s={primary:Pe.primary,secondary:Pe.secondary,accent:Pe.accent,outline:Pe.outline,success:Pe.success,danger:Pe.danger,warning:Pe.warning,info:Pe.info},d={sm:Pe.sm,md:Pe.md,lg:Pe.lg},l=[Pe.button,s[t]??"",d[n]??"",o].filter(Boolean).join(" ");return c.jsx("button",{type:i,className:l,...r,children:e})},wb=({progress:e,size:t,strokeWidth:n,color:o="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:l,labelColor:h,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const m=n||t*.1;t+=m;const g=Math.min(5,Math.max(0,Math.floor(e))),f=t/2,M=(t-m)/2,
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-CW9fOEAU.cjs"),ew=require("react-dom");function gA(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const Z=gA(k),vA="_button_1kuwt_2",MA="_primary_1kuwt_21",_A="_secondary_1kuwt_26",xA="_accent_1kuwt_31",LA="_outline_1kuwt_36",IA="_success_1kuwt_41",bA="_danger_1kuwt_46",wA="_warning_1kuwt_51",CA="_info_1kuwt_56",NA="_sm_1kuwt_62",SA="_md_1kuwt_67",jA="_lg_1kuwt_72",Pe={button:vA,primary:MA,secondary:_A,accent:xA,outline:LA,success:IA,danger:bA,warning:wA,info:CA,sm:NA,md:SA,lg:jA},Gx=({children:e,variant:t="primary",size:n="md",className:o="",type:i="button",...r})=>{const s={primary:Pe.primary,secondary:Pe.secondary,accent:Pe.accent,outline:Pe.outline,success:Pe.success,danger:Pe.danger,warning:Pe.warning,info:Pe.info},d={sm:Pe.sm,md:Pe.md,lg:Pe.lg},l=[Pe.button,s[t]??"",d[n]??"",o].filter(Boolean).join(" ");return c.jsx("button",{type:i,className:l,...r,children:e})},wb=({progress:e,size:t,strokeWidth:n,color:o="#FFD700",bgColor:i="#eef2f6",textColor:r,textTop:s,textBottom:d,label:l,labelColor:h,textTopStyle:u,textBottomStyle:p,className:y=""})=>{t||(t=150);const m=n||t*.1;t+=m;const g=Math.min(5,Math.max(0,Math.floor(e))),f=t/2,M=(t-m)/2,_=2*Math.PI*M,I=_/5*(1-.1),w=_-I;return c.jsxs("div",{className:`circular-progress-container ${y}`,children:[c.jsxs("div",{className:"circular-progress",style:{width:t,height:t},children:[c.jsxs("svg",{width:t,height:t,children:[c.jsx("circle",{cx:f,cy:f,r:M-m/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((C,b)=>{const L=-90+b*72;return b>=g?null:c.jsx("circle",{cx:f,cy:f,r:M,fill:"transparent",stroke:o,strokeWidth:m,strokeLinecap:"butt",strokeDasharray:`${I} ${w}`,strokeDashoffset:0,transform:`rotate(${L} ${f} ${f})`,style:{transition:"stroke 0.3s ease"}},b)})]}),(s||d)&&c.jsxs("div",{className:"circular-progress-content",style:{color:r},children:[s&&c.jsx("div",{className:"circular-progress-text-top",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-bold)",...u},children:s}),d&&c.jsx("div",{className:"circular-progress-text-bottom",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",...p},children:d})]})]}),l&&c.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:h||r||"inherit"},children:l})]})},$A="_wrapper_12x8x_1",qA="_list_12x8x_12",AA="_item_12x8x_22",zA="_badge_12x8x_30",VA="_text_12x8x_42",PA="_tooltip_12x8x_49",Je={wrapper:$A,list:qA,item:AA,badge:zA,text:VA,tooltip:PA};function cj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:o="#000",bgColor:i="transparent",activateTooltip:r=!0,maxVisible:s=3,width:d="auto",gap:l=0}){const[h,u]=k.useState(!1),[p,y]=k.useState(null),m=k.useRef(null);k.useEffect(()=>{function _(v){v.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[h]),k.useEffect(()=>{function _(v){m.current&&!m.current.contains(v.target)&&u(!1)}return h&&document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[h]);function g(_){r&&(_.preventDefault(),y({x:_.clientX,y:_.clientY}),u(!0))}const f=e.slice(0,s),M=_=>typeof _=="number"?`${_}px`:_;return c.jsxs("div",{className:Je.wrapper,style:{width:M(d),background:i,...t,"--gap":M(l)},onContextMenu:g,"aria-label":"liste-badges",children:[c.jsx("ul",{className:Je.list,children:f.map((_,v)=>c.jsxs("li",{className:Je.item,children:[c.jsx("span",{className:Je.badge,style:{backgroundColor:_.badgeColor??n},"aria-hidden":!0}),c.jsx("span",{className:Je.text,style:{color:_.textColor??o},children:_.text})]},v))}),r&&h&&p&&c.jsx("div",{className:Je.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":M(l)},role:"dialog","aria-modal":"false",ref:m,children:c.jsx("ul",{className:Je.list,children:e.map((_,v)=>c.jsxs("li",{className:Je.item,children:[c.jsx("span",{className:Je.badge,style:{backgroundColor:_.badgeColor??n}}),c.jsx("span",{className:Je.text,style:{color:_.textColor??"#000"},children:_.text})]},v))})})]})}/**
|
|
2
2
|
* @license lucide-react v0.540.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8158,7 +8158,7 @@
|
|
|
8158
8158
|
*
|
|
8159
8159
|
* This source code is licensed under the ISC license.
|
|
8160
8160
|
* See the LICENSE file in the root directory of this source tree.
|
|
8161
|
-
*/const ht=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:U1,AArrowDownIcon:U1,AArrowUp:W1,AArrowUpIcon:W1,ALargeSmall:G1,ALargeSmallIcon:G1,Accessibility:s1,AccessibilityIcon:s1,Activity:d1,ActivityIcon:d1,ActivitySquare:Lt,ActivitySquareIcon:Lt,AirVent:Z1,AirVentIcon:Z1,Airplay:K1,AirplayIcon:K1,AlarmCheck:Vt,AlarmCheckIcon:Vt,AlarmClock:Y1,AlarmClockCheck:Vt,AlarmClockCheckIcon:Vt,AlarmClockIcon:Y1,AlarmClockMinus:Pt,AlarmClockMinusIcon:Pt,AlarmClockOff:X1,AlarmClockOffIcon:X1,AlarmClockPlus:Tt,AlarmClockPlusIcon:Tt,AlarmMinus:Pt,AlarmMinusIcon:Pt,AlarmPlus:Tt,AlarmPlusIcon:Tt,AlarmSmoke:J1,AlarmSmokeIcon:J1,Album:Q1,AlbumIcon:Q1,AlertCircle:ha,AlertCircleIcon:ha,AlertOctagon:zn,AlertOctagonIcon:zn,AlertTriangle:cc,AlertTriangleIcon:cc,AlignCenter:ci,AlignCenterHorizontal:ei,AlignCenterHorizontalIcon:ei,AlignCenterIcon:ci,AlignCenterVertical:ti,AlignCenterVerticalIcon:ti,AlignEndHorizontal:ai,AlignEndHorizontalIcon:ai,AlignEndVertical:ni,AlignEndVerticalIcon:ni,AlignHorizontalDistributeCenter:oi,AlignHorizontalDistributeCenterIcon:oi,AlignHorizontalDistributeEnd:ii,AlignHorizontalDistributeEndIcon:ii,AlignHorizontalDistributeStart:ri,AlignHorizontalDistributeStartIcon:ri,AlignHorizontalJustifyCenter:si,AlignHorizontalJustifyCenterIcon:si,AlignHorizontalJustifyEnd:di,AlignHorizontalJustifyEndIcon:di,AlignHorizontalJustifyStart:li,AlignHorizontalJustifyStartIcon:li,AlignHorizontalSpaceAround:hi,AlignHorizontalSpaceAroundIcon:hi,AlignHorizontalSpaceBetween:pi,AlignHorizontalSpaceBetweenIcon:pi,AlignJustify:ui,AlignJustifyIcon:ui,AlignLeft:yi,AlignLeftIcon:yi,AlignRight:ki,AlignRightIcon:ki,AlignStartHorizontal:mi,AlignStartHorizontalIcon:mi,AlignStartVertical:fi,AlignStartVerticalIcon:fi,AlignVerticalDistributeCenter:vi,AlignVerticalDistributeCenterIcon:vi,AlignVerticalDistributeEnd:gi,AlignVerticalDistributeEndIcon:gi,AlignVerticalDistributeStart:_i,AlignVerticalDistributeStartIcon:_i,AlignVerticalJustifyCenter:Mi,AlignVerticalJustifyCenterIcon:Mi,AlignVerticalJustifyEnd:xi,AlignVerticalJustifyEndIcon:xi,AlignVerticalJustifyStart:Li,AlignVerticalJustifyStartIcon:Li,AlignVerticalSpaceAround:bi,AlignVerticalSpaceAroundIcon:bi,AlignVerticalSpaceBetween:Ii,AlignVerticalSpaceBetweenIcon:Ii,Ambulance:wi,AmbulanceIcon:wi,Ampersand:Ci,AmpersandIcon:Ci,Ampersands:Ni,AmpersandsIcon:Ni,Amphora:Si,AmphoraIcon:Si,Anchor:ji,AnchorIcon:ji,Angry:$i,AngryIcon:$i,Annoyed:qi,AnnoyedIcon:qi,Antenna:Ai,AntennaIcon:Ai,Anvil:zi,AnvilIcon:zi,Aperture:Vi,ApertureIcon:Vi,AppWindow:Ti,AppWindowIcon:Ti,AppWindowMac:Pi,AppWindowMacIcon:Pi,Apple:Hi,AppleIcon:Hi,Archive:Ri,ArchiveIcon:Ri,ArchiveRestore:Di,ArchiveRestoreIcon:Di,ArchiveX:Bi,ArchiveXIcon:Bi,AreaChart:Jt,AreaChartIcon:Jt,Armchair:Fi,ArmchairIcon:Fi,ArrowBigDown:Oi,ArrowBigDownDash:Ei,ArrowBigDownDashIcon:Ei,ArrowBigDownIcon:Oi,ArrowBigLeft:Wi,ArrowBigLeftDash:Ui,ArrowBigLeftDashIcon:Ui,ArrowBigLeftIcon:Wi,ArrowBigRight:Zi,ArrowBigRightDash:Gi,ArrowBigRightDashIcon:Gi,ArrowBigRightIcon:Zi,ArrowBigUp:Xi,ArrowBigUpDash:Ki,ArrowBigUpDashIcon:Ki,ArrowBigUpIcon:Xi,ArrowDown:ir,ArrowDown01:Yi,ArrowDown01Icon:Yi,ArrowDown10:Ji,ArrowDown10Icon:Ji,ArrowDownAZ:Ht,ArrowDownAZIcon:Ht,ArrowDownAz:Ht,ArrowDownAzIcon:Ht,ArrowDownCircle:ua,ArrowDownCircleIcon:ua,ArrowDownFromLine:Qi,ArrowDownFromLineIcon:Qi,ArrowDownIcon:ir,ArrowDownLeft:er,ArrowDownLeftFromCircle:ya,ArrowDownLeftFromCircleIcon:ya,ArrowDownLeftFromSquare:ro,ArrowDownLeftFromSquareIcon:ro,ArrowDownLeftIcon:er,ArrowDownLeftSquare:no,ArrowDownLeftSquareIcon:no,ArrowDownNarrowWide:tr,ArrowDownNarrowWideIcon:tr,ArrowDownRight:ar,ArrowDownRightFromCircle:ka,ArrowDownRightFromCircleIcon:ka,ArrowDownRightFromSquare:so,ArrowDownRightFromSquareIcon:so,ArrowDownRightIcon:ar,ArrowDownRightSquare:oo,ArrowDownRightSquareIcon:oo,ArrowDownSquare:co,ArrowDownSquareIcon:co,ArrowDownToDot:nr,ArrowDownToDotIcon:nr,ArrowDownToLine:or,ArrowDownToLineIcon:or,ArrowDownUp:cr,ArrowDownUpIcon:cr,ArrowDownWideNarrow:Dt,ArrowDownWideNarrowIcon:Dt,ArrowDownZA:Bt,ArrowDownZAIcon:Bt,ArrowDownZa:Bt,ArrowDownZaIcon:Bt,ArrowLeft:lr,ArrowLeftCircle:pa,ArrowLeftCircleIcon:pa,ArrowLeftFromLine:rr,ArrowLeftFromLineIcon:rr,ArrowLeftIcon:lr,ArrowLeftRight:sr,ArrowLeftRightIcon:sr,ArrowLeftSquare:io,ArrowLeftSquareIcon:io,ArrowLeftToLine:dr,ArrowLeftToLineIcon:dr,ArrowRight:yr,ArrowRightCircle:ga,ArrowRightCircleIcon:ga,ArrowRightFromLine:hr,ArrowRightFromLineIcon:hr,ArrowRightIcon:yr,ArrowRightLeft:ur,ArrowRightLeftIcon:ur,ArrowRightSquare:uo,ArrowRightSquareIcon:uo,ArrowRightToLine:pr,ArrowRightToLineIcon:pr,ArrowUp:Ir,ArrowUp01:kr,ArrowUp01Icon:kr,ArrowUp10:mr,ArrowUp10Icon:mr,ArrowUpAZ:Rt,ArrowUpAZIcon:Rt,ArrowUpAz:Rt,ArrowUpAzIcon:Rt,ArrowUpCircle:va,ArrowUpCircleIcon:va,ArrowUpDown:fr,ArrowUpDownIcon:fr,ArrowUpFromDot:gr,ArrowUpFromDotIcon:gr,ArrowUpFromLine:vr,ArrowUpFromLineIcon:vr,ArrowUpIcon:Ir,ArrowUpLeft:Mr,ArrowUpLeftFromCircle:ma,ArrowUpLeftFromCircleIcon:ma,ArrowUpLeftFromSquare:lo,ArrowUpLeftFromSquareIcon:lo,ArrowUpLeftIcon:Mr,ArrowUpLeftSquare:po,ArrowUpLeftSquareIcon:po,ArrowUpNarrowWide:Ft,ArrowUpNarrowWideIcon:Ft,ArrowUpRight:_r,ArrowUpRightFromCircle:fa,ArrowUpRightFromCircleIcon:fa,ArrowUpRightFromSquare:ho,ArrowUpRightFromSquareIcon:ho,ArrowUpRightIcon:_r,ArrowUpRightSquare:yo,ArrowUpRightSquareIcon:yo,ArrowUpSquare:ko,ArrowUpSquareIcon:ko,ArrowUpToLine:xr,ArrowUpToLineIcon:xr,ArrowUpWideNarrow:Lr,ArrowUpWideNarrowIcon:Lr,ArrowUpZA:Et,ArrowUpZAIcon:Et,ArrowUpZa:Et,ArrowUpZaIcon:Et,ArrowsUpFromLine:br,ArrowsUpFromLineIcon:br,Asterisk:wr,AsteriskIcon:wr,AsteriskSquare:mo,AsteriskSquareIcon:mo,AtSign:Cr,AtSignIcon:Cr,Atom:Nr,AtomIcon:Nr,AudioLines:Sr,AudioLinesIcon:Sr,AudioWaveform:jr,AudioWaveformIcon:jr,Award:$r,AwardIcon:$r,Axe:qr,AxeIcon:qr,Axis3D:Ot,Axis3DIcon:Ot,Axis3d:Ot,Axis3dIcon:Ot,Baby:Ar,BabyIcon:Ar,Backpack:zr,BackpackIcon:zr,Badge:Xr,BadgeAlert:Vr,BadgeAlertIcon:Vr,BadgeCent:Pr,BadgeCentIcon:Pr,BadgeCheck:Ut,BadgeCheckIcon:Ut,BadgeDollarSign:Tr,BadgeDollarSignIcon:Tr,BadgeEuro:Hr,BadgeEuroIcon:Hr,BadgeHelp:Wt,BadgeHelpIcon:Wt,BadgeIcon:Xr,BadgeIndianRupee:Dr,BadgeIndianRupeeIcon:Dr,BadgeInfo:Br,BadgeInfoIcon:Br,BadgeJapaneseYen:Fr,BadgeJapaneseYenIcon:Fr,BadgeMinus:Rr,BadgeMinusIcon:Rr,BadgePercent:Er,BadgePercentIcon:Er,BadgePlus:Or,BadgePlusIcon:Or,BadgePoundSterling:Ur,BadgePoundSterlingIcon:Ur,BadgeQuestionMark:Wt,BadgeQuestionMarkIcon:Wt,BadgeRussianRuble:Wr,BadgeRussianRubleIcon:Wr,BadgeSwissFranc:Gr,BadgeSwissFrancIcon:Gr,BadgeTurkishLira:Zr,BadgeTurkishLiraIcon:Zr,BadgeX:Kr,BadgeXIcon:Kr,BaggageClaim:Yr,BaggageClaimIcon:Yr,Ban:Jr,BanIcon:Jr,Banana:Qr,BananaIcon:Qr,Bandage:es,BandageIcon:es,Banknote:os,BanknoteArrowDown:ts,BanknoteArrowDownIcon:ts,BanknoteArrowUp:as,BanknoteArrowUpIcon:as,BanknoteIcon:os,BanknoteX:ns,BanknoteXIcon:ns,BarChart:ia,BarChart2:ra,BarChart2Icon:ra,BarChart3:oa,BarChart3Icon:oa,BarChart4:na,BarChart4Icon:na,BarChartBig:aa,BarChartBigIcon:aa,BarChartHorizontal:ea,BarChartHorizontalBig:Qt,BarChartHorizontalBigIcon:Qt,BarChartHorizontalIcon:ea,BarChartIcon:ia,Barcode:cs,BarcodeIcon:cs,Barrel:is,BarrelIcon:is,Baseline:rs,BaselineIcon:rs,Bath:ss,BathIcon:ss,Battery:ks,BatteryCharging:ds,BatteryChargingIcon:ds,BatteryFull:ls,BatteryFullIcon:ls,BatteryIcon:ks,BatteryLow:hs,BatteryLowIcon:hs,BatteryMedium:us,BatteryMediumIcon:us,BatteryPlus:ps,BatteryPlusIcon:ps,BatteryWarning:ys,BatteryWarningIcon:ys,Beaker:ms,BeakerIcon:ms,Bean:gs,BeanIcon:gs,BeanOff:fs,BeanOffIcon:fs,Bed:_s,BedDouble:vs,BedDoubleIcon:vs,BedIcon:_s,BedSingle:Ms,BedSingleIcon:Ms,Beef:xs,BeefIcon:xs,Beer:Is,BeerIcon:Is,BeerOff:Ls,BeerOffIcon:Ls,Bell:js,BellDot:bs,BellDotIcon:bs,BellElectric:ws,BellElectricIcon:ws,BellIcon:js,BellMinus:Cs,BellMinusIcon:Cs,BellOff:Ns,BellOffIcon:Ns,BellPlus:Ss,BellPlusIcon:Ss,BellRing:$s,BellRingIcon:$s,BetweenHorizonalEnd:Gt,BetweenHorizonalEndIcon:Gt,BetweenHorizonalStart:Zt,BetweenHorizonalStartIcon:Zt,BetweenHorizontalEnd:Gt,BetweenHorizontalEndIcon:Gt,BetweenHorizontalStart:Zt,BetweenHorizontalStartIcon:Zt,BetweenVerticalEnd:As,BetweenVerticalEndIcon:As,BetweenVerticalStart:qs,BetweenVerticalStartIcon:qs,BicepsFlexed:zs,BicepsFlexedIcon:zs,Bike:Ps,BikeIcon:Ps,Binary:Vs,BinaryIcon:Vs,Binoculars:Ts,BinocularsIcon:Ts,Biohazard:Hs,BiohazardIcon:Hs,Bird:Ds,BirdIcon:Ds,Bitcoin:Bs,BitcoinIcon:Bs,Blend:Rs,BlendIcon:Rs,Blinds:Fs,BlindsIcon:Fs,Blocks:Es,BlocksIcon:Es,Bluetooth:Gs,BluetoothConnected:Os,BluetoothConnectedIcon:Os,BluetoothIcon:Gs,BluetoothOff:Us,BluetoothOffIcon:Us,BluetoothSearching:Ws,BluetoothSearchingIcon:Ws,Bold:Zs,BoldIcon:Zs,Bolt:Ks,BoltIcon:Ks,Bomb:Xs,BombIcon:Xs,Bone:Ys,BoneIcon:Ys,Book:_2,BookA:Js,BookAIcon:Js,BookAlert:Qs,BookAlertIcon:Qs,BookAudio:e2,BookAudioIcon:e2,BookCheck:t2,BookCheckIcon:t2,BookCopy:a2,BookCopyIcon:a2,BookDashed:Kt,BookDashedIcon:Kt,BookDown:n2,BookDownIcon:n2,BookHeadphones:o2,BookHeadphonesIcon:o2,BookHeart:c2,BookHeartIcon:c2,BookIcon:_2,BookImage:i2,BookImageIcon:i2,BookKey:r2,BookKeyIcon:r2,BookLock:s2,BookLockIcon:s2,BookMarked:l2,BookMarkedIcon:l2,BookMinus:d2,BookMinusIcon:d2,BookOpen:p2,BookOpenCheck:h2,BookOpenCheckIcon:h2,BookOpenIcon:p2,BookOpenText:u2,BookOpenTextIcon:u2,BookPlus:y2,BookPlusIcon:y2,BookTemplate:Kt,BookTemplateIcon:Kt,BookText:k2,BookTextIcon:k2,BookType:m2,BookTypeIcon:m2,BookUp:g2,BookUp2:f2,BookUp2Icon:f2,BookUpIcon:g2,BookUser:v2,BookUserIcon:v2,BookX:M2,BookXIcon:M2,Bookmark:w2,BookmarkCheck:x2,BookmarkCheckIcon:x2,BookmarkIcon:w2,BookmarkMinus:L2,BookmarkMinusIcon:L2,BookmarkPlus:I2,BookmarkPlusIcon:I2,BookmarkX:b2,BookmarkXIcon:b2,BoomBox:C2,BoomBoxIcon:C2,Bot:j2,BotIcon:j2,BotMessageSquare:N2,BotMessageSquareIcon:N2,BotOff:S2,BotOffIcon:S2,BottleWine:$2,BottleWineIcon:$2,BowArrow:q2,BowArrowIcon:q2,Box:A2,BoxIcon:A2,BoxSelect:Co,BoxSelectIcon:Co,Boxes:z2,BoxesIcon:z2,Braces:Xt,BracesIcon:Xt,Brackets:V2,BracketsIcon:V2,Brain:H2,BrainCircuit:P2,BrainCircuitIcon:P2,BrainCog:T2,BrainCogIcon:T2,BrainIcon:H2,BrickWall:R2,BrickWallFire:D2,BrickWallFireIcon:D2,BrickWallIcon:R2,BrickWallShield:B2,BrickWallShieldIcon:B2,Briefcase:U2,BriefcaseBusiness:F2,BriefcaseBusinessIcon:F2,BriefcaseConveyorBelt:E2,BriefcaseConveyorBeltIcon:E2,BriefcaseIcon:U2,BriefcaseMedical:O2,BriefcaseMedicalIcon:O2,BringToFront:W2,BringToFrontIcon:W2,Brush:Z2,BrushCleaning:G2,BrushCleaningIcon:G2,BrushIcon:Z2,Bubbles:K2,BubblesIcon:K2,Bug:Q2,BugIcon:Q2,BugOff:X2,BugOffIcon:X2,BugPlay:Y2,BugPlayIcon:Y2,Building:ed,Building2:J2,Building2Icon:J2,BuildingIcon:ed,Bus:ad,BusFront:td,BusFrontIcon:td,BusIcon:ad,Cable:od,CableCar:nd,CableCarIcon:nd,CableIcon:od,Cake:id,CakeIcon:id,CakeSlice:cd,CakeSliceIcon:cd,Calculator:rd,CalculatorIcon:rd,Calendar:l1,Calendar1:sd,Calendar1Icon:sd,CalendarArrowDown:dd,CalendarArrowDownIcon:dd,CalendarArrowUp:ld,CalendarArrowUpIcon:ld,CalendarCheck:ud,CalendarCheck2:hd,CalendarCheck2Icon:hd,CalendarCheckIcon:ud,CalendarClock:pd,CalendarClockIcon:pd,CalendarCog:yd,CalendarCogIcon:yd,CalendarDays:kd,CalendarDaysIcon:kd,CalendarFold:md,CalendarFoldIcon:md,CalendarHeart:fd,CalendarHeartIcon:fd,CalendarIcon:l1,CalendarMinus:vd,CalendarMinus2:gd,CalendarMinus2Icon:gd,CalendarMinusIcon:vd,CalendarOff:Md,CalendarOffIcon:Md,CalendarPlus:xd,CalendarPlus2:_d,CalendarPlus2Icon:_d,CalendarPlusIcon:xd,CalendarRange:Ld,CalendarRangeIcon:Ld,CalendarSearch:Id,CalendarSearchIcon:Id,CalendarSync:bd,CalendarSyncIcon:bd,CalendarX:Cd,CalendarX2:wd,CalendarX2Icon:wd,CalendarXIcon:Cd,Camera:Sd,CameraIcon:Sd,CameraOff:Nd,CameraOffIcon:Nd,CandlestickChart:ta,CandlestickChartIcon:ta,Candy:qd,CandyCane:jd,CandyCaneIcon:jd,CandyIcon:qd,CandyOff:$d,CandyOffIcon:$d,Cannabis:Ad,CannabisIcon:Ad,Captions:Yt,CaptionsIcon:Yt,CaptionsOff:zd,CaptionsOffIcon:zd,Car:Td,CarFront:Vd,CarFrontIcon:Vd,CarIcon:Td,CarTaxiFront:Pd,CarTaxiFrontIcon:Pd,Caravan:Hd,CaravanIcon:Hd,CardSim:Dd,CardSimIcon:Dd,Carrot:Bd,CarrotIcon:Bd,CaseLower:Rd,CaseLowerIcon:Rd,CaseSensitive:Fd,CaseSensitiveIcon:Fd,CaseUpper:Ed,CaseUpperIcon:Ed,CassetteTape:Od,CassetteTapeIcon:Od,Cast:Ud,CastIcon:Ud,Castle:Gd,CastleIcon:Gd,Cat:Wd,CatIcon:Wd,Cctv:Zd,CctvIcon:Zd,ChartArea:Jt,ChartAreaIcon:Jt,ChartBar:ea,ChartBarBig:Qt,ChartBarBigIcon:Qt,ChartBarDecreasing:Kd,ChartBarDecreasingIcon:Kd,ChartBarIcon:ea,ChartBarIncreasing:Xd,ChartBarIncreasingIcon:Xd,ChartBarStacked:Yd,ChartBarStackedIcon:Yd,ChartCandlestick:ta,ChartCandlestickIcon:ta,ChartColumn:oa,ChartColumnBig:aa,ChartColumnBigIcon:aa,ChartColumnDecreasing:Jd,ChartColumnDecreasingIcon:Jd,ChartColumnIcon:oa,ChartColumnIncreasing:na,ChartColumnIncreasingIcon:na,ChartColumnStacked:Qd,ChartColumnStackedIcon:Qd,ChartGantt:e0,ChartGanttIcon:e0,ChartLine:ca,ChartLineIcon:ca,ChartNetwork:t0,ChartNetworkIcon:t0,ChartNoAxesColumn:ra,ChartNoAxesColumnDecreasing:a0,ChartNoAxesColumnDecreasingIcon:a0,ChartNoAxesColumnIcon:ra,ChartNoAxesColumnIncreasing:ia,ChartNoAxesColumnIncreasingIcon:ia,ChartNoAxesCombined:n0,ChartNoAxesCombinedIcon:n0,ChartNoAxesGantt:sa,ChartNoAxesGanttIcon:sa,ChartPie:da,ChartPieIcon:da,ChartScatter:la,ChartScatterIcon:la,ChartSpline:o0,ChartSplineIcon:o0,Check:h1,CheckCheck:c0,CheckCheckIcon:c0,CheckCircle:Ma,CheckCircle2:_a,CheckCircle2Icon:_a,CheckCircleIcon:Ma,CheckIcon:h1,CheckLine:i0,CheckLineIcon:i0,CheckSquare:go,CheckSquare2:vo,CheckSquare2Icon:vo,CheckSquareIcon:go,ChefHat:r0,ChefHatIcon:r0,Cherry:s0,CherryIcon:s0,ChevronDown:Ct,ChevronDownCircle:xa,ChevronDownCircleIcon:xa,ChevronDownIcon:Ct,ChevronDownSquare:Mo,ChevronDownSquareIcon:Mo,ChevronFirst:d0,ChevronFirstIcon:d0,ChevronLast:l0,ChevronLastIcon:l0,ChevronLeft:h0,ChevronLeftCircle:La,ChevronLeftCircleIcon:La,ChevronLeftIcon:h0,ChevronLeftSquare:_o,ChevronLeftSquareIcon:_o,ChevronRight:u1,ChevronRightCircle:Ia,ChevronRightCircleIcon:Ia,ChevronRightIcon:u1,ChevronRightSquare:xo,ChevronRightSquareIcon:xo,ChevronUp:Lc,ChevronUpCircle:ba,ChevronUpCircleIcon:ba,ChevronUpIcon:Lc,ChevronUpSquare:Lo,ChevronUpSquareIcon:Lo,ChevronsDown:p0,ChevronsDownIcon:p0,ChevronsDownUp:u0,ChevronsDownUpIcon:u0,ChevronsLeft:k0,ChevronsLeftIcon:k0,ChevronsLeftRight:y0,ChevronsLeftRightEllipsis:m0,ChevronsLeftRightEllipsisIcon:m0,ChevronsLeftRightIcon:y0,ChevronsRight:g0,ChevronsRightIcon:g0,ChevronsRightLeft:f0,ChevronsRightLeftIcon:f0,ChevronsUp:v0,ChevronsUpDown:Bc,ChevronsUpDownIcon:Bc,ChevronsUpIcon:v0,Chrome:M0,ChromeIcon:M0,Church:_0,ChurchIcon:_0,Cigarette:L0,CigaretteIcon:L0,CigaretteOff:x0,CigaretteOffIcon:x0,Circle:T0,CircleAlert:ha,CircleAlertIcon:ha,CircleArrowDown:ua,CircleArrowDownIcon:ua,CircleArrowLeft:pa,CircleArrowLeftIcon:pa,CircleArrowOutDownLeft:ya,CircleArrowOutDownLeftIcon:ya,CircleArrowOutDownRight:ka,CircleArrowOutDownRightIcon:ka,CircleArrowOutUpLeft:ma,CircleArrowOutUpLeftIcon:ma,CircleArrowOutUpRight:fa,CircleArrowOutUpRightIcon:fa,CircleArrowRight:ga,CircleArrowRightIcon:ga,CircleArrowUp:va,CircleArrowUpIcon:va,CircleCheck:_a,CircleCheckBig:Ma,CircleCheckBigIcon:Ma,CircleCheckIcon:_a,CircleChevronDown:xa,CircleChevronDownIcon:xa,CircleChevronLeft:La,CircleChevronLeftIcon:La,CircleChevronRight:Ia,CircleChevronRightIcon:Ia,CircleChevronUp:ba,CircleChevronUpIcon:ba,CircleDashed:I0,CircleDashedIcon:I0,CircleDivide:wa,CircleDivideIcon:wa,CircleDollarSign:w0,CircleDollarSignIcon:w0,CircleDot:C0,CircleDotDashed:b0,CircleDotDashedIcon:b0,CircleDotIcon:C0,CircleEllipsis:N0,CircleEllipsisIcon:N0,CircleEqual:S0,CircleEqualIcon:S0,CircleFadingArrowUp:$0,CircleFadingArrowUpIcon:$0,CircleFadingPlus:j0,CircleFadingPlusIcon:j0,CircleGauge:Ca,CircleGaugeIcon:Ca,CircleHelp:et,CircleHelpIcon:et,CircleIcon:T0,CircleMinus:Na,CircleMinusIcon:Na,CircleOff:q0,CircleOffIcon:q0,CircleParking:$a,CircleParkingIcon:$a,CircleParkingOff:Sa,CircleParkingOffIcon:Sa,CirclePause:ja,CirclePauseIcon:ja,CirclePercent:qa,CirclePercentIcon:qa,CirclePlay:Aa,CirclePlayIcon:Aa,CirclePlus:za,CirclePlusIcon:za,CirclePoundSterling:A0,CirclePoundSterlingIcon:A0,CirclePower:Va,CirclePowerIcon:Va,CircleQuestionMark:et,CircleQuestionMarkIcon:et,CircleSlash:z0,CircleSlash2:Pa,CircleSlash2Icon:Pa,CircleSlashIcon:z0,CircleSlashed:Pa,CircleSlashedIcon:Pa,CircleSmall:V0,CircleSmallIcon:V0,CircleStar:P0,CircleStarIcon:P0,CircleStop:Ta,CircleStopIcon:Ta,CircleUser:Da,CircleUserIcon:Da,CircleUserRound:Ha,CircleUserRoundIcon:Ha,CircleX:Mt,CircleXIcon:Mt,CircuitBoard:H0,CircuitBoardIcon:H0,Citrus:D0,CitrusIcon:D0,Clapperboard:B0,ClapperboardIcon:B0,Clipboard:X0,ClipboardCheck:R0,ClipboardCheckIcon:R0,ClipboardClock:F0,ClipboardClockIcon:F0,ClipboardCopy:E0,ClipboardCopyIcon:E0,ClipboardEdit:Ra,ClipboardEditIcon:Ra,ClipboardIcon:X0,ClipboardList:O0,ClipboardListIcon:O0,ClipboardMinus:U0,ClipboardMinusIcon:U0,ClipboardPaste:W0,ClipboardPasteIcon:W0,ClipboardPen:Ra,ClipboardPenIcon:Ra,ClipboardPenLine:Ba,ClipboardPenLineIcon:Ba,ClipboardPlus:G0,ClipboardPlusIcon:G0,ClipboardSignature:Ba,ClipboardSignatureIcon:Ba,ClipboardType:Z0,ClipboardTypeIcon:Z0,ClipboardX:K0,ClipboardXIcon:K0,Clock:yl,Clock1:J0,Clock10:Y0,Clock10Icon:Y0,Clock11:Q0,Clock11Icon:Q0,Clock12:el,Clock12Icon:el,Clock1Icon:J0,Clock2:tl,Clock2Icon:tl,Clock3:al,Clock3Icon:al,Clock4:nl,Clock4Icon:nl,Clock5:ol,Clock5Icon:ol,Clock6:cl,Clock6Icon:cl,Clock7:il,Clock7Icon:il,Clock8:rl,Clock8Icon:rl,Clock9:sl,Clock9Icon:sl,ClockAlert:dl,ClockAlertIcon:dl,ClockArrowDown:ll,ClockArrowDownIcon:ll,ClockArrowUp:hl,ClockArrowUpIcon:hl,ClockFading:ul,ClockFadingIcon:ul,ClockIcon:yl,ClockPlus:pl,ClockPlusIcon:pl,ClosedCaption:kl,ClosedCaptionIcon:kl,Cloud:$l,CloudAlert:ml,CloudAlertIcon:ml,CloudCheck:fl,CloudCheckIcon:fl,CloudCog:gl,CloudCogIcon:gl,CloudDownload:Fa,CloudDownloadIcon:Fa,CloudDrizzle:vl,CloudDrizzleIcon:vl,CloudFog:Ml,CloudFogIcon:Ml,CloudHail:_l,CloudHailIcon:_l,CloudIcon:$l,CloudLightning:xl,CloudLightningIcon:xl,CloudMoon:Il,CloudMoonIcon:Il,CloudMoonRain:Ll,CloudMoonRainIcon:Ll,CloudOff:bl,CloudOffIcon:bl,CloudRain:Cl,CloudRainIcon:Cl,CloudRainWind:wl,CloudRainWindIcon:wl,CloudSnow:Nl,CloudSnowIcon:Nl,CloudSun:jl,CloudSunIcon:jl,CloudSunRain:Sl,CloudSunRainIcon:Sl,CloudUpload:Ea,CloudUploadIcon:Ea,Cloudy:ql,CloudyIcon:ql,Clover:Al,CloverIcon:Al,Club:zl,ClubIcon:zl,Code:Vl,Code2:Oa,Code2Icon:Oa,CodeIcon:Vl,CodeSquare:Io,CodeSquareIcon:Io,CodeXml:Oa,CodeXmlIcon:Oa,Codepen:Pl,CodepenIcon:Pl,Codesandbox:Tl,CodesandboxIcon:Tl,Coffee:Hl,CoffeeIcon:Hl,Cog:Dl,CogIcon:Dl,Coins:Bl,CoinsIcon:Bl,Columns:Ua,Columns2:Ua,Columns2Icon:Ua,Columns3:Wa,Columns3Cog:tt,Columns3CogIcon:tt,Columns3Icon:Wa,Columns4:Rl,Columns4Icon:Rl,ColumnsIcon:Ua,ColumnsSettings:tt,ColumnsSettingsIcon:tt,Combine:Fl,CombineIcon:Fl,Command:El,CommandIcon:El,Compass:Ol,CompassIcon:Ol,Component:Ul,ComponentIcon:Ul,Computer:Wl,ComputerIcon:Wl,ConciergeBell:Gl,ConciergeBellIcon:Gl,Cone:Zl,ConeIcon:Zl,Construction:Kl,ConstructionIcon:Kl,Contact:Xl,Contact2:Ga,Contact2Icon:Ga,ContactIcon:Xl,ContactRound:Ga,ContactRoundIcon:Ga,Container:Yl,ContainerIcon:Yl,Contrast:Ql,ContrastIcon:Ql,Cookie:Jl,CookieIcon:Jl,CookingPot:th,CookingPotIcon:th,Copy:ih,CopyCheck:eh,CopyCheckIcon:eh,CopyIcon:ih,CopyMinus:ah,CopyMinusIcon:ah,CopyPlus:nh,CopyPlusIcon:nh,CopySlash:oh,CopySlashIcon:oh,CopyX:ch,CopyXIcon:ch,Copyleft:rh,CopyleftIcon:rh,Copyright:sh,CopyrightIcon:sh,CornerDownLeft:dh,CornerDownLeftIcon:dh,CornerDownRight:lh,CornerDownRightIcon:lh,CornerLeftDown:hh,CornerLeftDownIcon:hh,CornerLeftUp:uh,CornerLeftUpIcon:uh,CornerRightDown:ph,CornerRightDownIcon:ph,CornerRightUp:yh,CornerRightUpIcon:yh,CornerUpLeft:kh,CornerUpLeftIcon:kh,CornerUpRight:mh,CornerUpRightIcon:mh,Cpu:fh,CpuIcon:fh,CreativeCommons:gh,CreativeCommonsIcon:gh,CreditCard:vh,CreditCardIcon:vh,Croissant:Mh,CroissantIcon:Mh,Crop:_h,CropIcon:_h,Cross:xh,CrossIcon:xh,Crosshair:Lh,CrosshairIcon:Lh,Crown:Ih,CrownIcon:Ih,Cuboid:bh,CuboidIcon:bh,CupSoda:wh,CupSodaIcon:wh,CurlyBraces:Xt,CurlyBracesIcon:Xt,Currency:Ch,CurrencyIcon:Ch,Cylinder:Nh,CylinderIcon:Nh,Dam:Sh,DamIcon:Sh,Database:qh,DatabaseBackup:jh,DatabaseBackupIcon:jh,DatabaseIcon:qh,DatabaseZap:$h,DatabaseZapIcon:$h,DecimalsArrowLeft:Ah,DecimalsArrowLeftIcon:Ah,DecimalsArrowRight:zh,DecimalsArrowRightIcon:zh,Delete:Vh,DeleteIcon:Vh,Dessert:Ph,DessertIcon:Ph,Diameter:Th,DiameterIcon:Th,Diamond:Bh,DiamondIcon:Bh,DiamondMinus:Hh,DiamondMinusIcon:Hh,DiamondPercent:Za,DiamondPercentIcon:Za,DiamondPlus:Dh,DiamondPlusIcon:Dh,Dice1:Rh,Dice1Icon:Rh,Dice2:Fh,Dice2Icon:Fh,Dice3:Eh,Dice3Icon:Eh,Dice4:Oh,Dice4Icon:Oh,Dice5:Uh,Dice5Icon:Uh,Dice6:Wh,Dice6Icon:Wh,Dices:Gh,DicesIcon:Gh,Diff:Zh,DiffIcon:Zh,Disc:Jh,Disc2:Kh,Disc2Icon:Kh,Disc3:Xh,Disc3Icon:Xh,DiscAlbum:Yh,DiscAlbumIcon:Yh,DiscIcon:Jh,Divide:Qh,DivideCircle:wa,DivideCircleIcon:wa,DivideIcon:Qh,DivideSquare:No,DivideSquareIcon:No,Dna:tu,DnaIcon:tu,DnaOff:eu,DnaOffIcon:eu,Dock:au,DockIcon:au,Dog:nu,DogIcon:nu,DollarSign:ou,DollarSignIcon:ou,Donut:cu,DonutIcon:cu,DoorClosed:ru,DoorClosedIcon:ru,DoorClosedLocked:iu,DoorClosedLockedIcon:iu,DoorOpen:su,DoorOpenIcon:su,Dot:du,DotIcon:du,DotSquare:jo,DotSquareIcon:jo,Download:hu,DownloadCloud:Fa,DownloadCloudIcon:Fa,DownloadIcon:hu,DraftingCompass:lu,DraftingCompassIcon:lu,Drama:uu,DramaIcon:uu,Dribbble:pu,DribbbleIcon:pu,Drill:yu,DrillIcon:yu,Drone:ku,DroneIcon:ku,Droplet:fu,DropletIcon:fu,DropletOff:mu,DropletOffIcon:mu,Droplets:gu,DropletsIcon:gu,Drum:vu,DrumIcon:vu,Drumstick:Mu,DrumstickIcon:Mu,Dumbbell:_u,DumbbellIcon:_u,Ear:Lu,EarIcon:Lu,EarOff:xu,EarOffIcon:xu,Earth:Ka,EarthIcon:Ka,EarthLock:Iu,EarthLockIcon:Iu,Eclipse:bu,EclipseIcon:bu,Edit:Ve,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Ve,Egg:Nu,EggFried:wu,EggFriedIcon:wu,EggIcon:Nu,EggOff:Cu,EggOffIcon:Cu,Ellipsis:Ya,EllipsisIcon:Ya,EllipsisVertical:Xa,EllipsisVerticalIcon:Xa,Equal:$u,EqualApproximately:Su,EqualApproximatelyIcon:Su,EqualIcon:$u,EqualNot:ju,EqualNotIcon:ju,EqualSquare:So,EqualSquareIcon:So,Eraser:qu,EraserIcon:qu,EthernetPort:Au,EthernetPortIcon:Au,Euro:zu,EuroIcon:zu,Expand:Pu,ExpandIcon:Pu,ExternalLink:Vu,ExternalLinkIcon:Vu,Eye:y1,EyeClosed:Tu,EyeClosedIcon:Tu,EyeIcon:y1,EyeOff:p1,EyeOffIcon:p1,Facebook:Hu,FacebookIcon:Hu,Factory:Du,FactoryIcon:Du,Fan:Bu,FanIcon:Bu,FastForward:Ru,FastForwardIcon:Ru,Feather:Fu,FeatherIcon:Fu,Fence:Eu,FenceIcon:Eu,FerrisWheel:Ou,FerrisWheelIcon:Ou,Figma:Uu,FigmaIcon:Uu,File:Dp,FileArchive:Wu,FileArchiveIcon:Wu,FileAudio:Zu,FileAudio2:Gu,FileAudio2Icon:Gu,FileAudioIcon:Zu,FileAxis3D:Ja,FileAxis3DIcon:Ja,FileAxis3d:Ja,FileAxis3dIcon:Ja,FileBadge:Yu,FileBadge2:Ku,FileBadge2Icon:Ku,FileBadgeIcon:Yu,FileBarChart:Qa,FileBarChart2:en,FileBarChart2Icon:en,FileBarChartIcon:Qa,FileBox:Xu,FileBoxIcon:Xu,FileChartColumn:en,FileChartColumnIcon:en,FileChartColumnIncreasing:Qa,FileChartColumnIncreasingIcon:Qa,FileChartLine:tn,FileChartLineIcon:tn,FileChartPie:an,FileChartPieIcon:an,FileCheck:Qu,FileCheck2:Ju,FileCheck2Icon:Ju,FileCheckIcon:Qu,FileClock:ep,FileClockIcon:ep,FileCode:tp,FileCode2:ap,FileCode2Icon:ap,FileCodeIcon:tp,FileCog:nn,FileCog2:nn,FileCog2Icon:nn,FileCogIcon:nn,FileDiff:np,FileDiffIcon:np,FileDigit:op,FileDigitIcon:op,FileDown:cp,FileDownIcon:cp,FileEdit:cn,FileEditIcon:cn,FileHeart:ip,FileHeartIcon:ip,FileIcon:Dp,FileImage:rp,FileImageIcon:rp,FileInput:sp,FileInputIcon:sp,FileJson:lp,FileJson2:dp,FileJson2Icon:dp,FileJsonIcon:lp,FileKey:up,FileKey2:hp,FileKey2Icon:hp,FileKeyIcon:up,FileLineChart:tn,FileLineChartIcon:tn,FileLock:yp,FileLock2:pp,FileLock2Icon:pp,FileLockIcon:yp,FileMinus:mp,FileMinus2:kp,FileMinus2Icon:kp,FileMinusIcon:mp,FileMusic:fp,FileMusicIcon:fp,FileOutput:gp,FileOutputIcon:gp,FilePen:cn,FilePenIcon:cn,FilePenLine:on,FilePenLineIcon:on,FilePieChart:an,FilePieChartIcon:an,FilePlay:rn,FilePlayIcon:rn,FilePlus:Mp,FilePlus2:vp,FilePlus2Icon:vp,FilePlusIcon:Mp,FileQuestion:sn,FileQuestionIcon:sn,FileQuestionMark:sn,FileQuestionMarkIcon:sn,FileScan:_p,FileScanIcon:_p,FileSearch:Lp,FileSearch2:xp,FileSearch2Icon:xp,FileSearchIcon:Lp,FileSignature:on,FileSignatureIcon:on,FileSliders:Ip,FileSlidersIcon:Ip,FileSpreadsheet:bp,FileSpreadsheetIcon:bp,FileStack:wp,FileStackIcon:wp,FileSymlink:Cp,FileSymlinkIcon:Cp,FileTerminal:Np,FileTerminalIcon:Np,FileText:Sp,FileTextIcon:Sp,FileType:$p,FileType2:jp,FileType2Icon:jp,FileTypeIcon:$p,FileUp:qp,FileUpIcon:qp,FileUser:Ap,FileUserIcon:Ap,FileVideo:rn,FileVideo2:dn,FileVideo2Icon:dn,FileVideoCamera:dn,FileVideoCameraIcon:dn,FileVideoIcon:rn,FileVolume:Vp,FileVolume2:zp,FileVolume2Icon:zp,FileVolumeIcon:Vp,FileWarning:Pp,FileWarningIcon:Pp,FileX:Hp,FileX2:Tp,FileX2Icon:Tp,FileXIcon:Hp,Files:Bp,FilesIcon:Bp,Film:Rp,FilmIcon:Rp,Filter:_t,FilterIcon:_t,FilterX:un,FilterXIcon:un,Fingerprint:Fp,FingerprintIcon:Fp,FireExtinguisher:Ep,FireExtinguisherIcon:Ep,Fish:Up,FishIcon:Up,FishOff:Op,FishOffIcon:Op,FishSymbol:Wp,FishSymbolIcon:Wp,Flag:Xp,FlagIcon:Xp,FlagOff:Gp,FlagOffIcon:Gp,FlagTriangleLeft:Zp,FlagTriangleLeftIcon:Zp,FlagTriangleRight:Kp,FlagTriangleRightIcon:Kp,Flame:Jp,FlameIcon:Jp,FlameKindling:Yp,FlameKindlingIcon:Yp,Flashlight:ey,FlashlightIcon:ey,FlashlightOff:Qp,FlashlightOffIcon:Qp,FlaskConical:ay,FlaskConicalIcon:ay,FlaskConicalOff:ty,FlaskConicalOffIcon:ty,FlaskRound:ny,FlaskRoundIcon:ny,FlipHorizontal:cy,FlipHorizontal2:oy,FlipHorizontal2Icon:oy,FlipHorizontalIcon:cy,FlipVertical:ry,FlipVertical2:iy,FlipVertical2Icon:iy,FlipVerticalIcon:ry,Flower:dy,Flower2:sy,Flower2Icon:sy,FlowerIcon:dy,Focus:ly,FocusIcon:ly,FoldHorizontal:hy,FoldHorizontalIcon:hy,FoldVertical:uy,FoldVerticalIcon:uy,Folder:k1,FolderArchive:py,FolderArchiveIcon:py,FolderCheck:yy,FolderCheckIcon:yy,FolderClock:ky,FolderClockIcon:ky,FolderClosed:my,FolderClosedIcon:my,FolderCode:fy,FolderCodeIcon:fy,FolderCog:ln,FolderCog2:ln,FolderCog2Icon:ln,FolderCogIcon:ln,FolderDot:gy,FolderDotIcon:gy,FolderDown:vy,FolderDownIcon:vy,FolderEdit:hn,FolderEditIcon:hn,FolderGit:_y,FolderGit2:My,FolderGit2Icon:My,FolderGitIcon:_y,FolderHeart:xy,FolderHeartIcon:xy,FolderIcon:k1,FolderInput:Ly,FolderInputIcon:Ly,FolderKanban:Iy,FolderKanbanIcon:Iy,FolderKey:by,FolderKeyIcon:by,FolderLock:wy,FolderLockIcon:wy,FolderMinus:Cy,FolderMinusIcon:Cy,FolderOpen:Sy,FolderOpenDot:Ny,FolderOpenDotIcon:Ny,FolderOpenIcon:Sy,FolderOutput:jy,FolderOutputIcon:jy,FolderPen:hn,FolderPenIcon:hn,FolderPlus:Rc,FolderPlusIcon:Rc,FolderRoot:$y,FolderRootIcon:$y,FolderSearch:Ay,FolderSearch2:qy,FolderSearch2Icon:qy,FolderSearchIcon:Ay,FolderSymlink:zy,FolderSymlinkIcon:zy,FolderSync:Vy,FolderSyncIcon:Vy,FolderTree:Py,FolderTreeIcon:Py,FolderUp:Ty,FolderUpIcon:Ty,FolderX:Hy,FolderXIcon:Hy,Folders:Dy,FoldersIcon:Dy,Footprints:By,FootprintsIcon:By,ForkKnife:mc,ForkKnifeCrossed:kc,ForkKnifeCrossedIcon:kc,ForkKnifeIcon:mc,Forklift:Ry,ForkliftIcon:Ry,FormInput:Gn,FormInputIcon:Gn,Forward:Fy,ForwardIcon:Fy,Frame:Ey,FrameIcon:Ey,Framer:Oy,FramerIcon:Oy,Frown:Uy,FrownIcon:Uy,Fuel:Wy,FuelIcon:Wy,Fullscreen:Gy,FullscreenIcon:Gy,FunctionSquare:$o,FunctionSquareIcon:$o,Funnel:_t,FunnelIcon:_t,FunnelPlus:Zy,FunnelPlusIcon:Zy,FunnelX:un,FunnelXIcon:un,GalleryHorizontal:Xy,GalleryHorizontalEnd:Ky,GalleryHorizontalEndIcon:Ky,GalleryHorizontalIcon:Xy,GalleryThumbnails:Yy,GalleryThumbnailsIcon:Yy,GalleryVertical:Qy,GalleryVerticalEnd:Jy,GalleryVerticalEndIcon:Jy,GalleryVerticalIcon:Qy,Gamepad:t4,Gamepad2:e4,Gamepad2Icon:e4,GamepadIcon:t4,GanttChart:sa,GanttChartIcon:sa,GanttChartSquare:nt,GanttChartSquareIcon:nt,Gauge:a4,GaugeCircle:Ca,GaugeCircleIcon:Ca,GaugeIcon:a4,Gavel:n4,GavelIcon:n4,Gem:o4,GemIcon:o4,GeorgianLari:c4,GeorgianLariIcon:c4,Ghost:i4,GhostIcon:i4,Gift:r4,GiftIcon:r4,GitBranch:d4,GitBranchIcon:d4,GitBranchPlus:s4,GitBranchPlusIcon:s4,GitCommit:pn,GitCommitHorizontal:pn,GitCommitHorizontalIcon:pn,GitCommitIcon:pn,GitCommitVertical:l4,GitCommitVerticalIcon:l4,GitCompare:u4,GitCompareArrows:h4,GitCompareArrowsIcon:h4,GitCompareIcon:u4,GitFork:p4,GitForkIcon:p4,GitGraph:y4,GitGraphIcon:y4,GitMerge:k4,GitMergeIcon:k4,GitPullRequest:_4,GitPullRequestArrow:m4,GitPullRequestArrowIcon:m4,GitPullRequestClosed:f4,GitPullRequestClosedIcon:f4,GitPullRequestCreate:v4,GitPullRequestCreateArrow:g4,GitPullRequestCreateArrowIcon:g4,GitPullRequestCreateIcon:v4,GitPullRequestDraft:M4,GitPullRequestDraftIcon:M4,GitPullRequestIcon:_4,Github:x4,GithubIcon:x4,Gitlab:L4,GitlabIcon:L4,GlassWater:I4,GlassWaterIcon:I4,Glasses:b4,GlassesIcon:b4,Globe:C4,Globe2:Ka,Globe2Icon:Ka,GlobeIcon:C4,GlobeLock:w4,GlobeLockIcon:w4,Goal:N4,GoalIcon:N4,Gpu:S4,GpuIcon:S4,Grab:gn,GrabIcon:gn,GraduationCap:j4,GraduationCapIcon:j4,Grape:$4,GrapeIcon:$4,Grid:at,Grid2X2:fn,Grid2X2Check:yn,Grid2X2CheckIcon:yn,Grid2X2Icon:fn,Grid2X2Plus:kn,Grid2X2PlusIcon:kn,Grid2X2X:mn,Grid2X2XIcon:mn,Grid2x2:fn,Grid2x2Check:yn,Grid2x2CheckIcon:yn,Grid2x2Icon:fn,Grid2x2Plus:kn,Grid2x2PlusIcon:kn,Grid2x2X:mn,Grid2x2XIcon:mn,Grid3X3:at,Grid3X3Icon:at,Grid3x2:q4,Grid3x2Icon:q4,Grid3x3:at,Grid3x3Icon:at,GridIcon:at,Grip:z4,GripHorizontal:A4,GripHorizontalIcon:A4,GripIcon:z4,GripVertical:m1,GripVerticalIcon:m1,Group:V4,GroupIcon:V4,Guitar:P4,GuitarIcon:P4,Ham:T4,HamIcon:T4,Hamburger:H4,HamburgerIcon:H4,Hammer:D4,HammerIcon:D4,Hand:U4,HandCoins:B4,HandCoinsIcon:B4,HandFist:R4,HandFistIcon:R4,HandGrab:gn,HandGrabIcon:gn,HandHeart:F4,HandHeartIcon:F4,HandHelping:vn,HandHelpingIcon:vn,HandIcon:U4,HandMetal:E4,HandMetalIcon:E4,HandPlatter:O4,HandPlatterIcon:O4,Handbag:W4,HandbagIcon:W4,Handshake:G4,HandshakeIcon:G4,HardDrive:X4,HardDriveDownload:Z4,HardDriveDownloadIcon:Z4,HardDriveIcon:X4,HardDriveUpload:K4,HardDriveUploadIcon:K4,HardHat:Y4,HardHatIcon:Y4,Hash:J4,HashIcon:J4,HatGlasses:Q4,HatGlassesIcon:Q4,Haze:e5,HazeIcon:e5,HdmiPort:t5,HdmiPortIcon:t5,Heading:s5,Heading1:a5,Heading1Icon:a5,Heading2:n5,Heading2Icon:n5,Heading3:o5,Heading3Icon:o5,Heading4:c5,Heading4Icon:c5,Heading5:i5,Heading5Icon:i5,Heading6:r5,Heading6Icon:r5,HeadingIcon:s5,HeadphoneOff:d5,HeadphoneOffIcon:d5,Headphones:l5,HeadphonesIcon:l5,Headset:h5,HeadsetIcon:h5,Heart:g5,HeartCrack:u5,HeartCrackIcon:u5,HeartHandshake:p5,HeartHandshakeIcon:p5,HeartIcon:g5,HeartMinus:y5,HeartMinusIcon:y5,HeartOff:k5,HeartOffIcon:k5,HeartPlus:m5,HeartPlusIcon:m5,HeartPulse:f5,HeartPulseIcon:f5,Heater:v5,HeaterIcon:v5,HelpCircle:et,HelpCircleIcon:et,HelpingHand:vn,HelpingHandIcon:vn,Hexagon:M5,HexagonIcon:M5,Highlighter:_5,HighlighterIcon:_5,History:x5,HistoryIcon:x5,Home:xt,HomeIcon:xt,Hop:I5,HopIcon:I5,HopOff:L5,HopOffIcon:L5,Hospital:f1,HospitalIcon:f1,Hotel:b5,HotelIcon:b5,Hourglass:w5,HourglassIcon:w5,House:xt,HouseIcon:xt,HousePlug:C5,HousePlugIcon:C5,HousePlus:S5,HousePlusIcon:S5,HouseWifi:N5,HouseWifiIcon:N5,IceCream:_n,IceCream2:Mn,IceCream2Icon:Mn,IceCreamBowl:Mn,IceCreamBowlIcon:Mn,IceCreamCone:_n,IceCreamConeIcon:_n,IceCreamIcon:_n,Icon:a.Icon,IdCard:$5,IdCardIcon:$5,IdCardLanyard:j5,IdCardLanyardIcon:j5,Image:D5,ImageDown:q5,ImageDownIcon:q5,ImageIcon:D5,ImageMinus:A5,ImageMinusIcon:A5,ImageOff:z5,ImageOffIcon:z5,ImagePlay:V5,ImagePlayIcon:V5,ImagePlus:P5,ImagePlusIcon:P5,ImageUp:T5,ImageUpIcon:T5,ImageUpscale:H5,ImageUpscaleIcon:H5,Images:B5,ImagesIcon:B5,Import:R5,ImportIcon:R5,Inbox:F5,InboxIcon:F5,Indent:Ln,IndentDecrease:xn,IndentDecreaseIcon:xn,IndentIcon:Ln,IndentIncrease:Ln,IndentIncreaseIcon:Ln,IndianRupee:E5,IndianRupeeIcon:E5,Infinity:O5,InfinityIcon:O5,Info:U5,InfoIcon:U5,Inspect:Ho,InspectIcon:Ho,InspectionPanel:W5,InspectionPanelIcon:W5,Instagram:G5,InstagramIcon:G5,Italic:Z5,ItalicIcon:Z5,IterationCcw:K5,IterationCcwIcon:K5,IterationCw:X5,IterationCwIcon:X5,JapaneseYen:J5,JapaneseYenIcon:J5,Joystick:Y5,JoystickIcon:Y5,Kanban:Q5,KanbanIcon:Q5,KanbanSquare:qo,KanbanSquareDashed:bo,KanbanSquareDashedIcon:bo,KanbanSquareIcon:qo,Kayak:ek,KayakIcon:ek,Key:nk,KeyIcon:nk,KeyRound:tk,KeyRoundIcon:tk,KeySquare:ak,KeySquareIcon:ak,Keyboard:ik,KeyboardIcon:ik,KeyboardMusic:ok,KeyboardMusicIcon:ok,KeyboardOff:ck,KeyboardOffIcon:ck,Lamp:uk,LampCeiling:rk,LampCeilingIcon:rk,LampDesk:dk,LampDeskIcon:dk,LampFloor:sk,LampFloorIcon:sk,LampIcon:uk,LampWallDown:lk,LampWallDownIcon:lk,LampWallUp:hk,LampWallUpIcon:hk,LandPlot:pk,LandPlotIcon:pk,Landmark:yk,LandmarkIcon:yk,Languages:kk,LanguagesIcon:kk,Laptop:fk,Laptop2:In,Laptop2Icon:In,LaptopIcon:fk,LaptopMinimal:In,LaptopMinimalCheck:mk,LaptopMinimalCheckIcon:mk,LaptopMinimalIcon:In,Lasso:vk,LassoIcon:vk,LassoSelect:gk,LassoSelectIcon:gk,Laugh:Mk,LaughIcon:Mk,Layers:bn,Layers2:_k,Layers2Icon:_k,Layers3:bn,Layers3Icon:bn,LayersIcon:bn,Layout:Un,LayoutDashboard:xk,LayoutDashboardIcon:xk,LayoutGrid:Lk,LayoutGridIcon:Lk,LayoutIcon:Un,LayoutList:Ik,LayoutListIcon:Ik,LayoutPanelLeft:bk,LayoutPanelLeftIcon:bk,LayoutPanelTop:wk,LayoutPanelTopIcon:wk,LayoutTemplate:Ck,LayoutTemplateIcon:Ck,Leaf:Nk,LeafIcon:Nk,LeafyGreen:jk,LeafyGreenIcon:jk,Lectern:Sk,LecternIcon:Sk,LetterText:$k,LetterTextIcon:$k,Library:Ak,LibraryBig:qk,LibraryBigIcon:qk,LibraryIcon:Ak,LibrarySquare:Ao,LibrarySquareIcon:Ao,LifeBuoy:zk,LifeBuoyIcon:zk,Ligature:Vk,LigatureIcon:Vk,Lightbulb:Tk,LightbulbIcon:Tk,LightbulbOff:Pk,LightbulbOffIcon:Pk,LineChart:ca,LineChartIcon:ca,LineSquiggle:Hk,LineSquiggleIcon:Hk,Link:Rk,Link2:Dk,Link2Icon:Dk,Link2Off:Bk,Link2OffIcon:Bk,LinkIcon:Rk,Linkedin:Fk,LinkedinIcon:Fk,List:c3,ListCheck:Ek,ListCheckIcon:Ek,ListChecks:Ok,ListChecksIcon:Ok,ListCollapse:Uk,ListCollapseIcon:Uk,ListEnd:Wk,ListEndIcon:Wk,ListFilter:Kk,ListFilterIcon:Kk,ListFilterPlus:Gk,ListFilterPlusIcon:Gk,ListIcon:c3,ListMinus:Zk,ListMinusIcon:Zk,ListMusic:Xk,ListMusicIcon:Xk,ListOrdered:Yk,ListOrderedIcon:Yk,ListPlus:Jk,ListPlusIcon:Jk,ListRestart:Qk,ListRestartIcon:Qk,ListStart:e3,ListStartIcon:e3,ListTodo:t3,ListTodoIcon:t3,ListTree:a3,ListTreeIcon:a3,ListVideo:n3,ListVideoIcon:n3,ListX:o3,ListXIcon:o3,Loader:r3,Loader2:wn,Loader2Icon:wn,LoaderCircle:wn,LoaderCircleIcon:wn,LoaderIcon:r3,LoaderPinwheel:i3,LoaderPinwheelIcon:i3,Locate:l3,LocateFixed:s3,LocateFixedIcon:s3,LocateIcon:l3,LocateOff:d3,LocateOffIcon:d3,LocationEdit:jn,LocationEditIcon:jn,Lock:u3,LockIcon:u3,LockKeyhole:h3,LockKeyholeIcon:h3,LockKeyholeOpen:Cn,LockKeyholeOpenIcon:Cn,LockOpen:Nn,LockOpenIcon:Nn,LogIn:p3,LogInIcon:p3,LogOut:y3,LogOutIcon:y3,Logs:k3,LogsIcon:k3,Lollipop:m3,LollipopIcon:m3,LucideAArrowDown:U1,LucideAArrowUp:W1,LucideALargeSmall:G1,LucideAccessibility:s1,LucideActivity:d1,LucideActivitySquare:Lt,LucideAirVent:Z1,LucideAirplay:K1,LucideAlarmCheck:Vt,LucideAlarmClock:Y1,LucideAlarmClockCheck:Vt,LucideAlarmClockMinus:Pt,LucideAlarmClockOff:X1,LucideAlarmClockPlus:Tt,LucideAlarmMinus:Pt,LucideAlarmPlus:Tt,LucideAlarmSmoke:J1,LucideAlbum:Q1,LucideAlertCircle:ha,LucideAlertOctagon:zn,LucideAlertTriangle:cc,LucideAlignCenter:ci,LucideAlignCenterHorizontal:ei,LucideAlignCenterVertical:ti,LucideAlignEndHorizontal:ai,LucideAlignEndVertical:ni,LucideAlignHorizontalDistributeCenter:oi,LucideAlignHorizontalDistributeEnd:ii,LucideAlignHorizontalDistributeStart:ri,LucideAlignHorizontalJustifyCenter:si,LucideAlignHorizontalJustifyEnd:di,LucideAlignHorizontalJustifyStart:li,LucideAlignHorizontalSpaceAround:hi,LucideAlignHorizontalSpaceBetween:pi,LucideAlignJustify:ui,LucideAlignLeft:yi,LucideAlignRight:ki,LucideAlignStartHorizontal:mi,LucideAlignStartVertical:fi,LucideAlignVerticalDistributeCenter:vi,LucideAlignVerticalDistributeEnd:gi,LucideAlignVerticalDistributeStart:_i,LucideAlignVerticalJustifyCenter:Mi,LucideAlignVerticalJustifyEnd:xi,LucideAlignVerticalJustifyStart:Li,LucideAlignVerticalSpaceAround:bi,LucideAlignVerticalSpaceBetween:Ii,LucideAmbulance:wi,LucideAmpersand:Ci,LucideAmpersands:Ni,LucideAmphora:Si,LucideAnchor:ji,LucideAngry:$i,LucideAnnoyed:qi,LucideAntenna:Ai,LucideAnvil:zi,LucideAperture:Vi,LucideAppWindow:Ti,LucideAppWindowMac:Pi,LucideApple:Hi,LucideArchive:Ri,LucideArchiveRestore:Di,LucideArchiveX:Bi,LucideAreaChart:Jt,LucideArmchair:Fi,LucideArrowBigDown:Oi,LucideArrowBigDownDash:Ei,LucideArrowBigLeft:Wi,LucideArrowBigLeftDash:Ui,LucideArrowBigRight:Zi,LucideArrowBigRightDash:Gi,LucideArrowBigUp:Xi,LucideArrowBigUpDash:Ki,LucideArrowDown:ir,LucideArrowDown01:Yi,LucideArrowDown10:Ji,LucideArrowDownAZ:Ht,LucideArrowDownAz:Ht,LucideArrowDownCircle:ua,LucideArrowDownFromLine:Qi,LucideArrowDownLeft:er,LucideArrowDownLeftFromCircle:ya,LucideArrowDownLeftFromSquare:ro,LucideArrowDownLeftSquare:no,LucideArrowDownNarrowWide:tr,LucideArrowDownRight:ar,LucideArrowDownRightFromCircle:ka,LucideArrowDownRightFromSquare:so,LucideArrowDownRightSquare:oo,LucideArrowDownSquare:co,LucideArrowDownToDot:nr,LucideArrowDownToLine:or,LucideArrowDownUp:cr,LucideArrowDownWideNarrow:Dt,LucideArrowDownZA:Bt,LucideArrowDownZa:Bt,LucideArrowLeft:lr,LucideArrowLeftCircle:pa,LucideArrowLeftFromLine:rr,LucideArrowLeftRight:sr,LucideArrowLeftSquare:io,LucideArrowLeftToLine:dr,LucideArrowRight:yr,LucideArrowRightCircle:ga,LucideArrowRightFromLine:hr,LucideArrowRightLeft:ur,LucideArrowRightSquare:uo,LucideArrowRightToLine:pr,LucideArrowUp:Ir,LucideArrowUp01:kr,LucideArrowUp10:mr,LucideArrowUpAZ:Rt,LucideArrowUpAz:Rt,LucideArrowUpCircle:va,LucideArrowUpDown:fr,LucideArrowUpFromDot:gr,LucideArrowUpFromLine:vr,LucideArrowUpLeft:Mr,LucideArrowUpLeftFromCircle:ma,LucideArrowUpLeftFromSquare:lo,LucideArrowUpLeftSquare:po,LucideArrowUpNarrowWide:Ft,LucideArrowUpRight:_r,LucideArrowUpRightFromCircle:fa,LucideArrowUpRightFromSquare:ho,LucideArrowUpRightSquare:yo,LucideArrowUpSquare:ko,LucideArrowUpToLine:xr,LucideArrowUpWideNarrow:Lr,LucideArrowUpZA:Et,LucideArrowUpZa:Et,LucideArrowsUpFromLine:br,LucideAsterisk:wr,LucideAsteriskSquare:mo,LucideAtSign:Cr,LucideAtom:Nr,LucideAudioLines:Sr,LucideAudioWaveform:jr,LucideAward:$r,LucideAxe:qr,LucideAxis3D:Ot,LucideAxis3d:Ot,LucideBaby:Ar,LucideBackpack:zr,LucideBadge:Xr,LucideBadgeAlert:Vr,LucideBadgeCent:Pr,LucideBadgeCheck:Ut,LucideBadgeDollarSign:Tr,LucideBadgeEuro:Hr,LucideBadgeHelp:Wt,LucideBadgeIndianRupee:Dr,LucideBadgeInfo:Br,LucideBadgeJapaneseYen:Fr,LucideBadgeMinus:Rr,LucideBadgePercent:Er,LucideBadgePlus:Or,LucideBadgePoundSterling:Ur,LucideBadgeQuestionMark:Wt,LucideBadgeRussianRuble:Wr,LucideBadgeSwissFranc:Gr,LucideBadgeTurkishLira:Zr,LucideBadgeX:Kr,LucideBaggageClaim:Yr,LucideBan:Jr,LucideBanana:Qr,LucideBandage:es,LucideBanknote:os,LucideBanknoteArrowDown:ts,LucideBanknoteArrowUp:as,LucideBanknoteX:ns,LucideBarChart:ia,LucideBarChart2:ra,LucideBarChart3:oa,LucideBarChart4:na,LucideBarChartBig:aa,LucideBarChartHorizontal:ea,LucideBarChartHorizontalBig:Qt,LucideBarcode:cs,LucideBarrel:is,LucideBaseline:rs,LucideBath:ss,LucideBattery:ks,LucideBatteryCharging:ds,LucideBatteryFull:ls,LucideBatteryLow:hs,LucideBatteryMedium:us,LucideBatteryPlus:ps,LucideBatteryWarning:ys,LucideBeaker:ms,LucideBean:gs,LucideBeanOff:fs,LucideBed:_s,LucideBedDouble:vs,LucideBedSingle:Ms,LucideBeef:xs,LucideBeer:Is,LucideBeerOff:Ls,LucideBell:js,LucideBellDot:bs,LucideBellElectric:ws,LucideBellMinus:Cs,LucideBellOff:Ns,LucideBellPlus:Ss,LucideBellRing:$s,LucideBetweenHorizonalEnd:Gt,LucideBetweenHorizonalStart:Zt,LucideBetweenHorizontalEnd:Gt,LucideBetweenHorizontalStart:Zt,LucideBetweenVerticalEnd:As,LucideBetweenVerticalStart:qs,LucideBicepsFlexed:zs,LucideBike:Ps,LucideBinary:Vs,LucideBinoculars:Ts,LucideBiohazard:Hs,LucideBird:Ds,LucideBitcoin:Bs,LucideBlend:Rs,LucideBlinds:Fs,LucideBlocks:Es,LucideBluetooth:Gs,LucideBluetoothConnected:Os,LucideBluetoothOff:Us,LucideBluetoothSearching:Ws,LucideBold:Zs,LucideBolt:Ks,LucideBomb:Xs,LucideBone:Ys,LucideBook:_2,LucideBookA:Js,LucideBookAlert:Qs,LucideBookAudio:e2,LucideBookCheck:t2,LucideBookCopy:a2,LucideBookDashed:Kt,LucideBookDown:n2,LucideBookHeadphones:o2,LucideBookHeart:c2,LucideBookImage:i2,LucideBookKey:r2,LucideBookLock:s2,LucideBookMarked:l2,LucideBookMinus:d2,LucideBookOpen:p2,LucideBookOpenCheck:h2,LucideBookOpenText:u2,LucideBookPlus:y2,LucideBookTemplate:Kt,LucideBookText:k2,LucideBookType:m2,LucideBookUp:g2,LucideBookUp2:f2,LucideBookUser:v2,LucideBookX:M2,LucideBookmark:w2,LucideBookmarkCheck:x2,LucideBookmarkMinus:L2,LucideBookmarkPlus:I2,LucideBookmarkX:b2,LucideBoomBox:C2,LucideBot:j2,LucideBotMessageSquare:N2,LucideBotOff:S2,LucideBottleWine:$2,LucideBowArrow:q2,LucideBox:A2,LucideBoxSelect:Co,LucideBoxes:z2,LucideBraces:Xt,LucideBrackets:V2,LucideBrain:H2,LucideBrainCircuit:P2,LucideBrainCog:T2,LucideBrickWall:R2,LucideBrickWallFire:D2,LucideBrickWallShield:B2,LucideBriefcase:U2,LucideBriefcaseBusiness:F2,LucideBriefcaseConveyorBelt:E2,LucideBriefcaseMedical:O2,LucideBringToFront:W2,LucideBrush:Z2,LucideBrushCleaning:G2,LucideBubbles:K2,LucideBug:Q2,LucideBugOff:X2,LucideBugPlay:Y2,LucideBuilding:ed,LucideBuilding2:J2,LucideBus:ad,LucideBusFront:td,LucideCable:od,LucideCableCar:nd,LucideCake:id,LucideCakeSlice:cd,LucideCalculator:rd,LucideCalendar:l1,LucideCalendar1:sd,LucideCalendarArrowDown:dd,LucideCalendarArrowUp:ld,LucideCalendarCheck:ud,LucideCalendarCheck2:hd,LucideCalendarClock:pd,LucideCalendarCog:yd,LucideCalendarDays:kd,LucideCalendarFold:md,LucideCalendarHeart:fd,LucideCalendarMinus:vd,LucideCalendarMinus2:gd,LucideCalendarOff:Md,LucideCalendarPlus:xd,LucideCalendarPlus2:_d,LucideCalendarRange:Ld,LucideCalendarSearch:Id,LucideCalendarSync:bd,LucideCalendarX:Cd,LucideCalendarX2:wd,LucideCamera:Sd,LucideCameraOff:Nd,LucideCandlestickChart:ta,LucideCandy:qd,LucideCandyCane:jd,LucideCandyOff:$d,LucideCannabis:Ad,LucideCaptions:Yt,LucideCaptionsOff:zd,LucideCar:Td,LucideCarFront:Vd,LucideCarTaxiFront:Pd,LucideCaravan:Hd,LucideCardSim:Dd,LucideCarrot:Bd,LucideCaseLower:Rd,LucideCaseSensitive:Fd,LucideCaseUpper:Ed,LucideCassetteTape:Od,LucideCast:Ud,LucideCastle:Gd,LucideCat:Wd,LucideCctv:Zd,LucideChartArea:Jt,LucideChartBar:ea,LucideChartBarBig:Qt,LucideChartBarDecreasing:Kd,LucideChartBarIncreasing:Xd,LucideChartBarStacked:Yd,LucideChartCandlestick:ta,LucideChartColumn:oa,LucideChartColumnBig:aa,LucideChartColumnDecreasing:Jd,LucideChartColumnIncreasing:na,LucideChartColumnStacked:Qd,LucideChartGantt:e0,LucideChartLine:ca,LucideChartNetwork:t0,LucideChartNoAxesColumn:ra,LucideChartNoAxesColumnDecreasing:a0,LucideChartNoAxesColumnIncreasing:ia,LucideChartNoAxesCombined:n0,LucideChartNoAxesGantt:sa,LucideChartPie:da,LucideChartScatter:la,LucideChartSpline:o0,LucideCheck:h1,LucideCheckCheck:c0,LucideCheckCircle:Ma,LucideCheckCircle2:_a,LucideCheckLine:i0,LucideCheckSquare:go,LucideCheckSquare2:vo,LucideChefHat:r0,LucideCherry:s0,LucideChevronDown:Ct,LucideChevronDownCircle:xa,LucideChevronDownSquare:Mo,LucideChevronFirst:d0,LucideChevronLast:l0,LucideChevronLeft:h0,LucideChevronLeftCircle:La,LucideChevronLeftSquare:_o,LucideChevronRight:u1,LucideChevronRightCircle:Ia,LucideChevronRightSquare:xo,LucideChevronUp:Lc,LucideChevronUpCircle:ba,LucideChevronUpSquare:Lo,LucideChevronsDown:p0,LucideChevronsDownUp:u0,LucideChevronsLeft:k0,LucideChevronsLeftRight:y0,LucideChevronsLeftRightEllipsis:m0,LucideChevronsRight:g0,LucideChevronsRightLeft:f0,LucideChevronsUp:v0,LucideChevronsUpDown:Bc,LucideChrome:M0,LucideChurch:_0,LucideCigarette:L0,LucideCigaretteOff:x0,LucideCircle:T0,LucideCircleAlert:ha,LucideCircleArrowDown:ua,LucideCircleArrowLeft:pa,LucideCircleArrowOutDownLeft:ya,LucideCircleArrowOutDownRight:ka,LucideCircleArrowOutUpLeft:ma,LucideCircleArrowOutUpRight:fa,LucideCircleArrowRight:ga,LucideCircleArrowUp:va,LucideCircleCheck:_a,LucideCircleCheckBig:Ma,LucideCircleChevronDown:xa,LucideCircleChevronLeft:La,LucideCircleChevronRight:Ia,LucideCircleChevronUp:ba,LucideCircleDashed:I0,LucideCircleDivide:wa,LucideCircleDollarSign:w0,LucideCircleDot:C0,LucideCircleDotDashed:b0,LucideCircleEllipsis:N0,LucideCircleEqual:S0,LucideCircleFadingArrowUp:$0,LucideCircleFadingPlus:j0,LucideCircleGauge:Ca,LucideCircleHelp:et,LucideCircleMinus:Na,LucideCircleOff:q0,LucideCircleParking:$a,LucideCircleParkingOff:Sa,LucideCirclePause:ja,LucideCirclePercent:qa,LucideCirclePlay:Aa,LucideCirclePlus:za,LucideCirclePoundSterling:A0,LucideCirclePower:Va,LucideCircleQuestionMark:et,LucideCircleSlash:z0,LucideCircleSlash2:Pa,LucideCircleSlashed:Pa,LucideCircleSmall:V0,LucideCircleStar:P0,LucideCircleStop:Ta,LucideCircleUser:Da,LucideCircleUserRound:Ha,LucideCircleX:Mt,LucideCircuitBoard:H0,LucideCitrus:D0,LucideClapperboard:B0,LucideClipboard:X0,LucideClipboardCheck:R0,LucideClipboardClock:F0,LucideClipboardCopy:E0,LucideClipboardEdit:Ra,LucideClipboardList:O0,LucideClipboardMinus:U0,LucideClipboardPaste:W0,LucideClipboardPen:Ra,LucideClipboardPenLine:Ba,LucideClipboardPlus:G0,LucideClipboardSignature:Ba,LucideClipboardType:Z0,LucideClipboardX:K0,LucideClock:yl,LucideClock1:J0,LucideClock10:Y0,LucideClock11:Q0,LucideClock12:el,LucideClock2:tl,LucideClock3:al,LucideClock4:nl,LucideClock5:ol,LucideClock6:cl,LucideClock7:il,LucideClock8:rl,LucideClock9:sl,LucideClockAlert:dl,LucideClockArrowDown:ll,LucideClockArrowUp:hl,LucideClockFading:ul,LucideClockPlus:pl,LucideClosedCaption:kl,LucideCloud:$l,LucideCloudAlert:ml,LucideCloudCheck:fl,LucideCloudCog:gl,LucideCloudDownload:Fa,LucideCloudDrizzle:vl,LucideCloudFog:Ml,LucideCloudHail:_l,LucideCloudLightning:xl,LucideCloudMoon:Il,LucideCloudMoonRain:Ll,LucideCloudOff:bl,LucideCloudRain:Cl,LucideCloudRainWind:wl,LucideCloudSnow:Nl,LucideCloudSun:jl,LucideCloudSunRain:Sl,LucideCloudUpload:Ea,LucideCloudy:ql,LucideClover:Al,LucideClub:zl,LucideCode:Vl,LucideCode2:Oa,LucideCodeSquare:Io,LucideCodeXml:Oa,LucideCodepen:Pl,LucideCodesandbox:Tl,LucideCoffee:Hl,LucideCog:Dl,LucideCoins:Bl,LucideColumns:Ua,LucideColumns2:Ua,LucideColumns3:Wa,LucideColumns3Cog:tt,LucideColumns4:Rl,LucideColumnsSettings:tt,LucideCombine:Fl,LucideCommand:El,LucideCompass:Ol,LucideComponent:Ul,LucideComputer:Wl,LucideConciergeBell:Gl,LucideCone:Zl,LucideConstruction:Kl,LucideContact:Xl,LucideContact2:Ga,LucideContactRound:Ga,LucideContainer:Yl,LucideContrast:Ql,LucideCookie:Jl,LucideCookingPot:th,LucideCopy:ih,LucideCopyCheck:eh,LucideCopyMinus:ah,LucideCopyPlus:nh,LucideCopySlash:oh,LucideCopyX:ch,LucideCopyleft:rh,LucideCopyright:sh,LucideCornerDownLeft:dh,LucideCornerDownRight:lh,LucideCornerLeftDown:hh,LucideCornerLeftUp:uh,LucideCornerRightDown:ph,LucideCornerRightUp:yh,LucideCornerUpLeft:kh,LucideCornerUpRight:mh,LucideCpu:fh,LucideCreativeCommons:gh,LucideCreditCard:vh,LucideCroissant:Mh,LucideCrop:_h,LucideCross:xh,LucideCrosshair:Lh,LucideCrown:Ih,LucideCuboid:bh,LucideCupSoda:wh,LucideCurlyBraces:Xt,LucideCurrency:Ch,LucideCylinder:Nh,LucideDam:Sh,LucideDatabase:qh,LucideDatabaseBackup:jh,LucideDatabaseZap:$h,LucideDecimalsArrowLeft:Ah,LucideDecimalsArrowRight:zh,LucideDelete:Vh,LucideDessert:Ph,LucideDiameter:Th,LucideDiamond:Bh,LucideDiamondMinus:Hh,LucideDiamondPercent:Za,LucideDiamondPlus:Dh,LucideDice1:Rh,LucideDice2:Fh,LucideDice3:Eh,LucideDice4:Oh,LucideDice5:Uh,LucideDice6:Wh,LucideDices:Gh,LucideDiff:Zh,LucideDisc:Jh,LucideDisc2:Kh,LucideDisc3:Xh,LucideDiscAlbum:Yh,LucideDivide:Qh,LucideDivideCircle:wa,LucideDivideSquare:No,LucideDna:tu,LucideDnaOff:eu,LucideDock:au,LucideDog:nu,LucideDollarSign:ou,LucideDonut:cu,LucideDoorClosed:ru,LucideDoorClosedLocked:iu,LucideDoorOpen:su,LucideDot:du,LucideDotSquare:jo,LucideDownload:hu,LucideDownloadCloud:Fa,LucideDraftingCompass:lu,LucideDrama:uu,LucideDribbble:pu,LucideDrill:yu,LucideDrone:ku,LucideDroplet:fu,LucideDropletOff:mu,LucideDroplets:gu,LucideDrum:vu,LucideDrumstick:Mu,LucideDumbbell:_u,LucideEar:Lu,LucideEarOff:xu,LucideEarth:Ka,LucideEarthLock:Iu,LucideEclipse:bu,LucideEdit:Ve,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:Nu,LucideEggFried:wu,LucideEggOff:Cu,LucideEllipsis:Ya,LucideEllipsisVertical:Xa,LucideEqual:$u,LucideEqualApproximately:Su,LucideEqualNot:ju,LucideEqualSquare:So,LucideEraser:qu,LucideEthernetPort:Au,LucideEuro:zu,LucideExpand:Pu,LucideExternalLink:Vu,LucideEye:y1,LucideEyeClosed:Tu,LucideEyeOff:p1,LucideFacebook:Hu,LucideFactory:Du,LucideFan:Bu,LucideFastForward:Ru,LucideFeather:Fu,LucideFence:Eu,LucideFerrisWheel:Ou,LucideFigma:Uu,LucideFile:Dp,LucideFileArchive:Wu,LucideFileAudio:Zu,LucideFileAudio2:Gu,LucideFileAxis3D:Ja,LucideFileAxis3d:Ja,LucideFileBadge:Yu,LucideFileBadge2:Ku,LucideFileBarChart:Qa,LucideFileBarChart2:en,LucideFileBox:Xu,LucideFileChartColumn:en,LucideFileChartColumnIncreasing:Qa,LucideFileChartLine:tn,LucideFileChartPie:an,LucideFileCheck:Qu,LucideFileCheck2:Ju,LucideFileClock:ep,LucideFileCode:tp,LucideFileCode2:ap,LucideFileCog:nn,LucideFileCog2:nn,LucideFileDiff:np,LucideFileDigit:op,LucideFileDown:cp,LucideFileEdit:cn,LucideFileHeart:ip,LucideFileImage:rp,LucideFileInput:sp,LucideFileJson:lp,LucideFileJson2:dp,LucideFileKey:up,LucideFileKey2:hp,LucideFileLineChart:tn,LucideFileLock:yp,LucideFileLock2:pp,LucideFileMinus:mp,LucideFileMinus2:kp,LucideFileMusic:fp,LucideFileOutput:gp,LucideFilePen:cn,LucideFilePenLine:on,LucideFilePieChart:an,LucideFilePlay:rn,LucideFilePlus:Mp,LucideFilePlus2:vp,LucideFileQuestion:sn,LucideFileQuestionMark:sn,LucideFileScan:_p,LucideFileSearch:Lp,LucideFileSearch2:xp,LucideFileSignature:on,LucideFileSliders:Ip,LucideFileSpreadsheet:bp,LucideFileStack:wp,LucideFileSymlink:Cp,LucideFileTerminal:Np,LucideFileText:Sp,LucideFileType:$p,LucideFileType2:jp,LucideFileUp:qp,LucideFileUser:Ap,LucideFileVideo:rn,LucideFileVideo2:dn,LucideFileVideoCamera:dn,LucideFileVolume:Vp,LucideFileVolume2:zp,LucideFileWarning:Pp,LucideFileX:Hp,LucideFileX2:Tp,LucideFiles:Bp,LucideFilm:Rp,LucideFilter:_t,LucideFilterX:un,LucideFingerprint:Fp,LucideFireExtinguisher:Ep,LucideFish:Up,LucideFishOff:Op,LucideFishSymbol:Wp,LucideFlag:Xp,LucideFlagOff:Gp,LucideFlagTriangleLeft:Zp,LucideFlagTriangleRight:Kp,LucideFlame:Jp,LucideFlameKindling:Yp,LucideFlashlight:ey,LucideFlashlightOff:Qp,LucideFlaskConical:ay,LucideFlaskConicalOff:ty,LucideFlaskRound:ny,LucideFlipHorizontal:cy,LucideFlipHorizontal2:oy,LucideFlipVertical:ry,LucideFlipVertical2:iy,LucideFlower:dy,LucideFlower2:sy,LucideFocus:ly,LucideFoldHorizontal:hy,LucideFoldVertical:uy,LucideFolder:k1,LucideFolderArchive:py,LucideFolderCheck:yy,LucideFolderClock:ky,LucideFolderClosed:my,LucideFolderCode:fy,LucideFolderCog:ln,LucideFolderCog2:ln,LucideFolderDot:gy,LucideFolderDown:vy,LucideFolderEdit:hn,LucideFolderGit:_y,LucideFolderGit2:My,LucideFolderHeart:xy,LucideFolderInput:Ly,LucideFolderKanban:Iy,LucideFolderKey:by,LucideFolderLock:wy,LucideFolderMinus:Cy,LucideFolderOpen:Sy,LucideFolderOpenDot:Ny,LucideFolderOutput:jy,LucideFolderPen:hn,LucideFolderPlus:Rc,LucideFolderRoot:$y,LucideFolderSearch:Ay,LucideFolderSearch2:qy,LucideFolderSymlink:zy,LucideFolderSync:Vy,LucideFolderTree:Py,LucideFolderUp:Ty,LucideFolderX:Hy,LucideFolders:Dy,LucideFootprints:By,LucideForkKnife:mc,LucideForkKnifeCrossed:kc,LucideForklift:Ry,LucideFormInput:Gn,LucideForward:Fy,LucideFrame:Ey,LucideFramer:Oy,LucideFrown:Uy,LucideFuel:Wy,LucideFullscreen:Gy,LucideFunctionSquare:$o,LucideFunnel:_t,LucideFunnelPlus:Zy,LucideFunnelX:un,LucideGalleryHorizontal:Xy,LucideGalleryHorizontalEnd:Ky,LucideGalleryThumbnails:Yy,LucideGalleryVertical:Qy,LucideGalleryVerticalEnd:Jy,LucideGamepad:t4,LucideGamepad2:e4,LucideGanttChart:sa,LucideGanttChartSquare:nt,LucideGauge:a4,LucideGaugeCircle:Ca,LucideGavel:n4,LucideGem:o4,LucideGeorgianLari:c4,LucideGhost:i4,LucideGift:r4,LucideGitBranch:d4,LucideGitBranchPlus:s4,LucideGitCommit:pn,LucideGitCommitHorizontal:pn,LucideGitCommitVertical:l4,LucideGitCompare:u4,LucideGitCompareArrows:h4,LucideGitFork:p4,LucideGitGraph:y4,LucideGitMerge:k4,LucideGitPullRequest:_4,LucideGitPullRequestArrow:m4,LucideGitPullRequestClosed:f4,LucideGitPullRequestCreate:v4,LucideGitPullRequestCreateArrow:g4,LucideGitPullRequestDraft:M4,LucideGithub:x4,LucideGitlab:L4,LucideGlassWater:I4,LucideGlasses:b4,LucideGlobe:C4,LucideGlobe2:Ka,LucideGlobeLock:w4,LucideGoal:N4,LucideGpu:S4,LucideGrab:gn,LucideGraduationCap:j4,LucideGrape:$4,LucideGrid:at,LucideGrid2X2:fn,LucideGrid2X2Check:yn,LucideGrid2X2Plus:kn,LucideGrid2X2X:mn,LucideGrid2x2:fn,LucideGrid2x2Check:yn,LucideGrid2x2Plus:kn,LucideGrid2x2X:mn,LucideGrid3X3:at,LucideGrid3x2:q4,LucideGrid3x3:at,LucideGrip:z4,LucideGripHorizontal:A4,LucideGripVertical:m1,LucideGroup:V4,LucideGuitar:P4,LucideHam:T4,LucideHamburger:H4,LucideHammer:D4,LucideHand:U4,LucideHandCoins:B4,LucideHandFist:R4,LucideHandGrab:gn,LucideHandHeart:F4,LucideHandHelping:vn,LucideHandMetal:E4,LucideHandPlatter:O4,LucideHandbag:W4,LucideHandshake:G4,LucideHardDrive:X4,LucideHardDriveDownload:Z4,LucideHardDriveUpload:K4,LucideHardHat:Y4,LucideHash:J4,LucideHatGlasses:Q4,LucideHaze:e5,LucideHdmiPort:t5,LucideHeading:s5,LucideHeading1:a5,LucideHeading2:n5,LucideHeading3:o5,LucideHeading4:c5,LucideHeading5:i5,LucideHeading6:r5,LucideHeadphoneOff:d5,LucideHeadphones:l5,LucideHeadset:h5,LucideHeart:g5,LucideHeartCrack:u5,LucideHeartHandshake:p5,LucideHeartMinus:y5,LucideHeartOff:k5,LucideHeartPlus:m5,LucideHeartPulse:f5,LucideHeater:v5,LucideHelpCircle:et,LucideHelpingHand:vn,LucideHexagon:M5,LucideHighlighter:_5,LucideHistory:x5,LucideHome:xt,LucideHop:I5,LucideHopOff:L5,LucideHospital:f1,LucideHotel:b5,LucideHourglass:w5,LucideHouse:xt,LucideHousePlug:C5,LucideHousePlus:S5,LucideHouseWifi:N5,LucideIceCream:_n,LucideIceCream2:Mn,LucideIceCreamBowl:Mn,LucideIceCreamCone:_n,LucideIdCard:$5,LucideIdCardLanyard:j5,LucideImage:D5,LucideImageDown:q5,LucideImageMinus:A5,LucideImageOff:z5,LucideImagePlay:V5,LucideImagePlus:P5,LucideImageUp:T5,LucideImageUpscale:H5,LucideImages:B5,LucideImport:R5,LucideInbox:F5,LucideIndent:Ln,LucideIndentDecrease:xn,LucideIndentIncrease:Ln,LucideIndianRupee:E5,LucideInfinity:O5,LucideInfo:U5,LucideInspect:Ho,LucideInspectionPanel:W5,LucideInstagram:G5,LucideItalic:Z5,LucideIterationCcw:K5,LucideIterationCw:X5,LucideJapaneseYen:J5,LucideJoystick:Y5,LucideKanban:Q5,LucideKanbanSquare:qo,LucideKanbanSquareDashed:bo,LucideKayak:ek,LucideKey:nk,LucideKeyRound:tk,LucideKeySquare:ak,LucideKeyboard:ik,LucideKeyboardMusic:ok,LucideKeyboardOff:ck,LucideLamp:uk,LucideLampCeiling:rk,LucideLampDesk:dk,LucideLampFloor:sk,LucideLampWallDown:lk,LucideLampWallUp:hk,LucideLandPlot:pk,LucideLandmark:yk,LucideLanguages:kk,LucideLaptop:fk,LucideLaptop2:In,LucideLaptopMinimal:In,LucideLaptopMinimalCheck:mk,LucideLasso:vk,LucideLassoSelect:gk,LucideLaugh:Mk,LucideLayers:bn,LucideLayers2:_k,LucideLayers3:bn,LucideLayout:Un,LucideLayoutDashboard:xk,LucideLayoutGrid:Lk,LucideLayoutList:Ik,LucideLayoutPanelLeft:bk,LucideLayoutPanelTop:wk,LucideLayoutTemplate:Ck,LucideLeaf:Nk,LucideLeafyGreen:jk,LucideLectern:Sk,LucideLetterText:$k,LucideLibrary:Ak,LucideLibraryBig:qk,LucideLibrarySquare:Ao,LucideLifeBuoy:zk,LucideLigature:Vk,LucideLightbulb:Tk,LucideLightbulbOff:Pk,LucideLineChart:ca,LucideLineSquiggle:Hk,LucideLink:Rk,LucideLink2:Dk,LucideLink2Off:Bk,LucideLinkedin:Fk,LucideList:c3,LucideListCheck:Ek,LucideListChecks:Ok,LucideListCollapse:Uk,LucideListEnd:Wk,LucideListFilter:Kk,LucideListFilterPlus:Gk,LucideListMinus:Zk,LucideListMusic:Xk,LucideListOrdered:Yk,LucideListPlus:Jk,LucideListRestart:Qk,LucideListStart:e3,LucideListTodo:t3,LucideListTree:a3,LucideListVideo:n3,LucideListX:o3,LucideLoader:r3,LucideLoader2:wn,LucideLoaderCircle:wn,LucideLoaderPinwheel:i3,LucideLocate:l3,LucideLocateFixed:s3,LucideLocateOff:d3,LucideLocationEdit:jn,LucideLock:u3,LucideLockKeyhole:h3,LucideLockKeyholeOpen:Cn,LucideLockOpen:Nn,LucideLogIn:p3,LucideLogOut:y3,LucideLogs:k3,LucideLollipop:m3,LucideLuggage:f3,LucideMSquare:zo,LucideMagnet:g3,LucideMail:b3,LucideMailCheck:v3,LucideMailMinus:M3,LucideMailOpen:_3,LucideMailPlus:x3,LucideMailQuestion:Sn,LucideMailQuestionMark:Sn,LucideMailSearch:L3,LucideMailWarning:I3,LucideMailX:w3,LucideMailbox:C3,LucideMails:N3,LucideMap:E3,LucideMapMinus:S3,LucideMapPin:B3,LucideMapPinCheck:j3,LucideMapPinCheckInside:$3,LucideMapPinHouse:q3,LucideMapPinMinus:z3,LucideMapPinMinusInside:A3,LucideMapPinOff:V3,LucideMapPinPen:jn,LucideMapPinPlus:T3,LucideMapPinPlusInside:P3,LucideMapPinX:D3,LucideMapPinXInside:H3,LucideMapPinned:R3,LucideMapPlus:F3,LucideMars:U3,LucideMarsStroke:O3,LucideMartini:W3,LucideMaximize:K3,LucideMaximize2:G3,LucideMedal:Z3,LucideMegaphone:Y3,LucideMegaphoneOff:X3,LucideMeh:J3,LucideMemoryStick:Q3,LucideMenu:Fc,LucideMenuSquare:Vo,LucideMerge:em,LucideMessageCircle:lm,LucideMessageCircleCode:tm,LucideMessageCircleDashed:am,LucideMessageCircleHeart:nm,LucideMessageCircleMore:om,LucideMessageCircleOff:cm,LucideMessageCirclePlus:im,LucideMessageCircleQuestion:$n,LucideMessageCircleQuestionMark:$n,LucideMessageCircleReply:rm,LucideMessageCircleWarning:sm,LucideMessageCircleX:dm,LucideMessageSquare:wm,LucideMessageSquareCode:hm,LucideMessageSquareDashed:um,LucideMessageSquareDiff:pm,LucideMessageSquareDot:ym,LucideMessageSquareHeart:km,LucideMessageSquareLock:mm,LucideMessageSquareMore:fm,LucideMessageSquareOff:gm,LucideMessageSquarePlus:vm,LucideMessageSquareQuote:Mm,LucideMessageSquareReply:_m,LucideMessageSquareShare:xm,LucideMessageSquareText:Lm,LucideMessageSquareWarning:Im,LucideMessageSquareX:bm,LucideMessagesSquare:Cm,LucideMic:Sm,LucideMic2:qn,LucideMicOff:Nm,LucideMicVocal:qn,LucideMicrochip:jm,LucideMicroscope:$m,LucideMicrowave:qm,LucideMilestone:Am,LucideMilk:Vm,LucideMilkOff:zm,LucideMinimize:Tm,LucideMinimize2:Pm,LucideMinus:Hm,LucideMinusCircle:Na,LucideMinusSquare:Po,LucideMonitor:Ym,LucideMonitorCheck:Dm,LucideMonitorCog:Bm,LucideMonitorDot:Rm,LucideMonitorDown:Fm,LucideMonitorOff:Em,LucideMonitorPause:Um,LucideMonitorPlay:Om,LucideMonitorSmartphone:Wm,LucideMonitorSpeaker:Gm,LucideMonitorStop:Zm,LucideMonitorUp:Km,LucideMonitorX:Xm,LucideMoon:Qm,LucideMoonStar:Jm,LucideMoreHorizontal:Ya,LucideMoreVertical:Xa,LucideMountain:t6,LucideMountainSnow:e6,LucideMouse:r6,LucideMouseOff:a6,LucideMousePointer:c6,LucideMousePointer2:n6,LucideMousePointerBan:o6,LucideMousePointerClick:i6,LucideMousePointerSquareDashed:wo,LucideMove:a.Move,LucideMove3D:An,LucideMove3d:An,LucideMoveDiagonal:d6,LucideMoveDiagonal2:s6,LucideMoveDown:p6,LucideMoveDownLeft:l6,LucideMoveDownRight:h6,LucideMoveHorizontal:u6,LucideMoveLeft:y6,LucideMoveRight:k6,LucideMoveUp:g6,LucideMoveUpLeft:m6,LucideMoveUpRight:f6,LucideMoveVertical:v6,LucideMusic:L6,LucideMusic2:M6,LucideMusic3:_6,LucideMusic4:x6,LucideNavigation:C6,LucideNavigation2:b6,LucideNavigation2Off:I6,LucideNavigationOff:w6,LucideNetwork:N6,LucideNewspaper:S6,LucideNfc:j6,LucideNonBinary:$6,LucideNotebook:V6,LucideNotebookPen:q6,LucideNotebookTabs:A6,LucideNotebookText:z6,LucideNotepadText:T6,LucideNotepadTextDashed:P6,LucideNut:D6,LucideNutOff:H6,LucideOctagon:R6,LucideOctagonAlert:zn,LucideOctagonMinus:B6,LucideOctagonPause:Vn,LucideOctagonX:Pn,LucideOmega:F6,LucideOption:E6,LucideOrbit:O6,LucideOrigami:U6,LucideOutdent:xn,LucidePackage:Q6,LucidePackage2:W6,LucidePackageCheck:G6,LucidePackageMinus:Z6,LucidePackageOpen:K6,LucidePackagePlus:X6,LucidePackageSearch:Y6,LucidePackageX:J6,LucidePaintBucket:e8,LucidePaintRoller:t8,LucidePaintbrush:a8,LucidePaintbrush2:Tn,LucidePaintbrushVertical:Tn,LucidePalette:n8,LucidePalmtree:oc,LucidePanda:o8,LucidePanelBottom:r8,LucidePanelBottomClose:c8,LucidePanelBottomDashed:Hn,LucidePanelBottomInactive:Hn,LucidePanelBottomOpen:i8,LucidePanelLeft:Fn,LucidePanelLeftClose:Dn,LucidePanelLeftDashed:Bn,LucidePanelLeftInactive:Bn,LucidePanelLeftOpen:Rn,LucidePanelRight:l8,LucidePanelRightClose:s8,LucidePanelRightDashed:En,LucidePanelRightInactive:En,LucidePanelRightOpen:d8,LucidePanelTop:p8,LucidePanelTopClose:h8,LucidePanelTopDashed:On,LucidePanelTopInactive:On,LucidePanelTopOpen:u8,LucidePanelsLeftBottom:y8,LucidePanelsLeftRight:Wa,LucidePanelsRightBottom:k8,LucidePanelsTopBottom:Xn,LucidePanelsTopLeft:Un,LucidePaperclip:m8,LucideParentheses:f8,LucideParkingCircle:$a,LucideParkingCircleOff:Sa,LucideParkingMeter:g8,LucideParkingSquare:Do,LucideParkingSquareOff:To,LucidePartyPopper:v8,LucidePause:M8,LucidePauseCircle:ja,LucidePauseOctagon:Vn,LucidePawPrint:_8,LucidePcCase:x8,LucidePen:lt,LucidePenBox:Ve,LucidePenLine:dt,LucidePenOff:I8,LucidePenSquare:Ve,LucidePenTool:L8,LucidePencil:g1,LucidePencilLine:b8,LucidePencilOff:w8,LucidePencilRuler:C8,LucidePentagon:N8,LucidePercent:S8,LucidePercentCircle:qa,LucidePercentDiamond:Za,LucidePercentSquare:Bo,LucidePersonStanding:$8,LucidePhilippinePeso:j8,LucidePhone:T8,LucidePhoneCall:q8,LucidePhoneForwarded:A8,LucidePhoneIncoming:z8,LucidePhoneMissed:V8,LucidePhoneOff:P8,LucidePhoneOutgoing:H8,LucidePi:D8,LucidePiSquare:Ro,LucidePiano:B8,LucidePickaxe:R8,LucidePictureInPicture:E8,LucidePictureInPicture2:F8,LucidePieChart:da,LucidePiggyBank:O8,LucidePilcrow:W8,LucidePilcrowLeft:U8,LucidePilcrowRight:G8,LucidePilcrowSquare:Fo,LucidePill:K8,LucidePillBottle:Z8,LucidePin:Y8,LucidePinOff:X8,LucidePipette:J8,LucidePizza:Q8,LucidePlane:af,LucidePlaneLanding:ef,LucidePlaneTakeoff:tf,LucidePlay:nf,LucidePlayCircle:Aa,LucidePlaySquare:Eo,LucidePlug:cf,LucidePlug2:of,LucidePlugZap:Wn,LucidePlugZap2:Wn,LucidePlus:Ec,LucidePlusCircle:za,LucidePlusSquare:Oo,LucidePocket:sf,LucidePocketKnife:rf,LucidePodcast:df,LucidePointer:hf,LucidePointerOff:lf,LucidePopcorn:pf,LucidePopsicle:uf,LucidePoundSterling:yf,LucidePower:mf,LucidePowerCircle:Va,LucidePowerOff:kf,LucidePowerSquare:Uo,LucidePresentation:ff,LucidePrinter:vf,LucidePrinterCheck:gf,LucideProjector:Mf,LucideProportions:_f,LucidePuzzle:Lf,LucidePyramid:xf,LucideQrCode:If,LucideQuote:bf,LucideRabbit:wf,LucideRadar:Cf,LucideRadiation:Nf,LucideRadical:Sf,LucideRadio:qf,LucideRadioReceiver:jf,LucideRadioTower:$f,LucideRadius:Af,LucideRailSymbol:zf,LucideRainbow:Vf,LucideRat:Pf,LucideRatio:Tf,LucideReceipt:Gf,LucideReceiptCent:Hf,LucideReceiptEuro:Bf,LucideReceiptIndianRupee:Df,LucideReceiptJapaneseYen:Rf,LucideReceiptPoundSterling:Ff,LucideReceiptRussianRuble:Ef,LucideReceiptSwissFranc:Of,LucideReceiptText:Uf,LucideReceiptTurkishLira:Wf,LucideRectangleCircle:Zf,LucideRectangleEllipsis:Gn,LucideRectangleGoggles:Kf,LucideRectangleHorizontal:Xf,LucideRectangleVertical:Yf,LucideRecycle:Jf,LucideRedo:t7,LucideRedo2:Qf,LucideRedoDot:e7,LucideRefreshCcw:n7,LucideRefreshCcwDot:a7,LucideRefreshCw:c7,LucideRefreshCwOff:o7,LucideRefrigerator:i7,LucideRegex:r7,LucideRemoveFormatting:s7,LucideRepeat:h7,LucideRepeat1:d7,LucideRepeat2:l7,LucideReplace:p7,LucideReplaceAll:u7,LucideReply:m7,LucideReplyAll:y7,LucideRewind:k7,LucideRibbon:f7,LucideRocket:g7,LucideRockingChair:_7,LucideRollerCoaster:v7,LucideRose:M7,LucideRotate3D:Zn,LucideRotate3d:Zn,LucideRotateCcw:I7,LucideRotateCcwKey:x7,LucideRotateCcwSquare:L7,LucideRotateCw:w7,LucideRotateCwSquare:b7,LucideRoute:N7,LucideRouteOff:C7,LucideRouter:S7,LucideRows:Kn,LucideRows2:Kn,LucideRows3:Xn,LucideRows4:j7,LucideRss:$7,LucideRuler:A7,LucideRulerDimensionLine:q7,LucideRussianRuble:z7,LucideSailboat:V7,LucideSalad:P7,LucideSandwich:T7,LucideSatellite:D7,LucideSatelliteDish:H7,LucideSaudiRiyal:B7,LucideSave:O7,LucideSaveAll:R7,LucideSaveOff:F7,LucideScale:E7,LucideScale3D:Yn,LucideScale3d:Yn,LucideScaling:U7,LucideScan:eg,LucideScanBarcode:W7,LucideScanEye:G7,LucideScanFace:Z7,LucideScanHeart:K7,LucideScanLine:X7,LucideScanQrCode:Y7,LucideScanSearch:J7,LucideScanText:Q7,LucideScatterChart:la,LucideSchool:tg,LucideSchool2:rc,LucideScissors:ng,LucideScissorsLineDashed:ag,LucideScissorsSquare:Wo,LucideScissorsSquareDashedBottom:fo,LucideScreenShare:og,LucideScreenShareOff:cg,LucideScroll:rg,LucideScrollText:ig,LucideSearch:v1,LucideSearchCheck:sg,LucideSearchCode:dg,LucideSearchSlash:lg,LucideSearchX:hg,LucideSection:ug,LucideSend:yg,LucideSendHorizonal:Jn,LucideSendHorizontal:Jn,LucideSendToBack:pg,LucideSeparatorHorizontal:kg,LucideSeparatorVertical:mg,LucideServer:Mg,LucideServerCog:fg,LucideServerCrash:vg,LucideServerOff:gg,LucideSettings:xg,LucideSettings2:_g,LucideShapes:Lg,LucideShare:bg,LucideShare2:Ig,LucideSheet:wg,LucideShell:Cg,LucideShield:Tg,LucideShieldAlert:Ng,LucideShieldBan:Sg,LucideShieldCheck:jg,LucideShieldClose:eo,LucideShieldEllipsis:$g,LucideShieldHalf:qg,LucideShieldMinus:zg,LucideShieldOff:Ag,LucideShieldPlus:Vg,LucideShieldQuestion:Qn,LucideShieldQuestionMark:Qn,LucideShieldUser:Pg,LucideShieldX:eo,LucideShip:Dg,LucideShipWheel:Hg,LucideShirt:Bg,LucideShoppingBag:Rg,LucideShoppingBasket:Fg,LucideShoppingCart:Eg,LucideShovel:Og,LucideShowerHead:Ug,LucideShredder:Wg,LucideShrimp:Gg,LucideShrink:Zg,LucideShrub:Kg,LucideShuffle:Yg,LucideSidebar:Fn,LucideSidebarClose:Dn,LucideSidebarOpen:Rn,LucideSigma:Xg,LucideSigmaSquare:Go,LucideSignal:av,LucideSignalHigh:Jg,LucideSignalLow:Qg,LucideSignalMedium:ev,LucideSignalZero:tv,LucideSignature:nv,LucideSignpost:cv,LucideSignpostBig:ov,LucideSiren:iv,LucideSkipBack:rv,LucideSkipForward:sv,LucideSkull:dv,LucideSlack:lv,LucideSlash:hv,LucideSlashSquare:Zo,LucideSlice:uv,LucideSliders:to,LucideSlidersHorizontal:pv,LucideSlidersVertical:to,LucideSmartphone:mv,LucideSmartphoneCharging:yv,LucideSmartphoneNfc:kv,LucideSmile:gv,LucideSmilePlus:fv,LucideSnail:vv,LucideSnowflake:Mv,LucideSoapDispenserDroplet:_v,LucideSofa:xv,LucideSortAsc:Ft,LucideSortDesc:Dt,LucideSoup:Lv,LucideSpace:Iv,LucideSpade:bv,LucideSparkle:wv,LucideSparkles:ao,LucideSpeaker:Cv,LucideSpeech:Nv,LucideSpellCheck:jv,LucideSpellCheck2:Sv,LucideSpline:qv,LucideSplinePointer:$v,LucideSplit:Av,LucideSplitSquareHorizontal:Ko,LucideSplitSquareVertical:Xo,LucideSpool:zv,LucideSpotlight:Vv,LucideSprayCan:Pv,LucideSprout:Tv,LucideSquare:Zv,LucideSquareActivity:Lt,LucideSquareArrowDown:co,LucideSquareArrowDownLeft:no,LucideSquareArrowDownRight:oo,LucideSquareArrowLeft:io,LucideSquareArrowOutDownLeft:ro,LucideSquareArrowOutDownRight:so,LucideSquareArrowOutUpLeft:lo,LucideSquareArrowOutUpRight:ho,LucideSquareArrowRight:uo,LucideSquareArrowUp:ko,LucideSquareArrowUpLeft:po,LucideSquareArrowUpRight:yo,LucideSquareAsterisk:mo,LucideSquareBottomDashedScissors:fo,LucideSquareChartGantt:nt,LucideSquareCheck:vo,LucideSquareCheckBig:go,LucideSquareChevronDown:Mo,LucideSquareChevronLeft:_o,LucideSquareChevronRight:xo,LucideSquareChevronUp:Lo,LucideSquareCode:Io,LucideSquareDashed:Co,LucideSquareDashedBottom:Dv,LucideSquareDashedBottomCode:Hv,LucideSquareDashedKanban:bo,LucideSquareDashedMousePointer:wo,LucideSquareDashedTopSolid:Bv,LucideSquareDivide:No,LucideSquareDot:jo,LucideSquareEqual:So,LucideSquareFunction:$o,LucideSquareGanttChart:nt,LucideSquareKanban:qo,LucideSquareLibrary:Ao,LucideSquareM:zo,LucideSquareMenu:Vo,LucideSquareMinus:Po,LucideSquareMousePointer:Ho,LucideSquareParking:Do,LucideSquareParkingOff:To,LucideSquarePause:Rv,LucideSquarePen:Ve,LucideSquarePercent:Bo,LucideSquarePi:Ro,LucideSquarePilcrow:Fo,LucideSquarePlay:Eo,LucideSquarePlus:Oo,LucideSquarePower:Uo,LucideSquareRadical:Fv,LucideSquareRoundCorner:Ev,LucideSquareScissors:Wo,LucideSquareSigma:Go,LucideSquareSlash:Zo,LucideSquareSplitHorizontal:Ko,LucideSquareSplitVertical:Xo,LucideSquareSquare:Ov,LucideSquareStack:Uv,LucideSquareStar:Wv,LucideSquareStop:Gv,LucideSquareTerminal:Yo,LucideSquareUser:Qo,LucideSquareUserRound:Jo,LucideSquareX:ec,LucideSquaresExclude:Kv,LucideSquaresIntersect:Xv,LucideSquaresSubtract:Yv,LucideSquaresUnite:Jv,LucideSquircle:e9,LucideSquircleDashed:Qv,LucideSquirrel:t9,LucideStamp:a9,LucideStar:i9,LucideStarHalf:n9,LucideStarOff:o9,LucideStars:ao,LucideStepBack:c9,LucideStepForward:r9,LucideStethoscope:s9,LucideSticker:d9,LucideStickyNote:l9,LucideStopCircle:Ta,LucideStore:h9,LucideStretchHorizontal:u9,LucideStretchVertical:p9,LucideStrikethrough:y9,LucideSubscript:k9,LucideSubtitles:Yt,LucideSun:_9,LucideSunDim:m9,LucideSunMedium:f9,LucideSunMoon:g9,LucideSunSnow:v9,LucideSunrise:M9,LucideSunset:x9,LucideSuperscript:L9,LucideSwatchBook:I9,LucideSwissFranc:b9,LucideSwitchCamera:w9,LucideSword:C9,LucideSwords:S9,LucideSyringe:N9,LucideTable:T9,LucideTable2:j9,LucideTableCellsMerge:$9,LucideTableCellsSplit:q9,LucideTableColumnsSplit:A9,LucideTableConfig:tt,LucideTableOfContents:z9,LucideTableProperties:V9,LucideTableRowsSplit:P9,LucideTablet:D9,LucideTabletSmartphone:H9,LucideTablets:B9,LucideTag:R9,LucideTags:F9,LucideTally1:E9,LucideTally2:O9,LucideTally3:U9,LucideTally4:W9,LucideTally5:G9,LucideTangent:Z9,LucideTarget:K9,LucideTelescope:X9,LucideTent:J9,LucideTentTree:Y9,LucideTerminal:Q9,LucideTerminalSquare:Yo,LucideTestTube:eM,LucideTestTube2:tc,LucideTestTubeDiagonal:tc,LucideTestTubes:tM,LucideText:iM,LucideTextCursor:nM,LucideTextCursorInput:aM,LucideTextQuote:oM,LucideTextSearch:cM,LucideTextSelect:ac,LucideTextSelection:ac,LucideTheater:rM,LucideThermometer:hM,LucideThermometerSnowflake:sM,LucideThermometerSun:dM,LucideThumbsDown:lM,LucideThumbsUp:uM,LucideTicket:vM,LucideTicketCheck:pM,LucideTicketMinus:yM,LucideTicketPercent:kM,LucideTicketPlus:mM,LucideTicketSlash:fM,LucideTicketX:gM,LucideTickets:_M,LucideTicketsPlane:MM,LucideTimer:IM,LucideTimerOff:xM,LucideTimerReset:LM,LucideToggleLeft:bM,LucideToggleRight:wM,LucideToilet:CM,LucideToolCase:NM,LucideTornado:jM,LucideTorus:SM,LucideTouchpad:qM,LucideTouchpadOff:$M,LucideTowerControl:zM,LucideToyBrick:AM,LucideTractor:VM,LucideTrafficCone:PM,LucideTrain:nc,LucideTrainFront:HM,LucideTrainFrontTunnel:TM,LucideTrainTrack:DM,LucideTramFront:nc,LucideTransgender:BM,LucideTrash:RM,LucideTrash2:Nt,LucideTreeDeciduous:FM,LucideTreePalm:oc,LucideTreePine:EM,LucideTrees:OM,LucideTrello:UM,LucideTrendingDown:WM,LucideTrendingUp:GM,LucideTrendingUpDown:ZM,LucideTriangle:XM,LucideTriangleAlert:cc,LucideTriangleDashed:KM,LucideTriangleRight:YM,LucideTrophy:JM,LucideTruck:e_,LucideTruckElectric:QM,LucideTurkishLira:t_,LucideTurntable:a_,LucideTurtle:n_,LucideTv:c_,LucideTv2:ic,LucideTvMinimal:ic,LucideTvMinimalPlay:o_,LucideTwitch:i_,LucideTwitter:r_,LucideType:d_,LucideTypeOutline:s_,LucideUmbrella:h_,LucideUmbrellaOff:l_,LucideUnderline:u_,LucideUndo:k_,LucideUndo2:p_,LucideUndoDot:y_,LucideUnfoldHorizontal:m_,LucideUnfoldVertical:f_,LucideUngroup:g_,LucideUniversity:rc,LucideUnlink:x_,LucideUnlink2:v_,LucideUnlock:Nn,LucideUnlockKeyhole:Cn,LucideUnplug:M_,LucideUpload:__,LucideUploadCloud:Ea,LucideUsb:L_,LucideUser:z_,LucideUser2:pc,LucideUserCheck:I_,LucideUserCheck2:sc,LucideUserCircle:Da,LucideUserCircle2:Ha,LucideUserCog:b_,LucideUserCog2:dc,LucideUserLock:w_,LucideUserMinus:C_,LucideUserMinus2:lc,LucideUserPen:N_,LucideUserPlus:M1,LucideUserPlus2:hc,LucideUserRound:pc,LucideUserRoundCheck:sc,LucideUserRoundCog:dc,LucideUserRoundMinus:lc,LucideUserRoundPen:S_,LucideUserRoundPlus:hc,LucideUserRoundSearch:j_,LucideUserRoundX:uc,LucideUserSearch:$_,LucideUserSquare:Qo,LucideUserSquare2:Jo,LucideUserStar:q_,LucideUserX:A_,LucideUserX2:uc,LucideUsers:V_,LucideUsers2:yc,LucideUsersRound:yc,LucideUtensils:mc,LucideUtensilsCrossed:kc,LucideUtilityPole:P_,LucideVariable:T_,LucideVault:H_,LucideVectorSquare:D_,LucideVegan:B_,LucideVenetianMask:R_,LucideVenus:U_,LucideVenusAndMars:F_,LucideVerified:Ut,LucideVibrate:O_,LucideVibrateOff:E_,LucideVideo:G_,LucideVideoOff:W_,LucideVideotape:Z_,LucideView:X_,LucideVoicemail:K_,LucideVolleyball:Y_,LucideVolume:nx,LucideVolume1:J_,LucideVolume2:Q_,LucideVolumeOff:ex,LucideVolumeX:tx,LucideVote:ax,LucideWallet:cx,LucideWallet2:fc,LucideWalletCards:ox,LucideWalletMinimal:fc,LucideWallpaper:ix,LucideWand:rx,LucideWand2:gc,LucideWandSparkles:gc,LucideWarehouse:sx,LucideWashingMachine:dx,LucideWatch:lx,LucideWaves:ux,LucideWavesLadder:hx,LucideWaypoints:px,LucideWebcam:yx,LucideWebhook:fx,LucideWebhookOff:kx,LucideWeight:mx,LucideWheat:vx,LucideWheatOff:gx,LucideWholeWord:Mx,LucideWifi:Nx,LucideWifiCog:_x,LucideWifiHigh:xx,LucideWifiLow:Lx,LucideWifiOff:Ix,LucideWifiPen:bx,LucideWifiSync:wx,LucideWifiZero:Cx,LucideWind:jx,LucideWindArrowDown:Sx,LucideWine:qx,LucideWineOff:$x,LucideWorkflow:Ax,LucideWorm:zx,LucideWrapText:Vx,LucideWrench:Px,LucideX:Ge,LucideXCircle:Mt,LucideXOctagon:Pn,LucideXSquare:ec,LucideYoutube:Hx,LucideZap:Dx,LucideZapOff:Tx,LucideZoomIn:Bx,LucideZoomOut:Rx,Luggage:f3,LuggageIcon:f3,MSquare:zo,MSquareIcon:zo,Magnet:g3,MagnetIcon:g3,Mail:b3,MailCheck:v3,MailCheckIcon:v3,MailIcon:b3,MailMinus:M3,MailMinusIcon:M3,MailOpen:_3,MailOpenIcon:_3,MailPlus:x3,MailPlusIcon:x3,MailQuestion:Sn,MailQuestionIcon:Sn,MailQuestionMark:Sn,MailQuestionMarkIcon:Sn,MailSearch:L3,MailSearchIcon:L3,MailWarning:I3,MailWarningIcon:I3,MailX:w3,MailXIcon:w3,Mailbox:C3,MailboxIcon:C3,Mails:N3,MailsIcon:N3,Map:E3,MapIcon:E3,MapMinus:S3,MapMinusIcon:S3,MapPin:B3,MapPinCheck:j3,MapPinCheckIcon:j3,MapPinCheckInside:$3,MapPinCheckInsideIcon:$3,MapPinHouse:q3,MapPinHouseIcon:q3,MapPinIcon:B3,MapPinMinus:z3,MapPinMinusIcon:z3,MapPinMinusInside:A3,MapPinMinusInsideIcon:A3,MapPinOff:V3,MapPinOffIcon:V3,MapPinPen:jn,MapPinPenIcon:jn,MapPinPlus:T3,MapPinPlusIcon:T3,MapPinPlusInside:P3,MapPinPlusInsideIcon:P3,MapPinX:D3,MapPinXIcon:D3,MapPinXInside:H3,MapPinXInsideIcon:H3,MapPinned:R3,MapPinnedIcon:R3,MapPlus:F3,MapPlusIcon:F3,Mars:U3,MarsIcon:U3,MarsStroke:O3,MarsStrokeIcon:O3,Martini:W3,MartiniIcon:W3,Maximize:K3,Maximize2:G3,Maximize2Icon:G3,MaximizeIcon:K3,Medal:Z3,MedalIcon:Z3,Megaphone:Y3,MegaphoneIcon:Y3,MegaphoneOff:X3,MegaphoneOffIcon:X3,Meh:J3,MehIcon:J3,MemoryStick:Q3,MemoryStickIcon:Q3,Menu:Fc,MenuIcon:Fc,MenuSquare:Vo,MenuSquareIcon:Vo,Merge:em,MergeIcon:em,MessageCircle:lm,MessageCircleCode:tm,MessageCircleCodeIcon:tm,MessageCircleDashed:am,MessageCircleDashedIcon:am,MessageCircleHeart:nm,MessageCircleHeartIcon:nm,MessageCircleIcon:lm,MessageCircleMore:om,MessageCircleMoreIcon:om,MessageCircleOff:cm,MessageCircleOffIcon:cm,MessageCirclePlus:im,MessageCirclePlusIcon:im,MessageCircleQuestion:$n,MessageCircleQuestionIcon:$n,MessageCircleQuestionMark:$n,MessageCircleQuestionMarkIcon:$n,MessageCircleReply:rm,MessageCircleReplyIcon:rm,MessageCircleWarning:sm,MessageCircleWarningIcon:sm,MessageCircleX:dm,MessageCircleXIcon:dm,MessageSquare:wm,MessageSquareCode:hm,MessageSquareCodeIcon:hm,MessageSquareDashed:um,MessageSquareDashedIcon:um,MessageSquareDiff:pm,MessageSquareDiffIcon:pm,MessageSquareDot:ym,MessageSquareDotIcon:ym,MessageSquareHeart:km,MessageSquareHeartIcon:km,MessageSquareIcon:wm,MessageSquareLock:mm,MessageSquareLockIcon:mm,MessageSquareMore:fm,MessageSquareMoreIcon:fm,MessageSquareOff:gm,MessageSquareOffIcon:gm,MessageSquarePlus:vm,MessageSquarePlusIcon:vm,MessageSquareQuote:Mm,MessageSquareQuoteIcon:Mm,MessageSquareReply:_m,MessageSquareReplyIcon:_m,MessageSquareShare:xm,MessageSquareShareIcon:xm,MessageSquareText:Lm,MessageSquareTextIcon:Lm,MessageSquareWarning:Im,MessageSquareWarningIcon:Im,MessageSquareX:bm,MessageSquareXIcon:bm,MessagesSquare:Cm,MessagesSquareIcon:Cm,Mic:Sm,Mic2:qn,Mic2Icon:qn,MicIcon:Sm,MicOff:Nm,MicOffIcon:Nm,MicVocal:qn,MicVocalIcon:qn,Microchip:jm,MicrochipIcon:jm,Microscope:$m,MicroscopeIcon:$m,Microwave:qm,MicrowaveIcon:qm,Milestone:Am,MilestoneIcon:Am,Milk:Vm,MilkIcon:Vm,MilkOff:zm,MilkOffIcon:zm,Minimize:Tm,Minimize2:Pm,Minimize2Icon:Pm,MinimizeIcon:Tm,Minus:Hm,MinusCircle:Na,MinusCircleIcon:Na,MinusIcon:Hm,MinusSquare:Po,MinusSquareIcon:Po,Monitor:Ym,MonitorCheck:Dm,MonitorCheckIcon:Dm,MonitorCog:Bm,MonitorCogIcon:Bm,MonitorDot:Rm,MonitorDotIcon:Rm,MonitorDown:Fm,MonitorDownIcon:Fm,MonitorIcon:Ym,MonitorOff:Em,MonitorOffIcon:Em,MonitorPause:Um,MonitorPauseIcon:Um,MonitorPlay:Om,MonitorPlayIcon:Om,MonitorSmartphone:Wm,MonitorSmartphoneIcon:Wm,MonitorSpeaker:Gm,MonitorSpeakerIcon:Gm,MonitorStop:Zm,MonitorStopIcon:Zm,MonitorUp:Km,MonitorUpIcon:Km,MonitorX:Xm,MonitorXIcon:Xm,Moon:Qm,MoonIcon:Qm,MoonStar:Jm,MoonStarIcon:Jm,MoreHorizontal:Ya,MoreHorizontalIcon:Ya,MoreVertical:Xa,MoreVerticalIcon:Xa,Mountain:t6,MountainIcon:t6,MountainSnow:e6,MountainSnowIcon:e6,Mouse:r6,MouseIcon:r6,MouseOff:a6,MouseOffIcon:a6,MousePointer:c6,MousePointer2:n6,MousePointer2Icon:n6,MousePointerBan:o6,MousePointerBanIcon:o6,MousePointerClick:i6,MousePointerClickIcon:i6,MousePointerIcon:c6,MousePointerSquareDashed:wo,MousePointerSquareDashedIcon:wo,Move:a.Move,Move3D:An,Move3DIcon:An,Move3d:An,Move3dIcon:An,MoveDiagonal:d6,MoveDiagonal2:s6,MoveDiagonal2Icon:s6,MoveDiagonalIcon:d6,MoveDown:p6,MoveDownIcon:p6,MoveDownLeft:l6,MoveDownLeftIcon:l6,MoveDownRight:h6,MoveDownRightIcon:h6,MoveHorizontal:u6,MoveHorizontalIcon:u6,MoveIcon:a.Move,MoveLeft:y6,MoveLeftIcon:y6,MoveRight:k6,MoveRightIcon:k6,MoveUp:g6,MoveUpIcon:g6,MoveUpLeft:m6,MoveUpLeftIcon:m6,MoveUpRight:f6,MoveUpRightIcon:f6,MoveVertical:v6,MoveVerticalIcon:v6,Music:L6,Music2:M6,Music2Icon:M6,Music3:_6,Music3Icon:_6,Music4:x6,Music4Icon:x6,MusicIcon:L6,Navigation:C6,Navigation2:b6,Navigation2Icon:b6,Navigation2Off:I6,Navigation2OffIcon:I6,NavigationIcon:C6,NavigationOff:w6,NavigationOffIcon:w6,Network:N6,NetworkIcon:N6,Newspaper:S6,NewspaperIcon:S6,Nfc:j6,NfcIcon:j6,NonBinary:$6,NonBinaryIcon:$6,Notebook:V6,NotebookIcon:V6,NotebookPen:q6,NotebookPenIcon:q6,NotebookTabs:A6,NotebookTabsIcon:A6,NotebookText:z6,NotebookTextIcon:z6,NotepadText:T6,NotepadTextDashed:P6,NotepadTextDashedIcon:P6,NotepadTextIcon:T6,Nut:D6,NutIcon:D6,NutOff:H6,NutOffIcon:H6,Octagon:R6,OctagonAlert:zn,OctagonAlertIcon:zn,OctagonIcon:R6,OctagonMinus:B6,OctagonMinusIcon:B6,OctagonPause:Vn,OctagonPauseIcon:Vn,OctagonX:Pn,OctagonXIcon:Pn,Omega:F6,OmegaIcon:F6,Option:E6,OptionIcon:E6,Orbit:O6,OrbitIcon:O6,Origami:U6,OrigamiIcon:U6,Outdent:xn,OutdentIcon:xn,Package:Q6,Package2:W6,Package2Icon:W6,PackageCheck:G6,PackageCheckIcon:G6,PackageIcon:Q6,PackageMinus:Z6,PackageMinusIcon:Z6,PackageOpen:K6,PackageOpenIcon:K6,PackagePlus:X6,PackagePlusIcon:X6,PackageSearch:Y6,PackageSearchIcon:Y6,PackageX:J6,PackageXIcon:J6,PaintBucket:e8,PaintBucketIcon:e8,PaintRoller:t8,PaintRollerIcon:t8,Paintbrush:a8,Paintbrush2:Tn,Paintbrush2Icon:Tn,PaintbrushIcon:a8,PaintbrushVertical:Tn,PaintbrushVerticalIcon:Tn,Palette:n8,PaletteIcon:n8,Palmtree:oc,PalmtreeIcon:oc,Panda:o8,PandaIcon:o8,PanelBottom:r8,PanelBottomClose:c8,PanelBottomCloseIcon:c8,PanelBottomDashed:Hn,PanelBottomDashedIcon:Hn,PanelBottomIcon:r8,PanelBottomInactive:Hn,PanelBottomInactiveIcon:Hn,PanelBottomOpen:i8,PanelBottomOpenIcon:i8,PanelLeft:Fn,PanelLeftClose:Dn,PanelLeftCloseIcon:Dn,PanelLeftDashed:Bn,PanelLeftDashedIcon:Bn,PanelLeftIcon:Fn,PanelLeftInactive:Bn,PanelLeftInactiveIcon:Bn,PanelLeftOpen:Rn,PanelLeftOpenIcon:Rn,PanelRight:l8,PanelRightClose:s8,PanelRightCloseIcon:s8,PanelRightDashed:En,PanelRightDashedIcon:En,PanelRightIcon:l8,PanelRightInactive:En,PanelRightInactiveIcon:En,PanelRightOpen:d8,PanelRightOpenIcon:d8,PanelTop:p8,PanelTopClose:h8,PanelTopCloseIcon:h8,PanelTopDashed:On,PanelTopDashedIcon:On,PanelTopIcon:p8,PanelTopInactive:On,PanelTopInactiveIcon:On,PanelTopOpen:u8,PanelTopOpenIcon:u8,PanelsLeftBottom:y8,PanelsLeftBottomIcon:y8,PanelsLeftRight:Wa,PanelsLeftRightIcon:Wa,PanelsRightBottom:k8,PanelsRightBottomIcon:k8,PanelsTopBottom:Xn,PanelsTopBottomIcon:Xn,PanelsTopLeft:Un,PanelsTopLeftIcon:Un,Paperclip:m8,PaperclipIcon:m8,Parentheses:f8,ParenthesesIcon:f8,ParkingCircle:$a,ParkingCircleIcon:$a,ParkingCircleOff:Sa,ParkingCircleOffIcon:Sa,ParkingMeter:g8,ParkingMeterIcon:g8,ParkingSquare:Do,ParkingSquareIcon:Do,ParkingSquareOff:To,ParkingSquareOffIcon:To,PartyPopper:v8,PartyPopperIcon:v8,Pause:M8,PauseCircle:ja,PauseCircleIcon:ja,PauseIcon:M8,PauseOctagon:Vn,PauseOctagonIcon:Vn,PawPrint:_8,PawPrintIcon:_8,PcCase:x8,PcCaseIcon:x8,Pen:lt,PenBox:Ve,PenBoxIcon:Ve,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:I8,PenOffIcon:I8,PenSquare:Ve,PenSquareIcon:Ve,PenTool:L8,PenToolIcon:L8,Pencil:g1,PencilIcon:g1,PencilLine:b8,PencilLineIcon:b8,PencilOff:w8,PencilOffIcon:w8,PencilRuler:C8,PencilRulerIcon:C8,Pentagon:N8,PentagonIcon:N8,Percent:S8,PercentCircle:qa,PercentCircleIcon:qa,PercentDiamond:Za,PercentDiamondIcon:Za,PercentIcon:S8,PercentSquare:Bo,PercentSquareIcon:Bo,PersonStanding:$8,PersonStandingIcon:$8,PhilippinePeso:j8,PhilippinePesoIcon:j8,Phone:T8,PhoneCall:q8,PhoneCallIcon:q8,PhoneForwarded:A8,PhoneForwardedIcon:A8,PhoneIcon:T8,PhoneIncoming:z8,PhoneIncomingIcon:z8,PhoneMissed:V8,PhoneMissedIcon:V8,PhoneOff:P8,PhoneOffIcon:P8,PhoneOutgoing:H8,PhoneOutgoingIcon:H8,Pi:D8,PiIcon:D8,PiSquare:Ro,PiSquareIcon:Ro,Piano:B8,PianoIcon:B8,Pickaxe:R8,PickaxeIcon:R8,PictureInPicture:E8,PictureInPicture2:F8,PictureInPicture2Icon:F8,PictureInPictureIcon:E8,PieChart:da,PieChartIcon:da,PiggyBank:O8,PiggyBankIcon:O8,Pilcrow:W8,PilcrowIcon:W8,PilcrowLeft:U8,PilcrowLeftIcon:U8,PilcrowRight:G8,PilcrowRightIcon:G8,PilcrowSquare:Fo,PilcrowSquareIcon:Fo,Pill:K8,PillBottle:Z8,PillBottleIcon:Z8,PillIcon:K8,Pin:Y8,PinIcon:Y8,PinOff:X8,PinOffIcon:X8,Pipette:J8,PipetteIcon:J8,Pizza:Q8,PizzaIcon:Q8,Plane:af,PlaneIcon:af,PlaneLanding:ef,PlaneLandingIcon:ef,PlaneTakeoff:tf,PlaneTakeoffIcon:tf,Play:nf,PlayCircle:Aa,PlayCircleIcon:Aa,PlayIcon:nf,PlaySquare:Eo,PlaySquareIcon:Eo,Plug:cf,Plug2:of,Plug2Icon:of,PlugIcon:cf,PlugZap:Wn,PlugZap2:Wn,PlugZap2Icon:Wn,PlugZapIcon:Wn,Plus:Ec,PlusCircle:za,PlusCircleIcon:za,PlusIcon:Ec,PlusSquare:Oo,PlusSquareIcon:Oo,Pocket:sf,PocketIcon:sf,PocketKnife:rf,PocketKnifeIcon:rf,Podcast:df,PodcastIcon:df,Pointer:hf,PointerIcon:hf,PointerOff:lf,PointerOffIcon:lf,Popcorn:pf,PopcornIcon:pf,Popsicle:uf,PopsicleIcon:uf,PoundSterling:yf,PoundSterlingIcon:yf,Power:mf,PowerCircle:Va,PowerCircleIcon:Va,PowerIcon:mf,PowerOff:kf,PowerOffIcon:kf,PowerSquare:Uo,PowerSquareIcon:Uo,Presentation:ff,PresentationIcon:ff,Printer:vf,PrinterCheck:gf,PrinterCheckIcon:gf,PrinterIcon:vf,Projector:Mf,ProjectorIcon:Mf,Proportions:_f,ProportionsIcon:_f,Puzzle:Lf,PuzzleIcon:Lf,Pyramid:xf,PyramidIcon:xf,QrCode:If,QrCodeIcon:If,Quote:bf,QuoteIcon:bf,Rabbit:wf,RabbitIcon:wf,Radar:Cf,RadarIcon:Cf,Radiation:Nf,RadiationIcon:Nf,Radical:Sf,RadicalIcon:Sf,Radio:qf,RadioIcon:qf,RadioReceiver:jf,RadioReceiverIcon:jf,RadioTower:$f,RadioTowerIcon:$f,Radius:Af,RadiusIcon:Af,RailSymbol:zf,RailSymbolIcon:zf,Rainbow:Vf,RainbowIcon:Vf,Rat:Pf,RatIcon:Pf,Ratio:Tf,RatioIcon:Tf,Receipt:Gf,ReceiptCent:Hf,ReceiptCentIcon:Hf,ReceiptEuro:Bf,ReceiptEuroIcon:Bf,ReceiptIcon:Gf,ReceiptIndianRupee:Df,ReceiptIndianRupeeIcon:Df,ReceiptJapaneseYen:Rf,ReceiptJapaneseYenIcon:Rf,ReceiptPoundSterling:Ff,ReceiptPoundSterlingIcon:Ff,ReceiptRussianRuble:Ef,ReceiptRussianRubleIcon:Ef,ReceiptSwissFranc:Of,ReceiptSwissFrancIcon:Of,ReceiptText:Uf,ReceiptTextIcon:Uf,ReceiptTurkishLira:Wf,ReceiptTurkishLiraIcon:Wf,RectangleCircle:Zf,RectangleCircleIcon:Zf,RectangleEllipsis:Gn,RectangleEllipsisIcon:Gn,RectangleGoggles:Kf,RectangleGogglesIcon:Kf,RectangleHorizontal:Xf,RectangleHorizontalIcon:Xf,RectangleVertical:Yf,RectangleVerticalIcon:Yf,Recycle:Jf,RecycleIcon:Jf,Redo:t7,Redo2:Qf,Redo2Icon:Qf,RedoDot:e7,RedoDotIcon:e7,RedoIcon:t7,RefreshCcw:n7,RefreshCcwDot:a7,RefreshCcwDotIcon:a7,RefreshCcwIcon:n7,RefreshCw:c7,RefreshCwIcon:c7,RefreshCwOff:o7,RefreshCwOffIcon:o7,Refrigerator:i7,RefrigeratorIcon:i7,Regex:r7,RegexIcon:r7,RemoveFormatting:s7,RemoveFormattingIcon:s7,Repeat:h7,Repeat1:d7,Repeat1Icon:d7,Repeat2:l7,Repeat2Icon:l7,RepeatIcon:h7,Replace:p7,ReplaceAll:u7,ReplaceAllIcon:u7,ReplaceIcon:p7,Reply:m7,ReplyAll:y7,ReplyAllIcon:y7,ReplyIcon:m7,Rewind:k7,RewindIcon:k7,Ribbon:f7,RibbonIcon:f7,Rocket:g7,RocketIcon:g7,RockingChair:_7,RockingChairIcon:_7,RollerCoaster:v7,RollerCoasterIcon:v7,Rose:M7,RoseIcon:M7,Rotate3D:Zn,Rotate3DIcon:Zn,Rotate3d:Zn,Rotate3dIcon:Zn,RotateCcw:I7,RotateCcwIcon:I7,RotateCcwKey:x7,RotateCcwKeyIcon:x7,RotateCcwSquare:L7,RotateCcwSquareIcon:L7,RotateCw:w7,RotateCwIcon:w7,RotateCwSquare:b7,RotateCwSquareIcon:b7,Route:N7,RouteIcon:N7,RouteOff:C7,RouteOffIcon:C7,Router:S7,RouterIcon:S7,Rows:Kn,Rows2:Kn,Rows2Icon:Kn,Rows3:Xn,Rows3Icon:Xn,Rows4:j7,Rows4Icon:j7,RowsIcon:Kn,Rss:$7,RssIcon:$7,Ruler:A7,RulerDimensionLine:q7,RulerDimensionLineIcon:q7,RulerIcon:A7,RussianRuble:z7,RussianRubleIcon:z7,Sailboat:V7,SailboatIcon:V7,Salad:P7,SaladIcon:P7,Sandwich:T7,SandwichIcon:T7,Satellite:D7,SatelliteDish:H7,SatelliteDishIcon:H7,SatelliteIcon:D7,SaudiRiyal:B7,SaudiRiyalIcon:B7,Save:O7,SaveAll:R7,SaveAllIcon:R7,SaveIcon:O7,SaveOff:F7,SaveOffIcon:F7,Scale:E7,Scale3D:Yn,Scale3DIcon:Yn,Scale3d:Yn,Scale3dIcon:Yn,ScaleIcon:E7,Scaling:U7,ScalingIcon:U7,Scan:eg,ScanBarcode:W7,ScanBarcodeIcon:W7,ScanEye:G7,ScanEyeIcon:G7,ScanFace:Z7,ScanFaceIcon:Z7,ScanHeart:K7,ScanHeartIcon:K7,ScanIcon:eg,ScanLine:X7,ScanLineIcon:X7,ScanQrCode:Y7,ScanQrCodeIcon:Y7,ScanSearch:J7,ScanSearchIcon:J7,ScanText:Q7,ScanTextIcon:Q7,ScatterChart:la,ScatterChartIcon:la,School:tg,School2:rc,School2Icon:rc,SchoolIcon:tg,Scissors:ng,ScissorsIcon:ng,ScissorsLineDashed:ag,ScissorsLineDashedIcon:ag,ScissorsSquare:Wo,ScissorsSquareDashedBottom:fo,ScissorsSquareDashedBottomIcon:fo,ScissorsSquareIcon:Wo,ScreenShare:og,ScreenShareIcon:og,ScreenShareOff:cg,ScreenShareOffIcon:cg,Scroll:rg,ScrollIcon:rg,ScrollText:ig,ScrollTextIcon:ig,Search:v1,SearchCheck:sg,SearchCheckIcon:sg,SearchCode:dg,SearchCodeIcon:dg,SearchIcon:v1,SearchSlash:lg,SearchSlashIcon:lg,SearchX:hg,SearchXIcon:hg,Section:ug,SectionIcon:ug,Send:yg,SendHorizonal:Jn,SendHorizonalIcon:Jn,SendHorizontal:Jn,SendHorizontalIcon:Jn,SendIcon:yg,SendToBack:pg,SendToBackIcon:pg,SeparatorHorizontal:kg,SeparatorHorizontalIcon:kg,SeparatorVertical:mg,SeparatorVerticalIcon:mg,Server:Mg,ServerCog:fg,ServerCogIcon:fg,ServerCrash:vg,ServerCrashIcon:vg,ServerIcon:Mg,ServerOff:gg,ServerOffIcon:gg,Settings:xg,Settings2:_g,Settings2Icon:_g,SettingsIcon:xg,Shapes:Lg,ShapesIcon:Lg,Share:bg,Share2:Ig,Share2Icon:Ig,ShareIcon:bg,Sheet:wg,SheetIcon:wg,Shell:Cg,ShellIcon:Cg,Shield:Tg,ShieldAlert:Ng,ShieldAlertIcon:Ng,ShieldBan:Sg,ShieldBanIcon:Sg,ShieldCheck:jg,ShieldCheckIcon:jg,ShieldClose:eo,ShieldCloseIcon:eo,ShieldEllipsis:$g,ShieldEllipsisIcon:$g,ShieldHalf:qg,ShieldHalfIcon:qg,ShieldIcon:Tg,ShieldMinus:zg,ShieldMinusIcon:zg,ShieldOff:Ag,ShieldOffIcon:Ag,ShieldPlus:Vg,ShieldPlusIcon:Vg,ShieldQuestion:Qn,ShieldQuestionIcon:Qn,ShieldQuestionMark:Qn,ShieldQuestionMarkIcon:Qn,ShieldUser:Pg,ShieldUserIcon:Pg,ShieldX:eo,ShieldXIcon:eo,Ship:Dg,ShipIcon:Dg,ShipWheel:Hg,ShipWheelIcon:Hg,Shirt:Bg,ShirtIcon:Bg,ShoppingBag:Rg,ShoppingBagIcon:Rg,ShoppingBasket:Fg,ShoppingBasketIcon:Fg,ShoppingCart:Eg,ShoppingCartIcon:Eg,Shovel:Og,ShovelIcon:Og,ShowerHead:Ug,ShowerHeadIcon:Ug,Shredder:Wg,ShredderIcon:Wg,Shrimp:Gg,ShrimpIcon:Gg,Shrink:Zg,ShrinkIcon:Zg,Shrub:Kg,ShrubIcon:Kg,Shuffle:Yg,ShuffleIcon:Yg,Sidebar:Fn,SidebarClose:Dn,SidebarCloseIcon:Dn,SidebarIcon:Fn,SidebarOpen:Rn,SidebarOpenIcon:Rn,Sigma:Xg,SigmaIcon:Xg,SigmaSquare:Go,SigmaSquareIcon:Go,Signal:av,SignalHigh:Jg,SignalHighIcon:Jg,SignalIcon:av,SignalLow:Qg,SignalLowIcon:Qg,SignalMedium:ev,SignalMediumIcon:ev,SignalZero:tv,SignalZeroIcon:tv,Signature:nv,SignatureIcon:nv,Signpost:cv,SignpostBig:ov,SignpostBigIcon:ov,SignpostIcon:cv,Siren:iv,SirenIcon:iv,SkipBack:rv,SkipBackIcon:rv,SkipForward:sv,SkipForwardIcon:sv,Skull:dv,SkullIcon:dv,Slack:lv,SlackIcon:lv,Slash:hv,SlashIcon:hv,SlashSquare:Zo,SlashSquareIcon:Zo,Slice:uv,SliceIcon:uv,Sliders:to,SlidersHorizontal:pv,SlidersHorizontalIcon:pv,SlidersIcon:to,SlidersVertical:to,SlidersVerticalIcon:to,Smartphone:mv,SmartphoneCharging:yv,SmartphoneChargingIcon:yv,SmartphoneIcon:mv,SmartphoneNfc:kv,SmartphoneNfcIcon:kv,Smile:gv,SmileIcon:gv,SmilePlus:fv,SmilePlusIcon:fv,Snail:vv,SnailIcon:vv,Snowflake:Mv,SnowflakeIcon:Mv,SoapDispenserDroplet:_v,SoapDispenserDropletIcon:_v,Sofa:xv,SofaIcon:xv,SortAsc:Ft,SortAscIcon:Ft,SortDesc:Dt,SortDescIcon:Dt,Soup:Lv,SoupIcon:Lv,Space:Iv,SpaceIcon:Iv,Spade:bv,SpadeIcon:bv,Sparkle:wv,SparkleIcon:wv,Sparkles:ao,SparklesIcon:ao,Speaker:Cv,SpeakerIcon:Cv,Speech:Nv,SpeechIcon:Nv,SpellCheck:jv,SpellCheck2:Sv,SpellCheck2Icon:Sv,SpellCheckIcon:jv,Spline:qv,SplineIcon:qv,SplinePointer:$v,SplinePointerIcon:$v,Split:Av,SplitIcon:Av,SplitSquareHorizontal:Ko,SplitSquareHorizontalIcon:Ko,SplitSquareVertical:Xo,SplitSquareVerticalIcon:Xo,Spool:zv,SpoolIcon:zv,Spotlight:Vv,SpotlightIcon:Vv,SprayCan:Pv,SprayCanIcon:Pv,Sprout:Tv,SproutIcon:Tv,Square:Zv,SquareActivity:Lt,SquareActivityIcon:Lt,SquareArrowDown:co,SquareArrowDownIcon:co,SquareArrowDownLeft:no,SquareArrowDownLeftIcon:no,SquareArrowDownRight:oo,SquareArrowDownRightIcon:oo,SquareArrowLeft:io,SquareArrowLeftIcon:io,SquareArrowOutDownLeft:ro,SquareArrowOutDownLeftIcon:ro,SquareArrowOutDownRight:so,SquareArrowOutDownRightIcon:so,SquareArrowOutUpLeft:lo,SquareArrowOutUpLeftIcon:lo,SquareArrowOutUpRight:ho,SquareArrowOutUpRightIcon:ho,SquareArrowRight:uo,SquareArrowRightIcon:uo,SquareArrowUp:ko,SquareArrowUpIcon:ko,SquareArrowUpLeft:po,SquareArrowUpLeftIcon:po,SquareArrowUpRight:yo,SquareArrowUpRightIcon:yo,SquareAsterisk:mo,SquareAsteriskIcon:mo,SquareBottomDashedScissors:fo,SquareBottomDashedScissorsIcon:fo,SquareChartGantt:nt,SquareChartGanttIcon:nt,SquareCheck:vo,SquareCheckBig:go,SquareCheckBigIcon:go,SquareCheckIcon:vo,SquareChevronDown:Mo,SquareChevronDownIcon:Mo,SquareChevronLeft:_o,SquareChevronLeftIcon:_o,SquareChevronRight:xo,SquareChevronRightIcon:xo,SquareChevronUp:Lo,SquareChevronUpIcon:Lo,SquareCode:Io,SquareCodeIcon:Io,SquareDashed:Co,SquareDashedBottom:Dv,SquareDashedBottomCode:Hv,SquareDashedBottomCodeIcon:Hv,SquareDashedBottomIcon:Dv,SquareDashedIcon:Co,SquareDashedKanban:bo,SquareDashedKanbanIcon:bo,SquareDashedMousePointer:wo,SquareDashedMousePointerIcon:wo,SquareDashedTopSolid:Bv,SquareDashedTopSolidIcon:Bv,SquareDivide:No,SquareDivideIcon:No,SquareDot:jo,SquareDotIcon:jo,SquareEqual:So,SquareEqualIcon:So,SquareFunction:$o,SquareFunctionIcon:$o,SquareGanttChart:nt,SquareGanttChartIcon:nt,SquareIcon:Zv,SquareKanban:qo,SquareKanbanIcon:qo,SquareLibrary:Ao,SquareLibraryIcon:Ao,SquareM:zo,SquareMIcon:zo,SquareMenu:Vo,SquareMenuIcon:Vo,SquareMinus:Po,SquareMinusIcon:Po,SquareMousePointer:Ho,SquareMousePointerIcon:Ho,SquareParking:Do,SquareParkingIcon:Do,SquareParkingOff:To,SquareParkingOffIcon:To,SquarePause:Rv,SquarePauseIcon:Rv,SquarePen:Ve,SquarePenIcon:Ve,SquarePercent:Bo,SquarePercentIcon:Bo,SquarePi:Ro,SquarePiIcon:Ro,SquarePilcrow:Fo,SquarePilcrowIcon:Fo,SquarePlay:Eo,SquarePlayIcon:Eo,SquarePlus:Oo,SquarePlusIcon:Oo,SquarePower:Uo,SquarePowerIcon:Uo,SquareRadical:Fv,SquareRadicalIcon:Fv,SquareRoundCorner:Ev,SquareRoundCornerIcon:Ev,SquareScissors:Wo,SquareScissorsIcon:Wo,SquareSigma:Go,SquareSigmaIcon:Go,SquareSlash:Zo,SquareSlashIcon:Zo,SquareSplitHorizontal:Ko,SquareSplitHorizontalIcon:Ko,SquareSplitVertical:Xo,SquareSplitVerticalIcon:Xo,SquareSquare:Ov,SquareSquareIcon:Ov,SquareStack:Uv,SquareStackIcon:Uv,SquareStar:Wv,SquareStarIcon:Wv,SquareStop:Gv,SquareStopIcon:Gv,SquareTerminal:Yo,SquareTerminalIcon:Yo,SquareUser:Qo,SquareUserIcon:Qo,SquareUserRound:Jo,SquareUserRoundIcon:Jo,SquareX:ec,SquareXIcon:ec,SquaresExclude:Kv,SquaresExcludeIcon:Kv,SquaresIntersect:Xv,SquaresIntersectIcon:Xv,SquaresSubtract:Yv,SquaresSubtractIcon:Yv,SquaresUnite:Jv,SquaresUniteIcon:Jv,Squircle:e9,SquircleDashed:Qv,SquircleDashedIcon:Qv,SquircleIcon:e9,Squirrel:t9,SquirrelIcon:t9,Stamp:a9,StampIcon:a9,Star:i9,StarHalf:n9,StarHalfIcon:n9,StarIcon:i9,StarOff:o9,StarOffIcon:o9,Stars:ao,StarsIcon:ao,StepBack:c9,StepBackIcon:c9,StepForward:r9,StepForwardIcon:r9,Stethoscope:s9,StethoscopeIcon:s9,Sticker:d9,StickerIcon:d9,StickyNote:l9,StickyNoteIcon:l9,StopCircle:Ta,StopCircleIcon:Ta,Store:h9,StoreIcon:h9,StretchHorizontal:u9,StretchHorizontalIcon:u9,StretchVertical:p9,StretchVerticalIcon:p9,Strikethrough:y9,StrikethroughIcon:y9,Subscript:k9,SubscriptIcon:k9,Subtitles:Yt,SubtitlesIcon:Yt,Sun:_9,SunDim:m9,SunDimIcon:m9,SunIcon:_9,SunMedium:f9,SunMediumIcon:f9,SunMoon:g9,SunMoonIcon:g9,SunSnow:v9,SunSnowIcon:v9,Sunrise:M9,SunriseIcon:M9,Sunset:x9,SunsetIcon:x9,Superscript:L9,SuperscriptIcon:L9,SwatchBook:I9,SwatchBookIcon:I9,SwissFranc:b9,SwissFrancIcon:b9,SwitchCamera:w9,SwitchCameraIcon:w9,Sword:C9,SwordIcon:C9,Swords:S9,SwordsIcon:S9,Syringe:N9,SyringeIcon:N9,Table:T9,Table2:j9,Table2Icon:j9,TableCellsMerge:$9,TableCellsMergeIcon:$9,TableCellsSplit:q9,TableCellsSplitIcon:q9,TableColumnsSplit:A9,TableColumnsSplitIcon:A9,TableConfig:tt,TableConfigIcon:tt,TableIcon:T9,TableOfContents:z9,TableOfContentsIcon:z9,TableProperties:V9,TablePropertiesIcon:V9,TableRowsSplit:P9,TableRowsSplitIcon:P9,Tablet:D9,TabletIcon:D9,TabletSmartphone:H9,TabletSmartphoneIcon:H9,Tablets:B9,TabletsIcon:B9,Tag:R9,TagIcon:R9,Tags:F9,TagsIcon:F9,Tally1:E9,Tally1Icon:E9,Tally2:O9,Tally2Icon:O9,Tally3:U9,Tally3Icon:U9,Tally4:W9,Tally4Icon:W9,Tally5:G9,Tally5Icon:G9,Tangent:Z9,TangentIcon:Z9,Target:K9,TargetIcon:K9,Telescope:X9,TelescopeIcon:X9,Tent:J9,TentIcon:J9,TentTree:Y9,TentTreeIcon:Y9,Terminal:Q9,TerminalIcon:Q9,TerminalSquare:Yo,TerminalSquareIcon:Yo,TestTube:eM,TestTube2:tc,TestTube2Icon:tc,TestTubeDiagonal:tc,TestTubeDiagonalIcon:tc,TestTubeIcon:eM,TestTubes:tM,TestTubesIcon:tM,Text:iM,TextCursor:nM,TextCursorIcon:nM,TextCursorInput:aM,TextCursorInputIcon:aM,TextIcon:iM,TextQuote:oM,TextQuoteIcon:oM,TextSearch:cM,TextSearchIcon:cM,TextSelect:ac,TextSelectIcon:ac,TextSelection:ac,TextSelectionIcon:ac,Theater:rM,TheaterIcon:rM,Thermometer:hM,ThermometerIcon:hM,ThermometerSnowflake:sM,ThermometerSnowflakeIcon:sM,ThermometerSun:dM,ThermometerSunIcon:dM,ThumbsDown:lM,ThumbsDownIcon:lM,ThumbsUp:uM,ThumbsUpIcon:uM,Ticket:vM,TicketCheck:pM,TicketCheckIcon:pM,TicketIcon:vM,TicketMinus:yM,TicketMinusIcon:yM,TicketPercent:kM,TicketPercentIcon:kM,TicketPlus:mM,TicketPlusIcon:mM,TicketSlash:fM,TicketSlashIcon:fM,TicketX:gM,TicketXIcon:gM,Tickets:_M,TicketsIcon:_M,TicketsPlane:MM,TicketsPlaneIcon:MM,Timer:IM,TimerIcon:IM,TimerOff:xM,TimerOffIcon:xM,TimerReset:LM,TimerResetIcon:LM,ToggleLeft:bM,ToggleLeftIcon:bM,ToggleRight:wM,ToggleRightIcon:wM,Toilet:CM,ToiletIcon:CM,ToolCase:NM,ToolCaseIcon:NM,Tornado:jM,TornadoIcon:jM,Torus:SM,TorusIcon:SM,Touchpad:qM,TouchpadIcon:qM,TouchpadOff:$M,TouchpadOffIcon:$M,TowerControl:zM,TowerControlIcon:zM,ToyBrick:AM,ToyBrickIcon:AM,Tractor:VM,TractorIcon:VM,TrafficCone:PM,TrafficConeIcon:PM,Train:nc,TrainFront:HM,TrainFrontIcon:HM,TrainFrontTunnel:TM,TrainFrontTunnelIcon:TM,TrainIcon:nc,TrainTrack:DM,TrainTrackIcon:DM,TramFront:nc,TramFrontIcon:nc,Transgender:BM,TransgenderIcon:BM,Trash:RM,Trash2:Nt,Trash2Icon:Nt,TrashIcon:RM,TreeDeciduous:FM,TreeDeciduousIcon:FM,TreePalm:oc,TreePalmIcon:oc,TreePine:EM,TreePineIcon:EM,Trees:OM,TreesIcon:OM,Trello:UM,TrelloIcon:UM,TrendingDown:WM,TrendingDownIcon:WM,TrendingUp:GM,TrendingUpDown:ZM,TrendingUpDownIcon:ZM,TrendingUpIcon:GM,Triangle:XM,TriangleAlert:cc,TriangleAlertIcon:cc,TriangleDashed:KM,TriangleDashedIcon:KM,TriangleIcon:XM,TriangleRight:YM,TriangleRightIcon:YM,Trophy:JM,TrophyIcon:JM,Truck:e_,TruckElectric:QM,TruckElectricIcon:QM,TruckIcon:e_,TurkishLira:t_,TurkishLiraIcon:t_,Turntable:a_,TurntableIcon:a_,Turtle:n_,TurtleIcon:n_,Tv:c_,Tv2:ic,Tv2Icon:ic,TvIcon:c_,TvMinimal:ic,TvMinimalIcon:ic,TvMinimalPlay:o_,TvMinimalPlayIcon:o_,Twitch:i_,TwitchIcon:i_,Twitter:r_,TwitterIcon:r_,Type:d_,TypeIcon:d_,TypeOutline:s_,TypeOutlineIcon:s_,Umbrella:h_,UmbrellaIcon:h_,UmbrellaOff:l_,UmbrellaOffIcon:l_,Underline:u_,UnderlineIcon:u_,Undo:k_,Undo2:p_,Undo2Icon:p_,UndoDot:y_,UndoDotIcon:y_,UndoIcon:k_,UnfoldHorizontal:m_,UnfoldHorizontalIcon:m_,UnfoldVertical:f_,UnfoldVerticalIcon:f_,Ungroup:g_,UngroupIcon:g_,University:rc,UniversityIcon:rc,Unlink:x_,Unlink2:v_,Unlink2Icon:v_,UnlinkIcon:x_,Unlock:Nn,UnlockIcon:Nn,UnlockKeyhole:Cn,UnlockKeyholeIcon:Cn,Unplug:M_,UnplugIcon:M_,Upload:__,UploadCloud:Ea,UploadCloudIcon:Ea,UploadIcon:__,Usb:L_,UsbIcon:L_,User:z_,User2:pc,User2Icon:pc,UserCheck:I_,UserCheck2:sc,UserCheck2Icon:sc,UserCheckIcon:I_,UserCircle:Da,UserCircle2:Ha,UserCircle2Icon:Ha,UserCircleIcon:Da,UserCog:b_,UserCog2:dc,UserCog2Icon:dc,UserCogIcon:b_,UserIcon:z_,UserLock:w_,UserLockIcon:w_,UserMinus:C_,UserMinus2:lc,UserMinus2Icon:lc,UserMinusIcon:C_,UserPen:N_,UserPenIcon:N_,UserPlus:M1,UserPlus2:hc,UserPlus2Icon:hc,UserPlusIcon:M1,UserRound:pc,UserRoundCheck:sc,UserRoundCheckIcon:sc,UserRoundCog:dc,UserRoundCogIcon:dc,UserRoundIcon:pc,UserRoundMinus:lc,UserRoundMinusIcon:lc,UserRoundPen:S_,UserRoundPenIcon:S_,UserRoundPlus:hc,UserRoundPlusIcon:hc,UserRoundSearch:j_,UserRoundSearchIcon:j_,UserRoundX:uc,UserRoundXIcon:uc,UserSearch:$_,UserSearchIcon:$_,UserSquare:Qo,UserSquare2:Jo,UserSquare2Icon:Jo,UserSquareIcon:Qo,UserStar:q_,UserStarIcon:q_,UserX:A_,UserX2:uc,UserX2Icon:uc,UserXIcon:A_,Users:V_,Users2:yc,Users2Icon:yc,UsersIcon:V_,UsersRound:yc,UsersRoundIcon:yc,Utensils:mc,UtensilsCrossed:kc,UtensilsCrossedIcon:kc,UtensilsIcon:mc,UtilityPole:P_,UtilityPoleIcon:P_,Variable:T_,VariableIcon:T_,Vault:H_,VaultIcon:H_,VectorSquare:D_,VectorSquareIcon:D_,Vegan:B_,VeganIcon:B_,VenetianMask:R_,VenetianMaskIcon:R_,Venus:U_,VenusAndMars:F_,VenusAndMarsIcon:F_,VenusIcon:U_,Verified:Ut,VerifiedIcon:Ut,Vibrate:O_,VibrateIcon:O_,VibrateOff:E_,VibrateOffIcon:E_,Video:G_,VideoIcon:G_,VideoOff:W_,VideoOffIcon:W_,Videotape:Z_,VideotapeIcon:Z_,View:X_,ViewIcon:X_,Voicemail:K_,VoicemailIcon:K_,Volleyball:Y_,VolleyballIcon:Y_,Volume:nx,Volume1:J_,Volume1Icon:J_,Volume2:Q_,Volume2Icon:Q_,VolumeIcon:nx,VolumeOff:ex,VolumeOffIcon:ex,VolumeX:tx,VolumeXIcon:tx,Vote:ax,VoteIcon:ax,Wallet:cx,Wallet2:fc,Wallet2Icon:fc,WalletCards:ox,WalletCardsIcon:ox,WalletIcon:cx,WalletMinimal:fc,WalletMinimalIcon:fc,Wallpaper:ix,WallpaperIcon:ix,Wand:rx,Wand2:gc,Wand2Icon:gc,WandIcon:rx,WandSparkles:gc,WandSparklesIcon:gc,Warehouse:sx,WarehouseIcon:sx,WashingMachine:dx,WashingMachineIcon:dx,Watch:lx,WatchIcon:lx,Waves:ux,WavesIcon:ux,WavesLadder:hx,WavesLadderIcon:hx,Waypoints:px,WaypointsIcon:px,Webcam:yx,WebcamIcon:yx,Webhook:fx,WebhookIcon:fx,WebhookOff:kx,WebhookOffIcon:kx,Weight:mx,WeightIcon:mx,Wheat:vx,WheatIcon:vx,WheatOff:gx,WheatOffIcon:gx,WholeWord:Mx,WholeWordIcon:Mx,Wifi:Nx,WifiCog:_x,WifiCogIcon:_x,WifiHigh:xx,WifiHighIcon:xx,WifiIcon:Nx,WifiLow:Lx,WifiLowIcon:Lx,WifiOff:Ix,WifiOffIcon:Ix,WifiPen:bx,WifiPenIcon:bx,WifiSync:wx,WifiSyncIcon:wx,WifiZero:Cx,WifiZeroIcon:Cx,Wind:jx,WindArrowDown:Sx,WindArrowDownIcon:Sx,WindIcon:jx,Wine:qx,WineIcon:qx,WineOff:$x,WineOffIcon:$x,Workflow:Ax,WorkflowIcon:Ax,Worm:zx,WormIcon:zx,WrapText:Vx,WrapTextIcon:Vx,Wrench:Px,WrenchIcon:Px,X:Ge,XCircle:Mt,XCircleIcon:Mt,XIcon:Ge,XOctagon:Pn,XOctagonIcon:Pn,XSquare:ec,XSquareIcon:ec,Youtube:Hx,YoutubeIcon:Hx,Zap:Dx,ZapIcon:Dx,ZapOff:Tx,ZapOffIcon:Tx,ZoomIn:Bx,ZoomInIcon:Bx,ZoomOut:Rx,ZoomOutIcon:Rx,createLucideIcon:a.createLucideIcon,icons:Gse},Symbol.toStringTag,{value:"Module"})),Zse=({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,g=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(wb,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(cj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(wb,{...g})})]})]}),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}})})]})},ij=k.createContext(void 0),ct=()=>{const e=k.useContext(ij);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},Kse=({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,g)=>{p(f=>({...f,[m]:g}))};return c.jsx(ij.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},rj=({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:g}=ct();k.useEffect(()=>{if(!i)return;const x=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",x),()=>document.removeEventListener("mousedown",x)},[i]),k.useEffect(()=>{if(d&&o==="auto"&&y.current){const x=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(x.left<v?"left":"right")}},[d,o]);const f=t?ht[t]:null,M=o==="auto"?h:o;return c.jsxs("div",{className:"dropdown",ref:p,children:[c.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(x=>!x),"aria-expanded":d,"aria-haspopup":"true",children:[f&&c.jsx(f,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((x,v)=>c.jsxs("div",{className:"dropdown-category",children:[x.title&&c.jsx("div",{className:"category-title",children:x.title}),c.jsx("div",{className:"category-items",children:x.items.map((I,w)=>{const C=I.id??I.label,b=m===C||g===C,_=I.select??r;if(I.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return c.jsx("div",{className:"dropdown-language"},w);const S=Array.isArray(_.options)?_.options:[],$=S.some(q=>q.code===_.value)?S:[{code:_.value??"",label:String(_.value??"")},...S];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:q=>{const P=q.target.value;try{_.onChange(P)}catch(H){console.error("select onChange error",H)}},children:$.map(q=>c.jsx("option",{value:q.code,children:q.label},q.code))})},w)}const L={className:`dropdown-item ${b?"active":""}`,onClick:()=>{I.onClick?.(),l(!1)},role:I.type==="button"||!I.href?"button":void 0};return I.type==="button"||!I.href?c.jsx("button",{type:"button",...L,children:I.label},w):c.jsx("a",{...L,href:I.href,children:I.label},w)})})]},v))]})]})},sj=({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:g,onSwap:f,draggable:M=!1,displayNone:x=!1})=>{const[v,I]=k.useState([]);k.useEffect(()=>{const L=q=>{const P=[];return k.Children.forEach(q,H=>{Array.isArray(H)?P.push(...L(H)):k.isValidElement(H)&&P.push(H)}),P},j=L(e).filter(q=>k.isValidElement(q)).map(q=>{let P="";const H=q.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:q,classes:P}});let $=j;g&&g.length>0&&($=j.map((q,P)=>({...q,node:j[g[P]]?.node??q.node}))),I($)},[e]);const w=(L,S)=>{L.stopPropagation(),L.dataTransfer.setData("dragIndex",S.toString()),L.dataTransfer.setData("parentKey",p.toString())},C=L=>{L.preventDefault(),L.stopPropagation()},b=(L,S)=>{L.preventDefault();const j=Number(L.dataTransfer.getData("dragIndex")),$=Number(L.dataTransfer.getData("parentKey"));if(t&&$!==p)return;const q=[...v];let P=-1,H=-1;if(q.forEach((N,V)=>{if(k.isValidElement(N.node)){const T=N.node.props;T.uniqueKey===S&&(P=V),T.uniqueKey===j&&(H=V)}}),P===-1||H===-1)return;const z=q[H].node;q[H]={...q[H],node:q[P].node},q[P]={...q[P],node:z},I(q),typeof f=="function"&&f(H,P)},_=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 ${_}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(L=>L.node.type?.displayName==="Grid"?M?c.jsx("div",{draggable:!0,onDragStart:S=>w(S,L.node?.props?.uniqueKey),onDragOver:S=>C(S),onDrop:S=>b(S,L.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${L.classes} ${L.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:L.node},L.node?.props?.uniqueKey):c.jsx("div",{className:`grid-item ${L.classes} ${L.node?.props?.displayNone?"grid-display-none":""}`,children:L.node},L.node?.props?.uniqueKey):L.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})};sj.displayName="Grid";const tw=({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"})},Cb=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=ct(),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})},dj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ct(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),g=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const I=y.current.parentNode?.parentElement?.offsetWidth||0;d(I*.8<y.current.offsetWidth||I<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(l&&i==="auto"&&m.current){const v=m.current.getBoundingClientRect(),I=window.innerWidth/2;p(v.left<I?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=I=>{g.current&&!g.current.contains(I.target)&&m.current&&!m.current.contains(I.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const f=v=>{t?.(v),h(!1)},M=e.find(v=>v.id===r)||e[0],x=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:m,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[M.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:g,className:`navbar-dropdown ${x}`,children:e.map(v=>c.jsx(Cb,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:f,highlightColor:n},v.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(v=>c.jsx(Cb,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:f,highlightColor:n},v.id))})})},lj=k.createContext(void 0),Xse=({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(lj.Provider,{value:{themeName:n,setTheme:i},children:e})},hj=()=>{const e=k.useContext(lj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},oL=()=>{const{themeName:e,setTheme:t}=hj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},q1=({colors:e={},leftIcon:t,rightIcon:n,checked:o=!1,onToggle:i,size:r=24,className:s="",style:d})=>{const l=()=>i?.(!o),h=u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),l())};return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,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:l,onKeyDown:h,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})]})]})},Nb=({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}=oL(),[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(q1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},Yse=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),Ww=k.memo(Yse),uj=k.createContext(void 0),Jse=({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(uj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},pj=()=>{const e=k.useContext(uj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Zx=({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})=>{const{isDraggable:i,switchDraggable:r}=pj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(q1,{leftIcon:e||c.jsx(Ww,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Ww,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},Qse=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),Gw=k.memo(Qse),yj=k.createContext(void 0),e2e=({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(yj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},kj=()=>{const e=k.useContext(yj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},Kx=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:o=24})=>{const{disableLegendFilter:i,switchDisableLegendFilter:r}=kj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(q1,{leftIcon:e||c.jsx(Gw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Gw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},mj=k.createContext(void 0),t2e=({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(mj.Provider,{value:{showData:t,switchShowData:o},children:e})},fj=()=>{const e=k.useContext(mj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},a2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),Zw=k.memo(a2e),Xx=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"}})=>{const{showData:n,switchShowData:o}=fj(),[i,r]=k.useState(!1);return k.useEffect(()=>{r(!0)},[]),i?c.jsx(q1,{checked:n,onToggle:s=>o(s),size:e,leftIcon:c.jsx(Zw,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Zw,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t}):null},n2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),gj=k.memo(n2e);function Sb({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,g)=>{u(f=>f.map(M=>M.component_key===m&&g>3?{...M,visible:!M.visible}:M))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(m=>!m),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(gj,{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,g)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:m.visible,disabled:g<4,onChange:()=>p(m.component_key,g),style:{marginRight:8}}),c.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:m.label}),g<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 o2e=({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}=ct(),g=m?.draggable===!0,f=m?.showData===!0,M=m?.legendFilter===!0,x=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(tw,{imagePath:e})}),c.jsx(dj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[g&&c.jsx(Zx,{}),f&&c.jsx(Xx,{}),M&&c.jsx(Kx,{}),c.jsx(Nb,{}),x&&c.jsx(Sb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(rj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[g&&c.jsx(Zx,{}),f&&c.jsx(Xx,{}),M&&c.jsx(Kx,{}),c.jsx(Nb,{}),x&&c.jsx(Sb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},vj=({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})]})},Mj=({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(rj,{logo:"BarChart",position:"right",categories:o})})]}),c2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=ct();return c.jsx(Mj,{style:n,item:o,children:e?.map(r=>c.jsx(vj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},_j=({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})]})]})},aw=k.createContext({});function jt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const nw=typeof window<"u",ow=nw?k.useLayoutEffect:k.useEffect,cL=k.createContext(null);function cw(e,t){e.indexOf(t)===-1&&e.push(t)}function iw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function i2e([...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 jb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Wc=()=>{},Ke=()=>{};process.env.NODE_ENV!=="production"&&(Wc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(jb(t,n))},Ke=(e,t,n)=>{if(!e)throw new Error(jb(t,n))});const pt={},xj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Lj(e){return typeof e=="object"&&e!==null}const Ij=e=>/^0[^.\s]+$/u.test(e);function rw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ee=e=>e,r2e=(e,t)=>n=>t(e(n)),A1=(...e)=>e.reduce(r2e),w1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class sw{constructor(){this.subscriptions=[]}add(t){return cw(this.subscriptions,t),()=>iw(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 Ze=e=>e*1e3,Fe=e=>e/1e3;function bj(e,t){return t?e*(1e3/t):0}const Kw=new Set;function dw(e,t,n){e||Kw.has(t)||(console.warn(jb(t,n)),Kw.add(t))}const wj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,s2e=1e-7,d2e=12;function l2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=wj(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>s2e&&++d<d2e);return s}function z1(e,t,n,o){if(e===t&&n===o)return Ee;const i=r=>l2e(r,0,1,e,n);return r=>r===0||r===1?r:wj(i(r),t,o)}const Cj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nj=e=>t=>1-e(1-t),Sj=z1(.33,1.53,.69,.99),lw=Nj(Sj),jj=Cj(lw),$j=e=>(e*=2)<1?.5*lw(e):.5*(2-Math.pow(2,-10*(e-1))),hw=e=>1-Math.sin(Math.acos(e)),qj=Nj(hw),Aj=Cj(hw),h2e=z1(.42,0,1,1),u2e=z1(0,0,.58,1),zj=z1(.42,0,.58,1),p2e=e=>Array.isArray(e)&&typeof e[0]!="number",Vj=e=>Array.isArray(e)&&typeof e[0]=="number",Xw={linear:Ee,easeIn:h2e,easeInOut:zj,easeOut:u2e,circIn:hw,circInOut:Aj,circOut:qj,backIn:lw,backInOut:jj,backOut:Sj,anticipate:$j},y2e=e=>typeof e=="string",Yw=e=>{if(Vj(e)){Ke(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return z1(t,n,o,i)}else if(y2e(e))return Ke(Xw[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Xw[e];return e},B1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function k2e(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 g=y&&i?n:o;return p&&s.add(u),g.has(u)||g.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 m2e=40;function Pj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=B1.reduce((I,w)=>(I[w]=k2e(r),I),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:m,postRender:g}=s,f=()=>{const I=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(I-i.timestamp,m2e),1)),i.timestamp=I,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),m.process(i),g.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(f))},M=()=>{n=!0,o=!0,i.isProcessing||e(f)};return{schedule:B1.reduce((I,w)=>{const C=s[w];return I[w]=(b,_=!1,L=!1)=>(n||M(),C.schedule(b,_,L)),I},{}),cancel:I=>{for(let w=0;w<B1.length;w++)s[B1[w]].cancel(I)},state:i,steps:s}}const{schedule:oe,cancel:yt,state:Me,steps:NL}=Pj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ee,!0);let Fx;function f2e(){Fx=void 0}const Ae={now:()=>(Fx===void 0&&Ae.set(Me.isProcessing||pt.useManualTiming?Me.timestamp:performance.now()),Fx),set:e=>{Fx=e,queueMicrotask(f2e)}},Tj=e=>t=>typeof t=="string"&&t.startsWith(e),uw=Tj("--"),g2e=Tj("var(--"),pw=e=>g2e(e)?v2e.test(e.split("/*")[0].trim()):!1,v2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Gc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},C1={...Gc,transform:e=>ut(0,1,e)},R1={...Gc,default:1},_1=e=>Math.round(e*1e5)/1e5,yw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function M2e(e){return e==null}const _2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kw=(e,t)=>n=>!!(typeof n=="string"&&_2e.test(n)&&n.startsWith(e)||t&&!M2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Hj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(yw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},x2e=e=>ut(0,255,e),SL={...Gc,transform:e=>Math.round(x2e(e))},Mc={test:kw("rgb","red"),parse:Hj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+SL.transform(e)+", "+SL.transform(t)+", "+SL.transform(n)+", "+_1(C1.transform(o))+")"};function L2e(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 $b={test:kw("#"),parse:L2e,transform:Mc.transform},V1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),vt=V1("deg"),ot=V1("%"),O=V1("px"),I2e=V1("vh"),b2e=V1("vw"),Jw={...ot,parse:e=>ot.parse(e)/100,transform:e=>ot.transform(e*100)},zc={test:kw("hsl","hue"),parse:Hj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ot.transform(_1(t))+", "+ot.transform(_1(n))+", "+_1(C1.transform(o))+")"},pe={test:e=>Mc.test(e)||$b.test(e)||zc.test(e),parse:e=>Mc.test(e)?Mc.parse(e):zc.test(e)?zc.parse(e):$b.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Mc.transform(e):zc.transform(e),getAnimatableNone:e=>{const t=pe.parse(e);return t.alpha=0,pe.transform(t)}},w2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function C2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(yw)?.length||0)+(e.match(w2e)?.length||0)>0}const Dj="number",Bj="color",N2e="var",S2e="var(",Qw="${}",j2e=/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 N1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(j2e,l=>(pe.test(l)?(o.color.push(r),i.push(Bj),n.push(pe.parse(l))):l.startsWith(S2e)?(o.var.push(r),i.push(N2e),n.push(l)):(o.number.push(r),i.push(Dj),n.push(parseFloat(l))),++r,Qw)).split(Qw);return{values:n,split:d,indexes:o,types:i}}function Rj(e){return N1(e).values}function Fj(e){const{split:t,types:n}=N1(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===Dj?r+=_1(i[s]):d===Bj?r+=pe.transform(i[s]):r+=i[s]}return r}}const $2e=e=>typeof e=="number"?0:pe.test(e)?pe.getAnimatableNone(e):e;function q2e(e){const t=Rj(e);return Fj(e)(t.map($2e))}const St={test:C2e,parse:Rj,createTransformer:Fj,getAnimatableNone:q2e};function jL(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 A2e({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=jL(l,d,e+1/3),r=jL(l,d,e),s=jL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function Yx(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,$L=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},z2e=[$b,Mc,zc],V2e=e=>z2e.find(t=>t.test(e));function eC(e){const t=V2e(e);if(Wc(!!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===zc&&(n=A2e(n)),n}const tC=(e,t)=>{const n=eC(e),o=eC(t);if(!n||!o)return Yx(e,t);const i={...n};return r=>(i.red=$L(n.red,o.red,r),i.green=$L(n.green,o.green,r),i.blue=$L(n.blue,o.blue,r),i.alpha=ie(n.alpha,o.alpha,r),Mc.transform(i))},qb=new Set(["none","hidden"]);function P2e(e,t){return qb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function T2e(e,t){return n=>ie(e,t,n)}function mw(e){return typeof e=="number"?T2e:typeof e=="string"?pw(e)?Yx:pe.test(e)?tC:B2e:Array.isArray(e)?Ej:typeof e=="object"?pe.test(e)?tC:H2e:Yx}function Ej(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>mw(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function H2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=mw(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function D2e(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 B2e=(e,t)=>{const n=St.createTransformer(t),o=N1(e),i=N1(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?qb.has(e)&&!i.values.length||qb.has(t)&&!o.values.length?P2e(e,t):A1(Ej(D2e(o,i),i.values),n):(Wc(!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"),Yx(e,t))};function Oj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):mw(e)(e,t)}const R2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>oe.update(t,n),stop:()=>yt(t),now:()=>Me.isProcessing?Me.timestamp:Ae.now()}},Uj=(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)})`},Jx=2e4;function fw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<Jx;)t+=n,o=e.next(t);return t>=Jx?1/0:t}function F2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(fw(o),Jx);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Fe(i)}}const E2e=5;function Wj(e,t,n){const o=Math.max(t-E2e,0);return bj(n-e(o),t-o)}const de={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},qL=.001;function O2e({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:o=de.mass}){let i,r;Wc(e<=Ze(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(de.minDamping,de.maxDamping,s),e=ut(de.minDuration,de.maxDuration,Fe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Ab(h,s),g=Math.exp(-p);return qL-y/m*g},r=h=>{const p=h*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(h,2)*e,g=Math.exp(-p),f=Ab(Math.pow(h,2),s);return(-i(h)+qL>0?-1:1)*((y-m)*g)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-qL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=W2e(i,r,d);if(e=Ze(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const U2e=12;function W2e(e,t,n){let o=n;for(let i=1;i<U2e;i++)o=o-e(o)/t(o);return o}function Ab(e,t){return e*Math.sqrt(1-t*t)}const G2e=["duration","bounce"],Z2e=["stiffness","damping","mass"];function aC(e,t){return t.some(n=>e[n]!==void 0)}function K2e(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!aC(e,Z2e)&&aC(e,G2e))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:de.mass,stiffness:i,damping:r}}else{const n=O2e(e);t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function Qx(e=de.visualDuration,t=de.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}=K2e({...n,velocity:-Fe(n.velocity||0)}),g=y||0,f=h/(2*Math.sqrt(l*u)),M=s-r,x=Fe(Math.sqrt(l/u)),v=Math.abs(M)<5;o||(o=v?de.restSpeed.granular:de.restSpeed.default),i||(i=v?de.restDelta.granular:de.restDelta.default);let I;if(f<1){const C=Ab(x,f);I=b=>{const _=Math.exp(-f*x*b);return s-_*((g+f*x*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(f===1)I=C=>s-Math.exp(-x*C)*(M+(g+x*M)*C);else{const C=x*Math.sqrt(f*f-1);I=b=>{const _=Math.exp(-f*x*b),L=Math.min(C*b,300);return s-_*((g+f*x*M)*Math.sinh(L)+C*M*Math.cosh(L))/C}}const w={calculatedDuration:m&&p||null,next:C=>{const b=I(C);if(m)d.done=C>=p;else{let _=C===0?g:0;f<1&&(_=C===0?Ze(g):Wj(I,C,b));const L=Math.abs(_)<=o,S=Math.abs(s-b)<=i;d.done=L&&S}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(fw(w),Jx),b=Uj(_=>w.next(C*_).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}Qx.applyToOptions=e=>{const t=F2e(e,100,Qx);return e.ease=t.ease,e.duration=Ze(t.duration),e.type="keyframes",e};function zb({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=L=>d!==void 0&&L<d||l!==void 0&&L>l,g=L=>d===void 0?l:l===void 0||Math.abs(d-L)<Math.abs(l-L)?d:l;let f=n*t;const M=p+f,x=s===void 0?M:s(M);x!==M&&(f=x-p);const v=L=>-f*Math.exp(-L/o),I=L=>x+v(L),w=L=>{const S=v(L),j=I(L);y.done=Math.abs(S)<=h,y.value=y.done?x:j};let C,b;const _=L=>{m(y.value)&&(C=L,b=Qx({keyframes:[y.value,g(y.value)],velocity:Wj(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return _(0),{calculatedDuration:null,next:L=>{let S=!1;return!b&&C===void 0&&(S=!0,w(L),_(L)),C!==void 0&&L>=C?b.next(L-C):(!S&&w(L),y)}}}function X2e(e,t,n){const o=[],i=n||pt.mix||Oj,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]||Ee:t;d=A1(l,d)}o.push(d)}return o}function Gj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ke(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=X2e(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=w1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function Y2e(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=w1(0,t,o);e.push(ie(n,1,i))}}function J2e(e){const t=[0];return Y2e(t,e.length-1),t}function Q2e(e,t){return e.map(n=>n*t)}function ede(e,t){return e.map(()=>t||zj).splice(0,e.length-1)}function Vc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=p2e(o)?o.map(Yw):Yw(o),r={done:!1,value:t[0]},s=Q2e(n&&n.length===t.length?n:J2e(t),e),d=Gj(s,t,{ease:Array.isArray(i)?i:ede(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const tde=e=>e!==null;function gw(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(tde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const ade={decay:zb,inertia:zb,tween:Vc,keyframes:Vc,spring:Qx};function Zj(e){typeof e.type=="string"&&(e.type=ade[e.type])}class vw{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 nde=e=>e/100;class Mw extends vw{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!==Ae.now()&&this.tick(Ae.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;Zj(t);const{type:n=Vc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Vc;process.env.NODE_ENV!=="production"&&l!==Vc&&Ke(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Vc&&typeof d[0]!="number"&&(this.mixKeyframes=A1(nde,Oj(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=fw(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:g,onUpdate:f,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const x=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?x<0:x>i;this.currentTime=Math.max(x,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let I=this.currentTime,w=o;if(p){const L=Math.min(this.currentTime,i)/d;let S=Math.floor(L),j=L%1;!j&&L>=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)),I=ut(0,1,j)*d}const C=v?{done:!1,value:u[0]}:w.next(I);r&&(C.value=r(C.value));let{done:b}=C;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return _&&g!==zb&&(C.value=gw(u,this.options,M,this.speed)),f&&f(C.value),_&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Fe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Fe(t)}get time(){return Fe(this.currentTime)}set time(t){t=Ze(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(Ae.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Fe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=R2e,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(Ae.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 ode(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const _c=e=>e*180/Math.PI,Vb=e=>{const t=_c(Math.atan2(e[1],e[0]));return Pb(t)},cde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vb,rotateZ:Vb,skewX:e=>_c(Math.atan(e[1])),skewY:e=>_c(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Pb=e=>(e=e%360,e<0&&(e+=360),e),nC=Vb,oC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),cC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ide={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:oC,scaleY:cC,scale:e=>(oC(e)+cC(e))/2,rotateX:e=>Pb(_c(Math.atan2(e[6],e[5]))),rotateY:e=>Pb(_c(Math.atan2(-e[2],e[0]))),rotateZ:nC,rotate:nC,skewX:e=>_c(Math.atan(e[4])),skewY:e=>_c(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Tb(e){return e.includes("scale")?1:0}function Hb(e,t){if(!e||e==="none")return Tb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=ide,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=cde,i=d}if(!i)return Tb(t);const r=o[t],s=i[1].split(",").map(sde);return typeof r=="function"?r(s):s[r]}const rde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Hb(n,t)};function sde(e){return parseFloat(e.trim())}const Zc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Kc=new Set(Zc),iC=e=>e===Gc||e===O,dde=new Set(["x","y","z"]),lde=Zc.filter(e=>!dde.has(e));function hde(e){const t=[];return lde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Ic={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})=>Hb(t,"x"),y:(e,{transform:t})=>Hb(t,"y")};Ic.translateX=Ic.x;Ic.translateY=Ic.y;const bc=new Set;let Db=!1,Bb=!1,Rb=!1;function Kj(){if(Bb){const e=Array.from(bc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=hde(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)})}Bb=!1,Db=!1,bc.forEach(e=>e.complete(Rb)),bc.clear()}function Xj(){bc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bb=!0)})}function ude(){Rb=!0,Xj(),Kj(),Rb=!1}class _w{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?(bc.add(this),Db||(Db=!0,oe.read(Xj),oe.resolveKeyframes(Kj))):(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])}ode(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),bc.delete(this)}cancel(){this.state==="scheduled"&&(bc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const pde=e=>e.startsWith("--");function yde(e,t,n){pde(t)?e.style.setProperty(t,n):e.style[t]=n}const kde=rw(()=>window.ScrollTimeline!==void 0),mde={};function fde(e,t){const n=rw(e);return()=>mde[t]??n()}const Yj=fde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),c1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,rC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:c1([0,.65,.55,1]),circOut:c1([.55,0,1,.45]),backIn:c1([.31,.01,.66,-.59]),backOut:c1([.33,1.53,.69,.99])};function Jj(e,t){if(e)return typeof e=="function"?Yj()?Uj(e,t):"ease-out":Vj(e)?c1(e):Array.isArray(e)?e.map(n=>Jj(n,t)||rC.easeOut):rC[e]}function gde(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=Jj(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 Qj(e){return typeof e=="function"&&"applyToOptions"in e}function vde({type:e,...t}){return Qj(e)&&Yj()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Mde extends vw{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,Ke(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=vde(t);this.animation=gde(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=gw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):yde(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 Fe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Fe(t)}get time(){return Fe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ze(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&&kde()?(this.animation.timeline=t,Ee):n(this)}}const e$={anticipate:$j,backInOut:jj,circInOut:Aj};function _de(e){return e in e$}function xde(e){typeof e.ease=="string"&&_de(e.ease)&&(e.ease=e$[e.ease])}const sC=10;class Lde extends Mde{constructor(t){xde(t),Zj(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 Mw({...s,autoplay:!1}),l=Ze(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-sC).value,d.sample(l).value,sC),d.stop()}}const dC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(St.test(e)||e==="0")&&!e.startsWith("url("));function Ide(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 bde(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=dC(i,t),d=dC(r,t);return Wc(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:Ide(e)||(n==="spring"||Qj(n))&&o}function Fb(e){e.duration=0,e.type="keyframes"}const wde=new Set(["opacity","clipPath","filter","transform"]),Cde=rw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Nde(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 Cde()&&n&&wde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Sde=40;class jde extends vw{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=Ae.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||_w;this.keyframeResolver=new m(d,(g,f,M)=>this.onKeyframesResolved(g,f,y,!M),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,o,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=o;this.resolvedAt=Ae.now(),bde(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(gw(t,o,n)),t[0]=t[t.length-1],Fb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Sde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&Nde(y)?new Lde({...y,element:y.motionValue.owner.current}):new Mw(y);m.finished.then(()=>this.notifyFinished()).catch(Ee),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(),ude()),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 $de=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qde(e){const t=$de.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Ade=4;function t$(e,t,n=1){Ke(n<=Ade,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=qde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return xj(s)?parseFloat(s):s}return pw(i)?t$(i,t,n+1):i}function xw(e,t){return e?.[t]??e?.default??e}const a$=new Set(["width","height","top","left","right","bottom",...Zc]),zde={test:e=>e==="auto",parse:e=>e},n$=e=>t=>t.test(e),o$=[Gc,O,ot,vt,b2e,I2e,zde],lC=e=>o$.find(n$(e));function Vde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ij(e):!0}const Pde=new Set(["brightness","contrast","saturate","opacity"]);function Tde(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(yw)||[];if(!o)return e;const i=n.replace(o,"");let r=Pde.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Hde=/\b([a-z-]*)\(.*?\)/gu,Eb={...St,getAnimatableNone:e=>{const t=e.match(Hde);return t?t.map(Tde).join(" "):e}},hC={...Gc,transform:Math.round},Dde={rotate:vt,rotateX:vt,rotateY:vt,rotateZ:vt,scale:R1,scaleX:R1,scaleY:R1,scaleZ:R1,skew:vt,skewX:vt,skewY:vt,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:C1,originX:Jw,originY:Jw,originZ:O},Lw={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,backgroundPositionX:O,backgroundPositionY:O,...Dde,zIndex:hC,fillOpacity:C1,strokeOpacity:C1,numOctaves:hC},Bde={...Lw,color:pe,backgroundColor:pe,outlineColor:pe,fill:pe,stroke:pe,borderColor:pe,borderTopColor:pe,borderRightColor:pe,borderBottomColor:pe,borderLeftColor:pe,filter:Eb,WebkitFilter:Eb},c$=e=>Bde[e];function i$(e,t){let n=c$(e);return n!==Eb&&(n=St),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Rde=new Set(["auto","none","0"]);function Fde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Rde.has(r)&&N1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=i$(n,i)}class Ede extends _w{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(),pw(h))){const u=t$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!a$.has(o)||t.length!==2)return;const[i,r]=t,s=lC(i),d=lC(r);if(s!==d)if(iC(s)&&iC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Ic[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Vde(t[i]))&&o.push(i);o.length&&Fde(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=Ic[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]=Ic[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 Ode(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 r$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function s$(e){return Lj(e)&&"offsetHeight"in e}const uC=30,Ude=e=>!isNaN(parseFloat(e)),x1={current:void 0};class Wde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=Ae.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=Ae.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Ude(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&dw(!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 sw);const o=this.events[t].add(n);return t==="change"?()=>{o(),oe.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 x1.current&&x1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ae.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,uC);return bj(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 wc(e,t){return new Wde(e,t)}const{schedule:Iw}=Pj(queueMicrotask,!1),We={x:!1,y:!1};function d$(){return We.x||We.y}function Gde(e){return e==="x"||e==="y"?We[e]?null:(We[e]=!0,()=>{We[e]=!1}):We.x||We.y?null:(We.x=We.y=!0,()=>{We.x=We.y=!1})}function l$(e,t){const n=Ode(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function pC(e){return!(e.pointerType==="touch"||d$())}function Zde(e,t,n={}){const[o,i,r]=l$(e,n),s=d=>{if(!pC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{pC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const h$=(e,t)=>t?e===t?!0:h$(e,t.parentElement):!1,bw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Kde=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Xde(e){return Kde.has(e.tagName)||e.tabIndex!==-1}const Ex=new WeakSet;function yC(e){return t=>{t.key==="Enter"&&e(t)}}function AL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Yde=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=yC(()=>{if(Ex.has(n))return;AL(n,"down");const i=yC(()=>{AL(n,"up")}),r=()=>AL(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 kC(e){return bw(e)&&!d$()}function Jde(e,t,n={}){const[o,i,r]=l$(e,n),s=d=>{const l=d.currentTarget;if(!kC(d))return;Ex.add(l);const h=t(l,d),u=(m,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Ex.has(l)&&Ex.delete(l),kC(m)&&typeof h=="function"&&h(m,{success:g})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||h$(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),s$(d)&&(d.addEventListener("focus",h=>Yde(h,i)),!Xde(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function u$(e){return Lj(e)&&"ownerSVGElement"in e}function Qde(e){return u$(e)&&e.tagName==="svg"}function e0e(...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=Gj(i,r,s);return t?d(o):d}const _e=e=>!!(e&&e.getVelocity),t0e=[...o$,pe,St],a0e=e=>t0e.find(n$(e)),iL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function mC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function n0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=mC(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():mC(e[i],null)}}}}function o0e(...e){return Z.useCallback(n0e(...e),e)}class c0e extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=s$(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 i0e({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(iL),l=o0e(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 g=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const f=document.createElement("style");d&&(f.nonce=d);const M=o??document.head;return M.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
8161
|
+
*/const ht=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:U1,AArrowDownIcon:U1,AArrowUp:W1,AArrowUpIcon:W1,ALargeSmall:G1,ALargeSmallIcon:G1,Accessibility:s1,AccessibilityIcon:s1,Activity:d1,ActivityIcon:d1,ActivitySquare:Lt,ActivitySquareIcon:Lt,AirVent:Z1,AirVentIcon:Z1,Airplay:K1,AirplayIcon:K1,AlarmCheck:Vt,AlarmCheckIcon:Vt,AlarmClock:Y1,AlarmClockCheck:Vt,AlarmClockCheckIcon:Vt,AlarmClockIcon:Y1,AlarmClockMinus:Pt,AlarmClockMinusIcon:Pt,AlarmClockOff:X1,AlarmClockOffIcon:X1,AlarmClockPlus:Tt,AlarmClockPlusIcon:Tt,AlarmMinus:Pt,AlarmMinusIcon:Pt,AlarmPlus:Tt,AlarmPlusIcon:Tt,AlarmSmoke:J1,AlarmSmokeIcon:J1,Album:Q1,AlbumIcon:Q1,AlertCircle:ha,AlertCircleIcon:ha,AlertOctagon:zn,AlertOctagonIcon:zn,AlertTriangle:cc,AlertTriangleIcon:cc,AlignCenter:ci,AlignCenterHorizontal:ei,AlignCenterHorizontalIcon:ei,AlignCenterIcon:ci,AlignCenterVertical:ti,AlignCenterVerticalIcon:ti,AlignEndHorizontal:ai,AlignEndHorizontalIcon:ai,AlignEndVertical:ni,AlignEndVerticalIcon:ni,AlignHorizontalDistributeCenter:oi,AlignHorizontalDistributeCenterIcon:oi,AlignHorizontalDistributeEnd:ii,AlignHorizontalDistributeEndIcon:ii,AlignHorizontalDistributeStart:ri,AlignHorizontalDistributeStartIcon:ri,AlignHorizontalJustifyCenter:si,AlignHorizontalJustifyCenterIcon:si,AlignHorizontalJustifyEnd:di,AlignHorizontalJustifyEndIcon:di,AlignHorizontalJustifyStart:li,AlignHorizontalJustifyStartIcon:li,AlignHorizontalSpaceAround:hi,AlignHorizontalSpaceAroundIcon:hi,AlignHorizontalSpaceBetween:pi,AlignHorizontalSpaceBetweenIcon:pi,AlignJustify:ui,AlignJustifyIcon:ui,AlignLeft:yi,AlignLeftIcon:yi,AlignRight:ki,AlignRightIcon:ki,AlignStartHorizontal:mi,AlignStartHorizontalIcon:mi,AlignStartVertical:fi,AlignStartVerticalIcon:fi,AlignVerticalDistributeCenter:vi,AlignVerticalDistributeCenterIcon:vi,AlignVerticalDistributeEnd:gi,AlignVerticalDistributeEndIcon:gi,AlignVerticalDistributeStart:_i,AlignVerticalDistributeStartIcon:_i,AlignVerticalJustifyCenter:Mi,AlignVerticalJustifyCenterIcon:Mi,AlignVerticalJustifyEnd:xi,AlignVerticalJustifyEndIcon:xi,AlignVerticalJustifyStart:Li,AlignVerticalJustifyStartIcon:Li,AlignVerticalSpaceAround:bi,AlignVerticalSpaceAroundIcon:bi,AlignVerticalSpaceBetween:Ii,AlignVerticalSpaceBetweenIcon:Ii,Ambulance:wi,AmbulanceIcon:wi,Ampersand:Ci,AmpersandIcon:Ci,Ampersands:Ni,AmpersandsIcon:Ni,Amphora:Si,AmphoraIcon:Si,Anchor:ji,AnchorIcon:ji,Angry:$i,AngryIcon:$i,Annoyed:qi,AnnoyedIcon:qi,Antenna:Ai,AntennaIcon:Ai,Anvil:zi,AnvilIcon:zi,Aperture:Vi,ApertureIcon:Vi,AppWindow:Ti,AppWindowIcon:Ti,AppWindowMac:Pi,AppWindowMacIcon:Pi,Apple:Hi,AppleIcon:Hi,Archive:Ri,ArchiveIcon:Ri,ArchiveRestore:Di,ArchiveRestoreIcon:Di,ArchiveX:Bi,ArchiveXIcon:Bi,AreaChart:Jt,AreaChartIcon:Jt,Armchair:Fi,ArmchairIcon:Fi,ArrowBigDown:Oi,ArrowBigDownDash:Ei,ArrowBigDownDashIcon:Ei,ArrowBigDownIcon:Oi,ArrowBigLeft:Wi,ArrowBigLeftDash:Ui,ArrowBigLeftDashIcon:Ui,ArrowBigLeftIcon:Wi,ArrowBigRight:Zi,ArrowBigRightDash:Gi,ArrowBigRightDashIcon:Gi,ArrowBigRightIcon:Zi,ArrowBigUp:Xi,ArrowBigUpDash:Ki,ArrowBigUpDashIcon:Ki,ArrowBigUpIcon:Xi,ArrowDown:ir,ArrowDown01:Yi,ArrowDown01Icon:Yi,ArrowDown10:Ji,ArrowDown10Icon:Ji,ArrowDownAZ:Ht,ArrowDownAZIcon:Ht,ArrowDownAz:Ht,ArrowDownAzIcon:Ht,ArrowDownCircle:ua,ArrowDownCircleIcon:ua,ArrowDownFromLine:Qi,ArrowDownFromLineIcon:Qi,ArrowDownIcon:ir,ArrowDownLeft:er,ArrowDownLeftFromCircle:ya,ArrowDownLeftFromCircleIcon:ya,ArrowDownLeftFromSquare:ro,ArrowDownLeftFromSquareIcon:ro,ArrowDownLeftIcon:er,ArrowDownLeftSquare:no,ArrowDownLeftSquareIcon:no,ArrowDownNarrowWide:tr,ArrowDownNarrowWideIcon:tr,ArrowDownRight:ar,ArrowDownRightFromCircle:ka,ArrowDownRightFromCircleIcon:ka,ArrowDownRightFromSquare:so,ArrowDownRightFromSquareIcon:so,ArrowDownRightIcon:ar,ArrowDownRightSquare:oo,ArrowDownRightSquareIcon:oo,ArrowDownSquare:co,ArrowDownSquareIcon:co,ArrowDownToDot:nr,ArrowDownToDotIcon:nr,ArrowDownToLine:or,ArrowDownToLineIcon:or,ArrowDownUp:cr,ArrowDownUpIcon:cr,ArrowDownWideNarrow:Dt,ArrowDownWideNarrowIcon:Dt,ArrowDownZA:Bt,ArrowDownZAIcon:Bt,ArrowDownZa:Bt,ArrowDownZaIcon:Bt,ArrowLeft:lr,ArrowLeftCircle:pa,ArrowLeftCircleIcon:pa,ArrowLeftFromLine:rr,ArrowLeftFromLineIcon:rr,ArrowLeftIcon:lr,ArrowLeftRight:sr,ArrowLeftRightIcon:sr,ArrowLeftSquare:io,ArrowLeftSquareIcon:io,ArrowLeftToLine:dr,ArrowLeftToLineIcon:dr,ArrowRight:yr,ArrowRightCircle:ga,ArrowRightCircleIcon:ga,ArrowRightFromLine:hr,ArrowRightFromLineIcon:hr,ArrowRightIcon:yr,ArrowRightLeft:ur,ArrowRightLeftIcon:ur,ArrowRightSquare:uo,ArrowRightSquareIcon:uo,ArrowRightToLine:pr,ArrowRightToLineIcon:pr,ArrowUp:Ir,ArrowUp01:kr,ArrowUp01Icon:kr,ArrowUp10:mr,ArrowUp10Icon:mr,ArrowUpAZ:Rt,ArrowUpAZIcon:Rt,ArrowUpAz:Rt,ArrowUpAzIcon:Rt,ArrowUpCircle:va,ArrowUpCircleIcon:va,ArrowUpDown:fr,ArrowUpDownIcon:fr,ArrowUpFromDot:gr,ArrowUpFromDotIcon:gr,ArrowUpFromLine:vr,ArrowUpFromLineIcon:vr,ArrowUpIcon:Ir,ArrowUpLeft:Mr,ArrowUpLeftFromCircle:ma,ArrowUpLeftFromCircleIcon:ma,ArrowUpLeftFromSquare:lo,ArrowUpLeftFromSquareIcon:lo,ArrowUpLeftIcon:Mr,ArrowUpLeftSquare:po,ArrowUpLeftSquareIcon:po,ArrowUpNarrowWide:Ft,ArrowUpNarrowWideIcon:Ft,ArrowUpRight:_r,ArrowUpRightFromCircle:fa,ArrowUpRightFromCircleIcon:fa,ArrowUpRightFromSquare:ho,ArrowUpRightFromSquareIcon:ho,ArrowUpRightIcon:_r,ArrowUpRightSquare:yo,ArrowUpRightSquareIcon:yo,ArrowUpSquare:ko,ArrowUpSquareIcon:ko,ArrowUpToLine:xr,ArrowUpToLineIcon:xr,ArrowUpWideNarrow:Lr,ArrowUpWideNarrowIcon:Lr,ArrowUpZA:Et,ArrowUpZAIcon:Et,ArrowUpZa:Et,ArrowUpZaIcon:Et,ArrowsUpFromLine:br,ArrowsUpFromLineIcon:br,Asterisk:wr,AsteriskIcon:wr,AsteriskSquare:mo,AsteriskSquareIcon:mo,AtSign:Cr,AtSignIcon:Cr,Atom:Nr,AtomIcon:Nr,AudioLines:Sr,AudioLinesIcon:Sr,AudioWaveform:jr,AudioWaveformIcon:jr,Award:$r,AwardIcon:$r,Axe:qr,AxeIcon:qr,Axis3D:Ot,Axis3DIcon:Ot,Axis3d:Ot,Axis3dIcon:Ot,Baby:Ar,BabyIcon:Ar,Backpack:zr,BackpackIcon:zr,Badge:Xr,BadgeAlert:Vr,BadgeAlertIcon:Vr,BadgeCent:Pr,BadgeCentIcon:Pr,BadgeCheck:Ut,BadgeCheckIcon:Ut,BadgeDollarSign:Tr,BadgeDollarSignIcon:Tr,BadgeEuro:Hr,BadgeEuroIcon:Hr,BadgeHelp:Wt,BadgeHelpIcon:Wt,BadgeIcon:Xr,BadgeIndianRupee:Dr,BadgeIndianRupeeIcon:Dr,BadgeInfo:Br,BadgeInfoIcon:Br,BadgeJapaneseYen:Fr,BadgeJapaneseYenIcon:Fr,BadgeMinus:Rr,BadgeMinusIcon:Rr,BadgePercent:Er,BadgePercentIcon:Er,BadgePlus:Or,BadgePlusIcon:Or,BadgePoundSterling:Ur,BadgePoundSterlingIcon:Ur,BadgeQuestionMark:Wt,BadgeQuestionMarkIcon:Wt,BadgeRussianRuble:Wr,BadgeRussianRubleIcon:Wr,BadgeSwissFranc:Gr,BadgeSwissFrancIcon:Gr,BadgeTurkishLira:Zr,BadgeTurkishLiraIcon:Zr,BadgeX:Kr,BadgeXIcon:Kr,BaggageClaim:Yr,BaggageClaimIcon:Yr,Ban:Jr,BanIcon:Jr,Banana:Qr,BananaIcon:Qr,Bandage:es,BandageIcon:es,Banknote:os,BanknoteArrowDown:ts,BanknoteArrowDownIcon:ts,BanknoteArrowUp:as,BanknoteArrowUpIcon:as,BanknoteIcon:os,BanknoteX:ns,BanknoteXIcon:ns,BarChart:ia,BarChart2:ra,BarChart2Icon:ra,BarChart3:oa,BarChart3Icon:oa,BarChart4:na,BarChart4Icon:na,BarChartBig:aa,BarChartBigIcon:aa,BarChartHorizontal:ea,BarChartHorizontalBig:Qt,BarChartHorizontalBigIcon:Qt,BarChartHorizontalIcon:ea,BarChartIcon:ia,Barcode:cs,BarcodeIcon:cs,Barrel:is,BarrelIcon:is,Baseline:rs,BaselineIcon:rs,Bath:ss,BathIcon:ss,Battery:ks,BatteryCharging:ds,BatteryChargingIcon:ds,BatteryFull:ls,BatteryFullIcon:ls,BatteryIcon:ks,BatteryLow:hs,BatteryLowIcon:hs,BatteryMedium:us,BatteryMediumIcon:us,BatteryPlus:ps,BatteryPlusIcon:ps,BatteryWarning:ys,BatteryWarningIcon:ys,Beaker:ms,BeakerIcon:ms,Bean:gs,BeanIcon:gs,BeanOff:fs,BeanOffIcon:fs,Bed:_s,BedDouble:vs,BedDoubleIcon:vs,BedIcon:_s,BedSingle:Ms,BedSingleIcon:Ms,Beef:xs,BeefIcon:xs,Beer:Is,BeerIcon:Is,BeerOff:Ls,BeerOffIcon:Ls,Bell:js,BellDot:bs,BellDotIcon:bs,BellElectric:ws,BellElectricIcon:ws,BellIcon:js,BellMinus:Cs,BellMinusIcon:Cs,BellOff:Ns,BellOffIcon:Ns,BellPlus:Ss,BellPlusIcon:Ss,BellRing:$s,BellRingIcon:$s,BetweenHorizonalEnd:Gt,BetweenHorizonalEndIcon:Gt,BetweenHorizonalStart:Zt,BetweenHorizonalStartIcon:Zt,BetweenHorizontalEnd:Gt,BetweenHorizontalEndIcon:Gt,BetweenHorizontalStart:Zt,BetweenHorizontalStartIcon:Zt,BetweenVerticalEnd:As,BetweenVerticalEndIcon:As,BetweenVerticalStart:qs,BetweenVerticalStartIcon:qs,BicepsFlexed:zs,BicepsFlexedIcon:zs,Bike:Ps,BikeIcon:Ps,Binary:Vs,BinaryIcon:Vs,Binoculars:Ts,BinocularsIcon:Ts,Biohazard:Hs,BiohazardIcon:Hs,Bird:Ds,BirdIcon:Ds,Bitcoin:Bs,BitcoinIcon:Bs,Blend:Rs,BlendIcon:Rs,Blinds:Fs,BlindsIcon:Fs,Blocks:Es,BlocksIcon:Es,Bluetooth:Gs,BluetoothConnected:Os,BluetoothConnectedIcon:Os,BluetoothIcon:Gs,BluetoothOff:Us,BluetoothOffIcon:Us,BluetoothSearching:Ws,BluetoothSearchingIcon:Ws,Bold:Zs,BoldIcon:Zs,Bolt:Ks,BoltIcon:Ks,Bomb:Xs,BombIcon:Xs,Bone:Ys,BoneIcon:Ys,Book:_2,BookA:Js,BookAIcon:Js,BookAlert:Qs,BookAlertIcon:Qs,BookAudio:e2,BookAudioIcon:e2,BookCheck:t2,BookCheckIcon:t2,BookCopy:a2,BookCopyIcon:a2,BookDashed:Kt,BookDashedIcon:Kt,BookDown:n2,BookDownIcon:n2,BookHeadphones:o2,BookHeadphonesIcon:o2,BookHeart:c2,BookHeartIcon:c2,BookIcon:_2,BookImage:i2,BookImageIcon:i2,BookKey:r2,BookKeyIcon:r2,BookLock:s2,BookLockIcon:s2,BookMarked:l2,BookMarkedIcon:l2,BookMinus:d2,BookMinusIcon:d2,BookOpen:p2,BookOpenCheck:h2,BookOpenCheckIcon:h2,BookOpenIcon:p2,BookOpenText:u2,BookOpenTextIcon:u2,BookPlus:y2,BookPlusIcon:y2,BookTemplate:Kt,BookTemplateIcon:Kt,BookText:k2,BookTextIcon:k2,BookType:m2,BookTypeIcon:m2,BookUp:g2,BookUp2:f2,BookUp2Icon:f2,BookUpIcon:g2,BookUser:v2,BookUserIcon:v2,BookX:M2,BookXIcon:M2,Bookmark:w2,BookmarkCheck:x2,BookmarkCheckIcon:x2,BookmarkIcon:w2,BookmarkMinus:L2,BookmarkMinusIcon:L2,BookmarkPlus:I2,BookmarkPlusIcon:I2,BookmarkX:b2,BookmarkXIcon:b2,BoomBox:C2,BoomBoxIcon:C2,Bot:j2,BotIcon:j2,BotMessageSquare:N2,BotMessageSquareIcon:N2,BotOff:S2,BotOffIcon:S2,BottleWine:$2,BottleWineIcon:$2,BowArrow:q2,BowArrowIcon:q2,Box:A2,BoxIcon:A2,BoxSelect:Co,BoxSelectIcon:Co,Boxes:z2,BoxesIcon:z2,Braces:Xt,BracesIcon:Xt,Brackets:V2,BracketsIcon:V2,Brain:H2,BrainCircuit:P2,BrainCircuitIcon:P2,BrainCog:T2,BrainCogIcon:T2,BrainIcon:H2,BrickWall:R2,BrickWallFire:D2,BrickWallFireIcon:D2,BrickWallIcon:R2,BrickWallShield:B2,BrickWallShieldIcon:B2,Briefcase:U2,BriefcaseBusiness:F2,BriefcaseBusinessIcon:F2,BriefcaseConveyorBelt:E2,BriefcaseConveyorBeltIcon:E2,BriefcaseIcon:U2,BriefcaseMedical:O2,BriefcaseMedicalIcon:O2,BringToFront:W2,BringToFrontIcon:W2,Brush:Z2,BrushCleaning:G2,BrushCleaningIcon:G2,BrushIcon:Z2,Bubbles:K2,BubblesIcon:K2,Bug:Q2,BugIcon:Q2,BugOff:X2,BugOffIcon:X2,BugPlay:Y2,BugPlayIcon:Y2,Building:ed,Building2:J2,Building2Icon:J2,BuildingIcon:ed,Bus:ad,BusFront:td,BusFrontIcon:td,BusIcon:ad,Cable:od,CableCar:nd,CableCarIcon:nd,CableIcon:od,Cake:id,CakeIcon:id,CakeSlice:cd,CakeSliceIcon:cd,Calculator:rd,CalculatorIcon:rd,Calendar:l1,Calendar1:sd,Calendar1Icon:sd,CalendarArrowDown:dd,CalendarArrowDownIcon:dd,CalendarArrowUp:ld,CalendarArrowUpIcon:ld,CalendarCheck:ud,CalendarCheck2:hd,CalendarCheck2Icon:hd,CalendarCheckIcon:ud,CalendarClock:pd,CalendarClockIcon:pd,CalendarCog:yd,CalendarCogIcon:yd,CalendarDays:kd,CalendarDaysIcon:kd,CalendarFold:md,CalendarFoldIcon:md,CalendarHeart:fd,CalendarHeartIcon:fd,CalendarIcon:l1,CalendarMinus:vd,CalendarMinus2:gd,CalendarMinus2Icon:gd,CalendarMinusIcon:vd,CalendarOff:Md,CalendarOffIcon:Md,CalendarPlus:xd,CalendarPlus2:_d,CalendarPlus2Icon:_d,CalendarPlusIcon:xd,CalendarRange:Ld,CalendarRangeIcon:Ld,CalendarSearch:Id,CalendarSearchIcon:Id,CalendarSync:bd,CalendarSyncIcon:bd,CalendarX:Cd,CalendarX2:wd,CalendarX2Icon:wd,CalendarXIcon:Cd,Camera:Sd,CameraIcon:Sd,CameraOff:Nd,CameraOffIcon:Nd,CandlestickChart:ta,CandlestickChartIcon:ta,Candy:qd,CandyCane:jd,CandyCaneIcon:jd,CandyIcon:qd,CandyOff:$d,CandyOffIcon:$d,Cannabis:Ad,CannabisIcon:Ad,Captions:Yt,CaptionsIcon:Yt,CaptionsOff:zd,CaptionsOffIcon:zd,Car:Td,CarFront:Vd,CarFrontIcon:Vd,CarIcon:Td,CarTaxiFront:Pd,CarTaxiFrontIcon:Pd,Caravan:Hd,CaravanIcon:Hd,CardSim:Dd,CardSimIcon:Dd,Carrot:Bd,CarrotIcon:Bd,CaseLower:Rd,CaseLowerIcon:Rd,CaseSensitive:Fd,CaseSensitiveIcon:Fd,CaseUpper:Ed,CaseUpperIcon:Ed,CassetteTape:Od,CassetteTapeIcon:Od,Cast:Ud,CastIcon:Ud,Castle:Gd,CastleIcon:Gd,Cat:Wd,CatIcon:Wd,Cctv:Zd,CctvIcon:Zd,ChartArea:Jt,ChartAreaIcon:Jt,ChartBar:ea,ChartBarBig:Qt,ChartBarBigIcon:Qt,ChartBarDecreasing:Kd,ChartBarDecreasingIcon:Kd,ChartBarIcon:ea,ChartBarIncreasing:Xd,ChartBarIncreasingIcon:Xd,ChartBarStacked:Yd,ChartBarStackedIcon:Yd,ChartCandlestick:ta,ChartCandlestickIcon:ta,ChartColumn:oa,ChartColumnBig:aa,ChartColumnBigIcon:aa,ChartColumnDecreasing:Jd,ChartColumnDecreasingIcon:Jd,ChartColumnIcon:oa,ChartColumnIncreasing:na,ChartColumnIncreasingIcon:na,ChartColumnStacked:Qd,ChartColumnStackedIcon:Qd,ChartGantt:e0,ChartGanttIcon:e0,ChartLine:ca,ChartLineIcon:ca,ChartNetwork:t0,ChartNetworkIcon:t0,ChartNoAxesColumn:ra,ChartNoAxesColumnDecreasing:a0,ChartNoAxesColumnDecreasingIcon:a0,ChartNoAxesColumnIcon:ra,ChartNoAxesColumnIncreasing:ia,ChartNoAxesColumnIncreasingIcon:ia,ChartNoAxesCombined:n0,ChartNoAxesCombinedIcon:n0,ChartNoAxesGantt:sa,ChartNoAxesGanttIcon:sa,ChartPie:da,ChartPieIcon:da,ChartScatter:la,ChartScatterIcon:la,ChartSpline:o0,ChartSplineIcon:o0,Check:h1,CheckCheck:c0,CheckCheckIcon:c0,CheckCircle:Ma,CheckCircle2:_a,CheckCircle2Icon:_a,CheckCircleIcon:Ma,CheckIcon:h1,CheckLine:i0,CheckLineIcon:i0,CheckSquare:go,CheckSquare2:vo,CheckSquare2Icon:vo,CheckSquareIcon:go,ChefHat:r0,ChefHatIcon:r0,Cherry:s0,CherryIcon:s0,ChevronDown:Ct,ChevronDownCircle:xa,ChevronDownCircleIcon:xa,ChevronDownIcon:Ct,ChevronDownSquare:Mo,ChevronDownSquareIcon:Mo,ChevronFirst:d0,ChevronFirstIcon:d0,ChevronLast:l0,ChevronLastIcon:l0,ChevronLeft:h0,ChevronLeftCircle:La,ChevronLeftCircleIcon:La,ChevronLeftIcon:h0,ChevronLeftSquare:_o,ChevronLeftSquareIcon:_o,ChevronRight:u1,ChevronRightCircle:Ia,ChevronRightCircleIcon:Ia,ChevronRightIcon:u1,ChevronRightSquare:xo,ChevronRightSquareIcon:xo,ChevronUp:Lc,ChevronUpCircle:ba,ChevronUpCircleIcon:ba,ChevronUpIcon:Lc,ChevronUpSquare:Lo,ChevronUpSquareIcon:Lo,ChevronsDown:p0,ChevronsDownIcon:p0,ChevronsDownUp:u0,ChevronsDownUpIcon:u0,ChevronsLeft:k0,ChevronsLeftIcon:k0,ChevronsLeftRight:y0,ChevronsLeftRightEllipsis:m0,ChevronsLeftRightEllipsisIcon:m0,ChevronsLeftRightIcon:y0,ChevronsRight:g0,ChevronsRightIcon:g0,ChevronsRightLeft:f0,ChevronsRightLeftIcon:f0,ChevronsUp:v0,ChevronsUpDown:Bc,ChevronsUpDownIcon:Bc,ChevronsUpIcon:v0,Chrome:M0,ChromeIcon:M0,Church:_0,ChurchIcon:_0,Cigarette:L0,CigaretteIcon:L0,CigaretteOff:x0,CigaretteOffIcon:x0,Circle:T0,CircleAlert:ha,CircleAlertIcon:ha,CircleArrowDown:ua,CircleArrowDownIcon:ua,CircleArrowLeft:pa,CircleArrowLeftIcon:pa,CircleArrowOutDownLeft:ya,CircleArrowOutDownLeftIcon:ya,CircleArrowOutDownRight:ka,CircleArrowOutDownRightIcon:ka,CircleArrowOutUpLeft:ma,CircleArrowOutUpLeftIcon:ma,CircleArrowOutUpRight:fa,CircleArrowOutUpRightIcon:fa,CircleArrowRight:ga,CircleArrowRightIcon:ga,CircleArrowUp:va,CircleArrowUpIcon:va,CircleCheck:_a,CircleCheckBig:Ma,CircleCheckBigIcon:Ma,CircleCheckIcon:_a,CircleChevronDown:xa,CircleChevronDownIcon:xa,CircleChevronLeft:La,CircleChevronLeftIcon:La,CircleChevronRight:Ia,CircleChevronRightIcon:Ia,CircleChevronUp:ba,CircleChevronUpIcon:ba,CircleDashed:I0,CircleDashedIcon:I0,CircleDivide:wa,CircleDivideIcon:wa,CircleDollarSign:w0,CircleDollarSignIcon:w0,CircleDot:C0,CircleDotDashed:b0,CircleDotDashedIcon:b0,CircleDotIcon:C0,CircleEllipsis:N0,CircleEllipsisIcon:N0,CircleEqual:S0,CircleEqualIcon:S0,CircleFadingArrowUp:$0,CircleFadingArrowUpIcon:$0,CircleFadingPlus:j0,CircleFadingPlusIcon:j0,CircleGauge:Ca,CircleGaugeIcon:Ca,CircleHelp:et,CircleHelpIcon:et,CircleIcon:T0,CircleMinus:Na,CircleMinusIcon:Na,CircleOff:q0,CircleOffIcon:q0,CircleParking:$a,CircleParkingIcon:$a,CircleParkingOff:Sa,CircleParkingOffIcon:Sa,CirclePause:ja,CirclePauseIcon:ja,CirclePercent:qa,CirclePercentIcon:qa,CirclePlay:Aa,CirclePlayIcon:Aa,CirclePlus:za,CirclePlusIcon:za,CirclePoundSterling:A0,CirclePoundSterlingIcon:A0,CirclePower:Va,CirclePowerIcon:Va,CircleQuestionMark:et,CircleQuestionMarkIcon:et,CircleSlash:z0,CircleSlash2:Pa,CircleSlash2Icon:Pa,CircleSlashIcon:z0,CircleSlashed:Pa,CircleSlashedIcon:Pa,CircleSmall:V0,CircleSmallIcon:V0,CircleStar:P0,CircleStarIcon:P0,CircleStop:Ta,CircleStopIcon:Ta,CircleUser:Da,CircleUserIcon:Da,CircleUserRound:Ha,CircleUserRoundIcon:Ha,CircleX:Mt,CircleXIcon:Mt,CircuitBoard:H0,CircuitBoardIcon:H0,Citrus:D0,CitrusIcon:D0,Clapperboard:B0,ClapperboardIcon:B0,Clipboard:X0,ClipboardCheck:R0,ClipboardCheckIcon:R0,ClipboardClock:F0,ClipboardClockIcon:F0,ClipboardCopy:E0,ClipboardCopyIcon:E0,ClipboardEdit:Ra,ClipboardEditIcon:Ra,ClipboardIcon:X0,ClipboardList:O0,ClipboardListIcon:O0,ClipboardMinus:U0,ClipboardMinusIcon:U0,ClipboardPaste:W0,ClipboardPasteIcon:W0,ClipboardPen:Ra,ClipboardPenIcon:Ra,ClipboardPenLine:Ba,ClipboardPenLineIcon:Ba,ClipboardPlus:G0,ClipboardPlusIcon:G0,ClipboardSignature:Ba,ClipboardSignatureIcon:Ba,ClipboardType:Z0,ClipboardTypeIcon:Z0,ClipboardX:K0,ClipboardXIcon:K0,Clock:yl,Clock1:J0,Clock10:Y0,Clock10Icon:Y0,Clock11:Q0,Clock11Icon:Q0,Clock12:el,Clock12Icon:el,Clock1Icon:J0,Clock2:tl,Clock2Icon:tl,Clock3:al,Clock3Icon:al,Clock4:nl,Clock4Icon:nl,Clock5:ol,Clock5Icon:ol,Clock6:cl,Clock6Icon:cl,Clock7:il,Clock7Icon:il,Clock8:rl,Clock8Icon:rl,Clock9:sl,Clock9Icon:sl,ClockAlert:dl,ClockAlertIcon:dl,ClockArrowDown:ll,ClockArrowDownIcon:ll,ClockArrowUp:hl,ClockArrowUpIcon:hl,ClockFading:ul,ClockFadingIcon:ul,ClockIcon:yl,ClockPlus:pl,ClockPlusIcon:pl,ClosedCaption:kl,ClosedCaptionIcon:kl,Cloud:$l,CloudAlert:ml,CloudAlertIcon:ml,CloudCheck:fl,CloudCheckIcon:fl,CloudCog:gl,CloudCogIcon:gl,CloudDownload:Fa,CloudDownloadIcon:Fa,CloudDrizzle:vl,CloudDrizzleIcon:vl,CloudFog:Ml,CloudFogIcon:Ml,CloudHail:_l,CloudHailIcon:_l,CloudIcon:$l,CloudLightning:xl,CloudLightningIcon:xl,CloudMoon:Il,CloudMoonIcon:Il,CloudMoonRain:Ll,CloudMoonRainIcon:Ll,CloudOff:bl,CloudOffIcon:bl,CloudRain:Cl,CloudRainIcon:Cl,CloudRainWind:wl,CloudRainWindIcon:wl,CloudSnow:Nl,CloudSnowIcon:Nl,CloudSun:jl,CloudSunIcon:jl,CloudSunRain:Sl,CloudSunRainIcon:Sl,CloudUpload:Ea,CloudUploadIcon:Ea,Cloudy:ql,CloudyIcon:ql,Clover:Al,CloverIcon:Al,Club:zl,ClubIcon:zl,Code:Vl,Code2:Oa,Code2Icon:Oa,CodeIcon:Vl,CodeSquare:Io,CodeSquareIcon:Io,CodeXml:Oa,CodeXmlIcon:Oa,Codepen:Pl,CodepenIcon:Pl,Codesandbox:Tl,CodesandboxIcon:Tl,Coffee:Hl,CoffeeIcon:Hl,Cog:Dl,CogIcon:Dl,Coins:Bl,CoinsIcon:Bl,Columns:Ua,Columns2:Ua,Columns2Icon:Ua,Columns3:Wa,Columns3Cog:tt,Columns3CogIcon:tt,Columns3Icon:Wa,Columns4:Rl,Columns4Icon:Rl,ColumnsIcon:Ua,ColumnsSettings:tt,ColumnsSettingsIcon:tt,Combine:Fl,CombineIcon:Fl,Command:El,CommandIcon:El,Compass:Ol,CompassIcon:Ol,Component:Ul,ComponentIcon:Ul,Computer:Wl,ComputerIcon:Wl,ConciergeBell:Gl,ConciergeBellIcon:Gl,Cone:Zl,ConeIcon:Zl,Construction:Kl,ConstructionIcon:Kl,Contact:Xl,Contact2:Ga,Contact2Icon:Ga,ContactIcon:Xl,ContactRound:Ga,ContactRoundIcon:Ga,Container:Yl,ContainerIcon:Yl,Contrast:Ql,ContrastIcon:Ql,Cookie:Jl,CookieIcon:Jl,CookingPot:th,CookingPotIcon:th,Copy:ih,CopyCheck:eh,CopyCheckIcon:eh,CopyIcon:ih,CopyMinus:ah,CopyMinusIcon:ah,CopyPlus:nh,CopyPlusIcon:nh,CopySlash:oh,CopySlashIcon:oh,CopyX:ch,CopyXIcon:ch,Copyleft:rh,CopyleftIcon:rh,Copyright:sh,CopyrightIcon:sh,CornerDownLeft:dh,CornerDownLeftIcon:dh,CornerDownRight:lh,CornerDownRightIcon:lh,CornerLeftDown:hh,CornerLeftDownIcon:hh,CornerLeftUp:uh,CornerLeftUpIcon:uh,CornerRightDown:ph,CornerRightDownIcon:ph,CornerRightUp:yh,CornerRightUpIcon:yh,CornerUpLeft:kh,CornerUpLeftIcon:kh,CornerUpRight:mh,CornerUpRightIcon:mh,Cpu:fh,CpuIcon:fh,CreativeCommons:gh,CreativeCommonsIcon:gh,CreditCard:vh,CreditCardIcon:vh,Croissant:Mh,CroissantIcon:Mh,Crop:_h,CropIcon:_h,Cross:xh,CrossIcon:xh,Crosshair:Lh,CrosshairIcon:Lh,Crown:Ih,CrownIcon:Ih,Cuboid:bh,CuboidIcon:bh,CupSoda:wh,CupSodaIcon:wh,CurlyBraces:Xt,CurlyBracesIcon:Xt,Currency:Ch,CurrencyIcon:Ch,Cylinder:Nh,CylinderIcon:Nh,Dam:Sh,DamIcon:Sh,Database:qh,DatabaseBackup:jh,DatabaseBackupIcon:jh,DatabaseIcon:qh,DatabaseZap:$h,DatabaseZapIcon:$h,DecimalsArrowLeft:Ah,DecimalsArrowLeftIcon:Ah,DecimalsArrowRight:zh,DecimalsArrowRightIcon:zh,Delete:Vh,DeleteIcon:Vh,Dessert:Ph,DessertIcon:Ph,Diameter:Th,DiameterIcon:Th,Diamond:Bh,DiamondIcon:Bh,DiamondMinus:Hh,DiamondMinusIcon:Hh,DiamondPercent:Za,DiamondPercentIcon:Za,DiamondPlus:Dh,DiamondPlusIcon:Dh,Dice1:Rh,Dice1Icon:Rh,Dice2:Fh,Dice2Icon:Fh,Dice3:Eh,Dice3Icon:Eh,Dice4:Oh,Dice4Icon:Oh,Dice5:Uh,Dice5Icon:Uh,Dice6:Wh,Dice6Icon:Wh,Dices:Gh,DicesIcon:Gh,Diff:Zh,DiffIcon:Zh,Disc:Jh,Disc2:Kh,Disc2Icon:Kh,Disc3:Xh,Disc3Icon:Xh,DiscAlbum:Yh,DiscAlbumIcon:Yh,DiscIcon:Jh,Divide:Qh,DivideCircle:wa,DivideCircleIcon:wa,DivideIcon:Qh,DivideSquare:No,DivideSquareIcon:No,Dna:tu,DnaIcon:tu,DnaOff:eu,DnaOffIcon:eu,Dock:au,DockIcon:au,Dog:nu,DogIcon:nu,DollarSign:ou,DollarSignIcon:ou,Donut:cu,DonutIcon:cu,DoorClosed:ru,DoorClosedIcon:ru,DoorClosedLocked:iu,DoorClosedLockedIcon:iu,DoorOpen:su,DoorOpenIcon:su,Dot:du,DotIcon:du,DotSquare:jo,DotSquareIcon:jo,Download:hu,DownloadCloud:Fa,DownloadCloudIcon:Fa,DownloadIcon:hu,DraftingCompass:lu,DraftingCompassIcon:lu,Drama:uu,DramaIcon:uu,Dribbble:pu,DribbbleIcon:pu,Drill:yu,DrillIcon:yu,Drone:ku,DroneIcon:ku,Droplet:fu,DropletIcon:fu,DropletOff:mu,DropletOffIcon:mu,Droplets:gu,DropletsIcon:gu,Drum:vu,DrumIcon:vu,Drumstick:Mu,DrumstickIcon:Mu,Dumbbell:_u,DumbbellIcon:_u,Ear:Lu,EarIcon:Lu,EarOff:xu,EarOffIcon:xu,Earth:Ka,EarthIcon:Ka,EarthLock:Iu,EarthLockIcon:Iu,Eclipse:bu,EclipseIcon:bu,Edit:Ve,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Ve,Egg:Nu,EggFried:wu,EggFriedIcon:wu,EggIcon:Nu,EggOff:Cu,EggOffIcon:Cu,Ellipsis:Ya,EllipsisIcon:Ya,EllipsisVertical:Xa,EllipsisVerticalIcon:Xa,Equal:$u,EqualApproximately:Su,EqualApproximatelyIcon:Su,EqualIcon:$u,EqualNot:ju,EqualNotIcon:ju,EqualSquare:So,EqualSquareIcon:So,Eraser:qu,EraserIcon:qu,EthernetPort:Au,EthernetPortIcon:Au,Euro:zu,EuroIcon:zu,Expand:Pu,ExpandIcon:Pu,ExternalLink:Vu,ExternalLinkIcon:Vu,Eye:y1,EyeClosed:Tu,EyeClosedIcon:Tu,EyeIcon:y1,EyeOff:p1,EyeOffIcon:p1,Facebook:Hu,FacebookIcon:Hu,Factory:Du,FactoryIcon:Du,Fan:Bu,FanIcon:Bu,FastForward:Ru,FastForwardIcon:Ru,Feather:Fu,FeatherIcon:Fu,Fence:Eu,FenceIcon:Eu,FerrisWheel:Ou,FerrisWheelIcon:Ou,Figma:Uu,FigmaIcon:Uu,File:Dp,FileArchive:Wu,FileArchiveIcon:Wu,FileAudio:Zu,FileAudio2:Gu,FileAudio2Icon:Gu,FileAudioIcon:Zu,FileAxis3D:Ja,FileAxis3DIcon:Ja,FileAxis3d:Ja,FileAxis3dIcon:Ja,FileBadge:Yu,FileBadge2:Ku,FileBadge2Icon:Ku,FileBadgeIcon:Yu,FileBarChart:Qa,FileBarChart2:en,FileBarChart2Icon:en,FileBarChartIcon:Qa,FileBox:Xu,FileBoxIcon:Xu,FileChartColumn:en,FileChartColumnIcon:en,FileChartColumnIncreasing:Qa,FileChartColumnIncreasingIcon:Qa,FileChartLine:tn,FileChartLineIcon:tn,FileChartPie:an,FileChartPieIcon:an,FileCheck:Qu,FileCheck2:Ju,FileCheck2Icon:Ju,FileCheckIcon:Qu,FileClock:ep,FileClockIcon:ep,FileCode:tp,FileCode2:ap,FileCode2Icon:ap,FileCodeIcon:tp,FileCog:nn,FileCog2:nn,FileCog2Icon:nn,FileCogIcon:nn,FileDiff:np,FileDiffIcon:np,FileDigit:op,FileDigitIcon:op,FileDown:cp,FileDownIcon:cp,FileEdit:cn,FileEditIcon:cn,FileHeart:ip,FileHeartIcon:ip,FileIcon:Dp,FileImage:rp,FileImageIcon:rp,FileInput:sp,FileInputIcon:sp,FileJson:lp,FileJson2:dp,FileJson2Icon:dp,FileJsonIcon:lp,FileKey:up,FileKey2:hp,FileKey2Icon:hp,FileKeyIcon:up,FileLineChart:tn,FileLineChartIcon:tn,FileLock:yp,FileLock2:pp,FileLock2Icon:pp,FileLockIcon:yp,FileMinus:mp,FileMinus2:kp,FileMinus2Icon:kp,FileMinusIcon:mp,FileMusic:fp,FileMusicIcon:fp,FileOutput:gp,FileOutputIcon:gp,FilePen:cn,FilePenIcon:cn,FilePenLine:on,FilePenLineIcon:on,FilePieChart:an,FilePieChartIcon:an,FilePlay:rn,FilePlayIcon:rn,FilePlus:Mp,FilePlus2:vp,FilePlus2Icon:vp,FilePlusIcon:Mp,FileQuestion:sn,FileQuestionIcon:sn,FileQuestionMark:sn,FileQuestionMarkIcon:sn,FileScan:_p,FileScanIcon:_p,FileSearch:Lp,FileSearch2:xp,FileSearch2Icon:xp,FileSearchIcon:Lp,FileSignature:on,FileSignatureIcon:on,FileSliders:Ip,FileSlidersIcon:Ip,FileSpreadsheet:bp,FileSpreadsheetIcon:bp,FileStack:wp,FileStackIcon:wp,FileSymlink:Cp,FileSymlinkIcon:Cp,FileTerminal:Np,FileTerminalIcon:Np,FileText:Sp,FileTextIcon:Sp,FileType:$p,FileType2:jp,FileType2Icon:jp,FileTypeIcon:$p,FileUp:qp,FileUpIcon:qp,FileUser:Ap,FileUserIcon:Ap,FileVideo:rn,FileVideo2:dn,FileVideo2Icon:dn,FileVideoCamera:dn,FileVideoCameraIcon:dn,FileVideoIcon:rn,FileVolume:Vp,FileVolume2:zp,FileVolume2Icon:zp,FileVolumeIcon:Vp,FileWarning:Pp,FileWarningIcon:Pp,FileX:Hp,FileX2:Tp,FileX2Icon:Tp,FileXIcon:Hp,Files:Bp,FilesIcon:Bp,Film:Rp,FilmIcon:Rp,Filter:_t,FilterIcon:_t,FilterX:un,FilterXIcon:un,Fingerprint:Fp,FingerprintIcon:Fp,FireExtinguisher:Ep,FireExtinguisherIcon:Ep,Fish:Up,FishIcon:Up,FishOff:Op,FishOffIcon:Op,FishSymbol:Wp,FishSymbolIcon:Wp,Flag:Xp,FlagIcon:Xp,FlagOff:Gp,FlagOffIcon:Gp,FlagTriangleLeft:Zp,FlagTriangleLeftIcon:Zp,FlagTriangleRight:Kp,FlagTriangleRightIcon:Kp,Flame:Jp,FlameIcon:Jp,FlameKindling:Yp,FlameKindlingIcon:Yp,Flashlight:ey,FlashlightIcon:ey,FlashlightOff:Qp,FlashlightOffIcon:Qp,FlaskConical:ay,FlaskConicalIcon:ay,FlaskConicalOff:ty,FlaskConicalOffIcon:ty,FlaskRound:ny,FlaskRoundIcon:ny,FlipHorizontal:cy,FlipHorizontal2:oy,FlipHorizontal2Icon:oy,FlipHorizontalIcon:cy,FlipVertical:ry,FlipVertical2:iy,FlipVertical2Icon:iy,FlipVerticalIcon:ry,Flower:dy,Flower2:sy,Flower2Icon:sy,FlowerIcon:dy,Focus:ly,FocusIcon:ly,FoldHorizontal:hy,FoldHorizontalIcon:hy,FoldVertical:uy,FoldVerticalIcon:uy,Folder:k1,FolderArchive:py,FolderArchiveIcon:py,FolderCheck:yy,FolderCheckIcon:yy,FolderClock:ky,FolderClockIcon:ky,FolderClosed:my,FolderClosedIcon:my,FolderCode:fy,FolderCodeIcon:fy,FolderCog:ln,FolderCog2:ln,FolderCog2Icon:ln,FolderCogIcon:ln,FolderDot:gy,FolderDotIcon:gy,FolderDown:vy,FolderDownIcon:vy,FolderEdit:hn,FolderEditIcon:hn,FolderGit:_y,FolderGit2:My,FolderGit2Icon:My,FolderGitIcon:_y,FolderHeart:xy,FolderHeartIcon:xy,FolderIcon:k1,FolderInput:Ly,FolderInputIcon:Ly,FolderKanban:Iy,FolderKanbanIcon:Iy,FolderKey:by,FolderKeyIcon:by,FolderLock:wy,FolderLockIcon:wy,FolderMinus:Cy,FolderMinusIcon:Cy,FolderOpen:Sy,FolderOpenDot:Ny,FolderOpenDotIcon:Ny,FolderOpenIcon:Sy,FolderOutput:jy,FolderOutputIcon:jy,FolderPen:hn,FolderPenIcon:hn,FolderPlus:Rc,FolderPlusIcon:Rc,FolderRoot:$y,FolderRootIcon:$y,FolderSearch:Ay,FolderSearch2:qy,FolderSearch2Icon:qy,FolderSearchIcon:Ay,FolderSymlink:zy,FolderSymlinkIcon:zy,FolderSync:Vy,FolderSyncIcon:Vy,FolderTree:Py,FolderTreeIcon:Py,FolderUp:Ty,FolderUpIcon:Ty,FolderX:Hy,FolderXIcon:Hy,Folders:Dy,FoldersIcon:Dy,Footprints:By,FootprintsIcon:By,ForkKnife:mc,ForkKnifeCrossed:kc,ForkKnifeCrossedIcon:kc,ForkKnifeIcon:mc,Forklift:Ry,ForkliftIcon:Ry,FormInput:Gn,FormInputIcon:Gn,Forward:Fy,ForwardIcon:Fy,Frame:Ey,FrameIcon:Ey,Framer:Oy,FramerIcon:Oy,Frown:Uy,FrownIcon:Uy,Fuel:Wy,FuelIcon:Wy,Fullscreen:Gy,FullscreenIcon:Gy,FunctionSquare:$o,FunctionSquareIcon:$o,Funnel:_t,FunnelIcon:_t,FunnelPlus:Zy,FunnelPlusIcon:Zy,FunnelX:un,FunnelXIcon:un,GalleryHorizontal:Xy,GalleryHorizontalEnd:Ky,GalleryHorizontalEndIcon:Ky,GalleryHorizontalIcon:Xy,GalleryThumbnails:Yy,GalleryThumbnailsIcon:Yy,GalleryVertical:Qy,GalleryVerticalEnd:Jy,GalleryVerticalEndIcon:Jy,GalleryVerticalIcon:Qy,Gamepad:t4,Gamepad2:e4,Gamepad2Icon:e4,GamepadIcon:t4,GanttChart:sa,GanttChartIcon:sa,GanttChartSquare:nt,GanttChartSquareIcon:nt,Gauge:a4,GaugeCircle:Ca,GaugeCircleIcon:Ca,GaugeIcon:a4,Gavel:n4,GavelIcon:n4,Gem:o4,GemIcon:o4,GeorgianLari:c4,GeorgianLariIcon:c4,Ghost:i4,GhostIcon:i4,Gift:r4,GiftIcon:r4,GitBranch:d4,GitBranchIcon:d4,GitBranchPlus:s4,GitBranchPlusIcon:s4,GitCommit:pn,GitCommitHorizontal:pn,GitCommitHorizontalIcon:pn,GitCommitIcon:pn,GitCommitVertical:l4,GitCommitVerticalIcon:l4,GitCompare:u4,GitCompareArrows:h4,GitCompareArrowsIcon:h4,GitCompareIcon:u4,GitFork:p4,GitForkIcon:p4,GitGraph:y4,GitGraphIcon:y4,GitMerge:k4,GitMergeIcon:k4,GitPullRequest:_4,GitPullRequestArrow:m4,GitPullRequestArrowIcon:m4,GitPullRequestClosed:f4,GitPullRequestClosedIcon:f4,GitPullRequestCreate:v4,GitPullRequestCreateArrow:g4,GitPullRequestCreateArrowIcon:g4,GitPullRequestCreateIcon:v4,GitPullRequestDraft:M4,GitPullRequestDraftIcon:M4,GitPullRequestIcon:_4,Github:x4,GithubIcon:x4,Gitlab:L4,GitlabIcon:L4,GlassWater:I4,GlassWaterIcon:I4,Glasses:b4,GlassesIcon:b4,Globe:C4,Globe2:Ka,Globe2Icon:Ka,GlobeIcon:C4,GlobeLock:w4,GlobeLockIcon:w4,Goal:N4,GoalIcon:N4,Gpu:S4,GpuIcon:S4,Grab:gn,GrabIcon:gn,GraduationCap:j4,GraduationCapIcon:j4,Grape:$4,GrapeIcon:$4,Grid:at,Grid2X2:fn,Grid2X2Check:yn,Grid2X2CheckIcon:yn,Grid2X2Icon:fn,Grid2X2Plus:kn,Grid2X2PlusIcon:kn,Grid2X2X:mn,Grid2X2XIcon:mn,Grid2x2:fn,Grid2x2Check:yn,Grid2x2CheckIcon:yn,Grid2x2Icon:fn,Grid2x2Plus:kn,Grid2x2PlusIcon:kn,Grid2x2X:mn,Grid2x2XIcon:mn,Grid3X3:at,Grid3X3Icon:at,Grid3x2:q4,Grid3x2Icon:q4,Grid3x3:at,Grid3x3Icon:at,GridIcon:at,Grip:z4,GripHorizontal:A4,GripHorizontalIcon:A4,GripIcon:z4,GripVertical:m1,GripVerticalIcon:m1,Group:V4,GroupIcon:V4,Guitar:P4,GuitarIcon:P4,Ham:T4,HamIcon:T4,Hamburger:H4,HamburgerIcon:H4,Hammer:D4,HammerIcon:D4,Hand:U4,HandCoins:B4,HandCoinsIcon:B4,HandFist:R4,HandFistIcon:R4,HandGrab:gn,HandGrabIcon:gn,HandHeart:F4,HandHeartIcon:F4,HandHelping:vn,HandHelpingIcon:vn,HandIcon:U4,HandMetal:E4,HandMetalIcon:E4,HandPlatter:O4,HandPlatterIcon:O4,Handbag:W4,HandbagIcon:W4,Handshake:G4,HandshakeIcon:G4,HardDrive:X4,HardDriveDownload:Z4,HardDriveDownloadIcon:Z4,HardDriveIcon:X4,HardDriveUpload:K4,HardDriveUploadIcon:K4,HardHat:Y4,HardHatIcon:Y4,Hash:J4,HashIcon:J4,HatGlasses:Q4,HatGlassesIcon:Q4,Haze:e5,HazeIcon:e5,HdmiPort:t5,HdmiPortIcon:t5,Heading:s5,Heading1:a5,Heading1Icon:a5,Heading2:n5,Heading2Icon:n5,Heading3:o5,Heading3Icon:o5,Heading4:c5,Heading4Icon:c5,Heading5:i5,Heading5Icon:i5,Heading6:r5,Heading6Icon:r5,HeadingIcon:s5,HeadphoneOff:d5,HeadphoneOffIcon:d5,Headphones:l5,HeadphonesIcon:l5,Headset:h5,HeadsetIcon:h5,Heart:g5,HeartCrack:u5,HeartCrackIcon:u5,HeartHandshake:p5,HeartHandshakeIcon:p5,HeartIcon:g5,HeartMinus:y5,HeartMinusIcon:y5,HeartOff:k5,HeartOffIcon:k5,HeartPlus:m5,HeartPlusIcon:m5,HeartPulse:f5,HeartPulseIcon:f5,Heater:v5,HeaterIcon:v5,HelpCircle:et,HelpCircleIcon:et,HelpingHand:vn,HelpingHandIcon:vn,Hexagon:M5,HexagonIcon:M5,Highlighter:_5,HighlighterIcon:_5,History:x5,HistoryIcon:x5,Home:xt,HomeIcon:xt,Hop:I5,HopIcon:I5,HopOff:L5,HopOffIcon:L5,Hospital:f1,HospitalIcon:f1,Hotel:b5,HotelIcon:b5,Hourglass:w5,HourglassIcon:w5,House:xt,HouseIcon:xt,HousePlug:C5,HousePlugIcon:C5,HousePlus:S5,HousePlusIcon:S5,HouseWifi:N5,HouseWifiIcon:N5,IceCream:_n,IceCream2:Mn,IceCream2Icon:Mn,IceCreamBowl:Mn,IceCreamBowlIcon:Mn,IceCreamCone:_n,IceCreamConeIcon:_n,IceCreamIcon:_n,Icon:a.Icon,IdCard:$5,IdCardIcon:$5,IdCardLanyard:j5,IdCardLanyardIcon:j5,Image:D5,ImageDown:q5,ImageDownIcon:q5,ImageIcon:D5,ImageMinus:A5,ImageMinusIcon:A5,ImageOff:z5,ImageOffIcon:z5,ImagePlay:V5,ImagePlayIcon:V5,ImagePlus:P5,ImagePlusIcon:P5,ImageUp:T5,ImageUpIcon:T5,ImageUpscale:H5,ImageUpscaleIcon:H5,Images:B5,ImagesIcon:B5,Import:R5,ImportIcon:R5,Inbox:F5,InboxIcon:F5,Indent:Ln,IndentDecrease:xn,IndentDecreaseIcon:xn,IndentIcon:Ln,IndentIncrease:Ln,IndentIncreaseIcon:Ln,IndianRupee:E5,IndianRupeeIcon:E5,Infinity:O5,InfinityIcon:O5,Info:U5,InfoIcon:U5,Inspect:Ho,InspectIcon:Ho,InspectionPanel:W5,InspectionPanelIcon:W5,Instagram:G5,InstagramIcon:G5,Italic:Z5,ItalicIcon:Z5,IterationCcw:K5,IterationCcwIcon:K5,IterationCw:X5,IterationCwIcon:X5,JapaneseYen:J5,JapaneseYenIcon:J5,Joystick:Y5,JoystickIcon:Y5,Kanban:Q5,KanbanIcon:Q5,KanbanSquare:qo,KanbanSquareDashed:bo,KanbanSquareDashedIcon:bo,KanbanSquareIcon:qo,Kayak:ek,KayakIcon:ek,Key:nk,KeyIcon:nk,KeyRound:tk,KeyRoundIcon:tk,KeySquare:ak,KeySquareIcon:ak,Keyboard:ik,KeyboardIcon:ik,KeyboardMusic:ok,KeyboardMusicIcon:ok,KeyboardOff:ck,KeyboardOffIcon:ck,Lamp:uk,LampCeiling:rk,LampCeilingIcon:rk,LampDesk:dk,LampDeskIcon:dk,LampFloor:sk,LampFloorIcon:sk,LampIcon:uk,LampWallDown:lk,LampWallDownIcon:lk,LampWallUp:hk,LampWallUpIcon:hk,LandPlot:pk,LandPlotIcon:pk,Landmark:yk,LandmarkIcon:yk,Languages:kk,LanguagesIcon:kk,Laptop:fk,Laptop2:In,Laptop2Icon:In,LaptopIcon:fk,LaptopMinimal:In,LaptopMinimalCheck:mk,LaptopMinimalCheckIcon:mk,LaptopMinimalIcon:In,Lasso:vk,LassoIcon:vk,LassoSelect:gk,LassoSelectIcon:gk,Laugh:Mk,LaughIcon:Mk,Layers:bn,Layers2:_k,Layers2Icon:_k,Layers3:bn,Layers3Icon:bn,LayersIcon:bn,Layout:Un,LayoutDashboard:xk,LayoutDashboardIcon:xk,LayoutGrid:Lk,LayoutGridIcon:Lk,LayoutIcon:Un,LayoutList:Ik,LayoutListIcon:Ik,LayoutPanelLeft:bk,LayoutPanelLeftIcon:bk,LayoutPanelTop:wk,LayoutPanelTopIcon:wk,LayoutTemplate:Ck,LayoutTemplateIcon:Ck,Leaf:Nk,LeafIcon:Nk,LeafyGreen:jk,LeafyGreenIcon:jk,Lectern:Sk,LecternIcon:Sk,LetterText:$k,LetterTextIcon:$k,Library:Ak,LibraryBig:qk,LibraryBigIcon:qk,LibraryIcon:Ak,LibrarySquare:Ao,LibrarySquareIcon:Ao,LifeBuoy:zk,LifeBuoyIcon:zk,Ligature:Vk,LigatureIcon:Vk,Lightbulb:Tk,LightbulbIcon:Tk,LightbulbOff:Pk,LightbulbOffIcon:Pk,LineChart:ca,LineChartIcon:ca,LineSquiggle:Hk,LineSquiggleIcon:Hk,Link:Rk,Link2:Dk,Link2Icon:Dk,Link2Off:Bk,Link2OffIcon:Bk,LinkIcon:Rk,Linkedin:Fk,LinkedinIcon:Fk,List:c3,ListCheck:Ek,ListCheckIcon:Ek,ListChecks:Ok,ListChecksIcon:Ok,ListCollapse:Uk,ListCollapseIcon:Uk,ListEnd:Wk,ListEndIcon:Wk,ListFilter:Kk,ListFilterIcon:Kk,ListFilterPlus:Gk,ListFilterPlusIcon:Gk,ListIcon:c3,ListMinus:Zk,ListMinusIcon:Zk,ListMusic:Xk,ListMusicIcon:Xk,ListOrdered:Yk,ListOrderedIcon:Yk,ListPlus:Jk,ListPlusIcon:Jk,ListRestart:Qk,ListRestartIcon:Qk,ListStart:e3,ListStartIcon:e3,ListTodo:t3,ListTodoIcon:t3,ListTree:a3,ListTreeIcon:a3,ListVideo:n3,ListVideoIcon:n3,ListX:o3,ListXIcon:o3,Loader:r3,Loader2:wn,Loader2Icon:wn,LoaderCircle:wn,LoaderCircleIcon:wn,LoaderIcon:r3,LoaderPinwheel:i3,LoaderPinwheelIcon:i3,Locate:l3,LocateFixed:s3,LocateFixedIcon:s3,LocateIcon:l3,LocateOff:d3,LocateOffIcon:d3,LocationEdit:jn,LocationEditIcon:jn,Lock:u3,LockIcon:u3,LockKeyhole:h3,LockKeyholeIcon:h3,LockKeyholeOpen:Cn,LockKeyholeOpenIcon:Cn,LockOpen:Nn,LockOpenIcon:Nn,LogIn:p3,LogInIcon:p3,LogOut:y3,LogOutIcon:y3,Logs:k3,LogsIcon:k3,Lollipop:m3,LollipopIcon:m3,LucideAArrowDown:U1,LucideAArrowUp:W1,LucideALargeSmall:G1,LucideAccessibility:s1,LucideActivity:d1,LucideActivitySquare:Lt,LucideAirVent:Z1,LucideAirplay:K1,LucideAlarmCheck:Vt,LucideAlarmClock:Y1,LucideAlarmClockCheck:Vt,LucideAlarmClockMinus:Pt,LucideAlarmClockOff:X1,LucideAlarmClockPlus:Tt,LucideAlarmMinus:Pt,LucideAlarmPlus:Tt,LucideAlarmSmoke:J1,LucideAlbum:Q1,LucideAlertCircle:ha,LucideAlertOctagon:zn,LucideAlertTriangle:cc,LucideAlignCenter:ci,LucideAlignCenterHorizontal:ei,LucideAlignCenterVertical:ti,LucideAlignEndHorizontal:ai,LucideAlignEndVertical:ni,LucideAlignHorizontalDistributeCenter:oi,LucideAlignHorizontalDistributeEnd:ii,LucideAlignHorizontalDistributeStart:ri,LucideAlignHorizontalJustifyCenter:si,LucideAlignHorizontalJustifyEnd:di,LucideAlignHorizontalJustifyStart:li,LucideAlignHorizontalSpaceAround:hi,LucideAlignHorizontalSpaceBetween:pi,LucideAlignJustify:ui,LucideAlignLeft:yi,LucideAlignRight:ki,LucideAlignStartHorizontal:mi,LucideAlignStartVertical:fi,LucideAlignVerticalDistributeCenter:vi,LucideAlignVerticalDistributeEnd:gi,LucideAlignVerticalDistributeStart:_i,LucideAlignVerticalJustifyCenter:Mi,LucideAlignVerticalJustifyEnd:xi,LucideAlignVerticalJustifyStart:Li,LucideAlignVerticalSpaceAround:bi,LucideAlignVerticalSpaceBetween:Ii,LucideAmbulance:wi,LucideAmpersand:Ci,LucideAmpersands:Ni,LucideAmphora:Si,LucideAnchor:ji,LucideAngry:$i,LucideAnnoyed:qi,LucideAntenna:Ai,LucideAnvil:zi,LucideAperture:Vi,LucideAppWindow:Ti,LucideAppWindowMac:Pi,LucideApple:Hi,LucideArchive:Ri,LucideArchiveRestore:Di,LucideArchiveX:Bi,LucideAreaChart:Jt,LucideArmchair:Fi,LucideArrowBigDown:Oi,LucideArrowBigDownDash:Ei,LucideArrowBigLeft:Wi,LucideArrowBigLeftDash:Ui,LucideArrowBigRight:Zi,LucideArrowBigRightDash:Gi,LucideArrowBigUp:Xi,LucideArrowBigUpDash:Ki,LucideArrowDown:ir,LucideArrowDown01:Yi,LucideArrowDown10:Ji,LucideArrowDownAZ:Ht,LucideArrowDownAz:Ht,LucideArrowDownCircle:ua,LucideArrowDownFromLine:Qi,LucideArrowDownLeft:er,LucideArrowDownLeftFromCircle:ya,LucideArrowDownLeftFromSquare:ro,LucideArrowDownLeftSquare:no,LucideArrowDownNarrowWide:tr,LucideArrowDownRight:ar,LucideArrowDownRightFromCircle:ka,LucideArrowDownRightFromSquare:so,LucideArrowDownRightSquare:oo,LucideArrowDownSquare:co,LucideArrowDownToDot:nr,LucideArrowDownToLine:or,LucideArrowDownUp:cr,LucideArrowDownWideNarrow:Dt,LucideArrowDownZA:Bt,LucideArrowDownZa:Bt,LucideArrowLeft:lr,LucideArrowLeftCircle:pa,LucideArrowLeftFromLine:rr,LucideArrowLeftRight:sr,LucideArrowLeftSquare:io,LucideArrowLeftToLine:dr,LucideArrowRight:yr,LucideArrowRightCircle:ga,LucideArrowRightFromLine:hr,LucideArrowRightLeft:ur,LucideArrowRightSquare:uo,LucideArrowRightToLine:pr,LucideArrowUp:Ir,LucideArrowUp01:kr,LucideArrowUp10:mr,LucideArrowUpAZ:Rt,LucideArrowUpAz:Rt,LucideArrowUpCircle:va,LucideArrowUpDown:fr,LucideArrowUpFromDot:gr,LucideArrowUpFromLine:vr,LucideArrowUpLeft:Mr,LucideArrowUpLeftFromCircle:ma,LucideArrowUpLeftFromSquare:lo,LucideArrowUpLeftSquare:po,LucideArrowUpNarrowWide:Ft,LucideArrowUpRight:_r,LucideArrowUpRightFromCircle:fa,LucideArrowUpRightFromSquare:ho,LucideArrowUpRightSquare:yo,LucideArrowUpSquare:ko,LucideArrowUpToLine:xr,LucideArrowUpWideNarrow:Lr,LucideArrowUpZA:Et,LucideArrowUpZa:Et,LucideArrowsUpFromLine:br,LucideAsterisk:wr,LucideAsteriskSquare:mo,LucideAtSign:Cr,LucideAtom:Nr,LucideAudioLines:Sr,LucideAudioWaveform:jr,LucideAward:$r,LucideAxe:qr,LucideAxis3D:Ot,LucideAxis3d:Ot,LucideBaby:Ar,LucideBackpack:zr,LucideBadge:Xr,LucideBadgeAlert:Vr,LucideBadgeCent:Pr,LucideBadgeCheck:Ut,LucideBadgeDollarSign:Tr,LucideBadgeEuro:Hr,LucideBadgeHelp:Wt,LucideBadgeIndianRupee:Dr,LucideBadgeInfo:Br,LucideBadgeJapaneseYen:Fr,LucideBadgeMinus:Rr,LucideBadgePercent:Er,LucideBadgePlus:Or,LucideBadgePoundSterling:Ur,LucideBadgeQuestionMark:Wt,LucideBadgeRussianRuble:Wr,LucideBadgeSwissFranc:Gr,LucideBadgeTurkishLira:Zr,LucideBadgeX:Kr,LucideBaggageClaim:Yr,LucideBan:Jr,LucideBanana:Qr,LucideBandage:es,LucideBanknote:os,LucideBanknoteArrowDown:ts,LucideBanknoteArrowUp:as,LucideBanknoteX:ns,LucideBarChart:ia,LucideBarChart2:ra,LucideBarChart3:oa,LucideBarChart4:na,LucideBarChartBig:aa,LucideBarChartHorizontal:ea,LucideBarChartHorizontalBig:Qt,LucideBarcode:cs,LucideBarrel:is,LucideBaseline:rs,LucideBath:ss,LucideBattery:ks,LucideBatteryCharging:ds,LucideBatteryFull:ls,LucideBatteryLow:hs,LucideBatteryMedium:us,LucideBatteryPlus:ps,LucideBatteryWarning:ys,LucideBeaker:ms,LucideBean:gs,LucideBeanOff:fs,LucideBed:_s,LucideBedDouble:vs,LucideBedSingle:Ms,LucideBeef:xs,LucideBeer:Is,LucideBeerOff:Ls,LucideBell:js,LucideBellDot:bs,LucideBellElectric:ws,LucideBellMinus:Cs,LucideBellOff:Ns,LucideBellPlus:Ss,LucideBellRing:$s,LucideBetweenHorizonalEnd:Gt,LucideBetweenHorizonalStart:Zt,LucideBetweenHorizontalEnd:Gt,LucideBetweenHorizontalStart:Zt,LucideBetweenVerticalEnd:As,LucideBetweenVerticalStart:qs,LucideBicepsFlexed:zs,LucideBike:Ps,LucideBinary:Vs,LucideBinoculars:Ts,LucideBiohazard:Hs,LucideBird:Ds,LucideBitcoin:Bs,LucideBlend:Rs,LucideBlinds:Fs,LucideBlocks:Es,LucideBluetooth:Gs,LucideBluetoothConnected:Os,LucideBluetoothOff:Us,LucideBluetoothSearching:Ws,LucideBold:Zs,LucideBolt:Ks,LucideBomb:Xs,LucideBone:Ys,LucideBook:_2,LucideBookA:Js,LucideBookAlert:Qs,LucideBookAudio:e2,LucideBookCheck:t2,LucideBookCopy:a2,LucideBookDashed:Kt,LucideBookDown:n2,LucideBookHeadphones:o2,LucideBookHeart:c2,LucideBookImage:i2,LucideBookKey:r2,LucideBookLock:s2,LucideBookMarked:l2,LucideBookMinus:d2,LucideBookOpen:p2,LucideBookOpenCheck:h2,LucideBookOpenText:u2,LucideBookPlus:y2,LucideBookTemplate:Kt,LucideBookText:k2,LucideBookType:m2,LucideBookUp:g2,LucideBookUp2:f2,LucideBookUser:v2,LucideBookX:M2,LucideBookmark:w2,LucideBookmarkCheck:x2,LucideBookmarkMinus:L2,LucideBookmarkPlus:I2,LucideBookmarkX:b2,LucideBoomBox:C2,LucideBot:j2,LucideBotMessageSquare:N2,LucideBotOff:S2,LucideBottleWine:$2,LucideBowArrow:q2,LucideBox:A2,LucideBoxSelect:Co,LucideBoxes:z2,LucideBraces:Xt,LucideBrackets:V2,LucideBrain:H2,LucideBrainCircuit:P2,LucideBrainCog:T2,LucideBrickWall:R2,LucideBrickWallFire:D2,LucideBrickWallShield:B2,LucideBriefcase:U2,LucideBriefcaseBusiness:F2,LucideBriefcaseConveyorBelt:E2,LucideBriefcaseMedical:O2,LucideBringToFront:W2,LucideBrush:Z2,LucideBrushCleaning:G2,LucideBubbles:K2,LucideBug:Q2,LucideBugOff:X2,LucideBugPlay:Y2,LucideBuilding:ed,LucideBuilding2:J2,LucideBus:ad,LucideBusFront:td,LucideCable:od,LucideCableCar:nd,LucideCake:id,LucideCakeSlice:cd,LucideCalculator:rd,LucideCalendar:l1,LucideCalendar1:sd,LucideCalendarArrowDown:dd,LucideCalendarArrowUp:ld,LucideCalendarCheck:ud,LucideCalendarCheck2:hd,LucideCalendarClock:pd,LucideCalendarCog:yd,LucideCalendarDays:kd,LucideCalendarFold:md,LucideCalendarHeart:fd,LucideCalendarMinus:vd,LucideCalendarMinus2:gd,LucideCalendarOff:Md,LucideCalendarPlus:xd,LucideCalendarPlus2:_d,LucideCalendarRange:Ld,LucideCalendarSearch:Id,LucideCalendarSync:bd,LucideCalendarX:Cd,LucideCalendarX2:wd,LucideCamera:Sd,LucideCameraOff:Nd,LucideCandlestickChart:ta,LucideCandy:qd,LucideCandyCane:jd,LucideCandyOff:$d,LucideCannabis:Ad,LucideCaptions:Yt,LucideCaptionsOff:zd,LucideCar:Td,LucideCarFront:Vd,LucideCarTaxiFront:Pd,LucideCaravan:Hd,LucideCardSim:Dd,LucideCarrot:Bd,LucideCaseLower:Rd,LucideCaseSensitive:Fd,LucideCaseUpper:Ed,LucideCassetteTape:Od,LucideCast:Ud,LucideCastle:Gd,LucideCat:Wd,LucideCctv:Zd,LucideChartArea:Jt,LucideChartBar:ea,LucideChartBarBig:Qt,LucideChartBarDecreasing:Kd,LucideChartBarIncreasing:Xd,LucideChartBarStacked:Yd,LucideChartCandlestick:ta,LucideChartColumn:oa,LucideChartColumnBig:aa,LucideChartColumnDecreasing:Jd,LucideChartColumnIncreasing:na,LucideChartColumnStacked:Qd,LucideChartGantt:e0,LucideChartLine:ca,LucideChartNetwork:t0,LucideChartNoAxesColumn:ra,LucideChartNoAxesColumnDecreasing:a0,LucideChartNoAxesColumnIncreasing:ia,LucideChartNoAxesCombined:n0,LucideChartNoAxesGantt:sa,LucideChartPie:da,LucideChartScatter:la,LucideChartSpline:o0,LucideCheck:h1,LucideCheckCheck:c0,LucideCheckCircle:Ma,LucideCheckCircle2:_a,LucideCheckLine:i0,LucideCheckSquare:go,LucideCheckSquare2:vo,LucideChefHat:r0,LucideCherry:s0,LucideChevronDown:Ct,LucideChevronDownCircle:xa,LucideChevronDownSquare:Mo,LucideChevronFirst:d0,LucideChevronLast:l0,LucideChevronLeft:h0,LucideChevronLeftCircle:La,LucideChevronLeftSquare:_o,LucideChevronRight:u1,LucideChevronRightCircle:Ia,LucideChevronRightSquare:xo,LucideChevronUp:Lc,LucideChevronUpCircle:ba,LucideChevronUpSquare:Lo,LucideChevronsDown:p0,LucideChevronsDownUp:u0,LucideChevronsLeft:k0,LucideChevronsLeftRight:y0,LucideChevronsLeftRightEllipsis:m0,LucideChevronsRight:g0,LucideChevronsRightLeft:f0,LucideChevronsUp:v0,LucideChevronsUpDown:Bc,LucideChrome:M0,LucideChurch:_0,LucideCigarette:L0,LucideCigaretteOff:x0,LucideCircle:T0,LucideCircleAlert:ha,LucideCircleArrowDown:ua,LucideCircleArrowLeft:pa,LucideCircleArrowOutDownLeft:ya,LucideCircleArrowOutDownRight:ka,LucideCircleArrowOutUpLeft:ma,LucideCircleArrowOutUpRight:fa,LucideCircleArrowRight:ga,LucideCircleArrowUp:va,LucideCircleCheck:_a,LucideCircleCheckBig:Ma,LucideCircleChevronDown:xa,LucideCircleChevronLeft:La,LucideCircleChevronRight:Ia,LucideCircleChevronUp:ba,LucideCircleDashed:I0,LucideCircleDivide:wa,LucideCircleDollarSign:w0,LucideCircleDot:C0,LucideCircleDotDashed:b0,LucideCircleEllipsis:N0,LucideCircleEqual:S0,LucideCircleFadingArrowUp:$0,LucideCircleFadingPlus:j0,LucideCircleGauge:Ca,LucideCircleHelp:et,LucideCircleMinus:Na,LucideCircleOff:q0,LucideCircleParking:$a,LucideCircleParkingOff:Sa,LucideCirclePause:ja,LucideCirclePercent:qa,LucideCirclePlay:Aa,LucideCirclePlus:za,LucideCirclePoundSterling:A0,LucideCirclePower:Va,LucideCircleQuestionMark:et,LucideCircleSlash:z0,LucideCircleSlash2:Pa,LucideCircleSlashed:Pa,LucideCircleSmall:V0,LucideCircleStar:P0,LucideCircleStop:Ta,LucideCircleUser:Da,LucideCircleUserRound:Ha,LucideCircleX:Mt,LucideCircuitBoard:H0,LucideCitrus:D0,LucideClapperboard:B0,LucideClipboard:X0,LucideClipboardCheck:R0,LucideClipboardClock:F0,LucideClipboardCopy:E0,LucideClipboardEdit:Ra,LucideClipboardList:O0,LucideClipboardMinus:U0,LucideClipboardPaste:W0,LucideClipboardPen:Ra,LucideClipboardPenLine:Ba,LucideClipboardPlus:G0,LucideClipboardSignature:Ba,LucideClipboardType:Z0,LucideClipboardX:K0,LucideClock:yl,LucideClock1:J0,LucideClock10:Y0,LucideClock11:Q0,LucideClock12:el,LucideClock2:tl,LucideClock3:al,LucideClock4:nl,LucideClock5:ol,LucideClock6:cl,LucideClock7:il,LucideClock8:rl,LucideClock9:sl,LucideClockAlert:dl,LucideClockArrowDown:ll,LucideClockArrowUp:hl,LucideClockFading:ul,LucideClockPlus:pl,LucideClosedCaption:kl,LucideCloud:$l,LucideCloudAlert:ml,LucideCloudCheck:fl,LucideCloudCog:gl,LucideCloudDownload:Fa,LucideCloudDrizzle:vl,LucideCloudFog:Ml,LucideCloudHail:_l,LucideCloudLightning:xl,LucideCloudMoon:Il,LucideCloudMoonRain:Ll,LucideCloudOff:bl,LucideCloudRain:Cl,LucideCloudRainWind:wl,LucideCloudSnow:Nl,LucideCloudSun:jl,LucideCloudSunRain:Sl,LucideCloudUpload:Ea,LucideCloudy:ql,LucideClover:Al,LucideClub:zl,LucideCode:Vl,LucideCode2:Oa,LucideCodeSquare:Io,LucideCodeXml:Oa,LucideCodepen:Pl,LucideCodesandbox:Tl,LucideCoffee:Hl,LucideCog:Dl,LucideCoins:Bl,LucideColumns:Ua,LucideColumns2:Ua,LucideColumns3:Wa,LucideColumns3Cog:tt,LucideColumns4:Rl,LucideColumnsSettings:tt,LucideCombine:Fl,LucideCommand:El,LucideCompass:Ol,LucideComponent:Ul,LucideComputer:Wl,LucideConciergeBell:Gl,LucideCone:Zl,LucideConstruction:Kl,LucideContact:Xl,LucideContact2:Ga,LucideContactRound:Ga,LucideContainer:Yl,LucideContrast:Ql,LucideCookie:Jl,LucideCookingPot:th,LucideCopy:ih,LucideCopyCheck:eh,LucideCopyMinus:ah,LucideCopyPlus:nh,LucideCopySlash:oh,LucideCopyX:ch,LucideCopyleft:rh,LucideCopyright:sh,LucideCornerDownLeft:dh,LucideCornerDownRight:lh,LucideCornerLeftDown:hh,LucideCornerLeftUp:uh,LucideCornerRightDown:ph,LucideCornerRightUp:yh,LucideCornerUpLeft:kh,LucideCornerUpRight:mh,LucideCpu:fh,LucideCreativeCommons:gh,LucideCreditCard:vh,LucideCroissant:Mh,LucideCrop:_h,LucideCross:xh,LucideCrosshair:Lh,LucideCrown:Ih,LucideCuboid:bh,LucideCupSoda:wh,LucideCurlyBraces:Xt,LucideCurrency:Ch,LucideCylinder:Nh,LucideDam:Sh,LucideDatabase:qh,LucideDatabaseBackup:jh,LucideDatabaseZap:$h,LucideDecimalsArrowLeft:Ah,LucideDecimalsArrowRight:zh,LucideDelete:Vh,LucideDessert:Ph,LucideDiameter:Th,LucideDiamond:Bh,LucideDiamondMinus:Hh,LucideDiamondPercent:Za,LucideDiamondPlus:Dh,LucideDice1:Rh,LucideDice2:Fh,LucideDice3:Eh,LucideDice4:Oh,LucideDice5:Uh,LucideDice6:Wh,LucideDices:Gh,LucideDiff:Zh,LucideDisc:Jh,LucideDisc2:Kh,LucideDisc3:Xh,LucideDiscAlbum:Yh,LucideDivide:Qh,LucideDivideCircle:wa,LucideDivideSquare:No,LucideDna:tu,LucideDnaOff:eu,LucideDock:au,LucideDog:nu,LucideDollarSign:ou,LucideDonut:cu,LucideDoorClosed:ru,LucideDoorClosedLocked:iu,LucideDoorOpen:su,LucideDot:du,LucideDotSquare:jo,LucideDownload:hu,LucideDownloadCloud:Fa,LucideDraftingCompass:lu,LucideDrama:uu,LucideDribbble:pu,LucideDrill:yu,LucideDrone:ku,LucideDroplet:fu,LucideDropletOff:mu,LucideDroplets:gu,LucideDrum:vu,LucideDrumstick:Mu,LucideDumbbell:_u,LucideEar:Lu,LucideEarOff:xu,LucideEarth:Ka,LucideEarthLock:Iu,LucideEclipse:bu,LucideEdit:Ve,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:Nu,LucideEggFried:wu,LucideEggOff:Cu,LucideEllipsis:Ya,LucideEllipsisVertical:Xa,LucideEqual:$u,LucideEqualApproximately:Su,LucideEqualNot:ju,LucideEqualSquare:So,LucideEraser:qu,LucideEthernetPort:Au,LucideEuro:zu,LucideExpand:Pu,LucideExternalLink:Vu,LucideEye:y1,LucideEyeClosed:Tu,LucideEyeOff:p1,LucideFacebook:Hu,LucideFactory:Du,LucideFan:Bu,LucideFastForward:Ru,LucideFeather:Fu,LucideFence:Eu,LucideFerrisWheel:Ou,LucideFigma:Uu,LucideFile:Dp,LucideFileArchive:Wu,LucideFileAudio:Zu,LucideFileAudio2:Gu,LucideFileAxis3D:Ja,LucideFileAxis3d:Ja,LucideFileBadge:Yu,LucideFileBadge2:Ku,LucideFileBarChart:Qa,LucideFileBarChart2:en,LucideFileBox:Xu,LucideFileChartColumn:en,LucideFileChartColumnIncreasing:Qa,LucideFileChartLine:tn,LucideFileChartPie:an,LucideFileCheck:Qu,LucideFileCheck2:Ju,LucideFileClock:ep,LucideFileCode:tp,LucideFileCode2:ap,LucideFileCog:nn,LucideFileCog2:nn,LucideFileDiff:np,LucideFileDigit:op,LucideFileDown:cp,LucideFileEdit:cn,LucideFileHeart:ip,LucideFileImage:rp,LucideFileInput:sp,LucideFileJson:lp,LucideFileJson2:dp,LucideFileKey:up,LucideFileKey2:hp,LucideFileLineChart:tn,LucideFileLock:yp,LucideFileLock2:pp,LucideFileMinus:mp,LucideFileMinus2:kp,LucideFileMusic:fp,LucideFileOutput:gp,LucideFilePen:cn,LucideFilePenLine:on,LucideFilePieChart:an,LucideFilePlay:rn,LucideFilePlus:Mp,LucideFilePlus2:vp,LucideFileQuestion:sn,LucideFileQuestionMark:sn,LucideFileScan:_p,LucideFileSearch:Lp,LucideFileSearch2:xp,LucideFileSignature:on,LucideFileSliders:Ip,LucideFileSpreadsheet:bp,LucideFileStack:wp,LucideFileSymlink:Cp,LucideFileTerminal:Np,LucideFileText:Sp,LucideFileType:$p,LucideFileType2:jp,LucideFileUp:qp,LucideFileUser:Ap,LucideFileVideo:rn,LucideFileVideo2:dn,LucideFileVideoCamera:dn,LucideFileVolume:Vp,LucideFileVolume2:zp,LucideFileWarning:Pp,LucideFileX:Hp,LucideFileX2:Tp,LucideFiles:Bp,LucideFilm:Rp,LucideFilter:_t,LucideFilterX:un,LucideFingerprint:Fp,LucideFireExtinguisher:Ep,LucideFish:Up,LucideFishOff:Op,LucideFishSymbol:Wp,LucideFlag:Xp,LucideFlagOff:Gp,LucideFlagTriangleLeft:Zp,LucideFlagTriangleRight:Kp,LucideFlame:Jp,LucideFlameKindling:Yp,LucideFlashlight:ey,LucideFlashlightOff:Qp,LucideFlaskConical:ay,LucideFlaskConicalOff:ty,LucideFlaskRound:ny,LucideFlipHorizontal:cy,LucideFlipHorizontal2:oy,LucideFlipVertical:ry,LucideFlipVertical2:iy,LucideFlower:dy,LucideFlower2:sy,LucideFocus:ly,LucideFoldHorizontal:hy,LucideFoldVertical:uy,LucideFolder:k1,LucideFolderArchive:py,LucideFolderCheck:yy,LucideFolderClock:ky,LucideFolderClosed:my,LucideFolderCode:fy,LucideFolderCog:ln,LucideFolderCog2:ln,LucideFolderDot:gy,LucideFolderDown:vy,LucideFolderEdit:hn,LucideFolderGit:_y,LucideFolderGit2:My,LucideFolderHeart:xy,LucideFolderInput:Ly,LucideFolderKanban:Iy,LucideFolderKey:by,LucideFolderLock:wy,LucideFolderMinus:Cy,LucideFolderOpen:Sy,LucideFolderOpenDot:Ny,LucideFolderOutput:jy,LucideFolderPen:hn,LucideFolderPlus:Rc,LucideFolderRoot:$y,LucideFolderSearch:Ay,LucideFolderSearch2:qy,LucideFolderSymlink:zy,LucideFolderSync:Vy,LucideFolderTree:Py,LucideFolderUp:Ty,LucideFolderX:Hy,LucideFolders:Dy,LucideFootprints:By,LucideForkKnife:mc,LucideForkKnifeCrossed:kc,LucideForklift:Ry,LucideFormInput:Gn,LucideForward:Fy,LucideFrame:Ey,LucideFramer:Oy,LucideFrown:Uy,LucideFuel:Wy,LucideFullscreen:Gy,LucideFunctionSquare:$o,LucideFunnel:_t,LucideFunnelPlus:Zy,LucideFunnelX:un,LucideGalleryHorizontal:Xy,LucideGalleryHorizontalEnd:Ky,LucideGalleryThumbnails:Yy,LucideGalleryVertical:Qy,LucideGalleryVerticalEnd:Jy,LucideGamepad:t4,LucideGamepad2:e4,LucideGanttChart:sa,LucideGanttChartSquare:nt,LucideGauge:a4,LucideGaugeCircle:Ca,LucideGavel:n4,LucideGem:o4,LucideGeorgianLari:c4,LucideGhost:i4,LucideGift:r4,LucideGitBranch:d4,LucideGitBranchPlus:s4,LucideGitCommit:pn,LucideGitCommitHorizontal:pn,LucideGitCommitVertical:l4,LucideGitCompare:u4,LucideGitCompareArrows:h4,LucideGitFork:p4,LucideGitGraph:y4,LucideGitMerge:k4,LucideGitPullRequest:_4,LucideGitPullRequestArrow:m4,LucideGitPullRequestClosed:f4,LucideGitPullRequestCreate:v4,LucideGitPullRequestCreateArrow:g4,LucideGitPullRequestDraft:M4,LucideGithub:x4,LucideGitlab:L4,LucideGlassWater:I4,LucideGlasses:b4,LucideGlobe:C4,LucideGlobe2:Ka,LucideGlobeLock:w4,LucideGoal:N4,LucideGpu:S4,LucideGrab:gn,LucideGraduationCap:j4,LucideGrape:$4,LucideGrid:at,LucideGrid2X2:fn,LucideGrid2X2Check:yn,LucideGrid2X2Plus:kn,LucideGrid2X2X:mn,LucideGrid2x2:fn,LucideGrid2x2Check:yn,LucideGrid2x2Plus:kn,LucideGrid2x2X:mn,LucideGrid3X3:at,LucideGrid3x2:q4,LucideGrid3x3:at,LucideGrip:z4,LucideGripHorizontal:A4,LucideGripVertical:m1,LucideGroup:V4,LucideGuitar:P4,LucideHam:T4,LucideHamburger:H4,LucideHammer:D4,LucideHand:U4,LucideHandCoins:B4,LucideHandFist:R4,LucideHandGrab:gn,LucideHandHeart:F4,LucideHandHelping:vn,LucideHandMetal:E4,LucideHandPlatter:O4,LucideHandbag:W4,LucideHandshake:G4,LucideHardDrive:X4,LucideHardDriveDownload:Z4,LucideHardDriveUpload:K4,LucideHardHat:Y4,LucideHash:J4,LucideHatGlasses:Q4,LucideHaze:e5,LucideHdmiPort:t5,LucideHeading:s5,LucideHeading1:a5,LucideHeading2:n5,LucideHeading3:o5,LucideHeading4:c5,LucideHeading5:i5,LucideHeading6:r5,LucideHeadphoneOff:d5,LucideHeadphones:l5,LucideHeadset:h5,LucideHeart:g5,LucideHeartCrack:u5,LucideHeartHandshake:p5,LucideHeartMinus:y5,LucideHeartOff:k5,LucideHeartPlus:m5,LucideHeartPulse:f5,LucideHeater:v5,LucideHelpCircle:et,LucideHelpingHand:vn,LucideHexagon:M5,LucideHighlighter:_5,LucideHistory:x5,LucideHome:xt,LucideHop:I5,LucideHopOff:L5,LucideHospital:f1,LucideHotel:b5,LucideHourglass:w5,LucideHouse:xt,LucideHousePlug:C5,LucideHousePlus:S5,LucideHouseWifi:N5,LucideIceCream:_n,LucideIceCream2:Mn,LucideIceCreamBowl:Mn,LucideIceCreamCone:_n,LucideIdCard:$5,LucideIdCardLanyard:j5,LucideImage:D5,LucideImageDown:q5,LucideImageMinus:A5,LucideImageOff:z5,LucideImagePlay:V5,LucideImagePlus:P5,LucideImageUp:T5,LucideImageUpscale:H5,LucideImages:B5,LucideImport:R5,LucideInbox:F5,LucideIndent:Ln,LucideIndentDecrease:xn,LucideIndentIncrease:Ln,LucideIndianRupee:E5,LucideInfinity:O5,LucideInfo:U5,LucideInspect:Ho,LucideInspectionPanel:W5,LucideInstagram:G5,LucideItalic:Z5,LucideIterationCcw:K5,LucideIterationCw:X5,LucideJapaneseYen:J5,LucideJoystick:Y5,LucideKanban:Q5,LucideKanbanSquare:qo,LucideKanbanSquareDashed:bo,LucideKayak:ek,LucideKey:nk,LucideKeyRound:tk,LucideKeySquare:ak,LucideKeyboard:ik,LucideKeyboardMusic:ok,LucideKeyboardOff:ck,LucideLamp:uk,LucideLampCeiling:rk,LucideLampDesk:dk,LucideLampFloor:sk,LucideLampWallDown:lk,LucideLampWallUp:hk,LucideLandPlot:pk,LucideLandmark:yk,LucideLanguages:kk,LucideLaptop:fk,LucideLaptop2:In,LucideLaptopMinimal:In,LucideLaptopMinimalCheck:mk,LucideLasso:vk,LucideLassoSelect:gk,LucideLaugh:Mk,LucideLayers:bn,LucideLayers2:_k,LucideLayers3:bn,LucideLayout:Un,LucideLayoutDashboard:xk,LucideLayoutGrid:Lk,LucideLayoutList:Ik,LucideLayoutPanelLeft:bk,LucideLayoutPanelTop:wk,LucideLayoutTemplate:Ck,LucideLeaf:Nk,LucideLeafyGreen:jk,LucideLectern:Sk,LucideLetterText:$k,LucideLibrary:Ak,LucideLibraryBig:qk,LucideLibrarySquare:Ao,LucideLifeBuoy:zk,LucideLigature:Vk,LucideLightbulb:Tk,LucideLightbulbOff:Pk,LucideLineChart:ca,LucideLineSquiggle:Hk,LucideLink:Rk,LucideLink2:Dk,LucideLink2Off:Bk,LucideLinkedin:Fk,LucideList:c3,LucideListCheck:Ek,LucideListChecks:Ok,LucideListCollapse:Uk,LucideListEnd:Wk,LucideListFilter:Kk,LucideListFilterPlus:Gk,LucideListMinus:Zk,LucideListMusic:Xk,LucideListOrdered:Yk,LucideListPlus:Jk,LucideListRestart:Qk,LucideListStart:e3,LucideListTodo:t3,LucideListTree:a3,LucideListVideo:n3,LucideListX:o3,LucideLoader:r3,LucideLoader2:wn,LucideLoaderCircle:wn,LucideLoaderPinwheel:i3,LucideLocate:l3,LucideLocateFixed:s3,LucideLocateOff:d3,LucideLocationEdit:jn,LucideLock:u3,LucideLockKeyhole:h3,LucideLockKeyholeOpen:Cn,LucideLockOpen:Nn,LucideLogIn:p3,LucideLogOut:y3,LucideLogs:k3,LucideLollipop:m3,LucideLuggage:f3,LucideMSquare:zo,LucideMagnet:g3,LucideMail:b3,LucideMailCheck:v3,LucideMailMinus:M3,LucideMailOpen:_3,LucideMailPlus:x3,LucideMailQuestion:Sn,LucideMailQuestionMark:Sn,LucideMailSearch:L3,LucideMailWarning:I3,LucideMailX:w3,LucideMailbox:C3,LucideMails:N3,LucideMap:E3,LucideMapMinus:S3,LucideMapPin:B3,LucideMapPinCheck:j3,LucideMapPinCheckInside:$3,LucideMapPinHouse:q3,LucideMapPinMinus:z3,LucideMapPinMinusInside:A3,LucideMapPinOff:V3,LucideMapPinPen:jn,LucideMapPinPlus:T3,LucideMapPinPlusInside:P3,LucideMapPinX:D3,LucideMapPinXInside:H3,LucideMapPinned:R3,LucideMapPlus:F3,LucideMars:U3,LucideMarsStroke:O3,LucideMartini:W3,LucideMaximize:K3,LucideMaximize2:G3,LucideMedal:Z3,LucideMegaphone:Y3,LucideMegaphoneOff:X3,LucideMeh:J3,LucideMemoryStick:Q3,LucideMenu:Fc,LucideMenuSquare:Vo,LucideMerge:em,LucideMessageCircle:lm,LucideMessageCircleCode:tm,LucideMessageCircleDashed:am,LucideMessageCircleHeart:nm,LucideMessageCircleMore:om,LucideMessageCircleOff:cm,LucideMessageCirclePlus:im,LucideMessageCircleQuestion:$n,LucideMessageCircleQuestionMark:$n,LucideMessageCircleReply:rm,LucideMessageCircleWarning:sm,LucideMessageCircleX:dm,LucideMessageSquare:wm,LucideMessageSquareCode:hm,LucideMessageSquareDashed:um,LucideMessageSquareDiff:pm,LucideMessageSquareDot:ym,LucideMessageSquareHeart:km,LucideMessageSquareLock:mm,LucideMessageSquareMore:fm,LucideMessageSquareOff:gm,LucideMessageSquarePlus:vm,LucideMessageSquareQuote:Mm,LucideMessageSquareReply:_m,LucideMessageSquareShare:xm,LucideMessageSquareText:Lm,LucideMessageSquareWarning:Im,LucideMessageSquareX:bm,LucideMessagesSquare:Cm,LucideMic:Sm,LucideMic2:qn,LucideMicOff:Nm,LucideMicVocal:qn,LucideMicrochip:jm,LucideMicroscope:$m,LucideMicrowave:qm,LucideMilestone:Am,LucideMilk:Vm,LucideMilkOff:zm,LucideMinimize:Tm,LucideMinimize2:Pm,LucideMinus:Hm,LucideMinusCircle:Na,LucideMinusSquare:Po,LucideMonitor:Ym,LucideMonitorCheck:Dm,LucideMonitorCog:Bm,LucideMonitorDot:Rm,LucideMonitorDown:Fm,LucideMonitorOff:Em,LucideMonitorPause:Um,LucideMonitorPlay:Om,LucideMonitorSmartphone:Wm,LucideMonitorSpeaker:Gm,LucideMonitorStop:Zm,LucideMonitorUp:Km,LucideMonitorX:Xm,LucideMoon:Qm,LucideMoonStar:Jm,LucideMoreHorizontal:Ya,LucideMoreVertical:Xa,LucideMountain:t6,LucideMountainSnow:e6,LucideMouse:r6,LucideMouseOff:a6,LucideMousePointer:c6,LucideMousePointer2:n6,LucideMousePointerBan:o6,LucideMousePointerClick:i6,LucideMousePointerSquareDashed:wo,LucideMove:a.Move,LucideMove3D:An,LucideMove3d:An,LucideMoveDiagonal:d6,LucideMoveDiagonal2:s6,LucideMoveDown:p6,LucideMoveDownLeft:l6,LucideMoveDownRight:h6,LucideMoveHorizontal:u6,LucideMoveLeft:y6,LucideMoveRight:k6,LucideMoveUp:g6,LucideMoveUpLeft:m6,LucideMoveUpRight:f6,LucideMoveVertical:v6,LucideMusic:L6,LucideMusic2:M6,LucideMusic3:_6,LucideMusic4:x6,LucideNavigation:C6,LucideNavigation2:b6,LucideNavigation2Off:I6,LucideNavigationOff:w6,LucideNetwork:N6,LucideNewspaper:S6,LucideNfc:j6,LucideNonBinary:$6,LucideNotebook:V6,LucideNotebookPen:q6,LucideNotebookTabs:A6,LucideNotebookText:z6,LucideNotepadText:T6,LucideNotepadTextDashed:P6,LucideNut:D6,LucideNutOff:H6,LucideOctagon:R6,LucideOctagonAlert:zn,LucideOctagonMinus:B6,LucideOctagonPause:Vn,LucideOctagonX:Pn,LucideOmega:F6,LucideOption:E6,LucideOrbit:O6,LucideOrigami:U6,LucideOutdent:xn,LucidePackage:Q6,LucidePackage2:W6,LucidePackageCheck:G6,LucidePackageMinus:Z6,LucidePackageOpen:K6,LucidePackagePlus:X6,LucidePackageSearch:Y6,LucidePackageX:J6,LucidePaintBucket:e8,LucidePaintRoller:t8,LucidePaintbrush:a8,LucidePaintbrush2:Tn,LucidePaintbrushVertical:Tn,LucidePalette:n8,LucidePalmtree:oc,LucidePanda:o8,LucidePanelBottom:r8,LucidePanelBottomClose:c8,LucidePanelBottomDashed:Hn,LucidePanelBottomInactive:Hn,LucidePanelBottomOpen:i8,LucidePanelLeft:Fn,LucidePanelLeftClose:Dn,LucidePanelLeftDashed:Bn,LucidePanelLeftInactive:Bn,LucidePanelLeftOpen:Rn,LucidePanelRight:l8,LucidePanelRightClose:s8,LucidePanelRightDashed:En,LucidePanelRightInactive:En,LucidePanelRightOpen:d8,LucidePanelTop:p8,LucidePanelTopClose:h8,LucidePanelTopDashed:On,LucidePanelTopInactive:On,LucidePanelTopOpen:u8,LucidePanelsLeftBottom:y8,LucidePanelsLeftRight:Wa,LucidePanelsRightBottom:k8,LucidePanelsTopBottom:Xn,LucidePanelsTopLeft:Un,LucidePaperclip:m8,LucideParentheses:f8,LucideParkingCircle:$a,LucideParkingCircleOff:Sa,LucideParkingMeter:g8,LucideParkingSquare:Do,LucideParkingSquareOff:To,LucidePartyPopper:v8,LucidePause:M8,LucidePauseCircle:ja,LucidePauseOctagon:Vn,LucidePawPrint:_8,LucidePcCase:x8,LucidePen:lt,LucidePenBox:Ve,LucidePenLine:dt,LucidePenOff:I8,LucidePenSquare:Ve,LucidePenTool:L8,LucidePencil:g1,LucidePencilLine:b8,LucidePencilOff:w8,LucidePencilRuler:C8,LucidePentagon:N8,LucidePercent:S8,LucidePercentCircle:qa,LucidePercentDiamond:Za,LucidePercentSquare:Bo,LucidePersonStanding:$8,LucidePhilippinePeso:j8,LucidePhone:T8,LucidePhoneCall:q8,LucidePhoneForwarded:A8,LucidePhoneIncoming:z8,LucidePhoneMissed:V8,LucidePhoneOff:P8,LucidePhoneOutgoing:H8,LucidePi:D8,LucidePiSquare:Ro,LucidePiano:B8,LucidePickaxe:R8,LucidePictureInPicture:E8,LucidePictureInPicture2:F8,LucidePieChart:da,LucidePiggyBank:O8,LucidePilcrow:W8,LucidePilcrowLeft:U8,LucidePilcrowRight:G8,LucidePilcrowSquare:Fo,LucidePill:K8,LucidePillBottle:Z8,LucidePin:Y8,LucidePinOff:X8,LucidePipette:J8,LucidePizza:Q8,LucidePlane:af,LucidePlaneLanding:ef,LucidePlaneTakeoff:tf,LucidePlay:nf,LucidePlayCircle:Aa,LucidePlaySquare:Eo,LucidePlug:cf,LucidePlug2:of,LucidePlugZap:Wn,LucidePlugZap2:Wn,LucidePlus:Ec,LucidePlusCircle:za,LucidePlusSquare:Oo,LucidePocket:sf,LucidePocketKnife:rf,LucidePodcast:df,LucidePointer:hf,LucidePointerOff:lf,LucidePopcorn:pf,LucidePopsicle:uf,LucidePoundSterling:yf,LucidePower:mf,LucidePowerCircle:Va,LucidePowerOff:kf,LucidePowerSquare:Uo,LucidePresentation:ff,LucidePrinter:vf,LucidePrinterCheck:gf,LucideProjector:Mf,LucideProportions:_f,LucidePuzzle:Lf,LucidePyramid:xf,LucideQrCode:If,LucideQuote:bf,LucideRabbit:wf,LucideRadar:Cf,LucideRadiation:Nf,LucideRadical:Sf,LucideRadio:qf,LucideRadioReceiver:jf,LucideRadioTower:$f,LucideRadius:Af,LucideRailSymbol:zf,LucideRainbow:Vf,LucideRat:Pf,LucideRatio:Tf,LucideReceipt:Gf,LucideReceiptCent:Hf,LucideReceiptEuro:Bf,LucideReceiptIndianRupee:Df,LucideReceiptJapaneseYen:Rf,LucideReceiptPoundSterling:Ff,LucideReceiptRussianRuble:Ef,LucideReceiptSwissFranc:Of,LucideReceiptText:Uf,LucideReceiptTurkishLira:Wf,LucideRectangleCircle:Zf,LucideRectangleEllipsis:Gn,LucideRectangleGoggles:Kf,LucideRectangleHorizontal:Xf,LucideRectangleVertical:Yf,LucideRecycle:Jf,LucideRedo:t7,LucideRedo2:Qf,LucideRedoDot:e7,LucideRefreshCcw:n7,LucideRefreshCcwDot:a7,LucideRefreshCw:c7,LucideRefreshCwOff:o7,LucideRefrigerator:i7,LucideRegex:r7,LucideRemoveFormatting:s7,LucideRepeat:h7,LucideRepeat1:d7,LucideRepeat2:l7,LucideReplace:p7,LucideReplaceAll:u7,LucideReply:m7,LucideReplyAll:y7,LucideRewind:k7,LucideRibbon:f7,LucideRocket:g7,LucideRockingChair:_7,LucideRollerCoaster:v7,LucideRose:M7,LucideRotate3D:Zn,LucideRotate3d:Zn,LucideRotateCcw:I7,LucideRotateCcwKey:x7,LucideRotateCcwSquare:L7,LucideRotateCw:w7,LucideRotateCwSquare:b7,LucideRoute:N7,LucideRouteOff:C7,LucideRouter:S7,LucideRows:Kn,LucideRows2:Kn,LucideRows3:Xn,LucideRows4:j7,LucideRss:$7,LucideRuler:A7,LucideRulerDimensionLine:q7,LucideRussianRuble:z7,LucideSailboat:V7,LucideSalad:P7,LucideSandwich:T7,LucideSatellite:D7,LucideSatelliteDish:H7,LucideSaudiRiyal:B7,LucideSave:O7,LucideSaveAll:R7,LucideSaveOff:F7,LucideScale:E7,LucideScale3D:Yn,LucideScale3d:Yn,LucideScaling:U7,LucideScan:eg,LucideScanBarcode:W7,LucideScanEye:G7,LucideScanFace:Z7,LucideScanHeart:K7,LucideScanLine:X7,LucideScanQrCode:Y7,LucideScanSearch:J7,LucideScanText:Q7,LucideScatterChart:la,LucideSchool:tg,LucideSchool2:rc,LucideScissors:ng,LucideScissorsLineDashed:ag,LucideScissorsSquare:Wo,LucideScissorsSquareDashedBottom:fo,LucideScreenShare:og,LucideScreenShareOff:cg,LucideScroll:rg,LucideScrollText:ig,LucideSearch:v1,LucideSearchCheck:sg,LucideSearchCode:dg,LucideSearchSlash:lg,LucideSearchX:hg,LucideSection:ug,LucideSend:yg,LucideSendHorizonal:Jn,LucideSendHorizontal:Jn,LucideSendToBack:pg,LucideSeparatorHorizontal:kg,LucideSeparatorVertical:mg,LucideServer:Mg,LucideServerCog:fg,LucideServerCrash:vg,LucideServerOff:gg,LucideSettings:xg,LucideSettings2:_g,LucideShapes:Lg,LucideShare:bg,LucideShare2:Ig,LucideSheet:wg,LucideShell:Cg,LucideShield:Tg,LucideShieldAlert:Ng,LucideShieldBan:Sg,LucideShieldCheck:jg,LucideShieldClose:eo,LucideShieldEllipsis:$g,LucideShieldHalf:qg,LucideShieldMinus:zg,LucideShieldOff:Ag,LucideShieldPlus:Vg,LucideShieldQuestion:Qn,LucideShieldQuestionMark:Qn,LucideShieldUser:Pg,LucideShieldX:eo,LucideShip:Dg,LucideShipWheel:Hg,LucideShirt:Bg,LucideShoppingBag:Rg,LucideShoppingBasket:Fg,LucideShoppingCart:Eg,LucideShovel:Og,LucideShowerHead:Ug,LucideShredder:Wg,LucideShrimp:Gg,LucideShrink:Zg,LucideShrub:Kg,LucideShuffle:Yg,LucideSidebar:Fn,LucideSidebarClose:Dn,LucideSidebarOpen:Rn,LucideSigma:Xg,LucideSigmaSquare:Go,LucideSignal:av,LucideSignalHigh:Jg,LucideSignalLow:Qg,LucideSignalMedium:ev,LucideSignalZero:tv,LucideSignature:nv,LucideSignpost:cv,LucideSignpostBig:ov,LucideSiren:iv,LucideSkipBack:rv,LucideSkipForward:sv,LucideSkull:dv,LucideSlack:lv,LucideSlash:hv,LucideSlashSquare:Zo,LucideSlice:uv,LucideSliders:to,LucideSlidersHorizontal:pv,LucideSlidersVertical:to,LucideSmartphone:mv,LucideSmartphoneCharging:yv,LucideSmartphoneNfc:kv,LucideSmile:gv,LucideSmilePlus:fv,LucideSnail:vv,LucideSnowflake:Mv,LucideSoapDispenserDroplet:_v,LucideSofa:xv,LucideSortAsc:Ft,LucideSortDesc:Dt,LucideSoup:Lv,LucideSpace:Iv,LucideSpade:bv,LucideSparkle:wv,LucideSparkles:ao,LucideSpeaker:Cv,LucideSpeech:Nv,LucideSpellCheck:jv,LucideSpellCheck2:Sv,LucideSpline:qv,LucideSplinePointer:$v,LucideSplit:Av,LucideSplitSquareHorizontal:Ko,LucideSplitSquareVertical:Xo,LucideSpool:zv,LucideSpotlight:Vv,LucideSprayCan:Pv,LucideSprout:Tv,LucideSquare:Zv,LucideSquareActivity:Lt,LucideSquareArrowDown:co,LucideSquareArrowDownLeft:no,LucideSquareArrowDownRight:oo,LucideSquareArrowLeft:io,LucideSquareArrowOutDownLeft:ro,LucideSquareArrowOutDownRight:so,LucideSquareArrowOutUpLeft:lo,LucideSquareArrowOutUpRight:ho,LucideSquareArrowRight:uo,LucideSquareArrowUp:ko,LucideSquareArrowUpLeft:po,LucideSquareArrowUpRight:yo,LucideSquareAsterisk:mo,LucideSquareBottomDashedScissors:fo,LucideSquareChartGantt:nt,LucideSquareCheck:vo,LucideSquareCheckBig:go,LucideSquareChevronDown:Mo,LucideSquareChevronLeft:_o,LucideSquareChevronRight:xo,LucideSquareChevronUp:Lo,LucideSquareCode:Io,LucideSquareDashed:Co,LucideSquareDashedBottom:Dv,LucideSquareDashedBottomCode:Hv,LucideSquareDashedKanban:bo,LucideSquareDashedMousePointer:wo,LucideSquareDashedTopSolid:Bv,LucideSquareDivide:No,LucideSquareDot:jo,LucideSquareEqual:So,LucideSquareFunction:$o,LucideSquareGanttChart:nt,LucideSquareKanban:qo,LucideSquareLibrary:Ao,LucideSquareM:zo,LucideSquareMenu:Vo,LucideSquareMinus:Po,LucideSquareMousePointer:Ho,LucideSquareParking:Do,LucideSquareParkingOff:To,LucideSquarePause:Rv,LucideSquarePen:Ve,LucideSquarePercent:Bo,LucideSquarePi:Ro,LucideSquarePilcrow:Fo,LucideSquarePlay:Eo,LucideSquarePlus:Oo,LucideSquarePower:Uo,LucideSquareRadical:Fv,LucideSquareRoundCorner:Ev,LucideSquareScissors:Wo,LucideSquareSigma:Go,LucideSquareSlash:Zo,LucideSquareSplitHorizontal:Ko,LucideSquareSplitVertical:Xo,LucideSquareSquare:Ov,LucideSquareStack:Uv,LucideSquareStar:Wv,LucideSquareStop:Gv,LucideSquareTerminal:Yo,LucideSquareUser:Qo,LucideSquareUserRound:Jo,LucideSquareX:ec,LucideSquaresExclude:Kv,LucideSquaresIntersect:Xv,LucideSquaresSubtract:Yv,LucideSquaresUnite:Jv,LucideSquircle:e9,LucideSquircleDashed:Qv,LucideSquirrel:t9,LucideStamp:a9,LucideStar:i9,LucideStarHalf:n9,LucideStarOff:o9,LucideStars:ao,LucideStepBack:c9,LucideStepForward:r9,LucideStethoscope:s9,LucideSticker:d9,LucideStickyNote:l9,LucideStopCircle:Ta,LucideStore:h9,LucideStretchHorizontal:u9,LucideStretchVertical:p9,LucideStrikethrough:y9,LucideSubscript:k9,LucideSubtitles:Yt,LucideSun:_9,LucideSunDim:m9,LucideSunMedium:f9,LucideSunMoon:g9,LucideSunSnow:v9,LucideSunrise:M9,LucideSunset:x9,LucideSuperscript:L9,LucideSwatchBook:I9,LucideSwissFranc:b9,LucideSwitchCamera:w9,LucideSword:C9,LucideSwords:S9,LucideSyringe:N9,LucideTable:T9,LucideTable2:j9,LucideTableCellsMerge:$9,LucideTableCellsSplit:q9,LucideTableColumnsSplit:A9,LucideTableConfig:tt,LucideTableOfContents:z9,LucideTableProperties:V9,LucideTableRowsSplit:P9,LucideTablet:D9,LucideTabletSmartphone:H9,LucideTablets:B9,LucideTag:R9,LucideTags:F9,LucideTally1:E9,LucideTally2:O9,LucideTally3:U9,LucideTally4:W9,LucideTally5:G9,LucideTangent:Z9,LucideTarget:K9,LucideTelescope:X9,LucideTent:J9,LucideTentTree:Y9,LucideTerminal:Q9,LucideTerminalSquare:Yo,LucideTestTube:eM,LucideTestTube2:tc,LucideTestTubeDiagonal:tc,LucideTestTubes:tM,LucideText:iM,LucideTextCursor:nM,LucideTextCursorInput:aM,LucideTextQuote:oM,LucideTextSearch:cM,LucideTextSelect:ac,LucideTextSelection:ac,LucideTheater:rM,LucideThermometer:hM,LucideThermometerSnowflake:sM,LucideThermometerSun:dM,LucideThumbsDown:lM,LucideThumbsUp:uM,LucideTicket:vM,LucideTicketCheck:pM,LucideTicketMinus:yM,LucideTicketPercent:kM,LucideTicketPlus:mM,LucideTicketSlash:fM,LucideTicketX:gM,LucideTickets:_M,LucideTicketsPlane:MM,LucideTimer:IM,LucideTimerOff:xM,LucideTimerReset:LM,LucideToggleLeft:bM,LucideToggleRight:wM,LucideToilet:CM,LucideToolCase:NM,LucideTornado:jM,LucideTorus:SM,LucideTouchpad:qM,LucideTouchpadOff:$M,LucideTowerControl:zM,LucideToyBrick:AM,LucideTractor:VM,LucideTrafficCone:PM,LucideTrain:nc,LucideTrainFront:HM,LucideTrainFrontTunnel:TM,LucideTrainTrack:DM,LucideTramFront:nc,LucideTransgender:BM,LucideTrash:RM,LucideTrash2:Nt,LucideTreeDeciduous:FM,LucideTreePalm:oc,LucideTreePine:EM,LucideTrees:OM,LucideTrello:UM,LucideTrendingDown:WM,LucideTrendingUp:GM,LucideTrendingUpDown:ZM,LucideTriangle:XM,LucideTriangleAlert:cc,LucideTriangleDashed:KM,LucideTriangleRight:YM,LucideTrophy:JM,LucideTruck:e_,LucideTruckElectric:QM,LucideTurkishLira:t_,LucideTurntable:a_,LucideTurtle:n_,LucideTv:c_,LucideTv2:ic,LucideTvMinimal:ic,LucideTvMinimalPlay:o_,LucideTwitch:i_,LucideTwitter:r_,LucideType:d_,LucideTypeOutline:s_,LucideUmbrella:h_,LucideUmbrellaOff:l_,LucideUnderline:u_,LucideUndo:k_,LucideUndo2:p_,LucideUndoDot:y_,LucideUnfoldHorizontal:m_,LucideUnfoldVertical:f_,LucideUngroup:g_,LucideUniversity:rc,LucideUnlink:x_,LucideUnlink2:v_,LucideUnlock:Nn,LucideUnlockKeyhole:Cn,LucideUnplug:M_,LucideUpload:__,LucideUploadCloud:Ea,LucideUsb:L_,LucideUser:z_,LucideUser2:pc,LucideUserCheck:I_,LucideUserCheck2:sc,LucideUserCircle:Da,LucideUserCircle2:Ha,LucideUserCog:b_,LucideUserCog2:dc,LucideUserLock:w_,LucideUserMinus:C_,LucideUserMinus2:lc,LucideUserPen:N_,LucideUserPlus:M1,LucideUserPlus2:hc,LucideUserRound:pc,LucideUserRoundCheck:sc,LucideUserRoundCog:dc,LucideUserRoundMinus:lc,LucideUserRoundPen:S_,LucideUserRoundPlus:hc,LucideUserRoundSearch:j_,LucideUserRoundX:uc,LucideUserSearch:$_,LucideUserSquare:Qo,LucideUserSquare2:Jo,LucideUserStar:q_,LucideUserX:A_,LucideUserX2:uc,LucideUsers:V_,LucideUsers2:yc,LucideUsersRound:yc,LucideUtensils:mc,LucideUtensilsCrossed:kc,LucideUtilityPole:P_,LucideVariable:T_,LucideVault:H_,LucideVectorSquare:D_,LucideVegan:B_,LucideVenetianMask:R_,LucideVenus:U_,LucideVenusAndMars:F_,LucideVerified:Ut,LucideVibrate:O_,LucideVibrateOff:E_,LucideVideo:G_,LucideVideoOff:W_,LucideVideotape:Z_,LucideView:X_,LucideVoicemail:K_,LucideVolleyball:Y_,LucideVolume:nx,LucideVolume1:J_,LucideVolume2:Q_,LucideVolumeOff:ex,LucideVolumeX:tx,LucideVote:ax,LucideWallet:cx,LucideWallet2:fc,LucideWalletCards:ox,LucideWalletMinimal:fc,LucideWallpaper:ix,LucideWand:rx,LucideWand2:gc,LucideWandSparkles:gc,LucideWarehouse:sx,LucideWashingMachine:dx,LucideWatch:lx,LucideWaves:ux,LucideWavesLadder:hx,LucideWaypoints:px,LucideWebcam:yx,LucideWebhook:fx,LucideWebhookOff:kx,LucideWeight:mx,LucideWheat:vx,LucideWheatOff:gx,LucideWholeWord:Mx,LucideWifi:Nx,LucideWifiCog:_x,LucideWifiHigh:xx,LucideWifiLow:Lx,LucideWifiOff:Ix,LucideWifiPen:bx,LucideWifiSync:wx,LucideWifiZero:Cx,LucideWind:jx,LucideWindArrowDown:Sx,LucideWine:qx,LucideWineOff:$x,LucideWorkflow:Ax,LucideWorm:zx,LucideWrapText:Vx,LucideWrench:Px,LucideX:Ge,LucideXCircle:Mt,LucideXOctagon:Pn,LucideXSquare:ec,LucideYoutube:Hx,LucideZap:Dx,LucideZapOff:Tx,LucideZoomIn:Bx,LucideZoomOut:Rx,Luggage:f3,LuggageIcon:f3,MSquare:zo,MSquareIcon:zo,Magnet:g3,MagnetIcon:g3,Mail:b3,MailCheck:v3,MailCheckIcon:v3,MailIcon:b3,MailMinus:M3,MailMinusIcon:M3,MailOpen:_3,MailOpenIcon:_3,MailPlus:x3,MailPlusIcon:x3,MailQuestion:Sn,MailQuestionIcon:Sn,MailQuestionMark:Sn,MailQuestionMarkIcon:Sn,MailSearch:L3,MailSearchIcon:L3,MailWarning:I3,MailWarningIcon:I3,MailX:w3,MailXIcon:w3,Mailbox:C3,MailboxIcon:C3,Mails:N3,MailsIcon:N3,Map:E3,MapIcon:E3,MapMinus:S3,MapMinusIcon:S3,MapPin:B3,MapPinCheck:j3,MapPinCheckIcon:j3,MapPinCheckInside:$3,MapPinCheckInsideIcon:$3,MapPinHouse:q3,MapPinHouseIcon:q3,MapPinIcon:B3,MapPinMinus:z3,MapPinMinusIcon:z3,MapPinMinusInside:A3,MapPinMinusInsideIcon:A3,MapPinOff:V3,MapPinOffIcon:V3,MapPinPen:jn,MapPinPenIcon:jn,MapPinPlus:T3,MapPinPlusIcon:T3,MapPinPlusInside:P3,MapPinPlusInsideIcon:P3,MapPinX:D3,MapPinXIcon:D3,MapPinXInside:H3,MapPinXInsideIcon:H3,MapPinned:R3,MapPinnedIcon:R3,MapPlus:F3,MapPlusIcon:F3,Mars:U3,MarsIcon:U3,MarsStroke:O3,MarsStrokeIcon:O3,Martini:W3,MartiniIcon:W3,Maximize:K3,Maximize2:G3,Maximize2Icon:G3,MaximizeIcon:K3,Medal:Z3,MedalIcon:Z3,Megaphone:Y3,MegaphoneIcon:Y3,MegaphoneOff:X3,MegaphoneOffIcon:X3,Meh:J3,MehIcon:J3,MemoryStick:Q3,MemoryStickIcon:Q3,Menu:Fc,MenuIcon:Fc,MenuSquare:Vo,MenuSquareIcon:Vo,Merge:em,MergeIcon:em,MessageCircle:lm,MessageCircleCode:tm,MessageCircleCodeIcon:tm,MessageCircleDashed:am,MessageCircleDashedIcon:am,MessageCircleHeart:nm,MessageCircleHeartIcon:nm,MessageCircleIcon:lm,MessageCircleMore:om,MessageCircleMoreIcon:om,MessageCircleOff:cm,MessageCircleOffIcon:cm,MessageCirclePlus:im,MessageCirclePlusIcon:im,MessageCircleQuestion:$n,MessageCircleQuestionIcon:$n,MessageCircleQuestionMark:$n,MessageCircleQuestionMarkIcon:$n,MessageCircleReply:rm,MessageCircleReplyIcon:rm,MessageCircleWarning:sm,MessageCircleWarningIcon:sm,MessageCircleX:dm,MessageCircleXIcon:dm,MessageSquare:wm,MessageSquareCode:hm,MessageSquareCodeIcon:hm,MessageSquareDashed:um,MessageSquareDashedIcon:um,MessageSquareDiff:pm,MessageSquareDiffIcon:pm,MessageSquareDot:ym,MessageSquareDotIcon:ym,MessageSquareHeart:km,MessageSquareHeartIcon:km,MessageSquareIcon:wm,MessageSquareLock:mm,MessageSquareLockIcon:mm,MessageSquareMore:fm,MessageSquareMoreIcon:fm,MessageSquareOff:gm,MessageSquareOffIcon:gm,MessageSquarePlus:vm,MessageSquarePlusIcon:vm,MessageSquareQuote:Mm,MessageSquareQuoteIcon:Mm,MessageSquareReply:_m,MessageSquareReplyIcon:_m,MessageSquareShare:xm,MessageSquareShareIcon:xm,MessageSquareText:Lm,MessageSquareTextIcon:Lm,MessageSquareWarning:Im,MessageSquareWarningIcon:Im,MessageSquareX:bm,MessageSquareXIcon:bm,MessagesSquare:Cm,MessagesSquareIcon:Cm,Mic:Sm,Mic2:qn,Mic2Icon:qn,MicIcon:Sm,MicOff:Nm,MicOffIcon:Nm,MicVocal:qn,MicVocalIcon:qn,Microchip:jm,MicrochipIcon:jm,Microscope:$m,MicroscopeIcon:$m,Microwave:qm,MicrowaveIcon:qm,Milestone:Am,MilestoneIcon:Am,Milk:Vm,MilkIcon:Vm,MilkOff:zm,MilkOffIcon:zm,Minimize:Tm,Minimize2:Pm,Minimize2Icon:Pm,MinimizeIcon:Tm,Minus:Hm,MinusCircle:Na,MinusCircleIcon:Na,MinusIcon:Hm,MinusSquare:Po,MinusSquareIcon:Po,Monitor:Ym,MonitorCheck:Dm,MonitorCheckIcon:Dm,MonitorCog:Bm,MonitorCogIcon:Bm,MonitorDot:Rm,MonitorDotIcon:Rm,MonitorDown:Fm,MonitorDownIcon:Fm,MonitorIcon:Ym,MonitorOff:Em,MonitorOffIcon:Em,MonitorPause:Um,MonitorPauseIcon:Um,MonitorPlay:Om,MonitorPlayIcon:Om,MonitorSmartphone:Wm,MonitorSmartphoneIcon:Wm,MonitorSpeaker:Gm,MonitorSpeakerIcon:Gm,MonitorStop:Zm,MonitorStopIcon:Zm,MonitorUp:Km,MonitorUpIcon:Km,MonitorX:Xm,MonitorXIcon:Xm,Moon:Qm,MoonIcon:Qm,MoonStar:Jm,MoonStarIcon:Jm,MoreHorizontal:Ya,MoreHorizontalIcon:Ya,MoreVertical:Xa,MoreVerticalIcon:Xa,Mountain:t6,MountainIcon:t6,MountainSnow:e6,MountainSnowIcon:e6,Mouse:r6,MouseIcon:r6,MouseOff:a6,MouseOffIcon:a6,MousePointer:c6,MousePointer2:n6,MousePointer2Icon:n6,MousePointerBan:o6,MousePointerBanIcon:o6,MousePointerClick:i6,MousePointerClickIcon:i6,MousePointerIcon:c6,MousePointerSquareDashed:wo,MousePointerSquareDashedIcon:wo,Move:a.Move,Move3D:An,Move3DIcon:An,Move3d:An,Move3dIcon:An,MoveDiagonal:d6,MoveDiagonal2:s6,MoveDiagonal2Icon:s6,MoveDiagonalIcon:d6,MoveDown:p6,MoveDownIcon:p6,MoveDownLeft:l6,MoveDownLeftIcon:l6,MoveDownRight:h6,MoveDownRightIcon:h6,MoveHorizontal:u6,MoveHorizontalIcon:u6,MoveIcon:a.Move,MoveLeft:y6,MoveLeftIcon:y6,MoveRight:k6,MoveRightIcon:k6,MoveUp:g6,MoveUpIcon:g6,MoveUpLeft:m6,MoveUpLeftIcon:m6,MoveUpRight:f6,MoveUpRightIcon:f6,MoveVertical:v6,MoveVerticalIcon:v6,Music:L6,Music2:M6,Music2Icon:M6,Music3:_6,Music3Icon:_6,Music4:x6,Music4Icon:x6,MusicIcon:L6,Navigation:C6,Navigation2:b6,Navigation2Icon:b6,Navigation2Off:I6,Navigation2OffIcon:I6,NavigationIcon:C6,NavigationOff:w6,NavigationOffIcon:w6,Network:N6,NetworkIcon:N6,Newspaper:S6,NewspaperIcon:S6,Nfc:j6,NfcIcon:j6,NonBinary:$6,NonBinaryIcon:$6,Notebook:V6,NotebookIcon:V6,NotebookPen:q6,NotebookPenIcon:q6,NotebookTabs:A6,NotebookTabsIcon:A6,NotebookText:z6,NotebookTextIcon:z6,NotepadText:T6,NotepadTextDashed:P6,NotepadTextDashedIcon:P6,NotepadTextIcon:T6,Nut:D6,NutIcon:D6,NutOff:H6,NutOffIcon:H6,Octagon:R6,OctagonAlert:zn,OctagonAlertIcon:zn,OctagonIcon:R6,OctagonMinus:B6,OctagonMinusIcon:B6,OctagonPause:Vn,OctagonPauseIcon:Vn,OctagonX:Pn,OctagonXIcon:Pn,Omega:F6,OmegaIcon:F6,Option:E6,OptionIcon:E6,Orbit:O6,OrbitIcon:O6,Origami:U6,OrigamiIcon:U6,Outdent:xn,OutdentIcon:xn,Package:Q6,Package2:W6,Package2Icon:W6,PackageCheck:G6,PackageCheckIcon:G6,PackageIcon:Q6,PackageMinus:Z6,PackageMinusIcon:Z6,PackageOpen:K6,PackageOpenIcon:K6,PackagePlus:X6,PackagePlusIcon:X6,PackageSearch:Y6,PackageSearchIcon:Y6,PackageX:J6,PackageXIcon:J6,PaintBucket:e8,PaintBucketIcon:e8,PaintRoller:t8,PaintRollerIcon:t8,Paintbrush:a8,Paintbrush2:Tn,Paintbrush2Icon:Tn,PaintbrushIcon:a8,PaintbrushVertical:Tn,PaintbrushVerticalIcon:Tn,Palette:n8,PaletteIcon:n8,Palmtree:oc,PalmtreeIcon:oc,Panda:o8,PandaIcon:o8,PanelBottom:r8,PanelBottomClose:c8,PanelBottomCloseIcon:c8,PanelBottomDashed:Hn,PanelBottomDashedIcon:Hn,PanelBottomIcon:r8,PanelBottomInactive:Hn,PanelBottomInactiveIcon:Hn,PanelBottomOpen:i8,PanelBottomOpenIcon:i8,PanelLeft:Fn,PanelLeftClose:Dn,PanelLeftCloseIcon:Dn,PanelLeftDashed:Bn,PanelLeftDashedIcon:Bn,PanelLeftIcon:Fn,PanelLeftInactive:Bn,PanelLeftInactiveIcon:Bn,PanelLeftOpen:Rn,PanelLeftOpenIcon:Rn,PanelRight:l8,PanelRightClose:s8,PanelRightCloseIcon:s8,PanelRightDashed:En,PanelRightDashedIcon:En,PanelRightIcon:l8,PanelRightInactive:En,PanelRightInactiveIcon:En,PanelRightOpen:d8,PanelRightOpenIcon:d8,PanelTop:p8,PanelTopClose:h8,PanelTopCloseIcon:h8,PanelTopDashed:On,PanelTopDashedIcon:On,PanelTopIcon:p8,PanelTopInactive:On,PanelTopInactiveIcon:On,PanelTopOpen:u8,PanelTopOpenIcon:u8,PanelsLeftBottom:y8,PanelsLeftBottomIcon:y8,PanelsLeftRight:Wa,PanelsLeftRightIcon:Wa,PanelsRightBottom:k8,PanelsRightBottomIcon:k8,PanelsTopBottom:Xn,PanelsTopBottomIcon:Xn,PanelsTopLeft:Un,PanelsTopLeftIcon:Un,Paperclip:m8,PaperclipIcon:m8,Parentheses:f8,ParenthesesIcon:f8,ParkingCircle:$a,ParkingCircleIcon:$a,ParkingCircleOff:Sa,ParkingCircleOffIcon:Sa,ParkingMeter:g8,ParkingMeterIcon:g8,ParkingSquare:Do,ParkingSquareIcon:Do,ParkingSquareOff:To,ParkingSquareOffIcon:To,PartyPopper:v8,PartyPopperIcon:v8,Pause:M8,PauseCircle:ja,PauseCircleIcon:ja,PauseIcon:M8,PauseOctagon:Vn,PauseOctagonIcon:Vn,PawPrint:_8,PawPrintIcon:_8,PcCase:x8,PcCaseIcon:x8,Pen:lt,PenBox:Ve,PenBoxIcon:Ve,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:I8,PenOffIcon:I8,PenSquare:Ve,PenSquareIcon:Ve,PenTool:L8,PenToolIcon:L8,Pencil:g1,PencilIcon:g1,PencilLine:b8,PencilLineIcon:b8,PencilOff:w8,PencilOffIcon:w8,PencilRuler:C8,PencilRulerIcon:C8,Pentagon:N8,PentagonIcon:N8,Percent:S8,PercentCircle:qa,PercentCircleIcon:qa,PercentDiamond:Za,PercentDiamondIcon:Za,PercentIcon:S8,PercentSquare:Bo,PercentSquareIcon:Bo,PersonStanding:$8,PersonStandingIcon:$8,PhilippinePeso:j8,PhilippinePesoIcon:j8,Phone:T8,PhoneCall:q8,PhoneCallIcon:q8,PhoneForwarded:A8,PhoneForwardedIcon:A8,PhoneIcon:T8,PhoneIncoming:z8,PhoneIncomingIcon:z8,PhoneMissed:V8,PhoneMissedIcon:V8,PhoneOff:P8,PhoneOffIcon:P8,PhoneOutgoing:H8,PhoneOutgoingIcon:H8,Pi:D8,PiIcon:D8,PiSquare:Ro,PiSquareIcon:Ro,Piano:B8,PianoIcon:B8,Pickaxe:R8,PickaxeIcon:R8,PictureInPicture:E8,PictureInPicture2:F8,PictureInPicture2Icon:F8,PictureInPictureIcon:E8,PieChart:da,PieChartIcon:da,PiggyBank:O8,PiggyBankIcon:O8,Pilcrow:W8,PilcrowIcon:W8,PilcrowLeft:U8,PilcrowLeftIcon:U8,PilcrowRight:G8,PilcrowRightIcon:G8,PilcrowSquare:Fo,PilcrowSquareIcon:Fo,Pill:K8,PillBottle:Z8,PillBottleIcon:Z8,PillIcon:K8,Pin:Y8,PinIcon:Y8,PinOff:X8,PinOffIcon:X8,Pipette:J8,PipetteIcon:J8,Pizza:Q8,PizzaIcon:Q8,Plane:af,PlaneIcon:af,PlaneLanding:ef,PlaneLandingIcon:ef,PlaneTakeoff:tf,PlaneTakeoffIcon:tf,Play:nf,PlayCircle:Aa,PlayCircleIcon:Aa,PlayIcon:nf,PlaySquare:Eo,PlaySquareIcon:Eo,Plug:cf,Plug2:of,Plug2Icon:of,PlugIcon:cf,PlugZap:Wn,PlugZap2:Wn,PlugZap2Icon:Wn,PlugZapIcon:Wn,Plus:Ec,PlusCircle:za,PlusCircleIcon:za,PlusIcon:Ec,PlusSquare:Oo,PlusSquareIcon:Oo,Pocket:sf,PocketIcon:sf,PocketKnife:rf,PocketKnifeIcon:rf,Podcast:df,PodcastIcon:df,Pointer:hf,PointerIcon:hf,PointerOff:lf,PointerOffIcon:lf,Popcorn:pf,PopcornIcon:pf,Popsicle:uf,PopsicleIcon:uf,PoundSterling:yf,PoundSterlingIcon:yf,Power:mf,PowerCircle:Va,PowerCircleIcon:Va,PowerIcon:mf,PowerOff:kf,PowerOffIcon:kf,PowerSquare:Uo,PowerSquareIcon:Uo,Presentation:ff,PresentationIcon:ff,Printer:vf,PrinterCheck:gf,PrinterCheckIcon:gf,PrinterIcon:vf,Projector:Mf,ProjectorIcon:Mf,Proportions:_f,ProportionsIcon:_f,Puzzle:Lf,PuzzleIcon:Lf,Pyramid:xf,PyramidIcon:xf,QrCode:If,QrCodeIcon:If,Quote:bf,QuoteIcon:bf,Rabbit:wf,RabbitIcon:wf,Radar:Cf,RadarIcon:Cf,Radiation:Nf,RadiationIcon:Nf,Radical:Sf,RadicalIcon:Sf,Radio:qf,RadioIcon:qf,RadioReceiver:jf,RadioReceiverIcon:jf,RadioTower:$f,RadioTowerIcon:$f,Radius:Af,RadiusIcon:Af,RailSymbol:zf,RailSymbolIcon:zf,Rainbow:Vf,RainbowIcon:Vf,Rat:Pf,RatIcon:Pf,Ratio:Tf,RatioIcon:Tf,Receipt:Gf,ReceiptCent:Hf,ReceiptCentIcon:Hf,ReceiptEuro:Bf,ReceiptEuroIcon:Bf,ReceiptIcon:Gf,ReceiptIndianRupee:Df,ReceiptIndianRupeeIcon:Df,ReceiptJapaneseYen:Rf,ReceiptJapaneseYenIcon:Rf,ReceiptPoundSterling:Ff,ReceiptPoundSterlingIcon:Ff,ReceiptRussianRuble:Ef,ReceiptRussianRubleIcon:Ef,ReceiptSwissFranc:Of,ReceiptSwissFrancIcon:Of,ReceiptText:Uf,ReceiptTextIcon:Uf,ReceiptTurkishLira:Wf,ReceiptTurkishLiraIcon:Wf,RectangleCircle:Zf,RectangleCircleIcon:Zf,RectangleEllipsis:Gn,RectangleEllipsisIcon:Gn,RectangleGoggles:Kf,RectangleGogglesIcon:Kf,RectangleHorizontal:Xf,RectangleHorizontalIcon:Xf,RectangleVertical:Yf,RectangleVerticalIcon:Yf,Recycle:Jf,RecycleIcon:Jf,Redo:t7,Redo2:Qf,Redo2Icon:Qf,RedoDot:e7,RedoDotIcon:e7,RedoIcon:t7,RefreshCcw:n7,RefreshCcwDot:a7,RefreshCcwDotIcon:a7,RefreshCcwIcon:n7,RefreshCw:c7,RefreshCwIcon:c7,RefreshCwOff:o7,RefreshCwOffIcon:o7,Refrigerator:i7,RefrigeratorIcon:i7,Regex:r7,RegexIcon:r7,RemoveFormatting:s7,RemoveFormattingIcon:s7,Repeat:h7,Repeat1:d7,Repeat1Icon:d7,Repeat2:l7,Repeat2Icon:l7,RepeatIcon:h7,Replace:p7,ReplaceAll:u7,ReplaceAllIcon:u7,ReplaceIcon:p7,Reply:m7,ReplyAll:y7,ReplyAllIcon:y7,ReplyIcon:m7,Rewind:k7,RewindIcon:k7,Ribbon:f7,RibbonIcon:f7,Rocket:g7,RocketIcon:g7,RockingChair:_7,RockingChairIcon:_7,RollerCoaster:v7,RollerCoasterIcon:v7,Rose:M7,RoseIcon:M7,Rotate3D:Zn,Rotate3DIcon:Zn,Rotate3d:Zn,Rotate3dIcon:Zn,RotateCcw:I7,RotateCcwIcon:I7,RotateCcwKey:x7,RotateCcwKeyIcon:x7,RotateCcwSquare:L7,RotateCcwSquareIcon:L7,RotateCw:w7,RotateCwIcon:w7,RotateCwSquare:b7,RotateCwSquareIcon:b7,Route:N7,RouteIcon:N7,RouteOff:C7,RouteOffIcon:C7,Router:S7,RouterIcon:S7,Rows:Kn,Rows2:Kn,Rows2Icon:Kn,Rows3:Xn,Rows3Icon:Xn,Rows4:j7,Rows4Icon:j7,RowsIcon:Kn,Rss:$7,RssIcon:$7,Ruler:A7,RulerDimensionLine:q7,RulerDimensionLineIcon:q7,RulerIcon:A7,RussianRuble:z7,RussianRubleIcon:z7,Sailboat:V7,SailboatIcon:V7,Salad:P7,SaladIcon:P7,Sandwich:T7,SandwichIcon:T7,Satellite:D7,SatelliteDish:H7,SatelliteDishIcon:H7,SatelliteIcon:D7,SaudiRiyal:B7,SaudiRiyalIcon:B7,Save:O7,SaveAll:R7,SaveAllIcon:R7,SaveIcon:O7,SaveOff:F7,SaveOffIcon:F7,Scale:E7,Scale3D:Yn,Scale3DIcon:Yn,Scale3d:Yn,Scale3dIcon:Yn,ScaleIcon:E7,Scaling:U7,ScalingIcon:U7,Scan:eg,ScanBarcode:W7,ScanBarcodeIcon:W7,ScanEye:G7,ScanEyeIcon:G7,ScanFace:Z7,ScanFaceIcon:Z7,ScanHeart:K7,ScanHeartIcon:K7,ScanIcon:eg,ScanLine:X7,ScanLineIcon:X7,ScanQrCode:Y7,ScanQrCodeIcon:Y7,ScanSearch:J7,ScanSearchIcon:J7,ScanText:Q7,ScanTextIcon:Q7,ScatterChart:la,ScatterChartIcon:la,School:tg,School2:rc,School2Icon:rc,SchoolIcon:tg,Scissors:ng,ScissorsIcon:ng,ScissorsLineDashed:ag,ScissorsLineDashedIcon:ag,ScissorsSquare:Wo,ScissorsSquareDashedBottom:fo,ScissorsSquareDashedBottomIcon:fo,ScissorsSquareIcon:Wo,ScreenShare:og,ScreenShareIcon:og,ScreenShareOff:cg,ScreenShareOffIcon:cg,Scroll:rg,ScrollIcon:rg,ScrollText:ig,ScrollTextIcon:ig,Search:v1,SearchCheck:sg,SearchCheckIcon:sg,SearchCode:dg,SearchCodeIcon:dg,SearchIcon:v1,SearchSlash:lg,SearchSlashIcon:lg,SearchX:hg,SearchXIcon:hg,Section:ug,SectionIcon:ug,Send:yg,SendHorizonal:Jn,SendHorizonalIcon:Jn,SendHorizontal:Jn,SendHorizontalIcon:Jn,SendIcon:yg,SendToBack:pg,SendToBackIcon:pg,SeparatorHorizontal:kg,SeparatorHorizontalIcon:kg,SeparatorVertical:mg,SeparatorVerticalIcon:mg,Server:Mg,ServerCog:fg,ServerCogIcon:fg,ServerCrash:vg,ServerCrashIcon:vg,ServerIcon:Mg,ServerOff:gg,ServerOffIcon:gg,Settings:xg,Settings2:_g,Settings2Icon:_g,SettingsIcon:xg,Shapes:Lg,ShapesIcon:Lg,Share:bg,Share2:Ig,Share2Icon:Ig,ShareIcon:bg,Sheet:wg,SheetIcon:wg,Shell:Cg,ShellIcon:Cg,Shield:Tg,ShieldAlert:Ng,ShieldAlertIcon:Ng,ShieldBan:Sg,ShieldBanIcon:Sg,ShieldCheck:jg,ShieldCheckIcon:jg,ShieldClose:eo,ShieldCloseIcon:eo,ShieldEllipsis:$g,ShieldEllipsisIcon:$g,ShieldHalf:qg,ShieldHalfIcon:qg,ShieldIcon:Tg,ShieldMinus:zg,ShieldMinusIcon:zg,ShieldOff:Ag,ShieldOffIcon:Ag,ShieldPlus:Vg,ShieldPlusIcon:Vg,ShieldQuestion:Qn,ShieldQuestionIcon:Qn,ShieldQuestionMark:Qn,ShieldQuestionMarkIcon:Qn,ShieldUser:Pg,ShieldUserIcon:Pg,ShieldX:eo,ShieldXIcon:eo,Ship:Dg,ShipIcon:Dg,ShipWheel:Hg,ShipWheelIcon:Hg,Shirt:Bg,ShirtIcon:Bg,ShoppingBag:Rg,ShoppingBagIcon:Rg,ShoppingBasket:Fg,ShoppingBasketIcon:Fg,ShoppingCart:Eg,ShoppingCartIcon:Eg,Shovel:Og,ShovelIcon:Og,ShowerHead:Ug,ShowerHeadIcon:Ug,Shredder:Wg,ShredderIcon:Wg,Shrimp:Gg,ShrimpIcon:Gg,Shrink:Zg,ShrinkIcon:Zg,Shrub:Kg,ShrubIcon:Kg,Shuffle:Yg,ShuffleIcon:Yg,Sidebar:Fn,SidebarClose:Dn,SidebarCloseIcon:Dn,SidebarIcon:Fn,SidebarOpen:Rn,SidebarOpenIcon:Rn,Sigma:Xg,SigmaIcon:Xg,SigmaSquare:Go,SigmaSquareIcon:Go,Signal:av,SignalHigh:Jg,SignalHighIcon:Jg,SignalIcon:av,SignalLow:Qg,SignalLowIcon:Qg,SignalMedium:ev,SignalMediumIcon:ev,SignalZero:tv,SignalZeroIcon:tv,Signature:nv,SignatureIcon:nv,Signpost:cv,SignpostBig:ov,SignpostBigIcon:ov,SignpostIcon:cv,Siren:iv,SirenIcon:iv,SkipBack:rv,SkipBackIcon:rv,SkipForward:sv,SkipForwardIcon:sv,Skull:dv,SkullIcon:dv,Slack:lv,SlackIcon:lv,Slash:hv,SlashIcon:hv,SlashSquare:Zo,SlashSquareIcon:Zo,Slice:uv,SliceIcon:uv,Sliders:to,SlidersHorizontal:pv,SlidersHorizontalIcon:pv,SlidersIcon:to,SlidersVertical:to,SlidersVerticalIcon:to,Smartphone:mv,SmartphoneCharging:yv,SmartphoneChargingIcon:yv,SmartphoneIcon:mv,SmartphoneNfc:kv,SmartphoneNfcIcon:kv,Smile:gv,SmileIcon:gv,SmilePlus:fv,SmilePlusIcon:fv,Snail:vv,SnailIcon:vv,Snowflake:Mv,SnowflakeIcon:Mv,SoapDispenserDroplet:_v,SoapDispenserDropletIcon:_v,Sofa:xv,SofaIcon:xv,SortAsc:Ft,SortAscIcon:Ft,SortDesc:Dt,SortDescIcon:Dt,Soup:Lv,SoupIcon:Lv,Space:Iv,SpaceIcon:Iv,Spade:bv,SpadeIcon:bv,Sparkle:wv,SparkleIcon:wv,Sparkles:ao,SparklesIcon:ao,Speaker:Cv,SpeakerIcon:Cv,Speech:Nv,SpeechIcon:Nv,SpellCheck:jv,SpellCheck2:Sv,SpellCheck2Icon:Sv,SpellCheckIcon:jv,Spline:qv,SplineIcon:qv,SplinePointer:$v,SplinePointerIcon:$v,Split:Av,SplitIcon:Av,SplitSquareHorizontal:Ko,SplitSquareHorizontalIcon:Ko,SplitSquareVertical:Xo,SplitSquareVerticalIcon:Xo,Spool:zv,SpoolIcon:zv,Spotlight:Vv,SpotlightIcon:Vv,SprayCan:Pv,SprayCanIcon:Pv,Sprout:Tv,SproutIcon:Tv,Square:Zv,SquareActivity:Lt,SquareActivityIcon:Lt,SquareArrowDown:co,SquareArrowDownIcon:co,SquareArrowDownLeft:no,SquareArrowDownLeftIcon:no,SquareArrowDownRight:oo,SquareArrowDownRightIcon:oo,SquareArrowLeft:io,SquareArrowLeftIcon:io,SquareArrowOutDownLeft:ro,SquareArrowOutDownLeftIcon:ro,SquareArrowOutDownRight:so,SquareArrowOutDownRightIcon:so,SquareArrowOutUpLeft:lo,SquareArrowOutUpLeftIcon:lo,SquareArrowOutUpRight:ho,SquareArrowOutUpRightIcon:ho,SquareArrowRight:uo,SquareArrowRightIcon:uo,SquareArrowUp:ko,SquareArrowUpIcon:ko,SquareArrowUpLeft:po,SquareArrowUpLeftIcon:po,SquareArrowUpRight:yo,SquareArrowUpRightIcon:yo,SquareAsterisk:mo,SquareAsteriskIcon:mo,SquareBottomDashedScissors:fo,SquareBottomDashedScissorsIcon:fo,SquareChartGantt:nt,SquareChartGanttIcon:nt,SquareCheck:vo,SquareCheckBig:go,SquareCheckBigIcon:go,SquareCheckIcon:vo,SquareChevronDown:Mo,SquareChevronDownIcon:Mo,SquareChevronLeft:_o,SquareChevronLeftIcon:_o,SquareChevronRight:xo,SquareChevronRightIcon:xo,SquareChevronUp:Lo,SquareChevronUpIcon:Lo,SquareCode:Io,SquareCodeIcon:Io,SquareDashed:Co,SquareDashedBottom:Dv,SquareDashedBottomCode:Hv,SquareDashedBottomCodeIcon:Hv,SquareDashedBottomIcon:Dv,SquareDashedIcon:Co,SquareDashedKanban:bo,SquareDashedKanbanIcon:bo,SquareDashedMousePointer:wo,SquareDashedMousePointerIcon:wo,SquareDashedTopSolid:Bv,SquareDashedTopSolidIcon:Bv,SquareDivide:No,SquareDivideIcon:No,SquareDot:jo,SquareDotIcon:jo,SquareEqual:So,SquareEqualIcon:So,SquareFunction:$o,SquareFunctionIcon:$o,SquareGanttChart:nt,SquareGanttChartIcon:nt,SquareIcon:Zv,SquareKanban:qo,SquareKanbanIcon:qo,SquareLibrary:Ao,SquareLibraryIcon:Ao,SquareM:zo,SquareMIcon:zo,SquareMenu:Vo,SquareMenuIcon:Vo,SquareMinus:Po,SquareMinusIcon:Po,SquareMousePointer:Ho,SquareMousePointerIcon:Ho,SquareParking:Do,SquareParkingIcon:Do,SquareParkingOff:To,SquareParkingOffIcon:To,SquarePause:Rv,SquarePauseIcon:Rv,SquarePen:Ve,SquarePenIcon:Ve,SquarePercent:Bo,SquarePercentIcon:Bo,SquarePi:Ro,SquarePiIcon:Ro,SquarePilcrow:Fo,SquarePilcrowIcon:Fo,SquarePlay:Eo,SquarePlayIcon:Eo,SquarePlus:Oo,SquarePlusIcon:Oo,SquarePower:Uo,SquarePowerIcon:Uo,SquareRadical:Fv,SquareRadicalIcon:Fv,SquareRoundCorner:Ev,SquareRoundCornerIcon:Ev,SquareScissors:Wo,SquareScissorsIcon:Wo,SquareSigma:Go,SquareSigmaIcon:Go,SquareSlash:Zo,SquareSlashIcon:Zo,SquareSplitHorizontal:Ko,SquareSplitHorizontalIcon:Ko,SquareSplitVertical:Xo,SquareSplitVerticalIcon:Xo,SquareSquare:Ov,SquareSquareIcon:Ov,SquareStack:Uv,SquareStackIcon:Uv,SquareStar:Wv,SquareStarIcon:Wv,SquareStop:Gv,SquareStopIcon:Gv,SquareTerminal:Yo,SquareTerminalIcon:Yo,SquareUser:Qo,SquareUserIcon:Qo,SquareUserRound:Jo,SquareUserRoundIcon:Jo,SquareX:ec,SquareXIcon:ec,SquaresExclude:Kv,SquaresExcludeIcon:Kv,SquaresIntersect:Xv,SquaresIntersectIcon:Xv,SquaresSubtract:Yv,SquaresSubtractIcon:Yv,SquaresUnite:Jv,SquaresUniteIcon:Jv,Squircle:e9,SquircleDashed:Qv,SquircleDashedIcon:Qv,SquircleIcon:e9,Squirrel:t9,SquirrelIcon:t9,Stamp:a9,StampIcon:a9,Star:i9,StarHalf:n9,StarHalfIcon:n9,StarIcon:i9,StarOff:o9,StarOffIcon:o9,Stars:ao,StarsIcon:ao,StepBack:c9,StepBackIcon:c9,StepForward:r9,StepForwardIcon:r9,Stethoscope:s9,StethoscopeIcon:s9,Sticker:d9,StickerIcon:d9,StickyNote:l9,StickyNoteIcon:l9,StopCircle:Ta,StopCircleIcon:Ta,Store:h9,StoreIcon:h9,StretchHorizontal:u9,StretchHorizontalIcon:u9,StretchVertical:p9,StretchVerticalIcon:p9,Strikethrough:y9,StrikethroughIcon:y9,Subscript:k9,SubscriptIcon:k9,Subtitles:Yt,SubtitlesIcon:Yt,Sun:_9,SunDim:m9,SunDimIcon:m9,SunIcon:_9,SunMedium:f9,SunMediumIcon:f9,SunMoon:g9,SunMoonIcon:g9,SunSnow:v9,SunSnowIcon:v9,Sunrise:M9,SunriseIcon:M9,Sunset:x9,SunsetIcon:x9,Superscript:L9,SuperscriptIcon:L9,SwatchBook:I9,SwatchBookIcon:I9,SwissFranc:b9,SwissFrancIcon:b9,SwitchCamera:w9,SwitchCameraIcon:w9,Sword:C9,SwordIcon:C9,Swords:S9,SwordsIcon:S9,Syringe:N9,SyringeIcon:N9,Table:T9,Table2:j9,Table2Icon:j9,TableCellsMerge:$9,TableCellsMergeIcon:$9,TableCellsSplit:q9,TableCellsSplitIcon:q9,TableColumnsSplit:A9,TableColumnsSplitIcon:A9,TableConfig:tt,TableConfigIcon:tt,TableIcon:T9,TableOfContents:z9,TableOfContentsIcon:z9,TableProperties:V9,TablePropertiesIcon:V9,TableRowsSplit:P9,TableRowsSplitIcon:P9,Tablet:D9,TabletIcon:D9,TabletSmartphone:H9,TabletSmartphoneIcon:H9,Tablets:B9,TabletsIcon:B9,Tag:R9,TagIcon:R9,Tags:F9,TagsIcon:F9,Tally1:E9,Tally1Icon:E9,Tally2:O9,Tally2Icon:O9,Tally3:U9,Tally3Icon:U9,Tally4:W9,Tally4Icon:W9,Tally5:G9,Tally5Icon:G9,Tangent:Z9,TangentIcon:Z9,Target:K9,TargetIcon:K9,Telescope:X9,TelescopeIcon:X9,Tent:J9,TentIcon:J9,TentTree:Y9,TentTreeIcon:Y9,Terminal:Q9,TerminalIcon:Q9,TerminalSquare:Yo,TerminalSquareIcon:Yo,TestTube:eM,TestTube2:tc,TestTube2Icon:tc,TestTubeDiagonal:tc,TestTubeDiagonalIcon:tc,TestTubeIcon:eM,TestTubes:tM,TestTubesIcon:tM,Text:iM,TextCursor:nM,TextCursorIcon:nM,TextCursorInput:aM,TextCursorInputIcon:aM,TextIcon:iM,TextQuote:oM,TextQuoteIcon:oM,TextSearch:cM,TextSearchIcon:cM,TextSelect:ac,TextSelectIcon:ac,TextSelection:ac,TextSelectionIcon:ac,Theater:rM,TheaterIcon:rM,Thermometer:hM,ThermometerIcon:hM,ThermometerSnowflake:sM,ThermometerSnowflakeIcon:sM,ThermometerSun:dM,ThermometerSunIcon:dM,ThumbsDown:lM,ThumbsDownIcon:lM,ThumbsUp:uM,ThumbsUpIcon:uM,Ticket:vM,TicketCheck:pM,TicketCheckIcon:pM,TicketIcon:vM,TicketMinus:yM,TicketMinusIcon:yM,TicketPercent:kM,TicketPercentIcon:kM,TicketPlus:mM,TicketPlusIcon:mM,TicketSlash:fM,TicketSlashIcon:fM,TicketX:gM,TicketXIcon:gM,Tickets:_M,TicketsIcon:_M,TicketsPlane:MM,TicketsPlaneIcon:MM,Timer:IM,TimerIcon:IM,TimerOff:xM,TimerOffIcon:xM,TimerReset:LM,TimerResetIcon:LM,ToggleLeft:bM,ToggleLeftIcon:bM,ToggleRight:wM,ToggleRightIcon:wM,Toilet:CM,ToiletIcon:CM,ToolCase:NM,ToolCaseIcon:NM,Tornado:jM,TornadoIcon:jM,Torus:SM,TorusIcon:SM,Touchpad:qM,TouchpadIcon:qM,TouchpadOff:$M,TouchpadOffIcon:$M,TowerControl:zM,TowerControlIcon:zM,ToyBrick:AM,ToyBrickIcon:AM,Tractor:VM,TractorIcon:VM,TrafficCone:PM,TrafficConeIcon:PM,Train:nc,TrainFront:HM,TrainFrontIcon:HM,TrainFrontTunnel:TM,TrainFrontTunnelIcon:TM,TrainIcon:nc,TrainTrack:DM,TrainTrackIcon:DM,TramFront:nc,TramFrontIcon:nc,Transgender:BM,TransgenderIcon:BM,Trash:RM,Trash2:Nt,Trash2Icon:Nt,TrashIcon:RM,TreeDeciduous:FM,TreeDeciduousIcon:FM,TreePalm:oc,TreePalmIcon:oc,TreePine:EM,TreePineIcon:EM,Trees:OM,TreesIcon:OM,Trello:UM,TrelloIcon:UM,TrendingDown:WM,TrendingDownIcon:WM,TrendingUp:GM,TrendingUpDown:ZM,TrendingUpDownIcon:ZM,TrendingUpIcon:GM,Triangle:XM,TriangleAlert:cc,TriangleAlertIcon:cc,TriangleDashed:KM,TriangleDashedIcon:KM,TriangleIcon:XM,TriangleRight:YM,TriangleRightIcon:YM,Trophy:JM,TrophyIcon:JM,Truck:e_,TruckElectric:QM,TruckElectricIcon:QM,TruckIcon:e_,TurkishLira:t_,TurkishLiraIcon:t_,Turntable:a_,TurntableIcon:a_,Turtle:n_,TurtleIcon:n_,Tv:c_,Tv2:ic,Tv2Icon:ic,TvIcon:c_,TvMinimal:ic,TvMinimalIcon:ic,TvMinimalPlay:o_,TvMinimalPlayIcon:o_,Twitch:i_,TwitchIcon:i_,Twitter:r_,TwitterIcon:r_,Type:d_,TypeIcon:d_,TypeOutline:s_,TypeOutlineIcon:s_,Umbrella:h_,UmbrellaIcon:h_,UmbrellaOff:l_,UmbrellaOffIcon:l_,Underline:u_,UnderlineIcon:u_,Undo:k_,Undo2:p_,Undo2Icon:p_,UndoDot:y_,UndoDotIcon:y_,UndoIcon:k_,UnfoldHorizontal:m_,UnfoldHorizontalIcon:m_,UnfoldVertical:f_,UnfoldVerticalIcon:f_,Ungroup:g_,UngroupIcon:g_,University:rc,UniversityIcon:rc,Unlink:x_,Unlink2:v_,Unlink2Icon:v_,UnlinkIcon:x_,Unlock:Nn,UnlockIcon:Nn,UnlockKeyhole:Cn,UnlockKeyholeIcon:Cn,Unplug:M_,UnplugIcon:M_,Upload:__,UploadCloud:Ea,UploadCloudIcon:Ea,UploadIcon:__,Usb:L_,UsbIcon:L_,User:z_,User2:pc,User2Icon:pc,UserCheck:I_,UserCheck2:sc,UserCheck2Icon:sc,UserCheckIcon:I_,UserCircle:Da,UserCircle2:Ha,UserCircle2Icon:Ha,UserCircleIcon:Da,UserCog:b_,UserCog2:dc,UserCog2Icon:dc,UserCogIcon:b_,UserIcon:z_,UserLock:w_,UserLockIcon:w_,UserMinus:C_,UserMinus2:lc,UserMinus2Icon:lc,UserMinusIcon:C_,UserPen:N_,UserPenIcon:N_,UserPlus:M1,UserPlus2:hc,UserPlus2Icon:hc,UserPlusIcon:M1,UserRound:pc,UserRoundCheck:sc,UserRoundCheckIcon:sc,UserRoundCog:dc,UserRoundCogIcon:dc,UserRoundIcon:pc,UserRoundMinus:lc,UserRoundMinusIcon:lc,UserRoundPen:S_,UserRoundPenIcon:S_,UserRoundPlus:hc,UserRoundPlusIcon:hc,UserRoundSearch:j_,UserRoundSearchIcon:j_,UserRoundX:uc,UserRoundXIcon:uc,UserSearch:$_,UserSearchIcon:$_,UserSquare:Qo,UserSquare2:Jo,UserSquare2Icon:Jo,UserSquareIcon:Qo,UserStar:q_,UserStarIcon:q_,UserX:A_,UserX2:uc,UserX2Icon:uc,UserXIcon:A_,Users:V_,Users2:yc,Users2Icon:yc,UsersIcon:V_,UsersRound:yc,UsersRoundIcon:yc,Utensils:mc,UtensilsCrossed:kc,UtensilsCrossedIcon:kc,UtensilsIcon:mc,UtilityPole:P_,UtilityPoleIcon:P_,Variable:T_,VariableIcon:T_,Vault:H_,VaultIcon:H_,VectorSquare:D_,VectorSquareIcon:D_,Vegan:B_,VeganIcon:B_,VenetianMask:R_,VenetianMaskIcon:R_,Venus:U_,VenusAndMars:F_,VenusAndMarsIcon:F_,VenusIcon:U_,Verified:Ut,VerifiedIcon:Ut,Vibrate:O_,VibrateIcon:O_,VibrateOff:E_,VibrateOffIcon:E_,Video:G_,VideoIcon:G_,VideoOff:W_,VideoOffIcon:W_,Videotape:Z_,VideotapeIcon:Z_,View:X_,ViewIcon:X_,Voicemail:K_,VoicemailIcon:K_,Volleyball:Y_,VolleyballIcon:Y_,Volume:nx,Volume1:J_,Volume1Icon:J_,Volume2:Q_,Volume2Icon:Q_,VolumeIcon:nx,VolumeOff:ex,VolumeOffIcon:ex,VolumeX:tx,VolumeXIcon:tx,Vote:ax,VoteIcon:ax,Wallet:cx,Wallet2:fc,Wallet2Icon:fc,WalletCards:ox,WalletCardsIcon:ox,WalletIcon:cx,WalletMinimal:fc,WalletMinimalIcon:fc,Wallpaper:ix,WallpaperIcon:ix,Wand:rx,Wand2:gc,Wand2Icon:gc,WandIcon:rx,WandSparkles:gc,WandSparklesIcon:gc,Warehouse:sx,WarehouseIcon:sx,WashingMachine:dx,WashingMachineIcon:dx,Watch:lx,WatchIcon:lx,Waves:ux,WavesIcon:ux,WavesLadder:hx,WavesLadderIcon:hx,Waypoints:px,WaypointsIcon:px,Webcam:yx,WebcamIcon:yx,Webhook:fx,WebhookIcon:fx,WebhookOff:kx,WebhookOffIcon:kx,Weight:mx,WeightIcon:mx,Wheat:vx,WheatIcon:vx,WheatOff:gx,WheatOffIcon:gx,WholeWord:Mx,WholeWordIcon:Mx,Wifi:Nx,WifiCog:_x,WifiCogIcon:_x,WifiHigh:xx,WifiHighIcon:xx,WifiIcon:Nx,WifiLow:Lx,WifiLowIcon:Lx,WifiOff:Ix,WifiOffIcon:Ix,WifiPen:bx,WifiPenIcon:bx,WifiSync:wx,WifiSyncIcon:wx,WifiZero:Cx,WifiZeroIcon:Cx,Wind:jx,WindArrowDown:Sx,WindArrowDownIcon:Sx,WindIcon:jx,Wine:qx,WineIcon:qx,WineOff:$x,WineOffIcon:$x,Workflow:Ax,WorkflowIcon:Ax,Worm:zx,WormIcon:zx,WrapText:Vx,WrapTextIcon:Vx,Wrench:Px,WrenchIcon:Px,X:Ge,XCircle:Mt,XCircleIcon:Mt,XIcon:Ge,XOctagon:Pn,XOctagonIcon:Pn,XSquare:ec,XSquareIcon:ec,Youtube:Hx,YoutubeIcon:Hx,Zap:Dx,ZapIcon:Dx,ZapOff:Tx,ZapOffIcon:Tx,ZoomIn:Bx,ZoomInIcon:Bx,ZoomOut:Rx,ZoomOutIcon:Rx,createLucideIcon:a.createLucideIcon,icons:Gse},Symbol.toStringTag,{value:"Module"})),Zse=({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,g=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(wb,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(cj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(wb,{...g})})]})]}),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}})})]})},ij=k.createContext(void 0),ct=()=>{const e=k.useContext(ij);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},Kse=({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,g)=>{p(f=>({...f,[m]:g}))};return c.jsx(ij.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},rj=({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:g}=ct();k.useEffect(()=>{if(!i)return;const _=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[i]),k.useEffect(()=>{if(d&&o==="auto"&&y.current){const _=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(_.left<v?"left":"right")}},[d,o]);const f=t?ht[t]:null,M=o==="auto"?h:o;return c.jsxs("div",{className:"dropdown",ref:p,children:[c.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(_=>!_),"aria-expanded":d,"aria-haspopup":"true",children:[f&&c.jsx(f,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((_,v)=>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((I,w)=>{const C=I.id??I.label,b=m===C||g===C,L=I.select??r;if(I.id==="language"){if(!L||!Array.isArray(L.options)||!L.onChange)return c.jsx("div",{className:"dropdown-language"},w);const S=Array.isArray(L.options)?L.options:[],$=S.some(q=>q.code===L.value)?S:[{code:L.value??"",label:String(L.value??"")},...S];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:L.name??"language",className:"language-select",value:L.value??"",onChange:q=>{const P=q.target.value;try{L.onChange(P)}catch(T){console.error("select onChange error",T)}},children:$.map(q=>c.jsx("option",{value:q.code,children:q.label},q.code))})},w)}const x={className:`dropdown-item ${b?"active":""}`,onClick:()=>{I.onClick?.(),l(!1)},role:I.type==="button"||!I.href?"button":void 0};return I.type==="button"||!I.href?c.jsx("button",{type:"button",...x,children:I.label},w):c.jsx("a",{...x,href:I.href,children:I.label},w)})})]},v))]})]})},sj=({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:g,onSwap:f,draggable:M=!1,displayNone:_=!1})=>{const[v,I]=k.useState([]);k.useEffect(()=>{const x=q=>{const P=[];return k.Children.forEach(q,T=>{Array.isArray(T)?P.push(...x(T)):k.isValidElement(T)&&P.push(T)}),P},j=x(e).filter(q=>k.isValidElement(q)).map(q=>{let P="";const T=q.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:q,classes:P}});let $=j;g&&g.length>0&&($=j.map((q,P)=>({...q,node:j[g[P]]?.node??q.node}))),I($)},[e]);const w=(x,S)=>{x.stopPropagation(),x.dataTransfer.setData("dragIndex",S.toString()),x.dataTransfer.setData("parentKey",p.toString())},C=x=>{x.preventDefault(),x.stopPropagation()},b=(x,S)=>{x.preventDefault();const j=Number(x.dataTransfer.getData("dragIndex")),$=Number(x.dataTransfer.getData("parentKey"));if(t&&$!==p)return;const q=[...v];let P=-1,T=-1;if(q.forEach((N,V)=>{if(k.isValidElement(N.node)){const H=N.node.props;H.uniqueKey===S&&(P=V),H.uniqueKey===j&&(T=V)}}),P===-1||T===-1)return;const z=q[T].node;q[T]={...q[T],node:q[P].node},q[P]={...q[P],node:z},I(q),typeof f=="function"&&f(T,P)},L=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 ${L}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(x=>x.node.type?.displayName==="Grid"?M?c.jsx("div",{draggable:!0,onDragStart:S=>w(S,x.node?.props?.uniqueKey),onDragOver:S=>C(S),onDrop:S=>b(S,x.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${x.classes} ${x.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:x.node},x.node?.props?.uniqueKey):c.jsx("div",{className:`grid-item ${x.classes} ${x.node?.props?.displayNone?"grid-display-none":""}`,children:x.node},x.node?.props?.uniqueKey):x.node)}):n?c.jsx("div",{className:`${u} grid-item ${L} ${_?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):c.jsx(c.Fragment,{children:e})};sj.displayName="Grid";const tw=({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"})},Cb=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=ct(),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})},dj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=ct(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),g=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const I=y.current.parentNode?.parentElement?.offsetWidth||0;d(I*.8<y.current.offsetWidth||I<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(l&&i==="auto"&&m.current){const v=m.current.getBoundingClientRect(),I=window.innerWidth/2;p(v.left<I?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=I=>{g.current&&!g.current.contains(I.target)&&m.current&&!m.current.contains(I.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const f=v=>{t?.(v),h(!1)},M=e.find(v=>v.id===r)||e[0],_=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:m,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[M.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:g,className:`navbar-dropdown ${_}`,children:e.map(v=>c.jsx(Cb,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:f,highlightColor:n},v.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(v=>c.jsx(Cb,{id:v.id,label:v.label,href:v.moduleKey&&o[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&o[v.moduleKey],onClick:f,highlightColor:n},v.id))})})},lj=k.createContext(void 0),Xse=({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(lj.Provider,{value:{themeName:n,setTheme:i},children:e})},hj=()=>{const e=k.useContext(lj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},oL=()=>{const{themeName:e,setTheme:t}=hj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},q1=({colors:e={},leftIcon:t,rightIcon:n,checked:o=!1,onToggle:i,size:r=24,className:s="",style:d})=>{const l=()=>i?.(!o),h=u=>{(u.key==="Enter"||u.key===" ")&&(u.preventDefault(),l())};return c.jsxs("div",{role:"switch","aria-checked":o,tabIndex:0,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:l,onKeyDown:h,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})]})]})},Nb=({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}=oL(),[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(q1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},Yse=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),Ww=k.memo(Yse),uj=k.createContext(void 0),Jse=({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(uj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},pj=()=>{const e=k.useContext(uj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Zx=({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})=>{const{isDraggable:i,switchDraggable:r}=pj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(q1,{leftIcon:e||c.jsx(Ww,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Ww,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},Qse=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),Gw=k.memo(Qse),yj=k.createContext(void 0),e2e=({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(yj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},kj=()=>{const e=k.useContext(yj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},Kx=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:o=24})=>{const{disableLegendFilter:i,switchDisableLegendFilter:r}=kj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(q1,{leftIcon:e||c.jsx(Gw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Gw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},mj=k.createContext(void 0),t2e=({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(mj.Provider,{value:{showData:t,switchShowData:o},children:e})},fj=()=>{const e=k.useContext(mj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},a2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),Zw=k.memo(a2e),Xx=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"}})=>{const{showData:n,switchShowData:o}=fj(),[i,r]=k.useState(!1);return k.useEffect(()=>{r(!0)},[]),i?c.jsx(q1,{checked:n,onToggle:s=>o(s),size:e,leftIcon:c.jsx(Zw,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Zw,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t}):null},n2e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),gj=k.memo(n2e);function Sb({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,g)=>{u(f=>f.map(M=>M.component_key===m&&g>3?{...M,visible:!M.visible}:M))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(m=>!m),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(gj,{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,g)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:m.visible,disabled:g<4,onChange:()=>p(m.component_key,g),style:{marginRight:8}}),c.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:m.label}),g<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 o2e=({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}=ct(),g=m?.draggable===!0,f=m?.showData===!0,M=m?.legendFilter===!0,_=m?.componentVisibility===!0&&d&&d.length>0;return c.jsx("header",{className:"header",style:{backgroundColor:i},children:c.jsxs("div",{className:"header-layout-container",children:[c.jsxs("div",{className:"header-left",children:[c.jsx("a",{href:"/",children:c.jsx(tw,{imagePath:e})}),c.jsx(dj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[g&&c.jsx(Zx,{}),f&&c.jsx(Xx,{}),M&&c.jsx(Kx,{}),c.jsx(Nb,{}),_&&c.jsx(Sb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(rj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[g&&c.jsx(Zx,{}),f&&c.jsx(Xx,{}),M&&c.jsx(Kx,{}),c.jsx(Nb,{}),_&&c.jsx(Sb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},vj=({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})]})},Mj=({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(rj,{logo:"BarChart",position:"right",categories:o})})]}),c2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=ct();return c.jsx(Mj,{style:n,item:o,children:e?.map(r=>c.jsx(vj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},_j=({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})]})]})},aw=k.createContext({});function jt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const nw=typeof window<"u",ow=nw?k.useLayoutEffect:k.useEffect,cL=k.createContext(null);function cw(e,t){e.indexOf(t)===-1&&e.push(t)}function iw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function i2e([...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 jb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Wc=()=>{},Ke=()=>{};process.env.NODE_ENV!=="production"&&(Wc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(jb(t,n))},Ke=(e,t,n)=>{if(!e)throw new Error(jb(t,n))});const pt={},xj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function Lj(e){return typeof e=="object"&&e!==null}const Ij=e=>/^0[^.\s]+$/u.test(e);function rw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ee=e=>e,r2e=(e,t)=>n=>t(e(n)),A1=(...e)=>e.reduce(r2e),w1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class sw{constructor(){this.subscriptions=[]}add(t){return cw(this.subscriptions,t),()=>iw(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 Ze=e=>e*1e3,Fe=e=>e/1e3;function bj(e,t){return t?e*(1e3/t):0}const Kw=new Set;function dw(e,t,n){e||Kw.has(t)||(console.warn(jb(t,n)),Kw.add(t))}const wj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,s2e=1e-7,d2e=12;function l2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=wj(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>s2e&&++d<d2e);return s}function z1(e,t,n,o){if(e===t&&n===o)return Ee;const i=r=>l2e(r,0,1,e,n);return r=>r===0||r===1?r:wj(i(r),t,o)}const Cj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Nj=e=>t=>1-e(1-t),Sj=z1(.33,1.53,.69,.99),lw=Nj(Sj),jj=Cj(lw),$j=e=>(e*=2)<1?.5*lw(e):.5*(2-Math.pow(2,-10*(e-1))),hw=e=>1-Math.sin(Math.acos(e)),qj=Nj(hw),Aj=Cj(hw),h2e=z1(.42,0,1,1),u2e=z1(0,0,.58,1),zj=z1(.42,0,.58,1),p2e=e=>Array.isArray(e)&&typeof e[0]!="number",Vj=e=>Array.isArray(e)&&typeof e[0]=="number",Xw={linear:Ee,easeIn:h2e,easeInOut:zj,easeOut:u2e,circIn:hw,circInOut:Aj,circOut:qj,backIn:lw,backInOut:jj,backOut:Sj,anticipate:$j},y2e=e=>typeof e=="string",Yw=e=>{if(Vj(e)){Ke(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return z1(t,n,o,i)}else if(y2e(e))return Ke(Xw[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Xw[e];return e},B1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function k2e(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 g=y&&i?n:o;return p&&s.add(u),g.has(u)||g.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 m2e=40;function Pj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=B1.reduce((I,w)=>(I[w]=k2e(r),I),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:m,postRender:g}=s,f=()=>{const I=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(I-i.timestamp,m2e),1)),i.timestamp=I,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),m.process(i),g.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(f))},M=()=>{n=!0,o=!0,i.isProcessing||e(f)};return{schedule:B1.reduce((I,w)=>{const C=s[w];return I[w]=(b,L=!1,x=!1)=>(n||M(),C.schedule(b,L,x)),I},{}),cancel:I=>{for(let w=0;w<B1.length;w++)s[B1[w]].cancel(I)},state:i,steps:s}}const{schedule:oe,cancel:yt,state:Me,steps:NL}=Pj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ee,!0);let Fx;function f2e(){Fx=void 0}const Ae={now:()=>(Fx===void 0&&Ae.set(Me.isProcessing||pt.useManualTiming?Me.timestamp:performance.now()),Fx),set:e=>{Fx=e,queueMicrotask(f2e)}},Tj=e=>t=>typeof t=="string"&&t.startsWith(e),uw=Tj("--"),g2e=Tj("var(--"),pw=e=>g2e(e)?v2e.test(e.split("/*")[0].trim()):!1,v2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Gc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},C1={...Gc,transform:e=>ut(0,1,e)},R1={...Gc,default:1},_1=e=>Math.round(e*1e5)/1e5,yw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function M2e(e){return e==null}const _2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,kw=(e,t)=>n=>!!(typeof n=="string"&&_2e.test(n)&&n.startsWith(e)||t&&!M2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Hj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(yw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},x2e=e=>ut(0,255,e),SL={...Gc,transform:e=>Math.round(x2e(e))},Mc={test:kw("rgb","red"),parse:Hj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+SL.transform(e)+", "+SL.transform(t)+", "+SL.transform(n)+", "+_1(C1.transform(o))+")"};function L2e(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 $b={test:kw("#"),parse:L2e,transform:Mc.transform},V1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),vt=V1("deg"),ot=V1("%"),O=V1("px"),I2e=V1("vh"),b2e=V1("vw"),Jw={...ot,parse:e=>ot.parse(e)/100,transform:e=>ot.transform(e*100)},zc={test:kw("hsl","hue"),parse:Hj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ot.transform(_1(t))+", "+ot.transform(_1(n))+", "+_1(C1.transform(o))+")"},pe={test:e=>Mc.test(e)||$b.test(e)||zc.test(e),parse:e=>Mc.test(e)?Mc.parse(e):zc.test(e)?zc.parse(e):$b.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Mc.transform(e):zc.transform(e),getAnimatableNone:e=>{const t=pe.parse(e);return t.alpha=0,pe.transform(t)}},w2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function C2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(yw)?.length||0)+(e.match(w2e)?.length||0)>0}const Dj="number",Bj="color",N2e="var",S2e="var(",Qw="${}",j2e=/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 N1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(j2e,l=>(pe.test(l)?(o.color.push(r),i.push(Bj),n.push(pe.parse(l))):l.startsWith(S2e)?(o.var.push(r),i.push(N2e),n.push(l)):(o.number.push(r),i.push(Dj),n.push(parseFloat(l))),++r,Qw)).split(Qw);return{values:n,split:d,indexes:o,types:i}}function Rj(e){return N1(e).values}function Fj(e){const{split:t,types:n}=N1(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===Dj?r+=_1(i[s]):d===Bj?r+=pe.transform(i[s]):r+=i[s]}return r}}const $2e=e=>typeof e=="number"?0:pe.test(e)?pe.getAnimatableNone(e):e;function q2e(e){const t=Rj(e);return Fj(e)(t.map($2e))}const St={test:C2e,parse:Rj,createTransformer:Fj,getAnimatableNone:q2e};function jL(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 A2e({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=jL(l,d,e+1/3),r=jL(l,d,e),s=jL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function Yx(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,$L=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},z2e=[$b,Mc,zc],V2e=e=>z2e.find(t=>t.test(e));function eC(e){const t=V2e(e);if(Wc(!!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===zc&&(n=A2e(n)),n}const tC=(e,t)=>{const n=eC(e),o=eC(t);if(!n||!o)return Yx(e,t);const i={...n};return r=>(i.red=$L(n.red,o.red,r),i.green=$L(n.green,o.green,r),i.blue=$L(n.blue,o.blue,r),i.alpha=ie(n.alpha,o.alpha,r),Mc.transform(i))},qb=new Set(["none","hidden"]);function P2e(e,t){return qb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function T2e(e,t){return n=>ie(e,t,n)}function mw(e){return typeof e=="number"?T2e:typeof e=="string"?pw(e)?Yx:pe.test(e)?tC:B2e:Array.isArray(e)?Ej:typeof e=="object"?pe.test(e)?tC:H2e:Yx}function Ej(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>mw(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function H2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=mw(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function D2e(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 B2e=(e,t)=>{const n=St.createTransformer(t),o=N1(e),i=N1(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?qb.has(e)&&!i.values.length||qb.has(t)&&!o.values.length?P2e(e,t):A1(Ej(D2e(o,i),i.values),n):(Wc(!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"),Yx(e,t))};function Oj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):mw(e)(e,t)}const R2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>oe.update(t,n),stop:()=>yt(t),now:()=>Me.isProcessing?Me.timestamp:Ae.now()}},Uj=(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)})`},Jx=2e4;function fw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<Jx;)t+=n,o=e.next(t);return t>=Jx?1/0:t}function F2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(fw(o),Jx);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Fe(i)}}const E2e=5;function Wj(e,t,n){const o=Math.max(t-E2e,0);return bj(n-e(o),t-o)}const de={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},qL=.001;function O2e({duration:e=de.duration,bounce:t=de.bounce,velocity:n=de.velocity,mass:o=de.mass}){let i,r;Wc(e<=Ze(de.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(de.minDamping,de.maxDamping,s),e=ut(de.minDuration,de.maxDuration,Fe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Ab(h,s),g=Math.exp(-p);return qL-y/m*g},r=h=>{const p=h*s*e,y=p*n+n,m=Math.pow(s,2)*Math.pow(h,2)*e,g=Math.exp(-p),f=Ab(Math.pow(h,2),s);return(-i(h)+qL>0?-1:1)*((y-m)*g)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-qL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=W2e(i,r,d);if(e=Ze(e),isNaN(l))return{stiffness:de.stiffness,damping:de.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const U2e=12;function W2e(e,t,n){let o=n;for(let i=1;i<U2e;i++)o=o-e(o)/t(o);return o}function Ab(e,t){return e*Math.sqrt(1-t*t)}const G2e=["duration","bounce"],Z2e=["stiffness","damping","mass"];function aC(e,t){return t.some(n=>e[n]!==void 0)}function K2e(e){let t={velocity:de.velocity,stiffness:de.stiffness,damping:de.damping,mass:de.mass,isResolvedFromDuration:!1,...e};if(!aC(e,Z2e)&&aC(e,G2e))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:de.mass,stiffness:i,damping:r}}else{const n=O2e(e);t={...t,...n,mass:de.mass},t.isResolvedFromDuration=!0}return t}function Qx(e=de.visualDuration,t=de.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}=K2e({...n,velocity:-Fe(n.velocity||0)}),g=y||0,f=h/(2*Math.sqrt(l*u)),M=s-r,_=Fe(Math.sqrt(l/u)),v=Math.abs(M)<5;o||(o=v?de.restSpeed.granular:de.restSpeed.default),i||(i=v?de.restDelta.granular:de.restDelta.default);let I;if(f<1){const C=Ab(_,f);I=b=>{const L=Math.exp(-f*_*b);return s-L*((g+f*_*M)/C*Math.sin(C*b)+M*Math.cos(C*b))}}else if(f===1)I=C=>s-Math.exp(-_*C)*(M+(g+_*M)*C);else{const C=_*Math.sqrt(f*f-1);I=b=>{const L=Math.exp(-f*_*b),x=Math.min(C*b,300);return s-L*((g+f*_*M)*Math.sinh(x)+C*M*Math.cosh(x))/C}}const w={calculatedDuration:m&&p||null,next:C=>{const b=I(C);if(m)d.done=C>=p;else{let L=C===0?g:0;f<1&&(L=C===0?Ze(g):Wj(I,C,b));const x=Math.abs(L)<=o,S=Math.abs(s-b)<=i;d.done=x&&S}return d.value=d.done?s:b,d},toString:()=>{const C=Math.min(fw(w),Jx),b=Uj(L=>w.next(C*L).value,C,30);return C+"ms "+b},toTransition:()=>{}};return w}Qx.applyToOptions=e=>{const t=F2e(e,100,Qx);return e.ease=t.ease,e.duration=Ze(t.duration),e.type="keyframes",e};function zb({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=x=>d!==void 0&&x<d||l!==void 0&&x>l,g=x=>d===void 0?l:l===void 0||Math.abs(d-x)<Math.abs(l-x)?d:l;let f=n*t;const M=p+f,_=s===void 0?M:s(M);_!==M&&(f=_-p);const v=x=>-f*Math.exp(-x/o),I=x=>_+v(x),w=x=>{const S=v(x),j=I(x);y.done=Math.abs(S)<=h,y.value=y.done?_:j};let C,b;const L=x=>{m(y.value)&&(C=x,b=Qx({keyframes:[y.value,g(y.value)],velocity:Wj(I,x,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return L(0),{calculatedDuration:null,next:x=>{let S=!1;return!b&&C===void 0&&(S=!0,w(x),L(x)),C!==void 0&&x>=C?b.next(x-C):(!S&&w(x),y)}}}function X2e(e,t,n){const o=[],i=n||pt.mix||Oj,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]||Ee:t;d=A1(l,d)}o.push(d)}return o}function Gj(e,t,{clamp:n=!0,ease:o,mixer:i}={}){const r=e.length;if(Ke(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=X2e(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=w1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function Y2e(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=w1(0,t,o);e.push(ie(n,1,i))}}function J2e(e){const t=[0];return Y2e(t,e.length-1),t}function Q2e(e,t){return e.map(n=>n*t)}function ede(e,t){return e.map(()=>t||zj).splice(0,e.length-1)}function Vc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=p2e(o)?o.map(Yw):Yw(o),r={done:!1,value:t[0]},s=Q2e(n&&n.length===t.length?n:J2e(t),e),d=Gj(s,t,{ease:Array.isArray(i)?i:ede(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const tde=e=>e!==null;function gw(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(tde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const ade={decay:zb,inertia:zb,tween:Vc,keyframes:Vc,spring:Qx};function Zj(e){typeof e.type=="string"&&(e.type=ade[e.type])}class vw{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 nde=e=>e/100;class Mw extends vw{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!==Ae.now()&&this.tick(Ae.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;Zj(t);const{type:n=Vc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Vc;process.env.NODE_ENV!=="production"&&l!==Vc&&Ke(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Vc&&typeof d[0]!="number"&&(this.mixKeyframes=A1(nde,Oj(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=fw(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:g,onUpdate:f,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const _=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?_<0:_>i;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let I=this.currentTime,w=o;if(p){const x=Math.min(this.currentTime,i)/d;let S=Math.floor(x),j=x%1;!j&&x>=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)),I=ut(0,1,j)*d}const C=v?{done:!1,value:u[0]}:w.next(I);r&&(C.value=r(C.value));let{done:b}=C;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const L=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return L&&g!==zb&&(C.value=gw(u,this.options,M,this.speed)),f&&f(C.value),L&&this.finish(),C}then(t,n){return this.finished.then(t,n)}get duration(){return Fe(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Fe(t)}get time(){return Fe(this.currentTime)}set time(t){t=Ze(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(Ae.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=Fe(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=R2e,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(Ae.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 ode(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const _c=e=>e*180/Math.PI,Vb=e=>{const t=_c(Math.atan2(e[1],e[0]));return Pb(t)},cde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Vb,rotateZ:Vb,skewX:e=>_c(Math.atan(e[1])),skewY:e=>_c(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Pb=e=>(e=e%360,e<0&&(e+=360),e),nC=Vb,oC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),cC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ide={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:oC,scaleY:cC,scale:e=>(oC(e)+cC(e))/2,rotateX:e=>Pb(_c(Math.atan2(e[6],e[5]))),rotateY:e=>Pb(_c(Math.atan2(-e[2],e[0]))),rotateZ:nC,rotate:nC,skewX:e=>_c(Math.atan(e[4])),skewY:e=>_c(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Tb(e){return e.includes("scale")?1:0}function Hb(e,t){if(!e||e==="none")return Tb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=ide,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=cde,i=d}if(!i)return Tb(t);const r=o[t],s=i[1].split(",").map(sde);return typeof r=="function"?r(s):s[r]}const rde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Hb(n,t)};function sde(e){return parseFloat(e.trim())}const Zc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Kc=new Set(Zc),iC=e=>e===Gc||e===O,dde=new Set(["x","y","z"]),lde=Zc.filter(e=>!dde.has(e));function hde(e){const t=[];return lde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const Ic={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})=>Hb(t,"x"),y:(e,{transform:t})=>Hb(t,"y")};Ic.translateX=Ic.x;Ic.translateY=Ic.y;const bc=new Set;let Db=!1,Bb=!1,Rb=!1;function Kj(){if(Bb){const e=Array.from(bc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=hde(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)})}Bb=!1,Db=!1,bc.forEach(e=>e.complete(Rb)),bc.clear()}function Xj(){bc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Bb=!0)})}function ude(){Rb=!0,Xj(),Kj(),Rb=!1}class _w{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?(bc.add(this),Db||(Db=!0,oe.read(Xj),oe.resolveKeyframes(Kj))):(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])}ode(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),bc.delete(this)}cancel(){this.state==="scheduled"&&(bc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const pde=e=>e.startsWith("--");function yde(e,t,n){pde(t)?e.style.setProperty(t,n):e.style[t]=n}const kde=rw(()=>window.ScrollTimeline!==void 0),mde={};function fde(e,t){const n=rw(e);return()=>mde[t]??n()}const Yj=fde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),c1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,rC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:c1([0,.65,.55,1]),circOut:c1([.55,0,1,.45]),backIn:c1([.31,.01,.66,-.59]),backOut:c1([.33,1.53,.69,.99])};function Jj(e,t){if(e)return typeof e=="function"?Yj()?Uj(e,t):"ease-out":Vj(e)?c1(e):Array.isArray(e)?e.map(n=>Jj(n,t)||rC.easeOut):rC[e]}function gde(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=Jj(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 Qj(e){return typeof e=="function"&&"applyToOptions"in e}function vde({type:e,...t}){return Qj(e)&&Yj()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class Mde extends vw{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,Ke(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=vde(t);this.animation=gde(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=gw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):yde(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 Fe(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Fe(t)}get time(){return Fe(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=Ze(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&&kde()?(this.animation.timeline=t,Ee):n(this)}}const e$={anticipate:$j,backInOut:jj,circInOut:Aj};function _de(e){return e in e$}function xde(e){typeof e.ease=="string"&&_de(e.ease)&&(e.ease=e$[e.ease])}const sC=10;class Lde extends Mde{constructor(t){xde(t),Zj(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 Mw({...s,autoplay:!1}),l=Ze(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-sC).value,d.sample(l).value,sC),d.stop()}}const dC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(St.test(e)||e==="0")&&!e.startsWith("url("));function Ide(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 bde(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=dC(i,t),d=dC(r,t);return Wc(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:Ide(e)||(n==="spring"||Qj(n))&&o}function Fb(e){e.duration=0,e.type="keyframes"}const wde=new Set(["opacity","clipPath","filter","transform"]),Cde=rw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function Nde(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 Cde()&&n&&wde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Sde=40;class jde extends vw{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=Ae.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||_w;this.keyframeResolver=new m(d,(g,f,M)=>this.onKeyframesResolved(g,f,y,!M),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,o,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=o;this.resolvedAt=Ae.now(),bde(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(gw(t,o,n)),t[0]=t[t.length-1],Fb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Sde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&Nde(y)?new Lde({...y,element:y.motionValue.owner.current}):new Mw(y);m.finished.then(()=>this.notifyFinished()).catch(Ee),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(),ude()),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 $de=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function qde(e){const t=$de.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Ade=4;function t$(e,t,n=1){Ke(n<=Ade,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=qde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return xj(s)?parseFloat(s):s}return pw(i)?t$(i,t,n+1):i}function xw(e,t){return e?.[t]??e?.default??e}const a$=new Set(["width","height","top","left","right","bottom",...Zc]),zde={test:e=>e==="auto",parse:e=>e},n$=e=>t=>t.test(e),o$=[Gc,O,ot,vt,b2e,I2e,zde],lC=e=>o$.find(n$(e));function Vde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Ij(e):!0}const Pde=new Set(["brightness","contrast","saturate","opacity"]);function Tde(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(yw)||[];if(!o)return e;const i=n.replace(o,"");let r=Pde.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Hde=/\b([a-z-]*)\(.*?\)/gu,Eb={...St,getAnimatableNone:e=>{const t=e.match(Hde);return t?t.map(Tde).join(" "):e}},hC={...Gc,transform:Math.round},Dde={rotate:vt,rotateX:vt,rotateY:vt,rotateZ:vt,scale:R1,scaleX:R1,scaleY:R1,scaleZ:R1,skew:vt,skewX:vt,skewY:vt,distance:O,translateX:O,translateY:O,translateZ:O,x:O,y:O,z:O,perspective:O,transformPerspective:O,opacity:C1,originX:Jw,originY:Jw,originZ:O},Lw={borderWidth:O,borderTopWidth:O,borderRightWidth:O,borderBottomWidth:O,borderLeftWidth:O,borderRadius:O,radius:O,borderTopLeftRadius:O,borderTopRightRadius:O,borderBottomRightRadius:O,borderBottomLeftRadius:O,width:O,maxWidth:O,height:O,maxHeight:O,top:O,right:O,bottom:O,left:O,padding:O,paddingTop:O,paddingRight:O,paddingBottom:O,paddingLeft:O,margin:O,marginTop:O,marginRight:O,marginBottom:O,marginLeft:O,backgroundPositionX:O,backgroundPositionY:O,...Dde,zIndex:hC,fillOpacity:C1,strokeOpacity:C1,numOctaves:hC},Bde={...Lw,color:pe,backgroundColor:pe,outlineColor:pe,fill:pe,stroke:pe,borderColor:pe,borderTopColor:pe,borderRightColor:pe,borderBottomColor:pe,borderLeftColor:pe,filter:Eb,WebkitFilter:Eb},c$=e=>Bde[e];function i$(e,t){let n=c$(e);return n!==Eb&&(n=St),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Rde=new Set(["auto","none","0"]);function Fde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Rde.has(r)&&N1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=i$(n,i)}class Ede extends _w{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(),pw(h))){const u=t$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!a$.has(o)||t.length!==2)return;const[i,r]=t,s=lC(i),d=lC(r);if(s!==d)if(iC(s)&&iC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else Ic[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Vde(t[i]))&&o.push(i);o.length&&Fde(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=Ic[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]=Ic[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 Ode(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 r$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function s$(e){return Lj(e)&&"offsetHeight"in e}const uC=30,Ude=e=>!isNaN(parseFloat(e)),x1={current:void 0};class Wde{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=o=>{const i=Ae.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=Ae.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Ude(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&dw(!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 sw);const o=this.events[t].add(n);return t==="change"?()=>{o(),oe.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 x1.current&&x1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ae.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>uC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,uC);return bj(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 wc(e,t){return new Wde(e,t)}const{schedule:Iw}=Pj(queueMicrotask,!1),We={x:!1,y:!1};function d$(){return We.x||We.y}function Gde(e){return e==="x"||e==="y"?We[e]?null:(We[e]=!0,()=>{We[e]=!1}):We.x||We.y?null:(We.x=We.y=!0,()=>{We.x=We.y=!1})}function l$(e,t){const n=Ode(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function pC(e){return!(e.pointerType==="touch"||d$())}function Zde(e,t,n={}){const[o,i,r]=l$(e,n),s=d=>{if(!pC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{pC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const h$=(e,t)=>t?e===t?!0:h$(e,t.parentElement):!1,bw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,Kde=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Xde(e){return Kde.has(e.tagName)||e.tabIndex!==-1}const Ex=new WeakSet;function yC(e){return t=>{t.key==="Enter"&&e(t)}}function AL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const Yde=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=yC(()=>{if(Ex.has(n))return;AL(n,"down");const i=yC(()=>{AL(n,"up")}),r=()=>AL(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 kC(e){return bw(e)&&!d$()}function Jde(e,t,n={}){const[o,i,r]=l$(e,n),s=d=>{const l=d.currentTarget;if(!kC(d))return;Ex.add(l);const h=t(l,d),u=(m,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Ex.has(l)&&Ex.delete(l),kC(m)&&typeof h=="function"&&h(m,{success:g})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||h$(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),s$(d)&&(d.addEventListener("focus",h=>Yde(h,i)),!Xde(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function u$(e){return Lj(e)&&"ownerSVGElement"in e}function Qde(e){return u$(e)&&e.tagName==="svg"}function e0e(...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=Gj(i,r,s);return t?d(o):d}const _e=e=>!!(e&&e.getVelocity),t0e=[...o$,pe,St],a0e=e=>t0e.find(n$(e)),iL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function mC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function n0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=mC(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():mC(e[i],null)}}}}function o0e(...e){return Z.useCallback(n0e(...e),e)}class c0e extends Z.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=s$(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 i0e({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(iL),l=o0e(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 g=n==="left"?`left: ${y}`:`right: ${m}`;r.current.dataset.motionPopId=i;const f=document.createElement("style");d&&(f.nonce=d);const M=o??document.head;return M.appendChild(f),f.sheet&&f.sheet.insertRule(`
|
|
8162
8162
|
[data-motion-pop-id="${i}"] {
|
|
8163
8163
|
position: absolute !important;
|
|
8164
8164
|
width: ${h}px !important;
|
|
@@ -8166,15 +8166,15 @@
|
|
|
8166
8166
|
${g}px !important;
|
|
8167
8167
|
top: ${p}px !important;
|
|
8168
8168
|
}
|
|
8169
|
-
`),()=>{M.contains(f)&&M.removeChild(f)}},[t]),c.jsx(c0e,{isPresent:t,childRef:r,sizeRef:s,children:Z.cloneElement(e,{ref:l})})}const r0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=jt(s0e),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 g of h.values())if(!g)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,g)=>h.set(g,!1))},[n]),Z.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(i0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(cL.Provider,{value:y,children:e})};function s0e(){return new Map}function p$(e=!0){const t=k.useContext(cL);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 F1=e=>e.key||"";function fC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const d0e=({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]=p$(s),p=k.useMemo(()=>fC(e),[e]),y=s&&!h?[]:p.map(F1),m=k.useRef(!0),g=k.useRef(p),f=jt(()=>new Map),[M,x]=k.useState(p),[v,I]=k.useState(p);ow(()=>{m.current=!1,g.current=p;for(let b=0;b<v.length;b++){const _=F1(v[b]);y.includes(_)?f.delete(_):f.get(_)!==!0&&f.set(_,!1)}},[v,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let _=0;_<v.length;_++){const L=v[_],S=F1(L);y.includes(S)||(b.splice(_,0,L),w.push(L))}return r==="wait"&&w.length&&(b=w),I(fC(b)),x(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&v.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(aw);return c.jsx(c.Fragment,{children:v.map(b=>{const _=F1(b),L=s&&!h?!1:p===v||y.includes(_),S=()=>{if(f.has(_))f.set(_,!0);else return;let j=!0;f.forEach($=>{$||(j=!1)}),j&&(C?.(),I(g.current),s&&u?.(),o&&o())};return c.jsx(r0e,{isPresent:L,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:L?void 0:S,anchorX:d,children:b},_)})})},y$=k.createContext({strict:!1}),gC={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"]},Uc={};for(const e in gC)Uc[e]={isEnabled:t=>gC[e].some(n=>!!t[n])};function l0e(e){for(const t in e)Uc[t]={...Uc[t],...e[t]}}const h0e=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 eL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||h0e.has(e)}let k$=e=>!eL(e);function u0e(e){typeof e=="function"&&(k$=t=>t.startsWith("on")?!eL(t):e(t))}try{u0e(require("@emotion/is-prop-valid").default)}catch{}function p0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(k$(i)||n===!0&&eL(i)||!t&&!eL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const rL=k.createContext({});function sL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function S1(e){return typeof e=="string"||Array.isArray(e)}const ww=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Cw=["initial",...ww];function dL(e){return sL(e.animate)||Cw.some(t=>S1(e[t]))}function m$(e){return!!(dL(e)||e.variants)}function y0e(e,t){if(dL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||S1(n)?n:void 0,animate:S1(o)?o:void 0}}return e.inherit!==!1?t:{}}function k0e(e){const{initial:t,animate:n}=y0e(e,k.useContext(rL));return k.useMemo(()=>({initial:t,animate:n}),[vC(t),vC(n)])}function vC(e){return Array.isArray(e)?e.join(" "):e}const j1={};function m0e(e){for(const t in e)j1[t]=e[t],uw(t)&&(j1[t].isCSSVariable=!0)}function f$(e,{layout:t,layoutId:n}){return Kc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!j1[e]||e==="opacity")}const f0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},g0e=Zc.length;function v0e(e,t,n){let o="",i=!0;for(let r=0;r<g0e;r++){const s=Zc[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=r$(d,Lw[s]);if(!l){i=!1;const u=f0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function Nw(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(Kc.has(l)){s=!0;continue}else if(uw(l)){i[l]=h;continue}else{const u=r$(h,Lw[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=v0e(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 Sw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function g$(e,t,n){for(const o in t)!_e(t[o])&&!f$(o,n)&&(e[o]=t[o])}function M0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Sw();return Nw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function _0e(e,t){const n=e.style||{},o={};return g$(o,n,e),Object.assign(o,M0e(e,t)),o}function x0e(e,t){const n={},o=_0e(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 L0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},I0e={offset:"strokeDashoffset",array:"strokeDasharray"};function b0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?L0e:I0e;e[r.offset]=O.transform(-o);const s=O.transform(t),d=O.transform(n);e[r.array]=`${s} ${d}`}function v$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Nw(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&&b0e(p,i,r,s,!1)}const M$=()=>({...Sw(),attrs:{}}),_$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function w0e(e,t,n,o){const i=k.useMemo(()=>{const r=M$();return v$(r,t,_$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};g$(r,e.style,e),i.style={...r,...i.style}}return i}const C0e=["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 jw(e){return typeof e!="string"||e.includes("-")?!1:!!(C0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function N0e(e,t,n,{latestValues:o},i,r=!1){const d=(jw(e)?w0e:x0e)(t,o,i,e),l=p0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>_e(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function MC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function $w(e,t,n,o){if(typeof t=="function"){const[i,r]=MC(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]=MC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Ox(e){return _e(e)?e.get():e}function S0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:j0e(n,o,i,e),renderState:t()}}function j0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Ox(r[y]);let{initial:s,animate:d}=e;const l=dL(e),h=m$(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"&&!sL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const g=$w(e,y[m]);if(g){const{transitionEnd:f,transition:M,...x}=g;for(const v in x){let I=x[v];if(Array.isArray(I)){const w=u?I.length-1:0;I=I[w]}I!==null&&(i[v]=I)}for(const v in f)i[v]=f[v]}}}return i}const x$=e=>(t,n)=>{const o=k.useContext(rL),i=k.useContext(cL),r=()=>S0e(e,t,o,i);return n?r():jt(r)};function qw(e,t,n){const{style:o}=e,i={};for(const r in o)(_e(o[r])||t.style&&_e(t.style[r])||f$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const $0e=x$({scrapeMotionValuesFromProps:qw,createRenderState:Sw});function L$(e,t,n){const o=qw(e,t,n);for(const i in e)if(_e(e[i])||_e(t[i])){const r=Zc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const q0e=x$({scrapeMotionValuesFromProps:L$,createRenderState:M$}),A0e=Symbol.for("motionComponentSymbol");function Pc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function z0e(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):Pc(n)&&(n.current=o))},[t])}const Aw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),V0e="framerAppearId",I$="data-"+Aw(V0e),b$=k.createContext({});function P0e(e,t,n,o,i){const{visualElement:r}=k.useContext(rL),s=k.useContext(y$),d=k.useContext(cL),l=k.useContext(iL).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(b$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&T0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[I$],g=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return ow(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),g.current=!1),u.enteringChildren=void 0)}),u}function T0e(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:w$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Pc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function w$(e){if(e)return e.options.allowProjection!==!1?e.projection:w$(e.parent)}function zL(e,{forwardMotionProps:t=!1}={},n,o){n&&l0e(n);const i=jw(e)?q0e:$0e;function r(d,l){let h;const u={...k.useContext(iL),...d,layoutId:H0e(d)},{isStatic:p}=u,y=k0e(d),m=i(d,p);if(!p&&nw){D0e(u,n);const g=B0e(u);h=g.MeasureLayout,y.visualElement=P0e(e,m,u,o,g.ProjectionNode)}return c.jsxs(rL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,N0e(e,d,z0e(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[A0e]=e,s}function H0e({layoutId:e}){const t=k.useContext(aw).id;return t&&e!==void 0?t+"-"+e:e}function D0e(e,t){const n=k.useContext(y$).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?Wc(!1,o,"lazy-strict-mode"):Ke(!1,o,"lazy-strict-mode")}}function B0e(e){const{drag:t,layout:n}=Uc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function R0e(e,t){if(typeof Proxy>"u")return zL;const n=new Map,o=(r,s)=>zL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&dw(!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,zL(s,void 0,e,t)),n.get(s))})}function C$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function F0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function E0e(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 VL(e){return e===void 0||e===1}function Ob({scale:e,scaleX:t,scaleY:n}){return!VL(e)||!VL(t)||!VL(n)}function vc(e){return Ob(e)||N$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function N$(e){return _C(e.x)||_C(e.y)}function _C(e){return e&&e!=="0%"}function tL(e,t,n){const o=e-n,i=t*o;return n+i}function xC(e,t,n,o,i){return i!==void 0&&(e=tL(e,i,o)),tL(e,n,o)+t}function Ub(e,t=0,n=1,o,i){e.min=xC(e.min,t,n,o,i),e.max=xC(e.max,t,n,o,i)}function S$(e,{x:t,y:n}){Ub(e.x,t.translate,t.scale,t.originPoint),Ub(e.y,n.translate,n.scale,n.originPoint)}const LC=.999999999999,IC=1.0000000000001;function O0e(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&&Hc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,S$(e,s)),o&&vc(r.latestValues)&&Hc(e,r.latestValues))}t.x<IC&&t.x>LC&&(t.x=1),t.y<IC&&t.y>LC&&(t.y=1)}function Tc(e,t){e.min=e.min+t,e.max=e.max+t}function bC(e,t,n,o,i=.5){const r=ie(e.min,e.max,i);Ub(e,t,n,r,o)}function Hc(e,t){bC(e.x,t.x,t.scaleX,t.scale,t.originX),bC(e.y,t.y,t.scaleY,t.scale,t.originY)}function j$(e,t){return C$(E0e(e.getBoundingClientRect(),t))}function U0e(e,t,n){const o=j$(e,n),{scroll:i}=t;return i&&(Tc(o.x,i.offset.x),Tc(o.y,i.offset.y)),o}const wC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Dc=()=>({x:wC(),y:wC()}),CC=()=>({min:0,max:0}),he=()=>({x:CC(),y:CC()}),Wb={current:null},$$={current:!1};function W0e(){if($$.current=!0,!!nw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wb.current=e.matches;e.addEventListener("change",t),t()}else Wb.current=!1}const G0e=new WeakMap;function Z0e(e,t,n){for(const o in t){const i=t[o],r=n[o];if(_e(i))e.addValue(o,i);else if(_e(r))e.addValue(o,wc(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,wc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const NC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class K0e{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=_w,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=Ae.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,oe.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=dL(n),this.isVariantNode=m$(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&&_e(m)&&m.set(l[y])}}mount(t){this.current=t,G0e.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)),$$.current||W0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Wb.current,process.env.NODE_ENV!=="production"&&dw(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=Kc.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&oe.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 Uc){const n=Uc[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):he()}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<NC.length;o++){const i=NC[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=Z0e(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=wc(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"&&(xj(o)||Ij(o))?o=parseFloat(o):!a0e(o)&&St.test(n)&&(o=i$(t,n)),this.setBaseTarget(t,_e(o)?o.get():o)),_e(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=$w(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&&!_e(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 sw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Iw.render(this.render)}}class q$ extends K0e{constructor(){super(...arguments),this.KeyframeResolver=Ede}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;_e(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function A$(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 X0e(e){return window.getComputedStyle(e)}class Y0e extends q${constructor(){super(...arguments),this.type="html",this.renderInstance=A$}readValueFromInstance(t,n){if(Kc.has(n))return this.projection?.isProjecting?Tb(n):rde(t,n);{const o=X0e(t),i=(uw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return j$(t,n)}build(t,n,o){Nw(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return qw(t,n,o)}}const z$=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 J0e(e,t,n,o){A$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(z$.has(i)?i:Aw(i),t.attrs[i])}class Q0e extends q${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=he}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Kc.has(n)){const o=c$(n);return o&&o.default||0}return n=z$.has(n)?n:Aw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return L$(t,n,o)}build(t,n,o){v$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){J0e(t,n,o,i)}mount(t){this.isSVGTag=_$(t.tagName),super.mount(t)}}const ele=(e,t)=>jw(e)?new Q0e(t):new Y0e(t,{allowProjection:e!==k.Fragment});function Oc(e,t,n){const o=e.getProps();return $w(o,t,n!==void 0?n:o.custom,e)}const Gb=e=>Array.isArray(e);function tle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wc(n))}function ale(e){return Gb(e)?e[e.length-1]||0:e}function nle(e,t){const n=Oc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=ale(r[s]);tle(e,s,d)}}function ole(e){return!!(_e(e)&&e.add)}function Zb(e,t){const n=e.getValue("willChange");if(ole(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function V$(e){return e.props[I$]}const cle=e=>e!==null;function ile(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(cle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const rle={type:"spring",stiffness:500,damping:25,restSpeed:10},sle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),dle={type:"keyframes",duration:.8},lle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},hle=(e,{keyframes:t})=>t.length>2?dle:Kc.has(e)?e.startsWith("scale")?sle(t[1]):rle:lle;function ule({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 zw=(e,t,n,o={},i,r)=>s=>{const d=xw(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Ze(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};ule(d)||Object.assign(u,hle(e,u)),u.duration&&(u.duration=Ze(u.duration)),u.repeatDelay&&(u.repeatDelay=Ze(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Fb(u),u.delay===0&&(p=!0)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Fb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ile(u.keyframes,d);if(y!==void 0){oe.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Mw(u):new jde(u)};function ple({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function P$(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&&ple(h,u))continue;const m={delay:n,...xw(r||{},u)},g=p.get();if(g!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===g&&!m.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){const x=V$(e);if(x){const v=window.MotionHandoffAnimation(x,u,oe);v!==null&&(m.startTime=v,f=!0)}}Zb(e,u),p.start(zw(u,p,y,e.shouldReduceMotion&&a$.has(u)?{type:!1}:m,e,f));const M=p.animation;M&&l.push(M)}return s&&Promise.all(l).then(()=>{oe.update(()=>{s&&nle(e,s)})}),l}function T$(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 Kb(e,t,n={}){const o=Oc(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(P$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return yle(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 yle(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(Kb(l,t,{...s,delay:n+(typeof o=="function"?0:o)+T$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function kle(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>Kb(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=Kb(e,t,n);else{const i=typeof t=="function"?Oc(e,t,n.custom):t;o=Promise.all(P$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function H$(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 mle=Cw.length;function D$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?D$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<mle;n++){const o=Cw[n],i=e.props[o];(S1(i)||i===!1)&&(t[o]=i)}return t}const fle=[...ww].reverse(),gle=ww.length;function vle(e){return t=>Promise.all(t.map(({animation:n,options:o})=>kle(e,n,o)))}function Mle(e){let t=vle(e),n=SC(),o=!0;const i=l=>(h,u)=>{const p=Oc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...g}=p;h={...h,...g,...m}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=D$(e.parent)||{},p=[],y=new Set;let m={},g=1/0;for(let M=0;M<gle;M++){const x=fle[M],v=n[x],I=h[x]!==void 0?h[x]:u[x],w=S1(I),C=x===l?v.isActive:null;C===!1&&(g=M);let b=I===u[x]&&I!==h[x]&&w;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...m},!v.isActive&&C===null||!I&&!v.prevProp||sL(I)||typeof I=="boolean")continue;const _=_le(v.prevProp,I);let L=_||x===l&&v.isActive&&!b&&w||M>g&&w,S=!1;const j=Array.isArray(I)?I:[I];let $=j.reduce(i(x),{});C===!1&&($={});const{prevResolvedValues:q={}}=v,P={...q,...$},H=V=>{L=!0,y.has(V)&&(S=!0,y.delete(V)),v.needsAnimating[V]=!0;const T=e.getValue(V);T&&(T.liveStyle=!1)};for(const V in P){const T=$[V],F=q[V];if(m.hasOwnProperty(V))continue;let B=!1;Gb(T)&&Gb(F)?B=!H$(T,F):B=T!==F,B?T!=null?H(V):y.add(V):T!==void 0&&y.has(V)?H(V):v.protectedKeys[V]=!0}v.prevProp=I,v.prevResolvedValues=$,v.isActive&&(m={...m,...$}),o&&e.blockInitialAnimation&&(L=!1);const z=b&&_;L&&(!z||S)&&p.push(...j.map(V=>{const T={type:x};if(typeof V=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:F}=e,B=Oc(F,V);if(F.enteringChildren&&B){const{delayChildren:R}=B.transition||{};T.delay=T$(F.enteringChildren,e,R)}}return{animation:V,options:T}}))}if(y.size){const M={};if(typeof h.initial!="boolean"){const x=Oc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);x&&x.transition&&(M.transition=x.transition)}y.forEach(x=>{const v=e.getBaseTarget(x),I=e.getValue(x);I&&(I.liveStyle=!0),M[x]=v??null}),p.push({animation:M})}let f=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(p):Promise.resolve()}function d(l,h){if(n[l].isActive===h)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(l,h)),n[l].isActive=h;const u=s(l);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=SC()}}}function _le(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!H$(t,e):!1}function zt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function SC(){return{animate:zt(!0),whileInView:zt(),whileHover:zt(),whileTap:zt(),whileDrag:zt(),whileFocus:zt(),exit:zt()}}class $t{constructor(t){this.isMounted=!1,this.node=t}update(){}}class xle extends $t{constructor(t){super(t),t.animationState||(t.animationState=Mle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();sL(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 Lle=0;class Ile extends $t{constructor(){super(...arguments),this.id=Lle++}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 ble={animation:{Feature:xle},exit:{Feature:Ile}};function $1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function P1(e){return{point:{x:e.pageX,y:e.pageY}}}const wle=e=>t=>bw(t)&&e(t,P1(t));function L1(e,t,n,o){return $1(e,t,wle(n),o)}const B$=1e-4,Cle=1-B$,Nle=1+B$,R$=.01,Sle=0-R$,jle=0+R$;function Ne(e){return e.max-e.min}function $le(e,t,n){return Math.abs(e-t)<=n}function jC(e,t,n,o=.5){e.origin=o,e.originPoint=ie(t.min,t.max,e.origin),e.scale=Ne(n)/Ne(t),e.translate=ie(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Cle&&e.scale<=Nle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Sle&&e.translate<=jle||isNaN(e.translate))&&(e.translate=0)}function I1(e,t,n,o){jC(e.x,t.x,n.x,o?o.originX:void 0),jC(e.y,t.y,n.y,o?o.originY:void 0)}function $C(e,t,n){e.min=n.min+t.min,e.max=e.min+Ne(t)}function qle(e,t,n){$C(e.x,t.x,n.x),$C(e.y,t.y,n.y)}function qC(e,t,n){e.min=t.min-n.min,e.max=e.min+Ne(t)}function b1(e,t,n){qC(e.x,t.x,n.x),qC(e.y,t.y,n.y)}function Be(e){return[e("x"),e("y")]}const F$=({current:e})=>e?e.ownerDocument.defaultView:null,AC=(e,t)=>Math.abs(e-t);function Ale(e,t){const n=AC(e.x,t.x),o=AC(e.y,t.y);return Math.sqrt(n**2+o**2)}class E${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=TL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=Ale(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:f}=y,{timestamp:M}=Me;this.history.push({...f,timestamp:M});const{onStart:x,onMove:v}=this.handlers;m||(x&&x(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,m)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=PL(m,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:g,onSessionEnd:f,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const x=TL(y.type==="pointercancel"?this.lastMoveEventInfo:PL(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,x),f&&f(y,x)},!bw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=P1(t),l=PL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=Me;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,TL(l,this.history)),this.removeListeners=A1(L1(this.contextWindow,"pointermove",this.handlePointerMove),L1(this.contextWindow,"pointerup",this.handlePointerUp),L1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function PL(e,t){return t?{point:t(e.point)}:e}function zC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function TL({point:e},t){return{point:e,delta:zC(e,O$(t)),offset:zC(e,zle(t)),velocity:Vle(t,.1)}}function zle(e){return e[0]}function O$(e){return e[e.length-1]}function Vle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=O$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Ze(t)));)n--;if(!o)return{x:0,y:0};const r=Fe(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 Ple(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?ie(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?ie(n,e,o.max):Math.min(e,n)),e}function VC(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 Tle(e,{top:t,left:n,bottom:o,right:i}){return{x:VC(e.x,n,i),y:VC(e.y,t,o)}}function PC(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 Hle(e,t){return{x:PC(e.x,t.x),y:PC(e.y,t.y)}}function Dle(e,t){let n=.5;const o=Ne(e),i=Ne(t);return i>o?n=w1(t.min,t.max-o,e.min):o>i&&(n=w1(e.min,e.max-i,t.min)),ut(0,1,n)}function Ble(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 Xb=.35;function Rle(e=Xb){return e===!1?e=0:e===!0&&(e=Xb),{x:TC(e,"left","right"),y:TC(e,"top","bottom")}}function TC(e,t,n){return{min:HC(e,t),max:HC(e,n)}}function HC(e,t){return typeof e=="number"?e:e[t]||0}const Fle=new WeakMap;class Ele{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=he(),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(P1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:g,onDragStart:f}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Gde(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),Be(x=>{let v=this.getAxisMotionValue(x).get()||0;if(ot.test(v)){const{projection:I}=this.visualElement;if(I&&I.layout){const w=I.layout.layoutBox[x];w&&(v=Ne(w)*(parseFloat(v)/100))}}this.originPoint[x]=v}),f&&oe.postRender(()=>f(p,y)),Zb(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:f,onDrag:M}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:x}=y;if(g&&this.currentDirection===null){this.currentDirection=Ole(x),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",y.point,x),this.updateAxis("y",y.point,x),this.visualElement.render(),M&&M(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Be(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new E$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:F$(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&&oe.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||!E1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Ple(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&&Pc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Tle(o.layoutBox,t):this.constraints=!1,this.elastic=Rle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Be(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Ble(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Pc(t))return!1;const o=t.current;Ke(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=U0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Hle(i.layout.layoutBox,r);if(n){const d=n(F0e(s));this.hasMutatedConstraints=!!d,d&&(s=C$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Be(u=>{if(!E1(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,g={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return Zb(this.visualElement,t),o.start(zw(t,o,0,n,this.visualElement,!1))}stopAnimation(){Be(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Be(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){Be(n=>{const{drag:o}=this.getProps();if(!E1(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]-ie(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Pc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Be(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Dle({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(),Be(s=>{if(!E1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ie(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;Fle.set(this.visualElement,this);const t=this.visualElement.current,n=L1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Pc(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()),oe.read(o);const s=$1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Be(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=Xb,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function E1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ole(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Ule extends $t{constructor(t){super(t),this.removeGroupControls=Ee,this.removeListeners=Ee,this.controls=new Ele(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ee}unmount(){this.removeGroupControls(),this.removeListeners()}}const DC=e=>(t,n)=>{e&&oe.postRender(()=>e(t,n))};class Wle extends $t{constructor(){super(...arguments),this.removePointerDownListener=Ee}onPointerDown(t){this.session=new E$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:F$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:DC(t),onStart:DC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&oe.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=L1(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 Ux={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function BC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const e1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;const n=BC(e,t.target.x),o=BC(e,t.target.y);return`${n}% ${o}%`}},Gle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=St.parse(e);if(i.length>5)return o;const r=St.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=ie(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 HL=!1;class Zle extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;m0e(Kle),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),HL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ux.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,HL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||oe.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Iw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;HL=!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 U$(e){const[t,n]=p$(),o=k.useContext(aw);return c.jsx(Zle,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(b$),isPresent:t,safeToRemove:n})}const Kle={borderRadius:{...e1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:e1,borderTopRightRadius:e1,borderBottomLeftRadius:e1,borderBottomRightRadius:e1,boxShadow:Gle};function Xle(e,t,n){const o=_e(e)?e:wc(e);return o.start(zw("",o,t,n)),o.animation}const Yle=(e,t)=>e.depth-t.depth;class Jle{constructor(){this.children=[],this.isDirty=!1}add(t){cw(this.children,t),this.isDirty=!0}remove(t){iw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Yle),this.isDirty=!1,this.children.forEach(t)}}function Qle(e,t){const n=Ae.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return oe.setup(o,!0),()=>yt(o)}const W$=["TopLeft","TopRight","BottomLeft","BottomRight"],ehe=W$.length,RC=e=>typeof e=="string"?parseFloat(e):e,FC=e=>typeof e=="number"||O.test(e);function the(e,t,n,o,i,r){i?(e.opacity=ie(0,n.opacity??1,ahe(o)),e.opacityExit=ie(t.opacity??1,0,nhe(o))):r&&(e.opacity=ie(t.opacity??1,n.opacity??1,o));for(let s=0;s<ehe;s++){const d=`border${W$[s]}Radius`;let l=EC(t,d),h=EC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||FC(l)===FC(h)?(e[d]=Math.max(ie(RC(l),RC(h),o),0),(ot.test(h)||ot.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,o))}function EC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ahe=G$(0,.5,qj),nhe=G$(.5,.95,Ee);function G$(e,t,n){return o=>o<e?0:o>t?1:n(w1(e,t,o))}function OC(e,t){e.min=t.min,e.max=t.max}function Te(e,t){OC(e.x,t.x),OC(e.y,t.y)}function UC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function WC(e,t,n,o,i){return e-=t,e=tL(e,1/n,o),i!==void 0&&(e=tL(e,1/i,o)),e}function ohe(e,t=0,n=1,o=.5,i,r=e,s=e){if(ot.test(t)&&(t=parseFloat(t),t=ie(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ie(r.min,r.max,o);e===r&&(d-=t),e.min=WC(e.min,t,n,d,i),e.max=WC(e.max,t,n,d,i)}function GC(e,t,[n,o,i],r,s){ohe(e,t[n],t[o],t[i],t.scale,r,s)}const che=["x","scaleX","originX"],ihe=["y","scaleY","originY"];function ZC(e,t,n,o){GC(e.x,t,che,n?n.x:void 0,o?o.x:void 0),GC(e.y,t,ihe,n?n.y:void 0,o?o.y:void 0)}function KC(e){return e.translate===0&&e.scale===1}function Z$(e){return KC(e.x)&&KC(e.y)}function XC(e,t){return e.min===t.min&&e.max===t.max}function rhe(e,t){return XC(e.x,t.x)&&XC(e.y,t.y)}function YC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function K$(e,t){return YC(e.x,t.x)&&YC(e.y,t.y)}function JC(e){return Ne(e.x)/Ne(e.y)}function QC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class she{constructor(){this.members=[]}add(t){cw(this.members,t),t.scheduleRender()}remove(t){if(iw(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 dhe(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:g}=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) `),g&&(o+=`skewY(${g}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 DL=["","X","Y","Z"],lhe=1e3;let hhe=0;function BL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function X$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=V$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",oe,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&X$(o)}function Y$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=hhe++,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(yhe),this.nodes.forEach(ghe),this.nodes.forEach(vhe),this.nodes.forEach(khe)},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 Jle)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new sw),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=u$(s)&&!Qde(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;oe.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=Qle(y,250),Ux.hasAnimatedSinceResize&&(Ux.hasAnimatedSinceResize=!1,this.nodes.forEach(aN)))})}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 g=this.options.transition||h.getDefaultTransition()||Ihe,{onLayoutAnimationStart:f,onLayoutAnimationComplete:M}=h.getProps(),x=!this.targetLayout||!K$(this.targetLayout,m),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(x||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...xw(g,"layout"),onPlay:f,onComplete:M};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(u,v)}else p||aN(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(Mhe),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&&X$(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(eN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fhe),this.nodes.forEach(uhe),this.nodes.forEach(phe)):this.nodes.forEach(tN),this.clearAllSnapshots();const d=Ae.now();Me.delta=ut(0,1e3/60,d-Me.timestamp),Me.timestamp=d,Me.isProcessing=!0,NL.update.process(Me),NL.preRender.process(Me),NL.render.process(Me),Me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Iw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mhe),this.sharedNodes.forEach(_he)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ne(this.snapshot.measuredBox.x)&&!Ne(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=he(),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&&!Z$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||vc(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)),bhe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return he();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(whe))){const{scroll:h}=this.root;h&&(Tc(d.x,h.offset.x),Tc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=he();if(Te(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&&Te(d,s),Tc(d.x,u.offset.x),Tc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=he();Te(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&&Hc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),vc(u.latestValues)&&Hc(l,u.latestValues)}return vc(this.latestValues)&&Hc(l,this.latestValues),l}removeTransform(s){const d=he();Te(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!vc(h.latestValues))continue;Ob(h.latestValues)&&h.updateSnapshot();const u=he(),p=h.measurePageBox();Te(u,p),ZC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return vc(this.latestValues)&&ZC(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!==Me.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=Me.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=he(),this.relativeTargetOrigin=he(),b1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=he(),this.targetWithTransforms=he()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),qle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Te(this.target,this.layout.layoutBox),S$(this.target,this.targetDelta)):Te(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=he(),this.relativeTargetOrigin=he(),b1(this.relativeTargetOrigin,this.target,y.target),Te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Ob(this.parent.latestValues)||N$(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===Me.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;Te(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;O0e(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=he());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(UC(this.prevProjectionDelta.x,this.projectionDelta.x),UC(this.prevProjectionDelta.y,this.projectionDelta.y)),I1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!QC(this.projectionDelta.x,this.prevProjectionDelta.x)||!QC(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=Dc(),this.projectionDelta=Dc(),this.projectionDeltaWithTransform=Dc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Dc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=he(),m=l?l.source:void 0,g=this.layout?this.layout.source:void 0,f=m!==g,M=this.getStack(),x=!M||M.members.length<=1,v=!!(f&&!x&&this.options.crossfade===!0&&!this.path.some(Lhe));this.animationProgress=0;let I;this.mixTargetDelta=w=>{const C=w/1e3;nN(p.x,s.x,C),nN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(b1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),xhe(this.relativeTarget,this.relativeTargetOrigin,y,C),I&&rhe(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=he()),Te(I,this.relativeTarget)),f&&(this.animationValues=u,the(u,h,this.latestValues,C,v,x)),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=oe.update(()=>{Ux.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wc(0)),this.currentAnimation=Xle(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(lhe),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&&J$(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||he();const p=Ne(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Ne(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Te(d,l),Hc(d,u),I1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new she),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&&BL("z",s,h,this.animationValues);for(let u=0;u<DL.length;u++)BL(`rotate${DL[u]}`,s,h,this.animationValues),BL(`skew${DL[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=Ox(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=Ox(d?.pointerEvents)||""),this.hasProjected&&!vc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=dhe(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 g in j1){if(u[g]===void 0)continue;const{correct:f,applyTo:M,isCSSVariable:x}=j1[g],v=p==="none"?u[g]:f(u[g],h);if(M){const I=M.length;for(let w=0;w<I;w++)s[M[w]]=v}else x?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?Ox(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(eN),this.root.sharedNodes.clear()}}}function uhe(e){e.updateLayout()}function phe(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"?Be(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ne(p);p.min=n[u].min,p.max=p.min+y}):J$(i,t.layoutBox,n)&&Be(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ne(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=Dc();I1(s,n,t.layoutBox);const d=Dc();r?I1(d,e.applyTransform(o,!0),t.measuredBox):I1(d,n,t.layoutBox);const l=!Z$(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=he();b1(m,t.layoutBox,p.layoutBox);const g=he();b1(g,n,y.layoutBox),K$(m,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,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 yhe(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 khe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mhe(e){e.clearSnapshot()}function eN(e){e.clearMeasurements()}function tN(e){e.isLayoutDirty=!1}function fhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function aN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ghe(e){e.resolveTargetDelta()}function vhe(e){e.calcProjection()}function Mhe(e){e.resetSkewAndRotation()}function _he(e){e.removeLeadSnapshot()}function nN(e,t,n){e.translate=ie(t.translate,0,n),e.scale=ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function oN(e,t,n,o){e.min=ie(t.min,n.min,o),e.max=ie(t.max,n.max,o)}function xhe(e,t,n,o){oN(e.x,t.x,n.x,o),oN(e.y,t.y,n.y,o)}function Lhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ihe={duration:.45,ease:[.4,0,.1,1]},cN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),iN=cN("applewebkit/")&&!cN("chrome/")?Math.round:Ee;function rN(e){e.min=iN(e.min),e.max=iN(e.max)}function bhe(e){rN(e.x),rN(e.y)}function J$(e,t,n){return e==="position"||e==="preserve-aspect"&&!$le(JC(t),JC(n),.2)}function whe(e){return e!==e.root&&e.scroll?.wasRoot}const Che=Y$({attachResizeListener:(e,t)=>$1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),RL={current:void 0},Q$=Y$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!RL.current){const e=new Che({});e.mount(window),e.setOptions({layoutScroll:!0}),RL.current=e}return RL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Nhe={pan:{Feature:Wle},drag:{Feature:Ule,ProjectionNode:Q$,MeasureLayout:U$}};function sN(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&&oe.postRender(()=>r(t,P1(t)))}class She extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=Zde(t,(n,o)=>(sN(this.node,o,"Start"),i=>sN(this.node,i,"End"))))}unmount(){}}class jhe extends $t{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=A1($1(this.node.current,"focus",()=>this.onFocus()),$1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dN(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&&oe.postRender(()=>r(t,P1(t)))}class $he extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=Jde(t,(n,o)=>(dN(this.node,o,"Start"),(i,{success:r})=>dN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Yb=new WeakMap,FL=new WeakMap,qhe=e=>{const t=Yb.get(e.target);t&&t(e)},Ahe=e=>{e.forEach(qhe)};function zhe({root:e,...t}){const n=e||document;FL.has(n)||FL.set(n,{});const o=FL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Ahe,{root:e,...t})),o[i]}function Vhe(e,t,n){const o=zhe(t);return Yb.set(e,n),o.observe(e),()=>{Yb.delete(e),o.unobserve(e)}}const Phe={some:0,all:1};class The extends $t{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:Phe[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 Vhe(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(Hhe(t,n))&&this.startObserver()}unmount(){}}function Hhe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Dhe={inView:{Feature:The},tap:{Feature:$he},focus:{Feature:jhe},hover:{Feature:She}},Bhe={layout:{ProjectionNode:Q$,MeasureLayout:U$}},Rhe={...ble,...Dhe,...Nhe,...Bhe},Vw=R0e(Rhe,ele);function eq(e){const t=jt(()=>wc(e)),{isStatic:n}=k.useContext(iL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function tq(e,t){const n=eq(t()),o=()=>n.set(t());return o(),ow(()=>{const i=()=>oe.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function Fhe(e){x1.current=[],e();const t=tq(x1.current,e);return x1.current=void 0,t}function Ehe(e,t,n,o){if(typeof e=="function")return Fhe(e);const i=typeof t=="function"?t:e0e(t,n,o);return Array.isArray(e)?lN(e,i):lN([e],([r])=>i(r))}function lN(e,t){const n=jt(()=>[]);return tq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Ohe{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 Uhe=()=>new Ohe;function Whe(){return jt(Uhe)}const aq=k.createContext(null);function Ghe(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=ie(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?i2e(e,i,i+r):e}function Zhe({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=jt(()=>Vw[t]),l=[],h=k.useRef(!1);Ke(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=l.findIndex(g=>p===g.value);m!==-1?l[m].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(Yhe)},updateOrder:(p,y,m)=>{if(h.current)return;const g=Ghe(l,p,y,m);l!==g&&(h.current=!0,o(g.map(Xhe).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(aq.Provider,{value:u,children:e})})}const Khe=k.forwardRef(Zhe);function Xhe(e){return e.value}function Yhe(e,t){return e.layout.min-t.layout.min}function hN(e,t=0){return _e(e)?e:eq(t)}function Jhe({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=jt(()=>Vw[o]),h=k.useContext(aq),u={x:hN(t.x),y:hN(t.y)},p=Ehe([u.x,u.y],([f,M])=>f||M?1:"unset");Ke(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:g}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(f,M)=>{const{velocity:x}=M;x[y]&&g(n,u[y].get(),x[y]),i&&i(f,M)},onLayoutMeasure:f=>m(n,f),ref:d,ignoreStrict:!0,children:e})}const Qhe=k.forwardRef(Jhe),aL=[c.jsx(M1,{size:18}),c.jsx(xt,{size:18}),c.jsx(f1,{size:18}),c.jsx(Lt,{size:18}),c.jsx(d1,{size:18}),c.jsx(s1,{size:18})],eue=({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=aL[u%aL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),g=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(g){const f=g[1],M=g[2]??"",x=f.padStart(3,"0");h.text=`${y} / ${x}${M}`}}}),l(e)):l([])},[e]),c.jsxs("div",{className:`trend-list ${o??""}`,draggable:n,style:{position:"relative"},children:[c.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),c.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:c.jsx(Khe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(tue,{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 tue({value:e,index:t}){const n=Whe(),o=aL[t%aL.length]??null;return c.jsx(Qhe,{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(_j,{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 aue(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 nue(e){return!e||typeof e=="string"&&e.trim()===""}function oue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function cue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function iue(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 rue(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 sue(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 due(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 nL(e,t){const n=aue(e,t);if(n)return n;if(nue(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=oue(o);if(r)return r;break}case"url":{const r=cue(o);if(r)return r;break}case"number":{const r=iue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=rue(e,t);if(r)return r;break}case"file":{const r=sue(e,t);if(r)return r;break}}const i=due(o,t);return i||{isValid:!0}}function nq(e,t){const n={};let o=!0;for(const i of t){const r=nL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const lue="_formContainer_14ads_1",hue="_headerLine_14ads_17",uue="_formTitle_14ads_25",pue="_formDescription_14ads_30",yue="_sectionTitle_14ads_37",kue="_sectionHelp_14ads_44",mue="_fieldHelp_14ads_50",fue="_gridContainer_14ads_58",gue="_fieldGridItem_14ads_70",vue="_sectionFull_14ads_105",Mue="_formFooter_14ads_110",_ue="_footerLeft_14ads_118",xue="_footerRight_14ads_119",Lue="_cancelLink_14ads_125",Iue="_submitButton_14ads_136",bue="_fieldLabel_14ads_148",wue="_inputWrapper_14ads_163",Cue="_inputInner_14ads_187",Nue="_hasPrefix_14ads_196",Sue="_inputBase_14ads_196",jue="_iconPrefix_14ads_292",$ue="_iconSuffix_14ads_293",que="_passwordToggle_14ads_319",Aue="_fieldError_14ads_365",zue="_fieldInvalid_14ads_372",ne={formContainer:lue,headerLine:hue,formTitle:uue,formDescription:pue,sectionTitle:yue,sectionHelp:kue,fieldHelp:mue,gridContainer:fue,fieldGridItem:gue,sectionFull:vue,formFooter:Mue,footerLeft:_ue,footerRight:xue,cancelLink:Lue,submitButton:Iue,fieldLabel:bue,inputWrapper:wue,inputInner:Cue,hasPrefix:Nue,inputBase:Sue,iconPrefix:jue,iconSuffix:$ue,passwordToggle:que,fieldError:Aue,fieldInvalid:zue},oq=({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=g=>{n(g.target.value)};return c.jsxs("div",{className:ne.inputWrapper,children:[c.jsx("label",{className:`${ne.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${ne.inputInner} ${p&&y==="prefix"?ne.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:ne.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ne.inputBase} ${i?ne.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:ne.passwordToggle,onClick:()=>d(g=>!g),children:s?c.jsx(p1,{size:16}):c.jsx(y1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:ne.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:ne.fieldError,children:i})]})},Vue="_fieldGroup_yb3zi_7",Pue="_fieldLabel_yb3zi_11",Tue="_required_yb3zi_17",Hue="_fieldInput_yb3zi_22",Due="_fieldInvalid_yb3zi_40",Bue="_fieldValid_yb3zi_44",Rue="_fieldError_yb3zi_48",Fue="_radioGroup_yb3zi_57",bt={fieldGroup:Vue,fieldLabel:Pue,required:Tue,fieldInput:Hue,fieldInvalid:Due,fieldValid:Bue,fieldError:Rue,radioGroup:Fue},lL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:bt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${bt.fieldLabel} ${e.required?bt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:bt.fieldError,children:n})]})},cq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",bt.fieldInput,s?bt.fieldInvalid:"",d?bt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(lL,{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})})},Eue="_wrapper_117u4_1",Oue="_wrapperInvalid_117u4_15",Uue="_nativeSelect_117u4_19",Wue="_display_117u4_30",Gue="_topLabel_117u4_37",Zue="_valueLine_117u4_45",Kue="_valuePlaceholder_117u4_53",Xue="_valueActive_117u4_57",Yue="_caret_117u4_61",Jue="_error_117u4_75",Que="_optionStyle_117u4_89",He={wrapper:Eue,wrapperInvalid:Oue,nativeSelect:Uue,display:Wue,topLabel:Gue,valueLine:Zue,valuePlaceholder:Kue,valueActive:Xue,caret:Yue,error:Jue,optionStyle:Que},Pw=({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:`${He.wrapper} ${s?He.wrapperInvalid:""} ${t?He.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:He.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:He.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:He.display,children:[d&&c.jsx("span",{className:He.topLabel,children:d}),c.jsx("span",{className:`${He.valueLine} ${t?He.valueActive:He.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:He.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:He.error,children:i})]})},iq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(lL,{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})]})}),rq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(lL,{field:e,error:i,touched:r,children:c.jsx("div",{className:bt.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))})}),epe="_fileInputContainer_r2guc_3",tpe="_customFileInput_r2guc_8",ape="_fileInputLabel_r2guc_12",npe="_dragOver_r2guc_39",ope="_uploadIcon_r2guc_44",cpe="_uploadText_r2guc_50",ipe="_uploadHint_r2guc_56",rpe="_fileList_r2guc_60",spe="_fileListTitle_r2guc_69",dpe="_fileItem_r2guc_80",lpe="_fileIcon_r2guc_96",hpe="_fileName_r2guc_102",upe="_fileSize_r2guc_108",ppe="_removeButton_r2guc_114",ype="_errorText_r2guc_129",Le={fileInputContainer:epe,customFileInput:tpe,fileInputLabel:ape,dragOver:npe,uploadIcon:ope,uploadText:cpe,uploadHint:ipe,fileList:rpe,fileListTitle:spe,fileItem:dpe,fileIcon:lpe,fileName:hpe,fileSize:upe,removeButton:ppe,errorText:ype},sq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),l(!0)},y=()=>{l(!1)},m=M=>{M.preventDefault(),l(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},g=M=>{if(!t)return;const x=Array.from(t);x.splice(M,1);const v=new DataTransfer;x.forEach(I=>v.items.add(I)),n(v.files)},f=M=>{if(M===0)return"0 Bytes";const x=1024,v=["Bytes","KB","MB","GB"],I=Math.floor(Math.log(M)/Math.log(x));return parseFloat((M/Math.pow(x,I)).toFixed(2))+" "+v[I]};return c.jsxs("div",{className:`${Le.fileInputContainer} ${r&&i?Le.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:Le.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${Le.fileInputLabel} ${d?Le.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[c.jsx("div",{className:Le.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:Le.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:Le.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:Le.fileList,children:[c.jsx("div",{className:Le.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((M,x)=>c.jsxs("li",{className:Le.fileItem,children:[c.jsx("div",{className:Le.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:Le.fileName,children:M.name}),c.jsx("div",{className:Le.fileSize,children:f(M.size)}),c.jsx("button",{type:"button",className:Le.removeButton,onClick:v=>{v.stopPropagation(),g(x)},"aria-label":`Supprimer ${M.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),c.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},x))})]}),r&&i&&c.jsx("div",{className:Le.errorText,children:i})]})},kpe="_container_ecah4_2",mpe="_label_ecah4_6",fpe="_requiredIndicator_ecah4_13",gpe="_input_ecah4_18",vpe="_inputError_ecah4_49",Mpe="_errorMessage_ecah4_58",qc={container:kpe,label:mpe,requiredIndicator:fpe,input:gpe,inputError:vpe,errorMessage:Mpe},dq=({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:qc.container,children:[c.jsxs("label",{htmlFor:e.name,className:qc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:qc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${qc.input} ${r&&i?qc.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:qc.errorMessage,children:i})]})},_pe="_rangeContainer_cyqk3_3",xpe={rangeContainer:_pe},lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${xpe.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})]}),Lpe="_colorPickerContainer_1wxgj_2",Ipe="_colorInput_1wxgj_19",bpe="_colorValue_1wxgj_39",EL={colorPickerContainer:Lpe,colorInput:Ipe,colorValue:bpe},hq=({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:EL.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:EL.colorInput}),c.jsx("span",{className:EL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),uq=({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(sq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(dq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(cq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Pw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(iq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(rq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(oq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var OL,uN;function wpe(){if(uN)return OL;uN=1;function e(){this.__data__=[],this.size=0}return OL=e,OL}var UL,pN;function pq(){if(pN)return UL;pN=1;function e(t,n){return t===n||t!==t&&n!==n}return UL=e,UL}var WL,yN;function hL(){if(yN)return WL;yN=1;var e=pq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return WL=t,WL}var GL,kN;function Cpe(){if(kN)return GL;kN=1;var e=hL(),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 GL=o,GL}var ZL,mN;function Npe(){if(mN)return ZL;mN=1;var e=hL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return ZL=t,ZL}var KL,fN;function Spe(){if(fN)return KL;fN=1;var e=hL();function t(n){return e(this.__data__,n)>-1}return KL=t,KL}var XL,gN;function jpe(){if(gN)return XL;gN=1;var e=hL();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 XL=t,XL}var YL,vN;function uL(){if(vN)return YL;vN=1;var e=wpe(),t=Cpe(),n=Npe(),o=Spe(),i=jpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,YL=r,YL}var JL,MN;function $pe(){if(MN)return JL;MN=1;var e=uL();function t(){this.__data__=new e,this.size=0}return JL=t,JL}var QL,_N;function qpe(){if(_N)return QL;_N=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return QL=e,QL}var eI,xN;function Ape(){if(xN)return eI;xN=1;function e(t){return this.__data__.get(t)}return eI=e,eI}var tI,LN;function zpe(){if(LN)return tI;LN=1;function e(t){return this.__data__.has(t)}return tI=e,tI}var aI,IN;function yq(){if(IN)return aI;IN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return aI=e,aI}var nI,bN;function kt(){if(bN)return nI;bN=1;var e=yq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return nI=n,nI}var oI,wN;function Tw(){if(wN)return oI;wN=1;var e=kt(),t=e.Symbol;return oI=t,oI}var cI,CN;function Vpe(){if(CN)return cI;CN=1;var e=Tw(),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 cI=r,cI}var iI,NN;function Ppe(){if(NN)return iI;NN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return iI=n,iI}var rI,SN;function pL(){if(SN)return rI;SN=1;var e=Tw(),t=Vpe(),n=Ppe(),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 rI=s,rI}var sI,jN;function kq(){if(jN)return sI;jN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return sI=e,sI}var dI,$N;function mq(){if($N)return dI;$N=1;var e=pL(),t=kq(),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 dI=s,dI}var lI,qN;function Tpe(){if(qN)return lI;qN=1;var e=kt(),t=e["__core-js_shared__"];return lI=t,lI}var hI,AN;function Hpe(){if(AN)return hI;AN=1;var e=Tpe(),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 hI=n,hI}var uI,zN;function fq(){if(zN)return uI;zN=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 uI=n,uI}var pI,VN;function Dpe(){if(VN)return pI;VN=1;var e=mq(),t=Hpe(),n=kq(),o=fq(),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 pI=p,pI}var yI,PN;function Bpe(){if(PN)return yI;PN=1;function e(t,n){return t?.[n]}return yI=e,yI}var kI,TN;function Xc(){if(TN)return kI;TN=1;var e=Dpe(),t=Bpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return kI=n,kI}var mI,HN;function Hw(){if(HN)return mI;HN=1;var e=Xc(),t=kt(),n=e(t,"Map");return mI=n,mI}var fI,DN;function yL(){if(DN)return fI;DN=1;var e=Xc(),t=e(Object,"create");return fI=t,fI}var gI,BN;function Rpe(){if(BN)return gI;BN=1;var e=yL();function t(){this.__data__=e?e(null):{},this.size=0}return gI=t,gI}var vI,RN;function Fpe(){if(RN)return vI;RN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return vI=e,vI}var MI,FN;function Epe(){if(FN)return MI;FN=1;var e=yL(),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 MI=i,MI}var _I,EN;function Ope(){if(EN)return _I;EN=1;var e=yL(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return _I=o,_I}var xI,ON;function Upe(){if(ON)return xI;ON=1;var e=yL(),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 xI=n,xI}var LI,UN;function Wpe(){if(UN)return LI;UN=1;var e=Rpe(),t=Fpe(),n=Epe(),o=Ope(),i=Upe();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,LI=r,LI}var II,WN;function Gpe(){if(WN)return II;WN=1;var e=Wpe(),t=uL(),n=Hw();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return II=o,II}var bI,GN;function Zpe(){if(GN)return bI;GN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return bI=e,bI}var wI,ZN;function kL(){if(ZN)return wI;ZN=1;var e=Zpe();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return wI=t,wI}var CI,KN;function Kpe(){if(KN)return CI;KN=1;var e=kL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return CI=t,CI}var NI,XN;function Xpe(){if(XN)return NI;XN=1;var e=kL();function t(n){return e(this,n).get(n)}return NI=t,NI}var SI,YN;function Ype(){if(YN)return SI;YN=1;var e=kL();function t(n){return e(this,n).has(n)}return SI=t,SI}var jI,JN;function Jpe(){if(JN)return jI;JN=1;var e=kL();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 jI=t,jI}var $I,QN;function gq(){if(QN)return $I;QN=1;var e=Gpe(),t=Kpe(),n=Xpe(),o=Ype(),i=Jpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,$I=r,$I}var qI,eS;function Qpe(){if(eS)return qI;eS=1;var e=uL(),t=Hw(),n=gq(),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 qI=i,qI}var AI,tS;function eye(){if(tS)return AI;tS=1;var e=uL(),t=$pe(),n=qpe(),o=Ape(),i=zpe(),r=Qpe();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,AI=s,AI}var zI,aS;function tye(){if(aS)return zI;aS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return zI=t,zI}var VI,nS;function aye(){if(nS)return VI;nS=1;function e(t){return this.__data__.has(t)}return VI=e,VI}var PI,oS;function nye(){if(oS)return PI;oS=1;var e=gq(),t=tye(),n=aye();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,PI=o,PI}var TI,cS;function oye(){if(cS)return TI;cS=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 TI=e,TI}var HI,iS;function cye(){if(iS)return HI;iS=1;function e(t,n){return t.has(n)}return HI=e,HI}var DI,rS;function vq(){if(rS)return DI;rS=1;var e=nye(),t=oye(),n=cye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,g=d.length;if(m!=g&&!(y&&g>m))return!1;var f=p.get(s),M=p.get(d);if(f&&M)return f==d&&M==s;var x=-1,v=!0,I=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++x<m;){var w=s[x],C=d[x];if(h)var b=y?h(C,w,x,d,s,p):h(w,C,x,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(I){if(!t(d,function(_,L){if(!n(I,L)&&(w===_||u(w,_,l,h,p)))return I.push(L)})){v=!1;break}}else if(!(w===C||u(w,C,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return DI=r,DI}var BI,sS;function iye(){if(sS)return BI;sS=1;var e=kt(),t=e.Uint8Array;return BI=t,BI}var RI,dS;function rye(){if(dS)return RI;dS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return RI=e,RI}var FI,lS;function sye(){if(lS)return FI;lS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return FI=e,FI}var EI,hS;function dye(){if(hS)return EI;hS=1;var e=Tw(),t=iye(),n=pq(),o=vq(),i=rye(),r=sye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",g="[object Set]",f="[object String]",M="[object Symbol]",x="[object ArrayBuffer]",v="[object DataView]",I=e?e.prototype:void 0,w=I?I.valueOf:void 0;function C(b,_,L,S,j,$,q){switch(L){case v:if(b.byteLength!=_.byteLength||b.byteOffset!=_.byteOffset)return!1;b=b.buffer,_=_.buffer;case x:return!(b.byteLength!=_.byteLength||!$(new t(b),new t(_)));case l:case h:case y:return n(+b,+_);case u:return b.name==_.name&&b.message==_.message;case m:case f:return b==_+"";case p:var P=i;case g:var H=S&s;if(P||(P=r),b.size!=_.size&&!H)return!1;var z=q.get(b);if(z)return z==_;S|=d,q.set(b,_);var N=o(P(b),P(_),S,j,$,q);return q.delete(b),N;case M:if(w)return w.call(b)==w.call(_)}return!1}return EI=C,EI}var OI,uS;function lye(){if(uS)return OI;uS=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 OI=e,OI}var UI,pS;function Dw(){if(pS)return UI;pS=1;var e=Array.isArray;return UI=e,UI}var WI,yS;function hye(){if(yS)return WI;yS=1;var e=lye(),t=Dw();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return WI=n,WI}var GI,kS;function uye(){if(kS)return GI;kS=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 GI=e,GI}var ZI,mS;function pye(){if(mS)return ZI;mS=1;function e(){return[]}return ZI=e,ZI}var KI,fS;function yye(){if(fS)return KI;fS=1;var e=uye(),t=pye(),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 KI=r,KI}var XI,gS;function kye(){if(gS)return XI;gS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return XI=e,XI}var YI,vS;function mL(){if(vS)return YI;vS=1;function e(t){return t!=null&&typeof t=="object"}return YI=e,YI}var JI,MS;function mye(){if(MS)return JI;MS=1;var e=pL(),t=mL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return JI=o,JI}var QI,_S;function fye(){if(_S)return QI;_S=1;var e=mye(),t=mL(),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 QI=r,QI}var i1={exports:{}},eb,xS;function gye(){if(xS)return eb;xS=1;function e(){return!1}return eb=e,eb}i1.exports;var LS;function Mq(){return LS||(LS=1,function(e,t){var n=kt(),o=gye(),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}(i1,i1.exports)),i1.exports}var tb,IS;function vye(){if(IS)return tb;IS=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 tb=n,tb}var ab,bS;function _q(){if(bS)return ab;bS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return ab=t,ab}var nb,wS;function Mye(){if(wS)return nb;wS=1;var e=pL(),t=_q(),n=mL(),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]",g="[object String]",f="[object WeakMap]",M="[object ArrayBuffer]",x="[object DataView]",v="[object Float32Array]",I="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",_="[object Uint8Array]",L="[object Uint8ClampedArray]",S="[object Uint16Array]",j="[object Uint32Array]",$={};$[v]=$[I]=$[w]=$[C]=$[b]=$[_]=$[L]=$[S]=$[j]=!0,$[o]=$[i]=$[M]=$[r]=$[x]=$[s]=$[d]=$[l]=$[h]=$[u]=$[p]=$[y]=$[m]=$[g]=$[f]=!1;function q(P){return n(P)&&t(P.length)&&!!$[e(P)]}return nb=q,nb}var ob,CS;function _ye(){if(CS)return ob;CS=1;function e(t){return function(n){return t(n)}}return ob=e,ob}var r1={exports:{}};r1.exports;var NS;function xye(){return NS||(NS=1,function(e,t){var n=yq(),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}(r1,r1.exports)),r1.exports}var cb,SS;function xq(){if(SS)return cb;SS=1;var e=Mye(),t=_ye(),n=xye(),o=n&&n.isTypedArray,i=o?t(o):e;return cb=i,cb}var ib,jS;function Lye(){if(jS)return ib;jS=1;var e=kye(),t=fye(),n=Dw(),o=Mq(),i=vye(),r=xq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),m=!p&&!y&&o(h),g=!p&&!y&&!m&&r(h),f=p||y||m||g,M=f?e(h.length,String):[],x=M.length;for(var v in h)(u||d.call(h,v))&&!(f&&(v=="length"||m&&(v=="offset"||v=="parent")||g&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,x)))&&M.push(v);return M}return ib=l,ib}var rb,$S;function Iye(){if($S)return rb;$S=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return rb=t,rb}var sb,qS;function bye(){if(qS)return sb;qS=1;function e(t,n){return function(o){return t(n(o))}}return sb=e,sb}var db,AS;function wye(){if(AS)return db;AS=1;var e=bye(),t=e(Object.keys,Object);return db=t,db}var lb,zS;function Cye(){if(zS)return lb;zS=1;var e=Iye(),t=wye(),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 lb=i,lb}var hb,VS;function Nye(){if(VS)return hb;VS=1;var e=mq(),t=_q();function n(o){return o!=null&&t(o.length)&&!e(o)}return hb=n,hb}var ub,PS;function Sye(){if(PS)return ub;PS=1;var e=Lye(),t=Cye(),n=Nye();function o(i){return n(i)?e(i):t(i)}return ub=o,ub}var pb,TS;function jye(){if(TS)return pb;TS=1;var e=hye(),t=yye(),n=Sye();function o(i){return e(i,n,t)}return pb=o,pb}var yb,HS;function $ye(){if(HS)return yb;HS=1;var e=jye(),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,g=e(s),f=g.length;if(m!=f&&!p)return!1;for(var M=m;M--;){var x=y[M];if(!(p?x in s:o.call(s,x)))return!1}var v=u.get(r),I=u.get(s);if(v&&I)return v==s&&I==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<m;){x=y[M];var b=r[x],_=s[x];if(l)var L=p?l(_,b,x,s,r,u):l(b,_,x,r,s,u);if(!(L===void 0?b===_||h(b,_,d,l,u):L)){w=!1;break}C||(C=x=="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 yb=i,yb}var kb,DS;function qye(){if(DS)return kb;DS=1;var e=Xc(),t=kt(),n=e(t,"DataView");return kb=n,kb}var mb,BS;function Aye(){if(BS)return mb;BS=1;var e=Xc(),t=kt(),n=e(t,"Promise");return mb=n,mb}var fb,RS;function zye(){if(RS)return fb;RS=1;var e=Xc(),t=kt(),n=e(t,"Set");return fb=n,fb}var gb,FS;function Vye(){if(FS)return gb;FS=1;var e=Xc(),t=kt(),n=e(t,"WeakMap");return gb=n,gb}var vb,ES;function Pye(){if(ES)return vb;ES=1;var e=qye(),t=Hw(),n=Aye(),o=zye(),i=Vye(),r=pL(),s=fq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),g=s(t),f=s(n),M=s(o),x=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||o&&v(new o)!=u||i&&v(new i)!=p)&&(v=function(I){var w=r(I),C=w==l?I.constructor:void 0,b=C?s(C):"";if(b)switch(b){case m:return y;case g:return d;case f:return h;case M:return u;case x:return p}return w}),vb=v,vb}var Mb,OS;function Tye(){if(OS)return Mb;OS=1;var e=eye(),t=vq(),n=dye(),o=$ye(),i=Pye(),r=Dw(),s=Mq(),d=xq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function g(f,M,x,v,I,w){var C=r(f),b=r(M),_=C?u:i(f),L=b?u:i(M);_=_==h?p:_,L=L==h?p:L;var S=_==p,j=L==p,$=_==L;if($&&s(f)){if(!s(M))return!1;C=!0,S=!1}if($&&!S)return w||(w=new e),C||d(f)?t(f,M,x,v,I,w):n(f,M,_,x,v,I,w);if(!(x&l)){var q=S&&m.call(f,"__wrapped__"),P=j&&m.call(M,"__wrapped__");if(q||P){var H=q?f.value():f,z=P?M.value():M;return w||(w=new e),I(H,z,x,v,w)}}return $?(w||(w=new e),o(f,M,x,v,I,w)):!1}return Mb=g,Mb}var _b,US;function Hye(){if(US)return _b;US=1;var e=Tye(),t=mL();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 _b=n,_b}var xb,WS;function Dye(){if(WS)return xb;WS=1;var e=Hye();function t(n,o){return e(n,o)}return xb=t,xb}var Bye=Dye();const Rye=a.getDefaultExportFromCjs(Bye),Fye=({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,g]=k.useState({}),[f,M]=k.useState(!1),x=k.useRef(t);k.useEffect(()=>{Rye(x.current,t)||(u(t),x.current=t)},[t]);const v=(L,S)=>{const j={...h,[L]:S};if(u(j),m[L]){const $=e.fields.find(q=>q.name===L);if($){const q=nL(S,$);y(P=>({...P,[L]:q.isValid?"":q.error}))}}},I=L=>{if(!m[L]){g(j=>({...j,[L]:!0}));const S=e.fields.find(j=>j.name===L);if(S){const j=nL(h[L],S);y($=>({...$,[L]:j.isValid?"":j.error}))}}},w=async L=>{L.preventDefault(),M(!0);const S=e.fields.reduce(($,q)=>(q.type!=="section"&&($[q.name]=!0),$),{});g(S);const j=nq(h,e.fields.filter($=>$.type!=="section"));if(y(j.errors),j.isValid)try{await n(h)}catch($){console.error("Erreur lors de la soumission:",$),y(q=>({...q,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:ne.formContainer,children:[c.jsx("div",{className:ne.headerLine,children:c.jsx("h2",{className:ne.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:ne.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${ne.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:w,children:[c.jsx("div",{className:ne.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return c.jsxs("div",{className:ne.sectionFull,children:[c.jsx("h5",{className:ne.sectionTitle,children:L.label}),L.help&&c.jsx("p",{className:ne.sectionHelp,children:L.help})]},L.name);const j={gridColumn:`span ${Math.max(1,Math.min(_,L.gridCol??_))}`};return c.jsxs("div",{className:ne.fieldGridItem,style:j,children:[c.jsx(uq,{field:L,value:h[L.name],onChange:$=>v(L.name,$),onBlur:()=>I(L.name),error:p[L.name],touched:m[L.name]}),L.help&&c.jsx("small",{className:ne.fieldHelp,children:L.help})]},L.name)})}),c.jsxs("div",{className:ne.formFooter,children:[c.jsx("div",{className:ne.footerLeft,children:s&&c.jsxs("button",{type:"button",className:ne.cancelLink,onClick:s,children:[C&&c.jsx(C,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:ne.footerRight,children:c.jsx(Gx,{type:"submit",variant:"primary",size:"md",className:ne.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 Eye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Oye="_container_1gljv_85",Uye="_tableWrapper_1gljv_111",Wye="_tableControls_1gljv_117",Gye="_controlsRight_1gljv_128",Zye="_limitedRows_1gljv_151",Kye="_table_1gljv_111",Xye="_headerCell_1gljv_206",Yye="_headerContent_1gljv_220",Jye="_headerWords_1gljv_229",Qye="_headerWord_1gljv_229",e4e="_cellContent_1gljv_276",t4e="_alignLeft_1gljv_286",a4e="_alignCenter_1gljv_290",n4e="_alignRight_1gljv_294",o4e="_tableCell_1gljv_298",c4e="_tableRow_1gljv_308",i4e="_emptyRow_1gljv_385",r4e="_toggleFiltersButton_1gljv_393",s4e="_toggleSortButton_1gljv_394",d4e="_buttonTextCompact_1gljv_415",l4e="_uppercaseSmall_1gljv_450",h4e="_filtersPanel_1gljv_463",u4e="_filtersPanelInline_1gljv_481",p4e="_filtersPanelHorizontal_1gljv_492",y4e="_filtersRow_1gljv_492",k4e="_filtersActionsHorizontal_1gljv_525",m4e="_filterItemInline_1gljv_542",f4e="_filterLabel_1gljv_571",g4e="_filterInput_1gljv_576",v4e="_filterSelect_1gljv_577",M4e="_operatorSelect_1gljv_578",_4e="_operatorInput_1gljv_579",x4e="_activeFilterTag_1gljv_597",L4e="_actionsGroup_1gljv_609",I4e="_applyButton_1gljv_615",b4e="_cancelButton_1gljv_625",w4e="_columnSorterContainer_1gljv_649",C4e="_sorterControls_1gljv_654",N4e="_sortDropdownWrapper_1gljv_659",S4e="_sortDropdown_1gljv_659",j4e="_sortDropdownHeader_1gljv_679",$4e="_closeButton_1gljv_688",q4e="_sortDropdownContent_1gljv_703",A4e="_sortDropdownItem_1gljv_709",z4e="_sortDirectionButtons_1gljv_734",V4e="_sortDirectionButton_1gljv_734",P4e="_activeSort_1gljv_757",T4e="_sortActions_1gljv_764",H4e="_paginationButton_1gljv_842",D4e="_pageSizeSelect_1gljv_844",B4e="_topPagination_1gljv_853",R4e="_paginationContainer_1gljv_861",F4e="_leftGroup_1gljv_874",E4e="_pageSizeControls_1gljv_882",O4e="_paginationInfo_1gljv_908",U4e="_paginationControls_1gljv_916",W4e="_disabledButton_1gljv_947",G4e="_activeButton_1gljv_952",Z4e="_navigationButton_1gljv_962",K4e="_operatorFilterContainer_1gljv_1010",X4e="_rangeSeparator_1gljv_1016",Y4e="_activeFiltersSection_1gljv_1179",J4e="_activeFiltersRow_1gljv_1184",Q4e="_activeFiltersList_1gljv_1192",e5e="_clearAllButton_1gljv_1200",t5e="_removeFilterButton_1gljv_1221",a5e="_sortIndicator_1gljv_1272",n5e="_active_1gljv_349",o5e="_clearSortButton_1gljv_1371",c5e="_loaderSpinner_1gljv_2743",i5e="_loaderSpinnerSmall_1gljv_2755",r5e="_paginationLoading_1gljv_2772",s5e="_loadingButton_1gljv_2780",d5e="_loadingIndicator_1gljv_2791",A={container:Oye,tableWrapper:Uye,tableControls:Wye,controlsRight:Gye,limitedRows:Zye,table:Kye,headerCell:Xye,headerContent:Yye,headerWords:Jye,headerWord:Qye,cellContent:e4e,alignLeft:t4e,alignCenter:a4e,alignRight:n4e,tableCell:o4e,tableRow:c4e,emptyRow:i4e,toggleFiltersButton:r4e,toggleSortButton:s4e,buttonTextCompact:d4e,uppercaseSmall:l4e,filtersPanel:h4e,filtersPanelInline:u4e,filtersPanelHorizontal:p4e,filtersRow:y4e,filtersActionsHorizontal:k4e,filterItemInline:m4e,filterLabel:f4e,filterInput:g4e,filterSelect:v4e,operatorSelect:M4e,operatorInput:_4e,activeFilterTag:x4e,actionsGroup:L4e,applyButton:I4e,cancelButton:b4e,columnSorterContainer:w4e,sorterControls:C4e,sortDropdownWrapper:N4e,sortDropdown:S4e,sortDropdownHeader:j4e,closeButton:$4e,sortDropdownContent:q4e,sortDropdownItem:A4e,sortDirectionButtons:z4e,sortDirectionButton:V4e,activeSort:P4e,sortActions:T4e,paginationButton:H4e,pageSizeSelect:D4e,topPagination:B4e,paginationContainer:R4e,leftGroup:F4e,pageSizeControls:E4e,paginationInfo:O4e,paginationControls:U4e,disabledButton:W4e,activeButton:G4e,navigationButton:Z4e,operatorFilterContainer:K4e,rangeSeparator:X4e,activeFiltersSection:Y4e,activeFiltersRow:J4e,activeFiltersList:Q4e,clearAllButton:e5e,removeFilterButton:t5e,sortIndicator:a5e,active:n5e,clearSortButton:o5e,loaderSpinner:c5e,loaderSpinnerSmall:i5e,paginationLoading:r5e,loadingButton:s5e,loadingIndicator:d5e},l5e=({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:A.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),h5e=({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:A.filterInput}),u5e=({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:A.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},GS=({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:A.filterInput})},p5e=({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:A.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},y5e=({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:A.filterInput})},k5e=({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:A.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:A.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:A.operatorInput})]})},m5e=({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:A.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:A.filterInput}),c.jsx("span",{className:A.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:A.filterInput})]})},f5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(y5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(GS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(GS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(p5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(k5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(u5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(h5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(m5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(l5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Lq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const g={};return e.forEach(f=>{f.type==="daterange"?g[f.id]={start:"",end:""}:g[f.id]=f.defaultValue??""}),g});k.useEffect(()=>{if(!i)return;const g={...d??{}};e.forEach(f=>{f.id in g||(g[f.id]=f.type==="daterange"?{start:"",end:""}:f.defaultValue??"")}),(t||[]).forEach(f=>{!f||!f.id||(g[f.id]=f.value)}),l(g),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(g=>g.id))]);const h=i?t:r,u=k.useCallback((g,f)=>{l(M=>({...M,[g]:f}))},[]),p=k.useCallback(async()=>{const g=[],f={...d};for(const[M,x]of Object.entries(f)){const v=e.find(C=>C.id===M);if(!v)continue;let I=x;try{typeof x=="function"&&(I=await x(f)),typeof v.executeOnApply=="function"&&(I=await v.executeOnApply(I,f))}catch{continue}if(v.type==="daterange"){const C=I?.start??"",b=I?.end??"",_=typeof C=="string"?C.trim()==="":!C,L=typeof b=="string"?b.trim()==="":!b;if(_&&L)continue}I==null||typeof I=="string"&&I.trim()===""||Array.isArray(I)&&I.length===0||typeof I=="object"&&!Array.isArray(I)&&Object.keys(I).length===0||g.push({id:M,type:v.type,value:I,label:v.label})}return i?n?.(g):(s(g),o?.(g)),g},[d,e,i,n,o]),y=k.useCallback(g=>{l(f=>({...f,[g]:void 0})),u(g,void 0)},[u]),m=k.useCallback(()=>{const g={};e.forEach(f=>{f.type==="daterange"?g[f.id]={start:"",end:""}:g[f.id]=f.defaultValue??""}),l(g),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},g5e=(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 Iq(e,t,n="",o={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),l=(n||"").trim().toLowerCase(),h=k.useMemo(()=>{let f=e;return l&&(f=f.filter(M=>t.some(x=>{const v=M.data[x.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(f=f.filter(M=>s.every(x=>{try{const v=M.data[x.id];return g5e(v,x)}catch(v){return console.error("Error applying filter:",v),!1}}))),f},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const f=o.key;return[...h].sort((M,x)=>{const v=M.data[f],I=x.data[f];if(v==null)return 1;if(I==null)return-1;if(typeof v=="number"&&typeof I=="number")return o.direction==="desc"?I-v:v-I;if(v instanceof Date&&I instanceof Date){const C=v.getTime()-I.getTime();return o.direction==="desc"?-C:C}const w=String(v).localeCompare(String(I),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-w:w})},[h,o]),p=u,y=Math.ceil(u.length/d),m=0,g=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:m,endIndex:g}}const bq=({value:e})=>e,wq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Cq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Nq=({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)},Sq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},jq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),$q=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),qq=({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"})),Jb={renderers:{text:bq,email:wq,link:Cq,badge:Nq,date:Sq,number:jq,currency:$q,image:qq},icons:{sortAsc:k.createElement(Lc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Ct,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Bc,{className:"sort-icon",size:14})}},v5e=(e,t)=>{Jb.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),Jb.renderers[e]=t},M5e=({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:g=!1,loading:f=!1})=>{const[M,x]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:I,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:_}=Lq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),L=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(v&&L.current){const z=L.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,w,h]);const j=()=>{typeof s=="boolean"?d?.(!s):x(z=>{const N=!z;return d?.(N),N})},$=()=>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),q=async()=>{let z;try{z=await b()}catch{z=void 0}let N=[];z&&Array.isArray(z)&&z.length>0?N=z:I&&I.length>0?N=I:N=$(),n?.(N),o?.(N)},P=()=>{d?.(!1),typeof s!="boolean"&&x(!1)},H=()=>{_(),n?.([]),o?.([])};return k.useEffect(()=>{const z=V=>{v&&S.current&&(S.current.contains(V.target)||(d?.(!1),typeof s!="boolean"&&x(!1)))},N=V=>{V.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&x(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",N)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",N)}},[v,s,d]),c.jsxs("div",{className:A.advancedFiltersContainer,ref:S,children:[c.jsxs("button",{className:`${A.toggleFiltersButton} ${I.length>0?A.active:""} ${v?A.toggleFiltersButtonOpen:""} ${f?A.loadingButton:""}`,onClick:j,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:f,children:[f?c.jsx("span",{className:A.loaderSpinnerSmall}):c.jsx(_t,{size:14}),c.jsx("span",{className:A.buttonTextCompact,children:u}),I.length>0&&!f&&c.jsx("span",{className:A.filterCountBadge,"aria-hidden":!0,children:I.length}),f&&c.jsx("span",{className:A.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&c.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${A.filtersPanel} ${l==="top"?`${A.filtersPanelInline} ${A.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:A.filtersRow,children:e.map(z=>c.jsxs("div",{className:`${A.filterItem} ${A.filterItemInline}`,children:[c.jsxs("label",{className:A.filterLabel,children:[z.label,z.required&&c.jsx("span",{className:A.required,children:"*"})]}),c.jsx(f5e,{config:z,value:w[z.id],onChange:N=>C(z.id,N),disabled:z.disabled})]},z.id))}),c.jsxs("div",{className:A.filtersActionsHorizontal,children:[c.jsx("div",{className:A.activeFiltersSection,children:I.length>0&&c.jsxs("div",{className:A.activeFiltersRow,children:[c.jsx("span",{className:A.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:A.activeFiltersList,children:I.map(z=>c.jsxs("div",{className:A.activeFilterTag,children:[z.label??z.id,c.jsx("button",{className:A.removeFilterButton,onClick:()=>C(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),c.jsxs("button",{className:A.clearAllButton,onClick:H,type:"button",children:[c.jsx(Ge,{size:12})," ",m]})]})}),c.jsxs("div",{className:A.actionsGroup,children:[c.jsx("button",{className:A.cancelButton,onClick:P,type:"button",disabled:f,children:y}),c.jsx("button",{className:`${A.applyButton} ${f?A.loadingButton:""}`,onClick:q,type:"button",disabled:g||f,"aria-disabled":g||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:A.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},ZS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},_5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(g=>g.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(g,f)=>{n({key:g,direction:f}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(g=>!g),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const g=M=>{if(!l.current)return;const x=M.target;x&&!l.current.contains(x)&&s(!1)},f=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",g),document.addEventListener("keydown",f),()=>{document.removeEventListener("pointerdown",g),document.removeEventListener("keydown",f)}},[r]),k.useEffect(()=>{const g=document.querySelector("[data-table-wrapper]");if(!g)return;const f=g.style.overflow??"";return r?g.style.overflow="hidden":g.style.overflow=f,()=>{g.style.overflow=f}},[r]),c.jsx("div",{className:A.columnSorterContainer,ref:l,children:c.jsx("div",{className:A.sorterControls,children:d.length>0&&c.jsxs("div",{className:A.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${A.toggleSortButton} ${r?A.toggleSortButtonOpen:""} ${h?A.active:""} ${i?A.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:A.loaderSpinnerSmall}):c.jsx(Bc,{size:14}),c.jsx("span",{className:`${A.buttonTextCompact} ${ZS(o)?A.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:A.sortIndicator,children:t?.direction==="asc"?c.jsx(Lc,{size:12}):c.jsx(Ct,{size:12})})]}),r&&c.jsxs("div",{className:`${A.sortDropdown} ${A.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:A.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:A.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:c.jsx(Ge,{size:16})})]}),c.jsx("div",{className:A.sortDropdownContent,children:d.map(g=>{const f=String(g.label??g.id),M=ZS(f);return c.jsxs("div",{className:A.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:x=>{x.key==="Enter"&&u(g.id,"asc")},children:[c.jsx("span",{className:`${A.columnSorterLabel} ${M?A.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:A.sortDirectionButtons,children:[c.jsx("button",{className:`${A.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?A.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(Lc,{size:12})}),c.jsx("button",{className:`${A.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?A.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(Ct,{size:12})})]})]},g.id)})}),h&&c.jsx("div",{className:A.sortActions,children:c.jsxs("button",{className:A.clearSortButton,onClick:p,type:"button",children:[c.jsx(Mt,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},x5e=({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,g=()=>{const f=[];let x=Math.max(1,h-Math.floor(2.5)),v=x+5-1;v>l&&(v=l,x=Math.max(1,v-5+1));for(let I=x;I<=v;I++)f.push(I);return f};return c.jsxs("div",{className:A.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:A.leftGroup,children:s&&c.jsx("div",{className:A.pageSizeControls,children:c.jsx("select",{value:n,onChange:f=>s(Number(f.target.value)),className:A.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:A.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:A.paginationLoading,children:[c.jsx("span",{className:A.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),c.jsxs("div",{className:A.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${A.paginationButton} ${A.navigationButton} ${h===1?A.disabledButton:""} ${d?A.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:A.loaderSpinnerSmall}):"«"}),g().map(f=>c.jsx("button",{onClick:()=>r(f),disabled:d,"aria-current":h===f?"page":void 0,className:`${A.paginationButton} ${h===f?A.activeButton:""} ${d?A.loadingButton:""}`,children:d&&h===f?c.jsx("span",{className:A.loaderSpinnerSmall}):f},f)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${A.paginationButton} ${A.navigationButton} ${d?A.loadingButton:""} ${h>=l?A.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:A.loaderSpinnerSmall}):"»"})]})]})},L5e=(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)},I5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},b5e=({columns:e})=>c.jsx("thead",{className:A.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?A.alignRight:t.align==="left"?A.alignLeft:A.alignCenter,i=t.preserveHeaderCase===!0,r=L5e(String(t.label??""),i),s=I5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${A.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",children:c.jsx("div",{className:A.headerContent,children:s?c.jsx("div",{className:A.headerWords,children:d.map((l,h)=>c.jsx("span",{className:A.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),w5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?A.alignRight:n.align==="left"?A.alignLeft:A.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${A.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:A.cellContent,children:i})})},C5e=({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:`${A.tableRow} ${o?A.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(w5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},N5e=({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:A.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(C5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Aq=({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:g,onPageSizeChange:f,onPageChange:M,itemLabel:x="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:I,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:_="Clear",applyDisabled:L=!1,paginationLoading:S=!1,filtersLoading:j=!1,sortLoading:$=!1,totalCount:q=null})=>{const[P,H]=k.useState({key:null,direction:"asc"}),[z,N]=k.useState(n.currentPage??1),[V,T]=k.useState(n.pageSize??10),[F,B]=k.useState(!1),R=k.useRef(null),[Y,te]=k.useState([]),me=p?d:Y,it=p?[]:Y;k.useEffect(()=>{const X=n.currentPage??1,T1=n.pageSize??10;X!==z&&N(X),T1!==V&&T(T1)},[n.currentPage,n.pageSize]);const{paginatedData:fe,sortedData:Ie,totalPages:G,startIndex:K}=Iq(t,e,i,P,z,V,it),re=Ie.length,xe=typeof q=="number"&&q>=0?q:re;let ue=G;typeof q=="number"&&q>=0&&(ue=Math.max(1,Math.ceil(q/V)));const be=re>10;k.useEffect(()=>{const X=Math.max(1,Math.floor(ue));z>X&&N(X),z<1&&N(1)},[ue]);const se=X=>{p||te(X),l?.(X),N(1),M?.(1)},ge=X=>{p||te(X),h?.(X),N(1),M?.(1),R.current&&R.current.style.setProperty("--filters-panel-height","0px")},ze=X=>{M?.(X),N(X)},Se=X=>{T(X),N(1),f?.(X),M?.(1)},le=X=>{R.current&&R.current.style.setProperty("--filters-panel-height",`${Math.round(X)}px`)},we=X=>{H(X),u?.(X)},rt=X=>{B(X),!X&&R.current&&R.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(me?.length??0)>0&&B(!0)},[me]),k.useEffect(()=>{s.length>0&&me.length>0&&B(!0)},[s.length,me.length]);const ce=(me?.length??0)>0&&I?I:v;return c.jsxs("div",{ref:R,className:`${A.container} ${r} ${F?A.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:A.tableControls,children:c.jsxs("div",{className:A.controlsRight,children:[c.jsx(_5e,{columns:e,onSort:we,label:w,sortConfig:P,loading:$}),s.length>0&&c.jsx(M5e,{filters:s,externalFilters:me,onFiltersChange:se,onApply:ge,isControlled:p,debounceTimeout:y,expanded:F,onToggle:rt,panelPlacement:"top",onPanelHeightChange:le,label:ce,applyLabel:C,cancelLabel:b,clearLabel:_,applyDisabled:L,loading:j})]})}),c.jsx("div",{className:A.topPagination,children:c.jsx(x5e,{currentPage:z,totalPages:ue,pageSize:V,totalItems:xe,itemLabel:x,onPageChange:ze,onPageSizeChange:Se,loading:S})}),c.jsx("div",{className:`${A.tableWrapper} ${be?A.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:A.table,children:[c.jsx(b5e,{columns:e}),c.jsx(N5e,{data:fe,columns:e,onRowClick:o,startIndex:K,getRowStyle:m,searchTerm:i})]})})]})};function S5e(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(Aq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const j5e="_mpRoot_31595_1",$5e="_mpHeader_31595_22",q5e="_mpTitle_31595_31",A5e="_mpList_31595_35",z5e="_mpVertical_31595_41",V5e="_mpHorizontal_31595_46",P5e="_mpItem_31595_55",T5e="_mpClickable_31595_95",H5e="_mpLeft_31595_117",D5e="_mpIcon_31595_125",B5e="_mpMeta_31595_140",R5e="_mpLabel_31595_145",F5e="_mpDate_31595_154",E5e="_mpRight_31595_160",O5e="_mpValue_31595_168",U5e="_mpHint_31595_176",W5e="_mpBadge_31595_180",G5e="_mpBadgeTop_31595_199",Z5e="_mpBadgeSub_31595_206",K5e="_mpBadgeSmall_31595_213",X5e="_mpPill_31595_229",Y5e="_mpRounded_31595_232",J5e="_mpCompact_31595_236",Q5e="_compactItemWrapper_31595_252",eke="_mpSummaryRoot_31595_265",tke="_mpSummaryInner_31595_269",ake="_mpSummaryFlex_31595_284",nke="_mpSummaryCardWrapperHorizontal_31595_292",oke="_mpSummaryCardWrapper_31595_292",cke="_mpSummaryCardHorizontal_31595_303",ike="_mpSummaryCard_31595_292",rke="_mpSummaryValue_31595_321",ske="_mpSummaryLabel_31595_327",dke="_mpSummaryBadge_31595_338",lke="_mpSummaryBadgeSub_31595_357",hke="_mpEmpty_31595_365",uke="_mpSummaryVertical_31595_372",pke="_mpIconSquare_31595_380",U={mpRoot:j5e,mpHeader:$5e,mpTitle:q5e,mpList:A5e,mpVertical:z5e,mpHorizontal:V5e,mpItem:P5e,mpClickable:T5e,mpLeft:H5e,mpIcon:D5e,mpMeta:B5e,mpLabel:R5e,mpDate:F5e,mpRight:E5e,mpValue:O5e,mpHint:U5e,mpBadge:W5e,mpBadgeTop:G5e,mpBadgeSub:Z5e,mpBadgeSmall:K5e,mpPill:X5e,mpRounded:Y5e,mpCompact:J5e,compactItemWrapper:Q5e,mpSummaryRoot:eke,mpSummaryInner:tke,mpSummaryFlex:ake,mpSummaryCardWrapperHorizontal:nke,mpSummaryCardWrapper:oke,mpSummaryCardHorizontal:cke,mpSummaryCard:ike,mpSummaryValue:rke,mpSummaryLabel:ske,mpSummaryBadge:dke,mpSummaryBadgeSub:lke,mpEmpty:hke,mpSummaryVertical:uke,mpIconSquare:pke},wt=(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})`},yke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[U.mpItem,t==="pill"?U.mpPill:U.mpRounded,n?U.mpClickable:""].filter(Boolean).join(" ");if(i)return c.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return c.jsxs(d,{...l,children:[c.jsxs("div",{className:U.mpLeft,children:[h?c.jsx("div",{className:U.mpIconSquare,style:{background:u??wt(p??o??"#7c3aed",1),border:`1px solid ${wt(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:U.mpIcon,children:e.icon}):null,c.jsxs("div",{className:U.mpMeta,children:[c.jsx("div",{className:U.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:U.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:U.mpDate,children:e.date})]})]}),c.jsxs("div",{className:U.mpRight,children:[c.jsx("div",{className:U.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[U.mpBadge,e.badge.small?U.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??wt(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":wt(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:U.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:U.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:U.mpHint,children:e.hint}):null]})]})},kke=k.memo(yke),KS=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:U.mpHeader,children:[c.jsx("div",{className:U.mpTitle,children:e}),c.jsx("div",{children:t})]}),XS=(e,t=1)=>{try{return wt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},mke=({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??XS("#7c3aed",.12),border:`1px solid ${XS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),fke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:U.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:U.mpSummaryLabel,children:e.label}),c.jsx("div",{className:U.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]})]}),YS=(e,t=1)=>{try{return wt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},JS=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:YS("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:YS("#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]})]}),QS=(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}},gke=e=>{switch(e){case"image":return t=>k.createElement(mke,{item:t});case"pertinence":return t=>k.createElement(fke,{item:t});case"alternateHorizontal":return t=>QS(JS,t);case"compact":return t=>QS(JS,t);case"summary":return;case"default":default:return}},zq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?U.mpSummaryCardHorizontal:U.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:U.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:U.mpSummaryLabel,children:e.label})]})},vke=["transparent","transparent","transparent","transparent"],Mke=["transparent","transparent","transparent","transparent"],_ke=["#059669","#2563eb","#b45309","#7c3aed"],xke=(e,t=1)=>{try{return wt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Vq=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:g=vke,summaryBorderColors:f=Mke,summaryValueColors:M=_ke,preset:x,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:_,compactItemStyle:L,summaryCardWidth:S,summaryCardHeight:j,summaryCardStyle:$}=e,q=n==="vertical",P={"--mp-accent":r,"--mp-accent-soft":xke(r,.08),"--mp-bg-primary":v},H=[U.mpRoot,q?U.mpVertical:U.mpHorizontal,s?U.mpCompact:"",m?U.mpSummaryRoot:"",o!=="auto"?o==="vertical"?U.mpOrientationVertical:U.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(gke(x)??void 0),[y,x]);if(m){const N=o==="horizontal"?U.mpSummaryFlex:U.mpSummaryVertical,T={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return c.jsxs("div",{className:H,style:P,"aria-busy":u,children:[d&&c.jsx(KS,{title:d}),c.jsx("div",{className:U.mpSummaryInner,children:c.jsx("div",{className:`${N} ${w??""}`,style:T,children:t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map((F,B)=>{const R=F.bgColor??g[B%g.length],Y=F.borderColor??f[B%f.length],te=F.valueColor??M[B%M.length];return z?c.jsx("div",{className:o==="horizontal"?U.mpSummaryCardWrapperHorizontal:U.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...$??{}},children:z(F,B)},F.id):c.jsx(zq,{item:F,orientation:o==="horizontal"?"horizontal":"vertical",bg:R,border:Y,valueColor:te,onClick:l,width:S??void 0,height:j??void 0,extraStyle:$},F.id)})})})]})}return c.jsxs("div",{className:H,style:P,"aria-busy":u,children:[d&&c.jsx(KS,{title:d}),c.jsx("div",{className:U.mpList,style:I,children:u?c.jsx("div",{className:U.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map(N=>{const V=s?{width:b??void 0,height:_??void 0,boxSizing:"border-box",...L??{}}:void 0;return c.jsx("div",{className:s?U.compactItemWrapper:void 0,style:V,children:c.jsx(kke,{item:N,shape:i,onItemClick:l,color:r,renderItem:z?T=>z(T,t.indexOf(T)):void 0})},N.id)})})]})};k.memo(Vq);const Lke=({width:e,height:t,colors:n={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:o={},placeholder:i="Loading Chart",style:r,className:s="",children:d,padding:l="1rem",variant:h="default",showBorder:u=!1})=>{const p=e?typeof e=="number"?`${e}px`:e:void 0,y=t?typeof t=="number"?`${t}px`:t:void 0,m=i&&typeof i=="object"&&!k.isValidElement(i)&&("text"in i||"subtext"in i||"icon"in i||"background"in i||"iconSize"in i),g=m?i:void 0,f=g?.icon?ht[g.icon]:void 0,M=28,x=g?.iconSize??M,v=["chart-container",`variant-${h}`,u?"with-border":"",s].filter(Boolean).join(" "),I=n.contentBackground??void 0,w=typeof l=="number"?`${l}px`:l;return c.jsxs("div",{className:v,style:{width:p,height:y,color:n.text,background:n.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:w,...r},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[o.left,o.leftSubtitle&&c.jsx("div",{className:"chart-subtitle-left",children:o.leftSubtitle})]}),c.jsx("div",{className:"chart-title-right",children:o.right})]}),c.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:I},children:d||(m&&g?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[f&&c.jsx("div",{className:"placeholder-icon",style:{width:x,height:x},children:c.jsx(f,{color:g.iconColor??"currentColor",size:typeof x=="number"?x:parseInt(String(x),10)||M})}),g.text&&c.jsx("div",{className:"placeholder-text",children:g.text}),g.subtext&&c.jsx("div",{className:"placeholder-subtext",children:g.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:i}))})]})},Bw=({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:"✕"})]})},Pq=k.createContext(null),Ike=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,bke=({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(_=>window.clearTimeout(_)),d.current.clear()},[]);const p=(_,L)=>{const S=L===void 0||L===0?t:L;if(S===-1)return;const j=window.setTimeout(()=>{g(_)},S);d.current.set(_,j)},y=_=>{const L=d.current.get(_);L&&(window.clearTimeout(L),d.current.delete(_))},m=_=>{const L=Ike(),S={..._,id:L,createdAt:Date.now()};return s(j=>{const $=[S,...j],q=u.current;return typeof q=="number"&&q>=0&&$.length>q?($.slice(q).forEach(H=>y(H.id)),$.slice(0,q)):$}),p(L,_.duration),L},g=_=>{y(_),s(L=>L.filter(S=>S.id!==_))},f=(_,L)=>{s(S=>S.map(j=>j.id===_?{...j,...L}:j))},M=()=>{d.current.forEach(_=>window.clearTimeout(_)),d.current.clear(),s([])},x=_=>{h.current=_},v=()=>r.slice(),I=k.useMemo(()=>({showAlert:m,dismissAlert:g,updateAlert:f,clearAlerts:M,setContainerRef:x,getAlertsSnapshot:v}),[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(d0e,{mode:"popLayout",children:r.map(_=>c.jsx(Vw.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:_.background||_.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:c.jsx(Bw,{id:_.id,text:_.text,subtext:_.subtext,icon:_.icon,background:"transparent",colorTextPrimary:_.colorTextPrimary,colorTextSub:_.colorTextSub,model:_.model,onClose:()=>g(_.id),size:"100%",style:{boxShadow:"none"}})},_.id))})}),b=c.jsx("div",{ref:_=>{h.current||(l.current=_)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return c.jsxs(Pq.Provider,{value:I,children:[w?ew.createPortal(C,w):b,e]})},wke=()=>{const e=k.useContext(Pq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Cke={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"}},Nke="_container_18zbo_1",Ske="_icon_18zbo_9",jke="_selectWrapper_18zbo_23",Lb={container:Nke,icon:Ske,selectWrapper:jke},$ke=({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:Lb.container,children:[c.jsxs("div",{className:Lb.icon,children:[c.jsx(l1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Lb.selectWrapper,children:c.jsx(Pw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},qke=250,Ake=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,g]=k.useState(!1),[f,M]=k.useState(!1),x=k.useRef(null),v=k.useRef(null),I=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const _=x.current;if(!_)return;const L=_.parentElement;return L?(window.getComputedStyle(L).position==="static"&&(L.setAttribute("data-scp-prev-position",L.style.position??""),L.style.position="relative",L.setAttribute("data-scp-position-changed","true")),()=>{if(L.getAttribute("data-scp-position-changed")==="true"){const j=L.getAttribute("data-scp-prev-position")??"";L.style.position=j,L.removeAttribute("data-scp-position-changed"),L.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{m||(o?.(),M(!1),g(!0))},close:()=>{m&&(r?.(),M(!1),g(!1))},toggle:()=>{m?(r?.(),M(!1),g(!1)):(o?.(),M(!1),g(!0))}}),[m,o,r]),k.useEffect(()=>{const _=v.current;w.current&&(window.clearTimeout(w.current),w.current=null);const L=S=>{if(S.target===_&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(m){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",L),w.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},qke+60)),m&&(I.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",L),w.current&&(window.clearTimeout(w.current),w.current=null)}},[m,i,s]),k.useEffect(()=>{const _=L=>{L.key==="Escape"&&m&&(r?.(),M(!1),g(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[m,r]);const C=()=>{u&&(r?.(),M(!1),g(!1))},b=typeof n=="number"?`${n}px`:n;return c.jsxs("div",{ref:x,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:v,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),g(!1)},children:c.jsx(Ge,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function zke(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 Vke="_container_1pfsp_1",Pke="_title_1pfsp_8",ej={container:Vke,title:Pke},Tke=({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:`${ej.container} ${o}`,style:r,children:c.jsx("h2",{className:ej.title,children:e})})},Hke="_modalOverlay_1dmfp_1",Dke="_modalContainer_1dmfp_16",Bke="_modalTitle_1dmfp_29",Rke="_modalInput_1dmfp_38",Fke="_modalTextarea_1dmfp_39",Eke="_modalActions_1dmfp_71",Oke="_cancelBtn_1dmfp_78",Uke="_saveBtn_1dmfp_100",Wke="_inputError_1dmfp_148",Gke="_inlineAlert_1dmfp_153",Ue={modalOverlay:Hke,modalContainer:Dke,modalTitle:Bke,modalInput:Rke,modalTextarea:Fke,modalActions:Eke,cancelBtn:Oke,saveBtn:Uke,inputError:Wke,inlineAlert:Gke},Cc=({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),[g,f]=k.useState(!1),[M,x]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const L of i)_[L.name]=Object.prototype.hasOwnProperty.call(r,L.name)?r[L.name]:"";return y(_),requestAnimationFrame(()=>{m.current?.focus();const L=m.current;if(L&&typeof L.selectionStart=="number"){const S=String(L.value??"").length;L.setSelectionRange(S,S)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(x(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{x(!1),v.current=null},3e3)):(x(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const I=(_,L)=>{y(S=>({...S,[_]:L})),l&&l(_,L)},w=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{f(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){f(!1);return}y({}),f(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),f(!1),t()}},C=_=>{_.target===_.currentTarget&&t()},b=_=>_.stopPropagation();return c.jsx("div",{className:Ue.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:Ue.modalContainer,onMouseDown:b,onClick:b,children:[c.jsx("h2",{className:Ue.modalTitle,children:o}),i.map((_,L)=>{const S=p[_.name]??"",j=L===0&&!!s,$={name:_.name,placeholder:_.placeholder||_.label,value:String(S),onChange:q=>I(_.name,q.target.value),className:_.type==="textarea"?`${Ue.modalTextarea} ${j?Ue.inputError:""}`:`${Ue.modalInput} ${j?Ue.inputError:""}`,tabIndex:0,disabled:g};return L===0&&($.ref=q=>{m.current=q}),c.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?c.jsx("textarea",{rows:_.rows||4,...$}):c.jsx("input",{type:_.type||"text",...$}),L===0&&M&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Bw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>x(!1),className:Ue.inlineAlert})})]},_.name)}),c.jsxs("div",{className:Ue.modalActions,children:[c.jsx("button",{className:Ue.cancelBtn,onClick:t,type:"button",disabled:g,children:u}),c.jsx("button",{className:Ue.saveBtn,onClick:w,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},Zke=({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(Ec,{className:"add-key-icon"}),"Clé"]}),c.jsx(Cc,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},Kke=({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,g]=k.useState(!1),f=()=>l(!0),M=()=>l(!1),x=_=>{if(o){const L=_.code?.trim()||_.id?.trim(),S=_.title?.trim(),j=L||S||String(Date.now()),$=S||L||`Module ${j}`;o({id:j,title:$,subtitle:"",translations:{}})}M()},v=(_,L)=>{_.stopPropagation(),u(L)},I=()=>u(null),w=_=>{if(!h){I();return}const L={...h,title:_.title||h.title,subtitle:""};t&&t(L),I()},C=(_,L)=>{_.stopPropagation(),n&&n(L)},b=_=>{y(_.id),i&&i(_)};return m?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Fc,{size:20,className:"menu-toggle",onClick:()=>g(!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(Rc,{size:18,className:"header-folder",onClick:f}),c.jsx(Fc,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(_=>{const L=Object.keys(_.translations||{}).length,S=L>0||_.id===p;return c.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>b(_),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(_)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(k1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[_.title,S&&c.jsxs("span",{className:"count",children:[" ",L," "]})]}),_.subtitle?c.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(g1,{onClick:j=>v(j,_),color:"#777",size:16}),n&&c.jsx(Nt,{onClick:j=>C(j,_.id),color:"#777",size:16})]})]},_.id)})}),c.jsx(Cc,{isOpen:d,onClose:M,onSave:x,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(Cc,{isOpen:!!h,onClose:I,onSave:w,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Tq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:o="left",iconColor:i="#9ca3af"})=>c.jsxs("div",{className:`search-container icon-${o}`,children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(v1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:r=>n?.(r.target.value),className:"search-input"})]}),Xke=({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(""),[g,f]=k.useState(null),[M,x]=k.useState(""),[v,I]=k.useState(""),[w,C]=k.useState(!1),[b,_]=k.useState(!1),[L,S]=k.useState(null),[j,$]=k.useState(!1),q=t.map(B=>B.language),P=n.filter(B=>!q.includes(B.code)),H=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),m(""),I(""),p(!1))},z=(B,R)=>{f(B),x(R)},N=B=>{r?.(e,B,M),f(null),x("")},V=()=>{f(null),x("")},T=async B=>{const R=B.name?.trim();if(R){if(S(null),$(!1),R===e||!i)return C(!1),"ok";try{const Y=await i(e,R);if(typeof Y=="string"&&Y==="ok")C(!1),S(null);else{if(typeof Y=="string"&&Y==="duplicate-same")return S("Une clé existe déjà dans ce module."),$(!0),"duplicate-same";if(typeof Y=="string"&&Y==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(Y){console.error("Erreur handleRenameSave:",Y),S("Erreur lors du renommage.")}}},F=(B,R)=>{if(B!=="name")return;const Y=R.trim();S(null),$(!1),Y&&typeof h=="function"&&(h(Y,e)?(S("Une clé existe déjà dans ce module."),$(!0)):(S(null),$(!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:()=>_(!b),title:b?"Déplier":"Replier",children:b?c.jsx(u1,{className:"collapse-icon"}):c.jsx(Ct,{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:B=>{B.stopPropagation(),C(!0)},title:"Renommer la clé",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:B=>{B.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(Nt,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(B=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:B.language}),c.jsx("div",{className:"translation-content",children:g===B.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:M,onChange:R=>x(R.target.value),className:"edit-input",autoFocus:!0,onKeyDown:R=>{R.key==="Enter"&&N(B.language),R.key==="Escape"&&V()}}),c.jsx("button",{onClick:()=>N(B.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:V,className:"cancel-button",children:c.jsx(Ge,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:B.value,children:B.value}),c.jsx("button",{onClick:()=>z(B.language,B.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,B.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ge,{className:"action-icon"})})]})})]},B.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:B=>m(B.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),P.map(B=>c.jsxs("option",{value:B.code,children:[B.name," (",B.code,")"]},B.code))]})}),y&&c.jsx("input",{type:"text",value:v,onChange:B=>I(B.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:B=>{B.key==="Enter"&&H(),B.key==="Escape"&&(p(!1),m(""),I(""))}}),c.jsx("button",{onClick:H,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),m(""),I("")},className:"cancel-button",children:c.jsx(Ge,{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(Cc,{isOpen:w,onClose:()=>{C(!1),S(null),$(!1)},onSave:T,onFieldChange:F,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:L||"",disableSave:j})]})},Yke="_wrapper_1wvht_1",Jke="_leftGroup_1wvht_12",Qke="_filterButton_1wvht_21",e3e="_open_1wvht_42",t3e="_filterIcon_1wvht_42",a3e="_infoText_1wvht_58",n3e="_pickerContainer_1wvht_66",o3e="_srOnly_1wvht_79",c3e="_pickerLabel_1wvht_91",i3e="_datetime_1wvht_98",r3e="_rightGroup_1wvht_107",s3e="_searchInputWrap_1wvht_116",d3e="_searchInput_1wvht_116",l3e="_searchIcon_1wvht_152",je={wrapper:Yke,leftGroup:Jke,filterButton:Qke,open:e3e,filterIcon:t3e,infoText:a3e,pickerContainer:n3e,srOnly:o3e,pickerLabel:c3e,datetime:i3e,rightGroup:r3e,searchInputWrap:s3e,searchInput:d3e,searchIcon:l3e};function h3e({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:je.wrapper,ref:d,children:[c.jsxs("div",{className:je.leftGroup,children:[c.jsxs("button",{type:"button",className:`${je.filterButton} ${o?je.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:je.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:je.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:je.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:je.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:je.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:je.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:je.rightGroup,children:c.jsxs("div",{className:je.searchInputWrap,children:[c.jsx("input",{className:je.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:je.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 u3e=({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 g=Array.isArray(r)?r:[],f=g.length===0,M=g.every(w=>typeof w=="string"),x=g.some(w=>Array.isArray(w)),v=(w,C,b)=>d?d(w,C,b):c.jsx("span",{className:"slb-cell-text",children:w}),I=m?{"--col-gap":m}:void 0;return f?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!x?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:g.map((w,C)=>c.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(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:I,children:g.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[_,L]=w;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(_,C,0)}),c.jsx("div",{className:"slb-grid-right",children:v(L,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:v(w,C,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},p3e=({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(g=>Array.isArray(g)),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((g,f)=>{const M=u[f]||"";if(Array.isArray(g)){const[x,v]=g,I=s[f]||r;return c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col",children:c.jsx("div",{className:"counter-badge",style:{background:I,padding:d,width:l,minWidth:l},children:x})}),c.jsx("div",{className:"clb-text",children:v})]},f)}return y?c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:g})]},f):c.jsx("div",{className:`clb-fullrow ${M}`,style:{background:h??void 0},children:c.jsx("span",{children:g})},f)})})]})},y3e=({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)})})]})},k3e=({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}))}),m3e=({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}))}),f3e="_overlay_i1ay5_2",g3e="_fadeIn_i1ay5_1",v3e="_popup_i1ay5_17",M3e="_slideUp_i1ay5_1",_3e="_header_i1ay5_28",x3e="_body_i1ay5_40",L3e="_footer_i1ay5_51",I3e="_cancelButton_i1ay5_59",b3e="_confirmButton_i1ay5_77",w3e="_warning_i1ay5_97",C3e="_danger_i1ay5_106",N3e="_info_i1ay5_115",ft={overlay:f3e,fadeIn:g3e,popup:v3e,slideUp:M3e,header:_3e,body:x3e,footer:L3e,cancelButton:I3e,confirmButton:b3e,warning:w3e,danger:C3e,info:N3e},S3e=({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:ft.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${ft.popup} ${ft[d]}`,children:[c.jsx("div",{className:ft.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:ft.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:ft.footer,children:[c.jsx("button",{className:ft.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:ft.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},j3e=()=>{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}},$3e="_container_v7v52_1",q3e="_selectButton_v7v52_6",A3e="_disabled_v7v52_19",z3e="_error_v7v52_29",V3e="_outline_v7v52_43",P3e="_filled_v7v52_53",T3e="_sm_v7v52_58",H3e="_md_v7v52_63",D3e="_lg_v7v52_68",B3e="_buttonContent_v7v52_73",R3e="_label_v7v52_80",F3e="_placeholder_v7v52_87",E3e="_iconsContainer_v7v52_91",O3e="_loadingSpinner_v7v52_99",U3e="_spin_v7v52_1",W3e="_arrowIcon_v7v52_119",G3e="_arrowIconOpen_v7v52_127",Z3e="_dropdown_v7v52_131",K3e="_searchContainer_v7v52_146",X3e="_searchInput_v7v52_150",Y3e="_optionsList_v7v52_173",J3e="_noResults_v7v52_195",Q3e="_option_v7v52_173",eme="_optionHighlighted_v7v52_217",tme="_optionSelected_v7v52_222",ame="_optionDisabled_v7v52_228",nme="_optionLabel_v7v52_233",ome="_checkIcon_v7v52_240",cme="_widthFull_v7v52_248",ime="_width64_v7v52_252",rme="_width80_v7v52_256",sme="_width96_v7v52_260",ee={container:$3e,selectButton:q3e,disabled:A3e,error:z3e,default:"_default_v7v52_38",outline:V3e,filled:P3e,sm:T3e,md:H3e,lg:D3e,buttonContent:B3e,label:R3e,placeholder:F3e,iconsContainer:E3e,loadingSpinner:O3e,spin:U3e,arrowIcon:W3e,arrowIconOpen:G3e,dropdown:Z3e,searchContainer:K3e,searchInput:X3e,optionsList:Y3e,noResults:J3e,option:Q3e,optionHighlighted:eme,optionSelected:tme,optionDisabled:ame,optionLabel:nme,checkIcon:ome,widthFull:cme,width64:ime,width80:rme,width96:sme},dme=({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,g]=k.useState(""),[f,M]=k.useState(0),[x,v]=k.useState({top:0,left:0,width:0}),I=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]),_=e.find(N=>N.value===t),L=k.useCallback(()=>{if(I.current){const N=I.current.getBoundingClientRect();v({top:N.top,left:N.left,width:N.width})}},[]);k.useEffect(()=>(p&&(L(),window.addEventListener("scroll",L,!0),window.addEventListener("resize",L)),()=>{window.removeEventListener("scroll",L,!0),window.removeEventListener("resize",L)}),[p,L]),k.useEffect(()=>{const N=V=>{I.current&&!I.current.contains(V.target)&&w.current&&!w.current.contains(V.target)&&(y(!1),g(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{M(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),g(""))},j=N=>{g(N.target.value),p||y(!0)},$=N=>{if(!p){(N.key==="ArrowDown"||N.key==="Enter")&&y(!0);return}switch(N.key){case"ArrowDown":N.preventDefault(),M(V=>V<b.length-1?V+1:V);break;case"ArrowUp":N.preventDefault(),M(V=>V>0?V-1:V);break;case"Enter":N.preventDefault(),b[f]&&S(b[f]);break;case"Escape":y(!1),g("");break}},q=()=>[ee.selectButton,ee[l],ee[h],i?ee.disabled:"",s?ee.error:"",d].filter(Boolean).join(" "),P=()=>{switch(u){case"w-64":return ee.width64;case"w-80":return ee.width80;case"w-96":return ee.width96;default:return ee.widthFull}},H=(N,V)=>[ee.option,V===f?ee.optionHighlighted:"",N.value===t?ee.optionSelected:"",N.disabled?ee.optionDisabled:""].filter(Boolean).join(" "),z={position:"fixed",top:x.top+(I.current?.offsetHeight||0)+4,left:x.left,width:x.width,zIndex:9999};return c.jsxs("div",{className:`${ee.container} ${P()}`,children:[c.jsx("button",{ref:I,className:q(),onClick:()=>!i&&y(!p),onKeyDown:$,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:c.jsxs("div",{className:ee.buttonContent,children:[c.jsx("span",{className:`${ee.label} ${_?"":ee.placeholder}`,children:_?_.label:o}),c.jsxs("div",{className:ee.iconsContainer,children:[r&&c.jsx("div",{className:ee.loadingSpinner}),c.jsx("svg",{className:`${ee.arrowIcon} ${p?ee.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&&ew.createPortal(c.jsxs("div",{className:`${ee.dropdown} ${P()}`,style:z,ref:w,children:[c.jsx("div",{className:ee.searchContainer,children:c.jsx("input",{ref:C,type:"text",value:m,onChange:j,placeholder:"Rechercher...",className:ee.searchInput,autoFocus:!0})}),c.jsx("div",{className:ee.optionsList,children:b.length===0?c.jsx("div",{className:ee.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((N,V)=>c.jsx("li",{className:H(N,V),onClick:()=>S(N),onMouseEnter:()=>M(V),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:ee.buttonContent,children:[c.jsx("span",{className:ee.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:ee.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)]})},lme="_container_uq7pt_1",hme="_item_uq7pt_7",ume="_mainValue_uq7pt_13",pme="_label_uq7pt_17",yme="_subValue_uq7pt_22",kme="_subValueWrapper_uq7pt_27",mme="_subSeparator_uq7pt_32",De={container:lme,item:hme,mainValue:ume,label:pme,subValue:yme,subValueWrapper:kme,subSeparator:mme},fme=({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[g,f]=p.split("/").map(M=>M.trim());return c.jsxs("span",{className:De.subValueWrapper,children:[c.jsx("span",{className:De.subLeft,style:{color:y},children:g}),c.jsx("span",{className:De.subSeparator,children:" / "}),c.jsx("span",{className:De.subRight,style:{color:m},children:f})]})};return c.jsxs("div",{className:De.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:De.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:De.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:De.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:De.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:De.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:De.label,style:{color:l},children:p.label}),c.jsx("div",{className:De.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},gme="_encours_16ist_1",vme="_header_16ist_19",Mme="_iconWrap_16ist_27",_me="_title_16ist_36",xme="_items_16ist_47",Lme="_spaceEvenly_16ist_56",Ime="_item_16ist_47",bme="_valueContainer_16ist_86",wme="_value_16ist_86",Cme="_label_16ist_108",Qe={encours:gme,header:vme,iconWrap:Mme,title:_me,items:xme,spaceEvenly:Lme,item:Ime,valueContainer:bme,value:wme,label:Cme},xc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function Nme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=xc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=xc(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=xc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=xc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Sme(){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 jme(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:g="#ffffff",width:f,gap:M,className:x,ariaLabel:v}=e,I=r?ht[r]:void 0,w={background:g,width:xc(f),...m},C={};n&&(C.color=n),o!==void 0&&(C.fontSize=xc(o)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${Qe.encours} ${x??""}`,style:w,"aria-label":v??t,children:[c.jsxs("div",{className:Qe.header,children:[c.jsx("div",{className:Qe.iconWrap,"aria-hidden":!0,style:b,children:I?c.jsx(I,{size:typeof s=="number"?s:void 0}):c.jsx(Sme,{})}),c.jsx("div",{className:Qe.title,style:C,children:t})]}),c.jsx("div",{className:`${Qe.items} ${M===void 0?Qe.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((_,L)=>{const{valueStyle:S,labelStyle:j}=Nme(_,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:Qe.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:xc(_.width)}:{}},children:c.jsxs("div",{className:Qe.valueContainer,children:[c.jsx("div",{className:Qe.value,style:S,children:_.value}),_.label&&c.jsx("div",{className:Qe.label,style:j,children:_.label})]})},`${String(_.label??_.value)}-${L}`)})})]})}const $me=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-360 280-559h400z"})),qme=k.memo($me),Ame=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m280-400 200-201 200 201z"})),zme=k.memo(Ame),Vme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),Pme=k.memo(Vme),Tme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),Hme=k.memo(Tme),Dme=({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})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(e),[g,f]=k.useState(!1);if(k.useEffect(()=>{f(!0)},[]),k.useEffect(()=>{m(e)},[e]),!g)return null;const M=(v,I)=>{I<4||m(w=>w.map(C=>C.component_key===v?{...C,visible:!C.visible}:C))},x=()=>{t(y),p(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[c.jsxs("div",{onClick:()=>{o||p(!u)},style:{display:"flex",alignItems:"center",cursor:o?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:s,children:[c.jsx(gj,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),u?c.jsx(zme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(qme,{width:d,height:d,fill:l?.icon||"currentColor"})]}),u&&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:y.map((v,I)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>M(v.component_key,I),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:I<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:w=>{I>=4&&(w.currentTarget.style.background="#F9FAFB")},onMouseLeave:w=>{I>=4&&(w.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:v.visible?c.jsx(Pme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Hme,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:v.label})]}),I===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},v.component_key))}),c.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:c.jsx("button",{type:"button",onClick:x,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})})]})]})},Bme="_container_zhny9_1",Rme="_card_zhny9_15",Fme="_footer_zhny9_33",Eme="_noPaddingMobile_zhny9_51",O1={container:Bme,card:Rme,footer:Fme,noPaddingMobile:Eme},Ome="_board_1tbkr_1",Ume="_clickable_1tbkr_21",Wme="_sideBar_1tbkr_26",Gme="_boardContent_1tbkr_32",Zme="_orange_1tbkr_40",Kme="_red_1tbkr_44",Xme="_green_1tbkr_48",Yme="_grey_1tbkr_52",Jme="_lightGrey_1tbkr_56",Qme="_big_1tbkr_61",e6e="_medium_1tbkr_66",t6e="_headerRow_1tbkr_70",a6e="_iconWrapper_1tbkr_75",n6e="_headerTitle_1tbkr_80",o6e="_valueArea_1tbkr_89",c6e="_titleWhite_1tbkr_99",i6e="_titleBlack_1tbkr_103",r6e="_valueWhite_1tbkr_108",s6e="_valueBlack_1tbkr_112",d6e="_valueBlue_1tbkr_116",l6e="_bars_1tbkr_121",h6e="_bar_1tbkr_121",u6e="_barDark_1tbkr_135",p6e="_barDim_1tbkr_139",Re={board:Ome,clickable:Ume,sideBar:Wme,boardContent:Gme,orange:Zme,red:Kme,green:Xme,grey:Yme,lightGrey:Jme,big:Qme,medium:e6e,headerRow:t6e,iconWrapper:a6e,headerTitle:n6e,valueArea:o6e,titleWhite:c6e,titleBlack:i6e,valueWhite:r6e,valueBlack:s6e,valueBlue:d6e,bars:l6e,bar:h6e,barDark:u6e,barDim:p6e},y6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Re.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Re.bar} ${r<o?"":e?Re.barDark:Re.barDim}`},r))})},It=({iconName:e,label:t,value:n,backgroundColor:o="green",bars:i,lightBars:r=5,size:s="big",valueScale:d,width:l,height:h,className:u="",style:p,titleColor:y="white",valueColor:m="white",titleFontSize:g,titleFontWeight:f,valueFontSize:M,valueFontWeight:x,barColor:v,justifyContent:I="space-between",alignItems:w="flex-start",cardGap:C="",onClick:b,iconColor:_})=>{const L=i!=="none",S=i==="endingDark",{padding:j,...$}=p||{},q=l===void 0&&h===void 0&&o===void 0&&Object.keys($).length===0?void 0:{...l!==void 0?{width:l}:{},...h!==void 0?{height:h}:{},...o!==void 0?{backgroundColor:o}:{},...$},P=`${Re.board} ${Re[s]} ${u}`;return c.jsxs("div",{className:P,onClick:b,style:d!==void 0?{...q,"--ds-value-scale":d}:q,children:[v&&c.jsx("div",{className:Re.sideBar,style:{backgroundColor:v}}),c.jsxs("div",{className:Re.boardContent,style:{padding:j,gap:C},children:[c.jsxs("div",{className:Re.headerRow,style:{justifyContent:I,alignItems:w},children:[e&&c.jsx("div",{className:Re.iconWrapper,style:{color:_},children:e}),c.jsx("div",{className:`${Re.headerTitle} header-title-data-board`,children:c.jsx("span",{style:{color:y,...g?{fontSize:g}:{},...f?{fontWeight:f}:{}},children:t})}),L?c.jsx(y6e,{endingDark:S,lightCount:r}):null]}),c.jsx("div",{className:Re.valueArea,style:{color:m,...M?{fontSize:M}:{},...x?{fontWeight:x}:{}},children:n})]})]})},k6e="_wrapper_tldrb_10",m6e="_hosp_tldrb_19",f6e="_headerRow_tldrb_54",g6e="_iconWrapper_tldrb_61",v6e="_headerTitle_tldrb_67",M6e="_hospValue_tldrb_76",_6e="_side_tldrb_88",x6e="_mini_tldrb_100",L6e="_miniLabel_tldrb_134",I6e="_miniValue_tldrb_143",b6e="_miniBars_tldrb_153",w6e="_bars_tldrb_158",C6e="_bar_tldrb_158",N6e="_barDark_tldrb_172",S6e="_barDim_tldrb_176",Ce={wrapper:k6e,hosp:m6e,headerRow:f6e,iconWrapper:g6e,headerTitle:v6e,hospValue:M6e,side:_6e,mini:x6e,miniLabel:L6e,miniValue:I6e,miniBars:b6e,bars:w6e,bar:C6e,barDark:N6e,barDim:S6e},j6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ce.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ce.bar} ${r<o?"":e?Ce.barDark:Ce.barDim}`},r))})},Hq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${Ce.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${Ce.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},children:[c.jsxs("div",{className:Ce.headerRow,children:[c.jsxs("div",{className:`${Ce.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:Ce.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},children:e.label})]}),r?c.jsx(j6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:Ce.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:Ce.side,children:t.map((d,l)=>c.jsxs("div",{className:`${Ce.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||{}},children:[c.jsxs("span",{className:Ce.miniLabel,style:{color:d.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...d.titleFontSize?{fontSize:d.titleFontSize}:{},...d.titleFontWeight?{fontWeight:d.titleFontWeight}:{}},children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${Ce.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:Ce.miniBars})]},d.id??`${d.label}-${l}`))})]})},$6e=({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 g={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},f=e[0],M=e[1],x=e.slice(2,5);return c.jsxs("div",{style:g,className:`${O1.container} ${y?O1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:O1.card,children:[f?c.jsx(It,{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,onClick:v=>m?.(0,v)}):null,M&&x.length>0?c.jsx(Hq,{left:{id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>m?.(1,v)},right:x.map((v,I)=>({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,onClick:w=>m?.(2+I,w)}))}):M&&x.length===0?c.jsx(It,{label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>m?.(1,v)}):null]}),t&&c.jsx("div",{className:O1.footer,children:t})]})},q6e=({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"})=>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",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}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),A6e="_menu_10i6j_1",z6e="_menuRow_10i6j_18",V6e="_separator_10i6j_33",P6e="_rowLabel_10i6j_39",T6e="_rowLeadingIcon_10i6j_47",H6e="_rowIcon_10i6j_54",Ac={menu:A6e,menuRow:z6e,separator:V6e,rowLabel:P6e,rowLeadingIcon:T6e,rowIcon:H6e},D6e=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:Ac.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Ac.separator},y.id);const m=y,g=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Ac.menuRow,style:g,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Ac.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Ac.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Ac.rowIcon,children:m.icon})]},m.id)})})}),Dq=({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:g="12px",roleFontWeight:f,avatarColor:M="#5b8fb9",backgroundColorAvatar:x="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:I,dropdownMenuOffset:w,statusDotColor:C,style:b,className:_=""})=>{const{user:L}=ct(),S=e||L,{currentTheme:j,switchTheme:$}=oL(),q=k.useRef(null),P=k.useRef(null),[H,z]=k.useState(!1),[N,V]=k.useState({}),T=k.useMemo(()=>{const G=[],K=({variant:xe})=>xe==="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&&(G.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),G.push({id:"sep-profile",type:"separator"}));const re=j==="dark";return G.push({id:"theme",type:"action",label:re?"Mode clair":"Mode sombre",icon:c.jsx(K,{variant:re?"sun":"moon"}),onClick:()=>{$(re?"light":"dark")}}),(t||o)&&(G.push({id:"sep-theme",type:"separator"}),G.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?.()}})),G},[j,t,n,o,i,r,$]),F=v??T,B=()=>{if(!q.current){z(G=>!G);return}if(!H){const G=q.current.getBoundingClientRect(),K=window.innerWidth,re=window.innerHeight,xe=200,ue=200,be=4,se=w?.x??0,ge=w?.y??0,Se=K-G.right>=xe+be;V(Se?{top:G.bottom-ue+ge,left:G.right+be+se}:{bottom:re-G.top+ge,left:G.left+se})}z(G=>!G)};if(k.useEffect(()=>{if(!H||!q.current)return;const G=()=>{const K=q.current.getBoundingClientRect(),re=window.innerWidth,xe=window.innerHeight,ue=200,be=200,se=4,ge=w?.x??0,ze=w?.y??0,le=re-K.right>=ue+se;V(le?{top:K.bottom-be+ze,left:K.right+se+ge}:{bottom:xe-K.top+ze,left:K.left+ge})};return window.addEventListener("resize",G),window.addEventListener("orientationchange",G),()=>{window.removeEventListener("resize",G),window.removeEventListener("orientationchange",G)}},[H,w]),k.useEffect(()=>{if(!H||!q.current||!P.current)return;const G=()=>{const re=q.current.getBoundingClientRect(),xe=P.current.getBoundingClientRect(),ue=w?.x??0,be=w?.y??0;V(se=>se.left!==void 0&&se.top!==void 0&&se.left>=re.right-1?{top:re.bottom-xe.height+be,left:se.left+ue}:se)},K=requestAnimationFrame(()=>{setTimeout(G,0)});return()=>cancelAnimationFrame(K)},[H,w]),!S)return null;const R=S,Y=parseInt(h,10)||40,te=`${Y*.375}px`,me=`${Y*1.375}px`,it=`${Y*.2}px`,fe=`${Y*.6}px`,Ie=()=>{const G=parseInt(h,10)||40,K=Math.max(8,G*.34375),re=Math.max(2,G*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[R.image?c.jsx("img",{src:R.image,alt:`${R.prenom} ${R.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:x,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:te,height:te,borderRadius:"50%",backgroundColor:M,position:"absolute",top:it,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:me,height:me,borderRadius:"50%",backgroundColor:M,position:"absolute",top:fe,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&c.jsx("div",{style:{position:"absolute",bottom:re,right:re,width:`${K}px`,height:`${K}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:R.email,children:R.email}),c.jsx("span",{style:{color:l,fontSize:g,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:R.role,children:R.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:q,className:`user-info ${_}`,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",...b},onClick:B,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(Ie,{})})}),c.jsx(D6e,{ref:P,isVisible:H,onClose:()=>z(!1),items:F,style:I,position:N})]})},B6e="_navItem_16uqf_1",R6e="_label_16uqf_14",F6e="_icon_16uqf_26",t1={navItem:B6e,label:R6e,icon:F6e},Rw=({label:e,onClick:t,href:n,isActive:o,icon:i,style:r,className:s="",highlightColor:d="#00aec7",color:l="#333",activeColor:h="#00aec7",highlightBackgroundColor:u="rgba(0, 0, 0, 0.05)",fontSize:p="15px",fontWeight:y="500",sidebarCollapsed:m=!1,padding:g="10px 16px",borderWidth:f="4px",iconGap:M="12px",disabled:x=!1,disabledColor:v})=>{const I=()=>{x||t?.()},w=c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:t1.icon,style:{marginRight:m?0:M},children:i}),!m&&c.jsx("span",{className:t1.label,children:e})]}),C=()=>{if(!o)return"transparent";const _=L=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(L);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(d.startsWith("#")){const L=_(d);if(L)return`rgba(${L.r}, ${L.g}, ${L.b}, 0.08)`}else if(d.startsWith("rgb")){const L=d.match(/\d+/g);if(L&&L.length>=3)return`rgba(${L[0]}, ${L[1]}, ${L[2]}, 0.08)`}return u},b={onClick:I,className:`${t1.navItem} ${o?t1.active:""} ${s} ${x?t1.disabled:""}`,style:{padding:g,color:o?h:x?v||"#999":l,borderLeft:o?`${f} solid ${d}`:`${f} solid transparent`,backgroundColor:C(),fontSize:p,fontWeight:y,cursor:x?"not-allowed":"pointer",textDecoration:"none",...r},"aria-disabled":x};return n&&!x?c.jsx("a",{href:n,...b,children:w}):c.jsx("div",{...b,role:t?"button":void 0,tabIndex:t&&!x?0:void 0,children:w})},E6e="_navbar_18gev_1",O6e="_topSection_18gev_9",U6e="_sectionsContainer_18gev_14",W6e="_sectionTitle_18gev_20",G6e="_sectionItems_18gev_25",Z6e="_bottomSection_18gev_30",K6e="_versionContainer_18gev_49",st={navbar:E6e,topSection:O6e,sectionsContainer:U6e,sectionTitle:W6e,sectionItems:G6e,bottomSection:Z6e,versionContainer:K6e},X6e=({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:g="12px",navItemFontSize:f="15px",navItemFontWeight:M="500",navItemColor:x,sectionTitlePadding:v="16px",sectionTitleFontSize:I="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:_="400",versionColor:L="#999",userInfoProps:S,style:j,className:$="",width:q="280px"})=>{const P=ct(),H=P.activeNav,z=P.setActiveNav,N=P.user,V=S.user||N;return c.jsxs("div",{className:`${st.navbar} ${$}`,style:{width:q,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:st.topSection,style:{gap:t},children:[c.jsx("div",{className:st.logoContainer,children:c.jsx(tw,{...e})}),c.jsx("div",{className:st.sectionsContainer,style:{gap:i},children:n.map((T,F)=>c.jsxs("div",{className:st.section,children:[T.title&&c.jsx("div",{className:st.sectionTitle,style:{fontSize:I,color:w,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:T.title}),c.jsx("div",{className:st.sectionItems,style:{gap:r},children:T.items.map(B=>c.jsx(Rw,{...B,isActive:B.isActive===null?B.isActive:H===B.id,onClick:()=>{B.onClick&&B.onClick(),B.isActive==null&&z(B.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:g,fontSize:f,fontWeight:M,color:x,style:p},B.id))})]},F))})]}),c.jsxs("div",{className:st.bottomSection,style:{gap:t},children:[c.jsx(Dq,{...S,user:V}),h&&c.jsx("div",{className:st.versionContainer,style:{fontSize:b,fontWeight:_,color:L},children:h})]})]})},Y6e="_container_4qege_1",J6e="_titleContainer_4qege_10",Q6e="_title_4qege_10",e8e="_inlineToggleContainer_4qege_24",t8e="_rightContentContainer_4qege_30",a1={container:Y6e,titleContainer:J6e,title:Q6e,inlineToggleContainer:e8e,rightContentContainer:t8e},a8e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:g,inlineToggle:f})=>{const{activeNav:M}=ct(),x=y.find(I=>I.id===M),v=m(x?x.label:M);return v?c.jsxs("div",{className:`${a1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:a1.titleContainer,children:[c.jsx("div",{className:a1.title,style:{fontSize:n,fontWeight:o,color:i},children:v}),f&&c.jsx("div",{className:a1.inlineToggleContainer,children:f})]}),g&&c.jsx("div",{className:a1.rightContentContainer,children:g})]}):null},n8e="_navItem_1hg26_1",o8e="_navItemIcon_1hg26_21",c8e="_navItemLabel_1hg26_29",i8e="_navItemCount_1hg26_36",r8e="_navItemIndicator_1hg26_49",n1={navItem:n8e,navItemIcon:o8e,navItemLabel:c8e,navItemCount:i8e,navItemIndicator:r8e},Bq=({label:e,isActive:t,onClick:n,href:o,icon:i,count:r,activeColor:s="#00aec7",inactiveColor:d="#666",activeBackgroundColor:l="transparent",countBackgroundColor:h,countColor:u="#fff",countBorderRadius:p="10px",countPadding:y="2px 6px",countFontSize:m="12px",countFontWeight:g="500",indicatorColor:f="#00aec7",indicatorHeight:M="3px",padding:x="8px 4px",fontSize:v="14px",fontWeight:I="500",gap:w="8px",style:C,className:b="",disabled:_=!1})=>{const L=()=>{_||(n?.(),o&&(window.location.href=o))};return c.jsxs("div",{className:`${n1.navItem} ${b}`,onClick:L,style:{gap:w,padding:x,color:t?s:d,backgroundColor:t?l:"transparent",fontSize:v,fontWeight:I,...C},children:[i&&c.jsx("span",{className:n1.navItemIcon,children:i}),c.jsx("span",{className:n1.navItemLabel,children:e}),r!==void 0&&c.jsx("span",{className:n1.navItemCount,style:{backgroundColor:h,color:u,borderRadius:p,padding:y,fontSize:m,fontWeight:g},children:r}),t&&!_&&c.jsx("div",{className:n1.navItemIndicator,style:{height:M,backgroundColor:f}})]})},s8e="_subheaderContent_1glo8_1",d8e="_navContainer_1glo8_11",l8e="_rightContent_1glo8_45",Ib={subheaderContent:s8e,navContainer:d8e,rightContent:l8e},h8e=({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:g="#5c6975",indicatorHeight:f="3px",showDraggable:M=!1,showLegend:x=!1,showData:v=!1,className:I="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:L,countFontSize:S,countFontWeight:j,navContainerClassName:$,navContainerStyle:q,rightContentClassName:P,rightContentStyle:H,rightActions:z,activeSwitcherColor:N,inactiveSwitcherColor:V})=>{const{activeSubNav:T,setActiveSubNav:F,navCounts:B}=ct();return c.jsxs("div",{className:`${Ib.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...w},children:[c.jsx("div",{className:`${Ib.navContainer} ${$||""}`,style:{gap:l,...q},children:e.map(R=>{const Y=R.count!==void 0?R.count:B[R.id],te=T===R.id||R.isActive;return c.jsx(Bq,{...R,count:Y,isActive:te,onClick:()=>{R.onClick&&R.onClick(),F(R.id)},activeColor:m,inactiveColor:g,countBackgroundColor:C,countColor:b,countBorderRadius:_,countPadding:L,countFontSize:S,countFontWeight:j,indicatorColor:m,indicatorHeight:f,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:R.style},R.id)})}),c.jsxs("div",{className:`${Ib.rightContent} ${P||""}`,style:{gap:h,...H},children:[M&&c.jsx(Zx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),x&&c.jsx(Kx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&c.jsx(Xx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},u8e=({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}=oL(),m=p!="dark",g=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:g,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"})]})})},p8e=({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}},y8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),k8e=k.memo(y8e),m8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),f8e=k.memo(m8e),g8e=({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)),children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(f8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(k8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),v8e=({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)})}),M8e=({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,g=Math.min(y*u,h),f=x=>{t({page:x})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,j)=>j+1);const I=Math.max(y-1,1),w=Math.min(y+1,p),C=I>2,b=w<p-2,_=1,L=p;if(!C&&b)return[...Array.from({length:5},($,q)=>q+1),"...",p];if(C&&!b){const j=Array.from({length:5},($,q)=>p-5+q+1);return[_,"...",...j]}if(C&&b){const S=Array.from({length:w-I+1},(j,$)=>I+$);return[_,"...",...S,"...",L]}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,g,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[m,"–",g]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>f(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>f(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((x,v)=>x==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):c.jsx("button",{className:`pagination-btn ${x===y?"active":""}`,onClick:()=>f(x),children:x},v)),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"})})]})},Rq=({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:g,tableState:f,className:M,style:x,rowStyle:v,onRowClick:I,rowClassName:w,removeLabelSpan:C=!1})=>{const b=k.useMemo(()=>({...p}),[p]),_=k.useRef(null);k.useEffect(()=>{if(!m||!y||!g||n)return;const P=new IntersectionObserver(H=>{H[0].isIntersecting&&y()},{threshold:.1});return _.current&&P.observe(_.current),()=>P.disconnect()},[m,y,g,n]);const{tableState:L,handleSort:S}=p8e({initialSortBy:null,onSortChange:r}),j=(f?.sortBy!==void 0?f.sortBy:L.sortBy)??void 0,$=f?.sortOrder!==void 0?f.sortOrder:L.sortOrder,q=P=>{const H=j,z=$;let N="asc";H===P&&(N=z==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(P,N):S(P)};return c.jsxs("div",{className:`table-container ${M||""}`,style:x,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(g8e,{columns:t,sortBy:j,sortOrder:$,onSort:q,removeLabelSpan:C}),c.jsx(v8e,{data:e,columns:t.map(P=>({...P,render:P.render?H=>P.render(H,{}):void 0})),rowKey:s,onRowClick:I,isLoading:n,text:b,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:w})]}),m&&c.jsx("div",{ref:_,style:{height:20,margin:10}})]})]}),c.jsx(M8e,{state:o,onPaginationChange:i,text:b,onLoadMore:y,infiniteScroll:m,hasMore:g,isLoading:n})]})},_8e="_datePickerContainer_1941b_3",x8e="_label_1941b_16",L8e="_displayNode_1941b_23",I8e="_datePickerButton_1941b_30",b8e="_datePickerButtonDisabled_1941b_50",w8e="_datePickerButtonOpen_1941b_59",C8e="_datePickerLabel_1941b_68",N8e="_placeholder_1941b_79",S8e="_chevron_1941b_83",j8e="_errorMessage_1941b_91",$8e="_dropdown_1941b_96",q8e="_calendarHeader_1941b_120",A8e="_navButton_1941b_129",z8e="_headerSelectors_1941b_148",V8e="_monthSelector_1941b_156",P8e="_yearSelector_1941b_157",T8e="_selectorButton_1941b_161",H8e="_selectorChevron_1941b_178",D8e="_selectorChevronOpen_1941b_183",B8e="_monthDropdown_1941b_187",R8e="_yearDropdown_1941b_188",F8e="_monthItem_1941b_208",E8e="_yearItem_1941b_209",O8e="_monthItemSelected_1941b_231",U8e="_yearItemSelected_1941b_232",W8e="_weekdays_1941b_236",G8e="_weekday_1941b_236",Z8e="_calendarGrid_1941b_252",K8e="_dateCell_1941b_260",X8e="_dateCellSelected_1941b_283",Y8e="_dateCellOtherMonth_1941b_287",J8e="_dateCellOtherMonthSelected_1941b_291",Q8e="_calendarFooter_1941b_295",efe="_cancelButton_1941b_303",tfe="_applyButton_1941b_304",afe="_timePickerContainer_1941b_348",nfe="_timeGroup_1941b_357",ofe="_timeLabel_1941b_364",cfe="_timeInputWrapper_1941b_370",ife="_timeInput_1941b_370",rfe="_timeSeparator_1941b_398",E={datePickerContainer:_8e,label:x8e,displayNode:L8e,datePickerButton:I8e,datePickerButtonDisabled:b8e,datePickerButtonOpen:w8e,datePickerLabel:C8e,placeholder:N8e,chevron:S8e,errorMessage:j8e,dropdown:$8e,calendarHeader:q8e,navButton:A8e,headerSelectors:z8e,monthSelector:V8e,yearSelector:P8e,selectorButton:T8e,selectorChevron:H8e,selectorChevronOpen:D8e,monthDropdown:B8e,yearDropdown:R8e,monthItem:F8e,yearItem:E8e,monthItemSelected:O8e,yearItemSelected:U8e,weekdays:W8e,weekday:G8e,calendarGrid:Z8e,dateCell:K8e,dateCellSelected:X8e,dateCellOtherMonth:Y8e,dateCellOtherMonthSelected:J8e,calendarFooter:Q8e,cancelButton:efe,applyButton:tfe,timePickerContainer:afe,timeGroup:nfe,timeLabel:ofe,timeInputWrapper:cfe,timeInput:ife,timeSeparator:rfe},sfe=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#e3e3e3",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})),Wx=k.memo(sfe),tj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Qb=({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:g="0.25rem",dropdownMarginTop:f="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:x="400",buttonBgColor:v,buttonBorderColor:I,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:_,iconColor:L,errorColor:S,labelColor:j,placeholderColor:$,borderRadius:q="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:V="2.5rem",headerTextColor:T="#6c757d",weekdayTextColor:F="#6c757d",currentMonthDateColor:B="#212529",otherMonthDateColor:R="#adb5bd",selectedDateBgColor:Y="#00A6D9",selectedDateTextColor:te="#ffffff",cancelButtonBgColor:me="#e9ecef",cancelButtonTextColor:it="#212529",applyButtonBgColor:fe="#00A6D9",applyButtonTextColor:Ie="#ffffff",width:G,displayNode:K=void 0,displayMode:re="auto",displayNodeAriaLabel:xe,dropdownPosition:ue="bottom",dropdownAlignment:be="right",dropdownWidth:se,withBorder:ge=!1,icon:ze,precision:Se="day",hoursLabel:le="Heures",minutesLabel:we="Minutes",lowerLimit:rt=null,upperLimit:Yc=null,months:ce,weekdays:X,cancelText:T1="Annuler",applyText:Eq="Appliquer",prevMonthAriaLabel:Oq="Mois précédent",nextMonthAriaLabel:Uq="Mois suivant",calendarAriaLabel:Wq="Sélecteur de date",openedAriaLabel:Gq="Ouvrir le sélecteur de date",selectedDateAriaLabel:Zq="Date sélectionnée: ",locale:Fw="fr-FR"})=>{const qt=D=>{if(D instanceof Date)return isNaN(D.getTime())?null:D;if(typeof D=="string"&&D){const W=new Date(D);return isNaN(W.getTime())?null:W}return null},[Xe,At]=k.useState(!1),[Nc,Kq]=k.useState({top:0,left:0,width:0}),[Q,Jc]=k.useState(qt(e)||new Date),[fL,gL]=k.useState(qt(e)),[vL,ML]=k.useState(qt(e)?.getHours()??0),[_L,xL]=k.useState(qt(e)?.getMinutes()??0),[LL,Sc]=k.useState(!1),[IL,jc]=k.useState(!1),bL=k.useRef(null),H1=k.useRef(null),wL=k.useRef(null),CL=k.useRef(null);k.useEffect(()=>{const D=qt(e);gL(D),D&&(Jc(D),ML(D.getHours()),xL(D.getMinutes()))},[e]);const $c=k.useCallback(()=>{if(H1.current){const D=H1.current.getBoundingClientRect();Kq({top:D.top,left:D.left,width:D.width})}},[]);k.useEffect(()=>(Xe&&($c(),window.addEventListener("scroll",$c,!0),window.addEventListener("resize",$c)),()=>{window.removeEventListener("scroll",$c,!0),window.removeEventListener("resize",$c)}),[Xe,$c]),k.useEffect(()=>{const D=W=>{if(bL.current&&!bL.current.contains(W.target)){const ye=document.getElementById("datepicker-dropdown");if(ye&&ye.contains(W.target))return;At(!1),Sc(!1),jc(!1)}wL.current&&!wL.current.contains(W.target)&&Sc(!1),CL.current&&!CL.current.contains(W.target)&&jc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const Ew=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),Xq=D=>{const W=new Date(D.getFullYear(),D.getMonth(),1).getDay();return W===0?6:W-1},Yq=()=>{const D=[],W=Xq(Q),ye=Ew(Q),D1=new Date(Q.getFullYear(),Q.getMonth()-1,1),mt=Ew(D1);for(let Oe=W-1;Oe>=0;Oe--)D.push(new Date(Q.getFullYear(),Q.getMonth()-1,mt-Oe));for(let Oe=1;Oe<=ye;Oe++)D.push(new Date(Q.getFullYear(),Q.getMonth(),Oe));const Qc=42-D.length;for(let Oe=1;Oe<=Qc;Oe++)D.push(new Date(Q.getFullYear(),Q.getMonth()+1,Oe));return D},Jq=(D,W)=>!D||!W?!1:D.getDate()===W.getDate()&&D.getMonth()===W.getMonth()&&D.getFullYear()===W.getFullYear(),Qq=D=>D.getMonth()===Q.getMonth()&&D.getFullYear()===Q.getFullYear(),eA=()=>{Jc(new Date(Q.getFullYear(),Q.getMonth()-1,1))},tA=()=>{Jc(new Date(Q.getFullYear(),Q.getMonth()+1,1))},aA=D=>{if(!s){const W=new Date(D);W.setHours(vL),W.setMinutes(_L),gL(W)}},nA=()=>{if(!s){if(fL){const D=new Date(fL);D.setHours(vL),D.setMinutes(_L),t(D)}else t(null);At(!1)}},oA=()=>{const D=qt(e);gL(D),D&&(ML(D.getHours()),xL(D.getMinutes())),At(!1)},cA=D=>{Jc(new Date(Q.getFullYear(),D,1)),Sc(!1)},iA=D=>{Jc(new Date(D,Q.getMonth(),1)),jc(!1)},rA=()=>{const D=Q.getFullYear(),W=[];for(let ye=D-10;ye<=D+10;ye++)W.push(ye);return W},sA=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),At(!Xe);break;case"Escape":At(!1),Sc(!1),jc(!1);break;case"Tab":Xe&&(At(!1),Sc(!1),jc(!1));break}},dA={width:G||(r?"100%":"auto"),fontSize:p,fontWeight:x},lA={height:l,padding:h,backgroundColor:v||"#ffffff",border:ge?void 0:"none",borderColor:d?S||"#dc3545":I||"#dee2e6",color:w||"#212529",borderRadius:q,borderWidth:P,fontWeight:x,transition:`all ${z} ${N}`},hA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:q,borderWidth:P,boxShadow:H,transition:`opacity ${z} ${N}, transform ${z} ${N}`,position:"fixed",top:ue==="bottom"?Nc.top+(H1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-Nc.top+parseFloat(f.replace("rem",""))*16:"auto",left:be==="left"?Nc.left:"auto",right:be==="right"?window.innerWidth-(Nc.left+Nc.width):"auto",width:se||(r?Nc.width:"auto"),zIndex:10001},Ow={width:y,height:y,color:L||"#6c757d","--icon-rotation":Xe?"rotate(180deg)":"rotate(0deg)"},uA={color:j||"#212529",marginBottom:m,fontWeight:x},pA={color:$||"#6c757d"},yA={color:S||"#dc3545",marginTop:g},kA=Yq(),Ye=qt(e),Uw=Ye?Se==="minutes"?`${Ye.toLocaleDateString(Fw)} ${Ye.getHours().toString().padStart(2,"0")}:${Ye.getMinutes().toString().padStart(2,"0")}`:Ye.toLocaleDateString(Fw):"",mA=!!K&&(re==="icon"||re==="auto"&&!Ye),fA=xe||(Ye?`${Zq}${Uw}`:Gq);return c.jsxs("div",{className:`${E.datePickerContainer} ${i}`,ref:bL,style:dA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:E.label,style:uA,children:n}),c.jsxs("button",{ref:H1,type:"button",onClick:()=>!s&&At(!Xe),onKeyDown:sA,className:`
|
|
8169
|
+
`),()=>{M.contains(f)&&M.removeChild(f)}},[t]),c.jsx(c0e,{isPresent:t,childRef:r,sizeRef:s,children:Z.cloneElement(e,{ref:l})})}const r0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=jt(s0e),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 g of h.values())if(!g)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,g)=>h.set(g,!1))},[n]),Z.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(i0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(cL.Provider,{value:y,children:e})};function s0e(){return new Map}function p$(e=!0){const t=k.useContext(cL);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 F1=e=>e.key||"";function fC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const d0e=({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]=p$(s),p=k.useMemo(()=>fC(e),[e]),y=s&&!h?[]:p.map(F1),m=k.useRef(!0),g=k.useRef(p),f=jt(()=>new Map),[M,_]=k.useState(p),[v,I]=k.useState(p);ow(()=>{m.current=!1,g.current=p;for(let b=0;b<v.length;b++){const L=F1(v[b]);y.includes(L)?f.delete(L):f.get(L)!==!0&&f.set(L,!1)}},[v,y.length,y.join("-")]);const w=[];if(p!==M){let b=[...p];for(let L=0;L<v.length;L++){const x=v[L],S=F1(x);y.includes(S)||(b.splice(L,0,x),w.push(x))}return r==="wait"&&w.length&&(b=w),I(fC(b)),_(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&v.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(aw);return c.jsx(c.Fragment,{children:v.map(b=>{const L=F1(b),x=s&&!h?!1:p===v||y.includes(L),S=()=>{if(f.has(L))f.set(L,!0);else return;let j=!0;f.forEach($=>{$||(j=!1)}),j&&(C?.(),I(g.current),s&&u?.(),o&&o())};return c.jsx(r0e,{isPresent:x,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:x?void 0:S,anchorX:d,children:b},L)})})},y$=k.createContext({strict:!1}),gC={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"]},Uc={};for(const e in gC)Uc[e]={isEnabled:t=>gC[e].some(n=>!!t[n])};function l0e(e){for(const t in e)Uc[t]={...Uc[t],...e[t]}}const h0e=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 eL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||h0e.has(e)}let k$=e=>!eL(e);function u0e(e){typeof e=="function"&&(k$=t=>t.startsWith("on")?!eL(t):e(t))}try{u0e(require("@emotion/is-prop-valid").default)}catch{}function p0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(k$(i)||n===!0&&eL(i)||!t&&!eL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const rL=k.createContext({});function sL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function S1(e){return typeof e=="string"||Array.isArray(e)}const ww=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Cw=["initial",...ww];function dL(e){return sL(e.animate)||Cw.some(t=>S1(e[t]))}function m$(e){return!!(dL(e)||e.variants)}function y0e(e,t){if(dL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||S1(n)?n:void 0,animate:S1(o)?o:void 0}}return e.inherit!==!1?t:{}}function k0e(e){const{initial:t,animate:n}=y0e(e,k.useContext(rL));return k.useMemo(()=>({initial:t,animate:n}),[vC(t),vC(n)])}function vC(e){return Array.isArray(e)?e.join(" "):e}const j1={};function m0e(e){for(const t in e)j1[t]=e[t],uw(t)&&(j1[t].isCSSVariable=!0)}function f$(e,{layout:t,layoutId:n}){return Kc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!j1[e]||e==="opacity")}const f0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},g0e=Zc.length;function v0e(e,t,n){let o="",i=!0;for(let r=0;r<g0e;r++){const s=Zc[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=r$(d,Lw[s]);if(!l){i=!1;const u=f0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function Nw(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(Kc.has(l)){s=!0;continue}else if(uw(l)){i[l]=h;continue}else{const u=r$(h,Lw[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=v0e(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 Sw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function g$(e,t,n){for(const o in t)!_e(t[o])&&!f$(o,n)&&(e[o]=t[o])}function M0e({transformTemplate:e},t){return k.useMemo(()=>{const n=Sw();return Nw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function _0e(e,t){const n=e.style||{},o={};return g$(o,n,e),Object.assign(o,M0e(e,t)),o}function x0e(e,t){const n={},o=_0e(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 L0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},I0e={offset:"strokeDashoffset",array:"strokeDasharray"};function b0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?L0e:I0e;e[r.offset]=O.transform(-o);const s=O.transform(t),d=O.transform(n);e[r.array]=`${s} ${d}`}function v$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Nw(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&&b0e(p,i,r,s,!1)}const M$=()=>({...Sw(),attrs:{}}),_$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function w0e(e,t,n,o){const i=k.useMemo(()=>{const r=M$();return v$(r,t,_$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};g$(r,e.style,e),i.style={...r,...i.style}}return i}const C0e=["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 jw(e){return typeof e!="string"||e.includes("-")?!1:!!(C0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function N0e(e,t,n,{latestValues:o},i,r=!1){const d=(jw(e)?w0e:x0e)(t,o,i,e),l=p0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>_e(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function MC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function $w(e,t,n,o){if(typeof t=="function"){const[i,r]=MC(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]=MC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Ox(e){return _e(e)?e.get():e}function S0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:j0e(n,o,i,e),renderState:t()}}function j0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Ox(r[y]);let{initial:s,animate:d}=e;const l=dL(e),h=m$(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"&&!sL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const g=$w(e,y[m]);if(g){const{transitionEnd:f,transition:M,..._}=g;for(const v in _){let I=_[v];if(Array.isArray(I)){const w=u?I.length-1:0;I=I[w]}I!==null&&(i[v]=I)}for(const v in f)i[v]=f[v]}}}return i}const x$=e=>(t,n)=>{const o=k.useContext(rL),i=k.useContext(cL),r=()=>S0e(e,t,o,i);return n?r():jt(r)};function qw(e,t,n){const{style:o}=e,i={};for(const r in o)(_e(o[r])||t.style&&_e(t.style[r])||f$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const $0e=x$({scrapeMotionValuesFromProps:qw,createRenderState:Sw});function L$(e,t,n){const o=qw(e,t,n);for(const i in e)if(_e(e[i])||_e(t[i])){const r=Zc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const q0e=x$({scrapeMotionValuesFromProps:L$,createRenderState:M$}),A0e=Symbol.for("motionComponentSymbol");function Pc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function z0e(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):Pc(n)&&(n.current=o))},[t])}const Aw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),V0e="framerAppearId",I$="data-"+Aw(V0e),b$=k.createContext({});function P0e(e,t,n,o,i){const{visualElement:r}=k.useContext(rL),s=k.useContext(y$),d=k.useContext(cL),l=k.useContext(iL).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(b$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&T0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[I$],g=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return ow(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),g.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!g.current&&u.animationState&&u.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(m)}),g.current=!1),u.enteringChildren=void 0)}),u}function T0e(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:w$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Pc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function w$(e){if(e)return e.options.allowProjection!==!1?e.projection:w$(e.parent)}function zL(e,{forwardMotionProps:t=!1}={},n,o){n&&l0e(n);const i=jw(e)?q0e:$0e;function r(d,l){let h;const u={...k.useContext(iL),...d,layoutId:H0e(d)},{isStatic:p}=u,y=k0e(d),m=i(d,p);if(!p&&nw){D0e(u,n);const g=B0e(u);h=g.MeasureLayout,y.visualElement=P0e(e,m,u,o,g.ProjectionNode)}return c.jsxs(rL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,N0e(e,d,z0e(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[A0e]=e,s}function H0e({layoutId:e}){const t=k.useContext(aw).id;return t&&e!==void 0?t+"-"+e:e}function D0e(e,t){const n=k.useContext(y$).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?Wc(!1,o,"lazy-strict-mode"):Ke(!1,o,"lazy-strict-mode")}}function B0e(e){const{drag:t,layout:n}=Uc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function R0e(e,t){if(typeof Proxy>"u")return zL;const n=new Map,o=(r,s)=>zL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&dw(!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,zL(s,void 0,e,t)),n.get(s))})}function C$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function F0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function E0e(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 VL(e){return e===void 0||e===1}function Ob({scale:e,scaleX:t,scaleY:n}){return!VL(e)||!VL(t)||!VL(n)}function vc(e){return Ob(e)||N$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function N$(e){return _C(e.x)||_C(e.y)}function _C(e){return e&&e!=="0%"}function tL(e,t,n){const o=e-n,i=t*o;return n+i}function xC(e,t,n,o,i){return i!==void 0&&(e=tL(e,i,o)),tL(e,n,o)+t}function Ub(e,t=0,n=1,o,i){e.min=xC(e.min,t,n,o,i),e.max=xC(e.max,t,n,o,i)}function S$(e,{x:t,y:n}){Ub(e.x,t.translate,t.scale,t.originPoint),Ub(e.y,n.translate,n.scale,n.originPoint)}const LC=.999999999999,IC=1.0000000000001;function O0e(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&&Hc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,S$(e,s)),o&&vc(r.latestValues)&&Hc(e,r.latestValues))}t.x<IC&&t.x>LC&&(t.x=1),t.y<IC&&t.y>LC&&(t.y=1)}function Tc(e,t){e.min=e.min+t,e.max=e.max+t}function bC(e,t,n,o,i=.5){const r=ie(e.min,e.max,i);Ub(e,t,n,r,o)}function Hc(e,t){bC(e.x,t.x,t.scaleX,t.scale,t.originX),bC(e.y,t.y,t.scaleY,t.scale,t.originY)}function j$(e,t){return C$(E0e(e.getBoundingClientRect(),t))}function U0e(e,t,n){const o=j$(e,n),{scroll:i}=t;return i&&(Tc(o.x,i.offset.x),Tc(o.y,i.offset.y)),o}const wC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Dc=()=>({x:wC(),y:wC()}),CC=()=>({min:0,max:0}),he=()=>({x:CC(),y:CC()}),Wb={current:null},$$={current:!1};function W0e(){if($$.current=!0,!!nw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Wb.current=e.matches;e.addEventListener("change",t),t()}else Wb.current=!1}const G0e=new WeakMap;function Z0e(e,t,n){for(const o in t){const i=t[o],r=n[o];if(_e(i))e.addValue(o,i);else if(_e(r))e.addValue(o,wc(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,wc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const NC=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class K0e{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=_w,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=Ae.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,oe.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=dL(n),this.isVariantNode=m$(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&&_e(m)&&m.set(l[y])}}mount(t){this.current=t,G0e.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)),$$.current||W0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Wb.current,process.env.NODE_ENV!=="production"&&dw(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=Kc.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&oe.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 Uc){const n=Uc[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):he()}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<NC.length;o++){const i=NC[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=Z0e(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=wc(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"&&(xj(o)||Ij(o))?o=parseFloat(o):!a0e(o)&&St.test(n)&&(o=i$(t,n)),this.setBaseTarget(t,_e(o)?o.get():o)),_e(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=$w(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&&!_e(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 sw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Iw.render(this.render)}}class q$ extends K0e{constructor(){super(...arguments),this.KeyframeResolver=Ede}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;_e(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function A$(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 X0e(e){return window.getComputedStyle(e)}class Y0e extends q${constructor(){super(...arguments),this.type="html",this.renderInstance=A$}readValueFromInstance(t,n){if(Kc.has(n))return this.projection?.isProjecting?Tb(n):rde(t,n);{const o=X0e(t),i=(uw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return j$(t,n)}build(t,n,o){Nw(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return qw(t,n,o)}}const z$=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 J0e(e,t,n,o){A$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(z$.has(i)?i:Aw(i),t.attrs[i])}class Q0e extends q${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=he}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Kc.has(n)){const o=c$(n);return o&&o.default||0}return n=z$.has(n)?n:Aw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return L$(t,n,o)}build(t,n,o){v$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){J0e(t,n,o,i)}mount(t){this.isSVGTag=_$(t.tagName),super.mount(t)}}const ele=(e,t)=>jw(e)?new Q0e(t):new Y0e(t,{allowProjection:e!==k.Fragment});function Oc(e,t,n){const o=e.getProps();return $w(o,t,n!==void 0?n:o.custom,e)}const Gb=e=>Array.isArray(e);function tle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,wc(n))}function ale(e){return Gb(e)?e[e.length-1]||0:e}function nle(e,t){const n=Oc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=ale(r[s]);tle(e,s,d)}}function ole(e){return!!(_e(e)&&e.add)}function Zb(e,t){const n=e.getValue("willChange");if(ole(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function V$(e){return e.props[I$]}const cle=e=>e!==null;function ile(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(cle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const rle={type:"spring",stiffness:500,damping:25,restSpeed:10},sle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),dle={type:"keyframes",duration:.8},lle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},hle=(e,{keyframes:t})=>t.length>2?dle:Kc.has(e)?e.startsWith("scale")?sle(t[1]):rle:lle;function ule({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 zw=(e,t,n,o={},i,r)=>s=>{const d=xw(o,e)||{},l=d.delay||o.delay||0;let{elapsed:h=0}=o;h=h-Ze(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};ule(d)||Object.assign(u,hle(e,u)),u.duration&&(u.duration=Ze(u.duration)),u.repeatDelay&&(u.repeatDelay=Ze(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Fb(u),u.delay===0&&(p=!0)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Fb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ile(u.keyframes,d);if(y!==void 0){oe.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Mw(u):new jde(u)};function ple({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function P$(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&&ple(h,u))continue;const m={delay:n,...xw(r||{},u)},g=p.get();if(g!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===g&&!m.velocity)continue;let f=!1;if(window.MotionHandoffAnimation){const _=V$(e);if(_){const v=window.MotionHandoffAnimation(_,u,oe);v!==null&&(m.startTime=v,f=!0)}}Zb(e,u),p.start(zw(u,p,y,e.shouldReduceMotion&&a$.has(u)?{type:!1}:m,e,f));const M=p.animation;M&&l.push(M)}return s&&Promise.all(l).then(()=>{oe.update(()=>{s&&nle(e,s)})}),l}function T$(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 Kb(e,t,n={}){const o=Oc(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(P$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return yle(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 yle(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(Kb(l,t,{...s,delay:n+(typeof o=="function"?0:o)+T$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function kle(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>Kb(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=Kb(e,t,n);else{const i=typeof t=="function"?Oc(e,t,n.custom):t;o=Promise.all(P$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function H$(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 mle=Cw.length;function D$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?D$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<mle;n++){const o=Cw[n],i=e.props[o];(S1(i)||i===!1)&&(t[o]=i)}return t}const fle=[...ww].reverse(),gle=ww.length;function vle(e){return t=>Promise.all(t.map(({animation:n,options:o})=>kle(e,n,o)))}function Mle(e){let t=vle(e),n=SC(),o=!0;const i=l=>(h,u)=>{const p=Oc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:m,...g}=p;h={...h,...g,...m}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=D$(e.parent)||{},p=[],y=new Set;let m={},g=1/0;for(let M=0;M<gle;M++){const _=fle[M],v=n[_],I=h[_]!==void 0?h[_]:u[_],w=S1(I),C=_===l?v.isActive:null;C===!1&&(g=M);let b=I===u[_]&&I!==h[_]&&w;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...m},!v.isActive&&C===null||!I&&!v.prevProp||sL(I)||typeof I=="boolean")continue;const L=_le(v.prevProp,I);let x=L||_===l&&v.isActive&&!b&&w||M>g&&w,S=!1;const j=Array.isArray(I)?I:[I];let $=j.reduce(i(_),{});C===!1&&($={});const{prevResolvedValues:q={}}=v,P={...q,...$},T=V=>{x=!0,y.has(V)&&(S=!0,y.delete(V)),v.needsAnimating[V]=!0;const H=e.getValue(V);H&&(H.liveStyle=!1)};for(const V in P){const H=$[V],F=q[V];if(m.hasOwnProperty(V))continue;let B=!1;Gb(H)&&Gb(F)?B=!H$(H,F):B=H!==F,B?H!=null?T(V):y.add(V):H!==void 0&&y.has(V)?T(V):v.protectedKeys[V]=!0}v.prevProp=I,v.prevResolvedValues=$,v.isActive&&(m={...m,...$}),o&&e.blockInitialAnimation&&(x=!1);const z=b&&L;x&&(!z||S)&&p.push(...j.map(V=>{const H={type:_};if(typeof V=="string"&&o&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:F}=e,B=Oc(F,V);if(F.enteringChildren&&B){const{delayChildren:R}=B.transition||{};H.delay=T$(F.enteringChildren,e,R)}}return{animation:V,options:H}}))}if(y.size){const M={};if(typeof h.initial!="boolean"){const _=Oc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(M.transition=_.transition)}y.forEach(_=>{const v=e.getBaseTarget(_),I=e.getValue(_);I&&(I.liveStyle=!0),M[_]=v??null}),p.push({animation:M})}let f=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(f=!1),o=!1,f?t(p):Promise.resolve()}function d(l,h){if(n[l].isActive===h)return Promise.resolve();e.variantChildren?.forEach(p=>p.animationState?.setActive(l,h)),n[l].isActive=h;const u=s(l);for(const p in n)n[p].protectedKeys={};return u}return{animateChanges:s,setActive:d,setAnimateFunction:r,getState:()=>n,reset:()=>{n=SC()}}}function _le(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!H$(t,e):!1}function zt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function SC(){return{animate:zt(!0),whileInView:zt(),whileHover:zt(),whileTap:zt(),whileDrag:zt(),whileFocus:zt(),exit:zt()}}class $t{constructor(t){this.isMounted=!1,this.node=t}update(){}}class xle extends $t{constructor(t){super(t),t.animationState||(t.animationState=Mle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();sL(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 Lle=0;class Ile extends $t{constructor(){super(...arguments),this.id=Lle++}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 ble={animation:{Feature:xle},exit:{Feature:Ile}};function $1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function P1(e){return{point:{x:e.pageX,y:e.pageY}}}const wle=e=>t=>bw(t)&&e(t,P1(t));function L1(e,t,n,o){return $1(e,t,wle(n),o)}const B$=1e-4,Cle=1-B$,Nle=1+B$,R$=.01,Sle=0-R$,jle=0+R$;function Ne(e){return e.max-e.min}function $le(e,t,n){return Math.abs(e-t)<=n}function jC(e,t,n,o=.5){e.origin=o,e.originPoint=ie(t.min,t.max,e.origin),e.scale=Ne(n)/Ne(t),e.translate=ie(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Cle&&e.scale<=Nle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Sle&&e.translate<=jle||isNaN(e.translate))&&(e.translate=0)}function I1(e,t,n,o){jC(e.x,t.x,n.x,o?o.originX:void 0),jC(e.y,t.y,n.y,o?o.originY:void 0)}function $C(e,t,n){e.min=n.min+t.min,e.max=e.min+Ne(t)}function qle(e,t,n){$C(e.x,t.x,n.x),$C(e.y,t.y,n.y)}function qC(e,t,n){e.min=t.min-n.min,e.max=e.min+Ne(t)}function b1(e,t,n){qC(e.x,t.x,n.x),qC(e.y,t.y,n.y)}function Be(e){return[e("x"),e("y")]}const F$=({current:e})=>e?e.ownerDocument.defaultView:null,AC=(e,t)=>Math.abs(e-t);function Ale(e,t){const n=AC(e.x,t.x),o=AC(e.y,t.y);return Math.sqrt(n**2+o**2)}class E${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=TL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=Ale(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:f}=y,{timestamp:M}=Me;this.history.push({...f,timestamp:M});const{onStart:_,onMove:v}=this.handlers;m||(_&&_(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,m)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=PL(m,this.transformPagePoint),oe.update(this.updatePoint,!0)},this.handlePointerUp=(y,m)=>{this.end();const{onEnd:g,onSessionEnd:f,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=TL(y.type==="pointercancel"?this.lastMoveEventInfo:PL(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,_),f&&f(y,_)},!bw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=P1(t),l=PL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=Me;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,TL(l,this.history)),this.removeListeners=A1(L1(this.contextWindow,"pointermove",this.handlePointerMove),L1(this.contextWindow,"pointerup",this.handlePointerUp),L1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function PL(e,t){return t?{point:t(e.point)}:e}function zC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function TL({point:e},t){return{point:e,delta:zC(e,O$(t)),offset:zC(e,zle(t)),velocity:Vle(t,.1)}}function zle(e){return e[0]}function O$(e){return e[e.length-1]}function Vle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=O$(e);for(;n>=0&&(o=e[n],!(i.timestamp-o.timestamp>Ze(t)));)n--;if(!o)return{x:0,y:0};const r=Fe(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 Ple(e,{min:t,max:n},o){return t!==void 0&&e<t?e=o?ie(t,e,o.min):Math.max(e,t):n!==void 0&&e>n&&(e=o?ie(n,e,o.max):Math.min(e,n)),e}function VC(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 Tle(e,{top:t,left:n,bottom:o,right:i}){return{x:VC(e.x,n,i),y:VC(e.y,t,o)}}function PC(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 Hle(e,t){return{x:PC(e.x,t.x),y:PC(e.y,t.y)}}function Dle(e,t){let n=.5;const o=Ne(e),i=Ne(t);return i>o?n=w1(t.min,t.max-o,e.min):o>i&&(n=w1(e.min,e.max-i,t.min)),ut(0,1,n)}function Ble(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 Xb=.35;function Rle(e=Xb){return e===!1?e=0:e===!0&&(e=Xb),{x:TC(e,"left","right"),y:TC(e,"top","bottom")}}function TC(e,t,n){return{min:HC(e,t),max:HC(e,n)}}function HC(e,t){return typeof e=="number"?e:e[t]||0}const Fle=new WeakMap;class Ele{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=he(),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(P1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:g,onDragStart:f}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Gde(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),Be(_=>{let v=this.getAxisMotionValue(_).get()||0;if(ot.test(v)){const{projection:I}=this.visualElement;if(I&&I.layout){const w=I.layout.layoutBox[_];w&&(v=Ne(w)*(parseFloat(v)/100))}}this.originPoint[_]=v}),f&&oe.postRender(()=>f(p,y)),Zb(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:m,dragDirectionLock:g,onDirectionLock:f,onDrag:M}=this.getProps();if(!m&&!this.openDragLock)return;const{offset:_}=y;if(g&&this.currentDirection===null){this.currentDirection=Ole(_),this.currentDirection!==null&&f&&f(this.currentDirection);return}this.updateAxis("x",y.point,_),this.updateAxis("y",y.point,_),this.visualElement.render(),M&&M(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Be(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new E$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:F$(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&&oe.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||!E1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Ple(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&&Pc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Tle(o.layoutBox,t):this.constraints=!1,this.elastic=Rle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Be(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Ble(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Pc(t))return!1;const o=t.current;Ke(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=U0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Hle(i.layout.layoutBox,r);if(n){const d=n(F0e(s));this.hasMutatedConstraints=!!d,d&&(s=C$(d))}return s}startAnimation(t){const{drag:n,dragMomentum:o,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Be(u=>{if(!E1(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,g={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:m,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return Zb(this.visualElement,t),o.start(zw(t,o,0,n,this.visualElement,!1))}stopAnimation(){Be(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Be(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){Be(n=>{const{drag:o}=this.getProps();if(!E1(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]-ie(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:o}=this.visualElement;if(!Pc(n)||!o||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Be(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=Dle({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(),Be(s=>{if(!E1(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ie(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;Fle.set(this.visualElement,this);const t=this.visualElement.current,n=L1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Pc(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()),oe.read(o);const s=$1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Be(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=Xb,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function E1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Ole(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Ule extends $t{constructor(t){super(t),this.removeGroupControls=Ee,this.removeListeners=Ee,this.controls=new Ele(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Ee}unmount(){this.removeGroupControls(),this.removeListeners()}}const DC=e=>(t,n)=>{e&&oe.postRender(()=>e(t,n))};class Wle extends $t{constructor(){super(...arguments),this.removePointerDownListener=Ee}onPointerDown(t){this.session=new E$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:F$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:DC(t),onStart:DC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&oe.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=L1(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 Ux={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function BC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const e1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(O.test(e))e=parseFloat(e);else return e;const n=BC(e,t.target.x),o=BC(e,t.target.y);return`${n}% ${o}%`}},Gle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=St.parse(e);if(i.length>5)return o;const r=St.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=ie(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 HL=!1;class Zle extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;m0e(Kle),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),HL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Ux.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,HL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||oe.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Iw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;HL=!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 U$(e){const[t,n]=p$(),o=k.useContext(aw);return c.jsx(Zle,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(b$),isPresent:t,safeToRemove:n})}const Kle={borderRadius:{...e1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:e1,borderTopRightRadius:e1,borderBottomLeftRadius:e1,borderBottomRightRadius:e1,boxShadow:Gle};function Xle(e,t,n){const o=_e(e)?e:wc(e);return o.start(zw("",o,t,n)),o.animation}const Yle=(e,t)=>e.depth-t.depth;class Jle{constructor(){this.children=[],this.isDirty=!1}add(t){cw(this.children,t),this.isDirty=!0}remove(t){iw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(Yle),this.isDirty=!1,this.children.forEach(t)}}function Qle(e,t){const n=Ae.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return oe.setup(o,!0),()=>yt(o)}const W$=["TopLeft","TopRight","BottomLeft","BottomRight"],ehe=W$.length,RC=e=>typeof e=="string"?parseFloat(e):e,FC=e=>typeof e=="number"||O.test(e);function the(e,t,n,o,i,r){i?(e.opacity=ie(0,n.opacity??1,ahe(o)),e.opacityExit=ie(t.opacity??1,0,nhe(o))):r&&(e.opacity=ie(t.opacity??1,n.opacity??1,o));for(let s=0;s<ehe;s++){const d=`border${W$[s]}Radius`;let l=EC(t,d),h=EC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||FC(l)===FC(h)?(e[d]=Math.max(ie(RC(l),RC(h),o),0),(ot.test(h)||ot.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,o))}function EC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const ahe=G$(0,.5,qj),nhe=G$(.5,.95,Ee);function G$(e,t,n){return o=>o<e?0:o>t?1:n(w1(e,t,o))}function OC(e,t){e.min=t.min,e.max=t.max}function Te(e,t){OC(e.x,t.x),OC(e.y,t.y)}function UC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function WC(e,t,n,o,i){return e-=t,e=tL(e,1/n,o),i!==void 0&&(e=tL(e,1/i,o)),e}function ohe(e,t=0,n=1,o=.5,i,r=e,s=e){if(ot.test(t)&&(t=parseFloat(t),t=ie(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ie(r.min,r.max,o);e===r&&(d-=t),e.min=WC(e.min,t,n,d,i),e.max=WC(e.max,t,n,d,i)}function GC(e,t,[n,o,i],r,s){ohe(e,t[n],t[o],t[i],t.scale,r,s)}const che=["x","scaleX","originX"],ihe=["y","scaleY","originY"];function ZC(e,t,n,o){GC(e.x,t,che,n?n.x:void 0,o?o.x:void 0),GC(e.y,t,ihe,n?n.y:void 0,o?o.y:void 0)}function KC(e){return e.translate===0&&e.scale===1}function Z$(e){return KC(e.x)&&KC(e.y)}function XC(e,t){return e.min===t.min&&e.max===t.max}function rhe(e,t){return XC(e.x,t.x)&&XC(e.y,t.y)}function YC(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function K$(e,t){return YC(e.x,t.x)&&YC(e.y,t.y)}function JC(e){return Ne(e.x)/Ne(e.y)}function QC(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class she{constructor(){this.members=[]}add(t){cw(this.members,t),t.scheduleRender()}remove(t){if(iw(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 dhe(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:g}=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) `),g&&(o+=`skewY(${g}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 DL=["","X","Y","Z"],lhe=1e3;let hhe=0;function BL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function X$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=V$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",oe,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&X$(o)}function Y$({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=hhe++,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(yhe),this.nodes.forEach(ghe),this.nodes.forEach(vhe),this.nodes.forEach(khe)},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 Jle)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new sw),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=u$(s)&&!Qde(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;oe.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=Qle(y,250),Ux.hasAnimatedSinceResize&&(Ux.hasAnimatedSinceResize=!1,this.nodes.forEach(aN)))})}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 g=this.options.transition||h.getDefaultTransition()||Ihe,{onLayoutAnimationStart:f,onLayoutAnimationComplete:M}=h.getProps(),_=!this.targetLayout||!K$(this.targetLayout,m),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...xw(g,"layout"),onPlay:f,onComplete:M};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(u,v)}else p||aN(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(Mhe),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&&X$(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(eN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(tN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(fhe),this.nodes.forEach(uhe),this.nodes.forEach(phe)):this.nodes.forEach(tN),this.clearAllSnapshots();const d=Ae.now();Me.delta=ut(0,1e3/60,d-Me.timestamp),Me.timestamp=d,Me.isProcessing=!0,NL.update.process(Me),NL.preRender.process(Me),NL.render.process(Me),Me.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Iw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(mhe),this.sharedNodes.forEach(_he)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,oe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){oe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Ne(this.snapshot.measuredBox.x)&&!Ne(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=he(),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&&!Z$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||vc(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)),bhe(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return he();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(whe))){const{scroll:h}=this.root;h&&(Tc(d.x,h.offset.x),Tc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=he();if(Te(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&&Te(d,s),Tc(d.x,u.offset.x),Tc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=he();Te(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&&Hc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),vc(u.latestValues)&&Hc(l,u.latestValues)}return vc(this.latestValues)&&Hc(l,this.latestValues),l}removeTransform(s){const d=he();Te(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!vc(h.latestValues))continue;Ob(h.latestValues)&&h.updateSnapshot();const u=he(),p=h.measurePageBox();Te(u,p),ZC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return vc(this.latestValues)&&ZC(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!==Me.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=Me.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=he(),this.relativeTargetOrigin=he(),b1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=he(),this.targetWithTransforms=he()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),qle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Te(this.target,this.layout.layoutBox),S$(this.target,this.targetDelta)):Te(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=he(),this.relativeTargetOrigin=he(),b1(this.relativeTargetOrigin,this.target,y.target),Te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Ob(this.parent.latestValues)||N$(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===Me.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;Te(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;O0e(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=he());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(UC(this.prevProjectionDelta.x,this.projectionDelta.x),UC(this.prevProjectionDelta.y,this.projectionDelta.y)),I1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!QC(this.projectionDelta.x,this.prevProjectionDelta.x)||!QC(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=Dc(),this.projectionDelta=Dc(),this.projectionDeltaWithTransform=Dc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Dc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=he(),m=l?l.source:void 0,g=this.layout?this.layout.source:void 0,f=m!==g,M=this.getStack(),_=!M||M.members.length<=1,v=!!(f&&!_&&this.options.crossfade===!0&&!this.path.some(Lhe));this.animationProgress=0;let I;this.mixTargetDelta=w=>{const C=w/1e3;nN(p.x,s.x,C),nN(p.y,s.y,C),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(b1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),xhe(this.relativeTarget,this.relativeTargetOrigin,y,C),I&&rhe(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=he()),Te(I,this.relativeTarget)),f&&(this.animationValues=u,the(u,h,this.latestValues,C,v,_)),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=oe.update(()=>{Ux.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=wc(0)),this.currentAnimation=Xle(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(lhe),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&&J$(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||he();const p=Ne(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=Ne(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Te(d,l),Hc(d,u),I1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new she),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&&BL("z",s,h,this.animationValues);for(let u=0;u<DL.length;u++)BL(`rotate${DL[u]}`,s,h,this.animationValues),BL(`skew${DL[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=Ox(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=Ox(d?.pointerEvents)||""),this.hasProjected&&!vc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=dhe(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 g in j1){if(u[g]===void 0)continue;const{correct:f,applyTo:M,isCSSVariable:_}=j1[g],v=p==="none"?u[g]:f(u[g],h);if(M){const I=M.length;for(let w=0;w<I;w++)s[M[w]]=v}else _?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?Ox(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(eN),this.root.sharedNodes.clear()}}}function uhe(e){e.updateLayout()}function phe(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"?Be(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ne(p);p.min=n[u].min,p.max=p.min+y}):J$(i,t.layoutBox,n)&&Be(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ne(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=Dc();I1(s,n,t.layoutBox);const d=Dc();r?I1(d,e.applyTransform(o,!0),t.measuredBox):I1(d,n,t.layoutBox);const l=!Z$(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=he();b1(m,t.layoutBox,p.layoutBox);const g=he();b1(g,n,y.layoutBox),K$(m,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,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 yhe(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 khe(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function mhe(e){e.clearSnapshot()}function eN(e){e.clearMeasurements()}function tN(e){e.isLayoutDirty=!1}function fhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function aN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ghe(e){e.resolveTargetDelta()}function vhe(e){e.calcProjection()}function Mhe(e){e.resetSkewAndRotation()}function _he(e){e.removeLeadSnapshot()}function nN(e,t,n){e.translate=ie(t.translate,0,n),e.scale=ie(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function oN(e,t,n,o){e.min=ie(t.min,n.min,o),e.max=ie(t.max,n.max,o)}function xhe(e,t,n,o){oN(e.x,t.x,n.x,o),oN(e.y,t.y,n.y,o)}function Lhe(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Ihe={duration:.45,ease:[.4,0,.1,1]},cN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),iN=cN("applewebkit/")&&!cN("chrome/")?Math.round:Ee;function rN(e){e.min=iN(e.min),e.max=iN(e.max)}function bhe(e){rN(e.x),rN(e.y)}function J$(e,t,n){return e==="position"||e==="preserve-aspect"&&!$le(JC(t),JC(n),.2)}function whe(e){return e!==e.root&&e.scroll?.wasRoot}const Che=Y$({attachResizeListener:(e,t)=>$1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),RL={current:void 0},Q$=Y$({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!RL.current){const e=new Che({});e.mount(window),e.setOptions({layoutScroll:!0}),RL.current=e}return RL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Nhe={pan:{Feature:Wle},drag:{Feature:Ule,ProjectionNode:Q$,MeasureLayout:U$}};function sN(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&&oe.postRender(()=>r(t,P1(t)))}class She extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=Zde(t,(n,o)=>(sN(this.node,o,"Start"),i=>sN(this.node,i,"End"))))}unmount(){}}class jhe extends $t{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=A1($1(this.node.current,"focus",()=>this.onFocus()),$1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function dN(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&&oe.postRender(()=>r(t,P1(t)))}class $he extends $t{mount(){const{current:t}=this.node;t&&(this.unmount=Jde(t,(n,o)=>(dN(this.node,o,"Start"),(i,{success:r})=>dN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const Yb=new WeakMap,FL=new WeakMap,qhe=e=>{const t=Yb.get(e.target);t&&t(e)},Ahe=e=>{e.forEach(qhe)};function zhe({root:e,...t}){const n=e||document;FL.has(n)||FL.set(n,{});const o=FL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Ahe,{root:e,...t})),o[i]}function Vhe(e,t,n){const o=zhe(t);return Yb.set(e,n),o.observe(e),()=>{Yb.delete(e),o.unobserve(e)}}const Phe={some:0,all:1};class The extends $t{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:Phe[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 Vhe(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(Hhe(t,n))&&this.startObserver()}unmount(){}}function Hhe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Dhe={inView:{Feature:The},tap:{Feature:$he},focus:{Feature:jhe},hover:{Feature:She}},Bhe={layout:{ProjectionNode:Q$,MeasureLayout:U$}},Rhe={...ble,...Dhe,...Nhe,...Bhe},Vw=R0e(Rhe,ele);function eq(e){const t=jt(()=>wc(e)),{isStatic:n}=k.useContext(iL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function tq(e,t){const n=eq(t()),o=()=>n.set(t());return o(),ow(()=>{const i=()=>oe.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function Fhe(e){x1.current=[],e();const t=tq(x1.current,e);return x1.current=void 0,t}function Ehe(e,t,n,o){if(typeof e=="function")return Fhe(e);const i=typeof t=="function"?t:e0e(t,n,o);return Array.isArray(e)?lN(e,i):lN([e],([r])=>i(r))}function lN(e,t){const n=jt(()=>[]);return tq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Ohe{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 Uhe=()=>new Ohe;function Whe(){return jt(Uhe)}const aq=k.createContext(null);function Ghe(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=ie(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?i2e(e,i,i+r):e}function Zhe({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=jt(()=>Vw[t]),l=[],h=k.useRef(!1);Ke(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const m=l.findIndex(g=>p===g.value);m!==-1?l[m].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(Yhe)},updateOrder:(p,y,m)=>{if(h.current)return;const g=Ghe(l,p,y,m);l!==g&&(h.current=!0,o(g.map(Xhe).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(aq.Provider,{value:u,children:e})})}const Khe=k.forwardRef(Zhe);function Xhe(e){return e.value}function Yhe(e,t){return e.layout.min-t.layout.min}function hN(e,t=0){return _e(e)?e:eq(t)}function Jhe({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=jt(()=>Vw[o]),h=k.useContext(aq),u={x:hN(t.x),y:hN(t.y)},p=Ehe([u.x,u.y],([f,M])=>f||M?1:"unset");Ke(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:m,updateOrder:g}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(f,M)=>{const{velocity:_}=M;_[y]&&g(n,u[y].get(),_[y]),i&&i(f,M)},onLayoutMeasure:f=>m(n,f),ref:d,ignoreStrict:!0,children:e})}const Qhe=k.forwardRef(Jhe),aL=[c.jsx(M1,{size:18}),c.jsx(xt,{size:18}),c.jsx(f1,{size:18}),c.jsx(Lt,{size:18}),c.jsx(d1,{size:18}),c.jsx(s1,{size:18})],eue=({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=aL[u%aL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),g=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(g){const f=g[1],M=g[2]??"",_=f.padStart(3,"0");h.text=`${y} / ${_}${M}`}}}),l(e)):l([])},[e]),c.jsxs("div",{className:`trend-list ${o??""}`,draggable:n,style:{position:"relative"},children:[c.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),c.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:c.jsx(Khe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(tue,{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 tue({value:e,index:t}){const n=Whe(),o=aL[t%aL.length]??null;return c.jsx(Qhe,{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(_j,{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 aue(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 nue(e){return!e||typeof e=="string"&&e.trim()===""}function oue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function cue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function iue(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 rue(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 sue(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 due(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 nL(e,t){const n=aue(e,t);if(n)return n;if(nue(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=oue(o);if(r)return r;break}case"url":{const r=cue(o);if(r)return r;break}case"number":{const r=iue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=rue(e,t);if(r)return r;break}case"file":{const r=sue(e,t);if(r)return r;break}}const i=due(o,t);return i||{isValid:!0}}function nq(e,t){const n={};let o=!0;for(const i of t){const r=nL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const lue="_formContainer_14ads_1",hue="_headerLine_14ads_17",uue="_formTitle_14ads_25",pue="_formDescription_14ads_30",yue="_sectionTitle_14ads_37",kue="_sectionHelp_14ads_44",mue="_fieldHelp_14ads_50",fue="_gridContainer_14ads_58",gue="_fieldGridItem_14ads_70",vue="_sectionFull_14ads_105",Mue="_formFooter_14ads_110",_ue="_footerLeft_14ads_118",xue="_footerRight_14ads_119",Lue="_cancelLink_14ads_125",Iue="_submitButton_14ads_136",bue="_fieldLabel_14ads_148",wue="_inputWrapper_14ads_163",Cue="_inputInner_14ads_187",Nue="_hasPrefix_14ads_196",Sue="_inputBase_14ads_196",jue="_iconPrefix_14ads_292",$ue="_iconSuffix_14ads_293",que="_passwordToggle_14ads_319",Aue="_fieldError_14ads_365",zue="_fieldInvalid_14ads_372",ne={formContainer:lue,headerLine:hue,formTitle:uue,formDescription:pue,sectionTitle:yue,sectionHelp:kue,fieldHelp:mue,gridContainer:fue,fieldGridItem:gue,sectionFull:vue,formFooter:Mue,footerLeft:_ue,footerRight:xue,cancelLink:Lue,submitButton:Iue,fieldLabel:bue,inputWrapper:wue,inputInner:Cue,hasPrefix:Nue,inputBase:Sue,iconPrefix:jue,iconSuffix:$ue,passwordToggle:que,fieldError:Aue,fieldInvalid:zue},oq=({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=g=>{n(g.target.value)};return c.jsxs("div",{className:ne.inputWrapper,children:[c.jsx("label",{className:`${ne.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${ne.inputInner} ${p&&y==="prefix"?ne.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:ne.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ne.inputBase} ${i?ne.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:ne.passwordToggle,onClick:()=>d(g=>!g),children:s?c.jsx(p1,{size:16}):c.jsx(y1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:ne.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:ne.fieldError,children:i})]})},Vue="_fieldGroup_yb3zi_7",Pue="_fieldLabel_yb3zi_11",Tue="_required_yb3zi_17",Hue="_fieldInput_yb3zi_22",Due="_fieldInvalid_yb3zi_40",Bue="_fieldValid_yb3zi_44",Rue="_fieldError_yb3zi_48",Fue="_radioGroup_yb3zi_57",bt={fieldGroup:Vue,fieldLabel:Pue,required:Tue,fieldInput:Hue,fieldInvalid:Due,fieldValid:Bue,fieldError:Rue,radioGroup:Fue},lL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:bt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${bt.fieldLabel} ${e.required?bt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:bt.fieldError,children:n})]})},cq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",bt.fieldInput,s?bt.fieldInvalid:"",d?bt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(lL,{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})})},Eue="_wrapper_117u4_1",Oue="_wrapperInvalid_117u4_15",Uue="_nativeSelect_117u4_19",Wue="_display_117u4_30",Gue="_topLabel_117u4_37",Zue="_valueLine_117u4_45",Kue="_valuePlaceholder_117u4_53",Xue="_valueActive_117u4_57",Yue="_caret_117u4_61",Jue="_error_117u4_75",Que="_optionStyle_117u4_89",He={wrapper:Eue,wrapperInvalid:Oue,nativeSelect:Uue,display:Wue,topLabel:Gue,valueLine:Zue,valuePlaceholder:Kue,valueActive:Xue,caret:Yue,error:Jue,optionStyle:Que},Pw=({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:`${He.wrapper} ${s?He.wrapperInvalid:""} ${t?He.wrapperHasValue:""}`,children:[c.jsxs("select",{id:e.name,name:e.name,className:He.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:He.optionStyle,children:u.label},p))]}),c.jsxs("div",{className:He.display,children:[d&&c.jsx("span",{className:He.topLabel,children:d}),c.jsx("span",{className:`${He.valueLine} ${t?He.valueActive:He.valuePlaceholder}`,children:t?h:l}),c.jsx("span",{className:He.caret,"aria-hidden":"true"})]}),s&&c.jsx("span",{className:He.error,children:i})]})},iq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(lL,{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})]})}),rq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(lL,{field:e,error:i,touched:r,children:c.jsx("div",{className:bt.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))})}),epe="_fileInputContainer_r2guc_3",tpe="_customFileInput_r2guc_8",ape="_fileInputLabel_r2guc_12",npe="_dragOver_r2guc_39",ope="_uploadIcon_r2guc_44",cpe="_uploadText_r2guc_50",ipe="_uploadHint_r2guc_56",rpe="_fileList_r2guc_60",spe="_fileListTitle_r2guc_69",dpe="_fileItem_r2guc_80",lpe="_fileIcon_r2guc_96",hpe="_fileName_r2guc_102",upe="_fileSize_r2guc_108",ppe="_removeButton_r2guc_114",ype="_errorText_r2guc_129",Le={fileInputContainer:epe,customFileInput:tpe,fileInputLabel:ape,dragOver:npe,uploadIcon:ope,uploadText:cpe,uploadHint:ipe,fileList:rpe,fileListTitle:spe,fileItem:dpe,fileIcon:lpe,fileName:hpe,fileSize:upe,removeButton:ppe,errorText:ype},sq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=M=>{n(M.target.files)},u=()=>{s.current&&s.current.click()},p=M=>{M.preventDefault(),l(!0)},y=()=>{l(!1)},m=M=>{M.preventDefault(),l(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},g=M=>{if(!t)return;const _=Array.from(t);_.splice(M,1);const v=new DataTransfer;_.forEach(I=>v.items.add(I)),n(v.files)},f=M=>{if(M===0)return"0 Bytes";const _=1024,v=["Bytes","KB","MB","GB"],I=Math.floor(Math.log(M)/Math.log(_));return parseFloat((M/Math.pow(_,I)).toFixed(2))+" "+v[I]};return c.jsxs("div",{className:`${Le.fileInputContainer} ${r&&i?Le.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:Le.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${Le.fileInputLabel} ${d?Le.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[c.jsx("div",{className:Le.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:Le.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:Le.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:Le.fileList,children:[c.jsx("div",{className:Le.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((M,_)=>c.jsxs("li",{className:Le.fileItem,children:[c.jsx("div",{className:Le.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:Le.fileName,children:M.name}),c.jsx("div",{className:Le.fileSize,children:f(M.size)}),c.jsx("button",{type:"button",className:Le.removeButton,onClick:v=>{v.stopPropagation(),g(_)},"aria-label":`Supprimer ${M.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),c.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},_))})]}),r&&i&&c.jsx("div",{className:Le.errorText,children:i})]})},kpe="_container_ecah4_2",mpe="_label_ecah4_6",fpe="_requiredIndicator_ecah4_13",gpe="_input_ecah4_18",vpe="_inputError_ecah4_49",Mpe="_errorMessage_ecah4_58",qc={container:kpe,label:mpe,requiredIndicator:fpe,input:gpe,inputError:vpe,errorMessage:Mpe},dq=({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:qc.container,children:[c.jsxs("label",{htmlFor:e.name,className:qc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:qc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${qc.input} ${r&&i?qc.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:qc.errorMessage,children:i})]})},_pe="_rangeContainer_cyqk3_3",xpe={rangeContainer:_pe},lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${xpe.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})]}),Lpe="_colorPickerContainer_1wxgj_2",Ipe="_colorInput_1wxgj_19",bpe="_colorValue_1wxgj_39",EL={colorPickerContainer:Lpe,colorInput:Ipe,colorValue:bpe},hq=({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:EL.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:EL.colorInput}),c.jsx("span",{className:EL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),uq=({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(sq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(dq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(cq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Pw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(iq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(rq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(oq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var OL,uN;function wpe(){if(uN)return OL;uN=1;function e(){this.__data__=[],this.size=0}return OL=e,OL}var UL,pN;function pq(){if(pN)return UL;pN=1;function e(t,n){return t===n||t!==t&&n!==n}return UL=e,UL}var WL,yN;function hL(){if(yN)return WL;yN=1;var e=pq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return WL=t,WL}var GL,kN;function Cpe(){if(kN)return GL;kN=1;var e=hL(),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 GL=o,GL}var ZL,mN;function Npe(){if(mN)return ZL;mN=1;var e=hL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return ZL=t,ZL}var KL,fN;function Spe(){if(fN)return KL;fN=1;var e=hL();function t(n){return e(this.__data__,n)>-1}return KL=t,KL}var XL,gN;function jpe(){if(gN)return XL;gN=1;var e=hL();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 XL=t,XL}var YL,vN;function uL(){if(vN)return YL;vN=1;var e=wpe(),t=Cpe(),n=Npe(),o=Spe(),i=jpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,YL=r,YL}var JL,MN;function $pe(){if(MN)return JL;MN=1;var e=uL();function t(){this.__data__=new e,this.size=0}return JL=t,JL}var QL,_N;function qpe(){if(_N)return QL;_N=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return QL=e,QL}var eI,xN;function Ape(){if(xN)return eI;xN=1;function e(t){return this.__data__.get(t)}return eI=e,eI}var tI,LN;function zpe(){if(LN)return tI;LN=1;function e(t){return this.__data__.has(t)}return tI=e,tI}var aI,IN;function yq(){if(IN)return aI;IN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return aI=e,aI}var nI,bN;function kt(){if(bN)return nI;bN=1;var e=yq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return nI=n,nI}var oI,wN;function Tw(){if(wN)return oI;wN=1;var e=kt(),t=e.Symbol;return oI=t,oI}var cI,CN;function Vpe(){if(CN)return cI;CN=1;var e=Tw(),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 cI=r,cI}var iI,NN;function Ppe(){if(NN)return iI;NN=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return iI=n,iI}var rI,SN;function pL(){if(SN)return rI;SN=1;var e=Tw(),t=Vpe(),n=Ppe(),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 rI=s,rI}var sI,jN;function kq(){if(jN)return sI;jN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return sI=e,sI}var dI,$N;function mq(){if($N)return dI;$N=1;var e=pL(),t=kq(),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 dI=s,dI}var lI,qN;function Tpe(){if(qN)return lI;qN=1;var e=kt(),t=e["__core-js_shared__"];return lI=t,lI}var hI,AN;function Hpe(){if(AN)return hI;AN=1;var e=Tpe(),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 hI=n,hI}var uI,zN;function fq(){if(zN)return uI;zN=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 uI=n,uI}var pI,VN;function Dpe(){if(VN)return pI;VN=1;var e=mq(),t=Hpe(),n=kq(),o=fq(),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 pI=p,pI}var yI,PN;function Bpe(){if(PN)return yI;PN=1;function e(t,n){return t?.[n]}return yI=e,yI}var kI,TN;function Xc(){if(TN)return kI;TN=1;var e=Dpe(),t=Bpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return kI=n,kI}var mI,HN;function Hw(){if(HN)return mI;HN=1;var e=Xc(),t=kt(),n=e(t,"Map");return mI=n,mI}var fI,DN;function yL(){if(DN)return fI;DN=1;var e=Xc(),t=e(Object,"create");return fI=t,fI}var gI,BN;function Rpe(){if(BN)return gI;BN=1;var e=yL();function t(){this.__data__=e?e(null):{},this.size=0}return gI=t,gI}var vI,RN;function Fpe(){if(RN)return vI;RN=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return vI=e,vI}var MI,FN;function Epe(){if(FN)return MI;FN=1;var e=yL(),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 MI=i,MI}var _I,EN;function Ope(){if(EN)return _I;EN=1;var e=yL(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return _I=o,_I}var xI,ON;function Upe(){if(ON)return xI;ON=1;var e=yL(),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 xI=n,xI}var LI,UN;function Wpe(){if(UN)return LI;UN=1;var e=Rpe(),t=Fpe(),n=Epe(),o=Ope(),i=Upe();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,LI=r,LI}var II,WN;function Gpe(){if(WN)return II;WN=1;var e=Wpe(),t=uL(),n=Hw();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return II=o,II}var bI,GN;function Zpe(){if(GN)return bI;GN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return bI=e,bI}var wI,ZN;function kL(){if(ZN)return wI;ZN=1;var e=Zpe();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return wI=t,wI}var CI,KN;function Kpe(){if(KN)return CI;KN=1;var e=kL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return CI=t,CI}var NI,XN;function Xpe(){if(XN)return NI;XN=1;var e=kL();function t(n){return e(this,n).get(n)}return NI=t,NI}var SI,YN;function Ype(){if(YN)return SI;YN=1;var e=kL();function t(n){return e(this,n).has(n)}return SI=t,SI}var jI,JN;function Jpe(){if(JN)return jI;JN=1;var e=kL();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 jI=t,jI}var $I,QN;function gq(){if(QN)return $I;QN=1;var e=Gpe(),t=Kpe(),n=Xpe(),o=Ype(),i=Jpe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,$I=r,$I}var qI,eS;function Qpe(){if(eS)return qI;eS=1;var e=uL(),t=Hw(),n=gq(),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 qI=i,qI}var AI,tS;function eye(){if(tS)return AI;tS=1;var e=uL(),t=$pe(),n=qpe(),o=Ape(),i=zpe(),r=Qpe();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,AI=s,AI}var zI,aS;function tye(){if(aS)return zI;aS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return zI=t,zI}var VI,nS;function aye(){if(nS)return VI;nS=1;function e(t){return this.__data__.has(t)}return VI=e,VI}var PI,oS;function nye(){if(oS)return PI;oS=1;var e=gq(),t=tye(),n=aye();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,PI=o,PI}var TI,cS;function oye(){if(cS)return TI;cS=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 TI=e,TI}var HI,iS;function cye(){if(iS)return HI;iS=1;function e(t,n){return t.has(n)}return HI=e,HI}var DI,rS;function vq(){if(rS)return DI;rS=1;var e=nye(),t=oye(),n=cye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,g=d.length;if(m!=g&&!(y&&g>m))return!1;var f=p.get(s),M=p.get(d);if(f&&M)return f==d&&M==s;var _=-1,v=!0,I=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;v=!1;break}if(I){if(!t(d,function(L,x){if(!n(I,x)&&(w===L||u(w,L,l,h,p)))return I.push(x)})){v=!1;break}}else if(!(w===C||u(w,C,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return DI=r,DI}var BI,sS;function iye(){if(sS)return BI;sS=1;var e=kt(),t=e.Uint8Array;return BI=t,BI}var RI,dS;function rye(){if(dS)return RI;dS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return RI=e,RI}var FI,lS;function sye(){if(lS)return FI;lS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return FI=e,FI}var EI,hS;function dye(){if(hS)return EI;hS=1;var e=Tw(),t=iye(),n=pq(),o=vq(),i=rye(),r=sye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",g="[object Set]",f="[object String]",M="[object Symbol]",_="[object ArrayBuffer]",v="[object DataView]",I=e?e.prototype:void 0,w=I?I.valueOf:void 0;function C(b,L,x,S,j,$,q){switch(x){case v:if(b.byteLength!=L.byteLength||b.byteOffset!=L.byteOffset)return!1;b=b.buffer,L=L.buffer;case _:return!(b.byteLength!=L.byteLength||!$(new t(b),new t(L)));case l:case h:case y:return n(+b,+L);case u:return b.name==L.name&&b.message==L.message;case m:case f:return b==L+"";case p:var P=i;case g:var T=S&s;if(P||(P=r),b.size!=L.size&&!T)return!1;var z=q.get(b);if(z)return z==L;S|=d,q.set(b,L);var N=o(P(b),P(L),S,j,$,q);return q.delete(b),N;case M:if(w)return w.call(b)==w.call(L)}return!1}return EI=C,EI}var OI,uS;function lye(){if(uS)return OI;uS=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 OI=e,OI}var UI,pS;function Dw(){if(pS)return UI;pS=1;var e=Array.isArray;return UI=e,UI}var WI,yS;function hye(){if(yS)return WI;yS=1;var e=lye(),t=Dw();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return WI=n,WI}var GI,kS;function uye(){if(kS)return GI;kS=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 GI=e,GI}var ZI,mS;function pye(){if(mS)return ZI;mS=1;function e(){return[]}return ZI=e,ZI}var KI,fS;function yye(){if(fS)return KI;fS=1;var e=uye(),t=pye(),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 KI=r,KI}var XI,gS;function kye(){if(gS)return XI;gS=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return XI=e,XI}var YI,vS;function mL(){if(vS)return YI;vS=1;function e(t){return t!=null&&typeof t=="object"}return YI=e,YI}var JI,MS;function mye(){if(MS)return JI;MS=1;var e=pL(),t=mL(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return JI=o,JI}var QI,_S;function fye(){if(_S)return QI;_S=1;var e=mye(),t=mL(),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 QI=r,QI}var i1={exports:{}},eb,xS;function gye(){if(xS)return eb;xS=1;function e(){return!1}return eb=e,eb}i1.exports;var LS;function Mq(){return LS||(LS=1,function(e,t){var n=kt(),o=gye(),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}(i1,i1.exports)),i1.exports}var tb,IS;function vye(){if(IS)return tb;IS=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 tb=n,tb}var ab,bS;function _q(){if(bS)return ab;bS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return ab=t,ab}var nb,wS;function Mye(){if(wS)return nb;wS=1;var e=pL(),t=_q(),n=mL(),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]",g="[object String]",f="[object WeakMap]",M="[object ArrayBuffer]",_="[object DataView]",v="[object Float32Array]",I="[object Float64Array]",w="[object Int8Array]",C="[object Int16Array]",b="[object Int32Array]",L="[object Uint8Array]",x="[object Uint8ClampedArray]",S="[object Uint16Array]",j="[object Uint32Array]",$={};$[v]=$[I]=$[w]=$[C]=$[b]=$[L]=$[x]=$[S]=$[j]=!0,$[o]=$[i]=$[M]=$[r]=$[_]=$[s]=$[d]=$[l]=$[h]=$[u]=$[p]=$[y]=$[m]=$[g]=$[f]=!1;function q(P){return n(P)&&t(P.length)&&!!$[e(P)]}return nb=q,nb}var ob,CS;function _ye(){if(CS)return ob;CS=1;function e(t){return function(n){return t(n)}}return ob=e,ob}var r1={exports:{}};r1.exports;var NS;function xye(){return NS||(NS=1,function(e,t){var n=yq(),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}(r1,r1.exports)),r1.exports}var cb,SS;function xq(){if(SS)return cb;SS=1;var e=Mye(),t=_ye(),n=xye(),o=n&&n.isTypedArray,i=o?t(o):e;return cb=i,cb}var ib,jS;function Lye(){if(jS)return ib;jS=1;var e=kye(),t=fye(),n=Dw(),o=Mq(),i=vye(),r=xq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),m=!p&&!y&&o(h),g=!p&&!y&&!m&&r(h),f=p||y||m||g,M=f?e(h.length,String):[],_=M.length;for(var v in h)(u||d.call(h,v))&&!(f&&(v=="length"||m&&(v=="offset"||v=="parent")||g&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,_)))&&M.push(v);return M}return ib=l,ib}var rb,$S;function Iye(){if($S)return rb;$S=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return rb=t,rb}var sb,qS;function bye(){if(qS)return sb;qS=1;function e(t,n){return function(o){return t(n(o))}}return sb=e,sb}var db,AS;function wye(){if(AS)return db;AS=1;var e=bye(),t=e(Object.keys,Object);return db=t,db}var lb,zS;function Cye(){if(zS)return lb;zS=1;var e=Iye(),t=wye(),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 lb=i,lb}var hb,VS;function Nye(){if(VS)return hb;VS=1;var e=mq(),t=_q();function n(o){return o!=null&&t(o.length)&&!e(o)}return hb=n,hb}var ub,PS;function Sye(){if(PS)return ub;PS=1;var e=Lye(),t=Cye(),n=Nye();function o(i){return n(i)?e(i):t(i)}return ub=o,ub}var pb,TS;function jye(){if(TS)return pb;TS=1;var e=hye(),t=yye(),n=Sye();function o(i){return e(i,n,t)}return pb=o,pb}var yb,HS;function $ye(){if(HS)return yb;HS=1;var e=jye(),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,g=e(s),f=g.length;if(m!=f&&!p)return!1;for(var M=m;M--;){var _=y[M];if(!(p?_ in s:o.call(s,_)))return!1}var v=u.get(r),I=u.get(s);if(v&&I)return v==s&&I==r;var w=!0;u.set(r,s),u.set(s,r);for(var C=p;++M<m;){_=y[M];var b=r[_],L=s[_];if(l)var x=p?l(L,b,_,s,r,u):l(b,L,_,r,s,u);if(!(x===void 0?b===L||h(b,L,d,l,u):x)){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 yb=i,yb}var kb,DS;function qye(){if(DS)return kb;DS=1;var e=Xc(),t=kt(),n=e(t,"DataView");return kb=n,kb}var mb,BS;function Aye(){if(BS)return mb;BS=1;var e=Xc(),t=kt(),n=e(t,"Promise");return mb=n,mb}var fb,RS;function zye(){if(RS)return fb;RS=1;var e=Xc(),t=kt(),n=e(t,"Set");return fb=n,fb}var gb,FS;function Vye(){if(FS)return gb;FS=1;var e=Xc(),t=kt(),n=e(t,"WeakMap");return gb=n,gb}var vb,ES;function Pye(){if(ES)return vb;ES=1;var e=qye(),t=Hw(),n=Aye(),o=zye(),i=Vye(),r=pL(),s=fq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",m=s(e),g=s(t),f=s(n),M=s(o),_=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||o&&v(new o)!=u||i&&v(new i)!=p)&&(v=function(I){var w=r(I),C=w==l?I.constructor:void 0,b=C?s(C):"";if(b)switch(b){case m:return y;case g:return d;case f:return h;case M:return u;case _:return p}return w}),vb=v,vb}var Mb,OS;function Tye(){if(OS)return Mb;OS=1;var e=eye(),t=vq(),n=dye(),o=$ye(),i=Pye(),r=Dw(),s=Mq(),d=xq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function g(f,M,_,v,I,w){var C=r(f),b=r(M),L=C?u:i(f),x=b?u:i(M);L=L==h?p:L,x=x==h?p:x;var S=L==p,j=x==p,$=L==x;if($&&s(f)){if(!s(M))return!1;C=!0,S=!1}if($&&!S)return w||(w=new e),C||d(f)?t(f,M,_,v,I,w):n(f,M,L,_,v,I,w);if(!(_&l)){var q=S&&m.call(f,"__wrapped__"),P=j&&m.call(M,"__wrapped__");if(q||P){var T=q?f.value():f,z=P?M.value():M;return w||(w=new e),I(T,z,_,v,w)}}return $?(w||(w=new e),o(f,M,_,v,I,w)):!1}return Mb=g,Mb}var _b,US;function Hye(){if(US)return _b;US=1;var e=Tye(),t=mL();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 _b=n,_b}var xb,WS;function Dye(){if(WS)return xb;WS=1;var e=Hye();function t(n,o){return e(n,o)}return xb=t,xb}var Bye=Dye();const Rye=a.getDefaultExportFromCjs(Bye),Fye=({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,g]=k.useState({}),[f,M]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Rye(_.current,t)||(u(t),_.current=t)},[t]);const v=(x,S)=>{const j={...h,[x]:S};if(u(j),m[x]){const $=e.fields.find(q=>q.name===x);if($){const q=nL(S,$);y(P=>({...P,[x]:q.isValid?"":q.error}))}}},I=x=>{if(!m[x]){g(j=>({...j,[x]:!0}));const S=e.fields.find(j=>j.name===x);if(S){const j=nL(h[x],S);y($=>({...$,[x]:j.isValid?"":j.error}))}}},w=async x=>{x.preventDefault(),M(!0);const S=e.fields.reduce(($,q)=>(q.type!=="section"&&($[q.name]=!0),$),{});g(S);const j=nq(h,e.fields.filter($=>$.type!=="section"));if(y(j.errors),j.isValid)try{await n(h)}catch($){console.error("Erreur lors de la soumission:",$),y(q=>({...q,__global:"Une erreur est survenue lors de la soumission"}))}M(!1)},C=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,L=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:ne.formContainer,children:[c.jsx("div",{className:ne.headerLine,children:c.jsx("h2",{className:ne.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:ne.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${ne.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:w,children:[c.jsx("div",{className:ne.gridContainer,style:{gridTemplateColumns:`repeat(${L}, minmax(0, 1fr))`},children:e.fields.map(x=>{if(x.type==="section")return c.jsxs("div",{className:ne.sectionFull,children:[c.jsx("h5",{className:ne.sectionTitle,children:x.label}),x.help&&c.jsx("p",{className:ne.sectionHelp,children:x.help})]},x.name);const j={gridColumn:`span ${Math.max(1,Math.min(L,x.gridCol??L))}`};return c.jsxs("div",{className:ne.fieldGridItem,style:j,children:[c.jsx(uq,{field:x,value:h[x.name],onChange:$=>v(x.name,$),onBlur:()=>I(x.name),error:p[x.name],touched:m[x.name]}),x.help&&c.jsx("small",{className:ne.fieldHelp,children:x.help})]},x.name)})}),c.jsxs("div",{className:ne.formFooter,children:[c.jsx("div",{className:ne.footerLeft,children:s&&c.jsxs("button",{type:"button",className:ne.cancelLink,onClick:s,children:[C&&c.jsx(C,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:ne.footerRight,children:c.jsx(Gx,{type:"submit",variant:"primary",size:"md",className:ne.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 Eye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Oye="_container_1gljv_85",Uye="_tableWrapper_1gljv_111",Wye="_tableControls_1gljv_117",Gye="_controlsRight_1gljv_128",Zye="_limitedRows_1gljv_151",Kye="_table_1gljv_111",Xye="_headerCell_1gljv_206",Yye="_headerContent_1gljv_220",Jye="_headerWords_1gljv_229",Qye="_headerWord_1gljv_229",e4e="_cellContent_1gljv_276",t4e="_alignLeft_1gljv_286",a4e="_alignCenter_1gljv_290",n4e="_alignRight_1gljv_294",o4e="_tableCell_1gljv_298",c4e="_tableRow_1gljv_308",i4e="_emptyRow_1gljv_385",r4e="_toggleFiltersButton_1gljv_393",s4e="_toggleSortButton_1gljv_394",d4e="_buttonTextCompact_1gljv_415",l4e="_uppercaseSmall_1gljv_450",h4e="_filtersPanel_1gljv_463",u4e="_filtersPanelInline_1gljv_481",p4e="_filtersPanelHorizontal_1gljv_492",y4e="_filtersRow_1gljv_492",k4e="_filtersActionsHorizontal_1gljv_525",m4e="_filterItemInline_1gljv_542",f4e="_filterLabel_1gljv_571",g4e="_filterInput_1gljv_576",v4e="_filterSelect_1gljv_577",M4e="_operatorSelect_1gljv_578",_4e="_operatorInput_1gljv_579",x4e="_activeFilterTag_1gljv_597",L4e="_actionsGroup_1gljv_609",I4e="_applyButton_1gljv_615",b4e="_cancelButton_1gljv_625",w4e="_columnSorterContainer_1gljv_649",C4e="_sorterControls_1gljv_654",N4e="_sortDropdownWrapper_1gljv_659",S4e="_sortDropdown_1gljv_659",j4e="_sortDropdownHeader_1gljv_679",$4e="_closeButton_1gljv_688",q4e="_sortDropdownContent_1gljv_703",A4e="_sortDropdownItem_1gljv_709",z4e="_sortDirectionButtons_1gljv_734",V4e="_sortDirectionButton_1gljv_734",P4e="_activeSort_1gljv_757",T4e="_sortActions_1gljv_764",H4e="_paginationButton_1gljv_842",D4e="_pageSizeSelect_1gljv_844",B4e="_topPagination_1gljv_853",R4e="_paginationContainer_1gljv_861",F4e="_leftGroup_1gljv_874",E4e="_pageSizeControls_1gljv_882",O4e="_paginationInfo_1gljv_908",U4e="_paginationControls_1gljv_916",W4e="_disabledButton_1gljv_947",G4e="_activeButton_1gljv_952",Z4e="_navigationButton_1gljv_962",K4e="_operatorFilterContainer_1gljv_1010",X4e="_rangeSeparator_1gljv_1016",Y4e="_activeFiltersSection_1gljv_1179",J4e="_activeFiltersRow_1gljv_1184",Q4e="_activeFiltersList_1gljv_1192",e5e="_clearAllButton_1gljv_1200",t5e="_removeFilterButton_1gljv_1221",a5e="_sortIndicator_1gljv_1272",n5e="_active_1gljv_349",o5e="_clearSortButton_1gljv_1371",c5e="_loaderSpinner_1gljv_2743",i5e="_loaderSpinnerSmall_1gljv_2755",r5e="_paginationLoading_1gljv_2772",s5e="_loadingButton_1gljv_2780",d5e="_loadingIndicator_1gljv_2791",A={container:Oye,tableWrapper:Uye,tableControls:Wye,controlsRight:Gye,limitedRows:Zye,table:Kye,headerCell:Xye,headerContent:Yye,headerWords:Jye,headerWord:Qye,cellContent:e4e,alignLeft:t4e,alignCenter:a4e,alignRight:n4e,tableCell:o4e,tableRow:c4e,emptyRow:i4e,toggleFiltersButton:r4e,toggleSortButton:s4e,buttonTextCompact:d4e,uppercaseSmall:l4e,filtersPanel:h4e,filtersPanelInline:u4e,filtersPanelHorizontal:p4e,filtersRow:y4e,filtersActionsHorizontal:k4e,filterItemInline:m4e,filterLabel:f4e,filterInput:g4e,filterSelect:v4e,operatorSelect:M4e,operatorInput:_4e,activeFilterTag:x4e,actionsGroup:L4e,applyButton:I4e,cancelButton:b4e,columnSorterContainer:w4e,sorterControls:C4e,sortDropdownWrapper:N4e,sortDropdown:S4e,sortDropdownHeader:j4e,closeButton:$4e,sortDropdownContent:q4e,sortDropdownItem:A4e,sortDirectionButtons:z4e,sortDirectionButton:V4e,activeSort:P4e,sortActions:T4e,paginationButton:H4e,pageSizeSelect:D4e,topPagination:B4e,paginationContainer:R4e,leftGroup:F4e,pageSizeControls:E4e,paginationInfo:O4e,paginationControls:U4e,disabledButton:W4e,activeButton:G4e,navigationButton:Z4e,operatorFilterContainer:K4e,rangeSeparator:X4e,activeFiltersSection:Y4e,activeFiltersRow:J4e,activeFiltersList:Q4e,clearAllButton:e5e,removeFilterButton:t5e,sortIndicator:a5e,active:n5e,clearSortButton:o5e,loaderSpinner:c5e,loaderSpinnerSmall:i5e,paginationLoading:r5e,loadingButton:s5e,loadingIndicator:d5e},l5e=({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:A.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),h5e=({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:A.filterInput}),u5e=({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:A.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},GS=({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:A.filterInput})},p5e=({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:A.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},y5e=({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:A.filterInput})},k5e=({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:A.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:A.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:A.operatorInput})]})},m5e=({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:A.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:A.filterInput}),c.jsx("span",{className:A.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:A.filterInput})]})},f5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(y5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(GS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(GS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(p5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(k5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(u5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(h5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(m5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(l5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},Lq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const g={};return e.forEach(f=>{f.type==="daterange"?g[f.id]={start:"",end:""}:g[f.id]=f.defaultValue??""}),g});k.useEffect(()=>{if(!i)return;const g={...d??{}};e.forEach(f=>{f.id in g||(g[f.id]=f.type==="daterange"?{start:"",end:""}:f.defaultValue??"")}),(t||[]).forEach(f=>{!f||!f.id||(g[f.id]=f.value)}),l(g),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(g=>g.id))]);const h=i?t:r,u=k.useCallback((g,f)=>{l(M=>({...M,[g]:f}))},[]),p=k.useCallback(async()=>{const g=[],f={...d};for(const[M,_]of Object.entries(f)){const v=e.find(C=>C.id===M);if(!v)continue;let I=_;try{typeof _=="function"&&(I=await _(f)),typeof v.executeOnApply=="function"&&(I=await v.executeOnApply(I,f))}catch{continue}if(v.type==="daterange"){const C=I?.start??"",b=I?.end??"",L=typeof C=="string"?C.trim()==="":!C,x=typeof b=="string"?b.trim()==="":!b;if(L&&x)continue}I==null||typeof I=="string"&&I.trim()===""||Array.isArray(I)&&I.length===0||typeof I=="object"&&!Array.isArray(I)&&Object.keys(I).length===0||g.push({id:M,type:v.type,value:I,label:v.label})}return i?n?.(g):(s(g),o?.(g)),g},[d,e,i,n,o]),y=k.useCallback(g=>{l(f=>({...f,[g]:void 0})),u(g,void 0)},[u]),m=k.useCallback(()=>{const g={};e.forEach(f=>{f.type==="daterange"?g[f.id]={start:"",end:""}:g[f.id]=f.defaultValue??""}),l(g),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:m}},g5e=(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 Iq(e,t,n="",o={key:null,direction:"asc"},i=1,r=10,s=[]){const d=Math.max(1,r),l=(n||"").trim().toLowerCase(),h=k.useMemo(()=>{let f=e;return l&&(f=f.filter(M=>t.some(_=>{const v=M.data[_.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(f=f.filter(M=>s.every(_=>{try{const v=M.data[_.id];return g5e(v,_)}catch(v){return console.error("Error applying filter:",v),!1}}))),f},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const f=o.key;return[...h].sort((M,_)=>{const v=M.data[f],I=_.data[f];if(v==null)return 1;if(I==null)return-1;if(typeof v=="number"&&typeof I=="number")return o.direction==="desc"?I-v:v-I;if(v instanceof Date&&I instanceof Date){const C=v.getTime()-I.getTime();return o.direction==="desc"?-C:C}const w=String(v).localeCompare(String(I),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-w:w})},[h,o]),p=u,y=Math.ceil(u.length/d),m=0,g=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:m,endIndex:g}}const bq=({value:e})=>e,wq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),Cq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),Nq=({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)},Sq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},jq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),$q=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),qq=({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"})),Jb={renderers:{text:bq,email:wq,link:Cq,badge:Nq,date:Sq,number:jq,currency:$q,image:qq},icons:{sortAsc:k.createElement(Lc,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Ct,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Bc,{className:"sort-icon",size:14})}},v5e=(e,t)=>{Jb.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),Jb.renderers[e]=t},M5e=({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:g=!1,loading:f=!1})=>{const[M,_]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:I,tempFilters:w,updateFilter:C,applyFilters:b,clearAllFilters:L}=Lq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),x=k.useRef(null),S=k.useRef(null);k.useEffect(()=>{if(v&&x.current){const z=x.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,w,h]);const j=()=>{typeof s=="boolean"?d?.(!s):_(z=>{const N=!z;return d?.(N),N})},$=()=>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),q=async()=>{let z;try{z=await b()}catch{z=void 0}let N=[];z&&Array.isArray(z)&&z.length>0?N=z:I&&I.length>0?N=I:N=$(),n?.(N),o?.(N)},P=()=>{d?.(!1),typeof s!="boolean"&&_(!1)},T=()=>{L(),n?.([]),o?.([])};return k.useEffect(()=>{const z=V=>{v&&S.current&&(S.current.contains(V.target)||(d?.(!1),typeof s!="boolean"&&_(!1)))},N=V=>{V.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&_(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",N)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",N)}},[v,s,d]),c.jsxs("div",{className:A.advancedFiltersContainer,ref:S,children:[c.jsxs("button",{className:`${A.toggleFiltersButton} ${I.length>0?A.active:""} ${v?A.toggleFiltersButtonOpen:""} ${f?A.loadingButton:""}`,onClick:j,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:f,children:[f?c.jsx("span",{className:A.loaderSpinnerSmall}):c.jsx(_t,{size:14}),c.jsx("span",{className:A.buttonTextCompact,children:u}),I.length>0&&!f&&c.jsx("span",{className:A.filterCountBadge,"aria-hidden":!0,children:I.length}),f&&c.jsx("span",{className:A.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&c.jsxs("div",{id:"advanced-filters-panel",ref:x,className:`${A.filtersPanel} ${l==="top"?`${A.filtersPanelInline} ${A.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:A.filtersRow,children:e.map(z=>c.jsxs("div",{className:`${A.filterItem} ${A.filterItemInline}`,children:[c.jsxs("label",{className:A.filterLabel,children:[z.label,z.required&&c.jsx("span",{className:A.required,children:"*"})]}),c.jsx(f5e,{config:z,value:w[z.id],onChange:N=>C(z.id,N),disabled:z.disabled})]},z.id))}),c.jsxs("div",{className:A.filtersActionsHorizontal,children:[c.jsx("div",{className:A.activeFiltersSection,children:I.length>0&&c.jsxs("div",{className:A.activeFiltersRow,children:[c.jsx("span",{className:A.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:A.activeFiltersList,children:I.map(z=>c.jsxs("div",{className:A.activeFilterTag,children:[z.label??z.id,c.jsx("button",{className:A.removeFilterButton,onClick:()=>C(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),c.jsxs("button",{className:A.clearAllButton,onClick:T,type:"button",children:[c.jsx(Ge,{size:12})," ",m]})]})}),c.jsxs("div",{className:A.actionsGroup,children:[c.jsx("button",{className:A.cancelButton,onClick:P,type:"button",disabled:f,children:y}),c.jsx("button",{className:`${A.applyButton} ${f?A.loadingButton:""}`,onClick:q,type:"button",disabled:g||f,"aria-disabled":g||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:A.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},ZS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},_5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(g=>g.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(g,f)=>{n({key:g,direction:f}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(g=>!g),m=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const g=M=>{if(!l.current)return;const _=M.target;_&&!l.current.contains(_)&&s(!1)},f=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",g),document.addEventListener("keydown",f),()=>{document.removeEventListener("pointerdown",g),document.removeEventListener("keydown",f)}},[r]),k.useEffect(()=>{const g=document.querySelector("[data-table-wrapper]");if(!g)return;const f=g.style.overflow??"";return r?g.style.overflow="hidden":g.style.overflow=f,()=>{g.style.overflow=f}},[r]),c.jsx("div",{className:A.columnSorterContainer,ref:l,children:c.jsx("div",{className:A.sorterControls,children:d.length>0&&c.jsxs("div",{className:A.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${A.toggleSortButton} ${r?A.toggleSortButtonOpen:""} ${h?A.active:""} ${i?A.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:A.loaderSpinnerSmall}):c.jsx(Bc,{size:14}),c.jsx("span",{className:`${A.buttonTextCompact} ${ZS(o)?A.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:A.sortIndicator,children:t?.direction==="asc"?c.jsx(Lc,{size:12}):c.jsx(Ct,{size:12})})]}),r&&c.jsxs("div",{className:`${A.sortDropdown} ${A.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:A.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:A.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:c.jsx(Ge,{size:16})})]}),c.jsx("div",{className:A.sortDropdownContent,children:d.map(g=>{const f=String(g.label??g.id),M=ZS(f);return c.jsxs("div",{className:A.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(g.id,"asc")},children:[c.jsx("span",{className:`${A.columnSorterLabel} ${M?A.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:A.sortDirectionButtons,children:[c.jsx("button",{className:`${A.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?A.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(Lc,{size:12})}),c.jsx("button",{className:`${A.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?A.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(Ct,{size:12})})]})]},g.id)})}),h&&c.jsx("div",{className:A.sortActions,children:c.jsxs("button",{className:A.clearSortButton,onClick:p,type:"button",children:[c.jsx(Mt,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},x5e=({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,g=()=>{const f=[];let _=Math.max(1,h-Math.floor(2.5)),v=_+5-1;v>l&&(v=l,_=Math.max(1,v-5+1));for(let I=_;I<=v;I++)f.push(I);return f};return c.jsxs("div",{className:A.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:A.leftGroup,children:s&&c.jsx("div",{className:A.pageSizeControls,children:c.jsx("select",{value:n,onChange:f=>s(Number(f.target.value)),className:A.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:A.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:A.paginationLoading,children:[c.jsx("span",{className:A.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),c.jsxs("div",{className:A.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${A.paginationButton} ${A.navigationButton} ${h===1?A.disabledButton:""} ${d?A.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:A.loaderSpinnerSmall}):"«"}),g().map(f=>c.jsx("button",{onClick:()=>r(f),disabled:d,"aria-current":h===f?"page":void 0,className:`${A.paginationButton} ${h===f?A.activeButton:""} ${d?A.loadingButton:""}`,children:d&&h===f?c.jsx("span",{className:A.loaderSpinnerSmall}):f},f)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${A.paginationButton} ${A.navigationButton} ${d?A.loadingButton:""} ${h>=l?A.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:A.loaderSpinnerSmall}):"»"})]})]})},L5e=(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)},I5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},b5e=({columns:e})=>c.jsx("thead",{className:A.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?A.alignRight:t.align==="left"?A.alignLeft:A.alignCenter,i=t.preserveHeaderCase===!0,r=L5e(String(t.label??""),i),s=I5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${A.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",children:c.jsx("div",{className:A.headerContent,children:s?c.jsx("div",{className:A.headerWords,children:d.map((l,h)=>c.jsx("span",{className:A.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),w5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?A.alignRight:n.align==="left"?A.alignLeft:A.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${A.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:A.cellContent,children:i})})},C5e=({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:`${A.tableRow} ${o?A.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(w5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},N5e=({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:A.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(C5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Aq=({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:g,onPageSizeChange:f,onPageChange:M,itemLabel:_="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:I,sortLabel:w="Sort",applyLabel:C="Apply",cancelLabel:b="Cancel",clearLabel:L="Clear",applyDisabled:x=!1,paginationLoading:S=!1,filtersLoading:j=!1,sortLoading:$=!1,totalCount:q=null})=>{const[P,T]=k.useState({key:null,direction:"asc"}),[z,N]=k.useState(n.currentPage??1),[V,H]=k.useState(n.pageSize??10),[F,B]=k.useState(!1),R=k.useRef(null),[Y,te]=k.useState([]),me=p?d:Y,it=p?[]:Y;k.useEffect(()=>{const X=n.currentPage??1,T1=n.pageSize??10;X!==z&&N(X),T1!==V&&H(T1)},[n.currentPage,n.pageSize]);const{paginatedData:fe,sortedData:Ie,totalPages:G,startIndex:K}=Iq(t,e,i,P,z,V,it),re=Ie.length,xe=typeof q=="number"&&q>=0?q:re;let ue=G;typeof q=="number"&&q>=0&&(ue=Math.max(1,Math.ceil(q/V)));const be=re>10;k.useEffect(()=>{const X=Math.max(1,Math.floor(ue));z>X&&N(X),z<1&&N(1)},[ue]);const se=X=>{p||te(X),l?.(X),N(1),M?.(1)},ge=X=>{p||te(X),h?.(X),N(1),M?.(1),R.current&&R.current.style.setProperty("--filters-panel-height","0px")},ze=X=>{M?.(X),N(X)},Se=X=>{H(X),N(1),f?.(X),M?.(1)},le=X=>{R.current&&R.current.style.setProperty("--filters-panel-height",`${Math.round(X)}px`)},we=X=>{T(X),u?.(X)},rt=X=>{B(X),!X&&R.current&&R.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(me?.length??0)>0&&B(!0)},[me]),k.useEffect(()=>{s.length>0&&me.length>0&&B(!0)},[s.length,me.length]);const ce=(me?.length??0)>0&&I?I:v;return c.jsxs("div",{ref:R,className:`${A.container} ${r} ${F?A.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:A.tableControls,children:c.jsxs("div",{className:A.controlsRight,children:[c.jsx(_5e,{columns:e,onSort:we,label:w,sortConfig:P,loading:$}),s.length>0&&c.jsx(M5e,{filters:s,externalFilters:me,onFiltersChange:se,onApply:ge,isControlled:p,debounceTimeout:y,expanded:F,onToggle:rt,panelPlacement:"top",onPanelHeightChange:le,label:ce,applyLabel:C,cancelLabel:b,clearLabel:L,applyDisabled:x,loading:j})]})}),c.jsx("div",{className:A.topPagination,children:c.jsx(x5e,{currentPage:z,totalPages:ue,pageSize:V,totalItems:xe,itemLabel:_,onPageChange:ze,onPageSizeChange:Se,loading:S})}),c.jsx("div",{className:`${A.tableWrapper} ${be?A.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:A.table,children:[c.jsx(b5e,{columns:e}),c.jsx(N5e,{data:fe,columns:e,onRowClick:o,startIndex:K,getRowStyle:m,searchTerm:i})]})})]})};function S5e(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(Aq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const j5e="_mpRoot_31595_1",$5e="_mpHeader_31595_22",q5e="_mpTitle_31595_31",A5e="_mpList_31595_35",z5e="_mpVertical_31595_41",V5e="_mpHorizontal_31595_46",P5e="_mpItem_31595_55",T5e="_mpClickable_31595_95",H5e="_mpLeft_31595_117",D5e="_mpIcon_31595_125",B5e="_mpMeta_31595_140",R5e="_mpLabel_31595_145",F5e="_mpDate_31595_154",E5e="_mpRight_31595_160",O5e="_mpValue_31595_168",U5e="_mpHint_31595_176",W5e="_mpBadge_31595_180",G5e="_mpBadgeTop_31595_199",Z5e="_mpBadgeSub_31595_206",K5e="_mpBadgeSmall_31595_213",X5e="_mpPill_31595_229",Y5e="_mpRounded_31595_232",J5e="_mpCompact_31595_236",Q5e="_compactItemWrapper_31595_252",eke="_mpSummaryRoot_31595_265",tke="_mpSummaryInner_31595_269",ake="_mpSummaryFlex_31595_284",nke="_mpSummaryCardWrapperHorizontal_31595_292",oke="_mpSummaryCardWrapper_31595_292",cke="_mpSummaryCardHorizontal_31595_303",ike="_mpSummaryCard_31595_292",rke="_mpSummaryValue_31595_321",ske="_mpSummaryLabel_31595_327",dke="_mpSummaryBadge_31595_338",lke="_mpSummaryBadgeSub_31595_357",hke="_mpEmpty_31595_365",uke="_mpSummaryVertical_31595_372",pke="_mpIconSquare_31595_380",U={mpRoot:j5e,mpHeader:$5e,mpTitle:q5e,mpList:A5e,mpVertical:z5e,mpHorizontal:V5e,mpItem:P5e,mpClickable:T5e,mpLeft:H5e,mpIcon:D5e,mpMeta:B5e,mpLabel:R5e,mpDate:F5e,mpRight:E5e,mpValue:O5e,mpHint:U5e,mpBadge:W5e,mpBadgeTop:G5e,mpBadgeSub:Z5e,mpBadgeSmall:K5e,mpPill:X5e,mpRounded:Y5e,mpCompact:J5e,compactItemWrapper:Q5e,mpSummaryRoot:eke,mpSummaryInner:tke,mpSummaryFlex:ake,mpSummaryCardWrapperHorizontal:nke,mpSummaryCardWrapper:oke,mpSummaryCardHorizontal:cke,mpSummaryCard:ike,mpSummaryValue:rke,mpSummaryLabel:ske,mpSummaryBadge:dke,mpSummaryBadgeSub:lke,mpEmpty:hke,mpSummaryVertical:uke,mpIconSquare:pke},wt=(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})`},yke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[U.mpItem,t==="pill"?U.mpPill:U.mpRounded,n?U.mpClickable:""].filter(Boolean).join(" ");if(i)return c.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return c.jsxs(d,{...l,children:[c.jsxs("div",{className:U.mpLeft,children:[h?c.jsx("div",{className:U.mpIconSquare,style:{background:u??wt(p??o??"#7c3aed",1),border:`1px solid ${wt(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:U.mpIcon,children:e.icon}):null,c.jsxs("div",{className:U.mpMeta,children:[c.jsx("div",{className:U.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:U.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:U.mpDate,children:e.date})]})]}),c.jsxs("div",{className:U.mpRight,children:[c.jsx("div",{className:U.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[U.mpBadge,e.badge.small?U.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??wt(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":wt(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:U.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:U.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:U.mpHint,children:e.hint}):null]})]})},kke=k.memo(yke),KS=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:U.mpHeader,children:[c.jsx("div",{className:U.mpTitle,children:e}),c.jsx("div",{children:t})]}),XS=(e,t=1)=>{try{return wt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},mke=({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??XS("#7c3aed",.12),border:`1px solid ${XS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),fke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:U.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:U.mpSummaryLabel,children:e.label}),c.jsx("div",{className:U.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]})]}),YS=(e,t=1)=>{try{return wt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},JS=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:YS("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:YS("#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]})]}),QS=(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}},gke=e=>{switch(e){case"image":return t=>k.createElement(mke,{item:t});case"pertinence":return t=>k.createElement(fke,{item:t});case"alternateHorizontal":return t=>QS(JS,t);case"compact":return t=>QS(JS,t);case"summary":return;case"default":default:return}},zq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?U.mpSummaryCardHorizontal:U.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:U.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:U.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:U.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:U.mpSummaryLabel,children:e.label})]})},vke=["transparent","transparent","transparent","transparent"],Mke=["transparent","transparent","transparent","transparent"],_ke=["#059669","#2563eb","#b45309","#7c3aed"],xke=(e,t=1)=>{try{return wt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Vq=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:g=vke,summaryBorderColors:f=Mke,summaryValueColors:M=_ke,preset:_,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:w,summaryGridColumns:C,compactItemWidth:b,compactItemHeight:L,compactItemStyle:x,summaryCardWidth:S,summaryCardHeight:j,summaryCardStyle:$}=e,q=n==="vertical",P={"--mp-accent":r,"--mp-accent-soft":xke(r,.08),"--mp-bg-primary":v},T=[U.mpRoot,q?U.mpVertical:U.mpHorizontal,s?U.mpCompact:"",m?U.mpSummaryRoot:"",o!=="auto"?o==="vertical"?U.mpOrientationVertical:U.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(gke(_)??void 0),[y,_]);if(m){const N=o==="horizontal"?U.mpSummaryFlex:U.mpSummaryVertical,H={...(C?{display:"grid",gridTemplateColumns:`repeat(${C}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(KS,{title:d}),c.jsx("div",{className:U.mpSummaryInner,children:c.jsx("div",{className:`${N} ${w??""}`,style:H,children:t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map((F,B)=>{const R=F.bgColor??g[B%g.length],Y=F.borderColor??f[B%f.length],te=F.valueColor??M[B%M.length];return z?c.jsx("div",{className:o==="horizontal"?U.mpSummaryCardWrapperHorizontal:U.mpSummaryCardWrapper,style:{width:S??void 0,height:j??void 0,...$??{}},children:z(F,B)},F.id):c.jsx(zq,{item:F,orientation:o==="horizontal"?"horizontal":"vertical",bg:R,border:Y,valueColor:te,onClick:l,width:S??void 0,height:j??void 0,extraStyle:$},F.id)})})})]})}return c.jsxs("div",{className:T,style:P,"aria-busy":u,children:[d&&c.jsx(KS,{title:d}),c.jsx("div",{className:U.mpList,style:I,children:u?c.jsx("div",{className:U.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:U.mpEmpty,children:p}):t.map(N=>{const V=s?{width:b??void 0,height:L??void 0,boxSizing:"border-box",...x??{}}:void 0;return c.jsx("div",{className:s?U.compactItemWrapper:void 0,style:V,children:c.jsx(kke,{item:N,shape:i,onItemClick:l,color:r,renderItem:z?H=>z(H,t.indexOf(H)):void 0})},N.id)})})]})};k.memo(Vq);const Lke=({width:e,height:t,colors:n={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:o={},placeholder:i="Loading Chart",style:r,className:s="",children:d,padding:l="1rem",variant:h="default",showBorder:u=!1})=>{const p=e?typeof e=="number"?`${e}px`:e:void 0,y=t?typeof t=="number"?`${t}px`:t:void 0,m=i&&typeof i=="object"&&!k.isValidElement(i)&&("text"in i||"subtext"in i||"icon"in i||"background"in i||"iconSize"in i),g=m?i:void 0,f=g?.icon?ht[g.icon]:void 0,M=28,_=g?.iconSize??M,v=["chart-container",`variant-${h}`,u?"with-border":"",s].filter(Boolean).join(" "),I=n.contentBackground??void 0,w=typeof l=="number"?`${l}px`:l;return c.jsxs("div",{className:v,style:{width:p,height:y,color:n.text,background:n.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:w,...r},children:[c.jsxs("div",{className:"chart-header",children:[c.jsxs("div",{className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[o.left,o.leftSubtitle&&c.jsx("div",{className:"chart-subtitle-left",children:o.leftSubtitle})]}),c.jsx("div",{className:"chart-title-right",children:o.right})]}),c.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:I},children:d||(m&&g?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[f&&c.jsx("div",{className:"placeholder-icon",style:{width:_,height:_},children:c.jsx(f,{color:g.iconColor??"currentColor",size:typeof _=="number"?_:parseInt(String(_),10)||M})}),g.text&&c.jsx("div",{className:"placeholder-text",children:g.text}),g.subtext&&c.jsx("div",{className:"placeholder-subtext",children:g.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:i}))})]})},Bw=({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:"✕"})]})},Pq=k.createContext(null),Ike=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,bke=({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(L=>window.clearTimeout(L)),d.current.clear()},[]);const p=(L,x)=>{const S=x===void 0||x===0?t:x;if(S===-1)return;const j=window.setTimeout(()=>{g(L)},S);d.current.set(L,j)},y=L=>{const x=d.current.get(L);x&&(window.clearTimeout(x),d.current.delete(L))},m=L=>{const x=Ike(),S={...L,id:x,createdAt:Date.now()};return s(j=>{const $=[S,...j],q=u.current;return typeof q=="number"&&q>=0&&$.length>q?($.slice(q).forEach(T=>y(T.id)),$.slice(0,q)):$}),p(x,L.duration),x},g=L=>{y(L),s(x=>x.filter(S=>S.id!==L))},f=(L,x)=>{s(S=>S.map(j=>j.id===L?{...j,...x}:j))},M=()=>{d.current.forEach(L=>window.clearTimeout(L)),d.current.clear(),s([])},_=L=>{h.current=L},v=()=>r.slice(),I=k.useMemo(()=>({showAlert:m,dismissAlert:g,updateAlert:f,clearAlerts:M,setContainerRef:_,getAlertsSnapshot:v}),[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(d0e,{mode:"popLayout",children:r.map(L=>c.jsx(Vw.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:L.background||L.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:c.jsx(Bw,{id:L.id,text:L.text,subtext:L.subtext,icon:L.icon,background:"transparent",colorTextPrimary:L.colorTextPrimary,colorTextSub:L.colorTextSub,model:L.model,onClose:()=>g(L.id),size:"100%",style:{boxShadow:"none"}})},L.id))})}),b=c.jsx("div",{ref:L=>{h.current||(l.current=L)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:C});return c.jsxs(Pq.Provider,{value:I,children:[w?ew.createPortal(C,w):b,e]})},wke=()=>{const e=k.useContext(Pq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Cke={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"}},Nke="_container_18zbo_1",Ske="_icon_18zbo_9",jke="_selectWrapper_18zbo_23",Lb={container:Nke,icon:Ske,selectWrapper:jke},$ke=({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:Lb.container,children:[c.jsxs("div",{className:Lb.icon,children:[c.jsx(l1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Lb.selectWrapper,children:c.jsx(Pw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},qke=250,Ake=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,g]=k.useState(!1),[f,M]=k.useState(!1),_=k.useRef(null),v=k.useRef(null),I=k.useRef(null),w=k.useRef(null);k.useEffect(()=>{const L=_.current;if(!L)return;const x=L.parentElement;return x?(window.getComputedStyle(x).position==="static"&&(x.setAttribute("data-scp-prev-position",x.style.position??""),x.style.position="relative",x.setAttribute("data-scp-position-changed","true")),()=>{if(x.getAttribute("data-scp-position-changed")==="true"){const j=x.getAttribute("data-scp-prev-position")??"";x.style.position=j,x.removeAttribute("data-scp-position-changed"),x.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{m||(o?.(),M(!1),g(!0))},close:()=>{m&&(r?.(),M(!1),g(!1))},toggle:()=>{m?(r?.(),M(!1),g(!1)):(o?.(),M(!1),g(!0))}}),[m,o,r]),k.useEffect(()=>{const L=v.current;w.current&&(window.clearTimeout(w.current),w.current=null);const x=S=>{if(S.target===L&&!(S.propertyName!=="transform"&&S.propertyName!=="opacity"))if(m){M(!0),i?.();try{L?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return L&&(L.addEventListener("transitionend",x),w.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{L?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},qke+60)),m&&(I.current=document.activeElement),()=>{L&&L.removeEventListener("transitionend",x),w.current&&(window.clearTimeout(w.current),w.current=null)}},[m,i,s]),k.useEffect(()=>{const L=x=>{x.key==="Escape"&&m&&(r?.(),M(!1),g(!1))};return window.addEventListener("keydown",L),()=>window.removeEventListener("keydown",L)},[m,r]);const C=()=>{u&&(r?.(),M(!1),g(!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:v,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),g(!1)},children:c.jsx(Ge,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function zke(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 Vke="_container_1pfsp_1",Pke="_title_1pfsp_8",ej={container:Vke,title:Pke},Tke=({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:`${ej.container} ${o}`,style:r,children:c.jsx("h2",{className:ej.title,children:e})})},Hke="_modalOverlay_1dmfp_1",Dke="_modalContainer_1dmfp_16",Bke="_modalTitle_1dmfp_29",Rke="_modalInput_1dmfp_38",Fke="_modalTextarea_1dmfp_39",Eke="_modalActions_1dmfp_71",Oke="_cancelBtn_1dmfp_78",Uke="_saveBtn_1dmfp_100",Wke="_inputError_1dmfp_148",Gke="_inlineAlert_1dmfp_153",Ue={modalOverlay:Hke,modalContainer:Dke,modalTitle:Bke,modalInput:Rke,modalTextarea:Fke,modalActions:Eke,cancelBtn:Oke,saveBtn:Uke,inputError:Wke,inlineAlert:Gke},Cc=({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),[g,f]=k.useState(!1),[M,_]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const L={};for(const x of i)L[x.name]=Object.prototype.hasOwnProperty.call(r,x.name)?r[x.name]:"";return y(L),requestAnimationFrame(()=>{m.current?.focus();const x=m.current;if(x&&typeof x.selectionStart=="number"){const S=String(x.value??"").length;x.setSelectionRange(S,S)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(_(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{_(!1),v.current=null},3e3)):(_(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const I=(L,x)=>{y(S=>({...S,[L]:x})),l&&l(L,x)},w=async()=>{if(!Object.values(p).some(L=>L===""||L===void 0))try{f(!0);const L=await n(p);if(typeof L=="string"&&L==="duplicate-same"){f(!1);return}y({}),f(!1),t()}catch(L){console.error("AddItemModal onSave error:",L),f(!1),t()}},C=L=>{L.target===L.currentTarget&&t()},b=L=>L.stopPropagation();return c.jsx("div",{className:Ue.modalOverlay,onMouseDown:C,role:"dialog","aria-modal":"true",children:c.jsxs("div",{className:Ue.modalContainer,onMouseDown:b,onClick:b,children:[c.jsx("h2",{className:Ue.modalTitle,children:o}),i.map((L,x)=>{const S=p[L.name]??"",j=x===0&&!!s,$={name:L.name,placeholder:L.placeholder||L.label,value:String(S),onChange:q=>I(L.name,q.target.value),className:L.type==="textarea"?`${Ue.modalTextarea} ${j?Ue.inputError:""}`:`${Ue.modalInput} ${j?Ue.inputError:""}`,tabIndex:0,disabled:g};return x===0&&($.ref=q=>{m.current=q}),c.jsxs("div",{style:{marginBottom:8},children:[L.type==="textarea"?c.jsx("textarea",{rows:L.rows||4,...$}):c.jsx("input",{type:L.type||"text",...$}),x===0&&M&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Bw,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:Ue.inlineAlert})})]},L.name)}),c.jsxs("div",{className:Ue.modalActions,children:[c.jsx("button",{className:Ue.cancelBtn,onClick:t,type:"button",disabled:g,children:u}),c.jsx("button",{className:Ue.saveBtn,onClick:w,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},Zke=({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(Ec,{className:"add-key-icon"}),"Clé"]}),c.jsx(Cc,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},Kke=({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,g]=k.useState(!1),f=()=>l(!0),M=()=>l(!1),_=L=>{if(o){const x=L.code?.trim()||L.id?.trim(),S=L.title?.trim(),j=x||S||String(Date.now()),$=S||x||`Module ${j}`;o({id:j,title:$,subtitle:"",translations:{}})}M()},v=(L,x)=>{L.stopPropagation(),u(x)},I=()=>u(null),w=L=>{if(!h){I();return}const x={...h,title:L.title||h.title,subtitle:""};t&&t(x),I()},C=(L,x)=>{L.stopPropagation(),n&&n(x)},b=L=>{y(L.id),i&&i(L)};return m?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Fc,{size:20,className:"menu-toggle",onClick:()=>g(!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(Rc,{size:18,className:"header-folder",onClick:f}),c.jsx(Fc,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(L=>{const x=Object.keys(L.translations||{}).length,S=x>0||L.id===p;return c.jsxs("div",{className:`module-item ${L.id===p?"selected":""}`,onClick:()=>b(L),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(L)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(k1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[L.title,S&&c.jsxs("span",{className:"count",children:[" ",x," "]})]}),L.subtitle?c.jsx("div",{className:"module-subtitle",children:L.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(g1,{onClick:j=>v(j,L),color:"#777",size:16}),n&&c.jsx(Nt,{onClick:j=>C(j,L.id),color:"#777",size:16})]})]},L.id)})}),c.jsx(Cc,{isOpen:d,onClose:M,onSave:_,title:s||"Ajouter un module",fields:r&&r.length?r.map(L=>({name:L.name,label:L.label,type:L.type,placeholder:L.placeholder,rows:L.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(Cc,{isOpen:!!h,onClose:I,onSave:w,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Tq=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:o="left",iconColor:i="#9ca3af"})=>c.jsxs("div",{className:`search-container icon-${o}`,children:[c.jsx("div",{className:"search-icon-wrapper",children:c.jsx(v1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:r=>n?.(r.target.value),className:"search-input"})]}),Xke=({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(""),[g,f]=k.useState(null),[M,_]=k.useState(""),[v,I]=k.useState(""),[w,C]=k.useState(!1),[b,L]=k.useState(!1),[x,S]=k.useState(null),[j,$]=k.useState(!1),q=t.map(B=>B.language),P=n.filter(B=>!q.includes(B.code)),T=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),m(""),I(""),p(!1))},z=(B,R)=>{f(B),_(R)},N=B=>{r?.(e,B,M),f(null),_("")},V=()=>{f(null),_("")},H=async B=>{const R=B.name?.trim();if(R){if(S(null),$(!1),R===e||!i)return C(!1),"ok";try{const Y=await i(e,R);if(typeof Y=="string"&&Y==="ok")C(!1),S(null);else{if(typeof Y=="string"&&Y==="duplicate-same")return S("Une clé existe déjà dans ce module."),$(!0),"duplicate-same";if(typeof Y=="string"&&Y==="duplicate-other")return C(!1),S(null),"duplicate-other";C(!1)}}catch(Y){console.error("Erreur handleRenameSave:",Y),S("Erreur lors du renommage.")}}},F=(B,R)=>{if(B!=="name")return;const Y=R.trim();S(null),$(!1),Y&&typeof h=="function"&&(h(Y,e)?(S("Une clé existe déjà dans ce module."),$(!0)):(S(null),$(!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:()=>L(!b),title:b?"Déplier":"Replier",children:b?c.jsx(u1,{className:"collapse-icon"}):c.jsx(Ct,{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:B=>{B.stopPropagation(),C(!0)},title:"Renommer la clé",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:B=>{B.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(Nt,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(B=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:B.language}),c.jsx("div",{className:"translation-content",children:g===B.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:M,onChange:R=>_(R.target.value),className:"edit-input",autoFocus:!0,onKeyDown:R=>{R.key==="Enter"&&N(B.language),R.key==="Escape"&&V()}}),c.jsx("button",{onClick:()=>N(B.language),className:"save-button",disabled:!M.trim(),children:"Enregistrer"}),c.jsx("button",{onClick:V,className:"cancel-button",children:c.jsx(Ge,{className:"action-icon"})})]}):c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"translation-text",title:B.value,children:B.value}),c.jsx("button",{onClick:()=>z(B.language,B.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,B.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ge,{className:"action-icon"})})]})})]},B.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:B=>m(B.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),P.map(B=>c.jsxs("option",{value:B.code,children:[B.name," (",B.code,")"]},B.code))]})}),y&&c.jsx("input",{type:"text",value:v,onChange:B=>I(B.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:B=>{B.key==="Enter"&&T(),B.key==="Escape"&&(p(!1),m(""),I(""))}}),c.jsx("button",{onClick:T,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),m(""),I("")},className:"cancel-button",children:c.jsx(Ge,{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(Cc,{isOpen:w,onClose:()=>{C(!1),S(null),$(!1)},onSave:H,onFieldChange:F,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:x||"",disableSave:j})]})},Yke="_wrapper_1wvht_1",Jke="_leftGroup_1wvht_12",Qke="_filterButton_1wvht_21",e3e="_open_1wvht_42",t3e="_filterIcon_1wvht_42",a3e="_infoText_1wvht_58",n3e="_pickerContainer_1wvht_66",o3e="_srOnly_1wvht_79",c3e="_pickerLabel_1wvht_91",i3e="_datetime_1wvht_98",r3e="_rightGroup_1wvht_107",s3e="_searchInputWrap_1wvht_116",d3e="_searchInput_1wvht_116",l3e="_searchIcon_1wvht_152",je={wrapper:Yke,leftGroup:Jke,filterButton:Qke,open:e3e,filterIcon:t3e,infoText:a3e,pickerContainer:n3e,srOnly:o3e,pickerLabel:c3e,datetime:i3e,rightGroup:r3e,searchInputWrap:s3e,searchInput:d3e,searchIcon:l3e};function h3e({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:je.wrapper,ref:d,children:[c.jsxs("div",{className:je.leftGroup,children:[c.jsxs("button",{type:"button",className:`${je.filterButton} ${o?je.open:""}`,onClick:l,"aria-expanded":o,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[c.jsx("span",{children:"Entry time"}),c.jsx("svg",{className:je.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:je.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),o&&c.jsxs("div",{className:je.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[c.jsx("label",{className:je.pickerLabel,htmlFor:"entry-datetime",children:c.jsx("span",{className:je.srOnly,children:"Choisir la date et l’heure"})}),c.jsx("input",{id:"entry-datetime",className:je.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),c.jsx("div",{className:je.rightGroup,children:c.jsxs("div",{className:je.searchInputWrap,children:[c.jsx("input",{className:je.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),c.jsx("svg",{className:je.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 u3e=({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 g=Array.isArray(r)?r:[],f=g.length===0,M=g.every(w=>typeof w=="string"),_=g.some(w=>Array.isArray(w)),v=(w,C,b)=>d?d(w,C,b):c.jsx("span",{className:"slb-cell-text",children:w}),I=m?{"--col-gap":m}:void 0;return f?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!_?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("ul",{className:"slb-list",children:g.map((w,C)=>c.jsx("li",{className:`slb-item ${s[C]||""}`,style:{background:p??void 0},children:v(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:I,children:g.map((w,C)=>{const b=s[C]||"";if(Array.isArray(w)){const[L,x]=w;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(L,C,0)}),c.jsx("div",{className:"slb-grid-right",children:v(x,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:v(w,C,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},C)})})]})},p3e=({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(g=>Array.isArray(g)),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((g,f)=>{const M=u[f]||"";if(Array.isArray(g)){const[_,v]=g,I=s[f]||r;return c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col",children:c.jsx("div",{className:"counter-badge",style:{background:I,padding:d,width:l,minWidth:l},children:_})}),c.jsx("div",{className:"clb-text",children:v})]},f)}return y?c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:g})]},f):c.jsx("div",{className:`clb-fullrow ${M}`,style:{background:h??void 0},children:c.jsx("span",{children:g})},f)})})]})},y3e=({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)})})]})},k3e=({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}))}),m3e=({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}))}),f3e="_overlay_i1ay5_2",g3e="_fadeIn_i1ay5_1",v3e="_popup_i1ay5_17",M3e="_slideUp_i1ay5_1",_3e="_header_i1ay5_28",x3e="_body_i1ay5_40",L3e="_footer_i1ay5_51",I3e="_cancelButton_i1ay5_59",b3e="_confirmButton_i1ay5_77",w3e="_warning_i1ay5_97",C3e="_danger_i1ay5_106",N3e="_info_i1ay5_115",ft={overlay:f3e,fadeIn:g3e,popup:v3e,slideUp:M3e,header:_3e,body:x3e,footer:L3e,cancelButton:I3e,confirmButton:b3e,warning:w3e,danger:C3e,info:N3e},S3e=({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:ft.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${ft.popup} ${ft[d]}`,children:[c.jsx("div",{className:ft.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:ft.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:ft.footer,children:[c.jsx("button",{className:ft.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:ft.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},j3e=()=>{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}},$3e="_container_v7v52_1",q3e="_selectButton_v7v52_6",A3e="_disabled_v7v52_19",z3e="_error_v7v52_29",V3e="_outline_v7v52_43",P3e="_filled_v7v52_53",T3e="_sm_v7v52_58",H3e="_md_v7v52_63",D3e="_lg_v7v52_68",B3e="_buttonContent_v7v52_73",R3e="_label_v7v52_80",F3e="_placeholder_v7v52_87",E3e="_iconsContainer_v7v52_91",O3e="_loadingSpinner_v7v52_99",U3e="_spin_v7v52_1",W3e="_arrowIcon_v7v52_119",G3e="_arrowIconOpen_v7v52_127",Z3e="_dropdown_v7v52_131",K3e="_searchContainer_v7v52_146",X3e="_searchInput_v7v52_150",Y3e="_optionsList_v7v52_173",J3e="_noResults_v7v52_195",Q3e="_option_v7v52_173",eme="_optionHighlighted_v7v52_217",tme="_optionSelected_v7v52_222",ame="_optionDisabled_v7v52_228",nme="_optionLabel_v7v52_233",ome="_checkIcon_v7v52_240",cme="_widthFull_v7v52_248",ime="_width64_v7v52_252",rme="_width80_v7v52_256",sme="_width96_v7v52_260",ee={container:$3e,selectButton:q3e,disabled:A3e,error:z3e,default:"_default_v7v52_38",outline:V3e,filled:P3e,sm:T3e,md:H3e,lg:D3e,buttonContent:B3e,label:R3e,placeholder:F3e,iconsContainer:E3e,loadingSpinner:O3e,spin:U3e,arrowIcon:W3e,arrowIconOpen:G3e,dropdown:Z3e,searchContainer:K3e,searchInput:X3e,optionsList:Y3e,noResults:J3e,option:Q3e,optionHighlighted:eme,optionSelected:tme,optionDisabled:ame,optionLabel:nme,checkIcon:ome,widthFull:cme,width64:ime,width80:rme,width96:sme},dme=({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,g]=k.useState(""),[f,M]=k.useState(0),[_,v]=k.useState({top:0,left:0,width:0}),I=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]),L=e.find(N=>N.value===t),x=k.useCallback(()=>{if(I.current){const N=I.current.getBoundingClientRect();v({top:N.top,left:N.left,width:N.width})}},[]);k.useEffect(()=>(p&&(x(),window.addEventListener("scroll",x,!0),window.addEventListener("resize",x)),()=>{window.removeEventListener("scroll",x,!0),window.removeEventListener("resize",x)}),[p,x]),k.useEffect(()=>{const N=V=>{I.current&&!I.current.contains(V.target)&&w.current&&!w.current.contains(V.target)&&(y(!1),g(""))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{M(0)},[b]);const S=N=>{N.disabled||(n?.(N.value,N),y(!1),g(""))},j=N=>{g(N.target.value),p||y(!0)},$=N=>{if(!p){(N.key==="ArrowDown"||N.key==="Enter")&&y(!0);return}switch(N.key){case"ArrowDown":N.preventDefault(),M(V=>V<b.length-1?V+1:V);break;case"ArrowUp":N.preventDefault(),M(V=>V>0?V-1:V);break;case"Enter":N.preventDefault(),b[f]&&S(b[f]);break;case"Escape":y(!1),g("");break}},q=()=>[ee.selectButton,ee[l],ee[h],i?ee.disabled:"",s?ee.error:"",d].filter(Boolean).join(" "),P=()=>{switch(u){case"w-64":return ee.width64;case"w-80":return ee.width80;case"w-96":return ee.width96;default:return ee.widthFull}},T=(N,V)=>[ee.option,V===f?ee.optionHighlighted:"",N.value===t?ee.optionSelected:"",N.disabled?ee.optionDisabled:""].filter(Boolean).join(" "),z={position:"fixed",top:_.top+(I.current?.offsetHeight||0)+4,left:_.left,width:_.width,zIndex:9999};return c.jsxs("div",{className:`${ee.container} ${P()}`,children:[c.jsx("button",{ref:I,className:q(),onClick:()=>!i&&y(!p),onKeyDown:$,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":p,disabled:i,children:c.jsxs("div",{className:ee.buttonContent,children:[c.jsx("span",{className:`${ee.label} ${L?"":ee.placeholder}`,children:L?L.label:o}),c.jsxs("div",{className:ee.iconsContainer,children:[r&&c.jsx("div",{className:ee.loadingSpinner}),c.jsx("svg",{className:`${ee.arrowIcon} ${p?ee.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&&ew.createPortal(c.jsxs("div",{className:`${ee.dropdown} ${P()}`,style:z,ref:w,children:[c.jsx("div",{className:ee.searchContainer,children:c.jsx("input",{ref:C,type:"text",value:m,onChange:j,placeholder:"Rechercher...",className:ee.searchInput,autoFocus:!0})}),c.jsx("div",{className:ee.optionsList,children:b.length===0?c.jsx("div",{className:ee.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((N,V)=>c.jsx("li",{className:T(N,V),onClick:()=>S(N),onMouseEnter:()=>M(V),role:"option","aria-selected":N.value===t,"aria-disabled":N.disabled,children:c.jsxs("div",{className:ee.buttonContent,children:[c.jsx("span",{className:ee.optionLabel,title:N.label,children:N.label}),N.value===t&&c.jsx("svg",{className:ee.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)]})},lme="_container_uq7pt_1",hme="_item_uq7pt_7",ume="_mainValue_uq7pt_13",pme="_label_uq7pt_17",yme="_subValue_uq7pt_22",kme="_subValueWrapper_uq7pt_27",mme="_subSeparator_uq7pt_32",De={container:lme,item:hme,mainValue:ume,label:pme,subValue:yme,subValueWrapper:kme,subSeparator:mme},fme=({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[g,f]=p.split("/").map(M=>M.trim());return c.jsxs("span",{className:De.subValueWrapper,children:[c.jsx("span",{className:De.subLeft,style:{color:y},children:g}),c.jsx("span",{className:De.subSeparator,children:" / "}),c.jsx("span",{className:De.subRight,style:{color:m},children:f})]})};return c.jsxs("div",{className:De.container,style:{backgroundColor:d},children:[e&&c.jsxs("div",{className:De.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:De.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:e}),c.jsx("div",{className:De.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>c.jsxs("div",{className:De.item,style:{flex:`1 1 ${n}`},children:[c.jsx("div",{className:De.mainValue,style:{fontSize:o,fontWeight:i,color:h},children:p.value}),c.jsx("div",{className:De.label,style:{color:l},children:p.label}),c.jsx("div",{className:De.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},gme="_encours_16ist_1",vme="_header_16ist_19",Mme="_iconWrap_16ist_27",_me="_title_16ist_36",xme="_items_16ist_47",Lme="_spaceEvenly_16ist_56",Ime="_item_16ist_47",bme="_valueContainer_16ist_86",wme="_value_16ist_86",Cme="_label_16ist_108",Qe={encours:gme,header:vme,iconWrap:Mme,title:_me,items:xme,spaceEvenly:Lme,item:Ime,valueContainer:bme,value:wme,label:Cme},xc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function Nme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=xc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=xc(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=xc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=xc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Sme(){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 jme(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:g="#ffffff",width:f,gap:M,className:_,ariaLabel:v}=e,I=r?ht[r]:void 0,w={background:g,width:xc(f),...m},C={};n&&(C.color=n),o!==void 0&&(C.fontSize=xc(o)),i!==void 0&&(C.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${Qe.encours} ${_??""}`,style:w,"aria-label":v??t,children:[c.jsxs("div",{className:Qe.header,children:[c.jsx("div",{className:Qe.iconWrap,"aria-hidden":!0,style:b,children:I?c.jsx(I,{size:typeof s=="number"?s:void 0}):c.jsx(Sme,{})}),c.jsx("div",{className:Qe.title,style:C,children:t})]}),c.jsx("div",{className:`${Qe.items} ${M===void 0?Qe.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((L,x)=>{const{valueStyle:S,labelStyle:j}=Nme(L,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:Qe.item,role:"listitem",style:{...L.background?{background:L.background}:{},...L.width?{width:xc(L.width)}:{}},children:c.jsxs("div",{className:Qe.valueContainer,children:[c.jsx("div",{className:Qe.value,style:S,children:L.value}),L.label&&c.jsx("div",{className:Qe.label,style:j,children:L.label})]})},`${String(L.label??L.value)}-${x}`)})})]})}const $me=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-360 280-559h400z"})),qme=k.memo($me),Ame=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m280-400 200-201 200 201z"})),zme=k.memo(Ame),Vme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),Pme=k.memo(Vme),Tme=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),Hme=k.memo(Tme),Dme=({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})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(e),[g,f]=k.useState(!1);if(k.useEffect(()=>{f(!0)},[]),k.useEffect(()=>{m(e)},[e]),!g)return null;const M=(v,I)=>{I<4||m(w=>w.map(C=>C.component_key===v?{...C,visible:!C.visible}:C))},_=()=>{t(y),p(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[c.jsxs("div",{onClick:()=>{o||p(!u)},style:{display:"flex",alignItems:"center",cursor:o?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:s,children:[c.jsx(gj,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),u?c.jsx(zme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(qme,{width:d,height:d,fill:l?.icon||"currentColor"})]}),u&&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:y.map((v,I)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>M(v.component_key,I),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:I<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:w=>{I>=4&&(w.currentTarget.style.background="#F9FAFB")},onMouseLeave:w=>{I>=4&&(w.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:v.visible?c.jsx(Pme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Hme,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:v.label})]}),I===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},v.component_key))}),c.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:c.jsx("button",{type:"button",onClick:_,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})})]})]})},Bme="_container_zhny9_1",Rme="_card_zhny9_15",Fme="_footer_zhny9_33",Eme="_noPaddingMobile_zhny9_51",O1={container:Bme,card:Rme,footer:Fme,noPaddingMobile:Eme},Ome="_board_1tbkr_1",Ume="_clickable_1tbkr_21",Wme="_sideBar_1tbkr_26",Gme="_boardContent_1tbkr_32",Zme="_orange_1tbkr_40",Kme="_red_1tbkr_44",Xme="_green_1tbkr_48",Yme="_grey_1tbkr_52",Jme="_lightGrey_1tbkr_56",Qme="_big_1tbkr_61",e6e="_medium_1tbkr_66",t6e="_headerRow_1tbkr_70",a6e="_iconWrapper_1tbkr_75",n6e="_headerTitle_1tbkr_80",o6e="_valueArea_1tbkr_89",c6e="_titleWhite_1tbkr_99",i6e="_titleBlack_1tbkr_103",r6e="_valueWhite_1tbkr_108",s6e="_valueBlack_1tbkr_112",d6e="_valueBlue_1tbkr_116",l6e="_bars_1tbkr_121",h6e="_bar_1tbkr_121",u6e="_barDark_1tbkr_135",p6e="_barDim_1tbkr_139",Re={board:Ome,clickable:Ume,sideBar:Wme,boardContent:Gme,orange:Zme,red:Kme,green:Xme,grey:Yme,lightGrey:Jme,big:Qme,medium:e6e,headerRow:t6e,iconWrapper:a6e,headerTitle:n6e,valueArea:o6e,titleWhite:c6e,titleBlack:i6e,valueWhite:r6e,valueBlack:s6e,valueBlue:d6e,bars:l6e,bar:h6e,barDark:u6e,barDim:p6e},y6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Re.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Re.bar} ${r<o?"":e?Re.barDark:Re.barDim}`},r))})},It=({iconName:e,label:t,value:n,backgroundColor:o="green",bars:i,lightBars:r=5,size:s="big",valueScale:d,width:l,height:h,className:u="",style:p,titleColor:y="white",valueColor:m="white",titleFontSize:g,titleFontWeight:f,valueFontSize:M,valueFontWeight:_,barColor:v,justifyContent:I="space-between",alignItems:w="flex-start",cardGap:C="",onClick:b,iconColor:L})=>{const x=i!=="none",S=i==="endingDark",{padding:j,...$}=p||{},q=l===void 0&&h===void 0&&o===void 0&&Object.keys($).length===0?void 0:{...l!==void 0?{width:l}:{},...h!==void 0?{height:h}:{},...o!==void 0?{backgroundColor:o}:{},...$},P=`${Re.board} ${Re[s]} ${u}`;return c.jsxs("div",{className:P,onClick:b,style:d!==void 0?{...q,"--ds-value-scale":d}:q,children:[v&&c.jsx("div",{className:Re.sideBar,style:{backgroundColor:v}}),c.jsxs("div",{className:Re.boardContent,style:{padding:j,gap:C},children:[c.jsxs("div",{className:Re.headerRow,style:{justifyContent:I,alignItems:w},children:[e&&c.jsx("div",{className:Re.iconWrapper,style:{color:L},children:e}),c.jsx("div",{className:`${Re.headerTitle} header-title-data-board`,children:c.jsx("span",{style:{color:y,...g?{fontSize:g}:{},...f?{fontWeight:f}:{}},children:t})}),x?c.jsx(y6e,{endingDark:S,lightCount:r}):null]}),c.jsx("div",{className:Re.valueArea,style:{color:m,...M?{fontSize:M}:{},..._?{fontWeight:_}:{}},children:n})]})]})},k6e="_wrapper_tldrb_10",m6e="_hosp_tldrb_19",f6e="_headerRow_tldrb_54",g6e="_iconWrapper_tldrb_61",v6e="_headerTitle_tldrb_67",M6e="_hospValue_tldrb_76",_6e="_side_tldrb_88",x6e="_mini_tldrb_100",L6e="_miniLabel_tldrb_134",I6e="_miniValue_tldrb_143",b6e="_miniBars_tldrb_153",w6e="_bars_tldrb_158",C6e="_bar_tldrb_158",N6e="_barDark_tldrb_172",S6e="_barDim_tldrb_176",Ce={wrapper:k6e,hosp:m6e,headerRow:f6e,iconWrapper:g6e,headerTitle:v6e,hospValue:M6e,side:_6e,mini:x6e,miniLabel:L6e,miniValue:I6e,miniBars:b6e,bars:w6e,bar:C6e,barDark:N6e,barDim:S6e},j6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${Ce.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>c.jsx("span",{className:`${Ce.bar} ${r<o?"":e?Ce.barDark:Ce.barDim}`},r))})},Hq=({left:e,right:t,className:n="",style:o})=>{const i=e.bars??"endingDark",r=i!=="none",s=i==="endingDark";return c.jsxs("div",{className:`${Ce.wrapper} ${n} data-four-boards`,style:o,children:[c.jsxs("div",{className:`${Ce.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},children:[c.jsxs("div",{className:Ce.headerRow,children:[c.jsxs("div",{className:`${Ce.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&c.jsx("span",{style:{color:e.iconColor},children:e.iconName}),c.jsx("span",{className:Ce.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},children:e.label})]}),r?c.jsx(j6e,{endingDark:s,lightCount:e.lightBars??5}):null]}),c.jsx("div",{className:Ce.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:Ce.side,children:t.map((d,l)=>c.jsxs("div",{className:`${Ce.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||{}},children:[c.jsxs("span",{className:Ce.miniLabel,style:{color:d.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...d.titleFontSize?{fontSize:d.titleFontSize}:{},...d.titleFontWeight?{fontWeight:d.titleFontWeight}:{}},children:[d.iconName&&c.jsx("span",{style:{color:d.iconColor,marginRight:"4px"},children:d.iconName}),d.label]}),c.jsx("span",{className:`${Ce.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:Ce.miniBars})]},d.id??`${d.label}-${l}`))})]})},$6e=({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 g={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},f=e[0],M=e[1],_=e.slice(2,5);return c.jsxs("div",{style:g,className:`${O1.container} ${y?O1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:O1.card,children:[f?c.jsx(It,{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,onClick:v=>m?.(0,v)}):null,M&&_.length>0?c.jsx(Hq,{left:{id:M.id,label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,valueScale:M.valueScale,width:M.width,height:M.height,titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>m?.(1,v)},right:_.map((v,I)=>({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,onClick:w=>m?.(2+I,w)}))}):M&&_.length===0?c.jsx(It,{label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:v=>m?.(1,v)}):null]}),t&&c.jsx("div",{className:O1.footer,children:t})]})},q6e=({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"})=>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",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}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),A6e="_menu_10i6j_1",z6e="_menuRow_10i6j_18",V6e="_separator_10i6j_33",P6e="_rowLabel_10i6j_39",T6e="_rowLeadingIcon_10i6j_47",H6e="_rowIcon_10i6j_54",Ac={menu:A6e,menuRow:z6e,separator:V6e,rowLabel:P6e,rowLeadingIcon:T6e,rowIcon:H6e},D6e=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:Ac.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Ac.separator},y.id);const m=y,g=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Ac.menuRow,style:g,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Ac.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Ac.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Ac.rowIcon,children:m.icon})]},m.id)})})}),Dq=({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:g="12px",roleFontWeight:f,avatarColor:M="#5b8fb9",backgroundColorAvatar:_="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:I,dropdownMenuOffset:w,statusDotColor:C,style:b,className:L=""})=>{const{user:x}=ct(),S=e||x,{currentTheme:j,switchTheme:$}=oL(),q=k.useRef(null),P=k.useRef(null),[T,z]=k.useState(!1),[N,V]=k.useState({}),H=k.useMemo(()=>{const G=[],K=({variant:xe})=>xe==="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&&(G.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),G.push({id:"sep-profile",type:"separator"}));const re=j==="dark";return G.push({id:"theme",type:"action",label:re?"Mode clair":"Mode sombre",icon:c.jsx(K,{variant:re?"sun":"moon"}),onClick:()=>{$(re?"light":"dark")}}),(t||o)&&(G.push({id:"sep-theme",type:"separator"}),G.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?.()}})),G},[j,t,n,o,i,r,$]),F=v??H,B=()=>{if(!q.current){z(G=>!G);return}if(!T){const G=q.current.getBoundingClientRect(),K=window.innerWidth,re=window.innerHeight,xe=200,ue=200,be=4,se=w?.x??0,ge=w?.y??0,Se=K-G.right>=xe+be;V(Se?{top:G.bottom-ue+ge,left:G.right+be+se}:{bottom:re-G.top+ge,left:G.left+se})}z(G=>!G)};if(k.useEffect(()=>{if(!T||!q.current)return;const G=()=>{const K=q.current.getBoundingClientRect(),re=window.innerWidth,xe=window.innerHeight,ue=200,be=200,se=4,ge=w?.x??0,ze=w?.y??0,le=re-K.right>=ue+se;V(le?{top:K.bottom-be+ze,left:K.right+se+ge}:{bottom:xe-K.top+ze,left:K.left+ge})};return window.addEventListener("resize",G),window.addEventListener("orientationchange",G),()=>{window.removeEventListener("resize",G),window.removeEventListener("orientationchange",G)}},[T,w]),k.useEffect(()=>{if(!T||!q.current||!P.current)return;const G=()=>{const re=q.current.getBoundingClientRect(),xe=P.current.getBoundingClientRect(),ue=w?.x??0,be=w?.y??0;V(se=>se.left!==void 0&&se.top!==void 0&&se.left>=re.right-1?{top:re.bottom-xe.height+be,left:se.left+ue}:se)},K=requestAnimationFrame(()=>{setTimeout(G,0)});return()=>cancelAnimationFrame(K)},[T,w]),!S)return null;const R=S,Y=parseInt(h,10)||40,te=`${Y*.375}px`,me=`${Y*1.375}px`,it=`${Y*.2}px`,fe=`${Y*.6}px`,Ie=()=>{const G=parseInt(h,10)||40,K=Math.max(8,G*.34375),re=Math.max(2,G*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[R.image?c.jsx("img",{src:R.image,alt:`${R.prenom} ${R.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:te,height:te,borderRadius:"50%",backgroundColor:M,position:"absolute",top:it,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:me,height:me,borderRadius:"50%",backgroundColor:M,position:"absolute",top:fe,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),C&&c.jsx("div",{style:{position:"absolute",bottom:re,right:re,width:`${K}px`,height:`${K}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:R.email,children:R.email}),c.jsx("span",{style:{color:l,fontSize:g,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:R.role,children:R.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:q,className:`user-info ${L}`,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",...b},onClick:B,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(Ie,{})})}),c.jsx(D6e,{ref:P,isVisible:T,onClose:()=>z(!1),items:F,style:I,position:N})]})},B6e="_navItem_16uqf_1",R6e="_label_16uqf_14",F6e="_icon_16uqf_26",t1={navItem:B6e,label:R6e,icon:F6e},Rw=({label:e,onClick:t,href:n,isActive:o,icon:i,style:r,className:s="",highlightColor:d="#00aec7",color:l="#333",activeColor:h="#00aec7",highlightBackgroundColor:u="rgba(0, 0, 0, 0.05)",fontSize:p="15px",fontWeight:y="500",sidebarCollapsed:m=!1,padding:g="10px 16px",borderWidth:f="4px",iconGap:M="12px",disabled:_=!1,disabledColor:v})=>{const I=()=>{_||t?.()},w=c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:t1.icon,style:{marginRight:m?0:M},children:i}),!m&&c.jsx("span",{className:t1.label,children:e})]}),C=()=>{if(!o)return"transparent";const L=x=>{const S=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(x);return S?{r:parseInt(S[1],16),g:parseInt(S[2],16),b:parseInt(S[3],16)}:null};if(d.startsWith("#")){const x=L(d);if(x)return`rgba(${x.r}, ${x.g}, ${x.b}, 0.08)`}else if(d.startsWith("rgb")){const x=d.match(/\d+/g);if(x&&x.length>=3)return`rgba(${x[0]}, ${x[1]}, ${x[2]}, 0.08)`}return u},b={onClick:I,className:`${t1.navItem} ${o?t1.active:""} ${s} ${_?t1.disabled:""}`,style:{padding:g,color:o?h:_?v||"#999":l,borderLeft:o?`${f} solid ${d}`:`${f} solid transparent`,backgroundColor:C(),fontSize:p,fontWeight:y,cursor:_?"not-allowed":"pointer",textDecoration:"none",...r},"aria-disabled":_};return n&&!_?c.jsx("a",{href:n,...b,children:w}):c.jsx("div",{...b,role:t?"button":void 0,tabIndex:t&&!_?0:void 0,children:w})},E6e="_navbar_18gev_1",O6e="_topSection_18gev_9",U6e="_sectionsContainer_18gev_14",W6e="_sectionTitle_18gev_20",G6e="_sectionItems_18gev_25",Z6e="_bottomSection_18gev_30",K6e="_versionContainer_18gev_49",st={navbar:E6e,topSection:O6e,sectionsContainer:U6e,sectionTitle:W6e,sectionItems:G6e,bottomSection:Z6e,versionContainer:K6e},X6e=({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:g="12px",navItemFontSize:f="15px",navItemFontWeight:M="500",navItemColor:_,sectionTitlePadding:v="16px",sectionTitleFontSize:I="11px",sectionTitleColor:w="#999",sectionTitleWeight:C="500",versionFontSize:b="12px",versionFontWeight:L="400",versionColor:x="#999",userInfoProps:S,style:j,className:$="",width:q="280px"})=>{const P=ct(),T=P.activeNav,z=P.setActiveNav,N=P.user,V=S.user||N;return c.jsxs("div",{className:`${st.navbar} ${$}`,style:{width:q,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:st.topSection,style:{gap:t},children:[c.jsx("div",{className:st.logoContainer,children:c.jsx(tw,{...e})}),c.jsx("div",{className:st.sectionsContainer,style:{gap:i},children:n.map((H,F)=>c.jsxs("div",{className:st.section,children:[H.title&&c.jsx("div",{className:st.sectionTitle,style:{fontSize:I,color:w,padding:v,fontWeight:C,border:"4px solid transparent",...u},children:H.title}),c.jsx("div",{className:st.sectionItems,style:{gap:r},children:H.items.map(B=>c.jsx(Rw,{...B,isActive:B.isActive===null?B.isActive:T===B.id,onClick:()=>{B.onClick&&B.onClick(),B.isActive==null&&z(B.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:g,fontSize:f,fontWeight:M,color:_,style:p},B.id))})]},F))})]}),c.jsxs("div",{className:st.bottomSection,style:{gap:t},children:[c.jsx(Dq,{...S,user:V}),h&&c.jsx("div",{className:st.versionContainer,style:{fontSize:b,fontWeight:L,color:x},children:h})]})]})},Y6e="_container_4qege_1",J6e="_titleContainer_4qege_10",Q6e="_title_4qege_10",e8e="_inlineToggleContainer_4qege_24",t8e="_rightContentContainer_4qege_30",a1={container:Y6e,titleContainer:J6e,title:Q6e,inlineToggleContainer:e8e,rightContentContainer:t8e},a8e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:g,inlineToggle:f})=>{const{activeNav:M}=ct(),_=y.find(I=>I.id===M),v=m(_?_.label:M);return v?c.jsxs("div",{className:`${a1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:a1.titleContainer,children:[c.jsx("div",{className:a1.title,style:{fontSize:n,fontWeight:o,color:i},children:v}),f&&c.jsx("div",{className:a1.inlineToggleContainer,children:f})]}),g&&c.jsx("div",{className:a1.rightContentContainer,children:g})]}):null},n8e="_navItem_1hg26_1",o8e="_navItemIcon_1hg26_21",c8e="_navItemLabel_1hg26_29",i8e="_navItemCount_1hg26_36",r8e="_navItemIndicator_1hg26_49",n1={navItem:n8e,navItemIcon:o8e,navItemLabel:c8e,navItemCount:i8e,navItemIndicator:r8e},Bq=({label:e,isActive:t,onClick:n,href:o,icon:i,count:r,activeColor:s="#00aec7",inactiveColor:d="#666",activeBackgroundColor:l="transparent",countBackgroundColor:h,countColor:u="#fff",countBorderRadius:p="10px",countPadding:y="2px 6px",countFontSize:m="12px",countFontWeight:g="500",indicatorColor:f="#00aec7",indicatorHeight:M="3px",padding:_="8px 4px",fontSize:v="14px",fontWeight:I="500",gap:w="8px",style:C,className:b="",disabled:L=!1})=>{const x=()=>{L||(n?.(),o&&(window.location.href=o))};return c.jsxs("div",{className:`${n1.navItem} ${b}`,onClick:x,style:{gap:w,padding:_,color:t?s:d,backgroundColor:t?l:"transparent",fontSize:v,fontWeight:I,...C},children:[i&&c.jsx("span",{className:n1.navItemIcon,children:i}),c.jsx("span",{className:n1.navItemLabel,children:e}),r!==void 0&&c.jsx("span",{className:n1.navItemCount,style:{backgroundColor:h,color:u,borderRadius:p,padding:y,fontSize:m,fontWeight:g},children:r}),t&&!L&&c.jsx("div",{className:n1.navItemIndicator,style:{height:M,backgroundColor:f}})]})},s8e="_subheaderContent_1glo8_1",d8e="_navContainer_1glo8_11",l8e="_rightContent_1glo8_45",Ib={subheaderContent:s8e,navContainer:d8e,rightContent:l8e},h8e=({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:g="#5c6975",indicatorHeight:f="3px",showDraggable:M=!1,showLegend:_=!1,showData:v=!1,className:I="",style:w,countBackgroundColor:C,countColor:b,countBorderRadius:L,countPadding:x,countFontSize:S,countFontWeight:j,navContainerClassName:$,navContainerStyle:q,rightContentClassName:P,rightContentStyle:T,rightActions:z,activeSwitcherColor:N,inactiveSwitcherColor:V})=>{const{activeSubNav:H,setActiveSubNav:F,navCounts:B}=ct();return c.jsxs("div",{className:`${Ib.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...w},children:[c.jsx("div",{className:`${Ib.navContainer} ${$||""}`,style:{gap:l,...q},children:e.map(R=>{const Y=R.count!==void 0?R.count:B[R.id],te=H===R.id||R.isActive;return c.jsx(Bq,{...R,count:Y,isActive:te,onClick:()=>{R.onClick&&R.onClick(),F(R.id)},activeColor:m,inactiveColor:g,countBackgroundColor:C,countColor:b,countBorderRadius:L,countPadding:x,countFontSize:S,countFontWeight:j,indicatorColor:m,indicatorHeight:f,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:R.style},R.id)})}),c.jsxs("div",{className:`${Ib.rightContent} ${P||""}`,style:{gap:h,...T},children:[M&&c.jsx(Zx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(Kx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&c.jsx(Xx,{size:20,colors:{bg:N,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},u8e=({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}=oL(),m=p!="dark",g=()=>{y(m?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:g,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"})]})})},p8e=({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}},y8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),k8e=k.memo(y8e),m8e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),f8e=k.memo(m8e),g8e=({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)),children:c.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:c.jsx("span",{children:r.label}),l&&c.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?c.jsx(f8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(k8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),v8e=({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)})}),M8e=({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,g=Math.min(y*u,h),f=_=>{t({page:_})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(S,j)=>j+1);const I=Math.max(y-1,1),w=Math.min(y+1,p),C=I>2,b=w<p-2,L=1,x=p;if(!C&&b)return[...Array.from({length:5},($,q)=>q+1),"...",p];if(C&&!b){const j=Array.from({length:5},($,q)=>p-5+q+1);return[L,"...",...j]}if(C&&b){const S=Array.from({length:w-I+1},(j,$)=>I+$);return[L,"...",...S,"...",x]}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,g,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[m,"–",g]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>f(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>f(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((_,v)=>_==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},v):c.jsx("button",{className:`pagination-btn ${_===y?"active":""}`,onClick:()=>f(_),children:_},v)),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"})})]})},Rq=({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:g,tableState:f,className:M,style:_,rowStyle:v,onRowClick:I,rowClassName:w,removeLabelSpan:C=!1})=>{const b=k.useMemo(()=>({...p}),[p]),L=k.useRef(null);k.useEffect(()=>{if(!m||!y||!g||n)return;const P=new IntersectionObserver(T=>{T[0].isIntersecting&&y()},{threshold:.1});return L.current&&P.observe(L.current),()=>P.disconnect()},[m,y,g,n]);const{tableState:x,handleSort:S}=p8e({initialSortBy:null,onSortChange:r}),j=(f?.sortBy!==void 0?f.sortBy:x.sortBy)??void 0,$=f?.sortOrder!==void 0?f.sortOrder:x.sortOrder,q=P=>{const T=j,z=$;let N="asc";T===P&&(N=z==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(P,N):S(P)};return c.jsxs("div",{className:`table-container ${M||""}`,style:_,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(g8e,{columns:t,sortBy:j,sortOrder:$,onSort:q,removeLabelSpan:C}),c.jsx(v8e,{data:e,columns:t.map(P=>({...P,render:P.render?T=>P.render(T,{}):void 0})),rowKey:s,onRowClick:I,isLoading:n,text:b,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:w})]}),m&&c.jsx("div",{ref:L,style:{height:20,margin:10}})]})]}),c.jsx(M8e,{state:o,onPaginationChange:i,text:b,onLoadMore:y,infiniteScroll:m,hasMore:g,isLoading:n})]})},_8e="_datePickerContainer_1941b_3",x8e="_label_1941b_16",L8e="_displayNode_1941b_23",I8e="_datePickerButton_1941b_30",b8e="_datePickerButtonDisabled_1941b_50",w8e="_datePickerButtonOpen_1941b_59",C8e="_datePickerLabel_1941b_68",N8e="_placeholder_1941b_79",S8e="_chevron_1941b_83",j8e="_errorMessage_1941b_91",$8e="_dropdown_1941b_96",q8e="_calendarHeader_1941b_120",A8e="_navButton_1941b_129",z8e="_headerSelectors_1941b_148",V8e="_monthSelector_1941b_156",P8e="_yearSelector_1941b_157",T8e="_selectorButton_1941b_161",H8e="_selectorChevron_1941b_178",D8e="_selectorChevronOpen_1941b_183",B8e="_monthDropdown_1941b_187",R8e="_yearDropdown_1941b_188",F8e="_monthItem_1941b_208",E8e="_yearItem_1941b_209",O8e="_monthItemSelected_1941b_231",U8e="_yearItemSelected_1941b_232",W8e="_weekdays_1941b_236",G8e="_weekday_1941b_236",Z8e="_calendarGrid_1941b_252",K8e="_dateCell_1941b_260",X8e="_dateCellSelected_1941b_283",Y8e="_dateCellOtherMonth_1941b_287",J8e="_dateCellOtherMonthSelected_1941b_291",Q8e="_calendarFooter_1941b_295",efe="_cancelButton_1941b_303",tfe="_applyButton_1941b_304",afe="_timePickerContainer_1941b_348",nfe="_timeGroup_1941b_357",ofe="_timeLabel_1941b_364",cfe="_timeInputWrapper_1941b_370",ife="_timeInput_1941b_370",rfe="_timeSeparator_1941b_398",E={datePickerContainer:_8e,label:x8e,displayNode:L8e,datePickerButton:I8e,datePickerButtonDisabled:b8e,datePickerButtonOpen:w8e,datePickerLabel:C8e,placeholder:N8e,chevron:S8e,errorMessage:j8e,dropdown:$8e,calendarHeader:q8e,navButton:A8e,headerSelectors:z8e,monthSelector:V8e,yearSelector:P8e,selectorButton:T8e,selectorChevron:H8e,selectorChevronOpen:D8e,monthDropdown:B8e,yearDropdown:R8e,monthItem:F8e,yearItem:E8e,monthItemSelected:O8e,yearItemSelected:U8e,weekdays:W8e,weekday:G8e,calendarGrid:Z8e,dateCell:K8e,dateCellSelected:X8e,dateCellOtherMonth:Y8e,dateCellOtherMonthSelected:J8e,calendarFooter:Q8e,cancelButton:efe,applyButton:tfe,timePickerContainer:afe,timeGroup:nfe,timeLabel:ofe,timeInputWrapper:cfe,timeInput:ife,timeSeparator:rfe},sfe=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#e3e3e3",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M480-344 240-584l56-56 184 184 184-184 56 56z"})),Wx=k.memo(sfe),tj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],dfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Qb=({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:g="0.25rem",dropdownMarginTop:f="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:_="400",buttonBgColor:v,buttonBorderColor:I,buttonTextColor:w,dropdownBgColor:C="#ffffff",itemHoverColor:b,selectedItemBgColor:L,iconColor:x,errorColor:S,labelColor:j,placeholderColor:$,borderRadius:q="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:V="2.5rem",headerTextColor:H="#6c757d",weekdayTextColor:F="#6c757d",currentMonthDateColor:B="#212529",otherMonthDateColor:R="#adb5bd",selectedDateBgColor:Y="#00A6D9",selectedDateTextColor:te="#ffffff",cancelButtonBgColor:me="#e9ecef",cancelButtonTextColor:it="#212529",applyButtonBgColor:fe="#00A6D9",applyButtonTextColor:Ie="#ffffff",width:G,displayNode:K=void 0,displayMode:re="auto",displayNodeAriaLabel:xe,dropdownPosition:ue="bottom",dropdownAlignment:be="right",dropdownWidth:se,withBorder:ge=!1,icon:ze,precision:Se="day",hoursLabel:le="Heures",minutesLabel:we="Minutes",lowerLimit:rt=null,upperLimit:Yc=null,months:ce,weekdays:X,cancelText:T1="Annuler",applyText:Eq="Appliquer",prevMonthAriaLabel:Oq="Mois précédent",nextMonthAriaLabel:Uq="Mois suivant",calendarAriaLabel:Wq="Sélecteur de date",openedAriaLabel:Gq="Ouvrir le sélecteur de date",selectedDateAriaLabel:Zq="Date sélectionnée: ",locale:Fw="fr-FR"})=>{const qt=D=>{if(D instanceof Date)return isNaN(D.getTime())?null:D;if(typeof D=="string"&&D){const W=new Date(D);return isNaN(W.getTime())?null:W}return null},[Xe,At]=k.useState(!1),[Nc,Kq]=k.useState({top:0,left:0,width:0}),[Q,Jc]=k.useState(qt(e)||new Date),[fL,gL]=k.useState(qt(e)),[vL,ML]=k.useState(qt(e)?.getHours()??0),[_L,xL]=k.useState(qt(e)?.getMinutes()??0),[LL,Sc]=k.useState(!1),[IL,jc]=k.useState(!1),bL=k.useRef(null),H1=k.useRef(null),wL=k.useRef(null),CL=k.useRef(null);k.useEffect(()=>{const D=qt(e);gL(D),D&&(Jc(D),ML(D.getHours()),xL(D.getMinutes()))},[e]);const $c=k.useCallback(()=>{if(H1.current){const D=H1.current.getBoundingClientRect();Kq({top:D.top,left:D.left,width:D.width})}},[]);k.useEffect(()=>(Xe&&($c(),window.addEventListener("scroll",$c,!0),window.addEventListener("resize",$c)),()=>{window.removeEventListener("scroll",$c,!0),window.removeEventListener("resize",$c)}),[Xe,$c]),k.useEffect(()=>{const D=W=>{if(bL.current&&!bL.current.contains(W.target)){const ye=document.getElementById("datepicker-dropdown");if(ye&&ye.contains(W.target))return;At(!1),Sc(!1),jc(!1)}wL.current&&!wL.current.contains(W.target)&&Sc(!1),CL.current&&!CL.current.contains(W.target)&&jc(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const Ew=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),Xq=D=>{const W=new Date(D.getFullYear(),D.getMonth(),1).getDay();return W===0?6:W-1},Yq=()=>{const D=[],W=Xq(Q),ye=Ew(Q),D1=new Date(Q.getFullYear(),Q.getMonth()-1,1),mt=Ew(D1);for(let Oe=W-1;Oe>=0;Oe--)D.push(new Date(Q.getFullYear(),Q.getMonth()-1,mt-Oe));for(let Oe=1;Oe<=ye;Oe++)D.push(new Date(Q.getFullYear(),Q.getMonth(),Oe));const Qc=42-D.length;for(let Oe=1;Oe<=Qc;Oe++)D.push(new Date(Q.getFullYear(),Q.getMonth()+1,Oe));return D},Jq=(D,W)=>!D||!W?!1:D.getDate()===W.getDate()&&D.getMonth()===W.getMonth()&&D.getFullYear()===W.getFullYear(),Qq=D=>D.getMonth()===Q.getMonth()&&D.getFullYear()===Q.getFullYear(),eA=()=>{Jc(new Date(Q.getFullYear(),Q.getMonth()-1,1))},tA=()=>{Jc(new Date(Q.getFullYear(),Q.getMonth()+1,1))},aA=D=>{if(!s){const W=new Date(D);W.setHours(vL),W.setMinutes(_L),gL(W)}},nA=()=>{if(!s){if(fL){const D=new Date(fL);D.setHours(vL),D.setMinutes(_L),t(D)}else t(null);At(!1)}},oA=()=>{const D=qt(e);gL(D),D&&(ML(D.getHours()),xL(D.getMinutes())),At(!1)},cA=D=>{Jc(new Date(Q.getFullYear(),D,1)),Sc(!1)},iA=D=>{Jc(new Date(D,Q.getMonth(),1)),jc(!1)},rA=()=>{const D=Q.getFullYear(),W=[];for(let ye=D-10;ye<=D+10;ye++)W.push(ye);return W},sA=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),At(!Xe);break;case"Escape":At(!1),Sc(!1),jc(!1);break;case"Tab":Xe&&(At(!1),Sc(!1),jc(!1));break}},dA={width:G||(r?"100%":"auto"),fontSize:p,fontWeight:_},lA={height:l,padding:h,backgroundColor:v||"#ffffff",border:ge?void 0:"none",borderColor:d?S||"#dc3545":I||"#dee2e6",color:w||"#212529",borderRadius:q,borderWidth:P,fontWeight:_,transition:`all ${z} ${N}`},hA={backgroundColor:C||"#ffffff",maxHeight:u,borderRadius:q,borderWidth:P,boxShadow:T,transition:`opacity ${z} ${N}, transform ${z} ${N}`,position:"fixed",top:ue==="bottom"?Nc.top+(H1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:ue==="top"?window.innerHeight-Nc.top+parseFloat(f.replace("rem",""))*16:"auto",left:be==="left"?Nc.left:"auto",right:be==="right"?window.innerWidth-(Nc.left+Nc.width):"auto",width:se||(r?Nc.width:"auto"),zIndex:10001},Ow={width:y,height:y,color:x||"#6c757d","--icon-rotation":Xe?"rotate(180deg)":"rotate(0deg)"},uA={color:j||"#212529",marginBottom:m,fontWeight:_},pA={color:$||"#6c757d"},yA={color:S||"#dc3545",marginTop:g},kA=Yq(),Ye=qt(e),Uw=Ye?Se==="minutes"?`${Ye.toLocaleDateString(Fw)} ${Ye.getHours().toString().padStart(2,"0")}:${Ye.getMinutes().toString().padStart(2,"0")}`:Ye.toLocaleDateString(Fw):"",mA=!!K&&(re==="icon"||re==="auto"&&!Ye),fA=xe||(Ye?`${Zq}${Uw}`:Gq);return c.jsxs("div",{className:`${E.datePickerContainer} ${i}`,ref:bL,style:dA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:E.label,style:uA,children:n}),c.jsxs("button",{ref:H1,type:"button",onClick:()=>!s&&At(!Xe),onKeyDown:sA,className:`
|
|
8170
8170
|
${E.datePickerButton}
|
|
8171
8171
|
${Xe?E.datePickerButtonOpen:""}
|
|
8172
8172
|
${s?E.datePickerButtonDisabled:""}
|
|
8173
|
-
`,style:lA,disabled:s,"aria-expanded":Xe,"aria-haspopup":"dialog","aria-label":fA,"aria-labelledby":n?`${n}-label`:void 0,children:[mA?c.jsx("span",{className:E.displayNode,"aria-hidden":!0,children:K}):c.jsx("span",{className:`${E.datePickerLabel} ${Ye?"":E.placeholder}`,style:Ye?void 0:pA,children:Ye?Uw:o}),ze?c.jsx("span",{className:E.chevron,style:Ow,children:ze}):c.jsx(Wx,{fill:"var(--color-text)",className:`${E.chevron} ${Xe?E.chevronOpen:""}`,style:Ow})]}),d&&c.jsx("div",{className:E.errorMessage,style:yA,children:d}),Xe&&!s&&ew.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:E.dropdown,style:hA,role:"dialog","aria-label":Wq,children:[c.jsxs("div",{className:E.calendarHeader,children:[c.jsx("button",{type:"button",className:E.navButton,onClick:eA,"aria-label":Oq,children:"‹"}),c.jsxs("div",{className:E.headerSelectors,children:[c.jsxs("div",{className:E.monthSelector,ref:wL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>Sc(!LL),style:{color:
|
|
8173
|
+
`,style:lA,disabled:s,"aria-expanded":Xe,"aria-haspopup":"dialog","aria-label":fA,"aria-labelledby":n?`${n}-label`:void 0,children:[mA?c.jsx("span",{className:E.displayNode,"aria-hidden":!0,children:K}):c.jsx("span",{className:`${E.datePickerLabel} ${Ye?"":E.placeholder}`,style:Ye?void 0:pA,children:Ye?Uw:o}),ze?c.jsx("span",{className:E.chevron,style:Ow,children:ze}):c.jsx(Wx,{fill:"var(--color-text)",className:`${E.chevron} ${Xe?E.chevronOpen:""}`,style:Ow})]}),d&&c.jsx("div",{className:E.errorMessage,style:yA,children:d}),Xe&&!s&&ew.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:E.dropdown,style:hA,role:"dialog","aria-label":Wq,children:[c.jsxs("div",{className:E.calendarHeader,children:[c.jsx("button",{type:"button",className:E.navButton,onClick:eA,"aria-label":Oq,children:"‹"}),c.jsxs("div",{className:E.headerSelectors,children:[c.jsxs("div",{className:E.monthSelector,ref:wL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>Sc(!LL),style:{color:H,"--hover-color":b},children:[(ce||tj)[Q.getMonth()],c.jsx(Wx,{fill:"var(--color-text)",className:`${E.selectorChevron} ${LL?E.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),LL&&c.jsx("div",{className:E.monthDropdown,children:(ce||tj).map((D,W)=>c.jsx("button",{type:"button",className:`${E.monthItem} ${Q.getMonth()===W?E.monthItemSelected:""}`,onClick:()=>cA(W),style:{padding:M,backgroundColor:Q.getMonth()===W?L||"#e7f1ff":C},onMouseEnter:ye=>{b&&Q.getMonth()!==W&&(ye.currentTarget.style.backgroundColor=b)},onMouseLeave:ye=>{b&&(ye.currentTarget.style.backgroundColor=Q.getMonth()===W?L||"#e7f1ff":C)},children:D},W))})]}),c.jsxs("div",{className:E.yearSelector,ref:CL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>jc(!IL),style:{color:H,"--hover-color":b},children:[Q.getFullYear(),c.jsx(Wx,{fill:"var(--color-text)",className:`${E.selectorChevron} ${IL?E.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),IL&&c.jsx("div",{className:E.yearDropdown,children:rA().map(D=>c.jsx("button",{type:"button",className:`${E.yearItem} ${Q.getFullYear()===D?E.yearItemSelected:""}`,onClick:()=>iA(D),style:{padding:M,backgroundColor:Q.getFullYear()===D?L||"#e7f1ff":C},onMouseEnter:W=>{b&&Q.getFullYear()!==D&&(W.currentTarget.style.backgroundColor=b)},onMouseLeave:W=>{b&&(W.currentTarget.style.backgroundColor=Q.getFullYear()===D?L||"#e7f1ff":C)},children:D},D))})]})]}),c.jsx("button",{type:"button",className:E.navButton,onClick:tA,"aria-label":Uq,children:"›"})]}),c.jsx("div",{className:E.weekdays,children:(X||dfe).map(D=>c.jsx("div",{className:E.weekday,style:{color:F},children:D},D))}),c.jsx("div",{className:E.calendarGrid,children:kA.map((D,W)=>{if(!D)return null;const ye=Jq(D,fL),D1=Qq(D),mt=!!(rt&&D<rt||Yc&&D>Yc);return c.jsx("button",{type:"button",className:`${E.dateCell} ${ye?E.dateCellSelected:""} ${ye?E.dateCellOtherMonthSelected:""} ${D1?"":E.dateCellOtherMonth} ${mt?E.dateCellDisabled:""}`,onClick:()=>!mt&&aA(D),disabled:mt,style:{width:V,height:V,color:ye?te:D1?B:R,backgroundColor:ye?Y:"transparent",opacity:mt?.4:1,cursor:mt?"not-allowed":"pointer"},onMouseEnter:Qc=>{!ye&&!mt&&b&&(Qc.currentTarget.style.backgroundColor=b)},onMouseLeave:Qc=>{ye||(Qc.currentTarget.style.backgroundColor="transparent")},children:D.getDate()},W)})}),Se==="minutes"&&c.jsxs("div",{className:E.timePickerContainer,children:[c.jsxs("div",{className:E.timeGroup,children:[c.jsx("span",{className:E.timeLabel,children:le}),c.jsx("div",{className:E.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"23",value:vL,onChange:D=>{const W=parseInt(D.target.value);!isNaN(W)&&W>=0&&W<=23&&ML(W)},className:E.timeInput})})]}),c.jsx("span",{className:E.timeSeparator,children:":"}),c.jsxs("div",{className:E.timeGroup,children:[c.jsx("span",{className:E.timeLabel,children:we}),c.jsx("div",{className:E.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"59",value:_L,onChange:D=>{const W=parseInt(D.target.value);!isNaN(W)&&W>=0&&W<=59&&xL(W)},className:E.timeInput})})]})]}),c.jsxs("div",{className:E.calendarFooter,children:[c.jsx("button",{type:"button",className:E.cancelButton,onClick:oA,style:{backgroundColor:me,color:it,borderRadius:q,padding:M},children:T1}),c.jsx("button",{type:"button",className:E.applyButton,onClick:nA,style:{backgroundColor:fe,color:Ie,borderRadius:q,padding:M},children:Eq})]})]}),document.body)]})},lfe="_selectContainer_1ptm9_1",hfe="_label_1ptm9_15",ufe="_selectButton_1ptm9_23",pfe="_selectButtonDisabled_1ptm9_43",yfe="_selectButtonOpen_1ptm9_48",kfe="_selectButtonContent_1ptm9_58",mfe="_selectIcon_1ptm9_66",ffe="_selectLabel_1ptm9_72",gfe="_placeholder_1ptm9_79",vfe="_chevron_1ptm9_84",Mfe="_errorMessage_1ptm9_93",_fe="_dropdown_1ptm9_99",xfe="_dropdownContent_1ptm9_123",Lfe="_item_1ptm9_129",Ife="_itemSelected_1ptm9_151",bfe="_itemContent_1ptm9_155",wfe="_itemIcon_1ptm9_162",Cfe="_itemLabel_1ptm9_168",ke={selectContainer:lfe,label:hfe,selectButton:ufe,selectButtonDisabled:pfe,selectButtonOpen:yfe,selectButtonContent:kfe,selectIcon:mfe,selectLabel:ffe,placeholder:gfe,chevron:vfe,errorMessage:Mfe,dropdown:_fe,dropdownContent:xfe,item:Lfe,itemSelected:Ife,itemContent:bfe,itemIcon:wfe,itemLabel:Cfe},Fq=({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:g="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:f="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:M="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:_="var(--select-item-padding, 0.5rem 0.75rem)",gap:v="var(--select-gap, 0.5rem)",buttonBgColor:I,buttonBorderColor:w,buttonTextColor:C,dropdownBgColor:b,itemHoverColor:L,selectedItemBgColor:x,iconColor:S,errorColor:j,labelColor:$,placeholderColor:q,border:P,borderRadius:T="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:V="var(--select-transition-duration, 0.2s)",transitionTiming:H="var(--select-transition-timing, ease)",scrollbarWidth:F="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:B="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:R="var(--select-scrollbar-thumb-color, #c1c1c1)",width:Y,dropdownPosition:te="bottom",dropdownAlignment:me="right",dropdownWidth:it})=>{const[fe,Ie]=k.useState(!1),G=k.useRef(null),K=e.find(ce=>ce.value===t);k.useEffect(()=>{const ce=X=>{G.current&&!G.current.contains(X.target)&&Ie(!1)};return document.addEventListener("mousedown",ce),()=>document.removeEventListener("mousedown",ce)},[]);const re=ce=>{d||(n(ce),Ie(!1))},xe=ce=>{if(!d)switch(ce.key){case"Enter":case" ":ce.preventDefault(),Ie(!fe);break;case"Escape":Ie(!1);break;case"Tab":fe&&Ie(!1);break}},ue={width:Y||(s?"100%":"auto"),fontSize:y},be={height:h,padding:u,backgroundColor:I||"var(--select-button-bg-color, #ffffff)",border:P,borderColor:l?j||"var(--select-error-color, #dc3545)":w||"var(--select-button-border-color, #dee2e6)",color:C||"var(--select-button-text-color, #212529)",borderRadius:T,borderWidth:z,transition:`all ${V} ${H}`},se={backgroundColor:b||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:T,borderWidth:z,boxShadow:N,transition:`opacity ${V} ${H}, transform ${V} ${H}`,position:"absolute",top:te==="bottom"?"100%":"auto",bottom:te==="top"?"100%":"auto",left:me==="left"?0:"auto",right:me==="right"?0:"auto",width:it||(s?"100%":"auto"),marginTop:te==="bottom"?M:0,marginBottom:te==="top"?M:0,zIndex:1001},ge={width:m,height:m,color:S||"var(--select-icon-color, #6c757d)","--icon-rotation":fe?"rotate(180deg)":"rotate(0deg)"},ze={color:$||"var(--select-label-color, #212529)",marginBottom:g},Se={color:q||"var(--select-placeholder-color, #6c757d)"},le={color:j||"var(--select-error-color, #dc3545)",marginTop:f},we={padding:_,transition:`background-color ${V} ${H}`},rt={gap:v},Yc={"--scrollbar-width":F,"--scrollbar-track-color":B,"--scrollbar-thumb-color":R};return c.jsxs("div",{className:`${ke.selectContainer} ${r}`,ref:G,style:ue,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,children:[o&&c.jsx("label",{className:ke.label,style:ze,children:o}),c.jsxs("button",{type:"button",onClick:()=>!d&&Ie(!fe),onKeyDown:xe,className:`
|
|
8174
8174
|
${ke.selectButton}
|
|
8175
8175
|
${fe?ke.selectButtonOpen:""}
|
|
8176
8176
|
${d?ke.selectButtonDisabled:""}
|
|
8177
8177
|
`,style:be,disabled:d,"aria-expanded":fe,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:ke.selectButtonContent,style:rt,children:[K?.icon&&c.jsx("span",{className:ke.selectIcon,style:ge,children:K.icon}),c.jsx("span",{className:`${ke.selectLabel} ${K?"":ke.placeholder}`,style:K?void 0:Se,children:K?K.label:i})]}),c.jsx(Wx,{fill:"var(--color-text)",className:`${ke.chevron} ${fe?ke.chevronOpen:""}`,style:ge})]}),l&&c.jsx("div",{className:ke.errorMessage,style:le,children:l}),fe&&!d&&c.jsx("div",{className:ke.dropdown,style:se,role:"listbox","aria-label":o||"Options de sélection",children:c.jsx("div",{className:ke.dropdownContent,style:Yc,children:e.map(ce=>c.jsx("button",{type:"button",onClick:()=>re(ce.value),className:`
|
|
8178
8178
|
${ke.item}
|
|
8179
8179
|
${t===ce.value?ke.itemSelected:""}
|
|
8180
|
-
`,style:{...we,backgroundColor:t===ce.value?L||"#F0F4F6":"transparent"},onMouseEnter:X=>{_&&(X.currentTarget.style.backgroundColor=_)},onMouseLeave:X=>{_&&(X.currentTarget.style.backgroundColor=t===ce.value?L||"#F0F4F6":"transparent")},role:"option","aria-selected":t===ce.value,children:c.jsxs("div",{className:ke.itemContent,style:rt,children:[ce.icon&&c.jsx("span",{className:ke.itemIcon,style:ge,children:ce.icon}),c.jsx("span",{className:ke.itemLabel,children:ce.label})]})},ce.value))})})]})},Nfe="_filterBar_1hlqe_3",Sfe="_label_1hlqe_11",aj={filterBar:Nfe,label:Sfe},jfe=({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:g="0.875rem",labelFontWeight:f="400",labelColor:M="#212529",labelMarginRight:x="1rem",startDateWidth:v,endDateWidth:I,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:_,extraContent:L})=>{const S={fontSize:g,fontWeight:f,color:M,marginRight:x},j={gap:m};return c.jsxs("div",{className:`${aj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:aj.label,style:S,children:e}),c.jsx(Qb,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),c.jsx(Qb,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...C}),c.jsx(Fq,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),L,_&&c.jsx("div",{style:{marginLeft:"auto"},children:_})]})},$fe="_container_1x6mq_16",qfe="_disabled_1x6mq_26",Afe="_predStyle_1x6mq_32",zfe="_realStyle_1x6mq_36",Vfe="_predGap_1x6mq_40",Pfe="_realGap_1x6mq_44",Tfe="_big_1x6mq_49",Hfe="_medium_1x6mq_53",Dfe="_iconWrapper_1x6mq_58",Bfe="_predRelative_1x6mq_68",Rfe="_realRelative_1x6mq_72",Ffe="_iconImg_1x6mq_76",Efe="_content_1x6mq_84",Ofe="_header_1x6mq_93",Ufe="_predJustify_1x6mq_99",Wfe="_realJustify_1x6mq_103",Gfe="_predHeaderLineHeight_1x6mq_116",Zfe="_realHeaderLineHeight_1x6mq_120",Kfe="_title_1x6mq_129",Xfe="_titleBlack_1x6mq_144",Yfe="_titleWhite_1x6mq_148",Jfe="_subtitle_1x6mq_153",Qfe="_valueRowHorizontal_1x6mq_163",e7e="_valueRowVertical_1x6mq_171",t7e="_singleValue_1x6mq_180",a7e="_primaryRow_1x6mq_184",n7e="_maxBadge_1x6mq_191",o7e="_valuePrimary_1x6mq_203",c7e="_valuePrimaryBlack_1x6mq_210",i7e="_valuePrimaryWhite_1x6mq_214",r7e="_valueSlash_1x6mq_219",s7e="_valueSecondary_1x6mq_226",d7e="_valueSecondaryBlue_1x6mq_232",l7e="_valueSecondaryWhite_1x6mq_236",h7e="_valueSecondaryBlack_1x6mq_240",u7e="_valueStacked_1x6mq_245",p7e="_stackedTop_1x6mq_254",y7e="_stackedBottom_1x6mq_255",ae={container:$fe,disabled:qfe,predStyle:Afe,realStyle:zfe,predGap:Vfe,realGap:Pfe,big:Tfe,medium:Hfe,iconWrapper:Dfe,predRelative:Bfe,realRelative:Rfe,iconImg:Ffe,content:Efe,header:Ofe,predJustify:Ufe,realJustify:Wfe,predHeaderLineHeight:Gfe,realHeaderLineHeight:Zfe,title:Kfe,titleBlack:Xfe,titleWhite:Yfe,subtitle:Jfe,valueRowHorizontal:Qfe,valueRowVertical:e7e,singleValue:t7e,primaryRow:a7e,maxBadge:n7e,valuePrimary:o7e,valuePrimaryBlack:c7e,valuePrimaryWhite:i7e,valueSlash:r7e,valueSecondary:s7e,valueSecondaryBlue:d7e,valueSecondaryWhite:l7e,valueSecondaryBlack:h7e,valueStacked:u7e,stackedTop:p7e,stackedBottom:y7e},k7e=({iconName:e,title:t,subtitle:n,showSubtitle:o,realised:i="-",prediction:r="-",size:s="big",titleColor:d="black",valueColor:l="blue",realValueColor:h,className:u="",style:p="",variant:y="horizontal",showMax:m=!1,titleFontSize:g,titleFontWeight:f,subtitleFontSize:M,subtitleFontWeight:x,primaryFontSize:v,primaryFontWeight:I,secondaryFontSize:w,secondaryFontWeight:C,backgroundColor:b="#f2f9fc",gap:_="",disabled:L=!1,positionRelative:S="",justifyContent:j="",headerLineHeight:$="",headerMinHeight:q="",contentSpace:P=""})=>{const H=o!==void 0?o:!!n,z=`${ae.container} ${ae[s]} ${ae[p]} ${L?ae.disabled:""}`,N=l==="white"?ae.valuePrimaryWhite:ae.valuePrimaryBlack,V=l==="blue"?ae.valueSecondaryBlue:l==="white"?ae.valueSecondaryWhite:ae.valueSecondaryBlack,T=te=>te===void 0?void 0:typeof te=="number"?`${te}px`:te,F=te=>te===void 0?void 0:te,B=y==="vertical",R=r!=null&&r!==""&&r!=="-"&&r!=="—",Y=B?ae.valueRowVertical:ae.valueRowHorizontal;return c.jsxs("div",{className:`${z} ${u}`,style:{backgroundColor:b},children:[e&&c.jsx("div",{className:`${ae.iconWrapper} ${ae[S]}`,children:e}),c.jsxs("div",{className:`${ae.content} ${ae[_]} ${R?"":ae.singleValue} content-indicator-v2`,style:{justifyContent:P},children:[c.jsx("div",{className:`${ae.header} ${ae[j]} ${ae[$]} header-indicator-v2`,style:{minHeight:q},children:c.jsx("h6",{className:`${ae.title}`,style:{fontSize:T(g),fontWeight:F(f),color:d},children:t})}),H&&n?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ae.subtitle,style:{fontSize:T(M),fontWeight:F(x)},children:n})}):null,c.jsxs("div",{className:`${Y} count-indicator-v2`,children:[c.jsxs("div",{className:ae.primaryRow,children:[m&&c.jsx("span",{className:`${ae.maxBadge} max-badge-indicator-v2`,children:"MAX"}),c.jsx("span",{className:`${ae.valuePrimary} ${N}`,style:{fontSize:T(v||(!R&&B?"1.75rem":void 0)),fontWeight:F(I),color:h||void 0},children:i})]}),R&&c.jsxs(c.Fragment,{children:[!B&&c.jsx("span",{className:ae.valueSlash,style:{fontSize:T(w),fontWeight:F(C)},children:"/"}),c.jsx("span",{className:`${ae.valueSecondary} ${V}`,style:{fontSize:T(w),fontWeight:F(C)},children:r})]})]})]})]})},m7e="_banner_f10in_2",f7e="_iep_f10in_14",g7e="_groupSmall_f10in_24",v7e="_genre_f10in_34",M7e="_gravite_f10in_42",_7e="_orientationContainer_f10in_48",x7e="_service_f10in_61",L7e="_roomBedContainer_f10in_71",I7e="_room_f10in_71",b7e="_bed_f10in_87",w7e="_bedUf_f10in_92",C7e="_statusContainer_f10in_97",N7e="_status_f10in_97",S7e="_centeredWarn_f10in_124",$e={banner:m7e,iep:f7e,groupSmall:g7e,genre:v7e,gravite:M7e,orientationContainer:_7e,service:x7e,roomBedContainer:L7e,room:I7e,bed:b7e,bedUf:w7e,statusContainer:C7e,status:N7e,centeredWarn:S7e},j7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),nj=k.memo(j7e),$7e=({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:g,style:f,warn:M=!1,warnMessage:x,warnColor:v="#F94134"})=>c.jsxs("div",{className:$e.banner,style:{backgroundColor:l,...f},children:[c.jsxs("div",{className:$e.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(/^./,I=>I.toUpperCase()),".(",e.age,")"]})]}),c.jsxs("div",{className:$e.groupSmall,children:[c.jsx("span",{className:`${$e.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:g},children:t??"--"}),c.jsx("span",{className:`${$e.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:$e.orientationContainer,children:c.jsx("div",{className:$e.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:$e.roomBedContainer,children:[i&&c.jsx("span",{className:$e.bedUf,children:i}),c.jsx("span",{className:$e.room,children:r??"--"}),c.jsx("span",{className:$e.bed,children:o??"--"})]}),c.jsxs("div",{className:$e.statusContainer,children:[d?c.jsx("div",{className:`${$e.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&c.jsxs("div",{className:$e.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(nj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:x})]}),d&&M&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(nj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:x})]})]})]}),q7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),A7e=k.memo(q7e),z7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),V7e=k.memo(z7e),P7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),T7e=k.memo(P7e),H7e="_overlay_1grjo_1",D7e="_container_1grjo_11",B7e="_fullscreen_1grjo_24",R7e="_header_1grjo_30",F7e="_headerActions_1grjo_42",E7e="_iconButton_1grjo_47",O7e="_body_1grjo_58",U7e="_sidebar_1grjo_65",W7e="_content_1grjo_89",G7e="_contentHeader_1grjo_96",Z7e="_childrenWrapper_1grjo_112",K7e="_footer_1grjo_136",X7e="_baseButton_1grjo_144",Y7e="_noOverlay_1grjo_158",J7e="_contained_1grjo_166",ve={overlay:H7e,container:D7e,fullscreen:B7e,header:R7e,headerActions:F7e,iconButton:E7e,body:O7e,sidebar:U7e,content:W7e,contentHeader:G7e,childrenWrapper:Z7e,footer:K7e,baseButton:X7e,noOverlay:Y7e,contained:J7e},Q7e=({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:g=!1,hideSidebar:f=!1,onDelete:M,deleteLabel:x="Supprimer",width:v="75%",maxWidth:I="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:_="1rem",overflow:L="auto",contentHeaderAction:S,contentFooterAction:j,hideFooter:$=!1,hideOverlay:q=!1,position:P})=>{const[H,z]=k.useState(!1),N=k.useRef(null);if(k.useEffect(()=>{if(!r||!q)return;const T=F=>{(F.type==="scroll"||F.type==="wheel"||F.type==="touchmove"||N.current&&!N.current.contains(F.target))&&s()};return document.addEventListener("mousedown",T),document.addEventListener("scroll",T,!0),document.addEventListener("wheel",T,{passive:!0,capture:!0}),document.addEventListener("touchmove",T,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",T),document.removeEventListener("scroll",T,!0),document.removeEventListener("wheel",T,!0),document.removeEventListener("touchmove",T,!0)}},[r,q,s]),!r)return null;const V=(T,F=!1)=>c.jsx(Gx,{onClick:T.disabled?void 0:T.onClick,className:ve.baseButton,disabled:T.disabled,style:{background:T.backgroundColor??(F?"#008FBB":"#ffffff"),color:T.textColor??(F?"#ffffff":"#374151"),border:T.borderColor||F?"none":void 0,cursor:T.disabled?T.cursor??"not-allowed":T.cursor??"pointer",filter:T.disabled?T.filter??"grayscale(0.5)":T.filter??"none",opacity:T.disabled?.65:1},children:T.text});return c.jsx("div",{className:q?ve.noOverlay:ve.overlay,onClick:s,children:c.jsxs("div",{ref:N,className:`${ve.container} ${H?ve.fullscreen:""} ${q?ve.contained:""}`,onClick:T=>T.stopPropagation(),style:{width:H?"100%":v,maxWidth:H?"none":I,height:H?"100%":w,maxHeight:H?"100%":C,borderRadius:H?"0":b,overflow:L,...P||{}},children:[!g&&c.jsxs("header",{className:ve.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},children:e}),c.jsxs("div",{className:ve.headerActions,children:[!m&&c.jsx("button",{onClick:()=>z(!H),className:ve.iconButton,title:H?"Réduire":"Agrandir",children:H?c.jsx(T7e,{width:22,height:22,fill:t}):c.jsx(A7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:ve.iconButton,title:"Fermer",children:c.jsx(V7e,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:ve.body,style:{overflow:L},children:[y&&!f&&c.jsx("aside",{className:ve.sidebar,children:y}),c.jsxs("main",{className:ve.content,style:{backgroundColor:p,overflow:L},children:[u&&c.jsxs("header",{className:ve.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),S]}),c.jsx("div",{className:ve.childrenWrapper,style:{padding:_,overflow:L},children:h})]})]}),!$&&c.jsxs("footer",{className:ve.footer,style:{backgroundColor:n},children:[M&&c.jsx(Gx,{onClick:M,className:ve.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:x}),j,V(d),V(l,!0)]})]})})},ege="_container_1vb1c_1",tge="_searchWrapper_1vb1c_10",age="_navItems_1vb1c_17",bb={container:ege,searchWrapper:tge,navItems:age},nge=({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:`${bb.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:bb.searchWrapper,children:c.jsx(Tq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:bb.navItems,children:e.map(p=>c.jsx(Rw,{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))})]}),oge=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules",addModuleTitle:d="Ajouter un module",addModuleLabel:l="Titre",addModulePlaceholder:h="Nom du module",renameModuleTitle:u="Renommer le module",renameModuleLabel:p="Titre",renameModulePlaceholder:y="Nom du module",confirmText:m="Valider",cancelText:g="Annuler"})=>{const[f,M]=k.useState(!1),[x,v]=k.useState(null),I=()=>M(!0),w=()=>M(!1),C=j=>{const $=j.title?.trim();$&&o&&o($),w()},b=(j,$)=>{j.stopPropagation(),v($)},_=()=>v(null),L=j=>{const $=j.title?.trim();x&&$&&i&&i(x,$),_()},S=(j,$)=>{j.stopPropagation(),r&&r($)};return c.jsxs("div",{className:"module-sidebar-v2",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("div",{className:"header-title",children:[s," (",e.length,")"]}),c.jsx(Rc,{size:18,className:"add-view-icon",onClick:I})]}),c.jsx("div",{className:"module-list",children:e.map(j=>c.jsxs("div",{className:`module-item ${j.id===t?"selected":""}`,onClick:()=>n&&n(j),children:[j.icon||c.jsx(m1,{size:14,className:"drag-handle"}),c.jsxs("div",{className:"module-content",children:[c.jsx("div",{className:"module-title",children:j.title}),j.subtitle&&c.jsx("div",{className:"module-subtitle",children:j.subtitle})]}),typeof j.count<"u"&&c.jsx("span",{className:"module-count",children:j.count}),c.jsxs("div",{className:"module-actions",children:[c.jsx(lt,{size:12,className:"action-icon edit",onClick:$=>b($,j)}),c.jsx(Nt,{size:12,className:"action-icon delete",onClick:$=>S($,j)})]})]},j.id))}),c.jsx(Cc,{isOpen:f,onClose:w,onSave:C,title:d,fields:[{name:"title",label:l,placeholder:h}],confirmText:m,cancelText:g}),x&&c.jsx(Cc,{isOpen:!!x,onClose:_,onSave:L,title:u,initialValues:{title:x.title},fields:[{name:"title",label:p,placeholder:y}],confirmText:m,cancelText:g})]})},cge=({keyName:e,translations:t,availableLanguages:n,onChange:o,onRename:i,onDelete:r})=>{const[s,d]=k.useState(!1),[l,h]=k.useState(e),[u,p]=k.useState(null),[y,m]=k.useState(""),[g,f]=k.useState(!1),[M,x]=k.useState(""),[v,I]=k.useState(""),w=k.useMemo(()=>{const z={};return Array.isArray(t)&&t.forEach(N=>{N&&N.language&&(z[N.language.toUpperCase()]=N.value)}),z},[t]),C=k.useMemo(()=>n,[n]),b=()=>{d(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):h(e)},_=z=>{z.key==="Enter"?b():z.key==="Escape"&&(h(e),d(!1))},L=z=>{const N=z.toUpperCase();p(N),m(w[N]||"")},S=()=>{u&&(o(u,y),p(null),m(""))},j=z=>{z.key==="Enter"?S():z.key==="Escape"&&(p(null),m(""))},$=()=>{f(!0),C.length>0&&x(C[0].toUpperCase()),I("")},q=()=>{M&&v.trim()&&(o(M,v.trim()),f(!1),x(""),I(""))},P=()=>{f(!1),x(""),I("")},H=z=>{z.key==="Enter"?q():z.key==="Escape"&&P()};return c.jsxs("div",{className:"translation-key-v2",children:[c.jsxs("div",{className:"header",children:[s?c.jsx("input",{className:"key-name-input",value:l,onChange:z=>h(z.target.value),onBlur:b,onKeyDown:_,autoFocus:!0}):c.jsx("h3",{className:"header-title",children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(lt,{size:16,className:"action-icon edit",onClick:()=>d(!0)}),c.jsx(Nt,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(z=>{const N=z.toUpperCase(),V=w[N]||"",T=u===N;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:N}),T?c.jsx("input",{className:"translation-input editing",value:y,onChange:F=>m(F.target.value),onBlur:S,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${V?"":"empty"}`,onClick:()=>L(z),title:"Cliquer pour éditer",children:V||"Cliquer pour ajouter..."})]},z)}),g?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:M,onChange:z=>x(z.target.value),children:C.map(z=>c.jsx("option",{value:z.toUpperCase(),children:z.toUpperCase()},z))}),c.jsx("input",{className:"translation-input editing",value:v,onChange:z=>I(z.target.value),onKeyDown:H,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(h1,{size:18,className:"action-icon confirm",onClick:q}),c.jsx(Ge,{size:18,className:"action-icon cancel",onClick:P})]})]}):C.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Ec,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},ige="_overlay_1jz4r_1",rge="_modal_1jz4r_15",sge="_body_1jz4r_27",dge="_footer_1jz4r_46",lge="_confirmButton_1jz4r_55",hge="_danger_1jz4r_75",uge="_cancelButton_1jz4r_83",gt={overlay:ige,modal:rge,body:sge,footer:dge,confirmButton:lge,danger:hge,cancelButton:uge},pge=({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:gt.overlay,onClick:o,children:c.jsxs("div",{className:gt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:gt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:gt.footer,children:[c.jsx("button",{className:`${gt.confirmButton} ${s?gt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:gt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:gt.cancelButton,onClick:o,children:r})]})]})}):null,yge="_card_1ildr_1",kge="_topIcon_1ildr_17",mge="_title_1ildr_24",fge="_text_1ildr_31",gge="_bottomIcon_1ildr_37",o1={card:yge,topIcon:kge,title:mge,text:fge,bottomIcon:gge},vge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff"})=>c.jsxs("div",{className:`${o1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},children:[e&&c.jsx("div",{className:o1.topIcon,children:e}),c.jsx("h3",{className:o1.title,style:{color:s},children:t}),c.jsx("p",{className:o1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:o1.bottomIcon,children:o})]}),Mge="_container_1ry38_1",_ge="_disabled_1ry38_9",xge="_selectBox_1ry38_14",Lge="_selectBoxOpen_1ry38_36",Ige="_tagsContainer_1ry38_41",bge="_tag_1ry38_41",wge="_tagLabel_1ry38_66",Cge="_removeBtnContainer_1ry38_72",Nge="_removeBtn_1ry38_72",Sge="_searchInput_1ry38_97",jge="_placeholder_1ry38_117",$ge="_actions_1ry38_124",qge="_clearBtn_1ry38_131",Age="_chevron_1ry38_153",zge="_chevronOpen_1ry38_159",Vge="_dropdown_1ry38_163",Pge="_option_1ry38_177",Tge="_noOptions_1ry38_189",Hge="_overflowBlock_1ry38_196",Dge="_overflowEllipsis_1ry38_203",Bge="_overflowBadge_1ry38_210",Rge="_overflowBadgeWrap_1ry38_233",Fge="_overflowDropdown_1ry38_239",Ege="_overflowDropdownItem_1ry38_255",Oge="_overflowDropdownItemLabel_1ry38_266",Uge="_overflowDropdownItemRemove_1ry38_273",J={container:Mge,disabled:_ge,selectBox:xge,selectBoxOpen:Lge,tagsContainer:Ige,tag:bge,tagLabel:wge,removeBtnContainer:Cge,removeBtn:Nge,searchInput:Sge,placeholder:jge,actions:$ge,clearBtn:qge,chevron:Age,chevronOpen:zge,dropdown:Vge,option:Pge,noOptions:Tge,overflowBlock:Hge,overflowEllipsis:Dge,overflowBadge:Bge,overflowBadgeWrap:Rge,overflowDropdown:Fge,overflowDropdownItem:Ege,overflowDropdownItemLabel:Oge,overflowDropdownItemRemove:Uge},Wge=({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),g=k.useRef(null),f=k.useRef(null),[M,x]=k.useState(null),[v,I]=k.useState(!1),w=k.useRef([]),C=k.useRef(null),b=k.useMemo(()=>{const N=new Map(e.map(V=>[V.value,V]));return n.map(V=>N.get(V)).filter(V=>V!==void 0)},[e,n]),_=k.useMemo(()=>e.filter(N=>!n.includes(N.value)),[e,n]),L=k.useMemo(()=>{let N=_;return u&&(N=N.filter(V=>V.label.toLowerCase().includes(u.toLowerCase()))),N},[_,u]);k.useEffect(()=>{const N=V=>{const T=V.target;y.current&&!y.current.contains(T)&&(h(!1),p(""),x(null),I(!1))};return document.addEventListener("mousedown",N),()=>document.removeEventListener("mousedown",N)},[]),k.useEffect(()=>{if(b.length===0){x(null),w.current=[];return}b.length>w.current.length&&x(null);const N=()=>{const B=g.current,R=f.current;if(!B||!R)return;const Y=R.getBoundingClientRect().width,te=R.querySelector(`.${J.actions}`),me=te?te.getBoundingClientRect().width:80,it=56,fe=r?80:0,Ie=16,G=Array.from(B.querySelectorAll(`.${J.tag}`));G.length===b.length&&(w.current=G.map(le=>{const we=le.getBoundingClientRect(),rt=le.scrollWidth;return Math.max(we.width,rt,le.offsetWidth||0)}));const K=w.current,re=K.length>0?K.reduce((le,we)=>le+we,0)/K.length:120,xe=b.length<=K.length?K.slice(0,b.length):[...K,...Array(b.length-K.length).fill(re)],ue=4,be=Math.max(0,Y-me-fe-Ie);let se=0,ge=0;for(let le=0;le<b.length;le++){const we=xe[le]??120;if(se+we+ue>be)break;se+=we+ue,ge++}if(ge>=b.length){x(null);return}const ze=Math.max(0,Y-it-me-fe-Ie);se=0;let Se=0;for(let le=0;le<b.length;le++){const we=xe[le]??120;if(se+we+ue>ze)break;se+=we+ue,Se++}Se<b.length&&Se>0?x(Se):x(null)},V=requestAnimationFrame(()=>{N()}),T=setTimeout(N,100),F=new ResizeObserver(()=>{N()});return f.current&&F.observe(f.current),()=>{cancelAnimationFrame(V),clearTimeout(T),F.disconnect()}},[b,r,l]);const S=()=>{if(d)return;const N=!l;N&&I(!1),h(N),N&&r&&setTimeout(()=>m.current?.focus(),0)},j=N=>{if(n.includes(N.value))return;I(!1);const V=[...b,N];o(V),p(""),x(null),h(!1)},$=N=>{N.preventDefault(),N.stopPropagation(),I(V=>!V)},q=M!=null&&M<b.length?b.slice(M):[],P=(N,V)=>{V.stopPropagation();const T=b.filter(F=>F.value!==N);o(T)},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:g,children:[M!==null&&M>0?b.slice(0,M).map((N,V)=>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:T=>P(N.value,T),"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}-${V}`)):b.map((N,V)=>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:T=>P(N.value,T),"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}-${V}`)),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})]}),M!==null&&M<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:$,"aria-label":`Afficher ${q.length} éléments cachés`,children:q.length}),v&&q.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:q.map((N,V)=>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:T=>{T.stopPropagation(),P(N.value,T)},"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}-${V}`))})]})]}),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:L.length>0?L.map((N,V)=>c.jsx("div",{className:J.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${V}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},Gge="_container_h7jek_1",Zge={container:Gge},Kge=({labels:e=[],data:t=[],selectedUfs:n=[],icons:o=[],lastCardTextColor:i="black",boardColors:r={}})=>{const s=k.useMemo(()=>{const h=n.length===0?t:t.filter(p=>p&&n.includes(String(p.uf).replace(/^0+/,""))),u=new Set;return h.filter(p=>{if(!p||!p.uf)return!1;const y=String(p.uf).replace(/^0+/,"");return u.has(y)?!1:(u.add(y),!0)})},[t,n]),d=k.useMemo(()=>s.reduce((h,u)=>({disponibles:h.disponibles+(u.totalAvailable??u.disponibles??0),homme:h.homme+(u.availableMen??u.disponibleHomme??0),femme:h.femme+(u.availableWomen??u.disponibleFemme??0),indifferencie:h.indifferencie+(u.availableIndifferentSex??u.indifferences??0),sorties:h.sorties+(u.outToday??u.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[s]),l=h=>r.disponibles?r.disponibles:h>3?"#35994E":h>=1?"#EF6C00":"#C62828";return c.jsxs("div",{className:Zge.container,children:[c.jsx(It,{label:e[0],value:d.disponibles.toLocaleString("fr-FR"),iconName:o[0],backgroundColor:l(d.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(It,{label:e[1],value:d.homme.toLocaleString("fr-FR"),iconName:o[1],backgroundColor:r.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(It,{label:e[2],value:d.femme.toLocaleString("fr-FR"),iconName:o[2],backgroundColor:r.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(It,{label:e[3],value:d.indifferencie.toLocaleString("fr-FR"),iconName:o[3],backgroundColor:r.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(It,{label:e[4],value:d.sorties.toLocaleString("fr-FR"),iconName:o[4],backgroundColor:r.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:i,valueColor:i,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Xge=({message:e,icon:t,className:n,style:o,fontSize:i,fontWeight:r,color:s,backgroundColor:d="#f44336",onClick:l})=>c.jsxs("div",{className:n,onClick:l,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})]}),Yge="_container_hmqnz_1",Jge="_chartContainer_hmqnz_14",Qge="_legend_hmqnz_22",eve="_legendItem_hmqnz_29",tve="_leftSection_hmqnz_41",ave="_colorIndicator_hmqnz_47",nve="_label_hmqnz_53",ove="_rightSection_hmqnz_59",cve="_ratio_hmqnz_65",ive="_value1_hmqnz_72",rve="_separator_hmqnz_76",sve="_value2_hmqnz_80",dve="_statusIndicator_hmqnz_84",lve="_inactive_hmqnz_99",qe={container:Yge,chartContainer:Jge,legend:Qge,legendItem:eve,leftSection:tve,colorIndicator:ave,label:nve,rightSection:ove,ratio:cve,value1:ive,separator:rve,value2:sve,statusIndicator:dve,inactive:lve},oj=Math.PI/180,hve=({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:g,borderColor:f})=>{const[M,x]=k.useState(new Set(e.map(_=>_.nom))),v=_=>{const L=new Set(M);L.has(_)?L.size>1&&L.delete(_):L.add(_),x(L)},I={...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":g||"#03a9f4","--border-color":f||"#e0e0e0"},w=k.useMemo(()=>e.map(_=>({..._,displayValue:M.has(_.nom)?_.value:0})),[e,M]),C=k.useMemo(()=>w.reduce((_,L)=>_+L.displayValue,0)||1,[w]),b=k.useCallback(({cx:_,cy:L,midAngle:S,innerRadius:j,outerRadius:$,value:q})=>{if(q===0)return null;const P=j+($-j)*.5,H=_+P*Math.cos(-S*oj),z=L+P*Math.sin(-S*oj),N=Math.round(q/C*100);return c.jsx(a.Text,{x:H,y:z,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${N}%`})},[C]);return c.jsxs("div",{className:`${qe.container} ${u}`,style:I,children:[c.jsx("div",{className:qe.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:w,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:2,startAngle:90,endAngle:450,labelLine:!1,label:b,isAnimationActive:!1,children:w.map((_,L)=>c.jsx(a.Cell,{fill:_.color},`cell-${L}`))})})})}),c.jsx("div",{className:qe.legend,children:e.map((_,L)=>{const S=M.has(_.nom);return c.jsxs("div",{className:`${qe.legendItem} ${S?"":qe.inactive}`,onClick:()=>v(_.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:qe.leftSection,children:[c.jsx("div",{className:qe.colorIndicator,style:{backgroundColor:_.color,opacity:S?1:.3}}),c.jsx("span",{className:qe.label,style:{opacity:S?1:.5},children:_.nom})]}),c.jsxs("div",{className:qe.rightSection,style:{opacity:S?1:.5},children:[c.jsxs("div",{className:qe.ratio,children:[c.jsx("span",{className:qe.value1,children:_.value1}),c.jsx("span",{className:qe.separator,children:"/"}),c.jsx("span",{className:qe.value2,children:_.value2})]}),_.statusColor&&c.jsx("div",{className:qe.statusIndicator,style:{backgroundColor:_.statusColor}})]})]},`legend-${L}`)})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=vge;exports.AddItemModal=Cc;exports.Alert=Bw;exports.AlertMessage=Xge;exports.AlertsProvider=bke;exports.BadgeList=cj;exports.BadgeRenderer=Nq;exports.Button=Gx;exports.ChartContainer=Lke;exports.CheckboxInput=iq;exports.CircularProgress=wb;exports.ColorInput=hq;exports.ComponentVisibilityManager=Sb;exports.ComponentVisibilityToggle=Dme;exports.ConfirmationModal=pge;exports.ConfirmationPopup=S3e;exports.CounterListBox=p3e;exports.CurrencyRenderer=$q;exports.DashboardSummary=fme;exports.DataBoard=It;exports.DataFourBoards=Hq;exports.DateInput=dq;exports.DatePicker=Qb;exports.DateRenderer=Sq;exports.DayStatCard=Zse;exports.DayStatCardV2=$6e;exports.DonutChartRatio=hve;exports.DraggableProvider=Jse;exports.DraggableSwitcherButton=Zx;exports.DynamicForm=Fye;exports.DynamicInput=uq;exports.EmailRenderer=wq;exports.Encours=jme;exports.EntryControl=h3e;exports.FileInput=sq;exports.FilterBar=jfe;exports.FiltreEtiquette=Wge;exports.FlexRowContainer=k3e;exports.Grid=sj;exports.Header=o2e;exports.HorizontalBarChart=q6e;exports.IconText=vj;exports.ImageRenderer=qq;exports.IndicatorItemV2=k7e;exports.InfoBanner=$7e;exports.InputWrapper=lL;exports.LegendFilterProvider=e2e;exports.LegendFilterSwitcherButton=Kx;exports.LinkRenderer=Cq;exports.ListContentContainer=m3e;exports.Logo=tw;exports.MetricsPanel=Vq;exports.ModuleHeader=Zke;exports.ModuleSideBar=Kke;exports.ModuleSideBarV2=oge;exports.NavBar=dj;exports.NavBarV2=X6e;exports.NavItem=Cb;exports.NavItemV2=Rw;exports.NavProvider=Kse;exports.NumberRenderer=jq;exports.PeriodSelect=$ke;exports.PopUp=Q7e;exports.RadioInput=rq;exports.RangeInput=lq;exports.ScrollableHorizontale=Mj;exports.SearchBar=Tq;exports.Select=Fq;exports.SelectFilter=dme;exports.SelectInput=Pw;exports.SettingNavBar=nge;exports.ShowDataProvider=t2e;exports.ShowDataSwitcherButton=Xx;exports.SideComponent=Ake;exports.SimpleListBox=u3e;exports.SubHeaderContent=h8e;exports.SubHeaderNavItem=Bq;exports.SubHeaderTitle=a8e;exports.SubNavBar=c2e;exports.SummaryAvailable=Kge;exports.SummaryCard=zq;exports.Switcher=q1;exports.TableLayout=Rq;exports.TableauDynamique=Aq;exports.TableauDynamiqueSafePagination=S5e;exports.TableauxComponent=Rq;exports.TextInput=oq;exports.TextRenderer=bq;exports.TextareaInput=cq;exports.ThemeProvider=Xse;exports.ThemeSwitcher=u8e;exports.ThemeSwitcherButton=Nb;exports.Title=Tke;exports.TranslationKey=Xke;exports.TranslationKeyV2=cge;exports.TrendItem=_j;exports.TrendList=eue;exports.TrendListBox=y3e;exports.UserInfo=Dq;exports.alertModels=Cke;exports.getFormSchema=Eye;exports.hexToRgba=wt;exports.registerRenderer=v5e;exports.tableConfig=Jb;exports.useAlerts=wke;exports.useBodyScrollLock=zke;exports.useConfirmationPopup=j3e;exports.useDraggableSwitcher=pj;exports.useFilters=Lq;exports.useLegendFilterSwitcher=kj;exports.useNavigation=ct;exports.useShowDataSwitcher=fj;exports.useTableData=Iq;exports.useThemeContext=hj;exports.useThemeSwitcher=oL;exports.validateField=nL;exports.validateForm=nq;
|
|
8180
|
+
`,style:{...we,backgroundColor:t===ce.value?x||"#F0F4F6":"transparent"},onMouseEnter:X=>{L&&(X.currentTarget.style.backgroundColor=L)},onMouseLeave:X=>{L&&(X.currentTarget.style.backgroundColor=t===ce.value?x||"#F0F4F6":"transparent")},role:"option","aria-selected":t===ce.value,children:c.jsxs("div",{className:ke.itemContent,style:rt,children:[ce.icon&&c.jsx("span",{className:ke.itemIcon,style:ge,children:ce.icon}),c.jsx("span",{className:ke.itemLabel,children:ce.label})]})},ce.value))})})]})},Nfe="_filterBar_1hlqe_3",Sfe="_label_1hlqe_11",aj={filterBar:Nfe,label:Sfe},jfe=({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:g="0.875rem",labelFontWeight:f="400",labelColor:M="#212529",labelMarginRight:_="1rem",startDateWidth:v,endDateWidth:I,selectWidth:w,datePickerProps:C={},selectProps:b={},rightContent:L,extraContent:x})=>{const S={fontSize:g,fontWeight:f,color:M,marginRight:_},j={gap:m};return c.jsxs("div",{className:`${aj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:aj.label,style:S,children:e}),c.jsx(Qb,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...C}),c.jsx(Qb,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...C}),c.jsx(Fq,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:w,...b}),x,L&&c.jsx("div",{style:{marginLeft:"auto"},children:L})]})},$fe="_container_1x6mq_16",qfe="_disabled_1x6mq_26",Afe="_predStyle_1x6mq_32",zfe="_realStyle_1x6mq_36",Vfe="_predGap_1x6mq_40",Pfe="_realGap_1x6mq_44",Tfe="_big_1x6mq_49",Hfe="_medium_1x6mq_53",Dfe="_iconWrapper_1x6mq_58",Bfe="_predRelative_1x6mq_68",Rfe="_realRelative_1x6mq_72",Ffe="_iconImg_1x6mq_76",Efe="_content_1x6mq_84",Ofe="_header_1x6mq_93",Ufe="_predJustify_1x6mq_99",Wfe="_realJustify_1x6mq_103",Gfe="_predHeaderLineHeight_1x6mq_116",Zfe="_realHeaderLineHeight_1x6mq_120",Kfe="_title_1x6mq_129",Xfe="_titleBlack_1x6mq_144",Yfe="_titleWhite_1x6mq_148",Jfe="_subtitle_1x6mq_153",Qfe="_valueRowHorizontal_1x6mq_163",e7e="_valueRowVertical_1x6mq_171",t7e="_singleValue_1x6mq_180",a7e="_primaryRow_1x6mq_184",n7e="_maxBadge_1x6mq_191",o7e="_valuePrimary_1x6mq_203",c7e="_valuePrimaryBlack_1x6mq_210",i7e="_valuePrimaryWhite_1x6mq_214",r7e="_valueSlash_1x6mq_219",s7e="_valueSecondary_1x6mq_226",d7e="_valueSecondaryBlue_1x6mq_232",l7e="_valueSecondaryWhite_1x6mq_236",h7e="_valueSecondaryBlack_1x6mq_240",u7e="_valueStacked_1x6mq_245",p7e="_stackedTop_1x6mq_254",y7e="_stackedBottom_1x6mq_255",ae={container:$fe,disabled:qfe,predStyle:Afe,realStyle:zfe,predGap:Vfe,realGap:Pfe,big:Tfe,medium:Hfe,iconWrapper:Dfe,predRelative:Bfe,realRelative:Rfe,iconImg:Ffe,content:Efe,header:Ofe,predJustify:Ufe,realJustify:Wfe,predHeaderLineHeight:Gfe,realHeaderLineHeight:Zfe,title:Kfe,titleBlack:Xfe,titleWhite:Yfe,subtitle:Jfe,valueRowHorizontal:Qfe,valueRowVertical:e7e,singleValue:t7e,primaryRow:a7e,maxBadge:n7e,valuePrimary:o7e,valuePrimaryBlack:c7e,valuePrimaryWhite:i7e,valueSlash:r7e,valueSecondary:s7e,valueSecondaryBlue:d7e,valueSecondaryWhite:l7e,valueSecondaryBlack:h7e,valueStacked:u7e,stackedTop:p7e,stackedBottom:y7e},k7e=({iconName:e,title:t,subtitle:n,showSubtitle:o,realised:i="-",prediction:r="-",size:s="big",titleColor:d="black",valueColor:l="blue",realValueColor:h,className:u="",style:p="",variant:y="horizontal",showMax:m=!1,titleFontSize:g,titleFontWeight:f,subtitleFontSize:M,subtitleFontWeight:_,primaryFontSize:v,primaryFontWeight:I,secondaryFontSize:w,secondaryFontWeight:C,backgroundColor:b="#f2f9fc",gap:L="",disabled:x=!1,positionRelative:S="",justifyContent:j="",headerLineHeight:$="",headerMinHeight:q="",contentSpace:P=""})=>{const T=o!==void 0?o:!!n,z=`${ae.container} ${ae[s]} ${ae[p]} ${x?ae.disabled:""}`,N=l==="white"?ae.valuePrimaryWhite:ae.valuePrimaryBlack,V=l==="blue"?ae.valueSecondaryBlue:l==="white"?ae.valueSecondaryWhite:ae.valueSecondaryBlack,H=te=>te===void 0?void 0:typeof te=="number"?`${te}px`:te,F=te=>te===void 0?void 0:te,B=y==="vertical",R=r!=null&&r!==""&&r!=="-"&&r!=="—",Y=B?ae.valueRowVertical:ae.valueRowHorizontal;return c.jsxs("div",{className:`${z} ${u}`,style:{backgroundColor:b},children:[e&&c.jsx("div",{className:`${ae.iconWrapper} ${ae[S]}`,children:e}),c.jsxs("div",{className:`${ae.content} ${ae[L]} ${R?"":ae.singleValue} content-indicator-v2`,style:{justifyContent:P},children:[c.jsx("div",{className:`${ae.header} ${ae[j]} ${ae[$]} header-indicator-v2`,style:{minHeight:q},children:c.jsx("h6",{className:`${ae.title}`,style:{fontSize:H(g),fontWeight:F(f),color:d},children:t})}),T&&n?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ae.subtitle,style:{fontSize:H(M),fontWeight:F(_)},children:n})}):null,c.jsxs("div",{className:`${Y} count-indicator-v2`,children:[c.jsxs("div",{className:ae.primaryRow,children:[m&&c.jsx("span",{className:`${ae.maxBadge} max-badge-indicator-v2`,children:"MAX"}),c.jsx("span",{className:`${ae.valuePrimary} ${N}`,style:{fontSize:H(v||(!R&&B?"1.75rem":void 0)),fontWeight:F(I),color:h||void 0},children:i})]}),R&&c.jsxs(c.Fragment,{children:[!B&&c.jsx("span",{className:ae.valueSlash,style:{fontSize:H(w),fontWeight:F(C)},children:"/"}),c.jsx("span",{className:`${ae.valueSecondary} ${V}`,style:{fontSize:H(w),fontWeight:F(C)},children:r})]})]})]})]})},m7e="_banner_f10in_2",f7e="_iep_f10in_14",g7e="_groupSmall_f10in_24",v7e="_genre_f10in_34",M7e="_gravite_f10in_42",_7e="_orientationContainer_f10in_48",x7e="_service_f10in_61",L7e="_roomBedContainer_f10in_71",I7e="_room_f10in_71",b7e="_bed_f10in_87",w7e="_bedUf_f10in_92",C7e="_statusContainer_f10in_97",N7e="_status_f10in_97",S7e="_centeredWarn_f10in_124",$e={banner:m7e,iep:f7e,groupSmall:g7e,genre:v7e,gravite:M7e,orientationContainer:_7e,service:x7e,roomBedContainer:L7e,room:I7e,bed:b7e,bedUf:w7e,statusContainer:C7e,status:N7e,centeredWarn:S7e},j7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},Z.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},Z.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),Z.createElement("g",{mask:"url(#a)"},Z.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),nj=k.memo(j7e),$7e=({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:g,style:f,warn:M=!1,warnMessage:_,warnColor:v="#F94134"})=>c.jsxs("div",{className:$e.banner,style:{backgroundColor:l,...f},children:[c.jsxs("div",{className:$e.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(/^./,I=>I.toUpperCase()),".(",e.age,")"]})]}),c.jsxs("div",{className:$e.groupSmall,children:[c.jsx("span",{className:`${$e.genre} genre-info-banner`,style:{color:"#ffffff",background:m,fontSize:g},children:t??"--"}),c.jsx("span",{className:`${$e.gravite} gravite-info-banner`,children:n??"--"})]}),c.jsx("div",{className:$e.orientationContainer,children:c.jsx("div",{className:$e.service,style:{color:h},children:s??"--"})}),c.jsxs("div",{className:$e.roomBedContainer,children:[i&&c.jsx("span",{className:$e.bedUf,children:i}),c.jsx("span",{className:$e.room,children:r??"--"}),c.jsx("span",{className:$e.bed,children:o??"--"})]}),c.jsxs("div",{className:$e.statusContainer,children:[d?c.jsx("div",{className:`${$e.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):M&&c.jsxs("div",{className:$e.centeredWarn,style:{textTransform:"uppercase"},children:[c.jsx(nj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:_})]}),d&&M&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(nj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),q7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),A7e=k.memo(q7e),z7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),V7e=k.memo(z7e),P7e=e=>Z.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},Z.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),T7e=k.memo(P7e),H7e="_overlay_1grjo_1",D7e="_container_1grjo_11",B7e="_fullscreen_1grjo_24",R7e="_header_1grjo_30",F7e="_headerActions_1grjo_42",E7e="_iconButton_1grjo_47",O7e="_body_1grjo_58",U7e="_sidebar_1grjo_65",W7e="_content_1grjo_89",G7e="_contentHeader_1grjo_96",Z7e="_childrenWrapper_1grjo_112",K7e="_footer_1grjo_136",X7e="_baseButton_1grjo_144",Y7e="_noOverlay_1grjo_158",J7e="_contained_1grjo_166",ve={overlay:H7e,container:D7e,fullscreen:B7e,header:R7e,headerActions:F7e,iconButton:E7e,body:O7e,sidebar:U7e,content:W7e,contentHeader:G7e,childrenWrapper:Z7e,footer:K7e,baseButton:X7e,noOverlay:Y7e,contained:J7e},Q7e=({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:g=!1,hideSidebar:f=!1,onDelete:M,deleteLabel:_="Supprimer",width:v="75%",maxWidth:I="none",height:w="85%",maxHeight:C="85%",borderRadius:b="0.5rem",childrenPadding:L="1rem",overflow:x="auto",contentHeaderAction:S,contentFooterAction:j,hideFooter:$=!1,hideOverlay:q=!1,position:P})=>{const[T,z]=k.useState(!1),N=k.useRef(null);if(k.useEffect(()=>{if(!r||!q)return;const H=F=>{(F.type==="scroll"||F.type==="wheel"||F.type==="touchmove"||N.current&&!N.current.contains(F.target))&&s()};return document.addEventListener("mousedown",H),document.addEventListener("scroll",H,!0),document.addEventListener("wheel",H,{passive:!0,capture:!0}),document.addEventListener("touchmove",H,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",H),document.removeEventListener("scroll",H,!0),document.removeEventListener("wheel",H,!0),document.removeEventListener("touchmove",H,!0)}},[r,q,s]),!r)return null;const V=(H,F=!1)=>c.jsx(Gx,{onClick:H.disabled?void 0:H.onClick,className:ve.baseButton,disabled:H.disabled,style:{background:H.backgroundColor??(F?"#008FBB":"#ffffff"),color:H.textColor??(F?"#ffffff":"#374151"),border:H.borderColor||F?"none":void 0,cursor:H.disabled?H.cursor??"not-allowed":H.cursor??"pointer",filter:H.disabled?H.filter??"grayscale(0.5)":H.filter??"none",opacity:H.disabled?.65:1},children:H.text});return c.jsx("div",{className:q?ve.noOverlay:ve.overlay,onClick:s,children:c.jsxs("div",{ref:N,className:`${ve.container} ${T?ve.fullscreen:""} ${q?ve.contained:""}`,onClick:H=>H.stopPropagation(),style:{width:T?"100%":v,maxWidth:T?"none":I,height:T?"100%":w,maxHeight:T?"100%":C,borderRadius:T?"0":b,overflow:x,...P||{}},children:[!g&&c.jsxs("header",{className:ve.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},children:e}),c.jsxs("div",{className:ve.headerActions,children:[!m&&c.jsx("button",{onClick:()=>z(!T),className:ve.iconButton,title:T?"Réduire":"Agrandir",children:T?c.jsx(T7e,{width:22,height:22,fill:t}):c.jsx(A7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:ve.iconButton,title:"Fermer",children:c.jsx(V7e,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:ve.body,style:{overflow:x},children:[y&&!f&&c.jsx("aside",{className:ve.sidebar,children:y}),c.jsxs("main",{className:ve.content,style:{backgroundColor:p,overflow:x},children:[u&&c.jsxs("header",{className:ve.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),S]}),c.jsx("div",{className:ve.childrenWrapper,style:{padding:L,overflow:x},children:h})]})]}),!$&&c.jsxs("footer",{className:ve.footer,style:{backgroundColor:n},children:[M&&c.jsx(Gx,{onClick:M,className:ve.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,V(d),V(l,!0)]})]})})},ege="_container_1vb1c_1",tge="_searchWrapper_1vb1c_10",age="_navItems_1vb1c_17",bb={container:ege,searchWrapper:tge,navItems:age},nge=({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:`${bb.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:bb.searchWrapper,children:c.jsx(Tq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:bb.navItems,children:e.map(p=>c.jsx(Rw,{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))})]}),oge=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules",addModuleTitle:d="Ajouter un module",addModuleLabel:l="Titre",addModulePlaceholder:h="Nom du module",renameModuleTitle:u="Renommer le module",renameModuleLabel:p="Titre",renameModulePlaceholder:y="Nom du module",confirmText:m="Valider",cancelText:g="Annuler"})=>{const[f,M]=k.useState(!1),[_,v]=k.useState(null),I=()=>M(!0),w=()=>M(!1),C=j=>{const $=j.title?.trim();$&&o&&o($),w()},b=(j,$)=>{j.stopPropagation(),v($)},L=()=>v(null),x=j=>{const $=j.title?.trim();_&&$&&i&&i(_,$),L()},S=(j,$)=>{j.stopPropagation(),r&&r($)};return c.jsxs("div",{className:"module-sidebar-v2",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("div",{className:"header-title",children:[s," (",e.length,")"]}),c.jsx(Rc,{size:18,className:"add-view-icon",onClick:I})]}),c.jsx("div",{className:"module-list",children:e.map(j=>c.jsxs("div",{className:`module-item ${j.id===t?"selected":""}`,onClick:()=>n&&n(j),children:[j.icon||c.jsx(m1,{size:14,className:"drag-handle"}),c.jsxs("div",{className:"module-content",children:[c.jsx("div",{className:"module-title",children:j.title}),j.subtitle&&c.jsx("div",{className:"module-subtitle",children:j.subtitle})]}),typeof j.count<"u"&&c.jsx("span",{className:"module-count",children:j.count}),c.jsxs("div",{className:"module-actions",children:[c.jsx(lt,{size:12,className:"action-icon edit",onClick:$=>b($,j)}),c.jsx(Nt,{size:12,className:"action-icon delete",onClick:$=>S($,j)})]})]},j.id))}),c.jsx(Cc,{isOpen:f,onClose:w,onSave:C,title:d,fields:[{name:"title",label:l,placeholder:h}],confirmText:m,cancelText:g}),_&&c.jsx(Cc,{isOpen:!!_,onClose:L,onSave:x,title:u,initialValues:{title:_.title},fields:[{name:"title",label:p,placeholder:y}],confirmText:m,cancelText:g})]})},cge=({keyName:e,translations:t,availableLanguages:n,onChange:o,onRename:i,onDelete:r})=>{const[s,d]=k.useState(!1),[l,h]=k.useState(e),[u,p]=k.useState(null),[y,m]=k.useState(""),[g,f]=k.useState(!1),[M,_]=k.useState(""),[v,I]=k.useState(""),w=k.useMemo(()=>{const z={};return Array.isArray(t)&&t.forEach(N=>{N&&N.language&&(z[N.language.toUpperCase()]=N.value)}),z},[t]),C=k.useMemo(()=>n,[n]),b=()=>{d(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):h(e)},L=z=>{z.key==="Enter"?b():z.key==="Escape"&&(h(e),d(!1))},x=z=>{const N=z.toUpperCase();p(N),m(w[N]||"")},S=()=>{u&&(o(u,y),p(null),m(""))},j=z=>{z.key==="Enter"?S():z.key==="Escape"&&(p(null),m(""))},$=()=>{f(!0),C.length>0&&_(C[0].toUpperCase()),I("")},q=()=>{M&&v.trim()&&(o(M,v.trim()),f(!1),_(""),I(""))},P=()=>{f(!1),_(""),I("")},T=z=>{z.key==="Enter"?q():z.key==="Escape"&&P()};return c.jsxs("div",{className:"translation-key-v2",children:[c.jsxs("div",{className:"header",children:[s?c.jsx("input",{className:"key-name-input",value:l,onChange:z=>h(z.target.value),onBlur:b,onKeyDown:L,autoFocus:!0}):c.jsx("h3",{className:"header-title",children:e}),c.jsxs("div",{className:"header-actions",children:[c.jsx(lt,{size:16,className:"action-icon edit",onClick:()=>d(!0)}),c.jsx(Nt,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(z=>{const N=z.toUpperCase(),V=w[N]||"",H=u===N;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:N}),H?c.jsx("input",{className:"translation-input editing",value:y,onChange:F=>m(F.target.value),onBlur:S,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${V?"":"empty"}`,onClick:()=>x(z),title:"Cliquer pour éditer",children:V||"Cliquer pour ajouter..."})]},z)}),g?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:M,onChange:z=>_(z.target.value),children:C.map(z=>c.jsx("option",{value:z.toUpperCase(),children:z.toUpperCase()},z))}),c.jsx("input",{className:"translation-input editing",value:v,onChange:z=>I(z.target.value),onKeyDown:T,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(h1,{size:18,className:"action-icon confirm",onClick:q}),c.jsx(Ge,{size:18,className:"action-icon cancel",onClick:P})]})]}):C.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Ec,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},ige="_overlay_1jz4r_1",rge="_modal_1jz4r_15",sge="_body_1jz4r_27",dge="_footer_1jz4r_46",lge="_confirmButton_1jz4r_55",hge="_danger_1jz4r_75",uge="_cancelButton_1jz4r_83",gt={overlay:ige,modal:rge,body:sge,footer:dge,confirmButton:lge,danger:hge,cancelButton:uge},pge=({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:gt.overlay,onClick:o,children:c.jsxs("div",{className:gt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:gt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:gt.footer,children:[c.jsx("button",{className:`${gt.confirmButton} ${s?gt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:gt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:gt.cancelButton,onClick:o,children:r})]})]})}):null,yge="_card_1ildr_1",kge="_topIcon_1ildr_17",mge="_title_1ildr_24",fge="_text_1ildr_31",gge="_bottomIcon_1ildr_37",o1={card:yge,topIcon:kge,title:mge,text:fge,bottomIcon:gge},vge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff"})=>c.jsxs("div",{className:`${o1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},children:[e&&c.jsx("div",{className:o1.topIcon,children:e}),c.jsx("h3",{className:o1.title,style:{color:s},children:t}),c.jsx("p",{className:o1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:o1.bottomIcon,children:o})]}),Mge="_container_1ry38_1",_ge="_disabled_1ry38_9",xge="_selectBox_1ry38_14",Lge="_selectBoxOpen_1ry38_36",Ige="_tagsContainer_1ry38_41",bge="_tag_1ry38_41",wge="_tagLabel_1ry38_66",Cge="_removeBtnContainer_1ry38_72",Nge="_removeBtn_1ry38_72",Sge="_searchInput_1ry38_97",jge="_placeholder_1ry38_117",$ge="_actions_1ry38_124",qge="_clearBtn_1ry38_131",Age="_chevron_1ry38_153",zge="_chevronOpen_1ry38_159",Vge="_dropdown_1ry38_163",Pge="_option_1ry38_177",Tge="_noOptions_1ry38_189",Hge="_overflowBlock_1ry38_196",Dge="_overflowEllipsis_1ry38_203",Bge="_overflowBadge_1ry38_210",Rge="_overflowBadgeWrap_1ry38_233",Fge="_overflowDropdown_1ry38_239",Ege="_overflowDropdownItem_1ry38_255",Oge="_overflowDropdownItemLabel_1ry38_266",Uge="_overflowDropdownItemRemove_1ry38_273",J={container:Mge,disabled:_ge,selectBox:xge,selectBoxOpen:Lge,tagsContainer:Ige,tag:bge,tagLabel:wge,removeBtnContainer:Cge,removeBtn:Nge,searchInput:Sge,placeholder:jge,actions:$ge,clearBtn:qge,chevron:Age,chevronOpen:zge,dropdown:Vge,option:Pge,noOptions:Tge,overflowBlock:Hge,overflowEllipsis:Dge,overflowBadge:Bge,overflowBadgeWrap:Rge,overflowDropdown:Fge,overflowDropdownItem:Ege,overflowDropdownItemLabel:Oge,overflowDropdownItemRemove:Uge},Wge=({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),g=k.useRef(null),f=k.useRef(null),[M,_]=k.useState(null),[v,I]=k.useState(!1),w=k.useRef([]),C=k.useRef(null),b=k.useMemo(()=>{const N=new Map(e.map(V=>[V.value,V]));return n.map(V=>N.get(V)).filter(V=>V!==void 0)},[e,n]),L=k.useMemo(()=>e.filter(N=>!n.includes(N.value)),[e,n]),x=k.useMemo(()=>{let N=L;return u&&(N=N.filter(V=>V.label.toLowerCase().includes(u.toLowerCase()))),N},[L,u]);k.useEffect(()=>{const N=V=>{const H=V.target;y.current&&!y.current.contains(H)&&(h(!1),p(""),_(null),I(!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 B=g.current,R=f.current;if(!B||!R)return;const Y=R.getBoundingClientRect().width,te=R.querySelector(`.${J.actions}`),me=te?te.getBoundingClientRect().width:80,it=56,fe=r?80:0,Ie=16,G=Array.from(B.querySelectorAll(`.${J.tag}`));G.length===b.length&&(w.current=G.map(le=>{const we=le.getBoundingClientRect(),rt=le.scrollWidth;return Math.max(we.width,rt,le.offsetWidth||0)}));const K=w.current,re=K.length>0?K.reduce((le,we)=>le+we,0)/K.length:120,xe=b.length<=K.length?K.slice(0,b.length):[...K,...Array(b.length-K.length).fill(re)],ue=4,be=Math.max(0,Y-me-fe-Ie);let se=0,ge=0;for(let le=0;le<b.length;le++){const we=xe[le]??120;if(se+we+ue>be)break;se+=we+ue,ge++}if(ge>=b.length){_(null);return}const ze=Math.max(0,Y-it-me-fe-Ie);se=0;let Se=0;for(let le=0;le<b.length;le++){const we=xe[le]??120;if(se+we+ue>ze)break;se+=we+ue,Se++}Se<b.length&&Se>0?_(Se):_(null)},V=requestAnimationFrame(()=>{N()}),H=setTimeout(N,100),F=new ResizeObserver(()=>{N()});return f.current&&F.observe(f.current),()=>{cancelAnimationFrame(V),clearTimeout(H),F.disconnect()}},[b,r,l]);const S=()=>{if(d)return;const N=!l;N&&I(!1),h(N),N&&r&&setTimeout(()=>m.current?.focus(),0)},j=N=>{if(n.includes(N.value))return;I(!1);const V=[...b,N];o(V),p(""),_(null),h(!1)},$=N=>{N.preventDefault(),N.stopPropagation(),I(V=>!V)},q=M!=null&&M<b.length?b.slice(M):[],P=(N,V)=>{V.stopPropagation();const H=b.filter(F=>F.value!==N);o(H)},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:g,children:[M!==null&&M>0?b.slice(0,M).map((N,V)=>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:H=>P(N.value,H),"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}-${V}`)):b.map((N,V)=>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:H=>P(N.value,H),"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}-${V}`)),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})]}),M!==null&&M<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:$,"aria-label":`Afficher ${q.length} éléments cachés`,children:q.length}),v&&q.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:q.map((N,V)=>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:H=>{H.stopPropagation(),P(N.value,H)},"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}-${V}`))})]})]}),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:x.length>0?x.map((N,V)=>c.jsx("div",{className:J.option,onClick:()=>j(N),role:"option","aria-selected":!1,children:N.label},`opt-${N.value}-${V}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},Gge="_container_h7jek_1",Zge={container:Gge},Kge=({labels:e=[],data:t=[],selectedUfs:n=[],icons:o=[],lastCardTextColor:i="black",boardColors:r={}})=>{const s=k.useMemo(()=>{const h=n.length===0?t:t.filter(p=>p&&n.includes(String(p.uf).replace(/^0+/,""))),u=new Set;return h.filter(p=>{if(!p||!p.uf)return!1;const y=String(p.uf).replace(/^0+/,"");return u.has(y)?!1:(u.add(y),!0)})},[t,n]),d=k.useMemo(()=>s.reduce((h,u)=>({disponibles:h.disponibles+(u.totalAvailable??u.disponibles??0),homme:h.homme+(u.availableMen??u.disponibleHomme??0),femme:h.femme+(u.availableWomen??u.disponibleFemme??0),indifferencie:h.indifferencie+(u.availableIndifferentSex??u.indifferences??0),sorties:h.sorties+(u.outToday??u.sortie24??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0}),[s]),l=h=>r.disponibles?r.disponibles:h>3?"#35994E":h>=1?"#EF6C00":"#C62828";return c.jsxs("div",{className:Zge.container,children:[c.jsx(It,{label:e[0],value:d.disponibles.toLocaleString("fr-FR"),iconName:o[0],backgroundColor:l(d.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(It,{label:e[1],value:d.homme.toLocaleString("fr-FR"),iconName:o[1],backgroundColor:r.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(It,{label:e[2],value:d.femme.toLocaleString("fr-FR"),iconName:o[2],backgroundColor:r.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(It,{label:e[3],value:d.indifferencie.toLocaleString("fr-FR"),iconName:o[3],backgroundColor:r.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(It,{label:e[4],value:d.sorties.toLocaleString("fr-FR"),iconName:o[4],backgroundColor:r.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:i,valueColor:i,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Xge=({message:e,icon:t,className:n,style:o,fontSize:i,fontWeight:r,color:s,backgroundColor:d="#f44336",onClick:l})=>c.jsxs("div",{className:n,onClick:l,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})]}),Yge="_container_hmqnz_1",Jge="_chartContainer_hmqnz_14",Qge="_legend_hmqnz_22",eve="_legendItem_hmqnz_29",tve="_leftSection_hmqnz_41",ave="_colorIndicator_hmqnz_47",nve="_label_hmqnz_53",ove="_rightSection_hmqnz_59",cve="_ratio_hmqnz_65",ive="_value1_hmqnz_72",rve="_separator_hmqnz_76",sve="_value2_hmqnz_80",dve="_statusIndicator_hmqnz_84",lve="_inactive_hmqnz_99",qe={container:Yge,chartContainer:Jge,legend:Qge,legendItem:eve,leftSection:tve,colorIndicator:ave,label:nve,rightSection:ove,ratio:cve,value1:ive,separator:rve,value2:sve,statusIndicator:dve,inactive:lve},oj=Math.PI/180,hve=({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:g,borderColor:f})=>{const[M,_]=k.useState(new Set(e.map(x=>x.nom))),v=x=>{const S=new Set(M);S.has(x)?S.size>1&&S.delete(x):S.add(x),_(S)},I={...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":g||"#03a9f4","--border-color":f||"#e0e0e0"},w=k.useMemo(()=>e.map(x=>({...x,displayValue:M.has(x.nom)?x.value:0})),[e,M]),C=k.useMemo(()=>e.every(x=>x.value===0),[e]),b=k.useMemo(()=>C?1:w.reduce((x,S)=>x+S.displayValue,0)||1,[C,w]),L=k.useCallback(({cx:x,cy:S,midAngle:j,innerRadius:$,outerRadius:q,value:P})=>{if(P===0||C)return null;const T=$+(q-$)*.5,z=x+T*Math.cos(-j*oj),N=S+T*Math.sin(-j*oj),V=Math.round(P/b*100);return c.jsx(a.Text,{x:z,y:N,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${V}%`})},[b,C]);return c.jsxs("div",{className:`${qe.container} ${u}`,style:I,children:[c.jsx("div",{className:qe.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:C?[{displayValue:1,color:"#A3C2CB"}]:w,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:C?0:2,startAngle:90,endAngle:450,labelLine:!1,label:L,isAnimationActive:!1,children:C?c.jsx(a.Cell,{fill:"#A3C2CB"}):w.map((x,S)=>c.jsx(a.Cell,{fill:x.color},`cell-${S}`))})})})}),c.jsx("div",{className:qe.legend,children:e.map((x,S)=>{const j=M.has(x.nom);return c.jsxs("div",{className:`${qe.legendItem} ${j?"":qe.inactive}`,onClick:()=>v(x.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:qe.leftSection,children:[c.jsx("div",{className:qe.colorIndicator,style:{backgroundColor:x.color,opacity:j?1:.3}}),c.jsx("span",{className:qe.label,style:{opacity:j?1:.5},children:x.nom})]}),c.jsxs("div",{className:qe.rightSection,style:{opacity:j?1:.5},children:[c.jsxs("div",{className:qe.ratio,children:[c.jsx("span",{className:qe.value1,children:x.value1}),c.jsx("span",{className:qe.separator,children:"/"}),c.jsx("span",{className:qe.value2,children:x.value2})]}),x.statusColor&&c.jsx("div",{className:qe.statusIndicator,style:{backgroundColor:x.statusColor}})]})]},`legend-${S}`)})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=vge;exports.AddItemModal=Cc;exports.Alert=Bw;exports.AlertMessage=Xge;exports.AlertsProvider=bke;exports.BadgeList=cj;exports.BadgeRenderer=Nq;exports.Button=Gx;exports.ChartContainer=Lke;exports.CheckboxInput=iq;exports.CircularProgress=wb;exports.ColorInput=hq;exports.ComponentVisibilityManager=Sb;exports.ComponentVisibilityToggle=Dme;exports.ConfirmationModal=pge;exports.ConfirmationPopup=S3e;exports.CounterListBox=p3e;exports.CurrencyRenderer=$q;exports.DashboardSummary=fme;exports.DataBoard=It;exports.DataFourBoards=Hq;exports.DateInput=dq;exports.DatePicker=Qb;exports.DateRenderer=Sq;exports.DayStatCard=Zse;exports.DayStatCardV2=$6e;exports.DonutChartRatio=hve;exports.DraggableProvider=Jse;exports.DraggableSwitcherButton=Zx;exports.DynamicForm=Fye;exports.DynamicInput=uq;exports.EmailRenderer=wq;exports.Encours=jme;exports.EntryControl=h3e;exports.FileInput=sq;exports.FilterBar=jfe;exports.FiltreEtiquette=Wge;exports.FlexRowContainer=k3e;exports.Grid=sj;exports.Header=o2e;exports.HorizontalBarChart=q6e;exports.IconText=vj;exports.ImageRenderer=qq;exports.IndicatorItemV2=k7e;exports.InfoBanner=$7e;exports.InputWrapper=lL;exports.LegendFilterProvider=e2e;exports.LegendFilterSwitcherButton=Kx;exports.LinkRenderer=Cq;exports.ListContentContainer=m3e;exports.Logo=tw;exports.MetricsPanel=Vq;exports.ModuleHeader=Zke;exports.ModuleSideBar=Kke;exports.ModuleSideBarV2=oge;exports.NavBar=dj;exports.NavBarV2=X6e;exports.NavItem=Cb;exports.NavItemV2=Rw;exports.NavProvider=Kse;exports.NumberRenderer=jq;exports.PeriodSelect=$ke;exports.PopUp=Q7e;exports.RadioInput=rq;exports.RangeInput=lq;exports.ScrollableHorizontale=Mj;exports.SearchBar=Tq;exports.Select=Fq;exports.SelectFilter=dme;exports.SelectInput=Pw;exports.SettingNavBar=nge;exports.ShowDataProvider=t2e;exports.ShowDataSwitcherButton=Xx;exports.SideComponent=Ake;exports.SimpleListBox=u3e;exports.SubHeaderContent=h8e;exports.SubHeaderNavItem=Bq;exports.SubHeaderTitle=a8e;exports.SubNavBar=c2e;exports.SummaryAvailable=Kge;exports.SummaryCard=zq;exports.Switcher=q1;exports.TableLayout=Rq;exports.TableauDynamique=Aq;exports.TableauDynamiqueSafePagination=S5e;exports.TableauxComponent=Rq;exports.TextInput=oq;exports.TextRenderer=bq;exports.TextareaInput=cq;exports.ThemeProvider=Xse;exports.ThemeSwitcher=u8e;exports.ThemeSwitcherButton=Nb;exports.Title=Tke;exports.TranslationKey=Xke;exports.TranslationKeyV2=cge;exports.TrendItem=_j;exports.TrendList=eue;exports.TrendListBox=y3e;exports.UserInfo=Dq;exports.alertModels=Cke;exports.getFormSchema=Eye;exports.hexToRgba=wt;exports.registerRenderer=v5e;exports.tableConfig=Jb;exports.useAlerts=wke;exports.useBodyScrollLock=zke;exports.useConfirmationPopup=j3e;exports.useDraggableSwitcher=pj;exports.useFilters=Lq;exports.useLegendFilterSwitcher=kj;exports.useNavigation=ct;exports.useShowDataSwitcher=fj;exports.useTableData=Iq;exports.useThemeContext=hj;exports.useThemeSwitcher=oL;exports.validateField=nL;exports.validateForm=nq;
|