@tsiky/components-r19 8.0.1 → 8.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),k=require("react"),a=require("./LineChart-fj7XLRyj.cjs"),E=require("styled-components"),_w=require("react-dom");function _z(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),k=require("react"),a=require("./LineChart-fj7XLRyj.cjs"),E=require("styled-components"),_w=require("react-dom");function _z(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const c=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,c.get?c:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const ee=_z(k),Lz="_button_1kuwt_2",Iz="_primary_1kuwt_21",bz="_secondary_1kuwt_26",wz="_accent_1kuwt_31",Cz="_outline_1kuwt_36",Nz="_success_1kuwt_41",Sz="_danger_1kuwt_46",jz="_warning_1kuwt_51",$z="_info_1kuwt_56",qz="_sm_1kuwt_62",Az="_md_1kuwt_67",zz="_lg_1kuwt_72",Ke={button:Lz,primary:Iz,secondary:bz,accent:wz,outline:Cz,success:Nz,danger:Sz,warning:jz,info:$z,sm:qz,md:Az,lg:zz};function Y(e,t,n,c){if(!e||!e.mode||e.mode==="none")return;const{mode:i,moduleName:r,key:s,description:d,titleKey:l,textLabel:h="Texte",guideLabel:u="Guide"}=e,p=n||s,y=c||d,f=t||l,g=(m,x)=>{const M=x?x.trim():"";return M?M.includes(":")?`${m} : ${M.replace(/\s*:\s*/g," : ")}`:r?`${m} : ${r} : ${M}`:`${m} : ${M}`:`${m} : `};if(i==="key"){const m=[f?.trim()?g(h||"Texte",f):null,p?.trim()?g(u||"Guide",p):null].filter(Boolean);return m.length>0?m.join(" | "):void 0}if(i==="guide")return y||void 0}const uL=({children:e,variant:t="primary",size:n="md",className:c="",type:i="button",a11yConfig:r,...s})=>{const d={primary:Ke.primary,secondary:Ke.secondary,accent:Ke.accent,outline:Ke.outline,success:Ke.success,danger:Ke.danger,warning:Ke.warning,info:Ke.info},l={sm:Ke.sm,md:Ke.md,lg:Ke.lg},h=[Ke.button,d[t]??"",l[n]??"",c].filter(Boolean).join(" ");return o.jsx("button",{type:i,className:h,...s,title:s.title||Y(r,typeof e=="string"?e:void 0),children:e})},Gb=({progress:e,size:t,strokeWidth:n,color:c="#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 g=Math.min(5,Math.max(0,Math.floor(e))),m=t/2,x=(t-f)/2,M=2*Math.PI*x,I=M/5*(1-.1),b=M-I;return o.jsxs("div",{className:`circular-progress-container ${y}`,children:[o.jsxs("div",{className:"circular-progress",style:{width:t,height:t},children:[o.jsxs("svg",{width:t,height:t,children:[o.jsx("circle",{cx:m,cy:m,r:x-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,N)=>{const _=-90+N*72;return N>=g?null:o.jsx("circle",{cx:m,cy:m,r:x,fill:"transparent",stroke:c,strokeWidth:f,strokeLinecap:"butt",strokeDasharray:`${I} ${b}`,strokeDashoffset:0,transform:`rotate(${_} ${m} ${m})`,style:{transition:"stroke 0.3s ease"}},N)})]}),(s||d)&&o.jsxs("div",{className:"circular-progress-content",style:{color:r},children:[s&&o.jsx("div",{className:"circular-progress-text-top",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-bold)",...u},children:s}),d&&o.jsx("div",{className:"circular-progress-text-bottom",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",...p},children:d})]})]}),l&&o.jsx("div",{className:"circular-progress-label",style:{fontSize:"var(--text-paragraph)",fontWeight:"var(--font-medium)",color:h||r||"inherit"},children:l})]})},Vz="_wrapper_12x8x_1",Pz="_list_12x8x_12",Tz="_item_12x8x_22",Hz="_badge_12x8x_30",Dz="_text_12x8x_42",Bz="_tooltip_12x8x_49",st={wrapper:Vz,list:Pz,item:Tz,badge:Hz,text:Dz,tooltip:Bz};function Gj({data:e,style:t,defaultBadgeColor:n="#2E7D32",defaultTextColor:c="#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 M(v){v.key==="Escape"&&u(!1)}return h&&document.addEventListener("keydown",M),()=>document.removeEventListener("keydown",M)},[h]),k.useEffect(()=>{function M(v){f.current&&!f.current.contains(v.target)&&u(!1)}return h&&document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[h]);function g(M){r&&(M.preventDefault(),y({x:M.clientX,y:M.clientY}),u(!0))}const m=e.slice(0,s),x=M=>typeof M=="number"?`${M}px`:M;return o.jsxs("div",{className:st.wrapper,style:{width:x(d),background:i,...t,"--gap":x(l)},onContextMenu:g,"aria-label":"liste-badges",children:[o.jsx("ul",{className:st.list,children:m.map((M,v)=>o.jsxs("li",{className:st.item,children:[o.jsx("span",{className:st.badge,style:{backgroundColor:M.badgeColor??n},"aria-hidden":!0}),o.jsx("span",{className:st.text,style:{color:M.textColor??c},children:M.text})]},v))}),r&&h&&p&&o.jsx("div",{className:st.tooltip,style:{left:p.x+8,top:p.y+8,backgroundColor:i,"--gap":x(l)},role:"dialog","aria-modal":"false",ref:f,children:o.jsx("ul",{className:st.list,children:e.map((M,v)=>o.jsxs("li",{className:st.item,children:[o.jsx("span",{className:st.badge,style:{backgroundColor:M.badgeColor??n}}),o.jsx("span",{className:st.text,style:{color:M.textColor??"#000"},children:M.text})]},v))})})]})}/**
|
|
2
2
|
* @license lucide-react v0.540.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
@@ -8158,7 +8158,7 @@
|
|
|
8158
8158
|
*
|
|
8159
8159
|
* This source code is licensed under the ISC license.
|
|
8160
8160
|
* See the LICENSE file in the root directory of this source tree.
|
|
8161
|
-
*/const Mt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:yi,AArrowDownIcon:yi,AArrowUp:ki,AArrowUpIcon:ki,ALargeSmall:mi,ALargeSmallIcon:mi,Accessibility:L1,AccessibilityIcon:L1,Activity:I1,ActivityIcon:I1,ActivitySquare:zt,ActivitySquareIcon:zt,AirVent:fi,AirVentIcon:fi,Airplay:gi,AirplayIcon:gi,AlarmCheck:Et,AlarmCheckIcon:Et,AlarmClock:xi,AlarmClockCheck:Et,AlarmClockCheckIcon:Et,AlarmClockIcon:xi,AlarmClockMinus:Ot,AlarmClockMinusIcon:Ot,AlarmClockOff:vi,AlarmClockOffIcon:vi,AlarmClockPlus:Ut,AlarmClockPlusIcon:Ut,AlarmMinus:Ot,AlarmMinusIcon:Ot,AlarmPlus:Ut,AlarmPlusIcon:Ut,AlarmSmoke:Mi,AlarmSmokeIcon:Mi,Album:_i,AlbumIcon:_i,AlertCircle:va,AlertCircleIcon:va,AlertOctagon:Fn,AlertOctagonIcon:Fn,AlertTriangle:pc,AlertTriangleIcon:pc,AlignCenter:Ni,AlignCenterHorizontal:Li,AlignCenterHorizontalIcon:Li,AlignCenterIcon:Ni,AlignCenterVertical:Ii,AlignCenterVerticalIcon:Ii,AlignEndHorizontal:bi,AlignEndHorizontalIcon:bi,AlignEndVertical:wi,AlignEndVerticalIcon:wi,AlignHorizontalDistributeCenter:Ci,AlignHorizontalDistributeCenterIcon:Ci,AlignHorizontalDistributeEnd:Si,AlignHorizontalDistributeEndIcon:Si,AlignHorizontalDistributeStart:ji,AlignHorizontalDistributeStartIcon:ji,AlignHorizontalJustifyCenter:$i,AlignHorizontalJustifyCenterIcon:$i,AlignHorizontalJustifyEnd:qi,AlignHorizontalJustifyEndIcon:qi,AlignHorizontalJustifyStart:Ai,AlignHorizontalJustifyStartIcon:Ai,AlignHorizontalSpaceAround:zi,AlignHorizontalSpaceAroundIcon:zi,AlignHorizontalSpaceBetween:Pi,AlignHorizontalSpaceBetweenIcon:Pi,AlignJustify:Vi,AlignJustifyIcon:Vi,AlignLeft:Ti,AlignLeftIcon:Ti,AlignRight:Hi,AlignRightIcon:Hi,AlignStartHorizontal:Di,AlignStartHorizontalIcon:Di,AlignStartVertical:Bi,AlignStartVerticalIcon:Bi,AlignVerticalDistributeCenter:Fi,AlignVerticalDistributeCenterIcon:Fi,AlignVerticalDistributeEnd:Ri,AlignVerticalDistributeEndIcon:Ri,AlignVerticalDistributeStart:Oi,AlignVerticalDistributeStartIcon:Oi,AlignVerticalJustifyCenter:Ei,AlignVerticalJustifyCenterIcon:Ei,AlignVerticalJustifyEnd:Ui,AlignVerticalJustifyEndIcon:Ui,AlignVerticalJustifyStart:Wi,AlignVerticalJustifyStartIcon:Wi,AlignVerticalSpaceAround:Ki,AlignVerticalSpaceAroundIcon:Ki,AlignVerticalSpaceBetween:Gi,AlignVerticalSpaceBetweenIcon:Gi,Ambulance:Zi,AmbulanceIcon:Zi,Ampersand:Xi,AmpersandIcon:Xi,Ampersands:Yi,AmpersandsIcon:Yi,Amphora:Ji,AmphoraIcon:Ji,Anchor:Qi,AnchorIcon:Qi,Angry:er,AngryIcon:er,Annoyed:tr,AnnoyedIcon:tr,Antenna:ar,AntennaIcon:ar,Anvil:nr,AnvilIcon:nr,Aperture:or,ApertureIcon:or,AppWindow:ir,AppWindowIcon:ir,AppWindowMac:cr,AppWindowMacIcon:cr,Apple:rr,AppleIcon:rr,Archive:lr,ArchiveIcon:lr,ArchiveRestore:sr,ArchiveRestoreIcon:sr,ArchiveX:dr,ArchiveXIcon:dr,AreaChart:ia,AreaChartIcon:ia,Armchair:hr,ArmchairIcon:hr,ArrowBigDown:pr,ArrowBigDownDash:ur,ArrowBigDownDashIcon:ur,ArrowBigDownIcon:pr,ArrowBigLeft:kr,ArrowBigLeftDash:yr,ArrowBigLeftDashIcon:yr,ArrowBigLeftIcon:kr,ArrowBigRight:fr,ArrowBigRightDash:mr,ArrowBigRightDashIcon:mr,ArrowBigRightIcon:fr,ArrowBigUp:vr,ArrowBigUpDash:gr,ArrowBigUpDashIcon:gr,ArrowBigUpIcon:vr,ArrowDown:Qc,ArrowDown01:xr,ArrowDown01Icon:xr,ArrowDown10:Mr,ArrowDown10Icon:Mr,ArrowDownAZ:Wt,ArrowDownAZIcon:Wt,ArrowDownAz:Wt,ArrowDownAzIcon:Wt,ArrowDownCircle:xa,ArrowDownCircleIcon:xa,ArrowDownFromLine:_r,ArrowDownFromLineIcon:_r,ArrowDownIcon:Qc,ArrowDownLeft:Lr,ArrowDownLeftFromCircle:_a,ArrowDownLeftFromCircleIcon:_a,ArrowDownLeftFromSquare:mo,ArrowDownLeftFromSquareIcon:mo,ArrowDownLeftIcon:Lr,ArrowDownLeftSquare:uo,ArrowDownLeftSquareIcon:uo,ArrowDownNarrowWide:Ir,ArrowDownNarrowWideIcon:Ir,ArrowDownRight:br,ArrowDownRightFromCircle:La,ArrowDownRightFromCircleIcon:La,ArrowDownRightFromSquare:fo,ArrowDownRightFromSquareIcon:fo,ArrowDownRightIcon:br,ArrowDownRightSquare:po,ArrowDownRightSquareIcon:po,ArrowDownSquare:yo,ArrowDownSquareIcon:yo,ArrowDownToDot:wr,ArrowDownToDotIcon:wr,ArrowDownToLine:Cr,ArrowDownToLineIcon:Cr,ArrowDownUp:Nr,ArrowDownUpIcon:Nr,ArrowDownWideNarrow:Gt,ArrowDownWideNarrowIcon:Gt,ArrowDownZA:Kt,ArrowDownZAIcon:Kt,ArrowDownZa:Kt,ArrowDownZaIcon:Kt,ArrowLeft:b1,ArrowLeftCircle:Ma,ArrowLeftCircleIcon:Ma,ArrowLeftFromLine:Sr,ArrowLeftFromLineIcon:Sr,ArrowLeftIcon:b1,ArrowLeftRight:jr,ArrowLeftRightIcon:jr,ArrowLeftSquare:ko,ArrowLeftSquareIcon:ko,ArrowLeftToLine:$r,ArrowLeftToLineIcon:$r,ArrowRight:Vr,ArrowRightCircle:wa,ArrowRightCircleIcon:wa,ArrowRightFromLine:qr,ArrowRightFromLineIcon:qr,ArrowRightIcon:Vr,ArrowRightLeft:Ar,ArrowRightLeftIcon:Ar,ArrowRightSquare:xo,ArrowRightSquareIcon:xo,ArrowRightToLine:zr,ArrowRightToLineIcon:zr,ArrowUp:e1,ArrowUp01:Pr,ArrowUp01Icon:Pr,ArrowUp10:Tr,ArrowUp10Icon:Tr,ArrowUpAZ:Zt,ArrowUpAZIcon:Zt,ArrowUpAz:Zt,ArrowUpAzIcon:Zt,ArrowUpCircle:Ca,ArrowUpCircleIcon:Ca,ArrowUpDown:Hr,ArrowUpDownIcon:Hr,ArrowUpFromDot:Dr,ArrowUpFromDotIcon:Dr,ArrowUpFromLine:Br,ArrowUpFromLineIcon:Br,ArrowUpIcon:e1,ArrowUpLeft:Rr,ArrowUpLeftFromCircle:Ia,ArrowUpLeftFromCircleIcon:Ia,ArrowUpLeftFromSquare:go,ArrowUpLeftFromSquareIcon:go,ArrowUpLeftIcon:Rr,ArrowUpLeftSquare:Mo,ArrowUpLeftSquareIcon:Mo,ArrowUpNarrowWide:Xt,ArrowUpNarrowWideIcon:Xt,ArrowUpRight:Fr,ArrowUpRightFromCircle:ba,ArrowUpRightFromCircleIcon:ba,ArrowUpRightFromSquare:vo,ArrowUpRightFromSquareIcon:vo,ArrowUpRightIcon:Fr,ArrowUpRightSquare:_o,ArrowUpRightSquareIcon:_o,ArrowUpSquare:Lo,ArrowUpSquareIcon:Lo,ArrowUpToLine:Er,ArrowUpToLineIcon:Er,ArrowUpWideNarrow:Or,ArrowUpWideNarrowIcon:Or,ArrowUpZA:Yt,ArrowUpZAIcon:Yt,ArrowUpZa:Yt,ArrowUpZaIcon:Yt,ArrowsUpFromLine:Ur,ArrowsUpFromLineIcon:Ur,Asterisk:Wr,AsteriskIcon:Wr,AsteriskSquare:Io,AsteriskSquareIcon:Io,AtSign:Gr,AtSignIcon:Gr,Atom:Kr,AtomIcon:Kr,AudioLines:Zr,AudioLinesIcon:Zr,AudioWaveform:Xr,AudioWaveformIcon:Xr,Award:Yr,AwardIcon:Yr,Axe:Jr,AxeIcon:Jr,Axis3D:Jt,Axis3DIcon:Jt,Axis3d:Jt,Axis3dIcon:Jt,Baby:Qr,BabyIcon:Qr,Backpack:es,BackpackIcon:es,Badge:ms,BadgeAlert:ts,BadgeAlertIcon:ts,BadgeCent:as,BadgeCentIcon:as,BadgeCheck:Qt,BadgeCheckIcon:Qt,BadgeDollarSign:ns,BadgeDollarSignIcon:ns,BadgeEuro:os,BadgeEuroIcon:os,BadgeHelp:ea,BadgeHelpIcon:ea,BadgeIcon:ms,BadgeIndianRupee:cs,BadgeIndianRupeeIcon:cs,BadgeInfo:is,BadgeInfoIcon:is,BadgeJapaneseYen:ss,BadgeJapaneseYenIcon:ss,BadgeMinus:rs,BadgeMinusIcon:rs,BadgePercent:ds,BadgePercentIcon:ds,BadgePlus:ls,BadgePlusIcon:ls,BadgePoundSterling:hs,BadgePoundSterlingIcon:hs,BadgeQuestionMark:ea,BadgeQuestionMarkIcon:ea,BadgeRussianRuble:us,BadgeRussianRubleIcon:us,BadgeSwissFranc:ps,BadgeSwissFrancIcon:ps,BadgeTurkishLira:ys,BadgeTurkishLiraIcon:ys,BadgeX:ks,BadgeXIcon:ks,BaggageClaim:fs,BaggageClaimIcon:fs,Ban:gs,BanIcon:gs,Banana:vs,BananaIcon:vs,Bandage:xs,BandageIcon:xs,Banknote:Is,BanknoteArrowDown:Ms,BanknoteArrowDownIcon:Ms,BanknoteArrowUp:_s,BanknoteArrowUpIcon:_s,BanknoteIcon:Is,BanknoteX:Ls,BanknoteXIcon:Ls,BarChart:ya,BarChart2:ka,BarChart2Icon:ka,BarChart3:ua,BarChart3Icon:ua,BarChart4:ha,BarChart4Icon:ha,BarChartBig:la,BarChartBigIcon:la,BarChartHorizontal:sa,BarChartHorizontalBig:ra,BarChartHorizontalBigIcon:ra,BarChartHorizontalIcon:sa,BarChartIcon:ya,Barcode:bs,BarcodeIcon:bs,Barrel:ws,BarrelIcon:ws,Baseline:Cs,BaselineIcon:Cs,Bath:Ns,BathIcon:Ns,Battery:Vs,BatteryCharging:Ss,BatteryChargingIcon:Ss,BatteryFull:js,BatteryFullIcon:js,BatteryIcon:Vs,BatteryLow:$s,BatteryLowIcon:$s,BatteryMedium:qs,BatteryMediumIcon:qs,BatteryPlus:As,BatteryPlusIcon:As,BatteryWarning:zs,BatteryWarningIcon:zs,Beaker:Ps,BeakerIcon:Ps,Bean:Hs,BeanIcon:Hs,BeanOff:Ts,BeanOffIcon:Ts,Bed:Rs,BedDouble:Ds,BedDoubleIcon:Ds,BedIcon:Rs,BedSingle:Bs,BedSingleIcon:Bs,Beef:Fs,BeefIcon:Fs,Beer:Os,BeerIcon:Os,BeerOff:Es,BeerOffIcon:Es,Bell:Xs,BellDot:Us,BellDotIcon:Us,BellElectric:Ws,BellElectricIcon:Ws,BellIcon:Xs,BellMinus:Gs,BellMinusIcon:Gs,BellOff:Ks,BellOffIcon:Ks,BellPlus:Zs,BellPlusIcon:Zs,BellRing:Ys,BellRingIcon:Ys,BetweenHorizonalEnd:ta,BetweenHorizonalEndIcon:ta,BetweenHorizonalStart:aa,BetweenHorizonalStartIcon:aa,BetweenHorizontalEnd:ta,BetweenHorizontalEndIcon:ta,BetweenHorizontalStart:aa,BetweenHorizontalStartIcon:aa,BetweenVerticalEnd:Qs,BetweenVerticalEndIcon:Qs,BetweenVerticalStart:Js,BetweenVerticalStartIcon:Js,BicepsFlexed:e2,BicepsFlexedIcon:e2,Bike:a2,BikeIcon:a2,Binary:t2,BinaryIcon:t2,Binoculars:n2,BinocularsIcon:n2,Biohazard:o2,BiohazardIcon:o2,Bird:c2,BirdIcon:c2,Bitcoin:i2,BitcoinIcon:i2,Blend:r2,BlendIcon:r2,Blinds:s2,BlindsIcon:s2,Blocks:d2,BlocksIcon:d2,Bluetooth:p2,BluetoothConnected:l2,BluetoothConnectedIcon:l2,BluetoothIcon:p2,BluetoothOff:h2,BluetoothOffIcon:h2,BluetoothSearching:u2,BluetoothSearchingIcon:u2,Bold:y2,BoldIcon:y2,Bolt:k2,BoltIcon:k2,Bomb:m2,BombIcon:m2,Bone:f2,BoneIcon:f2,Book:R2,BookA:g2,BookAIcon:g2,BookAlert:v2,BookAlertIcon:v2,BookAudio:x2,BookAudioIcon:x2,BookCheck:M2,BookCheckIcon:M2,BookCopy:_2,BookCopyIcon:_2,BookDashed:na,BookDashedIcon:na,BookDown:L2,BookDownIcon:L2,BookHeadphones:I2,BookHeadphonesIcon:I2,BookHeart:b2,BookHeartIcon:b2,BookIcon:R2,BookImage:w2,BookImageIcon:w2,BookKey:C2,BookKeyIcon:C2,BookLock:N2,BookLockIcon:N2,BookMarked:j2,BookMarkedIcon:j2,BookMinus:S2,BookMinusIcon:S2,BookOpen:A2,BookOpenCheck:$2,BookOpenCheckIcon:$2,BookOpenIcon:A2,BookOpenText:q2,BookOpenTextIcon:q2,BookPlus:z2,BookPlusIcon:z2,BookTemplate:na,BookTemplateIcon:na,BookText:V2,BookTextIcon:V2,BookType:P2,BookTypeIcon:P2,BookUp:H2,BookUp2:T2,BookUp2Icon:T2,BookUpIcon:H2,BookUser:D2,BookUserIcon:D2,BookX:B2,BookXIcon:B2,Bookmark:W2,BookmarkCheck:F2,BookmarkCheckIcon:F2,BookmarkIcon:W2,BookmarkMinus:E2,BookmarkMinusIcon:E2,BookmarkPlus:O2,BookmarkPlusIcon:O2,BookmarkX:U2,BookmarkXIcon:U2,BoomBox:G2,BoomBoxIcon:G2,Bot:X2,BotIcon:X2,BotMessageSquare:K2,BotMessageSquareIcon:K2,BotOff:Z2,BotOffIcon:Z2,BottleWine:Y2,BottleWineIcon:Y2,BowArrow:J2,BowArrowIcon:J2,Box:Q2,BoxIcon:Q2,BoxSelect:Vo,BoxSelectIcon:Vo,Boxes:ed,BoxesIcon:ed,Braces:oa,BracesIcon:oa,Brackets:td,BracketsIcon:td,Brain:od,BrainCircuit:ad,BrainCircuitIcon:ad,BrainCog:nd,BrainCogIcon:nd,BrainIcon:od,BrickWall:rd,BrickWallFire:cd,BrickWallFireIcon:cd,BrickWallIcon:rd,BrickWallShield:id,BrickWallShieldIcon:id,Briefcase:hd,BriefcaseBusiness:sd,BriefcaseBusinessIcon:sd,BriefcaseConveyorBelt:dd,BriefcaseConveyorBeltIcon:dd,BriefcaseIcon:hd,BriefcaseMedical:ld,BriefcaseMedicalIcon:ld,BringToFront:ud,BringToFrontIcon:ud,Brush:yd,BrushCleaning:pd,BrushCleaningIcon:pd,BrushIcon:yd,Bubbles:kd,BubblesIcon:kd,Bug:vd,BugIcon:vd,BugOff:md,BugOffIcon:md,BugPlay:fd,BugPlayIcon:fd,Building:xd,Building2:gd,Building2Icon:gd,BuildingIcon:xd,Bus:_d,BusFront:Md,BusFrontIcon:Md,BusIcon:_d,Cable:Id,CableCar:Ld,CableCarIcon:Ld,CableIcon:Id,Cake:wd,CakeIcon:wd,CakeSlice:bd,CakeSliceIcon:bd,Calculator:Cd,CalculatorIcon:Cd,Calendar:w1,Calendar1:Nd,Calendar1Icon:Nd,CalendarArrowDown:Sd,CalendarArrowDownIcon:Sd,CalendarArrowUp:jd,CalendarArrowUpIcon:jd,CalendarCheck:qd,CalendarCheck2:$d,CalendarCheck2Icon:$d,CalendarCheckIcon:qd,CalendarClock:Ad,CalendarClockIcon:Ad,CalendarCog:zd,CalendarCogIcon:zd,CalendarDays:Vd,CalendarDaysIcon:Vd,CalendarFold:Pd,CalendarFoldIcon:Pd,CalendarHeart:Td,CalendarHeartIcon:Td,CalendarIcon:w1,CalendarMinus:Dd,CalendarMinus2:Hd,CalendarMinus2Icon:Hd,CalendarMinusIcon:Dd,CalendarOff:Bd,CalendarOffIcon:Bd,CalendarPlus:Fd,CalendarPlus2:Rd,CalendarPlus2Icon:Rd,CalendarPlusIcon:Fd,CalendarRange:Ed,CalendarRangeIcon:Ed,CalendarSearch:Od,CalendarSearchIcon:Od,CalendarSync:Ud,CalendarSyncIcon:Ud,CalendarX:Gd,CalendarX2:Wd,CalendarX2Icon:Wd,CalendarXIcon:Gd,Camera:Zd,CameraIcon:Zd,CameraOff:Kd,CameraOffIcon:Kd,CandlestickChart:da,CandlestickChartIcon:da,Candy:Jd,CandyCane:Xd,CandyCaneIcon:Xd,CandyIcon:Jd,CandyOff:Yd,CandyOffIcon:Yd,Cannabis:Qd,CannabisIcon:Qd,Captions:ca,CaptionsIcon:ca,CaptionsOff:e0,CaptionsOffIcon:e0,Car:n0,CarFront:t0,CarFrontIcon:t0,CarIcon:n0,CarTaxiFront:a0,CarTaxiFrontIcon:a0,Caravan:o0,CaravanIcon:o0,CardSim:c0,CardSimIcon:c0,Carrot:i0,CarrotIcon:i0,CaseLower:r0,CaseLowerIcon:r0,CaseSensitive:s0,CaseSensitiveIcon:s0,CaseUpper:d0,CaseUpperIcon:d0,CassetteTape:l0,CassetteTapeIcon:l0,Cast:h0,CastIcon:h0,Castle:p0,CastleIcon:p0,Cat:u0,CatIcon:u0,Cctv:y0,CctvIcon:y0,ChartArea:ia,ChartAreaIcon:ia,ChartBar:sa,ChartBarBig:ra,ChartBarBigIcon:ra,ChartBarDecreasing:k0,ChartBarDecreasingIcon:k0,ChartBarIcon:sa,ChartBarIncreasing:m0,ChartBarIncreasingIcon:m0,ChartBarStacked:f0,ChartBarStackedIcon:f0,ChartCandlestick:da,ChartCandlestickIcon:da,ChartColumn:ua,ChartColumnBig:la,ChartColumnBigIcon:la,ChartColumnDecreasing:g0,ChartColumnDecreasingIcon:g0,ChartColumnIcon:ua,ChartColumnIncreasing:ha,ChartColumnIncreasingIcon:ha,ChartColumnStacked:v0,ChartColumnStackedIcon:v0,ChartGantt:x0,ChartGanttIcon:x0,ChartLine:pa,ChartLineIcon:pa,ChartNetwork:M0,ChartNetworkIcon:M0,ChartNoAxesColumn:ka,ChartNoAxesColumnDecreasing:_0,ChartNoAxesColumnDecreasingIcon:_0,ChartNoAxesColumnIcon:ka,ChartNoAxesColumnIncreasing:ya,ChartNoAxesColumnIncreasingIcon:ya,ChartNoAxesCombined:L0,ChartNoAxesCombinedIcon:L0,ChartNoAxesGantt:ma,ChartNoAxesGanttIcon:ma,ChartPie:fa,ChartPieIcon:fa,ChartScatter:ga,ChartScatterIcon:ga,ChartSpline:I0,ChartSplineIcon:I0,Check:C1,CheckCheck:b0,CheckCheckIcon:b0,CheckCircle:Na,CheckCircle2:Sa,CheckCircle2Icon:Sa,CheckCircleIcon:Na,CheckIcon:C1,CheckLine:w0,CheckLineIcon:w0,CheckSquare:wo,CheckSquare2:Co,CheckSquare2Icon:Co,CheckSquareIcon:wo,ChefHat:C0,ChefHatIcon:C0,Cherry:N0,CherryIcon:N0,ChevronDown:Tt,ChevronDownCircle:ja,ChevronDownCircleIcon:ja,ChevronDownIcon:Tt,ChevronDownSquare:No,ChevronDownSquareIcon:No,ChevronFirst:S0,ChevronFirstIcon:S0,ChevronLast:j0,ChevronLastIcon:j0,ChevronLeft:$0,ChevronLeftCircle:$a,ChevronLeftCircleIcon:$a,ChevronLeftIcon:$0,ChevronLeftSquare:So,ChevronLeftSquareIcon:So,ChevronRight:N1,ChevronRightCircle:qa,ChevronRightCircleIcon:qa,ChevronRightIcon:N1,ChevronRightSquare:jo,ChevronRightSquareIcon:jo,ChevronUp:$c,ChevronUpCircle:Aa,ChevronUpCircleIcon:Aa,ChevronUpIcon:$c,ChevronUpSquare:$o,ChevronUpSquareIcon:$o,ChevronsDown:A0,ChevronsDownIcon:A0,ChevronsDownUp:q0,ChevronsDownUpIcon:q0,ChevronsLeft:V0,ChevronsLeftIcon:V0,ChevronsLeftRight:z0,ChevronsLeftRightEllipsis:P0,ChevronsLeftRightEllipsisIcon:P0,ChevronsLeftRightIcon:z0,ChevronsRight:H0,ChevronsRightIcon:H0,ChevronsRightLeft:T0,ChevronsRightLeftIcon:T0,ChevronsUp:D0,ChevronsUpDown:t1,ChevronsUpDownIcon:t1,ChevronsUpIcon:D0,Chrome:B0,ChromeIcon:B0,Church:R0,ChurchIcon:R0,Cigarette:E0,CigaretteIcon:E0,CigaretteOff:F0,CigaretteOffIcon:F0,Circle:nl,CircleAlert:va,CircleAlertIcon:va,CircleArrowDown:xa,CircleArrowDownIcon:xa,CircleArrowLeft:Ma,CircleArrowLeftIcon:Ma,CircleArrowOutDownLeft:_a,CircleArrowOutDownLeftIcon:_a,CircleArrowOutDownRight:La,CircleArrowOutDownRightIcon:La,CircleArrowOutUpLeft:Ia,CircleArrowOutUpLeftIcon:Ia,CircleArrowOutUpRight:ba,CircleArrowOutUpRightIcon:ba,CircleArrowRight:wa,CircleArrowRightIcon:wa,CircleArrowUp:Ca,CircleArrowUpIcon:Ca,CircleCheck:Sa,CircleCheckBig:Na,CircleCheckBigIcon:Na,CircleCheckIcon:Sa,CircleChevronDown:ja,CircleChevronDownIcon:ja,CircleChevronLeft:$a,CircleChevronLeftIcon:$a,CircleChevronRight:qa,CircleChevronRightIcon:qa,CircleChevronUp:Aa,CircleChevronUpIcon:Aa,CircleDashed:O0,CircleDashedIcon:O0,CircleDivide:za,CircleDivideIcon:za,CircleDollarSign:W0,CircleDollarSignIcon:W0,CircleDot:G0,CircleDotDashed:U0,CircleDotDashedIcon:U0,CircleDotIcon:G0,CircleEllipsis:K0,CircleEllipsisIcon:K0,CircleEqual:Z0,CircleEqualIcon:Z0,CircleFadingArrowUp:Y0,CircleFadingArrowUpIcon:Y0,CircleFadingPlus:X0,CircleFadingPlusIcon:X0,CircleGauge:Va,CircleGaugeIcon:Va,CircleHelp:lt,CircleHelpIcon:lt,CircleIcon:nl,CircleMinus:Pa,CircleMinusIcon:Pa,CircleOff:J0,CircleOffIcon:J0,CircleParking:Da,CircleParkingIcon:Da,CircleParkingOff:Ta,CircleParkingOffIcon:Ta,CirclePause:Ha,CirclePauseIcon:Ha,CirclePercent:Ba,CirclePercentIcon:Ba,CirclePlay:Ra,CirclePlayIcon:Ra,CirclePlus:Fa,CirclePlusIcon:Fa,CirclePoundSterling:Q0,CirclePoundSterlingIcon:Q0,CirclePower:Ea,CirclePowerIcon:Ea,CircleQuestionMark:lt,CircleQuestionMarkIcon:lt,CircleSlash:el,CircleSlash2:Oa,CircleSlash2Icon:Oa,CircleSlashIcon:el,CircleSlashed:Oa,CircleSlashedIcon:Oa,CircleSmall:tl,CircleSmallIcon:tl,CircleStar:al,CircleStarIcon:al,CircleStop:Ua,CircleStopIcon:Ua,CircleUser:Ga,CircleUserIcon:Ga,CircleUserRound:Wa,CircleUserRoundIcon:Wa,CircleX:$t,CircleXIcon:$t,CircuitBoard:ol,CircuitBoardIcon:ol,Citrus:cl,CitrusIcon:cl,Clapperboard:il,ClapperboardIcon:il,Clipboard:ml,ClipboardCheck:rl,ClipboardCheckIcon:rl,ClipboardClock:sl,ClipboardClockIcon:sl,ClipboardCopy:dl,ClipboardCopyIcon:dl,ClipboardEdit:Za,ClipboardEditIcon:Za,ClipboardIcon:ml,ClipboardList:ll,ClipboardListIcon:ll,ClipboardMinus:hl,ClipboardMinusIcon:hl,ClipboardPaste:ul,ClipboardPasteIcon:ul,ClipboardPen:Za,ClipboardPenIcon:Za,ClipboardPenLine:Ka,ClipboardPenLineIcon:Ka,ClipboardPlus:pl,ClipboardPlusIcon:pl,ClipboardSignature:Ka,ClipboardSignatureIcon:Ka,ClipboardType:yl,ClipboardTypeIcon:yl,ClipboardX:kl,ClipboardXIcon:kl,Clock:zl,Clock1:gl,Clock10:fl,Clock10Icon:fl,Clock11:vl,Clock11Icon:vl,Clock12:xl,Clock12Icon:xl,Clock1Icon:gl,Clock2:Ml,Clock2Icon:Ml,Clock3:_l,Clock3Icon:_l,Clock4:Ll,Clock4Icon:Ll,Clock5:Il,Clock5Icon:Il,Clock6:bl,Clock6Icon:bl,Clock7:wl,Clock7Icon:wl,Clock8:Cl,Clock8Icon:Cl,Clock9:Nl,Clock9Icon:Nl,ClockAlert:Sl,ClockAlertIcon:Sl,ClockArrowDown:jl,ClockArrowDownIcon:jl,ClockArrowUp:$l,ClockArrowUpIcon:$l,ClockFading:ql,ClockFadingIcon:ql,ClockIcon:zl,ClockPlus:Al,ClockPlusIcon:Al,ClosedCaption:Vl,ClosedCaptionIcon:Vl,Cloud:Yl,CloudAlert:Pl,CloudAlertIcon:Pl,CloudCheck:Tl,CloudCheckIcon:Tl,CloudCog:Hl,CloudCogIcon:Hl,CloudDownload:Xa,CloudDownloadIcon:Xa,CloudDrizzle:Dl,CloudDrizzleIcon:Dl,CloudFog:Bl,CloudFogIcon:Bl,CloudHail:Rl,CloudHailIcon:Rl,CloudIcon:Yl,CloudLightning:Fl,CloudLightningIcon:Fl,CloudMoon:Ol,CloudMoonIcon:Ol,CloudMoonRain:El,CloudMoonRainIcon:El,CloudOff:Ul,CloudOffIcon:Ul,CloudRain:Gl,CloudRainIcon:Gl,CloudRainWind:Wl,CloudRainWindIcon:Wl,CloudSnow:Kl,CloudSnowIcon:Kl,CloudSun:Xl,CloudSunIcon:Xl,CloudSunRain:Zl,CloudSunRainIcon:Zl,CloudUpload:Ya,CloudUploadIcon:Ya,Cloudy:Jl,CloudyIcon:Jl,Clover:Ql,CloverIcon:Ql,Club:eh,ClubIcon:eh,Code:th,Code2:Ja,Code2Icon:Ja,CodeIcon:th,CodeSquare:qo,CodeSquareIcon:qo,CodeXml:Ja,CodeXmlIcon:Ja,Codepen:ah,CodepenIcon:ah,Codesandbox:nh,CodesandboxIcon:nh,Coffee:oh,CoffeeIcon:oh,Cog:ch,CogIcon:ch,Coins:ih,CoinsIcon:ih,Columns:Qa,Columns2:Qa,Columns2Icon:Qa,Columns3:en,Columns3Cog:ht,Columns3CogIcon:ht,Columns3Icon:en,Columns4:rh,Columns4Icon:rh,ColumnsIcon:Qa,ColumnsSettings:ht,ColumnsSettingsIcon:ht,Combine:sh,CombineIcon:sh,Command:dh,CommandIcon:dh,Compass:lh,CompassIcon:lh,Component:hh,ComponentIcon:hh,Computer:uh,ComputerIcon:uh,ConciergeBell:ph,ConciergeBellIcon:ph,Cone:yh,ConeIcon:yh,Construction:kh,ConstructionIcon:kh,Contact:mh,Contact2:tn,Contact2Icon:tn,ContactIcon:mh,ContactRound:tn,ContactRoundIcon:tn,Container:fh,ContainerIcon:fh,Contrast:vh,ContrastIcon:vh,Cookie:gh,CookieIcon:gh,CookingPot:Mh,CookingPotIcon:Mh,Copy:wh,CopyCheck:xh,CopyCheckIcon:xh,CopyIcon:wh,CopyMinus:_h,CopyMinusIcon:_h,CopyPlus:Lh,CopyPlusIcon:Lh,CopySlash:Ih,CopySlashIcon:Ih,CopyX:bh,CopyXIcon:bh,Copyleft:Ch,CopyleftIcon:Ch,Copyright:Nh,CopyrightIcon:Nh,CornerDownLeft:Sh,CornerDownLeftIcon:Sh,CornerDownRight:jh,CornerDownRightIcon:jh,CornerLeftDown:$h,CornerLeftDownIcon:$h,CornerLeftUp:qh,CornerLeftUpIcon:qh,CornerRightDown:Ah,CornerRightDownIcon:Ah,CornerRightUp:zh,CornerRightUpIcon:zh,CornerUpLeft:Vh,CornerUpLeftIcon:Vh,CornerUpRight:Ph,CornerUpRightIcon:Ph,Cpu:Th,CpuIcon:Th,CreativeCommons:Hh,CreativeCommonsIcon:Hh,CreditCard:Dh,CreditCardIcon:Dh,Croissant:Bh,CroissantIcon:Bh,Crop:Rh,CropIcon:Rh,Cross:Fh,CrossIcon:Fh,Crosshair:Eh,CrosshairIcon:Eh,Crown:Oh,CrownIcon:Oh,Cuboid:Uh,CuboidIcon:Uh,CupSoda:Wh,CupSodaIcon:Wh,CurlyBraces:oa,CurlyBracesIcon:oa,Currency:Gh,CurrencyIcon:Gh,Cylinder:Kh,CylinderIcon:Kh,Dam:Zh,DamIcon:Zh,Database:Jh,DatabaseBackup:Xh,DatabaseBackupIcon:Xh,DatabaseIcon:Jh,DatabaseZap:Yh,DatabaseZapIcon:Yh,DecimalsArrowLeft:Qh,DecimalsArrowLeftIcon:Qh,DecimalsArrowRight:eu,DecimalsArrowRightIcon:eu,Delete:tu,DeleteIcon:tu,Dessert:au,DessertIcon:au,Diameter:nu,DiameterIcon:nu,Diamond:iu,DiamondIcon:iu,DiamondMinus:ou,DiamondMinusIcon:ou,DiamondPercent:an,DiamondPercentIcon:an,DiamondPlus:cu,DiamondPlusIcon:cu,Dice1:ru,Dice1Icon:ru,Dice2:su,Dice2Icon:su,Dice3:du,Dice3Icon:du,Dice4:lu,Dice4Icon:lu,Dice5:hu,Dice5Icon:hu,Dice6:uu,Dice6Icon:uu,Dices:pu,DicesIcon:pu,Diff:yu,DiffIcon:yu,Disc:gu,Disc2:ku,Disc2Icon:ku,Disc3:mu,Disc3Icon:mu,DiscAlbum:fu,DiscAlbumIcon:fu,DiscIcon:gu,Divide:vu,DivideCircle:za,DivideCircleIcon:za,DivideIcon:vu,DivideSquare:Po,DivideSquareIcon:Po,Dna:Mu,DnaIcon:Mu,DnaOff:xu,DnaOffIcon:xu,Dock:_u,DockIcon:_u,Dog:Lu,DogIcon:Lu,DollarSign:Iu,DollarSignIcon:Iu,Donut:bu,DonutIcon:bu,DoorClosed:Cu,DoorClosedIcon:Cu,DoorClosedLocked:wu,DoorClosedLockedIcon:wu,DoorOpen:Nu,DoorOpenIcon:Nu,Dot:Su,DotIcon:Su,DotSquare:Ho,DotSquareIcon:Ho,Download:$u,DownloadCloud:Xa,DownloadCloudIcon:Xa,DownloadIcon:$u,DraftingCompass:ju,DraftingCompassIcon:ju,Drama:qu,DramaIcon:qu,Dribbble:Au,DribbbleIcon:Au,Drill:zu,DrillIcon:zu,Drone:Vu,DroneIcon:Vu,Droplet:Tu,DropletIcon:Tu,DropletOff:Pu,DropletOffIcon:Pu,Droplets:Hu,DropletsIcon:Hu,Drum:Du,DrumIcon:Du,Drumstick:Bu,DrumstickIcon:Bu,Dumbbell:Ru,DumbbellIcon:Ru,Ear:Eu,EarIcon:Eu,EarOff:Fu,EarOffIcon:Fu,Earth:nn,EarthIcon:nn,EarthLock:Ou,EarthLockIcon:Ou,Eclipse:Uu,EclipseIcon:Uu,Edit:We,Edit2:vt,Edit2Icon:vt,Edit3:gt,Edit3Icon:gt,EditIcon:We,Egg:Ku,EggFried:Wu,EggFriedIcon:Wu,EggIcon:Ku,EggOff:Gu,EggOffIcon:Gu,Ellipsis:cn,EllipsisIcon:cn,EllipsisVertical:on,EllipsisVerticalIcon:on,Equal:Yu,EqualApproximately:Zu,EqualApproximatelyIcon:Zu,EqualIcon:Yu,EqualNot:Xu,EqualNotIcon:Xu,EqualSquare:To,EqualSquareIcon:To,Eraser:Ju,EraserIcon:Ju,EthernetPort:Qu,EthernetPortIcon:Qu,Euro:ep,EuroIcon:ep,Expand:ap,ExpandIcon:ap,ExternalLink:tp,ExternalLinkIcon:tp,Eye:j1,EyeClosed:np,EyeClosedIcon:np,EyeIcon:j1,EyeOff:S1,EyeOffIcon:S1,Facebook:op,FacebookIcon:op,Factory:cp,FactoryIcon:cp,Fan:ip,FanIcon:ip,FastForward:rp,FastForwardIcon:rp,Feather:sp,FeatherIcon:sp,Fence:dp,FenceIcon:dp,FerrisWheel:lp,FerrisWheelIcon:lp,Figma:hp,FigmaIcon:hp,File:cy,FileArchive:up,FileArchiveIcon:up,FileAudio:yp,FileAudio2:pp,FileAudio2Icon:pp,FileAudioIcon:yp,FileAxis3D:rn,FileAxis3DIcon:rn,FileAxis3d:rn,FileAxis3dIcon:rn,FileBadge:fp,FileBadge2:kp,FileBadge2Icon:kp,FileBadgeIcon:fp,FileBarChart:sn,FileBarChart2:dn,FileBarChart2Icon:dn,FileBarChartIcon:sn,FileBox:mp,FileBoxIcon:mp,FileChartColumn:dn,FileChartColumnIcon:dn,FileChartColumnIncreasing:sn,FileChartColumnIncreasingIcon:sn,FileChartLine:ln,FileChartLineIcon:ln,FileChartPie:hn,FileChartPieIcon:hn,FileCheck:vp,FileCheck2:gp,FileCheck2Icon:gp,FileCheckIcon:vp,FileClock:xp,FileClockIcon:xp,FileCode:Mp,FileCode2:_p,FileCode2Icon:_p,FileCodeIcon:Mp,FileCog:un,FileCog2:un,FileCog2Icon:un,FileCogIcon:un,FileDiff:Lp,FileDiffIcon:Lp,FileDigit:Ip,FileDigitIcon:Ip,FileDown:bp,FileDownIcon:bp,FileEdit:yn,FileEditIcon:yn,FileHeart:wp,FileHeartIcon:wp,FileIcon:cy,FileImage:Cp,FileImageIcon:Cp,FileInput:Np,FileInputIcon:Np,FileJson:jp,FileJson2:Sp,FileJson2Icon:Sp,FileJsonIcon:jp,FileKey:qp,FileKey2:$p,FileKey2Icon:$p,FileKeyIcon:qp,FileLineChart:ln,FileLineChartIcon:ln,FileLock:zp,FileLock2:Ap,FileLock2Icon:Ap,FileLockIcon:zp,FileMinus:Pp,FileMinus2:Vp,FileMinus2Icon:Vp,FileMinusIcon:Pp,FileMusic:Tp,FileMusicIcon:Tp,FileOutput:Hp,FileOutputIcon:Hp,FilePen:yn,FilePenIcon:yn,FilePenLine:pn,FilePenLineIcon:pn,FilePieChart:hn,FilePieChartIcon:hn,FilePlay:kn,FilePlayIcon:kn,FilePlus:Bp,FilePlus2:Dp,FilePlus2Icon:Dp,FilePlusIcon:Bp,FileQuestion:mn,FileQuestionIcon:mn,FileQuestionMark:mn,FileQuestionMarkIcon:mn,FileScan:Rp,FileScanIcon:Rp,FileSearch:Ep,FileSearch2:Fp,FileSearch2Icon:Fp,FileSearchIcon:Ep,FileSignature:pn,FileSignatureIcon:pn,FileSliders:Op,FileSlidersIcon:Op,FileSpreadsheet:Up,FileSpreadsheetIcon:Up,FileStack:Wp,FileStackIcon:Wp,FileSymlink:Gp,FileSymlinkIcon:Gp,FileTerminal:Kp,FileTerminalIcon:Kp,FileText:Zp,FileTextIcon:Zp,FileType:Yp,FileType2:Xp,FileType2Icon:Xp,FileTypeIcon:Yp,FileUp:Jp,FileUpIcon:Jp,FileUser:Qp,FileUserIcon:Qp,FileVideo:kn,FileVideo2:fn,FileVideo2Icon:fn,FileVideoCamera:fn,FileVideoCameraIcon:fn,FileVideoIcon:kn,FileVolume:ty,FileVolume2:ey,FileVolume2Icon:ey,FileVolumeIcon:ty,FileWarning:ay,FileWarningIcon:ay,FileX:oy,FileX2:ny,FileX2Icon:ny,FileXIcon:oy,Files:iy,FilesIcon:iy,Film:ry,FilmIcon:ry,Filter:qt,FilterIcon:qt,FilterX:xn,FilterXIcon:xn,Fingerprint:sy,FingerprintIcon:sy,FireExtinguisher:dy,FireExtinguisherIcon:dy,Fish:hy,FishIcon:hy,FishOff:ly,FishOffIcon:ly,FishSymbol:uy,FishSymbolIcon:uy,Flag:my,FlagIcon:my,FlagOff:py,FlagOffIcon:py,FlagTriangleLeft:yy,FlagTriangleLeftIcon:yy,FlagTriangleRight:ky,FlagTriangleRightIcon:ky,Flame:gy,FlameIcon:gy,FlameKindling:fy,FlameKindlingIcon:fy,Flashlight:xy,FlashlightIcon:xy,FlashlightOff:vy,FlashlightOffIcon:vy,FlaskConical:_y,FlaskConicalIcon:_y,FlaskConicalOff:My,FlaskConicalOffIcon:My,FlaskRound:Ly,FlaskRoundIcon:Ly,FlipHorizontal:by,FlipHorizontal2:Iy,FlipHorizontal2Icon:Iy,FlipHorizontalIcon:by,FlipVertical:Cy,FlipVertical2:wy,FlipVertical2Icon:wy,FlipVerticalIcon:Cy,Flower:Sy,Flower2:Ny,Flower2Icon:Ny,FlowerIcon:Sy,Focus:jy,FocusIcon:jy,FoldHorizontal:$y,FoldHorizontalIcon:$y,FoldVertical:qy,FoldVerticalIcon:qy,Folder:$1,FolderArchive:Ay,FolderArchiveIcon:Ay,FolderCheck:zy,FolderCheckIcon:zy,FolderClock:Vy,FolderClockIcon:Vy,FolderClosed:Py,FolderClosedIcon:Py,FolderCode:Ty,FolderCodeIcon:Ty,FolderCog:gn,FolderCog2:gn,FolderCog2Icon:gn,FolderCogIcon:gn,FolderDot:Hy,FolderDotIcon:Hy,FolderDown:Dy,FolderDownIcon:Dy,FolderEdit:vn,FolderEditIcon:vn,FolderGit:Ry,FolderGit2:By,FolderGit2Icon:By,FolderGitIcon:Ry,FolderHeart:Fy,FolderHeartIcon:Fy,FolderIcon:$1,FolderInput:Ey,FolderInputIcon:Ey,FolderKanban:Oy,FolderKanbanIcon:Oy,FolderKey:Uy,FolderKeyIcon:Uy,FolderLock:Wy,FolderLockIcon:Wy,FolderMinus:Gy,FolderMinusIcon:Gy,FolderOpen:Zy,FolderOpenDot:Ky,FolderOpenDotIcon:Ky,FolderOpenIcon:Zy,FolderOutput:Xy,FolderOutputIcon:Xy,FolderPen:vn,FolderPenIcon:vn,FolderPlus:qc,FolderPlusIcon:qc,FolderRoot:Yy,FolderRootIcon:Yy,FolderSearch:Qy,FolderSearch2:Jy,FolderSearch2Icon:Jy,FolderSearchIcon:Qy,FolderSymlink:e4,FolderSymlinkIcon:e4,FolderSync:t4,FolderSyncIcon:t4,FolderTree:a4,FolderTreeIcon:a4,FolderUp:n4,FolderUpIcon:n4,FolderX:o4,FolderXIcon:o4,Folders:c4,FoldersIcon:c4,Footprints:i4,FootprintsIcon:i4,ForkKnife:Ic,ForkKnifeCrossed:Lc,ForkKnifeCrossedIcon:Lc,ForkKnifeIcon:Ic,Forklift:r4,ForkliftIcon:r4,FormInput:to,FormInputIcon:to,Forward:s4,ForwardIcon:s4,Frame:d4,FrameIcon:d4,Framer:l4,FramerIcon:l4,Frown:h4,FrownIcon:h4,Fuel:u4,FuelIcon:u4,Fullscreen:p4,FullscreenIcon:p4,FunctionSquare:Do,FunctionSquareIcon:Do,Funnel:qt,FunnelIcon:qt,FunnelPlus:y4,FunnelPlusIcon:y4,FunnelX:xn,FunnelXIcon:xn,GalleryHorizontal:m4,GalleryHorizontalEnd:k4,GalleryHorizontalEndIcon:k4,GalleryHorizontalIcon:m4,GalleryThumbnails:f4,GalleryThumbnailsIcon:f4,GalleryVertical:v4,GalleryVerticalEnd:g4,GalleryVerticalEndIcon:g4,GalleryVerticalIcon:v4,Gamepad:M4,Gamepad2:x4,Gamepad2Icon:x4,GamepadIcon:M4,GanttChart:ma,GanttChartIcon:ma,GanttChartSquare:pt,GanttChartSquareIcon:pt,Gauge:_4,GaugeCircle:Va,GaugeCircleIcon:Va,GaugeIcon:_4,Gavel:L4,GavelIcon:L4,Gem:I4,GemIcon:I4,GeorgianLari:b4,GeorgianLariIcon:b4,Ghost:w4,GhostIcon:w4,Gift:C4,GiftIcon:C4,GitBranch:S4,GitBranchIcon:S4,GitBranchPlus:N4,GitBranchPlusIcon:N4,GitCommit:Mn,GitCommitHorizontal:Mn,GitCommitHorizontalIcon:Mn,GitCommitIcon:Mn,GitCommitVertical:j4,GitCommitVerticalIcon:j4,GitCompare:q4,GitCompareArrows:$4,GitCompareArrowsIcon:$4,GitCompareIcon:q4,GitFork:A4,GitForkIcon:A4,GitGraph:z4,GitGraphIcon:z4,GitMerge:V4,GitMergeIcon:V4,GitPullRequest:R4,GitPullRequestArrow:P4,GitPullRequestArrowIcon:P4,GitPullRequestClosed:T4,GitPullRequestClosedIcon:T4,GitPullRequestCreate:D4,GitPullRequestCreateArrow:H4,GitPullRequestCreateArrowIcon:H4,GitPullRequestCreateIcon:D4,GitPullRequestDraft:B4,GitPullRequestDraftIcon:B4,GitPullRequestIcon:R4,Github:F4,GithubIcon:F4,Gitlab:E4,GitlabIcon:E4,GlassWater:O4,GlassWaterIcon:O4,Glasses:U4,GlassesIcon:U4,Globe:G4,Globe2:nn,Globe2Icon:nn,GlobeIcon:G4,GlobeLock:W4,GlobeLockIcon:W4,Goal:K4,GoalIcon:K4,Gpu:Z4,GpuIcon:Z4,Grab:wn,GrabIcon:wn,GraduationCap:X4,GraduationCapIcon:X4,Grape:Y4,GrapeIcon:Y4,Grid:ut,Grid2X2:bn,Grid2X2Check:_n,Grid2X2CheckIcon:_n,Grid2X2Icon:bn,Grid2X2Plus:Ln,Grid2X2PlusIcon:Ln,Grid2X2X:In,Grid2X2XIcon:In,Grid2x2:bn,Grid2x2Check:_n,Grid2x2CheckIcon:_n,Grid2x2Icon:bn,Grid2x2Plus:Ln,Grid2x2PlusIcon:Ln,Grid2x2X:In,Grid2x2XIcon:In,Grid3X3:ut,Grid3X3Icon:ut,Grid3x2:J4,Grid3x2Icon:J4,Grid3x3:ut,Grid3x3Icon:ut,GridIcon:ut,Grip:e5,GripHorizontal:Q4,GripHorizontalIcon:Q4,GripIcon:e5,GripVertical:q1,GripVerticalIcon:q1,Group:t5,GroupIcon:t5,Guitar:a5,GuitarIcon:a5,Ham:n5,HamIcon:n5,Hamburger:o5,HamburgerIcon:o5,Hammer:c5,HammerIcon:c5,Hand:h5,HandCoins:i5,HandCoinsIcon:i5,HandFist:r5,HandFistIcon:r5,HandGrab:wn,HandGrabIcon:wn,HandHeart:s5,HandHeartIcon:s5,HandHelping:Cn,HandHelpingIcon:Cn,HandIcon:h5,HandMetal:d5,HandMetalIcon:d5,HandPlatter:l5,HandPlatterIcon:l5,Handbag:u5,HandbagIcon:u5,Handshake:p5,HandshakeIcon:p5,HardDrive:m5,HardDriveDownload:y5,HardDriveDownloadIcon:y5,HardDriveIcon:m5,HardDriveUpload:k5,HardDriveUploadIcon:k5,HardHat:f5,HardHatIcon:f5,Hash:g5,HashIcon:g5,HatGlasses:v5,HatGlassesIcon:v5,Haze:x5,HazeIcon:x5,HdmiPort:M5,HdmiPortIcon:M5,Heading:N5,Heading1:_5,Heading1Icon:_5,Heading2:L5,Heading2Icon:L5,Heading3:I5,Heading3Icon:I5,Heading4:b5,Heading4Icon:b5,Heading5:w5,Heading5Icon:w5,Heading6:C5,Heading6Icon:C5,HeadingIcon:N5,HeadphoneOff:S5,HeadphoneOffIcon:S5,Headphones:j5,HeadphonesIcon:j5,Headset:$5,HeadsetIcon:$5,Heart:H5,HeartCrack:q5,HeartCrackIcon:q5,HeartHandshake:A5,HeartHandshakeIcon:A5,HeartIcon:H5,HeartMinus:z5,HeartMinusIcon:z5,HeartOff:V5,HeartOffIcon:V5,HeartPlus:P5,HeartPlusIcon:P5,HeartPulse:T5,HeartPulseIcon:T5,Heater:D5,HeaterIcon:D5,HelpCircle:lt,HelpCircleIcon:lt,HelpingHand:Cn,HelpingHandIcon:Cn,Hexagon:B5,HexagonIcon:B5,Highlighter:R5,HighlighterIcon:R5,History:F5,HistoryIcon:F5,Home:At,HomeIcon:At,Hop:O5,HopIcon:O5,HopOff:E5,HopOffIcon:E5,Hospital:A1,HospitalIcon:A1,Hotel:U5,HotelIcon:U5,Hourglass:W5,HourglassIcon:W5,House:At,HouseIcon:At,HousePlug:G5,HousePlugIcon:G5,HousePlus:Z5,HousePlusIcon:Z5,HouseWifi:K5,HouseWifiIcon:K5,IceCream:Sn,IceCream2:Nn,IceCream2Icon:Nn,IceCreamBowl:Nn,IceCreamBowlIcon:Nn,IceCreamCone:Sn,IceCreamConeIcon:Sn,IceCreamIcon:Sn,Icon:a.Icon,IdCard:Y5,IdCardIcon:Y5,IdCardLanyard:X5,IdCardLanyardIcon:X5,Image:ck,ImageDown:J5,ImageDownIcon:J5,ImageIcon:ck,ImageMinus:Q5,ImageMinusIcon:Q5,ImageOff:ek,ImageOffIcon:ek,ImagePlay:tk,ImagePlayIcon:tk,ImagePlus:ak,ImagePlusIcon:ak,ImageUp:nk,ImageUpIcon:nk,ImageUpscale:ok,ImageUpscaleIcon:ok,Images:ik,ImagesIcon:ik,Import:rk,ImportIcon:rk,Inbox:sk,InboxIcon:sk,Indent:$n,IndentDecrease:jn,IndentDecreaseIcon:jn,IndentIcon:$n,IndentIncrease:$n,IndentIncreaseIcon:$n,IndianRupee:dk,IndianRupeeIcon:dk,Infinity:lk,InfinityIcon:lk,Info:hk,InfoIcon:hk,Inspect:Wo,InspectIcon:Wo,InspectionPanel:uk,InspectionPanelIcon:uk,Instagram:pk,InstagramIcon:pk,Italic:yk,ItalicIcon:yk,IterationCcw:kk,IterationCcwIcon:kk,IterationCw:mk,IterationCwIcon:mk,JapaneseYen:gk,JapaneseYenIcon:gk,Joystick:fk,JoystickIcon:fk,Kanban:vk,KanbanIcon:vk,KanbanSquare:Bo,KanbanSquareDashed:Ao,KanbanSquareDashedIcon:Ao,KanbanSquareIcon:Bo,Kayak:xk,KayakIcon:xk,Key:Lk,KeyIcon:Lk,KeyRound:Mk,KeyRoundIcon:Mk,KeySquare:_k,KeySquareIcon:_k,Keyboard:wk,KeyboardIcon:wk,KeyboardMusic:Ik,KeyboardMusicIcon:Ik,KeyboardOff:bk,KeyboardOffIcon:bk,Lamp:qk,LampCeiling:Ck,LampCeilingIcon:Ck,LampDesk:Sk,LampDeskIcon:Sk,LampFloor:Nk,LampFloorIcon:Nk,LampIcon:qk,LampWallDown:jk,LampWallDownIcon:jk,LampWallUp:$k,LampWallUpIcon:$k,LandPlot:Ak,LandPlotIcon:Ak,Landmark:zk,LandmarkIcon:zk,Languages:Vk,LanguagesIcon:Vk,Laptop:Tk,Laptop2:qn,Laptop2Icon:qn,LaptopIcon:Tk,LaptopMinimal:qn,LaptopMinimalCheck:Pk,LaptopMinimalCheckIcon:Pk,LaptopMinimalIcon:qn,Lasso:Dk,LassoIcon:Dk,LassoSelect:Hk,LassoSelectIcon:Hk,Laugh:Bk,LaughIcon:Bk,Layers:An,Layers2:Rk,Layers2Icon:Rk,Layers3:An,Layers3Icon:An,LayersIcon:An,Layout:Qn,LayoutDashboard:Fk,LayoutDashboardIcon:Fk,LayoutGrid:Ek,LayoutGridIcon:Ek,LayoutIcon:Qn,LayoutList:Ok,LayoutListIcon:Ok,LayoutPanelLeft:Uk,LayoutPanelLeftIcon:Uk,LayoutPanelTop:Wk,LayoutPanelTopIcon:Wk,LayoutTemplate:Gk,LayoutTemplateIcon:Gk,Leaf:Kk,LeafIcon:Kk,LeafyGreen:Xk,LeafyGreenIcon:Xk,Lectern:Zk,LecternIcon:Zk,LetterText:Yk,LetterTextIcon:Yk,Library:Qk,LibraryBig:Jk,LibraryBigIcon:Jk,LibraryIcon:Qk,LibrarySquare:Ro,LibrarySquareIcon:Ro,LifeBuoy:e3,LifeBuoyIcon:e3,Ligature:t3,LigatureIcon:t3,Lightbulb:n3,LightbulbIcon:n3,LightbulbOff:a3,LightbulbOffIcon:a3,LineChart:pa,LineChartIcon:pa,LineSquiggle:o3,LineSquiggleIcon:o3,Link:r3,Link2:c3,Link2Icon:c3,Link2Off:i3,Link2OffIcon:i3,LinkIcon:r3,Linkedin:s3,LinkedinIcon:s3,List:b3,ListCheck:d3,ListCheckIcon:d3,ListChecks:l3,ListChecksIcon:l3,ListCollapse:h3,ListCollapseIcon:h3,ListEnd:u3,ListEndIcon:u3,ListFilter:k3,ListFilterIcon:k3,ListFilterPlus:p3,ListFilterPlusIcon:p3,ListIcon:b3,ListMinus:y3,ListMinusIcon:y3,ListMusic:m3,ListMusicIcon:m3,ListOrdered:f3,ListOrderedIcon:f3,ListPlus:g3,ListPlusIcon:g3,ListRestart:v3,ListRestartIcon:v3,ListStart:x3,ListStartIcon:x3,ListTodo:M3,ListTodoIcon:M3,ListTree:_3,ListTreeIcon:_3,ListVideo:L3,ListVideoIcon:L3,ListX:I3,ListXIcon:I3,Loader:C3,Loader2:zn,Loader2Icon:zn,LoaderCircle:zn,LoaderCircleIcon:zn,LoaderIcon:C3,LoaderPinwheel:w3,LoaderPinwheelIcon:w3,Locate:j3,LocateFixed:N3,LocateFixedIcon:N3,LocateIcon:j3,LocateOff:S3,LocateOffIcon:S3,LocationEdit:Hn,LocationEditIcon:Hn,Lock:q3,LockIcon:q3,LockKeyhole:$3,LockKeyholeIcon:$3,LockKeyholeOpen:Vn,LockKeyholeOpenIcon:Vn,LockOpen:Pn,LockOpenIcon:Pn,LogIn:A3,LogInIcon:A3,LogOut:z3,LogOutIcon:z3,Logs:V3,LogsIcon:V3,Lollipop:P3,LollipopIcon:P3,LucideAArrowDown:yi,LucideAArrowUp:ki,LucideALargeSmall:mi,LucideAccessibility:L1,LucideActivity:I1,LucideActivitySquare:zt,LucideAirVent:fi,LucideAirplay:gi,LucideAlarmCheck:Et,LucideAlarmClock:xi,LucideAlarmClockCheck:Et,LucideAlarmClockMinus:Ot,LucideAlarmClockOff:vi,LucideAlarmClockPlus:Ut,LucideAlarmMinus:Ot,LucideAlarmPlus:Ut,LucideAlarmSmoke:Mi,LucideAlbum:_i,LucideAlertCircle:va,LucideAlertOctagon:Fn,LucideAlertTriangle:pc,LucideAlignCenter:Ni,LucideAlignCenterHorizontal:Li,LucideAlignCenterVertical:Ii,LucideAlignEndHorizontal:bi,LucideAlignEndVertical:wi,LucideAlignHorizontalDistributeCenter:Ci,LucideAlignHorizontalDistributeEnd:Si,LucideAlignHorizontalDistributeStart:ji,LucideAlignHorizontalJustifyCenter:$i,LucideAlignHorizontalJustifyEnd:qi,LucideAlignHorizontalJustifyStart:Ai,LucideAlignHorizontalSpaceAround:zi,LucideAlignHorizontalSpaceBetween:Pi,LucideAlignJustify:Vi,LucideAlignLeft:Ti,LucideAlignRight:Hi,LucideAlignStartHorizontal:Di,LucideAlignStartVertical:Bi,LucideAlignVerticalDistributeCenter:Fi,LucideAlignVerticalDistributeEnd:Ri,LucideAlignVerticalDistributeStart:Oi,LucideAlignVerticalJustifyCenter:Ei,LucideAlignVerticalJustifyEnd:Ui,LucideAlignVerticalJustifyStart:Wi,LucideAlignVerticalSpaceAround:Ki,LucideAlignVerticalSpaceBetween:Gi,LucideAmbulance:Zi,LucideAmpersand:Xi,LucideAmpersands:Yi,LucideAmphora:Ji,LucideAnchor:Qi,LucideAngry:er,LucideAnnoyed:tr,LucideAntenna:ar,LucideAnvil:nr,LucideAperture:or,LucideAppWindow:ir,LucideAppWindowMac:cr,LucideApple:rr,LucideArchive:lr,LucideArchiveRestore:sr,LucideArchiveX:dr,LucideAreaChart:ia,LucideArmchair:hr,LucideArrowBigDown:pr,LucideArrowBigDownDash:ur,LucideArrowBigLeft:kr,LucideArrowBigLeftDash:yr,LucideArrowBigRight:fr,LucideArrowBigRightDash:mr,LucideArrowBigUp:vr,LucideArrowBigUpDash:gr,LucideArrowDown:Qc,LucideArrowDown01:xr,LucideArrowDown10:Mr,LucideArrowDownAZ:Wt,LucideArrowDownAz:Wt,LucideArrowDownCircle:xa,LucideArrowDownFromLine:_r,LucideArrowDownLeft:Lr,LucideArrowDownLeftFromCircle:_a,LucideArrowDownLeftFromSquare:mo,LucideArrowDownLeftSquare:uo,LucideArrowDownNarrowWide:Ir,LucideArrowDownRight:br,LucideArrowDownRightFromCircle:La,LucideArrowDownRightFromSquare:fo,LucideArrowDownRightSquare:po,LucideArrowDownSquare:yo,LucideArrowDownToDot:wr,LucideArrowDownToLine:Cr,LucideArrowDownUp:Nr,LucideArrowDownWideNarrow:Gt,LucideArrowDownZA:Kt,LucideArrowDownZa:Kt,LucideArrowLeft:b1,LucideArrowLeftCircle:Ma,LucideArrowLeftFromLine:Sr,LucideArrowLeftRight:jr,LucideArrowLeftSquare:ko,LucideArrowLeftToLine:$r,LucideArrowRight:Vr,LucideArrowRightCircle:wa,LucideArrowRightFromLine:qr,LucideArrowRightLeft:Ar,LucideArrowRightSquare:xo,LucideArrowRightToLine:zr,LucideArrowUp:e1,LucideArrowUp01:Pr,LucideArrowUp10:Tr,LucideArrowUpAZ:Zt,LucideArrowUpAz:Zt,LucideArrowUpCircle:Ca,LucideArrowUpDown:Hr,LucideArrowUpFromDot:Dr,LucideArrowUpFromLine:Br,LucideArrowUpLeft:Rr,LucideArrowUpLeftFromCircle:Ia,LucideArrowUpLeftFromSquare:go,LucideArrowUpLeftSquare:Mo,LucideArrowUpNarrowWide:Xt,LucideArrowUpRight:Fr,LucideArrowUpRightFromCircle:ba,LucideArrowUpRightFromSquare:vo,LucideArrowUpRightSquare:_o,LucideArrowUpSquare:Lo,LucideArrowUpToLine:Er,LucideArrowUpWideNarrow:Or,LucideArrowUpZA:Yt,LucideArrowUpZa:Yt,LucideArrowsUpFromLine:Ur,LucideAsterisk:Wr,LucideAsteriskSquare:Io,LucideAtSign:Gr,LucideAtom:Kr,LucideAudioLines:Zr,LucideAudioWaveform:Xr,LucideAward:Yr,LucideAxe:Jr,LucideAxis3D:Jt,LucideAxis3d:Jt,LucideBaby:Qr,LucideBackpack:es,LucideBadge:ms,LucideBadgeAlert:ts,LucideBadgeCent:as,LucideBadgeCheck:Qt,LucideBadgeDollarSign:ns,LucideBadgeEuro:os,LucideBadgeHelp:ea,LucideBadgeIndianRupee:cs,LucideBadgeInfo:is,LucideBadgeJapaneseYen:ss,LucideBadgeMinus:rs,LucideBadgePercent:ds,LucideBadgePlus:ls,LucideBadgePoundSterling:hs,LucideBadgeQuestionMark:ea,LucideBadgeRussianRuble:us,LucideBadgeSwissFranc:ps,LucideBadgeTurkishLira:ys,LucideBadgeX:ks,LucideBaggageClaim:fs,LucideBan:gs,LucideBanana:vs,LucideBandage:xs,LucideBanknote:Is,LucideBanknoteArrowDown:Ms,LucideBanknoteArrowUp:_s,LucideBanknoteX:Ls,LucideBarChart:ya,LucideBarChart2:ka,LucideBarChart3:ua,LucideBarChart4:ha,LucideBarChartBig:la,LucideBarChartHorizontal:sa,LucideBarChartHorizontalBig:ra,LucideBarcode:bs,LucideBarrel:ws,LucideBaseline:Cs,LucideBath:Ns,LucideBattery:Vs,LucideBatteryCharging:Ss,LucideBatteryFull:js,LucideBatteryLow:$s,LucideBatteryMedium:qs,LucideBatteryPlus:As,LucideBatteryWarning:zs,LucideBeaker:Ps,LucideBean:Hs,LucideBeanOff:Ts,LucideBed:Rs,LucideBedDouble:Ds,LucideBedSingle:Bs,LucideBeef:Fs,LucideBeer:Os,LucideBeerOff:Es,LucideBell:Xs,LucideBellDot:Us,LucideBellElectric:Ws,LucideBellMinus:Gs,LucideBellOff:Ks,LucideBellPlus:Zs,LucideBellRing:Ys,LucideBetweenHorizonalEnd:ta,LucideBetweenHorizonalStart:aa,LucideBetweenHorizontalEnd:ta,LucideBetweenHorizontalStart:aa,LucideBetweenVerticalEnd:Qs,LucideBetweenVerticalStart:Js,LucideBicepsFlexed:e2,LucideBike:a2,LucideBinary:t2,LucideBinoculars:n2,LucideBiohazard:o2,LucideBird:c2,LucideBitcoin:i2,LucideBlend:r2,LucideBlinds:s2,LucideBlocks:d2,LucideBluetooth:p2,LucideBluetoothConnected:l2,LucideBluetoothOff:h2,LucideBluetoothSearching:u2,LucideBold:y2,LucideBolt:k2,LucideBomb:m2,LucideBone:f2,LucideBook:R2,LucideBookA:g2,LucideBookAlert:v2,LucideBookAudio:x2,LucideBookCheck:M2,LucideBookCopy:_2,LucideBookDashed:na,LucideBookDown:L2,LucideBookHeadphones:I2,LucideBookHeart:b2,LucideBookImage:w2,LucideBookKey:C2,LucideBookLock:N2,LucideBookMarked:j2,LucideBookMinus:S2,LucideBookOpen:A2,LucideBookOpenCheck:$2,LucideBookOpenText:q2,LucideBookPlus:z2,LucideBookTemplate:na,LucideBookText:V2,LucideBookType:P2,LucideBookUp:H2,LucideBookUp2:T2,LucideBookUser:D2,LucideBookX:B2,LucideBookmark:W2,LucideBookmarkCheck:F2,LucideBookmarkMinus:E2,LucideBookmarkPlus:O2,LucideBookmarkX:U2,LucideBoomBox:G2,LucideBot:X2,LucideBotMessageSquare:K2,LucideBotOff:Z2,LucideBottleWine:Y2,LucideBowArrow:J2,LucideBox:Q2,LucideBoxSelect:Vo,LucideBoxes:ed,LucideBraces:oa,LucideBrackets:td,LucideBrain:od,LucideBrainCircuit:ad,LucideBrainCog:nd,LucideBrickWall:rd,LucideBrickWallFire:cd,LucideBrickWallShield:id,LucideBriefcase:hd,LucideBriefcaseBusiness:sd,LucideBriefcaseConveyorBelt:dd,LucideBriefcaseMedical:ld,LucideBringToFront:ud,LucideBrush:yd,LucideBrushCleaning:pd,LucideBubbles:kd,LucideBug:vd,LucideBugOff:md,LucideBugPlay:fd,LucideBuilding:xd,LucideBuilding2:gd,LucideBus:_d,LucideBusFront:Md,LucideCable:Id,LucideCableCar:Ld,LucideCake:wd,LucideCakeSlice:bd,LucideCalculator:Cd,LucideCalendar:w1,LucideCalendar1:Nd,LucideCalendarArrowDown:Sd,LucideCalendarArrowUp:jd,LucideCalendarCheck:qd,LucideCalendarCheck2:$d,LucideCalendarClock:Ad,LucideCalendarCog:zd,LucideCalendarDays:Vd,LucideCalendarFold:Pd,LucideCalendarHeart:Td,LucideCalendarMinus:Dd,LucideCalendarMinus2:Hd,LucideCalendarOff:Bd,LucideCalendarPlus:Fd,LucideCalendarPlus2:Rd,LucideCalendarRange:Ed,LucideCalendarSearch:Od,LucideCalendarSync:Ud,LucideCalendarX:Gd,LucideCalendarX2:Wd,LucideCamera:Zd,LucideCameraOff:Kd,LucideCandlestickChart:da,LucideCandy:Jd,LucideCandyCane:Xd,LucideCandyOff:Yd,LucideCannabis:Qd,LucideCaptions:ca,LucideCaptionsOff:e0,LucideCar:n0,LucideCarFront:t0,LucideCarTaxiFront:a0,LucideCaravan:o0,LucideCardSim:c0,LucideCarrot:i0,LucideCaseLower:r0,LucideCaseSensitive:s0,LucideCaseUpper:d0,LucideCassetteTape:l0,LucideCast:h0,LucideCastle:p0,LucideCat:u0,LucideCctv:y0,LucideChartArea:ia,LucideChartBar:sa,LucideChartBarBig:ra,LucideChartBarDecreasing:k0,LucideChartBarIncreasing:m0,LucideChartBarStacked:f0,LucideChartCandlestick:da,LucideChartColumn:ua,LucideChartColumnBig:la,LucideChartColumnDecreasing:g0,LucideChartColumnIncreasing:ha,LucideChartColumnStacked:v0,LucideChartGantt:x0,LucideChartLine:pa,LucideChartNetwork:M0,LucideChartNoAxesColumn:ka,LucideChartNoAxesColumnDecreasing:_0,LucideChartNoAxesColumnIncreasing:ya,LucideChartNoAxesCombined:L0,LucideChartNoAxesGantt:ma,LucideChartPie:fa,LucideChartScatter:ga,LucideChartSpline:I0,LucideCheck:C1,LucideCheckCheck:b0,LucideCheckCircle:Na,LucideCheckCircle2:Sa,LucideCheckLine:w0,LucideCheckSquare:wo,LucideCheckSquare2:Co,LucideChefHat:C0,LucideCherry:N0,LucideChevronDown:Tt,LucideChevronDownCircle:ja,LucideChevronDownSquare:No,LucideChevronFirst:S0,LucideChevronLast:j0,LucideChevronLeft:$0,LucideChevronLeftCircle:$a,LucideChevronLeftSquare:So,LucideChevronRight:N1,LucideChevronRightCircle:qa,LucideChevronRightSquare:jo,LucideChevronUp:$c,LucideChevronUpCircle:Aa,LucideChevronUpSquare:$o,LucideChevronsDown:A0,LucideChevronsDownUp:q0,LucideChevronsLeft:V0,LucideChevronsLeftRight:z0,LucideChevronsLeftRightEllipsis:P0,LucideChevronsRight:H0,LucideChevronsRightLeft:T0,LucideChevronsUp:D0,LucideChevronsUpDown:t1,LucideChrome:B0,LucideChurch:R0,LucideCigarette:E0,LucideCigaretteOff:F0,LucideCircle:nl,LucideCircleAlert:va,LucideCircleArrowDown:xa,LucideCircleArrowLeft:Ma,LucideCircleArrowOutDownLeft:_a,LucideCircleArrowOutDownRight:La,LucideCircleArrowOutUpLeft:Ia,LucideCircleArrowOutUpRight:ba,LucideCircleArrowRight:wa,LucideCircleArrowUp:Ca,LucideCircleCheck:Sa,LucideCircleCheckBig:Na,LucideCircleChevronDown:ja,LucideCircleChevronLeft:$a,LucideCircleChevronRight:qa,LucideCircleChevronUp:Aa,LucideCircleDashed:O0,LucideCircleDivide:za,LucideCircleDollarSign:W0,LucideCircleDot:G0,LucideCircleDotDashed:U0,LucideCircleEllipsis:K0,LucideCircleEqual:Z0,LucideCircleFadingArrowUp:Y0,LucideCircleFadingPlus:X0,LucideCircleGauge:Va,LucideCircleHelp:lt,LucideCircleMinus:Pa,LucideCircleOff:J0,LucideCircleParking:Da,LucideCircleParkingOff:Ta,LucideCirclePause:Ha,LucideCirclePercent:Ba,LucideCirclePlay:Ra,LucideCirclePlus:Fa,LucideCirclePoundSterling:Q0,LucideCirclePower:Ea,LucideCircleQuestionMark:lt,LucideCircleSlash:el,LucideCircleSlash2:Oa,LucideCircleSlashed:Oa,LucideCircleSmall:tl,LucideCircleStar:al,LucideCircleStop:Ua,LucideCircleUser:Ga,LucideCircleUserRound:Wa,LucideCircleX:$t,LucideCircuitBoard:ol,LucideCitrus:cl,LucideClapperboard:il,LucideClipboard:ml,LucideClipboardCheck:rl,LucideClipboardClock:sl,LucideClipboardCopy:dl,LucideClipboardEdit:Za,LucideClipboardList:ll,LucideClipboardMinus:hl,LucideClipboardPaste:ul,LucideClipboardPen:Za,LucideClipboardPenLine:Ka,LucideClipboardPlus:pl,LucideClipboardSignature:Ka,LucideClipboardType:yl,LucideClipboardX:kl,LucideClock:zl,LucideClock1:gl,LucideClock10:fl,LucideClock11:vl,LucideClock12:xl,LucideClock2:Ml,LucideClock3:_l,LucideClock4:Ll,LucideClock5:Il,LucideClock6:bl,LucideClock7:wl,LucideClock8:Cl,LucideClock9:Nl,LucideClockAlert:Sl,LucideClockArrowDown:jl,LucideClockArrowUp:$l,LucideClockFading:ql,LucideClockPlus:Al,LucideClosedCaption:Vl,LucideCloud:Yl,LucideCloudAlert:Pl,LucideCloudCheck:Tl,LucideCloudCog:Hl,LucideCloudDownload:Xa,LucideCloudDrizzle:Dl,LucideCloudFog:Bl,LucideCloudHail:Rl,LucideCloudLightning:Fl,LucideCloudMoon:Ol,LucideCloudMoonRain:El,LucideCloudOff:Ul,LucideCloudRain:Gl,LucideCloudRainWind:Wl,LucideCloudSnow:Kl,LucideCloudSun:Xl,LucideCloudSunRain:Zl,LucideCloudUpload:Ya,LucideCloudy:Jl,LucideClover:Ql,LucideClub:eh,LucideCode:th,LucideCode2:Ja,LucideCodeSquare:qo,LucideCodeXml:Ja,LucideCodepen:ah,LucideCodesandbox:nh,LucideCoffee:oh,LucideCog:ch,LucideCoins:ih,LucideColumns:Qa,LucideColumns2:Qa,LucideColumns3:en,LucideColumns3Cog:ht,LucideColumns4:rh,LucideColumnsSettings:ht,LucideCombine:sh,LucideCommand:dh,LucideCompass:lh,LucideComponent:hh,LucideComputer:uh,LucideConciergeBell:ph,LucideCone:yh,LucideConstruction:kh,LucideContact:mh,LucideContact2:tn,LucideContactRound:tn,LucideContainer:fh,LucideContrast:vh,LucideCookie:gh,LucideCookingPot:Mh,LucideCopy:wh,LucideCopyCheck:xh,LucideCopyMinus:_h,LucideCopyPlus:Lh,LucideCopySlash:Ih,LucideCopyX:bh,LucideCopyleft:Ch,LucideCopyright:Nh,LucideCornerDownLeft:Sh,LucideCornerDownRight:jh,LucideCornerLeftDown:$h,LucideCornerLeftUp:qh,LucideCornerRightDown:Ah,LucideCornerRightUp:zh,LucideCornerUpLeft:Vh,LucideCornerUpRight:Ph,LucideCpu:Th,LucideCreativeCommons:Hh,LucideCreditCard:Dh,LucideCroissant:Bh,LucideCrop:Rh,LucideCross:Fh,LucideCrosshair:Eh,LucideCrown:Oh,LucideCuboid:Uh,LucideCupSoda:Wh,LucideCurlyBraces:oa,LucideCurrency:Gh,LucideCylinder:Kh,LucideDam:Zh,LucideDatabase:Jh,LucideDatabaseBackup:Xh,LucideDatabaseZap:Yh,LucideDecimalsArrowLeft:Qh,LucideDecimalsArrowRight:eu,LucideDelete:tu,LucideDessert:au,LucideDiameter:nu,LucideDiamond:iu,LucideDiamondMinus:ou,LucideDiamondPercent:an,LucideDiamondPlus:cu,LucideDice1:ru,LucideDice2:su,LucideDice3:du,LucideDice4:lu,LucideDice5:hu,LucideDice6:uu,LucideDices:pu,LucideDiff:yu,LucideDisc:gu,LucideDisc2:ku,LucideDisc3:mu,LucideDiscAlbum:fu,LucideDivide:vu,LucideDivideCircle:za,LucideDivideSquare:Po,LucideDna:Mu,LucideDnaOff:xu,LucideDock:_u,LucideDog:Lu,LucideDollarSign:Iu,LucideDonut:bu,LucideDoorClosed:Cu,LucideDoorClosedLocked:wu,LucideDoorOpen:Nu,LucideDot:Su,LucideDotSquare:Ho,LucideDownload:$u,LucideDownloadCloud:Xa,LucideDraftingCompass:ju,LucideDrama:qu,LucideDribbble:Au,LucideDrill:zu,LucideDrone:Vu,LucideDroplet:Tu,LucideDropletOff:Pu,LucideDroplets:Hu,LucideDrum:Du,LucideDrumstick:Bu,LucideDumbbell:Ru,LucideEar:Eu,LucideEarOff:Fu,LucideEarth:nn,LucideEarthLock:Ou,LucideEclipse:Uu,LucideEdit:We,LucideEdit2:vt,LucideEdit3:gt,LucideEgg:Ku,LucideEggFried:Wu,LucideEggOff:Gu,LucideEllipsis:cn,LucideEllipsisVertical:on,LucideEqual:Yu,LucideEqualApproximately:Zu,LucideEqualNot:Xu,LucideEqualSquare:To,LucideEraser:Ju,LucideEthernetPort:Qu,LucideEuro:ep,LucideExpand:ap,LucideExternalLink:tp,LucideEye:j1,LucideEyeClosed:np,LucideEyeOff:S1,LucideFacebook:op,LucideFactory:cp,LucideFan:ip,LucideFastForward:rp,LucideFeather:sp,LucideFence:dp,LucideFerrisWheel:lp,LucideFigma:hp,LucideFile:cy,LucideFileArchive:up,LucideFileAudio:yp,LucideFileAudio2:pp,LucideFileAxis3D:rn,LucideFileAxis3d:rn,LucideFileBadge:fp,LucideFileBadge2:kp,LucideFileBarChart:sn,LucideFileBarChart2:dn,LucideFileBox:mp,LucideFileChartColumn:dn,LucideFileChartColumnIncreasing:sn,LucideFileChartLine:ln,LucideFileChartPie:hn,LucideFileCheck:vp,LucideFileCheck2:gp,LucideFileClock:xp,LucideFileCode:Mp,LucideFileCode2:_p,LucideFileCog:un,LucideFileCog2:un,LucideFileDiff:Lp,LucideFileDigit:Ip,LucideFileDown:bp,LucideFileEdit:yn,LucideFileHeart:wp,LucideFileImage:Cp,LucideFileInput:Np,LucideFileJson:jp,LucideFileJson2:Sp,LucideFileKey:qp,LucideFileKey2:$p,LucideFileLineChart:ln,LucideFileLock:zp,LucideFileLock2:Ap,LucideFileMinus:Pp,LucideFileMinus2:Vp,LucideFileMusic:Tp,LucideFileOutput:Hp,LucideFilePen:yn,LucideFilePenLine:pn,LucideFilePieChart:hn,LucideFilePlay:kn,LucideFilePlus:Bp,LucideFilePlus2:Dp,LucideFileQuestion:mn,LucideFileQuestionMark:mn,LucideFileScan:Rp,LucideFileSearch:Ep,LucideFileSearch2:Fp,LucideFileSignature:pn,LucideFileSliders:Op,LucideFileSpreadsheet:Up,LucideFileStack:Wp,LucideFileSymlink:Gp,LucideFileTerminal:Kp,LucideFileText:Zp,LucideFileType:Yp,LucideFileType2:Xp,LucideFileUp:Jp,LucideFileUser:Qp,LucideFileVideo:kn,LucideFileVideo2:fn,LucideFileVideoCamera:fn,LucideFileVolume:ty,LucideFileVolume2:ey,LucideFileWarning:ay,LucideFileX:oy,LucideFileX2:ny,LucideFiles:iy,LucideFilm:ry,LucideFilter:qt,LucideFilterX:xn,LucideFingerprint:sy,LucideFireExtinguisher:dy,LucideFish:hy,LucideFishOff:ly,LucideFishSymbol:uy,LucideFlag:my,LucideFlagOff:py,LucideFlagTriangleLeft:yy,LucideFlagTriangleRight:ky,LucideFlame:gy,LucideFlameKindling:fy,LucideFlashlight:xy,LucideFlashlightOff:vy,LucideFlaskConical:_y,LucideFlaskConicalOff:My,LucideFlaskRound:Ly,LucideFlipHorizontal:by,LucideFlipHorizontal2:Iy,LucideFlipVertical:Cy,LucideFlipVertical2:wy,LucideFlower:Sy,LucideFlower2:Ny,LucideFocus:jy,LucideFoldHorizontal:$y,LucideFoldVertical:qy,LucideFolder:$1,LucideFolderArchive:Ay,LucideFolderCheck:zy,LucideFolderClock:Vy,LucideFolderClosed:Py,LucideFolderCode:Ty,LucideFolderCog:gn,LucideFolderCog2:gn,LucideFolderDot:Hy,LucideFolderDown:Dy,LucideFolderEdit:vn,LucideFolderGit:Ry,LucideFolderGit2:By,LucideFolderHeart:Fy,LucideFolderInput:Ey,LucideFolderKanban:Oy,LucideFolderKey:Uy,LucideFolderLock:Wy,LucideFolderMinus:Gy,LucideFolderOpen:Zy,LucideFolderOpenDot:Ky,LucideFolderOutput:Xy,LucideFolderPen:vn,LucideFolderPlus:qc,LucideFolderRoot:Yy,LucideFolderSearch:Qy,LucideFolderSearch2:Jy,LucideFolderSymlink:e4,LucideFolderSync:t4,LucideFolderTree:a4,LucideFolderUp:n4,LucideFolderX:o4,LucideFolders:c4,LucideFootprints:i4,LucideForkKnife:Ic,LucideForkKnifeCrossed:Lc,LucideForklift:r4,LucideFormInput:to,LucideForward:s4,LucideFrame:d4,LucideFramer:l4,LucideFrown:h4,LucideFuel:u4,LucideFullscreen:p4,LucideFunctionSquare:Do,LucideFunnel:qt,LucideFunnelPlus:y4,LucideFunnelX:xn,LucideGalleryHorizontal:m4,LucideGalleryHorizontalEnd:k4,LucideGalleryThumbnails:f4,LucideGalleryVertical:v4,LucideGalleryVerticalEnd:g4,LucideGamepad:M4,LucideGamepad2:x4,LucideGanttChart:ma,LucideGanttChartSquare:pt,LucideGauge:_4,LucideGaugeCircle:Va,LucideGavel:L4,LucideGem:I4,LucideGeorgianLari:b4,LucideGhost:w4,LucideGift:C4,LucideGitBranch:S4,LucideGitBranchPlus:N4,LucideGitCommit:Mn,LucideGitCommitHorizontal:Mn,LucideGitCommitVertical:j4,LucideGitCompare:q4,LucideGitCompareArrows:$4,LucideGitFork:A4,LucideGitGraph:z4,LucideGitMerge:V4,LucideGitPullRequest:R4,LucideGitPullRequestArrow:P4,LucideGitPullRequestClosed:T4,LucideGitPullRequestCreate:D4,LucideGitPullRequestCreateArrow:H4,LucideGitPullRequestDraft:B4,LucideGithub:F4,LucideGitlab:E4,LucideGlassWater:O4,LucideGlasses:U4,LucideGlobe:G4,LucideGlobe2:nn,LucideGlobeLock:W4,LucideGoal:K4,LucideGpu:Z4,LucideGrab:wn,LucideGraduationCap:X4,LucideGrape:Y4,LucideGrid:ut,LucideGrid2X2:bn,LucideGrid2X2Check:_n,LucideGrid2X2Plus:Ln,LucideGrid2X2X:In,LucideGrid2x2:bn,LucideGrid2x2Check:_n,LucideGrid2x2Plus:Ln,LucideGrid2x2X:In,LucideGrid3X3:ut,LucideGrid3x2:J4,LucideGrid3x3:ut,LucideGrip:e5,LucideGripHorizontal:Q4,LucideGripVertical:q1,LucideGroup:t5,LucideGuitar:a5,LucideHam:n5,LucideHamburger:o5,LucideHammer:c5,LucideHand:h5,LucideHandCoins:i5,LucideHandFist:r5,LucideHandGrab:wn,LucideHandHeart:s5,LucideHandHelping:Cn,LucideHandMetal:d5,LucideHandPlatter:l5,LucideHandbag:u5,LucideHandshake:p5,LucideHardDrive:m5,LucideHardDriveDownload:y5,LucideHardDriveUpload:k5,LucideHardHat:f5,LucideHash:g5,LucideHatGlasses:v5,LucideHaze:x5,LucideHdmiPort:M5,LucideHeading:N5,LucideHeading1:_5,LucideHeading2:L5,LucideHeading3:I5,LucideHeading4:b5,LucideHeading5:w5,LucideHeading6:C5,LucideHeadphoneOff:S5,LucideHeadphones:j5,LucideHeadset:$5,LucideHeart:H5,LucideHeartCrack:q5,LucideHeartHandshake:A5,LucideHeartMinus:z5,LucideHeartOff:V5,LucideHeartPlus:P5,LucideHeartPulse:T5,LucideHeater:D5,LucideHelpCircle:lt,LucideHelpingHand:Cn,LucideHexagon:B5,LucideHighlighter:R5,LucideHistory:F5,LucideHome:At,LucideHop:O5,LucideHopOff:E5,LucideHospital:A1,LucideHotel:U5,LucideHourglass:W5,LucideHouse:At,LucideHousePlug:G5,LucideHousePlus:Z5,LucideHouseWifi:K5,LucideIceCream:Sn,LucideIceCream2:Nn,LucideIceCreamBowl:Nn,LucideIceCreamCone:Sn,LucideIdCard:Y5,LucideIdCardLanyard:X5,LucideImage:ck,LucideImageDown:J5,LucideImageMinus:Q5,LucideImageOff:ek,LucideImagePlay:tk,LucideImagePlus:ak,LucideImageUp:nk,LucideImageUpscale:ok,LucideImages:ik,LucideImport:rk,LucideInbox:sk,LucideIndent:$n,LucideIndentDecrease:jn,LucideIndentIncrease:$n,LucideIndianRupee:dk,LucideInfinity:lk,LucideInfo:hk,LucideInspect:Wo,LucideInspectionPanel:uk,LucideInstagram:pk,LucideItalic:yk,LucideIterationCcw:kk,LucideIterationCw:mk,LucideJapaneseYen:gk,LucideJoystick:fk,LucideKanban:vk,LucideKanbanSquare:Bo,LucideKanbanSquareDashed:Ao,LucideKayak:xk,LucideKey:Lk,LucideKeyRound:Mk,LucideKeySquare:_k,LucideKeyboard:wk,LucideKeyboardMusic:Ik,LucideKeyboardOff:bk,LucideLamp:qk,LucideLampCeiling:Ck,LucideLampDesk:Sk,LucideLampFloor:Nk,LucideLampWallDown:jk,LucideLampWallUp:$k,LucideLandPlot:Ak,LucideLandmark:zk,LucideLanguages:Vk,LucideLaptop:Tk,LucideLaptop2:qn,LucideLaptopMinimal:qn,LucideLaptopMinimalCheck:Pk,LucideLasso:Dk,LucideLassoSelect:Hk,LucideLaugh:Bk,LucideLayers:An,LucideLayers2:Rk,LucideLayers3:An,LucideLayout:Qn,LucideLayoutDashboard:Fk,LucideLayoutGrid:Ek,LucideLayoutList:Ok,LucideLayoutPanelLeft:Uk,LucideLayoutPanelTop:Wk,LucideLayoutTemplate:Gk,LucideLeaf:Kk,LucideLeafyGreen:Xk,LucideLectern:Zk,LucideLetterText:Yk,LucideLibrary:Qk,LucideLibraryBig:Jk,LucideLibrarySquare:Ro,LucideLifeBuoy:e3,LucideLigature:t3,LucideLightbulb:n3,LucideLightbulbOff:a3,LucideLineChart:pa,LucideLineSquiggle:o3,LucideLink:r3,LucideLink2:c3,LucideLink2Off:i3,LucideLinkedin:s3,LucideList:b3,LucideListCheck:d3,LucideListChecks:l3,LucideListCollapse:h3,LucideListEnd:u3,LucideListFilter:k3,LucideListFilterPlus:p3,LucideListMinus:y3,LucideListMusic:m3,LucideListOrdered:f3,LucideListPlus:g3,LucideListRestart:v3,LucideListStart:x3,LucideListTodo:M3,LucideListTree:_3,LucideListVideo:L3,LucideListX:I3,LucideLoader:C3,LucideLoader2:zn,LucideLoaderCircle:zn,LucideLoaderPinwheel:w3,LucideLocate:j3,LucideLocateFixed:N3,LucideLocateOff:S3,LucideLocationEdit:Hn,LucideLock:q3,LucideLockKeyhole:$3,LucideLockKeyholeOpen:Vn,LucideLockOpen:Pn,LucideLogIn:A3,LucideLogOut:z3,LucideLogs:V3,LucideLollipop:P3,LucideLuggage:T3,LucideMSquare:Fo,LucideMagnet:H3,LucideMail:U3,LucideMailCheck:D3,LucideMailMinus:B3,LucideMailOpen:R3,LucideMailPlus:F3,LucideMailQuestion:Tn,LucideMailQuestionMark:Tn,LucideMailSearch:E3,LucideMailWarning:O3,LucideMailX:W3,LucideMailbox:G3,LucideMails:K3,LucideMap:dm,LucideMapMinus:Z3,LucideMapPin:im,LucideMapPinCheck:X3,LucideMapPinCheckInside:Y3,LucideMapPinHouse:J3,LucideMapPinMinus:em,LucideMapPinMinusInside:Q3,LucideMapPinOff:tm,LucideMapPinPen:Hn,LucideMapPinPlus:nm,LucideMapPinPlusInside:am,LucideMapPinX:cm,LucideMapPinXInside:om,LucideMapPinned:rm,LucideMapPlus:sm,LucideMars:hm,LucideMarsStroke:lm,LucideMartini:um,LucideMaximize:km,LucideMaximize2:pm,LucideMedal:ym,LucideMegaphone:fm,LucideMegaphoneOff:mm,LucideMeh:gm,LucideMemoryStick:vm,LucideMenu:a1,LucideMenuSquare:Eo,LucideMerge:xm,LucideMessageCircle:jm,LucideMessageCircleCode:Mm,LucideMessageCircleDashed:_m,LucideMessageCircleHeart:Lm,LucideMessageCircleMore:Im,LucideMessageCircleOff:bm,LucideMessageCirclePlus:wm,LucideMessageCircleQuestion:Dn,LucideMessageCircleQuestionMark:Dn,LucideMessageCircleReply:Cm,LucideMessageCircleWarning:Nm,LucideMessageCircleX:Sm,LucideMessageSquare:Wm,LucideMessageSquareCode:$m,LucideMessageSquareDashed:qm,LucideMessageSquareDiff:Am,LucideMessageSquareDot:zm,LucideMessageSquareHeart:Vm,LucideMessageSquareLock:Pm,LucideMessageSquareMore:Tm,LucideMessageSquareOff:Hm,LucideMessageSquarePlus:Dm,LucideMessageSquareQuote:Bm,LucideMessageSquareReply:Rm,LucideMessageSquareShare:Fm,LucideMessageSquareText:Em,LucideMessageSquareWarning:Om,LucideMessageSquareX:Um,LucideMessagesSquare:Gm,LucideMic:Zm,LucideMic2:Bn,LucideMicOff:Km,LucideMicVocal:Bn,LucideMicrochip:Xm,LucideMicroscope:Ym,LucideMicrowave:Jm,LucideMilestone:Qm,LucideMilk:t6,LucideMilkOff:e6,LucideMinimize:n6,LucideMinimize2:a6,LucideMinus:o6,LucideMinusCircle:Pa,LucideMinusSquare:Oo,LucideMonitor:f6,LucideMonitorCheck:c6,LucideMonitorCog:i6,LucideMonitorDot:r6,LucideMonitorDown:s6,LucideMonitorOff:d6,LucideMonitorPause:h6,LucideMonitorPlay:l6,LucideMonitorSmartphone:u6,LucideMonitorSpeaker:p6,LucideMonitorStop:y6,LucideMonitorUp:k6,LucideMonitorX:m6,LucideMoon:v6,LucideMoonStar:g6,LucideMoreHorizontal:cn,LucideMoreVertical:on,LucideMountain:M6,LucideMountainSnow:x6,LucideMouse:C6,LucideMouseOff:_6,LucideMousePointer:b6,LucideMousePointer2:L6,LucideMousePointerBan:I6,LucideMousePointerClick:w6,LucideMousePointerSquareDashed:zo,LucideMove:a.Move,LucideMove3D:Rn,LucideMove3d:Rn,LucideMoveDiagonal:S6,LucideMoveDiagonal2:N6,LucideMoveDown:A6,LucideMoveDownLeft:j6,LucideMoveDownRight:$6,LucideMoveHorizontal:q6,LucideMoveLeft:z6,LucideMoveRight:V6,LucideMoveUp:H6,LucideMoveUpLeft:P6,LucideMoveUpRight:T6,LucideMoveVertical:D6,LucideMusic:E6,LucideMusic2:B6,LucideMusic3:R6,LucideMusic4:F6,LucideNavigation:G6,LucideNavigation2:U6,LucideNavigation2Off:O6,LucideNavigationOff:W6,LucideNetwork:K6,LucideNewspaper:Z6,LucideNfc:X6,LucideNonBinary:Y6,LucideNotebook:tf,LucideNotebookPen:J6,LucideNotebookTabs:Q6,LucideNotebookText:ef,LucideNotepadText:nf,LucideNotepadTextDashed:af,LucideNut:cf,LucideNutOff:of,LucideOctagon:sf,LucideOctagonAlert:Fn,LucideOctagonMinus:rf,LucideOctagonPause:En,LucideOctagonX:On,LucideOmega:df,LucideOption:lf,LucideOrbit:hf,LucideOrigami:uf,LucideOutdent:jn,LucidePackage:xf,LucidePackage2:pf,LucidePackageCheck:yf,LucidePackageMinus:kf,LucidePackageOpen:mf,LucidePackagePlus:ff,LucidePackageSearch:gf,LucidePackageX:vf,LucidePaintBucket:Mf,LucidePaintRoller:_f,LucidePaintbrush:Lf,LucidePaintbrush2:Un,LucidePaintbrushVertical:Un,LucidePalette:If,LucidePalmtree:uc,LucidePanda:bf,LucidePanelBottom:Nf,LucidePanelBottomClose:wf,LucidePanelBottomDashed:Wn,LucidePanelBottomInactive:Wn,LucidePanelBottomOpen:Cf,LucidePanelLeft:Xn,LucidePanelLeftClose:Gn,LucidePanelLeftDashed:Kn,LucidePanelLeftInactive:Kn,LucidePanelLeftOpen:Zn,LucidePanelRight:$f,LucidePanelRightClose:Sf,LucidePanelRightDashed:Yn,LucidePanelRightInactive:Yn,LucidePanelRightOpen:jf,LucidePanelTop:zf,LucidePanelTopClose:qf,LucidePanelTopDashed:Jn,LucidePanelTopInactive:Jn,LucidePanelTopOpen:Af,LucidePanelsLeftBottom:Vf,LucidePanelsLeftRight:en,LucidePanelsRightBottom:Pf,LucidePanelsTopBottom:oo,LucidePanelsTopLeft:Qn,LucidePaperclip:Tf,LucideParentheses:Hf,LucideParkingCircle:Da,LucideParkingCircleOff:Ta,LucideParkingMeter:Df,LucideParkingSquare:Go,LucideParkingSquareOff:Uo,LucidePartyPopper:Bf,LucidePause:Rf,LucidePauseCircle:Ha,LucidePauseOctagon:En,LucidePawPrint:Ff,LucidePcCase:Ef,LucidePen:vt,LucidePenBox:We,LucidePenLine:gt,LucidePenOff:Uf,LucidePenSquare:We,LucidePenTool:Of,LucidePencil:n1,LucidePencilLine:Wf,LucidePencilOff:Gf,LucidePencilRuler:Kf,LucidePentagon:Zf,LucidePercent:Xf,LucidePercentCircle:Ba,LucidePercentDiamond:an,LucidePercentSquare:Ko,LucidePersonStanding:Jf,LucidePhilippinePeso:Yf,LucidePhone:o8,LucidePhoneCall:Qf,LucidePhoneForwarded:e8,LucidePhoneIncoming:t8,LucidePhoneMissed:a8,LucidePhoneOff:n8,LucidePhoneOutgoing:c8,LucidePi:i8,LucidePiSquare:Zo,LucidePiano:r8,LucidePickaxe:s8,LucidePictureInPicture:l8,LucidePictureInPicture2:d8,LucidePieChart:fa,LucidePiggyBank:h8,LucidePilcrow:p8,LucidePilcrowLeft:u8,LucidePilcrowRight:y8,LucidePilcrowSquare:Xo,LucidePill:m8,LucidePillBottle:k8,LucidePin:g8,LucidePinOff:f8,LucidePipette:v8,LucidePizza:x8,LucidePlane:L8,LucidePlaneLanding:M8,LucidePlaneTakeoff:_8,LucidePlay:I8,LucidePlayCircle:Ra,LucidePlaySquare:Yo,LucidePlug:w8,LucidePlug2:b8,LucidePlugZap:eo,LucidePlugZap2:eo,LucidePlus:Ac,LucidePlusCircle:Fa,LucidePlusSquare:Jo,LucidePocket:N8,LucidePocketKnife:C8,LucidePodcast:S8,LucidePointer:$8,LucidePointerOff:j8,LucidePopcorn:A8,LucidePopsicle:q8,LucidePoundSterling:z8,LucidePower:P8,LucidePowerCircle:Ea,LucidePowerOff:V8,LucidePowerSquare:Qo,LucidePresentation:T8,LucidePrinter:D8,LucidePrinterCheck:H8,LucideProjector:B8,LucideProportions:R8,LucidePuzzle:E8,LucidePyramid:F8,LucideQrCode:O8,LucideQuote:U8,LucideRabbit:W8,LucideRadar:G8,LucideRadiation:K8,LucideRadical:Z8,LucideRadio:J8,LucideRadioReceiver:X8,LucideRadioTower:Y8,LucideRadius:Q8,LucideRailSymbol:eg,LucideRainbow:tg,LucideRat:ag,LucideRatio:ng,LucideReceipt:pg,LucideReceiptCent:og,LucideReceiptEuro:ig,LucideReceiptIndianRupee:cg,LucideReceiptJapaneseYen:rg,LucideReceiptPoundSterling:sg,LucideReceiptRussianRuble:dg,LucideReceiptSwissFranc:lg,LucideReceiptText:hg,LucideReceiptTurkishLira:ug,LucideRectangleCircle:yg,LucideRectangleEllipsis:to,LucideRectangleGoggles:kg,LucideRectangleHorizontal:mg,LucideRectangleVertical:fg,LucideRecycle:gg,LucideRedo:Mg,LucideRedo2:vg,LucideRedoDot:xg,LucideRefreshCcw:Lg,LucideRefreshCcwDot:_g,LucideRefreshCw:bg,LucideRefreshCwOff:Ig,LucideRefrigerator:wg,LucideRegex:Cg,LucideRemoveFormatting:Ng,LucideRepeat:$g,LucideRepeat1:Sg,LucideRepeat2:jg,LucideReplace:Ag,LucideReplaceAll:qg,LucideReply:Pg,LucideReplyAll:zg,LucideRewind:Vg,LucideRibbon:Tg,LucideRocket:Hg,LucideRockingChair:Rg,LucideRollerCoaster:Dg,LucideRose:Bg,LucideRotate3D:ao,LucideRotate3d:ao,LucideRotateCcw:Og,LucideRotateCcwKey:Fg,LucideRotateCcwSquare:Eg,LucideRotateCw:Wg,LucideRotateCwSquare:Ug,LucideRoute:Kg,LucideRouteOff:Gg,LucideRouter:Zg,LucideRows:no,LucideRows2:no,LucideRows3:oo,LucideRows4:Xg,LucideRss:Yg,LucideRuler:Qg,LucideRulerDimensionLine:Jg,LucideRussianRuble:e7,LucideSailboat:t7,LucideSalad:a7,LucideSandwich:n7,LucideSatellite:c7,LucideSatelliteDish:o7,LucideSaudiRiyal:i7,LucideSave:l7,LucideSaveAll:r7,LucideSaveOff:s7,LucideScale:d7,LucideScale3D:co,LucideScale3d:co,LucideScaling:h7,LucideScan:x7,LucideScanBarcode:u7,LucideScanEye:p7,LucideScanFace:y7,LucideScanHeart:k7,LucideScanLine:m7,LucideScanQrCode:f7,LucideScanSearch:g7,LucideScanText:v7,LucideScatterChart:ga,LucideSchool:M7,LucideSchool2:kc,LucideScissors:L7,LucideScissorsLineDashed:_7,LucideScissorsSquare:ec,LucideScissorsSquareDashedBottom:bo,LucideScreenShare:I7,LucideScreenShareOff:b7,LucideScroll:C7,LucideScrollText:w7,LucideSearch:z1,LucideSearchCheck:N7,LucideSearchCode:S7,LucideSearchSlash:j7,LucideSearchX:$7,LucideSection:q7,LucideSend:z7,LucideSendHorizonal:io,LucideSendHorizontal:io,LucideSendToBack:A7,LucideSeparatorHorizontal:V7,LucideSeparatorVertical:P7,LucideServer:B7,LucideServerCog:T7,LucideServerCrash:D7,LucideServerOff:H7,LucideSettings:F7,LucideSettings2:R7,LucideShapes:E7,LucideShare:U7,LucideShare2:O7,LucideSheet:W7,LucideShell:G7,LucideShield:nv,LucideShieldAlert:K7,LucideShieldBan:Z7,LucideShieldCheck:X7,LucideShieldClose:so,LucideShieldEllipsis:Y7,LucideShieldHalf:J7,LucideShieldMinus:ev,LucideShieldOff:Q7,LucideShieldPlus:tv,LucideShieldQuestion:ro,LucideShieldQuestionMark:ro,LucideShieldUser:av,LucideShieldX:so,LucideShip:cv,LucideShipWheel:ov,LucideShirt:iv,LucideShoppingBag:rv,LucideShoppingBasket:sv,LucideShoppingCart:dv,LucideShovel:lv,LucideShowerHead:hv,LucideShredder:uv,LucideShrimp:pv,LucideShrink:yv,LucideShrub:kv,LucideShuffle:fv,LucideSidebar:Xn,LucideSidebarClose:Gn,LucideSidebarOpen:Zn,LucideSigma:mv,LucideSigmaSquare:tc,LucideSignal:_v,LucideSignalHigh:gv,LucideSignalLow:vv,LucideSignalMedium:xv,LucideSignalZero:Mv,LucideSignature:Lv,LucideSignpost:bv,LucideSignpostBig:Iv,LucideSiren:wv,LucideSkipBack:Cv,LucideSkipForward:Nv,LucideSkull:Sv,LucideSlack:jv,LucideSlash:$v,LucideSlashSquare:ac,LucideSlice:qv,LucideSliders:lo,LucideSlidersHorizontal:Av,LucideSlidersVertical:lo,LucideSmartphone:Pv,LucideSmartphoneCharging:zv,LucideSmartphoneNfc:Vv,LucideSmile:Hv,LucideSmilePlus:Tv,LucideSnail:Dv,LucideSnowflake:Bv,LucideSoapDispenserDroplet:Rv,LucideSofa:Fv,LucideSortAsc:Xt,LucideSortDesc:Gt,LucideSoup:Ev,LucideSpace:Ov,LucideSpade:Uv,LucideSparkle:Wv,LucideSparkles:ho,LucideSpeaker:Gv,LucideSpeech:Kv,LucideSpellCheck:Xv,LucideSpellCheck2:Zv,LucideSpline:Jv,LucideSplinePointer:Yv,LucideSplit:Qv,LucideSplitSquareHorizontal:nc,LucideSplitSquareVertical:oc,LucideSpool:e9,LucideSpotlight:t9,LucideSprayCan:a9,LucideSprout:n9,LucideSquare:y9,LucideSquareActivity:zt,LucideSquareArrowDown:yo,LucideSquareArrowDownLeft:uo,LucideSquareArrowDownRight:po,LucideSquareArrowLeft:ko,LucideSquareArrowOutDownLeft:mo,LucideSquareArrowOutDownRight:fo,LucideSquareArrowOutUpLeft:go,LucideSquareArrowOutUpRight:vo,LucideSquareArrowRight:xo,LucideSquareArrowUp:Lo,LucideSquareArrowUpLeft:Mo,LucideSquareArrowUpRight:_o,LucideSquareAsterisk:Io,LucideSquareBottomDashedScissors:bo,LucideSquareChartGantt:pt,LucideSquareCheck:Co,LucideSquareCheckBig:wo,LucideSquareChevronDown:No,LucideSquareChevronLeft:So,LucideSquareChevronRight:jo,LucideSquareChevronUp:$o,LucideSquareCode:qo,LucideSquareDashed:Vo,LucideSquareDashedBottom:c9,LucideSquareDashedBottomCode:o9,LucideSquareDashedKanban:Ao,LucideSquareDashedMousePointer:zo,LucideSquareDashedTopSolid:i9,LucideSquareDivide:Po,LucideSquareDot:Ho,LucideSquareEqual:To,LucideSquareFunction:Do,LucideSquareGanttChart:pt,LucideSquareKanban:Bo,LucideSquareLibrary:Ro,LucideSquareM:Fo,LucideSquareMenu:Eo,LucideSquareMinus:Oo,LucideSquareMousePointer:Wo,LucideSquareParking:Go,LucideSquareParkingOff:Uo,LucideSquarePause:r9,LucideSquarePen:We,LucideSquarePercent:Ko,LucideSquarePi:Zo,LucideSquarePilcrow:Xo,LucideSquarePlay:Yo,LucideSquarePlus:Jo,LucideSquarePower:Qo,LucideSquareRadical:s9,LucideSquareRoundCorner:d9,LucideSquareScissors:ec,LucideSquareSigma:tc,LucideSquareSlash:ac,LucideSquareSplitHorizontal:nc,LucideSquareSplitVertical:oc,LucideSquareSquare:l9,LucideSquareStack:h9,LucideSquareStar:u9,LucideSquareStop:p9,LucideSquareTerminal:cc,LucideSquareUser:rc,LucideSquareUserRound:ic,LucideSquareX:sc,LucideSquaresExclude:k9,LucideSquaresIntersect:m9,LucideSquaresSubtract:f9,LucideSquaresUnite:g9,LucideSquircle:x9,LucideSquircleDashed:v9,LucideSquirrel:M9,LucideStamp:_9,LucideStar:w9,LucideStarHalf:L9,LucideStarOff:I9,LucideStars:ho,LucideStepBack:b9,LucideStepForward:C9,LucideStethoscope:N9,LucideSticker:S9,LucideStickyNote:j9,LucideStopCircle:Ua,LucideStore:$9,LucideStretchHorizontal:q9,LucideStretchVertical:A9,LucideStrikethrough:z9,LucideSubscript:V9,LucideSubtitles:ca,LucideSun:R9,LucideSunDim:P9,LucideSunMedium:T9,LucideSunMoon:H9,LucideSunSnow:D9,LucideSunrise:B9,LucideSunset:F9,LucideSuperscript:E9,LucideSwatchBook:O9,LucideSwissFranc:U9,LucideSwitchCamera:W9,LucideSword:G9,LucideSwords:Z9,LucideSyringe:K9,LucideTable:nx,LucideTable2:X9,LucideTableCellsMerge:Y9,LucideTableCellsSplit:J9,LucideTableColumnsSplit:Q9,LucideTableConfig:ht,LucideTableOfContents:ex,LucideTableProperties:tx,LucideTableRowsSplit:ax,LucideTablet:cx,LucideTabletSmartphone:ox,LucideTablets:ix,LucideTag:rx,LucideTags:sx,LucideTally1:dx,LucideTally2:lx,LucideTally3:hx,LucideTally4:ux,LucideTally5:px,LucideTangent:yx,LucideTarget:kx,LucideTelescope:mx,LucideTent:gx,LucideTentTree:fx,LucideTerminal:vx,LucideTerminalSquare:cc,LucideTestTube:xx,LucideTestTube2:dc,LucideTestTubeDiagonal:dc,LucideTestTubes:Mx,LucideText:wx,LucideTextCursor:Lx,LucideTextCursorInput:_x,LucideTextQuote:Ix,LucideTextSearch:bx,LucideTextSelect:lc,LucideTextSelection:lc,LucideTheater:Cx,LucideThermometer:$x,LucideThermometerSnowflake:Nx,LucideThermometerSun:Sx,LucideThumbsDown:jx,LucideThumbsUp:qx,LucideTicket:Dx,LucideTicketCheck:Ax,LucideTicketMinus:zx,LucideTicketPercent:Vx,LucideTicketPlus:Px,LucideTicketSlash:Tx,LucideTicketX:Hx,LucideTickets:Rx,LucideTicketsPlane:Bx,LucideTimer:Ox,LucideTimerOff:Fx,LucideTimerReset:Ex,LucideToggleLeft:Ux,LucideToggleRight:Wx,LucideToilet:Gx,LucideToolCase:Kx,LucideTornado:Xx,LucideTorus:Zx,LucideTouchpad:Jx,LucideTouchpadOff:Yx,LucideTowerControl:eM,LucideToyBrick:Qx,LucideTractor:tM,LucideTrafficCone:aM,LucideTrain:hc,LucideTrainFront:oM,LucideTrainFrontTunnel:nM,LucideTrainTrack:cM,LucideTramFront:hc,LucideTransgender:iM,LucideTrash:rM,LucideTrash2:yt,LucideTreeDeciduous:sM,LucideTreePalm:uc,LucideTreePine:dM,LucideTrees:lM,LucideTrello:hM,LucideTrendingDown:uM,LucideTrendingUp:pM,LucideTrendingUpDown:yM,LucideTriangle:mM,LucideTriangleAlert:pc,LucideTriangleDashed:kM,LucideTriangleRight:fM,LucideTrophy:gM,LucideTruck:xM,LucideTruckElectric:vM,LucideTurkishLira:MM,LucideTurntable:_M,LucideTurtle:LM,LucideTv:bM,LucideTv2:yc,LucideTvMinimal:yc,LucideTvMinimalPlay:IM,LucideTwitch:wM,LucideTwitter:CM,LucideType:SM,LucideTypeOutline:NM,LucideUmbrella:$M,LucideUmbrellaOff:jM,LucideUnderline:qM,LucideUndo:VM,LucideUndo2:AM,LucideUndoDot:zM,LucideUnfoldHorizontal:PM,LucideUnfoldVertical:TM,LucideUngroup:HM,LucideUniversity:kc,LucideUnlink:FM,LucideUnlink2:DM,LucideUnlock:Pn,LucideUnlockKeyhole:Vn,LucideUnplug:BM,LucideUpload:RM,LucideUploadCloud:Ya,LucideUsb:EM,LucideUser:e_,LucideUser2:Mc,LucideUserCheck:OM,LucideUserCheck2:mc,LucideUserCircle:Ga,LucideUserCircle2:Wa,LucideUserCog:UM,LucideUserCog2:fc,LucideUserLock:WM,LucideUserMinus:GM,LucideUserMinus2:gc,LucideUserPen:KM,LucideUserPlus:V1,LucideUserPlus2:vc,LucideUserRound:Mc,LucideUserRoundCheck:mc,LucideUserRoundCog:fc,LucideUserRoundMinus:gc,LucideUserRoundPen:ZM,LucideUserRoundPlus:vc,LucideUserRoundSearch:XM,LucideUserRoundX:xc,LucideUserSearch:YM,LucideUserSquare:rc,LucideUserSquare2:ic,LucideUserStar:JM,LucideUserX:QM,LucideUserX2:xc,LucideUsers:t_,LucideUsers2:_c,LucideUsersRound:_c,LucideUtensils:Ic,LucideUtensilsCrossed:Lc,LucideUtilityPole:a_,LucideVariable:n_,LucideVault:o_,LucideVectorSquare:c_,LucideVegan:i_,LucideVenetianMask:r_,LucideVenus:h_,LucideVenusAndMars:s_,LucideVerified:Qt,LucideVibrate:l_,LucideVibrateOff:d_,LucideVideo:p_,LucideVideoOff:u_,LucideVideotape:y_,LucideView:m_,LucideVoicemail:k_,LucideVolleyball:f_,LucideVolume:L_,LucideVolume1:g_,LucideVolume2:v_,LucideVolumeOff:x_,LucideVolumeX:M_,LucideVote:__,LucideWallet:b_,LucideWallet2:bc,LucideWalletCards:I_,LucideWalletMinimal:bc,LucideWallpaper:w_,LucideWand:C_,LucideWand2:wc,LucideWandSparkles:wc,LucideWarehouse:N_,LucideWashingMachine:S_,LucideWatch:j_,LucideWaves:q_,LucideWavesLadder:$_,LucideWaypoints:A_,LucideWebcam:z_,LucideWebhook:T_,LucideWebhookOff:V_,LucideWeight:P_,LucideWheat:D_,LucideWheatOff:H_,LucideWholeWord:B_,LucideWifi:K_,LucideWifiCog:R_,LucideWifiHigh:F_,LucideWifiLow:E_,LucideWifiOff:O_,LucideWifiPen:U_,LucideWifiSync:W_,LucideWifiZero:G_,LucideWind:X_,LucideWindArrowDown:Z_,LucideWine:J_,LucideWineOff:Y_,LucideWorkflow:Q_,LucideWorm:eL,LucideWrapText:tL,LucideWrench:aL,LucideX:tt,LucideXCircle:$t,LucideXOctagon:On,LucideXSquare:sc,LucideYoutube:oL,LucideZap:cL,LucideZapOff:nL,LucideZoomIn:iL,LucideZoomOut:rL,Luggage:T3,LuggageIcon:T3,MSquare:Fo,MSquareIcon:Fo,Magnet:H3,MagnetIcon:H3,Mail:U3,MailCheck:D3,MailCheckIcon:D3,MailIcon:U3,MailMinus:B3,MailMinusIcon:B3,MailOpen:R3,MailOpenIcon:R3,MailPlus:F3,MailPlusIcon:F3,MailQuestion:Tn,MailQuestionIcon:Tn,MailQuestionMark:Tn,MailQuestionMarkIcon:Tn,MailSearch:E3,MailSearchIcon:E3,MailWarning:O3,MailWarningIcon:O3,MailX:W3,MailXIcon:W3,Mailbox:G3,MailboxIcon:G3,Mails:K3,MailsIcon:K3,Map:dm,MapIcon:dm,MapMinus:Z3,MapMinusIcon:Z3,MapPin:im,MapPinCheck:X3,MapPinCheckIcon:X3,MapPinCheckInside:Y3,MapPinCheckInsideIcon:Y3,MapPinHouse:J3,MapPinHouseIcon:J3,MapPinIcon:im,MapPinMinus:em,MapPinMinusIcon:em,MapPinMinusInside:Q3,MapPinMinusInsideIcon:Q3,MapPinOff:tm,MapPinOffIcon:tm,MapPinPen:Hn,MapPinPenIcon:Hn,MapPinPlus:nm,MapPinPlusIcon:nm,MapPinPlusInside:am,MapPinPlusInsideIcon:am,MapPinX:cm,MapPinXIcon:cm,MapPinXInside:om,MapPinXInsideIcon:om,MapPinned:rm,MapPinnedIcon:rm,MapPlus:sm,MapPlusIcon:sm,Mars:hm,MarsIcon:hm,MarsStroke:lm,MarsStrokeIcon:lm,Martini:um,MartiniIcon:um,Maximize:km,Maximize2:pm,Maximize2Icon:pm,MaximizeIcon:km,Medal:ym,MedalIcon:ym,Megaphone:fm,MegaphoneIcon:fm,MegaphoneOff:mm,MegaphoneOffIcon:mm,Meh:gm,MehIcon:gm,MemoryStick:vm,MemoryStickIcon:vm,Menu:a1,MenuIcon:a1,MenuSquare:Eo,MenuSquareIcon:Eo,Merge:xm,MergeIcon:xm,MessageCircle:jm,MessageCircleCode:Mm,MessageCircleCodeIcon:Mm,MessageCircleDashed:_m,MessageCircleDashedIcon:_m,MessageCircleHeart:Lm,MessageCircleHeartIcon:Lm,MessageCircleIcon:jm,MessageCircleMore:Im,MessageCircleMoreIcon:Im,MessageCircleOff:bm,MessageCircleOffIcon:bm,MessageCirclePlus:wm,MessageCirclePlusIcon:wm,MessageCircleQuestion:Dn,MessageCircleQuestionIcon:Dn,MessageCircleQuestionMark:Dn,MessageCircleQuestionMarkIcon:Dn,MessageCircleReply:Cm,MessageCircleReplyIcon:Cm,MessageCircleWarning:Nm,MessageCircleWarningIcon:Nm,MessageCircleX:Sm,MessageCircleXIcon:Sm,MessageSquare:Wm,MessageSquareCode:$m,MessageSquareCodeIcon:$m,MessageSquareDashed:qm,MessageSquareDashedIcon:qm,MessageSquareDiff:Am,MessageSquareDiffIcon:Am,MessageSquareDot:zm,MessageSquareDotIcon:zm,MessageSquareHeart:Vm,MessageSquareHeartIcon:Vm,MessageSquareIcon:Wm,MessageSquareLock:Pm,MessageSquareLockIcon:Pm,MessageSquareMore:Tm,MessageSquareMoreIcon:Tm,MessageSquareOff:Hm,MessageSquareOffIcon:Hm,MessageSquarePlus:Dm,MessageSquarePlusIcon:Dm,MessageSquareQuote:Bm,MessageSquareQuoteIcon:Bm,MessageSquareReply:Rm,MessageSquareReplyIcon:Rm,MessageSquareShare:Fm,MessageSquareShareIcon:Fm,MessageSquareText:Em,MessageSquareTextIcon:Em,MessageSquareWarning:Om,MessageSquareWarningIcon:Om,MessageSquareX:Um,MessageSquareXIcon:Um,MessagesSquare:Gm,MessagesSquareIcon:Gm,Mic:Zm,Mic2:Bn,Mic2Icon:Bn,MicIcon:Zm,MicOff:Km,MicOffIcon:Km,MicVocal:Bn,MicVocalIcon:Bn,Microchip:Xm,MicrochipIcon:Xm,Microscope:Ym,MicroscopeIcon:Ym,Microwave:Jm,MicrowaveIcon:Jm,Milestone:Qm,MilestoneIcon:Qm,Milk:t6,MilkIcon:t6,MilkOff:e6,MilkOffIcon:e6,Minimize:n6,Minimize2:a6,Minimize2Icon:a6,MinimizeIcon:n6,Minus:o6,MinusCircle:Pa,MinusCircleIcon:Pa,MinusIcon:o6,MinusSquare:Oo,MinusSquareIcon:Oo,Monitor:f6,MonitorCheck:c6,MonitorCheckIcon:c6,MonitorCog:i6,MonitorCogIcon:i6,MonitorDot:r6,MonitorDotIcon:r6,MonitorDown:s6,MonitorDownIcon:s6,MonitorIcon:f6,MonitorOff:d6,MonitorOffIcon:d6,MonitorPause:h6,MonitorPauseIcon:h6,MonitorPlay:l6,MonitorPlayIcon:l6,MonitorSmartphone:u6,MonitorSmartphoneIcon:u6,MonitorSpeaker:p6,MonitorSpeakerIcon:p6,MonitorStop:y6,MonitorStopIcon:y6,MonitorUp:k6,MonitorUpIcon:k6,MonitorX:m6,MonitorXIcon:m6,Moon:v6,MoonIcon:v6,MoonStar:g6,MoonStarIcon:g6,MoreHorizontal:cn,MoreHorizontalIcon:cn,MoreVertical:on,MoreVerticalIcon:on,Mountain:M6,MountainIcon:M6,MountainSnow:x6,MountainSnowIcon:x6,Mouse:C6,MouseIcon:C6,MouseOff:_6,MouseOffIcon:_6,MousePointer:b6,MousePointer2:L6,MousePointer2Icon:L6,MousePointerBan:I6,MousePointerBanIcon:I6,MousePointerClick:w6,MousePointerClickIcon:w6,MousePointerIcon:b6,MousePointerSquareDashed:zo,MousePointerSquareDashedIcon:zo,Move:a.Move,Move3D:Rn,Move3DIcon:Rn,Move3d:Rn,Move3dIcon:Rn,MoveDiagonal:S6,MoveDiagonal2:N6,MoveDiagonal2Icon:N6,MoveDiagonalIcon:S6,MoveDown:A6,MoveDownIcon:A6,MoveDownLeft:j6,MoveDownLeftIcon:j6,MoveDownRight:$6,MoveDownRightIcon:$6,MoveHorizontal:q6,MoveHorizontalIcon:q6,MoveIcon:a.Move,MoveLeft:z6,MoveLeftIcon:z6,MoveRight:V6,MoveRightIcon:V6,MoveUp:H6,MoveUpIcon:H6,MoveUpLeft:P6,MoveUpLeftIcon:P6,MoveUpRight:T6,MoveUpRightIcon:T6,MoveVertical:D6,MoveVerticalIcon:D6,Music:E6,Music2:B6,Music2Icon:B6,Music3:R6,Music3Icon:R6,Music4:F6,Music4Icon:F6,MusicIcon:E6,Navigation:G6,Navigation2:U6,Navigation2Icon:U6,Navigation2Off:O6,Navigation2OffIcon:O6,NavigationIcon:G6,NavigationOff:W6,NavigationOffIcon:W6,Network:K6,NetworkIcon:K6,Newspaper:Z6,NewspaperIcon:Z6,Nfc:X6,NfcIcon:X6,NonBinary:Y6,NonBinaryIcon:Y6,Notebook:tf,NotebookIcon:tf,NotebookPen:J6,NotebookPenIcon:J6,NotebookTabs:Q6,NotebookTabsIcon:Q6,NotebookText:ef,NotebookTextIcon:ef,NotepadText:nf,NotepadTextDashed:af,NotepadTextDashedIcon:af,NotepadTextIcon:nf,Nut:cf,NutIcon:cf,NutOff:of,NutOffIcon:of,Octagon:sf,OctagonAlert:Fn,OctagonAlertIcon:Fn,OctagonIcon:sf,OctagonMinus:rf,OctagonMinusIcon:rf,OctagonPause:En,OctagonPauseIcon:En,OctagonX:On,OctagonXIcon:On,Omega:df,OmegaIcon:df,Option:lf,OptionIcon:lf,Orbit:hf,OrbitIcon:hf,Origami:uf,OrigamiIcon:uf,Outdent:jn,OutdentIcon:jn,Package:xf,Package2:pf,Package2Icon:pf,PackageCheck:yf,PackageCheckIcon:yf,PackageIcon:xf,PackageMinus:kf,PackageMinusIcon:kf,PackageOpen:mf,PackageOpenIcon:mf,PackagePlus:ff,PackagePlusIcon:ff,PackageSearch:gf,PackageSearchIcon:gf,PackageX:vf,PackageXIcon:vf,PaintBucket:Mf,PaintBucketIcon:Mf,PaintRoller:_f,PaintRollerIcon:_f,Paintbrush:Lf,Paintbrush2:Un,Paintbrush2Icon:Un,PaintbrushIcon:Lf,PaintbrushVertical:Un,PaintbrushVerticalIcon:Un,Palette:If,PaletteIcon:If,Palmtree:uc,PalmtreeIcon:uc,Panda:bf,PandaIcon:bf,PanelBottom:Nf,PanelBottomClose:wf,PanelBottomCloseIcon:wf,PanelBottomDashed:Wn,PanelBottomDashedIcon:Wn,PanelBottomIcon:Nf,PanelBottomInactive:Wn,PanelBottomInactiveIcon:Wn,PanelBottomOpen:Cf,PanelBottomOpenIcon:Cf,PanelLeft:Xn,PanelLeftClose:Gn,PanelLeftCloseIcon:Gn,PanelLeftDashed:Kn,PanelLeftDashedIcon:Kn,PanelLeftIcon:Xn,PanelLeftInactive:Kn,PanelLeftInactiveIcon:Kn,PanelLeftOpen:Zn,PanelLeftOpenIcon:Zn,PanelRight:$f,PanelRightClose:Sf,PanelRightCloseIcon:Sf,PanelRightDashed:Yn,PanelRightDashedIcon:Yn,PanelRightIcon:$f,PanelRightInactive:Yn,PanelRightInactiveIcon:Yn,PanelRightOpen:jf,PanelRightOpenIcon:jf,PanelTop:zf,PanelTopClose:qf,PanelTopCloseIcon:qf,PanelTopDashed:Jn,PanelTopDashedIcon:Jn,PanelTopIcon:zf,PanelTopInactive:Jn,PanelTopInactiveIcon:Jn,PanelTopOpen:Af,PanelTopOpenIcon:Af,PanelsLeftBottom:Vf,PanelsLeftBottomIcon:Vf,PanelsLeftRight:en,PanelsLeftRightIcon:en,PanelsRightBottom:Pf,PanelsRightBottomIcon:Pf,PanelsTopBottom:oo,PanelsTopBottomIcon:oo,PanelsTopLeft:Qn,PanelsTopLeftIcon:Qn,Paperclip:Tf,PaperclipIcon:Tf,Parentheses:Hf,ParenthesesIcon:Hf,ParkingCircle:Da,ParkingCircleIcon:Da,ParkingCircleOff:Ta,ParkingCircleOffIcon:Ta,ParkingMeter:Df,ParkingMeterIcon:Df,ParkingSquare:Go,ParkingSquareIcon:Go,ParkingSquareOff:Uo,ParkingSquareOffIcon:Uo,PartyPopper:Bf,PartyPopperIcon:Bf,Pause:Rf,PauseCircle:Ha,PauseCircleIcon:Ha,PauseIcon:Rf,PauseOctagon:En,PauseOctagonIcon:En,PawPrint:Ff,PawPrintIcon:Ff,PcCase:Ef,PcCaseIcon:Ef,Pen:vt,PenBox:We,PenBoxIcon:We,PenIcon:vt,PenLine:gt,PenLineIcon:gt,PenOff:Uf,PenOffIcon:Uf,PenSquare:We,PenSquareIcon:We,PenTool:Of,PenToolIcon:Of,Pencil:n1,PencilIcon:n1,PencilLine:Wf,PencilLineIcon:Wf,PencilOff:Gf,PencilOffIcon:Gf,PencilRuler:Kf,PencilRulerIcon:Kf,Pentagon:Zf,PentagonIcon:Zf,Percent:Xf,PercentCircle:Ba,PercentCircleIcon:Ba,PercentDiamond:an,PercentDiamondIcon:an,PercentIcon:Xf,PercentSquare:Ko,PercentSquareIcon:Ko,PersonStanding:Jf,PersonStandingIcon:Jf,PhilippinePeso:Yf,PhilippinePesoIcon:Yf,Phone:o8,PhoneCall:Qf,PhoneCallIcon:Qf,PhoneForwarded:e8,PhoneForwardedIcon:e8,PhoneIcon:o8,PhoneIncoming:t8,PhoneIncomingIcon:t8,PhoneMissed:a8,PhoneMissedIcon:a8,PhoneOff:n8,PhoneOffIcon:n8,PhoneOutgoing:c8,PhoneOutgoingIcon:c8,Pi:i8,PiIcon:i8,PiSquare:Zo,PiSquareIcon:Zo,Piano:r8,PianoIcon:r8,Pickaxe:s8,PickaxeIcon:s8,PictureInPicture:l8,PictureInPicture2:d8,PictureInPicture2Icon:d8,PictureInPictureIcon:l8,PieChart:fa,PieChartIcon:fa,PiggyBank:h8,PiggyBankIcon:h8,Pilcrow:p8,PilcrowIcon:p8,PilcrowLeft:u8,PilcrowLeftIcon:u8,PilcrowRight:y8,PilcrowRightIcon:y8,PilcrowSquare:Xo,PilcrowSquareIcon:Xo,Pill:m8,PillBottle:k8,PillBottleIcon:k8,PillIcon:m8,Pin:g8,PinIcon:g8,PinOff:f8,PinOffIcon:f8,Pipette:v8,PipetteIcon:v8,Pizza:x8,PizzaIcon:x8,Plane:L8,PlaneIcon:L8,PlaneLanding:M8,PlaneLandingIcon:M8,PlaneTakeoff:_8,PlaneTakeoffIcon:_8,Play:I8,PlayCircle:Ra,PlayCircleIcon:Ra,PlayIcon:I8,PlaySquare:Yo,PlaySquareIcon:Yo,Plug:w8,Plug2:b8,Plug2Icon:b8,PlugIcon:w8,PlugZap:eo,PlugZap2:eo,PlugZap2Icon:eo,PlugZapIcon:eo,Plus:Ac,PlusCircle:Fa,PlusCircleIcon:Fa,PlusIcon:Ac,PlusSquare:Jo,PlusSquareIcon:Jo,Pocket:N8,PocketIcon:N8,PocketKnife:C8,PocketKnifeIcon:C8,Podcast:S8,PodcastIcon:S8,Pointer:$8,PointerIcon:$8,PointerOff:j8,PointerOffIcon:j8,Popcorn:A8,PopcornIcon:A8,Popsicle:q8,PopsicleIcon:q8,PoundSterling:z8,PoundSterlingIcon:z8,Power:P8,PowerCircle:Ea,PowerCircleIcon:Ea,PowerIcon:P8,PowerOff:V8,PowerOffIcon:V8,PowerSquare:Qo,PowerSquareIcon:Qo,Presentation:T8,PresentationIcon:T8,Printer:D8,PrinterCheck:H8,PrinterCheckIcon:H8,PrinterIcon:D8,Projector:B8,ProjectorIcon:B8,Proportions:R8,ProportionsIcon:R8,Puzzle:E8,PuzzleIcon:E8,Pyramid:F8,PyramidIcon:F8,QrCode:O8,QrCodeIcon:O8,Quote:U8,QuoteIcon:U8,Rabbit:W8,RabbitIcon:W8,Radar:G8,RadarIcon:G8,Radiation:K8,RadiationIcon:K8,Radical:Z8,RadicalIcon:Z8,Radio:J8,RadioIcon:J8,RadioReceiver:X8,RadioReceiverIcon:X8,RadioTower:Y8,RadioTowerIcon:Y8,Radius:Q8,RadiusIcon:Q8,RailSymbol:eg,RailSymbolIcon:eg,Rainbow:tg,RainbowIcon:tg,Rat:ag,RatIcon:ag,Ratio:ng,RatioIcon:ng,Receipt:pg,ReceiptCent:og,ReceiptCentIcon:og,ReceiptEuro:ig,ReceiptEuroIcon:ig,ReceiptIcon:pg,ReceiptIndianRupee:cg,ReceiptIndianRupeeIcon:cg,ReceiptJapaneseYen:rg,ReceiptJapaneseYenIcon:rg,ReceiptPoundSterling:sg,ReceiptPoundSterlingIcon:sg,ReceiptRussianRuble:dg,ReceiptRussianRubleIcon:dg,ReceiptSwissFranc:lg,ReceiptSwissFrancIcon:lg,ReceiptText:hg,ReceiptTextIcon:hg,ReceiptTurkishLira:ug,ReceiptTurkishLiraIcon:ug,RectangleCircle:yg,RectangleCircleIcon:yg,RectangleEllipsis:to,RectangleEllipsisIcon:to,RectangleGoggles:kg,RectangleGogglesIcon:kg,RectangleHorizontal:mg,RectangleHorizontalIcon:mg,RectangleVertical:fg,RectangleVerticalIcon:fg,Recycle:gg,RecycleIcon:gg,Redo:Mg,Redo2:vg,Redo2Icon:vg,RedoDot:xg,RedoDotIcon:xg,RedoIcon:Mg,RefreshCcw:Lg,RefreshCcwDot:_g,RefreshCcwDotIcon:_g,RefreshCcwIcon:Lg,RefreshCw:bg,RefreshCwIcon:bg,RefreshCwOff:Ig,RefreshCwOffIcon:Ig,Refrigerator:wg,RefrigeratorIcon:wg,Regex:Cg,RegexIcon:Cg,RemoveFormatting:Ng,RemoveFormattingIcon:Ng,Repeat:$g,Repeat1:Sg,Repeat1Icon:Sg,Repeat2:jg,Repeat2Icon:jg,RepeatIcon:$g,Replace:Ag,ReplaceAll:qg,ReplaceAllIcon:qg,ReplaceIcon:Ag,Reply:Pg,ReplyAll:zg,ReplyAllIcon:zg,ReplyIcon:Pg,Rewind:Vg,RewindIcon:Vg,Ribbon:Tg,RibbonIcon:Tg,Rocket:Hg,RocketIcon:Hg,RockingChair:Rg,RockingChairIcon:Rg,RollerCoaster:Dg,RollerCoasterIcon:Dg,Rose:Bg,RoseIcon:Bg,Rotate3D:ao,Rotate3DIcon:ao,Rotate3d:ao,Rotate3dIcon:ao,RotateCcw:Og,RotateCcwIcon:Og,RotateCcwKey:Fg,RotateCcwKeyIcon:Fg,RotateCcwSquare:Eg,RotateCcwSquareIcon:Eg,RotateCw:Wg,RotateCwIcon:Wg,RotateCwSquare:Ug,RotateCwSquareIcon:Ug,Route:Kg,RouteIcon:Kg,RouteOff:Gg,RouteOffIcon:Gg,Router:Zg,RouterIcon:Zg,Rows:no,Rows2:no,Rows2Icon:no,Rows3:oo,Rows3Icon:oo,Rows4:Xg,Rows4Icon:Xg,RowsIcon:no,Rss:Yg,RssIcon:Yg,Ruler:Qg,RulerDimensionLine:Jg,RulerDimensionLineIcon:Jg,RulerIcon:Qg,RussianRuble:e7,RussianRubleIcon:e7,Sailboat:t7,SailboatIcon:t7,Salad:a7,SaladIcon:a7,Sandwich:n7,SandwichIcon:n7,Satellite:c7,SatelliteDish:o7,SatelliteDishIcon:o7,SatelliteIcon:c7,SaudiRiyal:i7,SaudiRiyalIcon:i7,Save:l7,SaveAll:r7,SaveAllIcon:r7,SaveIcon:l7,SaveOff:s7,SaveOffIcon:s7,Scale:d7,Scale3D:co,Scale3DIcon:co,Scale3d:co,Scale3dIcon:co,ScaleIcon:d7,Scaling:h7,ScalingIcon:h7,Scan:x7,ScanBarcode:u7,ScanBarcodeIcon:u7,ScanEye:p7,ScanEyeIcon:p7,ScanFace:y7,ScanFaceIcon:y7,ScanHeart:k7,ScanHeartIcon:k7,ScanIcon:x7,ScanLine:m7,ScanLineIcon:m7,ScanQrCode:f7,ScanQrCodeIcon:f7,ScanSearch:g7,ScanSearchIcon:g7,ScanText:v7,ScanTextIcon:v7,ScatterChart:ga,ScatterChartIcon:ga,School:M7,School2:kc,School2Icon:kc,SchoolIcon:M7,Scissors:L7,ScissorsIcon:L7,ScissorsLineDashed:_7,ScissorsLineDashedIcon:_7,ScissorsSquare:ec,ScissorsSquareDashedBottom:bo,ScissorsSquareDashedBottomIcon:bo,ScissorsSquareIcon:ec,ScreenShare:I7,ScreenShareIcon:I7,ScreenShareOff:b7,ScreenShareOffIcon:b7,Scroll:C7,ScrollIcon:C7,ScrollText:w7,ScrollTextIcon:w7,Search:z1,SearchCheck:N7,SearchCheckIcon:N7,SearchCode:S7,SearchCodeIcon:S7,SearchIcon:z1,SearchSlash:j7,SearchSlashIcon:j7,SearchX:$7,SearchXIcon:$7,Section:q7,SectionIcon:q7,Send:z7,SendHorizonal:io,SendHorizonalIcon:io,SendHorizontal:io,SendHorizontalIcon:io,SendIcon:z7,SendToBack:A7,SendToBackIcon:A7,SeparatorHorizontal:V7,SeparatorHorizontalIcon:V7,SeparatorVertical:P7,SeparatorVerticalIcon:P7,Server:B7,ServerCog:T7,ServerCogIcon:T7,ServerCrash:D7,ServerCrashIcon:D7,ServerIcon:B7,ServerOff:H7,ServerOffIcon:H7,Settings:F7,Settings2:R7,Settings2Icon:R7,SettingsIcon:F7,Shapes:E7,ShapesIcon:E7,Share:U7,Share2:O7,Share2Icon:O7,ShareIcon:U7,Sheet:W7,SheetIcon:W7,Shell:G7,ShellIcon:G7,Shield:nv,ShieldAlert:K7,ShieldAlertIcon:K7,ShieldBan:Z7,ShieldBanIcon:Z7,ShieldCheck:X7,ShieldCheckIcon:X7,ShieldClose:so,ShieldCloseIcon:so,ShieldEllipsis:Y7,ShieldEllipsisIcon:Y7,ShieldHalf:J7,ShieldHalfIcon:J7,ShieldIcon:nv,ShieldMinus:ev,ShieldMinusIcon:ev,ShieldOff:Q7,ShieldOffIcon:Q7,ShieldPlus:tv,ShieldPlusIcon:tv,ShieldQuestion:ro,ShieldQuestionIcon:ro,ShieldQuestionMark:ro,ShieldQuestionMarkIcon:ro,ShieldUser:av,ShieldUserIcon:av,ShieldX:so,ShieldXIcon:so,Ship:cv,ShipIcon:cv,ShipWheel:ov,ShipWheelIcon:ov,Shirt:iv,ShirtIcon:iv,ShoppingBag:rv,ShoppingBagIcon:rv,ShoppingBasket:sv,ShoppingBasketIcon:sv,ShoppingCart:dv,ShoppingCartIcon:dv,Shovel:lv,ShovelIcon:lv,ShowerHead:hv,ShowerHeadIcon:hv,Shredder:uv,ShredderIcon:uv,Shrimp:pv,ShrimpIcon:pv,Shrink:yv,ShrinkIcon:yv,Shrub:kv,ShrubIcon:kv,Shuffle:fv,ShuffleIcon:fv,Sidebar:Xn,SidebarClose:Gn,SidebarCloseIcon:Gn,SidebarIcon:Xn,SidebarOpen:Zn,SidebarOpenIcon:Zn,Sigma:mv,SigmaIcon:mv,SigmaSquare:tc,SigmaSquareIcon:tc,Signal:_v,SignalHigh:gv,SignalHighIcon:gv,SignalIcon:_v,SignalLow:vv,SignalLowIcon:vv,SignalMedium:xv,SignalMediumIcon:xv,SignalZero:Mv,SignalZeroIcon:Mv,Signature:Lv,SignatureIcon:Lv,Signpost:bv,SignpostBig:Iv,SignpostBigIcon:Iv,SignpostIcon:bv,Siren:wv,SirenIcon:wv,SkipBack:Cv,SkipBackIcon:Cv,SkipForward:Nv,SkipForwardIcon:Nv,Skull:Sv,SkullIcon:Sv,Slack:jv,SlackIcon:jv,Slash:$v,SlashIcon:$v,SlashSquare:ac,SlashSquareIcon:ac,Slice:qv,SliceIcon:qv,Sliders:lo,SlidersHorizontal:Av,SlidersHorizontalIcon:Av,SlidersIcon:lo,SlidersVertical:lo,SlidersVerticalIcon:lo,Smartphone:Pv,SmartphoneCharging:zv,SmartphoneChargingIcon:zv,SmartphoneIcon:Pv,SmartphoneNfc:Vv,SmartphoneNfcIcon:Vv,Smile:Hv,SmileIcon:Hv,SmilePlus:Tv,SmilePlusIcon:Tv,Snail:Dv,SnailIcon:Dv,Snowflake:Bv,SnowflakeIcon:Bv,SoapDispenserDroplet:Rv,SoapDispenserDropletIcon:Rv,Sofa:Fv,SofaIcon:Fv,SortAsc:Xt,SortAscIcon:Xt,SortDesc:Gt,SortDescIcon:Gt,Soup:Ev,SoupIcon:Ev,Space:Ov,SpaceIcon:Ov,Spade:Uv,SpadeIcon:Uv,Sparkle:Wv,SparkleIcon:Wv,Sparkles:ho,SparklesIcon:ho,Speaker:Gv,SpeakerIcon:Gv,Speech:Kv,SpeechIcon:Kv,SpellCheck:Xv,SpellCheck2:Zv,SpellCheck2Icon:Zv,SpellCheckIcon:Xv,Spline:Jv,SplineIcon:Jv,SplinePointer:Yv,SplinePointerIcon:Yv,Split:Qv,SplitIcon:Qv,SplitSquareHorizontal:nc,SplitSquareHorizontalIcon:nc,SplitSquareVertical:oc,SplitSquareVerticalIcon:oc,Spool:e9,SpoolIcon:e9,Spotlight:t9,SpotlightIcon:t9,SprayCan:a9,SprayCanIcon:a9,Sprout:n9,SproutIcon:n9,Square:y9,SquareActivity:zt,SquareActivityIcon:zt,SquareArrowDown:yo,SquareArrowDownIcon:yo,SquareArrowDownLeft:uo,SquareArrowDownLeftIcon:uo,SquareArrowDownRight:po,SquareArrowDownRightIcon:po,SquareArrowLeft:ko,SquareArrowLeftIcon:ko,SquareArrowOutDownLeft:mo,SquareArrowOutDownLeftIcon:mo,SquareArrowOutDownRight:fo,SquareArrowOutDownRightIcon:fo,SquareArrowOutUpLeft:go,SquareArrowOutUpLeftIcon:go,SquareArrowOutUpRight:vo,SquareArrowOutUpRightIcon:vo,SquareArrowRight:xo,SquareArrowRightIcon:xo,SquareArrowUp:Lo,SquareArrowUpIcon:Lo,SquareArrowUpLeft:Mo,SquareArrowUpLeftIcon:Mo,SquareArrowUpRight:_o,SquareArrowUpRightIcon:_o,SquareAsterisk:Io,SquareAsteriskIcon:Io,SquareBottomDashedScissors:bo,SquareBottomDashedScissorsIcon:bo,SquareChartGantt:pt,SquareChartGanttIcon:pt,SquareCheck:Co,SquareCheckBig:wo,SquareCheckBigIcon:wo,SquareCheckIcon:Co,SquareChevronDown:No,SquareChevronDownIcon:No,SquareChevronLeft:So,SquareChevronLeftIcon:So,SquareChevronRight:jo,SquareChevronRightIcon:jo,SquareChevronUp:$o,SquareChevronUpIcon:$o,SquareCode:qo,SquareCodeIcon:qo,SquareDashed:Vo,SquareDashedBottom:c9,SquareDashedBottomCode:o9,SquareDashedBottomCodeIcon:o9,SquareDashedBottomIcon:c9,SquareDashedIcon:Vo,SquareDashedKanban:Ao,SquareDashedKanbanIcon:Ao,SquareDashedMousePointer:zo,SquareDashedMousePointerIcon:zo,SquareDashedTopSolid:i9,SquareDashedTopSolidIcon:i9,SquareDivide:Po,SquareDivideIcon:Po,SquareDot:Ho,SquareDotIcon:Ho,SquareEqual:To,SquareEqualIcon:To,SquareFunction:Do,SquareFunctionIcon:Do,SquareGanttChart:pt,SquareGanttChartIcon:pt,SquareIcon:y9,SquareKanban:Bo,SquareKanbanIcon:Bo,SquareLibrary:Ro,SquareLibraryIcon:Ro,SquareM:Fo,SquareMIcon:Fo,SquareMenu:Eo,SquareMenuIcon:Eo,SquareMinus:Oo,SquareMinusIcon:Oo,SquareMousePointer:Wo,SquareMousePointerIcon:Wo,SquareParking:Go,SquareParkingIcon:Go,SquareParkingOff:Uo,SquareParkingOffIcon:Uo,SquarePause:r9,SquarePauseIcon:r9,SquarePen:We,SquarePenIcon:We,SquarePercent:Ko,SquarePercentIcon:Ko,SquarePi:Zo,SquarePiIcon:Zo,SquarePilcrow:Xo,SquarePilcrowIcon:Xo,SquarePlay:Yo,SquarePlayIcon:Yo,SquarePlus:Jo,SquarePlusIcon:Jo,SquarePower:Qo,SquarePowerIcon:Qo,SquareRadical:s9,SquareRadicalIcon:s9,SquareRoundCorner:d9,SquareRoundCornerIcon:d9,SquareScissors:ec,SquareScissorsIcon:ec,SquareSigma:tc,SquareSigmaIcon:tc,SquareSlash:ac,SquareSlashIcon:ac,SquareSplitHorizontal:nc,SquareSplitHorizontalIcon:nc,SquareSplitVertical:oc,SquareSplitVerticalIcon:oc,SquareSquare:l9,SquareSquareIcon:l9,SquareStack:h9,SquareStackIcon:h9,SquareStar:u9,SquareStarIcon:u9,SquareStop:p9,SquareStopIcon:p9,SquareTerminal:cc,SquareTerminalIcon:cc,SquareUser:rc,SquareUserIcon:rc,SquareUserRound:ic,SquareUserRoundIcon:ic,SquareX:sc,SquareXIcon:sc,SquaresExclude:k9,SquaresExcludeIcon:k9,SquaresIntersect:m9,SquaresIntersectIcon:m9,SquaresSubtract:f9,SquaresSubtractIcon:f9,SquaresUnite:g9,SquaresUniteIcon:g9,Squircle:x9,SquircleDashed:v9,SquircleDashedIcon:v9,SquircleIcon:x9,Squirrel:M9,SquirrelIcon:M9,Stamp:_9,StampIcon:_9,Star:w9,StarHalf:L9,StarHalfIcon:L9,StarIcon:w9,StarOff:I9,StarOffIcon:I9,Stars:ho,StarsIcon:ho,StepBack:b9,StepBackIcon:b9,StepForward:C9,StepForwardIcon:C9,Stethoscope:N9,StethoscopeIcon:N9,Sticker:S9,StickerIcon:S9,StickyNote:j9,StickyNoteIcon:j9,StopCircle:Ua,StopCircleIcon:Ua,Store:$9,StoreIcon:$9,StretchHorizontal:q9,StretchHorizontalIcon:q9,StretchVertical:A9,StretchVerticalIcon:A9,Strikethrough:z9,StrikethroughIcon:z9,Subscript:V9,SubscriptIcon:V9,Subtitles:ca,SubtitlesIcon:ca,Sun:R9,SunDim:P9,SunDimIcon:P9,SunIcon:R9,SunMedium:T9,SunMediumIcon:T9,SunMoon:H9,SunMoonIcon:H9,SunSnow:D9,SunSnowIcon:D9,Sunrise:B9,SunriseIcon:B9,Sunset:F9,SunsetIcon:F9,Superscript:E9,SuperscriptIcon:E9,SwatchBook:O9,SwatchBookIcon:O9,SwissFranc:U9,SwissFrancIcon:U9,SwitchCamera:W9,SwitchCameraIcon:W9,Sword:G9,SwordIcon:G9,Swords:Z9,SwordsIcon:Z9,Syringe:K9,SyringeIcon:K9,Table:nx,Table2:X9,Table2Icon:X9,TableCellsMerge:Y9,TableCellsMergeIcon:Y9,TableCellsSplit:J9,TableCellsSplitIcon:J9,TableColumnsSplit:Q9,TableColumnsSplitIcon:Q9,TableConfig:ht,TableConfigIcon:ht,TableIcon:nx,TableOfContents:ex,TableOfContentsIcon:ex,TableProperties:tx,TablePropertiesIcon:tx,TableRowsSplit:ax,TableRowsSplitIcon:ax,Tablet:cx,TabletIcon:cx,TabletSmartphone:ox,TabletSmartphoneIcon:ox,Tablets:ix,TabletsIcon:ix,Tag:rx,TagIcon:rx,Tags:sx,TagsIcon:sx,Tally1:dx,Tally1Icon:dx,Tally2:lx,Tally2Icon:lx,Tally3:hx,Tally3Icon:hx,Tally4:ux,Tally4Icon:ux,Tally5:px,Tally5Icon:px,Tangent:yx,TangentIcon:yx,Target:kx,TargetIcon:kx,Telescope:mx,TelescopeIcon:mx,Tent:gx,TentIcon:gx,TentTree:fx,TentTreeIcon:fx,Terminal:vx,TerminalIcon:vx,TerminalSquare:cc,TerminalSquareIcon:cc,TestTube:xx,TestTube2:dc,TestTube2Icon:dc,TestTubeDiagonal:dc,TestTubeDiagonalIcon:dc,TestTubeIcon:xx,TestTubes:Mx,TestTubesIcon:Mx,Text:wx,TextCursor:Lx,TextCursorIcon:Lx,TextCursorInput:_x,TextCursorInputIcon:_x,TextIcon:wx,TextQuote:Ix,TextQuoteIcon:Ix,TextSearch:bx,TextSearchIcon:bx,TextSelect:lc,TextSelectIcon:lc,TextSelection:lc,TextSelectionIcon:lc,Theater:Cx,TheaterIcon:Cx,Thermometer:$x,ThermometerIcon:$x,ThermometerSnowflake:Nx,ThermometerSnowflakeIcon:Nx,ThermometerSun:Sx,ThermometerSunIcon:Sx,ThumbsDown:jx,ThumbsDownIcon:jx,ThumbsUp:qx,ThumbsUpIcon:qx,Ticket:Dx,TicketCheck:Ax,TicketCheckIcon:Ax,TicketIcon:Dx,TicketMinus:zx,TicketMinusIcon:zx,TicketPercent:Vx,TicketPercentIcon:Vx,TicketPlus:Px,TicketPlusIcon:Px,TicketSlash:Tx,TicketSlashIcon:Tx,TicketX:Hx,TicketXIcon:Hx,Tickets:Rx,TicketsIcon:Rx,TicketsPlane:Bx,TicketsPlaneIcon:Bx,Timer:Ox,TimerIcon:Ox,TimerOff:Fx,TimerOffIcon:Fx,TimerReset:Ex,TimerResetIcon:Ex,ToggleLeft:Ux,ToggleLeftIcon:Ux,ToggleRight:Wx,ToggleRightIcon:Wx,Toilet:Gx,ToiletIcon:Gx,ToolCase:Kx,ToolCaseIcon:Kx,Tornado:Xx,TornadoIcon:Xx,Torus:Zx,TorusIcon:Zx,Touchpad:Jx,TouchpadIcon:Jx,TouchpadOff:Yx,TouchpadOffIcon:Yx,TowerControl:eM,TowerControlIcon:eM,ToyBrick:Qx,ToyBrickIcon:Qx,Tractor:tM,TractorIcon:tM,TrafficCone:aM,TrafficConeIcon:aM,Train:hc,TrainFront:oM,TrainFrontIcon:oM,TrainFrontTunnel:nM,TrainFrontTunnelIcon:nM,TrainIcon:hc,TrainTrack:cM,TrainTrackIcon:cM,TramFront:hc,TramFrontIcon:hc,Transgender:iM,TransgenderIcon:iM,Trash:rM,Trash2:yt,Trash2Icon:yt,TrashIcon:rM,TreeDeciduous:sM,TreeDeciduousIcon:sM,TreePalm:uc,TreePalmIcon:uc,TreePine:dM,TreePineIcon:dM,Trees:lM,TreesIcon:lM,Trello:hM,TrelloIcon:hM,TrendingDown:uM,TrendingDownIcon:uM,TrendingUp:pM,TrendingUpDown:yM,TrendingUpDownIcon:yM,TrendingUpIcon:pM,Triangle:mM,TriangleAlert:pc,TriangleAlertIcon:pc,TriangleDashed:kM,TriangleDashedIcon:kM,TriangleIcon:mM,TriangleRight:fM,TriangleRightIcon:fM,Trophy:gM,TrophyIcon:gM,Truck:xM,TruckElectric:vM,TruckElectricIcon:vM,TruckIcon:xM,TurkishLira:MM,TurkishLiraIcon:MM,Turntable:_M,TurntableIcon:_M,Turtle:LM,TurtleIcon:LM,Tv:bM,Tv2:yc,Tv2Icon:yc,TvIcon:bM,TvMinimal:yc,TvMinimalIcon:yc,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:wM,TwitchIcon:wM,Twitter:CM,TwitterIcon:CM,Type:SM,TypeIcon:SM,TypeOutline:NM,TypeOutlineIcon:NM,Umbrella:$M,UmbrellaIcon:$M,UmbrellaOff:jM,UmbrellaOffIcon:jM,Underline:qM,UnderlineIcon:qM,Undo:VM,Undo2:AM,Undo2Icon:AM,UndoDot:zM,UndoDotIcon:zM,UndoIcon:VM,UnfoldHorizontal:PM,UnfoldHorizontalIcon:PM,UnfoldVertical:TM,UnfoldVerticalIcon:TM,Ungroup:HM,UngroupIcon:HM,University:kc,UniversityIcon:kc,Unlink:FM,Unlink2:DM,Unlink2Icon:DM,UnlinkIcon:FM,Unlock:Pn,UnlockIcon:Pn,UnlockKeyhole:Vn,UnlockKeyholeIcon:Vn,Unplug:BM,UnplugIcon:BM,Upload:RM,UploadCloud:Ya,UploadCloudIcon:Ya,UploadIcon:RM,Usb:EM,UsbIcon:EM,User:e_,User2:Mc,User2Icon:Mc,UserCheck:OM,UserCheck2:mc,UserCheck2Icon:mc,UserCheckIcon:OM,UserCircle:Ga,UserCircle2:Wa,UserCircle2Icon:Wa,UserCircleIcon:Ga,UserCog:UM,UserCog2:fc,UserCog2Icon:fc,UserCogIcon:UM,UserIcon:e_,UserLock:WM,UserLockIcon:WM,UserMinus:GM,UserMinus2:gc,UserMinus2Icon:gc,UserMinusIcon:GM,UserPen:KM,UserPenIcon:KM,UserPlus:V1,UserPlus2:vc,UserPlus2Icon:vc,UserPlusIcon:V1,UserRound:Mc,UserRoundCheck:mc,UserRoundCheckIcon:mc,UserRoundCog:fc,UserRoundCogIcon:fc,UserRoundIcon:Mc,UserRoundMinus:gc,UserRoundMinusIcon:gc,UserRoundPen:ZM,UserRoundPenIcon:ZM,UserRoundPlus:vc,UserRoundPlusIcon:vc,UserRoundSearch:XM,UserRoundSearchIcon:XM,UserRoundX:xc,UserRoundXIcon:xc,UserSearch:YM,UserSearchIcon:YM,UserSquare:rc,UserSquare2:ic,UserSquare2Icon:ic,UserSquareIcon:rc,UserStar:JM,UserStarIcon:JM,UserX:QM,UserX2:xc,UserX2Icon:xc,UserXIcon:QM,Users:t_,Users2:_c,Users2Icon:_c,UsersIcon:t_,UsersRound:_c,UsersRoundIcon:_c,Utensils:Ic,UtensilsCrossed:Lc,UtensilsCrossedIcon:Lc,UtensilsIcon:Ic,UtilityPole:a_,UtilityPoleIcon:a_,Variable:n_,VariableIcon:n_,Vault:o_,VaultIcon:o_,VectorSquare:c_,VectorSquareIcon:c_,Vegan:i_,VeganIcon:i_,VenetianMask:r_,VenetianMaskIcon:r_,Venus:h_,VenusAndMars:s_,VenusAndMarsIcon:s_,VenusIcon:h_,Verified:Qt,VerifiedIcon:Qt,Vibrate:l_,VibrateIcon:l_,VibrateOff:d_,VibrateOffIcon:d_,Video:p_,VideoIcon:p_,VideoOff:u_,VideoOffIcon:u_,Videotape:y_,VideotapeIcon:y_,View:m_,ViewIcon:m_,Voicemail:k_,VoicemailIcon:k_,Volleyball:f_,VolleyballIcon:f_,Volume:L_,Volume1:g_,Volume1Icon:g_,Volume2:v_,Volume2Icon:v_,VolumeIcon:L_,VolumeOff:x_,VolumeOffIcon:x_,VolumeX:M_,VolumeXIcon:M_,Vote:__,VoteIcon:__,Wallet:b_,Wallet2:bc,Wallet2Icon:bc,WalletCards:I_,WalletCardsIcon:I_,WalletIcon:b_,WalletMinimal:bc,WalletMinimalIcon:bc,Wallpaper:w_,WallpaperIcon:w_,Wand:C_,Wand2:wc,Wand2Icon:wc,WandIcon:C_,WandSparkles:wc,WandSparklesIcon:wc,Warehouse:N_,WarehouseIcon:N_,WashingMachine:S_,WashingMachineIcon:S_,Watch:j_,WatchIcon:j_,Waves:q_,WavesIcon:q_,WavesLadder:$_,WavesLadderIcon:$_,Waypoints:A_,WaypointsIcon:A_,Webcam:z_,WebcamIcon:z_,Webhook:T_,WebhookIcon:T_,WebhookOff:V_,WebhookOffIcon:V_,Weight:P_,WeightIcon:P_,Wheat:D_,WheatIcon:D_,WheatOff:H_,WheatOffIcon:H_,WholeWord:B_,WholeWordIcon:B_,Wifi:K_,WifiCog:R_,WifiCogIcon:R_,WifiHigh:F_,WifiHighIcon:F_,WifiIcon:K_,WifiLow:E_,WifiLowIcon:E_,WifiOff:O_,WifiOffIcon:O_,WifiPen:U_,WifiPenIcon:U_,WifiSync:W_,WifiSyncIcon:W_,WifiZero:G_,WifiZeroIcon:G_,Wind:X_,WindArrowDown:Z_,WindArrowDownIcon:Z_,WindIcon:X_,Wine:J_,WineIcon:J_,WineOff:Y_,WineOffIcon:Y_,Workflow:Q_,WorkflowIcon:Q_,Worm:eL,WormIcon:eL,WrapText:tL,WrapTextIcon:tL,Wrench:aL,WrenchIcon:aL,X:tt,XCircle:$t,XCircleIcon:$t,XIcon:tt,XOctagon:On,XOctagonIcon:On,XSquare:sc,XSquareIcon:sc,Youtube:oL,YoutubeIcon:oL,Zap:cL,ZapIcon:cL,ZapOff:nL,ZapOffIcon:nL,ZoomIn:iL,ZoomInIcon:iL,ZoomOut:rL,ZoomOutIcon:rL,createLucideIcon:a.createLucideIcon,icons:Y2e},Symbol.toStringTag,{value:"Module"})),J2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,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,g=e?{size:e*.4,...l}:l,m={background:t,position:"relative",...h,...y&&{width:y}};return o.jsxs("div",{style:m,className:`stat-card ${u}`,children:[o.jsxs("div",{className:"stat-card-header",children:[o.jsx("div",{className:"stat-card-header-top",style:i,children:n}),c&&o.jsx("div",{className:"stat-card-header-bottom",style:r,children:c})]}),o.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[o.jsx("div",{className:"progress-row-single",children:o.jsx(Gb,{...f})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Gj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Gb,{...g})})]})]}),p&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},Kj=k.createContext(void 0),mt=()=>{const e=k.useContext(Kj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},Q2e=({children:e,defaultActive:t=""})=>{const[n,c]=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,g)=>{p(m=>({...m,[f]:g}))};return o.jsx(Kj.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},Zj=({categories:e,logo:t="Menu",buttonContent:n,position:c="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:g}=mt();k.useEffect(()=>{if(!i)return;const M=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const M=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(M.left<v?"left":"right")}},[d,c]);const m=t?Mt[t]:null,x=c==="auto"?h:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(M=>!M),"aria-expanded":d,"aria-haspopup":"true",children:[m&&o.jsx(m,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${x}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((M,v)=>o.jsxs("div",{className:"dropdown-category",children:[M.title&&o.jsx("div",{className:"category-title",children:M.title}),o.jsx("div",{className:"category-items",children:M.items.map((L,b)=>{const w=L.id??L.label,N=f===w||g===w,_=L.select??r;if(L.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},b);const j=Array.isArray(_.options)?_.options:[],C=j.some($=>$.code===_.value)?j:[{code:_.value??"",label:String(_.value??"")},...j];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:$=>{const T=$.target.value;try{_.onChange(T)}catch(D){console.error("select onChange error",D)}},children:C.map($=>o.jsx("option",{value:$.code,children:$.label},$.code))})},b)}const I={className:`dropdown-item ${N?"active":""}`,onClick:()=>{L.onClick?.(),l(!1)},role:L.type==="button"||!L.href?"button":void 0};return L.type==="button"||!L.href?o.jsx("button",{type:"button",...I,children:L.label},b):o.jsx("a",{...I,href:L.href,children:L.label},b)})})]},v))]})]})},Xj=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:l,spacing:h=0,className:u="",uniqueKey:p=0,style:y={},width:f,order:g,onSwap:m,draggable:x=!1,displayNone:M=!1})=>{const[v,L]=k.useState([]);k.useEffect(()=>{const I=$=>{const T=[];return k.Children.forEach($,D=>{Array.isArray(D)?T.push(...I(D)):k.isValidElement(D)&&T.push(D)}),T},S=I(e).filter($=>k.isValidElement($)).map($=>{let T="";const D=$.props;return T=[D.xs?`grid-xs-${D.xs}`:"",D.sm?`grid-sm-${D.sm}`:"",D.md?`grid-md-${D.md}`:"",D.lg?`grid-lg-${D.lg}`:"",D.xl?`grid-xl-${D.xl}`:"",D.className?D.className:""].join(" ").trim(),{node:$,classes:T}});let C=S;g&&g.length>0&&(C=S.map(($,T)=>({...$,node:S[g[T]]?.node??$.node}))),L(C)},[e]);const b=(I,j)=>{I.stopPropagation(),I.dataTransfer.setData("dragIndex",j.toString()),I.dataTransfer.setData("parentKey",p.toString())},w=I=>{I.preventDefault(),I.stopPropagation()},N=(I,j)=>{I.preventDefault();const S=Number(I.dataTransfer.getData("dragIndex")),C=Number(I.dataTransfer.getData("parentKey"));if(t&&C!==p)return;const $=[...v];let T=-1,D=-1;if($.forEach((A,q)=>{if(k.isValidElement(A.node)){const B=A.node.props;B.uniqueKey===j&&(T=q),B.uniqueKey===S&&(D=q)}}),T===-1||D===-1)return;const z=$[D].node;$[D]={...$[D],node:$[T].node},$[T]={...$[T],node:z},L($),typeof m=="function"&&m(D,T)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!c&&f?y={...y,width:`${f}px`}:!c&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(I=>I.node.type?.displayName==="Grid"?x&&I.node?.props?.draggable!==!1?o.jsx("div",{draggable:!0,onDragStart:j=>b(j,I.node?.props?.uniqueKey),onDragOver:j=>w(j),onDrop:j=>N(j,I.node?.props?.uniqueKey),className:`grid-item grid-item-grabbing ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,style:{cursor:"grab"},children:I.node},I.node?.props?.uniqueKey):o.jsx("div",{className:`grid-item ${I.classes} ${I.node?.props?.displayNone?"grid-display-none":""}`,children:I.node},I.node?.props?.uniqueKey):I.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${M?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};Xj.displayName="Grid";const IL=({imagePath:e,...t})=>{const[n,c]=k.useState(!1);return k.useEffect(()=>{c(!0)},[]),n?o.jsx("div",{className:`logo logo--${t.size}`,children:o.jsx("a",{href:"/",children:o.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):o.jsx("div",{className:"logo logo-placeholder"})},Kb=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...l})=>{const{setActiveNav:h}=mt(),u=()=>{h(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),...l,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...l,children:t})},Yj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=mt(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),f=k.useRef(null),g=k.useRef(null);k.useEffect(()=>{const v=()=>{if(y.current&&y.current.parentElement){const L=y.current.parentNode?.parentElement?.offsetWidth||0;d(L*.8<y.current.offsetWidth||L<1100)}};return v(),window.addEventListener("resize",v),()=>window.removeEventListener("resize",v)},[]),k.useEffect(()=>{if(l&&i==="auto"&&f.current){const v=f.current.getBoundingClientRect(),L=window.innerWidth/2;p(v.left<L?"left":"right")}},[l,i]),k.useEffect(()=>{if(!l)return;const v=L=>{g.current&&!g.current.contains(L.target)&&f.current&&!f.current.contains(L.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const m=v=>{t?.(v),h(!1)},x=e.find(v=>v.id===r)||e[0],M=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[x.label,o.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&o.jsx("div",{ref:g,className:`navbar-dropdown ${M}`,children:e.map(v=>o.jsx(Kb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Kb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})})},Jj=k.createContext(void 0),ede=({children:e,initialTheme:t})=>{const[n,c]=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=>{c(r)},[]);return o.jsx(Jj.Provider,{value:{themeName:n,setTheme:i},children:e})},Qj=()=>{const e=k.useContext(Jj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},bL=()=>{const{themeName:e,setTheme:t}=Qj(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},K1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:l})=>{const h=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),h())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Y(l),className:`switcher ${c?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:h,onKeyDown:u,children:[o.jsx("div",{className:"switcher-circle"}),o.jsxs("div",{className:"switcher-icons",children:[t&&o.jsx("div",{className:"switcher-icon-left",children:t}),n&&o.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Zb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:c="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:l}=bL(),[h,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!h)return null;const p=d===t,y=f=>{l(f?t:e)};return o.jsx(K1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},tde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),_C=k.memo(tde),e$=k.createContext(void 0),ade=({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 c=i=>{n(i)};return o.jsx(e$.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},t$=()=>{const e=k.useContext(e$);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},pL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=t$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},nde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),LC=k.memo(nde),a$=k.createContext(void 0),ode=({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 c=i=>{n(i)};return o.jsx(a$.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},n$=()=>{const e=k.useContext(a$);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},yL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=n$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},o$=k.createContext(void 0),cde=({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 c=i=>{n(i)};return o.jsx(o$.Provider,{value:{showData:t,switchShowData:c},children:e})},c$=()=>{const e=k.useContext(o$);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},ide=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),IC=k.memo(ide),kL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:c,switchShowData:i}=c$(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(K1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},rde=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),i$=k.memo(rde);function Xb({items:e,onSave:t,loading:n,disabled:c,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,g)=>{u(m=>m.map(x=>x.component_key===f&&g>3?{...x,visible:!x.visible}:x))},y=()=>{t(h),l(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(i$,{fill:"currentColor"})}),d&&o.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:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:h.map((f,g)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:f.visible,disabled:g<4,onChange:()=>p(f.component_key,g),style:{marginRight:8}}),o.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:f.label}),g<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.component_key))}),o.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 sde=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=mt(),g=f?.draggable===!0,m=f?.showData===!0,x=f?.legendFilter===!0,M=f?.componentVisibility===!0&&d&&d.length>0;return o.jsx("header",{className:"header",style:{backgroundColor:i},children:o.jsxs("div",{className:"header-layout-container",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("a",{href:"/",children:o.jsx(IL,{imagePath:e})}),o.jsx(Yj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[g&&o.jsx(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),M&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(Zj,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[g&&o.jsx(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),M&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},r$=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const l=e?Mt[e]:null,h=s?"a":"div";return o.jsxs(h,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Y(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[l&&o.jsx(l,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},zc=e=>typeof e=="number"?`${e}px`:e,dde=({title:e,titleColor:t="#1c1b1f",headerColor:n="#ECEEF0",entryLabel:c="Entrée",entryValue:i,exitLabel:r="Sortie",exitValue:s,timeLabelColor:d="#6b7280",timeLabelFontSize:l="0.85rem",timeLabelFontWeight:h=400,timeLabelLineHeight:u=1,timeValueColor:p="#1c1b1f",rows:y=[],textFontSize:f="1.1rem",textFontWeight:g=700,textLineHeight:m=1,titleMinHeight:x,backgroundColor:M="#ffffff",borderColor:v="#D2D6D8",width:L,className:b,onClick:w,ariaLabel:N,a11yConfig:_,titleA11yConfig:I,entryLabelA11yConfig:j,exitLabelA11yConfig:S})=>{const C=Y(_),$=Y(I,I?.titleKey?void 0:e),T=Y(j,j?.titleKey?void 0:c),D=Y(S,S?.titleKey?void 0:r);return o.jsxs(lde,{$width:L,$borderColor:v,className:b,onClick:w,role:w?"button":"group","aria-label":N||e,title:C,tabIndex:w?0:void 0,onKeyDown:z=>w&&z.key==="Enter"&&w(),children:[o.jsxs(hde,{$bgColor:n,$borderColor:v,children:[e&&o.jsx(pde,{$color:t,$fontSize:f,$fontWeight:g,$lineHeight:m,$minHeight:x,title:$,children:e}),(i||s)&&o.jsxs(yde,{children:[i&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:T,children:c}),o.jsx(CC,{$color:p,children:i})]}),s&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:D,children:r}),o.jsx(CC,{$color:p,children:s})]})]}),o.jsx(ude,{$bgColor:n})]}),y.length>0&&o.jsx(kde,{$bgColor:M,children:y.map((z,A)=>o.jsxs(mde,{title:Y(z.a11yConfig),children:[z.icon&&o.jsx(fde,{"aria-hidden":"true",children:z.icon}),o.jsx(gde,{$fontSize:f,$fontWeight:g,$lineHeight:m,children:z.text})]},A))})]})},lde=E.div`
|
|
8161
|
+
*/const Mt=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:yi,AArrowDownIcon:yi,AArrowUp:ki,AArrowUpIcon:ki,ALargeSmall:mi,ALargeSmallIcon:mi,Accessibility:L1,AccessibilityIcon:L1,Activity:I1,ActivityIcon:I1,ActivitySquare:zt,ActivitySquareIcon:zt,AirVent:fi,AirVentIcon:fi,Airplay:gi,AirplayIcon:gi,AlarmCheck:Et,AlarmCheckIcon:Et,AlarmClock:xi,AlarmClockCheck:Et,AlarmClockCheckIcon:Et,AlarmClockIcon:xi,AlarmClockMinus:Ot,AlarmClockMinusIcon:Ot,AlarmClockOff:vi,AlarmClockOffIcon:vi,AlarmClockPlus:Ut,AlarmClockPlusIcon:Ut,AlarmMinus:Ot,AlarmMinusIcon:Ot,AlarmPlus:Ut,AlarmPlusIcon:Ut,AlarmSmoke:Mi,AlarmSmokeIcon:Mi,Album:_i,AlbumIcon:_i,AlertCircle:va,AlertCircleIcon:va,AlertOctagon:Fn,AlertOctagonIcon:Fn,AlertTriangle:pc,AlertTriangleIcon:pc,AlignCenter:Ni,AlignCenterHorizontal:Li,AlignCenterHorizontalIcon:Li,AlignCenterIcon:Ni,AlignCenterVertical:Ii,AlignCenterVerticalIcon:Ii,AlignEndHorizontal:bi,AlignEndHorizontalIcon:bi,AlignEndVertical:wi,AlignEndVerticalIcon:wi,AlignHorizontalDistributeCenter:Ci,AlignHorizontalDistributeCenterIcon:Ci,AlignHorizontalDistributeEnd:Si,AlignHorizontalDistributeEndIcon:Si,AlignHorizontalDistributeStart:ji,AlignHorizontalDistributeStartIcon:ji,AlignHorizontalJustifyCenter:$i,AlignHorizontalJustifyCenterIcon:$i,AlignHorizontalJustifyEnd:qi,AlignHorizontalJustifyEndIcon:qi,AlignHorizontalJustifyStart:Ai,AlignHorizontalJustifyStartIcon:Ai,AlignHorizontalSpaceAround:zi,AlignHorizontalSpaceAroundIcon:zi,AlignHorizontalSpaceBetween:Pi,AlignHorizontalSpaceBetweenIcon:Pi,AlignJustify:Vi,AlignJustifyIcon:Vi,AlignLeft:Ti,AlignLeftIcon:Ti,AlignRight:Hi,AlignRightIcon:Hi,AlignStartHorizontal:Di,AlignStartHorizontalIcon:Di,AlignStartVertical:Bi,AlignStartVerticalIcon:Bi,AlignVerticalDistributeCenter:Fi,AlignVerticalDistributeCenterIcon:Fi,AlignVerticalDistributeEnd:Ri,AlignVerticalDistributeEndIcon:Ri,AlignVerticalDistributeStart:Oi,AlignVerticalDistributeStartIcon:Oi,AlignVerticalJustifyCenter:Ei,AlignVerticalJustifyCenterIcon:Ei,AlignVerticalJustifyEnd:Ui,AlignVerticalJustifyEndIcon:Ui,AlignVerticalJustifyStart:Wi,AlignVerticalJustifyStartIcon:Wi,AlignVerticalSpaceAround:Ki,AlignVerticalSpaceAroundIcon:Ki,AlignVerticalSpaceBetween:Gi,AlignVerticalSpaceBetweenIcon:Gi,Ambulance:Zi,AmbulanceIcon:Zi,Ampersand:Xi,AmpersandIcon:Xi,Ampersands:Yi,AmpersandsIcon:Yi,Amphora:Ji,AmphoraIcon:Ji,Anchor:Qi,AnchorIcon:Qi,Angry:er,AngryIcon:er,Annoyed:tr,AnnoyedIcon:tr,Antenna:ar,AntennaIcon:ar,Anvil:nr,AnvilIcon:nr,Aperture:or,ApertureIcon:or,AppWindow:ir,AppWindowIcon:ir,AppWindowMac:cr,AppWindowMacIcon:cr,Apple:rr,AppleIcon:rr,Archive:lr,ArchiveIcon:lr,ArchiveRestore:sr,ArchiveRestoreIcon:sr,ArchiveX:dr,ArchiveXIcon:dr,AreaChart:ia,AreaChartIcon:ia,Armchair:hr,ArmchairIcon:hr,ArrowBigDown:pr,ArrowBigDownDash:ur,ArrowBigDownDashIcon:ur,ArrowBigDownIcon:pr,ArrowBigLeft:kr,ArrowBigLeftDash:yr,ArrowBigLeftDashIcon:yr,ArrowBigLeftIcon:kr,ArrowBigRight:fr,ArrowBigRightDash:mr,ArrowBigRightDashIcon:mr,ArrowBigRightIcon:fr,ArrowBigUp:vr,ArrowBigUpDash:gr,ArrowBigUpDashIcon:gr,ArrowBigUpIcon:vr,ArrowDown:Qc,ArrowDown01:xr,ArrowDown01Icon:xr,ArrowDown10:Mr,ArrowDown10Icon:Mr,ArrowDownAZ:Wt,ArrowDownAZIcon:Wt,ArrowDownAz:Wt,ArrowDownAzIcon:Wt,ArrowDownCircle:xa,ArrowDownCircleIcon:xa,ArrowDownFromLine:_r,ArrowDownFromLineIcon:_r,ArrowDownIcon:Qc,ArrowDownLeft:Lr,ArrowDownLeftFromCircle:_a,ArrowDownLeftFromCircleIcon:_a,ArrowDownLeftFromSquare:mo,ArrowDownLeftFromSquareIcon:mo,ArrowDownLeftIcon:Lr,ArrowDownLeftSquare:uo,ArrowDownLeftSquareIcon:uo,ArrowDownNarrowWide:Ir,ArrowDownNarrowWideIcon:Ir,ArrowDownRight:br,ArrowDownRightFromCircle:La,ArrowDownRightFromCircleIcon:La,ArrowDownRightFromSquare:fo,ArrowDownRightFromSquareIcon:fo,ArrowDownRightIcon:br,ArrowDownRightSquare:po,ArrowDownRightSquareIcon:po,ArrowDownSquare:yo,ArrowDownSquareIcon:yo,ArrowDownToDot:wr,ArrowDownToDotIcon:wr,ArrowDownToLine:Cr,ArrowDownToLineIcon:Cr,ArrowDownUp:Nr,ArrowDownUpIcon:Nr,ArrowDownWideNarrow:Gt,ArrowDownWideNarrowIcon:Gt,ArrowDownZA:Kt,ArrowDownZAIcon:Kt,ArrowDownZa:Kt,ArrowDownZaIcon:Kt,ArrowLeft:b1,ArrowLeftCircle:Ma,ArrowLeftCircleIcon:Ma,ArrowLeftFromLine:Sr,ArrowLeftFromLineIcon:Sr,ArrowLeftIcon:b1,ArrowLeftRight:jr,ArrowLeftRightIcon:jr,ArrowLeftSquare:ko,ArrowLeftSquareIcon:ko,ArrowLeftToLine:$r,ArrowLeftToLineIcon:$r,ArrowRight:Vr,ArrowRightCircle:wa,ArrowRightCircleIcon:wa,ArrowRightFromLine:qr,ArrowRightFromLineIcon:qr,ArrowRightIcon:Vr,ArrowRightLeft:Ar,ArrowRightLeftIcon:Ar,ArrowRightSquare:xo,ArrowRightSquareIcon:xo,ArrowRightToLine:zr,ArrowRightToLineIcon:zr,ArrowUp:e1,ArrowUp01:Pr,ArrowUp01Icon:Pr,ArrowUp10:Tr,ArrowUp10Icon:Tr,ArrowUpAZ:Zt,ArrowUpAZIcon:Zt,ArrowUpAz:Zt,ArrowUpAzIcon:Zt,ArrowUpCircle:Ca,ArrowUpCircleIcon:Ca,ArrowUpDown:Hr,ArrowUpDownIcon:Hr,ArrowUpFromDot:Dr,ArrowUpFromDotIcon:Dr,ArrowUpFromLine:Br,ArrowUpFromLineIcon:Br,ArrowUpIcon:e1,ArrowUpLeft:Rr,ArrowUpLeftFromCircle:Ia,ArrowUpLeftFromCircleIcon:Ia,ArrowUpLeftFromSquare:go,ArrowUpLeftFromSquareIcon:go,ArrowUpLeftIcon:Rr,ArrowUpLeftSquare:Mo,ArrowUpLeftSquareIcon:Mo,ArrowUpNarrowWide:Xt,ArrowUpNarrowWideIcon:Xt,ArrowUpRight:Fr,ArrowUpRightFromCircle:ba,ArrowUpRightFromCircleIcon:ba,ArrowUpRightFromSquare:vo,ArrowUpRightFromSquareIcon:vo,ArrowUpRightIcon:Fr,ArrowUpRightSquare:_o,ArrowUpRightSquareIcon:_o,ArrowUpSquare:Lo,ArrowUpSquareIcon:Lo,ArrowUpToLine:Er,ArrowUpToLineIcon:Er,ArrowUpWideNarrow:Or,ArrowUpWideNarrowIcon:Or,ArrowUpZA:Yt,ArrowUpZAIcon:Yt,ArrowUpZa:Yt,ArrowUpZaIcon:Yt,ArrowsUpFromLine:Ur,ArrowsUpFromLineIcon:Ur,Asterisk:Wr,AsteriskIcon:Wr,AsteriskSquare:Io,AsteriskSquareIcon:Io,AtSign:Gr,AtSignIcon:Gr,Atom:Kr,AtomIcon:Kr,AudioLines:Zr,AudioLinesIcon:Zr,AudioWaveform:Xr,AudioWaveformIcon:Xr,Award:Yr,AwardIcon:Yr,Axe:Jr,AxeIcon:Jr,Axis3D:Jt,Axis3DIcon:Jt,Axis3d:Jt,Axis3dIcon:Jt,Baby:Qr,BabyIcon:Qr,Backpack:es,BackpackIcon:es,Badge:ms,BadgeAlert:ts,BadgeAlertIcon:ts,BadgeCent:as,BadgeCentIcon:as,BadgeCheck:Qt,BadgeCheckIcon:Qt,BadgeDollarSign:ns,BadgeDollarSignIcon:ns,BadgeEuro:os,BadgeEuroIcon:os,BadgeHelp:ea,BadgeHelpIcon:ea,BadgeIcon:ms,BadgeIndianRupee:cs,BadgeIndianRupeeIcon:cs,BadgeInfo:is,BadgeInfoIcon:is,BadgeJapaneseYen:ss,BadgeJapaneseYenIcon:ss,BadgeMinus:rs,BadgeMinusIcon:rs,BadgePercent:ds,BadgePercentIcon:ds,BadgePlus:ls,BadgePlusIcon:ls,BadgePoundSterling:hs,BadgePoundSterlingIcon:hs,BadgeQuestionMark:ea,BadgeQuestionMarkIcon:ea,BadgeRussianRuble:us,BadgeRussianRubleIcon:us,BadgeSwissFranc:ps,BadgeSwissFrancIcon:ps,BadgeTurkishLira:ys,BadgeTurkishLiraIcon:ys,BadgeX:ks,BadgeXIcon:ks,BaggageClaim:fs,BaggageClaimIcon:fs,Ban:gs,BanIcon:gs,Banana:vs,BananaIcon:vs,Bandage:xs,BandageIcon:xs,Banknote:Is,BanknoteArrowDown:Ms,BanknoteArrowDownIcon:Ms,BanknoteArrowUp:_s,BanknoteArrowUpIcon:_s,BanknoteIcon:Is,BanknoteX:Ls,BanknoteXIcon:Ls,BarChart:ya,BarChart2:ka,BarChart2Icon:ka,BarChart3:ua,BarChart3Icon:ua,BarChart4:ha,BarChart4Icon:ha,BarChartBig:la,BarChartBigIcon:la,BarChartHorizontal:sa,BarChartHorizontalBig:ra,BarChartHorizontalBigIcon:ra,BarChartHorizontalIcon:sa,BarChartIcon:ya,Barcode:bs,BarcodeIcon:bs,Barrel:ws,BarrelIcon:ws,Baseline:Cs,BaselineIcon:Cs,Bath:Ns,BathIcon:Ns,Battery:Vs,BatteryCharging:Ss,BatteryChargingIcon:Ss,BatteryFull:js,BatteryFullIcon:js,BatteryIcon:Vs,BatteryLow:$s,BatteryLowIcon:$s,BatteryMedium:qs,BatteryMediumIcon:qs,BatteryPlus:As,BatteryPlusIcon:As,BatteryWarning:zs,BatteryWarningIcon:zs,Beaker:Ps,BeakerIcon:Ps,Bean:Hs,BeanIcon:Hs,BeanOff:Ts,BeanOffIcon:Ts,Bed:Rs,BedDouble:Ds,BedDoubleIcon:Ds,BedIcon:Rs,BedSingle:Bs,BedSingleIcon:Bs,Beef:Fs,BeefIcon:Fs,Beer:Os,BeerIcon:Os,BeerOff:Es,BeerOffIcon:Es,Bell:Xs,BellDot:Us,BellDotIcon:Us,BellElectric:Ws,BellElectricIcon:Ws,BellIcon:Xs,BellMinus:Gs,BellMinusIcon:Gs,BellOff:Ks,BellOffIcon:Ks,BellPlus:Zs,BellPlusIcon:Zs,BellRing:Ys,BellRingIcon:Ys,BetweenHorizonalEnd:ta,BetweenHorizonalEndIcon:ta,BetweenHorizonalStart:aa,BetweenHorizonalStartIcon:aa,BetweenHorizontalEnd:ta,BetweenHorizontalEndIcon:ta,BetweenHorizontalStart:aa,BetweenHorizontalStartIcon:aa,BetweenVerticalEnd:Qs,BetweenVerticalEndIcon:Qs,BetweenVerticalStart:Js,BetweenVerticalStartIcon:Js,BicepsFlexed:e2,BicepsFlexedIcon:e2,Bike:a2,BikeIcon:a2,Binary:t2,BinaryIcon:t2,Binoculars:n2,BinocularsIcon:n2,Biohazard:o2,BiohazardIcon:o2,Bird:c2,BirdIcon:c2,Bitcoin:i2,BitcoinIcon:i2,Blend:r2,BlendIcon:r2,Blinds:s2,BlindsIcon:s2,Blocks:d2,BlocksIcon:d2,Bluetooth:p2,BluetoothConnected:l2,BluetoothConnectedIcon:l2,BluetoothIcon:p2,BluetoothOff:h2,BluetoothOffIcon:h2,BluetoothSearching:u2,BluetoothSearchingIcon:u2,Bold:y2,BoldIcon:y2,Bolt:k2,BoltIcon:k2,Bomb:m2,BombIcon:m2,Bone:f2,BoneIcon:f2,Book:R2,BookA:g2,BookAIcon:g2,BookAlert:v2,BookAlertIcon:v2,BookAudio:x2,BookAudioIcon:x2,BookCheck:M2,BookCheckIcon:M2,BookCopy:_2,BookCopyIcon:_2,BookDashed:na,BookDashedIcon:na,BookDown:L2,BookDownIcon:L2,BookHeadphones:I2,BookHeadphonesIcon:I2,BookHeart:b2,BookHeartIcon:b2,BookIcon:R2,BookImage:w2,BookImageIcon:w2,BookKey:C2,BookKeyIcon:C2,BookLock:N2,BookLockIcon:N2,BookMarked:j2,BookMarkedIcon:j2,BookMinus:S2,BookMinusIcon:S2,BookOpen:A2,BookOpenCheck:$2,BookOpenCheckIcon:$2,BookOpenIcon:A2,BookOpenText:q2,BookOpenTextIcon:q2,BookPlus:z2,BookPlusIcon:z2,BookTemplate:na,BookTemplateIcon:na,BookText:V2,BookTextIcon:V2,BookType:P2,BookTypeIcon:P2,BookUp:H2,BookUp2:T2,BookUp2Icon:T2,BookUpIcon:H2,BookUser:D2,BookUserIcon:D2,BookX:B2,BookXIcon:B2,Bookmark:W2,BookmarkCheck:F2,BookmarkCheckIcon:F2,BookmarkIcon:W2,BookmarkMinus:E2,BookmarkMinusIcon:E2,BookmarkPlus:O2,BookmarkPlusIcon:O2,BookmarkX:U2,BookmarkXIcon:U2,BoomBox:G2,BoomBoxIcon:G2,Bot:X2,BotIcon:X2,BotMessageSquare:K2,BotMessageSquareIcon:K2,BotOff:Z2,BotOffIcon:Z2,BottleWine:Y2,BottleWineIcon:Y2,BowArrow:J2,BowArrowIcon:J2,Box:Q2,BoxIcon:Q2,BoxSelect:Vo,BoxSelectIcon:Vo,Boxes:ed,BoxesIcon:ed,Braces:oa,BracesIcon:oa,Brackets:td,BracketsIcon:td,Brain:od,BrainCircuit:ad,BrainCircuitIcon:ad,BrainCog:nd,BrainCogIcon:nd,BrainIcon:od,BrickWall:rd,BrickWallFire:cd,BrickWallFireIcon:cd,BrickWallIcon:rd,BrickWallShield:id,BrickWallShieldIcon:id,Briefcase:hd,BriefcaseBusiness:sd,BriefcaseBusinessIcon:sd,BriefcaseConveyorBelt:dd,BriefcaseConveyorBeltIcon:dd,BriefcaseIcon:hd,BriefcaseMedical:ld,BriefcaseMedicalIcon:ld,BringToFront:ud,BringToFrontIcon:ud,Brush:yd,BrushCleaning:pd,BrushCleaningIcon:pd,BrushIcon:yd,Bubbles:kd,BubblesIcon:kd,Bug:vd,BugIcon:vd,BugOff:md,BugOffIcon:md,BugPlay:fd,BugPlayIcon:fd,Building:xd,Building2:gd,Building2Icon:gd,BuildingIcon:xd,Bus:_d,BusFront:Md,BusFrontIcon:Md,BusIcon:_d,Cable:Id,CableCar:Ld,CableCarIcon:Ld,CableIcon:Id,Cake:wd,CakeIcon:wd,CakeSlice:bd,CakeSliceIcon:bd,Calculator:Cd,CalculatorIcon:Cd,Calendar:w1,Calendar1:Nd,Calendar1Icon:Nd,CalendarArrowDown:Sd,CalendarArrowDownIcon:Sd,CalendarArrowUp:jd,CalendarArrowUpIcon:jd,CalendarCheck:qd,CalendarCheck2:$d,CalendarCheck2Icon:$d,CalendarCheckIcon:qd,CalendarClock:Ad,CalendarClockIcon:Ad,CalendarCog:zd,CalendarCogIcon:zd,CalendarDays:Vd,CalendarDaysIcon:Vd,CalendarFold:Pd,CalendarFoldIcon:Pd,CalendarHeart:Td,CalendarHeartIcon:Td,CalendarIcon:w1,CalendarMinus:Dd,CalendarMinus2:Hd,CalendarMinus2Icon:Hd,CalendarMinusIcon:Dd,CalendarOff:Bd,CalendarOffIcon:Bd,CalendarPlus:Fd,CalendarPlus2:Rd,CalendarPlus2Icon:Rd,CalendarPlusIcon:Fd,CalendarRange:Ed,CalendarRangeIcon:Ed,CalendarSearch:Od,CalendarSearchIcon:Od,CalendarSync:Ud,CalendarSyncIcon:Ud,CalendarX:Gd,CalendarX2:Wd,CalendarX2Icon:Wd,CalendarXIcon:Gd,Camera:Zd,CameraIcon:Zd,CameraOff:Kd,CameraOffIcon:Kd,CandlestickChart:da,CandlestickChartIcon:da,Candy:Jd,CandyCane:Xd,CandyCaneIcon:Xd,CandyIcon:Jd,CandyOff:Yd,CandyOffIcon:Yd,Cannabis:Qd,CannabisIcon:Qd,Captions:ca,CaptionsIcon:ca,CaptionsOff:e0,CaptionsOffIcon:e0,Car:n0,CarFront:t0,CarFrontIcon:t0,CarIcon:n0,CarTaxiFront:a0,CarTaxiFrontIcon:a0,Caravan:o0,CaravanIcon:o0,CardSim:c0,CardSimIcon:c0,Carrot:i0,CarrotIcon:i0,CaseLower:r0,CaseLowerIcon:r0,CaseSensitive:s0,CaseSensitiveIcon:s0,CaseUpper:d0,CaseUpperIcon:d0,CassetteTape:l0,CassetteTapeIcon:l0,Cast:h0,CastIcon:h0,Castle:p0,CastleIcon:p0,Cat:u0,CatIcon:u0,Cctv:y0,CctvIcon:y0,ChartArea:ia,ChartAreaIcon:ia,ChartBar:sa,ChartBarBig:ra,ChartBarBigIcon:ra,ChartBarDecreasing:k0,ChartBarDecreasingIcon:k0,ChartBarIcon:sa,ChartBarIncreasing:m0,ChartBarIncreasingIcon:m0,ChartBarStacked:f0,ChartBarStackedIcon:f0,ChartCandlestick:da,ChartCandlestickIcon:da,ChartColumn:ua,ChartColumnBig:la,ChartColumnBigIcon:la,ChartColumnDecreasing:g0,ChartColumnDecreasingIcon:g0,ChartColumnIcon:ua,ChartColumnIncreasing:ha,ChartColumnIncreasingIcon:ha,ChartColumnStacked:v0,ChartColumnStackedIcon:v0,ChartGantt:x0,ChartGanttIcon:x0,ChartLine:pa,ChartLineIcon:pa,ChartNetwork:M0,ChartNetworkIcon:M0,ChartNoAxesColumn:ka,ChartNoAxesColumnDecreasing:_0,ChartNoAxesColumnDecreasingIcon:_0,ChartNoAxesColumnIcon:ka,ChartNoAxesColumnIncreasing:ya,ChartNoAxesColumnIncreasingIcon:ya,ChartNoAxesCombined:L0,ChartNoAxesCombinedIcon:L0,ChartNoAxesGantt:ma,ChartNoAxesGanttIcon:ma,ChartPie:fa,ChartPieIcon:fa,ChartScatter:ga,ChartScatterIcon:ga,ChartSpline:I0,ChartSplineIcon:I0,Check:C1,CheckCheck:b0,CheckCheckIcon:b0,CheckCircle:Na,CheckCircle2:Sa,CheckCircle2Icon:Sa,CheckCircleIcon:Na,CheckIcon:C1,CheckLine:w0,CheckLineIcon:w0,CheckSquare:wo,CheckSquare2:Co,CheckSquare2Icon:Co,CheckSquareIcon:wo,ChefHat:C0,ChefHatIcon:C0,Cherry:N0,CherryIcon:N0,ChevronDown:Tt,ChevronDownCircle:ja,ChevronDownCircleIcon:ja,ChevronDownIcon:Tt,ChevronDownSquare:No,ChevronDownSquareIcon:No,ChevronFirst:S0,ChevronFirstIcon:S0,ChevronLast:j0,ChevronLastIcon:j0,ChevronLeft:$0,ChevronLeftCircle:$a,ChevronLeftCircleIcon:$a,ChevronLeftIcon:$0,ChevronLeftSquare:So,ChevronLeftSquareIcon:So,ChevronRight:N1,ChevronRightCircle:qa,ChevronRightCircleIcon:qa,ChevronRightIcon:N1,ChevronRightSquare:jo,ChevronRightSquareIcon:jo,ChevronUp:$c,ChevronUpCircle:Aa,ChevronUpCircleIcon:Aa,ChevronUpIcon:$c,ChevronUpSquare:$o,ChevronUpSquareIcon:$o,ChevronsDown:A0,ChevronsDownIcon:A0,ChevronsDownUp:q0,ChevronsDownUpIcon:q0,ChevronsLeft:V0,ChevronsLeftIcon:V0,ChevronsLeftRight:z0,ChevronsLeftRightEllipsis:P0,ChevronsLeftRightEllipsisIcon:P0,ChevronsLeftRightIcon:z0,ChevronsRight:H0,ChevronsRightIcon:H0,ChevronsRightLeft:T0,ChevronsRightLeftIcon:T0,ChevronsUp:D0,ChevronsUpDown:t1,ChevronsUpDownIcon:t1,ChevronsUpIcon:D0,Chrome:B0,ChromeIcon:B0,Church:R0,ChurchIcon:R0,Cigarette:E0,CigaretteIcon:E0,CigaretteOff:F0,CigaretteOffIcon:F0,Circle:nl,CircleAlert:va,CircleAlertIcon:va,CircleArrowDown:xa,CircleArrowDownIcon:xa,CircleArrowLeft:Ma,CircleArrowLeftIcon:Ma,CircleArrowOutDownLeft:_a,CircleArrowOutDownLeftIcon:_a,CircleArrowOutDownRight:La,CircleArrowOutDownRightIcon:La,CircleArrowOutUpLeft:Ia,CircleArrowOutUpLeftIcon:Ia,CircleArrowOutUpRight:ba,CircleArrowOutUpRightIcon:ba,CircleArrowRight:wa,CircleArrowRightIcon:wa,CircleArrowUp:Ca,CircleArrowUpIcon:Ca,CircleCheck:Sa,CircleCheckBig:Na,CircleCheckBigIcon:Na,CircleCheckIcon:Sa,CircleChevronDown:ja,CircleChevronDownIcon:ja,CircleChevronLeft:$a,CircleChevronLeftIcon:$a,CircleChevronRight:qa,CircleChevronRightIcon:qa,CircleChevronUp:Aa,CircleChevronUpIcon:Aa,CircleDashed:O0,CircleDashedIcon:O0,CircleDivide:za,CircleDivideIcon:za,CircleDollarSign:W0,CircleDollarSignIcon:W0,CircleDot:G0,CircleDotDashed:U0,CircleDotDashedIcon:U0,CircleDotIcon:G0,CircleEllipsis:K0,CircleEllipsisIcon:K0,CircleEqual:Z0,CircleEqualIcon:Z0,CircleFadingArrowUp:Y0,CircleFadingArrowUpIcon:Y0,CircleFadingPlus:X0,CircleFadingPlusIcon:X0,CircleGauge:Va,CircleGaugeIcon:Va,CircleHelp:lt,CircleHelpIcon:lt,CircleIcon:nl,CircleMinus:Pa,CircleMinusIcon:Pa,CircleOff:J0,CircleOffIcon:J0,CircleParking:Da,CircleParkingIcon:Da,CircleParkingOff:Ta,CircleParkingOffIcon:Ta,CirclePause:Ha,CirclePauseIcon:Ha,CirclePercent:Ba,CirclePercentIcon:Ba,CirclePlay:Ra,CirclePlayIcon:Ra,CirclePlus:Fa,CirclePlusIcon:Fa,CirclePoundSterling:Q0,CirclePoundSterlingIcon:Q0,CirclePower:Ea,CirclePowerIcon:Ea,CircleQuestionMark:lt,CircleQuestionMarkIcon:lt,CircleSlash:el,CircleSlash2:Oa,CircleSlash2Icon:Oa,CircleSlashIcon:el,CircleSlashed:Oa,CircleSlashedIcon:Oa,CircleSmall:tl,CircleSmallIcon:tl,CircleStar:al,CircleStarIcon:al,CircleStop:Ua,CircleStopIcon:Ua,CircleUser:Ga,CircleUserIcon:Ga,CircleUserRound:Wa,CircleUserRoundIcon:Wa,CircleX:$t,CircleXIcon:$t,CircuitBoard:ol,CircuitBoardIcon:ol,Citrus:cl,CitrusIcon:cl,Clapperboard:il,ClapperboardIcon:il,Clipboard:ml,ClipboardCheck:rl,ClipboardCheckIcon:rl,ClipboardClock:sl,ClipboardClockIcon:sl,ClipboardCopy:dl,ClipboardCopyIcon:dl,ClipboardEdit:Za,ClipboardEditIcon:Za,ClipboardIcon:ml,ClipboardList:ll,ClipboardListIcon:ll,ClipboardMinus:hl,ClipboardMinusIcon:hl,ClipboardPaste:ul,ClipboardPasteIcon:ul,ClipboardPen:Za,ClipboardPenIcon:Za,ClipboardPenLine:Ka,ClipboardPenLineIcon:Ka,ClipboardPlus:pl,ClipboardPlusIcon:pl,ClipboardSignature:Ka,ClipboardSignatureIcon:Ka,ClipboardType:yl,ClipboardTypeIcon:yl,ClipboardX:kl,ClipboardXIcon:kl,Clock:zl,Clock1:gl,Clock10:fl,Clock10Icon:fl,Clock11:vl,Clock11Icon:vl,Clock12:xl,Clock12Icon:xl,Clock1Icon:gl,Clock2:Ml,Clock2Icon:Ml,Clock3:_l,Clock3Icon:_l,Clock4:Ll,Clock4Icon:Ll,Clock5:Il,Clock5Icon:Il,Clock6:bl,Clock6Icon:bl,Clock7:wl,Clock7Icon:wl,Clock8:Cl,Clock8Icon:Cl,Clock9:Nl,Clock9Icon:Nl,ClockAlert:Sl,ClockAlertIcon:Sl,ClockArrowDown:jl,ClockArrowDownIcon:jl,ClockArrowUp:$l,ClockArrowUpIcon:$l,ClockFading:ql,ClockFadingIcon:ql,ClockIcon:zl,ClockPlus:Al,ClockPlusIcon:Al,ClosedCaption:Vl,ClosedCaptionIcon:Vl,Cloud:Yl,CloudAlert:Pl,CloudAlertIcon:Pl,CloudCheck:Tl,CloudCheckIcon:Tl,CloudCog:Hl,CloudCogIcon:Hl,CloudDownload:Xa,CloudDownloadIcon:Xa,CloudDrizzle:Dl,CloudDrizzleIcon:Dl,CloudFog:Bl,CloudFogIcon:Bl,CloudHail:Rl,CloudHailIcon:Rl,CloudIcon:Yl,CloudLightning:Fl,CloudLightningIcon:Fl,CloudMoon:Ol,CloudMoonIcon:Ol,CloudMoonRain:El,CloudMoonRainIcon:El,CloudOff:Ul,CloudOffIcon:Ul,CloudRain:Gl,CloudRainIcon:Gl,CloudRainWind:Wl,CloudRainWindIcon:Wl,CloudSnow:Kl,CloudSnowIcon:Kl,CloudSun:Xl,CloudSunIcon:Xl,CloudSunRain:Zl,CloudSunRainIcon:Zl,CloudUpload:Ya,CloudUploadIcon:Ya,Cloudy:Jl,CloudyIcon:Jl,Clover:Ql,CloverIcon:Ql,Club:eh,ClubIcon:eh,Code:th,Code2:Ja,Code2Icon:Ja,CodeIcon:th,CodeSquare:qo,CodeSquareIcon:qo,CodeXml:Ja,CodeXmlIcon:Ja,Codepen:ah,CodepenIcon:ah,Codesandbox:nh,CodesandboxIcon:nh,Coffee:oh,CoffeeIcon:oh,Cog:ch,CogIcon:ch,Coins:ih,CoinsIcon:ih,Columns:Qa,Columns2:Qa,Columns2Icon:Qa,Columns3:en,Columns3Cog:ht,Columns3CogIcon:ht,Columns3Icon:en,Columns4:rh,Columns4Icon:rh,ColumnsIcon:Qa,ColumnsSettings:ht,ColumnsSettingsIcon:ht,Combine:sh,CombineIcon:sh,Command:dh,CommandIcon:dh,Compass:lh,CompassIcon:lh,Component:hh,ComponentIcon:hh,Computer:uh,ComputerIcon:uh,ConciergeBell:ph,ConciergeBellIcon:ph,Cone:yh,ConeIcon:yh,Construction:kh,ConstructionIcon:kh,Contact:mh,Contact2:tn,Contact2Icon:tn,ContactIcon:mh,ContactRound:tn,ContactRoundIcon:tn,Container:fh,ContainerIcon:fh,Contrast:vh,ContrastIcon:vh,Cookie:gh,CookieIcon:gh,CookingPot:Mh,CookingPotIcon:Mh,Copy:wh,CopyCheck:xh,CopyCheckIcon:xh,CopyIcon:wh,CopyMinus:_h,CopyMinusIcon:_h,CopyPlus:Lh,CopyPlusIcon:Lh,CopySlash:Ih,CopySlashIcon:Ih,CopyX:bh,CopyXIcon:bh,Copyleft:Ch,CopyleftIcon:Ch,Copyright:Nh,CopyrightIcon:Nh,CornerDownLeft:Sh,CornerDownLeftIcon:Sh,CornerDownRight:jh,CornerDownRightIcon:jh,CornerLeftDown:$h,CornerLeftDownIcon:$h,CornerLeftUp:qh,CornerLeftUpIcon:qh,CornerRightDown:Ah,CornerRightDownIcon:Ah,CornerRightUp:zh,CornerRightUpIcon:zh,CornerUpLeft:Vh,CornerUpLeftIcon:Vh,CornerUpRight:Ph,CornerUpRightIcon:Ph,Cpu:Th,CpuIcon:Th,CreativeCommons:Hh,CreativeCommonsIcon:Hh,CreditCard:Dh,CreditCardIcon:Dh,Croissant:Bh,CroissantIcon:Bh,Crop:Rh,CropIcon:Rh,Cross:Fh,CrossIcon:Fh,Crosshair:Eh,CrosshairIcon:Eh,Crown:Oh,CrownIcon:Oh,Cuboid:Uh,CuboidIcon:Uh,CupSoda:Wh,CupSodaIcon:Wh,CurlyBraces:oa,CurlyBracesIcon:oa,Currency:Gh,CurrencyIcon:Gh,Cylinder:Kh,CylinderIcon:Kh,Dam:Zh,DamIcon:Zh,Database:Jh,DatabaseBackup:Xh,DatabaseBackupIcon:Xh,DatabaseIcon:Jh,DatabaseZap:Yh,DatabaseZapIcon:Yh,DecimalsArrowLeft:Qh,DecimalsArrowLeftIcon:Qh,DecimalsArrowRight:eu,DecimalsArrowRightIcon:eu,Delete:tu,DeleteIcon:tu,Dessert:au,DessertIcon:au,Diameter:nu,DiameterIcon:nu,Diamond:iu,DiamondIcon:iu,DiamondMinus:ou,DiamondMinusIcon:ou,DiamondPercent:an,DiamondPercentIcon:an,DiamondPlus:cu,DiamondPlusIcon:cu,Dice1:ru,Dice1Icon:ru,Dice2:su,Dice2Icon:su,Dice3:du,Dice3Icon:du,Dice4:lu,Dice4Icon:lu,Dice5:hu,Dice5Icon:hu,Dice6:uu,Dice6Icon:uu,Dices:pu,DicesIcon:pu,Diff:yu,DiffIcon:yu,Disc:gu,Disc2:ku,Disc2Icon:ku,Disc3:mu,Disc3Icon:mu,DiscAlbum:fu,DiscAlbumIcon:fu,DiscIcon:gu,Divide:vu,DivideCircle:za,DivideCircleIcon:za,DivideIcon:vu,DivideSquare:Po,DivideSquareIcon:Po,Dna:Mu,DnaIcon:Mu,DnaOff:xu,DnaOffIcon:xu,Dock:_u,DockIcon:_u,Dog:Lu,DogIcon:Lu,DollarSign:Iu,DollarSignIcon:Iu,Donut:bu,DonutIcon:bu,DoorClosed:Cu,DoorClosedIcon:Cu,DoorClosedLocked:wu,DoorClosedLockedIcon:wu,DoorOpen:Nu,DoorOpenIcon:Nu,Dot:Su,DotIcon:Su,DotSquare:Ho,DotSquareIcon:Ho,Download:$u,DownloadCloud:Xa,DownloadCloudIcon:Xa,DownloadIcon:$u,DraftingCompass:ju,DraftingCompassIcon:ju,Drama:qu,DramaIcon:qu,Dribbble:Au,DribbbleIcon:Au,Drill:zu,DrillIcon:zu,Drone:Vu,DroneIcon:Vu,Droplet:Tu,DropletIcon:Tu,DropletOff:Pu,DropletOffIcon:Pu,Droplets:Hu,DropletsIcon:Hu,Drum:Du,DrumIcon:Du,Drumstick:Bu,DrumstickIcon:Bu,Dumbbell:Ru,DumbbellIcon:Ru,Ear:Eu,EarIcon:Eu,EarOff:Fu,EarOffIcon:Fu,Earth:nn,EarthIcon:nn,EarthLock:Ou,EarthLockIcon:Ou,Eclipse:Uu,EclipseIcon:Uu,Edit:We,Edit2:vt,Edit2Icon:vt,Edit3:gt,Edit3Icon:gt,EditIcon:We,Egg:Ku,EggFried:Wu,EggFriedIcon:Wu,EggIcon:Ku,EggOff:Gu,EggOffIcon:Gu,Ellipsis:cn,EllipsisIcon:cn,EllipsisVertical:on,EllipsisVerticalIcon:on,Equal:Yu,EqualApproximately:Zu,EqualApproximatelyIcon:Zu,EqualIcon:Yu,EqualNot:Xu,EqualNotIcon:Xu,EqualSquare:To,EqualSquareIcon:To,Eraser:Ju,EraserIcon:Ju,EthernetPort:Qu,EthernetPortIcon:Qu,Euro:ep,EuroIcon:ep,Expand:ap,ExpandIcon:ap,ExternalLink:tp,ExternalLinkIcon:tp,Eye:j1,EyeClosed:np,EyeClosedIcon:np,EyeIcon:j1,EyeOff:S1,EyeOffIcon:S1,Facebook:op,FacebookIcon:op,Factory:cp,FactoryIcon:cp,Fan:ip,FanIcon:ip,FastForward:rp,FastForwardIcon:rp,Feather:sp,FeatherIcon:sp,Fence:dp,FenceIcon:dp,FerrisWheel:lp,FerrisWheelIcon:lp,Figma:hp,FigmaIcon:hp,File:cy,FileArchive:up,FileArchiveIcon:up,FileAudio:yp,FileAudio2:pp,FileAudio2Icon:pp,FileAudioIcon:yp,FileAxis3D:rn,FileAxis3DIcon:rn,FileAxis3d:rn,FileAxis3dIcon:rn,FileBadge:fp,FileBadge2:kp,FileBadge2Icon:kp,FileBadgeIcon:fp,FileBarChart:sn,FileBarChart2:dn,FileBarChart2Icon:dn,FileBarChartIcon:sn,FileBox:mp,FileBoxIcon:mp,FileChartColumn:dn,FileChartColumnIcon:dn,FileChartColumnIncreasing:sn,FileChartColumnIncreasingIcon:sn,FileChartLine:ln,FileChartLineIcon:ln,FileChartPie:hn,FileChartPieIcon:hn,FileCheck:vp,FileCheck2:gp,FileCheck2Icon:gp,FileCheckIcon:vp,FileClock:xp,FileClockIcon:xp,FileCode:Mp,FileCode2:_p,FileCode2Icon:_p,FileCodeIcon:Mp,FileCog:un,FileCog2:un,FileCog2Icon:un,FileCogIcon:un,FileDiff:Lp,FileDiffIcon:Lp,FileDigit:Ip,FileDigitIcon:Ip,FileDown:bp,FileDownIcon:bp,FileEdit:yn,FileEditIcon:yn,FileHeart:wp,FileHeartIcon:wp,FileIcon:cy,FileImage:Cp,FileImageIcon:Cp,FileInput:Np,FileInputIcon:Np,FileJson:jp,FileJson2:Sp,FileJson2Icon:Sp,FileJsonIcon:jp,FileKey:qp,FileKey2:$p,FileKey2Icon:$p,FileKeyIcon:qp,FileLineChart:ln,FileLineChartIcon:ln,FileLock:zp,FileLock2:Ap,FileLock2Icon:Ap,FileLockIcon:zp,FileMinus:Pp,FileMinus2:Vp,FileMinus2Icon:Vp,FileMinusIcon:Pp,FileMusic:Tp,FileMusicIcon:Tp,FileOutput:Hp,FileOutputIcon:Hp,FilePen:yn,FilePenIcon:yn,FilePenLine:pn,FilePenLineIcon:pn,FilePieChart:hn,FilePieChartIcon:hn,FilePlay:kn,FilePlayIcon:kn,FilePlus:Bp,FilePlus2:Dp,FilePlus2Icon:Dp,FilePlusIcon:Bp,FileQuestion:mn,FileQuestionIcon:mn,FileQuestionMark:mn,FileQuestionMarkIcon:mn,FileScan:Rp,FileScanIcon:Rp,FileSearch:Ep,FileSearch2:Fp,FileSearch2Icon:Fp,FileSearchIcon:Ep,FileSignature:pn,FileSignatureIcon:pn,FileSliders:Op,FileSlidersIcon:Op,FileSpreadsheet:Up,FileSpreadsheetIcon:Up,FileStack:Wp,FileStackIcon:Wp,FileSymlink:Gp,FileSymlinkIcon:Gp,FileTerminal:Kp,FileTerminalIcon:Kp,FileText:Zp,FileTextIcon:Zp,FileType:Yp,FileType2:Xp,FileType2Icon:Xp,FileTypeIcon:Yp,FileUp:Jp,FileUpIcon:Jp,FileUser:Qp,FileUserIcon:Qp,FileVideo:kn,FileVideo2:fn,FileVideo2Icon:fn,FileVideoCamera:fn,FileVideoCameraIcon:fn,FileVideoIcon:kn,FileVolume:ty,FileVolume2:ey,FileVolume2Icon:ey,FileVolumeIcon:ty,FileWarning:ay,FileWarningIcon:ay,FileX:oy,FileX2:ny,FileX2Icon:ny,FileXIcon:oy,Files:iy,FilesIcon:iy,Film:ry,FilmIcon:ry,Filter:qt,FilterIcon:qt,FilterX:xn,FilterXIcon:xn,Fingerprint:sy,FingerprintIcon:sy,FireExtinguisher:dy,FireExtinguisherIcon:dy,Fish:hy,FishIcon:hy,FishOff:ly,FishOffIcon:ly,FishSymbol:uy,FishSymbolIcon:uy,Flag:my,FlagIcon:my,FlagOff:py,FlagOffIcon:py,FlagTriangleLeft:yy,FlagTriangleLeftIcon:yy,FlagTriangleRight:ky,FlagTriangleRightIcon:ky,Flame:gy,FlameIcon:gy,FlameKindling:fy,FlameKindlingIcon:fy,Flashlight:xy,FlashlightIcon:xy,FlashlightOff:vy,FlashlightOffIcon:vy,FlaskConical:_y,FlaskConicalIcon:_y,FlaskConicalOff:My,FlaskConicalOffIcon:My,FlaskRound:Ly,FlaskRoundIcon:Ly,FlipHorizontal:by,FlipHorizontal2:Iy,FlipHorizontal2Icon:Iy,FlipHorizontalIcon:by,FlipVertical:Cy,FlipVertical2:wy,FlipVertical2Icon:wy,FlipVerticalIcon:Cy,Flower:Sy,Flower2:Ny,Flower2Icon:Ny,FlowerIcon:Sy,Focus:jy,FocusIcon:jy,FoldHorizontal:$y,FoldHorizontalIcon:$y,FoldVertical:qy,FoldVerticalIcon:qy,Folder:$1,FolderArchive:Ay,FolderArchiveIcon:Ay,FolderCheck:zy,FolderCheckIcon:zy,FolderClock:Vy,FolderClockIcon:Vy,FolderClosed:Py,FolderClosedIcon:Py,FolderCode:Ty,FolderCodeIcon:Ty,FolderCog:gn,FolderCog2:gn,FolderCog2Icon:gn,FolderCogIcon:gn,FolderDot:Hy,FolderDotIcon:Hy,FolderDown:Dy,FolderDownIcon:Dy,FolderEdit:vn,FolderEditIcon:vn,FolderGit:Ry,FolderGit2:By,FolderGit2Icon:By,FolderGitIcon:Ry,FolderHeart:Fy,FolderHeartIcon:Fy,FolderIcon:$1,FolderInput:Ey,FolderInputIcon:Ey,FolderKanban:Oy,FolderKanbanIcon:Oy,FolderKey:Uy,FolderKeyIcon:Uy,FolderLock:Wy,FolderLockIcon:Wy,FolderMinus:Gy,FolderMinusIcon:Gy,FolderOpen:Zy,FolderOpenDot:Ky,FolderOpenDotIcon:Ky,FolderOpenIcon:Zy,FolderOutput:Xy,FolderOutputIcon:Xy,FolderPen:vn,FolderPenIcon:vn,FolderPlus:qc,FolderPlusIcon:qc,FolderRoot:Yy,FolderRootIcon:Yy,FolderSearch:Qy,FolderSearch2:Jy,FolderSearch2Icon:Jy,FolderSearchIcon:Qy,FolderSymlink:e4,FolderSymlinkIcon:e4,FolderSync:t4,FolderSyncIcon:t4,FolderTree:a4,FolderTreeIcon:a4,FolderUp:n4,FolderUpIcon:n4,FolderX:o4,FolderXIcon:o4,Folders:c4,FoldersIcon:c4,Footprints:i4,FootprintsIcon:i4,ForkKnife:Ic,ForkKnifeCrossed:Lc,ForkKnifeCrossedIcon:Lc,ForkKnifeIcon:Ic,Forklift:r4,ForkliftIcon:r4,FormInput:to,FormInputIcon:to,Forward:s4,ForwardIcon:s4,Frame:d4,FrameIcon:d4,Framer:l4,FramerIcon:l4,Frown:h4,FrownIcon:h4,Fuel:u4,FuelIcon:u4,Fullscreen:p4,FullscreenIcon:p4,FunctionSquare:Do,FunctionSquareIcon:Do,Funnel:qt,FunnelIcon:qt,FunnelPlus:y4,FunnelPlusIcon:y4,FunnelX:xn,FunnelXIcon:xn,GalleryHorizontal:m4,GalleryHorizontalEnd:k4,GalleryHorizontalEndIcon:k4,GalleryHorizontalIcon:m4,GalleryThumbnails:f4,GalleryThumbnailsIcon:f4,GalleryVertical:v4,GalleryVerticalEnd:g4,GalleryVerticalEndIcon:g4,GalleryVerticalIcon:v4,Gamepad:M4,Gamepad2:x4,Gamepad2Icon:x4,GamepadIcon:M4,GanttChart:ma,GanttChartIcon:ma,GanttChartSquare:pt,GanttChartSquareIcon:pt,Gauge:_4,GaugeCircle:Va,GaugeCircleIcon:Va,GaugeIcon:_4,Gavel:L4,GavelIcon:L4,Gem:I4,GemIcon:I4,GeorgianLari:b4,GeorgianLariIcon:b4,Ghost:w4,GhostIcon:w4,Gift:C4,GiftIcon:C4,GitBranch:S4,GitBranchIcon:S4,GitBranchPlus:N4,GitBranchPlusIcon:N4,GitCommit:Mn,GitCommitHorizontal:Mn,GitCommitHorizontalIcon:Mn,GitCommitIcon:Mn,GitCommitVertical:j4,GitCommitVerticalIcon:j4,GitCompare:q4,GitCompareArrows:$4,GitCompareArrowsIcon:$4,GitCompareIcon:q4,GitFork:A4,GitForkIcon:A4,GitGraph:z4,GitGraphIcon:z4,GitMerge:V4,GitMergeIcon:V4,GitPullRequest:R4,GitPullRequestArrow:P4,GitPullRequestArrowIcon:P4,GitPullRequestClosed:T4,GitPullRequestClosedIcon:T4,GitPullRequestCreate:D4,GitPullRequestCreateArrow:H4,GitPullRequestCreateArrowIcon:H4,GitPullRequestCreateIcon:D4,GitPullRequestDraft:B4,GitPullRequestDraftIcon:B4,GitPullRequestIcon:R4,Github:F4,GithubIcon:F4,Gitlab:E4,GitlabIcon:E4,GlassWater:O4,GlassWaterIcon:O4,Glasses:U4,GlassesIcon:U4,Globe:G4,Globe2:nn,Globe2Icon:nn,GlobeIcon:G4,GlobeLock:W4,GlobeLockIcon:W4,Goal:K4,GoalIcon:K4,Gpu:Z4,GpuIcon:Z4,Grab:wn,GrabIcon:wn,GraduationCap:X4,GraduationCapIcon:X4,Grape:Y4,GrapeIcon:Y4,Grid:ut,Grid2X2:bn,Grid2X2Check:_n,Grid2X2CheckIcon:_n,Grid2X2Icon:bn,Grid2X2Plus:Ln,Grid2X2PlusIcon:Ln,Grid2X2X:In,Grid2X2XIcon:In,Grid2x2:bn,Grid2x2Check:_n,Grid2x2CheckIcon:_n,Grid2x2Icon:bn,Grid2x2Plus:Ln,Grid2x2PlusIcon:Ln,Grid2x2X:In,Grid2x2XIcon:In,Grid3X3:ut,Grid3X3Icon:ut,Grid3x2:J4,Grid3x2Icon:J4,Grid3x3:ut,Grid3x3Icon:ut,GridIcon:ut,Grip:e5,GripHorizontal:Q4,GripHorizontalIcon:Q4,GripIcon:e5,GripVertical:q1,GripVerticalIcon:q1,Group:t5,GroupIcon:t5,Guitar:a5,GuitarIcon:a5,Ham:n5,HamIcon:n5,Hamburger:o5,HamburgerIcon:o5,Hammer:c5,HammerIcon:c5,Hand:h5,HandCoins:i5,HandCoinsIcon:i5,HandFist:r5,HandFistIcon:r5,HandGrab:wn,HandGrabIcon:wn,HandHeart:s5,HandHeartIcon:s5,HandHelping:Cn,HandHelpingIcon:Cn,HandIcon:h5,HandMetal:d5,HandMetalIcon:d5,HandPlatter:l5,HandPlatterIcon:l5,Handbag:u5,HandbagIcon:u5,Handshake:p5,HandshakeIcon:p5,HardDrive:m5,HardDriveDownload:y5,HardDriveDownloadIcon:y5,HardDriveIcon:m5,HardDriveUpload:k5,HardDriveUploadIcon:k5,HardHat:f5,HardHatIcon:f5,Hash:g5,HashIcon:g5,HatGlasses:v5,HatGlassesIcon:v5,Haze:x5,HazeIcon:x5,HdmiPort:M5,HdmiPortIcon:M5,Heading:N5,Heading1:_5,Heading1Icon:_5,Heading2:L5,Heading2Icon:L5,Heading3:I5,Heading3Icon:I5,Heading4:b5,Heading4Icon:b5,Heading5:w5,Heading5Icon:w5,Heading6:C5,Heading6Icon:C5,HeadingIcon:N5,HeadphoneOff:S5,HeadphoneOffIcon:S5,Headphones:j5,HeadphonesIcon:j5,Headset:$5,HeadsetIcon:$5,Heart:H5,HeartCrack:q5,HeartCrackIcon:q5,HeartHandshake:A5,HeartHandshakeIcon:A5,HeartIcon:H5,HeartMinus:z5,HeartMinusIcon:z5,HeartOff:V5,HeartOffIcon:V5,HeartPlus:P5,HeartPlusIcon:P5,HeartPulse:T5,HeartPulseIcon:T5,Heater:D5,HeaterIcon:D5,HelpCircle:lt,HelpCircleIcon:lt,HelpingHand:Cn,HelpingHandIcon:Cn,Hexagon:B5,HexagonIcon:B5,Highlighter:R5,HighlighterIcon:R5,History:F5,HistoryIcon:F5,Home:At,HomeIcon:At,Hop:O5,HopIcon:O5,HopOff:E5,HopOffIcon:E5,Hospital:A1,HospitalIcon:A1,Hotel:U5,HotelIcon:U5,Hourglass:W5,HourglassIcon:W5,House:At,HouseIcon:At,HousePlug:G5,HousePlugIcon:G5,HousePlus:Z5,HousePlusIcon:Z5,HouseWifi:K5,HouseWifiIcon:K5,IceCream:Sn,IceCream2:Nn,IceCream2Icon:Nn,IceCreamBowl:Nn,IceCreamBowlIcon:Nn,IceCreamCone:Sn,IceCreamConeIcon:Sn,IceCreamIcon:Sn,Icon:a.Icon,IdCard:Y5,IdCardIcon:Y5,IdCardLanyard:X5,IdCardLanyardIcon:X5,Image:ck,ImageDown:J5,ImageDownIcon:J5,ImageIcon:ck,ImageMinus:Q5,ImageMinusIcon:Q5,ImageOff:ek,ImageOffIcon:ek,ImagePlay:tk,ImagePlayIcon:tk,ImagePlus:ak,ImagePlusIcon:ak,ImageUp:nk,ImageUpIcon:nk,ImageUpscale:ok,ImageUpscaleIcon:ok,Images:ik,ImagesIcon:ik,Import:rk,ImportIcon:rk,Inbox:sk,InboxIcon:sk,Indent:$n,IndentDecrease:jn,IndentDecreaseIcon:jn,IndentIcon:$n,IndentIncrease:$n,IndentIncreaseIcon:$n,IndianRupee:dk,IndianRupeeIcon:dk,Infinity:lk,InfinityIcon:lk,Info:hk,InfoIcon:hk,Inspect:Wo,InspectIcon:Wo,InspectionPanel:uk,InspectionPanelIcon:uk,Instagram:pk,InstagramIcon:pk,Italic:yk,ItalicIcon:yk,IterationCcw:kk,IterationCcwIcon:kk,IterationCw:mk,IterationCwIcon:mk,JapaneseYen:gk,JapaneseYenIcon:gk,Joystick:fk,JoystickIcon:fk,Kanban:vk,KanbanIcon:vk,KanbanSquare:Bo,KanbanSquareDashed:Ao,KanbanSquareDashedIcon:Ao,KanbanSquareIcon:Bo,Kayak:xk,KayakIcon:xk,Key:Lk,KeyIcon:Lk,KeyRound:Mk,KeyRoundIcon:Mk,KeySquare:_k,KeySquareIcon:_k,Keyboard:wk,KeyboardIcon:wk,KeyboardMusic:Ik,KeyboardMusicIcon:Ik,KeyboardOff:bk,KeyboardOffIcon:bk,Lamp:qk,LampCeiling:Ck,LampCeilingIcon:Ck,LampDesk:Sk,LampDeskIcon:Sk,LampFloor:Nk,LampFloorIcon:Nk,LampIcon:qk,LampWallDown:jk,LampWallDownIcon:jk,LampWallUp:$k,LampWallUpIcon:$k,LandPlot:Ak,LandPlotIcon:Ak,Landmark:zk,LandmarkIcon:zk,Languages:Vk,LanguagesIcon:Vk,Laptop:Tk,Laptop2:qn,Laptop2Icon:qn,LaptopIcon:Tk,LaptopMinimal:qn,LaptopMinimalCheck:Pk,LaptopMinimalCheckIcon:Pk,LaptopMinimalIcon:qn,Lasso:Dk,LassoIcon:Dk,LassoSelect:Hk,LassoSelectIcon:Hk,Laugh:Bk,LaughIcon:Bk,Layers:An,Layers2:Rk,Layers2Icon:Rk,Layers3:An,Layers3Icon:An,LayersIcon:An,Layout:Qn,LayoutDashboard:Fk,LayoutDashboardIcon:Fk,LayoutGrid:Ek,LayoutGridIcon:Ek,LayoutIcon:Qn,LayoutList:Ok,LayoutListIcon:Ok,LayoutPanelLeft:Uk,LayoutPanelLeftIcon:Uk,LayoutPanelTop:Wk,LayoutPanelTopIcon:Wk,LayoutTemplate:Gk,LayoutTemplateIcon:Gk,Leaf:Kk,LeafIcon:Kk,LeafyGreen:Xk,LeafyGreenIcon:Xk,Lectern:Zk,LecternIcon:Zk,LetterText:Yk,LetterTextIcon:Yk,Library:Qk,LibraryBig:Jk,LibraryBigIcon:Jk,LibraryIcon:Qk,LibrarySquare:Ro,LibrarySquareIcon:Ro,LifeBuoy:e3,LifeBuoyIcon:e3,Ligature:t3,LigatureIcon:t3,Lightbulb:n3,LightbulbIcon:n3,LightbulbOff:a3,LightbulbOffIcon:a3,LineChart:pa,LineChartIcon:pa,LineSquiggle:o3,LineSquiggleIcon:o3,Link:r3,Link2:c3,Link2Icon:c3,Link2Off:i3,Link2OffIcon:i3,LinkIcon:r3,Linkedin:s3,LinkedinIcon:s3,List:b3,ListCheck:d3,ListCheckIcon:d3,ListChecks:l3,ListChecksIcon:l3,ListCollapse:h3,ListCollapseIcon:h3,ListEnd:u3,ListEndIcon:u3,ListFilter:k3,ListFilterIcon:k3,ListFilterPlus:p3,ListFilterPlusIcon:p3,ListIcon:b3,ListMinus:y3,ListMinusIcon:y3,ListMusic:m3,ListMusicIcon:m3,ListOrdered:f3,ListOrderedIcon:f3,ListPlus:g3,ListPlusIcon:g3,ListRestart:v3,ListRestartIcon:v3,ListStart:x3,ListStartIcon:x3,ListTodo:M3,ListTodoIcon:M3,ListTree:_3,ListTreeIcon:_3,ListVideo:L3,ListVideoIcon:L3,ListX:I3,ListXIcon:I3,Loader:C3,Loader2:zn,Loader2Icon:zn,LoaderCircle:zn,LoaderCircleIcon:zn,LoaderIcon:C3,LoaderPinwheel:w3,LoaderPinwheelIcon:w3,Locate:j3,LocateFixed:N3,LocateFixedIcon:N3,LocateIcon:j3,LocateOff:S3,LocateOffIcon:S3,LocationEdit:Hn,LocationEditIcon:Hn,Lock:q3,LockIcon:q3,LockKeyhole:$3,LockKeyholeIcon:$3,LockKeyholeOpen:Vn,LockKeyholeOpenIcon:Vn,LockOpen:Pn,LockOpenIcon:Pn,LogIn:A3,LogInIcon:A3,LogOut:z3,LogOutIcon:z3,Logs:V3,LogsIcon:V3,Lollipop:P3,LollipopIcon:P3,LucideAArrowDown:yi,LucideAArrowUp:ki,LucideALargeSmall:mi,LucideAccessibility:L1,LucideActivity:I1,LucideActivitySquare:zt,LucideAirVent:fi,LucideAirplay:gi,LucideAlarmCheck:Et,LucideAlarmClock:xi,LucideAlarmClockCheck:Et,LucideAlarmClockMinus:Ot,LucideAlarmClockOff:vi,LucideAlarmClockPlus:Ut,LucideAlarmMinus:Ot,LucideAlarmPlus:Ut,LucideAlarmSmoke:Mi,LucideAlbum:_i,LucideAlertCircle:va,LucideAlertOctagon:Fn,LucideAlertTriangle:pc,LucideAlignCenter:Ni,LucideAlignCenterHorizontal:Li,LucideAlignCenterVertical:Ii,LucideAlignEndHorizontal:bi,LucideAlignEndVertical:wi,LucideAlignHorizontalDistributeCenter:Ci,LucideAlignHorizontalDistributeEnd:Si,LucideAlignHorizontalDistributeStart:ji,LucideAlignHorizontalJustifyCenter:$i,LucideAlignHorizontalJustifyEnd:qi,LucideAlignHorizontalJustifyStart:Ai,LucideAlignHorizontalSpaceAround:zi,LucideAlignHorizontalSpaceBetween:Pi,LucideAlignJustify:Vi,LucideAlignLeft:Ti,LucideAlignRight:Hi,LucideAlignStartHorizontal:Di,LucideAlignStartVertical:Bi,LucideAlignVerticalDistributeCenter:Fi,LucideAlignVerticalDistributeEnd:Ri,LucideAlignVerticalDistributeStart:Oi,LucideAlignVerticalJustifyCenter:Ei,LucideAlignVerticalJustifyEnd:Ui,LucideAlignVerticalJustifyStart:Wi,LucideAlignVerticalSpaceAround:Ki,LucideAlignVerticalSpaceBetween:Gi,LucideAmbulance:Zi,LucideAmpersand:Xi,LucideAmpersands:Yi,LucideAmphora:Ji,LucideAnchor:Qi,LucideAngry:er,LucideAnnoyed:tr,LucideAntenna:ar,LucideAnvil:nr,LucideAperture:or,LucideAppWindow:ir,LucideAppWindowMac:cr,LucideApple:rr,LucideArchive:lr,LucideArchiveRestore:sr,LucideArchiveX:dr,LucideAreaChart:ia,LucideArmchair:hr,LucideArrowBigDown:pr,LucideArrowBigDownDash:ur,LucideArrowBigLeft:kr,LucideArrowBigLeftDash:yr,LucideArrowBigRight:fr,LucideArrowBigRightDash:mr,LucideArrowBigUp:vr,LucideArrowBigUpDash:gr,LucideArrowDown:Qc,LucideArrowDown01:xr,LucideArrowDown10:Mr,LucideArrowDownAZ:Wt,LucideArrowDownAz:Wt,LucideArrowDownCircle:xa,LucideArrowDownFromLine:_r,LucideArrowDownLeft:Lr,LucideArrowDownLeftFromCircle:_a,LucideArrowDownLeftFromSquare:mo,LucideArrowDownLeftSquare:uo,LucideArrowDownNarrowWide:Ir,LucideArrowDownRight:br,LucideArrowDownRightFromCircle:La,LucideArrowDownRightFromSquare:fo,LucideArrowDownRightSquare:po,LucideArrowDownSquare:yo,LucideArrowDownToDot:wr,LucideArrowDownToLine:Cr,LucideArrowDownUp:Nr,LucideArrowDownWideNarrow:Gt,LucideArrowDownZA:Kt,LucideArrowDownZa:Kt,LucideArrowLeft:b1,LucideArrowLeftCircle:Ma,LucideArrowLeftFromLine:Sr,LucideArrowLeftRight:jr,LucideArrowLeftSquare:ko,LucideArrowLeftToLine:$r,LucideArrowRight:Vr,LucideArrowRightCircle:wa,LucideArrowRightFromLine:qr,LucideArrowRightLeft:Ar,LucideArrowRightSquare:xo,LucideArrowRightToLine:zr,LucideArrowUp:e1,LucideArrowUp01:Pr,LucideArrowUp10:Tr,LucideArrowUpAZ:Zt,LucideArrowUpAz:Zt,LucideArrowUpCircle:Ca,LucideArrowUpDown:Hr,LucideArrowUpFromDot:Dr,LucideArrowUpFromLine:Br,LucideArrowUpLeft:Rr,LucideArrowUpLeftFromCircle:Ia,LucideArrowUpLeftFromSquare:go,LucideArrowUpLeftSquare:Mo,LucideArrowUpNarrowWide:Xt,LucideArrowUpRight:Fr,LucideArrowUpRightFromCircle:ba,LucideArrowUpRightFromSquare:vo,LucideArrowUpRightSquare:_o,LucideArrowUpSquare:Lo,LucideArrowUpToLine:Er,LucideArrowUpWideNarrow:Or,LucideArrowUpZA:Yt,LucideArrowUpZa:Yt,LucideArrowsUpFromLine:Ur,LucideAsterisk:Wr,LucideAsteriskSquare:Io,LucideAtSign:Gr,LucideAtom:Kr,LucideAudioLines:Zr,LucideAudioWaveform:Xr,LucideAward:Yr,LucideAxe:Jr,LucideAxis3D:Jt,LucideAxis3d:Jt,LucideBaby:Qr,LucideBackpack:es,LucideBadge:ms,LucideBadgeAlert:ts,LucideBadgeCent:as,LucideBadgeCheck:Qt,LucideBadgeDollarSign:ns,LucideBadgeEuro:os,LucideBadgeHelp:ea,LucideBadgeIndianRupee:cs,LucideBadgeInfo:is,LucideBadgeJapaneseYen:ss,LucideBadgeMinus:rs,LucideBadgePercent:ds,LucideBadgePlus:ls,LucideBadgePoundSterling:hs,LucideBadgeQuestionMark:ea,LucideBadgeRussianRuble:us,LucideBadgeSwissFranc:ps,LucideBadgeTurkishLira:ys,LucideBadgeX:ks,LucideBaggageClaim:fs,LucideBan:gs,LucideBanana:vs,LucideBandage:xs,LucideBanknote:Is,LucideBanknoteArrowDown:Ms,LucideBanknoteArrowUp:_s,LucideBanknoteX:Ls,LucideBarChart:ya,LucideBarChart2:ka,LucideBarChart3:ua,LucideBarChart4:ha,LucideBarChartBig:la,LucideBarChartHorizontal:sa,LucideBarChartHorizontalBig:ra,LucideBarcode:bs,LucideBarrel:ws,LucideBaseline:Cs,LucideBath:Ns,LucideBattery:Vs,LucideBatteryCharging:Ss,LucideBatteryFull:js,LucideBatteryLow:$s,LucideBatteryMedium:qs,LucideBatteryPlus:As,LucideBatteryWarning:zs,LucideBeaker:Ps,LucideBean:Hs,LucideBeanOff:Ts,LucideBed:Rs,LucideBedDouble:Ds,LucideBedSingle:Bs,LucideBeef:Fs,LucideBeer:Os,LucideBeerOff:Es,LucideBell:Xs,LucideBellDot:Us,LucideBellElectric:Ws,LucideBellMinus:Gs,LucideBellOff:Ks,LucideBellPlus:Zs,LucideBellRing:Ys,LucideBetweenHorizonalEnd:ta,LucideBetweenHorizonalStart:aa,LucideBetweenHorizontalEnd:ta,LucideBetweenHorizontalStart:aa,LucideBetweenVerticalEnd:Qs,LucideBetweenVerticalStart:Js,LucideBicepsFlexed:e2,LucideBike:a2,LucideBinary:t2,LucideBinoculars:n2,LucideBiohazard:o2,LucideBird:c2,LucideBitcoin:i2,LucideBlend:r2,LucideBlinds:s2,LucideBlocks:d2,LucideBluetooth:p2,LucideBluetoothConnected:l2,LucideBluetoothOff:h2,LucideBluetoothSearching:u2,LucideBold:y2,LucideBolt:k2,LucideBomb:m2,LucideBone:f2,LucideBook:R2,LucideBookA:g2,LucideBookAlert:v2,LucideBookAudio:x2,LucideBookCheck:M2,LucideBookCopy:_2,LucideBookDashed:na,LucideBookDown:L2,LucideBookHeadphones:I2,LucideBookHeart:b2,LucideBookImage:w2,LucideBookKey:C2,LucideBookLock:N2,LucideBookMarked:j2,LucideBookMinus:S2,LucideBookOpen:A2,LucideBookOpenCheck:$2,LucideBookOpenText:q2,LucideBookPlus:z2,LucideBookTemplate:na,LucideBookText:V2,LucideBookType:P2,LucideBookUp:H2,LucideBookUp2:T2,LucideBookUser:D2,LucideBookX:B2,LucideBookmark:W2,LucideBookmarkCheck:F2,LucideBookmarkMinus:E2,LucideBookmarkPlus:O2,LucideBookmarkX:U2,LucideBoomBox:G2,LucideBot:X2,LucideBotMessageSquare:K2,LucideBotOff:Z2,LucideBottleWine:Y2,LucideBowArrow:J2,LucideBox:Q2,LucideBoxSelect:Vo,LucideBoxes:ed,LucideBraces:oa,LucideBrackets:td,LucideBrain:od,LucideBrainCircuit:ad,LucideBrainCog:nd,LucideBrickWall:rd,LucideBrickWallFire:cd,LucideBrickWallShield:id,LucideBriefcase:hd,LucideBriefcaseBusiness:sd,LucideBriefcaseConveyorBelt:dd,LucideBriefcaseMedical:ld,LucideBringToFront:ud,LucideBrush:yd,LucideBrushCleaning:pd,LucideBubbles:kd,LucideBug:vd,LucideBugOff:md,LucideBugPlay:fd,LucideBuilding:xd,LucideBuilding2:gd,LucideBus:_d,LucideBusFront:Md,LucideCable:Id,LucideCableCar:Ld,LucideCake:wd,LucideCakeSlice:bd,LucideCalculator:Cd,LucideCalendar:w1,LucideCalendar1:Nd,LucideCalendarArrowDown:Sd,LucideCalendarArrowUp:jd,LucideCalendarCheck:qd,LucideCalendarCheck2:$d,LucideCalendarClock:Ad,LucideCalendarCog:zd,LucideCalendarDays:Vd,LucideCalendarFold:Pd,LucideCalendarHeart:Td,LucideCalendarMinus:Dd,LucideCalendarMinus2:Hd,LucideCalendarOff:Bd,LucideCalendarPlus:Fd,LucideCalendarPlus2:Rd,LucideCalendarRange:Ed,LucideCalendarSearch:Od,LucideCalendarSync:Ud,LucideCalendarX:Gd,LucideCalendarX2:Wd,LucideCamera:Zd,LucideCameraOff:Kd,LucideCandlestickChart:da,LucideCandy:Jd,LucideCandyCane:Xd,LucideCandyOff:Yd,LucideCannabis:Qd,LucideCaptions:ca,LucideCaptionsOff:e0,LucideCar:n0,LucideCarFront:t0,LucideCarTaxiFront:a0,LucideCaravan:o0,LucideCardSim:c0,LucideCarrot:i0,LucideCaseLower:r0,LucideCaseSensitive:s0,LucideCaseUpper:d0,LucideCassetteTape:l0,LucideCast:h0,LucideCastle:p0,LucideCat:u0,LucideCctv:y0,LucideChartArea:ia,LucideChartBar:sa,LucideChartBarBig:ra,LucideChartBarDecreasing:k0,LucideChartBarIncreasing:m0,LucideChartBarStacked:f0,LucideChartCandlestick:da,LucideChartColumn:ua,LucideChartColumnBig:la,LucideChartColumnDecreasing:g0,LucideChartColumnIncreasing:ha,LucideChartColumnStacked:v0,LucideChartGantt:x0,LucideChartLine:pa,LucideChartNetwork:M0,LucideChartNoAxesColumn:ka,LucideChartNoAxesColumnDecreasing:_0,LucideChartNoAxesColumnIncreasing:ya,LucideChartNoAxesCombined:L0,LucideChartNoAxesGantt:ma,LucideChartPie:fa,LucideChartScatter:ga,LucideChartSpline:I0,LucideCheck:C1,LucideCheckCheck:b0,LucideCheckCircle:Na,LucideCheckCircle2:Sa,LucideCheckLine:w0,LucideCheckSquare:wo,LucideCheckSquare2:Co,LucideChefHat:C0,LucideCherry:N0,LucideChevronDown:Tt,LucideChevronDownCircle:ja,LucideChevronDownSquare:No,LucideChevronFirst:S0,LucideChevronLast:j0,LucideChevronLeft:$0,LucideChevronLeftCircle:$a,LucideChevronLeftSquare:So,LucideChevronRight:N1,LucideChevronRightCircle:qa,LucideChevronRightSquare:jo,LucideChevronUp:$c,LucideChevronUpCircle:Aa,LucideChevronUpSquare:$o,LucideChevronsDown:A0,LucideChevronsDownUp:q0,LucideChevronsLeft:V0,LucideChevronsLeftRight:z0,LucideChevronsLeftRightEllipsis:P0,LucideChevronsRight:H0,LucideChevronsRightLeft:T0,LucideChevronsUp:D0,LucideChevronsUpDown:t1,LucideChrome:B0,LucideChurch:R0,LucideCigarette:E0,LucideCigaretteOff:F0,LucideCircle:nl,LucideCircleAlert:va,LucideCircleArrowDown:xa,LucideCircleArrowLeft:Ma,LucideCircleArrowOutDownLeft:_a,LucideCircleArrowOutDownRight:La,LucideCircleArrowOutUpLeft:Ia,LucideCircleArrowOutUpRight:ba,LucideCircleArrowRight:wa,LucideCircleArrowUp:Ca,LucideCircleCheck:Sa,LucideCircleCheckBig:Na,LucideCircleChevronDown:ja,LucideCircleChevronLeft:$a,LucideCircleChevronRight:qa,LucideCircleChevronUp:Aa,LucideCircleDashed:O0,LucideCircleDivide:za,LucideCircleDollarSign:W0,LucideCircleDot:G0,LucideCircleDotDashed:U0,LucideCircleEllipsis:K0,LucideCircleEqual:Z0,LucideCircleFadingArrowUp:Y0,LucideCircleFadingPlus:X0,LucideCircleGauge:Va,LucideCircleHelp:lt,LucideCircleMinus:Pa,LucideCircleOff:J0,LucideCircleParking:Da,LucideCircleParkingOff:Ta,LucideCirclePause:Ha,LucideCirclePercent:Ba,LucideCirclePlay:Ra,LucideCirclePlus:Fa,LucideCirclePoundSterling:Q0,LucideCirclePower:Ea,LucideCircleQuestionMark:lt,LucideCircleSlash:el,LucideCircleSlash2:Oa,LucideCircleSlashed:Oa,LucideCircleSmall:tl,LucideCircleStar:al,LucideCircleStop:Ua,LucideCircleUser:Ga,LucideCircleUserRound:Wa,LucideCircleX:$t,LucideCircuitBoard:ol,LucideCitrus:cl,LucideClapperboard:il,LucideClipboard:ml,LucideClipboardCheck:rl,LucideClipboardClock:sl,LucideClipboardCopy:dl,LucideClipboardEdit:Za,LucideClipboardList:ll,LucideClipboardMinus:hl,LucideClipboardPaste:ul,LucideClipboardPen:Za,LucideClipboardPenLine:Ka,LucideClipboardPlus:pl,LucideClipboardSignature:Ka,LucideClipboardType:yl,LucideClipboardX:kl,LucideClock:zl,LucideClock1:gl,LucideClock10:fl,LucideClock11:vl,LucideClock12:xl,LucideClock2:Ml,LucideClock3:_l,LucideClock4:Ll,LucideClock5:Il,LucideClock6:bl,LucideClock7:wl,LucideClock8:Cl,LucideClock9:Nl,LucideClockAlert:Sl,LucideClockArrowDown:jl,LucideClockArrowUp:$l,LucideClockFading:ql,LucideClockPlus:Al,LucideClosedCaption:Vl,LucideCloud:Yl,LucideCloudAlert:Pl,LucideCloudCheck:Tl,LucideCloudCog:Hl,LucideCloudDownload:Xa,LucideCloudDrizzle:Dl,LucideCloudFog:Bl,LucideCloudHail:Rl,LucideCloudLightning:Fl,LucideCloudMoon:Ol,LucideCloudMoonRain:El,LucideCloudOff:Ul,LucideCloudRain:Gl,LucideCloudRainWind:Wl,LucideCloudSnow:Kl,LucideCloudSun:Xl,LucideCloudSunRain:Zl,LucideCloudUpload:Ya,LucideCloudy:Jl,LucideClover:Ql,LucideClub:eh,LucideCode:th,LucideCode2:Ja,LucideCodeSquare:qo,LucideCodeXml:Ja,LucideCodepen:ah,LucideCodesandbox:nh,LucideCoffee:oh,LucideCog:ch,LucideCoins:ih,LucideColumns:Qa,LucideColumns2:Qa,LucideColumns3:en,LucideColumns3Cog:ht,LucideColumns4:rh,LucideColumnsSettings:ht,LucideCombine:sh,LucideCommand:dh,LucideCompass:lh,LucideComponent:hh,LucideComputer:uh,LucideConciergeBell:ph,LucideCone:yh,LucideConstruction:kh,LucideContact:mh,LucideContact2:tn,LucideContactRound:tn,LucideContainer:fh,LucideContrast:vh,LucideCookie:gh,LucideCookingPot:Mh,LucideCopy:wh,LucideCopyCheck:xh,LucideCopyMinus:_h,LucideCopyPlus:Lh,LucideCopySlash:Ih,LucideCopyX:bh,LucideCopyleft:Ch,LucideCopyright:Nh,LucideCornerDownLeft:Sh,LucideCornerDownRight:jh,LucideCornerLeftDown:$h,LucideCornerLeftUp:qh,LucideCornerRightDown:Ah,LucideCornerRightUp:zh,LucideCornerUpLeft:Vh,LucideCornerUpRight:Ph,LucideCpu:Th,LucideCreativeCommons:Hh,LucideCreditCard:Dh,LucideCroissant:Bh,LucideCrop:Rh,LucideCross:Fh,LucideCrosshair:Eh,LucideCrown:Oh,LucideCuboid:Uh,LucideCupSoda:Wh,LucideCurlyBraces:oa,LucideCurrency:Gh,LucideCylinder:Kh,LucideDam:Zh,LucideDatabase:Jh,LucideDatabaseBackup:Xh,LucideDatabaseZap:Yh,LucideDecimalsArrowLeft:Qh,LucideDecimalsArrowRight:eu,LucideDelete:tu,LucideDessert:au,LucideDiameter:nu,LucideDiamond:iu,LucideDiamondMinus:ou,LucideDiamondPercent:an,LucideDiamondPlus:cu,LucideDice1:ru,LucideDice2:su,LucideDice3:du,LucideDice4:lu,LucideDice5:hu,LucideDice6:uu,LucideDices:pu,LucideDiff:yu,LucideDisc:gu,LucideDisc2:ku,LucideDisc3:mu,LucideDiscAlbum:fu,LucideDivide:vu,LucideDivideCircle:za,LucideDivideSquare:Po,LucideDna:Mu,LucideDnaOff:xu,LucideDock:_u,LucideDog:Lu,LucideDollarSign:Iu,LucideDonut:bu,LucideDoorClosed:Cu,LucideDoorClosedLocked:wu,LucideDoorOpen:Nu,LucideDot:Su,LucideDotSquare:Ho,LucideDownload:$u,LucideDownloadCloud:Xa,LucideDraftingCompass:ju,LucideDrama:qu,LucideDribbble:Au,LucideDrill:zu,LucideDrone:Vu,LucideDroplet:Tu,LucideDropletOff:Pu,LucideDroplets:Hu,LucideDrum:Du,LucideDrumstick:Bu,LucideDumbbell:Ru,LucideEar:Eu,LucideEarOff:Fu,LucideEarth:nn,LucideEarthLock:Ou,LucideEclipse:Uu,LucideEdit:We,LucideEdit2:vt,LucideEdit3:gt,LucideEgg:Ku,LucideEggFried:Wu,LucideEggOff:Gu,LucideEllipsis:cn,LucideEllipsisVertical:on,LucideEqual:Yu,LucideEqualApproximately:Zu,LucideEqualNot:Xu,LucideEqualSquare:To,LucideEraser:Ju,LucideEthernetPort:Qu,LucideEuro:ep,LucideExpand:ap,LucideExternalLink:tp,LucideEye:j1,LucideEyeClosed:np,LucideEyeOff:S1,LucideFacebook:op,LucideFactory:cp,LucideFan:ip,LucideFastForward:rp,LucideFeather:sp,LucideFence:dp,LucideFerrisWheel:lp,LucideFigma:hp,LucideFile:cy,LucideFileArchive:up,LucideFileAudio:yp,LucideFileAudio2:pp,LucideFileAxis3D:rn,LucideFileAxis3d:rn,LucideFileBadge:fp,LucideFileBadge2:kp,LucideFileBarChart:sn,LucideFileBarChart2:dn,LucideFileBox:mp,LucideFileChartColumn:dn,LucideFileChartColumnIncreasing:sn,LucideFileChartLine:ln,LucideFileChartPie:hn,LucideFileCheck:vp,LucideFileCheck2:gp,LucideFileClock:xp,LucideFileCode:Mp,LucideFileCode2:_p,LucideFileCog:un,LucideFileCog2:un,LucideFileDiff:Lp,LucideFileDigit:Ip,LucideFileDown:bp,LucideFileEdit:yn,LucideFileHeart:wp,LucideFileImage:Cp,LucideFileInput:Np,LucideFileJson:jp,LucideFileJson2:Sp,LucideFileKey:qp,LucideFileKey2:$p,LucideFileLineChart:ln,LucideFileLock:zp,LucideFileLock2:Ap,LucideFileMinus:Pp,LucideFileMinus2:Vp,LucideFileMusic:Tp,LucideFileOutput:Hp,LucideFilePen:yn,LucideFilePenLine:pn,LucideFilePieChart:hn,LucideFilePlay:kn,LucideFilePlus:Bp,LucideFilePlus2:Dp,LucideFileQuestion:mn,LucideFileQuestionMark:mn,LucideFileScan:Rp,LucideFileSearch:Ep,LucideFileSearch2:Fp,LucideFileSignature:pn,LucideFileSliders:Op,LucideFileSpreadsheet:Up,LucideFileStack:Wp,LucideFileSymlink:Gp,LucideFileTerminal:Kp,LucideFileText:Zp,LucideFileType:Yp,LucideFileType2:Xp,LucideFileUp:Jp,LucideFileUser:Qp,LucideFileVideo:kn,LucideFileVideo2:fn,LucideFileVideoCamera:fn,LucideFileVolume:ty,LucideFileVolume2:ey,LucideFileWarning:ay,LucideFileX:oy,LucideFileX2:ny,LucideFiles:iy,LucideFilm:ry,LucideFilter:qt,LucideFilterX:xn,LucideFingerprint:sy,LucideFireExtinguisher:dy,LucideFish:hy,LucideFishOff:ly,LucideFishSymbol:uy,LucideFlag:my,LucideFlagOff:py,LucideFlagTriangleLeft:yy,LucideFlagTriangleRight:ky,LucideFlame:gy,LucideFlameKindling:fy,LucideFlashlight:xy,LucideFlashlightOff:vy,LucideFlaskConical:_y,LucideFlaskConicalOff:My,LucideFlaskRound:Ly,LucideFlipHorizontal:by,LucideFlipHorizontal2:Iy,LucideFlipVertical:Cy,LucideFlipVertical2:wy,LucideFlower:Sy,LucideFlower2:Ny,LucideFocus:jy,LucideFoldHorizontal:$y,LucideFoldVertical:qy,LucideFolder:$1,LucideFolderArchive:Ay,LucideFolderCheck:zy,LucideFolderClock:Vy,LucideFolderClosed:Py,LucideFolderCode:Ty,LucideFolderCog:gn,LucideFolderCog2:gn,LucideFolderDot:Hy,LucideFolderDown:Dy,LucideFolderEdit:vn,LucideFolderGit:Ry,LucideFolderGit2:By,LucideFolderHeart:Fy,LucideFolderInput:Ey,LucideFolderKanban:Oy,LucideFolderKey:Uy,LucideFolderLock:Wy,LucideFolderMinus:Gy,LucideFolderOpen:Zy,LucideFolderOpenDot:Ky,LucideFolderOutput:Xy,LucideFolderPen:vn,LucideFolderPlus:qc,LucideFolderRoot:Yy,LucideFolderSearch:Qy,LucideFolderSearch2:Jy,LucideFolderSymlink:e4,LucideFolderSync:t4,LucideFolderTree:a4,LucideFolderUp:n4,LucideFolderX:o4,LucideFolders:c4,LucideFootprints:i4,LucideForkKnife:Ic,LucideForkKnifeCrossed:Lc,LucideForklift:r4,LucideFormInput:to,LucideForward:s4,LucideFrame:d4,LucideFramer:l4,LucideFrown:h4,LucideFuel:u4,LucideFullscreen:p4,LucideFunctionSquare:Do,LucideFunnel:qt,LucideFunnelPlus:y4,LucideFunnelX:xn,LucideGalleryHorizontal:m4,LucideGalleryHorizontalEnd:k4,LucideGalleryThumbnails:f4,LucideGalleryVertical:v4,LucideGalleryVerticalEnd:g4,LucideGamepad:M4,LucideGamepad2:x4,LucideGanttChart:ma,LucideGanttChartSquare:pt,LucideGauge:_4,LucideGaugeCircle:Va,LucideGavel:L4,LucideGem:I4,LucideGeorgianLari:b4,LucideGhost:w4,LucideGift:C4,LucideGitBranch:S4,LucideGitBranchPlus:N4,LucideGitCommit:Mn,LucideGitCommitHorizontal:Mn,LucideGitCommitVertical:j4,LucideGitCompare:q4,LucideGitCompareArrows:$4,LucideGitFork:A4,LucideGitGraph:z4,LucideGitMerge:V4,LucideGitPullRequest:R4,LucideGitPullRequestArrow:P4,LucideGitPullRequestClosed:T4,LucideGitPullRequestCreate:D4,LucideGitPullRequestCreateArrow:H4,LucideGitPullRequestDraft:B4,LucideGithub:F4,LucideGitlab:E4,LucideGlassWater:O4,LucideGlasses:U4,LucideGlobe:G4,LucideGlobe2:nn,LucideGlobeLock:W4,LucideGoal:K4,LucideGpu:Z4,LucideGrab:wn,LucideGraduationCap:X4,LucideGrape:Y4,LucideGrid:ut,LucideGrid2X2:bn,LucideGrid2X2Check:_n,LucideGrid2X2Plus:Ln,LucideGrid2X2X:In,LucideGrid2x2:bn,LucideGrid2x2Check:_n,LucideGrid2x2Plus:Ln,LucideGrid2x2X:In,LucideGrid3X3:ut,LucideGrid3x2:J4,LucideGrid3x3:ut,LucideGrip:e5,LucideGripHorizontal:Q4,LucideGripVertical:q1,LucideGroup:t5,LucideGuitar:a5,LucideHam:n5,LucideHamburger:o5,LucideHammer:c5,LucideHand:h5,LucideHandCoins:i5,LucideHandFist:r5,LucideHandGrab:wn,LucideHandHeart:s5,LucideHandHelping:Cn,LucideHandMetal:d5,LucideHandPlatter:l5,LucideHandbag:u5,LucideHandshake:p5,LucideHardDrive:m5,LucideHardDriveDownload:y5,LucideHardDriveUpload:k5,LucideHardHat:f5,LucideHash:g5,LucideHatGlasses:v5,LucideHaze:x5,LucideHdmiPort:M5,LucideHeading:N5,LucideHeading1:_5,LucideHeading2:L5,LucideHeading3:I5,LucideHeading4:b5,LucideHeading5:w5,LucideHeading6:C5,LucideHeadphoneOff:S5,LucideHeadphones:j5,LucideHeadset:$5,LucideHeart:H5,LucideHeartCrack:q5,LucideHeartHandshake:A5,LucideHeartMinus:z5,LucideHeartOff:V5,LucideHeartPlus:P5,LucideHeartPulse:T5,LucideHeater:D5,LucideHelpCircle:lt,LucideHelpingHand:Cn,LucideHexagon:B5,LucideHighlighter:R5,LucideHistory:F5,LucideHome:At,LucideHop:O5,LucideHopOff:E5,LucideHospital:A1,LucideHotel:U5,LucideHourglass:W5,LucideHouse:At,LucideHousePlug:G5,LucideHousePlus:Z5,LucideHouseWifi:K5,LucideIceCream:Sn,LucideIceCream2:Nn,LucideIceCreamBowl:Nn,LucideIceCreamCone:Sn,LucideIdCard:Y5,LucideIdCardLanyard:X5,LucideImage:ck,LucideImageDown:J5,LucideImageMinus:Q5,LucideImageOff:ek,LucideImagePlay:tk,LucideImagePlus:ak,LucideImageUp:nk,LucideImageUpscale:ok,LucideImages:ik,LucideImport:rk,LucideInbox:sk,LucideIndent:$n,LucideIndentDecrease:jn,LucideIndentIncrease:$n,LucideIndianRupee:dk,LucideInfinity:lk,LucideInfo:hk,LucideInspect:Wo,LucideInspectionPanel:uk,LucideInstagram:pk,LucideItalic:yk,LucideIterationCcw:kk,LucideIterationCw:mk,LucideJapaneseYen:gk,LucideJoystick:fk,LucideKanban:vk,LucideKanbanSquare:Bo,LucideKanbanSquareDashed:Ao,LucideKayak:xk,LucideKey:Lk,LucideKeyRound:Mk,LucideKeySquare:_k,LucideKeyboard:wk,LucideKeyboardMusic:Ik,LucideKeyboardOff:bk,LucideLamp:qk,LucideLampCeiling:Ck,LucideLampDesk:Sk,LucideLampFloor:Nk,LucideLampWallDown:jk,LucideLampWallUp:$k,LucideLandPlot:Ak,LucideLandmark:zk,LucideLanguages:Vk,LucideLaptop:Tk,LucideLaptop2:qn,LucideLaptopMinimal:qn,LucideLaptopMinimalCheck:Pk,LucideLasso:Dk,LucideLassoSelect:Hk,LucideLaugh:Bk,LucideLayers:An,LucideLayers2:Rk,LucideLayers3:An,LucideLayout:Qn,LucideLayoutDashboard:Fk,LucideLayoutGrid:Ek,LucideLayoutList:Ok,LucideLayoutPanelLeft:Uk,LucideLayoutPanelTop:Wk,LucideLayoutTemplate:Gk,LucideLeaf:Kk,LucideLeafyGreen:Xk,LucideLectern:Zk,LucideLetterText:Yk,LucideLibrary:Qk,LucideLibraryBig:Jk,LucideLibrarySquare:Ro,LucideLifeBuoy:e3,LucideLigature:t3,LucideLightbulb:n3,LucideLightbulbOff:a3,LucideLineChart:pa,LucideLineSquiggle:o3,LucideLink:r3,LucideLink2:c3,LucideLink2Off:i3,LucideLinkedin:s3,LucideList:b3,LucideListCheck:d3,LucideListChecks:l3,LucideListCollapse:h3,LucideListEnd:u3,LucideListFilter:k3,LucideListFilterPlus:p3,LucideListMinus:y3,LucideListMusic:m3,LucideListOrdered:f3,LucideListPlus:g3,LucideListRestart:v3,LucideListStart:x3,LucideListTodo:M3,LucideListTree:_3,LucideListVideo:L3,LucideListX:I3,LucideLoader:C3,LucideLoader2:zn,LucideLoaderCircle:zn,LucideLoaderPinwheel:w3,LucideLocate:j3,LucideLocateFixed:N3,LucideLocateOff:S3,LucideLocationEdit:Hn,LucideLock:q3,LucideLockKeyhole:$3,LucideLockKeyholeOpen:Vn,LucideLockOpen:Pn,LucideLogIn:A3,LucideLogOut:z3,LucideLogs:V3,LucideLollipop:P3,LucideLuggage:T3,LucideMSquare:Fo,LucideMagnet:H3,LucideMail:U3,LucideMailCheck:D3,LucideMailMinus:B3,LucideMailOpen:R3,LucideMailPlus:F3,LucideMailQuestion:Tn,LucideMailQuestionMark:Tn,LucideMailSearch:E3,LucideMailWarning:O3,LucideMailX:W3,LucideMailbox:G3,LucideMails:K3,LucideMap:dm,LucideMapMinus:Z3,LucideMapPin:im,LucideMapPinCheck:X3,LucideMapPinCheckInside:Y3,LucideMapPinHouse:J3,LucideMapPinMinus:em,LucideMapPinMinusInside:Q3,LucideMapPinOff:tm,LucideMapPinPen:Hn,LucideMapPinPlus:nm,LucideMapPinPlusInside:am,LucideMapPinX:cm,LucideMapPinXInside:om,LucideMapPinned:rm,LucideMapPlus:sm,LucideMars:hm,LucideMarsStroke:lm,LucideMartini:um,LucideMaximize:km,LucideMaximize2:pm,LucideMedal:ym,LucideMegaphone:fm,LucideMegaphoneOff:mm,LucideMeh:gm,LucideMemoryStick:vm,LucideMenu:a1,LucideMenuSquare:Eo,LucideMerge:xm,LucideMessageCircle:jm,LucideMessageCircleCode:Mm,LucideMessageCircleDashed:_m,LucideMessageCircleHeart:Lm,LucideMessageCircleMore:Im,LucideMessageCircleOff:bm,LucideMessageCirclePlus:wm,LucideMessageCircleQuestion:Dn,LucideMessageCircleQuestionMark:Dn,LucideMessageCircleReply:Cm,LucideMessageCircleWarning:Nm,LucideMessageCircleX:Sm,LucideMessageSquare:Wm,LucideMessageSquareCode:$m,LucideMessageSquareDashed:qm,LucideMessageSquareDiff:Am,LucideMessageSquareDot:zm,LucideMessageSquareHeart:Vm,LucideMessageSquareLock:Pm,LucideMessageSquareMore:Tm,LucideMessageSquareOff:Hm,LucideMessageSquarePlus:Dm,LucideMessageSquareQuote:Bm,LucideMessageSquareReply:Rm,LucideMessageSquareShare:Fm,LucideMessageSquareText:Em,LucideMessageSquareWarning:Om,LucideMessageSquareX:Um,LucideMessagesSquare:Gm,LucideMic:Zm,LucideMic2:Bn,LucideMicOff:Km,LucideMicVocal:Bn,LucideMicrochip:Xm,LucideMicroscope:Ym,LucideMicrowave:Jm,LucideMilestone:Qm,LucideMilk:t6,LucideMilkOff:e6,LucideMinimize:n6,LucideMinimize2:a6,LucideMinus:o6,LucideMinusCircle:Pa,LucideMinusSquare:Oo,LucideMonitor:f6,LucideMonitorCheck:c6,LucideMonitorCog:i6,LucideMonitorDot:r6,LucideMonitorDown:s6,LucideMonitorOff:d6,LucideMonitorPause:h6,LucideMonitorPlay:l6,LucideMonitorSmartphone:u6,LucideMonitorSpeaker:p6,LucideMonitorStop:y6,LucideMonitorUp:k6,LucideMonitorX:m6,LucideMoon:v6,LucideMoonStar:g6,LucideMoreHorizontal:cn,LucideMoreVertical:on,LucideMountain:M6,LucideMountainSnow:x6,LucideMouse:C6,LucideMouseOff:_6,LucideMousePointer:b6,LucideMousePointer2:L6,LucideMousePointerBan:I6,LucideMousePointerClick:w6,LucideMousePointerSquareDashed:zo,LucideMove:a.Move,LucideMove3D:Rn,LucideMove3d:Rn,LucideMoveDiagonal:S6,LucideMoveDiagonal2:N6,LucideMoveDown:A6,LucideMoveDownLeft:j6,LucideMoveDownRight:$6,LucideMoveHorizontal:q6,LucideMoveLeft:z6,LucideMoveRight:V6,LucideMoveUp:H6,LucideMoveUpLeft:P6,LucideMoveUpRight:T6,LucideMoveVertical:D6,LucideMusic:E6,LucideMusic2:B6,LucideMusic3:R6,LucideMusic4:F6,LucideNavigation:G6,LucideNavigation2:U6,LucideNavigation2Off:O6,LucideNavigationOff:W6,LucideNetwork:K6,LucideNewspaper:Z6,LucideNfc:X6,LucideNonBinary:Y6,LucideNotebook:tf,LucideNotebookPen:J6,LucideNotebookTabs:Q6,LucideNotebookText:ef,LucideNotepadText:nf,LucideNotepadTextDashed:af,LucideNut:cf,LucideNutOff:of,LucideOctagon:sf,LucideOctagonAlert:Fn,LucideOctagonMinus:rf,LucideOctagonPause:En,LucideOctagonX:On,LucideOmega:df,LucideOption:lf,LucideOrbit:hf,LucideOrigami:uf,LucideOutdent:jn,LucidePackage:xf,LucidePackage2:pf,LucidePackageCheck:yf,LucidePackageMinus:kf,LucidePackageOpen:mf,LucidePackagePlus:ff,LucidePackageSearch:gf,LucidePackageX:vf,LucidePaintBucket:Mf,LucidePaintRoller:_f,LucidePaintbrush:Lf,LucidePaintbrush2:Un,LucidePaintbrushVertical:Un,LucidePalette:If,LucidePalmtree:uc,LucidePanda:bf,LucidePanelBottom:Nf,LucidePanelBottomClose:wf,LucidePanelBottomDashed:Wn,LucidePanelBottomInactive:Wn,LucidePanelBottomOpen:Cf,LucidePanelLeft:Xn,LucidePanelLeftClose:Gn,LucidePanelLeftDashed:Kn,LucidePanelLeftInactive:Kn,LucidePanelLeftOpen:Zn,LucidePanelRight:$f,LucidePanelRightClose:Sf,LucidePanelRightDashed:Yn,LucidePanelRightInactive:Yn,LucidePanelRightOpen:jf,LucidePanelTop:zf,LucidePanelTopClose:qf,LucidePanelTopDashed:Jn,LucidePanelTopInactive:Jn,LucidePanelTopOpen:Af,LucidePanelsLeftBottom:Vf,LucidePanelsLeftRight:en,LucidePanelsRightBottom:Pf,LucidePanelsTopBottom:oo,LucidePanelsTopLeft:Qn,LucidePaperclip:Tf,LucideParentheses:Hf,LucideParkingCircle:Da,LucideParkingCircleOff:Ta,LucideParkingMeter:Df,LucideParkingSquare:Go,LucideParkingSquareOff:Uo,LucidePartyPopper:Bf,LucidePause:Rf,LucidePauseCircle:Ha,LucidePauseOctagon:En,LucidePawPrint:Ff,LucidePcCase:Ef,LucidePen:vt,LucidePenBox:We,LucidePenLine:gt,LucidePenOff:Uf,LucidePenSquare:We,LucidePenTool:Of,LucidePencil:n1,LucidePencilLine:Wf,LucidePencilOff:Gf,LucidePencilRuler:Kf,LucidePentagon:Zf,LucidePercent:Xf,LucidePercentCircle:Ba,LucidePercentDiamond:an,LucidePercentSquare:Ko,LucidePersonStanding:Jf,LucidePhilippinePeso:Yf,LucidePhone:o8,LucidePhoneCall:Qf,LucidePhoneForwarded:e8,LucidePhoneIncoming:t8,LucidePhoneMissed:a8,LucidePhoneOff:n8,LucidePhoneOutgoing:c8,LucidePi:i8,LucidePiSquare:Zo,LucidePiano:r8,LucidePickaxe:s8,LucidePictureInPicture:l8,LucidePictureInPicture2:d8,LucidePieChart:fa,LucidePiggyBank:h8,LucidePilcrow:p8,LucidePilcrowLeft:u8,LucidePilcrowRight:y8,LucidePilcrowSquare:Xo,LucidePill:m8,LucidePillBottle:k8,LucidePin:g8,LucidePinOff:f8,LucidePipette:v8,LucidePizza:x8,LucidePlane:L8,LucidePlaneLanding:M8,LucidePlaneTakeoff:_8,LucidePlay:I8,LucidePlayCircle:Ra,LucidePlaySquare:Yo,LucidePlug:w8,LucidePlug2:b8,LucidePlugZap:eo,LucidePlugZap2:eo,LucidePlus:Ac,LucidePlusCircle:Fa,LucidePlusSquare:Jo,LucidePocket:N8,LucidePocketKnife:C8,LucidePodcast:S8,LucidePointer:$8,LucidePointerOff:j8,LucidePopcorn:A8,LucidePopsicle:q8,LucidePoundSterling:z8,LucidePower:P8,LucidePowerCircle:Ea,LucidePowerOff:V8,LucidePowerSquare:Qo,LucidePresentation:T8,LucidePrinter:D8,LucidePrinterCheck:H8,LucideProjector:B8,LucideProportions:R8,LucidePuzzle:E8,LucidePyramid:F8,LucideQrCode:O8,LucideQuote:U8,LucideRabbit:W8,LucideRadar:G8,LucideRadiation:K8,LucideRadical:Z8,LucideRadio:J8,LucideRadioReceiver:X8,LucideRadioTower:Y8,LucideRadius:Q8,LucideRailSymbol:eg,LucideRainbow:tg,LucideRat:ag,LucideRatio:ng,LucideReceipt:pg,LucideReceiptCent:og,LucideReceiptEuro:ig,LucideReceiptIndianRupee:cg,LucideReceiptJapaneseYen:rg,LucideReceiptPoundSterling:sg,LucideReceiptRussianRuble:dg,LucideReceiptSwissFranc:lg,LucideReceiptText:hg,LucideReceiptTurkishLira:ug,LucideRectangleCircle:yg,LucideRectangleEllipsis:to,LucideRectangleGoggles:kg,LucideRectangleHorizontal:mg,LucideRectangleVertical:fg,LucideRecycle:gg,LucideRedo:Mg,LucideRedo2:vg,LucideRedoDot:xg,LucideRefreshCcw:Lg,LucideRefreshCcwDot:_g,LucideRefreshCw:bg,LucideRefreshCwOff:Ig,LucideRefrigerator:wg,LucideRegex:Cg,LucideRemoveFormatting:Ng,LucideRepeat:$g,LucideRepeat1:Sg,LucideRepeat2:jg,LucideReplace:Ag,LucideReplaceAll:qg,LucideReply:Pg,LucideReplyAll:zg,LucideRewind:Vg,LucideRibbon:Tg,LucideRocket:Hg,LucideRockingChair:Rg,LucideRollerCoaster:Dg,LucideRose:Bg,LucideRotate3D:ao,LucideRotate3d:ao,LucideRotateCcw:Og,LucideRotateCcwKey:Fg,LucideRotateCcwSquare:Eg,LucideRotateCw:Wg,LucideRotateCwSquare:Ug,LucideRoute:Kg,LucideRouteOff:Gg,LucideRouter:Zg,LucideRows:no,LucideRows2:no,LucideRows3:oo,LucideRows4:Xg,LucideRss:Yg,LucideRuler:Qg,LucideRulerDimensionLine:Jg,LucideRussianRuble:e7,LucideSailboat:t7,LucideSalad:a7,LucideSandwich:n7,LucideSatellite:c7,LucideSatelliteDish:o7,LucideSaudiRiyal:i7,LucideSave:l7,LucideSaveAll:r7,LucideSaveOff:s7,LucideScale:d7,LucideScale3D:co,LucideScale3d:co,LucideScaling:h7,LucideScan:x7,LucideScanBarcode:u7,LucideScanEye:p7,LucideScanFace:y7,LucideScanHeart:k7,LucideScanLine:m7,LucideScanQrCode:f7,LucideScanSearch:g7,LucideScanText:v7,LucideScatterChart:ga,LucideSchool:M7,LucideSchool2:kc,LucideScissors:L7,LucideScissorsLineDashed:_7,LucideScissorsSquare:ec,LucideScissorsSquareDashedBottom:bo,LucideScreenShare:I7,LucideScreenShareOff:b7,LucideScroll:C7,LucideScrollText:w7,LucideSearch:z1,LucideSearchCheck:N7,LucideSearchCode:S7,LucideSearchSlash:j7,LucideSearchX:$7,LucideSection:q7,LucideSend:z7,LucideSendHorizonal:io,LucideSendHorizontal:io,LucideSendToBack:A7,LucideSeparatorHorizontal:V7,LucideSeparatorVertical:P7,LucideServer:B7,LucideServerCog:T7,LucideServerCrash:D7,LucideServerOff:H7,LucideSettings:F7,LucideSettings2:R7,LucideShapes:E7,LucideShare:U7,LucideShare2:O7,LucideSheet:W7,LucideShell:G7,LucideShield:nv,LucideShieldAlert:K7,LucideShieldBan:Z7,LucideShieldCheck:X7,LucideShieldClose:so,LucideShieldEllipsis:Y7,LucideShieldHalf:J7,LucideShieldMinus:ev,LucideShieldOff:Q7,LucideShieldPlus:tv,LucideShieldQuestion:ro,LucideShieldQuestionMark:ro,LucideShieldUser:av,LucideShieldX:so,LucideShip:cv,LucideShipWheel:ov,LucideShirt:iv,LucideShoppingBag:rv,LucideShoppingBasket:sv,LucideShoppingCart:dv,LucideShovel:lv,LucideShowerHead:hv,LucideShredder:uv,LucideShrimp:pv,LucideShrink:yv,LucideShrub:kv,LucideShuffle:fv,LucideSidebar:Xn,LucideSidebarClose:Gn,LucideSidebarOpen:Zn,LucideSigma:mv,LucideSigmaSquare:tc,LucideSignal:_v,LucideSignalHigh:gv,LucideSignalLow:vv,LucideSignalMedium:xv,LucideSignalZero:Mv,LucideSignature:Lv,LucideSignpost:bv,LucideSignpostBig:Iv,LucideSiren:wv,LucideSkipBack:Cv,LucideSkipForward:Nv,LucideSkull:Sv,LucideSlack:jv,LucideSlash:$v,LucideSlashSquare:ac,LucideSlice:qv,LucideSliders:lo,LucideSlidersHorizontal:Av,LucideSlidersVertical:lo,LucideSmartphone:Pv,LucideSmartphoneCharging:zv,LucideSmartphoneNfc:Vv,LucideSmile:Hv,LucideSmilePlus:Tv,LucideSnail:Dv,LucideSnowflake:Bv,LucideSoapDispenserDroplet:Rv,LucideSofa:Fv,LucideSortAsc:Xt,LucideSortDesc:Gt,LucideSoup:Ev,LucideSpace:Ov,LucideSpade:Uv,LucideSparkle:Wv,LucideSparkles:ho,LucideSpeaker:Gv,LucideSpeech:Kv,LucideSpellCheck:Xv,LucideSpellCheck2:Zv,LucideSpline:Jv,LucideSplinePointer:Yv,LucideSplit:Qv,LucideSplitSquareHorizontal:nc,LucideSplitSquareVertical:oc,LucideSpool:e9,LucideSpotlight:t9,LucideSprayCan:a9,LucideSprout:n9,LucideSquare:y9,LucideSquareActivity:zt,LucideSquareArrowDown:yo,LucideSquareArrowDownLeft:uo,LucideSquareArrowDownRight:po,LucideSquareArrowLeft:ko,LucideSquareArrowOutDownLeft:mo,LucideSquareArrowOutDownRight:fo,LucideSquareArrowOutUpLeft:go,LucideSquareArrowOutUpRight:vo,LucideSquareArrowRight:xo,LucideSquareArrowUp:Lo,LucideSquareArrowUpLeft:Mo,LucideSquareArrowUpRight:_o,LucideSquareAsterisk:Io,LucideSquareBottomDashedScissors:bo,LucideSquareChartGantt:pt,LucideSquareCheck:Co,LucideSquareCheckBig:wo,LucideSquareChevronDown:No,LucideSquareChevronLeft:So,LucideSquareChevronRight:jo,LucideSquareChevronUp:$o,LucideSquareCode:qo,LucideSquareDashed:Vo,LucideSquareDashedBottom:c9,LucideSquareDashedBottomCode:o9,LucideSquareDashedKanban:Ao,LucideSquareDashedMousePointer:zo,LucideSquareDashedTopSolid:i9,LucideSquareDivide:Po,LucideSquareDot:Ho,LucideSquareEqual:To,LucideSquareFunction:Do,LucideSquareGanttChart:pt,LucideSquareKanban:Bo,LucideSquareLibrary:Ro,LucideSquareM:Fo,LucideSquareMenu:Eo,LucideSquareMinus:Oo,LucideSquareMousePointer:Wo,LucideSquareParking:Go,LucideSquareParkingOff:Uo,LucideSquarePause:r9,LucideSquarePen:We,LucideSquarePercent:Ko,LucideSquarePi:Zo,LucideSquarePilcrow:Xo,LucideSquarePlay:Yo,LucideSquarePlus:Jo,LucideSquarePower:Qo,LucideSquareRadical:s9,LucideSquareRoundCorner:d9,LucideSquareScissors:ec,LucideSquareSigma:tc,LucideSquareSlash:ac,LucideSquareSplitHorizontal:nc,LucideSquareSplitVertical:oc,LucideSquareSquare:l9,LucideSquareStack:h9,LucideSquareStar:u9,LucideSquareStop:p9,LucideSquareTerminal:cc,LucideSquareUser:rc,LucideSquareUserRound:ic,LucideSquareX:sc,LucideSquaresExclude:k9,LucideSquaresIntersect:m9,LucideSquaresSubtract:f9,LucideSquaresUnite:g9,LucideSquircle:x9,LucideSquircleDashed:v9,LucideSquirrel:M9,LucideStamp:_9,LucideStar:w9,LucideStarHalf:L9,LucideStarOff:I9,LucideStars:ho,LucideStepBack:b9,LucideStepForward:C9,LucideStethoscope:N9,LucideSticker:S9,LucideStickyNote:j9,LucideStopCircle:Ua,LucideStore:$9,LucideStretchHorizontal:q9,LucideStretchVertical:A9,LucideStrikethrough:z9,LucideSubscript:V9,LucideSubtitles:ca,LucideSun:R9,LucideSunDim:P9,LucideSunMedium:T9,LucideSunMoon:H9,LucideSunSnow:D9,LucideSunrise:B9,LucideSunset:F9,LucideSuperscript:E9,LucideSwatchBook:O9,LucideSwissFranc:U9,LucideSwitchCamera:W9,LucideSword:G9,LucideSwords:Z9,LucideSyringe:K9,LucideTable:nx,LucideTable2:X9,LucideTableCellsMerge:Y9,LucideTableCellsSplit:J9,LucideTableColumnsSplit:Q9,LucideTableConfig:ht,LucideTableOfContents:ex,LucideTableProperties:tx,LucideTableRowsSplit:ax,LucideTablet:cx,LucideTabletSmartphone:ox,LucideTablets:ix,LucideTag:rx,LucideTags:sx,LucideTally1:dx,LucideTally2:lx,LucideTally3:hx,LucideTally4:ux,LucideTally5:px,LucideTangent:yx,LucideTarget:kx,LucideTelescope:mx,LucideTent:gx,LucideTentTree:fx,LucideTerminal:vx,LucideTerminalSquare:cc,LucideTestTube:xx,LucideTestTube2:dc,LucideTestTubeDiagonal:dc,LucideTestTubes:Mx,LucideText:wx,LucideTextCursor:Lx,LucideTextCursorInput:_x,LucideTextQuote:Ix,LucideTextSearch:bx,LucideTextSelect:lc,LucideTextSelection:lc,LucideTheater:Cx,LucideThermometer:$x,LucideThermometerSnowflake:Nx,LucideThermometerSun:Sx,LucideThumbsDown:jx,LucideThumbsUp:qx,LucideTicket:Dx,LucideTicketCheck:Ax,LucideTicketMinus:zx,LucideTicketPercent:Vx,LucideTicketPlus:Px,LucideTicketSlash:Tx,LucideTicketX:Hx,LucideTickets:Rx,LucideTicketsPlane:Bx,LucideTimer:Ox,LucideTimerOff:Fx,LucideTimerReset:Ex,LucideToggleLeft:Ux,LucideToggleRight:Wx,LucideToilet:Gx,LucideToolCase:Kx,LucideTornado:Xx,LucideTorus:Zx,LucideTouchpad:Jx,LucideTouchpadOff:Yx,LucideTowerControl:eM,LucideToyBrick:Qx,LucideTractor:tM,LucideTrafficCone:aM,LucideTrain:hc,LucideTrainFront:oM,LucideTrainFrontTunnel:nM,LucideTrainTrack:cM,LucideTramFront:hc,LucideTransgender:iM,LucideTrash:rM,LucideTrash2:yt,LucideTreeDeciduous:sM,LucideTreePalm:uc,LucideTreePine:dM,LucideTrees:lM,LucideTrello:hM,LucideTrendingDown:uM,LucideTrendingUp:pM,LucideTrendingUpDown:yM,LucideTriangle:mM,LucideTriangleAlert:pc,LucideTriangleDashed:kM,LucideTriangleRight:fM,LucideTrophy:gM,LucideTruck:xM,LucideTruckElectric:vM,LucideTurkishLira:MM,LucideTurntable:_M,LucideTurtle:LM,LucideTv:bM,LucideTv2:yc,LucideTvMinimal:yc,LucideTvMinimalPlay:IM,LucideTwitch:wM,LucideTwitter:CM,LucideType:SM,LucideTypeOutline:NM,LucideUmbrella:$M,LucideUmbrellaOff:jM,LucideUnderline:qM,LucideUndo:VM,LucideUndo2:AM,LucideUndoDot:zM,LucideUnfoldHorizontal:PM,LucideUnfoldVertical:TM,LucideUngroup:HM,LucideUniversity:kc,LucideUnlink:FM,LucideUnlink2:DM,LucideUnlock:Pn,LucideUnlockKeyhole:Vn,LucideUnplug:BM,LucideUpload:RM,LucideUploadCloud:Ya,LucideUsb:EM,LucideUser:e_,LucideUser2:Mc,LucideUserCheck:OM,LucideUserCheck2:mc,LucideUserCircle:Ga,LucideUserCircle2:Wa,LucideUserCog:UM,LucideUserCog2:fc,LucideUserLock:WM,LucideUserMinus:GM,LucideUserMinus2:gc,LucideUserPen:KM,LucideUserPlus:V1,LucideUserPlus2:vc,LucideUserRound:Mc,LucideUserRoundCheck:mc,LucideUserRoundCog:fc,LucideUserRoundMinus:gc,LucideUserRoundPen:ZM,LucideUserRoundPlus:vc,LucideUserRoundSearch:XM,LucideUserRoundX:xc,LucideUserSearch:YM,LucideUserSquare:rc,LucideUserSquare2:ic,LucideUserStar:JM,LucideUserX:QM,LucideUserX2:xc,LucideUsers:t_,LucideUsers2:_c,LucideUsersRound:_c,LucideUtensils:Ic,LucideUtensilsCrossed:Lc,LucideUtilityPole:a_,LucideVariable:n_,LucideVault:o_,LucideVectorSquare:c_,LucideVegan:i_,LucideVenetianMask:r_,LucideVenus:h_,LucideVenusAndMars:s_,LucideVerified:Qt,LucideVibrate:l_,LucideVibrateOff:d_,LucideVideo:p_,LucideVideoOff:u_,LucideVideotape:y_,LucideView:m_,LucideVoicemail:k_,LucideVolleyball:f_,LucideVolume:L_,LucideVolume1:g_,LucideVolume2:v_,LucideVolumeOff:x_,LucideVolumeX:M_,LucideVote:__,LucideWallet:b_,LucideWallet2:bc,LucideWalletCards:I_,LucideWalletMinimal:bc,LucideWallpaper:w_,LucideWand:C_,LucideWand2:wc,LucideWandSparkles:wc,LucideWarehouse:N_,LucideWashingMachine:S_,LucideWatch:j_,LucideWaves:q_,LucideWavesLadder:$_,LucideWaypoints:A_,LucideWebcam:z_,LucideWebhook:T_,LucideWebhookOff:V_,LucideWeight:P_,LucideWheat:D_,LucideWheatOff:H_,LucideWholeWord:B_,LucideWifi:K_,LucideWifiCog:R_,LucideWifiHigh:F_,LucideWifiLow:E_,LucideWifiOff:O_,LucideWifiPen:U_,LucideWifiSync:W_,LucideWifiZero:G_,LucideWind:X_,LucideWindArrowDown:Z_,LucideWine:J_,LucideWineOff:Y_,LucideWorkflow:Q_,LucideWorm:eL,LucideWrapText:tL,LucideWrench:aL,LucideX:tt,LucideXCircle:$t,LucideXOctagon:On,LucideXSquare:sc,LucideYoutube:oL,LucideZap:cL,LucideZapOff:nL,LucideZoomIn:iL,LucideZoomOut:rL,Luggage:T3,LuggageIcon:T3,MSquare:Fo,MSquareIcon:Fo,Magnet:H3,MagnetIcon:H3,Mail:U3,MailCheck:D3,MailCheckIcon:D3,MailIcon:U3,MailMinus:B3,MailMinusIcon:B3,MailOpen:R3,MailOpenIcon:R3,MailPlus:F3,MailPlusIcon:F3,MailQuestion:Tn,MailQuestionIcon:Tn,MailQuestionMark:Tn,MailQuestionMarkIcon:Tn,MailSearch:E3,MailSearchIcon:E3,MailWarning:O3,MailWarningIcon:O3,MailX:W3,MailXIcon:W3,Mailbox:G3,MailboxIcon:G3,Mails:K3,MailsIcon:K3,Map:dm,MapIcon:dm,MapMinus:Z3,MapMinusIcon:Z3,MapPin:im,MapPinCheck:X3,MapPinCheckIcon:X3,MapPinCheckInside:Y3,MapPinCheckInsideIcon:Y3,MapPinHouse:J3,MapPinHouseIcon:J3,MapPinIcon:im,MapPinMinus:em,MapPinMinusIcon:em,MapPinMinusInside:Q3,MapPinMinusInsideIcon:Q3,MapPinOff:tm,MapPinOffIcon:tm,MapPinPen:Hn,MapPinPenIcon:Hn,MapPinPlus:nm,MapPinPlusIcon:nm,MapPinPlusInside:am,MapPinPlusInsideIcon:am,MapPinX:cm,MapPinXIcon:cm,MapPinXInside:om,MapPinXInsideIcon:om,MapPinned:rm,MapPinnedIcon:rm,MapPlus:sm,MapPlusIcon:sm,Mars:hm,MarsIcon:hm,MarsStroke:lm,MarsStrokeIcon:lm,Martini:um,MartiniIcon:um,Maximize:km,Maximize2:pm,Maximize2Icon:pm,MaximizeIcon:km,Medal:ym,MedalIcon:ym,Megaphone:fm,MegaphoneIcon:fm,MegaphoneOff:mm,MegaphoneOffIcon:mm,Meh:gm,MehIcon:gm,MemoryStick:vm,MemoryStickIcon:vm,Menu:a1,MenuIcon:a1,MenuSquare:Eo,MenuSquareIcon:Eo,Merge:xm,MergeIcon:xm,MessageCircle:jm,MessageCircleCode:Mm,MessageCircleCodeIcon:Mm,MessageCircleDashed:_m,MessageCircleDashedIcon:_m,MessageCircleHeart:Lm,MessageCircleHeartIcon:Lm,MessageCircleIcon:jm,MessageCircleMore:Im,MessageCircleMoreIcon:Im,MessageCircleOff:bm,MessageCircleOffIcon:bm,MessageCirclePlus:wm,MessageCirclePlusIcon:wm,MessageCircleQuestion:Dn,MessageCircleQuestionIcon:Dn,MessageCircleQuestionMark:Dn,MessageCircleQuestionMarkIcon:Dn,MessageCircleReply:Cm,MessageCircleReplyIcon:Cm,MessageCircleWarning:Nm,MessageCircleWarningIcon:Nm,MessageCircleX:Sm,MessageCircleXIcon:Sm,MessageSquare:Wm,MessageSquareCode:$m,MessageSquareCodeIcon:$m,MessageSquareDashed:qm,MessageSquareDashedIcon:qm,MessageSquareDiff:Am,MessageSquareDiffIcon:Am,MessageSquareDot:zm,MessageSquareDotIcon:zm,MessageSquareHeart:Vm,MessageSquareHeartIcon:Vm,MessageSquareIcon:Wm,MessageSquareLock:Pm,MessageSquareLockIcon:Pm,MessageSquareMore:Tm,MessageSquareMoreIcon:Tm,MessageSquareOff:Hm,MessageSquareOffIcon:Hm,MessageSquarePlus:Dm,MessageSquarePlusIcon:Dm,MessageSquareQuote:Bm,MessageSquareQuoteIcon:Bm,MessageSquareReply:Rm,MessageSquareReplyIcon:Rm,MessageSquareShare:Fm,MessageSquareShareIcon:Fm,MessageSquareText:Em,MessageSquareTextIcon:Em,MessageSquareWarning:Om,MessageSquareWarningIcon:Om,MessageSquareX:Um,MessageSquareXIcon:Um,MessagesSquare:Gm,MessagesSquareIcon:Gm,Mic:Zm,Mic2:Bn,Mic2Icon:Bn,MicIcon:Zm,MicOff:Km,MicOffIcon:Km,MicVocal:Bn,MicVocalIcon:Bn,Microchip:Xm,MicrochipIcon:Xm,Microscope:Ym,MicroscopeIcon:Ym,Microwave:Jm,MicrowaveIcon:Jm,Milestone:Qm,MilestoneIcon:Qm,Milk:t6,MilkIcon:t6,MilkOff:e6,MilkOffIcon:e6,Minimize:n6,Minimize2:a6,Minimize2Icon:a6,MinimizeIcon:n6,Minus:o6,MinusCircle:Pa,MinusCircleIcon:Pa,MinusIcon:o6,MinusSquare:Oo,MinusSquareIcon:Oo,Monitor:f6,MonitorCheck:c6,MonitorCheckIcon:c6,MonitorCog:i6,MonitorCogIcon:i6,MonitorDot:r6,MonitorDotIcon:r6,MonitorDown:s6,MonitorDownIcon:s6,MonitorIcon:f6,MonitorOff:d6,MonitorOffIcon:d6,MonitorPause:h6,MonitorPauseIcon:h6,MonitorPlay:l6,MonitorPlayIcon:l6,MonitorSmartphone:u6,MonitorSmartphoneIcon:u6,MonitorSpeaker:p6,MonitorSpeakerIcon:p6,MonitorStop:y6,MonitorStopIcon:y6,MonitorUp:k6,MonitorUpIcon:k6,MonitorX:m6,MonitorXIcon:m6,Moon:v6,MoonIcon:v6,MoonStar:g6,MoonStarIcon:g6,MoreHorizontal:cn,MoreHorizontalIcon:cn,MoreVertical:on,MoreVerticalIcon:on,Mountain:M6,MountainIcon:M6,MountainSnow:x6,MountainSnowIcon:x6,Mouse:C6,MouseIcon:C6,MouseOff:_6,MouseOffIcon:_6,MousePointer:b6,MousePointer2:L6,MousePointer2Icon:L6,MousePointerBan:I6,MousePointerBanIcon:I6,MousePointerClick:w6,MousePointerClickIcon:w6,MousePointerIcon:b6,MousePointerSquareDashed:zo,MousePointerSquareDashedIcon:zo,Move:a.Move,Move3D:Rn,Move3DIcon:Rn,Move3d:Rn,Move3dIcon:Rn,MoveDiagonal:S6,MoveDiagonal2:N6,MoveDiagonal2Icon:N6,MoveDiagonalIcon:S6,MoveDown:A6,MoveDownIcon:A6,MoveDownLeft:j6,MoveDownLeftIcon:j6,MoveDownRight:$6,MoveDownRightIcon:$6,MoveHorizontal:q6,MoveHorizontalIcon:q6,MoveIcon:a.Move,MoveLeft:z6,MoveLeftIcon:z6,MoveRight:V6,MoveRightIcon:V6,MoveUp:H6,MoveUpIcon:H6,MoveUpLeft:P6,MoveUpLeftIcon:P6,MoveUpRight:T6,MoveUpRightIcon:T6,MoveVertical:D6,MoveVerticalIcon:D6,Music:E6,Music2:B6,Music2Icon:B6,Music3:R6,Music3Icon:R6,Music4:F6,Music4Icon:F6,MusicIcon:E6,Navigation:G6,Navigation2:U6,Navigation2Icon:U6,Navigation2Off:O6,Navigation2OffIcon:O6,NavigationIcon:G6,NavigationOff:W6,NavigationOffIcon:W6,Network:K6,NetworkIcon:K6,Newspaper:Z6,NewspaperIcon:Z6,Nfc:X6,NfcIcon:X6,NonBinary:Y6,NonBinaryIcon:Y6,Notebook:tf,NotebookIcon:tf,NotebookPen:J6,NotebookPenIcon:J6,NotebookTabs:Q6,NotebookTabsIcon:Q6,NotebookText:ef,NotebookTextIcon:ef,NotepadText:nf,NotepadTextDashed:af,NotepadTextDashedIcon:af,NotepadTextIcon:nf,Nut:cf,NutIcon:cf,NutOff:of,NutOffIcon:of,Octagon:sf,OctagonAlert:Fn,OctagonAlertIcon:Fn,OctagonIcon:sf,OctagonMinus:rf,OctagonMinusIcon:rf,OctagonPause:En,OctagonPauseIcon:En,OctagonX:On,OctagonXIcon:On,Omega:df,OmegaIcon:df,Option:lf,OptionIcon:lf,Orbit:hf,OrbitIcon:hf,Origami:uf,OrigamiIcon:uf,Outdent:jn,OutdentIcon:jn,Package:xf,Package2:pf,Package2Icon:pf,PackageCheck:yf,PackageCheckIcon:yf,PackageIcon:xf,PackageMinus:kf,PackageMinusIcon:kf,PackageOpen:mf,PackageOpenIcon:mf,PackagePlus:ff,PackagePlusIcon:ff,PackageSearch:gf,PackageSearchIcon:gf,PackageX:vf,PackageXIcon:vf,PaintBucket:Mf,PaintBucketIcon:Mf,PaintRoller:_f,PaintRollerIcon:_f,Paintbrush:Lf,Paintbrush2:Un,Paintbrush2Icon:Un,PaintbrushIcon:Lf,PaintbrushVertical:Un,PaintbrushVerticalIcon:Un,Palette:If,PaletteIcon:If,Palmtree:uc,PalmtreeIcon:uc,Panda:bf,PandaIcon:bf,PanelBottom:Nf,PanelBottomClose:wf,PanelBottomCloseIcon:wf,PanelBottomDashed:Wn,PanelBottomDashedIcon:Wn,PanelBottomIcon:Nf,PanelBottomInactive:Wn,PanelBottomInactiveIcon:Wn,PanelBottomOpen:Cf,PanelBottomOpenIcon:Cf,PanelLeft:Xn,PanelLeftClose:Gn,PanelLeftCloseIcon:Gn,PanelLeftDashed:Kn,PanelLeftDashedIcon:Kn,PanelLeftIcon:Xn,PanelLeftInactive:Kn,PanelLeftInactiveIcon:Kn,PanelLeftOpen:Zn,PanelLeftOpenIcon:Zn,PanelRight:$f,PanelRightClose:Sf,PanelRightCloseIcon:Sf,PanelRightDashed:Yn,PanelRightDashedIcon:Yn,PanelRightIcon:$f,PanelRightInactive:Yn,PanelRightInactiveIcon:Yn,PanelRightOpen:jf,PanelRightOpenIcon:jf,PanelTop:zf,PanelTopClose:qf,PanelTopCloseIcon:qf,PanelTopDashed:Jn,PanelTopDashedIcon:Jn,PanelTopIcon:zf,PanelTopInactive:Jn,PanelTopInactiveIcon:Jn,PanelTopOpen:Af,PanelTopOpenIcon:Af,PanelsLeftBottom:Vf,PanelsLeftBottomIcon:Vf,PanelsLeftRight:en,PanelsLeftRightIcon:en,PanelsRightBottom:Pf,PanelsRightBottomIcon:Pf,PanelsTopBottom:oo,PanelsTopBottomIcon:oo,PanelsTopLeft:Qn,PanelsTopLeftIcon:Qn,Paperclip:Tf,PaperclipIcon:Tf,Parentheses:Hf,ParenthesesIcon:Hf,ParkingCircle:Da,ParkingCircleIcon:Da,ParkingCircleOff:Ta,ParkingCircleOffIcon:Ta,ParkingMeter:Df,ParkingMeterIcon:Df,ParkingSquare:Go,ParkingSquareIcon:Go,ParkingSquareOff:Uo,ParkingSquareOffIcon:Uo,PartyPopper:Bf,PartyPopperIcon:Bf,Pause:Rf,PauseCircle:Ha,PauseCircleIcon:Ha,PauseIcon:Rf,PauseOctagon:En,PauseOctagonIcon:En,PawPrint:Ff,PawPrintIcon:Ff,PcCase:Ef,PcCaseIcon:Ef,Pen:vt,PenBox:We,PenBoxIcon:We,PenIcon:vt,PenLine:gt,PenLineIcon:gt,PenOff:Uf,PenOffIcon:Uf,PenSquare:We,PenSquareIcon:We,PenTool:Of,PenToolIcon:Of,Pencil:n1,PencilIcon:n1,PencilLine:Wf,PencilLineIcon:Wf,PencilOff:Gf,PencilOffIcon:Gf,PencilRuler:Kf,PencilRulerIcon:Kf,Pentagon:Zf,PentagonIcon:Zf,Percent:Xf,PercentCircle:Ba,PercentCircleIcon:Ba,PercentDiamond:an,PercentDiamondIcon:an,PercentIcon:Xf,PercentSquare:Ko,PercentSquareIcon:Ko,PersonStanding:Jf,PersonStandingIcon:Jf,PhilippinePeso:Yf,PhilippinePesoIcon:Yf,Phone:o8,PhoneCall:Qf,PhoneCallIcon:Qf,PhoneForwarded:e8,PhoneForwardedIcon:e8,PhoneIcon:o8,PhoneIncoming:t8,PhoneIncomingIcon:t8,PhoneMissed:a8,PhoneMissedIcon:a8,PhoneOff:n8,PhoneOffIcon:n8,PhoneOutgoing:c8,PhoneOutgoingIcon:c8,Pi:i8,PiIcon:i8,PiSquare:Zo,PiSquareIcon:Zo,Piano:r8,PianoIcon:r8,Pickaxe:s8,PickaxeIcon:s8,PictureInPicture:l8,PictureInPicture2:d8,PictureInPicture2Icon:d8,PictureInPictureIcon:l8,PieChart:fa,PieChartIcon:fa,PiggyBank:h8,PiggyBankIcon:h8,Pilcrow:p8,PilcrowIcon:p8,PilcrowLeft:u8,PilcrowLeftIcon:u8,PilcrowRight:y8,PilcrowRightIcon:y8,PilcrowSquare:Xo,PilcrowSquareIcon:Xo,Pill:m8,PillBottle:k8,PillBottleIcon:k8,PillIcon:m8,Pin:g8,PinIcon:g8,PinOff:f8,PinOffIcon:f8,Pipette:v8,PipetteIcon:v8,Pizza:x8,PizzaIcon:x8,Plane:L8,PlaneIcon:L8,PlaneLanding:M8,PlaneLandingIcon:M8,PlaneTakeoff:_8,PlaneTakeoffIcon:_8,Play:I8,PlayCircle:Ra,PlayCircleIcon:Ra,PlayIcon:I8,PlaySquare:Yo,PlaySquareIcon:Yo,Plug:w8,Plug2:b8,Plug2Icon:b8,PlugIcon:w8,PlugZap:eo,PlugZap2:eo,PlugZap2Icon:eo,PlugZapIcon:eo,Plus:Ac,PlusCircle:Fa,PlusCircleIcon:Fa,PlusIcon:Ac,PlusSquare:Jo,PlusSquareIcon:Jo,Pocket:N8,PocketIcon:N8,PocketKnife:C8,PocketKnifeIcon:C8,Podcast:S8,PodcastIcon:S8,Pointer:$8,PointerIcon:$8,PointerOff:j8,PointerOffIcon:j8,Popcorn:A8,PopcornIcon:A8,Popsicle:q8,PopsicleIcon:q8,PoundSterling:z8,PoundSterlingIcon:z8,Power:P8,PowerCircle:Ea,PowerCircleIcon:Ea,PowerIcon:P8,PowerOff:V8,PowerOffIcon:V8,PowerSquare:Qo,PowerSquareIcon:Qo,Presentation:T8,PresentationIcon:T8,Printer:D8,PrinterCheck:H8,PrinterCheckIcon:H8,PrinterIcon:D8,Projector:B8,ProjectorIcon:B8,Proportions:R8,ProportionsIcon:R8,Puzzle:E8,PuzzleIcon:E8,Pyramid:F8,PyramidIcon:F8,QrCode:O8,QrCodeIcon:O8,Quote:U8,QuoteIcon:U8,Rabbit:W8,RabbitIcon:W8,Radar:G8,RadarIcon:G8,Radiation:K8,RadiationIcon:K8,Radical:Z8,RadicalIcon:Z8,Radio:J8,RadioIcon:J8,RadioReceiver:X8,RadioReceiverIcon:X8,RadioTower:Y8,RadioTowerIcon:Y8,Radius:Q8,RadiusIcon:Q8,RailSymbol:eg,RailSymbolIcon:eg,Rainbow:tg,RainbowIcon:tg,Rat:ag,RatIcon:ag,Ratio:ng,RatioIcon:ng,Receipt:pg,ReceiptCent:og,ReceiptCentIcon:og,ReceiptEuro:ig,ReceiptEuroIcon:ig,ReceiptIcon:pg,ReceiptIndianRupee:cg,ReceiptIndianRupeeIcon:cg,ReceiptJapaneseYen:rg,ReceiptJapaneseYenIcon:rg,ReceiptPoundSterling:sg,ReceiptPoundSterlingIcon:sg,ReceiptRussianRuble:dg,ReceiptRussianRubleIcon:dg,ReceiptSwissFranc:lg,ReceiptSwissFrancIcon:lg,ReceiptText:hg,ReceiptTextIcon:hg,ReceiptTurkishLira:ug,ReceiptTurkishLiraIcon:ug,RectangleCircle:yg,RectangleCircleIcon:yg,RectangleEllipsis:to,RectangleEllipsisIcon:to,RectangleGoggles:kg,RectangleGogglesIcon:kg,RectangleHorizontal:mg,RectangleHorizontalIcon:mg,RectangleVertical:fg,RectangleVerticalIcon:fg,Recycle:gg,RecycleIcon:gg,Redo:Mg,Redo2:vg,Redo2Icon:vg,RedoDot:xg,RedoDotIcon:xg,RedoIcon:Mg,RefreshCcw:Lg,RefreshCcwDot:_g,RefreshCcwDotIcon:_g,RefreshCcwIcon:Lg,RefreshCw:bg,RefreshCwIcon:bg,RefreshCwOff:Ig,RefreshCwOffIcon:Ig,Refrigerator:wg,RefrigeratorIcon:wg,Regex:Cg,RegexIcon:Cg,RemoveFormatting:Ng,RemoveFormattingIcon:Ng,Repeat:$g,Repeat1:Sg,Repeat1Icon:Sg,Repeat2:jg,Repeat2Icon:jg,RepeatIcon:$g,Replace:Ag,ReplaceAll:qg,ReplaceAllIcon:qg,ReplaceIcon:Ag,Reply:Pg,ReplyAll:zg,ReplyAllIcon:zg,ReplyIcon:Pg,Rewind:Vg,RewindIcon:Vg,Ribbon:Tg,RibbonIcon:Tg,Rocket:Hg,RocketIcon:Hg,RockingChair:Rg,RockingChairIcon:Rg,RollerCoaster:Dg,RollerCoasterIcon:Dg,Rose:Bg,RoseIcon:Bg,Rotate3D:ao,Rotate3DIcon:ao,Rotate3d:ao,Rotate3dIcon:ao,RotateCcw:Og,RotateCcwIcon:Og,RotateCcwKey:Fg,RotateCcwKeyIcon:Fg,RotateCcwSquare:Eg,RotateCcwSquareIcon:Eg,RotateCw:Wg,RotateCwIcon:Wg,RotateCwSquare:Ug,RotateCwSquareIcon:Ug,Route:Kg,RouteIcon:Kg,RouteOff:Gg,RouteOffIcon:Gg,Router:Zg,RouterIcon:Zg,Rows:no,Rows2:no,Rows2Icon:no,Rows3:oo,Rows3Icon:oo,Rows4:Xg,Rows4Icon:Xg,RowsIcon:no,Rss:Yg,RssIcon:Yg,Ruler:Qg,RulerDimensionLine:Jg,RulerDimensionLineIcon:Jg,RulerIcon:Qg,RussianRuble:e7,RussianRubleIcon:e7,Sailboat:t7,SailboatIcon:t7,Salad:a7,SaladIcon:a7,Sandwich:n7,SandwichIcon:n7,Satellite:c7,SatelliteDish:o7,SatelliteDishIcon:o7,SatelliteIcon:c7,SaudiRiyal:i7,SaudiRiyalIcon:i7,Save:l7,SaveAll:r7,SaveAllIcon:r7,SaveIcon:l7,SaveOff:s7,SaveOffIcon:s7,Scale:d7,Scale3D:co,Scale3DIcon:co,Scale3d:co,Scale3dIcon:co,ScaleIcon:d7,Scaling:h7,ScalingIcon:h7,Scan:x7,ScanBarcode:u7,ScanBarcodeIcon:u7,ScanEye:p7,ScanEyeIcon:p7,ScanFace:y7,ScanFaceIcon:y7,ScanHeart:k7,ScanHeartIcon:k7,ScanIcon:x7,ScanLine:m7,ScanLineIcon:m7,ScanQrCode:f7,ScanQrCodeIcon:f7,ScanSearch:g7,ScanSearchIcon:g7,ScanText:v7,ScanTextIcon:v7,ScatterChart:ga,ScatterChartIcon:ga,School:M7,School2:kc,School2Icon:kc,SchoolIcon:M7,Scissors:L7,ScissorsIcon:L7,ScissorsLineDashed:_7,ScissorsLineDashedIcon:_7,ScissorsSquare:ec,ScissorsSquareDashedBottom:bo,ScissorsSquareDashedBottomIcon:bo,ScissorsSquareIcon:ec,ScreenShare:I7,ScreenShareIcon:I7,ScreenShareOff:b7,ScreenShareOffIcon:b7,Scroll:C7,ScrollIcon:C7,ScrollText:w7,ScrollTextIcon:w7,Search:z1,SearchCheck:N7,SearchCheckIcon:N7,SearchCode:S7,SearchCodeIcon:S7,SearchIcon:z1,SearchSlash:j7,SearchSlashIcon:j7,SearchX:$7,SearchXIcon:$7,Section:q7,SectionIcon:q7,Send:z7,SendHorizonal:io,SendHorizonalIcon:io,SendHorizontal:io,SendHorizontalIcon:io,SendIcon:z7,SendToBack:A7,SendToBackIcon:A7,SeparatorHorizontal:V7,SeparatorHorizontalIcon:V7,SeparatorVertical:P7,SeparatorVerticalIcon:P7,Server:B7,ServerCog:T7,ServerCogIcon:T7,ServerCrash:D7,ServerCrashIcon:D7,ServerIcon:B7,ServerOff:H7,ServerOffIcon:H7,Settings:F7,Settings2:R7,Settings2Icon:R7,SettingsIcon:F7,Shapes:E7,ShapesIcon:E7,Share:U7,Share2:O7,Share2Icon:O7,ShareIcon:U7,Sheet:W7,SheetIcon:W7,Shell:G7,ShellIcon:G7,Shield:nv,ShieldAlert:K7,ShieldAlertIcon:K7,ShieldBan:Z7,ShieldBanIcon:Z7,ShieldCheck:X7,ShieldCheckIcon:X7,ShieldClose:so,ShieldCloseIcon:so,ShieldEllipsis:Y7,ShieldEllipsisIcon:Y7,ShieldHalf:J7,ShieldHalfIcon:J7,ShieldIcon:nv,ShieldMinus:ev,ShieldMinusIcon:ev,ShieldOff:Q7,ShieldOffIcon:Q7,ShieldPlus:tv,ShieldPlusIcon:tv,ShieldQuestion:ro,ShieldQuestionIcon:ro,ShieldQuestionMark:ro,ShieldQuestionMarkIcon:ro,ShieldUser:av,ShieldUserIcon:av,ShieldX:so,ShieldXIcon:so,Ship:cv,ShipIcon:cv,ShipWheel:ov,ShipWheelIcon:ov,Shirt:iv,ShirtIcon:iv,ShoppingBag:rv,ShoppingBagIcon:rv,ShoppingBasket:sv,ShoppingBasketIcon:sv,ShoppingCart:dv,ShoppingCartIcon:dv,Shovel:lv,ShovelIcon:lv,ShowerHead:hv,ShowerHeadIcon:hv,Shredder:uv,ShredderIcon:uv,Shrimp:pv,ShrimpIcon:pv,Shrink:yv,ShrinkIcon:yv,Shrub:kv,ShrubIcon:kv,Shuffle:fv,ShuffleIcon:fv,Sidebar:Xn,SidebarClose:Gn,SidebarCloseIcon:Gn,SidebarIcon:Xn,SidebarOpen:Zn,SidebarOpenIcon:Zn,Sigma:mv,SigmaIcon:mv,SigmaSquare:tc,SigmaSquareIcon:tc,Signal:_v,SignalHigh:gv,SignalHighIcon:gv,SignalIcon:_v,SignalLow:vv,SignalLowIcon:vv,SignalMedium:xv,SignalMediumIcon:xv,SignalZero:Mv,SignalZeroIcon:Mv,Signature:Lv,SignatureIcon:Lv,Signpost:bv,SignpostBig:Iv,SignpostBigIcon:Iv,SignpostIcon:bv,Siren:wv,SirenIcon:wv,SkipBack:Cv,SkipBackIcon:Cv,SkipForward:Nv,SkipForwardIcon:Nv,Skull:Sv,SkullIcon:Sv,Slack:jv,SlackIcon:jv,Slash:$v,SlashIcon:$v,SlashSquare:ac,SlashSquareIcon:ac,Slice:qv,SliceIcon:qv,Sliders:lo,SlidersHorizontal:Av,SlidersHorizontalIcon:Av,SlidersIcon:lo,SlidersVertical:lo,SlidersVerticalIcon:lo,Smartphone:Pv,SmartphoneCharging:zv,SmartphoneChargingIcon:zv,SmartphoneIcon:Pv,SmartphoneNfc:Vv,SmartphoneNfcIcon:Vv,Smile:Hv,SmileIcon:Hv,SmilePlus:Tv,SmilePlusIcon:Tv,Snail:Dv,SnailIcon:Dv,Snowflake:Bv,SnowflakeIcon:Bv,SoapDispenserDroplet:Rv,SoapDispenserDropletIcon:Rv,Sofa:Fv,SofaIcon:Fv,SortAsc:Xt,SortAscIcon:Xt,SortDesc:Gt,SortDescIcon:Gt,Soup:Ev,SoupIcon:Ev,Space:Ov,SpaceIcon:Ov,Spade:Uv,SpadeIcon:Uv,Sparkle:Wv,SparkleIcon:Wv,Sparkles:ho,SparklesIcon:ho,Speaker:Gv,SpeakerIcon:Gv,Speech:Kv,SpeechIcon:Kv,SpellCheck:Xv,SpellCheck2:Zv,SpellCheck2Icon:Zv,SpellCheckIcon:Xv,Spline:Jv,SplineIcon:Jv,SplinePointer:Yv,SplinePointerIcon:Yv,Split:Qv,SplitIcon:Qv,SplitSquareHorizontal:nc,SplitSquareHorizontalIcon:nc,SplitSquareVertical:oc,SplitSquareVerticalIcon:oc,Spool:e9,SpoolIcon:e9,Spotlight:t9,SpotlightIcon:t9,SprayCan:a9,SprayCanIcon:a9,Sprout:n9,SproutIcon:n9,Square:y9,SquareActivity:zt,SquareActivityIcon:zt,SquareArrowDown:yo,SquareArrowDownIcon:yo,SquareArrowDownLeft:uo,SquareArrowDownLeftIcon:uo,SquareArrowDownRight:po,SquareArrowDownRightIcon:po,SquareArrowLeft:ko,SquareArrowLeftIcon:ko,SquareArrowOutDownLeft:mo,SquareArrowOutDownLeftIcon:mo,SquareArrowOutDownRight:fo,SquareArrowOutDownRightIcon:fo,SquareArrowOutUpLeft:go,SquareArrowOutUpLeftIcon:go,SquareArrowOutUpRight:vo,SquareArrowOutUpRightIcon:vo,SquareArrowRight:xo,SquareArrowRightIcon:xo,SquareArrowUp:Lo,SquareArrowUpIcon:Lo,SquareArrowUpLeft:Mo,SquareArrowUpLeftIcon:Mo,SquareArrowUpRight:_o,SquareArrowUpRightIcon:_o,SquareAsterisk:Io,SquareAsteriskIcon:Io,SquareBottomDashedScissors:bo,SquareBottomDashedScissorsIcon:bo,SquareChartGantt:pt,SquareChartGanttIcon:pt,SquareCheck:Co,SquareCheckBig:wo,SquareCheckBigIcon:wo,SquareCheckIcon:Co,SquareChevronDown:No,SquareChevronDownIcon:No,SquareChevronLeft:So,SquareChevronLeftIcon:So,SquareChevronRight:jo,SquareChevronRightIcon:jo,SquareChevronUp:$o,SquareChevronUpIcon:$o,SquareCode:qo,SquareCodeIcon:qo,SquareDashed:Vo,SquareDashedBottom:c9,SquareDashedBottomCode:o9,SquareDashedBottomCodeIcon:o9,SquareDashedBottomIcon:c9,SquareDashedIcon:Vo,SquareDashedKanban:Ao,SquareDashedKanbanIcon:Ao,SquareDashedMousePointer:zo,SquareDashedMousePointerIcon:zo,SquareDashedTopSolid:i9,SquareDashedTopSolidIcon:i9,SquareDivide:Po,SquareDivideIcon:Po,SquareDot:Ho,SquareDotIcon:Ho,SquareEqual:To,SquareEqualIcon:To,SquareFunction:Do,SquareFunctionIcon:Do,SquareGanttChart:pt,SquareGanttChartIcon:pt,SquareIcon:y9,SquareKanban:Bo,SquareKanbanIcon:Bo,SquareLibrary:Ro,SquareLibraryIcon:Ro,SquareM:Fo,SquareMIcon:Fo,SquareMenu:Eo,SquareMenuIcon:Eo,SquareMinus:Oo,SquareMinusIcon:Oo,SquareMousePointer:Wo,SquareMousePointerIcon:Wo,SquareParking:Go,SquareParkingIcon:Go,SquareParkingOff:Uo,SquareParkingOffIcon:Uo,SquarePause:r9,SquarePauseIcon:r9,SquarePen:We,SquarePenIcon:We,SquarePercent:Ko,SquarePercentIcon:Ko,SquarePi:Zo,SquarePiIcon:Zo,SquarePilcrow:Xo,SquarePilcrowIcon:Xo,SquarePlay:Yo,SquarePlayIcon:Yo,SquarePlus:Jo,SquarePlusIcon:Jo,SquarePower:Qo,SquarePowerIcon:Qo,SquareRadical:s9,SquareRadicalIcon:s9,SquareRoundCorner:d9,SquareRoundCornerIcon:d9,SquareScissors:ec,SquareScissorsIcon:ec,SquareSigma:tc,SquareSigmaIcon:tc,SquareSlash:ac,SquareSlashIcon:ac,SquareSplitHorizontal:nc,SquareSplitHorizontalIcon:nc,SquareSplitVertical:oc,SquareSplitVerticalIcon:oc,SquareSquare:l9,SquareSquareIcon:l9,SquareStack:h9,SquareStackIcon:h9,SquareStar:u9,SquareStarIcon:u9,SquareStop:p9,SquareStopIcon:p9,SquareTerminal:cc,SquareTerminalIcon:cc,SquareUser:rc,SquareUserIcon:rc,SquareUserRound:ic,SquareUserRoundIcon:ic,SquareX:sc,SquareXIcon:sc,SquaresExclude:k9,SquaresExcludeIcon:k9,SquaresIntersect:m9,SquaresIntersectIcon:m9,SquaresSubtract:f9,SquaresSubtractIcon:f9,SquaresUnite:g9,SquaresUniteIcon:g9,Squircle:x9,SquircleDashed:v9,SquircleDashedIcon:v9,SquircleIcon:x9,Squirrel:M9,SquirrelIcon:M9,Stamp:_9,StampIcon:_9,Star:w9,StarHalf:L9,StarHalfIcon:L9,StarIcon:w9,StarOff:I9,StarOffIcon:I9,Stars:ho,StarsIcon:ho,StepBack:b9,StepBackIcon:b9,StepForward:C9,StepForwardIcon:C9,Stethoscope:N9,StethoscopeIcon:N9,Sticker:S9,StickerIcon:S9,StickyNote:j9,StickyNoteIcon:j9,StopCircle:Ua,StopCircleIcon:Ua,Store:$9,StoreIcon:$9,StretchHorizontal:q9,StretchHorizontalIcon:q9,StretchVertical:A9,StretchVerticalIcon:A9,Strikethrough:z9,StrikethroughIcon:z9,Subscript:V9,SubscriptIcon:V9,Subtitles:ca,SubtitlesIcon:ca,Sun:R9,SunDim:P9,SunDimIcon:P9,SunIcon:R9,SunMedium:T9,SunMediumIcon:T9,SunMoon:H9,SunMoonIcon:H9,SunSnow:D9,SunSnowIcon:D9,Sunrise:B9,SunriseIcon:B9,Sunset:F9,SunsetIcon:F9,Superscript:E9,SuperscriptIcon:E9,SwatchBook:O9,SwatchBookIcon:O9,SwissFranc:U9,SwissFrancIcon:U9,SwitchCamera:W9,SwitchCameraIcon:W9,Sword:G9,SwordIcon:G9,Swords:Z9,SwordsIcon:Z9,Syringe:K9,SyringeIcon:K9,Table:nx,Table2:X9,Table2Icon:X9,TableCellsMerge:Y9,TableCellsMergeIcon:Y9,TableCellsSplit:J9,TableCellsSplitIcon:J9,TableColumnsSplit:Q9,TableColumnsSplitIcon:Q9,TableConfig:ht,TableConfigIcon:ht,TableIcon:nx,TableOfContents:ex,TableOfContentsIcon:ex,TableProperties:tx,TablePropertiesIcon:tx,TableRowsSplit:ax,TableRowsSplitIcon:ax,Tablet:cx,TabletIcon:cx,TabletSmartphone:ox,TabletSmartphoneIcon:ox,Tablets:ix,TabletsIcon:ix,Tag:rx,TagIcon:rx,Tags:sx,TagsIcon:sx,Tally1:dx,Tally1Icon:dx,Tally2:lx,Tally2Icon:lx,Tally3:hx,Tally3Icon:hx,Tally4:ux,Tally4Icon:ux,Tally5:px,Tally5Icon:px,Tangent:yx,TangentIcon:yx,Target:kx,TargetIcon:kx,Telescope:mx,TelescopeIcon:mx,Tent:gx,TentIcon:gx,TentTree:fx,TentTreeIcon:fx,Terminal:vx,TerminalIcon:vx,TerminalSquare:cc,TerminalSquareIcon:cc,TestTube:xx,TestTube2:dc,TestTube2Icon:dc,TestTubeDiagonal:dc,TestTubeDiagonalIcon:dc,TestTubeIcon:xx,TestTubes:Mx,TestTubesIcon:Mx,Text:wx,TextCursor:Lx,TextCursorIcon:Lx,TextCursorInput:_x,TextCursorInputIcon:_x,TextIcon:wx,TextQuote:Ix,TextQuoteIcon:Ix,TextSearch:bx,TextSearchIcon:bx,TextSelect:lc,TextSelectIcon:lc,TextSelection:lc,TextSelectionIcon:lc,Theater:Cx,TheaterIcon:Cx,Thermometer:$x,ThermometerIcon:$x,ThermometerSnowflake:Nx,ThermometerSnowflakeIcon:Nx,ThermometerSun:Sx,ThermometerSunIcon:Sx,ThumbsDown:jx,ThumbsDownIcon:jx,ThumbsUp:qx,ThumbsUpIcon:qx,Ticket:Dx,TicketCheck:Ax,TicketCheckIcon:Ax,TicketIcon:Dx,TicketMinus:zx,TicketMinusIcon:zx,TicketPercent:Vx,TicketPercentIcon:Vx,TicketPlus:Px,TicketPlusIcon:Px,TicketSlash:Tx,TicketSlashIcon:Tx,TicketX:Hx,TicketXIcon:Hx,Tickets:Rx,TicketsIcon:Rx,TicketsPlane:Bx,TicketsPlaneIcon:Bx,Timer:Ox,TimerIcon:Ox,TimerOff:Fx,TimerOffIcon:Fx,TimerReset:Ex,TimerResetIcon:Ex,ToggleLeft:Ux,ToggleLeftIcon:Ux,ToggleRight:Wx,ToggleRightIcon:Wx,Toilet:Gx,ToiletIcon:Gx,ToolCase:Kx,ToolCaseIcon:Kx,Tornado:Xx,TornadoIcon:Xx,Torus:Zx,TorusIcon:Zx,Touchpad:Jx,TouchpadIcon:Jx,TouchpadOff:Yx,TouchpadOffIcon:Yx,TowerControl:eM,TowerControlIcon:eM,ToyBrick:Qx,ToyBrickIcon:Qx,Tractor:tM,TractorIcon:tM,TrafficCone:aM,TrafficConeIcon:aM,Train:hc,TrainFront:oM,TrainFrontIcon:oM,TrainFrontTunnel:nM,TrainFrontTunnelIcon:nM,TrainIcon:hc,TrainTrack:cM,TrainTrackIcon:cM,TramFront:hc,TramFrontIcon:hc,Transgender:iM,TransgenderIcon:iM,Trash:rM,Trash2:yt,Trash2Icon:yt,TrashIcon:rM,TreeDeciduous:sM,TreeDeciduousIcon:sM,TreePalm:uc,TreePalmIcon:uc,TreePine:dM,TreePineIcon:dM,Trees:lM,TreesIcon:lM,Trello:hM,TrelloIcon:hM,TrendingDown:uM,TrendingDownIcon:uM,TrendingUp:pM,TrendingUpDown:yM,TrendingUpDownIcon:yM,TrendingUpIcon:pM,Triangle:mM,TriangleAlert:pc,TriangleAlertIcon:pc,TriangleDashed:kM,TriangleDashedIcon:kM,TriangleIcon:mM,TriangleRight:fM,TriangleRightIcon:fM,Trophy:gM,TrophyIcon:gM,Truck:xM,TruckElectric:vM,TruckElectricIcon:vM,TruckIcon:xM,TurkishLira:MM,TurkishLiraIcon:MM,Turntable:_M,TurntableIcon:_M,Turtle:LM,TurtleIcon:LM,Tv:bM,Tv2:yc,Tv2Icon:yc,TvIcon:bM,TvMinimal:yc,TvMinimalIcon:yc,TvMinimalPlay:IM,TvMinimalPlayIcon:IM,Twitch:wM,TwitchIcon:wM,Twitter:CM,TwitterIcon:CM,Type:SM,TypeIcon:SM,TypeOutline:NM,TypeOutlineIcon:NM,Umbrella:$M,UmbrellaIcon:$M,UmbrellaOff:jM,UmbrellaOffIcon:jM,Underline:qM,UnderlineIcon:qM,Undo:VM,Undo2:AM,Undo2Icon:AM,UndoDot:zM,UndoDotIcon:zM,UndoIcon:VM,UnfoldHorizontal:PM,UnfoldHorizontalIcon:PM,UnfoldVertical:TM,UnfoldVerticalIcon:TM,Ungroup:HM,UngroupIcon:HM,University:kc,UniversityIcon:kc,Unlink:FM,Unlink2:DM,Unlink2Icon:DM,UnlinkIcon:FM,Unlock:Pn,UnlockIcon:Pn,UnlockKeyhole:Vn,UnlockKeyholeIcon:Vn,Unplug:BM,UnplugIcon:BM,Upload:RM,UploadCloud:Ya,UploadCloudIcon:Ya,UploadIcon:RM,Usb:EM,UsbIcon:EM,User:e_,User2:Mc,User2Icon:Mc,UserCheck:OM,UserCheck2:mc,UserCheck2Icon:mc,UserCheckIcon:OM,UserCircle:Ga,UserCircle2:Wa,UserCircle2Icon:Wa,UserCircleIcon:Ga,UserCog:UM,UserCog2:fc,UserCog2Icon:fc,UserCogIcon:UM,UserIcon:e_,UserLock:WM,UserLockIcon:WM,UserMinus:GM,UserMinus2:gc,UserMinus2Icon:gc,UserMinusIcon:GM,UserPen:KM,UserPenIcon:KM,UserPlus:V1,UserPlus2:vc,UserPlus2Icon:vc,UserPlusIcon:V1,UserRound:Mc,UserRoundCheck:mc,UserRoundCheckIcon:mc,UserRoundCog:fc,UserRoundCogIcon:fc,UserRoundIcon:Mc,UserRoundMinus:gc,UserRoundMinusIcon:gc,UserRoundPen:ZM,UserRoundPenIcon:ZM,UserRoundPlus:vc,UserRoundPlusIcon:vc,UserRoundSearch:XM,UserRoundSearchIcon:XM,UserRoundX:xc,UserRoundXIcon:xc,UserSearch:YM,UserSearchIcon:YM,UserSquare:rc,UserSquare2:ic,UserSquare2Icon:ic,UserSquareIcon:rc,UserStar:JM,UserStarIcon:JM,UserX:QM,UserX2:xc,UserX2Icon:xc,UserXIcon:QM,Users:t_,Users2:_c,Users2Icon:_c,UsersIcon:t_,UsersRound:_c,UsersRoundIcon:_c,Utensils:Ic,UtensilsCrossed:Lc,UtensilsCrossedIcon:Lc,UtensilsIcon:Ic,UtilityPole:a_,UtilityPoleIcon:a_,Variable:n_,VariableIcon:n_,Vault:o_,VaultIcon:o_,VectorSquare:c_,VectorSquareIcon:c_,Vegan:i_,VeganIcon:i_,VenetianMask:r_,VenetianMaskIcon:r_,Venus:h_,VenusAndMars:s_,VenusAndMarsIcon:s_,VenusIcon:h_,Verified:Qt,VerifiedIcon:Qt,Vibrate:l_,VibrateIcon:l_,VibrateOff:d_,VibrateOffIcon:d_,Video:p_,VideoIcon:p_,VideoOff:u_,VideoOffIcon:u_,Videotape:y_,VideotapeIcon:y_,View:m_,ViewIcon:m_,Voicemail:k_,VoicemailIcon:k_,Volleyball:f_,VolleyballIcon:f_,Volume:L_,Volume1:g_,Volume1Icon:g_,Volume2:v_,Volume2Icon:v_,VolumeIcon:L_,VolumeOff:x_,VolumeOffIcon:x_,VolumeX:M_,VolumeXIcon:M_,Vote:__,VoteIcon:__,Wallet:b_,Wallet2:bc,Wallet2Icon:bc,WalletCards:I_,WalletCardsIcon:I_,WalletIcon:b_,WalletMinimal:bc,WalletMinimalIcon:bc,Wallpaper:w_,WallpaperIcon:w_,Wand:C_,Wand2:wc,Wand2Icon:wc,WandIcon:C_,WandSparkles:wc,WandSparklesIcon:wc,Warehouse:N_,WarehouseIcon:N_,WashingMachine:S_,WashingMachineIcon:S_,Watch:j_,WatchIcon:j_,Waves:q_,WavesIcon:q_,WavesLadder:$_,WavesLadderIcon:$_,Waypoints:A_,WaypointsIcon:A_,Webcam:z_,WebcamIcon:z_,Webhook:T_,WebhookIcon:T_,WebhookOff:V_,WebhookOffIcon:V_,Weight:P_,WeightIcon:P_,Wheat:D_,WheatIcon:D_,WheatOff:H_,WheatOffIcon:H_,WholeWord:B_,WholeWordIcon:B_,Wifi:K_,WifiCog:R_,WifiCogIcon:R_,WifiHigh:F_,WifiHighIcon:F_,WifiIcon:K_,WifiLow:E_,WifiLowIcon:E_,WifiOff:O_,WifiOffIcon:O_,WifiPen:U_,WifiPenIcon:U_,WifiSync:W_,WifiSyncIcon:W_,WifiZero:G_,WifiZeroIcon:G_,Wind:X_,WindArrowDown:Z_,WindArrowDownIcon:Z_,WindIcon:X_,Wine:J_,WineIcon:J_,WineOff:Y_,WineOffIcon:Y_,Workflow:Q_,WorkflowIcon:Q_,Worm:eL,WormIcon:eL,WrapText:tL,WrapTextIcon:tL,Wrench:aL,WrenchIcon:aL,X:tt,XCircle:$t,XCircleIcon:$t,XIcon:tt,XOctagon:On,XOctagonIcon:On,XSquare:sc,XSquareIcon:sc,Youtube:oL,YoutubeIcon:oL,Zap:cL,ZapIcon:cL,ZapOff:nL,ZapOffIcon:nL,ZoomIn:iL,ZoomInIcon:iL,ZoomOut:rL,ZoomOutIcon:rL,createLucideIcon:a.createLucideIcon,icons:Y2e},Symbol.toStringTag,{value:"Module"})),J2e=({size:e=250,background:t="#fff",headerTop:n,headerBottom:c,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,g=e?{size:e*.4,...l}:l,m={background:t,position:"relative",...h,...y&&{width:y}};return o.jsxs("div",{style:m,className:`stat-card ${u}`,children:[o.jsxs("div",{className:"stat-card-header",children:[o.jsx("div",{className:"stat-card-header-top",style:i,children:n}),c&&o.jsx("div",{className:"stat-card-header-bottom",style:r,children:c})]}),o.jsxs("div",{className:"stat-card-body",style:{opacity:p?0:1},children:[o.jsx("div",{className:"progress-row-single",children:o.jsx(Gb,{...f})}),o.jsxs("div",{className:"progress-row-double",children:[o.jsx("div",{className:"progress-item",children:o.jsx(Gj,{...d})}),o.jsx("div",{className:"progress-item",children:o.jsx(Gb,{...g})})]})]}),p&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:32,strokeWidth:1.5,style:{opacity:.8}})})]})},Kj=k.createContext(void 0),mt=()=>{const e=k.useContext(Kj);if(!e)throw new Error("useNavigation must be used within a NavProvider");return e},Q2e=({children:e,defaultActive:t=""})=>{const[n,c]=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,g)=>{p(m=>({...m,[f]:g}))};return o.jsx(Kj.Provider,{value:{activeNav:n,setActiveNav:c,activeSubNav:i,setActiveSubNav:r,activeSwitchers:s,setActiveSwitchers:d,user:l,setUser:h,navCounts:u,setNavCount:y},children:e})},Zj=({categories:e,logo:t="Menu",buttonContent:n,position:c="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:g}=mt();k.useEffect(()=>{if(!i)return;const M=v=>{p.current&&!p.current.contains(v.target)&&l(!1)};return document.addEventListener("mousedown",M),()=>document.removeEventListener("mousedown",M)},[i]),k.useEffect(()=>{if(d&&c==="auto"&&y.current){const M=y.current.getBoundingClientRect(),v=window.innerWidth/2;u(M.left<v?"left":"right")}},[d,c]);const m=t?Mt[t]:null,x=c==="auto"?h:c;return o.jsxs("div",{className:"dropdown",ref:p,children:[o.jsxs("button",{ref:y,type:"button",className:"dropdown-button",onClick:()=>l(M=>!M),"aria-expanded":d,"aria-haspopup":"true",children:[m&&o.jsx(m,{size:20}),n&&o.jsx("span",{className:"button-text",children:n})]}),d&&o.jsxs("div",{className:`dropdown-content ${x}`,children:[s&&o.jsx("div",{className:"dropdown-top-content",children:s}),e?.map((M,v)=>o.jsxs("div",{className:"dropdown-category",children:[M.title&&o.jsx("div",{className:"category-title",children:M.title}),o.jsx("div",{className:"category-items",children:M.items.map((I,b)=>{const w=I.id??I.label,N=f===w||g===w,_=I.select??r;if(I.id==="language"){if(!_||!Array.isArray(_.options)||!_.onChange)return o.jsx("div",{className:"dropdown-language"},b);const j=Array.isArray(_.options)?_.options:[],C=j.some($=>$.code===_.value)?j:[{code:_.value??"",label:String(_.value??"")},...j];return o.jsx("div",{className:"dropdown-language",children:o.jsx("select",{name:_.name??"language",className:"language-select",value:_.value??"",onChange:$=>{const T=$.target.value;try{_.onChange(T)}catch(D){console.error("select onChange error",D)}},children:C.map($=>o.jsx("option",{value:$.code,children:$.label},$.code))})},b)}const L={className:`dropdown-item ${N?"active":""}`,onClick:()=>{I.onClick?.(),l(!1)},role:I.type==="button"||!I.href?"button":void 0};return I.type==="button"||!I.href?o.jsx("button",{type:"button",...L,children:I.label},b):o.jsx("a",{...L,href:I.href,children:I.label},b)})})]},v))]})]})},Xj=({children:e,container:t=!1,item:n=!1,parent:c=!1,xs:i,sm:r,md:s,lg:d,xl:l,spacing:h=0,className:u="",uniqueKey:p=0,style:y={},width:f,order:g,onSwap:m,draggable:x=!1,displayNone:M=!1})=>{const[v,I]=k.useState([]);k.useEffect(()=>{const L=$=>{const T=[];return k.Children.forEach($,D=>{Array.isArray(D)?T.push(...L(D)):k.isValidElement(D)&&T.push(D)}),T},S=L(e).filter($=>k.isValidElement($)).map($=>{let T="";const D=$.props;return T=[D.xs?`grid-xs-${D.xs}`:"",D.sm?`grid-sm-${D.sm}`:"",D.md?`grid-md-${D.md}`:"",D.lg?`grid-lg-${D.lg}`:"",D.xl?`grid-xl-${D.xl}`:"",D.className?D.className:""].join(" ").trim(),{node:$,classes:T}});let C=S;g&&g.length>0&&(C=S.map(($,T)=>({...$,node:S[g[T]]?.node??$.node}))),I(C)},[e]);const b=(L,j)=>{L.stopPropagation(),L.dataTransfer.setData("dragIndex",j.toString()),L.dataTransfer.setData("parentKey",p.toString())},w=L=>{L.preventDefault(),L.stopPropagation()},N=(L,j)=>{L.preventDefault();const S=Number(L.dataTransfer.getData("dragIndex")),C=Number(L.dataTransfer.getData("parentKey"));if(t&&C!==p)return;const $=[...v];let T=-1,D=-1;if($.forEach((A,q)=>{if(k.isValidElement(A.node)){const B=A.node.props;B.uniqueKey===j&&(T=q),B.uniqueKey===S&&(D=q)}}),T===-1||D===-1)return;const z=$[D].node;$[D]={...$[D],node:$[T].node},$[T]={...$[T],node:z},I($),typeof m=="function"&&m(D,T)},_=c?[i?`grid-xs-${i}`:"",r?`grid-sm-${r}`:"",s?`grid-md-${s}`:"",d?`grid-lg-${d}`:"",l?`grid-xl-${l}`:""].join(" "):"";return!c&&f?y={...y,width:`${f}px`}:!c&&!f&&(y={...y,width:"100%"}),y={...y,height:"100%"},t?o.jsx("div",{className:`${u} grid-container ${_}`,style:{"--gap-grid":`${h}rem`,...y},children:v.map(L=>L.node.type?.displayName==="Grid"?x&&L.node?.props?.draggable!==!1?o.jsx("div",{draggable:!0,onDragStart:j=>b(j,L.node?.props?.uniqueKey),onDragOver:j=>w(j),onDrop:j=>N(j,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):o.jsx("div",{className:`grid-item ${L.classes} ${L.node?.props?.displayNone?"grid-display-none":""}`,children:L.node},L.node?.props?.uniqueKey):L.node)}):n?o.jsx("div",{className:`${u} grid-item ${_} ${M?"grid-display-none":""}`,style:{gap:`${h}rem`,...y},children:e}):o.jsx(o.Fragment,{children:e})};Xj.displayName="Grid";const IL=({imagePath:e,...t})=>{const[n,c]=k.useState(!1);return k.useEffect(()=>{c(!0)},[]),n?o.jsx("div",{className:`logo logo--${t.size}`,children:o.jsx("a",{href:"/",children:o.jsx("img",{src:e,alt:"Saniia Smart Bed Management",className:"logo-image"})})}):o.jsx("div",{className:"logo logo-placeholder"})},Kb=({id:e,label:t,isActive:n=!1,onClick:c,href:i,highlightColor:r="#008CBA",moduleKey:s="",a11yConfig:d,...l})=>{const{setActiveNav:h}=mt(),u=()=>{h(e),c?.(e)};return i?o.jsx("a",{href:i,className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),...l,children:t}):o.jsx("div",{className:`nav-item ${n?"active":""}`,style:n?{backgroundColor:r,color:"#fff"}:{},onClick:u,title:Y(d,e),role:c?"button":"presentation",tabIndex:c?0:-1,...l,children:t})},Yj=({items:e,onNavClick:t,highlightColor:n="#008CBA",moduleConfig:c={},dropdownPosition:i="auto"})=>{const{activeNav:r}=mt(),[s,d]=k.useState(!0),[l,h]=k.useState(!1),[u,p]=k.useState("left"),y=k.useRef(null),f=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"&&f.current){const v=f.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)&&f.current&&!f.current.contains(I.target)&&h(!1)};return document.addEventListener("mousedown",v),()=>document.removeEventListener("mousedown",v)},[l]);const m=v=>{t?.(v),h(!1)},x=e.find(v=>v.id===r)||e[0],M=i==="auto"?u:i;return o.jsx("div",{ref:y,children:s?o.jsxs("div",{className:"navbar-mobile",children:[o.jsxs("button",{ref:f,className:"navbar-dropdown-toggle",onClick:()=>h(!l),style:{backgroundColor:n,color:"#fff"},"aria-expanded":l,"aria-haspopup":"true",children:[x.label,o.jsx("span",{className:`dropdown-arrow ${l?"open":""}`})]}),l&&o.jsx("div",{ref:g,className:`navbar-dropdown ${M}`,children:e.map(v=>o.jsx(Kb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})]}):o.jsx("nav",{className:"navbar",children:e.map(v=>o.jsx(Kb,{id:v.id,label:v.label,href:v.moduleKey&&c[v.moduleKey]?v.href:void 0,isActive:r===v.id&&v.moduleKey!==void 0&&c[v.moduleKey],onClick:m,highlightColor:n},v.id))})})},Jj=k.createContext(void 0),ede=({children:e,initialTheme:t})=>{const[n,c]=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=>{c(r)},[]);return o.jsx(Jj.Provider,{value:{themeName:n,setTheme:i},children:e})},Qj=()=>{const e=k.useContext(Jj);if(!e)throw new Error("useThemeContext must be used within a ThemeProvider");return e},bL=()=>{const{themeName:e,setTheme:t}=Qj(),n=k.useCallback(c=>{t(c)},[t]);return{currentTheme:e,switchTheme:n}},K1=({colors:e={},leftIcon:t,rightIcon:n,checked:c=!1,onToggle:i,size:r=24,className:s="",style:d,a11yConfig:l})=>{const h=()=>i?.(!c),u=p=>{(p.key==="Enter"||p.key===" ")&&(p.preventDefault(),h())};return o.jsxs("div",{role:"switch","aria-checked":c,tabIndex:0,title:Y(l),className:`switcher ${c?"switcher-checked":""} ${s}`,style:{"--bg":e.bg||"#1f2937","--active-bg":e.activeBg||"#facc15","--border":e.border||"#fff","--circle":e.circle||"#fff","--icon":e.icon||"#fbbf24","--icon2":e.icon2||e.icon||"#fbbf24","--size":`${r}px`,...d},onClick:h,onKeyDown:u,children:[o.jsx("div",{className:"switcher-circle"}),o.jsxs("div",{className:"switcher-icons",children:[t&&o.jsx("div",{className:"switcher-icon-left",children:t}),n&&o.jsx("div",{className:"switcher-icon-right",children:n})]})]})},Zb=({lightTheme:e="light",darkTheme:t="dark",leftIcon:n="Sun",rightIcon:c="Moon",colors:i={bg:"#e5e7eb",activeBg:"#3b82f6",border:"#ffffff",circle:"#ffffff",icon:"#3b82f6",icon2:"#ffffff"},size:r=24,a11yConfig:s})=>{const{currentTheme:d,switchTheme:l}=bL(),[h,u]=k.useState(!1);if(k.useEffect(()=>{u(!0)},[]),!h)return null;const p=d===t,y=f=>{l(f?t:e)};return o.jsx(K1,{leftIcon:n,rightIcon:c,checked:p,onToggle:y,colors:i,size:r,a11yConfig:s})},tde=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.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"})),_C=k.memo(tde),e$=k.createContext(void 0),ade=({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 c=i=>{n(i)};return o.jsx(e$.Provider,{value:{isDraggable:t,switchDraggable:c},children:e})},t$=()=>{const e=k.useContext(e$);if(!e)throw new Error("useDraggableSwitcher must be used inside a DraggableProvider");return e},pL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"var(--color-primary)",border:"transparent",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{isDraggable:r,switchDraggable:s}=t$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(_C,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},nde=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.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"})),LC=k.memo(nde),a$=k.createContext(void 0),ode=({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 c=i=>{n(i)};return o.jsx(a$.Provider,{value:{disableLegendFilter:t,switchDisableLegendFilter:c},children:e})},n$=()=>{const e=k.useContext(a$);if(!e)throw new Error("useLegendFilterSwitcher must be used inside a LegendFilterProvider");return e},yL=({leftIcon:e,rightIcon:t,colors:n={bg:"var(--color-switcher-background)",activeBg:"#ef4444",border:"#ffffff",circle:"#ffffff",icon:"#ef4444",icon2:"#ffffff"},size:c=24,a11yConfig:i})=>{const{disableLegendFilter:r,switchDisableLegendFilter:s}=n$(),[d,l]=k.useState(!1);if(k.useEffect(()=>{l(!0)},[]),!d)return null;const h=u=>{s(u)};return o.jsx(K1,{leftIcon:e||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),rightIcon:t||o.jsx(LC,{width:c*.55,height:c*.55,fill:"currentColor"}),checked:r,onToggle:h,colors:n,size:c,a11yConfig:i})},o$=k.createContext(void 0),cde=({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 c=i=>{n(i)};return o.jsx(o$.Provider,{value:{showData:t,switchShowData:c},children:e})},c$=()=>{const e=k.useContext(o$);if(!e)throw new Error("useShowDataSwitcher must be used inside a ShowDataProvider");return e},ide=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.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"})),IC=k.memo(ide),kL=({size:e=24,colors:t={bg:"var(--color-switcher-background)",activeBg:"#10b981",border:"#ffffff",circle:"#ffffff",icon:"#10b981",icon2:"#ffffff"},a11yConfig:n})=>{const{showData:c,switchShowData:i}=c$(),[r,s]=k.useState(!1);return k.useEffect(()=>{s(!0)},[]),r?o.jsx(K1,{checked:c,onToggle:d=>i(d),size:e,leftIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),rightIcon:o.jsx(IC,{width:e*.55,height:e*.55,fill:"currentColor"}),colors:t,a11yConfig:n}):null},rde=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.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"})),i$=k.memo(rde);function Xb({items:e,onSave:t,loading:n,disabled:c,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,g)=>{u(m=>m.map(x=>x.component_key===f&&g>3?{...x,visible:!x.visible}:x))},y=()=>{t(h),l(!1)};return o.jsxs("div",{style:{position:"relative",display:"inline-block"},children:[o.jsx("div",{onClick:()=>c||l(f=>!f),style:{cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",color:"var(--color-primary)"},title:s,children:o.jsx(i$,{fill:"currentColor"})}),d&&o.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:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0,marginBottom:12},children:h.map((f,g)=>o.jsxs("li",{style:{display:"flex",alignItems:"center",marginBottom:4},children:[o.jsx("input",{type:"checkbox",checked:f.visible,disabled:g<4,onChange:()=>p(f.component_key,g),style:{marginRight:8}}),o.jsx("span",{style:{color:g<4?"#6b7280":"#111827"},children:f.label}),g<4&&o.jsx("span",{style:{fontSize:"var(--text-paragraph)",color:"#9ca3af",marginLeft:6}})]},f.component_key))}),o.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 sde=({logoPath:e,navItems:t,onNavClick:n,dropdownItems:c,headerBg:i,highlightColor:r="#1387C8",moduleConfig:s={},componentVisibilityItems:d=[],onComponentVisibilitySave:l,componentVisibilityLoading:h=!1,componentVisibilitySaveLabel:u,componentVisibilitySavingLabel:p,componentVisibilityButtonTitle:y})=>{const{activeSwitchers:f}=mt(),g=f?.draggable===!0,m=f?.showData===!0,x=f?.legendFilter===!0,M=f?.componentVisibility===!0&&d&&d.length>0;return o.jsx("header",{className:"header",style:{backgroundColor:i},children:o.jsxs("div",{className:"header-layout-container",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("a",{href:"/",children:o.jsx(IL,{imagePath:e})}),o.jsx(Yj,{moduleConfig:s,items:t,onNavClick:n,highlightColor:r})]}),o.jsxs("div",{className:"header-right",children:[o.jsxs("div",{className:"switcher-container",children:[g&&o.jsx(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),M&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]}),o.jsx(Zj,{categories:c?.categories,buttonContent:c?.buttonContent,topContent:o.jsxs("div",{className:"dropdown-switchers",children:[g&&o.jsx(pL,{}),m&&o.jsx(kL,{}),x&&o.jsx(yL,{}),o.jsx(Zb,{}),M&&o.jsx(Xb,{items:d,onSave:l||(()=>{}),loading:h,saveLabel:u,savingLabel:p,buttonTitle:y})]})})]})]})})},r$=({icon:e,text:t,size:n=16,color:c="currentColor",className:i="",active:r=!1,href:s,a11yConfig:d})=>{const l=e?Mt[e]:null,h=s?"a":"div";return o.jsxs(h,{className:`icon-text ${r?"icon-text-active":""} ${i}`,style:{color:c},title:Y(d,t),role:"text","aria-label":t,...s?{href:s}:{},children:[l&&o.jsx(l,{size:n,"aria-hidden":"true"}),o.jsx("span",{children:t})]})},zc=e=>typeof e=="number"?`${e}px`:e,dde=({title:e,titleColor:t="#1c1b1f",headerColor:n="#ECEEF0",entryLabel:c="Entrée",entryValue:i,exitLabel:r="Sortie",exitValue:s,timeLabelColor:d="#6b7280",timeLabelFontSize:l="0.85rem",timeLabelFontWeight:h=400,timeLabelLineHeight:u=1,timeValueColor:p="#1c1b1f",rows:y=[],textFontSize:f="1.1rem",textFontWeight:g=700,textLineHeight:m=1,titleMinHeight:x,backgroundColor:M="#ffffff",borderColor:v="#D2D6D8",width:I,className:b,onClick:w,ariaLabel:N,a11yConfig:_,titleA11yConfig:L,entryLabelA11yConfig:j,exitLabelA11yConfig:S})=>{const C=Y(_),$=Y(L,L?.titleKey?void 0:e),T=Y(j,j?.titleKey?void 0:c),D=Y(S,S?.titleKey?void 0:r);return o.jsxs(lde,{$width:I,$borderColor:v,className:b,onClick:w,role:w?"button":"group","aria-label":N||e,title:C,tabIndex:w?0:void 0,onKeyDown:z=>w&&z.key==="Enter"&&w(),children:[o.jsxs(hde,{$bgColor:n,$borderColor:v,children:[e&&o.jsx(pde,{$color:t,$fontSize:f,$fontWeight:g,$lineHeight:m,$minHeight:x,title:$,children:e}),(i||s)&&o.jsxs(yde,{children:[i&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:T,children:c}),o.jsx(CC,{$color:p,children:i})]}),s&&o.jsxs(bC,{children:[o.jsx(wC,{$color:d,$fontSize:l,$fontWeight:h,$lineHeight:u,title:D,children:r}),o.jsx(CC,{$color:p,children:s})]})]}),o.jsx(ude,{$bgColor:n})]}),y.length>0&&o.jsx(kde,{$bgColor:M,children:y.map((z,A)=>o.jsxs(mde,{title:Y(z.a11yConfig),children:[z.icon&&o.jsx(fde,{"aria-hidden":"true",children:z.icon}),o.jsx(gde,{$fontSize:f,$fontWeight:g,$lineHeight:m,children:z.text})]},A))})]})},lde=E.div`
|
|
8162
8162
|
display: flex;
|
|
8163
8163
|
flex-direction: column;
|
|
8164
8164
|
width: ${e=>e.$width===void 0?"300px":typeof e.$width=="number"?`${e.$width}px`:e.$width};
|
|
@@ -8261,7 +8261,7 @@
|
|
|
8261
8261
|
font-size: ${e=>mL(e.$fontSize)};
|
|
8262
8262
|
font-weight: ${e=>e.$fontWeight};
|
|
8263
8263
|
color: ${e=>e.$color};
|
|
8264
|
-
`,bde=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=mt();return o.jsx(s$,{style:n,item:c,children:e?.map(r=>o.jsx(r$,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},d$=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,u]=n?n.split("/"):[];return o.jsxs("div",{className:"trend-item",style:{background:c,...d},children:[o.jsxs("div",{className:"trend-left",children:[o.jsx("div",{className:"trend-icon",children:l}),o.jsxs("div",{className:"trend-texts",children:[o.jsx("span",{className:"trend-title",style:i,children:e}),t&&o.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),o.jsxs("div",{className:"trend-right",style:s,children:[o.jsx("span",{className:"trend-right-left",children:h}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},Lw=k.createContext({});function Dt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Iw=typeof window<"u",bw=Iw?k.useLayoutEffect:k.useEffect,wL=k.createContext(null);function ww(e,t){e.indexOf(t)===-1&&e.push(t)}function Cw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wde([...e],t,n){const c=t<0?e.length+t:t;if(c>=0&&c<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const _t=(e,t,n)=>n>t?t:n<e?e:n;function Yb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let i1=()=>{},rt=()=>{};process.env.NODE_ENV!=="production"&&(i1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Yb(t,n))},rt=(e,t,n)=>{if(!e)throw new Error(Yb(t,n))});const Lt={},l$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function h$(e){return typeof e=="object"&&e!==null}const u$=e=>/^0[^.\s]+$/u.test(e);function Nw(e){let t;return()=>(t===void 0&&(t=e()),t)}const at=e=>e,Cde=(e,t)=>n=>t(e(n)),Z1=(...e)=>e.reduce(Cde),F1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class Sw{constructor(){this.subscriptions=[]}add(t){return ww(this.subscriptions,t),()=>Cw(this.subscriptions,t)}notify(t,n,c){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,c);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const it=e=>e*1e3,et=e=>e/1e3;function p$(e,t){return t?e*(1e3/t):0}const NC=new Set;function jw(e,t,n){e||NC.has(t)||(console.warn(Yb(t,n)),NC.add(t))}const y$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Nde=1e-7,Sde=12;function jde(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=y$(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Nde&&++d<Sde);return s}function X1(e,t,n,c){if(e===t&&n===c)return at;const i=r=>jde(r,0,1,e,n);return r=>r===0||r===1?r:y$(i(r),t,c)}const k$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,m$=e=>t=>1-e(1-t),f$=X1(.33,1.53,.69,.99),$w=m$(f$),g$=k$($w),v$=e=>(e*=2)<1?.5*$w(e):.5*(2-Math.pow(2,-10*(e-1))),qw=e=>1-Math.sin(Math.acos(e)),x$=m$(qw),M$=k$(qw),$de=X1(.42,0,1,1),qde=X1(0,0,.58,1),_$=X1(.42,0,.58,1),Ade=e=>Array.isArray(e)&&typeof e[0]!="number",L$=e=>Array.isArray(e)&&typeof e[0]=="number",SC={linear:at,easeIn:$de,easeInOut:_$,easeOut:qde,circIn:qw,circInOut:M$,circOut:x$,backIn:$w,backInOut:g$,backOut:f$,anticipate:v$},zde=e=>typeof e=="string",jC=e=>{if(L$(e)){rt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return X1(t,n,c,i)}else if(zde(e))return rt(SC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),SC[e];return e},ci=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Vde(e,t){let n=new Set,c=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:c;return p&&s.add(u),g.has(u)||g.add(u),u},cancel:u=>{c.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,c]=[c,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const Pde=40;function I$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ci.reduce((L,b)=>(L[b]=Vde(r),L),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:g}=s,m=()=>{const L=Lt.useManualTiming?i.timestamp:performance.now();n=!1,Lt.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(L-i.timestamp,Pde),1)),i.timestamp=L,i.isProcessing=!0,d.process(i),l.process(i),h.process(i),u.process(i),p.process(i),y.process(i),f.process(i),g.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(m))},x=()=>{n=!0,c=!0,i.isProcessing||e(m)};return{schedule:ci.reduce((L,b)=>{const w=s[b];return L[b]=(N,_=!1,I=!1)=>(n||x(),w.schedule(N,_,I)),L},{}),cancel:L=>{for(let b=0;b<ci.length;b++)s[ci[b]].cancel(L)},state:i,steps:s}}const{schedule:fe,cancel:It,state:qe,steps:ZL}=I$(typeof requestAnimationFrame<"u"?requestAnimationFrame:at,!0);let sL;function Tde(){sL=void 0}const Ue={now:()=>(sL===void 0&&Ue.set(qe.isProcessing||Lt.useManualTiming?qe.timestamp:performance.now()),sL),set:e=>{sL=e,queueMicrotask(Tde)}},b$=e=>t=>typeof t=="string"&&t.startsWith(e),Aw=b$("--"),Hde=b$("var(--"),zw=e=>Hde(e)?Dde.test(e.split("/*")[0].trim()):!1,Dde=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,r1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},E1={...r1,transform:e=>_t(0,1,e)},ii={...r1,default:1},P1=e=>Math.round(e*1e5)/1e5,Vw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Bde(e){return e==null}const Rde=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pw=(e,t)=>n=>!!(typeof n=="string"&&Rde.test(n)&&n.startsWith(e)||t&&!Bde(n)&&Object.prototype.hasOwnProperty.call(n,t)),w$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Vw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},Fde=e=>_t(0,255,e),XL={...r1,transform:e=>Math.round(Fde(e))},Nc={test:Pw("rgb","red"),parse:w$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+XL.transform(e)+", "+XL.transform(t)+", "+XL.transform(n)+", "+P1(E1.transform(c))+")"};function Ede(e){let t="",n="",c="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),c=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),c=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,c+=c,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(c,16),alpha:i?parseInt(i,16)/255:1}}const Jb={test:Pw("#"),parse:Ede,transform:Nc.transform},Y1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),jt=Y1("deg"),kt=Y1("%"),Q=Y1("px"),Ode=Y1("vh"),Ude=Y1("vw"),$C={...kt,parse:e=>kt.parse(e)/100,transform:e=>kt.transform(e*100)},Gc={test:Pw("hsl","hue"),parse:w$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+kt.transform(P1(t))+", "+kt.transform(P1(n))+", "+P1(E1.transform(c))+")"},we={test:e=>Nc.test(e)||Jb.test(e)||Gc.test(e),parse:e=>Nc.test(e)?Nc.parse(e):Gc.test(e)?Gc.parse(e):Jb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Nc.transform(e):Gc.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},Wde=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Gde(e){return isNaN(e)&&typeof e=="string"&&(e.match(Vw)?.length||0)+(e.match(Wde)?.length||0)>0}const C$="number",N$="color",Kde="var",Zde="var(",qC="${}",Xde=/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 O1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(Xde,l=>(we.test(l)?(c.color.push(r),i.push(N$),n.push(we.parse(l))):l.startsWith(Zde)?(c.var.push(r),i.push(Kde),n.push(l)):(c.number.push(r),i.push(C$),n.push(parseFloat(l))),++r,qC)).split(qC);return{values:n,split:d,indexes:c,types:i}}function S$(e){return O1(e).values}function j$(e){const{split:t,types:n}=O1(e),c=t.length;return i=>{let r="";for(let s=0;s<c;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===C$?r+=P1(i[s]):d===N$?r+=we.transform(i[s]):r+=i[s]}return r}}const Yde=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e;function Jde(e){const t=S$(e);return j$(e)(t.map(Yde))}const Ht={test:Gde,parse:S$,createTransformer:j$,getAnimatableNone:Jde};function YL(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 Qde({hue:e,saturation:t,lightness:n,alpha:c}){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=YL(l,d,e+1/3),r=YL(l,d,e),s=YL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function fL(e,t){return n=>n>0?t:e}const ve=(e,t,n)=>e+(t-e)*n,JL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},e0e=[Jb,Nc,Gc],t0e=e=>e0e.find(t=>t.test(e));function AC(e){const t=t0e(e);if(i1(!!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===Gc&&(n=Qde(n)),n}const zC=(e,t)=>{const n=AC(e),c=AC(t);if(!n||!c)return fL(e,t);const i={...n};return r=>(i.red=JL(n.red,c.red,r),i.green=JL(n.green,c.green,r),i.blue=JL(n.blue,c.blue,r),i.alpha=ve(n.alpha,c.alpha,r),Nc.transform(i))},Qb=new Set(["none","hidden"]);function a0e(e,t){return Qb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function n0e(e,t){return n=>ve(e,t,n)}function Tw(e){return typeof e=="number"?n0e:typeof e=="string"?zw(e)?fL:we.test(e)?zC:i0e:Array.isArray(e)?$$:typeof e=="object"?we.test(e)?zC:o0e:fL}function $$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Tw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function o0e(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Tw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function c0e(e,t){const n=[],c={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][c[r]],d=e.values[s]??0;n[i]=d,c[r]++}return n}const i0e=(e,t)=>{const n=Ht.createTransformer(t),c=O1(e),i=O1(t);return c.indexes.var.length===i.indexes.var.length&&c.indexes.color.length===i.indexes.color.length&&c.indexes.number.length>=i.indexes.number.length?Qb.has(e)&&!i.values.length||Qb.has(t)&&!c.values.length?a0e(e,t):Z1($$(c0e(c,i),i.values),n):(i1(!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"),fL(e,t))};function q$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ve(e,t,n):Tw(e)(e,t)}const r0e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>fe.update(t,n),stop:()=>It(t),now:()=>qe.isProcessing?qe.timestamp:Ue.now()}},A$=(e,t,n=10)=>{let c="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)c+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},gL=2e4;function Hw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<gL;)t+=n,c=e.next(t);return t>=gL?1/0:t}function s0e(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Hw(c),gL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:et(i)}}const d0e=5;function z$(e,t,n){const c=Math.max(t-d0e,0);return p$(n-e(c),t-c)}const _e={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},QL=.001;function l0e({duration:e=_e.duration,bounce:t=_e.bounce,velocity:n=_e.velocity,mass:c=_e.mass}){let i,r;i1(e<=it(_e.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=_t(_e.minDamping,_e.maxDamping,s),e=_t(_e.minDuration,_e.maxDuration,et(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=ew(h,s),g=Math.exp(-p);return QL-y/f*g},r=h=>{const p=h*s*e,y=p*n+n,f=Math.pow(s,2)*Math.pow(h,2)*e,g=Math.exp(-p),m=ew(Math.pow(h,2),s);return(-i(h)+QL>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-QL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=u0e(i,r,d);if(e=it(e),isNaN(l))return{stiffness:_e.stiffness,damping:_e.damping,duration:e};{const h=Math.pow(l,2)*c;return{stiffness:h,damping:s*2*Math.sqrt(c*h),duration:e}}}const h0e=12;function u0e(e,t,n){let c=n;for(let i=1;i<h0e;i++)c=c-e(c)/t(c);return c}function ew(e,t){return e*Math.sqrt(1-t*t)}const p0e=["duration","bounce"],y0e=["stiffness","damping","mass"];function VC(e,t){return t.some(n=>e[n]!==void 0)}function k0e(e){let t={velocity:_e.velocity,stiffness:_e.stiffness,damping:_e.damping,mass:_e.mass,isResolvedFromDuration:!1,...e};if(!VC(e,y0e)&&VC(e,p0e))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*_t(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:_e.mass,stiffness:i,damping:r}}else{const n=l0e(e);t={...t,...n,mass:_e.mass},t.isResolvedFromDuration=!0}return t}function vL(e=_e.visualDuration,t=_e.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:c,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}=k0e({...n,velocity:-et(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),x=s-r,M=et(Math.sqrt(l/u)),v=Math.abs(x)<5;c||(c=v?_e.restSpeed.granular:_e.restSpeed.default),i||(i=v?_e.restDelta.granular:_e.restDelta.default);let L;if(m<1){const w=ew(M,m);L=N=>{const _=Math.exp(-m*M*N);return s-_*((g+m*M*x)/w*Math.sin(w*N)+x*Math.cos(w*N))}}else if(m===1)L=w=>s-Math.exp(-M*w)*(x+(g+M*x)*w);else{const w=M*Math.sqrt(m*m-1);L=N=>{const _=Math.exp(-m*M*N),I=Math.min(w*N,300);return s-_*((g+m*M*x)*Math.sinh(I)+w*x*Math.cosh(I))/w}}const b={calculatedDuration:f&&p||null,next:w=>{const N=L(w);if(f)d.done=w>=p;else{let _=w===0?g:0;m<1&&(_=w===0?it(g):z$(L,w,N));const I=Math.abs(_)<=c,j=Math.abs(s-N)<=i;d.done=I&&j}return d.value=d.done?s:N,d},toString:()=>{const w=Math.min(Hw(b),gL),N=A$(_=>b.next(w*_).value,w,30);return w+"ms "+N},toTransition:()=>{}};return b}vL.applyToOptions=e=>{const t=s0e(e,100,vL);return e.ease=t.ease,e.duration=it(t.duration),e.type="keyframes",e};function tw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=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=I=>d!==void 0&&I<d||l!==void 0&&I>l,g=I=>d===void 0?l:l===void 0||Math.abs(d-I)<Math.abs(l-I)?d:l;let m=n*t;const x=p+m,M=s===void 0?x:s(x);M!==x&&(m=M-p);const v=I=>-m*Math.exp(-I/c),L=I=>M+v(I),b=I=>{const j=v(I),S=L(I);y.done=Math.abs(j)<=h,y.value=y.done?M:S};let w,N;const _=I=>{f(y.value)&&(w=I,N=vL({keyframes:[y.value,g(y.value)],velocity:z$(L,I,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return _(0),{calculatedDuration:null,next:I=>{let j=!1;return!N&&w===void 0&&(j=!0,b(I),_(I)),w!==void 0&&I>=w?N.next(I-w):(!j&&b(I),y)}}}function m0e(e,t,n){const c=[],i=n||Lt.mix||q$,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]||at:t;d=Z1(l,d)}c.push(d)}return c}function V$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(rt(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=m0e(t,c,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=F1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(_t(e[0],e[r-1],u)):h}function f0e(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=F1(0,t,c);e.push(ve(n,1,i))}}function g0e(e){const t=[0];return f0e(t,e.length-1),t}function v0e(e,t){return e.map(n=>n*t)}function x0e(e,t){return e.map(()=>t||_$).splice(0,e.length-1)}function Kc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=Ade(c)?c.map(jC):jC(c),r={done:!1,value:t[0]},s=v0e(n&&n.length===t.length?n:g0e(t),e),d=V$(s,t,{ease:Array.isArray(i)?i:x0e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const M0e=e=>e!==null;function Dw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(M0e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const _0e={decay:tw,inertia:tw,tween:Kc,keyframes:Kc,spring:vL};function P$(e){typeof e.type=="string"&&(e.type=_0e[e.type])}class Bw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const L0e=e=>e/100;class Rw extends Bw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Ue.now()&&this.tick(Ue.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;P$(t);const{type:n=Kc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Kc;process.env.NODE_ENV!=="production"&&l!==Kc&&rt(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Kc&&typeof d[0]!="number"&&(this.mixKeyframes=Z1(L0e,q$(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=Hw(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+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:c,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:l}=this;if(this.startTime===null)return c.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:f,type:g,onUpdate:m,finalKeyframe:x}=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 M=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?M<0:M>i;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let L=this.currentTime,b=c;if(p){const I=Math.min(this.currentTime,i)/d;let j=Math.floor(I),S=I%1;!S&&I>=1&&(S=1),S===1&&j--,j=Math.min(j,p+1),!!(j%2)&&(y==="reverse"?(S=1-S,f&&(S-=f/d)):y==="mirror"&&(b=s)),L=_t(0,1,S)*d}const w=v?{done:!1,value:u[0]}:b.next(L);r&&(w.value=r(w.value));let{done:N}=w;!v&&l!==null&&(N=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return _&&g!==tw&&(w.value=Dw(u,this.options,x,this.speed)),m&&m(w.value),_&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return et(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+et(t)}get time(){return et(this.currentTime)}set time(t){t=it(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(Ue.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=et(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=r0e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=n??c),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(Ue.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 I0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sc=e=>e*180/Math.PI,aw=e=>{const t=Sc(Math.atan2(e[1],e[0]));return nw(t)},b0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:aw,rotateZ:aw,skewX:e=>Sc(Math.atan(e[1])),skewY:e=>Sc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},nw=e=>(e=e%360,e<0&&(e+=360),e),PC=aw,TC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),HC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),w0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:TC,scaleY:HC,scale:e=>(TC(e)+HC(e))/2,rotateX:e=>nw(Sc(Math.atan2(e[6],e[5]))),rotateY:e=>nw(Sc(Math.atan2(-e[2],e[0]))),rotateZ:PC,rotate:PC,skewX:e=>Sc(Math.atan(e[4])),skewY:e=>Sc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ow(e){return e.includes("scale")?1:0}function cw(e,t){if(!e||e==="none")return ow(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=w0e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=b0e,i=d}if(!i)return ow(t);const r=c[t],s=i[1].split(",").map(N0e);return typeof r=="function"?r(s):s[r]}const C0e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return cw(n,t)};function N0e(e){return parseFloat(e.trim())}const s1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],d1=new Set(s1),DC=e=>e===r1||e===Q,S0e=new Set(["x","y","z"]),j0e=s1.filter(e=>!S0e.has(e));function $0e(e){const t=[];return j0e.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const Vc={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})=>cw(t,"x"),y:(e,{transform:t})=>cw(t,"y")};Vc.translateX=Vc.x;Vc.translateY=Vc.y;const Pc=new Set;let iw=!1,rw=!1,sw=!1;function T$(){if(rw){const e=Array.from(Pc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=$0e(c);i.length&&(n.set(c,i),c.render())}),e.forEach(c=>c.measureInitialState()),t.forEach(c=>{c.render();const i=n.get(c);i&&i.forEach(([r,s])=>{c.getValue(r)?.set(s)})}),e.forEach(c=>c.measureEndState()),e.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}rw=!1,iw=!1,Pc.forEach(e=>e.complete(sw)),Pc.clear()}function H$(){Pc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(rw=!0)})}function q0e(){sw=!0,H$(),T$(),sw=!1}class Fw{constructor(t,n,c,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=c,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Pc.add(this),iw||(iw=!0,fe.read(H$),fe.resolveKeyframes(T$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:c,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(c&&n){const d=c.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}I0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Pc.delete(this)}cancel(){this.state==="scheduled"&&(Pc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const A0e=e=>e.startsWith("--");function z0e(e,t,n){A0e(t)?e.style.setProperty(t,n):e.style[t]=n}const V0e=Nw(()=>window.ScrollTimeline!==void 0),P0e={};function T0e(e,t){const n=Nw(e);return()=>P0e[t]??n()}const D$=T0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),x1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,BC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x1([0,.65,.55,1]),circOut:x1([.55,0,1,.45]),backIn:x1([.31,.01,.66,-.59]),backOut:x1([.33,1.53,.69,.99])};function B$(e,t){if(e)return typeof e=="function"?D$()?A$(e,t):"ease-out":L$(e)?x1(e):Array.isArray(e)?e.map(n=>B$(n,t)||BC.easeOut):BC[e]}function H0e(e,t,n,{delay:c=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=B$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:c,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 R$(e){return typeof e=="function"&&"applyToOptions"in e}function D0e({type:e,...t}){return R$(e)&&D$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class B0e extends Bw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:c,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,rt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=D0e(t);this.animation=H0e(n,c,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Dw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):z0e(n,c,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 et(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+et(t)}get time(){return et(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=it(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&&V0e()?(this.animation.timeline=t,at):n(this)}}const F$={anticipate:v$,backInOut:g$,circInOut:M$};function R0e(e){return e in F$}function F0e(e){typeof e.ease=="string"&&R0e(e.ease)&&(e.ease=F$[e.ease])}const RC=10;class E0e extends B0e{constructor(t){F0e(t),P$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:c,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new Rw({...s,autoplay:!1}),l=it(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-RC).value,d.sample(l).value,RC),d.stop()}}const FC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ht.test(e)||e==="0")&&!e.startsWith("url("));function O0e(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 U0e(e,t,n,c){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=FC(i,t),d=FC(r,t);return i1(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:O0e(e)||(n==="spring"||R$(n))&&c}function dw(e){e.duration=0,e.type="keyframes"}const W0e=new Set(["opacity","clipPath","filter","transform"]),G0e=Nw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function K0e(e){const{motionValue:t,name:n,repeatDelay:c,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return G0e()&&n&&W0e.has(n)&&(n!=="transform"||!h)&&!l&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const Z0e=40;class X0e extends Bw{constructor({autoplay:t=!0,delay:n=0,type:c="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=Ue.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},f=u?.KeyframeResolver||Fw;this.keyframeResolver=new f(d,(g,m,x)=>this.onKeyframesResolved(g,m,y,!x),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=c;this.resolvedAt=Ue.now(),U0e(t,r,s,d)||((Lt.instantAnimations||!l)&&u?.(Dw(t,c,n)),t[0]=t[t.length-1],dw(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Z0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},f=!h&&K0e(y)?new E0e({...y,element:y.motionValue.owner.current}):new Rw(y);f.finished.then(()=>this.notifyFinished()).catch(at),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(),q0e()),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 Y0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function J0e(e){const t=Y0e.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const Q0e=4;function E$(e,t,n=1){rt(n<=Q0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=J0e(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return l$(s)?parseFloat(s):s}return zw(i)?E$(i,t,n+1):i}function Ew(e,t){return e?.[t]??e?.default??e}const O$=new Set(["width","height","top","left","right","bottom",...s1]),ele={test:e=>e==="auto",parse:e=>e},U$=e=>t=>t.test(e),W$=[r1,Q,kt,jt,Ude,Ode,ele],EC=e=>W$.find(U$(e));function tle(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||u$(e):!0}const ale=new Set(["brightness","contrast","saturate","opacity"]);function nle(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Vw)||[];if(!c)return e;const i=n.replace(c,"");let r=ale.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const ole=/\b([a-z-]*)\(.*?\)/gu,lw={...Ht,getAnimatableNone:e=>{const t=e.match(ole);return t?t.map(nle).join(" "):e}},OC={...r1,transform:Math.round},cle={rotate:jt,rotateX:jt,rotateY:jt,rotateZ:jt,scale:ii,scaleX:ii,scaleY:ii,scaleZ:ii,skew:jt,skewX:jt,skewY:jt,distance:Q,translateX:Q,translateY:Q,translateZ:Q,x:Q,y:Q,z:Q,perspective:Q,transformPerspective:Q,opacity:E1,originX:$C,originY:$C,originZ:Q},Ow={borderWidth:Q,borderTopWidth:Q,borderRightWidth:Q,borderBottomWidth:Q,borderLeftWidth:Q,borderRadius:Q,radius:Q,borderTopLeftRadius:Q,borderTopRightRadius:Q,borderBottomRightRadius:Q,borderBottomLeftRadius:Q,width:Q,maxWidth:Q,height:Q,maxHeight:Q,top:Q,right:Q,bottom:Q,left:Q,padding:Q,paddingTop:Q,paddingRight:Q,paddingBottom:Q,paddingLeft:Q,margin:Q,marginTop:Q,marginRight:Q,marginBottom:Q,marginLeft:Q,backgroundPositionX:Q,backgroundPositionY:Q,...cle,zIndex:OC,fillOpacity:E1,strokeOpacity:E1,numOctaves:OC},ile={...Ow,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:lw,WebkitFilter:lw},G$=e=>ile[e];function K$(e,t){let n=G$(e);return n!==lw&&(n=Ht),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rle=new Set(["auto","none","0"]);function sle(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!rle.has(r)&&O1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=K$(n,i)}class dle extends Fw{constructor(t,n,c,i,r){super(t,n,c,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:c}=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(),zw(h))){const u=E$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!O$.has(c)||t.length!==2)return;const[i,r]=t,s=EC(i),d=EC(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 Vc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||tle(t[i]))&&c.push(i);c.length&&sle(t,c,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:c}=this;if(!t||!t.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Vc[c](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(c,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:c}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=c.length-1,s=c[r];c[r]=Vc[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 lle(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let c=document;const i=n?.[e]??c.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const Z$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function X$(e){return h$(e)&&"offsetHeight"in e}const UC=30,hle=e=>!isNaN(parseFloat(e)),T1={current:void 0};class ule{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=Ue.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),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=Ue.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=hle(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&jw(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Sw);const c=this.events[t].add(n);return t==="change"?()=>{c(),fe.read(()=>{this.events.change.getSize()||this.stop()})}:c}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,c){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-c}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 T1.current&&T1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ue.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>UC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,UC);return p$(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 Tc(e,t){return new ule(e,t)}const{schedule:Uw}=I$(queueMicrotask,!1),ct={x:!1,y:!1};function Y$(){return ct.x||ct.y}function ple(e){return e==="x"||e==="y"?ct[e]?null:(ct[e]=!0,()=>{ct[e]=!1}):ct.x||ct.y?null:(ct.x=ct.y=!0,()=>{ct.x=ct.y=!1})}function J$(e,t){const n=lle(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function WC(e){return!(e.pointerType==="touch"||Y$())}function yle(e,t,n={}){const[c,i,r]=J$(e,n),s=d=>{if(!WC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{WC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const Q$=(e,t)=>t?e===t?!0:Q$(e,t.parentElement):!1,Ww=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,kle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function mle(e){return kle.has(e.tagName)||e.tabIndex!==-1}const dL=new WeakSet;function GC(e){return t=>{t.key==="Enter"&&e(t)}}function eI(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const fle=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=GC(()=>{if(dL.has(n))return;eI(n,"down");const i=GC(()=>{eI(n,"up")}),r=()=>eI(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",c,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",c),t)};function KC(e){return Ww(e)&&!Y$()}function gle(e,t,n={}){const[c,i,r]=J$(e,n),s=d=>{const l=d.currentTarget;if(!KC(d))return;dL.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),dL.has(l)&&dL.delete(l),KC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||Q$(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),X$(d)&&(d.addEventListener("focus",h=>fle(h,i)),!mle(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function eq(e){return h$(e)&&"ownerSVGElement"in e}function vle(e){return eq(e)&&e.tagName==="svg"}function xle(...e){const t=!Array.isArray(e[0]),n=t?0:-1,c=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=V$(i,r,s);return t?d(c):d}const Ae=e=>!!(e&&e.getVelocity),Mle=[...W$,we,Ht],_le=e=>Mle.find(U$(e)),CL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ZC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lle(...e){return t=>{let n=!1;const c=e.map(i=>{const r=ZC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<c.length;i++){const r=c[i];typeof r=="function"?r():ZC(e[i],null)}}}}function Ile(...e){return te.useCallback(Lle(...e),e)}class ble extends te.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=X$(c)&&c.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 wle({children:e,isPresent:t,anchorX:n,root:c}){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(CL),l=Ile(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 g=n==="left"?`left: ${y}`:`right: ${f}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const x=c??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8264
|
+
`,bde=({subNavItems:e,highlightColor:t="#1387C8",style:n,item:c})=>{const{activeSubNav:i}=mt();return o.jsx(s$,{style:n,item:c,children:e?.map(r=>o.jsx(r$,{icon:r.icon,text:r.label,href:r.href,color:r.id===i?t:"",active:r.id===i,a11yConfig:r.a11yConfig},r.id))})},d$=({title:e,subtitle:t,text:n,background:c="#f9f9f9",titleStyle:i,subtitleStyle:r,textStyle:s,itemStyle:d,icon:l})=>{const[h,u]=n?n.split("/"):[];return o.jsxs("div",{className:"trend-item",style:{background:c,...d},children:[o.jsxs("div",{className:"trend-left",children:[o.jsx("div",{className:"trend-icon",children:l}),o.jsxs("div",{className:"trend-texts",children:[o.jsx("span",{className:"trend-title",style:i,children:e}),t&&o.jsx("span",{className:"trend-subtitle",style:r,children:t})]})]}),o.jsxs("div",{className:"trend-right",style:s,children:[o.jsx("span",{className:"trend-right-left",children:h}),o.jsx("span",{className:"trend-right-separator",children:" / "}),o.jsx("span",{className:"trend-right-right",children:u})]})]})},Lw=k.createContext({});function Dt(e){const t=k.useRef(null);return t.current===null&&(t.current=e()),t.current}const Iw=typeof window<"u",bw=Iw?k.useLayoutEffect:k.useEffect,wL=k.createContext(null);function ww(e,t){e.indexOf(t)===-1&&e.push(t)}function Cw(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}function wde([...e],t,n){const c=t<0?e.length+t:t;if(c>=0&&c<e.length){const i=n<0?e.length+n:n,[r]=e.splice(t,1);e.splice(i,0,r)}return e}const _t=(e,t,n)=>n>t?t:n<e?e:n;function Yb(e,t){return t?`${e}. For more information and steps for solving, visit https://motion.dev/troubleshooting/${t}`:e}let i1=()=>{},rt=()=>{};process.env.NODE_ENV!=="production"&&(i1=(e,t,n)=>{!e&&typeof console<"u"&&console.warn(Yb(t,n))},rt=(e,t,n)=>{if(!e)throw new Error(Yb(t,n))});const Lt={},l$=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e);function h$(e){return typeof e=="object"&&e!==null}const u$=e=>/^0[^.\s]+$/u.test(e);function Nw(e){let t;return()=>(t===void 0&&(t=e()),t)}const at=e=>e,Cde=(e,t)=>n=>t(e(n)),Z1=(...e)=>e.reduce(Cde),F1=(e,t,n)=>{const c=t-e;return c===0?1:(n-e)/c};class Sw{constructor(){this.subscriptions=[]}add(t){return ww(this.subscriptions,t),()=>Cw(this.subscriptions,t)}notify(t,n,c){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](t,n,c);else for(let r=0;r<i;r++){const s=this.subscriptions[r];s&&s(t,n,c)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const it=e=>e*1e3,et=e=>e/1e3;function p$(e,t){return t?e*(1e3/t):0}const NC=new Set;function jw(e,t,n){e||NC.has(t)||(console.warn(Yb(t,n)),NC.add(t))}const y$=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Nde=1e-7,Sde=12;function jde(e,t,n,c,i){let r,s,d=0;do s=t+(n-t)/2,r=y$(s,c,i)-e,r>0?n=s:t=s;while(Math.abs(r)>Nde&&++d<Sde);return s}function X1(e,t,n,c){if(e===t&&n===c)return at;const i=r=>jde(r,0,1,e,n);return r=>r===0||r===1?r:y$(i(r),t,c)}const k$=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,m$=e=>t=>1-e(1-t),f$=X1(.33,1.53,.69,.99),$w=m$(f$),g$=k$($w),v$=e=>(e*=2)<1?.5*$w(e):.5*(2-Math.pow(2,-10*(e-1))),qw=e=>1-Math.sin(Math.acos(e)),x$=m$(qw),M$=k$(qw),$de=X1(.42,0,1,1),qde=X1(0,0,.58,1),_$=X1(.42,0,.58,1),Ade=e=>Array.isArray(e)&&typeof e[0]!="number",L$=e=>Array.isArray(e)&&typeof e[0]=="number",SC={linear:at,easeIn:$de,easeInOut:_$,easeOut:qde,circIn:qw,circInOut:M$,circOut:x$,backIn:$w,backInOut:g$,backOut:f$,anticipate:v$},zde=e=>typeof e=="string",jC=e=>{if(L$(e)){rt(e.length===4,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");const[t,n,c,i]=e;return X1(t,n,c,i)}else if(zde(e))return rt(SC[e]!==void 0,`Invalid easing type '${e}'`,"invalid-easing-type"),SC[e];return e},ci=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Vde(e,t){let n=new Set,c=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:c;return p&&s.add(u),g.has(u)||g.add(u),u},cancel:u=>{c.delete(u),s.delete(u)},process:u=>{if(d=u,i){r=!0;return}i=!0,[n,c]=[c,n],n.forEach(l),n.clear(),i=!1,r&&(r=!1,h.process(u))}};return h}const Pde=40;function I$(e,t){let n=!1,c=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,s=ci.reduce((I,b)=>(I[b]=Vde(r),I),{}),{setup:d,read:l,resolveKeyframes:h,preUpdate:u,update:p,preRender:y,render:f,postRender:g}=s,m=()=>{const I=Lt.useManualTiming?i.timestamp:performance.now();n=!1,Lt.useManualTiming||(i.delta=c?1e3/60:Math.max(Math.min(I-i.timestamp,Pde),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),g.process(i),i.isProcessing=!1,n&&t&&(c=!1,e(m))},x=()=>{n=!0,c=!0,i.isProcessing||e(m)};return{schedule:ci.reduce((I,b)=>{const w=s[b];return I[b]=(N,_=!1,L=!1)=>(n||x(),w.schedule(N,_,L)),I},{}),cancel:I=>{for(let b=0;b<ci.length;b++)s[ci[b]].cancel(I)},state:i,steps:s}}const{schedule:fe,cancel:It,state:qe,steps:ZL}=I$(typeof requestAnimationFrame<"u"?requestAnimationFrame:at,!0);let sL;function Tde(){sL=void 0}const Ue={now:()=>(sL===void 0&&Ue.set(qe.isProcessing||Lt.useManualTiming?qe.timestamp:performance.now()),sL),set:e=>{sL=e,queueMicrotask(Tde)}},b$=e=>t=>typeof t=="string"&&t.startsWith(e),Aw=b$("--"),Hde=b$("var(--"),zw=e=>Hde(e)?Dde.test(e.split("/*")[0].trim()):!1,Dde=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,r1={test:e=>typeof e=="number",parse:parseFloat,transform:e=>e},E1={...r1,transform:e=>_t(0,1,e)},ii={...r1,default:1},P1=e=>Math.round(e*1e5)/1e5,Vw=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Bde(e){return e==null}const Rde=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Pw=(e,t)=>n=>!!(typeof n=="string"&&Rde.test(n)&&n.startsWith(e)||t&&!Bde(n)&&Object.prototype.hasOwnProperty.call(n,t)),w$=(e,t,n)=>c=>{if(typeof c!="string")return c;const[i,r,s,d]=c.match(Vw);return{[e]:parseFloat(i),[t]:parseFloat(r),[n]:parseFloat(s),alpha:d!==void 0?parseFloat(d):1}},Fde=e=>_t(0,255,e),XL={...r1,transform:e=>Math.round(Fde(e))},Nc={test:Pw("rgb","red"),parse:w$("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:c=1})=>"rgba("+XL.transform(e)+", "+XL.transform(t)+", "+XL.transform(n)+", "+P1(E1.transform(c))+")"};function Ede(e){let t="",n="",c="",i="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),c=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),c=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,c+=c,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(c,16),alpha:i?parseInt(i,16)/255:1}}const Jb={test:Pw("#"),parse:Ede,transform:Nc.transform},Y1=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),jt=Y1("deg"),kt=Y1("%"),J=Y1("px"),Ode=Y1("vh"),Ude=Y1("vw"),$C={...kt,parse:e=>kt.parse(e)/100,transform:e=>kt.transform(e*100)},Gc={test:Pw("hsl","hue"),parse:w$("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:c=1})=>"hsla("+Math.round(e)+", "+kt.transform(P1(t))+", "+kt.transform(P1(n))+", "+P1(E1.transform(c))+")"},we={test:e=>Nc.test(e)||Jb.test(e)||Gc.test(e),parse:e=>Nc.test(e)?Nc.parse(e):Gc.test(e)?Gc.parse(e):Jb.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Nc.transform(e):Gc.transform(e),getAnimatableNone:e=>{const t=we.parse(e);return t.alpha=0,we.transform(t)}},Wde=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Gde(e){return isNaN(e)&&typeof e=="string"&&(e.match(Vw)?.length||0)+(e.match(Wde)?.length||0)>0}const C$="number",N$="color",Kde="var",Zde="var(",qC="${}",Xde=/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 O1(e){const t=e.toString(),n=[],c={color:[],number:[],var:[]},i=[];let r=0;const d=t.replace(Xde,l=>(we.test(l)?(c.color.push(r),i.push(N$),n.push(we.parse(l))):l.startsWith(Zde)?(c.var.push(r),i.push(Kde),n.push(l)):(c.number.push(r),i.push(C$),n.push(parseFloat(l))),++r,qC)).split(qC);return{values:n,split:d,indexes:c,types:i}}function S$(e){return O1(e).values}function j$(e){const{split:t,types:n}=O1(e),c=t.length;return i=>{let r="";for(let s=0;s<c;s++)if(r+=t[s],i[s]!==void 0){const d=n[s];d===C$?r+=P1(i[s]):d===N$?r+=we.transform(i[s]):r+=i[s]}return r}}const Yde=e=>typeof e=="number"?0:we.test(e)?we.getAnimatableNone(e):e;function Jde(e){const t=S$(e);return j$(e)(t.map(Yde))}const Ht={test:Gde,parse:S$,createTransformer:j$,getAnimatableNone:Jde};function YL(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 Qde({hue:e,saturation:t,lightness:n,alpha:c}){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=YL(l,d,e+1/3),r=YL(l,d,e),s=YL(l,d,e-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(s*255),alpha:c}}function fL(e,t){return n=>n>0?t:e}const ve=(e,t,n)=>e+(t-e)*n,JL=(e,t,n)=>{const c=e*e,i=n*(t*t-c)+c;return i<0?0:Math.sqrt(i)},e0e=[Jb,Nc,Gc],t0e=e=>e0e.find(t=>t.test(e));function AC(e){const t=t0e(e);if(i1(!!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===Gc&&(n=Qde(n)),n}const zC=(e,t)=>{const n=AC(e),c=AC(t);if(!n||!c)return fL(e,t);const i={...n};return r=>(i.red=JL(n.red,c.red,r),i.green=JL(n.green,c.green,r),i.blue=JL(n.blue,c.blue,r),i.alpha=ve(n.alpha,c.alpha,r),Nc.transform(i))},Qb=new Set(["none","hidden"]);function a0e(e,t){return Qb.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function n0e(e,t){return n=>ve(e,t,n)}function Tw(e){return typeof e=="number"?n0e:typeof e=="string"?zw(e)?fL:we.test(e)?zC:i0e:Array.isArray(e)?$$:typeof e=="object"?we.test(e)?zC:o0e:fL}function $$(e,t){const n=[...e],c=n.length,i=e.map((r,s)=>Tw(r)(r,t[s]));return r=>{for(let s=0;s<c;s++)n[s]=i[s](r);return n}}function o0e(e,t){const n={...e,...t},c={};for(const i in n)e[i]!==void 0&&t[i]!==void 0&&(c[i]=Tw(e[i])(e[i],t[i]));return i=>{for(const r in c)n[r]=c[r](i);return n}}function c0e(e,t){const n=[],c={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const r=t.types[i],s=e.indexes[r][c[r]],d=e.values[s]??0;n[i]=d,c[r]++}return n}const i0e=(e,t)=>{const n=Ht.createTransformer(t),c=O1(e),i=O1(t);return c.indexes.var.length===i.indexes.var.length&&c.indexes.color.length===i.indexes.color.length&&c.indexes.number.length>=i.indexes.number.length?Qb.has(e)&&!i.values.length||Qb.has(t)&&!c.values.length?a0e(e,t):Z1($$(c0e(c,i),i.values),n):(i1(!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"),fL(e,t))};function q$(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?ve(e,t,n):Tw(e)(e,t)}const r0e=e=>{const t=({timestamp:n})=>e(n);return{start:(n=!0)=>fe.update(t,n),stop:()=>It(t),now:()=>qe.isProcessing?qe.timestamp:Ue.now()}},A$=(e,t,n=10)=>{let c="";const i=Math.max(Math.round(t/n),2);for(let r=0;r<i;r++)c+=Math.round(e(r/(i-1))*1e4)/1e4+", ";return`linear(${c.substring(0,c.length-2)})`},gL=2e4;function Hw(e){let t=0;const n=50;let c=e.next(t);for(;!c.done&&t<gL;)t+=n,c=e.next(t);return t>=gL?1/0:t}function s0e(e,t=100,n){const c=n({...e,keyframes:[0,t]}),i=Math.min(Hw(c),gL);return{type:"keyframes",ease:r=>c.next(i*r).value/t,duration:et(i)}}const d0e=5;function z$(e,t,n){const c=Math.max(t-d0e,0);return p$(n-e(c),t-c)}const _e={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},QL=.001;function l0e({duration:e=_e.duration,bounce:t=_e.bounce,velocity:n=_e.velocity,mass:c=_e.mass}){let i,r;i1(e<=it(_e.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let s=1-t;s=_t(_e.minDamping,_e.maxDamping,s),e=_t(_e.minDuration,_e.maxDuration,et(e)),s<1?(i=h=>{const u=h*s,p=u*e,y=u-n,f=ew(h,s),g=Math.exp(-p);return QL-y/f*g},r=h=>{const p=h*s*e,y=p*n+n,f=Math.pow(s,2)*Math.pow(h,2)*e,g=Math.exp(-p),m=ew(Math.pow(h,2),s);return(-i(h)+QL>0?-1:1)*((y-f)*g)/m}):(i=h=>{const u=Math.exp(-h*e),p=(h-n)*e+1;return-QL+u*p},r=h=>{const u=Math.exp(-h*e),p=(n-h)*(e*e);return u*p});const d=5/e,l=u0e(i,r,d);if(e=it(e),isNaN(l))return{stiffness:_e.stiffness,damping:_e.damping,duration:e};{const h=Math.pow(l,2)*c;return{stiffness:h,damping:s*2*Math.sqrt(c*h),duration:e}}}const h0e=12;function u0e(e,t,n){let c=n;for(let i=1;i<h0e;i++)c=c-e(c)/t(c);return c}function ew(e,t){return e*Math.sqrt(1-t*t)}const p0e=["duration","bounce"],y0e=["stiffness","damping","mass"];function VC(e,t){return t.some(n=>e[n]!==void 0)}function k0e(e){let t={velocity:_e.velocity,stiffness:_e.stiffness,damping:_e.damping,mass:_e.mass,isResolvedFromDuration:!1,...e};if(!VC(e,y0e)&&VC(e,p0e))if(e.visualDuration){const n=e.visualDuration,c=2*Math.PI/(n*1.2),i=c*c,r=2*_t(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:_e.mass,stiffness:i,damping:r}}else{const n=l0e(e);t={...t,...n,mass:_e.mass},t.isResolvedFromDuration=!0}return t}function vL(e=_e.visualDuration,t=_e.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:c,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}=k0e({...n,velocity:-et(n.velocity||0)}),g=y||0,m=h/(2*Math.sqrt(l*u)),x=s-r,M=et(Math.sqrt(l/u)),v=Math.abs(x)<5;c||(c=v?_e.restSpeed.granular:_e.restSpeed.default),i||(i=v?_e.restDelta.granular:_e.restDelta.default);let I;if(m<1){const w=ew(M,m);I=N=>{const _=Math.exp(-m*M*N);return s-_*((g+m*M*x)/w*Math.sin(w*N)+x*Math.cos(w*N))}}else if(m===1)I=w=>s-Math.exp(-M*w)*(x+(g+M*x)*w);else{const w=M*Math.sqrt(m*m-1);I=N=>{const _=Math.exp(-m*M*N),L=Math.min(w*N,300);return s-_*((g+m*M*x)*Math.sinh(L)+w*x*Math.cosh(L))/w}}const b={calculatedDuration:f&&p||null,next:w=>{const N=I(w);if(f)d.done=w>=p;else{let _=w===0?g:0;m<1&&(_=w===0?it(g):z$(I,w,N));const L=Math.abs(_)<=c,j=Math.abs(s-N)<=i;d.done=L&&j}return d.value=d.done?s:N,d},toString:()=>{const w=Math.min(Hw(b),gL),N=A$(_=>b.next(w*_).value,w,30);return w+"ms "+N},toTransition:()=>{}};return b}vL.applyToOptions=e=>{const t=s0e(e,100,vL);return e.ease=t.ease,e.duration=it(t.duration),e.type="keyframes",e};function tw({keyframes:e,velocity:t=0,power:n=.8,timeConstant:c=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,g=L=>d===void 0?l:l===void 0||Math.abs(d-L)<Math.abs(l-L)?d:l;let m=n*t;const x=p+m,M=s===void 0?x:s(x);M!==x&&(m=M-p);const v=L=>-m*Math.exp(-L/c),I=L=>M+v(L),b=L=>{const j=v(L),S=I(L);y.done=Math.abs(j)<=h,y.value=y.done?M:S};let w,N;const _=L=>{f(y.value)&&(w=L,N=vL({keyframes:[y.value,g(y.value)],velocity:z$(I,L,y.value),damping:i,stiffness:r,restDelta:h,restSpeed:u}))};return _(0),{calculatedDuration:null,next:L=>{let j=!1;return!N&&w===void 0&&(j=!0,b(L),_(L)),w!==void 0&&L>=w?N.next(L-w):(!j&&b(L),y)}}}function m0e(e,t,n){const c=[],i=n||Lt.mix||q$,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]||at:t;d=Z1(l,d)}c.push(d)}return c}function V$(e,t,{clamp:n=!0,ease:c,mixer:i}={}){const r=e.length;if(rt(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=m0e(t,c,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=F1(e[p],e[p+1],u);return d[p](y)};return n?u=>h(_t(e[0],e[r-1],u)):h}function f0e(e,t){const n=e[e.length-1];for(let c=1;c<=t;c++){const i=F1(0,t,c);e.push(ve(n,1,i))}}function g0e(e){const t=[0];return f0e(t,e.length-1),t}function v0e(e,t){return e.map(n=>n*t)}function x0e(e,t){return e.map(()=>t||_$).splice(0,e.length-1)}function Kc({duration:e=300,keyframes:t,times:n,ease:c="easeInOut"}){const i=Ade(c)?c.map(jC):jC(c),r={done:!1,value:t[0]},s=v0e(n&&n.length===t.length?n:g0e(t),e),d=V$(s,t,{ease:Array.isArray(i)?i:x0e(t,i)});return{calculatedDuration:e,next:l=>(r.value=d(l),r.done=l>=e,r)}}const M0e=e=>e!==null;function Dw(e,{repeat:t,repeatType:n="loop"},c,i=1){const r=e.filter(M0e),d=i<0||t&&n!=="loop"&&t%2===1?0:r.length-1;return!d||c===void 0?r[d]:c}const _0e={decay:tw,inertia:tw,tween:Kc,keyframes:Kc,spring:vL};function P$(e){typeof e.type=="string"&&(e.type=_0e[e.type])}class Bw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,n){return this.finished.then(t,n)}}const L0e=e=>e/100;class Rw extends Bw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==Ue.now()&&this.tick(Ue.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;P$(t);const{type:n=Kc,repeat:c=0,repeatDelay:i=0,repeatType:r,velocity:s=0}=t;let{keyframes:d}=t;const l=n||Kc;process.env.NODE_ENV!=="production"&&l!==Kc&&rt(d.length<=2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${d}`,"spring-two-frames"),l!==Kc&&typeof d[0]!="number"&&(this.mixKeyframes=Z1(L0e,q$(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=Hw(h));const{calculatedDuration:u}=h;this.calculatedDuration=u,this.resolvedDuration=u+i,this.totalDuration=this.resolvedDuration*(c+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:c,totalDuration:i,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:d,calculatedDuration:l}=this;if(this.startTime===null)return c.next(0);const{delay:h=0,keyframes:u,repeat:p,repeatType:y,repeatDelay:f,type:g,onUpdate:m,finalKeyframe:x}=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 M=this.currentTime-h*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?M<0:M>i;this.currentTime=Math.max(M,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let I=this.currentTime,b=c;if(p){const L=Math.min(this.currentTime,i)/d;let j=Math.floor(L),S=L%1;!S&&L>=1&&(S=1),S===1&&j--,j=Math.min(j,p+1),!!(j%2)&&(y==="reverse"?(S=1-S,f&&(S-=f/d)):y==="mirror"&&(b=s)),I=_t(0,1,S)*d}const w=v?{done:!1,value:u[0]}:b.next(I);r&&(w.value=r(w.value));let{done:N}=w;!v&&l!==null&&(N=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&N);return _&&g!==tw&&(w.value=Dw(u,this.options,x,this.speed)),m&&m(w.value),_&&this.finish(),w}then(t,n){return this.finished.then(t,n)}get duration(){return et(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+et(t)}get time(){return et(this.currentTime)}set time(t){t=it(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(Ue.now());const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=et(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=r0e,startTime:n}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),this.options.onPlay?.();const c=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=c):this.holdTime!==null?this.startTime=c-this.holdTime:this.startTime||(this.startTime=n??c),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(Ue.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 I0e(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}const Sc=e=>e*180/Math.PI,aw=e=>{const t=Sc(Math.atan2(e[1],e[0]));return nw(t)},b0e={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:aw,rotateZ:aw,skewX:e=>Sc(Math.atan(e[1])),skewY:e=>Sc(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},nw=e=>(e=e%360,e<0&&(e+=360),e),PC=aw,TC=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),HC=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),w0e={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:TC,scaleY:HC,scale:e=>(TC(e)+HC(e))/2,rotateX:e=>nw(Sc(Math.atan2(e[6],e[5]))),rotateY:e=>nw(Sc(Math.atan2(-e[2],e[0]))),rotateZ:PC,rotate:PC,skewX:e=>Sc(Math.atan(e[4])),skewY:e=>Sc(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function ow(e){return e.includes("scale")?1:0}function cw(e,t){if(!e||e==="none")return ow(t);const n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let c,i;if(n)c=w0e,i=n;else{const d=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);c=b0e,i=d}if(!i)return ow(t);const r=c[t],s=i[1].split(",").map(N0e);return typeof r=="function"?r(s):s[r]}const C0e=(e,t)=>{const{transform:n="none"}=getComputedStyle(e);return cw(n,t)};function N0e(e){return parseFloat(e.trim())}const s1=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],d1=new Set(s1),DC=e=>e===r1||e===J,S0e=new Set(["x","y","z"]),j0e=s1.filter(e=>!S0e.has(e));function $0e(e){const t=[];return j0e.forEach(n=>{const c=e.getValue(n);c!==void 0&&(t.push([n,c.get()]),c.set(n.startsWith("scale")?1:0))}),t}const Vc={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})=>cw(t,"x"),y:(e,{transform:t})=>cw(t,"y")};Vc.translateX=Vc.x;Vc.translateY=Vc.y;const Pc=new Set;let iw=!1,rw=!1,sw=!1;function T$(){if(rw){const e=Array.from(Pc).filter(c=>c.needsMeasurement),t=new Set(e.map(c=>c.element)),n=new Map;t.forEach(c=>{const i=$0e(c);i.length&&(n.set(c,i),c.render())}),e.forEach(c=>c.measureInitialState()),t.forEach(c=>{c.render();const i=n.get(c);i&&i.forEach(([r,s])=>{c.getValue(r)?.set(s)})}),e.forEach(c=>c.measureEndState()),e.forEach(c=>{c.suspendedScrollY!==void 0&&window.scrollTo(0,c.suspendedScrollY)})}rw=!1,iw=!1,Pc.forEach(e=>e.complete(sw)),Pc.clear()}function H$(){Pc.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(rw=!0)})}function q0e(){sw=!0,H$(),T$(),sw=!1}class Fw{constructor(t,n,c,i,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=c,this.motionValue=i,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(Pc.add(this),iw||(iw=!0,fe.read(H$),fe.resolveKeyframes(T$))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:c,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(c&&n){const d=c.readValue(n,s);d!=null&&(t[0]=d)}t[0]===void 0&&(t[0]=s),i&&r===void 0&&i.set(t[0])}I0e(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Pc.delete(this)}cancel(){this.state==="scheduled"&&(Pc.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const A0e=e=>e.startsWith("--");function z0e(e,t,n){A0e(t)?e.style.setProperty(t,n):e.style[t]=n}const V0e=Nw(()=>window.ScrollTimeline!==void 0),P0e={};function T0e(e,t){const n=Nw(e);return()=>P0e[t]??n()}const D$=T0e(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),x1=([e,t,n,c])=>`cubic-bezier(${e}, ${t}, ${n}, ${c})`,BC={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:x1([0,.65,.55,1]),circOut:x1([.55,0,1,.45]),backIn:x1([.31,.01,.66,-.59]),backOut:x1([.33,1.53,.69,.99])};function B$(e,t){if(e)return typeof e=="function"?D$()?A$(e,t):"ease-out":L$(e)?x1(e):Array.isArray(e)?e.map(n=>B$(n,t)||BC.easeOut):BC[e]}function H0e(e,t,n,{delay:c=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=B$(d,i);Array.isArray(p)&&(u.easing=p);const y={delay:c,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 R$(e){return typeof e=="function"&&"applyToOptions"in e}function D0e({type:e,...t}){return R$(e)&&D$()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class B0e extends Bw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,!t)return;const{element:n,name:c,keyframes:i,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:d,onComplete:l}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,rt(typeof t.type!="string",`Mini animate() doesn't support "type" as a string.`,"mini-spring");const h=D0e(t);this.animation=H0e(n,c,i,h,r),h.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const u=Dw(i,this.options,d,this.speed);this.updateMotionValue?this.updateMotionValue(u):z0e(n,c,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 et(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+et(t)}get time(){return et(Number(this.animation.currentTime)||0)}set time(t){this.finishedTime=null,this.animation.currentTime=it(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&&V0e()?(this.animation.timeline=t,at):n(this)}}const F$={anticipate:v$,backInOut:g$,circInOut:M$};function R0e(e){return e in F$}function F0e(e){typeof e.ease=="string"&&R0e(e.ease)&&(e.ease=F$[e.ease])}const RC=10;class E0e extends B0e{constructor(t){F0e(t),P$(t),super(t),t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:n,onUpdate:c,onComplete:i,element:r,...s}=this.options;if(!n)return;if(t!==void 0){n.set(t);return}const d=new Rw({...s,autoplay:!1}),l=it(this.finishedTime??this.time);n.setWithVelocity(d.sample(l-RC).value,d.sample(l).value,RC),d.stop()}}const FC=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Ht.test(e)||e==="0")&&!e.startsWith("url("));function O0e(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 U0e(e,t,n,c){const i=e[0];if(i===null)return!1;if(t==="display"||t==="visibility")return!0;const r=e[e.length-1],s=FC(i,t),d=FC(r,t);return i1(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:O0e(e)||(n==="spring"||R$(n))&&c}function dw(e){e.duration=0,e.type="keyframes"}const W0e=new Set(["opacity","clipPath","filter","transform"]),G0e=Nw(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function K0e(e){const{motionValue:t,name:n,repeatDelay:c,repeatType:i,damping:r,type:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:h}=t.owner.getProps();return G0e()&&n&&W0e.has(n)&&(n!=="transform"||!h)&&!l&&!c&&i!=="mirror"&&r!==0&&s!=="inertia"}const Z0e=40;class X0e extends Bw{constructor({autoplay:t=!0,delay:n=0,type:c="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=Ue.now();const y={autoplay:t,delay:n,type:c,repeat:i,repeatDelay:r,repeatType:s,name:l,motionValue:h,element:u,...p},f=u?.KeyframeResolver||Fw;this.keyframeResolver=new f(d,(g,m,x)=>this.onKeyframesResolved(g,m,y,!x),l,h,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,n,c,i){this.keyframeResolver=void 0;const{name:r,type:s,velocity:d,delay:l,isHandoff:h,onUpdate:u}=c;this.resolvedAt=Ue.now(),U0e(t,r,s,d)||((Lt.instantAnimations||!l)&&u?.(Dw(t,c,n)),t[0]=t[t.length-1],dw(c),c.repeat=0);const y={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>Z0e?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...c,keyframes:t},f=!h&&K0e(y)?new E0e({...y,element:y.motionValue.owner.current}):new Rw(y);f.finished.then(()=>this.notifyFinished()).catch(at),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(),q0e()),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 Y0e=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function J0e(e){const t=Y0e.exec(e);if(!t)return[,];const[,n,c,i]=t;return[`--${n??c}`,i]}const Q0e=4;function E$(e,t,n=1){rt(n<=Q0e,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");const[c,i]=J0e(e);if(!c)return;const r=window.getComputedStyle(t).getPropertyValue(c);if(r){const s=r.trim();return l$(s)?parseFloat(s):s}return zw(i)?E$(i,t,n+1):i}function Ew(e,t){return e?.[t]??e?.default??e}const O$=new Set(["width","height","top","left","right","bottom",...s1]),ele={test:e=>e==="auto",parse:e=>e},U$=e=>t=>t.test(e),W$=[r1,J,kt,jt,Ude,Ode,ele],EC=e=>W$.find(U$(e));function tle(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||u$(e):!0}const ale=new Set(["brightness","contrast","saturate","opacity"]);function nle(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[c]=n.match(Vw)||[];if(!c)return e;const i=n.replace(c,"");let r=ale.has(t)?1:0;return c!==n&&(r*=100),t+"("+r+i+")"}const ole=/\b([a-z-]*)\(.*?\)/gu,lw={...Ht,getAnimatableNone:e=>{const t=e.match(ole);return t?t.map(nle).join(" "):e}},OC={...r1,transform:Math.round},cle={rotate:jt,rotateX:jt,rotateY:jt,rotateZ:jt,scale:ii,scaleX:ii,scaleY:ii,scaleZ:ii,skew:jt,skewX:jt,skewY:jt,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:E1,originX:$C,originY:$C,originZ:J},Ow={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,backgroundPositionX:J,backgroundPositionY:J,...cle,zIndex:OC,fillOpacity:E1,strokeOpacity:E1,numOctaves:OC},ile={...Ow,color:we,backgroundColor:we,outlineColor:we,fill:we,stroke:we,borderColor:we,borderTopColor:we,borderRightColor:we,borderBottomColor:we,borderLeftColor:we,filter:lw,WebkitFilter:lw},G$=e=>ile[e];function K$(e,t){let n=G$(e);return n!==lw&&(n=Ht),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const rle=new Set(["auto","none","0"]);function sle(e,t,n){let c=0,i;for(;c<e.length&&!i;){const r=e[c];typeof r=="string"&&!rle.has(r)&&O1(r).values.length&&(i=e[c]),c++}if(i&&n)for(const r of t)e[r]=K$(n,i)}class dle extends Fw{constructor(t,n,c,i,r){super(t,n,c,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:c}=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(),zw(h))){const u=E$(h,n.current);u!==void 0&&(t[l]=u),l===t.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!O$.has(c)||t.length!==2)return;const[i,r]=t,s=EC(i),d=EC(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 Vc[c]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:n}=this,c=[];for(let i=0;i<t.length;i++)(t[i]===null||tle(t[i]))&&c.push(i);c.length&&sle(t,c,n)}measureInitialState(){const{element:t,unresolvedKeyframes:n,name:c}=this;if(!t||!t.current)return;c==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Vc[c](t.measureViewportBox(),window.getComputedStyle(t.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&t.getValue(c,i).jump(i,!1)}measureEndState(){const{element:t,name:n,unresolvedKeyframes:c}=this;if(!t||!t.current)return;const i=t.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=c.length-1,s=c[r];c[r]=Vc[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 lle(e,t,n){if(e instanceof EventTarget)return[e];if(typeof e=="string"){let c=document;const i=n?.[e]??c.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}const Z$=(e,t)=>t&&typeof e=="number"?t.transform(e):e;function X$(e){return h$(e)&&"offsetHeight"in e}const UC=30,hle=e=>!isNaN(parseFloat(e)),T1={current:void 0};class ule{constructor(t,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=c=>{const i=Ue.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(c),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=Ue.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=hle(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return process.env.NODE_ENV!=="production"&&jw(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new Sw);const c=this.events[t].add(n);return t==="change"?()=>{c(),fe.read(()=>{this.events.change.getSize()||this.stop()})}:c}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,c){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-c}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 T1.current&&T1.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=Ue.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>UC)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,UC);return p$(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 Tc(e,t){return new ule(e,t)}const{schedule:Uw}=I$(queueMicrotask,!1),ct={x:!1,y:!1};function Y$(){return ct.x||ct.y}function ple(e){return e==="x"||e==="y"?ct[e]?null:(ct[e]=!0,()=>{ct[e]=!1}):ct.x||ct.y?null:(ct.x=ct.y=!0,()=>{ct.x=ct.y=!1})}function J$(e,t){const n=lle(e),c=new AbortController,i={passive:!0,...t,signal:c.signal};return[n,i,()=>c.abort()]}function WC(e){return!(e.pointerType==="touch"||Y$())}function yle(e,t,n={}){const[c,i,r]=J$(e,n),s=d=>{if(!WC(d))return;const{target:l}=d,h=t(l,d);if(typeof h!="function"||!l)return;const u=p=>{WC(p)&&(h(p),l.removeEventListener("pointerleave",u))};l.addEventListener("pointerleave",u,i)};return c.forEach(d=>{d.addEventListener("pointerenter",s,i)}),r}const Q$=(e,t)=>t?e===t?!0:Q$(e,t.parentElement):!1,Ww=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1,kle=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function mle(e){return kle.has(e.tagName)||e.tabIndex!==-1}const dL=new WeakSet;function GC(e){return t=>{t.key==="Enter"&&e(t)}}function eI(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const fle=(e,t)=>{const n=e.currentTarget;if(!n)return;const c=GC(()=>{if(dL.has(n))return;eI(n,"down");const i=GC(()=>{eI(n,"up")}),r=()=>eI(n,"cancel");n.addEventListener("keyup",i,t),n.addEventListener("blur",r,t)});n.addEventListener("keydown",c,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",c),t)};function KC(e){return Ww(e)&&!Y$()}function gle(e,t,n={}){const[c,i,r]=J$(e,n),s=d=>{const l=d.currentTarget;if(!KC(d))return;dL.add(l);const h=t(l,d),u=(f,g)=>{window.removeEventListener("pointerup",p),window.removeEventListener("pointercancel",y),dL.has(l)&&dL.delete(l),KC(f)&&typeof h=="function"&&h(f,{success:g})},p=f=>{u(f,l===window||l===document||n.useGlobalTarget||Q$(l,f.target))},y=f=>{u(f,!1)};window.addEventListener("pointerup",p,i),window.addEventListener("pointercancel",y,i)};return c.forEach(d=>{(n.useGlobalTarget?window:d).addEventListener("pointerdown",s,i),X$(d)&&(d.addEventListener("focus",h=>fle(h,i)),!mle(d)&&!d.hasAttribute("tabindex")&&(d.tabIndex=0))}),r}function eq(e){return h$(e)&&"ownerSVGElement"in e}function vle(e){return eq(e)&&e.tagName==="svg"}function xle(...e){const t=!Array.isArray(e[0]),n=t?0:-1,c=e[0+n],i=e[1+n],r=e[2+n],s=e[3+n],d=V$(i,r,s);return t?d(c):d}const Ae=e=>!!(e&&e.getVelocity),Mle=[...W$,we,Ht],_le=e=>Mle.find(U$(e)),CL=k.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});function ZC(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lle(...e){return t=>{let n=!1;const c=e.map(i=>{const r=ZC(i,t);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<c.length;i++){const r=c[i];typeof r=="function"?r():ZC(e[i],null)}}}}function Ile(...e){return ee.useCallback(Lle(...e),e)}class ble extends ee.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const c=n.offsetParent,i=X$(c)&&c.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 wle({children:e,isPresent:t,anchorX:n,root:c}){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(CL),l=Ile(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 g=n==="left"?`left: ${y}`:`right: ${f}`;r.current.dataset.motionPopId=i;const m=document.createElement("style");d&&(m.nonce=d);const x=c??document.head;return x.appendChild(m),m.sheet&&m.sheet.insertRule(`
|
|
8265
8265
|
[data-motion-pop-id="${i}"] {
|
|
8266
8266
|
position: absolute !important;
|
|
8267
8267
|
width: ${h}px !important;
|
|
@@ -8269,7 +8269,7 @@
|
|
|
8269
8269
|
${g}px !important;
|
|
8270
8270
|
top: ${p}px !important;
|
|
8271
8271
|
}
|
|
8272
|
-
`),()=>{x.contains(m)&&x.removeChild(m)}},[t]),o.jsx(ble,{isPresent:t,childRef:r,sizeRef:s,children:te.cloneElement(e,{ref:l})})}const Cle=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Dt(Nle),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 g of h.values())if(!g)return;c&&c()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,c]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,g)=>h.set(g,!1))},[n]),te.useEffect(()=>{!n&&!h.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(wle,{isPresent:n,anchorX:d,root:l,children:e})),o.jsx(wL.Provider,{value:y,children:e})};function Nle(){return new Map}function tq(e=!0){const t=k.useContext(wL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:c,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&c&&c(r),[r,c,e]);return!n&&c?[!1,s]:[!0]}const ri=e=>e.key||"";function XC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Sle=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=tq(s),p=k.useMemo(()=>XC(e),[e]),y=s&&!h?[]:p.map(ri),f=k.useRef(!0),g=k.useRef(p),m=Dt(()=>new Map),[x,M]=k.useState(p),[v,L]=k.useState(p);bw(()=>{f.current=!1,g.current=p;for(let N=0;N<v.length;N++){const _=ri(v[N]);y.includes(_)?m.delete(_):m.get(_)!==!0&&m.set(_,!1)}},[v,y.length,y.join("-")]);const b=[];if(p!==x){let N=[...p];for(let _=0;_<v.length;_++){const I=v[_],j=ri(I);y.includes(j)||(N.splice(_,0,I),b.push(I))}return r==="wait"&&b.length&&(N=b),L(XC(N)),M(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(Lw);return o.jsx(o.Fragment,{children:v.map(N=>{const _=ri(N),I=s&&!h?!1:p===v||y.includes(_),j=()=>{if(m.has(_))m.set(_,!0);else return;let S=!0;m.forEach(C=>{C||(S=!1)}),S&&(w?.(),L(g.current),s&&u?.(),c&&c())};return o.jsx(Cle,{isPresent:I,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:I?void 0:j,anchorX:d,children:N},_)})})},aq=k.createContext({strict:!1}),YC={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"]},c1={};for(const e in YC)c1[e]={isEnabled:t=>YC[e].some(n=>!!t[n])};function jle(e){for(const t in e)c1[t]={...c1[t],...e[t]}}const $le=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 xL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||$le.has(e)}let nq=e=>!xL(e);function qle(e){typeof e=="function"&&(nq=t=>t.startsWith("on")?!xL(t):e(t))}try{qle(require("@emotion/is-prop-valid").default)}catch{}function Ale(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(nq(i)||n===!0&&xL(i)||!t&&!xL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const NL=k.createContext({});function SL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function U1(e){return typeof e=="string"||Array.isArray(e)}const Gw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kw=["initial",...Gw];function jL(e){return SL(e.animate)||Kw.some(t=>U1(e[t]))}function oq(e){return!!(jL(e)||e.variants)}function zle(e,t){if(jL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||U1(n)?n:void 0,animate:U1(c)?c:void 0}}return e.inherit!==!1?t:{}}function Vle(e){const{initial:t,animate:n}=zle(e,k.useContext(NL));return k.useMemo(()=>({initial:t,animate:n}),[JC(t),JC(n)])}function JC(e){return Array.isArray(e)?e.join(" "):e}const W1={};function Ple(e){for(const t in e)W1[t]=e[t],Aw(t)&&(W1[t].isCSSVariable=!0)}function cq(e,{layout:t,layoutId:n}){return d1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!W1[e]||e==="opacity")}const Tle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Hle=s1.length;function Dle(e,t,n){let c="",i=!0;for(let r=0;r<Hle;r++){const s=s1[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=Z$(d,Ow[s]);if(!l){i=!1;const u=Tle[s]||s;c+=`${u}(${h}) `}n&&(t[s]=h)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Zw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(d1.has(l)){s=!0;continue}else if(Aw(l)){i[l]=h;continue}else{const u=Z$(h,Ow[l]);l.startsWith("origin")?(d=!0,r[l]=u):c[l]=u}}if(t.transform||(s||n?c.transform=Dle(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;c.transformOrigin=`${l} ${h} ${u}`}}const Xw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iq(e,t,n){for(const c in t)!Ae(t[c])&&!cq(c,n)&&(e[c]=t[c])}function Ble({transformTemplate:e},t){return k.useMemo(()=>{const n=Xw();return Zw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Rle(e,t){const n=e.style||{},c={};return iq(c,n,e),Object.assign(c,Ble(e,t)),c}function Fle(e,t){const n={},c=Rle(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.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=c,n}const Ele={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ole={offset:"strokeDashoffset",array:"strokeDasharray"};function Ule(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?Ele:Ole;e[r.offset]=Q.transform(-c);const s=Q.transform(t),d=Q.transform(n);e[r.array]=`${s} ${d}`}function rq(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Zw(e,d,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),c!==void 0&&(p.scale=c),i!==void 0&&Ule(p,i,r,s,!1)}const sq=()=>({...Xw(),attrs:{}}),dq=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Wle(e,t,n,c){const i=k.useMemo(()=>{const r=sq();return rq(r,t,dq(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};iq(r,e.style,e),i.style={...r,...i.style}}return i}const Gle=["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 Yw(e){return typeof e!="string"||e.includes("-")?!1:!!(Gle.indexOf(e)>-1||/[A-Z]/u.test(e))}function Kle(e,t,n,{latestValues:c},i,r=!1){const d=(Yw(e)?Wle:Fle)(t,c,i,e),l=Ale(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Ae(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function QC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Jw(e,t,n,c){if(typeof t=="function"){const[i,r]=QC(c);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]=QC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function lL(e){return Ae(e)?e.get():e}function Zle({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:Xle(n,c,i,e),renderState:t()}}function Xle(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=lL(r[y]);let{initial:s,animate:d}=e;const l=jL(e),h=oq(e);t&&h&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!SL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=Jw(e,y[f]);if(g){const{transitionEnd:m,transition:x,...M}=g;for(const v in M){let L=M[v];if(Array.isArray(L)){const b=u?L.length-1:0;L=L[b]}L!==null&&(i[v]=L)}for(const v in m)i[v]=m[v]}}}return i}const lq=e=>(t,n)=>{const c=k.useContext(NL),i=k.useContext(wL),r=()=>Zle(e,t,c,i);return n?r():Dt(r)};function Qw(e,t,n){const{style:c}=e,i={};for(const r in c)(Ae(c[r])||t.style&&Ae(t.style[r])||cq(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const Yle=lq({scrapeMotionValuesFromProps:Qw,createRenderState:Xw});function hq(e,t,n){const c=Qw(e,t,n);for(const i in e)if(Ae(e[i])||Ae(t[i])){const r=s1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const Jle=lq({scrapeMotionValuesFromProps:hq,createRenderState:sq}),Qle=Symbol.for("motionComponentSymbol");function Zc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function ehe(e,t,n){return k.useCallback(c=>{c&&e.onMount&&e.onMount(c),t&&(c?t.mount(c):t.unmount()),n&&(typeof n=="function"?n(c):Zc(n)&&(n.current=c))},[t])}const eC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),the="framerAppearId",uq="data-"+eC(the),pq=k.createContext({});function ahe(e,t,n,c,i){const{visualElement:r}=k.useContext(NL),s=k.useContext(aq),d=k.useContext(wL),l=k.useContext(CL).reducedMotion,h=k.useRef(null);c=c||s.renderer,!h.current&&c&&(h.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext(pq);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&nhe(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[uq],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return bw(()=>{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?.(f)}),g.current=!1),u.enteringChildren=void 0)}),u}function nhe(e,t,n,c){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:yq(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Zc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:l,layoutRoot:h})}function yq(e){if(e)return e.options.allowProjection!==!1?e.projection:yq(e.parent)}function tI(e,{forwardMotionProps:t=!1}={},n,c){n&&jle(n);const i=Yw(e)?Jle:Yle;function r(d,l){let h;const u={...k.useContext(CL),...d,layoutId:ohe(d)},{isStatic:p}=u,y=Vle(d),f=i(d,p);if(!p&&Iw){che(u,n);const g=ihe(u);h=g.MeasureLayout,y.visualElement=ahe(e,f,u,c,g.ProjectionNode)}return o.jsxs(NL.Provider,{value:y,children:[h&&y.visualElement?o.jsx(h,{visualElement:y.visualElement,...u}):null,Kle(e,d,ehe(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[Qle]=e,s}function ohe({layoutId:e}){const t=k.useContext(Lw).id;return t&&e!==void 0?t+"-"+e:e}function che(e,t){const n=k.useContext(aq).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?i1(!1,c,"lazy-strict-mode"):rt(!1,c,"lazy-strict-mode")}}function ihe(e){const{drag:t,layout:n}=c1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function rhe(e,t){if(typeof Proxy>"u")return tI;const n=new Map,c=(r,s)=>tI(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&jw(!1,"motion() is deprecated. Use motion.create() instead."),c(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?c:(n.has(s)||n.set(s,tI(s,void 0,e,t)),n.get(s))})}function kq({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function she({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function dhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),c=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:c.y,right:c.x}}function aI(e){return e===void 0||e===1}function hw({scale:e,scaleX:t,scaleY:n}){return!aI(e)||!aI(t)||!aI(n)}function Cc(e){return hw(e)||mq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function mq(e){return eN(e.x)||eN(e.y)}function eN(e){return e&&e!=="0%"}function ML(e,t,n){const c=e-n,i=t*c;return n+i}function tN(e,t,n,c,i){return i!==void 0&&(e=ML(e,i,c)),ML(e,n,c)+t}function uw(e,t=0,n=1,c,i){e.min=tN(e.min,t,n,c,i),e.max=tN(e.max,t,n,c,i)}function fq(e,{x:t,y:n}){uw(e.x,t.translate,t.scale,t.originPoint),uw(e.y,n.translate,n.scale,n.originPoint)}const aN=.999999999999,nN=1.0000000000001;function lhe(e,t,n,c=!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"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Yc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,fq(e,s)),c&&Cc(r.latestValues)&&Yc(e,r.latestValues))}t.x<nN&&t.x>aN&&(t.x=1),t.y<nN&&t.y>aN&&(t.y=1)}function Xc(e,t){e.min=e.min+t,e.max=e.max+t}function oN(e,t,n,c,i=.5){const r=ve(e.min,e.max,i);uw(e,t,n,r,c)}function Yc(e,t){oN(e.x,t.x,t.scaleX,t.scale,t.originX),oN(e.y,t.y,t.scaleY,t.scale,t.originY)}function gq(e,t){return kq(dhe(e.getBoundingClientRect(),t))}function hhe(e,t,n){const c=gq(e,n),{scroll:i}=t;return i&&(Xc(c.x,i.offset.x),Xc(c.y,i.offset.y)),c}const cN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jc=()=>({x:cN(),y:cN()}),iN=()=>({min:0,max:0}),Ie=()=>({x:iN(),y:iN()}),pw={current:null},vq={current:!1};function uhe(){if(vq.current=!0,!!Iw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pw.current=e.matches;e.addEventListener("change",t),t()}else pw.current=!1}const phe=new WeakMap;function yhe(e,t,n){for(const c in t){const i=t[c],r=n[c];if(Ae(i))e.addValue(c,i);else if(Ae(r))e.addValue(c,Tc(i,{owner:e}));else if(r!==i)if(e.hasValue(c)){const s=e.getValue(c);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(c);e.addValue(c,Tc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const rN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class khe{scrapeMotionValuesFromProps(t,n,c){return{}}constructor({parent:t,props:n,presenceContext:c,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=Fw,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=Ue.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,fe.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=c,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=jL(n),this.isVariantNode=oq(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&&Ae(f)&&f.set(l[y])}}mount(t){this.current=t,phe.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,c)=>this.bindToMotionValue(c,n)),vq.current||uhe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pw.current,process.env.NODE_ENV!=="production"&&jw(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(),It(this.notifyUpdate),It(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 c=d1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&fe.preRender(this.notifyUpdate),c&&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 c1){const n=c1[t];if(!n)continue;const{isEnabled:c,Feature:i}=n;if(!this.features[t]&&i&&c(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):Ie()}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 c=0;c<rN.length;c++){const i=rN[c];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=yhe(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 c=this.values.get(t);n!==c&&(c&&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 c=this.values.get(t);return c===void 0&&n!==void 0&&(c=Tc(n===null?void 0:n,{owner:this}),this.addValue(t,c)),c}readValue(t,n){let c=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return c!=null&&(typeof c=="string"&&(l$(c)||u$(c))?c=parseFloat(c):!_le(c)&&Ht.test(n)&&(c=K$(t,n)),this.setBaseTarget(t,Ae(c)?c.get():c)),Ae(c)?c.get():c}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let c;if(typeof n=="string"||typeof n=="object"){const r=Jw(this.props,n,this.presenceContext?.custom);r&&(c=r[t])}if(n&&c!==void 0)return c;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ae(i)?i:this.initialValues[t]!==void 0&&c===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Sw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Uw.render(this.render)}}class xq extends khe{constructor(){super(...arguments),this.KeyframeResolver=dle}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:c}){delete n[t],delete c[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ae(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Mq(e,{style:t,vars:n},c,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,c);for(s in n)r.setProperty(s,n[s])}function mhe(e){return window.getComputedStyle(e)}class fhe extends xq{constructor(){super(...arguments),this.type="html",this.renderInstance=Mq}readValueFromInstance(t,n){if(d1.has(n))return this.projection?.isProjecting?ow(n):C0e(t,n);{const c=mhe(t),i=(Aw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return gq(t,n)}build(t,n,c){Zw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Qw(t,n,c)}}const _q=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 ghe(e,t,n,c){Mq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(_q.has(i)?i:eC(i),t.attrs[i])}class vhe extends xq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ie}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(d1.has(n)){const c=G$(n);return c&&c.default||0}return n=_q.has(n)?n:eC(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return hq(t,n,c)}build(t,n,c){rq(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){ghe(t,n,c,i)}mount(t){this.isSVGTag=dq(t.tagName),super.mount(t)}}const xhe=(e,t)=>Yw(e)?new vhe(t):new fhe(t,{allowProjection:e!==k.Fragment});function o1(e,t,n){const c=e.getProps();return Jw(c,t,n!==void 0?n:c.custom,e)}const yw=e=>Array.isArray(e);function Mhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Tc(n))}function _he(e){return yw(e)?e[e.length-1]||0:e}function Lhe(e,t){const n=o1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=_he(r[s]);Mhe(e,s,d)}}function Ihe(e){return!!(Ae(e)&&e.add)}function kw(e,t){const n=e.getValue("willChange");if(Ihe(n))return n.add(t);if(!n&&Lt.WillChange){const c=new Lt.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function Lq(e){return e.props[uq]}const bhe=e=>e!==null;function whe(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(bhe),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Che={type:"spring",stiffness:500,damping:25,restSpeed:10},Nhe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),She={type:"keyframes",duration:.8},jhe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$he=(e,{keyframes:t})=>t.length>2?She:d1.has(e)?e.startsWith("scale")?Nhe(t[1]):Che:jhe;function qhe({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const tC=(e,t,n,c={},i,r)=>s=>{const d=Ew(c,e)||{},l=d.delay||c.delay||0;let{elapsed:h=0}=c;h=h-it(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};qhe(d)||Object.assign(u,$he(e,u)),u.duration&&(u.duration=it(u.duration)),u.repeatDelay&&(u.repeatDelay=it(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(dw(u),u.delay===0&&(p=!0)),(Lt.instantAnimations||Lt.skipAnimations)&&(p=!0,dw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=whe(u.keyframes,d);if(y!==void 0){fe.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Rw(u):new X0e(u)};function Ahe({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function Iq(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);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&&Ahe(h,u))continue;const f={delay:n,...Ew(r||{},u)},g=p.get();if(g!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===g&&!f.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const M=Lq(e);if(M){const v=window.MotionHandoffAnimation(M,u,fe);v!==null&&(f.startTime=v,m=!0)}}kw(e,u),p.start(tC(u,p,y,e.shouldReduceMotion&&O$.has(u)?{type:!1}:f,e,m));const x=p.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{fe.update(()=>{s&&Lhe(e,s)})}),l}function bq(e,t,n,c=0,i=1){const r=Array.from(e).sort((h,u)=>h.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*c;return typeof n=="function"?n(r,s):i===1?r*c:d-r*c}function mw(e,t,n={}){const c=o1(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=c||{};n.transitionOverride&&(i=n.transitionOverride);const r=c?()=>Promise.all(Iq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return zhe(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 zhe(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(mw(l,t,{...s,delay:n+(typeof c=="function"?0:c)+bq(e.variantChildren,l,c,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function Vhe(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>mw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=mw(e,t,n);else{const i=typeof t=="function"?o1(e,t,n.custom):t;c=Promise.all(Iq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function wq(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let c=0;c<n;c++)if(t[c]!==e[c])return!1;return!0}const Phe=Kw.length;function Cq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Cq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Phe;n++){const c=Kw[n],i=e.props[c];(U1(i)||i===!1)&&(t[c]=i)}return t}const The=[...Gw].reverse(),Hhe=Gw.length;function Dhe(e){return t=>Promise.all(t.map(({animation:n,options:c})=>Vhe(e,n,c)))}function Bhe(e){let t=Dhe(e),n=sN(),c=!0;const i=l=>(h,u)=>{const p=o1(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:f,...g}=p;h={...h,...g,...f}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=Cq(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let x=0;x<Hhe;x++){const M=The[x],v=n[M],L=h[M]!==void 0?h[M]:u[M],b=U1(L),w=M===l?v.isActive:null;w===!1&&(g=x);let N=L===u[M]&&L!==h[M]&&b;if(N&&c&&e.manuallyAnimateOnMount&&(N=!1),v.protectedKeys={...f},!v.isActive&&w===null||!L&&!v.prevProp||SL(L)||typeof L=="boolean")continue;const _=Rhe(v.prevProp,L);let I=_||M===l&&v.isActive&&!N&&b||x>g&&b,j=!1;const S=Array.isArray(L)?L:[L];let C=S.reduce(i(M),{});w===!1&&(C={});const{prevResolvedValues:$={}}=v,T={...$,...C},D=q=>{I=!0,y.has(q)&&(j=!0,y.delete(q)),v.needsAnimating[q]=!0;const B=e.getValue(q);B&&(B.liveStyle=!1)};for(const q in T){const B=C[q],R=$[q];if(f.hasOwnProperty(q))continue;let V=!1;yw(B)&&yw(R)?V=!wq(B,R):V=B!==R,V?B!=null?D(q):y.add(q):B!==void 0&&y.has(q)?D(q):v.protectedKeys[q]=!0}v.prevProp=L,v.prevResolvedValues=C,v.isActive&&(f={...f,...C}),c&&e.blockInitialAnimation&&(I=!1);const z=N&&_;I&&(!z||j)&&p.push(...S.map(q=>{const B={type:M};if(typeof q=="string"&&c&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,V=o1(R,q);if(R.enteringChildren&&V){const{delayChildren:O}=V.transition||{};B.delay=bq(R.enteringChildren,e,O)}}return{animation:q,options:B}}))}if(y.size){const x={};if(typeof h.initial!="boolean"){const M=o1(e,Array.isArray(h.initial)?h.initial[0]:h.initial);M&&M.transition&&(x.transition=M.transition)}y.forEach(M=>{const v=e.getBaseTarget(M),L=e.getValue(M);L&&(L.liveStyle=!0),x[M]=v??null}),p.push({animation:x})}let m=!!p.length;return c&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),c=!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=sN()}}}function Rhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!wq(t,e):!1}function Ft(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sN(){return{animate:Ft(!0),whileInView:Ft(),whileHover:Ft(),whileTap:Ft(),whileDrag:Ft(),whileFocus:Ft(),exit:Ft()}}class Bt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Fhe extends Bt{constructor(t){super(t),t.animationState||(t.animationState=Bhe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();SL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Ehe=0;class Ohe extends Bt{constructor(){super(...arguments),this.id=Ehe++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===c)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 Uhe={animation:{Feature:Fhe},exit:{Feature:Ohe}};function G1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function J1(e){return{point:{x:e.pageX,y:e.pageY}}}const Whe=e=>t=>Ww(t)&&e(t,J1(t));function H1(e,t,n,c){return G1(e,t,Whe(n),c)}const Nq=1e-4,Ghe=1-Nq,Khe=1+Nq,Sq=.01,Zhe=0-Sq,Xhe=0+Sq;function De(e){return e.max-e.min}function Yhe(e,t,n){return Math.abs(e-t)<=n}function dN(e,t,n,c=.5){e.origin=c,e.originPoint=ve(t.min,t.max,e.origin),e.scale=De(n)/De(t),e.translate=ve(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ghe&&e.scale<=Khe||isNaN(e.scale))&&(e.scale=1),(e.translate>=Zhe&&e.translate<=Xhe||isNaN(e.translate))&&(e.translate=0)}function D1(e,t,n,c){dN(e.x,t.x,n.x,c?c.originX:void 0),dN(e.y,t.y,n.y,c?c.originY:void 0)}function lN(e,t,n){e.min=n.min+t.min,e.max=e.min+De(t)}function Jhe(e,t,n){lN(e.x,t.x,n.x),lN(e.y,t.y,n.y)}function hN(e,t,n){e.min=t.min-n.min,e.max=e.min+De(t)}function B1(e,t,n){hN(e.x,t.x,n.x),hN(e.y,t.y,n.y)}function Qe(e){return[e("x"),e("y")]}const jq=({current:e})=>e?e.ownerDocument.defaultView:null,uN=(e,t)=>Math.abs(e-t);function Qhe(e,t){const n=uN(e.x,t.x),c=uN(e.y,t.y);return Math.sqrt(n**2+c**2)}class $q{constructor(t,n,{transformPagePoint:c,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=oI(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=Qhe(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:x}=qe;this.history.push({...m,timestamp:x});const{onStart:M,onMove:v}=this.handlers;f||(M&&M(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,f)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=nI(f,this.transformPagePoint),fe.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=oI(y.type==="pointercancel"?this.lastMoveEventInfo:nI(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!Ww(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=J1(t),l=nI(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=qe;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,oI(l,this.history)),this.removeListeners=Z1(H1(this.contextWindow,"pointermove",this.handlePointerMove),H1(this.contextWindow,"pointerup",this.handlePointerUp),H1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),It(this.updatePoint)}}function nI(e,t){return t?{point:t(e.point)}:e}function pN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oI({point:e},t){return{point:e,delta:pN(e,qq(t)),offset:pN(e,eue(t)),velocity:tue(t,.1)}}function eue(e){return e[0]}function qq(e){return e[e.length-1]}function tue(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=qq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>it(t)));)n--;if(!c)return{x:0,y:0};const r=et(i.timestamp-c.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-c.x)/r,y:(i.y-c.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function aue(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?ve(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?ve(n,e,c.max):Math.min(e,n)),e}function yN(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 nue(e,{top:t,left:n,bottom:c,right:i}){return{x:yN(e.x,n,i),y:yN(e.y,t,c)}}function kN(e,t){let n=t.min-e.min,c=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,c]=[c,n]),{min:n,max:c}}function oue(e,t){return{x:kN(e.x,t.x),y:kN(e.y,t.y)}}function cue(e,t){let n=.5;const c=De(e),i=De(t);return i>c?n=F1(t.min,t.max-c,e.min):c>i&&(n=F1(e.min,e.max-i,t.min)),_t(0,1,n)}function iue(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 fw=.35;function rue(e=fw){return e===!1?e=0:e===!0&&(e=fw),{x:mN(e,"left","right"),y:mN(e,"top","bottom")}}function mN(e,t,n){return{min:fN(e,t),max:fN(e,n)}}function fN(e,t){return typeof e=="number"?e:e[t]||0}const sue=new WeakMap;class due{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=Ie(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:c}={}){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(J1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ple(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),Qe(M=>{let v=this.getAxisMotionValue(M).get()||0;if(kt.test(v)){const{projection:L}=this.visualElement;if(L&&L.layout){const b=L.layout.layoutBox[M];b&&(v=De(b)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&fe.postRender(()=>m(p,y)),kw(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=y;if(g&&this.currentDirection===null){this.currentDirection=lue(M),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,M),this.updateAxis("y",y.point,M),this.visualElement.render(),x&&x(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Qe(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new $q(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:jq(this.visualElement)})}stop(t,n){const c=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!c)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&fe.postRender(()=>d(c,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:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,c){const{drag:i}=this.getProps();if(!c||!si(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=aue(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Zc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=nue(c.layoutBox,t):this.constraints=!1,this.elastic=rue(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Qe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=iue(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Zc(t))return!1;const c=t.current;rt(c!==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=hhe(c,i.root,this.visualElement.getTransformPagePoint());let s=oue(i.layout.layoutBox,r);if(n){const d=n(she(s));this.hasMutatedConstraints=!!d,d&&(s=kq(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Qe(u=>{if(!si(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,g={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return kw(this.visualElement,t),c.start(tC(t,c,0,n,this.visualElement,!1))}stopAnimation(){Qe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,c=this.visualElement.getProps(),i=c[n];return i||this.visualElement.getValue(t,(c.initial?c.initial[t]:void 0)||0)}snapToCursor(t){Qe(n=>{const{drag:c}=this.getProps();if(!si(n,c,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]-ve(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Zc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Qe(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=cue({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Qe(s=>{if(!si(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ve(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;sue.set(this.visualElement,this);const t=this.visualElement.current,n=H1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),c=()=>{const{dragConstraints:l}=this.getProps();Zc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),fe.read(c);const s=G1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Qe(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:c=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=fw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function si(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lue(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class hue extends Bt{constructor(t){super(t),this.removeGroupControls=at,this.removeListeners=at,this.controls=new due(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||at}unmount(){this.removeGroupControls(),this.removeListeners()}}const gN=e=>(t,n)=>{e&&fe.postRender(()=>e(t,n))};class uue extends Bt{constructor(){super(...arguments),this.removePointerDownListener=at}onPointerDown(t){this.session=new $q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:gN(t),onStart:gN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&fe.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=H1(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 hL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function vN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const k1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(Q.test(e))e=parseFloat(e);else return e;const n=vN(e,t.target.x),c=vN(e,t.target.y);return`${n}% ${c}%`}},pue={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=Ht.parse(e);if(i.length>5)return c;const r=Ht.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=ve(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 cI=!1;class yue extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;Ple(kue),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),cI&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),hL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,cI=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||fe.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Uw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;cI=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),c&&c.deregister&&c.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Aq(e){const[t,n]=tq(),c=k.useContext(Lw);return o.jsx(yue,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(pq),isPresent:t,safeToRemove:n})}const kue={borderRadius:{...k1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:k1,borderTopRightRadius:k1,borderBottomLeftRadius:k1,borderBottomRightRadius:k1,boxShadow:pue};function mue(e,t,n){const c=Ae(e)?e:Tc(e);return c.start(tC("",c,t,n)),c.animation}const fue=(e,t)=>e.depth-t.depth;class gue{constructor(){this.children=[],this.isDirty=!1}add(t){ww(this.children,t),this.isDirty=!0}remove(t){Cw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(fue),this.isDirty=!1,this.children.forEach(t)}}function vue(e,t){const n=Ue.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(It(c),e(r-t))};return fe.setup(c,!0),()=>It(c)}const zq=["TopLeft","TopRight","BottomLeft","BottomRight"],xue=zq.length,xN=e=>typeof e=="string"?parseFloat(e):e,MN=e=>typeof e=="number"||Q.test(e);function Mue(e,t,n,c,i,r){i?(e.opacity=ve(0,n.opacity??1,_ue(c)),e.opacityExit=ve(t.opacity??1,0,Lue(c))):r&&(e.opacity=ve(t.opacity??1,n.opacity??1,c));for(let s=0;s<xue;s++){const d=`border${zq[s]}Radius`;let l=_N(t,d),h=_N(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||MN(l)===MN(h)?(e[d]=Math.max(ve(xN(l),xN(h),c),0),(kt.test(h)||kt.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ve(t.rotate||0,n.rotate||0,c))}function _N(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const _ue=Vq(0,.5,x$),Lue=Vq(.5,.95,at);function Vq(e,t,n){return c=>c<e?0:c>t?1:n(F1(e,t,c))}function LN(e,t){e.min=t.min,e.max=t.max}function Ze(e,t){LN(e.x,t.x),LN(e.y,t.y)}function IN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function bN(e,t,n,c,i){return e-=t,e=ML(e,1/n,c),i!==void 0&&(e=ML(e,1/i,c)),e}function Iue(e,t=0,n=1,c=.5,i,r=e,s=e){if(kt.test(t)&&(t=parseFloat(t),t=ve(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ve(r.min,r.max,c);e===r&&(d-=t),e.min=bN(e.min,t,n,d,i),e.max=bN(e.max,t,n,d,i)}function wN(e,t,[n,c,i],r,s){Iue(e,t[n],t[c],t[i],t.scale,r,s)}const bue=["x","scaleX","originX"],wue=["y","scaleY","originY"];function CN(e,t,n,c){wN(e.x,t,bue,n?n.x:void 0,c?c.x:void 0),wN(e.y,t,wue,n?n.y:void 0,c?c.y:void 0)}function NN(e){return e.translate===0&&e.scale===1}function Pq(e){return NN(e.x)&&NN(e.y)}function SN(e,t){return e.min===t.min&&e.max===t.max}function Cue(e,t){return SN(e.x,t.x)&&SN(e.y,t.y)}function jN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Tq(e,t){return jN(e.x,t.x)&&jN(e.y,t.y)}function $N(e){return De(e.x)/De(e.y)}function qN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Nue{constructor(){this.members=[]}add(t){ww(this.members,t),t.scheduleRender()}remove(t){if(Cw(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 c;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){c=r;break}}return c?(this.promote(c),!0):!1}promote(t,n){const c=this.lead;if(t!==c&&(this.prevLead=c,this.lead=t,t.show(),c)){c.instance&&c.scheduleRender(),t.scheduleRender(),t.resumeFrom=c,n&&(t.resumeFrom.preserveOpacity=!0),c.snapshot&&(t.snapshot=c.snapshot,t.snapshot.latestValues=c.animationValues||c.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:c}=t;n.onExitComplete&&n.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Sue(e,t,n){let c="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(c=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(c+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:g}=n;h&&(c=`perspective(${h}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),f&&(c+=`skewX(${f}deg) `),g&&(c+=`skewY(${g}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(c+=`scale(${d}, ${l})`),c||"none"}const iI=["","X","Y","Z"],jue=1e3;let $ue=0;function rI(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function Hq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Lq(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",fe,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&Hq(c)}function Dq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=$ue++,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(zue),this.nodes.forEach(Hue),this.nodes.forEach(Due),this.nodes.forEach(Vue)},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 gue)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Sw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const l=this.eventHandlers.get(s);l&&l.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=eq(s)&&!vle(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;fe.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=vue(y,250),hL.hasAnimatedSinceResize&&(hL.hasAnimatedSinceResize=!1,this.nodes.forEach(VN)))})}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 g=this.options.transition||h.getDefaultTransition()||Oue,{onLayoutAnimationStart:m,onLayoutAnimationComplete:x}=h.getProps(),M=!this.targetLayout||!Tq(this.targetLayout,f),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const L={...Ew(g,"layout"),onPlay:m,onComplete:x};(h.shouldReduceMotion||this.options.layoutRoot)&&(L.delay=0,L.type=!1),this.startAnimation(L),this.setAnimationOrigin(u,v)}else p||VN(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(),It(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(Bue),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&&Hq(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(AN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(zN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Tue),this.nodes.forEach(que),this.nodes.forEach(Aue)):this.nodes.forEach(zN),this.clearAllSnapshots();const d=Ue.now();qe.delta=_t(0,1e3/60,d-qe.timestamp),qe.timestamp=d,qe.isProcessing=!0,ZL.update.process(qe),ZL.preRender.process(qe),ZL.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Pue),this.sharedNodes.forEach(Rue)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!De(this.snapshot.measuredBox.x)&&!De(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=Ie(),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=c(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&&!Pq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Cc(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)),Uue(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Ie();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Wue))){const{scroll:h}=this.root;h&&(Xc(d.x,h.offset.x),Xc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=Ie();if(Ze(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&&Ze(d,s),Xc(d.x,u.offset.x),Xc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=Ie();Ze(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&&Yc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Cc(u.latestValues)&&Yc(l,u.latestValues)}return Cc(this.latestValues)&&Yc(l,this.latestValues),l}removeTransform(s){const d=Ie();Ze(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Cc(h.latestValues))continue;hw(h.latestValues)&&h.updateSnapshot();const u=Ie(),p=h.measurePageBox();Ze(u,p),CN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Cc(this.latestValues)&&CN(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!==qe.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=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ie(),this.relativeTargetOrigin=Ie(),B1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Ze(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ie(),this.targetWithTransforms=Ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Jhe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ze(this.target,this.layout.layoutBox),fq(this.target,this.targetDelta)):Ze(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=Ie(),this.relativeTargetOrigin=Ie(),B1(this.relativeTargetOrigin,this.target,y.target),Ze(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||hw(this.parent.latestValues)||mq(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===qe.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;Ze(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;lhe(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=Ie());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(IN(this.prevProjectionDelta.x,this.projectionDelta.x),IN(this.prevProjectionDelta.y,this.projectionDelta.y)),D1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!qN(this.projectionDelta.x,this.prevProjectionDelta.x)||!qN(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=Jc(),this.projectionDelta=Jc(),this.projectionDeltaWithTransform=Jc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Jc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=Ie(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,x=this.getStack(),M=!x||x.members.length<=1,v=!!(m&&!M&&this.options.crossfade===!0&&!this.path.some(Eue));this.animationProgress=0;let L;this.mixTargetDelta=b=>{const w=b/1e3;PN(p.x,s.x,w),PN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Fue(this.relativeTarget,this.relativeTargetOrigin,y,w),L&&Cue(this.relativeTarget,L)&&(this.isProjectionDirty=!1),L||(L=Ie()),Ze(L,this.relativeTarget)),m&&(this.animationValues=u,Mue(u,h,this.latestValues,w,v,M)),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&&(It(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fe.update(()=>{hL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tc(0)),this.currentAnimation=mue(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(jue),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&&Bq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||Ie();const p=De(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=De(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Ze(d,l),Yc(d,u),D1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Nue),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&&rI("z",s,h,this.animationValues);for(let u=0;u<iI.length;u++)rI(`rotate${iI[u]}`,s,h,this.animationValues),rI(`skew${iI[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=lL(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=lL(d?.pointerEvents)||""),this.hasProjected&&!Cc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Sue(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 g in W1){if(u[g]===void 0)continue;const{correct:m,applyTo:x,isCSSVariable:M}=W1[g],v=p==="none"?u[g]:m(u[g],h);if(x){const L=x.length;for(let b=0;b<L;b++)s[x[b]]=v}else M?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?lL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(AN),this.root.sharedNodes.clear()}}}function que(e){e.updateLayout()}function Aue(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:c}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Qe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=De(p);p.min=n[u].min,p.max=p.min+y}):Bq(i,t.layoutBox,n)&&Qe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=De(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=Jc();D1(s,n,t.layoutBox);const d=Jc();r?D1(d,e.applyTransform(c,!0),t.measuredBox):D1(d,n,t.layoutBox);const l=!Pq(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=Ie();B1(f,t.layoutBox,p.layoutBox);const g=Ie();B1(g,n,y.layoutBox),Tq(f,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,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 zue(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 Vue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Pue(e){e.clearSnapshot()}function AN(e){e.clearMeasurements()}function zN(e){e.isLayoutDirty=!1}function Tue(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function VN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Hue(e){e.resolveTargetDelta()}function Due(e){e.calcProjection()}function Bue(e){e.resetSkewAndRotation()}function Rue(e){e.removeLeadSnapshot()}function PN(e,t,n){e.translate=ve(t.translate,0,n),e.scale=ve(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function TN(e,t,n,c){e.min=ve(t.min,n.min,c),e.max=ve(t.max,n.max,c)}function Fue(e,t,n,c){TN(e.x,t.x,n.x,c),TN(e.y,t.y,n.y,c)}function Eue(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Oue={duration:.45,ease:[.4,0,.1,1]},HN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),DN=HN("applewebkit/")&&!HN("chrome/")?Math.round:at;function BN(e){e.min=DN(e.min),e.max=DN(e.max)}function Uue(e){BN(e.x),BN(e.y)}function Bq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Yhe($N(t),$N(n),.2)}function Wue(e){return e!==e.root&&e.scroll?.wasRoot}const Gue=Dq({attachResizeListener:(e,t)=>G1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sI={current:void 0},Rq=Dq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sI.current){const e=new Gue({});e.mount(window),e.setOptions({layoutScroll:!0}),sI.current=e}return sI.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Kue={pan:{Feature:uue},drag:{Feature:hue,ProjectionNode:Rq,MeasureLayout:Aq}};function RN(e,t,n){const{props:c}=e;e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=c[i];r&&fe.postRender(()=>r(t,J1(t)))}class Zue extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=yle(t,(n,c)=>(RN(this.node,c,"Start"),i=>RN(this.node,i,"End"))))}unmount(){}}class Xue extends Bt{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=Z1(G1(this.node.current,"focus",()=>this.onFocus()),G1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function FN(e,t,n){const{props:c}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&c.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=c[i];r&&fe.postRender(()=>r(t,J1(t)))}class Yue extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=gle(t,(n,c)=>(FN(this.node,c,"Start"),(i,{success:r})=>FN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const gw=new WeakMap,dI=new WeakMap,Jue=e=>{const t=gw.get(e.target);t&&t(e)},Que=e=>{e.forEach(Jue)};function epe({root:e,...t}){const n=e||document;dI.has(n)||dI.set(n,{});const c=dI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(Que,{root:e,...t})),c[i]}function tpe(e,t,n){const c=epe(t);return gw.set(e,n),c.observe(e),()=>{gw.delete(e),c.unobserve(e)}}const ape={some:0,all:1};class npe extends Bt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:c,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:c,threshold:typeof i=="number"?i:ape[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 tpe(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(ope(t,n))&&this.startObserver()}unmount(){}}function ope({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const cpe={inView:{Feature:npe},tap:{Feature:Yue},focus:{Feature:Xue},hover:{Feature:Zue}},ipe={layout:{ProjectionNode:Rq,MeasureLayout:Aq}},rpe={...Uhe,...cpe,...Kue,...ipe},aC=rhe(rpe,xhe);function Fq(e){const t=Dt(()=>Tc(e)),{isStatic:n}=k.useContext(CL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Eq(e,t){const n=Fq(t()),c=()=>n.set(t());return c(),bw(()=>{const i=()=>fe.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),It(c)}}),n}function spe(e){T1.current=[],e();const t=Eq(T1.current,e);return T1.current=void 0,t}function dpe(e,t,n,c){if(typeof e=="function")return spe(e);const i=typeof t=="function"?t:xle(t,n,c);return Array.isArray(e)?EN(e,i):EN([e],([r])=>i(r))}function EN(e,t){const n=Dt(()=>[]);return Eq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class lpe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(c=>{c.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const hpe=()=>new lpe;function upe(){return Dt(hpe)}const Oq=k.createContext(null);function ppe(e,t,n,c){if(!c)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=c>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=ve(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?wde(e,i,i+r):e}function ype({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Dt(()=>aC[t]),l=[],h=k.useRef(!1);rt(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const f=l.findIndex(g=>p===g.value);f!==-1?l[f].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(fpe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=ppe(l,p,y,f);l!==g&&(h.current=!0,c(g.map(mpe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Oq.Provider,{value:u,children:e})})}const kpe=k.forwardRef(ype);function mpe(e){return e.value}function fpe(e,t){return e.layout.min-t.layout.min}function ON(e,t=0){return Ae(e)?e:Fq(t)}function gpe({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const l=Dt(()=>aC[c]),h=k.useContext(Oq),u={x:ON(t.x),y:ON(t.y)},p=dpe([u.x,u.y],([m,x])=>m||x?1:"unset");rt(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:g}=h;return o.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,x)=>{const{velocity:M}=x;M[y]&&g(n,u[y].get(),M[y]),i&&i(m,x)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const vpe=k.forwardRef(gpe),_L=[o.jsx(V1,{size:18}),o.jsx(At,{size:18}),o.jsx(A1,{size:18}),o.jsx(zt,{size:18}),o.jsx(I1,{size:18}),o.jsx(L1,{size:18})],xpe=({items:e,onReorder:t,draggable:n=!1,className:c,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=_L[u%_L.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 m=g[1],x=g[2]??"",M=m.padStart(3,"0");h.text=`${y} / ${M}${x}`}}}),l(e)):l([])},[e]),o.jsxs("div",{className:`trend-list ${c??""}`,draggable:n,style:{position:"relative"},children:[o.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),o.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:o.jsx(kpe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>o.jsx(Mpe,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function Mpe({value:e,index:t}){const n=upe(),c=_L[t%_L.length]??null;return o.jsx(vpe,{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:o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[o.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:o.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2"}),o.jsx("circle",{cx:"16",cy:"6",r:"2"}),o.jsx("circle",{cx:"8",cy:"12",r:"2"}),o.jsx("circle",{cx:"16",cy:"12",r:"2"}),o.jsx("circle",{cx:"8",cy:"18",r:"2"}),o.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),o.jsx("div",{style:{flex:1},children:o.jsx(d$,{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??c})})]})})}function _pe(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 Lpe(e){return!e||typeof e=="string"&&e.trim()===""}function Ipe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function bpe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function wpe(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 Cpe(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 Npe(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),c=e.type;if(!n.some(i=>c.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${c}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function Spe(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 LL(e,t){const n=_pe(e,t);if(n)return n;if(Lpe(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=Ipe(c);if(r)return r;break}case"url":{const r=bpe(c);if(r)return r;break}case"number":{const r=wpe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Cpe(e,t);if(r)return r;break}case"file":{const r=Npe(e,t);if(r)return r;break}}const i=Spe(c,t);return i||{isValid:!0}}function Uq(e,t){const n={};let c=!0;for(const i of t){const r=LL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const jpe="_formContainer_14ads_1",$pe="_headerLine_14ads_17",qpe="_formTitle_14ads_25",Ape="_formDescription_14ads_30",zpe="_sectionTitle_14ads_37",Vpe="_sectionHelp_14ads_44",Ppe="_fieldHelp_14ads_50",Tpe="_gridContainer_14ads_58",Hpe="_fieldGridItem_14ads_70",Dpe="_sectionFull_14ads_105",Bpe="_formFooter_14ads_110",Rpe="_footerLeft_14ads_118",Fpe="_footerRight_14ads_119",Epe="_cancelLink_14ads_125",Ope="_submitButton_14ads_136",Upe="_fieldLabel_14ads_148",Wpe="_inputWrapper_14ads_163",Gpe="_inputInner_14ads_187",Kpe="_hasPrefix_14ads_196",Zpe="_inputBase_14ads_196",Xpe="_iconPrefix_14ads_292",Ype="_iconSuffix_14ads_293",Jpe="_passwordToggle_14ads_319",Qpe="_fieldError_14ads_365",eye="_fieldInvalid_14ads_372",ke={formContainer:jpe,headerLine:$pe,formTitle:qpe,formDescription:Ape,sectionTitle:zpe,sectionHelp:Vpe,fieldHelp:Ppe,gridContainer:Tpe,fieldGridItem:Hpe,sectionFull:Dpe,formFooter:Bpe,footerLeft:Rpe,footerRight:Fpe,cancelLink:Epe,submitButton:Ope,fieldLabel:Upe,inputWrapper:Wpe,inputInner:Gpe,hasPrefix:Kpe,inputBase:Zpe,iconPrefix:Xpe,iconSuffix:Ype,passwordToggle:Jpe,fieldError:Qpe,fieldInvalid:eye},Wq=({field:e,value:t,onChange:n,onBlur:c,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?Mt[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",f=g=>{n(g.target.value)};return o.jsxs("div",{className:ke.inputWrapper,children:[o.jsx("label",{className:`${ke.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ke.inputInner} ${p&&y==="prefix"?ke.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ke.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ke.inputBase} ${i?ke.fieldInvalid:""}`,value:t??"",onChange:f,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ke.passwordToggle,onClick:()=>d(g=>!g),children:s?o.jsx(S1,{size:16}):o.jsx(j1,{size:16})}),p&&y==="suffix"&&!l&&o.jsx("span",{className:ke.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ke.fieldError,children:i})]})},tye="_fieldGroup_yb3zi_7",aye="_fieldLabel_yb3zi_11",nye="_required_yb3zi_17",oye="_fieldInput_yb3zi_22",cye="_fieldInvalid_yb3zi_40",iye="_fieldValid_yb3zi_44",rye="_fieldError_yb3zi_48",sye="_radioGroup_yb3zi_57",Vt={fieldGroup:tye,fieldLabel:aye,required:nye,fieldInput:oye,fieldInvalid:cye,fieldValid:iye,fieldError:rye,radioGroup:sye},$L=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:Vt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${Vt.fieldLabel} ${e.required?Vt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:Vt.fieldError,children:n})]})},Gq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Vt.fieldInput,s?Vt.fieldInvalid:"",d?Vt.fieldValid:""].filter(Boolean).join(" ");return o.jsx($L,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:c,rows:4})})},dye="_wrapper_117u4_1",lye="_wrapperInvalid_117u4_15",hye="_nativeSelect_117u4_19",uye="_display_117u4_30",pye="_topLabel_117u4_37",yye="_valueLine_117u4_45",kye="_valuePlaceholder_117u4_53",mye="_valueActive_117u4_57",fye="_caret_117u4_61",gye="_error_117u4_75",vye="_optionStyle_117u4_89",Xe={wrapper:dye,wrapperInvalid:lye,nativeSelect:hye,display:uye,topLabel:pye,valueLine:yye,valuePlaceholder:kye,valueActive:mye,caret:fye,error:gye,optionStyle:vye},nC=({field:e,value:t,onChange:n,onBlur:c,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 o.jsxs("div",{className:`${Xe.wrapper} ${s?Xe.wrapperInvalid:""} ${t?Xe.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:Xe.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:c,"aria-invalid":s,"aria-label":d,children:[o.jsx("option",{value:"",disabled:!0,hidden:!0,children:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:Xe.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:Xe.display,children:[d&&o.jsx("span",{className:Xe.topLabel,children:d}),o.jsx("span",{className:`${Xe.valueLine} ${t?Xe.valueActive:Xe.valuePlaceholder}`,children:t?h:l}),o.jsx("span",{className:Xe.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:Xe.error,children:i})]})},Kq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{field:e,error:i,touched:r,children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),Zq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{field:e,error:i,touched:r,children:o.jsx("div",{className:Vt.radioGroup,children:e.options?.map(s=>o.jsxs("div",{className:"form-check",children:[o.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:c}),o.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),xye="_fileInputContainer_r2guc_3",Mye="_customFileInput_r2guc_8",_ye="_fileInputLabel_r2guc_12",Lye="_dragOver_r2guc_39",Iye="_uploadIcon_r2guc_44",bye="_uploadText_r2guc_50",wye="_uploadHint_r2guc_56",Cye="_fileList_r2guc_60",Nye="_fileListTitle_r2guc_69",Sye="_fileItem_r2guc_80",jye="_fileIcon_r2guc_96",$ye="_fileName_r2guc_102",qye="_fileSize_r2guc_108",Aye="_removeButton_r2guc_114",zye="_errorText_r2guc_129",Ve={fileInputContainer:xye,customFileInput:Mye,fileInputLabel:_ye,dragOver:Lye,uploadIcon:Iye,uploadText:bye,uploadHint:wye,fileList:Cye,fileListTitle:Nye,fileItem:Sye,fileIcon:jye,fileName:$ye,fileSize:qye,removeButton:Aye,errorText:zye},Xq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=x=>{n(x.target.files)},u=()=>{s.current&&s.current.click()},p=x=>{x.preventDefault(),l(!0)},y=()=>{l(!1)},f=x=>{x.preventDefault(),l(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0&&n(x.dataTransfer.files)},g=x=>{if(!t)return;const M=Array.from(t);M.splice(x,1);const v=new DataTransfer;M.forEach(L=>v.items.add(L)),n(v.files)},m=x=>{if(x===0)return"0 Bytes";const M=1024,v=["Bytes","KB","MB","GB"],L=Math.floor(Math.log(x)/Math.log(M));return parseFloat((x/Math.pow(M,L)).toFixed(2))+" "+v[L]};return o.jsxs("div",{className:`${Ve.fileInputContainer} ${r&&i?Ve.hasError:""}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:h,onBlur:c,ref:s,className:Ve.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${Ve.fileInputLabel} ${d?Ve.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[o.jsx("div",{className:Ve.uploadIcon,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[o.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"}),o.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"})]})}),o.jsx("div",{className:Ve.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:Ve.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:Ve.fileList,children:[o.jsx("div",{className:Ve.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((x,M)=>o.jsxs("li",{className:Ve.fileItem,children:[o.jsx("div",{className:Ve.fileIcon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:o.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"})})}),o.jsx("div",{className:Ve.fileName,children:x.name}),o.jsx("div",{className:Ve.fileSize,children:m(x.size)}),o.jsx("button",{type:"button",className:Ve.removeButton,onClick:v=>{v.stopPropagation(),g(M)},"aria-label":`Supprimer ${x.name}`,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[o.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"}),o.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"})]})})]},M))})]}),r&&i&&o.jsx("div",{className:Ve.errorText,children:i})]})},Vye="_container_ecah4_2",Pye="_label_ecah4_6",Tye="_requiredIndicator_ecah4_13",Hye="_input_ecah4_18",Dye="_inputError_ecah4_49",Bye="_errorMessage_ecah4_58",Uc={container:Vye,label:Pye,requiredIndicator:Tye,input:Hye,inputError:Dye,errorMessage:Bye},Yq=({field:e,value:t,onChange:n,onBlur:c,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 o.jsxs("div",{className:Uc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Uc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Uc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:c,className:`${Uc.input} ${r&&i?Uc.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&&o.jsx("div",{className:Uc.errorMessage,children:i})]})},Rye="_rangeContainer_cyqk3_3",Fye={rangeContainer:Rye},Jq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Fye.rangeContainer}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:c,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Eye="_colorPickerContainer_1wxgj_2",Oye="_colorInput_1wxgj_19",Uye="_colorValue_1wxgj_39",lI={colorPickerContainer:Eye,colorInput:Oye,colorValue:Uye},Qq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:"mb-3",children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsxs("div",{className:lI.colorPickerContainer,children:[o.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:c,className:lI.colorInput}),o.jsx("span",{className:lI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),eA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return o.jsx(Xq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Yq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(Jq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(Qq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Gq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(nC,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(Kq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(Zq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Wq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var hI,UN;function Wye(){if(UN)return hI;UN=1;function e(){this.__data__=[],this.size=0}return hI=e,hI}var uI,WN;function tA(){if(WN)return uI;WN=1;function e(t,n){return t===n||t!==t&&n!==n}return uI=e,uI}var pI,GN;function qL(){if(GN)return pI;GN=1;var e=tA();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return pI=t,pI}var yI,KN;function Gye(){if(KN)return yI;KN=1;var e=qL(),t=Array.prototype,n=t.splice;function c(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 yI=c,yI}var kI,ZN;function Kye(){if(ZN)return kI;ZN=1;var e=qL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return kI=t,kI}var mI,XN;function Zye(){if(XN)return mI;XN=1;var e=qL();function t(n){return e(this.__data__,n)>-1}return mI=t,mI}var fI,YN;function Xye(){if(YN)return fI;YN=1;var e=qL();function t(n,c){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,c])):i[r][1]=c,this}return fI=t,fI}var gI,JN;function AL(){if(JN)return gI;JN=1;var e=Wye(),t=Gye(),n=Kye(),c=Zye(),i=Xye();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=c,r.prototype.set=i,gI=r,gI}var vI,QN;function Yye(){if(QN)return vI;QN=1;var e=AL();function t(){this.__data__=new e,this.size=0}return vI=t,vI}var xI,eS;function Jye(){if(eS)return xI;eS=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return xI=e,xI}var MI,tS;function Qye(){if(tS)return MI;tS=1;function e(t){return this.__data__.get(t)}return MI=e,MI}var _I,aS;function e4e(){if(aS)return _I;aS=1;function e(t){return this.__data__.has(t)}return _I=e,_I}var LI,nS;function aA(){if(nS)return LI;nS=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return LI=e,LI}var II,oS;function bt(){if(oS)return II;oS=1;var e=aA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return II=n,II}var bI,cS;function oC(){if(cS)return bI;cS=1;var e=bt(),t=e.Symbol;return bI=t,bI}var wI,iS;function t4e(){if(iS)return wI;iS=1;var e=oC(),t=Object.prototype,n=t.hasOwnProperty,c=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=c.call(s);return h&&(d?s[i]=l:delete s[i]),u}return wI=r,wI}var CI,rS;function a4e(){if(rS)return CI;rS=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return CI=n,CI}var NI,sS;function zL(){if(sS)return NI;sS=1;var e=oC(),t=t4e(),n=a4e(),c="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:c:r&&r in Object(d)?t(d):n(d)}return NI=s,NI}var SI,dS;function nA(){if(dS)return SI;dS=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return SI=e,SI}var jI,lS;function oA(){if(lS)return jI;lS=1;var e=zL(),t=nA(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==c||l==i||l==n||l==r}return jI=s,jI}var $I,hS;function n4e(){if(hS)return $I;hS=1;var e=bt(),t=e["__core-js_shared__"];return $I=t,$I}var qI,uS;function o4e(){if(uS)return qI;uS=1;var e=n4e(),t=function(){var c=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function n(c){return!!t&&t in c}return qI=n,qI}var AI,pS;function cA(){if(pS)return AI;pS=1;var e=Function.prototype,t=e.toString;function n(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}return AI=n,AI}var zI,yS;function c4e(){if(yS)return zI;yS=1;var e=oA(),t=o4e(),n=nA(),c=cA(),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(c(y))}return zI=p,zI}var VI,kS;function i4e(){if(kS)return VI;kS=1;function e(t,n){return t?.[n]}return VI=e,VI}var PI,mS;function l1(){if(mS)return PI;mS=1;var e=c4e(),t=i4e();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return PI=n,PI}var TI,fS;function cC(){if(fS)return TI;fS=1;var e=l1(),t=bt(),n=e(t,"Map");return TI=n,TI}var HI,gS;function VL(){if(gS)return HI;gS=1;var e=l1(),t=e(Object,"create");return HI=t,HI}var DI,vS;function r4e(){if(vS)return DI;vS=1;var e=VL();function t(){this.__data__=e?e(null):{},this.size=0}return DI=t,DI}var BI,xS;function s4e(){if(xS)return BI;xS=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return BI=e,BI}var RI,MS;function d4e(){if(MS)return RI;MS=1;var e=VL(),t="__lodash_hash_undefined__",n=Object.prototype,c=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return c.call(s,r)?s[r]:void 0}return RI=i,RI}var FI,_S;function l4e(){if(_S)return FI;_S=1;var e=VL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return FI=c,FI}var EI,LS;function h4e(){if(LS)return EI;LS=1;var e=VL(),t="__lodash_hash_undefined__";function n(c,i){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=e&&i===void 0?t:i,this}return EI=n,EI}var OI,IS;function u4e(){if(IS)return OI;IS=1;var e=r4e(),t=s4e(),n=d4e(),c=l4e(),i=h4e();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=c,r.prototype.set=i,OI=r,OI}var UI,bS;function p4e(){if(bS)return UI;bS=1;var e=u4e(),t=AL(),n=cC();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return UI=c,UI}var WI,wS;function y4e(){if(wS)return WI;wS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return WI=e,WI}var GI,CS;function PL(){if(CS)return GI;CS=1;var e=y4e();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return GI=t,GI}var KI,NS;function k4e(){if(NS)return KI;NS=1;var e=PL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return KI=t,KI}var ZI,SS;function m4e(){if(SS)return ZI;SS=1;var e=PL();function t(n){return e(this,n).get(n)}return ZI=t,ZI}var XI,jS;function f4e(){if(jS)return XI;jS=1;var e=PL();function t(n){return e(this,n).has(n)}return XI=t,XI}var YI,$S;function g4e(){if($S)return YI;$S=1;var e=PL();function t(n,c){var i=e(this,n),r=i.size;return i.set(n,c),this.size+=i.size==r?0:1,this}return YI=t,YI}var JI,qS;function iA(){if(qS)return JI;qS=1;var e=p4e(),t=k4e(),n=m4e(),c=f4e(),i=g4e();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=c,r.prototype.set=i,JI=r,JI}var QI,AS;function v4e(){if(AS)return QI;AS=1;var e=AL(),t=cC(),n=iA(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<c-1)return l.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(l)}return d.set(r,s),this.size=d.size,this}return QI=i,QI}var eb,zS;function x4e(){if(zS)return eb;zS=1;var e=AL(),t=Yye(),n=Jye(),c=Qye(),i=e4e(),r=v4e();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=c,s.prototype.has=i,s.prototype.set=r,eb=s,eb}var tb,VS;function M4e(){if(VS)return tb;VS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return tb=t,tb}var ab,PS;function _4e(){if(PS)return ab;PS=1;function e(t){return this.__data__.has(t)}return ab=e,ab}var nb,TS;function L4e(){if(TS)return nb;TS=1;var e=iA(),t=M4e(),n=_4e();function c(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return c.prototype.add=c.prototype.push=t,c.prototype.has=n,nb=c,nb}var ob,HS;function I4e(){if(HS)return ob;HS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length;++c<i;)if(n(t[c],c,t))return!0;return!1}return ob=e,ob}var cb,DS;function b4e(){if(DS)return cb;DS=1;function e(t,n){return t.has(n)}return cb=e,cb}var ib,BS;function rA(){if(BS)return ib;BS=1;var e=L4e(),t=I4e(),n=b4e(),c=1,i=2;function r(s,d,l,h,u,p){var y=l&c,f=s.length,g=d.length;if(f!=g&&!(y&&g>f))return!1;var m=p.get(s),x=p.get(d);if(m&&x)return m==d&&x==s;var M=-1,v=!0,L=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++M<f;){var b=s[M],w=d[M];if(h)var N=y?h(w,b,M,d,s,p):h(b,w,M,s,d,p);if(N!==void 0){if(N)continue;v=!1;break}if(L){if(!t(d,function(_,I){if(!n(L,I)&&(b===_||u(b,_,l,h,p)))return L.push(I)})){v=!1;break}}else if(!(b===w||u(b,w,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return ib=r,ib}var rb,RS;function w4e(){if(RS)return rb;RS=1;var e=bt(),t=e.Uint8Array;return rb=t,rb}var sb,FS;function C4e(){if(FS)return sb;FS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return sb=e,sb}var db,ES;function N4e(){if(ES)return db;ES=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return db=e,db}var lb,OS;function S4e(){if(OS)return lb;OS=1;var e=oC(),t=w4e(),n=tA(),c=rA(),i=C4e(),r=N4e(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",f="[object RegExp]",g="[object Set]",m="[object String]",x="[object Symbol]",M="[object ArrayBuffer]",v="[object DataView]",L=e?e.prototype:void 0,b=L?L.valueOf:void 0;function w(N,_,I,j,S,C,$){switch(I){case v:if(N.byteLength!=_.byteLength||N.byteOffset!=_.byteOffset)return!1;N=N.buffer,_=_.buffer;case M:return!(N.byteLength!=_.byteLength||!C(new t(N),new t(_)));case l:case h:case y:return n(+N,+_);case u:return N.name==_.name&&N.message==_.message;case f:case m:return N==_+"";case p:var T=i;case g:var D=j&s;if(T||(T=r),N.size!=_.size&&!D)return!1;var z=$.get(N);if(z)return z==_;j|=d,$.set(N,_);var A=c(T(N),T(_),j,S,C,$);return $.delete(N),A;case x:if(b)return b.call(N)==b.call(_)}return!1}return lb=w,lb}var hb,US;function j4e(){if(US)return hb;US=1;function e(t,n){for(var c=-1,i=n.length,r=t.length;++c<i;)t[r+c]=n[c];return t}return hb=e,hb}var ub,WS;function iC(){if(WS)return ub;WS=1;var e=Array.isArray;return ub=e,ub}var pb,GS;function $4e(){if(GS)return pb;GS=1;var e=j4e(),t=iC();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return pb=n,pb}var yb,KS;function q4e(){if(KS)return yb;KS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length,r=0,s=[];++c<i;){var d=t[c];n(d,c,t)&&(s[r++]=d)}return s}return yb=e,yb}var kb,ZS;function A4e(){if(ZS)return kb;ZS=1;function e(){return[]}return kb=e,kb}var mb,XS;function z4e(){if(XS)return mb;XS=1;var e=q4e(),t=A4e(),n=Object.prototype,c=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return c.call(s,d)}))}:t;return mb=r,mb}var fb,YS;function V4e(){if(YS)return fb;YS=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return fb=e,fb}var gb,JS;function TL(){if(JS)return gb;JS=1;function e(t){return t!=null&&typeof t=="object"}return gb=e,gb}var vb,QS;function P4e(){if(QS)return vb;QS=1;var e=zL(),t=TL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return vb=c,vb}var xb,ej;function T4e(){if(ej)return xb;ej=1;var e=P4e(),t=TL(),n=Object.prototype,c=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&c.call(s,"callee")&&!i.call(s,"callee")};return xb=r,xb}var M1={exports:{}},Mb,tj;function H4e(){if(tj)return Mb;tj=1;function e(){return!1}return Mb=e,Mb}M1.exports;var aj;function sA(){return aj||(aj=1,function(e,t){var n=bt(),c=H4e(),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||c;e.exports=h}(M1,M1.exports)),M1.exports}var _b,nj;function D4e(){if(nj)return _b;nj=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(c,i){var r=typeof c;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<i}return _b=n,_b}var Lb,oj;function dA(){if(oj)return Lb;oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Lb=t,Lb}var Ib,cj;function B4e(){if(cj)return Ib;cj=1;var e=zL(),t=dA(),n=TL(),c="[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]",g="[object String]",m="[object WeakMap]",x="[object ArrayBuffer]",M="[object DataView]",v="[object Float32Array]",L="[object Float64Array]",b="[object Int8Array]",w="[object Int16Array]",N="[object Int32Array]",_="[object Uint8Array]",I="[object Uint8ClampedArray]",j="[object Uint16Array]",S="[object Uint32Array]",C={};C[v]=C[L]=C[b]=C[w]=C[N]=C[_]=C[I]=C[j]=C[S]=!0,C[c]=C[i]=C[x]=C[r]=C[M]=C[s]=C[d]=C[l]=C[h]=C[u]=C[p]=C[y]=C[f]=C[g]=C[m]=!1;function $(T){return n(T)&&t(T.length)&&!!C[e(T)]}return Ib=$,Ib}var bb,ij;function R4e(){if(ij)return bb;ij=1;function e(t){return function(n){return t(n)}}return bb=e,bb}var _1={exports:{}};_1.exports;var rj;function F4e(){return rj||(rj=1,function(e,t){var n=aA(),c=t&&!t.nodeType&&t,i=c&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===c,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}(_1,_1.exports)),_1.exports}var wb,sj;function lA(){if(sj)return wb;sj=1;var e=B4e(),t=R4e(),n=F4e(),c=n&&n.isTypedArray,i=c?t(c):e;return wb=i,wb}var Cb,dj;function E4e(){if(dj)return Cb;dj=1;var e=V4e(),t=T4e(),n=iC(),c=sA(),i=D4e(),r=lA(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&c(h),g=!p&&!y&&!f&&r(h),m=p||y||f||g,x=m?e(h.length,String):[],M=x.length;for(var v in h)(u||d.call(h,v))&&!(m&&(v=="length"||f&&(v=="offset"||v=="parent")||g&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,M)))&&x.push(v);return x}return Cb=l,Cb}var Nb,lj;function O4e(){if(lj)return Nb;lj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return Nb=t,Nb}var Sb,hj;function U4e(){if(hj)return Sb;hj=1;function e(t,n){return function(c){return t(n(c))}}return Sb=e,Sb}var jb,uj;function W4e(){if(uj)return jb;uj=1;var e=U4e(),t=e(Object.keys,Object);return jb=t,jb}var $b,pj;function G4e(){if(pj)return $b;pj=1;var e=O4e(),t=W4e(),n=Object.prototype,c=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))c.call(r,d)&&d!="constructor"&&s.push(d);return s}return $b=i,$b}var qb,yj;function K4e(){if(yj)return qb;yj=1;var e=oA(),t=dA();function n(c){return c!=null&&t(c.length)&&!e(c)}return qb=n,qb}var Ab,kj;function Z4e(){if(kj)return Ab;kj=1;var e=E4e(),t=G4e(),n=K4e();function c(i){return n(i)?e(i):t(i)}return Ab=c,Ab}var zb,mj;function X4e(){if(mj)return zb;mj=1;var e=$4e(),t=z4e(),n=Z4e();function c(i){return e(i,n,t)}return zb=c,zb}var Vb,fj;function Y4e(){if(fj)return Vb;fj=1;var e=X4e(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),f=y.length,g=e(s),m=g.length;if(f!=m&&!p)return!1;for(var x=f;x--;){var M=y[x];if(!(p?M in s:c.call(s,M)))return!1}var v=u.get(r),L=u.get(s);if(v&&L)return v==s&&L==r;var b=!0;u.set(r,s),u.set(s,r);for(var w=p;++x<f;){M=y[x];var N=r[M],_=s[M];if(l)var I=p?l(_,N,M,s,r,u):l(N,_,M,r,s,u);if(!(I===void 0?N===_||h(N,_,d,l,u):I)){b=!1;break}w||(w=M=="constructor")}if(b&&!w){var j=r.constructor,S=s.constructor;j!=S&&"constructor"in r&&"constructor"in s&&!(typeof j=="function"&&j instanceof j&&typeof S=="function"&&S instanceof S)&&(b=!1)}return u.delete(r),u.delete(s),b}return Vb=i,Vb}var Pb,gj;function J4e(){if(gj)return Pb;gj=1;var e=l1(),t=bt(),n=e(t,"DataView");return Pb=n,Pb}var Tb,vj;function Q4e(){if(vj)return Tb;vj=1;var e=l1(),t=bt(),n=e(t,"Promise");return Tb=n,Tb}var Hb,xj;function e5e(){if(xj)return Hb;xj=1;var e=l1(),t=bt(),n=e(t,"Set");return Hb=n,Hb}var Db,Mj;function t5e(){if(Mj)return Db;Mj=1;var e=l1(),t=bt(),n=e(t,"WeakMap");return Db=n,Db}var Bb,_j;function a5e(){if(_j)return Bb;_j=1;var e=J4e(),t=cC(),n=Q4e(),c=e5e(),i=t5e(),r=zL(),s=cA(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",f=s(e),g=s(t),m=s(n),x=s(c),M=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(L){var b=r(L),w=b==l?L.constructor:void 0,N=w?s(w):"";if(N)switch(N){case f:return y;case g:return d;case m:return h;case x:return u;case M:return p}return b}),Bb=v,Bb}var Rb,Lj;function n5e(){if(Lj)return Rb;Lj=1;var e=x4e(),t=rA(),n=S4e(),c=Y4e(),i=a5e(),r=iC(),s=sA(),d=lA(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,x,M,v,L,b){var w=r(m),N=r(x),_=w?u:i(m),I=N?u:i(x);_=_==h?p:_,I=I==h?p:I;var j=_==p,S=I==p,C=_==I;if(C&&s(m)){if(!s(x))return!1;w=!0,j=!1}if(C&&!j)return b||(b=new e),w||d(m)?t(m,x,M,v,L,b):n(m,x,_,M,v,L,b);if(!(M&l)){var $=j&&f.call(m,"__wrapped__"),T=S&&f.call(x,"__wrapped__");if($||T){var D=$?m.value():m,z=T?x.value():x;return b||(b=new e),L(D,z,M,v,b)}}return C?(b||(b=new e),c(m,x,M,v,L,b)):!1}return Rb=g,Rb}var Fb,Ij;function o5e(){if(Ij)return Fb;Ij=1;var e=n5e(),t=TL();function n(c,i,r,s,d){return c===i?!0:c==null||i==null||!t(c)&&!t(i)?c!==c&&i!==i:e(c,i,r,s,n,d)}return Fb=n,Fb}var Eb,bj;function c5e(){if(bj)return Eb;bj=1;var e=o5e();function t(n,c){return e(n,c)}return Eb=t,Eb}var i5e=c5e();const r5e=a.getDefaultExportFromCjs(i5e),s5e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[f,g]=k.useState({}),[m,x]=k.useState(!1),M=k.useRef(t);k.useEffect(()=>{r5e(M.current,t)||(u(t),M.current=t)},[t]);const v=(I,j)=>{const S={...h,[I]:j};if(u(S),f[I]){const C=e.fields.find($=>$.name===I);if(C){const $=LL(j,C);y(T=>({...T,[I]:$.isValid?"":$.error}))}}},L=I=>{if(!f[I]){g(S=>({...S,[I]:!0}));const j=e.fields.find(S=>S.name===I);if(j){const S=LL(h[I],j);y(C=>({...C,[I]:S.isValid?"":S.error}))}}},b=async I=>{I.preventDefault(),x(!0);const j=e.fields.reduce((C,$)=>($.type!=="section"&&(C[$.name]=!0),C),{});g(j);const S=Uq(h,e.fields.filter(C=>C.type!=="section"));if(y(S.errors),S.isValid)try{await n(h)}catch(C){console.error("Erreur lors de la soumission:",C),y($=>({...$,__global:"Une erreur est survenue lors de la soumission"}))}x(!1)},w=l?Mt[l]:null,N=i&&Mt[i]||e.submitIcon&&Mt[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ke.formContainer,children:[o.jsx("div",{className:ke.headerLine,children:o.jsx("h2",{className:ke.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ke.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ke.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:b,children:[o.jsx("div",{className:ke.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(I=>{if(I.type==="section")return o.jsxs("div",{className:ke.sectionFull,children:[o.jsx("h5",{className:ke.sectionTitle,children:I.label}),I.help&&o.jsx("p",{className:ke.sectionHelp,children:I.help})]},I.name);const S={gridColumn:`span ${Math.max(1,Math.min(_,I.gridCol??_))}`};return o.jsxs("div",{className:ke.fieldGridItem,style:S,children:[o.jsx(eA,{field:I,value:h[I.name],onChange:C=>v(I.name,C),onBlur:()=>L(I.name),error:p[I.name],touched:f[I.name]}),I.help&&o.jsx("small",{className:ke.fieldHelp,children:I.help})]},I.name)})}),o.jsxs("div",{className:ke.formFooter,children:[o.jsx("div",{className:ke.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ke.cancelLink,onClick:s,children:[w&&o.jsx(w,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ke.footerRight,children:o.jsx(uL,{type:"submit",variant:"primary",size:"md",className:ke.submitButton,disabled:m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[N&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(N,{size:16,className:"me-2"}),c||e.submitText||"Valider",N&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(N,{size:16,className:"ms-2"})]})})})]})]})]})};function d5e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const wj=new Map,vw=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const s=/^https?:\/\//.test(e),[d,l]=k.useState("");if(k.useEffect(()=>{if(s)return;e&&(async()=>{try{let u=wj.get(e);u||(u=fetch(e).then(m=>{if(!m.ok)throw new Error(`Failed to load ${e}`);return m.text()}),wj.set(e,u));let p=await u;const y=t?.width!==void 0?"100%":`${n}px`,f=t?.height!==void 0?"100%":`${c}px`;i||(p=p.replace(/fill="[^"]*"/g,'fill="currentColor"'),p=p.replace(/fill='[^']*'/g,"fill='currentColor'"));const g=i?`width="${y}" height="${f}"`:`width="${y}" height="${f}" fill="currentColor"`;p=p.replace(/<svg/,`<svg ${g}`),l(p)}catch(u){console.error(`Failed to load icon: ${e}`,u)}})()},[e,s,t?.width,t?.height,n,c]),s){const h=t?.width!==void 0?"100%":`${n}px`,u=t?.height!==void 0?"100%":`${c}px`;return o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},children:o.jsx("img",{src:e,alt:"",style:{display:"block",width:h,height:u}})})}return d?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:d}}):null},l5e="_container_1gljv_85",h5e="_tableWrapper_1gljv_111",u5e="_tableControls_1gljv_117",p5e="_controlsRight_1gljv_128",y5e="_limitedRows_1gljv_151",k5e="_table_1gljv_111",m5e="_headerCell_1gljv_206",f5e="_headerContent_1gljv_220",g5e="_headerWords_1gljv_229",v5e="_headerWord_1gljv_229",x5e="_cellContent_1gljv_276",M5e="_alignLeft_1gljv_286",_5e="_alignCenter_1gljv_290",L5e="_alignRight_1gljv_294",I5e="_tableCell_1gljv_298",b5e="_tableRow_1gljv_308",w5e="_emptyRow_1gljv_385",C5e="_toggleFiltersButton_1gljv_393",N5e="_toggleSortButton_1gljv_394",S5e="_buttonTextCompact_1gljv_415",j5e="_uppercaseSmall_1gljv_450",$5e="_filtersPanel_1gljv_463",q5e="_filtersPanelInline_1gljv_481",A5e="_filtersPanelHorizontal_1gljv_492",z5e="_filtersRow_1gljv_492",V5e="_filtersActionsHorizontal_1gljv_525",P5e="_filterItemInline_1gljv_542",T5e="_filterLabel_1gljv_571",H5e="_filterInput_1gljv_576",D5e="_filterSelect_1gljv_577",B5e="_operatorSelect_1gljv_578",R5e="_operatorInput_1gljv_579",F5e="_activeFilterTag_1gljv_597",E5e="_actionsGroup_1gljv_609",O5e="_applyButton_1gljv_615",U5e="_cancelButton_1gljv_625",W5e="_columnSorterContainer_1gljv_649",G5e="_sorterControls_1gljv_654",K5e="_sortDropdownWrapper_1gljv_659",Z5e="_sortDropdown_1gljv_659",X5e="_sortDropdownHeader_1gljv_679",Y5e="_closeButton_1gljv_688",J5e="_sortDropdownContent_1gljv_703",Q5e="_sortDropdownItem_1gljv_709",eke="_sortDirectionButtons_1gljv_734",tke="_sortDirectionButton_1gljv_734",ake="_activeSort_1gljv_757",nke="_sortActions_1gljv_764",oke="_paginationButton_1gljv_842",cke="_pageSizeSelect_1gljv_844",ike="_topPagination_1gljv_853",rke="_paginationContainer_1gljv_861",ske="_leftGroup_1gljv_874",dke="_pageSizeControls_1gljv_882",lke="_paginationInfo_1gljv_908",hke="_paginationControls_1gljv_916",uke="_disabledButton_1gljv_947",pke="_activeButton_1gljv_952",yke="_navigationButton_1gljv_962",kke="_operatorFilterContainer_1gljv_1010",mke="_rangeSeparator_1gljv_1016",fke="_activeFiltersSection_1gljv_1179",gke="_activeFiltersRow_1gljv_1184",vke="_activeFiltersList_1gljv_1192",xke="_clearAllButton_1gljv_1200",Mke="_removeFilterButton_1gljv_1221",_ke="_sortIndicator_1gljv_1272",Lke="_active_1gljv_349",Ike="_clearSortButton_1gljv_1371",bke="_loaderSpinner_1gljv_2743",wke="_loaderSpinnerSmall_1gljv_2755",Cke="_paginationLoading_1gljv_2772",Nke="_loadingButton_1gljv_2780",Ske="_loadingIndicator_1gljv_2791",H={container:l5e,tableWrapper:h5e,tableControls:u5e,controlsRight:p5e,limitedRows:y5e,table:k5e,headerCell:m5e,headerContent:f5e,headerWords:g5e,headerWord:v5e,cellContent:x5e,alignLeft:M5e,alignCenter:_5e,alignRight:L5e,tableCell:I5e,tableRow:b5e,emptyRow:w5e,toggleFiltersButton:C5e,toggleSortButton:N5e,buttonTextCompact:S5e,uppercaseSmall:j5e,filtersPanel:$5e,filtersPanelInline:q5e,filtersPanelHorizontal:A5e,filtersRow:z5e,filtersActionsHorizontal:V5e,filterItemInline:P5e,filterLabel:T5e,filterInput:H5e,filterSelect:D5e,operatorSelect:B5e,operatorInput:R5e,activeFilterTag:F5e,actionsGroup:E5e,applyButton:O5e,cancelButton:U5e,columnSorterContainer:W5e,sorterControls:G5e,sortDropdownWrapper:K5e,sortDropdown:Z5e,sortDropdownHeader:X5e,closeButton:Y5e,sortDropdownContent:J5e,sortDropdownItem:Q5e,sortDirectionButtons:eke,sortDirectionButton:tke,activeSort:ake,sortActions:nke,paginationButton:oke,pageSizeSelect:cke,topPagination:ike,paginationContainer:rke,leftGroup:ske,pageSizeControls:dke,paginationInfo:lke,paginationControls:hke,disabledButton:uke,activeButton:pke,navigationButton:yke,operatorFilterContainer:kke,rangeSeparator:mke,activeFiltersSection:fke,activeFiltersRow:gke,activeFiltersList:vke,clearAllButton:xke,removeFilterButton:Mke,sortIndicator:_ke,active:Lke,clearSortButton:Ike,loaderSpinner:bke,loaderSpinnerSmall:wke,paginationLoading:Cke,loadingButton:Nke,loadingIndicator:Ske},jke=({config:e,value:t,onChange:n,disabled:c})=>o.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:c,className:H.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),$ke=({config:e,value:t,onChange:n,disabled:c})=>o.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:c,className:H.filterInput}),qke=({config:e,value:t,onChange:n,disabled:c})=>{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 o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:H.filterMultiSelect,children:i.map((d,l)=>o.jsx("option",{value:String(d.value),children:d.label},l))})},Cj=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:H.filterInput})},Ake=({config:e,value:t,onChange:n,disabled:c=!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?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:l,disabled:c,className:H.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(h=>o.jsx("option",{value:h.value,children:h.label},h.value))]})},zke=({config:e,value:t,onChange:n,disabled:c=!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 o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:H.filterInput})},Vke=({config:e,value:t,onChange:n,disabled:c=!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 o.jsxs("div",{className:H.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:l,disabled:c,className:H.operatorSelect,children:[o.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>o.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),o.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:c||!i,className:H.operatorInput})]})},Pke=({value:e,onChange:t,disabled:n})=>{const c=e||{},i=s=>{t({...c,start:s.target.value})},r=s=>{t({...c,end:s.target.value})};return o.jsxs("div",{className:H.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:H.filterInput}),o.jsx("span",{className:H.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:H.filterInput})]})},Tke=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(zke,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(Ake,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(Vke,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(qke,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx($ke,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(Pke,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(jke,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},hA=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const g={};return e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),g});k.useEffect(()=>{if(!i)return;const g={...d??{}};e.forEach(m=>{m.id in g||(g[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(g[m.id]=m.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,m)=>{l(x=>({...x,[g]:m}))},[]),p=k.useCallback(async()=>{const g=[],m={...d};for(const[x,M]of Object.entries(m)){const v=e.find(w=>w.id===x);if(!v)continue;let L=M;try{typeof M=="function"&&(L=await M(m)),typeof v.executeOnApply=="function"&&(L=await v.executeOnApply(L,m))}catch{continue}if(v.type==="daterange"){const w=L?.start??"",N=L?.end??"",_=typeof w=="string"?w.trim()==="":!w,I=typeof N=="string"?N.trim()==="":!N;if(_&&I)continue}L==null||typeof L=="string"&&L.trim()===""||Array.isArray(L)&&L.length===0||typeof L=="object"&&!Array.isArray(L)&&Object.keys(L).length===0||g.push({id:x,type:v.type,value:L,label:v.label})}return i?n?.(g):(s(g),c?.(g)),g},[d,e,i,n,c]),y=k.useCallback(g=>{l(m=>({...m,[g]:void 0})),u(g,void 0)},[u]),f=k.useCallback(()=>{const g={};e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),l(g),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},Hke=(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(c=>String(c)).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 c=n;if(!c.start||!c.end)return!1;const i=c.start,r=c.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(c){return console.error("Error processing daterange filter:",c),!1}case"operator":if(typeof n=="object"&&n!==null){const c=n;if(!("operator"in c)||!("value"in c))return!1;const{operator:i,value:r}=c,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 uA(e,t,n="",c={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(x=>t.some(M=>{const v=x.data[M.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(x=>s.every(M=>{try{const v=x.data[M.id];return Hke(v,M)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!c?.key)return h;const m=c.key;return[...h].sort((x,M)=>{const v=x.data[m],L=M.data[m];if(v==null)return 1;if(L==null)return-1;if(typeof v=="number"&&typeof L=="number")return c.direction==="desc"?L-v:v-L;if(v instanceof Date&&L instanceof Date){const w=v.getTime()-L.getTime();return c.direction==="desc"?-w:w}const b=String(v).localeCompare(String(L),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-b:b})},[h,c]),p=u,y=Math.ceil(u.length/d),f=0,g=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:f,endIndex:g}}const pA=({value:e})=>e,yA=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),kA=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),mA=({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",c=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},c)},fA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},gA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),vA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),xA=({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"})),xw={renderers:{text:pA,email:yA,link:kA,badge:mA,date:fA,number:gA,currency:vA,image:xA},icons:{sortAsc:k.createElement($c,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Tt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(t1,{className:"sort-icon",size:14})}},Dke=(e,t)=>{xw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),xw.renderers[e]=t},Bke=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,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:g=!1,loading:m=!1})=>{const[x,M]=k.useState(!1),v=typeof s=="boolean"?s:x,{appliedFilters:L,tempFilters:b,updateFilter:w,applyFilters:N,clearAllFilters:_}=hA({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),I=k.useRef(null),j=k.useRef(null);k.useEffect(()=>{if(v&&I.current){const z=I.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,b,h]);const S=()=>{typeof s=="boolean"?d?.(!s):M(z=>{const A=!z;return d?.(A),A})},C=()=>e.map(z=>{const A=b?.[z.id];return A==null||typeof A=="string"&&A.trim()===""?null:{id:z.id,label:z.label,value:A}}).filter(Boolean),$=async()=>{let z;try{z=await N()}catch{z=void 0}let A=[];z&&Array.isArray(z)&&z.length>0?A=z:L&&L.length>0?A=L:A=C(),n?.(A),c?.(A)},T=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},D=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const z=q=>{v&&j.current&&(j.current.contains(q.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},A=q=>{q.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",A)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",A)}},[v,s,d]),o.jsxs("div",{className:H.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${H.toggleFiltersButton} ${L.length>0?H.active:""} ${v?H.toggleFiltersButtonOpen:""} ${m?H.loadingButton:""}`,onClick:S,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:H.loaderSpinnerSmall}):o.jsx(qt,{size:14}),o.jsx("span",{className:H.buttonTextCompact,children:u}),L.length>0&&!m&&o.jsx("span",{className:H.filterCountBadge,"aria-hidden":!0,children:L.length}),m&&o.jsx("span",{className:H.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:I,className:`${H.filtersPanel} ${l==="top"?`${H.filtersPanelInline} ${H.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:H.filtersRow,children:e.map(z=>o.jsxs("div",{className:`${H.filterItem} ${H.filterItemInline}`,children:[o.jsxs("label",{className:H.filterLabel,children:[z.label,z.required&&o.jsx("span",{className:H.required,children:"*"})]}),o.jsx(Tke,{config:z,value:b[z.id],onChange:A=>w(z.id,A),disabled:z.disabled})]},z.id))}),o.jsxs("div",{className:H.filtersActionsHorizontal,children:[o.jsx("div",{className:H.activeFiltersSection,children:L.length>0&&o.jsxs("div",{className:H.activeFiltersRow,children:[o.jsx("span",{className:H.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:H.activeFiltersList,children:L.map(z=>o.jsxs("div",{className:H.activeFilterTag,children:[z.label??z.id,o.jsx("button",{className:H.removeFilterButton,onClick:()=>w(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),o.jsxs("button",{className:H.clearAllButton,onClick:D,type:"button",children:[o.jsx(tt,{size:12})," ",f]})]})}),o.jsxs("div",{className:H.actionsGroup,children:[o.jsx("button",{className:H.cancelButton,onClick:T,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${H.applyButton} ${m?H.loadingButton:""}`,onClick:$,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:H.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},Nj=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},Rke=({columns:e,sortConfig:t,onSort:n,label:c="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,m)=>{n({key:g,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(g=>!g),f=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const g=x=>{if(!l.current)return;const M=x.target;M&&!l.current.contains(M)&&s(!1)},m=x=>{x.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",g),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",g),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const g=document.querySelector("[data-table-wrapper]");if(!g)return;const m=g.style.overflow??"";return r?g.style.overflow="hidden":g.style.overflow=m,()=>{g.style.overflow=m}},[r]),o.jsx("div",{className:H.columnSorterContainer,ref:l,children:o.jsx("div",{className:H.sorterControls,children:d.length>0&&o.jsxs("div",{className:H.sortDropdownWrapper,ref:l,children:[o.jsxs("button",{className:`${H.toggleSortButton} ${r?H.toggleSortButtonOpen:""} ${h?H.active:""} ${i?H.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:H.loaderSpinnerSmall}):o.jsx(t1,{size:14}),o.jsx("span",{className:`${H.buttonTextCompact} ${Nj(c)?H.uppercaseSmall:""}`,children:c}),h&&!i&&o.jsx("div",{className:H.sortIndicator,children:t?.direction==="asc"?o.jsx($c,{size:12}):o.jsx(Tt,{size:12})})]}),r&&o.jsxs("div",{className:`${H.sortDropdown} ${H.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:H.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:H.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:o.jsx(tt,{size:16})})]}),o.jsx("div",{className:H.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),x=Nj(m);return o.jsxs("div",{className:H.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[o.jsx("span",{className:`${H.columnSorterLabel} ${x?H.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:H.sortDirectionButtons,children:[o.jsx("button",{className:`${H.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?H.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx($c,{size:12})}),o.jsx("button",{className:`${H.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?H.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(Tt,{size:12})})]})]},g.id)})}),h&&o.jsx("div",{className:H.sortActions,children:o.jsxs("button",{className:H.clearSortButton,onClick:p,type:"button",children:[o.jsx($t,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},Fke=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,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=c>0?(h-1)*n+1:0,f=c>0?Math.min(h*n,c):0,g=()=>{const m=[];let M=Math.max(1,h-Math.floor(2.5)),v=M+5-1;v>l&&(v=l,M=Math.max(1,v-5+1));for(let L=M;L<=v;L++)m.push(L);return m};return o.jsxs("div",{className:H.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:H.leftGroup,children:s&&o.jsx("div",{className:H.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:H.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>o.jsx("option",{value:m,children:m},m))})})}),o.jsx("div",{className:H.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:H.paginationLoading,children:[o.jsx("span",{className:H.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),o.jsxs("div",{className:H.paginationControls,children:[o.jsx("button",{onClick:u,disabled:h===1||d,className:`${H.paginationButton} ${H.navigationButton} ${h===1?H.disabledButton:""} ${d?H.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?o.jsx("span",{className:H.loaderSpinnerSmall}):"«"}),g().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${H.paginationButton} ${h===m?H.activeButton:""} ${d?H.loadingButton:""}`,children:d&&h===m?o.jsx("span",{className:H.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||h>=l,className:`${H.paginationButton} ${H.navigationButton} ${d?H.loadingButton:""} ${h>=l?H.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:H.loaderSpinnerSmall}):"»"})]})]})},Eke=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const c=n.toLowerCase();return c.charAt(0).toUpperCase()+c.slice(1)},Oke=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},Uke=({columns:e})=>o.jsx("thead",{className:H.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?H.alignRight:t.align==="left"?H.alignLeft:H.alignCenter,i=t.preserveHeaderCase===!0,r=Eke(String(t.label??""),i),s=Oke(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${H.headerCell} ${c}`,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:o.jsx("div",{className:H.headerContent,children:s?o.jsx("div",{className:H.headerWords,children:d.map((l,h)=>o.jsx("span",{className:H.headerWord,children:l},h))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),Wke=({value:e,row:t,column:n})=>{const c=n.align==="right"?H.alignRight:n.align==="left"?H.alignLeft:H.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${H.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:H.cellContent,children:i})})},Gke=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return o.jsx("tr",{className:`${H.tableRow} ${c?H.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(Wke,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},Kke=({data:e,columns:t,onRowClick:n,startIndex:c,searchTerm:i,getRowStyle:r})=>e.length===0?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,className:H.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(Gke,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),MA=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:l,onApplyFilters:h,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:f,background:g,onPageSizeChange:m,onPageChange:x,itemLabel:M="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:L,sortLabel:b="Sort",applyLabel:w="Apply",cancelLabel:N="Cancel",clearLabel:_="Clear",applyDisabled:I=!1,paginationLoading:j=!1,filtersLoading:S=!1,sortLoading:C=!1,totalCount:$=null})=>{const[T,D]=k.useState({key:null,direction:"asc"}),[z,A]=k.useState(n.currentPage??1),[q,B]=k.useState(n.pageSize??10),[R,V]=k.useState(!1),O=k.useRef(null),[J,F]=k.useState([]),K=p?d:J,ue=p?[]:J;k.useEffect(()=>{const oe=n.currentPage??1,be=n.pageSize??10;oe!==z&&A(oe),be!==q&&B(be)},[n.currentPage,n.pageSize]);const{paginatedData:ce,sortedData:xe,totalPages:ie,startIndex:ae}=uA(t,e,i,T,z,q,ue),ne=xe.length,de=typeof $=="number"&&$>=0?$:ne;let pe=ie;typeof $=="number"&&$>=0&&(pe=Math.max(1,Math.ceil($/q)));const me=ne>10;k.useEffect(()=>{const oe=Math.max(1,Math.floor(pe));z>oe&&A(oe),z<1&&A(1)},[pe]);const U=oe=>{p||F(oe),l?.(oe),A(1),x?.(1)},X=oe=>{p||F(oe),h?.(oe),A(1),x?.(1),O.current&&O.current.style.setProperty("--filters-panel-height","0px")},re=oe=>{x?.(oe),A(oe)},je=oe=>{B(oe),A(1),m?.(oe),x?.(1)},Be=oe=>{O.current&&O.current.style.setProperty("--filters-panel-height",`${Math.round(oe)}px`)},ge=oe=>{D(oe),u?.(oe)},Se=oe=>{V(oe),!oe&&O.current&&O.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(K?.length??0)>0&&V(!0)},[K]),k.useEffect(()=>{s.length>0&&K.length>0&&V(!0)},[s.length,K.length]);const h1=(K?.length??0)>0&&L?L:v;return o.jsxs("div",{ref:O,className:`${H.container} ${r} ${R?H.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:H.tableControls,children:o.jsxs("div",{className:H.controlsRight,children:[o.jsx(Rke,{columns:e,onSort:ge,label:b,sortConfig:T,loading:C}),s.length>0&&o.jsx(Bke,{filters:s,externalFilters:K,onFiltersChange:U,onApply:X,isControlled:p,debounceTimeout:y,expanded:R,onToggle:Se,panelPlacement:"top",onPanelHeightChange:Be,label:h1,applyLabel:w,cancelLabel:N,clearLabel:_,applyDisabled:I,loading:S})]})}),o.jsx("div",{className:H.topPagination,children:o.jsx(Fke,{currentPage:z,totalPages:pe,pageSize:q,totalItems:de,itemLabel:M,onPageChange:re,onPageSizeChange:je,loading:j})}),o.jsx("div",{className:`${H.tableWrapper} ${me?H.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:H.table,children:[o.jsx(Uke,{columns:e}),o.jsx(Kke,{data:ce,columns:e,onRowClick:c,startIndex:ae,getRowStyle:f,searchTerm:i})]})})]})};function Zke(e){const{pagination:t,totalCount:n,onPageChange:c,...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||c?.(p))};return o.jsx(MA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const Xke=({page:e,pageSize:t,total:n,onPageChange:c,itemLabel:i="élément",ofLabel:r="sur",className:s})=>{const d=Math.max(1,Math.ceil(n/t)),l=n===0?0:(e-1)*t+1,h=Math.min(e*t,n),u=n>1?`${i}s`:i;if(n===0)return null;const p=4;let y=Math.max(1,e-Math.floor(p/2)),f=y+p-1;f>d&&(f=d,y=Math.max(1,f-p+1));const g=[];for(let m=y;m<=f;m++)g.push(m);return o.jsxs(Yke,{className:s,children:[o.jsxs(Jke,{children:[l,"-",h," ",r," ",n," ",u]}),o.jsx(Qke,{}),d>1&&o.jsxs(e3e,{children:[o.jsx(di,{onClick:()=>c(1),disabled:e===1,title:"Première page",children:"<<"}),o.jsx(di,{onClick:()=>c(e-1),disabled:e===1,title:"Page précédente",children:"<"}),g.map(m=>o.jsx(t3e,{$active:m===e,onClick:()=>c(m),children:m},m)),o.jsx(di,{onClick:()=>c(e+1),disabled:e===d,title:"Page suivante",children:">"}),o.jsx(di,{onClick:()=>c(d),disabled:e===d,title:"Dernière page",children:">>"})]})]})},Yke=E.div`
|
|
8272
|
+
`),()=>{x.contains(m)&&x.removeChild(m)}},[t]),o.jsx(ble,{isPresent:t,childRef:r,sizeRef:s,children:ee.cloneElement(e,{ref:l})})}const Cle=({children:e,initial:t,isPresent:n,onExitComplete:c,custom:i,presenceAffectsLayout:r,mode:s,anchorX:d,root:l})=>{const h=Dt(Nle),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 g of h.values())if(!g)return;c&&c()},register:f=>(h.set(f,!1),()=>h.delete(f))}),[n,h,c]);return r&&p&&(y={...y}),k.useMemo(()=>{h.forEach((f,g)=>h.set(g,!1))},[n]),ee.useEffect(()=>{!n&&!h.size&&c&&c()},[n]),s==="popLayout"&&(e=o.jsx(wle,{isPresent:n,anchorX:d,root:l,children:e})),o.jsx(wL.Provider,{value:y,children:e})};function Nle(){return new Map}function tq(e=!0){const t=k.useContext(wL);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:c,register:i}=t,r=k.useId();k.useEffect(()=>{if(e)return i(r)},[e]);const s=k.useCallback(()=>e&&c&&c(r),[r,c,e]);return!n&&c?[!1,s]:[!0]}const ri=e=>e.key||"";function XC(e){const t=[];return k.Children.forEach(e,n=>{k.isValidElement(n)&&t.push(n)}),t}const Sle=({children:e,custom:t,initial:n=!0,onExitComplete:c,presenceAffectsLayout:i=!0,mode:r="sync",propagate:s=!1,anchorX:d="left",root:l})=>{const[h,u]=tq(s),p=k.useMemo(()=>XC(e),[e]),y=s&&!h?[]:p.map(ri),f=k.useRef(!0),g=k.useRef(p),m=Dt(()=>new Map),[x,M]=k.useState(p),[v,I]=k.useState(p);bw(()=>{f.current=!1,g.current=p;for(let N=0;N<v.length;N++){const _=ri(v[N]);y.includes(_)?m.delete(_):m.get(_)!==!0&&m.set(_,!1)}},[v,y.length,y.join("-")]);const b=[];if(p!==x){let N=[...p];for(let _=0;_<v.length;_++){const L=v[_],j=ri(L);y.includes(j)||(N.splice(_,0,L),b.push(L))}return r==="wait"&&b.length&&(N=b),I(XC(N)),M(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(Lw);return o.jsx(o.Fragment,{children:v.map(N=>{const _=ri(N),L=s&&!h?!1:p===v||y.includes(_),j=()=>{if(m.has(_))m.set(_,!0);else return;let S=!0;m.forEach(C=>{C||(S=!1)}),S&&(w?.(),I(g.current),s&&u?.(),c&&c())};return o.jsx(Cle,{isPresent:L,initial:!f.current||n?void 0:!1,custom:t,presenceAffectsLayout:i,mode:r,root:l,onExitComplete:L?void 0:j,anchorX:d,children:N},_)})})},aq=k.createContext({strict:!1}),YC={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"]},c1={};for(const e in YC)c1[e]={isEnabled:t=>YC[e].some(n=>!!t[n])};function jle(e){for(const t in e)c1[t]={...c1[t],...e[t]}}const $le=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 xL(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||$le.has(e)}let nq=e=>!xL(e);function qle(e){typeof e=="function"&&(nq=t=>t.startsWith("on")?!xL(t):e(t))}try{qle(require("@emotion/is-prop-valid").default)}catch{}function Ale(e,t,n){const c={};for(const i in e)i==="values"&&typeof e.values=="object"||(nq(i)||n===!0&&xL(i)||!t&&!xL(i)||e.draggable&&i.startsWith("onDrag"))&&(c[i]=e[i]);return c}const NL=k.createContext({});function SL(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}function U1(e){return typeof e=="string"||Array.isArray(e)}const Gw=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Kw=["initial",...Gw];function jL(e){return SL(e.animate)||Kw.some(t=>U1(e[t]))}function oq(e){return!!(jL(e)||e.variants)}function zle(e,t){if(jL(e)){const{initial:n,animate:c}=e;return{initial:n===!1||U1(n)?n:void 0,animate:U1(c)?c:void 0}}return e.inherit!==!1?t:{}}function Vle(e){const{initial:t,animate:n}=zle(e,k.useContext(NL));return k.useMemo(()=>({initial:t,animate:n}),[JC(t),JC(n)])}function JC(e){return Array.isArray(e)?e.join(" "):e}const W1={};function Ple(e){for(const t in e)W1[t]=e[t],Aw(t)&&(W1[t].isCSSVariable=!0)}function cq(e,{layout:t,layoutId:n}){return d1.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!W1[e]||e==="opacity")}const Tle={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Hle=s1.length;function Dle(e,t,n){let c="",i=!0;for(let r=0;r<Hle;r++){const s=s1[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=Z$(d,Ow[s]);if(!l){i=!1;const u=Tle[s]||s;c+=`${u}(${h}) `}n&&(t[s]=h)}}return c=c.trim(),n?c=n(t,i?"":c):i&&(c="none"),c}function Zw(e,t,n){const{style:c,vars:i,transformOrigin:r}=e;let s=!1,d=!1;for(const l in t){const h=t[l];if(d1.has(l)){s=!0;continue}else if(Aw(l)){i[l]=h;continue}else{const u=Z$(h,Ow[l]);l.startsWith("origin")?(d=!0,r[l]=u):c[l]=u}}if(t.transform||(s||n?c.transform=Dle(t,e.transform,n):c.transform&&(c.transform="none")),d){const{originX:l="50%",originY:h="50%",originZ:u=0}=r;c.transformOrigin=`${l} ${h} ${u}`}}const Xw=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function iq(e,t,n){for(const c in t)!Ae(t[c])&&!cq(c,n)&&(e[c]=t[c])}function Ble({transformTemplate:e},t){return k.useMemo(()=>{const n=Xw();return Zw(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Rle(e,t){const n=e.style||{},c={};return iq(c,n,e),Object.assign(c,Ble(e,t)),c}function Fle(e,t){const n={},c=Rle(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,c.userSelect=c.WebkitUserSelect=c.WebkitTouchCallout="none",c.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=c,n}const Ele={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ole={offset:"strokeDashoffset",array:"strokeDasharray"};function Ule(e,t,n=1,c=0,i=!0){e.pathLength=1;const r=i?Ele:Ole;e[r.offset]=J.transform(-c);const s=J.transform(t),d=J.transform(n);e[r.array]=`${s} ${d}`}function rq(e,{attrX:t,attrY:n,attrScale:c,pathLength:i,pathSpacing:r=1,pathOffset:s=0,...d},l,h,u){if(Zw(e,d,h),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};const{attrs:p,style:y}=e;p.transform&&(y.transform=p.transform,delete p.transform),(y.transform||p.transformOrigin)&&(y.transformOrigin=p.transformOrigin??"50% 50%",delete p.transformOrigin),y.transform&&(y.transformBox=u?.transformBox??"fill-box",delete p.transformBox),t!==void 0&&(p.x=t),n!==void 0&&(p.y=n),c!==void 0&&(p.scale=c),i!==void 0&&Ule(p,i,r,s,!1)}const sq=()=>({...Xw(),attrs:{}}),dq=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Wle(e,t,n,c){const i=k.useMemo(()=>{const r=sq();return rq(r,t,dq(c),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){const r={};iq(r,e.style,e),i.style={...r,...i.style}}return i}const Gle=["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 Yw(e){return typeof e!="string"||e.includes("-")?!1:!!(Gle.indexOf(e)>-1||/[A-Z]/u.test(e))}function Kle(e,t,n,{latestValues:c},i,r=!1){const d=(Yw(e)?Wle:Fle)(t,c,i,e),l=Ale(t,typeof e=="string",r),h=e!==k.Fragment?{...l,...d,ref:n}:{},{children:u}=t,p=k.useMemo(()=>Ae(u)?u.get():u,[u]);return k.createElement(e,{...h,children:p})}function QC(e){const t=[{},{}];return e?.values.forEach((n,c)=>{t[0][c]=n.get(),t[1][c]=n.getVelocity()}),t}function Jw(e,t,n,c){if(typeof t=="function"){const[i,r]=QC(c);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]=QC(c);t=t(n!==void 0?n:e.custom,i,r)}return t}function lL(e){return Ae(e)?e.get():e}function Zle({scrapeMotionValuesFromProps:e,createRenderState:t},n,c,i){return{latestValues:Xle(n,c,i,e),renderState:t()}}function Xle(e,t,n,c){const i={},r=c(e,{});for(const y in r)i[y]=lL(r[y]);let{initial:s,animate:d}=e;const l=jL(e),h=oq(e);t&&h&&!l&&e.inherit!==!1&&(s===void 0&&(s=t.initial),d===void 0&&(d=t.animate));let u=n?n.initial===!1:!1;u=u||s===!1;const p=u?d:s;if(p&&typeof p!="boolean"&&!SL(p)){const y=Array.isArray(p)?p:[p];for(let f=0;f<y.length;f++){const g=Jw(e,y[f]);if(g){const{transitionEnd:m,transition:x,...M}=g;for(const v in M){let I=M[v];if(Array.isArray(I)){const b=u?I.length-1:0;I=I[b]}I!==null&&(i[v]=I)}for(const v in m)i[v]=m[v]}}}return i}const lq=e=>(t,n)=>{const c=k.useContext(NL),i=k.useContext(wL),r=()=>Zle(e,t,c,i);return n?r():Dt(r)};function Qw(e,t,n){const{style:c}=e,i={};for(const r in c)(Ae(c[r])||t.style&&Ae(t.style[r])||cq(r,e)||n?.getValue(r)?.liveStyle!==void 0)&&(i[r]=c[r]);return i}const Yle=lq({scrapeMotionValuesFromProps:Qw,createRenderState:Xw});function hq(e,t,n){const c=Qw(e,t,n);for(const i in e)if(Ae(e[i])||Ae(t[i])){const r=s1.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;c[r]=e[i]}return c}const Jle=lq({scrapeMotionValuesFromProps:hq,createRenderState:sq}),Qle=Symbol.for("motionComponentSymbol");function Zc(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function ehe(e,t,n){return k.useCallback(c=>{c&&e.onMount&&e.onMount(c),t&&(c?t.mount(c):t.unmount()),n&&(typeof n=="function"?n(c):Zc(n)&&(n.current=c))},[t])}const eC=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),the="framerAppearId",uq="data-"+eC(the),pq=k.createContext({});function ahe(e,t,n,c,i){const{visualElement:r}=k.useContext(NL),s=k.useContext(aq),d=k.useContext(wL),l=k.useContext(CL).reducedMotion,h=k.useRef(null);c=c||s.renderer,!h.current&&c&&(h.current=c(e,{visualState:t,parent:r,props:n,presenceContext:d,blockInitialAnimation:d?d.initial===!1:!1,reducedMotionConfig:l}));const u=h.current,p=k.useContext(pq);u&&!u.projection&&i&&(u.type==="html"||u.type==="svg")&&nhe(h.current,n,i,p);const y=k.useRef(!1);k.useInsertionEffect(()=>{u&&y.current&&u.update(n,d)});const f=n[uq],g=k.useRef(!!f&&!window.MotionHandoffIsComplete?.(f)&&window.MotionHasOptimisedAnimation?.(f));return bw(()=>{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?.(f)}),g.current=!1),u.enteringChildren=void 0)}),u}function nhe(e,t,n,c){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:yq(e.parent)),e.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!s||d&&Zc(d),visualElement:e,animationType:typeof r=="string"?r:"both",initialPromotionConfig:c,crossfade:u,layoutScroll:l,layoutRoot:h})}function yq(e){if(e)return e.options.allowProjection!==!1?e.projection:yq(e.parent)}function tI(e,{forwardMotionProps:t=!1}={},n,c){n&&jle(n);const i=Yw(e)?Jle:Yle;function r(d,l){let h;const u={...k.useContext(CL),...d,layoutId:ohe(d)},{isStatic:p}=u,y=Vle(d),f=i(d,p);if(!p&&Iw){che(u,n);const g=ihe(u);h=g.MeasureLayout,y.visualElement=ahe(e,f,u,c,g.ProjectionNode)}return o.jsxs(NL.Provider,{value:y,children:[h&&y.visualElement?o.jsx(h,{visualElement:y.visualElement,...u}):null,Kle(e,d,ehe(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[Qle]=e,s}function ohe({layoutId:e}){const t=k.useContext(Lw).id;return t&&e!==void 0?t+"-"+e:e}function che(e,t){const n=k.useContext(aq).strict;if(process.env.NODE_ENV!=="production"&&t&&n){const c="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";e.ignoreStrict?i1(!1,c,"lazy-strict-mode"):rt(!1,c,"lazy-strict-mode")}}function ihe(e){const{drag:t,layout:n}=c1;if(!t&&!n)return{};const c={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?c.MeasureLayout:void 0,ProjectionNode:c.ProjectionNode}}function rhe(e,t){if(typeof Proxy>"u")return tI;const n=new Map,c=(r,s)=>tI(r,s,e,t),i=(r,s)=>(process.env.NODE_ENV!=="production"&&jw(!1,"motion() is deprecated. Use motion.create() instead."),c(r,s));return new Proxy(i,{get:(r,s)=>s==="create"?c:(n.has(s)||n.set(s,tI(s,void 0,e,t)),n.get(s))})}function kq({top:e,left:t,right:n,bottom:c}){return{x:{min:t,max:n},y:{min:e,max:c}}}function she({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function dhe(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),c=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:c.y,right:c.x}}function aI(e){return e===void 0||e===1}function hw({scale:e,scaleX:t,scaleY:n}){return!aI(e)||!aI(t)||!aI(n)}function Cc(e){return hw(e)||mq(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function mq(e){return eN(e.x)||eN(e.y)}function eN(e){return e&&e!=="0%"}function ML(e,t,n){const c=e-n,i=t*c;return n+i}function tN(e,t,n,c,i){return i!==void 0&&(e=ML(e,i,c)),ML(e,n,c)+t}function uw(e,t=0,n=1,c,i){e.min=tN(e.min,t,n,c,i),e.max=tN(e.max,t,n,c,i)}function fq(e,{x:t,y:n}){uw(e.x,t.translate,t.scale,t.originPoint),uw(e.y,n.translate,n.scale,n.originPoint)}const aN=.999999999999,nN=1.0000000000001;function lhe(e,t,n,c=!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"||(c&&r.options.layoutScroll&&r.scroll&&r!==r.root&&Yc(e,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,fq(e,s)),c&&Cc(r.latestValues)&&Yc(e,r.latestValues))}t.x<nN&&t.x>aN&&(t.x=1),t.y<nN&&t.y>aN&&(t.y=1)}function Xc(e,t){e.min=e.min+t,e.max=e.max+t}function oN(e,t,n,c,i=.5){const r=ve(e.min,e.max,i);uw(e,t,n,r,c)}function Yc(e,t){oN(e.x,t.x,t.scaleX,t.scale,t.originX),oN(e.y,t.y,t.scaleY,t.scale,t.originY)}function gq(e,t){return kq(dhe(e.getBoundingClientRect(),t))}function hhe(e,t,n){const c=gq(e,n),{scroll:i}=t;return i&&(Xc(c.x,i.offset.x),Xc(c.y,i.offset.y)),c}const cN=()=>({translate:0,scale:1,origin:0,originPoint:0}),Jc=()=>({x:cN(),y:cN()}),iN=()=>({min:0,max:0}),Ie=()=>({x:iN(),y:iN()}),pw={current:null},vq={current:!1};function uhe(){if(vq.current=!0,!!Iw)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>pw.current=e.matches;e.addEventListener("change",t),t()}else pw.current=!1}const phe=new WeakMap;function yhe(e,t,n){for(const c in t){const i=t[c],r=n[c];if(Ae(i))e.addValue(c,i);else if(Ae(r))e.addValue(c,Tc(i,{owner:e}));else if(r!==i)if(e.hasValue(c)){const s=e.getValue(c);s.liveStyle===!0?s.jump(i):s.hasAnimated||s.set(i)}else{const s=e.getStaticValue(c);e.addValue(c,Tc(s!==void 0?s:i,{owner:e}))}}for(const c in n)t[c]===void 0&&e.removeValue(c);return t}const rN=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class khe{scrapeMotionValuesFromProps(t,n,c){return{}}constructor({parent:t,props:n,presenceContext:c,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=Fw,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=Ue.now();this.renderScheduledAt<y&&(this.renderScheduledAt=y,fe.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=c,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.options=d,this.blockInitialAnimation=!!r,this.isControllingVariants=jL(n),this.isVariantNode=oq(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&&Ae(f)&&f.set(l[y])}}mount(t){this.current=t,phe.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,c)=>this.bindToMotionValue(c,n)),vq.current||uhe(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:pw.current,process.env.NODE_ENV!=="production"&&jw(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(),It(this.notifyUpdate),It(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 c=d1.has(t);c&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",s=>{this.latestValues[t]=s,this.props.onUpdate&&fe.preRender(this.notifyUpdate),c&&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 c1){const n=c1[t];if(!n)continue;const{isEnabled:c,Feature:i}=n;if(!this.features[t]&&i&&c(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):Ie()}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 c=0;c<rN.length;c++){const i=rN[c];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=yhe(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 c=this.values.get(t);n!==c&&(c&&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 c=this.values.get(t);return c===void 0&&n!==void 0&&(c=Tc(n===null?void 0:n,{owner:this}),this.addValue(t,c)),c}readValue(t,n){let c=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options);return c!=null&&(typeof c=="string"&&(l$(c)||u$(c))?c=parseFloat(c):!_le(c)&&Ht.test(n)&&(c=K$(t,n)),this.setBaseTarget(t,Ae(c)?c.get():c)),Ae(c)?c.get():c}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){const{initial:n}=this.props;let c;if(typeof n=="string"||typeof n=="object"){const r=Jw(this.props,n,this.presenceContext?.custom);r&&(c=r[t])}if(n&&c!==void 0)return c;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ae(i)?i:this.initialValues[t]!==void 0&&c===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new Sw),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}scheduleRenderMicrotask(){Uw.render(this.render)}}class xq extends khe{constructor(){super(...arguments),this.KeyframeResolver=dle}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:c}){delete n[t],delete c[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ae(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function Mq(e,{style:t,vars:n},c,i){const r=e.style;let s;for(s in t)r[s]=t[s];i?.applyProjectionStyles(r,c);for(s in n)r.setProperty(s,n[s])}function mhe(e){return window.getComputedStyle(e)}class fhe extends xq{constructor(){super(...arguments),this.type="html",this.renderInstance=Mq}readValueFromInstance(t,n){if(d1.has(n))return this.projection?.isProjecting?ow(n):C0e(t,n);{const c=mhe(t),i=(Aw(n)?c.getPropertyValue(n):c[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(t,{transformPagePoint:n}){return gq(t,n)}build(t,n,c){Zw(t,n,c.transformTemplate)}scrapeMotionValuesFromProps(t,n,c){return Qw(t,n,c)}}const _q=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 ghe(e,t,n,c){Mq(e,t,void 0,c);for(const i in t.attrs)e.setAttribute(_q.has(i)?i:eC(i),t.attrs[i])}class vhe extends xq{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Ie}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(d1.has(n)){const c=G$(n);return c&&c.default||0}return n=_q.has(n)?n:eC(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,c){return hq(t,n,c)}build(t,n,c){rq(t,n,this.isSVGTag,c.transformTemplate,c.style)}renderInstance(t,n,c,i){ghe(t,n,c,i)}mount(t){this.isSVGTag=dq(t.tagName),super.mount(t)}}const xhe=(e,t)=>Yw(e)?new vhe(t):new fhe(t,{allowProjection:e!==k.Fragment});function o1(e,t,n){const c=e.getProps();return Jw(c,t,n!==void 0?n:c.custom,e)}const yw=e=>Array.isArray(e);function Mhe(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Tc(n))}function _he(e){return yw(e)?e[e.length-1]||0:e}function Lhe(e,t){const n=o1(e,t);let{transitionEnd:c={},transition:i={},...r}=n||{};r={...r,...c};for(const s in r){const d=_he(r[s]);Mhe(e,s,d)}}function Ihe(e){return!!(Ae(e)&&e.add)}function kw(e,t){const n=e.getValue("willChange");if(Ihe(n))return n.add(t);if(!n&&Lt.WillChange){const c=new Lt.WillChange("auto");e.addValue("willChange",c),c.add(t)}}function Lq(e){return e.props[uq]}const bhe=e=>e!==null;function whe(e,{repeat:t,repeatType:n="loop"},c){const i=e.filter(bhe),r=t&&n!=="loop"&&t%2===1?0:i.length-1;return i[r]}const Che={type:"spring",stiffness:500,damping:25,restSpeed:10},Nhe=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),She={type:"keyframes",duration:.8},jhe={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},$he=(e,{keyframes:t})=>t.length>2?She:d1.has(e)?e.startsWith("scale")?Nhe(t[1]):Che:jhe;function qhe({when:e,delay:t,delayChildren:n,staggerChildren:c,staggerDirection:i,repeat:r,repeatType:s,repeatDelay:d,from:l,elapsed:h,...u}){return!!Object.keys(u).length}const tC=(e,t,n,c={},i,r)=>s=>{const d=Ew(c,e)||{},l=d.delay||c.delay||0;let{elapsed:h=0}=c;h=h-it(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};qhe(d)||Object.assign(u,$he(e,u)),u.duration&&(u.duration=it(u.duration)),u.repeatDelay&&(u.repeatDelay=it(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let p=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(dw(u),u.delay===0&&(p=!0)),(Lt.instantAnimations||Lt.skipAnimations)&&(p=!0,dw(u),u.delay=0),u.allowFlatten=!d.type&&!d.ease,p&&!r&&t.get()!==void 0){const y=whe(u.keyframes,d);if(y!==void 0){fe.update(()=>{u.onUpdate(y),u.onComplete()});return}}return d.isSync?new Rw(u):new X0e(u)};function Ahe({protectedKeys:e,needsAnimating:t},n){const c=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,c}function Iq(e,t,{delay:n=0,transitionOverride:c,type:i}={}){let{transition:r=e.getDefaultTransition(),transitionEnd:s,...d}=t;c&&(r=c);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&&Ahe(h,u))continue;const f={delay:n,...Ew(r||{},u)},g=p.get();if(g!==void 0&&!p.isAnimating&&!Array.isArray(y)&&y===g&&!f.velocity)continue;let m=!1;if(window.MotionHandoffAnimation){const M=Lq(e);if(M){const v=window.MotionHandoffAnimation(M,u,fe);v!==null&&(f.startTime=v,m=!0)}}kw(e,u),p.start(tC(u,p,y,e.shouldReduceMotion&&O$.has(u)?{type:!1}:f,e,m));const x=p.animation;x&&l.push(x)}return s&&Promise.all(l).then(()=>{fe.update(()=>{s&&Lhe(e,s)})}),l}function bq(e,t,n,c=0,i=1){const r=Array.from(e).sort((h,u)=>h.sortNodePosition(u)).indexOf(t),s=e.size,d=(s-1)*c;return typeof n=="function"?n(r,s):i===1?r*c:d-r*c}function mw(e,t,n={}){const c=o1(e,t,n.type==="exit"?e.presenceContext?.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=c||{};n.transitionOverride&&(i=n.transitionOverride);const r=c?()=>Promise.all(Iq(e,c,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:h=0,staggerChildren:u,staggerDirection:p}=i;return zhe(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 zhe(e,t,n=0,c=0,i=0,r=1,s){const d=[];for(const l of e.variantChildren)l.notify("AnimationStart",t),d.push(mw(l,t,{...s,delay:n+(typeof c=="function"?0:c)+bq(e.variantChildren,l,c,i,r)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(d)}function Vhe(e,t,n={}){e.notify("AnimationStart",t);let c;if(Array.isArray(t)){const i=t.map(r=>mw(e,r,n));c=Promise.all(i)}else if(typeof t=="string")c=mw(e,t,n);else{const i=typeof t=="function"?o1(e,t,n.custom):t;c=Promise.all(Iq(e,i,n))}return c.then(()=>{e.notify("AnimationComplete",t)})}function wq(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let c=0;c<n;c++)if(t[c]!==e[c])return!1;return!0}const Phe=Kw.length;function Cq(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?Cq(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;n<Phe;n++){const c=Kw[n],i=e.props[c];(U1(i)||i===!1)&&(t[c]=i)}return t}const The=[...Gw].reverse(),Hhe=Gw.length;function Dhe(e){return t=>Promise.all(t.map(({animation:n,options:c})=>Vhe(e,n,c)))}function Bhe(e){let t=Dhe(e),n=sN(),c=!0;const i=l=>(h,u)=>{const p=o1(e,u,l==="exit"?e.presenceContext?.custom:void 0);if(p){const{transition:y,transitionEnd:f,...g}=p;h={...h,...g,...f}}return h};function r(l){t=l(e)}function s(l){const{props:h}=e,u=Cq(e.parent)||{},p=[],y=new Set;let f={},g=1/0;for(let x=0;x<Hhe;x++){const M=The[x],v=n[M],I=h[M]!==void 0?h[M]:u[M],b=U1(I),w=M===l?v.isActive:null;w===!1&&(g=x);let N=I===u[M]&&I!==h[M]&&b;if(N&&c&&e.manuallyAnimateOnMount&&(N=!1),v.protectedKeys={...f},!v.isActive&&w===null||!I&&!v.prevProp||SL(I)||typeof I=="boolean")continue;const _=Rhe(v.prevProp,I);let L=_||M===l&&v.isActive&&!N&&b||x>g&&b,j=!1;const S=Array.isArray(I)?I:[I];let C=S.reduce(i(M),{});w===!1&&(C={});const{prevResolvedValues:$={}}=v,T={...$,...C},D=q=>{L=!0,y.has(q)&&(j=!0,y.delete(q)),v.needsAnimating[q]=!0;const B=e.getValue(q);B&&(B.liveStyle=!1)};for(const q in T){const B=C[q],R=$[q];if(f.hasOwnProperty(q))continue;let V=!1;yw(B)&&yw(R)?V=!wq(B,R):V=B!==R,V?B!=null?D(q):y.add(q):B!==void 0&&y.has(q)?D(q):v.protectedKeys[q]=!0}v.prevProp=I,v.prevResolvedValues=C,v.isActive&&(f={...f,...C}),c&&e.blockInitialAnimation&&(L=!1);const z=N&&_;L&&(!z||j)&&p.push(...S.map(q=>{const B={type:M};if(typeof q=="string"&&c&&!z&&e.manuallyAnimateOnMount&&e.parent){const{parent:R}=e,V=o1(R,q);if(R.enteringChildren&&V){const{delayChildren:U}=V.transition||{};B.delay=bq(R.enteringChildren,e,U)}}return{animation:q,options:B}}))}if(y.size){const x={};if(typeof h.initial!="boolean"){const M=o1(e,Array.isArray(h.initial)?h.initial[0]:h.initial);M&&M.transition&&(x.transition=M.transition)}y.forEach(M=>{const v=e.getBaseTarget(M),I=e.getValue(M);I&&(I.liveStyle=!0),x[M]=v??null}),p.push({animation:x})}let m=!!p.length;return c&&(h.initial===!1||h.initial===h.animate)&&!e.manuallyAnimateOnMount&&(m=!1),c=!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=sN()}}}function Rhe(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!wq(t,e):!1}function Ft(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sN(){return{animate:Ft(!0),whileInView:Ft(),whileHover:Ft(),whileTap:Ft(),whileDrag:Ft(),whileFocus:Ft(),exit:Ft()}}class Bt{constructor(t){this.isMounted=!1,this.node=t}update(){}}class Fhe extends Bt{constructor(t){super(t),t.animationState||(t.animationState=Bhe(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();SL(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Ehe=0;class Ohe extends Bt{constructor(){super(...arguments),this.id=Ehe++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:c}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===c)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 Uhe={animation:{Feature:Fhe},exit:{Feature:Ohe}};function G1(e,t,n,c={passive:!0}){return e.addEventListener(t,n,c),()=>e.removeEventListener(t,n)}function J1(e){return{point:{x:e.pageX,y:e.pageY}}}const Whe=e=>t=>Ww(t)&&e(t,J1(t));function H1(e,t,n,c){return G1(e,t,Whe(n),c)}const Nq=1e-4,Ghe=1-Nq,Khe=1+Nq,Sq=.01,Zhe=0-Sq,Xhe=0+Sq;function De(e){return e.max-e.min}function Yhe(e,t,n){return Math.abs(e-t)<=n}function dN(e,t,n,c=.5){e.origin=c,e.originPoint=ve(t.min,t.max,e.origin),e.scale=De(n)/De(t),e.translate=ve(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Ghe&&e.scale<=Khe||isNaN(e.scale))&&(e.scale=1),(e.translate>=Zhe&&e.translate<=Xhe||isNaN(e.translate))&&(e.translate=0)}function D1(e,t,n,c){dN(e.x,t.x,n.x,c?c.originX:void 0),dN(e.y,t.y,n.y,c?c.originY:void 0)}function lN(e,t,n){e.min=n.min+t.min,e.max=e.min+De(t)}function Jhe(e,t,n){lN(e.x,t.x,n.x),lN(e.y,t.y,n.y)}function hN(e,t,n){e.min=t.min-n.min,e.max=e.min+De(t)}function B1(e,t,n){hN(e.x,t.x,n.x),hN(e.y,t.y,n.y)}function Qe(e){return[e("x"),e("y")]}const jq=({current:e})=>e?e.ownerDocument.defaultView:null,uN=(e,t)=>Math.abs(e-t);function Qhe(e,t){const n=uN(e.x,t.x),c=uN(e.y,t.y);return Math.sqrt(n**2+c**2)}class $q{constructor(t,n,{transformPagePoint:c,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=oI(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=Qhe(y.offset,{x:0,y:0})>=this.distanceThreshold;if(!f&&!g)return;const{point:m}=y,{timestamp:x}=qe;this.history.push({...m,timestamp:x});const{onStart:M,onMove:v}=this.handlers;f||(M&&M(this.lastMoveEvent,y),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,y)},this.handlePointerMove=(y,f)=>{this.lastMoveEvent=y,this.lastMoveEventInfo=nI(f,this.transformPagePoint),fe.update(this.updatePoint,!0)},this.handlePointerUp=(y,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:x}=this.handlers;if(this.dragSnapToOrigin&&x&&x(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const M=oI(y.type==="pointercancel"?this.lastMoveEventInfo:nI(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(y,M),m&&m(y,M)},!Ww(t))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=c,this.distanceThreshold=s,this.contextWindow=i||window;const d=J1(t),l=nI(d,this.transformPagePoint),{point:h}=l,{timestamp:u}=qe;this.history=[{...h,timestamp:u}];const{onSessionStart:p}=n;p&&p(t,oI(l,this.history)),this.removeListeners=Z1(H1(this.contextWindow,"pointermove",this.handlePointerMove),H1(this.contextWindow,"pointerup",this.handlePointerUp),H1(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),It(this.updatePoint)}}function nI(e,t){return t?{point:t(e.point)}:e}function pN(e,t){return{x:e.x-t.x,y:e.y-t.y}}function oI({point:e},t){return{point:e,delta:pN(e,qq(t)),offset:pN(e,eue(t)),velocity:tue(t,.1)}}function eue(e){return e[0]}function qq(e){return e[e.length-1]}function tue(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,c=null;const i=qq(e);for(;n>=0&&(c=e[n],!(i.timestamp-c.timestamp>it(t)));)n--;if(!c)return{x:0,y:0};const r=et(i.timestamp-c.timestamp);if(r===0)return{x:0,y:0};const s={x:(i.x-c.x)/r,y:(i.y-c.y)/r};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function aue(e,{min:t,max:n},c){return t!==void 0&&e<t?e=c?ve(t,e,c.min):Math.max(e,t):n!==void 0&&e>n&&(e=c?ve(n,e,c.max):Math.min(e,n)),e}function yN(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 nue(e,{top:t,left:n,bottom:c,right:i}){return{x:yN(e.x,n,i),y:yN(e.y,t,c)}}function kN(e,t){let n=t.min-e.min,c=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,c]=[c,n]),{min:n,max:c}}function oue(e,t){return{x:kN(e.x,t.x),y:kN(e.y,t.y)}}function cue(e,t){let n=.5;const c=De(e),i=De(t);return i>c?n=F1(t.min,t.max-c,e.min):c>i&&(n=F1(e.min,e.max-i,t.min)),_t(0,1,n)}function iue(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 fw=.35;function rue(e=fw){return e===!1?e=0:e===!0&&(e=fw),{x:mN(e,"left","right"),y:mN(e,"top","bottom")}}function mN(e,t,n){return{min:fN(e,t),max:fN(e,n)}}function fN(e,t){return typeof e=="number"?e:e[t]||0}const sue=new WeakMap;class due{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=Ie(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:n=!1,distanceThreshold:c}={}){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(J1(p).point)},s=(p,y)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ple(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),Qe(M=>{let v=this.getAxisMotionValue(M).get()||0;if(kt.test(v)){const{projection:I}=this.visualElement;if(I&&I.layout){const b=I.layout.layoutBox[M];b&&(v=De(b)*(parseFloat(v)/100))}}this.originPoint[M]=v}),m&&fe.postRender(()=>m(p,y)),kw(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},d=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y;const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:x}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:M}=y;if(g&&this.currentDirection===null){this.currentDirection=lue(M),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",y.point,M),this.updateAxis("y",y.point,M),this.visualElement.render(),x&&x(p,y)},l=(p,y)=>{this.latestPointerEvent=p,this.latestPanInfo=y,this.stop(p,y),this.latestPointerEvent=null,this.latestPanInfo=null},h=()=>Qe(p=>this.getAnimationState(p)==="paused"&&this.getAxisMotionValue(p).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new $q(t,{onSessionStart:r,onStart:s,onMove:d,onSessionEnd:l,resumeAnimation:h},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:c,contextWindow:jq(this.visualElement)})}stop(t,n){const c=t||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!c)return;const{velocity:s}=i;this.startAnimation(s);const{onDragEnd:d}=this.getProps();d&&fe.postRender(()=>d(c,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:c}=this.getProps();!c&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,c){const{drag:i}=this.getProps();if(!c||!si(t,i,this.currentDirection))return;const r=this.getAxisMotionValue(t);let s=this.originPoint[t]+c[t];this.constraints&&this.constraints[t]&&(s=aue(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){const{dragConstraints:t,dragElastic:n}=this.getProps(),c=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&Zc(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&c?this.constraints=nue(c.layoutBox,t):this.constraints=!1,this.elastic=rue(n),i!==this.constraints&&c&&this.constraints&&!this.hasMutatedConstraints&&Qe(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=iue(c.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Zc(t))return!1;const c=t.current;rt(c!==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=hhe(c,i.root,this.visualElement.getTransformPagePoint());let s=oue(i.layout.layoutBox,r);if(n){const d=n(she(s));this.hasMutatedConstraints=!!d,d&&(s=kq(d))}return s}startAnimation(t){const{drag:n,dragMomentum:c,dragElastic:i,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:d}=this.getProps(),l=this.constraints||{},h=Qe(u=>{if(!si(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,g={type:"inertia",velocity:c?t[u]:0,bounceStiffness:y,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10,...r,...p};return this.startAxisValueAnimation(u,g)});return Promise.all(h).then(d)}startAxisValueAnimation(t,n){const c=this.getAxisMotionValue(t);return kw(this.visualElement,t),c.start(tC(t,c,0,n,this.visualElement,!1))}stopAnimation(){Qe(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){Qe(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,c=this.visualElement.getProps(),i=c[n];return i||this.visualElement.getValue(t,(c.initial?c.initial[t]:void 0)||0)}snapToCursor(t){Qe(n=>{const{drag:c}=this.getProps();if(!si(n,c,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]-ve(s,d,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:c}=this.visualElement;if(!Zc(n)||!c||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Qe(s=>{const d=this.getAxisMotionValue(s);if(d&&this.constraints!==!1){const l=d.get();i[s]=cue({min:l,max:l},this.constraints[s])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",c.root&&c.root.updateScroll(),c.updateLayout(),this.resolveConstraints(),Qe(s=>{if(!si(s,t,null))return;const d=this.getAxisMotionValue(s),{min:l,max:h}=this.constraints[s];d.set(ve(l,h,i[s]))})}addListeners(){if(!this.visualElement.current)return;sue.set(this.visualElement,this);const t=this.visualElement.current,n=H1(t,"pointerdown",l=>{const{drag:h,dragListener:u=!0}=this.getProps();h&&u&&this.start(l)}),c=()=>{const{dragConstraints:l}=this.getProps();Zc(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",c);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),fe.read(c);const s=G1(window,"resize",()=>this.scalePositionWithinConstraints()),d=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h})=>{this.isDragging&&h&&(Qe(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:c=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:s=fw,dragMomentum:d=!0}=t;return{...t,drag:n,dragDirectionLock:c,dragPropagation:i,dragConstraints:r,dragElastic:s,dragMomentum:d}}}function si(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function lue(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class hue extends Bt{constructor(t){super(t),this.removeGroupControls=at,this.removeListeners=at,this.controls=new due(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||at}unmount(){this.removeGroupControls(),this.removeListeners()}}const gN=e=>(t,n)=>{e&&fe.postRender(()=>e(t,n))};class uue extends Bt{constructor(){super(...arguments),this.removePointerDownListener=at}onPointerDown(t){this.session=new $q(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:jq(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:c,onPanEnd:i}=this.node.getProps();return{onSessionStart:gN(t),onStart:gN(n),onMove:c,onEnd:(r,s)=>{delete this.session,i&&fe.postRender(()=>i(r,s))}}}mount(){this.removePointerDownListener=H1(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 hL={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function vN(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const k1={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(J.test(e))e=parseFloat(e);else return e;const n=vN(e,t.target.x),c=vN(e,t.target.y);return`${n}% ${c}%`}},pue={correct:(e,{treeScale:t,projectionDelta:n})=>{const c=e,i=Ht.parse(e);if(i.length>5)return c;const r=Ht.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=ve(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 cI=!1;class yue extends k.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c,layoutId:i}=this.props,{projection:r}=t;Ple(kue),r&&(n.group&&n.group.add(r),c&&c.register&&i&&c.register(r),cI&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),hL.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:c,drag:i,isPresent:r}=this.props,{projection:s}=c;return s&&(s.isPresent=r,cI=!0,i||t.layoutDependency!==n||n===void 0||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||fe.postRender(()=>{const d=s.getStack();(!d||!d.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),Uw.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:c}=this.props,{projection:i}=t;cI=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),c&&c.deregister&&c.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Aq(e){const[t,n]=tq(),c=k.useContext(Lw);return o.jsx(yue,{...e,layoutGroup:c,switchLayoutGroup:k.useContext(pq),isPresent:t,safeToRemove:n})}const kue={borderRadius:{...k1,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:k1,borderTopRightRadius:k1,borderBottomLeftRadius:k1,borderBottomRightRadius:k1,boxShadow:pue};function mue(e,t,n){const c=Ae(e)?e:Tc(e);return c.start(tC("",c,t,n)),c.animation}const fue=(e,t)=>e.depth-t.depth;class gue{constructor(){this.children=[],this.isDirty=!1}add(t){ww(this.children,t),this.isDirty=!0}remove(t){Cw(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(fue),this.isDirty=!1,this.children.forEach(t)}}function vue(e,t){const n=Ue.now(),c=({timestamp:i})=>{const r=i-n;r>=t&&(It(c),e(r-t))};return fe.setup(c,!0),()=>It(c)}const zq=["TopLeft","TopRight","BottomLeft","BottomRight"],xue=zq.length,xN=e=>typeof e=="string"?parseFloat(e):e,MN=e=>typeof e=="number"||J.test(e);function Mue(e,t,n,c,i,r){i?(e.opacity=ve(0,n.opacity??1,_ue(c)),e.opacityExit=ve(t.opacity??1,0,Lue(c))):r&&(e.opacity=ve(t.opacity??1,n.opacity??1,c));for(let s=0;s<xue;s++){const d=`border${zq[s]}Radius`;let l=_N(t,d),h=_N(n,d);if(l===void 0&&h===void 0)continue;l||(l=0),h||(h=0),l===0||h===0||MN(l)===MN(h)?(e[d]=Math.max(ve(xN(l),xN(h),c),0),(kt.test(h)||kt.test(l))&&(e[d]+="%")):e[d]=h}(t.rotate||n.rotate)&&(e.rotate=ve(t.rotate||0,n.rotate||0,c))}function _N(e,t){return e[t]!==void 0?e[t]:e.borderRadius}const _ue=Vq(0,.5,x$),Lue=Vq(.5,.95,at);function Vq(e,t,n){return c=>c<e?0:c>t?1:n(F1(e,t,c))}function LN(e,t){e.min=t.min,e.max=t.max}function Ze(e,t){LN(e.x,t.x),LN(e.y,t.y)}function IN(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function bN(e,t,n,c,i){return e-=t,e=ML(e,1/n,c),i!==void 0&&(e=ML(e,1/i,c)),e}function Iue(e,t=0,n=1,c=.5,i,r=e,s=e){if(kt.test(t)&&(t=parseFloat(t),t=ve(s.min,s.max,t/100)-s.min),typeof t!="number")return;let d=ve(r.min,r.max,c);e===r&&(d-=t),e.min=bN(e.min,t,n,d,i),e.max=bN(e.max,t,n,d,i)}function wN(e,t,[n,c,i],r,s){Iue(e,t[n],t[c],t[i],t.scale,r,s)}const bue=["x","scaleX","originX"],wue=["y","scaleY","originY"];function CN(e,t,n,c){wN(e.x,t,bue,n?n.x:void 0,c?c.x:void 0),wN(e.y,t,wue,n?n.y:void 0,c?c.y:void 0)}function NN(e){return e.translate===0&&e.scale===1}function Pq(e){return NN(e.x)&&NN(e.y)}function SN(e,t){return e.min===t.min&&e.max===t.max}function Cue(e,t){return SN(e.x,t.x)&&SN(e.y,t.y)}function jN(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Tq(e,t){return jN(e.x,t.x)&&jN(e.y,t.y)}function $N(e){return De(e.x)/De(e.y)}function qN(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Nue{constructor(){this.members=[]}add(t){ww(this.members,t),t.scheduleRender()}remove(t){if(Cw(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 c;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){c=r;break}}return c?(this.promote(c),!0):!1}promote(t,n){const c=this.lead;if(t!==c&&(this.prevLead=c,this.lead=t,t.show(),c)){c.instance&&c.scheduleRender(),t.scheduleRender(),t.resumeFrom=c,n&&(t.resumeFrom.preserveOpacity=!0),c.snapshot&&(t.snapshot=c.snapshot,t.snapshot.latestValues=c.animationValues||c.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:i}=t.options;i===!1&&c.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:c}=t;n.onExitComplete&&n.onExitComplete(),c&&c.options.onExitComplete&&c.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Sue(e,t,n){let c="";const i=e.x.translate/t.x,r=e.y.translate/t.y,s=n?.z||0;if((i||r||s)&&(c=`translate3d(${i}px, ${r}px, ${s}px) `),(t.x!==1||t.y!==1)&&(c+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:h,rotate:u,rotateX:p,rotateY:y,skewX:f,skewY:g}=n;h&&(c=`perspective(${h}px) ${c}`),u&&(c+=`rotate(${u}deg) `),p&&(c+=`rotateX(${p}deg) `),y&&(c+=`rotateY(${y}deg) `),f&&(c+=`skewX(${f}deg) `),g&&(c+=`skewY(${g}deg) `)}const d=e.x.scale*t.x,l=e.y.scale*t.y;return(d!==1||l!==1)&&(c+=`scale(${d}, ${l})`),c||"none"}const iI=["","X","Y","Z"],jue=1e3;let $ue=0;function rI(e,t,n,c){const{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),c&&(c[e]=0))}function Hq(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Lq(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",fe,!(i||r))}const{parent:c}=e;c&&!c.hasCheckedOptimisedAppear&&Hq(c)}function Dq({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:c,resetTransform:i}){return class{constructor(s={},d=t?.()){this.id=$ue++,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(zue),this.nodes.forEach(Hue),this.nodes.forEach(Due),this.nodes.forEach(Vue)},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 gue)}addEventListener(s,d){return this.eventHandlers.has(s)||this.eventHandlers.set(s,new Sw),this.eventHandlers.get(s).add(d)}notifyListeners(s,...d){const l=this.eventHandlers.get(s);l&&l.notify(...d)}hasListeners(s){return this.eventHandlers.has(s)}mount(s){if(this.instance)return;this.isSVG=eq(s)&&!vle(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;fe.read(()=>{p=window.innerWidth}),e(s,()=>{const f=window.innerWidth;f!==p&&(p=f,this.root.updateBlockedByResize=!0,u&&u(),u=vue(y,250),hL.hasAnimatedSinceResize&&(hL.hasAnimatedSinceResize=!1,this.nodes.forEach(VN)))})}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 g=this.options.transition||h.getDefaultTransition()||Oue,{onLayoutAnimationStart:m,onLayoutAnimationComplete:x}=h.getProps(),M=!this.targetLayout||!Tq(this.targetLayout,f),v=!p&&y;if(this.options.layoutRoot||this.resumeFrom||v||p&&(M||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const I={...Ew(g,"layout"),onPlay:m,onComplete:x};(h.shouldReduceMotion||this.options.layoutRoot)&&(I.delay=0,I.type=!1),this.startAnimation(I),this.setAnimationOrigin(u,v)}else p||VN(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(),It(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(Bue),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&&Hq(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(AN);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(zN);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Tue),this.nodes.forEach(que),this.nodes.forEach(Aue)):this.nodes.forEach(zN),this.clearAllSnapshots();const d=Ue.now();qe.delta=_t(0,1e3/60,d-qe.timestamp),qe.timestamp=d,qe.isProcessing=!0,ZL.update.process(qe),ZL.preRender.process(qe),ZL.render.process(qe),qe.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,Uw.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Pue),this.sharedNodes.forEach(Rue)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,fe.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){fe.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!De(this.snapshot.measuredBox.x)&&!De(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=Ie(),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=c(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&&!Pq(this.projectionDelta),l=this.getTransformTemplate(),h=l?l(this.latestValues,""):void 0,u=h!==this.prevTransformTemplateValue;s&&this.instance&&(d||Cc(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)),Uue(l),{animationId:this.root.animationId,measuredBox:d,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:s}=this.options;if(!s)return Ie();const d=s.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Wue))){const{scroll:h}=this.root;h&&(Xc(d.x,h.offset.x),Xc(d.y,h.offset.y))}return d}removeElementScroll(s){const d=Ie();if(Ze(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&&Ze(d,s),Xc(d.x,u.offset.x),Xc(d.y,u.offset.y))}return d}applyTransform(s,d=!1){const l=Ie();Ze(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&&Yc(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),Cc(u.latestValues)&&Yc(l,u.latestValues)}return Cc(this.latestValues)&&Yc(l,this.latestValues),l}removeTransform(s){const d=Ie();Ze(d,s);for(let l=0;l<this.path.length;l++){const h=this.path[l];if(!h.instance||!Cc(h.latestValues))continue;hw(h.latestValues)&&h.updateSnapshot();const u=Ie(),p=h.measurePageBox();Ze(u,p),CN(d,h.latestValues,h.snapshot?h.snapshot.layoutBox:void 0,u)}return Cc(this.latestValues)&&CN(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!==qe.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=qe.timestamp,!this.targetDelta&&!this.relativeTarget){const y=this.getClosestProjectingParent();y&&y.layout&&this.animationProgress!==1?(this.relativeParent=y,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Ie(),this.relativeTargetOrigin=Ie(),B1(this.relativeTargetOrigin,this.layout.layoutBox,y.layout.layoutBox),Ze(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=Ie(),this.targetWithTransforms=Ie()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),Jhe(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Ze(this.target,this.layout.layoutBox),fq(this.target,this.targetDelta)):Ze(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=Ie(),this.relativeTargetOrigin=Ie(),B1(this.relativeTargetOrigin,this.target,y.target),Ze(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}}}getClosestProjectingParent(){if(!(!this.parent||hw(this.parent.latestValues)||mq(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===qe.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;Ze(this.layoutCorrected,this.layout.layoutBox);const p=this.treeScale.x,y=this.treeScale.y;lhe(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=Ie());const{target:f}=s;if(!f){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(IN(this.prevProjectionDelta.x,this.projectionDelta.x),IN(this.prevProjectionDelta.y,this.projectionDelta.y)),D1(this.projectionDelta,this.layoutCorrected,f,this.latestValues),(this.treeScale.x!==p||this.treeScale.y!==y||!qN(this.projectionDelta.x,this.prevProjectionDelta.x)||!qN(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=Jc(),this.projectionDelta=Jc(),this.projectionDeltaWithTransform=Jc()}setAnimationOrigin(s,d=!1){const l=this.snapshot,h=l?l.latestValues:{},u={...this.latestValues},p=Jc();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!d;const y=Ie(),f=l?l.source:void 0,g=this.layout?this.layout.source:void 0,m=f!==g,x=this.getStack(),M=!x||x.members.length<=1,v=!!(m&&!M&&this.options.crossfade===!0&&!this.path.some(Eue));this.animationProgress=0;let I;this.mixTargetDelta=b=>{const w=b/1e3;PN(p.x,s.x,w),PN(p.y,s.y,w),this.setTargetDelta(p),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(B1(y,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Fue(this.relativeTarget,this.relativeTargetOrigin,y,w),I&&Cue(this.relativeTarget,I)&&(this.isProjectionDirty=!1),I||(I=Ie()),Ze(I,this.relativeTarget)),m&&(this.animationValues=u,Mue(u,h,this.latestValues,w,v,M)),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&&(It(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=fe.update(()=>{hL.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Tc(0)),this.currentAnimation=mue(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(jue),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&&Bq(this.options.animationType,this.layout.layoutBox,h.layoutBox)){l=this.target||Ie();const p=De(this.layout.layoutBox.x);l.x.min=s.target.x.min,l.x.max=l.x.min+p;const y=De(this.layout.layoutBox.y);l.y.min=s.target.y.min,l.y.max=l.y.min+y}Ze(d,l),Yc(d,u),D1(this.projectionDeltaWithTransform,this.layoutCorrected,d,u)}}registerSharedNode(s,d){this.sharedNodes.has(s)||this.sharedNodes.set(s,new Nue),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&&rI("z",s,h,this.animationValues);for(let u=0;u<iI.length;u++)rI(`rotate${iI[u]}`,s,h,this.animationValues),rI(`skew${iI[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=lL(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=lL(d?.pointerEvents)||""),this.hasProjected&&!Cc(this.latestValues)&&(s.transform=l?l({},""):"none",this.hasProjected=!1);return}s.visibility="";const u=h.animationValues||h.latestValues;this.applyTransformsToTarget();let p=Sue(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 g in W1){if(u[g]===void 0)continue;const{correct:m,applyTo:x,isCSSVariable:M}=W1[g],v=p==="none"?u[g]:m(u[g],h);if(x){const I=x.length;for(let b=0;b<I;b++)s[x[b]]=v}else M?this.options.visualElement.renderState.vars[g]=v:s[g]=v}this.options.layoutId&&(s.pointerEvents=h===this?lL(d?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(s=>s.currentAnimation?.stop()),this.root.nodes.forEach(AN),this.root.sharedNodes.clear()}}}function que(e){e.updateLayout()}function Aue(e){const t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:c}=e.layout,{animationType:i}=e.options,r=t.source!==e.layout.source;i==="size"?Qe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=De(p);p.min=n[u].min,p.max=p.min+y}):Bq(i,t.layoutBox,n)&&Qe(u=>{const p=r?t.measuredBox[u]:t.layoutBox[u],y=De(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=Jc();D1(s,n,t.layoutBox);const d=Jc();r?D1(d,e.applyTransform(c,!0),t.measuredBox):D1(d,n,t.layoutBox);const l=!Pq(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=Ie();B1(f,t.layoutBox,p.layoutBox);const g=Ie();B1(g,n,y.layoutBox),Tq(f,g)||(h=!0),u.options.layoutRoot&&(e.relativeTarget=g,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 zue(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 Vue(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Pue(e){e.clearSnapshot()}function AN(e){e.clearMeasurements()}function zN(e){e.isLayoutDirty=!1}function Tue(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function VN(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Hue(e){e.resolveTargetDelta()}function Due(e){e.calcProjection()}function Bue(e){e.resetSkewAndRotation()}function Rue(e){e.removeLeadSnapshot()}function PN(e,t,n){e.translate=ve(t.translate,0,n),e.scale=ve(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function TN(e,t,n,c){e.min=ve(t.min,n.min,c),e.max=ve(t.max,n.max,c)}function Fue(e,t,n,c){TN(e.x,t.x,n.x,c),TN(e.y,t.y,n.y,c)}function Eue(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const Oue={duration:.45,ease:[.4,0,.1,1]},HN=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),DN=HN("applewebkit/")&&!HN("chrome/")?Math.round:at;function BN(e){e.min=DN(e.min),e.max=DN(e.max)}function Uue(e){BN(e.x),BN(e.y)}function Bq(e,t,n){return e==="position"||e==="preserve-aspect"&&!Yhe($N(t),$N(n),.2)}function Wue(e){return e!==e.root&&e.scroll?.wasRoot}const Gue=Dq({attachResizeListener:(e,t)=>G1(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),sI={current:void 0},Rq=Dq({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sI.current){const e=new Gue({});e.mount(window),e.setOptions({layoutScroll:!0}),sI.current=e}return sI.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),Kue={pan:{Feature:uue},drag:{Feature:hue,ProjectionNode:Rq,MeasureLayout:Aq}};function RN(e,t,n){const{props:c}=e;e.animationState&&c.whileHover&&e.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=c[i];r&&fe.postRender(()=>r(t,J1(t)))}class Zue extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=yle(t,(n,c)=>(RN(this.node,c,"Start"),i=>RN(this.node,i,"End"))))}unmount(){}}class Xue extends Bt{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=Z1(G1(this.node.current,"focus",()=>this.onFocus()),G1(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function FN(e,t,n){const{props:c}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&c.whileTap&&e.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=c[i];r&&fe.postRender(()=>r(t,J1(t)))}class Yue extends Bt{mount(){const{current:t}=this.node;t&&(this.unmount=gle(t,(n,c)=>(FN(this.node,c,"Start"),(i,{success:r})=>FN(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const gw=new WeakMap,dI=new WeakMap,Jue=e=>{const t=gw.get(e.target);t&&t(e)},Que=e=>{e.forEach(Jue)};function epe({root:e,...t}){const n=e||document;dI.has(n)||dI.set(n,{});const c=dI.get(n),i=JSON.stringify(t);return c[i]||(c[i]=new IntersectionObserver(Que,{root:e,...t})),c[i]}function tpe(e,t,n){const c=epe(t);return gw.set(e,n),c.observe(e),()=>{gw.delete(e),c.unobserve(e)}}const ape={some:0,all:1};class npe extends Bt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:c,amount:i="some",once:r}=t,s={root:n?n.current:void 0,rootMargin:c,threshold:typeof i=="number"?i:ape[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 tpe(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(ope(t,n))&&this.startObserver()}unmount(){}}function ope({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const cpe={inView:{Feature:npe},tap:{Feature:Yue},focus:{Feature:Xue},hover:{Feature:Zue}},ipe={layout:{ProjectionNode:Rq,MeasureLayout:Aq}},rpe={...Uhe,...cpe,...Kue,...ipe},aC=rhe(rpe,xhe);function Fq(e){const t=Dt(()=>Tc(e)),{isStatic:n}=k.useContext(CL);if(n){const[,c]=k.useState(e);k.useEffect(()=>t.on("change",c),[])}return t}function Eq(e,t){const n=Fq(t()),c=()=>n.set(t());return c(),bw(()=>{const i=()=>fe.preRender(c,!1,!0),r=e.map(s=>s.on("change",i));return()=>{r.forEach(s=>s()),It(c)}}),n}function spe(e){T1.current=[],e();const t=Eq(T1.current,e);return T1.current=void 0,t}function dpe(e,t,n,c){if(typeof e=="function")return spe(e);const i=typeof t=="function"?t:xle(t,n,c);return Array.isArray(e)?EN(e,i):EN([e],([r])=>i(r))}function EN(e,t){const n=Dt(()=>[]);return Eq(e,()=>{n.length=0;const c=e.length;for(let i=0;i<c;i++)n[i]=e[i].get();return t(n)})}class lpe{constructor(){this.componentControls=new Set}subscribe(t){return this.componentControls.add(t),()=>this.componentControls.delete(t)}start(t,n){this.componentControls.forEach(c=>{c.start(t.nativeEvent||t,n)})}cancel(){this.componentControls.forEach(t=>{t.cancel()})}stop(){this.componentControls.forEach(t=>{t.stop()})}}const hpe=()=>new lpe;function upe(){return Dt(hpe)}const Oq=k.createContext(null);function ppe(e,t,n,c){if(!c)return e;const i=e.findIndex(u=>u.value===t);if(i===-1)return e;const r=c>0?1:-1,s=e[i+r];if(!s)return e;const d=e[i],l=s.layout,h=ve(l.min,l.max,.5);return r===1&&d.layout.max+n>h||r===-1&&d.layout.min+n<h?wde(e,i,i+r):e}function ype({children:e,as:t="ul",axis:n="y",onReorder:c,values:i,...r},s){const d=Dt(()=>aC[t]),l=[],h=k.useRef(!1);rt(!!i,"Reorder.Group must be provided a values prop","reorder-values");const u={axis:n,registerItem:(p,y)=>{const f=l.findIndex(g=>p===g.value);f!==-1?l[f].layout=y[n]:l.push({value:p,layout:y[n]}),l.sort(fpe)},updateOrder:(p,y,f)=>{if(h.current)return;const g=ppe(l,p,y,f);l!==g&&(h.current=!0,c(g.map(mpe).filter(m=>i.indexOf(m)!==-1)))}};return k.useEffect(()=>{h.current=!1}),o.jsx(d,{...r,ref:s,ignoreStrict:!0,children:o.jsx(Oq.Provider,{value:u,children:e})})}const kpe=k.forwardRef(ype);function mpe(e){return e.value}function fpe(e,t){return e.layout.min-t.layout.min}function ON(e,t=0){return Ae(e)?e:Fq(t)}function gpe({children:e,style:t={},value:n,as:c="li",onDrag:i,layout:r=!0,...s},d){const l=Dt(()=>aC[c]),h=k.useContext(Oq),u={x:ON(t.x),y:ON(t.y)},p=dpe([u.x,u.y],([m,x])=>m||x?1:"unset");rt(!!h,"Reorder.Item must be a child of Reorder.Group","reorder-item-child");const{axis:y,registerItem:f,updateOrder:g}=h;return o.jsx(l,{drag:y,...s,dragSnapToOrigin:!0,style:{...t,x:u.x,y:u.y,zIndex:p},layout:r,onDrag:(m,x)=>{const{velocity:M}=x;M[y]&&g(n,u[y].get(),M[y]),i&&i(m,x)},onLayoutMeasure:m=>f(n,m),ref:d,ignoreStrict:!0,children:e})}const vpe=k.forwardRef(gpe),_L=[o.jsx(V1,{size:18}),o.jsx(At,{size:18}),o.jsx(A1,{size:18}),o.jsx(zt,{size:18}),o.jsx(I1,{size:18}),o.jsx(L1,{size:18})],xpe=({items:e,onReorder:t,draggable:n=!1,className:c,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=_L[u%_L.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 m=g[1],x=g[2]??"",M=m.padStart(3,"0");h.text=`${y} / ${M}${x}`}}}),l(e)):l([])},[e]),o.jsxs("div",{className:`trend-list ${c??""}`,draggable:n,style:{position:"relative"},children:[o.jsx("div",{className:"trend-header",style:r,children:i??"Trend"}),o.jsx("div",{className:"trend-list-body",style:{opacity:n?0:1},children:o.jsx(kpe,{axis:"y",values:d,onReorder:h=>{l(h),t?.(h)},style:{display:"flex",flexDirection:"column",gap:8},children:d.map((h,u)=>o.jsx(Mpe,{value:h,index:u,itemsDraggable:s},String(h.id)))})}),n&&o.jsx("div",{style:{position:"absolute",top:0,left:0,width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",pointerEvents:"none"},children:o.jsx(a.Move,{size:48,strokeWidth:1.5,style:{opacity:.8}})})]})};function Mpe({value:e,index:t}){const n=upe(),c=_L[t%_L.length]??null;return o.jsx(vpe,{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:o.jsxs("div",{style:{display:"flex",alignItems:"center",gap:8},children:[o.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:o.jsx("svg",{width:"25",height:"25",viewBox:"0 0 24 24","aria-hidden":!0,children:o.jsxs("g",{fill:"currentColor",children:[o.jsx("circle",{cx:"8",cy:"6",r:"2"}),o.jsx("circle",{cx:"16",cy:"6",r:"2"}),o.jsx("circle",{cx:"8",cy:"12",r:"2"}),o.jsx("circle",{cx:"16",cy:"12",r:"2"}),o.jsx("circle",{cx:"8",cy:"18",r:"2"}),o.jsx("circle",{cx:"16",cy:"18",r:"2"})]})})}),o.jsx("div",{style:{flex:1},children:o.jsx(d$,{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??c})})]})})}function _pe(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 Lpe(e){return!e||typeof e=="string"&&e.trim()===""}function Ipe(e){return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(e)?null:{isValid:!1,error:"Format d'email invalide"}}function bpe(e){return/^(https?:\/\/)?([\da-z.-]+)\.([a-z.]{2,6})([/\w .-]*)*\/?$/.test(e)?null:{isValid:!1,error:"Format d'URL invalide"}}function wpe(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 Cpe(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 Npe(e,t){if(t.validation?.acceptedTypes){const n=t.validation.acceptedTypes.split(","),c=e.type;if(!n.some(i=>c.match(i.replace("*",".*"))))return{isValid:!1,error:`Type de fichier non supporté: ${c}`}}return t.validation?.maxFileSize&&e.size>t.validation.maxFileSize?{isValid:!1,error:`Fichier trop volumineux (max ${t.validation.maxFileSize/1048576}MB)`}:null}function Spe(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 LL(e,t){const n=_pe(e,t);if(n)return n;if(Lpe(e))return{isValid:!0};const c=e.toString();switch(t.type){case"email":{const r=Ipe(c);if(r)return r;break}case"url":{const r=bpe(c);if(r)return r;break}case"number":{const r=wpe(e,t);if(r)return r;break}case"date":case"month":case"week":case"time":case"datetime-local":{const r=Cpe(e,t);if(r)return r;break}case"file":{const r=Npe(e,t);if(r)return r;break}}const i=Spe(c,t);return i||{isValid:!0}}function Uq(e,t){const n={};let c=!0;for(const i of t){const r=LL(e[i.name],i);r.isValid||(n[i.name]=r.error,c=!1)}return{isValid:c,errors:n}}const jpe="_formContainer_14ads_1",$pe="_headerLine_14ads_17",qpe="_formTitle_14ads_25",Ape="_formDescription_14ads_30",zpe="_sectionTitle_14ads_37",Vpe="_sectionHelp_14ads_44",Ppe="_fieldHelp_14ads_50",Tpe="_gridContainer_14ads_58",Hpe="_fieldGridItem_14ads_70",Dpe="_sectionFull_14ads_105",Bpe="_formFooter_14ads_110",Rpe="_footerLeft_14ads_118",Fpe="_footerRight_14ads_119",Epe="_cancelLink_14ads_125",Ope="_submitButton_14ads_136",Upe="_fieldLabel_14ads_148",Wpe="_inputWrapper_14ads_163",Gpe="_inputInner_14ads_187",Kpe="_hasPrefix_14ads_196",Zpe="_inputBase_14ads_196",Xpe="_iconPrefix_14ads_292",Ype="_iconSuffix_14ads_293",Jpe="_passwordToggle_14ads_319",Qpe="_fieldError_14ads_365",eye="_fieldInvalid_14ads_372",ke={formContainer:jpe,headerLine:$pe,formTitle:qpe,formDescription:Ape,sectionTitle:zpe,sectionHelp:Vpe,fieldHelp:Ppe,gridContainer:Tpe,fieldGridItem:Hpe,sectionFull:Dpe,formFooter:Bpe,footerLeft:Rpe,footerRight:Fpe,cancelLink:Epe,submitButton:Ope,fieldLabel:Upe,inputWrapper:Wpe,inputInner:Gpe,hasPrefix:Kpe,inputBase:Zpe,iconPrefix:Xpe,iconSuffix:Ype,passwordToggle:Jpe,fieldError:Qpe,fieldInvalid:eye},Wq=({field:e,value:t,onChange:n,onBlur:c,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?Mt[e.attributes.icon]:null),y=e.attributes?.iconPosition??"suffix",f=g=>{n(g.target.value)};return o.jsxs("div",{className:ke.inputWrapper,children:[o.jsx("label",{className:`${ke.fieldLabel} ${e.required?"required":""}`,htmlFor:e.name,children:e.label}),o.jsxs("div",{className:`${ke.inputInner} ${p&&y==="prefix"?ke.hasPrefix:""}`,children:[p&&y==="prefix"&&o.jsx("span",{className:ke.iconPrefix,children:o.jsx(p,{size:16})}),o.jsx("input",{id:e.name,name:e.name,type:u,placeholder:e.placeholder,className:`${ke.inputBase} ${i?ke.fieldInvalid:""}`,value:t??"",onChange:f,onBlur:c,disabled:!!e.disabled,"aria-invalid":!!i,"aria-describedby":e.help?`${e.name}-help`:void 0}),l&&h&&o.jsx("button",{type:"button","aria-label":s?"Masquer le mot de passe":"Afficher le mot de passe",className:ke.passwordToggle,onClick:()=>d(g=>!g),children:s?o.jsx(S1,{size:16}):o.jsx(j1,{size:16})}),p&&y==="suffix"&&!l&&o.jsx("span",{className:ke.iconSuffix,children:o.jsx(p,{size:16})})]}),r&&i&&o.jsx("span",{className:ke.fieldError,children:i})]})},tye="_fieldGroup_yb3zi_7",aye="_fieldLabel_yb3zi_11",nye="_required_yb3zi_17",oye="_fieldInput_yb3zi_22",cye="_fieldInvalid_yb3zi_40",iye="_fieldValid_yb3zi_44",rye="_fieldError_yb3zi_48",sye="_radioGroup_yb3zi_57",Vt={fieldGroup:tye,fieldLabel:aye,required:nye,fieldInput:oye,fieldInvalid:cye,fieldValid:iye,fieldError:rye,radioGroup:sye},$L=({field:e,children:t,error:n,touched:c})=>{const i=c&&n;return o.jsxs("div",{className:Vt.fieldGroup,children:[e.type!=="checkbox"&&e.type!=="radio"&&o.jsx("label",{className:`${Vt.fieldLabel} ${e.required?Vt.required:""}`,children:e.label}),t,i&&o.jsx("span",{className:Vt.fieldError,children:n})]})},Gq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=r&&i,d=r&&!i&&t,l=["form-control",Vt.fieldInput,s?Vt.fieldInvalid:"",d?Vt.fieldValid:""].filter(Boolean).join(" ");return o.jsx($L,{field:e,error:i,touched:r,children:o.jsx("textarea",{className:l,placeholder:e.placeholder,value:t||"",onChange:h=>n(h.target.value),onBlur:c,rows:4})})},dye="_wrapper_117u4_1",lye="_wrapperInvalid_117u4_15",hye="_nativeSelect_117u4_19",uye="_display_117u4_30",pye="_topLabel_117u4_37",yye="_valueLine_117u4_45",kye="_valuePlaceholder_117u4_53",mye="_valueActive_117u4_57",fye="_caret_117u4_61",gye="_error_117u4_75",vye="_optionStyle_117u4_89",Xe={wrapper:dye,wrapperInvalid:lye,nativeSelect:hye,display:uye,topLabel:pye,valueLine:yye,valuePlaceholder:kye,valueActive:mye,caret:fye,error:gye,optionStyle:vye},nC=({field:e,value:t,onChange:n,onBlur:c,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 o.jsxs("div",{className:`${Xe.wrapper} ${s?Xe.wrapperInvalid:""} ${t?Xe.wrapperHasValue:""}`,children:[o.jsxs("select",{id:e.name,name:e.name,className:Xe.nativeSelect,value:t??"",onChange:u=>n(u.target.value),onBlur:c,"aria-invalid":s,"aria-label":d,children:[o.jsx("option",{value:"",disabled:!0,hidden:!0,children:l||`Sélectionnez ${d?.toLowerCase()||""}`}),e.options?.map((u,p)=>o.jsx("option",{value:u.value,className:Xe.optionStyle,children:u.label},p))]}),o.jsxs("div",{className:Xe.display,children:[d&&o.jsx("span",{className:Xe.topLabel,children:d}),o.jsx("span",{className:`${Xe.valueLine} ${t?Xe.valueActive:Xe.valuePlaceholder}`,children:t?h:l}),o.jsx("span",{className:Xe.caret,"aria-hidden":"true"})]}),s&&o.jsx("span",{className:Xe.error,children:i})]})},Kq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{field:e,error:i,touched:r,children:o.jsxs("div",{className:"form-check",children:[o.jsx("input",{type:"checkbox",className:"form-check-input",id:e.name,checked:!!t,onChange:s=>n(s.target.checked),onBlur:c}),o.jsx("label",{className:"form-check-label",htmlFor:e.name,children:e.label})]})}),Zq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsx($L,{field:e,error:i,touched:r,children:o.jsx("div",{className:Vt.radioGroup,children:e.options?.map(s=>o.jsxs("div",{className:"form-check",children:[o.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:c}),o.jsx("label",{className:"form-check-label",htmlFor:`${e.name}-${s.value}`,children:s.label})]},s.value))})}),xye="_fileInputContainer_r2guc_3",Mye="_customFileInput_r2guc_8",_ye="_fileInputLabel_r2guc_12",Lye="_dragOver_r2guc_39",Iye="_uploadIcon_r2guc_44",bye="_uploadText_r2guc_50",wye="_uploadHint_r2guc_56",Cye="_fileList_r2guc_60",Nye="_fileListTitle_r2guc_69",Sye="_fileItem_r2guc_80",jye="_fileIcon_r2guc_96",$ye="_fileName_r2guc_102",qye="_fileSize_r2guc_108",Aye="_removeButton_r2guc_114",zye="_errorText_r2guc_129",Ve={fileInputContainer:xye,customFileInput:Mye,fileInputLabel:_ye,dragOver:Lye,uploadIcon:Iye,uploadText:bye,uploadHint:wye,fileList:Cye,fileListTitle:Nye,fileItem:Sye,fileIcon:jye,fileName:$ye,fileSize:qye,removeButton:Aye,errorText:zye},Xq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=k.useRef(null),[d,l]=k.useState(!1),h=x=>{n(x.target.files)},u=()=>{s.current&&s.current.click()},p=x=>{x.preventDefault(),l(!0)},y=()=>{l(!1)},f=x=>{x.preventDefault(),l(!1),x.dataTransfer.files&&x.dataTransfer.files.length>0&&n(x.dataTransfer.files)},g=x=>{if(!t)return;const M=Array.from(t);M.splice(x,1);const v=new DataTransfer;M.forEach(I=>v.items.add(I)),n(v.files)},m=x=>{if(x===0)return"0 Bytes";const M=1024,v=["Bytes","KB","MB","GB"],I=Math.floor(Math.log(x)/Math.log(M));return parseFloat((x/Math.pow(M,I)).toFixed(2))+" "+v[I]};return o.jsxs("div",{className:`${Ve.fileInputContainer} ${r&&i?Ve.hasError:""}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"file",id:e.name,name:e.name,multiple:e.attributes?.multiple||!1,accept:e.attributes?.accept,onChange:h,onBlur:c,ref:s,className:Ve.customFileInput}),o.jsxs("label",{htmlFor:e.name,className:`${Ve.fileInputLabel} ${d?Ve.dragOver:""}`,onDragOver:p,onDragLeave:y,onDrop:f,onClick:u,tabIndex:0,children:[o.jsx("div",{className:Ve.uploadIcon,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",fill:"currentColor",viewBox:"0 0 16 16",children:[o.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"}),o.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"})]})}),o.jsx("div",{className:Ve.uploadText,children:d?"Déposez vos fichiers ici":"Cliquez ou glissez-déposez pour téléverser"}),o.jsxs("div",{className:Ve.uploadHint,children:[e.attributes?.accept||"Tous les fichiers"," ",e.attributes?.multiple?"(Multiple autorisé)":""]})]}),t&&t.length>0&&o.jsxs("div",{className:Ve.fileList,children:[o.jsx("div",{className:Ve.fileListTitle,children:"Fichiers sélectionnés:"}),o.jsx("ul",{children:Array.from(t).map((x,M)=>o.jsxs("li",{className:Ve.fileItem,children:[o.jsx("div",{className:Ve.fileIcon,children:o.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:o.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"})})}),o.jsx("div",{className:Ve.fileName,children:x.name}),o.jsx("div",{className:Ve.fileSize,children:m(x.size)}),o.jsx("button",{type:"button",className:Ve.removeButton,onClick:v=>{v.stopPropagation(),g(M)},"aria-label":`Supprimer ${x.name}`,children:o.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",viewBox:"0 0 16 16",children:[o.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"}),o.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"})]})})]},M))})]}),r&&i&&o.jsx("div",{className:Ve.errorText,children:i})]})},Vye="_container_ecah4_2",Pye="_label_ecah4_6",Tye="_requiredIndicator_ecah4_13",Hye="_input_ecah4_18",Dye="_inputError_ecah4_49",Bye="_errorMessage_ecah4_58",Uc={container:Vye,label:Pye,requiredIndicator:Tye,input:Hye,inputError:Dye,errorMessage:Bye},Yq=({field:e,value:t,onChange:n,onBlur:c,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 o.jsxs("div",{className:Uc.container,children:[o.jsxs("label",{htmlFor:e.name,className:Uc.label,style:{color:s},children:[e.label,e.required&&o.jsx("span",{className:Uc.requiredIndicator,children:"*"})]}),o.jsx("input",{type:l,id:e.name,name:e.name,value:t||"",onChange:h=>n(h.target.value),onBlur:c,className:`${Uc.input} ${r&&i?Uc.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&&o.jsx("div",{className:Uc.errorMessage,children:i})]})},Rye="_rangeContainer_cyqk3_3",Fye={rangeContainer:Rye},Jq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:`mb-3 ${Fye.rangeContainer}`,children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,": ",t,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsx("input",{type:"range",id:e.name,name:e.name,value:t||0,onChange:s=>n(s.target.value),onBlur:c,className:`form-range ${r&&i?"is-invalid":""}`,min:e.validation?.min||0,max:e.validation?.max||100,step:e.attributes?.step||1}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),Eye="_colorPickerContainer_1wxgj_2",Oye="_colorInput_1wxgj_19",Uye="_colorValue_1wxgj_39",lI={colorPickerContainer:Eye,colorInput:Oye,colorValue:Uye},Qq=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>o.jsxs("div",{className:"mb-3",children:[o.jsxs("label",{htmlFor:e.name,className:"form-label",children:[e.label,e.required&&o.jsx("span",{className:"text-danger",children:" *"})]}),o.jsxs("div",{className:lI.colorPickerContainer,children:[o.jsx("input",{type:"color",id:e.name,name:e.name,value:t||"#000000",onChange:s=>n(s.target.value),onBlur:c,className:lI.colorInput}),o.jsx("span",{className:lI.colorValue,children:t})]}),r&&i&&o.jsx("div",{className:"invalid-feedback",children:i})]}),eA=({field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})=>{const s=["date","month","week","time","datetime-local"];if(e.type==="file")return o.jsx(Xq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(s.includes(e.type))return o.jsx(Yq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="range")return o.jsx(Jq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});if(e.type==="color")return o.jsx(Qq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});switch(e.type){case"textarea":return o.jsx(Gq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"select":return o.jsx(nC,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"checkbox":return o.jsx(Kq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});case"radio":return o.jsx(Zq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r});default:return o.jsx(Wq,{field:e,value:t,onChange:n,onBlur:c,error:i,touched:r})}};var hI,UN;function Wye(){if(UN)return hI;UN=1;function e(){this.__data__=[],this.size=0}return hI=e,hI}var uI,WN;function tA(){if(WN)return uI;WN=1;function e(t,n){return t===n||t!==t&&n!==n}return uI=e,uI}var pI,GN;function qL(){if(GN)return pI;GN=1;var e=tA();function t(n,c){for(var i=n.length;i--;)if(e(n[i][0],c))return i;return-1}return pI=t,pI}var yI,KN;function Gye(){if(KN)return yI;KN=1;var e=qL(),t=Array.prototype,n=t.splice;function c(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 yI=c,yI}var kI,ZN;function Kye(){if(ZN)return kI;ZN=1;var e=qL();function t(n){var c=this.__data__,i=e(c,n);return i<0?void 0:c[i][1]}return kI=t,kI}var mI,XN;function Zye(){if(XN)return mI;XN=1;var e=qL();function t(n){return e(this.__data__,n)>-1}return mI=t,mI}var fI,YN;function Xye(){if(YN)return fI;YN=1;var e=qL();function t(n,c){var i=this.__data__,r=e(i,n);return r<0?(++this.size,i.push([n,c])):i[r][1]=c,this}return fI=t,fI}var gI,JN;function AL(){if(JN)return gI;JN=1;var e=Wye(),t=Gye(),n=Kye(),c=Zye(),i=Xye();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=c,r.prototype.set=i,gI=r,gI}var vI,QN;function Yye(){if(QN)return vI;QN=1;var e=AL();function t(){this.__data__=new e,this.size=0}return vI=t,vI}var xI,eS;function Jye(){if(eS)return xI;eS=1;function e(t){var n=this.__data__,c=n.delete(t);return this.size=n.size,c}return xI=e,xI}var MI,tS;function Qye(){if(tS)return MI;tS=1;function e(t){return this.__data__.get(t)}return MI=e,MI}var _I,aS;function e4e(){if(aS)return _I;aS=1;function e(t){return this.__data__.has(t)}return _I=e,_I}var LI,nS;function aA(){if(nS)return LI;nS=1;var e=typeof a.commonjsGlobal=="object"&&a.commonjsGlobal&&a.commonjsGlobal.Object===Object&&a.commonjsGlobal;return LI=e,LI}var II,oS;function bt(){if(oS)return II;oS=1;var e=aA(),t=typeof self=="object"&&self&&self.Object===Object&&self,n=e||t||Function("return this")();return II=n,II}var bI,cS;function oC(){if(cS)return bI;cS=1;var e=bt(),t=e.Symbol;return bI=t,bI}var wI,iS;function t4e(){if(iS)return wI;iS=1;var e=oC(),t=Object.prototype,n=t.hasOwnProperty,c=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=c.call(s);return h&&(d?s[i]=l:delete s[i]),u}return wI=r,wI}var CI,rS;function a4e(){if(rS)return CI;rS=1;var e=Object.prototype,t=e.toString;function n(c){return t.call(c)}return CI=n,CI}var NI,sS;function zL(){if(sS)return NI;sS=1;var e=oC(),t=t4e(),n=a4e(),c="[object Null]",i="[object Undefined]",r=e?e.toStringTag:void 0;function s(d){return d==null?d===void 0?i:c:r&&r in Object(d)?t(d):n(d)}return NI=s,NI}var SI,dS;function nA(){if(dS)return SI;dS=1;function e(t){var n=typeof t;return t!=null&&(n=="object"||n=="function")}return SI=e,SI}var jI,lS;function oA(){if(lS)return jI;lS=1;var e=zL(),t=nA(),n="[object AsyncFunction]",c="[object Function]",i="[object GeneratorFunction]",r="[object Proxy]";function s(d){if(!t(d))return!1;var l=e(d);return l==c||l==i||l==n||l==r}return jI=s,jI}var $I,hS;function n4e(){if(hS)return $I;hS=1;var e=bt(),t=e["__core-js_shared__"];return $I=t,$I}var qI,uS;function o4e(){if(uS)return qI;uS=1;var e=n4e(),t=function(){var c=/[^.]+$/.exec(e&&e.keys&&e.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}();function n(c){return!!t&&t in c}return qI=n,qI}var AI,pS;function cA(){if(pS)return AI;pS=1;var e=Function.prototype,t=e.toString;function n(c){if(c!=null){try{return t.call(c)}catch{}try{return c+""}catch{}}return""}return AI=n,AI}var zI,yS;function c4e(){if(yS)return zI;yS=1;var e=oA(),t=o4e(),n=nA(),c=cA(),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(c(y))}return zI=p,zI}var VI,kS;function i4e(){if(kS)return VI;kS=1;function e(t,n){return t?.[n]}return VI=e,VI}var PI,mS;function l1(){if(mS)return PI;mS=1;var e=c4e(),t=i4e();function n(c,i){var r=t(c,i);return e(r)?r:void 0}return PI=n,PI}var TI,fS;function cC(){if(fS)return TI;fS=1;var e=l1(),t=bt(),n=e(t,"Map");return TI=n,TI}var HI,gS;function VL(){if(gS)return HI;gS=1;var e=l1(),t=e(Object,"create");return HI=t,HI}var DI,vS;function r4e(){if(vS)return DI;vS=1;var e=VL();function t(){this.__data__=e?e(null):{},this.size=0}return DI=t,DI}var BI,xS;function s4e(){if(xS)return BI;xS=1;function e(t){var n=this.has(t)&&delete this.__data__[t];return this.size-=n?1:0,n}return BI=e,BI}var RI,MS;function d4e(){if(MS)return RI;MS=1;var e=VL(),t="__lodash_hash_undefined__",n=Object.prototype,c=n.hasOwnProperty;function i(r){var s=this.__data__;if(e){var d=s[r];return d===t?void 0:d}return c.call(s,r)?s[r]:void 0}return RI=i,RI}var FI,_S;function l4e(){if(_S)return FI;_S=1;var e=VL(),t=Object.prototype,n=t.hasOwnProperty;function c(i){var r=this.__data__;return e?r[i]!==void 0:n.call(r,i)}return FI=c,FI}var EI,LS;function h4e(){if(LS)return EI;LS=1;var e=VL(),t="__lodash_hash_undefined__";function n(c,i){var r=this.__data__;return this.size+=this.has(c)?0:1,r[c]=e&&i===void 0?t:i,this}return EI=n,EI}var OI,IS;function u4e(){if(IS)return OI;IS=1;var e=r4e(),t=s4e(),n=d4e(),c=l4e(),i=h4e();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=c,r.prototype.set=i,OI=r,OI}var UI,bS;function p4e(){if(bS)return UI;bS=1;var e=u4e(),t=AL(),n=cC();function c(){this.size=0,this.__data__={hash:new e,map:new(n||t),string:new e}}return UI=c,UI}var WI,wS;function y4e(){if(wS)return WI;wS=1;function e(t){var n=typeof t;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?t!=="__proto__":t===null}return WI=e,WI}var GI,CS;function PL(){if(CS)return GI;CS=1;var e=y4e();function t(n,c){var i=n.__data__;return e(c)?i[typeof c=="string"?"string":"hash"]:i.map}return GI=t,GI}var KI,NS;function k4e(){if(NS)return KI;NS=1;var e=PL();function t(n){var c=e(this,n).delete(n);return this.size-=c?1:0,c}return KI=t,KI}var ZI,SS;function m4e(){if(SS)return ZI;SS=1;var e=PL();function t(n){return e(this,n).get(n)}return ZI=t,ZI}var XI,jS;function f4e(){if(jS)return XI;jS=1;var e=PL();function t(n){return e(this,n).has(n)}return XI=t,XI}var YI,$S;function g4e(){if($S)return YI;$S=1;var e=PL();function t(n,c){var i=e(this,n),r=i.size;return i.set(n,c),this.size+=i.size==r?0:1,this}return YI=t,YI}var JI,qS;function iA(){if(qS)return JI;qS=1;var e=p4e(),t=k4e(),n=m4e(),c=f4e(),i=g4e();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=c,r.prototype.set=i,JI=r,JI}var QI,AS;function v4e(){if(AS)return QI;AS=1;var e=AL(),t=cC(),n=iA(),c=200;function i(r,s){var d=this.__data__;if(d instanceof e){var l=d.__data__;if(!t||l.length<c-1)return l.push([r,s]),this.size=++d.size,this;d=this.__data__=new n(l)}return d.set(r,s),this.size=d.size,this}return QI=i,QI}var eb,zS;function x4e(){if(zS)return eb;zS=1;var e=AL(),t=Yye(),n=Jye(),c=Qye(),i=e4e(),r=v4e();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=c,s.prototype.has=i,s.prototype.set=r,eb=s,eb}var tb,VS;function M4e(){if(VS)return tb;VS=1;var e="__lodash_hash_undefined__";function t(n){return this.__data__.set(n,e),this}return tb=t,tb}var ab,PS;function _4e(){if(PS)return ab;PS=1;function e(t){return this.__data__.has(t)}return ab=e,ab}var nb,TS;function L4e(){if(TS)return nb;TS=1;var e=iA(),t=M4e(),n=_4e();function c(i){var r=-1,s=i==null?0:i.length;for(this.__data__=new e;++r<s;)this.add(i[r])}return c.prototype.add=c.prototype.push=t,c.prototype.has=n,nb=c,nb}var ob,HS;function I4e(){if(HS)return ob;HS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length;++c<i;)if(n(t[c],c,t))return!0;return!1}return ob=e,ob}var cb,DS;function b4e(){if(DS)return cb;DS=1;function e(t,n){return t.has(n)}return cb=e,cb}var ib,BS;function rA(){if(BS)return ib;BS=1;var e=L4e(),t=I4e(),n=b4e(),c=1,i=2;function r(s,d,l,h,u,p){var y=l&c,f=s.length,g=d.length;if(f!=g&&!(y&&g>f))return!1;var m=p.get(s),x=p.get(d);if(m&&x)return m==d&&x==s;var M=-1,v=!0,I=l&i?new e:void 0;for(p.set(s,d),p.set(d,s);++M<f;){var b=s[M],w=d[M];if(h)var N=y?h(w,b,M,d,s,p):h(b,w,M,s,d,p);if(N!==void 0){if(N)continue;v=!1;break}if(I){if(!t(d,function(_,L){if(!n(I,L)&&(b===_||u(b,_,l,h,p)))return I.push(L)})){v=!1;break}}else if(!(b===w||u(b,w,l,h,p))){v=!1;break}}return p.delete(s),p.delete(d),v}return ib=r,ib}var rb,RS;function w4e(){if(RS)return rb;RS=1;var e=bt(),t=e.Uint8Array;return rb=t,rb}var sb,FS;function C4e(){if(FS)return sb;FS=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i,r){c[++n]=[r,i]}),c}return sb=e,sb}var db,ES;function N4e(){if(ES)return db;ES=1;function e(t){var n=-1,c=Array(t.size);return t.forEach(function(i){c[++n]=i}),c}return db=e,db}var lb,OS;function S4e(){if(OS)return lb;OS=1;var e=oC(),t=w4e(),n=tA(),c=rA(),i=C4e(),r=N4e(),s=1,d=2,l="[object Boolean]",h="[object Date]",u="[object Error]",p="[object Map]",y="[object Number]",f="[object RegExp]",g="[object Set]",m="[object String]",x="[object Symbol]",M="[object ArrayBuffer]",v="[object DataView]",I=e?e.prototype:void 0,b=I?I.valueOf:void 0;function w(N,_,L,j,S,C,$){switch(L){case v:if(N.byteLength!=_.byteLength||N.byteOffset!=_.byteOffset)return!1;N=N.buffer,_=_.buffer;case M:return!(N.byteLength!=_.byteLength||!C(new t(N),new t(_)));case l:case h:case y:return n(+N,+_);case u:return N.name==_.name&&N.message==_.message;case f:case m:return N==_+"";case p:var T=i;case g:var D=j&s;if(T||(T=r),N.size!=_.size&&!D)return!1;var z=$.get(N);if(z)return z==_;j|=d,$.set(N,_);var A=c(T(N),T(_),j,S,C,$);return $.delete(N),A;case x:if(b)return b.call(N)==b.call(_)}return!1}return lb=w,lb}var hb,US;function j4e(){if(US)return hb;US=1;function e(t,n){for(var c=-1,i=n.length,r=t.length;++c<i;)t[r+c]=n[c];return t}return hb=e,hb}var ub,WS;function iC(){if(WS)return ub;WS=1;var e=Array.isArray;return ub=e,ub}var pb,GS;function $4e(){if(GS)return pb;GS=1;var e=j4e(),t=iC();function n(c,i,r){var s=i(c);return t(c)?s:e(s,r(c))}return pb=n,pb}var yb,KS;function q4e(){if(KS)return yb;KS=1;function e(t,n){for(var c=-1,i=t==null?0:t.length,r=0,s=[];++c<i;){var d=t[c];n(d,c,t)&&(s[r++]=d)}return s}return yb=e,yb}var kb,ZS;function A4e(){if(ZS)return kb;ZS=1;function e(){return[]}return kb=e,kb}var mb,XS;function z4e(){if(XS)return mb;XS=1;var e=q4e(),t=A4e(),n=Object.prototype,c=n.propertyIsEnumerable,i=Object.getOwnPropertySymbols,r=i?function(s){return s==null?[]:(s=Object(s),e(i(s),function(d){return c.call(s,d)}))}:t;return mb=r,mb}var fb,YS;function V4e(){if(YS)return fb;YS=1;function e(t,n){for(var c=-1,i=Array(t);++c<t;)i[c]=n(c);return i}return fb=e,fb}var gb,JS;function TL(){if(JS)return gb;JS=1;function e(t){return t!=null&&typeof t=="object"}return gb=e,gb}var vb,QS;function P4e(){if(QS)return vb;QS=1;var e=zL(),t=TL(),n="[object Arguments]";function c(i){return t(i)&&e(i)==n}return vb=c,vb}var xb,ej;function T4e(){if(ej)return xb;ej=1;var e=P4e(),t=TL(),n=Object.prototype,c=n.hasOwnProperty,i=n.propertyIsEnumerable,r=e(function(){return arguments}())?e:function(s){return t(s)&&c.call(s,"callee")&&!i.call(s,"callee")};return xb=r,xb}var M1={exports:{}},Mb,tj;function H4e(){if(tj)return Mb;tj=1;function e(){return!1}return Mb=e,Mb}M1.exports;var aj;function sA(){return aj||(aj=1,function(e,t){var n=bt(),c=H4e(),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||c;e.exports=h}(M1,M1.exports)),M1.exports}var _b,nj;function D4e(){if(nj)return _b;nj=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function n(c,i){var r=typeof c;return i=i??e,!!i&&(r=="number"||r!="symbol"&&t.test(c))&&c>-1&&c%1==0&&c<i}return _b=n,_b}var Lb,oj;function dA(){if(oj)return Lb;oj=1;var e=9007199254740991;function t(n){return typeof n=="number"&&n>-1&&n%1==0&&n<=e}return Lb=t,Lb}var Ib,cj;function B4e(){if(cj)return Ib;cj=1;var e=zL(),t=dA(),n=TL(),c="[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]",g="[object String]",m="[object WeakMap]",x="[object ArrayBuffer]",M="[object DataView]",v="[object Float32Array]",I="[object Float64Array]",b="[object Int8Array]",w="[object Int16Array]",N="[object Int32Array]",_="[object Uint8Array]",L="[object Uint8ClampedArray]",j="[object Uint16Array]",S="[object Uint32Array]",C={};C[v]=C[I]=C[b]=C[w]=C[N]=C[_]=C[L]=C[j]=C[S]=!0,C[c]=C[i]=C[x]=C[r]=C[M]=C[s]=C[d]=C[l]=C[h]=C[u]=C[p]=C[y]=C[f]=C[g]=C[m]=!1;function $(T){return n(T)&&t(T.length)&&!!C[e(T)]}return Ib=$,Ib}var bb,ij;function R4e(){if(ij)return bb;ij=1;function e(t){return function(n){return t(n)}}return bb=e,bb}var _1={exports:{}};_1.exports;var rj;function F4e(){return rj||(rj=1,function(e,t){var n=aA(),c=t&&!t.nodeType&&t,i=c&&!0&&e&&!e.nodeType&&e,r=i&&i.exports===c,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}(_1,_1.exports)),_1.exports}var wb,sj;function lA(){if(sj)return wb;sj=1;var e=B4e(),t=R4e(),n=F4e(),c=n&&n.isTypedArray,i=c?t(c):e;return wb=i,wb}var Cb,dj;function E4e(){if(dj)return Cb;dj=1;var e=V4e(),t=T4e(),n=iC(),c=sA(),i=D4e(),r=lA(),s=Object.prototype,d=s.hasOwnProperty;function l(h,u){var p=n(h),y=!p&&t(h),f=!p&&!y&&c(h),g=!p&&!y&&!f&&r(h),m=p||y||f||g,x=m?e(h.length,String):[],M=x.length;for(var v in h)(u||d.call(h,v))&&!(m&&(v=="length"||f&&(v=="offset"||v=="parent")||g&&(v=="buffer"||v=="byteLength"||v=="byteOffset")||i(v,M)))&&x.push(v);return x}return Cb=l,Cb}var Nb,lj;function O4e(){if(lj)return Nb;lj=1;var e=Object.prototype;function t(n){var c=n&&n.constructor,i=typeof c=="function"&&c.prototype||e;return n===i}return Nb=t,Nb}var Sb,hj;function U4e(){if(hj)return Sb;hj=1;function e(t,n){return function(c){return t(n(c))}}return Sb=e,Sb}var jb,uj;function W4e(){if(uj)return jb;uj=1;var e=U4e(),t=e(Object.keys,Object);return jb=t,jb}var $b,pj;function G4e(){if(pj)return $b;pj=1;var e=O4e(),t=W4e(),n=Object.prototype,c=n.hasOwnProperty;function i(r){if(!e(r))return t(r);var s=[];for(var d in Object(r))c.call(r,d)&&d!="constructor"&&s.push(d);return s}return $b=i,$b}var qb,yj;function K4e(){if(yj)return qb;yj=1;var e=oA(),t=dA();function n(c){return c!=null&&t(c.length)&&!e(c)}return qb=n,qb}var Ab,kj;function Z4e(){if(kj)return Ab;kj=1;var e=E4e(),t=G4e(),n=K4e();function c(i){return n(i)?e(i):t(i)}return Ab=c,Ab}var zb,mj;function X4e(){if(mj)return zb;mj=1;var e=$4e(),t=z4e(),n=Z4e();function c(i){return e(i,n,t)}return zb=c,zb}var Vb,fj;function Y4e(){if(fj)return Vb;fj=1;var e=X4e(),t=1,n=Object.prototype,c=n.hasOwnProperty;function i(r,s,d,l,h,u){var p=d&t,y=e(r),f=y.length,g=e(s),m=g.length;if(f!=m&&!p)return!1;for(var x=f;x--;){var M=y[x];if(!(p?M in s:c.call(s,M)))return!1}var v=u.get(r),I=u.get(s);if(v&&I)return v==s&&I==r;var b=!0;u.set(r,s),u.set(s,r);for(var w=p;++x<f;){M=y[x];var N=r[M],_=s[M];if(l)var L=p?l(_,N,M,s,r,u):l(N,_,M,r,s,u);if(!(L===void 0?N===_||h(N,_,d,l,u):L)){b=!1;break}w||(w=M=="constructor")}if(b&&!w){var j=r.constructor,S=s.constructor;j!=S&&"constructor"in r&&"constructor"in s&&!(typeof j=="function"&&j instanceof j&&typeof S=="function"&&S instanceof S)&&(b=!1)}return u.delete(r),u.delete(s),b}return Vb=i,Vb}var Pb,gj;function J4e(){if(gj)return Pb;gj=1;var e=l1(),t=bt(),n=e(t,"DataView");return Pb=n,Pb}var Tb,vj;function Q4e(){if(vj)return Tb;vj=1;var e=l1(),t=bt(),n=e(t,"Promise");return Tb=n,Tb}var Hb,xj;function e5e(){if(xj)return Hb;xj=1;var e=l1(),t=bt(),n=e(t,"Set");return Hb=n,Hb}var Db,Mj;function t5e(){if(Mj)return Db;Mj=1;var e=l1(),t=bt(),n=e(t,"WeakMap");return Db=n,Db}var Bb,_j;function a5e(){if(_j)return Bb;_j=1;var e=J4e(),t=cC(),n=Q4e(),c=e5e(),i=t5e(),r=zL(),s=cA(),d="[object Map]",l="[object Object]",h="[object Promise]",u="[object Set]",p="[object WeakMap]",y="[object DataView]",f=s(e),g=s(t),m=s(n),x=s(c),M=s(i),v=r;return(e&&v(new e(new ArrayBuffer(1)))!=y||t&&v(new t)!=d||n&&v(n.resolve())!=h||c&&v(new c)!=u||i&&v(new i)!=p)&&(v=function(I){var b=r(I),w=b==l?I.constructor:void 0,N=w?s(w):"";if(N)switch(N){case f:return y;case g:return d;case m:return h;case x:return u;case M:return p}return b}),Bb=v,Bb}var Rb,Lj;function n5e(){if(Lj)return Rb;Lj=1;var e=x4e(),t=rA(),n=S4e(),c=Y4e(),i=a5e(),r=iC(),s=sA(),d=lA(),l=1,h="[object Arguments]",u="[object Array]",p="[object Object]",y=Object.prototype,f=y.hasOwnProperty;function g(m,x,M,v,I,b){var w=r(m),N=r(x),_=w?u:i(m),L=N?u:i(x);_=_==h?p:_,L=L==h?p:L;var j=_==p,S=L==p,C=_==L;if(C&&s(m)){if(!s(x))return!1;w=!0,j=!1}if(C&&!j)return b||(b=new e),w||d(m)?t(m,x,M,v,I,b):n(m,x,_,M,v,I,b);if(!(M&l)){var $=j&&f.call(m,"__wrapped__"),T=S&&f.call(x,"__wrapped__");if($||T){var D=$?m.value():m,z=T?x.value():x;return b||(b=new e),I(D,z,M,v,b)}}return C?(b||(b=new e),c(m,x,M,v,I,b)):!1}return Rb=g,Rb}var Fb,Ij;function o5e(){if(Ij)return Fb;Ij=1;var e=n5e(),t=TL();function n(c,i,r,s,d){return c===i?!0:c==null||i==null||!t(c)&&!t(i)?c!==c&&i!==i:e(c,i,r,s,n,d)}return Fb=n,Fb}var Eb,bj;function c5e(){if(bj)return Eb;bj=1;var e=o5e();function t(n,c){return e(n,c)}return Eb=t,Eb}var i5e=c5e();const r5e=a.getDefaultExportFromCjs(i5e),s5e=({schema:e,initialData:t={},onSubmit:n,submitLabel:c,submitIcon:i,submitIconPosition:r="left",onCancel:s,cancelLabel:d="Retour",cancelIcon:l})=>{const[h,u]=k.useState(t),[p,y]=k.useState({}),[f,g]=k.useState({}),[m,x]=k.useState(!1),M=k.useRef(t);k.useEffect(()=>{r5e(M.current,t)||(u(t),M.current=t)},[t]);const v=(L,j)=>{const S={...h,[L]:j};if(u(S),f[L]){const C=e.fields.find($=>$.name===L);if(C){const $=LL(j,C);y(T=>({...T,[L]:$.isValid?"":$.error}))}}},I=L=>{if(!f[L]){g(S=>({...S,[L]:!0}));const j=e.fields.find(S=>S.name===L);if(j){const S=LL(h[L],j);y(C=>({...C,[L]:S.isValid?"":S.error}))}}},b=async L=>{L.preventDefault(),x(!0);const j=e.fields.reduce((C,$)=>($.type!=="section"&&(C[$.name]=!0),C),{});g(j);const S=Uq(h,e.fields.filter(C=>C.type!=="section"));if(y(S.errors),S.isValid)try{await n(h)}catch(C){console.error("Erreur lors de la soumission:",C),y($=>({...$,__global:"Une erreur est survenue lors de la soumission"}))}x(!1)},w=l?Mt[l]:null,N=i&&Mt[i]||e.submitIcon&&Mt[e.submitIcon]||null,_=e.columns&&e.columns>0?Math.floor(e.columns):12;return o.jsxs("div",{className:ke.formContainer,children:[o.jsx("div",{className:ke.headerLine,children:o.jsx("h2",{className:ke.formTitle,children:e.title})}),e.description&&o.jsx("p",{className:ke.formDescription,children:e.description}),p.__global&&o.jsx("div",{className:`alert alert-danger ${ke.globalError}`,children:p.__global}),o.jsxs("form",{onSubmit:b,children:[o.jsx("div",{className:ke.gridContainer,style:{gridTemplateColumns:`repeat(${_}, minmax(0, 1fr))`},children:e.fields.map(L=>{if(L.type==="section")return o.jsxs("div",{className:ke.sectionFull,children:[o.jsx("h5",{className:ke.sectionTitle,children:L.label}),L.help&&o.jsx("p",{className:ke.sectionHelp,children:L.help})]},L.name);const S={gridColumn:`span ${Math.max(1,Math.min(_,L.gridCol??_))}`};return o.jsxs("div",{className:ke.fieldGridItem,style:S,children:[o.jsx(eA,{field:L,value:h[L.name],onChange:C=>v(L.name,C),onBlur:()=>I(L.name),error:p[L.name],touched:f[L.name]}),L.help&&o.jsx("small",{className:ke.fieldHelp,children:L.help})]},L.name)})}),o.jsxs("div",{className:ke.formFooter,children:[o.jsx("div",{className:ke.footerLeft,children:s&&o.jsxs("button",{type:"button",className:ke.cancelLink,onClick:s,children:[w&&o.jsx(w,{size:16,className:"me-2"})," ",d]})}),o.jsx("div",{className:ke.footerRight,children:o.jsx(uL,{type:"submit",variant:"primary",size:"md",className:ke.submitButton,disabled:m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"spinner-border spinner-border-sm me-2",role:"status"}),"Validation..."]}):o.jsxs(o.Fragment,{children:[N&&(r==="left"||e.submitIconPosition==="left")&&o.jsx(N,{size:16,className:"me-2"}),c||e.submitText||"Valider",N&&(r==="right"||e.submitIconPosition==="right")&&o.jsx(N,{size:16,className:"ms-2"})]})})})]})]})]})};function d5e(e){return{title:e._formTitle||"Formulaire",description:e._formDescription,fields:e._fieldMetadata||[],submitText:e._submitText||"Valider"}}const wj=new Map,vw=({path:e,style:t,width:n=24,height:c=24,keepColors:i=!1,onClick:r})=>{const s=/^https?:\/\//.test(e),[d,l]=k.useState("");if(k.useEffect(()=>{if(s)return;e&&(async()=>{try{let u=wj.get(e);u||(u=fetch(e).then(m=>{if(!m.ok)throw new Error(`Failed to load ${e}`);return m.text()}),wj.set(e,u));let p=await u;const y=t?.width!==void 0?"100%":`${n}px`,f=t?.height!==void 0?"100%":`${c}px`;i||(p=p.replace(/fill="[^"]*"/g,'fill="currentColor"'),p=p.replace(/fill='[^']*'/g,"fill='currentColor'"));const g=i?`width="${y}" height="${f}"`:`width="${y}" height="${f}" fill="currentColor"`;p=p.replace(/<svg/,`<svg ${g}`),l(p)}catch(u){console.error(`Failed to load icon: ${e}`,u)}})()},[e,s,t?.width,t?.height,n,c]),s){const h=t?.width!==void 0?"100%":`${n}px`,u=t?.height!==void 0?"100%":`${c}px`;return o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},children:o.jsx("img",{src:e,alt:"",style:{display:"block",width:h,height:u}})})}return d?o.jsx("span",{onClick:r,style:{display:"inline-flex",alignItems:"center",justifyContent:"center",color:t?.color||"inherit",...t},dangerouslySetInnerHTML:{__html:d}}):null},l5e="_container_1gljv_85",h5e="_tableWrapper_1gljv_111",u5e="_tableControls_1gljv_117",p5e="_controlsRight_1gljv_128",y5e="_limitedRows_1gljv_151",k5e="_table_1gljv_111",m5e="_headerCell_1gljv_206",f5e="_headerContent_1gljv_220",g5e="_headerWords_1gljv_229",v5e="_headerWord_1gljv_229",x5e="_cellContent_1gljv_276",M5e="_alignLeft_1gljv_286",_5e="_alignCenter_1gljv_290",L5e="_alignRight_1gljv_294",I5e="_tableCell_1gljv_298",b5e="_tableRow_1gljv_308",w5e="_emptyRow_1gljv_385",C5e="_toggleFiltersButton_1gljv_393",N5e="_toggleSortButton_1gljv_394",S5e="_buttonTextCompact_1gljv_415",j5e="_uppercaseSmall_1gljv_450",$5e="_filtersPanel_1gljv_463",q5e="_filtersPanelInline_1gljv_481",A5e="_filtersPanelHorizontal_1gljv_492",z5e="_filtersRow_1gljv_492",V5e="_filtersActionsHorizontal_1gljv_525",P5e="_filterItemInline_1gljv_542",T5e="_filterLabel_1gljv_571",H5e="_filterInput_1gljv_576",D5e="_filterSelect_1gljv_577",B5e="_operatorSelect_1gljv_578",R5e="_operatorInput_1gljv_579",F5e="_activeFilterTag_1gljv_597",E5e="_actionsGroup_1gljv_609",O5e="_applyButton_1gljv_615",U5e="_cancelButton_1gljv_625",W5e="_columnSorterContainer_1gljv_649",G5e="_sorterControls_1gljv_654",K5e="_sortDropdownWrapper_1gljv_659",Z5e="_sortDropdown_1gljv_659",X5e="_sortDropdownHeader_1gljv_679",Y5e="_closeButton_1gljv_688",J5e="_sortDropdownContent_1gljv_703",Q5e="_sortDropdownItem_1gljv_709",eke="_sortDirectionButtons_1gljv_734",tke="_sortDirectionButton_1gljv_734",ake="_activeSort_1gljv_757",nke="_sortActions_1gljv_764",oke="_paginationButton_1gljv_842",cke="_pageSizeSelect_1gljv_844",ike="_topPagination_1gljv_853",rke="_paginationContainer_1gljv_861",ske="_leftGroup_1gljv_874",dke="_pageSizeControls_1gljv_882",lke="_paginationInfo_1gljv_908",hke="_paginationControls_1gljv_916",uke="_disabledButton_1gljv_947",pke="_activeButton_1gljv_952",yke="_navigationButton_1gljv_962",kke="_operatorFilterContainer_1gljv_1010",mke="_rangeSeparator_1gljv_1016",fke="_activeFiltersSection_1gljv_1179",gke="_activeFiltersRow_1gljv_1184",vke="_activeFiltersList_1gljv_1192",xke="_clearAllButton_1gljv_1200",Mke="_removeFilterButton_1gljv_1221",_ke="_sortIndicator_1gljv_1272",Lke="_active_1gljv_349",Ike="_clearSortButton_1gljv_1371",bke="_loaderSpinner_1gljv_2743",wke="_loaderSpinnerSmall_1gljv_2755",Cke="_paginationLoading_1gljv_2772",Nke="_loadingButton_1gljv_2780",Ske="_loadingIndicator_1gljv_2791",H={container:l5e,tableWrapper:h5e,tableControls:u5e,controlsRight:p5e,limitedRows:y5e,table:k5e,headerCell:m5e,headerContent:f5e,headerWords:g5e,headerWord:v5e,cellContent:x5e,alignLeft:M5e,alignCenter:_5e,alignRight:L5e,tableCell:I5e,tableRow:b5e,emptyRow:w5e,toggleFiltersButton:C5e,toggleSortButton:N5e,buttonTextCompact:S5e,uppercaseSmall:j5e,filtersPanel:$5e,filtersPanelInline:q5e,filtersPanelHorizontal:A5e,filtersRow:z5e,filtersActionsHorizontal:V5e,filterItemInline:P5e,filterLabel:T5e,filterInput:H5e,filterSelect:D5e,operatorSelect:B5e,operatorInput:R5e,activeFilterTag:F5e,actionsGroup:E5e,applyButton:O5e,cancelButton:U5e,columnSorterContainer:W5e,sorterControls:G5e,sortDropdownWrapper:K5e,sortDropdown:Z5e,sortDropdownHeader:X5e,closeButton:Y5e,sortDropdownContent:J5e,sortDropdownItem:Q5e,sortDirectionButtons:eke,sortDirectionButton:tke,activeSort:ake,sortActions:nke,paginationButton:oke,pageSizeSelect:cke,topPagination:ike,paginationContainer:rke,leftGroup:ske,pageSizeControls:dke,paginationInfo:lke,paginationControls:hke,disabledButton:uke,activeButton:pke,navigationButton:yke,operatorFilterContainer:kke,rangeSeparator:mke,activeFiltersSection:fke,activeFiltersRow:gke,activeFiltersList:vke,clearAllButton:xke,removeFilterButton:Mke,sortIndicator:_ke,active:Lke,clearSortButton:Ike,loaderSpinner:bke,loaderSpinnerSmall:wke,paginationLoading:Cke,loadingButton:Nke,loadingIndicator:Ske},jke=({config:e,value:t,onChange:n,disabled:c})=>o.jsxs("select",{value:t===""?"":String(t),onChange:i=>n(i.target.value===""?"":i.target.value==="true"),disabled:c,className:H.filterSelect,children:[o.jsx("option",{value:"",children:`Filtrer ${e.label}...`}),o.jsx("option",{value:"true",children:"Oui"}),o.jsx("option",{value:"false",children:"Non"})]}),$ke=({config:e,value:t,onChange:n,disabled:c})=>o.jsx("input",{type:"date",value:t||"",onChange:i=>n(i.target.value),placeholder:`Filtrer ${e.label}...`,disabled:c,className:H.filterInput}),qke=({config:e,value:t,onChange:n,disabled:c})=>{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 o.jsx("select",{multiple:!0,value:t.map(String),onChange:s,disabled:c,className:H.filterMultiSelect,children:i.map((d,l)=>o.jsx("option",{value:String(d.value),children:d.label},l))})},Cj=({config:e,value:t,onChange:n,disabled:c})=>{const[i,r]=k.useState(t||""),s=d=>{const l=d.target.value===""?"":Number(d.target.value);r(l),n(l)};return o.jsx("input",{type:"number",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:H.filterInput})},Ake=({config:e,value:t,onChange:n,disabled:c=!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?o.jsx("div",{children:"Chargement..."}):o.jsxs("select",{value:String(t||""),onChange:l,disabled:c,className:H.filterInput,children:[o.jsx("option",{value:"",children:"Select..."}),i.map(h=>o.jsx("option",{value:h.value,children:h.label},h.value))]})},zke=({config:e,value:t,onChange:n,disabled:c=!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 o.jsx("input",{type:"text",value:i,onChange:s,placeholder:e.placeholder||`Filtrer ${e.label}...`,disabled:c,className:H.filterInput})},Vke=({config:e,value:t,onChange:n,disabled:c=!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 o.jsxs("div",{className:H.operatorFilterContainer,children:[o.jsxs("select",{value:i,onChange:l,disabled:c,className:H.operatorSelect,children:[o.jsx("option",{value:"",children:"Sélectionner un opérateur"}),e.operators.map(u=>o.jsx("option",{value:String(u.value),children:u.label},String(u.value)))]}),o.jsx("input",{type:"text",value:s,onChange:h,placeholder:"Valeur",disabled:c||!i,className:H.operatorInput})]})},Pke=({value:e,onChange:t,disabled:n})=>{const c=e||{},i=s=>{t({...c,start:s.target.value})},r=s=>{t({...c,end:s.target.value})};return o.jsxs("div",{className:H.dateRangeContainer,children:[o.jsx("input",{type:"date",value:c.start||"",onChange:i,disabled:n,className:H.filterInput}),o.jsx("span",{className:H.rangeSeparator,children:"→"}),o.jsx("input",{type:"date",value:c.end||"",onChange:r,disabled:n,className:H.filterInput})]})},Tke=({config:e,value:t,onChange:n,disabled:c})=>{switch(e.type){case"text":case"search":return o.jsx(zke,{config:e,value:t,onChange:n,disabled:c});case"number":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"range":return o.jsx(Cj,{config:e,value:t,onChange:n,disabled:c});case"select":return o.jsx(Ake,{config:e,value:t,onChange:n,disabled:c});case"operator":return o.jsx(Vke,{config:e,value:t,onChange:n,disabled:c});case"multiselect":return o.jsx(qke,{config:e,value:t,onChange:n,disabled:c});case"date":return o.jsx($ke,{config:e,value:t,onChange:n,disabled:c});case"daterange":return o.jsx(Pke,{config:e,value:t??{start:"",end:""},onChange:n,disabled:c});case"boolean":return o.jsx(jke,{config:e,value:t,onChange:n,disabled:c});default:return o.jsxs("div",{children:["Type de filtre non supporté: ",e.type]})}},hA=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,isControlled:i=!1})=>{const[r,s]=k.useState([]),[d,l]=k.useState(()=>{const g={};return e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),g});k.useEffect(()=>{if(!i)return;const g={...d??{}};e.forEach(m=>{m.id in g||(g[m.id]=m.type==="daterange"?{start:"",end:""}:m.defaultValue??"")}),(t||[]).forEach(m=>{!m||!m.id||(g[m.id]=m.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,m)=>{l(x=>({...x,[g]:m}))},[]),p=k.useCallback(async()=>{const g=[],m={...d};for(const[x,M]of Object.entries(m)){const v=e.find(w=>w.id===x);if(!v)continue;let I=M;try{typeof M=="function"&&(I=await M(m)),typeof v.executeOnApply=="function"&&(I=await v.executeOnApply(I,m))}catch{continue}if(v.type==="daterange"){const w=I?.start??"",N=I?.end??"",_=typeof w=="string"?w.trim()==="":!w,L=typeof N=="string"?N.trim()==="":!N;if(_&&L)continue}I==null||typeof I=="string"&&I.trim()===""||Array.isArray(I)&&I.length===0||typeof I=="object"&&!Array.isArray(I)&&Object.keys(I).length===0||g.push({id:x,type:v.type,value:I,label:v.label})}return i?n?.(g):(s(g),c?.(g)),g},[d,e,i,n,c]),y=k.useCallback(g=>{l(m=>({...m,[g]:void 0})),u(g,void 0)},[u]),f=k.useCallback(()=>{const g={};e.forEach(m=>{m.type==="daterange"?g[m.id]={start:"",end:""}:g[m.id]=m.defaultValue??""}),l(g),i?n?.([]):(s([]),c?.([]))},[e,i,n,c]);return{appliedFilters:h,tempFilters:d,updateFilter:u,applyFilters:p,clearFilter:y,clearAllFilters:f}},Hke=(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(c=>String(c)).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 c=n;if(!c.start||!c.end)return!1;const i=c.start,r=c.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(c){return console.error("Error processing daterange filter:",c),!1}case"operator":if(typeof n=="object"&&n!==null){const c=n;if(!("operator"in c)||!("value"in c))return!1;const{operator:i,value:r}=c,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 uA(e,t,n="",c={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(x=>t.some(M=>{const v=x.data[M.id];return v==null?!1:String(v).toLowerCase().includes(l)}))),s.length>0&&(m=m.filter(x=>s.every(M=>{try{const v=x.data[M.id];return Hke(v,M)}catch(v){return console.error("Error applying filter:",v),!1}}))),m},[e,t,l,s]),u=k.useMemo(()=>{if(!c?.key)return h;const m=c.key;return[...h].sort((x,M)=>{const v=x.data[m],I=M.data[m];if(v==null)return 1;if(I==null)return-1;if(typeof v=="number"&&typeof I=="number")return c.direction==="desc"?I-v:v-I;if(v instanceof Date&&I instanceof Date){const w=v.getTime()-I.getTime();return c.direction==="desc"?-w:w}const b=String(v).localeCompare(String(I),void 0,{numeric:!0,sensitivity:"base"});return c.direction==="desc"?-b:b})},[h,c]),p=u,y=Math.ceil(u.length/d),f=0,g=Math.min(i*d,u.length);return{paginatedData:p,sortedData:u,filteredData:h,totalPages:y,startIndex:f,endIndex:g}}const pA=({value:e})=>e,yA=({value:e})=>k.createElement("a",{href:`mailto:${e}`,className:"email-link"},e),kA=({value:e})=>k.createElement("a",{href:String(e),target:"_blank",rel:"noopener noreferrer",className:"text-link"},e),mA=({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",c=typeof e=="object"?e.text:e,i=t[n]||t.default;return k.createElement("span",{className:`badge ${i}`},c)},fA=({value:e})=>{try{return new Date(e).toLocaleDateString()}catch{return String(e)}},gA=({value:e})=>k.createElement("span",{className:"number-value"},Number(e).toLocaleString()),vA=({value:e})=>k.createElement("span",{className:"currency-value"},new Intl.NumberFormat("fr-FR",{style:"currency",currency:"EUR"}).format(Number(e))),xA=({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"})),xw={renderers:{text:pA,email:yA,link:kA,badge:mA,date:fA,number:gA,currency:vA,image:xA},icons:{sortAsc:k.createElement($c,{className:"sort-icon active",size:14}),sortDesc:k.createElement(Tt,{className:"sort-icon active",size:14}),sortDefault:k.createElement(t1,{className:"sort-icon",size:14})}},Dke=(e,t)=>{xw.renderers[e]&&console.warn(`Le renderer "${e}" existe déjà et sera écrasé.`),xw.renderers[e]=t},Bke=({filters:e,externalFilters:t=[],onFiltersChange:n,onApply:c,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:g=!1,loading:m=!1})=>{const[x,M]=k.useState(!1),v=typeof s=="boolean"?s:x,{appliedFilters:I,tempFilters:b,updateFilter:w,applyFilters:N,clearAllFilters:_}=hA({filters:e,externalFilters:t,onFiltersChange:n,onApply:c,isControlled:i}),L=k.useRef(null),j=k.useRef(null);k.useEffect(()=>{if(v&&L.current){const z=L.current.getBoundingClientRect().height;h?.(z)}else h?.(0)},[v,e,b,h]);const S=()=>{typeof s=="boolean"?d?.(!s):M(z=>{const A=!z;return d?.(A),A})},C=()=>e.map(z=>{const A=b?.[z.id];return A==null||typeof A=="string"&&A.trim()===""?null:{id:z.id,label:z.label,value:A}}).filter(Boolean),$=async()=>{let z;try{z=await N()}catch{z=void 0}let A=[];z&&Array.isArray(z)&&z.length>0?A=z:I&&I.length>0?A=I:A=C(),n?.(A),c?.(A)},T=()=>{d?.(!1),typeof s!="boolean"&&M(!1)},D=()=>{_(),n?.([]),c?.([])};return k.useEffect(()=>{const z=q=>{v&&j.current&&(j.current.contains(q.target)||(d?.(!1),typeof s!="boolean"&&M(!1)))},A=q=>{q.key==="Escape"&&v&&(d?.(!1),typeof s!="boolean"&&M(!1))};return v&&(document.addEventListener("pointerdown",z),document.addEventListener("keydown",A)),()=>{document.removeEventListener("pointerdown",z),document.removeEventListener("keydown",A)}},[v,s,d]),o.jsxs("div",{className:H.advancedFiltersContainer,ref:j,children:[o.jsxs("button",{className:`${H.toggleFiltersButton} ${I.length>0?H.active:""} ${v?H.toggleFiltersButtonOpen:""} ${m?H.loadingButton:""}`,onClick:S,"aria-expanded":v,"aria-controls":"advanced-filters-panel",type:"button",disabled:m,children:[m?o.jsx("span",{className:H.loaderSpinnerSmall}):o.jsx(qt,{size:14}),o.jsx("span",{className:H.buttonTextCompact,children:u}),I.length>0&&!m&&o.jsx("span",{className:H.filterCountBadge,"aria-hidden":!0,children:I.length}),m&&o.jsx("span",{className:H.loadingIndicator,"aria-hidden":!0,children:"Chargement..."})]}),v&&o.jsxs("div",{id:"advanced-filters-panel",ref:L,className:`${H.filtersPanel} ${l==="top"?`${H.filtersPanelInline} ${H.filtersPanelHorizontal}`:""}`,role:"region","aria-label":"Panneau de filtres avancés",children:[o.jsx("div",{className:H.filtersRow,children:e.map(z=>o.jsxs("div",{className:`${H.filterItem} ${H.filterItemInline}`,children:[o.jsxs("label",{className:H.filterLabel,children:[z.label,z.required&&o.jsx("span",{className:H.required,children:"*"})]}),o.jsx(Tke,{config:z,value:b[z.id],onChange:A=>w(z.id,A),disabled:z.disabled})]},z.id))}),o.jsxs("div",{className:H.filtersActionsHorizontal,children:[o.jsx("div",{className:H.activeFiltersSection,children:I.length>0&&o.jsxs("div",{className:H.activeFiltersRow,children:[o.jsx("span",{className:H.activeLabelCompact,children:"Actifs :"}),o.jsx("div",{className:H.activeFiltersList,children:I.map(z=>o.jsxs("div",{className:H.activeFilterTag,children:[z.label??z.id,o.jsx("button",{className:H.removeFilterButton,onClick:()=>w(z.id,void 0),"aria-label":`Supprimer ${z.id}`,type:"button",children:"×"})]},z.id))}),o.jsxs("button",{className:H.clearAllButton,onClick:D,type:"button",children:[o.jsx(tt,{size:12})," ",f]})]})}),o.jsxs("div",{className:H.actionsGroup,children:[o.jsx("button",{className:H.cancelButton,onClick:T,type:"button",disabled:m,children:y}),o.jsx("button",{className:`${H.applyButton} ${m?H.loadingButton:""}`,onClick:$,type:"button",disabled:g||m,"aria-disabled":g||m,children:m?o.jsxs(o.Fragment,{children:[o.jsx("span",{className:H.loaderSpinnerSmall}),o.jsx("span",{children:"Chargement..."})]}):p})]})]})]})]})},Nj=e=>{const t=e.replace(/[^A-Za-zÀ-ÖØ-öø-ÿ]/g,"");return t.length>0&&t===t.toUpperCase()},Rke=({columns:e,sortConfig:t,onSort:n,label:c="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,m)=>{n({key:g,direction:m}),s(!1)},p=()=>{n({key:null,direction:"asc"}),s(!1)},y=()=>s(g=>!g),f=()=>{s(!1)};return k.useEffect(()=>{if(!r)return;const g=x=>{if(!l.current)return;const M=x.target;M&&!l.current.contains(M)&&s(!1)},m=x=>{x.key==="Escape"&&s(!1)};return document.addEventListener("pointerdown",g),document.addEventListener("keydown",m),()=>{document.removeEventListener("pointerdown",g),document.removeEventListener("keydown",m)}},[r]),k.useEffect(()=>{const g=document.querySelector("[data-table-wrapper]");if(!g)return;const m=g.style.overflow??"";return r?g.style.overflow="hidden":g.style.overflow=m,()=>{g.style.overflow=m}},[r]),o.jsx("div",{className:H.columnSorterContainer,ref:l,children:o.jsx("div",{className:H.sorterControls,children:d.length>0&&o.jsxs("div",{className:H.sortDropdownWrapper,ref:l,children:[o.jsxs("button",{className:`${H.toggleSortButton} ${r?H.toggleSortButtonOpen:""} ${h?H.active:""} ${i?H.loadingButton:""}`,onClick:y,"aria-expanded":r,"aria-haspopup":"true",type:"button",disabled:i,children:[i?o.jsx("span",{className:H.loaderSpinnerSmall}):o.jsx(t1,{size:14}),o.jsx("span",{className:`${H.buttonTextCompact} ${Nj(c)?H.uppercaseSmall:""}`,children:c}),h&&!i&&o.jsx("div",{className:H.sortIndicator,children:t?.direction==="asc"?o.jsx($c,{size:12}):o.jsx(Tt,{size:12})})]}),r&&o.jsxs("div",{className:`${H.sortDropdown} ${H.sortDropdownInline}`,role:"menu",children:[o.jsxs("div",{className:H.sortDropdownHeader,children:[o.jsx("span",{children:"Trier par:"}),o.jsx("button",{className:H.closeButton,onClick:f,"aria-label":"Fermer",type:"button",children:o.jsx(tt,{size:16})})]}),o.jsx("div",{className:H.sortDropdownContent,children:d.map(g=>{const m=String(g.label??g.id),x=Nj(m);return o.jsxs("div",{className:H.sortDropdownItem,role:"menuitem",tabIndex:0,onKeyDown:M=>{M.key==="Enter"&&u(g.id,"asc")},children:[o.jsx("span",{className:`${H.columnSorterLabel} ${x?H.uppercaseSmall:""}`,title:m,"aria-label":m,children:m}),o.jsxs("div",{className:H.sortDirectionButtons,children:[o.jsx("button",{className:`${H.sortDirectionButton} ${t?.key===g.id&&t?.direction==="asc"?H.activeSort:""}`,onClick:()=>u(g.id,"asc"),title:"Trier par ordre croissant",type:"button",children:o.jsx($c,{size:12})}),o.jsx("button",{className:`${H.sortDirectionButton} ${t?.key===g.id&&t?.direction==="desc"?H.activeSort:""}`,onClick:()=>u(g.id,"desc"),title:"Trier par ordre décroissant",type:"button",children:o.jsx(Tt,{size:12})})]})]},g.id)})}),h&&o.jsx("div",{className:H.sortActions,children:o.jsxs("button",{className:H.clearSortButton,onClick:p,type:"button",children:[o.jsx($t,{size:14}),o.jsx("span",{children:"Annuler le tri"})]})})]})]})})})},Fke=({currentPage:e,totalPages:t,pageSize:n,totalItems:c,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=c>0?(h-1)*n+1:0,f=c>0?Math.min(h*n,c):0,g=()=>{const m=[];let M=Math.max(1,h-Math.floor(2.5)),v=M+5-1;v>l&&(v=l,M=Math.max(1,v-5+1));for(let I=M;I<=v;I++)m.push(I);return m};return o.jsxs("div",{className:H.paginationContainer,role:"navigation","aria-label":"Pagination",children:[o.jsx("div",{className:H.leftGroup,children:s&&o.jsx("div",{className:H.pageSizeControls,children:o.jsx("select",{value:n,onChange:m=>s(Number(m.target.value)),className:H.pageSizeSelect,"aria-label":"Taille de page",disabled:d,children:[10,20,30].map(m=>o.jsx("option",{value:m,children:m},m))})})}),o.jsx("div",{className:H.paginationInfo,"aria-live":"polite",children:d?o.jsxs("span",{className:H.paginationLoading,children:[o.jsx("span",{className:H.loaderSpinner}),o.jsx("span",{children:"Chargement..."})]}):`${y}-${f} ${i}`}),o.jsxs("div",{className:H.paginationControls,children:[o.jsx("button",{onClick:u,disabled:h===1||d,className:`${H.paginationButton} ${H.navigationButton} ${h===1?H.disabledButton:""} ${d?H.loadingButton:""}`,"aria-label":"Page précédente",children:d&&h>1?o.jsx("span",{className:H.loaderSpinnerSmall}):"«"}),g().map(m=>o.jsx("button",{onClick:()=>r(m),disabled:d,"aria-current":h===m?"page":void 0,className:`${H.paginationButton} ${h===m?H.activeButton:""} ${d?H.loadingButton:""}`,children:d&&h===m?o.jsx("span",{className:H.loaderSpinnerSmall}):m},m)),o.jsx("button",{onClick:p,disabled:d||h>=l,className:`${H.paginationButton} ${H.navigationButton} ${d?H.loadingButton:""} ${h>=l?H.disabledButton:""}`,"aria-label":"Page suivante",children:d?o.jsx("span",{className:H.loaderSpinnerSmall}):"»"})]})]})},Eke=(e,t)=>{if(!e)return"";if(t)return e;const n=String(e).trim();if(!n)return n;const c=n.toLowerCase();return c.charAt(0).toUpperCase()+c.slice(1)},Oke=e=>{if(!e)return!1;const t=e.trim().split(/\s+/);return e.length>18||t.length>2},Uke=({columns:e})=>o.jsx("thead",{className:H.tableHeader,children:o.jsx("tr",{children:e.map((t,n)=>{const c=t.align==="right"?H.alignRight:t.align==="left"?H.alignLeft:H.alignCenter,i=t.preserveHeaderCase===!0,r=Eke(String(t.label??""),i),s=Oke(r),d=s?r.split(/\s+/):[];return o.jsx("th",{className:`${H.headerCell} ${c}`,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:o.jsx("div",{className:H.headerContent,children:s?o.jsx("div",{className:H.headerWords,children:d.map((l,h)=>o.jsx("span",{className:H.headerWord,children:l},h))}):o.jsx("span",{children:r})})},t.id??`col-${n}`)})})}),Wke=({value:e,row:t,column:n})=>{const c=n.align==="right"?H.alignRight:n.align==="left"?H.alignLeft:H.alignCenter,i=typeof n.render=="function"?n.render(e,t):e==null?"":String(e);return o.jsx("td",{className:`${H.tableCell} ${c}`,style:{width:n.width??void 0},children:o.jsx("div",{className:H.cellContent,children:i})})},Gke=({row:e,rowId:t,columns:n,onRowClick:c,index:i,getRowStyle:r})=>{const s=r?r(e):{},{backgroundColor:d,accentColor:l,...h}=s||{},u={backgroundColor:d,...h,"--row-accent":l??"transparent"};return o.jsx("tr",{className:`${H.tableRow} ${c?H.clickableRow:""}`,onClick:()=>c?.(e,i),style:u,children:n.map(p=>o.jsx(Wke,{value:e[p.id],row:e,column:p},`${t}-${p.id}`))})},Kke=({data:e,columns:t,onRowClick:n,startIndex:c,searchTerm:i,getRowStyle:r})=>e.length===0?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,className:H.emptyRow,children:i?"Aucun résultat trouvé":"Aucune donnée disponible"})})}):o.jsx("tbody",{children:e.map((s,d)=>o.jsx(Gke,{row:s.data,rowId:s.id,columns:t,onRowClick:n,index:c+d-1,getRowStyle:r},s.id))}),MA=({columns:e=[],data:t=[],pagination:n={pageSize:10,currentPage:1},onRowClick:c,searchTerm:i="",className:r="",filterConfig:s=[],externalFilters:d=[],onFiltersChange:l,onApplyFilters:h,onSort:u,filtersControlled:p=!1,debounceTimeout:y=300,getRowStyle:f,background:g,onPageSizeChange:m,onPageChange:x,itemLabel:M="items",advancedFiltersLabel:v="Advanced-Filters",advancedFiltersActiveLabel:I,sortLabel:b="Sort",applyLabel:w="Apply",cancelLabel:N="Cancel",clearLabel:_="Clear",applyDisabled:L=!1,paginationLoading:j=!1,filtersLoading:S=!1,sortLoading:C=!1,totalCount:$=null})=>{const[T,D]=k.useState({key:null,direction:"asc"}),[z,A]=k.useState(n.currentPage??1),[q,B]=k.useState(n.pageSize??10),[R,V]=k.useState(!1),U=k.useRef(null),[te,F]=k.useState([]),O=p?d:te,ie=p?[]:te;k.useEffect(()=>{const oe=n.currentPage??1,be=n.pageSize??10;oe!==z&&A(oe),be!==q&&B(be)},[n.currentPage,n.pageSize]);const{paginatedData:ce,sortedData:xe,totalPages:re,startIndex:ae}=uA(t,e,i,T,z,q,ie),ne=xe.length,le=typeof $=="number"&&$>=0?$:ne;let pe=re;typeof $=="number"&&$>=0&&(pe=Math.max(1,Math.ceil($/q)));const me=ne>10;k.useEffect(()=>{const oe=Math.max(1,Math.floor(pe));z>oe&&A(oe),z<1&&A(1)},[pe]);const W=oe=>{p||F(oe),l?.(oe),A(1),x?.(1)},X=oe=>{p||F(oe),h?.(oe),A(1),x?.(1),U.current&&U.current.style.setProperty("--filters-panel-height","0px")},se=oe=>{x?.(oe),A(oe)},je=oe=>{B(oe),A(1),m?.(oe),x?.(1)},Be=oe=>{U.current&&U.current.style.setProperty("--filters-panel-height",`${Math.round(oe)}px`)},ge=oe=>{D(oe),u?.(oe)},Se=oe=>{V(oe),!oe&&U.current&&U.current.style.setProperty("--filters-panel-height","0px")};k.useEffect(()=>{(O?.length??0)>0&&V(!0)},[O]),k.useEffect(()=>{s.length>0&&O.length>0&&V(!0)},[s.length,O.length]);const h1=(O?.length??0)>0&&I?I:v;return o.jsxs("div",{ref:U,className:`${H.container} ${r} ${R?H.filtersOpen:""}`,style:{background:g,"--row-height":"48px","--header-height":"56px"},children:[o.jsx("div",{className:H.tableControls,children:o.jsxs("div",{className:H.controlsRight,children:[o.jsx(Rke,{columns:e,onSort:ge,label:b,sortConfig:T,loading:C}),s.length>0&&o.jsx(Bke,{filters:s,externalFilters:O,onFiltersChange:W,onApply:X,isControlled:p,debounceTimeout:y,expanded:R,onToggle:Se,panelPlacement:"top",onPanelHeightChange:Be,label:h1,applyLabel:w,cancelLabel:N,clearLabel:_,applyDisabled:L,loading:S})]})}),o.jsx("div",{className:H.topPagination,children:o.jsx(Fke,{currentPage:z,totalPages:pe,pageSize:q,totalItems:le,itemLabel:M,onPageChange:se,onPageSizeChange:je,loading:j})}),o.jsx("div",{className:`${H.tableWrapper} ${me?H.limitedRows:""}`,"data-table-wrapper":!0,children:o.jsxs("table",{className:H.table,children:[o.jsx(Uke,{columns:e}),o.jsx(Kke,{data:ce,columns:e,onRowClick:c,startIndex:ae,getRowStyle:f,searchTerm:i})]})})]})};function Zke(e){const{pagination:t,totalCount:n,onPageChange:c,...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||c?.(p))};return o.jsx(MA,{...i,pagination:{pageSize:r,currentPage:s},totalCount:n,onPageChange:u})}const Xke=({page:e,pageSize:t,total:n,onPageChange:c,itemLabel:i="élément",ofLabel:r="sur",className:s})=>{const d=Math.max(1,Math.ceil(n/t)),l=n===0?0:(e-1)*t+1,h=Math.min(e*t,n),u=n>1?`${i}s`:i;if(n===0)return null;const p=4;let y=Math.max(1,e-Math.floor(p/2)),f=y+p-1;f>d&&(f=d,y=Math.max(1,f-p+1));const g=[];for(let m=y;m<=f;m++)g.push(m);return o.jsxs(Yke,{className:s,children:[o.jsxs(Jke,{children:[l,"-",h," ",r," ",n," ",u]}),o.jsx(Qke,{}),d>1&&o.jsxs(e3e,{children:[o.jsx(di,{onClick:()=>c(1),disabled:e===1,title:"Première page",children:"<<"}),o.jsx(di,{onClick:()=>c(e-1),disabled:e===1,title:"Page précédente",children:"<"}),g.map(m=>o.jsx(t3e,{$active:m===e,onClick:()=>c(m),children:m},m)),o.jsx(di,{onClick:()=>c(e+1),disabled:e===d,title:"Page suivante",children:">"}),o.jsx(di,{onClick:()=>c(d),disabled:e===d,title:"Dernière page",children:">>"})]})]})},Yke=E.div`
|
|
8273
8273
|
display: flex;
|
|
8274
8274
|
align-items: center;
|
|
8275
8275
|
justify-content: space-between;
|
|
@@ -8333,18 +8333,18 @@
|
|
|
8333
8333
|
&:hover:not(:disabled) {
|
|
8334
8334
|
background-color: ${e=>e.$active?"var(--color-primary)":"var(--color-background, #f3f4f6)"};
|
|
8335
8335
|
}
|
|
8336
|
-
`,a3e="_mpRoot_31595_1",n3e="_mpHeader_31595_22",o3e="_mpTitle_31595_31",c3e="_mpList_31595_35",i3e="_mpVertical_31595_41",r3e="_mpHorizontal_31595_46",s3e="_mpItem_31595_55",d3e="_mpClickable_31595_95",l3e="_mpLeft_31595_117",h3e="_mpIcon_31595_125",u3e="_mpMeta_31595_140",p3e="_mpLabel_31595_145",y3e="_mpDate_31595_154",k3e="_mpRight_31595_160",m3e="_mpValue_31595_168",f3e="_mpHint_31595_176",g3e="_mpBadge_31595_180",v3e="_mpBadgeTop_31595_199",x3e="_mpBadgeSub_31595_206",M3e="_mpBadgeSmall_31595_213",_3e="_mpPill_31595_229",L3e="_mpRounded_31595_232",I3e="_mpCompact_31595_236",b3e="_compactItemWrapper_31595_252",w3e="_mpSummaryRoot_31595_265",C3e="_mpSummaryInner_31595_269",N3e="_mpSummaryFlex_31595_284",S3e="_mpSummaryCardWrapperHorizontal_31595_292",j3e="_mpSummaryCardWrapper_31595_292",$3e="_mpSummaryCardHorizontal_31595_303",q3e="_mpSummaryCard_31595_292",A3e="_mpSummaryValue_31595_321",z3e="_mpSummaryLabel_31595_327",V3e="_mpSummaryBadge_31595_338",P3e="_mpSummaryBadgeSub_31595_357",T3e="_mpEmpty_31595_365",H3e="_mpSummaryVertical_31595_372",D3e="_mpIconSquare_31595_380",ee={mpRoot:a3e,mpHeader:n3e,mpTitle:o3e,mpList:c3e,mpVertical:i3e,mpHorizontal:r3e,mpItem:s3e,mpClickable:d3e,mpLeft:l3e,mpIcon:h3e,mpMeta:u3e,mpLabel:p3e,mpDate:y3e,mpRight:k3e,mpValue:m3e,mpHint:f3e,mpBadge:g3e,mpBadgeTop:v3e,mpBadgeSub:x3e,mpBadgeSmall:M3e,mpPill:_3e,mpRounded:L3e,mpCompact:I3e,compactItemWrapper:b3e,mpSummaryRoot:w3e,mpSummaryInner:C3e,mpSummaryFlex:N3e,mpSummaryCardWrapperHorizontal:S3e,mpSummaryCardWrapper:j3e,mpSummaryCardHorizontal:$3e,mpSummaryCard:q3e,mpSummaryValue:A3e,mpSummaryLabel:z3e,mpSummaryBadge:V3e,mpSummaryBadgeSub:P3e,mpEmpty:T3e,mpSummaryVertical:H3e,mpIconSquare:D3e},Pt=(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 c=n.replace("#","").toLowerCase();if(c.length===3&&(c=c.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(c))return`rgba(124, 58, 237, ${t})`;const i=parseInt(c.slice(0,2),16),r=parseInt(c.slice(2,4),16),s=parseInt(c.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},B3e=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[ee.mpItem,t==="pill"?ee.mpPill:ee.mpRounded,n?ee.mpClickable:""].filter(Boolean).join(" ");if(i)return o.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 o.jsxs(d,{...l,children:[o.jsxs("div",{className:ee.mpLeft,children:[h?o.jsx("div",{className:ee.mpIconSquare,style:{background:u??Pt(p??c??"#7c3aed",1),border:`1px solid ${Pt(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:ee.mpIcon,children:e.icon}):null,o.jsxs("div",{className:ee.mpMeta,children:[o.jsx("div",{className:ee.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:ee.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:ee.mpDate,children:e.date})]})]}),o.jsxs("div",{className:ee.mpRight,children:[o.jsx("div",{className:ee.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[ee.mpBadge,e.badge.small?ee.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Pt(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Pt(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:ee.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:ee.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:ee.mpHint,children:e.hint}):null]})]})},R3e=k.memo(B3e),Sj=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:ee.mpHeader,children:[o.jsx("div",{className:ee.mpTitle,children:e}),o.jsx("div",{children:t})]}),jj=(e,t=1)=>{try{return Pt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},F3e=({item:e})=>o.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:[o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[o.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),o.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??jj("#7c3aed",.12),border:`1px solid ${jj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),E3e=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:ee.mpSummaryCard,style:{background:t,width:c??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[o.jsx("div",{className:ee.mpSummaryLabel,children:e.label}),o.jsx("div",{className:ee.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:ee.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:ee.mpSummaryBadgeSub,children:e.badge.subText})]})]}),$j=(e,t=1)=>{try{return Pt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},qj=e=>o.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[o.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?o.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[o.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?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:$j("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:$j("#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:[o.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?o.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}},O3e=e=>{switch(e){case"image":return t=>k.createElement(F3e,{item:t});case"pertinence":return t=>k.createElement(E3e,{item:t});case"alternateHorizontal":return t=>Aj(qj,t);case"compact":return t=>Aj(qj,t);case"summary":return;case"default":default:return}},_A=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?ee.mpSummaryCardHorizontal:ee.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:ee.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:ee.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:ee.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:ee.mpSummaryLabel,children:e.label})]})},U3e=["transparent","transparent","transparent","transparent"],W3e=["transparent","transparent","transparent","transparent"],G3e=["#059669","#2563eb","#b45309","#7c3aed"],K3e=(e,t=1)=>{try{return Pt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},LA=e=>{const{items:t=[],layout:n="vertical",orientation:c="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:g=U3e,summaryBorderColors:m=W3e,summaryValueColors:x=G3e,preset:M,background:v}=e,{itemsContainerStyle:L,itemsContainerClassName:b,summaryGridColumns:w,compactItemWidth:N,compactItemHeight:_,compactItemStyle:I,summaryCardWidth:j,summaryCardHeight:S,summaryCardStyle:C}=e,$=n==="vertical",T={"--mp-accent":r,"--mp-accent-soft":K3e(r,.08),"--mp-bg-primary":v},D=[ee.mpRoot,$?ee.mpVertical:ee.mpHorizontal,s?ee.mpCompact:"",f?ee.mpSummaryRoot:"",c!=="auto"?c==="vertical"?ee.mpOrientationVertical:ee.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(O3e(M)??void 0),[y,M]);if(f){const A=c==="horizontal"?ee.mpSummaryFlex:ee.mpSummaryVertical,B={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...L??{}};return o.jsxs("div",{className:D,style:T,"aria-busy":u,children:[d&&o.jsx(Sj,{title:d}),o.jsx("div",{className:ee.mpSummaryInner,children:o.jsx("div",{className:`${A} ${b??""}`,style:B,children:t.length===0?o.jsx("div",{className:ee.mpEmpty,children:p}):t.map((R,V)=>{const O=R.bgColor??g[V%g.length],J=R.borderColor??m[V%m.length],F=R.valueColor??x[V%x.length];return z?o.jsx("div",{className:c==="horizontal"?ee.mpSummaryCardWrapperHorizontal:ee.mpSummaryCardWrapper,style:{width:j??void 0,height:S??void 0,...C??{}},children:z(R,V)},R.id):o.jsx(_A,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:O,border:J,valueColor:F,onClick:l,width:j??void 0,height:S??void 0,extraStyle:C},R.id)})})})]})}return o.jsxs("div",{className:D,style:T,"aria-busy":u,children:[d&&o.jsx(Sj,{title:d}),o.jsx("div",{className:ee.mpList,style:L,children:u?o.jsx("div",{className:ee.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:ee.mpEmpty,children:p}):t.map(A=>{const q=s?{width:N??void 0,height:_??void 0,boxSizing:"border-box",...I??{}}:void 0;return o.jsx("div",{className:s?ee.compactItemWrapper:void 0,style:q,children:o.jsx(R3e,{item:A,shape:i,onItemClick:l,color:r,renderItem:z?B=>z(B,t.indexOf(B)):void 0})},A.id)})})]})};k.memo(LA);const Z3e=({a11yConfig:e,width:t,height:n,colors:c={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:l,padding:h="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:f})=>{const g=t?typeof t=="number"?`${t}px`:t:void 0,m=n?typeof n=="number"?`${n}px`:n:void 0,x=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),M=x?r:void 0,v=M?.icon?Mt[M.icon]:void 0,L=28,b=M?.iconSize??L,w=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),N=c.contentBackground??void 0,_=typeof h=="number"?`${h}px`:h;return o.jsxs("div",{className:w,style:{width:g,height:m,color:c.text,background:c.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:_,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:Y(e,f||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&o.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),o.jsx("div",{className:"chart-title-right",children:i.right})]}),o.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:N},children:l||(x&&M?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:b,height:b},children:o.jsx(v,{color:M.iconColor??"currentColor",size:typeof b=="number"?b:parseInt(String(b),10)||L})}),M.text&&o.jsx("div",{className:"placeholder-text",children:M.text}),M.subtext&&o.jsx("div",{className:"placeholder-subtext",children:M.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},rC=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:f,fontWeight:g,a11yConfig:m,titleKey:x})=>{const M=c||y?.icon,v=typeof M=="string",L=v?Mt[M]:null,b=v?null:M;return o.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",cursor:d?"pointer":"default",...l},role:"alert",onClick:d,title:Y(m,x),children:[L&&o.jsx(L,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),b!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:b}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:f,fontWeight:g},children:i}),r&&o.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&o.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},IA=k.createContext(null),X3e=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,Y3e=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),[h,u]=k.useState(null),[p,y]=k.useState(void 0),f=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(C=>window.clearTimeout(C)),d.current.clear()},[]);const g=(C,$)=>{const T=$===void 0||$===0?t:$;if(T===-1)return;const D=window.setTimeout(()=>{M(C)},T);d.current.set(C,D)},m=C=>{const $=d.current.get(C);$&&(window.clearTimeout($),d.current.delete(C))},x=C=>{const $=X3e(),T={...C,id:$,createdAt:Date.now()};return s(D=>{const z=[T,...D],A=f.current;return typeof A=="number"&&A>=0&&z.length>A?(z.slice(A).forEach(B=>m(B.id)),z.slice(0,A)):z}),g($,C.duration),$},M=C=>{m(C),s($=>$.filter(T=>T.id!==C))},v=(C,$)=>{s(T=>T.map(D=>D.id===C?{...D,...$}:D))},L=()=>{d.current.forEach(C=>window.clearTimeout(C)),d.current.clear(),s([])},b=k.useCallback((C,$)=>{C&&window.getComputedStyle(C).position==="static"&&(C.style.position="relative"),u(T=>T===C?T:C),y($)},[]),w=()=>r.slice(),N=k.useMemo(()=>({showAlert:x,dismissAlert:M,updateAlert:v,clearAlerts:L,setContainerRef:b,getAlertsSnapshot:w}),[r]),_=h,I=_?!!p:!1,j=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px",...I?{top:"auto",left:"auto",right:"auto",alignItems:"flex-end"}:null,..._?p:null},children:o.jsx(Sle,{mode:"popLayout",children:r.map(C=>o.jsx(aC.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:I?"auto":"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:C.background||C.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(rC,{id:C.id,text:C.text,subtext:C.subtext,icon:C.icon,background:"transparent",colorTextPrimary:C.colorTextPrimary,colorTextSub:C.colorTextSub,model:C.model,onClose:()=>M(C.id),size:I?"auto":"100%",style:{boxShadow:"none",...I?{whiteSpace:"nowrap"}:null}})},C.id))})}),S=o.jsx("div",{ref:C=>{h||(l.current=C)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:j});return o.jsxs(IA.Provider,{value:N,children:[_?_w.createPortal(j,_):S,e]})},J3e=()=>{const e=k.useContext(IA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Q3e={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"}},eme="_container_18zbo_1",tme="_icon_18zbo_9",ame="_selectWrapper_18zbo_23",Ob={container:eme,icon:tme,selectWrapper:ame},nme=({options:e,defaultValue:t,onChange:n,label:c})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return o.jsxs("div",{className:Ob.container,children:[o.jsxs("div",{className:Ob.icon,children:[o.jsx(w1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Ob.selectWrapper,children:o.jsx(nC,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},ome=250,cme=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[f,g]=k.useState(!1),[m,x]=k.useState(!1),M=k.useRef(null),v=k.useRef(null),L=k.useRef(null),b=k.useRef(null);k.useEffect(()=>{const _=M.current;if(!_)return;const I=_.parentElement;return I?(window.getComputedStyle(I).position==="static"&&(I.setAttribute("data-scp-prev-position",I.style.position??""),I.style.position="relative",I.setAttribute("data-scp-position-changed","true")),()=>{if(I.getAttribute("data-scp-position-changed")==="true"){const S=I.getAttribute("data-scp-prev-position")??"";I.style.position=S,I.removeAttribute("data-scp-position-changed"),I.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{f||(c?.(),x(!1),g(!0))},close:()=>{f&&(r?.(),x(!1),g(!1))},toggle:()=>{f?(r?.(),x(!1),g(!1)):(c?.(),x(!1),g(!0))}}),[f,c,r]),k.useEffect(()=>{const _=v.current;b.current&&(window.clearTimeout(b.current),b.current=null);const I=j=>{if(j.target===_&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",I),b.current=window.setTimeout(()=>{if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{L.current?.focus()}catch{}}},ome+60)),f&&(L.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",I),b.current&&(window.clearTimeout(b.current),b.current=null)}},[f,i,s]),k.useEffect(()=>{const _=I=>{I.key==="Escape"&&f&&(r?.(),x(!1),g(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[f,r]);const w=()=>{u&&(r?.(),x(!1),g(!1))},N=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:M,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[o.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:w,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:N,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[o.jsxs("div",{className:"scp-header",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"scp-title",children:e}),t&&o.jsx("div",{className:"scp-subtitle",children:t})]}),p&&o.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),x(!1),g(!1)},children:o.jsx(tt,{size:18})})]}),o.jsx("div",{className:"scp-body",children:h})]})]})});function ime(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 rme="_container_1pfsp_1",sme="_title_1pfsp_8",zj={container:rme,title:sme},dme=({title:e,fontSize:t,barColor:n,className:c="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return o.jsx("div",{className:`${zj.container} ${c}`,style:r,children:o.jsx("h2",{className:zj.title,children:e})})},lme="_modalOverlay_1878x_1",hme="_modalContainer_1878x_16",ume="_modalTitle_1878x_29",pme="_modalInput_1878x_38",yme="_modalTextarea_1878x_39",kme="_modalActions_1878x_70",mme="_cancelBtn_1878x_77",fme="_saveBtn_1878x_99",gme="_inputError_1878x_141",vme="_inlineAlert_1878x_146",ot={modalOverlay:lme,modalContainer:hme,modalTitle:ume,modalInput:pme,modalTextarea:yme,modalActions:kme,cancelBtn:mme,saveBtn:fme,inputError:gme,inlineAlert:vme},Hc=({isOpen:e,onClose:t,onSave:n,title:c="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),[g,m]=k.useState(!1),[x,M]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const I of i)_[I.name]=Object.prototype.hasOwnProperty.call(r,I.name)?r[I.name]:"";return y(_),requestAnimationFrame(()=>{f.current?.focus();const I=f.current;if(I&&typeof I.selectionStart=="number"){const j=String(I.value??"").length;I.setSelectionRange(j,j)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(M(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{M(!1),v.current=null},3e3)):(M(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const L=(_,I)=>{y(j=>({...j,[_]:I})),l&&l(_,I)},b=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{m(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),m(!1),t()}},w=_=>{_.target===_.currentTarget&&t()},N=_=>_.stopPropagation();return o.jsx("div",{className:ot.modalOverlay,onMouseDown:w,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:ot.modalContainer,onMouseDown:N,onClick:N,children:[o.jsx("h2",{className:ot.modalTitle,children:c}),i.map((_,I)=>{const j=p[_.name]??"",S=I===0&&!!s,C={name:_.name,placeholder:_.placeholder||_.label,value:String(j),onChange:$=>L(_.name,$.target.value),className:_.type==="textarea"?`${ot.modalTextarea} ${S?ot.inputError:""}`:`${ot.modalInput} ${S?ot.inputError:""}`,tabIndex:0,disabled:g};return I===0&&(C.ref=$=>{f.current=$}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...C}):o.jsx("input",{type:_.type||"text",...C}),I===0&&x&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(rC,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>M(!1),className:ot.inlineAlert})})]},_.name)}),o.jsxs("div",{className:ot.modalActions,children:[o.jsx("button",{className:ot.cancelBtn,onClick:t,type:"button",disabled:g,children:u}),o.jsx("button",{className:ot.saveBtn,onClick:b,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},xme=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const l=d.key;n&&l&&n(l)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Y(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(Ac,{className:"add-key-icon"}),"Clé"]}),o.jsx(Hc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},Mme=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[f,g]=k.useState(!1),m=()=>l(!0),x=()=>l(!1),M=_=>{if(c){const I=_.code?.trim()||_.id?.trim(),j=_.title?.trim(),S=I||j||String(Date.now()),C=j||I||`Module ${S}`;c({id:S,title:C,subtitle:"",translations:{}})}x()},v=(_,I)=>{_.stopPropagation(),u(I)},L=()=>u(null),b=_=>{if(!h){L();return}const I={...h,title:_.title||h.title,subtitle:""};t&&t(I),L()},w=(_,I)=>{_.stopPropagation(),n&&n(I)},N=_=>{y(_.id),i&&i(_)};return f?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(a1,{size:20,className:"menu-toggle",onClick:()=>g(!1)})}):o.jsxs("div",{className:"module-sidebar",children:[o.jsxs("div",{className:"sidebar-header",children:[o.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),o.jsxs("div",{className:"header-actions",children:[o.jsx(qc,{size:18,className:"header-folder",onClick:m}),o.jsx(a1,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const I=Object.keys(_.translations||{}).length,j=I>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>N(_),role:"button",tabIndex:0,onKeyDown:S=>{S.key==="Enter"&&N(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx($1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,j&&o.jsxs("span",{className:"count",children:[" ",I," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(n1,{onClick:S=>v(S,_),color:"#777",size:16}),n&&o.jsx(yt,{onClick:S=>w(S,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Hc,{isOpen:d,onClose:x,onSave:M,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&o.jsx(Hc,{isOpen:!!h,onClose:L,onSave:b,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},bA=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:c="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>o.jsxs("div",{className:`search-container icon-${c}`,title:Y(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(z1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),_me=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:c,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(""),[g,m]=k.useState(null),[x,M]=k.useState(""),[v,L]=k.useState(""),[b,w]=k.useState(!1),[N,_]=k.useState(!1),[I,j]=k.useState(null),[S,C]=k.useState(!1),$=t.map(V=>V.language),T=n.filter(V=>!$.includes(V.code)),D=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),L(""),p(!1))},z=(V,O)=>{m(V),M(O)},A=V=>{r?.(e,V,x),m(null),M("")},q=()=>{m(null),M("")},B=async V=>{const O=V.name?.trim();if(O){if(j(null),C(!1),O===e||!i)return w(!1),"ok";try{const J=await i(e,O);if(typeof J=="string"&&J==="ok")w(!1),j(null);else{if(typeof J=="string"&&J==="duplicate-same")return j("Une clé existe déjà dans ce module."),C(!0),"duplicate-same";if(typeof J=="string"&&J==="duplicate-other")return w(!1),j(null),"duplicate-other";w(!1)}}catch(J){console.error("Erreur handleRenameSave:",J),j("Erreur lors du renommage.")}}},R=(V,O)=>{if(V!=="name")return;const J=O.trim();j(null),C(!1),J&&typeof h=="function"&&(h(J,e)?(j("Une clé existe déjà dans ce module."),C(!0)):(j(null),C(!1)))};return o.jsxs("div",{className:`translation-key ${N?"collapsed":"expanded"} ${l?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!N),title:N?"Déplier":"Replier",children:N?o.jsx(N1,{className:"collapse-icon"}):o.jsx(Tt,{className:"collapse-icon"})}),o.jsx("h3",{className:"card-title",title:e,children:e})]}),o.jsxs("div",{className:"header-actions",children:[o.jsx("button",{className:"action-button",onClick:V=>{V.stopPropagation(),w(!0)},title:"Renommer la clé",children:o.jsx(gt,{className:"action-icon"})}),o.jsx("button",{onClick:V=>{V.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(yt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${N?"":"expanded"}`,children:!l&&o.jsxs(o.Fragment,{children:[t.map(V=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:V.language}),o.jsx("div",{className:"translation-content",children:g===V.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:x,onChange:O=>M(O.target.value),className:"edit-input",autoFocus:!0,onKeyDown:O=>{O.key==="Enter"&&A(V.language),O.key==="Escape"&&q()}}),o.jsx("button",{onClick:()=>A(V.language),className:"save-button",disabled:!x.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:q,className:"cancel-button",children:o.jsx(tt,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:V.value,children:V.value}),o.jsx("button",{onClick:()=>z(V.language,V.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(gt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,V.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(tt,{className:"action-icon"})})]})})]},V.language)),u?o.jsxs("div",{className:"add-language-row",children:[o.jsx("div",{className:"language-code",children:"+"}),o.jsxs("div",{className:"add-language-content",children:[o.jsx("div",{className:"language-select-container",children:o.jsxs("select",{value:y,onChange:V=>f(V.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),T.map(V=>o.jsxs("option",{value:V.code,children:[V.name," (",V.code,")"]},V.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:V=>L(V.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:V=>{V.key==="Enter"&&D(),V.key==="Escape"&&(p(!1),f(""),L(""))}}),o.jsx("button",{onClick:D,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),f(""),L("")},className:"cancel-button",children:o.jsx(tt,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:T.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&o.jsxs("div",{className:"drag-overlay",children:[o.jsx(a.Move,{size:24,strokeWidth:1.5}),o.jsx("span",{children:"Glisser pour réorganiser"})]}),o.jsx(Hc,{isOpen:b,onClose:()=>{w(!1),j(null),C(!1)},onSave:B,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:I||"",disableSave:S})]})},Lme="_wrapper_1wvht_1",Ime="_leftGroup_1wvht_12",bme="_filterButton_1wvht_21",wme="_open_1wvht_42",Cme="_filterIcon_1wvht_42",Nme="_infoText_1wvht_58",Sme="_pickerContainer_1wvht_66",jme="_srOnly_1wvht_79",$me="_pickerLabel_1wvht_91",qme="_datetime_1wvht_98",Ame="_rightGroup_1wvht_107",zme="_searchInputWrap_1wvht_116",Vme="_searchInput_1wvht_116",Pme="_searchIcon_1wvht_152",Fe={wrapper:Lme,leftGroup:Ime,filterButton:bme,open:wme,filterIcon:Cme,infoText:Nme,pickerContainer:Sme,srOnly:jme,pickerLabel:$me,datetime:qme,rightGroup:Ame,searchInputWrap:zme,searchInput:Vme,searchIcon:Pme};function Tme({onDateChange:e,onSearch:t,initialDate:n}){const[c,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 o.jsxs("div",{className:Fe.wrapper,ref:d,children:[o.jsxs("div",{className:Fe.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Fe.filterButton} ${c?Fe.open:""}`,onClick:l,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Fe.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),o.jsx("div",{className:Fe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Fe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Fe.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Fe.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Fe.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Fe.rightGroup,children:o.jsxs("div",{className:Fe.searchInputWrap,children:[o.jsx("input",{className:Fe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Fe.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:o.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 Hme=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:f="1rem"})=>{const g=Array.isArray(r)?r:[],m=g.length===0,x=g.every(b=>typeof b=="string"),M=g.some(b=>Array.isArray(b)),v=(b,w,N)=>d?d(b,w,N):o.jsx("span",{className:"slb-cell-text",children:b}),L=f?{"--col-gap":f}:void 0;return m?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):x&&!M?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:g.map((b,w)=>o.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:v(b,w,0)},w))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:L,children:g.map((b,w)=>{const N=s[w]||"";if(Array.isArray(b)){const[_,I]=b;return o.jsxs("div",{className:`slb-row ${N}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,w,0)}),o.jsx("div",{className:"slb-grid-right",children:v(I,w,1)})]},w)}return o.jsxs("div",{className:`slb-row ${N}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(b,w,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},Dme=({className:e="",style:t={},title:n,titleColor:c,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)),f=p?{"--col-gap":p}:void 0;return o.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&o.jsx("div",{className:"clb-title",style:c?{color:c}:void 0,children:n}),o.jsx("div",{className:"clb-grid",style:f,children:i.map((g,m)=>{const x=u[m]||"";if(Array.isArray(g)){const[M,v]=g,L=s[m]||r;return o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:L,padding:d,width:l,minWidth:l},children:M})}),o.jsx("div",{className:"clb-text",children:v})]},m)}return y?o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:g})]},m):o.jsx("div",{className:`clb-fullrow ${x}`,style:{background:h??void 0},children:o.jsx("span",{children:g})},m)})})]})},Bme=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return o.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&o.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),o.jsx("div",{className:"tlb-grid",style:u,children:c.map((p,y)=>{const f=d[y]||"";return o.jsxs("div",{className:`tlb-row ${f}`,style:{background:s??void 0},children:[o.jsx("div",{className:"tlb-label",children:p.label}),o.jsxs("div",{className:"tlb-value-group",children:[o.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),o.jsxs("div",{className:"tlb-value-wrap",children:[o.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&o.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},Rme=({className:e="",style:t={},children:n,gap:c="1rem"})=>o.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":c},children:k.Children.map(n,i=>o.jsx("div",{className:"frc-item",children:i}))}),Fme=({className:e="",style:t={},children:n,gap:c="1rem",background:i="#D9EEF5"})=>o.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":c},children:k.Children.map(n,r=>o.jsx("div",{className:"lcc-cell",children:r}))}),Eme="_overlay_3x4or_2",Ome="_fadeIn_3x4or_1",Ume="_popup_3x4or_17",Wme="_slideUp_3x4or_1",Gme="_header_3x4or_28",Kme="_body_3x4or_40",Zme="_footer_3x4or_51",Xme="_cancelButton_3x4or_59",Yme="_confirmButton_3x4or_77",Jme="_warning_3x4or_97",Qme="_danger_3x4or_106",e6e="_info_3x4or_115",Nt={overlay:Eme,fadeIn:Ome,popup:Ume,slideUp:Wme,header:Gme,body:Kme,footer:Zme,cancelButton:Xme,confirmButton:Yme,warning:Jme,danger:Qme,info:e6e},t6e=({isOpen:e,title:t,message:n,onConfirm:c,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&&c()};return o.jsx("div",{className:Nt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${Nt.popup} ${Nt[d]}`,children:[o.jsx("div",{className:Nt.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:Nt.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:Nt.footer,children:[o.jsx("button",{className:Nt.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:Nt.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},a6e=()=>{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})},[]),c=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),c()},[e.onConfirm,c]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:c,handleConfirm:i}},n6e="_container_145xs_1",o6e="_selectButton_145xs_7",c6e="_disabled_145xs_22",i6e="_error_145xs_39",r6e="_outline_145xs_52",s6e="_filled_145xs_58",d6e="_sm_145xs_67",l6e="_md_145xs_73",h6e="_lg_145xs_79",u6e="_buttonContent_145xs_85",p6e="_label_145xs_93",y6e="_placeholder_145xs_103",k6e="_iconsContainer_145xs_108",m6e="_loadingSpinner_145xs_115",f6e="_spin_145xs_1",g6e="_arrowIcon_145xs_133",v6e="_arrowIconOpen_145xs_141",x6e="_dropdown_145xs_146",M6e="_dropdownIn_145xs_1",_6e="_searchContainer_145xs_173",L6e="_searchInputWrapper_145xs_179",I6e="_searchIcon_145xs_185",b6e="_searchInput_145xs_179",w6e="_optionsList_145xs_210",C6e="_noResults_145xs_235",N6e="_option_145xs_210",S6e="_optionHighlighted_145xs_265",j6e="_optionSelected_145xs_270",$6e="_optionDisabled_145xs_281",q6e="_optionLabel_145xs_287",A6e="_checkIcon_145xs_295",z6e="_widthFull_145xs_303",V6e="_width64_145xs_306",P6e="_width80_145xs_309",T6e="_width96_145xs_312",le={container:n6e,selectButton:o6e,disabled:c6e,error:i6e,default:"_default_145xs_48",outline:r6e,filled:s6e,sm:d6e,md:l6e,lg:h6e,buttonContent:u6e,label:p6e,placeholder:y6e,iconsContainer:k6e,loadingSpinner:m6e,spin:f6e,arrowIcon:g6e,arrowIconOpen:v6e,dropdown:x6e,dropdownIn:M6e,searchContainer:_6e,searchInputWrapper:L6e,searchIcon:I6e,searchInput:b6e,optionsList:w6e,noResults:C6e,option:N6e,optionHighlighted:S6e,optionSelected:j6e,optionDisabled:$6e,optionLabel:q6e,checkIcon:A6e,widthFull:z6e,width64:V6e,width80:P6e,width96:T6e},li=4,Vj=8,H6e=({options:e,value:t,onChange:n,placeholder:c="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",dropdownPosition:p="auto"})=>{const[y,f]=k.useState(!1),[g,m]=k.useState(""),[x,M]=k.useState(0),[v,L]=k.useState({top:0,left:0,width:0}),[b,w]=k.useState("bottom"),[N,_]=k.useState(null),I=k.useRef(null),j=k.useRef(null),S=k.useRef(null),C=k.useMemo(()=>g?e.filter(F=>F.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),$=e.find(F=>F.value===t),T=k.useCallback(()=>{if(I.current){const F=I.current.getBoundingClientRect();L({top:F.top,left:F.left,width:F.width})}},[]),D=k.useCallback(()=>{if(!I.current)return;const F=I.current.getBoundingClientRect(),K=F.top-li-Vj,ue=window.innerHeight-F.bottom-li-Vj;let ce;p!=="auto"?ce=p:ce=(j.current?.scrollHeight??0)<=ue?"bottom":K>ue?"top":"bottom",w(xe=>xe===ce?xe:ce),_(Math.max(ce==="bottom"?ue:K,0))},[p]),z=k.useCallback(()=>{T(),D()},[T,D]);k.useEffect(()=>(y&&(z(),window.addEventListener("scroll",z,!0),window.addEventListener("resize",z)),()=>{window.removeEventListener("scroll",z,!0),window.removeEventListener("resize",z)}),[y,z]),k.useLayoutEffect(()=>{y&&D()},[y,D]),k.useEffect(()=>{const F=K=>{I.current&&!I.current.contains(K.target)&&j.current&&!j.current.contains(K.target)&&(f(!1),m(""))};return document.addEventListener("mousedown",F),()=>document.removeEventListener("mousedown",F)},[]),k.useEffect(()=>{M(0)},[C]);const A=F=>{F.disabled||(n?.(F.value,F),f(!1),m(""))},q=F=>{m(F.target.value),y||f(!0)},B=F=>{if(!y){(F.key==="ArrowDown"||F.key==="Enter")&&f(!0);return}switch(F.key){case"ArrowDown":F.preventDefault(),M(K=>K<C.length-1?K+1:K);break;case"ArrowUp":F.preventDefault(),M(K=>K>0?K-1:K);break;case"Enter":F.preventDefault(),C[x]&&A(C[x]);break;case"Escape":f(!1),m("");break}},R=()=>[le.selectButton,le[l],le[h],i?le.disabled:"",s?le.error:"",d].filter(Boolean).join(" "),V=()=>{switch(u){case"w-64":return le.width64;case"w-80":return le.width80;case"w-96":return le.width96;default:return le.widthFull}},O=(F,K)=>[le.option,K===x?le.optionHighlighted:"",F.value===t?le.optionSelected:"",F.disabled?le.optionDisabled:""].filter(Boolean).join(" "),J={position:"fixed",top:b==="bottom"?v.top+(I.current?.offsetHeight||0)+li:"auto",bottom:b==="top"?window.innerHeight-v.top+li:"auto",left:v.left,width:v.width,maxHeight:N!=null?`${N}px`:void 0,zIndex:9999};return o.jsxs("div",{className:`${le.container} ${V()}`,children:[o.jsx("button",{ref:I,className:R(),onClick:()=>!i&&f(!y),onKeyDown:B,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":y,disabled:i,children:o.jsxs("div",{className:le.buttonContent,children:[o.jsx("span",{className:`${le.label} ${$?"":le.placeholder}`,children:$?$.label:c}),o.jsxs("div",{className:le.iconsContainer,children:[r&&o.jsx("div",{className:le.loadingSpinner}),o.jsx("svg",{className:`${le.arrowIcon} ${y?le.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),y&&_w.createPortal(o.jsxs("div",{className:`${le.dropdown} ${V()}`,style:J,ref:j,children:[o.jsx("div",{className:le.searchContainer,children:o.jsxs("div",{className:le.searchInputWrapper,children:[o.jsx("svg",{className:le.searchIcon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),o.jsx("input",{ref:S,type:"text",value:g,onChange:q,placeholder:"Rechercher...",className:le.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:le.optionsList,children:C.length===0?o.jsx("div",{className:le.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:C.map((F,K)=>o.jsx("li",{className:O(F,K),onClick:()=>A(F),onMouseEnter:()=>M(K),role:"option","aria-selected":F.value===t,"aria-disabled":F.disabled,children:o.jsxs("div",{className:le.buttonContent,children:[o.jsx("span",{className:le.optionLabel,title:F.label,children:F.label}),F.value===t&&o.jsx("svg",{className:le.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:o.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"})})]})},F.value))})})]}),document.body)]})},D6e="_container_uq7pt_1",B6e="_item_uq7pt_7",R6e="_mainValue_uq7pt_13",F6e="_label_uq7pt_17",E6e="_subValue_uq7pt_22",O6e="_subValueWrapper_uq7pt_27",U6e="_subSeparator_uq7pt_32",Ye={container:D6e,item:B6e,mainValue:R6e,label:F6e,subValue:E6e,subValueWrapper:O6e,subSeparator:U6e},W6e=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="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[g,m]=p.split("/").map(x=>x.trim());return o.jsxs("span",{className:Ye.subValueWrapper,children:[o.jsx("span",{className:Ye.subLeft,style:{color:y},children:g}),o.jsx("span",{className:Ye.subSeparator,children:" / "}),o.jsx("span",{className:Ye.subRight,style:{color:f},children:m})]})};return o.jsxs("div",{className:Ye.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Ye.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ye.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:e}),o.jsx("div",{className:Ye.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Ye.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ye.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:p.value}),o.jsx("div",{className:Ye.label,style:{color:l},children:p.label}),o.jsx("div",{className:Ye.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},G6e="_encours_16ist_1",K6e="_header_16ist_19",Z6e="_iconWrap_16ist_27",X6e="_title_16ist_36",Y6e="_items_16ist_47",J6e="_spaceEvenly_16ist_56",Q6e="_item_16ist_47",efe="_valueContainer_16ist_86",tfe="_value_16ist_86",afe="_label_16ist_108",dt={encours:G6e,header:K6e,iconWrap:Z6e,title:X6e,items:Y6e,spaceEvenly:J6e,item:Q6e,valueContainer:efe,value:tfe,label:afe},jc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function nfe(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=jc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=jc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(c.color=e.labelColor),e.labelFontSize!==void 0?c.fontSize=jc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=jc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function ofe(){return o.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[o.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function cfe(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:f,bg:g="#ffffff",width:m,gap:x,className:M,ariaLabel:v}=e,L=r?Mt[r]:void 0,b={background:g,width:jc(m),...f},w={};n&&(w.color=n),c!==void 0&&(w.fontSize=jc(c)),i!==void 0&&(w.fontWeight=i);const N={};return d&&(N.color=d),o.jsxs("section",{className:`${dt.encours} ${M??""}`,style:b,"aria-label":v??t,children:[o.jsxs("div",{className:dt.header,children:[o.jsx("div",{className:dt.iconWrap,"aria-hidden":!0,style:N,children:L?o.jsx(L,{size:typeof s=="number"?s:void 0}):o.jsx(ofe,{})}),o.jsx("div",{className:dt.title,style:w,children:t})]}),o.jsx("div",{className:`${dt.items} ${x===void 0?dt.spaceEvenly:""}`,role:"list",style:x!==void 0?{gap:`${x}px`}:{},children:y.map((_,I)=>{const{valueStyle:j,labelStyle:S}=nfe(_,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:dt.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:jc(_.width)}:{}},children:o.jsxs("div",{className:dt.valueContainer,children:[o.jsx("div",{className:dt.value,style:j,children:_.value}),_.label&&o.jsx("div",{className:dt.label,style:S,children:_.label})]})},`${String(_.label??_.value)}-${I}`)})})]})}const ife=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M480-360 280-559h400z"})),rfe=k.memo(ife),sfe=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"m280-400 200-201 200 201z"})),dfe=k.memo(sfe),lfe=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},te.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"})),hfe=k.memo(lfe),ufe=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},te.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"})),pfe=k.memo(ufe),yfe=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h,a11yConfig:u})=>{const[p,y]=k.useState(!1),[f,g]=k.useState(e),[m,x]=k.useState(!1);if(k.useEffect(()=>{x(!0)},[]),k.useEffect(()=>{g(e)},[e]),!m)return null;const M=(b,w)=>{w<4||g(N=>N.map(_=>_.component_key===b?{..._,visible:!_.visible}:_))},v=()=>{t(f),y(!1)},L=Y(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[o.jsxs("div",{onClick:()=>{c||y(!p)},style:{display:"flex",alignItems:"center",cursor:c?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:L,children:[o.jsx(i$,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(dfe,{width:d,height:d,fill:l?.icon||"currentColor"}):o.jsx(rfe,{width:d,height:d,fill:l?.icon||"currentColor"})]}),p&&o.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:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:f.map((b,w)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>M(b.component_key,w),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:w<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:N=>{w>=4&&(N.currentTarget.style.background="#F9FAFB")},onMouseLeave:N=>{w>=4&&(N.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:b.visible?o.jsx(hfe,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(pfe,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:b.label})]}),w===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},b.component_key))}),o.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:o.jsx("button",{type:"button",onClick:v,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})})]})]})},kfe="_container_zhny9_1",mfe="_card_zhny9_15",ffe="_footer_zhny9_33",gfe="_noPaddingMobile_zhny9_51",hi={container:kfe,card:mfe,footer:ffe,noPaddingMobile:gfe},vfe="_board_95t8m_1",xfe="_clickable_95t8m_21",Mfe="_sideBar_95t8m_26",_fe="_boardContent_95t8m_32",Lfe="_orange_95t8m_40",Ife="_red_95t8m_44",bfe="_green_95t8m_48",wfe="_grey_95t8m_52",Cfe="_lightGrey_95t8m_56",Nfe="_big_95t8m_61",Sfe="_medium_95t8m_66",jfe="_headerRow_95t8m_70",$fe="_iconWrapper_95t8m_75",qfe="_headerTitle_95t8m_80",Afe="_valueArea_95t8m_89",zfe="_titleWhite_95t8m_99",Vfe="_titleBlack_95t8m_103",Pfe="_valueWhite_95t8m_108",Tfe="_valueBlack_95t8m_112",Hfe="_valueBlue_95t8m_116",Dfe="_bars_95t8m_121",Bfe="_bar_95t8m_121",Rfe="_barDark_95t8m_135",Ffe="_barDim_95t8m_139",Efe="_predictionSection_95t8m_143",Ofe="_predictionHeader_95t8m_155",Ufe="_predictionBody_95t8m_162",Wfe="_hasPrediction_95t8m_170",Pe={board:vfe,clickable:xfe,sideBar:Mfe,boardContent:_fe,orange:Lfe,red:Ife,green:bfe,grey:wfe,lightGrey:Cfe,big:Nfe,medium:Sfe,headerRow:jfe,iconWrapper:$fe,headerTitle:qfe,valueArea:Afe,titleWhite:zfe,titleBlack:Vfe,valueWhite:Pfe,valueBlack:Tfe,valueBlue:Hfe,bars:Dfe,bar:Bfe,barDark:Rfe,barDim:Ffe,predictionSection:Efe,predictionHeader:Ofe,predictionBody:Ufe,hasPrediction:Wfe},Gfe=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Pe.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Pe.bar} ${r<c?"":e?Pe.barDark:Pe.barDim}`},r))})},xt=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:l,width:h,height:u,className:p="",style:y,titleColor:f="white",valueColor:g="white",titleFontSize:m,titleFontWeight:x,valueFontSize:M,valueFontWeight:v,barColor:L,justifyContent:b="space-between",alignItems:w="flex-start",cardGap:N="",onClick:_,iconColor:I,titleKey:j,predictionValue:S,predictionLabel:C})=>{const $=r!=="none",T=r==="endingDark",{padding:D,...z}=y||{},A=h===void 0&&u===void 0&&i===void 0&&Object.keys(z).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...z},q=`${Pe.board} ${Pe[d]} ${S!==void 0?Pe.hasPrediction:""} ${p}`;return o.jsxs("div",{className:q,onClick:_,style:l!==void 0?{...A,"--ds-value-scale":l}:A,children:[L&&o.jsx("div",{className:Pe.sideBar,style:{backgroundColor:L}}),o.jsxs("div",{className:Pe.boardContent,style:{padding:D,gap:N},children:[o.jsxs("div",{className:Pe.headerRow,style:{justifyContent:b,alignItems:w},children:[t&&o.jsx("div",{className:Pe.iconWrapper,style:{color:I},children:t}),o.jsx("div",{className:`${Pe.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Y(e,j),"aria-label":e?.description,style:{color:f,...m?{fontSize:m}:{},...x?{fontWeight:x}:{}},children:n})}),$?o.jsx(Gfe,{endingDark:T,lightCount:s}):null]}),o.jsx("div",{className:Pe.valueArea,style:{color:g,...M?{fontSize:M}:{},...v?{fontWeight:v}:{}},children:c})]}),S!==void 0&&o.jsxs("div",{className:Pe.predictionSection,children:[o.jsx("div",{className:Pe.predictionHeader,children:C??"PRED."}),o.jsx("div",{className:Pe.predictionBody,children:S})]})]})},Kfe="_wrapper_1ydle_10",Zfe="_hosp_1ydle_19",Xfe="_headerRow_1ydle_54",Yfe="_iconWrapper_1ydle_61",Jfe="_headerTitle_1ydle_67",Qfe="_hospValue_1ydle_76",e8e="_side_1ydle_88",t8e="_mini_1ydle_100",a8e="_miniLabel_1ydle_131",n8e="_miniValue_1ydle_140",o8e="_miniBars_1ydle_150",c8e="_bars_1ydle_155",i8e="_bar_1ydle_155",r8e="_barDark_1ydle_169",s8e="_barDim_1ydle_173",He={wrapper:Kfe,hosp:Zfe,headerRow:Xfe,iconWrapper:Yfe,headerTitle:Jfe,hospValue:Qfe,side:e8e,mini:t8e,miniLabel:a8e,miniValue:n8e,miniBars:o8e,bars:c8e,bar:i8e,barDark:r8e,barDim:s8e},d8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${He.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${He.bar} ${r<c?"":e?He.barDark:He.barDim}`},r))})},wA=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",l={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${He.wrapper} ${n} data-four-boards`,style:l,children:[o.jsxs("div",{className:`${He.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Y(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:He.headerRow,children:[o.jsxs("div",{className:`${He.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:He.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Y(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(d8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:He.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})]}),o.jsx("div",{className:He.side,children:t.map((h,u)=>o.jsxs("div",{className:`${He.mini} ${h.className||""} icon-wrapper-data-four-boards`,onClick:h.onClick,style:{...h.width?{width:h.width}:{},...h.height?{height:h.height}:{},...h.backgroundColor?{backgroundColor:h.backgroundColor}:{},...h.style||{}},title:Y(h.a11yConfig,h.titleKey),children:[o.jsxs("span",{className:He.miniLabel,style:{color:h.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...h.titleFontSize?{fontSize:h.titleFontSize}:{},...h.titleFontWeight?{fontWeight:h.titleFontWeight}:{}},title:Y(h.a11yConfig,h.titleKey),children:[h.iconName&&o.jsx("span",{style:{color:h.iconColor},children:h.iconName}),h.label]}),o.jsx("span",{className:`${He.miniValue} mini-value-data-four-boards`,style:{color:h.valueColor||"white",textAlign:"right",...h.valueScale!==void 0?{"--ds-value-scale":h.valueScale}:{},...h.valueFontSize?{fontSize:h.valueFontSize}:{},...h.valueFontWeight?{fontWeight:h.valueFontWeight}:{}},children:h.value}),o.jsx("div",{className:He.miniBars})]},h.id??`${h.label}-${u}`))})]})},l8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:f})=>{const g={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],x=e[1],M=e.slice(2,5);return o.jsxs("div",{style:g,className:`${hi.container} ${y?hi.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:hi.card,children:[m?o.jsx(xt,{a11yConfig:m.a11yConfig,label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,size:m.size??"big",valueScale:m.valueScale,width:m.width,height:m.height,titleColor:"white",valueColor:"white",titleFontSize:m.titleFontSize??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,titleKey:m.titleKey,onClick:v=>f?.(0,v)}):null,x&&M.length>0?o.jsx(wA,{left:{a11yConfig:x.a11yConfig,id:x.id,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,valueScale:x.valueScale,width:x.width,height:x.height,titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,titleKey:x.titleKey,onClick:v=>f?.(1,v)},right:M.map((v,L)=>({a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:b=>f?.(2+L,b)}))}):x&&M.length===0?o.jsx(xt,{a11yConfig:x.a11yConfig,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,size:x.size??"big",valueScale:x.valueScale,width:x.width,height:x.height,titleColor:"white",valueColor:"white",titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,onClick:v=>f?.(1,v)}):null]}),t&&o.jsx("div",{className:hi.footer,children:t})]})},h8e=({x:e,y:t,width:n,payload:c,fontSize:i,fontWeight:r,stroke:s})=>o.jsx("g",{transform:`translate(${e},${t})`,children:o.jsx("foreignObject",{x:-n,y:-35,width:n,height:70,style:{overflow:"visible"},children:o.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.2",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",width:"100%",paddingRight:"8px",boxSizing:"border-box"},children:o.jsx("span",{style:{overflowWrap:"break-word",whiteSpace:"normal",display:"block",maxWidth:"100%"},children:c.value})})})}),u8e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:c=!0,backgroundColor:i="transparent",legendTextColor:r="var(--color-text)",barHeight:s=40,yAxisWidth:d=120,fontSize:l="12px",fontWeight:h="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:f,tickFormatter:g,labelDataKey:m="percentage",isAnimationActive:x=!0})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),v=Math.max(M,t),L=k.useMemo(()=>{if(!e||e.length===0)return d;const I=(parseFloat(l)||12)*.7,S=Math.max(...e.map(C=>(C.label||"").length))*I+16;return Math.min(Math.max(S,40),d)},[e,l,d]),b=_=>g?g(_):_?.toString()||"",w=_=>f&&m==="value"?f(_):_==null||_===""?"":m==="percentage"?`${_}%`:_.toString(),N=(_,I,j)=>{if(typeof _!="number")return _;const S=f?f(_):_.toString(),C=j?.payload?.percentage;return typeof C=="number"&&Number.isFinite(C)&&m==="percentage"?`${S} (${C.toFixed(1)}%)`:S};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:v,children:o.jsxs(a.BarChart,{data:e,layout:"vertical",margin:y,children:[o.jsx(a.CartesianGrid,{opacity:.4,stroke:"#E5E7EB",vertical:!1,horizontal:!0}),o.jsx(a.XAxis,{type:"number",domain:u||[0,"auto"],axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r,tickFormatter:b,label:p?{value:p,position:"insideBottom",offset:-10,style:{textAnchor:"middle",fill:r,fontSize:12,fontWeight:"500"}}:void 0}),o.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:L,interval:0,fontSize:l,fontWeight:h,tick:o.jsx(h8e,{fontSize:l,fontWeight:h,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:N,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,isAnimationActive:x,children:o.jsx(a.LabelList,{dataKey:m,position:"right",offset:10,formatter:w,fill:r,fontSize:l,fontWeight:h})})]})})})},p8e="_menu_10i6j_1",y8e="_menuRow_10i6j_18",k8e="_separator_10i6j_33",m8e="_rowLabel_10i6j_39",f8e="_rowLeadingIcon_10i6j_47",g8e="_rowIcon_10i6j_54",Wc={menu:p8e,menuRow:y8e,separator:k8e,rowLabel:m8e,rowLeadingIcon:f8e,rowIcon:g8e},v8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,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 o.jsx("div",{ref:h,role:"menu",className:Wc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Wc.separator},y.id);const f=y,g=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Wc.menuRow,style:g,onClick:()=>{f.onClick?.(),m&&n?.()},children:[o.jsxs("span",{className:Wc.rowLabel,children:[f.leadingIcon&&o.jsx("span",{className:Wc.rowLeadingIcon,children:f.leadingIcon}),o.jsx("span",{children:f.label})]}),f.icon&&o.jsx("span",{className:Wc.rowIcon,children:f.icon})]},f.id)})})}),CA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,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:g="12px",roleFontWeight:m,avatarColor:x="#5b8fb9",backgroundColorAvatar:M="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:L,dropdownMenuOffset:b,statusDotColor:w,a11yConfig:N,style:_,className:I=""})=>{const{user:j}=mt(),S=e||j,{currentTheme:C,switchTheme:$}=bL(),T=k.useRef(null),D=k.useRef(null),[z,A]=k.useState(!1),[q,B]=k.useState({}),R=k.useMemo(()=>{const ae=[],ne=({variant:pe})=>pe==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(ae.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),ae.push({id:"sep-profile",type:"separator"}));const de=C==="dark";return ae.push({id:"theme",type:"action",label:de?"Mode clair":"Mode sombre",icon:o.jsx(ne,{variant:de?"sun":"moon"}),onClick:()=>{$(de?"light":"dark")}}),(t||c)&&(ae.push({id:"sep-theme",type:"separator"}),ae.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}c?.()}})),ae},[C,t,n,c,i,r,$]),V=v??R,O=()=>{if(!T.current){A(ae=>!ae);return}if(!z){const ae=T.current.getBoundingClientRect(),ne=window.innerWidth,de=window.innerHeight,pe=200,me=200,U=4,X=b?.x??0,re=b?.y??0,Be=ne-ae.right>=pe+U;B(Be?{top:ae.bottom-me+re,left:ae.right+U+X}:{bottom:de-ae.top+re,left:ae.left+X})}A(ae=>!ae)};if(k.useEffect(()=>{if(!z||!T.current)return;const ae=()=>{const ne=T.current.getBoundingClientRect(),de=window.innerWidth,pe=window.innerHeight,me=200,U=200,X=4,re=b?.x??0,je=b?.y??0,ge=de-ne.right>=me+X;B(ge?{top:ne.bottom-U+je,left:ne.right+X+re}:{bottom:pe-ne.top+je,left:ne.left+re})};return window.addEventListener("resize",ae),window.addEventListener("orientationchange",ae),()=>{window.removeEventListener("resize",ae),window.removeEventListener("orientationchange",ae)}},[z,b]),k.useEffect(()=>{if(!z||!T.current||!D.current)return;const ae=()=>{const de=T.current.getBoundingClientRect(),pe=D.current.getBoundingClientRect(),me=b?.x??0,U=b?.y??0;B(X=>X.left!==void 0&&X.top!==void 0&&X.left>=de.right-1?{top:de.bottom-pe.height+U,left:X.left+me}:X)},ne=requestAnimationFrame(()=>{setTimeout(ae,0)});return()=>cancelAnimationFrame(ne)},[z,b]),!S)return null;const J=S,F=parseInt(h,10)||40,K=`${F*.375}px`,ue=`${F*1.375}px`,ce=`${F*.2}px`,xe=`${F*.6}px`,ie=()=>{const ae=parseInt(h,10)||40,ne=Math.max(8,ae*.34375),de=Math.max(2,ae*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[J.image?o.jsx("img",{src:J.image,alt:`${J.prenom} ${J.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:M,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:K,height:K,borderRadius:"50%",backgroundColor:x,position:"absolute",top:ce,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:ue,height:ue,borderRadius:"50%",backgroundColor:x,position:"absolute",top:xe,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&o.jsx("div",{style:{position:"absolute",bottom:de,right:de,width:`${ne}px`,height:`${ne}px`,borderRadius:"50%",backgroundColor:w,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:J.email,children:J.email}),o.jsx("span",{style:{color:l,fontSize:g,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:J.role,children:J.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:T,className:`user-info ${I}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",..._},onClick:O,title:Y(N,J.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(ie,{})})}),o.jsx(v8e,{ref:D,isVisible:z,onClose:()=>A(!1),items:V,style:L,position:q})]})},x8e="_navItem_16uqf_1",M8e="_label_16uqf_14",_8e="_icon_16uqf_26",m1={navItem:x8e,label:M8e,icon:_8e},sC=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:l="#00aec7",color:h="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:f="500",sidebarCollapsed:g=!1,padding:m="10px 16px",borderWidth:x="4px",iconGap:M="12px",disabled:v=!1,disabledColor:L,a11yConfig:b})=>{const w=()=>{v||n?.()},N=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:m1.icon,style:{marginRight:g?0:M},children:r}),!g&&o.jsx("span",{className:m1.label,children:e})]}),_=()=>{if(!i)return"transparent";const j=S=>{const C=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(S);return C?{r:parseInt(C[1],16),g:parseInt(C[2],16),b:parseInt(C[3],16)}:null};if(l.startsWith("#")){const S=j(l);if(S)return`rgba(${S.r}, ${S.g}, ${S.b}, 0.08)`}else if(l.startsWith("rgb")){const S=l.match(/\d+/g);if(S&&S.length>=3)return`rgba(${S[0]}, ${S[1]}, ${S[2]}, 0.08)`}return p},I={onClick:w,className:`${m1.navItem} ${i?m1.active:""} ${d} ${v?m1.disabled:""}`,style:{padding:m,color:i?u:v?L||"#999":h,borderLeft:i?`${x} solid ${l}`:`${x} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:f,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...I,title:Y(b,t),children:N}):o.jsx("div",{...I,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Y(b,t),children:N})},L8e="_navbar_y5tex_1",I8e="_topSection_y5tex_9",b8e="_logoContainer_y5tex_14",w8e="_collapseToggle_y5tex_20",C8e="_collapsedRail_y5tex_37",N8e="_collapsedToggle_y5tex_44",S8e="_sectionsContainer_y5tex_67",j8e="_sectionTitle_y5tex_73",$8e="_sectionItems_y5tex_78",q8e="_bottomSection_y5tex_83",A8e="_versionContainer_y5tex_102",Je={navbar:L8e,topSection:I8e,logoContainer:b8e,collapseToggle:w8e,collapsedRail:C8e,collapsedToggle:N8e,sectionsContainer:S8e,sectionTitle:j8e,sectionItems:$8e,bottomSection:q8e,versionContainer:A8e},z8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="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:g="12px",navItemFontSize:m="15px",navItemFontWeight:x="500",navItemColor:M,sectionTitlePadding:v="16px",sectionTitleFontSize:L="11px",sectionTitleColor:b="#999",sectionTitleWeight:w="500",versionFontSize:N="12px",versionFontWeight:_="400",versionColor:I="#999",userInfoProps:j,style:S,className:C="",width:$="280px",showLogo:T=!0,versionA11yConfig:D,displayNone:z=!1,showCollapseToggle:A=!1,collapsed:q=!1,onCollapseToggle:B,collapseToggleLabel:R="Toggle sidebar",collapseToggleIconPath:V="/icon/dock_to_left.svg"})=>{const O=mt(),J=O.activeNav,F=O.setActiveNav,K=O.user,ue=j.user||K;return A&&q?o.jsx("div",{className:`${Je.collapsedRail} ${C}`,style:{display:z?"none":"flex"},children:o.jsx("button",{type:"button",className:Je.collapsedToggle,onClick:B,"aria-label":R,children:o.jsx(vw,{path:V,width:18,height:18})})}):o.jsxs("div",{className:`${Je.navbar} ${C}`,style:{width:$,backgroundColor:s,padding:c,display:z?"none":"flex",...S},children:[o.jsxs("div",{className:Je.topSection,style:{gap:t},children:[T&&o.jsxs("div",{className:Je.logoContainer,children:[o.jsx(IL,{...e}),A&&o.jsx("button",{type:"button",className:Je.collapseToggle,onClick:B,"aria-label":R,children:o.jsx(vw,{path:V,width:20,height:20})})]}),o.jsx("div",{className:Je.sectionsContainer,style:{gap:i},children:n.map((ce,xe)=>o.jsxs("div",{className:Je.section,children:[ce.title&&o.jsx("div",{className:Je.sectionTitle,title:Y(ce.a11yConfig,ce.titleKey),style:{fontSize:L,color:b,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:ce.title}),o.jsx("div",{className:Je.sectionItems,style:{gap:r},children:ce.items.map(ie=>o.jsx(sC,{...ie,isActive:ie.isActive===null?ie.isActive:J===ie.id,onClick:()=>{ie.onClick&&ie.onClick(),ie.isActive==null&&F(ie.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:x,color:M,style:p},ie.id))})]},xe))})]}),o.jsxs("div",{className:Je.bottomSection,style:{gap:t},children:[o.jsx(CA,{...j,user:ue}),h&&o.jsx("div",{className:Je.versionContainer,title:Y(D,h),style:{fontSize:N,fontWeight:_,color:I},children:h})]})]})},V8e="_container_4qege_1",P8e="_titleContainer_4qege_10",T8e="_title_4qege_10",H8e="_inlineToggleContainer_4qege_24",D8e="_rightContentContainer_4qege_30",f1={container:V8e,titleContainer:P8e,title:T8e,inlineToggleContainer:H8e,rightContentContainer:D8e},B8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,allNavItems:f,formatTitle:g=M=>M,rightContent:m,inlineToggle:x})=>{const{activeNav:M}=mt(),v=y.find(b=>b.id===M)||f?.find(b=>b.id===M),L=v?g(v.label):M||"";return L?o.jsxs("div",{className:`${f1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:f1.titleContainer,children:[o.jsx("div",{className:f1.title,style:{fontSize:n,fontWeight:c,color:i},children:L}),x&&o.jsx("div",{className:f1.inlineToggleContainer,children:x})]}),m&&o.jsx("div",{className:f1.rightContentContainer,children:m})]}):null},R8e="_navItem_1hg26_1",F8e="_navItemIcon_1hg26_21",E8e="_navItemLabel_1hg26_29",O8e="_navItemCount_1hg26_36",U8e="_navItemIndicator_1hg26_49",g1={navItem:R8e,navItemIcon:F8e,navItemLabel:E8e,navItemCount:O8e,navItemIndicator:U8e},NA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:l="#00aec7",inactiveColor:h="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:f="10px",countPadding:g="2px 6px",countFontSize:m="12px",countFontWeight:x="500",indicatorColor:M="#00aec7",indicatorHeight:v="3px",padding:L="8px 4px",fontSize:b="14px",fontWeight:w="500",gap:N="8px",style:_,className:I="",disabled:j=!1,onNavigate:S})=>{const C=()=>{j||(c?.(),i&&(S?S(i):window.location.href=i))};return o.jsxs("div",{className:`${g1.navItem} ${I}`,onClick:C,title:Y(e,r),style:{gap:N,padding:L,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:b,fontWeight:w,..._},children:[s&&o.jsx("span",{className:g1.navItemIcon,children:s}),o.jsx("span",{className:g1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:g1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:f,padding:g,fontSize:m,fontWeight:x},children:d}),n&&!j&&o.jsx("div",{className:g1.navItemIndicator,style:{height:v,backgroundColor:M}})]})},W8e="_container_13hsa_1",G8e="_groupHeader_13hsa_8",K8e="_groupHeaderLeft_13hsa_18",Z8e="_groupIcon_13hsa_23",X8e="_dropdown_13hsa_29",Y8e="_item_13hsa_42",J8e="_itemIcon_13hsa_65",Q8e="_chevron_13hsa_72",ege="_chevronOpen_13hsa_79",ft={container:W8e,groupHeader:G8e,groupHeaderLeft:K8e,groupIcon:Z8e,dropdown:X8e,item:Y8e,itemIcon:J8e,chevron:Q8e,chevronOpen:ege},tge=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),R1=k.memo(tge),SA=({groups:e,activeItemId:t,onItemClick:n,style:c,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:g="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:x="var(--color-border)",iconColor:M="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:L="var(--color-text)",chevronColor:b="var(--color-text)",iconSize:w=22,headerPadding:N="14px 20px",itemPadding:_="14px 20px",iconGap:I=14,borderRadius:j=0})=>{const[S,C]=k.useState(""),$=k.useRef(null);k.useEffect(()=>{const D=z=>{$.current&&!$.current.contains(z.target)&&C("")};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const T={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:$,className:[ft.container,i].filter(Boolean).join(" "),style:T,children:e.map(D=>{const z=S===D.id,A={backgroundColor:d,color:l,padding:N,borderBottom:`1px solid ${h}`,gap:I},q={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:ft.groupHeader,style:A,onClick:()=>C(z?"":D.id),role:"button","aria-expanded":z,children:[o.jsxs("div",{className:ft.groupHeaderLeft,style:{gap:I},children:[D.icon&&o.jsx("span",{className:ft.groupIcon,style:{color:L,width:w,height:w},children:D.icon}),o.jsx("span",{children:D.label})]}),o.jsx("span",{className:[ft.chevron,z?ft.chevronOpen:""].join(" "),style:{color:b},children:o.jsx(R1,{width:18,height:18})})]}),z&&o.jsx("div",{className:ft.dropdown,style:q,children:D.items.map(B=>{const R=B.id===t,V={padding:_,gap:I,color:R?g:f,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?m:x};return o.jsxs("div",{className:ft.item,style:V,onClick:()=>{n?.(D.id,B.id),C("")},role:"menuitem",onMouseEnter:O=>{R||(O.currentTarget.style.backgroundColor=y)},children:[B.icon&&o.jsx("span",{className:ft.itemIcon,style:{color:R?v:M,width:w,height:w},children:B.icon}),o.jsx("span",{children:B.label})]},B.id)})})]},D.id)})})},age="_subheaderContent_1glo8_1",nge="_navContainer_1glo8_11",oge="_rightContent_1glo8_45",Ub={subheaderContent:age,navContainer:nge,rightContent:oge},cge=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,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:g="#5c6975",indicatorHeight:m="3px",showDraggable:x=!1,showLegend:M=!1,showData:v=!1,className:L="",style:b,countBackgroundColor:w,countColor:N,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:S,navContainerClassName:C,navContainerStyle:$,rightContentClassName:T,rightContentStyle:D,rightActions:z,activeSwitcherColor:A,inactiveSwitcherColor:q,isMobile:B=!1,onNavigate:R})=>{const{activeSubNav:V,setActiveSubNav:O,navCounts:J,activeNav:F}=mt();if(B){const K=e.find(ce=>ce.id===V)||e[0],ue=[{id:"current-group",label:K?.label||F?.toUpperCase()||"MENU",icon:K?.icon,items:e.map(ce=>({id:ce.id,label:ce.label,icon:ce.icon}))}];return o.jsx("div",{className:L,style:b,children:o.jsx(SA,{groups:ue,activeItemId:V,onItemClick:(ce,xe)=>{const ie=e.find(ae=>ae.id===xe);ie&&(ie.onClick&&ie.onClick(),ie.href&&(R?R(ie.href):ie.onNavigate?ie.onNavigate(ie.href):window.location.href=ie.href),O(xe))},headerBgColor:t})})}return o.jsxs("div",{className:`${Ub.subheaderContent} ${L}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...b},children:[o.jsx("div",{className:`${Ub.navContainer} ${C||""}`,style:{gap:l,...$},children:e.map(K=>{const ue=K.count!==void 0?K.count:J[K.id],ce=V===K.id||K.isActive;return o.jsx(NA,{...K,onNavigate:R||K.onNavigate,count:ue,isActive:ce,onClick:()=>{K.onClick&&K.onClick(),O(K.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:N,countBorderRadius:_,countPadding:I,countFontSize:j,countFontWeight:S,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:K.style},K.id)})}),o.jsxs("div",{className:`${Ub.rightContent} ${T||""}`,style:{gap:h,...D},children:[x&&o.jsx(pL,{size:20,colors:{bg:A,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&o.jsx(yL,{size:20,colors:{bg:A,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(kL,{size:20,colors:{bg:A,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},ige=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=bL(),f=p!="dark",g=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?o.jsx(o.Fragment,{}):o.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:f?o.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):o.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"5"}),o.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),o.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),o.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),o.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),o.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),o.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),o.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},rge=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[c,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";c.sortBy===s&&(d=c.sortOrder==="asc"?"desc":"asc");const l={...c,sortBy:s,sortOrder:d};i(l),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},sge=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),dge=k.memo(sge),lge=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),hge=k.memo(lge),uge=({columns:e,sortBy:t,sortOrder:n,onSort:c,removeLabelSpan:i=!1})=>o.jsx("thead",{children:o.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&c(String(r.key)),title:Y(r.a11yConfig,r.titleKey),children:o.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:o.jsx("span",{children:r.label}),l&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(hge,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(dge,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),pge=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:l})=>!e.length&&!i?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:o.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):o.jsx("tbody",{children:e.map((h,u)=>{const p=h[n],y=typeof p=="string"||typeof p=="number"?p:u,f=l?l(h):null;return o.jsx("tr",{onClick:()=>c&&c(h),style:{cursor:c?"pointer":"default",...s?s(h):{}},className:d?d(h,u):"",children:f?o.jsx("td",{colSpan:t.length,children:f}):t.map((g,m)=>o.jsx("td",{style:{width:g.width,textAlign:g.align||"left"},className:g.className,children:g.render?g.render(h):h[g.key]},`${String(g.key)}-${m}`))},y)})}),yge=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s,pageSizeOptions:d})=>{const{page:l,pageSize:h,total:u}=e,p=h===-1?u:h,y=Math.ceil(u/p)||1,f=Math.min(Math.max(1,l),y),g=u===0?0:(f-1)*p+1,m=Math.min(f*p,u),x=b=>{t({page:b})},M=k.useMemo(()=>{if(y<=6)return Array.from({length:y},($,T)=>T+1);const N=Math.max(f-1,1),_=Math.min(f+1,y),I=N>2,j=_<y-2,S=1,C=y;if(!I&&j)return[...Array.from({length:5},(D,z)=>z+1),"...",y];if(I&&!j){const T=Array.from({length:5},(D,z)=>y-5+z+1);return[S,"...",...T]}if(I&&j){const $=Array.from({length:_-N+1},(T,D)=>N+D);return[S,"...",...$,"...",C]}return[]},[f,y]),v=!!(d&&d.length>0),L=!c&&h!==-1&&y>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>x(1),disabled:f===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f-1),disabled:f===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((b,w)=>b==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},w):o.jsx("button",{className:`pagination-btn ${b===f?"active":""}`,onClick:()=>x(b),children:b},w)),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f+1),disabled:f===y,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(y),disabled:f===y,title:r?.last||"Dernier",children:">>"})]});return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:u>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(g,m,u):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[g,"–",m]})," ",r?.of||"sur"," ",o.jsx("b",{children:u.toLocaleString()})," ",r?.items||"éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),v?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-center",children:L}),o.jsxs("div",{className:"pagination-pagesize",children:[o.jsx("label",{htmlFor:"table-pagination-pagesize",children:r?.perPage||"Par page"}),o.jsx("select",{id:"table-pagination-pagesize",value:h,onChange:b=>t({pageSize:Number(b.target.value),page:1}),children:(d||[]).map(b=>o.jsx("option",{value:b,children:b},b))})]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-spacer"}),L]}),!c&&n&&i&&o.jsx("div",{className:"pagination-load-more",children:o.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"})})]})},jA=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:l=!0,height:h,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:f,hasMore:g,tableState:m,className:x,style:M,rowStyle:v,onRowClick:L,rowClassName:b,titleKey:w,removeLabelSpan:N=!1,a11yConfig:_,renderSeparator:I,pageSizeOptions:j})=>{const S=k.useMemo(()=>({...p}),[p]),C=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const q=new IntersectionObserver(B=>{B[0].isIntersecting&&y()},{threshold:.1});return C.current&&q.observe(C.current),()=>q.disconnect()},[f,y,g,n]);const{tableState:$,handleSort:T}=rge({initialSortBy:null,onSortChange:r}),D=(m?.sortBy!==void 0?m.sortBy:$.sortBy)??void 0,z=m?.sortOrder!==void 0?m.sortOrder:$.sortOrder,A=q=>{const B=D,R=z;let V="asc";B===q&&(V=R==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(q,V):T(q)};return o.jsxs("div",{className:`table-container ${x||""}`,style:M,title:Y(_,w),children:[o.jsxs("div",{className:"table-frame",style:{height:h??void 0,minHeight:u??void 0},children:[n&&o.jsx("div",{className:"table-loader-overlay",children:o.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),o.jsxs("div",{className:`table-wrapper ${l?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(uge,{columns:t,sortBy:D,sortOrder:z,onSort:A,removeLabelSpan:N}),o.jsx(pge,{data:e,columns:t.map(q=>({...q,render:q.render?B=>q.render(B,{}):void 0})),rowKey:s,onRowClick:L,isLoading:n,text:S,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:b,renderSeparator:I})]}),f&&o.jsx("div",{ref:C,style:{height:20,margin:10}})]})]}),o.jsx(yge,{state:c,onPaginationChange:i,text:S,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n,pageSizeOptions:j})]})},kge="_datePickerContainer_1gx2l_3",mge="_label_1gx2l_16",fge="_displayNode_1gx2l_23",gge="_datePickerButton_1gx2l_30",vge="_datePickerButtonDisabled_1gx2l_50",xge="_datePickerButtonOpen_1gx2l_59",Mge="_datePickerLabel_1gx2l_68",_ge="_placeholder_1gx2l_79",Lge="_trailingIcons_1gx2l_83",Ige="_chevron_1gx2l_89",bge="_clearButton_1gx2l_97",wge="_errorMessage_1gx2l_114",Cge="_dropdown_1gx2l_119",Nge="_calendarHeader_1gx2l_143",Sge="_navButton_1gx2l_152",jge="_headerSelectors_1gx2l_171",$ge="_monthSelector_1gx2l_179",qge="_yearSelector_1gx2l_180",Age="_selectorButton_1gx2l_184",zge="_selectorChevron_1gx2l_201",Vge="_selectorChevronOpen_1gx2l_206",Pge="_monthDropdown_1gx2l_210",Tge="_yearDropdown_1gx2l_211",Hge="_monthItem_1gx2l_231",Dge="_yearItem_1gx2l_232",Bge="_monthItemSelected_1gx2l_254",Rge="_yearItemSelected_1gx2l_255",Fge="_weekdays_1gx2l_259",Ege="_weekday_1gx2l_259",Oge="_calendarGrid_1gx2l_275",Uge="_dateCell_1gx2l_284",Wge="_dateCellSelected_1gx2l_307",Gge="_dateCellOtherMonth_1gx2l_311",Kge="_dateCellOtherMonthSelected_1gx2l_315",Zge="_calendarFooter_1gx2l_319",Xge="_cancelButton_1gx2l_327",Yge="_applyButton_1gx2l_328",Jge="_timePickerContainer_1gx2l_372",Qge="_timeGroup_1gx2l_381",e7e="_timeLabel_1gx2l_388",t7e="_timeInputWrapper_1gx2l_394",a7e="_timeInput_1gx2l_394",n7e="_timeSeparator_1gx2l_422",Z={datePickerContainer:kge,label:mge,displayNode:fge,datePickerButton:gge,datePickerButtonDisabled:vge,datePickerButtonOpen:xge,datePickerLabel:Mge,placeholder:_ge,trailingIcons:Lge,chevron:Ige,clearButton:bge,errorMessage:wge,dropdown:Cge,calendarHeader:Nge,navButton:Sge,headerSelectors:jge,monthSelector:$ge,yearSelector:qge,selectorButton:Age,selectorChevron:zge,selectorChevronOpen:Vge,monthDropdown:Pge,yearDropdown:Tge,monthItem:Hge,yearItem:Dge,monthItemSelected:Bge,yearItemSelected:Rge,weekdays:Fge,weekday:Ege,calendarGrid:Oge,dateCell:Uge,dateCellSelected:Wge,dateCellOtherMonth:Gge,dateCellOtherMonthSelected:Kge,calendarFooter:Zge,cancelButton:Xge,applyButton:Yge,timePickerContainer:Jge,timeGroup:Qge,timeLabel:e7e,timeInputWrapper:t7e,timeInput:a7e,timeSeparator:n7e},o7e=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144zM480-80q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})),c7e=k.memo(o7e),Pj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],i7e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Mw=({value:e,onChange:t,label:n,placeholder:c="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:g="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:x="0.5rem 0.75rem",fontWeight:M="400",buttonBgColor:v,buttonBorderColor:L,buttonTextColor:b,dropdownBgColor:w="#ffffff",itemHoverColor:N,selectedItemBgColor:_,iconColor:I,errorColor:j,labelColor:S,placeholderColor:C,borderRadius:$="var(--radius-content)",borderWidth:T="0.0625rem",boxShadow:D="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:A="ease",dateCellSize:q="2.5rem",headerTextColor:B="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:V="#212529",otherMonthDateColor:O="#adb5bd",selectedDateBgColor:J="#00A6D9",selectedDateTextColor:F="#ffffff",cancelButtonBgColor:K="#e9ecef",cancelButtonTextColor:ue="#212529",applyButtonBgColor:ce="#00A6D9",applyButtonTextColor:xe="#ffffff",actionButtonPadding:ie,actionButtonFontSize:ae,width:ne,displayNode:de=void 0,displayMode:pe="auto",displayNodeAriaLabel:me,dropdownPosition:U="auto",dropdownAlignment:X="right",dropdownWidth:re,withBorder:je=!1,icon:Be,precision:ge="day",horizontalTimePicker:Se=!1,hoursLabel:Dc="Heures",minutesLabel:h1="Minutes",lowerLimit:oe=null,upperLimit:be=null,strictTimeLimits:HL=!1,outOfLimitsMessage:Le="La date/heure choisie est hors des limites autorisées",months:wt,weekdays:VA,cancelText:PA="Annuler",applyText:TA="Appliquer",prevMonthAriaLabel:HA="Mois précédent",nextMonthAriaLabel:DA="Mois suivant",calendarAriaLabel:BA="Sélecteur de date",openedAriaLabel:RA="Ouvrir le sélecteur de date",selectedDateAriaLabel:FA="Date sélectionnée: ",rotateIcon:EA=!0,clearable:OA=!1,clearAriaLabel:UA="Effacer la date"})=>{const Ct=P=>{if(P instanceof Date)return isNaN(P.getTime())?null:P;if(typeof P=="string"&&P){const G=new Date(P);return isNaN(G.getTime())?null:G}return null},[Ge,Rt]=k.useState(!1),[u1,WA]=k.useState({top:0,left:0,width:0}),[dC,GA]=k.useState("bottom"),[lC,KA]=k.useState(null),[he,p1]=k.useState(Ct(e)||new Date),[y1,DL]=k.useState(Ct(e)),[Q1,BL]=k.useState(Ct(e)?.getHours()??0),[ei,RL]=k.useState(Ct(e)?.getMinutes()??0),[FL,Bc]=k.useState(!1),[EL,Rc]=k.useState(!1),OL=k.useRef(null),Fc=k.useRef(null),hC=k.useRef(null),UL=k.useRef(null),WL=k.useRef(null),uC=k.useRef(Ct(e)?.getTime());k.useEffect(()=>{const P=Ct(e),G=P?.getTime();G!==uC.current&&(uC.current=G,DL(P),P&&(p1(P),BL(P.getHours()),RL(P.getMinutes())))},[e]);const pC=k.useCallback(()=>{if(Fc.current){const P=Fc.current.getBoundingClientRect();WA({top:P.top,left:P.left,width:P.width})}},[]),yC=8,ti=k.useCallback(()=>{if(!Fc.current)return;const P=Fc.current.getBoundingClientRect(),G=(parseFloat(m.replace("rem",""))||0)*16,Me=P.top-G-yC,Te=window.innerHeight-P.bottom-G-yC;let ze;if(U!=="auto")ze=U;else{const Re=hC.current?.scrollHeight??0;ze=Re<=Te?"bottom":Re<=Me||Me>Te?"top":"bottom"}GA(Re=>Re===ze?Re:ze),KA(Math.max(ze==="bottom"?Te:Me,0))},[U,m]),Ec=k.useCallback(()=>{pC(),ti()},[pC,ti]);k.useEffect(()=>(Ge&&(Ec(),window.addEventListener("scroll",Ec,!0),window.addEventListener("resize",Ec)),()=>{window.removeEventListener("scroll",Ec,!0),window.removeEventListener("resize",Ec)}),[Ge,Ec]),k.useLayoutEffect(()=>{Ge&&ti()},[Ge,ti]),k.useEffect(()=>{const P=G=>{if(OL.current&&!OL.current.contains(G.target)){const Me=document.getElementById("datepicker-dropdown");if(Me&&Me.contains(G.target))return;Rt(!1),Bc(!1),Rc(!1)}UL.current&&!UL.current.contains(G.target)&&Bc(!1),WL.current&&!WL.current.contains(G.target)&&Rc(!1)};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const kC=P=>new Date(P.getFullYear(),P.getMonth()+1,0).getDate(),ZA=P=>{const G=new Date(P.getFullYear(),P.getMonth(),1).getDay();return G===0?6:G-1},XA=()=>{const P=[],G=ZA(he),Me=kC(he),Te=new Date(he.getFullYear(),he.getMonth()-1,1),ze=kC(Te);for(let Ce=G-1;Ce>=0;Ce--)P.push(new Date(he.getFullYear(),he.getMonth()-1,ze-Ce));for(let Ce=1;Ce<=Me;Ce++)P.push(new Date(he.getFullYear(),he.getMonth(),Ce));const Re=42-P.length;for(let Ce=1;Ce<=Re;Ce++)P.push(new Date(he.getFullYear(),he.getMonth()+1,Ce));return P},YA=(P,G)=>!P||!G?!1:P.getDate()===G.getDate()&&P.getMonth()===G.getMonth()&&P.getFullYear()===G.getFullYear(),JA=P=>P.getMonth()===he.getMonth()&&P.getFullYear()===he.getFullYear(),ai=HL?P=>Math.floor(P.getTime()/6e4)*6e4:P=>new Date(P.getFullYear(),P.getMonth(),P.getDate()).getTime(),mC=P=>!(oe&&ai(P)<ai(oe)||be&&ai(P)>ai(be)),fC=y1?(()=>{const P=new Date(y1);return P.setHours(Q1),P.setMinutes(ei),P})():null,Oc=fC?!mC(fC):!1,ni=new Date(he.getFullYear(),he.getMonth()-1,1),oi=new Date(he.getFullYear(),he.getMonth()+1,1),GL=!!(oe&&(ni.getFullYear()<oe.getFullYear()||ni.getFullYear()===oe.getFullYear()&&ni.getMonth()<oe.getMonth())),KL=!!(be&&(oi.getFullYear()>be.getFullYear()||oi.getFullYear()===be.getFullYear()&&oi.getMonth()>be.getMonth())),QA=()=>{GL||p1(ni)},ez=()=>{KL||p1(oi)},tz=P=>{if(!s){const G=new Date(P);G.setHours(Q1),G.setMinutes(ei),DL(G)}},az=()=>{if(!s){if(y1){const P=new Date(y1);if(P.setHours(Q1),P.setMinutes(ei),!mC(P))return;t(P)}else t(null);Rt(!1)}},nz=()=>{const P=Ct(e);DL(P),P&&(BL(P.getHours()),RL(P.getMinutes())),Rt(!1)},oz=P=>{p1(new Date(he.getFullYear(),P,1)),Bc(!1)},cz=P=>{p1(new Date(P,he.getMonth(),1)),Rc(!1)},iz=()=>{const P=he.getFullYear(),G=oe?oe.getFullYear():P-10,Me=be?be.getFullYear():P+10,Te=[];for(let ze=G;ze<=Me;ze++)Te.push(ze);return Te},rz=P=>{const G=he.getFullYear();return!!(oe&&(G<oe.getFullYear()||G===oe.getFullYear()&&P<oe.getMonth())||be&&(G>be.getFullYear()||G===be.getFullYear()&&P>be.getMonth()))},sz=P=>{if(!s)switch(P.key){case"Enter":case" ":P.preventDefault(),Rt(!Ge);break;case"Escape":Rt(!1),Bc(!1),Rc(!1);break;case"Tab":Ge&&(Rt(!1),Bc(!1),Rc(!1));break}},dz={width:ne||(r?"100%":"auto"),fontSize:p,fontWeight:M},lz={height:l,padding:h,backgroundColor:v||"#ffffff",border:je?void 0:"none",borderColor:d?j||"#dc3545":L||"#dee2e6",color:b||"#212529",borderRadius:$,borderWidth:T,fontWeight:M,transition:`all ${z} ${A}`},hz=Se?{flexDirection:"column",borderTop:"none",borderLeft:"1px solid #eee"}:{},uz=Se?{flex:1,minWidth:0}:void 0,pz=Se?{display:"flex",flexDirection:"row",alignItems:"stretch"}:void 0,yz={backgroundColor:w||"#ffffff",maxHeight:u==="auto"?lC!=null?`${lC}px`:void 0:u,overflowY:"auto",borderRadius:$,borderWidth:T,boxShadow:D,transition:`opacity ${z} ${A}, transform ${z} ${A}`,position:"fixed",top:dC==="bottom"?u1.top+(Fc.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:dC==="top"?window.innerHeight-u1.top+parseFloat(m.replace("rem",""))*16:"auto",left:X==="left"?u1.left:"auto",right:X==="right"?window.innerWidth-(u1.left+u1.width):"auto",width:re||"30vw",minWidth:re?void 0:0,zIndex:10001},gC={width:y,height:y,color:I||"#6c757d","--icon-rotation":EA&&Ge?"rotate(180deg)":"rotate(0deg)"},kz={color:S||"#212529",marginBottom:f,fontWeight:M},mz={color:C||"#6c757d"},fz={color:j||"#dc3545",marginTop:g},gz=XA(),nt=Ct(e),vC=P=>`${P.getDate().toString().padStart(2,"0")}/${(P.getMonth()+1).toString().padStart(2,"0")}/${P.getFullYear()}`,xC=nt?ge==="minutes"?`${vC(nt)} ${nt.getHours().toString().padStart(2,"0")}:${nt.getMinutes().toString().padStart(2,"0")}`:vC(nt):"",MC=!!de&&(pe==="icon"||pe==="auto"&&!nt),vz=OA&&!MC&&!!nt&&!s,xz={width:"0.875rem",height:"0.875rem",color:I||"#6c757d"},Mz=me||(nt?`${FA}${xC}`:RA);return o.jsxs("div",{className:`${Z.datePickerContainer} ${i}`,ref:OL,style:dz,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:Z.label,style:kz,children:n}),o.jsxs("button",{ref:Fc,type:"button",onClick:()=>!s&&Rt(!Ge),onKeyDown:sz,className:`
|
|
8336
|
+
`,a3e="_mpRoot_31595_1",n3e="_mpHeader_31595_22",o3e="_mpTitle_31595_31",c3e="_mpList_31595_35",i3e="_mpVertical_31595_41",r3e="_mpHorizontal_31595_46",s3e="_mpItem_31595_55",d3e="_mpClickable_31595_95",l3e="_mpLeft_31595_117",h3e="_mpIcon_31595_125",u3e="_mpMeta_31595_140",p3e="_mpLabel_31595_145",y3e="_mpDate_31595_154",k3e="_mpRight_31595_160",m3e="_mpValue_31595_168",f3e="_mpHint_31595_176",g3e="_mpBadge_31595_180",v3e="_mpBadgeTop_31595_199",x3e="_mpBadgeSub_31595_206",M3e="_mpBadgeSmall_31595_213",_3e="_mpPill_31595_229",L3e="_mpRounded_31595_232",I3e="_mpCompact_31595_236",b3e="_compactItemWrapper_31595_252",w3e="_mpSummaryRoot_31595_265",C3e="_mpSummaryInner_31595_269",N3e="_mpSummaryFlex_31595_284",S3e="_mpSummaryCardWrapperHorizontal_31595_292",j3e="_mpSummaryCardWrapper_31595_292",$3e="_mpSummaryCardHorizontal_31595_303",q3e="_mpSummaryCard_31595_292",A3e="_mpSummaryValue_31595_321",z3e="_mpSummaryLabel_31595_327",V3e="_mpSummaryBadge_31595_338",P3e="_mpSummaryBadgeSub_31595_357",T3e="_mpEmpty_31595_365",H3e="_mpSummaryVertical_31595_372",D3e="_mpIconSquare_31595_380",Q={mpRoot:a3e,mpHeader:n3e,mpTitle:o3e,mpList:c3e,mpVertical:i3e,mpHorizontal:r3e,mpItem:s3e,mpClickable:d3e,mpLeft:l3e,mpIcon:h3e,mpMeta:u3e,mpLabel:p3e,mpDate:y3e,mpRight:k3e,mpValue:m3e,mpHint:f3e,mpBadge:g3e,mpBadgeTop:v3e,mpBadgeSub:x3e,mpBadgeSmall:M3e,mpPill:_3e,mpRounded:L3e,mpCompact:I3e,compactItemWrapper:b3e,mpSummaryRoot:w3e,mpSummaryInner:C3e,mpSummaryFlex:N3e,mpSummaryCardWrapperHorizontal:S3e,mpSummaryCardWrapper:j3e,mpSummaryCardHorizontal:$3e,mpSummaryCard:q3e,mpSummaryValue:A3e,mpSummaryLabel:z3e,mpSummaryBadge:V3e,mpSummaryBadgeSub:P3e,mpEmpty:T3e,mpSummaryVertical:H3e,mpIconSquare:D3e},Pt=(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 c=n.replace("#","").toLowerCase();if(c.length===3&&(c=c.split("").map(d=>d+d).join("")),!/^[0-9a-f]{6}$/i.test(c))return`rgba(124, 58, 237, ${t})`;const i=parseInt(c.slice(0,2),16),r=parseInt(c.slice(2,4),16),s=parseInt(c.slice(4,6),16);return`rgba(${i}, ${r}, ${s}, ${t})`},B3e=({item:e,shape:t,onItemClick:n,color:c,renderItem:i})=>{const r=k.useCallback(()=>{n?.(e)},[n,e]),s=[Q.mpItem,t==="pill"?Q.mpPill:Q.mpRounded,n?Q.mpClickable:""].filter(Boolean).join(" ");if(i)return o.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 o.jsxs(d,{...l,children:[o.jsxs("div",{className:Q.mpLeft,children:[h?o.jsx("div",{className:Q.mpIconSquare,style:{background:u??Pt(p??c??"#7c3aed",1),border:`1px solid ${Pt(p??c??"#7c3aed",.18)}`,color:p??"#ffffff"},children:k.createElement(h,{size:20,color:p??"#fff",strokeWidth:1.8})}):e.icon?o.jsx("div",{className:Q.mpIcon,children:e.icon}):null,o.jsxs("div",{className:Q.mpMeta,children:[o.jsx("div",{className:Q.mpLabel,children:e.label}),e.subLabel&&o.jsx("div",{className:Q.mpDate,children:e.subLabel}),e.date&&o.jsx("div",{className:Q.mpDate,children:e.date})]})]}),o.jsxs("div",{className:Q.mpRight,children:[o.jsx("div",{className:Q.mpValue,style:{color:e.valueColor??c??void 0},children:e.value}),e.badge?o.jsxs("div",{className:[Q.mpBadge,e.badge.small?Q.mpBadgeSmall:""].join(" "),style:{backgroundColor:e.badge.bg??Pt(e.badge.color||c||"#7c3aed",.12),borderColor:e.badge.bg?"transparent":Pt(e.badge.color||c||"#7c3aed",.18),color:e.badge.color??e.badge.textColor??"#0f172a",fontWeight:600},children:[o.jsx("div",{className:Q.mpBadgeTop,children:e.badge.text}),e.badge.subText&&o.jsx("div",{className:Q.mpBadgeSub,children:e.badge.subText})]}):e.hint?o.jsx("div",{className:Q.mpHint,children:e.hint}):null]})]})},R3e=k.memo(B3e),Sj=({title:e,right:t})=>!e&&!t?null:o.jsxs("div",{className:Q.mpHeader,children:[o.jsx("div",{className:Q.mpTitle,children:e}),o.jsx("div",{children:t})]}),jj=(e,t=1)=>{try{return Pt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},F3e=({item:e})=>o.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:[o.jsxs("div",{style:{display:"flex",flexDirection:"column",gap:6},children:[o.jsx("div",{style:{fontSize:13,fontWeight:700,color:"#475569"},children:e.label}),o.jsx("div",{style:{fontSize:26,fontWeight:900,color:"#0f172a",lineHeight:1},children:e.value})]}),o.jsx("div",{title:String(e.label),style:{display:"flex",alignItems:"center",justifyContent:"center",width:48,height:48,borderRadius:10,background:e.iconSquareBg??jj("#7c3aed",.12),border:`1px solid ${jj(e.iconColor??"#7c3aed",.12)}`,boxShadow:"none"},children:e.iconComponent?k.createElement(e.iconComponent,{size:18,color:e.iconColor??"#7c3aed",strokeWidth:1.6}):null})]}),E3e=({item:e,bg:t,onClick:n,width:c,height:i,extraStyle:r})=>o.jsxs("div",{className:Q.mpSummaryCard,style:{background:t,width:c??void 0,height:i??void 0,...r??{}},role:n?"button":"group",tabIndex:n?0:-1,onClick:()=>n?.(e),children:[o.jsx("div",{className:Q.mpSummaryLabel,children:e.label}),o.jsx("div",{className:Q.mpSummaryValue,style:{color:e.valueColor??"#2a24deff"},children:e.value}),e.badge&&o.jsxs("div",{className:Q.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:Q.mpSummaryBadgeSub,children:e.badge.subText})]})]}),$j=(e,t=1)=>{try{return Pt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},qj=e=>o.jsxs("div",{style:{display:"grid",gridTemplateRows:"auto 1fr",width:"100%",gap:8,alignItems:"center",boxSizing:"border-box",minWidth:0},children:[o.jsxs("div",{style:{display:"flex",justifyContent:"space-between-left",alignItems:"baseline",gap:10,width:"100%"},children:[o.jsx("div",{style:{fontWeight:700,fontSize:"clamp(14px, 1.2vw, 16px)",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",minWidth:0},children:e.label}),e.subLabel?o.jsx("div",{style:{fontSize:"clamp(13px, 1.1vw, 15px)",fontWeight:600,whiteSpace:"nowrap"},children:e.subLabel}):null]}),o.jsxs("div",{style:{display:"flex",justifyContent:"space-between",alignItems:"center",gap:15,width:"100%"},children:[o.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?o.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",padding:"8px 12px",borderRadius:10,backgroundColor:e.badge.bg?e.badge.bg:$j("#7c3aed",.08),border:`1px solid ${e.badge.bg?e.badge.bg:$j("#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:[o.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?o.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}},O3e=e=>{switch(e){case"image":return t=>k.createElement(F3e,{item:t});case"pertinence":return t=>k.createElement(E3e,{item:t});case"alternateHorizontal":return t=>Aj(qj,t);case"compact":return t=>Aj(qj,t);case"summary":return;case"default":default:return}},_A=({item:e,orientation:t,bg:n,border:c,valueColor:i,onClick:r,width:s,height:d,extraStyle:l})=>{const u=t==="horizontal"?Q.mpSummaryCardHorizontal:Q.mpSummaryCard;return o.jsxs("div",{className:u,style:{background:n,border:`1px solid ${c}`,width:s??void 0,height:d??void 0,...l??{}},role:r?"button":"group",tabIndex:r?0:-1,onClick:()=>r?.(e),children:[e.badge&&o.jsxs("div",{className:Q.mpSummaryBadge,children:[e.badge.text,e.badge.subText&&o.jsx("div",{className:Q.mpSummaryBadgeSub,children:e.badge.subText})]}),o.jsx("div",{className:Q.mpSummaryValue,style:{color:i},children:e.value}),o.jsx("div",{className:Q.mpSummaryLabel,children:e.label})]})},U3e=["transparent","transparent","transparent","transparent"],W3e=["transparent","transparent","transparent","transparent"],G3e=["#059669","#2563eb","#b45309","#7c3aed"],K3e=(e,t=1)=>{try{return Pt(e,t)}catch{return`rgba(124, 58, 237, ${t})`}},LA=e=>{const{items:t=[],layout:n="vertical",orientation:c="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:g=U3e,summaryBorderColors:m=W3e,summaryValueColors:x=G3e,preset:M,background:v}=e,{itemsContainerStyle:I,itemsContainerClassName:b,summaryGridColumns:w,compactItemWidth:N,compactItemHeight:_,compactItemStyle:L,summaryCardWidth:j,summaryCardHeight:S,summaryCardStyle:C}=e,$=n==="vertical",T={"--mp-accent":r,"--mp-accent-soft":K3e(r,.08),"--mp-bg-primary":v},D=[Q.mpRoot,$?Q.mpVertical:Q.mpHorizontal,s?Q.mpCompact:"",f?Q.mpSummaryRoot:"",c!=="auto"?c==="vertical"?Q.mpOrientationVertical:Q.mpOrientationHorizontal:"",h].filter(Boolean).join(" "),z=k.useMemo(()=>y||(O3e(M)??void 0),[y,M]);if(f){const A=c==="horizontal"?Q.mpSummaryFlex:Q.mpSummaryVertical,B={...(w?{display:"grid",gridTemplateColumns:`repeat(${w}, 1fr)`,gap:18,alignItems:"stretch",width:"100%"}:void 0)??{},...I??{}};return o.jsxs("div",{className:D,style:T,"aria-busy":u,children:[d&&o.jsx(Sj,{title:d}),o.jsx("div",{className:Q.mpSummaryInner,children:o.jsx("div",{className:`${A} ${b??""}`,style:B,children:t.length===0?o.jsx("div",{className:Q.mpEmpty,children:p}):t.map((R,V)=>{const U=R.bgColor??g[V%g.length],te=R.borderColor??m[V%m.length],F=R.valueColor??x[V%x.length];return z?o.jsx("div",{className:c==="horizontal"?Q.mpSummaryCardWrapperHorizontal:Q.mpSummaryCardWrapper,style:{width:j??void 0,height:S??void 0,...C??{}},children:z(R,V)},R.id):o.jsx(_A,{item:R,orientation:c==="horizontal"?"horizontal":"vertical",bg:U,border:te,valueColor:F,onClick:l,width:j??void 0,height:S??void 0,extraStyle:C},R.id)})})})]})}return o.jsxs("div",{className:D,style:T,"aria-busy":u,children:[d&&o.jsx(Sj,{title:d}),o.jsx("div",{className:Q.mpList,style:I,children:u?o.jsx("div",{className:Q.mpEmpty,children:"Chargement…"}):t.length===0?o.jsx("div",{className:Q.mpEmpty,children:p}):t.map(A=>{const q=s?{width:N??void 0,height:_??void 0,boxSizing:"border-box",...L??{}}:void 0;return o.jsx("div",{className:s?Q.compactItemWrapper:void 0,style:q,children:o.jsx(R3e,{item:A,shape:i,onItemClick:l,color:r,renderItem:z?B=>z(B,t.indexOf(B)):void 0})},A.id)})})]})};k.memo(LA);const Z3e=({a11yConfig:e,width:t,height:n,colors:c={text:"#0b1220",background:"#fff",contentBackground:"#efeff0"},titles:i={},placeholder:r="Loading Chart",style:s,className:d="",children:l,padding:h="1rem",variant:u="default",showBorder:p=!1,titleKey:y,leftTitleKey:f})=>{const g=t?typeof t=="number"?`${t}px`:t:void 0,m=n?typeof n=="number"?`${n}px`:n:void 0,x=r&&typeof r=="object"&&!k.isValidElement(r)&&("text"in r||"subtext"in r||"icon"in r||"background"in r||"iconSize"in r),M=x?r:void 0,v=M?.icon?Mt[M.icon]:void 0,I=28,b=M?.iconSize??I,w=["chart-container",`variant-${u}`,p?"with-border":"",d].filter(Boolean).join(" "),N=c.contentBackground??void 0,_=typeof h=="number"?`${h}px`:h;return o.jsxs("div",{className:w,style:{width:g,height:m,color:c.text,background:c.background,display:"flex",flexDirection:"column",boxSizing:"border-box",padding:_,...s},children:[o.jsxs("div",{className:"chart-header",children:[o.jsxs("div",{title:Y(e,f||y),className:"chart-title-left",style:{display:"flex",alignItems:"center",gap:"8px"},children:[i.left,i.leftSubtitle&&o.jsx("div",{className:"chart-subtitle-left",children:i.leftSubtitle})]}),o.jsx("div",{className:"chart-title-right",children:i.right})]}),o.jsx("div",{className:"chart-content",style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",background:N},children:l||(x&&M?o.jsxs("div",{className:"placeholder",role:"status","aria-live":"polite",children:[v&&o.jsx("div",{className:"placeholder-icon",style:{width:b,height:b},children:o.jsx(v,{color:M.iconColor??"currentColor",size:typeof b=="number"?b:parseInt(String(b),10)||I})}),M.text&&o.jsx("div",{className:"placeholder-text",children:M.text}),M.subtext&&o.jsx("div",{className:"placeholder-subtext",children:M.subtext})]}):o.jsx("div",{className:"placeholder-node",role:"status","aria-live":"polite",children:r}))})]})},rC=({id:e,size:t="100%",background:n,icon:c,text:i,subtext:r,onClose:s,onClick:d,style:l,className:h="",colorTextPrimary:u,colorTextSub:p,model:y,fontSize:f,fontWeight:g,a11yConfig:m,titleKey:x})=>{const M=c||y?.icon,v=typeof M=="string",I=v?Mt[M]:null,b=v?null:M;return o.jsxs("div",{id:e,className:`alert ${h}`,style:{width:typeof t=="number"?`${t}px`:t,background:n||y?.background,pointerEvents:"auto",cursor:d?"pointer":"default",...l},role:"alert",onClick:d,title:Y(m,x),children:[I&&o.jsx(I,{className:"alert-icon",size:20,color:u||y?.colorTextPrimary}),b!=null&&o.jsx("span",{className:"alert-icon",style:{display:"flex",alignItems:"center",color:u||y?.colorTextPrimary,flexShrink:0},children:b}),o.jsxs("div",{className:"alert-content",children:[o.jsx("span",{className:"alert-text",style:{color:u||y?.colorTextPrimary,fontSize:f,fontWeight:g},children:i}),r&&o.jsx("span",{className:"alert-subtext",style:{color:p||y?.colorTextSub},children:r})]}),s&&o.jsx("button",{className:"alert-close",onClick:s,"aria-label":"Fermer",children:"✕"})]})},IA=k.createContext(null),X3e=(e="alert")=>`${e}_${Math.random().toString(36).slice(2,9)}`,Y3e=({children:e,defaultDuration:t=4e3,maxAlerts:n,containerClassName:c,containerStyle:i})=>{const[r,s]=k.useState([]),d=k.useRef(new Map),l=k.useRef(null),[h,u]=k.useState(null),[p,y]=k.useState(void 0),f=k.useRef(n);k.useEffect(()=>()=>{d.current.forEach(C=>window.clearTimeout(C)),d.current.clear()},[]);const g=(C,$)=>{const T=$===void 0||$===0?t:$;if(T===-1)return;const D=window.setTimeout(()=>{M(C)},T);d.current.set(C,D)},m=C=>{const $=d.current.get(C);$&&(window.clearTimeout($),d.current.delete(C))},x=C=>{const $=X3e(),T={...C,id:$,createdAt:Date.now()};return s(D=>{const z=[T,...D],A=f.current;return typeof A=="number"&&A>=0&&z.length>A?(z.slice(A).forEach(B=>m(B.id)),z.slice(0,A)):z}),g($,C.duration),$},M=C=>{m(C),s($=>$.filter(T=>T.id!==C))},v=(C,$)=>{s(T=>T.map(D=>D.id===C?{...D,...$}:D))},I=()=>{d.current.forEach(C=>window.clearTimeout(C)),d.current.clear(),s([])},b=k.useCallback((C,$)=>{C&&window.getComputedStyle(C).position==="static"&&(C.style.position="relative"),u(T=>T===C?T:C),y($)},[]),w=()=>r.slice(),N=k.useMemo(()=>({showAlert:x,dismissAlert:M,updateAlert:v,clearAlerts:I,setContainerRef:b,getAlertsSnapshot:w}),[r]),_=h,L=_?!!p:!1,j=o.jsx("div",{style:{position:"absolute",top:0,left:0,right:0,display:"flex",flexDirection:"column",alignItems:"center",pointerEvents:"none",zIndex:10001,padding:"8px 4px",...L?{top:"auto",left:"auto",right:"auto",alignItems:"flex-end"}:null,..._?p:null},children:o.jsx(Sle,{mode:"popLayout",children:r.map(C=>o.jsx(aC.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:L?"auto":"100%",pointerEvents:"auto",boxShadow:"0 6px 20px rgba(0, 0, 0, 0.12)",borderRadius:"8px",marginBottom:"6px",backgroundColor:C.background||C.model?.background||"var(--color-background, #fff)",border:"1px solid rgba(0, 0, 0, 0.08)",overflow:"hidden"},children:o.jsx(rC,{id:C.id,text:C.text,subtext:C.subtext,icon:C.icon,background:"transparent",colorTextPrimary:C.colorTextPrimary,colorTextSub:C.colorTextSub,model:C.model,onClose:()=>M(C.id),size:L?"auto":"100%",style:{boxShadow:"none",...L?{whiteSpace:"nowrap"}:null}})},C.id))})}),S=o.jsx("div",{ref:C=>{h||(l.current=C)},className:c,style:{width:"100%",position:"relative",...i},"aria-live":"polite",children:j});return o.jsxs(IA.Provider,{value:N,children:[_?_w.createPortal(j,_):S,e]})},J3e=()=>{const e=k.useContext(IA);if(!e)throw new Error("useAlerts must be used inside an AlertsProvider");return e},Q3e={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"}},eme="_container_18zbo_1",tme="_icon_18zbo_9",ame="_selectWrapper_18zbo_23",Ob={container:eme,icon:tme,selectWrapper:ame},nme=({options:e,defaultValue:t,onChange:n,label:c})=>{const[i,r]=k.useState(t||e[0]?.value||""),s=d=>{r(d),n?.(d)};return o.jsxs("div",{className:Ob.container,children:[o.jsxs("div",{className:Ob.icon,children:[o.jsx(w1,{size:18}),o.jsx("p",{children:c})]}),o.jsx("div",{className:Ob.selectWrapper,children:o.jsx(nC,{field:{name:"periode",label:"",options:e},value:i,onChange:s,onBlur:()=>{}})})]})},ome=250,cme=k.forwardRef(({title:e,subtitle:t,size:n="420px",beforeOpen:c,afterOpen:i,beforeClose:r,afterClose:s,style:d,className:l="",children:h,closeOnOverlayClick:u=!0,showCloseButton:p=!0},y)=>{const[f,g]=k.useState(!1),[m,x]=k.useState(!1),M=k.useRef(null),v=k.useRef(null),I=k.useRef(null),b=k.useRef(null);k.useEffect(()=>{const _=M.current;if(!_)return;const L=_.parentElement;return L?(window.getComputedStyle(L).position==="static"&&(L.setAttribute("data-scp-prev-position",L.style.position??""),L.style.position="relative",L.setAttribute("data-scp-position-changed","true")),()=>{if(L.getAttribute("data-scp-position-changed")==="true"){const S=L.getAttribute("data-scp-prev-position")??"";L.style.position=S,L.removeAttribute("data-scp-position-changed"),L.removeAttribute("data-scp-prev-position")}}):void 0},[]),k.useImperativeHandle(y,()=>({open:()=>{f||(c?.(),x(!1),g(!0))},close:()=>{f&&(r?.(),x(!1),g(!1))},toggle:()=>{f?(r?.(),x(!1),g(!1)):(c?.(),x(!1),g(!0))}}),[f,c,r]),k.useEffect(()=>{const _=v.current;b.current&&(window.clearTimeout(b.current),b.current=null);const L=j=>{if(j.target===_&&!(j.propertyName!=="transform"&&j.propertyName!=="opacity"))if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}};return _&&(_.addEventListener("transitionend",L),b.current=window.setTimeout(()=>{if(f){x(!0),i?.();try{_?.focus()}catch{}}else{s?.();try{I.current?.focus()}catch{}}},ome+60)),f&&(I.current=document.activeElement),()=>{_&&_.removeEventListener("transitionend",L),b.current&&(window.clearTimeout(b.current),b.current=null)}},[f,i,s]),k.useEffect(()=>{const _=L=>{L.key==="Escape"&&f&&(r?.(),x(!1),g(!1))};return window.addEventListener("keydown",_),()=>window.removeEventListener("keydown",_)},[f,r]);const w=()=>{u&&(r?.(),x(!1),g(!1))},N=typeof n=="number"?`${n}px`:n;return o.jsxs("div",{ref:M,className:`scp-inline-root ${f?"open":""}`,"aria-hidden":!f,children:[o.jsx("div",{className:`scp-overlay ${f?"visible":""}`,onMouseDown:w,role:"presentation"}),o.jsxs("aside",{className:`scp-panel ${f?"in":"out"} ${m?"interactive":""} ${l}`,style:{width:N,...d},ref:v,tabIndex:-1,role:"dialog","aria-label":e,children:[o.jsxs("div",{className:"scp-header",children:[o.jsxs("div",{children:[o.jsx("h3",{className:"scp-title",children:e}),t&&o.jsx("div",{className:"scp-subtitle",children:t})]}),p&&o.jsx("button",{className:"scp-close","aria-label":"Close",onClick:()=>{r?.(),x(!1),g(!1)},children:o.jsx(tt,{size:18})})]}),o.jsx("div",{className:"scp-body",children:h})]})]})});function ime(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 rme="_container_1pfsp_1",sme="_title_1pfsp_8",zj={container:rme,title:sme},dme=({title:e,fontSize:t,barColor:n,className:c="",style:i={}})=>{const r={...i,"--title-font-size":t,"--bar-color":n};return o.jsx("div",{className:`${zj.container} ${c}`,style:r,children:o.jsx("h2",{className:zj.title,children:e})})},lme="_modalOverlay_1878x_1",hme="_modalContainer_1878x_16",ume="_modalTitle_1878x_29",pme="_modalInput_1878x_38",yme="_modalTextarea_1878x_39",kme="_modalActions_1878x_70",mme="_cancelBtn_1878x_77",fme="_saveBtn_1878x_99",gme="_inputError_1878x_141",vme="_inlineAlert_1878x_146",ot={modalOverlay:lme,modalContainer:hme,modalTitle:ume,modalInput:pme,modalTextarea:yme,modalActions:kme,cancelBtn:mme,saveBtn:fme,inputError:gme,inlineAlert:vme},Hc=({isOpen:e,onClose:t,onSave:n,title:c="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),[g,m]=k.useState(!1),[x,M]=k.useState(!1),v=k.useRef(null);if(k.useEffect(()=>{if(!e)return;const _={};for(const L of i)_[L.name]=Object.prototype.hasOwnProperty.call(r,L.name)?r[L.name]:"";return y(_),requestAnimationFrame(()=>{f.current?.focus();const L=f.current;if(L&&typeof L.selectionStart=="number"){const j=String(L.value??"").length;L.setSelectionRange(j,j)}}),()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}},[e]),k.useEffect(()=>{s&&e?(M(!0),v.current&&(window.clearTimeout(v.current),v.current=null),v.current=window.setTimeout(()=>{M(!1),v.current=null},3e3)):(M(!1),v.current&&(window.clearTimeout(v.current),v.current=null))},[s,e]),!e)return null;const I=(_,L)=>{y(j=>({...j,[_]:L})),l&&l(_,L)},b=async()=>{if(!Object.values(p).some(_=>_===""||_===void 0))try{m(!0);const _=await n(p);if(typeof _=="string"&&_==="duplicate-same"){m(!1);return}y({}),m(!1),t()}catch(_){console.error("AddItemModal onSave error:",_),m(!1),t()}},w=_=>{_.target===_.currentTarget&&t()},N=_=>_.stopPropagation();return o.jsx("div",{className:ot.modalOverlay,onMouseDown:w,role:"dialog","aria-modal":"true",children:o.jsxs("div",{className:ot.modalContainer,onMouseDown:N,onClick:N,children:[o.jsx("h2",{className:ot.modalTitle,children:c}),i.map((_,L)=>{const j=p[_.name]??"",S=L===0&&!!s,C={name:_.name,placeholder:_.placeholder||_.label,value:String(j),onChange:$=>I(_.name,$.target.value),className:_.type==="textarea"?`${ot.modalTextarea} ${S?ot.inputError:""}`:`${ot.modalInput} ${S?ot.inputError:""}`,tabIndex:0,disabled:g};return L===0&&(C.ref=$=>{f.current=$}),o.jsxs("div",{style:{marginBottom:8},children:[_.type==="textarea"?o.jsx("textarea",{rows:_.rows||4,...C}):o.jsx("input",{type:_.type||"text",...C}),L===0&&x&&s&&o.jsx("div",{style:{marginTop:8},children:o.jsx(rC,{text:s,background:"#fff5f5",colorTextPrimary:"#ef4444",onClose:()=>M(!1),className:ot.inlineAlert})})]},_.name)}),o.jsxs("div",{className:ot.modalActions,children:[o.jsx("button",{className:ot.cancelBtn,onClick:t,type:"button",disabled:g,children:u}),o.jsx("button",{className:ot.saveBtn,onClick:b,type:"button",disabled:g||!!d,children:g?"En cours...":h})]})]})})},xme=({title:e,keyCount:t,onAddKey:n,a11yConfig:c})=>{const[i,r]=k.useState(!1),s=d=>{const l=d.key;n&&l&&n(l)};return o.jsxs("div",{className:"header-container",children:[o.jsxs("div",{className:"header-info",children:[o.jsx("h1",{title:Y(c,e),children:e}),o.jsxs("p",{children:[t," clés"]})]}),o.jsxs("button",{onClick:()=>r(!0),className:"add-key-button",children:[o.jsx(Ac,{className:"add-key-icon"}),"Clé"]}),o.jsx(Hc,{isOpen:i,title:"Ajouter une clé",onClose:()=>r(!1),onSave:s,fields:[{name:"key",label:"Nouvelle clé",placeholder:"Entrer une nouvelle clé"}]})]})},Mme=({modules:e,onEdit:t,onDelete:n,onAddModule:c,onSelectModule:i,addModalFields:r,addModalTitle:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(null),[p,y]=k.useState(null),[f,g]=k.useState(!1),m=()=>l(!0),x=()=>l(!1),M=_=>{if(c){const L=_.code?.trim()||_.id?.trim(),j=_.title?.trim(),S=L||j||String(Date.now()),C=j||L||`Module ${S}`;c({id:S,title:C,subtitle:"",translations:{}})}x()},v=(_,L)=>{_.stopPropagation(),u(L)},I=()=>u(null),b=_=>{if(!h){I();return}const L={...h,title:_.title||h.title,subtitle:""};t&&t(L),I()},w=(_,L)=>{_.stopPropagation(),n&&n(L)},N=_=>{y(_.id),i&&i(_)};return f?o.jsx("div",{className:"module-sidebar collapsed",children:o.jsx(a1,{size:20,className:"menu-toggle",onClick:()=>g(!1)})}):o.jsxs("div",{className:"module-sidebar",children:[o.jsxs("div",{className:"sidebar-header",children:[o.jsxs("span",{className:"header-text",children:["Modules (",e.length,")"]}),o.jsxs("div",{className:"header-actions",children:[o.jsx(qc,{size:18,className:"header-folder",onClick:m}),o.jsx(a1,{size:18,className:"header-menu",onClick:()=>g(!0)})]})]}),o.jsx("hr",{className:"divider"}),o.jsx("div",{className:"module-list",children:e.map(_=>{const L=Object.keys(_.translations||{}).length,j=L>0||_.id===p;return o.jsxs("div",{className:`module-item ${_.id===p?"selected":""}`,onClick:()=>N(_),role:"button",tabIndex:0,onKeyDown:S=>{S.key==="Enter"&&N(_)},children:[o.jsxs("div",{className:"module-left",children:[o.jsx($1,{size:16,className:"item-folder"}),o.jsxs("div",{className:"module-info",children:[o.jsxs("div",{className:"module-title",children:[_.title,j&&o.jsxs("span",{className:"count",children:[" ",L," "]})]}),_.subtitle?o.jsx("div",{className:"module-subtitle",children:_.subtitle}):null]})]}),o.jsxs("div",{className:"module-actions",children:[t&&o.jsx(n1,{onClick:S=>v(S,_),color:"#777",size:16}),n&&o.jsx(yt,{onClick:S=>w(S,_.id),color:"#777",size:16})]})]},_.id)})}),o.jsx(Hc,{isOpen:d,onClose:x,onSave:M,title:s||"Ajouter un module",fields:r&&r.length?r.map(_=>({name:_.name,label:_.label,type:_.type,placeholder:_.placeholder,rows:_.rows})):[{name:"title",label:"Titre",placeholder:"Titre du module"}]}),h&&o.jsx(Hc,{isOpen:!!h,onClose:I,onSave:b,title:"Éditer le module",initialValues:{title:h.title},fields:[{name:"title",label:"Titre",placeholder:"Titre du module"}]})]})},bA=({placeholder:e="Rechercher une clé ou traduction...",value:t="",onChange:n,iconPosition:c="left",iconColor:i="#9ca3af",a11yConfig:r,className:s})=>o.jsxs("div",{className:`search-container icon-${c}`,title:Y(r,e),children:[o.jsx("div",{className:"search-icon-wrapper",children:o.jsx(z1,{className:"search-icon",color:i})}),o.jsx("input",{type:"text",placeholder:e,value:t,onChange:d=>n?.(d.target.value),className:`search-input ${s}`})]}),_me=({keyName:e,translations:t,availableLanguages:n,onDeleteKey:c,onEditKey:i,onEditTranslation:r,onDeleteTranslation:s,onAddTranslation:d,draggable:l=!1,checkDuplicateLocal:h})=>{const[u,p]=k.useState(!1),[y,f]=k.useState(""),[g,m]=k.useState(null),[x,M]=k.useState(""),[v,I]=k.useState(""),[b,w]=k.useState(!1),[N,_]=k.useState(!1),[L,j]=k.useState(null),[S,C]=k.useState(!1),$=t.map(V=>V.language),T=n.filter(V=>!$.includes(V.code)),D=()=>{y&&v.trim()&&(d?.(e,y,v.trim()),f(""),I(""),p(!1))},z=(V,U)=>{m(V),M(U)},A=V=>{r?.(e,V,x),m(null),M("")},q=()=>{m(null),M("")},B=async V=>{const U=V.name?.trim();if(U){if(j(null),C(!1),U===e||!i)return w(!1),"ok";try{const te=await i(e,U);if(typeof te=="string"&&te==="ok")w(!1),j(null);else{if(typeof te=="string"&&te==="duplicate-same")return j("Une clé existe déjà dans ce module."),C(!0),"duplicate-same";if(typeof te=="string"&&te==="duplicate-other")return w(!1),j(null),"duplicate-other";w(!1)}}catch(te){console.error("Erreur handleRenameSave:",te),j("Erreur lors du renommage.")}}},R=(V,U)=>{if(V!=="name")return;const te=U.trim();j(null),C(!1),te&&typeof h=="function"&&(h(te,e)?(j("Une clé existe déjà dans ce module."),C(!0)):(j(null),C(!1)))};return o.jsxs("div",{className:`translation-key ${N?"collapsed":"expanded"} ${l?"draggable":""}`,children:[o.jsxs("div",{className:"card-header",children:[o.jsxs("div",{className:"header-left",children:[o.jsx("button",{className:"collapse-button",onClick:()=>_(!N),title:N?"Déplier":"Replier",children:N?o.jsx(N1,{className:"collapse-icon"}):o.jsx(Tt,{className:"collapse-icon"})}),o.jsx("h3",{className:"card-title",title:e,children:e})]}),o.jsxs("div",{className:"header-actions",children:[o.jsx("button",{className:"action-button",onClick:V=>{V.stopPropagation(),w(!0)},title:"Renommer la clé",children:o.jsx(gt,{className:"action-icon"})}),o.jsx("button",{onClick:V=>{V.stopPropagation(),c?.(e)},className:"action-button delete",title:"Supprimer la clé",children:o.jsx(yt,{className:"action-icon"})})]})]}),o.jsx("div",{className:`translations-container ${N?"":"expanded"}`,children:!l&&o.jsxs(o.Fragment,{children:[t.map(V=>o.jsxs("div",{className:"translation-row",children:[o.jsx("div",{className:"language-code",children:V.language}),o.jsx("div",{className:"translation-content",children:g===V.language?o.jsxs(o.Fragment,{children:[o.jsx("input",{type:"text",value:x,onChange:U=>M(U.target.value),className:"edit-input",autoFocus:!0,onKeyDown:U=>{U.key==="Enter"&&A(V.language),U.key==="Escape"&&q()}}),o.jsx("button",{onClick:()=>A(V.language),className:"save-button",disabled:!x.trim(),children:"Enregistrer"}),o.jsx("button",{onClick:q,className:"cancel-button",children:o.jsx(tt,{className:"action-icon"})})]}):o.jsxs(o.Fragment,{children:[o.jsx("span",{className:"translation-text",title:V.value,children:V.value}),o.jsx("button",{onClick:()=>z(V.language,V.value),className:"edit-button",title:"Éditer la traduction",children:o.jsx(gt,{className:"action-icon"})}),o.jsx("button",{onClick:()=>s?.(e,V.language),className:"delete-translation-button",title:"Supprimer la traduction",children:o.jsx(tt,{className:"action-icon"})})]})})]},V.language)),u?o.jsxs("div",{className:"add-language-row",children:[o.jsx("div",{className:"language-code",children:"+"}),o.jsxs("div",{className:"add-language-content",children:[o.jsx("div",{className:"language-select-container",children:o.jsxs("select",{value:y,onChange:V=>f(V.target.value),className:"language-select",children:[o.jsx("option",{value:"",children:"Sélectionnez la langue"}),T.map(V=>o.jsxs("option",{value:V.code,children:[V.name," (",V.code,")"]},V.code))]})}),y&&o.jsx("input",{type:"text",value:v,onChange:V=>I(V.target.value),placeholder:"Entrez la traduction...",className:"translation-input",onKeyDown:V=>{V.key==="Enter"&&D(),V.key==="Escape"&&(p(!1),f(""),I(""))}}),o.jsx("button",{onClick:D,disabled:!y||!v.trim(),className:"save-button",children:"Ajouter"}),o.jsx("button",{onClick:()=>{p(!1),f(""),I("")},className:"cancel-button",children:o.jsx(tt,{className:"action-icon"})})]})]}):o.jsxs("button",{onClick:()=>p(!0),className:"show-add-button",disabled:T.length===0,children:[o.jsx("span",{className:"plus-icon",children:"+"}),"Ajouter une langue"]})]})}),l&&o.jsxs("div",{className:"drag-overlay",children:[o.jsx(a.Move,{size:24,strokeWidth:1.5}),o.jsx("span",{children:"Glisser pour réorganiser"})]}),o.jsx(Hc,{isOpen:b,onClose:()=>{w(!1),j(null),C(!1)},onSave:B,onFieldChange:R,title:"Renommer la clé",initialValues:{name:e},fields:[{name:"name",label:"Nom de la clé",placeholder:"Nom de la clé"}],errorMessage:L||"",disableSave:S})]})},Lme="_wrapper_1wvht_1",Ime="_leftGroup_1wvht_12",bme="_filterButton_1wvht_21",wme="_open_1wvht_42",Cme="_filterIcon_1wvht_42",Nme="_infoText_1wvht_58",Sme="_pickerContainer_1wvht_66",jme="_srOnly_1wvht_79",$me="_pickerLabel_1wvht_91",qme="_datetime_1wvht_98",Ame="_rightGroup_1wvht_107",zme="_searchInputWrap_1wvht_116",Vme="_searchInput_1wvht_116",Pme="_searchIcon_1wvht_152",Fe={wrapper:Lme,leftGroup:Ime,filterButton:bme,open:wme,filterIcon:Cme,infoText:Nme,pickerContainer:Sme,srOnly:jme,pickerLabel:$me,datetime:qme,rightGroup:Ame,searchInputWrap:zme,searchInput:Vme,searchIcon:Pme};function Tme({onDateChange:e,onSearch:t,initialDate:n}){const[c,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 o.jsxs("div",{className:Fe.wrapper,ref:d,children:[o.jsxs("div",{className:Fe.leftGroup,children:[o.jsxs("button",{type:"button",className:`${Fe.filterButton} ${c?Fe.open:""}`,onClick:l,"aria-expanded":c,"aria-haspopup":"dialog","aria-controls":"entry-datetime",children:[o.jsx("span",{children:"Entry time"}),o.jsx("svg",{className:Fe.filterIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"14",height:"14","aria-hidden":!0,children:o.jsx("path",{fill:"currentColor",d:"M10 18h4v-2h-4v2zm-7-8v2h18V10H3zm3-6v2h12V4H6z"})})]}),o.jsx("div",{className:Fe.infoText,children:"Confidence interval: step ± 15' / exit ± 30'"}),c&&o.jsxs("div",{className:Fe.pickerContainer,role:"dialog","aria-label":"Choisir la date et l’heure",children:[o.jsx("label",{className:Fe.pickerLabel,htmlFor:"entry-datetime",children:o.jsx("span",{className:Fe.srOnly,children:"Choisir la date et l’heure"})}),o.jsx("input",{id:"entry-datetime",className:Fe.datetime,type:"datetime-local",value:r,onChange:h,"aria-label":"Date et heure d’entrée"})]})]}),o.jsx("div",{className:Fe.rightGroup,children:o.jsxs("div",{className:Fe.searchInputWrap,children:[o.jsx("input",{className:Fe.searchInput,placeholder:"Search...",onChange:u,"aria-label":"Search"}),o.jsx("svg",{className:Fe.searchIcon,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":!0,children:o.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 Hme=({className:e="",style:t={},title:n,titleClassName:c="",titleStyle:i,data:r,lineClasses:s={},renderCell:d,bg:l,titleBg:h,titleColor:u,itemBg:p,emptyContent:y,colGap:f="1rem"})=>{const g=Array.isArray(r)?r:[],m=g.length===0,x=g.every(b=>typeof b=="string"),M=g.some(b=>Array.isArray(b)),v=(b,w,N)=>d?d(b,w,N):o.jsx("span",{className:"slb-cell-text",children:b}),I=f?{"--col-gap":f}:void 0;return m?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{...i,background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-empty",children:y??null})]}):x&&!M?o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("ul",{className:"slb-list",children:g.map((b,w)=>o.jsx("li",{className:`slb-item ${s[w]||""}`,style:{background:p??void 0},children:v(b,w,0)},w))})]}):o.jsxs("div",{className:`slb-root ${e}`,style:{...t,background:l??void 0},children:[n&&o.jsx("div",{className:`slb-title ${c}`,style:{background:h??void 0,color:u??void 0},children:n}),o.jsx("div",{className:"slb-grid",style:I,children:g.map((b,w)=>{const N=s[w]||"";if(Array.isArray(b)){const[_,L]=b;return o.jsxs("div",{className:`slb-row ${N}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(_,w,0)}),o.jsx("div",{className:"slb-grid-right",children:v(L,w,1)})]},w)}return o.jsxs("div",{className:`slb-row ${N}`,style:{background:p??void 0},children:[o.jsx("div",{className:"slb-grid-left",children:v(b,w,0)}),o.jsx("div",{className:"slb-grid-right slb-empty-cell","aria-hidden":"true"})]},w)})})]})},Dme=({className:e="",style:t={},title:n,titleColor:c,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)),f=p?{"--col-gap":p}:void 0;return o.jsxs("div",{className:`clb-root ${e}`,style:{...t},children:[n&&o.jsx("div",{className:"clb-title",style:c?{color:c}:void 0,children:n}),o.jsx("div",{className:"clb-grid",style:f,children:i.map((g,m)=>{const x=u[m]||"";if(Array.isArray(g)){const[M,v]=g,I=s[m]||r;return o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col",children:o.jsx("div",{className:"counter-badge",style:{background:I,padding:d,width:l,minWidth:l},children:M})}),o.jsx("div",{className:"clb-text",children:v})]},m)}return y?o.jsxs("div",{className:`clb-row ${x}`,style:{background:h??void 0},children:[o.jsx("div",{className:"clb-badge-col clb-empty-badge"}),o.jsx("div",{className:"clb-text",children:g})]},m):o.jsx("div",{className:`clb-fullrow ${x}`,style:{background:h??void 0},children:o.jsx("span",{children:g})},m)})})]})},Bme=({className:e="",style:t={},title:n,items:c=[],titleBg:i,titleColor:r,itemBg:s,lineClasses:d={},renderTrendIcon:l,colGap:h="1rem"})=>{const u=h?{"--col-gap":h}:void 0;return o.jsxs("div",{className:`tlb-root ${e}`,style:{...t,background:s??void 0},children:[n&&o.jsx("div",{className:"tlb-title",style:{background:i??void 0,color:r??void 0},children:n}),o.jsx("div",{className:"tlb-grid",style:u,children:c.map((p,y)=>{const f=d[y]||"";return o.jsxs("div",{className:`tlb-row ${f}`,style:{background:s??void 0},children:[o.jsx("div",{className:"tlb-label",children:p.label}),o.jsxs("div",{className:"tlb-value-group",children:[o.jsx("div",{className:"tlb-icon-col",children:l?l(p):p.icon??null}),o.jsxs("div",{className:"tlb-value-wrap",children:[o.jsx("div",{className:"tlb-value",children:p.value}),typeof p.delta<"u"&&o.jsx("div",{className:`tlb-delta ${p.delta>0?"positive":p.delta<0?"negative":"neutral"}`,children:p.deltaLabel??String(p.delta)})]})]})]},y)})})]})},Rme=({className:e="",style:t={},children:n,gap:c="1rem"})=>o.jsx("div",{className:`frc-root ${e}`,style:{...t,"--frc-gap":c},children:k.Children.map(n,i=>o.jsx("div",{className:"frc-item",children:i}))}),Fme=({className:e="",style:t={},children:n,gap:c="1rem",background:i="#D9EEF5"})=>o.jsx("div",{className:`lcc-root ${e}`,style:{background:i,...t,"--lcc-gap":c},children:k.Children.map(n,r=>o.jsx("div",{className:"lcc-cell",children:r}))}),Eme="_overlay_3x4or_2",Ome="_fadeIn_3x4or_1",Ume="_popup_3x4or_17",Wme="_slideUp_3x4or_1",Gme="_header_3x4or_28",Kme="_body_3x4or_40",Zme="_footer_3x4or_51",Xme="_cancelButton_3x4or_59",Yme="_confirmButton_3x4or_77",Jme="_warning_3x4or_97",Qme="_danger_3x4or_106",e6e="_info_3x4or_115",Nt={overlay:Eme,fadeIn:Ome,popup:Ume,slideUp:Wme,header:Gme,body:Kme,footer:Zme,cancelButton:Xme,confirmButton:Yme,warning:Jme,danger:Qme,info:e6e},t6e=({isOpen:e,title:t,message:n,onConfirm:c,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&&c()};return o.jsx("div",{className:Nt.overlay,onClick:l,onKeyDown:h,role:"dialog","aria-labelledby":"confirmation-title","aria-describedby":"confirmation-message",children:o.jsxs("div",{className:`${Nt.popup} ${Nt[d]}`,children:[o.jsx("div",{className:Nt.header,children:o.jsx("h3",{id:"confirmation-title",children:t})}),o.jsx("div",{className:Nt.body,children:o.jsx("p",{id:"confirmation-message",children:n})}),o.jsxs("div",{className:Nt.footer,children:[o.jsx("button",{className:Nt.cancelButton,onClick:i,type:"button",children:s}),o.jsx("button",{className:Nt.confirmButton,onClick:c,type:"button",autoFocus:!0,children:r})]})]})})},a6e=()=>{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})},[]),c=k.useCallback(()=>{t(r=>({...r,isOpen:!1,onConfirm:null}))},[]),i=k.useCallback(()=>{e.onConfirm?.(),c()},[e.onConfirm,c]);return{isOpen:e.isOpen,title:e.title,message:e.message,showConfirmation:n,hideConfirmation:c,handleConfirm:i}},n6e="_container_145xs_1",o6e="_selectButton_145xs_7",c6e="_disabled_145xs_22",i6e="_error_145xs_39",r6e="_outline_145xs_52",s6e="_filled_145xs_58",d6e="_sm_145xs_67",l6e="_md_145xs_73",h6e="_lg_145xs_79",u6e="_buttonContent_145xs_85",p6e="_label_145xs_93",y6e="_placeholder_145xs_103",k6e="_iconsContainer_145xs_108",m6e="_loadingSpinner_145xs_115",f6e="_spin_145xs_1",g6e="_arrowIcon_145xs_133",v6e="_arrowIconOpen_145xs_141",x6e="_dropdown_145xs_146",M6e="_dropdownIn_145xs_1",_6e="_searchContainer_145xs_173",L6e="_searchInputWrapper_145xs_179",I6e="_searchIcon_145xs_185",b6e="_searchInput_145xs_179",w6e="_optionsList_145xs_210",C6e="_noResults_145xs_235",N6e="_option_145xs_210",S6e="_optionHighlighted_145xs_265",j6e="_optionSelected_145xs_270",$6e="_optionDisabled_145xs_281",q6e="_optionLabel_145xs_287",A6e="_checkIcon_145xs_295",z6e="_widthFull_145xs_303",V6e="_width64_145xs_306",P6e="_width80_145xs_309",T6e="_width96_145xs_312",he={container:n6e,selectButton:o6e,disabled:c6e,error:i6e,default:"_default_145xs_48",outline:r6e,filled:s6e,sm:d6e,md:l6e,lg:h6e,buttonContent:u6e,label:p6e,placeholder:y6e,iconsContainer:k6e,loadingSpinner:m6e,spin:f6e,arrowIcon:g6e,arrowIconOpen:v6e,dropdown:x6e,dropdownIn:M6e,searchContainer:_6e,searchInputWrapper:L6e,searchIcon:I6e,searchInput:b6e,optionsList:w6e,noResults:C6e,option:N6e,optionHighlighted:S6e,optionSelected:j6e,optionDisabled:$6e,optionLabel:q6e,checkIcon:A6e,widthFull:z6e,width64:V6e,width80:P6e,width96:T6e},li=4,Vj=8,H6e=({options:e,value:t,onChange:n,placeholder:c="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",dropdownPosition:p="auto"})=>{const[y,f]=k.useState(!1),[g,m]=k.useState(""),[x,M]=k.useState(0),[v,I]=k.useState({top:0,left:0,width:0}),[b,w]=k.useState("bottom"),[N,_]=k.useState(null),L=k.useRef(null),j=k.useRef(null),S=k.useRef(null),C=k.useMemo(()=>g?e.filter(F=>F.label.toLowerCase().includes(g.toLowerCase())):e,[e,g]),$=e.find(F=>F.value===t),T=k.useCallback(()=>{if(L.current){const F=L.current.getBoundingClientRect();I({top:F.top,left:F.left,width:F.width})}},[]),D=k.useCallback(()=>{if(!L.current)return;const F=L.current.getBoundingClientRect(),O=F.top-li-Vj,ie=window.innerHeight-F.bottom-li-Vj;let ce;p!=="auto"?ce=p:ce=(j.current?.scrollHeight??0)<=ie?"bottom":O>ie?"top":"bottom",w(xe=>xe===ce?xe:ce),_(Math.max(ce==="bottom"?ie:O,0))},[p]),z=k.useCallback(()=>{T(),D()},[T,D]);k.useEffect(()=>(y&&(z(),window.addEventListener("scroll",z,!0),window.addEventListener("resize",z)),()=>{window.removeEventListener("scroll",z,!0),window.removeEventListener("resize",z)}),[y,z]),k.useLayoutEffect(()=>{y&&D()},[y,D]),k.useEffect(()=>{const F=O=>{L.current&&!L.current.contains(O.target)&&j.current&&!j.current.contains(O.target)&&(f(!1),m(""))};return document.addEventListener("mousedown",F),()=>document.removeEventListener("mousedown",F)},[]),k.useEffect(()=>{M(0)},[C]);const A=F=>{F.disabled||(n?.(F.value,F),f(!1),m(""))},q=F=>{m(F.target.value),y||f(!0)},B=F=>{if(!y){(F.key==="ArrowDown"||F.key==="Enter")&&f(!0);return}switch(F.key){case"ArrowDown":F.preventDefault(),M(O=>O<C.length-1?O+1:O);break;case"ArrowUp":F.preventDefault(),M(O=>O>0?O-1:O);break;case"Enter":F.preventDefault(),C[x]&&A(C[x]);break;case"Escape":f(!1),m("");break}},R=()=>[he.selectButton,he[l],he[h],i?he.disabled:"",s?he.error:"",d].filter(Boolean).join(" "),V=()=>{switch(u){case"w-64":return he.width64;case"w-80":return he.width80;case"w-96":return he.width96;default:return he.widthFull}},U=(F,O)=>[he.option,O===x?he.optionHighlighted:"",F.value===t?he.optionSelected:"",F.disabled?he.optionDisabled:""].filter(Boolean).join(" "),te={position:"fixed",top:b==="bottom"?v.top+(L.current?.offsetHeight||0)+li:"auto",bottom:b==="top"?window.innerHeight-v.top+li:"auto",left:v.left,width:v.width,maxHeight:N!=null?`${N}px`:void 0,zIndex:9999};return o.jsxs("div",{className:`${he.container} ${V()}`,children:[o.jsx("button",{ref:L,className:R(),onClick:()=>!i&&f(!y),onKeyDown:B,tabIndex:i?-1:0,type:"button","aria-haspopup":"listbox","aria-expanded":y,disabled:i,children:o.jsxs("div",{className:he.buttonContent,children:[o.jsx("span",{className:`${he.label} ${$?"":he.placeholder}`,children:$?$.label:c}),o.jsxs("div",{className:he.iconsContainer,children:[r&&o.jsx("div",{className:he.loadingSpinner}),o.jsx("svg",{className:`${he.arrowIcon} ${y?he.arrowIconOpen:""}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]})]})}),y&&_w.createPortal(o.jsxs("div",{className:`${he.dropdown} ${V()}`,style:te,ref:j,children:[o.jsx("div",{className:he.searchContainer,children:o.jsxs("div",{className:he.searchInputWrapper,children:[o.jsx("svg",{className:he.searchIcon,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:o.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"})}),o.jsx("input",{ref:S,type:"text",value:g,onChange:q,placeholder:"Rechercher...",className:he.searchInput,autoFocus:!0})]})}),o.jsx("div",{className:he.optionsList,children:C.length===0?o.jsx("div",{className:he.noResults,children:"Aucun résultat trouvé"}):o.jsx("ul",{role:"listbox",children:C.map((F,O)=>o.jsx("li",{className:U(F,O),onClick:()=>A(F),onMouseEnter:()=>M(O),role:"option","aria-selected":F.value===t,"aria-disabled":F.disabled,children:o.jsxs("div",{className:he.buttonContent,children:[o.jsx("span",{className:he.optionLabel,title:F.label,children:F.label}),F.value===t&&o.jsx("svg",{className:he.checkIcon,fill:"currentColor",viewBox:"0 0 20 20",children:o.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"})})]})},F.value))})})]}),document.body)]})},D6e="_container_uq7pt_1",B6e="_item_uq7pt_7",R6e="_mainValue_uq7pt_13",F6e="_label_uq7pt_17",E6e="_subValue_uq7pt_22",O6e="_subValueWrapper_uq7pt_27",U6e="_subSeparator_uq7pt_32",Ye={container:D6e,item:B6e,mainValue:R6e,label:F6e,subValue:E6e,subValueWrapper:O6e,subSeparator:U6e},W6e=({dms:e,stats:t=[],itemWidth:n="120px",valueFontSize:c="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[g,m]=p.split("/").map(x=>x.trim());return o.jsxs("span",{className:Ye.subValueWrapper,children:[o.jsx("span",{className:Ye.subLeft,style:{color:y},children:g}),o.jsx("span",{className:Ye.subSeparator,children:" / "}),o.jsx("span",{className:Ye.subRight,style:{color:f},children:m})]})};return o.jsxs("div",{className:Ye.container,style:{backgroundColor:d},children:[e&&o.jsxs("div",{className:Ye.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ye.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:e}),o.jsx("div",{className:Ye.label,style:{color:l},children:"DMS"})]}),t.map((p,y)=>o.jsxs("div",{className:Ye.item,style:{flex:`1 1 ${n}`},children:[o.jsx("div",{className:Ye.mainValue,style:{fontSize:c,fontWeight:i,color:h},children:p.value}),o.jsx("div",{className:Ye.label,style:{color:l},children:p.label}),o.jsx("div",{className:Ye.subValue,style:{fontSize:r,fontWeight:s},children:p.subValue&&u(p.subValue,p.subLeftColor,p.subRightColor)})]},y))]})},G6e="_encours_16ist_1",K6e="_header_16ist_19",Z6e="_iconWrap_16ist_27",X6e="_title_16ist_36",Y6e="_items_16ist_47",J6e="_spaceEvenly_16ist_56",Q6e="_item_16ist_47",efe="_valueContainer_16ist_86",tfe="_value_16ist_86",afe="_label_16ist_108",dt={encours:G6e,header:K6e,iconWrap:Z6e,title:X6e,items:Y6e,spaceEvenly:J6e,item:Q6e,valueContainer:efe,value:tfe,label:afe},jc=e=>typeof e=="number"?`${e}px`:typeof e=="string"?e:void 0;function nfe(e,t){const n={},c={};return e.valueColor&&(n.color=e.valueColor),e.valueFontSize!==void 0?n.fontSize=jc(e.valueFontSize):t.defaultValueFontSize!==void 0&&(n.fontSize=jc(t.defaultValueFontSize)),e.valueFontWeight!==void 0?n.fontWeight=e.valueFontWeight:t.defaultValueFontWeight!==void 0&&(n.fontWeight=t.defaultValueFontWeight),e.labelColor&&(c.color=e.labelColor),e.labelFontSize!==void 0?c.fontSize=jc(e.labelFontSize):t.defaultLabelFontSize!==void 0&&(c.fontSize=jc(t.defaultLabelFontSize)),e.labelFontWeight!==void 0?c.fontWeight=e.labelFontWeight:t.defaultLabelFontWeight!==void 0&&(c.fontWeight=t.defaultLabelFontWeight),{valueStyle:n,labelStyle:c}}function ofe(){return o.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none","aria-hidden":!0,children:[o.jsx("circle",{cx:"12",cy:"12",r:"9",stroke:"currentColor",strokeWidth:"1.4"}),o.jsx("path",{d:"M8 12h8",stroke:"currentColor",strokeWidth:"1.6",strokeLinecap:"round"})]})}function cfe(e){const{title:t,titleColor:n,titleFontSize:c,titleFontWeight:i,icon:r,iconSize:s=18,iconColor:d,defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p,data:y,style:f,bg:g="#ffffff",width:m,gap:x,className:M,ariaLabel:v}=e,I=r?Mt[r]:void 0,b={background:g,width:jc(m),...f},w={};n&&(w.color=n),c!==void 0&&(w.fontSize=jc(c)),i!==void 0&&(w.fontWeight=i);const N={};return d&&(N.color=d),o.jsxs("section",{className:`${dt.encours} ${M??""}`,style:b,"aria-label":v??t,children:[o.jsxs("div",{className:dt.header,children:[o.jsx("div",{className:dt.iconWrap,"aria-hidden":!0,style:N,children:I?o.jsx(I,{size:typeof s=="number"?s:void 0}):o.jsx(ofe,{})}),o.jsx("div",{className:dt.title,style:w,children:t})]}),o.jsx("div",{className:`${dt.items} ${x===void 0?dt.spaceEvenly:""}`,role:"list",style:x!==void 0?{gap:`${x}px`}:{},children:y.map((_,L)=>{const{valueStyle:j,labelStyle:S}=nfe(_,{defaultValueFontSize:l,defaultValueFontWeight:h,defaultLabelFontSize:u,defaultLabelFontWeight:p});return o.jsx("div",{className:dt.item,role:"listitem",style:{..._.background?{background:_.background}:{},..._.width?{width:jc(_.width)}:{}},children:o.jsxs("div",{className:dt.valueContainer,children:[o.jsx("div",{className:dt.value,style:j,children:_.value}),_.label&&o.jsx("div",{className:dt.label,style:S,children:_.label})]})},`${String(_.label??_.value)}-${L}`)})})]})}const ife=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"M480-360 280-559h400z"})),rfe=k.memo(ife),sfe=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"m280-400 200-201 200 201z"})),dfe=k.memo(sfe),lfe=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},ee.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"})),hfe=k.memo(lfe),ufe=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},ee.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"})),pfe=k.memo(ufe),yfe=({items:e,onSave:t,loading:n,disabled:c,saveLabel:i,savingLabel:r,buttonTitle:s,size:d=16,colors:l={bg:"#DADADA",activeBg:"var(--color-primary)",circle:"#FFFFFF",icon:"#1C1B1F",icon2:"#FFFFFF"},style:h,a11yConfig:u})=>{const[p,y]=k.useState(!1),[f,g]=k.useState(e),[m,x]=k.useState(!1);if(k.useEffect(()=>{x(!0)},[]),k.useEffect(()=>{g(e)},[e]),!m)return null;const M=(b,w)=>{w<4||g(N=>N.map(_=>_.component_key===b?{..._,visible:!_.visible}:_))},v=()=>{t(f),y(!1)},I=Y(u,s);return o.jsxs("div",{style:{position:"relative",display:"inline-block",...h},children:[o.jsxs("div",{onClick:()=>{c||y(!p)},style:{display:"flex",alignItems:"center",cursor:c?"not-allowed":"pointer",borderRadius:4,transition:"background 0.2s"},title:I,children:[o.jsx(i$,{width:d,height:d,fill:l?.icon||"currentColor",style:{transition:"color 0.2s"}}),p?o.jsx(dfe,{width:d,height:d,fill:l?.icon||"currentColor"}):o.jsx(rfe,{width:d,height:d,fill:l?.icon||"currentColor"})]}),p&&o.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:[o.jsx("ul",{style:{listStyle:"none",padding:0,margin:0},children:f.map((b,w)=>o.jsxs(k.Fragment,{children:[o.jsxs("li",{onClick:()=>M(b.component_key,w),style:{display:"flex",alignItems:"center",padding:"0.5rem",cursor:w<4?"not-allowed":"pointer",transition:"background 0.2s"},onMouseEnter:N=>{w>=4&&(N.currentTarget.style.background="#F9FAFB")},onMouseLeave:N=>{w>=4&&(N.currentTarget.style.background="transparent")},children:[o.jsx("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",marginRight:8,flexShrink:0},children:b.visible?o.jsx(hfe,{width:20,height:20,fill:l?.activeBg||"var(--color-primary, #008FBB)"}):o.jsx(pfe,{width:20,height:20,fill:"#D1D5DB"})}),o.jsx("span",{style:{fontSize:"14px",color:"#111827",fontWeight:400,userSelect:"none"},children:b.label})]}),w===3&&o.jsx("div",{style:{height:1,background:"#E5E7EB",margin:"4px 0"}})]},b.component_key))}),o.jsx("div",{style:{padding:"12px 16px 0 16px",display:"flex",justifyContent:"flex-end"},children:o.jsx("button",{type:"button",onClick:v,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})})]})]})},kfe="_container_zhny9_1",mfe="_card_zhny9_15",ffe="_footer_zhny9_33",gfe="_noPaddingMobile_zhny9_51",hi={container:kfe,card:mfe,footer:ffe,noPaddingMobile:gfe},vfe="_board_95t8m_1",xfe="_clickable_95t8m_21",Mfe="_sideBar_95t8m_26",_fe="_boardContent_95t8m_32",Lfe="_orange_95t8m_40",Ife="_red_95t8m_44",bfe="_green_95t8m_48",wfe="_grey_95t8m_52",Cfe="_lightGrey_95t8m_56",Nfe="_big_95t8m_61",Sfe="_medium_95t8m_66",jfe="_headerRow_95t8m_70",$fe="_iconWrapper_95t8m_75",qfe="_headerTitle_95t8m_80",Afe="_valueArea_95t8m_89",zfe="_titleWhite_95t8m_99",Vfe="_titleBlack_95t8m_103",Pfe="_valueWhite_95t8m_108",Tfe="_valueBlack_95t8m_112",Hfe="_valueBlue_95t8m_116",Dfe="_bars_95t8m_121",Bfe="_bar_95t8m_121",Rfe="_barDark_95t8m_135",Ffe="_barDim_95t8m_139",Efe="_predictionSection_95t8m_143",Ofe="_predictionHeader_95t8m_155",Ufe="_predictionBody_95t8m_162",Wfe="_hasPrediction_95t8m_170",Pe={board:vfe,clickable:xfe,sideBar:Mfe,boardContent:_fe,orange:Lfe,red:Ife,green:bfe,grey:wfe,lightGrey:Cfe,big:Nfe,medium:Sfe,headerRow:jfe,iconWrapper:$fe,headerTitle:qfe,valueArea:Afe,titleWhite:zfe,titleBlack:Vfe,valueWhite:Pfe,valueBlack:Tfe,valueBlue:Hfe,bars:Dfe,bar:Bfe,barDark:Rfe,barDim:Ffe,predictionSection:Efe,predictionHeader:Ofe,predictionBody:Ufe,hasPrediction:Wfe},Gfe=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${Pe.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${Pe.bar} ${r<c?"":e?Pe.barDark:Pe.barDim}`},r))})},xt=({a11yConfig:e,iconName:t,label:n,value:c,backgroundColor:i="green",bars:r,lightBars:s=5,size:d="big",valueScale:l,width:h,height:u,className:p="",style:y,titleColor:f="white",valueColor:g="white",titleFontSize:m,titleFontWeight:x,valueFontSize:M,valueFontWeight:v,barColor:I,justifyContent:b="space-between",alignItems:w="flex-start",cardGap:N="",onClick:_,iconColor:L,titleKey:j,predictionValue:S,predictionLabel:C})=>{const $=r!=="none",T=r==="endingDark",{padding:D,...z}=y||{},A=h===void 0&&u===void 0&&i===void 0&&Object.keys(z).length===0?void 0:{...h!==void 0?{width:h}:{},...u!==void 0?{height:u}:{},...i!==void 0?{backgroundColor:i}:{},...z},q=`${Pe.board} ${Pe[d]} ${S!==void 0?Pe.hasPrediction:""} ${p}`;return o.jsxs("div",{className:q,onClick:_,style:l!==void 0?{...A,"--ds-value-scale":l}:A,children:[I&&o.jsx("div",{className:Pe.sideBar,style:{backgroundColor:I}}),o.jsxs("div",{className:Pe.boardContent,style:{padding:D,gap:N},children:[o.jsxs("div",{className:Pe.headerRow,style:{justifyContent:b,alignItems:w},children:[t&&o.jsx("div",{className:Pe.iconWrapper,style:{color:L},children:t}),o.jsx("div",{className:`${Pe.headerTitle} header-title-data-board`,children:o.jsx("span",{title:Y(e,j),"aria-label":e?.description,style:{color:f,...m?{fontSize:m}:{},...x?{fontWeight:x}:{}},children:n})}),$?o.jsx(Gfe,{endingDark:T,lightCount:s}):null]}),o.jsx("div",{className:Pe.valueArea,style:{color:g,...M?{fontSize:M}:{},...v?{fontWeight:v}:{}},children:c})]}),S!==void 0&&o.jsxs("div",{className:Pe.predictionSection,children:[o.jsx("div",{className:Pe.predictionHeader,children:C??"PRED."}),o.jsx("div",{className:Pe.predictionBody,children:S})]})]})},Kfe="_wrapper_1ydle_10",Zfe="_hosp_1ydle_19",Xfe="_headerRow_1ydle_54",Yfe="_iconWrapper_1ydle_61",Jfe="_headerTitle_1ydle_67",Qfe="_hospValue_1ydle_76",e8e="_side_1ydle_88",t8e="_mini_1ydle_100",a8e="_miniLabel_1ydle_131",n8e="_miniValue_1ydle_140",o8e="_miniBars_1ydle_150",c8e="_bars_1ydle_155",i8e="_bar_1ydle_155",r8e="_barDark_1ydle_169",s8e="_barDim_1ydle_173",He={wrapper:Kfe,hosp:Zfe,headerRow:Xfe,iconWrapper:Yfe,headerTitle:Jfe,hospValue:Qfe,side:e8e,mini:t8e,miniLabel:a8e,miniValue:n8e,miniBars:o8e,bars:c8e,bar:i8e,barDark:r8e,barDim:s8e},d8e=({endingDark:e=!1,lightCount:t=5,className:n=""})=>{const c=Math.max(0,Math.min(5,Math.floor(t)));return o.jsx("div",{className:`${He.bars} ${n} bars-data-board`,children:Array.from({length:5}).map((i,r)=>o.jsx("span",{className:`${He.bar} ${r<c?"":e?He.barDark:He.barDim}`},r))})},wA=({left:e,right:t,className:n="",style:c,miniTilesCount:i=3})=>{const r=e.bars??"endingDark",s=r!=="none",d=r==="endingDark",l={...c,"--mini-tiles-count":i};return o.jsxs("div",{className:`${He.wrapper} ${n} data-four-boards`,style:l,children:[o.jsxs("div",{className:`${He.hosp} ${e.className||""}`,onClick:e.onClick,style:{...e.width?{width:e.width}:{},...e.height?{height:e.height}:{},...e.backgroundColor?{backgroundColor:e.backgroundColor}:{},...e.style||{}},title:Y(e.a11yConfig,e.titleKey),children:[o.jsxs("div",{className:He.headerRow,children:[o.jsxs("div",{className:`${He.iconWrapper} icon-wrapper-data-four-boards`,children:[e.iconName&&o.jsx("span",{style:{color:e.iconColor},children:e.iconName}),o.jsx("span",{className:He.headerTitle,style:{color:e.titleColor||"white",...e.titleFontSize?{fontSize:e.titleFontSize}:{},...e.titleFontWeight?{fontWeight:e.titleFontWeight}:{}},title:Y(e.a11yConfig,e.titleKey),children:e.label})]}),s?o.jsx(d8e,{endingDark:d,lightCount:e.lightBars??5}):null]}),o.jsx("div",{className:He.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})]}),o.jsx("div",{className:He.side,children:t.map((h,u)=>o.jsxs("div",{className:`${He.mini} ${h.className||""} icon-wrapper-data-four-boards`,onClick:h.onClick,style:{...h.width?{width:h.width}:{},...h.height?{height:h.height}:{},...h.backgroundColor?{backgroundColor:h.backgroundColor}:{},...h.style||{}},title:Y(h.a11yConfig,h.titleKey),children:[o.jsxs("span",{className:He.miniLabel,style:{color:h.titleColor||"white",textAlign:"right",textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap",...h.titleFontSize?{fontSize:h.titleFontSize}:{},...h.titleFontWeight?{fontWeight:h.titleFontWeight}:{}},title:Y(h.a11yConfig,h.titleKey),children:[h.iconName&&o.jsx("span",{style:{color:h.iconColor},children:h.iconName}),h.label]}),o.jsx("span",{className:`${He.miniValue} mini-value-data-four-boards`,style:{color:h.valueColor||"white",textAlign:"right",...h.valueScale!==void 0?{"--ds-value-scale":h.valueScale}:{},...h.valueFontSize?{fontSize:h.valueFontSize}:{},...h.valueFontWeight?{fontWeight:h.valueFontWeight}:{}},children:h.value}),o.jsx("div",{className:He.miniBars})]},h.id??`${h.label}-${u}`))})]})},l8e=({items:e,footerLabel:t,width:n,height:c,size:i=320,style:r,className:s="",backgroundColor:d,titleFontSize:l,titleFontWeight:h,valueFontSize:u,valueFontWeight:p,noPaddingLeftRight:y=!1,onItemClick:f})=>{const g={width:n??i,height:c,backgroundColor:d??"var(--ds-navy)",...r},m=e[0],x=e[1],M=e.slice(2,5);return o.jsxs("div",{style:g,className:`${hi.container} ${y?hi.noPaddingMobile:""} ${s}`,children:[o.jsxs("div",{className:hi.card,children:[m?o.jsx(xt,{a11yConfig:m.a11yConfig,label:m.label,value:m.value,backgroundColor:m.backgroundColor,bars:m.bars,lightBars:m.lightBars,size:m.size??"big",valueScale:m.valueScale,width:m.width,height:m.height,titleColor:"white",valueColor:"white",titleFontSize:m.titleFontSize??l,titleFontWeight:m.titleFontWeight??h,valueFontSize:m.valueFontSize??u,valueFontWeight:m.valueFontWeight??p,titleKey:m.titleKey,onClick:v=>f?.(0,v)}):null,x&&M.length>0?o.jsx(wA,{left:{a11yConfig:x.a11yConfig,id:x.id,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,valueScale:x.valueScale,width:x.width,height:x.height,titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,titleKey:x.titleKey,onClick:v=>f?.(1,v)},right:M.map((v,I)=>({a11yConfig:v.a11yConfig,id:v.id,label:v.label,value:v.value,backgroundColor:v.backgroundColor,bars:v.bars,lightBars:v.lightBars,valueScale:v.valueScale,width:v.width,height:v.height,titleFontSize:v.titleFontSize??l,titleFontWeight:v.titleFontWeight??h,valueFontSize:v.valueFontSize??u,valueFontWeight:v.valueFontWeight??p,titleKey:v.titleKey,onClick:b=>f?.(2+I,b)}))}):x&&M.length===0?o.jsx(xt,{a11yConfig:x.a11yConfig,label:x.label,value:x.value,backgroundColor:x.backgroundColor,bars:x.bars,lightBars:x.lightBars,size:x.size??"big",valueScale:x.valueScale,width:x.width,height:x.height,titleColor:"white",valueColor:"white",titleFontSize:x.titleFontSize??l,titleFontWeight:x.titleFontWeight??h,valueFontSize:x.valueFontSize??u,valueFontWeight:x.valueFontWeight??p,onClick:v=>f?.(1,v)}):null]}),t&&o.jsx("div",{className:hi.footer,children:t})]})},h8e=({x:e,y:t,width:n,payload:c,fontSize:i,fontWeight:r,stroke:s})=>o.jsx("g",{transform:`translate(${e},${t})`,children:o.jsx("foreignObject",{x:-n,y:-35,width:n,height:70,style:{overflow:"visible"},children:o.jsx("div",{style:{fontSize:i,fontWeight:r,color:s,lineHeight:"1.2",display:"flex",justifyContent:"flex-end",textAlign:"right",alignItems:"center",height:"100%",width:"100%",paddingRight:"8px",boxSizing:"border-box"},children:o.jsx("span",{style:{overflowWrap:"break-word",whiteSpace:"normal",display:"block",maxWidth:"100%"},children:c.value})})})}),u8e=({data:e,height:t=360,barColor:n="#0284C7",tooltipEnabled:c=!0,backgroundColor:i="transparent",legendTextColor:r="var(--color-text)",barHeight:s=40,yAxisWidth:d=120,fontSize:l="12px",fontWeight:h="400",domain:u,xAxisLabel:p,margin:y={top:20,right:60,bottom:40,left:0},valueFormatter:f,tickFormatter:g,labelDataKey:m="percentage",isAnimationActive:x=!0})=>{const M=(y.top??20)+(y.bottom??40)+e.length*(s+20),v=Math.max(M,t),I=k.useMemo(()=>{if(!e||e.length===0)return d;const L=(parseFloat(l)||12)*.7,S=Math.max(...e.map(C=>(C.label||"").length))*L+16;return Math.min(Math.max(S,40),d)},[e,l,d]),b=_=>g?g(_):_?.toString()||"",w=_=>f&&m==="value"?f(_):_==null||_===""?"":m==="percentage"?`${_}%`:_.toString(),N=(_,L,j)=>{if(typeof _!="number")return _;const S=f?f(_):_.toString(),C=j?.payload?.percentage;return typeof C=="number"&&Number.isFinite(C)&&m==="percentage"?`${S} (${C.toFixed(1)}%)`:S};return o.jsx("div",{style:{backgroundColor:i,width:"100%"},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:v,children:o.jsxs(a.BarChart,{data:e,layout:"vertical",margin:y,children:[o.jsx(a.CartesianGrid,{opacity:.4,stroke:"#E5E7EB",vertical:!1,horizontal:!0}),o.jsx(a.XAxis,{type:"number",domain:u||[0,"auto"],axisLine:!1,tickLine:!1,fontSize:l,fontWeight:h,stroke:r,tickFormatter:b,label:p?{value:p,position:"insideBottom",offset:-10,style:{textAnchor:"middle",fill:r,fontSize:12,fontWeight:"500"}}:void 0}),o.jsx(a.YAxis,{type:"category",dataKey:"label",stroke:r,axisLine:!1,tickLine:!1,width:I,interval:0,fontSize:l,fontWeight:h,tick:o.jsx(h8e,{fontSize:l,fontWeight:h,stroke:r})}),c&&o.jsx(a.Tooltip,{formatter:N,labelStyle:{color:"var(--color-text)"}}),o.jsx(a.Bar,{dataKey:"value",fill:n,radius:0,barSize:s,isAnimationActive:x,children:o.jsx(a.LabelList,{dataKey:m,position:"right",offset:10,formatter:w,fill:r,fontSize:l,fontWeight:h})})]})})})},p8e="_menu_10i6j_1",y8e="_menuRow_10i6j_18",k8e="_separator_10i6j_33",m8e="_rowLabel_10i6j_39",f8e="_rowLeadingIcon_10i6j_47",g8e="_rowIcon_10i6j_54",Wc={menu:p8e,menuRow:y8e,separator:k8e,rowLabel:m8e,rowLeadingIcon:f8e,rowIcon:g8e},v8e=k.forwardRef(function({isVisible:t,onClose:n,items:c,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 o.jsx("div",{ref:h,role:"menu",className:Wc.menu,style:p,children:c.map(y=>{if(y.type==="separator")return o.jsx("hr",{className:Wc.separator},y.id);const f=y,g=f.color?{color:f.color}:{},m=f.closeOnClick!==!1;return o.jsxs("button",{role:"menuitem",className:Wc.menuRow,style:g,onClick:()=>{f.onClick?.(),m&&n?.()},children:[o.jsxs("span",{className:Wc.rowLabel,children:[f.leadingIcon&&o.jsx("span",{className:Wc.rowLeadingIcon,children:f.leadingIcon}),o.jsx("span",{children:f.label})]}),f.icon&&o.jsx("span",{className:Wc.rowIcon,children:f.icon})]},f.id)})})}),CA=({user:e,logoutHref:t,logoutTarget:n="_self",onLogout:c,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:g="12px",roleFontWeight:m,avatarColor:x="#5b8fb9",backgroundColorAvatar:M="#f1f4f5",dropdownMenuItems:v,dropdownMenuStyle:I,dropdownMenuOffset:b,statusDotColor:w,a11yConfig:N,style:_,className:L=""})=>{const{user:j}=mt(),S=e||j,{currentTheme:C,switchTheme:$}=bL(),T=k.useRef(null),D=k.useRef(null),[z,A]=k.useState(!1),[q,B]=k.useState({}),R=k.useMemo(()=>{const ae=[],ne=({variant:pe})=>pe==="sun"?o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("circle",{cx:"12",cy:"12",r:"4"})}):o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})});i&&(ae.push({id:"profile",type:"action",label:"Mon profil",onClick:()=>{typeof window>"u"||(r==="_blank"?window.open(i,"_blank","noopener,noreferrer"):window.location.assign(i))}}),ae.push({id:"sep-profile",type:"separator"}));const le=C==="dark";return ae.push({id:"theme",type:"action",label:le?"Mode clair":"Mode sombre",icon:o.jsx(ne,{variant:le?"sun":"moon"}),onClick:()=>{$(le?"light":"dark")}}),(t||c)&&(ae.push({id:"sep-theme",type:"separator"}),ae.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}c?.()}})),ae},[C,t,n,c,i,r,$]),V=v??R,U=()=>{if(!T.current){A(ae=>!ae);return}if(!z){const ae=T.current.getBoundingClientRect(),ne=window.innerWidth,le=window.innerHeight,pe=200,me=200,W=4,X=b?.x??0,se=b?.y??0,Be=ne-ae.right>=pe+W;B(Be?{top:ae.bottom-me+se,left:ae.right+W+X}:{bottom:le-ae.top+se,left:ae.left+X})}A(ae=>!ae)};if(k.useEffect(()=>{if(!z||!T.current)return;const ae=()=>{const ne=T.current.getBoundingClientRect(),le=window.innerWidth,pe=window.innerHeight,me=200,W=200,X=4,se=b?.x??0,je=b?.y??0,ge=le-ne.right>=me+X;B(ge?{top:ne.bottom-W+je,left:ne.right+X+se}:{bottom:pe-ne.top+je,left:ne.left+se})};return window.addEventListener("resize",ae),window.addEventListener("orientationchange",ae),()=>{window.removeEventListener("resize",ae),window.removeEventListener("orientationchange",ae)}},[z,b]),k.useEffect(()=>{if(!z||!T.current||!D.current)return;const ae=()=>{const le=T.current.getBoundingClientRect(),pe=D.current.getBoundingClientRect(),me=b?.x??0,W=b?.y??0;B(X=>X.left!==void 0&&X.top!==void 0&&X.left>=le.right-1?{top:le.bottom-pe.height+W,left:X.left+me}:X)},ne=requestAnimationFrame(()=>{setTimeout(ae,0)});return()=>cancelAnimationFrame(ne)},[z,b]),!S)return null;const te=S,F=parseInt(h,10)||40,O=`${F*.375}px`,ie=`${F*1.375}px`,ce=`${F*.2}px`,xe=`${F*.6}px`,re=()=>{const ae=parseInt(h,10)||40,ne=Math.max(8,ae*.34375),le=Math.max(2,ae*.05);return o.jsxs(o.Fragment,{children:[o.jsxs("div",{style:{position:"relative",flexShrink:0,userSelect:"none"},children:[te.image?o.jsx("img",{src:te.image,alt:`${te.prenom} ${te.nom}`,style:{width:h,height:h,borderRadius:"50%",objectFit:"cover",userSelect:"none"}}):o.jsxs("div",{style:{width:h,height:h,position:"relative",borderRadius:"50%",backgroundColor:M,overflow:"hidden",userSelect:"none"},children:[o.jsx("div",{style:{width:O,height:O,borderRadius:"50%",backgroundColor:x,position:"absolute",top:ce,left:"50%",transform:"translateX(-50%)",zIndex:2,userSelect:"none"}}),o.jsx("div",{style:{width:ie,height:ie,borderRadius:"50%",backgroundColor:x,position:"absolute",top:xe,left:"50%",transform:"translateX(-50%)",zIndex:1,userSelect:"none"}})]}),w&&o.jsx("div",{style:{position:"absolute",bottom:le,right:le,width:`${ne}px`,height:`${ne}px`,borderRadius:"50%",backgroundColor:w,border:"2px solid white",zIndex:10}})]}),o.jsxs("div",{style:{display:"flex",flexDirection:"column",minWidth:0,flex:1},children:[o.jsx("span",{style:{fontWeight:f,fontSize:y,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:te.email,children:te.email}),o.jsx("span",{style:{color:l,fontSize:g,fontWeight:m,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},title:te.role,children:te.role})]})]})};return o.jsxs(o.Fragment,{children:[o.jsx("div",{ref:T,className:`user-info ${L}`,style:{display:"flex",alignItems:"center",justifyContent:"space-between",padding:u,backgroundColor:s,gap:p,color:d,width:"100%",boxSizing:"border-box",cursor:"pointer",userSelect:"none",..._},onClick:U,title:Y(N,te.role),role:"button",tabIndex:0,children:o.jsx("div",{style:{display:"flex",alignItems:"center",gap:p,flex:1,minWidth:0},children:o.jsx(re,{})})}),o.jsx(v8e,{ref:D,isVisible:z,onClose:()=>A(!1),items:V,style:I,position:q})]})},x8e="_navItem_16uqf_1",M8e="_label_16uqf_14",_8e="_icon_16uqf_26",m1={navItem:x8e,label:M8e,icon:_8e},sC=({label:e,labelKey:t,onClick:n,href:c,isActive:i,icon:r,style:s,className:d="",highlightColor:l="#00aec7",color:h="#333",activeColor:u="#00aec7",highlightBackgroundColor:p="rgba(0, 0, 0, 0.05)",fontSize:y="15px",fontWeight:f="500",sidebarCollapsed:g=!1,padding:m="10px 16px",borderWidth:x="4px",iconGap:M="12px",disabled:v=!1,disabledColor:I,a11yConfig:b})=>{const w=()=>{v||n?.()},N=o.jsxs(o.Fragment,{children:[r&&o.jsx("span",{className:m1.icon,style:{marginRight:g?0:M},children:r}),!g&&o.jsx("span",{className:m1.label,children:e})]}),_=()=>{if(!i)return"transparent";const j=S=>{const C=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(S);return C?{r:parseInt(C[1],16),g:parseInt(C[2],16),b:parseInt(C[3],16)}:null};if(l.startsWith("#")){const S=j(l);if(S)return`rgba(${S.r}, ${S.g}, ${S.b}, 0.08)`}else if(l.startsWith("rgb")){const S=l.match(/\d+/g);if(S&&S.length>=3)return`rgba(${S[0]}, ${S[1]}, ${S[2]}, 0.08)`}return p},L={onClick:w,className:`${m1.navItem} ${i?m1.active:""} ${d} ${v?m1.disabled:""}`,style:{padding:m,color:i?u:v?I||"#999":h,borderLeft:i?`${x} solid ${l}`:`${x} solid transparent`,backgroundColor:_(),fontSize:y,fontWeight:f,cursor:v?"not-allowed":"pointer",textDecoration:"none",...s},"aria-disabled":v};return c&&!n&&!v?o.jsx("a",{href:c,...L,title:Y(b,t),children:N}):o.jsx("div",{...L,role:n?"button":void 0,tabIndex:n&&!v?0:void 0,title:Y(b,t),children:N})},L8e="_navbar_y5tex_1",I8e="_topSection_y5tex_9",b8e="_logoContainer_y5tex_14",w8e="_collapseToggle_y5tex_20",C8e="_collapsedRail_y5tex_37",N8e="_collapsedToggle_y5tex_44",S8e="_sectionsContainer_y5tex_67",j8e="_sectionTitle_y5tex_73",$8e="_sectionItems_y5tex_78",q8e="_bottomSection_y5tex_83",A8e="_versionContainer_y5tex_102",Je={navbar:L8e,topSection:I8e,logoContainer:b8e,collapseToggle:w8e,collapsedRail:C8e,collapsedToggle:N8e,sectionsContainer:S8e,sectionTitle:j8e,sectionItems:$8e,bottomSection:q8e,versionContainer:A8e},z8e=({logoProps:e,logoSpacing:t,navItems:n,padding:c="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:g="12px",navItemFontSize:m="15px",navItemFontWeight:x="500",navItemColor:M,sectionTitlePadding:v="16px",sectionTitleFontSize:I="11px",sectionTitleColor:b="#999",sectionTitleWeight:w="500",versionFontSize:N="12px",versionFontWeight:_="400",versionColor:L="#999",userInfoProps:j,style:S,className:C="",width:$="280px",showLogo:T=!0,versionA11yConfig:D,displayNone:z=!1,showCollapseToggle:A=!1,collapsed:q=!1,onCollapseToggle:B,collapseToggleLabel:R="Toggle sidebar",collapseToggleIconPath:V="/icon/dock_to_left.svg"})=>{const U=mt(),te=U.activeNav,F=U.setActiveNav,O=U.user,ie=j.user||O;return A&&q?o.jsx("div",{className:`${Je.collapsedRail} ${C}`,style:{display:z?"none":"flex"},children:o.jsx("button",{type:"button",className:Je.collapsedToggle,onClick:B,"aria-label":R,children:o.jsx(vw,{path:V,width:18,height:18})})}):o.jsxs("div",{className:`${Je.navbar} ${C}`,style:{width:$,backgroundColor:s,padding:c,display:z?"none":"flex",...S},children:[o.jsxs("div",{className:Je.topSection,style:{gap:t},children:[T&&o.jsxs("div",{className:Je.logoContainer,children:[o.jsx(IL,{...e}),A&&o.jsx("button",{type:"button",className:Je.collapseToggle,onClick:B,"aria-label":R,children:o.jsx(vw,{path:V,width:20,height:20})})]}),o.jsx("div",{className:Je.sectionsContainer,style:{gap:i},children:n.map((ce,xe)=>o.jsxs("div",{className:Je.section,children:[ce.title&&o.jsx("div",{className:Je.sectionTitle,title:Y(ce.a11yConfig,ce.titleKey),style:{fontSize:I,color:b,padding:v,fontWeight:w,border:"4px solid transparent",...u},children:ce.title}),o.jsx("div",{className:Je.sectionItems,style:{gap:r},children:ce.items.map(re=>o.jsx(sC,{...re,isActive:re.isActive===null?re.isActive:te===re.id,onClick:()=>{re.onClick&&re.onClick(),re.isActive==null&&F(re.id)},highlightColor:d,activeColor:d,highlightBackgroundColor:l,padding:y,borderWidth:f,iconGap:g,fontSize:m,fontWeight:x,color:M,style:p},re.id))})]},xe))})]}),o.jsxs("div",{className:Je.bottomSection,style:{gap:t},children:[o.jsx(CA,{...j,user:ie}),h&&o.jsx("div",{className:Je.versionContainer,title:Y(D,h),style:{fontSize:N,fontWeight:_,color:L},children:h})]})]})},V8e="_container_4qege_1",P8e="_titleContainer_4qege_10",T8e="_title_4qege_10",H8e="_inlineToggleContainer_4qege_24",D8e="_rightContentContainer_4qege_30",f1={container:V8e,titleContainer:P8e,title:T8e,inlineToggleContainer:H8e,rightContentContainer:D8e},B8e=({className:e="",style:t,fontSize:n="20px",fontWeight:c="bold",color:i="#000",padding:r="0",margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,navItems:y,allNavItems:f,formatTitle:g=M=>M,rightContent:m,inlineToggle:x})=>{const{activeNav:M}=mt(),v=y.find(b=>b.id===M)||f?.find(b=>b.id===M),I=v?g(v.label):M||"";return I?o.jsxs("div",{className:`${f1.container} ${e}`,style:{padding:r,margin:s,backgroundColor:d,width:l,height:h,border:u,borderRadius:p,...t},children:[o.jsxs("div",{className:f1.titleContainer,children:[o.jsx("div",{className:f1.title,style:{fontSize:n,fontWeight:c,color:i},children:I}),x&&o.jsx("div",{className:f1.inlineToggleContainer,children:x})]}),m&&o.jsx("div",{className:f1.rightContentContainer,children:m})]}):null},R8e="_navItem_1hg26_1",F8e="_navItemIcon_1hg26_21",E8e="_navItemLabel_1hg26_29",O8e="_navItemCount_1hg26_36",U8e="_navItemIndicator_1hg26_49",g1={navItem:R8e,navItemIcon:F8e,navItemLabel:E8e,navItemCount:O8e,navItemIndicator:U8e},NA=({a11yConfig:e,label:t,isActive:n,onClick:c,href:i,labelKey:r,icon:s,count:d,activeColor:l="#00aec7",inactiveColor:h="#666",activeBackgroundColor:u="transparent",countBackgroundColor:p,countColor:y="#fff",countBorderRadius:f="10px",countPadding:g="2px 6px",countFontSize:m="12px",countFontWeight:x="500",indicatorColor:M="#00aec7",indicatorHeight:v="3px",padding:I="8px 4px",fontSize:b="14px",fontWeight:w="500",gap:N="8px",style:_,className:L="",disabled:j=!1,onNavigate:S})=>{const C=()=>{j||(c?.(),i&&(S?S(i):window.location.href=i))};return o.jsxs("div",{className:`${g1.navItem} ${L}`,onClick:C,title:Y(e,r),style:{gap:N,padding:I,color:n?l:h,backgroundColor:n?u:"transparent",fontSize:b,fontWeight:w,..._},children:[s&&o.jsx("span",{className:g1.navItemIcon,children:s}),o.jsx("span",{className:g1.navItemLabel,children:t}),d!==void 0&&o.jsx("span",{className:g1.navItemCount,style:{backgroundColor:p,color:y,borderRadius:f,padding:g,fontSize:m,fontWeight:x},children:d}),n&&!j&&o.jsx("div",{className:g1.navItemIndicator,style:{height:v,backgroundColor:M}})]})},W8e="_container_13hsa_1",G8e="_groupHeader_13hsa_8",K8e="_groupHeaderLeft_13hsa_18",Z8e="_groupIcon_13hsa_23",X8e="_dropdown_13hsa_29",Y8e="_item_13hsa_42",J8e="_itemIcon_13hsa_65",Q8e="_chevron_13hsa_72",ege="_chevronOpen_13hsa_79",ft={container:W8e,groupHeader:G8e,groupHeaderLeft:K8e,groupIcon:Z8e,dropdown:X8e,item:Y8e,itemIcon:J8e,chevron:Q8e,chevronOpen:ege},tge=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"M480-344 240-584l43-43 197 197 197-197 43 43z"})),R1=k.memo(tge),SA=({groups:e,activeItemId:t,onItemClick:n,style:c,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:g="var(--color-primary)",itemActiveBorderColor:m="var(--color-primary)",itemDividerColor:x="var(--color-border)",iconColor:M="#555555",activeIconColor:v="var(--color-primary)",headerIconColor:I="var(--color-text)",chevronColor:b="var(--color-text)",iconSize:w=22,headerPadding:N="14px 20px",itemPadding:_="14px 20px",iconGap:L=14,borderRadius:j=0})=>{const[S,C]=k.useState(""),$=k.useRef(null);k.useEffect(()=>{const D=z=>{$.current&&!$.current.contains(z.target)&&C("")};return document.addEventListener("mousedown",D),()=>document.removeEventListener("mousedown",D)},[]);const T={backgroundColor:r,color:s,borderRadius:j,...c};return o.jsx("nav",{ref:$,className:[ft.container,i].filter(Boolean).join(" "),style:T,children:e.map(D=>{const z=S===D.id,A={backgroundColor:d,color:l,padding:N,borderBottom:`1px solid ${h}`,gap:L},q={backgroundColor:u};return o.jsxs("div",{children:[o.jsxs("div",{className:ft.groupHeader,style:A,onClick:()=>C(z?"":D.id),role:"button","aria-expanded":z,children:[o.jsxs("div",{className:ft.groupHeaderLeft,style:{gap:L},children:[D.icon&&o.jsx("span",{className:ft.groupIcon,style:{color:I,width:w,height:w},children:D.icon}),o.jsx("span",{children:D.label})]}),o.jsx("span",{className:[ft.chevron,z?ft.chevronOpen:""].join(" "),style:{color:b},children:o.jsx(R1,{width:18,height:18})})]}),z&&o.jsx("div",{className:ft.dropdown,style:q,children:D.items.map(B=>{const R=B.id===t,V={padding:_,gap:L,color:R?g:f,backgroundColor:p,"--item-border-width":R?"4px":"1px","--item-border-color":R?m:x};return o.jsxs("div",{className:ft.item,style:V,onClick:()=>{n?.(D.id,B.id),C("")},role:"menuitem",onMouseEnter:U=>{R||(U.currentTarget.style.backgroundColor=y)},children:[B.icon&&o.jsx("span",{className:ft.itemIcon,style:{color:R?v:M,width:w,height:w},children:B.icon}),o.jsx("span",{children:B.label})]},B.id)})})]},D.id)})})},age="_subheaderContent_1glo8_1",nge="_navContainer_1glo8_11",oge="_rightContent_1glo8_45",Ub={subheaderContent:age,navContainer:nge,rightContent:oge},cge=({subNavItems:e,backgroundColor:t="transparent",padding:n="0",margin:c,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:g="#5c6975",indicatorHeight:m="3px",showDraggable:x=!1,showLegend:M=!1,showData:v=!1,className:I="",style:b,countBackgroundColor:w,countColor:N,countBorderRadius:_,countPadding:L,countFontSize:j,countFontWeight:S,navContainerClassName:C,navContainerStyle:$,rightContentClassName:T,rightContentStyle:D,rightActions:z,activeSwitcherColor:A,inactiveSwitcherColor:q,isMobile:B=!1,onNavigate:R})=>{const{activeSubNav:V,setActiveSubNav:U,navCounts:te,activeNav:F}=mt();if(B){const O=e.find(ce=>ce.id===V)||e[0],ie=[{id:"current-group",label:O?.label||F?.toUpperCase()||"MENU",icon:O?.icon,items:e.map(ce=>({id:ce.id,label:ce.label,icon:ce.icon}))}];return o.jsx("div",{className:I,style:b,children:o.jsx(SA,{groups:ie,activeItemId:V,onItemClick:(ce,xe)=>{const re=e.find(ae=>ae.id===xe);re&&(re.onClick&&re.onClick(),re.href&&(R?R(re.href):re.onNavigate?re.onNavigate(re.href):window.location.href=re.href),U(xe))},headerBgColor:t})})}return o.jsxs("div",{className:`${Ub.subheaderContent} ${I}`,style:{backgroundColor:t,padding:n,margin:c,width:i,height:r,border:s,borderBottom:d,...b},children:[o.jsx("div",{className:`${Ub.navContainer} ${C||""}`,style:{gap:l,...$},children:e.map(O=>{const ie=O.count!==void 0?O.count:te[O.id],ce=V===O.id||O.isActive;return o.jsx(NA,{...O,onNavigate:R||O.onNavigate,count:ie,isActive:ce,onClick:()=>{O.onClick&&O.onClick(),U(O.id)},activeColor:f,inactiveColor:g,countBackgroundColor:w,countColor:N,countBorderRadius:_,countPadding:L,countFontSize:j,countFontWeight:S,indicatorColor:f,indicatorHeight:m,padding:u,fontSize:p,fontWeight:y,gap:"8px",style:O.style},O.id)})}),o.jsxs("div",{className:`${Ub.rightContent} ${T||""}`,style:{gap:h,...D},children:[x&&o.jsx(pL,{size:20,colors:{bg:A,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),M&&o.jsx(yL,{size:20,colors:{bg:A,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),v&&o.jsx(kL,{size:20,colors:{bg:A,activeBg:q,icon:"#1C1B1F",icon2:"#FFFFFF"}}),z]})]})},ige=({onSwitch:e,size:t="20px",lightIconColor:n="#666",darkIconColor:c="#fff",backgroundColor:i="transparent",padding:r="8px",borderRadius:s="50%",style:d,className:l=""})=>{const[h,u]=k.useState(!1),{currentTheme:p,switchTheme:y}=bL(),f=p!="dark",g=()=>{y(f?"dark":"light"),e?.()};return k.useEffect(()=>{u(!0)},[]),!h||!p?o.jsx(o.Fragment,{}):o.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:f?o.jsx("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"})}):o.jsxs("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",stroke:c,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[o.jsx("circle",{cx:"12",cy:"12",r:"5"}),o.jsx("line",{x1:"12",y1:"1",x2:"12",y2:"3"}),o.jsx("line",{x1:"12",y1:"21",x2:"12",y2:"23"}),o.jsx("line",{x1:"4.22",y1:"4.22",x2:"5.64",y2:"5.64"}),o.jsx("line",{x1:"18.36",y1:"18.36",x2:"19.78",y2:"19.78"}),o.jsx("line",{x1:"1",y1:"12",x2:"3",y2:"12"}),o.jsx("line",{x1:"21",y1:"12",x2:"23",y2:"12"}),o.jsx("line",{x1:"4.22",y1:"19.78",x2:"5.64",y2:"18.36"}),o.jsx("line",{x1:"18.36",y1:"5.64",x2:"19.78",y2:"4.22"})]})})},rge=({initialSortBy:e=null,initialSortOrder:t="asc",onSortChange:n})=>{const[c,i]=k.useState({sortBy:e,sortOrder:t,filters:{}}),r=k.useCallback(s=>{let d="asc";c.sortBy===s&&(d=c.sortOrder==="asc"?"desc":"asc");const l={...c,sortBy:s,sortOrder:d};i(l),n(s,d)},[c,n]);return{tableState:c,handleSort:r}},sge=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"M440-800v487L216-537l-56 57 320 320 320-320-56-57-224 224v-487z"})),dge=k.memo(sge),lge=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"#FFF",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"M440-160v-487L216-423l-56-57 320-320 320 320-56 57-224-224v487z"})),hge=k.memo(lge),uge=({columns:e,sortBy:t,sortOrder:n,onSort:c,removeLabelSpan:i=!1})=>o.jsx("thead",{children:o.jsx("tr",{children:e.map((r,s)=>{const d=t===r.key,l=!!r.sortable;return o.jsx("th",{className:`${r.className||""}${l?" sortable":""}`,style:{width:r.width,textAlign:r.align||"left"},onClick:()=>l&&c(String(r.key)),title:Y(r.a11yConfig,r.titleKey),children:o.jsxs("div",{className:`th-content ${r.align?`align-${r.align}`:""}`,children:[i?r.label:o.jsx("span",{children:r.label}),l&&o.jsx("span",{className:"sort-icon-container",style:{display:"inline-flex",alignItems:"center"},children:d&&n==="asc"?o.jsx(hge,{width:16,height:16,style:{fill:"currentColor",transition:"all 0.2s ease"}}):o.jsx(dge,{width:16,height:16,style:{fill:"currentColor",opacity:d?1:.5,transition:"all 0.2s ease"}})})]})},String(r.key)||s)})})}),pge=({data:e,columns:t,rowKey:n,onRowClick:c,isLoading:i,text:r,rowStyle:s,rowClassName:d,renderSeparator:l})=>!e.length&&!i?o.jsx("tbody",{children:o.jsx("tr",{children:o.jsx("td",{colSpan:t.length,style:{textAlign:"center",padding:"32px"},children:o.jsx("span",{style:{color:"var(--table-text-muted)"},children:r?.noData||"Aucune donnée disponible"})})})}):o.jsx("tbody",{children:e.map((h,u)=>{const p=h[n],y=typeof p=="string"||typeof p=="number"?p:u,f=l?l(h):null;return o.jsx("tr",{onClick:()=>c&&c(h),style:{cursor:c?"pointer":"default",...s?s(h):{}},className:d?d(h,u):"",children:f?o.jsx("td",{colSpan:t.length,children:f}):t.map((g,m)=>o.jsx("td",{style:{width:g.width,textAlign:g.align||"left"},className:g.className,children:g.render?g.render(h):h[g.key]},`${String(g.key)}-${m}`))},y)})}),yge=({state:e,onPaginationChange:t,onLoadMore:n,infiniteScroll:c,hasMore:i,text:r,isLoading:s,pageSizeOptions:d})=>{const{page:l,pageSize:h,total:u}=e,p=h===-1?u:h,y=Math.ceil(u/p)||1,f=Math.min(Math.max(1,l),y),g=u===0?0:(f-1)*p+1,m=Math.min(f*p,u),x=b=>{t({page:b})},M=k.useMemo(()=>{if(y<=6)return Array.from({length:y},($,T)=>T+1);const N=Math.max(f-1,1),_=Math.min(f+1,y),L=N>2,j=_<y-2,S=1,C=y;if(!L&&j)return[...Array.from({length:5},(D,z)=>z+1),"...",y];if(L&&!j){const T=Array.from({length:5},(D,z)=>y-5+z+1);return[S,"...",...T]}if(L&&j){const $=Array.from({length:_-N+1},(T,D)=>N+D);return[S,"...",...$,"...",C]}return[]},[f,y]),v=!!(d&&d.length>0),I=!c&&h!==-1&&y>1&&o.jsxs("div",{className:"pagination-controls",children:[o.jsx("button",{className:"pagination-btn",onClick:()=>x(1),disabled:f===1,title:r?.first||"Premier",children:"<<"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f-1),disabled:f===1,title:r?.previous||"Précédent",children:"<"}),(M||[]).map((b,w)=>b==="..."?o.jsx("span",{style:{padding:"0 4px",color:"var(--table-text-muted)"},children:"..."},w):o.jsx("button",{className:`pagination-btn ${b===f?"active":""}`,onClick:()=>x(b),children:b},w)),o.jsx("button",{className:"pagination-btn",onClick:()=>x(f+1),disabled:f===y,title:r?.next||"Suivant",children:">"}),o.jsx("button",{className:"pagination-btn",onClick:()=>x(y),disabled:f===y,title:r?.last||"Dernier",children:">>"})]});return o.jsxs("div",{className:"table-pagination",children:[o.jsx("div",{className:"pagination-summary",children:u>0?o.jsx("span",{children:r?.itemsRange?r.itemsRange(g,m,u):o.jsxs(o.Fragment,{children:[o.jsxs("b",{children:[g,"–",m]})," ",r?.of||"sur"," ",o.jsx("b",{children:u.toLocaleString()})," ",r?.items||"éléments"]})}):o.jsx("span",{children:r?.noResults||"0 résultats"})}),v?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-center",children:I}),o.jsxs("div",{className:"pagination-pagesize",children:[o.jsx("label",{htmlFor:"table-pagination-pagesize",children:r?.perPage||"Par page"}),o.jsx("select",{id:"table-pagination-pagesize",value:h,onChange:b=>t({pageSize:Number(b.target.value),page:1}),children:(d||[]).map(b=>o.jsx("option",{value:b,children:b},b))})]})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:"pagination-spacer"}),I]}),!c&&n&&i&&o.jsx("div",{className:"pagination-load-more",children:o.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"})})]})},jA=({data:e,columns:t,isLoading:n,pagination:c,onPaginationChange:i,onSortChange:r,rowKey:s,loaderSize:d=40,stickyHeader:l=!0,height:h,minHeight:u="200px",text:p,onLoadMore:y,infiniteScroll:f,hasMore:g,tableState:m,className:x,style:M,rowStyle:v,onRowClick:I,rowClassName:b,titleKey:w,removeLabelSpan:N=!1,a11yConfig:_,renderSeparator:L,pageSizeOptions:j})=>{const S=k.useMemo(()=>({...p}),[p]),C=k.useRef(null);k.useEffect(()=>{if(!f||!y||!g||n)return;const q=new IntersectionObserver(B=>{B[0].isIntersecting&&y()},{threshold:.1});return C.current&&q.observe(C.current),()=>q.disconnect()},[f,y,g,n]);const{tableState:$,handleSort:T}=rge({initialSortBy:null,onSortChange:r}),D=(m?.sortBy!==void 0?m.sortBy:$.sortBy)??void 0,z=m?.sortOrder!==void 0?m.sortOrder:$.sortOrder,A=q=>{const B=D,R=z;let V="asc";B===q&&(V=R==="asc"?"desc":"asc"),m?.sortBy!==void 0?r(q,V):T(q)};return o.jsxs("div",{className:`table-container ${x||""}`,style:M,title:Y(_,w),children:[o.jsxs("div",{className:"table-frame",style:{height:h??void 0,minHeight:u??void 0},children:[n&&o.jsx("div",{className:"table-loader-overlay",children:o.jsx("div",{className:"spinner",style:{width:d,height:d,borderTopColor:"var(--table-primary)"}})}),o.jsxs("div",{className:`table-wrapper ${l?"sticky-header":""}`,children:[o.jsxs("table",{className:"data-table",children:[o.jsx(uge,{columns:t,sortBy:D,sortOrder:z,onSort:A,removeLabelSpan:N}),o.jsx(pge,{data:e,columns:t.map(q=>({...q,render:q.render?B=>q.render(B,{}):void 0})),rowKey:s,onRowClick:I,isLoading:n,text:S,rowStyle:typeof v=="function"?v:v?()=>v:void 0,rowClassName:b,renderSeparator:L})]}),f&&o.jsx("div",{ref:C,style:{height:20,margin:10}})]})]}),o.jsx(yge,{state:c,onPaginationChange:i,text:S,onLoadMore:y,infiniteScroll:f,hasMore:g,isLoading:n,pageSizeOptions:j})]})},kge="_datePickerContainer_1gx2l_3",mge="_label_1gx2l_16",fge="_displayNode_1gx2l_23",gge="_datePickerButton_1gx2l_30",vge="_datePickerButtonDisabled_1gx2l_50",xge="_datePickerButtonOpen_1gx2l_59",Mge="_datePickerLabel_1gx2l_68",_ge="_placeholder_1gx2l_79",Lge="_trailingIcons_1gx2l_83",Ige="_chevron_1gx2l_89",bge="_clearButton_1gx2l_97",wge="_errorMessage_1gx2l_114",Cge="_dropdown_1gx2l_119",Nge="_calendarHeader_1gx2l_143",Sge="_navButton_1gx2l_152",jge="_headerSelectors_1gx2l_171",$ge="_monthSelector_1gx2l_179",qge="_yearSelector_1gx2l_180",Age="_selectorButton_1gx2l_184",zge="_selectorChevron_1gx2l_201",Vge="_selectorChevronOpen_1gx2l_206",Pge="_monthDropdown_1gx2l_210",Tge="_yearDropdown_1gx2l_211",Hge="_monthItem_1gx2l_231",Dge="_yearItem_1gx2l_232",Bge="_monthItemSelected_1gx2l_254",Rge="_yearItemSelected_1gx2l_255",Fge="_weekdays_1gx2l_259",Ege="_weekday_1gx2l_259",Oge="_calendarGrid_1gx2l_275",Uge="_dateCell_1gx2l_284",Wge="_dateCellSelected_1gx2l_307",Gge="_dateCellOtherMonth_1gx2l_311",Kge="_dateCellOtherMonthSelected_1gx2l_315",Zge="_calendarFooter_1gx2l_319",Xge="_cancelButton_1gx2l_327",Yge="_applyButton_1gx2l_328",Jge="_timePickerContainer_1gx2l_372",Qge="_timeGroup_1gx2l_381",e7e="_timeLabel_1gx2l_388",t7e="_timeInputWrapper_1gx2l_394",a7e="_timeInput_1gx2l_394",n7e="_timeSeparator_1gx2l_422",Z={datePickerContainer:kge,label:mge,displayNode:fge,datePickerButton:gge,datePickerButtonDisabled:vge,datePickerButtonOpen:xge,datePickerLabel:Mge,placeholder:_ge,trailingIcons:Lge,chevron:Ige,clearButton:bge,errorMessage:wge,dropdown:Cge,calendarHeader:Nge,navButton:Sge,headerSelectors:jge,monthSelector:$ge,yearSelector:qge,selectorButton:Age,selectorChevron:zge,selectorChevronOpen:Vge,monthDropdown:Pge,yearDropdown:Tge,monthItem:Hge,yearItem:Dge,monthItemSelected:Bge,yearItemSelected:Rge,weekdays:Fge,weekday:Ege,calendarGrid:Oge,dateCell:Uge,dateCellSelected:Wge,dateCellOtherMonth:Gge,dateCellOtherMonthSelected:Kge,calendarFooter:Zge,cancelButton:Xge,applyButton:Yge,timePickerContainer:Jge,timeGroup:Qge,timeLabel:e7e,timeInputWrapper:t7e,timeInput:a7e,timeSeparator:n7e},o7e=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"m336-280 144-144 144 144 56-56-144-144 144-144-56-56-144 144-144-144-56 56 144 144-144 144zM480-80q-83 0-156-31.5T197-197t-85.5-127T80-480t31.5-156T197-763t127-85.5T480-880t156 31.5T763-763t85.5 127T880-480t-31.5 156T763-197t-127 85.5T480-80m0-80q134 0 227-93t93-227-93-227-227-93-227 93-93 227 93 227 227 93m0-320"})),c7e=k.memo(o7e),Pj=["Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre"],i7e=["Lun","Mar","Mer","Jeu","Ven","Sam","Dim"],Mw=({value:e,onChange:t,label:n,placeholder:c="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:g="0.25rem",dropdownMarginTop:m="0.25rem",itemPadding:x="0.5rem 0.75rem",fontWeight:M="400",buttonBgColor:v,buttonBorderColor:I,buttonTextColor:b,dropdownBgColor:w="#ffffff",itemHoverColor:N,selectedItemBgColor:_,iconColor:L,errorColor:j,labelColor:S,placeholderColor:C,borderRadius:$="var(--radius-content)",borderWidth:T="0.0625rem",boxShadow:D="0 0.25rem 0.75rem rgba(0, 0, 0, 0.1)",transitionDuration:z="0.2s",transitionTiming:A="ease",dateCellSize:q="2.5rem",headerTextColor:B="#6c757d",weekdayTextColor:R="#6c757d",currentMonthDateColor:V="#212529",otherMonthDateColor:U="#adb5bd",selectedDateBgColor:te="#00A6D9",selectedDateTextColor:F="#ffffff",cancelButtonBgColor:O="#e9ecef",cancelButtonTextColor:ie="#212529",applyButtonBgColor:ce="#00A6D9",applyButtonTextColor:xe="#ffffff",actionButtonPadding:re,actionButtonFontSize:ae,width:ne,displayNode:le=void 0,displayMode:pe="auto",displayNodeAriaLabel:me,dropdownPosition:W="auto",dropdownAlignment:X="right",dropdownWidth:se,withBorder:je=!1,icon:Be,precision:ge="day",horizontalTimePicker:Se=!1,hoursLabel:Dc="Heures",minutesLabel:h1="Minutes",lowerLimit:oe=null,upperLimit:be=null,strictTimeLimits:HL=!1,outOfLimitsMessage:Le="La date/heure choisie est hors des limites autorisées",months:wt,weekdays:VA,cancelText:PA="Annuler",applyText:TA="Appliquer",prevMonthAriaLabel:HA="Mois précédent",nextMonthAriaLabel:DA="Mois suivant",calendarAriaLabel:BA="Sélecteur de date",openedAriaLabel:RA="Ouvrir le sélecteur de date",selectedDateAriaLabel:FA="Date sélectionnée: ",rotateIcon:EA=!0,clearable:OA=!1,clearAriaLabel:UA="Effacer la date"})=>{const Ct=P=>{if(P instanceof Date)return isNaN(P.getTime())?null:P;if(typeof P=="string"&&P){const K=new Date(P);return isNaN(K.getTime())?null:K}return null},[Ge,Rt]=k.useState(!1),[u1,WA]=k.useState({top:0,left:0,width:0}),[dC,GA]=k.useState("bottom"),[lC,KA]=k.useState(null),[ue,p1]=k.useState(Ct(e)||new Date),[y1,DL]=k.useState(Ct(e)),[Q1,BL]=k.useState(Ct(e)?.getHours()??0),[ei,RL]=k.useState(Ct(e)?.getMinutes()??0),[FL,Bc]=k.useState(!1),[EL,Rc]=k.useState(!1),OL=k.useRef(null),Fc=k.useRef(null),hC=k.useRef(null),UL=k.useRef(null),WL=k.useRef(null),uC=k.useRef(Ct(e)?.getTime());k.useEffect(()=>{const P=Ct(e),K=P?.getTime();K!==uC.current&&(uC.current=K,DL(P),P&&(p1(P),BL(P.getHours()),RL(P.getMinutes())))},[e]);const pC=k.useCallback(()=>{if(Fc.current){const P=Fc.current.getBoundingClientRect();WA({top:P.top,left:P.left,width:P.width})}},[]),yC=8,ti=k.useCallback(()=>{if(!Fc.current)return;const P=Fc.current.getBoundingClientRect(),K=(parseFloat(m.replace("rem",""))||0)*16,Me=P.top-K-yC,Te=window.innerHeight-P.bottom-K-yC;let ze;if(W!=="auto")ze=W;else{const Re=hC.current?.scrollHeight??0;ze=Re<=Te?"bottom":Re<=Me||Me>Te?"top":"bottom"}GA(Re=>Re===ze?Re:ze),KA(Math.max(ze==="bottom"?Te:Me,0))},[W,m]),Ec=k.useCallback(()=>{pC(),ti()},[pC,ti]);k.useEffect(()=>(Ge&&(Ec(),window.addEventListener("scroll",Ec,!0),window.addEventListener("resize",Ec)),()=>{window.removeEventListener("scroll",Ec,!0),window.removeEventListener("resize",Ec)}),[Ge,Ec]),k.useLayoutEffect(()=>{Ge&&ti()},[Ge,ti]),k.useEffect(()=>{const P=K=>{if(OL.current&&!OL.current.contains(K.target)){const Me=document.getElementById("datepicker-dropdown");if(Me&&Me.contains(K.target))return;Rt(!1),Bc(!1),Rc(!1)}UL.current&&!UL.current.contains(K.target)&&Bc(!1),WL.current&&!WL.current.contains(K.target)&&Rc(!1)};return document.addEventListener("mousedown",P),()=>document.removeEventListener("mousedown",P)},[]);const kC=P=>new Date(P.getFullYear(),P.getMonth()+1,0).getDate(),ZA=P=>{const K=new Date(P.getFullYear(),P.getMonth(),1).getDay();return K===0?6:K-1},XA=()=>{const P=[],K=ZA(ue),Me=kC(ue),Te=new Date(ue.getFullYear(),ue.getMonth()-1,1),ze=kC(Te);for(let Ce=K-1;Ce>=0;Ce--)P.push(new Date(ue.getFullYear(),ue.getMonth()-1,ze-Ce));for(let Ce=1;Ce<=Me;Ce++)P.push(new Date(ue.getFullYear(),ue.getMonth(),Ce));const Re=42-P.length;for(let Ce=1;Ce<=Re;Ce++)P.push(new Date(ue.getFullYear(),ue.getMonth()+1,Ce));return P},YA=(P,K)=>!P||!K?!1:P.getDate()===K.getDate()&&P.getMonth()===K.getMonth()&&P.getFullYear()===K.getFullYear(),JA=P=>P.getMonth()===ue.getMonth()&&P.getFullYear()===ue.getFullYear(),ai=HL?P=>Math.floor(P.getTime()/6e4)*6e4:P=>new Date(P.getFullYear(),P.getMonth(),P.getDate()).getTime(),mC=P=>!(oe&&ai(P)<ai(oe)||be&&ai(P)>ai(be)),fC=y1?(()=>{const P=new Date(y1);return P.setHours(Q1),P.setMinutes(ei),P})():null,Oc=fC?!mC(fC):!1,ni=new Date(ue.getFullYear(),ue.getMonth()-1,1),oi=new Date(ue.getFullYear(),ue.getMonth()+1,1),GL=!!(oe&&(ni.getFullYear()<oe.getFullYear()||ni.getFullYear()===oe.getFullYear()&&ni.getMonth()<oe.getMonth())),KL=!!(be&&(oi.getFullYear()>be.getFullYear()||oi.getFullYear()===be.getFullYear()&&oi.getMonth()>be.getMonth())),QA=()=>{GL||p1(ni)},ez=()=>{KL||p1(oi)},tz=P=>{if(!s){const K=new Date(P);K.setHours(Q1),K.setMinutes(ei),DL(K)}},az=()=>{if(!s){if(y1){const P=new Date(y1);if(P.setHours(Q1),P.setMinutes(ei),!mC(P))return;t(P)}else t(null);Rt(!1)}},nz=()=>{const P=Ct(e);DL(P),P&&(BL(P.getHours()),RL(P.getMinutes())),Rt(!1)},oz=P=>{p1(new Date(ue.getFullYear(),P,1)),Bc(!1)},cz=P=>{p1(new Date(P,ue.getMonth(),1)),Rc(!1)},iz=()=>{const P=ue.getFullYear(),K=oe?oe.getFullYear():P-10,Me=be?be.getFullYear():P+10,Te=[];for(let ze=K;ze<=Me;ze++)Te.push(ze);return Te},rz=P=>{const K=ue.getFullYear();return!!(oe&&(K<oe.getFullYear()||K===oe.getFullYear()&&P<oe.getMonth())||be&&(K>be.getFullYear()||K===be.getFullYear()&&P>be.getMonth()))},sz=P=>{if(!s)switch(P.key){case"Enter":case" ":P.preventDefault(),Rt(!Ge);break;case"Escape":Rt(!1),Bc(!1),Rc(!1);break;case"Tab":Ge&&(Rt(!1),Bc(!1),Rc(!1));break}},dz={width:ne||(r?"100%":"auto"),fontSize:p,fontWeight:M},lz={height:l,padding:h,backgroundColor:v||"#ffffff",border:je?void 0:"none",borderColor:d?j||"#dc3545":I||"#dee2e6",color:b||"#212529",borderRadius:$,borderWidth:T,fontWeight:M,transition:`all ${z} ${A}`},hz=Se?{flexDirection:"column",borderTop:"none",borderLeft:"1px solid #eee"}:{},uz=Se?{flex:1,minWidth:0}:void 0,pz=Se?{display:"flex",flexDirection:"row",alignItems:"stretch"}:void 0,yz={backgroundColor:w||"#ffffff",maxHeight:u==="auto"?lC!=null?`${lC}px`:void 0:u,overflowY:"auto",borderRadius:$,borderWidth:T,boxShadow:D,transition:`opacity ${z} ${A}, transform ${z} ${A}`,position:"fixed",top:dC==="bottom"?u1.top+(Fc.current?.offsetHeight||0)+parseFloat(m.replace("rem",""))*16:"auto",bottom:dC==="top"?window.innerHeight-u1.top+parseFloat(m.replace("rem",""))*16:"auto",left:X==="left"?u1.left:"auto",right:X==="right"?window.innerWidth-(u1.left+u1.width):"auto",width:se||"30vw",minWidth:se?void 0:0,zIndex:10001},gC={width:y,height:y,color:L||"#6c757d","--icon-rotation":EA&&Ge?"rotate(180deg)":"rotate(0deg)"},kz={color:S||"#212529",marginBottom:f,fontWeight:M},mz={color:C||"#6c757d"},fz={color:j||"#dc3545",marginTop:g},gz=XA(),nt=Ct(e),vC=P=>`${P.getDate().toString().padStart(2,"0")}/${(P.getMonth()+1).toString().padStart(2,"0")}/${P.getFullYear()}`,xC=nt?ge==="minutes"?`${vC(nt)} ${nt.getHours().toString().padStart(2,"0")}:${nt.getMinutes().toString().padStart(2,"0")}`:vC(nt):"",MC=!!le&&(pe==="icon"||pe==="auto"&&!nt),vz=OA&&!MC&&!!nt&&!s,xz={width:"0.875rem",height:"0.875rem",color:L||"#6c757d"},Mz=me||(nt?`${FA}${xC}`:RA);return o.jsxs("div",{className:`${Z.datePickerContainer} ${i}`,ref:OL,style:dz,"data-fullwidth":r,"data-disabled":s,"data-error":!!d,children:[n&&o.jsx("label",{className:Z.label,style:kz,children:n}),o.jsxs("button",{ref:Fc,type:"button",onClick:()=>!s&&Rt(!Ge),onKeyDown:sz,className:`
|
|
8337
8337
|
${Z.datePickerButton}
|
|
8338
8338
|
${Ge?Z.datePickerButtonOpen:""}
|
|
8339
8339
|
${s?Z.datePickerButtonDisabled:""}
|
|
8340
|
-
`,style:lz,disabled:s,"aria-expanded":Ge,"aria-haspopup":"dialog","aria-label":Mz,"aria-labelledby":n?`${n}-label`:void 0,children:[MC?o.jsx("span",{className:Z.displayNode,"aria-hidden":!0,children:
|
|
8340
|
+
`,style:lz,disabled:s,"aria-expanded":Ge,"aria-haspopup":"dialog","aria-label":Mz,"aria-labelledby":n?`${n}-label`:void 0,children:[MC?o.jsx("span",{className:Z.displayNode,"aria-hidden":!0,children:le}):o.jsx("span",{className:`${Z.datePickerLabel} ${nt?"":Z.placeholder}`,style:nt?void 0:mz,children:nt?xC:c}),o.jsxs("span",{className:Z.trailingIcons,children:[vz&&o.jsx("span",{role:"button",tabIndex:0,className:Z.clearButton,"aria-label":UA,onClick:P=>{P.stopPropagation(),t(null)},onKeyDown:P=>{(P.key==="Enter"||P.key===" ")&&(P.preventDefault(),P.stopPropagation(),t(null))},children:o.jsx(c7e,{fill:"var(--color-text)",style:xz})}),Be?o.jsx("span",{className:Z.chevron,style:gC,children:Be}):o.jsx(R1,{fill:"var(--color-text)",className:`${Z.chevron} ${Ge?Z.chevronOpen:""}`,style:gC})]})]}),d&&o.jsx("div",{className:Z.errorMessage,style:fz,children:d}),Ge&&!s&&_w.createPortal(o.jsxs("div",{id:"datepicker-dropdown",ref:hC,className:Z.dropdown,style:yz,role:"dialog","aria-label":BA,children:[o.jsxs("div",{style:pz,children:[o.jsxs("div",{style:uz,children:[o.jsxs("div",{className:Z.calendarHeader,children:[o.jsx("button",{type:"button",className:Z.navButton,onClick:QA,"aria-label":HA,disabled:GL,style:GL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"‹"}),o.jsxs("div",{className:Z.headerSelectors,children:[o.jsxs("div",{className:Z.monthSelector,ref:UL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Bc(!FL),style:{color:B,"--hover-color":N},children:[(wt||Pj)[ue.getMonth()],o.jsx(R1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${FL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),FL&&o.jsx("div",{className:Z.monthDropdown,children:(wt||Pj).map((P,K)=>{const Me=rz(K);return o.jsx("button",{type:"button",disabled:Me,className:`${Z.monthItem} ${ue.getMonth()===K?Z.monthItemSelected:""}`,onClick:()=>!Me&&oz(K),style:{padding:x,backgroundColor:ue.getMonth()===K?_||"#e7f1ff":w,opacity:Me?.3:1,cursor:Me?"not-allowed":"pointer"},onMouseEnter:Te=>{N&&ue.getMonth()!==K&&!Me&&(Te.currentTarget.style.backgroundColor=N)},onMouseLeave:Te=>{N&&(Te.currentTarget.style.backgroundColor=ue.getMonth()===K?_||"#e7f1ff":w)},children:P},K)})})]}),o.jsxs("div",{className:Z.yearSelector,ref:WL,children:[o.jsxs("button",{type:"button",className:Z.selectorButton,onClick:()=>Rc(!EL),style:{color:B,"--hover-color":N},children:[ue.getFullYear(),o.jsx(R1,{fill:"var(--color-text)",className:`${Z.selectorChevron} ${EL?Z.selectorChevronOpen:""}`,style:{width:"0.75rem",height:"0.75rem",marginLeft:"0.25rem"}})]}),EL&&o.jsx("div",{className:Z.yearDropdown,children:iz().map(P=>o.jsx("button",{type:"button",className:`${Z.yearItem} ${ue.getFullYear()===P?Z.yearItemSelected:""}`,onClick:()=>cz(P),style:{padding:x,backgroundColor:ue.getFullYear()===P?_||"#e7f1ff":w},onMouseEnter:K=>{N&&ue.getFullYear()!==P&&(K.currentTarget.style.backgroundColor=N)},onMouseLeave:K=>{N&&(K.currentTarget.style.backgroundColor=ue.getFullYear()===P?_||"#e7f1ff":w)},children:P},P))})]})]}),o.jsx("button",{type:"button",className:Z.navButton,onClick:ez,"aria-label":DA,disabled:KL,style:KL?{opacity:.3,cursor:"not-allowed"}:void 0,children:"›"})]}),o.jsx("div",{className:Z.weekdays,children:(VA||i7e).map(P=>o.jsx("div",{className:Z.weekday,style:{color:R},children:P},P))}),o.jsx("div",{className:Z.calendarGrid,children:gz.map((P,K)=>{if(!P)return null;const Me=YA(P,y1),Te=JA(P),ze=Ce=>new Date(Ce.getFullYear(),Ce.getMonth(),Ce.getDate()).getTime(),Re=!!(oe&&ze(P)<ze(oe)||be&&ze(P)>ze(be));return o.jsx("button",{type:"button",className:`${Z.dateCell} ${Me?Z.dateCellSelected:""} ${Me?Z.dateCellOtherMonthSelected:""} ${Te?"":Z.dateCellOtherMonth} ${Re?Z.dateCellDisabled:""}`,onClick:()=>!Re&&tz(P),disabled:Re,style:{width:q,height:q,color:Me?F:Te?V:U,backgroundColor:Me?te:"transparent",opacity:Re?.4:1,cursor:Re?"not-allowed":"pointer"},onMouseEnter:Ce=>{!Me&&!Re&&N&&(Ce.currentTarget.style.backgroundColor=N)},onMouseLeave:Ce=>{Me||(Ce.currentTarget.style.backgroundColor="transparent")},children:P.getDate()},K)})})]}),ge==="minutes"&&o.jsxs("div",{className:Z.timePickerContainer,style:hz,children:[o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:Dc}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"23",value:Q1,onChange:P=>{const K=parseInt(P.target.value);!isNaN(K)&&K>=0&&K<=23&&BL(K)},className:Z.timeInput,style:Oc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]}),!Se&&o.jsx("span",{className:Z.timeSeparator,children:":"}),o.jsxs("div",{className:Z.timeGroup,children:[o.jsx("span",{className:Z.timeLabel,children:h1}),o.jsx("div",{className:Z.timeInputWrapper,children:o.jsx("input",{type:"number",min:"0",max:"59",value:ei,onChange:P=>{const K=parseInt(P.target.value);!isNaN(K)&&K>=0&&K<=59&&RL(K)},className:Z.timeInput,style:Oc?{borderColor:"#dc2626",color:"#dc2626"}:void 0})})]})]})]}),Oc&&o.jsx("div",{role:"alert",style:{color:"#dc2626",fontSize:"0.75rem",padding:"0 4px 4px",textAlign:"center"},children:Le}),o.jsxs("div",{className:Z.calendarFooter,children:[o.jsx("button",{type:"button",className:Z.cancelButton,onClick:nz,style:{backgroundColor:O,color:ie,borderRadius:$,padding:re??x,fontSize:ae},children:PA}),o.jsx("button",{type:"button",className:Z.applyButton,onClick:az,disabled:Oc,style:{backgroundColor:ce,color:xe,borderRadius:$,padding:re??x,fontSize:ae,opacity:Oc?.5:1,cursor:Oc?"not-allowed":"pointer"},children:TA})]})]}),document.body)]})},r7e="_selectContainer_1ptm9_1",s7e="_label_1ptm9_15",d7e="_selectButton_1ptm9_23",l7e="_selectButtonDisabled_1ptm9_43",h7e="_selectButtonOpen_1ptm9_48",u7e="_selectButtonContent_1ptm9_58",p7e="_selectIcon_1ptm9_66",y7e="_selectLabel_1ptm9_72",k7e="_placeholder_1ptm9_79",m7e="_chevron_1ptm9_84",f7e="_errorMessage_1ptm9_93",g7e="_dropdown_1ptm9_99",v7e="_dropdownContent_1ptm9_123",x7e="_item_1ptm9_129",M7e="_itemSelected_1ptm9_151",_7e="_itemContent_1ptm9_155",L7e="_itemIcon_1ptm9_162",I7e="_itemLabel_1ptm9_168",Ne={selectContainer:r7e,label:s7e,selectButton:d7e,selectButtonDisabled:l7e,selectButtonOpen:h7e,selectButtonContent:u7e,selectIcon:p7e,selectLabel:y7e,placeholder:k7e,chevron:m7e,errorMessage:f7e,dropdown:g7e,dropdownContent:v7e,item:x7e,itemSelected:M7e,itemContent:_7e,itemIcon:L7e,itemLabel:I7e},$A=({items:e,value:t,onChange:n,label:c,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)",fontWeight:f,iconSize:g="var(--select-icon-size, 1.5rem)",labelMarginBottom:m="var(--select-label-margin-bottom, 0.5rem)",errorMarginTop:x="var(--select-error-margin-top, 0.25rem)",dropdownMarginTop:M="var(--select-dropdown-margin-top, 0.25rem)",itemPadding:v="var(--select-item-padding, 0.5rem 0.75rem)",gap:I="var(--select-gap, 0.5rem)",buttonBgColor:b,buttonBorderColor:w,buttonTextColor:N,dropdownBgColor:_,itemHoverColor:L,selectedItemBgColor:j,iconColor:S,errorColor:C,labelColor:$,placeholderColor:T,border:D,borderRadius:z="var(--select-border-radius, 0.5rem)",borderWidth:A="var(--select-border-width, 0.0625rem)",boxShadow:q="var(--select-box-shadow, 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1))",transitionDuration:B="var(--select-transition-duration, 0.2s)",transitionTiming:R="var(--select-transition-timing, ease)",scrollbarWidth:V="var(--select-scrollbar-width, 0.375rem)",scrollbarTrackColor:U="var(--select-scrollbar-track-color, #f1f1f1)",scrollbarThumbColor:te="var(--select-scrollbar-thumb-color, #c1c1c1)",width:F,minWidth:O,dropdownPosition:ie="bottom",dropdownAlignment:ce="right",dropdownWidth:xe,a11yConfig:re,titleKey:ae})=>{const[ne,le]=k.useState(!1),pe=k.useRef(null),me=e.find(Le=>Le.value===t);k.useEffect(()=>{const Le=wt=>{pe.current&&!pe.current.contains(wt.target)&&le(!1)};return document.addEventListener("mousedown",Le),()=>document.removeEventListener("mousedown",Le)},[]);const W=Le=>{d||(n(Le),le(!1))},X=Le=>{if(!d)switch(Le.key){case"Enter":case" ":Le.preventDefault(),le(!ne);break;case"Escape":le(!1);break;case"Tab":ne&&le(!1);break}},se={width:F||(s?"100%":"auto"),minWidth:O,fontSize:y},je={height:h,padding:u,backgroundColor:b||"var(--select-button-bg-color, #ffffff)",border:D,borderColor:l?C||"var(--select-error-color, #dc3545)":w||"var(--select-button-border-color, #dee2e6)",color:N||"var(--select-button-text-color, #212529)",borderRadius:z,borderWidth:A,transition:`all ${B} ${R}`,fontWeight:f},Be={backgroundColor:_||"var(--select-dropdown-bg-color, #ffffff)",maxHeight:p,borderRadius:z,borderWidth:A,boxShadow:q,transition:`opacity ${B} ${R}, transform ${B} ${R}`,position:"absolute",top:ie==="bottom"?"100%":"auto",bottom:ie==="top"?"100%":"auto",left:ce==="left"?0:"auto",right:ce==="right"?0:"auto",width:xe||(s?"100%":"auto"),marginTop:ie==="bottom"?M:0,marginBottom:ie==="top"?M:0,zIndex:1001},ge={width:g,height:g,color:S||"var(--select-icon-color, #6c757d)","--icon-rotation":ne?"rotate(180deg)":"rotate(0deg)"},Se={color:$||"var(--select-label-color, #212529)",marginBottom:m},Dc={color:T||"var(--select-placeholder-color, #6c757d)"},h1={color:C||"var(--select-error-color, #dc3545)",marginTop:x},oe={padding:v,transition:`background-color ${B} ${R}`,fontWeight:f},be={gap:I},HL={"--scrollbar-width":V,"--scrollbar-track-color":U,"--scrollbar-thumb-color":te};return o.jsxs("div",{className:`${Ne.selectContainer} ${r}`,ref:pe,style:se,"data-fullwidth":s,"data-disabled":d,"data-error":!!l,title:Y(re,ae),children:[c&&o.jsx("label",{className:Ne.label,style:Se,children:c}),o.jsxs("button",{type:"button",onClick:()=>!d&&le(!ne),onKeyDown:X,className:`
|
|
8341
8341
|
${Ne.selectButton}
|
|
8342
8342
|
${ne?Ne.selectButtonOpen:""}
|
|
8343
8343
|
${d?Ne.selectButtonDisabled:""}
|
|
8344
|
-
`,style:je,disabled:d,"aria-expanded":ne,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:Ne.selectButtonContent,style:be,children:[me?.icon&&o.jsx("span",{className:Ne.selectIcon,style:ge,children:me.icon}),o.jsx("span",{className:`${Ne.selectLabel} ${me?"":Ne.placeholder}`,style:me?void 0:Dc,children:me?me.label:i})]}),o.jsx(R1,{fill:"var(--color-text)",className:`${Ne.chevron} ${ne?Ne.chevronOpen:""}`,style:ge})]}),l&&o.jsx("div",{className:Ne.errorMessage,style:h1,children:l}),ne&&!d&&o.jsx("div",{className:Ne.dropdown,style:Be,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:Ne.dropdownContent,style:HL,children:e.map(Le=>o.jsx("button",{type:"button",onClick:()=>
|
|
8344
|
+
`,style:je,disabled:d,"aria-expanded":ne,"aria-haspopup":"listbox","aria-labelledby":c?`${c}-label`:void 0,children:[o.jsxs("div",{className:Ne.selectButtonContent,style:be,children:[me?.icon&&o.jsx("span",{className:Ne.selectIcon,style:ge,children:me.icon}),o.jsx("span",{className:`${Ne.selectLabel} ${me?"":Ne.placeholder}`,style:me?void 0:Dc,children:me?me.label:i})]}),o.jsx(R1,{fill:"var(--color-text)",className:`${Ne.chevron} ${ne?Ne.chevronOpen:""}`,style:ge})]}),l&&o.jsx("div",{className:Ne.errorMessage,style:h1,children:l}),ne&&!d&&o.jsx("div",{className:Ne.dropdown,style:Be,role:"listbox","aria-label":c||"Options de sélection",children:o.jsx("div",{className:Ne.dropdownContent,style:HL,children:e.map(Le=>o.jsx("button",{type:"button",onClick:()=>W(Le.value),className:`
|
|
8345
8345
|
${Ne.item}
|
|
8346
8346
|
${t===Le.value?Ne.itemSelected:""}
|
|
8347
|
-
`,style:{...oe,backgroundColor:t===Le.value?j||"#F0F4F6":"transparent"},onMouseEnter:wt=>{I&&(wt.currentTarget.style.backgroundColor=I)},onMouseLeave:wt=>{I&&(wt.currentTarget.style.backgroundColor=t===Le.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Le.value,children:o.jsxs("div",{className:Ne.itemContent,style:be,children:[Le.icon&&o.jsx("span",{className:Ne.itemIcon,style:ge,children:Le.icon}),o.jsx("span",{className:Ne.itemLabel,children:Le.label})]})},Le.value))})})]})},b7e="_filterBar_1hlqe_3",w7e="_label_1hlqe_11",Tj={filterBar:b7e,label:w7e},C7e=({label:e="Filtres",startDate:t,endDate:n,granularity:c,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:g="0.875rem",labelFontWeight:m="400",labelColor:x="#212529",labelMarginRight:M="1rem",startDateWidth:v,endDateWidth:L,selectWidth:b,datePickerProps:w={},selectProps:N={},rightContent:_,extraContent:I})=>{const j={fontSize:g,fontWeight:m,color:x,marginRight:M},S={gap:f};return o.jsxs("div",{className:`${Tj.filterBar} ${p}`,style:S,children:[e&&o.jsx("span",{className:Tj.label,style:j,children:e}),o.jsx(Mw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),o.jsx(Mw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:L,...w}),o.jsx($A,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:b,...N}),I,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},N7e="_container_1x6mq_16",S7e="_disabled_1x6mq_26",j7e="_predStyle_1x6mq_32",$7e="_realStyle_1x6mq_36",q7e="_predGap_1x6mq_40",A7e="_realGap_1x6mq_44",z7e="_big_1x6mq_49",V7e="_medium_1x6mq_53",P7e="_iconWrapper_1x6mq_58",T7e="_predRelative_1x6mq_68",H7e="_realRelative_1x6mq_72",D7e="_iconImg_1x6mq_76",B7e="_content_1x6mq_84",R7e="_header_1x6mq_93",F7e="_predJustify_1x6mq_99",E7e="_realJustify_1x6mq_103",O7e="_predHeaderLineHeight_1x6mq_116",U7e="_realHeaderLineHeight_1x6mq_120",W7e="_title_1x6mq_129",G7e="_titleBlack_1x6mq_144",K7e="_titleWhite_1x6mq_148",Z7e="_subtitle_1x6mq_153",X7e="_valueRowHorizontal_1x6mq_163",Y7e="_valueRowVertical_1x6mq_171",J7e="_singleValue_1x6mq_180",Q7e="_primaryRow_1x6mq_184",eve="_maxBadge_1x6mq_191",tve="_valuePrimary_1x6mq_203",ave="_valuePrimaryBlack_1x6mq_210",nve="_valuePrimaryWhite_1x6mq_214",ove="_valueSlash_1x6mq_219",cve="_valueSecondary_1x6mq_226",ive="_valueSecondaryBlue_1x6mq_232",rve="_valueSecondaryWhite_1x6mq_236",sve="_valueSecondaryBlack_1x6mq_240",dve="_valueStacked_1x6mq_245",lve="_stackedTop_1x6mq_254",hve="_stackedBottom_1x6mq_255",ye={container:N7e,disabled:S7e,predStyle:j7e,realStyle:$7e,predGap:q7e,realGap:A7e,big:z7e,medium:V7e,iconWrapper:P7e,predRelative:T7e,realRelative:H7e,iconImg:D7e,content:B7e,header:R7e,predJustify:F7e,realJustify:E7e,predHeaderLineHeight:O7e,realHeaderLineHeight:U7e,title:W7e,titleBlack:G7e,titleWhite:K7e,subtitle:Z7e,valueRowHorizontal:X7e,valueRowVertical:Y7e,singleValue:J7e,primaryRow:Q7e,maxBadge:eve,valuePrimary:tve,valuePrimaryBlack:ave,valuePrimaryWhite:nve,valueSlash:ove,valueSecondary:cve,valueSecondaryBlue:ive,valueSecondaryWhite:rve,valueSecondaryBlack:sve,valueStacked:dve,stackedTop:lve,stackedBottom:hve},uve=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:l="black",valueColor:h="blue",realValueColor:u,predictionValueColor:p,className:y="",style:f="",variant:g="horizontal",showMax:m=!1,titleFontSize:x,titleFontWeight:M,subtitleFontSize:v,subtitleFontWeight:L,primaryFontSize:b,primaryFontWeight:w,secondaryFontSize:N,secondaryFontWeight:_,backgroundColor:I="#f2f9fc",gap:j="",disabled:S=!1,positionRelative:C="",justifyContent:$="",headerLineHeight:T="",headerMinHeight:D="",contentSpace:z="",titleKey:A,subtitleKey:q,subtitleA11yKey:B,maxBadgeKey:R,maxBadgeA11yKey:V,predictionKey:O,predictionA11yKey:J,realisedKey:F,realisedA11yKey:K})=>{const ue=i!==void 0?i:!!c,ce=`${ye.container} ${ye[d]} ${ye[f]} ${S?ye.disabled:""}`,xe=h==="white"?ye.valuePrimaryWhite:ye.valuePrimaryBlack,ie=h==="blue"?ye.valueSecondaryBlue:h==="white"?ye.valueSecondaryWhite:ye.valueSecondaryBlack,ae=U=>U===void 0?void 0:typeof U=="number"?`${U}px`:U,ne=U=>U===void 0?void 0:U,de=g==="vertical",pe=s!=null&&s!==""&&s!=="-"&&s!=="—",me=de?ye.valueRowVertical:ye.valueRowHorizontal;return o.jsxs("div",{className:`${ce} ${y}`,style:{backgroundColor:I},children:[t&&o.jsx("div",{className:`${ye.iconWrapper} ${ye[C]}`,children:t}),o.jsxs("div",{className:`${ye.content} ${ye[j]} ${pe?"":ye.singleValue} content-indicator-v2`,style:{justifyContent:z},children:[o.jsx("div",{className:`${ye.header} ${ye[$]} ${ye[T]} header-indicator-v2`,style:{minHeight:D},children:o.jsx("h6",{className:`${ye.title}`,style:{fontSize:ae(x),fontWeight:ne(M),color:l},title:Y(e,A),children:n})}),ue&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:ye.subtitle,style:{fontSize:ae(v),fontWeight:ne(L)},title:Y(e,q,B),children:c})}):null,o.jsxs("div",{className:`${me} count-indicator-v2`,children:[o.jsxs("div",{className:ye.primaryRow,children:[m&&o.jsx("span",{className:`${ye.maxBadge} max-badge-indicator-v2`,title:Y(e,R,V),children:"MAX"}),o.jsx("span",{className:`${ye.valuePrimary} ${xe}`,style:{fontSize:ae(b||(!pe&&de?"1.75rem":void 0)),fontWeight:ne(w),color:u||void 0},title:Y(e,F,K),children:r})]}),pe&&o.jsxs(o.Fragment,{children:[!de&&o.jsx("span",{className:ye.valueSlash,style:{fontSize:ae(N),fontWeight:ne(_)},children:"/"}),o.jsx("span",{className:`${ye.valueSecondary} ${ie}`,style:{fontSize:ae(N),fontWeight:ne(_),color:p||void 0},title:Y(e,O,J),children:s})]})]})]})]})},pve="_banner_f10in_2",yve="_iep_f10in_14",kve="_groupSmall_f10in_24",mve="_genre_f10in_34",fve="_gravite_f10in_42",gve="_orientationContainer_f10in_48",vve="_service_f10in_61",xve="_roomBedContainer_f10in_71",Mve="_room_f10in_71",_ve="_bed_f10in_87",Lve="_bedUf_f10in_92",Ive="_statusContainer_f10in_97",bve="_status_f10in_97",wve="_centeredWarn_f10in_124",Ee={banner:pve,iep:yve,groupSmall:kve,genre:mve,gravite:fve,orientationContainer:gve,service:vve,roomBedContainer:xve,room:Mve,bed:_ve,bedUf:Lve,statusContainer:Ive,status:bve,centeredWarn:wve},Cve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},te.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},te.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),te.createElement("g",{mask:"url(#a)"},te.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"}))),Hj=k.memo(Cve),Nve=({patient:e,genre:t,gravite:n,bed:c,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:g,style:m,warn:x=!1,warnMessage:M,warnColor:v="#F94134"})=>o.jsxs("div",{className:Ee.banner,style:{backgroundColor:l,...m},children:[o.jsxs("div",{className:Ee.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.jsxs("div",{style:{color:h},children:[((e.nom||"").trim().split(/\s+/)[0]||"").substring(0,3).toUpperCase(),"."," ",((e.prenom||"").trim().split(/\s+/)[0]||"").substring(0,3).toLowerCase().replace(/^./,L=>L.toUpperCase()),".(",e.age,")"]})]}),o.jsxs("div",{className:Ee.groupSmall,children:[o.jsx("span",{className:`${Ee.genre} genre-info-banner`,style:{color:"#ffffff",background:f,fontSize:g},children:t??"--"}),o.jsx("span",{className:`${Ee.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:Ee.orientationContainer,children:o.jsx("div",{className:Ee.service,style:{color:h},children:s??"--"})}),o.jsxs("div",{className:Ee.roomBedContainer,children:[i&&o.jsx("span",{className:Ee.bedUf,children:i}),o.jsx("span",{className:Ee.room,children:r??"--"}),o.jsx("span",{className:Ee.bed,children:c??"--"})]}),o.jsxs("div",{className:Ee.statusContainer,children:[d?o.jsx("div",{className:`${Ee.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):x&&o.jsxs("div",{className:Ee.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(Hj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:M})]}),d&&x&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(Hj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:M})]})]})]}),Sve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),jve=k.memo(Sve),$ve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.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"})),qA=k.memo($ve),qve=e=>te.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},te.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),Ave=k.memo(qve),zve="_overlay_1sx2l_1",Vve="_container_1sx2l_11",Pve="_fullscreen_1sx2l_24",Tve="_header_1sx2l_30",Hve="_headerActions_1sx2l_42",Dve="_iconButton_1sx2l_47",Bve="_body_1sx2l_58",Rve="_sidebar_1sx2l_65",Fve="_content_1sx2l_91",Eve="_contentHeader_1sx2l_98",Ove="_childrenWrapper_1sx2l_114",Uve="_footer_1sx2l_138",Wve="_baseButton_1sx2l_147",Gve="_noOverlay_1sx2l_161",Kve="_contained_1sx2l_169",$e={overlay:zve,container:Vve,fullscreen:Pve,header:Tve,headerActions:Hve,iconButton:Dve,body:Bve,sidebar:Rve,content:Fve,contentHeader:Eve,childrenWrapper:Ove,footer:Uve,baseButton:Wve,noOverlay:Gve,contained:Kve},Zve=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:c="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:g=!1,hideSidebar:m=!1,onDelete:x,deleteLabel:M="Supprimer",width:v="75%",maxWidth:L="none",height:b="85%",maxHeight:w="85%",borderRadius:N="0.5rem",childrenPadding:_="1rem",overflow:I="auto",contentHeaderAction:j,contentFooterAction:S,footerOverride:C,hideFooter:$=!1,hideOverlay:T=!1,position:D,a11yConfig:z})=>{const[A,q]=k.useState(!1),B=k.useRef(null);if(k.useEffect(()=>{if(!r||!T)return;const V=O=>{(O.type==="scroll"||O.type==="wheel"||O.type==="touchmove"||B.current&&!B.current.contains(O.target))&&s()};return document.addEventListener("mousedown",V),document.addEventListener("scroll",V,!0),document.addEventListener("wheel",V,{passive:!0,capture:!0}),document.addEventListener("touchmove",V,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",V),document.removeEventListener("scroll",V,!0),document.removeEventListener("wheel",V,!0),document.removeEventListener("touchmove",V,!0)}},[r,T,s]),!r)return null;const R=(V,O=!1)=>o.jsx(uL,{onClick:V.disabled?void 0:V.onClick,className:$e.baseButton,disabled:V.disabled,style:{background:V.backgroundColor??(O?"#008FBB":"#ffffff"),color:V.textColor??(O?"#ffffff":"#374151"),border:V.borderColor?`1px solid ${V.borderColor}`:O?"none":void 0,cursor:V.disabled?V.cursor??"not-allowed":V.cursor??"pointer",filter:V.disabled?V.filter??"grayscale(0.5)":V.filter??"none",opacity:V.disabled?.65:1},title:Y(V.a11yConfig,V.text),children:V.text});return o.jsx("div",{className:T?$e.noOverlay:$e.overlay,onClick:s,children:o.jsxs("div",{ref:B,className:`${$e.container} ${A?$e.fullscreen:""} ${T?$e.contained:""}`,onClick:V=>V.stopPropagation(),style:{width:A?"100%":v,maxWidth:A?"none":L,height:A?"100%":b,maxHeight:A?"100%":w,borderRadius:A?"0":N,overflow:I,...D||{}},children:[!g&&o.jsxs("header",{className:$e.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Y(z,e),children:e}),o.jsxs("div",{className:$e.headerActions,children:[!f&&o.jsx("button",{onClick:()=>q(!A),className:$e.iconButton,title:A?"Réduire":"Agrandir",children:A?o.jsx(Ave,{width:22,height:22,fill:t}):o.jsx(jve,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:$e.iconButton,title:"Fermer",children:o.jsx(qA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:$e.body,style:{overflow:I},children:[y&&!m&&o.jsx("aside",{className:$e.sidebar,children:y}),o.jsxs("main",{className:$e.content,style:{backgroundColor:p,overflow:I},children:[u&&o.jsxs("header",{className:$e.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:$e.childrenWrapper,style:{padding:_,overflow:I},children:h})]})]}),!$&&o.jsx("footer",{className:$e.footer,style:{backgroundColor:n},children:C!==void 0?C:o.jsxs(o.Fragment,{children:[x&&o.jsx(uL,{onClick:x,className:$e.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:M}),S,R(d),R(l,!0)]})})]})})},Xve="_container_1vb1c_1",Yve="_searchWrapper_1vb1c_10",Jve="_navItems_1vb1c_17",Wb={container:Xve,searchWrapper:Yve,navItems:Jve},Qve=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>o.jsxs("div",{className:`${Wb.container} ${u}`,style:{width:h,backgroundColor:c,color:i},children:[o.jsx("div",{className:Wb.searchWrapper,children:o.jsx(bA,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Wb.navItems,children:e.map(p=>o.jsx(sC,{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))})]}),e9e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:l="Modules",titleKey:h,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:f="Renommer le module",renameModuleLabel:g="Titre",renameModulePlaceholder:m="Nom du module",confirmText:x="Valider",cancelText:M="Annuler",headerLabel:v,headerLabelKey:L,showAddIcon:b=!0,showCount:w=!0,showToggle:N=!1,showActions:_=!0,onToggle:I,a11yConfig:j})=>{const[S,C]=k.useState(!1),[$,T]=k.useState(null),[D,z]=k.useState(null),[A,q]=k.useState(null),[B,R]=k.useState(null),V=()=>{R(U=>U===null?"asc":U==="asc"?"desc":null),I&&I()},O=k.useMemo(()=>B?[...e].sort((U,X)=>{const re=U.title.toLowerCase(),je=X.title.toLowerCase();return B==="asc"?re.localeCompare(je):je.localeCompare(re)}):e,[e,B]),J=()=>C(!0),F=()=>C(!1),K=U=>{const X=U.title?.trim();X&&c&&c(X),F()},ue=(U,X)=>{U.stopPropagation(),T(X)},ce=()=>T(null),xe=U=>{const X=U.title?.trim();$&&X&&r&&r($,X),ce()},ie=(U,X)=>{U.stopPropagation(),s&&s(X)},ae=(U,X)=>{U.stopPropagation(),i&&i(X)},ne=(U,X)=>{z(X),U.dataTransfer.effectAllowed="move"},de=(U,X)=>{D!==null&&(U.preventDefault(),U.dataTransfer.dropEffect="move",X!==A&&q(X))},pe=(U,X)=>{if(U.preventDefault(),D===null||D===X||!d)return;const re=[...O],[je]=re.splice(D,1);re.splice(X,0,je),R(null),d(re),z(null),q(null)},me=()=>{z(null),q(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-label-container",onClick:V,children:[o.jsx("div",{className:"header-label",title:Y(j,L),children:v}),B==="asc"?o.jsx(e1,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(Qc,{size:12,className:"header-toggle-icon",strokeWidth:3})]}),b&&o.jsx(qc,{size:18,className:"add-view-icon",onClick:J})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Y(j,h),children:[N&&(B==="asc"?o.jsx(e1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V}):o.jsx(Qc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V})),l," ",w&&`(${O.length})`]}),b&&o.jsx(qc,{size:18,className:"add-view-icon",onClick:J})]})}),o.jsx("div",{className:"module-list",children:O.map((U,X)=>o.jsxs("div",{className:`module-item ${U.id===t?"selected":""} ${A===X&&D!==X?"drag-over":""} ${D===X?"dragging":""}`,onClick:()=>n&&n(U),draggable:!!d,onDragStart:d?re=>ne(re,X):void 0,onDragOver:d?re=>de(re,X):void 0,onDrop:d?re=>pe(re,X):void 0,onDragEnd:d?me:void 0,children:[U.icon||o.jsx(q1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Y(U.a11yConfig,U.titleKey),children:[o.jsx("div",{className:"module-title",children:U.title}),U.subtitle&&o.jsx("div",{className:"module-subtitle",children:U.subtitle})]}),typeof U.count<"u"&&o.jsx("span",{className:"module-count",children:U.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx(Ac,{size:14,className:"action-icon add",onClick:re=>ae(re,U)}),r&&o.jsx(vt,{size:12,className:"action-icon edit",onClick:re=>ue(re,U)}),s&&o.jsx(yt,{size:12,className:"action-icon delete",onClick:re=>ie(re,U)})]})]},U.id))}),o.jsx(Hc,{isOpen:S,onClose:F,onSave:K,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:x,cancelText:M}),$&&o.jsx(Hc,{isOpen:!!$,onClose:ce,onSave:xe,title:f,initialValues:{title:$.title},fields:[{name:"title",label:g,placeholder:m}],confirmText:x,cancelText:M})]})},t9e=({mod:e,index:t,total:n,isSelected:c,onSelectModule:i})=>o.jsxs("div",{className:`module-item${c?" selected":""}`,onClick:()=>i?.(e),"aria-posinset":t+1,"aria-setsize":n,role:"listitem",children:[e.icon,o.jsxs("div",{className:"module-content",title:Y(e.a11yConfig,e.titleKey),children:[o.jsx("div",{className:"module-title",children:e.title}),e.subtitle&&o.jsx("div",{className:"module-subtitle",children:e.subtitle})]})]}),a9e=({modules:e,selectedModuleId:t,onSelectModule:n,title:c="Modules",titleKey:i,showCount:r=!0,showSearch:s=!0,searchValue:d,searchPlaceholder:l,onSearchTyping:h,onSearchSubmit:u,searchDebounceMs:p=300,isLoading:y=!1,loadingComponent:f,emptyComponent:g,a11yConfig:m,borderColor:x,hoverBackgroundColor:M,selectedBackgroundColor:v})=>{const[L,b]=k.useState(d??""),w=k.useRef(null);k.useEffect(()=>{d!==void 0&&b(d)},[d]),k.useEffect(()=>()=>{w.current&&clearTimeout(w.current)},[]);const N=j=>{const S=j.target.value;b(S),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{h?.(S)},p)},_=j=>{j.key==="Enter"&&u?.(L)},I={"--smsb-border-color":x??"var(--color-border, #efefef)","--smsb-hover-background":M??"var(--color-content-background, #f8fafc)","--smsb-selected-background":v??"var(--color-neutral, #f4f4f4)"};return o.jsxs("div",{className:"searchable-module-sidebar",style:I,children:[o.jsx("div",{className:"sidebar-header",children:o.jsxs("div",{className:"header-title",title:Y(m,i),children:[c," ",r&&`(${e.length})`]})}),s&&o.jsx("div",{className:"sidebar-search",children:o.jsx("input",{type:"text",className:"search-input",value:L,placeholder:l,onChange:N,onKeyDown:_})}),o.jsx("div",{className:"module-list",children:y?f:e.length===0?g:e.map((j,S)=>o.jsx(t9e,{mod:j,index:S,total:e.length,isSelected:j.id===t,onSelectModule:n},j.id))})]})},n9e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(e),[p,y]=k.useState(null),[f,g]=k.useState(""),[m,x]=k.useState(!1),[M,v]=k.useState(""),[L,b]=k.useState(""),w=k.useMemo(()=>{const A={};return Array.isArray(t)&&t.forEach(q=>{q&&q.language&&(A[q.language.toUpperCase()]=q.value)}),A},[t]),N=k.useMemo(()=>n,[n]),_=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},I=A=>{A.key==="Enter"?_():A.key==="Escape"&&(u(e),l(!1))},j=A=>{const q=A.toUpperCase();y(q),g(w[q]||"")},S=()=>{p&&(c(p,f),y(null),g(""))},C=A=>{A.key==="Enter"?S():A.key==="Escape"&&(y(null),g(""))},$=()=>{x(!0),N.length>0&&v(N[0].toUpperCase()),b("")},T=()=>{M&&L.trim()&&(c(M,L.trim()),x(!1),v(""),b(""))},D=()=>{x(!1),v(""),b("")},z=A=>{A.key==="Enter"?T():A.key==="Escape"&&D()};return o.jsxs("div",{className:"translation-key-v2",children:[o.jsxs("div",{className:"header",children:[d?o.jsx("input",{className:"key-name-input",value:h,onChange:A=>u(A.target.value),onBlur:_,onKeyDown:I,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Y(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(vt,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),o.jsx(yt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map(A=>{const q=A.toUpperCase(),B=w[q]||"",R=p===q;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:q}),R?o.jsx("input",{className:"translation-input editing",value:f,onChange:V=>g(V.target.value),onBlur:S,onKeyDown:C,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${B?"":"empty"}`,onClick:()=>j(A),title:"Cliquer pour éditer",children:B||"Cliquer pour ajouter..."})]},A)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:M,onChange:A=>v(A.target.value),children:N.map(A=>o.jsx("option",{value:A.toUpperCase(),children:A.toUpperCase()},A))}),o.jsx("input",{className:"translation-input editing",value:L,onChange:A=>b(A.target.value),onKeyDown:z,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(C1,{size:18,className:"action-icon confirm",onClick:T}),o.jsx(tt,{size:18,className:"action-icon cancel",onClick:D})]})]}):N.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:$,children:[o.jsx(Ac,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},o9e="_overlay_17ypf_1",c9e="_modal_17ypf_15",i9e="_body_17ypf_27",r9e="_footer_17ypf_46",s9e="_confirmButton_17ypf_55",d9e="_danger_17ypf_71",l9e="_cancelButton_17ypf_75",St={overlay:o9e,modal:c9e,body:i9e,footer:r9e,confirmButton:s9e,danger:d9e,cancelButton:l9e},h9e=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h,footerStyle:u,cancelButtonStyle:p,confirmButtonStyle:y})=>e?o.jsx("div",{className:St.overlay,onClick:c,children:o.jsxs("div",{className:St.modal,onClick:f=>f.stopPropagation(),children:[o.jsx("div",{className:St.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:St.footer,style:u,children:[r&&o.jsx("button",{className:St.cancelButton,onClick:c,style:p,children:r}),l&&h&&o.jsx("button",{className:St.confirmButton,onClick:h,children:l}),i&&o.jsx("button",{className:`${St.confirmButton} ${s?St.danger:""}`,onClick:n,style:y,children:i})]})]})}):null,u9e="_card_1ildr_1",p9e="_topIcon_1ildr_17",y9e="_title_1ildr_24",k9e="_text_1ildr_31",m9e="_bottomIcon_1ildr_37",v1={card:u9e,topIcon:p9e,title:y9e,text:k9e,bottomIcon:m9e},f9e=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff",a11yConfig:h})=>o.jsxs("div",{className:`${v1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:Y(h,t),children:[e&&o.jsx("div",{className:v1.topIcon,children:e}),o.jsx("h3",{className:v1.title,style:{color:s},children:t}),o.jsx("p",{className:v1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:v1.bottomIcon,children:c})]}),g9e="_container_1bmmf_1",v9e="_disabled_1bmmf_9",x9e="_selectBox_1bmmf_14",M9e="_selectBoxOpen_1bmmf_36",_9e="_tagsContainer_1bmmf_41",L9e="_tagsContainerWrap_1bmmf_51",I9e="_tag_1bmmf_41",b9e="_tagLabel_1bmmf_72",w9e="_removeBtnContainer_1bmmf_78",C9e="_removeBtn_1bmmf_78",N9e="_searchInput_1bmmf_103",S9e="_placeholder_1bmmf_123",j9e="_actions_1bmmf_130",$9e="_clearBtn_1bmmf_137",q9e="_chevron_1bmmf_159",A9e="_chevronOpen_1bmmf_165",z9e="_dropdown_1bmmf_169",V9e="_option_1bmmf_183",P9e="_optionHeader_1bmmf_196",T9e="_noOptions_1bmmf_212",H9e="_overflowBlock_1bmmf_219",D9e="_overflowEllipsis_1bmmf_226",B9e="_overflowBadge_1bmmf_233",R9e="_overflowBadgeWrap_1bmmf_256",F9e="_overflowDropdown_1bmmf_262",E9e="_overflowDropdownItem_1bmmf_278",O9e="_overflowDropdownItemLabel_1bmmf_289",U9e="_overflowDropdownItemRemove_1bmmf_296",se={container:g9e,disabled:v9e,selectBox:x9e,selectBoxOpen:M9e,tagsContainer:_9e,tagsContainerWrap:L9e,tag:I9e,tagLabel:b9e,removeBtnContainer:w9e,removeBtn:C9e,searchInput:N9e,placeholder:S9e,actions:j9e,clearBtn:$9e,chevron:q9e,chevronOpen:A9e,dropdown:z9e,option:V9e,optionHeader:P9e,noOptions:T9e,overflowBlock:H9e,overflowEllipsis:D9e,overflowBadge:B9e,overflowBadgeWrap:R9e,overflowDropdown:F9e,overflowDropdownItem:E9e,overflowDropdownItemLabel:O9e,overflowDropdownItemRemove:U9e},W9e=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:l=!1})=>{const[h,u]=k.useState(!1),[p,y]=k.useState(""),f=k.useRef(null),g=k.useRef(null),m=k.useRef(null),x=k.useRef(null),[M,v]=k.useState(null),[L,b]=k.useState(!1),w=k.useRef([]),N=k.useRef(null),_=k.useMemo(()=>{const q=new Map(e.map(B=>[B.value,B]));return n.map(B=>q.get(B)).filter(B=>B!==void 0)},[e,n]),I=k.useMemo(()=>e.filter(q=>!n.includes(q.value)),[e,n]),j=k.useMemo(()=>{let q=I;return p&&(q=q.filter(B=>B.label.toLowerCase().includes(p.toLowerCase()))),q.filter((B,R)=>{if(!B.isHeader)return!0;for(let V=R+1;V<q.length&&!q[V].isHeader;V++)return!0;return!1})},[I,p]);k.useEffect(()=>{const q=B=>{const R=B.target;f.current&&!f.current.contains(R)&&(u(!1),y(""),v(null),b(!1))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{if(l)return;if(_.length===0){v(null),w.current=[];return}_.length>w.current.length&&v(null);const q=()=>{const O=m.current,J=x.current;if(!O||!J)return;const F=J.getBoundingClientRect().width,K=J.querySelector(`.${se.actions}`),ue=K?K.getBoundingClientRect().width:80,ce=56,xe=r?80:0,ie=16,ae=Array.from(O.querySelectorAll(`.${se.tag}`));ae.length===_.length&&(w.current=ae.map(ge=>{const Se=ge.getBoundingClientRect(),Dc=ge.scrollWidth;return Math.max(Se.width,Dc,ge.offsetWidth||0)}));const ne=w.current,de=ne.length>0?ne.reduce((ge,Se)=>ge+Se,0)/ne.length:120,pe=_.length<=ne.length?ne.slice(0,_.length):[...ne,...Array(_.length-ne.length).fill(de)],me=4,U=Math.max(0,F-ue-xe-ie);let X=0,re=0;for(let ge=0;ge<_.length;ge++){const Se=pe[ge]??120;if(X+Se+me>U)break;X+=Se+me,re++}if(re>=_.length){v(null);return}const je=Math.max(0,F-ce-ue-xe-ie);X=0;let Be=0;for(let ge=0;ge<_.length;ge++){const Se=pe[ge]??120;if(X+Se+me>je)break;X+=Se+me,Be++}Be<_.length&&Be>0?v(Be):v(null)},B=requestAnimationFrame(()=>{q()}),R=setTimeout(q,100),V=new ResizeObserver(()=>{q()});return x.current&&V.observe(x.current),()=>{cancelAnimationFrame(B),clearTimeout(R),V.disconnect()}},[_,r,h,l]);const S=()=>{if(d)return;const q=!h;q&&b(!1),u(q),q&&r&&setTimeout(()=>g.current?.focus(),0)},C=q=>{if(n.includes(q.value))return;b(!1);const B=[..._,q];c(B),y(""),v(null),u(!1)},$=q=>{q.preventDefault(),q.stopPropagation(),b(B=>!B)},T=M!=null&&M<_.length?_.slice(M):[],D=(q,B)=>{B.stopPropagation();const R=_.filter(V=>V.value!==q);c(R)},z=q=>{q.stopPropagation(),c([])},A=q=>{q.stopPropagation(),h||u(!0)};return o.jsxs("div",{className:`${se.container} ${s} ${d?se.disabled:""}`,ref:f,children:[o.jsxs("div",{ref:x,className:`${se.selectBox} ${h?se.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":h,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${se.tagsContainer} ${l?se.tagsContainerWrap:""}`,ref:m,children:[M!==null&&M>0?_.slice(0,M).map((q,B)=>o.jsxs("div",{className:se.tag,children:[o.jsx("div",{className:se.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:se.removeBtnContainer,children:o.jsx("button",{type:"button",className:se.removeBtn,onClick:R=>D(q.value,R),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${B}`)):_.map((q,B)=>o.jsxs("div",{className:se.tag,children:[o.jsx("div",{className:se.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:se.removeBtnContainer,children:o.jsx("button",{type:"button",className:se.removeBtn,onClick:R=>D(q.value,R),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${B}`)),r?o.jsx("input",{ref:g,type:"text",className:se.searchInput,placeholder:_.length===0?i:"",value:p,onChange:q=>{y(q.target.value),h||u(!0)},onClick:A,disabled:d}):_.length===0&&o.jsx("span",{className:se.placeholder,children:i})]}),!l&&M!==null&&M<_.length&&o.jsxs("div",{className:se.overflowBlock,children:[o.jsx("span",{className:se.overflowEllipsis,children:"..."}),o.jsxs("div",{className:se.overflowBadgeWrap,children:[o.jsx("button",{ref:N,type:"button",className:se.overflowBadge,onClick:$,"aria-label":`Afficher ${T.length} éléments cachés`,children:T.length}),L&&T.length>0&&o.jsx("div",{className:se.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:T.map((q,B)=>o.jsxs("div",{className:se.overflowDropdownItem,children:[o.jsx("span",{className:se.overflowDropdownItemLabel,children:q.label}),o.jsx("button",{type:"button",className:se.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),D(q.value,R)},"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${q.value}-${B}`))})]})]}),o.jsxs("div",{className:se.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:se.clearBtn,onClick:z,"aria-label":"Effacer tout",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:o.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),o.jsx("svg",{className:`${se.chevron} ${h?se.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),h&&!d&&o.jsx("div",{className:se.dropdown,role:"listbox",children:j.length>0?j.map((q,B)=>o.jsx("div",{className:`${se.option} ${q.isHeader?se.optionHeader:""}`,onClick:()=>!q.isHeader&&C(q),role:"option","aria-selected":!1,children:q.label},`opt-${q.value}-${B}`)):o.jsx("div",{className:se.noOptions,children:t})})]})},G9e="_container_h7jek_1",Dj={container:G9e},K9e=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={},order:l})=>{const h=k.useMemo(()=>{const g=i.length===0?c:c.filter(x=>x&&i.includes(String(x.uf).replace(/^0+/,""))),m=new Set;return g.filter(x=>{if(!x||!x.uf)return!1;const M=String(x.uf).replace(/^0+/,"");return m.has(M)?!1:(m.add(M),!0)})},[c,i]),u=k.useMemo(()=>h.reduce((g,m)=>({disponibles:g.disponibles+(m.totalAvailable??m.disponibles??0),homme:g.homme+(m.availableMen??m.disponibleHomme??0),femme:g.femme+(m.availableWomen??m.disponibleFemme??0),indifferencie:g.indifferencie+(m.availableIndifferentSex??m.indifferences??0),sorties:g.sorties+(m.outToday??m.sortie24??0),occupiedBed:g.occupiedBed+(m.occupiedBed??0),patientsPresents:g.patientsPresents+(m.patientsPresents??0),occupationRate:g.occupationRate+(m.occupationRate??0),occupesRaw:g.occupesRaw+(m.occupesRaw??0),ouvertsRaw:g.ouvertsRaw+(m.ouvertsRaw??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0,occupiedBed:0,patientsPresents:0,occupationRate:0,occupesRaw:0,ouvertsRaw:0}),[h]),p=g=>d.disponibles?d.disponibles:g>3?"#35994E":g>=1?"#EF6C00":"#C62828",y={bars:"none",justifyContent:"flexStart",alignItems:"center",valueFontWeight:"400",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}},f=(g,m)=>{const x=l!==void 0&&m===l.length-1;switch(g){case"disponibles":return{...y,value:u.disponibles.toLocaleString("fr-FR"),backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",titleColor:"white",valueColor:"white"};case"occupiedBed":return{...y,value:u.occupiedBed.toLocaleString("fr-FR"),backgroundColor:d.occupes??d.homme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"patientsPresents":return{...y,value:u.patientsPresents.toLocaleString("fr-FR"),backgroundColor:d.patientsPresents??d.femme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"occupationRate":{const M=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${M.toLocaleString("fr-FR")}%`,backgroundColor:d.occupationRate??d.indifferencie??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"}}case"outToday":return{...y,value:u.sorties.toLocaleString("fr-FR"),backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",titleColor:s,valueColor:s}}};return l&&l.length>0?o.jsx("div",{className:Dj.container,children:l.map((g,m)=>o.jsx(xt,{a11yConfig:e[m],titleKey:t[m],label:n[m],iconName:r[m],...f(g,m)},g))}):o.jsxs("div",{className:Dj.container,children:[o.jsx(xt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:u.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:p(u.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"}}),o.jsx(xt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:u.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(xt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:u.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(xt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:u.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(xt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:u.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Z9e="_container_1pt6c_1",X9e="_chartContainer_1pt6c_14",Y9e="_legend_1pt6c_22",J9e="_legendItem_1pt6c_29",Q9e="_leftSection_1pt6c_41",exe="_colorIndicator_1pt6c_47",txe="_label_1pt6c_54",axe="_rightSection_1pt6c_60",nxe="_ratio_1pt6c_66",oxe="_value1_1pt6c_73",cxe="_separator_1pt6c_78",ixe="_value2_1pt6c_82",rxe="_statusIndicator_1pt6c_87",sxe="_inactive_1pt6c_102",Oe={container:Z9e,chartContainer:X9e,legend:Y9e,legendItem:J9e,leftSection:Q9e,colorIndicator:exe,label:txe,rightSection:axe,ratio:nxe,value1:oxe,separator:cxe,value2:ixe,statusIndicator:rxe,inactive:sxe},Bj=Math.PI/180,dxe=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:f,separatorColor:g,borderColor:m,hideDonut:x=!0,hideColorIndicator:M=!1})=>{const[v,L]=k.useState(new Set(e.map(S=>S.nom))),b=S=>{const C=new Set(v);C.has(S)?C.size>1&&C.delete(S):C.add(S),L(C)},w={...p,"--bg-color":n||c||"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":g||"#03a9f4","--border-color":m||"#e0e0e0"},N=k.useMemo(()=>e.map(S=>({...S,displayValue:v.has(S.nom)?S.value:0})),[e,v]),_=k.useMemo(()=>e.every(S=>S.value===0),[e]),I=k.useMemo(()=>_?1:N.reduce((S,C)=>S+C.displayValue,0)||1,[_,N]),j=k.useCallback(({cx:S,cy:C,midAngle:$,innerRadius:T,outerRadius:D,value:z})=>{if(z===0||_)return null;const A=T+(D-T)*.5,q=S+A*Math.cos(-$*Bj),B=C+A*Math.sin(-$*Bj),R=Math.round(z/I*100);return o.jsx(a.Text,{x:q,y:B,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[I,_]);return o.jsxs("div",{className:`${Oe.container} ${u}`,style:w,children:[!x&&o.jsx("div",{className:Oe.chartContainer,style:{height:t/2+100},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:o.jsx(a.PieChart,{children:o.jsx(a.Pie,{data:_?[{displayValue:1,color:"#A3C2CB"}]:N,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:_?0:2,startAngle:90,endAngle:450,labelLine:!1,label:j,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):N.map((S,C)=>o.jsx(a.Cell,{fill:S.color},`cell-${C}`))})})})}),o.jsx("div",{className:Oe.legend,children:e.map((S,C)=>{const $=v.has(S.nom);return o.jsxs("div",{className:`${Oe.legendItem} ${!x&&!$?Oe.inactive:""}`,onClick:()=>b(S.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:Oe.leftSection,children:[!M&&o.jsx("div",{className:Oe.colorIndicator,style:{backgroundColor:S.color,opacity:x||$?1:.3}}),o.jsx("span",{className:Oe.label,style:{opacity:x||$?1:.5},children:S.nom})]}),o.jsxs("div",{className:Oe.rightSection,style:{opacity:x||$?1:.5},children:[o.jsxs("div",{className:Oe.ratio,children:[o.jsx("span",{className:Oe.value1,children:S.value1}),o.jsx("span",{className:Oe.separator,children:"/"}),o.jsx("span",{className:Oe.value2,children:S.value2})]}),S.statusColor&&o.jsx("div",{className:Oe.statusIndicator,style:{backgroundColor:S.statusColor}})]})]},`legend-${C}`)})})]})},lxe="_container_1pc4v_1",hxe="_leftGroup_1pc4v_10",uxe="_iconBtn_1pc4v_16",ui={container:lxe,leftGroup:hxe,iconBtn:uxe},pxe=e=>te.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},te.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),yxe=k.memo(pxe),kxe=e=>te.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},te.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"})),AA=k.memo(kxe),mxe=({menuIcon:e,logoProps:t,actionIcon:n,style:c,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,...c};return o.jsxs("header",{className:[ui.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ui.leftGroup,children:[o.jsx("button",{className:ui.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(yxe,{width:22,height:22})}),o.jsx(IL,{...t,size:"medium"})]}),o.jsx("button",{className:ui.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(AA,{width:22,height:22})})]})},fxe="_container_24g3e_1",gxe="_iconBtn_24g3e_10",vxe="_title_24g3e_22",pi={container:fxe,iconBtn:gxe,title:vxe},xxe=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,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,...c};return o.jsxs("div",{className:[pi.container,i].filter(Boolean).join(" "),style:f,children:[o.jsx("button",{className:pi.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(qA,{width:22,height:22})}),o.jsx("span",{className:pi.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:pi.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(AA,{width:22,height:22})})]})};function zA(e){return e.state?e.state:e.active?"active":"available"}const Mxe=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(yt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:l})=>{const h=k.useMemo(()=>i.filter(u=>zA(u)==="active").length,[i]);return o.jsxs(_xe,{id:d,children:[o.jsxs(Lxe,{children:[o.jsxs(Ixe,{children:[o.jsx(bxe,{children:e}),o.jsxs(wxe,{children:["(",h," ",t,")"]})]}),c&&o.jsx(Cxe,{onClick:c,title:"Action",children:n})]}),o.jsx(Nxe,{children:o.jsx(Sxe,{children:i.map(u=>o.jsx($xe,{item:u,activeColor:s,onItemClick:r},u.id))})}),l&&o.jsx(qxe,{children:l})]})},_xe=E.div`
|
|
8347
|
+
`,style:{...oe,backgroundColor:t===Le.value?j||"#F0F4F6":"transparent"},onMouseEnter:wt=>{L&&(wt.currentTarget.style.backgroundColor=L)},onMouseLeave:wt=>{L&&(wt.currentTarget.style.backgroundColor=t===Le.value?j||"#F0F4F6":"transparent")},role:"option","aria-selected":t===Le.value,children:o.jsxs("div",{className:Ne.itemContent,style:be,children:[Le.icon&&o.jsx("span",{className:Ne.itemIcon,style:ge,children:Le.icon}),o.jsx("span",{className:Ne.itemLabel,children:Le.label})]})},Le.value))})})]})},b7e="_filterBar_1hlqe_3",w7e="_label_1hlqe_11",Tj={filterBar:b7e,label:w7e},C7e=({label:e="Filtres",startDate:t,endDate:n,granularity:c,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:g="0.875rem",labelFontWeight:m="400",labelColor:x="#212529",labelMarginRight:M="1rem",startDateWidth:v,endDateWidth:I,selectWidth:b,datePickerProps:w={},selectProps:N={},rightContent:_,extraContent:L})=>{const j={fontSize:g,fontWeight:m,color:x,marginRight:M},S={gap:f};return o.jsxs("div",{className:`${Tj.filterBar} ${p}`,style:S,children:[e&&o.jsx("span",{className:Tj.label,style:j,children:e}),o.jsx(Mw,{value:t,onChange:i,placeholder:l,fullWidth:!1,disabled:y,label:void 0,width:v,...w}),o.jsx(Mw,{value:n,onChange:r,placeholder:h,fullWidth:!1,disabled:y,label:void 0,width:I,...w}),o.jsx($A,{items:d,value:c,onChange:s,placeholder:u,fullWidth:!1,disabled:y,label:void 0,width:b,...N}),L,_&&o.jsx("div",{style:{marginLeft:"auto"},children:_})]})},N7e="_container_1x6mq_16",S7e="_disabled_1x6mq_26",j7e="_predStyle_1x6mq_32",$7e="_realStyle_1x6mq_36",q7e="_predGap_1x6mq_40",A7e="_realGap_1x6mq_44",z7e="_big_1x6mq_49",V7e="_medium_1x6mq_53",P7e="_iconWrapper_1x6mq_58",T7e="_predRelative_1x6mq_68",H7e="_realRelative_1x6mq_72",D7e="_iconImg_1x6mq_76",B7e="_content_1x6mq_84",R7e="_header_1x6mq_93",F7e="_predJustify_1x6mq_99",E7e="_realJustify_1x6mq_103",O7e="_predHeaderLineHeight_1x6mq_116",U7e="_realHeaderLineHeight_1x6mq_120",W7e="_title_1x6mq_129",G7e="_titleBlack_1x6mq_144",K7e="_titleWhite_1x6mq_148",Z7e="_subtitle_1x6mq_153",X7e="_valueRowHorizontal_1x6mq_163",Y7e="_valueRowVertical_1x6mq_171",J7e="_singleValue_1x6mq_180",Q7e="_primaryRow_1x6mq_184",eve="_maxBadge_1x6mq_191",tve="_valuePrimary_1x6mq_203",ave="_valuePrimaryBlack_1x6mq_210",nve="_valuePrimaryWhite_1x6mq_214",ove="_valueSlash_1x6mq_219",cve="_valueSecondary_1x6mq_226",ive="_valueSecondaryBlue_1x6mq_232",rve="_valueSecondaryWhite_1x6mq_236",sve="_valueSecondaryBlack_1x6mq_240",dve="_valueStacked_1x6mq_245",lve="_stackedTop_1x6mq_254",hve="_stackedBottom_1x6mq_255",ye={container:N7e,disabled:S7e,predStyle:j7e,realStyle:$7e,predGap:q7e,realGap:A7e,big:z7e,medium:V7e,iconWrapper:P7e,predRelative:T7e,realRelative:H7e,iconImg:D7e,content:B7e,header:R7e,predJustify:F7e,realJustify:E7e,predHeaderLineHeight:O7e,realHeaderLineHeight:U7e,title:W7e,titleBlack:G7e,titleWhite:K7e,subtitle:Z7e,valueRowHorizontal:X7e,valueRowVertical:Y7e,singleValue:J7e,primaryRow:Q7e,maxBadge:eve,valuePrimary:tve,valuePrimaryBlack:ave,valuePrimaryWhite:nve,valueSlash:ove,valueSecondary:cve,valueSecondaryBlue:ive,valueSecondaryWhite:rve,valueSecondaryBlack:sve,valueStacked:dve,stackedTop:lve,stackedBottom:hve},uve=({a11yConfig:e,iconName:t,title:n,subtitle:c,showSubtitle:i,realised:r="-",prediction:s="-",size:d="big",titleColor:l="black",valueColor:h="blue",realValueColor:u,predictionValueColor:p,className:y="",style:f="",variant:g="horizontal",showMax:m=!1,titleFontSize:x,titleFontWeight:M,subtitleFontSize:v,subtitleFontWeight:I,primaryFontSize:b,primaryFontWeight:w,secondaryFontSize:N,secondaryFontWeight:_,backgroundColor:L="#f2f9fc",gap:j="",disabled:S=!1,positionRelative:C="",justifyContent:$="",headerLineHeight:T="",headerMinHeight:D="",contentSpace:z="",titleKey:A,subtitleKey:q,subtitleA11yKey:B,maxBadgeKey:R,maxBadgeA11yKey:V,predictionKey:U,predictionA11yKey:te,realisedKey:F,realisedA11yKey:O})=>{const ie=i!==void 0?i:!!c,ce=`${ye.container} ${ye[d]} ${ye[f]} ${S?ye.disabled:""}`,xe=h==="white"?ye.valuePrimaryWhite:ye.valuePrimaryBlack,re=h==="blue"?ye.valueSecondaryBlue:h==="white"?ye.valueSecondaryWhite:ye.valueSecondaryBlack,ae=W=>W===void 0?void 0:typeof W=="number"?`${W}px`:W,ne=W=>W===void 0?void 0:W,le=g==="vertical",pe=s!=null&&s!==""&&s!=="-"&&s!=="—",me=le?ye.valueRowVertical:ye.valueRowHorizontal;return o.jsxs("div",{className:`${ce} ${y}`,style:{backgroundColor:L},children:[t&&o.jsx("div",{className:`${ye.iconWrapper} ${ye[C]}`,children:t}),o.jsxs("div",{className:`${ye.content} ${ye[j]} ${pe?"":ye.singleValue} content-indicator-v2`,style:{justifyContent:z},children:[o.jsx("div",{className:`${ye.header} ${ye[$]} ${ye[T]} header-indicator-v2`,style:{minHeight:D},children:o.jsx("h6",{className:`${ye.title}`,style:{fontSize:ae(x),fontWeight:ne(M),color:l},title:Y(e,A),children:n})}),ie&&c?o.jsx("div",{className:"subtitle-container",children:o.jsx("span",{className:ye.subtitle,style:{fontSize:ae(v),fontWeight:ne(I)},title:Y(e,q,B),children:c})}):null,o.jsxs("div",{className:`${me} count-indicator-v2`,children:[o.jsxs("div",{className:ye.primaryRow,children:[m&&o.jsx("span",{className:`${ye.maxBadge} max-badge-indicator-v2`,title:Y(e,R,V),children:"MAX"}),o.jsx("span",{className:`${ye.valuePrimary} ${xe}`,style:{fontSize:ae(b||(!pe&&le?"1.75rem":void 0)),fontWeight:ne(w),color:u||void 0},title:Y(e,F,O),children:r})]}),pe&&o.jsxs(o.Fragment,{children:[!le&&o.jsx("span",{className:ye.valueSlash,style:{fontSize:ae(N),fontWeight:ne(_)},children:"/"}),o.jsx("span",{className:`${ye.valueSecondary} ${re}`,style:{fontSize:ae(N),fontWeight:ne(_),color:p||void 0},title:Y(e,U,te),children:s})]})]})]})]})},pve="_banner_f10in_2",yve="_iep_f10in_14",kve="_groupSmall_f10in_24",mve="_genre_f10in_34",fve="_gravite_f10in_42",gve="_orientationContainer_f10in_48",vve="_service_f10in_61",xve="_roomBedContainer_f10in_71",Mve="_room_f10in_71",_ve="_bed_f10in_87",Lve="_bedUf_f10in_92",Ive="_statusContainer_f10in_97",bve="_status_f10in_97",wve="_centeredWarn_f10in_124",Ee={banner:pve,iep:yve,groupSmall:kve,genre:mve,gravite:fve,orientationContainer:gve,service:vve,roomBedContainer:xve,room:Mve,bed:_ve,bedUf:Lve,statusContainer:Ive,status:bve,centeredWarn:wve},Cve=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 16 16",...e},ee.createElement("mask",{id:"a",width:16,height:16,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},ee.createElement("path",{fill:"#D9D9D9",d:"M0 0h16v16H0z"})),ee.createElement("g",{mask:"url(#a)"},ee.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"}))),Hj=k.memo(Cve),Nve=({patient:e,genre:t,gravite:n,bed:c,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:g,style:m,warn:x=!1,warnMessage:M,warnColor:v="#F94134"})=>o.jsxs("div",{className:Ee.banner,style:{backgroundColor:l,...m},children:[o.jsxs("div",{className:Ee.iep,children:[o.jsx("div",{style:{color:u},children:e.iep??"--"}),o.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,")"]})]}),o.jsxs("div",{className:Ee.groupSmall,children:[o.jsx("span",{className:`${Ee.genre} genre-info-banner`,style:{color:"#ffffff",background:f,fontSize:g},children:t??"--"}),o.jsx("span",{className:`${Ee.gravite} gravite-info-banner`,children:n??"--"})]}),o.jsx("div",{className:Ee.orientationContainer,children:o.jsx("div",{className:Ee.service,style:{color:h},children:s??"--"})}),o.jsxs("div",{className:Ee.roomBedContainer,children:[i&&o.jsx("span",{className:Ee.bedUf,children:i}),o.jsx("span",{className:Ee.room,children:r??"--"}),o.jsx("span",{className:Ee.bed,children:c??"--"})]}),o.jsxs("div",{className:Ee.statusContainer,children:[d?o.jsx("div",{className:`${Ee.status} status-info-banner`,style:{color:p,backgroundColor:y},children:d}):x&&o.jsxs("div",{className:Ee.centeredWarn,style:{textTransform:"uppercase"},children:[o.jsx(Hj,{color:v,width:20,height:20,style:{marginRight:"6px"}}),o.jsx("span",{style:{color:v,fontSize:"12px",fontWeight:600},children:M})]}),d&&x&&o.jsxs("div",{style:{display:"flex",alignItems:"center",justifyContent:"flex-start",color:v,fontSize:"10px",fontWeight:400,marginTop:"4px",textTransform:"uppercase"},children:[o.jsx(Hj,{color:v,width:12,height:12,style:{marginRight:"4px"}}),o.jsx("span",{children:M})]})]})]}),Sve=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"M200-200v-240h60v180h180v60zm500-320v-180H520v-60h240v240z"})),jve=k.memo(Sve),$ve=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.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"})),qA=k.memo($ve),qve=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",viewBox:"0 -960 960 960",...e},ee.createElement("path",{d:"M440-440v240h-60v-180H200v-60zm140-320v180h180v60H520v-240z"})),Ave=k.memo(qve),zve="_overlay_1sx2l_1",Vve="_container_1sx2l_11",Pve="_fullscreen_1sx2l_24",Tve="_header_1sx2l_30",Hve="_headerActions_1sx2l_42",Dve="_iconButton_1sx2l_47",Bve="_body_1sx2l_58",Rve="_sidebar_1sx2l_65",Fve="_content_1sx2l_91",Eve="_contentHeader_1sx2l_98",Ove="_childrenWrapper_1sx2l_114",Uve="_footer_1sx2l_138",Wve="_baseButton_1sx2l_147",Gve="_noOverlay_1sx2l_161",Kve="_contained_1sx2l_169",$e={overlay:zve,container:Vve,fullscreen:Pve,header:Tve,headerActions:Hve,iconButton:Dve,body:Bve,sidebar:Rve,content:Fve,contentHeader:Eve,childrenWrapper:Ove,footer:Uve,baseButton:Wve,noOverlay:Gve,contained:Kve},Zve=({headerText:e,headerTextColor:t="var(--color-text)",backgroundColor:n="var(--color-background)",headerFontSize:c="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:g=!1,hideSidebar:m=!1,onDelete:x,deleteLabel:M="Supprimer",width:v="75%",maxWidth:I="none",height:b="85%",maxHeight:w="85%",borderRadius:N="0.5rem",childrenPadding:_="1rem",overflow:L="auto",contentHeaderAction:j,contentFooterAction:S,footerOverride:C,hideFooter:$=!1,hideOverlay:T=!1,position:D,a11yConfig:z})=>{const[A,q]=k.useState(!1),B=k.useRef(null);if(k.useEffect(()=>{if(!r||!T)return;const V=U=>{(U.type==="scroll"||U.type==="wheel"||U.type==="touchmove"||B.current&&!B.current.contains(U.target))&&s()};return document.addEventListener("mousedown",V),document.addEventListener("scroll",V,!0),document.addEventListener("wheel",V,{passive:!0,capture:!0}),document.addEventListener("touchmove",V,{passive:!0,capture:!0}),()=>{document.removeEventListener("mousedown",V),document.removeEventListener("scroll",V,!0),document.removeEventListener("wheel",V,!0),document.removeEventListener("touchmove",V,!0)}},[r,T,s]),!r)return null;const R=(V,U=!1)=>o.jsx(uL,{onClick:V.disabled?void 0:V.onClick,className:$e.baseButton,disabled:V.disabled,style:{background:V.backgroundColor??(U?"#008FBB":"#ffffff"),color:V.textColor??(U?"#ffffff":"#374151"),border:V.borderColor?`1px solid ${V.borderColor}`:U?"none":void 0,cursor:V.disabled?V.cursor??"not-allowed":V.cursor??"pointer",filter:V.disabled?V.filter??"grayscale(0.5)":V.filter??"none",opacity:V.disabled?.65:1},title:Y(V.a11yConfig,V.text),children:V.text});return o.jsx("div",{className:T?$e.noOverlay:$e.overlay,onClick:s,children:o.jsxs("div",{ref:B,className:`${$e.container} ${A?$e.fullscreen:""} ${T?$e.contained:""}`,onClick:V=>V.stopPropagation(),style:{width:A?"100%":v,maxWidth:A?"none":I,height:A?"100%":b,maxHeight:A?"100%":w,borderRadius:A?"0":N,overflow:L,...D||{}},children:[!g&&o.jsxs("header",{className:$e.header,style:{backgroundColor:n},children:[o.jsx("h2",{style:{fontSize:c,fontWeight:i,color:t},title:Y(z,e),children:e}),o.jsxs("div",{className:$e.headerActions,children:[!f&&o.jsx("button",{onClick:()=>q(!A),className:$e.iconButton,title:A?"Réduire":"Agrandir",children:A?o.jsx(Ave,{width:22,height:22,fill:t}):o.jsx(jve,{width:22,height:22,fill:t})}),o.jsx("button",{onClick:s,className:$e.iconButton,title:"Fermer",children:o.jsx(qA,{width:22,height:22,fill:t})})]})]}),o.jsxs("div",{className:$e.body,style:{overflow:L},children:[y&&!m&&o.jsx("aside",{className:$e.sidebar,children:y}),o.jsxs("main",{className:$e.content,style:{backgroundColor:p,overflow:L},children:[u&&o.jsxs("header",{className:$e.contentHeader,style:{backgroundColor:n},children:[o.jsx("span",{style:{color:t},children:u}),j]}),o.jsx("div",{className:$e.childrenWrapper,style:{padding:_,overflow:L},children:h})]})]}),!$&&o.jsx("footer",{className:$e.footer,style:{backgroundColor:n},children:C!==void 0?C:o.jsxs(o.Fragment,{children:[x&&o.jsx(uL,{onClick:x,className:$e.baseButton,style:{background:"#fee2e2",color:"#ef4444",marginRight:"auto",border:"none"},children:M}),S,R(d),R(l,!0)]})})]})})},Xve="_container_1vb1c_1",Yve="_searchWrapper_1vb1c_10",Jve="_navItems_1vb1c_17",Wb={container:Xve,searchWrapper:Yve,navItems:Jve},Qve=({items:e,activeId:t,activeColor:n="#00aec7",backgroundColor:c="#fff",textColor:i="#000",onItemClick:r,searchValue:s="",onSearchChange:d,searchPlaceholder:l="Rechercher",width:h="100%",className:u=""})=>o.jsxs("div",{className:`${Wb.container} ${u}`,style:{width:h,backgroundColor:c,color:i},children:[o.jsx("div",{className:Wb.searchWrapper,children:o.jsx(bA,{value:s,onChange:d,placeholder:l,iconPosition:"right",iconColor:"var(--color-text)"})}),o.jsx("div",{className:Wb.navItems,children:e.map(p=>o.jsx(sC,{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))})]}),e9e=({modules:e,selectedModuleId:t,onSelectModule:n,onAddModule:c,onItemAdd:i,onEditModule:r,onDeleteModule:s,onReorder:d,title:l="Modules",titleKey:h,addModuleTitle:u="Ajouter un module",addModuleLabel:p="Titre",addModulePlaceholder:y="Nom du module",renameModuleTitle:f="Renommer le module",renameModuleLabel:g="Titre",renameModulePlaceholder:m="Nom du module",confirmText:x="Valider",cancelText:M="Annuler",headerLabel:v,headerLabelKey:I,showAddIcon:b=!0,showCount:w=!0,showToggle:N=!1,showActions:_=!0,onToggle:L,a11yConfig:j})=>{const[S,C]=k.useState(!1),[$,T]=k.useState(null),[D,z]=k.useState(null),[A,q]=k.useState(null),[B,R]=k.useState(null),V=()=>{R(W=>W===null?"asc":W==="asc"?"desc":null),L&&L()},U=k.useMemo(()=>B?[...e].sort((W,X)=>{const se=W.title.toLowerCase(),je=X.title.toLowerCase();return B==="asc"?se.localeCompare(je):je.localeCompare(se)}):e,[e,B]),te=()=>C(!0),F=()=>C(!1),O=W=>{const X=W.title?.trim();X&&c&&c(X),F()},ie=(W,X)=>{W.stopPropagation(),T(X)},ce=()=>T(null),xe=W=>{const X=W.title?.trim();$&&X&&r&&r($,X),ce()},re=(W,X)=>{W.stopPropagation(),s&&s(X)},ae=(W,X)=>{W.stopPropagation(),i&&i(X)},ne=(W,X)=>{z(X),W.dataTransfer.effectAllowed="move"},le=(W,X)=>{D!==null&&(W.preventDefault(),W.dataTransfer.dropEffect="move",X!==A&&q(X))},pe=(W,X)=>{if(W.preventDefault(),D===null||D===X||!d)return;const se=[...U],[je]=se.splice(D,1);se.splice(X,0,je),R(null),d(se),z(null),q(null)},me=()=>{z(null),q(null)};return o.jsxs("div",{className:"module-sidebar-v2",children:[o.jsx("div",{className:"sidebar-header",children:v?o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-label-container",onClick:V,children:[o.jsx("div",{className:"header-label",title:Y(j,I),children:v}),B==="asc"?o.jsx(e1,{size:12,className:"header-toggle-icon",strokeWidth:3}):o.jsx(Qc,{size:12,className:"header-toggle-icon",strokeWidth:3})]}),b&&o.jsx(qc,{size:18,className:"add-view-icon",onClick:te})]}):o.jsxs(o.Fragment,{children:[o.jsxs("div",{className:"header-title",title:Y(j,h),children:[N&&(B==="asc"?o.jsx(e1,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V}):o.jsx(Qc,{size:12,className:"header-toggle-icon default-toggle",strokeWidth:3,onClick:V})),l," ",w&&`(${U.length})`]}),b&&o.jsx(qc,{size:18,className:"add-view-icon",onClick:te})]})}),o.jsx("div",{className:"module-list",children:U.map((W,X)=>o.jsxs("div",{className:`module-item ${W.id===t?"selected":""} ${A===X&&D!==X?"drag-over":""} ${D===X?"dragging":""}`,onClick:()=>n&&n(W),draggable:!!d,onDragStart:d?se=>ne(se,X):void 0,onDragOver:d?se=>le(se,X):void 0,onDrop:d?se=>pe(se,X):void 0,onDragEnd:d?me:void 0,children:[W.icon||o.jsx(q1,{size:18,className:"drag-handle"}),o.jsxs("div",{className:"module-content",title:Y(W.a11yConfig,W.titleKey),children:[o.jsx("div",{className:"module-title",children:W.title}),W.subtitle&&o.jsx("div",{className:"module-subtitle",children:W.subtitle})]}),typeof W.count<"u"&&o.jsx("span",{className:"module-count",children:W.count}),_&&o.jsxs("div",{className:"module-actions",children:[i&&o.jsx(Ac,{size:14,className:"action-icon add",onClick:se=>ae(se,W)}),r&&o.jsx(vt,{size:12,className:"action-icon edit",onClick:se=>ie(se,W)}),s&&o.jsx(yt,{size:12,className:"action-icon delete",onClick:se=>re(se,W)})]})]},W.id))}),o.jsx(Hc,{isOpen:S,onClose:F,onSave:O,title:u,fields:[{name:"title",label:p,placeholder:y}],confirmText:x,cancelText:M}),$&&o.jsx(Hc,{isOpen:!!$,onClose:ce,onSave:xe,title:f,initialValues:{title:$.title},fields:[{name:"title",label:g,placeholder:m}],confirmText:x,cancelText:M})]})},t9e=({mod:e,index:t,total:n,isSelected:c,onSelectModule:i})=>o.jsxs("div",{className:`module-item${c?" selected":""}`,onClick:()=>i?.(e),"aria-posinset":t+1,"aria-setsize":n,role:"listitem",children:[e.icon,o.jsxs("div",{className:"module-content",title:Y(e.a11yConfig,e.titleKey),children:[o.jsx("div",{className:"module-title",children:e.title}),e.subtitle&&o.jsx("div",{className:"module-subtitle",children:e.subtitle})]})]}),a9e=({modules:e,selectedModuleId:t,onSelectModule:n,title:c="Modules",titleKey:i,showCount:r=!0,showSearch:s=!0,searchValue:d,searchPlaceholder:l,onSearchTyping:h,onSearchSubmit:u,searchDebounceMs:p=300,isLoading:y=!1,loadingComponent:f,emptyComponent:g,a11yConfig:m,borderColor:x,hoverBackgroundColor:M,selectedBackgroundColor:v})=>{const[I,b]=k.useState(d??""),w=k.useRef(null);k.useEffect(()=>{d!==void 0&&b(d)},[d]),k.useEffect(()=>()=>{w.current&&clearTimeout(w.current)},[]);const N=j=>{const S=j.target.value;b(S),w.current&&clearTimeout(w.current),w.current=setTimeout(()=>{h?.(S)},p)},_=j=>{j.key==="Enter"&&u?.(I)},L={"--smsb-border-color":x??"var(--color-border, #efefef)","--smsb-hover-background":M??"var(--color-content-background, #f8fafc)","--smsb-selected-background":v??"var(--color-neutral, #f4f4f4)"};return o.jsxs("div",{className:"searchable-module-sidebar",style:L,children:[o.jsx("div",{className:"sidebar-header",children:o.jsxs("div",{className:"header-title",title:Y(m,i),children:[c," ",r&&`(${e.length})`]})}),s&&o.jsx("div",{className:"sidebar-search",children:o.jsx("input",{type:"text",className:"search-input",value:I,placeholder:l,onChange:N,onKeyDown:_})}),o.jsx("div",{className:"module-list",children:y?f:e.length===0?g:e.map((j,S)=>o.jsx(t9e,{mod:j,index:S,total:e.length,isSelected:j.id===t,onSelectModule:n},j.id))})]})},n9e=({keyName:e,translations:t,availableLanguages:n,onChange:c,onRename:i,onDelete:r,a11yConfig:s})=>{const[d,l]=k.useState(!1),[h,u]=k.useState(e),[p,y]=k.useState(null),[f,g]=k.useState(""),[m,x]=k.useState(!1),[M,v]=k.useState(""),[I,b]=k.useState(""),w=k.useMemo(()=>{const A={};return Array.isArray(t)&&t.forEach(q=>{q&&q.language&&(A[q.language.toUpperCase()]=q.value)}),A},[t]),N=k.useMemo(()=>n,[n]),_=()=>{l(!1),h!==e&&h.trim()!==""?i&&i(h.trim()):u(e)},L=A=>{A.key==="Enter"?_():A.key==="Escape"&&(u(e),l(!1))},j=A=>{const q=A.toUpperCase();y(q),g(w[q]||"")},S=()=>{p&&(c(p,f),y(null),g(""))},C=A=>{A.key==="Enter"?S():A.key==="Escape"&&(y(null),g(""))},$=()=>{x(!0),N.length>0&&v(N[0].toUpperCase()),b("")},T=()=>{M&&I.trim()&&(c(M,I.trim()),x(!1),v(""),b(""))},D=()=>{x(!1),v(""),b("")},z=A=>{A.key==="Enter"?T():A.key==="Escape"&&D()};return o.jsxs("div",{className:"translation-key-v2",children:[o.jsxs("div",{className:"header",children:[d?o.jsx("input",{className:"key-name-input",value:h,onChange:A=>u(A.target.value),onBlur:_,onKeyDown:L,autoFocus:!0}):o.jsx("h3",{className:"header-title",title:Y(s,e),children:e}),o.jsxs("div",{className:"header-actions",children:[o.jsx(vt,{size:16,className:"action-icon edit",onClick:()=>l(!0)}),o.jsx(yt,{size:16,className:"action-icon delete",onClick:r})]})]}),o.jsxs("div",{className:"translations-list",children:[n.map(A=>{const q=A.toUpperCase(),B=w[q]||"",R=p===q;return o.jsxs("div",{className:"lang-row",children:[o.jsx("div",{className:"lang-label",children:q}),R?o.jsx("input",{className:"translation-input editing",value:f,onChange:V=>g(V.target.value),onBlur:S,onKeyDown:C,placeholder:"Entrez la traduction...",autoFocus:!0}):o.jsx("div",{className:`translation-value ${B?"":"empty"}`,onClick:()=>j(A),title:"Cliquer pour éditer",children:B||"Cliquer pour ajouter..."})]},A)}),m?o.jsxs("div",{className:"lang-row add-row",children:[o.jsx("select",{className:"lang-select",value:M,onChange:A=>v(A.target.value),children:N.map(A=>o.jsx("option",{value:A.toUpperCase(),children:A.toUpperCase()},A))}),o.jsx("input",{className:"translation-input editing",value:I,onChange:A=>b(A.target.value),onKeyDown:z,placeholder:"Mot",autoFocus:!0}),o.jsxs("div",{className:"add-actions",children:[o.jsx(C1,{size:18,className:"action-icon confirm",onClick:T}),o.jsx(tt,{size:18,className:"action-icon cancel",onClick:D})]})]}):N.length>0&&o.jsxs("button",{className:"add-translation-btn",onClick:$,children:[o.jsx(Ac,{size:16}),o.jsx("span",{children:"Ajouter"})]})]})]})},o9e="_overlay_17ypf_1",c9e="_modal_17ypf_15",i9e="_body_17ypf_27",r9e="_footer_17ypf_46",s9e="_confirmButton_17ypf_55",d9e="_danger_17ypf_71",l9e="_cancelButton_17ypf_75",St={overlay:o9e,modal:c9e,body:i9e,footer:r9e,confirmButton:s9e,danger:d9e,cancelButton:l9e},h9e=({isOpen:e,message:t,onConfirm:n,onCancel:c,confirmText:i="Confirmer",cancelText:r="Annuler",isDanger:s=!1,hideFooter:d=!1,secondaryConfirmText:l,onSecondaryConfirm:h,footerStyle:u,cancelButtonStyle:p,confirmButtonStyle:y})=>e?o.jsx("div",{className:St.overlay,onClick:c,children:o.jsxs("div",{className:St.modal,onClick:f=>f.stopPropagation(),children:[o.jsx("div",{className:St.body,children:typeof t=="string"?o.jsx("p",{children:t}):t}),!d&&o.jsxs("div",{className:St.footer,style:u,children:[r&&o.jsx("button",{className:St.cancelButton,onClick:c,style:p,children:r}),l&&h&&o.jsx("button",{className:St.confirmButton,onClick:h,children:l}),i&&o.jsx("button",{className:`${St.confirmButton} ${s?St.danger:""}`,onClick:n,style:y,children:i})]})]})}):null,u9e="_card_1ildr_1",p9e="_topIcon_1ildr_17",y9e="_title_1ildr_24",k9e="_text_1ildr_31",m9e="_bottomIcon_1ildr_37",v1={card:u9e,topIcon:p9e,title:y9e,text:k9e,bottomIcon:m9e},f9e=({topIcon:e,title:t,text:n,bottomIcon:c,onClick:i,className:r="",headerTextColor:s="#000",textColor:d="#4b5563",backgroundColor:l="#fff",a11yConfig:h})=>o.jsxs("div",{className:`${v1.card} ${r}`,onClick:i,role:i?"button":void 0,tabIndex:i?0:void 0,style:{backgroundColor:l},title:Y(h,t),children:[e&&o.jsx("div",{className:v1.topIcon,children:e}),o.jsx("h3",{className:v1.title,style:{color:s},children:t}),o.jsx("p",{className:v1.text,style:{color:d},children:n}),c&&o.jsx("div",{className:v1.bottomIcon,children:c})]}),g9e="_container_1bmmf_1",v9e="_disabled_1bmmf_9",x9e="_selectBox_1bmmf_14",M9e="_selectBoxOpen_1bmmf_36",_9e="_tagsContainer_1bmmf_41",L9e="_tagsContainerWrap_1bmmf_51",I9e="_tag_1bmmf_41",b9e="_tagLabel_1bmmf_72",w9e="_removeBtnContainer_1bmmf_78",C9e="_removeBtn_1bmmf_78",N9e="_searchInput_1bmmf_103",S9e="_placeholder_1bmmf_123",j9e="_actions_1bmmf_130",$9e="_clearBtn_1bmmf_137",q9e="_chevron_1bmmf_159",A9e="_chevronOpen_1bmmf_165",z9e="_dropdown_1bmmf_169",V9e="_option_1bmmf_183",P9e="_optionHeader_1bmmf_196",T9e="_noOptions_1bmmf_212",H9e="_overflowBlock_1bmmf_219",D9e="_overflowEllipsis_1bmmf_226",B9e="_overflowBadge_1bmmf_233",R9e="_overflowBadgeWrap_1bmmf_256",F9e="_overflowDropdown_1bmmf_262",E9e="_overflowDropdownItem_1bmmf_278",O9e="_overflowDropdownItemLabel_1bmmf_289",U9e="_overflowDropdownItemRemove_1bmmf_296",de={container:g9e,disabled:v9e,selectBox:x9e,selectBoxOpen:M9e,tagsContainer:_9e,tagsContainerWrap:L9e,tag:I9e,tagLabel:b9e,removeBtnContainer:w9e,removeBtn:C9e,searchInput:N9e,placeholder:S9e,actions:j9e,clearBtn:$9e,chevron:q9e,chevronOpen:A9e,dropdown:z9e,option:V9e,optionHeader:P9e,noOptions:T9e,overflowBlock:H9e,overflowEllipsis:D9e,overflowBadge:B9e,overflowBadgeWrap:R9e,overflowDropdown:F9e,overflowDropdownItem:E9e,overflowDropdownItemLabel:O9e,overflowDropdownItemRemove:U9e},W9e=({options:e,noOptionsMessage:t="",value:n,onChange:c,placeholder:i="Sélectionner...",isSearchable:r=!0,className:s="",disabled:d=!1,allowWrap:l=!1})=>{const[h,u]=k.useState(!1),[p,y]=k.useState(""),f=k.useRef(null),g=k.useRef(null),m=k.useRef(null),x=k.useRef(null),[M,v]=k.useState(null),[I,b]=k.useState(!1),w=k.useRef([]),N=k.useRef(null),_=k.useMemo(()=>{const q=new Map(e.map(B=>[B.value,B]));return n.map(B=>q.get(B)).filter(B=>B!==void 0)},[e,n]),L=k.useMemo(()=>e.filter(q=>!n.includes(q.value)),[e,n]),j=k.useMemo(()=>{let q=L;return p&&(q=q.filter(B=>B.label.toLowerCase().includes(p.toLowerCase()))),q.filter((B,R)=>{if(!B.isHeader)return!0;for(let V=R+1;V<q.length&&!q[V].isHeader;V++)return!0;return!1})},[L,p]);k.useEffect(()=>{const q=B=>{const R=B.target;f.current&&!f.current.contains(R)&&(u(!1),y(""),v(null),b(!1))};return document.addEventListener("mousedown",q),()=>document.removeEventListener("mousedown",q)},[]),k.useEffect(()=>{if(l)return;if(_.length===0){v(null),w.current=[];return}_.length>w.current.length&&v(null);const q=()=>{const U=m.current,te=x.current;if(!U||!te)return;const F=te.getBoundingClientRect().width,O=te.querySelector(`.${de.actions}`),ie=O?O.getBoundingClientRect().width:80,ce=56,xe=r?80:0,re=16,ae=Array.from(U.querySelectorAll(`.${de.tag}`));ae.length===_.length&&(w.current=ae.map(ge=>{const Se=ge.getBoundingClientRect(),Dc=ge.scrollWidth;return Math.max(Se.width,Dc,ge.offsetWidth||0)}));const ne=w.current,le=ne.length>0?ne.reduce((ge,Se)=>ge+Se,0)/ne.length:120,pe=_.length<=ne.length?ne.slice(0,_.length):[...ne,...Array(_.length-ne.length).fill(le)],me=4,W=Math.max(0,F-ie-xe-re);let X=0,se=0;for(let ge=0;ge<_.length;ge++){const Se=pe[ge]??120;if(X+Se+me>W)break;X+=Se+me,se++}if(se>=_.length){v(null);return}const je=Math.max(0,F-ce-ie-xe-re);X=0;let Be=0;for(let ge=0;ge<_.length;ge++){const Se=pe[ge]??120;if(X+Se+me>je)break;X+=Se+me,Be++}Be<_.length&&Be>0?v(Be):v(null)},B=requestAnimationFrame(()=>{q()}),R=setTimeout(q,100),V=new ResizeObserver(()=>{q()});return x.current&&V.observe(x.current),()=>{cancelAnimationFrame(B),clearTimeout(R),V.disconnect()}},[_,r,h,l]);const S=()=>{if(d)return;const q=!h;q&&b(!1),u(q),q&&r&&setTimeout(()=>g.current?.focus(),0)},C=q=>{if(n.includes(q.value))return;b(!1);const B=[..._,q];c(B),y(""),v(null),u(!1)},$=q=>{q.preventDefault(),q.stopPropagation(),b(B=>!B)},T=M!=null&&M<_.length?_.slice(M):[],D=(q,B)=>{B.stopPropagation();const R=_.filter(V=>V.value!==q);c(R)},z=q=>{q.stopPropagation(),c([])},A=q=>{q.stopPropagation(),h||u(!0)};return o.jsxs("div",{className:`${de.container} ${s} ${d?de.disabled:""}`,ref:f,children:[o.jsxs("div",{ref:x,className:`${de.selectBox} ${h?de.selectBoxOpen:""}`,onClick:S,role:"combobox","aria-expanded":h,"aria-haspopup":"listbox",children:[o.jsxs("div",{className:`${de.tagsContainer} ${l?de.tagsContainerWrap:""}`,ref:m,children:[M!==null&&M>0?_.slice(0,M).map((q,B)=>o.jsxs("div",{className:de.tag,children:[o.jsx("div",{className:de.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:de.removeBtnContainer,children:o.jsx("button",{type:"button",className:de.removeBtn,onClick:R=>D(q.value,R),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${B}`)):_.map((q,B)=>o.jsxs("div",{className:de.tag,children:[o.jsx("div",{className:de.tagLabel,children:o.jsx("span",{children:q.label})}),o.jsx("div",{className:de.removeBtnContainer,children:o.jsx("button",{type:"button",className:de.removeBtn,onClick:R=>D(q.value,R),"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})})]},`tag-${q.value}-${B}`)),r?o.jsx("input",{ref:g,type:"text",className:de.searchInput,placeholder:_.length===0?i:"",value:p,onChange:q=>{y(q.target.value),h||u(!0)},onClick:A,disabled:d}):_.length===0&&o.jsx("span",{className:de.placeholder,children:i})]}),!l&&M!==null&&M<_.length&&o.jsxs("div",{className:de.overflowBlock,children:[o.jsx("span",{className:de.overflowEllipsis,children:"..."}),o.jsxs("div",{className:de.overflowBadgeWrap,children:[o.jsx("button",{ref:N,type:"button",className:de.overflowBadge,onClick:$,"aria-label":`Afficher ${T.length} éléments cachés`,children:T.length}),I&&T.length>0&&o.jsx("div",{className:de.overflowDropdown,role:"list","aria-label":"Éléments cachés",children:T.map((q,B)=>o.jsxs("div",{className:de.overflowDropdownItem,children:[o.jsx("span",{className:de.overflowDropdownItemLabel,children:q.label}),o.jsx("button",{type:"button",className:de.overflowDropdownItemRemove,onClick:R=>{R.stopPropagation(),D(q.value,R)},"aria-label":`Supprimer ${q.label}`,children:o.jsx("svg",{width:"10",height:"10",viewBox:"0 0 10 10",fill:"currentColor",children:o.jsx("path",{d:"M8.5 1.5L1.5 8.5M1.5 1.5L8.5 8.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})})]},`hidden-${q.value}-${B}`))})]})]}),o.jsxs("div",{className:de.actions,children:[_.length>0&&o.jsx("button",{type:"button",className:de.clearBtn,onClick:z,"aria-label":"Effacer tout",children:o.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"currentColor",children:o.jsx("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}),o.jsx("svg",{className:`${de.chevron} ${h?de.chevronOpen:""}`,width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:o.jsx("path",{d:"M6 9l6 6 6-6"})})]})]}),h&&!d&&o.jsx("div",{className:de.dropdown,role:"listbox",children:j.length>0?j.map((q,B)=>o.jsx("div",{className:`${de.option} ${q.isHeader?de.optionHeader:""}`,onClick:()=>!q.isHeader&&C(q),role:"option","aria-selected":!1,children:q.label},`opt-${q.value}-${B}`)):o.jsx("div",{className:de.noOptions,children:t})})]})},G9e="_container_h7jek_1",Dj={container:G9e},K9e=({a11yConfigs:e=[],titleKeys:t=[],labels:n=[],data:c=[],selectedUfs:i=[],icons:r=[],lastCardTextColor:s="black",boardColors:d={},order:l})=>{const h=k.useMemo(()=>{const g=i.length===0?c:c.filter(x=>x&&i.includes(String(x.uf).replace(/^0+/,""))),m=new Set;return g.filter(x=>{if(!x||!x.uf)return!1;const M=String(x.uf).replace(/^0+/,"");return m.has(M)?!1:(m.add(M),!0)})},[c,i]),u=k.useMemo(()=>h.reduce((g,m)=>({disponibles:g.disponibles+(m.totalAvailable??m.disponibles??0),homme:g.homme+(m.availableMen??m.disponibleHomme??0),femme:g.femme+(m.availableWomen??m.disponibleFemme??0),indifferencie:g.indifferencie+(m.availableIndifferentSex??m.indifferences??0),sorties:g.sorties+(m.outToday??m.sortie24??0),occupiedBed:g.occupiedBed+(m.occupiedBed??0),patientsPresents:g.patientsPresents+(m.patientsPresents??0),occupationRate:g.occupationRate+(m.occupationRate??0),occupesRaw:g.occupesRaw+(m.occupesRaw??0),ouvertsRaw:g.ouvertsRaw+(m.ouvertsRaw??0)}),{disponibles:0,homme:0,femme:0,indifferencie:0,sorties:0,occupiedBed:0,patientsPresents:0,occupationRate:0,occupesRaw:0,ouvertsRaw:0}),[h]),p=g=>d.disponibles?d.disponibles:g>3?"#35994E":g>=1?"#EF6C00":"#C62828",y={bars:"none",justifyContent:"flexStart",alignItems:"center",valueFontWeight:"400",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}},f=(g,m)=>{const x=l!==void 0&&m===l.length-1;switch(g){case"disponibles":return{...y,value:u.disponibles.toLocaleString("fr-FR"),backgroundColor:p(u.disponibles),valueFontSize:"2.5rem",titleColor:"white",valueColor:"white"};case"occupiedBed":return{...y,value:u.occupiedBed.toLocaleString("fr-FR"),backgroundColor:d.occupes??d.homme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"patientsPresents":return{...y,value:u.patientsPresents.toLocaleString("fr-FR"),backgroundColor:d.patientsPresents??d.femme??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"};case"occupationRate":{const M=u.ouvertsRaw>0?parseFloat((u.occupesRaw/u.ouvertsRaw*100).toFixed(2)):u.occupationRate;return{...y,value:`${M.toLocaleString("fr-FR")}%`,backgroundColor:d.occupationRate??d.indifferencie??"#7DD493",valueFontSize:x?"3rem":"2.375rem",titleColor:"black",valueColor:"black"}}case"outToday":return{...y,value:u.sorties.toLocaleString("fr-FR"),backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",titleColor:s,valueColor:s}}};return l&&l.length>0?o.jsx("div",{className:Dj.container,children:l.map((g,m)=>o.jsx(xt,{a11yConfig:e[m],titleKey:t[m],label:n[m],iconName:r[m],...f(g,m)},g))}):o.jsxs("div",{className:Dj.container,children:[o.jsx(xt,{a11yConfig:e[0],titleKey:t[0],label:n[0],value:u.disponibles.toLocaleString("fr-FR"),iconName:r[0],backgroundColor:p(u.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"}}),o.jsx(xt,{a11yConfig:e[1],titleKey:t[1],label:n[1],value:u.homme.toLocaleString("fr-FR"),iconName:r[1],backgroundColor:d.homme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(xt,{a11yConfig:e[2],titleKey:t[2],label:n[2],value:u.femme.toLocaleString("fr-FR"),iconName:r[2],backgroundColor:d.femme??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(xt,{a11yConfig:e[3],titleKey:t[3],label:n[3],value:u.indifferencie.toLocaleString("fr-FR"),iconName:r[3],backgroundColor:d.indifferencie??"#7DD493",valueFontSize:"2.375rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:"black",valueColor:"black",titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}}),o.jsx(xt,{a11yConfig:e[4],titleKey:t[4],label:n[4],value:u.sorties.toLocaleString("fr-FR"),iconName:r[4],backgroundColor:d.sorties??"#F2F9FC",valueFontSize:"3rem",valueFontWeight:"400",bars:"none",justifyContent:"flexStart",alignItems:"center",titleColor:s,valueColor:s,titleFontSize:"0.625rem",titleFontWeight:"600",cardGap:"2rem",style:{padding:"0.5rem"}})]})},Z9e="_container_1pt6c_1",X9e="_chartContainer_1pt6c_14",Y9e="_legend_1pt6c_22",J9e="_legendItem_1pt6c_29",Q9e="_leftSection_1pt6c_41",exe="_colorIndicator_1pt6c_47",txe="_label_1pt6c_54",axe="_rightSection_1pt6c_60",nxe="_ratio_1pt6c_66",oxe="_value1_1pt6c_73",cxe="_separator_1pt6c_78",ixe="_value2_1pt6c_82",rxe="_statusIndicator_1pt6c_87",sxe="_inactive_1pt6c_102",Oe={container:Z9e,chartContainer:X9e,legend:Y9e,legendItem:J9e,leftSection:Q9e,colorIndicator:exe,label:txe,rightSection:axe,ratio:nxe,value1:oxe,separator:cxe,value2:ixe,statusIndicator:rxe,inactive:sxe},Bj=Math.PI/180,dxe=({data:e,height:t=400,bg:n,backgroundColor:c,color:i,fontSize:r,fontWeight:s,padding:d,margin:l,borderRadius:h,className:u="",style:p={},labelColor:y,ratioColor:f,separatorColor:g,borderColor:m,hideDonut:x=!0,hideColorIndicator:M=!1})=>{const[v,I]=k.useState(new Set(e.map(S=>S.nom))),b=S=>{const C=new Set(v);C.has(S)?C.size>1&&C.delete(S):C.add(S),I(C)},w={...p,"--bg-color":n||c||"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":g||"#03a9f4","--border-color":m||"#e0e0e0"},N=k.useMemo(()=>e.map(S=>({...S,displayValue:v.has(S.nom)?S.value:0})),[e,v]),_=k.useMemo(()=>e.every(S=>S.value===0),[e]),L=k.useMemo(()=>_?1:N.reduce((S,C)=>S+C.displayValue,0)||1,[_,N]),j=k.useCallback(({cx:S,cy:C,midAngle:$,innerRadius:T,outerRadius:D,value:z})=>{if(z===0||_)return null;const A=T+(D-T)*.5,q=S+A*Math.cos(-$*Bj),B=C+A*Math.sin(-$*Bj),R=Math.round(z/L*100);return o.jsx(a.Text,{x:q,y:B,fill:"white",textAnchor:"middle",dominantBaseline:"central",fontSize:12,fontWeight:"bold",children:`${R}%`})},[L,_]);return o.jsxs("div",{className:`${Oe.container} ${u}`,style:w,children:[!x&&o.jsx("div",{className:Oe.chartContainer,style:{height:t/2+100},children:o.jsx(a.ResponsiveContainer,{width:"100%",height:"100%",children:o.jsx(a.PieChart,{children:o.jsx(a.Pie,{data:_?[{displayValue:1,color:"#A3C2CB"}]:N,cx:"50%",cy:"50%",innerRadius:45,outerRadius:75,paddingAngle:0,dataKey:"displayValue",stroke:"white",strokeWidth:_?0:2,startAngle:90,endAngle:450,labelLine:!1,label:j,isAnimationActive:!1,children:_?o.jsx(a.Cell,{fill:"#A3C2CB"}):N.map((S,C)=>o.jsx(a.Cell,{fill:S.color},`cell-${C}`))})})})}),o.jsx("div",{className:Oe.legend,children:e.map((S,C)=>{const $=v.has(S.nom);return o.jsxs("div",{className:`${Oe.legendItem} ${!x&&!$?Oe.inactive:""}`,onClick:()=>b(S.nom),style:{cursor:"pointer",transition:"opacity 0.2s"},children:[o.jsxs("div",{className:Oe.leftSection,children:[!M&&o.jsx("div",{className:Oe.colorIndicator,style:{backgroundColor:S.color,opacity:x||$?1:.3}}),o.jsx("span",{className:Oe.label,style:{opacity:x||$?1:.5},children:S.nom})]}),o.jsxs("div",{className:Oe.rightSection,style:{opacity:x||$?1:.5},children:[o.jsxs("div",{className:Oe.ratio,children:[o.jsx("span",{className:Oe.value1,children:S.value1}),o.jsx("span",{className:Oe.separator,children:"/"}),o.jsx("span",{className:Oe.value2,children:S.value2})]}),S.statusColor&&o.jsx("div",{className:Oe.statusIndicator,style:{backgroundColor:S.statusColor}})]})]},`legend-${C}`)})})]})},lxe="_container_1pc4v_1",hxe="_leftGroup_1pc4v_10",uxe="_iconBtn_1pc4v_16",ui={container:lxe,leftGroup:hxe,iconBtn:uxe},pxe=e=>ee.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},ee.createElement("path",{d:"M3 12h18M3 6h18M3 18h18"})),yxe=k.memo(pxe),kxe=e=>ee.createElement("svg",{width:"1em",height:"1em",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24",...e},ee.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"})),AA=k.memo(kxe),mxe=({menuIcon:e,logoProps:t,actionIcon:n,style:c,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,...c};return o.jsxs("header",{className:[ui.container,i].filter(Boolean).join(" "),style:y,children:[o.jsxs("div",{className:ui.leftGroup,children:[o.jsx("button",{className:ui.iconBtn,onClick:u,"aria-label":"Menu",style:{color:"inherit"},children:e??o.jsx(yxe,{width:22,height:22})}),o.jsx(IL,{...t,size:"medium"})]}),o.jsx("button",{className:ui.iconBtn,onClick:p,"aria-label":"Action",style:{color:"inherit"},children:n??o.jsx(AA,{width:22,height:22})})]})},fxe="_container_24g3e_1",gxe="_iconBtn_24g3e_10",vxe="_title_24g3e_22",pi={container:fxe,iconBtn:gxe,title:vxe},xxe=({title:e="Menu",closeIcon:t,actionIcon:n,style:c,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,...c};return o.jsxs("div",{className:[pi.container,i].filter(Boolean).join(" "),style:f,children:[o.jsx("button",{className:pi.iconBtn,onClick:p,"aria-label":"Fermer",style:{color:"inherit"},children:t??o.jsx(qA,{width:22,height:22})}),o.jsx("span",{className:pi.title,style:{fontWeight:"var(--font-weight-h)",fontSize:"var(--h5)",...r},children:e.toUpperCase()}),o.jsx("button",{className:pi.iconBtn,onClick:y,"aria-label":"Partager",style:{color:"inherit"},children:n??o.jsx(AA,{width:22,height:22})})]})};function zA(e){return e.state?e.state:e.active?"active":"available"}const Mxe=({title:e,countLabel:t="UF",actionIcon:n=o.jsx(yt,{size:16}),onAction:c,items:i=[],onItemClick:r,activeColor:s="#0083bb",id:d,children:l})=>{const h=k.useMemo(()=>i.filter(u=>zA(u)==="active").length,[i]);return o.jsxs(_xe,{id:d,children:[o.jsxs(Lxe,{children:[o.jsxs(Ixe,{children:[o.jsx(bxe,{children:e}),o.jsxs(wxe,{children:["(",h," ",t,")"]})]}),c&&o.jsx(Cxe,{onClick:c,title:"Action",children:n})]}),o.jsx(Nxe,{children:o.jsx(Sxe,{children:i.map(u=>o.jsx($xe,{item:u,activeColor:s,onItemClick:r},u.id))})}),l&&o.jsx(qxe,{children:l})]})},_xe=E.div`
|
|
8348
8348
|
background: white;
|
|
8349
8349
|
border: 1px solid #ddd;
|
|
8350
8350
|
border-radius: 4px;
|
|
@@ -8420,7 +8420,7 @@
|
|
|
8420
8420
|
padding: 0 15px 15px 15px;
|
|
8421
8421
|
display: flex;
|
|
8422
8422
|
justify-content: flex-end;
|
|
8423
|
-
`,Axe=({value:e,min:t=0,max:n=100,step:c=1,onChange:i,label:r,className:s="",disabled:d=!1,fullWidth:l=!0,trackHeight:h="6px",trackColor:u="#f0f2f5",trackFillColor:p="#00A6D9",thumbColor:y="#ffffff",thumbBorderColor:f="#00A6D9",thumbSize:g="20px",thumbBorderWidth:m="2px",ariaLabel:x,ariaLabelledBy:M,a11yConfig:v})=>{const
|
|
8423
|
+
`,Axe=({value:e,min:t=0,max:n=100,step:c=1,onChange:i,label:r,className:s="",disabled:d=!1,fullWidth:l=!0,trackHeight:h="6px",trackColor:u="#f0f2f5",trackFillColor:p="#00A6D9",thumbColor:y="#ffffff",thumbBorderColor:f="#00A6D9",thumbSize:g="20px",thumbBorderWidth:m="2px",ariaLabel:x,ariaLabelledBy:M,a11yConfig:v})=>{const I=n!==t?(e-t)/(n-t)*100:0,b=N=>{i(Number(N.target.value))},w=Y(v,r);return o.jsxs(zxe,{className:s,title:w,$fullWidth:l,children:[r&&o.jsx(Vxe,{id:M?void 0:`${r}-label`,children:r}),o.jsx(Pxe,{type:"range",min:t,max:n,step:c,value:e,onChange:b,disabled:d,"aria-label":x,"aria-labelledby":M||(r?`${r}-label`:void 0),"aria-valuemin":t,"aria-valuemax":n,"aria-valuenow":e,$percentage:I,$trackHeight:h,$trackColor:u,$trackFillColor:p,$thumbSize:g,$thumbColor:y,$thumbBorderColor:f,$thumbBorderWidth:m})]})},zxe=E.div`
|
|
8424
8424
|
display: flex;
|
|
8425
8425
|
flex-direction: column;
|
|
8426
8426
|
gap: 0.5rem;
|
|
@@ -8531,7 +8531,7 @@
|
|
|
8531
8531
|
&:focus::-webkit-slider-runnable-track {
|
|
8532
8532
|
outline: none;
|
|
8533
8533
|
}
|
|
8534
|
-
`,Txe=e=>
|
|
8534
|
+
`,Txe=e=>ee.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:"1em",height:"1em",fill:"none",viewBox:"0 0 20 20",...e},ee.createElement("mask",{id:"a",width:20,height:20,x:0,y:0,maskUnits:"userSpaceOnUse",style:{maskType:"alpha"}},ee.createElement("path",{fill:"#D9D9D9",d:"M0 0h20v20H0z"})),ee.createElement("g",{mask:"url(#a)"},ee.createElement("path",{fill:"#1C1B1F",d:"M10.75 10.375V7.748a.73.73 0 0 0-.214-.53.7.7 0 0 0-.531-.218.74.74 0 0 0-.536.214.7.7 0 0 0-.218.53v2.954q0 .149.062.288.063.139.174.25l2.076 2.076q.23.23.531.22a.77.77 0 0 0 .532-.24.73.73 0 0 0 0-1.063zM10 18a6.8 6.8 0 0 1-2.731-.554 7.1 7.1 0 0 1-2.217-1.498 7.1 7.1 0 0 1-1.497-2.216A6.8 6.8 0 0 1 3 11q0-1.458.554-2.732t1.497-2.217A7.1 7.1 0 0 1 7.27 4.554 6.8 6.8 0 0 1 10 4q1.458 0 2.732.554 1.274.555 2.216 1.497a7.1 7.1 0 0 1 1.498 2.217Q17 9.542 17 11t-.555 2.732a7.1 7.1 0 0 1-1.497 2.217 7.1 7.1 0 0 1-2.216 1.497A6.8 6.8 0 0 1 10 18M1.939 6.458a.73.73 0 0 1 0-1.062l2.48-2.48a.73.73 0 0 1 1.062 0 .73.73 0 0 1 0 1.063l-2.5 2.5a.68.68 0 0 1-.521.219.76.76 0 0 1-.52-.24m16.146 0a.73.73 0 0 1-1.062 0l-2.48-2.479a.73.73 0 0 1 0-1.062.73.73 0 0 1 1.063 0l2.479 2.5q.23.228.23.52a.72.72 0 0 1-.23.521M9.996 16.5q2.296 0 3.9-1.6t1.605-3.895-1.6-3.9T10.005 5.5t-3.9 1.6T4.5 10.995t1.6 3.9T9.995 16.5"}))),Hxe=k.memo(Txe),Dxe=({value:e,onChange:t,label:n,placeholder:c="00:00",disabled:i=!1,fullWidth:r=!0,cancelText:s,applyText:d,hoursLabel:l,minutesLabel:h,dropdownAlignment:u="left",maxHours:p=23,ariaLabel:y,ariaLabelledBy:f,a11yConfig:g})=>{const[m,x]=k.useState(!1),M=k.useRef(null),v=S=>{if(S instanceof Date)return{h:S.getHours().toString().padStart(2,"0"),m:S.getMinutes().toString().padStart(2,"0")};if(typeof S=="string"&&S.includes(":")){const C=S.split(":");return{h:C[0].padStart(2,"0"),m:C[1].padStart(2,"0")}}return{h:"00",m:"00"}},[I,b]=k.useState("00"),[w,N]=k.useState("00");k.useEffect(()=>{const S=v(e);b(S.h),N(S.m)},[e,m]),k.useEffect(()=>{const S=C=>{M.current&&!M.current.contains(C.target)&&x(!1)};return document.addEventListener("mousedown",S),()=>document.removeEventListener("mousedown",S)},[]);const _=()=>{const S=parseInt(I)||0,C=parseInt(w)||0,$=Math.min(p,Math.max(0,S)).toString().padStart(2,"0"),T=Math.min(59,Math.max(0,C)).toString().padStart(2,"0");t(`${$}:${T}`),x(!1)},L=e?typeof e=="string"?e:`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}`:"",j=Y(g,n);return o.jsxs(Bxe,{ref:M,$fullWidth:r,title:j,children:[n&&o.jsx(Rxe,{id:f?void 0:`${n}-label`,children:n}),o.jsx(Fxe,{type:"button",$isOpen:m,$disabled:i,onClick:()=>!i&&x(!m),disabled:i,"aria-label":y,"aria-labelledby":f||(n?`${n}-label`:void 0),"aria-expanded":m,"aria-haspopup":"listbox",children:o.jsxs(Exe,{children:[o.jsx(Oxe,{$isPlaceholder:!L,children:L||c}),o.jsx(Uxe,{})]})}),m&&o.jsxs(Wxe,{$alignment:u,children:[o.jsxs(Gxe,{children:[o.jsxs(Fj,{children:[o.jsx(Ej,{children:l}),o.jsx(Oj,{children:o.jsx(Uj,{type:"number",min:"0",max:p.toString(),$wide:p>99,value:I,onChange:S=>{const C=S.target.value;if(C===""){b("");return}const $=parseInt(C);!isNaN($)&&$>=0&&$<=p&&b(C)},autoFocus:!0})})]}),o.jsx(Kxe,{children:":"}),o.jsxs(Fj,{children:[o.jsx(Ej,{children:h}),o.jsx(Oj,{children:o.jsx(Uj,{type:"number",min:"0",max:"59",value:w,onChange:S=>{const C=S.target.value;if(C===""){N("");return}const $=parseInt(C);!isNaN($)&&$>=0&&$<=59&&N(C.slice(-2))}})})]})]}),o.jsxs(Zxe,{children:[o.jsx(Wj,{className:"cancel",onClick:()=>x(!1),children:s}),o.jsx(Wj,{className:"apply",onClick:_,children:d})]})]})]})},Bxe=E.div`
|
|
8535
8535
|
position: relative;
|
|
8536
8536
|
display: inline-block;
|
|
8537
8537
|
max-width: 100%;
|
|
@@ -8789,12 +8789,12 @@
|
|
|
8789
8789
|
&:hover {
|
|
8790
8790
|
opacity: 1;
|
|
8791
8791
|
}
|
|
8792
|
-
`,dMe="_patientCard_1ed58_1",lMe="_notAllowedCursor_1ed58_18",hMe="_innerPadding_1ed58_28",uMe="_noFooterMargin_1ed58_35",pMe="_topArea_1ed58_39",yMe="_small_1ed58_48",kMe="_header_1ed58_61",mMe="_headerLeft_1ed58_68",fMe="_headerRight_1ed58_74",gMe="_uf_1ed58_79",vMe="_rmBadge_1ed58_87",xMe="_roomBed_1ed58_102",MMe="_content_1ed58_109",_Me="_body_1ed58_121",LMe="_upperBodyContent_1ed58_139",IMe="_patientInfo_1ed58_149",bMe="_iep_1ed58_154",wMe="_name_1ed58_159",CMe="_birthName_1ed58_166",NMe="_firstNames_1ed58_171",SMe="_dobAge_1ed58_176",jMe="_duration_1ed58_181",$Me="_comment_1ed58_187",qMe="_timeline_1ed58_194",AMe="_destination_1ed58_198",zMe="_todayReservation_1ed58_208",VMe="_arrow_1ed58_229",PMe="_progressBar_1ed58_234",TMe="_progressFill_1ed58_244",HMe="_progressDate_1ed58_254",DMe="_footer_1ed58_265",BMe="_iconWrap_1ed58_274",RMe="_centerLabelHuge_1ed58_293",FMe="_labelYellow_1ed58_300",EMe="_expectedBottom_1ed58_319",OMe="_expectedPrefix_1ed58_327",UMe="_expectedDate_1ed58_333",WMe="_notesView_1ed58_354",GMe="_notesHeader_1ed58_362",KMe="_notesTitle_1ed58_368",ZMe="_notesList_1ed58_374",XMe="_noteItem_1ed58_380",YMe="_reservationView_1ed58_385",JMe="_reservationNote_1ed58_397",QMe="_bottomArea_1ed58_402",e_e="_bottomLeftSymbol_1ed58_410",
|
|
8793
|
-
${
|
|
8794
|
-
${
|
|
8795
|
-
${
|
|
8792
|
+
`,dMe="_patientCard_1ed58_1",lMe="_notAllowedCursor_1ed58_18",hMe="_innerPadding_1ed58_28",uMe="_noFooterMargin_1ed58_35",pMe="_topArea_1ed58_39",yMe="_small_1ed58_48",kMe="_header_1ed58_61",mMe="_headerLeft_1ed58_68",fMe="_headerRight_1ed58_74",gMe="_uf_1ed58_79",vMe="_rmBadge_1ed58_87",xMe="_roomBed_1ed58_102",MMe="_content_1ed58_109",_Me="_body_1ed58_121",LMe="_upperBodyContent_1ed58_139",IMe="_patientInfo_1ed58_149",bMe="_iep_1ed58_154",wMe="_name_1ed58_159",CMe="_birthName_1ed58_166",NMe="_firstNames_1ed58_171",SMe="_dobAge_1ed58_176",jMe="_duration_1ed58_181",$Me="_comment_1ed58_187",qMe="_timeline_1ed58_194",AMe="_destination_1ed58_198",zMe="_todayReservation_1ed58_208",VMe="_arrow_1ed58_229",PMe="_progressBar_1ed58_234",TMe="_progressFill_1ed58_244",HMe="_progressDate_1ed58_254",DMe="_footer_1ed58_265",BMe="_iconWrap_1ed58_274",RMe="_centerLabelHuge_1ed58_293",FMe="_labelYellow_1ed58_300",EMe="_expectedBottom_1ed58_319",OMe="_expectedPrefix_1ed58_327",UMe="_expectedDate_1ed58_333",WMe="_notesView_1ed58_354",GMe="_notesHeader_1ed58_362",KMe="_notesTitle_1ed58_368",ZMe="_notesList_1ed58_374",XMe="_noteItem_1ed58_380",YMe="_reservationView_1ed58_385",JMe="_reservationNote_1ed58_397",QMe="_bottomArea_1ed58_402",e_e="_bottomLeftSymbol_1ed58_410",G={patientCard:dMe,notAllowedCursor:lMe,innerPadding:hMe,noFooterMargin:uMe,topArea:pMe,small:yMe,header:kMe,headerLeft:mMe,headerRight:fMe,uf:gMe,rmBadge:vMe,roomBed:xMe,content:MMe,body:_Me,upperBodyContent:LMe,patientInfo:IMe,iep:bMe,name:wMe,birthName:CMe,firstNames:NMe,dobAge:SMe,duration:jMe,comment:$Me,timeline:qMe,destination:AMe,todayReservation:zMe,arrow:VMe,progressBar:PMe,progressFill:TMe,progressDate:HMe,footer:DMe,iconWrap:BMe,centerLabelHuge:RMe,labelYellow:FMe,expectedBottom:EMe,expectedPrefix:OMe,expectedDate:UMe,notesView:WMe,notesHeader:GMe,notesTitle:KMe,notesList:ZMe,noteItem:XMe,reservationView:YMe,reservationNote:JMe,bottomArea:QMe,bottomLeftSymbol:e_e},t_e=({size:e="large",className:t="",customStyle:n,topAreaStyle:c,headerLeft:i,headerRight:r,centerHugeLabel:s,iep:d,nameLine:l,birthName:h,birthNamePrefix:u,firstNamesLine:p,dobAgeLine:y,stayDuration:f,comment:g,expectedDate:m,expectedDatePrefix:x,showTimeline:M=!1,destination:v,progress:I=0,progressTrackColor:b,progressFillColor:w,progressLabel:N,progressTitle:_,showFooter:L=!1,leftIcons:j=[],rightIcons:S=[],activeView:C="default",notesHeaderTitle:$,notesHeaderIcon:T,notesList:D=[],notesTitles:z,reservationNote:A,isYellowLabel:q=!1,bottomLeftSymbol:B,cursorNotAllowed:R=!1,rmBadge:V,isReservationToday:U=!1})=>{const te=e==="small",F=`
|
|
8793
|
+
${G.patientCard}
|
|
8794
|
+
${te?G.small:""}
|
|
8795
|
+
${R?G.notAllowedCursor:""}
|
|
8796
8796
|
${t}
|
|
8797
|
-
`.trim();return o.jsx("div",{className:
|
|
8797
|
+
`.trim();return o.jsx("div",{className:F,style:n,children:o.jsxs("div",{className:G.innerPadding,children:[o.jsxs("div",{className:`${G.topArea} ${L?"":G.noFooterMargin}`,style:c,children:[o.jsx("div",{className:G.header,children:V?o.jsxs(o.Fragment,{children:[o.jsx("div",{className:G.headerLeft,children:o.jsxs("div",{className:G.uf,children:[i,r&&` - ${r}`]})}),o.jsx("div",{className:G.headerRight,children:o.jsx("div",{className:G.rmBadge,children:V})})]}):o.jsxs(o.Fragment,{children:[o.jsx("div",{className:G.headerLeft,children:i&&o.jsx("div",{className:G.uf,children:i})}),o.jsx("div",{className:G.headerRight,children:r&&o.jsx("span",{className:G.roomBed,children:r})})]})}),o.jsxs("div",{className:G.content,children:[o.jsxs("div",{className:G.body,children:[C==="default"&&o.jsxs(o.Fragment,{children:[s&&o.jsx("div",{className:`${G.centerLabelHuge} ${q?G.labelYellow:""}`,children:s}),o.jsxs("div",{className:G.upperBodyContent,children:[o.jsxs("div",{className:G.patientInfo,children:[d&&o.jsx("div",{className:G.iep,children:d}),l&&o.jsx("div",{className:G.name,children:l}),h&&o.jsxs("div",{className:G.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:G.firstNames,children:p}),y&&o.jsx("div",{className:G.dobAge,children:y})]}),f&&o.jsx("div",{className:G.duration,children:f}),g&&o.jsx("div",{className:G.comment,children:g})]}),m&&o.jsxs("div",{className:G.expectedBottom,children:[x&&o.jsx("div",{className:G.expectedPrefix,children:x}),o.jsx("div",{className:G.expectedDate,children:m})]})]}),C==="notes"&&o.jsxs("div",{className:G.notesView,children:[o.jsxs("div",{className:G.notesHeader,children:[T,o.jsx("span",{className:G.notesTitle,children:$})]}),o.jsx("div",{className:G.notesList,children:D.map((O,ie)=>o.jsx("div",{className:G.noteItem,title:z?.[ie],children:O},ie))})]}),C==="reservation"&&o.jsxs("div",{className:G.reservationView,children:[s&&o.jsx("div",{className:`${G.centerLabelHuge} ${q?G.labelYellow:""}`,children:s}),o.jsx("div",{className:G.upperBodyContent,children:o.jsxs("div",{className:G.patientInfo,children:[d&&o.jsx("div",{className:G.iep,children:d}),l&&o.jsx("div",{className:G.name,children:l}),h&&o.jsxs("div",{className:G.birthName,children:["(",u?`${u} ${h}`:h,")"]}),p&&o.jsx("div",{className:G.firstNames,children:p}),y&&o.jsx("div",{className:G.dobAge,children:y})]})}),A&&o.jsx("div",{className:G.reservationNote,children:A})]})]}),(B||M||v)&&o.jsxs("div",{className:G.bottomArea,children:[B&&o.jsx("div",{className:G.bottomLeftSymbol,children:B}),v&&o.jsxs("div",{className:`${G.destination} ${U?G.todayReservation:""}`,children:[o.jsx("span",{className:G.arrow,children:"→"}),v.prefix&&o.jsx("span",{children:v.prefix}),o.jsx("strong",{children:v.name}),v.suffix&&o.jsx("span",{children:v.suffix})]}),M&&o.jsx("div",{className:G.timeline,children:b&&b!=="transparent"&&o.jsxs("div",{className:G.progressBar,style:{backgroundColor:b},title:_,children:[o.jsx("div",{className:G.progressFill,style:{width:`${I}%`,backgroundColor:w}}),N&&o.jsx("span",{className:G.progressDate,children:N})]})})]})]})]}),L&&o.jsxs("div",{className:G.footer,children:[j.map((O,ie)=>o.jsx("div",{className:G.iconWrap,children:O},`left-${ie}`)),S.map((O,ie)=>o.jsx("div",{className:G.iconWrap,children:O},`right-${ie}`))]})]})})},a_e=({title:e,titleBold:t,titleKey:n,items:c,className:i="",width:r,style:s,labelStyle:d,valueStyle:l,headerStyle:h,a11yConfig:u,onItemClick:p,onDeleteItem:y})=>{const f={width:r||"100%",...s};return o.jsxs("div",{className:`data-list-v2-container ${i}`,style:f,children:[(e||t)&&o.jsx("div",{className:"data-list-v2-header",style:h,children:o.jsxs("h2",{className:"header-title",title:Y(u,n),children:[e&&o.jsx("span",{className:"title-regular",children:e}),t&&o.jsx("span",{className:"title-bold",children:t})]})}),o.jsx("div",{className:"data-list-v2-content",children:c.map(g=>o.jsxs("div",{className:`data-list-v2-item ${p?"interactive":""} ${g.showValueLine?"with-value-line":""}`,onClick:()=>p?.(g),children:[o.jsx("div",{className:"item-label-col",style:d,children:o.jsx("div",{className:"item-label",title:Y(g.a11yConfig,g.labelKey),children:g.label})}),o.jsxs("div",{className:"item-value-col",style:l,children:[o.jsx("div",{className:"item-value",title:Y(g.a11yConfig,g.valueKey),children:g.value}),y&&o.jsx("div",{className:"item-delete-action",onClick:m=>{m.stopPropagation(),y(g)},children:o.jsx(yt,{size:16})})]})]},g.id))})]})},n_e=({id:e,data:t,children:n,className:c,onDragStart:i,onDragEnd:r})=>{const s=l=>{l.dataTransfer.setData("text/plain",e),t&&l.dataTransfer.setData("application/json",JSON.stringify(t)),l.dataTransfer.effectAllowed="move",i&&i(l,t)},d=l=>{r&&r(l)};return o.jsx("div",{draggable:!0,onDragStart:s,onDragEnd:d,style:{cursor:"grab"},className:c,children:n})},o_e=({id:e,onDrop:t,children:n,className:c="",activeClassName:i="is-drag-over"})=>{const[r,s]=k.useState(!1),d=k.useRef(0),l=f=>{f.preventDefault(),d.current+=1,d.current>0&&s(!0)},h=f=>{f.preventDefault(),f.dataTransfer.dropEffect="move"},u=f=>{f.preventDefault(),d.current-=1,d.current===0&&s(!1)},p=f=>{f.preventDefault(),s(!1),d.current=0;const g=f.dataTransfer.getData("text/plain");let m;try{const x=f.dataTransfer.getData("application/json");x&&(m=JSON.parse(x))}catch(x){console.error("Failed to parse drag data",x)}g&&t(g,m)},y=`${c} ${r?i:""}`.trim();return o.jsx("div",{onDragEnter:l,onDragOver:h,onDragLeave:u,onDrop:p,className:y,"data-droppable-id":e,children:n})},c_e=e=>o.jsx(i_e,{...e}),i_e=E.textarea`
|
|
8798
8798
|
padding: 0.5rem 0.875rem;
|
|
8799
8799
|
border: 0.0625rem solid var(--color-border, #dee2e6);
|
|
8800
8800
|
border-radius: var(--radius-content, 0.5rem);
|