@tsiky/components-r19 1.6.78 → 1.6.80
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chart.cjs.js +29 -29
- package/dist/chart.js +2492 -2467
- package/dist/index.cjs.js +6 -6
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1493 -1483
- package/dist/src/components/A11yConfig.d.ts +6 -0
- package/dist/src/components/A11yConfig.d.ts.map +1 -0
- package/dist/src/components/ChartContainer/ChartContainer.d.ts +2 -0
- package/dist/src/components/ChartContainer/ChartContainer.d.ts.map +1 -1
- package/dist/src/components/ChartV2/ChartV2.d.ts.map +1 -1
- package/dist/src/components/DataBoard/DataBoard.d.ts +2 -0
- package/dist/src/components/DataBoard/DataBoard.d.ts.map +1 -1
- package/dist/src/components/DataFourBoards/DataFourBoards.d.ts +2 -0
- package/dist/src/components/DataFourBoards/DataFourBoards.d.ts.map +1 -1
- package/dist/src/components/DynamicTable/TableHeader.d.ts.map +1 -1
- package/dist/src/components/DynamicTable/tools/tableTypes.d.ts +5 -0
- package/dist/src/components/DynamicTable/tools/tableTypes.d.ts.map +1 -1
- package/dist/src/components/NavBar/NavContext.d.ts +1 -0
- package/dist/src/components/NavBar/NavContext.d.ts.map +1 -1
- package/dist/src/components/PopUp/PopUp.d.ts +2 -0
- package/dist/src/components/PopUp/PopUp.d.ts.map +1 -1
- package/dist/src/components/TableauxComponent/TableHeader.d.ts.map +1 -1
- package/dist/src/components/TableauxComponent/types.d.ts +5 -0
- package/dist/src/components/TableauxComponent/types.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-BYKV-EEv.cjs"),ow=require("react-dom");function IA(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 K=IA(k),bA="_button_1kuwt_2",wA="_primary_1kuwt_21",CA="_secondary_1kuwt_26",NA="_accent_1kuwt_31",SA="_outline_1kuwt_36",jA="_success_1kuwt_41",$A="_danger_1kuwt_46",qA="_warning_1kuwt_51",AA="_info_1kuwt_56",zA="_sm_1kuwt_62",VA="_md_1kuwt_67",PA="_lg_1kuwt_72",Pe={button:bA,primary:wA,secondary:CA,accent:NA,outline:SA,success:jA,danger:$A,warning:qA,info:AA,sm:zA,md:VA,lg:PA},Xx=({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})},jb=({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
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const c=require("react/jsx-runtime"),k=require("react"),a=require("./SimpleBarChart-BYKV-EEv.cjs"),ow=require("react-dom");function IA(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 K=IA(k),bA="_button_1kuwt_2",wA="_primary_1kuwt_21",CA="_secondary_1kuwt_26",NA="_accent_1kuwt_31",SA="_outline_1kuwt_36",jA="_success_1kuwt_41",$A="_danger_1kuwt_46",qA="_warning_1kuwt_51",AA="_info_1kuwt_56",zA="_sm_1kuwt_62",VA="_md_1kuwt_67",PA="_lg_1kuwt_72",Pe={button:bA,primary:wA,secondary:CA,accent:NA,outline:SA,success:jA,danger:$A,warning:qA,info:AA,sm:zA,md:VA,lg:PA},Xx=({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})},jb=({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 f=n||t*.1;t+=f;const v=Math.min(5,Math.max(0,Math.floor(e))),m=t/2,M=(t-f)/2,_=2*Math.PI*M,I=_/5*(1-.1),C=_-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:m,cy:m,r:M-f/2,fill:i,stroke:"none",style:{filter:"drop-shadow(0px 0px 1px rgba(0,0,0,0.4))"}}),Array.from({length:5}).map((w,b)=>{const x=-90+b*72;return b>=v?null:c.jsx("circle",{cx:m,cy:m,r:M,fill:"transparent",stroke:o,strokeWidth:f,strokeLinecap:"butt",strokeDasharray:`${I} ${C}`,strokeDashoffset:0,transform:`rotate(${x} ${m} ${m})`,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})]})},TA="_wrapper_12x8x_1",HA="_list_12x8x_12",DA="_item_12x8x_22",BA="_badge_12x8x_30",RA="_text_12x8x_42",FA="_tooltip_12x8x_49",Qe={wrapper:TA,list:HA,item:DA,badge:BA,text:RA,tooltip:FA};function sj({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),f=k.useRef(null);k.useEffect(()=>{function _(g){g.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[h]),k.useEffect(()=>{function _(g){f.current&&!f.current.contains(g.target)&&u(!1)}return h&&document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[h]);function v(_){r&&(_.preventDefault(),y({x:_.clientX,y:_.clientY}),u(!0))}const m=e.slice(0,s),M=_=>typeof _=="number"?`${_}px`:_;return c.jsxs("div",{className:Qe.wrapper,style:{width:M(d),background:i,...t,"--gap":M(l)},onContextMenu:v,"aria-label":"liste-badges",children:[c.jsx("ul",{className:Qe.list,children:m.map((_,g)=>c.jsxs("li",{className:Qe.item,children:[c.jsx("span",{className:Qe.badge,style:{backgroundColor:_.badgeColor??n},"aria-hidden":!0}),c.jsx("span",{className:Qe.text,style:{color:_.textColor??o},children:_.text})]},g))}),r&&h&&p&&c.jsx("div",{className:Qe.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":M(l)},role:"dialog","aria-modal":"false",ref:f,children:c.jsx("ul",{className:Qe.list,children:e.map((_,g)=>c.jsxs("li",{className:Qe.item,children:[c.jsx("span",{className:Qe.badge,style:{backgroundColor:_.badgeColor??n}}),c.jsx("span",{className:Qe.text,style:{color:_.textColor??"#000"},children:_.text})]},g))})})]})}/**
|
|
2
2
|
* @license lucide-react v0.540.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8158,23 +8158,23 @@
|
|
|
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:K1,AArrowDownIcon:K1,AArrowUp:X1,AArrowUpIcon:X1,ALargeSmall:Y1,ALargeSmallIcon:Y1,Accessibility:l1,AccessibilityIcon:l1,Activity:h1,ActivityIcon:h1,ActivitySquare:It,ActivitySquareIcon:It,AirVent:J1,AirVentIcon:J1,Airplay:Q1,AirplayIcon:Q1,AlarmCheck:Pt,AlarmCheckIcon:Pt,AlarmClock:ti,AlarmClockCheck:Pt,AlarmClockCheckIcon:Pt,AlarmClockIcon:ti,AlarmClockMinus:Tt,AlarmClockMinusIcon:Tt,AlarmClockOff:ei,AlarmClockOffIcon:ei,AlarmClockPlus:Ht,AlarmClockPlusIcon:Ht,AlarmMinus:Tt,AlarmMinusIcon:Tt,AlarmPlus:Ht,AlarmPlusIcon:Ht,AlarmSmoke:ai,AlarmSmokeIcon:ai,Album:ni,AlbumIcon:ni,AlertCircle:ua,AlertCircleIcon:ua,AlertOctagon:Vn,AlertOctagonIcon:Vn,AlertTriangle:ic,AlertTriangleIcon:ic,AlignCenter:di,AlignCenterHorizontal:oi,AlignCenterHorizontalIcon:oi,AlignCenterIcon:di,AlignCenterVertical:ci,AlignCenterVerticalIcon:ci,AlignEndHorizontal:ii,AlignEndHorizontalIcon:ii,AlignEndVertical:ri,AlignEndVerticalIcon:ri,AlignHorizontalDistributeCenter:si,AlignHorizontalDistributeCenterIcon:si,AlignHorizontalDistributeEnd:li,AlignHorizontalDistributeEndIcon:li,AlignHorizontalDistributeStart:hi,AlignHorizontalDistributeStartIcon:hi,AlignHorizontalJustifyCenter:ui,AlignHorizontalJustifyCenterIcon:ui,AlignHorizontalJustifyEnd:pi,AlignHorizontalJustifyEndIcon:pi,AlignHorizontalJustifyStart:yi,AlignHorizontalJustifyStartIcon:yi,AlignHorizontalSpaceAround:ki,AlignHorizontalSpaceAroundIcon:ki,AlignHorizontalSpaceBetween:fi,AlignHorizontalSpaceBetweenIcon:fi,AlignJustify:mi,AlignJustifyIcon:mi,AlignLeft:gi,AlignLeftIcon:gi,AlignRight:vi,AlignRightIcon:vi,AlignStartHorizontal:Mi,AlignStartHorizontalIcon:Mi,AlignStartVertical:_i,AlignStartVerticalIcon:_i,AlignVerticalDistributeCenter:Li,AlignVerticalDistributeCenterIcon:Li,AlignVerticalDistributeEnd:xi,AlignVerticalDistributeEndIcon:xi,AlignVerticalDistributeStart:bi,AlignVerticalDistributeStartIcon:bi,AlignVerticalJustifyCenter:Ii,AlignVerticalJustifyCenterIcon:Ii,AlignVerticalJustifyEnd:wi,AlignVerticalJustifyEndIcon:wi,AlignVerticalJustifyStart:Ci,AlignVerticalJustifyStartIcon:Ci,AlignVerticalSpaceAround:Si,AlignVerticalSpaceAroundIcon:Si,AlignVerticalSpaceBetween:Ni,AlignVerticalSpaceBetweenIcon:Ni,Ambulance:ji,AmbulanceIcon:ji,Ampersand:$i,AmpersandIcon:$i,Ampersands:qi,AmpersandsIcon:qi,Amphora:Ai,AmphoraIcon:Ai,Anchor:zi,AnchorIcon:zi,Angry:Vi,AngryIcon:Vi,Annoyed:Pi,AnnoyedIcon:Pi,Antenna:Ti,AntennaIcon:Ti,Anvil:Hi,AnvilIcon:Hi,Aperture:Di,ApertureIcon:Di,AppWindow:Ri,AppWindowIcon:Ri,AppWindowMac:Bi,AppWindowMacIcon:Bi,Apple:Fi,AppleIcon:Fi,Archive:Ui,ArchiveIcon:Ui,ArchiveRestore:Ei,ArchiveRestoreIcon:Ei,ArchiveX:Oi,ArchiveXIcon:Oi,AreaChart:Qt,AreaChartIcon:Qt,Armchair:Wi,ArmchairIcon:Wi,ArrowBigDown:Zi,ArrowBigDownDash:Gi,ArrowBigDownDashIcon:Gi,ArrowBigDownIcon:Zi,ArrowBigLeft:Xi,ArrowBigLeftDash:Ki,ArrowBigLeftDashIcon:Ki,ArrowBigLeftIcon:Xi,ArrowBigRight:Ji,ArrowBigRightDash:Yi,ArrowBigRightDashIcon:Yi,ArrowBigRightIcon:Ji,ArrowBigUp:er,ArrowBigUpDash:Qi,ArrowBigUpDashIcon:Qi,ArrowBigUpIcon:er,ArrowDown:lr,ArrowDown01:tr,ArrowDown01Icon:tr,ArrowDown10:ar,ArrowDown10Icon:ar,ArrowDownAZ:Dt,ArrowDownAZIcon:Dt,ArrowDownAz:Dt,ArrowDownAzIcon:Dt,ArrowDownCircle:pa,ArrowDownCircleIcon:pa,ArrowDownFromLine:nr,ArrowDownFromLineIcon:nr,ArrowDownIcon:lr,ArrowDownLeft:or,ArrowDownLeftFromCircle:ka,ArrowDownLeftFromCircleIcon:ka,ArrowDownLeftFromSquare:so,ArrowDownLeftFromSquareIcon:so,ArrowDownLeftIcon:or,ArrowDownLeftSquare:oo,ArrowDownLeftSquareIcon:oo,ArrowDownNarrowWide:cr,ArrowDownNarrowWideIcon:cr,ArrowDownRight:ir,ArrowDownRightFromCircle:ma,ArrowDownRightFromCircleIcon:ma,ArrowDownRightFromSquare:lo,ArrowDownRightFromSquareIcon:lo,ArrowDownRightIcon:ir,ArrowDownRightSquare:co,ArrowDownRightSquareIcon:co,ArrowDownSquare:io,ArrowDownSquareIcon:io,ArrowDownToDot:rr,ArrowDownToDotIcon:rr,ArrowDownToLine:sr,ArrowDownToLineIcon:sr,ArrowDownUp:dr,ArrowDownUpIcon:dr,ArrowDownWideNarrow:Bt,ArrowDownWideNarrowIcon:Bt,ArrowDownZA:Rt,ArrowDownZAIcon:Rt,ArrowDownZa:Rt,ArrowDownZaIcon:Rt,ArrowLeft:yr,ArrowLeftCircle:ya,ArrowLeftCircleIcon:ya,ArrowLeftFromLine:hr,ArrowLeftFromLineIcon:hr,ArrowLeftIcon:yr,ArrowLeftRight:ur,ArrowLeftRightIcon:ur,ArrowLeftSquare:ro,ArrowLeftSquareIcon:ro,ArrowLeftToLine:pr,ArrowLeftToLineIcon:pr,ArrowRight:gr,ArrowRightCircle:va,ArrowRightCircleIcon:va,ArrowRightFromLine:kr,ArrowRightFromLineIcon:kr,ArrowRightIcon:gr,ArrowRightLeft:mr,ArrowRightLeftIcon:mr,ArrowRightSquare:po,ArrowRightSquareIcon:po,ArrowRightToLine:fr,ArrowRightToLineIcon:fr,ArrowUp:Nr,ArrowUp01:vr,ArrowUp01Icon:vr,ArrowUp10:Mr,ArrowUp10Icon:Mr,ArrowUpAZ:Ft,ArrowUpAZIcon:Ft,ArrowUpAz:Ft,ArrowUpAzIcon:Ft,ArrowUpCircle:Ma,ArrowUpCircleIcon:Ma,ArrowUpDown:_r,ArrowUpDownIcon:_r,ArrowUpFromDot:xr,ArrowUpFromDotIcon:xr,ArrowUpFromLine:Lr,ArrowUpFromLineIcon:Lr,ArrowUpIcon:Nr,ArrowUpLeft:Ir,ArrowUpLeftFromCircle:fa,ArrowUpLeftFromCircleIcon:fa,ArrowUpLeftFromSquare:ho,ArrowUpLeftFromSquareIcon:ho,ArrowUpLeftIcon:Ir,ArrowUpLeftSquare:yo,ArrowUpLeftSquareIcon:yo,ArrowUpNarrowWide:Et,ArrowUpNarrowWideIcon:Et,ArrowUpRight:br,ArrowUpRightFromCircle:ga,ArrowUpRightFromCircleIcon:ga,ArrowUpRightFromSquare:uo,ArrowUpRightFromSquareIcon:uo,ArrowUpRightIcon:br,ArrowUpRightSquare:ko,ArrowUpRightSquareIcon:ko,ArrowUpSquare:mo,ArrowUpSquareIcon:mo,ArrowUpToLine:wr,ArrowUpToLineIcon:wr,ArrowUpWideNarrow:Cr,ArrowUpWideNarrowIcon:Cr,ArrowUpZA:Ot,ArrowUpZAIcon:Ot,ArrowUpZa:Ot,ArrowUpZaIcon:Ot,ArrowsUpFromLine:Sr,ArrowsUpFromLineIcon:Sr,Asterisk:jr,AsteriskIcon:jr,AsteriskSquare:fo,AsteriskSquareIcon:fo,AtSign:$r,AtSignIcon:$r,Atom:qr,AtomIcon:qr,AudioLines:Ar,AudioLinesIcon:Ar,AudioWaveform:zr,AudioWaveformIcon:zr,Award:Vr,AwardIcon:Vr,Axe:Pr,AxeIcon:Pr,Axis3D:Ut,Axis3DIcon:Ut,Axis3d:Ut,Axis3dIcon:Ut,Baby:Tr,BabyIcon:Tr,Backpack:Hr,BackpackIcon:Hr,Badge:es,BadgeAlert:Dr,BadgeAlertIcon:Dr,BadgeCent:Br,BadgeCentIcon:Br,BadgeCheck:Wt,BadgeCheckIcon:Wt,BadgeDollarSign:Rr,BadgeDollarSignIcon:Rr,BadgeEuro:Fr,BadgeEuroIcon:Fr,BadgeHelp:Gt,BadgeHelpIcon:Gt,BadgeIcon:es,BadgeIndianRupee:Er,BadgeIndianRupeeIcon:Er,BadgeInfo:Or,BadgeInfoIcon:Or,BadgeJapaneseYen:Wr,BadgeJapaneseYenIcon:Wr,BadgeMinus:Ur,BadgeMinusIcon:Ur,BadgePercent:Gr,BadgePercentIcon:Gr,BadgePlus:Zr,BadgePlusIcon:Zr,BadgePoundSterling:Kr,BadgePoundSterlingIcon:Kr,BadgeQuestionMark:Gt,BadgeQuestionMarkIcon:Gt,BadgeRussianRuble:Xr,BadgeRussianRubleIcon:Xr,BadgeSwissFranc:Yr,BadgeSwissFrancIcon:Yr,BadgeTurkishLira:Jr,BadgeTurkishLiraIcon:Jr,BadgeX:Qr,BadgeXIcon:Qr,BaggageClaim:ts,BaggageClaimIcon:ts,Ban:as,BanIcon:as,Banana:ns,BananaIcon:ns,Bandage:os,BandageIcon:os,Banknote:ss,BanknoteArrowDown:cs,BanknoteArrowDownIcon:cs,BanknoteArrowUp:is,BanknoteArrowUpIcon:is,BanknoteIcon:ss,BanknoteX:rs,BanknoteXIcon:rs,BarChart:ra,BarChart2:sa,BarChart2Icon:sa,BarChart3:ca,BarChart3Icon:ca,BarChart4:oa,BarChart4Icon:oa,BarChartBig:na,BarChartBigIcon:na,BarChartHorizontal:ta,BarChartHorizontalBig:ea,BarChartHorizontalBigIcon:ea,BarChartHorizontalIcon:ta,BarChartIcon:ra,Barcode:ds,BarcodeIcon:ds,Barrel:ls,BarrelIcon:ls,Baseline:hs,BaselineIcon:hs,Bath:us,BathIcon:us,Battery:vs,BatteryCharging:ps,BatteryChargingIcon:ps,BatteryFull:ys,BatteryFullIcon:ys,BatteryIcon:vs,BatteryLow:ks,BatteryLowIcon:ks,BatteryMedium:ms,BatteryMediumIcon:ms,BatteryPlus:fs,BatteryPlusIcon:fs,BatteryWarning:gs,BatteryWarningIcon:gs,Beaker:Ms,BeakerIcon:Ms,Bean:xs,BeanIcon:xs,BeanOff:_s,BeanOffIcon:_s,Bed:bs,BedDouble:Ls,BedDoubleIcon:Ls,BedIcon:bs,BedSingle:Is,BedSingleIcon:Is,Beef:ws,BeefIcon:ws,Beer:Ns,BeerIcon:Ns,BeerOff:Cs,BeerOffIcon:Cs,Bell:zs,BellDot:Ss,BellDotIcon:Ss,BellElectric:js,BellElectricIcon:js,BellIcon:zs,BellMinus:$s,BellMinusIcon:$s,BellOff:qs,BellOffIcon:qs,BellPlus:As,BellPlusIcon:As,BellRing:Vs,BellRingIcon:Vs,BetweenHorizonalEnd:Zt,BetweenHorizonalEndIcon:Zt,BetweenHorizonalStart:Kt,BetweenHorizonalStartIcon:Kt,BetweenHorizontalEnd:Zt,BetweenHorizontalEndIcon:Zt,BetweenHorizontalStart:Kt,BetweenHorizontalStartIcon:Kt,BetweenVerticalEnd:Ts,BetweenVerticalEndIcon:Ts,BetweenVerticalStart:Ps,BetweenVerticalStartIcon:Ps,BicepsFlexed:Hs,BicepsFlexedIcon:Hs,Bike:Bs,BikeIcon:Bs,Binary:Ds,BinaryIcon:Ds,Binoculars:Rs,BinocularsIcon:Rs,Biohazard:Fs,BiohazardIcon:Fs,Bird:Es,BirdIcon:Es,Bitcoin:Os,BitcoinIcon:Os,Blend:Us,BlendIcon:Us,Blinds:Ws,BlindsIcon:Ws,Blocks:Gs,BlocksIcon:Gs,Bluetooth:Ys,BluetoothConnected:Zs,BluetoothConnectedIcon:Zs,BluetoothIcon:Ys,BluetoothOff:Ks,BluetoothOffIcon:Ks,BluetoothSearching:Xs,BluetoothSearchingIcon:Xs,Bold:Js,BoldIcon:Js,Bolt:Qs,BoltIcon:Qs,Bomb:e2,BombIcon:e2,Bone:t2,BoneIcon:t2,Book:b2,BookA:a2,BookAIcon:a2,BookAlert:n2,BookAlertIcon:n2,BookAudio:o2,BookAudioIcon:o2,BookCheck:c2,BookCheckIcon:c2,BookCopy:i2,BookCopyIcon:i2,BookDashed:Xt,BookDashedIcon:Xt,BookDown:r2,BookDownIcon:r2,BookHeadphones:s2,BookHeadphonesIcon:s2,BookHeart:d2,BookHeartIcon:d2,BookIcon:b2,BookImage:l2,BookImageIcon:l2,BookKey:h2,BookKeyIcon:h2,BookLock:u2,BookLockIcon:u2,BookMarked:y2,BookMarkedIcon:y2,BookMinus:p2,BookMinusIcon:p2,BookOpen:f2,BookOpenCheck:k2,BookOpenCheckIcon:k2,BookOpenIcon:f2,BookOpenText:m2,BookOpenTextIcon:m2,BookPlus:g2,BookPlusIcon:g2,BookTemplate:Xt,BookTemplateIcon:Xt,BookText:v2,BookTextIcon:v2,BookType:M2,BookTypeIcon:M2,BookUp:x2,BookUp2:_2,BookUp2Icon:_2,BookUpIcon:x2,BookUser:L2,BookUserIcon:L2,BookX:I2,BookXIcon:I2,Bookmark:j2,BookmarkCheck:w2,BookmarkCheckIcon:w2,BookmarkIcon:j2,BookmarkMinus:C2,BookmarkMinusIcon:C2,BookmarkPlus:N2,BookmarkPlusIcon:N2,BookmarkX:S2,BookmarkXIcon:S2,BoomBox:$2,BoomBoxIcon:$2,Bot:z2,BotIcon:z2,BotMessageSquare:q2,BotMessageSquareIcon:q2,BotOff:A2,BotOffIcon:A2,BottleWine:V2,BottleWineIcon:V2,BowArrow:P2,BowArrowIcon:P2,Box:T2,BoxIcon:T2,BoxSelect:No,BoxSelectIcon:No,Boxes:H2,BoxesIcon:H2,Braces:Yt,BracesIcon:Yt,Brackets:D2,BracketsIcon:D2,Brain:F2,BrainCircuit:B2,BrainCircuitIcon:B2,BrainCog:R2,BrainCogIcon:R2,BrainIcon:F2,BrickWall:U2,BrickWallFire:E2,BrickWallFireIcon:E2,BrickWallIcon:U2,BrickWallShield:O2,BrickWallShieldIcon:O2,Briefcase:K2,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:G2,BriefcaseConveyorBeltIcon:G2,BriefcaseIcon:K2,BriefcaseMedical:Z2,BriefcaseMedicalIcon:Z2,BringToFront:X2,BringToFrontIcon:X2,Brush:J2,BrushCleaning:Y2,BrushCleaningIcon:Y2,BrushIcon:J2,Bubbles:Q2,BubblesIcon:Q2,Bug:nd,BugIcon:nd,BugOff:ed,BugOffIcon:ed,BugPlay:td,BugPlayIcon:td,Building:od,Building2:ad,Building2Icon:ad,BuildingIcon:od,Bus:id,BusFront:cd,BusFrontIcon:cd,BusIcon:id,Cable:sd,CableCar:rd,CableCarIcon:rd,CableIcon:sd,Cake:ld,CakeIcon:ld,CakeSlice:dd,CakeSliceIcon:dd,Calculator:hd,CalculatorIcon:hd,Calendar:u1,Calendar1:ud,Calendar1Icon:ud,CalendarArrowDown:pd,CalendarArrowDownIcon:pd,CalendarArrowUp:yd,CalendarArrowUpIcon:yd,CalendarCheck:md,CalendarCheck2:kd,CalendarCheck2Icon:kd,CalendarCheckIcon:md,CalendarClock:fd,CalendarClockIcon:fd,CalendarCog:gd,CalendarCogIcon:gd,CalendarDays:vd,CalendarDaysIcon:vd,CalendarFold:Md,CalendarFoldIcon:Md,CalendarHeart:_d,CalendarHeartIcon:_d,CalendarIcon:u1,CalendarMinus:Ld,CalendarMinus2:xd,CalendarMinus2Icon:xd,CalendarMinusIcon:Ld,CalendarOff:Id,CalendarOffIcon:Id,CalendarPlus:wd,CalendarPlus2:bd,CalendarPlus2Icon:bd,CalendarPlusIcon:wd,CalendarRange:Cd,CalendarRangeIcon:Cd,CalendarSearch:Nd,CalendarSearchIcon:Nd,CalendarSync:Sd,CalendarSyncIcon:Sd,CalendarX:$d,CalendarX2:jd,CalendarX2Icon:jd,CalendarXIcon:$d,Camera:Ad,CameraIcon:Ad,CameraOff:qd,CameraOffIcon:qd,CandlestickChart:aa,CandlestickChartIcon:aa,Candy:Pd,CandyCane:zd,CandyCaneIcon:zd,CandyIcon:Pd,CandyOff:Vd,CandyOffIcon:Vd,Cannabis:Td,CannabisIcon:Td,Captions:Jt,CaptionsIcon:Jt,CaptionsOff:Hd,CaptionsOffIcon:Hd,Car:Rd,CarFront:Dd,CarFrontIcon:Dd,CarIcon:Rd,CarTaxiFront:Bd,CarTaxiFrontIcon:Bd,Caravan:Fd,CaravanIcon:Fd,CardSim:Ed,CardSimIcon:Ed,Carrot:Od,CarrotIcon:Od,CaseLower:Ud,CaseLowerIcon:Ud,CaseSensitive:Wd,CaseSensitiveIcon:Wd,CaseUpper:Gd,CaseUpperIcon:Gd,CassetteTape:Zd,CassetteTapeIcon:Zd,Cast:Kd,CastIcon:Kd,Castle:Yd,CastleIcon:Yd,Cat:Xd,CatIcon:Xd,Cctv:Jd,CctvIcon:Jd,ChartArea:Qt,ChartAreaIcon:Qt,ChartBar:ta,ChartBarBig:ea,ChartBarBigIcon:ea,ChartBarDecreasing:Qd,ChartBarDecreasingIcon:Qd,ChartBarIcon:ta,ChartBarIncreasing:e0,ChartBarIncreasingIcon:e0,ChartBarStacked:t0,ChartBarStackedIcon:t0,ChartCandlestick:aa,ChartCandlestickIcon:aa,ChartColumn:ca,ChartColumnBig:na,ChartColumnBigIcon:na,ChartColumnDecreasing:a0,ChartColumnDecreasingIcon:a0,ChartColumnIcon:ca,ChartColumnIncreasing:oa,ChartColumnIncreasingIcon:oa,ChartColumnStacked:n0,ChartColumnStackedIcon:n0,ChartGantt:o0,ChartGanttIcon:o0,ChartLine:ia,ChartLineIcon:ia,ChartNetwork:c0,ChartNetworkIcon:c0,ChartNoAxesColumn:sa,ChartNoAxesColumnDecreasing:i0,ChartNoAxesColumnDecreasingIcon:i0,ChartNoAxesColumnIcon:sa,ChartNoAxesColumnIncreasing:ra,ChartNoAxesColumnIncreasingIcon:ra,ChartNoAxesCombined:r0,ChartNoAxesCombinedIcon:r0,ChartNoAxesGantt:da,ChartNoAxesGanttIcon:da,ChartPie:la,ChartPieIcon:la,ChartScatter:ha,ChartScatterIcon:ha,ChartSpline:s0,ChartSplineIcon:s0,Check:p1,CheckCheck:d0,CheckCheckIcon:d0,CheckCircle:_a,CheckCircle2:xa,CheckCircle2Icon:xa,CheckCircleIcon:_a,CheckIcon:p1,CheckLine:l0,CheckLineIcon:l0,CheckSquare:vo,CheckSquare2:Mo,CheckSquare2Icon:Mo,CheckSquareIcon:vo,ChefHat:h0,ChefHatIcon:h0,Cherry:u0,CherryIcon:u0,ChevronDown:Nt,ChevronDownCircle:La,ChevronDownCircleIcon:La,ChevronDownIcon:Nt,ChevronDownSquare:_o,ChevronDownSquareIcon:_o,ChevronFirst:p0,ChevronFirstIcon:p0,ChevronLast:y0,ChevronLastIcon:y0,ChevronLeft:k0,ChevronLeftCircle:Ia,ChevronLeftCircleIcon:Ia,ChevronLeftIcon:k0,ChevronLeftSquare:xo,ChevronLeftSquareIcon:xo,ChevronRight:y1,ChevronRightCircle:ba,ChevronRightCircleIcon:ba,ChevronRightIcon:y1,ChevronRightSquare:Lo,ChevronRightSquareIcon:Lo,ChevronUp:Ic,ChevronUpCircle:wa,ChevronUpCircleIcon:wa,ChevronUpIcon:Ic,ChevronUpSquare:Io,ChevronUpSquareIcon:Io,ChevronsDown:f0,ChevronsDownIcon:f0,ChevronsDownUp:m0,ChevronsDownUpIcon:m0,ChevronsLeft:v0,ChevronsLeftIcon:v0,ChevronsLeftRight:g0,ChevronsLeftRightEllipsis:M0,ChevronsLeftRightEllipsisIcon:M0,ChevronsLeftRightIcon:g0,ChevronsRight:x0,ChevronsRightIcon:x0,ChevronsRightLeft:_0,ChevronsRightLeftIcon:_0,ChevronsUp:L0,ChevronsUpDown:Ec,ChevronsUpDownIcon:Ec,ChevronsUpIcon:L0,Chrome:I0,ChromeIcon:I0,Church:b0,ChurchIcon:b0,Cigarette:C0,CigaretteIcon:C0,CigaretteOff:w0,CigaretteOffIcon:w0,Circle:R0,CircleAlert:ua,CircleAlertIcon:ua,CircleArrowDown:pa,CircleArrowDownIcon:pa,CircleArrowLeft:ya,CircleArrowLeftIcon:ya,CircleArrowOutDownLeft:ka,CircleArrowOutDownLeftIcon:ka,CircleArrowOutDownRight:ma,CircleArrowOutDownRightIcon:ma,CircleArrowOutUpLeft:fa,CircleArrowOutUpLeftIcon:fa,CircleArrowOutUpRight:ga,CircleArrowOutUpRightIcon:ga,CircleArrowRight:va,CircleArrowRightIcon:va,CircleArrowUp:Ma,CircleArrowUpIcon:Ma,CircleCheck:xa,CircleCheckBig:_a,CircleCheckBigIcon:_a,CircleCheckIcon:xa,CircleChevronDown:La,CircleChevronDownIcon:La,CircleChevronLeft:Ia,CircleChevronLeftIcon:Ia,CircleChevronRight:ba,CircleChevronRightIcon:ba,CircleChevronUp:wa,CircleChevronUpIcon:wa,CircleDashed:N0,CircleDashedIcon:N0,CircleDivide:Ca,CircleDivideIcon:Ca,CircleDollarSign:j0,CircleDollarSignIcon:j0,CircleDot:$0,CircleDotDashed:S0,CircleDotDashedIcon:S0,CircleDotIcon:$0,CircleEllipsis:q0,CircleEllipsisIcon:q0,CircleEqual:A0,CircleEqualIcon:A0,CircleFadingArrowUp:V0,CircleFadingArrowUpIcon:V0,CircleFadingPlus:z0,CircleFadingPlusIcon:z0,CircleGauge:Na,CircleGaugeIcon:Na,CircleHelp:tt,CircleHelpIcon:tt,CircleIcon:R0,CircleMinus:Sa,CircleMinusIcon:Sa,CircleOff:P0,CircleOffIcon:P0,CircleParking:qa,CircleParkingIcon:qa,CircleParkingOff:ja,CircleParkingOffIcon:ja,CirclePause:$a,CirclePauseIcon:$a,CirclePercent:Aa,CirclePercentIcon:Aa,CirclePlay:za,CirclePlayIcon:za,CirclePlus:Va,CirclePlusIcon:Va,CirclePoundSterling:T0,CirclePoundSterlingIcon:T0,CirclePower:Pa,CirclePowerIcon:Pa,CircleQuestionMark:tt,CircleQuestionMarkIcon:tt,CircleSlash:H0,CircleSlash2:Ta,CircleSlash2Icon:Ta,CircleSlashIcon:H0,CircleSlashed:Ta,CircleSlashedIcon:Ta,CircleSmall:D0,CircleSmallIcon:D0,CircleStar:B0,CircleStarIcon:B0,CircleStop:Ha,CircleStopIcon:Ha,CircleUser:Ba,CircleUserIcon:Ba,CircleUserRound:Da,CircleUserRoundIcon:Da,CircleX:_t,CircleXIcon:_t,CircuitBoard:F0,CircuitBoardIcon:F0,Citrus:E0,CitrusIcon:E0,Clapperboard:O0,ClapperboardIcon:O0,Clipboard:el,ClipboardCheck:U0,ClipboardCheckIcon:U0,ClipboardClock:W0,ClipboardClockIcon:W0,ClipboardCopy:G0,ClipboardCopyIcon:G0,ClipboardEdit:Fa,ClipboardEditIcon:Fa,ClipboardIcon:el,ClipboardList:Z0,ClipboardListIcon:Z0,ClipboardMinus:K0,ClipboardMinusIcon:K0,ClipboardPaste:X0,ClipboardPasteIcon:X0,ClipboardPen:Fa,ClipboardPenIcon:Fa,ClipboardPenLine:Ra,ClipboardPenLineIcon:Ra,ClipboardPlus:Y0,ClipboardPlusIcon:Y0,ClipboardSignature:Ra,ClipboardSignatureIcon:Ra,ClipboardType:J0,ClipboardTypeIcon:J0,ClipboardX:Q0,ClipboardXIcon:Q0,Clock:gl,Clock1:al,Clock10:tl,Clock10Icon:tl,Clock11:nl,Clock11Icon:nl,Clock12:ol,Clock12Icon:ol,Clock1Icon:al,Clock2:cl,Clock2Icon:cl,Clock3:il,Clock3Icon:il,Clock4:rl,Clock4Icon:rl,Clock5:sl,Clock5Icon:sl,Clock6:dl,Clock6Icon:dl,Clock7:ll,Clock7Icon:ll,Clock8:hl,Clock8Icon:hl,Clock9:ul,Clock9Icon:ul,ClockAlert:pl,ClockAlertIcon:pl,ClockArrowDown:yl,ClockArrowDownIcon:yl,ClockArrowUp:kl,ClockArrowUpIcon:kl,ClockFading:ml,ClockFadingIcon:ml,ClockIcon:gl,ClockPlus:fl,ClockPlusIcon:fl,ClosedCaption:vl,ClosedCaptionIcon:vl,Cloud:Vl,CloudAlert:Ml,CloudAlertIcon:Ml,CloudCheck:_l,CloudCheckIcon:_l,CloudCog:xl,CloudCogIcon:xl,CloudDownload:Ea,CloudDownloadIcon:Ea,CloudDrizzle:Ll,CloudDrizzleIcon:Ll,CloudFog:Il,CloudFogIcon:Il,CloudHail:bl,CloudHailIcon:bl,CloudIcon:Vl,CloudLightning:wl,CloudLightningIcon:wl,CloudMoon:Nl,CloudMoonIcon:Nl,CloudMoonRain:Cl,CloudMoonRainIcon:Cl,CloudOff:Sl,CloudOffIcon:Sl,CloudRain:$l,CloudRainIcon:$l,CloudRainWind:jl,CloudRainWindIcon:jl,CloudSnow:ql,CloudSnowIcon:ql,CloudSun:zl,CloudSunIcon:zl,CloudSunRain:Al,CloudSunRainIcon:Al,CloudUpload:Oa,CloudUploadIcon:Oa,Cloudy:Pl,CloudyIcon:Pl,Clover:Tl,CloverIcon:Tl,Club:Hl,ClubIcon:Hl,Code:Dl,Code2:Ua,Code2Icon:Ua,CodeIcon:Dl,CodeSquare:bo,CodeSquareIcon:bo,CodeXml:Ua,CodeXmlIcon:Ua,Codepen:Bl,CodepenIcon:Bl,Codesandbox:Rl,CodesandboxIcon:Rl,Coffee:Fl,CoffeeIcon:Fl,Cog:El,CogIcon:El,Coins:Ol,CoinsIcon:Ol,Columns:Wa,Columns2:Wa,Columns2Icon:Wa,Columns3:Ga,Columns3Cog:at,Columns3CogIcon:at,Columns3Icon:Ga,Columns4:Ul,Columns4Icon:Ul,ColumnsIcon:Wa,ColumnsSettings:at,ColumnsSettingsIcon:at,Combine:Wl,CombineIcon:Wl,Command:Gl,CommandIcon:Gl,Compass:Zl,CompassIcon:Zl,Component:Kl,ComponentIcon:Kl,Computer:Xl,ComputerIcon:Xl,ConciergeBell:Yl,ConciergeBellIcon:Yl,Cone:Jl,ConeIcon:Jl,Construction:Ql,ConstructionIcon:Ql,Contact:eh,Contact2:Za,Contact2Icon:Za,ContactIcon:eh,ContactRound:Za,ContactRoundIcon:Za,Container:th,ContainerIcon:th,Contrast:nh,ContrastIcon:nh,Cookie:ah,CookieIcon:ah,CookingPot:ch,CookingPotIcon:ch,Copy:lh,CopyCheck:oh,CopyCheckIcon:oh,CopyIcon:lh,CopyMinus:ih,CopyMinusIcon:ih,CopyPlus:rh,CopyPlusIcon:rh,CopySlash:sh,CopySlashIcon:sh,CopyX:dh,CopyXIcon:dh,Copyleft:hh,CopyleftIcon:hh,Copyright:uh,CopyrightIcon:uh,CornerDownLeft:ph,CornerDownLeftIcon:ph,CornerDownRight:yh,CornerDownRightIcon:yh,CornerLeftDown:kh,CornerLeftDownIcon:kh,CornerLeftUp:mh,CornerLeftUpIcon:mh,CornerRightDown:fh,CornerRightDownIcon:fh,CornerRightUp:gh,CornerRightUpIcon:gh,CornerUpLeft:vh,CornerUpLeftIcon:vh,CornerUpRight:Mh,CornerUpRightIcon:Mh,Cpu:_h,CpuIcon:_h,CreativeCommons:xh,CreativeCommonsIcon:xh,CreditCard:Lh,CreditCardIcon:Lh,Croissant:Ih,CroissantIcon:Ih,Crop:bh,CropIcon:bh,Cross:wh,CrossIcon:wh,Crosshair:Ch,CrosshairIcon:Ch,Crown:Nh,CrownIcon:Nh,Cuboid:Sh,CuboidIcon:Sh,CupSoda:jh,CupSodaIcon:jh,CurlyBraces:Yt,CurlyBracesIcon:Yt,Currency:$h,CurrencyIcon:$h,Cylinder:qh,CylinderIcon:qh,Dam:Ah,DamIcon:Ah,Database:Ph,DatabaseBackup:zh,DatabaseBackupIcon:zh,DatabaseIcon:Ph,DatabaseZap:Vh,DatabaseZapIcon:Vh,DecimalsArrowLeft:Th,DecimalsArrowLeftIcon:Th,DecimalsArrowRight:Hh,DecimalsArrowRightIcon:Hh,Delete:Dh,DeleteIcon:Dh,Dessert:Bh,DessertIcon:Bh,Diameter:Rh,DiameterIcon:Rh,Diamond:Oh,DiamondIcon:Oh,DiamondMinus:Fh,DiamondMinusIcon:Fh,DiamondPercent:Ka,DiamondPercentIcon:Ka,DiamondPlus:Eh,DiamondPlusIcon:Eh,Dice1:Uh,Dice1Icon:Uh,Dice2:Wh,Dice2Icon:Wh,Dice3:Gh,Dice3Icon:Gh,Dice4:Zh,Dice4Icon:Zh,Dice5:Kh,Dice5Icon:Kh,Dice6:Xh,Dice6Icon:Xh,Dices:Yh,DicesIcon:Yh,Diff:Jh,DiffIcon:Jh,Disc:au,Disc2:Qh,Disc2Icon:Qh,Disc3:eu,Disc3Icon:eu,DiscAlbum:tu,DiscAlbumIcon:tu,DiscIcon:au,Divide:nu,DivideCircle:Ca,DivideCircleIcon:Ca,DivideIcon:nu,DivideSquare:So,DivideSquareIcon:So,Dna:cu,DnaIcon:cu,DnaOff:ou,DnaOffIcon:ou,Dock:iu,DockIcon:iu,Dog:ru,DogIcon:ru,DollarSign:su,DollarSignIcon:su,Donut:du,DonutIcon:du,DoorClosed:hu,DoorClosedIcon:hu,DoorClosedLocked:lu,DoorClosedLockedIcon:lu,DoorOpen:uu,DoorOpenIcon:uu,Dot:pu,DotIcon:pu,DotSquare:$o,DotSquareIcon:$o,Download:ku,DownloadCloud:Ea,DownloadCloudIcon:Ea,DownloadIcon:ku,DraftingCompass:yu,DraftingCompassIcon:yu,Drama:mu,DramaIcon:mu,Dribbble:fu,DribbbleIcon:fu,Drill:gu,DrillIcon:gu,Drone:vu,DroneIcon:vu,Droplet:_u,DropletIcon:_u,DropletOff:Mu,DropletOffIcon:Mu,Droplets:xu,DropletsIcon:xu,Drum:Lu,DrumIcon:Lu,Drumstick:Iu,DrumstickIcon:Iu,Dumbbell:bu,DumbbellIcon:bu,Ear:Cu,EarIcon:Cu,EarOff:wu,EarOffIcon:wu,Earth:Xa,EarthIcon:Xa,EarthLock:Nu,EarthLockIcon:Nu,Eclipse:Su,EclipseIcon:Su,Edit:Ve,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Ve,Egg:qu,EggFried:ju,EggFriedIcon:ju,EggIcon:qu,EggOff:$u,EggOffIcon:$u,Ellipsis:Ja,EllipsisIcon:Ja,EllipsisVertical:Ya,EllipsisVerticalIcon:Ya,Equal:Vu,EqualApproximately:Au,EqualApproximatelyIcon:Au,EqualIcon:Vu,EqualNot:zu,EqualNotIcon:zu,EqualSquare:jo,EqualSquareIcon:jo,Eraser:Pu,EraserIcon:Pu,EthernetPort:Tu,EthernetPortIcon:Tu,Euro:Hu,EuroIcon:Hu,Expand:Bu,ExpandIcon:Bu,ExternalLink:Du,ExternalLinkIcon:Du,Eye:m1,EyeClosed:Ru,EyeClosedIcon:Ru,EyeIcon:m1,EyeOff:k1,EyeOffIcon:k1,Facebook:Fu,FacebookIcon:Fu,Factory:Eu,FactoryIcon:Eu,Fan:Ou,FanIcon:Ou,FastForward:Uu,FastForwardIcon:Uu,Feather:Wu,FeatherIcon:Wu,Fence:Gu,FenceIcon:Gu,FerrisWheel:Zu,FerrisWheelIcon:Zu,Figma:Ku,FigmaIcon:Ku,File:Ep,FileArchive:Xu,FileArchiveIcon:Xu,FileAudio:Ju,FileAudio2:Yu,FileAudio2Icon:Yu,FileAudioIcon:Ju,FileAxis3D:Qa,FileAxis3DIcon:Qa,FileAxis3d:Qa,FileAxis3dIcon:Qa,FileBadge:tp,FileBadge2:Qu,FileBadge2Icon:Qu,FileBadgeIcon:tp,FileBarChart:en,FileBarChart2:tn,FileBarChart2Icon:tn,FileBarChartIcon:en,FileBox:ep,FileBoxIcon:ep,FileChartColumn:tn,FileChartColumnIcon:tn,FileChartColumnIncreasing:en,FileChartColumnIncreasingIcon:en,FileChartLine:an,FileChartLineIcon:an,FileChartPie:nn,FileChartPieIcon:nn,FileCheck:np,FileCheck2:ap,FileCheck2Icon:ap,FileCheckIcon:np,FileClock:op,FileClockIcon:op,FileCode:cp,FileCode2:ip,FileCode2Icon:ip,FileCodeIcon:cp,FileCog:on,FileCog2:on,FileCog2Icon:on,FileCogIcon:on,FileDiff:rp,FileDiffIcon:rp,FileDigit:sp,FileDigitIcon:sp,FileDown:dp,FileDownIcon:dp,FileEdit:rn,FileEditIcon:rn,FileHeart:lp,FileHeartIcon:lp,FileIcon:Ep,FileImage:hp,FileImageIcon:hp,FileInput:up,FileInputIcon:up,FileJson:yp,FileJson2:pp,FileJson2Icon:pp,FileJsonIcon:yp,FileKey:mp,FileKey2:kp,FileKey2Icon:kp,FileKeyIcon:mp,FileLineChart:an,FileLineChartIcon:an,FileLock:gp,FileLock2:fp,FileLock2Icon:fp,FileLockIcon:gp,FileMinus:Mp,FileMinus2:vp,FileMinus2Icon:vp,FileMinusIcon:Mp,FileMusic:_p,FileMusicIcon:_p,FileOutput:xp,FileOutputIcon:xp,FilePen:rn,FilePenIcon:rn,FilePenLine:cn,FilePenLineIcon:cn,FilePieChart:nn,FilePieChartIcon:nn,FilePlay:sn,FilePlayIcon:sn,FilePlus:Ip,FilePlus2:Lp,FilePlus2Icon:Lp,FilePlusIcon:Ip,FileQuestion:dn,FileQuestionIcon:dn,FileQuestionMark:dn,FileQuestionMarkIcon:dn,FileScan:bp,FileScanIcon:bp,FileSearch:Cp,FileSearch2:wp,FileSearch2Icon:wp,FileSearchIcon:Cp,FileSignature:cn,FileSignatureIcon:cn,FileSliders:Np,FileSlidersIcon:Np,FileSpreadsheet:Sp,FileSpreadsheetIcon:Sp,FileStack:jp,FileStackIcon:jp,FileSymlink:$p,FileSymlinkIcon:$p,FileTerminal:qp,FileTerminalIcon:qp,FileText:Ap,FileTextIcon:Ap,FileType:Vp,FileType2:zp,FileType2Icon:zp,FileTypeIcon:Vp,FileUp:Pp,FileUpIcon:Pp,FileUser:Tp,FileUserIcon:Tp,FileVideo:sn,FileVideo2:ln,FileVideo2Icon:ln,FileVideoCamera:ln,FileVideoCameraIcon:ln,FileVideoIcon:sn,FileVolume:Dp,FileVolume2:Hp,FileVolume2Icon:Hp,FileVolumeIcon:Dp,FileWarning:Bp,FileWarningIcon:Bp,FileX:Fp,FileX2:Rp,FileX2Icon:Rp,FileXIcon:Fp,Files:Op,FilesIcon:Op,Film:Up,FilmIcon:Up,Filter:xt,FilterIcon:xt,FilterX:pn,FilterXIcon:pn,Fingerprint:Wp,FingerprintIcon:Wp,FireExtinguisher:Gp,FireExtinguisherIcon:Gp,Fish:Kp,FishIcon:Kp,FishOff:Zp,FishOffIcon:Zp,FishSymbol:Xp,FishSymbolIcon:Xp,Flag:ey,FlagIcon:ey,FlagOff:Yp,FlagOffIcon:Yp,FlagTriangleLeft:Jp,FlagTriangleLeftIcon:Jp,FlagTriangleRight:Qp,FlagTriangleRightIcon:Qp,Flame:ay,FlameIcon:ay,FlameKindling:ty,FlameKindlingIcon:ty,Flashlight:oy,FlashlightIcon:oy,FlashlightOff:ny,FlashlightOffIcon:ny,FlaskConical:iy,FlaskConicalIcon:iy,FlaskConicalOff:cy,FlaskConicalOffIcon:cy,FlaskRound:ry,FlaskRoundIcon:ry,FlipHorizontal:dy,FlipHorizontal2:sy,FlipHorizontal2Icon:sy,FlipHorizontalIcon:dy,FlipVertical:hy,FlipVertical2:ly,FlipVertical2Icon:ly,FlipVerticalIcon:hy,Flower:py,Flower2:uy,Flower2Icon:uy,FlowerIcon:py,Focus:yy,FocusIcon:yy,FoldHorizontal:ky,FoldHorizontalIcon:ky,FoldVertical:my,FoldVerticalIcon:my,Folder:f1,FolderArchive:fy,FolderArchiveIcon:fy,FolderCheck:gy,FolderCheckIcon:gy,FolderClock:vy,FolderClockIcon:vy,FolderClosed:My,FolderClosedIcon:My,FolderCode:_y,FolderCodeIcon:_y,FolderCog:hn,FolderCog2:hn,FolderCog2Icon:hn,FolderCogIcon:hn,FolderDot:xy,FolderDotIcon:xy,FolderDown:Ly,FolderDownIcon:Ly,FolderEdit:un,FolderEditIcon:un,FolderGit:by,FolderGit2:Iy,FolderGit2Icon:Iy,FolderGitIcon:by,FolderHeart:wy,FolderHeartIcon:wy,FolderIcon:f1,FolderInput:Cy,FolderInputIcon:Cy,FolderKanban:Ny,FolderKanbanIcon:Ny,FolderKey:Sy,FolderKeyIcon:Sy,FolderLock:jy,FolderLockIcon:jy,FolderMinus:$y,FolderMinusIcon:$y,FolderOpen:Ay,FolderOpenDot:qy,FolderOpenDotIcon:qy,FolderOpenIcon:Ay,FolderOutput:zy,FolderOutputIcon:zy,FolderPen:un,FolderPenIcon:un,FolderPlus:Oc,FolderPlusIcon:Oc,FolderRoot:Vy,FolderRootIcon:Vy,FolderSearch:Ty,FolderSearch2:Py,FolderSearch2Icon:Py,FolderSearchIcon:Ty,FolderSymlink:Hy,FolderSymlinkIcon:Hy,FolderSync:Dy,FolderSyncIcon:Dy,FolderTree:By,FolderTreeIcon:By,FolderUp:Ry,FolderUpIcon:Ry,FolderX:Fy,FolderXIcon:Fy,Folders:Ey,FoldersIcon:Ey,Footprints:Oy,FootprintsIcon:Oy,ForkKnife:fc,ForkKnifeCrossed:mc,ForkKnifeCrossedIcon:mc,ForkKnifeIcon:fc,Forklift:Uy,ForkliftIcon:Uy,FormInput:Zn,FormInputIcon:Zn,Forward:Wy,ForwardIcon:Wy,Frame:Gy,FrameIcon:Gy,Framer:Zy,FramerIcon:Zy,Frown:Ky,FrownIcon:Ky,Fuel:Xy,FuelIcon:Xy,Fullscreen:Yy,FullscreenIcon:Yy,FunctionSquare:qo,FunctionSquareIcon:qo,Funnel:xt,FunnelIcon:xt,FunnelPlus:Jy,FunnelPlusIcon:Jy,FunnelX:pn,FunnelXIcon:pn,GalleryHorizontal:e4,GalleryHorizontalEnd:Qy,GalleryHorizontalEndIcon:Qy,GalleryHorizontalIcon:e4,GalleryThumbnails:t4,GalleryThumbnailsIcon:t4,GalleryVertical:n4,GalleryVerticalEnd:a4,GalleryVerticalEndIcon:a4,GalleryVerticalIcon:n4,Gamepad:c4,Gamepad2:o4,Gamepad2Icon:o4,GamepadIcon:c4,GanttChart:da,GanttChartIcon:da,GanttChartSquare:ot,GanttChartSquareIcon:ot,Gauge:i4,GaugeCircle:Na,GaugeCircleIcon:Na,GaugeIcon:i4,Gavel:r4,GavelIcon:r4,Gem:s4,GemIcon:s4,GeorgianLari:d4,GeorgianLariIcon:d4,Ghost:l4,GhostIcon:l4,Gift:h4,GiftIcon:h4,GitBranch:p4,GitBranchIcon:p4,GitBranchPlus:u4,GitBranchPlusIcon:u4,GitCommit:yn,GitCommitHorizontal:yn,GitCommitHorizontalIcon:yn,GitCommitIcon:yn,GitCommitVertical:y4,GitCommitVerticalIcon:y4,GitCompare:m4,GitCompareArrows:k4,GitCompareArrowsIcon:k4,GitCompareIcon:m4,GitFork:f4,GitForkIcon:f4,GitGraph:g4,GitGraphIcon:g4,GitMerge:v4,GitMergeIcon:v4,GitPullRequest:b4,GitPullRequestArrow:M4,GitPullRequestArrowIcon:M4,GitPullRequestClosed:_4,GitPullRequestClosedIcon:_4,GitPullRequestCreate:L4,GitPullRequestCreateArrow:x4,GitPullRequestCreateArrowIcon:x4,GitPullRequestCreateIcon:L4,GitPullRequestDraft:I4,GitPullRequestDraftIcon:I4,GitPullRequestIcon:b4,Github:w4,GithubIcon:w4,Gitlab:C4,GitlabIcon:C4,GlassWater:N4,GlassWaterIcon:N4,Glasses:S4,GlassesIcon:S4,Globe:$4,Globe2:Xa,Globe2Icon:Xa,GlobeIcon:$4,GlobeLock:j4,GlobeLockIcon:j4,Goal:q4,GoalIcon:q4,Gpu:A4,GpuIcon:A4,Grab:vn,GrabIcon:vn,GraduationCap:z4,GraduationCapIcon:z4,Grape:V4,GrapeIcon:V4,Grid:nt,Grid2X2:gn,Grid2X2Check:kn,Grid2X2CheckIcon:kn,Grid2X2Icon:gn,Grid2X2Plus:mn,Grid2X2PlusIcon:mn,Grid2X2X:fn,Grid2X2XIcon:fn,Grid2x2:gn,Grid2x2Check:kn,Grid2x2CheckIcon:kn,Grid2x2Icon:gn,Grid2x2Plus:mn,Grid2x2PlusIcon:mn,Grid2x2X:fn,Grid2x2XIcon:fn,Grid3X3:nt,Grid3X3Icon:nt,Grid3x2:P4,Grid3x2Icon:P4,Grid3x3:nt,Grid3x3Icon:nt,GridIcon:nt,Grip:H4,GripHorizontal:T4,GripHorizontalIcon:T4,GripIcon:H4,GripVertical:g1,GripVerticalIcon:g1,Group:D4,GroupIcon:D4,Guitar:B4,GuitarIcon:B4,Ham:R4,HamIcon:R4,Hamburger:F4,HamburgerIcon:F4,Hammer:E4,HammerIcon:E4,Hand:K4,HandCoins:O4,HandCoinsIcon:O4,HandFist:U4,HandFistIcon:U4,HandGrab:vn,HandGrabIcon:vn,HandHeart:W4,HandHeartIcon:W4,HandHelping:Mn,HandHelpingIcon:Mn,HandIcon:K4,HandMetal:G4,HandMetalIcon:G4,HandPlatter:Z4,HandPlatterIcon:Z4,Handbag:X4,HandbagIcon:X4,Handshake:Y4,HandshakeIcon:Y4,HardDrive:e5,HardDriveDownload:J4,HardDriveDownloadIcon:J4,HardDriveIcon:e5,HardDriveUpload:Q4,HardDriveUploadIcon:Q4,HardHat:t5,HardHatIcon:t5,Hash:a5,HashIcon:a5,HatGlasses:n5,HatGlassesIcon:n5,Haze:o5,HazeIcon:o5,HdmiPort:c5,HdmiPortIcon:c5,Heading:u5,Heading1:i5,Heading1Icon:i5,Heading2:r5,Heading2Icon:r5,Heading3:s5,Heading3Icon:s5,Heading4:d5,Heading4Icon:d5,Heading5:l5,Heading5Icon:l5,Heading6:h5,Heading6Icon:h5,HeadingIcon:u5,HeadphoneOff:p5,HeadphoneOffIcon:p5,Headphones:y5,HeadphonesIcon:y5,Headset:k5,HeadsetIcon:k5,Heart:x5,HeartCrack:m5,HeartCrackIcon:m5,HeartHandshake:f5,HeartHandshakeIcon:f5,HeartIcon:x5,HeartMinus:g5,HeartMinusIcon:g5,HeartOff:v5,HeartOffIcon:v5,HeartPlus:M5,HeartPlusIcon:M5,HeartPulse:_5,HeartPulseIcon:_5,Heater:L5,HeaterIcon:L5,HelpCircle:tt,HelpCircleIcon:tt,HelpingHand:Mn,HelpingHandIcon:Mn,Hexagon:I5,HexagonIcon:I5,Highlighter:b5,HighlighterIcon:b5,History:w5,HistoryIcon:w5,Home:Lt,HomeIcon:Lt,Hop:N5,HopIcon:N5,HopOff:C5,HopOffIcon:C5,Hospital:v1,HospitalIcon:v1,Hotel:S5,HotelIcon:S5,Hourglass:j5,HourglassIcon:j5,House:Lt,HouseIcon:Lt,HousePlug:$5,HousePlugIcon:$5,HousePlus:A5,HousePlusIcon:A5,HouseWifi:q5,HouseWifiIcon:q5,IceCream:xn,IceCream2:_n,IceCream2Icon:_n,IceCreamBowl:_n,IceCreamBowlIcon:_n,IceCreamCone:xn,IceCreamConeIcon:xn,IceCreamIcon:xn,Icon:a.Icon,IdCard:V5,IdCardIcon:V5,IdCardLanyard:z5,IdCardLanyardIcon:z5,Image:E5,ImageDown:P5,ImageDownIcon:P5,ImageIcon:E5,ImageMinus:T5,ImageMinusIcon:T5,ImageOff:H5,ImageOffIcon:H5,ImagePlay:D5,ImagePlayIcon:D5,ImagePlus:B5,ImagePlusIcon:B5,ImageUp:R5,ImageUpIcon:R5,ImageUpscale:F5,ImageUpscaleIcon:F5,Images:O5,ImagesIcon:O5,Import:U5,ImportIcon:U5,Inbox:W5,InboxIcon:W5,Indent:In,IndentDecrease:Ln,IndentDecreaseIcon:Ln,IndentIcon:In,IndentIncrease:In,IndentIncreaseIcon:In,IndianRupee:G5,IndianRupeeIcon:G5,Infinity:Z5,InfinityIcon:Z5,Info:K5,InfoIcon:K5,Inspect:Do,InspectIcon:Do,InspectionPanel:X5,InspectionPanelIcon:X5,Instagram:Y5,InstagramIcon:Y5,Italic:J5,ItalicIcon:J5,IterationCcw:Q5,IterationCcwIcon:Q5,IterationCw:ek,IterationCwIcon:ek,JapaneseYen:ak,JapaneseYenIcon:ak,Joystick:tk,JoystickIcon:tk,Kanban:nk,KanbanIcon:nk,KanbanSquare:Ao,KanbanSquareDashed:wo,KanbanSquareDashedIcon:wo,KanbanSquareIcon:Ao,Kayak:ok,KayakIcon:ok,Key:rk,KeyIcon:rk,KeyRound:ck,KeyRoundIcon:ck,KeySquare:ik,KeySquareIcon:ik,Keyboard:lk,KeyboardIcon:lk,KeyboardMusic:sk,KeyboardMusicIcon:sk,KeyboardOff:dk,KeyboardOffIcon:dk,Lamp:mk,LampCeiling:hk,LampCeilingIcon:hk,LampDesk:pk,LampDeskIcon:pk,LampFloor:uk,LampFloorIcon:uk,LampIcon:mk,LampWallDown:yk,LampWallDownIcon:yk,LampWallUp:kk,LampWallUpIcon:kk,LandPlot:fk,LandPlotIcon:fk,Landmark:gk,LandmarkIcon:gk,Languages:vk,LanguagesIcon:vk,Laptop:_k,Laptop2:bn,Laptop2Icon:bn,LaptopIcon:_k,LaptopMinimal:bn,LaptopMinimalCheck:Mk,LaptopMinimalCheckIcon:Mk,LaptopMinimalIcon:bn,Lasso:Lk,LassoIcon:Lk,LassoSelect:xk,LassoSelectIcon:xk,Laugh:Ik,LaughIcon:Ik,Layers:wn,Layers2:bk,Layers2Icon:bk,Layers3:wn,Layers3Icon:wn,LayersIcon:wn,Layout:Wn,LayoutDashboard:wk,LayoutDashboardIcon:wk,LayoutGrid:Ck,LayoutGridIcon:Ck,LayoutIcon:Wn,LayoutList:Nk,LayoutListIcon:Nk,LayoutPanelLeft:Sk,LayoutPanelLeftIcon:Sk,LayoutPanelTop:jk,LayoutPanelTopIcon:jk,LayoutTemplate:$k,LayoutTemplateIcon:$k,Leaf:qk,LeafIcon:qk,LeafyGreen:zk,LeafyGreenIcon:zk,Lectern:Ak,LecternIcon:Ak,LetterText:Vk,LetterTextIcon:Vk,Library:Tk,LibraryBig:Pk,LibraryBigIcon:Pk,LibraryIcon:Tk,LibrarySquare:zo,LibrarySquareIcon:zo,LifeBuoy:Hk,LifeBuoyIcon:Hk,Ligature:Dk,LigatureIcon:Dk,Lightbulb:Rk,LightbulbIcon:Rk,LightbulbOff:Bk,LightbulbOffIcon:Bk,LineChart:ia,LineChartIcon:ia,LineSquiggle:Fk,LineSquiggleIcon:Fk,Link:Uk,Link2:Ek,Link2Icon:Ek,Link2Off:Ok,Link2OffIcon:Ok,LinkIcon:Uk,Linkedin:Wk,LinkedinIcon:Wk,List:d3,ListCheck:Gk,ListCheckIcon:Gk,ListChecks:Zk,ListChecksIcon:Zk,ListCollapse:Kk,ListCollapseIcon:Kk,ListEnd:Xk,ListEndIcon:Xk,ListFilter:Qk,ListFilterIcon:Qk,ListFilterPlus:Yk,ListFilterPlusIcon:Yk,ListIcon:d3,ListMinus:Jk,ListMinusIcon:Jk,ListMusic:e3,ListMusicIcon:e3,ListOrdered:t3,ListOrderedIcon:t3,ListPlus:a3,ListPlusIcon:a3,ListRestart:n3,ListRestartIcon:n3,ListStart:o3,ListStartIcon:o3,ListTodo:c3,ListTodoIcon:c3,ListTree:i3,ListTreeIcon:i3,ListVideo:r3,ListVideoIcon:r3,ListX:s3,ListXIcon:s3,Loader:h3,Loader2:Cn,Loader2Icon:Cn,LoaderCircle:Cn,LoaderCircleIcon:Cn,LoaderIcon:h3,LoaderPinwheel:l3,LoaderPinwheelIcon:l3,Locate:y3,LocateFixed:u3,LocateFixedIcon:u3,LocateIcon:y3,LocateOff:p3,LocateOffIcon:p3,LocationEdit:$n,LocationEditIcon:$n,Lock:m3,LockIcon:m3,LockKeyhole:k3,LockKeyholeIcon:k3,LockKeyholeOpen:Nn,LockKeyholeOpenIcon:Nn,LockOpen:Sn,LockOpenIcon:Sn,LogIn:f3,LogInIcon:f3,LogOut:g3,LogOutIcon:g3,Logs:v3,LogsIcon:v3,Lollipop:M3,LollipopIcon:M3,LucideAArrowDown:K1,LucideAArrowUp:X1,LucideALargeSmall:Y1,LucideAccessibility:l1,LucideActivity:h1,LucideActivitySquare:It,LucideAirVent:J1,LucideAirplay:Q1,LucideAlarmCheck:Pt,LucideAlarmClock:ti,LucideAlarmClockCheck:Pt,LucideAlarmClockMinus:Tt,LucideAlarmClockOff:ei,LucideAlarmClockPlus:Ht,LucideAlarmMinus:Tt,LucideAlarmPlus:Ht,LucideAlarmSmoke:ai,LucideAlbum:ni,LucideAlertCircle:ua,LucideAlertOctagon:Vn,LucideAlertTriangle:ic,LucideAlignCenter:di,LucideAlignCenterHorizontal:oi,LucideAlignCenterVertical:ci,LucideAlignEndHorizontal:ii,LucideAlignEndVertical:ri,LucideAlignHorizontalDistributeCenter:si,LucideAlignHorizontalDistributeEnd:li,LucideAlignHorizontalDistributeStart:hi,LucideAlignHorizontalJustifyCenter:ui,LucideAlignHorizontalJustifyEnd:pi,LucideAlignHorizontalJustifyStart:yi,LucideAlignHorizontalSpaceAround:ki,LucideAlignHorizontalSpaceBetween:fi,LucideAlignJustify:mi,LucideAlignLeft:gi,LucideAlignRight:vi,LucideAlignStartHorizontal:Mi,LucideAlignStartVertical:_i,LucideAlignVerticalDistributeCenter:Li,LucideAlignVerticalDistributeEnd:xi,LucideAlignVerticalDistributeStart:bi,LucideAlignVerticalJustifyCenter:Ii,LucideAlignVerticalJustifyEnd:wi,LucideAlignVerticalJustifyStart:Ci,LucideAlignVerticalSpaceAround:Si,LucideAlignVerticalSpaceBetween:Ni,LucideAmbulance:ji,LucideAmpersand:$i,LucideAmpersands:qi,LucideAmphora:Ai,LucideAnchor:zi,LucideAngry:Vi,LucideAnnoyed:Pi,LucideAntenna:Ti,LucideAnvil:Hi,LucideAperture:Di,LucideAppWindow:Ri,LucideAppWindowMac:Bi,LucideApple:Fi,LucideArchive:Ui,LucideArchiveRestore:Ei,LucideArchiveX:Oi,LucideAreaChart:Qt,LucideArmchair:Wi,LucideArrowBigDown:Zi,LucideArrowBigDownDash:Gi,LucideArrowBigLeft:Xi,LucideArrowBigLeftDash:Ki,LucideArrowBigRight:Ji,LucideArrowBigRightDash:Yi,LucideArrowBigUp:er,LucideArrowBigUpDash:Qi,LucideArrowDown:lr,LucideArrowDown01:tr,LucideArrowDown10:ar,LucideArrowDownAZ:Dt,LucideArrowDownAz:Dt,LucideArrowDownCircle:pa,LucideArrowDownFromLine:nr,LucideArrowDownLeft:or,LucideArrowDownLeftFromCircle:ka,LucideArrowDownLeftFromSquare:so,LucideArrowDownLeftSquare:oo,LucideArrowDownNarrowWide:cr,LucideArrowDownRight:ir,LucideArrowDownRightFromCircle:ma,LucideArrowDownRightFromSquare:lo,LucideArrowDownRightSquare:co,LucideArrowDownSquare:io,LucideArrowDownToDot:rr,LucideArrowDownToLine:sr,LucideArrowDownUp:dr,LucideArrowDownWideNarrow:Bt,LucideArrowDownZA:Rt,LucideArrowDownZa:Rt,LucideArrowLeft:yr,LucideArrowLeftCircle:ya,LucideArrowLeftFromLine:hr,LucideArrowLeftRight:ur,LucideArrowLeftSquare:ro,LucideArrowLeftToLine:pr,LucideArrowRight:gr,LucideArrowRightCircle:va,LucideArrowRightFromLine:kr,LucideArrowRightLeft:mr,LucideArrowRightSquare:po,LucideArrowRightToLine:fr,LucideArrowUp:Nr,LucideArrowUp01:vr,LucideArrowUp10:Mr,LucideArrowUpAZ:Ft,LucideArrowUpAz:Ft,LucideArrowUpCircle:Ma,LucideArrowUpDown:_r,LucideArrowUpFromDot:xr,LucideArrowUpFromLine:Lr,LucideArrowUpLeft:Ir,LucideArrowUpLeftFromCircle:fa,LucideArrowUpLeftFromSquare:ho,LucideArrowUpLeftSquare:yo,LucideArrowUpNarrowWide:Et,LucideArrowUpRight:br,LucideArrowUpRightFromCircle:ga,LucideArrowUpRightFromSquare:uo,LucideArrowUpRightSquare:ko,LucideArrowUpSquare:mo,LucideArrowUpToLine:wr,LucideArrowUpWideNarrow:Cr,LucideArrowUpZA:Ot,LucideArrowUpZa:Ot,LucideArrowsUpFromLine:Sr,LucideAsterisk:jr,LucideAsteriskSquare:fo,LucideAtSign:$r,LucideAtom:qr,LucideAudioLines:Ar,LucideAudioWaveform:zr,LucideAward:Vr,LucideAxe:Pr,LucideAxis3D:Ut,LucideAxis3d:Ut,LucideBaby:Tr,LucideBackpack:Hr,LucideBadge:es,LucideBadgeAlert:Dr,LucideBadgeCent:Br,LucideBadgeCheck:Wt,LucideBadgeDollarSign:Rr,LucideBadgeEuro:Fr,LucideBadgeHelp:Gt,LucideBadgeIndianRupee:Er,LucideBadgeInfo:Or,LucideBadgeJapaneseYen:Wr,LucideBadgeMinus:Ur,LucideBadgePercent:Gr,LucideBadgePlus:Zr,LucideBadgePoundSterling:Kr,LucideBadgeQuestionMark:Gt,LucideBadgeRussianRuble:Xr,LucideBadgeSwissFranc:Yr,LucideBadgeTurkishLira:Jr,LucideBadgeX:Qr,LucideBaggageClaim:ts,LucideBan:as,LucideBanana:ns,LucideBandage:os,LucideBanknote:ss,LucideBanknoteArrowDown:cs,LucideBanknoteArrowUp:is,LucideBanknoteX:rs,LucideBarChart:ra,LucideBarChart2:sa,LucideBarChart3:ca,LucideBarChart4:oa,LucideBarChartBig:na,LucideBarChartHorizontal:ta,LucideBarChartHorizontalBig:ea,LucideBarcode:ds,LucideBarrel:ls,LucideBaseline:hs,LucideBath:us,LucideBattery:vs,LucideBatteryCharging:ps,LucideBatteryFull:ys,LucideBatteryLow:ks,LucideBatteryMedium:ms,LucideBatteryPlus:fs,LucideBatteryWarning:gs,LucideBeaker:Ms,LucideBean:xs,LucideBeanOff:_s,LucideBed:bs,LucideBedDouble:Ls,LucideBedSingle:Is,LucideBeef:ws,LucideBeer:Ns,LucideBeerOff:Cs,LucideBell:zs,LucideBellDot:Ss,LucideBellElectric:js,LucideBellMinus:$s,LucideBellOff:qs,LucideBellPlus:As,LucideBellRing:Vs,LucideBetweenHorizonalEnd:Zt,LucideBetweenHorizonalStart:Kt,LucideBetweenHorizontalEnd:Zt,LucideBetweenHorizontalStart:Kt,LucideBetweenVerticalEnd:Ts,LucideBetweenVerticalStart:Ps,LucideBicepsFlexed:Hs,LucideBike:Bs,LucideBinary:Ds,LucideBinoculars:Rs,LucideBiohazard:Fs,LucideBird:Es,LucideBitcoin:Os,LucideBlend:Us,LucideBlinds:Ws,LucideBlocks:Gs,LucideBluetooth:Ys,LucideBluetoothConnected:Zs,LucideBluetoothOff:Ks,LucideBluetoothSearching:Xs,LucideBold:Js,LucideBolt:Qs,LucideBomb:e2,LucideBone:t2,LucideBook:b2,LucideBookA:a2,LucideBookAlert:n2,LucideBookAudio:o2,LucideBookCheck:c2,LucideBookCopy:i2,LucideBookDashed:Xt,LucideBookDown:r2,LucideBookHeadphones:s2,LucideBookHeart:d2,LucideBookImage:l2,LucideBookKey:h2,LucideBookLock:u2,LucideBookMarked:y2,LucideBookMinus:p2,LucideBookOpen:f2,LucideBookOpenCheck:k2,LucideBookOpenText:m2,LucideBookPlus:g2,LucideBookTemplate:Xt,LucideBookText:v2,LucideBookType:M2,LucideBookUp:x2,LucideBookUp2:_2,LucideBookUser:L2,LucideBookX:I2,LucideBookmark:j2,LucideBookmarkCheck:w2,LucideBookmarkMinus:C2,LucideBookmarkPlus:N2,LucideBookmarkX:S2,LucideBoomBox:$2,LucideBot:z2,LucideBotMessageSquare:q2,LucideBotOff:A2,LucideBottleWine:V2,LucideBowArrow:P2,LucideBox:T2,LucideBoxSelect:No,LucideBoxes:H2,LucideBraces:Yt,LucideBrackets:D2,LucideBrain:F2,LucideBrainCircuit:B2,LucideBrainCog:R2,LucideBrickWall:U2,LucideBrickWallFire:E2,LucideBrickWallShield:O2,LucideBriefcase:K2,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:G2,LucideBriefcaseMedical:Z2,LucideBringToFront:X2,LucideBrush:J2,LucideBrushCleaning:Y2,LucideBubbles:Q2,LucideBug:nd,LucideBugOff:ed,LucideBugPlay:td,LucideBuilding:od,LucideBuilding2:ad,LucideBus:id,LucideBusFront:cd,LucideCable:sd,LucideCableCar:rd,LucideCake:ld,LucideCakeSlice:dd,LucideCalculator:hd,LucideCalendar:u1,LucideCalendar1:ud,LucideCalendarArrowDown:pd,LucideCalendarArrowUp:yd,LucideCalendarCheck:md,LucideCalendarCheck2:kd,LucideCalendarClock:fd,LucideCalendarCog:gd,LucideCalendarDays:vd,LucideCalendarFold:Md,LucideCalendarHeart:_d,LucideCalendarMinus:Ld,LucideCalendarMinus2:xd,LucideCalendarOff:Id,LucideCalendarPlus:wd,LucideCalendarPlus2:bd,LucideCalendarRange:Cd,LucideCalendarSearch:Nd,LucideCalendarSync:Sd,LucideCalendarX:$d,LucideCalendarX2:jd,LucideCamera:Ad,LucideCameraOff:qd,LucideCandlestickChart:aa,LucideCandy:Pd,LucideCandyCane:zd,LucideCandyOff:Vd,LucideCannabis:Td,LucideCaptions:Jt,LucideCaptionsOff:Hd,LucideCar:Rd,LucideCarFront:Dd,LucideCarTaxiFront:Bd,LucideCaravan:Fd,LucideCardSim:Ed,LucideCarrot:Od,LucideCaseLower:Ud,LucideCaseSensitive:Wd,LucideCaseUpper:Gd,LucideCassetteTape:Zd,LucideCast:Kd,LucideCastle:Yd,LucideCat:Xd,LucideCctv:Jd,LucideChartArea:Qt,LucideChartBar:ta,LucideChartBarBig:ea,LucideChartBarDecreasing:Qd,LucideChartBarIncreasing:e0,LucideChartBarStacked:t0,LucideChartCandlestick:aa,LucideChartColumn:ca,LucideChartColumnBig:na,LucideChartColumnDecreasing:a0,LucideChartColumnIncreasing:oa,LucideChartColumnStacked:n0,LucideChartGantt:o0,LucideChartLine:ia,LucideChartNetwork:c0,LucideChartNoAxesColumn:sa,LucideChartNoAxesColumnDecreasing:i0,LucideChartNoAxesColumnIncreasing:ra,LucideChartNoAxesCombined:r0,LucideChartNoAxesGantt:da,LucideChartPie:la,LucideChartScatter:ha,LucideChartSpline:s0,LucideCheck:p1,LucideCheckCheck:d0,LucideCheckCircle:_a,LucideCheckCircle2:xa,LucideCheckLine:l0,LucideCheckSquare:vo,LucideCheckSquare2:Mo,LucideChefHat:h0,LucideCherry:u0,LucideChevronDown:Nt,LucideChevronDownCircle:La,LucideChevronDownSquare:_o,LucideChevronFirst:p0,LucideChevronLast:y0,LucideChevronLeft:k0,LucideChevronLeftCircle:Ia,LucideChevronLeftSquare:xo,LucideChevronRight:y1,LucideChevronRightCircle:ba,LucideChevronRightSquare:Lo,LucideChevronUp:Ic,LucideChevronUpCircle:wa,LucideChevronUpSquare:Io,LucideChevronsDown:f0,LucideChevronsDownUp:m0,LucideChevronsLeft:v0,LucideChevronsLeftRight:g0,LucideChevronsLeftRightEllipsis:M0,LucideChevronsRight:x0,LucideChevronsRightLeft:_0,LucideChevronsUp:L0,LucideChevronsUpDown:Ec,LucideChrome:I0,LucideChurch:b0,LucideCigarette:C0,LucideCigaretteOff:w0,LucideCircle:R0,LucideCircleAlert:ua,LucideCircleArrowDown:pa,LucideCircleArrowLeft:ya,LucideCircleArrowOutDownLeft:ka,LucideCircleArrowOutDownRight:ma,LucideCircleArrowOutUpLeft:fa,LucideCircleArrowOutUpRight:ga,LucideCircleArrowRight:va,LucideCircleArrowUp:Ma,LucideCircleCheck:xa,LucideCircleCheckBig:_a,LucideCircleChevronDown:La,LucideCircleChevronLeft:Ia,LucideCircleChevronRight:ba,LucideCircleChevronUp:wa,LucideCircleDashed:N0,LucideCircleDivide:Ca,LucideCircleDollarSign:j0,LucideCircleDot:$0,LucideCircleDotDashed:S0,LucideCircleEllipsis:q0,LucideCircleEqual:A0,LucideCircleFadingArrowUp:V0,LucideCircleFadingPlus:z0,LucideCircleGauge:Na,LucideCircleHelp:tt,LucideCircleMinus:Sa,LucideCircleOff:P0,LucideCircleParking:qa,LucideCircleParkingOff:ja,LucideCirclePause:$a,LucideCirclePercent:Aa,LucideCirclePlay:za,LucideCirclePlus:Va,LucideCirclePoundSterling:T0,LucideCirclePower:Pa,LucideCircleQuestionMark:tt,LucideCircleSlash:H0,LucideCircleSlash2:Ta,LucideCircleSlashed:Ta,LucideCircleSmall:D0,LucideCircleStar:B0,LucideCircleStop:Ha,LucideCircleUser:Ba,LucideCircleUserRound:Da,LucideCircleX:_t,LucideCircuitBoard:F0,LucideCitrus:E0,LucideClapperboard:O0,LucideClipboard:el,LucideClipboardCheck:U0,LucideClipboardClock:W0,LucideClipboardCopy:G0,LucideClipboardEdit:Fa,LucideClipboardList:Z0,LucideClipboardMinus:K0,LucideClipboardPaste:X0,LucideClipboardPen:Fa,LucideClipboardPenLine:Ra,LucideClipboardPlus:Y0,LucideClipboardSignature:Ra,LucideClipboardType:J0,LucideClipboardX:Q0,LucideClock:gl,LucideClock1:al,LucideClock10:tl,LucideClock11:nl,LucideClock12:ol,LucideClock2:cl,LucideClock3:il,LucideClock4:rl,LucideClock5:sl,LucideClock6:dl,LucideClock7:ll,LucideClock8:hl,LucideClock9:ul,LucideClockAlert:pl,LucideClockArrowDown:yl,LucideClockArrowUp:kl,LucideClockFading:ml,LucideClockPlus:fl,LucideClosedCaption:vl,LucideCloud:Vl,LucideCloudAlert:Ml,LucideCloudCheck:_l,LucideCloudCog:xl,LucideCloudDownload:Ea,LucideCloudDrizzle:Ll,LucideCloudFog:Il,LucideCloudHail:bl,LucideCloudLightning:wl,LucideCloudMoon:Nl,LucideCloudMoonRain:Cl,LucideCloudOff:Sl,LucideCloudRain:$l,LucideCloudRainWind:jl,LucideCloudSnow:ql,LucideCloudSun:zl,LucideCloudSunRain:Al,LucideCloudUpload:Oa,LucideCloudy:Pl,LucideClover:Tl,LucideClub:Hl,LucideCode:Dl,LucideCode2:Ua,LucideCodeSquare:bo,LucideCodeXml:Ua,LucideCodepen:Bl,LucideCodesandbox:Rl,LucideCoffee:Fl,LucideCog:El,LucideCoins:Ol,LucideColumns:Wa,LucideColumns2:Wa,LucideColumns3:Ga,LucideColumns3Cog:at,LucideColumns4:Ul,LucideColumnsSettings:at,LucideCombine:Wl,LucideCommand:Gl,LucideCompass:Zl,LucideComponent:Kl,LucideComputer:Xl,LucideConciergeBell:Yl,LucideCone:Jl,LucideConstruction:Ql,LucideContact:eh,LucideContact2:Za,LucideContactRound:Za,LucideContainer:th,LucideContrast:nh,LucideCookie:ah,LucideCookingPot:ch,LucideCopy:lh,LucideCopyCheck:oh,LucideCopyMinus:ih,LucideCopyPlus:rh,LucideCopySlash:sh,LucideCopyX:dh,LucideCopyleft:hh,LucideCopyright:uh,LucideCornerDownLeft:ph,LucideCornerDownRight:yh,LucideCornerLeftDown:kh,LucideCornerLeftUp:mh,LucideCornerRightDown:fh,LucideCornerRightUp:gh,LucideCornerUpLeft:vh,LucideCornerUpRight:Mh,LucideCpu:_h,LucideCreativeCommons:xh,LucideCreditCard:Lh,LucideCroissant:Ih,LucideCrop:bh,LucideCross:wh,LucideCrosshair:Ch,LucideCrown:Nh,LucideCuboid:Sh,LucideCupSoda:jh,LucideCurlyBraces:Yt,LucideCurrency:$h,LucideCylinder:qh,LucideDam:Ah,LucideDatabase:Ph,LucideDatabaseBackup:zh,LucideDatabaseZap:Vh,LucideDecimalsArrowLeft:Th,LucideDecimalsArrowRight:Hh,LucideDelete:Dh,LucideDessert:Bh,LucideDiameter:Rh,LucideDiamond:Oh,LucideDiamondMinus:Fh,LucideDiamondPercent:Ka,LucideDiamondPlus:Eh,LucideDice1:Uh,LucideDice2:Wh,LucideDice3:Gh,LucideDice4:Zh,LucideDice5:Kh,LucideDice6:Xh,LucideDices:Yh,LucideDiff:Jh,LucideDisc:au,LucideDisc2:Qh,LucideDisc3:eu,LucideDiscAlbum:tu,LucideDivide:nu,LucideDivideCircle:Ca,LucideDivideSquare:So,LucideDna:cu,LucideDnaOff:ou,LucideDock:iu,LucideDog:ru,LucideDollarSign:su,LucideDonut:du,LucideDoorClosed:hu,LucideDoorClosedLocked:lu,LucideDoorOpen:uu,LucideDot:pu,LucideDotSquare:$o,LucideDownload:ku,LucideDownloadCloud:Ea,LucideDraftingCompass:yu,LucideDrama:mu,LucideDribbble:fu,LucideDrill:gu,LucideDrone:vu,LucideDroplet:_u,LucideDropletOff:Mu,LucideDroplets:xu,LucideDrum:Lu,LucideDrumstick:Iu,LucideDumbbell:bu,LucideEar:Cu,LucideEarOff:wu,LucideEarth:Xa,LucideEarthLock:Nu,LucideEclipse:Su,LucideEdit:Ve,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:qu,LucideEggFried:ju,LucideEggOff:$u,LucideEllipsis:Ja,LucideEllipsisVertical:Ya,LucideEqual:Vu,LucideEqualApproximately:Au,LucideEqualNot:zu,LucideEqualSquare:jo,LucideEraser:Pu,LucideEthernetPort:Tu,LucideEuro:Hu,LucideExpand:Bu,LucideExternalLink:Du,LucideEye:m1,LucideEyeClosed:Ru,LucideEyeOff:k1,LucideFacebook:Fu,LucideFactory:Eu,LucideFan:Ou,LucideFastForward:Uu,LucideFeather:Wu,LucideFence:Gu,LucideFerrisWheel:Zu,LucideFigma:Ku,LucideFile:Ep,LucideFileArchive:Xu,LucideFileAudio:Ju,LucideFileAudio2:Yu,LucideFileAxis3D:Qa,LucideFileAxis3d:Qa,LucideFileBadge:tp,LucideFileBadge2:Qu,LucideFileBarChart:en,LucideFileBarChart2:tn,LucideFileBox:ep,LucideFileChartColumn:tn,LucideFileChartColumnIncreasing:en,LucideFileChartLine:an,LucideFileChartPie:nn,LucideFileCheck:np,LucideFileCheck2:ap,LucideFileClock:op,LucideFileCode:cp,LucideFileCode2:ip,LucideFileCog:on,LucideFileCog2:on,LucideFileDiff:rp,LucideFileDigit:sp,LucideFileDown:dp,LucideFileEdit:rn,LucideFileHeart:lp,LucideFileImage:hp,LucideFileInput:up,LucideFileJson:yp,LucideFileJson2:pp,LucideFileKey:mp,LucideFileKey2:kp,LucideFileLineChart:an,LucideFileLock:gp,LucideFileLock2:fp,LucideFileMinus:Mp,LucideFileMinus2:vp,LucideFileMusic:_p,LucideFileOutput:xp,LucideFilePen:rn,LucideFilePenLine:cn,LucideFilePieChart:nn,LucideFilePlay:sn,LucideFilePlus:Ip,LucideFilePlus2:Lp,LucideFileQuestion:dn,LucideFileQuestionMark:dn,LucideFileScan:bp,LucideFileSearch:Cp,LucideFileSearch2:wp,LucideFileSignature:cn,LucideFileSliders:Np,LucideFileSpreadsheet:Sp,LucideFileStack:jp,LucideFileSymlink:$p,LucideFileTerminal:qp,LucideFileText:Ap,LucideFileType:Vp,LucideFileType2:zp,LucideFileUp:Pp,LucideFileUser:Tp,LucideFileVideo:sn,LucideFileVideo2:ln,LucideFileVideoCamera:ln,LucideFileVolume:Dp,LucideFileVolume2:Hp,LucideFileWarning:Bp,LucideFileX:Fp,LucideFileX2:Rp,LucideFiles:Op,LucideFilm:Up,LucideFilter:xt,LucideFilterX:pn,LucideFingerprint:Wp,LucideFireExtinguisher:Gp,LucideFish:Kp,LucideFishOff:Zp,LucideFishSymbol:Xp,LucideFlag:ey,LucideFlagOff:Yp,LucideFlagTriangleLeft:Jp,LucideFlagTriangleRight:Qp,LucideFlame:ay,LucideFlameKindling:ty,LucideFlashlight:oy,LucideFlashlightOff:ny,LucideFlaskConical:iy,LucideFlaskConicalOff:cy,LucideFlaskRound:ry,LucideFlipHorizontal:dy,LucideFlipHorizontal2:sy,LucideFlipVertical:hy,LucideFlipVertical2:ly,LucideFlower:py,LucideFlower2:uy,LucideFocus:yy,LucideFoldHorizontal:ky,LucideFoldVertical:my,LucideFolder:f1,LucideFolderArchive:fy,LucideFolderCheck:gy,LucideFolderClock:vy,LucideFolderClosed:My,LucideFolderCode:_y,LucideFolderCog:hn,LucideFolderCog2:hn,LucideFolderDot:xy,LucideFolderDown:Ly,LucideFolderEdit:un,LucideFolderGit:by,LucideFolderGit2:Iy,LucideFolderHeart:wy,LucideFolderInput:Cy,LucideFolderKanban:Ny,LucideFolderKey:Sy,LucideFolderLock:jy,LucideFolderMinus:$y,LucideFolderOpen:Ay,LucideFolderOpenDot:qy,LucideFolderOutput:zy,LucideFolderPen:un,LucideFolderPlus:Oc,LucideFolderRoot:Vy,LucideFolderSearch:Ty,LucideFolderSearch2:Py,LucideFolderSymlink:Hy,LucideFolderSync:Dy,LucideFolderTree:By,LucideFolderUp:Ry,LucideFolderX:Fy,LucideFolders:Ey,LucideFootprints:Oy,LucideForkKnife:fc,LucideForkKnifeCrossed:mc,LucideForklift:Uy,LucideFormInput:Zn,LucideForward:Wy,LucideFrame:Gy,LucideFramer:Zy,LucideFrown:Ky,LucideFuel:Xy,LucideFullscreen:Yy,LucideFunctionSquare:qo,LucideFunnel:xt,LucideFunnelPlus:Jy,LucideFunnelX:pn,LucideGalleryHorizontal:e4,LucideGalleryHorizontalEnd:Qy,LucideGalleryThumbnails:t4,LucideGalleryVertical:n4,LucideGalleryVerticalEnd:a4,LucideGamepad:c4,LucideGamepad2:o4,LucideGanttChart:da,LucideGanttChartSquare:ot,LucideGauge:i4,LucideGaugeCircle:Na,LucideGavel:r4,LucideGem:s4,LucideGeorgianLari:d4,LucideGhost:l4,LucideGift:h4,LucideGitBranch:p4,LucideGitBranchPlus:u4,LucideGitCommit:yn,LucideGitCommitHorizontal:yn,LucideGitCommitVertical:y4,LucideGitCompare:m4,LucideGitCompareArrows:k4,LucideGitFork:f4,LucideGitGraph:g4,LucideGitMerge:v4,LucideGitPullRequest:b4,LucideGitPullRequestArrow:M4,LucideGitPullRequestClosed:_4,LucideGitPullRequestCreate:L4,LucideGitPullRequestCreateArrow:x4,LucideGitPullRequestDraft:I4,LucideGithub:w4,LucideGitlab:C4,LucideGlassWater:N4,LucideGlasses:S4,LucideGlobe:$4,LucideGlobe2:Xa,LucideGlobeLock:j4,LucideGoal:q4,LucideGpu:A4,LucideGrab:vn,LucideGraduationCap:z4,LucideGrape:V4,LucideGrid:nt,LucideGrid2X2:gn,LucideGrid2X2Check:kn,LucideGrid2X2Plus:mn,LucideGrid2X2X:fn,LucideGrid2x2:gn,LucideGrid2x2Check:kn,LucideGrid2x2Plus:mn,LucideGrid2x2X:fn,LucideGrid3X3:nt,LucideGrid3x2:P4,LucideGrid3x3:nt,LucideGrip:H4,LucideGripHorizontal:T4,LucideGripVertical:g1,LucideGroup:D4,LucideGuitar:B4,LucideHam:R4,LucideHamburger:F4,LucideHammer:E4,LucideHand:K4,LucideHandCoins:O4,LucideHandFist:U4,LucideHandGrab:vn,LucideHandHeart:W4,LucideHandHelping:Mn,LucideHandMetal:G4,LucideHandPlatter:Z4,LucideHandbag:X4,LucideHandshake:Y4,LucideHardDrive:e5,LucideHardDriveDownload:J4,LucideHardDriveUpload:Q4,LucideHardHat:t5,LucideHash:a5,LucideHatGlasses:n5,LucideHaze:o5,LucideHdmiPort:c5,LucideHeading:u5,LucideHeading1:i5,LucideHeading2:r5,LucideHeading3:s5,LucideHeading4:d5,LucideHeading5:l5,LucideHeading6:h5,LucideHeadphoneOff:p5,LucideHeadphones:y5,LucideHeadset:k5,LucideHeart:x5,LucideHeartCrack:m5,LucideHeartHandshake:f5,LucideHeartMinus:g5,LucideHeartOff:v5,LucideHeartPlus:M5,LucideHeartPulse:_5,LucideHeater:L5,LucideHelpCircle:tt,LucideHelpingHand:Mn,LucideHexagon:I5,LucideHighlighter:b5,LucideHistory:w5,LucideHome:Lt,LucideHop:N5,LucideHopOff:C5,LucideHospital:v1,LucideHotel:S5,LucideHourglass:j5,LucideHouse:Lt,LucideHousePlug:$5,LucideHousePlus:A5,LucideHouseWifi:q5,LucideIceCream:xn,LucideIceCream2:_n,LucideIceCreamBowl:_n,LucideIceCreamCone:xn,LucideIdCard:V5,LucideIdCardLanyard:z5,LucideImage:E5,LucideImageDown:P5,LucideImageMinus:T5,LucideImageOff:H5,LucideImagePlay:D5,LucideImagePlus:B5,LucideImageUp:R5,LucideImageUpscale:F5,LucideImages:O5,LucideImport:U5,LucideInbox:W5,LucideIndent:In,LucideIndentDecrease:Ln,LucideIndentIncrease:In,LucideIndianRupee:G5,LucideInfinity:Z5,LucideInfo:K5,LucideInspect:Do,LucideInspectionPanel:X5,LucideInstagram:Y5,LucideItalic:J5,LucideIterationCcw:Q5,LucideIterationCw:ek,LucideJapaneseYen:ak,LucideJoystick:tk,LucideKanban:nk,LucideKanbanSquare:Ao,LucideKanbanSquareDashed:wo,LucideKayak:ok,LucideKey:rk,LucideKeyRound:ck,LucideKeySquare:ik,LucideKeyboard:lk,LucideKeyboardMusic:sk,LucideKeyboardOff:dk,LucideLamp:mk,LucideLampCeiling:hk,LucideLampDesk:pk,LucideLampFloor:uk,LucideLampWallDown:yk,LucideLampWallUp:kk,LucideLandPlot:fk,LucideLandmark:gk,LucideLanguages:vk,LucideLaptop:_k,LucideLaptop2:bn,LucideLaptopMinimal:bn,LucideLaptopMinimalCheck:Mk,LucideLasso:Lk,LucideLassoSelect:xk,LucideLaugh:Ik,LucideLayers:wn,LucideLayers2:bk,LucideLayers3:wn,LucideLayout:Wn,LucideLayoutDashboard:wk,LucideLayoutGrid:Ck,LucideLayoutList:Nk,LucideLayoutPanelLeft:Sk,LucideLayoutPanelTop:jk,LucideLayoutTemplate:$k,LucideLeaf:qk,LucideLeafyGreen:zk,LucideLectern:Ak,LucideLetterText:Vk,LucideLibrary:Tk,LucideLibraryBig:Pk,LucideLibrarySquare:zo,LucideLifeBuoy:Hk,LucideLigature:Dk,LucideLightbulb:Rk,LucideLightbulbOff:Bk,LucideLineChart:ia,LucideLineSquiggle:Fk,LucideLink:Uk,LucideLink2:Ek,LucideLink2Off:Ok,LucideLinkedin:Wk,LucideList:d3,LucideListCheck:Gk,LucideListChecks:Zk,LucideListCollapse:Kk,LucideListEnd:Xk,LucideListFilter:Qk,LucideListFilterPlus:Yk,LucideListMinus:Jk,LucideListMusic:e3,LucideListOrdered:t3,LucideListPlus:a3,LucideListRestart:n3,LucideListStart:o3,LucideListTodo:c3,LucideListTree:i3,LucideListVideo:r3,LucideListX:s3,LucideLoader:h3,LucideLoader2:Cn,LucideLoaderCircle:Cn,LucideLoaderPinwheel:l3,LucideLocate:y3,LucideLocateFixed:u3,LucideLocateOff:p3,LucideLocationEdit:$n,LucideLock:m3,LucideLockKeyhole:k3,LucideLockKeyholeOpen:Nn,LucideLockOpen:Sn,LucideLogIn:f3,LucideLogOut:g3,LucideLogs:v3,LucideLollipop:M3,LucideLuggage:_3,LucideMSquare:Vo,LucideMagnet:x3,LucideMail:S3,LucideMailCheck:L3,LucideMailMinus:I3,LucideMailOpen:b3,LucideMailPlus:w3,LucideMailQuestion:jn,LucideMailQuestionMark:jn,LucideMailSearch:C3,LucideMailWarning:N3,LucideMailX:j3,LucideMailbox:$3,LucideMails:q3,LucideMap:G3,LucideMapMinus:A3,LucideMapPin:O3,LucideMapPinCheck:z3,LucideMapPinCheckInside:V3,LucideMapPinHouse:P3,LucideMapPinMinus:H3,LucideMapPinMinusInside:T3,LucideMapPinOff:D3,LucideMapPinPen:$n,LucideMapPinPlus:R3,LucideMapPinPlusInside:B3,LucideMapPinX:E3,LucideMapPinXInside:F3,LucideMapPinned:U3,LucideMapPlus:W3,LucideMars:K3,LucideMarsStroke:Z3,LucideMartini:X3,LucideMaximize:Q3,LucideMaximize2:Y3,LucideMedal:J3,LucideMegaphone:tm,LucideMegaphoneOff:em,LucideMeh:am,LucideMemoryStick:nm,LucideMenu:Uc,LucideMenuSquare:Po,LucideMerge:om,LucideMessageCircle:ym,LucideMessageCircleCode:cm,LucideMessageCircleDashed:im,LucideMessageCircleHeart:rm,LucideMessageCircleMore:sm,LucideMessageCircleOff:dm,LucideMessageCirclePlus:lm,LucideMessageCircleQuestion:qn,LucideMessageCircleQuestionMark:qn,LucideMessageCircleReply:hm,LucideMessageCircleWarning:um,LucideMessageCircleX:pm,LucideMessageSquare:jm,LucideMessageSquareCode:km,LucideMessageSquareDashed:mm,LucideMessageSquareDiff:fm,LucideMessageSquareDot:gm,LucideMessageSquareHeart:vm,LucideMessageSquareLock:Mm,LucideMessageSquareMore:_m,LucideMessageSquareOff:xm,LucideMessageSquarePlus:Lm,LucideMessageSquareQuote:Im,LucideMessageSquareReply:bm,LucideMessageSquareShare:wm,LucideMessageSquareText:Cm,LucideMessageSquareWarning:Nm,LucideMessageSquareX:Sm,LucideMessagesSquare:$m,LucideMic:Am,LucideMic2:An,LucideMicOff:qm,LucideMicVocal:An,LucideMicrochip:zm,LucideMicroscope:Vm,LucideMicrowave:Pm,LucideMilestone:Tm,LucideMilk:Dm,LucideMilkOff:Hm,LucideMinimize:Rm,LucideMinimize2:Bm,LucideMinus:Fm,LucideMinusCircle:Sa,LucideMinusSquare:To,LucideMonitor:t6,LucideMonitorCheck:Em,LucideMonitorCog:Om,LucideMonitorDot:Um,LucideMonitorDown:Wm,LucideMonitorOff:Gm,LucideMonitorPause:Km,LucideMonitorPlay:Zm,LucideMonitorSmartphone:Xm,LucideMonitorSpeaker:Ym,LucideMonitorStop:Jm,LucideMonitorUp:Qm,LucideMonitorX:e6,LucideMoon:n6,LucideMoonStar:a6,LucideMoreHorizontal:Ja,LucideMoreVertical:Ya,LucideMountain:c6,LucideMountainSnow:o6,LucideMouse:h6,LucideMouseOff:i6,LucideMousePointer:d6,LucideMousePointer2:r6,LucideMousePointerBan:s6,LucideMousePointerClick:l6,LucideMousePointerSquareDashed:Co,LucideMove:a.Move,LucideMove3D:zn,LucideMove3d:zn,LucideMoveDiagonal:p6,LucideMoveDiagonal2:u6,LucideMoveDown:f6,LucideMoveDownLeft:y6,LucideMoveDownRight:k6,LucideMoveHorizontal:m6,LucideMoveLeft:g6,LucideMoveRight:v6,LucideMoveUp:x6,LucideMoveUpLeft:M6,LucideMoveUpRight:_6,LucideMoveVertical:L6,LucideMusic:C6,LucideMusic2:I6,LucideMusic3:b6,LucideMusic4:w6,LucideNavigation:$6,LucideNavigation2:S6,LucideNavigation2Off:N6,LucideNavigationOff:j6,LucideNetwork:q6,LucideNewspaper:A6,LucideNfc:z6,LucideNonBinary:V6,LucideNotebook:D6,LucideNotebookPen:P6,LucideNotebookTabs:T6,LucideNotebookText:H6,LucideNotepadText:R6,LucideNotepadTextDashed:B6,LucideNut:E6,LucideNutOff:F6,LucideOctagon:U6,LucideOctagonAlert:Vn,LucideOctagonMinus:O6,LucideOctagonPause:Pn,LucideOctagonX:Tn,LucideOmega:W6,LucideOption:G6,LucideOrbit:Z6,LucideOrigami:K6,LucideOutdent:Ln,LucidePackage:n8,LucidePackage2:X6,LucidePackageCheck:Y6,LucidePackageMinus:J6,LucidePackageOpen:Q6,LucidePackagePlus:e8,LucidePackageSearch:t8,LucidePackageX:a8,LucidePaintBucket:o8,LucidePaintRoller:c8,LucidePaintbrush:i8,LucidePaintbrush2:Hn,LucidePaintbrushVertical:Hn,LucidePalette:r8,LucidePalmtree:cc,LucidePanda:s8,LucidePanelBottom:h8,LucidePanelBottomClose:d8,LucidePanelBottomDashed:Dn,LucidePanelBottomInactive:Dn,LucidePanelBottomOpen:l8,LucidePanelLeft:En,LucidePanelLeftClose:Bn,LucidePanelLeftDashed:Rn,LucidePanelLeftInactive:Rn,LucidePanelLeftOpen:Fn,LucidePanelRight:y8,LucidePanelRightClose:u8,LucidePanelRightDashed:On,LucidePanelRightInactive:On,LucidePanelRightOpen:p8,LucidePanelTop:f8,LucidePanelTopClose:k8,LucidePanelTopDashed:Un,LucidePanelTopInactive:Un,LucidePanelTopOpen:m8,LucidePanelsLeftBottom:g8,LucidePanelsLeftRight:Ga,LucidePanelsRightBottom:v8,LucidePanelsTopBottom:Yn,LucidePanelsTopLeft:Wn,LucidePaperclip:M8,LucideParentheses:_8,LucideParkingCircle:qa,LucideParkingCircleOff:ja,LucideParkingMeter:x8,LucideParkingSquare:Bo,LucideParkingSquareOff:Ho,LucidePartyPopper:L8,LucidePause:I8,LucidePauseCircle:$a,LucidePauseOctagon:Pn,LucidePawPrint:b8,LucidePcCase:w8,LucidePen:lt,LucidePenBox:Ve,LucidePenLine:dt,LucidePenOff:N8,LucidePenSquare:Ve,LucidePenTool:C8,LucidePencil:M1,LucidePencilLine:S8,LucidePencilOff:j8,LucidePencilRuler:$8,LucidePentagon:q8,LucidePercent:A8,LucidePercentCircle:Aa,LucidePercentDiamond:Ka,LucidePercentSquare:Ro,LucidePersonStanding:V8,LucidePhilippinePeso:z8,LucidePhone:R8,LucidePhoneCall:P8,LucidePhoneForwarded:T8,LucidePhoneIncoming:H8,LucidePhoneMissed:D8,LucidePhoneOff:B8,LucidePhoneOutgoing:F8,LucidePi:E8,LucidePiSquare:Fo,LucidePiano:O8,LucidePickaxe:U8,LucidePictureInPicture:G8,LucidePictureInPicture2:W8,LucidePieChart:la,LucidePiggyBank:Z8,LucidePilcrow:X8,LucidePilcrowLeft:K8,LucidePilcrowRight:Y8,LucidePilcrowSquare:Eo,LucidePill:Q8,LucidePillBottle:J8,LucidePin:tf,LucidePinOff:ef,LucidePipette:af,LucidePizza:nf,LucidePlane:rf,LucidePlaneLanding:of,LucidePlaneTakeoff:cf,LucidePlay:sf,LucidePlayCircle:za,LucidePlaySquare:Oo,LucidePlug:lf,LucidePlug2:df,LucidePlugZap:Gn,LucidePlugZap2:Gn,LucidePlus:Wc,LucidePlusCircle:Va,LucidePlusSquare:Uo,LucidePocket:uf,LucidePocketKnife:hf,LucidePodcast:pf,LucidePointer:kf,LucidePointerOff:yf,LucidePopcorn:ff,LucidePopsicle:mf,LucidePoundSterling:gf,LucidePower:Mf,LucidePowerCircle:Pa,LucidePowerOff:vf,LucidePowerSquare:Wo,LucidePresentation:_f,LucidePrinter:Lf,LucidePrinterCheck:xf,LucideProjector:If,LucideProportions:bf,LucidePuzzle:Cf,LucidePyramid:wf,LucideQrCode:Nf,LucideQuote:Sf,LucideRabbit:jf,LucideRadar:$f,LucideRadiation:qf,LucideRadical:Af,LucideRadio:Pf,LucideRadioReceiver:zf,LucideRadioTower:Vf,LucideRadius:Tf,LucideRailSymbol:Hf,LucideRainbow:Df,LucideRat:Bf,LucideRatio:Rf,LucideReceipt:Yf,LucideReceiptCent:Ff,LucideReceiptEuro:Of,LucideReceiptIndianRupee:Ef,LucideReceiptJapaneseYen:Uf,LucideReceiptPoundSterling:Wf,LucideReceiptRussianRuble:Gf,LucideReceiptSwissFranc:Zf,LucideReceiptText:Kf,LucideReceiptTurkishLira:Xf,LucideRectangleCircle:Jf,LucideRectangleEllipsis:Zn,LucideRectangleGoggles:Qf,LucideRectangleHorizontal:e7,LucideRectangleVertical:t7,LucideRecycle:a7,LucideRedo:c7,LucideRedo2:n7,LucideRedoDot:o7,LucideRefreshCcw:r7,LucideRefreshCcwDot:i7,LucideRefreshCw:d7,LucideRefreshCwOff:s7,LucideRefrigerator:l7,LucideRegex:h7,LucideRemoveFormatting:u7,LucideRepeat:k7,LucideRepeat1:p7,LucideRepeat2:y7,LucideReplace:f7,LucideReplaceAll:m7,LucideReply:M7,LucideReplyAll:g7,LucideRewind:v7,LucideRibbon:_7,LucideRocket:x7,LucideRockingChair:b7,LucideRollerCoaster:L7,LucideRose:I7,LucideRotate3D:Kn,LucideRotate3d:Kn,LucideRotateCcw:N7,LucideRotateCcwKey:w7,LucideRotateCcwSquare:C7,LucideRotateCw:j7,LucideRotateCwSquare:S7,LucideRoute:q7,LucideRouteOff:$7,LucideRouter:A7,LucideRows:Xn,LucideRows2:Xn,LucideRows3:Yn,LucideRows4:z7,LucideRss:V7,LucideRuler:T7,LucideRulerDimensionLine:P7,LucideRussianRuble:H7,LucideSailboat:D7,LucideSalad:B7,LucideSandwich:R7,LucideSatellite:E7,LucideSatelliteDish:F7,LucideSaudiRiyal:O7,LucideSave:Z7,LucideSaveAll:U7,LucideSaveOff:W7,LucideScale:G7,LucideScale3D:Jn,LucideScale3d:Jn,LucideScaling:K7,LucideScan:og,LucideScanBarcode:X7,LucideScanEye:Y7,LucideScanFace:J7,LucideScanHeart:Q7,LucideScanLine:eg,LucideScanQrCode:tg,LucideScanSearch:ag,LucideScanText:ng,LucideScatterChart:ha,LucideSchool:cg,LucideSchool2:sc,LucideScissors:rg,LucideScissorsLineDashed:ig,LucideScissorsSquare:Go,LucideScissorsSquareDashedBottom:go,LucideScreenShare:sg,LucideScreenShareOff:dg,LucideScroll:hg,LucideScrollText:lg,LucideSearch:_1,LucideSearchCheck:ug,LucideSearchCode:pg,LucideSearchSlash:yg,LucideSearchX:kg,LucideSection:mg,LucideSend:gg,LucideSendHorizonal:Qn,LucideSendHorizontal:Qn,LucideSendToBack:fg,LucideSeparatorHorizontal:vg,LucideSeparatorVertical:Mg,LucideServer:Ig,LucideServerCog:_g,LucideServerCrash:Lg,LucideServerOff:xg,LucideSettings:wg,LucideSettings2:bg,LucideShapes:Cg,LucideShare:Sg,LucideShare2:Ng,LucideSheet:jg,LucideShell:$g,LucideShield:Rg,LucideShieldAlert:qg,LucideShieldBan:Ag,LucideShieldCheck:zg,LucideShieldClose:to,LucideShieldEllipsis:Vg,LucideShieldHalf:Pg,LucideShieldMinus:Hg,LucideShieldOff:Tg,LucideShieldPlus:Dg,LucideShieldQuestion:eo,LucideShieldQuestionMark:eo,LucideShieldUser:Bg,LucideShieldX:to,LucideShip:Eg,LucideShipWheel:Fg,LucideShirt:Og,LucideShoppingBag:Ug,LucideShoppingBasket:Wg,LucideShoppingCart:Gg,LucideShovel:Zg,LucideShowerHead:Kg,LucideShredder:Xg,LucideShrimp:Yg,LucideShrink:Jg,LucideShrub:Qg,LucideShuffle:tv,LucideSidebar:En,LucideSidebarClose:Bn,LucideSidebarOpen:Fn,LucideSigma:ev,LucideSigmaSquare:Zo,LucideSignal:iv,LucideSignalHigh:av,LucideSignalLow:nv,LucideSignalMedium:ov,LucideSignalZero:cv,LucideSignature:rv,LucideSignpost:dv,LucideSignpostBig:sv,LucideSiren:lv,LucideSkipBack:hv,LucideSkipForward:uv,LucideSkull:pv,LucideSlack:yv,LucideSlash:kv,LucideSlashSquare:Ko,LucideSlice:mv,LucideSliders:ao,LucideSlidersHorizontal:fv,LucideSlidersVertical:ao,LucideSmartphone:Mv,LucideSmartphoneCharging:gv,LucideSmartphoneNfc:vv,LucideSmile:xv,LucideSmilePlus:_v,LucideSnail:Lv,LucideSnowflake:Iv,LucideSoapDispenserDroplet:bv,LucideSofa:wv,LucideSortAsc:Et,LucideSortDesc:Bt,LucideSoup:Cv,LucideSpace:Nv,LucideSpade:Sv,LucideSparkle:jv,LucideSparkles:no,LucideSpeaker:$v,LucideSpeech:qv,LucideSpellCheck:zv,LucideSpellCheck2:Av,LucideSpline:Pv,LucideSplinePointer:Vv,LucideSplit:Tv,LucideSplitSquareHorizontal:Xo,LucideSplitSquareVertical:Yo,LucideSpool:Hv,LucideSpotlight:Dv,LucideSprayCan:Bv,LucideSprout:Rv,LucideSquare:Jv,LucideSquareActivity:It,LucideSquareArrowDown:io,LucideSquareArrowDownLeft:oo,LucideSquareArrowDownRight:co,LucideSquareArrowLeft:ro,LucideSquareArrowOutDownLeft:so,LucideSquareArrowOutDownRight:lo,LucideSquareArrowOutUpLeft:ho,LucideSquareArrowOutUpRight:uo,LucideSquareArrowRight:po,LucideSquareArrowUp:mo,LucideSquareArrowUpLeft:yo,LucideSquareArrowUpRight:ko,LucideSquareAsterisk:fo,LucideSquareBottomDashedScissors:go,LucideSquareChartGantt:ot,LucideSquareCheck:Mo,LucideSquareCheckBig:vo,LucideSquareChevronDown:_o,LucideSquareChevronLeft:xo,LucideSquareChevronRight:Lo,LucideSquareChevronUp:Io,LucideSquareCode:bo,LucideSquareDashed:No,LucideSquareDashedBottom:Ev,LucideSquareDashedBottomCode:Fv,LucideSquareDashedKanban:wo,LucideSquareDashedMousePointer:Co,LucideSquareDashedTopSolid:Ov,LucideSquareDivide:So,LucideSquareDot:$o,LucideSquareEqual:jo,LucideSquareFunction:qo,LucideSquareGanttChart:ot,LucideSquareKanban:Ao,LucideSquareLibrary:zo,LucideSquareM:Vo,LucideSquareMenu:Po,LucideSquareMinus:To,LucideSquareMousePointer:Do,LucideSquareParking:Bo,LucideSquareParkingOff:Ho,LucideSquarePause:Uv,LucideSquarePen:Ve,LucideSquarePercent:Ro,LucideSquarePi:Fo,LucideSquarePilcrow:Eo,LucideSquarePlay:Oo,LucideSquarePlus:Uo,LucideSquarePower:Wo,LucideSquareRadical:Wv,LucideSquareRoundCorner:Gv,LucideSquareScissors:Go,LucideSquareSigma:Zo,LucideSquareSlash:Ko,LucideSquareSplitHorizontal:Xo,LucideSquareSplitVertical:Yo,LucideSquareSquare:Zv,LucideSquareStack:Kv,LucideSquareStar:Xv,LucideSquareStop:Yv,LucideSquareTerminal:Jo,LucideSquareUser:ec,LucideSquareUserRound:Qo,LucideSquareX:tc,LucideSquaresExclude:Qv,LucideSquaresIntersect:e9,LucideSquaresSubtract:t9,LucideSquaresUnite:a9,LucideSquircle:o9,LucideSquircleDashed:n9,LucideSquirrel:c9,LucideStamp:i9,LucideStar:l9,LucideStarHalf:r9,LucideStarOff:s9,LucideStars:no,LucideStepBack:d9,LucideStepForward:h9,LucideStethoscope:u9,LucideSticker:p9,LucideStickyNote:y9,LucideStopCircle:Ha,LucideStore:k9,LucideStretchHorizontal:m9,LucideStretchVertical:f9,LucideStrikethrough:g9,LucideSubscript:v9,LucideSubtitles:Jt,LucideSun:b9,LucideSunDim:M9,LucideSunMedium:_9,LucideSunMoon:x9,LucideSunSnow:L9,LucideSunrise:I9,LucideSunset:w9,LucideSuperscript:C9,LucideSwatchBook:N9,LucideSwissFranc:S9,LucideSwitchCamera:j9,LucideSword:$9,LucideSwords:A9,LucideSyringe:q9,LucideTable:R9,LucideTable2:z9,LucideTableCellsMerge:V9,LucideTableCellsSplit:P9,LucideTableColumnsSplit:T9,LucideTableConfig:at,LucideTableOfContents:H9,LucideTableProperties:D9,LucideTableRowsSplit:B9,LucideTablet:E9,LucideTabletSmartphone:F9,LucideTablets:O9,LucideTag:U9,LucideTags:W9,LucideTally1:G9,LucideTally2:Z9,LucideTally3:K9,LucideTally4:X9,LucideTally5:Y9,LucideTangent:J9,LucideTarget:Q9,LucideTelescope:eM,LucideTent:aM,LucideTentTree:tM,LucideTerminal:nM,LucideTerminalSquare:Jo,LucideTestTube:oM,LucideTestTube2:ac,LucideTestTubeDiagonal:ac,LucideTestTubes:cM,LucideText:lM,LucideTextCursor:rM,LucideTextCursorInput:iM,LucideTextQuote:sM,LucideTextSearch:dM,LucideTextSelect:nc,LucideTextSelection:nc,LucideTheater:hM,LucideThermometer:kM,LucideThermometerSnowflake:uM,LucideThermometerSun:pM,LucideThumbsDown:yM,LucideThumbsUp:mM,LucideTicket:LM,LucideTicketCheck:fM,LucideTicketMinus:gM,LucideTicketPercent:vM,LucideTicketPlus:MM,LucideTicketSlash:_M,LucideTicketX:xM,LucideTickets:bM,LucideTicketsPlane:IM,LucideTimer:NM,LucideTimerOff:wM,LucideTimerReset:CM,LucideToggleLeft:SM,LucideToggleRight:jM,LucideToilet:$M,LucideToolCase:qM,LucideTornado:zM,LucideTorus:AM,LucideTouchpad:PM,LucideTouchpadOff:VM,LucideTowerControl:HM,LucideToyBrick:TM,LucideTractor:DM,LucideTrafficCone:BM,LucideTrain:oc,LucideTrainFront:FM,LucideTrainFrontTunnel:RM,LucideTrainTrack:EM,LucideTramFront:oc,LucideTransgender:OM,LucideTrash:UM,LucideTrash2:St,LucideTreeDeciduous:WM,LucideTreePalm:cc,LucideTreePine:GM,LucideTrees:ZM,LucideTrello:KM,LucideTrendingDown:XM,LucideTrendingUp:YM,LucideTrendingUpDown:JM,LucideTriangle:e_,LucideTriangleAlert:ic,LucideTriangleDashed:QM,LucideTriangleRight:t_,LucideTrophy:a_,LucideTruck:o_,LucideTruckElectric:n_,LucideTurkishLira:c_,LucideTurntable:i_,LucideTurtle:r_,LucideTv:d_,LucideTv2:rc,LucideTvMinimal:rc,LucideTvMinimalPlay:s_,LucideTwitch:l_,LucideTwitter:h_,LucideType:p_,LucideTypeOutline:u_,LucideUmbrella:k_,LucideUmbrellaOff:y_,LucideUnderline:m_,LucideUndo:v_,LucideUndo2:f_,LucideUndoDot:g_,LucideUnfoldHorizontal:M_,LucideUnfoldVertical:__,LucideUngroup:x_,LucideUniversity:sc,LucideUnlink:w_,LucideUnlink2:L_,LucideUnlock:Sn,LucideUnlockKeyhole:Nn,LucideUnplug:I_,LucideUpload:b_,LucideUploadCloud:Oa,LucideUsb:C_,LucideUser:H_,LucideUser2:yc,LucideUserCheck:N_,LucideUserCheck2:dc,LucideUserCircle:Ba,LucideUserCircle2:Da,LucideUserCog:S_,LucideUserCog2:lc,LucideUserLock:j_,LucideUserMinus:$_,LucideUserMinus2:hc,LucideUserPen:q_,LucideUserPlus:x1,LucideUserPlus2:uc,LucideUserRound:yc,LucideUserRoundCheck:dc,LucideUserRoundCog:lc,LucideUserRoundMinus:hc,LucideUserRoundPen:A_,LucideUserRoundPlus:uc,LucideUserRoundSearch:z_,LucideUserRoundX:pc,LucideUserSearch:V_,LucideUserSquare:ec,LucideUserSquare2:Qo,LucideUserStar:P_,LucideUserX:T_,LucideUserX2:pc,LucideUsers:D_,LucideUsers2:kc,LucideUsersRound:kc,LucideUtensils:fc,LucideUtensilsCrossed:mc,LucideUtilityPole:B_,LucideVariable:R_,LucideVault:F_,LucideVectorSquare:E_,LucideVegan:O_,LucideVenetianMask:U_,LucideVenus:K_,LucideVenusAndMars:W_,LucideVerified:Wt,LucideVibrate:Z_,LucideVibrateOff:G_,LucideVideo:Y_,LucideVideoOff:X_,LucideVideotape:J_,LucideView:ex,LucideVoicemail:Q_,LucideVolleyball:tx,LucideVolume:rx,LucideVolume1:ax,LucideVolume2:nx,LucideVolumeOff:ox,LucideVolumeX:cx,LucideVote:ix,LucideWallet:dx,LucideWallet2:gc,LucideWalletCards:sx,LucideWalletMinimal:gc,LucideWallpaper:lx,LucideWand:hx,LucideWand2:vc,LucideWandSparkles:vc,LucideWarehouse:ux,LucideWashingMachine:px,LucideWatch:yx,LucideWaves:mx,LucideWavesLadder:kx,LucideWaypoints:fx,LucideWebcam:gx,LucideWebhook:_x,LucideWebhookOff:vx,LucideWeight:Mx,LucideWheat:Lx,LucideWheatOff:xx,LucideWholeWord:Ix,LucideWifi:qx,LucideWifiCog:bx,LucideWifiHigh:wx,LucideWifiLow:Cx,LucideWifiOff:Nx,LucideWifiPen:Sx,LucideWifiSync:jx,LucideWifiZero:$x,LucideWind:zx,LucideWindArrowDown:Ax,LucideWine:Px,LucideWineOff:Vx,LucideWorkflow:Tx,LucideWorm:Hx,LucideWrapText:Dx,LucideWrench:Bx,LucideX:Ge,LucideXCircle:_t,LucideXOctagon:Tn,LucideXSquare:tc,LucideYoutube:Fx,LucideZap:Ex,LucideZapOff:Rx,LucideZoomIn:Ox,LucideZoomOut:Ux,Luggage:_3,LuggageIcon:_3,MSquare:Vo,MSquareIcon:Vo,Magnet:x3,MagnetIcon:x3,Mail:S3,MailCheck:L3,MailCheckIcon:L3,MailIcon:S3,MailMinus:I3,MailMinusIcon:I3,MailOpen:b3,MailOpenIcon:b3,MailPlus:w3,MailPlusIcon:w3,MailQuestion:jn,MailQuestionIcon:jn,MailQuestionMark:jn,MailQuestionMarkIcon:jn,MailSearch:C3,MailSearchIcon:C3,MailWarning:N3,MailWarningIcon:N3,MailX:j3,MailXIcon:j3,Mailbox:$3,MailboxIcon:$3,Mails:q3,MailsIcon:q3,Map:G3,MapIcon:G3,MapMinus:A3,MapMinusIcon:A3,MapPin:O3,MapPinCheck:z3,MapPinCheckIcon:z3,MapPinCheckInside:V3,MapPinCheckInsideIcon:V3,MapPinHouse:P3,MapPinHouseIcon:P3,MapPinIcon:O3,MapPinMinus:H3,MapPinMinusIcon:H3,MapPinMinusInside:T3,MapPinMinusInsideIcon:T3,MapPinOff:D3,MapPinOffIcon:D3,MapPinPen:$n,MapPinPenIcon:$n,MapPinPlus:R3,MapPinPlusIcon:R3,MapPinPlusInside:B3,MapPinPlusInsideIcon:B3,MapPinX:E3,MapPinXIcon:E3,MapPinXInside:F3,MapPinXInsideIcon:F3,MapPinned:U3,MapPinnedIcon:U3,MapPlus:W3,MapPlusIcon:W3,Mars:K3,MarsIcon:K3,MarsStroke:Z3,MarsStrokeIcon:Z3,Martini:X3,MartiniIcon:X3,Maximize:Q3,Maximize2:Y3,Maximize2Icon:Y3,MaximizeIcon:Q3,Medal:J3,MedalIcon:J3,Megaphone:tm,MegaphoneIcon:tm,MegaphoneOff:em,MegaphoneOffIcon:em,Meh:am,MehIcon:am,MemoryStick:nm,MemoryStickIcon:nm,Menu:Uc,MenuIcon:Uc,MenuSquare:Po,MenuSquareIcon:Po,Merge:om,MergeIcon:om,MessageCircle:ym,MessageCircleCode:cm,MessageCircleCodeIcon:cm,MessageCircleDashed:im,MessageCircleDashedIcon:im,MessageCircleHeart:rm,MessageCircleHeartIcon:rm,MessageCircleIcon:ym,MessageCircleMore:sm,MessageCircleMoreIcon:sm,MessageCircleOff:dm,MessageCircleOffIcon:dm,MessageCirclePlus:lm,MessageCirclePlusIcon:lm,MessageCircleQuestion:qn,MessageCircleQuestionIcon:qn,MessageCircleQuestionMark:qn,MessageCircleQuestionMarkIcon:qn,MessageCircleReply:hm,MessageCircleReplyIcon:hm,MessageCircleWarning:um,MessageCircleWarningIcon:um,MessageCircleX:pm,MessageCircleXIcon:pm,MessageSquare:jm,MessageSquareCode:km,MessageSquareCodeIcon:km,MessageSquareDashed:mm,MessageSquareDashedIcon:mm,MessageSquareDiff:fm,MessageSquareDiffIcon:fm,MessageSquareDot:gm,MessageSquareDotIcon:gm,MessageSquareHeart:vm,MessageSquareHeartIcon:vm,MessageSquareIcon:jm,MessageSquareLock:Mm,MessageSquareLockIcon:Mm,MessageSquareMore:_m,MessageSquareMoreIcon:_m,MessageSquareOff:xm,MessageSquareOffIcon:xm,MessageSquarePlus:Lm,MessageSquarePlusIcon:Lm,MessageSquareQuote:Im,MessageSquareQuoteIcon:Im,MessageSquareReply:bm,MessageSquareReplyIcon:bm,MessageSquareShare:wm,MessageSquareShareIcon:wm,MessageSquareText:Cm,MessageSquareTextIcon:Cm,MessageSquareWarning:Nm,MessageSquareWarningIcon:Nm,MessageSquareX:Sm,MessageSquareXIcon:Sm,MessagesSquare:$m,MessagesSquareIcon:$m,Mic:Am,Mic2:An,Mic2Icon:An,MicIcon:Am,MicOff:qm,MicOffIcon:qm,MicVocal:An,MicVocalIcon:An,Microchip:zm,MicrochipIcon:zm,Microscope:Vm,MicroscopeIcon:Vm,Microwave:Pm,MicrowaveIcon:Pm,Milestone:Tm,MilestoneIcon:Tm,Milk:Dm,MilkIcon:Dm,MilkOff:Hm,MilkOffIcon:Hm,Minimize:Rm,Minimize2:Bm,Minimize2Icon:Bm,MinimizeIcon:Rm,Minus:Fm,MinusCircle:Sa,MinusCircleIcon:Sa,MinusIcon:Fm,MinusSquare:To,MinusSquareIcon:To,Monitor:t6,MonitorCheck:Em,MonitorCheckIcon:Em,MonitorCog:Om,MonitorCogIcon:Om,MonitorDot:Um,MonitorDotIcon:Um,MonitorDown:Wm,MonitorDownIcon:Wm,MonitorIcon:t6,MonitorOff:Gm,MonitorOffIcon:Gm,MonitorPause:Km,MonitorPauseIcon:Km,MonitorPlay:Zm,MonitorPlayIcon:Zm,MonitorSmartphone:Xm,MonitorSmartphoneIcon:Xm,MonitorSpeaker:Ym,MonitorSpeakerIcon:Ym,MonitorStop:Jm,MonitorStopIcon:Jm,MonitorUp:Qm,MonitorUpIcon:Qm,MonitorX:e6,MonitorXIcon:e6,Moon:n6,MoonIcon:n6,MoonStar:a6,MoonStarIcon:a6,MoreHorizontal:Ja,MoreHorizontalIcon:Ja,MoreVertical:Ya,MoreVerticalIcon:Ya,Mountain:c6,MountainIcon:c6,MountainSnow:o6,MountainSnowIcon:o6,Mouse:h6,MouseIcon:h6,MouseOff:i6,MouseOffIcon:i6,MousePointer:d6,MousePointer2:r6,MousePointer2Icon:r6,MousePointerBan:s6,MousePointerBanIcon:s6,MousePointerClick:l6,MousePointerClickIcon:l6,MousePointerIcon:d6,MousePointerSquareDashed:Co,MousePointerSquareDashedIcon:Co,Move:a.Move,Move3D:zn,Move3DIcon:zn,Move3d:zn,Move3dIcon:zn,MoveDiagonal:p6,MoveDiagonal2:u6,MoveDiagonal2Icon:u6,MoveDiagonalIcon:p6,MoveDown:f6,MoveDownIcon:f6,MoveDownLeft:y6,MoveDownLeftIcon:y6,MoveDownRight:k6,MoveDownRightIcon:k6,MoveHorizontal:m6,MoveHorizontalIcon:m6,MoveIcon:a.Move,MoveLeft:g6,MoveLeftIcon:g6,MoveRight:v6,MoveRightIcon:v6,MoveUp:x6,MoveUpIcon:x6,MoveUpLeft:M6,MoveUpLeftIcon:M6,MoveUpRight:_6,MoveUpRightIcon:_6,MoveVertical:L6,MoveVerticalIcon:L6,Music:C6,Music2:I6,Music2Icon:I6,Music3:b6,Music3Icon:b6,Music4:w6,Music4Icon:w6,MusicIcon:C6,Navigation:$6,Navigation2:S6,Navigation2Icon:S6,Navigation2Off:N6,Navigation2OffIcon:N6,NavigationIcon:$6,NavigationOff:j6,NavigationOffIcon:j6,Network:q6,NetworkIcon:q6,Newspaper:A6,NewspaperIcon:A6,Nfc:z6,NfcIcon:z6,NonBinary:V6,NonBinaryIcon:V6,Notebook:D6,NotebookIcon:D6,NotebookPen:P6,NotebookPenIcon:P6,NotebookTabs:T6,NotebookTabsIcon:T6,NotebookText:H6,NotebookTextIcon:H6,NotepadText:R6,NotepadTextDashed:B6,NotepadTextDashedIcon:B6,NotepadTextIcon:R6,Nut:E6,NutIcon:E6,NutOff:F6,NutOffIcon:F6,Octagon:U6,OctagonAlert:Vn,OctagonAlertIcon:Vn,OctagonIcon:U6,OctagonMinus:O6,OctagonMinusIcon:O6,OctagonPause:Pn,OctagonPauseIcon:Pn,OctagonX:Tn,OctagonXIcon:Tn,Omega:W6,OmegaIcon:W6,Option:G6,OptionIcon:G6,Orbit:Z6,OrbitIcon:Z6,Origami:K6,OrigamiIcon:K6,Outdent:Ln,OutdentIcon:Ln,Package:n8,Package2:X6,Package2Icon:X6,PackageCheck:Y6,PackageCheckIcon:Y6,PackageIcon:n8,PackageMinus:J6,PackageMinusIcon:J6,PackageOpen:Q6,PackageOpenIcon:Q6,PackagePlus:e8,PackagePlusIcon:e8,PackageSearch:t8,PackageSearchIcon:t8,PackageX:a8,PackageXIcon:a8,PaintBucket:o8,PaintBucketIcon:o8,PaintRoller:c8,PaintRollerIcon:c8,Paintbrush:i8,Paintbrush2:Hn,Paintbrush2Icon:Hn,PaintbrushIcon:i8,PaintbrushVertical:Hn,PaintbrushVerticalIcon:Hn,Palette:r8,PaletteIcon:r8,Palmtree:cc,PalmtreeIcon:cc,Panda:s8,PandaIcon:s8,PanelBottom:h8,PanelBottomClose:d8,PanelBottomCloseIcon:d8,PanelBottomDashed:Dn,PanelBottomDashedIcon:Dn,PanelBottomIcon:h8,PanelBottomInactive:Dn,PanelBottomInactiveIcon:Dn,PanelBottomOpen:l8,PanelBottomOpenIcon:l8,PanelLeft:En,PanelLeftClose:Bn,PanelLeftCloseIcon:Bn,PanelLeftDashed:Rn,PanelLeftDashedIcon:Rn,PanelLeftIcon:En,PanelLeftInactive:Rn,PanelLeftInactiveIcon:Rn,PanelLeftOpen:Fn,PanelLeftOpenIcon:Fn,PanelRight:y8,PanelRightClose:u8,PanelRightCloseIcon:u8,PanelRightDashed:On,PanelRightDashedIcon:On,PanelRightIcon:y8,PanelRightInactive:On,PanelRightInactiveIcon:On,PanelRightOpen:p8,PanelRightOpenIcon:p8,PanelTop:f8,PanelTopClose:k8,PanelTopCloseIcon:k8,PanelTopDashed:Un,PanelTopDashedIcon:Un,PanelTopIcon:f8,PanelTopInactive:Un,PanelTopInactiveIcon:Un,PanelTopOpen:m8,PanelTopOpenIcon:m8,PanelsLeftBottom:g8,PanelsLeftBottomIcon:g8,PanelsLeftRight:Ga,PanelsLeftRightIcon:Ga,PanelsRightBottom:v8,PanelsRightBottomIcon:v8,PanelsTopBottom:Yn,PanelsTopBottomIcon:Yn,PanelsTopLeft:Wn,PanelsTopLeftIcon:Wn,Paperclip:M8,PaperclipIcon:M8,Parentheses:_8,ParenthesesIcon:_8,ParkingCircle:qa,ParkingCircleIcon:qa,ParkingCircleOff:ja,ParkingCircleOffIcon:ja,ParkingMeter:x8,ParkingMeterIcon:x8,ParkingSquare:Bo,ParkingSquareIcon:Bo,ParkingSquareOff:Ho,ParkingSquareOffIcon:Ho,PartyPopper:L8,PartyPopperIcon:L8,Pause:I8,PauseCircle:$a,PauseCircleIcon:$a,PauseIcon:I8,PauseOctagon:Pn,PauseOctagonIcon:Pn,PawPrint:b8,PawPrintIcon:b8,PcCase:w8,PcCaseIcon:w8,Pen:lt,PenBox:Ve,PenBoxIcon:Ve,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:N8,PenOffIcon:N8,PenSquare:Ve,PenSquareIcon:Ve,PenTool:C8,PenToolIcon:C8,Pencil:M1,PencilIcon:M1,PencilLine:S8,PencilLineIcon:S8,PencilOff:j8,PencilOffIcon:j8,PencilRuler:$8,PencilRulerIcon:$8,Pentagon:q8,PentagonIcon:q8,Percent:A8,PercentCircle:Aa,PercentCircleIcon:Aa,PercentDiamond:Ka,PercentDiamondIcon:Ka,PercentIcon:A8,PercentSquare:Ro,PercentSquareIcon:Ro,PersonStanding:V8,PersonStandingIcon:V8,PhilippinePeso:z8,PhilippinePesoIcon:z8,Phone:R8,PhoneCall:P8,PhoneCallIcon:P8,PhoneForwarded:T8,PhoneForwardedIcon:T8,PhoneIcon:R8,PhoneIncoming:H8,PhoneIncomingIcon:H8,PhoneMissed:D8,PhoneMissedIcon:D8,PhoneOff:B8,PhoneOffIcon:B8,PhoneOutgoing:F8,PhoneOutgoingIcon:F8,Pi:E8,PiIcon:E8,PiSquare:Fo,PiSquareIcon:Fo,Piano:O8,PianoIcon:O8,Pickaxe:U8,PickaxeIcon:U8,PictureInPicture:G8,PictureInPicture2:W8,PictureInPicture2Icon:W8,PictureInPictureIcon:G8,PieChart:la,PieChartIcon:la,PiggyBank:Z8,PiggyBankIcon:Z8,Pilcrow:X8,PilcrowIcon:X8,PilcrowLeft:K8,PilcrowLeftIcon:K8,PilcrowRight:Y8,PilcrowRightIcon:Y8,PilcrowSquare:Eo,PilcrowSquareIcon:Eo,Pill:Q8,PillBottle:J8,PillBottleIcon:J8,PillIcon:Q8,Pin:tf,PinIcon:tf,PinOff:ef,PinOffIcon:ef,Pipette:af,PipetteIcon:af,Pizza:nf,PizzaIcon:nf,Plane:rf,PlaneIcon:rf,PlaneLanding:of,PlaneLandingIcon:of,PlaneTakeoff:cf,PlaneTakeoffIcon:cf,Play:sf,PlayCircle:za,PlayCircleIcon:za,PlayIcon:sf,PlaySquare:Oo,PlaySquareIcon:Oo,Plug:lf,Plug2:df,Plug2Icon:df,PlugIcon:lf,PlugZap:Gn,PlugZap2:Gn,PlugZap2Icon:Gn,PlugZapIcon:Gn,Plus:Wc,PlusCircle:Va,PlusCircleIcon:Va,PlusIcon:Wc,PlusSquare:Uo,PlusSquareIcon:Uo,Pocket:uf,PocketIcon:uf,PocketKnife:hf,PocketKnifeIcon:hf,Podcast:pf,PodcastIcon:pf,Pointer:kf,PointerIcon:kf,PointerOff:yf,PointerOffIcon:yf,Popcorn:ff,PopcornIcon:ff,Popsicle:mf,PopsicleIcon:mf,PoundSterling:gf,PoundSterlingIcon:gf,Power:Mf,PowerCircle:Pa,PowerCircleIcon:Pa,PowerIcon:Mf,PowerOff:vf,PowerOffIcon:vf,PowerSquare:Wo,PowerSquareIcon:Wo,Presentation:_f,PresentationIcon:_f,Printer:Lf,PrinterCheck:xf,PrinterCheckIcon:xf,PrinterIcon:Lf,Projector:If,ProjectorIcon:If,Proportions:bf,ProportionsIcon:bf,Puzzle:Cf,PuzzleIcon:Cf,Pyramid:wf,PyramidIcon:wf,QrCode:Nf,QrCodeIcon:Nf,Quote:Sf,QuoteIcon:Sf,Rabbit:jf,RabbitIcon:jf,Radar:$f,RadarIcon:$f,Radiation:qf,RadiationIcon:qf,Radical:Af,RadicalIcon:Af,Radio:Pf,RadioIcon:Pf,RadioReceiver:zf,RadioReceiverIcon:zf,RadioTower:Vf,RadioTowerIcon:Vf,Radius:Tf,RadiusIcon:Tf,RailSymbol:Hf,RailSymbolIcon:Hf,Rainbow:Df,RainbowIcon:Df,Rat:Bf,RatIcon:Bf,Ratio:Rf,RatioIcon:Rf,Receipt:Yf,ReceiptCent:Ff,ReceiptCentIcon:Ff,ReceiptEuro:Of,ReceiptEuroIcon:Of,ReceiptIcon:Yf,ReceiptIndianRupee:Ef,ReceiptIndianRupeeIcon:Ef,ReceiptJapaneseYen:Uf,ReceiptJapaneseYenIcon:Uf,ReceiptPoundSterling:Wf,ReceiptPoundSterlingIcon:Wf,ReceiptRussianRuble:Gf,ReceiptRussianRubleIcon:Gf,ReceiptSwissFranc:Zf,ReceiptSwissFrancIcon:Zf,ReceiptText:Kf,ReceiptTextIcon:Kf,ReceiptTurkishLira:Xf,ReceiptTurkishLiraIcon:Xf,RectangleCircle:Jf,RectangleCircleIcon:Jf,RectangleEllipsis:Zn,RectangleEllipsisIcon:Zn,RectangleGoggles:Qf,RectangleGogglesIcon:Qf,RectangleHorizontal:e7,RectangleHorizontalIcon:e7,RectangleVertical:t7,RectangleVerticalIcon:t7,Recycle:a7,RecycleIcon:a7,Redo:c7,Redo2:n7,Redo2Icon:n7,RedoDot:o7,RedoDotIcon:o7,RedoIcon:c7,RefreshCcw:r7,RefreshCcwDot:i7,RefreshCcwDotIcon:i7,RefreshCcwIcon:r7,RefreshCw:d7,RefreshCwIcon:d7,RefreshCwOff:s7,RefreshCwOffIcon:s7,Refrigerator:l7,RefrigeratorIcon:l7,Regex:h7,RegexIcon:h7,RemoveFormatting:u7,RemoveFormattingIcon:u7,Repeat:k7,Repeat1:p7,Repeat1Icon:p7,Repeat2:y7,Repeat2Icon:y7,RepeatIcon:k7,Replace:f7,ReplaceAll:m7,ReplaceAllIcon:m7,ReplaceIcon:f7,Reply:M7,ReplyAll:g7,ReplyAllIcon:g7,ReplyIcon:M7,Rewind:v7,RewindIcon:v7,Ribbon:_7,RibbonIcon:_7,Rocket:x7,RocketIcon:x7,RockingChair:b7,RockingChairIcon:b7,RollerCoaster:L7,RollerCoasterIcon:L7,Rose:I7,RoseIcon:I7,Rotate3D:Kn,Rotate3DIcon:Kn,Rotate3d:Kn,Rotate3dIcon:Kn,RotateCcw:N7,RotateCcwIcon:N7,RotateCcwKey:w7,RotateCcwKeyIcon:w7,RotateCcwSquare:C7,RotateCcwSquareIcon:C7,RotateCw:j7,RotateCwIcon:j7,RotateCwSquare:S7,RotateCwSquareIcon:S7,Route:q7,RouteIcon:q7,RouteOff:$7,RouteOffIcon:$7,Router:A7,RouterIcon:A7,Rows:Xn,Rows2:Xn,Rows2Icon:Xn,Rows3:Yn,Rows3Icon:Yn,Rows4:z7,Rows4Icon:z7,RowsIcon:Xn,Rss:V7,RssIcon:V7,Ruler:T7,RulerDimensionLine:P7,RulerDimensionLineIcon:P7,RulerIcon:T7,RussianRuble:H7,RussianRubleIcon:H7,Sailboat:D7,SailboatIcon:D7,Salad:B7,SaladIcon:B7,Sandwich:R7,SandwichIcon:R7,Satellite:E7,SatelliteDish:F7,SatelliteDishIcon:F7,SatelliteIcon:E7,SaudiRiyal:O7,SaudiRiyalIcon:O7,Save:Z7,SaveAll:U7,SaveAllIcon:U7,SaveIcon:Z7,SaveOff:W7,SaveOffIcon:W7,Scale:G7,Scale3D:Jn,Scale3DIcon:Jn,Scale3d:Jn,Scale3dIcon:Jn,ScaleIcon:G7,Scaling:K7,ScalingIcon:K7,Scan:og,ScanBarcode:X7,ScanBarcodeIcon:X7,ScanEye:Y7,ScanEyeIcon:Y7,ScanFace:J7,ScanFaceIcon:J7,ScanHeart:Q7,ScanHeartIcon:Q7,ScanIcon:og,ScanLine:eg,ScanLineIcon:eg,ScanQrCode:tg,ScanQrCodeIcon:tg,ScanSearch:ag,ScanSearchIcon:ag,ScanText:ng,ScanTextIcon:ng,ScatterChart:ha,ScatterChartIcon:ha,School:cg,School2:sc,School2Icon:sc,SchoolIcon:cg,Scissors:rg,ScissorsIcon:rg,ScissorsLineDashed:ig,ScissorsLineDashedIcon:ig,ScissorsSquare:Go,ScissorsSquareDashedBottom:go,ScissorsSquareDashedBottomIcon:go,ScissorsSquareIcon:Go,ScreenShare:sg,ScreenShareIcon:sg,ScreenShareOff:dg,ScreenShareOffIcon:dg,Scroll:hg,ScrollIcon:hg,ScrollText:lg,ScrollTextIcon:lg,Search:_1,SearchCheck:ug,SearchCheckIcon:ug,SearchCode:pg,SearchCodeIcon:pg,SearchIcon:_1,SearchSlash:yg,SearchSlashIcon:yg,SearchX:kg,SearchXIcon:kg,Section:mg,SectionIcon:mg,Send:gg,SendHorizonal:Qn,SendHorizonalIcon:Qn,SendHorizontal:Qn,SendHorizontalIcon:Qn,SendIcon:gg,SendToBack:fg,SendToBackIcon:fg,SeparatorHorizontal:vg,SeparatorHorizontalIcon:vg,SeparatorVertical:Mg,SeparatorVerticalIcon:Mg,Server:Ig,ServerCog:_g,ServerCogIcon:_g,ServerCrash:Lg,ServerCrashIcon:Lg,ServerIcon:Ig,ServerOff:xg,ServerOffIcon:xg,Settings:wg,Settings2:bg,Settings2Icon:bg,SettingsIcon:wg,Shapes:Cg,ShapesIcon:Cg,Share:Sg,Share2:Ng,Share2Icon:Ng,ShareIcon:Sg,Sheet:jg,SheetIcon:jg,Shell:$g,ShellIcon:$g,Shield:Rg,ShieldAlert:qg,ShieldAlertIcon:qg,ShieldBan:Ag,ShieldBanIcon:Ag,ShieldCheck:zg,ShieldCheckIcon:zg,ShieldClose:to,ShieldCloseIcon:to,ShieldEllipsis:Vg,ShieldEllipsisIcon:Vg,ShieldHalf:Pg,ShieldHalfIcon:Pg,ShieldIcon:Rg,ShieldMinus:Hg,ShieldMinusIcon:Hg,ShieldOff:Tg,ShieldOffIcon:Tg,ShieldPlus:Dg,ShieldPlusIcon:Dg,ShieldQuestion:eo,ShieldQuestionIcon:eo,ShieldQuestionMark:eo,ShieldQuestionMarkIcon:eo,ShieldUser:Bg,ShieldUserIcon:Bg,ShieldX:to,ShieldXIcon:to,Ship:Eg,ShipIcon:Eg,ShipWheel:Fg,ShipWheelIcon:Fg,Shirt:Og,ShirtIcon:Og,ShoppingBag:Ug,ShoppingBagIcon:Ug,ShoppingBasket:Wg,ShoppingBasketIcon:Wg,ShoppingCart:Gg,ShoppingCartIcon:Gg,Shovel:Zg,ShovelIcon:Zg,ShowerHead:Kg,ShowerHeadIcon:Kg,Shredder:Xg,ShredderIcon:Xg,Shrimp:Yg,ShrimpIcon:Yg,Shrink:Jg,ShrinkIcon:Jg,Shrub:Qg,ShrubIcon:Qg,Shuffle:tv,ShuffleIcon:tv,Sidebar:En,SidebarClose:Bn,SidebarCloseIcon:Bn,SidebarIcon:En,SidebarOpen:Fn,SidebarOpenIcon:Fn,Sigma:ev,SigmaIcon:ev,SigmaSquare:Zo,SigmaSquareIcon:Zo,Signal:iv,SignalHigh:av,SignalHighIcon:av,SignalIcon:iv,SignalLow:nv,SignalLowIcon:nv,SignalMedium:ov,SignalMediumIcon:ov,SignalZero:cv,SignalZeroIcon:cv,Signature:rv,SignatureIcon:rv,Signpost:dv,SignpostBig:sv,SignpostBigIcon:sv,SignpostIcon:dv,Siren:lv,SirenIcon:lv,SkipBack:hv,SkipBackIcon:hv,SkipForward:uv,SkipForwardIcon:uv,Skull:pv,SkullIcon:pv,Slack:yv,SlackIcon:yv,Slash:kv,SlashIcon:kv,SlashSquare:Ko,SlashSquareIcon:Ko,Slice:mv,SliceIcon:mv,Sliders:ao,SlidersHorizontal:fv,SlidersHorizontalIcon:fv,SlidersIcon:ao,SlidersVertical:ao,SlidersVerticalIcon:ao,Smartphone:Mv,SmartphoneCharging:gv,SmartphoneChargingIcon:gv,SmartphoneIcon:Mv,SmartphoneNfc:vv,SmartphoneNfcIcon:vv,Smile:xv,SmileIcon:xv,SmilePlus:_v,SmilePlusIcon:_v,Snail:Lv,SnailIcon:Lv,Snowflake:Iv,SnowflakeIcon:Iv,SoapDispenserDroplet:bv,SoapDispenserDropletIcon:bv,Sofa:wv,SofaIcon:wv,SortAsc:Et,SortAscIcon:Et,SortDesc:Bt,SortDescIcon:Bt,Soup:Cv,SoupIcon:Cv,Space:Nv,SpaceIcon:Nv,Spade:Sv,SpadeIcon:Sv,Sparkle:jv,SparkleIcon:jv,Sparkles:no,SparklesIcon:no,Speaker:$v,SpeakerIcon:$v,Speech:qv,SpeechIcon:qv,SpellCheck:zv,SpellCheck2:Av,SpellCheck2Icon:Av,SpellCheckIcon:zv,Spline:Pv,SplineIcon:Pv,SplinePointer:Vv,SplinePointerIcon:Vv,Split:Tv,SplitIcon:Tv,SplitSquareHorizontal:Xo,SplitSquareHorizontalIcon:Xo,SplitSquareVertical:Yo,SplitSquareVerticalIcon:Yo,Spool:Hv,SpoolIcon:Hv,Spotlight:Dv,SpotlightIcon:Dv,SprayCan:Bv,SprayCanIcon:Bv,Sprout:Rv,SproutIcon:Rv,Square:Jv,SquareActivity:It,SquareActivityIcon:It,SquareArrowDown:io,SquareArrowDownIcon:io,SquareArrowDownLeft:oo,SquareArrowDownLeftIcon:oo,SquareArrowDownRight:co,SquareArrowDownRightIcon:co,SquareArrowLeft:ro,SquareArrowLeftIcon:ro,SquareArrowOutDownLeft:so,SquareArrowOutDownLeftIcon:so,SquareArrowOutDownRight:lo,SquareArrowOutDownRightIcon:lo,SquareArrowOutUpLeft:ho,SquareArrowOutUpLeftIcon:ho,SquareArrowOutUpRight:uo,SquareArrowOutUpRightIcon:uo,SquareArrowRight:po,SquareArrowRightIcon:po,SquareArrowUp:mo,SquareArrowUpIcon:mo,SquareArrowUpLeft:yo,SquareArrowUpLeftIcon:yo,SquareArrowUpRight:ko,SquareArrowUpRightIcon:ko,SquareAsterisk:fo,SquareAsteriskIcon:fo,SquareBottomDashedScissors:go,SquareBottomDashedScissorsIcon:go,SquareChartGantt:ot,SquareChartGanttIcon:ot,SquareCheck:Mo,SquareCheckBig:vo,SquareCheckBigIcon:vo,SquareCheckIcon:Mo,SquareChevronDown:_o,SquareChevronDownIcon:_o,SquareChevronLeft:xo,SquareChevronLeftIcon:xo,SquareChevronRight:Lo,SquareChevronRightIcon:Lo,SquareChevronUp:Io,SquareChevronUpIcon:Io,SquareCode:bo,SquareCodeIcon:bo,SquareDashed:No,SquareDashedBottom:Ev,SquareDashedBottomCode:Fv,SquareDashedBottomCodeIcon:Fv,SquareDashedBottomIcon:Ev,SquareDashedIcon:No,SquareDashedKanban:wo,SquareDashedKanbanIcon:wo,SquareDashedMousePointer:Co,SquareDashedMousePointerIcon:Co,SquareDashedTopSolid:Ov,SquareDashedTopSolidIcon:Ov,SquareDivide:So,SquareDivideIcon:So,SquareDot:$o,SquareDotIcon:$o,SquareEqual:jo,SquareEqualIcon:jo,SquareFunction:qo,SquareFunctionIcon:qo,SquareGanttChart:ot,SquareGanttChartIcon:ot,SquareIcon:Jv,SquareKanban:Ao,SquareKanbanIcon:Ao,SquareLibrary:zo,SquareLibraryIcon:zo,SquareM:Vo,SquareMIcon:Vo,SquareMenu:Po,SquareMenuIcon:Po,SquareMinus:To,SquareMinusIcon:To,SquareMousePointer:Do,SquareMousePointerIcon:Do,SquareParking:Bo,SquareParkingIcon:Bo,SquareParkingOff:Ho,SquareParkingOffIcon:Ho,SquarePause:Uv,SquarePauseIcon:Uv,SquarePen:Ve,SquarePenIcon:Ve,SquarePercent:Ro,SquarePercentIcon:Ro,SquarePi:Fo,SquarePiIcon:Fo,SquarePilcrow:Eo,SquarePilcrowIcon:Eo,SquarePlay:Oo,SquarePlayIcon:Oo,SquarePlus:Uo,SquarePlusIcon:Uo,SquarePower:Wo,SquarePowerIcon:Wo,SquareRadical:Wv,SquareRadicalIcon:Wv,SquareRoundCorner:Gv,SquareRoundCornerIcon:Gv,SquareScissors:Go,SquareScissorsIcon:Go,SquareSigma:Zo,SquareSigmaIcon:Zo,SquareSlash:Ko,SquareSlashIcon:Ko,SquareSplitHorizontal:Xo,SquareSplitHorizontalIcon:Xo,SquareSplitVertical:Yo,SquareSplitVerticalIcon:Yo,SquareSquare:Zv,SquareSquareIcon:Zv,SquareStack:Kv,SquareStackIcon:Kv,SquareStar:Xv,SquareStarIcon:Xv,SquareStop:Yv,SquareStopIcon:Yv,SquareTerminal:Jo,SquareTerminalIcon:Jo,SquareUser:ec,SquareUserIcon:ec,SquareUserRound:Qo,SquareUserRoundIcon:Qo,SquareX:tc,SquareXIcon:tc,SquaresExclude:Qv,SquaresExcludeIcon:Qv,SquaresIntersect:e9,SquaresIntersectIcon:e9,SquaresSubtract:t9,SquaresSubtractIcon:t9,SquaresUnite:a9,SquaresUniteIcon:a9,Squircle:o9,SquircleDashed:n9,SquircleDashedIcon:n9,SquircleIcon:o9,Squirrel:c9,SquirrelIcon:c9,Stamp:i9,StampIcon:i9,Star:l9,StarHalf:r9,StarHalfIcon:r9,StarIcon:l9,StarOff:s9,StarOffIcon:s9,Stars:no,StarsIcon:no,StepBack:d9,StepBackIcon:d9,StepForward:h9,StepForwardIcon:h9,Stethoscope:u9,StethoscopeIcon:u9,Sticker:p9,StickerIcon:p9,StickyNote:y9,StickyNoteIcon:y9,StopCircle:Ha,StopCircleIcon:Ha,Store:k9,StoreIcon:k9,StretchHorizontal:m9,StretchHorizontalIcon:m9,StretchVertical:f9,StretchVerticalIcon:f9,Strikethrough:g9,StrikethroughIcon:g9,Subscript:v9,SubscriptIcon:v9,Subtitles:Jt,SubtitlesIcon:Jt,Sun:b9,SunDim:M9,SunDimIcon:M9,SunIcon:b9,SunMedium:_9,SunMediumIcon:_9,SunMoon:x9,SunMoonIcon:x9,SunSnow:L9,SunSnowIcon:L9,Sunrise:I9,SunriseIcon:I9,Sunset:w9,SunsetIcon:w9,Superscript:C9,SuperscriptIcon:C9,SwatchBook:N9,SwatchBookIcon:N9,SwissFranc:S9,SwissFrancIcon:S9,SwitchCamera:j9,SwitchCameraIcon:j9,Sword:$9,SwordIcon:$9,Swords:A9,SwordsIcon:A9,Syringe:q9,SyringeIcon:q9,Table:R9,Table2:z9,Table2Icon:z9,TableCellsMerge:V9,TableCellsMergeIcon:V9,TableCellsSplit:P9,TableCellsSplitIcon:P9,TableColumnsSplit:T9,TableColumnsSplitIcon:T9,TableConfig:at,TableConfigIcon:at,TableIcon:R9,TableOfContents:H9,TableOfContentsIcon:H9,TableProperties:D9,TablePropertiesIcon:D9,TableRowsSplit:B9,TableRowsSplitIcon:B9,Tablet:E9,TabletIcon:E9,TabletSmartphone:F9,TabletSmartphoneIcon:F9,Tablets:O9,TabletsIcon:O9,Tag:U9,TagIcon:U9,Tags:W9,TagsIcon:W9,Tally1:G9,Tally1Icon:G9,Tally2:Z9,Tally2Icon:Z9,Tally3:K9,Tally3Icon:K9,Tally4:X9,Tally4Icon:X9,Tally5:Y9,Tally5Icon:Y9,Tangent:J9,TangentIcon:J9,Target:Q9,TargetIcon:Q9,Telescope:eM,TelescopeIcon:eM,Tent:aM,TentIcon:aM,TentTree:tM,TentTreeIcon:tM,Terminal:nM,TerminalIcon:nM,TerminalSquare:Jo,TerminalSquareIcon:Jo,TestTube:oM,TestTube2:ac,TestTube2Icon:ac,TestTubeDiagonal:ac,TestTubeDiagonalIcon:ac,TestTubeIcon:oM,TestTubes:cM,TestTubesIcon:cM,Text:lM,TextCursor:rM,TextCursorIcon:rM,TextCursorInput:iM,TextCursorInputIcon:iM,TextIcon:lM,TextQuote:sM,TextQuoteIcon:sM,TextSearch:dM,TextSearchIcon:dM,TextSelect:nc,TextSelectIcon:nc,TextSelection:nc,TextSelectionIcon:nc,Theater:hM,TheaterIcon:hM,Thermometer:kM,ThermometerIcon:kM,ThermometerSnowflake:uM,ThermometerSnowflakeIcon:uM,ThermometerSun:pM,ThermometerSunIcon:pM,ThumbsDown:yM,ThumbsDownIcon:yM,ThumbsUp:mM,ThumbsUpIcon:mM,Ticket:LM,TicketCheck:fM,TicketCheckIcon:fM,TicketIcon:LM,TicketMinus:gM,TicketMinusIcon:gM,TicketPercent:vM,TicketPercentIcon:vM,TicketPlus:MM,TicketPlusIcon:MM,TicketSlash:_M,TicketSlashIcon:_M,TicketX:xM,TicketXIcon:xM,Tickets:bM,TicketsIcon:bM,TicketsPlane:IM,TicketsPlaneIcon:IM,Timer:NM,TimerIcon:NM,TimerOff:wM,TimerOffIcon:wM,TimerReset:CM,TimerResetIcon:CM,ToggleLeft:SM,ToggleLeftIcon:SM,ToggleRight:jM,ToggleRightIcon:jM,Toilet:$M,ToiletIcon:$M,ToolCase:qM,ToolCaseIcon:qM,Tornado:zM,TornadoIcon:zM,Torus:AM,TorusIcon:AM,Touchpad:PM,TouchpadIcon:PM,TouchpadOff:VM,TouchpadOffIcon:VM,TowerControl:HM,TowerControlIcon:HM,ToyBrick:TM,ToyBrickIcon:TM,Tractor:DM,TractorIcon:DM,TrafficCone:BM,TrafficConeIcon:BM,Train:oc,TrainFront:FM,TrainFrontIcon:FM,TrainFrontTunnel:RM,TrainFrontTunnelIcon:RM,TrainIcon:oc,TrainTrack:EM,TrainTrackIcon:EM,TramFront:oc,TramFrontIcon:oc,Transgender:OM,TransgenderIcon:OM,Trash:UM,Trash2:St,Trash2Icon:St,TrashIcon:UM,TreeDeciduous:WM,TreeDeciduousIcon:WM,TreePalm:cc,TreePalmIcon:cc,TreePine:GM,TreePineIcon:GM,Trees:ZM,TreesIcon:ZM,Trello:KM,TrelloIcon:KM,TrendingDown:XM,TrendingDownIcon:XM,TrendingUp:YM,TrendingUpDown:JM,TrendingUpDownIcon:JM,TrendingUpIcon:YM,Triangle:e_,TriangleAlert:ic,TriangleAlertIcon:ic,TriangleDashed:QM,TriangleDashedIcon:QM,TriangleIcon:e_,TriangleRight:t_,TriangleRightIcon:t_,Trophy:a_,TrophyIcon:a_,Truck:o_,TruckElectric:n_,TruckElectricIcon:n_,TruckIcon:o_,TurkishLira:c_,TurkishLiraIcon:c_,Turntable:i_,TurntableIcon:i_,Turtle:r_,TurtleIcon:r_,Tv:d_,Tv2:rc,Tv2Icon:rc,TvIcon:d_,TvMinimal:rc,TvMinimalIcon:rc,TvMinimalPlay:s_,TvMinimalPlayIcon:s_,Twitch:l_,TwitchIcon:l_,Twitter:h_,TwitterIcon:h_,Type:p_,TypeIcon:p_,TypeOutline:u_,TypeOutlineIcon:u_,Umbrella:k_,UmbrellaIcon:k_,UmbrellaOff:y_,UmbrellaOffIcon:y_,Underline:m_,UnderlineIcon:m_,Undo:v_,Undo2:f_,Undo2Icon:f_,UndoDot:g_,UndoDotIcon:g_,UndoIcon:v_,UnfoldHorizontal:M_,UnfoldHorizontalIcon:M_,UnfoldVertical:__,UnfoldVerticalIcon:__,Ungroup:x_,UngroupIcon:x_,University:sc,UniversityIcon:sc,Unlink:w_,Unlink2:L_,Unlink2Icon:L_,UnlinkIcon:w_,Unlock:Sn,UnlockIcon:Sn,UnlockKeyhole:Nn,UnlockKeyholeIcon:Nn,Unplug:I_,UnplugIcon:I_,Upload:b_,UploadCloud:Oa,UploadCloudIcon:Oa,UploadIcon:b_,Usb:C_,UsbIcon:C_,User:H_,User2:yc,User2Icon:yc,UserCheck:N_,UserCheck2:dc,UserCheck2Icon:dc,UserCheckIcon:N_,UserCircle:Ba,UserCircle2:Da,UserCircle2Icon:Da,UserCircleIcon:Ba,UserCog:S_,UserCog2:lc,UserCog2Icon:lc,UserCogIcon:S_,UserIcon:H_,UserLock:j_,UserLockIcon:j_,UserMinus:$_,UserMinus2:hc,UserMinus2Icon:hc,UserMinusIcon:$_,UserPen:q_,UserPenIcon:q_,UserPlus:x1,UserPlus2:uc,UserPlus2Icon:uc,UserPlusIcon:x1,UserRound:yc,UserRoundCheck:dc,UserRoundCheckIcon:dc,UserRoundCog:lc,UserRoundCogIcon:lc,UserRoundIcon:yc,UserRoundMinus:hc,UserRoundMinusIcon:hc,UserRoundPen:A_,UserRoundPenIcon:A_,UserRoundPlus:uc,UserRoundPlusIcon:uc,UserRoundSearch:z_,UserRoundSearchIcon:z_,UserRoundX:pc,UserRoundXIcon:pc,UserSearch:V_,UserSearchIcon:V_,UserSquare:ec,UserSquare2:Qo,UserSquare2Icon:Qo,UserSquareIcon:ec,UserStar:P_,UserStarIcon:P_,UserX:T_,UserX2:pc,UserX2Icon:pc,UserXIcon:T_,Users:D_,Users2:kc,Users2Icon:kc,UsersIcon:D_,UsersRound:kc,UsersRoundIcon:kc,Utensils:fc,UtensilsCrossed:mc,UtensilsCrossedIcon:mc,UtensilsIcon:fc,UtilityPole:B_,UtilityPoleIcon:B_,Variable:R_,VariableIcon:R_,Vault:F_,VaultIcon:F_,VectorSquare:E_,VectorSquareIcon:E_,Vegan:O_,VeganIcon:O_,VenetianMask:U_,VenetianMaskIcon:U_,Venus:K_,VenusAndMars:W_,VenusAndMarsIcon:W_,VenusIcon:K_,Verified:Wt,VerifiedIcon:Wt,Vibrate:Z_,VibrateIcon:Z_,VibrateOff:G_,VibrateOffIcon:G_,Video:Y_,VideoIcon:Y_,VideoOff:X_,VideoOffIcon:X_,Videotape:J_,VideotapeIcon:J_,View:ex,ViewIcon:ex,Voicemail:Q_,VoicemailIcon:Q_,Volleyball:tx,VolleyballIcon:tx,Volume:rx,Volume1:ax,Volume1Icon:ax,Volume2:nx,Volume2Icon:nx,VolumeIcon:rx,VolumeOff:ox,VolumeOffIcon:ox,VolumeX:cx,VolumeXIcon:cx,Vote:ix,VoteIcon:ix,Wallet:dx,Wallet2:gc,Wallet2Icon:gc,WalletCards:sx,WalletCardsIcon:sx,WalletIcon:dx,WalletMinimal:gc,WalletMinimalIcon:gc,Wallpaper:lx,WallpaperIcon:lx,Wand:hx,Wand2:vc,Wand2Icon:vc,WandIcon:hx,WandSparkles:vc,WandSparklesIcon:vc,Warehouse:ux,WarehouseIcon:ux,WashingMachine:px,WashingMachineIcon:px,Watch:yx,WatchIcon:yx,Waves:mx,WavesIcon:mx,WavesLadder:kx,WavesLadderIcon:kx,Waypoints:fx,WaypointsIcon:fx,Webcam:gx,WebcamIcon:gx,Webhook:_x,WebhookIcon:_x,WebhookOff:vx,WebhookOffIcon:vx,Weight:Mx,WeightIcon:Mx,Wheat:Lx,WheatIcon:Lx,WheatOff:xx,WheatOffIcon:xx,WholeWord:Ix,WholeWordIcon:Ix,Wifi:qx,WifiCog:bx,WifiCogIcon:bx,WifiHigh:wx,WifiHighIcon:wx,WifiIcon:qx,WifiLow:Cx,WifiLowIcon:Cx,WifiOff:Nx,WifiOffIcon:Nx,WifiPen:Sx,WifiPenIcon:Sx,WifiSync:jx,WifiSyncIcon:jx,WifiZero:$x,WifiZeroIcon:$x,Wind:zx,WindArrowDown:Ax,WindArrowDownIcon:Ax,WindIcon:zx,Wine:Px,WineIcon:Px,WineOff:Vx,WineOffIcon:Vx,Workflow:Tx,WorkflowIcon:Tx,Worm:Hx,WormIcon:Hx,WrapText:Dx,WrapTextIcon:Dx,Wrench:Bx,WrenchIcon:Bx,X:Ge,XCircle:_t,XCircleIcon:_t,XIcon:Ge,XOctagon:Tn,XOctagonIcon:Tn,XSquare:tc,XSquareIcon:tc,Youtube:Fx,YoutubeIcon:Fx,Zap:Ex,ZapIcon:Ex,ZapOff:Rx,ZapOffIcon:Rx,ZoomIn:Ox,ZoomInIcon:Ox,ZoomOut:Ux,ZoomOutIcon:Ux,createLucideIcon:a.createLucideIcon,icons:Qse},Symbol.toStringTag,{value:"Module"})),e2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:o,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:l,style:h,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,m=e?{size:e*.5,...s}:s,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(jb,{...m})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(sj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(jb,{...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}})})]})},dj=k.createContext(void 0),it=()=>{const e=k.useContext(dj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},t2e=({children:e,defaultActive:t=""})=>{const[n,o]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[l,h]=k.useState(void 0),[u,p]=k.useState({}),y=(m,g)=>{p(f=>({...f,[m]:g}))};return c.jsx(dj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},lj=({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}=it();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,C)=>{const w=I.id??I.label,b=m===w||g===w,x=I.select??r;if(I.id==="language"){if(!x||!Array.isArray(x.options)||!x.onChange)return c.jsx("div",{className:"dropdown-language"},C);const N=Array.isArray(x.options)?x.options:[],$=N.some(q=>q.code===x.value)?N:[{code:x.value??"",label:String(x.value??"")},...N];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:x.name??"language",className:"language-select",value:x.value??"",onChange:q=>{const H=q.target.value;try{x.onChange(H)}catch(P){console.error("select onChange error",P)}},children:$.map(q=>c.jsx("option",{value:q.code,children:q.label},q.code))})},C)}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},C):c.jsx("a",{...L,href:I.href,children:I.label},C)})})]},v))]})]})},hj=({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 L=q=>{const H=[];return k.Children.forEach(q,P=>{Array.isArray(P)?H.push(...L(P)):k.isValidElement(P)&&H.push(P)}),H},j=L(e).filter(q=>k.isValidElement(q)).map(q=>{let H="";const P=q.props;return H=[P.xs?`grid-xs-${P.xs}`:"",P.sm?`grid-sm-${P.sm}`:"",P.md?`grid-md-${P.md}`:"",P.lg?`grid-lg-${P.lg}`:"",P.xl?`grid-xl-${P.xl}`:"",P.className?P.className:""].join(" ").trim(),{node:q,classes:H}});let $=j;g&&g.length>0&&($=j.map((q,H)=>({...q,node:j[g[H]]?.node??q.node}))),I($)},[e]);const C=(L,N)=>{L.stopPropagation(),L.dataTransfer.setData("dragIndex",N.toString()),L.dataTransfer.setData("parentKey",p.toString())},w=L=>{L.preventDefault(),L.stopPropagation()},b=(L,N)=>{L.preventDefault();const j=Number(L.dataTransfer.getData("dragIndex")),$=Number(L.dataTransfer.getData("parentKey"));if(t&&$!==p)return;const q=[...v];let H=-1,P=-1;if(q.forEach((S,V)=>{if(k.isValidElement(S.node)){const T=S.node.props;T.uniqueKey===N&&(H=V),T.uniqueKey===j&&(P=V)}}),H===-1||P===-1)return;const A=q[P].node;q[P]={...q[P],node:q[H].node},q[H]={...q[H],node:A},I(q),typeof f=="function"&&f(P,H)},x=o?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!o&&m?y={...y,width:`${m}px`}:!o&&!m&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?c.jsx("div",{className:`${u} grid-container ${x}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(L=>L.node.type?.displayName==="Grid"?M?c.jsx("div",{draggable:!0,onDragStart:N=>C(N,L.node?.props?.uniqueKey),onDragOver:N=>w(N),onDrop:N=>b(N,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})};hj.displayName="Grid";const rL=({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"})},$b=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=it(),h=()=>{l(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,...d,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,role:o?"button":"presentation",tabIndex:o?0:-1,...d,children:t})},uj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=it(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),m=k.useRef(null),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($b,{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($b,{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))})})},pj=k.createContext(void 0),a2e=({children:e,initialTheme:t})=>{const[n,o]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{o(r)},[]);return c.jsx(pj.Provider,{value:{themeName:n,setTheme:i},children:e})},yj=()=>{const e=k.useContext(pj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},sL=()=>{const{themeName:e,setTheme:t}=yj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},V1=({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})]})]})},qb=({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}=sL(),[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(V1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},n2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),Kw=k.memo(n2e),kj=k.createContext(void 0),o2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const o=i=>{n(i)};return c.jsx(kj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},mj=()=>{const e=k.useContext(kj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Yx=({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}=mj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(V1,{leftIcon:e||c.jsx(Kw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Kw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},c2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),Xw=k.memo(c2e),fj=k.createContext(void 0),i2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const o=i=>{n(i)};return c.jsx(fj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},gj=()=>{const e=k.useContext(fj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},Jx=({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}=gj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(V1,{leftIcon:e||c.jsx(Xw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Xw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},vj=k.createContext(void 0),r2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const o=i=>{n(i)};return c.jsx(vj.Provider,{value:{showData:t,switchShowData:o},children:e})},Mj=()=>{const e=k.useContext(vj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},s2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),Yw=k.memo(s2e),Qx=({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}=Mj(),[i,r]=k.useState(!1);return k.useEffect(()=>{r(!0)},[]),i?c.jsx(V1,{checked:n,onToggle:s=>o(s),size:e,leftIcon:c.jsx(Yw,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Yw,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t}):null},d2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),_j=k.memo(d2e);function Ab({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(_j,{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 l2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:o,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:m}=it(),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(rL,{imagePath:e})}),c.jsx(uj,{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(Yx,{}),f&&c.jsx(Qx,{}),M&&c.jsx(Jx,{}),c.jsx(qb,{}),_&&c.jsx(Ab,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(lj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[g&&c.jsx(Yx,{}),f&&c.jsx(Qx,{}),M&&c.jsx(Jx,{}),c.jsx(qb,{}),_&&c.jsx(Ab,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},xj=({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})]})},Lj=({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(lj,{logo:"BarChart",position:"right",categories:o})})]}),h2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=it();return c.jsx(Lj,{style:n,item:o,children:e?.map(r=>c.jsx(xj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},Ij=({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})]})]})},cw=k.createContext({});function $t(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const iw=typeof window<"u",rw=iw?k.useLayoutEffect:k.useEffect,dL=k.createContext(null);function sw(e,t){e.indexOf(t)===-1&&e.push(t)}function dw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function u2e([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&o<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const ut=(e,t,n)=>n>t?t:n<e?e:n;function zb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Kc=()=>{},Ke=()=>{};process.env.NODE_ENV!=="production"&&(Kc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(zb(t,n))},Ke=(e,t,n)=>{if(!e)throw new Error(zb(t,n))});const pt={},bj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function wj(e){return typeof e=="object"&&e!==null}const Cj=e=>/^0[^.\s]+$/u.test(e);function lw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ee=e=>e,p2e=(e,t)=>n=>t(e(n)),P1=(...e)=>e.reduce(p2e),S1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class hw{constructor(){this.subscriptions=[]}add(t){return sw(this.subscriptions,t),()=>dw(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 Nj(e,t){return t?e*(1e3/t):0}const Jw=new Set;function uw(e,t,n){e||Jw.has(t)||(console.warn(zb(t,n)),Jw.add(t))}const Sj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,y2e=1e-7,k2e=12;function m2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=Sj(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>y2e&&++d<k2e);return s}function T1(e,t,n,o){if(e===t&&n===o)return Ee;const i=r=>m2e(r,0,1,e,n);return r=>r===0||r===1?r:Sj(i(r),t,o)}const jj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$j=e=>t=>1-e(1-t),qj=T1(.33,1.53,.69,.99),pw=$j(qj),Aj=jj(pw),zj=e=>(e*=2)<1?.5*pw(e):.5*(2-Math.pow(2,-10*(e-1))),yw=e=>1-Math.sin(Math.acos(e)),Vj=$j(yw),Pj=jj(yw),f2e=T1(.42,0,1,1),g2e=T1(0,0,.58,1),Tj=T1(.42,0,.58,1),v2e=e=>Array.isArray(e)&&typeof e[0]!="number",Hj=e=>Array.isArray(e)&&typeof e[0]=="number",Qw={linear:Ee,easeIn:f2e,easeInOut:Tj,easeOut:g2e,circIn:yw,circInOut:Pj,circOut:Vj,backIn:pw,backInOut:Aj,backOut:qj,anticipate:zj},M2e=e=>typeof e=="string",eC=e=>{if(Hj(e)){Ke(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return T1(t,n,o,i)}else if(M2e(e))return Ke(Qw[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Qw[e];return e},F1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _2e(e,t){let n=new Set,o=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(h.schedule(u),e()),u(d)}const h={schedule:(u,p=!1,y=!1)=>{const 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 x2e=40;function Dj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=F1.reduce((I,C)=>(I[C]=_2e(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,x2e),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:F1.reduce((I,C)=>{const w=s[C];return I[C]=(b,x=!1,L=!1)=>(n||M(),w.schedule(b,x,L)),I},{}),cancel:I=>{for(let C=0;C<F1.length;C++)s[F1[C]].cancel(I)},state:i,steps:s}}const{schedule:ce,cancel:yt,state:ve,steps:qL}=Dj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ee,!0);let Wx;function L2e(){Wx=void 0}const Ae={now:()=>(Wx===void 0&&Ae.set(ve.isProcessing||pt.useManualTiming?ve.timestamp:performance.now()),Wx),set:e=>{Wx=e,queueMicrotask(L2e)}},Bj=e=>t=>typeof t=="string"&&t.startsWith(e),kw=Bj("--"),I2e=Bj("var(--"),mw=e=>I2e(e)?b2e.test(e.split("/*")[0].trim()):!1,b2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Xc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},j1={...Xc,transform:e=>ut(0,1,e)},E1={...Xc,default:1},L1=e=>Math.round(e*1e5)/1e5,fw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function w2e(e){return e==null}const C2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gw=(e,t)=>n=>!!(typeof n=="string"&&C2e.test(n)&&n.startsWith(e)||t&&!w2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Rj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(fw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},N2e=e=>ut(0,255,e),AL={...Xc,transform:e=>Math.round(N2e(e))},_c={test:gw("rgb","red"),parse:Rj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+AL.transform(e)+", "+AL.transform(t)+", "+AL.transform(n)+", "+L1(j1.transform(o))+")"};function S2e(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const Vb={test:gw("#"),parse:S2e,transform:_c.transform},H1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mt=H1("deg"),ct=H1("%"),U=H1("px"),j2e=H1("vh"),$2e=H1("vw"),tC={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},Tc={test:gw("hsl","hue"),parse:Rj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ct.transform(L1(t))+", "+ct.transform(L1(n))+", "+L1(j1.transform(o))+")"},ye={test:e=>_c.test(e)||Vb.test(e)||Tc.test(e),parse:e=>_c.test(e)?_c.parse(e):Tc.test(e)?Tc.parse(e):Vb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?_c.transform(e):Tc.transform(e),getAnimatableNone:e=>{const t=ye.parse(e);return t.alpha=0,ye.transform(t)}},q2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function A2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(fw)?.length||0)+(e.match(q2e)?.length||0)>0}const Fj="number",Ej="color",z2e="var",V2e="var(",aC="${}",P2e=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function $1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(P2e,l=>(ye.test(l)?(o.color.push(r),i.push(Ej),n.push(ye.parse(l))):l.startsWith(V2e)?(o.var.push(r),i.push(z2e),n.push(l)):(o.number.push(r),i.push(Fj),n.push(parseFloat(l))),++r,aC)).split(aC);return{values:n,split:d,indexes:o,types:i}}function Oj(e){return $1(e).values}function Uj(e){const{split:t,types:n}=$1(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===Fj?r+=L1(i[s]):d===Ej?r+=ye.transform(i[s]):r+=i[s]}return r}}const T2e=e=>typeof e=="number"?0:ye.test(e)?ye.getAnimatableNone(e):e;function H2e(e){const t=Oj(e);return Uj(e)(t.map(T2e))}const jt={test:A2e,parse:Oj,createTransformer:Uj,getAnimatableNone:H2e};function zL(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function D2e({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,l=2*n-d;i=zL(l,d,e+1/3),r=zL(l,d,e),s=zL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function eL(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,VL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},B2e=[Vb,_c,Tc],R2e=e=>B2e.find(t=>t.test(e));function nC(e){const t=R2e(e);if(Kc(!!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===Tc&&(n=D2e(n)),n}const oC=(e,t)=>{const n=nC(e),o=nC(t);if(!n||!o)return eL(e,t);const i={...n};return r=>(i.red=VL(n.red,o.red,r),i.green=VL(n.green,o.green,r),i.blue=VL(n.blue,o.blue,r),i.alpha=ie(n.alpha,o.alpha,r),_c.transform(i))},Pb=new Set(["none","hidden"]);function F2e(e,t){return Pb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function E2e(e,t){return n=>ie(e,t,n)}function vw(e){return typeof e=="number"?E2e:typeof e=="string"?mw(e)?eL:ye.test(e)?oC:W2e:Array.isArray(e)?Wj:typeof e=="object"?ye.test(e)?oC:O2e:eL}function Wj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>vw(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function O2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=vw(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function U2e(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][o[r]],d=e.values[s]??0;n[i]=d,o[r]++}return n}const W2e=(e,t)=>{const n=jt.createTransformer(t),o=$1(e),i=$1(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?Pb.has(e)&&!i.values.length||Pb.has(t)&&!o.values.length?F2e(e,t):P1(Wj(U2e(o,i),i.values),n):(Kc(!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"),eL(e,t))};function Gj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):vw(e)(e,t)}const G2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ce.update(t,n),stop:()=>yt(t),now:()=>ve.isProcessing?ve.timestamp:Ae.now()}},Zj=(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)})`},tL=2e4;function Mw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<tL;)t+=n,o=e.next(t);return t>=tL?1/0:t}function Z2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(Mw(o),tL);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Fe(i)}}const K2e=5;function Kj(e,t,n){const o=Math.max(t-K2e,0);return Nj(n-e(o),t-o)}const le={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},PL=.001;function X2e({duration:e=le.duration,bounce:t=le.bounce,velocity:n=le.velocity,mass:o=le.mass}){let i,r;Kc(e<=Ze(le.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(le.minDamping,le.maxDamping,s),e=ut(le.minDuration,le.maxDuration,Fe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,m=Tb(h,s),g=Math.exp(-p);return PL-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=Tb(Math.pow(h,2),s);return(-i(h)+PL>0?-1:1)*((y-m)*g)/f}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-PL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=J2e(i,r,d);if(e=Ze(e),isNaN(l))return{stiffness:le.stiffness,damping:le.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const Y2e=12;function J2e(e,t,n){let o=n;for(let i=1;i<Y2e;i++)o=o-e(o)/t(o);return o}function Tb(e,t){return e*Math.sqrt(1-t*t)}const Q2e=["duration","bounce"],ede=["stiffness","damping","mass"];function cC(e,t){return t.some(n=>e[n]!==void 0)}function tde(e){let t={velocity:le.velocity,stiffness:le.stiffness,damping:le.damping,mass:le.mass,isResolvedFromDuration:!1,...e};if(!cC(e,ede)&&cC(e,Q2e))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:le.mass,stiffness:i,damping:r}}else{const n=X2e(e);t={...t,...n,mass:le.mass},t.isResolvedFromDuration=!0}return t}function aL(e=le.visualDuration,t=le.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:o,restDelta:i}=n;const r=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],d={done:!1,value:r},{stiffness:l,damping:h,mass:u,duration:p,velocity:y,isResolvedFromDuration:m}=tde({...n,velocity:-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?le.restSpeed.granular:le.restSpeed.default),i||(i=v?le.restDelta.granular:le.restDelta.default);let I;if(f<1){const w=Tb(_,f);I=b=>{const x=Math.exp(-f*_*b);return s-x*((g+f*_*M)/w*Math.sin(w*b)+M*Math.cos(w*b))}}else if(f===1)I=w=>s-Math.exp(-_*w)*(M+(g+_*M)*w);else{const w=_*Math.sqrt(f*f-1);I=b=>{const x=Math.exp(-f*_*b),L=Math.min(w*b,300);return s-x*((g+f*_*M)*Math.sinh(L)+w*M*Math.cosh(L))/w}}const C={calculatedDuration:m&&p||null,next:w=>{const b=I(w);if(m)d.done=w>=p;else{let x=w===0?g:0;f<1&&(x=w===0?Ze(g):Kj(I,w,b));const L=Math.abs(x)<=o,N=Math.abs(s-b)<=i;d.done=L&&N}return d.value=d.done?s:b,d},toString:()=>{const w=Math.min(Mw(C),tL),b=Zj(x=>C.next(w*x).value,w,30);return w+"ms "+b},toTransition:()=>{}};return C}aL.applyToOptions=e=>{const t=Z2e(e,100,aL);return e.ease=t.ease,e.duration=Ze(t.duration),e.type="keyframes",e};function Hb({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,_=s===void 0?M:s(M);_!==M&&(f=_-p);const v=L=>-f*Math.exp(-L/o),I=L=>_+v(L),C=L=>{const N=v(L),j=I(L);y.done=Math.abs(N)<=h,y.value=y.done?_:j};let w,b;const x=L=>{m(y.value)&&(w=L,b=aL({keyframes:[y.value,g(y.value)],velocity:Kj(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return x(0),{calculatedDuration:null,next:L=>{let N=!1;return!b&&w===void 0&&(N=!0,C(L),x(L)),w!==void 0&&L>=w?b.next(L-w):(!N&&C(L),y)}}}function ade(e,t,n){const o=[],i=n||pt.mix||Gj,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=P1(l,d)}o.push(d)}return o}function Xj(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=ade(t,o,i),l=d.length,h=u=>{if(s&&u<e[0])return t[0];let p=0;if(l>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=S1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function nde(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=S1(0,t,o);e.push(ie(n,1,i))}}function ode(e){const t=[0];return nde(t,e.length-1),t}function cde(e,t){return e.map(n=>n*t)}function ide(e,t){return e.map(()=>t||Tj).splice(0,e.length-1)}function Hc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=v2e(o)?o.map(eC):eC(o),r={done:!1,value:t[0]},s=cde(n&&n.length===t.length?n:ode(t),e),d=Xj(s,t,{ease:Array.isArray(i)?i:ide(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const rde=e=>e!==null;function _w(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(rde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const sde={decay:Hb,inertia:Hb,tween:Hc,keyframes:Hc,spring:aL};function Yj(e){typeof e.type=="string"&&(e.type=sde[e.type])}class xw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const dde=e=>e/100;class Lw extends xw{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;Yj(t);const{type:n=Hc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Hc;process.env.NODE_ENV!=="production"&&l!==Hc&&Ke(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Hc&&typeof d[0]!="number"&&(this.mixKeyframes=P1(dde,Gj(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=Mw(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,C=o;if(p){const L=Math.min(this.currentTime,i)/d;let N=Math.floor(L),j=L%1;!j&&L>=1&&(j=1),j===1&&N--,N=Math.min(N,p+1),!!(N%2)&&(y==="reverse"?(j=1-j,m&&(j-=m/d)):y==="mirror"&&(C=s)),I=ut(0,1,j)*d}const w=v?{done:!1,value:u[0]}:C.next(I);r&&(w.value=r(w.value));let{done:b}=w;!v&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const x=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return x&&g!==Hb&&(w.value=_w(u,this.options,M,this.speed)),f&&f(w.value),x&&this.finish(),w}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=G2e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(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 lde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const xc=e=>e*180/Math.PI,Db=e=>{const t=xc(Math.atan2(e[1],e[0]));return Bb(t)},hde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Db,rotateZ:Db,skewX:e=>xc(Math.atan(e[1])),skewY:e=>xc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Bb=e=>(e=e%360,e<0&&(e+=360),e),iC=Db,rC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),sC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ude={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:rC,scaleY:sC,scale:e=>(rC(e)+sC(e))/2,rotateX:e=>Bb(xc(Math.atan2(e[6],e[5]))),rotateY:e=>Bb(xc(Math.atan2(-e[2],e[0]))),rotateZ:iC,rotate:iC,skewX:e=>xc(Math.atan(e[4])),skewY:e=>xc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rb(e){return e.includes("scale")?1:0}function Fb(e,t){if(!e||e==="none")return Rb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=ude,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=hde,i=d}if(!i)return Rb(t);const r=o[t],s=i[1].split(",").map(yde);return typeof r=="function"?r(s):s[r]}const pde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Fb(n,t)};function yde(e){return parseFloat(e.trim())}const Yc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Jc=new Set(Yc),dC=e=>e===Xc||e===U,kde=new Set(["x","y","z"]),mde=Yc.filter(e=>!kde.has(e));function fde(e){const t=[];return mde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const bc={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})=>Fb(t,"x"),y:(e,{transform:t})=>Fb(t,"y")};bc.translateX=bc.x;bc.translateY=bc.y;const wc=new Set;let Eb=!1,Ob=!1,Ub=!1;function Jj(){if(Ob){const e=Array.from(wc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=fde(o);i.length&&(n.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=n.get(o);i&&i.forEach(([r,s])=>{o.getValue(r)?.set(s)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Ob=!1,Eb=!1,wc.forEach(e=>e.complete(Ub)),wc.clear()}function Qj(){wc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ob=!0)})}function gde(){Ub=!0,Qj(),Jj(),Ub=!1}class Iw{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?(wc.add(this),Eb||(Eb=!0,ce.read(Qj),ce.resolveKeyframes(Jj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(o&&n){const d=o.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}lde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),wc.delete(this)}cancel(){this.state==="scheduled"&&(wc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const vde=e=>e.startsWith("--");function Mde(e,t,n){vde(t)?e.style.setProperty(t,n):e.style[t]=n}const _de=lw(()=>window.ScrollTimeline!==void 0),xde={};function Lde(e,t){const n=lw(e);return()=>xde[t]??n()}const e$=Lde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),r1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,lC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:r1([0,.65,.55,1]),circOut:r1([.55,0,1,.45]),backIn:r1([.31,.01,.66,-.59]),backOut:r1([.33,1.53,.69,.99])};function t$(e,t){if(e)return typeof e=="function"?e$()?Zj(e,t):"ease-out":Hj(e)?r1(e):Array.isArray(e)?e.map(n=>t$(n,t)||lC.easeOut):lC[e]}function Ide(e,t,n,{delay:o=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:l}={},h=void 0){const u={[t]:n};l&&(u.offset=l);const p=t$(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 a$(e){return typeof e=="function"&&"applyToOptions"in e}function bde({type:e,...t}){return a$(e)&&e$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class wde extends xw{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=bde(t);this.animation=Ide(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=_w(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):Mde(n,o,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return 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&&_de()?(this.animation.timeline=t,Ee):n(this)}}const n$={anticipate:zj,backInOut:Aj,circInOut:Pj};function Cde(e){return e in n$}function Nde(e){typeof e.ease=="string"&&Cde(e.ease)&&(e.ease=n$[e.ease])}const hC=10;class Sde extends wde{constructor(t){Nde(t),Yj(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 Lw({...s,autoplay:!1}),l=Ze(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-hC).value,d.sample(l).value,hC),d.stop()}}const uC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jt.test(e)||e==="0")&&!e.startsWith("url("));function jde(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function $de(e,t,n,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=uC(i,t),d=uC(r,t);return Kc(s===d,`You are trying to animate ${t} from "${i}" to "${r}". "${s?r:i}" is not an animatable value.`,"value-not-animatable"),!s||!d?!1:jde(e)||(n==="spring"||a$(n))&&o}function Wb(e){e.duration=0,e.type="keyframes"}const qde=new Set(["opacity","clipPath","filter","transform"]),Ade=lw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zde(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return Ade()&&n&&qde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Vde=40;class Pde extends xw{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||Iw;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(),$de(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(_w(t,o,n)),t[0]=t[t.length-1],Wb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Vde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},m=!h&&zde(y)?new Sde({...y,element:y.motionValue.owner.current}):new Lw(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(),gde()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Tde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hde(e){const t=Tde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Dde=4;function o$(e,t,n=1){Ke(n<=Dde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Hde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return bj(s)?parseFloat(s):s}return mw(i)?o$(i,t,n+1):i}function bw(e,t){return e?.[t]??e?.default??e}const c$=new Set(["width","height","top","left","right","bottom",...Yc]),Bde={test:e=>e==="auto",parse:e=>e},i$=e=>t=>t.test(e),r$=[Xc,U,ct,Mt,$2e,j2e,Bde],pC=e=>r$.find(i$(e));function Rde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Cj(e):!0}const Fde=new Set(["brightness","contrast","saturate","opacity"]);function Ede(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(fw)||[];if(!o)return e;const i=n.replace(o,"");let r=Fde.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Ode=/\b([a-z-]*)\(.*?\)/gu,Gb={...jt,getAnimatableNone:e=>{const t=e.match(Ode);return t?t.map(Ede).join(" "):e}},yC={...Xc,transform:Math.round},Ude={rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scale:E1,scaleX:E1,scaleY:E1,scaleZ:E1,skew:Mt,skewX:Mt,skewY:Mt,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:j1,originX:tC,originY:tC,originZ:U},ww={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,backgroundPositionX:U,backgroundPositionY:U,...Ude,zIndex:yC,fillOpacity:j1,strokeOpacity:j1,numOctaves:yC},Wde={...ww,color:ye,backgroundColor:ye,outlineColor:ye,fill:ye,stroke:ye,borderColor:ye,borderTopColor:ye,borderRightColor:ye,borderBottomColor:ye,borderLeftColor:ye,filter:Gb,WebkitFilter:Gb},s$=e=>Wde[e];function d$(e,t){let n=s$(e);return n!==Gb&&(n=jt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Gde=new Set(["auto","none","0"]);function Zde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Gde.has(r)&&$1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=d$(n,i)}class Kde extends Iw{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(),mw(h))){const u=o$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!c$.has(o)||t.length!==2)return;const[i,r]=t,s=pC(i),d=pC(r);if(s!==d)if(dC(s)&&dC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else bc[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Rde(t[i]))&&o.push(i);o.length&&Zde(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=bc[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]=bc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function Xde(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=n?.[e]??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const l$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function h$(e){return wj(e)&&"offsetHeight"in e}const kC=30,Yde=e=>!isNaN(parseFloat(e)),I1={current:void 0};class Jde{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=Yde(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&uw(!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 hw);const o=this.events[t].add(n);return t==="change"?()=>{o(),ce.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 I1.current&&I1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ae.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>kC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,kC);return Nj(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 Cc(e,t){return new Jde(e,t)}const{schedule:Cw}=Dj(queueMicrotask,!1),We={x:!1,y:!1};function u$(){return We.x||We.y}function Qde(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 p$(e,t){const n=Xde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function mC(e){return!(e.pointerType==="touch"||u$())}function e0e(e,t,n={}){const[o,i,r]=p$(e,n),s=d=>{if(!mC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{mC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const y$=(e,t)=>t?e===t?!0:y$(e,t.parentElement):!1,Nw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,t0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a0e(e){return t0e.has(e.tagName)||e.tabIndex!==-1}const Gx=new WeakSet;function fC(e){return t=>{t.key==="Enter"&&e(t)}}function TL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const n0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=fC(()=>{if(Gx.has(n))return;TL(n,"down");const i=fC(()=>{TL(n,"up")}),r=()=>TL(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 gC(e){return Nw(e)&&!u$()}function o0e(e,t,n={}){const[o,i,r]=p$(e,n),s=d=>{const l=d.currentTarget;if(!gC(d))return;Gx.add(l);const h=t(l,d),u=(m,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Gx.has(l)&&Gx.delete(l),gC(m)&&typeof h=="function"&&h(m,{success:g})},p=m=>{u(m,l===window||l===document||n.useGlobalTarget||y$(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),h$(d)&&(d.addEventListener("focus",h=>n0e(h,i)),!a0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function k$(e){return wj(e)&&"ownerSVGElement"in e}function c0e(e){return k$(e)&&e.tagName==="svg"}function i0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=Xj(i,r,s);return t?d(o):d}const Me=e=>!!(e&&e.getVelocity),r0e=[...r$,ye,jt],s0e=e=>r0e.find(i$(e)),lL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function vC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=vC(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():vC(e[i],null)}}}}function l0e(...e){return K.useCallback(d0e(...e),e)}class h0e extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=h$(o)&&o.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function u0e({children:e,isPresent:t,anchorX:n,root:o}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(lL),l=l0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:h,height:u,top:p,left:y,right:m}=s.current;if(t||!r.current||!h||!u)return;const 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:K1,AArrowDownIcon:K1,AArrowUp:X1,AArrowUpIcon:X1,ALargeSmall:Y1,ALargeSmallIcon:Y1,Accessibility:l1,AccessibilityIcon:l1,Activity:h1,ActivityIcon:h1,ActivitySquare:It,ActivitySquareIcon:It,AirVent:J1,AirVentIcon:J1,Airplay:Q1,AirplayIcon:Q1,AlarmCheck:Pt,AlarmCheckIcon:Pt,AlarmClock:ti,AlarmClockCheck:Pt,AlarmClockCheckIcon:Pt,AlarmClockIcon:ti,AlarmClockMinus:Tt,AlarmClockMinusIcon:Tt,AlarmClockOff:ei,AlarmClockOffIcon:ei,AlarmClockPlus:Ht,AlarmClockPlusIcon:Ht,AlarmMinus:Tt,AlarmMinusIcon:Tt,AlarmPlus:Ht,AlarmPlusIcon:Ht,AlarmSmoke:ai,AlarmSmokeIcon:ai,Album:ni,AlbumIcon:ni,AlertCircle:ua,AlertCircleIcon:ua,AlertOctagon:Vn,AlertOctagonIcon:Vn,AlertTriangle:ic,AlertTriangleIcon:ic,AlignCenter:di,AlignCenterHorizontal:oi,AlignCenterHorizontalIcon:oi,AlignCenterIcon:di,AlignCenterVertical:ci,AlignCenterVerticalIcon:ci,AlignEndHorizontal:ii,AlignEndHorizontalIcon:ii,AlignEndVertical:ri,AlignEndVerticalIcon:ri,AlignHorizontalDistributeCenter:si,AlignHorizontalDistributeCenterIcon:si,AlignHorizontalDistributeEnd:li,AlignHorizontalDistributeEndIcon:li,AlignHorizontalDistributeStart:hi,AlignHorizontalDistributeStartIcon:hi,AlignHorizontalJustifyCenter:ui,AlignHorizontalJustifyCenterIcon:ui,AlignHorizontalJustifyEnd:pi,AlignHorizontalJustifyEndIcon:pi,AlignHorizontalJustifyStart:yi,AlignHorizontalJustifyStartIcon:yi,AlignHorizontalSpaceAround:ki,AlignHorizontalSpaceAroundIcon:ki,AlignHorizontalSpaceBetween:fi,AlignHorizontalSpaceBetweenIcon:fi,AlignJustify:mi,AlignJustifyIcon:mi,AlignLeft:gi,AlignLeftIcon:gi,AlignRight:vi,AlignRightIcon:vi,AlignStartHorizontal:Mi,AlignStartHorizontalIcon:Mi,AlignStartVertical:_i,AlignStartVerticalIcon:_i,AlignVerticalDistributeCenter:Li,AlignVerticalDistributeCenterIcon:Li,AlignVerticalDistributeEnd:xi,AlignVerticalDistributeEndIcon:xi,AlignVerticalDistributeStart:bi,AlignVerticalDistributeStartIcon:bi,AlignVerticalJustifyCenter:Ii,AlignVerticalJustifyCenterIcon:Ii,AlignVerticalJustifyEnd:wi,AlignVerticalJustifyEndIcon:wi,AlignVerticalJustifyStart:Ci,AlignVerticalJustifyStartIcon:Ci,AlignVerticalSpaceAround:Si,AlignVerticalSpaceAroundIcon:Si,AlignVerticalSpaceBetween:Ni,AlignVerticalSpaceBetweenIcon:Ni,Ambulance:ji,AmbulanceIcon:ji,Ampersand:$i,AmpersandIcon:$i,Ampersands:qi,AmpersandsIcon:qi,Amphora:Ai,AmphoraIcon:Ai,Anchor:zi,AnchorIcon:zi,Angry:Vi,AngryIcon:Vi,Annoyed:Pi,AnnoyedIcon:Pi,Antenna:Ti,AntennaIcon:Ti,Anvil:Hi,AnvilIcon:Hi,Aperture:Di,ApertureIcon:Di,AppWindow:Ri,AppWindowIcon:Ri,AppWindowMac:Bi,AppWindowMacIcon:Bi,Apple:Fi,AppleIcon:Fi,Archive:Ui,ArchiveIcon:Ui,ArchiveRestore:Ei,ArchiveRestoreIcon:Ei,ArchiveX:Oi,ArchiveXIcon:Oi,AreaChart:Qt,AreaChartIcon:Qt,Armchair:Wi,ArmchairIcon:Wi,ArrowBigDown:Zi,ArrowBigDownDash:Gi,ArrowBigDownDashIcon:Gi,ArrowBigDownIcon:Zi,ArrowBigLeft:Xi,ArrowBigLeftDash:Ki,ArrowBigLeftDashIcon:Ki,ArrowBigLeftIcon:Xi,ArrowBigRight:Ji,ArrowBigRightDash:Yi,ArrowBigRightDashIcon:Yi,ArrowBigRightIcon:Ji,ArrowBigUp:er,ArrowBigUpDash:Qi,ArrowBigUpDashIcon:Qi,ArrowBigUpIcon:er,ArrowDown:lr,ArrowDown01:tr,ArrowDown01Icon:tr,ArrowDown10:ar,ArrowDown10Icon:ar,ArrowDownAZ:Dt,ArrowDownAZIcon:Dt,ArrowDownAz:Dt,ArrowDownAzIcon:Dt,ArrowDownCircle:pa,ArrowDownCircleIcon:pa,ArrowDownFromLine:nr,ArrowDownFromLineIcon:nr,ArrowDownIcon:lr,ArrowDownLeft:or,ArrowDownLeftFromCircle:ka,ArrowDownLeftFromCircleIcon:ka,ArrowDownLeftFromSquare:so,ArrowDownLeftFromSquareIcon:so,ArrowDownLeftIcon:or,ArrowDownLeftSquare:oo,ArrowDownLeftSquareIcon:oo,ArrowDownNarrowWide:cr,ArrowDownNarrowWideIcon:cr,ArrowDownRight:ir,ArrowDownRightFromCircle:ma,ArrowDownRightFromCircleIcon:ma,ArrowDownRightFromSquare:lo,ArrowDownRightFromSquareIcon:lo,ArrowDownRightIcon:ir,ArrowDownRightSquare:co,ArrowDownRightSquareIcon:co,ArrowDownSquare:io,ArrowDownSquareIcon:io,ArrowDownToDot:rr,ArrowDownToDotIcon:rr,ArrowDownToLine:sr,ArrowDownToLineIcon:sr,ArrowDownUp:dr,ArrowDownUpIcon:dr,ArrowDownWideNarrow:Bt,ArrowDownWideNarrowIcon:Bt,ArrowDownZA:Rt,ArrowDownZAIcon:Rt,ArrowDownZa:Rt,ArrowDownZaIcon:Rt,ArrowLeft:yr,ArrowLeftCircle:ya,ArrowLeftCircleIcon:ya,ArrowLeftFromLine:hr,ArrowLeftFromLineIcon:hr,ArrowLeftIcon:yr,ArrowLeftRight:ur,ArrowLeftRightIcon:ur,ArrowLeftSquare:ro,ArrowLeftSquareIcon:ro,ArrowLeftToLine:pr,ArrowLeftToLineIcon:pr,ArrowRight:gr,ArrowRightCircle:va,ArrowRightCircleIcon:va,ArrowRightFromLine:kr,ArrowRightFromLineIcon:kr,ArrowRightIcon:gr,ArrowRightLeft:mr,ArrowRightLeftIcon:mr,ArrowRightSquare:po,ArrowRightSquareIcon:po,ArrowRightToLine:fr,ArrowRightToLineIcon:fr,ArrowUp:Nr,ArrowUp01:vr,ArrowUp01Icon:vr,ArrowUp10:Mr,ArrowUp10Icon:Mr,ArrowUpAZ:Ft,ArrowUpAZIcon:Ft,ArrowUpAz:Ft,ArrowUpAzIcon:Ft,ArrowUpCircle:Ma,ArrowUpCircleIcon:Ma,ArrowUpDown:_r,ArrowUpDownIcon:_r,ArrowUpFromDot:xr,ArrowUpFromDotIcon:xr,ArrowUpFromLine:Lr,ArrowUpFromLineIcon:Lr,ArrowUpIcon:Nr,ArrowUpLeft:Ir,ArrowUpLeftFromCircle:fa,ArrowUpLeftFromCircleIcon:fa,ArrowUpLeftFromSquare:ho,ArrowUpLeftFromSquareIcon:ho,ArrowUpLeftIcon:Ir,ArrowUpLeftSquare:yo,ArrowUpLeftSquareIcon:yo,ArrowUpNarrowWide:Et,ArrowUpNarrowWideIcon:Et,ArrowUpRight:br,ArrowUpRightFromCircle:ga,ArrowUpRightFromCircleIcon:ga,ArrowUpRightFromSquare:uo,ArrowUpRightFromSquareIcon:uo,ArrowUpRightIcon:br,ArrowUpRightSquare:ko,ArrowUpRightSquareIcon:ko,ArrowUpSquare:mo,ArrowUpSquareIcon:mo,ArrowUpToLine:wr,ArrowUpToLineIcon:wr,ArrowUpWideNarrow:Cr,ArrowUpWideNarrowIcon:Cr,ArrowUpZA:Ot,ArrowUpZAIcon:Ot,ArrowUpZa:Ot,ArrowUpZaIcon:Ot,ArrowsUpFromLine:Sr,ArrowsUpFromLineIcon:Sr,Asterisk:jr,AsteriskIcon:jr,AsteriskSquare:fo,AsteriskSquareIcon:fo,AtSign:$r,AtSignIcon:$r,Atom:qr,AtomIcon:qr,AudioLines:Ar,AudioLinesIcon:Ar,AudioWaveform:zr,AudioWaveformIcon:zr,Award:Vr,AwardIcon:Vr,Axe:Pr,AxeIcon:Pr,Axis3D:Ut,Axis3DIcon:Ut,Axis3d:Ut,Axis3dIcon:Ut,Baby:Tr,BabyIcon:Tr,Backpack:Hr,BackpackIcon:Hr,Badge:es,BadgeAlert:Dr,BadgeAlertIcon:Dr,BadgeCent:Br,BadgeCentIcon:Br,BadgeCheck:Wt,BadgeCheckIcon:Wt,BadgeDollarSign:Rr,BadgeDollarSignIcon:Rr,BadgeEuro:Fr,BadgeEuroIcon:Fr,BadgeHelp:Gt,BadgeHelpIcon:Gt,BadgeIcon:es,BadgeIndianRupee:Er,BadgeIndianRupeeIcon:Er,BadgeInfo:Or,BadgeInfoIcon:Or,BadgeJapaneseYen:Wr,BadgeJapaneseYenIcon:Wr,BadgeMinus:Ur,BadgeMinusIcon:Ur,BadgePercent:Gr,BadgePercentIcon:Gr,BadgePlus:Zr,BadgePlusIcon:Zr,BadgePoundSterling:Kr,BadgePoundSterlingIcon:Kr,BadgeQuestionMark:Gt,BadgeQuestionMarkIcon:Gt,BadgeRussianRuble:Xr,BadgeRussianRubleIcon:Xr,BadgeSwissFranc:Yr,BadgeSwissFrancIcon:Yr,BadgeTurkishLira:Jr,BadgeTurkishLiraIcon:Jr,BadgeX:Qr,BadgeXIcon:Qr,BaggageClaim:ts,BaggageClaimIcon:ts,Ban:as,BanIcon:as,Banana:ns,BananaIcon:ns,Bandage:os,BandageIcon:os,Banknote:ss,BanknoteArrowDown:cs,BanknoteArrowDownIcon:cs,BanknoteArrowUp:is,BanknoteArrowUpIcon:is,BanknoteIcon:ss,BanknoteX:rs,BanknoteXIcon:rs,BarChart:ra,BarChart2:sa,BarChart2Icon:sa,BarChart3:ca,BarChart3Icon:ca,BarChart4:oa,BarChart4Icon:oa,BarChartBig:na,BarChartBigIcon:na,BarChartHorizontal:ta,BarChartHorizontalBig:ea,BarChartHorizontalBigIcon:ea,BarChartHorizontalIcon:ta,BarChartIcon:ra,Barcode:ds,BarcodeIcon:ds,Barrel:ls,BarrelIcon:ls,Baseline:hs,BaselineIcon:hs,Bath:us,BathIcon:us,Battery:vs,BatteryCharging:ps,BatteryChargingIcon:ps,BatteryFull:ys,BatteryFullIcon:ys,BatteryIcon:vs,BatteryLow:ks,BatteryLowIcon:ks,BatteryMedium:ms,BatteryMediumIcon:ms,BatteryPlus:fs,BatteryPlusIcon:fs,BatteryWarning:gs,BatteryWarningIcon:gs,Beaker:Ms,BeakerIcon:Ms,Bean:xs,BeanIcon:xs,BeanOff:_s,BeanOffIcon:_s,Bed:bs,BedDouble:Ls,BedDoubleIcon:Ls,BedIcon:bs,BedSingle:Is,BedSingleIcon:Is,Beef:ws,BeefIcon:ws,Beer:Ns,BeerIcon:Ns,BeerOff:Cs,BeerOffIcon:Cs,Bell:zs,BellDot:Ss,BellDotIcon:Ss,BellElectric:js,BellElectricIcon:js,BellIcon:zs,BellMinus:$s,BellMinusIcon:$s,BellOff:qs,BellOffIcon:qs,BellPlus:As,BellPlusIcon:As,BellRing:Vs,BellRingIcon:Vs,BetweenHorizonalEnd:Zt,BetweenHorizonalEndIcon:Zt,BetweenHorizonalStart:Kt,BetweenHorizonalStartIcon:Kt,BetweenHorizontalEnd:Zt,BetweenHorizontalEndIcon:Zt,BetweenHorizontalStart:Kt,BetweenHorizontalStartIcon:Kt,BetweenVerticalEnd:Ts,BetweenVerticalEndIcon:Ts,BetweenVerticalStart:Ps,BetweenVerticalStartIcon:Ps,BicepsFlexed:Hs,BicepsFlexedIcon:Hs,Bike:Bs,BikeIcon:Bs,Binary:Ds,BinaryIcon:Ds,Binoculars:Rs,BinocularsIcon:Rs,Biohazard:Fs,BiohazardIcon:Fs,Bird:Es,BirdIcon:Es,Bitcoin:Os,BitcoinIcon:Os,Blend:Us,BlendIcon:Us,Blinds:Ws,BlindsIcon:Ws,Blocks:Gs,BlocksIcon:Gs,Bluetooth:Ys,BluetoothConnected:Zs,BluetoothConnectedIcon:Zs,BluetoothIcon:Ys,BluetoothOff:Ks,BluetoothOffIcon:Ks,BluetoothSearching:Xs,BluetoothSearchingIcon:Xs,Bold:Js,BoldIcon:Js,Bolt:Qs,BoltIcon:Qs,Bomb:e2,BombIcon:e2,Bone:t2,BoneIcon:t2,Book:b2,BookA:a2,BookAIcon:a2,BookAlert:n2,BookAlertIcon:n2,BookAudio:o2,BookAudioIcon:o2,BookCheck:c2,BookCheckIcon:c2,BookCopy:i2,BookCopyIcon:i2,BookDashed:Xt,BookDashedIcon:Xt,BookDown:r2,BookDownIcon:r2,BookHeadphones:s2,BookHeadphonesIcon:s2,BookHeart:d2,BookHeartIcon:d2,BookIcon:b2,BookImage:l2,BookImageIcon:l2,BookKey:h2,BookKeyIcon:h2,BookLock:u2,BookLockIcon:u2,BookMarked:y2,BookMarkedIcon:y2,BookMinus:p2,BookMinusIcon:p2,BookOpen:f2,BookOpenCheck:k2,BookOpenCheckIcon:k2,BookOpenIcon:f2,BookOpenText:m2,BookOpenTextIcon:m2,BookPlus:g2,BookPlusIcon:g2,BookTemplate:Xt,BookTemplateIcon:Xt,BookText:v2,BookTextIcon:v2,BookType:M2,BookTypeIcon:M2,BookUp:x2,BookUp2:_2,BookUp2Icon:_2,BookUpIcon:x2,BookUser:L2,BookUserIcon:L2,BookX:I2,BookXIcon:I2,Bookmark:j2,BookmarkCheck:w2,BookmarkCheckIcon:w2,BookmarkIcon:j2,BookmarkMinus:C2,BookmarkMinusIcon:C2,BookmarkPlus:N2,BookmarkPlusIcon:N2,BookmarkX:S2,BookmarkXIcon:S2,BoomBox:$2,BoomBoxIcon:$2,Bot:z2,BotIcon:z2,BotMessageSquare:q2,BotMessageSquareIcon:q2,BotOff:A2,BotOffIcon:A2,BottleWine:V2,BottleWineIcon:V2,BowArrow:P2,BowArrowIcon:P2,Box:T2,BoxIcon:T2,BoxSelect:No,BoxSelectIcon:No,Boxes:H2,BoxesIcon:H2,Braces:Yt,BracesIcon:Yt,Brackets:D2,BracketsIcon:D2,Brain:F2,BrainCircuit:B2,BrainCircuitIcon:B2,BrainCog:R2,BrainCogIcon:R2,BrainIcon:F2,BrickWall:U2,BrickWallFire:E2,BrickWallFireIcon:E2,BrickWallIcon:U2,BrickWallShield:O2,BrickWallShieldIcon:O2,Briefcase:K2,BriefcaseBusiness:W2,BriefcaseBusinessIcon:W2,BriefcaseConveyorBelt:G2,BriefcaseConveyorBeltIcon:G2,BriefcaseIcon:K2,BriefcaseMedical:Z2,BriefcaseMedicalIcon:Z2,BringToFront:X2,BringToFrontIcon:X2,Brush:J2,BrushCleaning:Y2,BrushCleaningIcon:Y2,BrushIcon:J2,Bubbles:Q2,BubblesIcon:Q2,Bug:nd,BugIcon:nd,BugOff:ed,BugOffIcon:ed,BugPlay:td,BugPlayIcon:td,Building:od,Building2:ad,Building2Icon:ad,BuildingIcon:od,Bus:id,BusFront:cd,BusFrontIcon:cd,BusIcon:id,Cable:sd,CableCar:rd,CableCarIcon:rd,CableIcon:sd,Cake:ld,CakeIcon:ld,CakeSlice:dd,CakeSliceIcon:dd,Calculator:hd,CalculatorIcon:hd,Calendar:u1,Calendar1:ud,Calendar1Icon:ud,CalendarArrowDown:pd,CalendarArrowDownIcon:pd,CalendarArrowUp:yd,CalendarArrowUpIcon:yd,CalendarCheck:md,CalendarCheck2:kd,CalendarCheck2Icon:kd,CalendarCheckIcon:md,CalendarClock:fd,CalendarClockIcon:fd,CalendarCog:gd,CalendarCogIcon:gd,CalendarDays:vd,CalendarDaysIcon:vd,CalendarFold:Md,CalendarFoldIcon:Md,CalendarHeart:_d,CalendarHeartIcon:_d,CalendarIcon:u1,CalendarMinus:Ld,CalendarMinus2:xd,CalendarMinus2Icon:xd,CalendarMinusIcon:Ld,CalendarOff:Id,CalendarOffIcon:Id,CalendarPlus:wd,CalendarPlus2:bd,CalendarPlus2Icon:bd,CalendarPlusIcon:wd,CalendarRange:Cd,CalendarRangeIcon:Cd,CalendarSearch:Nd,CalendarSearchIcon:Nd,CalendarSync:Sd,CalendarSyncIcon:Sd,CalendarX:$d,CalendarX2:jd,CalendarX2Icon:jd,CalendarXIcon:$d,Camera:Ad,CameraIcon:Ad,CameraOff:qd,CameraOffIcon:qd,CandlestickChart:aa,CandlestickChartIcon:aa,Candy:Pd,CandyCane:zd,CandyCaneIcon:zd,CandyIcon:Pd,CandyOff:Vd,CandyOffIcon:Vd,Cannabis:Td,CannabisIcon:Td,Captions:Jt,CaptionsIcon:Jt,CaptionsOff:Hd,CaptionsOffIcon:Hd,Car:Rd,CarFront:Dd,CarFrontIcon:Dd,CarIcon:Rd,CarTaxiFront:Bd,CarTaxiFrontIcon:Bd,Caravan:Fd,CaravanIcon:Fd,CardSim:Ed,CardSimIcon:Ed,Carrot:Od,CarrotIcon:Od,CaseLower:Ud,CaseLowerIcon:Ud,CaseSensitive:Wd,CaseSensitiveIcon:Wd,CaseUpper:Gd,CaseUpperIcon:Gd,CassetteTape:Zd,CassetteTapeIcon:Zd,Cast:Kd,CastIcon:Kd,Castle:Yd,CastleIcon:Yd,Cat:Xd,CatIcon:Xd,Cctv:Jd,CctvIcon:Jd,ChartArea:Qt,ChartAreaIcon:Qt,ChartBar:ta,ChartBarBig:ea,ChartBarBigIcon:ea,ChartBarDecreasing:Qd,ChartBarDecreasingIcon:Qd,ChartBarIcon:ta,ChartBarIncreasing:e0,ChartBarIncreasingIcon:e0,ChartBarStacked:t0,ChartBarStackedIcon:t0,ChartCandlestick:aa,ChartCandlestickIcon:aa,ChartColumn:ca,ChartColumnBig:na,ChartColumnBigIcon:na,ChartColumnDecreasing:a0,ChartColumnDecreasingIcon:a0,ChartColumnIcon:ca,ChartColumnIncreasing:oa,ChartColumnIncreasingIcon:oa,ChartColumnStacked:n0,ChartColumnStackedIcon:n0,ChartGantt:o0,ChartGanttIcon:o0,ChartLine:ia,ChartLineIcon:ia,ChartNetwork:c0,ChartNetworkIcon:c0,ChartNoAxesColumn:sa,ChartNoAxesColumnDecreasing:i0,ChartNoAxesColumnDecreasingIcon:i0,ChartNoAxesColumnIcon:sa,ChartNoAxesColumnIncreasing:ra,ChartNoAxesColumnIncreasingIcon:ra,ChartNoAxesCombined:r0,ChartNoAxesCombinedIcon:r0,ChartNoAxesGantt:da,ChartNoAxesGanttIcon:da,ChartPie:la,ChartPieIcon:la,ChartScatter:ha,ChartScatterIcon:ha,ChartSpline:s0,ChartSplineIcon:s0,Check:p1,CheckCheck:d0,CheckCheckIcon:d0,CheckCircle:_a,CheckCircle2:xa,CheckCircle2Icon:xa,CheckCircleIcon:_a,CheckIcon:p1,CheckLine:l0,CheckLineIcon:l0,CheckSquare:vo,CheckSquare2:Mo,CheckSquare2Icon:Mo,CheckSquareIcon:vo,ChefHat:h0,ChefHatIcon:h0,Cherry:u0,CherryIcon:u0,ChevronDown:Nt,ChevronDownCircle:La,ChevronDownCircleIcon:La,ChevronDownIcon:Nt,ChevronDownSquare:_o,ChevronDownSquareIcon:_o,ChevronFirst:p0,ChevronFirstIcon:p0,ChevronLast:y0,ChevronLastIcon:y0,ChevronLeft:k0,ChevronLeftCircle:Ia,ChevronLeftCircleIcon:Ia,ChevronLeftIcon:k0,ChevronLeftSquare:xo,ChevronLeftSquareIcon:xo,ChevronRight:y1,ChevronRightCircle:ba,ChevronRightCircleIcon:ba,ChevronRightIcon:y1,ChevronRightSquare:Lo,ChevronRightSquareIcon:Lo,ChevronUp:Ic,ChevronUpCircle:wa,ChevronUpCircleIcon:wa,ChevronUpIcon:Ic,ChevronUpSquare:Io,ChevronUpSquareIcon:Io,ChevronsDown:f0,ChevronsDownIcon:f0,ChevronsDownUp:m0,ChevronsDownUpIcon:m0,ChevronsLeft:v0,ChevronsLeftIcon:v0,ChevronsLeftRight:g0,ChevronsLeftRightEllipsis:M0,ChevronsLeftRightEllipsisIcon:M0,ChevronsLeftRightIcon:g0,ChevronsRight:x0,ChevronsRightIcon:x0,ChevronsRightLeft:_0,ChevronsRightLeftIcon:_0,ChevronsUp:L0,ChevronsUpDown:Ec,ChevronsUpDownIcon:Ec,ChevronsUpIcon:L0,Chrome:I0,ChromeIcon:I0,Church:b0,ChurchIcon:b0,Cigarette:C0,CigaretteIcon:C0,CigaretteOff:w0,CigaretteOffIcon:w0,Circle:R0,CircleAlert:ua,CircleAlertIcon:ua,CircleArrowDown:pa,CircleArrowDownIcon:pa,CircleArrowLeft:ya,CircleArrowLeftIcon:ya,CircleArrowOutDownLeft:ka,CircleArrowOutDownLeftIcon:ka,CircleArrowOutDownRight:ma,CircleArrowOutDownRightIcon:ma,CircleArrowOutUpLeft:fa,CircleArrowOutUpLeftIcon:fa,CircleArrowOutUpRight:ga,CircleArrowOutUpRightIcon:ga,CircleArrowRight:va,CircleArrowRightIcon:va,CircleArrowUp:Ma,CircleArrowUpIcon:Ma,CircleCheck:xa,CircleCheckBig:_a,CircleCheckBigIcon:_a,CircleCheckIcon:xa,CircleChevronDown:La,CircleChevronDownIcon:La,CircleChevronLeft:Ia,CircleChevronLeftIcon:Ia,CircleChevronRight:ba,CircleChevronRightIcon:ba,CircleChevronUp:wa,CircleChevronUpIcon:wa,CircleDashed:N0,CircleDashedIcon:N0,CircleDivide:Ca,CircleDivideIcon:Ca,CircleDollarSign:j0,CircleDollarSignIcon:j0,CircleDot:$0,CircleDotDashed:S0,CircleDotDashedIcon:S0,CircleDotIcon:$0,CircleEllipsis:q0,CircleEllipsisIcon:q0,CircleEqual:A0,CircleEqualIcon:A0,CircleFadingArrowUp:V0,CircleFadingArrowUpIcon:V0,CircleFadingPlus:z0,CircleFadingPlusIcon:z0,CircleGauge:Na,CircleGaugeIcon:Na,CircleHelp:tt,CircleHelpIcon:tt,CircleIcon:R0,CircleMinus:Sa,CircleMinusIcon:Sa,CircleOff:P0,CircleOffIcon:P0,CircleParking:qa,CircleParkingIcon:qa,CircleParkingOff:ja,CircleParkingOffIcon:ja,CirclePause:$a,CirclePauseIcon:$a,CirclePercent:Aa,CirclePercentIcon:Aa,CirclePlay:za,CirclePlayIcon:za,CirclePlus:Va,CirclePlusIcon:Va,CirclePoundSterling:T0,CirclePoundSterlingIcon:T0,CirclePower:Pa,CirclePowerIcon:Pa,CircleQuestionMark:tt,CircleQuestionMarkIcon:tt,CircleSlash:H0,CircleSlash2:Ta,CircleSlash2Icon:Ta,CircleSlashIcon:H0,CircleSlashed:Ta,CircleSlashedIcon:Ta,CircleSmall:D0,CircleSmallIcon:D0,CircleStar:B0,CircleStarIcon:B0,CircleStop:Ha,CircleStopIcon:Ha,CircleUser:Ba,CircleUserIcon:Ba,CircleUserRound:Da,CircleUserRoundIcon:Da,CircleX:_t,CircleXIcon:_t,CircuitBoard:F0,CircuitBoardIcon:F0,Citrus:E0,CitrusIcon:E0,Clapperboard:O0,ClapperboardIcon:O0,Clipboard:el,ClipboardCheck:U0,ClipboardCheckIcon:U0,ClipboardClock:W0,ClipboardClockIcon:W0,ClipboardCopy:G0,ClipboardCopyIcon:G0,ClipboardEdit:Fa,ClipboardEditIcon:Fa,ClipboardIcon:el,ClipboardList:Z0,ClipboardListIcon:Z0,ClipboardMinus:K0,ClipboardMinusIcon:K0,ClipboardPaste:X0,ClipboardPasteIcon:X0,ClipboardPen:Fa,ClipboardPenIcon:Fa,ClipboardPenLine:Ra,ClipboardPenLineIcon:Ra,ClipboardPlus:Y0,ClipboardPlusIcon:Y0,ClipboardSignature:Ra,ClipboardSignatureIcon:Ra,ClipboardType:J0,ClipboardTypeIcon:J0,ClipboardX:Q0,ClipboardXIcon:Q0,Clock:gl,Clock1:al,Clock10:tl,Clock10Icon:tl,Clock11:nl,Clock11Icon:nl,Clock12:ol,Clock12Icon:ol,Clock1Icon:al,Clock2:cl,Clock2Icon:cl,Clock3:il,Clock3Icon:il,Clock4:rl,Clock4Icon:rl,Clock5:sl,Clock5Icon:sl,Clock6:dl,Clock6Icon:dl,Clock7:ll,Clock7Icon:ll,Clock8:hl,Clock8Icon:hl,Clock9:ul,Clock9Icon:ul,ClockAlert:pl,ClockAlertIcon:pl,ClockArrowDown:yl,ClockArrowDownIcon:yl,ClockArrowUp:kl,ClockArrowUpIcon:kl,ClockFading:ml,ClockFadingIcon:ml,ClockIcon:gl,ClockPlus:fl,ClockPlusIcon:fl,ClosedCaption:vl,ClosedCaptionIcon:vl,Cloud:Vl,CloudAlert:Ml,CloudAlertIcon:Ml,CloudCheck:_l,CloudCheckIcon:_l,CloudCog:xl,CloudCogIcon:xl,CloudDownload:Ea,CloudDownloadIcon:Ea,CloudDrizzle:Ll,CloudDrizzleIcon:Ll,CloudFog:Il,CloudFogIcon:Il,CloudHail:bl,CloudHailIcon:bl,CloudIcon:Vl,CloudLightning:wl,CloudLightningIcon:wl,CloudMoon:Nl,CloudMoonIcon:Nl,CloudMoonRain:Cl,CloudMoonRainIcon:Cl,CloudOff:Sl,CloudOffIcon:Sl,CloudRain:$l,CloudRainIcon:$l,CloudRainWind:jl,CloudRainWindIcon:jl,CloudSnow:ql,CloudSnowIcon:ql,CloudSun:zl,CloudSunIcon:zl,CloudSunRain:Al,CloudSunRainIcon:Al,CloudUpload:Oa,CloudUploadIcon:Oa,Cloudy:Pl,CloudyIcon:Pl,Clover:Tl,CloverIcon:Tl,Club:Hl,ClubIcon:Hl,Code:Dl,Code2:Ua,Code2Icon:Ua,CodeIcon:Dl,CodeSquare:bo,CodeSquareIcon:bo,CodeXml:Ua,CodeXmlIcon:Ua,Codepen:Bl,CodepenIcon:Bl,Codesandbox:Rl,CodesandboxIcon:Rl,Coffee:Fl,CoffeeIcon:Fl,Cog:El,CogIcon:El,Coins:Ol,CoinsIcon:Ol,Columns:Wa,Columns2:Wa,Columns2Icon:Wa,Columns3:Ga,Columns3Cog:at,Columns3CogIcon:at,Columns3Icon:Ga,Columns4:Ul,Columns4Icon:Ul,ColumnsIcon:Wa,ColumnsSettings:at,ColumnsSettingsIcon:at,Combine:Wl,CombineIcon:Wl,Command:Gl,CommandIcon:Gl,Compass:Zl,CompassIcon:Zl,Component:Kl,ComponentIcon:Kl,Computer:Xl,ComputerIcon:Xl,ConciergeBell:Yl,ConciergeBellIcon:Yl,Cone:Jl,ConeIcon:Jl,Construction:Ql,ConstructionIcon:Ql,Contact:eh,Contact2:Za,Contact2Icon:Za,ContactIcon:eh,ContactRound:Za,ContactRoundIcon:Za,Container:th,ContainerIcon:th,Contrast:nh,ContrastIcon:nh,Cookie:ah,CookieIcon:ah,CookingPot:ch,CookingPotIcon:ch,Copy:lh,CopyCheck:oh,CopyCheckIcon:oh,CopyIcon:lh,CopyMinus:ih,CopyMinusIcon:ih,CopyPlus:rh,CopyPlusIcon:rh,CopySlash:sh,CopySlashIcon:sh,CopyX:dh,CopyXIcon:dh,Copyleft:hh,CopyleftIcon:hh,Copyright:uh,CopyrightIcon:uh,CornerDownLeft:ph,CornerDownLeftIcon:ph,CornerDownRight:yh,CornerDownRightIcon:yh,CornerLeftDown:kh,CornerLeftDownIcon:kh,CornerLeftUp:mh,CornerLeftUpIcon:mh,CornerRightDown:fh,CornerRightDownIcon:fh,CornerRightUp:gh,CornerRightUpIcon:gh,CornerUpLeft:vh,CornerUpLeftIcon:vh,CornerUpRight:Mh,CornerUpRightIcon:Mh,Cpu:_h,CpuIcon:_h,CreativeCommons:xh,CreativeCommonsIcon:xh,CreditCard:Lh,CreditCardIcon:Lh,Croissant:Ih,CroissantIcon:Ih,Crop:bh,CropIcon:bh,Cross:wh,CrossIcon:wh,Crosshair:Ch,CrosshairIcon:Ch,Crown:Nh,CrownIcon:Nh,Cuboid:Sh,CuboidIcon:Sh,CupSoda:jh,CupSodaIcon:jh,CurlyBraces:Yt,CurlyBracesIcon:Yt,Currency:$h,CurrencyIcon:$h,Cylinder:qh,CylinderIcon:qh,Dam:Ah,DamIcon:Ah,Database:Ph,DatabaseBackup:zh,DatabaseBackupIcon:zh,DatabaseIcon:Ph,DatabaseZap:Vh,DatabaseZapIcon:Vh,DecimalsArrowLeft:Th,DecimalsArrowLeftIcon:Th,DecimalsArrowRight:Hh,DecimalsArrowRightIcon:Hh,Delete:Dh,DeleteIcon:Dh,Dessert:Bh,DessertIcon:Bh,Diameter:Rh,DiameterIcon:Rh,Diamond:Oh,DiamondIcon:Oh,DiamondMinus:Fh,DiamondMinusIcon:Fh,DiamondPercent:Ka,DiamondPercentIcon:Ka,DiamondPlus:Eh,DiamondPlusIcon:Eh,Dice1:Uh,Dice1Icon:Uh,Dice2:Wh,Dice2Icon:Wh,Dice3:Gh,Dice3Icon:Gh,Dice4:Zh,Dice4Icon:Zh,Dice5:Kh,Dice5Icon:Kh,Dice6:Xh,Dice6Icon:Xh,Dices:Yh,DicesIcon:Yh,Diff:Jh,DiffIcon:Jh,Disc:au,Disc2:Qh,Disc2Icon:Qh,Disc3:eu,Disc3Icon:eu,DiscAlbum:tu,DiscAlbumIcon:tu,DiscIcon:au,Divide:nu,DivideCircle:Ca,DivideCircleIcon:Ca,DivideIcon:nu,DivideSquare:So,DivideSquareIcon:So,Dna:cu,DnaIcon:cu,DnaOff:ou,DnaOffIcon:ou,Dock:iu,DockIcon:iu,Dog:ru,DogIcon:ru,DollarSign:su,DollarSignIcon:su,Donut:du,DonutIcon:du,DoorClosed:hu,DoorClosedIcon:hu,DoorClosedLocked:lu,DoorClosedLockedIcon:lu,DoorOpen:uu,DoorOpenIcon:uu,Dot:pu,DotIcon:pu,DotSquare:$o,DotSquareIcon:$o,Download:ku,DownloadCloud:Ea,DownloadCloudIcon:Ea,DownloadIcon:ku,DraftingCompass:yu,DraftingCompassIcon:yu,Drama:mu,DramaIcon:mu,Dribbble:fu,DribbbleIcon:fu,Drill:gu,DrillIcon:gu,Drone:vu,DroneIcon:vu,Droplet:_u,DropletIcon:_u,DropletOff:Mu,DropletOffIcon:Mu,Droplets:xu,DropletsIcon:xu,Drum:Lu,DrumIcon:Lu,Drumstick:Iu,DrumstickIcon:Iu,Dumbbell:bu,DumbbellIcon:bu,Ear:Cu,EarIcon:Cu,EarOff:wu,EarOffIcon:wu,Earth:Xa,EarthIcon:Xa,EarthLock:Nu,EarthLockIcon:Nu,Eclipse:Su,EclipseIcon:Su,Edit:Ve,Edit2:lt,Edit2Icon:lt,Edit3:dt,Edit3Icon:dt,EditIcon:Ve,Egg:qu,EggFried:ju,EggFriedIcon:ju,EggIcon:qu,EggOff:$u,EggOffIcon:$u,Ellipsis:Ja,EllipsisIcon:Ja,EllipsisVertical:Ya,EllipsisVerticalIcon:Ya,Equal:Vu,EqualApproximately:Au,EqualApproximatelyIcon:Au,EqualIcon:Vu,EqualNot:zu,EqualNotIcon:zu,EqualSquare:jo,EqualSquareIcon:jo,Eraser:Pu,EraserIcon:Pu,EthernetPort:Tu,EthernetPortIcon:Tu,Euro:Hu,EuroIcon:Hu,Expand:Bu,ExpandIcon:Bu,ExternalLink:Du,ExternalLinkIcon:Du,Eye:m1,EyeClosed:Ru,EyeClosedIcon:Ru,EyeIcon:m1,EyeOff:k1,EyeOffIcon:k1,Facebook:Fu,FacebookIcon:Fu,Factory:Eu,FactoryIcon:Eu,Fan:Ou,FanIcon:Ou,FastForward:Uu,FastForwardIcon:Uu,Feather:Wu,FeatherIcon:Wu,Fence:Gu,FenceIcon:Gu,FerrisWheel:Zu,FerrisWheelIcon:Zu,Figma:Ku,FigmaIcon:Ku,File:Ep,FileArchive:Xu,FileArchiveIcon:Xu,FileAudio:Ju,FileAudio2:Yu,FileAudio2Icon:Yu,FileAudioIcon:Ju,FileAxis3D:Qa,FileAxis3DIcon:Qa,FileAxis3d:Qa,FileAxis3dIcon:Qa,FileBadge:tp,FileBadge2:Qu,FileBadge2Icon:Qu,FileBadgeIcon:tp,FileBarChart:en,FileBarChart2:tn,FileBarChart2Icon:tn,FileBarChartIcon:en,FileBox:ep,FileBoxIcon:ep,FileChartColumn:tn,FileChartColumnIcon:tn,FileChartColumnIncreasing:en,FileChartColumnIncreasingIcon:en,FileChartLine:an,FileChartLineIcon:an,FileChartPie:nn,FileChartPieIcon:nn,FileCheck:np,FileCheck2:ap,FileCheck2Icon:ap,FileCheckIcon:np,FileClock:op,FileClockIcon:op,FileCode:cp,FileCode2:ip,FileCode2Icon:ip,FileCodeIcon:cp,FileCog:on,FileCog2:on,FileCog2Icon:on,FileCogIcon:on,FileDiff:rp,FileDiffIcon:rp,FileDigit:sp,FileDigitIcon:sp,FileDown:dp,FileDownIcon:dp,FileEdit:rn,FileEditIcon:rn,FileHeart:lp,FileHeartIcon:lp,FileIcon:Ep,FileImage:hp,FileImageIcon:hp,FileInput:up,FileInputIcon:up,FileJson:yp,FileJson2:pp,FileJson2Icon:pp,FileJsonIcon:yp,FileKey:mp,FileKey2:kp,FileKey2Icon:kp,FileKeyIcon:mp,FileLineChart:an,FileLineChartIcon:an,FileLock:gp,FileLock2:fp,FileLock2Icon:fp,FileLockIcon:gp,FileMinus:Mp,FileMinus2:vp,FileMinus2Icon:vp,FileMinusIcon:Mp,FileMusic:_p,FileMusicIcon:_p,FileOutput:xp,FileOutputIcon:xp,FilePen:rn,FilePenIcon:rn,FilePenLine:cn,FilePenLineIcon:cn,FilePieChart:nn,FilePieChartIcon:nn,FilePlay:sn,FilePlayIcon:sn,FilePlus:Ip,FilePlus2:Lp,FilePlus2Icon:Lp,FilePlusIcon:Ip,FileQuestion:dn,FileQuestionIcon:dn,FileQuestionMark:dn,FileQuestionMarkIcon:dn,FileScan:bp,FileScanIcon:bp,FileSearch:Cp,FileSearch2:wp,FileSearch2Icon:wp,FileSearchIcon:Cp,FileSignature:cn,FileSignatureIcon:cn,FileSliders:Np,FileSlidersIcon:Np,FileSpreadsheet:Sp,FileSpreadsheetIcon:Sp,FileStack:jp,FileStackIcon:jp,FileSymlink:$p,FileSymlinkIcon:$p,FileTerminal:qp,FileTerminalIcon:qp,FileText:Ap,FileTextIcon:Ap,FileType:Vp,FileType2:zp,FileType2Icon:zp,FileTypeIcon:Vp,FileUp:Pp,FileUpIcon:Pp,FileUser:Tp,FileUserIcon:Tp,FileVideo:sn,FileVideo2:ln,FileVideo2Icon:ln,FileVideoCamera:ln,FileVideoCameraIcon:ln,FileVideoIcon:sn,FileVolume:Dp,FileVolume2:Hp,FileVolume2Icon:Hp,FileVolumeIcon:Dp,FileWarning:Bp,FileWarningIcon:Bp,FileX:Fp,FileX2:Rp,FileX2Icon:Rp,FileXIcon:Fp,Files:Op,FilesIcon:Op,Film:Up,FilmIcon:Up,Filter:xt,FilterIcon:xt,FilterX:pn,FilterXIcon:pn,Fingerprint:Wp,FingerprintIcon:Wp,FireExtinguisher:Gp,FireExtinguisherIcon:Gp,Fish:Kp,FishIcon:Kp,FishOff:Zp,FishOffIcon:Zp,FishSymbol:Xp,FishSymbolIcon:Xp,Flag:ey,FlagIcon:ey,FlagOff:Yp,FlagOffIcon:Yp,FlagTriangleLeft:Jp,FlagTriangleLeftIcon:Jp,FlagTriangleRight:Qp,FlagTriangleRightIcon:Qp,Flame:ay,FlameIcon:ay,FlameKindling:ty,FlameKindlingIcon:ty,Flashlight:oy,FlashlightIcon:oy,FlashlightOff:ny,FlashlightOffIcon:ny,FlaskConical:iy,FlaskConicalIcon:iy,FlaskConicalOff:cy,FlaskConicalOffIcon:cy,FlaskRound:ry,FlaskRoundIcon:ry,FlipHorizontal:dy,FlipHorizontal2:sy,FlipHorizontal2Icon:sy,FlipHorizontalIcon:dy,FlipVertical:hy,FlipVertical2:ly,FlipVertical2Icon:ly,FlipVerticalIcon:hy,Flower:py,Flower2:uy,Flower2Icon:uy,FlowerIcon:py,Focus:yy,FocusIcon:yy,FoldHorizontal:ky,FoldHorizontalIcon:ky,FoldVertical:my,FoldVerticalIcon:my,Folder:f1,FolderArchive:fy,FolderArchiveIcon:fy,FolderCheck:gy,FolderCheckIcon:gy,FolderClock:vy,FolderClockIcon:vy,FolderClosed:My,FolderClosedIcon:My,FolderCode:_y,FolderCodeIcon:_y,FolderCog:hn,FolderCog2:hn,FolderCog2Icon:hn,FolderCogIcon:hn,FolderDot:xy,FolderDotIcon:xy,FolderDown:Ly,FolderDownIcon:Ly,FolderEdit:un,FolderEditIcon:un,FolderGit:by,FolderGit2:Iy,FolderGit2Icon:Iy,FolderGitIcon:by,FolderHeart:wy,FolderHeartIcon:wy,FolderIcon:f1,FolderInput:Cy,FolderInputIcon:Cy,FolderKanban:Ny,FolderKanbanIcon:Ny,FolderKey:Sy,FolderKeyIcon:Sy,FolderLock:jy,FolderLockIcon:jy,FolderMinus:$y,FolderMinusIcon:$y,FolderOpen:Ay,FolderOpenDot:qy,FolderOpenDotIcon:qy,FolderOpenIcon:Ay,FolderOutput:zy,FolderOutputIcon:zy,FolderPen:un,FolderPenIcon:un,FolderPlus:Oc,FolderPlusIcon:Oc,FolderRoot:Vy,FolderRootIcon:Vy,FolderSearch:Ty,FolderSearch2:Py,FolderSearch2Icon:Py,FolderSearchIcon:Ty,FolderSymlink:Hy,FolderSymlinkIcon:Hy,FolderSync:Dy,FolderSyncIcon:Dy,FolderTree:By,FolderTreeIcon:By,FolderUp:Ry,FolderUpIcon:Ry,FolderX:Fy,FolderXIcon:Fy,Folders:Ey,FoldersIcon:Ey,Footprints:Oy,FootprintsIcon:Oy,ForkKnife:fc,ForkKnifeCrossed:mc,ForkKnifeCrossedIcon:mc,ForkKnifeIcon:fc,Forklift:Uy,ForkliftIcon:Uy,FormInput:Zn,FormInputIcon:Zn,Forward:Wy,ForwardIcon:Wy,Frame:Gy,FrameIcon:Gy,Framer:Zy,FramerIcon:Zy,Frown:Ky,FrownIcon:Ky,Fuel:Xy,FuelIcon:Xy,Fullscreen:Yy,FullscreenIcon:Yy,FunctionSquare:qo,FunctionSquareIcon:qo,Funnel:xt,FunnelIcon:xt,FunnelPlus:Jy,FunnelPlusIcon:Jy,FunnelX:pn,FunnelXIcon:pn,GalleryHorizontal:e4,GalleryHorizontalEnd:Qy,GalleryHorizontalEndIcon:Qy,GalleryHorizontalIcon:e4,GalleryThumbnails:t4,GalleryThumbnailsIcon:t4,GalleryVertical:n4,GalleryVerticalEnd:a4,GalleryVerticalEndIcon:a4,GalleryVerticalIcon:n4,Gamepad:c4,Gamepad2:o4,Gamepad2Icon:o4,GamepadIcon:c4,GanttChart:da,GanttChartIcon:da,GanttChartSquare:ot,GanttChartSquareIcon:ot,Gauge:i4,GaugeCircle:Na,GaugeCircleIcon:Na,GaugeIcon:i4,Gavel:r4,GavelIcon:r4,Gem:s4,GemIcon:s4,GeorgianLari:d4,GeorgianLariIcon:d4,Ghost:l4,GhostIcon:l4,Gift:h4,GiftIcon:h4,GitBranch:p4,GitBranchIcon:p4,GitBranchPlus:u4,GitBranchPlusIcon:u4,GitCommit:yn,GitCommitHorizontal:yn,GitCommitHorizontalIcon:yn,GitCommitIcon:yn,GitCommitVertical:y4,GitCommitVerticalIcon:y4,GitCompare:m4,GitCompareArrows:k4,GitCompareArrowsIcon:k4,GitCompareIcon:m4,GitFork:f4,GitForkIcon:f4,GitGraph:g4,GitGraphIcon:g4,GitMerge:v4,GitMergeIcon:v4,GitPullRequest:b4,GitPullRequestArrow:M4,GitPullRequestArrowIcon:M4,GitPullRequestClosed:_4,GitPullRequestClosedIcon:_4,GitPullRequestCreate:L4,GitPullRequestCreateArrow:x4,GitPullRequestCreateArrowIcon:x4,GitPullRequestCreateIcon:L4,GitPullRequestDraft:I4,GitPullRequestDraftIcon:I4,GitPullRequestIcon:b4,Github:w4,GithubIcon:w4,Gitlab:C4,GitlabIcon:C4,GlassWater:N4,GlassWaterIcon:N4,Glasses:S4,GlassesIcon:S4,Globe:$4,Globe2:Xa,Globe2Icon:Xa,GlobeIcon:$4,GlobeLock:j4,GlobeLockIcon:j4,Goal:q4,GoalIcon:q4,Gpu:A4,GpuIcon:A4,Grab:vn,GrabIcon:vn,GraduationCap:z4,GraduationCapIcon:z4,Grape:V4,GrapeIcon:V4,Grid:nt,Grid2X2:gn,Grid2X2Check:kn,Grid2X2CheckIcon:kn,Grid2X2Icon:gn,Grid2X2Plus:mn,Grid2X2PlusIcon:mn,Grid2X2X:fn,Grid2X2XIcon:fn,Grid2x2:gn,Grid2x2Check:kn,Grid2x2CheckIcon:kn,Grid2x2Icon:gn,Grid2x2Plus:mn,Grid2x2PlusIcon:mn,Grid2x2X:fn,Grid2x2XIcon:fn,Grid3X3:nt,Grid3X3Icon:nt,Grid3x2:P4,Grid3x2Icon:P4,Grid3x3:nt,Grid3x3Icon:nt,GridIcon:nt,Grip:H4,GripHorizontal:T4,GripHorizontalIcon:T4,GripIcon:H4,GripVertical:g1,GripVerticalIcon:g1,Group:D4,GroupIcon:D4,Guitar:B4,GuitarIcon:B4,Ham:R4,HamIcon:R4,Hamburger:F4,HamburgerIcon:F4,Hammer:E4,HammerIcon:E4,Hand:K4,HandCoins:O4,HandCoinsIcon:O4,HandFist:U4,HandFistIcon:U4,HandGrab:vn,HandGrabIcon:vn,HandHeart:W4,HandHeartIcon:W4,HandHelping:Mn,HandHelpingIcon:Mn,HandIcon:K4,HandMetal:G4,HandMetalIcon:G4,HandPlatter:Z4,HandPlatterIcon:Z4,Handbag:X4,HandbagIcon:X4,Handshake:Y4,HandshakeIcon:Y4,HardDrive:e5,HardDriveDownload:J4,HardDriveDownloadIcon:J4,HardDriveIcon:e5,HardDriveUpload:Q4,HardDriveUploadIcon:Q4,HardHat:t5,HardHatIcon:t5,Hash:a5,HashIcon:a5,HatGlasses:n5,HatGlassesIcon:n5,Haze:o5,HazeIcon:o5,HdmiPort:c5,HdmiPortIcon:c5,Heading:u5,Heading1:i5,Heading1Icon:i5,Heading2:r5,Heading2Icon:r5,Heading3:s5,Heading3Icon:s5,Heading4:d5,Heading4Icon:d5,Heading5:l5,Heading5Icon:l5,Heading6:h5,Heading6Icon:h5,HeadingIcon:u5,HeadphoneOff:p5,HeadphoneOffIcon:p5,Headphones:y5,HeadphonesIcon:y5,Headset:k5,HeadsetIcon:k5,Heart:x5,HeartCrack:m5,HeartCrackIcon:m5,HeartHandshake:f5,HeartHandshakeIcon:f5,HeartIcon:x5,HeartMinus:g5,HeartMinusIcon:g5,HeartOff:v5,HeartOffIcon:v5,HeartPlus:M5,HeartPlusIcon:M5,HeartPulse:_5,HeartPulseIcon:_5,Heater:L5,HeaterIcon:L5,HelpCircle:tt,HelpCircleIcon:tt,HelpingHand:Mn,HelpingHandIcon:Mn,Hexagon:I5,HexagonIcon:I5,Highlighter:b5,HighlighterIcon:b5,History:w5,HistoryIcon:w5,Home:Lt,HomeIcon:Lt,Hop:N5,HopIcon:N5,HopOff:C5,HopOffIcon:C5,Hospital:v1,HospitalIcon:v1,Hotel:S5,HotelIcon:S5,Hourglass:j5,HourglassIcon:j5,House:Lt,HouseIcon:Lt,HousePlug:$5,HousePlugIcon:$5,HousePlus:A5,HousePlusIcon:A5,HouseWifi:q5,HouseWifiIcon:q5,IceCream:xn,IceCream2:_n,IceCream2Icon:_n,IceCreamBowl:_n,IceCreamBowlIcon:_n,IceCreamCone:xn,IceCreamConeIcon:xn,IceCreamIcon:xn,Icon:a.Icon,IdCard:V5,IdCardIcon:V5,IdCardLanyard:z5,IdCardLanyardIcon:z5,Image:E5,ImageDown:P5,ImageDownIcon:P5,ImageIcon:E5,ImageMinus:T5,ImageMinusIcon:T5,ImageOff:H5,ImageOffIcon:H5,ImagePlay:D5,ImagePlayIcon:D5,ImagePlus:B5,ImagePlusIcon:B5,ImageUp:R5,ImageUpIcon:R5,ImageUpscale:F5,ImageUpscaleIcon:F5,Images:O5,ImagesIcon:O5,Import:U5,ImportIcon:U5,Inbox:W5,InboxIcon:W5,Indent:In,IndentDecrease:Ln,IndentDecreaseIcon:Ln,IndentIcon:In,IndentIncrease:In,IndentIncreaseIcon:In,IndianRupee:G5,IndianRupeeIcon:G5,Infinity:Z5,InfinityIcon:Z5,Info:K5,InfoIcon:K5,Inspect:Do,InspectIcon:Do,InspectionPanel:X5,InspectionPanelIcon:X5,Instagram:Y5,InstagramIcon:Y5,Italic:J5,ItalicIcon:J5,IterationCcw:Q5,IterationCcwIcon:Q5,IterationCw:ek,IterationCwIcon:ek,JapaneseYen:ak,JapaneseYenIcon:ak,Joystick:tk,JoystickIcon:tk,Kanban:nk,KanbanIcon:nk,KanbanSquare:Ao,KanbanSquareDashed:wo,KanbanSquareDashedIcon:wo,KanbanSquareIcon:Ao,Kayak:ok,KayakIcon:ok,Key:rk,KeyIcon:rk,KeyRound:ck,KeyRoundIcon:ck,KeySquare:ik,KeySquareIcon:ik,Keyboard:lk,KeyboardIcon:lk,KeyboardMusic:sk,KeyboardMusicIcon:sk,KeyboardOff:dk,KeyboardOffIcon:dk,Lamp:mk,LampCeiling:hk,LampCeilingIcon:hk,LampDesk:pk,LampDeskIcon:pk,LampFloor:uk,LampFloorIcon:uk,LampIcon:mk,LampWallDown:yk,LampWallDownIcon:yk,LampWallUp:kk,LampWallUpIcon:kk,LandPlot:fk,LandPlotIcon:fk,Landmark:gk,LandmarkIcon:gk,Languages:vk,LanguagesIcon:vk,Laptop:_k,Laptop2:bn,Laptop2Icon:bn,LaptopIcon:_k,LaptopMinimal:bn,LaptopMinimalCheck:Mk,LaptopMinimalCheckIcon:Mk,LaptopMinimalIcon:bn,Lasso:Lk,LassoIcon:Lk,LassoSelect:xk,LassoSelectIcon:xk,Laugh:Ik,LaughIcon:Ik,Layers:wn,Layers2:bk,Layers2Icon:bk,Layers3:wn,Layers3Icon:wn,LayersIcon:wn,Layout:Wn,LayoutDashboard:wk,LayoutDashboardIcon:wk,LayoutGrid:Ck,LayoutGridIcon:Ck,LayoutIcon:Wn,LayoutList:Nk,LayoutListIcon:Nk,LayoutPanelLeft:Sk,LayoutPanelLeftIcon:Sk,LayoutPanelTop:jk,LayoutPanelTopIcon:jk,LayoutTemplate:$k,LayoutTemplateIcon:$k,Leaf:qk,LeafIcon:qk,LeafyGreen:zk,LeafyGreenIcon:zk,Lectern:Ak,LecternIcon:Ak,LetterText:Vk,LetterTextIcon:Vk,Library:Tk,LibraryBig:Pk,LibraryBigIcon:Pk,LibraryIcon:Tk,LibrarySquare:zo,LibrarySquareIcon:zo,LifeBuoy:Hk,LifeBuoyIcon:Hk,Ligature:Dk,LigatureIcon:Dk,Lightbulb:Rk,LightbulbIcon:Rk,LightbulbOff:Bk,LightbulbOffIcon:Bk,LineChart:ia,LineChartIcon:ia,LineSquiggle:Fk,LineSquiggleIcon:Fk,Link:Uk,Link2:Ek,Link2Icon:Ek,Link2Off:Ok,Link2OffIcon:Ok,LinkIcon:Uk,Linkedin:Wk,LinkedinIcon:Wk,List:d3,ListCheck:Gk,ListCheckIcon:Gk,ListChecks:Zk,ListChecksIcon:Zk,ListCollapse:Kk,ListCollapseIcon:Kk,ListEnd:Xk,ListEndIcon:Xk,ListFilter:Qk,ListFilterIcon:Qk,ListFilterPlus:Yk,ListFilterPlusIcon:Yk,ListIcon:d3,ListMinus:Jk,ListMinusIcon:Jk,ListMusic:e3,ListMusicIcon:e3,ListOrdered:t3,ListOrderedIcon:t3,ListPlus:a3,ListPlusIcon:a3,ListRestart:n3,ListRestartIcon:n3,ListStart:o3,ListStartIcon:o3,ListTodo:c3,ListTodoIcon:c3,ListTree:i3,ListTreeIcon:i3,ListVideo:r3,ListVideoIcon:r3,ListX:s3,ListXIcon:s3,Loader:h3,Loader2:Cn,Loader2Icon:Cn,LoaderCircle:Cn,LoaderCircleIcon:Cn,LoaderIcon:h3,LoaderPinwheel:l3,LoaderPinwheelIcon:l3,Locate:y3,LocateFixed:u3,LocateFixedIcon:u3,LocateIcon:y3,LocateOff:p3,LocateOffIcon:p3,LocationEdit:$n,LocationEditIcon:$n,Lock:m3,LockIcon:m3,LockKeyhole:k3,LockKeyholeIcon:k3,LockKeyholeOpen:Nn,LockKeyholeOpenIcon:Nn,LockOpen:Sn,LockOpenIcon:Sn,LogIn:f3,LogInIcon:f3,LogOut:g3,LogOutIcon:g3,Logs:v3,LogsIcon:v3,Lollipop:M3,LollipopIcon:M3,LucideAArrowDown:K1,LucideAArrowUp:X1,LucideALargeSmall:Y1,LucideAccessibility:l1,LucideActivity:h1,LucideActivitySquare:It,LucideAirVent:J1,LucideAirplay:Q1,LucideAlarmCheck:Pt,LucideAlarmClock:ti,LucideAlarmClockCheck:Pt,LucideAlarmClockMinus:Tt,LucideAlarmClockOff:ei,LucideAlarmClockPlus:Ht,LucideAlarmMinus:Tt,LucideAlarmPlus:Ht,LucideAlarmSmoke:ai,LucideAlbum:ni,LucideAlertCircle:ua,LucideAlertOctagon:Vn,LucideAlertTriangle:ic,LucideAlignCenter:di,LucideAlignCenterHorizontal:oi,LucideAlignCenterVertical:ci,LucideAlignEndHorizontal:ii,LucideAlignEndVertical:ri,LucideAlignHorizontalDistributeCenter:si,LucideAlignHorizontalDistributeEnd:li,LucideAlignHorizontalDistributeStart:hi,LucideAlignHorizontalJustifyCenter:ui,LucideAlignHorizontalJustifyEnd:pi,LucideAlignHorizontalJustifyStart:yi,LucideAlignHorizontalSpaceAround:ki,LucideAlignHorizontalSpaceBetween:fi,LucideAlignJustify:mi,LucideAlignLeft:gi,LucideAlignRight:vi,LucideAlignStartHorizontal:Mi,LucideAlignStartVertical:_i,LucideAlignVerticalDistributeCenter:Li,LucideAlignVerticalDistributeEnd:xi,LucideAlignVerticalDistributeStart:bi,LucideAlignVerticalJustifyCenter:Ii,LucideAlignVerticalJustifyEnd:wi,LucideAlignVerticalJustifyStart:Ci,LucideAlignVerticalSpaceAround:Si,LucideAlignVerticalSpaceBetween:Ni,LucideAmbulance:ji,LucideAmpersand:$i,LucideAmpersands:qi,LucideAmphora:Ai,LucideAnchor:zi,LucideAngry:Vi,LucideAnnoyed:Pi,LucideAntenna:Ti,LucideAnvil:Hi,LucideAperture:Di,LucideAppWindow:Ri,LucideAppWindowMac:Bi,LucideApple:Fi,LucideArchive:Ui,LucideArchiveRestore:Ei,LucideArchiveX:Oi,LucideAreaChart:Qt,LucideArmchair:Wi,LucideArrowBigDown:Zi,LucideArrowBigDownDash:Gi,LucideArrowBigLeft:Xi,LucideArrowBigLeftDash:Ki,LucideArrowBigRight:Ji,LucideArrowBigRightDash:Yi,LucideArrowBigUp:er,LucideArrowBigUpDash:Qi,LucideArrowDown:lr,LucideArrowDown01:tr,LucideArrowDown10:ar,LucideArrowDownAZ:Dt,LucideArrowDownAz:Dt,LucideArrowDownCircle:pa,LucideArrowDownFromLine:nr,LucideArrowDownLeft:or,LucideArrowDownLeftFromCircle:ka,LucideArrowDownLeftFromSquare:so,LucideArrowDownLeftSquare:oo,LucideArrowDownNarrowWide:cr,LucideArrowDownRight:ir,LucideArrowDownRightFromCircle:ma,LucideArrowDownRightFromSquare:lo,LucideArrowDownRightSquare:co,LucideArrowDownSquare:io,LucideArrowDownToDot:rr,LucideArrowDownToLine:sr,LucideArrowDownUp:dr,LucideArrowDownWideNarrow:Bt,LucideArrowDownZA:Rt,LucideArrowDownZa:Rt,LucideArrowLeft:yr,LucideArrowLeftCircle:ya,LucideArrowLeftFromLine:hr,LucideArrowLeftRight:ur,LucideArrowLeftSquare:ro,LucideArrowLeftToLine:pr,LucideArrowRight:gr,LucideArrowRightCircle:va,LucideArrowRightFromLine:kr,LucideArrowRightLeft:mr,LucideArrowRightSquare:po,LucideArrowRightToLine:fr,LucideArrowUp:Nr,LucideArrowUp01:vr,LucideArrowUp10:Mr,LucideArrowUpAZ:Ft,LucideArrowUpAz:Ft,LucideArrowUpCircle:Ma,LucideArrowUpDown:_r,LucideArrowUpFromDot:xr,LucideArrowUpFromLine:Lr,LucideArrowUpLeft:Ir,LucideArrowUpLeftFromCircle:fa,LucideArrowUpLeftFromSquare:ho,LucideArrowUpLeftSquare:yo,LucideArrowUpNarrowWide:Et,LucideArrowUpRight:br,LucideArrowUpRightFromCircle:ga,LucideArrowUpRightFromSquare:uo,LucideArrowUpRightSquare:ko,LucideArrowUpSquare:mo,LucideArrowUpToLine:wr,LucideArrowUpWideNarrow:Cr,LucideArrowUpZA:Ot,LucideArrowUpZa:Ot,LucideArrowsUpFromLine:Sr,LucideAsterisk:jr,LucideAsteriskSquare:fo,LucideAtSign:$r,LucideAtom:qr,LucideAudioLines:Ar,LucideAudioWaveform:zr,LucideAward:Vr,LucideAxe:Pr,LucideAxis3D:Ut,LucideAxis3d:Ut,LucideBaby:Tr,LucideBackpack:Hr,LucideBadge:es,LucideBadgeAlert:Dr,LucideBadgeCent:Br,LucideBadgeCheck:Wt,LucideBadgeDollarSign:Rr,LucideBadgeEuro:Fr,LucideBadgeHelp:Gt,LucideBadgeIndianRupee:Er,LucideBadgeInfo:Or,LucideBadgeJapaneseYen:Wr,LucideBadgeMinus:Ur,LucideBadgePercent:Gr,LucideBadgePlus:Zr,LucideBadgePoundSterling:Kr,LucideBadgeQuestionMark:Gt,LucideBadgeRussianRuble:Xr,LucideBadgeSwissFranc:Yr,LucideBadgeTurkishLira:Jr,LucideBadgeX:Qr,LucideBaggageClaim:ts,LucideBan:as,LucideBanana:ns,LucideBandage:os,LucideBanknote:ss,LucideBanknoteArrowDown:cs,LucideBanknoteArrowUp:is,LucideBanknoteX:rs,LucideBarChart:ra,LucideBarChart2:sa,LucideBarChart3:ca,LucideBarChart4:oa,LucideBarChartBig:na,LucideBarChartHorizontal:ta,LucideBarChartHorizontalBig:ea,LucideBarcode:ds,LucideBarrel:ls,LucideBaseline:hs,LucideBath:us,LucideBattery:vs,LucideBatteryCharging:ps,LucideBatteryFull:ys,LucideBatteryLow:ks,LucideBatteryMedium:ms,LucideBatteryPlus:fs,LucideBatteryWarning:gs,LucideBeaker:Ms,LucideBean:xs,LucideBeanOff:_s,LucideBed:bs,LucideBedDouble:Ls,LucideBedSingle:Is,LucideBeef:ws,LucideBeer:Ns,LucideBeerOff:Cs,LucideBell:zs,LucideBellDot:Ss,LucideBellElectric:js,LucideBellMinus:$s,LucideBellOff:qs,LucideBellPlus:As,LucideBellRing:Vs,LucideBetweenHorizonalEnd:Zt,LucideBetweenHorizonalStart:Kt,LucideBetweenHorizontalEnd:Zt,LucideBetweenHorizontalStart:Kt,LucideBetweenVerticalEnd:Ts,LucideBetweenVerticalStart:Ps,LucideBicepsFlexed:Hs,LucideBike:Bs,LucideBinary:Ds,LucideBinoculars:Rs,LucideBiohazard:Fs,LucideBird:Es,LucideBitcoin:Os,LucideBlend:Us,LucideBlinds:Ws,LucideBlocks:Gs,LucideBluetooth:Ys,LucideBluetoothConnected:Zs,LucideBluetoothOff:Ks,LucideBluetoothSearching:Xs,LucideBold:Js,LucideBolt:Qs,LucideBomb:e2,LucideBone:t2,LucideBook:b2,LucideBookA:a2,LucideBookAlert:n2,LucideBookAudio:o2,LucideBookCheck:c2,LucideBookCopy:i2,LucideBookDashed:Xt,LucideBookDown:r2,LucideBookHeadphones:s2,LucideBookHeart:d2,LucideBookImage:l2,LucideBookKey:h2,LucideBookLock:u2,LucideBookMarked:y2,LucideBookMinus:p2,LucideBookOpen:f2,LucideBookOpenCheck:k2,LucideBookOpenText:m2,LucideBookPlus:g2,LucideBookTemplate:Xt,LucideBookText:v2,LucideBookType:M2,LucideBookUp:x2,LucideBookUp2:_2,LucideBookUser:L2,LucideBookX:I2,LucideBookmark:j2,LucideBookmarkCheck:w2,LucideBookmarkMinus:C2,LucideBookmarkPlus:N2,LucideBookmarkX:S2,LucideBoomBox:$2,LucideBot:z2,LucideBotMessageSquare:q2,LucideBotOff:A2,LucideBottleWine:V2,LucideBowArrow:P2,LucideBox:T2,LucideBoxSelect:No,LucideBoxes:H2,LucideBraces:Yt,LucideBrackets:D2,LucideBrain:F2,LucideBrainCircuit:B2,LucideBrainCog:R2,LucideBrickWall:U2,LucideBrickWallFire:E2,LucideBrickWallShield:O2,LucideBriefcase:K2,LucideBriefcaseBusiness:W2,LucideBriefcaseConveyorBelt:G2,LucideBriefcaseMedical:Z2,LucideBringToFront:X2,LucideBrush:J2,LucideBrushCleaning:Y2,LucideBubbles:Q2,LucideBug:nd,LucideBugOff:ed,LucideBugPlay:td,LucideBuilding:od,LucideBuilding2:ad,LucideBus:id,LucideBusFront:cd,LucideCable:sd,LucideCableCar:rd,LucideCake:ld,LucideCakeSlice:dd,LucideCalculator:hd,LucideCalendar:u1,LucideCalendar1:ud,LucideCalendarArrowDown:pd,LucideCalendarArrowUp:yd,LucideCalendarCheck:md,LucideCalendarCheck2:kd,LucideCalendarClock:fd,LucideCalendarCog:gd,LucideCalendarDays:vd,LucideCalendarFold:Md,LucideCalendarHeart:_d,LucideCalendarMinus:Ld,LucideCalendarMinus2:xd,LucideCalendarOff:Id,LucideCalendarPlus:wd,LucideCalendarPlus2:bd,LucideCalendarRange:Cd,LucideCalendarSearch:Nd,LucideCalendarSync:Sd,LucideCalendarX:$d,LucideCalendarX2:jd,LucideCamera:Ad,LucideCameraOff:qd,LucideCandlestickChart:aa,LucideCandy:Pd,LucideCandyCane:zd,LucideCandyOff:Vd,LucideCannabis:Td,LucideCaptions:Jt,LucideCaptionsOff:Hd,LucideCar:Rd,LucideCarFront:Dd,LucideCarTaxiFront:Bd,LucideCaravan:Fd,LucideCardSim:Ed,LucideCarrot:Od,LucideCaseLower:Ud,LucideCaseSensitive:Wd,LucideCaseUpper:Gd,LucideCassetteTape:Zd,LucideCast:Kd,LucideCastle:Yd,LucideCat:Xd,LucideCctv:Jd,LucideChartArea:Qt,LucideChartBar:ta,LucideChartBarBig:ea,LucideChartBarDecreasing:Qd,LucideChartBarIncreasing:e0,LucideChartBarStacked:t0,LucideChartCandlestick:aa,LucideChartColumn:ca,LucideChartColumnBig:na,LucideChartColumnDecreasing:a0,LucideChartColumnIncreasing:oa,LucideChartColumnStacked:n0,LucideChartGantt:o0,LucideChartLine:ia,LucideChartNetwork:c0,LucideChartNoAxesColumn:sa,LucideChartNoAxesColumnDecreasing:i0,LucideChartNoAxesColumnIncreasing:ra,LucideChartNoAxesCombined:r0,LucideChartNoAxesGantt:da,LucideChartPie:la,LucideChartScatter:ha,LucideChartSpline:s0,LucideCheck:p1,LucideCheckCheck:d0,LucideCheckCircle:_a,LucideCheckCircle2:xa,LucideCheckLine:l0,LucideCheckSquare:vo,LucideCheckSquare2:Mo,LucideChefHat:h0,LucideCherry:u0,LucideChevronDown:Nt,LucideChevronDownCircle:La,LucideChevronDownSquare:_o,LucideChevronFirst:p0,LucideChevronLast:y0,LucideChevronLeft:k0,LucideChevronLeftCircle:Ia,LucideChevronLeftSquare:xo,LucideChevronRight:y1,LucideChevronRightCircle:ba,LucideChevronRightSquare:Lo,LucideChevronUp:Ic,LucideChevronUpCircle:wa,LucideChevronUpSquare:Io,LucideChevronsDown:f0,LucideChevronsDownUp:m0,LucideChevronsLeft:v0,LucideChevronsLeftRight:g0,LucideChevronsLeftRightEllipsis:M0,LucideChevronsRight:x0,LucideChevronsRightLeft:_0,LucideChevronsUp:L0,LucideChevronsUpDown:Ec,LucideChrome:I0,LucideChurch:b0,LucideCigarette:C0,LucideCigaretteOff:w0,LucideCircle:R0,LucideCircleAlert:ua,LucideCircleArrowDown:pa,LucideCircleArrowLeft:ya,LucideCircleArrowOutDownLeft:ka,LucideCircleArrowOutDownRight:ma,LucideCircleArrowOutUpLeft:fa,LucideCircleArrowOutUpRight:ga,LucideCircleArrowRight:va,LucideCircleArrowUp:Ma,LucideCircleCheck:xa,LucideCircleCheckBig:_a,LucideCircleChevronDown:La,LucideCircleChevronLeft:Ia,LucideCircleChevronRight:ba,LucideCircleChevronUp:wa,LucideCircleDashed:N0,LucideCircleDivide:Ca,LucideCircleDollarSign:j0,LucideCircleDot:$0,LucideCircleDotDashed:S0,LucideCircleEllipsis:q0,LucideCircleEqual:A0,LucideCircleFadingArrowUp:V0,LucideCircleFadingPlus:z0,LucideCircleGauge:Na,LucideCircleHelp:tt,LucideCircleMinus:Sa,LucideCircleOff:P0,LucideCircleParking:qa,LucideCircleParkingOff:ja,LucideCirclePause:$a,LucideCirclePercent:Aa,LucideCirclePlay:za,LucideCirclePlus:Va,LucideCirclePoundSterling:T0,LucideCirclePower:Pa,LucideCircleQuestionMark:tt,LucideCircleSlash:H0,LucideCircleSlash2:Ta,LucideCircleSlashed:Ta,LucideCircleSmall:D0,LucideCircleStar:B0,LucideCircleStop:Ha,LucideCircleUser:Ba,LucideCircleUserRound:Da,LucideCircleX:_t,LucideCircuitBoard:F0,LucideCitrus:E0,LucideClapperboard:O0,LucideClipboard:el,LucideClipboardCheck:U0,LucideClipboardClock:W0,LucideClipboardCopy:G0,LucideClipboardEdit:Fa,LucideClipboardList:Z0,LucideClipboardMinus:K0,LucideClipboardPaste:X0,LucideClipboardPen:Fa,LucideClipboardPenLine:Ra,LucideClipboardPlus:Y0,LucideClipboardSignature:Ra,LucideClipboardType:J0,LucideClipboardX:Q0,LucideClock:gl,LucideClock1:al,LucideClock10:tl,LucideClock11:nl,LucideClock12:ol,LucideClock2:cl,LucideClock3:il,LucideClock4:rl,LucideClock5:sl,LucideClock6:dl,LucideClock7:ll,LucideClock8:hl,LucideClock9:ul,LucideClockAlert:pl,LucideClockArrowDown:yl,LucideClockArrowUp:kl,LucideClockFading:ml,LucideClockPlus:fl,LucideClosedCaption:vl,LucideCloud:Vl,LucideCloudAlert:Ml,LucideCloudCheck:_l,LucideCloudCog:xl,LucideCloudDownload:Ea,LucideCloudDrizzle:Ll,LucideCloudFog:Il,LucideCloudHail:bl,LucideCloudLightning:wl,LucideCloudMoon:Nl,LucideCloudMoonRain:Cl,LucideCloudOff:Sl,LucideCloudRain:$l,LucideCloudRainWind:jl,LucideCloudSnow:ql,LucideCloudSun:zl,LucideCloudSunRain:Al,LucideCloudUpload:Oa,LucideCloudy:Pl,LucideClover:Tl,LucideClub:Hl,LucideCode:Dl,LucideCode2:Ua,LucideCodeSquare:bo,LucideCodeXml:Ua,LucideCodepen:Bl,LucideCodesandbox:Rl,LucideCoffee:Fl,LucideCog:El,LucideCoins:Ol,LucideColumns:Wa,LucideColumns2:Wa,LucideColumns3:Ga,LucideColumns3Cog:at,LucideColumns4:Ul,LucideColumnsSettings:at,LucideCombine:Wl,LucideCommand:Gl,LucideCompass:Zl,LucideComponent:Kl,LucideComputer:Xl,LucideConciergeBell:Yl,LucideCone:Jl,LucideConstruction:Ql,LucideContact:eh,LucideContact2:Za,LucideContactRound:Za,LucideContainer:th,LucideContrast:nh,LucideCookie:ah,LucideCookingPot:ch,LucideCopy:lh,LucideCopyCheck:oh,LucideCopyMinus:ih,LucideCopyPlus:rh,LucideCopySlash:sh,LucideCopyX:dh,LucideCopyleft:hh,LucideCopyright:uh,LucideCornerDownLeft:ph,LucideCornerDownRight:yh,LucideCornerLeftDown:kh,LucideCornerLeftUp:mh,LucideCornerRightDown:fh,LucideCornerRightUp:gh,LucideCornerUpLeft:vh,LucideCornerUpRight:Mh,LucideCpu:_h,LucideCreativeCommons:xh,LucideCreditCard:Lh,LucideCroissant:Ih,LucideCrop:bh,LucideCross:wh,LucideCrosshair:Ch,LucideCrown:Nh,LucideCuboid:Sh,LucideCupSoda:jh,LucideCurlyBraces:Yt,LucideCurrency:$h,LucideCylinder:qh,LucideDam:Ah,LucideDatabase:Ph,LucideDatabaseBackup:zh,LucideDatabaseZap:Vh,LucideDecimalsArrowLeft:Th,LucideDecimalsArrowRight:Hh,LucideDelete:Dh,LucideDessert:Bh,LucideDiameter:Rh,LucideDiamond:Oh,LucideDiamondMinus:Fh,LucideDiamondPercent:Ka,LucideDiamondPlus:Eh,LucideDice1:Uh,LucideDice2:Wh,LucideDice3:Gh,LucideDice4:Zh,LucideDice5:Kh,LucideDice6:Xh,LucideDices:Yh,LucideDiff:Jh,LucideDisc:au,LucideDisc2:Qh,LucideDisc3:eu,LucideDiscAlbum:tu,LucideDivide:nu,LucideDivideCircle:Ca,LucideDivideSquare:So,LucideDna:cu,LucideDnaOff:ou,LucideDock:iu,LucideDog:ru,LucideDollarSign:su,LucideDonut:du,LucideDoorClosed:hu,LucideDoorClosedLocked:lu,LucideDoorOpen:uu,LucideDot:pu,LucideDotSquare:$o,LucideDownload:ku,LucideDownloadCloud:Ea,LucideDraftingCompass:yu,LucideDrama:mu,LucideDribbble:fu,LucideDrill:gu,LucideDrone:vu,LucideDroplet:_u,LucideDropletOff:Mu,LucideDroplets:xu,LucideDrum:Lu,LucideDrumstick:Iu,LucideDumbbell:bu,LucideEar:Cu,LucideEarOff:wu,LucideEarth:Xa,LucideEarthLock:Nu,LucideEclipse:Su,LucideEdit:Ve,LucideEdit2:lt,LucideEdit3:dt,LucideEgg:qu,LucideEggFried:ju,LucideEggOff:$u,LucideEllipsis:Ja,LucideEllipsisVertical:Ya,LucideEqual:Vu,LucideEqualApproximately:Au,LucideEqualNot:zu,LucideEqualSquare:jo,LucideEraser:Pu,LucideEthernetPort:Tu,LucideEuro:Hu,LucideExpand:Bu,LucideExternalLink:Du,LucideEye:m1,LucideEyeClosed:Ru,LucideEyeOff:k1,LucideFacebook:Fu,LucideFactory:Eu,LucideFan:Ou,LucideFastForward:Uu,LucideFeather:Wu,LucideFence:Gu,LucideFerrisWheel:Zu,LucideFigma:Ku,LucideFile:Ep,LucideFileArchive:Xu,LucideFileAudio:Ju,LucideFileAudio2:Yu,LucideFileAxis3D:Qa,LucideFileAxis3d:Qa,LucideFileBadge:tp,LucideFileBadge2:Qu,LucideFileBarChart:en,LucideFileBarChart2:tn,LucideFileBox:ep,LucideFileChartColumn:tn,LucideFileChartColumnIncreasing:en,LucideFileChartLine:an,LucideFileChartPie:nn,LucideFileCheck:np,LucideFileCheck2:ap,LucideFileClock:op,LucideFileCode:cp,LucideFileCode2:ip,LucideFileCog:on,LucideFileCog2:on,LucideFileDiff:rp,LucideFileDigit:sp,LucideFileDown:dp,LucideFileEdit:rn,LucideFileHeart:lp,LucideFileImage:hp,LucideFileInput:up,LucideFileJson:yp,LucideFileJson2:pp,LucideFileKey:mp,LucideFileKey2:kp,LucideFileLineChart:an,LucideFileLock:gp,LucideFileLock2:fp,LucideFileMinus:Mp,LucideFileMinus2:vp,LucideFileMusic:_p,LucideFileOutput:xp,LucideFilePen:rn,LucideFilePenLine:cn,LucideFilePieChart:nn,LucideFilePlay:sn,LucideFilePlus:Ip,LucideFilePlus2:Lp,LucideFileQuestion:dn,LucideFileQuestionMark:dn,LucideFileScan:bp,LucideFileSearch:Cp,LucideFileSearch2:wp,LucideFileSignature:cn,LucideFileSliders:Np,LucideFileSpreadsheet:Sp,LucideFileStack:jp,LucideFileSymlink:$p,LucideFileTerminal:qp,LucideFileText:Ap,LucideFileType:Vp,LucideFileType2:zp,LucideFileUp:Pp,LucideFileUser:Tp,LucideFileVideo:sn,LucideFileVideo2:ln,LucideFileVideoCamera:ln,LucideFileVolume:Dp,LucideFileVolume2:Hp,LucideFileWarning:Bp,LucideFileX:Fp,LucideFileX2:Rp,LucideFiles:Op,LucideFilm:Up,LucideFilter:xt,LucideFilterX:pn,LucideFingerprint:Wp,LucideFireExtinguisher:Gp,LucideFish:Kp,LucideFishOff:Zp,LucideFishSymbol:Xp,LucideFlag:ey,LucideFlagOff:Yp,LucideFlagTriangleLeft:Jp,LucideFlagTriangleRight:Qp,LucideFlame:ay,LucideFlameKindling:ty,LucideFlashlight:oy,LucideFlashlightOff:ny,LucideFlaskConical:iy,LucideFlaskConicalOff:cy,LucideFlaskRound:ry,LucideFlipHorizontal:dy,LucideFlipHorizontal2:sy,LucideFlipVertical:hy,LucideFlipVertical2:ly,LucideFlower:py,LucideFlower2:uy,LucideFocus:yy,LucideFoldHorizontal:ky,LucideFoldVertical:my,LucideFolder:f1,LucideFolderArchive:fy,LucideFolderCheck:gy,LucideFolderClock:vy,LucideFolderClosed:My,LucideFolderCode:_y,LucideFolderCog:hn,LucideFolderCog2:hn,LucideFolderDot:xy,LucideFolderDown:Ly,LucideFolderEdit:un,LucideFolderGit:by,LucideFolderGit2:Iy,LucideFolderHeart:wy,LucideFolderInput:Cy,LucideFolderKanban:Ny,LucideFolderKey:Sy,LucideFolderLock:jy,LucideFolderMinus:$y,LucideFolderOpen:Ay,LucideFolderOpenDot:qy,LucideFolderOutput:zy,LucideFolderPen:un,LucideFolderPlus:Oc,LucideFolderRoot:Vy,LucideFolderSearch:Ty,LucideFolderSearch2:Py,LucideFolderSymlink:Hy,LucideFolderSync:Dy,LucideFolderTree:By,LucideFolderUp:Ry,LucideFolderX:Fy,LucideFolders:Ey,LucideFootprints:Oy,LucideForkKnife:fc,LucideForkKnifeCrossed:mc,LucideForklift:Uy,LucideFormInput:Zn,LucideForward:Wy,LucideFrame:Gy,LucideFramer:Zy,LucideFrown:Ky,LucideFuel:Xy,LucideFullscreen:Yy,LucideFunctionSquare:qo,LucideFunnel:xt,LucideFunnelPlus:Jy,LucideFunnelX:pn,LucideGalleryHorizontal:e4,LucideGalleryHorizontalEnd:Qy,LucideGalleryThumbnails:t4,LucideGalleryVertical:n4,LucideGalleryVerticalEnd:a4,LucideGamepad:c4,LucideGamepad2:o4,LucideGanttChart:da,LucideGanttChartSquare:ot,LucideGauge:i4,LucideGaugeCircle:Na,LucideGavel:r4,LucideGem:s4,LucideGeorgianLari:d4,LucideGhost:l4,LucideGift:h4,LucideGitBranch:p4,LucideGitBranchPlus:u4,LucideGitCommit:yn,LucideGitCommitHorizontal:yn,LucideGitCommitVertical:y4,LucideGitCompare:m4,LucideGitCompareArrows:k4,LucideGitFork:f4,LucideGitGraph:g4,LucideGitMerge:v4,LucideGitPullRequest:b4,LucideGitPullRequestArrow:M4,LucideGitPullRequestClosed:_4,LucideGitPullRequestCreate:L4,LucideGitPullRequestCreateArrow:x4,LucideGitPullRequestDraft:I4,LucideGithub:w4,LucideGitlab:C4,LucideGlassWater:N4,LucideGlasses:S4,LucideGlobe:$4,LucideGlobe2:Xa,LucideGlobeLock:j4,LucideGoal:q4,LucideGpu:A4,LucideGrab:vn,LucideGraduationCap:z4,LucideGrape:V4,LucideGrid:nt,LucideGrid2X2:gn,LucideGrid2X2Check:kn,LucideGrid2X2Plus:mn,LucideGrid2X2X:fn,LucideGrid2x2:gn,LucideGrid2x2Check:kn,LucideGrid2x2Plus:mn,LucideGrid2x2X:fn,LucideGrid3X3:nt,LucideGrid3x2:P4,LucideGrid3x3:nt,LucideGrip:H4,LucideGripHorizontal:T4,LucideGripVertical:g1,LucideGroup:D4,LucideGuitar:B4,LucideHam:R4,LucideHamburger:F4,LucideHammer:E4,LucideHand:K4,LucideHandCoins:O4,LucideHandFist:U4,LucideHandGrab:vn,LucideHandHeart:W4,LucideHandHelping:Mn,LucideHandMetal:G4,LucideHandPlatter:Z4,LucideHandbag:X4,LucideHandshake:Y4,LucideHardDrive:e5,LucideHardDriveDownload:J4,LucideHardDriveUpload:Q4,LucideHardHat:t5,LucideHash:a5,LucideHatGlasses:n5,LucideHaze:o5,LucideHdmiPort:c5,LucideHeading:u5,LucideHeading1:i5,LucideHeading2:r5,LucideHeading3:s5,LucideHeading4:d5,LucideHeading5:l5,LucideHeading6:h5,LucideHeadphoneOff:p5,LucideHeadphones:y5,LucideHeadset:k5,LucideHeart:x5,LucideHeartCrack:m5,LucideHeartHandshake:f5,LucideHeartMinus:g5,LucideHeartOff:v5,LucideHeartPlus:M5,LucideHeartPulse:_5,LucideHeater:L5,LucideHelpCircle:tt,LucideHelpingHand:Mn,LucideHexagon:I5,LucideHighlighter:b5,LucideHistory:w5,LucideHome:Lt,LucideHop:N5,LucideHopOff:C5,LucideHospital:v1,LucideHotel:S5,LucideHourglass:j5,LucideHouse:Lt,LucideHousePlug:$5,LucideHousePlus:A5,LucideHouseWifi:q5,LucideIceCream:xn,LucideIceCream2:_n,LucideIceCreamBowl:_n,LucideIceCreamCone:xn,LucideIdCard:V5,LucideIdCardLanyard:z5,LucideImage:E5,LucideImageDown:P5,LucideImageMinus:T5,LucideImageOff:H5,LucideImagePlay:D5,LucideImagePlus:B5,LucideImageUp:R5,LucideImageUpscale:F5,LucideImages:O5,LucideImport:U5,LucideInbox:W5,LucideIndent:In,LucideIndentDecrease:Ln,LucideIndentIncrease:In,LucideIndianRupee:G5,LucideInfinity:Z5,LucideInfo:K5,LucideInspect:Do,LucideInspectionPanel:X5,LucideInstagram:Y5,LucideItalic:J5,LucideIterationCcw:Q5,LucideIterationCw:ek,LucideJapaneseYen:ak,LucideJoystick:tk,LucideKanban:nk,LucideKanbanSquare:Ao,LucideKanbanSquareDashed:wo,LucideKayak:ok,LucideKey:rk,LucideKeyRound:ck,LucideKeySquare:ik,LucideKeyboard:lk,LucideKeyboardMusic:sk,LucideKeyboardOff:dk,LucideLamp:mk,LucideLampCeiling:hk,LucideLampDesk:pk,LucideLampFloor:uk,LucideLampWallDown:yk,LucideLampWallUp:kk,LucideLandPlot:fk,LucideLandmark:gk,LucideLanguages:vk,LucideLaptop:_k,LucideLaptop2:bn,LucideLaptopMinimal:bn,LucideLaptopMinimalCheck:Mk,LucideLasso:Lk,LucideLassoSelect:xk,LucideLaugh:Ik,LucideLayers:wn,LucideLayers2:bk,LucideLayers3:wn,LucideLayout:Wn,LucideLayoutDashboard:wk,LucideLayoutGrid:Ck,LucideLayoutList:Nk,LucideLayoutPanelLeft:Sk,LucideLayoutPanelTop:jk,LucideLayoutTemplate:$k,LucideLeaf:qk,LucideLeafyGreen:zk,LucideLectern:Ak,LucideLetterText:Vk,LucideLibrary:Tk,LucideLibraryBig:Pk,LucideLibrarySquare:zo,LucideLifeBuoy:Hk,LucideLigature:Dk,LucideLightbulb:Rk,LucideLightbulbOff:Bk,LucideLineChart:ia,LucideLineSquiggle:Fk,LucideLink:Uk,LucideLink2:Ek,LucideLink2Off:Ok,LucideLinkedin:Wk,LucideList:d3,LucideListCheck:Gk,LucideListChecks:Zk,LucideListCollapse:Kk,LucideListEnd:Xk,LucideListFilter:Qk,LucideListFilterPlus:Yk,LucideListMinus:Jk,LucideListMusic:e3,LucideListOrdered:t3,LucideListPlus:a3,LucideListRestart:n3,LucideListStart:o3,LucideListTodo:c3,LucideListTree:i3,LucideListVideo:r3,LucideListX:s3,LucideLoader:h3,LucideLoader2:Cn,LucideLoaderCircle:Cn,LucideLoaderPinwheel:l3,LucideLocate:y3,LucideLocateFixed:u3,LucideLocateOff:p3,LucideLocationEdit:$n,LucideLock:m3,LucideLockKeyhole:k3,LucideLockKeyholeOpen:Nn,LucideLockOpen:Sn,LucideLogIn:f3,LucideLogOut:g3,LucideLogs:v3,LucideLollipop:M3,LucideLuggage:_3,LucideMSquare:Vo,LucideMagnet:x3,LucideMail:S3,LucideMailCheck:L3,LucideMailMinus:I3,LucideMailOpen:b3,LucideMailPlus:w3,LucideMailQuestion:jn,LucideMailQuestionMark:jn,LucideMailSearch:C3,LucideMailWarning:N3,LucideMailX:j3,LucideMailbox:$3,LucideMails:q3,LucideMap:G3,LucideMapMinus:A3,LucideMapPin:O3,LucideMapPinCheck:z3,LucideMapPinCheckInside:V3,LucideMapPinHouse:P3,LucideMapPinMinus:H3,LucideMapPinMinusInside:T3,LucideMapPinOff:D3,LucideMapPinPen:$n,LucideMapPinPlus:R3,LucideMapPinPlusInside:B3,LucideMapPinX:E3,LucideMapPinXInside:F3,LucideMapPinned:U3,LucideMapPlus:W3,LucideMars:K3,LucideMarsStroke:Z3,LucideMartini:X3,LucideMaximize:Q3,LucideMaximize2:Y3,LucideMedal:J3,LucideMegaphone:tm,LucideMegaphoneOff:em,LucideMeh:am,LucideMemoryStick:nm,LucideMenu:Uc,LucideMenuSquare:Po,LucideMerge:om,LucideMessageCircle:ym,LucideMessageCircleCode:cm,LucideMessageCircleDashed:im,LucideMessageCircleHeart:rm,LucideMessageCircleMore:sm,LucideMessageCircleOff:dm,LucideMessageCirclePlus:lm,LucideMessageCircleQuestion:qn,LucideMessageCircleQuestionMark:qn,LucideMessageCircleReply:hm,LucideMessageCircleWarning:um,LucideMessageCircleX:pm,LucideMessageSquare:jm,LucideMessageSquareCode:km,LucideMessageSquareDashed:mm,LucideMessageSquareDiff:fm,LucideMessageSquareDot:gm,LucideMessageSquareHeart:vm,LucideMessageSquareLock:Mm,LucideMessageSquareMore:_m,LucideMessageSquareOff:xm,LucideMessageSquarePlus:Lm,LucideMessageSquareQuote:Im,LucideMessageSquareReply:bm,LucideMessageSquareShare:wm,LucideMessageSquareText:Cm,LucideMessageSquareWarning:Nm,LucideMessageSquareX:Sm,LucideMessagesSquare:$m,LucideMic:Am,LucideMic2:An,LucideMicOff:qm,LucideMicVocal:An,LucideMicrochip:zm,LucideMicroscope:Vm,LucideMicrowave:Pm,LucideMilestone:Tm,LucideMilk:Dm,LucideMilkOff:Hm,LucideMinimize:Rm,LucideMinimize2:Bm,LucideMinus:Fm,LucideMinusCircle:Sa,LucideMinusSquare:To,LucideMonitor:t6,LucideMonitorCheck:Em,LucideMonitorCog:Om,LucideMonitorDot:Um,LucideMonitorDown:Wm,LucideMonitorOff:Gm,LucideMonitorPause:Km,LucideMonitorPlay:Zm,LucideMonitorSmartphone:Xm,LucideMonitorSpeaker:Ym,LucideMonitorStop:Jm,LucideMonitorUp:Qm,LucideMonitorX:e6,LucideMoon:n6,LucideMoonStar:a6,LucideMoreHorizontal:Ja,LucideMoreVertical:Ya,LucideMountain:c6,LucideMountainSnow:o6,LucideMouse:h6,LucideMouseOff:i6,LucideMousePointer:d6,LucideMousePointer2:r6,LucideMousePointerBan:s6,LucideMousePointerClick:l6,LucideMousePointerSquareDashed:Co,LucideMove:a.Move,LucideMove3D:zn,LucideMove3d:zn,LucideMoveDiagonal:p6,LucideMoveDiagonal2:u6,LucideMoveDown:f6,LucideMoveDownLeft:y6,LucideMoveDownRight:k6,LucideMoveHorizontal:m6,LucideMoveLeft:g6,LucideMoveRight:v6,LucideMoveUp:x6,LucideMoveUpLeft:M6,LucideMoveUpRight:_6,LucideMoveVertical:L6,LucideMusic:C6,LucideMusic2:I6,LucideMusic3:b6,LucideMusic4:w6,LucideNavigation:$6,LucideNavigation2:S6,LucideNavigation2Off:N6,LucideNavigationOff:j6,LucideNetwork:q6,LucideNewspaper:A6,LucideNfc:z6,LucideNonBinary:V6,LucideNotebook:D6,LucideNotebookPen:P6,LucideNotebookTabs:T6,LucideNotebookText:H6,LucideNotepadText:R6,LucideNotepadTextDashed:B6,LucideNut:E6,LucideNutOff:F6,LucideOctagon:U6,LucideOctagonAlert:Vn,LucideOctagonMinus:O6,LucideOctagonPause:Pn,LucideOctagonX:Tn,LucideOmega:W6,LucideOption:G6,LucideOrbit:Z6,LucideOrigami:K6,LucideOutdent:Ln,LucidePackage:n8,LucidePackage2:X6,LucidePackageCheck:Y6,LucidePackageMinus:J6,LucidePackageOpen:Q6,LucidePackagePlus:e8,LucidePackageSearch:t8,LucidePackageX:a8,LucidePaintBucket:o8,LucidePaintRoller:c8,LucidePaintbrush:i8,LucidePaintbrush2:Hn,LucidePaintbrushVertical:Hn,LucidePalette:r8,LucidePalmtree:cc,LucidePanda:s8,LucidePanelBottom:h8,LucidePanelBottomClose:d8,LucidePanelBottomDashed:Dn,LucidePanelBottomInactive:Dn,LucidePanelBottomOpen:l8,LucidePanelLeft:En,LucidePanelLeftClose:Bn,LucidePanelLeftDashed:Rn,LucidePanelLeftInactive:Rn,LucidePanelLeftOpen:Fn,LucidePanelRight:y8,LucidePanelRightClose:u8,LucidePanelRightDashed:On,LucidePanelRightInactive:On,LucidePanelRightOpen:p8,LucidePanelTop:f8,LucidePanelTopClose:k8,LucidePanelTopDashed:Un,LucidePanelTopInactive:Un,LucidePanelTopOpen:m8,LucidePanelsLeftBottom:g8,LucidePanelsLeftRight:Ga,LucidePanelsRightBottom:v8,LucidePanelsTopBottom:Yn,LucidePanelsTopLeft:Wn,LucidePaperclip:M8,LucideParentheses:_8,LucideParkingCircle:qa,LucideParkingCircleOff:ja,LucideParkingMeter:x8,LucideParkingSquare:Bo,LucideParkingSquareOff:Ho,LucidePartyPopper:L8,LucidePause:I8,LucidePauseCircle:$a,LucidePauseOctagon:Pn,LucidePawPrint:b8,LucidePcCase:w8,LucidePen:lt,LucidePenBox:Ve,LucidePenLine:dt,LucidePenOff:N8,LucidePenSquare:Ve,LucidePenTool:C8,LucidePencil:M1,LucidePencilLine:S8,LucidePencilOff:j8,LucidePencilRuler:$8,LucidePentagon:q8,LucidePercent:A8,LucidePercentCircle:Aa,LucidePercentDiamond:Ka,LucidePercentSquare:Ro,LucidePersonStanding:V8,LucidePhilippinePeso:z8,LucidePhone:R8,LucidePhoneCall:P8,LucidePhoneForwarded:T8,LucidePhoneIncoming:H8,LucidePhoneMissed:D8,LucidePhoneOff:B8,LucidePhoneOutgoing:F8,LucidePi:E8,LucidePiSquare:Fo,LucidePiano:O8,LucidePickaxe:U8,LucidePictureInPicture:G8,LucidePictureInPicture2:W8,LucidePieChart:la,LucidePiggyBank:Z8,LucidePilcrow:X8,LucidePilcrowLeft:K8,LucidePilcrowRight:Y8,LucidePilcrowSquare:Eo,LucidePill:Q8,LucidePillBottle:J8,LucidePin:tf,LucidePinOff:ef,LucidePipette:af,LucidePizza:nf,LucidePlane:rf,LucidePlaneLanding:of,LucidePlaneTakeoff:cf,LucidePlay:sf,LucidePlayCircle:za,LucidePlaySquare:Oo,LucidePlug:lf,LucidePlug2:df,LucidePlugZap:Gn,LucidePlugZap2:Gn,LucidePlus:Wc,LucidePlusCircle:Va,LucidePlusSquare:Uo,LucidePocket:uf,LucidePocketKnife:hf,LucidePodcast:pf,LucidePointer:kf,LucidePointerOff:yf,LucidePopcorn:ff,LucidePopsicle:mf,LucidePoundSterling:gf,LucidePower:Mf,LucidePowerCircle:Pa,LucidePowerOff:vf,LucidePowerSquare:Wo,LucidePresentation:_f,LucidePrinter:Lf,LucidePrinterCheck:xf,LucideProjector:If,LucideProportions:bf,LucidePuzzle:Cf,LucidePyramid:wf,LucideQrCode:Nf,LucideQuote:Sf,LucideRabbit:jf,LucideRadar:$f,LucideRadiation:qf,LucideRadical:Af,LucideRadio:Pf,LucideRadioReceiver:zf,LucideRadioTower:Vf,LucideRadius:Tf,LucideRailSymbol:Hf,LucideRainbow:Df,LucideRat:Bf,LucideRatio:Rf,LucideReceipt:Yf,LucideReceiptCent:Ff,LucideReceiptEuro:Of,LucideReceiptIndianRupee:Ef,LucideReceiptJapaneseYen:Uf,LucideReceiptPoundSterling:Wf,LucideReceiptRussianRuble:Gf,LucideReceiptSwissFranc:Zf,LucideReceiptText:Kf,LucideReceiptTurkishLira:Xf,LucideRectangleCircle:Jf,LucideRectangleEllipsis:Zn,LucideRectangleGoggles:Qf,LucideRectangleHorizontal:e7,LucideRectangleVertical:t7,LucideRecycle:a7,LucideRedo:c7,LucideRedo2:n7,LucideRedoDot:o7,LucideRefreshCcw:r7,LucideRefreshCcwDot:i7,LucideRefreshCw:d7,LucideRefreshCwOff:s7,LucideRefrigerator:l7,LucideRegex:h7,LucideRemoveFormatting:u7,LucideRepeat:k7,LucideRepeat1:p7,LucideRepeat2:y7,LucideReplace:f7,LucideReplaceAll:m7,LucideReply:M7,LucideReplyAll:g7,LucideRewind:v7,LucideRibbon:_7,LucideRocket:x7,LucideRockingChair:b7,LucideRollerCoaster:L7,LucideRose:I7,LucideRotate3D:Kn,LucideRotate3d:Kn,LucideRotateCcw:N7,LucideRotateCcwKey:w7,LucideRotateCcwSquare:C7,LucideRotateCw:j7,LucideRotateCwSquare:S7,LucideRoute:q7,LucideRouteOff:$7,LucideRouter:A7,LucideRows:Xn,LucideRows2:Xn,LucideRows3:Yn,LucideRows4:z7,LucideRss:V7,LucideRuler:T7,LucideRulerDimensionLine:P7,LucideRussianRuble:H7,LucideSailboat:D7,LucideSalad:B7,LucideSandwich:R7,LucideSatellite:E7,LucideSatelliteDish:F7,LucideSaudiRiyal:O7,LucideSave:Z7,LucideSaveAll:U7,LucideSaveOff:W7,LucideScale:G7,LucideScale3D:Jn,LucideScale3d:Jn,LucideScaling:K7,LucideScan:og,LucideScanBarcode:X7,LucideScanEye:Y7,LucideScanFace:J7,LucideScanHeart:Q7,LucideScanLine:eg,LucideScanQrCode:tg,LucideScanSearch:ag,LucideScanText:ng,LucideScatterChart:ha,LucideSchool:cg,LucideSchool2:sc,LucideScissors:rg,LucideScissorsLineDashed:ig,LucideScissorsSquare:Go,LucideScissorsSquareDashedBottom:go,LucideScreenShare:sg,LucideScreenShareOff:dg,LucideScroll:hg,LucideScrollText:lg,LucideSearch:_1,LucideSearchCheck:ug,LucideSearchCode:pg,LucideSearchSlash:yg,LucideSearchX:kg,LucideSection:mg,LucideSend:gg,LucideSendHorizonal:Qn,LucideSendHorizontal:Qn,LucideSendToBack:fg,LucideSeparatorHorizontal:vg,LucideSeparatorVertical:Mg,LucideServer:Ig,LucideServerCog:_g,LucideServerCrash:Lg,LucideServerOff:xg,LucideSettings:wg,LucideSettings2:bg,LucideShapes:Cg,LucideShare:Sg,LucideShare2:Ng,LucideSheet:jg,LucideShell:$g,LucideShield:Rg,LucideShieldAlert:qg,LucideShieldBan:Ag,LucideShieldCheck:zg,LucideShieldClose:to,LucideShieldEllipsis:Vg,LucideShieldHalf:Pg,LucideShieldMinus:Hg,LucideShieldOff:Tg,LucideShieldPlus:Dg,LucideShieldQuestion:eo,LucideShieldQuestionMark:eo,LucideShieldUser:Bg,LucideShieldX:to,LucideShip:Eg,LucideShipWheel:Fg,LucideShirt:Og,LucideShoppingBag:Ug,LucideShoppingBasket:Wg,LucideShoppingCart:Gg,LucideShovel:Zg,LucideShowerHead:Kg,LucideShredder:Xg,LucideShrimp:Yg,LucideShrink:Jg,LucideShrub:Qg,LucideShuffle:tv,LucideSidebar:En,LucideSidebarClose:Bn,LucideSidebarOpen:Fn,LucideSigma:ev,LucideSigmaSquare:Zo,LucideSignal:iv,LucideSignalHigh:av,LucideSignalLow:nv,LucideSignalMedium:ov,LucideSignalZero:cv,LucideSignature:rv,LucideSignpost:dv,LucideSignpostBig:sv,LucideSiren:lv,LucideSkipBack:hv,LucideSkipForward:uv,LucideSkull:pv,LucideSlack:yv,LucideSlash:kv,LucideSlashSquare:Ko,LucideSlice:mv,LucideSliders:ao,LucideSlidersHorizontal:fv,LucideSlidersVertical:ao,LucideSmartphone:Mv,LucideSmartphoneCharging:gv,LucideSmartphoneNfc:vv,LucideSmile:xv,LucideSmilePlus:_v,LucideSnail:Lv,LucideSnowflake:Iv,LucideSoapDispenserDroplet:bv,LucideSofa:wv,LucideSortAsc:Et,LucideSortDesc:Bt,LucideSoup:Cv,LucideSpace:Nv,LucideSpade:Sv,LucideSparkle:jv,LucideSparkles:no,LucideSpeaker:$v,LucideSpeech:qv,LucideSpellCheck:zv,LucideSpellCheck2:Av,LucideSpline:Pv,LucideSplinePointer:Vv,LucideSplit:Tv,LucideSplitSquareHorizontal:Xo,LucideSplitSquareVertical:Yo,LucideSpool:Hv,LucideSpotlight:Dv,LucideSprayCan:Bv,LucideSprout:Rv,LucideSquare:Jv,LucideSquareActivity:It,LucideSquareArrowDown:io,LucideSquareArrowDownLeft:oo,LucideSquareArrowDownRight:co,LucideSquareArrowLeft:ro,LucideSquareArrowOutDownLeft:so,LucideSquareArrowOutDownRight:lo,LucideSquareArrowOutUpLeft:ho,LucideSquareArrowOutUpRight:uo,LucideSquareArrowRight:po,LucideSquareArrowUp:mo,LucideSquareArrowUpLeft:yo,LucideSquareArrowUpRight:ko,LucideSquareAsterisk:fo,LucideSquareBottomDashedScissors:go,LucideSquareChartGantt:ot,LucideSquareCheck:Mo,LucideSquareCheckBig:vo,LucideSquareChevronDown:_o,LucideSquareChevronLeft:xo,LucideSquareChevronRight:Lo,LucideSquareChevronUp:Io,LucideSquareCode:bo,LucideSquareDashed:No,LucideSquareDashedBottom:Ev,LucideSquareDashedBottomCode:Fv,LucideSquareDashedKanban:wo,LucideSquareDashedMousePointer:Co,LucideSquareDashedTopSolid:Ov,LucideSquareDivide:So,LucideSquareDot:$o,LucideSquareEqual:jo,LucideSquareFunction:qo,LucideSquareGanttChart:ot,LucideSquareKanban:Ao,LucideSquareLibrary:zo,LucideSquareM:Vo,LucideSquareMenu:Po,LucideSquareMinus:To,LucideSquareMousePointer:Do,LucideSquareParking:Bo,LucideSquareParkingOff:Ho,LucideSquarePause:Uv,LucideSquarePen:Ve,LucideSquarePercent:Ro,LucideSquarePi:Fo,LucideSquarePilcrow:Eo,LucideSquarePlay:Oo,LucideSquarePlus:Uo,LucideSquarePower:Wo,LucideSquareRadical:Wv,LucideSquareRoundCorner:Gv,LucideSquareScissors:Go,LucideSquareSigma:Zo,LucideSquareSlash:Ko,LucideSquareSplitHorizontal:Xo,LucideSquareSplitVertical:Yo,LucideSquareSquare:Zv,LucideSquareStack:Kv,LucideSquareStar:Xv,LucideSquareStop:Yv,LucideSquareTerminal:Jo,LucideSquareUser:ec,LucideSquareUserRound:Qo,LucideSquareX:tc,LucideSquaresExclude:Qv,LucideSquaresIntersect:e9,LucideSquaresSubtract:t9,LucideSquaresUnite:a9,LucideSquircle:o9,LucideSquircleDashed:n9,LucideSquirrel:c9,LucideStamp:i9,LucideStar:l9,LucideStarHalf:r9,LucideStarOff:s9,LucideStars:no,LucideStepBack:d9,LucideStepForward:h9,LucideStethoscope:u9,LucideSticker:p9,LucideStickyNote:y9,LucideStopCircle:Ha,LucideStore:k9,LucideStretchHorizontal:m9,LucideStretchVertical:f9,LucideStrikethrough:g9,LucideSubscript:v9,LucideSubtitles:Jt,LucideSun:b9,LucideSunDim:M9,LucideSunMedium:_9,LucideSunMoon:x9,LucideSunSnow:L9,LucideSunrise:I9,LucideSunset:w9,LucideSuperscript:C9,LucideSwatchBook:N9,LucideSwissFranc:S9,LucideSwitchCamera:j9,LucideSword:$9,LucideSwords:A9,LucideSyringe:q9,LucideTable:R9,LucideTable2:z9,LucideTableCellsMerge:V9,LucideTableCellsSplit:P9,LucideTableColumnsSplit:T9,LucideTableConfig:at,LucideTableOfContents:H9,LucideTableProperties:D9,LucideTableRowsSplit:B9,LucideTablet:E9,LucideTabletSmartphone:F9,LucideTablets:O9,LucideTag:U9,LucideTags:W9,LucideTally1:G9,LucideTally2:Z9,LucideTally3:K9,LucideTally4:X9,LucideTally5:Y9,LucideTangent:J9,LucideTarget:Q9,LucideTelescope:eM,LucideTent:aM,LucideTentTree:tM,LucideTerminal:nM,LucideTerminalSquare:Jo,LucideTestTube:oM,LucideTestTube2:ac,LucideTestTubeDiagonal:ac,LucideTestTubes:cM,LucideText:lM,LucideTextCursor:rM,LucideTextCursorInput:iM,LucideTextQuote:sM,LucideTextSearch:dM,LucideTextSelect:nc,LucideTextSelection:nc,LucideTheater:hM,LucideThermometer:kM,LucideThermometerSnowflake:uM,LucideThermometerSun:pM,LucideThumbsDown:yM,LucideThumbsUp:mM,LucideTicket:LM,LucideTicketCheck:fM,LucideTicketMinus:gM,LucideTicketPercent:vM,LucideTicketPlus:MM,LucideTicketSlash:_M,LucideTicketX:xM,LucideTickets:bM,LucideTicketsPlane:IM,LucideTimer:NM,LucideTimerOff:wM,LucideTimerReset:CM,LucideToggleLeft:SM,LucideToggleRight:jM,LucideToilet:$M,LucideToolCase:qM,LucideTornado:zM,LucideTorus:AM,LucideTouchpad:PM,LucideTouchpadOff:VM,LucideTowerControl:HM,LucideToyBrick:TM,LucideTractor:DM,LucideTrafficCone:BM,LucideTrain:oc,LucideTrainFront:FM,LucideTrainFrontTunnel:RM,LucideTrainTrack:EM,LucideTramFront:oc,LucideTransgender:OM,LucideTrash:UM,LucideTrash2:St,LucideTreeDeciduous:WM,LucideTreePalm:cc,LucideTreePine:GM,LucideTrees:ZM,LucideTrello:KM,LucideTrendingDown:XM,LucideTrendingUp:YM,LucideTrendingUpDown:JM,LucideTriangle:e_,LucideTriangleAlert:ic,LucideTriangleDashed:QM,LucideTriangleRight:t_,LucideTrophy:a_,LucideTruck:o_,LucideTruckElectric:n_,LucideTurkishLira:c_,LucideTurntable:i_,LucideTurtle:r_,LucideTv:d_,LucideTv2:rc,LucideTvMinimal:rc,LucideTvMinimalPlay:s_,LucideTwitch:l_,LucideTwitter:h_,LucideType:p_,LucideTypeOutline:u_,LucideUmbrella:k_,LucideUmbrellaOff:y_,LucideUnderline:m_,LucideUndo:v_,LucideUndo2:f_,LucideUndoDot:g_,LucideUnfoldHorizontal:M_,LucideUnfoldVertical:__,LucideUngroup:x_,LucideUniversity:sc,LucideUnlink:w_,LucideUnlink2:L_,LucideUnlock:Sn,LucideUnlockKeyhole:Nn,LucideUnplug:I_,LucideUpload:b_,LucideUploadCloud:Oa,LucideUsb:C_,LucideUser:H_,LucideUser2:yc,LucideUserCheck:N_,LucideUserCheck2:dc,LucideUserCircle:Ba,LucideUserCircle2:Da,LucideUserCog:S_,LucideUserCog2:lc,LucideUserLock:j_,LucideUserMinus:$_,LucideUserMinus2:hc,LucideUserPen:q_,LucideUserPlus:x1,LucideUserPlus2:uc,LucideUserRound:yc,LucideUserRoundCheck:dc,LucideUserRoundCog:lc,LucideUserRoundMinus:hc,LucideUserRoundPen:A_,LucideUserRoundPlus:uc,LucideUserRoundSearch:z_,LucideUserRoundX:pc,LucideUserSearch:V_,LucideUserSquare:ec,LucideUserSquare2:Qo,LucideUserStar:P_,LucideUserX:T_,LucideUserX2:pc,LucideUsers:D_,LucideUsers2:kc,LucideUsersRound:kc,LucideUtensils:fc,LucideUtensilsCrossed:mc,LucideUtilityPole:B_,LucideVariable:R_,LucideVault:F_,LucideVectorSquare:E_,LucideVegan:O_,LucideVenetianMask:U_,LucideVenus:K_,LucideVenusAndMars:W_,LucideVerified:Wt,LucideVibrate:Z_,LucideVibrateOff:G_,LucideVideo:Y_,LucideVideoOff:X_,LucideVideotape:J_,LucideView:ex,LucideVoicemail:Q_,LucideVolleyball:tx,LucideVolume:rx,LucideVolume1:ax,LucideVolume2:nx,LucideVolumeOff:ox,LucideVolumeX:cx,LucideVote:ix,LucideWallet:dx,LucideWallet2:gc,LucideWalletCards:sx,LucideWalletMinimal:gc,LucideWallpaper:lx,LucideWand:hx,LucideWand2:vc,LucideWandSparkles:vc,LucideWarehouse:ux,LucideWashingMachine:px,LucideWatch:yx,LucideWaves:mx,LucideWavesLadder:kx,LucideWaypoints:fx,LucideWebcam:gx,LucideWebhook:_x,LucideWebhookOff:vx,LucideWeight:Mx,LucideWheat:Lx,LucideWheatOff:xx,LucideWholeWord:Ix,LucideWifi:qx,LucideWifiCog:bx,LucideWifiHigh:wx,LucideWifiLow:Cx,LucideWifiOff:Nx,LucideWifiPen:Sx,LucideWifiSync:jx,LucideWifiZero:$x,LucideWind:zx,LucideWindArrowDown:Ax,LucideWine:Px,LucideWineOff:Vx,LucideWorkflow:Tx,LucideWorm:Hx,LucideWrapText:Dx,LucideWrench:Bx,LucideX:Ge,LucideXCircle:_t,LucideXOctagon:Tn,LucideXSquare:tc,LucideYoutube:Fx,LucideZap:Ex,LucideZapOff:Rx,LucideZoomIn:Ox,LucideZoomOut:Ux,Luggage:_3,LuggageIcon:_3,MSquare:Vo,MSquareIcon:Vo,Magnet:x3,MagnetIcon:x3,Mail:S3,MailCheck:L3,MailCheckIcon:L3,MailIcon:S3,MailMinus:I3,MailMinusIcon:I3,MailOpen:b3,MailOpenIcon:b3,MailPlus:w3,MailPlusIcon:w3,MailQuestion:jn,MailQuestionIcon:jn,MailQuestionMark:jn,MailQuestionMarkIcon:jn,MailSearch:C3,MailSearchIcon:C3,MailWarning:N3,MailWarningIcon:N3,MailX:j3,MailXIcon:j3,Mailbox:$3,MailboxIcon:$3,Mails:q3,MailsIcon:q3,Map:G3,MapIcon:G3,MapMinus:A3,MapMinusIcon:A3,MapPin:O3,MapPinCheck:z3,MapPinCheckIcon:z3,MapPinCheckInside:V3,MapPinCheckInsideIcon:V3,MapPinHouse:P3,MapPinHouseIcon:P3,MapPinIcon:O3,MapPinMinus:H3,MapPinMinusIcon:H3,MapPinMinusInside:T3,MapPinMinusInsideIcon:T3,MapPinOff:D3,MapPinOffIcon:D3,MapPinPen:$n,MapPinPenIcon:$n,MapPinPlus:R3,MapPinPlusIcon:R3,MapPinPlusInside:B3,MapPinPlusInsideIcon:B3,MapPinX:E3,MapPinXIcon:E3,MapPinXInside:F3,MapPinXInsideIcon:F3,MapPinned:U3,MapPinnedIcon:U3,MapPlus:W3,MapPlusIcon:W3,Mars:K3,MarsIcon:K3,MarsStroke:Z3,MarsStrokeIcon:Z3,Martini:X3,MartiniIcon:X3,Maximize:Q3,Maximize2:Y3,Maximize2Icon:Y3,MaximizeIcon:Q3,Medal:J3,MedalIcon:J3,Megaphone:tm,MegaphoneIcon:tm,MegaphoneOff:em,MegaphoneOffIcon:em,Meh:am,MehIcon:am,MemoryStick:nm,MemoryStickIcon:nm,Menu:Uc,MenuIcon:Uc,MenuSquare:Po,MenuSquareIcon:Po,Merge:om,MergeIcon:om,MessageCircle:ym,MessageCircleCode:cm,MessageCircleCodeIcon:cm,MessageCircleDashed:im,MessageCircleDashedIcon:im,MessageCircleHeart:rm,MessageCircleHeartIcon:rm,MessageCircleIcon:ym,MessageCircleMore:sm,MessageCircleMoreIcon:sm,MessageCircleOff:dm,MessageCircleOffIcon:dm,MessageCirclePlus:lm,MessageCirclePlusIcon:lm,MessageCircleQuestion:qn,MessageCircleQuestionIcon:qn,MessageCircleQuestionMark:qn,MessageCircleQuestionMarkIcon:qn,MessageCircleReply:hm,MessageCircleReplyIcon:hm,MessageCircleWarning:um,MessageCircleWarningIcon:um,MessageCircleX:pm,MessageCircleXIcon:pm,MessageSquare:jm,MessageSquareCode:km,MessageSquareCodeIcon:km,MessageSquareDashed:mm,MessageSquareDashedIcon:mm,MessageSquareDiff:fm,MessageSquareDiffIcon:fm,MessageSquareDot:gm,MessageSquareDotIcon:gm,MessageSquareHeart:vm,MessageSquareHeartIcon:vm,MessageSquareIcon:jm,MessageSquareLock:Mm,MessageSquareLockIcon:Mm,MessageSquareMore:_m,MessageSquareMoreIcon:_m,MessageSquareOff:xm,MessageSquareOffIcon:xm,MessageSquarePlus:Lm,MessageSquarePlusIcon:Lm,MessageSquareQuote:Im,MessageSquareQuoteIcon:Im,MessageSquareReply:bm,MessageSquareReplyIcon:bm,MessageSquareShare:wm,MessageSquareShareIcon:wm,MessageSquareText:Cm,MessageSquareTextIcon:Cm,MessageSquareWarning:Nm,MessageSquareWarningIcon:Nm,MessageSquareX:Sm,MessageSquareXIcon:Sm,MessagesSquare:$m,MessagesSquareIcon:$m,Mic:Am,Mic2:An,Mic2Icon:An,MicIcon:Am,MicOff:qm,MicOffIcon:qm,MicVocal:An,MicVocalIcon:An,Microchip:zm,MicrochipIcon:zm,Microscope:Vm,MicroscopeIcon:Vm,Microwave:Pm,MicrowaveIcon:Pm,Milestone:Tm,MilestoneIcon:Tm,Milk:Dm,MilkIcon:Dm,MilkOff:Hm,MilkOffIcon:Hm,Minimize:Rm,Minimize2:Bm,Minimize2Icon:Bm,MinimizeIcon:Rm,Minus:Fm,MinusCircle:Sa,MinusCircleIcon:Sa,MinusIcon:Fm,MinusSquare:To,MinusSquareIcon:To,Monitor:t6,MonitorCheck:Em,MonitorCheckIcon:Em,MonitorCog:Om,MonitorCogIcon:Om,MonitorDot:Um,MonitorDotIcon:Um,MonitorDown:Wm,MonitorDownIcon:Wm,MonitorIcon:t6,MonitorOff:Gm,MonitorOffIcon:Gm,MonitorPause:Km,MonitorPauseIcon:Km,MonitorPlay:Zm,MonitorPlayIcon:Zm,MonitorSmartphone:Xm,MonitorSmartphoneIcon:Xm,MonitorSpeaker:Ym,MonitorSpeakerIcon:Ym,MonitorStop:Jm,MonitorStopIcon:Jm,MonitorUp:Qm,MonitorUpIcon:Qm,MonitorX:e6,MonitorXIcon:e6,Moon:n6,MoonIcon:n6,MoonStar:a6,MoonStarIcon:a6,MoreHorizontal:Ja,MoreHorizontalIcon:Ja,MoreVertical:Ya,MoreVerticalIcon:Ya,Mountain:c6,MountainIcon:c6,MountainSnow:o6,MountainSnowIcon:o6,Mouse:h6,MouseIcon:h6,MouseOff:i6,MouseOffIcon:i6,MousePointer:d6,MousePointer2:r6,MousePointer2Icon:r6,MousePointerBan:s6,MousePointerBanIcon:s6,MousePointerClick:l6,MousePointerClickIcon:l6,MousePointerIcon:d6,MousePointerSquareDashed:Co,MousePointerSquareDashedIcon:Co,Move:a.Move,Move3D:zn,Move3DIcon:zn,Move3d:zn,Move3dIcon:zn,MoveDiagonal:p6,MoveDiagonal2:u6,MoveDiagonal2Icon:u6,MoveDiagonalIcon:p6,MoveDown:f6,MoveDownIcon:f6,MoveDownLeft:y6,MoveDownLeftIcon:y6,MoveDownRight:k6,MoveDownRightIcon:k6,MoveHorizontal:m6,MoveHorizontalIcon:m6,MoveIcon:a.Move,MoveLeft:g6,MoveLeftIcon:g6,MoveRight:v6,MoveRightIcon:v6,MoveUp:x6,MoveUpIcon:x6,MoveUpLeft:M6,MoveUpLeftIcon:M6,MoveUpRight:_6,MoveUpRightIcon:_6,MoveVertical:L6,MoveVerticalIcon:L6,Music:C6,Music2:I6,Music2Icon:I6,Music3:b6,Music3Icon:b6,Music4:w6,Music4Icon:w6,MusicIcon:C6,Navigation:$6,Navigation2:S6,Navigation2Icon:S6,Navigation2Off:N6,Navigation2OffIcon:N6,NavigationIcon:$6,NavigationOff:j6,NavigationOffIcon:j6,Network:q6,NetworkIcon:q6,Newspaper:A6,NewspaperIcon:A6,Nfc:z6,NfcIcon:z6,NonBinary:V6,NonBinaryIcon:V6,Notebook:D6,NotebookIcon:D6,NotebookPen:P6,NotebookPenIcon:P6,NotebookTabs:T6,NotebookTabsIcon:T6,NotebookText:H6,NotebookTextIcon:H6,NotepadText:R6,NotepadTextDashed:B6,NotepadTextDashedIcon:B6,NotepadTextIcon:R6,Nut:E6,NutIcon:E6,NutOff:F6,NutOffIcon:F6,Octagon:U6,OctagonAlert:Vn,OctagonAlertIcon:Vn,OctagonIcon:U6,OctagonMinus:O6,OctagonMinusIcon:O6,OctagonPause:Pn,OctagonPauseIcon:Pn,OctagonX:Tn,OctagonXIcon:Tn,Omega:W6,OmegaIcon:W6,Option:G6,OptionIcon:G6,Orbit:Z6,OrbitIcon:Z6,Origami:K6,OrigamiIcon:K6,Outdent:Ln,OutdentIcon:Ln,Package:n8,Package2:X6,Package2Icon:X6,PackageCheck:Y6,PackageCheckIcon:Y6,PackageIcon:n8,PackageMinus:J6,PackageMinusIcon:J6,PackageOpen:Q6,PackageOpenIcon:Q6,PackagePlus:e8,PackagePlusIcon:e8,PackageSearch:t8,PackageSearchIcon:t8,PackageX:a8,PackageXIcon:a8,PaintBucket:o8,PaintBucketIcon:o8,PaintRoller:c8,PaintRollerIcon:c8,Paintbrush:i8,Paintbrush2:Hn,Paintbrush2Icon:Hn,PaintbrushIcon:i8,PaintbrushVertical:Hn,PaintbrushVerticalIcon:Hn,Palette:r8,PaletteIcon:r8,Palmtree:cc,PalmtreeIcon:cc,Panda:s8,PandaIcon:s8,PanelBottom:h8,PanelBottomClose:d8,PanelBottomCloseIcon:d8,PanelBottomDashed:Dn,PanelBottomDashedIcon:Dn,PanelBottomIcon:h8,PanelBottomInactive:Dn,PanelBottomInactiveIcon:Dn,PanelBottomOpen:l8,PanelBottomOpenIcon:l8,PanelLeft:En,PanelLeftClose:Bn,PanelLeftCloseIcon:Bn,PanelLeftDashed:Rn,PanelLeftDashedIcon:Rn,PanelLeftIcon:En,PanelLeftInactive:Rn,PanelLeftInactiveIcon:Rn,PanelLeftOpen:Fn,PanelLeftOpenIcon:Fn,PanelRight:y8,PanelRightClose:u8,PanelRightCloseIcon:u8,PanelRightDashed:On,PanelRightDashedIcon:On,PanelRightIcon:y8,PanelRightInactive:On,PanelRightInactiveIcon:On,PanelRightOpen:p8,PanelRightOpenIcon:p8,PanelTop:f8,PanelTopClose:k8,PanelTopCloseIcon:k8,PanelTopDashed:Un,PanelTopDashedIcon:Un,PanelTopIcon:f8,PanelTopInactive:Un,PanelTopInactiveIcon:Un,PanelTopOpen:m8,PanelTopOpenIcon:m8,PanelsLeftBottom:g8,PanelsLeftBottomIcon:g8,PanelsLeftRight:Ga,PanelsLeftRightIcon:Ga,PanelsRightBottom:v8,PanelsRightBottomIcon:v8,PanelsTopBottom:Yn,PanelsTopBottomIcon:Yn,PanelsTopLeft:Wn,PanelsTopLeftIcon:Wn,Paperclip:M8,PaperclipIcon:M8,Parentheses:_8,ParenthesesIcon:_8,ParkingCircle:qa,ParkingCircleIcon:qa,ParkingCircleOff:ja,ParkingCircleOffIcon:ja,ParkingMeter:x8,ParkingMeterIcon:x8,ParkingSquare:Bo,ParkingSquareIcon:Bo,ParkingSquareOff:Ho,ParkingSquareOffIcon:Ho,PartyPopper:L8,PartyPopperIcon:L8,Pause:I8,PauseCircle:$a,PauseCircleIcon:$a,PauseIcon:I8,PauseOctagon:Pn,PauseOctagonIcon:Pn,PawPrint:b8,PawPrintIcon:b8,PcCase:w8,PcCaseIcon:w8,Pen:lt,PenBox:Ve,PenBoxIcon:Ve,PenIcon:lt,PenLine:dt,PenLineIcon:dt,PenOff:N8,PenOffIcon:N8,PenSquare:Ve,PenSquareIcon:Ve,PenTool:C8,PenToolIcon:C8,Pencil:M1,PencilIcon:M1,PencilLine:S8,PencilLineIcon:S8,PencilOff:j8,PencilOffIcon:j8,PencilRuler:$8,PencilRulerIcon:$8,Pentagon:q8,PentagonIcon:q8,Percent:A8,PercentCircle:Aa,PercentCircleIcon:Aa,PercentDiamond:Ka,PercentDiamondIcon:Ka,PercentIcon:A8,PercentSquare:Ro,PercentSquareIcon:Ro,PersonStanding:V8,PersonStandingIcon:V8,PhilippinePeso:z8,PhilippinePesoIcon:z8,Phone:R8,PhoneCall:P8,PhoneCallIcon:P8,PhoneForwarded:T8,PhoneForwardedIcon:T8,PhoneIcon:R8,PhoneIncoming:H8,PhoneIncomingIcon:H8,PhoneMissed:D8,PhoneMissedIcon:D8,PhoneOff:B8,PhoneOffIcon:B8,PhoneOutgoing:F8,PhoneOutgoingIcon:F8,Pi:E8,PiIcon:E8,PiSquare:Fo,PiSquareIcon:Fo,Piano:O8,PianoIcon:O8,Pickaxe:U8,PickaxeIcon:U8,PictureInPicture:G8,PictureInPicture2:W8,PictureInPicture2Icon:W8,PictureInPictureIcon:G8,PieChart:la,PieChartIcon:la,PiggyBank:Z8,PiggyBankIcon:Z8,Pilcrow:X8,PilcrowIcon:X8,PilcrowLeft:K8,PilcrowLeftIcon:K8,PilcrowRight:Y8,PilcrowRightIcon:Y8,PilcrowSquare:Eo,PilcrowSquareIcon:Eo,Pill:Q8,PillBottle:J8,PillBottleIcon:J8,PillIcon:Q8,Pin:tf,PinIcon:tf,PinOff:ef,PinOffIcon:ef,Pipette:af,PipetteIcon:af,Pizza:nf,PizzaIcon:nf,Plane:rf,PlaneIcon:rf,PlaneLanding:of,PlaneLandingIcon:of,PlaneTakeoff:cf,PlaneTakeoffIcon:cf,Play:sf,PlayCircle:za,PlayCircleIcon:za,PlayIcon:sf,PlaySquare:Oo,PlaySquareIcon:Oo,Plug:lf,Plug2:df,Plug2Icon:df,PlugIcon:lf,PlugZap:Gn,PlugZap2:Gn,PlugZap2Icon:Gn,PlugZapIcon:Gn,Plus:Wc,PlusCircle:Va,PlusCircleIcon:Va,PlusIcon:Wc,PlusSquare:Uo,PlusSquareIcon:Uo,Pocket:uf,PocketIcon:uf,PocketKnife:hf,PocketKnifeIcon:hf,Podcast:pf,PodcastIcon:pf,Pointer:kf,PointerIcon:kf,PointerOff:yf,PointerOffIcon:yf,Popcorn:ff,PopcornIcon:ff,Popsicle:mf,PopsicleIcon:mf,PoundSterling:gf,PoundSterlingIcon:gf,Power:Mf,PowerCircle:Pa,PowerCircleIcon:Pa,PowerIcon:Mf,PowerOff:vf,PowerOffIcon:vf,PowerSquare:Wo,PowerSquareIcon:Wo,Presentation:_f,PresentationIcon:_f,Printer:Lf,PrinterCheck:xf,PrinterCheckIcon:xf,PrinterIcon:Lf,Projector:If,ProjectorIcon:If,Proportions:bf,ProportionsIcon:bf,Puzzle:Cf,PuzzleIcon:Cf,Pyramid:wf,PyramidIcon:wf,QrCode:Nf,QrCodeIcon:Nf,Quote:Sf,QuoteIcon:Sf,Rabbit:jf,RabbitIcon:jf,Radar:$f,RadarIcon:$f,Radiation:qf,RadiationIcon:qf,Radical:Af,RadicalIcon:Af,Radio:Pf,RadioIcon:Pf,RadioReceiver:zf,RadioReceiverIcon:zf,RadioTower:Vf,RadioTowerIcon:Vf,Radius:Tf,RadiusIcon:Tf,RailSymbol:Hf,RailSymbolIcon:Hf,Rainbow:Df,RainbowIcon:Df,Rat:Bf,RatIcon:Bf,Ratio:Rf,RatioIcon:Rf,Receipt:Yf,ReceiptCent:Ff,ReceiptCentIcon:Ff,ReceiptEuro:Of,ReceiptEuroIcon:Of,ReceiptIcon:Yf,ReceiptIndianRupee:Ef,ReceiptIndianRupeeIcon:Ef,ReceiptJapaneseYen:Uf,ReceiptJapaneseYenIcon:Uf,ReceiptPoundSterling:Wf,ReceiptPoundSterlingIcon:Wf,ReceiptRussianRuble:Gf,ReceiptRussianRubleIcon:Gf,ReceiptSwissFranc:Zf,ReceiptSwissFrancIcon:Zf,ReceiptText:Kf,ReceiptTextIcon:Kf,ReceiptTurkishLira:Xf,ReceiptTurkishLiraIcon:Xf,RectangleCircle:Jf,RectangleCircleIcon:Jf,RectangleEllipsis:Zn,RectangleEllipsisIcon:Zn,RectangleGoggles:Qf,RectangleGogglesIcon:Qf,RectangleHorizontal:e7,RectangleHorizontalIcon:e7,RectangleVertical:t7,RectangleVerticalIcon:t7,Recycle:a7,RecycleIcon:a7,Redo:c7,Redo2:n7,Redo2Icon:n7,RedoDot:o7,RedoDotIcon:o7,RedoIcon:c7,RefreshCcw:r7,RefreshCcwDot:i7,RefreshCcwDotIcon:i7,RefreshCcwIcon:r7,RefreshCw:d7,RefreshCwIcon:d7,RefreshCwOff:s7,RefreshCwOffIcon:s7,Refrigerator:l7,RefrigeratorIcon:l7,Regex:h7,RegexIcon:h7,RemoveFormatting:u7,RemoveFormattingIcon:u7,Repeat:k7,Repeat1:p7,Repeat1Icon:p7,Repeat2:y7,Repeat2Icon:y7,RepeatIcon:k7,Replace:f7,ReplaceAll:m7,ReplaceAllIcon:m7,ReplaceIcon:f7,Reply:M7,ReplyAll:g7,ReplyAllIcon:g7,ReplyIcon:M7,Rewind:v7,RewindIcon:v7,Ribbon:_7,RibbonIcon:_7,Rocket:x7,RocketIcon:x7,RockingChair:b7,RockingChairIcon:b7,RollerCoaster:L7,RollerCoasterIcon:L7,Rose:I7,RoseIcon:I7,Rotate3D:Kn,Rotate3DIcon:Kn,Rotate3d:Kn,Rotate3dIcon:Kn,RotateCcw:N7,RotateCcwIcon:N7,RotateCcwKey:w7,RotateCcwKeyIcon:w7,RotateCcwSquare:C7,RotateCcwSquareIcon:C7,RotateCw:j7,RotateCwIcon:j7,RotateCwSquare:S7,RotateCwSquareIcon:S7,Route:q7,RouteIcon:q7,RouteOff:$7,RouteOffIcon:$7,Router:A7,RouterIcon:A7,Rows:Xn,Rows2:Xn,Rows2Icon:Xn,Rows3:Yn,Rows3Icon:Yn,Rows4:z7,Rows4Icon:z7,RowsIcon:Xn,Rss:V7,RssIcon:V7,Ruler:T7,RulerDimensionLine:P7,RulerDimensionLineIcon:P7,RulerIcon:T7,RussianRuble:H7,RussianRubleIcon:H7,Sailboat:D7,SailboatIcon:D7,Salad:B7,SaladIcon:B7,Sandwich:R7,SandwichIcon:R7,Satellite:E7,SatelliteDish:F7,SatelliteDishIcon:F7,SatelliteIcon:E7,SaudiRiyal:O7,SaudiRiyalIcon:O7,Save:Z7,SaveAll:U7,SaveAllIcon:U7,SaveIcon:Z7,SaveOff:W7,SaveOffIcon:W7,Scale:G7,Scale3D:Jn,Scale3DIcon:Jn,Scale3d:Jn,Scale3dIcon:Jn,ScaleIcon:G7,Scaling:K7,ScalingIcon:K7,Scan:og,ScanBarcode:X7,ScanBarcodeIcon:X7,ScanEye:Y7,ScanEyeIcon:Y7,ScanFace:J7,ScanFaceIcon:J7,ScanHeart:Q7,ScanHeartIcon:Q7,ScanIcon:og,ScanLine:eg,ScanLineIcon:eg,ScanQrCode:tg,ScanQrCodeIcon:tg,ScanSearch:ag,ScanSearchIcon:ag,ScanText:ng,ScanTextIcon:ng,ScatterChart:ha,ScatterChartIcon:ha,School:cg,School2:sc,School2Icon:sc,SchoolIcon:cg,Scissors:rg,ScissorsIcon:rg,ScissorsLineDashed:ig,ScissorsLineDashedIcon:ig,ScissorsSquare:Go,ScissorsSquareDashedBottom:go,ScissorsSquareDashedBottomIcon:go,ScissorsSquareIcon:Go,ScreenShare:sg,ScreenShareIcon:sg,ScreenShareOff:dg,ScreenShareOffIcon:dg,Scroll:hg,ScrollIcon:hg,ScrollText:lg,ScrollTextIcon:lg,Search:_1,SearchCheck:ug,SearchCheckIcon:ug,SearchCode:pg,SearchCodeIcon:pg,SearchIcon:_1,SearchSlash:yg,SearchSlashIcon:yg,SearchX:kg,SearchXIcon:kg,Section:mg,SectionIcon:mg,Send:gg,SendHorizonal:Qn,SendHorizonalIcon:Qn,SendHorizontal:Qn,SendHorizontalIcon:Qn,SendIcon:gg,SendToBack:fg,SendToBackIcon:fg,SeparatorHorizontal:vg,SeparatorHorizontalIcon:vg,SeparatorVertical:Mg,SeparatorVerticalIcon:Mg,Server:Ig,ServerCog:_g,ServerCogIcon:_g,ServerCrash:Lg,ServerCrashIcon:Lg,ServerIcon:Ig,ServerOff:xg,ServerOffIcon:xg,Settings:wg,Settings2:bg,Settings2Icon:bg,SettingsIcon:wg,Shapes:Cg,ShapesIcon:Cg,Share:Sg,Share2:Ng,Share2Icon:Ng,ShareIcon:Sg,Sheet:jg,SheetIcon:jg,Shell:$g,ShellIcon:$g,Shield:Rg,ShieldAlert:qg,ShieldAlertIcon:qg,ShieldBan:Ag,ShieldBanIcon:Ag,ShieldCheck:zg,ShieldCheckIcon:zg,ShieldClose:to,ShieldCloseIcon:to,ShieldEllipsis:Vg,ShieldEllipsisIcon:Vg,ShieldHalf:Pg,ShieldHalfIcon:Pg,ShieldIcon:Rg,ShieldMinus:Hg,ShieldMinusIcon:Hg,ShieldOff:Tg,ShieldOffIcon:Tg,ShieldPlus:Dg,ShieldPlusIcon:Dg,ShieldQuestion:eo,ShieldQuestionIcon:eo,ShieldQuestionMark:eo,ShieldQuestionMarkIcon:eo,ShieldUser:Bg,ShieldUserIcon:Bg,ShieldX:to,ShieldXIcon:to,Ship:Eg,ShipIcon:Eg,ShipWheel:Fg,ShipWheelIcon:Fg,Shirt:Og,ShirtIcon:Og,ShoppingBag:Ug,ShoppingBagIcon:Ug,ShoppingBasket:Wg,ShoppingBasketIcon:Wg,ShoppingCart:Gg,ShoppingCartIcon:Gg,Shovel:Zg,ShovelIcon:Zg,ShowerHead:Kg,ShowerHeadIcon:Kg,Shredder:Xg,ShredderIcon:Xg,Shrimp:Yg,ShrimpIcon:Yg,Shrink:Jg,ShrinkIcon:Jg,Shrub:Qg,ShrubIcon:Qg,Shuffle:tv,ShuffleIcon:tv,Sidebar:En,SidebarClose:Bn,SidebarCloseIcon:Bn,SidebarIcon:En,SidebarOpen:Fn,SidebarOpenIcon:Fn,Sigma:ev,SigmaIcon:ev,SigmaSquare:Zo,SigmaSquareIcon:Zo,Signal:iv,SignalHigh:av,SignalHighIcon:av,SignalIcon:iv,SignalLow:nv,SignalLowIcon:nv,SignalMedium:ov,SignalMediumIcon:ov,SignalZero:cv,SignalZeroIcon:cv,Signature:rv,SignatureIcon:rv,Signpost:dv,SignpostBig:sv,SignpostBigIcon:sv,SignpostIcon:dv,Siren:lv,SirenIcon:lv,SkipBack:hv,SkipBackIcon:hv,SkipForward:uv,SkipForwardIcon:uv,Skull:pv,SkullIcon:pv,Slack:yv,SlackIcon:yv,Slash:kv,SlashIcon:kv,SlashSquare:Ko,SlashSquareIcon:Ko,Slice:mv,SliceIcon:mv,Sliders:ao,SlidersHorizontal:fv,SlidersHorizontalIcon:fv,SlidersIcon:ao,SlidersVertical:ao,SlidersVerticalIcon:ao,Smartphone:Mv,SmartphoneCharging:gv,SmartphoneChargingIcon:gv,SmartphoneIcon:Mv,SmartphoneNfc:vv,SmartphoneNfcIcon:vv,Smile:xv,SmileIcon:xv,SmilePlus:_v,SmilePlusIcon:_v,Snail:Lv,SnailIcon:Lv,Snowflake:Iv,SnowflakeIcon:Iv,SoapDispenserDroplet:bv,SoapDispenserDropletIcon:bv,Sofa:wv,SofaIcon:wv,SortAsc:Et,SortAscIcon:Et,SortDesc:Bt,SortDescIcon:Bt,Soup:Cv,SoupIcon:Cv,Space:Nv,SpaceIcon:Nv,Spade:Sv,SpadeIcon:Sv,Sparkle:jv,SparkleIcon:jv,Sparkles:no,SparklesIcon:no,Speaker:$v,SpeakerIcon:$v,Speech:qv,SpeechIcon:qv,SpellCheck:zv,SpellCheck2:Av,SpellCheck2Icon:Av,SpellCheckIcon:zv,Spline:Pv,SplineIcon:Pv,SplinePointer:Vv,SplinePointerIcon:Vv,Split:Tv,SplitIcon:Tv,SplitSquareHorizontal:Xo,SplitSquareHorizontalIcon:Xo,SplitSquareVertical:Yo,SplitSquareVerticalIcon:Yo,Spool:Hv,SpoolIcon:Hv,Spotlight:Dv,SpotlightIcon:Dv,SprayCan:Bv,SprayCanIcon:Bv,Sprout:Rv,SproutIcon:Rv,Square:Jv,SquareActivity:It,SquareActivityIcon:It,SquareArrowDown:io,SquareArrowDownIcon:io,SquareArrowDownLeft:oo,SquareArrowDownLeftIcon:oo,SquareArrowDownRight:co,SquareArrowDownRightIcon:co,SquareArrowLeft:ro,SquareArrowLeftIcon:ro,SquareArrowOutDownLeft:so,SquareArrowOutDownLeftIcon:so,SquareArrowOutDownRight:lo,SquareArrowOutDownRightIcon:lo,SquareArrowOutUpLeft:ho,SquareArrowOutUpLeftIcon:ho,SquareArrowOutUpRight:uo,SquareArrowOutUpRightIcon:uo,SquareArrowRight:po,SquareArrowRightIcon:po,SquareArrowUp:mo,SquareArrowUpIcon:mo,SquareArrowUpLeft:yo,SquareArrowUpLeftIcon:yo,SquareArrowUpRight:ko,SquareArrowUpRightIcon:ko,SquareAsterisk:fo,SquareAsteriskIcon:fo,SquareBottomDashedScissors:go,SquareBottomDashedScissorsIcon:go,SquareChartGantt:ot,SquareChartGanttIcon:ot,SquareCheck:Mo,SquareCheckBig:vo,SquareCheckBigIcon:vo,SquareCheckIcon:Mo,SquareChevronDown:_o,SquareChevronDownIcon:_o,SquareChevronLeft:xo,SquareChevronLeftIcon:xo,SquareChevronRight:Lo,SquareChevronRightIcon:Lo,SquareChevronUp:Io,SquareChevronUpIcon:Io,SquareCode:bo,SquareCodeIcon:bo,SquareDashed:No,SquareDashedBottom:Ev,SquareDashedBottomCode:Fv,SquareDashedBottomCodeIcon:Fv,SquareDashedBottomIcon:Ev,SquareDashedIcon:No,SquareDashedKanban:wo,SquareDashedKanbanIcon:wo,SquareDashedMousePointer:Co,SquareDashedMousePointerIcon:Co,SquareDashedTopSolid:Ov,SquareDashedTopSolidIcon:Ov,SquareDivide:So,SquareDivideIcon:So,SquareDot:$o,SquareDotIcon:$o,SquareEqual:jo,SquareEqualIcon:jo,SquareFunction:qo,SquareFunctionIcon:qo,SquareGanttChart:ot,SquareGanttChartIcon:ot,SquareIcon:Jv,SquareKanban:Ao,SquareKanbanIcon:Ao,SquareLibrary:zo,SquareLibraryIcon:zo,SquareM:Vo,SquareMIcon:Vo,SquareMenu:Po,SquareMenuIcon:Po,SquareMinus:To,SquareMinusIcon:To,SquareMousePointer:Do,SquareMousePointerIcon:Do,SquareParking:Bo,SquareParkingIcon:Bo,SquareParkingOff:Ho,SquareParkingOffIcon:Ho,SquarePause:Uv,SquarePauseIcon:Uv,SquarePen:Ve,SquarePenIcon:Ve,SquarePercent:Ro,SquarePercentIcon:Ro,SquarePi:Fo,SquarePiIcon:Fo,SquarePilcrow:Eo,SquarePilcrowIcon:Eo,SquarePlay:Oo,SquarePlayIcon:Oo,SquarePlus:Uo,SquarePlusIcon:Uo,SquarePower:Wo,SquarePowerIcon:Wo,SquareRadical:Wv,SquareRadicalIcon:Wv,SquareRoundCorner:Gv,SquareRoundCornerIcon:Gv,SquareScissors:Go,SquareScissorsIcon:Go,SquareSigma:Zo,SquareSigmaIcon:Zo,SquareSlash:Ko,SquareSlashIcon:Ko,SquareSplitHorizontal:Xo,SquareSplitHorizontalIcon:Xo,SquareSplitVertical:Yo,SquareSplitVerticalIcon:Yo,SquareSquare:Zv,SquareSquareIcon:Zv,SquareStack:Kv,SquareStackIcon:Kv,SquareStar:Xv,SquareStarIcon:Xv,SquareStop:Yv,SquareStopIcon:Yv,SquareTerminal:Jo,SquareTerminalIcon:Jo,SquareUser:ec,SquareUserIcon:ec,SquareUserRound:Qo,SquareUserRoundIcon:Qo,SquareX:tc,SquareXIcon:tc,SquaresExclude:Qv,SquaresExcludeIcon:Qv,SquaresIntersect:e9,SquaresIntersectIcon:e9,SquaresSubtract:t9,SquaresSubtractIcon:t9,SquaresUnite:a9,SquaresUniteIcon:a9,Squircle:o9,SquircleDashed:n9,SquircleDashedIcon:n9,SquircleIcon:o9,Squirrel:c9,SquirrelIcon:c9,Stamp:i9,StampIcon:i9,Star:l9,StarHalf:r9,StarHalfIcon:r9,StarIcon:l9,StarOff:s9,StarOffIcon:s9,Stars:no,StarsIcon:no,StepBack:d9,StepBackIcon:d9,StepForward:h9,StepForwardIcon:h9,Stethoscope:u9,StethoscopeIcon:u9,Sticker:p9,StickerIcon:p9,StickyNote:y9,StickyNoteIcon:y9,StopCircle:Ha,StopCircleIcon:Ha,Store:k9,StoreIcon:k9,StretchHorizontal:m9,StretchHorizontalIcon:m9,StretchVertical:f9,StretchVerticalIcon:f9,Strikethrough:g9,StrikethroughIcon:g9,Subscript:v9,SubscriptIcon:v9,Subtitles:Jt,SubtitlesIcon:Jt,Sun:b9,SunDim:M9,SunDimIcon:M9,SunIcon:b9,SunMedium:_9,SunMediumIcon:_9,SunMoon:x9,SunMoonIcon:x9,SunSnow:L9,SunSnowIcon:L9,Sunrise:I9,SunriseIcon:I9,Sunset:w9,SunsetIcon:w9,Superscript:C9,SuperscriptIcon:C9,SwatchBook:N9,SwatchBookIcon:N9,SwissFranc:S9,SwissFrancIcon:S9,SwitchCamera:j9,SwitchCameraIcon:j9,Sword:$9,SwordIcon:$9,Swords:A9,SwordsIcon:A9,Syringe:q9,SyringeIcon:q9,Table:R9,Table2:z9,Table2Icon:z9,TableCellsMerge:V9,TableCellsMergeIcon:V9,TableCellsSplit:P9,TableCellsSplitIcon:P9,TableColumnsSplit:T9,TableColumnsSplitIcon:T9,TableConfig:at,TableConfigIcon:at,TableIcon:R9,TableOfContents:H9,TableOfContentsIcon:H9,TableProperties:D9,TablePropertiesIcon:D9,TableRowsSplit:B9,TableRowsSplitIcon:B9,Tablet:E9,TabletIcon:E9,TabletSmartphone:F9,TabletSmartphoneIcon:F9,Tablets:O9,TabletsIcon:O9,Tag:U9,TagIcon:U9,Tags:W9,TagsIcon:W9,Tally1:G9,Tally1Icon:G9,Tally2:Z9,Tally2Icon:Z9,Tally3:K9,Tally3Icon:K9,Tally4:X9,Tally4Icon:X9,Tally5:Y9,Tally5Icon:Y9,Tangent:J9,TangentIcon:J9,Target:Q9,TargetIcon:Q9,Telescope:eM,TelescopeIcon:eM,Tent:aM,TentIcon:aM,TentTree:tM,TentTreeIcon:tM,Terminal:nM,TerminalIcon:nM,TerminalSquare:Jo,TerminalSquareIcon:Jo,TestTube:oM,TestTube2:ac,TestTube2Icon:ac,TestTubeDiagonal:ac,TestTubeDiagonalIcon:ac,TestTubeIcon:oM,TestTubes:cM,TestTubesIcon:cM,Text:lM,TextCursor:rM,TextCursorIcon:rM,TextCursorInput:iM,TextCursorInputIcon:iM,TextIcon:lM,TextQuote:sM,TextQuoteIcon:sM,TextSearch:dM,TextSearchIcon:dM,TextSelect:nc,TextSelectIcon:nc,TextSelection:nc,TextSelectionIcon:nc,Theater:hM,TheaterIcon:hM,Thermometer:kM,ThermometerIcon:kM,ThermometerSnowflake:uM,ThermometerSnowflakeIcon:uM,ThermometerSun:pM,ThermometerSunIcon:pM,ThumbsDown:yM,ThumbsDownIcon:yM,ThumbsUp:mM,ThumbsUpIcon:mM,Ticket:LM,TicketCheck:fM,TicketCheckIcon:fM,TicketIcon:LM,TicketMinus:gM,TicketMinusIcon:gM,TicketPercent:vM,TicketPercentIcon:vM,TicketPlus:MM,TicketPlusIcon:MM,TicketSlash:_M,TicketSlashIcon:_M,TicketX:xM,TicketXIcon:xM,Tickets:bM,TicketsIcon:bM,TicketsPlane:IM,TicketsPlaneIcon:IM,Timer:NM,TimerIcon:NM,TimerOff:wM,TimerOffIcon:wM,TimerReset:CM,TimerResetIcon:CM,ToggleLeft:SM,ToggleLeftIcon:SM,ToggleRight:jM,ToggleRightIcon:jM,Toilet:$M,ToiletIcon:$M,ToolCase:qM,ToolCaseIcon:qM,Tornado:zM,TornadoIcon:zM,Torus:AM,TorusIcon:AM,Touchpad:PM,TouchpadIcon:PM,TouchpadOff:VM,TouchpadOffIcon:VM,TowerControl:HM,TowerControlIcon:HM,ToyBrick:TM,ToyBrickIcon:TM,Tractor:DM,TractorIcon:DM,TrafficCone:BM,TrafficConeIcon:BM,Train:oc,TrainFront:FM,TrainFrontIcon:FM,TrainFrontTunnel:RM,TrainFrontTunnelIcon:RM,TrainIcon:oc,TrainTrack:EM,TrainTrackIcon:EM,TramFront:oc,TramFrontIcon:oc,Transgender:OM,TransgenderIcon:OM,Trash:UM,Trash2:St,Trash2Icon:St,TrashIcon:UM,TreeDeciduous:WM,TreeDeciduousIcon:WM,TreePalm:cc,TreePalmIcon:cc,TreePine:GM,TreePineIcon:GM,Trees:ZM,TreesIcon:ZM,Trello:KM,TrelloIcon:KM,TrendingDown:XM,TrendingDownIcon:XM,TrendingUp:YM,TrendingUpDown:JM,TrendingUpDownIcon:JM,TrendingUpIcon:YM,Triangle:e_,TriangleAlert:ic,TriangleAlertIcon:ic,TriangleDashed:QM,TriangleDashedIcon:QM,TriangleIcon:e_,TriangleRight:t_,TriangleRightIcon:t_,Trophy:a_,TrophyIcon:a_,Truck:o_,TruckElectric:n_,TruckElectricIcon:n_,TruckIcon:o_,TurkishLira:c_,TurkishLiraIcon:c_,Turntable:i_,TurntableIcon:i_,Turtle:r_,TurtleIcon:r_,Tv:d_,Tv2:rc,Tv2Icon:rc,TvIcon:d_,TvMinimal:rc,TvMinimalIcon:rc,TvMinimalPlay:s_,TvMinimalPlayIcon:s_,Twitch:l_,TwitchIcon:l_,Twitter:h_,TwitterIcon:h_,Type:p_,TypeIcon:p_,TypeOutline:u_,TypeOutlineIcon:u_,Umbrella:k_,UmbrellaIcon:k_,UmbrellaOff:y_,UmbrellaOffIcon:y_,Underline:m_,UnderlineIcon:m_,Undo:v_,Undo2:f_,Undo2Icon:f_,UndoDot:g_,UndoDotIcon:g_,UndoIcon:v_,UnfoldHorizontal:M_,UnfoldHorizontalIcon:M_,UnfoldVertical:__,UnfoldVerticalIcon:__,Ungroup:x_,UngroupIcon:x_,University:sc,UniversityIcon:sc,Unlink:w_,Unlink2:L_,Unlink2Icon:L_,UnlinkIcon:w_,Unlock:Sn,UnlockIcon:Sn,UnlockKeyhole:Nn,UnlockKeyholeIcon:Nn,Unplug:I_,UnplugIcon:I_,Upload:b_,UploadCloud:Oa,UploadCloudIcon:Oa,UploadIcon:b_,Usb:C_,UsbIcon:C_,User:H_,User2:yc,User2Icon:yc,UserCheck:N_,UserCheck2:dc,UserCheck2Icon:dc,UserCheckIcon:N_,UserCircle:Ba,UserCircle2:Da,UserCircle2Icon:Da,UserCircleIcon:Ba,UserCog:S_,UserCog2:lc,UserCog2Icon:lc,UserCogIcon:S_,UserIcon:H_,UserLock:j_,UserLockIcon:j_,UserMinus:$_,UserMinus2:hc,UserMinus2Icon:hc,UserMinusIcon:$_,UserPen:q_,UserPenIcon:q_,UserPlus:x1,UserPlus2:uc,UserPlus2Icon:uc,UserPlusIcon:x1,UserRound:yc,UserRoundCheck:dc,UserRoundCheckIcon:dc,UserRoundCog:lc,UserRoundCogIcon:lc,UserRoundIcon:yc,UserRoundMinus:hc,UserRoundMinusIcon:hc,UserRoundPen:A_,UserRoundPenIcon:A_,UserRoundPlus:uc,UserRoundPlusIcon:uc,UserRoundSearch:z_,UserRoundSearchIcon:z_,UserRoundX:pc,UserRoundXIcon:pc,UserSearch:V_,UserSearchIcon:V_,UserSquare:ec,UserSquare2:Qo,UserSquare2Icon:Qo,UserSquareIcon:ec,UserStar:P_,UserStarIcon:P_,UserX:T_,UserX2:pc,UserX2Icon:pc,UserXIcon:T_,Users:D_,Users2:kc,Users2Icon:kc,UsersIcon:D_,UsersRound:kc,UsersRoundIcon:kc,Utensils:fc,UtensilsCrossed:mc,UtensilsCrossedIcon:mc,UtensilsIcon:fc,UtilityPole:B_,UtilityPoleIcon:B_,Variable:R_,VariableIcon:R_,Vault:F_,VaultIcon:F_,VectorSquare:E_,VectorSquareIcon:E_,Vegan:O_,VeganIcon:O_,VenetianMask:U_,VenetianMaskIcon:U_,Venus:K_,VenusAndMars:W_,VenusAndMarsIcon:W_,VenusIcon:K_,Verified:Wt,VerifiedIcon:Wt,Vibrate:Z_,VibrateIcon:Z_,VibrateOff:G_,VibrateOffIcon:G_,Video:Y_,VideoIcon:Y_,VideoOff:X_,VideoOffIcon:X_,Videotape:J_,VideotapeIcon:J_,View:ex,ViewIcon:ex,Voicemail:Q_,VoicemailIcon:Q_,Volleyball:tx,VolleyballIcon:tx,Volume:rx,Volume1:ax,Volume1Icon:ax,Volume2:nx,Volume2Icon:nx,VolumeIcon:rx,VolumeOff:ox,VolumeOffIcon:ox,VolumeX:cx,VolumeXIcon:cx,Vote:ix,VoteIcon:ix,Wallet:dx,Wallet2:gc,Wallet2Icon:gc,WalletCards:sx,WalletCardsIcon:sx,WalletIcon:dx,WalletMinimal:gc,WalletMinimalIcon:gc,Wallpaper:lx,WallpaperIcon:lx,Wand:hx,Wand2:vc,Wand2Icon:vc,WandIcon:hx,WandSparkles:vc,WandSparklesIcon:vc,Warehouse:ux,WarehouseIcon:ux,WashingMachine:px,WashingMachineIcon:px,Watch:yx,WatchIcon:yx,Waves:mx,WavesIcon:mx,WavesLadder:kx,WavesLadderIcon:kx,Waypoints:fx,WaypointsIcon:fx,Webcam:gx,WebcamIcon:gx,Webhook:_x,WebhookIcon:_x,WebhookOff:vx,WebhookOffIcon:vx,Weight:Mx,WeightIcon:Mx,Wheat:Lx,WheatIcon:Lx,WheatOff:xx,WheatOffIcon:xx,WholeWord:Ix,WholeWordIcon:Ix,Wifi:qx,WifiCog:bx,WifiCogIcon:bx,WifiHigh:wx,WifiHighIcon:wx,WifiIcon:qx,WifiLow:Cx,WifiLowIcon:Cx,WifiOff:Nx,WifiOffIcon:Nx,WifiPen:Sx,WifiPenIcon:Sx,WifiSync:jx,WifiSyncIcon:jx,WifiZero:$x,WifiZeroIcon:$x,Wind:zx,WindArrowDown:Ax,WindArrowDownIcon:Ax,WindIcon:zx,Wine:Px,WineIcon:Px,WineOff:Vx,WineOffIcon:Vx,Workflow:Tx,WorkflowIcon:Tx,Worm:Hx,WormIcon:Hx,WrapText:Dx,WrapTextIcon:Dx,Wrench:Bx,WrenchIcon:Bx,X:Ge,XCircle:_t,XCircleIcon:_t,XIcon:Ge,XOctagon:Tn,XOctagonIcon:Tn,XSquare:tc,XSquareIcon:tc,Youtube:Fx,YoutubeIcon:Fx,Zap:Ex,ZapIcon:Ex,ZapOff:Rx,ZapOffIcon:Rx,ZoomIn:Ox,ZoomInIcon:Ox,ZoomOut:Ux,ZoomOutIcon:Ux,createLucideIcon:a.createLucideIcon,icons:Qse},Symbol.toStringTag,{value:"Module"})),e2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:o,headerTopStyle:i,headerBottomStyle:r,progress1:s,badgeList:d,progress3:l,style:h,className:u="",draggable:p=!1})=>{const y=e!==void 0?e:250,f=e?{size:e*.5,...s}:s,v=e?{size:e*.4,...l}:l,m={background:t,position:"relative",...h,...y&&{width:y}};return c.jsxs("div",{style:m,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(jb,{...f})}),c.jsxs("div",{className:"progress-row-double",children:[c.jsx("div",{className:"progress-item",children:c.jsx(sj,{...d})}),c.jsx("div",{className:"progress-item",children:c.jsx(jb,{...v})})]})]}),p&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},dj=k.createContext(void 0),it=()=>{const e=k.useContext(dj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},t2e=({children:e,defaultActive:t=""})=>{const[n,o]=k.useState(t),[i,r]=k.useState(t),[s,d]=k.useState(void 0),[l,h]=k.useState(void 0),[u,p]=k.useState({}),y=(f,v)=>{p(m=>({...m,[f]:v}))};return c.jsx(dj.Provider,{value:{activeNav:n,setActiveNav:o,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},lj=({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:f,activeSubNav:v}=it();k.useEffect(()=>{if(!i)return;const _=g=>{p.current&&!p.current.contains(g.target)&&l(!1)};return document.addEventListener("mousedown",_),()=>document.removeEventListener("mousedown",_)},[i]),k.useEffect(()=>{if(d&&o==="auto"&&y.current){const _=y.current.getBoundingClientRect(),g=window.innerWidth/2;u(_.left<g?"left":"right")}},[d,o]);const m=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:[m&&c.jsx(m,{size:20}),n&&c.jsx("span",{className:"button-text",children:n})]}),d&&c.jsxs("div",{className:`dropdown-content ${M}`,children:[s&&c.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((_,g)=>c.jsxs("div",{className:"dropdown-category",children:[_.title&&c.jsx("div",{className:"category-title",children:_.title}),c.jsx("div",{className:"category-items",children:_.items.map((I,C)=>{const w=I.id??I.label,b=f===w||v===w,x=I.select??r;if(I.id==="language"){if(!x||!Array.isArray(x.options)||!x.onChange)return c.jsx("div",{className:"dropdown-language"},C);const N=Array.isArray(x.options)?x.options:[],$=N.some(q=>q.code===x.value)?N:[{code:x.value??"",label:String(x.value??"")},...N];return c.jsx("div",{className:"dropdown-language",children:c.jsx("select",{name:x.name??"language",className:"language-select",value:x.value??"",onChange:q=>{const T=q.target.value;try{x.onChange(T)}catch(P){console.error("select onChange error",P)}},children:$.map(q=>c.jsx("option",{value:q.code,children:q.label},q.code))})},C)}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},C):c.jsx("a",{...L,href:I.href,children:I.label},C)})})]},g))]})]})},hj=({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:f,order:v,onSwap:m,draggable:M=!1,displayNone:_=!1})=>{const[g,I]=k.useState([]);k.useEffect(()=>{const L=q=>{const T=[];return k.Children.forEach(q,P=>{Array.isArray(P)?T.push(...L(P)):k.isValidElement(P)&&T.push(P)}),T},j=L(e).filter(q=>k.isValidElement(q)).map(q=>{let T="";const P=q.props;return T=[P.xs?`grid-xs-${P.xs}`:"",P.sm?`grid-sm-${P.sm}`:"",P.md?`grid-md-${P.md}`:"",P.lg?`grid-lg-${P.lg}`:"",P.xl?`grid-xl-${P.xl}`:"",P.className?P.className:""].join(" ").trim(),{node:q,classes:T}});let $=j;v&&v.length>0&&($=j.map((q,T)=>({...q,node:j[v[T]]?.node??q.node}))),I($)},[e]);const C=(L,N)=>{L.stopPropagation(),L.dataTransfer.setData("dragIndex",N.toString()),L.dataTransfer.setData("parentKey",p.toString())},w=L=>{L.preventDefault(),L.stopPropagation()},b=(L,N)=>{L.preventDefault();const j=Number(L.dataTransfer.getData("dragIndex")),$=Number(L.dataTransfer.getData("parentKey"));if(t&&$!==p)return;const q=[...g];let T=-1,P=-1;if(q.forEach((S,V)=>{if(k.isValidElement(S.node)){const R=S.node.props;R.uniqueKey===N&&(T=V),R.uniqueKey===j&&(P=V)}}),T===-1||P===-1)return;const A=q[P].node;q[P]={...q[P],node:q[T].node},q[T]={...q[T],node:A},I(q),typeof m=="function"&&m(P,T)},x=o?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!o&&f?y={...y,width:`${f}px`}:!o&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?c.jsx("div",{className:`${u} grid-container ${x}`,style:{"--gap-grid":`${h}rem`,...y},children:g.map(L=>L.node.type?.displayName==="Grid"?M?c.jsx("div",{draggable:!0,onDragStart:N=>C(N,L.node?.props?.uniqueKey),onDragOver:N=>w(N),onDrop:N=>b(N,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})};hj.displayName="Grid";const rL=({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"})},$b=({id:e,label:t,isActive:n=!1,onClick:o,href:i,highlightColor:r="#008CBA",moduleKey:s="",...d})=>{const{setActiveNav:l}=it(),h=()=>{l(e),o?.(e)};return i?c.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,...d,children:t}):c.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:h,role:o?"button":"presentation",tabIndex:o?0:-1,...d,children:t})},uj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:o={},dropdownPosition:i="auto"})=>{const{activeNav:r}=it(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),f=k.useRef(null),v=k.useRef(null);k.useEffect(()=>{const g=()=>{if(y.current&&y.current.parentElement){const I=y.current.parentNode?.parentElement?.offsetWidth||0;d(I*.8<y.current.offsetWidth||I<1100)}};return g(),window.addEventListener("resize",g),()=>window.removeEventListener("resize",g)},[]),k.useEffect(()=>{if(l&&i==="auto"&&f.current){const g=f.current.getBoundingClientRect(),I=window.innerWidth/2;p(g.left<I?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const g=I=>{v.current&&!v.current.contains(I.target)&&f.current&&!f.current.contains(I.target)&&h(!1)};return document.addEventListener("mousedown",g),()=>document.removeEventListener("mousedown",g)},[l]);const m=g=>{t?.(g),h(!1)},M=e.find(g=>g.id===r)||e[0],_=i==="auto"?u:i;return c.jsx("div",{ref:y,children:s?c.jsxs("div",{className:"navbar-mobile",children:[c.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[M.label,c.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&c.jsx("div",{ref:v,className:`navbar-dropdown ${_}`,children:e.map(g=>c.jsx($b,{id:g.id,label:g.label,href:g.moduleKey&&o[g.moduleKey]?g.href:void 0,isActive:r===g.id&&g.moduleKey!==void 0&&o[g.moduleKey],onClick:m,highlightColor:n},g.id))})]}):c.jsx("nav",{className:"navbar",children:e.map(g=>c.jsx($b,{id:g.id,label:g.label,href:g.moduleKey&&o[g.moduleKey]?g.href:void 0,isActive:r===g.id&&g.moduleKey!==void 0&&o[g.moduleKey],onClick:m,highlightColor:n},g.id))})})},pj=k.createContext(void 0),a2e=({children:e,initialTheme:t})=>{const[n,o]=k.useState(()=>{if(typeof window<"u")try{return localStorage.getItem("app-theme")||t}catch(r){return console.error("Error reading theme from localStorage:",r),t}return t});k.useEffect(()=>{const r=document.documentElement;if(r.removeAttribute("data-theme"),n&&n!=="default"&&r.setAttribute("data-theme",n),typeof window<"u")try{localStorage.setItem("app-theme",n)}catch(s){console.error("Error saving theme to localStorage:",s)}},[n]);const i=k.useCallback(r=>{o(r)},[]);return c.jsx(pj.Provider,{value:{themeName:n,setTheme:i},children:e})},yj=()=>{const e=k.useContext(pj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},sL=()=>{const{themeName:e,setTheme:t}=yj(),n=k.useCallback(o=>{t(o)},[t]);return{currentTheme:e,switchTheme:n}},V1=({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})]})]})},qb=({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}=sL(),[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(V1,{leftIcon:n,rightIcon:o,checked:u,onToggle:p,colors:i,size:r})},n2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-80 317-243l44-44 89 89v-252H198l84 84-44 44L80-480l159-159 44 44-85 85h252v-252l-84 84-44-44 158-158 158 158-44 44-84-84v252h252l-84-84 44-44 158 158-158 158-44-44 84-84H510v252l89-89 44 44z"})),Kw=k.memo(n2e),kj=k.createContext(void 0),o2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("isDraggable");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("isDraggable",String(t))},[t]);const o=i=>{n(i)};return c.jsx(kj.Provider,{value:{isDraggable:t,switchDraggable:o},children:e})},mj=()=>{const e=k.useContext(kj);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},Yx=({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}=mj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(V1,{leftIcon:e||c.jsx(Kw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Kw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},c2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M400.06-300Q508-300 584.5-376.13 661-452.25 661-561q0-107.92-76.5-183.46T400.06-820t-183.5 75.54T141-561q0 108.75 75.56 184.87Q292.12-300 400.06-300M371-448v-267h60v267zm-145 0v-184h60v184zm290 0v-143h60v143zM838-80 605-314q-42 35-94.24 54.5Q458.51-240 400-240q-133 0-226-93.5T81-560.7q0-133.71 92.8-226.5Q266.59-880 400.3-880q133.7 0 227.2 93T721-561q0 58.51-19.5 110.76Q682-398 647-356l233 233z"})),Xw=k.memo(c2e),fj=k.createContext(void 0),i2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("disableLegendFilter");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("disableLegendFilter",String(t))},[t]);const o=i=>{n(i)};return c.jsx(fj.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:o},children:e})},gj=()=>{const e=k.useContext(fj);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},Jx=({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}=gj(),[s,d]=k.useState(!1);if(k.useEffect(()=>{d(!0)},[]),!s)return null;const l=h=>{r(h)};return c.jsx(V1,{leftIcon:e||c.jsx(Xw,{width:o*.55,height:o*.55,fill:"currentColor"}),rightIcon:t||c.jsx(Xw,{width:o*.55,height:o*.55,fill:"currentColor"}),checked:i,onToggle:l,colors:n,size:o})},vj=k.createContext(void 0),r2e=({children:e})=>{const[t,n]=k.useState(!1);k.useEffect(()=>{const i=localStorage.getItem("showData");i!==null&&n(i==="true")},[]),k.useEffect(()=>{localStorage.setItem("showData",String(t))},[t]);const o=i=>{n(i)};return c.jsx(vj.Provider,{value:{showData:t,switchShowData:o},children:e})},Mj=()=>{const e=k.useContext(vj);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},s2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M600.5-379.5Q650-429 650-500t-49.5-120.5T480-670t-120.5 49.5T310-500t49.5 120.5T480-330t120.5-49.5m-200-41Q368-453 368-500t32.5-79.5T480-612t79.5 32.5T592-500t-32.5 79.5T480-388t-79.5-32.5M216-283Q98-366 40-500q58-134 176-217t264-83 264 83 176 217q-58 134-176 217t-264 83-264-83m486.5-42.5Q804-391 857-500q-53-109-154.5-174.5T480-740t-222.5 65.5T102-500q54 109 155.5 174.5T480-260t222.5-65.5"})),Yw=k.memo(s2e),Qx=({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}=Mj(),[i,r]=k.useState(!1);return k.useEffect(()=>{r(!0)},[]),i?c.jsx(V1,{checked:n,onToggle:s=>o(s),size:e,leftIcon:c.jsx(Yw,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:c.jsx(Yw,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t}):null},d2e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M284-277h60v-205h-60zm332 0h60v-420h-60zm-166 0h60v-118h-60zm0-205h60v-60h-60zM180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h600q24 0 42 18t18 42v600q0 24-18 42t-42 18zm0-60h600v-600H180zm0-600v600z"})),_j=k.memo(d2e);function Ab({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=(f,v)=>{u(m=>m.map(M=>M.component_key===f&&v>3?{...M,visible:!M.visible}:M))},y=()=>{t(h),l(!1)};return c.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[c.jsx("div",{onClick:()=>o||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:c.jsx(_j,{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((f,v)=>c.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[c.jsx("input",{type:"checkbox",checked:f.visible,disabled:v<4,onChange:()=>p(f.component_key,v),style:{marginRight:8}}),c.jsx("span",{style:{color:v<4?"#6b7280":"#111827"},children:f.label}),v<4&&c.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.component_key))}),c.jsx("button",{type:"button",onClick:y,disabled:n,style:{padding:"6px 18px",borderRadius:6,border:"none",background:"var(--color-primary)",color:"#fff",fontWeight:600,cursor:"pointer"},children:n?r:i})]})]})}const l2e=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:o,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=it(),v=f?.draggable===!0,m=f?.showData===!0,M=f?.legendFilter===!0,_=f?.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(rL,{imagePath:e})}),c.jsx(uj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),c.jsxs("div",{className:"header-right",children:[c.jsxs("div",{className:"switcher-container",children:[v&&c.jsx(Yx,{}),m&&c.jsx(Qx,{}),M&&c.jsx(Jx,{}),c.jsx(qb,{}),_&&c.jsx(Ab,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),c.jsx(lj,{categories:o?.categories,buttonContent:o?.buttonContent,topContent:c.jsxs("div",{className:"dropdown-switchers",children:[v&&c.jsx(Yx,{}),m&&c.jsx(Qx,{}),M&&c.jsx(Jx,{}),c.jsx(qb,{}),_&&c.jsx(Ab,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},xj=({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})]})},Lj=({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(lj,{logo:"BarChart",position:"right",categories:o})})]}),h2e=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:o})=>{const{activeSubNav:i}=it();return c.jsx(Lj,{style:n,item:o,children:e?.map(r=>c.jsx(xj,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i},r.id))})},Ij=({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})]})]})},cw=k.createContext({});function $t(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const iw=typeof window<"u",rw=iw?k.useLayoutEffect:k.useEffect,dL=k.createContext(null);function sw(e,t){e.indexOf(t)===-1&&e.push(t)}function dw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function u2e([...e],t,n){const o=t<0?e.length+t:t;if(o>=0&&o<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const ut=(e,t,n)=>n>t?t:n<e?e:n;function zb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let Kc=()=>{},Ke=()=>{};process.env.NODE_ENV!=="production"&&(Kc=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(zb(t,n))},Ke=(e,t,n)=>{if(!e)throw new Error(zb(t,n))});const pt={},bj=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function wj(e){return typeof e=="object"&&e!==null}const Cj=e=>/^0[^.\s]+$/u.test(e);function lw(e){let t;return()=>(t===void 0&&(t=e()),t)}const Ee=e=>e,p2e=(e,t)=>n=>t(e(n)),P1=(...e)=>e.reduce(p2e),S1=(e,t,n)=>{const o=t-e;return o===0?1:(n-e)/o};class hw{constructor(){this.subscriptions=[]}add(t){return sw(this.subscriptions,t),()=>dw(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 Nj(e,t){return t?e*(1e3/t):0}const Jw=new Set;function uw(e,t,n){e||Jw.has(t)||(console.warn(zb(t,n)),Jw.add(t))}const Sj=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,y2e=1e-7,k2e=12;function m2e(e,t,n,o,i){let r,s,d=0;do s=t+(n-t)/2,r=Sj(s,o,i)-e,r>0?n=s:t=s;while(Math.abs(r)>y2e&&++d<k2e);return s}function T1(e,t,n,o){if(e===t&&n===o)return Ee;const i=r=>m2e(r,0,1,e,n);return r=>r===0||r===1?r:Sj(i(r),t,o)}const jj=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$j=e=>t=>1-e(1-t),qj=T1(.33,1.53,.69,.99),pw=$j(qj),Aj=jj(pw),zj=e=>(e*=2)<1?.5*pw(e):.5*(2-Math.pow(2,-10*(e-1))),yw=e=>1-Math.sin(Math.acos(e)),Vj=$j(yw),Pj=jj(yw),f2e=T1(.42,0,1,1),g2e=T1(0,0,.58,1),Tj=T1(.42,0,.58,1),v2e=e=>Array.isArray(e)&&typeof e[0]!="number",Hj=e=>Array.isArray(e)&&typeof e[0]=="number",Qw={linear:Ee,easeIn:f2e,easeInOut:Tj,easeOut:g2e,circIn:yw,circInOut:Pj,circOut:Vj,backIn:pw,backInOut:Aj,backOut:qj,anticipate:zj},M2e=e=>typeof e=="string",eC=e=>{if(Hj(e)){Ke(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,o,i]=e;return T1(t,n,o,i)}else if(M2e(e))return Ke(Qw[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),Qw[e];return e},F1=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function _2e(e,t){let n=new Set,o=new Set,i=!1,r=!1;const s=new WeakSet;let d={delta:0,timestamp:0,isProcessing:!1};function l(u){s.has(u)&&(h.schedule(u),e()),u(d)}const h={schedule:(u,p=!1,y=!1)=>{const v=y&&i?n:o;return p&&s.add(u),v.has(u)||v.add(u),u},cancel:u=>{o.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,o]=[o,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const x2e=40;function Dj(e,t){let n=!1,o=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=F1.reduce((I,C)=>(I[C]=_2e(r),I),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:v}=s,m=()=>{const I=pt.useManualTiming?i.timestamp:performance.now();n=!1,pt.useManualTiming||(i.delta=o?1e3/60:Math.max(Math.min(I-i.timestamp,x2e),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),f.process(i),v.process(i),i.isProcessing=!1,n&&t&&(o=!1,e(m))},M=()=>{n=!0,o=!0,i.isProcessing||e(m)};return{schedule:F1.reduce((I,C)=>{const w=s[C];return I[C]=(b,x=!1,L=!1)=>(n||M(),w.schedule(b,x,L)),I},{}),cancel:I=>{for(let C=0;C<F1.length;C++)s[F1[C]].cancel(I)},state:i,steps:s}}const{schedule:ce,cancel:yt,state:ve,steps:qL}=Dj(typeof requestAnimationFrame<"u"?requestAnimationFrame:Ee,!0);let Wx;function L2e(){Wx=void 0}const Ae={now:()=>(Wx===void 0&&Ae.set(ve.isProcessing||pt.useManualTiming?ve.timestamp:performance.now()),Wx),set:e=>{Wx=e,queueMicrotask(L2e)}},Bj=e=>t=>typeof t=="string"&&t.startsWith(e),kw=Bj("--"),I2e=Bj("var(--"),mw=e=>I2e(e)?b2e.test(e.split("/*")[0].trim()):!1,b2e=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Xc={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},j1={...Xc,transform:e=>ut(0,1,e)},E1={...Xc,default:1},L1=e=>Math.round(e*1e5)/1e5,fw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function w2e(e){return e==null}const C2e=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,gw=(e,t)=>n=>!!(typeof n=="string"&&C2e.test(n)&&n.startsWith(e)||t&&!w2e(n)&&Object.prototype.hasOwnProperty.call(n,t)),Rj=(e,t,n)=>o=>{if(typeof o!="string")return o;const[i,r,s,d]=o.match(fw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},N2e=e=>ut(0,255,e),AL={...Xc,transform:e=>Math.round(N2e(e))},_c={test:gw("rgb","red"),parse:Rj("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:o=1})=>"rgba("+AL.transform(e)+", "+AL.transform(t)+", "+AL.transform(n)+", "+L1(j1.transform(o))+")"};function S2e(e){let t="",n="",o="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),o=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),o=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,o+=o,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(o,16),alpha:i?parseInt(i,16)/255:1}}const Vb={test:gw("#"),parse:S2e,transform:_c.transform},H1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Mt=H1("deg"),ct=H1("%"),U=H1("px"),j2e=H1("vh"),$2e=H1("vw"),tC={...ct,parse:e=>ct.parse(e)/100,transform:e=>ct.transform(e*100)},Tc={test:gw("hsl","hue"),parse:Rj("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:o=1})=>"hsla("+Math.round(e)+", "+ct.transform(L1(t))+", "+ct.transform(L1(n))+", "+L1(j1.transform(o))+")"},ye={test:e=>_c.test(e)||Vb.test(e)||Tc.test(e),parse:e=>_c.test(e)?_c.parse(e):Tc.test(e)?Tc.parse(e):Vb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?_c.transform(e):Tc.transform(e),getAnimatableNone:e=>{const t=ye.parse(e);return t.alpha=0,ye.transform(t)}},q2e=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function A2e(e){return isNaN(e)&&typeof e=="string"&&(e.match(fw)?.length||0)+(e.match(q2e)?.length||0)>0}const Fj="number",Ej="color",z2e="var",V2e="var(",aC="${}",P2e=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function $1(e){const t=e.toString(),n=[],o={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(P2e,l=>(ye.test(l)?(o.color.push(r),i.push(Ej),n.push(ye.parse(l))):l.startsWith(V2e)?(o.var.push(r),i.push(z2e),n.push(l)):(o.number.push(r),i.push(Fj),n.push(parseFloat(l))),++r,aC)).split(aC);return{values:n,split:d,indexes:o,types:i}}function Oj(e){return $1(e).values}function Uj(e){const{split:t,types:n}=$1(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===Fj?r+=L1(i[s]):d===Ej?r+=ye.transform(i[s]):r+=i[s]}return r}}const T2e=e=>typeof e=="number"?0:ye.test(e)?ye.getAnimatableNone(e):e;function H2e(e){const t=Oj(e);return Uj(e)(t.map(T2e))}const jt={test:A2e,parse:Oj,createTransformer:Uj,getAnimatableNone:H2e};function zL(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function D2e({hue:e,saturation:t,lightness:n,alpha:o}){e/=360,t/=100,n/=100;let i=0,r=0,s=0;if(!t)i=r=s=n;else{const d=n<.5?n*(1+t):n+t-n*t,l=2*n-d;i=zL(l,d,e+1/3),r=zL(l,d,e),s=zL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:o}}function eL(e,t){return n=>n>0?t:e}const ie=(e,t,n)=>e+(t-e)*n,VL=(e,t,n)=>{const o=e*e,i=n*(t*t-o)+o;return i<0?0:Math.sqrt(i)},B2e=[Vb,_c,Tc],R2e=e=>B2e.find(t=>t.test(e));function nC(e){const t=R2e(e);if(Kc(!!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===Tc&&(n=D2e(n)),n}const oC=(e,t)=>{const n=nC(e),o=nC(t);if(!n||!o)return eL(e,t);const i={...n};return r=>(i.red=VL(n.red,o.red,r),i.green=VL(n.green,o.green,r),i.blue=VL(n.blue,o.blue,r),i.alpha=ie(n.alpha,o.alpha,r),_c.transform(i))},Pb=new Set(["none","hidden"]);function F2e(e,t){return Pb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function E2e(e,t){return n=>ie(e,t,n)}function vw(e){return typeof e=="number"?E2e:typeof e=="string"?mw(e)?eL:ye.test(e)?oC:W2e:Array.isArray(e)?Wj:typeof e=="object"?ye.test(e)?oC:O2e:eL}function Wj(e,t){const n=[...e],o=n.length,i=e.map((r,s)=>vw(r)(r,t[s]));return r=>{for(let s=0;s<o;s++)n[s]=i[s](r);return n}}function O2e(e,t){const n={...e,...t},o={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(o[i]=vw(e[i])(e[i],t[i]));return i=>{for(const r in o)n[r]=o[r](i);return n}}function U2e(e,t){const n=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][o[r]],d=e.values[s]??0;n[i]=d,o[r]++}return n}const W2e=(e,t)=>{const n=jt.createTransformer(t),o=$1(e),i=$1(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?Pb.has(e)&&!i.values.length||Pb.has(t)&&!o.values.length?F2e(e,t):P1(Wj(U2e(o,i),i.values),n):(Kc(!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"),eL(e,t))};function Gj(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ie(e,t,n):vw(e)(e,t)}const G2e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>ce.update(t,n),stop:()=>yt(t),now:()=>ve.isProcessing?ve.timestamp:Ae.now()}},Zj=(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)})`},tL=2e4;function Mw(e){let t=0;const n=50;let o=e.next(t);for(;!o.done&&t<tL;)t+=n,o=e.next(t);return t>=tL?1/0:t}function Z2e(e,t=100,n){const o=n({...e,keyframes:[0,t]}),i=Math.min(Mw(o),tL);return{type:"keyframes",ease:r=>o.next(i*r).value/t,duration:Fe(i)}}const K2e=5;function Kj(e,t,n){const o=Math.max(t-K2e,0);return Nj(n-e(o),t-o)}const le={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},PL=.001;function X2e({duration:e=le.duration,bounce:t=le.bounce,velocity:n=le.velocity,mass:o=le.mass}){let i,r;Kc(e<=Ze(le.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=ut(le.minDamping,le.maxDamping,s),e=ut(le.minDuration,le.maxDuration,Fe(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=Tb(h,s),v=Math.exp(-p);return PL-y/f*v},r=h=>{const p=h*s*e,y=p*n+n,f=Math.pow(s,2)*Math.pow(h,2)*e,v=Math.exp(-p),m=Tb(Math.pow(h,2),s);return(-i(h)+PL>0?-1:1)*((y-f)*v)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-PL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=J2e(i,r,d);if(e=Ze(e),isNaN(l))return{stiffness:le.stiffness,damping:le.damping,duration:e};{const h=Math.pow(l,2)*o;return{stiffness:h,damping:s*2*Math.sqrt(o*h),duration:e}}}const Y2e=12;function J2e(e,t,n){let o=n;for(let i=1;i<Y2e;i++)o=o-e(o)/t(o);return o}function Tb(e,t){return e*Math.sqrt(1-t*t)}const Q2e=["duration","bounce"],ede=["stiffness","damping","mass"];function cC(e,t){return t.some(n=>e[n]!==void 0)}function tde(e){let t={velocity:le.velocity,stiffness:le.stiffness,damping:le.damping,mass:le.mass,isResolvedFromDuration:!1,...e};if(!cC(e,ede)&&cC(e,Q2e))if(e.visualDuration){const n=e.visualDuration,o=2*Math.PI/(n*1.2),i=o*o,r=2*ut(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:le.mass,stiffness:i,damping:r}}else{const n=X2e(e);t={...t,...n,mass:le.mass},t.isResolvedFromDuration=!0}return t}function aL(e=le.visualDuration,t=le.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:f}=tde({...n,velocity:-Fe(n.velocity||0)}),v=y||0,m=h/(2*Math.sqrt(l*u)),M=s-r,_=Fe(Math.sqrt(l/u)),g=Math.abs(M)<5;o||(o=g?le.restSpeed.granular:le.restSpeed.default),i||(i=g?le.restDelta.granular:le.restDelta.default);let I;if(m<1){const w=Tb(_,m);I=b=>{const x=Math.exp(-m*_*b);return s-x*((v+m*_*M)/w*Math.sin(w*b)+M*Math.cos(w*b))}}else if(m===1)I=w=>s-Math.exp(-_*w)*(M+(v+_*M)*w);else{const w=_*Math.sqrt(m*m-1);I=b=>{const x=Math.exp(-m*_*b),L=Math.min(w*b,300);return s-x*((v+m*_*M)*Math.sinh(L)+w*M*Math.cosh(L))/w}}const C={calculatedDuration:f&&p||null,next:w=>{const b=I(w);if(f)d.done=w>=p;else{let x=w===0?v:0;m<1&&(x=w===0?Ze(v):Kj(I,w,b));const L=Math.abs(x)<=o,N=Math.abs(s-b)<=i;d.done=L&&N}return d.value=d.done?s:b,d},toString:()=>{const w=Math.min(Mw(C),tL),b=Zj(x=>C.next(w*x).value,w,30);return w+"ms "+b},toTransition:()=>{}};return C}aL.applyToOptions=e=>{const t=Z2e(e,100,aL);return e.ease=t.ease,e.duration=Ze(t.duration),e.type="keyframes",e};function Hb({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},f=L=>d!==void 0&&L<d||l!==void 0&&L>l,v=L=>d===void 0?l:l===void 0||Math.abs(d-L)<Math.abs(l-L)?d:l;let m=n*t;const M=p+m,_=s===void 0?M:s(M);_!==M&&(m=_-p);const g=L=>-m*Math.exp(-L/o),I=L=>_+g(L),C=L=>{const N=g(L),j=I(L);y.done=Math.abs(N)<=h,y.value=y.done?_:j};let w,b;const x=L=>{f(y.value)&&(w=L,b=aL({keyframes:[y.value,v(y.value)],velocity:Kj(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return x(0),{calculatedDuration:null,next:L=>{let N=!1;return!b&&w===void 0&&(N=!0,C(L),x(L)),w!==void 0&&L>=w?b.next(L-w):(!N&&C(L),y)}}}function ade(e,t,n){const o=[],i=n||pt.mix||Gj,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=P1(l,d)}o.push(d)}return o}function Xj(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=ade(t,o,i),l=d.length,h=u=>{if(s&&u<e[0])return t[0];let p=0;if(l>1)for(;p<e.length-2&&!(u<e[p+1]);p++);const y=S1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(ut(e[0],e[r-1],u)):h}function nde(e,t){const n=e[e.length-1];for(let o=1;o<=t;o++){const i=S1(0,t,o);e.push(ie(n,1,i))}}function ode(e){const t=[0];return nde(t,e.length-1),t}function cde(e,t){return e.map(n=>n*t)}function ide(e,t){return e.map(()=>t||Tj).splice(0,e.length-1)}function Hc({duration:e=300,keyframes:t,times:n,ease:o="easeInOut"}){const i=v2e(o)?o.map(eC):eC(o),r={done:!1,value:t[0]},s=cde(n&&n.length===t.length?n:ode(t),e),d=Xj(s,t,{ease:Array.isArray(i)?i:ide(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const rde=e=>e!==null;function _w(e,{repeat:t,repeatType:n="loop"},o,i=1){const r=e.filter(rde),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||o===void 0?r[d]:o}const sde={decay:Hb,inertia:Hb,tween:Hc,keyframes:Hc,spring:aL};function Yj(e){typeof e.type=="string"&&(e.type=sde[e.type])}class xw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const dde=e=>e/100;class Lw extends xw{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;Yj(t);const{type:n=Hc,repeat:o=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Hc;process.env.NODE_ENV!=="production"&&l!==Hc&&Ke(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Hc&&typeof d[0]!="number"&&(this.mixKeyframes=P1(dde,Gj(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=Mw(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:f,type:v,onUpdate:m,finalKeyframe:M}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),n?this.currentTime=t:this.updateTime(t);const _=this.currentTime-h*(this.playbackSpeed>=0?1:-1),g=this.playbackSpeed>=0?_<0:_>i;this.currentTime=Math.max(_,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let I=this.currentTime,C=o;if(p){const L=Math.min(this.currentTime,i)/d;let N=Math.floor(L),j=L%1;!j&&L>=1&&(j=1),j===1&&N--,N=Math.min(N,p+1),!!(N%2)&&(y==="reverse"?(j=1-j,f&&(j-=f/d)):y==="mirror"&&(C=s)),I=ut(0,1,j)*d}const w=g?{done:!1,value:u[0]}:C.next(I);r&&(w.value=r(w.value));let{done:b}=w;!g&&l!==null&&(b=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const x=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&b);return x&&v!==Hb&&(w.value=_w(u,this.options,M,this.speed)),m&&m(w.value),x&&this.finish(),w}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=G2e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const o=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=o):this.holdTime!==null?this.startTime=o-this.holdTime:this.startTime||(this.startTime=n??o),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(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 lde(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const xc=e=>e*180/Math.PI,Db=e=>{const t=xc(Math.atan2(e[1],e[0]));return Bb(t)},hde={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:Db,rotateZ:Db,skewX:e=>xc(Math.atan(e[1])),skewY:e=>xc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Bb=e=>(e=e%360,e<0&&(e+=360),e),iC=Db,rC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),sC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),ude={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:rC,scaleY:sC,scale:e=>(rC(e)+sC(e))/2,rotateX:e=>Bb(xc(Math.atan2(e[6],e[5]))),rotateY:e=>Bb(xc(Math.atan2(-e[2],e[0]))),rotateZ:iC,rotate:iC,skewX:e=>xc(Math.atan(e[4])),skewY:e=>xc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rb(e){return e.includes("scale")?1:0}function Fb(e,t){if(!e||e==="none")return Rb(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let o,i;if(n)o=ude,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);o=hde,i=d}if(!i)return Rb(t);const r=o[t],s=i[1].split(",").map(yde);return typeof r=="function"?r(s):s[r]}const pde=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return Fb(n,t)};function yde(e){return parseFloat(e.trim())}const Yc=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Jc=new Set(Yc),dC=e=>e===Xc||e===U,kde=new Set(["x","y","z"]),mde=Yc.filter(e=>!kde.has(e));function fde(e){const t=[];return mde.forEach(n=>{const o=e.getValue(n);o!==void 0&&(t.push([n,o.get()]),o.set(n.startsWith("scale")?1:0))}),t}const bc={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})=>Fb(t,"x"),y:(e,{transform:t})=>Fb(t,"y")};bc.translateX=bc.x;bc.translateY=bc.y;const wc=new Set;let Eb=!1,Ob=!1,Ub=!1;function Jj(){if(Ob){const e=Array.from(wc).filter(o=>o.needsMeasurement),t=new Set(e.map(o=>o.element)),n=new Map;t.forEach(o=>{const i=fde(o);i.length&&(n.set(o,i),o.render())}),e.forEach(o=>o.measureInitialState()),t.forEach(o=>{o.render();const i=n.get(o);i&&i.forEach(([r,s])=>{o.getValue(r)?.set(s)})}),e.forEach(o=>o.measureEndState()),e.forEach(o=>{o.suspendedScrollY!==void 0&&window.scrollTo(0,o.suspendedScrollY)})}Ob=!1,Eb=!1,wc.forEach(e=>e.complete(Ub)),wc.clear()}function Qj(){wc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ob=!0)})}function gde(){Ub=!0,Qj(),Jj(),Ub=!1}class Iw{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?(wc.add(this),Eb||(Eb=!0,ce.read(Qj),ce.resolveKeyframes(Jj))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:o,motionValue:i}=this;if(t[0]===null){const r=i?.get(),s=t[t.length-1];if(r!==void 0)t[0]=r;else if(o&&n){const d=o.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}lde(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),wc.delete(this)}cancel(){this.state==="scheduled"&&(wc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const vde=e=>e.startsWith("--");function Mde(e,t,n){vde(t)?e.style.setProperty(t,n):e.style[t]=n}const _de=lw(()=>window.ScrollTimeline!==void 0),xde={};function Lde(e,t){const n=lw(e);return()=>xde[t]??n()}const e$=Lde(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),r1=([e,t,n,o])=>`cubic-bezier(${e}, ${t}, ${n}, ${o})`,lC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:r1([0,.65,.55,1]),circOut:r1([.55,0,1,.45]),backIn:r1([.31,.01,.66,-.59]),backOut:r1([.33,1.53,.69,.99])};function t$(e,t){if(e)return typeof e=="function"?e$()?Zj(e,t):"ease-out":Hj(e)?r1(e):Array.isArray(e)?e.map(n=>t$(n,t)||lC.easeOut):lC[e]}function Ide(e,t,n,{delay:o=0,duration:i=300,repeat:r=0,repeatType:s="loop",ease:d="easeOut",times:l}={},h=void 0){const u={[t]:n};l&&(u.offset=l);const p=t$(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 a$(e){return typeof e=="function"&&"applyToOptions"in e}function bde({type:e,...t}){return a$(e)&&e$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class wde extends xw{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=bde(t);this.animation=Ide(n,o,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=_w(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):Mde(n,o,u),this.animation.cancel()}l?.(),this.notifyFinished()}}play(){this.isStopped||(this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:t}=this;t==="idle"||t==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return 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&&_de()?(this.animation.timeline=t,Ee):n(this)}}const n$={anticipate:zj,backInOut:Aj,circInOut:Pj};function Cde(e){return e in n$}function Nde(e){typeof e.ease=="string"&&Cde(e.ease)&&(e.ease=n$[e.ease])}const hC=10;class Sde extends wde{constructor(t){Nde(t),Yj(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 Lw({...s,autoplay:!1}),l=Ze(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-hC).value,d.sample(l).value,hC),d.stop()}}const uC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jt.test(e)||e==="0")&&!e.startsWith("url("));function jde(e){const t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function $de(e,t,n,o){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=uC(i,t),d=uC(r,t);return Kc(s===d,`You are trying to animate ${t} from "${i}" to "${r}". "${s?r:i}" is not an animatable value.`,"value-not-animatable"),!s||!d?!1:jde(e)||(n==="spring"||a$(n))&&o}function Wb(e){e.duration=0,e.type="keyframes"}const qde=new Set(["opacity","clipPath","filter","transform"]),Ade=lw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function zde(e){const{motionValue:t,name:n,repeatDelay:o,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return Ade()&&n&&qde.has(n)&&(n!=="transform"||!h)&&!l&&!o&&i!=="mirror"&&r!==0&&s!=="inertia"}const Vde=40;class Pde extends xw{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},f=u?.KeyframeResolver||Iw;this.keyframeResolver=new f(d,(v,m,M)=>this.onKeyframesResolved(v,m,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(),$de(t,r,s,d)||((pt.instantAnimations||!l)&&u?.(_w(t,o,n)),t[0]=t[t.length-1],Wb(o),o.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Vde?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...o,keyframes:t},f=!h&&zde(y)?new Sde({...y,element:y.motionValue.owner.current}):new Lw(y);f.finished.then(()=>this.notifyFinished()).catch(Ee),this.pendingTimeline&&(this.stopTimeline=f.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=f}get finished(){return this._animation?this.animation.finished:this._finished}then(t,n){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),gde()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}const Tde=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Hde(e){const t=Tde.exec(e);if(!t)return[,];const[,n,o,i]=t;return[`--${n??o}`,i]}const Dde=4;function o$(e,t,n=1){Ke(n<=Dde,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[o,i]=Hde(e);if(!o)return;const r=window.getComputedStyle(t).getPropertyValue(o);if(r){const s=r.trim();return bj(s)?parseFloat(s):s}return mw(i)?o$(i,t,n+1):i}function bw(e,t){return e?.[t]??e?.default??e}const c$=new Set(["width","height","top","left","right","bottom",...Yc]),Bde={test:e=>e==="auto",parse:e=>e},i$=e=>t=>t.test(e),r$=[Xc,U,ct,Mt,$2e,j2e,Bde],pC=e=>r$.find(i$(e));function Rde(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Cj(e):!0}const Fde=new Set(["brightness","contrast","saturate","opacity"]);function Ede(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[o]=n.match(fw)||[];if(!o)return e;const i=n.replace(o,"");let r=Fde.has(t)?1:0;return o!==n&&(r*=100),t+"("+r+i+")"}const Ode=/\b([a-z-]*)\(.*?\)/gu,Gb={...jt,getAnimatableNone:e=>{const t=e.match(Ode);return t?t.map(Ede).join(" "):e}},yC={...Xc,transform:Math.round},Ude={rotate:Mt,rotateX:Mt,rotateY:Mt,rotateZ:Mt,scale:E1,scaleX:E1,scaleY:E1,scaleZ:E1,skew:Mt,skewX:Mt,skewY:Mt,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:j1,originX:tC,originY:tC,originZ:U},ww={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,radius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,backgroundPositionX:U,backgroundPositionY:U,...Ude,zIndex:yC,fillOpacity:j1,strokeOpacity:j1,numOctaves:yC},Wde={...ww,color:ye,backgroundColor:ye,outlineColor:ye,fill:ye,stroke:ye,borderColor:ye,borderTopColor:ye,borderRightColor:ye,borderBottomColor:ye,borderLeftColor:ye,filter:Gb,WebkitFilter:Gb},s$=e=>Wde[e];function d$(e,t){let n=s$(e);return n!==Gb&&(n=jt),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Gde=new Set(["auto","none","0"]);function Zde(e,t,n){let o=0,i;for(;o<e.length&&!i;){const r=e[o];typeof r=="string"&&!Gde.has(r)&&$1(r).values.length&&(i=e[o]),o++}if(i&&n)for(const r of t)e[r]=d$(n,i)}class Kde extends Iw{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(),mw(h))){const u=o$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!c$.has(o)||t.length!==2)return;const[i,r]=t,s=pC(i),d=pC(r);if(s!==d)if(dC(s)&&dC(d))for(let l=0;l<t.length;l++){const h=t[l];typeof h=="string"&&(t[l]=parseFloat(h))}else bc[o]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,o=[];for(let i=0;i<t.length;i++)(t[i]===null||Rde(t[i]))&&o.push(i);o.length&&Zde(t,o,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:o}=this;if(!t||!t.current)return;o==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=bc[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]=bc[n](t.measureViewportBox(),window.getComputedStyle(t.current)),s!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([d,l])=>{t.getValue(d).set(l)}),this.resolveNoneKeyframes()}}function Xde(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let o=document;const i=n?.[e]??o.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const l$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function h$(e){return wj(e)&&"offsetHeight"in e}const kC=30,Yde=e=>!isNaN(parseFloat(e)),I1={current:void 0};class Jde{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=Yde(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&uw(!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 hw);const o=this.events[t].add(n);return t==="change"?()=>{o(),ce.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 I1.current&&I1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ae.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>kC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,kC);return Nj(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 Cc(e,t){return new Jde(e,t)}const{schedule:Cw}=Dj(queueMicrotask,!1),We={x:!1,y:!1};function u$(){return We.x||We.y}function Qde(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 p$(e,t){const n=Xde(e),o=new AbortController,i={passive:!0,...t,signal:o.signal};return[n,i,()=>o.abort()]}function mC(e){return!(e.pointerType==="touch"||u$())}function e0e(e,t,n={}){const[o,i,r]=p$(e,n),s=d=>{if(!mC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{mC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return o.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const y$=(e,t)=>t?e===t?!0:y$(e,t.parentElement):!1,Nw=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,t0e=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function a0e(e){return t0e.has(e.tagName)||e.tabIndex!==-1}const Gx=new WeakSet;function fC(e){return t=>{t.key==="Enter"&&e(t)}}function TL(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const n0e=(e,t)=>{const n=e.currentTarget;if(!n)return;const o=fC(()=>{if(Gx.has(n))return;TL(n,"down");const i=fC(()=>{TL(n,"up")}),r=()=>TL(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 gC(e){return Nw(e)&&!u$()}function o0e(e,t,n={}){const[o,i,r]=p$(e,n),s=d=>{const l=d.currentTarget;if(!gC(d))return;Gx.add(l);const h=t(l,d),u=(f,v)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),Gx.has(l)&&Gx.delete(l),gC(f)&&typeof h=="function"&&h(f,{success:v})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||y$(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return o.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),h$(d)&&(d.addEventListener("focus",h=>n0e(h,i)),!a0e(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function k$(e){return wj(e)&&"ownerSVGElement"in e}function c0e(e){return k$(e)&&e.tagName==="svg"}function i0e(...e){const t=!Array.isArray(e[0]),n=t?0:-1,o=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=Xj(i,r,s);return t?d(o):d}const Me=e=>!!(e&&e.getVelocity),r0e=[...r$,ye,jt],s0e=e=>r0e.find(i$(e)),lL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function vC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function d0e(...e){return t=>{let n=!1;const o=e.map(i=>{const r=vC(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():vC(e[i],null)}}}}function l0e(...e){return K.useCallback(d0e(...e),e)}class h0e extends K.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const o=n.offsetParent,i=h$(o)&&o.offsetWidth||0,r=this.props.sizeRef.current;r.height=n.offsetHeight||0,r.width=n.offsetWidth||0,r.top=n.offsetTop,r.left=n.offsetLeft,r.right=i-r.width-r.left}return null}componentDidUpdate(){}render(){return this.props.children}}function u0e({children:e,isPresent:t,anchorX:n,root:o}){const i=k.useId(),r=k.useRef(null),s=k.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:d}=k.useContext(lL),l=l0e(r,e?.ref);return k.useInsertionEffect(()=>{const{width:h,height:u,top:p,left:y,right:f}=s.current;if(t||!r.current||!h||!u)return;const v=n==="left"?`left: ${y}`:`right: ${f}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const M=o??document.head;return M.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8162
8162
|
[data-motion-pop-id="${i}"] {
|
|
8163
8163
|
position: absolute !important;
|
|
8164
8164
|
width: ${h}px !important;
|
|
8165
8165
|
height: ${u}px !important;
|
|
8166
|
-
${
|
|
8166
|
+
${v}px !important;
|
|
8167
8167
|
top: ${p}px !important;
|
|
8168
8168
|
}
|
|
8169
|
-
`),()=>{M.contains(f)&&M.removeChild(f)}},[t]),c.jsx(h0e,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const p0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=$t(y0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:m=>{h.set(m,!0);for(const 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]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(u0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(dL.Provider,{value:y,children:e})};function y0e(){return new Map}function m$(e=!0){const t=k.useContext(dL);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 O1=e=>e.key||"";function MC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const k0e=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=m$(s),p=k.useMemo(()=>MC(e),[e]),y=s&&!h?[]:p.map(O1),m=k.useRef(!0),g=k.useRef(p),f=$t(()=>new Map),[M,_]=k.useState(p),[v,I]=k.useState(p);rw(()=>{m.current=!1,g.current=p;for(let b=0;b<v.length;b++){const x=O1(v[b]);y.includes(x)?f.delete(x):f.get(x)!==!0&&f.set(x,!1)}},[v,y.length,y.join("-")]);const C=[];if(p!==M){let b=[...p];for(let x=0;x<v.length;x++){const L=v[x],N=O1(L);y.includes(N)||(b.splice(x,0,L),C.push(L))}return r==="wait"&&C.length&&(b=C),I(MC(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:w}=k.useContext(cw);return c.jsx(c.Fragment,{children:v.map(b=>{const x=O1(b),L=s&&!h?!1:p===v||y.includes(x),N=()=>{if(f.has(x))f.set(x,!0);else return;let j=!0;f.forEach($=>{$||(j=!1)}),j&&(w?.(),I(g.current),s&&u?.(),o&&o())};return c.jsx(p0e,{isPresent:L,initial:!m.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:L?void 0:N,anchorX:d,children:b},x)})})},f$=k.createContext({strict:!1}),_C={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"]},Zc={};for(const e in _C)Zc[e]={isEnabled:t=>_C[e].some(n=>!!t[n])};function m0e(e){for(const t in e)Zc[t]={...Zc[t],...e[t]}}const f0e=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||f0e.has(e)}let g$=e=>!nL(e);function g0e(e){typeof e=="function"&&(g$=t=>t.startsWith("on")?!nL(t):e(t))}try{g0e(require("@emotion/is-prop-valid").default)}catch{}function v0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(g$(i)||n===!0&&nL(i)||!t&&!nL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const hL=k.createContext({});function uL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function q1(e){return typeof e=="string"||Array.isArray(e)}const Sw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jw=["initial",...Sw];function pL(e){return uL(e.animate)||jw.some(t=>q1(e[t]))}function v$(e){return!!(pL(e)||e.variants)}function M0e(e,t){if(pL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||q1(n)?n:void 0,animate:q1(o)?o:void 0}}return e.inherit!==!1?t:{}}function _0e(e){const{initial:t,animate:n}=M0e(e,k.useContext(hL));return k.useMemo(()=>({initial:t,animate:n}),[xC(t),xC(n)])}function xC(e){return Array.isArray(e)?e.join(" "):e}const A1={};function x0e(e){for(const t in e)A1[t]=e[t],kw(t)&&(A1[t].isCSSVariable=!0)}function M$(e,{layout:t,layoutId:n}){return Jc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!A1[e]||e==="opacity")}const L0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I0e=Yc.length;function b0e(e,t,n){let o="",i=!0;for(let r=0;r<I0e;r++){const s=Yc[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=l$(d,ww[s]);if(!l){i=!1;const u=L0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function $w(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(Jc.has(l)){s=!0;continue}else if(kw(l)){i[l]=h;continue}else{const u=l$(h,ww[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=b0e(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;o.transformOrigin=`${l} ${h} ${u}`}}const qw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _$(e,t,n){for(const o in t)!Me(t[o])&&!M$(o,n)&&(e[o]=t[o])}function w0e({transformTemplate:e},t){return k.useMemo(()=>{const n=qw();return $w(n,t,e),Object.assign({},n.vars,n.style)},[t])}function C0e(e,t){const n=e.style||{},o={};return _$(o,n,e),Object.assign(o,w0e(e,t)),o}function N0e(e,t){const n={},o=C0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const S0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},j0e={offset:"strokeDashoffset",array:"strokeDasharray"};function $0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?S0e:j0e;e[r.offset]=U.transform(-o);const s=U.transform(t),d=U.transform(n);e[r.array]=`${s} ${d}`}function x$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if($w(e,d,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),o!==void 0&&(p.scale=o),i!==void 0&&$0e(p,i,r,s,!1)}const L$=()=>({...qw(),attrs:{}}),I$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q0e(e,t,n,o){const i=k.useMemo(()=>{const r=L$();return x$(r,t,I$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};_$(r,e.style,e),i.style={...r,...i.style}}return i}const A0e=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Aw(e){return typeof e!="string"||e.includes("-")?!1:!!(A0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function z0e(e,t,n,{latestValues:o},i,r=!1){const d=(Aw(e)?q0e:N0e)(t,o,i,e),l=v0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Me(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function LC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function zw(e,t,n,o){if(typeof t=="function"){const[i,r]=LC(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]=LC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Zx(e){return Me(e)?e.get():e}function V0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:P0e(n,o,i,e),renderState:t()}}function P0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Zx(r[y]);let{initial:s,animate:d}=e;const l=pL(e),h=v$(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"&&!uL(p)){const y=Array.isArray(p)?p:[p];for(let m=0;m<y.length;m++){const g=zw(e,y[m]);if(g){const{transitionEnd:f,transition:M,..._}=g;for(const v in _){let I=_[v];if(Array.isArray(I)){const C=u?I.length-1:0;I=I[C]}I!==null&&(i[v]=I)}for(const v in f)i[v]=f[v]}}}return i}const b$=e=>(t,n)=>{const o=k.useContext(hL),i=k.useContext(dL),r=()=>V0e(e,t,o,i);return n?r():$t(r)};function Vw(e,t,n){const{style:o}=e,i={};for(const r in o)(Me(o[r])||t.style&&Me(t.style[r])||M$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const T0e=b$({scrapeMotionValuesFromProps:Vw,createRenderState:qw});function w$(e,t,n){const o=Vw(e,t,n);for(const i in e)if(Me(e[i])||Me(t[i])){const r=Yc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const H0e=b$({scrapeMotionValuesFromProps:w$,createRenderState:L$}),D0e=Symbol.for("motionComponentSymbol");function Dc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function B0e(e,t,n){return k.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):Dc(n)&&(n.current=o))},[t])}const Pw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),R0e="framerAppearId",C$="data-"+Pw(R0e),N$=k.createContext({});function F0e(e,t,n,o,i){const{visualElement:r}=k.useContext(hL),s=k.useContext(f$),d=k.useContext(dL),l=k.useContext(lL).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(N$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&E0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const m=n[C$],g=k.useRef(!!m&&!window.MotionHandoffIsComplete?.(m)&&window.MotionHasOptimisedAnimation?.(m));return rw(()=>{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 E0e(e,t,n,o){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:S$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Dc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function S$(e){if(e)return e.options.allowProjection!==!1?e.projection:S$(e.parent)}function HL(e,{forwardMotionProps:t=!1}={},n,o){n&&m0e(n);const i=Aw(e)?H0e:T0e;function r(d,l){let h;const u={...k.useContext(lL),...d,layoutId:O0e(d)},{isStatic:p}=u,y=_0e(d),m=i(d,p);if(!p&&iw){U0e(u,n);const g=W0e(u);h=g.MeasureLayout,y.visualElement=F0e(e,m,u,o,g.ProjectionNode)}return c.jsxs(hL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,z0e(e,d,B0e(m,y.visualElement,l),m,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[D0e]=e,s}function O0e({layoutId:e}){const t=k.useContext(cw).id;return t&&e!==void 0?t+"-"+e:e}function U0e(e,t){const n=k.useContext(f$).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?Kc(!1,o,"lazy-strict-mode"):Ke(!1,o,"lazy-strict-mode")}}function W0e(e){const{drag:t,layout:n}=Zc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function G0e(e,t){if(typeof Proxy>"u")return HL;const n=new Map,o=(r,s)=>HL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&uw(!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,HL(s,void 0,e,t)),n.get(s))})}function j$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Z0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function K0e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function DL(e){return e===void 0||e===1}function Zb({scale:e,scaleX:t,scaleY:n}){return!DL(e)||!DL(t)||!DL(n)}function Mc(e){return Zb(e)||$$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $$(e){return IC(e.x)||IC(e.y)}function IC(e){return e&&e!=="0%"}function oL(e,t,n){const o=e-n,i=t*o;return n+i}function bC(e,t,n,o,i){return i!==void 0&&(e=oL(e,i,o)),oL(e,n,o)+t}function Kb(e,t=0,n=1,o,i){e.min=bC(e.min,t,n,o,i),e.max=bC(e.max,t,n,o,i)}function q$(e,{x:t,y:n}){Kb(e.x,t.translate,t.scale,t.originPoint),Kb(e.y,n.translate,n.scale,n.originPoint)}const wC=.999999999999,CC=1.0000000000001;function X0e(e,t,n,o=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Rc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,q$(e,s)),o&&Mc(r.latestValues)&&Rc(e,r.latestValues))}t.x<CC&&t.x>wC&&(t.x=1),t.y<CC&&t.y>wC&&(t.y=1)}function Bc(e,t){e.min=e.min+t,e.max=e.max+t}function NC(e,t,n,o,i=.5){const r=ie(e.min,e.max,i);Kb(e,t,n,r,o)}function Rc(e,t){NC(e.x,t.x,t.scaleX,t.scale,t.originX),NC(e.y,t.y,t.scaleY,t.scale,t.originY)}function A$(e,t){return j$(K0e(e.getBoundingClientRect(),t))}function Y0e(e,t,n){const o=A$(e,n),{scroll:i}=t;return i&&(Bc(o.x,i.offset.x),Bc(o.y,i.offset.y)),o}const SC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Fc=()=>({x:SC(),y:SC()}),jC=()=>({min:0,max:0}),ue=()=>({x:jC(),y:jC()}),Xb={current:null},z$={current:!1};function J0e(){if(z$.current=!0,!!iw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Xb.current=e.matches;e.addEventListener("change",t),t()}else Xb.current=!1}const Q0e=new WeakMap;function ele(e,t,n){for(const o in t){const i=t[o],r=n[o];if(Me(i))e.addValue(o,i);else if(Me(r))e.addValue(o,Cc(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,Cc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const $C=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tle{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Iw,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,ce.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=pL(n),this.isVariantNode=v$(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&&Me(m)&&m.set(l[y])}}mount(t){this.current=t,Q0e.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),z$.current||J0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Xb.current,process.env.NODE_ENV!=="production"&&uw(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=Jc.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ce.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 Zc){const n=Zc[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):ue()}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<$C.length;o++){const i=$C[o];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=ele(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=Cc(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"&&(bj(o)||Cj(o))?o=parseFloat(o):!s0e(o)&&jt.test(n)&&(o=d$(t,n)),this.setBaseTarget(t,Me(o)?o.get():o)),Me(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=zw(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&&!Me(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 hw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Cw.render(this.render)}}class V$ extends tle{constructor(){super(...arguments),this.KeyframeResolver=Kde}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function P$(e,{style:t,vars:n},o,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,o);for(s in n)r.setProperty(s,n[s])}function ale(e){return window.getComputedStyle(e)}class nle extends V${constructor(){super(...arguments),this.type="html",this.renderInstance=P$}readValueFromInstance(t,n){if(Jc.has(n))return this.projection?.isProjecting?Rb(n):pde(t,n);{const o=ale(t),i=(kw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return A$(t,n)}build(t,n,o){$w(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Vw(t,n,o)}}const T$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ole(e,t,n,o){P$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(T$.has(i)?i:Pw(i),t.attrs[i])}class cle extends V${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ue}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Jc.has(n)){const o=s$(n);return o&&o.default||0}return n=T$.has(n)?n:Pw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return w$(t,n,o)}build(t,n,o){x$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){ole(t,n,o,i)}mount(t){this.isSVGTag=I$(t.tagName),super.mount(t)}}const ile=(e,t)=>Aw(e)?new cle(t):new nle(t,{allowProjection:e!==k.Fragment});function Gc(e,t,n){const o=e.getProps();return zw(o,t,n!==void 0?n:o.custom,e)}const Yb=e=>Array.isArray(e);function rle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Cc(n))}function sle(e){return Yb(e)?e[e.length-1]||0:e}function dle(e,t){const n=Gc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=sle(r[s]);rle(e,s,d)}}function lle(e){return!!(Me(e)&&e.add)}function Jb(e,t){const n=e.getValue("willChange");if(lle(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function H$(e){return e.props[C$]}const hle=e=>e!==null;function ule(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(hle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const ple={type:"spring",stiffness:500,damping:25,restSpeed:10},yle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kle={type:"keyframes",duration:.8},mle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fle=(e,{keyframes:t})=>t.length>2?kle:Jc.has(e)?e.startsWith("scale")?yle(t[1]):ple:mle;function gle({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const Tw=(e,t,n,o={},i,r)=>s=>{const d=bw(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};gle(d)||Object.assign(u,fle(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)&&(Wb(u),u.delay===0&&(p=!0)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Wb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ule(u.keyframes,d);if(y!==void 0){ce.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Lw(u):new Pde(u)};function vle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function D$(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;o&&(r=o);const l=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||h&&vle(h,u))continue;const m={delay:n,...bw(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 _=H$(e);if(_){const v=window.MotionHandoffAnimation(_,u,ce);v!==null&&(m.startTime=v,f=!0)}}Jb(e,u),p.start(Tw(u,p,y,e.shouldReduceMotion&&c$.has(u)?{type:!1}:m,e,f));const M=p.animation;M&&l.push(M)}return s&&Promise.all(l).then(()=>{ce.update(()=>{s&&dle(e,s)})}),l}function B$(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 Qb(e,t,n={}){const o=Gc(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(D$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Mle(e,t,l,h,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[l,h]=d==="beforeChildren"?[r,s]:[s,r];return l().then(()=>h())}else return Promise.all([r(),s(n.delay)])}function Mle(e,t,n=0,o=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(Qb(l,t,{...s,delay:n+(typeof o=="function"?0:o)+B$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function _le(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>Qb(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=Qb(e,t,n);else{const i=typeof t=="function"?Gc(e,t,n.custom):t;o=Promise.all(D$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function R$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}const xle=jw.length;function F$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?F$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<xle;n++){const o=jw[n],i=e.props[o];(q1(i)||i===!1)&&(t[o]=i)}return t}const Lle=[...Sw].reverse(),Ile=Sw.length;function ble(e){return t=>Promise.all(t.map(({animation:n,options:o})=>_le(e,n,o)))}function wle(e){let t=ble(e),n=qC(),o=!0;const i=l=>(h,u)=>{const p=Gc(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=F$(e.parent)||{},p=[],y=new Set;let m={},g=1/0;for(let M=0;M<Ile;M++){const _=Lle[M],v=n[_],I=h[_]!==void 0?h[_]:u[_],C=q1(I),w=_===l?v.isActive:null;w===!1&&(g=M);let b=I===u[_]&&I!==h[_]&&C;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),v.protectedKeys={...m},!v.isActive&&w===null||!I&&!v.prevProp||uL(I)||typeof I=="boolean")continue;const x=Cle(v.prevProp,I);let L=x||_===l&&v.isActive&&!b&&C||M>g&&C,N=!1;const j=Array.isArray(I)?I:[I];let $=j.reduce(i(_),{});w===!1&&($={});const{prevResolvedValues:q={}}=v,H={...q,...$},P=V=>{L=!0,y.has(V)&&(N=!0,y.delete(V)),v.needsAnimating[V]=!0;const T=e.getValue(V);T&&(T.liveStyle=!1)};for(const V in H){const T=$[V],R=q[V];if(m.hasOwnProperty(V))continue;let B=!1;Yb(T)&&Yb(R)?B=!R$(T,R):B=T!==R,B?T!=null?P(V):y.add(V):T!==void 0&&y.has(V)?P(V):v.protectedKeys[V]=!0}v.prevProp=I,v.prevResolvedValues=$,v.isActive&&(m={...m,...$}),o&&e.blockInitialAnimation&&(L=!1);const A=b&&x;L&&(!A||N)&&p.push(...j.map(V=>{const T={type:_};if(typeof V=="string"&&o&&!A&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,B=Gc(R,V);if(R.enteringChildren&&B){const{delayChildren:F}=B.transition||{};T.delay=B$(R.enteringChildren,e,F)}}return{animation:V,options:T}}))}if(y.size){const M={};if(typeof h.initial!="boolean"){const _=Gc(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=qC()}}}function Cle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!R$(t,e):!1}function Vt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qC(){return{animate:Vt(!0),whileInView:Vt(),whileHover:Vt(),whileTap:Vt(),whileDrag:Vt(),whileFocus:Vt(),exit:Vt()}}class qt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Nle extends qt{constructor(t){super(t),t.animationState||(t.animationState=wle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();uL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Sle=0;class jle extends qt{constructor(){super(...arguments),this.id=Sle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const $le={animation:{Feature:Nle},exit:{Feature:jle}};function z1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function D1(e){return{point:{x:e.pageX,y:e.pageY}}}const qle=e=>t=>Nw(t)&&e(t,D1(t));function b1(e,t,n,o){return z1(e,t,qle(n),o)}const E$=1e-4,Ale=1-E$,zle=1+E$,O$=.01,Vle=0-O$,Ple=0+O$;function Ne(e){return e.max-e.min}function Tle(e,t,n){return Math.abs(e-t)<=n}function AC(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>=Ale&&e.scale<=zle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Vle&&e.translate<=Ple||isNaN(e.translate))&&(e.translate=0)}function w1(e,t,n,o){AC(e.x,t.x,n.x,o?o.originX:void 0),AC(e.y,t.y,n.y,o?o.originY:void 0)}function zC(e,t,n){e.min=n.min+t.min,e.max=e.min+Ne(t)}function Hle(e,t,n){zC(e.x,t.x,n.x),zC(e.y,t.y,n.y)}function VC(e,t,n){e.min=t.min-n.min,e.max=e.min+Ne(t)}function C1(e,t,n){VC(e.x,t.x,n.x),VC(e.y,t.y,n.y)}function Be(e){return[e("x"),e("y")]}const U$=({current:e})=>e?e.ownerDocument.defaultView:null,PC=(e,t)=>Math.abs(e-t);function Dle(e,t){const n=PC(e.x,t.x),o=PC(e.y,t.y);return Math.sqrt(n**2+o**2)}class W${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=RL(this.lastMoveEventInfo,this.history),m=this.startEvent!==null,g=Dle(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!m&&!g)return;const{point:f}=y,{timestamp:M}=ve;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=BL(m,this.transformPagePoint),ce.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 _=RL(y.type==="pointercancel"?this.lastMoveEventInfo:BL(m,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,_),f&&f(y,_)},!Nw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=D1(t),l=BL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=ve;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,RL(l,this.history)),this.removeListeners=P1(b1(this.contextWindow,"pointermove",this.handlePointerMove),b1(this.contextWindow,"pointerup",this.handlePointerUp),b1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function BL(e,t){return t?{point:t(e.point)}:e}function TC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function RL({point:e},t){return{point:e,delta:TC(e,G$(t)),offset:TC(e,Ble(t)),velocity:Rle(t,.1)}}function Ble(e){return e[0]}function G$(e){return e[e.length-1]}function Rle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=G$(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 Fle(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 HC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Ele(e,{top:t,left:n,bottom:o,right:i}){return{x:HC(e.x,n,i),y:HC(e.y,t,o)}}function DC(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function Ole(e,t){return{x:DC(e.x,t.x),y:DC(e.y,t.y)}}function Ule(e,t){let n=.5;const o=Ne(e),i=Ne(t);return i>o?n=S1(t.min,t.max-o,e.min):o>i&&(n=S1(e.min,e.max-i,t.min)),ut(0,1,n)}function Wle(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ew=.35;function Gle(e=ew){return e===!1?e=0:e===!0&&(e=ew),{x:BC(e,"left","right"),y:BC(e,"top","bottom")}}function BC(e,t,n){return{min:RC(e,t),max:RC(e,n)}}function RC(e,t){return typeof e=="number"?e:e[t]||0}const Zle=new WeakMap;class Kle{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ue(),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(D1(p).point)},s=(p,y)=>{const{drag:m,dragPropagation:g,onDragStart:f}=this.getProps();if(m&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qde(m),!this.openDragLock))return;this.latestPointerEvent=p,this.latestPanInfo=y,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Be(_=>{let v=this.getAxisMotionValue(_).get()||0;if(ct.test(v)){const{projection:I}=this.visualElement;if(I&&I.layout){const C=I.layout.layoutBox[_];C&&(v=Ne(C)*(parseFloat(v)/100))}}this.originPoint[_]=v}),f&&ce.postRender(()=>f(p,y)),Jb(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=Xle(_),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 W$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:U$(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&&ce.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||!U1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Fle(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Dc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ele(o.layoutBox,t):this.constraints=!1,this.elastic=Gle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Be(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Wle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Dc(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=Y0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Ole(i.layout.layoutBox,r);if(n){const d=n(Z0e(s));this.hasMutatedConstraints=!!d,d&&(s=j$(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(!U1(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 Jb(this.visualElement,t),o.start(Tw(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(!U1(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(!Dc(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]=Ule({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Be(s=>{if(!U1(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;Zle.set(this.visualElement,this);const t=this.visualElement.current,n=b1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Dc(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()),ce.read(o);const s=z1(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=ew,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function U1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Xle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Yle extends qt{constructor(t){super(t),this.removeGroupControls=Ee,this.removeListeners=Ee,this.controls=new Kle(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 FC=e=>(t,n)=>{e&&ce.postRender(()=>e(t,n))};class Jle extends qt{constructor(){super(...arguments),this.removePointerDownListener=Ee}onPointerDown(t){this.session=new W$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:FC(t),onStart:FC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&ce.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=b1(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 Kx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function EC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const a1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=EC(e,t.target.x),o=EC(e,t.target.y);return`${n}% ${o}%`}},Qle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=jt.parse(e);if(i.length>5)return o;const r=jt.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=l;const h=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 FL=!1;class ehe extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;x0e(the),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),FL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Kx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,FL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ce.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Cw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;FL=!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 Z$(e){const[t,n]=m$(),o=k.useContext(cw);return c.jsx(ehe,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(N$),isPresent:t,safeToRemove:n})}const the={borderRadius:{...a1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:a1,borderTopRightRadius:a1,borderBottomLeftRadius:a1,borderBottomRightRadius:a1,boxShadow:Qle};function ahe(e,t,n){const o=Me(e)?e:Cc(e);return o.start(Tw("",o,t,n)),o.animation}const nhe=(e,t)=>e.depth-t.depth;class ohe{constructor(){this.children=[],this.isDirty=!1}add(t){sw(this.children,t),this.isDirty=!0}remove(t){dw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nhe),this.isDirty=!1,this.children.forEach(t)}}function che(e,t){const n=Ae.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return ce.setup(o,!0),()=>yt(o)}const K$=["TopLeft","TopRight","BottomLeft","BottomRight"],ihe=K$.length,OC=e=>typeof e=="string"?parseFloat(e):e,UC=e=>typeof e=="number"||U.test(e);function rhe(e,t,n,o,i,r){i?(e.opacity=ie(0,n.opacity??1,she(o)),e.opacityExit=ie(t.opacity??1,0,dhe(o))):r&&(e.opacity=ie(t.opacity??1,n.opacity??1,o));for(let s=0;s<ihe;s++){const d=`border${K$[s]}Radius`;let l=WC(t,d),h=WC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||UC(l)===UC(h)?(e[d]=Math.max(ie(OC(l),OC(h),o),0),(ct.test(h)||ct.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,o))}function WC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const she=X$(0,.5,Vj),dhe=X$(.5,.95,Ee);function X$(e,t,n){return o=>o<e?0:o>t?1:n(S1(e,t,o))}function GC(e,t){e.min=t.min,e.max=t.max}function Te(e,t){GC(e.x,t.x),GC(e.y,t.y)}function ZC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function KC(e,t,n,o,i){return e-=t,e=oL(e,1/n,o),i!==void 0&&(e=oL(e,1/i,o)),e}function lhe(e,t=0,n=1,o=.5,i,r=e,s=e){if(ct.test(t)&&(t=parseFloat(t),t=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=KC(e.min,t,n,d,i),e.max=KC(e.max,t,n,d,i)}function XC(e,t,[n,o,i],r,s){lhe(e,t[n],t[o],t[i],t.scale,r,s)}const hhe=["x","scaleX","originX"],uhe=["y","scaleY","originY"];function YC(e,t,n,o){XC(e.x,t,hhe,n?n.x:void 0,o?o.x:void 0),XC(e.y,t,uhe,n?n.y:void 0,o?o.y:void 0)}function JC(e){return e.translate===0&&e.scale===1}function Y$(e){return JC(e.x)&&JC(e.y)}function QC(e,t){return e.min===t.min&&e.max===t.max}function phe(e,t){return QC(e.x,t.x)&&QC(e.y,t.y)}function eN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function J$(e,t){return eN(e.x,t.x)&&eN(e.y,t.y)}function tN(e){return Ne(e.x)/Ne(e.y)}function aN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class yhe{constructor(){this.members=[]}add(t){sw(this.members,t),t.scheduleRender()}remove(t){if(dw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let o;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function khe(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:m,skewY: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 EL=["","X","Y","Z"],mhe=1e3;let fhe=0;function OL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function Q$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=H$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ce,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&Q$(o)}function eq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=fhe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Mhe),this.nodes.forEach(Ihe),this.nodes.forEach(bhe),this.nodes.forEach(_he)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new ohe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new hw),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=k$(s)&&!c0e(s),this.instance=s;const{layoutId:d,layout:l,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ce.read(()=>{p=window.innerWidth}),e(s,()=>{const m=window.innerWidth;m!==p&&(p=m,this.root.updateBlockedByResize=!0,u&&u(),u=che(y,250),Kx.hasAnimatedSinceResize&&(Kx.hasAnimatedSinceResize=!1,this.nodes.forEach(cN)))})}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()||jhe,{onLayoutAnimationStart:f,onLayoutAnimationComplete:M}=h.getProps(),_=!this.targetLayout||!J$(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={...bw(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||cN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),yt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(whe),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Q$(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(nN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(oN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Lhe),this.nodes.forEach(ghe),this.nodes.forEach(vhe)):this.nodes.forEach(oN),this.clearAllSnapshots();const d=Ae.now();ve.delta=ut(0,1e3/60,d-ve.timestamp),ve.timestamp=d,ve.isProcessing=!0,qL.update.process(ve),qL.preRender.process(ve),qL.render.process(ve),ve.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Cw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(xhe),this.sharedNodes.forEach(Che)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ce.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ce.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=ue(),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&&!Y$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Mc(this.latestValues)||u)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let l=this.removeElementScroll(d);return s&&(l=this.removeTransform(l)),$he(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return ue();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(qhe))){const{scroll:h}=this.root;h&&(Bc(d.x,h.offset.x),Bc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=ue();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),Bc(d.x,u.offset.x),Bc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=ue();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&&Rc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Mc(u.latestValues)&&Rc(l,u.latestValues)}return Mc(this.latestValues)&&Rc(l,this.latestValues),l}removeTransform(s){const d=ue();Te(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Mc(h.latestValues))continue;Zb(h.latestValues)&&h.updateSnapshot();const u=ue(),p=h.measurePageBox();Te(u,p),YC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Mc(this.latestValues)&&YC(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!==ve.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=ve.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ue(),this.relativeTargetOrigin=ue(),C1(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=ue(),this.targetWithTransforms=ue()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Hle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Te(this.target,this.layout.layoutBox),q$(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=ue(),this.relativeTargetOrigin=ue(),C1(this.relativeTargetOrigin,this.target,y.target),Te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Zb(this.parent.latestValues)||$$(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===ve.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;X0e(this.layoutCorrected,this.treeScale,this.path,d),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=ue());const{target:m}=s;if(!m){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ZC(this.prevProjectionDelta.x,this.projectionDelta.x),ZC(this.prevProjectionDelta.y,this.projectionDelta.y)),w1(this.projectionDelta,this.layoutCorrected,m,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!aN(this.projectionDelta.x,this.prevProjectionDelta.x)||!aN(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=Fc(),this.projectionDelta=Fc(),this.projectionDeltaWithTransform=Fc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Fc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=ue(),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(She));this.animationProgress=0;let I;this.mixTargetDelta=C=>{const w=C/1e3;iN(p.x,s.x,w),iN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(C1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Nhe(this.relativeTarget,this.relativeTargetOrigin,y,w),I&&phe(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=ue()),Te(I,this.relativeTarget)),f&&(this.animationValues=u,rhe(u,h,this.latestValues,w,v,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},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=ce.update(()=>{Kx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Cc(0)),this.currentAnimation=ahe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),s.onUpdate&&s.onUpdate(d)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mhe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:l,layout:h,latestValues:u}=s;if(!(!d||!l||!h)){if(this!==s&&this.layout&&h&&tq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||ue();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),Rc(d,u),w1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new yhe),this.sharedNodes.get(s).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:l}={}){const h=this.getStack();h&&h.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(d=!0),!d)return;const h={};l.z&&OL("z",s,h,this.animationValues);for(let u=0;u<EL.length;u++)OL(`rotate${EL[u]}`,s,h,this.animationValues),OL(`skew${EL[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=Zx(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=Zx(d?.pointerEvents)||""),this.hasProjected&&!Mc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=khe(this.projectionDeltaWithTransform,this.treeScale,u);l&&(p=l(u,p)),s.transform=p;const{x:y,y:m}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${m.origin*100}% 0`,h.animationValues?s.opacity=h===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=h===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const g in A1){if(u[g]===void 0)continue;const{correct:f,applyTo:M,isCSSVariable:_}=A1[g],v=p==="none"?u[g]:f(u[g],h);if(M){const I=M.length;for(let C=0;C<I;C++)s[M[C]]=v}else _?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?Zx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(nN),this.root.sharedNodes.clear()}}}function ghe(e){e.updateLayout()}function vhe(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Be(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ne(p);p.min=n[u].min,p.max=p.min+y}):tq(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=Fc();w1(s,n,t.layoutBox);const d=Fc();r?w1(d,e.applyTransform(o,!0),t.measuredBox):w1(d,n,t.layoutBox);const l=!Y$(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=ue();C1(m,t.layoutBox,p.layoutBox);const g=ue();C1(g,n,y.layoutBox),J$(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 Mhe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function _he(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xhe(e){e.clearSnapshot()}function nN(e){e.clearMeasurements()}function oN(e){e.isLayoutDirty=!1}function Lhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function cN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ihe(e){e.resolveTargetDelta()}function bhe(e){e.calcProjection()}function whe(e){e.resetSkewAndRotation()}function Che(e){e.removeLeadSnapshot()}function iN(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 rN(e,t,n,o){e.min=ie(t.min,n.min,o),e.max=ie(t.max,n.max,o)}function Nhe(e,t,n,o){rN(e.x,t.x,n.x,o),rN(e.y,t.y,n.y,o)}function She(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jhe={duration:.45,ease:[.4,0,.1,1]},sN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),dN=sN("applewebkit/")&&!sN("chrome/")?Math.round:Ee;function lN(e){e.min=dN(e.min),e.max=dN(e.max)}function $he(e){lN(e.x),lN(e.y)}function tq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Tle(tN(t),tN(n),.2)}function qhe(e){return e!==e.root&&e.scroll?.wasRoot}const Ahe=eq({attachResizeListener:(e,t)=>z1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),UL={current:void 0},aq=eq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!UL.current){const e=new Ahe({});e.mount(window),e.setOptions({layoutScroll:!0}),UL.current=e}return UL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zhe={pan:{Feature:Jle},drag:{Feature:Yle,ProjectionNode:aq,MeasureLayout:Z$}};function hN(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&&ce.postRender(()=>r(t,D1(t)))}class Vhe extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=e0e(t,(n,o)=>(hN(this.node,o,"Start"),i=>hN(this.node,i,"End"))))}unmount(){}}class Phe extends qt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=P1(z1(this.node.current,"focus",()=>this.onFocus()),z1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function uN(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&&ce.postRender(()=>r(t,D1(t)))}class The extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=o0e(t,(n,o)=>(uN(this.node,o,"Start"),(i,{success:r})=>uN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const tw=new WeakMap,WL=new WeakMap,Hhe=e=>{const t=tw.get(e.target);t&&t(e)},Dhe=e=>{e.forEach(Hhe)};function Bhe({root:e,...t}){const n=e||document;WL.has(n)||WL.set(n,{});const o=WL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Dhe,{root:e,...t})),o[i]}function Rhe(e,t,n){const o=Bhe(t);return tw.set(e,n),o.observe(e),()=>{tw.delete(e),o.unobserve(e)}}const Fhe={some:0,all:1};class Ehe extends qt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Fhe[i]},d=l=>{const{isIntersecting:h}=l;if(this.isInView===h||(this.isInView=h,r&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=h?u:p;y&&y(l)};return Rhe(this.node.current,s,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Ohe(t,n))&&this.startObserver()}unmount(){}}function Ohe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Uhe={inView:{Feature:Ehe},tap:{Feature:The},focus:{Feature:Phe},hover:{Feature:Vhe}},Whe={layout:{ProjectionNode:aq,MeasureLayout:Z$}},Ghe={...$le,...Uhe,...zhe,...Whe},Hw=G0e(Ghe,ile);function nq(e){const t=$t(()=>Cc(e)),{isStatic:n}=k.useContext(lL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function oq(e,t){const n=nq(t()),o=()=>n.set(t());return o(),rw(()=>{const i=()=>ce.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function Zhe(e){I1.current=[],e();const t=oq(I1.current,e);return I1.current=void 0,t}function Khe(e,t,n,o){if(typeof e=="function")return Zhe(e);const i=typeof t=="function"?t:i0e(t,n,o);return Array.isArray(e)?pN(e,i):pN([e],([r])=>i(r))}function pN(e,t){const n=$t(()=>[]);return oq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Xhe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Yhe=()=>new Xhe;function Jhe(){return $t(Yhe)}const cq=k.createContext(null);function Qhe(e,t,n,o){if(!o)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=o>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=ie(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?u2e(e,i,i+r):e}function eue({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=$t(()=>Hw[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(nue)},updateOrder:(p,y,m)=>{if(h.current)return;const g=Qhe(l,p,y,m);l!==g&&(h.current=!0,o(g.map(aue).filter(f=>i.indexOf(f)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(cq.Provider,{value:u,children:e})})}const tue=k.forwardRef(eue);function aue(e){return e.value}function nue(e,t){return e.layout.min-t.layout.min}function yN(e,t=0){return Me(e)?e:nq(t)}function oue({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=$t(()=>Hw[o]),h=k.useContext(cq),u={x:yN(t.x),y:yN(t.y)},p=Khe([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 cue=k.forwardRef(oue),cL=[c.jsx(x1,{size:18}),c.jsx(Lt,{size:18}),c.jsx(v1,{size:18}),c.jsx(It,{size:18}),c.jsx(h1,{size:18}),c.jsx(l1,{size:18})],iue=({items:e,onReorder:t,draggable:n=!1,className:o,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,l]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((h,u)=>{if(h.icon==null&&(h.icon=cL[u%cL.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(tue,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(rue,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function rue({value:e,index:t}){const n=Jhe(),o=cL[t%cL.length]??null;return c.jsx(cue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:c.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[c.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:c.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:c.jsxs("g",{fill:"currentColor",children:[c.jsx("circle",{cx:"8",cy:"6",r:"2"}),c.jsx("circle",{cx:"16",cy:"6",r:"2"}),c.jsx("circle",{cx:"8",cy:"12",r:"2"}),c.jsx("circle",{cx:"16",cy:"12",r:"2"}),c.jsx("circle",{cx:"8",cy:"18",r:"2"}),c.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),c.jsx("div",{style:{flex:1},children:c.jsx(Ij,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??o})})]})})}function sue(e,t){return t.required?t.type==="checkbox"&&!e?{isValid:!1,error:`${t.label} est requis`}:!e||typeof e=="string"&&e.trim()===""?{isValid:!1,error:`${t.label} est requis`}:null:null}function due(e){return!e||typeof e=="string"&&e.trim()===""}function lue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function hue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function uue(e,t){const n=Number(e);return isNaN(n)?{isValid:!1,error:"Doit être un nombre valide"}:t.validation?.min!==void 0&&n<Number(t.validation.min)?{isValid:!1,error:`Doit être ≥ ${t.validation.min}`}:t.validation?.max!==void 0&&n>Number(t.validation.max)?{isValid:!1,error:`Doit être ≤ ${t.validation.max}`}:null}function pue(e,t){return t.validation?.minDate&&new Date(e)<new Date(t.validation.minDate)?{isValid:!1,error:`Doit être après ${t.validation.minDate}`}:t.validation?.maxDate&&new Date(e)>new Date(t.validation.maxDate)?{isValid:!1,error:`Doit être avant ${t.validation.maxDate}`}:null}function yue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),o=e.type;if(!n.some(i=>o.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${o}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function kue(e,t){return t.validation?t.validation.minLength&&e.length<t.validation.minLength?{isValid:!1,error:`Minimum ${t.validation.minLength} caractères`}:t.validation.maxLength&&e.length>t.validation.maxLength?{isValid:!1,error:`Maximum ${t.validation.maxLength} caractères`}:t.validation.pattern&&!new RegExp(t.validation.pattern).test(e)?{isValid:!1,error:"Format invalide"}:null:null}function iL(e,t){const n=sue(e,t);if(n)return n;if(due(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=lue(o);if(r)return r;break}case"url":{const r=hue(o);if(r)return r;break}case"number":{const r=uue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=pue(e,t);if(r)return r;break}case"file":{const r=yue(e,t);if(r)return r;break}}const i=kue(o,t);return i||{isValid:!0}}function iq(e,t){const n={};let o=!0;for(const i of t){const r=iL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const mue="_formContainer_14ads_1",fue="_headerLine_14ads_17",gue="_formTitle_14ads_25",vue="_formDescription_14ads_30",Mue="_sectionTitle_14ads_37",_ue="_sectionHelp_14ads_44",xue="_fieldHelp_14ads_50",Lue="_gridContainer_14ads_58",Iue="_fieldGridItem_14ads_70",bue="_sectionFull_14ads_105",wue="_formFooter_14ads_110",Cue="_footerLeft_14ads_118",Nue="_footerRight_14ads_119",Sue="_cancelLink_14ads_125",jue="_submitButton_14ads_136",$ue="_fieldLabel_14ads_148",que="_inputWrapper_14ads_163",Aue="_inputInner_14ads_187",zue="_hasPrefix_14ads_196",Vue="_inputBase_14ads_196",Pue="_iconPrefix_14ads_292",Tue="_iconSuffix_14ads_293",Hue="_passwordToggle_14ads_319",Due="_fieldError_14ads_365",Bue="_fieldInvalid_14ads_372",oe={formContainer:mue,headerLine:fue,formTitle:gue,formDescription:vue,sectionTitle:Mue,sectionHelp:_ue,fieldHelp:xue,gridContainer:Lue,fieldGridItem:Iue,sectionFull:bue,formFooter:wue,footerLeft:Cue,footerRight:Nue,cancelLink:Sue,submitButton:jue,fieldLabel:$ue,inputWrapper:que,inputInner:Aue,hasPrefix:zue,inputBase:Vue,iconPrefix:Pue,iconSuffix:Tue,passwordToggle:Hue,fieldError:Due,fieldInvalid:Bue},rq=({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:oe.inputWrapper,children:[c.jsx("label",{className:`${oe.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${oe.inputInner} ${p&&y==="prefix"?oe.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:oe.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${oe.inputBase} ${i?oe.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:oe.passwordToggle,onClick:()=>d(g=>!g),children:s?c.jsx(k1,{size:16}):c.jsx(m1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:oe.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:oe.fieldError,children:i})]})},Rue="_fieldGroup_yb3zi_7",Fue="_fieldLabel_yb3zi_11",Eue="_required_yb3zi_17",Oue="_fieldInput_yb3zi_22",Uue="_fieldInvalid_yb3zi_40",Wue="_fieldValid_yb3zi_44",Gue="_fieldError_yb3zi_48",Zue="_radioGroup_yb3zi_57",wt={fieldGroup:Rue,fieldLabel:Fue,required:Eue,fieldInput:Oue,fieldInvalid:Uue,fieldValid:Wue,fieldError:Gue,radioGroup:Zue},yL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:wt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${wt.fieldLabel} ${e.required?wt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:wt.fieldError,children:n})]})},sq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",wt.fieldInput,s?wt.fieldInvalid:"",d?wt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(yL,{field:e,error:i,touched:r,children:c.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:o,rows:4})})},Kue="_wrapper_117u4_1",Xue="_wrapperInvalid_117u4_15",Yue="_nativeSelect_117u4_19",Jue="_display_117u4_30",Que="_topLabel_117u4_37",epe="_valueLine_117u4_45",tpe="_valuePlaceholder_117u4_53",ape="_valueActive_117u4_57",npe="_caret_117u4_61",ope="_error_117u4_75",cpe="_optionStyle_117u4_89",He={wrapper:Kue,wrapperInvalid:Xue,nativeSelect:Yue,display:Jue,topLabel:Que,valueLine:epe,valuePlaceholder:tpe,valueActive:ape,caret:npe,error:ope,optionStyle:cpe},Dw=({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})]})},dq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(yL,{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})]})}),lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(yL,{field:e,error:i,touched:r,children:c.jsx("div",{className:wt.radioGroup,children:e.options?.map(s=>c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),ipe="_fileInputContainer_r2guc_3",rpe="_customFileInput_r2guc_8",spe="_fileInputLabel_r2guc_12",dpe="_dragOver_r2guc_39",lpe="_uploadIcon_r2guc_44",hpe="_uploadText_r2guc_50",upe="_uploadHint_r2guc_56",ppe="_fileList_r2guc_60",ype="_fileListTitle_r2guc_69",kpe="_fileItem_r2guc_80",mpe="_fileIcon_r2guc_96",fpe="_fileName_r2guc_102",gpe="_fileSize_r2guc_108",vpe="_removeButton_r2guc_114",Mpe="_errorText_r2guc_129",xe={fileInputContainer:ipe,customFileInput:rpe,fileInputLabel:spe,dragOver:dpe,uploadIcon:lpe,uploadText:hpe,uploadHint:upe,fileList:ppe,fileListTitle:ype,fileItem:kpe,fileIcon:mpe,fileName:fpe,fileSize:gpe,removeButton:vpe,errorText:Mpe},hq=({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:`${xe.fileInputContainer} ${r&&i?xe.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:xe.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${xe.fileInputLabel} ${d?xe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:m,onClick:u,tabIndex:0,children:[c.jsx("div",{className:xe.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:xe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:xe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:xe.fileList,children:[c.jsx("div",{className:xe.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((M,_)=>c.jsxs("li",{className:xe.fileItem,children:[c.jsx("div",{className:xe.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:xe.fileName,children:M.name}),c.jsx("div",{className:xe.fileSize,children:f(M.size)}),c.jsx("button",{type:"button",className:xe.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:xe.errorText,children:i})]})},_pe="_container_ecah4_2",xpe="_label_ecah4_6",Lpe="_requiredIndicator_ecah4_13",Ipe="_input_ecah4_18",bpe="_inputError_ecah4_49",wpe="_errorMessage_ecah4_58",Vc={container:_pe,label:xpe,requiredIndicator:Lpe,input:Ipe,inputError:bpe,errorMessage:wpe},uq=({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:Vc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Vc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Vc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Vc.input} ${r&&i?Vc.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:Vc.errorMessage,children:i})]})},Cpe="_rangeContainer_cyqk3_3",Npe={rangeContainer:Cpe},pq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${Npe.rangeContainer}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:o,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),Spe="_colorPickerContainer_1wxgj_2",jpe="_colorInput_1wxgj_19",$pe="_colorValue_1wxgj_39",GL={colorPickerContainer:Spe,colorInput:jpe,colorValue:$pe},yq=({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:GL.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:GL.colorInput}),c.jsx("span",{className:GL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),kq=({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(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(uq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(pq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(yq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(sq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Dw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(dq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(rq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var ZL,kN;function qpe(){if(kN)return ZL;kN=1;function e(){this.__data__=[],this.size=0}return ZL=e,ZL}var KL,mN;function mq(){if(mN)return KL;mN=1;function e(t,n){return t===n||t!==t&&n!==n}return KL=e,KL}var XL,fN;function kL(){if(fN)return XL;fN=1;var e=mq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return XL=t,XL}var YL,gN;function Ape(){if(gN)return YL;gN=1;var e=kL(),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 YL=o,YL}var JL,vN;function zpe(){if(vN)return JL;vN=1;var e=kL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return JL=t,JL}var QL,MN;function Vpe(){if(MN)return QL;MN=1;var e=kL();function t(n){return e(this.__data__,n)>-1}return QL=t,QL}var eI,_N;function Ppe(){if(_N)return eI;_N=1;var e=kL();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 eI=t,eI}var tI,xN;function mL(){if(xN)return tI;xN=1;var e=qpe(),t=Ape(),n=zpe(),o=Vpe(),i=Ppe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,tI=r,tI}var aI,LN;function Tpe(){if(LN)return aI;LN=1;var e=mL();function t(){this.__data__=new e,this.size=0}return aI=t,aI}var nI,IN;function Hpe(){if(IN)return nI;IN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return nI=e,nI}var oI,bN;function Dpe(){if(bN)return oI;bN=1;function e(t){return this.__data__.get(t)}return oI=e,oI}var cI,wN;function Bpe(){if(wN)return cI;wN=1;function e(t){return this.__data__.has(t)}return cI=e,cI}var iI,CN;function fq(){if(CN)return iI;CN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return iI=e,iI}var rI,NN;function kt(){if(NN)return rI;NN=1;var e=fq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return rI=n,rI}var sI,SN;function Bw(){if(SN)return sI;SN=1;var e=kt(),t=e.Symbol;return sI=t,sI}var dI,jN;function Rpe(){if(jN)return dI;jN=1;var e=Bw(),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 dI=r,dI}var lI,$N;function Fpe(){if($N)return lI;$N=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return lI=n,lI}var hI,qN;function fL(){if(qN)return hI;qN=1;var e=Bw(),t=Rpe(),n=Fpe(),o="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:o:r&&r in Object(d)?t(d):n(d)}return hI=s,hI}var uI,AN;function gq(){if(AN)return uI;AN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return uI=e,uI}var pI,zN;function vq(){if(zN)return pI;zN=1;var e=fL(),t=gq(),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 pI=s,pI}var yI,VN;function Epe(){if(VN)return yI;VN=1;var e=kt(),t=e["__core-js_shared__"];return yI=t,yI}var kI,PN;function Ope(){if(PN)return kI;PN=1;var e=Epe(),t=function(){var o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function n(o){return!!t&&t in o}return kI=n,kI}var mI,TN;function Mq(){if(TN)return mI;TN=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 mI=n,mI}var fI,HN;function Upe(){if(HN)return fI;HN=1;var e=vq(),t=Ope(),n=gq(),o=Mq(),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 fI=p,fI}var gI,DN;function Wpe(){if(DN)return gI;DN=1;function e(t,n){return t?.[n]}return gI=e,gI}var vI,BN;function Qc(){if(BN)return vI;BN=1;var e=Upe(),t=Wpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return vI=n,vI}var MI,RN;function Rw(){if(RN)return MI;RN=1;var e=Qc(),t=kt(),n=e(t,"Map");return MI=n,MI}var _I,FN;function gL(){if(FN)return _I;FN=1;var e=Qc(),t=e(Object,"create");return _I=t,_I}var xI,EN;function Gpe(){if(EN)return xI;EN=1;var e=gL();function t(){this.__data__=e?e(null):{},this.size=0}return xI=t,xI}var LI,ON;function Zpe(){if(ON)return LI;ON=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return LI=e,LI}var II,UN;function Kpe(){if(UN)return II;UN=1;var e=gL(),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 II=i,II}var bI,WN;function Xpe(){if(WN)return bI;WN=1;var e=gL(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return bI=o,bI}var wI,GN;function Ype(){if(GN)return wI;GN=1;var e=gL(),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 wI=n,wI}var CI,ZN;function Jpe(){if(ZN)return CI;ZN=1;var e=Gpe(),t=Zpe(),n=Kpe(),o=Xpe(),i=Ype();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,CI=r,CI}var NI,KN;function Qpe(){if(KN)return NI;KN=1;var e=Jpe(),t=mL(),n=Rw();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return NI=o,NI}var SI,XN;function eye(){if(XN)return SI;XN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return SI=e,SI}var jI,YN;function vL(){if(YN)return jI;YN=1;var e=eye();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return jI=t,jI}var $I,JN;function tye(){if(JN)return $I;JN=1;var e=vL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return $I=t,$I}var qI,QN;function aye(){if(QN)return qI;QN=1;var e=vL();function t(n){return e(this,n).get(n)}return qI=t,qI}var AI,eS;function nye(){if(eS)return AI;eS=1;var e=vL();function t(n){return e(this,n).has(n)}return AI=t,AI}var zI,tS;function oye(){if(tS)return zI;tS=1;var e=vL();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 zI=t,zI}var VI,aS;function _q(){if(aS)return VI;aS=1;var e=Qpe(),t=tye(),n=aye(),o=nye(),i=oye();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,VI=r,VI}var PI,nS;function cye(){if(nS)return PI;nS=1;var e=mL(),t=Rw(),n=_q(),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 PI=i,PI}var TI,oS;function iye(){if(oS)return TI;oS=1;var e=mL(),t=Tpe(),n=Hpe(),o=Dpe(),i=Bpe(),r=cye();function s(d){var l=this.__data__=new e(d);this.size=l.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=i,s.prototype.set=r,TI=s,TI}var HI,cS;function rye(){if(cS)return HI;cS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return HI=t,HI}var DI,iS;function sye(){if(iS)return DI;iS=1;function e(t){return this.__data__.has(t)}return DI=e,DI}var BI,rS;function dye(){if(rS)return BI;rS=1;var e=_q(),t=rye(),n=sye();function o(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return o.prototype.add=o.prototype.push=t,o.prototype.has=n,BI=o,BI}var RI,sS;function lye(){if(sS)return RI;sS=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 RI=e,RI}var FI,dS;function hye(){if(dS)return FI;dS=1;function e(t,n){return t.has(n)}return FI=e,FI}var EI,lS;function xq(){if(lS)return EI;lS=1;var e=dye(),t=lye(),n=hye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,m=s.length,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 C=s[_],w=d[_];if(h)var b=y?h(w,C,_,d,s,p):h(C,w,_,s,d,p);if(b!==void 0){if(b)continue;v=!1;break}if(I){if(!t(d,function(x,L){if(!n(I,L)&&(C===x||u(C,x,l,h,p)))return I.push(L)})){v=!1;break}}else if(!(C===w||u(C,w,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return EI=r,EI}var OI,hS;function uye(){if(hS)return OI;hS=1;var e=kt(),t=e.Uint8Array;return OI=t,OI}var UI,uS;function pye(){if(uS)return UI;uS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return UI=e,UI}var WI,pS;function yye(){if(pS)return WI;pS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return WI=e,WI}var GI,yS;function kye(){if(yS)return GI;yS=1;var e=Bw(),t=uye(),n=mq(),o=xq(),i=pye(),r=yye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",m="[object RegExp]",g="[object Set]",f="[object String]",M="[object Symbol]",_="[object ArrayBuffer]",v="[object DataView]",I=e?e.prototype:void 0,C=I?I.valueOf:void 0;function w(b,x,L,N,j,$,q){switch(L){case v:if(b.byteLength!=x.byteLength||b.byteOffset!=x.byteOffset)return!1;b=b.buffer,x=x.buffer;case _:return!(b.byteLength!=x.byteLength||!$(new t(b),new t(x)));case l:case h:case y:return n(+b,+x);case u:return b.name==x.name&&b.message==x.message;case m:case f:return b==x+"";case p:var H=i;case g:var P=N&s;if(H||(H=r),b.size!=x.size&&!P)return!1;var A=q.get(b);if(A)return A==x;N|=d,q.set(b,x);var S=o(H(b),H(x),N,j,$,q);return q.delete(b),S;case M:if(C)return C.call(b)==C.call(x)}return!1}return GI=w,GI}var ZI,kS;function mye(){if(kS)return ZI;kS=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 ZI=e,ZI}var KI,mS;function Fw(){if(mS)return KI;mS=1;var e=Array.isArray;return KI=e,KI}var XI,fS;function fye(){if(fS)return XI;fS=1;var e=mye(),t=Fw();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return XI=n,XI}var YI,gS;function gye(){if(gS)return YI;gS=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 YI=e,YI}var JI,vS;function vye(){if(vS)return JI;vS=1;function e(){return[]}return JI=e,JI}var QI,MS;function Mye(){if(MS)return QI;MS=1;var e=gye(),t=vye(),n=Object.prototype,o=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return o.call(s,d)}))}:t;return QI=r,QI}var eb,_S;function _ye(){if(_S)return eb;_S=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return eb=e,eb}var tb,xS;function ML(){if(xS)return tb;xS=1;function e(t){return t!=null&&typeof t=="object"}return tb=e,tb}var ab,LS;function xye(){if(LS)return ab;LS=1;var e=fL(),t=ML(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return ab=o,ab}var nb,IS;function Lye(){if(IS)return nb;IS=1;var e=xye(),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 nb=r,nb}var s1={exports:{}},ob,bS;function Iye(){if(bS)return ob;bS=1;function e(){return!1}return ob=e,ob}s1.exports;var wS;function Lq(){return wS||(wS=1,function(e,t){var n=kt(),o=Iye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,l=d?d.isBuffer:void 0,h=l||o;e.exports=h}(s1,s1.exports)),s1.exports}var cb,CS;function bye(){if(CS)return cb;CS=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 cb=n,cb}var ib,NS;function Iq(){if(NS)return ib;NS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return ib=t,ib}var rb,SS;function wye(){if(SS)return rb;SS=1;var e=fL(),t=Iq(),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]",C="[object Int8Array]",w="[object Int16Array]",b="[object Int32Array]",x="[object Uint8Array]",L="[object Uint8ClampedArray]",N="[object Uint16Array]",j="[object Uint32Array]",$={};$[v]=$[I]=$[C]=$[w]=$[b]=$[x]=$[L]=$[N]=$[j]=!0,$[o]=$[i]=$[M]=$[r]=$[_]=$[s]=$[d]=$[l]=$[h]=$[u]=$[p]=$[y]=$[m]=$[g]=$[f]=!1;function q(H){return n(H)&&t(H.length)&&!!$[e(H)]}return rb=q,rb}var sb,jS;function Cye(){if(jS)return sb;jS=1;function e(t){return function(n){return t(n)}}return sb=e,sb}var d1={exports:{}};d1.exports;var $S;function Nye(){return $S||($S=1,function(e,t){var n=fq(),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}(d1,d1.exports)),d1.exports}var db,qS;function bq(){if(qS)return db;qS=1;var e=wye(),t=Cye(),n=Nye(),o=n&&n.isTypedArray,i=o?t(o):e;return db=i,db}var lb,AS;function Sye(){if(AS)return lb;AS=1;var e=_ye(),t=Lye(),n=Fw(),o=Lq(),i=bye(),r=bq(),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 lb=l,lb}var hb,zS;function jye(){if(zS)return hb;zS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return hb=t,hb}var ub,VS;function $ye(){if(VS)return ub;VS=1;function e(t,n){return function(o){return t(n(o))}}return ub=e,ub}var pb,PS;function qye(){if(PS)return pb;PS=1;var e=$ye(),t=e(Object.keys,Object);return pb=t,pb}var yb,TS;function Aye(){if(TS)return yb;TS=1;var e=jye(),t=qye(),n=Object.prototype,o=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))o.call(r,d)&&d!="constructor"&&s.push(d);return s}return yb=i,yb}var kb,HS;function zye(){if(HS)return kb;HS=1;var e=vq(),t=Iq();function n(o){return o!=null&&t(o.length)&&!e(o)}return kb=n,kb}var mb,DS;function Vye(){if(DS)return mb;DS=1;var e=Sye(),t=Aye(),n=zye();function o(i){return n(i)?e(i):t(i)}return mb=o,mb}var fb,BS;function Pye(){if(BS)return fb;BS=1;var e=fye(),t=Mye(),n=Vye();function o(i){return e(i,n,t)}return fb=o,fb}var gb,RS;function Tye(){if(RS)return gb;RS=1;var e=Pye(),t=1,n=Object.prototype,o=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),m=y.length,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 C=!0;u.set(r,s),u.set(s,r);for(var w=p;++M<m;){_=y[M];var b=r[_],x=s[_];if(l)var L=p?l(x,b,_,s,r,u):l(b,x,_,r,s,u);if(!(L===void 0?b===x||h(b,x,d,l,u):L)){C=!1;break}w||(w=_=="constructor")}if(C&&!w){var N=r.constructor,j=s.constructor;N!=j&&"constructor"in r&&"constructor"in s&&!(typeof N=="function"&&N instanceof N&&typeof j=="function"&&j instanceof j)&&(C=!1)}return u.delete(r),u.delete(s),C}return gb=i,gb}var vb,FS;function Hye(){if(FS)return vb;FS=1;var e=Qc(),t=kt(),n=e(t,"DataView");return vb=n,vb}var Mb,ES;function Dye(){if(ES)return Mb;ES=1;var e=Qc(),t=kt(),n=e(t,"Promise");return Mb=n,Mb}var _b,OS;function Bye(){if(OS)return _b;OS=1;var e=Qc(),t=kt(),n=e(t,"Set");return _b=n,_b}var xb,US;function Rye(){if(US)return xb;US=1;var e=Qc(),t=kt(),n=e(t,"WeakMap");return xb=n,xb}var Lb,WS;function Fye(){if(WS)return Lb;WS=1;var e=Hye(),t=Rw(),n=Dye(),o=Bye(),i=Rye(),r=fL(),s=Mq(),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 C=r(I),w=C==l?I.constructor:void 0,b=w?s(w):"";if(b)switch(b){case m:return y;case g:return d;case f:return h;case M:return u;case _:return p}return C}),Lb=v,Lb}var Ib,GS;function Eye(){if(GS)return Ib;GS=1;var e=iye(),t=xq(),n=kye(),o=Tye(),i=Fye(),r=Fw(),s=Lq(),d=bq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,m=y.hasOwnProperty;function g(f,M,_,v,I,C){var w=r(f),b=r(M),x=w?u:i(f),L=b?u:i(M);x=x==h?p:x,L=L==h?p:L;var N=x==p,j=L==p,$=x==L;if($&&s(f)){if(!s(M))return!1;w=!0,N=!1}if($&&!N)return C||(C=new e),w||d(f)?t(f,M,_,v,I,C):n(f,M,x,_,v,I,C);if(!(_&l)){var q=N&&m.call(f,"__wrapped__"),H=j&&m.call(M,"__wrapped__");if(q||H){var P=q?f.value():f,A=H?M.value():M;return C||(C=new e),I(P,A,_,v,C)}}return $?(C||(C=new e),o(f,M,_,v,I,C)):!1}return Ib=g,Ib}var bb,ZS;function Oye(){if(ZS)return bb;ZS=1;var e=Eye(),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 bb=n,bb}var wb,KS;function Uye(){if(KS)return wb;KS=1;var e=Oye();function t(n,o){return e(n,o)}return wb=t,wb}var Wye=Uye();const Gye=a.getDefaultExportFromCjs(Wye),Zye=({schema:e,initialData:t={},onSubmit:n,submitLabel:o,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[m,g]=k.useState({}),[f,M]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Gye(_.current,t)||(u(t),_.current=t)},[t]);const v=(L,N)=>{const j={...h,[L]:N};if(u(j),m[L]){const $=e.fields.find(q=>q.name===L);if($){const q=iL(N,$);y(H=>({...H,[L]:q.isValid?"":q.error}))}}},I=L=>{if(!m[L]){g(j=>({...j,[L]:!0}));const N=e.fields.find(j=>j.name===L);if(N){const j=iL(h[L],N);y($=>({...$,[L]:j.isValid?"":j.error}))}}},C=async L=>{L.preventDefault(),M(!0);const N=e.fields.reduce(($,q)=>(q.type!=="section"&&($[q.name]=!0),$),{});g(N);const j=iq(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)},w=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,x=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:oe.formContainer,children:[c.jsx("div",{className:oe.headerLine,children:c.jsx("h2",{className:oe.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:oe.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${oe.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:C,children:[c.jsx("div",{className:oe.gridContainer,style:{gridTemplateColumns:`repeat(${x}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return c.jsxs("div",{className:oe.sectionFull,children:[c.jsx("h5",{className:oe.sectionTitle,children:L.label}),L.help&&c.jsx("p",{className:oe.sectionHelp,children:L.help})]},L.name);const j={gridColumn:`span ${Math.max(1,Math.min(x,L.gridCol??x))}`};return c.jsxs("div",{className:oe.fieldGridItem,style:j,children:[c.jsx(kq,{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:oe.fieldHelp,children:L.help})]},L.name)})}),c.jsxs("div",{className:oe.formFooter,children:[c.jsx("div",{className:oe.footerLeft,children:s&&c.jsxs("button",{type:"button",className:oe.cancelLink,onClick:s,children:[w&&c.jsx(w,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:oe.footerRight,children:c.jsx(Xx,{type:"submit",variant:"primary",size:"md",className:oe.submitButton,disabled:f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):c.jsxs(c.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&c.jsx(b,{size:16,className:"me-2"}),o||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&c.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function Kye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Xye="_container_1gljv_85",Yye="_tableWrapper_1gljv_111",Jye="_tableControls_1gljv_117",Qye="_controlsRight_1gljv_128",e4e="_limitedRows_1gljv_151",t4e="_table_1gljv_111",a4e="_headerCell_1gljv_206",n4e="_headerContent_1gljv_220",o4e="_headerWords_1gljv_229",c4e="_headerWord_1gljv_229",i4e="_cellContent_1gljv_276",r4e="_alignLeft_1gljv_286",s4e="_alignCenter_1gljv_290",d4e="_alignRight_1gljv_294",l4e="_tableCell_1gljv_298",h4e="_tableRow_1gljv_308",u4e="_emptyRow_1gljv_385",p4e="_toggleFiltersButton_1gljv_393",y4e="_toggleSortButton_1gljv_394",k4e="_buttonTextCompact_1gljv_415",m4e="_uppercaseSmall_1gljv_450",f4e="_filtersPanel_1gljv_463",g4e="_filtersPanelInline_1gljv_481",v4e="_filtersPanelHorizontal_1gljv_492",M4e="_filtersRow_1gljv_492",_4e="_filtersActionsHorizontal_1gljv_525",x4e="_filterItemInline_1gljv_542",L4e="_filterLabel_1gljv_571",I4e="_filterInput_1gljv_576",b4e="_filterSelect_1gljv_577",w4e="_operatorSelect_1gljv_578",C4e="_operatorInput_1gljv_579",N4e="_activeFilterTag_1gljv_597",S4e="_actionsGroup_1gljv_609",j4e="_applyButton_1gljv_615",$4e="_cancelButton_1gljv_625",q4e="_columnSorterContainer_1gljv_649",A4e="_sorterControls_1gljv_654",z4e="_sortDropdownWrapper_1gljv_659",V4e="_sortDropdown_1gljv_659",P4e="_sortDropdownHeader_1gljv_679",T4e="_closeButton_1gljv_688",H4e="_sortDropdownContent_1gljv_703",D4e="_sortDropdownItem_1gljv_709",B4e="_sortDirectionButtons_1gljv_734",R4e="_sortDirectionButton_1gljv_734",F4e="_activeSort_1gljv_757",E4e="_sortActions_1gljv_764",O4e="_paginationButton_1gljv_842",U4e="_pageSizeSelect_1gljv_844",W4e="_topPagination_1gljv_853",G4e="_paginationContainer_1gljv_861",Z4e="_leftGroup_1gljv_874",K4e="_pageSizeControls_1gljv_882",X4e="_paginationInfo_1gljv_908",Y4e="_paginationControls_1gljv_916",J4e="_disabledButton_1gljv_947",Q4e="_activeButton_1gljv_952",e5e="_navigationButton_1gljv_962",t5e="_operatorFilterContainer_1gljv_1010",a5e="_rangeSeparator_1gljv_1016",n5e="_activeFiltersSection_1gljv_1179",o5e="_activeFiltersRow_1gljv_1184",c5e="_activeFiltersList_1gljv_1192",i5e="_clearAllButton_1gljv_1200",r5e="_removeFilterButton_1gljv_1221",s5e="_sortIndicator_1gljv_1272",d5e="_active_1gljv_349",l5e="_clearSortButton_1gljv_1371",h5e="_loaderSpinner_1gljv_2743",u5e="_loaderSpinnerSmall_1gljv_2755",p5e="_paginationLoading_1gljv_2772",y5e="_loadingButton_1gljv_2780",k5e="_loadingIndicator_1gljv_2791",z={container:Xye,tableWrapper:Yye,tableControls:Jye,controlsRight:Qye,limitedRows:e4e,table:t4e,headerCell:a4e,headerContent:n4e,headerWords:o4e,headerWord:c4e,cellContent:i4e,alignLeft:r4e,alignCenter:s4e,alignRight:d4e,tableCell:l4e,tableRow:h4e,emptyRow:u4e,toggleFiltersButton:p4e,toggleSortButton:y4e,buttonTextCompact:k4e,uppercaseSmall:m4e,filtersPanel:f4e,filtersPanelInline:g4e,filtersPanelHorizontal:v4e,filtersRow:M4e,filtersActionsHorizontal:_4e,filterItemInline:x4e,filterLabel:L4e,filterInput:I4e,filterSelect:b4e,operatorSelect:w4e,operatorInput:C4e,activeFilterTag:N4e,actionsGroup:S4e,applyButton:j4e,cancelButton:$4e,columnSorterContainer:q4e,sorterControls:A4e,sortDropdownWrapper:z4e,sortDropdown:V4e,sortDropdownHeader:P4e,closeButton:T4e,sortDropdownContent:H4e,sortDropdownItem:D4e,sortDirectionButtons:B4e,sortDirectionButton:R4e,activeSort:F4e,sortActions:E4e,paginationButton:O4e,pageSizeSelect:U4e,topPagination:W4e,paginationContainer:G4e,leftGroup:Z4e,pageSizeControls:K4e,paginationInfo:X4e,paginationControls:Y4e,disabledButton:J4e,activeButton:Q4e,navigationButton:e5e,operatorFilterContainer:t5e,rangeSeparator:a5e,activeFiltersSection:n5e,activeFiltersRow:o5e,activeFiltersList:c5e,clearAllButton:i5e,removeFilterButton:r5e,sortIndicator:s5e,active:d5e,clearSortButton:l5e,loaderSpinner:h5e,loaderSpinnerSmall:u5e,paginationLoading:p5e,loadingButton:y5e,loadingIndicator:k5e},m5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:o,className:z.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),f5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:o,className:z.filterInput}),g5e=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const l=await e.asyncOptions();r(l??[])}catch(l){console.error("Erreur chargement options MultiSelect:",l),r([])}else r(e.options??[])})()},[e]);const s=d=>{const l=Array.from(d.target.selectedOptions,h=>h.value);n(l)};return c.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:o,className:z.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},XS=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return c.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:z.filterInput})},v5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const l=h=>{const u=h.target.value;n(u)};return s?c.jsx("div",{children:"Chargement..."}):c.jsxs("select",{value:String(t||""),onChange:l,disabled:o,className:z.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},M5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const l=d.target.value;r(l),n(l)};return c.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:z.filterInput})},_5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const l=u=>{r(u.target.value)},h=u=>{d(u.target.value)};return c.jsxs("div",{className:z.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:z.operatorSelect,children:[c.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>c.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),c.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:o||!i,className:z.operatorInput})]})},x5e=({value:e,onChange:t,disabled:n})=>{const o=e||{},i=s=>{t({...o,start:s.target.value})},r=s=>{t({...o,end:s.target.value})};return c.jsxs("div",{className:z.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:z.filterInput}),c.jsx("span",{className:z.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:z.filterInput})]})},L5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(M5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(XS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(XS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(v5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(_5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(g5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(f5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(x5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(m5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},wq=({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(w=>w.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 w=I?.start??"",b=I?.end??"",x=typeof w=="string"?w.trim()==="":!w,L=typeof b=="string"?b.trim()==="":!b;if(x&&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}},I5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(o=>String(o)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const o=n;if(!o.start||!o.end)return!1;const i=o.start,r=o.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),l=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(l)?!1:s>=d&&s<=l}catch(o){return console.error("Error processing daterange filter:",o),!1}case"operator":if(typeof n=="object"&&n!==null){const o=n;if(!("operator"in o)||!("value"in o))return!1;const{operator:i,value:r}=o,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function Cq(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 I5e(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 w=v.getTime()-I.getTime();return o.direction==="desc"?-w:w}const C=String(v).localeCompare(String(I),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-C:C})},[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 Nq=({value:e})=>e,Sq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),jq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),$q=({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)},qq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Aq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),zq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Vq=({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"})),aw={renderers:{text:Nq,email:Sq,link:jq,badge:$q,date:qq,number:Aq,currency:zq,image:Vq},icons:{sortAsc:k.createElement(Ic,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Nt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Ec,{className:"sort-icon",size:14})}},b5e=(e,t)=>{aw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),aw.renderers[e]=t},w5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:l="top",onPanelHeightChange:h,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:m="Clear",applyDisabled:g=!1,loading:f=!1})=>{const[M,_]=k.useState(!1),v=typeof s=="boolean"?s:M,{appliedFilters:I,tempFilters:C,updateFilter:w,applyFilters:b,clearAllFilters:x}=wq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),L=k.useRef(null),N=k.useRef(null);k.useEffect(()=>{if(v&&L.current){const A=L.current.getBoundingClientRect().height;h?.(A)}else h?.(0)},[v,e,C,h]);const j=()=>{typeof s=="boolean"?d?.(!s):_(A=>{const S=!A;return d?.(S),S})},$=()=>e.map(A=>{const S=C?.[A.id];return S==null||typeof S=="string"&&S.trim()===""?null:{id:A.id,label:A.label,value:S}}).filter(Boolean),q=async()=>{let A;try{A=await b()}catch{A=void 0}let S=[];A&&Array.isArray(A)&&A.length>0?S=A:I&&I.length>0?S=I:S=$(),n?.(S),o?.(S)},H=()=>{d?.(!1),typeof s!="boolean"&&_(!1)},P=()=>{x(),n?.([]),o?.([])};return k.useEffect(()=>{const A=V=>{v&&N.current&&(N.current.contains(V.target)||(d?.(!1),typeof s!="boolean"&&_(!1)))},S=V=>{V.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&_(!1))};return v&&(document.addEventListener("pointerdown",A),document.addEventListener("keydown",S)),()=>{document.removeEventListener("pointerdown",A),document.removeEventListener("keydown",S)}},[v,s,d]),c.jsxs("div",{className:z.advancedFiltersContainer,ref:N,children:[c.jsxs("button",{className:`${z.toggleFiltersButton} ${I.length>0?z.active:""} ${v?z.toggleFiltersButtonOpen:""} ${f?z.loadingButton:""}`,onClick:j,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:f,children:[f?c.jsx("span",{className:z.loaderSpinnerSmall}):c.jsx(xt,{size:14}),c.jsx("span",{className:z.buttonTextCompact,children:u}),I.length>0&&!f&&c.jsx("span",{className:z.filterCountBadge,"aria-hidden":!0,children:I.length}),f&&c.jsx("span",{className:z.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&c.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${z.filtersPanel} ${l==="top"?`${z.filtersPanelInline} ${z.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:z.filtersRow,children:e.map(A=>c.jsxs("div",{className:`${z.filterItem} ${z.filterItemInline}`,children:[c.jsxs("label",{className:z.filterLabel,children:[A.label,A.required&&c.jsx("span",{className:z.required,children:"*"})]}),c.jsx(L5e,{config:A,value:C[A.id],onChange:S=>w(A.id,S),disabled:A.disabled})]},A.id))}),c.jsxs("div",{className:z.filtersActionsHorizontal,children:[c.jsx("div",{className:z.activeFiltersSection,children:I.length>0&&c.jsxs("div",{className:z.activeFiltersRow,children:[c.jsx("span",{className:z.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:z.activeFiltersList,children:I.map(A=>c.jsxs("div",{className:z.activeFilterTag,children:[A.label??A.id,c.jsx("button",{className:z.removeFilterButton,onClick:()=>w(A.id,void 0),"aria-label":`Supprimer ${A.id}`,type:"button",children:"×"})]},A.id))}),c.jsxs("button",{className:z.clearAllButton,onClick:P,type:"button",children:[c.jsx(Ge,{size:12})," ",m]})]})}),c.jsxs("div",{className:z.actionsGroup,children:[c.jsx("button",{className:z.cancelButton,onClick:H,type:"button",disabled:f,children:y}),c.jsx("button",{className:`${z.applyButton} ${f?z.loadingButton:""}`,onClick:q,type:"button",disabled:g||f,"aria-disabled":g||f,children:f?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:z.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},YS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},C5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(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:z.columnSorterContainer,ref:l,children:c.jsx("div",{className:z.sorterControls,children:d.length>0&&c.jsxs("div",{className:z.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${z.toggleSortButton} ${r?z.toggleSortButtonOpen:""} ${h?z.active:""} ${i?z.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:z.loaderSpinnerSmall}):c.jsx(Ec,{size:14}),c.jsx("span",{className:`${z.buttonTextCompact} ${YS(o)?z.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:z.sortIndicator,children:t?.direction==="asc"?c.jsx(Ic,{size:12}):c.jsx(Nt,{size:12})})]}),r&&c.jsxs("div",{className:`${z.sortDropdown} ${z.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:z.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:z.closeButton,onClick:m,"aria-label":"Fermer",type:"button",children:c.jsx(Ge,{size:16})})]}),c.jsx("div",{className:z.sortDropdownContent,children:d.map(g=>{const f=String(g.label??g.id),M=YS(f);return c.jsxs("div",{className:z.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(g.id,"asc")},children:[c.jsx("span",{className:`${z.columnSorterLabel} ${M?z.uppercaseSmall:""}`,title:f,"aria-label":f,children:f}),c.jsxs("div",{className:z.sortDirectionButtons,children:[c.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?z.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(Ic,{size:12})}),c.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?z.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(Nt,{size:12})})]})]},g.id)})}),h&&c.jsx("div",{className:z.sortActions,children:c.jsxs("button",{className:z.clearSortButton,onClick:p,type:"button",children:[c.jsx(_t,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},N5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:o,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const l=Math.max(1,Math.floor(t)),h=Math.min(Math.max(1,Math.floor(e)),l),u=()=>{h>1&&r(h-1)},p=()=>{if(h<t){const f=h+1;r(f)}},y=o>0?(h-1)*n+1:0,m=o>0?Math.min(h*n,o):0,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:z.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:z.leftGroup,children:s&&c.jsx("div",{className:z.pageSizeControls,children:c.jsx("select",{value:n,onChange:f=>s(Number(f.target.value)),className:z.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(f=>c.jsx("option",{value:f,children:f},f))})})}),c.jsx("div",{className:z.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:z.paginationLoading,children:[c.jsx("span",{className:z.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${m} ${i}`}),c.jsxs("div",{className:z.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${z.paginationButton} ${z.navigationButton} ${h===1?z.disabledButton:""} ${d?z.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:z.loaderSpinnerSmall}):"«"}),g().map(f=>c.jsx("button",{onClick:()=>r(f),disabled:d,"aria-current":h===f?"page":void 0,className:`${z.paginationButton} ${h===f?z.activeButton:""} ${d?z.loadingButton:""}`,children:d&&h===f?c.jsx("span",{className:z.loaderSpinnerSmall}):f},f)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${z.paginationButton} ${z.navigationButton} ${d?z.loadingButton:""} ${h>=l?z.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:z.loaderSpinnerSmall}):"»"})]})]})},S5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const o=n.toLowerCase();return o.charAt(0).toUpperCase()+o.slice(1)},j5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},$5e=({columns:e})=>c.jsx("thead",{className:z.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?z.alignRight:t.align==="left"?z.alignLeft:z.alignCenter,i=t.preserveHeaderCase===!0,r=S5e(String(t.label??""),i),s=j5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${z.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",children:c.jsx("div",{className:z.headerContent,children:s?c.jsx("div",{className:z.headerWords,children:d.map((l,h)=>c.jsx("span",{className:z.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),q5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?z.alignRight:n.align==="left"?z.alignLeft:z.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${z.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:z.cellContent,children:i})})},A5e=({row:e,rowId:t,columns:n,onRowClick:o,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return c.jsx("tr",{className:`${z.tableRow} ${o?z.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(q5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},z5e=({data:e,columns:t,onRowClick:n,startIndex:o,searchTerm:i,getRowStyle:r})=>e.length===0?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,className:z.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(A5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Pq=({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:C="Sort",applyLabel:w="Apply",cancelLabel:b="Cancel",clearLabel:x="Clear",applyDisabled:L=!1,paginationLoading:N=!1,filtersLoading:j=!1,sortLoading:$=!1,totalCount:q=null})=>{const[H,P]=k.useState({key:null,direction:"asc"}),[A,S]=k.useState(n.currentPage??1),[V,T]=k.useState(n.pageSize??10),[R,B]=k.useState(!1),F=k.useRef(null),[Y,X]=k.useState([]),re=p?d:Y,ke=p?[]:Y;k.useEffect(()=>{const O=n.currentPage??1,Xe=n.pageSize??10;O!==A&&S(O),Xe!==V&&T(Xe)},[n.currentPage,n.pageSize]);const{paginatedData:ze,sortedData:se,totalPages:Z,startIndex:Q}=Cq(t,e,i,H,A,V,ke),ae=se.length,_e=typeof q=="number"&&q>=0?q:ae;let pe=Z;typeof q=="number"&&q>=0&&(pe=Math.max(1,Math.ceil(q/V)));const Le=ae>10;k.useEffect(()=>{const O=Math.max(1,Math.floor(pe));A>O&&S(O),A<1&&S(1)},[pe]);const de=O=>{p||X(O),l?.(O),S(1),M?.(1)},Ie=O=>{p||X(O),h?.(O),S(1),M?.(1),F.current&&F.current.style.setProperty("--filters-panel-height","0px")},be=O=>{M?.(O),S(O)},Se=O=>{T(O),S(1),f?.(O),M?.(1)},he=O=>{F.current&&F.current.style.setProperty("--filters-panel-height",`${Math.round(O)}px`)},we=O=>{P(O),u?.(O)},mt=O=>{B(O),!O&&F.current&&F.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(re?.length??0)>0&&B(!0)},[re]),k.useEffect(()=>{s.length>0&&re.length>0&&B(!0)},[s.length,re.length]);const jc=(re?.length??0)>0&&I?I:v;return c.jsxs("div",{ref:F,className:`${z.container} ${r} ${R?z.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:z.tableControls,children:c.jsxs("div",{className:z.controlsRight,children:[c.jsx(C5e,{columns:e,onSort:we,label:C,sortConfig:H,loading:$}),s.length>0&&c.jsx(w5e,{filters:s,externalFilters:re,onFiltersChange:de,onApply:Ie,isControlled:p,debounceTimeout:y,expanded:R,onToggle:mt,panelPlacement:"top",onPanelHeightChange:he,label:jc,applyLabel:w,cancelLabel:b,clearLabel:x,applyDisabled:L,loading:j})]})}),c.jsx("div",{className:z.topPagination,children:c.jsx(N5e,{currentPage:A,totalPages:pe,pageSize:V,totalItems:_e,itemLabel:_,onPageChange:be,onPageSizeChange:Se,loading:N})}),c.jsx("div",{className:`${z.tableWrapper} ${Le?z.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:z.table,children:[c.jsx($5e,{columns:e}),c.jsx(z5e,{data:ze,columns:e,onRowClick:o,startIndex:Q,getRowStyle:m,searchTerm:i})]})})]})};function V5e(e){const{pagination:t,totalCount:n,onPageChange:o,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),l=s>1,h=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!l||p>s&&!h||o?.(p))};return c.jsx(Pq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const P5e="_mpRoot_31595_1",T5e="_mpHeader_31595_22",H5e="_mpTitle_31595_31",D5e="_mpList_31595_35",B5e="_mpVertical_31595_41",R5e="_mpHorizontal_31595_46",F5e="_mpItem_31595_55",E5e="_mpClickable_31595_95",O5e="_mpLeft_31595_117",U5e="_mpIcon_31595_125",W5e="_mpMeta_31595_140",G5e="_mpLabel_31595_145",Z5e="_mpDate_31595_154",K5e="_mpRight_31595_160",X5e="_mpValue_31595_168",Y5e="_mpHint_31595_176",J5e="_mpBadge_31595_180",Q5e="_mpBadgeTop_31595_199",eke="_mpBadgeSub_31595_206",tke="_mpBadgeSmall_31595_213",ake="_mpPill_31595_229",nke="_mpRounded_31595_232",oke="_mpCompact_31595_236",cke="_compactItemWrapper_31595_252",ike="_mpSummaryRoot_31595_265",rke="_mpSummaryInner_31595_269",ske="_mpSummaryFlex_31595_284",dke="_mpSummaryCardWrapperHorizontal_31595_292",lke="_mpSummaryCardWrapper_31595_292",hke="_mpSummaryCardHorizontal_31595_303",uke="_mpSummaryCard_31595_292",pke="_mpSummaryValue_31595_321",yke="_mpSummaryLabel_31595_327",kke="_mpSummaryBadge_31595_338",mke="_mpSummaryBadgeSub_31595_357",fke="_mpEmpty_31595_365",gke="_mpSummaryVertical_31595_372",vke="_mpIconSquare_31595_380",W={mpRoot:P5e,mpHeader:T5e,mpTitle:H5e,mpList:D5e,mpVertical:B5e,mpHorizontal:R5e,mpItem:F5e,mpClickable:E5e,mpLeft:O5e,mpIcon:U5e,mpMeta:W5e,mpLabel:G5e,mpDate:Z5e,mpRight:K5e,mpValue:X5e,mpHint:Y5e,mpBadge:J5e,mpBadgeTop:Q5e,mpBadgeSub:eke,mpBadgeSmall:tke,mpPill:ake,mpRounded:nke,mpCompact:oke,compactItemWrapper:cke,mpSummaryRoot:ike,mpSummaryInner:rke,mpSummaryFlex:ske,mpSummaryCardWrapperHorizontal:dke,mpSummaryCardWrapper:lke,mpSummaryCardHorizontal:hke,mpSummaryCard:uke,mpSummaryValue:pke,mpSummaryLabel:yke,mpSummaryBadge:kke,mpSummaryBadgeSub:mke,mpEmpty:fke,mpSummaryVertical:gke,mpIconSquare:vke},Ct=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,l)=>`rgba(${l.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let o=n.replace("#","").toLowerCase();if(o.length===3&&(o=o.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(o))return`rgba(124, 58, 237, ${t})`;const i=parseInt(o.slice(0,2),16),r=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},Mke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[W.mpItem,t==="pill"?W.mpPill:W.mpRounded,n?W.mpClickable:""].filter(Boolean).join(" ");if(i)return c.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return c.jsxs(d,{...l,children:[c.jsxs("div",{className:W.mpLeft,children:[h?c.jsx("div",{className:W.mpIconSquare,style:{background:u??Ct(p??o??"#7c3aed",1),border:`1px solid ${Ct(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:W.mpIcon,children:e.icon}):null,c.jsxs("div",{className:W.mpMeta,children:[c.jsx("div",{className:W.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:W.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:W.mpDate,children:e.date})]})]}),c.jsxs("div",{className:W.mpRight,children:[c.jsx("div",{className:W.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[W.mpBadge,e.badge.small?W.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Ct(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Ct(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:W.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:W.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:W.mpHint,children:e.hint}):null]})]})},_ke=k.memo(Mke),JS=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:W.mpHeader,children:[c.jsx("div",{className:W.mpTitle,children:e}),c.jsx("div",{children:t})]}),QS=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},xke=({item:e})=>c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[c.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[c.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),c.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),c.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??QS("#7c3aed",.12),border:`1px solid ${QS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Lke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:W.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:W.mpSummaryLabel,children:e.label}),c.jsx("div",{className:W.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]})]}),ej=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},tj=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:ej("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:ej("#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]})]}),aj=(e,t)=>{try{if(typeof e=="function"){const n=e(t);if(n!==void 0)return n}}catch{}try{return k.createElement(e,{item:t})}catch(n){return console.warn("chooseDefaultRender: impossible de rendre CompactRenderer",n),null}},Ike=e=>{switch(e){case"image":return t=>k.createElement(xke,{item:t});case"pertinence":return t=>k.createElement(Lke,{item:t});case"alternateHorizontal":return t=>aj(tj,t);case"compact":return t=>aj(tj,t);case"summary":return;case"default":default:return}},Tq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?W.mpSummaryCardHorizontal:W.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:W.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:W.mpSummaryLabel,children:e.label})]})},bke=["transparent","transparent","transparent","transparent"],wke=["transparent","transparent","transparent","transparent"],Cke=["#059669","#2563eb","#b45309","#7c3aed"],Nke=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Hq=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=bke,summaryBorderColors:f=wke,summaryValueColors:M=Cke,preset:_,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:C,summaryGridColumns:w,compactItemWidth:b,compactItemHeight:x,compactItemStyle:L,summaryCardWidth:N,summaryCardHeight:j,summaryCardStyle:$}=e,q=n==="vertical",H={"--mp-accent":r,"--mp-accent-soft":Nke(r,.08),"--mp-bg-primary":v},P=[W.mpRoot,q?W.mpVertical:W.mpHorizontal,s?W.mpCompact:"",m?W.mpSummaryRoot:"",o!=="auto"?o==="vertical"?W.mpOrientationVertical:W.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),A=k.useMemo(()=>y||(Ike(_)??void 0),[y,_]);if(m){const S=o==="horizontal"?W.mpSummaryFlex:W.mpSummaryVertical,T={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return c.jsxs("div",{className:P,style:H,"aria-busy":u,children:[d&&c.jsx(JS,{title:d}),c.jsx("div",{className:W.mpSummaryInner,children:c.jsx("div",{className:`${S} ${C??""}`,style:T,children:t.length===0?c.jsx("div",{className:W.mpEmpty,children:p}):t.map((R,B)=>{const F=R.bgColor??g[B%g.length],Y=R.borderColor??f[B%f.length],X=R.valueColor??M[B%M.length];return A?c.jsx("div",{className:o==="horizontal"?W.mpSummaryCardWrapperHorizontal:W.mpSummaryCardWrapper,style:{width:N??void 0,height:j??void 0,...$??{}},children:A(R,B)},R.id):c.jsx(Tq,{item:R,orientation:o==="horizontal"?"horizontal":"vertical",bg:F,border:Y,valueColor:X,onClick:l,width:N??void 0,height:j??void 0,extraStyle:$},R.id)})})})]})}return c.jsxs("div",{className:P,style:H,"aria-busy":u,children:[d&&c.jsx(JS,{title:d}),c.jsx("div",{className:W.mpList,style:I,children:u?c.jsx("div",{className:W.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:W.mpEmpty,children:p}):t.map(S=>{const V=s?{width:b??void 0,height:x??void 0,boxSizing:"border-box",...L??{}}:void 0;return c.jsx("div",{className:s?W.compactItemWrapper:void 0,style:V,children:c.jsx(_ke,{item:S,shape:i,onItemClick:l,color:r,renderItem:A?T=>A(T,t.indexOf(T)):void 0})},S.id)})})]})};k.memo(Hq);const Ske=({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,C=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:C,...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}))})]})},Ew=({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:"✕"})]})},Dq=k.createContext(null),jke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,$ke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:o,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),h=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear()},[]);const p=(x,L)=>{const N=L===void 0||L===0?t:L;if(N===-1)return;const j=window.setTimeout(()=>{g(x)},N);d.current.set(x,j)},y=x=>{const L=d.current.get(x);L&&(window.clearTimeout(L),d.current.delete(x))},m=x=>{const L=jke(),N={...x,id:L,createdAt:Date.now()};return s(j=>{const $=[N,...j],q=u.current;return typeof q=="number"&&q>=0&&$.length>q?($.slice(q).forEach(P=>y(P.id)),$.slice(0,q)):$}),p(L,x.duration),L},g=x=>{y(x),s(L=>L.filter(N=>N.id!==x))},f=(x,L)=>{s(N=>N.map(j=>j.id===x?{...j,...L}:j))},M=()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear(),s([])},_=x=>{h.current=x},v=()=>r.slice(),I=k.useMemo(()=>({showAlert:m,dismissAlert:g,updateAlert:f,clearAlerts:M,setContainerRef:_,getAlertsSnapshot:v}),[r]),C=h.current,w=c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:c.jsx(k0e,{mode:"popLayout",children:r.map(x=>c.jsx(Hw.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:x.background||x.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:c.jsx(Ew,{id:x.id,text:x.text,subtext:x.subtext,icon:x.icon,background:"transparent",colorTextPrimary:x.colorTextPrimary,colorTextSub:x.colorTextSub,model:x.model,onClose:()=>g(x.id),size:"100%",style:{boxShadow:"none"}})},x.id))})}),b=c.jsx("div",{ref:x=>{h.current||(l.current=x)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:w});return c.jsxs(Dq.Provider,{value:I,children:[C?ow.createPortal(w,C):b,e]})},qke=()=>{const e=k.useContext(Dq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Ake={default:{background:"#f3f4f6",icon:"Info",colorTextPrimary:"#111827",colorTextSub:"#4b5563"},info:{background:"#dbeafe",icon:"Info",colorTextPrimary:"#1e40af",colorTextSub:"#3b82f6"},success:{background:"#dcfce7",icon:"CheckCircle2",colorTextPrimary:"#166534",colorTextSub:"#22c55e"},warning:{background:"#fef3c7",icon:"AlertTriangle",colorTextPrimary:"#92400e",colorTextSub:"#f59e0b"},error:{background:"#fee2e2",icon:"XCircle",colorTextPrimary:"#991b1b",colorTextSub:"#ef4444"}},zke="_container_18zbo_1",Vke="_icon_18zbo_9",Pke="_selectWrapper_18zbo_23",Cb={container:zke,icon:Vke,selectWrapper:Pke},Tke=({options:e,defaultValue:t,onChange:n,label:o})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return c.jsxs("div",{className:Cb.container,children:[c.jsxs("div",{className:Cb.icon,children:[c.jsx(u1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Cb.selectWrapper,children:c.jsx(Dw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Hke=250,Dke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:o,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[m,g]=k.useState(!1),[f,M]=k.useState(!1),_=k.useRef(null),v=k.useRef(null),I=k.useRef(null),C=k.useRef(null);k.useEffect(()=>{const x=_.current;if(!x)return;const L=x.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 x=v.current;C.current&&(window.clearTimeout(C.current),C.current=null);const L=N=>{if(N.target===x&&!(N.propertyName!=="transform"&&N.propertyName!=="opacity"))if(m){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return x&&(x.addEventListener("transitionend",L),C.current=window.setTimeout(()=>{if(m){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},Hke+60)),m&&(I.current=document.activeElement),()=>{x&&x.removeEventListener("transitionend",L),C.current&&(window.clearTimeout(C.current),C.current=null)}},[m,i,s]),k.useEffect(()=>{const x=L=>{L.key==="Escape"&&m&&(r?.(),M(!1),g(!1))};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[m,r]);const w=()=>{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:w,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 Bke(e){const t=k.useRef("");k.useEffect(()=>{if(e){t.current=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=t.current||""},[e])}const Rke="_container_1pfsp_1",Fke="_title_1pfsp_8",nj={container:Rke,title:Fke},Eke=({title:e,fontSize:t,barColor:n,className:o="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return c.jsx("div",{className:`${nj.container} ${o}`,style:r,children:c.jsx("h2",{className:nj.title,children:e})})},Oke="_modalOverlay_1dmfp_1",Uke="_modalContainer_1dmfp_16",Wke="_modalTitle_1dmfp_29",Gke="_modalInput_1dmfp_38",Zke="_modalTextarea_1dmfp_39",Kke="_modalActions_1dmfp_71",Xke="_cancelBtn_1dmfp_78",Yke="_saveBtn_1dmfp_100",Jke="_inputError_1dmfp_148",Qke="_inlineAlert_1dmfp_153",Ue={modalOverlay:Oke,modalContainer:Uke,modalTitle:Wke,modalInput:Gke,modalTextarea:Zke,modalActions:Kke,cancelBtn:Xke,saveBtn:Yke,inputError:Jke,inlineAlert:Qke},Nc=({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 x={};for(const L of i)x[L.name]=Object.prototype.hasOwnProperty.call(r,L.name)?r[L.name]:"";return y(x),requestAnimationFrame(()=>{m.current?.focus();const L=m.current;if(L&&typeof L.selectionStart=="number"){const N=String(L.value??"").length;L.setSelectionRange(N,N)}}),()=>{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=(x,L)=>{y(N=>({...N,[x]:L})),l&&l(x,L)},C=async()=>{if(!Object.values(p).some(x=>x===""||x===void 0))try{f(!0);const x=await n(p);if(typeof x=="string"&&x==="duplicate-same"){f(!1);return}y({}),f(!1),t()}catch(x){console.error("AddItemModal onSave error:",x),f(!1),t()}},w=x=>{x.target===x.currentTarget&&t()},b=x=>x.stopPropagation();return c.jsx("div",{className:Ue.modalOverlay,onMouseDown:w,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((x,L)=>{const N=p[x.name]??"",j=L===0&&!!s,$={name:x.name,placeholder:x.placeholder||x.label,value:String(N),onChange:q=>I(x.name,q.target.value),className:x.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:[x.type==="textarea"?c.jsx("textarea",{rows:x.rows||4,...$}):c.jsx("input",{type:x.type||"text",...$}),L===0&&M&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Ew,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:Ue.inlineAlert})})]},x.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:C,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},e3e=({title:e,keyCount:t,onAddKey:n})=>{const[o,i]=k.useState(!1),r=s=>{const d=s.key;n&&d&&n(d)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>i(!0),className:"add-key-button",children:[c.jsx(Wc,{className:"add-key-icon"}),"Clé"]}),c.jsx(Nc,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},t3e=({modules:e,onEdit:t,onDelete:n,onAddModule:o,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[m,g]=k.useState(!1),f=()=>l(!0),M=()=>l(!1),_=x=>{if(o){const L=x.code?.trim()||x.id?.trim(),N=x.title?.trim(),j=L||N||String(Date.now()),$=N||L||`Module ${j}`;o({id:j,title:$,subtitle:"",translations:{}})}M()},v=(x,L)=>{x.stopPropagation(),u(L)},I=()=>u(null),C=x=>{if(!h){I();return}const L={...h,title:x.title||h.title,subtitle:""};t&&t(L),I()},w=(x,L)=>{x.stopPropagation(),n&&n(L)},b=x=>{y(x.id),i&&i(x)};return m?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Uc,{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(Oc,{size:18,className:"header-folder",onClick:f}),c.jsx(Uc,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(x=>{const L=Object.keys(x.translations||{}).length,N=L>0||x.id===p;return c.jsxs("div",{className:`module-item ${x.id===p?"selected":""}`,onClick:()=>b(x),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(x)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(f1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[x.title,N&&c.jsxs("span",{className:"count",children:[" ",L," "]})]}),x.subtitle?c.jsx("div",{className:"module-subtitle",children:x.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(M1,{onClick:j=>v(j,x),color:"#777",size:16}),n&&c.jsx(St,{onClick:j=>w(j,x.id),color:"#777",size:16})]})]},x.id)})}),c.jsx(Nc,{isOpen:d,onClose:M,onSave:_,title:s||"Ajouter un module",fields:r&&r.length?r.map(x=>({name:x.name,label:x.label,type:x.type,placeholder:x.placeholder,rows:x.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(Nc,{isOpen:!!h,onClose:I,onSave:C,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Bq=({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(_1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:r=>n?.(r.target.value),className:"search-input"})]}),a3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:o,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,m]=k.useState(""),[g,f]=k.useState(null),[M,_]=k.useState(""),[v,I]=k.useState(""),[C,w]=k.useState(!1),[b,x]=k.useState(!1),[L,N]=k.useState(null),[j,$]=k.useState(!1),q=t.map(B=>B.language),H=n.filter(B=>!q.includes(B.code)),P=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),m(""),I(""),p(!1))},A=(B,F)=>{f(B),_(F)},S=B=>{r?.(e,B,M),f(null),_("")},V=()=>{f(null),_("")},T=async B=>{const F=B.name?.trim();if(F){if(N(null),$(!1),F===e||!i)return w(!1),"ok";try{const Y=await i(e,F);if(typeof Y=="string"&&Y==="ok")w(!1),N(null);else{if(typeof Y=="string"&&Y==="duplicate-same")return N("Une clé existe déjà dans ce module."),$(!0),"duplicate-same";if(typeof Y=="string"&&Y==="duplicate-other")return w(!1),N(null),"duplicate-other";w(!1)}}catch(Y){console.error("Erreur handleRenameSave:",Y),N("Erreur lors du renommage.")}}},R=(B,F)=>{if(B!=="name")return;const Y=F.trim();N(null),$(!1),Y&&typeof h=="function"&&(h(Y,e)?(N("Une clé existe déjà dans ce module."),$(!0)):(N(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:()=>x(!b),title:b?"Déplier":"Replier",children:b?c.jsx(y1,{className:"collapse-icon"}):c.jsx(Nt,{className:"collapse-icon"})}),c.jsx("h3",{className:"card-title",title:e,children:e})]}),c.jsxs("div",{className:"header-actions",children:[c.jsx("button",{className:"action-button",onClick:B=>{B.stopPropagation(),w(!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(St,{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:F=>_(F.target.value),className:"edit-input",autoFocus:!0,onKeyDown:F=>{F.key==="Enter"&&S(B.language),F.key==="Escape"&&V()}}),c.jsx("button",{onClick:()=>S(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:()=>A(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"}),H.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"&&P(),B.key==="Escape"&&(p(!1),m(""),I(""))}}),c.jsx("button",{onClick:P,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:H.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(Nc,{isOpen:C,onClose:()=>{w(!1),N(null),$(!1)},onSave:T,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:L||"",disableSave:j})]})},n3e="_wrapper_1wvht_1",o3e="_leftGroup_1wvht_12",c3e="_filterButton_1wvht_21",i3e="_open_1wvht_42",r3e="_filterIcon_1wvht_42",s3e="_infoText_1wvht_58",d3e="_pickerContainer_1wvht_66",l3e="_srOnly_1wvht_79",h3e="_pickerLabel_1wvht_91",u3e="_datetime_1wvht_98",p3e="_rightGroup_1wvht_107",y3e="_searchInputWrap_1wvht_116",k3e="_searchInput_1wvht_116",m3e="_searchIcon_1wvht_152",je={wrapper:n3e,leftGroup:o3e,filterButton:c3e,open:i3e,filterIcon:r3e,infoText:s3e,pickerContainer:d3e,srOnly:l3e,pickerLabel:h3e,datetime:u3e,rightGroup:p3e,searchInputWrap:y3e,searchInput:k3e,searchIcon:m3e};function f3e({onDateChange:e,onSearch:t,initialDate:n}){const[o,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const m=y.target;d.current&&m&&!d.current.contains(m)&&i(!1)}return document.addEventListener("mousedown",p),()=>document.removeEventListener("mousedown",p)},[]),k.useEffect(()=>{n&&s(n)},[n]);const l=()=>i(p=>!p),h=p=>{const y=p.target.value;s(y),e?.(y)},u=p=>{t?.(p.target.value)};return c.jsxs("div",{className: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 g3e=({className:e="",style:t={},title:n,titleClassName:o="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:m="1rem"})=>{const g=Array.isArray(r)?r:[],f=g.length===0,M=g.every(C=>typeof C=="string"),_=g.some(C=>Array.isArray(C)),v=(C,w,b)=>d?d(C,w,b):c.jsx("span",{className:"slb-cell-text",children:C}),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((C,w)=>c.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:v(C,w,0)},w))})]}):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((C,w)=>{const b=s[w]||"";if(Array.isArray(C)){const[x,L]=C;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:v(x,w,0)}),c.jsx("div",{className:"slb-grid-right",children:v(L,w,1)})]},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,w,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},v3e=({className:e="",style:t={},title:n,titleColor:o,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:l,itemBg:h,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(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)})})]})},M3e=({className:e="",style:t={},title:n,items:o=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return c.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&c.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),c.jsx("div",{className:"tlb-grid",style:u,children:o.map((p,y)=>{const m=d[y]||"";return c.jsxs("div",{className:`tlb-row ${m}`,style:{background:s??void 0},children:[c.jsx("div",{className:"tlb-label",children:p.label}),c.jsxs("div",{className:"tlb-value-group",children:[c.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),c.jsxs("div",{className:"tlb-value-wrap",children:[c.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&c.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},_3e=({className:e="",style:t={},children:n,gap:o="1rem"})=>c.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":o},children:k.Children.map(n,i=>c.jsx("div",{className:"frc-item",children:i}))}),x3e=({className:e="",style:t={},children:n,gap:o="1rem",background:i="#D9EEF5"})=>c.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":o},children:k.Children.map(n,r=>c.jsx("div",{className:"lcc-cell",children:r}))}),L3e="_overlay_i1ay5_2",I3e="_fadeIn_i1ay5_1",b3e="_popup_i1ay5_17",w3e="_slideUp_i1ay5_1",C3e="_header_i1ay5_28",N3e="_body_i1ay5_40",S3e="_footer_i1ay5_51",j3e="_cancelButton_i1ay5_59",$3e="_confirmButton_i1ay5_77",q3e="_warning_i1ay5_97",A3e="_danger_i1ay5_106",z3e="_info_i1ay5_115",gt={overlay:L3e,fadeIn:I3e,popup:b3e,slideUp:w3e,header:C3e,body:N3e,footer:S3e,cancelButton:j3e,confirmButton:$3e,warning:q3e,danger:A3e,info:z3e},V3e=({isOpen:e,title:t,message:n,onConfirm:o,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const l=u=>{u.target===u.currentTarget&&i()},h=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&o()};return c.jsx("div",{className:gt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${gt.popup} ${gt[d]}`,children:[c.jsx("div",{className:gt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:gt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:gt.footer,children:[c.jsx("button",{className:gt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:gt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},P3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),o=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),o()},[e.onConfirm,o]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:o,handleConfirm:i}},T3e="_container_v7v52_1",H3e="_selectButton_v7v52_6",D3e="_disabled_v7v52_19",B3e="_error_v7v52_29",R3e="_outline_v7v52_43",F3e="_filled_v7v52_53",E3e="_sm_v7v52_58",O3e="_md_v7v52_63",U3e="_lg_v7v52_68",W3e="_buttonContent_v7v52_73",G3e="_label_v7v52_80",Z3e="_placeholder_v7v52_87",K3e="_iconsContainer_v7v52_91",X3e="_loadingSpinner_v7v52_99",Y3e="_spin_v7v52_1",J3e="_arrowIcon_v7v52_119",Q3e="_arrowIconOpen_v7v52_127",eme="_dropdown_v7v52_131",tme="_searchContainer_v7v52_146",ame="_searchInput_v7v52_150",nme="_optionsList_v7v52_173",ome="_noResults_v7v52_195",cme="_option_v7v52_173",ime="_optionHighlighted_v7v52_217",rme="_optionSelected_v7v52_222",sme="_optionDisabled_v7v52_228",dme="_optionLabel_v7v52_233",lme="_checkIcon_v7v52_240",hme="_widthFull_v7v52_248",ume="_width64_v7v52_252",pme="_width80_v7v52_256",yme="_width96_v7v52_260",te={container:T3e,selectButton:H3e,disabled:D3e,error:B3e,default:"_default_v7v52_38",outline:R3e,filled:F3e,sm:E3e,md:O3e,lg:U3e,buttonContent:W3e,label:G3e,placeholder:Z3e,iconsContainer:K3e,loadingSpinner:X3e,spin:Y3e,arrowIcon:J3e,arrowIconOpen:Q3e,dropdown:eme,searchContainer:tme,searchInput:ame,optionsList:nme,noResults:ome,option:cme,optionHighlighted:ime,optionSelected:rme,optionDisabled:sme,optionLabel:dme,checkIcon:lme,widthFull:hme,width64:ume,width80:pme,width96:yme},kme=({options:e,value:t,onChange:n,placeholder:o="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:l="md",variant:h="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[m,g]=k.useState(""),[f,M]=k.useState(0),[_,v]=k.useState({top:0,left:0,width:0}),I=k.useRef(null),C=k.useRef(null),w=k.useRef(null),b=k.useMemo(()=>m?e.filter(S=>S.label.toLowerCase().includes(m.toLowerCase())):e,[e,m]),x=e.find(S=>S.value===t),L=k.useCallback(()=>{if(I.current){const S=I.current.getBoundingClientRect();v({top:S.top,left:S.left,width:S.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 S=V=>{I.current&&!I.current.contains(V.target)&&C.current&&!C.current.contains(V.target)&&(y(!1),g(""))};return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[]),k.useEffect(()=>{M(0)},[b]);const N=S=>{S.disabled||(n?.(S.value,S),y(!1),g(""))},j=S=>{g(S.target.value),p||y(!0)},$=S=>{if(!p){(S.key==="ArrowDown"||S.key==="Enter")&&y(!0);return}switch(S.key){case"ArrowDown":S.preventDefault(),M(V=>V<b.length-1?V+1:V);break;case"ArrowUp":S.preventDefault(),M(V=>V>0?V-1:V);break;case"Enter":S.preventDefault(),b[f]&&N(b[f]);break;case"Escape":y(!1),g("");break}},q=()=>[te.selectButton,te[l],te[h],i?te.disabled:"",s?te.error:"",d].filter(Boolean).join(" "),H=()=>{switch(u){case"w-64":return te.width64;case"w-80":return te.width80;case"w-96":return te.width96;default:return te.widthFull}},P=(S,V)=>[te.option,V===f?te.optionHighlighted:"",S.value===t?te.optionSelected:"",S.disabled?te.optionDisabled:""].filter(Boolean).join(" "),A={position:"fixed",top:_.top+(I.current?.offsetHeight||0)+4,left:_.left,width:_.width,zIndex:9999};return c.jsxs("div",{className:`${te.container} ${H()}`,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:te.buttonContent,children:[c.jsx("span",{className:`${te.label} ${x?"":te.placeholder}`,children:x?x.label:o}),c.jsxs("div",{className:te.iconsContainer,children:[r&&c.jsx("div",{className:te.loadingSpinner}),c.jsx("svg",{className:`${te.arrowIcon} ${p?te.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&&ow.createPortal(c.jsxs("div",{className:`${te.dropdown} ${H()}`,style:A,ref:C,children:[c.jsx("div",{className:te.searchContainer,children:c.jsx("input",{ref:w,type:"text",value:m,onChange:j,placeholder:"Rechercher...",className:te.searchInput,autoFocus:!0})}),c.jsx("div",{className:te.optionsList,children:b.length===0?c.jsx("div",{className:te.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((S,V)=>c.jsx("li",{className:P(S,V),onClick:()=>N(S),onMouseEnter:()=>M(V),role:"option","aria-selected":S.value===t,"aria-disabled":S.disabled,children:c.jsxs("div",{className:te.buttonContent,children:[c.jsx("span",{className:te.optionLabel,title:S.label,children:S.label}),S.value===t&&c.jsx("svg",{className:te.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"})})]})},S.value))})})]}),document.body)]})},mme="_container_uq7pt_1",fme="_item_uq7pt_7",gme="_mainValue_uq7pt_13",vme="_label_uq7pt_17",Mme="_subValue_uq7pt_22",_me="_subValueWrapper_uq7pt_27",xme="_subSeparator_uq7pt_32",De={container:mme,item:fme,mainValue:gme,label:vme,subValue:Mme,subValueWrapper:_me,subSeparator:xme},Lme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:o="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:l="#6b7280",valueColor:h="#000000"})=>{const u=(p,y,m)=>{const[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))]})},Ime="_encours_16ist_1",bme="_header_16ist_19",wme="_iconWrap_16ist_27",Cme="_title_16ist_36",Nme="_items_16ist_47",Sme="_spaceEvenly_16ist_56",jme="_item_16ist_47",$me="_valueContainer_16ist_86",qme="_value_16ist_86",Ame="_label_16ist_108",et={encours:Ime,header:bme,iconWrap:wme,title:Cme,items:Nme,spaceEvenly:Sme,item:jme,valueContainer:$me,value:qme,label:Ame},Lc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function zme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=Lc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=Lc(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=Lc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=Lc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Vme(){return c.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[c.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),c.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function Pme(e){const{title:t,titleColor:n,titleFontSize:o,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:m,bg:g="#ffffff",width:f,gap:M,className:_,ariaLabel:v}=e,I=r?ht[r]:void 0,C={background:g,width:Lc(f),...m},w={};n&&(w.color=n),o!==void 0&&(w.fontSize=Lc(o)),i!==void 0&&(w.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${et.encours} ${_??""}`,style:C,"aria-label":v??t,children:[c.jsxs("div",{className:et.header,children:[c.jsx("div",{className:et.iconWrap,"aria-hidden":!0,style:b,children:I?c.jsx(I,{size:typeof s=="number"?s:void 0}):c.jsx(Vme,{})}),c.jsx("div",{className:et.title,style:w,children:t})]}),c.jsx("div",{className:`${et.items} ${M===void 0?et.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((x,L)=>{const{valueStyle:N,labelStyle:j}=zme(x,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:et.item,role:"listitem",style:{...x.background?{background:x.background}:{},...x.width?{width:Lc(x.width)}:{}},children:c.jsxs("div",{className:et.valueContainer,children:[c.jsx("div",{className:et.value,style:N,children:x.value}),x.label&&c.jsx("div",{className:et.label,style:j,children:x.label})]})},`${String(x.label??x.value)}-${L}`)})})]})}const Tme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-360 280-559h400z"})),Hme=k.memo(Tme),Dme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m280-400 200-201 200 201z"})),Bme=k.memo(Dme),Rme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),Fme=k.memo(Rme),Eme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),Ome=k.memo(Eme),Ume=({items:e,onSave:t,loading:n,disabled:o,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h})=>{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(C=>C.map(w=>w.component_key===v?{...w,visible:!w.visible}:w))},_=()=>{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(_j,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),u?c.jsx(Bme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Hme,{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:C=>{I>=4&&(C.currentTarget.style.background="#F9FAFB")},onMouseLeave:C=>{I>=4&&(C.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:v.visible?c.jsx(Fme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Ome,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children: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})})]})]})},Wme="_container_zhny9_1",Gme="_card_zhny9_15",Zme="_footer_zhny9_33",Kme="_noPaddingMobile_zhny9_51",W1={container:Wme,card:Gme,footer:Zme,noPaddingMobile:Kme},Xme="_board_71fer_1",Yme="_clickable_71fer_21",Jme="_sideBar_71fer_26",Qme="_boardContent_71fer_32",e6e="_orange_71fer_40",t6e="_red_71fer_44",a6e="_green_71fer_48",n6e="_grey_71fer_52",o6e="_lightGrey_71fer_56",c6e="_big_71fer_61",i6e="_medium_71fer_66",r6e="_headerRow_71fer_70",s6e="_iconWrapper_71fer_75",d6e="_headerTitle_71fer_80",l6e="_valueArea_71fer_89",h6e="_titleWhite_71fer_99",u6e="_titleBlack_71fer_103",p6e="_valueWhite_71fer_108",y6e="_valueBlack_71fer_112",k6e="_valueBlue_71fer_116",m6e="_bars_71fer_121",f6e="_bar_71fer_121",g6e="_barDark_71fer_135",v6e="_barDim_71fer_139",Re={board:Xme,clickable:Yme,sideBar:Jme,boardContent:Qme,orange:e6e,red:t6e,green:a6e,grey:n6e,lightGrey:o6e,big:c6e,medium:i6e,headerRow:r6e,iconWrapper:s6e,headerTitle:d6e,valueArea:l6e,titleWhite:h6e,titleBlack:u6e,valueWhite:p6e,valueBlack:y6e,valueBlue:k6e,bars:m6e,bar:f6e,barDark:g6e,barDim:v6e},M6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${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))})},bt=({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:C="flex-start",cardGap:w="",onClick:b,iconColor:x})=>{const L=i!=="none",N=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}:{},...$},H=`${Re.board} ${Re[s]} ${u}`;return c.jsxs("div",{className:H,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:w},children:[c.jsxs("div",{className:Re.headerRow,style:{justifyContent:I,alignItems:C},children:[e&&c.jsx("div",{className:Re.iconWrapper,style:{color:x},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(M6e,{endingDark:N,lightCount:r}):null]}),c.jsx("div",{className:Re.valueArea,style:{color:m,...M?{fontSize:M}:{},..._?{fontWeight:_}:{}},children:n})]})]})},_6e="_wrapper_1uu3e_10",x6e="_hosp_1uu3e_19",L6e="_headerRow_1uu3e_54",I6e="_iconWrapper_1uu3e_61",b6e="_headerTitle_1uu3e_67",w6e="_hospValue_1uu3e_76",C6e="_side_1uu3e_88",N6e="_mini_1uu3e_100",S6e="_miniLabel_1uu3e_131",j6e="_miniValue_1uu3e_140",$6e="_miniBars_1uu3e_150",q6e="_bars_1uu3e_155",A6e="_bar_1uu3e_155",z6e="_barDark_1uu3e_169",V6e="_barDim_1uu3e_173",Ce={wrapper:_6e,hosp:x6e,headerRow:L6e,iconWrapper:I6e,headerTitle:b6e,hospValue:w6e,side:C6e,mini:N6e,miniLabel:S6e,miniValue:j6e,miniBars:$6e,bars:q6e,bar:A6e,barDark:z6e,barDim:V6e},P6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${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))})},Rq=({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(P6e,{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}`))})]})},T6e=({items:e,footerLabel:t,width:n,height:o,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:m})=>{const 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:`${W1.container} ${y?W1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:W1.card,children:[f?c.jsx(bt,{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(Rq,{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:C=>m?.(2+I,C)}))}):M&&_.length===0?c.jsx(bt,{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:W1.footer,children:t})]})},H6e=({x:e,y:t,width:n,payload:o,fontSize:i,fontWeight:r,stroke:s})=>c.jsx("g",{transform:`translate(${e},${t})`,children:c.jsx("foreignObject",{x:-n,y:-20,width:n,height:40,style:{overflow:"visible"},children:c.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.1",wordBreak:"break-word",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",paddingRight:"8px"},children:o.value})})}),D6e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:o=!0,backgroundColor:i="#ffffff",legendTextColor:r="#000",barHeight:s=100,yAxisWidth:d=240,fontSize:l="12px",fontWeight:h="400",wrapLabels:u=!1,domain:p})=>c.jsx("div",{style:{backgroundColor:i},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:t,children:c.jsxs(a.BarChart,{data:e,layout:"vertical",children:[c.jsx(a.CartesianGrid,{stroke:"#E5E7EB",vertical:!1}),c.jsx(a.XAxis,{type:"number",domain:p,axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r}),c.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:d,interval:0,fontSize:l,fontWeight:h,tick:u?c.jsx(H6e,{}):void 0}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),B6e="_menu_10i6j_1",R6e="_menuRow_10i6j_18",F6e="_separator_10i6j_33",E6e="_rowLabel_10i6j_39",O6e="_rowLeadingIcon_10i6j_47",U6e="_rowIcon_10i6j_54",Pc={menu:B6e,menuRow:R6e,separator:F6e,rowLabel:E6e,rowLeadingIcon:O6e,rowIcon:U6e},W6e=k.forwardRef(function({isVisible:t,onClose:n,items:o,style:i,position:r,bg:s},d){const l=k.useRef(null),h=d||l;if(k.useEffect(()=>{if(!t)return;const y=m=>{h.current&&!h.current.contains(m.target)&&n?.()};return document.addEventListener("mousedown",y),()=>document.removeEventListener("mousedown",y)},[t,n]),!t)return null;const p={...{top:r?.top,left:r?.left,right:r?.right,bottom:r?.bottom},...s&&{backgroundColor:s},...i};return c.jsx("div",{ref:h,role:"menu",className:Pc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Pc.separator},y.id);const m=y,g=m.color?{color:m.color}:{},f=m.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Pc.menuRow,style:g,onClick:()=>{m.onClick?.(),f&&n?.()},children:[c.jsxs("span",{className:Pc.rowLabel,children:[m.leadingIcon&&c.jsx("span",{className:Pc.rowLeadingIcon,children:m.leadingIcon}),c.jsx("span",{children:m.label})]}),m.icon&&c.jsx("span",{className:Pc.rowIcon,children:m.icon})]},m.id)})})}),Fq=({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:C,statusDotColor:w,style:b,className:x=""})=>{const{user:L}=it(),N=e||L,{currentTheme:j,switchTheme:$}=sL(),q=k.useRef(null),H=k.useRef(null),[P,A]=k.useState(!1),[S,V]=k.useState({}),T=k.useMemo(()=>{const Z=[],Q=({variant:_e})=>_e==="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&&(Z.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Z.push({id:"sep-profile",type:"separator"}));const ae=j==="dark";return Z.push({id:"theme",type:"action",label:ae?"Mode clair":"Mode sombre",icon:c.jsx(Q,{variant:ae?"sun":"moon"}),onClick:()=>{$(ae?"light":"dark")}}),(t||o)&&(Z.push({id:"sep-theme",type:"separator"}),Z.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?.()}})),Z},[j,t,n,o,i,r,$]),R=v??T,B=()=>{if(!q.current){A(Z=>!Z);return}if(!P){const Z=q.current.getBoundingClientRect(),Q=window.innerWidth,ae=window.innerHeight,_e=200,pe=200,Le=4,de=C?.x??0,Ie=C?.y??0,Se=Q-Z.right>=_e+Le;V(Se?{top:Z.bottom-pe+Ie,left:Z.right+Le+de}:{bottom:ae-Z.top+Ie,left:Z.left+de})}A(Z=>!Z)};if(k.useEffect(()=>{if(!P||!q.current)return;const Z=()=>{const Q=q.current.getBoundingClientRect(),ae=window.innerWidth,_e=window.innerHeight,pe=200,Le=200,de=4,Ie=C?.x??0,be=C?.y??0,he=ae-Q.right>=pe+de;V(he?{top:Q.bottom-Le+be,left:Q.right+de+Ie}:{bottom:_e-Q.top+be,left:Q.left+Ie})};return window.addEventListener("resize",Z),window.addEventListener("orientationchange",Z),()=>{window.removeEventListener("resize",Z),window.removeEventListener("orientationchange",Z)}},[P,C]),k.useEffect(()=>{if(!P||!q.current||!H.current)return;const Z=()=>{const ae=q.current.getBoundingClientRect(),_e=H.current.getBoundingClientRect(),pe=C?.x??0,Le=C?.y??0;V(de=>de.left!==void 0&&de.top!==void 0&&de.left>=ae.right-1?{top:ae.bottom-_e.height+Le,left:de.left+pe}:de)},Q=requestAnimationFrame(()=>{setTimeout(Z,0)});return()=>cancelAnimationFrame(Q)},[P,C]),!N)return null;const F=N,Y=parseInt(h,10)||40,X=`${Y*.375}px`,re=`${Y*1.375}px`,ke=`${Y*.2}px`,ze=`${Y*.6}px`,se=()=>{const Z=parseInt(h,10)||40,Q=Math.max(8,Z*.34375),ae=Math.max(2,Z*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[F.image?c.jsx("img",{src:F.image,alt:`${F.prenom} ${F.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):c.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:_,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:X,height:X,borderRadius:"50%",backgroundColor:M,position:"absolute",top:ke,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:re,height:re,borderRadius:"50%",backgroundColor:M,position:"absolute",top:ze,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&c.jsx("div",{style:{position:"absolute",bottom:ae,right:ae,width:`${Q}px`,height:`${Q}px`,borderRadius:"50%",backgroundColor:w,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:F.email,children:F.email}),c.jsx("span",{style:{color:l,fontSize:g,fontWeight:f,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:F.role,children:F.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:q,className:`user-info ${x}`,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(se,{})})}),c.jsx(W6e,{ref:H,isVisible:P,onClose:()=>A(!1),items:R,style:I,position:S})]})},G6e="_navItem_16uqf_1",Z6e="_label_16uqf_14",K6e="_icon_16uqf_26",n1={navItem:G6e,label:Z6e,icon:K6e},Ow=({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?.()},C=c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:n1.icon,style:{marginRight:m?0:M},children:i}),!m&&c.jsx("span",{className:n1.label,children:e})]}),w=()=>{if(!o)return"transparent";const x=L=>{const N=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(L);return N?{r:parseInt(N[1],16),g:parseInt(N[2],16),b:parseInt(N[3],16)}:null};if(d.startsWith("#")){const L=x(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:`${n1.navItem} ${o?n1.active:""} ${s} ${_?n1.disabled:""}`,style:{padding:g,color:o?h:_?v||"#999":l,borderLeft:o?`${f} solid ${d}`:`${f} solid transparent`,backgroundColor:w(),fontSize:p,fontWeight:y,cursor:_?"not-allowed":"pointer",textDecoration:"none",...r},"aria-disabled":_};return n&&!_?c.jsx("a",{href:n,...b,children:C}):c.jsx("div",{...b,role:t?"button":void 0,tabIndex:t&&!_?0:void 0,children:C})},X6e="_navbar_agnn2_1",Y6e="_topSection_agnn2_9",J6e="_sectionsContainer_agnn2_14",Q6e="_sectionTitle_agnn2_20",e8e="_sectionItems_agnn2_25",t8e="_bottomSection_agnn2_30",a8e="_versionContainer_agnn2_49",rt={navbar:X6e,topSection:Y6e,sectionsContainer:J6e,sectionTitle:Q6e,sectionItems:e8e,bottomSection:t8e,versionContainer:a8e},n8e=({logoProps:e,logoSpacing:t,navItems:n,padding:o="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:l="rgba(0, 0, 0, 0.05)",version:h,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:m="4px",navItemIconGap:g="12px",navItemFontSize:f="15px",navItemFontWeight:M="500",navItemColor:_,sectionTitlePadding:v="16px",sectionTitleFontSize:I="11px",sectionTitleColor:C="#999",sectionTitleWeight:w="500",versionFontSize:b="12px",versionFontWeight:x="400",versionColor:L="#999",userInfoProps:N,style:j,className:$="",width:q="280px",showLogo:H=!0})=>{const P=it(),A=P.activeNav,S=P.setActiveNav,V=P.user,T=N.user||V;return c.jsxs("div",{className:`${rt.navbar} ${$}`,style:{width:q,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:rt.topSection,style:{gap:t},children:[H&&c.jsx("div",{className:rt.logoContainer,children:c.jsx(rL,{...e})}),c.jsx("div",{className:rt.sectionsContainer,style:{gap:i},children:n.map((R,B)=>c.jsxs("div",{className:rt.section,children:[R.title&&c.jsx("div",{className:rt.sectionTitle,style:{fontSize:I,color:C,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:R.title}),c.jsx("div",{className:rt.sectionItems,style:{gap:r},children:R.items.map(F=>c.jsx(Ow,{...F,isActive:F.isActive===null?F.isActive:A===F.id,onClick:()=>{F.onClick&&F.onClick(),F.isActive==null&&S(F.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:m,iconGap:g,fontSize:f,fontWeight:M,color:_,style:p},F.id))})]},B))})]}),c.jsxs("div",{className:rt.bottomSection,style:{gap:t},children:[c.jsx(Fq,{...N,user:T}),h&&c.jsx("div",{className:rt.versionContainer,style:{fontSize:b,fontWeight:x,color:L},children:h})]})]})},o8e="_container_4qege_1",c8e="_titleContainer_4qege_10",i8e="_title_4qege_10",r8e="_inlineToggleContainer_4qege_24",s8e="_rightContentContainer_4qege_30",o1={container:o8e,titleContainer:c8e,title:i8e,inlineToggleContainer:r8e,rightContentContainer:s8e},d8e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:m=M=>M,rightContent:g,inlineToggle:f})=>{const{activeNav:M}=it(),_=y.find(I=>I.id===M),v=m(_?_.label:M);return v?c.jsxs("div",{className:`${o1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:o1.titleContainer,children:[c.jsx("div",{className:o1.title,style:{fontSize:n,fontWeight:o,color:i},children:v}),f&&c.jsx("div",{className:o1.inlineToggleContainer,children:f})]}),g&&c.jsx("div",{className:o1.rightContentContainer,children:g})]}):null},l8e="_navItem_1hg26_1",h8e="_navItemIcon_1hg26_21",u8e="_navItemLabel_1hg26_29",p8e="_navItemCount_1hg26_36",y8e="_navItemIndicator_1hg26_49",c1={navItem:l8e,navItemIcon:h8e,navItemLabel:u8e,navItemCount:p8e,navItemIndicator:y8e},Eq=({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:C="8px",style:w,className:b="",disabled:x=!1})=>{const L=()=>{x||(n?.(),o&&(window.location.href=o))};return c.jsxs("div",{className:`${c1.navItem} ${b}`,onClick:L,style:{gap:C,padding:_,color:t?s:d,backgroundColor:t?l:"transparent",fontSize:v,fontWeight:I,...w},children:[i&&c.jsx("span",{className:c1.navItemIcon,children:i}),c.jsx("span",{className:c1.navItemLabel,children:e}),r!==void 0&&c.jsx("span",{className:c1.navItemCount,style:{backgroundColor:h,color:u,borderRadius:p,padding:y,fontSize:m,fontWeight:g},children:r}),t&&!x&&c.jsx("div",{className:c1.navItemIndicator,style:{height:M,backgroundColor:f}})]})},k8e="_container_13hsa_1",m8e="_groupHeader_13hsa_8",f8e="_groupHeaderLeft_13hsa_18",g8e="_groupIcon_13hsa_23",v8e="_dropdown_13hsa_29",M8e="_item_13hsa_42",_8e="_itemIcon_13hsa_65",x8e="_chevron_13hsa_72",L8e="_chevronOpen_13hsa_79",st={container:k8e,groupHeader:m8e,groupHeaderLeft:f8e,groupIcon:g8e,dropdown:v8e,item:M8e,itemIcon:_8e,chevron:x8e,chevronOpen:L8e},I8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),N1=k.memo(I8e),Oq=({groups:e,activeItemId:t,onItemClick:n,style:o,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:l="var(--color-text)",headerBorderBottomColor:h="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:m="var(--color-text)",itemActiveColor:g="var(--color-primary)",itemActiveBorderColor:f="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:_="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:I="var(--color-text)",chevronColor:C="var(--color-text)",iconSize:w=22,headerPadding:b="14px 20px",itemPadding:x="14px 20px",iconGap:L=14,borderRadius:N=0})=>{const[j,$]=k.useState(""),q=k.useRef(null);k.useEffect(()=>{const P=A=>{q.current&&!q.current.contains(A.target)&&$("")};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const H={backgroundColor:r,color:s,borderRadius:N,...o};return c.jsx("nav",{ref:q,className:[st.container,i].filter(Boolean).join(" "),style:H,children:e.map(P=>{const A=j===P.id,S={backgroundColor:d,color:l,padding:b,borderBottom:`1px solid ${h}`,gap:L},V={backgroundColor:u};return c.jsxs("div",{children:[c.jsxs("div",{className:st.groupHeader,style:S,onClick:()=>$(A?"":P.id),role:"button","aria-expanded":A,children:[c.jsxs("div",{className:st.groupHeaderLeft,style:{gap:L},children:[P.icon&&c.jsx("span",{className:st.groupIcon,style:{color:I,width:w,height:w},children:P.icon}),c.jsx("span",{children:P.label})]}),c.jsx("span",{className:[st.chevron,A?st.chevronOpen:""].join(" "),style:{color:C},children:c.jsx(N1,{width:18,height:18})})]}),A&&c.jsx("div",{className:st.dropdown,style:V,children:P.items.map(T=>{const R=T.id===t,B={padding:x,gap:L,color:R?g:m,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?f:M};return c.jsxs("div",{className:st.item,style:B,onClick:()=>{n?.(P.id,T.id),$("")},role:"menuitem",onMouseEnter:F=>{R||(F.currentTarget.style.backgroundColor=y)},children:[T.icon&&c.jsx("span",{className:st.itemIcon,style:{color:R?v:_,width:w,height:w},children:T.icon}),c.jsx("span",{children:T.label})]},T.id)})})]},P.id)})})},b8e="_subheaderContent_1glo8_1",w8e="_navContainer_1glo8_11",C8e="_rightContent_1glo8_45",Nb={subheaderContent:b8e,navContainer:w8e,rightContent:C8e},N8e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:o,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:l="24px",actionsGap:h="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:m="#00aec7",inactiveItemColor:g="#5c6975",indicatorHeight:f="3px",showDraggable:M=!1,showLegend:_=!1,showData:v=!1,className:I="",style:C,countBackgroundColor:w,countColor:b,countBorderRadius:x,countPadding:L,countFontSize:N,countFontWeight:j,navContainerClassName:$,navContainerStyle:q,rightContentClassName:H,rightContentStyle:P,rightActions:A,activeSwitcherColor:S,inactiveSwitcherColor:V,isMobile:T=!1})=>{const{activeSubNav:R,setActiveSubNav:B,navCounts:F,activeNav:Y}=it();if(T){const X=e.find(ke=>ke.id===R)||e[0],re=[{id:"current-group",label:X?.label||Y?.toUpperCase()||"MENU",icon:X?.icon,items:e.map(ke=>({id:ke.id,label:ke.label,icon:ke.icon}))}];return c.jsx("div",{className:I,style:C,children:c.jsx(Oq,{groups:re,activeItemId:R,onItemClick:(ke,ze)=>{const se=e.find(Z=>Z.id===ze);se&&(se.onClick&&se.onClick(),se.href&&(window.location.href=se.href),B(ze))},headerBgColor:t})})}return c.jsxs("div",{className:`${Nb.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...C},children:[c.jsx("div",{className:`${Nb.navContainer} ${$||""}`,style:{gap:l,...q},children:e.map(X=>{const re=X.count!==void 0?X.count:F[X.id],ke=R===X.id||X.isActive;return c.jsx(Eq,{...X,count:re,isActive:ke,onClick:()=>{X.onClick&&X.onClick(),B(X.id)},activeColor:m,inactiveColor:g,countBackgroundColor:w,countColor:b,countBorderRadius:x,countPadding:L,countFontSize:N,countFontWeight:j,indicatorColor:m,indicatorHeight:f,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:X.style},X.id)})}),c.jsxs("div",{className:`${Nb.rightContent} ${H||""}`,style:{gap:h,...P},children:[M&&c.jsx(Yx,{size:20,colors:{bg:S,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(Jx,{size:20,colors:{bg:S,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&c.jsx(Qx,{size:20,colors:{bg:S,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),A]})]})},S8e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:o="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=sL(),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"})]})})},j8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[o,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";o.sortBy===s&&(d=o.sortOrder==="asc"?"desc":"asc");const l={...o,sortBy:s,sortOrder:d};i(l),n(s,d)},[o,n]);return{tableState:o,handleSort:r}},$8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),q8e=k.memo($8e),A8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),z8e=k.memo(A8e),V8e=({columns:e,sortBy:t,sortOrder:n,onSort:o,removeLabelSpan:i=!1})=>c.jsx("thead",{children:c.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return c.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&o(String(r.key)),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(z8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(q8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),P8e=({data:e,columns:t,rowKey:n,onRowClick:o,isLoading:i,text:r,rowStyle:s,rowClassName:d})=>!e.length&&!i?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:c.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):c.jsx("tbody",{children:e.map((l,h)=>{const u=l[n],p=typeof u=="string"||typeof u=="number"?u:h;return c.jsx("tr",{onClick:()=>o&&o(l),style:{cursor:o?"pointer":"default",...s?s(l):{}},className:d?d(l,h):"",children:t.map((y,m)=>c.jsx("td",{style:{width:y.width,textAlign:y.align||"left"},className:y.className,children:y.render?y.render(l):l[y.key]},`${String(y.key)}-${m}`))},p)})}),T8e=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:o,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:l,total:h}=e,u=l===-1?h:l,p=Math.ceil(h/u)||1,y=Math.min(Math.max(1,d),p),m=h===0?0:(y-1)*u+1,g=Math.min(y*u,h),f=_=>{t({page:_})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(N,j)=>j+1);const I=Math.max(y-1,1),C=Math.min(y+1,p),w=I>2,b=C<p-2,x=1,L=p;if(!w&&b)return[...Array.from({length:5},($,q)=>q+1),"...",p];if(w&&!b){const j=Array.from({length:5},($,q)=>p-5+q+1);return[x,"...",...j]}if(w&&b){const N=Array.from({length:C-I+1},(j,$)=>I+$);return[x,"...",...N,"...",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((_,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"})})]})},Uq=({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:C,removeLabelSpan:w=!1})=>{const b=k.useMemo(()=>({...p}),[p]),x=k.useRef(null);k.useEffect(()=>{if(!m||!y||!g||n)return;const H=new IntersectionObserver(P=>{P[0].isIntersecting&&y()},{threshold:.1});return x.current&&H.observe(x.current),()=>H.disconnect()},[m,y,g,n]);const{tableState:L,handleSort:N}=j8e({initialSortBy:null,onSortChange:r}),j=(f?.sortBy!==void 0?f.sortBy:L.sortBy)??void 0,$=f?.sortOrder!==void 0?f.sortOrder:L.sortOrder,q=H=>{const P=j,A=$;let S="asc";P===H&&(S=A==="asc"?"desc":"asc"),f?.sortBy!==void 0?r(H,S):N(H)};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(V8e,{columns:t,sortBy:j,sortOrder:$,onSort:q,removeLabelSpan:w}),c.jsx(P8e,{data:e,columns:t.map(H=>({...H,render:H.render?P=>H.render(P,{}):void 0})),rowKey:s,onRowClick:I,isLoading:n,text:b,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:C})]}),m&&c.jsx("div",{ref:x,style:{height:20,margin:10}})]})]}),c.jsx(T8e,{state:o,onPaginationChange:i,text:b,onLoadMore:y,infiniteScroll:m,hasMore:g,isLoading:n})]})},H8e="_datePickerContainer_1941b_3",D8e="_label_1941b_16",B8e="_displayNode_1941b_23",R8e="_datePickerButton_1941b_30",F8e="_datePickerButtonDisabled_1941b_50",E8e="_datePickerButtonOpen_1941b_59",O8e="_datePickerLabel_1941b_68",U8e="_placeholder_1941b_79",W8e="_chevron_1941b_83",G8e="_errorMessage_1941b_91",Z8e="_dropdown_1941b_96",K8e="_calendarHeader_1941b_120",X8e="_navButton_1941b_129",Y8e="_headerSelectors_1941b_148",J8e="_monthSelector_1941b_156",Q8e="_yearSelector_1941b_157",efe="_selectorButton_1941b_161",tfe="_selectorChevron_1941b_178",afe="_selectorChevronOpen_1941b_183",nfe="_monthDropdown_1941b_187",ofe="_yearDropdown_1941b_188",cfe="_monthItem_1941b_208",ife="_yearItem_1941b_209",rfe="_monthItemSelected_1941b_231",sfe="_yearItemSelected_1941b_232",dfe="_weekdays_1941b_236",lfe="_weekday_1941b_236",hfe="_calendarGrid_1941b_252",ufe="_dateCell_1941b_260",pfe="_dateCellSelected_1941b_283",yfe="_dateCellOtherMonth_1941b_287",kfe="_dateCellOtherMonthSelected_1941b_291",mfe="_calendarFooter_1941b_295",ffe="_cancelButton_1941b_303",gfe="_applyButton_1941b_304",vfe="_timePickerContainer_1941b_348",Mfe="_timeGroup_1941b_357",_fe="_timeLabel_1941b_364",xfe="_timeInputWrapper_1941b_370",Lfe="_timeInput_1941b_370",Ife="_timeSeparator_1941b_398",E={datePickerContainer:H8e,label:D8e,displayNode:B8e,datePickerButton:R8e,datePickerButtonDisabled:F8e,datePickerButtonOpen:E8e,datePickerLabel:O8e,placeholder:U8e,chevron:W8e,errorMessage:G8e,dropdown:Z8e,calendarHeader:K8e,navButton:X8e,headerSelectors:Y8e,monthSelector:J8e,yearSelector:Q8e,selectorButton:efe,selectorChevron:tfe,selectorChevronOpen:afe,monthDropdown:nfe,yearDropdown:ofe,monthItem:cfe,yearItem:ife,monthItemSelected:rfe,yearItemSelected:sfe,weekdays:dfe,weekday:lfe,calendarGrid:hfe,dateCell:ufe,dateCellSelected:pfe,dateCellOtherMonth:yfe,dateCellOtherMonthSelected:kfe,calendarFooter:mfe,cancelButton:ffe,applyButton:gfe,timePickerContainer:vfe,timeGroup:Mfe,timeLabel:_fe,timeInputWrapper:xfe,timeInput:Lfe,timeSeparator:Ife},oj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],bfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],nw=({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:C,dropdownBgColor:w="#ffffff",itemHoverColor:b,selectedItemBgColor:x,iconColor:L,errorColor:N,labelColor:j,placeholderColor:$,borderRadius:q="var(--radius-content)",borderWidth:H="0.0625rem",boxShadow:P="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:A="0.2s",transitionTiming:S="ease",dateCellSize:V="2.5rem",headerTextColor:T="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:B="#212529",otherMonthDateColor:F="#adb5bd",selectedDateBgColor:Y="#00A6D9",selectedDateTextColor:X="#ffffff",cancelButtonBgColor:re="#e9ecef",cancelButtonTextColor:ke="#212529",applyButtonBgColor:ze="#00A6D9",applyButtonTextColor:se="#ffffff",width:Z,displayNode:Q=void 0,displayMode:ae="auto",displayNodeAriaLabel:_e,dropdownPosition:pe="bottom",dropdownAlignment:Le="right",dropdownWidth:de,withBorder:Ie=!1,icon:be,precision:Se="day",hoursLabel:he="Heures",minutesLabel:we="Minutes",lowerLimit:mt=null,upperLimit:Sc=null,months:jc,weekdays:O,cancelText:Xe="Annuler",applyText:Kq="Appliquer",prevMonthAriaLabel:Xq="Mois précédent",nextMonthAriaLabel:Yq="Mois suivant",calendarAriaLabel:Jq="Sélecteur de date",openedAriaLabel:Qq="Ouvrir le sélecteur de date",selectedDateAriaLabel:eA="Date sélectionnée: ",locale:Uw="fr-FR"})=>{const At=D=>{if(D instanceof Date)return isNaN(D.getTime())?null:D;if(typeof D=="string"&&D){const G=new Date(D);return isNaN(G.getTime())?null:G}return null},[Ye,zt]=k.useState(!1),[$c,tA]=k.useState({top:0,left:0,width:0}),[ee,e1]=k.useState(At(e)||new Date),[_L,xL]=k.useState(At(e)),[LL,IL]=k.useState(At(e)?.getHours()??0),[bL,wL]=k.useState(At(e)?.getMinutes()??0),[CL,qc]=k.useState(!1),[NL,Ac]=k.useState(!1),SL=k.useRef(null),B1=k.useRef(null),jL=k.useRef(null),$L=k.useRef(null);k.useEffect(()=>{const D=At(e);xL(D),D&&(e1(D),IL(D.getHours()),wL(D.getMinutes()))},[e]);const zc=k.useCallback(()=>{if(B1.current){const D=B1.current.getBoundingClientRect();tA({top:D.top,left:D.left,width:D.width})}},[]);k.useEffect(()=>(Ye&&(zc(),window.addEventListener("scroll",zc,!0),window.addEventListener("resize",zc)),()=>{window.removeEventListener("scroll",zc,!0),window.removeEventListener("resize",zc)}),[Ye,zc]),k.useEffect(()=>{const D=G=>{if(SL.current&&!SL.current.contains(G.target)){const me=document.getElementById("datepicker-dropdown");if(me&&me.contains(G.target))return;zt(!1),qc(!1),Ac(!1)}jL.current&&!jL.current.contains(G.target)&&qc(!1),$L.current&&!$L.current.contains(G.target)&&Ac(!1)};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const Ww=D=>new Date(D.getFullYear(),D.getMonth()+1,0).getDate(),aA=D=>{const G=new Date(D.getFullYear(),D.getMonth(),1).getDay();return G===0?6:G-1},nA=()=>{const D=[],G=aA(ee),me=Ww(ee),R1=new Date(ee.getFullYear(),ee.getMonth()-1,1),ft=Ww(R1);for(let Oe=G-1;Oe>=0;Oe--)D.push(new Date(ee.getFullYear(),ee.getMonth()-1,ft-Oe));for(let Oe=1;Oe<=me;Oe++)D.push(new Date(ee.getFullYear(),ee.getMonth(),Oe));const t1=42-D.length;for(let Oe=1;Oe<=t1;Oe++)D.push(new Date(ee.getFullYear(),ee.getMonth()+1,Oe));return D},oA=(D,G)=>!D||!G?!1:D.getDate()===G.getDate()&&D.getMonth()===G.getMonth()&&D.getFullYear()===G.getFullYear(),cA=D=>D.getMonth()===ee.getMonth()&&D.getFullYear()===ee.getFullYear(),iA=()=>{e1(new Date(ee.getFullYear(),ee.getMonth()-1,1))},rA=()=>{e1(new Date(ee.getFullYear(),ee.getMonth()+1,1))},sA=D=>{if(!s){const G=new Date(D);G.setHours(LL),G.setMinutes(bL),xL(G)}},dA=()=>{if(!s){if(_L){const D=new Date(_L);D.setHours(LL),D.setMinutes(bL),t(D)}else t(null);zt(!1)}},lA=()=>{const D=At(e);xL(D),D&&(IL(D.getHours()),wL(D.getMinutes())),zt(!1)},hA=D=>{e1(new Date(ee.getFullYear(),D,1)),qc(!1)},uA=D=>{e1(new Date(D,ee.getMonth(),1)),Ac(!1)},pA=()=>{const D=ee.getFullYear(),G=[];for(let me=D-10;me<=D+10;me++)G.push(me);return G},yA=D=>{if(!s)switch(D.key){case"Enter":case" ":D.preventDefault(),zt(!Ye);break;case"Escape":zt(!1),qc(!1),Ac(!1);break;case"Tab":Ye&&(zt(!1),qc(!1),Ac(!1));break}},kA={width:Z||(r?"100%":"auto"),fontSize:p,fontWeight:_},mA={height:l,padding:h,backgroundColor:v||"#ffffff",border:Ie?void 0:"none",borderColor:d?N||"#dc3545":I||"#dee2e6",color:C||"#212529",borderRadius:q,borderWidth:H,fontWeight:_,transition:`all ${A} ${S}`},fA={backgroundColor:w||"#ffffff",maxHeight:u,borderRadius:q,borderWidth:H,boxShadow:P,transition:`opacity ${A} ${S}, transform ${A} ${S}`,position:"fixed",top:pe==="bottom"?$c.top+(B1.current?.offsetHeight||0)+parseFloat(f.replace("rem",""))*16:"auto",bottom:pe==="top"?window.innerHeight-$c.top+parseFloat(f.replace("rem",""))*16:"auto",left:Le==="left"?$c.left:"auto",right:Le==="right"?window.innerWidth-($c.left+$c.width):"auto",width:de||(r?$c.width:"auto"),zIndex:10001},Gw={width:y,height:y,color:L||"#6c757d","--icon-rotation":Ye?"rotate(180deg)":"rotate(0deg)"},gA={color:j||"#212529",marginBottom:m,fontWeight:_},vA={color:$||"#6c757d"},MA={color:N||"#dc3545",marginTop:g},_A=nA(),Je=At(e),Zw=Je?Se==="minutes"?`${Je.toLocaleDateString(Uw)} ${Je.getHours().toString().padStart(2,"0")}:${Je.getMinutes().toString().padStart(2,"0")}`:Je.toLocaleDateString(Uw):"",xA=!!Q&&(ae==="icon"||ae==="auto"&&!Je),LA=_e||(Je?`${eA}${Zw}`:Qq);return c.jsxs("div",{className:`${E.datePickerContainer} ${i}`,ref:SL,style:kA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:E.label,style:gA,children:n}),c.jsxs("button",{ref:B1,type:"button",onClick:()=>!s&&zt(!Ye),onKeyDown:yA,className:`
|
|
8169
|
+
`),()=>{M.contains(m)&&M.removeChild(m)}},[t]),c.jsx(h0e,{isPresent:t,childRef:r,sizeRef:s,children:K.cloneElement(e,{ref:l})})}const p0e=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=$t(y0e),u=k.useId();let p=!0,y=k.useMemo(()=>(p=!1,{id:u,initial:t,isPresent:n,custom:i,onExitComplete:f=>{h.set(f,!0);for(const v of h.values())if(!v)return;o&&o()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,o]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,v)=>h.set(v,!1))},[n]),K.useEffect(()=>{!n&&!h.size&&o&&o()},[n]),s==="popLayout"&&(e=c.jsx(u0e,{isPresent:n,anchorX:d,root:l,children:e})),c.jsx(dL.Provider,{value:y,children:e})};function y0e(){return new Map}function m$(e=!0){const t=k.useContext(dL);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 O1=e=>e.key||"";function MC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const k0e=({children:e,custom:t,initial:n=!0,onExitComplete:o,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=m$(s),p=k.useMemo(()=>MC(e),[e]),y=s&&!h?[]:p.map(O1),f=k.useRef(!0),v=k.useRef(p),m=$t(()=>new Map),[M,_]=k.useState(p),[g,I]=k.useState(p);rw(()=>{f.current=!1,v.current=p;for(let b=0;b<g.length;b++){const x=O1(g[b]);y.includes(x)?m.delete(x):m.get(x)!==!0&&m.set(x,!1)}},[g,y.length,y.join("-")]);const C=[];if(p!==M){let b=[...p];for(let x=0;x<g.length;x++){const L=g[x],N=O1(L);y.includes(N)||(b.splice(x,0,L),C.push(L))}return r==="wait"&&C.length&&(b=C),I(MC(b)),_(p),null}process.env.NODE_ENV!=="production"&&r==="wait"&&g.length>1&&console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);const{forceRender:w}=k.useContext(cw);return c.jsx(c.Fragment,{children:g.map(b=>{const x=O1(b),L=s&&!h?!1:p===g||y.includes(x),N=()=>{if(m.has(x))m.set(x,!0);else return;let j=!0;m.forEach($=>{$||(j=!1)}),j&&(w?.(),I(v.current),s&&u?.(),o&&o())};return c.jsx(p0e,{isPresent:L,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:L?void 0:N,anchorX:d,children:b},x)})})},f$=k.createContext({strict:!1}),_C={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"]},Zc={};for(const e in _C)Zc[e]={isEnabled:t=>_C[e].some(n=>!!t[n])};function m0e(e){for(const t in e)Zc[t]={...Zc[t],...e[t]}}const f0e=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function nL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||f0e.has(e)}let g$=e=>!nL(e);function g0e(e){typeof e=="function"&&(g$=t=>t.startsWith("on")?!nL(t):e(t))}try{g0e(require("@emotion/is-prop-valid").default)}catch{}function v0e(e,t,n){const o={};for(const i in e)i==="values"&&typeof e.values=="object"||(g$(i)||n===!0&&nL(i)||!t&&!nL(i)||e.draggable&&i.startsWith("onDrag"))&&(o[i]=e[i]);return o}const hL=k.createContext({});function uL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function q1(e){return typeof e=="string"||Array.isArray(e)}const Sw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],jw=["initial",...Sw];function pL(e){return uL(e.animate)||jw.some(t=>q1(e[t]))}function v$(e){return!!(pL(e)||e.variants)}function M0e(e,t){if(pL(e)){const{initial:n,animate:o}=e;return{initial:n===!1||q1(n)?n:void 0,animate:q1(o)?o:void 0}}return e.inherit!==!1?t:{}}function _0e(e){const{initial:t,animate:n}=M0e(e,k.useContext(hL));return k.useMemo(()=>({initial:t,animate:n}),[xC(t),xC(n)])}function xC(e){return Array.isArray(e)?e.join(" "):e}const A1={};function x0e(e){for(const t in e)A1[t]=e[t],kw(t)&&(A1[t].isCSSVariable=!0)}function M$(e,{layout:t,layoutId:n}){return Jc.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!A1[e]||e==="opacity")}const L0e={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I0e=Yc.length;function b0e(e,t,n){let o="",i=!0;for(let r=0;r<I0e;r++){const s=Yc[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=l$(d,ww[s]);if(!l){i=!1;const u=L0e[s]||s;o+=`${u}(${h}) `}n&&(t[s]=h)}}return o=o.trim(),n?o=n(t,i?"":o):i&&(o="none"),o}function $w(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(Jc.has(l)){s=!0;continue}else if(kw(l)){i[l]=h;continue}else{const u=l$(h,ww[l]);l.startsWith("origin")?(d=!0,r[l]=u):o[l]=u}}if(t.transform||(s||n?o.transform=b0e(t,e.transform,n):o.transform&&(o.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;o.transformOrigin=`${l} ${h} ${u}`}}const qw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _$(e,t,n){for(const o in t)!Me(t[o])&&!M$(o,n)&&(e[o]=t[o])}function w0e({transformTemplate:e},t){return k.useMemo(()=>{const n=qw();return $w(n,t,e),Object.assign({},n.vars,n.style)},[t])}function C0e(e,t){const n=e.style||{},o={};return _$(o,n,e),Object.assign(o,w0e(e,t)),o}function N0e(e,t){const n={},o=C0e(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=o,n}const S0e={offset:"stroke-dashoffset",array:"stroke-dasharray"},j0e={offset:"strokeDashoffset",array:"strokeDasharray"};function $0e(e,t,n=1,o=0,i=!0){e.pathLength=1;const r=i?S0e:j0e;e[r.offset]=U.transform(-o);const s=U.transform(t),d=U.transform(n);e[r.array]=`${s} ${d}`}function x$(e,{attrX:t,attrY:n,attrScale:o,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if($w(e,d,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),o!==void 0&&(p.scale=o),i!==void 0&&$0e(p,i,r,s,!1)}const L$=()=>({...qw(),attrs:{}}),I$=e=>typeof e=="string"&&e.toLowerCase()==="svg";function q0e(e,t,n,o){const i=k.useMemo(()=>{const r=L$();return x$(r,t,I$(o),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};_$(r,e.style,e),i.style={...r,...i.style}}return i}const A0e=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function Aw(e){return typeof e!="string"||e.includes("-")?!1:!!(A0e.indexOf(e)>-1||/[A-Z]/u.test(e))}function z0e(e,t,n,{latestValues:o},i,r=!1){const d=(Aw(e)?q0e:N0e)(t,o,i,e),l=v0e(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Me(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function LC(e){const t=[{},{}];return e?.values.forEach((n,o)=>{t[0][o]=n.get(),t[1][o]=n.getVelocity()}),t}function zw(e,t,n,o){if(typeof t=="function"){const[i,r]=LC(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]=LC(o);t=t(n!==void 0?n:e.custom,i,r)}return t}function Zx(e){return Me(e)?e.get():e}function V0e({scrapeMotionValuesFromProps:e,createRenderState:t},n,o,i){return{latestValues:P0e(n,o,i,e),renderState:t()}}function P0e(e,t,n,o){const i={},r=o(e,{});for(const y in r)i[y]=Zx(r[y]);let{initial:s,animate:d}=e;const l=pL(e),h=v$(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"&&!uL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const v=zw(e,y[f]);if(v){const{transitionEnd:m,transition:M,..._}=v;for(const g in _){let I=_[g];if(Array.isArray(I)){const C=u?I.length-1:0;I=I[C]}I!==null&&(i[g]=I)}for(const g in m)i[g]=m[g]}}}return i}const b$=e=>(t,n)=>{const o=k.useContext(hL),i=k.useContext(dL),r=()=>V0e(e,t,o,i);return n?r():$t(r)};function Vw(e,t,n){const{style:o}=e,i={};for(const r in o)(Me(o[r])||t.style&&Me(t.style[r])||M$(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=o[r]);return i}const T0e=b$({scrapeMotionValuesFromProps:Vw,createRenderState:qw});function w$(e,t,n){const o=Vw(e,t,n);for(const i in e)if(Me(e[i])||Me(t[i])){const r=Yc.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;o[r]=e[i]}return o}const H0e=b$({scrapeMotionValuesFromProps:w$,createRenderState:L$}),D0e=Symbol.for("motionComponentSymbol");function Dc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function B0e(e,t,n){return k.useCallback(o=>{o&&e.onMount&&e.onMount(o),t&&(o?t.mount(o):t.unmount()),n&&(typeof n=="function"?n(o):Dc(n)&&(n.current=o))},[t])}const Pw=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),R0e="framerAppearId",C$="data-"+Pw(R0e),N$=k.createContext({});function F0e(e,t,n,o,i){const{visualElement:r}=k.useContext(hL),s=k.useContext(f$),d=k.useContext(dL),l=k.useContext(lL).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(N$);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&E0e(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[C$],v=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return rw(()=>{u&&(y.current=!0,window.MotionIsMounted=!0,u.updateFeatures(),u.scheduleRenderMicrotask(),v.current&&u.animationState&&u.animationState.animateChanges())}),k.useEffect(()=>{u&&(!v.current&&u.animationState&&u.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(f)}),v.current=!1),u.enteringChildren=void 0)}),u}function E0e(e,t,n,o){const{layoutId:i,layout:r,drag:s,dragConstraints:d,layoutScroll:l,layoutRoot:h,layoutCrossfade:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:S$(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Dc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:o,crossfade:u,layoutScroll:l,layoutRoot:h})}function S$(e){if(e)return e.options.allowProjection!==!1?e.projection:S$(e.parent)}function HL(e,{forwardMotionProps:t=!1}={},n,o){n&&m0e(n);const i=Aw(e)?H0e:T0e;function r(d,l){let h;const u={...k.useContext(lL),...d,layoutId:O0e(d)},{isStatic:p}=u,y=_0e(d),f=i(d,p);if(!p&&iw){U0e(u,n);const v=W0e(u);h=v.MeasureLayout,y.visualElement=F0e(e,f,u,o,v.ProjectionNode)}return c.jsxs(hL.Provider,{value:y,children:[h&&y.visualElement?c.jsx(h,{visualElement:y.visualElement,...u}):null,z0e(e,d,B0e(f,y.visualElement,l),f,p,t)]})}r.displayName=`motion.${typeof e=="string"?e:`create(${e.displayName??e.name??""})`}`;const s=k.forwardRef(r);return s[D0e]=e,s}function O0e({layoutId:e}){const t=k.useContext(cw).id;return t&&e!==void 0?t+"-"+e:e}function U0e(e,t){const n=k.useContext(f$).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?Kc(!1,o,"lazy-strict-mode"):Ke(!1,o,"lazy-strict-mode")}}function W0e(e){const{drag:t,layout:n}=Zc;if(!t&&!n)return{};const o={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?o.MeasureLayout:void 0,ProjectionNode:o.ProjectionNode}}function G0e(e,t){if(typeof Proxy>"u")return HL;const n=new Map,o=(r,s)=>HL(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&uw(!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,HL(s,void 0,e,t)),n.get(s))})}function j$({top:e,left:t,right:n,bottom:o}){return{x:{min:t,max:n},y:{min:e,max:o}}}function Z0e({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function K0e(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),o=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:o.y,right:o.x}}function DL(e){return e===void 0||e===1}function Zb({scale:e,scaleX:t,scaleY:n}){return!DL(e)||!DL(t)||!DL(n)}function Mc(e){return Zb(e)||$$(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function $$(e){return IC(e.x)||IC(e.y)}function IC(e){return e&&e!=="0%"}function oL(e,t,n){const o=e-n,i=t*o;return n+i}function bC(e,t,n,o,i){return i!==void 0&&(e=oL(e,i,o)),oL(e,n,o)+t}function Kb(e,t=0,n=1,o,i){e.min=bC(e.min,t,n,o,i),e.max=bC(e.max,t,n,o,i)}function q$(e,{x:t,y:n}){Kb(e.x,t.translate,t.scale,t.originPoint),Kb(e.y,n.translate,n.scale,n.originPoint)}const wC=.999999999999,CC=1.0000000000001;function X0e(e,t,n,o=!1){const i=n.length;if(!i)return;t.x=t.y=1;let r,s;for(let d=0;d<i;d++){r=n[d],s=r.projectionDelta;const{visualElement:l}=r.options;l&&l.props.style&&l.props.style.display==="contents"||(o&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Rc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,q$(e,s)),o&&Mc(r.latestValues)&&Rc(e,r.latestValues))}t.x<CC&&t.x>wC&&(t.x=1),t.y<CC&&t.y>wC&&(t.y=1)}function Bc(e,t){e.min=e.min+t,e.max=e.max+t}function NC(e,t,n,o,i=.5){const r=ie(e.min,e.max,i);Kb(e,t,n,r,o)}function Rc(e,t){NC(e.x,t.x,t.scaleX,t.scale,t.originX),NC(e.y,t.y,t.scaleY,t.scale,t.originY)}function A$(e,t){return j$(K0e(e.getBoundingClientRect(),t))}function Y0e(e,t,n){const o=A$(e,n),{scroll:i}=t;return i&&(Bc(o.x,i.offset.x),Bc(o.y,i.offset.y)),o}const SC=()=>({translate:0,scale:1,origin:0,originPoint:0}),Fc=()=>({x:SC(),y:SC()}),jC=()=>({min:0,max:0}),ue=()=>({x:jC(),y:jC()}),Xb={current:null},z$={current:!1};function J0e(){if(z$.current=!0,!!iw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Xb.current=e.matches;e.addEventListener("change",t),t()}else Xb.current=!1}const Q0e=new WeakMap;function ele(e,t,n){for(const o in t){const i=t[o],r=n[o];if(Me(i))e.addValue(o,i);else if(Me(r))e.addValue(o,Cc(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,Cc(s!==void 0?s:i,{owner:e}))}}for(const o in n)t[o]===void 0&&e.removeValue(o);return t}const $C=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class tle{scrapeMotionValuesFromProps(t,n,o){return{}}constructor({parent:t,props:n,presenceContext:o,reducedMotionConfig:i,blockInitialAnimation:r,visualState:s},d={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Iw,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,ce.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=pL(n),this.isVariantNode=v$(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 f=p[y];l[y]!==void 0&&Me(f)&&f.set(l[y])}}mount(t){this.current=t,Q0e.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,o)=>this.bindToMotionValue(o,n)),z$.current||J0e(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Xb.current,process.env.NODE_ENV!=="production"&&uw(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=Jc.has(t);o&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&ce.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 Zc){const n=Zc[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):ue()}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<$C.length;o++){const i=$C[o];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,s=t[r];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=ele(this,this.scrapeMotionValuesFromProps(t,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(t),()=>n.variantChildren.delete(t)}addValue(t,n){const o=this.values.get(t);n!==o&&(o&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let o=this.values.get(t);return o===void 0&&n!==void 0&&(o=Cc(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"&&(bj(o)||Cj(o))?o=parseFloat(o):!s0e(o)&&jt.test(n)&&(o=d$(t,n)),this.setBaseTarget(t,Me(o)?o.get():o)),Me(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=zw(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&&!Me(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 hw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Cw.render(this.render)}}class V$ extends tle{constructor(){super(...arguments),this.KeyframeResolver=Kde}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:o}){delete n[t],delete o[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Me(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function P$(e,{style:t,vars:n},o,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,o);for(s in n)r.setProperty(s,n[s])}function ale(e){return window.getComputedStyle(e)}class nle extends V${constructor(){super(...arguments),this.type="html",this.renderInstance=P$}readValueFromInstance(t,n){if(Jc.has(n))return this.projection?.isProjecting?Rb(n):pde(t,n);{const o=ale(t),i=(kw(n)?o.getPropertyValue(n):o[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return A$(t,n)}build(t,n,o){$w(t,n,o.transformTemplate)}scrapeMotionValuesFromProps(t,n,o){return Vw(t,n,o)}}const T$=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function ole(e,t,n,o){P$(e,t,void 0,o);for(const i in t.attrs)e.setAttribute(T$.has(i)?i:Pw(i),t.attrs[i])}class cle extends V${constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=ue}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Jc.has(n)){const o=s$(n);return o&&o.default||0}return n=T$.has(n)?n:Pw(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,o){return w$(t,n,o)}build(t,n,o){x$(t,n,this.isSVGTag,o.transformTemplate,o.style)}renderInstance(t,n,o,i){ole(t,n,o,i)}mount(t){this.isSVGTag=I$(t.tagName),super.mount(t)}}const ile=(e,t)=>Aw(e)?new cle(t):new nle(t,{allowProjection:e!==k.Fragment});function Gc(e,t,n){const o=e.getProps();return zw(o,t,n!==void 0?n:o.custom,e)}const Yb=e=>Array.isArray(e);function rle(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Cc(n))}function sle(e){return Yb(e)?e[e.length-1]||0:e}function dle(e,t){const n=Gc(e,t);let{transitionEnd:o={},transition:i={},...r}=n||{};r={...r,...o};for(const s in r){const d=sle(r[s]);rle(e,s,d)}}function lle(e){return!!(Me(e)&&e.add)}function Jb(e,t){const n=e.getValue("willChange");if(lle(n))return n.add(t);if(!n&&pt.WillChange){const o=new pt.WillChange("auto");e.addValue("willChange",o),o.add(t)}}function H$(e){return e.props[C$]}const hle=e=>e!==null;function ule(e,{repeat:t,repeatType:n="loop"},o){const i=e.filter(hle),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const ple={type:"spring",stiffness:500,damping:25,restSpeed:10},yle=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),kle={type:"keyframes",duration:.8},mle={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},fle=(e,{keyframes:t})=>t.length>2?kle:Jc.has(e)?e.startsWith("scale")?yle(t[1]):ple:mle;function gle({when:e,delay:t,delayChildren:n,staggerChildren:o,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const Tw=(e,t,n,o={},i,r)=>s=>{const d=bw(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};gle(d)||Object.assign(u,fle(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)&&(Wb(u),u.delay===0&&(p=!0)),(pt.instantAnimations||pt.skipAnimations)&&(p=!0,Wb(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=ule(u.keyframes,d);if(y!==void 0){ce.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Lw(u):new Pde(u)};function vle({protectedKeys:e,needsAnimating:t},n){const o=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,o}function D$(e,t,{delay:n=0,transitionOverride:o,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;o&&(r=o);const l=[],h=i&&e.animationState&&e.animationState.getState()[i];for(const u in d){const p=e.getValue(u,e.latestValues[u]??null),y=d[u];if(y===void 0||h&&vle(h,u))continue;const f={delay:n,...bw(r||{},u)},v=p.get();if(v!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===v&&!f.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const _=H$(e);if(_){const g=window.MotionHandoffAnimation(_,u,ce);g!==null&&(f.startTime=g,m=!0)}}Jb(e,u),p.start(Tw(u,p,y,e.shouldReduceMotion&&c$.has(u)?{type:!1}:f,e,m));const M=p.animation;M&&l.push(M)}return s&&Promise.all(l).then(()=>{ce.update(()=>{s&&dle(e,s)})}),l}function B$(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 Qb(e,t,n={}){const o=Gc(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(D$(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return Mle(e,t,l,h,u,p,n)}:()=>Promise.resolve(),{when:d}=i;if(d){const[l,h]=d==="beforeChildren"?[r,s]:[s,r];return l().then(()=>h())}else return Promise.all([r(),s(n.delay)])}function Mle(e,t,n=0,o=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(Qb(l,t,{...s,delay:n+(typeof o=="function"?0:o)+B$(e.variantChildren,l,o,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function _le(e,t,n={}){e.notify("AnimationStart",t);let o;if(Array.isArray(t)){const i=t.map(r=>Qb(e,r,n));o=Promise.all(i)}else if(typeof t=="string")o=Qb(e,t,n);else{const i=typeof t=="function"?Gc(e,t,n.custom):t;o=Promise.all(D$(e,i,n))}return o.then(()=>{e.notify("AnimationComplete",t)})}function R$(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let o=0;o<n;o++)if(t[o]!==e[o])return!1;return!0}const xle=jw.length;function F$(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?F$(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<xle;n++){const o=jw[n],i=e.props[o];(q1(i)||i===!1)&&(t[o]=i)}return t}const Lle=[...Sw].reverse(),Ile=Sw.length;function ble(e){return t=>Promise.all(t.map(({animation:n,options:o})=>_le(e,n,o)))}function wle(e){let t=ble(e),n=qC(),o=!0;const i=l=>(h,u)=>{const p=Gc(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:f,...v}=p;h={...h,...v,...f}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=F$(e.parent)||{},p=[],y=new Set;let f={},v=1/0;for(let M=0;M<Ile;M++){const _=Lle[M],g=n[_],I=h[_]!==void 0?h[_]:u[_],C=q1(I),w=_===l?g.isActive:null;w===!1&&(v=M);let b=I===u[_]&&I!==h[_]&&C;if(b&&o&&e.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...f},!g.isActive&&w===null||!I&&!g.prevProp||uL(I)||typeof I=="boolean")continue;const x=Cle(g.prevProp,I);let L=x||_===l&&g.isActive&&!b&&C||M>v&&C,N=!1;const j=Array.isArray(I)?I:[I];let $=j.reduce(i(_),{});w===!1&&($={});const{prevResolvedValues:q={}}=g,T={...q,...$},P=V=>{L=!0,y.has(V)&&(N=!0,y.delete(V)),g.needsAnimating[V]=!0;const R=e.getValue(V);R&&(R.liveStyle=!1)};for(const V in T){const R=$[V],B=q[V];if(f.hasOwnProperty(V))continue;let D=!1;Yb(R)&&Yb(B)?D=!R$(R,B):D=R!==B,D?R!=null?P(V):y.add(V):R!==void 0&&y.has(V)?P(V):g.protectedKeys[V]=!0}g.prevProp=I,g.prevResolvedValues=$,g.isActive&&(f={...f,...$}),o&&e.blockInitialAnimation&&(L=!1);const A=b&&x;L&&(!A||N)&&p.push(...j.map(V=>{const R={type:_};if(typeof V=="string"&&o&&!A&&e.manuallyAnimateOnMount&&e.parent){const{parent:B}=e,D=Gc(B,V);if(B.enteringChildren&&D){const{delayChildren:F}=D.transition||{};R.delay=B$(B.enteringChildren,e,F)}}return{animation:V,options:R}}))}if(y.size){const M={};if(typeof h.initial!="boolean"){const _=Gc(e,Array.isArray(h.initial)?h.initial[0]:h.initial);_&&_.transition&&(M.transition=_.transition)}y.forEach(_=>{const g=e.getBaseTarget(_),I=e.getValue(_);I&&(I.liveStyle=!0),M[_]=g??null}),p.push({animation:M})}let m=!!p.length;return o&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),o=!1,m?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=qC()}}}function Cle(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!R$(t,e):!1}function Vt(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function qC(){return{animate:Vt(!0),whileInView:Vt(),whileHover:Vt(),whileTap:Vt(),whileDrag:Vt(),whileFocus:Vt(),exit:Vt()}}class qt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Nle extends qt{constructor(t){super(t),t.animationState||(t.animationState=wle(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();uL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Sle=0;class jle extends qt{constructor(){super(...arguments),this.id=Sle++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:o}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===o)return;const i=this.node.animationState.setActive("exit",!t);n&&!t&&i.then(()=>{n(this.id)})}mount(){const{register:t,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),t&&(this.unmount=t(this.id))}unmount(){}}const $le={animation:{Feature:Nle},exit:{Feature:jle}};function z1(e,t,n,o={passive:!0}){return e.addEventListener(t,n,o),()=>e.removeEventListener(t,n)}function D1(e){return{point:{x:e.pageX,y:e.pageY}}}const qle=e=>t=>Nw(t)&&e(t,D1(t));function b1(e,t,n,o){return z1(e,t,qle(n),o)}const E$=1e-4,Ale=1-E$,zle=1+E$,O$=.01,Vle=0-O$,Ple=0+O$;function Ne(e){return e.max-e.min}function Tle(e,t,n){return Math.abs(e-t)<=n}function AC(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>=Ale&&e.scale<=zle||isNaN(e.scale))&&(e.scale=1),(e.translate>=Vle&&e.translate<=Ple||isNaN(e.translate))&&(e.translate=0)}function w1(e,t,n,o){AC(e.x,t.x,n.x,o?o.originX:void 0),AC(e.y,t.y,n.y,o?o.originY:void 0)}function zC(e,t,n){e.min=n.min+t.min,e.max=e.min+Ne(t)}function Hle(e,t,n){zC(e.x,t.x,n.x),zC(e.y,t.y,n.y)}function VC(e,t,n){e.min=t.min-n.min,e.max=e.min+Ne(t)}function C1(e,t,n){VC(e.x,t.x,n.x),VC(e.y,t.y,n.y)}function Be(e){return[e("x"),e("y")]}const U$=({current:e})=>e?e.ownerDocument.defaultView:null,PC=(e,t)=>Math.abs(e-t);function Dle(e,t){const n=PC(e.x,t.x),o=PC(e.y,t.y);return Math.sqrt(n**2+o**2)}class W${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=RL(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,v=Dle(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!v)return;const{point:m}=y,{timestamp:M}=ve;this.history.push({...m,timestamp:M});const{onStart:_,onMove:g}=this.handlers;f||(_&&_(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,y)},this.handlePointerMove=(y,f)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=BL(f,this.transformPagePoint),ce.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:v,onSessionEnd:m,resumeAnimation:M}=this.handlers;if(this.dragSnapToOrigin&&M&&M(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const _=RL(y.type==="pointercancel"?this.lastMoveEventInfo:BL(f,this.transformPagePoint),this.history);this.startEvent&&v&&v(y,_),m&&m(y,_)},!Nw(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=o,this.distanceThreshold=s,this.contextWindow=i||window;const d=D1(t),l=BL(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=ve;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,RL(l,this.history)),this.removeListeners=P1(b1(this.contextWindow,"pointermove",this.handlePointerMove),b1(this.contextWindow,"pointerup",this.handlePointerUp),b1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),yt(this.updatePoint)}}function BL(e,t){return t?{point:t(e.point)}:e}function TC(e,t){return{x:e.x-t.x,y:e.y-t.y}}function RL({point:e},t){return{point:e,delta:TC(e,G$(t)),offset:TC(e,Ble(t)),velocity:Rle(t,.1)}}function Ble(e){return e[0]}function G$(e){return e[e.length-1]}function Rle(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,o=null;const i=G$(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 Fle(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 HC(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function Ele(e,{top:t,left:n,bottom:o,right:i}){return{x:HC(e.x,n,i),y:HC(e.y,t,o)}}function DC(e,t){let n=t.min-e.min,o=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,o]=[o,n]),{min:n,max:o}}function Ole(e,t){return{x:DC(e.x,t.x),y:DC(e.y,t.y)}}function Ule(e,t){let n=.5;const o=Ne(e),i=Ne(t);return i>o?n=S1(t.min,t.max-o,e.min):o>i&&(n=S1(e.min,e.max-i,t.min)),ut(0,1,n)}function Wle(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const ew=.35;function Gle(e=ew){return e===!1?e=0:e===!0&&(e=ew),{x:BC(e,"left","right"),y:BC(e,"top","bottom")}}function BC(e,t,n){return{min:RC(e,t),max:RC(e,n)}}function RC(e,t){return typeof e=="number"?e:e[t]||0}const Zle=new WeakMap;class Kle{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=ue(),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(D1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:v,onDragStart:m}=this.getProps();if(f&&!v&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Qde(f),!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 g=this.getAxisMotionValue(_).get()||0;if(ct.test(g)){const{projection:I}=this.visualElement;if(I&&I.layout){const C=I.layout.layoutBox[_];C&&(g=Ne(C)*(parseFloat(g)/100))}}this.originPoint[_]=g}),m&&ce.postRender(()=>m(p,y)),Jb(this.visualElement,"transform");const{animationState:M}=this.visualElement;M&&M.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:v,onDirectionLock:m,onDrag:M}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:_}=y;if(v&&this.currentDirection===null){this.currentDirection=Xle(_),this.currentDirection!==null&&m&&m(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 W$(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:o,contextWindow:U$(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&&ce.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||!U1(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+o[t];this.constraints&&this.constraints[t]&&(s=Fle(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),o=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Dc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&o?this.constraints=Ele(o.layoutBox,t):this.constraints=!1,this.elastic=Gle(n),i!==this.constraints&&o&&this.constraints&&!this.hasMutatedConstraints&&Be(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Wle(o.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Dc(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=Y0e(o,i.root,this.visualElement.getTransformPagePoint());let s=Ole(i.layout.layoutBox,r);if(n){const d=n(Z0e(s));this.hasMutatedConstraints=!!d,d&&(s=j$(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(!U1(u,n,this.currentDirection))return;let p=l&&l[u]||{};s&&(p={min:0,max:0});const y=i?200:1e6,f=i?40:1e7,v={type:"inertia",velocity:o?t[u]:0,bounceStiffness:y,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,v)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const o=this.getAxisMotionValue(t);return Jb(this.visualElement,t),o.start(Tw(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(!U1(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(!Dc(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]=Ule({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",o.root&&o.root.updateScroll(),o.updateLayout(),this.resolveConstraints(),Be(s=>{if(!U1(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;Zle.set(this.visualElement,this);const t=this.visualElement.current,n=b1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),o=()=>{const{dragConstraints:l}=this.getProps();Dc(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()),ce.read(o);const s=z1(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=ew,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:o,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function U1(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Xle(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class Yle extends qt{constructor(t){super(t),this.removeGroupControls=Ee,this.removeListeners=Ee,this.controls=new Kle(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 FC=e=>(t,n)=>{e&&ce.postRender(()=>e(t,n))};class Jle extends qt{constructor(){super(...arguments),this.removePointerDownListener=Ee}onPointerDown(t){this.session=new W$(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:U$(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:o,onPanEnd:i}=this.node.getProps();return{onSessionStart:FC(t),onStart:FC(n),onMove:o,onEnd:(r,s)=>{delete this.session,i&&ce.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=b1(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 Kx={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function EC(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const a1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(U.test(e))e=parseFloat(e);else return e;const n=EC(e,t.target.x),o=EC(e,t.target.y);return`${n}% ${o}%`}},Qle={correct:(e,{treeScale:t,projectionDelta:n})=>{const o=e,i=jt.parse(e);if(i.length>5)return o;const r=jt.createTransformer(e),s=typeof i[0]!="number"?1:0,d=n.x.scale*t.x,l=n.y.scale*t.y;i[0+s]/=d,i[1+s]/=l;const h=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 FL=!1;class ehe extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o,layoutId:i}=this.props,{projection:r}=t;x0e(the),r&&(n.group&&n.group.add(r),o&&o.register&&i&&o.register(r),FL&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Kx.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:o,drag:i,isPresent:r}=this.props,{projection:s}=o;return s&&(s.isPresent=r,FL=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||ce.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Cw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:o}=this.props,{projection:i}=t;FL=!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 Z$(e){const[t,n]=m$(),o=k.useContext(cw);return c.jsx(ehe,{...e,layoutGroup:o,switchLayoutGroup:k.useContext(N$),isPresent:t,safeToRemove:n})}const the={borderRadius:{...a1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:a1,borderTopRightRadius:a1,borderBottomLeftRadius:a1,borderBottomRightRadius:a1,boxShadow:Qle};function ahe(e,t,n){const o=Me(e)?e:Cc(e);return o.start(Tw("",o,t,n)),o.animation}const nhe=(e,t)=>e.depth-t.depth;class ohe{constructor(){this.children=[],this.isDirty=!1}add(t){sw(this.children,t),this.isDirty=!0}remove(t){dw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nhe),this.isDirty=!1,this.children.forEach(t)}}function che(e,t){const n=Ae.now(),o=({timestamp:i})=>{const r=i-n;r>=t&&(yt(o),e(r-t))};return ce.setup(o,!0),()=>yt(o)}const K$=["TopLeft","TopRight","BottomLeft","BottomRight"],ihe=K$.length,OC=e=>typeof e=="string"?parseFloat(e):e,UC=e=>typeof e=="number"||U.test(e);function rhe(e,t,n,o,i,r){i?(e.opacity=ie(0,n.opacity??1,she(o)),e.opacityExit=ie(t.opacity??1,0,dhe(o))):r&&(e.opacity=ie(t.opacity??1,n.opacity??1,o));for(let s=0;s<ihe;s++){const d=`border${K$[s]}Radius`;let l=WC(t,d),h=WC(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||UC(l)===UC(h)?(e[d]=Math.max(ie(OC(l),OC(h),o),0),(ct.test(h)||ct.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ie(t.rotate||0,n.rotate||0,o))}function WC(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const she=X$(0,.5,Vj),dhe=X$(.5,.95,Ee);function X$(e,t,n){return o=>o<e?0:o>t?1:n(S1(e,t,o))}function GC(e,t){e.min=t.min,e.max=t.max}function Te(e,t){GC(e.x,t.x),GC(e.y,t.y)}function ZC(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function KC(e,t,n,o,i){return e-=t,e=oL(e,1/n,o),i!==void 0&&(e=oL(e,1/i,o)),e}function lhe(e,t=0,n=1,o=.5,i,r=e,s=e){if(ct.test(t)&&(t=parseFloat(t),t=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=KC(e.min,t,n,d,i),e.max=KC(e.max,t,n,d,i)}function XC(e,t,[n,o,i],r,s){lhe(e,t[n],t[o],t[i],t.scale,r,s)}const hhe=["x","scaleX","originX"],uhe=["y","scaleY","originY"];function YC(e,t,n,o){XC(e.x,t,hhe,n?n.x:void 0,o?o.x:void 0),XC(e.y,t,uhe,n?n.y:void 0,o?o.y:void 0)}function JC(e){return e.translate===0&&e.scale===1}function Y$(e){return JC(e.x)&&JC(e.y)}function QC(e,t){return e.min===t.min&&e.max===t.max}function phe(e,t){return QC(e.x,t.x)&&QC(e.y,t.y)}function eN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function J$(e,t){return eN(e.x,t.x)&&eN(e.y,t.y)}function tN(e){return Ne(e.x)/Ne(e.y)}function aN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class yhe{constructor(){this.members=[]}add(t){sw(this.members,t),t.scheduleRender()}remove(t){if(dw(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(i=>t===i);if(n===0)return!1;let o;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){o=r;break}}return o?(this.promote(o),!0):!1}promote(t,n){const o=this.lead;if(t!==o&&(this.prevLead=o,this.lead=t,t.show(),o)){o.instance&&o.scheduleRender(),t.scheduleRender(),t.resumeFrom=o,n&&(t.resumeFrom.preserveOpacity=!0),o.snapshot&&(t.snapshot=o.snapshot,t.snapshot.latestValues=o.animationValues||o.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&o.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:o}=t;n.onExitComplete&&n.onExitComplete(),o&&o.options.onExitComplete&&o.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function khe(e,t,n){let o="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(o=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(o+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:v}=n;h&&(o=`perspective(${h}px) ${o}`),u&&(o+=`rotate(${u}deg) `),p&&(o+=`rotateX(${p}deg) `),y&&(o+=`rotateY(${y}deg) `),f&&(o+=`skewX(${f}deg) `),v&&(o+=`skewY(${v}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(o+=`scale(${d}, ${l})`),o||"none"}const EL=["","X","Y","Z"],mhe=1e3;let fhe=0;function OL(e,t,n,o){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),o&&(o[e]=0))}function Q$(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=H$(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ce,!(i||r))}const{parent:o}=e;o&&!o.hasCheckedOptimisedAppear&&Q$(o)}function eq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:o,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=fhe++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(Mhe),this.nodes.forEach(Ihe),this.nodes.forEach(bhe),this.nodes.forEach(_he)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=s,this.root=d?d.root||d:this,this.path=d?[...d.path,d]:[],this.parent=d,this.depth=d?d.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new ohe)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new hw),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=k$(s)&&!c0e(s),this.instance=s;const{layoutId:d,layout:l,visualElement:h}=this.options;if(h&&!h.current&&h.mount(s),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(l||d)&&(this.isLayoutDirty=!0),e){let u,p=0;const y=()=>this.root.updateBlockedByResize=!1;ce.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=che(y,250),Kx.hasAnimatedSinceResize&&(Kx.hasAnimatedSinceResize=!1,this.nodes.forEach(cN)))})}d&&this.root.registerSharedNode(d,this),this.options.animate!==!1&&h&&(d||l)&&this.addEventListener("didUpdate",({delta:u,hasLayoutChanged:p,hasRelativeLayoutChanged:y,layout:f})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const v=this.options.transition||h.getDefaultTransition()||jhe,{onLayoutAnimationStart:m,onLayoutAnimationComplete:M}=h.getProps(),_=!this.targetLayout||!J$(this.targetLayout,f),g=!p&&y;if(this.options.layoutRoot||this.resumeFrom||g||p&&(_||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...bw(v,"layout"),onPlay:m,onComplete:M};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(u,g)}else p||cN(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=f})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const s=this.getStack();s&&s.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),yt(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(whe),this.animationId++)}getTransformTemplate(){const{visualElement:s}=this.options;return s&&s.getProps().transformTemplate}willUpdate(s=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Q$(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(nN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(oN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Lhe),this.nodes.forEach(ghe),this.nodes.forEach(vhe)):this.nodes.forEach(oN),this.clearAllSnapshots();const d=Ae.now();ve.delta=ut(0,1e3/60,d-ve.timestamp),ve.timestamp=d,ve.isProcessing=!0,qL.update.process(ve),qL.preRender.process(ve),qL.render.process(ve),ve.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Cw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(xhe),this.sharedNodes.forEach(Che)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ce.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ce.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=ue(),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&&!Y$(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Mc(this.latestValues)||u)&&(i(this.instance,h),this.shouldResetTransform=!1,this.scheduleRender())}measure(s=!0){const d=this.measurePageBox();let l=this.removeElementScroll(d);return s&&(l=this.removeTransform(l)),$he(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return ue();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(qhe))){const{scroll:h}=this.root;h&&(Bc(d.x,h.offset.x),Bc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=ue();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),Bc(d.x,u.offset.x),Bc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=ue();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&&Rc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Mc(u.latestValues)&&Rc(l,u.latestValues)}return Mc(this.latestValues)&&Rc(l,this.latestValues),l}removeTransform(s){const d=ue();Te(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Mc(h.latestValues))continue;Zb(h.latestValues)&&h.updateSnapshot();const u=ue(),p=h.measurePageBox();Te(u,p),YC(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Mc(this.latestValues)&&YC(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!==ve.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=ve.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=ue(),this.relativeTargetOrigin=ue(),C1(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=ue(),this.targetWithTransforms=ue()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Hle(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Te(this.target,this.layout.layoutBox),q$(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=ue(),this.relativeTargetOrigin=ue(),C1(this.relativeTargetOrigin,this.target,y.target),Te(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||Zb(this.parent.latestValues)||$$(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===ve.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;X0e(this.layoutCorrected,this.treeScale,this.path,d),s.layout&&!s.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(s.target=s.layout.layoutBox,s.targetWithTransforms=ue());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ZC(this.prevProjectionDelta.x,this.projectionDelta.x),ZC(this.prevProjectionDelta.y,this.projectionDelta.y)),w1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!aN(this.projectionDelta.x,this.prevProjectionDelta.x)||!aN(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",f))}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=Fc(),this.projectionDelta=Fc(),this.projectionDeltaWithTransform=Fc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Fc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=ue(),f=l?l.source:void 0,v=this.layout?this.layout.source:void 0,m=f!==v,M=this.getStack(),_=!M||M.members.length<=1,g=!!(m&&!_&&this.options.crossfade===!0&&!this.path.some(She));this.animationProgress=0;let I;this.mixTargetDelta=C=>{const w=C/1e3;iN(p.x,s.x,w),iN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(C1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Nhe(this.relativeTarget,this.relativeTargetOrigin,y,w),I&&phe(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=ue()),Te(I,this.relativeTarget)),m&&(this.animationValues=u,rhe(u,h,this.latestValues,w,g,_)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=w},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=ce.update(()=>{Kx.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Cc(0)),this.currentAnimation=ahe(this.motionValue,[0,1e3],{...s,velocity:0,isSync:!0,onUpdate:d=>{this.mixTargetDelta(d),s.onUpdate&&s.onUpdate(d)},onStop:()=>{},onComplete:()=>{s.onComplete&&s.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const s=this.getStack();s&&s.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(mhe),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const s=this.getLead();let{targetWithTransforms:d,target:l,layout:h,latestValues:u}=s;if(!(!d||!l||!h)){if(this!==s&&this.layout&&h&&tq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||ue();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),Rc(d,u),w1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new yhe),this.sharedNodes.get(s).add(d);const h=d.options.initialPromotionConfig;d.promote({transition:h?h.transition:void 0,preserveFollowOpacity:h&&h.shouldPreserveFollowOpacity?h.shouldPreserveFollowOpacity(d):void 0})}isLead(){const s=this.getStack();return s?s.lead===this:!0}getLead(){const{layoutId:s}=this.options;return s?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:s}=this.options;return s?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:s}=this.options;if(s)return this.root.sharedNodes.get(s)}promote({needsReset:s,transition:d,preserveFollowOpacity:l}={}){const h=this.getStack();h&&h.promote(this,l),s&&(this.projectionDelta=void 0,this.needsReset=!0),d&&this.setOptions({transition:d})}relegate(){const s=this.getStack();return s?s.relegate(this):!1}resetSkewAndRotation(){const{visualElement:s}=this.options;if(!s)return;let d=!1;const{latestValues:l}=s;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(d=!0),!d)return;const h={};l.z&&OL("z",s,h,this.animationValues);for(let u=0;u<EL.length;u++)OL(`rotate${EL[u]}`,s,h,this.animationValues),OL(`skew${EL[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=Zx(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=Zx(d?.pointerEvents)||""),this.hasProjected&&!Mc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=khe(this.projectionDeltaWithTransform,this.treeScale,u);l&&(p=l(u,p)),s.transform=p;const{x:y,y:f}=this.projectionDelta;s.transformOrigin=`${y.origin*100}% ${f.origin*100}% 0`,h.animationValues?s.opacity=h===this?u.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:u.opacityExit:s.opacity=h===this?u.opacity!==void 0?u.opacity:"":u.opacityExit!==void 0?u.opacityExit:0;for(const v in A1){if(u[v]===void 0)continue;const{correct:m,applyTo:M,isCSSVariable:_}=A1[v],g=p==="none"?u[v]:m(u[v],h);if(M){const I=M.length;for(let C=0;C<I;C++)s[M[C]]=g}else _?this.options.visualElement.renderState.vars[v]=g:s[v]=g}this.options.layoutId&&(s.pointerEvents=h===this?Zx(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(nN),this.root.sharedNodes.clear()}}}function ghe(e){e.updateLayout()}function vhe(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:o}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Be(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=Ne(p);p.min=n[u].min,p.max=p.min+y}):tq(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=Fc();w1(s,n,t.layoutBox);const d=Fc();r?w1(d,e.applyTransform(o,!0),t.measuredBox):w1(d,n,t.layoutBox);const l=!Y$(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 f=ue();C1(f,t.layoutBox,p.layoutBox);const v=ue();C1(v,n,y.layoutBox),J$(f,v)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=v,e.relativeTargetOrigin=f,e.relativeParent=u)}}}e.notifyListeners("didUpdate",{layout:n,snapshot:t,delta:d,layoutDelta:s,hasLayoutChanged:l,hasRelativeLayoutChanged:h})}else if(e.isLead()){const{onExitComplete:n}=e.options;n&&n()}e.options.transition=void 0}function Mhe(e){e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function _he(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function xhe(e){e.clearSnapshot()}function nN(e){e.clearMeasurements()}function oN(e){e.isLayoutDirty=!1}function Lhe(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function cN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Ihe(e){e.resolveTargetDelta()}function bhe(e){e.calcProjection()}function whe(e){e.resetSkewAndRotation()}function Che(e){e.removeLeadSnapshot()}function iN(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 rN(e,t,n,o){e.min=ie(t.min,n.min,o),e.max=ie(t.max,n.max,o)}function Nhe(e,t,n,o){rN(e.x,t.x,n.x,o),rN(e.y,t.y,n.y,o)}function She(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const jhe={duration:.45,ease:[.4,0,.1,1]},sN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),dN=sN("applewebkit/")&&!sN("chrome/")?Math.round:Ee;function lN(e){e.min=dN(e.min),e.max=dN(e.max)}function $he(e){lN(e.x),lN(e.y)}function tq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Tle(tN(t),tN(n),.2)}function qhe(e){return e!==e.root&&e.scroll?.wasRoot}const Ahe=eq({attachResizeListener:(e,t)=>z1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),UL={current:void 0},aq=eq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!UL.current){const e=new Ahe({});e.mount(window),e.setOptions({layoutScroll:!0}),UL.current=e}return UL.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),zhe={pan:{Feature:Jle},drag:{Feature:Yle,ProjectionNode:aq,MeasureLayout:Z$}};function hN(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&&ce.postRender(()=>r(t,D1(t)))}class Vhe extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=e0e(t,(n,o)=>(hN(this.node,o,"Start"),i=>hN(this.node,i,"End"))))}unmount(){}}class Phe extends qt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=P1(z1(this.node.current,"focus",()=>this.onFocus()),z1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function uN(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&&ce.postRender(()=>r(t,D1(t)))}class The extends qt{mount(){const{current:t}=this.node;t&&(this.unmount=o0e(t,(n,o)=>(uN(this.node,o,"Start"),(i,{success:r})=>uN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const tw=new WeakMap,WL=new WeakMap,Hhe=e=>{const t=tw.get(e.target);t&&t(e)},Dhe=e=>{e.forEach(Hhe)};function Bhe({root:e,...t}){const n=e||document;WL.has(n)||WL.set(n,{});const o=WL.get(n),i=JSON.stringify(t);return o[i]||(o[i]=new IntersectionObserver(Dhe,{root:e,...t})),o[i]}function Rhe(e,t,n){const o=Bhe(t);return tw.set(e,n),o.observe(e),()=>{tw.delete(e),o.unobserve(e)}}const Fhe={some:0,all:1};class Ehe extends qt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:o,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:o,threshold:typeof i=="number"?i:Fhe[i]},d=l=>{const{isIntersecting:h}=l;if(this.isInView===h||(this.isInView=h,r&&!h&&this.hasEnteredView))return;h&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",h);const{onViewportEnter:u,onViewportLeave:p}=this.node.getProps(),y=h?u:p;y&&y(l)};return Rhe(this.node.current,s,d)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Ohe(t,n))&&this.startObserver()}unmount(){}}function Ohe({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const Uhe={inView:{Feature:Ehe},tap:{Feature:The},focus:{Feature:Phe},hover:{Feature:Vhe}},Whe={layout:{ProjectionNode:aq,MeasureLayout:Z$}},Ghe={...$le,...Uhe,...zhe,...Whe},Hw=G0e(Ghe,ile);function nq(e){const t=$t(()=>Cc(e)),{isStatic:n}=k.useContext(lL);if(n){const[,o]=k.useState(e);k.useEffect(()=>t.on("change",o),[])}return t}function oq(e,t){const n=nq(t()),o=()=>n.set(t());return o(),rw(()=>{const i=()=>ce.preRender(o,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),yt(o)}}),n}function Zhe(e){I1.current=[],e();const t=oq(I1.current,e);return I1.current=void 0,t}function Khe(e,t,n,o){if(typeof e=="function")return Zhe(e);const i=typeof t=="function"?t:i0e(t,n,o);return Array.isArray(e)?pN(e,i):pN([e],([r])=>i(r))}function pN(e,t){const n=$t(()=>[]);return oq(e,()=>{n.length=0;const o=e.length;for(let i=0;i<o;i++)n[i]=e[i].get();return t(n)})}class Xhe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(o=>{o.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const Yhe=()=>new Xhe;function Jhe(){return $t(Yhe)}const cq=k.createContext(null);function Qhe(e,t,n,o){if(!o)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=o>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=ie(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?u2e(e,i,i+r):e}function eue({children:e,as:t="ul",axis:n="y",onReorder:o,values:i,...r},s){const d=$t(()=>Hw[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 f=l.findIndex(v=>p===v.value);f!==-1?l[f].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(nue)},updateOrder:(p,y,f)=>{if(h.current)return;const v=Qhe(l,p,y,f);l!==v&&(h.current=!0,o(v.map(aue).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),c.jsx(d,{...r,ref:s,ignoreStrict:!0,children:c.jsx(cq.Provider,{value:u,children:e})})}const tue=k.forwardRef(eue);function aue(e){return e.value}function nue(e,t){return e.layout.min-t.layout.min}function yN(e,t=0){return Me(e)?e:nq(t)}function oue({children:e,style:t={},value:n,as:o="li",onDrag:i,layout:r=!0,...s},d){const l=$t(()=>Hw[o]),h=k.useContext(cq),u={x:yN(t.x),y:yN(t.y)},p=Khe([u.x,u.y],([m,M])=>m||M?1:"unset");Ke(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:v}=h;return c.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,M)=>{const{velocity:_}=M;_[y]&&v(n,u[y].get(),_[y]),i&&i(m,M)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const cue=k.forwardRef(oue),cL=[c.jsx(x1,{size:18}),c.jsx(Lt,{size:18}),c.jsx(v1,{size:18}),c.jsx(It,{size:18}),c.jsx(h1,{size:18}),c.jsx(l1,{size:18})],iue=({items:e,onReorder:t,draggable:n=!1,className:o,header:i,headerStyle:r,itemsDraggable:s=!0})=>{const[d,l]=k.useState(e??[]);return k.useEffect(()=>{e&&Array.isArray(e)?(e.forEach((h,u)=>{if(h.icon==null&&(h.icon=cL[u%cL.length]),typeof h.text=="string"&&h.text.includes("/")){const p=String(h.text).split("/"),y=p[0].trim(),v=p.slice(1).join("/").trim().match(/^(\d+)(.*)$/);if(v){const m=v[1],M=v[2]??"",_=m.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(tue,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>c.jsx(rue,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&c.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:c.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function rue({value:e,index:t}){const n=Jhe(),o=cL[t%cL.length]??null;return c.jsx(cue,{value:e,dragListener:!1,dragControls:n,style:{listStyle:"none"},onDragStart:()=>{try{document.body.classList.add("is-dragging")}catch{}},onDragEnd:()=>{try{document.body.classList.remove("is-dragging")}catch{}},children:c.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[c.jsx("div",{className:"reorder-handle","aria-hidden":!0,onPointerDown:i=>n.start(i),style:{width:28,height:28,display:"flex",alignItems:"center",justifyContent:"center",cursor:"grab",userSelect:"none"},children:c.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:c.jsxs("g",{fill:"currentColor",children:[c.jsx("circle",{cx:"8",cy:"6",r:"2"}),c.jsx("circle",{cx:"16",cy:"6",r:"2"}),c.jsx("circle",{cx:"8",cy:"12",r:"2"}),c.jsx("circle",{cx:"16",cy:"12",r:"2"}),c.jsx("circle",{cx:"8",cy:"18",r:"2"}),c.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),c.jsx("div",{style:{flex:1},children:c.jsx(Ij,{title:e.title,subtitle:e.subtitle,text:e.text,background:e.background,titleStyle:e.titleStyle,subtitleStyle:e.subtitleStyle,textStyle:e.textStyle,itemStyle:e.itemStyle,icon:e.icon??o})})]})})}function sue(e,t){return t.required?t.type==="checkbox"&&!e?{isValid:!1,error:`${t.label} est requis`}:!e||typeof e=="string"&&e.trim()===""?{isValid:!1,error:`${t.label} est requis`}:null:null}function due(e){return!e||typeof e=="string"&&e.trim()===""}function lue(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function hue(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function uue(e,t){const n=Number(e);return isNaN(n)?{isValid:!1,error:"Doit être un nombre valide"}:t.validation?.min!==void 0&&n<Number(t.validation.min)?{isValid:!1,error:`Doit être ≥ ${t.validation.min}`}:t.validation?.max!==void 0&&n>Number(t.validation.max)?{isValid:!1,error:`Doit être ≤ ${t.validation.max}`}:null}function pue(e,t){return t.validation?.minDate&&new Date(e)<new Date(t.validation.minDate)?{isValid:!1,error:`Doit être après ${t.validation.minDate}`}:t.validation?.maxDate&&new Date(e)>new Date(t.validation.maxDate)?{isValid:!1,error:`Doit être avant ${t.validation.maxDate}`}:null}function yue(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),o=e.type;if(!n.some(i=>o.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${o}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function kue(e,t){return t.validation?t.validation.minLength&&e.length<t.validation.minLength?{isValid:!1,error:`Minimum ${t.validation.minLength} caractères`}:t.validation.maxLength&&e.length>t.validation.maxLength?{isValid:!1,error:`Maximum ${t.validation.maxLength} caractères`}:t.validation.pattern&&!new RegExp(t.validation.pattern).test(e)?{isValid:!1,error:"Format invalide"}:null:null}function iL(e,t){const n=sue(e,t);if(n)return n;if(due(e))return{isValid:!0};const o=e.toString();switch(t.type){case"email":{const r=lue(o);if(r)return r;break}case"url":{const r=hue(o);if(r)return r;break}case"number":{const r=uue(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=pue(e,t);if(r)return r;break}case"file":{const r=yue(e,t);if(r)return r;break}}const i=kue(o,t);return i||{isValid:!0}}function iq(e,t){const n={};let o=!0;for(const i of t){const r=iL(e[i.name],i);r.isValid||(n[i.name]=r.error,o=!1)}return{isValid:o,errors:n}}const mue="_formContainer_14ads_1",fue="_headerLine_14ads_17",gue="_formTitle_14ads_25",vue="_formDescription_14ads_30",Mue="_sectionTitle_14ads_37",_ue="_sectionHelp_14ads_44",xue="_fieldHelp_14ads_50",Lue="_gridContainer_14ads_58",Iue="_fieldGridItem_14ads_70",bue="_sectionFull_14ads_105",wue="_formFooter_14ads_110",Cue="_footerLeft_14ads_118",Nue="_footerRight_14ads_119",Sue="_cancelLink_14ads_125",jue="_submitButton_14ads_136",$ue="_fieldLabel_14ads_148",que="_inputWrapper_14ads_163",Aue="_inputInner_14ads_187",zue="_hasPrefix_14ads_196",Vue="_inputBase_14ads_196",Pue="_iconPrefix_14ads_292",Tue="_iconSuffix_14ads_293",Hue="_passwordToggle_14ads_319",Due="_fieldError_14ads_365",Bue="_fieldInvalid_14ads_372",oe={formContainer:mue,headerLine:fue,formTitle:gue,formDescription:vue,sectionTitle:Mue,sectionHelp:_ue,fieldHelp:xue,gridContainer:Lue,fieldGridItem:Iue,sectionFull:bue,formFooter:wue,footerLeft:Cue,footerRight:Nue,cancelLink:Sue,submitButton:jue,fieldLabel:$ue,inputWrapper:que,inputInner:Aue,hasPrefix:zue,inputBase:Vue,iconPrefix:Pue,iconSuffix:Tue,passwordToggle:Hue,fieldError:Due,fieldInvalid:Bue},rq=({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",f=v=>{n(v.target.value)};return c.jsxs("div",{className:oe.inputWrapper,children:[c.jsx("label",{className:`${oe.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),c.jsxs("div",{className:`${oe.inputInner} ${p&&y==="prefix"?oe.hasPrefix:""}`,children:[p&&y==="prefix"&&c.jsx("span",{className:oe.iconPrefix,children:c.jsx(p,{size:16})}),c.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${oe.inputBase} ${i?oe.fieldInvalid:""}`,value:t??"",onChange:f,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:oe.passwordToggle,onClick:()=>d(v=>!v),children:s?c.jsx(k1,{size:16}):c.jsx(m1,{size:16})}),p&&y==="suffix"&&!l&&c.jsx("span",{className:oe.iconSuffix,children:c.jsx(p,{size:16})})]}),r&&i&&c.jsx("span",{className:oe.fieldError,children:i})]})},Rue="_fieldGroup_yb3zi_7",Fue="_fieldLabel_yb3zi_11",Eue="_required_yb3zi_17",Oue="_fieldInput_yb3zi_22",Uue="_fieldInvalid_yb3zi_40",Wue="_fieldValid_yb3zi_44",Gue="_fieldError_yb3zi_48",Zue="_radioGroup_yb3zi_57",wt={fieldGroup:Rue,fieldLabel:Fue,required:Eue,fieldInput:Oue,fieldInvalid:Uue,fieldValid:Wue,fieldError:Gue,radioGroup:Zue},yL=({field:e,children:t,error:n,touched:o})=>{const i=o&&n;return c.jsxs("div",{className:wt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&c.jsx("label",{className:`${wt.fieldLabel} ${e.required?wt.required:""}`,children:e.label}),t,i&&c.jsx("span",{className:wt.fieldError,children:n})]})},sq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",wt.fieldInput,s?wt.fieldInvalid:"",d?wt.fieldValid:""].filter(Boolean).join(" ");return c.jsx(yL,{field:e,error:i,touched:r,children:c.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:o,rows:4})})},Kue="_wrapper_117u4_1",Xue="_wrapperInvalid_117u4_15",Yue="_nativeSelect_117u4_19",Jue="_display_117u4_30",Que="_topLabel_117u4_37",epe="_valueLine_117u4_45",tpe="_valuePlaceholder_117u4_53",ape="_valueActive_117u4_57",npe="_caret_117u4_61",ope="_error_117u4_75",cpe="_optionStyle_117u4_89",He={wrapper:Kue,wrapperInvalid:Xue,nativeSelect:Yue,display:Jue,topLabel:Que,valueLine:epe,valuePlaceholder:tpe,valueActive:ape,caret:npe,error:ope,optionStyle:cpe},Dw=({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})]})},dq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(yL,{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})]})}),lq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsx(yL,{field:e,error:i,touched:r,children:c.jsx("div",{className:wt.radioGroup,children:e.options?.map(s=>c.jsxs("div",{className:"form-check",children:[c.jsx("input",{type:"radio",className:"form-check-input",id:`${e.name}-${s.value}`,name:e.name,value:s.value,checked:t===s.value,onChange:d=>n(d.target.value),onBlur:o}),c.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),ipe="_fileInputContainer_r2guc_3",rpe="_customFileInput_r2guc_8",spe="_fileInputLabel_r2guc_12",dpe="_dragOver_r2guc_39",lpe="_uploadIcon_r2guc_44",hpe="_uploadText_r2guc_50",upe="_uploadHint_r2guc_56",ppe="_fileList_r2guc_60",ype="_fileListTitle_r2guc_69",kpe="_fileItem_r2guc_80",mpe="_fileIcon_r2guc_96",fpe="_fileName_r2guc_102",gpe="_fileSize_r2guc_108",vpe="_removeButton_r2guc_114",Mpe="_errorText_r2guc_129",xe={fileInputContainer:ipe,customFileInput:rpe,fileInputLabel:spe,dragOver:dpe,uploadIcon:lpe,uploadText:hpe,uploadHint:upe,fileList:ppe,fileListTitle:ype,fileItem:kpe,fileIcon:mpe,fileName:fpe,fileSize:gpe,removeButton:vpe,errorText:Mpe},hq=({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)},f=M=>{M.preventDefault(),l(!1),M.dataTransfer.files&&M.dataTransfer.files.length>0&&n(M.dataTransfer.files)},v=M=>{if(!t)return;const _=Array.from(t);_.splice(M,1);const g=new DataTransfer;_.forEach(I=>g.items.add(I)),n(g.files)},m=M=>{if(M===0)return"0 Bytes";const _=1024,g=["Bytes","KB","MB","GB"],I=Math.floor(Math.log(M)/Math.log(_));return parseFloat((M/Math.pow(_,I)).toFixed(2))+" "+g[I]};return c.jsxs("div",{className:`${xe.fileInputContainer} ${r&&i?xe.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:xe.customFileInput}),c.jsxs("label",{htmlFor:e.name,className:`${xe.fileInputLabel} ${d?xe.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[c.jsx("div",{className:xe.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:xe.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),c.jsxs("div",{className:xe.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&c.jsxs("div",{className:xe.fileList,children:[c.jsx("div",{className:xe.fileListTitle,children:"Fichiers sélectionnés:"}),c.jsx("ul",{children:Array.from(t).map((M,_)=>c.jsxs("li",{className:xe.fileItem,children:[c.jsx("div",{className:xe.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:xe.fileName,children:M.name}),c.jsx("div",{className:xe.fileSize,children:m(M.size)}),c.jsx("button",{type:"button",className:xe.removeButton,onClick:g=>{g.stopPropagation(),v(_)},"aria-label":`Supprimer ${M.name}`,children:c.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[c.jsx("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5zm3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0V6z"}),c.jsx("path",{fillRule:"evenodd",d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1v1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4H4.118zM2.5 3V2h11v1h-11z"})]})})]},_))})]}),r&&i&&c.jsx("div",{className:xe.errorText,children:i})]})},_pe="_container_ecah4_2",xpe="_label_ecah4_6",Lpe="_requiredIndicator_ecah4_13",Ipe="_input_ecah4_18",bpe="_inputError_ecah4_49",wpe="_errorMessage_ecah4_58",Vc={container:_pe,label:xpe,requiredIndicator:Lpe,input:Ipe,inputError:bpe,errorMessage:wpe},uq=({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:Vc.container,children:[c.jsxs("label",{htmlFor:e.name,className:Vc.label,style:{color:s},children:[e.label,e.required&&c.jsx("span",{className:Vc.requiredIndicator,children:"*"})]}),c.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:o,className:`${Vc.input} ${r&&i?Vc.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:Vc.errorMessage,children:i})]})},Cpe="_rangeContainer_cyqk3_3",Npe={rangeContainer:Cpe},pq=({field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})=>c.jsxs("div",{className:`mb-3 ${Npe.rangeContainer}`,children:[c.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&c.jsx("span",{className:"text-danger",children:" *"})]}),c.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:o,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),Spe="_colorPickerContainer_1wxgj_2",jpe="_colorInput_1wxgj_19",$pe="_colorValue_1wxgj_39",GL={colorPickerContainer:Spe,colorInput:jpe,colorValue:$pe},yq=({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:GL.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:GL.colorInput}),c.jsx("span",{className:GL.colorValue,children:t})]}),r&&i&&c.jsx("div",{className:"invalid-feedback",children:i})]}),kq=({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(hq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(s.includes(e.type))return c.jsx(uq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="range")return c.jsx(pq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});if(e.type==="color")return c.jsx(yq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});switch(e.type){case"textarea":return c.jsx(sq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"select":return c.jsx(Dw,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"checkbox":return c.jsx(dq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});case"radio":return c.jsx(lq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r});default:return c.jsx(rq,{field:e,value:t,onChange:n,onBlur:o,error:i,touched:r})}};var ZL,kN;function qpe(){if(kN)return ZL;kN=1;function e(){this.__data__=[],this.size=0}return ZL=e,ZL}var KL,mN;function mq(){if(mN)return KL;mN=1;function e(t,n){return t===n||t!==t&&n!==n}return KL=e,KL}var XL,fN;function kL(){if(fN)return XL;fN=1;var e=mq();function t(n,o){for(var i=n.length;i--;)if(e(n[i][0],o))return i;return-1}return XL=t,XL}var YL,gN;function Ape(){if(gN)return YL;gN=1;var e=kL(),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 YL=o,YL}var JL,vN;function zpe(){if(vN)return JL;vN=1;var e=kL();function t(n){var o=this.__data__,i=e(o,n);return i<0?void 0:o[i][1]}return JL=t,JL}var QL,MN;function Vpe(){if(MN)return QL;MN=1;var e=kL();function t(n){return e(this.__data__,n)>-1}return QL=t,QL}var eI,_N;function Ppe(){if(_N)return eI;_N=1;var e=kL();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 eI=t,eI}var tI,xN;function mL(){if(xN)return tI;xN=1;var e=qpe(),t=Ape(),n=zpe(),o=Vpe(),i=Ppe();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,tI=r,tI}var aI,LN;function Tpe(){if(LN)return aI;LN=1;var e=mL();function t(){this.__data__=new e,this.size=0}return aI=t,aI}var nI,IN;function Hpe(){if(IN)return nI;IN=1;function e(t){var n=this.__data__,o=n.delete(t);return this.size=n.size,o}return nI=e,nI}var oI,bN;function Dpe(){if(bN)return oI;bN=1;function e(t){return this.__data__.get(t)}return oI=e,oI}var cI,wN;function Bpe(){if(wN)return cI;wN=1;function e(t){return this.__data__.has(t)}return cI=e,cI}var iI,CN;function fq(){if(CN)return iI;CN=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return iI=e,iI}var rI,NN;function kt(){if(NN)return rI;NN=1;var e=fq(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return rI=n,rI}var sI,SN;function Bw(){if(SN)return sI;SN=1;var e=kt(),t=e.Symbol;return sI=t,sI}var dI,jN;function Rpe(){if(jN)return dI;jN=1;var e=Bw(),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 dI=r,dI}var lI,$N;function Fpe(){if($N)return lI;$N=1;var e=Object.prototype,t=e.toString;function n(o){return t.call(o)}return lI=n,lI}var hI,qN;function fL(){if(qN)return hI;qN=1;var e=Bw(),t=Rpe(),n=Fpe(),o="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:o:r&&r in Object(d)?t(d):n(d)}return hI=s,hI}var uI,AN;function gq(){if(AN)return uI;AN=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return uI=e,uI}var pI,zN;function vq(){if(zN)return pI;zN=1;var e=fL(),t=gq(),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 pI=s,pI}var yI,VN;function Epe(){if(VN)return yI;VN=1;var e=kt(),t=e["__core-js_shared__"];return yI=t,yI}var kI,PN;function Ope(){if(PN)return kI;PN=1;var e=Epe(),t=function(){var o=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function n(o){return!!t&&t in o}return kI=n,kI}var mI,TN;function Mq(){if(TN)return mI;TN=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 mI=n,mI}var fI,HN;function Upe(){if(HN)return fI;HN=1;var e=vq(),t=Ope(),n=gq(),o=Mq(),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 f=e(y)?u:r;return f.test(o(y))}return fI=p,fI}var gI,DN;function Wpe(){if(DN)return gI;DN=1;function e(t,n){return t?.[n]}return gI=e,gI}var vI,BN;function Qc(){if(BN)return vI;BN=1;var e=Upe(),t=Wpe();function n(o,i){var r=t(o,i);return e(r)?r:void 0}return vI=n,vI}var MI,RN;function Rw(){if(RN)return MI;RN=1;var e=Qc(),t=kt(),n=e(t,"Map");return MI=n,MI}var _I,FN;function gL(){if(FN)return _I;FN=1;var e=Qc(),t=e(Object,"create");return _I=t,_I}var xI,EN;function Gpe(){if(EN)return xI;EN=1;var e=gL();function t(){this.__data__=e?e(null):{},this.size=0}return xI=t,xI}var LI,ON;function Zpe(){if(ON)return LI;ON=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return LI=e,LI}var II,UN;function Kpe(){if(UN)return II;UN=1;var e=gL(),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 II=i,II}var bI,WN;function Xpe(){if(WN)return bI;WN=1;var e=gL(),t=Object.prototype,n=t.hasOwnProperty;function o(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return bI=o,bI}var wI,GN;function Ype(){if(GN)return wI;GN=1;var e=gL(),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 wI=n,wI}var CI,ZN;function Jpe(){if(ZN)return CI;ZN=1;var e=Gpe(),t=Zpe(),n=Kpe(),o=Xpe(),i=Ype();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,CI=r,CI}var NI,KN;function Qpe(){if(KN)return NI;KN=1;var e=Jpe(),t=mL(),n=Rw();function o(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return NI=o,NI}var SI,XN;function eye(){if(XN)return SI;XN=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return SI=e,SI}var jI,YN;function vL(){if(YN)return jI;YN=1;var e=eye();function t(n,o){var i=n.__data__;return e(o)?i[typeof o=="string"?"string":"hash"]:i.map}return jI=t,jI}var $I,JN;function tye(){if(JN)return $I;JN=1;var e=vL();function t(n){var o=e(this,n).delete(n);return this.size-=o?1:0,o}return $I=t,$I}var qI,QN;function aye(){if(QN)return qI;QN=1;var e=vL();function t(n){return e(this,n).get(n)}return qI=t,qI}var AI,eS;function nye(){if(eS)return AI;eS=1;var e=vL();function t(n){return e(this,n).has(n)}return AI=t,AI}var zI,tS;function oye(){if(tS)return zI;tS=1;var e=vL();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 zI=t,zI}var VI,aS;function _q(){if(aS)return VI;aS=1;var e=Qpe(),t=tye(),n=aye(),o=nye(),i=oye();function r(s){var d=-1,l=s==null?0:s.length;for(this.clear();++d<l;){var h=s[d];this.set(h[0],h[1])}}return r.prototype.clear=e,r.prototype.delete=t,r.prototype.get=n,r.prototype.has=o,r.prototype.set=i,VI=r,VI}var PI,nS;function cye(){if(nS)return PI;nS=1;var e=mL(),t=Rw(),n=_q(),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 PI=i,PI}var TI,oS;function iye(){if(oS)return TI;oS=1;var e=mL(),t=Tpe(),n=Hpe(),o=Dpe(),i=Bpe(),r=cye();function s(d){var l=this.__data__=new e(d);this.size=l.size}return s.prototype.clear=t,s.prototype.delete=n,s.prototype.get=o,s.prototype.has=i,s.prototype.set=r,TI=s,TI}var HI,cS;function rye(){if(cS)return HI;cS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return HI=t,HI}var DI,iS;function sye(){if(iS)return DI;iS=1;function e(t){return this.__data__.has(t)}return DI=e,DI}var BI,rS;function dye(){if(rS)return BI;rS=1;var e=_q(),t=rye(),n=sye();function o(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return o.prototype.add=o.prototype.push=t,o.prototype.has=n,BI=o,BI}var RI,sS;function lye(){if(sS)return RI;sS=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 RI=e,RI}var FI,dS;function hye(){if(dS)return FI;dS=1;function e(t,n){return t.has(n)}return FI=e,FI}var EI,lS;function xq(){if(lS)return EI;lS=1;var e=dye(),t=lye(),n=hye(),o=1,i=2;function r(s,d,l,h,u,p){var y=l&o,f=s.length,v=d.length;if(f!=v&&!(y&&v>f))return!1;var m=p.get(s),M=p.get(d);if(m&&M)return m==d&&M==s;var _=-1,g=!0,I=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++_<f;){var C=s[_],w=d[_];if(h)var b=y?h(w,C,_,d,s,p):h(C,w,_,s,d,p);if(b!==void 0){if(b)continue;g=!1;break}if(I){if(!t(d,function(x,L){if(!n(I,L)&&(C===x||u(C,x,l,h,p)))return I.push(L)})){g=!1;break}}else if(!(C===w||u(C,w,l,h,p))){g=!1;break}}return p.delete(s),p.delete(d),g}return EI=r,EI}var OI,hS;function uye(){if(hS)return OI;hS=1;var e=kt(),t=e.Uint8Array;return OI=t,OI}var UI,uS;function pye(){if(uS)return UI;uS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i,r){o[++n]=[r,i]}),o}return UI=e,UI}var WI,pS;function yye(){if(pS)return WI;pS=1;function e(t){var n=-1,o=Array(t.size);return t.forEach(function(i){o[++n]=i}),o}return WI=e,WI}var GI,yS;function kye(){if(yS)return GI;yS=1;var e=Bw(),t=uye(),n=mq(),o=xq(),i=pye(),r=yye(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",f="[object RegExp]",v="[object Set]",m="[object String]",M="[object Symbol]",_="[object ArrayBuffer]",g="[object DataView]",I=e?e.prototype:void 0,C=I?I.valueOf:void 0;function w(b,x,L,N,j,$,q){switch(L){case g:if(b.byteLength!=x.byteLength||b.byteOffset!=x.byteOffset)return!1;b=b.buffer,x=x.buffer;case _:return!(b.byteLength!=x.byteLength||!$(new t(b),new t(x)));case l:case h:case y:return n(+b,+x);case u:return b.name==x.name&&b.message==x.message;case f:case m:return b==x+"";case p:var T=i;case v:var P=N&s;if(T||(T=r),b.size!=x.size&&!P)return!1;var A=q.get(b);if(A)return A==x;N|=d,q.set(b,x);var S=o(T(b),T(x),N,j,$,q);return q.delete(b),S;case M:if(C)return C.call(b)==C.call(x)}return!1}return GI=w,GI}var ZI,kS;function mye(){if(kS)return ZI;kS=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 ZI=e,ZI}var KI,mS;function Fw(){if(mS)return KI;mS=1;var e=Array.isArray;return KI=e,KI}var XI,fS;function fye(){if(fS)return XI;fS=1;var e=mye(),t=Fw();function n(o,i,r){var s=i(o);return t(o)?s:e(s,r(o))}return XI=n,XI}var YI,gS;function gye(){if(gS)return YI;gS=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 YI=e,YI}var JI,vS;function vye(){if(vS)return JI;vS=1;function e(){return[]}return JI=e,JI}var QI,MS;function Mye(){if(MS)return QI;MS=1;var e=gye(),t=vye(),n=Object.prototype,o=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return o.call(s,d)}))}:t;return QI=r,QI}var eb,_S;function _ye(){if(_S)return eb;_S=1;function e(t,n){for(var o=-1,i=Array(t);++o<t;)i[o]=n(o);return i}return eb=e,eb}var tb,xS;function ML(){if(xS)return tb;xS=1;function e(t){return t!=null&&typeof t=="object"}return tb=e,tb}var ab,LS;function xye(){if(LS)return ab;LS=1;var e=fL(),t=ML(),n="[object Arguments]";function o(i){return t(i)&&e(i)==n}return ab=o,ab}var nb,IS;function Lye(){if(IS)return nb;IS=1;var e=xye(),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 nb=r,nb}var s1={exports:{}},ob,bS;function Iye(){if(bS)return ob;bS=1;function e(){return!1}return ob=e,ob}s1.exports;var wS;function Lq(){return wS||(wS=1,function(e,t){var n=kt(),o=Iye(),i=t&&!t.nodeType&&t,r=i&&!0&&e&&!e.nodeType&&e,s=r&&r.exports===i,d=s?n.Buffer:void 0,l=d?d.isBuffer:void 0,h=l||o;e.exports=h}(s1,s1.exports)),s1.exports}var cb,CS;function bye(){if(CS)return cb;CS=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 cb=n,cb}var ib,NS;function Iq(){if(NS)return ib;NS=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return ib=t,ib}var rb,SS;function wye(){if(SS)return rb;SS=1;var e=fL(),t=Iq(),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]",f="[object Set]",v="[object String]",m="[object WeakMap]",M="[object ArrayBuffer]",_="[object DataView]",g="[object Float32Array]",I="[object Float64Array]",C="[object Int8Array]",w="[object Int16Array]",b="[object Int32Array]",x="[object Uint8Array]",L="[object Uint8ClampedArray]",N="[object Uint16Array]",j="[object Uint32Array]",$={};$[g]=$[I]=$[C]=$[w]=$[b]=$[x]=$[L]=$[N]=$[j]=!0,$[o]=$[i]=$[M]=$[r]=$[_]=$[s]=$[d]=$[l]=$[h]=$[u]=$[p]=$[y]=$[f]=$[v]=$[m]=!1;function q(T){return n(T)&&t(T.length)&&!!$[e(T)]}return rb=q,rb}var sb,jS;function Cye(){if(jS)return sb;jS=1;function e(t){return function(n){return t(n)}}return sb=e,sb}var d1={exports:{}};d1.exports;var $S;function Nye(){return $S||($S=1,function(e,t){var n=fq(),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}(d1,d1.exports)),d1.exports}var db,qS;function bq(){if(qS)return db;qS=1;var e=wye(),t=Cye(),n=Nye(),o=n&&n.isTypedArray,i=o?t(o):e;return db=i,db}var lb,AS;function Sye(){if(AS)return lb;AS=1;var e=_ye(),t=Lye(),n=Fw(),o=Lq(),i=bye(),r=bq(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&o(h),v=!p&&!y&&!f&&r(h),m=p||y||f||v,M=m?e(h.length,String):[],_=M.length;for(var g in h)(u||d.call(h,g))&&!(m&&(g=="length"||f&&(g=="offset"||g=="parent")||v&&(g=="buffer"||g=="byteLength"||g=="byteOffset")||i(g,_)))&&M.push(g);return M}return lb=l,lb}var hb,zS;function jye(){if(zS)return hb;zS=1;var e=Object.prototype;function t(n){var o=n&&n.constructor,i=typeof o=="function"&&o.prototype||e;return n===i}return hb=t,hb}var ub,VS;function $ye(){if(VS)return ub;VS=1;function e(t,n){return function(o){return t(n(o))}}return ub=e,ub}var pb,PS;function qye(){if(PS)return pb;PS=1;var e=$ye(),t=e(Object.keys,Object);return pb=t,pb}var yb,TS;function Aye(){if(TS)return yb;TS=1;var e=jye(),t=qye(),n=Object.prototype,o=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))o.call(r,d)&&d!="constructor"&&s.push(d);return s}return yb=i,yb}var kb,HS;function zye(){if(HS)return kb;HS=1;var e=vq(),t=Iq();function n(o){return o!=null&&t(o.length)&&!e(o)}return kb=n,kb}var mb,DS;function Vye(){if(DS)return mb;DS=1;var e=Sye(),t=Aye(),n=zye();function o(i){return n(i)?e(i):t(i)}return mb=o,mb}var fb,BS;function Pye(){if(BS)return fb;BS=1;var e=fye(),t=Mye(),n=Vye();function o(i){return e(i,n,t)}return fb=o,fb}var gb,RS;function Tye(){if(RS)return gb;RS=1;var e=Pye(),t=1,n=Object.prototype,o=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),f=y.length,v=e(s),m=v.length;if(f!=m&&!p)return!1;for(var M=f;M--;){var _=y[M];if(!(p?_ in s:o.call(s,_)))return!1}var g=u.get(r),I=u.get(s);if(g&&I)return g==s&&I==r;var C=!0;u.set(r,s),u.set(s,r);for(var w=p;++M<f;){_=y[M];var b=r[_],x=s[_];if(l)var L=p?l(x,b,_,s,r,u):l(b,x,_,r,s,u);if(!(L===void 0?b===x||h(b,x,d,l,u):L)){C=!1;break}w||(w=_=="constructor")}if(C&&!w){var N=r.constructor,j=s.constructor;N!=j&&"constructor"in r&&"constructor"in s&&!(typeof N=="function"&&N instanceof N&&typeof j=="function"&&j instanceof j)&&(C=!1)}return u.delete(r),u.delete(s),C}return gb=i,gb}var vb,FS;function Hye(){if(FS)return vb;FS=1;var e=Qc(),t=kt(),n=e(t,"DataView");return vb=n,vb}var Mb,ES;function Dye(){if(ES)return Mb;ES=1;var e=Qc(),t=kt(),n=e(t,"Promise");return Mb=n,Mb}var _b,OS;function Bye(){if(OS)return _b;OS=1;var e=Qc(),t=kt(),n=e(t,"Set");return _b=n,_b}var xb,US;function Rye(){if(US)return xb;US=1;var e=Qc(),t=kt(),n=e(t,"WeakMap");return xb=n,xb}var Lb,WS;function Fye(){if(WS)return Lb;WS=1;var e=Hye(),t=Rw(),n=Dye(),o=Bye(),i=Rye(),r=fL(),s=Mq(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",f=s(e),v=s(t),m=s(n),M=s(o),_=s(i),g=r;return(e&&g(new e(new ArrayBuffer(1)))!=y||t&&g(new t)!=d||n&&g(n.resolve())!=h||o&&g(new o)!=u||i&&g(new i)!=p)&&(g=function(I){var C=r(I),w=C==l?I.constructor:void 0,b=w?s(w):"";if(b)switch(b){case f:return y;case v:return d;case m:return h;case M:return u;case _:return p}return C}),Lb=g,Lb}var Ib,GS;function Eye(){if(GS)return Ib;GS=1;var e=iye(),t=xq(),n=kye(),o=Tye(),i=Fye(),r=Fw(),s=Lq(),d=bq(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function v(m,M,_,g,I,C){var w=r(m),b=r(M),x=w?u:i(m),L=b?u:i(M);x=x==h?p:x,L=L==h?p:L;var N=x==p,j=L==p,$=x==L;if($&&s(m)){if(!s(M))return!1;w=!0,N=!1}if($&&!N)return C||(C=new e),w||d(m)?t(m,M,_,g,I,C):n(m,M,x,_,g,I,C);if(!(_&l)){var q=N&&f.call(m,"__wrapped__"),T=j&&f.call(M,"__wrapped__");if(q||T){var P=q?m.value():m,A=T?M.value():M;return C||(C=new e),I(P,A,_,g,C)}}return $?(C||(C=new e),o(m,M,_,g,I,C)):!1}return Ib=v,Ib}var bb,ZS;function Oye(){if(ZS)return bb;ZS=1;var e=Eye(),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 bb=n,bb}var wb,KS;function Uye(){if(KS)return wb;KS=1;var e=Oye();function t(n,o){return e(n,o)}return wb=t,wb}var Wye=Uye();const Gye=a.getDefaultExportFromCjs(Wye),Zye=({schema:e,initialData:t={},onSubmit:n,submitLabel:o,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[f,v]=k.useState({}),[m,M]=k.useState(!1),_=k.useRef(t);k.useEffect(()=>{Gye(_.current,t)||(u(t),_.current=t)},[t]);const g=(L,N)=>{const j={...h,[L]:N};if(u(j),f[L]){const $=e.fields.find(q=>q.name===L);if($){const q=iL(N,$);y(T=>({...T,[L]:q.isValid?"":q.error}))}}},I=L=>{if(!f[L]){v(j=>({...j,[L]:!0}));const N=e.fields.find(j=>j.name===L);if(N){const j=iL(h[L],N);y($=>({...$,[L]:j.isValid?"":j.error}))}}},C=async L=>{L.preventDefault(),M(!0);const N=e.fields.reduce(($,q)=>(q.type!=="section"&&($[q.name]=!0),$),{});v(N);const j=iq(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)},w=l?ht[l]:null,b=i&&ht[i]||e.submitIcon&&ht[e.submitIcon]||null,x=e.columns&&e.columns>0?Math.floor(e.columns):12;return c.jsxs("div",{className:oe.formContainer,children:[c.jsx("div",{className:oe.headerLine,children:c.jsx("h2",{className:oe.formTitle,children:e.title})}),e.description&&c.jsx("p",{className:oe.formDescription,children:e.description}),p.__global&&c.jsx("div",{className:`alert alert-danger ${oe.globalError}`,children:p.__global}),c.jsxs("form",{onSubmit:C,children:[c.jsx("div",{className:oe.gridContainer,style:{gridTemplateColumns:`repeat(${x}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return c.jsxs("div",{className:oe.sectionFull,children:[c.jsx("h5",{className:oe.sectionTitle,children:L.label}),L.help&&c.jsx("p",{className:oe.sectionHelp,children:L.help})]},L.name);const j={gridColumn:`span ${Math.max(1,Math.min(x,L.gridCol??x))}`};return c.jsxs("div",{className:oe.fieldGridItem,style:j,children:[c.jsx(kq,{field:L,value:h[L.name],onChange:$=>g(L.name,$),onBlur:()=>I(L.name),error:p[L.name],touched:f[L.name]}),L.help&&c.jsx("small",{className:oe.fieldHelp,children:L.help})]},L.name)})}),c.jsxs("div",{className:oe.formFooter,children:[c.jsx("div",{className:oe.footerLeft,children:s&&c.jsxs("button",{type:"button",className:oe.cancelLink,onClick:s,children:[w&&c.jsx(w,{size:16,className:"me-2"})," ",d]})}),c.jsx("div",{className:oe.footerRight,children:c.jsx(Xx,{type:"submit",variant:"primary",size:"md",className:oe.submitButton,disabled:m,children:m?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):c.jsxs(c.Fragment,{children:[b&&(r==="left"||e.submitIconPosition==="left")&&c.jsx(b,{size:16,className:"me-2"}),o||e.submitText||"Valider",b&&(r==="right"||e.submitIconPosition==="right")&&c.jsx(b,{size:16,className:"ms-2"})]})})})]})]})]})};function Kye(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const Xye="_container_1gljv_85",Yye="_tableWrapper_1gljv_111",Jye="_tableControls_1gljv_117",Qye="_controlsRight_1gljv_128",e4e="_limitedRows_1gljv_151",t4e="_table_1gljv_111",a4e="_headerCell_1gljv_206",n4e="_headerContent_1gljv_220",o4e="_headerWords_1gljv_229",c4e="_headerWord_1gljv_229",i4e="_cellContent_1gljv_276",r4e="_alignLeft_1gljv_286",s4e="_alignCenter_1gljv_290",d4e="_alignRight_1gljv_294",l4e="_tableCell_1gljv_298",h4e="_tableRow_1gljv_308",u4e="_emptyRow_1gljv_385",p4e="_toggleFiltersButton_1gljv_393",y4e="_toggleSortButton_1gljv_394",k4e="_buttonTextCompact_1gljv_415",m4e="_uppercaseSmall_1gljv_450",f4e="_filtersPanel_1gljv_463",g4e="_filtersPanelInline_1gljv_481",v4e="_filtersPanelHorizontal_1gljv_492",M4e="_filtersRow_1gljv_492",_4e="_filtersActionsHorizontal_1gljv_525",x4e="_filterItemInline_1gljv_542",L4e="_filterLabel_1gljv_571",I4e="_filterInput_1gljv_576",b4e="_filterSelect_1gljv_577",w4e="_operatorSelect_1gljv_578",C4e="_operatorInput_1gljv_579",N4e="_activeFilterTag_1gljv_597",S4e="_actionsGroup_1gljv_609",j4e="_applyButton_1gljv_615",$4e="_cancelButton_1gljv_625",q4e="_columnSorterContainer_1gljv_649",A4e="_sorterControls_1gljv_654",z4e="_sortDropdownWrapper_1gljv_659",V4e="_sortDropdown_1gljv_659",P4e="_sortDropdownHeader_1gljv_679",T4e="_closeButton_1gljv_688",H4e="_sortDropdownContent_1gljv_703",D4e="_sortDropdownItem_1gljv_709",B4e="_sortDirectionButtons_1gljv_734",R4e="_sortDirectionButton_1gljv_734",F4e="_activeSort_1gljv_757",E4e="_sortActions_1gljv_764",O4e="_paginationButton_1gljv_842",U4e="_pageSizeSelect_1gljv_844",W4e="_topPagination_1gljv_853",G4e="_paginationContainer_1gljv_861",Z4e="_leftGroup_1gljv_874",K4e="_pageSizeControls_1gljv_882",X4e="_paginationInfo_1gljv_908",Y4e="_paginationControls_1gljv_916",J4e="_disabledButton_1gljv_947",Q4e="_activeButton_1gljv_952",e5e="_navigationButton_1gljv_962",t5e="_operatorFilterContainer_1gljv_1010",a5e="_rangeSeparator_1gljv_1016",n5e="_activeFiltersSection_1gljv_1179",o5e="_activeFiltersRow_1gljv_1184",c5e="_activeFiltersList_1gljv_1192",i5e="_clearAllButton_1gljv_1200",r5e="_removeFilterButton_1gljv_1221",s5e="_sortIndicator_1gljv_1272",d5e="_active_1gljv_349",l5e="_clearSortButton_1gljv_1371",h5e="_loaderSpinner_1gljv_2743",u5e="_loaderSpinnerSmall_1gljv_2755",p5e="_paginationLoading_1gljv_2772",y5e="_loadingButton_1gljv_2780",k5e="_loadingIndicator_1gljv_2791",z={container:Xye,tableWrapper:Yye,tableControls:Jye,controlsRight:Qye,limitedRows:e4e,table:t4e,headerCell:a4e,headerContent:n4e,headerWords:o4e,headerWord:c4e,cellContent:i4e,alignLeft:r4e,alignCenter:s4e,alignRight:d4e,tableCell:l4e,tableRow:h4e,emptyRow:u4e,toggleFiltersButton:p4e,toggleSortButton:y4e,buttonTextCompact:k4e,uppercaseSmall:m4e,filtersPanel:f4e,filtersPanelInline:g4e,filtersPanelHorizontal:v4e,filtersRow:M4e,filtersActionsHorizontal:_4e,filterItemInline:x4e,filterLabel:L4e,filterInput:I4e,filterSelect:b4e,operatorSelect:w4e,operatorInput:C4e,activeFilterTag:N4e,actionsGroup:S4e,applyButton:j4e,cancelButton:$4e,columnSorterContainer:q4e,sorterControls:A4e,sortDropdownWrapper:z4e,sortDropdown:V4e,sortDropdownHeader:P4e,closeButton:T4e,sortDropdownContent:H4e,sortDropdownItem:D4e,sortDirectionButtons:B4e,sortDirectionButton:R4e,activeSort:F4e,sortActions:E4e,paginationButton:O4e,pageSizeSelect:U4e,topPagination:W4e,paginationContainer:G4e,leftGroup:Z4e,pageSizeControls:K4e,paginationInfo:X4e,paginationControls:Y4e,disabledButton:J4e,activeButton:Q4e,navigationButton:e5e,operatorFilterContainer:t5e,rangeSeparator:a5e,activeFiltersSection:n5e,activeFiltersRow:o5e,activeFiltersList:c5e,clearAllButton:i5e,removeFilterButton:r5e,sortIndicator:s5e,active:d5e,clearSortButton:l5e,loaderSpinner:h5e,loaderSpinnerSmall:u5e,paginationLoading:p5e,loadingButton:y5e,loadingIndicator:k5e},m5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:o,className:z.filterSelect,children:[c.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),c.jsx("option",{value:"true",children:"Oui"}),c.jsx("option",{value:"false",children:"Non"})]}),f5e=({config:e,value:t,onChange:n,disabled:o})=>c.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:o,className:z.filterInput}),g5e=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState([]);k.useEffect(()=>{(async()=>{if(e.asyncOptions)try{const l=await e.asyncOptions();r(l??[])}catch(l){console.error("Erreur chargement options MultiSelect:",l),r([])}else r(e.options??[])})()},[e]);const s=d=>{const l=Array.from(d.target.selectedOptions,h=>h.value);n(l)};return c.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:o,className:z.filterMultiSelect,children:i.map((d,l)=>c.jsx("option",{value:String(d.value),children:d.label},l))})},XS=({config:e,value:t,onChange:n,disabled:o})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return c.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:z.filterInput})},v5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState([]),[s,d]=k.useState(!1);k.useEffect(()=>{(async()=>{if(e.asyncOptions){d(!0);try{const u=await e.asyncOptions();r(u)}catch(u){console.error("Error loading options:",u)}finally{d(!1)}}else r(e.options||[])})()},[e]);const l=h=>{const u=h.target.value;n(u)};return s?c.jsx("div",{children:"Chargement..."}):c.jsxs("select",{value:String(t||""),onChange:l,disabled:o,className:z.filterInput,children:[c.jsx("option",{value:"",children:"Select..."}),i.map(h=>c.jsx("option",{value:h.value,children:h.label},h.value))]})},M5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState("");k.useEffect(()=>{r(typeof t=="string"?t:String(t||""))},[t]);const s=d=>{const l=d.target.value;r(l),n(l)};return c.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:o,className:z.filterInput})},_5e=({config:e,value:t,onChange:n,disabled:o=!1})=>{const[i,r]=k.useState(t?.operator||""),[s,d]=k.useState(t?.value||"");k.useEffect(()=>{i&&s&&n({operator:i,value:s})},[i,s,n]);const l=u=>{r(u.target.value)},h=u=>{d(u.target.value)};return c.jsxs("div",{className:z.operatorFilterContainer,children:[c.jsxs("select",{value:i,onChange:l,disabled:o,className:z.operatorSelect,children:[c.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>c.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),c.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:o||!i,className:z.operatorInput})]})},x5e=({value:e,onChange:t,disabled:n})=>{const o=e||{},i=s=>{t({...o,start:s.target.value})},r=s=>{t({...o,end:s.target.value})};return c.jsxs("div",{className:z.dateRangeContainer,children:[c.jsx("input",{type:"date",value:o.start||"",onChange:i,disabled:n,className:z.filterInput}),c.jsx("span",{className:z.rangeSeparator,children:"→"}),c.jsx("input",{type:"date",value:o.end||"",onChange:r,disabled:n,className:z.filterInput})]})},L5e=({config:e,value:t,onChange:n,disabled:o})=>{switch(e.type){case"text":case"search":return c.jsx(M5e,{config:e,value:t,onChange:n,disabled:o});case"number":return c.jsx(XS,{config:e,value:t,onChange:n,disabled:o});case"range":return c.jsx(XS,{config:e,value:t,onChange:n,disabled:o});case"select":return c.jsx(v5e,{config:e,value:t,onChange:n,disabled:o});case"operator":return c.jsx(_5e,{config:e,value:t,onChange:n,disabled:o});case"multiselect":return c.jsx(g5e,{config:e,value:t,onChange:n,disabled:o});case"date":return c.jsx(f5e,{config:e,value:t,onChange:n,disabled:o});case"daterange":return c.jsx(x5e,{config:e,value:t??{start:"",end:""},onChange:n,disabled:o});case"boolean":return c.jsx(m5e,{config:e,value:t,onChange:n,disabled:o});default:return c.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},wq=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const v={};return e.forEach(m=>{m.type==="daterange"?v[m.id]={start:"",end:""}:v[m.id]=m.defaultValue??""}),v});k.useEffect(()=>{if(!i)return;const v={...d??{}};e.forEach(m=>{m.id in v||(v[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(v[m.id]=m.value)}),l(v),s(t??[])},[i,JSON.stringify(t||[]),JSON.stringify(e.map(v=>v.id))]);const h=i?t:r,u=k.useCallback((v,m)=>{l(M=>({...M,[v]:m}))},[]),p=k.useCallback(async()=>{const v=[],m={...d};for(const[M,_]of Object.entries(m)){const g=e.find(w=>w.id===M);if(!g)continue;let I=_;try{typeof _=="function"&&(I=await _(m)),typeof g.executeOnApply=="function"&&(I=await g.executeOnApply(I,m))}catch{continue}if(g.type==="daterange"){const w=I?.start??"",b=I?.end??"",x=typeof w=="string"?w.trim()==="":!w,L=typeof b=="string"?b.trim()==="":!b;if(x&&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||v.push({id:M,type:g.type,value:I,label:g.label})}return i?n?.(v):(s(v),o?.(v)),v},[d,e,i,n,o]),y=k.useCallback(v=>{l(m=>({...m,[v]:void 0})),u(v,void 0)},[u]),f=k.useCallback(()=>{const v={};e.forEach(m=>{m.type==="daterange"?v[m.id]={start:"",end:""}:v[m.id]=m.defaultValue??""}),l(v),i?n?.([]):(s([]),o?.([]))},[e,i,n,o]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},I5e=(e,t)=>{if(e==null)return!1;const n=t.value;if(n==null)return!1;switch(t.type){case"text":case"search":return String(e).toLowerCase().includes(String(n).toLowerCase());case"number":case"range":return Number(e)===Number(n);case"select":case"multiselect":return Array.isArray(n)?n.includes(e)||n.map(o=>String(o)).includes(String(e)):String(e)===String(n);case"boolean":return!!e==!!n;case"date":return new Date(e).getTime()===new Date(String(n)).getTime();case"daterange":try{if(!n||typeof n!="object")return!1;const o=n;if(!o.start||!o.end)return!1;const i=o.start,r=o.end;if(typeof i!="string"||typeof r!="string"||!i.trim()||!r.trim())return!1;const s=new Date(e).getTime(),d=new Date(i).getTime(),l=new Date(r).getTime();return isNaN(s)||isNaN(d)||isNaN(l)?!1:s>=d&&s<=l}catch(o){return console.error("Error processing daterange filter:",o),!1}case"operator":if(typeof n=="object"&&n!==null){const o=n;if(!("operator"in o)||!("value"in o))return!1;const{operator:i,value:r}=o,s=Number(e),d=Number(r);if(isNaN(s)||isNaN(d))return String(e).includes(String(r));switch(i){case"equals":return s===d;case"gt":return s>d;case"lt":return s<d;case"gte":return s>=d;case"lte":return s<=d;default:return String(e).includes(String(r))}}return!1;default:return String(e).toLowerCase().includes(String(n).toLowerCase())}};function Cq(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 m=e;return l&&(m=m.filter(M=>t.some(_=>{const g=M.data[_.id];return g==null?!1:String(g).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(M=>s.every(_=>{try{const g=M.data[_.id];return I5e(g,_)}catch(g){return console.error("Error applying filter:",g),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!o?.key)return h;const m=o.key;return[...h].sort((M,_)=>{const g=M.data[m],I=_.data[m];if(g==null)return 1;if(I==null)return-1;if(typeof g=="number"&&typeof I=="number")return o.direction==="desc"?I-g:g-I;if(g instanceof Date&&I instanceof Date){const w=g.getTime()-I.getTime();return o.direction==="desc"?-w:w}const C=String(g).localeCompare(String(I),void 0,{numeric:!0,sensitivity:"base"});return o.direction==="desc"?-C:C})},[h,o]),p=u,y=Math.ceil(u.length/d),f=0,v=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:f,endIndex:v}}const Nq=({value:e})=>e,Sq=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),jq=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),$q=({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)},qq=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},Aq=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),zq=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),Vq=({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"})),aw={renderers:{text:Nq,email:Sq,link:jq,badge:$q,date:qq,number:Aq,currency:zq,image:Vq},icons:{sortAsc:k.createElement(Ic,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Nt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(Ec,{className:"sort-icon",size:14})}},b5e=(e,t)=>{aw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),aw.renderers[e]=t},w5e=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:o,isControlled:i=!1,debounceTimeout:r=300,expanded:s,onToggle:d,panelPlacement:l="top",onPanelHeightChange:h,label:u="Advanced-Filters",applyLabel:p="Apply",cancelLabel:y="Cancel",clearLabel:f="Clear",applyDisabled:v=!1,loading:m=!1})=>{const[M,_]=k.useState(!1),g=typeof s=="boolean"?s:M,{appliedFilters:I,tempFilters:C,updateFilter:w,applyFilters:b,clearAllFilters:x}=wq({filters:e,externalFilters:t,onFiltersChange:n,onApply:o,isControlled:i}),L=k.useRef(null),N=k.useRef(null);k.useEffect(()=>{if(g&&L.current){const A=L.current.getBoundingClientRect().height;h?.(A)}else h?.(0)},[g,e,C,h]);const j=()=>{typeof s=="boolean"?d?.(!s):_(A=>{const S=!A;return d?.(S),S})},$=()=>e.map(A=>{const S=C?.[A.id];return S==null||typeof S=="string"&&S.trim()===""?null:{id:A.id,label:A.label,value:S}}).filter(Boolean),q=async()=>{let A;try{A=await b()}catch{A=void 0}let S=[];A&&Array.isArray(A)&&A.length>0?S=A:I&&I.length>0?S=I:S=$(),n?.(S),o?.(S)},T=()=>{d?.(!1),typeof s!="boolean"&&_(!1)},P=()=>{x(),n?.([]),o?.([])};return k.useEffect(()=>{const A=V=>{g&&N.current&&(N.current.contains(V.target)||(d?.(!1),typeof s!="boolean"&&_(!1)))},S=V=>{V.key==="Escape"&&g&&(d?.(!1),typeof s!="boolean"&&_(!1))};return g&&(document.addEventListener("pointerdown",A),document.addEventListener("keydown",S)),()=>{document.removeEventListener("pointerdown",A),document.removeEventListener("keydown",S)}},[g,s,d]),c.jsxs("div",{className:z.advancedFiltersContainer,ref:N,children:[c.jsxs("button",{className:`${z.toggleFiltersButton} ${I.length>0?z.active:""} ${g?z.toggleFiltersButtonOpen:""} ${m?z.loadingButton:""}`,onClick:j,"aria-expanded":g,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?c.jsx("span",{className:z.loaderSpinnerSmall}):c.jsx(xt,{size:14}),c.jsx("span",{className:z.buttonTextCompact,children:u}),I.length>0&&!m&&c.jsx("span",{className:z.filterCountBadge,"aria-hidden":!0,children:I.length}),m&&c.jsx("span",{className:z.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),g&&c.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${z.filtersPanel} ${l==="top"?`${z.filtersPanelInline} ${z.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[c.jsx("div",{className:z.filtersRow,children:e.map(A=>c.jsxs("div",{className:`${z.filterItem} ${z.filterItemInline}`,children:[c.jsxs("label",{className:z.filterLabel,children:[A.label,A.required&&c.jsx("span",{className:z.required,children:"*"})]}),c.jsx(L5e,{config:A,value:C[A.id],onChange:S=>w(A.id,S),disabled:A.disabled})]},A.id))}),c.jsxs("div",{className:z.filtersActionsHorizontal,children:[c.jsx("div",{className:z.activeFiltersSection,children:I.length>0&&c.jsxs("div",{className:z.activeFiltersRow,children:[c.jsx("span",{className:z.activeLabelCompact,children:"Actifs :"}),c.jsx("div",{className:z.activeFiltersList,children:I.map(A=>c.jsxs("div",{className:z.activeFilterTag,children:[A.label??A.id,c.jsx("button",{className:z.removeFilterButton,onClick:()=>w(A.id,void 0),"aria-label":`Supprimer ${A.id}`,type:"button",children:"×"})]},A.id))}),c.jsxs("button",{className:z.clearAllButton,onClick:P,type:"button",children:[c.jsx(Ge,{size:12})," ",f]})]})}),c.jsxs("div",{className:z.actionsGroup,children:[c.jsx("button",{className:z.cancelButton,onClick:T,type:"button",disabled:m,children:y}),c.jsx("button",{className:`${z.applyButton} ${m?z.loadingButton:""}`,onClick:q,type:"button",disabled:v||m,"aria-disabled":v||m,children:m?c.jsxs(c.Fragment,{children:[c.jsx("span",{className:z.loaderSpinnerSmall}),c.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},YS=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},C5e=({columns:e,sortConfig:t,onSort:n,label:o="Sort",loading:i=!1})=>{const[r,s]=k.useState(!1),d=e.filter(v=>v.sortable),l=k.useRef(null),h=t?.key!==null&&t?.key!==void 0,u=(v,m)=>{n({key:v,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(v=>!v),f=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const v=M=>{if(!l.current)return;const _=M.target;_&&!l.current.contains(_)&&s(!1)},m=M=>{M.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",v),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",v),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const v=document.querySelector("[data-table-wrapper]");if(!v)return;const m=v.style.overflow??"";return r?v.style.overflow="hidden":v.style.overflow=m,()=>{v.style.overflow=m}},[r]),c.jsx("div",{className:z.columnSorterContainer,ref:l,children:c.jsx("div",{className:z.sorterControls,children:d.length>0&&c.jsxs("div",{className:z.sortDropdownWrapper,ref:l,children:[c.jsxs("button",{className:`${z.toggleSortButton} ${r?z.toggleSortButtonOpen:""} ${h?z.active:""} ${i?z.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?c.jsx("span",{className:z.loaderSpinnerSmall}):c.jsx(Ec,{size:14}),c.jsx("span",{className:`${z.buttonTextCompact} ${YS(o)?z.uppercaseSmall:""}`,children:o}),h&&!i&&c.jsx("div",{className:z.sortIndicator,children:t?.direction==="asc"?c.jsx(Ic,{size:12}):c.jsx(Nt,{size:12})})]}),r&&c.jsxs("div",{className:`${z.sortDropdown} ${z.sortDropdownInline}`,role:"menu",children:[c.jsxs("div",{className:z.sortDropdownHeader,children:[c.jsx("span",{children:"Trier par:"}),c.jsx("button",{className:z.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:c.jsx(Ge,{size:16})})]}),c.jsx("div",{className:z.sortDropdownContent,children:d.map(v=>{const m=String(v.label??v.id),M=YS(m);return c.jsxs("div",{className:z.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:_=>{_.key==="Enter"&&u(v.id,"asc")},children:[c.jsx("span",{className:`${z.columnSorterLabel} ${M?z.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),c.jsxs("div",{className:z.sortDirectionButtons,children:[c.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===v.id&&t?.direction==="asc"?z.activeSort:""}`,onClick:()=>u(v.id,"asc"),title:"Trier par ordre croissant",type:"button",children:c.jsx(Ic,{size:12})}),c.jsx("button",{className:`${z.sortDirectionButton} ${t?.key===v.id&&t?.direction==="desc"?z.activeSort:""}`,onClick:()=>u(v.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:c.jsx(Nt,{size:12})})]})]},v.id)})}),h&&c.jsx("div",{className:z.sortActions,children:c.jsxs("button",{className:z.clearSortButton,onClick:p,type:"button",children:[c.jsx(_t,{size:14}),c.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},N5e=({currentPage:e,totalPages:t,pageSize:n,totalItems:o,itemLabel:i="items",onPageChange:r,onPageSizeChange:s,loading:d=!1})=>{const l=Math.max(1,Math.floor(t)),h=Math.min(Math.max(1,Math.floor(e)),l),u=()=>{h>1&&r(h-1)},p=()=>{if(h<t){const m=h+1;r(m)}},y=o>0?(h-1)*n+1:0,f=o>0?Math.min(h*n,o):0,v=()=>{const m=[];let _=Math.max(1,h-Math.floor(2.5)),g=_+5-1;g>l&&(g=l,_=Math.max(1,g-5+1));for(let I=_;I<=g;I++)m.push(I);return m};return c.jsxs("div",{className:z.paginationContainer,role:"navigation","aria-label":"Pagination",children:[c.jsx("div",{className:z.leftGroup,children:s&&c.jsx("div",{className:z.pageSizeControls,children:c.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:z.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>c.jsx("option",{value:m,children:m},m))})})}),c.jsx("div",{className:z.paginationInfo,"aria-live":"polite",children:d?c.jsxs("span",{className:z.paginationLoading,children:[c.jsx("span",{className:z.loaderSpinner}),c.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),c.jsxs("div",{className:z.paginationControls,children:[c.jsx("button",{onClick:u,disabled:h===1||d,className:`${z.paginationButton} ${z.navigationButton} ${h===1?z.disabledButton:""} ${d?z.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?c.jsx("span",{className:z.loaderSpinnerSmall}):"«"}),v().map(m=>c.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${z.paginationButton} ${h===m?z.activeButton:""} ${d?z.loadingButton:""}`,children:d&&h===m?c.jsx("span",{className:z.loaderSpinnerSmall}):m},m)),c.jsx("button",{onClick:p,disabled:d||h>=l,className:`${z.paginationButton} ${z.navigationButton} ${d?z.loadingButton:""} ${h>=l?z.disabledButton:""}`,"aria-label":"Page suivante",children:d?c.jsx("span",{className:z.loaderSpinnerSmall}):"»"})]})]})},S5e=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const o=n.toLowerCase();return o.charAt(0).toUpperCase()+o.slice(1)},j5e=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},$5e=({columns:e})=>c.jsx("thead",{className:z.tableHeader,children:c.jsx("tr",{children:e.map((t,n)=>{const o=t.align==="right"?z.alignRight:t.align==="left"?z.alignLeft:z.alignCenter,i=t.preserveHeaderCase===!0,r=S5e(String(t.label??""),i),s=j5e(r),d=s?r.split(/\s+/):[];return c.jsx("th",{className:`${z.headerCell} ${o}`,style:{width:t.width??void 0},"data-preserve":i?"true":"false",title:t.a11yConfig?.mode==="guide"?t.a11yConfig.description:t.a11yConfig?.mode==="key"?t.a11yConfig.key:void 0,children:c.jsx("div",{className:z.headerContent,children:s?c.jsx("div",{className:z.headerWords,children:d.map((l,h)=>c.jsx("span",{className:z.headerWord,children:l},h))}):c.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),q5e=({value:e,row:t,column:n})=>{const o=n.align==="right"?z.alignRight:n.align==="left"?z.alignLeft:z.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return c.jsx("td",{className:`${z.tableCell} ${o}`,style:{width:n.width??void 0},children:c.jsx("div",{className:z.cellContent,children:i})})},A5e=({row:e,rowId:t,columns:n,onRowClick:o,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return c.jsx("tr",{className:`${z.tableRow} ${o?z.clickableRow:""}`,onClick:()=>o?.(e,i),style:u,children:n.map(p=>c.jsx(q5e,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},z5e=({data:e,columns:t,onRowClick:n,startIndex:o,searchTerm:i,getRowStyle:r})=>e.length===0?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,className:z.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):c.jsx("tbody",{children:e.map((s,d)=>c.jsx(A5e,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:o+d-1,getRowStyle:r},s.id))}),Pq=({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:f,background:v,onPageSizeChange:m,onPageChange:M,itemLabel:_="items",advancedFiltersLabel:g="Advanced-Filters",advancedFiltersActiveLabel:I,sortLabel:C="Sort",applyLabel:w="Apply",cancelLabel:b="Cancel",clearLabel:x="Clear",applyDisabled:L=!1,paginationLoading:N=!1,filtersLoading:j=!1,sortLoading:$=!1,totalCount:q=null})=>{const[T,P]=k.useState({key:null,direction:"asc"}),[A,S]=k.useState(n.currentPage??1),[V,R]=k.useState(n.pageSize??10),[B,D]=k.useState(!1),F=k.useRef(null),[Y,X]=k.useState([]),re=p?d:Y,ke=p?[]:Y;k.useEffect(()=>{const O=n.currentPage??1,Xe=n.pageSize??10;O!==A&&S(O),Xe!==V&&R(Xe)},[n.currentPage,n.pageSize]);const{paginatedData:ze,sortedData:se,totalPages:Z,startIndex:Q}=Cq(t,e,i,T,A,V,ke),ae=se.length,_e=typeof q=="number"&&q>=0?q:ae;let pe=Z;typeof q=="number"&&q>=0&&(pe=Math.max(1,Math.ceil(q/V)));const Le=ae>10;k.useEffect(()=>{const O=Math.max(1,Math.floor(pe));A>O&&S(O),A<1&&S(1)},[pe]);const de=O=>{p||X(O),l?.(O),S(1),M?.(1)},Ie=O=>{p||X(O),h?.(O),S(1),M?.(1),F.current&&F.current.style.setProperty("--filters-panel-height","0px")},be=O=>{M?.(O),S(O)},Se=O=>{R(O),S(1),m?.(O),M?.(1)},he=O=>{F.current&&F.current.style.setProperty("--filters-panel-height",`${Math.round(O)}px`)},we=O=>{P(O),u?.(O)},mt=O=>{D(O),!O&&F.current&&F.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(re?.length??0)>0&&D(!0)},[re]),k.useEffect(()=>{s.length>0&&re.length>0&&D(!0)},[s.length,re.length]);const jc=(re?.length??0)>0&&I?I:g;return c.jsxs("div",{ref:F,className:`${z.container} ${r} ${B?z.filtersOpen:""}`,style:{background:v,"--row-height":"48px","--header-height":"56px"},children:[c.jsx("div",{className:z.tableControls,children:c.jsxs("div",{className:z.controlsRight,children:[c.jsx(C5e,{columns:e,onSort:we,label:C,sortConfig:T,loading:$}),s.length>0&&c.jsx(w5e,{filters:s,externalFilters:re,onFiltersChange:de,onApply:Ie,isControlled:p,debounceTimeout:y,expanded:B,onToggle:mt,panelPlacement:"top",onPanelHeightChange:he,label:jc,applyLabel:w,cancelLabel:b,clearLabel:x,applyDisabled:L,loading:j})]})}),c.jsx("div",{className:z.topPagination,children:c.jsx(N5e,{currentPage:A,totalPages:pe,pageSize:V,totalItems:_e,itemLabel:_,onPageChange:be,onPageSizeChange:Se,loading:N})}),c.jsx("div",{className:`${z.tableWrapper} ${Le?z.limitedRows:""}`,"data-table-wrapper":!0,children:c.jsxs("table",{className:z.table,children:[c.jsx($5e,{columns:e}),c.jsx(z5e,{data:ze,columns:e,onRowClick:o,startIndex:Q,getRowStyle:f,searchTerm:i})]})})]})};function V5e(e){const{pagination:t,totalCount:n,onPageChange:o,...i}=e,r=t?.pageSize??20,s=t?.currentPage??1,d=k.useMemo(()=>{if(n===null||typeof n>"u")return null;const p=Number(n);if(!Number.isFinite(p)||p<=0)return 1;const y=Number(r);return!Number.isFinite(y)||y<=0?1:Math.max(1,Math.ceil(p/y))},[n,r]),l=s>1,h=d===null?!1:s<d,u=p=>{typeof p=="number"&&(p<1||p<s&&!l||p>s&&!h||o?.(p))};return c.jsx(Pq,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const P5e="_mpRoot_31595_1",T5e="_mpHeader_31595_22",H5e="_mpTitle_31595_31",D5e="_mpList_31595_35",B5e="_mpVertical_31595_41",R5e="_mpHorizontal_31595_46",F5e="_mpItem_31595_55",E5e="_mpClickable_31595_95",O5e="_mpLeft_31595_117",U5e="_mpIcon_31595_125",W5e="_mpMeta_31595_140",G5e="_mpLabel_31595_145",Z5e="_mpDate_31595_154",K5e="_mpRight_31595_160",X5e="_mpValue_31595_168",Y5e="_mpHint_31595_176",J5e="_mpBadge_31595_180",Q5e="_mpBadgeTop_31595_199",eke="_mpBadgeSub_31595_206",tke="_mpBadgeSmall_31595_213",ake="_mpPill_31595_229",nke="_mpRounded_31595_232",oke="_mpCompact_31595_236",cke="_compactItemWrapper_31595_252",ike="_mpSummaryRoot_31595_265",rke="_mpSummaryInner_31595_269",ske="_mpSummaryFlex_31595_284",dke="_mpSummaryCardWrapperHorizontal_31595_292",lke="_mpSummaryCardWrapper_31595_292",hke="_mpSummaryCardHorizontal_31595_303",uke="_mpSummaryCard_31595_292",pke="_mpSummaryValue_31595_321",yke="_mpSummaryLabel_31595_327",kke="_mpSummaryBadge_31595_338",mke="_mpSummaryBadgeSub_31595_357",fke="_mpEmpty_31595_365",gke="_mpSummaryVertical_31595_372",vke="_mpIconSquare_31595_380",W={mpRoot:P5e,mpHeader:T5e,mpTitle:H5e,mpList:D5e,mpVertical:B5e,mpHorizontal:R5e,mpItem:F5e,mpClickable:E5e,mpLeft:O5e,mpIcon:U5e,mpMeta:W5e,mpLabel:G5e,mpDate:Z5e,mpRight:K5e,mpValue:X5e,mpHint:Y5e,mpBadge:J5e,mpBadgeTop:Q5e,mpBadgeSub:eke,mpBadgeSmall:tke,mpPill:ake,mpRounded:nke,mpCompact:oke,compactItemWrapper:cke,mpSummaryRoot:ike,mpSummaryInner:rke,mpSummaryFlex:ske,mpSummaryCardWrapperHorizontal:dke,mpSummaryCardWrapper:lke,mpSummaryCardHorizontal:hke,mpSummaryCard:uke,mpSummaryValue:pke,mpSummaryLabel:yke,mpSummaryBadge:kke,mpSummaryBadgeSub:mke,mpEmpty:fke,mpSummaryVertical:gke,mpIconSquare:vke},Ct=(e,t=1)=>{if(!e||typeof e!="string")return`rgba(124, 58, 237, ${t})`;const n=e.trim();if(n.toLowerCase()==="transparent")return"rgba(0,0,0,0)";if(/^rgba?\(/i.test(n))return/^rgba\(/i.test(n)?n.replace(/rgba\(([^)]+),\s*([0-9.]+)\s*\)$/,(d,l)=>`rgba(${l.split(",").map(u=>u.trim()).slice(0,3).join(", ")}, ${t})`):n;let o=n.replace("#","").toLowerCase();if(o.length===3&&(o=o.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(o))return`rgba(124, 58, 237, ${t})`;const i=parseInt(o.slice(0,2),16),r=parseInt(o.slice(2,4),16),s=parseInt(o.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},Mke=({item:e,shape:t,onItemClick:n,color:o,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[W.mpItem,t==="pill"?W.mpPill:W.mpRounded,n?W.mpClickable:""].filter(Boolean).join(" ");if(i)return c.jsx("div",{className:s,role:n?"button":"group",tabIndex:n?0:-1,onClick:r,onKeyDown:y=>{n&&(y.key==="Enter"||y.key===" ")&&(n(e),y.preventDefault())},"aria-label":n?`Voir les détails de ${e.label}`:void 0,children:i(e)});const d=n?"button":"div",l=n?{onClick:r,className:s,type:"button","aria-label":`Voir les détails de ${e.label}`}:{className:s,role:"group"},h=e.iconComponent,u=e.iconSquareBg,p=e.iconColor;return c.jsxs(d,{...l,children:[c.jsxs("div",{className:W.mpLeft,children:[h?c.jsx("div",{className:W.mpIconSquare,style:{background:u??Ct(p??o??"#7c3aed",1),border:`1px solid ${Ct(p??o??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?c.jsx("div",{className:W.mpIcon,children:e.icon}):null,c.jsxs("div",{className:W.mpMeta,children:[c.jsx("div",{className:W.mpLabel,children:e.label}),e.subLabel&&c.jsx("div",{className:W.mpDate,children:e.subLabel}),e.date&&c.jsx("div",{className:W.mpDate,children:e.date})]})]}),c.jsxs("div",{className:W.mpRight,children:[c.jsx("div",{className:W.mpValue,style:{color:e.valueColor??o??void 0},children:e.value}),e.badge?c.jsxs("div",{className:[W.mpBadge,e.badge.small?W.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Ct(e.badge.color||o||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Ct(e.badge.color||o||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[c.jsx("div",{className:W.mpBadgeTop,children:e.badge.text}),e.badge.subText&&c.jsx("div",{className:W.mpBadgeSub,children:e.badge.subText})]}):e.hint?c.jsx("div",{className:W.mpHint,children:e.hint}):null]})]})},_ke=k.memo(Mke),JS=({title:e,right:t})=>!e&&!t?null:c.jsxs("div",{className:W.mpHeader,children:[c.jsx("div",{className:W.mpTitle,children:e}),c.jsx("div",{children:t})]}),QS=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},xke=({item:e})=>c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:14,borderRadius:12,minHeight:88,boxSizing:"border-box",background:e.bgColor??"transparent",border:`1px solid ${e.borderColor??"transparent"}`,boxShadow:"0 4px 10px rgba(15,23,42,0.03)"},children:[c.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[c.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),c.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),c.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??QS("#7c3aed",.12),border:`1px solid ${QS(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),Lke=({item:e,bg:t,onClick:n,width:o,height:i,extraStyle:r})=>c.jsxs("div",{className:W.mpSummaryCard,style:{background:t,width:o??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[c.jsx("div",{className:W.mpSummaryLabel,children:e.label}),c.jsx("div",{className:W.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&c.jsxs("div",{className:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]})]}),ej=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},tj=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:ej("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:ej("#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]})]}),aj=(e,t)=>{try{if(typeof e=="function"){const n=e(t);if(n!==void 0)return n}}catch{}try{return k.createElement(e,{item:t})}catch(n){return console.warn("chooseDefaultRender: impossible de rendre CompactRenderer",n),null}},Ike=e=>{switch(e){case"image":return t=>k.createElement(xke,{item:t});case"pertinence":return t=>k.createElement(Lke,{item:t});case"alternateHorizontal":return t=>aj(tj,t);case"compact":return t=>aj(tj,t);case"summary":return;case"default":default:return}},Tq=({item:e,orientation:t,bg:n,border:o,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?W.mpSummaryCardHorizontal:W.mpSummaryCard;return c.jsxs("div",{className:u,style:{background:n,border:`1px solid ${o}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&c.jsxs("div",{className:W.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&c.jsx("div",{className:W.mpSummaryBadgeSub,children:e.badge.subText})]}),c.jsx("div",{className:W.mpSummaryValue,style:{color:i},children:e.value}),c.jsx("div",{className:W.mpSummaryLabel,children:e.label})]})},bke=["transparent","transparent","transparent","transparent"],wke=["transparent","transparent","transparent","transparent"],Cke=["#059669","#2563eb","#b45309","#7c3aed"],Nke=(e,t=1)=>{try{return Ct(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},Hq=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:f=!1,summaryBgColors:v=bke,summaryBorderColors:m=wke,summaryValueColors:M=Cke,preset:_,background:g}=e,{itemsContainerStyle:I,itemsContainerClassName:C,summaryGridColumns:w,compactItemWidth:b,compactItemHeight:x,compactItemStyle:L,summaryCardWidth:N,summaryCardHeight:j,summaryCardStyle:$}=e,q=n==="vertical",T={"--mp-accent":r,"--mp-accent-soft":Nke(r,.08),"--mp-bg-primary":g},P=[W.mpRoot,q?W.mpVertical:W.mpHorizontal,s?W.mpCompact:"",f?W.mpSummaryRoot:"",o!=="auto"?o==="vertical"?W.mpOrientationVertical:W.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),A=k.useMemo(()=>y||(Ike(_)??void 0),[y,_]);if(f){const S=o==="horizontal"?W.mpSummaryFlex:W.mpSummaryVertical,R={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return c.jsxs("div",{className:P,style:T,"aria-busy":u,children:[d&&c.jsx(JS,{title:d}),c.jsx("div",{className:W.mpSummaryInner,children:c.jsx("div",{className:`${S} ${C??""}`,style:R,children:t.length===0?c.jsx("div",{className:W.mpEmpty,children:p}):t.map((B,D)=>{const F=B.bgColor??v[D%v.length],Y=B.borderColor??m[D%m.length],X=B.valueColor??M[D%M.length];return A?c.jsx("div",{className:o==="horizontal"?W.mpSummaryCardWrapperHorizontal:W.mpSummaryCardWrapper,style:{width:N??void 0,height:j??void 0,...$??{}},children:A(B,D)},B.id):c.jsx(Tq,{item:B,orientation:o==="horizontal"?"horizontal":"vertical",bg:F,border:Y,valueColor:X,onClick:l,width:N??void 0,height:j??void 0,extraStyle:$},B.id)})})})]})}return c.jsxs("div",{className:P,style:T,"aria-busy":u,children:[d&&c.jsx(JS,{title:d}),c.jsx("div",{className:W.mpList,style:I,children:u?c.jsx("div",{className:W.mpEmpty,children:"Chargement…"}):t.length===0?c.jsx("div",{className:W.mpEmpty,children:p}):t.map(S=>{const V=s?{width:b??void 0,height:x??void 0,boxSizing:"border-box",...L??{}}:void 0;return c.jsx("div",{className:s?W.compactItemWrapper:void 0,style:V,children:c.jsx(_ke,{item:S,shape:i,onItemClick:l,color:r,renderItem:A?R=>A(R,t.indexOf(R)):void 0})},S.id)})})]})};k.memo(Hq);const Ske=({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,a11yConfig:p})=>{const y=e?typeof e=="number"?`${e}px`:e:void 0,f=t?typeof t=="number"?`${t}px`:t:void 0,v=i&&typeof i=="object"&&!k.isValidElement(i)&&("text"in i||"subtext"in i||"icon"in i||"background"in i||"iconSize"in i),m=v?i:void 0,M=m?.icon?ht[m.icon]:void 0,_=28,g=m?.iconSize??_,I=["chart-container",`variant-${h}`,u?"with-border":"",s].filter(Boolean).join(" "),C=n.contentBackground??void 0,w=typeof l=="number"?`${l}px`:l;return c.jsxs("div",{className:I,style:{width:y,height:f,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",{title:p?.mode==="guide"?p.description:p?.mode==="key"?p.key:void 0,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:C},children:d||(v&&m?c.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[M&&c.jsx("div",{className:"placeholder-icon",style:{width:g,height:g},children:c.jsx(M,{color:m.iconColor??"currentColor",size:typeof g=="number"?g:parseInt(String(g),10)||_})}),m.text&&c.jsx("div",{className:"placeholder-text",children:m.text}),m.subtext&&c.jsx("div",{className:"placeholder-subtext",children:m.subtext})]}):c.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:i}))})]})},Ew=({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 f=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:[f&&c.jsx(f,{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:"✕"})]})},Dq=k.createContext(null),jke=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,$ke=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:o,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),h=k.useRef(null),u=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear()},[]);const p=(x,L)=>{const N=L===void 0||L===0?t:L;if(N===-1)return;const j=window.setTimeout(()=>{v(x)},N);d.current.set(x,j)},y=x=>{const L=d.current.get(x);L&&(window.clearTimeout(L),d.current.delete(x))},f=x=>{const L=jke(),N={...x,id:L,createdAt:Date.now()};return s(j=>{const $=[N,...j],q=u.current;return typeof q=="number"&&q>=0&&$.length>q?($.slice(q).forEach(P=>y(P.id)),$.slice(0,q)):$}),p(L,x.duration),L},v=x=>{y(x),s(L=>L.filter(N=>N.id!==x))},m=(x,L)=>{s(N=>N.map(j=>j.id===x?{...j,...L}:j))},M=()=>{d.current.forEach(x=>window.clearTimeout(x)),d.current.clear(),s([])},_=x=>{h.current=x},g=()=>r.slice(),I=k.useMemo(()=>({showAlert:f,dismissAlert:v,updateAlert:m,clearAlerts:M,setContainerRef:_,getAlertsSnapshot:g}),[r]),C=h.current,w=c.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px"},children:c.jsx(k0e,{mode:"popLayout",children:r.map(x=>c.jsx(Hw.div,{initial:{opacity:0,y:-10,scale:.98},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-10,scale:.98},transition:{type:"spring",damping:25,stiffness:300},style:{width:"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:x.background||x.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:c.jsx(Ew,{id:x.id,text:x.text,subtext:x.subtext,icon:x.icon,background:"transparent",colorTextPrimary:x.colorTextPrimary,colorTextSub:x.colorTextSub,model:x.model,onClose:()=>v(x.id),size:"100%",style:{boxShadow:"none"}})},x.id))})}),b=c.jsx("div",{ref:x=>{h.current||(l.current=x)},className:o,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:w});return c.jsxs(Dq.Provider,{value:I,children:[C?ow.createPortal(w,C):b,e]})},qke=()=>{const e=k.useContext(Dq);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Ake={default:{background:"#f3f4f6",icon:"Info",colorTextPrimary:"#111827",colorTextSub:"#4b5563"},info:{background:"#dbeafe",icon:"Info",colorTextPrimary:"#1e40af",colorTextSub:"#3b82f6"},success:{background:"#dcfce7",icon:"CheckCircle2",colorTextPrimary:"#166534",colorTextSub:"#22c55e"},warning:{background:"#fef3c7",icon:"AlertTriangle",colorTextPrimary:"#92400e",colorTextSub:"#f59e0b"},error:{background:"#fee2e2",icon:"XCircle",colorTextPrimary:"#991b1b",colorTextSub:"#ef4444"}},zke="_container_18zbo_1",Vke="_icon_18zbo_9",Pke="_selectWrapper_18zbo_23",Cb={container:zke,icon:Vke,selectWrapper:Pke},Tke=({options:e,defaultValue:t,onChange:n,label:o})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return c.jsxs("div",{className:Cb.container,children:[c.jsxs("div",{className:Cb.icon,children:[c.jsx(u1,{size:18}),c.jsx("p",{children:o})]}),c.jsx("div",{className:Cb.selectWrapper,children:c.jsx(Dw,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},Hke=250,Dke=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:o,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[f,v]=k.useState(!1),[m,M]=k.useState(!1),_=k.useRef(null),g=k.useRef(null),I=k.useRef(null),C=k.useRef(null);k.useEffect(()=>{const x=_.current;if(!x)return;const L=x.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:()=>{f||(o?.(),M(!1),v(!0))},close:()=>{f&&(r?.(),M(!1),v(!1))},toggle:()=>{f?(r?.(),M(!1),v(!1)):(o?.(),M(!1),v(!0))}}),[f,o,r]),k.useEffect(()=>{const x=g.current;C.current&&(window.clearTimeout(C.current),C.current=null);const L=N=>{if(N.target===x&&!(N.propertyName!=="transform"&&N.propertyName!=="opacity"))if(f){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return x&&(x.addEventListener("transitionend",L),C.current=window.setTimeout(()=>{if(f){M(!0),i?.();try{x?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},Hke+60)),f&&(I.current=document.activeElement),()=>{x&&x.removeEventListener("transitionend",L),C.current&&(window.clearTimeout(C.current),C.current=null)}},[f,i,s]),k.useEffect(()=>{const x=L=>{L.key==="Escape"&&f&&(r?.(),M(!1),v(!1))};return window.addEventListener("keydown",x),()=>window.removeEventListener("keydown",x)},[f,r]);const w=()=>{u&&(r?.(),M(!1),v(!1))},b=typeof n=="number"?`${n}px`:n;return c.jsxs("div",{ref:_,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[c.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:w,role:"presentation"}),c.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:b,...d},ref:g,tabIndex:-1,role:"dialog","aria-label":e,children:[c.jsxs("div",{className:"scp-header",children:[c.jsxs("div",{children:[c.jsx("h3",{className:"scp-title",children:e}),t&&c.jsx("div",{className:"scp-subtitle",children:t})]}),p&&c.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),M(!1),v(!1)},children:c.jsx(Ge,{size:18})})]}),c.jsx("div",{className:"scp-body",children:h})]})]})});function Bke(e){const t=k.useRef("");k.useEffect(()=>{if(e){t.current=document.body.style.overflow,document.body.style.overflow="hidden";return}document.body.style.overflow=t.current||""},[e])}const Rke="_container_1pfsp_1",Fke="_title_1pfsp_8",nj={container:Rke,title:Fke},Eke=({title:e,fontSize:t,barColor:n,className:o="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return c.jsx("div",{className:`${nj.container} ${o}`,style:r,children:c.jsx("h2",{className:nj.title,children:e})})},Oke="_modalOverlay_1dmfp_1",Uke="_modalContainer_1dmfp_16",Wke="_modalTitle_1dmfp_29",Gke="_modalInput_1dmfp_38",Zke="_modalTextarea_1dmfp_39",Kke="_modalActions_1dmfp_71",Xke="_cancelBtn_1dmfp_78",Yke="_saveBtn_1dmfp_100",Jke="_inputError_1dmfp_148",Qke="_inlineAlert_1dmfp_153",Ue={modalOverlay:Oke,modalContainer:Uke,modalTitle:Wke,modalInput:Gke,modalTextarea:Zke,modalActions:Kke,cancelBtn:Xke,saveBtn:Yke,inputError:Jke,inlineAlert:Qke},Nc=({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({}),f=k.useRef(null),[v,m]=k.useState(!1),[M,_]=k.useState(!1),g=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const x={};for(const L of i)x[L.name]=Object.prototype.hasOwnProperty.call(r,L.name)?r[L.name]:"";return y(x),requestAnimationFrame(()=>{f.current?.focus();const L=f.current;if(L&&typeof L.selectionStart=="number"){const N=String(L.value??"").length;L.setSelectionRange(N,N)}}),()=>{g.current&&(window.clearTimeout(g.current),g.current=null)}},[e]),k.useEffect(()=>{s&&e?(_(!0),g.current&&(window.clearTimeout(g.current),g.current=null),g.current=window.setTimeout(()=>{_(!1),g.current=null},3e3)):(_(!1),g.current&&(window.clearTimeout(g.current),g.current=null))},[s,e]),!e)return null;const I=(x,L)=>{y(N=>({...N,[x]:L})),l&&l(x,L)},C=async()=>{if(!Object.values(p).some(x=>x===""||x===void 0))try{m(!0);const x=await n(p);if(typeof x=="string"&&x==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(x){console.error("AddItemModal onSave error:",x),m(!1),t()}},w=x=>{x.target===x.currentTarget&&t()},b=x=>x.stopPropagation();return c.jsx("div",{className:Ue.modalOverlay,onMouseDown:w,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((x,L)=>{const N=p[x.name]??"",j=L===0&&!!s,$={name:x.name,placeholder:x.placeholder||x.label,value:String(N),onChange:q=>I(x.name,q.target.value),className:x.type==="textarea"?`${Ue.modalTextarea} ${j?Ue.inputError:""}`:`${Ue.modalInput} ${j?Ue.inputError:""}`,tabIndex:0,disabled:v};return L===0&&($.ref=q=>{f.current=q}),c.jsxs("div",{style:{marginBottom:8},children:[x.type==="textarea"?c.jsx("textarea",{rows:x.rows||4,...$}):c.jsx("input",{type:x.type||"text",...$}),L===0&&M&&s&&c.jsx("div",{style:{marginTop:8},children:c.jsx(Ew,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>_(!1),className:Ue.inlineAlert})})]},x.name)}),c.jsxs("div",{className:Ue.modalActions,children:[c.jsx("button",{className:Ue.cancelBtn,onClick:t,type:"button",disabled:v,children:u}),c.jsx("button",{className:Ue.saveBtn,onClick:C,type:"button",disabled:v||!!d,children:v?"En cours...":h})]})]})})},e3e=({title:e,keyCount:t,onAddKey:n})=>{const[o,i]=k.useState(!1),r=s=>{const d=s.key;n&&d&&n(d)};return c.jsxs("div",{className:"header-container",children:[c.jsxs("div",{className:"header-info",children:[c.jsx("h1",{children:e}),c.jsxs("p",{children:[t," clés"]})]}),c.jsxs("button",{onClick:()=>i(!0),className:"add-key-button",children:[c.jsx(Wc,{className:"add-key-icon"}),"Clé"]}),c.jsx(Nc,{isOpen:o,title:"Ajouter une clé",onClose:()=>i(!1),onSave:r,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},t3e=({modules:e,onEdit:t,onDelete:n,onAddModule:o,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[f,v]=k.useState(!1),m=()=>l(!0),M=()=>l(!1),_=x=>{if(o){const L=x.code?.trim()||x.id?.trim(),N=x.title?.trim(),j=L||N||String(Date.now()),$=N||L||`Module ${j}`;o({id:j,title:$,subtitle:"",translations:{}})}M()},g=(x,L)=>{x.stopPropagation(),u(L)},I=()=>u(null),C=x=>{if(!h){I();return}const L={...h,title:x.title||h.title,subtitle:""};t&&t(L),I()},w=(x,L)=>{x.stopPropagation(),n&&n(L)},b=x=>{y(x.id),i&&i(x)};return f?c.jsx("div",{className:"module-sidebar collapsed",children:c.jsx(Uc,{size:20,className:"menu-toggle",onClick:()=>v(!1)})}):c.jsxs("div",{className:"module-sidebar",children:[c.jsxs("div",{className:"sidebar-header",children:[c.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),c.jsxs("div",{className:"header-actions",children:[c.jsx(Oc,{size:18,className:"header-folder",onClick:m}),c.jsx(Uc,{size:18,className:"header-menu",onClick:()=>v(!0)})]})]}),c.jsx("hr",{className:"divider"}),c.jsx("div",{className:"module-list",children:e.map(x=>{const L=Object.keys(x.translations||{}).length,N=L>0||x.id===p;return c.jsxs("div",{className:`module-item ${x.id===p?"selected":""}`,onClick:()=>b(x),role:"button",tabIndex:0,onKeyDown:j=>{j.key==="Enter"&&b(x)},children:[c.jsxs("div",{className:"module-left",children:[c.jsx(f1,{size:16,className:"item-folder"}),c.jsxs("div",{className:"module-info",children:[c.jsxs("div",{className:"module-title",children:[x.title,N&&c.jsxs("span",{className:"count",children:[" ",L," "]})]}),x.subtitle?c.jsx("div",{className:"module-subtitle",children:x.subtitle}):null]})]}),c.jsxs("div",{className:"module-actions",children:[t&&c.jsx(M1,{onClick:j=>g(j,x),color:"#777",size:16}),n&&c.jsx(St,{onClick:j=>w(j,x.id),color:"#777",size:16})]})]},x.id)})}),c.jsx(Nc,{isOpen:d,onClose:M,onSave:_,title:s||"Ajouter un module",fields:r&&r.length?r.map(x=>({name:x.name,label:x.label,type:x.type,placeholder:x.placeholder,rows:x.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&c.jsx(Nc,{isOpen:!!h,onClose:I,onSave:C,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},Bq=({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(_1,{className:"search-icon",color:i})}),c.jsx("input",{type:"text",placeholder:e,value:t,onChange:r=>n?.(r.target.value),className:"search-input"})]}),a3e=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:o,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(""),[v,m]=k.useState(null),[M,_]=k.useState(""),[g,I]=k.useState(""),[C,w]=k.useState(!1),[b,x]=k.useState(!1),[L,N]=k.useState(null),[j,$]=k.useState(!1),q=t.map(D=>D.language),T=n.filter(D=>!q.includes(D.code)),P=()=>{y&&g.trim()&&(d?.(e,y,g.trim()),f(""),I(""),p(!1))},A=(D,F)=>{m(D),_(F)},S=D=>{r?.(e,D,M),m(null),_("")},V=()=>{m(null),_("")},R=async D=>{const F=D.name?.trim();if(F){if(N(null),$(!1),F===e||!i)return w(!1),"ok";try{const Y=await i(e,F);if(typeof Y=="string"&&Y==="ok")w(!1),N(null);else{if(typeof Y=="string"&&Y==="duplicate-same")return N("Une clé existe déjà dans ce module."),$(!0),"duplicate-same";if(typeof Y=="string"&&Y==="duplicate-other")return w(!1),N(null),"duplicate-other";w(!1)}}catch(Y){console.error("Erreur handleRenameSave:",Y),N("Erreur lors du renommage.")}}},B=(D,F)=>{if(D!=="name")return;const Y=F.trim();N(null),$(!1),Y&&typeof h=="function"&&(h(Y,e)?(N("Une clé existe déjà dans ce module."),$(!0)):(N(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:()=>x(!b),title:b?"Déplier":"Replier",children:b?c.jsx(y1,{className:"collapse-icon"}):c.jsx(Nt,{className:"collapse-icon"})}),c.jsx("h3",{className:"card-title",title:e,children:e})]}),c.jsxs("div",{className:"header-actions",children:[c.jsx("button",{className:"action-button",onClick:D=>{D.stopPropagation(),w(!0)},title:"Renommer la clé",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:D=>{D.stopPropagation(),o?.(e)},className:"action-button delete",title:"Supprimer la clé",children:c.jsx(St,{className:"action-icon"})})]})]}),c.jsx("div",{className:`translations-container ${b?"":"expanded"}`,children:!l&&c.jsxs(c.Fragment,{children:[t.map(D=>c.jsxs("div",{className:"translation-row",children:[c.jsx("div",{className:"language-code",children:D.language}),c.jsx("div",{className:"translation-content",children:v===D.language?c.jsxs(c.Fragment,{children:[c.jsx("input",{type:"text",value:M,onChange:F=>_(F.target.value),className:"edit-input",autoFocus:!0,onKeyDown:F=>{F.key==="Enter"&&S(D.language),F.key==="Escape"&&V()}}),c.jsx("button",{onClick:()=>S(D.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:D.value,children:D.value}),c.jsx("button",{onClick:()=>A(D.language,D.value),className:"edit-button",title:"Éditer la traduction",children:c.jsx(dt,{className:"action-icon"})}),c.jsx("button",{onClick:()=>s?.(e,D.language),className:"delete-translation-button",title:"Supprimer la traduction",children:c.jsx(Ge,{className:"action-icon"})})]})})]},D.language)),u?c.jsxs("div",{className:"add-language-row",children:[c.jsx("div",{className:"language-code",children:"+"}),c.jsxs("div",{className:"add-language-content",children:[c.jsx("div",{className:"language-select-container",children:c.jsxs("select",{value:y,onChange:D=>f(D.target.value),className:"language-select",children:[c.jsx("option",{value:"",children:"Sélectionnez la langue"}),T.map(D=>c.jsxs("option",{value:D.code,children:[D.name," (",D.code,")"]},D.code))]})}),y&&c.jsx("input",{type:"text",value:g,onChange:D=>I(D.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:D=>{D.key==="Enter"&&P(),D.key==="Escape"&&(p(!1),f(""),I(""))}}),c.jsx("button",{onClick:P,disabled:!y||!g.trim(),className:"save-button",children:"Ajouter"}),c.jsx("button",{onClick:()=>{p(!1),f(""),I("")},className:"cancel-button",children:c.jsx(Ge,{className:"action-icon"})})]})]}):c.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:T.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(Nc,{isOpen:C,onClose:()=>{w(!1),N(null),$(!1)},onSave:R,onFieldChange:B,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:L||"",disableSave:j})]})},n3e="_wrapper_1wvht_1",o3e="_leftGroup_1wvht_12",c3e="_filterButton_1wvht_21",i3e="_open_1wvht_42",r3e="_filterIcon_1wvht_42",s3e="_infoText_1wvht_58",d3e="_pickerContainer_1wvht_66",l3e="_srOnly_1wvht_79",h3e="_pickerLabel_1wvht_91",u3e="_datetime_1wvht_98",p3e="_rightGroup_1wvht_107",y3e="_searchInputWrap_1wvht_116",k3e="_searchInput_1wvht_116",m3e="_searchIcon_1wvht_152",je={wrapper:n3e,leftGroup:o3e,filterButton:c3e,open:i3e,filterIcon:r3e,infoText:s3e,pickerContainer:d3e,srOnly:l3e,pickerLabel:h3e,datetime:u3e,rightGroup:p3e,searchInputWrap:y3e,searchInput:k3e,searchIcon:m3e};function f3e({onDateChange:e,onSearch:t,initialDate:n}){const[o,i]=k.useState(!1),[r,s]=k.useState(n??""),d=k.useRef(null);k.useEffect(()=>{function p(y){const f=y.target;d.current&&f&&!d.current.contains(f)&&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 g3e=({className:e="",style:t={},title:n,titleClassName:o="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:f="1rem"})=>{const v=Array.isArray(r)?r:[],m=v.length===0,M=v.every(C=>typeof C=="string"),_=v.some(C=>Array.isArray(C)),g=(C,w,b)=>d?d(C,w,b):c.jsx("span",{className:"slb-cell-text",children:C}),I=f?{"--col-gap":f}:void 0;return m?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),c.jsx("div",{className:"slb-empty",children:y??null})]}):M&&!_?c.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&c.jsx("div",{className:`slb-title ${o}`,style:{background:h??void 0,color:u??void 0},children:n}),c.jsx("ul",{className:"slb-list",children:v.map((C,w)=>c.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:g(C,w,0)},w))})]}):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:v.map((C,w)=>{const b=s[w]||"";if(Array.isArray(C)){const[x,L]=C;return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:g(x,w,0)}),c.jsx("div",{className:"slb-grid-right",children:g(L,w,1)})]},w)}return c.jsxs("div",{className:`slb-row ${b}`,style:{background:p??void 0},children:[c.jsx("div",{className:"slb-grid-left",children:g(C,w,0)}),c.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},v3e=({className:e="",style:t={},title:n,titleColor:o,data:i=[],badgeColor:r="#0ea5e9",badgeColors:s={},badgePadding:d="8px 16px",badgeWidth:l,itemBg:h,lineClasses:u={},colGap:p="1rem"})=>{const y=i.some(v=>Array.isArray(v)),f=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:f,children:i.map((v,m)=>{const M=u[m]||"";if(Array.isArray(v)){const[_,g]=v,I=s[m]||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:g})]},m)}return y?c.jsxs("div",{className:`clb-row ${M}`,style:{background:h??void 0},children:[c.jsx("div",{className:"clb-badge-col clb-empty-badge"}),c.jsx("div",{className:"clb-text",children:v})]},m):c.jsx("div",{className:`clb-fullrow ${M}`,style:{background:h??void 0},children:c.jsx("span",{children:v})},m)})})]})},M3e=({className:e="",style:t={},title:n,items:o=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return c.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&c.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),c.jsx("div",{className:"tlb-grid",style:u,children:o.map((p,y)=>{const f=d[y]||"";return c.jsxs("div",{className:`tlb-row ${f}`,style:{background:s??void 0},children:[c.jsx("div",{className:"tlb-label",children:p.label}),c.jsxs("div",{className:"tlb-value-group",children:[c.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),c.jsxs("div",{className:"tlb-value-wrap",children:[c.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&c.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},_3e=({className:e="",style:t={},children:n,gap:o="1rem"})=>c.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":o},children:k.Children.map(n,i=>c.jsx("div",{className:"frc-item",children:i}))}),x3e=({className:e="",style:t={},children:n,gap:o="1rem",background:i="#D9EEF5"})=>c.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":o},children:k.Children.map(n,r=>c.jsx("div",{className:"lcc-cell",children:r}))}),L3e="_overlay_i1ay5_2",I3e="_fadeIn_i1ay5_1",b3e="_popup_i1ay5_17",w3e="_slideUp_i1ay5_1",C3e="_header_i1ay5_28",N3e="_body_i1ay5_40",S3e="_footer_i1ay5_51",j3e="_cancelButton_i1ay5_59",$3e="_confirmButton_i1ay5_77",q3e="_warning_i1ay5_97",A3e="_danger_i1ay5_106",z3e="_info_i1ay5_115",gt={overlay:L3e,fadeIn:I3e,popup:b3e,slideUp:w3e,header:C3e,body:N3e,footer:S3e,cancelButton:j3e,confirmButton:$3e,warning:q3e,danger:A3e,info:z3e},V3e=({isOpen:e,title:t,message:n,onConfirm:o,onCancel:i,confirmText:r="Confirmer",cancelText:s="Annuler",type:d="warning"})=>{if(!e)return null;const l=u=>{u.target===u.currentTarget&&i()},h=u=>{u.key==="Escape"&&i(),u.key==="Enter"&&u.ctrlKey&&o()};return c.jsx("div",{className:gt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:c.jsxs("div",{className:`${gt.popup} ${gt[d]}`,children:[c.jsx("div",{className:gt.header,children:c.jsx("h3",{id:"confirmation-title",children:t})}),c.jsx("div",{className:gt.body,children:c.jsx("p",{id:"confirmation-message",children:n})}),c.jsxs("div",{className:gt.footer,children:[c.jsx("button",{className:gt.cancelButton,onClick:i,type:"button",children:s}),c.jsx("button",{className:gt.confirmButton,onClick:o,type:"button",autoFocus:!0,children:r})]})]})})},P3e=()=>{const[e,t]=k.useState({isOpen:!1,title:"",message:"",onConfirm:null}),n=k.useCallback((r,s,d)=>{t({isOpen:!0,title:r,message:s,onConfirm:d})},[]),o=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),o()},[e.onConfirm,o]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:o,handleConfirm:i}},T3e="_container_v7v52_1",H3e="_selectButton_v7v52_6",D3e="_disabled_v7v52_19",B3e="_error_v7v52_29",R3e="_outline_v7v52_43",F3e="_filled_v7v52_53",E3e="_sm_v7v52_58",O3e="_md_v7v52_63",U3e="_lg_v7v52_68",W3e="_buttonContent_v7v52_73",G3e="_label_v7v52_80",Z3e="_placeholder_v7v52_87",K3e="_iconsContainer_v7v52_91",X3e="_loadingSpinner_v7v52_99",Y3e="_spin_v7v52_1",J3e="_arrowIcon_v7v52_119",Q3e="_arrowIconOpen_v7v52_127",eme="_dropdown_v7v52_131",tme="_searchContainer_v7v52_146",ame="_searchInput_v7v52_150",nme="_optionsList_v7v52_173",ome="_noResults_v7v52_195",cme="_option_v7v52_173",ime="_optionHighlighted_v7v52_217",rme="_optionSelected_v7v52_222",sme="_optionDisabled_v7v52_228",dme="_optionLabel_v7v52_233",lme="_checkIcon_v7v52_240",hme="_widthFull_v7v52_248",ume="_width64_v7v52_252",pme="_width80_v7v52_256",yme="_width96_v7v52_260",te={container:T3e,selectButton:H3e,disabled:D3e,error:B3e,default:"_default_v7v52_38",outline:R3e,filled:F3e,sm:E3e,md:O3e,lg:U3e,buttonContent:W3e,label:G3e,placeholder:Z3e,iconsContainer:K3e,loadingSpinner:X3e,spin:Y3e,arrowIcon:J3e,arrowIconOpen:Q3e,dropdown:eme,searchContainer:tme,searchInput:ame,optionsList:nme,noResults:ome,option:cme,optionHighlighted:ime,optionSelected:rme,optionDisabled:sme,optionLabel:dme,checkIcon:lme,widthFull:hme,width64:ume,width80:pme,width96:yme},kme=({options:e,value:t,onChange:n,placeholder:o="Sélectionner une option...",disabled:i=!1,loading:r=!1,error:s=!1,className:d="",size:l="md",variant:h="default",width:u="w-full"})=>{const[p,y]=k.useState(!1),[f,v]=k.useState(""),[m,M]=k.useState(0),[_,g]=k.useState({top:0,left:0,width:0}),I=k.useRef(null),C=k.useRef(null),w=k.useRef(null),b=k.useMemo(()=>f?e.filter(S=>S.label.toLowerCase().includes(f.toLowerCase())):e,[e,f]),x=e.find(S=>S.value===t),L=k.useCallback(()=>{if(I.current){const S=I.current.getBoundingClientRect();g({top:S.top,left:S.left,width:S.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 S=V=>{I.current&&!I.current.contains(V.target)&&C.current&&!C.current.contains(V.target)&&(y(!1),v(""))};return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[]),k.useEffect(()=>{M(0)},[b]);const N=S=>{S.disabled||(n?.(S.value,S),y(!1),v(""))},j=S=>{v(S.target.value),p||y(!0)},$=S=>{if(!p){(S.key==="ArrowDown"||S.key==="Enter")&&y(!0);return}switch(S.key){case"ArrowDown":S.preventDefault(),M(V=>V<b.length-1?V+1:V);break;case"ArrowUp":S.preventDefault(),M(V=>V>0?V-1:V);break;case"Enter":S.preventDefault(),b[m]&&N(b[m]);break;case"Escape":y(!1),v("");break}},q=()=>[te.selectButton,te[l],te[h],i?te.disabled:"",s?te.error:"",d].filter(Boolean).join(" "),T=()=>{switch(u){case"w-64":return te.width64;case"w-80":return te.width80;case"w-96":return te.width96;default:return te.widthFull}},P=(S,V)=>[te.option,V===m?te.optionHighlighted:"",S.value===t?te.optionSelected:"",S.disabled?te.optionDisabled:""].filter(Boolean).join(" "),A={position:"fixed",top:_.top+(I.current?.offsetHeight||0)+4,left:_.left,width:_.width,zIndex:9999};return c.jsxs("div",{className:`${te.container} ${T()}`,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:te.buttonContent,children:[c.jsx("span",{className:`${te.label} ${x?"":te.placeholder}`,children:x?x.label:o}),c.jsxs("div",{className:te.iconsContainer,children:[r&&c.jsx("div",{className:te.loadingSpinner}),c.jsx("svg",{className:`${te.arrowIcon} ${p?te.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&&ow.createPortal(c.jsxs("div",{className:`${te.dropdown} ${T()}`,style:A,ref:C,children:[c.jsx("div",{className:te.searchContainer,children:c.jsx("input",{ref:w,type:"text",value:f,onChange:j,placeholder:"Rechercher...",className:te.searchInput,autoFocus:!0})}),c.jsx("div",{className:te.optionsList,children:b.length===0?c.jsx("div",{className:te.noResults,children:"Aucun résultat trouvé"}):c.jsx("ul",{role:"listbox",children:b.map((S,V)=>c.jsx("li",{className:P(S,V),onClick:()=>N(S),onMouseEnter:()=>M(V),role:"option","aria-selected":S.value===t,"aria-disabled":S.disabled,children:c.jsxs("div",{className:te.buttonContent,children:[c.jsx("span",{className:te.optionLabel,title:S.label,children:S.label}),S.value===t&&c.jsx("svg",{className:te.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"})})]})},S.value))})})]}),document.body)]})},mme="_container_uq7pt_1",fme="_item_uq7pt_7",gme="_mainValue_uq7pt_13",vme="_label_uq7pt_17",Mme="_subValue_uq7pt_22",_me="_subValueWrapper_uq7pt_27",xme="_subSeparator_uq7pt_32",De={container:mme,item:fme,mainValue:gme,label:vme,subValue:Mme,subValueWrapper:_me,subSeparator:xme},Lme=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:o="28px",valueFontWeight:i=700,subFontSize:r="16px",subFontWeight:s=600,backgroundColor:d="#ffffff",labelColor:l="#6b7280",valueColor:h="#000000"})=>{const u=(p,y,f)=>{const[v,m]=p.split("/").map(M=>M.trim());return c.jsxs("span",{className:De.subValueWrapper,children:[c.jsx("span",{className:De.subLeft,style:{color:y},children:v}),c.jsx("span",{className:De.subSeparator,children:" / "}),c.jsx("span",{className:De.subRight,style:{color:f},children:m})]})};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))]})},Ime="_encours_16ist_1",bme="_header_16ist_19",wme="_iconWrap_16ist_27",Cme="_title_16ist_36",Nme="_items_16ist_47",Sme="_spaceEvenly_16ist_56",jme="_item_16ist_47",$me="_valueContainer_16ist_86",qme="_value_16ist_86",Ame="_label_16ist_108",et={encours:Ime,header:bme,iconWrap:wme,title:Cme,items:Nme,spaceEvenly:Sme,item:jme,valueContainer:$me,value:qme,label:Ame},Lc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function zme(e,t){const n={},o={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=Lc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=Lc(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=Lc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(o.fontSize=Lc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?o.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(o.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:o}}function Vme(){return c.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[c.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),c.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function Pme(e){const{title:t,titleColor:n,titleFontSize:o,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:f,bg:v="#ffffff",width:m,gap:M,className:_,ariaLabel:g}=e,I=r?ht[r]:void 0,C={background:v,width:Lc(m),...f},w={};n&&(w.color=n),o!==void 0&&(w.fontSize=Lc(o)),i!==void 0&&(w.fontWeight=i);const b={};return d&&(b.color=d),c.jsxs("section",{className:`${et.encours} ${_??""}`,style:C,"aria-label":g??t,children:[c.jsxs("div",{className:et.header,children:[c.jsx("div",{className:et.iconWrap,"aria-hidden":!0,style:b,children:I?c.jsx(I,{size:typeof s=="number"?s:void 0}):c.jsx(Vme,{})}),c.jsx("div",{className:et.title,style:w,children:t})]}),c.jsx("div",{className:`${et.items} ${M===void 0?et.spaceEvenly:""}`,role:"list",style:M!==void 0?{gap:`${M}px`}:{},children:y.map((x,L)=>{const{valueStyle:N,labelStyle:j}=zme(x,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return c.jsx("div",{className:et.item,role:"listitem",style:{...x.background?{background:x.background}:{},...x.width?{width:Lc(x.width)}:{}},children:c.jsxs("div",{className:et.valueContainer,children:[c.jsx("div",{className:et.value,style:N,children:x.value}),x.label&&c.jsx("div",{className:et.label,style:j,children:x.label})]})},`${String(x.label??x.value)}-${L}`)})})]})}const Tme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-360 280-559h400z"})),Hme=k.memo(Tme),Dme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m280-400 200-201 200 201z"})),Bme=k.memo(Dme),Rme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("path",{fill:"#0087BD",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm3.983-3.55q.1 0 .192-.033a.36.36 0 0 0 .158-.117l4.117-4.133q.15-.15.15-.35a.54.54 0 0 0-.15-.367.52.52 0 0 0-.358-.133.5.5 0 0 0-.359.15l-3.75 3.75L5.35 7.583a.48.48 0 0 0-.7 0q-.15.15-.15.367 0 .216.15.35l1.983 2a.48.48 0 0 0 .35.15"})),Fme=k.memo(Rme),Eme=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("path",{fill:"#1E2122",d:"M3 14a.96.96 0 0 1-.7-.3.96.96 0 0 1-.3-.7V3q0-.4.3-.7T3 2h10q.4 0 .7.3t.3.7v10q0 .4-.3.7t-.7.3zm0-1h10V3H3z"})),Ome=k.memo(Eme),Ume=({items:e,onSave:t,loading:n,disabled:o,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(e),[v,m]=k.useState(!1);if(k.useEffect(()=>{m(!0)},[]),k.useEffect(()=>{f(e)},[e]),!v)return null;const M=(g,I)=>{I<4||f(C=>C.map(w=>w.component_key===g?{...w,visible:!w.visible}:w))},_=()=>{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(_j,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),u?c.jsx(Bme,{width:d,height:d,fill:l?.icon||"currentColor"}):c.jsx(Hme,{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((g,I)=>c.jsxs(k.Fragment,{children:[c.jsxs("li",{onClick:()=>M(g.component_key,I),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:I<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:C=>{I>=4&&(C.currentTarget.style.background="#F9FAFB")},onMouseLeave:C=>{I>=4&&(C.currentTarget.style.background="transparent")},children:[c.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:g.visible?c.jsx(Fme,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):c.jsx(Ome,{width:20,height:20,fill:"#D1D5DB"})}),c.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:g.label})]}),I===3&&c.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},g.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})})]})]})},Wme="_container_zhny9_1",Gme="_card_zhny9_15",Zme="_footer_zhny9_33",Kme="_noPaddingMobile_zhny9_51",W1={container:Wme,card:Gme,footer:Zme,noPaddingMobile:Kme},Xme="_board_71fer_1",Yme="_clickable_71fer_21",Jme="_sideBar_71fer_26",Qme="_boardContent_71fer_32",e6e="_orange_71fer_40",t6e="_red_71fer_44",a6e="_green_71fer_48",n6e="_grey_71fer_52",o6e="_lightGrey_71fer_56",c6e="_big_71fer_61",i6e="_medium_71fer_66",r6e="_headerRow_71fer_70",s6e="_iconWrapper_71fer_75",d6e="_headerTitle_71fer_80",l6e="_valueArea_71fer_89",h6e="_titleWhite_71fer_99",u6e="_titleBlack_71fer_103",p6e="_valueWhite_71fer_108",y6e="_valueBlack_71fer_112",k6e="_valueBlue_71fer_116",m6e="_bars_71fer_121",f6e="_bar_71fer_121",g6e="_barDark_71fer_135",v6e="_barDim_71fer_139",Re={board:Xme,clickable:Yme,sideBar:Jme,boardContent:Qme,orange:e6e,red:t6e,green:a6e,grey:n6e,lightGrey:o6e,big:c6e,medium:i6e,headerRow:r6e,iconWrapper:s6e,headerTitle:d6e,valueArea:l6e,titleWhite:h6e,titleBlack:u6e,valueWhite:p6e,valueBlack:y6e,valueBlue:k6e,bars:m6e,bar:f6e,barDark:g6e,barDim:v6e},M6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${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))})},bt=({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:f="white",titleFontSize:v,titleFontWeight:m,valueFontSize:M,valueFontWeight:_,barColor:g,justifyContent:I="space-between",alignItems:C="flex-start",cardGap:w="",onClick:b,iconColor:x,a11yConfig:L})=>{const N=i!=="none",j=i==="endingDark",{padding:$,...q}=p||{},T=l===void 0&&h===void 0&&o===void 0&&Object.keys(q).length===0?void 0:{...l!==void 0?{width:l}:{},...h!==void 0?{height:h}:{},...o!==void 0?{backgroundColor:o}:{},...q},P=`${Re.board} ${Re[s]} ${u}`;return c.jsxs("div",{className:P,onClick:b,style:d!==void 0?{...T,"--ds-value-scale":d}:T,children:[g&&c.jsx("div",{className:Re.sideBar,style:{backgroundColor:g}}),c.jsxs("div",{className:Re.boardContent,style:{padding:$,gap:w},children:[c.jsxs("div",{className:Re.headerRow,style:{justifyContent:I,alignItems:C},children:[e&&c.jsx("div",{className:Re.iconWrapper,style:{color:x},children:e}),c.jsx("div",{className:`${Re.headerTitle} header-title-data-board`,children:c.jsx("span",{title:L?.mode==="guide"?L.description:L?.mode==="key"?L.key:void 0,style:{color:y,...v?{fontSize:v}:{},...m?{fontWeight:m}:{}},children:t})}),N?c.jsx(M6e,{endingDark:j,lightCount:r}):null]}),c.jsx("div",{className:Re.valueArea,style:{color:f,...M?{fontSize:M}:{},..._?{fontWeight:_}:{}},children:n})]})]})},_6e="_wrapper_1uu3e_10",x6e="_hosp_1uu3e_19",L6e="_headerRow_1uu3e_54",I6e="_iconWrapper_1uu3e_61",b6e="_headerTitle_1uu3e_67",w6e="_hospValue_1uu3e_76",C6e="_side_1uu3e_88",N6e="_mini_1uu3e_100",S6e="_miniLabel_1uu3e_131",j6e="_miniValue_1uu3e_140",$6e="_miniBars_1uu3e_150",q6e="_bars_1uu3e_155",A6e="_bar_1uu3e_155",z6e="_barDark_1uu3e_169",V6e="_barDim_1uu3e_173",Ce={wrapper:_6e,hosp:x6e,headerRow:L6e,iconWrapper:I6e,headerTitle:b6e,hospValue:w6e,side:C6e,mini:N6e,miniLabel:S6e,miniValue:j6e,miniBars:$6e,bars:q6e,bar:A6e,barDark:z6e,barDim:V6e},P6e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const o=Math.max(0,Math.min(5,Math.floor(t)));return c.jsx("div",{className:`${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))})},Rq=({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||{}},title:e.a11yConfig?.mode==="guide"?e.a11yConfig.description:e.a11yConfig?.mode==="key"?e.a11yConfig.key:void 0,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(P6e,{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||{}},title:d.a11yConfig?.mode==="guide"?d.a11yConfig.description:d.a11yConfig?.mode==="key"?d.a11yConfig.key:void 0,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}`))})]})},T6e=({items:e,footerLabel:t,width:n,height:o,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:f})=>{const v={width:n??i,height:o,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],M=e[1],_=e.slice(2,5);return c.jsxs("div",{style:v,className:`${W1.container} ${y?W1.noPaddingMobile:""} ${s}`,children:[c.jsxs("div",{className:W1.card,children:[m?c.jsx(bt,{label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,size:m.size??"big",valueScale:m.valueScale,width:m.width,height:m.height,titleColor:"white",valueColor:"white",titleFontSize:m.titleFontSize??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,onClick:g=>f?.(0,g)}):null,M&&_.length>0?c.jsx(Rq,{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:g=>f?.(1,g)},right:_.map((g,I)=>({id:g.id,label:g.label,value:g.value,backgroundColor:g.backgroundColor,bars:g.bars,lightBars:g.lightBars,valueScale:g.valueScale,width:g.width,height:g.height,titleFontSize:g.titleFontSize??l,titleFontWeight:g.titleFontWeight??h,valueFontSize:g.valueFontSize??u,valueFontWeight:g.valueFontWeight??p,onClick:C=>f?.(2+I,C)}))}):M&&_.length===0?c.jsx(bt,{label:M.label,value:M.value,backgroundColor:M.backgroundColor,bars:M.bars,lightBars:M.lightBars,size:M.size??"big",valueScale:M.valueScale,width:M.width,height:M.height,titleColor:"white",valueColor:"white",titleFontSize:M.titleFontSize??l,titleFontWeight:M.titleFontWeight??h,valueFontSize:M.valueFontSize??u,valueFontWeight:M.valueFontWeight??p,onClick:g=>f?.(1,g)}):null]}),t&&c.jsx("div",{className:W1.footer,children:t})]})},H6e=({x:e,y:t,width:n,payload:o,fontSize:i,fontWeight:r,stroke:s})=>c.jsx("g",{transform:`translate(${e},${t})`,children:c.jsx("foreignObject",{x:-n,y:-20,width:n,height:40,style:{overflow:"visible"},children:c.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.1",wordBreak:"break-word",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",paddingRight:"8px"},children:o.value})})}),D6e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:o=!0,backgroundColor:i="#ffffff",legendTextColor:r="#000",barHeight:s=100,yAxisWidth:d=240,fontSize:l="12px",fontWeight:h="400",wrapLabels:u=!1,domain:p})=>c.jsx("div",{style:{backgroundColor:i},children:c.jsx(a.ResponsiveContainer,{width:"100%",height:t,children:c.jsxs(a.BarChart,{data:e,layout:"vertical",children:[c.jsx(a.CartesianGrid,{stroke:"#E5E7EB",vertical:!1}),c.jsx(a.XAxis,{type:"number",domain:p,axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r}),c.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:d,interval:0,fontSize:l,fontWeight:h,tick:u?c.jsx(H6e,{}):void 0}),o&&c.jsx(a.Tooltip,{}),c.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s})]})})}),B6e="_menu_10i6j_1",R6e="_menuRow_10i6j_18",F6e="_separator_10i6j_33",E6e="_rowLabel_10i6j_39",O6e="_rowLeadingIcon_10i6j_47",U6e="_rowIcon_10i6j_54",Pc={menu:B6e,menuRow:R6e,separator:F6e,rowLabel:E6e,rowLeadingIcon:O6e,rowIcon:U6e},W6e=k.forwardRef(function({isVisible:t,onClose:n,items:o,style:i,position:r,bg:s},d){const l=k.useRef(null),h=d||l;if(k.useEffect(()=>{if(!t)return;const y=f=>{h.current&&!h.current.contains(f.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:Pc.menu,style:p,children:o.map(y=>{if(y.type==="separator")return c.jsx("hr",{className:Pc.separator},y.id);const f=y,v=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return c.jsxs("button",{role:"menuitem",className:Pc.menuRow,style:v,onClick:()=>{f.onClick?.(),m&&n?.()},children:[c.jsxs("span",{className:Pc.rowLabel,children:[f.leadingIcon&&c.jsx("span",{className:Pc.rowLeadingIcon,children:f.leadingIcon}),c.jsx("span",{children:f.label})]}),f.icon&&c.jsx("span",{className:Pc.rowIcon,children:f.icon})]},f.id)})})}),Fq=({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:f=600,roleFontSize:v="12px",roleFontWeight:m,avatarColor:M="#5b8fb9",backgroundColorAvatar:_="#f1f4f5",dropdownMenuItems:g,dropdownMenuStyle:I,dropdownMenuOffset:C,statusDotColor:w,style:b,className:x=""})=>{const{user:L}=it(),N=e||L,{currentTheme:j,switchTheme:$}=sL(),q=k.useRef(null),T=k.useRef(null),[P,A]=k.useState(!1),[S,V]=k.useState({}),R=k.useMemo(()=>{const Z=[],Q=({variant:_e})=>_e==="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&&(Z.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),Z.push({id:"sep-profile",type:"separator"}));const ae=j==="dark";return Z.push({id:"theme",type:"action",label:ae?"Mode clair":"Mode sombre",icon:c.jsx(Q,{variant:ae?"sun":"moon"}),onClick:()=>{$(ae?"light":"dark")}}),(t||o)&&(Z.push({id:"sep-theme",type:"separator"}),Z.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?.()}})),Z},[j,t,n,o,i,r,$]),B=g??R,D=()=>{if(!q.current){A(Z=>!Z);return}if(!P){const Z=q.current.getBoundingClientRect(),Q=window.innerWidth,ae=window.innerHeight,_e=200,pe=200,Le=4,de=C?.x??0,Ie=C?.y??0,Se=Q-Z.right>=_e+Le;V(Se?{top:Z.bottom-pe+Ie,left:Z.right+Le+de}:{bottom:ae-Z.top+Ie,left:Z.left+de})}A(Z=>!Z)};if(k.useEffect(()=>{if(!P||!q.current)return;const Z=()=>{const Q=q.current.getBoundingClientRect(),ae=window.innerWidth,_e=window.innerHeight,pe=200,Le=200,de=4,Ie=C?.x??0,be=C?.y??0,he=ae-Q.right>=pe+de;V(he?{top:Q.bottom-Le+be,left:Q.right+de+Ie}:{bottom:_e-Q.top+be,left:Q.left+Ie})};return window.addEventListener("resize",Z),window.addEventListener("orientationchange",Z),()=>{window.removeEventListener("resize",Z),window.removeEventListener("orientationchange",Z)}},[P,C]),k.useEffect(()=>{if(!P||!q.current||!T.current)return;const Z=()=>{const ae=q.current.getBoundingClientRect(),_e=T.current.getBoundingClientRect(),pe=C?.x??0,Le=C?.y??0;V(de=>de.left!==void 0&&de.top!==void 0&&de.left>=ae.right-1?{top:ae.bottom-_e.height+Le,left:de.left+pe}:de)},Q=requestAnimationFrame(()=>{setTimeout(Z,0)});return()=>cancelAnimationFrame(Q)},[P,C]),!N)return null;const F=N,Y=parseInt(h,10)||40,X=`${Y*.375}px`,re=`${Y*1.375}px`,ke=`${Y*.2}px`,ze=`${Y*.6}px`,se=()=>{const Z=parseInt(h,10)||40,Q=Math.max(8,Z*.34375),ae=Math.max(2,Z*.05);return c.jsxs(c.Fragment,{children:[c.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[F.image?c.jsx("img",{src:F.image,alt:`${F.prenom} ${F.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):c.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:_,overflow:"hidden",userSelect:"none"},children:[c.jsx("div",{style:{width:X,height:X,borderRadius:"50%",backgroundColor:M,position:"absolute",top:ke,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),c.jsx("div",{style:{width:re,height:re,borderRadius:"50%",backgroundColor:M,position:"absolute",top:ze,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&c.jsx("div",{style:{position:"absolute",bottom:ae,right:ae,width:`${Q}px`,height:`${Q}px`,borderRadius:"50%",backgroundColor:w,border:"2px solid white",zIndex:10}})]}),c.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[c.jsx("span",{style:{fontWeight:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:F.email,children:F.email}),c.jsx("span",{style:{color:l,fontSize:v,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:F.role,children:F.role})]})]})};return c.jsxs(c.Fragment,{children:[c.jsx("div",{ref:q,className:`user-info ${x}`,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:D,role:"button",tabIndex:0,children:c.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:c.jsx(se,{})})}),c.jsx(W6e,{ref:T,isVisible:P,onClose:()=>A(!1),items:B,style:I,position:S})]})},G6e="_navItem_16uqf_1",Z6e="_label_16uqf_14",K6e="_icon_16uqf_26",n1={navItem:G6e,label:Z6e,icon:K6e},Ow=({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:f=!1,padding:v="10px 16px",borderWidth:m="4px",iconGap:M="12px",disabled:_=!1,disabledColor:g})=>{const I=()=>{_||t?.()},C=c.jsxs(c.Fragment,{children:[i&&c.jsx("span",{className:n1.icon,style:{marginRight:f?0:M},children:i}),!f&&c.jsx("span",{className:n1.label,children:e})]}),w=()=>{if(!o)return"transparent";const x=L=>{const N=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(L);return N?{r:parseInt(N[1],16),g:parseInt(N[2],16),b:parseInt(N[3],16)}:null};if(d.startsWith("#")){const L=x(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:`${n1.navItem} ${o?n1.active:""} ${s} ${_?n1.disabled:""}`,style:{padding:v,color:o?h:_?g||"#999":l,borderLeft:o?`${m} solid ${d}`:`${m} solid transparent`,backgroundColor:w(),fontSize:p,fontWeight:y,cursor:_?"not-allowed":"pointer",textDecoration:"none",...r},"aria-disabled":_};return n&&!_?c.jsx("a",{href:n,...b,children:C}):c.jsx("div",{...b,role:t?"button":void 0,tabIndex:t&&!_?0:void 0,children:C})},X6e="_navbar_agnn2_1",Y6e="_topSection_agnn2_9",J6e="_sectionsContainer_agnn2_14",Q6e="_sectionTitle_agnn2_20",e8e="_sectionItems_agnn2_25",t8e="_bottomSection_agnn2_30",a8e="_versionContainer_agnn2_49",rt={navbar:X6e,topSection:Y6e,sectionsContainer:J6e,sectionTitle:Q6e,sectionItems:e8e,bottomSection:t8e,versionContainer:a8e},n8e=({logoProps:e,logoSpacing:t,navItems:n,padding:o="24px 16px",sectionSpacing:i="32px",itemSpacing:r="4px",backgroundColor:s="#fff",highlightColor:d="#00aec7",highlightBackgroundColor:l="rgba(0, 0, 0, 0.05)",version:h,navSectionStyle:u,navLinkStyle:p,navItemPadding:y="10px 16px",navItemBorderWidth:f="4px",navItemIconGap:v="12px",navItemFontSize:m="15px",navItemFontWeight:M="500",navItemColor:_,sectionTitlePadding:g="16px",sectionTitleFontSize:I="11px",sectionTitleColor:C="#999",sectionTitleWeight:w="500",versionFontSize:b="12px",versionFontWeight:x="400",versionColor:L="#999",userInfoProps:N,style:j,className:$="",width:q="280px",showLogo:T=!0})=>{const P=it(),A=P.activeNav,S=P.setActiveNav,V=P.user,R=N.user||V;return c.jsxs("div",{className:`${rt.navbar} ${$}`,style:{width:q,backgroundColor:s,padding:o,...j},children:[c.jsxs("div",{className:rt.topSection,style:{gap:t},children:[T&&c.jsx("div",{className:rt.logoContainer,children:c.jsx(rL,{...e})}),c.jsx("div",{className:rt.sectionsContainer,style:{gap:i},children:n.map((B,D)=>c.jsxs("div",{className:rt.section,children:[B.title&&c.jsx("div",{className:rt.sectionTitle,style:{fontSize:I,color:C,padding:g,fontWeight:w,border:"4px solid transparent",...u},children:B.title}),c.jsx("div",{className:rt.sectionItems,style:{gap:r},children:B.items.map(F=>c.jsx(Ow,{...F,isActive:F.isActive===null?F.isActive:A===F.id,onClick:()=>{F.onClick&&F.onClick(),F.isActive==null&&S(F.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:v,fontSize:m,fontWeight:M,color:_,style:p},F.id))})]},D))})]}),c.jsxs("div",{className:rt.bottomSection,style:{gap:t},children:[c.jsx(Fq,{...N,user:R}),h&&c.jsx("div",{className:rt.versionContainer,style:{fontSize:b,fontWeight:x,color:L},children:h})]})]})},o8e="_container_4qege_1",c8e="_titleContainer_4qege_10",i8e="_title_4qege_10",r8e="_inlineToggleContainer_4qege_24",s8e="_rightContentContainer_4qege_30",o1={container:o8e,titleContainer:c8e,title:i8e,inlineToggleContainer:r8e,rightContentContainer:s8e},d8e=({className:e="",style:t,fontSize:n="20px",fontWeight:o="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,formatTitle:f=M=>M,rightContent:v,inlineToggle:m})=>{const{activeNav:M}=it(),_=y.find(I=>I.id===M),g=f(_?_.label:M);return g?c.jsxs("div",{className:`${o1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[c.jsxs("div",{className:o1.titleContainer,children:[c.jsx("div",{className:o1.title,style:{fontSize:n,fontWeight:o,color:i},children:g}),m&&c.jsx("div",{className:o1.inlineToggleContainer,children:m})]}),v&&c.jsx("div",{className:o1.rightContentContainer,children:v})]}):null},l8e="_navItem_1hg26_1",h8e="_navItemIcon_1hg26_21",u8e="_navItemLabel_1hg26_29",p8e="_navItemCount_1hg26_36",y8e="_navItemIndicator_1hg26_49",c1={navItem:l8e,navItemIcon:h8e,navItemLabel:u8e,navItemCount:p8e,navItemIndicator:y8e},Eq=({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:f="12px",countFontWeight:v="500",indicatorColor:m="#00aec7",indicatorHeight:M="3px",padding:_="8px 4px",fontSize:g="14px",fontWeight:I="500",gap:C="8px",style:w,className:b="",disabled:x=!1})=>{const L=()=>{x||(n?.(),o&&(window.location.href=o))};return c.jsxs("div",{className:`${c1.navItem} ${b}`,onClick:L,style:{gap:C,padding:_,color:t?s:d,backgroundColor:t?l:"transparent",fontSize:g,fontWeight:I,...w},children:[i&&c.jsx("span",{className:c1.navItemIcon,children:i}),c.jsx("span",{className:c1.navItemLabel,children:e}),r!==void 0&&c.jsx("span",{className:c1.navItemCount,style:{backgroundColor:h,color:u,borderRadius:p,padding:y,fontSize:f,fontWeight:v},children:r}),t&&!x&&c.jsx("div",{className:c1.navItemIndicator,style:{height:M,backgroundColor:m}})]})},k8e="_container_13hsa_1",m8e="_groupHeader_13hsa_8",f8e="_groupHeaderLeft_13hsa_18",g8e="_groupIcon_13hsa_23",v8e="_dropdown_13hsa_29",M8e="_item_13hsa_42",_8e="_itemIcon_13hsa_65",x8e="_chevron_13hsa_72",L8e="_chevronOpen_13hsa_79",st={container:k8e,groupHeader:m8e,groupHeaderLeft:f8e,groupIcon:g8e,dropdown:v8e,item:M8e,itemIcon:_8e,chevron:x8e,chevronOpen:L8e},I8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),N1=k.memo(I8e),Oq=({groups:e,activeItemId:t,onItemClick:n,style:o,className:i,bgColor:r="transparent",color:s="var(--color-text)",headerBgColor:d="var(--color-indicator)",headerColor:l="var(--color-text)",headerBorderBottomColor:h="var(--color-border)",dropdownBgColor:u="var(--color-background)",itemBgColor:p="transparent",itemHoverBgColor:y="rgba(0,0,0,0.05)",itemColor:f="var(--color-text)",itemActiveColor:v="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:M="var(--color-border)",iconColor:_="#555555",activeIconColor:g="var(--color-primary)",headerIconColor:I="var(--color-text)",chevronColor:C="var(--color-text)",iconSize:w=22,headerPadding:b="14px 20px",itemPadding:x="14px 20px",iconGap:L=14,borderRadius:N=0})=>{const[j,$]=k.useState(""),q=k.useRef(null);k.useEffect(()=>{const P=A=>{q.current&&!q.current.contains(A.target)&&$("")};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const T={backgroundColor:r,color:s,borderRadius:N,...o};return c.jsx("nav",{ref:q,className:[st.container,i].filter(Boolean).join(" "),style:T,children:e.map(P=>{const A=j===P.id,S={backgroundColor:d,color:l,padding:b,borderBottom:`1px solid ${h}`,gap:L},V={backgroundColor:u};return c.jsxs("div",{children:[c.jsxs("div",{className:st.groupHeader,style:S,onClick:()=>$(A?"":P.id),role:"button","aria-expanded":A,children:[c.jsxs("div",{className:st.groupHeaderLeft,style:{gap:L},children:[P.icon&&c.jsx("span",{className:st.groupIcon,style:{color:I,width:w,height:w},children:P.icon}),c.jsx("span",{children:P.label})]}),c.jsx("span",{className:[st.chevron,A?st.chevronOpen:""].join(" "),style:{color:C},children:c.jsx(N1,{width:18,height:18})})]}),A&&c.jsx("div",{className:st.dropdown,style:V,children:P.items.map(R=>{const B=R.id===t,D={padding:x,gap:L,color:B?v:f,backgroundColor:p,"--item-border-width":B?"4px":"1px","--item-border-color":B?m:M};return c.jsxs("div",{className:st.item,style:D,onClick:()=>{n?.(P.id,R.id),$("")},role:"menuitem",onMouseEnter:F=>{B||(F.currentTarget.style.backgroundColor=y)},children:[R.icon&&c.jsx("span",{className:st.itemIcon,style:{color:B?g:_,width:w,height:w},children:R.icon}),c.jsx("span",{children:R.label})]},R.id)})})]},P.id)})})},b8e="_subheaderContent_1glo8_1",w8e="_navContainer_1glo8_11",C8e="_rightContent_1glo8_45",Nb={subheaderContent:b8e,navContainer:w8e,rightContent:C8e},N8e=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:o,width:i,height:r="auto",border:s,borderBottom:d="none",itemGap:l="24px",actionsGap:h="16px",itemPadding:u="12px 0",itemFontSize:p="14px",itemFontWeight:y="500",activeItemColor:f="#00aec7",inactiveItemColor:v="#5c6975",indicatorHeight:m="3px",showDraggable:M=!1,showLegend:_=!1,showData:g=!1,className:I="",style:C,countBackgroundColor:w,countColor:b,countBorderRadius:x,countPadding:L,countFontSize:N,countFontWeight:j,navContainerClassName:$,navContainerStyle:q,rightContentClassName:T,rightContentStyle:P,rightActions:A,activeSwitcherColor:S,inactiveSwitcherColor:V,isMobile:R=!1})=>{const{activeSubNav:B,setActiveSubNav:D,navCounts:F,activeNav:Y}=it();if(R){const X=e.find(ke=>ke.id===B)||e[0],re=[{id:"current-group",label:X?.label||Y?.toUpperCase()||"MENU",icon:X?.icon,items:e.map(ke=>({id:ke.id,label:ke.label,icon:ke.icon}))}];return c.jsx("div",{className:I,style:C,children:c.jsx(Oq,{groups:re,activeItemId:B,onItemClick:(ke,ze)=>{const se=e.find(Z=>Z.id===ze);se&&(se.onClick&&se.onClick(),se.href&&(window.location.href=se.href),D(ze))},headerBgColor:t})})}return c.jsxs("div",{className:`${Nb.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:o,width:i,height:r,border:s,borderBottom:d,...C},children:[c.jsx("div",{className:`${Nb.navContainer} ${$||""}`,style:{gap:l,...q},children:e.map(X=>{const re=X.count!==void 0?X.count:F[X.id],ke=B===X.id||X.isActive;return c.jsx(Eq,{...X,count:re,isActive:ke,onClick:()=>{X.onClick&&X.onClick(),D(X.id)},activeColor:f,inactiveColor:v,countBackgroundColor:w,countColor:b,countBorderRadius:x,countPadding:L,countFontSize:N,countFontWeight:j,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:X.style},X.id)})}),c.jsxs("div",{className:`${Nb.rightContent} ${T||""}`,style:{gap:h,...P},children:[M&&c.jsx(Yx,{size:20,colors:{bg:S,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),_&&c.jsx(Jx,{size:20,colors:{bg:S,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),g&&c.jsx(Qx,{size:20,colors:{bg:S,activeBg:V,icon:"#1C1B1F",icon2:"#FFFFFF"}}),A]})]})},S8e=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:o="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=sL(),f=p!="dark",v=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?c.jsx(c.Fragment,{}):c.jsx("div",{className:`theme-switcher ${l}`,onClick:v,style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",backgroundColor:i,padding:r,borderRadius:s,transition:"all 0.3s ease",...d},children:f?c.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:c.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):c.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:o,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[c.jsx("circle",{cx:"12",cy:"12",r:"5"}),c.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),c.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),c.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),c.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),c.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),c.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),c.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),c.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},j8e=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[o,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";o.sortBy===s&&(d=o.sortOrder==="asc"?"desc":"asc");const l={...o,sortBy:s,sortOrder:d};i(l),n(s,d)},[o,n]);return{tableState:o,handleSort:r}},$8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),q8e=k.memo($8e),A8e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),z8e=k.memo(A8e),V8e=({columns:e,sortBy:t,sortOrder:n,onSort:o,removeLabelSpan:i=!1})=>c.jsx("thead",{children:c.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return c.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&o(String(r.key)),title:r.a11yConfig?.mode==="guide"?r.a11yConfig.description:r.a11yConfig?.mode==="key"?r.a11yConfig.key:void 0,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(z8e,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):c.jsx(q8e,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),P8e=({data:e,columns:t,rowKey:n,onRowClick:o,isLoading:i,text:r,rowStyle:s,rowClassName:d})=>!e.length&&!i?c.jsx("tbody",{children:c.jsx("tr",{children:c.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:c.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):c.jsx("tbody",{children:e.map((l,h)=>{const u=l[n],p=typeof u=="string"||typeof u=="number"?u:h;return c.jsx("tr",{onClick:()=>o&&o(l),style:{cursor:o?"pointer":"default",...s?s(l):{}},className:d?d(l,h):"",children:t.map((y,f)=>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)}-${f}`))},p)})}),T8e=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:o,hasMore:i,text:r,isLoading:s})=>{const{page:d,pageSize:l,total:h}=e,u=l===-1?h:l,p=Math.ceil(h/u)||1,y=Math.min(Math.max(1,d),p),f=h===0?0:(y-1)*u+1,v=Math.min(y*u,h),m=_=>{t({page:_})},M=k.useMemo(()=>{if(p<=6)return Array.from({length:p},(N,j)=>j+1);const I=Math.max(y-1,1),C=Math.min(y+1,p),w=I>2,b=C<p-2,x=1,L=p;if(!w&&b)return[...Array.from({length:5},($,q)=>q+1),"...",p];if(w&&!b){const j=Array.from({length:5},($,q)=>p-5+q+1);return[x,"...",...j]}if(w&&b){const N=Array.from({length:C-I+1},(j,$)=>I+$);return[x,"...",...N,"...",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(f,v,h):c.jsxs(c.Fragment,{children:[c.jsxs("b",{children:[f,"–",v]})," ","sur ",c.jsx("b",{children:h.toLocaleString()})," éléments"]})}):c.jsx("span",{children:r?.noResults||"0 résultats"})}),c.jsx("div",{className:"pagination-spacer"}),!o&&l!==-1&&p>1&&c.jsxs("div",{className:"pagination-controls",children:[c.jsx("button",{className:"pagination-btn",onClick:()=>m(1),disabled:y===1,title:r?.first||"Premier",children:"<<"}),c.jsx("button",{className:"pagination-btn",onClick:()=>m(y-1),disabled:y===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((_,g)=>_==="..."?c.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},g):c.jsx("button",{className:`pagination-btn ${_===y?"active":""}`,onClick:()=>m(_),children:_},g)),c.jsx("button",{className:"pagination-btn",onClick:()=>m(y+1),disabled:y===p,title:r?.next||"Suivant",children:">"}),c.jsx("button",{className:"pagination-btn",onClick:()=>m(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"})})]})},Uq=({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:f,hasMore:v,tableState:m,className:M,style:_,rowStyle:g,onRowClick:I,rowClassName:C,removeLabelSpan:w=!1})=>{const b=k.useMemo(()=>({...p}),[p]),x=k.useRef(null);k.useEffect(()=>{if(!f||!y||!v||n)return;const T=new IntersectionObserver(P=>{P[0].isIntersecting&&y()},{threshold:.1});return x.current&&T.observe(x.current),()=>T.disconnect()},[f,y,v,n]);const{tableState:L,handleSort:N}=j8e({initialSortBy:null,onSortChange:r}),j=(m?.sortBy!==void 0?m.sortBy:L.sortBy)??void 0,$=m?.sortOrder!==void 0?m.sortOrder:L.sortOrder,q=T=>{const P=j,A=$;let S="asc";P===T&&(S=A==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(T,S):N(T)};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(V8e,{columns:t,sortBy:j,sortOrder:$,onSort:q,removeLabelSpan:w}),c.jsx(P8e,{data:e,columns:t.map(T=>({...T,render:T.render?P=>T.render(P,{}):void 0})),rowKey:s,onRowClick:I,isLoading:n,text:b,rowStyle:typeof g=="function"?g:g?()=>g:void 0,rowClassName:C})]}),f&&c.jsx("div",{ref:x,style:{height:20,margin:10}})]})]}),c.jsx(T8e,{state:o,onPaginationChange:i,text:b,onLoadMore:y,infiniteScroll:f,hasMore:v,isLoading:n})]})},H8e="_datePickerContainer_1941b_3",D8e="_label_1941b_16",B8e="_displayNode_1941b_23",R8e="_datePickerButton_1941b_30",F8e="_datePickerButtonDisabled_1941b_50",E8e="_datePickerButtonOpen_1941b_59",O8e="_datePickerLabel_1941b_68",U8e="_placeholder_1941b_79",W8e="_chevron_1941b_83",G8e="_errorMessage_1941b_91",Z8e="_dropdown_1941b_96",K8e="_calendarHeader_1941b_120",X8e="_navButton_1941b_129",Y8e="_headerSelectors_1941b_148",J8e="_monthSelector_1941b_156",Q8e="_yearSelector_1941b_157",efe="_selectorButton_1941b_161",tfe="_selectorChevron_1941b_178",afe="_selectorChevronOpen_1941b_183",nfe="_monthDropdown_1941b_187",ofe="_yearDropdown_1941b_188",cfe="_monthItem_1941b_208",ife="_yearItem_1941b_209",rfe="_monthItemSelected_1941b_231",sfe="_yearItemSelected_1941b_232",dfe="_weekdays_1941b_236",lfe="_weekday_1941b_236",hfe="_calendarGrid_1941b_252",ufe="_dateCell_1941b_260",pfe="_dateCellSelected_1941b_283",yfe="_dateCellOtherMonth_1941b_287",kfe="_dateCellOtherMonthSelected_1941b_291",mfe="_calendarFooter_1941b_295",ffe="_cancelButton_1941b_303",gfe="_applyButton_1941b_304",vfe="_timePickerContainer_1941b_348",Mfe="_timeGroup_1941b_357",_fe="_timeLabel_1941b_364",xfe="_timeInputWrapper_1941b_370",Lfe="_timeInput_1941b_370",Ife="_timeSeparator_1941b_398",E={datePickerContainer:H8e,label:D8e,displayNode:B8e,datePickerButton:R8e,datePickerButtonDisabled:F8e,datePickerButtonOpen:E8e,datePickerLabel:O8e,placeholder:U8e,chevron:W8e,errorMessage:G8e,dropdown:Z8e,calendarHeader:K8e,navButton:X8e,headerSelectors:Y8e,monthSelector:J8e,yearSelector:Q8e,selectorButton:efe,selectorChevron:tfe,selectorChevronOpen:afe,monthDropdown:nfe,yearDropdown:ofe,monthItem:cfe,yearItem:ife,monthItemSelected:rfe,yearItemSelected:sfe,weekdays:dfe,weekday:lfe,calendarGrid:hfe,dateCell:ufe,dateCellSelected:pfe,dateCellOtherMonth:yfe,dateCellOtherMonthSelected:kfe,calendarFooter:mfe,cancelButton:ffe,applyButton:gfe,timePickerContainer:vfe,timeGroup:Mfe,timeLabel:_fe,timeInputWrapper:xfe,timeInput:Lfe,timeSeparator:Ife},oj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],bfe=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],nw=({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:f="0.5rem",errorMarginTop:v="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:M="0.5rem 0.75rem",fontWeight:_="400",buttonBgColor:g,buttonBorderColor:I,buttonTextColor:C,dropdownBgColor:w="#ffffff",itemHoverColor:b,selectedItemBgColor:x,iconColor:L,errorColor:N,labelColor:j,placeholderColor:$,borderRadius:q="var(--radius-content)",borderWidth:T="0.0625rem",boxShadow:P="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:A="0.2s",transitionTiming:S="ease",dateCellSize:V="2.5rem",headerTextColor:R="#6c757d",weekdayTextColor:B="#6c757d",currentMonthDateColor:D="#212529",otherMonthDateColor:F="#adb5bd",selectedDateBgColor:Y="#00A6D9",selectedDateTextColor:X="#ffffff",cancelButtonBgColor:re="#e9ecef",cancelButtonTextColor:ke="#212529",applyButtonBgColor:ze="#00A6D9",applyButtonTextColor:se="#ffffff",width:Z,displayNode:Q=void 0,displayMode:ae="auto",displayNodeAriaLabel:_e,dropdownPosition:pe="bottom",dropdownAlignment:Le="right",dropdownWidth:de,withBorder:Ie=!1,icon:be,precision:Se="day",hoursLabel:he="Heures",minutesLabel:we="Minutes",lowerLimit:mt=null,upperLimit:Sc=null,months:jc,weekdays:O,cancelText:Xe="Annuler",applyText:Kq="Appliquer",prevMonthAriaLabel:Xq="Mois précédent",nextMonthAriaLabel:Yq="Mois suivant",calendarAriaLabel:Jq="Sélecteur de date",openedAriaLabel:Qq="Ouvrir le sélecteur de date",selectedDateAriaLabel:eA="Date sélectionnée: ",locale:Uw="fr-FR"})=>{const At=H=>{if(H instanceof Date)return isNaN(H.getTime())?null:H;if(typeof H=="string"&&H){const G=new Date(H);return isNaN(G.getTime())?null:G}return null},[Ye,zt]=k.useState(!1),[$c,tA]=k.useState({top:0,left:0,width:0}),[ee,e1]=k.useState(At(e)||new Date),[_L,xL]=k.useState(At(e)),[LL,IL]=k.useState(At(e)?.getHours()??0),[bL,wL]=k.useState(At(e)?.getMinutes()??0),[CL,qc]=k.useState(!1),[NL,Ac]=k.useState(!1),SL=k.useRef(null),B1=k.useRef(null),jL=k.useRef(null),$L=k.useRef(null);k.useEffect(()=>{const H=At(e);xL(H),H&&(e1(H),IL(H.getHours()),wL(H.getMinutes()))},[e]);const zc=k.useCallback(()=>{if(B1.current){const H=B1.current.getBoundingClientRect();tA({top:H.top,left:H.left,width:H.width})}},[]);k.useEffect(()=>(Ye&&(zc(),window.addEventListener("scroll",zc,!0),window.addEventListener("resize",zc)),()=>{window.removeEventListener("scroll",zc,!0),window.removeEventListener("resize",zc)}),[Ye,zc]),k.useEffect(()=>{const H=G=>{if(SL.current&&!SL.current.contains(G.target)){const me=document.getElementById("datepicker-dropdown");if(me&&me.contains(G.target))return;zt(!1),qc(!1),Ac(!1)}jL.current&&!jL.current.contains(G.target)&&qc(!1),$L.current&&!$L.current.contains(G.target)&&Ac(!1)};return document.addEventListener("mousedown",H),()=>document.removeEventListener("mousedown",H)},[]);const Ww=H=>new Date(H.getFullYear(),H.getMonth()+1,0).getDate(),aA=H=>{const G=new Date(H.getFullYear(),H.getMonth(),1).getDay();return G===0?6:G-1},nA=()=>{const H=[],G=aA(ee),me=Ww(ee),R1=new Date(ee.getFullYear(),ee.getMonth()-1,1),ft=Ww(R1);for(let Oe=G-1;Oe>=0;Oe--)H.push(new Date(ee.getFullYear(),ee.getMonth()-1,ft-Oe));for(let Oe=1;Oe<=me;Oe++)H.push(new Date(ee.getFullYear(),ee.getMonth(),Oe));const t1=42-H.length;for(let Oe=1;Oe<=t1;Oe++)H.push(new Date(ee.getFullYear(),ee.getMonth()+1,Oe));return H},oA=(H,G)=>!H||!G?!1:H.getDate()===G.getDate()&&H.getMonth()===G.getMonth()&&H.getFullYear()===G.getFullYear(),cA=H=>H.getMonth()===ee.getMonth()&&H.getFullYear()===ee.getFullYear(),iA=()=>{e1(new Date(ee.getFullYear(),ee.getMonth()-1,1))},rA=()=>{e1(new Date(ee.getFullYear(),ee.getMonth()+1,1))},sA=H=>{if(!s){const G=new Date(H);G.setHours(LL),G.setMinutes(bL),xL(G)}},dA=()=>{if(!s){if(_L){const H=new Date(_L);H.setHours(LL),H.setMinutes(bL),t(H)}else t(null);zt(!1)}},lA=()=>{const H=At(e);xL(H),H&&(IL(H.getHours()),wL(H.getMinutes())),zt(!1)},hA=H=>{e1(new Date(ee.getFullYear(),H,1)),qc(!1)},uA=H=>{e1(new Date(H,ee.getMonth(),1)),Ac(!1)},pA=()=>{const H=ee.getFullYear(),G=[];for(let me=H-10;me<=H+10;me++)G.push(me);return G},yA=H=>{if(!s)switch(H.key){case"Enter":case" ":H.preventDefault(),zt(!Ye);break;case"Escape":zt(!1),qc(!1),Ac(!1);break;case"Tab":Ye&&(zt(!1),qc(!1),Ac(!1));break}},kA={width:Z||(r?"100%":"auto"),fontSize:p,fontWeight:_},mA={height:l,padding:h,backgroundColor:g||"#ffffff",border:Ie?void 0:"none",borderColor:d?N||"#dc3545":I||"#dee2e6",color:C||"#212529",borderRadius:q,borderWidth:T,fontWeight:_,transition:`all ${A} ${S}`},fA={backgroundColor:w||"#ffffff",maxHeight:u,borderRadius:q,borderWidth:T,boxShadow:P,transition:`opacity ${A} ${S}, transform ${A} ${S}`,position:"fixed",top:pe==="bottom"?$c.top+(B1.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:pe==="top"?window.innerHeight-$c.top+parseFloat(m.replace("rem",""))*16:"auto",left:Le==="left"?$c.left:"auto",right:Le==="right"?window.innerWidth-($c.left+$c.width):"auto",width:de||(r?$c.width:"auto"),zIndex:10001},Gw={width:y,height:y,color:L||"#6c757d","--icon-rotation":Ye?"rotate(180deg)":"rotate(0deg)"},gA={color:j||"#212529",marginBottom:f,fontWeight:_},vA={color:$||"#6c757d"},MA={color:N||"#dc3545",marginTop:v},_A=nA(),Je=At(e),Zw=Je?Se==="minutes"?`${Je.toLocaleDateString(Uw)} ${Je.getHours().toString().padStart(2,"0")}:${Je.getMinutes().toString().padStart(2,"0")}`:Je.toLocaleDateString(Uw):"",xA=!!Q&&(ae==="icon"||ae==="auto"&&!Je),LA=_e||(Je?`${eA}${Zw}`:Qq);return c.jsxs("div",{className:`${E.datePickerContainer} ${i}`,ref:SL,style:kA,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&c.jsx("label",{className:E.label,style:gA,children:n}),c.jsxs("button",{ref:B1,type:"button",onClick:()=>!s&&zt(!Ye),onKeyDown:yA,className:`
|
|
8170
8170
|
${E.datePickerButton}
|
|
8171
8171
|
${Ye?E.datePickerButtonOpen:""}
|
|
8172
8172
|
${s?E.datePickerButtonDisabled:""}
|
|
8173
|
-
`,style:mA,disabled:s,"aria-expanded":Ye,"aria-haspopup":"dialog","aria-label":LA,"aria-labelledby":n?`${n}-label`:void 0,children:[xA?c.jsx("span",{className:E.displayNode,"aria-hidden":!0,children:Q}):c.jsx("span",{className:`${E.datePickerLabel} ${Je?"":E.placeholder}`,style:Je?void 0:vA,children:Je?Zw:o}),be?c.jsx("span",{className:E.chevron,style:Gw,children:be}):c.jsx(N1,{fill:"var(--color-text)",className:`${E.chevron} ${Ye?E.chevronOpen:""}`,style:Gw})]}),d&&c.jsx("div",{className:E.errorMessage,style:MA,children:d}),Ye&&!s&&ow.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:E.dropdown,style:fA,role:"dialog","aria-label":Jq,children:[c.jsxs("div",{className:E.calendarHeader,children:[c.jsx("button",{type:"button",className:E.navButton,onClick:iA,"aria-label":Xq,children:"‹"}),c.jsxs("div",{className:E.headerSelectors,children:[c.jsxs("div",{className:E.monthSelector,ref:jL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>qc(!CL),style:{color:
|
|
8173
|
+
`,style:mA,disabled:s,"aria-expanded":Ye,"aria-haspopup":"dialog","aria-label":LA,"aria-labelledby":n?`${n}-label`:void 0,children:[xA?c.jsx("span",{className:E.displayNode,"aria-hidden":!0,children:Q}):c.jsx("span",{className:`${E.datePickerLabel} ${Je?"":E.placeholder}`,style:Je?void 0:vA,children:Je?Zw:o}),be?c.jsx("span",{className:E.chevron,style:Gw,children:be}):c.jsx(N1,{fill:"var(--color-text)",className:`${E.chevron} ${Ye?E.chevronOpen:""}`,style:Gw})]}),d&&c.jsx("div",{className:E.errorMessage,style:MA,children:d}),Ye&&!s&&ow.createPortal(c.jsxs("div",{id:"datepicker-dropdown",className:E.dropdown,style:fA,role:"dialog","aria-label":Jq,children:[c.jsxs("div",{className:E.calendarHeader,children:[c.jsx("button",{type:"button",className:E.navButton,onClick:iA,"aria-label":Xq,children:"‹"}),c.jsxs("div",{className:E.headerSelectors,children:[c.jsxs("div",{className:E.monthSelector,ref:jL,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>qc(!CL),style:{color:R,"--hover-color":b},children:[(jc||oj)[ee.getMonth()],c.jsx(N1,{fill:"var(--color-text)",className:`${E.selectorChevron} ${CL?E.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),CL&&c.jsx("div",{className:E.monthDropdown,children:(jc||oj).map((H,G)=>c.jsx("button",{type:"button",className:`${E.monthItem} ${ee.getMonth()===G?E.monthItemSelected:""}`,onClick:()=>hA(G),style:{padding:M,backgroundColor:ee.getMonth()===G?x||"#e7f1ff":w},onMouseEnter:me=>{b&&ee.getMonth()!==G&&(me.currentTarget.style.backgroundColor=b)},onMouseLeave:me=>{b&&(me.currentTarget.style.backgroundColor=ee.getMonth()===G?x||"#e7f1ff":w)},children:H},G))})]}),c.jsxs("div",{className:E.yearSelector,ref:$L,children:[c.jsxs("button",{type:"button",className:E.selectorButton,onClick:()=>Ac(!NL),style:{color:R,"--hover-color":b},children:[ee.getFullYear(),c.jsx(N1,{fill:"var(--color-text)",className:`${E.selectorChevron} ${NL?E.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),NL&&c.jsx("div",{className:E.yearDropdown,children:pA().map(H=>c.jsx("button",{type:"button",className:`${E.yearItem} ${ee.getFullYear()===H?E.yearItemSelected:""}`,onClick:()=>uA(H),style:{padding:M,backgroundColor:ee.getFullYear()===H?x||"#e7f1ff":w},onMouseEnter:G=>{b&&ee.getFullYear()!==H&&(G.currentTarget.style.backgroundColor=b)},onMouseLeave:G=>{b&&(G.currentTarget.style.backgroundColor=ee.getFullYear()===H?x||"#e7f1ff":w)},children:H},H))})]})]}),c.jsx("button",{type:"button",className:E.navButton,onClick:rA,"aria-label":Yq,children:"›"})]}),c.jsx("div",{className:E.weekdays,children:(O||bfe).map(H=>c.jsx("div",{className:E.weekday,style:{color:B},children:H},H))}),c.jsx("div",{className:E.calendarGrid,children:_A.map((H,G)=>{if(!H)return null;const me=oA(H,_L),R1=cA(H),ft=!!(mt&&H<mt||Sc&&H>Sc);return c.jsx("button",{type:"button",className:`${E.dateCell} ${me?E.dateCellSelected:""} ${me?E.dateCellOtherMonthSelected:""} ${R1?"":E.dateCellOtherMonth} ${ft?E.dateCellDisabled:""}`,onClick:()=>!ft&&sA(H),disabled:ft,style:{width:V,height:V,color:me?X:R1?D:F,backgroundColor:me?Y:"transparent",opacity:ft?.4:1,cursor:ft?"not-allowed":"pointer"},onMouseEnter:t1=>{!me&&!ft&&b&&(t1.currentTarget.style.backgroundColor=b)},onMouseLeave:t1=>{me||(t1.currentTarget.style.backgroundColor="transparent")},children:H.getDate()},G)})}),Se==="minutes"&&c.jsxs("div",{className:E.timePickerContainer,children:[c.jsxs("div",{className:E.timeGroup,children:[c.jsx("span",{className:E.timeLabel,children:he}),c.jsx("div",{className:E.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"23",value:LL,onChange:H=>{const G=parseInt(H.target.value);!isNaN(G)&&G>=0&&G<=23&&IL(G)},className:E.timeInput})})]}),c.jsx("span",{className:E.timeSeparator,children:":"}),c.jsxs("div",{className:E.timeGroup,children:[c.jsx("span",{className:E.timeLabel,children:we}),c.jsx("div",{className:E.timeInputWrapper,children:c.jsx("input",{type:"number",min:"0",max:"59",value:bL,onChange:H=>{const G=parseInt(H.target.value);!isNaN(G)&&G>=0&&G<=59&&wL(G)},className:E.timeInput})})]})]}),c.jsxs("div",{className:E.calendarFooter,children:[c.jsx("button",{type:"button",className:E.cancelButton,onClick:lA,style:{backgroundColor:re,color:ke,borderRadius:q,padding:M},children:Xe}),c.jsx("button",{type:"button",className:E.applyButton,onClick:dA,style:{backgroundColor:ze,color:se,borderRadius:q,padding:M},children:Kq})]})]}),document.body)]})},wfe="_selectContainer_1ptm9_1",Cfe="_label_1ptm9_15",Nfe="_selectButton_1ptm9_23",Sfe="_selectButtonDisabled_1ptm9_43",jfe="_selectButtonOpen_1ptm9_48",$fe="_selectButtonContent_1ptm9_58",qfe="_selectIcon_1ptm9_66",Afe="_selectLabel_1ptm9_72",zfe="_placeholder_1ptm9_79",Vfe="_chevron_1ptm9_84",Pfe="_errorMessage_1ptm9_93",Tfe="_dropdown_1ptm9_99",Hfe="_dropdownContent_1ptm9_123",Dfe="_item_1ptm9_129",Bfe="_itemSelected_1ptm9_151",Rfe="_itemContent_1ptm9_155",Ffe="_itemIcon_1ptm9_162",Efe="_itemLabel_1ptm9_168",fe={selectContainer:wfe,label:Cfe,selectButton:Nfe,selectButtonDisabled:Sfe,selectButtonOpen:jfe,selectButtonContent:$fe,selectIcon:qfe,selectLabel:Afe,placeholder:zfe,chevron:Vfe,errorMessage:Pfe,dropdown:Tfe,dropdownContent:Hfe,item:Dfe,itemSelected:Bfe,itemContent:Rfe,itemIcon:Ffe,itemLabel:Efe},Wq=({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:f="var(--select-icon-size, 1.5rem)",labelMarginBottom:v="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:m="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:M="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:_="var(--select-item-padding, 0.5rem 0.75rem)",gap:g="var(--select-gap, 0.5rem)",buttonBgColor:I,buttonBorderColor:C,buttonTextColor:w,dropdownBgColor:b,itemHoverColor:x,selectedItemBgColor:L,iconColor:N,errorColor:j,labelColor:$,placeholderColor:q,border:T,borderRadius:P="var(--select-border-radius, 0.5rem)",borderWidth:A="var(--select-border-width, 0.0625rem)",boxShadow:S="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:V="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:B="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:D="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:F="var(--select-scrollbar-thumb-color, #c1c1c1)",width:Y,minWidth:X,dropdownPosition:re="bottom",dropdownAlignment:ke="right",dropdownWidth:ze})=>{const[se,Z]=k.useState(!1),Q=k.useRef(null),ae=e.find(O=>O.value===t);k.useEffect(()=>{const O=Xe=>{Q.current&&!Q.current.contains(Xe.target)&&Z(!1)};return document.addEventListener("mousedown",O),()=>document.removeEventListener("mousedown",O)},[]);const _e=O=>{d||(n(O),Z(!1))},pe=O=>{if(!d)switch(O.key){case"Enter":case" ":O.preventDefault(),Z(!se);break;case"Escape":Z(!1);break;case"Tab":se&&Z(!1);break}},Le={width:Y||(s?"100%":"auto"),minWidth:X,fontSize:y},de={height:h,padding:u,backgroundColor:I||"var(--select-button-bg-color, #ffffff)",border:T,borderColor:l?j||"var(--select-error-color, #dc3545)":C||"var(--select-button-border-color, #dee2e6)",color:w||"var(--select-button-text-color, #212529)",borderRadius:P,borderWidth:A,transition:`all ${V} ${R}`},Ie={backgroundColor:b||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:P,borderWidth:A,boxShadow:S,transition:`opacity ${V} ${R}, transform ${V} ${R}`,position:"absolute",top:re==="bottom"?"100%":"auto",bottom:re==="top"?"100%":"auto",left:ke==="left"?0:"auto",right:ke==="right"?0:"auto",width:ze||(s?"100%":"auto"),marginTop:re==="bottom"?M:0,marginBottom:re==="top"?M:0,zIndex:1001},be={width:f,height:f,color:N||"var(--select-icon-color, #6c757d)","--icon-rotation":se?"rotate(180deg)":"rotate(0deg)"},Se={color:$||"var(--select-label-color, #212529)",marginBottom:v},he={color:q||"var(--select-placeholder-color, #6c757d)"},we={color:j||"var(--select-error-color, #dc3545)",marginTop:m},mt={padding:_,transition:`background-color ${V} ${R}`},Sc={gap:g},jc={"--scrollbar-width":B,"--scrollbar-track-color":D,"--scrollbar-thumb-color":F};return c.jsxs("div",{className:`${fe.selectContainer} ${r}`,ref:Q,style:Le,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,children:[o&&c.jsx("label",{className:fe.label,style:Se,children:o}),c.jsxs("button",{type:"button",onClick:()=>!d&&Z(!se),onKeyDown:pe,className:`
|
|
8174
8174
|
${fe.selectButton}
|
|
8175
8175
|
${se?fe.selectButtonOpen:""}
|
|
8176
8176
|
${d?fe.selectButtonDisabled:""}
|
|
8177
8177
|
`,style:de,disabled:d,"aria-expanded":se,"aria-haspopup":"listbox","aria-labelledby":o?`${o}-label`:void 0,children:[c.jsxs("div",{className:fe.selectButtonContent,style:Sc,children:[ae?.icon&&c.jsx("span",{className:fe.selectIcon,style:be,children:ae.icon}),c.jsx("span",{className:`${fe.selectLabel} ${ae?"":fe.placeholder}`,style:ae?void 0:he,children:ae?ae.label:i})]}),c.jsx(N1,{fill:"var(--color-text)",className:`${fe.chevron} ${se?fe.chevronOpen:""}`,style:be})]}),l&&c.jsx("div",{className:fe.errorMessage,style:we,children:l}),se&&!d&&c.jsx("div",{className:fe.dropdown,style:Ie,role:"listbox","aria-label":o||"Options de sélection",children:c.jsx("div",{className:fe.dropdownContent,style:jc,children:e.map(O=>c.jsx("button",{type:"button",onClick:()=>_e(O.value),className:`
|
|
8178
8178
|
${fe.item}
|
|
8179
8179
|
${t===O.value?fe.itemSelected:""}
|
|
8180
|
-
`,style:{...mt,backgroundColor:t===O.value?L||"#F0F4F6":"transparent"},onMouseEnter:Xe=>{x&&(Xe.currentTarget.style.backgroundColor=x)},onMouseLeave:Xe=>{x&&(Xe.currentTarget.style.backgroundColor=t===O.value?L||"#F0F4F6":"transparent")},role:"option","aria-selected":t===O.value,children:c.jsxs("div",{className:fe.itemContent,style:Sc,children:[O.icon&&c.jsx("span",{className:fe.itemIcon,style:be,children:O.icon}),c.jsx("span",{className:fe.itemLabel,children:O.label})]})},O.value))})})]})},Ofe="_filterBar_1hlqe_3",Ufe="_label_1hlqe_11",cj={filterBar:Ofe,label:Ufe},Wfe=({label:e="Filtres",startDate:t,endDate:n,granularity:o,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:l="Date début",endDatePlaceholder:h="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:m="0.75rem",labelFontSize:g="0.875rem",labelFontWeight:f="400",labelColor:M="#212529",labelMarginRight:_="1rem",startDateWidth:v,endDateWidth:I,selectWidth:C,datePickerProps:w={},selectProps:b={},rightContent:x,extraContent:L})=>{const N={fontSize:g,fontWeight:f,color:M,marginRight:_},j={gap:m};return c.jsxs("div",{className:`${cj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:cj.label,style:N,children:e}),c.jsx(nw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),c.jsx(nw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...w}),c.jsx(Wq,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:C,...b}),L,x&&c.jsx("div",{style:{marginLeft:"auto"},children:x})]})},Gfe="_container_1x6mq_16",Zfe="_disabled_1x6mq_26",Kfe="_predStyle_1x6mq_32",Xfe="_realStyle_1x6mq_36",Yfe="_predGap_1x6mq_40",Jfe="_realGap_1x6mq_44",Qfe="_big_1x6mq_49",e7e="_medium_1x6mq_53",t7e="_iconWrapper_1x6mq_58",a7e="_predRelative_1x6mq_68",n7e="_realRelative_1x6mq_72",o7e="_iconImg_1x6mq_76",c7e="_content_1x6mq_84",i7e="_header_1x6mq_93",r7e="_predJustify_1x6mq_99",s7e="_realJustify_1x6mq_103",d7e="_predHeaderLineHeight_1x6mq_116",l7e="_realHeaderLineHeight_1x6mq_120",h7e="_title_1x6mq_129",u7e="_titleBlack_1x6mq_144",p7e="_titleWhite_1x6mq_148",y7e="_subtitle_1x6mq_153",k7e="_valueRowHorizontal_1x6mq_163",m7e="_valueRowVertical_1x6mq_171",f7e="_singleValue_1x6mq_180",g7e="_primaryRow_1x6mq_184",v7e="_maxBadge_1x6mq_191",M7e="_valuePrimary_1x6mq_203",_7e="_valuePrimaryBlack_1x6mq_210",x7e="_valuePrimaryWhite_1x6mq_214",L7e="_valueSlash_1x6mq_219",I7e="_valueSecondary_1x6mq_226",b7e="_valueSecondaryBlue_1x6mq_232",w7e="_valueSecondaryWhite_1x6mq_236",C7e="_valueSecondaryBlack_1x6mq_240",N7e="_valueStacked_1x6mq_245",S7e="_stackedTop_1x6mq_254",j7e="_stackedBottom_1x6mq_255",ne={container:Gfe,disabled:Zfe,predStyle:Kfe,realStyle:Xfe,predGap:Yfe,realGap:Jfe,big:Qfe,medium:e7e,iconWrapper:t7e,predRelative:a7e,realRelative:n7e,iconImg:o7e,content:c7e,header:i7e,predJustify:r7e,realJustify:s7e,predHeaderLineHeight:d7e,realHeaderLineHeight:l7e,title:h7e,titleBlack:u7e,titleWhite:p7e,subtitle:y7e,valueRowHorizontal:k7e,valueRowVertical:m7e,singleValue:f7e,primaryRow:g7e,maxBadge:v7e,valuePrimary:M7e,valuePrimaryBlack:_7e,valuePrimaryWhite:x7e,valueSlash:L7e,valueSecondary:I7e,valueSecondaryBlue:b7e,valueSecondaryWhite:w7e,valueSecondaryBlack:C7e,valueStacked:N7e,stackedTop:S7e,stackedBottom:j7e},$7e=({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:C,secondaryFontWeight:w,backgroundColor:b="#f2f9fc",gap:x="",disabled:L=!1,positionRelative:N="",justifyContent:j="",headerLineHeight:$="",headerMinHeight:q="",contentSpace:H=""})=>{const P=o!==void 0?o:!!n,A=`${ne.container} ${ne[s]} ${ne[p]} ${L?ne.disabled:""}`,S=l==="white"?ne.valuePrimaryWhite:ne.valuePrimaryBlack,V=l==="blue"?ne.valueSecondaryBlue:l==="white"?ne.valueSecondaryWhite:ne.valueSecondaryBlack,T=X=>X===void 0?void 0:typeof X=="number"?`${X}px`:X,R=X=>X===void 0?void 0:X,B=y==="vertical",F=r!=null&&r!==""&&r!=="-"&&r!=="—",Y=B?ne.valueRowVertical:ne.valueRowHorizontal;return c.jsxs("div",{className:`${A} ${u}`,style:{backgroundColor:b},children:[e&&c.jsx("div",{className:`${ne.iconWrapper} ${ne[N]}`,children:e}),c.jsxs("div",{className:`${ne.content} ${ne[x]} ${F?"":ne.singleValue} content-indicator-v2`,style:{justifyContent:H},children:[c.jsx("div",{className:`${ne.header} ${ne[j]} ${ne[$]} header-indicator-v2`,style:{minHeight:q},children:c.jsx("h6",{className:`${ne.title}`,style:{fontSize:T(g),fontWeight:R(f),color:d},children:t})}),P&&n?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ne.subtitle,style:{fontSize:T(M),fontWeight:R(_)},children:n})}):null,c.jsxs("div",{className:`${Y} count-indicator-v2`,children:[c.jsxs("div",{className:ne.primaryRow,children:[m&&c.jsx("span",{className:`${ne.maxBadge} max-badge-indicator-v2`,children:"MAX"}),c.jsx("span",{className:`${ne.valuePrimary} ${S}`,style:{fontSize:T(v||(!F&&B?"1.75rem":void 0)),fontWeight:R(I),color:h||void 0},children:i})]}),F&&c.jsxs(c.Fragment,{children:[!B&&c.jsx("span",{className:ne.valueSlash,style:{fontSize:T(C),fontWeight:R(w)},children:"/"}),c.jsx("span",{className:`${ne.valueSecondary} ${V}`,style:{fontSize:T(C),fontWeight:R(w)},children:r})]})]})]})]})},q7e="_banner_f10in_2",A7e="_iep_f10in_14",z7e="_groupSmall_f10in_24",V7e="_genre_f10in_34",P7e="_gravite_f10in_42",T7e="_orientationContainer_f10in_48",H7e="_service_f10in_61",D7e="_roomBedContainer_f10in_71",B7e="_room_f10in_71",R7e="_bed_f10in_87",F7e="_bedUf_f10in_92",E7e="_statusContainer_f10in_97",O7e="_status_f10in_97",U7e="_centeredWarn_f10in_124",$e={banner:q7e,iep:A7e,groupSmall:z7e,genre:V7e,gravite:P7e,orientationContainer:T7e,service:H7e,roomBedContainer:D7e,room:B7e,bed:R7e,bedUf:F7e,statusContainer:E7e,status:O7e,centeredWarn:U7e},W7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},K.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),K.createElement("g",{mask:"url(#a)"},K.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),ij=k.memo(W7e),G7e=({patient:e,genre:t,gravite:n,bed:o,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:l="#ffffff",primaryFontColor:h="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:m="#9ca3af",genreFontSize: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(ij,{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(ij,{color:v,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),Z7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),K7e=k.memo(Z7e),X7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),Gq=k.memo(X7e),Y7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),J7e=k.memo(Y7e),Q7e="_overlay_1grjo_1",ege="_container_1grjo_11",tge="_fullscreen_1grjo_24",age="_header_1grjo_30",nge="_headerActions_1grjo_42",oge="_iconButton_1grjo_47",cge="_body_1grjo_58",ige="_sidebar_1grjo_65",rge="_content_1grjo_89",sge="_contentHeader_1grjo_96",dge="_childrenWrapper_1grjo_112",lge="_footer_1grjo_136",hge="_baseButton_1grjo_144",uge="_noOverlay_1grjo_158",pge="_contained_1grjo_166",ge={overlay:Q7e,container:ege,fullscreen:tge,header:age,headerActions:nge,iconButton:oge,body:cge,sidebar:ige,content:rge,contentHeader:sge,childrenWrapper:dge,footer:lge,baseButton:hge,noOverlay:uge,contained:pge},yge=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:o="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:l,children:h,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:m=!1,hideHeader:g=!1,hideSidebar:f=!1,onDelete:M,deleteLabel:_="Supprimer",width:v="75%",maxWidth:I="none",height:C="85%",maxHeight:w="85%",borderRadius:b="0.5rem",childrenPadding:x="1rem",overflow:L="auto",contentHeaderAction:N,contentFooterAction:j,hideFooter:$=!1,hideOverlay:q=!1,position:H})=>{const[P,A]=k.useState(!1),S=k.useRef(null);if(k.useEffect(()=>{if(!r||!q)return;const T=R=>{(R.type==="scroll"||R.type==="wheel"||R.type==="touchmove"||S.current&&!S.current.contains(R.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,R=!1)=>c.jsx(Xx,{onClick:T.disabled?void 0:T.onClick,className:ge.baseButton,disabled:T.disabled,style:{background:T.backgroundColor??(R?"#008FBB":"#ffffff"),color:T.textColor??(R?"#ffffff":"#374151"),border:T.borderColor||R?"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?ge.noOverlay:ge.overlay,onClick:s,children:c.jsxs("div",{ref:S,className:`${ge.container} ${P?ge.fullscreen:""} ${q?ge.contained:""}`,onClick:T=>T.stopPropagation(),style:{width:P?"100%":v,maxWidth:P?"none":I,height:P?"100%":C,maxHeight:P?"100%":w,borderRadius:P?"0":b,overflow:L,...H||{}},children:[!g&&c.jsxs("header",{className:ge.header,style:{backgroundColor:n},children:[c.jsx("h2",{style:{fontSize:o,fontWeight:i,color:t},children:e}),c.jsxs("div",{className:ge.headerActions,children:[!m&&c.jsx("button",{onClick:()=>A(!P),className:ge.iconButton,title:P?"Réduire":"Agrandir",children:P?c.jsx(J7e,{width:22,height:22,fill:t}):c.jsx(K7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:ge.iconButton,title:"Fermer",children:c.jsx(Gq,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:ge.body,style:{overflow:L},children:[y&&!f&&c.jsx("aside",{className:ge.sidebar,children:y}),c.jsxs("main",{className:ge.content,style:{backgroundColor:p,overflow:L},children:[u&&c.jsxs("header",{className:ge.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),N]}),c.jsx("div",{className:ge.childrenWrapper,style:{padding:x,overflow:L},children:h})]})]}),!$&&c.jsxs("footer",{className:ge.footer,style:{backgroundColor:n},children:[M&&c.jsx(Xx,{onClick:M,className:ge.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,V(d),V(l,!0)]})]})})},kge="_container_1vb1c_1",mge="_searchWrapper_1vb1c_10",fge="_navItems_1vb1c_17",Sb={container:kge,searchWrapper:mge,navItems:fge},gge=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:o="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>c.jsxs("div",{className:`${Sb.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:Sb.searchWrapper,children:c.jsx(Bq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:Sb.navItems,children:e.map(p=>c.jsx(Ow,{id:p.id,label:p.label,icon:p.icon,isActive:t===p.id,onClick:()=>r?.(p.id),activeColor:n,color:i,fontWeight:"600",fontSize:"0.75rem",padding:"0.75rem 1rem",iconGap:"0.5rem"},p.id))})]}),vge=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules",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),C=()=>M(!1),w=j=>{const $=j.title?.trim();$&&o&&o($),C()},b=(j,$)=>{j.stopPropagation(),v($)},x=()=>v(null),L=j=>{const $=j.title?.trim();_&&$&&i&&i(_,$),x()},N=(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(Oc,{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(g1,{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(St,{size:12,className:"action-icon delete",onClick:$=>N($,j)})]})]},j.id))}),c.jsx(Nc,{isOpen:f,onClose:C,onSave:w,title:d,fields:[{name:"title",label:l,placeholder:h}],confirmText:m,cancelText:g}),_&&c.jsx(Nc,{isOpen:!!_,onClose:x,onSave:L,title:u,initialValues:{title:_.title},fields:[{name:"title",label:p,placeholder:y}],confirmText:m,cancelText:g})]})},Mge=({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(""),C=k.useMemo(()=>{const A={};return Array.isArray(t)&&t.forEach(S=>{S&&S.language&&(A[S.language.toUpperCase()]=S.value)}),A},[t]),w=k.useMemo(()=>n,[n]),b=()=>{d(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):h(e)},x=A=>{A.key==="Enter"?b():A.key==="Escape"&&(h(e),d(!1))},L=A=>{const S=A.toUpperCase();p(S),m(C[S]||"")},N=()=>{u&&(o(u,y),p(null),m(""))},j=A=>{A.key==="Enter"?N():A.key==="Escape"&&(p(null),m(""))},$=()=>{f(!0),w.length>0&&_(w[0].toUpperCase()),I("")},q=()=>{M&&v.trim()&&(o(M,v.trim()),f(!1),_(""),I(""))},H=()=>{f(!1),_(""),I("")},P=A=>{A.key==="Enter"?q():A.key==="Escape"&&H()};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:A=>h(A.target.value),onBlur:b,onKeyDown:x,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(St,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(A=>{const S=A.toUpperCase(),V=C[S]||"",T=u===S;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:S}),T?c.jsx("input",{className:"translation-input editing",value:y,onChange:R=>m(R.target.value),onBlur:N,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${V?"":"empty"}`,onClick:()=>L(A),title:"Cliquer pour éditer",children:V||"Cliquer pour ajouter..."})]},A)}),g?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:M,onChange:A=>_(A.target.value),children:w.map(A=>c.jsx("option",{value:A.toUpperCase(),children:A.toUpperCase()},A))}),c.jsx("input",{className:"translation-input editing",value:v,onChange:A=>I(A.target.value),onKeyDown:P,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(p1,{size:18,className:"action-icon confirm",onClick:q}),c.jsx(Ge,{size:18,className:"action-icon cancel",onClick:H})]})]}):w.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Wc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},_ge="_overlay_1jz4r_1",xge="_modal_1jz4r_15",Lge="_body_1jz4r_27",Ige="_footer_1jz4r_46",bge="_confirmButton_1jz4r_55",wge="_danger_1jz4r_75",Cge="_cancelButton_1jz4r_83",vt={overlay:_ge,modal:xge,body:Lge,footer:Ige,confirmButton:bge,danger:wge,cancelButton:Cge},Nge=({isOpen:e,message:t,onConfirm:n,onCancel:o,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h})=>e?c.jsx("div",{className:vt.overlay,onClick:o,children:c.jsxs("div",{className:vt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:vt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:vt.footer,children:[c.jsx("button",{className:`${vt.confirmButton} ${s?vt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:vt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:vt.cancelButton,onClick:o,children:r})]})]})}):null,Sge="_card_1ildr_1",jge="_topIcon_1ildr_17",$ge="_title_1ildr_24",qge="_text_1ildr_31",Age="_bottomIcon_1ildr_37",i1={card:Sge,topIcon:jge,title:$ge,text:qge,bottomIcon:Age},zge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff"})=>c.jsxs("div",{className:`${i1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},children:[e&&c.jsx("div",{className:i1.topIcon,children:e}),c.jsx("h3",{className:i1.title,style:{color:s},children:t}),c.jsx("p",{className:i1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:i1.bottomIcon,children:o})]}),Vge="_container_1ry38_1",Pge="_disabled_1ry38_9",Tge="_selectBox_1ry38_14",Hge="_selectBoxOpen_1ry38_36",Dge="_tagsContainer_1ry38_41",Bge="_tag_1ry38_41",Rge="_tagLabel_1ry38_66",Fge="_removeBtnContainer_1ry38_72",Ege="_removeBtn_1ry38_72",Oge="_searchInput_1ry38_97",Uge="_placeholder_1ry38_117",Wge="_actions_1ry38_124",Gge="_clearBtn_1ry38_131",Zge="_chevron_1ry38_153",Kge="_chevronOpen_1ry38_159",Xge="_dropdown_1ry38_163",Yge="_option_1ry38_177",Jge="_noOptions_1ry38_189",Qge="_overflowBlock_1ry38_196",eve="_overflowEllipsis_1ry38_203",tve="_overflowBadge_1ry38_210",ave="_overflowBadgeWrap_1ry38_233",nve="_overflowDropdown_1ry38_239",ove="_overflowDropdownItem_1ry38_255",cve="_overflowDropdownItemLabel_1ry38_266",ive="_overflowDropdownItemRemove_1ry38_273",J={container:Vge,disabled:Pge,selectBox:Tge,selectBoxOpen:Hge,tagsContainer:Dge,tag:Bge,tagLabel:Rge,removeBtnContainer:Fge,removeBtn:Ege,searchInput:Oge,placeholder:Uge,actions:Wge,clearBtn:Gge,chevron:Zge,chevronOpen:Kge,dropdown:Xge,option:Yge,noOptions:Jge,overflowBlock:Qge,overflowEllipsis:eve,overflowBadge:tve,overflowBadgeWrap:ave,overflowDropdown:nve,overflowDropdownItem:ove,overflowDropdownItemLabel:cve,overflowDropdownItemRemove:ive},rve=({options:e,noOptionsMessage:t="",value:n,onChange:o,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1})=>{const[l,h]=k.useState(!1),[u,p]=k.useState(""),y=k.useRef(null),m=k.useRef(null),g=k.useRef(null),f=k.useRef(null),[M,_]=k.useState(null),[v,I]=k.useState(!1),C=k.useRef([]),w=k.useRef(null),b=k.useMemo(()=>{const S=new Map(e.map(V=>[V.value,V]));return n.map(V=>S.get(V)).filter(V=>V!==void 0)},[e,n]),x=k.useMemo(()=>e.filter(S=>!n.includes(S.value)),[e,n]),L=k.useMemo(()=>{let S=x;return u&&(S=S.filter(V=>V.label.toLowerCase().includes(u.toLowerCase()))),S},[x,u]);k.useEffect(()=>{const S=V=>{const T=V.target;y.current&&!y.current.contains(T)&&(h(!1),p(""),_(null),I(!1))};return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[]),k.useEffect(()=>{if(b.length===0){_(null),C.current=[];return}b.length>C.current.length&&_(null);const S=()=>{const B=g.current,F=f.current;if(!B||!F)return;const Y=F.getBoundingClientRect().width,X=F.querySelector(`.${J.actions}`),re=X?X.getBoundingClientRect().width:80,ke=56,ze=r?80:0,se=16,Z=Array.from(B.querySelectorAll(`.${J.tag}`));Z.length===b.length&&(C.current=Z.map(he=>{const we=he.getBoundingClientRect(),mt=he.scrollWidth;return Math.max(we.width,mt,he.offsetWidth||0)}));const Q=C.current,ae=Q.length>0?Q.reduce((he,we)=>he+we,0)/Q.length:120,_e=b.length<=Q.length?Q.slice(0,b.length):[...Q,...Array(b.length-Q.length).fill(ae)],pe=4,Le=Math.max(0,Y-re-ze-se);let de=0,Ie=0;for(let he=0;he<b.length;he++){const we=_e[he]??120;if(de+we+pe>Le)break;de+=we+pe,Ie++}if(Ie>=b.length){_(null);return}const be=Math.max(0,Y-ke-re-ze-se);de=0;let Se=0;for(let he=0;he<b.length;he++){const we=_e[he]??120;if(de+we+pe>be)break;de+=we+pe,Se++}Se<b.length&&Se>0?_(Se):_(null)},V=requestAnimationFrame(()=>{S()}),T=setTimeout(S,100),R=new ResizeObserver(()=>{S()});return f.current&&R.observe(f.current),()=>{cancelAnimationFrame(V),clearTimeout(T),R.disconnect()}},[b,r,l]);const N=()=>{if(d)return;const S=!l;S&&I(!1),h(S),S&&r&&setTimeout(()=>m.current?.focus(),0)},j=S=>{if(n.includes(S.value))return;I(!1);const V=[...b,S];o(V),p(""),_(null),h(!1)},$=S=>{S.preventDefault(),S.stopPropagation(),I(V=>!V)},q=M!=null&&M<b.length?b.slice(M):[],H=(S,V)=>{V.stopPropagation();const T=b.filter(R=>R.value!==S);o(T)},P=S=>{S.stopPropagation(),o([])},A=S=>{S.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:N,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((S,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:S.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:T=>H(S.value,T),"aria-label":`Supprimer ${S.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-${S.value}-${V}`)):b.map((S,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:S.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:T=>H(S.value,T),"aria-label":`Supprimer ${S.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-${S.value}-${V}`)),r?c.jsx("input",{ref:m,type:"text",className:J.searchInput,placeholder:b.length===0?i:"",value:u,onChange:S=>{p(S.target.value),l||h(!0)},onClick:A,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:w,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((S,V)=>c.jsxs("div",{className:J.overflowDropdownItem,children:[c.jsx("span",{className:J.overflowDropdownItemLabel,children:S.label}),c.jsx("button",{type:"button",className:J.overflowDropdownItemRemove,onClick:T=>{T.stopPropagation(),H(S.value,T)},"aria-label":`Supprimer ${S.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-${S.value}-${V}`))})]})]}),c.jsxs("div",{className:J.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:J.clearBtn,onClick:P,"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((S,V)=>c.jsx("div",{className:J.option,onClick:()=>j(S),role:"option","aria-selected":!1,children:S.label},`opt-${S.value}-${V}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},sve="_container_h7jek_1",dve={container:sve},lve=({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:dve.container,children:[c.jsx(bt,{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(bt,{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(bt,{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(bt,{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(bt,{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"}})]})},hve=({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})]}),uve="_container_1pt6c_1",pve="_chartContainer_1pt6c_14",yve="_legend_1pt6c_22",kve="_legendItem_1pt6c_29",mve="_leftSection_1pt6c_41",fve="_colorIndicator_1pt6c_47",gve="_label_1pt6c_54",vve="_rightSection_1pt6c_60",Mve="_ratio_1pt6c_66",_ve="_value1_1pt6c_73",xve="_separator_1pt6c_78",Lve="_value2_1pt6c_82",Ive="_statusIndicator_1pt6c_87",bve="_inactive_1pt6c_102",qe={container:uve,chartContainer:pve,legend:yve,legendItem:kve,leftSection:mve,colorIndicator:fve,label:gve,rightSection:vve,ratio:Mve,value1:_ve,separator:xve,value2:Lve,statusIndicator:Ive,inactive:bve},rj=Math.PI/180,wve=({data:e,height:t=400,bg:n,backgroundColor:o,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:m,separatorColor:g,borderColor:f,hideDonut:M=!0})=>{const[_,v]=k.useState(new Set(e.map(N=>N.nom))),I=N=>{const j=new Set(_);j.has(N)?j.size>1&&j.delete(N):j.add(N),v(j)},C={...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(N=>({...N,displayValue:_.has(N.nom)?N.value:0})),[e,_]),b=k.useMemo(()=>e.every(N=>N.value===0),[e]),x=k.useMemo(()=>b?1:w.reduce((N,j)=>N+j.displayValue,0)||1,[b,w]),L=k.useCallback(({cx:N,cy:j,midAngle:$,innerRadius:q,outerRadius:H,value:P})=>{if(P===0||b)return null;const A=q+(H-q)*.5,S=N+A*Math.cos(-$*rj),V=j+A*Math.sin(-$*rj),T=Math.round(P/x*100);return c.jsx(a.Text,{x:S,y:V,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${T}%`})},[x,b]);return c.jsxs("div",{className:`${qe.container} ${u}`,style:C,children:[!M&&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:b?[{displayValue:1,color:"#A3C2CB"}]:w,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:b?0:2,startAngle:90,endAngle:450,labelLine:!1,label:L,isAnimationActive:!1,children:b?c.jsx(a.Cell,{fill:"#A3C2CB"}):w.map((N,j)=>c.jsx(a.Cell,{fill:N.color},`cell-${j}`))})})})}),c.jsx("div",{className:qe.legend,children:e.map((N,j)=>{const $=_.has(N.nom);return c.jsxs("div",{className:`${qe.legendItem} ${!M&&!$?qe.inactive:""}`,onClick:()=>I(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:qe.leftSection,children:[c.jsx("div",{className:qe.colorIndicator,style:{backgroundColor:N.color,opacity:M||$?1:.3}}),c.jsx("span",{className:qe.label,style:{opacity:M||$?1:.5},children:N.nom})]}),c.jsxs("div",{className:qe.rightSection,style:{opacity:M||$?1:.5},children:[c.jsxs("div",{className:qe.ratio,children:[c.jsx("span",{className:qe.value1,children:N.value1}),c.jsx("span",{className:qe.separator,children:"/"}),c.jsx("span",{className:qe.value2,children:N.value2})]}),N.statusColor&&c.jsx("div",{className:qe.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${j}`)})})]})},Cve="_container_1pc4v_1",Nve="_leftGroup_1pc4v_10",Sve="_iconBtn_1pc4v_16",G1={container:Cve,leftGroup:Nve,iconBtn:Sve},jve=e=>K.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},K.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),$ve=k.memo(jve),qve=e=>K.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},K.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),Zq=k.memo(qve),Ave=({menuIcon:e,logoProps:t,actionIcon:n,style:o,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:l=1,height:h="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${l}px solid ${d}`,height:h,...o};return c.jsxs("header",{className:[G1.container,i].filter(Boolean).join(" "),style:y,children:[c.jsxs("div",{className:G1.leftGroup,children:[c.jsx("button",{className:G1.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??c.jsx($ve,{width:22,height:22})}),c.jsx(rL,{...t,size:"medium"})]}),c.jsx("button",{className:G1.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??c.jsx(Zq,{width:22,height:22})})]})},zve="_container_24g3e_1",Vve="_iconBtn_24g3e_10",Pve="_title_24g3e_22",Z1={container:zve,iconBtn:Vve,title:Pve},Tve=({title:e="Menu",closeIcon:t,actionIcon:n,style:o,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:l="transparent",borderBottomWidth:h=0,height:u="8vh",onClose:p,onAction:y})=>{const m={backgroundColor:s,color:d,borderBottom:`${h}px solid ${l}`,height:u,...o};return c.jsxs("div",{className:[Z1.container,i].filter(Boolean).join(" "),style:m,children:[c.jsx("button",{className:Z1.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??c.jsx(Gq,{width:22,height:22})}),c.jsx("span",{className:Z1.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),c.jsx("button",{className:Z1.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??c.jsx(Zq,{width:22,height:22})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=zge;exports.AddItemModal=Nc;exports.Alert=Ew;exports.AlertMessage=hve;exports.AlertsProvider=$ke;exports.BadgeList=sj;exports.BadgeRenderer=$q;exports.Button=Xx;exports.ChartContainer=Ske;exports.CheckboxInput=dq;exports.CircularProgress=jb;exports.ColorInput=yq;exports.ComponentVisibilityManager=Ab;exports.ComponentVisibilityToggle=Ume;exports.ConfirmationModal=Nge;exports.ConfirmationPopup=V3e;exports.CounterListBox=v3e;exports.CurrencyRenderer=zq;exports.DashboardSummary=Lme;exports.DataBoard=bt;exports.DataFourBoards=Rq;exports.DateInput=uq;exports.DatePicker=nw;exports.DateRenderer=qq;exports.DayStatCard=e2e;exports.DayStatCardV2=T6e;exports.DonutChartRatio=wve;exports.DraggableProvider=o2e;exports.DraggableSwitcherButton=Yx;exports.DynamicForm=Zye;exports.DynamicInput=kq;exports.EmailRenderer=Sq;exports.Encours=Pme;exports.EntryControl=f3e;exports.FileInput=hq;exports.FilterBar=Wfe;exports.FiltreEtiquette=rve;exports.FlexRowContainer=_3e;exports.Grid=hj;exports.Header=l2e;exports.HorizontalBarChart=D6e;exports.IconText=xj;exports.ImageRenderer=Vq;exports.IndicatorItemV2=$7e;exports.InfoBanner=G7e;exports.InputWrapper=yL;exports.LegendFilterProvider=i2e;exports.LegendFilterSwitcherButton=Jx;exports.LinkRenderer=jq;exports.ListContentContainer=x3e;exports.Logo=rL;exports.MetricsPanel=Hq;exports.MobileMenuHeader=Tve;exports.MobileNavMenu=Oq;exports.MobileTopBar=Ave;exports.ModuleHeader=e3e;exports.ModuleSideBar=t3e;exports.ModuleSideBarV2=vge;exports.NavBar=uj;exports.NavBarV2=n8e;exports.NavItem=$b;exports.NavItemV2=Ow;exports.NavProvider=t2e;exports.NumberRenderer=Aq;exports.PeriodSelect=Tke;exports.PopUp=yge;exports.RadioInput=lq;exports.RangeInput=pq;exports.ScrollableHorizontale=Lj;exports.SearchBar=Bq;exports.Select=Wq;exports.SelectFilter=kme;exports.SelectInput=Dw;exports.SettingNavBar=gge;exports.ShowDataProvider=r2e;exports.ShowDataSwitcherButton=Qx;exports.SideComponent=Dke;exports.SimpleListBox=g3e;exports.SubHeaderContent=N8e;exports.SubHeaderNavItem=Eq;exports.SubHeaderTitle=d8e;exports.SubNavBar=h2e;exports.SummaryAvailable=lve;exports.SummaryCard=Tq;exports.Switcher=V1;exports.TableLayout=Uq;exports.TableauDynamique=Pq;exports.TableauDynamiqueSafePagination=V5e;exports.TableauxComponent=Uq;exports.TextInput=rq;exports.TextRenderer=Nq;exports.TextareaInput=sq;exports.ThemeProvider=a2e;exports.ThemeSwitcher=S8e;exports.ThemeSwitcherButton=qb;exports.Title=Eke;exports.TranslationKey=a3e;exports.TranslationKeyV2=Mge;exports.TrendItem=Ij;exports.TrendList=iue;exports.TrendListBox=M3e;exports.UserInfo=Fq;exports.alertModels=Ake;exports.getFormSchema=Kye;exports.hexToRgba=Ct;exports.registerRenderer=b5e;exports.tableConfig=aw;exports.useAlerts=qke;exports.useBodyScrollLock=Bke;exports.useConfirmationPopup=P3e;exports.useDraggableSwitcher=mj;exports.useFilters=wq;exports.useLegendFilterSwitcher=gj;exports.useNavigation=it;exports.useShowDataSwitcher=Mj;exports.useTableData=Cq;exports.useThemeContext=yj;exports.useThemeSwitcher=sL;exports.validateField=iL;exports.validateForm=iq;
|
|
8180
|
+
`,style:{...mt,backgroundColor:t===O.value?L||"#F0F4F6":"transparent"},onMouseEnter:Xe=>{x&&(Xe.currentTarget.style.backgroundColor=x)},onMouseLeave:Xe=>{x&&(Xe.currentTarget.style.backgroundColor=t===O.value?L||"#F0F4F6":"transparent")},role:"option","aria-selected":t===O.value,children:c.jsxs("div",{className:fe.itemContent,style:Sc,children:[O.icon&&c.jsx("span",{className:fe.itemIcon,style:be,children:O.icon}),c.jsx("span",{className:fe.itemLabel,children:O.label})]})},O.value))})})]})},Ofe="_filterBar_1hlqe_3",Ufe="_label_1hlqe_11",cj={filterBar:Ofe,label:Ufe},Wfe=({label:e="Filtres",startDate:t,endDate:n,granularity:o,onStartDateChange:i,onEndDateChange:r,onGranularityChange:s,granularityItems:d,startDatePlaceholder:l="Date début",endDatePlaceholder:h="Date fin",granularityPlaceholder:u="Sélectionner...",className:p="",disabled:y=!1,gap:f="0.75rem",labelFontSize:v="0.875rem",labelFontWeight:m="400",labelColor:M="#212529",labelMarginRight:_="1rem",startDateWidth:g,endDateWidth:I,selectWidth:C,datePickerProps:w={},selectProps:b={},rightContent:x,extraContent:L})=>{const N={fontSize:v,fontWeight:m,color:M,marginRight:_},j={gap:f};return c.jsxs("div",{className:`${cj.filterBar} ${p}`,style:j,children:[e&&c.jsx("span",{className:cj.label,style:N,children:e}),c.jsx(nw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:g,...w}),c.jsx(nw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...w}),c.jsx(Wq,{items:d,value:o,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:C,...b}),L,x&&c.jsx("div",{style:{marginLeft:"auto"},children:x})]})},Gfe="_container_1x6mq_16",Zfe="_disabled_1x6mq_26",Kfe="_predStyle_1x6mq_32",Xfe="_realStyle_1x6mq_36",Yfe="_predGap_1x6mq_40",Jfe="_realGap_1x6mq_44",Qfe="_big_1x6mq_49",e7e="_medium_1x6mq_53",t7e="_iconWrapper_1x6mq_58",a7e="_predRelative_1x6mq_68",n7e="_realRelative_1x6mq_72",o7e="_iconImg_1x6mq_76",c7e="_content_1x6mq_84",i7e="_header_1x6mq_93",r7e="_predJustify_1x6mq_99",s7e="_realJustify_1x6mq_103",d7e="_predHeaderLineHeight_1x6mq_116",l7e="_realHeaderLineHeight_1x6mq_120",h7e="_title_1x6mq_129",u7e="_titleBlack_1x6mq_144",p7e="_titleWhite_1x6mq_148",y7e="_subtitle_1x6mq_153",k7e="_valueRowHorizontal_1x6mq_163",m7e="_valueRowVertical_1x6mq_171",f7e="_singleValue_1x6mq_180",g7e="_primaryRow_1x6mq_184",v7e="_maxBadge_1x6mq_191",M7e="_valuePrimary_1x6mq_203",_7e="_valuePrimaryBlack_1x6mq_210",x7e="_valuePrimaryWhite_1x6mq_214",L7e="_valueSlash_1x6mq_219",I7e="_valueSecondary_1x6mq_226",b7e="_valueSecondaryBlue_1x6mq_232",w7e="_valueSecondaryWhite_1x6mq_236",C7e="_valueSecondaryBlack_1x6mq_240",N7e="_valueStacked_1x6mq_245",S7e="_stackedTop_1x6mq_254",j7e="_stackedBottom_1x6mq_255",ne={container:Gfe,disabled:Zfe,predStyle:Kfe,realStyle:Xfe,predGap:Yfe,realGap:Jfe,big:Qfe,medium:e7e,iconWrapper:t7e,predRelative:a7e,realRelative:n7e,iconImg:o7e,content:c7e,header:i7e,predJustify:r7e,realJustify:s7e,predHeaderLineHeight:d7e,realHeaderLineHeight:l7e,title:h7e,titleBlack:u7e,titleWhite:p7e,subtitle:y7e,valueRowHorizontal:k7e,valueRowVertical:m7e,singleValue:f7e,primaryRow:g7e,maxBadge:v7e,valuePrimary:M7e,valuePrimaryBlack:_7e,valuePrimaryWhite:x7e,valueSlash:L7e,valueSecondary:I7e,valueSecondaryBlue:b7e,valueSecondaryWhite:w7e,valueSecondaryBlack:C7e,valueStacked:N7e,stackedTop:S7e,stackedBottom:j7e},$7e=({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:f=!1,titleFontSize:v,titleFontWeight:m,subtitleFontSize:M,subtitleFontWeight:_,primaryFontSize:g,primaryFontWeight:I,secondaryFontSize:C,secondaryFontWeight:w,backgroundColor:b="#f2f9fc",gap:x="",disabled:L=!1,positionRelative:N="",justifyContent:j="",headerLineHeight:$="",headerMinHeight:q="",contentSpace:T=""})=>{const P=o!==void 0?o:!!n,A=`${ne.container} ${ne[s]} ${ne[p]} ${L?ne.disabled:""}`,S=l==="white"?ne.valuePrimaryWhite:ne.valuePrimaryBlack,V=l==="blue"?ne.valueSecondaryBlue:l==="white"?ne.valueSecondaryWhite:ne.valueSecondaryBlack,R=X=>X===void 0?void 0:typeof X=="number"?`${X}px`:X,B=X=>X===void 0?void 0:X,D=y==="vertical",F=r!=null&&r!==""&&r!=="-"&&r!=="—",Y=D?ne.valueRowVertical:ne.valueRowHorizontal;return c.jsxs("div",{className:`${A} ${u}`,style:{backgroundColor:b},children:[e&&c.jsx("div",{className:`${ne.iconWrapper} ${ne[N]}`,children:e}),c.jsxs("div",{className:`${ne.content} ${ne[x]} ${F?"":ne.singleValue} content-indicator-v2`,style:{justifyContent:T},children:[c.jsx("div",{className:`${ne.header} ${ne[j]} ${ne[$]} header-indicator-v2`,style:{minHeight:q},children:c.jsx("h6",{className:`${ne.title}`,style:{fontSize:R(v),fontWeight:B(m),color:d},children:t})}),P&&n?c.jsx("div",{className:"subtitle-container",children:c.jsx("span",{className:ne.subtitle,style:{fontSize:R(M),fontWeight:B(_)},children:n})}):null,c.jsxs("div",{className:`${Y} count-indicator-v2`,children:[c.jsxs("div",{className:ne.primaryRow,children:[f&&c.jsx("span",{className:`${ne.maxBadge} max-badge-indicator-v2`,children:"MAX"}),c.jsx("span",{className:`${ne.valuePrimary} ${S}`,style:{fontSize:R(g||(!F&&D?"1.75rem":void 0)),fontWeight:B(I),color:h||void 0},children:i})]}),F&&c.jsxs(c.Fragment,{children:[!D&&c.jsx("span",{className:ne.valueSlash,style:{fontSize:R(C),fontWeight:B(w)},children:"/"}),c.jsx("span",{className:`${ne.valueSecondary} ${V}`,style:{fontSize:R(C),fontWeight:B(w)},children:r})]})]})]})]})},q7e="_banner_f10in_2",A7e="_iep_f10in_14",z7e="_groupSmall_f10in_24",V7e="_genre_f10in_34",P7e="_gravite_f10in_42",T7e="_orientationContainer_f10in_48",H7e="_service_f10in_61",D7e="_roomBedContainer_f10in_71",B7e="_room_f10in_71",R7e="_bed_f10in_87",F7e="_bedUf_f10in_92",E7e="_statusContainer_f10in_97",O7e="_status_f10in_97",U7e="_centeredWarn_f10in_124",$e={banner:q7e,iep:A7e,groupSmall:z7e,genre:V7e,gravite:P7e,orientationContainer:T7e,service:H7e,roomBedContainer:D7e,room:B7e,bed:R7e,bedUf:F7e,statusContainer:E7e,status:O7e,centeredWarn:U7e},W7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},K.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},K.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),K.createElement("g",{mask:"url(#a)"},K.createElement("path",{fill:"#C60000",d:"M.666 14 7.999 1.333 15.333 14zm2.3-1.333h10.067L7.999 4zm5.508-.859a.65.65 0 0 0 .192-.475.65.65 0 0 0-.192-.475.65.65 0 0 0-.475-.191.65.65 0 0 0-.475.191.65.65 0 0 0-.191.475q0 .285.191.475A.65.65 0 0 0 8 12a.65.65 0 0 0 .475-.192M7.333 10h1.333V6.667H7.333z"}))),ij=k.memo(W7e),G7e=({patient:e,genre:t,gravite:n,bed:o,bed_uf:i,room:r,orientation:s,status:d,backgroundColor:l="#ffffff",primaryFontColor:h="#111827",secondaryFontColor:u="#6b7280",statusFontColor:p="#0284c7",statusBackgroundColor:y="#e0f2fe",genreBackgroundColor:f="#9ca3af",genreFontSize:v,style:m,warn:M=!1,warnMessage:_,warnColor:g="#F94134"})=>c.jsxs("div",{className:$e.banner,style:{backgroundColor:l,...m},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:f,fontSize:v},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(ij,{color:g,width:20,height:20,style:{marginRight:"6px"}}),c.jsx("span",{style:{color:g,fontSize:"12px",fontWeight:600},children:_})]}),d&&M&&c.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:g,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[c.jsx(ij,{color:g,width:12,height:12,style:{marginRight:"4px"}}),c.jsx("span",{children:_})]})]})]}),Z7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),K7e=k.memo(Z7e),X7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"m249-207-42-42 231-231-231-231 42-42 231 231 231-231 42 42-231 231 231 231-42 42-231-231z"})),Gq=k.memo(X7e),Y7e=e=>K.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},K.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),J7e=k.memo(Y7e),Q7e="_overlay_1grjo_1",ege="_container_1grjo_11",tge="_fullscreen_1grjo_24",age="_header_1grjo_30",nge="_headerActions_1grjo_42",oge="_iconButton_1grjo_47",cge="_body_1grjo_58",ige="_sidebar_1grjo_65",rge="_content_1grjo_89",sge="_contentHeader_1grjo_96",dge="_childrenWrapper_1grjo_112",lge="_footer_1grjo_136",hge="_baseButton_1grjo_144",uge="_noOverlay_1grjo_158",pge="_contained_1grjo_166",ge={overlay:Q7e,container:ege,fullscreen:tge,header:age,headerActions:nge,iconButton:oge,body:cge,sidebar:ige,content:rge,contentHeader:sge,childrenWrapper:dge,footer:lge,baseButton:hge,noOverlay:uge,contained:pge},yge=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:o="1rem",headerFontWeight:i="600",isOpen:r,onClose:s,leftButton:d,rightButton:l,children:h,contentTitle:u,contentBackgroundColor:p="var(--color-content-background)",sideContent:y,hideMaximize:f=!1,hideHeader:v=!1,hideSidebar:m=!1,onDelete:M,deleteLabel:_="Supprimer",width:g="75%",maxWidth:I="none",height:C="85%",maxHeight:w="85%",borderRadius:b="0.5rem",childrenPadding:x="1rem",overflow:L="auto",contentHeaderAction:N,contentFooterAction:j,hideFooter:$=!1,hideOverlay:q=!1,position:T,headerA11yConfig:P})=>{const[A,S]=k.useState(!1),V=k.useRef(null);if(k.useEffect(()=>{if(!r||!q)return;const B=D=>{(D.type==="scroll"||D.type==="wheel"||D.type==="touchmove"||V.current&&!V.current.contains(D.target))&&s()};return document.addEventListener("mousedown",B),document.addEventListener("scroll",B,!0),document.addEventListener("wheel",B,{passive:!0,capture:!0}),document.addEventListener("touchmove",B,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",B),document.removeEventListener("scroll",B,!0),document.removeEventListener("wheel",B,!0),document.removeEventListener("touchmove",B,!0)}},[r,q,s]),!r)return null;const R=(B,D=!1)=>c.jsx(Xx,{onClick:B.disabled?void 0:B.onClick,className:ge.baseButton,disabled:B.disabled,style:{background:B.backgroundColor??(D?"#008FBB":"#ffffff"),color:B.textColor??(D?"#ffffff":"#374151"),border:B.borderColor||D?"none":void 0,cursor:B.disabled?B.cursor??"not-allowed":B.cursor??"pointer",filter:B.disabled?B.filter??"grayscale(0.5)":B.filter??"none",opacity:B.disabled?.65:1},children:B.text});return c.jsx("div",{className:q?ge.noOverlay:ge.overlay,onClick:s,children:c.jsxs("div",{ref:V,className:`${ge.container} ${A?ge.fullscreen:""} ${q?ge.contained:""}`,onClick:B=>B.stopPropagation(),style:{width:A?"100%":g,maxWidth:A?"none":I,height:A?"100%":C,maxHeight:A?"100%":w,borderRadius:A?"0":b,overflow:L,...T||{}},children:[!v&&c.jsxs("header",{className:ge.header,style:{backgroundColor:n},children:[c.jsx("h2",{title:P?.mode==="guide"?P.description:P?.mode==="key"?P.key:void 0,style:{fontSize:o,fontWeight:i,color:t},children:e}),c.jsxs("div",{className:ge.headerActions,children:[!f&&c.jsx("button",{onClick:()=>S(!A),className:ge.iconButton,title:A?"Réduire":"Agrandir",children:A?c.jsx(J7e,{width:22,height:22,fill:t}):c.jsx(K7e,{width:22,height:22,fill:t})}),c.jsx("button",{onClick:s,className:ge.iconButton,title:"Fermer",children:c.jsx(Gq,{width:22,height:22,fill:t})})]})]}),c.jsxs("div",{className:ge.body,style:{overflow:L},children:[y&&!m&&c.jsx("aside",{className:ge.sidebar,children:y}),c.jsxs("main",{className:ge.content,style:{backgroundColor:p,overflow:L},children:[u&&c.jsxs("header",{className:ge.contentHeader,style:{backgroundColor:n},children:[c.jsx("span",{style:{color:t},children:u}),N]}),c.jsx("div",{className:ge.childrenWrapper,style:{padding:x,overflow:L},children:h})]})]}),!$&&c.jsxs("footer",{className:ge.footer,style:{backgroundColor:n},children:[M&&c.jsx(Xx,{onClick:M,className:ge.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:_}),j,R(d),R(l,!0)]})]})})},kge="_container_1vb1c_1",mge="_searchWrapper_1vb1c_10",fge="_navItems_1vb1c_17",Sb={container:kge,searchWrapper:mge,navItems:fge},gge=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:o="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>c.jsxs("div",{className:`${Sb.container} ${u}`,style:{width:h,backgroundColor:o,color:i},children:[c.jsx("div",{className:Sb.searchWrapper,children:c.jsx(Bq,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),c.jsx("div",{className:Sb.navItems,children:e.map(p=>c.jsx(Ow,{id:p.id,label:p.label,icon:p.icon,isActive:t===p.id,onClick:()=>r?.(p.id),activeColor:n,color:i,fontWeight:"600",fontSize:"0.75rem",padding:"0.75rem 1rem",iconGap:"0.5rem"},p.id))})]}),vge=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:o,onEditModule:i,onDeleteModule:r,title:s="Modules",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:f="Valider",cancelText:v="Annuler"})=>{const[m,M]=k.useState(!1),[_,g]=k.useState(null),I=()=>M(!0),C=()=>M(!1),w=j=>{const $=j.title?.trim();$&&o&&o($),C()},b=(j,$)=>{j.stopPropagation(),g($)},x=()=>g(null),L=j=>{const $=j.title?.trim();_&&$&&i&&i(_,$),x()},N=(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(Oc,{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(g1,{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(St,{size:12,className:"action-icon delete",onClick:$=>N($,j)})]})]},j.id))}),c.jsx(Nc,{isOpen:m,onClose:C,onSave:w,title:d,fields:[{name:"title",label:l,placeholder:h}],confirmText:f,cancelText:v}),_&&c.jsx(Nc,{isOpen:!!_,onClose:x,onSave:L,title:u,initialValues:{title:_.title},fields:[{name:"title",label:p,placeholder:y}],confirmText:f,cancelText:v})]})},Mge=({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,f]=k.useState(""),[v,m]=k.useState(!1),[M,_]=k.useState(""),[g,I]=k.useState(""),C=k.useMemo(()=>{const A={};return Array.isArray(t)&&t.forEach(S=>{S&&S.language&&(A[S.language.toUpperCase()]=S.value)}),A},[t]),w=k.useMemo(()=>n,[n]),b=()=>{d(!1),l!==e&&l.trim()!==""?i&&i(l.trim()):h(e)},x=A=>{A.key==="Enter"?b():A.key==="Escape"&&(h(e),d(!1))},L=A=>{const S=A.toUpperCase();p(S),f(C[S]||"")},N=()=>{u&&(o(u,y),p(null),f(""))},j=A=>{A.key==="Enter"?N():A.key==="Escape"&&(p(null),f(""))},$=()=>{m(!0),w.length>0&&_(w[0].toUpperCase()),I("")},q=()=>{M&&g.trim()&&(o(M,g.trim()),m(!1),_(""),I(""))},T=()=>{m(!1),_(""),I("")},P=A=>{A.key==="Enter"?q():A.key==="Escape"&&T()};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:A=>h(A.target.value),onBlur:b,onKeyDown:x,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(St,{size:16,className:"action-icon delete",onClick:r})]})]}),c.jsxs("div",{className:"translations-list",children:[n.map(A=>{const S=A.toUpperCase(),V=C[S]||"",R=u===S;return c.jsxs("div",{className:"lang-row",children:[c.jsx("div",{className:"lang-label",children:S}),R?c.jsx("input",{className:"translation-input editing",value:y,onChange:B=>f(B.target.value),onBlur:N,onKeyDown:j,placeholder:"Entrez la traduction...",autoFocus:!0}):c.jsx("div",{className:`translation-value ${V?"":"empty"}`,onClick:()=>L(A),title:"Cliquer pour éditer",children:V||"Cliquer pour ajouter..."})]},A)}),v?c.jsxs("div",{className:"lang-row add-row",children:[c.jsx("select",{className:"lang-select",value:M,onChange:A=>_(A.target.value),children:w.map(A=>c.jsx("option",{value:A.toUpperCase(),children:A.toUpperCase()},A))}),c.jsx("input",{className:"translation-input editing",value:g,onChange:A=>I(A.target.value),onKeyDown:P,placeholder:"Mot",autoFocus:!0}),c.jsxs("div",{className:"add-actions",children:[c.jsx(p1,{size:18,className:"action-icon confirm",onClick:q}),c.jsx(Ge,{size:18,className:"action-icon cancel",onClick:T})]})]}):w.length>0&&c.jsxs("button",{className:"add-translation-btn",onClick:$,children:[c.jsx(Wc,{size:16}),c.jsx("span",{children:"Ajouter"})]})]})]})},_ge="_overlay_1jz4r_1",xge="_modal_1jz4r_15",Lge="_body_1jz4r_27",Ige="_footer_1jz4r_46",bge="_confirmButton_1jz4r_55",wge="_danger_1jz4r_75",Cge="_cancelButton_1jz4r_83",vt={overlay:_ge,modal:xge,body:Lge,footer:Ige,confirmButton:bge,danger:wge,cancelButton:Cge},Nge=({isOpen:e,message:t,onConfirm:n,onCancel:o,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h})=>e?c.jsx("div",{className:vt.overlay,onClick:o,children:c.jsxs("div",{className:vt.modal,onClick:u=>u.stopPropagation(),children:[c.jsx("div",{className:vt.body,children:typeof t=="string"?c.jsx("p",{children:t}):t}),!d&&c.jsxs("div",{className:vt.footer,children:[c.jsx("button",{className:`${vt.confirmButton} ${s?vt.danger:""}`,onClick:n,children:i}),l&&h&&c.jsx("button",{className:vt.confirmButton,onClick:h,children:l}),c.jsx("button",{className:vt.cancelButton,onClick:o,children:r})]})]})}):null,Sge="_card_1ildr_1",jge="_topIcon_1ildr_17",$ge="_title_1ildr_24",qge="_text_1ildr_31",Age="_bottomIcon_1ildr_37",i1={card:Sge,topIcon:jge,title:$ge,text:qge,bottomIcon:Age},zge=({topIcon:e,title:t,text:n,bottomIcon:o,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff"})=>c.jsxs("div",{className:`${i1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},children:[e&&c.jsx("div",{className:i1.topIcon,children:e}),c.jsx("h3",{className:i1.title,style:{color:s},children:t}),c.jsx("p",{className:i1.text,style:{color:d},children:n}),o&&c.jsx("div",{className:i1.bottomIcon,children:o})]}),Vge="_container_1ry38_1",Pge="_disabled_1ry38_9",Tge="_selectBox_1ry38_14",Hge="_selectBoxOpen_1ry38_36",Dge="_tagsContainer_1ry38_41",Bge="_tag_1ry38_41",Rge="_tagLabel_1ry38_66",Fge="_removeBtnContainer_1ry38_72",Ege="_removeBtn_1ry38_72",Oge="_searchInput_1ry38_97",Uge="_placeholder_1ry38_117",Wge="_actions_1ry38_124",Gge="_clearBtn_1ry38_131",Zge="_chevron_1ry38_153",Kge="_chevronOpen_1ry38_159",Xge="_dropdown_1ry38_163",Yge="_option_1ry38_177",Jge="_noOptions_1ry38_189",Qge="_overflowBlock_1ry38_196",eve="_overflowEllipsis_1ry38_203",tve="_overflowBadge_1ry38_210",ave="_overflowBadgeWrap_1ry38_233",nve="_overflowDropdown_1ry38_239",ove="_overflowDropdownItem_1ry38_255",cve="_overflowDropdownItemLabel_1ry38_266",ive="_overflowDropdownItemRemove_1ry38_273",J={container:Vge,disabled:Pge,selectBox:Tge,selectBoxOpen:Hge,tagsContainer:Dge,tag:Bge,tagLabel:Rge,removeBtnContainer:Fge,removeBtn:Ege,searchInput:Oge,placeholder:Uge,actions:Wge,clearBtn:Gge,chevron:Zge,chevronOpen:Kge,dropdown:Xge,option:Yge,noOptions:Jge,overflowBlock:Qge,overflowEllipsis:eve,overflowBadge:tve,overflowBadgeWrap:ave,overflowDropdown:nve,overflowDropdownItem:ove,overflowDropdownItemLabel:cve,overflowDropdownItemRemove:ive},rve=({options:e,noOptionsMessage:t="",value:n,onChange:o,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1})=>{const[l,h]=k.useState(!1),[u,p]=k.useState(""),y=k.useRef(null),f=k.useRef(null),v=k.useRef(null),m=k.useRef(null),[M,_]=k.useState(null),[g,I]=k.useState(!1),C=k.useRef([]),w=k.useRef(null),b=k.useMemo(()=>{const S=new Map(e.map(V=>[V.value,V]));return n.map(V=>S.get(V)).filter(V=>V!==void 0)},[e,n]),x=k.useMemo(()=>e.filter(S=>!n.includes(S.value)),[e,n]),L=k.useMemo(()=>{let S=x;return u&&(S=S.filter(V=>V.label.toLowerCase().includes(u.toLowerCase()))),S},[x,u]);k.useEffect(()=>{const S=V=>{const R=V.target;y.current&&!y.current.contains(R)&&(h(!1),p(""),_(null),I(!1))};return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[]),k.useEffect(()=>{if(b.length===0){_(null),C.current=[];return}b.length>C.current.length&&_(null);const S=()=>{const D=v.current,F=m.current;if(!D||!F)return;const Y=F.getBoundingClientRect().width,X=F.querySelector(`.${J.actions}`),re=X?X.getBoundingClientRect().width:80,ke=56,ze=r?80:0,se=16,Z=Array.from(D.querySelectorAll(`.${J.tag}`));Z.length===b.length&&(C.current=Z.map(he=>{const we=he.getBoundingClientRect(),mt=he.scrollWidth;return Math.max(we.width,mt,he.offsetWidth||0)}));const Q=C.current,ae=Q.length>0?Q.reduce((he,we)=>he+we,0)/Q.length:120,_e=b.length<=Q.length?Q.slice(0,b.length):[...Q,...Array(b.length-Q.length).fill(ae)],pe=4,Le=Math.max(0,Y-re-ze-se);let de=0,Ie=0;for(let he=0;he<b.length;he++){const we=_e[he]??120;if(de+we+pe>Le)break;de+=we+pe,Ie++}if(Ie>=b.length){_(null);return}const be=Math.max(0,Y-ke-re-ze-se);de=0;let Se=0;for(let he=0;he<b.length;he++){const we=_e[he]??120;if(de+we+pe>be)break;de+=we+pe,Se++}Se<b.length&&Se>0?_(Se):_(null)},V=requestAnimationFrame(()=>{S()}),R=setTimeout(S,100),B=new ResizeObserver(()=>{S()});return m.current&&B.observe(m.current),()=>{cancelAnimationFrame(V),clearTimeout(R),B.disconnect()}},[b,r,l]);const N=()=>{if(d)return;const S=!l;S&&I(!1),h(S),S&&r&&setTimeout(()=>f.current?.focus(),0)},j=S=>{if(n.includes(S.value))return;I(!1);const V=[...b,S];o(V),p(""),_(null),h(!1)},$=S=>{S.preventDefault(),S.stopPropagation(),I(V=>!V)},q=M!=null&&M<b.length?b.slice(M):[],T=(S,V)=>{V.stopPropagation();const R=b.filter(B=>B.value!==S);o(R)},P=S=>{S.stopPropagation(),o([])},A=S=>{S.stopPropagation(),l||h(!0)};return c.jsxs("div",{className:`${J.container} ${s} ${d?J.disabled:""}`,ref:y,children:[c.jsxs("div",{ref:m,className:`${J.selectBox} ${l?J.selectBoxOpen:""}`,onClick:N,role:"combobox","aria-expanded":l,"aria-haspopup":"listbox",children:[c.jsxs("div",{className:J.tagsContainer,ref:v,children:[M!==null&&M>0?b.slice(0,M).map((S,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:S.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:R=>T(S.value,R),"aria-label":`Supprimer ${S.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-${S.value}-${V}`)):b.map((S,V)=>c.jsxs("div",{className:J.tag,children:[c.jsx("div",{className:J.tagLabel,children:c.jsx("span",{children:S.label})}),c.jsx("div",{className:J.removeBtnContainer,children:c.jsx("button",{type:"button",className:J.removeBtn,onClick:R=>T(S.value,R),"aria-label":`Supprimer ${S.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-${S.value}-${V}`)),r?c.jsx("input",{ref:f,type:"text",className:J.searchInput,placeholder:b.length===0?i:"",value:u,onChange:S=>{p(S.target.value),l||h(!0)},onClick:A,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:w,type:"button",className:J.overflowBadge,onClick:$,"aria-label":`Afficher ${q.length} éléments cachés`,children:q.length}),g&&q.length>0&&c.jsx("div",{className:J.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:q.map((S,V)=>c.jsxs("div",{className:J.overflowDropdownItem,children:[c.jsx("span",{className:J.overflowDropdownItemLabel,children:S.label}),c.jsx("button",{type:"button",className:J.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),T(S.value,R)},"aria-label":`Supprimer ${S.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-${S.value}-${V}`))})]})]}),c.jsxs("div",{className:J.actions,children:[b.length>0&&c.jsx("button",{type:"button",className:J.clearBtn,onClick:P,"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((S,V)=>c.jsx("div",{className:J.option,onClick:()=>j(S),role:"option","aria-selected":!1,children:S.label},`opt-${S.value}-${V}`)):c.jsx("div",{className:J.noOptions,children:t})})]})},sve="_container_h7jek_1",dve={container:sve},lve=({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:dve.container,children:[c.jsx(bt,{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(bt,{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(bt,{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(bt,{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(bt,{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"}})]})},hve=({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})]}),uve="_container_1pt6c_1",pve="_chartContainer_1pt6c_14",yve="_legend_1pt6c_22",kve="_legendItem_1pt6c_29",mve="_leftSection_1pt6c_41",fve="_colorIndicator_1pt6c_47",gve="_label_1pt6c_54",vve="_rightSection_1pt6c_60",Mve="_ratio_1pt6c_66",_ve="_value1_1pt6c_73",xve="_separator_1pt6c_78",Lve="_value2_1pt6c_82",Ive="_statusIndicator_1pt6c_87",bve="_inactive_1pt6c_102",qe={container:uve,chartContainer:pve,legend:yve,legendItem:kve,leftSection:mve,colorIndicator:fve,label:gve,rightSection:vve,ratio:Mve,value1:_ve,separator:xve,value2:Lve,statusIndicator:Ive,inactive:bve},rj=Math.PI/180,wve=({data:e,height:t=400,bg:n,backgroundColor:o,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:f,separatorColor:v,borderColor:m,hideDonut:M=!0})=>{const[_,g]=k.useState(new Set(e.map(N=>N.nom))),I=N=>{const j=new Set(_);j.has(N)?j.size>1&&j.delete(N):j.add(N),g(j)},C={...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":f||"inherit","--separator-color":v||"#03a9f4","--border-color":m||"#e0e0e0"},w=k.useMemo(()=>e.map(N=>({...N,displayValue:_.has(N.nom)?N.value:0})),[e,_]),b=k.useMemo(()=>e.every(N=>N.value===0),[e]),x=k.useMemo(()=>b?1:w.reduce((N,j)=>N+j.displayValue,0)||1,[b,w]),L=k.useCallback(({cx:N,cy:j,midAngle:$,innerRadius:q,outerRadius:T,value:P})=>{if(P===0||b)return null;const A=q+(T-q)*.5,S=N+A*Math.cos(-$*rj),V=j+A*Math.sin(-$*rj),R=Math.round(P/x*100);return c.jsx(a.Text,{x:S,y:V,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[x,b]);return c.jsxs("div",{className:`${qe.container} ${u}`,style:C,children:[!M&&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:b?[{displayValue:1,color:"#A3C2CB"}]:w,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:b?0:2,startAngle:90,endAngle:450,labelLine:!1,label:L,isAnimationActive:!1,children:b?c.jsx(a.Cell,{fill:"#A3C2CB"}):w.map((N,j)=>c.jsx(a.Cell,{fill:N.color},`cell-${j}`))})})})}),c.jsx("div",{className:qe.legend,children:e.map((N,j)=>{const $=_.has(N.nom);return c.jsxs("div",{className:`${qe.legendItem} ${!M&&!$?qe.inactive:""}`,onClick:()=>I(N.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[c.jsxs("div",{className:qe.leftSection,children:[c.jsx("div",{className:qe.colorIndicator,style:{backgroundColor:N.color,opacity:M||$?1:.3}}),c.jsx("span",{className:qe.label,style:{opacity:M||$?1:.5},children:N.nom})]}),c.jsxs("div",{className:qe.rightSection,style:{opacity:M||$?1:.5},children:[c.jsxs("div",{className:qe.ratio,children:[c.jsx("span",{className:qe.value1,children:N.value1}),c.jsx("span",{className:qe.separator,children:"/"}),c.jsx("span",{className:qe.value2,children:N.value2})]}),N.statusColor&&c.jsx("div",{className:qe.statusIndicator,style:{backgroundColor:N.statusColor}})]})]},`legend-${j}`)})})]})},Cve="_container_1pc4v_1",Nve="_leftGroup_1pc4v_10",Sve="_iconBtn_1pc4v_16",G1={container:Cve,leftGroup:Nve,iconBtn:Sve},jve=e=>K.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},K.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),$ve=k.memo(jve),qve=e=>K.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},K.createElement("path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8m-4-6-4-4-4 4m4-4v13"})),Zq=k.memo(qve),Ave=({menuIcon:e,logoProps:t,actionIcon:n,style:o,className:i,bgColor:r="var(--header-bg)",color:s="var(--color-text)",borderBottomColor:d="var(--color-border)",borderBottomWidth:l=1,height:h="8vh",onMenuClick:u,onActionClick:p})=>{const y={backgroundColor:r,color:s,borderBottom:`${l}px solid ${d}`,height:h,...o};return c.jsxs("header",{className:[G1.container,i].filter(Boolean).join(" "),style:y,children:[c.jsxs("div",{className:G1.leftGroup,children:[c.jsx("button",{className:G1.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??c.jsx($ve,{width:22,height:22})}),c.jsx(rL,{...t,size:"medium"})]}),c.jsx("button",{className:G1.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??c.jsx(Zq,{width:22,height:22})})]})},zve="_container_24g3e_1",Vve="_iconBtn_24g3e_10",Pve="_title_24g3e_22",Z1={container:zve,iconBtn:Vve,title:Pve},Tve=({title:e="Menu",closeIcon:t,actionIcon:n,style:o,className:i,titleStyle:r,bgColor:s="var(--header-bg)",color:d="var(--color-text)",borderBottomColor:l="transparent",borderBottomWidth:h=0,height:u="8vh",onClose:p,onAction:y})=>{const f={backgroundColor:s,color:d,borderBottom:`${h}px solid ${l}`,height:u,...o};return c.jsxs("div",{className:[Z1.container,i].filter(Boolean).join(" "),style:f,children:[c.jsx("button",{className:Z1.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??c.jsx(Gq,{width:22,height:22})}),c.jsx("span",{className:Z1.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),c.jsx("button",{className:Z1.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??c.jsx(Zq,{width:22,height:22})})]})};exports.PeriodRange=a.PeriodRange;exports.SimpleBarChart=a.SimpleBarChart;exports.ActionCard=zge;exports.AddItemModal=Nc;exports.Alert=Ew;exports.AlertMessage=hve;exports.AlertsProvider=$ke;exports.BadgeList=sj;exports.BadgeRenderer=$q;exports.Button=Xx;exports.ChartContainer=Ske;exports.CheckboxInput=dq;exports.CircularProgress=jb;exports.ColorInput=yq;exports.ComponentVisibilityManager=Ab;exports.ComponentVisibilityToggle=Ume;exports.ConfirmationModal=Nge;exports.ConfirmationPopup=V3e;exports.CounterListBox=v3e;exports.CurrencyRenderer=zq;exports.DashboardSummary=Lme;exports.DataBoard=bt;exports.DataFourBoards=Rq;exports.DateInput=uq;exports.DatePicker=nw;exports.DateRenderer=qq;exports.DayStatCard=e2e;exports.DayStatCardV2=T6e;exports.DonutChartRatio=wve;exports.DraggableProvider=o2e;exports.DraggableSwitcherButton=Yx;exports.DynamicForm=Zye;exports.DynamicInput=kq;exports.EmailRenderer=Sq;exports.Encours=Pme;exports.EntryControl=f3e;exports.FileInput=hq;exports.FilterBar=Wfe;exports.FiltreEtiquette=rve;exports.FlexRowContainer=_3e;exports.Grid=hj;exports.Header=l2e;exports.HorizontalBarChart=D6e;exports.IconText=xj;exports.ImageRenderer=Vq;exports.IndicatorItemV2=$7e;exports.InfoBanner=G7e;exports.InputWrapper=yL;exports.LegendFilterProvider=i2e;exports.LegendFilterSwitcherButton=Jx;exports.LinkRenderer=jq;exports.ListContentContainer=x3e;exports.Logo=rL;exports.MetricsPanel=Hq;exports.MobileMenuHeader=Tve;exports.MobileNavMenu=Oq;exports.MobileTopBar=Ave;exports.ModuleHeader=e3e;exports.ModuleSideBar=t3e;exports.ModuleSideBarV2=vge;exports.NavBar=uj;exports.NavBarV2=n8e;exports.NavItem=$b;exports.NavItemV2=Ow;exports.NavProvider=t2e;exports.NumberRenderer=Aq;exports.PeriodSelect=Tke;exports.PopUp=yge;exports.RadioInput=lq;exports.RangeInput=pq;exports.ScrollableHorizontale=Lj;exports.SearchBar=Bq;exports.Select=Wq;exports.SelectFilter=kme;exports.SelectInput=Dw;exports.SettingNavBar=gge;exports.ShowDataProvider=r2e;exports.ShowDataSwitcherButton=Qx;exports.SideComponent=Dke;exports.SimpleListBox=g3e;exports.SubHeaderContent=N8e;exports.SubHeaderNavItem=Eq;exports.SubHeaderTitle=d8e;exports.SubNavBar=h2e;exports.SummaryAvailable=lve;exports.SummaryCard=Tq;exports.Switcher=V1;exports.TableLayout=Uq;exports.TableauDynamique=Pq;exports.TableauDynamiqueSafePagination=V5e;exports.TableauxComponent=Uq;exports.TextInput=rq;exports.TextRenderer=Nq;exports.TextareaInput=sq;exports.ThemeProvider=a2e;exports.ThemeSwitcher=S8e;exports.ThemeSwitcherButton=qb;exports.Title=Eke;exports.TranslationKey=a3e;exports.TranslationKeyV2=Mge;exports.TrendItem=Ij;exports.TrendList=iue;exports.TrendListBox=M3e;exports.UserInfo=Fq;exports.alertModels=Ake;exports.getFormSchema=Kye;exports.hexToRgba=Ct;exports.registerRenderer=b5e;exports.tableConfig=aw;exports.useAlerts=qke;exports.useBodyScrollLock=Bke;exports.useConfirmationPopup=P3e;exports.useDraggableSwitcher=mj;exports.useFilters=wq;exports.useLegendFilterSwitcher=gj;exports.useNavigation=it;exports.useShowDataSwitcher=Mj;exports.useTableData=Cq;exports.useThemeContext=yj;exports.useThemeSwitcher=sL;exports.validateField=iL;exports.validateForm=iq;
|