@gemafajarramadhan/dynamic-ui 1.1.21 → 1.1.23
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/dynamic-ui.css +1 -1
- package/dist/dynamic-ui.es.js +1201 -1202
- package/dist/dynamic-ui.umd.js +17 -17
- package/package.json +1 -1
package/dist/dynamic-ui.umd.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
(function(oe,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("vue-i18n"),require("@vuepic/vue-datepicker"),require("@uppy/core"),require("@uppy/dashboard"),require("@uppy/image-editor"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","vue-i18n","@vuepic/vue-datepicker","@uppy/core","@uppy/dashboard","@uppy/image-editor","vue-router"],a):(oe=typeof globalThis<"u"?globalThis:oe||self,a(oe.DynamicUI={},oe.Vue,oe.VueI18n,oe.VueDatePicker,oe.Uppy,oe.UppyDashboard,oe.UppyImageEditor,oe.VueRouter))})(this,(function(oe,a,Je,
|
|
1
|
+
(function(oe,a){typeof exports=="object"&&typeof module<"u"?a(exports,require("vue"),require("vue-i18n"),require("@vuepic/vue-datepicker"),require("@uppy/core"),require("@uppy/dashboard"),require("@uppy/image-editor"),require("vue-router")):typeof define=="function"&&define.amd?define(["exports","vue","vue-i18n","@vuepic/vue-datepicker","@uppy/core","@uppy/dashboard","@uppy/image-editor","vue-router"],a):(oe=typeof globalThis<"u"?globalThis:oe||self,a(oe.DynamicUI={},oe.Vue,oe.VueI18n,oe.VueDatePicker,oe.Uppy,oe.UppyDashboard,oe.UppyImageEditor,oe.VueRouter))})(this,(function(oe,a,Je,_z,Bz,OB,Az,cl){"use strict";var sne=Object.defineProperty;var Sz=oe=>{throw TypeError(oe)};var lne=(oe,a,Je)=>a in oe?sne(oe,a,{enumerable:!0,configurable:!0,writable:!0,value:Je}):oe[a]=Je;var se=(oe,a,Je)=>lne(oe,typeof a!="symbol"?a+"":a,Je),cne=(oe,a,Je)=>a.has(oe)||Sz("Cannot "+Je);var w1=(oe,a,Je)=>(cne(oe,a,"read from private field"),Je?Je.call(oe):a.get(oe)),Iz=(oe,a,Je)=>a.has(oe)?Sz("Cannot add the same private member more than once"):a instanceof WeakSet?a.add(oe):a.set(oe,Je);var uI;function Vz(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const v1=Vz(a);let _t={};function Pz(t){_t={..._t,...t}}function Dz(){return _t.apiBaseUrl?_t.apiBaseUrl:typeof window<"u"&&window.__MICRO_API_BASE_URL__?window.__MICRO_API_BASE_URL__:""}function qz(){const t={"Content-Type":"application/json",Accept:"application/json"};let e=null;if(_t.getAuthToken?e=_t.getAuthToken():typeof window<"u"&&window.__MICRO_AUTH_TOKEN__?e=window.__MICRO_AUTH_TOKEN__:typeof localStorage<"u"&&(e=localStorage.getItem("token")||sessionStorage.getItem("token")),e&&(t.Authorization=`Bearer ${e}`),_t.getHeaders){const n=_t.getHeaders();return{...t,...n}}return t}function zz(){_t.onUnauthorized&&_t.onUnauthorized()}/**
|
|
2
2
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const
|
|
6
|
+
*/const Ez=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0;return!1};/**
|
|
7
7
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8
8
|
*
|
|
9
9
|
* This source code is licensed under the ISC license.
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*
|
|
14
14
|
* This source code is licensed under the ISC license.
|
|
15
15
|
* See the LICENSE file in the root directory of this source tree.
|
|
16
|
-
*/const
|
|
16
|
+
*/const Tz=(...t)=>t.filter((e,n,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===n).join(" ").trim();/**
|
|
17
17
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
18
18
|
*
|
|
19
19
|
* This source code is licensed under the ISC license.
|
|
@@ -23,12 +23,12 @@
|
|
|
23
23
|
*
|
|
24
24
|
* This source code is licensed under the ISC license.
|
|
25
25
|
* See the LICENSE file in the root directory of this source tree.
|
|
26
|
-
*/const
|
|
26
|
+
*/const Oz=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
|
|
27
27
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
28
28
|
*
|
|
29
29
|
* This source code is licensed under the ISC license.
|
|
30
30
|
* See the LICENSE file in the root directory of this source tree.
|
|
31
|
-
*/const
|
|
31
|
+
*/const Hz=t=>{const e=Oz(t);return e.charAt(0).toUpperCase()+e.slice(1)};/**
|
|
32
32
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
33
33
|
*
|
|
34
34
|
* This source code is licensed under the ISC license.
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
*
|
|
39
39
|
* This source code is licensed under the ISC license.
|
|
40
40
|
* See the LICENSE file in the root directory of this source tree.
|
|
41
|
-
*/const $B=({name:t,iconNode:e,absoluteStrokeWidth:n,"absolute-stroke-width":o,strokeWidth:r,"stroke-width":i,size:s=dl.width,color:c=dl.stroke,...d},{slots:h})=>a.h("svg",{...dl,...d,width:s,height:s,stroke:c,"stroke-width":HB(n)||HB(o)||n===!0||o===!0?Number(r||i||dl["stroke-width"])*24/Number(s):r||i||dl["stroke-width"],class:
|
|
41
|
+
*/const $B=({name:t,iconNode:e,absoluteStrokeWidth:n,"absolute-stroke-width":o,strokeWidth:r,"stroke-width":i,size:s=dl.width,color:c=dl.stroke,...d},{slots:h})=>a.h("svg",{...dl,...d,width:s,height:s,stroke:c,"stroke-width":HB(n)||HB(o)||n===!0||o===!0?Number(r||i||dl["stroke-width"])*24/Number(s):r||i||dl["stroke-width"],class:Tz("lucide",d.class,...t?[`lucide-${FB(Hz(t))}-icon`,`lucide-${FB(t)}`]:["lucide-icon"]),...!h.default&&!Ez(d)&&{"aria-hidden":"true"}},[...e.map(u=>a.h(...u)),...h.default?[h.default()]:[]]);/**
|
|
42
42
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
43
43
|
*
|
|
44
44
|
* This source code is licensed under the ISC license.
|
|
@@ -8488,18 +8488,18 @@
|
|
|
8488
8488
|
*
|
|
8489
8489
|
* This source code is licensed under the ISC license.
|
|
8490
8490
|
* See the LICENSE file in the root directory of this source tree.
|
|
8491
|
-
*/const Hz=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:C1,AArrowUp:L1,ALargeSmall:S1,Accessibility:I1,Activity:_1,AirVent:B1,Airplay:A1,AlarmClock:P1,AlarmClockCheck:Ya,AlarmClockMinus:Ka,AlarmClockOff:V1,AlarmClockPlus:Xa,AlarmSmoke:D1,Album:z1,AlignCenterHorizontal:q1,AlignCenterVertical:E1,AlignEndHorizontal:T1,AlignEndVertical:O1,AlignHorizontalDistributeCenter:H1,AlignHorizontalDistributeEnd:F1,AlignHorizontalDistributeStart:$1,AlignHorizontalJustifyCenter:j1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyStart:N1,AlignHorizontalSpaceAround:U1,AlignHorizontalSpaceBetween:W1,AlignStartHorizontal:G1,AlignStartVertical:Y1,AlignVerticalDistributeCenter:K1,AlignVerticalDistributeEnd:X1,AlignVerticalDistributeStart:Z1,AlignVerticalJustifyCenter:J1,AlignVerticalJustifyEnd:Q1,AlignVerticalJustifyStart:ec,AlignVerticalSpaceAround:tc,AlignVerticalSpaceBetween:ac,Ambulance:nc,Ampersand:oc,Ampersands:rc,Amphora:sc,Anchor:ic,Angry:lc,Annoyed:cc,Antenna:dc,Anvil:hc,Aperture:uc,AppWindow:yc,AppWindowMac:pc,Apple:fc,Archive:gc,ArchiveRestore:mc,ArchiveX:kc,Armchair:bc,ArrowBigDown:xc,ArrowBigDownDash:Mc,ArrowBigLeft:vc,ArrowBigLeftDash:wc,ArrowBigRight:Lc,ArrowBigRightDash:Cc,ArrowBigUp:Sc,ArrowBigUpDash:Ic,ArrowDown:Tc,ArrowDown01:Bc,ArrowDown10:_c,ArrowDownAZ:Za,ArrowDownFromLine:Ac,ArrowDownLeft:Vc,ArrowDownNarrowWide:Dc,ArrowDownRight:Pc,ArrowDownToDot:qc,ArrowDownToLine:zc,ArrowDownUp:Ec,ArrowDownWideNarrow:Ja,ArrowDownZA:Qa,ArrowLeft:$c,ArrowLeftFromLine:Oc,ArrowLeftRight:Fc,ArrowLeftToLine:Hc,ArrowRight:hl,ArrowRightFromLine:jc,ArrowRightLeft:Rc,ArrowRightToLine:Nc,ArrowUp:td,ArrowUp01:Uc,ArrowUp10:Wc,ArrowUpAZ:en,ArrowUpDown:Gc,ArrowUpFromDot:Yc,ArrowUpFromLine:Kc,ArrowUpLeft:Xc,ArrowUpNarrowWide:tn,ArrowUpRight:Zc,ArrowUpToLine:Jc,ArrowUpWideNarrow:Qc,ArrowUpZA:an,ArrowsUpFromLine:ed,Asterisk:ad,AtSign:nd,Atom:od,AudioLines:rd,AudioWaveform:id,Award:sd,Axe:ld,Axis3d:nn,Baby:dd,Backpack:cd,Badge:Sd,BadgeAlert:hd,BadgeCent:ud,BadgeCheck:on,BadgeDollarSign:pd,BadgeEuro:yd,BadgeIndianRupee:fd,BadgeInfo:md,BadgeJapaneseYen:kd,BadgeMinus:gd,BadgePercent:bd,BadgePlus:Md,BadgePoundSterling:xd,BadgeQuestionMark:rn,BadgeRussianRuble:wd,BadgeSwissFranc:vd,BadgeTurkishLira:Cd,BadgeX:Ld,BaggageClaim:Id,Balloon:_d,Ban:Ad,Banana:Bd,Bandage:Vd,Banknote:Td,BanknoteArrowDown:Pd,BanknoteArrowUp:Dd,BanknoteX:qd,Barcode:zd,Barrel:Ed,Baseline:Od,Bath:Hd,Battery:Wd,BatteryCharging:Fd,BatteryFull:$d,BatteryLow:jd,BatteryMedium:Nd,BatteryPlus:Rd,BatteryWarning:Ud,Beaker:Gd,Bean:Kd,BeanOff:Yd,Bed:Jd,BedDouble:Xd,BedSingle:Zd,Beef:Qd,Beer:t0,BeerOff:e0,Bell:s0,BellDot:a0,BellElectric:n0,BellMinus:o0,BellOff:r0,BellPlus:i0,BellRing:l0,BetweenHorizontalEnd:sn,BetweenHorizontalStart:ln,BetweenVerticalEnd:c0,BetweenVerticalStart:d0,BicepsFlexed:h0,Bike:u0,Binary:p0,Binoculars:f0,Biohazard:y0,Bird:m0,Birdhouse:k0,Bitcoin:g0,Blend:b0,Blinds:M0,Blocks:w0,Bluetooth:L0,BluetoothConnected:x0,BluetoothOff:v0,BluetoothSearching:C0,Bold:S0,Bolt:I0,Bomb:_0,Bone:B0,Book:e2,BookA:A0,BookAlert:V0,BookAudio:P0,BookCheck:q0,BookCopy:D0,BookDashed:cn,BookDown:z0,BookHeadphones:E0,BookHeart:T0,BookImage:O0,BookKey:H0,BookLock:F0,BookMarked:$0,BookMinus:j0,BookOpen:U0,BookOpenCheck:R0,BookOpenText:N0,BookPlus:W0,BookSearch:G0,BookText:Y0,BookType:K0,BookUp:X0,BookUp2:Z0,BookUser:J0,BookX:Q0,Bookmark:r2,BookmarkCheck:t2,BookmarkMinus:a2,BookmarkPlus:n2,BookmarkX:o2,BoomBox:s2,Bot:c2,BotMessageSquare:i2,BotOff:l2,BottleWine:h2,BowArrow:d2,Box:u2,Boxes:p2,Braces:dn,Brackets:y2,Brain:k2,BrainCircuit:m2,BrainCog:f2,BrickWall:b2,BrickWallFire:g2,BrickWallShield:M2,Briefcase:v2,BriefcaseBusiness:x2,BriefcaseConveyorBelt:w2,BriefcaseMedical:C2,BringToFront:L2,Brush:I2,BrushCleaning:S2,Bubbles:_2,Bug:V2,BugOff:B2,BugPlay:A2,Building:D2,Building2:P2,Bus:z2,BusFront:q2,Cable:T2,CableCar:E2,Cake:H2,CakeSlice:O2,Calculator:F2,Calendar:ul,Calendar1:$2,CalendarArrowDown:N2,CalendarArrowUp:j2,CalendarCheck:U2,CalendarCheck2:R2,CalendarClock:W2,CalendarCog:Y2,CalendarDays:G2,CalendarFold:K2,CalendarHeart:X2,CalendarMinus:J2,CalendarMinus2:Z2,CalendarOff:Q2,CalendarPlus:th,CalendarPlus2:eh,CalendarRange:ah,CalendarSearch:nh,CalendarSync:oh,CalendarX:ih,CalendarX2:rh,Calendars:sh,Camera:ch,CameraOff:lh,Candy:uh,CandyCane:dh,CandyOff:hh,Cannabis:yh,CannabisOff:ph,Captions:hn,CaptionsOff:fh,Car:gh,CarFront:mh,CarTaxiFront:kh,Caravan:bh,CardSim:Mh,Carrot:xh,CaseLower:wh,CaseSensitive:vh,CaseUpper:Ch,CassetteTape:Lh,Cast:Sh,Castle:Ih,Cat:_h,Cctv:Bh,ChartArea:un,ChartBar:fn,ChartBarBig:pn,ChartBarDecreasing:Vh,ChartBarIncreasing:Ah,ChartBarStacked:Ph,ChartCandlestick:yn,ChartColumn:gn,ChartColumnBig:mn,ChartColumnDecreasing:Dh,ChartColumnIncreasing:kn,ChartColumnStacked:qh,ChartGantt:zh,ChartLine:bn,ChartNetwork:Eh,ChartNoAxesColumn:xn,ChartNoAxesColumnDecreasing:Th,ChartNoAxesColumnIncreasing:Mn,ChartNoAxesCombined:Oh,ChartNoAxesGantt:vn,ChartPie:wn,ChartScatter:Cn,ChartSpline:Fh,Check:ba,CheckCheck:Hh,CheckLine:$h,ChefHat:jh,Cherry:Rh,ChessBishop:Nh,ChessKing:Uh,ChessKnight:Wh,ChessPawn:Gh,ChessQueen:Yh,ChessRook:Kh,ChevronDown:Bt,ChevronFirst:Xh,ChevronLast:Zh,ChevronLeft:Ma,ChevronRight:xa,ChevronUp:pl,ChevronsDown:Qh,ChevronsDownUp:Jh,ChevronsLeft:yl,ChevronsLeftRight:tu,ChevronsLeftRightEllipsis:eu,ChevronsRight:fl,ChevronsRightLeft:au,ChevronsUp:ou,ChevronsUpDown:nu,Chromium:Ln,Church:iu,Cigarette:su,CigaretteOff:ru,Circle:wu,CircleAlert:At,CircleArrowDown:Sn,CircleArrowLeft:In,CircleArrowOutDownLeft:_n,CircleArrowOutDownRight:Bn,CircleArrowOutUpLeft:An,CircleArrowOutUpRight:Vn,CircleArrowRight:Pn,CircleArrowUp:Dn,CircleCheck:qn,CircleCheckBig:wa,CircleChevronDown:En,CircleChevronLeft:Tn,CircleChevronRight:zn,CircleChevronUp:On,CircleDashed:lu,CircleDivide:Hn,CircleDollarSign:cu,CircleDot:hu,CircleDotDashed:du,CircleEllipsis:pu,CircleEqual:uu,CircleFadingArrowUp:yu,CircleFadingPlus:fu,CircleGauge:Fn,CircleMinus:$n,CircleOff:mu,CircleParking:Rn,CircleParkingOff:jn,CirclePause:Nn,CirclePercent:Un,CirclePile:ku,CirclePlay:Wn,CirclePlus:Gn,CirclePoundSterling:gu,CirclePower:Yn,CircleQuestionMark:Vt,CircleSlash:bu,CircleSlash2:Kn,CircleSmall:Mu,CircleStar:xu,CircleStop:Xn,CircleUser:Jn,CircleUserRound:Zn,CircleX:Qn,CircuitBoard:vu,Citrus:Cu,Clapperboard:Lu,Clipboard:zu,ClipboardCheck:Iu,ClipboardClock:Su,ClipboardCopy:_u,ClipboardList:Bu,ClipboardMinus:Au,ClipboardPaste:Vu,ClipboardPen:to,ClipboardPenLine:eo,ClipboardPlus:Pu,ClipboardType:Du,ClipboardX:qu,Clock:ml,Clock1:Eu,Clock10:Tu,Clock11:Ou,Clock12:Hu,Clock2:Fu,Clock3:$u,Clock4:ju,Clock5:Ru,Clock6:Nu,Clock7:Uu,Clock8:Wu,Clock9:Gu,ClockAlert:Yu,ClockArrowDown:Ku,ClockArrowUp:Xu,ClockCheck:Zu,ClockFading:Ju,ClockPlus:Qu,ClosedCaption:ep,Cloud:gp,CloudAlert:tp,CloudBackup:ap,CloudCheck:np,CloudCog:op,CloudDownload:ao,CloudDrizzle:rp,CloudFog:ip,CloudHail:sp,CloudLightning:lp,CloudMoon:dp,CloudMoonRain:cp,CloudOff:hp,CloudRain:pp,CloudRainWind:up,CloudSnow:yp,CloudSun:mp,CloudSunRain:fp,CloudSync:kp,CloudUpload:va,Cloudy:bp,Clover:Mp,Club:xp,Code:wp,CodeXml:no,Codepen:vp,Codesandbox:Cp,Coffee:Lp,Cog:Sp,Coins:Ip,Columns2:oo,Columns3:ro,Columns3Cog:Pt,Columns4:_p,Combine:Bp,Command:Ap,Compass:Vp,Component:Pp,Computer:Dp,ConciergeBell:qp,Cone:zp,Construction:Ep,Contact:Tp,ContactRound:io,Container:Op,Contrast:Hp,Cookie:$p,CookingPot:Fp,Copy:Gp,CopyCheck:jp,CopyMinus:Rp,CopyPlus:Np,CopySlash:Wp,CopyX:Up,Copyleft:Yp,Copyright:Kp,CornerDownLeft:Xp,CornerDownRight:Jp,CornerLeftDown:Zp,CornerLeftUp:Qp,CornerRightDown:ey,CornerRightUp:ty,CornerUpLeft:ay,CornerUpRight:ny,Cpu:ws,CreativeCommons:oy,CreditCard:ry,Croissant:iy,Crop:sy,Cross:ly,Crosshair:dy,Crown:cy,Cuboid:hy,CupSoda:uy,Currency:py,Cylinder:yy,Dam:fy,Database:by,DatabaseBackup:my,DatabaseSearch:ky,DatabaseZap:gy,DecimalsArrowLeft:My,DecimalsArrowRight:xy,Delete:wy,Dessert:vy,Diameter:Cy,Diamond:Iy,DiamondMinus:Ly,DiamondPercent:so,DiamondPlus:Sy,Dice1:_y,Dice2:By,Dice3:Ay,Dice4:Vy,Dice5:Py,Dice6:Dy,Dices:qy,Diff:zy,Disc:Hy,Disc2:Ey,Disc3:Ty,DiscAlbum:Oy,Divide:Fy,Dna:jy,DnaOff:$y,Dock:Ry,Dog:Uy,DollarSign:Ny,Donut:Gy,DoorClosed:Yy,DoorClosedLocked:Wy,DoorOpen:Ky,Dot:Xy,Download:kl,DraftingCompass:Zy,Drama:Qy,Dribbble:Jy,Drill:ef,Drone:tf,Droplet:nf,DropletOff:af,Droplets:of,Drum:rf,Drumstick:sf,Dumbbell:lf,Ear:df,EarOff:cf,Earth:lo,EarthLock:hf,Eclipse:uf,Egg:yf,EggFried:pf,EggOff:ff,Ellipsis:Ca,EllipsisVertical:co,Equal:gf,EqualApproximately:kf,EqualNot:mf,Eraser:bf,EthernetPort:Mf,Euro:xf,EvCharger:wf,Expand:vf,ExternalLink:Cf,Eye:vs,EyeClosed:Lf,EyeOff:gl,Facebook:Sf,Factory:If,Fan:_f,FastForward:Bf,Feather:Af,Fence:Vf,FerrisWheel:Pf,Figma:Df,File:sm,FileArchive:qf,FileAxis3d:ho,FileBadge:uo,FileBox:zf,FileBraces:yo,FileBracesCorner:po,FileChartColumn:mo,FileChartColumnIncreasing:fo,FileChartLine:ko,FileChartPie:go,FileCheck:Ef,FileCheckCorner:bo,FileClock:Tf,FileCode:Of,FileCodeCorner:Mo,FileCog:xo,FileDiff:Hf,FileDigit:$f,FileDown:Ff,FileExclamationPoint:wo,FileHeadphone:Dt,FileHeart:jf,FileImage:Rf,FileInput:Nf,FileKey:vo,FileLock:Co,FileMinus:Wf,FileMinusCorner:Lo,FileMusic:Uf,FileOutput:Gf,FilePen:_o,FilePenLine:So,FilePlay:Io,FilePlus:Yf,FilePlusCorner:Bo,FileQuestionMark:Ao,FileScan:Kf,FileSearch:Xf,FileSearchCorner:Vo,FileSignal:Po,FileSliders:Zf,FileSpreadsheet:Jf,FileStack:Qf,FileSymlink:em,FileTerminal:tm,FileText:Cs,FileType:am,FileTypeCorner:Do,FileUp:nm,FileUser:om,FileVideoCamera:qo,FileVolume:rm,FileX:im,FileXCorner:zo,Files:cm,Film:lm,FingerprintPattern:Eo,FireExtinguisher:dm,Fish:pm,FishOff:hm,FishSymbol:um,FishingHook:ym,Flag:gm,FlagOff:fm,FlagTriangleLeft:mm,FlagTriangleRight:km,Flame:Mm,FlameKindling:bm,Flashlight:wm,FlashlightOff:xm,FlaskConical:Cm,FlaskConicalOff:vm,FlaskRound:Lm,FlipHorizontal2:Sm,FlipVertical2:Im,Flower:Bm,Flower2:_m,Focus:Am,FoldHorizontal:Vm,FoldVertical:Pm,Folder:ik,FolderArchive:Dm,FolderCheck:qm,FolderClock:zm,FolderClosed:Em,FolderCode:Tm,FolderCog:To,FolderDot:Om,FolderDown:Hm,FolderGit:$m,FolderGit2:Fm,FolderHeart:jm,FolderInput:Rm,FolderKanban:Um,FolderKey:Nm,FolderLock:Wm,FolderMinus:Km,FolderOpen:Ym,FolderOpenDot:Gm,FolderOutput:Xm,FolderPen:Oo,FolderPlus:Qm,FolderRoot:Zm,FolderSearch:ek,FolderSearch2:Jm,FolderSymlink:ak,FolderSync:tk,FolderTree:nk,FolderUp:ok,FolderX:rk,Folders:sk,Footprints:lk,Forklift:ck,Form:dk,Forward:uk,Frame:hk,Framer:pk,Frown:yk,Fuel:fk,Fullscreen:mk,Funnel:Fo,FunnelPlus:kk,FunnelX:Ho,GalleryHorizontal:bk,GalleryHorizontalEnd:gk,GalleryThumbnails:Mk,GalleryVertical:wk,GalleryVerticalEnd:xk,Gamepad:Sk,Gamepad2:vk,GamepadDirectional:Ck,Gauge:Lk,Gavel:Ik,Gem:_k,GeorgianLari:Bk,Ghost:Ak,Gift:Vk,GitBranch:qk,GitBranchMinus:Pk,GitBranchPlus:Dk,GitCommitHorizontal:$o,GitCommitVertical:zk,GitCompare:Tk,GitCompareArrows:Ek,GitFork:Ok,GitGraph:Hk,GitMerge:$k,GitMergeConflict:Fk,GitPullRequest:Gk,GitPullRequestArrow:jk,GitPullRequestClosed:Rk,GitPullRequestCreate:Uk,GitPullRequestCreateArrow:Nk,GitPullRequestDraft:Wk,Github:Yk,Gitlab:Kk,GlassWater:Xk,Glasses:Zk,Globe:bl,GlobeLock:Jk,GlobeOff:Qk,GlobeX:eg,Goal:tg,Gpu:ng,GraduationCap:ag,Grape:og,Grid2x2:Uo,Grid2x2Check:jo,Grid2x2Plus:No,Grid2x2X:Ro,Grid3x2:rg,Grid3x3:qt,Grip:lg,GripHorizontal:ig,GripVertical:sg,Group:dg,Guitar:cg,Ham:hg,Hamburger:ug,Hammer:pg,Hand:bg,HandCoins:yg,HandFist:fg,HandGrab:Wo,HandHeart:mg,HandHelping:Go,HandMetal:kg,HandPlatter:gg,Handbag:Mg,Handshake:xg,HardDrive:Cg,HardDriveDownload:wg,HardDriveUpload:vg,HardHat:Lg,Hash:Sg,HatGlasses:Ig,Haze:_g,Hd:Bg,HdmiPort:Ag,Heading:Tg,Heading1:Vg,Heading2:Pg,Heading3:Dg,Heading4:qg,Heading5:zg,Heading6:Eg,HeadphoneOff:Og,Headphones:Hg,Headset:Fg,Heart:Gg,HeartCrack:$g,HeartHandshake:Rg,HeartMinus:jg,HeartOff:Ng,HeartPlus:Ug,HeartPulse:Wg,Heater:Yg,Helicopter:Kg,Hexagon:Xg,Highlighter:Zg,History:Jg,Hop:e4,HopOff:Qg,Hospital:t4,Hotel:a4,Hourglass:n4,House:Yo,HouseHeart:o4,HousePlug:r4,HousePlus:i4,HouseWifi:s4,IceCreamBowl:Ko,IceCreamCone:Xo,IdCard:c4,IdCardLanyard:l4,Image:k4,ImageDown:d4,ImageMinus:h4,ImageOff:u4,ImagePlay:p4,ImagePlus:y4,ImageUp:f4,ImageUpscale:m4,Images:g4,Import:M4,Inbox:b4,IndianRupee:x4,Infinity:w4,Info:v4,InspectionPanel:C4,Instagram:L4,Italic:S4,IterationCcw:I4,IterationCw:_4,JapaneseYen:B4,Joystick:A4,Kanban:V4,Kayak:P4,Key:E4,KeyRound:D4,KeySquare:q4,Keyboard:O4,KeyboardMusic:z4,KeyboardOff:T4,Lamp:N4,LampCeiling:H4,LampDesk:F4,LampFloor:j4,LampWallDown:$4,LampWallUp:R4,LandPlot:U4,Landmark:G4,Languages:W4,Laptop:K4,LaptopMinimal:Zo,LaptopMinimalCheck:Y4,Lasso:Z4,LassoSelect:X4,Laugh:J4,Layers:Jo,Layers2:Q4,LayersPlus:e5,LayoutDashboard:t5,LayoutGrid:a5,LayoutList:n5,LayoutPanelLeft:o5,LayoutPanelTop:r5,LayoutTemplate:i5,Leaf:s5,LeafyGreen:l5,Lectern:c5,LensConcave:d5,LensConvex:h5,Library:f5,LibraryBig:u5,LifeBuoy:y5,Ligature:p5,Lightbulb:k5,LightbulbOff:m5,LineDotRightHorizontal:g5,LineSquiggle:b5,Link:Ml,Link2:x5,Link2Off:M5,Linkedin:w5,List:$5,ListCheck:v5,ListChecks:C5,ListChevronsDownUp:S5,ListChevronsUpDown:L5,ListCollapse:I5,ListEnd:_5,ListFilter:B5,ListFilterPlus:A5,ListIndentDecrease:zt,ListIndentIncrease:Et,ListMinus:q5,ListMusic:V5,ListOrdered:P5,ListPlus:D5,ListRestart:z5,ListStart:E5,ListTodo:O5,ListTree:T5,ListVideo:H5,ListX:F5,Loader:R5,LoaderCircle:bt,LoaderPinwheel:j5,Locate:W5,LocateFixed:N5,LocateOff:U5,Lock:Y5,LockKeyhole:G5,LockKeyholeOpen:Qo,LockOpen:er,LogIn:K5,LogOut:X5,Logs:Z5,Lollipop:J5,Luggage:Q5,Magnet:e3,Mail:l3,MailCheck:t3,MailMinus:n3,MailOpen:a3,MailPlus:o3,MailQuestionMark:tr,MailSearch:r3,MailWarning:s3,MailX:i3,Mailbox:h3,Mails:c3,Map:C3,MapMinus:d3,MapPin:Ls,MapPinCheck:u3,MapPinCheckInside:p3,MapPinHouse:y3,MapPinMinus:m3,MapPinMinusInside:f3,MapPinOff:k3,MapPinPen:ar,MapPinPlus:b3,MapPinPlusInside:g3,MapPinX:M3,MapPinXInside:x3,MapPinned:w3,MapPlus:v3,Mars:I3,MarsStroke:L3,Martini:S3,Maximize:B3,Maximize2:_3,Medal:A3,Megaphone:P3,MegaphoneOff:V3,Meh:D3,MemoryStick:q3,Menu:z3,Merge:E3,MessageCircle:G3,MessageCircleCheck:T3,MessageCircleCode:O3,MessageCircleDashed:H3,MessageCircleHeart:F3,MessageCircleMore:j3,MessageCircleOff:$3,MessageCirclePlus:R3,MessageCircleQuestionMark:nr,MessageCircleReply:N3,MessageCircleWarning:U3,MessageCircleX:W3,MessageSquare:Ss,MessageSquareCheck:Y3,MessageSquareCode:K3,MessageSquareDashed:X3,MessageSquareDiff:Z3,MessageSquareDot:J3,MessageSquareHeart:Q3,MessageSquareLock:e6,MessageSquareMore:t6,MessageSquareOff:a6,MessageSquarePlus:n6,MessageSquareQuote:o6,MessageSquareReply:r6,MessageSquareShare:i6,MessageSquareText:l6,MessageSquareWarning:s6,MessageSquareX:c6,MessagesSquare:d6,Metronome:h6,Mic:p6,MicOff:u6,MicVocal:or,Microchip:y6,Microscope:f6,Microwave:m6,Milestone:k6,Milk:b6,MilkOff:g6,Minimize:M6,Minimize2:x6,Minus:xl,MirrorRectangular:w6,MirrorRound:v6,Monitor:T6,MonitorCheck:C6,MonitorCloud:L6,MonitorCog:S6,MonitorDot:I6,MonitorDown:_6,MonitorOff:B6,MonitorPause:A6,MonitorPlay:V6,MonitorSmartphone:P6,MonitorSpeaker:D6,MonitorStop:q6,MonitorUp:z6,MonitorX:E6,Moon:H6,MoonStar:O6,Motorbike:F6,Mountain:j6,MountainSnow:$6,Mouse:Z6,MouseLeft:R6,MouseOff:N6,MousePointer:K6,MousePointer2:W6,MousePointer2Off:U6,MousePointerBan:G6,MousePointerClick:Y6,MouseRight:X6,Move:d8,Move3d:rr,MoveDiagonal:Q6,MoveDiagonal2:J6,MoveDown:a8,MoveDownLeft:e8,MoveDownRight:t8,MoveHorizontal:n8,MoveLeft:o8,MoveRight:i8,MoveUp:l8,MoveUpLeft:r8,MoveUpRight:s8,MoveVertical:c8,Music:y8,Music2:h8,Music3:u8,Music4:p8,Navigation:g8,Navigation2:m8,Navigation2Off:f8,NavigationOff:k8,Network:b8,Newspaper:M8,Nfc:x8,NonBinary:w8,Notebook:S8,NotebookPen:C8,NotebookTabs:v8,NotebookText:L8,NotepadText:_8,NotepadTextDashed:I8,Nut:A8,NutOff:B8,Octagon:P8,OctagonAlert:ir,OctagonMinus:V8,OctagonPause:sr,OctagonX:lr,Omega:D8,Option:q8,Orbit:z8,Origami:E8,Package:N8,Package2:T8,PackageCheck:H8,PackageMinus:O8,PackageOpen:F8,PackagePlus:$8,PackageSearch:j8,PackageX:R8,PaintBucket:U8,PaintRoller:W8,Paintbrush:G8,PaintbrushVertical:cr,Palette:Y8,Panda:K8,PanelBottom:J8,PanelBottomClose:X8,PanelBottomDashed:dr,PanelBottomOpen:Z8,PanelLeft:yr,PanelLeftClose:ur,PanelLeftDashed:hr,PanelLeftOpen:pr,PanelLeftRightDashed:Q8,PanelRight:a7,PanelRightClose:e7,PanelRightDashed:fr,PanelRightOpen:t7,PanelTop:i7,PanelTopBottomDashed:n7,PanelTopClose:o7,PanelTopDashed:mr,PanelTopOpen:r7,PanelsLeftBottom:s7,PanelsRightBottom:l7,PanelsTopLeft:kr,Paperclip:c7,Parentheses:d7,ParkingMeter:h7,PartyPopper:u7,Pause:p7,PawPrint:y7,PcCase:f7,Pen:br,PenLine:gr,PenOff:m7,PenTool:k7,Pencil:Is,PencilLine:g7,PencilOff:b7,PencilRuler:M7,Pentagon:x7,Percent:w7,PersonStanding:v7,PhilippinePeso:C7,Phone:wl,PhoneCall:L7,PhoneForwarded:S7,PhoneIncoming:I7,PhoneMissed:B7,PhoneOff:_7,PhoneOutgoing:A7,Pi:V7,Piano:P7,Pickaxe:D7,PictureInPicture:z7,PictureInPicture2:q7,PiggyBank:E7,Pilcrow:H7,PilcrowLeft:T7,PilcrowRight:O7,Pill:N7,PillBottle:F7,Pin:j7,PinOff:$7,Pipette:R7,Pizza:U7,Plane:vl,PlaneLanding:W7,PlaneTakeoff:G7,Play:Y7,Plug:X7,Plug2:K7,PlugZap:Mr,Plus:Cl,Pocket:J7,PocketKnife:Z7,Podcast:Q7,Pointer:tb,PointerOff:eb,Popcorn:ab,Popsicle:nb,PoundSterling:rb,Power:ib,PowerOff:ob,Presentation:sb,Printer:db,PrinterCheck:lb,PrinterX:cb,Projector:hb,Proportions:yb,Puzzle:ub,Pyramid:pb,QrCode:fb,Quote:mb,Rabbit:gb,Radar:kb,Radiation:Mb,Radical:bb,Radio:vb,RadioReceiver:xb,RadioTower:wb,Radius:Cb,RailSymbol:Lb,Rainbow:Sb,Rat:Ib,Ratio:_b,Receipt:Ob,ReceiptCent:Bb,ReceiptEuro:Ab,ReceiptIndianRupee:Vb,ReceiptJapaneseYen:Pb,ReceiptPoundSterling:Db,ReceiptRussianRuble:qb,ReceiptSwissFranc:zb,ReceiptText:Eb,ReceiptTurkishLira:Tb,RectangleCircle:Hb,RectangleEllipsis:xr,RectangleGoggles:Fb,RectangleHorizontal:$b,RectangleVertical:jb,Recycle:Rb,Redo:Ub,Redo2:Nb,RedoDot:Wb,RefreshCcw:Ll,RefreshCcwDot:Gb,RefreshCw:_s,RefreshCwOff:Yb,Refrigerator:Xb,Regex:Kb,RemoveFormatting:Zb,Repeat:Qb,Repeat1:Jb,Repeat2:tM,Replace:aM,ReplaceAll:eM,Reply:oM,ReplyAll:nM,Rewind:iM,Ribbon:rM,Rocket:sM,RockingChair:lM,RollerCoaster:cM,Rose:dM,Rotate3d:wr,RotateCcw:pM,RotateCcwKey:hM,RotateCcwSquare:uM,RotateCw:fM,RotateCwSquare:yM,Route:kM,RouteOff:mM,Router:gM,Rows2:vr,Rows3:Cr,Rows4:bM,Rss:MM,Ruler:xM,RulerDimensionLine:wM,RussianRuble:vM,Sailboat:CM,Salad:LM,Sandwich:IM,Satellite:_M,SatelliteDish:SM,SaudiRiyal:BM,Save:PM,SaveAll:VM,SaveOff:AM,Scale:DM,Scale3d:Lr,Scaling:qM,Scan:jM,ScanBarcode:zM,ScanEye:EM,ScanFace:TM,ScanHeart:OM,ScanLine:HM,ScanQrCode:$M,ScanSearch:FM,ScanText:RM,School:NM,Scissors:GM,ScissorsLineDashed:UM,Scooter:WM,ScreenShare:KM,ScreenShareOff:YM,Scroll:ZM,ScrollText:XM,Search:Sr,SearchAlert:JM,SearchCheck:ex,SearchCode:QM,SearchSlash:tx,SearchX:ax,Section:nx,Send:rx,SendHorizontal:Ir,SendToBack:ox,SeparatorHorizontal:ix,SeparatorVertical:sx,Server:Sl,ServerCog:lx,ServerCrash:cx,ServerOff:hx,Settings:ux,Settings2:dx,Shapes:px,Share:yx,Share2:Il,Sheet:fx,Shell:mx,ShelvingUnit:kx,Shield:Ix,ShieldAlert:gx,ShieldBan:bx,ShieldCheck:Mx,ShieldEllipsis:xx,ShieldHalf:wx,ShieldMinus:Lx,ShieldOff:vx,ShieldPlus:Cx,ShieldQuestionMark:_r,ShieldUser:Sx,ShieldX:Br,Ship:Bx,ShipWheel:_x,Shirt:Ax,ShoppingBag:Vx,ShoppingBasket:Px,ShoppingCart:Bs,Shovel:qx,ShowerHead:Dx,Shredder:zx,Shrimp:Ex,Shrink:Tx,Shrub:Ox,Shuffle:Hx,Sigma:Fx,Signal:Ux,SignalHigh:$x,SignalLow:jx,SignalMedium:Rx,SignalZero:Nx,Signature:Wx,Signpost:Yx,SignpostBig:Gx,Siren:Kx,SkipBack:Zx,SkipForward:Xx,Skull:Qx,Slack:Jx,Slash:e9,Slice:t9,SlidersHorizontal:_l,SlidersVertical:Ar,Smartphone:o9,SmartphoneCharging:a9,SmartphoneNfc:n9,Smile:i9,SmilePlus:r9,Snail:s9,Snowflake:l9,SoapDispenserDroplet:c9,Sofa:d9,SolarPanel:h9,Soup:u9,Space:p9,Spade:y9,Sparkle:f9,Sparkles:Vr,Speaker:m9,Speech:k9,SpellCheck:M9,SpellCheck2:g9,Spline:x9,SplinePointer:b9,Split:w9,Spool:v9,Spotlight:C9,SprayCan:L9,Sprout:S9,Square:F9,SquareActivity:Pr,SquareArrowDown:zr,SquareArrowDownLeft:Dr,SquareArrowDownRight:qr,SquareArrowLeft:Er,SquareArrowOutDownLeft:Tr,SquareArrowOutDownRight:Or,SquareArrowOutUpLeft:Hr,SquareArrowOutUpRight:Fr,SquareArrowRight:$r,SquareArrowRightEnter:I9,SquareArrowRightExit:_9,SquareArrowUp:Nr,SquareArrowUpLeft:Rr,SquareArrowUpRight:jr,SquareAsterisk:Ur,SquareBottomDashedScissors:Wr,SquareCenterlineDashedHorizontal:Gr,SquareCenterlineDashedVertical:Yr,SquareChartGantt:Tt,SquareCheck:Xr,SquareCheckBig:Kr,SquareChevronDown:Zr,SquareChevronLeft:Jr,SquareChevronRight:Qr,SquareChevronUp:ei,SquareCode:ti,SquareDashed:oi,SquareDashedBottom:A9,SquareDashedBottomCode:B9,SquareDashedKanban:ai,SquareDashedMousePointer:ni,SquareDashedTopSolid:V9,SquareDivide:ii,SquareDot:ri,SquareEqual:si,SquareFunction:li,SquareKanban:ci,SquareLibrary:di,SquareM:hi,SquareMenu:ui,SquareMinus:pi,SquareMousePointer:yi,SquareParking:mi,SquareParkingOff:fi,SquarePause:P9,SquarePen:et,SquarePercent:ki,SquarePi:gi,SquarePilcrow:bi,SquarePlay:Mi,SquarePlus:xi,SquarePower:wi,SquareRadical:q9,SquareRoundCorner:D9,SquareScissors:vi,SquareSigma:Ci,SquareSlash:Li,SquareSplitHorizontal:Si,SquareSplitVertical:Ii,SquareSquare:z9,SquareStack:E9,SquareStar:O9,SquareStop:T9,SquareTerminal:_i,SquareUser:Vi,SquareUserRound:Bi,SquareX:Ai,SquaresExclude:H9,SquaresIntersect:$9,SquaresSubtract:j9,SquaresUnite:R9,Squircle:U9,SquircleDashed:N9,Squirrel:W9,Stamp:G9,Star:Z9,StarHalf:Y9,StarOff:K9,StepBack:X9,StepForward:J9,Stethoscope:Q9,Sticker:ew,StickyNote:tw,Stone:aw,Store:nw,StretchHorizontal:rw,StretchVertical:ow,Strikethrough:iw,Subscript:sw,Sun:uw,SunDim:lw,SunMedium:cw,SunMoon:hw,SunSnow:dw,Sunrise:pw,Sunset:yw,Superscript:fw,SwatchBook:mw,SwissFranc:kw,SwitchCamera:bw,Sword:gw,Swords:Mw,Syringe:xw,Table:Aw,Table2:ww,TableCellsMerge:vw,TableCellsSplit:Cw,TableColumnsSplit:Lw,TableOfContents:Sw,TableProperties:Iw,TableRowsSplit:_w,Tablet:Bw,TabletSmartphone:Vw,Tablets:Pw,Tag:Dw,Tags:qw,Tally1:zw,Tally2:Ew,Tally3:Tw,Tally4:Ow,Tally5:Hw,Tangent:Fw,Target:$w,Telescope:jw,Tent:Nw,TentTree:Rw,Terminal:Uw,TestTube:Ww,TestTubeDiagonal:Pi,TestTubes:Gw,TextAlignCenter:zi,TextAlignEnd:Di,TextAlignJustify:qi,TextAlignStart:Ot,TextCursor:Kw,TextCursorInput:Yw,TextInitial:Ei,TextQuote:Zw,TextSearch:Xw,TextSelect:Oi,TextWrap:Ti,Theater:Jw,Thermometer:tv,ThermometerSnowflake:Qw,ThermometerSun:ev,ThumbsDown:nv,ThumbsUp:av,Ticket:hv,TicketCheck:ov,TicketMinus:rv,TicketPercent:iv,TicketPlus:sv,TicketSlash:lv,TicketX:cv,Tickets:uv,TicketsPlane:dv,Timer:fv,TimerOff:pv,TimerReset:yv,ToggleLeft:Bl,ToggleRight:mv,Toilet:kv,ToolCase:gv,Toolbox:bv,Tornado:Mv,Torus:xv,Touchpad:vv,TouchpadOff:wv,TowelRack:Cv,TowerControl:Lv,ToyBrick:Sv,Tractor:Iv,TrafficCone:_v,TrainFront:Pv,TrainFrontTunnel:Bv,TrainTrack:Av,TramFront:Hi,Transgender:Vv,Trash:Dv,Trash2:As,TreeDeciduous:qv,TreePalm:Fi,TreePine:zv,Trees:Ev,Trello:Tv,TrendingDown:Ov,TrendingUp:Fv,TrendingUpDown:Hv,Triangle:Nv,TriangleAlert:$i,TriangleDashed:$v,TriangleRight:Rv,Trophy:jv,Truck:Wv,TruckElectric:Uv,TurkishLira:Gv,Turntable:Yv,Turtle:Kv,Tv:Zv,TvMinimal:ji,TvMinimalPlay:Xv,Twitch:Jv,Twitter:eC,Type:tC,TypeOutline:Qv,Umbrella:nC,UmbrellaOff:aC,Underline:oC,Undo:iC,Undo2:rC,UndoDot:sC,UnfoldHorizontal:lC,UnfoldVertical:cC,Ungroup:dC,University:Ri,Unlink:uC,Unlink2:hC,Unplug:pC,Upload:yC,Usb:fC,User:Al,UserCheck:mC,UserCog:kC,UserKey:gC,UserLock:bC,UserMinus:MC,UserPen:xC,UserPlus:wC,UserRound:Ki,UserRoundCheck:Ni,UserRoundCog:Ui,UserRoundKey:vC,UserRoundMinus:Wi,UserRoundPen:CC,UserRoundPlus:Gi,UserRoundSearch:LC,UserRoundX:Yi,UserSearch:IC,UserStar:SC,UserX:_C,Users:BC,UsersRound:Xi,Utensils:Ji,UtensilsCrossed:Zi,UtilityPole:AC,Van:VC,Variable:DC,Vault:PC,VectorSquare:qC,Vegan:zC,VenetianMask:EC,Venus:TC,VenusAndMars:OC,Vibrate:FC,VibrateOff:HC,Video:jC,VideoOff:$C,Videotape:RC,View:NC,Voicemail:UC,Volleyball:YC,Volume:XC,Volume1:WC,Volume2:GC,VolumeOff:KC,VolumeX:ZC,Vote:JC,Wallet:eL,WalletCards:QC,WalletMinimal:Qi,Wallpaper:tL,Wand:aL,WandSparkles:es,Warehouse:nL,WashingMachine:oL,Watch:rL,Waves:cL,WavesArrowDown:iL,WavesArrowUp:sL,WavesLadder:lL,Waypoints:dL,Webcam:hL,Webhook:pL,WebhookOff:uL,Weight:fL,WeightTilde:yL,Wheat:kL,WheatOff:mL,WholeWord:gL,Wifi:SL,WifiCog:bL,WifiHigh:ML,WifiLow:wL,WifiOff:xL,WifiPen:vL,WifiSync:CL,WifiZero:LL,Wind:IL,WindArrowDown:_L,Wine:BL,WineOff:AL,Workflow:VL,Worm:PL,Wrench:DL,X:Mt,XLineTop:qL,Youtube:zL,Zap:OL,ZapOff:EL,ZoomIn:TL,ZoomOut:HL},Symbol.toStringTag,{value:"Module"}));/**
|
|
8491
|
+
*/const Fz=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:C1,AArrowUp:L1,ALargeSmall:S1,Accessibility:I1,Activity:_1,AirVent:B1,Airplay:A1,AlarmClock:P1,AlarmClockCheck:Ya,AlarmClockMinus:Ka,AlarmClockOff:V1,AlarmClockPlus:Xa,AlarmSmoke:D1,Album:z1,AlignCenterHorizontal:q1,AlignCenterVertical:E1,AlignEndHorizontal:T1,AlignEndVertical:O1,AlignHorizontalDistributeCenter:H1,AlignHorizontalDistributeEnd:F1,AlignHorizontalDistributeStart:$1,AlignHorizontalJustifyCenter:j1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyStart:N1,AlignHorizontalSpaceAround:U1,AlignHorizontalSpaceBetween:W1,AlignStartHorizontal:G1,AlignStartVertical:Y1,AlignVerticalDistributeCenter:K1,AlignVerticalDistributeEnd:X1,AlignVerticalDistributeStart:Z1,AlignVerticalJustifyCenter:J1,AlignVerticalJustifyEnd:Q1,AlignVerticalJustifyStart:ec,AlignVerticalSpaceAround:tc,AlignVerticalSpaceBetween:ac,Ambulance:nc,Ampersand:oc,Ampersands:rc,Amphora:sc,Anchor:ic,Angry:lc,Annoyed:cc,Antenna:dc,Anvil:hc,Aperture:uc,AppWindow:yc,AppWindowMac:pc,Apple:fc,Archive:gc,ArchiveRestore:mc,ArchiveX:kc,Armchair:bc,ArrowBigDown:xc,ArrowBigDownDash:Mc,ArrowBigLeft:vc,ArrowBigLeftDash:wc,ArrowBigRight:Lc,ArrowBigRightDash:Cc,ArrowBigUp:Sc,ArrowBigUpDash:Ic,ArrowDown:Tc,ArrowDown01:Bc,ArrowDown10:_c,ArrowDownAZ:Za,ArrowDownFromLine:Ac,ArrowDownLeft:Vc,ArrowDownNarrowWide:Dc,ArrowDownRight:Pc,ArrowDownToDot:qc,ArrowDownToLine:zc,ArrowDownUp:Ec,ArrowDownWideNarrow:Ja,ArrowDownZA:Qa,ArrowLeft:$c,ArrowLeftFromLine:Oc,ArrowLeftRight:Fc,ArrowLeftToLine:Hc,ArrowRight:hl,ArrowRightFromLine:jc,ArrowRightLeft:Rc,ArrowRightToLine:Nc,ArrowUp:td,ArrowUp01:Uc,ArrowUp10:Wc,ArrowUpAZ:en,ArrowUpDown:Gc,ArrowUpFromDot:Yc,ArrowUpFromLine:Kc,ArrowUpLeft:Xc,ArrowUpNarrowWide:tn,ArrowUpRight:Zc,ArrowUpToLine:Jc,ArrowUpWideNarrow:Qc,ArrowUpZA:an,ArrowsUpFromLine:ed,Asterisk:ad,AtSign:nd,Atom:od,AudioLines:rd,AudioWaveform:id,Award:sd,Axe:ld,Axis3d:nn,Baby:dd,Backpack:cd,Badge:Sd,BadgeAlert:hd,BadgeCent:ud,BadgeCheck:on,BadgeDollarSign:pd,BadgeEuro:yd,BadgeIndianRupee:fd,BadgeInfo:md,BadgeJapaneseYen:kd,BadgeMinus:gd,BadgePercent:bd,BadgePlus:Md,BadgePoundSterling:xd,BadgeQuestionMark:rn,BadgeRussianRuble:wd,BadgeSwissFranc:vd,BadgeTurkishLira:Cd,BadgeX:Ld,BaggageClaim:Id,Balloon:_d,Ban:Ad,Banana:Bd,Bandage:Vd,Banknote:Td,BanknoteArrowDown:Pd,BanknoteArrowUp:Dd,BanknoteX:qd,Barcode:zd,Barrel:Ed,Baseline:Od,Bath:Hd,Battery:Wd,BatteryCharging:Fd,BatteryFull:$d,BatteryLow:jd,BatteryMedium:Nd,BatteryPlus:Rd,BatteryWarning:Ud,Beaker:Gd,Bean:Kd,BeanOff:Yd,Bed:Jd,BedDouble:Xd,BedSingle:Zd,Beef:Qd,Beer:t0,BeerOff:e0,Bell:s0,BellDot:a0,BellElectric:n0,BellMinus:o0,BellOff:r0,BellPlus:i0,BellRing:l0,BetweenHorizontalEnd:sn,BetweenHorizontalStart:ln,BetweenVerticalEnd:c0,BetweenVerticalStart:d0,BicepsFlexed:h0,Bike:u0,Binary:p0,Binoculars:f0,Biohazard:y0,Bird:m0,Birdhouse:k0,Bitcoin:g0,Blend:b0,Blinds:M0,Blocks:w0,Bluetooth:L0,BluetoothConnected:x0,BluetoothOff:v0,BluetoothSearching:C0,Bold:S0,Bolt:I0,Bomb:_0,Bone:B0,Book:e2,BookA:A0,BookAlert:V0,BookAudio:P0,BookCheck:q0,BookCopy:D0,BookDashed:cn,BookDown:z0,BookHeadphones:E0,BookHeart:T0,BookImage:O0,BookKey:H0,BookLock:F0,BookMarked:$0,BookMinus:j0,BookOpen:U0,BookOpenCheck:R0,BookOpenText:N0,BookPlus:W0,BookSearch:G0,BookText:Y0,BookType:K0,BookUp:X0,BookUp2:Z0,BookUser:J0,BookX:Q0,Bookmark:r2,BookmarkCheck:t2,BookmarkMinus:a2,BookmarkPlus:n2,BookmarkX:o2,BoomBox:s2,Bot:c2,BotMessageSquare:i2,BotOff:l2,BottleWine:h2,BowArrow:d2,Box:u2,Boxes:p2,Braces:dn,Brackets:y2,Brain:k2,BrainCircuit:m2,BrainCog:f2,BrickWall:b2,BrickWallFire:g2,BrickWallShield:M2,Briefcase:v2,BriefcaseBusiness:x2,BriefcaseConveyorBelt:w2,BriefcaseMedical:C2,BringToFront:L2,Brush:I2,BrushCleaning:S2,Bubbles:_2,Bug:V2,BugOff:B2,BugPlay:A2,Building:D2,Building2:P2,Bus:z2,BusFront:q2,Cable:T2,CableCar:E2,Cake:H2,CakeSlice:O2,Calculator:F2,Calendar:ul,Calendar1:$2,CalendarArrowDown:N2,CalendarArrowUp:j2,CalendarCheck:U2,CalendarCheck2:R2,CalendarClock:W2,CalendarCog:Y2,CalendarDays:G2,CalendarFold:K2,CalendarHeart:X2,CalendarMinus:J2,CalendarMinus2:Z2,CalendarOff:Q2,CalendarPlus:th,CalendarPlus2:eh,CalendarRange:ah,CalendarSearch:nh,CalendarSync:oh,CalendarX:ih,CalendarX2:rh,Calendars:sh,Camera:ch,CameraOff:lh,Candy:uh,CandyCane:dh,CandyOff:hh,Cannabis:yh,CannabisOff:ph,Captions:hn,CaptionsOff:fh,Car:gh,CarFront:mh,CarTaxiFront:kh,Caravan:bh,CardSim:Mh,Carrot:xh,CaseLower:wh,CaseSensitive:vh,CaseUpper:Ch,CassetteTape:Lh,Cast:Sh,Castle:Ih,Cat:_h,Cctv:Bh,ChartArea:un,ChartBar:fn,ChartBarBig:pn,ChartBarDecreasing:Vh,ChartBarIncreasing:Ah,ChartBarStacked:Ph,ChartCandlestick:yn,ChartColumn:gn,ChartColumnBig:mn,ChartColumnDecreasing:Dh,ChartColumnIncreasing:kn,ChartColumnStacked:qh,ChartGantt:zh,ChartLine:bn,ChartNetwork:Eh,ChartNoAxesColumn:xn,ChartNoAxesColumnDecreasing:Th,ChartNoAxesColumnIncreasing:Mn,ChartNoAxesCombined:Oh,ChartNoAxesGantt:vn,ChartPie:wn,ChartScatter:Cn,ChartSpline:Fh,Check:ba,CheckCheck:Hh,CheckLine:$h,ChefHat:jh,Cherry:Rh,ChessBishop:Nh,ChessKing:Uh,ChessKnight:Wh,ChessPawn:Gh,ChessQueen:Yh,ChessRook:Kh,ChevronDown:Bt,ChevronFirst:Xh,ChevronLast:Zh,ChevronLeft:Ma,ChevronRight:xa,ChevronUp:pl,ChevronsDown:Qh,ChevronsDownUp:Jh,ChevronsLeft:yl,ChevronsLeftRight:tu,ChevronsLeftRightEllipsis:eu,ChevronsRight:fl,ChevronsRightLeft:au,ChevronsUp:ou,ChevronsUpDown:nu,Chromium:Ln,Church:iu,Cigarette:su,CigaretteOff:ru,Circle:wu,CircleAlert:At,CircleArrowDown:Sn,CircleArrowLeft:In,CircleArrowOutDownLeft:_n,CircleArrowOutDownRight:Bn,CircleArrowOutUpLeft:An,CircleArrowOutUpRight:Vn,CircleArrowRight:Pn,CircleArrowUp:Dn,CircleCheck:qn,CircleCheckBig:wa,CircleChevronDown:En,CircleChevronLeft:Tn,CircleChevronRight:zn,CircleChevronUp:On,CircleDashed:lu,CircleDivide:Hn,CircleDollarSign:cu,CircleDot:hu,CircleDotDashed:du,CircleEllipsis:pu,CircleEqual:uu,CircleFadingArrowUp:yu,CircleFadingPlus:fu,CircleGauge:Fn,CircleMinus:$n,CircleOff:mu,CircleParking:Rn,CircleParkingOff:jn,CirclePause:Nn,CirclePercent:Un,CirclePile:ku,CirclePlay:Wn,CirclePlus:Gn,CirclePoundSterling:gu,CirclePower:Yn,CircleQuestionMark:Vt,CircleSlash:bu,CircleSlash2:Kn,CircleSmall:Mu,CircleStar:xu,CircleStop:Xn,CircleUser:Jn,CircleUserRound:Zn,CircleX:Qn,CircuitBoard:vu,Citrus:Cu,Clapperboard:Lu,Clipboard:zu,ClipboardCheck:Iu,ClipboardClock:Su,ClipboardCopy:_u,ClipboardList:Bu,ClipboardMinus:Au,ClipboardPaste:Vu,ClipboardPen:to,ClipboardPenLine:eo,ClipboardPlus:Pu,ClipboardType:Du,ClipboardX:qu,Clock:ml,Clock1:Eu,Clock10:Tu,Clock11:Ou,Clock12:Hu,Clock2:Fu,Clock3:$u,Clock4:ju,Clock5:Ru,Clock6:Nu,Clock7:Uu,Clock8:Wu,Clock9:Gu,ClockAlert:Yu,ClockArrowDown:Ku,ClockArrowUp:Xu,ClockCheck:Zu,ClockFading:Ju,ClockPlus:Qu,ClosedCaption:ep,Cloud:gp,CloudAlert:tp,CloudBackup:ap,CloudCheck:np,CloudCog:op,CloudDownload:ao,CloudDrizzle:rp,CloudFog:ip,CloudHail:sp,CloudLightning:lp,CloudMoon:dp,CloudMoonRain:cp,CloudOff:hp,CloudRain:pp,CloudRainWind:up,CloudSnow:yp,CloudSun:mp,CloudSunRain:fp,CloudSync:kp,CloudUpload:va,Cloudy:bp,Clover:Mp,Club:xp,Code:wp,CodeXml:no,Codepen:vp,Codesandbox:Cp,Coffee:Lp,Cog:Sp,Coins:Ip,Columns2:oo,Columns3:ro,Columns3Cog:Pt,Columns4:_p,Combine:Bp,Command:Ap,Compass:Vp,Component:Pp,Computer:Dp,ConciergeBell:qp,Cone:zp,Construction:Ep,Contact:Tp,ContactRound:io,Container:Op,Contrast:Hp,Cookie:$p,CookingPot:Fp,Copy:Gp,CopyCheck:jp,CopyMinus:Rp,CopyPlus:Np,CopySlash:Wp,CopyX:Up,Copyleft:Yp,Copyright:Kp,CornerDownLeft:Xp,CornerDownRight:Jp,CornerLeftDown:Zp,CornerLeftUp:Qp,CornerRightDown:ey,CornerRightUp:ty,CornerUpLeft:ay,CornerUpRight:ny,Cpu:ws,CreativeCommons:oy,CreditCard:ry,Croissant:iy,Crop:sy,Cross:ly,Crosshair:dy,Crown:cy,Cuboid:hy,CupSoda:uy,Currency:py,Cylinder:yy,Dam:fy,Database:by,DatabaseBackup:my,DatabaseSearch:ky,DatabaseZap:gy,DecimalsArrowLeft:My,DecimalsArrowRight:xy,Delete:wy,Dessert:vy,Diameter:Cy,Diamond:Iy,DiamondMinus:Ly,DiamondPercent:so,DiamondPlus:Sy,Dice1:_y,Dice2:By,Dice3:Ay,Dice4:Vy,Dice5:Py,Dice6:Dy,Dices:qy,Diff:zy,Disc:Hy,Disc2:Ey,Disc3:Ty,DiscAlbum:Oy,Divide:Fy,Dna:jy,DnaOff:$y,Dock:Ry,Dog:Uy,DollarSign:Ny,Donut:Gy,DoorClosed:Yy,DoorClosedLocked:Wy,DoorOpen:Ky,Dot:Xy,Download:kl,DraftingCompass:Zy,Drama:Qy,Dribbble:Jy,Drill:ef,Drone:tf,Droplet:nf,DropletOff:af,Droplets:of,Drum:rf,Drumstick:sf,Dumbbell:lf,Ear:df,EarOff:cf,Earth:lo,EarthLock:hf,Eclipse:uf,Egg:yf,EggFried:pf,EggOff:ff,Ellipsis:Ca,EllipsisVertical:co,Equal:gf,EqualApproximately:kf,EqualNot:mf,Eraser:bf,EthernetPort:Mf,Euro:xf,EvCharger:wf,Expand:vf,ExternalLink:Cf,Eye:vs,EyeClosed:Lf,EyeOff:gl,Facebook:Sf,Factory:If,Fan:_f,FastForward:Bf,Feather:Af,Fence:Vf,FerrisWheel:Pf,Figma:Df,File:sm,FileArchive:qf,FileAxis3d:ho,FileBadge:uo,FileBox:zf,FileBraces:yo,FileBracesCorner:po,FileChartColumn:mo,FileChartColumnIncreasing:fo,FileChartLine:ko,FileChartPie:go,FileCheck:Ef,FileCheckCorner:bo,FileClock:Tf,FileCode:Of,FileCodeCorner:Mo,FileCog:xo,FileDiff:Hf,FileDigit:$f,FileDown:Ff,FileExclamationPoint:wo,FileHeadphone:Dt,FileHeart:jf,FileImage:Rf,FileInput:Nf,FileKey:vo,FileLock:Co,FileMinus:Wf,FileMinusCorner:Lo,FileMusic:Uf,FileOutput:Gf,FilePen:_o,FilePenLine:So,FilePlay:Io,FilePlus:Yf,FilePlusCorner:Bo,FileQuestionMark:Ao,FileScan:Kf,FileSearch:Xf,FileSearchCorner:Vo,FileSignal:Po,FileSliders:Zf,FileSpreadsheet:Jf,FileStack:Qf,FileSymlink:em,FileTerminal:tm,FileText:Cs,FileType:am,FileTypeCorner:Do,FileUp:nm,FileUser:om,FileVideoCamera:qo,FileVolume:rm,FileX:im,FileXCorner:zo,Files:cm,Film:lm,FingerprintPattern:Eo,FireExtinguisher:dm,Fish:pm,FishOff:hm,FishSymbol:um,FishingHook:ym,Flag:gm,FlagOff:fm,FlagTriangleLeft:mm,FlagTriangleRight:km,Flame:Mm,FlameKindling:bm,Flashlight:wm,FlashlightOff:xm,FlaskConical:Cm,FlaskConicalOff:vm,FlaskRound:Lm,FlipHorizontal2:Sm,FlipVertical2:Im,Flower:Bm,Flower2:_m,Focus:Am,FoldHorizontal:Vm,FoldVertical:Pm,Folder:ik,FolderArchive:Dm,FolderCheck:qm,FolderClock:zm,FolderClosed:Em,FolderCode:Tm,FolderCog:To,FolderDot:Om,FolderDown:Hm,FolderGit:$m,FolderGit2:Fm,FolderHeart:jm,FolderInput:Rm,FolderKanban:Um,FolderKey:Nm,FolderLock:Wm,FolderMinus:Km,FolderOpen:Ym,FolderOpenDot:Gm,FolderOutput:Xm,FolderPen:Oo,FolderPlus:Qm,FolderRoot:Zm,FolderSearch:ek,FolderSearch2:Jm,FolderSymlink:ak,FolderSync:tk,FolderTree:nk,FolderUp:ok,FolderX:rk,Folders:sk,Footprints:lk,Forklift:ck,Form:dk,Forward:uk,Frame:hk,Framer:pk,Frown:yk,Fuel:fk,Fullscreen:mk,Funnel:Fo,FunnelPlus:kk,FunnelX:Ho,GalleryHorizontal:bk,GalleryHorizontalEnd:gk,GalleryThumbnails:Mk,GalleryVertical:wk,GalleryVerticalEnd:xk,Gamepad:Sk,Gamepad2:vk,GamepadDirectional:Ck,Gauge:Lk,Gavel:Ik,Gem:_k,GeorgianLari:Bk,Ghost:Ak,Gift:Vk,GitBranch:qk,GitBranchMinus:Pk,GitBranchPlus:Dk,GitCommitHorizontal:$o,GitCommitVertical:zk,GitCompare:Tk,GitCompareArrows:Ek,GitFork:Ok,GitGraph:Hk,GitMerge:$k,GitMergeConflict:Fk,GitPullRequest:Gk,GitPullRequestArrow:jk,GitPullRequestClosed:Rk,GitPullRequestCreate:Uk,GitPullRequestCreateArrow:Nk,GitPullRequestDraft:Wk,Github:Yk,Gitlab:Kk,GlassWater:Xk,Glasses:Zk,Globe:bl,GlobeLock:Jk,GlobeOff:Qk,GlobeX:eg,Goal:tg,Gpu:ng,GraduationCap:ag,Grape:og,Grid2x2:Uo,Grid2x2Check:jo,Grid2x2Plus:No,Grid2x2X:Ro,Grid3x2:rg,Grid3x3:qt,Grip:lg,GripHorizontal:ig,GripVertical:sg,Group:dg,Guitar:cg,Ham:hg,Hamburger:ug,Hammer:pg,Hand:bg,HandCoins:yg,HandFist:fg,HandGrab:Wo,HandHeart:mg,HandHelping:Go,HandMetal:kg,HandPlatter:gg,Handbag:Mg,Handshake:xg,HardDrive:Cg,HardDriveDownload:wg,HardDriveUpload:vg,HardHat:Lg,Hash:Sg,HatGlasses:Ig,Haze:_g,Hd:Bg,HdmiPort:Ag,Heading:Tg,Heading1:Vg,Heading2:Pg,Heading3:Dg,Heading4:qg,Heading5:zg,Heading6:Eg,HeadphoneOff:Og,Headphones:Hg,Headset:Fg,Heart:Gg,HeartCrack:$g,HeartHandshake:Rg,HeartMinus:jg,HeartOff:Ng,HeartPlus:Ug,HeartPulse:Wg,Heater:Yg,Helicopter:Kg,Hexagon:Xg,Highlighter:Zg,History:Jg,Hop:e4,HopOff:Qg,Hospital:t4,Hotel:a4,Hourglass:n4,House:Yo,HouseHeart:o4,HousePlug:r4,HousePlus:i4,HouseWifi:s4,IceCreamBowl:Ko,IceCreamCone:Xo,IdCard:c4,IdCardLanyard:l4,Image:k4,ImageDown:d4,ImageMinus:h4,ImageOff:u4,ImagePlay:p4,ImagePlus:y4,ImageUp:f4,ImageUpscale:m4,Images:g4,Import:M4,Inbox:b4,IndianRupee:x4,Infinity:w4,Info:v4,InspectionPanel:C4,Instagram:L4,Italic:S4,IterationCcw:I4,IterationCw:_4,JapaneseYen:B4,Joystick:A4,Kanban:V4,Kayak:P4,Key:E4,KeyRound:D4,KeySquare:q4,Keyboard:O4,KeyboardMusic:z4,KeyboardOff:T4,Lamp:N4,LampCeiling:H4,LampDesk:F4,LampFloor:j4,LampWallDown:$4,LampWallUp:R4,LandPlot:U4,Landmark:G4,Languages:W4,Laptop:K4,LaptopMinimal:Zo,LaptopMinimalCheck:Y4,Lasso:Z4,LassoSelect:X4,Laugh:J4,Layers:Jo,Layers2:Q4,LayersPlus:e5,LayoutDashboard:t5,LayoutGrid:a5,LayoutList:n5,LayoutPanelLeft:o5,LayoutPanelTop:r5,LayoutTemplate:i5,Leaf:s5,LeafyGreen:l5,Lectern:c5,LensConcave:d5,LensConvex:h5,Library:f5,LibraryBig:u5,LifeBuoy:y5,Ligature:p5,Lightbulb:k5,LightbulbOff:m5,LineDotRightHorizontal:g5,LineSquiggle:b5,Link:Ml,Link2:x5,Link2Off:M5,Linkedin:w5,List:$5,ListCheck:v5,ListChecks:C5,ListChevronsDownUp:S5,ListChevronsUpDown:L5,ListCollapse:I5,ListEnd:_5,ListFilter:B5,ListFilterPlus:A5,ListIndentDecrease:zt,ListIndentIncrease:Et,ListMinus:q5,ListMusic:V5,ListOrdered:P5,ListPlus:D5,ListRestart:z5,ListStart:E5,ListTodo:O5,ListTree:T5,ListVideo:H5,ListX:F5,Loader:R5,LoaderCircle:bt,LoaderPinwheel:j5,Locate:W5,LocateFixed:N5,LocateOff:U5,Lock:Y5,LockKeyhole:G5,LockKeyholeOpen:Qo,LockOpen:er,LogIn:K5,LogOut:X5,Logs:Z5,Lollipop:J5,Luggage:Q5,Magnet:e3,Mail:l3,MailCheck:t3,MailMinus:n3,MailOpen:a3,MailPlus:o3,MailQuestionMark:tr,MailSearch:r3,MailWarning:s3,MailX:i3,Mailbox:h3,Mails:c3,Map:C3,MapMinus:d3,MapPin:Ls,MapPinCheck:u3,MapPinCheckInside:p3,MapPinHouse:y3,MapPinMinus:m3,MapPinMinusInside:f3,MapPinOff:k3,MapPinPen:ar,MapPinPlus:b3,MapPinPlusInside:g3,MapPinX:M3,MapPinXInside:x3,MapPinned:w3,MapPlus:v3,Mars:I3,MarsStroke:L3,Martini:S3,Maximize:B3,Maximize2:_3,Medal:A3,Megaphone:P3,MegaphoneOff:V3,Meh:D3,MemoryStick:q3,Menu:z3,Merge:E3,MessageCircle:G3,MessageCircleCheck:T3,MessageCircleCode:O3,MessageCircleDashed:H3,MessageCircleHeart:F3,MessageCircleMore:j3,MessageCircleOff:$3,MessageCirclePlus:R3,MessageCircleQuestionMark:nr,MessageCircleReply:N3,MessageCircleWarning:U3,MessageCircleX:W3,MessageSquare:Ss,MessageSquareCheck:Y3,MessageSquareCode:K3,MessageSquareDashed:X3,MessageSquareDiff:Z3,MessageSquareDot:J3,MessageSquareHeart:Q3,MessageSquareLock:e6,MessageSquareMore:t6,MessageSquareOff:a6,MessageSquarePlus:n6,MessageSquareQuote:o6,MessageSquareReply:r6,MessageSquareShare:i6,MessageSquareText:l6,MessageSquareWarning:s6,MessageSquareX:c6,MessagesSquare:d6,Metronome:h6,Mic:p6,MicOff:u6,MicVocal:or,Microchip:y6,Microscope:f6,Microwave:m6,Milestone:k6,Milk:b6,MilkOff:g6,Minimize:M6,Minimize2:x6,Minus:xl,MirrorRectangular:w6,MirrorRound:v6,Monitor:T6,MonitorCheck:C6,MonitorCloud:L6,MonitorCog:S6,MonitorDot:I6,MonitorDown:_6,MonitorOff:B6,MonitorPause:A6,MonitorPlay:V6,MonitorSmartphone:P6,MonitorSpeaker:D6,MonitorStop:q6,MonitorUp:z6,MonitorX:E6,Moon:H6,MoonStar:O6,Motorbike:F6,Mountain:j6,MountainSnow:$6,Mouse:Z6,MouseLeft:R6,MouseOff:N6,MousePointer:K6,MousePointer2:W6,MousePointer2Off:U6,MousePointerBan:G6,MousePointerClick:Y6,MouseRight:X6,Move:d8,Move3d:rr,MoveDiagonal:Q6,MoveDiagonal2:J6,MoveDown:a8,MoveDownLeft:e8,MoveDownRight:t8,MoveHorizontal:n8,MoveLeft:o8,MoveRight:i8,MoveUp:l8,MoveUpLeft:r8,MoveUpRight:s8,MoveVertical:c8,Music:y8,Music2:h8,Music3:u8,Music4:p8,Navigation:g8,Navigation2:m8,Navigation2Off:f8,NavigationOff:k8,Network:b8,Newspaper:M8,Nfc:x8,NonBinary:w8,Notebook:S8,NotebookPen:C8,NotebookTabs:v8,NotebookText:L8,NotepadText:_8,NotepadTextDashed:I8,Nut:A8,NutOff:B8,Octagon:P8,OctagonAlert:ir,OctagonMinus:V8,OctagonPause:sr,OctagonX:lr,Omega:D8,Option:q8,Orbit:z8,Origami:E8,Package:N8,Package2:T8,PackageCheck:H8,PackageMinus:O8,PackageOpen:F8,PackagePlus:$8,PackageSearch:j8,PackageX:R8,PaintBucket:U8,PaintRoller:W8,Paintbrush:G8,PaintbrushVertical:cr,Palette:Y8,Panda:K8,PanelBottom:J8,PanelBottomClose:X8,PanelBottomDashed:dr,PanelBottomOpen:Z8,PanelLeft:yr,PanelLeftClose:ur,PanelLeftDashed:hr,PanelLeftOpen:pr,PanelLeftRightDashed:Q8,PanelRight:a7,PanelRightClose:e7,PanelRightDashed:fr,PanelRightOpen:t7,PanelTop:i7,PanelTopBottomDashed:n7,PanelTopClose:o7,PanelTopDashed:mr,PanelTopOpen:r7,PanelsLeftBottom:s7,PanelsRightBottom:l7,PanelsTopLeft:kr,Paperclip:c7,Parentheses:d7,ParkingMeter:h7,PartyPopper:u7,Pause:p7,PawPrint:y7,PcCase:f7,Pen:br,PenLine:gr,PenOff:m7,PenTool:k7,Pencil:Is,PencilLine:g7,PencilOff:b7,PencilRuler:M7,Pentagon:x7,Percent:w7,PersonStanding:v7,PhilippinePeso:C7,Phone:wl,PhoneCall:L7,PhoneForwarded:S7,PhoneIncoming:I7,PhoneMissed:B7,PhoneOff:_7,PhoneOutgoing:A7,Pi:V7,Piano:P7,Pickaxe:D7,PictureInPicture:z7,PictureInPicture2:q7,PiggyBank:E7,Pilcrow:H7,PilcrowLeft:T7,PilcrowRight:O7,Pill:N7,PillBottle:F7,Pin:j7,PinOff:$7,Pipette:R7,Pizza:U7,Plane:vl,PlaneLanding:W7,PlaneTakeoff:G7,Play:Y7,Plug:X7,Plug2:K7,PlugZap:Mr,Plus:Cl,Pocket:J7,PocketKnife:Z7,Podcast:Q7,Pointer:tb,PointerOff:eb,Popcorn:ab,Popsicle:nb,PoundSterling:rb,Power:ib,PowerOff:ob,Presentation:sb,Printer:db,PrinterCheck:lb,PrinterX:cb,Projector:hb,Proportions:yb,Puzzle:ub,Pyramid:pb,QrCode:fb,Quote:mb,Rabbit:gb,Radar:kb,Radiation:Mb,Radical:bb,Radio:vb,RadioReceiver:xb,RadioTower:wb,Radius:Cb,RailSymbol:Lb,Rainbow:Sb,Rat:Ib,Ratio:_b,Receipt:Ob,ReceiptCent:Bb,ReceiptEuro:Ab,ReceiptIndianRupee:Vb,ReceiptJapaneseYen:Pb,ReceiptPoundSterling:Db,ReceiptRussianRuble:qb,ReceiptSwissFranc:zb,ReceiptText:Eb,ReceiptTurkishLira:Tb,RectangleCircle:Hb,RectangleEllipsis:xr,RectangleGoggles:Fb,RectangleHorizontal:$b,RectangleVertical:jb,Recycle:Rb,Redo:Ub,Redo2:Nb,RedoDot:Wb,RefreshCcw:Ll,RefreshCcwDot:Gb,RefreshCw:_s,RefreshCwOff:Yb,Refrigerator:Xb,Regex:Kb,RemoveFormatting:Zb,Repeat:Qb,Repeat1:Jb,Repeat2:tM,Replace:aM,ReplaceAll:eM,Reply:oM,ReplyAll:nM,Rewind:iM,Ribbon:rM,Rocket:sM,RockingChair:lM,RollerCoaster:cM,Rose:dM,Rotate3d:wr,RotateCcw:pM,RotateCcwKey:hM,RotateCcwSquare:uM,RotateCw:fM,RotateCwSquare:yM,Route:kM,RouteOff:mM,Router:gM,Rows2:vr,Rows3:Cr,Rows4:bM,Rss:MM,Ruler:xM,RulerDimensionLine:wM,RussianRuble:vM,Sailboat:CM,Salad:LM,Sandwich:IM,Satellite:_M,SatelliteDish:SM,SaudiRiyal:BM,Save:PM,SaveAll:VM,SaveOff:AM,Scale:DM,Scale3d:Lr,Scaling:qM,Scan:jM,ScanBarcode:zM,ScanEye:EM,ScanFace:TM,ScanHeart:OM,ScanLine:HM,ScanQrCode:$M,ScanSearch:FM,ScanText:RM,School:NM,Scissors:GM,ScissorsLineDashed:UM,Scooter:WM,ScreenShare:KM,ScreenShareOff:YM,Scroll:ZM,ScrollText:XM,Search:Sr,SearchAlert:JM,SearchCheck:ex,SearchCode:QM,SearchSlash:tx,SearchX:ax,Section:nx,Send:rx,SendHorizontal:Ir,SendToBack:ox,SeparatorHorizontal:ix,SeparatorVertical:sx,Server:Sl,ServerCog:lx,ServerCrash:cx,ServerOff:hx,Settings:ux,Settings2:dx,Shapes:px,Share:yx,Share2:Il,Sheet:fx,Shell:mx,ShelvingUnit:kx,Shield:Ix,ShieldAlert:gx,ShieldBan:bx,ShieldCheck:Mx,ShieldEllipsis:xx,ShieldHalf:wx,ShieldMinus:Lx,ShieldOff:vx,ShieldPlus:Cx,ShieldQuestionMark:_r,ShieldUser:Sx,ShieldX:Br,Ship:Bx,ShipWheel:_x,Shirt:Ax,ShoppingBag:Vx,ShoppingBasket:Px,ShoppingCart:Bs,Shovel:qx,ShowerHead:Dx,Shredder:zx,Shrimp:Ex,Shrink:Tx,Shrub:Ox,Shuffle:Hx,Sigma:Fx,Signal:Ux,SignalHigh:$x,SignalLow:jx,SignalMedium:Rx,SignalZero:Nx,Signature:Wx,Signpost:Yx,SignpostBig:Gx,Siren:Kx,SkipBack:Zx,SkipForward:Xx,Skull:Qx,Slack:Jx,Slash:e9,Slice:t9,SlidersHorizontal:_l,SlidersVertical:Ar,Smartphone:o9,SmartphoneCharging:a9,SmartphoneNfc:n9,Smile:i9,SmilePlus:r9,Snail:s9,Snowflake:l9,SoapDispenserDroplet:c9,Sofa:d9,SolarPanel:h9,Soup:u9,Space:p9,Spade:y9,Sparkle:f9,Sparkles:Vr,Speaker:m9,Speech:k9,SpellCheck:M9,SpellCheck2:g9,Spline:x9,SplinePointer:b9,Split:w9,Spool:v9,Spotlight:C9,SprayCan:L9,Sprout:S9,Square:F9,SquareActivity:Pr,SquareArrowDown:zr,SquareArrowDownLeft:Dr,SquareArrowDownRight:qr,SquareArrowLeft:Er,SquareArrowOutDownLeft:Tr,SquareArrowOutDownRight:Or,SquareArrowOutUpLeft:Hr,SquareArrowOutUpRight:Fr,SquareArrowRight:$r,SquareArrowRightEnter:I9,SquareArrowRightExit:_9,SquareArrowUp:Nr,SquareArrowUpLeft:Rr,SquareArrowUpRight:jr,SquareAsterisk:Ur,SquareBottomDashedScissors:Wr,SquareCenterlineDashedHorizontal:Gr,SquareCenterlineDashedVertical:Yr,SquareChartGantt:Tt,SquareCheck:Xr,SquareCheckBig:Kr,SquareChevronDown:Zr,SquareChevronLeft:Jr,SquareChevronRight:Qr,SquareChevronUp:ei,SquareCode:ti,SquareDashed:oi,SquareDashedBottom:A9,SquareDashedBottomCode:B9,SquareDashedKanban:ai,SquareDashedMousePointer:ni,SquareDashedTopSolid:V9,SquareDivide:ii,SquareDot:ri,SquareEqual:si,SquareFunction:li,SquareKanban:ci,SquareLibrary:di,SquareM:hi,SquareMenu:ui,SquareMinus:pi,SquareMousePointer:yi,SquareParking:mi,SquareParkingOff:fi,SquarePause:P9,SquarePen:et,SquarePercent:ki,SquarePi:gi,SquarePilcrow:bi,SquarePlay:Mi,SquarePlus:xi,SquarePower:wi,SquareRadical:q9,SquareRoundCorner:D9,SquareScissors:vi,SquareSigma:Ci,SquareSlash:Li,SquareSplitHorizontal:Si,SquareSplitVertical:Ii,SquareSquare:z9,SquareStack:E9,SquareStar:O9,SquareStop:T9,SquareTerminal:_i,SquareUser:Vi,SquareUserRound:Bi,SquareX:Ai,SquaresExclude:H9,SquaresIntersect:$9,SquaresSubtract:j9,SquaresUnite:R9,Squircle:U9,SquircleDashed:N9,Squirrel:W9,Stamp:G9,Star:Z9,StarHalf:Y9,StarOff:K9,StepBack:X9,StepForward:J9,Stethoscope:Q9,Sticker:ew,StickyNote:tw,Stone:aw,Store:nw,StretchHorizontal:rw,StretchVertical:ow,Strikethrough:iw,Subscript:sw,Sun:uw,SunDim:lw,SunMedium:cw,SunMoon:hw,SunSnow:dw,Sunrise:pw,Sunset:yw,Superscript:fw,SwatchBook:mw,SwissFranc:kw,SwitchCamera:bw,Sword:gw,Swords:Mw,Syringe:xw,Table:Aw,Table2:ww,TableCellsMerge:vw,TableCellsSplit:Cw,TableColumnsSplit:Lw,TableOfContents:Sw,TableProperties:Iw,TableRowsSplit:_w,Tablet:Bw,TabletSmartphone:Vw,Tablets:Pw,Tag:Dw,Tags:qw,Tally1:zw,Tally2:Ew,Tally3:Tw,Tally4:Ow,Tally5:Hw,Tangent:Fw,Target:$w,Telescope:jw,Tent:Nw,TentTree:Rw,Terminal:Uw,TestTube:Ww,TestTubeDiagonal:Pi,TestTubes:Gw,TextAlignCenter:zi,TextAlignEnd:Di,TextAlignJustify:qi,TextAlignStart:Ot,TextCursor:Kw,TextCursorInput:Yw,TextInitial:Ei,TextQuote:Zw,TextSearch:Xw,TextSelect:Oi,TextWrap:Ti,Theater:Jw,Thermometer:tv,ThermometerSnowflake:Qw,ThermometerSun:ev,ThumbsDown:nv,ThumbsUp:av,Ticket:hv,TicketCheck:ov,TicketMinus:rv,TicketPercent:iv,TicketPlus:sv,TicketSlash:lv,TicketX:cv,Tickets:uv,TicketsPlane:dv,Timer:fv,TimerOff:pv,TimerReset:yv,ToggleLeft:Bl,ToggleRight:mv,Toilet:kv,ToolCase:gv,Toolbox:bv,Tornado:Mv,Torus:xv,Touchpad:vv,TouchpadOff:wv,TowelRack:Cv,TowerControl:Lv,ToyBrick:Sv,Tractor:Iv,TrafficCone:_v,TrainFront:Pv,TrainFrontTunnel:Bv,TrainTrack:Av,TramFront:Hi,Transgender:Vv,Trash:Dv,Trash2:As,TreeDeciduous:qv,TreePalm:Fi,TreePine:zv,Trees:Ev,Trello:Tv,TrendingDown:Ov,TrendingUp:Fv,TrendingUpDown:Hv,Triangle:Nv,TriangleAlert:$i,TriangleDashed:$v,TriangleRight:Rv,Trophy:jv,Truck:Wv,TruckElectric:Uv,TurkishLira:Gv,Turntable:Yv,Turtle:Kv,Tv:Zv,TvMinimal:ji,TvMinimalPlay:Xv,Twitch:Jv,Twitter:eC,Type:tC,TypeOutline:Qv,Umbrella:nC,UmbrellaOff:aC,Underline:oC,Undo:iC,Undo2:rC,UndoDot:sC,UnfoldHorizontal:lC,UnfoldVertical:cC,Ungroup:dC,University:Ri,Unlink:uC,Unlink2:hC,Unplug:pC,Upload:yC,Usb:fC,User:Al,UserCheck:mC,UserCog:kC,UserKey:gC,UserLock:bC,UserMinus:MC,UserPen:xC,UserPlus:wC,UserRound:Ki,UserRoundCheck:Ni,UserRoundCog:Ui,UserRoundKey:vC,UserRoundMinus:Wi,UserRoundPen:CC,UserRoundPlus:Gi,UserRoundSearch:LC,UserRoundX:Yi,UserSearch:IC,UserStar:SC,UserX:_C,Users:BC,UsersRound:Xi,Utensils:Ji,UtensilsCrossed:Zi,UtilityPole:AC,Van:VC,Variable:DC,Vault:PC,VectorSquare:qC,Vegan:zC,VenetianMask:EC,Venus:TC,VenusAndMars:OC,Vibrate:FC,VibrateOff:HC,Video:jC,VideoOff:$C,Videotape:RC,View:NC,Voicemail:UC,Volleyball:YC,Volume:XC,Volume1:WC,Volume2:GC,VolumeOff:KC,VolumeX:ZC,Vote:JC,Wallet:eL,WalletCards:QC,WalletMinimal:Qi,Wallpaper:tL,Wand:aL,WandSparkles:es,Warehouse:nL,WashingMachine:oL,Watch:rL,Waves:cL,WavesArrowDown:iL,WavesArrowUp:sL,WavesLadder:lL,Waypoints:dL,Webcam:hL,Webhook:pL,WebhookOff:uL,Weight:fL,WeightTilde:yL,Wheat:kL,WheatOff:mL,WholeWord:gL,Wifi:SL,WifiCog:bL,WifiHigh:ML,WifiLow:wL,WifiOff:xL,WifiPen:vL,WifiSync:CL,WifiZero:LL,Wind:IL,WindArrowDown:_L,Wine:BL,WineOff:AL,Workflow:VL,Worm:PL,Wrench:DL,X:Mt,XLineTop:qL,Youtube:zL,Zap:OL,ZapOff:EL,ZoomIn:TL,ZoomOut:HL},Symbol.toStringTag,{value:"Module"}));/**
|
|
8492
8492
|
* @license lucide-vue-next v0.575.0 - ISC
|
|
8493
8493
|
*
|
|
8494
8494
|
* This source code is licensed under the ISC license.
|
|
8495
8495
|
* See the LICENSE file in the root directory of this source tree.
|
|
8496
|
-
*/const La=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:C1,AArrowDownIcon:C1,AArrowUp:L1,AArrowUpIcon:L1,ALargeSmall:S1,ALargeSmallIcon:S1,Accessibility:I1,AccessibilityIcon:I1,Activity:_1,ActivityIcon:_1,ActivitySquare:Pr,ActivitySquareIcon:Pr,AirVent:B1,AirVentIcon:B1,Airplay:A1,AirplayIcon:A1,AlarmCheck:Ya,AlarmCheckIcon:Ya,AlarmClock:P1,AlarmClockCheck:Ya,AlarmClockCheckIcon:Ya,AlarmClockIcon:P1,AlarmClockMinus:Ka,AlarmClockMinusIcon:Ka,AlarmClockOff:V1,AlarmClockOffIcon:V1,AlarmClockPlus:Xa,AlarmClockPlusIcon:Xa,AlarmMinus:Ka,AlarmMinusIcon:Ka,AlarmPlus:Xa,AlarmPlusIcon:Xa,AlarmSmoke:D1,AlarmSmokeIcon:D1,Album:z1,AlbumIcon:z1,AlertCircle:At,AlertCircleIcon:At,AlertOctagon:ir,AlertOctagonIcon:ir,AlertTriangle:$i,AlertTriangleIcon:$i,AlignCenter:zi,AlignCenterHorizontal:q1,AlignCenterHorizontalIcon:q1,AlignCenterIcon:zi,AlignCenterVertical:E1,AlignCenterVerticalIcon:E1,AlignEndHorizontal:T1,AlignEndHorizontalIcon:T1,AlignEndVertical:O1,AlignEndVerticalIcon:O1,AlignHorizontalDistributeCenter:H1,AlignHorizontalDistributeCenterIcon:H1,AlignHorizontalDistributeEnd:F1,AlignHorizontalDistributeEndIcon:F1,AlignHorizontalDistributeStart:$1,AlignHorizontalDistributeStartIcon:$1,AlignHorizontalJustifyCenter:j1,AlignHorizontalJustifyCenterIcon:j1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyEndIcon:R1,AlignHorizontalJustifyStart:N1,AlignHorizontalJustifyStartIcon:N1,AlignHorizontalSpaceAround:U1,AlignHorizontalSpaceAroundIcon:U1,AlignHorizontalSpaceBetween:W1,AlignHorizontalSpaceBetweenIcon:W1,AlignJustify:qi,AlignJustifyIcon:qi,AlignLeft:Ot,AlignLeftIcon:Ot,AlignRight:Di,AlignRightIcon:Di,AlignStartHorizontal:G1,AlignStartHorizontalIcon:G1,AlignStartVertical:Y1,AlignStartVerticalIcon:Y1,AlignVerticalDistributeCenter:K1,AlignVerticalDistributeCenterIcon:K1,AlignVerticalDistributeEnd:X1,AlignVerticalDistributeEndIcon:X1,AlignVerticalDistributeStart:Z1,AlignVerticalDistributeStartIcon:Z1,AlignVerticalJustifyCenter:J1,AlignVerticalJustifyCenterIcon:J1,AlignVerticalJustifyEnd:Q1,AlignVerticalJustifyEndIcon:Q1,AlignVerticalJustifyStart:ec,AlignVerticalJustifyStartIcon:ec,AlignVerticalSpaceAround:tc,AlignVerticalSpaceAroundIcon:tc,AlignVerticalSpaceBetween:ac,AlignVerticalSpaceBetweenIcon:ac,Ambulance:nc,AmbulanceIcon:nc,Ampersand:oc,AmpersandIcon:oc,Ampersands:rc,AmpersandsIcon:rc,Amphora:sc,AmphoraIcon:sc,Anchor:ic,AnchorIcon:ic,Angry:lc,AngryIcon:lc,Annoyed:cc,AnnoyedIcon:cc,Antenna:dc,AntennaIcon:dc,Anvil:hc,AnvilIcon:hc,Aperture:uc,ApertureIcon:uc,AppWindow:yc,AppWindowIcon:yc,AppWindowMac:pc,AppWindowMacIcon:pc,Apple:fc,AppleIcon:fc,Archive:gc,ArchiveIcon:gc,ArchiveRestore:mc,ArchiveRestoreIcon:mc,ArchiveX:kc,ArchiveXIcon:kc,AreaChart:un,AreaChartIcon:un,Armchair:bc,ArmchairIcon:bc,ArrowBigDown:xc,ArrowBigDownDash:Mc,ArrowBigDownDashIcon:Mc,ArrowBigDownIcon:xc,ArrowBigLeft:vc,ArrowBigLeftDash:wc,ArrowBigLeftDashIcon:wc,ArrowBigLeftIcon:vc,ArrowBigRight:Lc,ArrowBigRightDash:Cc,ArrowBigRightDashIcon:Cc,ArrowBigRightIcon:Lc,ArrowBigUp:Sc,ArrowBigUpDash:Ic,ArrowBigUpDashIcon:Ic,ArrowBigUpIcon:Sc,ArrowDown:Tc,ArrowDown01:Bc,ArrowDown01Icon:Bc,ArrowDown10:_c,ArrowDown10Icon:_c,ArrowDownAZ:Za,ArrowDownAZIcon:Za,ArrowDownAz:Za,ArrowDownAzIcon:Za,ArrowDownCircle:Sn,ArrowDownCircleIcon:Sn,ArrowDownFromLine:Ac,ArrowDownFromLineIcon:Ac,ArrowDownIcon:Tc,ArrowDownLeft:Vc,ArrowDownLeftFromCircle:_n,ArrowDownLeftFromCircleIcon:_n,ArrowDownLeftFromSquare:Tr,ArrowDownLeftFromSquareIcon:Tr,ArrowDownLeftIcon:Vc,ArrowDownLeftSquare:Dr,ArrowDownLeftSquareIcon:Dr,ArrowDownNarrowWide:Dc,ArrowDownNarrowWideIcon:Dc,ArrowDownRight:Pc,ArrowDownRightFromCircle:Bn,ArrowDownRightFromCircleIcon:Bn,ArrowDownRightFromSquare:Or,ArrowDownRightFromSquareIcon:Or,ArrowDownRightIcon:Pc,ArrowDownRightSquare:qr,ArrowDownRightSquareIcon:qr,ArrowDownSquare:zr,ArrowDownSquareIcon:zr,ArrowDownToDot:qc,ArrowDownToDotIcon:qc,ArrowDownToLine:zc,ArrowDownToLineIcon:zc,ArrowDownUp:Ec,ArrowDownUpIcon:Ec,ArrowDownWideNarrow:Ja,ArrowDownWideNarrowIcon:Ja,ArrowDownZA:Qa,ArrowDownZAIcon:Qa,ArrowDownZa:Qa,ArrowDownZaIcon:Qa,ArrowLeft:$c,ArrowLeftCircle:In,ArrowLeftCircleIcon:In,ArrowLeftFromLine:Oc,ArrowLeftFromLineIcon:Oc,ArrowLeftIcon:$c,ArrowLeftRight:Fc,ArrowLeftRightIcon:Fc,ArrowLeftSquare:Er,ArrowLeftSquareIcon:Er,ArrowLeftToLine:Hc,ArrowLeftToLineIcon:Hc,ArrowRight:hl,ArrowRightCircle:Pn,ArrowRightCircleIcon:Pn,ArrowRightFromLine:jc,ArrowRightFromLineIcon:jc,ArrowRightIcon:hl,ArrowRightLeft:Rc,ArrowRightLeftIcon:Rc,ArrowRightSquare:$r,ArrowRightSquareIcon:$r,ArrowRightToLine:Nc,ArrowRightToLineIcon:Nc,ArrowUp:td,ArrowUp01:Uc,ArrowUp01Icon:Uc,ArrowUp10:Wc,ArrowUp10Icon:Wc,ArrowUpAZ:en,ArrowUpAZIcon:en,ArrowUpAz:en,ArrowUpAzIcon:en,ArrowUpCircle:Dn,ArrowUpCircleIcon:Dn,ArrowUpDown:Gc,ArrowUpDownIcon:Gc,ArrowUpFromDot:Yc,ArrowUpFromDotIcon:Yc,ArrowUpFromLine:Kc,ArrowUpFromLineIcon:Kc,ArrowUpIcon:td,ArrowUpLeft:Xc,ArrowUpLeftFromCircle:An,ArrowUpLeftFromCircleIcon:An,ArrowUpLeftFromSquare:Hr,ArrowUpLeftFromSquareIcon:Hr,ArrowUpLeftIcon:Xc,ArrowUpLeftSquare:Rr,ArrowUpLeftSquareIcon:Rr,ArrowUpNarrowWide:tn,ArrowUpNarrowWideIcon:tn,ArrowUpRight:Zc,ArrowUpRightFromCircle:Vn,ArrowUpRightFromCircleIcon:Vn,ArrowUpRightFromSquare:Fr,ArrowUpRightFromSquareIcon:Fr,ArrowUpRightIcon:Zc,ArrowUpRightSquare:jr,ArrowUpRightSquareIcon:jr,ArrowUpSquare:Nr,ArrowUpSquareIcon:Nr,ArrowUpToLine:Jc,ArrowUpToLineIcon:Jc,ArrowUpWideNarrow:Qc,ArrowUpWideNarrowIcon:Qc,ArrowUpZA:an,ArrowUpZAIcon:an,ArrowUpZa:an,ArrowUpZaIcon:an,ArrowsUpFromLine:ed,ArrowsUpFromLineIcon:ed,Asterisk:ad,AsteriskIcon:ad,AsteriskSquare:Ur,AsteriskSquareIcon:Ur,AtSign:nd,AtSignIcon:nd,Atom:od,AtomIcon:od,AudioLines:rd,AudioLinesIcon:rd,AudioWaveform:id,AudioWaveformIcon:id,Award:sd,AwardIcon:sd,Axe:ld,AxeIcon:ld,Axis3D:nn,Axis3DIcon:nn,Axis3d:nn,Axis3dIcon:nn,Baby:dd,BabyIcon:dd,Backpack:cd,BackpackIcon:cd,Badge:Sd,BadgeAlert:hd,BadgeAlertIcon:hd,BadgeCent:ud,BadgeCentIcon:ud,BadgeCheck:on,BadgeCheckIcon:on,BadgeDollarSign:pd,BadgeDollarSignIcon:pd,BadgeEuro:yd,BadgeEuroIcon:yd,BadgeHelp:rn,BadgeHelpIcon:rn,BadgeIcon:Sd,BadgeIndianRupee:fd,BadgeIndianRupeeIcon:fd,BadgeInfo:md,BadgeInfoIcon:md,BadgeJapaneseYen:kd,BadgeJapaneseYenIcon:kd,BadgeMinus:gd,BadgeMinusIcon:gd,BadgePercent:bd,BadgePercentIcon:bd,BadgePlus:Md,BadgePlusIcon:Md,BadgePoundSterling:xd,BadgePoundSterlingIcon:xd,BadgeQuestionMark:rn,BadgeQuestionMarkIcon:rn,BadgeRussianRuble:wd,BadgeRussianRubleIcon:wd,BadgeSwissFranc:vd,BadgeSwissFrancIcon:vd,BadgeTurkishLira:Cd,BadgeTurkishLiraIcon:Cd,BadgeX:Ld,BadgeXIcon:Ld,BaggageClaim:Id,BaggageClaimIcon:Id,Balloon:_d,BalloonIcon:_d,Ban:Ad,BanIcon:Ad,Banana:Bd,BananaIcon:Bd,Bandage:Vd,BandageIcon:Vd,Banknote:Td,BanknoteArrowDown:Pd,BanknoteArrowDownIcon:Pd,BanknoteArrowUp:Dd,BanknoteArrowUpIcon:Dd,BanknoteIcon:Td,BanknoteX:qd,BanknoteXIcon:qd,BarChart:Mn,BarChart2:xn,BarChart2Icon:xn,BarChart3:gn,BarChart3Icon:gn,BarChart4:kn,BarChart4Icon:kn,BarChartBig:mn,BarChartBigIcon:mn,BarChartHorizontal:fn,BarChartHorizontalBig:pn,BarChartHorizontalBigIcon:pn,BarChartHorizontalIcon:fn,BarChartIcon:Mn,Barcode:zd,BarcodeIcon:zd,Barrel:Ed,BarrelIcon:Ed,Baseline:Od,BaselineIcon:Od,Bath:Hd,BathIcon:Hd,Battery:Wd,BatteryCharging:Fd,BatteryChargingIcon:Fd,BatteryFull:$d,BatteryFullIcon:$d,BatteryIcon:Wd,BatteryLow:jd,BatteryLowIcon:jd,BatteryMedium:Nd,BatteryMediumIcon:Nd,BatteryPlus:Rd,BatteryPlusIcon:Rd,BatteryWarning:Ud,BatteryWarningIcon:Ud,Beaker:Gd,BeakerIcon:Gd,Bean:Kd,BeanIcon:Kd,BeanOff:Yd,BeanOffIcon:Yd,Bed:Jd,BedDouble:Xd,BedDoubleIcon:Xd,BedIcon:Jd,BedSingle:Zd,BedSingleIcon:Zd,Beef:Qd,BeefIcon:Qd,Beer:t0,BeerIcon:t0,BeerOff:e0,BeerOffIcon:e0,Bell:s0,BellDot:a0,BellDotIcon:a0,BellElectric:n0,BellElectricIcon:n0,BellIcon:s0,BellMinus:o0,BellMinusIcon:o0,BellOff:r0,BellOffIcon:r0,BellPlus:i0,BellPlusIcon:i0,BellRing:l0,BellRingIcon:l0,BetweenHorizonalEnd:sn,BetweenHorizonalEndIcon:sn,BetweenHorizonalStart:ln,BetweenHorizonalStartIcon:ln,BetweenHorizontalEnd:sn,BetweenHorizontalEndIcon:sn,BetweenHorizontalStart:ln,BetweenHorizontalStartIcon:ln,BetweenVerticalEnd:c0,BetweenVerticalEndIcon:c0,BetweenVerticalStart:d0,BetweenVerticalStartIcon:d0,BicepsFlexed:h0,BicepsFlexedIcon:h0,Bike:u0,BikeIcon:u0,Binary:p0,BinaryIcon:p0,Binoculars:f0,BinocularsIcon:f0,Biohazard:y0,BiohazardIcon:y0,Bird:m0,BirdIcon:m0,Birdhouse:k0,BirdhouseIcon:k0,Bitcoin:g0,BitcoinIcon:g0,Blend:b0,BlendIcon:b0,Blinds:M0,BlindsIcon:M0,Blocks:w0,BlocksIcon:w0,Bluetooth:L0,BluetoothConnected:x0,BluetoothConnectedIcon:x0,BluetoothIcon:L0,BluetoothOff:v0,BluetoothOffIcon:v0,BluetoothSearching:C0,BluetoothSearchingIcon:C0,Bold:S0,BoldIcon:S0,Bolt:I0,BoltIcon:I0,Bomb:_0,BombIcon:_0,Bone:B0,BoneIcon:B0,Book:e2,BookA:A0,BookAIcon:A0,BookAlert:V0,BookAlertIcon:V0,BookAudio:P0,BookAudioIcon:P0,BookCheck:q0,BookCheckIcon:q0,BookCopy:D0,BookCopyIcon:D0,BookDashed:cn,BookDashedIcon:cn,BookDown:z0,BookDownIcon:z0,BookHeadphones:E0,BookHeadphonesIcon:E0,BookHeart:T0,BookHeartIcon:T0,BookIcon:e2,BookImage:O0,BookImageIcon:O0,BookKey:H0,BookKeyIcon:H0,BookLock:F0,BookLockIcon:F0,BookMarked:$0,BookMarkedIcon:$0,BookMinus:j0,BookMinusIcon:j0,BookOpen:U0,BookOpenCheck:R0,BookOpenCheckIcon:R0,BookOpenIcon:U0,BookOpenText:N0,BookOpenTextIcon:N0,BookPlus:W0,BookPlusIcon:W0,BookSearch:G0,BookSearchIcon:G0,BookTemplate:cn,BookTemplateIcon:cn,BookText:Y0,BookTextIcon:Y0,BookType:K0,BookTypeIcon:K0,BookUp:X0,BookUp2:Z0,BookUp2Icon:Z0,BookUpIcon:X0,BookUser:J0,BookUserIcon:J0,BookX:Q0,BookXIcon:Q0,Bookmark:r2,BookmarkCheck:t2,BookmarkCheckIcon:t2,BookmarkIcon:r2,BookmarkMinus:a2,BookmarkMinusIcon:a2,BookmarkPlus:n2,BookmarkPlusIcon:n2,BookmarkX:o2,BookmarkXIcon:o2,BoomBox:s2,BoomBoxIcon:s2,Bot:c2,BotIcon:c2,BotMessageSquare:i2,BotMessageSquareIcon:i2,BotOff:l2,BotOffIcon:l2,BottleWine:h2,BottleWineIcon:h2,BowArrow:d2,BowArrowIcon:d2,Box:u2,BoxIcon:u2,BoxSelect:oi,BoxSelectIcon:oi,Boxes:p2,BoxesIcon:p2,Braces:dn,BracesIcon:dn,Brackets:y2,BracketsIcon:y2,Brain:k2,BrainCircuit:m2,BrainCircuitIcon:m2,BrainCog:f2,BrainCogIcon:f2,BrainIcon:k2,BrickWall:b2,BrickWallFire:g2,BrickWallFireIcon:g2,BrickWallIcon:b2,BrickWallShield:M2,BrickWallShieldIcon:M2,Briefcase:v2,BriefcaseBusiness:x2,BriefcaseBusinessIcon:x2,BriefcaseConveyorBelt:w2,BriefcaseConveyorBeltIcon:w2,BriefcaseIcon:v2,BriefcaseMedical:C2,BriefcaseMedicalIcon:C2,BringToFront:L2,BringToFrontIcon:L2,Brush:I2,BrushCleaning:S2,BrushCleaningIcon:S2,BrushIcon:I2,Bubbles:_2,BubblesIcon:_2,Bug:V2,BugIcon:V2,BugOff:B2,BugOffIcon:B2,BugPlay:A2,BugPlayIcon:A2,Building:D2,Building2:P2,Building2Icon:P2,BuildingIcon:D2,Bus:z2,BusFront:q2,BusFrontIcon:q2,BusIcon:z2,Cable:T2,CableCar:E2,CableCarIcon:E2,CableIcon:T2,Cake:H2,CakeIcon:H2,CakeSlice:O2,CakeSliceIcon:O2,Calculator:F2,CalculatorIcon:F2,Calendar:ul,Calendar1:$2,Calendar1Icon:$2,CalendarArrowDown:N2,CalendarArrowDownIcon:N2,CalendarArrowUp:j2,CalendarArrowUpIcon:j2,CalendarCheck:U2,CalendarCheck2:R2,CalendarCheck2Icon:R2,CalendarCheckIcon:U2,CalendarClock:W2,CalendarClockIcon:W2,CalendarCog:Y2,CalendarCogIcon:Y2,CalendarDays:G2,CalendarDaysIcon:G2,CalendarFold:K2,CalendarFoldIcon:K2,CalendarHeart:X2,CalendarHeartIcon:X2,CalendarIcon:ul,CalendarMinus:J2,CalendarMinus2:Z2,CalendarMinus2Icon:Z2,CalendarMinusIcon:J2,CalendarOff:Q2,CalendarOffIcon:Q2,CalendarPlus:th,CalendarPlus2:eh,CalendarPlus2Icon:eh,CalendarPlusIcon:th,CalendarRange:ah,CalendarRangeIcon:ah,CalendarSearch:nh,CalendarSearchIcon:nh,CalendarSync:oh,CalendarSyncIcon:oh,CalendarX:ih,CalendarX2:rh,CalendarX2Icon:rh,CalendarXIcon:ih,Calendars:sh,CalendarsIcon:sh,Camera:ch,CameraIcon:ch,CameraOff:lh,CameraOffIcon:lh,CandlestickChart:yn,CandlestickChartIcon:yn,Candy:uh,CandyCane:dh,CandyCaneIcon:dh,CandyIcon:uh,CandyOff:hh,CandyOffIcon:hh,Cannabis:yh,CannabisIcon:yh,CannabisOff:ph,CannabisOffIcon:ph,Captions:hn,CaptionsIcon:hn,CaptionsOff:fh,CaptionsOffIcon:fh,Car:gh,CarFront:mh,CarFrontIcon:mh,CarIcon:gh,CarTaxiFront:kh,CarTaxiFrontIcon:kh,Caravan:bh,CaravanIcon:bh,CardSim:Mh,CardSimIcon:Mh,Carrot:xh,CarrotIcon:xh,CaseLower:wh,CaseLowerIcon:wh,CaseSensitive:vh,CaseSensitiveIcon:vh,CaseUpper:Ch,CaseUpperIcon:Ch,CassetteTape:Lh,CassetteTapeIcon:Lh,Cast:Sh,CastIcon:Sh,Castle:Ih,CastleIcon:Ih,Cat:_h,CatIcon:_h,Cctv:Bh,CctvIcon:Bh,ChartArea:un,ChartAreaIcon:un,ChartBar:fn,ChartBarBig:pn,ChartBarBigIcon:pn,ChartBarDecreasing:Vh,ChartBarDecreasingIcon:Vh,ChartBarIcon:fn,ChartBarIncreasing:Ah,ChartBarIncreasingIcon:Ah,ChartBarStacked:Ph,ChartBarStackedIcon:Ph,ChartCandlestick:yn,ChartCandlestickIcon:yn,ChartColumn:gn,ChartColumnBig:mn,ChartColumnBigIcon:mn,ChartColumnDecreasing:Dh,ChartColumnDecreasingIcon:Dh,ChartColumnIcon:gn,ChartColumnIncreasing:kn,ChartColumnIncreasingIcon:kn,ChartColumnStacked:qh,ChartColumnStackedIcon:qh,ChartGantt:zh,ChartGanttIcon:zh,ChartLine:bn,ChartLineIcon:bn,ChartNetwork:Eh,ChartNetworkIcon:Eh,ChartNoAxesColumn:xn,ChartNoAxesColumnDecreasing:Th,ChartNoAxesColumnDecreasingIcon:Th,ChartNoAxesColumnIcon:xn,ChartNoAxesColumnIncreasing:Mn,ChartNoAxesColumnIncreasingIcon:Mn,ChartNoAxesCombined:Oh,ChartNoAxesCombinedIcon:Oh,ChartNoAxesGantt:vn,ChartNoAxesGanttIcon:vn,ChartPie:wn,ChartPieIcon:wn,ChartScatter:Cn,ChartScatterIcon:Cn,ChartSpline:Fh,ChartSplineIcon:Fh,Check:ba,CheckCheck:Hh,CheckCheckIcon:Hh,CheckCircle:wa,CheckCircle2:qn,CheckCircle2Icon:qn,CheckCircleIcon:wa,CheckIcon:ba,CheckLine:$h,CheckLineIcon:$h,CheckSquare:Kr,CheckSquare2:Xr,CheckSquare2Icon:Xr,CheckSquareIcon:Kr,ChefHat:jh,ChefHatIcon:jh,Cherry:Rh,CherryIcon:Rh,ChessBishop:Nh,ChessBishopIcon:Nh,ChessKing:Uh,ChessKingIcon:Uh,ChessKnight:Wh,ChessKnightIcon:Wh,ChessPawn:Gh,ChessPawnIcon:Gh,ChessQueen:Yh,ChessQueenIcon:Yh,ChessRook:Kh,ChessRookIcon:Kh,ChevronDown:Bt,ChevronDownCircle:En,ChevronDownCircleIcon:En,ChevronDownIcon:Bt,ChevronDownSquare:Zr,ChevronDownSquareIcon:Zr,ChevronFirst:Xh,ChevronFirstIcon:Xh,ChevronLast:Zh,ChevronLastIcon:Zh,ChevronLeft:Ma,ChevronLeftCircle:Tn,ChevronLeftCircleIcon:Tn,ChevronLeftIcon:Ma,ChevronLeftSquare:Jr,ChevronLeftSquareIcon:Jr,ChevronRight:xa,ChevronRightCircle:zn,ChevronRightCircleIcon:zn,ChevronRightIcon:xa,ChevronRightSquare:Qr,ChevronRightSquareIcon:Qr,ChevronUp:pl,ChevronUpCircle:On,ChevronUpCircleIcon:On,ChevronUpIcon:pl,ChevronUpSquare:ei,ChevronUpSquareIcon:ei,ChevronsDown:Qh,ChevronsDownIcon:Qh,ChevronsDownUp:Jh,ChevronsDownUpIcon:Jh,ChevronsLeft:yl,ChevronsLeftIcon:yl,ChevronsLeftRight:tu,ChevronsLeftRightEllipsis:eu,ChevronsLeftRightEllipsisIcon:eu,ChevronsLeftRightIcon:tu,ChevronsRight:fl,ChevronsRightIcon:fl,ChevronsRightLeft:au,ChevronsRightLeftIcon:au,ChevronsUp:ou,ChevronsUpDown:nu,ChevronsUpDownIcon:nu,ChevronsUpIcon:ou,Chrome:Ln,ChromeIcon:Ln,Chromium:Ln,ChromiumIcon:Ln,Church:iu,ChurchIcon:iu,Cigarette:su,CigaretteIcon:su,CigaretteOff:ru,CigaretteOffIcon:ru,Circle:wu,CircleAlert:At,CircleAlertIcon:At,CircleArrowDown:Sn,CircleArrowDownIcon:Sn,CircleArrowLeft:In,CircleArrowLeftIcon:In,CircleArrowOutDownLeft:_n,CircleArrowOutDownLeftIcon:_n,CircleArrowOutDownRight:Bn,CircleArrowOutDownRightIcon:Bn,CircleArrowOutUpLeft:An,CircleArrowOutUpLeftIcon:An,CircleArrowOutUpRight:Vn,CircleArrowOutUpRightIcon:Vn,CircleArrowRight:Pn,CircleArrowRightIcon:Pn,CircleArrowUp:Dn,CircleArrowUpIcon:Dn,CircleCheck:qn,CircleCheckBig:wa,CircleCheckBigIcon:wa,CircleCheckIcon:qn,CircleChevronDown:En,CircleChevronDownIcon:En,CircleChevronLeft:Tn,CircleChevronLeftIcon:Tn,CircleChevronRight:zn,CircleChevronRightIcon:zn,CircleChevronUp:On,CircleChevronUpIcon:On,CircleDashed:lu,CircleDashedIcon:lu,CircleDivide:Hn,CircleDivideIcon:Hn,CircleDollarSign:cu,CircleDollarSignIcon:cu,CircleDot:hu,CircleDotDashed:du,CircleDotDashedIcon:du,CircleDotIcon:hu,CircleEllipsis:pu,CircleEllipsisIcon:pu,CircleEqual:uu,CircleEqualIcon:uu,CircleFadingArrowUp:yu,CircleFadingArrowUpIcon:yu,CircleFadingPlus:fu,CircleFadingPlusIcon:fu,CircleGauge:Fn,CircleGaugeIcon:Fn,CircleHelp:Vt,CircleHelpIcon:Vt,CircleIcon:wu,CircleMinus:$n,CircleMinusIcon:$n,CircleOff:mu,CircleOffIcon:mu,CircleParking:Rn,CircleParkingIcon:Rn,CircleParkingOff:jn,CircleParkingOffIcon:jn,CirclePause:Nn,CirclePauseIcon:Nn,CirclePercent:Un,CirclePercentIcon:Un,CirclePile:ku,CirclePileIcon:ku,CirclePlay:Wn,CirclePlayIcon:Wn,CirclePlus:Gn,CirclePlusIcon:Gn,CirclePoundSterling:gu,CirclePoundSterlingIcon:gu,CirclePower:Yn,CirclePowerIcon:Yn,CircleQuestionMark:Vt,CircleQuestionMarkIcon:Vt,CircleSlash:bu,CircleSlash2:Kn,CircleSlash2Icon:Kn,CircleSlashIcon:bu,CircleSlashed:Kn,CircleSlashedIcon:Kn,CircleSmall:Mu,CircleSmallIcon:Mu,CircleStar:xu,CircleStarIcon:xu,CircleStop:Xn,CircleStopIcon:Xn,CircleUser:Jn,CircleUserIcon:Jn,CircleUserRound:Zn,CircleUserRoundIcon:Zn,CircleX:Qn,CircleXIcon:Qn,CircuitBoard:vu,CircuitBoardIcon:vu,Citrus:Cu,CitrusIcon:Cu,Clapperboard:Lu,ClapperboardIcon:Lu,Clipboard:zu,ClipboardCheck:Iu,ClipboardCheckIcon:Iu,ClipboardClock:Su,ClipboardClockIcon:Su,ClipboardCopy:_u,ClipboardCopyIcon:_u,ClipboardEdit:to,ClipboardEditIcon:to,ClipboardIcon:zu,ClipboardList:Bu,ClipboardListIcon:Bu,ClipboardMinus:Au,ClipboardMinusIcon:Au,ClipboardPaste:Vu,ClipboardPasteIcon:Vu,ClipboardPen:to,ClipboardPenIcon:to,ClipboardPenLine:eo,ClipboardPenLineIcon:eo,ClipboardPlus:Pu,ClipboardPlusIcon:Pu,ClipboardSignature:eo,ClipboardSignatureIcon:eo,ClipboardType:Du,ClipboardTypeIcon:Du,ClipboardX:qu,ClipboardXIcon:qu,Clock:ml,Clock1:Eu,Clock10:Tu,Clock10Icon:Tu,Clock11:Ou,Clock11Icon:Ou,Clock12:Hu,Clock12Icon:Hu,Clock1Icon:Eu,Clock2:Fu,Clock2Icon:Fu,Clock3:$u,Clock3Icon:$u,Clock4:ju,Clock4Icon:ju,Clock5:Ru,Clock5Icon:Ru,Clock6:Nu,Clock6Icon:Nu,Clock7:Uu,Clock7Icon:Uu,Clock8:Wu,Clock8Icon:Wu,Clock9:Gu,Clock9Icon:Gu,ClockAlert:Yu,ClockAlertIcon:Yu,ClockArrowDown:Ku,ClockArrowDownIcon:Ku,ClockArrowUp:Xu,ClockArrowUpIcon:Xu,ClockCheck:Zu,ClockCheckIcon:Zu,ClockFading:Ju,ClockFadingIcon:Ju,ClockIcon:ml,ClockPlus:Qu,ClockPlusIcon:Qu,ClosedCaption:ep,ClosedCaptionIcon:ep,Cloud:gp,CloudAlert:tp,CloudAlertIcon:tp,CloudBackup:ap,CloudBackupIcon:ap,CloudCheck:np,CloudCheckIcon:np,CloudCog:op,CloudCogIcon:op,CloudDownload:ao,CloudDownloadIcon:ao,CloudDrizzle:rp,CloudDrizzleIcon:rp,CloudFog:ip,CloudFogIcon:ip,CloudHail:sp,CloudHailIcon:sp,CloudIcon:gp,CloudLightning:lp,CloudLightningIcon:lp,CloudMoon:dp,CloudMoonIcon:dp,CloudMoonRain:cp,CloudMoonRainIcon:cp,CloudOff:hp,CloudOffIcon:hp,CloudRain:pp,CloudRainIcon:pp,CloudRainWind:up,CloudRainWindIcon:up,CloudSnow:yp,CloudSnowIcon:yp,CloudSun:mp,CloudSunIcon:mp,CloudSunRain:fp,CloudSunRainIcon:fp,CloudSync:kp,CloudSyncIcon:kp,CloudUpload:va,CloudUploadIcon:va,Cloudy:bp,CloudyIcon:bp,Clover:Mp,CloverIcon:Mp,Club:xp,ClubIcon:xp,Code:wp,Code2:no,Code2Icon:no,CodeIcon:wp,CodeSquare:ti,CodeSquareIcon:ti,CodeXml:no,CodeXmlIcon:no,Codepen:vp,CodepenIcon:vp,Codesandbox:Cp,CodesandboxIcon:Cp,Coffee:Lp,CoffeeIcon:Lp,Cog:Sp,CogIcon:Sp,Coins:Ip,CoinsIcon:Ip,Columns:oo,Columns2:oo,Columns2Icon:oo,Columns3:ro,Columns3Cog:Pt,Columns3CogIcon:Pt,Columns3Icon:ro,Columns4:_p,Columns4Icon:_p,ColumnsIcon:oo,ColumnsSettings:Pt,ColumnsSettingsIcon:Pt,Combine:Bp,CombineIcon:Bp,Command:Ap,CommandIcon:Ap,Compass:Vp,CompassIcon:Vp,Component:Pp,ComponentIcon:Pp,Computer:Dp,ComputerIcon:Dp,ConciergeBell:qp,ConciergeBellIcon:qp,Cone:zp,ConeIcon:zp,Construction:Ep,ConstructionIcon:Ep,Contact:Tp,Contact2:io,Contact2Icon:io,ContactIcon:Tp,ContactRound:io,ContactRoundIcon:io,Container:Op,ContainerIcon:Op,Contrast:Hp,ContrastIcon:Hp,Cookie:$p,CookieIcon:$p,CookingPot:Fp,CookingPotIcon:Fp,Copy:Gp,CopyCheck:jp,CopyCheckIcon:jp,CopyIcon:Gp,CopyMinus:Rp,CopyMinusIcon:Rp,CopyPlus:Np,CopyPlusIcon:Np,CopySlash:Wp,CopySlashIcon:Wp,CopyX:Up,CopyXIcon:Up,Copyleft:Yp,CopyleftIcon:Yp,Copyright:Kp,CopyrightIcon:Kp,CornerDownLeft:Xp,CornerDownLeftIcon:Xp,CornerDownRight:Jp,CornerDownRightIcon:Jp,CornerLeftDown:Zp,CornerLeftDownIcon:Zp,CornerLeftUp:Qp,CornerLeftUpIcon:Qp,CornerRightDown:ey,CornerRightDownIcon:ey,CornerRightUp:ty,CornerRightUpIcon:ty,CornerUpLeft:ay,CornerUpLeftIcon:ay,CornerUpRight:ny,CornerUpRightIcon:ny,Cpu:ws,CpuIcon:ws,CreativeCommons:oy,CreativeCommonsIcon:oy,CreditCard:ry,CreditCardIcon:ry,Croissant:iy,CroissantIcon:iy,Crop:sy,CropIcon:sy,Cross:ly,CrossIcon:ly,Crosshair:dy,CrosshairIcon:dy,Crown:cy,CrownIcon:cy,Cuboid:hy,CuboidIcon:hy,CupSoda:uy,CupSodaIcon:uy,CurlyBraces:dn,CurlyBracesIcon:dn,Currency:py,CurrencyIcon:py,Cylinder:yy,CylinderIcon:yy,Dam:fy,DamIcon:fy,Database:by,DatabaseBackup:my,DatabaseBackupIcon:my,DatabaseIcon:by,DatabaseSearch:ky,DatabaseSearchIcon:ky,DatabaseZap:gy,DatabaseZapIcon:gy,DecimalsArrowLeft:My,DecimalsArrowLeftIcon:My,DecimalsArrowRight:xy,DecimalsArrowRightIcon:xy,Delete:wy,DeleteIcon:wy,Dessert:vy,DessertIcon:vy,Diameter:Cy,DiameterIcon:Cy,Diamond:Iy,DiamondIcon:Iy,DiamondMinus:Ly,DiamondMinusIcon:Ly,DiamondPercent:so,DiamondPercentIcon:so,DiamondPlus:Sy,DiamondPlusIcon:Sy,Dice1:_y,Dice1Icon:_y,Dice2:By,Dice2Icon:By,Dice3:Ay,Dice3Icon:Ay,Dice4:Vy,Dice4Icon:Vy,Dice5:Py,Dice5Icon:Py,Dice6:Dy,Dice6Icon:Dy,Dices:qy,DicesIcon:qy,Diff:zy,DiffIcon:zy,Disc:Hy,Disc2:Ey,Disc2Icon:Ey,Disc3:Ty,Disc3Icon:Ty,DiscAlbum:Oy,DiscAlbumIcon:Oy,DiscIcon:Hy,Divide:Fy,DivideCircle:Hn,DivideCircleIcon:Hn,DivideIcon:Fy,DivideSquare:ii,DivideSquareIcon:ii,Dna:jy,DnaIcon:jy,DnaOff:$y,DnaOffIcon:$y,Dock:Ry,DockIcon:Ry,Dog:Uy,DogIcon:Uy,DollarSign:Ny,DollarSignIcon:Ny,Donut:Gy,DonutIcon:Gy,DoorClosed:Yy,DoorClosedIcon:Yy,DoorClosedLocked:Wy,DoorClosedLockedIcon:Wy,DoorOpen:Ky,DoorOpenIcon:Ky,Dot:Xy,DotIcon:Xy,DotSquare:ri,DotSquareIcon:ri,Download:kl,DownloadCloud:ao,DownloadCloudIcon:ao,DownloadIcon:kl,DraftingCompass:Zy,DraftingCompassIcon:Zy,Drama:Qy,DramaIcon:Qy,Dribbble:Jy,DribbbleIcon:Jy,Drill:ef,DrillIcon:ef,Drone:tf,DroneIcon:tf,Droplet:nf,DropletIcon:nf,DropletOff:af,DropletOffIcon:af,Droplets:of,DropletsIcon:of,Drum:rf,DrumIcon:rf,Drumstick:sf,DrumstickIcon:sf,Dumbbell:lf,DumbbellIcon:lf,Ear:df,EarIcon:df,EarOff:cf,EarOffIcon:cf,Earth:lo,EarthIcon:lo,EarthLock:hf,EarthLockIcon:hf,Eclipse:uf,EclipseIcon:uf,Edit:et,Edit2:br,Edit2Icon:br,Edit3:gr,Edit3Icon:gr,EditIcon:et,Egg:yf,EggFried:pf,EggFriedIcon:pf,EggIcon:yf,EggOff:ff,EggOffIcon:ff,Ellipsis:Ca,EllipsisIcon:Ca,EllipsisVertical:co,EllipsisVerticalIcon:co,Equal:gf,EqualApproximately:kf,EqualApproximatelyIcon:kf,EqualIcon:gf,EqualNot:mf,EqualNotIcon:mf,EqualSquare:si,EqualSquareIcon:si,Eraser:bf,EraserIcon:bf,EthernetPort:Mf,EthernetPortIcon:Mf,Euro:xf,EuroIcon:xf,EvCharger:wf,EvChargerIcon:wf,Expand:vf,ExpandIcon:vf,ExternalLink:Cf,ExternalLinkIcon:Cf,Eye:vs,EyeClosed:Lf,EyeClosedIcon:Lf,EyeIcon:vs,EyeOff:gl,EyeOffIcon:gl,Facebook:Sf,FacebookIcon:Sf,Factory:If,FactoryIcon:If,Fan:_f,FanIcon:_f,FastForward:Bf,FastForwardIcon:Bf,Feather:Af,FeatherIcon:Af,Fence:Vf,FenceIcon:Vf,FerrisWheel:Pf,FerrisWheelIcon:Pf,Figma:Df,FigmaIcon:Df,File:sm,FileArchive:qf,FileArchiveIcon:qf,FileAudio:Dt,FileAudio2:Dt,FileAudio2Icon:Dt,FileAudioIcon:Dt,FileAxis3D:ho,FileAxis3DIcon:ho,FileAxis3d:ho,FileAxis3dIcon:ho,FileBadge:uo,FileBadge2:uo,FileBadge2Icon:uo,FileBadgeIcon:uo,FileBarChart:fo,FileBarChart2:mo,FileBarChart2Icon:mo,FileBarChartIcon:fo,FileBox:zf,FileBoxIcon:zf,FileBraces:yo,FileBracesCorner:po,FileBracesCornerIcon:po,FileBracesIcon:yo,FileChartColumn:mo,FileChartColumnIcon:mo,FileChartColumnIncreasing:fo,FileChartColumnIncreasingIcon:fo,FileChartLine:ko,FileChartLineIcon:ko,FileChartPie:go,FileChartPieIcon:go,FileCheck:Ef,FileCheck2:bo,FileCheck2Icon:bo,FileCheckCorner:bo,FileCheckCornerIcon:bo,FileCheckIcon:Ef,FileClock:Tf,FileClockIcon:Tf,FileCode:Of,FileCode2:Mo,FileCode2Icon:Mo,FileCodeCorner:Mo,FileCodeCornerIcon:Mo,FileCodeIcon:Of,FileCog:xo,FileCog2:xo,FileCog2Icon:xo,FileCogIcon:xo,FileDiff:Hf,FileDiffIcon:Hf,FileDigit:$f,FileDigitIcon:$f,FileDown:Ff,FileDownIcon:Ff,FileEdit:_o,FileEditIcon:_o,FileExclamationPoint:wo,FileExclamationPointIcon:wo,FileHeadphone:Dt,FileHeadphoneIcon:Dt,FileHeart:jf,FileHeartIcon:jf,FileIcon:sm,FileImage:Rf,FileImageIcon:Rf,FileInput:Nf,FileInputIcon:Nf,FileJson:yo,FileJson2:po,FileJson2Icon:po,FileJsonIcon:yo,FileKey:vo,FileKey2:vo,FileKey2Icon:vo,FileKeyIcon:vo,FileLineChart:ko,FileLineChartIcon:ko,FileLock:Co,FileLock2:Co,FileLock2Icon:Co,FileLockIcon:Co,FileMinus:Wf,FileMinus2:Lo,FileMinus2Icon:Lo,FileMinusCorner:Lo,FileMinusCornerIcon:Lo,FileMinusIcon:Wf,FileMusic:Uf,FileMusicIcon:Uf,FileOutput:Gf,FileOutputIcon:Gf,FilePen:_o,FilePenIcon:_o,FilePenLine:So,FilePenLineIcon:So,FilePieChart:go,FilePieChartIcon:go,FilePlay:Io,FilePlayIcon:Io,FilePlus:Yf,FilePlus2:Bo,FilePlus2Icon:Bo,FilePlusCorner:Bo,FilePlusCornerIcon:Bo,FilePlusIcon:Yf,FileQuestion:Ao,FileQuestionIcon:Ao,FileQuestionMark:Ao,FileQuestionMarkIcon:Ao,FileScan:Kf,FileScanIcon:Kf,FileSearch:Xf,FileSearch2:Vo,FileSearch2Icon:Vo,FileSearchCorner:Vo,FileSearchCornerIcon:Vo,FileSearchIcon:Xf,FileSignal:Po,FileSignalIcon:Po,FileSignature:So,FileSignatureIcon:So,FileSliders:Zf,FileSlidersIcon:Zf,FileSpreadsheet:Jf,FileSpreadsheetIcon:Jf,FileStack:Qf,FileStackIcon:Qf,FileSymlink:em,FileSymlinkIcon:em,FileTerminal:tm,FileTerminalIcon:tm,FileText:Cs,FileTextIcon:Cs,FileType:am,FileType2:Do,FileType2Icon:Do,FileTypeCorner:Do,FileTypeCornerIcon:Do,FileTypeIcon:am,FileUp:nm,FileUpIcon:nm,FileUser:om,FileUserIcon:om,FileVideo:Io,FileVideo2:qo,FileVideo2Icon:qo,FileVideoCamera:qo,FileVideoCameraIcon:qo,FileVideoIcon:Io,FileVolume:rm,FileVolume2:Po,FileVolume2Icon:Po,FileVolumeIcon:rm,FileWarning:wo,FileWarningIcon:wo,FileX:im,FileX2:zo,FileX2Icon:zo,FileXCorner:zo,FileXCornerIcon:zo,FileXIcon:im,Files:cm,FilesIcon:cm,Film:lm,FilmIcon:lm,Filter:Fo,FilterIcon:Fo,FilterX:Ho,FilterXIcon:Ho,Fingerprint:Eo,FingerprintIcon:Eo,FingerprintPattern:Eo,FingerprintPatternIcon:Eo,FireExtinguisher:dm,FireExtinguisherIcon:dm,Fish:pm,FishIcon:pm,FishOff:hm,FishOffIcon:hm,FishSymbol:um,FishSymbolIcon:um,FishingHook:ym,FishingHookIcon:ym,Flag:gm,FlagIcon:gm,FlagOff:fm,FlagOffIcon:fm,FlagTriangleLeft:mm,FlagTriangleLeftIcon:mm,FlagTriangleRight:km,FlagTriangleRightIcon:km,Flame:Mm,FlameIcon:Mm,FlameKindling:bm,FlameKindlingIcon:bm,Flashlight:wm,FlashlightIcon:wm,FlashlightOff:xm,FlashlightOffIcon:xm,FlaskConical:Cm,FlaskConicalIcon:Cm,FlaskConicalOff:vm,FlaskConicalOffIcon:vm,FlaskRound:Lm,FlaskRoundIcon:Lm,FlipHorizontal:Gr,FlipHorizontal2:Sm,FlipHorizontal2Icon:Sm,FlipHorizontalIcon:Gr,FlipVertical:Yr,FlipVertical2:Im,FlipVertical2Icon:Im,FlipVerticalIcon:Yr,Flower:Bm,Flower2:_m,Flower2Icon:_m,FlowerIcon:Bm,Focus:Am,FocusIcon:Am,FoldHorizontal:Vm,FoldHorizontalIcon:Vm,FoldVertical:Pm,FoldVerticalIcon:Pm,Folder:ik,FolderArchive:Dm,FolderArchiveIcon:Dm,FolderCheck:qm,FolderCheckIcon:qm,FolderClock:zm,FolderClockIcon:zm,FolderClosed:Em,FolderClosedIcon:Em,FolderCode:Tm,FolderCodeIcon:Tm,FolderCog:To,FolderCog2:To,FolderCog2Icon:To,FolderCogIcon:To,FolderDot:Om,FolderDotIcon:Om,FolderDown:Hm,FolderDownIcon:Hm,FolderEdit:Oo,FolderEditIcon:Oo,FolderGit:$m,FolderGit2:Fm,FolderGit2Icon:Fm,FolderGitIcon:$m,FolderHeart:jm,FolderHeartIcon:jm,FolderIcon:ik,FolderInput:Rm,FolderInputIcon:Rm,FolderKanban:Um,FolderKanbanIcon:Um,FolderKey:Nm,FolderKeyIcon:Nm,FolderLock:Wm,FolderLockIcon:Wm,FolderMinus:Km,FolderMinusIcon:Km,FolderOpen:Ym,FolderOpenDot:Gm,FolderOpenDotIcon:Gm,FolderOpenIcon:Ym,FolderOutput:Xm,FolderOutputIcon:Xm,FolderPen:Oo,FolderPenIcon:Oo,FolderPlus:Qm,FolderPlusIcon:Qm,FolderRoot:Zm,FolderRootIcon:Zm,FolderSearch:ek,FolderSearch2:Jm,FolderSearch2Icon:Jm,FolderSearchIcon:ek,FolderSymlink:ak,FolderSymlinkIcon:ak,FolderSync:tk,FolderSyncIcon:tk,FolderTree:nk,FolderTreeIcon:nk,FolderUp:ok,FolderUpIcon:ok,FolderX:rk,FolderXIcon:rk,Folders:sk,FoldersIcon:sk,Footprints:lk,FootprintsIcon:lk,ForkKnife:Ji,ForkKnifeCrossed:Zi,ForkKnifeCrossedIcon:Zi,ForkKnifeIcon:Ji,Forklift:ck,ForkliftIcon:ck,Form:dk,FormIcon:dk,FormInput:xr,FormInputIcon:xr,Forward:uk,ForwardIcon:uk,Frame:hk,FrameIcon:hk,Framer:pk,FramerIcon:pk,Frown:yk,FrownIcon:yk,Fuel:fk,FuelIcon:fk,Fullscreen:mk,FullscreenIcon:mk,FunctionSquare:li,FunctionSquareIcon:li,Funnel:Fo,FunnelIcon:Fo,FunnelPlus:kk,FunnelPlusIcon:kk,FunnelX:Ho,FunnelXIcon:Ho,GalleryHorizontal:bk,GalleryHorizontalEnd:gk,GalleryHorizontalEndIcon:gk,GalleryHorizontalIcon:bk,GalleryThumbnails:Mk,GalleryThumbnailsIcon:Mk,GalleryVertical:wk,GalleryVerticalEnd:xk,GalleryVerticalEndIcon:xk,GalleryVerticalIcon:wk,Gamepad:Sk,Gamepad2:vk,Gamepad2Icon:vk,GamepadDirectional:Ck,GamepadDirectionalIcon:Ck,GamepadIcon:Sk,GanttChart:vn,GanttChartIcon:vn,GanttChartSquare:Tt,GanttChartSquareIcon:Tt,Gauge:Lk,GaugeCircle:Fn,GaugeCircleIcon:Fn,GaugeIcon:Lk,Gavel:Ik,GavelIcon:Ik,Gem:_k,GemIcon:_k,GeorgianLari:Bk,GeorgianLariIcon:Bk,Ghost:Ak,GhostIcon:Ak,Gift:Vk,GiftIcon:Vk,GitBranch:qk,GitBranchIcon:qk,GitBranchMinus:Pk,GitBranchMinusIcon:Pk,GitBranchPlus:Dk,GitBranchPlusIcon:Dk,GitCommit:$o,GitCommitHorizontal:$o,GitCommitHorizontalIcon:$o,GitCommitIcon:$o,GitCommitVertical:zk,GitCommitVerticalIcon:zk,GitCompare:Tk,GitCompareArrows:Ek,GitCompareArrowsIcon:Ek,GitCompareIcon:Tk,GitFork:Ok,GitForkIcon:Ok,GitGraph:Hk,GitGraphIcon:Hk,GitMerge:$k,GitMergeConflict:Fk,GitMergeConflictIcon:Fk,GitMergeIcon:$k,GitPullRequest:Gk,GitPullRequestArrow:jk,GitPullRequestArrowIcon:jk,GitPullRequestClosed:Rk,GitPullRequestClosedIcon:Rk,GitPullRequestCreate:Uk,GitPullRequestCreateArrow:Nk,GitPullRequestCreateArrowIcon:Nk,GitPullRequestCreateIcon:Uk,GitPullRequestDraft:Wk,GitPullRequestDraftIcon:Wk,GitPullRequestIcon:Gk,Github:Yk,GithubIcon:Yk,Gitlab:Kk,GitlabIcon:Kk,GlassWater:Xk,GlassWaterIcon:Xk,Glasses:Zk,GlassesIcon:Zk,Globe:bl,Globe2:lo,Globe2Icon:lo,GlobeIcon:bl,GlobeLock:Jk,GlobeLockIcon:Jk,GlobeOff:Qk,GlobeOffIcon:Qk,GlobeX:eg,GlobeXIcon:eg,Goal:tg,GoalIcon:tg,Gpu:ng,GpuIcon:ng,Grab:Wo,GrabIcon:Wo,GraduationCap:ag,GraduationCapIcon:ag,Grape:og,GrapeIcon:og,Grid:qt,Grid2X2:Uo,Grid2X2Check:jo,Grid2X2CheckIcon:jo,Grid2X2Icon:Uo,Grid2X2Plus:No,Grid2X2PlusIcon:No,Grid2X2X:Ro,Grid2X2XIcon:Ro,Grid2x2:Uo,Grid2x2Check:jo,Grid2x2CheckIcon:jo,Grid2x2Icon:Uo,Grid2x2Plus:No,Grid2x2PlusIcon:No,Grid2x2X:Ro,Grid2x2XIcon:Ro,Grid3X3:qt,Grid3X3Icon:qt,Grid3x2:rg,Grid3x2Icon:rg,Grid3x3:qt,Grid3x3Icon:qt,GridIcon:qt,Grip:lg,GripHorizontal:ig,GripHorizontalIcon:ig,GripIcon:lg,GripVertical:sg,GripVerticalIcon:sg,Group:dg,GroupIcon:dg,Guitar:cg,GuitarIcon:cg,Ham:hg,HamIcon:hg,Hamburger:ug,HamburgerIcon:ug,Hammer:pg,HammerIcon:pg,Hand:bg,HandCoins:yg,HandCoinsIcon:yg,HandFist:fg,HandFistIcon:fg,HandGrab:Wo,HandGrabIcon:Wo,HandHeart:mg,HandHeartIcon:mg,HandHelping:Go,HandHelpingIcon:Go,HandIcon:bg,HandMetal:kg,HandMetalIcon:kg,HandPlatter:gg,HandPlatterIcon:gg,Handbag:Mg,HandbagIcon:Mg,Handshake:xg,HandshakeIcon:xg,HardDrive:Cg,HardDriveDownload:wg,HardDriveDownloadIcon:wg,HardDriveIcon:Cg,HardDriveUpload:vg,HardDriveUploadIcon:vg,HardHat:Lg,HardHatIcon:Lg,Hash:Sg,HashIcon:Sg,HatGlasses:Ig,HatGlassesIcon:Ig,Haze:_g,HazeIcon:_g,Hd:Bg,HdIcon:Bg,HdmiPort:Ag,HdmiPortIcon:Ag,Heading:Tg,Heading1:Vg,Heading1Icon:Vg,Heading2:Pg,Heading2Icon:Pg,Heading3:Dg,Heading3Icon:Dg,Heading4:qg,Heading4Icon:qg,Heading5:zg,Heading5Icon:zg,Heading6:Eg,Heading6Icon:Eg,HeadingIcon:Tg,HeadphoneOff:Og,HeadphoneOffIcon:Og,Headphones:Hg,HeadphonesIcon:Hg,Headset:Fg,HeadsetIcon:Fg,Heart:Gg,HeartCrack:$g,HeartCrackIcon:$g,HeartHandshake:Rg,HeartHandshakeIcon:Rg,HeartIcon:Gg,HeartMinus:jg,HeartMinusIcon:jg,HeartOff:Ng,HeartOffIcon:Ng,HeartPlus:Ug,HeartPlusIcon:Ug,HeartPulse:Wg,HeartPulseIcon:Wg,Heater:Yg,HeaterIcon:Yg,Helicopter:Kg,HelicopterIcon:Kg,HelpCircle:Vt,HelpCircleIcon:Vt,HelpingHand:Go,HelpingHandIcon:Go,Hexagon:Xg,HexagonIcon:Xg,Highlighter:Zg,HighlighterIcon:Zg,History:Jg,HistoryIcon:Jg,Home:Yo,HomeIcon:Yo,Hop:e4,HopIcon:e4,HopOff:Qg,HopOffIcon:Qg,Hospital:t4,HospitalIcon:t4,Hotel:a4,HotelIcon:a4,Hourglass:n4,HourglassIcon:n4,House:Yo,HouseHeart:o4,HouseHeartIcon:o4,HouseIcon:Yo,HousePlug:r4,HousePlugIcon:r4,HousePlus:i4,HousePlusIcon:i4,HouseWifi:s4,HouseWifiIcon:s4,IceCream:Xo,IceCream2:Ko,IceCream2Icon:Ko,IceCreamBowl:Ko,IceCreamBowlIcon:Ko,IceCreamCone:Xo,IceCreamConeIcon:Xo,IceCreamIcon:Xo,Icon:$B,IdCard:c4,IdCardIcon:c4,IdCardLanyard:l4,IdCardLanyardIcon:l4,Image:k4,ImageDown:d4,ImageDownIcon:d4,ImageIcon:k4,ImageMinus:h4,ImageMinusIcon:h4,ImageOff:u4,ImageOffIcon:u4,ImagePlay:p4,ImagePlayIcon:p4,ImagePlus:y4,ImagePlusIcon:y4,ImageUp:f4,ImageUpIcon:f4,ImageUpscale:m4,ImageUpscaleIcon:m4,Images:g4,ImagesIcon:g4,Import:M4,ImportIcon:M4,Inbox:b4,InboxIcon:b4,Indent:Et,IndentDecrease:zt,IndentDecreaseIcon:zt,IndentIcon:Et,IndentIncrease:Et,IndentIncreaseIcon:Et,IndianRupee:x4,IndianRupeeIcon:x4,Infinity:w4,InfinityIcon:w4,Info:v4,InfoIcon:v4,Inspect:yi,InspectIcon:yi,InspectionPanel:C4,InspectionPanelIcon:C4,Instagram:L4,InstagramIcon:L4,Italic:S4,ItalicIcon:S4,IterationCcw:I4,IterationCcwIcon:I4,IterationCw:_4,IterationCwIcon:_4,JapaneseYen:B4,JapaneseYenIcon:B4,Joystick:A4,JoystickIcon:A4,Kanban:V4,KanbanIcon:V4,KanbanSquare:ci,KanbanSquareDashed:ai,KanbanSquareDashedIcon:ai,KanbanSquareIcon:ci,Kayak:P4,KayakIcon:P4,Key:E4,KeyIcon:E4,KeyRound:D4,KeyRoundIcon:D4,KeySquare:q4,KeySquareIcon:q4,Keyboard:O4,KeyboardIcon:O4,KeyboardMusic:z4,KeyboardMusicIcon:z4,KeyboardOff:T4,KeyboardOffIcon:T4,Lamp:N4,LampCeiling:H4,LampCeilingIcon:H4,LampDesk:F4,LampDeskIcon:F4,LampFloor:j4,LampFloorIcon:j4,LampIcon:N4,LampWallDown:$4,LampWallDownIcon:$4,LampWallUp:R4,LampWallUpIcon:R4,LandPlot:U4,LandPlotIcon:U4,Landmark:G4,LandmarkIcon:G4,Languages:W4,LanguagesIcon:W4,Laptop:K4,Laptop2:Zo,Laptop2Icon:Zo,LaptopIcon:K4,LaptopMinimal:Zo,LaptopMinimalCheck:Y4,LaptopMinimalCheckIcon:Y4,LaptopMinimalIcon:Zo,Lasso:Z4,LassoIcon:Z4,LassoSelect:X4,LassoSelectIcon:X4,Laugh:J4,LaughIcon:J4,Layers:Jo,Layers2:Q4,Layers2Icon:Q4,Layers3:Jo,Layers3Icon:Jo,LayersIcon:Jo,LayersPlus:e5,LayersPlusIcon:e5,Layout:kr,LayoutDashboard:t5,LayoutDashboardIcon:t5,LayoutGrid:a5,LayoutGridIcon:a5,LayoutIcon:kr,LayoutList:n5,LayoutListIcon:n5,LayoutPanelLeft:o5,LayoutPanelLeftIcon:o5,LayoutPanelTop:r5,LayoutPanelTopIcon:r5,LayoutTemplate:i5,LayoutTemplateIcon:i5,Leaf:s5,LeafIcon:s5,LeafyGreen:l5,LeafyGreenIcon:l5,Lectern:c5,LecternIcon:c5,LensConcave:d5,LensConcaveIcon:d5,LensConvex:h5,LensConvexIcon:h5,LetterText:Ei,LetterTextIcon:Ei,Library:f5,LibraryBig:u5,LibraryBigIcon:u5,LibraryIcon:f5,LibrarySquare:di,LibrarySquareIcon:di,LifeBuoy:y5,LifeBuoyIcon:y5,Ligature:p5,LigatureIcon:p5,Lightbulb:k5,LightbulbIcon:k5,LightbulbOff:m5,LightbulbOffIcon:m5,LineChart:bn,LineChartIcon:bn,LineDotRightHorizontal:g5,LineDotRightHorizontalIcon:g5,LineSquiggle:b5,LineSquiggleIcon:b5,Link:Ml,Link2:x5,Link2Icon:x5,Link2Off:M5,Link2OffIcon:M5,LinkIcon:Ml,Linkedin:w5,LinkedinIcon:w5,List:$5,ListCheck:v5,ListCheckIcon:v5,ListChecks:C5,ListChecksIcon:C5,ListChevronsDownUp:S5,ListChevronsDownUpIcon:S5,ListChevronsUpDown:L5,ListChevronsUpDownIcon:L5,ListCollapse:I5,ListCollapseIcon:I5,ListEnd:_5,ListEndIcon:_5,ListFilter:B5,ListFilterIcon:B5,ListFilterPlus:A5,ListFilterPlusIcon:A5,ListIcon:$5,ListIndentDecrease:zt,ListIndentDecreaseIcon:zt,ListIndentIncrease:Et,ListIndentIncreaseIcon:Et,ListMinus:q5,ListMinusIcon:q5,ListMusic:V5,ListMusicIcon:V5,ListOrdered:P5,ListOrderedIcon:P5,ListPlus:D5,ListPlusIcon:D5,ListRestart:z5,ListRestartIcon:z5,ListStart:E5,ListStartIcon:E5,ListTodo:O5,ListTodoIcon:O5,ListTree:T5,ListTreeIcon:T5,ListVideo:H5,ListVideoIcon:H5,ListX:F5,ListXIcon:F5,Loader:R5,Loader2:bt,Loader2Icon:bt,LoaderCircle:bt,LoaderCircleIcon:bt,LoaderIcon:R5,LoaderPinwheel:j5,LoaderPinwheelIcon:j5,Locate:W5,LocateFixed:N5,LocateFixedIcon:N5,LocateIcon:W5,LocateOff:U5,LocateOffIcon:U5,LocationEdit:ar,LocationEditIcon:ar,Lock:Y5,LockIcon:Y5,LockKeyhole:G5,LockKeyholeIcon:G5,LockKeyholeOpen:Qo,LockKeyholeOpenIcon:Qo,LockOpen:er,LockOpenIcon:er,LogIn:K5,LogInIcon:K5,LogOut:X5,LogOutIcon:X5,Logs:Z5,LogsIcon:Z5,Lollipop:J5,LollipopIcon:J5,LucideAArrowDown:C1,LucideAArrowUp:L1,LucideALargeSmall:S1,LucideAccessibility:I1,LucideActivity:_1,LucideActivitySquare:Pr,LucideAirVent:B1,LucideAirplay:A1,LucideAlarmCheck:Ya,LucideAlarmClock:P1,LucideAlarmClockCheck:Ya,LucideAlarmClockMinus:Ka,LucideAlarmClockOff:V1,LucideAlarmClockPlus:Xa,LucideAlarmMinus:Ka,LucideAlarmPlus:Xa,LucideAlarmSmoke:D1,LucideAlbum:z1,LucideAlertCircle:At,LucideAlertOctagon:ir,LucideAlertTriangle:$i,LucideAlignCenter:zi,LucideAlignCenterHorizontal:q1,LucideAlignCenterVertical:E1,LucideAlignEndHorizontal:T1,LucideAlignEndVertical:O1,LucideAlignHorizontalDistributeCenter:H1,LucideAlignHorizontalDistributeEnd:F1,LucideAlignHorizontalDistributeStart:$1,LucideAlignHorizontalJustifyCenter:j1,LucideAlignHorizontalJustifyEnd:R1,LucideAlignHorizontalJustifyStart:N1,LucideAlignHorizontalSpaceAround:U1,LucideAlignHorizontalSpaceBetween:W1,LucideAlignJustify:qi,LucideAlignLeft:Ot,LucideAlignRight:Di,LucideAlignStartHorizontal:G1,LucideAlignStartVertical:Y1,LucideAlignVerticalDistributeCenter:K1,LucideAlignVerticalDistributeEnd:X1,LucideAlignVerticalDistributeStart:Z1,LucideAlignVerticalJustifyCenter:J1,LucideAlignVerticalJustifyEnd:Q1,LucideAlignVerticalJustifyStart:ec,LucideAlignVerticalSpaceAround:tc,LucideAlignVerticalSpaceBetween:ac,LucideAmbulance:nc,LucideAmpersand:oc,LucideAmpersands:rc,LucideAmphora:sc,LucideAnchor:ic,LucideAngry:lc,LucideAnnoyed:cc,LucideAntenna:dc,LucideAnvil:hc,LucideAperture:uc,LucideAppWindow:yc,LucideAppWindowMac:pc,LucideApple:fc,LucideArchive:gc,LucideArchiveRestore:mc,LucideArchiveX:kc,LucideAreaChart:un,LucideArmchair:bc,LucideArrowBigDown:xc,LucideArrowBigDownDash:Mc,LucideArrowBigLeft:vc,LucideArrowBigLeftDash:wc,LucideArrowBigRight:Lc,LucideArrowBigRightDash:Cc,LucideArrowBigUp:Sc,LucideArrowBigUpDash:Ic,LucideArrowDown:Tc,LucideArrowDown01:Bc,LucideArrowDown10:_c,LucideArrowDownAZ:Za,LucideArrowDownAz:Za,LucideArrowDownCircle:Sn,LucideArrowDownFromLine:Ac,LucideArrowDownLeft:Vc,LucideArrowDownLeftFromCircle:_n,LucideArrowDownLeftFromSquare:Tr,LucideArrowDownLeftSquare:Dr,LucideArrowDownNarrowWide:Dc,LucideArrowDownRight:Pc,LucideArrowDownRightFromCircle:Bn,LucideArrowDownRightFromSquare:Or,LucideArrowDownRightSquare:qr,LucideArrowDownSquare:zr,LucideArrowDownToDot:qc,LucideArrowDownToLine:zc,LucideArrowDownUp:Ec,LucideArrowDownWideNarrow:Ja,LucideArrowDownZA:Qa,LucideArrowDownZa:Qa,LucideArrowLeft:$c,LucideArrowLeftCircle:In,LucideArrowLeftFromLine:Oc,LucideArrowLeftRight:Fc,LucideArrowLeftSquare:Er,LucideArrowLeftToLine:Hc,LucideArrowRight:hl,LucideArrowRightCircle:Pn,LucideArrowRightFromLine:jc,LucideArrowRightLeft:Rc,LucideArrowRightSquare:$r,LucideArrowRightToLine:Nc,LucideArrowUp:td,LucideArrowUp01:Uc,LucideArrowUp10:Wc,LucideArrowUpAZ:en,LucideArrowUpAz:en,LucideArrowUpCircle:Dn,LucideArrowUpDown:Gc,LucideArrowUpFromDot:Yc,LucideArrowUpFromLine:Kc,LucideArrowUpLeft:Xc,LucideArrowUpLeftFromCircle:An,LucideArrowUpLeftFromSquare:Hr,LucideArrowUpLeftSquare:Rr,LucideArrowUpNarrowWide:tn,LucideArrowUpRight:Zc,LucideArrowUpRightFromCircle:Vn,LucideArrowUpRightFromSquare:Fr,LucideArrowUpRightSquare:jr,LucideArrowUpSquare:Nr,LucideArrowUpToLine:Jc,LucideArrowUpWideNarrow:Qc,LucideArrowUpZA:an,LucideArrowUpZa:an,LucideArrowsUpFromLine:ed,LucideAsterisk:ad,LucideAsteriskSquare:Ur,LucideAtSign:nd,LucideAtom:od,LucideAudioLines:rd,LucideAudioWaveform:id,LucideAward:sd,LucideAxe:ld,LucideAxis3D:nn,LucideAxis3d:nn,LucideBaby:dd,LucideBackpack:cd,LucideBadge:Sd,LucideBadgeAlert:hd,LucideBadgeCent:ud,LucideBadgeCheck:on,LucideBadgeDollarSign:pd,LucideBadgeEuro:yd,LucideBadgeHelp:rn,LucideBadgeIndianRupee:fd,LucideBadgeInfo:md,LucideBadgeJapaneseYen:kd,LucideBadgeMinus:gd,LucideBadgePercent:bd,LucideBadgePlus:Md,LucideBadgePoundSterling:xd,LucideBadgeQuestionMark:rn,LucideBadgeRussianRuble:wd,LucideBadgeSwissFranc:vd,LucideBadgeTurkishLira:Cd,LucideBadgeX:Ld,LucideBaggageClaim:Id,LucideBalloon:_d,LucideBan:Ad,LucideBanana:Bd,LucideBandage:Vd,LucideBanknote:Td,LucideBanknoteArrowDown:Pd,LucideBanknoteArrowUp:Dd,LucideBanknoteX:qd,LucideBarChart:Mn,LucideBarChart2:xn,LucideBarChart3:gn,LucideBarChart4:kn,LucideBarChartBig:mn,LucideBarChartHorizontal:fn,LucideBarChartHorizontalBig:pn,LucideBarcode:zd,LucideBarrel:Ed,LucideBaseline:Od,LucideBath:Hd,LucideBattery:Wd,LucideBatteryCharging:Fd,LucideBatteryFull:$d,LucideBatteryLow:jd,LucideBatteryMedium:Nd,LucideBatteryPlus:Rd,LucideBatteryWarning:Ud,LucideBeaker:Gd,LucideBean:Kd,LucideBeanOff:Yd,LucideBed:Jd,LucideBedDouble:Xd,LucideBedSingle:Zd,LucideBeef:Qd,LucideBeer:t0,LucideBeerOff:e0,LucideBell:s0,LucideBellDot:a0,LucideBellElectric:n0,LucideBellMinus:o0,LucideBellOff:r0,LucideBellPlus:i0,LucideBellRing:l0,LucideBetweenHorizonalEnd:sn,LucideBetweenHorizonalStart:ln,LucideBetweenHorizontalEnd:sn,LucideBetweenHorizontalStart:ln,LucideBetweenVerticalEnd:c0,LucideBetweenVerticalStart:d0,LucideBicepsFlexed:h0,LucideBike:u0,LucideBinary:p0,LucideBinoculars:f0,LucideBiohazard:y0,LucideBird:m0,LucideBirdhouse:k0,LucideBitcoin:g0,LucideBlend:b0,LucideBlinds:M0,LucideBlocks:w0,LucideBluetooth:L0,LucideBluetoothConnected:x0,LucideBluetoothOff:v0,LucideBluetoothSearching:C0,LucideBold:S0,LucideBolt:I0,LucideBomb:_0,LucideBone:B0,LucideBook:e2,LucideBookA:A0,LucideBookAlert:V0,LucideBookAudio:P0,LucideBookCheck:q0,LucideBookCopy:D0,LucideBookDashed:cn,LucideBookDown:z0,LucideBookHeadphones:E0,LucideBookHeart:T0,LucideBookImage:O0,LucideBookKey:H0,LucideBookLock:F0,LucideBookMarked:$0,LucideBookMinus:j0,LucideBookOpen:U0,LucideBookOpenCheck:R0,LucideBookOpenText:N0,LucideBookPlus:W0,LucideBookSearch:G0,LucideBookTemplate:cn,LucideBookText:Y0,LucideBookType:K0,LucideBookUp:X0,LucideBookUp2:Z0,LucideBookUser:J0,LucideBookX:Q0,LucideBookmark:r2,LucideBookmarkCheck:t2,LucideBookmarkMinus:a2,LucideBookmarkPlus:n2,LucideBookmarkX:o2,LucideBoomBox:s2,LucideBot:c2,LucideBotMessageSquare:i2,LucideBotOff:l2,LucideBottleWine:h2,LucideBowArrow:d2,LucideBox:u2,LucideBoxSelect:oi,LucideBoxes:p2,LucideBraces:dn,LucideBrackets:y2,LucideBrain:k2,LucideBrainCircuit:m2,LucideBrainCog:f2,LucideBrickWall:b2,LucideBrickWallFire:g2,LucideBrickWallShield:M2,LucideBriefcase:v2,LucideBriefcaseBusiness:x2,LucideBriefcaseConveyorBelt:w2,LucideBriefcaseMedical:C2,LucideBringToFront:L2,LucideBrush:I2,LucideBrushCleaning:S2,LucideBubbles:_2,LucideBug:V2,LucideBugOff:B2,LucideBugPlay:A2,LucideBuilding:D2,LucideBuilding2:P2,LucideBus:z2,LucideBusFront:q2,LucideCable:T2,LucideCableCar:E2,LucideCake:H2,LucideCakeSlice:O2,LucideCalculator:F2,LucideCalendar:ul,LucideCalendar1:$2,LucideCalendarArrowDown:N2,LucideCalendarArrowUp:j2,LucideCalendarCheck:U2,LucideCalendarCheck2:R2,LucideCalendarClock:W2,LucideCalendarCog:Y2,LucideCalendarDays:G2,LucideCalendarFold:K2,LucideCalendarHeart:X2,LucideCalendarMinus:J2,LucideCalendarMinus2:Z2,LucideCalendarOff:Q2,LucideCalendarPlus:th,LucideCalendarPlus2:eh,LucideCalendarRange:ah,LucideCalendarSearch:nh,LucideCalendarSync:oh,LucideCalendarX:ih,LucideCalendarX2:rh,LucideCalendars:sh,LucideCamera:ch,LucideCameraOff:lh,LucideCandlestickChart:yn,LucideCandy:uh,LucideCandyCane:dh,LucideCandyOff:hh,LucideCannabis:yh,LucideCannabisOff:ph,LucideCaptions:hn,LucideCaptionsOff:fh,LucideCar:gh,LucideCarFront:mh,LucideCarTaxiFront:kh,LucideCaravan:bh,LucideCardSim:Mh,LucideCarrot:xh,LucideCaseLower:wh,LucideCaseSensitive:vh,LucideCaseUpper:Ch,LucideCassetteTape:Lh,LucideCast:Sh,LucideCastle:Ih,LucideCat:_h,LucideCctv:Bh,LucideChartArea:un,LucideChartBar:fn,LucideChartBarBig:pn,LucideChartBarDecreasing:Vh,LucideChartBarIncreasing:Ah,LucideChartBarStacked:Ph,LucideChartCandlestick:yn,LucideChartColumn:gn,LucideChartColumnBig:mn,LucideChartColumnDecreasing:Dh,LucideChartColumnIncreasing:kn,LucideChartColumnStacked:qh,LucideChartGantt:zh,LucideChartLine:bn,LucideChartNetwork:Eh,LucideChartNoAxesColumn:xn,LucideChartNoAxesColumnDecreasing:Th,LucideChartNoAxesColumnIncreasing:Mn,LucideChartNoAxesCombined:Oh,LucideChartNoAxesGantt:vn,LucideChartPie:wn,LucideChartScatter:Cn,LucideChartSpline:Fh,LucideCheck:ba,LucideCheckCheck:Hh,LucideCheckCircle:wa,LucideCheckCircle2:qn,LucideCheckLine:$h,LucideCheckSquare:Kr,LucideCheckSquare2:Xr,LucideChefHat:jh,LucideCherry:Rh,LucideChessBishop:Nh,LucideChessKing:Uh,LucideChessKnight:Wh,LucideChessPawn:Gh,LucideChessQueen:Yh,LucideChessRook:Kh,LucideChevronDown:Bt,LucideChevronDownCircle:En,LucideChevronDownSquare:Zr,LucideChevronFirst:Xh,LucideChevronLast:Zh,LucideChevronLeft:Ma,LucideChevronLeftCircle:Tn,LucideChevronLeftSquare:Jr,LucideChevronRight:xa,LucideChevronRightCircle:zn,LucideChevronRightSquare:Qr,LucideChevronUp:pl,LucideChevronUpCircle:On,LucideChevronUpSquare:ei,LucideChevronsDown:Qh,LucideChevronsDownUp:Jh,LucideChevronsLeft:yl,LucideChevronsLeftRight:tu,LucideChevronsLeftRightEllipsis:eu,LucideChevronsRight:fl,LucideChevronsRightLeft:au,LucideChevronsUp:ou,LucideChevronsUpDown:nu,LucideChrome:Ln,LucideChromium:Ln,LucideChurch:iu,LucideCigarette:su,LucideCigaretteOff:ru,LucideCircle:wu,LucideCircleAlert:At,LucideCircleArrowDown:Sn,LucideCircleArrowLeft:In,LucideCircleArrowOutDownLeft:_n,LucideCircleArrowOutDownRight:Bn,LucideCircleArrowOutUpLeft:An,LucideCircleArrowOutUpRight:Vn,LucideCircleArrowRight:Pn,LucideCircleArrowUp:Dn,LucideCircleCheck:qn,LucideCircleCheckBig:wa,LucideCircleChevronDown:En,LucideCircleChevronLeft:Tn,LucideCircleChevronRight:zn,LucideCircleChevronUp:On,LucideCircleDashed:lu,LucideCircleDivide:Hn,LucideCircleDollarSign:cu,LucideCircleDot:hu,LucideCircleDotDashed:du,LucideCircleEllipsis:pu,LucideCircleEqual:uu,LucideCircleFadingArrowUp:yu,LucideCircleFadingPlus:fu,LucideCircleGauge:Fn,LucideCircleHelp:Vt,LucideCircleMinus:$n,LucideCircleOff:mu,LucideCircleParking:Rn,LucideCircleParkingOff:jn,LucideCirclePause:Nn,LucideCirclePercent:Un,LucideCirclePile:ku,LucideCirclePlay:Wn,LucideCirclePlus:Gn,LucideCirclePoundSterling:gu,LucideCirclePower:Yn,LucideCircleQuestionMark:Vt,LucideCircleSlash:bu,LucideCircleSlash2:Kn,LucideCircleSlashed:Kn,LucideCircleSmall:Mu,LucideCircleStar:xu,LucideCircleStop:Xn,LucideCircleUser:Jn,LucideCircleUserRound:Zn,LucideCircleX:Qn,LucideCircuitBoard:vu,LucideCitrus:Cu,LucideClapperboard:Lu,LucideClipboard:zu,LucideClipboardCheck:Iu,LucideClipboardClock:Su,LucideClipboardCopy:_u,LucideClipboardEdit:to,LucideClipboardList:Bu,LucideClipboardMinus:Au,LucideClipboardPaste:Vu,LucideClipboardPen:to,LucideClipboardPenLine:eo,LucideClipboardPlus:Pu,LucideClipboardSignature:eo,LucideClipboardType:Du,LucideClipboardX:qu,LucideClock:ml,LucideClock1:Eu,LucideClock10:Tu,LucideClock11:Ou,LucideClock12:Hu,LucideClock2:Fu,LucideClock3:$u,LucideClock4:ju,LucideClock5:Ru,LucideClock6:Nu,LucideClock7:Uu,LucideClock8:Wu,LucideClock9:Gu,LucideClockAlert:Yu,LucideClockArrowDown:Ku,LucideClockArrowUp:Xu,LucideClockCheck:Zu,LucideClockFading:Ju,LucideClockPlus:Qu,LucideClosedCaption:ep,LucideCloud:gp,LucideCloudAlert:tp,LucideCloudBackup:ap,LucideCloudCheck:np,LucideCloudCog:op,LucideCloudDownload:ao,LucideCloudDrizzle:rp,LucideCloudFog:ip,LucideCloudHail:sp,LucideCloudLightning:lp,LucideCloudMoon:dp,LucideCloudMoonRain:cp,LucideCloudOff:hp,LucideCloudRain:pp,LucideCloudRainWind:up,LucideCloudSnow:yp,LucideCloudSun:mp,LucideCloudSunRain:fp,LucideCloudSync:kp,LucideCloudUpload:va,LucideCloudy:bp,LucideClover:Mp,LucideClub:xp,LucideCode:wp,LucideCode2:no,LucideCodeSquare:ti,LucideCodeXml:no,LucideCodepen:vp,LucideCodesandbox:Cp,LucideCoffee:Lp,LucideCog:Sp,LucideCoins:Ip,LucideColumns:oo,LucideColumns2:oo,LucideColumns3:ro,LucideColumns3Cog:Pt,LucideColumns4:_p,LucideColumnsSettings:Pt,LucideCombine:Bp,LucideCommand:Ap,LucideCompass:Vp,LucideComponent:Pp,LucideComputer:Dp,LucideConciergeBell:qp,LucideCone:zp,LucideConstruction:Ep,LucideContact:Tp,LucideContact2:io,LucideContactRound:io,LucideContainer:Op,LucideContrast:Hp,LucideCookie:$p,LucideCookingPot:Fp,LucideCopy:Gp,LucideCopyCheck:jp,LucideCopyMinus:Rp,LucideCopyPlus:Np,LucideCopySlash:Wp,LucideCopyX:Up,LucideCopyleft:Yp,LucideCopyright:Kp,LucideCornerDownLeft:Xp,LucideCornerDownRight:Jp,LucideCornerLeftDown:Zp,LucideCornerLeftUp:Qp,LucideCornerRightDown:ey,LucideCornerRightUp:ty,LucideCornerUpLeft:ay,LucideCornerUpRight:ny,LucideCpu:ws,LucideCreativeCommons:oy,LucideCreditCard:ry,LucideCroissant:iy,LucideCrop:sy,LucideCross:ly,LucideCrosshair:dy,LucideCrown:cy,LucideCuboid:hy,LucideCupSoda:uy,LucideCurlyBraces:dn,LucideCurrency:py,LucideCylinder:yy,LucideDam:fy,LucideDatabase:by,LucideDatabaseBackup:my,LucideDatabaseSearch:ky,LucideDatabaseZap:gy,LucideDecimalsArrowLeft:My,LucideDecimalsArrowRight:xy,LucideDelete:wy,LucideDessert:vy,LucideDiameter:Cy,LucideDiamond:Iy,LucideDiamondMinus:Ly,LucideDiamondPercent:so,LucideDiamondPlus:Sy,LucideDice1:_y,LucideDice2:By,LucideDice3:Ay,LucideDice4:Vy,LucideDice5:Py,LucideDice6:Dy,LucideDices:qy,LucideDiff:zy,LucideDisc:Hy,LucideDisc2:Ey,LucideDisc3:Ty,LucideDiscAlbum:Oy,LucideDivide:Fy,LucideDivideCircle:Hn,LucideDivideSquare:ii,LucideDna:jy,LucideDnaOff:$y,LucideDock:Ry,LucideDog:Uy,LucideDollarSign:Ny,LucideDonut:Gy,LucideDoorClosed:Yy,LucideDoorClosedLocked:Wy,LucideDoorOpen:Ky,LucideDot:Xy,LucideDotSquare:ri,LucideDownload:kl,LucideDownloadCloud:ao,LucideDraftingCompass:Zy,LucideDrama:Qy,LucideDribbble:Jy,LucideDrill:ef,LucideDrone:tf,LucideDroplet:nf,LucideDropletOff:af,LucideDroplets:of,LucideDrum:rf,LucideDrumstick:sf,LucideDumbbell:lf,LucideEar:df,LucideEarOff:cf,LucideEarth:lo,LucideEarthLock:hf,LucideEclipse:uf,LucideEdit:et,LucideEdit2:br,LucideEdit3:gr,LucideEgg:yf,LucideEggFried:pf,LucideEggOff:ff,LucideEllipsis:Ca,LucideEllipsisVertical:co,LucideEqual:gf,LucideEqualApproximately:kf,LucideEqualNot:mf,LucideEqualSquare:si,LucideEraser:bf,LucideEthernetPort:Mf,LucideEuro:xf,LucideEvCharger:wf,LucideExpand:vf,LucideExternalLink:Cf,LucideEye:vs,LucideEyeClosed:Lf,LucideEyeOff:gl,LucideFacebook:Sf,LucideFactory:If,LucideFan:_f,LucideFastForward:Bf,LucideFeather:Af,LucideFence:Vf,LucideFerrisWheel:Pf,LucideFigma:Df,LucideFile:sm,LucideFileArchive:qf,LucideFileAudio:Dt,LucideFileAudio2:Dt,LucideFileAxis3D:ho,LucideFileAxis3d:ho,LucideFileBadge:uo,LucideFileBadge2:uo,LucideFileBarChart:fo,LucideFileBarChart2:mo,LucideFileBox:zf,LucideFileBraces:yo,LucideFileBracesCorner:po,LucideFileChartColumn:mo,LucideFileChartColumnIncreasing:fo,LucideFileChartLine:ko,LucideFileChartPie:go,LucideFileCheck:Ef,LucideFileCheck2:bo,LucideFileCheckCorner:bo,LucideFileClock:Tf,LucideFileCode:Of,LucideFileCode2:Mo,LucideFileCodeCorner:Mo,LucideFileCog:xo,LucideFileCog2:xo,LucideFileDiff:Hf,LucideFileDigit:$f,LucideFileDown:Ff,LucideFileEdit:_o,LucideFileExclamationPoint:wo,LucideFileHeadphone:Dt,LucideFileHeart:jf,LucideFileImage:Rf,LucideFileInput:Nf,LucideFileJson:yo,LucideFileJson2:po,LucideFileKey:vo,LucideFileKey2:vo,LucideFileLineChart:ko,LucideFileLock:Co,LucideFileLock2:Co,LucideFileMinus:Wf,LucideFileMinus2:Lo,LucideFileMinusCorner:Lo,LucideFileMusic:Uf,LucideFileOutput:Gf,LucideFilePen:_o,LucideFilePenLine:So,LucideFilePieChart:go,LucideFilePlay:Io,LucideFilePlus:Yf,LucideFilePlus2:Bo,LucideFilePlusCorner:Bo,LucideFileQuestion:Ao,LucideFileQuestionMark:Ao,LucideFileScan:Kf,LucideFileSearch:Xf,LucideFileSearch2:Vo,LucideFileSearchCorner:Vo,LucideFileSignal:Po,LucideFileSignature:So,LucideFileSliders:Zf,LucideFileSpreadsheet:Jf,LucideFileStack:Qf,LucideFileSymlink:em,LucideFileTerminal:tm,LucideFileText:Cs,LucideFileType:am,LucideFileType2:Do,LucideFileTypeCorner:Do,LucideFileUp:nm,LucideFileUser:om,LucideFileVideo:Io,LucideFileVideo2:qo,LucideFileVideoCamera:qo,LucideFileVolume:rm,LucideFileVolume2:Po,LucideFileWarning:wo,LucideFileX:im,LucideFileX2:zo,LucideFileXCorner:zo,LucideFiles:cm,LucideFilm:lm,LucideFilter:Fo,LucideFilterX:Ho,LucideFingerprint:Eo,LucideFingerprintPattern:Eo,LucideFireExtinguisher:dm,LucideFish:pm,LucideFishOff:hm,LucideFishSymbol:um,LucideFishingHook:ym,LucideFlag:gm,LucideFlagOff:fm,LucideFlagTriangleLeft:mm,LucideFlagTriangleRight:km,LucideFlame:Mm,LucideFlameKindling:bm,LucideFlashlight:wm,LucideFlashlightOff:xm,LucideFlaskConical:Cm,LucideFlaskConicalOff:vm,LucideFlaskRound:Lm,LucideFlipHorizontal:Gr,LucideFlipHorizontal2:Sm,LucideFlipVertical:Yr,LucideFlipVertical2:Im,LucideFlower:Bm,LucideFlower2:_m,LucideFocus:Am,LucideFoldHorizontal:Vm,LucideFoldVertical:Pm,LucideFolder:ik,LucideFolderArchive:Dm,LucideFolderCheck:qm,LucideFolderClock:zm,LucideFolderClosed:Em,LucideFolderCode:Tm,LucideFolderCog:To,LucideFolderCog2:To,LucideFolderDot:Om,LucideFolderDown:Hm,LucideFolderEdit:Oo,LucideFolderGit:$m,LucideFolderGit2:Fm,LucideFolderHeart:jm,LucideFolderInput:Rm,LucideFolderKanban:Um,LucideFolderKey:Nm,LucideFolderLock:Wm,LucideFolderMinus:Km,LucideFolderOpen:Ym,LucideFolderOpenDot:Gm,LucideFolderOutput:Xm,LucideFolderPen:Oo,LucideFolderPlus:Qm,LucideFolderRoot:Zm,LucideFolderSearch:ek,LucideFolderSearch2:Jm,LucideFolderSymlink:ak,LucideFolderSync:tk,LucideFolderTree:nk,LucideFolderUp:ok,LucideFolderX:rk,LucideFolders:sk,LucideFootprints:lk,LucideForkKnife:Ji,LucideForkKnifeCrossed:Zi,LucideForklift:ck,LucideForm:dk,LucideFormInput:xr,LucideForward:uk,LucideFrame:hk,LucideFramer:pk,LucideFrown:yk,LucideFuel:fk,LucideFullscreen:mk,LucideFunctionSquare:li,LucideFunnel:Fo,LucideFunnelPlus:kk,LucideFunnelX:Ho,LucideGalleryHorizontal:bk,LucideGalleryHorizontalEnd:gk,LucideGalleryThumbnails:Mk,LucideGalleryVertical:wk,LucideGalleryVerticalEnd:xk,LucideGamepad:Sk,LucideGamepad2:vk,LucideGamepadDirectional:Ck,LucideGanttChart:vn,LucideGanttChartSquare:Tt,LucideGauge:Lk,LucideGaugeCircle:Fn,LucideGavel:Ik,LucideGem:_k,LucideGeorgianLari:Bk,LucideGhost:Ak,LucideGift:Vk,LucideGitBranch:qk,LucideGitBranchMinus:Pk,LucideGitBranchPlus:Dk,LucideGitCommit:$o,LucideGitCommitHorizontal:$o,LucideGitCommitVertical:zk,LucideGitCompare:Tk,LucideGitCompareArrows:Ek,LucideGitFork:Ok,LucideGitGraph:Hk,LucideGitMerge:$k,LucideGitMergeConflict:Fk,LucideGitPullRequest:Gk,LucideGitPullRequestArrow:jk,LucideGitPullRequestClosed:Rk,LucideGitPullRequestCreate:Uk,LucideGitPullRequestCreateArrow:Nk,LucideGitPullRequestDraft:Wk,LucideGithub:Yk,LucideGitlab:Kk,LucideGlassWater:Xk,LucideGlasses:Zk,LucideGlobe:bl,LucideGlobe2:lo,LucideGlobeLock:Jk,LucideGlobeOff:Qk,LucideGlobeX:eg,LucideGoal:tg,LucideGpu:ng,LucideGrab:Wo,LucideGraduationCap:ag,LucideGrape:og,LucideGrid:qt,LucideGrid2X2:Uo,LucideGrid2X2Check:jo,LucideGrid2X2Plus:No,LucideGrid2X2X:Ro,LucideGrid2x2:Uo,LucideGrid2x2Check:jo,LucideGrid2x2Plus:No,LucideGrid2x2X:Ro,LucideGrid3X3:qt,LucideGrid3x2:rg,LucideGrid3x3:qt,LucideGrip:lg,LucideGripHorizontal:ig,LucideGripVertical:sg,LucideGroup:dg,LucideGuitar:cg,LucideHam:hg,LucideHamburger:ug,LucideHammer:pg,LucideHand:bg,LucideHandCoins:yg,LucideHandFist:fg,LucideHandGrab:Wo,LucideHandHeart:mg,LucideHandHelping:Go,LucideHandMetal:kg,LucideHandPlatter:gg,LucideHandbag:Mg,LucideHandshake:xg,LucideHardDrive:Cg,LucideHardDriveDownload:wg,LucideHardDriveUpload:vg,LucideHardHat:Lg,LucideHash:Sg,LucideHatGlasses:Ig,LucideHaze:_g,LucideHd:Bg,LucideHdmiPort:Ag,LucideHeading:Tg,LucideHeading1:Vg,LucideHeading2:Pg,LucideHeading3:Dg,LucideHeading4:qg,LucideHeading5:zg,LucideHeading6:Eg,LucideHeadphoneOff:Og,LucideHeadphones:Hg,LucideHeadset:Fg,LucideHeart:Gg,LucideHeartCrack:$g,LucideHeartHandshake:Rg,LucideHeartMinus:jg,LucideHeartOff:Ng,LucideHeartPlus:Ug,LucideHeartPulse:Wg,LucideHeater:Yg,LucideHelicopter:Kg,LucideHelpCircle:Vt,LucideHelpingHand:Go,LucideHexagon:Xg,LucideHighlighter:Zg,LucideHistory:Jg,LucideHome:Yo,LucideHop:e4,LucideHopOff:Qg,LucideHospital:t4,LucideHotel:a4,LucideHourglass:n4,LucideHouse:Yo,LucideHouseHeart:o4,LucideHousePlug:r4,LucideHousePlus:i4,LucideHouseWifi:s4,LucideIceCream:Xo,LucideIceCream2:Ko,LucideIceCreamBowl:Ko,LucideIceCreamCone:Xo,LucideIdCard:c4,LucideIdCardLanyard:l4,LucideImage:k4,LucideImageDown:d4,LucideImageMinus:h4,LucideImageOff:u4,LucideImagePlay:p4,LucideImagePlus:y4,LucideImageUp:f4,LucideImageUpscale:m4,LucideImages:g4,LucideImport:M4,LucideInbox:b4,LucideIndent:Et,LucideIndentDecrease:zt,LucideIndentIncrease:Et,LucideIndianRupee:x4,LucideInfinity:w4,LucideInfo:v4,LucideInspect:yi,LucideInspectionPanel:C4,LucideInstagram:L4,LucideItalic:S4,LucideIterationCcw:I4,LucideIterationCw:_4,LucideJapaneseYen:B4,LucideJoystick:A4,LucideKanban:V4,LucideKanbanSquare:ci,LucideKanbanSquareDashed:ai,LucideKayak:P4,LucideKey:E4,LucideKeyRound:D4,LucideKeySquare:q4,LucideKeyboard:O4,LucideKeyboardMusic:z4,LucideKeyboardOff:T4,LucideLamp:N4,LucideLampCeiling:H4,LucideLampDesk:F4,LucideLampFloor:j4,LucideLampWallDown:$4,LucideLampWallUp:R4,LucideLandPlot:U4,LucideLandmark:G4,LucideLanguages:W4,LucideLaptop:K4,LucideLaptop2:Zo,LucideLaptopMinimal:Zo,LucideLaptopMinimalCheck:Y4,LucideLasso:Z4,LucideLassoSelect:X4,LucideLaugh:J4,LucideLayers:Jo,LucideLayers2:Q4,LucideLayers3:Jo,LucideLayersPlus:e5,LucideLayout:kr,LucideLayoutDashboard:t5,LucideLayoutGrid:a5,LucideLayoutList:n5,LucideLayoutPanelLeft:o5,LucideLayoutPanelTop:r5,LucideLayoutTemplate:i5,LucideLeaf:s5,LucideLeafyGreen:l5,LucideLectern:c5,LucideLensConcave:d5,LucideLensConvex:h5,LucideLetterText:Ei,LucideLibrary:f5,LucideLibraryBig:u5,LucideLibrarySquare:di,LucideLifeBuoy:y5,LucideLigature:p5,LucideLightbulb:k5,LucideLightbulbOff:m5,LucideLineChart:bn,LucideLineDotRightHorizontal:g5,LucideLineSquiggle:b5,LucideLink:Ml,LucideLink2:x5,LucideLink2Off:M5,LucideLinkedin:w5,LucideList:$5,LucideListCheck:v5,LucideListChecks:C5,LucideListChevronsDownUp:S5,LucideListChevronsUpDown:L5,LucideListCollapse:I5,LucideListEnd:_5,LucideListFilter:B5,LucideListFilterPlus:A5,LucideListIndentDecrease:zt,LucideListIndentIncrease:Et,LucideListMinus:q5,LucideListMusic:V5,LucideListOrdered:P5,LucideListPlus:D5,LucideListRestart:z5,LucideListStart:E5,LucideListTodo:O5,LucideListTree:T5,LucideListVideo:H5,LucideListX:F5,LucideLoader:R5,LucideLoader2:bt,LucideLoaderCircle:bt,LucideLoaderPinwheel:j5,LucideLocate:W5,LucideLocateFixed:N5,LucideLocateOff:U5,LucideLocationEdit:ar,LucideLock:Y5,LucideLockKeyhole:G5,LucideLockKeyholeOpen:Qo,LucideLockOpen:er,LucideLogIn:K5,LucideLogOut:X5,LucideLogs:Z5,LucideLollipop:J5,LucideLuggage:Q5,LucideMSquare:hi,LucideMagnet:e3,LucideMail:l3,LucideMailCheck:t3,LucideMailMinus:n3,LucideMailOpen:a3,LucideMailPlus:o3,LucideMailQuestion:tr,LucideMailQuestionMark:tr,LucideMailSearch:r3,LucideMailWarning:s3,LucideMailX:i3,LucideMailbox:h3,LucideMails:c3,LucideMap:C3,LucideMapMinus:d3,LucideMapPin:Ls,LucideMapPinCheck:u3,LucideMapPinCheckInside:p3,LucideMapPinHouse:y3,LucideMapPinMinus:m3,LucideMapPinMinusInside:f3,LucideMapPinOff:k3,LucideMapPinPen:ar,LucideMapPinPlus:b3,LucideMapPinPlusInside:g3,LucideMapPinX:M3,LucideMapPinXInside:x3,LucideMapPinned:w3,LucideMapPlus:v3,LucideMars:I3,LucideMarsStroke:L3,LucideMartini:S3,LucideMaximize:B3,LucideMaximize2:_3,LucideMedal:A3,LucideMegaphone:P3,LucideMegaphoneOff:V3,LucideMeh:D3,LucideMemoryStick:q3,LucideMenu:z3,LucideMenuSquare:ui,LucideMerge:E3,LucideMessageCircle:G3,LucideMessageCircleCheck:T3,LucideMessageCircleCode:O3,LucideMessageCircleDashed:H3,LucideMessageCircleHeart:F3,LucideMessageCircleMore:j3,LucideMessageCircleOff:$3,LucideMessageCirclePlus:R3,LucideMessageCircleQuestion:nr,LucideMessageCircleQuestionMark:nr,LucideMessageCircleReply:N3,LucideMessageCircleWarning:U3,LucideMessageCircleX:W3,LucideMessageSquare:Ss,LucideMessageSquareCheck:Y3,LucideMessageSquareCode:K3,LucideMessageSquareDashed:X3,LucideMessageSquareDiff:Z3,LucideMessageSquareDot:J3,LucideMessageSquareHeart:Q3,LucideMessageSquareLock:e6,LucideMessageSquareMore:t6,LucideMessageSquareOff:a6,LucideMessageSquarePlus:n6,LucideMessageSquareQuote:o6,LucideMessageSquareReply:r6,LucideMessageSquareShare:i6,LucideMessageSquareText:l6,LucideMessageSquareWarning:s6,LucideMessageSquareX:c6,LucideMessagesSquare:d6,LucideMetronome:h6,LucideMic:p6,LucideMic2:or,LucideMicOff:u6,LucideMicVocal:or,LucideMicrochip:y6,LucideMicroscope:f6,LucideMicrowave:m6,LucideMilestone:k6,LucideMilk:b6,LucideMilkOff:g6,LucideMinimize:M6,LucideMinimize2:x6,LucideMinus:xl,LucideMinusCircle:$n,LucideMinusSquare:pi,LucideMirrorRectangular:w6,LucideMirrorRound:v6,LucideMonitor:T6,LucideMonitorCheck:C6,LucideMonitorCloud:L6,LucideMonitorCog:S6,LucideMonitorDot:I6,LucideMonitorDown:_6,LucideMonitorOff:B6,LucideMonitorPause:A6,LucideMonitorPlay:V6,LucideMonitorSmartphone:P6,LucideMonitorSpeaker:D6,LucideMonitorStop:q6,LucideMonitorUp:z6,LucideMonitorX:E6,LucideMoon:H6,LucideMoonStar:O6,LucideMoreHorizontal:Ca,LucideMoreVertical:co,LucideMotorbike:F6,LucideMountain:j6,LucideMountainSnow:$6,LucideMouse:Z6,LucideMouseLeft:R6,LucideMouseOff:N6,LucideMousePointer:K6,LucideMousePointer2:W6,LucideMousePointer2Off:U6,LucideMousePointerBan:G6,LucideMousePointerClick:Y6,LucideMousePointerSquareDashed:ni,LucideMouseRight:X6,LucideMove:d8,LucideMove3D:rr,LucideMove3d:rr,LucideMoveDiagonal:Q6,LucideMoveDiagonal2:J6,LucideMoveDown:a8,LucideMoveDownLeft:e8,LucideMoveDownRight:t8,LucideMoveHorizontal:n8,LucideMoveLeft:o8,LucideMoveRight:i8,LucideMoveUp:l8,LucideMoveUpLeft:r8,LucideMoveUpRight:s8,LucideMoveVertical:c8,LucideMusic:y8,LucideMusic2:h8,LucideMusic3:u8,LucideMusic4:p8,LucideNavigation:g8,LucideNavigation2:m8,LucideNavigation2Off:f8,LucideNavigationOff:k8,LucideNetwork:b8,LucideNewspaper:M8,LucideNfc:x8,LucideNonBinary:w8,LucideNotebook:S8,LucideNotebookPen:C8,LucideNotebookTabs:v8,LucideNotebookText:L8,LucideNotepadText:_8,LucideNotepadTextDashed:I8,LucideNut:A8,LucideNutOff:B8,LucideOctagon:P8,LucideOctagonAlert:ir,LucideOctagonMinus:V8,LucideOctagonPause:sr,LucideOctagonX:lr,LucideOmega:D8,LucideOption:q8,LucideOrbit:z8,LucideOrigami:E8,LucideOutdent:zt,LucidePackage:N8,LucidePackage2:T8,LucidePackageCheck:H8,LucidePackageMinus:O8,LucidePackageOpen:F8,LucidePackagePlus:$8,LucidePackageSearch:j8,LucidePackageX:R8,LucidePaintBucket:U8,LucidePaintRoller:W8,LucidePaintbrush:G8,LucidePaintbrush2:cr,LucidePaintbrushVertical:cr,LucidePalette:Y8,LucidePalmtree:Fi,LucidePanda:K8,LucidePanelBottom:J8,LucidePanelBottomClose:X8,LucidePanelBottomDashed:dr,LucidePanelBottomInactive:dr,LucidePanelBottomOpen:Z8,LucidePanelLeft:yr,LucidePanelLeftClose:ur,LucidePanelLeftDashed:hr,LucidePanelLeftInactive:hr,LucidePanelLeftOpen:pr,LucidePanelLeftRightDashed:Q8,LucidePanelRight:a7,LucidePanelRightClose:e7,LucidePanelRightDashed:fr,LucidePanelRightInactive:fr,LucidePanelRightOpen:t7,LucidePanelTop:i7,LucidePanelTopBottomDashed:n7,LucidePanelTopClose:o7,LucidePanelTopDashed:mr,LucidePanelTopInactive:mr,LucidePanelTopOpen:r7,LucidePanelsLeftBottom:s7,LucidePanelsLeftRight:ro,LucidePanelsRightBottom:l7,LucidePanelsTopBottom:Cr,LucidePanelsTopLeft:kr,LucidePaperclip:c7,LucideParentheses:d7,LucideParkingCircle:Rn,LucideParkingCircleOff:jn,LucideParkingMeter:h7,LucideParkingSquare:mi,LucideParkingSquareOff:fi,LucidePartyPopper:u7,LucidePause:p7,LucidePauseCircle:Nn,LucidePauseOctagon:sr,LucidePawPrint:y7,LucidePcCase:f7,LucidePen:br,LucidePenBox:et,LucidePenLine:gr,LucidePenOff:m7,LucidePenSquare:et,LucidePenTool:k7,LucidePencil:Is,LucidePencilLine:g7,LucidePencilOff:b7,LucidePencilRuler:M7,LucidePentagon:x7,LucidePercent:w7,LucidePercentCircle:Un,LucidePercentDiamond:so,LucidePercentSquare:ki,LucidePersonStanding:v7,LucidePhilippinePeso:C7,LucidePhone:wl,LucidePhoneCall:L7,LucidePhoneForwarded:S7,LucidePhoneIncoming:I7,LucidePhoneMissed:B7,LucidePhoneOff:_7,LucidePhoneOutgoing:A7,LucidePi:V7,LucidePiSquare:gi,LucidePiano:P7,LucidePickaxe:D7,LucidePictureInPicture:z7,LucidePictureInPicture2:q7,LucidePieChart:wn,LucidePiggyBank:E7,LucidePilcrow:H7,LucidePilcrowLeft:T7,LucidePilcrowRight:O7,LucidePilcrowSquare:bi,LucidePill:N7,LucidePillBottle:F7,LucidePin:j7,LucidePinOff:$7,LucidePipette:R7,LucidePizza:U7,LucidePlane:vl,LucidePlaneLanding:W7,LucidePlaneTakeoff:G7,LucidePlay:Y7,LucidePlayCircle:Wn,LucidePlaySquare:Mi,LucidePlug:X7,LucidePlug2:K7,LucidePlugZap:Mr,LucidePlugZap2:Mr,LucidePlus:Cl,LucidePlusCircle:Gn,LucidePlusSquare:xi,LucidePocket:J7,LucidePocketKnife:Z7,LucidePodcast:Q7,LucidePointer:tb,LucidePointerOff:eb,LucidePopcorn:ab,LucidePopsicle:nb,LucidePoundSterling:rb,LucidePower:ib,LucidePowerCircle:Yn,LucidePowerOff:ob,LucidePowerSquare:wi,LucidePresentation:sb,LucidePrinter:db,LucidePrinterCheck:lb,LucidePrinterX:cb,LucideProjector:hb,LucideProportions:yb,LucidePuzzle:ub,LucidePyramid:pb,LucideQrCode:fb,LucideQuote:mb,LucideRabbit:gb,LucideRadar:kb,LucideRadiation:Mb,LucideRadical:bb,LucideRadio:vb,LucideRadioReceiver:xb,LucideRadioTower:wb,LucideRadius:Cb,LucideRailSymbol:Lb,LucideRainbow:Sb,LucideRat:Ib,LucideRatio:_b,LucideReceipt:Ob,LucideReceiptCent:Bb,LucideReceiptEuro:Ab,LucideReceiptIndianRupee:Vb,LucideReceiptJapaneseYen:Pb,LucideReceiptPoundSterling:Db,LucideReceiptRussianRuble:qb,LucideReceiptSwissFranc:zb,LucideReceiptText:Eb,LucideReceiptTurkishLira:Tb,LucideRectangleCircle:Hb,LucideRectangleEllipsis:xr,LucideRectangleGoggles:Fb,LucideRectangleHorizontal:$b,LucideRectangleVertical:jb,LucideRecycle:Rb,LucideRedo:Ub,LucideRedo2:Nb,LucideRedoDot:Wb,LucideRefreshCcw:Ll,LucideRefreshCcwDot:Gb,LucideRefreshCw:_s,LucideRefreshCwOff:Yb,LucideRefrigerator:Xb,LucideRegex:Kb,LucideRemoveFormatting:Zb,LucideRepeat:Qb,LucideRepeat1:Jb,LucideRepeat2:tM,LucideReplace:aM,LucideReplaceAll:eM,LucideReply:oM,LucideReplyAll:nM,LucideRewind:iM,LucideRibbon:rM,LucideRocket:sM,LucideRockingChair:lM,LucideRollerCoaster:cM,LucideRose:dM,LucideRotate3D:wr,LucideRotate3d:wr,LucideRotateCcw:pM,LucideRotateCcwKey:hM,LucideRotateCcwSquare:uM,LucideRotateCw:fM,LucideRotateCwSquare:yM,LucideRoute:kM,LucideRouteOff:mM,LucideRouter:gM,LucideRows:vr,LucideRows2:vr,LucideRows3:Cr,LucideRows4:bM,LucideRss:MM,LucideRuler:xM,LucideRulerDimensionLine:wM,LucideRussianRuble:vM,LucideSailboat:CM,LucideSalad:LM,LucideSandwich:IM,LucideSatellite:_M,LucideSatelliteDish:SM,LucideSaudiRiyal:BM,LucideSave:PM,LucideSaveAll:VM,LucideSaveOff:AM,LucideScale:DM,LucideScale3D:Lr,LucideScale3d:Lr,LucideScaling:qM,LucideScan:jM,LucideScanBarcode:zM,LucideScanEye:EM,LucideScanFace:TM,LucideScanHeart:OM,LucideScanLine:HM,LucideScanQrCode:$M,LucideScanSearch:FM,LucideScanText:RM,LucideScatterChart:Cn,LucideSchool:NM,LucideSchool2:Ri,LucideScissors:GM,LucideScissorsLineDashed:UM,LucideScissorsSquare:vi,LucideScissorsSquareDashedBottom:Wr,LucideScooter:WM,LucideScreenShare:KM,LucideScreenShareOff:YM,LucideScroll:ZM,LucideScrollText:XM,LucideSearch:Sr,LucideSearchAlert:JM,LucideSearchCheck:ex,LucideSearchCode:QM,LucideSearchSlash:tx,LucideSearchX:ax,LucideSection:nx,LucideSend:rx,LucideSendHorizonal:Ir,LucideSendHorizontal:Ir,LucideSendToBack:ox,LucideSeparatorHorizontal:ix,LucideSeparatorVertical:sx,LucideServer:Sl,LucideServerCog:lx,LucideServerCrash:cx,LucideServerOff:hx,LucideSettings:ux,LucideSettings2:dx,LucideShapes:px,LucideShare:yx,LucideShare2:Il,LucideSheet:fx,LucideShell:mx,LucideShelvingUnit:kx,LucideShield:Ix,LucideShieldAlert:gx,LucideShieldBan:bx,LucideShieldCheck:Mx,LucideShieldClose:Br,LucideShieldEllipsis:xx,LucideShieldHalf:wx,LucideShieldMinus:Lx,LucideShieldOff:vx,LucideShieldPlus:Cx,LucideShieldQuestion:_r,LucideShieldQuestionMark:_r,LucideShieldUser:Sx,LucideShieldX:Br,LucideShip:Bx,LucideShipWheel:_x,LucideShirt:Ax,LucideShoppingBag:Vx,LucideShoppingBasket:Px,LucideShoppingCart:Bs,LucideShovel:qx,LucideShowerHead:Dx,LucideShredder:zx,LucideShrimp:Ex,LucideShrink:Tx,LucideShrub:Ox,LucideShuffle:Hx,LucideSidebar:yr,LucideSidebarClose:ur,LucideSidebarOpen:pr,LucideSigma:Fx,LucideSigmaSquare:Ci,LucideSignal:Ux,LucideSignalHigh:$x,LucideSignalLow:jx,LucideSignalMedium:Rx,LucideSignalZero:Nx,LucideSignature:Wx,LucideSignpost:Yx,LucideSignpostBig:Gx,LucideSiren:Kx,LucideSkipBack:Zx,LucideSkipForward:Xx,LucideSkull:Qx,LucideSlack:Jx,LucideSlash:e9,LucideSlashSquare:Li,LucideSlice:t9,LucideSliders:Ar,LucideSlidersHorizontal:_l,LucideSlidersVertical:Ar,LucideSmartphone:o9,LucideSmartphoneCharging:a9,LucideSmartphoneNfc:n9,LucideSmile:i9,LucideSmilePlus:r9,LucideSnail:s9,LucideSnowflake:l9,LucideSoapDispenserDroplet:c9,LucideSofa:d9,LucideSolarPanel:h9,LucideSortAsc:tn,LucideSortDesc:Ja,LucideSoup:u9,LucideSpace:p9,LucideSpade:y9,LucideSparkle:f9,LucideSparkles:Vr,LucideSpeaker:m9,LucideSpeech:k9,LucideSpellCheck:M9,LucideSpellCheck2:g9,LucideSpline:x9,LucideSplinePointer:b9,LucideSplit:w9,LucideSplitSquareHorizontal:Si,LucideSplitSquareVertical:Ii,LucideSpool:v9,LucideSpotlight:C9,LucideSprayCan:L9,LucideSprout:S9,LucideSquare:F9,LucideSquareActivity:Pr,LucideSquareArrowDown:zr,LucideSquareArrowDownLeft:Dr,LucideSquareArrowDownRight:qr,LucideSquareArrowLeft:Er,LucideSquareArrowOutDownLeft:Tr,LucideSquareArrowOutDownRight:Or,LucideSquareArrowOutUpLeft:Hr,LucideSquareArrowOutUpRight:Fr,LucideSquareArrowRight:$r,LucideSquareArrowRightEnter:I9,LucideSquareArrowRightExit:_9,LucideSquareArrowUp:Nr,LucideSquareArrowUpLeft:Rr,LucideSquareArrowUpRight:jr,LucideSquareAsterisk:Ur,LucideSquareBottomDashedScissors:Wr,LucideSquareCenterlineDashedHorizontal:Gr,LucideSquareCenterlineDashedVertical:Yr,LucideSquareChartGantt:Tt,LucideSquareCheck:Xr,LucideSquareCheckBig:Kr,LucideSquareChevronDown:Zr,LucideSquareChevronLeft:Jr,LucideSquareChevronRight:Qr,LucideSquareChevronUp:ei,LucideSquareCode:ti,LucideSquareDashed:oi,LucideSquareDashedBottom:A9,LucideSquareDashedBottomCode:B9,LucideSquareDashedKanban:ai,LucideSquareDashedMousePointer:ni,LucideSquareDashedTopSolid:V9,LucideSquareDivide:ii,LucideSquareDot:ri,LucideSquareEqual:si,LucideSquareFunction:li,LucideSquareGanttChart:Tt,LucideSquareKanban:ci,LucideSquareLibrary:di,LucideSquareM:hi,LucideSquareMenu:ui,LucideSquareMinus:pi,LucideSquareMousePointer:yi,LucideSquareParking:mi,LucideSquareParkingOff:fi,LucideSquarePause:P9,LucideSquarePen:et,LucideSquarePercent:ki,LucideSquarePi:gi,LucideSquarePilcrow:bi,LucideSquarePlay:Mi,LucideSquarePlus:xi,LucideSquarePower:wi,LucideSquareRadical:q9,LucideSquareRoundCorner:D9,LucideSquareScissors:vi,LucideSquareSigma:Ci,LucideSquareSlash:Li,LucideSquareSplitHorizontal:Si,LucideSquareSplitVertical:Ii,LucideSquareSquare:z9,LucideSquareStack:E9,LucideSquareStar:O9,LucideSquareStop:T9,LucideSquareTerminal:_i,LucideSquareUser:Vi,LucideSquareUserRound:Bi,LucideSquareX:Ai,LucideSquaresExclude:H9,LucideSquaresIntersect:$9,LucideSquaresSubtract:j9,LucideSquaresUnite:R9,LucideSquircle:U9,LucideSquircleDashed:N9,LucideSquirrel:W9,LucideStamp:G9,LucideStar:Z9,LucideStarHalf:Y9,LucideStarOff:K9,LucideStars:Vr,LucideStepBack:X9,LucideStepForward:J9,LucideStethoscope:Q9,LucideSticker:ew,LucideStickyNote:tw,LucideStone:aw,LucideStopCircle:Xn,LucideStore:nw,LucideStretchHorizontal:rw,LucideStretchVertical:ow,LucideStrikethrough:iw,LucideSubscript:sw,LucideSubtitles:hn,LucideSun:uw,LucideSunDim:lw,LucideSunMedium:cw,LucideSunMoon:hw,LucideSunSnow:dw,LucideSunrise:pw,LucideSunset:yw,LucideSuperscript:fw,LucideSwatchBook:mw,LucideSwissFranc:kw,LucideSwitchCamera:bw,LucideSword:gw,LucideSwords:Mw,LucideSyringe:xw,LucideTable:Aw,LucideTable2:ww,LucideTableCellsMerge:vw,LucideTableCellsSplit:Cw,LucideTableColumnsSplit:Lw,LucideTableConfig:Pt,LucideTableOfContents:Sw,LucideTableProperties:Iw,LucideTableRowsSplit:_w,LucideTablet:Bw,LucideTabletSmartphone:Vw,LucideTablets:Pw,LucideTag:Dw,LucideTags:qw,LucideTally1:zw,LucideTally2:Ew,LucideTally3:Tw,LucideTally4:Ow,LucideTally5:Hw,LucideTangent:Fw,LucideTarget:$w,LucideTelescope:jw,LucideTent:Nw,LucideTentTree:Rw,LucideTerminal:Uw,LucideTerminalSquare:_i,LucideTestTube:Ww,LucideTestTube2:Pi,LucideTestTubeDiagonal:Pi,LucideTestTubes:Gw,LucideText:Ot,LucideTextAlignCenter:zi,LucideTextAlignEnd:Di,LucideTextAlignJustify:qi,LucideTextAlignStart:Ot,LucideTextCursor:Kw,LucideTextCursorInput:Yw,LucideTextInitial:Ei,LucideTextQuote:Zw,LucideTextSearch:Xw,LucideTextSelect:Oi,LucideTextSelection:Oi,LucideTextWrap:Ti,LucideTheater:Jw,LucideThermometer:tv,LucideThermometerSnowflake:Qw,LucideThermometerSun:ev,LucideThumbsDown:nv,LucideThumbsUp:av,LucideTicket:hv,LucideTicketCheck:ov,LucideTicketMinus:rv,LucideTicketPercent:iv,LucideTicketPlus:sv,LucideTicketSlash:lv,LucideTicketX:cv,LucideTickets:uv,LucideTicketsPlane:dv,LucideTimer:fv,LucideTimerOff:pv,LucideTimerReset:yv,LucideToggleLeft:Bl,LucideToggleRight:mv,LucideToilet:kv,LucideToolCase:gv,LucideToolbox:bv,LucideTornado:Mv,LucideTorus:xv,LucideTouchpad:vv,LucideTouchpadOff:wv,LucideTowelRack:Cv,LucideTowerControl:Lv,LucideToyBrick:Sv,LucideTractor:Iv,LucideTrafficCone:_v,LucideTrain:Hi,LucideTrainFront:Pv,LucideTrainFrontTunnel:Bv,LucideTrainTrack:Av,LucideTramFront:Hi,LucideTransgender:Vv,LucideTrash:Dv,LucideTrash2:As,LucideTreeDeciduous:qv,LucideTreePalm:Fi,LucideTreePine:zv,LucideTrees:Ev,LucideTrello:Tv,LucideTrendingDown:Ov,LucideTrendingUp:Fv,LucideTrendingUpDown:Hv,LucideTriangle:Nv,LucideTriangleAlert:$i,LucideTriangleDashed:$v,LucideTriangleRight:Rv,LucideTrophy:jv,LucideTruck:Wv,LucideTruckElectric:Uv,LucideTurkishLira:Gv,LucideTurntable:Yv,LucideTurtle:Kv,LucideTv:Zv,LucideTv2:ji,LucideTvMinimal:ji,LucideTvMinimalPlay:Xv,LucideTwitch:Jv,LucideTwitter:eC,LucideType:tC,LucideTypeOutline:Qv,LucideUmbrella:nC,LucideUmbrellaOff:aC,LucideUnderline:oC,LucideUndo:iC,LucideUndo2:rC,LucideUndoDot:sC,LucideUnfoldHorizontal:lC,LucideUnfoldVertical:cC,LucideUngroup:dC,LucideUniversity:Ri,LucideUnlink:uC,LucideUnlink2:hC,LucideUnlock:er,LucideUnlockKeyhole:Qo,LucideUnplug:pC,LucideUpload:yC,LucideUploadCloud:va,LucideUsb:fC,LucideUser:Al,LucideUser2:Ki,LucideUserCheck:mC,LucideUserCheck2:Ni,LucideUserCircle:Jn,LucideUserCircle2:Zn,LucideUserCog:kC,LucideUserCog2:Ui,LucideUserKey:gC,LucideUserLock:bC,LucideUserMinus:MC,LucideUserMinus2:Wi,LucideUserPen:xC,LucideUserPlus:wC,LucideUserPlus2:Gi,LucideUserRound:Ki,LucideUserRoundCheck:Ni,LucideUserRoundCog:Ui,LucideUserRoundKey:vC,LucideUserRoundMinus:Wi,LucideUserRoundPen:CC,LucideUserRoundPlus:Gi,LucideUserRoundSearch:LC,LucideUserRoundX:Yi,LucideUserSearch:IC,LucideUserSquare:Vi,LucideUserSquare2:Bi,LucideUserStar:SC,LucideUserX:_C,LucideUserX2:Yi,LucideUsers:BC,LucideUsers2:Xi,LucideUsersRound:Xi,LucideUtensils:Ji,LucideUtensilsCrossed:Zi,LucideUtilityPole:AC,LucideVan:VC,LucideVariable:DC,LucideVault:PC,LucideVectorSquare:qC,LucideVegan:zC,LucideVenetianMask:EC,LucideVenus:TC,LucideVenusAndMars:OC,LucideVerified:on,LucideVibrate:FC,LucideVibrateOff:HC,LucideVideo:jC,LucideVideoOff:$C,LucideVideotape:RC,LucideView:NC,LucideVoicemail:UC,LucideVolleyball:YC,LucideVolume:XC,LucideVolume1:WC,LucideVolume2:GC,LucideVolumeOff:KC,LucideVolumeX:ZC,LucideVote:JC,LucideWallet:eL,LucideWallet2:Qi,LucideWalletCards:QC,LucideWalletMinimal:Qi,LucideWallpaper:tL,LucideWand:aL,LucideWand2:es,LucideWandSparkles:es,LucideWarehouse:nL,LucideWashingMachine:oL,LucideWatch:rL,LucideWaves:cL,LucideWavesArrowDown:iL,LucideWavesArrowUp:sL,LucideWavesLadder:lL,LucideWaypoints:dL,LucideWebcam:hL,LucideWebhook:pL,LucideWebhookOff:uL,LucideWeight:fL,LucideWeightTilde:yL,LucideWheat:kL,LucideWheatOff:mL,LucideWholeWord:gL,LucideWifi:SL,LucideWifiCog:bL,LucideWifiHigh:ML,LucideWifiLow:wL,LucideWifiOff:xL,LucideWifiPen:vL,LucideWifiSync:CL,LucideWifiZero:LL,LucideWind:IL,LucideWindArrowDown:_L,LucideWine:BL,LucideWineOff:AL,LucideWorkflow:VL,LucideWorm:PL,LucideWrapText:Ti,LucideWrench:DL,LucideX:Mt,LucideXCircle:Qn,LucideXLineTop:qL,LucideXOctagon:lr,LucideXSquare:Ai,LucideYoutube:zL,LucideZap:OL,LucideZapOff:EL,LucideZoomIn:TL,LucideZoomOut:HL,Luggage:Q5,LuggageIcon:Q5,MSquare:hi,MSquareIcon:hi,Magnet:e3,MagnetIcon:e3,Mail:l3,MailCheck:t3,MailCheckIcon:t3,MailIcon:l3,MailMinus:n3,MailMinusIcon:n3,MailOpen:a3,MailOpenIcon:a3,MailPlus:o3,MailPlusIcon:o3,MailQuestion:tr,MailQuestionIcon:tr,MailQuestionMark:tr,MailQuestionMarkIcon:tr,MailSearch:r3,MailSearchIcon:r3,MailWarning:s3,MailWarningIcon:s3,MailX:i3,MailXIcon:i3,Mailbox:h3,MailboxIcon:h3,Mails:c3,MailsIcon:c3,Map:C3,MapIcon:C3,MapMinus:d3,MapMinusIcon:d3,MapPin:Ls,MapPinCheck:u3,MapPinCheckIcon:u3,MapPinCheckInside:p3,MapPinCheckInsideIcon:p3,MapPinHouse:y3,MapPinHouseIcon:y3,MapPinIcon:Ls,MapPinMinus:m3,MapPinMinusIcon:m3,MapPinMinusInside:f3,MapPinMinusInsideIcon:f3,MapPinOff:k3,MapPinOffIcon:k3,MapPinPen:ar,MapPinPenIcon:ar,MapPinPlus:b3,MapPinPlusIcon:b3,MapPinPlusInside:g3,MapPinPlusInsideIcon:g3,MapPinX:M3,MapPinXIcon:M3,MapPinXInside:x3,MapPinXInsideIcon:x3,MapPinned:w3,MapPinnedIcon:w3,MapPlus:v3,MapPlusIcon:v3,Mars:I3,MarsIcon:I3,MarsStroke:L3,MarsStrokeIcon:L3,Martini:S3,MartiniIcon:S3,Maximize:B3,Maximize2:_3,Maximize2Icon:_3,MaximizeIcon:B3,Medal:A3,MedalIcon:A3,Megaphone:P3,MegaphoneIcon:P3,MegaphoneOff:V3,MegaphoneOffIcon:V3,Meh:D3,MehIcon:D3,MemoryStick:q3,MemoryStickIcon:q3,Menu:z3,MenuIcon:z3,MenuSquare:ui,MenuSquareIcon:ui,Merge:E3,MergeIcon:E3,MessageCircle:G3,MessageCircleCheck:T3,MessageCircleCheckIcon:T3,MessageCircleCode:O3,MessageCircleCodeIcon:O3,MessageCircleDashed:H3,MessageCircleDashedIcon:H3,MessageCircleHeart:F3,MessageCircleHeartIcon:F3,MessageCircleIcon:G3,MessageCircleMore:j3,MessageCircleMoreIcon:j3,MessageCircleOff:$3,MessageCircleOffIcon:$3,MessageCirclePlus:R3,MessageCirclePlusIcon:R3,MessageCircleQuestion:nr,MessageCircleQuestionIcon:nr,MessageCircleQuestionMark:nr,MessageCircleQuestionMarkIcon:nr,MessageCircleReply:N3,MessageCircleReplyIcon:N3,MessageCircleWarning:U3,MessageCircleWarningIcon:U3,MessageCircleX:W3,MessageCircleXIcon:W3,MessageSquare:Ss,MessageSquareCheck:Y3,MessageSquareCheckIcon:Y3,MessageSquareCode:K3,MessageSquareCodeIcon:K3,MessageSquareDashed:X3,MessageSquareDashedIcon:X3,MessageSquareDiff:Z3,MessageSquareDiffIcon:Z3,MessageSquareDot:J3,MessageSquareDotIcon:J3,MessageSquareHeart:Q3,MessageSquareHeartIcon:Q3,MessageSquareIcon:Ss,MessageSquareLock:e6,MessageSquareLockIcon:e6,MessageSquareMore:t6,MessageSquareMoreIcon:t6,MessageSquareOff:a6,MessageSquareOffIcon:a6,MessageSquarePlus:n6,MessageSquarePlusIcon:n6,MessageSquareQuote:o6,MessageSquareQuoteIcon:o6,MessageSquareReply:r6,MessageSquareReplyIcon:r6,MessageSquareShare:i6,MessageSquareShareIcon:i6,MessageSquareText:l6,MessageSquareTextIcon:l6,MessageSquareWarning:s6,MessageSquareWarningIcon:s6,MessageSquareX:c6,MessageSquareXIcon:c6,MessagesSquare:d6,MessagesSquareIcon:d6,Metronome:h6,MetronomeIcon:h6,Mic:p6,Mic2:or,Mic2Icon:or,MicIcon:p6,MicOff:u6,MicOffIcon:u6,MicVocal:or,MicVocalIcon:or,Microchip:y6,MicrochipIcon:y6,Microscope:f6,MicroscopeIcon:f6,Microwave:m6,MicrowaveIcon:m6,Milestone:k6,MilestoneIcon:k6,Milk:b6,MilkIcon:b6,MilkOff:g6,MilkOffIcon:g6,Minimize:M6,Minimize2:x6,Minimize2Icon:x6,MinimizeIcon:M6,Minus:xl,MinusCircle:$n,MinusCircleIcon:$n,MinusIcon:xl,MinusSquare:pi,MinusSquareIcon:pi,MirrorRectangular:w6,MirrorRectangularIcon:w6,MirrorRound:v6,MirrorRoundIcon:v6,Monitor:T6,MonitorCheck:C6,MonitorCheckIcon:C6,MonitorCloud:L6,MonitorCloudIcon:L6,MonitorCog:S6,MonitorCogIcon:S6,MonitorDot:I6,MonitorDotIcon:I6,MonitorDown:_6,MonitorDownIcon:_6,MonitorIcon:T6,MonitorOff:B6,MonitorOffIcon:B6,MonitorPause:A6,MonitorPauseIcon:A6,MonitorPlay:V6,MonitorPlayIcon:V6,MonitorSmartphone:P6,MonitorSmartphoneIcon:P6,MonitorSpeaker:D6,MonitorSpeakerIcon:D6,MonitorStop:q6,MonitorStopIcon:q6,MonitorUp:z6,MonitorUpIcon:z6,MonitorX:E6,MonitorXIcon:E6,Moon:H6,MoonIcon:H6,MoonStar:O6,MoonStarIcon:O6,MoreHorizontal:Ca,MoreHorizontalIcon:Ca,MoreVertical:co,MoreVerticalIcon:co,Motorbike:F6,MotorbikeIcon:F6,Mountain:j6,MountainIcon:j6,MountainSnow:$6,MountainSnowIcon:$6,Mouse:Z6,MouseIcon:Z6,MouseLeft:R6,MouseLeftIcon:R6,MouseOff:N6,MouseOffIcon:N6,MousePointer:K6,MousePointer2:W6,MousePointer2Icon:W6,MousePointer2Off:U6,MousePointer2OffIcon:U6,MousePointerBan:G6,MousePointerBanIcon:G6,MousePointerClick:Y6,MousePointerClickIcon:Y6,MousePointerIcon:K6,MousePointerSquareDashed:ni,MousePointerSquareDashedIcon:ni,MouseRight:X6,MouseRightIcon:X6,Move:d8,Move3D:rr,Move3DIcon:rr,Move3d:rr,Move3dIcon:rr,MoveDiagonal:Q6,MoveDiagonal2:J6,MoveDiagonal2Icon:J6,MoveDiagonalIcon:Q6,MoveDown:a8,MoveDownIcon:a8,MoveDownLeft:e8,MoveDownLeftIcon:e8,MoveDownRight:t8,MoveDownRightIcon:t8,MoveHorizontal:n8,MoveHorizontalIcon:n8,MoveIcon:d8,MoveLeft:o8,MoveLeftIcon:o8,MoveRight:i8,MoveRightIcon:i8,MoveUp:l8,MoveUpIcon:l8,MoveUpLeft:r8,MoveUpLeftIcon:r8,MoveUpRight:s8,MoveUpRightIcon:s8,MoveVertical:c8,MoveVerticalIcon:c8,Music:y8,Music2:h8,Music2Icon:h8,Music3:u8,Music3Icon:u8,Music4:p8,Music4Icon:p8,MusicIcon:y8,Navigation:g8,Navigation2:m8,Navigation2Icon:m8,Navigation2Off:f8,Navigation2OffIcon:f8,NavigationIcon:g8,NavigationOff:k8,NavigationOffIcon:k8,Network:b8,NetworkIcon:b8,Newspaper:M8,NewspaperIcon:M8,Nfc:x8,NfcIcon:x8,NonBinary:w8,NonBinaryIcon:w8,Notebook:S8,NotebookIcon:S8,NotebookPen:C8,NotebookPenIcon:C8,NotebookTabs:v8,NotebookTabsIcon:v8,NotebookText:L8,NotebookTextIcon:L8,NotepadText:_8,NotepadTextDashed:I8,NotepadTextDashedIcon:I8,NotepadTextIcon:_8,Nut:A8,NutIcon:A8,NutOff:B8,NutOffIcon:B8,Octagon:P8,OctagonAlert:ir,OctagonAlertIcon:ir,OctagonIcon:P8,OctagonMinus:V8,OctagonMinusIcon:V8,OctagonPause:sr,OctagonPauseIcon:sr,OctagonX:lr,OctagonXIcon:lr,Omega:D8,OmegaIcon:D8,Option:q8,OptionIcon:q8,Orbit:z8,OrbitIcon:z8,Origami:E8,OrigamiIcon:E8,Outdent:zt,OutdentIcon:zt,Package:N8,Package2:T8,Package2Icon:T8,PackageCheck:H8,PackageCheckIcon:H8,PackageIcon:N8,PackageMinus:O8,PackageMinusIcon:O8,PackageOpen:F8,PackageOpenIcon:F8,PackagePlus:$8,PackagePlusIcon:$8,PackageSearch:j8,PackageSearchIcon:j8,PackageX:R8,PackageXIcon:R8,PaintBucket:U8,PaintBucketIcon:U8,PaintRoller:W8,PaintRollerIcon:W8,Paintbrush:G8,Paintbrush2:cr,Paintbrush2Icon:cr,PaintbrushIcon:G8,PaintbrushVertical:cr,PaintbrushVerticalIcon:cr,Palette:Y8,PaletteIcon:Y8,Palmtree:Fi,PalmtreeIcon:Fi,Panda:K8,PandaIcon:K8,PanelBottom:J8,PanelBottomClose:X8,PanelBottomCloseIcon:X8,PanelBottomDashed:dr,PanelBottomDashedIcon:dr,PanelBottomIcon:J8,PanelBottomInactive:dr,PanelBottomInactiveIcon:dr,PanelBottomOpen:Z8,PanelBottomOpenIcon:Z8,PanelLeft:yr,PanelLeftClose:ur,PanelLeftCloseIcon:ur,PanelLeftDashed:hr,PanelLeftDashedIcon:hr,PanelLeftIcon:yr,PanelLeftInactive:hr,PanelLeftInactiveIcon:hr,PanelLeftOpen:pr,PanelLeftOpenIcon:pr,PanelLeftRightDashed:Q8,PanelLeftRightDashedIcon:Q8,PanelRight:a7,PanelRightClose:e7,PanelRightCloseIcon:e7,PanelRightDashed:fr,PanelRightDashedIcon:fr,PanelRightIcon:a7,PanelRightInactive:fr,PanelRightInactiveIcon:fr,PanelRightOpen:t7,PanelRightOpenIcon:t7,PanelTop:i7,PanelTopBottomDashed:n7,PanelTopBottomDashedIcon:n7,PanelTopClose:o7,PanelTopCloseIcon:o7,PanelTopDashed:mr,PanelTopDashedIcon:mr,PanelTopIcon:i7,PanelTopInactive:mr,PanelTopInactiveIcon:mr,PanelTopOpen:r7,PanelTopOpenIcon:r7,PanelsLeftBottom:s7,PanelsLeftBottomIcon:s7,PanelsLeftRight:ro,PanelsLeftRightIcon:ro,PanelsRightBottom:l7,PanelsRightBottomIcon:l7,PanelsTopBottom:Cr,PanelsTopBottomIcon:Cr,PanelsTopLeft:kr,PanelsTopLeftIcon:kr,Paperclip:c7,PaperclipIcon:c7,Parentheses:d7,ParenthesesIcon:d7,ParkingCircle:Rn,ParkingCircleIcon:Rn,ParkingCircleOff:jn,ParkingCircleOffIcon:jn,ParkingMeter:h7,ParkingMeterIcon:h7,ParkingSquare:mi,ParkingSquareIcon:mi,ParkingSquareOff:fi,ParkingSquareOffIcon:fi,PartyPopper:u7,PartyPopperIcon:u7,Pause:p7,PauseCircle:Nn,PauseCircleIcon:Nn,PauseIcon:p7,PauseOctagon:sr,PauseOctagonIcon:sr,PawPrint:y7,PawPrintIcon:y7,PcCase:f7,PcCaseIcon:f7,Pen:br,PenBox:et,PenBoxIcon:et,PenIcon:br,PenLine:gr,PenLineIcon:gr,PenOff:m7,PenOffIcon:m7,PenSquare:et,PenSquareIcon:et,PenTool:k7,PenToolIcon:k7,Pencil:Is,PencilIcon:Is,PencilLine:g7,PencilLineIcon:g7,PencilOff:b7,PencilOffIcon:b7,PencilRuler:M7,PencilRulerIcon:M7,Pentagon:x7,PentagonIcon:x7,Percent:w7,PercentCircle:Un,PercentCircleIcon:Un,PercentDiamond:so,PercentDiamondIcon:so,PercentIcon:w7,PercentSquare:ki,PercentSquareIcon:ki,PersonStanding:v7,PersonStandingIcon:v7,PhilippinePeso:C7,PhilippinePesoIcon:C7,Phone:wl,PhoneCall:L7,PhoneCallIcon:L7,PhoneForwarded:S7,PhoneForwardedIcon:S7,PhoneIcon:wl,PhoneIncoming:I7,PhoneIncomingIcon:I7,PhoneMissed:B7,PhoneMissedIcon:B7,PhoneOff:_7,PhoneOffIcon:_7,PhoneOutgoing:A7,PhoneOutgoingIcon:A7,Pi:V7,PiIcon:V7,PiSquare:gi,PiSquareIcon:gi,Piano:P7,PianoIcon:P7,Pickaxe:D7,PickaxeIcon:D7,PictureInPicture:z7,PictureInPicture2:q7,PictureInPicture2Icon:q7,PictureInPictureIcon:z7,PieChart:wn,PieChartIcon:wn,PiggyBank:E7,PiggyBankIcon:E7,Pilcrow:H7,PilcrowIcon:H7,PilcrowLeft:T7,PilcrowLeftIcon:T7,PilcrowRight:O7,PilcrowRightIcon:O7,PilcrowSquare:bi,PilcrowSquareIcon:bi,Pill:N7,PillBottle:F7,PillBottleIcon:F7,PillIcon:N7,Pin:j7,PinIcon:j7,PinOff:$7,PinOffIcon:$7,Pipette:R7,PipetteIcon:R7,Pizza:U7,PizzaIcon:U7,Plane:vl,PlaneIcon:vl,PlaneLanding:W7,PlaneLandingIcon:W7,PlaneTakeoff:G7,PlaneTakeoffIcon:G7,Play:Y7,PlayCircle:Wn,PlayCircleIcon:Wn,PlayIcon:Y7,PlaySquare:Mi,PlaySquareIcon:Mi,Plug:X7,Plug2:K7,Plug2Icon:K7,PlugIcon:X7,PlugZap:Mr,PlugZap2:Mr,PlugZap2Icon:Mr,PlugZapIcon:Mr,Plus:Cl,PlusCircle:Gn,PlusCircleIcon:Gn,PlusIcon:Cl,PlusSquare:xi,PlusSquareIcon:xi,Pocket:J7,PocketIcon:J7,PocketKnife:Z7,PocketKnifeIcon:Z7,Podcast:Q7,PodcastIcon:Q7,Pointer:tb,PointerIcon:tb,PointerOff:eb,PointerOffIcon:eb,Popcorn:ab,PopcornIcon:ab,Popsicle:nb,PopsicleIcon:nb,PoundSterling:rb,PoundSterlingIcon:rb,Power:ib,PowerCircle:Yn,PowerCircleIcon:Yn,PowerIcon:ib,PowerOff:ob,PowerOffIcon:ob,PowerSquare:wi,PowerSquareIcon:wi,Presentation:sb,PresentationIcon:sb,Printer:db,PrinterCheck:lb,PrinterCheckIcon:lb,PrinterIcon:db,PrinterX:cb,PrinterXIcon:cb,Projector:hb,ProjectorIcon:hb,Proportions:yb,ProportionsIcon:yb,Puzzle:ub,PuzzleIcon:ub,Pyramid:pb,PyramidIcon:pb,QrCode:fb,QrCodeIcon:fb,Quote:mb,QuoteIcon:mb,Rabbit:gb,RabbitIcon:gb,Radar:kb,RadarIcon:kb,Radiation:Mb,RadiationIcon:Mb,Radical:bb,RadicalIcon:bb,Radio:vb,RadioIcon:vb,RadioReceiver:xb,RadioReceiverIcon:xb,RadioTower:wb,RadioTowerIcon:wb,Radius:Cb,RadiusIcon:Cb,RailSymbol:Lb,RailSymbolIcon:Lb,Rainbow:Sb,RainbowIcon:Sb,Rat:Ib,RatIcon:Ib,Ratio:_b,RatioIcon:_b,Receipt:Ob,ReceiptCent:Bb,ReceiptCentIcon:Bb,ReceiptEuro:Ab,ReceiptEuroIcon:Ab,ReceiptIcon:Ob,ReceiptIndianRupee:Vb,ReceiptIndianRupeeIcon:Vb,ReceiptJapaneseYen:Pb,ReceiptJapaneseYenIcon:Pb,ReceiptPoundSterling:Db,ReceiptPoundSterlingIcon:Db,ReceiptRussianRuble:qb,ReceiptRussianRubleIcon:qb,ReceiptSwissFranc:zb,ReceiptSwissFrancIcon:zb,ReceiptText:Eb,ReceiptTextIcon:Eb,ReceiptTurkishLira:Tb,ReceiptTurkishLiraIcon:Tb,RectangleCircle:Hb,RectangleCircleIcon:Hb,RectangleEllipsis:xr,RectangleEllipsisIcon:xr,RectangleGoggles:Fb,RectangleGogglesIcon:Fb,RectangleHorizontal:$b,RectangleHorizontalIcon:$b,RectangleVertical:jb,RectangleVerticalIcon:jb,Recycle:Rb,RecycleIcon:Rb,Redo:Ub,Redo2:Nb,Redo2Icon:Nb,RedoDot:Wb,RedoDotIcon:Wb,RedoIcon:Ub,RefreshCcw:Ll,RefreshCcwDot:Gb,RefreshCcwDotIcon:Gb,RefreshCcwIcon:Ll,RefreshCw:_s,RefreshCwIcon:_s,RefreshCwOff:Yb,RefreshCwOffIcon:Yb,Refrigerator:Xb,RefrigeratorIcon:Xb,Regex:Kb,RegexIcon:Kb,RemoveFormatting:Zb,RemoveFormattingIcon:Zb,Repeat:Qb,Repeat1:Jb,Repeat1Icon:Jb,Repeat2:tM,Repeat2Icon:tM,RepeatIcon:Qb,Replace:aM,ReplaceAll:eM,ReplaceAllIcon:eM,ReplaceIcon:aM,Reply:oM,ReplyAll:nM,ReplyAllIcon:nM,ReplyIcon:oM,Rewind:iM,RewindIcon:iM,Ribbon:rM,RibbonIcon:rM,Rocket:sM,RocketIcon:sM,RockingChair:lM,RockingChairIcon:lM,RollerCoaster:cM,RollerCoasterIcon:cM,Rose:dM,RoseIcon:dM,Rotate3D:wr,Rotate3DIcon:wr,Rotate3d:wr,Rotate3dIcon:wr,RotateCcw:pM,RotateCcwIcon:pM,RotateCcwKey:hM,RotateCcwKeyIcon:hM,RotateCcwSquare:uM,RotateCcwSquareIcon:uM,RotateCw:fM,RotateCwIcon:fM,RotateCwSquare:yM,RotateCwSquareIcon:yM,Route:kM,RouteIcon:kM,RouteOff:mM,RouteOffIcon:mM,Router:gM,RouterIcon:gM,Rows:vr,Rows2:vr,Rows2Icon:vr,Rows3:Cr,Rows3Icon:Cr,Rows4:bM,Rows4Icon:bM,RowsIcon:vr,Rss:MM,RssIcon:MM,Ruler:xM,RulerDimensionLine:wM,RulerDimensionLineIcon:wM,RulerIcon:xM,RussianRuble:vM,RussianRubleIcon:vM,Sailboat:CM,SailboatIcon:CM,Salad:LM,SaladIcon:LM,Sandwich:IM,SandwichIcon:IM,Satellite:_M,SatelliteDish:SM,SatelliteDishIcon:SM,SatelliteIcon:_M,SaudiRiyal:BM,SaudiRiyalIcon:BM,Save:PM,SaveAll:VM,SaveAllIcon:VM,SaveIcon:PM,SaveOff:AM,SaveOffIcon:AM,Scale:DM,Scale3D:Lr,Scale3DIcon:Lr,Scale3d:Lr,Scale3dIcon:Lr,ScaleIcon:DM,Scaling:qM,ScalingIcon:qM,Scan:jM,ScanBarcode:zM,ScanBarcodeIcon:zM,ScanEye:EM,ScanEyeIcon:EM,ScanFace:TM,ScanFaceIcon:TM,ScanHeart:OM,ScanHeartIcon:OM,ScanIcon:jM,ScanLine:HM,ScanLineIcon:HM,ScanQrCode:$M,ScanQrCodeIcon:$M,ScanSearch:FM,ScanSearchIcon:FM,ScanText:RM,ScanTextIcon:RM,ScatterChart:Cn,ScatterChartIcon:Cn,School:NM,School2:Ri,School2Icon:Ri,SchoolIcon:NM,Scissors:GM,ScissorsIcon:GM,ScissorsLineDashed:UM,ScissorsLineDashedIcon:UM,ScissorsSquare:vi,ScissorsSquareDashedBottom:Wr,ScissorsSquareDashedBottomIcon:Wr,ScissorsSquareIcon:vi,Scooter:WM,ScooterIcon:WM,ScreenShare:KM,ScreenShareIcon:KM,ScreenShareOff:YM,ScreenShareOffIcon:YM,Scroll:ZM,ScrollIcon:ZM,ScrollText:XM,ScrollTextIcon:XM,Search:Sr,SearchAlert:JM,SearchAlertIcon:JM,SearchCheck:ex,SearchCheckIcon:ex,SearchCode:QM,SearchCodeIcon:QM,SearchIcon:Sr,SearchSlash:tx,SearchSlashIcon:tx,SearchX:ax,SearchXIcon:ax,Section:nx,SectionIcon:nx,Send:rx,SendHorizonal:Ir,SendHorizonalIcon:Ir,SendHorizontal:Ir,SendHorizontalIcon:Ir,SendIcon:rx,SendToBack:ox,SendToBackIcon:ox,SeparatorHorizontal:ix,SeparatorHorizontalIcon:ix,SeparatorVertical:sx,SeparatorVerticalIcon:sx,Server:Sl,ServerCog:lx,ServerCogIcon:lx,ServerCrash:cx,ServerCrashIcon:cx,ServerIcon:Sl,ServerOff:hx,ServerOffIcon:hx,Settings:ux,Settings2:dx,Settings2Icon:dx,SettingsIcon:ux,Shapes:px,ShapesIcon:px,Share:yx,Share2:Il,Share2Icon:Il,ShareIcon:yx,Sheet:fx,SheetIcon:fx,Shell:mx,ShellIcon:mx,ShelvingUnit:kx,ShelvingUnitIcon:kx,Shield:Ix,ShieldAlert:gx,ShieldAlertIcon:gx,ShieldBan:bx,ShieldBanIcon:bx,ShieldCheck:Mx,ShieldCheckIcon:Mx,ShieldClose:Br,ShieldCloseIcon:Br,ShieldEllipsis:xx,ShieldEllipsisIcon:xx,ShieldHalf:wx,ShieldHalfIcon:wx,ShieldIcon:Ix,ShieldMinus:Lx,ShieldMinusIcon:Lx,ShieldOff:vx,ShieldOffIcon:vx,ShieldPlus:Cx,ShieldPlusIcon:Cx,ShieldQuestion:_r,ShieldQuestionIcon:_r,ShieldQuestionMark:_r,ShieldQuestionMarkIcon:_r,ShieldUser:Sx,ShieldUserIcon:Sx,ShieldX:Br,ShieldXIcon:Br,Ship:Bx,ShipIcon:Bx,ShipWheel:_x,ShipWheelIcon:_x,Shirt:Ax,ShirtIcon:Ax,ShoppingBag:Vx,ShoppingBagIcon:Vx,ShoppingBasket:Px,ShoppingBasketIcon:Px,ShoppingCart:Bs,ShoppingCartIcon:Bs,Shovel:qx,ShovelIcon:qx,ShowerHead:Dx,ShowerHeadIcon:Dx,Shredder:zx,ShredderIcon:zx,Shrimp:Ex,ShrimpIcon:Ex,Shrink:Tx,ShrinkIcon:Tx,Shrub:Ox,ShrubIcon:Ox,Shuffle:Hx,ShuffleIcon:Hx,Sidebar:yr,SidebarClose:ur,SidebarCloseIcon:ur,SidebarIcon:yr,SidebarOpen:pr,SidebarOpenIcon:pr,Sigma:Fx,SigmaIcon:Fx,SigmaSquare:Ci,SigmaSquareIcon:Ci,Signal:Ux,SignalHigh:$x,SignalHighIcon:$x,SignalIcon:Ux,SignalLow:jx,SignalLowIcon:jx,SignalMedium:Rx,SignalMediumIcon:Rx,SignalZero:Nx,SignalZeroIcon:Nx,Signature:Wx,SignatureIcon:Wx,Signpost:Yx,SignpostBig:Gx,SignpostBigIcon:Gx,SignpostIcon:Yx,Siren:Kx,SirenIcon:Kx,SkipBack:Zx,SkipBackIcon:Zx,SkipForward:Xx,SkipForwardIcon:Xx,Skull:Qx,SkullIcon:Qx,Slack:Jx,SlackIcon:Jx,Slash:e9,SlashIcon:e9,SlashSquare:Li,SlashSquareIcon:Li,Slice:t9,SliceIcon:t9,Sliders:Ar,SlidersHorizontal:_l,SlidersHorizontalIcon:_l,SlidersIcon:Ar,SlidersVertical:Ar,SlidersVerticalIcon:Ar,Smartphone:o9,SmartphoneCharging:a9,SmartphoneChargingIcon:a9,SmartphoneIcon:o9,SmartphoneNfc:n9,SmartphoneNfcIcon:n9,Smile:i9,SmileIcon:i9,SmilePlus:r9,SmilePlusIcon:r9,Snail:s9,SnailIcon:s9,Snowflake:l9,SnowflakeIcon:l9,SoapDispenserDroplet:c9,SoapDispenserDropletIcon:c9,Sofa:d9,SofaIcon:d9,SolarPanel:h9,SolarPanelIcon:h9,SortAsc:tn,SortAscIcon:tn,SortDesc:Ja,SortDescIcon:Ja,Soup:u9,SoupIcon:u9,Space:p9,SpaceIcon:p9,Spade:y9,SpadeIcon:y9,Sparkle:f9,SparkleIcon:f9,Sparkles:Vr,SparklesIcon:Vr,Speaker:m9,SpeakerIcon:m9,Speech:k9,SpeechIcon:k9,SpellCheck:M9,SpellCheck2:g9,SpellCheck2Icon:g9,SpellCheckIcon:M9,Spline:x9,SplineIcon:x9,SplinePointer:b9,SplinePointerIcon:b9,Split:w9,SplitIcon:w9,SplitSquareHorizontal:Si,SplitSquareHorizontalIcon:Si,SplitSquareVertical:Ii,SplitSquareVerticalIcon:Ii,Spool:v9,SpoolIcon:v9,Spotlight:C9,SpotlightIcon:C9,SprayCan:L9,SprayCanIcon:L9,Sprout:S9,SproutIcon:S9,Square:F9,SquareActivity:Pr,SquareActivityIcon:Pr,SquareArrowDown:zr,SquareArrowDownIcon:zr,SquareArrowDownLeft:Dr,SquareArrowDownLeftIcon:Dr,SquareArrowDownRight:qr,SquareArrowDownRightIcon:qr,SquareArrowLeft:Er,SquareArrowLeftIcon:Er,SquareArrowOutDownLeft:Tr,SquareArrowOutDownLeftIcon:Tr,SquareArrowOutDownRight:Or,SquareArrowOutDownRightIcon:Or,SquareArrowOutUpLeft:Hr,SquareArrowOutUpLeftIcon:Hr,SquareArrowOutUpRight:Fr,SquareArrowOutUpRightIcon:Fr,SquareArrowRight:$r,SquareArrowRightEnter:I9,SquareArrowRightEnterIcon:I9,SquareArrowRightExit:_9,SquareArrowRightExitIcon:_9,SquareArrowRightIcon:$r,SquareArrowUp:Nr,SquareArrowUpIcon:Nr,SquareArrowUpLeft:Rr,SquareArrowUpLeftIcon:Rr,SquareArrowUpRight:jr,SquareArrowUpRightIcon:jr,SquareAsterisk:Ur,SquareAsteriskIcon:Ur,SquareBottomDashedScissors:Wr,SquareBottomDashedScissorsIcon:Wr,SquareCenterlineDashedHorizontal:Gr,SquareCenterlineDashedHorizontalIcon:Gr,SquareCenterlineDashedVertical:Yr,SquareCenterlineDashedVerticalIcon:Yr,SquareChartGantt:Tt,SquareChartGanttIcon:Tt,SquareCheck:Xr,SquareCheckBig:Kr,SquareCheckBigIcon:Kr,SquareCheckIcon:Xr,SquareChevronDown:Zr,SquareChevronDownIcon:Zr,SquareChevronLeft:Jr,SquareChevronLeftIcon:Jr,SquareChevronRight:Qr,SquareChevronRightIcon:Qr,SquareChevronUp:ei,SquareChevronUpIcon:ei,SquareCode:ti,SquareCodeIcon:ti,SquareDashed:oi,SquareDashedBottom:A9,SquareDashedBottomCode:B9,SquareDashedBottomCodeIcon:B9,SquareDashedBottomIcon:A9,SquareDashedIcon:oi,SquareDashedKanban:ai,SquareDashedKanbanIcon:ai,SquareDashedMousePointer:ni,SquareDashedMousePointerIcon:ni,SquareDashedTopSolid:V9,SquareDashedTopSolidIcon:V9,SquareDivide:ii,SquareDivideIcon:ii,SquareDot:ri,SquareDotIcon:ri,SquareEqual:si,SquareEqualIcon:si,SquareFunction:li,SquareFunctionIcon:li,SquareGanttChart:Tt,SquareGanttChartIcon:Tt,SquareIcon:F9,SquareKanban:ci,SquareKanbanIcon:ci,SquareLibrary:di,SquareLibraryIcon:di,SquareM:hi,SquareMIcon:hi,SquareMenu:ui,SquareMenuIcon:ui,SquareMinus:pi,SquareMinusIcon:pi,SquareMousePointer:yi,SquareMousePointerIcon:yi,SquareParking:mi,SquareParkingIcon:mi,SquareParkingOff:fi,SquareParkingOffIcon:fi,SquarePause:P9,SquarePauseIcon:P9,SquarePen:et,SquarePenIcon:et,SquarePercent:ki,SquarePercentIcon:ki,SquarePi:gi,SquarePiIcon:gi,SquarePilcrow:bi,SquarePilcrowIcon:bi,SquarePlay:Mi,SquarePlayIcon:Mi,SquarePlus:xi,SquarePlusIcon:xi,SquarePower:wi,SquarePowerIcon:wi,SquareRadical:q9,SquareRadicalIcon:q9,SquareRoundCorner:D9,SquareRoundCornerIcon:D9,SquareScissors:vi,SquareScissorsIcon:vi,SquareSigma:Ci,SquareSigmaIcon:Ci,SquareSlash:Li,SquareSlashIcon:Li,SquareSplitHorizontal:Si,SquareSplitHorizontalIcon:Si,SquareSplitVertical:Ii,SquareSplitVerticalIcon:Ii,SquareSquare:z9,SquareSquareIcon:z9,SquareStack:E9,SquareStackIcon:E9,SquareStar:O9,SquareStarIcon:O9,SquareStop:T9,SquareStopIcon:T9,SquareTerminal:_i,SquareTerminalIcon:_i,SquareUser:Vi,SquareUserIcon:Vi,SquareUserRound:Bi,SquareUserRoundIcon:Bi,SquareX:Ai,SquareXIcon:Ai,SquaresExclude:H9,SquaresExcludeIcon:H9,SquaresIntersect:$9,SquaresIntersectIcon:$9,SquaresSubtract:j9,SquaresSubtractIcon:j9,SquaresUnite:R9,SquaresUniteIcon:R9,Squircle:U9,SquircleDashed:N9,SquircleDashedIcon:N9,SquircleIcon:U9,Squirrel:W9,SquirrelIcon:W9,Stamp:G9,StampIcon:G9,Star:Z9,StarHalf:Y9,StarHalfIcon:Y9,StarIcon:Z9,StarOff:K9,StarOffIcon:K9,Stars:Vr,StarsIcon:Vr,StepBack:X9,StepBackIcon:X9,StepForward:J9,StepForwardIcon:J9,Stethoscope:Q9,StethoscopeIcon:Q9,Sticker:ew,StickerIcon:ew,StickyNote:tw,StickyNoteIcon:tw,Stone:aw,StoneIcon:aw,StopCircle:Xn,StopCircleIcon:Xn,Store:nw,StoreIcon:nw,StretchHorizontal:rw,StretchHorizontalIcon:rw,StretchVertical:ow,StretchVerticalIcon:ow,Strikethrough:iw,StrikethroughIcon:iw,Subscript:sw,SubscriptIcon:sw,Subtitles:hn,SubtitlesIcon:hn,Sun:uw,SunDim:lw,SunDimIcon:lw,SunIcon:uw,SunMedium:cw,SunMediumIcon:cw,SunMoon:hw,SunMoonIcon:hw,SunSnow:dw,SunSnowIcon:dw,Sunrise:pw,SunriseIcon:pw,Sunset:yw,SunsetIcon:yw,Superscript:fw,SuperscriptIcon:fw,SwatchBook:mw,SwatchBookIcon:mw,SwissFranc:kw,SwissFrancIcon:kw,SwitchCamera:bw,SwitchCameraIcon:bw,Sword:gw,SwordIcon:gw,Swords:Mw,SwordsIcon:Mw,Syringe:xw,SyringeIcon:xw,Table:Aw,Table2:ww,Table2Icon:ww,TableCellsMerge:vw,TableCellsMergeIcon:vw,TableCellsSplit:Cw,TableCellsSplitIcon:Cw,TableColumnsSplit:Lw,TableColumnsSplitIcon:Lw,TableConfig:Pt,TableConfigIcon:Pt,TableIcon:Aw,TableOfContents:Sw,TableOfContentsIcon:Sw,TableProperties:Iw,TablePropertiesIcon:Iw,TableRowsSplit:_w,TableRowsSplitIcon:_w,Tablet:Bw,TabletIcon:Bw,TabletSmartphone:Vw,TabletSmartphoneIcon:Vw,Tablets:Pw,TabletsIcon:Pw,Tag:Dw,TagIcon:Dw,Tags:qw,TagsIcon:qw,Tally1:zw,Tally1Icon:zw,Tally2:Ew,Tally2Icon:Ew,Tally3:Tw,Tally3Icon:Tw,Tally4:Ow,Tally4Icon:Ow,Tally5:Hw,Tally5Icon:Hw,Tangent:Fw,TangentIcon:Fw,Target:$w,TargetIcon:$w,Telescope:jw,TelescopeIcon:jw,Tent:Nw,TentIcon:Nw,TentTree:Rw,TentTreeIcon:Rw,Terminal:Uw,TerminalIcon:Uw,TerminalSquare:_i,TerminalSquareIcon:_i,TestTube:Ww,TestTube2:Pi,TestTube2Icon:Pi,TestTubeDiagonal:Pi,TestTubeDiagonalIcon:Pi,TestTubeIcon:Ww,TestTubes:Gw,TestTubesIcon:Gw,Text:Ot,TextAlignCenter:zi,TextAlignCenterIcon:zi,TextAlignEnd:Di,TextAlignEndIcon:Di,TextAlignJustify:qi,TextAlignJustifyIcon:qi,TextAlignStart:Ot,TextAlignStartIcon:Ot,TextCursor:Kw,TextCursorIcon:Kw,TextCursorInput:Yw,TextCursorInputIcon:Yw,TextIcon:Ot,TextInitial:Ei,TextInitialIcon:Ei,TextQuote:Zw,TextQuoteIcon:Zw,TextSearch:Xw,TextSearchIcon:Xw,TextSelect:Oi,TextSelectIcon:Oi,TextSelection:Oi,TextSelectionIcon:Oi,TextWrap:Ti,TextWrapIcon:Ti,Theater:Jw,TheaterIcon:Jw,Thermometer:tv,ThermometerIcon:tv,ThermometerSnowflake:Qw,ThermometerSnowflakeIcon:Qw,ThermometerSun:ev,ThermometerSunIcon:ev,ThumbsDown:nv,ThumbsDownIcon:nv,ThumbsUp:av,ThumbsUpIcon:av,Ticket:hv,TicketCheck:ov,TicketCheckIcon:ov,TicketIcon:hv,TicketMinus:rv,TicketMinusIcon:rv,TicketPercent:iv,TicketPercentIcon:iv,TicketPlus:sv,TicketPlusIcon:sv,TicketSlash:lv,TicketSlashIcon:lv,TicketX:cv,TicketXIcon:cv,Tickets:uv,TicketsIcon:uv,TicketsPlane:dv,TicketsPlaneIcon:dv,Timer:fv,TimerIcon:fv,TimerOff:pv,TimerOffIcon:pv,TimerReset:yv,TimerResetIcon:yv,ToggleLeft:Bl,ToggleLeftIcon:Bl,ToggleRight:mv,ToggleRightIcon:mv,Toilet:kv,ToiletIcon:kv,ToolCase:gv,ToolCaseIcon:gv,Toolbox:bv,ToolboxIcon:bv,Tornado:Mv,TornadoIcon:Mv,Torus:xv,TorusIcon:xv,Touchpad:vv,TouchpadIcon:vv,TouchpadOff:wv,TouchpadOffIcon:wv,TowelRack:Cv,TowelRackIcon:Cv,TowerControl:Lv,TowerControlIcon:Lv,ToyBrick:Sv,ToyBrickIcon:Sv,Tractor:Iv,TractorIcon:Iv,TrafficCone:_v,TrafficConeIcon:_v,Train:Hi,TrainFront:Pv,TrainFrontIcon:Pv,TrainFrontTunnel:Bv,TrainFrontTunnelIcon:Bv,TrainIcon:Hi,TrainTrack:Av,TrainTrackIcon:Av,TramFront:Hi,TramFrontIcon:Hi,Transgender:Vv,TransgenderIcon:Vv,Trash:Dv,Trash2:As,Trash2Icon:As,TrashIcon:Dv,TreeDeciduous:qv,TreeDeciduousIcon:qv,TreePalm:Fi,TreePalmIcon:Fi,TreePine:zv,TreePineIcon:zv,Trees:Ev,TreesIcon:Ev,Trello:Tv,TrelloIcon:Tv,TrendingDown:Ov,TrendingDownIcon:Ov,TrendingUp:Fv,TrendingUpDown:Hv,TrendingUpDownIcon:Hv,TrendingUpIcon:Fv,Triangle:Nv,TriangleAlert:$i,TriangleAlertIcon:$i,TriangleDashed:$v,TriangleDashedIcon:$v,TriangleIcon:Nv,TriangleRight:Rv,TriangleRightIcon:Rv,Trophy:jv,TrophyIcon:jv,Truck:Wv,TruckElectric:Uv,TruckElectricIcon:Uv,TruckIcon:Wv,TurkishLira:Gv,TurkishLiraIcon:Gv,Turntable:Yv,TurntableIcon:Yv,Turtle:Kv,TurtleIcon:Kv,Tv:Zv,Tv2:ji,Tv2Icon:ji,TvIcon:Zv,TvMinimal:ji,TvMinimalIcon:ji,TvMinimalPlay:Xv,TvMinimalPlayIcon:Xv,Twitch:Jv,TwitchIcon:Jv,Twitter:eC,TwitterIcon:eC,Type:tC,TypeIcon:tC,TypeOutline:Qv,TypeOutlineIcon:Qv,Umbrella:nC,UmbrellaIcon:nC,UmbrellaOff:aC,UmbrellaOffIcon:aC,Underline:oC,UnderlineIcon:oC,Undo:iC,Undo2:rC,Undo2Icon:rC,UndoDot:sC,UndoDotIcon:sC,UndoIcon:iC,UnfoldHorizontal:lC,UnfoldHorizontalIcon:lC,UnfoldVertical:cC,UnfoldVerticalIcon:cC,Ungroup:dC,UngroupIcon:dC,University:Ri,UniversityIcon:Ri,Unlink:uC,Unlink2:hC,Unlink2Icon:hC,UnlinkIcon:uC,Unlock:er,UnlockIcon:er,UnlockKeyhole:Qo,UnlockKeyholeIcon:Qo,Unplug:pC,UnplugIcon:pC,Upload:yC,UploadCloud:va,UploadCloudIcon:va,UploadIcon:yC,Usb:fC,UsbIcon:fC,User:Al,User2:Ki,User2Icon:Ki,UserCheck:mC,UserCheck2:Ni,UserCheck2Icon:Ni,UserCheckIcon:mC,UserCircle:Jn,UserCircle2:Zn,UserCircle2Icon:Zn,UserCircleIcon:Jn,UserCog:kC,UserCog2:Ui,UserCog2Icon:Ui,UserCogIcon:kC,UserIcon:Al,UserKey:gC,UserKeyIcon:gC,UserLock:bC,UserLockIcon:bC,UserMinus:MC,UserMinus2:Wi,UserMinus2Icon:Wi,UserMinusIcon:MC,UserPen:xC,UserPenIcon:xC,UserPlus:wC,UserPlus2:Gi,UserPlus2Icon:Gi,UserPlusIcon:wC,UserRound:Ki,UserRoundCheck:Ni,UserRoundCheckIcon:Ni,UserRoundCog:Ui,UserRoundCogIcon:Ui,UserRoundIcon:Ki,UserRoundKey:vC,UserRoundKeyIcon:vC,UserRoundMinus:Wi,UserRoundMinusIcon:Wi,UserRoundPen:CC,UserRoundPenIcon:CC,UserRoundPlus:Gi,UserRoundPlusIcon:Gi,UserRoundSearch:LC,UserRoundSearchIcon:LC,UserRoundX:Yi,UserRoundXIcon:Yi,UserSearch:IC,UserSearchIcon:IC,UserSquare:Vi,UserSquare2:Bi,UserSquare2Icon:Bi,UserSquareIcon:Vi,UserStar:SC,UserStarIcon:SC,UserX:_C,UserX2:Yi,UserX2Icon:Yi,UserXIcon:_C,Users:BC,Users2:Xi,Users2Icon:Xi,UsersIcon:BC,UsersRound:Xi,UsersRoundIcon:Xi,Utensils:Ji,UtensilsCrossed:Zi,UtensilsCrossedIcon:Zi,UtensilsIcon:Ji,UtilityPole:AC,UtilityPoleIcon:AC,Van:VC,VanIcon:VC,Variable:DC,VariableIcon:DC,Vault:PC,VaultIcon:PC,VectorSquare:qC,VectorSquareIcon:qC,Vegan:zC,VeganIcon:zC,VenetianMask:EC,VenetianMaskIcon:EC,Venus:TC,VenusAndMars:OC,VenusAndMarsIcon:OC,VenusIcon:TC,Verified:on,VerifiedIcon:on,Vibrate:FC,VibrateIcon:FC,VibrateOff:HC,VibrateOffIcon:HC,Video:jC,VideoIcon:jC,VideoOff:$C,VideoOffIcon:$C,Videotape:RC,VideotapeIcon:RC,View:NC,ViewIcon:NC,Voicemail:UC,VoicemailIcon:UC,Volleyball:YC,VolleyballIcon:YC,Volume:XC,Volume1:WC,Volume1Icon:WC,Volume2:GC,Volume2Icon:GC,VolumeIcon:XC,VolumeOff:KC,VolumeOffIcon:KC,VolumeX:ZC,VolumeXIcon:ZC,Vote:JC,VoteIcon:JC,Wallet:eL,Wallet2:Qi,Wallet2Icon:Qi,WalletCards:QC,WalletCardsIcon:QC,WalletIcon:eL,WalletMinimal:Qi,WalletMinimalIcon:Qi,Wallpaper:tL,WallpaperIcon:tL,Wand:aL,Wand2:es,Wand2Icon:es,WandIcon:aL,WandSparkles:es,WandSparklesIcon:es,Warehouse:nL,WarehouseIcon:nL,WashingMachine:oL,WashingMachineIcon:oL,Watch:rL,WatchIcon:rL,Waves:cL,WavesArrowDown:iL,WavesArrowDownIcon:iL,WavesArrowUp:sL,WavesArrowUpIcon:sL,WavesIcon:cL,WavesLadder:lL,WavesLadderIcon:lL,Waypoints:dL,WaypointsIcon:dL,Webcam:hL,WebcamIcon:hL,Webhook:pL,WebhookIcon:pL,WebhookOff:uL,WebhookOffIcon:uL,Weight:fL,WeightIcon:fL,WeightTilde:yL,WeightTildeIcon:yL,Wheat:kL,WheatIcon:kL,WheatOff:mL,WheatOffIcon:mL,WholeWord:gL,WholeWordIcon:gL,Wifi:SL,WifiCog:bL,WifiCogIcon:bL,WifiHigh:ML,WifiHighIcon:ML,WifiIcon:SL,WifiLow:wL,WifiLowIcon:wL,WifiOff:xL,WifiOffIcon:xL,WifiPen:vL,WifiPenIcon:vL,WifiSync:CL,WifiSyncIcon:CL,WifiZero:LL,WifiZeroIcon:LL,Wind:IL,WindArrowDown:_L,WindArrowDownIcon:_L,WindIcon:IL,Wine:BL,WineIcon:BL,WineOff:AL,WineOffIcon:AL,Workflow:VL,WorkflowIcon:VL,Worm:PL,WormIcon:PL,WrapText:Ti,WrapTextIcon:Ti,Wrench:DL,WrenchIcon:DL,X:Mt,XCircle:Qn,XCircleIcon:Qn,XIcon:Mt,XLineTop:qL,XLineTopIcon:qL,XOctagon:lr,XOctagonIcon:lr,XSquare:Ai,XSquareIcon:Ai,Youtube:zL,YoutubeIcon:zL,Zap:OL,ZapIcon:OL,ZapOff:EL,ZapOffIcon:EL,ZoomIn:TL,ZoomInIcon:TL,ZoomOut:HL,ZoomOutIcon:HL,createLucideIcon:l,icons:Hz},Symbol.toStringTag,{value:"Module"}));function Fz(t,e){var n;const o=a.shallowRef();return a.watchEffect(()=>{o.value=t()},{...e,flush:(n=e==null?void 0:e.flush)!==null&&n!==void 0?n:"sync"}),a.readonly(o)}function Vs(t,e){return a.getCurrentScope()?(a.onScopeDispose(t,e),!0):!1}function $z(){const t=new Set,e=i=>{t.delete(i)};return{on:i=>{t.add(i);const s=()=>e(i);return Vs(s),{off:s}},off:e,trigger:(...i)=>Promise.all(Array.from(t).map(s=>s(...i))),clear:()=>{t.clear()}}}function jz(t){let e=!1,n;const o=a.effectScope(!0);return((...r)=>(e||(n=o.run(()=>t(...r)),e=!0),n))}const bI=new WeakMap,Rz=(...t)=>{var e;const n=t[0],o=(e=a.getCurrentInstance())===null||e===void 0?void 0:e.proxy,r=o??a.getCurrentScope();if(r==null&&!a.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&bI.has(r)&&n in bI.get(r)?bI.get(r)[n]:a.inject(...t)},pt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Nz=t=>typeof t<"u",Uz=Object.prototype.toString,Wz=t=>Uz.call(t)==="[object Object]",jB=Gz();function Gz(){var t,e,n;return pt&&!!(!((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0)&&t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function Yz(t,e){var n;if(typeof t=="number")return t+e;const o=((n=t.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",r=t.slice(o.length),i=Number.parseFloat(o)+e;return Number.isNaN(i)?t:i+r}function Vl(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function MI(t){return Array.isArray(t)?t:[t]}function RB(t){return a.getCurrentInstance()}function Kz(t){if(!pt)return t;let e=0,n,o;const r=()=>{e-=1,o&&e<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(e+=1,o||(o=a.effectScope(!0),n=o.run(()=>t(...i))),Vs(r),n))}function Xz(t){return a.isRef(t)?a.reactive(new Proxy({},{get(e,n,o){return a.unref(Reflect.get(t.value,n,o))},set(e,n,o){return a.isRef(t.value[n])&&!a.isRef(o)?t.value[n].value=o:t.value[n]=o,!0},deleteProperty(e,n){return Reflect.deleteProperty(t.value,n)},has(e,n){return Reflect.has(t.value,n)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):a.reactive(t)}function Zz(t){return Xz(a.computed(t))}function Ce(t,...e){const n=e.flat(),o=n[0];return Zz(()=>Object.fromEntries(typeof o=="function"?Object.entries(a.toRefs(t)).filter(([r,i])=>!o(a.toValue(i),r)):Object.entries(a.toRefs(t)).filter(r=>!n.includes(r[0]))))}function NB(t,e=1e4){return a.customRef((n,o)=>{let r=a.toValue(t),i;const s=()=>setTimeout(()=>{r=a.toValue(t),o()},a.toValue(e));return Vs(()=>{clearTimeout(i)}),{get(){return n(),r},set(c){r=c,o(),clearTimeout(i),i=s()}}})}function Jz(t,e){RB()&&a.onBeforeUnmount(t,e)}function Qz(t,e=!0,n){RB()?a.onMounted(t,n):e?t():a.nextTick(t)}function UB(t,e,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=a.shallowRef(!1);let s;function c(){s&&(clearTimeout(s),s=void 0)}function d(){i.value=!1,c()}function h(...u){r&&t(),c(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...u)},a.toValue(e))}return o&&(i.value=!0,pt&&h()),Vs(d),{isPending:a.shallowReadonly(i),start:h,stop:d}}function eE(t,e,n){return a.watch(t,e,{...n,immediate:!0})}const Ps=pt?window:void 0;function Ht(t){var e;const n=a.toValue(t);return(e=n==null?void 0:n.$el)!==null&&e!==void 0?e:n}function Pl(...t){const e=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=a.computed(()=>{const o=MI(a.toValue(t[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return eE(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>Ht(i)))!==null&&o!==void 0?o:[Ps].filter(i=>i!=null),MI(a.toValue(n.value?t[1]:t[0])),MI(a.unref(n.value?t[2]:t[1])),a.toValue(n.value?t[3]:t[2])]},([o,r,i,s],c,d)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const h=Wz(s)?{...s}:s,u=o.flatMap(p=>r.flatMap(y=>i.map(f=>e(p,y,f,h))));d(()=>{u.forEach(p=>p())})},{flush:"post"})}function WB(){const t=a.shallowRef(!1),e=a.getCurrentInstance();return e&&a.onMounted(()=>{t.value=!0},e),t}function GB(t){const e=WB();return a.computed(()=>(e.value,!!t()))}function tE(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function aE(...t){let e,n,o={};t.length===3?(e=t[0],n=t[1],o=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],o=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:r=Ps,eventName:i="keydown",passive:s=!1,dedupe:c=!1}=o,d=tE(e);return Pl(r,i,u=>{u.repeat&&a.toValue(c)||d(u)&&n(u)},s)}const nE=Symbol("vueuse-ssr-width");function YB(){const t=a.hasInjectionContext()?Rz(nE,null):null;return typeof t=="number"?t:void 0}function Dl(t,e={}){const{window:n=Ps,ssrWidth:o=YB()}=e,r=GB(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=a.shallowRef(typeof o=="number"),s=a.shallowRef(),c=a.shallowRef(!1),d=h=>{c.value=h.matches};return a.watchEffect(()=>{if(i.value){i.value=!r.value,c.value=a.toValue(t).split(",").some(h=>{const u=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(p||y);return p&&f&&(f=o>=Vl(p[1])),y&&f&&(f=o<=Vl(y[1])),u?!f:f});return}r.value&&(s.value=n.matchMedia(a.toValue(t)),c.value=s.value.matches)}),Pl(s,"change",d,{passive:!0}),a.computed(()=>c.value)}const oE={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function rE(t,e={}){function n(f,m){let k=a.toValue(t[a.toValue(f)]);return m!=null&&(k=Yz(k,m)),typeof k=="number"&&(k=`${k}px`),k}const{window:o=Ps,strategy:r="min-width",ssrWidth:i=YB()}=e,s=typeof i=="number",c=s?a.shallowRef(!1):{value:!0};s&&Qz(()=>c.value=!!o);function d(f,m){return!c.value&&s?f==="min"?i>=Vl(m):i<=Vl(m):o?o.matchMedia(`(${f}-width: ${m})`).matches:!1}const h=f=>Dl(()=>`(min-width: ${n(f)})`,e),u=f=>Dl(()=>`(max-width: ${n(f)})`,e),p=Object.keys(t).reduce((f,m)=>(Object.defineProperty(f,m,{get:()=>r==="min-width"?h(m):u(m),enumerable:!0,configurable:!0}),f),{});function y(){const f=Object.keys(t).map(m=>[m,p[m],Vl(n(m))]).sort((m,k)=>m[2]-k[2]);return a.computed(()=>f.filter(([,m])=>m.value).map(([m])=>m))}return Object.assign(p,{greaterOrEqual:h,smallerOrEqual:u,greater(f){return Dl(()=>`(min-width: ${n(f,.1)})`,e)},smaller(f){return Dl(()=>`(max-width: ${n(f,-.1)})`,e)},between(f,m){return Dl(()=>`(min-width: ${n(f)}) and (max-width: ${n(m,-.1)})`,e)},isGreater(f){return d("min",n(f,.1))},isGreaterOrEqual(f){return d("min",n(f))},isSmaller(f){return d("max",n(f,-.1))},isSmallerOrEqual(f){return d("max",n(f))},isInBetween(f,m){return d("min",n(f))&&d("max",n(m,-.1))},current:y,active(){const f=y();return a.computed(()=>f.value.length===0?"":f.value.at(r==="min-width"?-1:0))}})}function iE(t){return JSON.parse(JSON.stringify(t))}function sE(t,e,n={}){const{window:o=Ps,...r}=n;let i;const s=GB(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},d=a.watch(a.computed(()=>{const u=a.toValue(t);return Array.isArray(u)?u.map(p=>Ht(p)):[Ht(u)]}),u=>{if(c(),s.value&&o){i=new ResizeObserver(e);for(const p of u)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),d()};return Vs(h),{isSupported:s,stop:h}}function Qt(t,e,n,o={}){var r,i;const{clone:s=!1,passive:c=!1,eventName:d,deep:h=!1,defaultValue:u,shouldEmit:p}=o,y=a.getCurrentInstance(),f=n||(y==null?void 0:y.emit)||(y==null||(r=y.$emit)===null||r===void 0?void 0:r.bind(y))||(y==null||(i=y.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(y==null?void 0:y.proxy));let m=d;e||(e="modelValue"),m=m||`update:${e.toString()}`;const k=w=>s?typeof s=="function"?s(w):iE(w):w,g=()=>Nz(t[e])?k(t[e]):u,b=w=>{p?p(w)&&f(m,w):f(m,w)};if(c){const w=a.ref(g());let S=!1;return a.watch(()=>t[e],C=>{S||(S=!0,w.value=k(C),a.nextTick(()=>S=!1))}),a.watch(w,C=>{!S&&(C!==t[e]||h)&&b(C)},{deep:h}),w}else return a.computed({get(){return g()},set(w){b(w)}})}function KB(t){return typeof t=="string"?`'${t}'`:new lE().serialize(t)}const lE=(function(){var e;class t{constructor(){Sz(this,e,new Map)}compare(o,r){const i=typeof o,s=typeof r;return i==="string"&&s==="string"?o.localeCompare(r):i==="number"&&s==="number"?o-r:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(r,!0))}serialize(o,r){if(o===null)return"null";switch(typeof o){case"string":return r?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const r=Object.prototype.toString.call(o);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),o);const i=o.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return s+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(s,Object.entries(o))}serializeBuiltInType(o,r){const i=this["$"+o];if(i)return i.call(this,r);if(typeof(r==null?void 0:r.entries)=="function")return this.serializeObjectEntries(o,r.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,r){const i=Array.from(r).sort((c,d)=>this.compare(c[0],d[0]));let s=`${o}{`;for(let c=0;c<i.length;c++){const[d,h]=i[c];s+=`${this.serialize(d,!0)}:${this.serialize(h)}`,c<i.length-1&&(s+=",")}return s+"}"}$object(o){let r=w1(this,e).get(o);return r===void 0&&(w1(this,e).set(o,`#${w1(this,e).size}`),r=this.serializeObject(o),w1(this,e).set(o,r)),r}$function(o){const r=Function.prototype.toString.call(o);return r.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(o){let r="[";for(let i=0;i<o.length;i++)r+=this.serialize(o[i]),i<o.length-1&&(r+=",");return r+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((r,i)=>this.compare(r,i)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}e=new WeakMap;for(const n of["Error","RegExp","URL"])t.prototype["$"+n]=function(o){return`${n}(${o})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+n]=function(o){return`${n}[${o.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])t.prototype["$"+n]=function(o){return`${n}[${o.join("n,")}${o.length>0?"n":""}]`};return t})();function cE(t,e){return t===e||KB(t)===KB(e)}function XB(t,e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(e,t))}function tt(t,e){const n=typeof t=="string"&&!e?`${t}Context`:e,o=Symbol(n);return[s=>{const c=a.inject(o,s);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},s=>(a.provide(o,s),s)]}function st(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function xI(t,e,n){const o=n.originalEvent.target,r=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),o.dispatchEvent(r)}function wI(t){return t==null}function vI(t){return t?t.flatMap(e=>e.type===a.Fragment?vI(e.children):[e]):[]}const[ql]=tt("ConfigProvider");function CI(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function LI(t,e,n=".",o){if(!CI(e))return LI(t,{},n,o);const r=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const s=t[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:CI(s)&&CI(r[i])?r[i]=LI(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function dE(t){return(...e)=>e.reduce((n,o)=>LI(n,o,"",t),{})}const hE=dE(),uE=Kz(()=>{const t=a.ref(new Map),e=a.ref(),n=a.computed(()=>{for(const s of t.value.values())if(s)return!0;return!1}),o=ql({scrollBody:a.ref(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=e.value??"",jB&&(r==null||r()),e.value=void 0};return a.watch(n,(s,c)=>{var p;if(!pt)return;if(!s){c&&i();return}e.value===void 0&&(e.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,h={padding:d,margin:0},u=(p=o.scrollBody)!=null&&p.value?typeof o.scrollBody.value=="object"?hE({padding:o.scrollBody.value.padding===!0?d:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?d:o.scrollBody.value.margin},h):h:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),jB&&(r=Pl(document,"touchmove",y=>pE(y),{passive:!1})),a.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function SI(t){const e=Math.random().toString(36).substring(2,7),n=uE();n.value.set(e,t??!1);const o=a.computed({get:()=>n.value.get(e)??!1,set:r=>n.value.set(e,r)});return Jz(()=>{n.value.delete(e)}),o}function ZB(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:ZB(n)}}function pE(t){const e=t||window.event,n=e.target;return n instanceof Element&&ZB(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.cancelable&&e.preventDefault(),!1)}function Ds(t,e){return t-e*Math.floor(t/e)}const JB=1721426;function ts(t,e,n,o){e=zl(t,e);let r=e-1,i=-2;return n<=2?i=0:Sa(e)&&(i=-1),JB-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*n-362)/12+i+o)}function Sa(t){return t%4===0&&(t%100!==0||t%400===0)}function zl(t,e){return t==="BC"?1-e:e}function FL(t){let e="AD";return t<=0&&(e="BC",t=1-t),[e,t]}const yE={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class xt{fromJulianDay(e){let n=e,o=n-JB,r=Math.floor(o/146097),i=Ds(o,146097),s=Math.floor(i/36524),c=Ds(i,36524),d=Math.floor(c/1461),h=Ds(c,1461),u=Math.floor(h/365),p=r*400+s*100+d*4+u+(s!==4&&u!==4?1:0),[y,f]=FL(p),m=n-ts(y,f,1,1),k=2;n<ts(y,f,3,1)?k=0:Sa(f)&&(k=1);let g=Math.floor(((m+k)*12+373)/367),b=n-ts(y,f,g,1)+1;return new Ee(y,f,g,b)}toJulianDay(e){return ts(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return yE[Sa(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Sa(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const fE={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Ia(t,e){return e=at(e,t.calendar),t.era===e.era&&t.year===e.year&&t.month===e.month&&t.day===e.day}function II(t,e){return e=at(e,t.calendar),t=PI(t),e=PI(e),t.era===e.era&&t.year===e.year&&t.month===e.month}function _I(t,e){return BI(t.calendar,e.calendar)&&Ia(t,e)}function QB(t,e){return BI(t.calendar,e.calendar)&&II(t,e)}function BI(t,e){var n,o,r,i;return(i=(r=(n=t.isEqual)===null||n===void 0?void 0:n.call(t,e))!==null&&r!==void 0?r:(o=e.isEqual)===null||o===void 0?void 0:o.call(e,t))!==null&&i!==void 0?i:t.identifier===e.identifier}function mE(t,e){return Ia(t,eA(e))}const kE={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function AI(t,e,n){let o=t.calendar.toJulianDay(t),r=n?kE[n]:xE(e),i=Math.ceil(o+1-r)%7;return i<0&&(i+=7),i}function gE(t){return aa(Date.now(),t)}function eA(t){return CE(gE(t))}function tA(t,e){return t.calendar.toJulianDay(t)-e.calendar.toJulianDay(e)}function bE(t,e){return aA(t)-aA(e)}function aA(t){return t.hour*36e5+t.minute*6e4+t.second*1e3+t.millisecond}let VI=null;function ea(){return VI==null&&(VI=new Intl.DateTimeFormat().resolvedOptions().timeZone),VI}function PI(t){return t.subtract({days:t.day-1})}function nA(t){return t.add({days:t.calendar.getDaysInMonth(t)-t.day})}const oA=new Map,DI=new Map;function ME(t){if(Intl.Locale){let n=oA.get(t);return n||(n=new Intl.Locale(t).maximize().region,n&&oA.set(t,n)),n}let e=t.split("-")[1];return e==="u"?void 0:e}function xE(t){let e=DI.get(t);if(!e){if(Intl.Locale){let o=new Intl.Locale(t);if("getWeekInfo"in o&&(e=o.getWeekInfo(),e))return DI.set(t,e),e.firstDay}let n=ME(t);if(t.includes("-fw-")){let o=t.split("-fw-")[1].split("-")[0];o==="mon"?e={firstDay:1}:o==="tue"?e={firstDay:2}:o==="wed"?e={firstDay:3}:o==="thu"?e={firstDay:4}:o==="fri"?e={firstDay:5}:o==="sat"?e={firstDay:6}:e={firstDay:0}}else t.includes("-ca-iso8601")?e={firstDay:1}:e={firstDay:n&&fE[n]||0};DI.set(t,e)}return e.firstDay}function qs(t){t=at(t,new xt);let e=zl(t.era,t.year);return rA(e,t.month,t.day,t.hour,t.minute,t.second,t.millisecond)}function rA(t,e,n,o,r,i,s){let c=new Date;return c.setUTCHours(o,r,i,s),c.setUTCFullYear(t,e-1,n),c.getTime()}function qI(t,e){if(e==="UTC")return 0;if(t>0&&e===ea())return new Date(t).getTimezoneOffset()*-6e4;let{year:n,month:o,day:r,hour:i,minute:s,second:c}=sA(t,e);return rA(n,o,r,i,s,c,0)-Math.floor(t/1e3)*1e3}const iA=new Map;function sA(t,e){let n=iA.get(e);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),iA.set(e,n));let o=n.formatToParts(new Date(t)),r={};for(let i of o)i.type!=="literal"&&(r[i.type]=i.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const lA=864e5;function wE(t,e,n,o){return(n===o?[n]:[n,o]).filter(i=>vE(t,e,i))}function vE(t,e,n){let o=sA(n,e);return t.year===o.year&&t.month===o.month&&t.day===o.day&&t.hour===o.hour&&t.minute===o.minute&&t.second===o.second}function ta(t,e,n="compatible"){let o=zs(t);if(e==="UTC")return qs(o);if(e===ea()&&n==="compatible"){o=at(o,new xt);let d=new Date,h=zl(o.era,o.year);return d.setFullYear(h,o.month-1,o.day),d.setHours(o.hour,o.minute,o.second,o.millisecond),d.getTime()}let r=qs(o),i=qI(r-lA,e),s=qI(r+lA,e),c=wE(o,e,r-i,r-s);if(c.length===1)return c[0];if(c.length>1)switch(n){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(r-i,r-s);case"compatible":case"later":return Math.max(r-i,r-s);case"reject":throw new RangeError("No such absolute time found")}}function cA(t,e,n="compatible"){return new Date(ta(t,e,n))}function aa(t,e){let n=qI(t,e),o=new Date(t+n),r=o.getUTCFullYear(),i=o.getUTCMonth()+1,s=o.getUTCDate(),c=o.getUTCHours(),d=o.getUTCMinutes(),h=o.getUTCSeconds(),u=o.getUTCMilliseconds();return new Ts(r<1?"BC":"AD",r<1?-r+1:r,i,s,e,n,c,d,h,u)}function CE(t){return new Ee(t.calendar,t.era,t.year,t.month,t.day)}function zs(t,e){let n=0,o=0,r=0,i=0;if("timeZone"in t)({hour:n,minute:o,second:r,millisecond:i}=t);else if("hour"in t&&!e)return t;return e&&({hour:n,minute:o,second:r,millisecond:i}=e),new Es(t.calendar,t.era,t.year,t.month,t.day,n,o,r,i)}function at(t,e){if(BI(t.calendar,e))return t;let n=e.fromJulianDay(t.calendar.toJulianDay(t)),o=t.copy();return o.calendar=e,o.era=n.era,o.year=n.year,o.month=n.month,o.day=n.day,as(o),o}function LE(t,e,n){if(t instanceof Ts)return t.timeZone===e?t:IE(t,e);let o=ta(t,e,n);return aa(o,e)}function SE(t){let e=qs(t)-t.offset;return new Date(e)}function IE(t,e){let n=qs(t)-t.offset;return at(aa(n,e),t.calendar)}const El=36e5;function $L(t,e){let n=t.copy(),o="hour"in n?VE(n,e):0;zI(n,e.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,t),n.month+=e.months||0,EI(n),dA(n),n.day+=(e.weeks||0)*7,n.day+=e.days||0,n.day+=o,_E(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let r=n.calendar.getYearsInEra(n);if(n.year>r){var i,s;let d=(i=(s=n.calendar).isInverseEra)===null||i===void 0?void 0:i.call(s,n);n.year=r,n.month=d?1:n.calendar.getMonthsInYear(n),n.day=d?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let c=n.calendar.getMonthsInYear(n);return n.month>c&&(n.month=c,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function zI(t,e){var n,o;!((n=(o=t.calendar).isInverseEra)===null||n===void 0)&&n.call(o,t)&&(e=-e),t.year+=e}function EI(t){for(;t.month<1;)zI(t,-1),t.month+=t.calendar.getMonthsInYear(t);let e=0;for(;t.month>(e=t.calendar.getMonthsInYear(t));)t.month-=e,zI(t,1)}function _E(t){for(;t.day<1;)t.month--,EI(t),t.day+=t.calendar.getDaysInMonth(t);for(;t.day>t.calendar.getDaysInMonth(t);)t.day-=t.calendar.getDaysInMonth(t),t.month++,EI(t)}function dA(t){t.month=Math.max(1,Math.min(t.calendar.getMonthsInYear(t),t.month)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day))}function as(t){t.calendar.constrainDate&&t.calendar.constrainDate(t),t.year=Math.max(1,Math.min(t.calendar.getYearsInEra(t),t.year)),dA(t)}function hA(t){let e={};for(let n in t)typeof t[n]=="number"&&(e[n]=-t[n]);return e}function uA(t,e){return $L(t,hA(e))}function TI(t,e){let n=t.copy();return e.era!=null&&(n.era=e.era),e.year!=null&&(n.year=e.year),e.month!=null&&(n.month=e.month),e.day!=null&&(n.day=e.day),as(n),n}function jL(t,e){let n=t.copy();return e.hour!=null&&(n.hour=e.hour),e.minute!=null&&(n.minute=e.minute),e.second!=null&&(n.second=e.second),e.millisecond!=null&&(n.millisecond=e.millisecond),AE(n),n}function BE(t){t.second+=Math.floor(t.millisecond/1e3),t.millisecond=RL(t.millisecond,1e3),t.minute+=Math.floor(t.second/60),t.second=RL(t.second,60),t.hour+=Math.floor(t.minute/60),t.minute=RL(t.minute,60);let e=Math.floor(t.hour/24);return t.hour=RL(t.hour,24),e}function AE(t){t.millisecond=Math.max(0,Math.min(t.millisecond,1e3)),t.second=Math.max(0,Math.min(t.second,59)),t.minute=Math.max(0,Math.min(t.minute,59)),t.hour=Math.max(0,Math.min(t.hour,23))}function RL(t,e){let n=t%e;return n<0&&(n+=e),n}function VE(t,e){return t.hour+=e.hours||0,t.minute+=e.minutes||0,t.second+=e.seconds||0,t.millisecond+=e.milliseconds||0,BE(t)}function OI(t,e,n,o){let r=t.copy();switch(e){case"era":{let c=t.calendar.getEras(),d=c.indexOf(t.era);if(d<0)throw new Error("Invalid era: "+t.era);d=na(d,n,0,c.length-1,o==null?void 0:o.round),r.era=c[d],as(r);break}case"year":var i,s;!((i=(s=r.calendar).isInverseEra)===null||i===void 0)&&i.call(s,r)&&(n=-n),r.year=na(t.year,n,-1/0,9999,o==null?void 0:o.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,t);break;case"month":r.month=na(t.month,n,1,t.calendar.getMonthsInYear(t),o==null?void 0:o.round);break;case"day":r.day=na(t.day,n,1,t.calendar.getDaysInMonth(t),o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+e)}return t.calendar.balanceDate&&t.calendar.balanceDate(r),as(r),r}function pA(t,e,n,o){let r=t.copy();switch(e){case"hour":{let i=t.hour,s=0,c=23;if((o==null?void 0:o.hourCycle)===12){let d=i>=12;s=d?12:0,c=d?23:11}r.hour=na(i,n,s,c,o==null?void 0:o.round);break}case"minute":r.minute=na(t.minute,n,0,59,o==null?void 0:o.round);break;case"second":r.second=na(t.second,n,0,59,o==null?void 0:o.round);break;case"millisecond":r.millisecond=na(t.millisecond,n,0,999,o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+e)}return r}function na(t,e,n,o,r=!1){if(r){t+=Math.sign(e),t<n&&(t=o);let i=Math.abs(e);e>0?t=Math.ceil(t/i)*i:t=Math.floor(t/i)*i,t>o&&(t=n)}else t+=e,t<n?t=o-(n-t-1):t>o&&(t=n+(t-o-1));return t}function yA(t,e){let n;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let r=$L(zs(t),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});n=ta(r,t.timeZone)}else n=qs(t)-t.offset;n+=e.milliseconds||0,n+=(e.seconds||0)*1e3,n+=(e.minutes||0)*6e4,n+=(e.hours||0)*36e5;let o=aa(n,t.timeZone);return at(o,t.calendar)}function PE(t,e){return yA(t,hA(e))}function DE(t,e,n,o){switch(e){case"hour":{let r=0,i=23;if((o==null?void 0:o.hourCycle)===12){let m=t.hour>=12;r=m?12:0,i=m?23:11}let s=zs(t),c=at(jL(s,{hour:r}),new xt),d=[ta(c,t.timeZone,"earlier"),ta(c,t.timeZone,"later")].filter(m=>aa(m,t.timeZone).day===c.day)[0],h=at(jL(s,{hour:i}),new xt),u=[ta(h,t.timeZone,"earlier"),ta(h,t.timeZone,"later")].filter(m=>aa(m,t.timeZone).day===h.day).pop(),p=qs(t)-t.offset,y=Math.floor(p/El),f=p%El;return p=na(y,n,Math.floor(d/El),Math.floor(u/El),o==null?void 0:o.round)*El+f,at(aa(p,t.timeZone),t.calendar)}case"minute":case"second":case"millisecond":return pA(t,e,n,o);case"era":case"year":case"month":case"day":{let r=OI(zs(t),e,n,o),i=ta(r,t.timeZone);return at(aa(i,t.timeZone),t.calendar)}default:throw new Error("Unsupported field "+e)}}function qE(t,e,n){let o=zs(t),r=jL(TI(o,e),e);if(r.compare(o)===0)return t;let i=ta(r,t.timeZone,n);return at(aa(i,t.timeZone),t.calendar)}function zE(t){return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}:${String(t.second).padStart(2,"0")}${t.millisecond?String(t.millisecond/1e3).slice(1):""}`}function fA(t){let e=at(t,new xt),n;return e.era==="BC"?n=e.year===1?"0000":"-"+String(Math.abs(1-e.year)).padStart(6,"00"):n=String(e.year).padStart(4,"0"),`${n}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function mA(t){return`${fA(t)}T${zE(t)}`}function EE(t){let e=Math.sign(t)<0?"-":"+";t=Math.abs(t);let n=Math.floor(t/36e5),o=Math.floor(t%36e5/6e4),r=Math.floor(t%36e5%6e4/1e3),i=`${e}${String(n).padStart(2,"0")}:${String(o).padStart(2,"0")}`;return r!==0&&(i+=`:${String(r).padStart(2,"0")}`),i}function TE(t){return`${mA(t)}${EE(t.offset)}[${t.timeZone}]`}function OE(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function HI(t,e,n){OE(t,e),e.set(t,n)}function FI(t){let e=typeof t[0]=="object"?t.shift():new xt,n;if(typeof t[0]=="string")n=t.shift();else{let s=e.getEras();n=s[s.length-1]}let o=t.shift(),r=t.shift(),i=t.shift();return[e,n,o,r,i]}var HE=new WeakMap;class Ee{copy(){return this.era?new Ee(this.calendar,this.era,this.year,this.month,this.day):new Ee(this.calendar,this.year,this.month,this.day)}add(e){return $L(this,e)}subtract(e){return uA(this,e)}set(e){return TI(this,e)}cycle(e,n,o){return OI(this,e,n,o)}toDate(e){return cA(this,e)}toString(){return fA(this)}compare(e){return tA(this,e)}constructor(...e){HI(this,HE,{writable:!0,value:void 0});let[n,o,r,i,s]=FI(e);this.calendar=n,this.era=o,this.year=r,this.month=i,this.day=s,as(this)}}var FE=new WeakMap;class Es{copy(){return this.era?new Es(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Es(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return $L(this,e)}subtract(e){return uA(this,e)}set(e){return TI(jL(this,e),e)}cycle(e,n,o){switch(e){case"era":case"year":case"month":case"day":return OI(this,e,n,o);default:return pA(this,e,n,o)}}toDate(e,n){return cA(this,e,n)}toString(){return mA(this)}compare(e){let n=tA(this,e);return n===0?bE(this,zs(e)):n}constructor(...e){HI(this,FE,{writable:!0,value:void 0});let[n,o,r,i,s]=FI(e);this.calendar=n,this.era=o,this.year=r,this.month=i,this.day=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,as(this)}}var $E=new WeakMap;class Ts{copy(){return this.era?new Ts(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Ts(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return yA(this,e)}subtract(e){return PE(this,e)}set(e,n){return qE(this,e,n)}cycle(e,n,o){return DE(this,e,n,o)}toDate(){return SE(this)}toString(){return TE(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-LE(e,this.timeZone).toDate().getTime()}constructor(...e){HI(this,$E,{writable:!0,value:void 0});let[n,o,r,i,s]=FI(e),c=e.shift(),d=e.shift();this.calendar=n,this.era=o,this.year=r,this.month=i,this.day=s,this.timeZone=c,this.offset=d,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,as(this)}}const Os=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],jE=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],NL=[1867,1911,1925,1988,2018],_a=["meiji","taisho","showa","heisei","reiwa"];function kA(t){const e=Os.findIndex(([n,o,r])=>t.year<n||t.year===n&&t.month<o||t.year===n&&t.month===o&&t.day<r);return e===-1?Os.length-1:e===0?0:e-1}function $I(t){let e=NL[_a.indexOf(t.era)];if(!e)throw new Error("Unknown era: "+t.era);return new Ee(t.year+e,t.month,t.day)}class RE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=kA(n);return new Ee(this,_a[o],n.year-NL[o],n.month,n.day)}toJulianDay(e){return super.toJulianDay($I(e))}balanceDate(e){let n=$I(e),o=kA(n);_a[o]!==e.era&&(e.era=_a[o],e.year=n.year-NL[o]),this.constrainDate(e)}constrainDate(e){let n=_a.indexOf(e.era),o=jE[n];if(o!=null){let[r,i,s]=o,c=r-NL[n];e.year=Math.max(1,Math.min(c,e.year)),e.year===c&&(e.month=Math.min(i,e.month),e.month===i&&(e.day=Math.min(s,e.day)))}if(e.year===1&&n>=0){let[,r,i]=Os[n];e.month=Math.max(r,e.month),e.month===r&&(e.day=Math.max(i,e.day))}}getEras(){return _a}getYearsInEra(e){let n=_a.indexOf(e.era),o=Os[n],r=Os[n+1];if(r==null)return 9999-o[0]+1;let i=r[0]-o[0];return(e.month<r[1]||e.month===r[1]&&e.day<r[2])&&i++,i}getDaysInMonth(e){return super.getDaysInMonth($I(e))}getMinimumMonthInYear(e){let n=gA(e);return n?n[1]:1}getMinimumDayInMonth(e){let n=gA(e);return n&&e.month===n[1]?n[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function gA(t){if(t.year===1){let e=_a.indexOf(t.era);return Os[e]}}const bA=-543;class NE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=zl(n.era,n.year);return new Ee(this,o-bA,n.month,n.day)}toJulianDay(e){return super.toJulianDay(MA(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(MA(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function MA(t){let[e,n]=FL(t.year+bA);return new Ee(e,n,t.month,t.day)}const UL=1911;function xA(t){return t.era==="minguo"?t.year+UL:1-t.year+UL}function wA(t){let e=t-UL;return e>0?["minguo",e]:["before_minguo",1-e]}class UE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=zl(n.era,n.year),[r,i]=wA(o);return new Ee(this,r,i,n.month,n.day)}toJulianDay(e){return super.toJulianDay(vA(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[n,o]=wA(xA(e));e.era=n,e.year=o}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(vA(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-UL}constructor(...e){super(...e),this.identifier="roc"}}function vA(t){let[e,n]=FL(xA(t));return new Ee(e,n,t.month,t.day)}const CA=1948320,LA=[0,31,62,93,124,155,186,216,246,276,306,336];class WE{fromJulianDay(e){let n=e-CA,o=1+Math.floor((33*n+3)/12053),r=365*(o-1)+Math.floor((8*o+21)/33),i=n-r,s=i<216?Math.floor(i/31):Math.floor((i-6)/30),c=i-LA[s]+1;return new Ee(this,o,s+1,c)}toJulianDay(e){let n=CA-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return n+=LA[e.month-1],n+=e.day,n}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||Ds(25*e.year+11,33)<8?30:29}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const jI=78,SA=80;class GE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=n.year-jI,r=e-ts(n.era,n.year,1,1),i;r<SA?(o--,i=Sa(n.year-1)?31:30,r+=i+155+90+10):(i=Sa(n.year)?31:30,r-=SA);let s,c;if(r<i)s=1,c=r+1;else{let d=r-i;d<155?(s=Math.floor(d/31)+2,c=d%31+1):(d-=155,s=Math.floor(d/30)+7,c=d%30+1)}return new Ee(this,o,s,c)}toJulianDay(e){let n=e.year+jI,[o,r]=FL(n),i,s;return Sa(r)?(i=31,s=ts(o,r,3,21)):(i=30,s=ts(o,r,3,22)),e.month===1?s+e.day-1:(s+=i+Math.min(e.month-2,5)*31,e.month>=8&&(s+=(e.month-7)*30),s+=e.day-1,s)}getDaysInMonth(e){return e.month===1&&Sa(e.year+jI)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}const WL=1948440,IA=1948439,yt=1300,Hs=1600,YE=460322;function GL(t,e,n,o){return o+Math.ceil(29.5*(n-1))+(e-1)*354+Math.floor((3+11*e)/30)+t-1}function _A(t,e,n){let o=Math.floor((30*(n-e)+10646)/10631),r=Math.min(12,Math.ceil((n-(29+GL(e,o,1,1)))/29.5)+1),i=n-GL(e,o,r,1)+1;return new Ee(t,o,r,i)}function BA(t){return(14+11*t)%30<11}class RI{fromJulianDay(e){return _A(this,WL,e)}toJulianDay(e){return GL(WL,e.year,e.month,e.day)}getDaysInMonth(e){let n=29+e.month%2;return e.month===12&&BA(e.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(e){return BA(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class KE extends RI{fromJulianDay(e){return _A(this,IA,e)}toJulianDay(e){return GL(IA,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const XE="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let NI,Fs;function YL(t){return YE+Fs[t-yt]}function Tl(t,e){let n=t-yt,o=1<<11-(e-1);return(NI[n]&o)===0?29:30}function AA(t,e){let n=YL(t);for(let o=1;o<e;o++)n+=Tl(t,o);return n}function VA(t){return Fs[t+1-yt]-Fs[t-yt]}class ZE extends RI{fromJulianDay(e){let n=e-WL,o=YL(yt),r=YL(Hs);if(n<o||n>r)return super.fromJulianDay(e);{let i=yt-1,s=1,c=1;for(;c>0;){i++,c=n-YL(i)+1;let d=VA(i);if(c===d){s=12;break}else if(c<d){let h=Tl(i,s);for(s=1;c>h;)c-=h,s++,h=Tl(i,s);break}}return new Ee(this,i,s,n-AA(i,s)+1)}}toJulianDay(e){return e.year<yt||e.year>Hs?super.toJulianDay(e):WL+AA(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<yt||e.year>Hs?super.getDaysInMonth(e):Tl(e.year,e.month)}getDaysInYear(e){return e.year<yt||e.year>Hs?super.getDaysInYear(e):VA(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",NI||(NI=new Uint16Array(Uint8Array.from(atob(XE),e=>e.charCodeAt(0)).buffer)),!Fs){Fs=new Uint32Array(Hs-yt+1);let e=0;for(let n=yt;n<=Hs;n++){Fs[n-yt]=e;for(let o=1;o<=12;o++)e+=Tl(n,o)}}}}const PA=347997,DA=1080,qA=24*DA,JE=29,QE=12*DA+793,eT=JE*qA+QE;function ns(t){return Ds(t*7+1,19)<7}function KL(t){let e=Math.floor((235*t-234)/19),n=12084+13753*e,o=e*29+Math.floor(n/25920);return Ds(3*(o+1),7)<3&&(o+=1),o}function tT(t){let e=KL(t-1),n=KL(t);return KL(t+1)-n===356?2:n-e===382?1:0}function Ol(t){return KL(t)+tT(t)}function zA(t){return Ol(t+1)-Ol(t)}function aT(t){let e=zA(t);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}function XL(t,e){if(e>=6&&!ns(t)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let n=aT(t);return e===2?n===2?30:29:e===3?n===0?29:30:e===6?ns(t)?30:0:30}class nT{fromJulianDay(e){let n=e-PA,o=n*qA/eT,r=Math.floor((19*o+234)/235)+1,i=Ol(r),s=Math.floor(n-i);for(;s<1;)r--,i=Ol(r),s=Math.floor(n-i);let c=1,d=0;for(;d<s;)d+=XL(r,c),c++;c--,d-=XL(r,c);let h=s-d;return new Ee(this,r,c,h)}toJulianDay(e){let n=Ol(e.year);for(let o=1;o<e.month;o++)n+=XL(e.year,o);return n+e.day+PA}getDaysInMonth(e){return XL(e.year,e.month)}getMonthsInYear(e){return ns(e.year)?13:12}getDaysInYear(e){return zA(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,n){n.year!==e.year&&(ns(n.year)&&!ns(e.year)&&n.month>6?e.month--:!ns(n.year)&&ns(e.year)&&n.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}const UI=1723856,EA=1824665,WI=5500;function ZL(t,e,n,o){return t+365*e+Math.floor(e/4)+30*(n-1)+o-1}function GI(t,e){let n=Math.floor(4*(e-t)/1461),o=1+Math.floor((e-ZL(t,n,1,1))/30),r=e+1-ZL(t,n,o,1);return[n,o,r]}function TA(t){return Math.floor(t%4/3)}function OA(t,e){return e%13!==0?30:TA(t)+5}class YI{fromJulianDay(e){let[n,o,r]=GI(UI,e),i="AM";return n<=0&&(i="AA",n+=WI),new Ee(this,i,n,o,r)}toJulianDay(e){let n=e.year;return e.era==="AA"&&(n-=WI),ZL(UI,n,e.month,e.day)}getDaysInMonth(e){return OA(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+TA(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class oT extends YI{fromJulianDay(e){let[n,o,r]=GI(UI,e);return n+=WI,new Ee(this,"AA",n,o,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class rT extends YI{fromJulianDay(e){let[n,o,r]=GI(EA,e),i="CE";return n<=0&&(i="BCE",n=1-n),new Ee(this,i,n,o,r)}toJulianDay(e){let n=e.year;return e.era==="BCE"&&(n=1-n),ZL(EA,n,e.month,e.day)}getDaysInMonth(e){let n=e.year;return e.era==="BCE"&&(n=1-n),OA(n,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}function iT(t){switch(t){case"buddhist":return new NE;case"ethiopic":return new YI;case"ethioaa":return new oT;case"coptic":return new rT;case"hebrew":return new nT;case"indian":return new GE;case"islamic-civil":return new RI;case"islamic-tbla":return new KE;case"islamic-umalqura":return new ZE;case"japanese":return new RE;case"persian":return new WE;case"roc":return new UE;case"gregory":default:return new xt}}let KI=new Map;class oa{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,n);if(n<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(n)}`}formatRangeToParts(e,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,n);if(n<e)throw new RangeError("End date must be >= start date");let o=this.formatter.formatToParts(e),r=this.formatter.formatToParts(n);return[...o.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return cT()&&(this.resolvedHourCycle||(this.resolvedHourCycle=dT(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,n={}){this.formatter=HA(e,n),this.options=n}}const sT={true:{ja:"h11"},false:{}};function HA(t,e={}){if(typeof e.hour12=="boolean"&&lT()){e={...e};let r=sT[String(e.hour12)][t.split("-")[0]],i=e.hour12?"h12":"h23";e.hourCycle=r??i,delete e.hour12}let n=t+(e?Object.entries(e).sort((r,i)=>r[0]<i[0]?-1:1).join():"");if(KI.has(n))return KI.get(n);let o=new Intl.DateTimeFormat(t,e);return KI.set(n,o),o}let XI=null;function lT(){return XI==null&&(XI=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),XI}let ZI=null;function cT(){return ZI==null&&(ZI=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),ZI}function dT(t,e){if(!e.timeStyle&&!e.hour)return;t=t.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),t+=(t.includes("-u-")?"":"-u")+"-nu-latn";let n=HA(t,{...e,timeZone:void 0}),o=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(i=>i.type==="hour").value,10),r=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(i=>i.type==="hour").value,10);if(o===0&&r===23)return"h23";if(o===24&&r===23)return"h24";if(o===0&&r===11)return"h11";if(o===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function Ft(t,e=ea()){return JI(t)?t.toDate():t.toDate(e)}function hT(t){return t instanceof Es}function JI(t){return t instanceof Ts}function uT(t){return hT(t)||JI(t)}function $s(t){if(t instanceof Date){const e=t.getFullYear(),n=t.getMonth()+1;return new Date(e,n,0).getDate()}else return t.set({day:100}).day}function JL(t,e){return t.compare(e)<0}function QI(t,e){return t.compare(e)>0}function pT(t,e,n){const o=AI(t,n,"sun");return e>o?t.subtract({days:o+7-e}):e===o?t:t.subtract({days:o-e})}function yT(t,e,n){const o=AI(t,n,"sun"),r=e===0?6:e-1;return o===r?t:o>r?t.add({days:7-o+r}):t.add({days:r-o})}function fT(t){const{defaultValue:e,defaultPlaceholder:n,granularity:o="day",locale:r="en"}=t;if(Array.isArray(e)&&e.length)return e.at(-1).copy();if(e&&!Array.isArray(e))return e.copy();if(n)return n.copy();const i=new Date,s=i.getFullYear(),c=i.getMonth()+1,d=i.getDate(),h=["hour","minute","second"],u=new oa(r),p=iT(u.resolvedOptions().calendar);return h.includes(o??"day")?at(new Es(s,c,d,0,0,0),p):at(new Ee(s,c,d),p)}function mT(t,e){const n=[];for(let o=0;o<t.length;o+=e)n.push(t.slice(o,o+e));return n}function kT(t){const e=t.querySelector("[data-selected]");if(e)return e.focus();const n=t.querySelector("[data-today]");if(n)return n.focus();const o=t.querySelector("[data-reka-calendar-day]");if(o)return o.focus()}function FA(t,e){const n=[];let o=t.add({days:1});const r=e;for(;o.compare(r)<0;)n.push(o),o=o.add({days:1});return n}function e_(t){const{dateObj:e,weekStartsOn:n,fixedWeeks:o,locale:r}=t,i=$s(e),s=Array.from({length:i},(g,b)=>e.set({day:b+1})),c=PI(e),d=nA(e),h=pT(c,n,r),u=yT(d,n,r),p=FA(h.subtract({days:1}),c),y=FA(d,u.add({days:1})),f=p.length+s.length+y.length;if(o&&f<42){const g=42-f;let b=y[y.length-1];b||(b=nA(e));const w=Array.from({length:g},(S,C)=>{const x=C+1;return b.add({days:x})});y.push(...w)}const m=p.concat(s,y),k=mT(m,7);return{value:e,cells:m,rows:k}}function os(t){const{numberOfMonths:e,dateObj:n,...o}=t,r=[];if(!e||e===1)return r.push(e_({...o,dateObj:n})),r;r.push(e_({...o,dateObj:n}));for(let i=1;i<e;i++){const s=n.add({months:i});r.push(e_({...o,dateObj:s}))}return r}function gT(t){const e=new Ee(2025,1,6);return(1-AI(e,t)+7)%7}function bT(t,e={}){const n=a.ref(t);function o(){return n.value}function r(g){n.value=g}function i(g,b){return new oa(n.value,{...e,...b}).format(g)}function s(g,b=!0){return uT(g)&&b?i(Ft(g),{dateStyle:"long",timeStyle:"long"}):i(Ft(g),{dateStyle:"long"})}function c(g,b={}){return new oa(n.value,{...e,month:"long",year:"numeric",...b}).format(g)}function d(g,b={}){return new oa(n.value,{...e,month:"long",...b}).format(g)}function h(){const g=eA(ea());return[1,2,3,4,5,6,7,8,9,10,11,12].map(w=>({label:d(Ft(g.set({month:w}))),value:w}))}function u(g,b={}){return new oa(n.value,{...e,year:"numeric",...b}).format(g)}function p(g,b){return JI(g)?new oa(n.value,{...e,...b,timeZone:g.timeZone}).formatToParts(Ft(g)):new oa(n.value,{...e,...b}).formatToParts(Ft(g))}function y(g,b="narrow"){return new oa(n.value,{...e,weekday:b}).format(g)}function f(g){var S;const w=(S=new oa(n.value,{...e,hour:"numeric",minute:"numeric"}).formatToParts(g).find(C=>C.type==="dayPeriod"))==null?void 0:S.value;return w==="PM"||w==="pm"||w==="p.m."?"PM":"AM"}const m={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};function k(g,b,w={}){const S={...m,...w},x=p(g,S).find(M=>M.type===b);return x?x.value:""}return{setLocale:r,getLocale:o,fullMonth:d,fullYear:u,fullMonthAndYear:c,toParts:p,custom:i,part:k,dayPeriod:f,selectedDate:s,dayOfWeek:y,getMonths:h}}function $A(t){const e=ql({dir:a.ref("ltr")});return a.computed(()=>{var n;return(t==null?void 0:t.value)||((n=e.dir)==null?void 0:n.value)||"ltr"})}function QL(t){const e=a.getCurrentInstance(),n=e==null?void 0:e.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),n==null||n.forEach(r=>{o[a.toHandlerKey(a.camelize(r))]=(...i)=>t(r,...i)}),o}let t_=0;function jA(){a.watchEffect(t=>{if(!pt)return;const e=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",e[0]??RA()),document.body.insertAdjacentElement("beforeend",e[1]??RA()),t_++,t(()=>{t_===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),t_--})})}function RA(){const t=document.createElement("span");return t.setAttribute("data-reka-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}function MT(t){return a.computed(()=>{var e;return a.toValue(t)?!!((e=Ht(t))!=null&&e.closest("form")):!0})}function ke(){const t=a.getCurrentInstance(),e=a.ref(),n=a.computed(()=>{var s,c;return["#text","#comment"].includes((s=e.value)==null?void 0:s.$el.nodeName)?(c=e.value)==null?void 0:c.$el.nextElementSibling:Ht(e)}),o=Object.assign({},t.exposed),r={};for(const s in t.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=r;function i(s){if(e.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.prototype.hasOwnProperty.call(s,"$el"))){const c=s.$.exposed,d=Object.assign({},r);for(const h in c)Object.defineProperty(d,h,{enumerable:!0,configurable:!0,get:()=>c[h]});t.exposed=d}}return{forwardRef:i,currentRef:e,currentElement:n}}function qe(t){const e=a.getCurrentInstance(),n=Object.keys((e==null?void 0:e.type.props)??{}).reduce((r,i)=>{const s=(e==null?void 0:e.type.props[i]).default;return s!==void 0&&(r[i]=s),r},{}),o=a.toRef(t);return a.computed(()=>{const r={},i=(e==null?void 0:e.vnode.props)??{};return Object.keys(i).forEach(s=>{r[a.camelize(s)]=i[s]}),Object.keys({...n,...r}).reduce((s,c)=>(o.value[c]!==void 0&&(s[c]=o.value[c]),s),{})})}function Ue(t,e){const n=qe(t),o=e?QL(e):{};return a.computed(()=>({...n.value,...o}))}function xT(t,e){const n=NB(!1,300);Vs(()=>{n.value=!1});const o=a.ref(null),r=$z();function i(){o.value=null,n.value=!1}function s(c,d){const h=c.currentTarget,u={x:c.clientX,y:c.clientY},p=wT(u,h.getBoundingClientRect()),y=vT(u,p,1),f=CT(d.getBoundingClientRect()),m=ST([...y,...f]);o.value=m,n.value=!0}return a.watchEffect(c=>{if(t.value&&e.value){const d=u=>s(u,e.value),h=u=>s(u,t.value);t.value.addEventListener("pointerleave",d),e.value.addEventListener("pointerleave",h),c(()=>{var u,p;(u=t.value)==null||u.removeEventListener("pointerleave",d),(p=e.value)==null||p.removeEventListener("pointerleave",h)})}}),a.watchEffect(c=>{var d;if(o.value){const h=u=>{var g,b;if(!o.value||!(u.target instanceof Element))return;const p=u.target,y={x:u.clientX,y:u.clientY},f=((g=t.value)==null?void 0:g.contains(p))||((b=e.value)==null?void 0:b.contains(p)),m=!LT(y,o.value),k=!!p.closest("[data-grace-area-trigger]");f?i():(m||k)&&(i(),r.trigger())};(d=t.value)==null||d.ownerDocument.addEventListener("pointermove",h),c(()=>{var u;return(u=t.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",h)})}}),{isPointerInTransit:n,onPointerExit:r.on}}function wT(t,e){const n=Math.abs(e.top-t.y),o=Math.abs(e.bottom-t.y),r=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function vT(t,e,n=5){const o=[];switch(e){case"top":o.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":o.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":o.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":o.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return o}function CT(t){const{top:e,right:n,bottom:o,left:r}=t;return[{x:r,y:e},{x:n,y:e},{x:n,y:o},{x:r,y:o}]}function LT(t,e){const{x:n,y:o}=t;let r=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const c=e[i].x,d=e[i].y,h=e[s].x,u=e[s].y;d>o!=u>o&&n<(h-c)*(o-d)/(u-d)+c&&(r=!r)}return r}function ST(t){const e=t.slice();return e.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),IT(e)}function IT(t){if(t.length<=1)return t.slice();const e=[];for(let o=0;o<t.length;o++){const r=t[o];for(;e.length>=2;){const i=e[e.length-1],s=e[e.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))e.pop();else break}e.push(r)}e.pop();const n=[];for(let o=t.length-1;o>=0;o--){const r=t[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var _T=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},js=new WeakMap,eS=new WeakMap,tS={},a_=0,NA=function(t){return t&&(t.host||NA(t.parentNode))},BT=function(t,e){return e.map(function(n){if(t.contains(n))return n;var o=NA(n);return o&&t.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},AT=function(t,e,n,o){var r=BT(e,Array.isArray(t)?t:[t]);tS[n]||(tS[n]=new WeakMap);var i=tS[n],s=[],c=new Set,d=new Set(r),h=function(p){!p||c.has(p)||(c.add(p),h(p.parentNode))};r.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(c.has(y))u(y);else try{var f=y.getAttribute(o),m=f!==null&&f!=="false",k=(js.get(y)||0)+1,g=(i.get(y)||0)+1;js.set(y,k),i.set(y,g),s.push(y),k===1&&m&&eS.set(y,!0),g===1&&y.setAttribute(n,"true"),m||y.setAttribute(o,"true")}catch(b){console.error("aria-hidden: cannot operate on ",y,b)}})};return u(e),c.clear(),a_++,function(){s.forEach(function(p){var y=js.get(p)-1,f=i.get(p)-1;js.set(p,y),i.set(p,f),y||(eS.has(p)||p.removeAttribute(o),eS.delete(p)),f||p.removeAttribute(n)}),a_--,a_||(js=new WeakMap,js=new WeakMap,eS=new WeakMap,tS={})}},VT=function(t,e,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(t)?t:[t]),r=_T(t);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),AT(o,r,n,"aria-hidden")):function(){return null}};function n_(t){let e;a.watch(()=>Ht(t),n=>{n?e=VT(n):e&&e()}),a.onUnmounted(()=>{e&&e()})}let PT=0;function Ba(t,e="reka"){var o;if("useId"in v1)return`${e}-${(o=v1.useId)==null?void 0:o.call(v1)}`;const n=ql({useId:void 0});return n.useId?`${e}-${n.useId()}`:`${e}-${++PT}`}function DT(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}function qT(t){const e=ql({locale:a.ref("en")});return a.computed(()=>{var n;return(t==null?void 0:t.value)||((n=e.locale)==null?void 0:n.value)||"en"})}function zT(t){const e=a.ref(),n=a.computed(()=>{var r;return((r=e.value)==null?void 0:r.width)??0}),o=a.computed(()=>{var r;return((r=e.value)==null?void 0:r.height)??0});return a.onMounted(()=>{const r=Ht(t);if(r){e.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let d,h;if("borderBoxSize"in c){const u=c.borderBoxSize,p=Array.isArray(u)?u[0]:u;d=p.inlineSize,h=p.blockSize}else d=r.offsetWidth,h=r.offsetHeight;e.value={width:d,height:h}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else e.value=void 0}),{width:n,height:o}}function ET(t,e){const n=a.ref(t);function o(i){return e[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}function UA(t){const e=NB("",1e3);return{search:e,handleTypeaheadSearch:(r,i)=>{e.value=e.value+r;{const s=st(),c=i.map(y=>{var f,m;return{...y,textValue:((f=y.value)==null?void 0:f.textValue)??((m=y.ref.textContent)==null?void 0:m.trim())??""}}),d=c.find(y=>y.ref===s),h=c.map(y=>y.textValue),u=OT(h,e.value,d==null?void 0:d.textValue),p=c.find(y=>y.textValue===u);return p&&p.ref.focus(),p==null?void 0:p.ref}},resetTypeahead:()=>{e.value=""}}}function TT(t,e){return t.map((n,o)=>t[(e+o)%t.length])}function OT(t,e,n){const r=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=n?t.indexOf(n):-1;let s=TT(t,Math.max(i,0));r.length===1&&(s=s.filter(h=>h!==n));const d=s.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function HT(t,e){var g;const n=a.ref({}),o=a.ref("none"),r=a.ref(t),i=t.value?"mounted":"unmounted";let s;const c=((g=e.value)==null?void 0:g.ownerDocument.defaultView)??Ps,{state:d,dispatch:h}=ET(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=b=>{var w;if(pt){const S=new CustomEvent(b,{bubbles:!1,cancelable:!1});(w=e.value)==null||w.dispatchEvent(S)}};a.watch(t,async(b,w)=>{var C;const S=w!==b;if(await a.nextTick(),S){const x=o.value,M=aS(e.value);b?(h("MOUNT"),u("enter"),M==="none"&&u("after-enter")):M==="none"||M==="undefined"||((C=n.value)==null?void 0:C.display)==="none"?(h("UNMOUNT"),u("leave"),u("after-leave")):w&&x!==M?(h("ANIMATION_OUT"),u("leave")):(h("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=b=>{const w=aS(e.value),S=w.includes(CSS.escape(b.animationName)),C=d.value==="mounted"?"enter":"leave";if(b.target===e.value&&S&&(u(`after-${C}`),h("ANIMATION_END"),!r.value)){const x=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var M;((M=e.value)==null?void 0:M.style.animationFillMode)==="forwards"&&(e.value.style.animationFillMode=x)})}b.target===e.value&&w==="none"&&h("ANIMATION_END")},y=b=>{b.target===e.value&&(o.value=aS(e.value))},f=a.watch(e,(b,w)=>{b?(n.value=getComputedStyle(b),b.addEventListener("animationstart",y),b.addEventListener("animationcancel",p),b.addEventListener("animationend",p)):(h("ANIMATION_END"),s!==void 0&&(c==null||c.clearTimeout(s)),w==null||w.removeEventListener("animationstart",y),w==null||w.removeEventListener("animationcancel",p),w==null||w.removeEventListener("animationend",p))},{immediate:!0}),m=a.watch(d,()=>{const b=aS(e.value);o.value=d.value==="mounted"?b:"none"});return a.onUnmounted(()=>{f(),m()}),{isPresent:a.computed(()=>["mounted","unmountSuspended"].includes(d.value))}}function aS(t){return t&&getComputedStyle(t).animationName||"none"}var Hl=a.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:e,expose:n}){var h;const{present:o,forceMount:r}=a.toRefs(t),i=a.ref(),{isPresent:s}=HT(o,i);n({present:s});let c=e.default({present:s.value});c=vI(c||[]);const d=a.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const u=(h=d==null?void 0:d.parent)!=null&&h.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(p=>` - ${p}`).join(`
|
|
8496
|
+
*/const La=Object.freeze(Object.defineProperty({__proto__:null,AArrowDown:C1,AArrowDownIcon:C1,AArrowUp:L1,AArrowUpIcon:L1,ALargeSmall:S1,ALargeSmallIcon:S1,Accessibility:I1,AccessibilityIcon:I1,Activity:_1,ActivityIcon:_1,ActivitySquare:Pr,ActivitySquareIcon:Pr,AirVent:B1,AirVentIcon:B1,Airplay:A1,AirplayIcon:A1,AlarmCheck:Ya,AlarmCheckIcon:Ya,AlarmClock:P1,AlarmClockCheck:Ya,AlarmClockCheckIcon:Ya,AlarmClockIcon:P1,AlarmClockMinus:Ka,AlarmClockMinusIcon:Ka,AlarmClockOff:V1,AlarmClockOffIcon:V1,AlarmClockPlus:Xa,AlarmClockPlusIcon:Xa,AlarmMinus:Ka,AlarmMinusIcon:Ka,AlarmPlus:Xa,AlarmPlusIcon:Xa,AlarmSmoke:D1,AlarmSmokeIcon:D1,Album:z1,AlbumIcon:z1,AlertCircle:At,AlertCircleIcon:At,AlertOctagon:ir,AlertOctagonIcon:ir,AlertTriangle:$i,AlertTriangleIcon:$i,AlignCenter:zi,AlignCenterHorizontal:q1,AlignCenterHorizontalIcon:q1,AlignCenterIcon:zi,AlignCenterVertical:E1,AlignCenterVerticalIcon:E1,AlignEndHorizontal:T1,AlignEndHorizontalIcon:T1,AlignEndVertical:O1,AlignEndVerticalIcon:O1,AlignHorizontalDistributeCenter:H1,AlignHorizontalDistributeCenterIcon:H1,AlignHorizontalDistributeEnd:F1,AlignHorizontalDistributeEndIcon:F1,AlignHorizontalDistributeStart:$1,AlignHorizontalDistributeStartIcon:$1,AlignHorizontalJustifyCenter:j1,AlignHorizontalJustifyCenterIcon:j1,AlignHorizontalJustifyEnd:R1,AlignHorizontalJustifyEndIcon:R1,AlignHorizontalJustifyStart:N1,AlignHorizontalJustifyStartIcon:N1,AlignHorizontalSpaceAround:U1,AlignHorizontalSpaceAroundIcon:U1,AlignHorizontalSpaceBetween:W1,AlignHorizontalSpaceBetweenIcon:W1,AlignJustify:qi,AlignJustifyIcon:qi,AlignLeft:Ot,AlignLeftIcon:Ot,AlignRight:Di,AlignRightIcon:Di,AlignStartHorizontal:G1,AlignStartHorizontalIcon:G1,AlignStartVertical:Y1,AlignStartVerticalIcon:Y1,AlignVerticalDistributeCenter:K1,AlignVerticalDistributeCenterIcon:K1,AlignVerticalDistributeEnd:X1,AlignVerticalDistributeEndIcon:X1,AlignVerticalDistributeStart:Z1,AlignVerticalDistributeStartIcon:Z1,AlignVerticalJustifyCenter:J1,AlignVerticalJustifyCenterIcon:J1,AlignVerticalJustifyEnd:Q1,AlignVerticalJustifyEndIcon:Q1,AlignVerticalJustifyStart:ec,AlignVerticalJustifyStartIcon:ec,AlignVerticalSpaceAround:tc,AlignVerticalSpaceAroundIcon:tc,AlignVerticalSpaceBetween:ac,AlignVerticalSpaceBetweenIcon:ac,Ambulance:nc,AmbulanceIcon:nc,Ampersand:oc,AmpersandIcon:oc,Ampersands:rc,AmpersandsIcon:rc,Amphora:sc,AmphoraIcon:sc,Anchor:ic,AnchorIcon:ic,Angry:lc,AngryIcon:lc,Annoyed:cc,AnnoyedIcon:cc,Antenna:dc,AntennaIcon:dc,Anvil:hc,AnvilIcon:hc,Aperture:uc,ApertureIcon:uc,AppWindow:yc,AppWindowIcon:yc,AppWindowMac:pc,AppWindowMacIcon:pc,Apple:fc,AppleIcon:fc,Archive:gc,ArchiveIcon:gc,ArchiveRestore:mc,ArchiveRestoreIcon:mc,ArchiveX:kc,ArchiveXIcon:kc,AreaChart:un,AreaChartIcon:un,Armchair:bc,ArmchairIcon:bc,ArrowBigDown:xc,ArrowBigDownDash:Mc,ArrowBigDownDashIcon:Mc,ArrowBigDownIcon:xc,ArrowBigLeft:vc,ArrowBigLeftDash:wc,ArrowBigLeftDashIcon:wc,ArrowBigLeftIcon:vc,ArrowBigRight:Lc,ArrowBigRightDash:Cc,ArrowBigRightDashIcon:Cc,ArrowBigRightIcon:Lc,ArrowBigUp:Sc,ArrowBigUpDash:Ic,ArrowBigUpDashIcon:Ic,ArrowBigUpIcon:Sc,ArrowDown:Tc,ArrowDown01:Bc,ArrowDown01Icon:Bc,ArrowDown10:_c,ArrowDown10Icon:_c,ArrowDownAZ:Za,ArrowDownAZIcon:Za,ArrowDownAz:Za,ArrowDownAzIcon:Za,ArrowDownCircle:Sn,ArrowDownCircleIcon:Sn,ArrowDownFromLine:Ac,ArrowDownFromLineIcon:Ac,ArrowDownIcon:Tc,ArrowDownLeft:Vc,ArrowDownLeftFromCircle:_n,ArrowDownLeftFromCircleIcon:_n,ArrowDownLeftFromSquare:Tr,ArrowDownLeftFromSquareIcon:Tr,ArrowDownLeftIcon:Vc,ArrowDownLeftSquare:Dr,ArrowDownLeftSquareIcon:Dr,ArrowDownNarrowWide:Dc,ArrowDownNarrowWideIcon:Dc,ArrowDownRight:Pc,ArrowDownRightFromCircle:Bn,ArrowDownRightFromCircleIcon:Bn,ArrowDownRightFromSquare:Or,ArrowDownRightFromSquareIcon:Or,ArrowDownRightIcon:Pc,ArrowDownRightSquare:qr,ArrowDownRightSquareIcon:qr,ArrowDownSquare:zr,ArrowDownSquareIcon:zr,ArrowDownToDot:qc,ArrowDownToDotIcon:qc,ArrowDownToLine:zc,ArrowDownToLineIcon:zc,ArrowDownUp:Ec,ArrowDownUpIcon:Ec,ArrowDownWideNarrow:Ja,ArrowDownWideNarrowIcon:Ja,ArrowDownZA:Qa,ArrowDownZAIcon:Qa,ArrowDownZa:Qa,ArrowDownZaIcon:Qa,ArrowLeft:$c,ArrowLeftCircle:In,ArrowLeftCircleIcon:In,ArrowLeftFromLine:Oc,ArrowLeftFromLineIcon:Oc,ArrowLeftIcon:$c,ArrowLeftRight:Fc,ArrowLeftRightIcon:Fc,ArrowLeftSquare:Er,ArrowLeftSquareIcon:Er,ArrowLeftToLine:Hc,ArrowLeftToLineIcon:Hc,ArrowRight:hl,ArrowRightCircle:Pn,ArrowRightCircleIcon:Pn,ArrowRightFromLine:jc,ArrowRightFromLineIcon:jc,ArrowRightIcon:hl,ArrowRightLeft:Rc,ArrowRightLeftIcon:Rc,ArrowRightSquare:$r,ArrowRightSquareIcon:$r,ArrowRightToLine:Nc,ArrowRightToLineIcon:Nc,ArrowUp:td,ArrowUp01:Uc,ArrowUp01Icon:Uc,ArrowUp10:Wc,ArrowUp10Icon:Wc,ArrowUpAZ:en,ArrowUpAZIcon:en,ArrowUpAz:en,ArrowUpAzIcon:en,ArrowUpCircle:Dn,ArrowUpCircleIcon:Dn,ArrowUpDown:Gc,ArrowUpDownIcon:Gc,ArrowUpFromDot:Yc,ArrowUpFromDotIcon:Yc,ArrowUpFromLine:Kc,ArrowUpFromLineIcon:Kc,ArrowUpIcon:td,ArrowUpLeft:Xc,ArrowUpLeftFromCircle:An,ArrowUpLeftFromCircleIcon:An,ArrowUpLeftFromSquare:Hr,ArrowUpLeftFromSquareIcon:Hr,ArrowUpLeftIcon:Xc,ArrowUpLeftSquare:Rr,ArrowUpLeftSquareIcon:Rr,ArrowUpNarrowWide:tn,ArrowUpNarrowWideIcon:tn,ArrowUpRight:Zc,ArrowUpRightFromCircle:Vn,ArrowUpRightFromCircleIcon:Vn,ArrowUpRightFromSquare:Fr,ArrowUpRightFromSquareIcon:Fr,ArrowUpRightIcon:Zc,ArrowUpRightSquare:jr,ArrowUpRightSquareIcon:jr,ArrowUpSquare:Nr,ArrowUpSquareIcon:Nr,ArrowUpToLine:Jc,ArrowUpToLineIcon:Jc,ArrowUpWideNarrow:Qc,ArrowUpWideNarrowIcon:Qc,ArrowUpZA:an,ArrowUpZAIcon:an,ArrowUpZa:an,ArrowUpZaIcon:an,ArrowsUpFromLine:ed,ArrowsUpFromLineIcon:ed,Asterisk:ad,AsteriskIcon:ad,AsteriskSquare:Ur,AsteriskSquareIcon:Ur,AtSign:nd,AtSignIcon:nd,Atom:od,AtomIcon:od,AudioLines:rd,AudioLinesIcon:rd,AudioWaveform:id,AudioWaveformIcon:id,Award:sd,AwardIcon:sd,Axe:ld,AxeIcon:ld,Axis3D:nn,Axis3DIcon:nn,Axis3d:nn,Axis3dIcon:nn,Baby:dd,BabyIcon:dd,Backpack:cd,BackpackIcon:cd,Badge:Sd,BadgeAlert:hd,BadgeAlertIcon:hd,BadgeCent:ud,BadgeCentIcon:ud,BadgeCheck:on,BadgeCheckIcon:on,BadgeDollarSign:pd,BadgeDollarSignIcon:pd,BadgeEuro:yd,BadgeEuroIcon:yd,BadgeHelp:rn,BadgeHelpIcon:rn,BadgeIcon:Sd,BadgeIndianRupee:fd,BadgeIndianRupeeIcon:fd,BadgeInfo:md,BadgeInfoIcon:md,BadgeJapaneseYen:kd,BadgeJapaneseYenIcon:kd,BadgeMinus:gd,BadgeMinusIcon:gd,BadgePercent:bd,BadgePercentIcon:bd,BadgePlus:Md,BadgePlusIcon:Md,BadgePoundSterling:xd,BadgePoundSterlingIcon:xd,BadgeQuestionMark:rn,BadgeQuestionMarkIcon:rn,BadgeRussianRuble:wd,BadgeRussianRubleIcon:wd,BadgeSwissFranc:vd,BadgeSwissFrancIcon:vd,BadgeTurkishLira:Cd,BadgeTurkishLiraIcon:Cd,BadgeX:Ld,BadgeXIcon:Ld,BaggageClaim:Id,BaggageClaimIcon:Id,Balloon:_d,BalloonIcon:_d,Ban:Ad,BanIcon:Ad,Banana:Bd,BananaIcon:Bd,Bandage:Vd,BandageIcon:Vd,Banknote:Td,BanknoteArrowDown:Pd,BanknoteArrowDownIcon:Pd,BanknoteArrowUp:Dd,BanknoteArrowUpIcon:Dd,BanknoteIcon:Td,BanknoteX:qd,BanknoteXIcon:qd,BarChart:Mn,BarChart2:xn,BarChart2Icon:xn,BarChart3:gn,BarChart3Icon:gn,BarChart4:kn,BarChart4Icon:kn,BarChartBig:mn,BarChartBigIcon:mn,BarChartHorizontal:fn,BarChartHorizontalBig:pn,BarChartHorizontalBigIcon:pn,BarChartHorizontalIcon:fn,BarChartIcon:Mn,Barcode:zd,BarcodeIcon:zd,Barrel:Ed,BarrelIcon:Ed,Baseline:Od,BaselineIcon:Od,Bath:Hd,BathIcon:Hd,Battery:Wd,BatteryCharging:Fd,BatteryChargingIcon:Fd,BatteryFull:$d,BatteryFullIcon:$d,BatteryIcon:Wd,BatteryLow:jd,BatteryLowIcon:jd,BatteryMedium:Nd,BatteryMediumIcon:Nd,BatteryPlus:Rd,BatteryPlusIcon:Rd,BatteryWarning:Ud,BatteryWarningIcon:Ud,Beaker:Gd,BeakerIcon:Gd,Bean:Kd,BeanIcon:Kd,BeanOff:Yd,BeanOffIcon:Yd,Bed:Jd,BedDouble:Xd,BedDoubleIcon:Xd,BedIcon:Jd,BedSingle:Zd,BedSingleIcon:Zd,Beef:Qd,BeefIcon:Qd,Beer:t0,BeerIcon:t0,BeerOff:e0,BeerOffIcon:e0,Bell:s0,BellDot:a0,BellDotIcon:a0,BellElectric:n0,BellElectricIcon:n0,BellIcon:s0,BellMinus:o0,BellMinusIcon:o0,BellOff:r0,BellOffIcon:r0,BellPlus:i0,BellPlusIcon:i0,BellRing:l0,BellRingIcon:l0,BetweenHorizonalEnd:sn,BetweenHorizonalEndIcon:sn,BetweenHorizonalStart:ln,BetweenHorizonalStartIcon:ln,BetweenHorizontalEnd:sn,BetweenHorizontalEndIcon:sn,BetweenHorizontalStart:ln,BetweenHorizontalStartIcon:ln,BetweenVerticalEnd:c0,BetweenVerticalEndIcon:c0,BetweenVerticalStart:d0,BetweenVerticalStartIcon:d0,BicepsFlexed:h0,BicepsFlexedIcon:h0,Bike:u0,BikeIcon:u0,Binary:p0,BinaryIcon:p0,Binoculars:f0,BinocularsIcon:f0,Biohazard:y0,BiohazardIcon:y0,Bird:m0,BirdIcon:m0,Birdhouse:k0,BirdhouseIcon:k0,Bitcoin:g0,BitcoinIcon:g0,Blend:b0,BlendIcon:b0,Blinds:M0,BlindsIcon:M0,Blocks:w0,BlocksIcon:w0,Bluetooth:L0,BluetoothConnected:x0,BluetoothConnectedIcon:x0,BluetoothIcon:L0,BluetoothOff:v0,BluetoothOffIcon:v0,BluetoothSearching:C0,BluetoothSearchingIcon:C0,Bold:S0,BoldIcon:S0,Bolt:I0,BoltIcon:I0,Bomb:_0,BombIcon:_0,Bone:B0,BoneIcon:B0,Book:e2,BookA:A0,BookAIcon:A0,BookAlert:V0,BookAlertIcon:V0,BookAudio:P0,BookAudioIcon:P0,BookCheck:q0,BookCheckIcon:q0,BookCopy:D0,BookCopyIcon:D0,BookDashed:cn,BookDashedIcon:cn,BookDown:z0,BookDownIcon:z0,BookHeadphones:E0,BookHeadphonesIcon:E0,BookHeart:T0,BookHeartIcon:T0,BookIcon:e2,BookImage:O0,BookImageIcon:O0,BookKey:H0,BookKeyIcon:H0,BookLock:F0,BookLockIcon:F0,BookMarked:$0,BookMarkedIcon:$0,BookMinus:j0,BookMinusIcon:j0,BookOpen:U0,BookOpenCheck:R0,BookOpenCheckIcon:R0,BookOpenIcon:U0,BookOpenText:N0,BookOpenTextIcon:N0,BookPlus:W0,BookPlusIcon:W0,BookSearch:G0,BookSearchIcon:G0,BookTemplate:cn,BookTemplateIcon:cn,BookText:Y0,BookTextIcon:Y0,BookType:K0,BookTypeIcon:K0,BookUp:X0,BookUp2:Z0,BookUp2Icon:Z0,BookUpIcon:X0,BookUser:J0,BookUserIcon:J0,BookX:Q0,BookXIcon:Q0,Bookmark:r2,BookmarkCheck:t2,BookmarkCheckIcon:t2,BookmarkIcon:r2,BookmarkMinus:a2,BookmarkMinusIcon:a2,BookmarkPlus:n2,BookmarkPlusIcon:n2,BookmarkX:o2,BookmarkXIcon:o2,BoomBox:s2,BoomBoxIcon:s2,Bot:c2,BotIcon:c2,BotMessageSquare:i2,BotMessageSquareIcon:i2,BotOff:l2,BotOffIcon:l2,BottleWine:h2,BottleWineIcon:h2,BowArrow:d2,BowArrowIcon:d2,Box:u2,BoxIcon:u2,BoxSelect:oi,BoxSelectIcon:oi,Boxes:p2,BoxesIcon:p2,Braces:dn,BracesIcon:dn,Brackets:y2,BracketsIcon:y2,Brain:k2,BrainCircuit:m2,BrainCircuitIcon:m2,BrainCog:f2,BrainCogIcon:f2,BrainIcon:k2,BrickWall:b2,BrickWallFire:g2,BrickWallFireIcon:g2,BrickWallIcon:b2,BrickWallShield:M2,BrickWallShieldIcon:M2,Briefcase:v2,BriefcaseBusiness:x2,BriefcaseBusinessIcon:x2,BriefcaseConveyorBelt:w2,BriefcaseConveyorBeltIcon:w2,BriefcaseIcon:v2,BriefcaseMedical:C2,BriefcaseMedicalIcon:C2,BringToFront:L2,BringToFrontIcon:L2,Brush:I2,BrushCleaning:S2,BrushCleaningIcon:S2,BrushIcon:I2,Bubbles:_2,BubblesIcon:_2,Bug:V2,BugIcon:V2,BugOff:B2,BugOffIcon:B2,BugPlay:A2,BugPlayIcon:A2,Building:D2,Building2:P2,Building2Icon:P2,BuildingIcon:D2,Bus:z2,BusFront:q2,BusFrontIcon:q2,BusIcon:z2,Cable:T2,CableCar:E2,CableCarIcon:E2,CableIcon:T2,Cake:H2,CakeIcon:H2,CakeSlice:O2,CakeSliceIcon:O2,Calculator:F2,CalculatorIcon:F2,Calendar:ul,Calendar1:$2,Calendar1Icon:$2,CalendarArrowDown:N2,CalendarArrowDownIcon:N2,CalendarArrowUp:j2,CalendarArrowUpIcon:j2,CalendarCheck:U2,CalendarCheck2:R2,CalendarCheck2Icon:R2,CalendarCheckIcon:U2,CalendarClock:W2,CalendarClockIcon:W2,CalendarCog:Y2,CalendarCogIcon:Y2,CalendarDays:G2,CalendarDaysIcon:G2,CalendarFold:K2,CalendarFoldIcon:K2,CalendarHeart:X2,CalendarHeartIcon:X2,CalendarIcon:ul,CalendarMinus:J2,CalendarMinus2:Z2,CalendarMinus2Icon:Z2,CalendarMinusIcon:J2,CalendarOff:Q2,CalendarOffIcon:Q2,CalendarPlus:th,CalendarPlus2:eh,CalendarPlus2Icon:eh,CalendarPlusIcon:th,CalendarRange:ah,CalendarRangeIcon:ah,CalendarSearch:nh,CalendarSearchIcon:nh,CalendarSync:oh,CalendarSyncIcon:oh,CalendarX:ih,CalendarX2:rh,CalendarX2Icon:rh,CalendarXIcon:ih,Calendars:sh,CalendarsIcon:sh,Camera:ch,CameraIcon:ch,CameraOff:lh,CameraOffIcon:lh,CandlestickChart:yn,CandlestickChartIcon:yn,Candy:uh,CandyCane:dh,CandyCaneIcon:dh,CandyIcon:uh,CandyOff:hh,CandyOffIcon:hh,Cannabis:yh,CannabisIcon:yh,CannabisOff:ph,CannabisOffIcon:ph,Captions:hn,CaptionsIcon:hn,CaptionsOff:fh,CaptionsOffIcon:fh,Car:gh,CarFront:mh,CarFrontIcon:mh,CarIcon:gh,CarTaxiFront:kh,CarTaxiFrontIcon:kh,Caravan:bh,CaravanIcon:bh,CardSim:Mh,CardSimIcon:Mh,Carrot:xh,CarrotIcon:xh,CaseLower:wh,CaseLowerIcon:wh,CaseSensitive:vh,CaseSensitiveIcon:vh,CaseUpper:Ch,CaseUpperIcon:Ch,CassetteTape:Lh,CassetteTapeIcon:Lh,Cast:Sh,CastIcon:Sh,Castle:Ih,CastleIcon:Ih,Cat:_h,CatIcon:_h,Cctv:Bh,CctvIcon:Bh,ChartArea:un,ChartAreaIcon:un,ChartBar:fn,ChartBarBig:pn,ChartBarBigIcon:pn,ChartBarDecreasing:Vh,ChartBarDecreasingIcon:Vh,ChartBarIcon:fn,ChartBarIncreasing:Ah,ChartBarIncreasingIcon:Ah,ChartBarStacked:Ph,ChartBarStackedIcon:Ph,ChartCandlestick:yn,ChartCandlestickIcon:yn,ChartColumn:gn,ChartColumnBig:mn,ChartColumnBigIcon:mn,ChartColumnDecreasing:Dh,ChartColumnDecreasingIcon:Dh,ChartColumnIcon:gn,ChartColumnIncreasing:kn,ChartColumnIncreasingIcon:kn,ChartColumnStacked:qh,ChartColumnStackedIcon:qh,ChartGantt:zh,ChartGanttIcon:zh,ChartLine:bn,ChartLineIcon:bn,ChartNetwork:Eh,ChartNetworkIcon:Eh,ChartNoAxesColumn:xn,ChartNoAxesColumnDecreasing:Th,ChartNoAxesColumnDecreasingIcon:Th,ChartNoAxesColumnIcon:xn,ChartNoAxesColumnIncreasing:Mn,ChartNoAxesColumnIncreasingIcon:Mn,ChartNoAxesCombined:Oh,ChartNoAxesCombinedIcon:Oh,ChartNoAxesGantt:vn,ChartNoAxesGanttIcon:vn,ChartPie:wn,ChartPieIcon:wn,ChartScatter:Cn,ChartScatterIcon:Cn,ChartSpline:Fh,ChartSplineIcon:Fh,Check:ba,CheckCheck:Hh,CheckCheckIcon:Hh,CheckCircle:wa,CheckCircle2:qn,CheckCircle2Icon:qn,CheckCircleIcon:wa,CheckIcon:ba,CheckLine:$h,CheckLineIcon:$h,CheckSquare:Kr,CheckSquare2:Xr,CheckSquare2Icon:Xr,CheckSquareIcon:Kr,ChefHat:jh,ChefHatIcon:jh,Cherry:Rh,CherryIcon:Rh,ChessBishop:Nh,ChessBishopIcon:Nh,ChessKing:Uh,ChessKingIcon:Uh,ChessKnight:Wh,ChessKnightIcon:Wh,ChessPawn:Gh,ChessPawnIcon:Gh,ChessQueen:Yh,ChessQueenIcon:Yh,ChessRook:Kh,ChessRookIcon:Kh,ChevronDown:Bt,ChevronDownCircle:En,ChevronDownCircleIcon:En,ChevronDownIcon:Bt,ChevronDownSquare:Zr,ChevronDownSquareIcon:Zr,ChevronFirst:Xh,ChevronFirstIcon:Xh,ChevronLast:Zh,ChevronLastIcon:Zh,ChevronLeft:Ma,ChevronLeftCircle:Tn,ChevronLeftCircleIcon:Tn,ChevronLeftIcon:Ma,ChevronLeftSquare:Jr,ChevronLeftSquareIcon:Jr,ChevronRight:xa,ChevronRightCircle:zn,ChevronRightCircleIcon:zn,ChevronRightIcon:xa,ChevronRightSquare:Qr,ChevronRightSquareIcon:Qr,ChevronUp:pl,ChevronUpCircle:On,ChevronUpCircleIcon:On,ChevronUpIcon:pl,ChevronUpSquare:ei,ChevronUpSquareIcon:ei,ChevronsDown:Qh,ChevronsDownIcon:Qh,ChevronsDownUp:Jh,ChevronsDownUpIcon:Jh,ChevronsLeft:yl,ChevronsLeftIcon:yl,ChevronsLeftRight:tu,ChevronsLeftRightEllipsis:eu,ChevronsLeftRightEllipsisIcon:eu,ChevronsLeftRightIcon:tu,ChevronsRight:fl,ChevronsRightIcon:fl,ChevronsRightLeft:au,ChevronsRightLeftIcon:au,ChevronsUp:ou,ChevronsUpDown:nu,ChevronsUpDownIcon:nu,ChevronsUpIcon:ou,Chrome:Ln,ChromeIcon:Ln,Chromium:Ln,ChromiumIcon:Ln,Church:iu,ChurchIcon:iu,Cigarette:su,CigaretteIcon:su,CigaretteOff:ru,CigaretteOffIcon:ru,Circle:wu,CircleAlert:At,CircleAlertIcon:At,CircleArrowDown:Sn,CircleArrowDownIcon:Sn,CircleArrowLeft:In,CircleArrowLeftIcon:In,CircleArrowOutDownLeft:_n,CircleArrowOutDownLeftIcon:_n,CircleArrowOutDownRight:Bn,CircleArrowOutDownRightIcon:Bn,CircleArrowOutUpLeft:An,CircleArrowOutUpLeftIcon:An,CircleArrowOutUpRight:Vn,CircleArrowOutUpRightIcon:Vn,CircleArrowRight:Pn,CircleArrowRightIcon:Pn,CircleArrowUp:Dn,CircleArrowUpIcon:Dn,CircleCheck:qn,CircleCheckBig:wa,CircleCheckBigIcon:wa,CircleCheckIcon:qn,CircleChevronDown:En,CircleChevronDownIcon:En,CircleChevronLeft:Tn,CircleChevronLeftIcon:Tn,CircleChevronRight:zn,CircleChevronRightIcon:zn,CircleChevronUp:On,CircleChevronUpIcon:On,CircleDashed:lu,CircleDashedIcon:lu,CircleDivide:Hn,CircleDivideIcon:Hn,CircleDollarSign:cu,CircleDollarSignIcon:cu,CircleDot:hu,CircleDotDashed:du,CircleDotDashedIcon:du,CircleDotIcon:hu,CircleEllipsis:pu,CircleEllipsisIcon:pu,CircleEqual:uu,CircleEqualIcon:uu,CircleFadingArrowUp:yu,CircleFadingArrowUpIcon:yu,CircleFadingPlus:fu,CircleFadingPlusIcon:fu,CircleGauge:Fn,CircleGaugeIcon:Fn,CircleHelp:Vt,CircleHelpIcon:Vt,CircleIcon:wu,CircleMinus:$n,CircleMinusIcon:$n,CircleOff:mu,CircleOffIcon:mu,CircleParking:Rn,CircleParkingIcon:Rn,CircleParkingOff:jn,CircleParkingOffIcon:jn,CirclePause:Nn,CirclePauseIcon:Nn,CirclePercent:Un,CirclePercentIcon:Un,CirclePile:ku,CirclePileIcon:ku,CirclePlay:Wn,CirclePlayIcon:Wn,CirclePlus:Gn,CirclePlusIcon:Gn,CirclePoundSterling:gu,CirclePoundSterlingIcon:gu,CirclePower:Yn,CirclePowerIcon:Yn,CircleQuestionMark:Vt,CircleQuestionMarkIcon:Vt,CircleSlash:bu,CircleSlash2:Kn,CircleSlash2Icon:Kn,CircleSlashIcon:bu,CircleSlashed:Kn,CircleSlashedIcon:Kn,CircleSmall:Mu,CircleSmallIcon:Mu,CircleStar:xu,CircleStarIcon:xu,CircleStop:Xn,CircleStopIcon:Xn,CircleUser:Jn,CircleUserIcon:Jn,CircleUserRound:Zn,CircleUserRoundIcon:Zn,CircleX:Qn,CircleXIcon:Qn,CircuitBoard:vu,CircuitBoardIcon:vu,Citrus:Cu,CitrusIcon:Cu,Clapperboard:Lu,ClapperboardIcon:Lu,Clipboard:zu,ClipboardCheck:Iu,ClipboardCheckIcon:Iu,ClipboardClock:Su,ClipboardClockIcon:Su,ClipboardCopy:_u,ClipboardCopyIcon:_u,ClipboardEdit:to,ClipboardEditIcon:to,ClipboardIcon:zu,ClipboardList:Bu,ClipboardListIcon:Bu,ClipboardMinus:Au,ClipboardMinusIcon:Au,ClipboardPaste:Vu,ClipboardPasteIcon:Vu,ClipboardPen:to,ClipboardPenIcon:to,ClipboardPenLine:eo,ClipboardPenLineIcon:eo,ClipboardPlus:Pu,ClipboardPlusIcon:Pu,ClipboardSignature:eo,ClipboardSignatureIcon:eo,ClipboardType:Du,ClipboardTypeIcon:Du,ClipboardX:qu,ClipboardXIcon:qu,Clock:ml,Clock1:Eu,Clock10:Tu,Clock10Icon:Tu,Clock11:Ou,Clock11Icon:Ou,Clock12:Hu,Clock12Icon:Hu,Clock1Icon:Eu,Clock2:Fu,Clock2Icon:Fu,Clock3:$u,Clock3Icon:$u,Clock4:ju,Clock4Icon:ju,Clock5:Ru,Clock5Icon:Ru,Clock6:Nu,Clock6Icon:Nu,Clock7:Uu,Clock7Icon:Uu,Clock8:Wu,Clock8Icon:Wu,Clock9:Gu,Clock9Icon:Gu,ClockAlert:Yu,ClockAlertIcon:Yu,ClockArrowDown:Ku,ClockArrowDownIcon:Ku,ClockArrowUp:Xu,ClockArrowUpIcon:Xu,ClockCheck:Zu,ClockCheckIcon:Zu,ClockFading:Ju,ClockFadingIcon:Ju,ClockIcon:ml,ClockPlus:Qu,ClockPlusIcon:Qu,ClosedCaption:ep,ClosedCaptionIcon:ep,Cloud:gp,CloudAlert:tp,CloudAlertIcon:tp,CloudBackup:ap,CloudBackupIcon:ap,CloudCheck:np,CloudCheckIcon:np,CloudCog:op,CloudCogIcon:op,CloudDownload:ao,CloudDownloadIcon:ao,CloudDrizzle:rp,CloudDrizzleIcon:rp,CloudFog:ip,CloudFogIcon:ip,CloudHail:sp,CloudHailIcon:sp,CloudIcon:gp,CloudLightning:lp,CloudLightningIcon:lp,CloudMoon:dp,CloudMoonIcon:dp,CloudMoonRain:cp,CloudMoonRainIcon:cp,CloudOff:hp,CloudOffIcon:hp,CloudRain:pp,CloudRainIcon:pp,CloudRainWind:up,CloudRainWindIcon:up,CloudSnow:yp,CloudSnowIcon:yp,CloudSun:mp,CloudSunIcon:mp,CloudSunRain:fp,CloudSunRainIcon:fp,CloudSync:kp,CloudSyncIcon:kp,CloudUpload:va,CloudUploadIcon:va,Cloudy:bp,CloudyIcon:bp,Clover:Mp,CloverIcon:Mp,Club:xp,ClubIcon:xp,Code:wp,Code2:no,Code2Icon:no,CodeIcon:wp,CodeSquare:ti,CodeSquareIcon:ti,CodeXml:no,CodeXmlIcon:no,Codepen:vp,CodepenIcon:vp,Codesandbox:Cp,CodesandboxIcon:Cp,Coffee:Lp,CoffeeIcon:Lp,Cog:Sp,CogIcon:Sp,Coins:Ip,CoinsIcon:Ip,Columns:oo,Columns2:oo,Columns2Icon:oo,Columns3:ro,Columns3Cog:Pt,Columns3CogIcon:Pt,Columns3Icon:ro,Columns4:_p,Columns4Icon:_p,ColumnsIcon:oo,ColumnsSettings:Pt,ColumnsSettingsIcon:Pt,Combine:Bp,CombineIcon:Bp,Command:Ap,CommandIcon:Ap,Compass:Vp,CompassIcon:Vp,Component:Pp,ComponentIcon:Pp,Computer:Dp,ComputerIcon:Dp,ConciergeBell:qp,ConciergeBellIcon:qp,Cone:zp,ConeIcon:zp,Construction:Ep,ConstructionIcon:Ep,Contact:Tp,Contact2:io,Contact2Icon:io,ContactIcon:Tp,ContactRound:io,ContactRoundIcon:io,Container:Op,ContainerIcon:Op,Contrast:Hp,ContrastIcon:Hp,Cookie:$p,CookieIcon:$p,CookingPot:Fp,CookingPotIcon:Fp,Copy:Gp,CopyCheck:jp,CopyCheckIcon:jp,CopyIcon:Gp,CopyMinus:Rp,CopyMinusIcon:Rp,CopyPlus:Np,CopyPlusIcon:Np,CopySlash:Wp,CopySlashIcon:Wp,CopyX:Up,CopyXIcon:Up,Copyleft:Yp,CopyleftIcon:Yp,Copyright:Kp,CopyrightIcon:Kp,CornerDownLeft:Xp,CornerDownLeftIcon:Xp,CornerDownRight:Jp,CornerDownRightIcon:Jp,CornerLeftDown:Zp,CornerLeftDownIcon:Zp,CornerLeftUp:Qp,CornerLeftUpIcon:Qp,CornerRightDown:ey,CornerRightDownIcon:ey,CornerRightUp:ty,CornerRightUpIcon:ty,CornerUpLeft:ay,CornerUpLeftIcon:ay,CornerUpRight:ny,CornerUpRightIcon:ny,Cpu:ws,CpuIcon:ws,CreativeCommons:oy,CreativeCommonsIcon:oy,CreditCard:ry,CreditCardIcon:ry,Croissant:iy,CroissantIcon:iy,Crop:sy,CropIcon:sy,Cross:ly,CrossIcon:ly,Crosshair:dy,CrosshairIcon:dy,Crown:cy,CrownIcon:cy,Cuboid:hy,CuboidIcon:hy,CupSoda:uy,CupSodaIcon:uy,CurlyBraces:dn,CurlyBracesIcon:dn,Currency:py,CurrencyIcon:py,Cylinder:yy,CylinderIcon:yy,Dam:fy,DamIcon:fy,Database:by,DatabaseBackup:my,DatabaseBackupIcon:my,DatabaseIcon:by,DatabaseSearch:ky,DatabaseSearchIcon:ky,DatabaseZap:gy,DatabaseZapIcon:gy,DecimalsArrowLeft:My,DecimalsArrowLeftIcon:My,DecimalsArrowRight:xy,DecimalsArrowRightIcon:xy,Delete:wy,DeleteIcon:wy,Dessert:vy,DessertIcon:vy,Diameter:Cy,DiameterIcon:Cy,Diamond:Iy,DiamondIcon:Iy,DiamondMinus:Ly,DiamondMinusIcon:Ly,DiamondPercent:so,DiamondPercentIcon:so,DiamondPlus:Sy,DiamondPlusIcon:Sy,Dice1:_y,Dice1Icon:_y,Dice2:By,Dice2Icon:By,Dice3:Ay,Dice3Icon:Ay,Dice4:Vy,Dice4Icon:Vy,Dice5:Py,Dice5Icon:Py,Dice6:Dy,Dice6Icon:Dy,Dices:qy,DicesIcon:qy,Diff:zy,DiffIcon:zy,Disc:Hy,Disc2:Ey,Disc2Icon:Ey,Disc3:Ty,Disc3Icon:Ty,DiscAlbum:Oy,DiscAlbumIcon:Oy,DiscIcon:Hy,Divide:Fy,DivideCircle:Hn,DivideCircleIcon:Hn,DivideIcon:Fy,DivideSquare:ii,DivideSquareIcon:ii,Dna:jy,DnaIcon:jy,DnaOff:$y,DnaOffIcon:$y,Dock:Ry,DockIcon:Ry,Dog:Uy,DogIcon:Uy,DollarSign:Ny,DollarSignIcon:Ny,Donut:Gy,DonutIcon:Gy,DoorClosed:Yy,DoorClosedIcon:Yy,DoorClosedLocked:Wy,DoorClosedLockedIcon:Wy,DoorOpen:Ky,DoorOpenIcon:Ky,Dot:Xy,DotIcon:Xy,DotSquare:ri,DotSquareIcon:ri,Download:kl,DownloadCloud:ao,DownloadCloudIcon:ao,DownloadIcon:kl,DraftingCompass:Zy,DraftingCompassIcon:Zy,Drama:Qy,DramaIcon:Qy,Dribbble:Jy,DribbbleIcon:Jy,Drill:ef,DrillIcon:ef,Drone:tf,DroneIcon:tf,Droplet:nf,DropletIcon:nf,DropletOff:af,DropletOffIcon:af,Droplets:of,DropletsIcon:of,Drum:rf,DrumIcon:rf,Drumstick:sf,DrumstickIcon:sf,Dumbbell:lf,DumbbellIcon:lf,Ear:df,EarIcon:df,EarOff:cf,EarOffIcon:cf,Earth:lo,EarthIcon:lo,EarthLock:hf,EarthLockIcon:hf,Eclipse:uf,EclipseIcon:uf,Edit:et,Edit2:br,Edit2Icon:br,Edit3:gr,Edit3Icon:gr,EditIcon:et,Egg:yf,EggFried:pf,EggFriedIcon:pf,EggIcon:yf,EggOff:ff,EggOffIcon:ff,Ellipsis:Ca,EllipsisIcon:Ca,EllipsisVertical:co,EllipsisVerticalIcon:co,Equal:gf,EqualApproximately:kf,EqualApproximatelyIcon:kf,EqualIcon:gf,EqualNot:mf,EqualNotIcon:mf,EqualSquare:si,EqualSquareIcon:si,Eraser:bf,EraserIcon:bf,EthernetPort:Mf,EthernetPortIcon:Mf,Euro:xf,EuroIcon:xf,EvCharger:wf,EvChargerIcon:wf,Expand:vf,ExpandIcon:vf,ExternalLink:Cf,ExternalLinkIcon:Cf,Eye:vs,EyeClosed:Lf,EyeClosedIcon:Lf,EyeIcon:vs,EyeOff:gl,EyeOffIcon:gl,Facebook:Sf,FacebookIcon:Sf,Factory:If,FactoryIcon:If,Fan:_f,FanIcon:_f,FastForward:Bf,FastForwardIcon:Bf,Feather:Af,FeatherIcon:Af,Fence:Vf,FenceIcon:Vf,FerrisWheel:Pf,FerrisWheelIcon:Pf,Figma:Df,FigmaIcon:Df,File:sm,FileArchive:qf,FileArchiveIcon:qf,FileAudio:Dt,FileAudio2:Dt,FileAudio2Icon:Dt,FileAudioIcon:Dt,FileAxis3D:ho,FileAxis3DIcon:ho,FileAxis3d:ho,FileAxis3dIcon:ho,FileBadge:uo,FileBadge2:uo,FileBadge2Icon:uo,FileBadgeIcon:uo,FileBarChart:fo,FileBarChart2:mo,FileBarChart2Icon:mo,FileBarChartIcon:fo,FileBox:zf,FileBoxIcon:zf,FileBraces:yo,FileBracesCorner:po,FileBracesCornerIcon:po,FileBracesIcon:yo,FileChartColumn:mo,FileChartColumnIcon:mo,FileChartColumnIncreasing:fo,FileChartColumnIncreasingIcon:fo,FileChartLine:ko,FileChartLineIcon:ko,FileChartPie:go,FileChartPieIcon:go,FileCheck:Ef,FileCheck2:bo,FileCheck2Icon:bo,FileCheckCorner:bo,FileCheckCornerIcon:bo,FileCheckIcon:Ef,FileClock:Tf,FileClockIcon:Tf,FileCode:Of,FileCode2:Mo,FileCode2Icon:Mo,FileCodeCorner:Mo,FileCodeCornerIcon:Mo,FileCodeIcon:Of,FileCog:xo,FileCog2:xo,FileCog2Icon:xo,FileCogIcon:xo,FileDiff:Hf,FileDiffIcon:Hf,FileDigit:$f,FileDigitIcon:$f,FileDown:Ff,FileDownIcon:Ff,FileEdit:_o,FileEditIcon:_o,FileExclamationPoint:wo,FileExclamationPointIcon:wo,FileHeadphone:Dt,FileHeadphoneIcon:Dt,FileHeart:jf,FileHeartIcon:jf,FileIcon:sm,FileImage:Rf,FileImageIcon:Rf,FileInput:Nf,FileInputIcon:Nf,FileJson:yo,FileJson2:po,FileJson2Icon:po,FileJsonIcon:yo,FileKey:vo,FileKey2:vo,FileKey2Icon:vo,FileKeyIcon:vo,FileLineChart:ko,FileLineChartIcon:ko,FileLock:Co,FileLock2:Co,FileLock2Icon:Co,FileLockIcon:Co,FileMinus:Wf,FileMinus2:Lo,FileMinus2Icon:Lo,FileMinusCorner:Lo,FileMinusCornerIcon:Lo,FileMinusIcon:Wf,FileMusic:Uf,FileMusicIcon:Uf,FileOutput:Gf,FileOutputIcon:Gf,FilePen:_o,FilePenIcon:_o,FilePenLine:So,FilePenLineIcon:So,FilePieChart:go,FilePieChartIcon:go,FilePlay:Io,FilePlayIcon:Io,FilePlus:Yf,FilePlus2:Bo,FilePlus2Icon:Bo,FilePlusCorner:Bo,FilePlusCornerIcon:Bo,FilePlusIcon:Yf,FileQuestion:Ao,FileQuestionIcon:Ao,FileQuestionMark:Ao,FileQuestionMarkIcon:Ao,FileScan:Kf,FileScanIcon:Kf,FileSearch:Xf,FileSearch2:Vo,FileSearch2Icon:Vo,FileSearchCorner:Vo,FileSearchCornerIcon:Vo,FileSearchIcon:Xf,FileSignal:Po,FileSignalIcon:Po,FileSignature:So,FileSignatureIcon:So,FileSliders:Zf,FileSlidersIcon:Zf,FileSpreadsheet:Jf,FileSpreadsheetIcon:Jf,FileStack:Qf,FileStackIcon:Qf,FileSymlink:em,FileSymlinkIcon:em,FileTerminal:tm,FileTerminalIcon:tm,FileText:Cs,FileTextIcon:Cs,FileType:am,FileType2:Do,FileType2Icon:Do,FileTypeCorner:Do,FileTypeCornerIcon:Do,FileTypeIcon:am,FileUp:nm,FileUpIcon:nm,FileUser:om,FileUserIcon:om,FileVideo:Io,FileVideo2:qo,FileVideo2Icon:qo,FileVideoCamera:qo,FileVideoCameraIcon:qo,FileVideoIcon:Io,FileVolume:rm,FileVolume2:Po,FileVolume2Icon:Po,FileVolumeIcon:rm,FileWarning:wo,FileWarningIcon:wo,FileX:im,FileX2:zo,FileX2Icon:zo,FileXCorner:zo,FileXCornerIcon:zo,FileXIcon:im,Files:cm,FilesIcon:cm,Film:lm,FilmIcon:lm,Filter:Fo,FilterIcon:Fo,FilterX:Ho,FilterXIcon:Ho,Fingerprint:Eo,FingerprintIcon:Eo,FingerprintPattern:Eo,FingerprintPatternIcon:Eo,FireExtinguisher:dm,FireExtinguisherIcon:dm,Fish:pm,FishIcon:pm,FishOff:hm,FishOffIcon:hm,FishSymbol:um,FishSymbolIcon:um,FishingHook:ym,FishingHookIcon:ym,Flag:gm,FlagIcon:gm,FlagOff:fm,FlagOffIcon:fm,FlagTriangleLeft:mm,FlagTriangleLeftIcon:mm,FlagTriangleRight:km,FlagTriangleRightIcon:km,Flame:Mm,FlameIcon:Mm,FlameKindling:bm,FlameKindlingIcon:bm,Flashlight:wm,FlashlightIcon:wm,FlashlightOff:xm,FlashlightOffIcon:xm,FlaskConical:Cm,FlaskConicalIcon:Cm,FlaskConicalOff:vm,FlaskConicalOffIcon:vm,FlaskRound:Lm,FlaskRoundIcon:Lm,FlipHorizontal:Gr,FlipHorizontal2:Sm,FlipHorizontal2Icon:Sm,FlipHorizontalIcon:Gr,FlipVertical:Yr,FlipVertical2:Im,FlipVertical2Icon:Im,FlipVerticalIcon:Yr,Flower:Bm,Flower2:_m,Flower2Icon:_m,FlowerIcon:Bm,Focus:Am,FocusIcon:Am,FoldHorizontal:Vm,FoldHorizontalIcon:Vm,FoldVertical:Pm,FoldVerticalIcon:Pm,Folder:ik,FolderArchive:Dm,FolderArchiveIcon:Dm,FolderCheck:qm,FolderCheckIcon:qm,FolderClock:zm,FolderClockIcon:zm,FolderClosed:Em,FolderClosedIcon:Em,FolderCode:Tm,FolderCodeIcon:Tm,FolderCog:To,FolderCog2:To,FolderCog2Icon:To,FolderCogIcon:To,FolderDot:Om,FolderDotIcon:Om,FolderDown:Hm,FolderDownIcon:Hm,FolderEdit:Oo,FolderEditIcon:Oo,FolderGit:$m,FolderGit2:Fm,FolderGit2Icon:Fm,FolderGitIcon:$m,FolderHeart:jm,FolderHeartIcon:jm,FolderIcon:ik,FolderInput:Rm,FolderInputIcon:Rm,FolderKanban:Um,FolderKanbanIcon:Um,FolderKey:Nm,FolderKeyIcon:Nm,FolderLock:Wm,FolderLockIcon:Wm,FolderMinus:Km,FolderMinusIcon:Km,FolderOpen:Ym,FolderOpenDot:Gm,FolderOpenDotIcon:Gm,FolderOpenIcon:Ym,FolderOutput:Xm,FolderOutputIcon:Xm,FolderPen:Oo,FolderPenIcon:Oo,FolderPlus:Qm,FolderPlusIcon:Qm,FolderRoot:Zm,FolderRootIcon:Zm,FolderSearch:ek,FolderSearch2:Jm,FolderSearch2Icon:Jm,FolderSearchIcon:ek,FolderSymlink:ak,FolderSymlinkIcon:ak,FolderSync:tk,FolderSyncIcon:tk,FolderTree:nk,FolderTreeIcon:nk,FolderUp:ok,FolderUpIcon:ok,FolderX:rk,FolderXIcon:rk,Folders:sk,FoldersIcon:sk,Footprints:lk,FootprintsIcon:lk,ForkKnife:Ji,ForkKnifeCrossed:Zi,ForkKnifeCrossedIcon:Zi,ForkKnifeIcon:Ji,Forklift:ck,ForkliftIcon:ck,Form:dk,FormIcon:dk,FormInput:xr,FormInputIcon:xr,Forward:uk,ForwardIcon:uk,Frame:hk,FrameIcon:hk,Framer:pk,FramerIcon:pk,Frown:yk,FrownIcon:yk,Fuel:fk,FuelIcon:fk,Fullscreen:mk,FullscreenIcon:mk,FunctionSquare:li,FunctionSquareIcon:li,Funnel:Fo,FunnelIcon:Fo,FunnelPlus:kk,FunnelPlusIcon:kk,FunnelX:Ho,FunnelXIcon:Ho,GalleryHorizontal:bk,GalleryHorizontalEnd:gk,GalleryHorizontalEndIcon:gk,GalleryHorizontalIcon:bk,GalleryThumbnails:Mk,GalleryThumbnailsIcon:Mk,GalleryVertical:wk,GalleryVerticalEnd:xk,GalleryVerticalEndIcon:xk,GalleryVerticalIcon:wk,Gamepad:Sk,Gamepad2:vk,Gamepad2Icon:vk,GamepadDirectional:Ck,GamepadDirectionalIcon:Ck,GamepadIcon:Sk,GanttChart:vn,GanttChartIcon:vn,GanttChartSquare:Tt,GanttChartSquareIcon:Tt,Gauge:Lk,GaugeCircle:Fn,GaugeCircleIcon:Fn,GaugeIcon:Lk,Gavel:Ik,GavelIcon:Ik,Gem:_k,GemIcon:_k,GeorgianLari:Bk,GeorgianLariIcon:Bk,Ghost:Ak,GhostIcon:Ak,Gift:Vk,GiftIcon:Vk,GitBranch:qk,GitBranchIcon:qk,GitBranchMinus:Pk,GitBranchMinusIcon:Pk,GitBranchPlus:Dk,GitBranchPlusIcon:Dk,GitCommit:$o,GitCommitHorizontal:$o,GitCommitHorizontalIcon:$o,GitCommitIcon:$o,GitCommitVertical:zk,GitCommitVerticalIcon:zk,GitCompare:Tk,GitCompareArrows:Ek,GitCompareArrowsIcon:Ek,GitCompareIcon:Tk,GitFork:Ok,GitForkIcon:Ok,GitGraph:Hk,GitGraphIcon:Hk,GitMerge:$k,GitMergeConflict:Fk,GitMergeConflictIcon:Fk,GitMergeIcon:$k,GitPullRequest:Gk,GitPullRequestArrow:jk,GitPullRequestArrowIcon:jk,GitPullRequestClosed:Rk,GitPullRequestClosedIcon:Rk,GitPullRequestCreate:Uk,GitPullRequestCreateArrow:Nk,GitPullRequestCreateArrowIcon:Nk,GitPullRequestCreateIcon:Uk,GitPullRequestDraft:Wk,GitPullRequestDraftIcon:Wk,GitPullRequestIcon:Gk,Github:Yk,GithubIcon:Yk,Gitlab:Kk,GitlabIcon:Kk,GlassWater:Xk,GlassWaterIcon:Xk,Glasses:Zk,GlassesIcon:Zk,Globe:bl,Globe2:lo,Globe2Icon:lo,GlobeIcon:bl,GlobeLock:Jk,GlobeLockIcon:Jk,GlobeOff:Qk,GlobeOffIcon:Qk,GlobeX:eg,GlobeXIcon:eg,Goal:tg,GoalIcon:tg,Gpu:ng,GpuIcon:ng,Grab:Wo,GrabIcon:Wo,GraduationCap:ag,GraduationCapIcon:ag,Grape:og,GrapeIcon:og,Grid:qt,Grid2X2:Uo,Grid2X2Check:jo,Grid2X2CheckIcon:jo,Grid2X2Icon:Uo,Grid2X2Plus:No,Grid2X2PlusIcon:No,Grid2X2X:Ro,Grid2X2XIcon:Ro,Grid2x2:Uo,Grid2x2Check:jo,Grid2x2CheckIcon:jo,Grid2x2Icon:Uo,Grid2x2Plus:No,Grid2x2PlusIcon:No,Grid2x2X:Ro,Grid2x2XIcon:Ro,Grid3X3:qt,Grid3X3Icon:qt,Grid3x2:rg,Grid3x2Icon:rg,Grid3x3:qt,Grid3x3Icon:qt,GridIcon:qt,Grip:lg,GripHorizontal:ig,GripHorizontalIcon:ig,GripIcon:lg,GripVertical:sg,GripVerticalIcon:sg,Group:dg,GroupIcon:dg,Guitar:cg,GuitarIcon:cg,Ham:hg,HamIcon:hg,Hamburger:ug,HamburgerIcon:ug,Hammer:pg,HammerIcon:pg,Hand:bg,HandCoins:yg,HandCoinsIcon:yg,HandFist:fg,HandFistIcon:fg,HandGrab:Wo,HandGrabIcon:Wo,HandHeart:mg,HandHeartIcon:mg,HandHelping:Go,HandHelpingIcon:Go,HandIcon:bg,HandMetal:kg,HandMetalIcon:kg,HandPlatter:gg,HandPlatterIcon:gg,Handbag:Mg,HandbagIcon:Mg,Handshake:xg,HandshakeIcon:xg,HardDrive:Cg,HardDriveDownload:wg,HardDriveDownloadIcon:wg,HardDriveIcon:Cg,HardDriveUpload:vg,HardDriveUploadIcon:vg,HardHat:Lg,HardHatIcon:Lg,Hash:Sg,HashIcon:Sg,HatGlasses:Ig,HatGlassesIcon:Ig,Haze:_g,HazeIcon:_g,Hd:Bg,HdIcon:Bg,HdmiPort:Ag,HdmiPortIcon:Ag,Heading:Tg,Heading1:Vg,Heading1Icon:Vg,Heading2:Pg,Heading2Icon:Pg,Heading3:Dg,Heading3Icon:Dg,Heading4:qg,Heading4Icon:qg,Heading5:zg,Heading5Icon:zg,Heading6:Eg,Heading6Icon:Eg,HeadingIcon:Tg,HeadphoneOff:Og,HeadphoneOffIcon:Og,Headphones:Hg,HeadphonesIcon:Hg,Headset:Fg,HeadsetIcon:Fg,Heart:Gg,HeartCrack:$g,HeartCrackIcon:$g,HeartHandshake:Rg,HeartHandshakeIcon:Rg,HeartIcon:Gg,HeartMinus:jg,HeartMinusIcon:jg,HeartOff:Ng,HeartOffIcon:Ng,HeartPlus:Ug,HeartPlusIcon:Ug,HeartPulse:Wg,HeartPulseIcon:Wg,Heater:Yg,HeaterIcon:Yg,Helicopter:Kg,HelicopterIcon:Kg,HelpCircle:Vt,HelpCircleIcon:Vt,HelpingHand:Go,HelpingHandIcon:Go,Hexagon:Xg,HexagonIcon:Xg,Highlighter:Zg,HighlighterIcon:Zg,History:Jg,HistoryIcon:Jg,Home:Yo,HomeIcon:Yo,Hop:e4,HopIcon:e4,HopOff:Qg,HopOffIcon:Qg,Hospital:t4,HospitalIcon:t4,Hotel:a4,HotelIcon:a4,Hourglass:n4,HourglassIcon:n4,House:Yo,HouseHeart:o4,HouseHeartIcon:o4,HouseIcon:Yo,HousePlug:r4,HousePlugIcon:r4,HousePlus:i4,HousePlusIcon:i4,HouseWifi:s4,HouseWifiIcon:s4,IceCream:Xo,IceCream2:Ko,IceCream2Icon:Ko,IceCreamBowl:Ko,IceCreamBowlIcon:Ko,IceCreamCone:Xo,IceCreamConeIcon:Xo,IceCreamIcon:Xo,Icon:$B,IdCard:c4,IdCardIcon:c4,IdCardLanyard:l4,IdCardLanyardIcon:l4,Image:k4,ImageDown:d4,ImageDownIcon:d4,ImageIcon:k4,ImageMinus:h4,ImageMinusIcon:h4,ImageOff:u4,ImageOffIcon:u4,ImagePlay:p4,ImagePlayIcon:p4,ImagePlus:y4,ImagePlusIcon:y4,ImageUp:f4,ImageUpIcon:f4,ImageUpscale:m4,ImageUpscaleIcon:m4,Images:g4,ImagesIcon:g4,Import:M4,ImportIcon:M4,Inbox:b4,InboxIcon:b4,Indent:Et,IndentDecrease:zt,IndentDecreaseIcon:zt,IndentIcon:Et,IndentIncrease:Et,IndentIncreaseIcon:Et,IndianRupee:x4,IndianRupeeIcon:x4,Infinity:w4,InfinityIcon:w4,Info:v4,InfoIcon:v4,Inspect:yi,InspectIcon:yi,InspectionPanel:C4,InspectionPanelIcon:C4,Instagram:L4,InstagramIcon:L4,Italic:S4,ItalicIcon:S4,IterationCcw:I4,IterationCcwIcon:I4,IterationCw:_4,IterationCwIcon:_4,JapaneseYen:B4,JapaneseYenIcon:B4,Joystick:A4,JoystickIcon:A4,Kanban:V4,KanbanIcon:V4,KanbanSquare:ci,KanbanSquareDashed:ai,KanbanSquareDashedIcon:ai,KanbanSquareIcon:ci,Kayak:P4,KayakIcon:P4,Key:E4,KeyIcon:E4,KeyRound:D4,KeyRoundIcon:D4,KeySquare:q4,KeySquareIcon:q4,Keyboard:O4,KeyboardIcon:O4,KeyboardMusic:z4,KeyboardMusicIcon:z4,KeyboardOff:T4,KeyboardOffIcon:T4,Lamp:N4,LampCeiling:H4,LampCeilingIcon:H4,LampDesk:F4,LampDeskIcon:F4,LampFloor:j4,LampFloorIcon:j4,LampIcon:N4,LampWallDown:$4,LampWallDownIcon:$4,LampWallUp:R4,LampWallUpIcon:R4,LandPlot:U4,LandPlotIcon:U4,Landmark:G4,LandmarkIcon:G4,Languages:W4,LanguagesIcon:W4,Laptop:K4,Laptop2:Zo,Laptop2Icon:Zo,LaptopIcon:K4,LaptopMinimal:Zo,LaptopMinimalCheck:Y4,LaptopMinimalCheckIcon:Y4,LaptopMinimalIcon:Zo,Lasso:Z4,LassoIcon:Z4,LassoSelect:X4,LassoSelectIcon:X4,Laugh:J4,LaughIcon:J4,Layers:Jo,Layers2:Q4,Layers2Icon:Q4,Layers3:Jo,Layers3Icon:Jo,LayersIcon:Jo,LayersPlus:e5,LayersPlusIcon:e5,Layout:kr,LayoutDashboard:t5,LayoutDashboardIcon:t5,LayoutGrid:a5,LayoutGridIcon:a5,LayoutIcon:kr,LayoutList:n5,LayoutListIcon:n5,LayoutPanelLeft:o5,LayoutPanelLeftIcon:o5,LayoutPanelTop:r5,LayoutPanelTopIcon:r5,LayoutTemplate:i5,LayoutTemplateIcon:i5,Leaf:s5,LeafIcon:s5,LeafyGreen:l5,LeafyGreenIcon:l5,Lectern:c5,LecternIcon:c5,LensConcave:d5,LensConcaveIcon:d5,LensConvex:h5,LensConvexIcon:h5,LetterText:Ei,LetterTextIcon:Ei,Library:f5,LibraryBig:u5,LibraryBigIcon:u5,LibraryIcon:f5,LibrarySquare:di,LibrarySquareIcon:di,LifeBuoy:y5,LifeBuoyIcon:y5,Ligature:p5,LigatureIcon:p5,Lightbulb:k5,LightbulbIcon:k5,LightbulbOff:m5,LightbulbOffIcon:m5,LineChart:bn,LineChartIcon:bn,LineDotRightHorizontal:g5,LineDotRightHorizontalIcon:g5,LineSquiggle:b5,LineSquiggleIcon:b5,Link:Ml,Link2:x5,Link2Icon:x5,Link2Off:M5,Link2OffIcon:M5,LinkIcon:Ml,Linkedin:w5,LinkedinIcon:w5,List:$5,ListCheck:v5,ListCheckIcon:v5,ListChecks:C5,ListChecksIcon:C5,ListChevronsDownUp:S5,ListChevronsDownUpIcon:S5,ListChevronsUpDown:L5,ListChevronsUpDownIcon:L5,ListCollapse:I5,ListCollapseIcon:I5,ListEnd:_5,ListEndIcon:_5,ListFilter:B5,ListFilterIcon:B5,ListFilterPlus:A5,ListFilterPlusIcon:A5,ListIcon:$5,ListIndentDecrease:zt,ListIndentDecreaseIcon:zt,ListIndentIncrease:Et,ListIndentIncreaseIcon:Et,ListMinus:q5,ListMinusIcon:q5,ListMusic:V5,ListMusicIcon:V5,ListOrdered:P5,ListOrderedIcon:P5,ListPlus:D5,ListPlusIcon:D5,ListRestart:z5,ListRestartIcon:z5,ListStart:E5,ListStartIcon:E5,ListTodo:O5,ListTodoIcon:O5,ListTree:T5,ListTreeIcon:T5,ListVideo:H5,ListVideoIcon:H5,ListX:F5,ListXIcon:F5,Loader:R5,Loader2:bt,Loader2Icon:bt,LoaderCircle:bt,LoaderCircleIcon:bt,LoaderIcon:R5,LoaderPinwheel:j5,LoaderPinwheelIcon:j5,Locate:W5,LocateFixed:N5,LocateFixedIcon:N5,LocateIcon:W5,LocateOff:U5,LocateOffIcon:U5,LocationEdit:ar,LocationEditIcon:ar,Lock:Y5,LockIcon:Y5,LockKeyhole:G5,LockKeyholeIcon:G5,LockKeyholeOpen:Qo,LockKeyholeOpenIcon:Qo,LockOpen:er,LockOpenIcon:er,LogIn:K5,LogInIcon:K5,LogOut:X5,LogOutIcon:X5,Logs:Z5,LogsIcon:Z5,Lollipop:J5,LollipopIcon:J5,LucideAArrowDown:C1,LucideAArrowUp:L1,LucideALargeSmall:S1,LucideAccessibility:I1,LucideActivity:_1,LucideActivitySquare:Pr,LucideAirVent:B1,LucideAirplay:A1,LucideAlarmCheck:Ya,LucideAlarmClock:P1,LucideAlarmClockCheck:Ya,LucideAlarmClockMinus:Ka,LucideAlarmClockOff:V1,LucideAlarmClockPlus:Xa,LucideAlarmMinus:Ka,LucideAlarmPlus:Xa,LucideAlarmSmoke:D1,LucideAlbum:z1,LucideAlertCircle:At,LucideAlertOctagon:ir,LucideAlertTriangle:$i,LucideAlignCenter:zi,LucideAlignCenterHorizontal:q1,LucideAlignCenterVertical:E1,LucideAlignEndHorizontal:T1,LucideAlignEndVertical:O1,LucideAlignHorizontalDistributeCenter:H1,LucideAlignHorizontalDistributeEnd:F1,LucideAlignHorizontalDistributeStart:$1,LucideAlignHorizontalJustifyCenter:j1,LucideAlignHorizontalJustifyEnd:R1,LucideAlignHorizontalJustifyStart:N1,LucideAlignHorizontalSpaceAround:U1,LucideAlignHorizontalSpaceBetween:W1,LucideAlignJustify:qi,LucideAlignLeft:Ot,LucideAlignRight:Di,LucideAlignStartHorizontal:G1,LucideAlignStartVertical:Y1,LucideAlignVerticalDistributeCenter:K1,LucideAlignVerticalDistributeEnd:X1,LucideAlignVerticalDistributeStart:Z1,LucideAlignVerticalJustifyCenter:J1,LucideAlignVerticalJustifyEnd:Q1,LucideAlignVerticalJustifyStart:ec,LucideAlignVerticalSpaceAround:tc,LucideAlignVerticalSpaceBetween:ac,LucideAmbulance:nc,LucideAmpersand:oc,LucideAmpersands:rc,LucideAmphora:sc,LucideAnchor:ic,LucideAngry:lc,LucideAnnoyed:cc,LucideAntenna:dc,LucideAnvil:hc,LucideAperture:uc,LucideAppWindow:yc,LucideAppWindowMac:pc,LucideApple:fc,LucideArchive:gc,LucideArchiveRestore:mc,LucideArchiveX:kc,LucideAreaChart:un,LucideArmchair:bc,LucideArrowBigDown:xc,LucideArrowBigDownDash:Mc,LucideArrowBigLeft:vc,LucideArrowBigLeftDash:wc,LucideArrowBigRight:Lc,LucideArrowBigRightDash:Cc,LucideArrowBigUp:Sc,LucideArrowBigUpDash:Ic,LucideArrowDown:Tc,LucideArrowDown01:Bc,LucideArrowDown10:_c,LucideArrowDownAZ:Za,LucideArrowDownAz:Za,LucideArrowDownCircle:Sn,LucideArrowDownFromLine:Ac,LucideArrowDownLeft:Vc,LucideArrowDownLeftFromCircle:_n,LucideArrowDownLeftFromSquare:Tr,LucideArrowDownLeftSquare:Dr,LucideArrowDownNarrowWide:Dc,LucideArrowDownRight:Pc,LucideArrowDownRightFromCircle:Bn,LucideArrowDownRightFromSquare:Or,LucideArrowDownRightSquare:qr,LucideArrowDownSquare:zr,LucideArrowDownToDot:qc,LucideArrowDownToLine:zc,LucideArrowDownUp:Ec,LucideArrowDownWideNarrow:Ja,LucideArrowDownZA:Qa,LucideArrowDownZa:Qa,LucideArrowLeft:$c,LucideArrowLeftCircle:In,LucideArrowLeftFromLine:Oc,LucideArrowLeftRight:Fc,LucideArrowLeftSquare:Er,LucideArrowLeftToLine:Hc,LucideArrowRight:hl,LucideArrowRightCircle:Pn,LucideArrowRightFromLine:jc,LucideArrowRightLeft:Rc,LucideArrowRightSquare:$r,LucideArrowRightToLine:Nc,LucideArrowUp:td,LucideArrowUp01:Uc,LucideArrowUp10:Wc,LucideArrowUpAZ:en,LucideArrowUpAz:en,LucideArrowUpCircle:Dn,LucideArrowUpDown:Gc,LucideArrowUpFromDot:Yc,LucideArrowUpFromLine:Kc,LucideArrowUpLeft:Xc,LucideArrowUpLeftFromCircle:An,LucideArrowUpLeftFromSquare:Hr,LucideArrowUpLeftSquare:Rr,LucideArrowUpNarrowWide:tn,LucideArrowUpRight:Zc,LucideArrowUpRightFromCircle:Vn,LucideArrowUpRightFromSquare:Fr,LucideArrowUpRightSquare:jr,LucideArrowUpSquare:Nr,LucideArrowUpToLine:Jc,LucideArrowUpWideNarrow:Qc,LucideArrowUpZA:an,LucideArrowUpZa:an,LucideArrowsUpFromLine:ed,LucideAsterisk:ad,LucideAsteriskSquare:Ur,LucideAtSign:nd,LucideAtom:od,LucideAudioLines:rd,LucideAudioWaveform:id,LucideAward:sd,LucideAxe:ld,LucideAxis3D:nn,LucideAxis3d:nn,LucideBaby:dd,LucideBackpack:cd,LucideBadge:Sd,LucideBadgeAlert:hd,LucideBadgeCent:ud,LucideBadgeCheck:on,LucideBadgeDollarSign:pd,LucideBadgeEuro:yd,LucideBadgeHelp:rn,LucideBadgeIndianRupee:fd,LucideBadgeInfo:md,LucideBadgeJapaneseYen:kd,LucideBadgeMinus:gd,LucideBadgePercent:bd,LucideBadgePlus:Md,LucideBadgePoundSterling:xd,LucideBadgeQuestionMark:rn,LucideBadgeRussianRuble:wd,LucideBadgeSwissFranc:vd,LucideBadgeTurkishLira:Cd,LucideBadgeX:Ld,LucideBaggageClaim:Id,LucideBalloon:_d,LucideBan:Ad,LucideBanana:Bd,LucideBandage:Vd,LucideBanknote:Td,LucideBanknoteArrowDown:Pd,LucideBanknoteArrowUp:Dd,LucideBanknoteX:qd,LucideBarChart:Mn,LucideBarChart2:xn,LucideBarChart3:gn,LucideBarChart4:kn,LucideBarChartBig:mn,LucideBarChartHorizontal:fn,LucideBarChartHorizontalBig:pn,LucideBarcode:zd,LucideBarrel:Ed,LucideBaseline:Od,LucideBath:Hd,LucideBattery:Wd,LucideBatteryCharging:Fd,LucideBatteryFull:$d,LucideBatteryLow:jd,LucideBatteryMedium:Nd,LucideBatteryPlus:Rd,LucideBatteryWarning:Ud,LucideBeaker:Gd,LucideBean:Kd,LucideBeanOff:Yd,LucideBed:Jd,LucideBedDouble:Xd,LucideBedSingle:Zd,LucideBeef:Qd,LucideBeer:t0,LucideBeerOff:e0,LucideBell:s0,LucideBellDot:a0,LucideBellElectric:n0,LucideBellMinus:o0,LucideBellOff:r0,LucideBellPlus:i0,LucideBellRing:l0,LucideBetweenHorizonalEnd:sn,LucideBetweenHorizonalStart:ln,LucideBetweenHorizontalEnd:sn,LucideBetweenHorizontalStart:ln,LucideBetweenVerticalEnd:c0,LucideBetweenVerticalStart:d0,LucideBicepsFlexed:h0,LucideBike:u0,LucideBinary:p0,LucideBinoculars:f0,LucideBiohazard:y0,LucideBird:m0,LucideBirdhouse:k0,LucideBitcoin:g0,LucideBlend:b0,LucideBlinds:M0,LucideBlocks:w0,LucideBluetooth:L0,LucideBluetoothConnected:x0,LucideBluetoothOff:v0,LucideBluetoothSearching:C0,LucideBold:S0,LucideBolt:I0,LucideBomb:_0,LucideBone:B0,LucideBook:e2,LucideBookA:A0,LucideBookAlert:V0,LucideBookAudio:P0,LucideBookCheck:q0,LucideBookCopy:D0,LucideBookDashed:cn,LucideBookDown:z0,LucideBookHeadphones:E0,LucideBookHeart:T0,LucideBookImage:O0,LucideBookKey:H0,LucideBookLock:F0,LucideBookMarked:$0,LucideBookMinus:j0,LucideBookOpen:U0,LucideBookOpenCheck:R0,LucideBookOpenText:N0,LucideBookPlus:W0,LucideBookSearch:G0,LucideBookTemplate:cn,LucideBookText:Y0,LucideBookType:K0,LucideBookUp:X0,LucideBookUp2:Z0,LucideBookUser:J0,LucideBookX:Q0,LucideBookmark:r2,LucideBookmarkCheck:t2,LucideBookmarkMinus:a2,LucideBookmarkPlus:n2,LucideBookmarkX:o2,LucideBoomBox:s2,LucideBot:c2,LucideBotMessageSquare:i2,LucideBotOff:l2,LucideBottleWine:h2,LucideBowArrow:d2,LucideBox:u2,LucideBoxSelect:oi,LucideBoxes:p2,LucideBraces:dn,LucideBrackets:y2,LucideBrain:k2,LucideBrainCircuit:m2,LucideBrainCog:f2,LucideBrickWall:b2,LucideBrickWallFire:g2,LucideBrickWallShield:M2,LucideBriefcase:v2,LucideBriefcaseBusiness:x2,LucideBriefcaseConveyorBelt:w2,LucideBriefcaseMedical:C2,LucideBringToFront:L2,LucideBrush:I2,LucideBrushCleaning:S2,LucideBubbles:_2,LucideBug:V2,LucideBugOff:B2,LucideBugPlay:A2,LucideBuilding:D2,LucideBuilding2:P2,LucideBus:z2,LucideBusFront:q2,LucideCable:T2,LucideCableCar:E2,LucideCake:H2,LucideCakeSlice:O2,LucideCalculator:F2,LucideCalendar:ul,LucideCalendar1:$2,LucideCalendarArrowDown:N2,LucideCalendarArrowUp:j2,LucideCalendarCheck:U2,LucideCalendarCheck2:R2,LucideCalendarClock:W2,LucideCalendarCog:Y2,LucideCalendarDays:G2,LucideCalendarFold:K2,LucideCalendarHeart:X2,LucideCalendarMinus:J2,LucideCalendarMinus2:Z2,LucideCalendarOff:Q2,LucideCalendarPlus:th,LucideCalendarPlus2:eh,LucideCalendarRange:ah,LucideCalendarSearch:nh,LucideCalendarSync:oh,LucideCalendarX:ih,LucideCalendarX2:rh,LucideCalendars:sh,LucideCamera:ch,LucideCameraOff:lh,LucideCandlestickChart:yn,LucideCandy:uh,LucideCandyCane:dh,LucideCandyOff:hh,LucideCannabis:yh,LucideCannabisOff:ph,LucideCaptions:hn,LucideCaptionsOff:fh,LucideCar:gh,LucideCarFront:mh,LucideCarTaxiFront:kh,LucideCaravan:bh,LucideCardSim:Mh,LucideCarrot:xh,LucideCaseLower:wh,LucideCaseSensitive:vh,LucideCaseUpper:Ch,LucideCassetteTape:Lh,LucideCast:Sh,LucideCastle:Ih,LucideCat:_h,LucideCctv:Bh,LucideChartArea:un,LucideChartBar:fn,LucideChartBarBig:pn,LucideChartBarDecreasing:Vh,LucideChartBarIncreasing:Ah,LucideChartBarStacked:Ph,LucideChartCandlestick:yn,LucideChartColumn:gn,LucideChartColumnBig:mn,LucideChartColumnDecreasing:Dh,LucideChartColumnIncreasing:kn,LucideChartColumnStacked:qh,LucideChartGantt:zh,LucideChartLine:bn,LucideChartNetwork:Eh,LucideChartNoAxesColumn:xn,LucideChartNoAxesColumnDecreasing:Th,LucideChartNoAxesColumnIncreasing:Mn,LucideChartNoAxesCombined:Oh,LucideChartNoAxesGantt:vn,LucideChartPie:wn,LucideChartScatter:Cn,LucideChartSpline:Fh,LucideCheck:ba,LucideCheckCheck:Hh,LucideCheckCircle:wa,LucideCheckCircle2:qn,LucideCheckLine:$h,LucideCheckSquare:Kr,LucideCheckSquare2:Xr,LucideChefHat:jh,LucideCherry:Rh,LucideChessBishop:Nh,LucideChessKing:Uh,LucideChessKnight:Wh,LucideChessPawn:Gh,LucideChessQueen:Yh,LucideChessRook:Kh,LucideChevronDown:Bt,LucideChevronDownCircle:En,LucideChevronDownSquare:Zr,LucideChevronFirst:Xh,LucideChevronLast:Zh,LucideChevronLeft:Ma,LucideChevronLeftCircle:Tn,LucideChevronLeftSquare:Jr,LucideChevronRight:xa,LucideChevronRightCircle:zn,LucideChevronRightSquare:Qr,LucideChevronUp:pl,LucideChevronUpCircle:On,LucideChevronUpSquare:ei,LucideChevronsDown:Qh,LucideChevronsDownUp:Jh,LucideChevronsLeft:yl,LucideChevronsLeftRight:tu,LucideChevronsLeftRightEllipsis:eu,LucideChevronsRight:fl,LucideChevronsRightLeft:au,LucideChevronsUp:ou,LucideChevronsUpDown:nu,LucideChrome:Ln,LucideChromium:Ln,LucideChurch:iu,LucideCigarette:su,LucideCigaretteOff:ru,LucideCircle:wu,LucideCircleAlert:At,LucideCircleArrowDown:Sn,LucideCircleArrowLeft:In,LucideCircleArrowOutDownLeft:_n,LucideCircleArrowOutDownRight:Bn,LucideCircleArrowOutUpLeft:An,LucideCircleArrowOutUpRight:Vn,LucideCircleArrowRight:Pn,LucideCircleArrowUp:Dn,LucideCircleCheck:qn,LucideCircleCheckBig:wa,LucideCircleChevronDown:En,LucideCircleChevronLeft:Tn,LucideCircleChevronRight:zn,LucideCircleChevronUp:On,LucideCircleDashed:lu,LucideCircleDivide:Hn,LucideCircleDollarSign:cu,LucideCircleDot:hu,LucideCircleDotDashed:du,LucideCircleEllipsis:pu,LucideCircleEqual:uu,LucideCircleFadingArrowUp:yu,LucideCircleFadingPlus:fu,LucideCircleGauge:Fn,LucideCircleHelp:Vt,LucideCircleMinus:$n,LucideCircleOff:mu,LucideCircleParking:Rn,LucideCircleParkingOff:jn,LucideCirclePause:Nn,LucideCirclePercent:Un,LucideCirclePile:ku,LucideCirclePlay:Wn,LucideCirclePlus:Gn,LucideCirclePoundSterling:gu,LucideCirclePower:Yn,LucideCircleQuestionMark:Vt,LucideCircleSlash:bu,LucideCircleSlash2:Kn,LucideCircleSlashed:Kn,LucideCircleSmall:Mu,LucideCircleStar:xu,LucideCircleStop:Xn,LucideCircleUser:Jn,LucideCircleUserRound:Zn,LucideCircleX:Qn,LucideCircuitBoard:vu,LucideCitrus:Cu,LucideClapperboard:Lu,LucideClipboard:zu,LucideClipboardCheck:Iu,LucideClipboardClock:Su,LucideClipboardCopy:_u,LucideClipboardEdit:to,LucideClipboardList:Bu,LucideClipboardMinus:Au,LucideClipboardPaste:Vu,LucideClipboardPen:to,LucideClipboardPenLine:eo,LucideClipboardPlus:Pu,LucideClipboardSignature:eo,LucideClipboardType:Du,LucideClipboardX:qu,LucideClock:ml,LucideClock1:Eu,LucideClock10:Tu,LucideClock11:Ou,LucideClock12:Hu,LucideClock2:Fu,LucideClock3:$u,LucideClock4:ju,LucideClock5:Ru,LucideClock6:Nu,LucideClock7:Uu,LucideClock8:Wu,LucideClock9:Gu,LucideClockAlert:Yu,LucideClockArrowDown:Ku,LucideClockArrowUp:Xu,LucideClockCheck:Zu,LucideClockFading:Ju,LucideClockPlus:Qu,LucideClosedCaption:ep,LucideCloud:gp,LucideCloudAlert:tp,LucideCloudBackup:ap,LucideCloudCheck:np,LucideCloudCog:op,LucideCloudDownload:ao,LucideCloudDrizzle:rp,LucideCloudFog:ip,LucideCloudHail:sp,LucideCloudLightning:lp,LucideCloudMoon:dp,LucideCloudMoonRain:cp,LucideCloudOff:hp,LucideCloudRain:pp,LucideCloudRainWind:up,LucideCloudSnow:yp,LucideCloudSun:mp,LucideCloudSunRain:fp,LucideCloudSync:kp,LucideCloudUpload:va,LucideCloudy:bp,LucideClover:Mp,LucideClub:xp,LucideCode:wp,LucideCode2:no,LucideCodeSquare:ti,LucideCodeXml:no,LucideCodepen:vp,LucideCodesandbox:Cp,LucideCoffee:Lp,LucideCog:Sp,LucideCoins:Ip,LucideColumns:oo,LucideColumns2:oo,LucideColumns3:ro,LucideColumns3Cog:Pt,LucideColumns4:_p,LucideColumnsSettings:Pt,LucideCombine:Bp,LucideCommand:Ap,LucideCompass:Vp,LucideComponent:Pp,LucideComputer:Dp,LucideConciergeBell:qp,LucideCone:zp,LucideConstruction:Ep,LucideContact:Tp,LucideContact2:io,LucideContactRound:io,LucideContainer:Op,LucideContrast:Hp,LucideCookie:$p,LucideCookingPot:Fp,LucideCopy:Gp,LucideCopyCheck:jp,LucideCopyMinus:Rp,LucideCopyPlus:Np,LucideCopySlash:Wp,LucideCopyX:Up,LucideCopyleft:Yp,LucideCopyright:Kp,LucideCornerDownLeft:Xp,LucideCornerDownRight:Jp,LucideCornerLeftDown:Zp,LucideCornerLeftUp:Qp,LucideCornerRightDown:ey,LucideCornerRightUp:ty,LucideCornerUpLeft:ay,LucideCornerUpRight:ny,LucideCpu:ws,LucideCreativeCommons:oy,LucideCreditCard:ry,LucideCroissant:iy,LucideCrop:sy,LucideCross:ly,LucideCrosshair:dy,LucideCrown:cy,LucideCuboid:hy,LucideCupSoda:uy,LucideCurlyBraces:dn,LucideCurrency:py,LucideCylinder:yy,LucideDam:fy,LucideDatabase:by,LucideDatabaseBackup:my,LucideDatabaseSearch:ky,LucideDatabaseZap:gy,LucideDecimalsArrowLeft:My,LucideDecimalsArrowRight:xy,LucideDelete:wy,LucideDessert:vy,LucideDiameter:Cy,LucideDiamond:Iy,LucideDiamondMinus:Ly,LucideDiamondPercent:so,LucideDiamondPlus:Sy,LucideDice1:_y,LucideDice2:By,LucideDice3:Ay,LucideDice4:Vy,LucideDice5:Py,LucideDice6:Dy,LucideDices:qy,LucideDiff:zy,LucideDisc:Hy,LucideDisc2:Ey,LucideDisc3:Ty,LucideDiscAlbum:Oy,LucideDivide:Fy,LucideDivideCircle:Hn,LucideDivideSquare:ii,LucideDna:jy,LucideDnaOff:$y,LucideDock:Ry,LucideDog:Uy,LucideDollarSign:Ny,LucideDonut:Gy,LucideDoorClosed:Yy,LucideDoorClosedLocked:Wy,LucideDoorOpen:Ky,LucideDot:Xy,LucideDotSquare:ri,LucideDownload:kl,LucideDownloadCloud:ao,LucideDraftingCompass:Zy,LucideDrama:Qy,LucideDribbble:Jy,LucideDrill:ef,LucideDrone:tf,LucideDroplet:nf,LucideDropletOff:af,LucideDroplets:of,LucideDrum:rf,LucideDrumstick:sf,LucideDumbbell:lf,LucideEar:df,LucideEarOff:cf,LucideEarth:lo,LucideEarthLock:hf,LucideEclipse:uf,LucideEdit:et,LucideEdit2:br,LucideEdit3:gr,LucideEgg:yf,LucideEggFried:pf,LucideEggOff:ff,LucideEllipsis:Ca,LucideEllipsisVertical:co,LucideEqual:gf,LucideEqualApproximately:kf,LucideEqualNot:mf,LucideEqualSquare:si,LucideEraser:bf,LucideEthernetPort:Mf,LucideEuro:xf,LucideEvCharger:wf,LucideExpand:vf,LucideExternalLink:Cf,LucideEye:vs,LucideEyeClosed:Lf,LucideEyeOff:gl,LucideFacebook:Sf,LucideFactory:If,LucideFan:_f,LucideFastForward:Bf,LucideFeather:Af,LucideFence:Vf,LucideFerrisWheel:Pf,LucideFigma:Df,LucideFile:sm,LucideFileArchive:qf,LucideFileAudio:Dt,LucideFileAudio2:Dt,LucideFileAxis3D:ho,LucideFileAxis3d:ho,LucideFileBadge:uo,LucideFileBadge2:uo,LucideFileBarChart:fo,LucideFileBarChart2:mo,LucideFileBox:zf,LucideFileBraces:yo,LucideFileBracesCorner:po,LucideFileChartColumn:mo,LucideFileChartColumnIncreasing:fo,LucideFileChartLine:ko,LucideFileChartPie:go,LucideFileCheck:Ef,LucideFileCheck2:bo,LucideFileCheckCorner:bo,LucideFileClock:Tf,LucideFileCode:Of,LucideFileCode2:Mo,LucideFileCodeCorner:Mo,LucideFileCog:xo,LucideFileCog2:xo,LucideFileDiff:Hf,LucideFileDigit:$f,LucideFileDown:Ff,LucideFileEdit:_o,LucideFileExclamationPoint:wo,LucideFileHeadphone:Dt,LucideFileHeart:jf,LucideFileImage:Rf,LucideFileInput:Nf,LucideFileJson:yo,LucideFileJson2:po,LucideFileKey:vo,LucideFileKey2:vo,LucideFileLineChart:ko,LucideFileLock:Co,LucideFileLock2:Co,LucideFileMinus:Wf,LucideFileMinus2:Lo,LucideFileMinusCorner:Lo,LucideFileMusic:Uf,LucideFileOutput:Gf,LucideFilePen:_o,LucideFilePenLine:So,LucideFilePieChart:go,LucideFilePlay:Io,LucideFilePlus:Yf,LucideFilePlus2:Bo,LucideFilePlusCorner:Bo,LucideFileQuestion:Ao,LucideFileQuestionMark:Ao,LucideFileScan:Kf,LucideFileSearch:Xf,LucideFileSearch2:Vo,LucideFileSearchCorner:Vo,LucideFileSignal:Po,LucideFileSignature:So,LucideFileSliders:Zf,LucideFileSpreadsheet:Jf,LucideFileStack:Qf,LucideFileSymlink:em,LucideFileTerminal:tm,LucideFileText:Cs,LucideFileType:am,LucideFileType2:Do,LucideFileTypeCorner:Do,LucideFileUp:nm,LucideFileUser:om,LucideFileVideo:Io,LucideFileVideo2:qo,LucideFileVideoCamera:qo,LucideFileVolume:rm,LucideFileVolume2:Po,LucideFileWarning:wo,LucideFileX:im,LucideFileX2:zo,LucideFileXCorner:zo,LucideFiles:cm,LucideFilm:lm,LucideFilter:Fo,LucideFilterX:Ho,LucideFingerprint:Eo,LucideFingerprintPattern:Eo,LucideFireExtinguisher:dm,LucideFish:pm,LucideFishOff:hm,LucideFishSymbol:um,LucideFishingHook:ym,LucideFlag:gm,LucideFlagOff:fm,LucideFlagTriangleLeft:mm,LucideFlagTriangleRight:km,LucideFlame:Mm,LucideFlameKindling:bm,LucideFlashlight:wm,LucideFlashlightOff:xm,LucideFlaskConical:Cm,LucideFlaskConicalOff:vm,LucideFlaskRound:Lm,LucideFlipHorizontal:Gr,LucideFlipHorizontal2:Sm,LucideFlipVertical:Yr,LucideFlipVertical2:Im,LucideFlower:Bm,LucideFlower2:_m,LucideFocus:Am,LucideFoldHorizontal:Vm,LucideFoldVertical:Pm,LucideFolder:ik,LucideFolderArchive:Dm,LucideFolderCheck:qm,LucideFolderClock:zm,LucideFolderClosed:Em,LucideFolderCode:Tm,LucideFolderCog:To,LucideFolderCog2:To,LucideFolderDot:Om,LucideFolderDown:Hm,LucideFolderEdit:Oo,LucideFolderGit:$m,LucideFolderGit2:Fm,LucideFolderHeart:jm,LucideFolderInput:Rm,LucideFolderKanban:Um,LucideFolderKey:Nm,LucideFolderLock:Wm,LucideFolderMinus:Km,LucideFolderOpen:Ym,LucideFolderOpenDot:Gm,LucideFolderOutput:Xm,LucideFolderPen:Oo,LucideFolderPlus:Qm,LucideFolderRoot:Zm,LucideFolderSearch:ek,LucideFolderSearch2:Jm,LucideFolderSymlink:ak,LucideFolderSync:tk,LucideFolderTree:nk,LucideFolderUp:ok,LucideFolderX:rk,LucideFolders:sk,LucideFootprints:lk,LucideForkKnife:Ji,LucideForkKnifeCrossed:Zi,LucideForklift:ck,LucideForm:dk,LucideFormInput:xr,LucideForward:uk,LucideFrame:hk,LucideFramer:pk,LucideFrown:yk,LucideFuel:fk,LucideFullscreen:mk,LucideFunctionSquare:li,LucideFunnel:Fo,LucideFunnelPlus:kk,LucideFunnelX:Ho,LucideGalleryHorizontal:bk,LucideGalleryHorizontalEnd:gk,LucideGalleryThumbnails:Mk,LucideGalleryVertical:wk,LucideGalleryVerticalEnd:xk,LucideGamepad:Sk,LucideGamepad2:vk,LucideGamepadDirectional:Ck,LucideGanttChart:vn,LucideGanttChartSquare:Tt,LucideGauge:Lk,LucideGaugeCircle:Fn,LucideGavel:Ik,LucideGem:_k,LucideGeorgianLari:Bk,LucideGhost:Ak,LucideGift:Vk,LucideGitBranch:qk,LucideGitBranchMinus:Pk,LucideGitBranchPlus:Dk,LucideGitCommit:$o,LucideGitCommitHorizontal:$o,LucideGitCommitVertical:zk,LucideGitCompare:Tk,LucideGitCompareArrows:Ek,LucideGitFork:Ok,LucideGitGraph:Hk,LucideGitMerge:$k,LucideGitMergeConflict:Fk,LucideGitPullRequest:Gk,LucideGitPullRequestArrow:jk,LucideGitPullRequestClosed:Rk,LucideGitPullRequestCreate:Uk,LucideGitPullRequestCreateArrow:Nk,LucideGitPullRequestDraft:Wk,LucideGithub:Yk,LucideGitlab:Kk,LucideGlassWater:Xk,LucideGlasses:Zk,LucideGlobe:bl,LucideGlobe2:lo,LucideGlobeLock:Jk,LucideGlobeOff:Qk,LucideGlobeX:eg,LucideGoal:tg,LucideGpu:ng,LucideGrab:Wo,LucideGraduationCap:ag,LucideGrape:og,LucideGrid:qt,LucideGrid2X2:Uo,LucideGrid2X2Check:jo,LucideGrid2X2Plus:No,LucideGrid2X2X:Ro,LucideGrid2x2:Uo,LucideGrid2x2Check:jo,LucideGrid2x2Plus:No,LucideGrid2x2X:Ro,LucideGrid3X3:qt,LucideGrid3x2:rg,LucideGrid3x3:qt,LucideGrip:lg,LucideGripHorizontal:ig,LucideGripVertical:sg,LucideGroup:dg,LucideGuitar:cg,LucideHam:hg,LucideHamburger:ug,LucideHammer:pg,LucideHand:bg,LucideHandCoins:yg,LucideHandFist:fg,LucideHandGrab:Wo,LucideHandHeart:mg,LucideHandHelping:Go,LucideHandMetal:kg,LucideHandPlatter:gg,LucideHandbag:Mg,LucideHandshake:xg,LucideHardDrive:Cg,LucideHardDriveDownload:wg,LucideHardDriveUpload:vg,LucideHardHat:Lg,LucideHash:Sg,LucideHatGlasses:Ig,LucideHaze:_g,LucideHd:Bg,LucideHdmiPort:Ag,LucideHeading:Tg,LucideHeading1:Vg,LucideHeading2:Pg,LucideHeading3:Dg,LucideHeading4:qg,LucideHeading5:zg,LucideHeading6:Eg,LucideHeadphoneOff:Og,LucideHeadphones:Hg,LucideHeadset:Fg,LucideHeart:Gg,LucideHeartCrack:$g,LucideHeartHandshake:Rg,LucideHeartMinus:jg,LucideHeartOff:Ng,LucideHeartPlus:Ug,LucideHeartPulse:Wg,LucideHeater:Yg,LucideHelicopter:Kg,LucideHelpCircle:Vt,LucideHelpingHand:Go,LucideHexagon:Xg,LucideHighlighter:Zg,LucideHistory:Jg,LucideHome:Yo,LucideHop:e4,LucideHopOff:Qg,LucideHospital:t4,LucideHotel:a4,LucideHourglass:n4,LucideHouse:Yo,LucideHouseHeart:o4,LucideHousePlug:r4,LucideHousePlus:i4,LucideHouseWifi:s4,LucideIceCream:Xo,LucideIceCream2:Ko,LucideIceCreamBowl:Ko,LucideIceCreamCone:Xo,LucideIdCard:c4,LucideIdCardLanyard:l4,LucideImage:k4,LucideImageDown:d4,LucideImageMinus:h4,LucideImageOff:u4,LucideImagePlay:p4,LucideImagePlus:y4,LucideImageUp:f4,LucideImageUpscale:m4,LucideImages:g4,LucideImport:M4,LucideInbox:b4,LucideIndent:Et,LucideIndentDecrease:zt,LucideIndentIncrease:Et,LucideIndianRupee:x4,LucideInfinity:w4,LucideInfo:v4,LucideInspect:yi,LucideInspectionPanel:C4,LucideInstagram:L4,LucideItalic:S4,LucideIterationCcw:I4,LucideIterationCw:_4,LucideJapaneseYen:B4,LucideJoystick:A4,LucideKanban:V4,LucideKanbanSquare:ci,LucideKanbanSquareDashed:ai,LucideKayak:P4,LucideKey:E4,LucideKeyRound:D4,LucideKeySquare:q4,LucideKeyboard:O4,LucideKeyboardMusic:z4,LucideKeyboardOff:T4,LucideLamp:N4,LucideLampCeiling:H4,LucideLampDesk:F4,LucideLampFloor:j4,LucideLampWallDown:$4,LucideLampWallUp:R4,LucideLandPlot:U4,LucideLandmark:G4,LucideLanguages:W4,LucideLaptop:K4,LucideLaptop2:Zo,LucideLaptopMinimal:Zo,LucideLaptopMinimalCheck:Y4,LucideLasso:Z4,LucideLassoSelect:X4,LucideLaugh:J4,LucideLayers:Jo,LucideLayers2:Q4,LucideLayers3:Jo,LucideLayersPlus:e5,LucideLayout:kr,LucideLayoutDashboard:t5,LucideLayoutGrid:a5,LucideLayoutList:n5,LucideLayoutPanelLeft:o5,LucideLayoutPanelTop:r5,LucideLayoutTemplate:i5,LucideLeaf:s5,LucideLeafyGreen:l5,LucideLectern:c5,LucideLensConcave:d5,LucideLensConvex:h5,LucideLetterText:Ei,LucideLibrary:f5,LucideLibraryBig:u5,LucideLibrarySquare:di,LucideLifeBuoy:y5,LucideLigature:p5,LucideLightbulb:k5,LucideLightbulbOff:m5,LucideLineChart:bn,LucideLineDotRightHorizontal:g5,LucideLineSquiggle:b5,LucideLink:Ml,LucideLink2:x5,LucideLink2Off:M5,LucideLinkedin:w5,LucideList:$5,LucideListCheck:v5,LucideListChecks:C5,LucideListChevronsDownUp:S5,LucideListChevronsUpDown:L5,LucideListCollapse:I5,LucideListEnd:_5,LucideListFilter:B5,LucideListFilterPlus:A5,LucideListIndentDecrease:zt,LucideListIndentIncrease:Et,LucideListMinus:q5,LucideListMusic:V5,LucideListOrdered:P5,LucideListPlus:D5,LucideListRestart:z5,LucideListStart:E5,LucideListTodo:O5,LucideListTree:T5,LucideListVideo:H5,LucideListX:F5,LucideLoader:R5,LucideLoader2:bt,LucideLoaderCircle:bt,LucideLoaderPinwheel:j5,LucideLocate:W5,LucideLocateFixed:N5,LucideLocateOff:U5,LucideLocationEdit:ar,LucideLock:Y5,LucideLockKeyhole:G5,LucideLockKeyholeOpen:Qo,LucideLockOpen:er,LucideLogIn:K5,LucideLogOut:X5,LucideLogs:Z5,LucideLollipop:J5,LucideLuggage:Q5,LucideMSquare:hi,LucideMagnet:e3,LucideMail:l3,LucideMailCheck:t3,LucideMailMinus:n3,LucideMailOpen:a3,LucideMailPlus:o3,LucideMailQuestion:tr,LucideMailQuestionMark:tr,LucideMailSearch:r3,LucideMailWarning:s3,LucideMailX:i3,LucideMailbox:h3,LucideMails:c3,LucideMap:C3,LucideMapMinus:d3,LucideMapPin:Ls,LucideMapPinCheck:u3,LucideMapPinCheckInside:p3,LucideMapPinHouse:y3,LucideMapPinMinus:m3,LucideMapPinMinusInside:f3,LucideMapPinOff:k3,LucideMapPinPen:ar,LucideMapPinPlus:b3,LucideMapPinPlusInside:g3,LucideMapPinX:M3,LucideMapPinXInside:x3,LucideMapPinned:w3,LucideMapPlus:v3,LucideMars:I3,LucideMarsStroke:L3,LucideMartini:S3,LucideMaximize:B3,LucideMaximize2:_3,LucideMedal:A3,LucideMegaphone:P3,LucideMegaphoneOff:V3,LucideMeh:D3,LucideMemoryStick:q3,LucideMenu:z3,LucideMenuSquare:ui,LucideMerge:E3,LucideMessageCircle:G3,LucideMessageCircleCheck:T3,LucideMessageCircleCode:O3,LucideMessageCircleDashed:H3,LucideMessageCircleHeart:F3,LucideMessageCircleMore:j3,LucideMessageCircleOff:$3,LucideMessageCirclePlus:R3,LucideMessageCircleQuestion:nr,LucideMessageCircleQuestionMark:nr,LucideMessageCircleReply:N3,LucideMessageCircleWarning:U3,LucideMessageCircleX:W3,LucideMessageSquare:Ss,LucideMessageSquareCheck:Y3,LucideMessageSquareCode:K3,LucideMessageSquareDashed:X3,LucideMessageSquareDiff:Z3,LucideMessageSquareDot:J3,LucideMessageSquareHeart:Q3,LucideMessageSquareLock:e6,LucideMessageSquareMore:t6,LucideMessageSquareOff:a6,LucideMessageSquarePlus:n6,LucideMessageSquareQuote:o6,LucideMessageSquareReply:r6,LucideMessageSquareShare:i6,LucideMessageSquareText:l6,LucideMessageSquareWarning:s6,LucideMessageSquareX:c6,LucideMessagesSquare:d6,LucideMetronome:h6,LucideMic:p6,LucideMic2:or,LucideMicOff:u6,LucideMicVocal:or,LucideMicrochip:y6,LucideMicroscope:f6,LucideMicrowave:m6,LucideMilestone:k6,LucideMilk:b6,LucideMilkOff:g6,LucideMinimize:M6,LucideMinimize2:x6,LucideMinus:xl,LucideMinusCircle:$n,LucideMinusSquare:pi,LucideMirrorRectangular:w6,LucideMirrorRound:v6,LucideMonitor:T6,LucideMonitorCheck:C6,LucideMonitorCloud:L6,LucideMonitorCog:S6,LucideMonitorDot:I6,LucideMonitorDown:_6,LucideMonitorOff:B6,LucideMonitorPause:A6,LucideMonitorPlay:V6,LucideMonitorSmartphone:P6,LucideMonitorSpeaker:D6,LucideMonitorStop:q6,LucideMonitorUp:z6,LucideMonitorX:E6,LucideMoon:H6,LucideMoonStar:O6,LucideMoreHorizontal:Ca,LucideMoreVertical:co,LucideMotorbike:F6,LucideMountain:j6,LucideMountainSnow:$6,LucideMouse:Z6,LucideMouseLeft:R6,LucideMouseOff:N6,LucideMousePointer:K6,LucideMousePointer2:W6,LucideMousePointer2Off:U6,LucideMousePointerBan:G6,LucideMousePointerClick:Y6,LucideMousePointerSquareDashed:ni,LucideMouseRight:X6,LucideMove:d8,LucideMove3D:rr,LucideMove3d:rr,LucideMoveDiagonal:Q6,LucideMoveDiagonal2:J6,LucideMoveDown:a8,LucideMoveDownLeft:e8,LucideMoveDownRight:t8,LucideMoveHorizontal:n8,LucideMoveLeft:o8,LucideMoveRight:i8,LucideMoveUp:l8,LucideMoveUpLeft:r8,LucideMoveUpRight:s8,LucideMoveVertical:c8,LucideMusic:y8,LucideMusic2:h8,LucideMusic3:u8,LucideMusic4:p8,LucideNavigation:g8,LucideNavigation2:m8,LucideNavigation2Off:f8,LucideNavigationOff:k8,LucideNetwork:b8,LucideNewspaper:M8,LucideNfc:x8,LucideNonBinary:w8,LucideNotebook:S8,LucideNotebookPen:C8,LucideNotebookTabs:v8,LucideNotebookText:L8,LucideNotepadText:_8,LucideNotepadTextDashed:I8,LucideNut:A8,LucideNutOff:B8,LucideOctagon:P8,LucideOctagonAlert:ir,LucideOctagonMinus:V8,LucideOctagonPause:sr,LucideOctagonX:lr,LucideOmega:D8,LucideOption:q8,LucideOrbit:z8,LucideOrigami:E8,LucideOutdent:zt,LucidePackage:N8,LucidePackage2:T8,LucidePackageCheck:H8,LucidePackageMinus:O8,LucidePackageOpen:F8,LucidePackagePlus:$8,LucidePackageSearch:j8,LucidePackageX:R8,LucidePaintBucket:U8,LucidePaintRoller:W8,LucidePaintbrush:G8,LucidePaintbrush2:cr,LucidePaintbrushVertical:cr,LucidePalette:Y8,LucidePalmtree:Fi,LucidePanda:K8,LucidePanelBottom:J8,LucidePanelBottomClose:X8,LucidePanelBottomDashed:dr,LucidePanelBottomInactive:dr,LucidePanelBottomOpen:Z8,LucidePanelLeft:yr,LucidePanelLeftClose:ur,LucidePanelLeftDashed:hr,LucidePanelLeftInactive:hr,LucidePanelLeftOpen:pr,LucidePanelLeftRightDashed:Q8,LucidePanelRight:a7,LucidePanelRightClose:e7,LucidePanelRightDashed:fr,LucidePanelRightInactive:fr,LucidePanelRightOpen:t7,LucidePanelTop:i7,LucidePanelTopBottomDashed:n7,LucidePanelTopClose:o7,LucidePanelTopDashed:mr,LucidePanelTopInactive:mr,LucidePanelTopOpen:r7,LucidePanelsLeftBottom:s7,LucidePanelsLeftRight:ro,LucidePanelsRightBottom:l7,LucidePanelsTopBottom:Cr,LucidePanelsTopLeft:kr,LucidePaperclip:c7,LucideParentheses:d7,LucideParkingCircle:Rn,LucideParkingCircleOff:jn,LucideParkingMeter:h7,LucideParkingSquare:mi,LucideParkingSquareOff:fi,LucidePartyPopper:u7,LucidePause:p7,LucidePauseCircle:Nn,LucidePauseOctagon:sr,LucidePawPrint:y7,LucidePcCase:f7,LucidePen:br,LucidePenBox:et,LucidePenLine:gr,LucidePenOff:m7,LucidePenSquare:et,LucidePenTool:k7,LucidePencil:Is,LucidePencilLine:g7,LucidePencilOff:b7,LucidePencilRuler:M7,LucidePentagon:x7,LucidePercent:w7,LucidePercentCircle:Un,LucidePercentDiamond:so,LucidePercentSquare:ki,LucidePersonStanding:v7,LucidePhilippinePeso:C7,LucidePhone:wl,LucidePhoneCall:L7,LucidePhoneForwarded:S7,LucidePhoneIncoming:I7,LucidePhoneMissed:B7,LucidePhoneOff:_7,LucidePhoneOutgoing:A7,LucidePi:V7,LucidePiSquare:gi,LucidePiano:P7,LucidePickaxe:D7,LucidePictureInPicture:z7,LucidePictureInPicture2:q7,LucidePieChart:wn,LucidePiggyBank:E7,LucidePilcrow:H7,LucidePilcrowLeft:T7,LucidePilcrowRight:O7,LucidePilcrowSquare:bi,LucidePill:N7,LucidePillBottle:F7,LucidePin:j7,LucidePinOff:$7,LucidePipette:R7,LucidePizza:U7,LucidePlane:vl,LucidePlaneLanding:W7,LucidePlaneTakeoff:G7,LucidePlay:Y7,LucidePlayCircle:Wn,LucidePlaySquare:Mi,LucidePlug:X7,LucidePlug2:K7,LucidePlugZap:Mr,LucidePlugZap2:Mr,LucidePlus:Cl,LucidePlusCircle:Gn,LucidePlusSquare:xi,LucidePocket:J7,LucidePocketKnife:Z7,LucidePodcast:Q7,LucidePointer:tb,LucidePointerOff:eb,LucidePopcorn:ab,LucidePopsicle:nb,LucidePoundSterling:rb,LucidePower:ib,LucidePowerCircle:Yn,LucidePowerOff:ob,LucidePowerSquare:wi,LucidePresentation:sb,LucidePrinter:db,LucidePrinterCheck:lb,LucidePrinterX:cb,LucideProjector:hb,LucideProportions:yb,LucidePuzzle:ub,LucidePyramid:pb,LucideQrCode:fb,LucideQuote:mb,LucideRabbit:gb,LucideRadar:kb,LucideRadiation:Mb,LucideRadical:bb,LucideRadio:vb,LucideRadioReceiver:xb,LucideRadioTower:wb,LucideRadius:Cb,LucideRailSymbol:Lb,LucideRainbow:Sb,LucideRat:Ib,LucideRatio:_b,LucideReceipt:Ob,LucideReceiptCent:Bb,LucideReceiptEuro:Ab,LucideReceiptIndianRupee:Vb,LucideReceiptJapaneseYen:Pb,LucideReceiptPoundSterling:Db,LucideReceiptRussianRuble:qb,LucideReceiptSwissFranc:zb,LucideReceiptText:Eb,LucideReceiptTurkishLira:Tb,LucideRectangleCircle:Hb,LucideRectangleEllipsis:xr,LucideRectangleGoggles:Fb,LucideRectangleHorizontal:$b,LucideRectangleVertical:jb,LucideRecycle:Rb,LucideRedo:Ub,LucideRedo2:Nb,LucideRedoDot:Wb,LucideRefreshCcw:Ll,LucideRefreshCcwDot:Gb,LucideRefreshCw:_s,LucideRefreshCwOff:Yb,LucideRefrigerator:Xb,LucideRegex:Kb,LucideRemoveFormatting:Zb,LucideRepeat:Qb,LucideRepeat1:Jb,LucideRepeat2:tM,LucideReplace:aM,LucideReplaceAll:eM,LucideReply:oM,LucideReplyAll:nM,LucideRewind:iM,LucideRibbon:rM,LucideRocket:sM,LucideRockingChair:lM,LucideRollerCoaster:cM,LucideRose:dM,LucideRotate3D:wr,LucideRotate3d:wr,LucideRotateCcw:pM,LucideRotateCcwKey:hM,LucideRotateCcwSquare:uM,LucideRotateCw:fM,LucideRotateCwSquare:yM,LucideRoute:kM,LucideRouteOff:mM,LucideRouter:gM,LucideRows:vr,LucideRows2:vr,LucideRows3:Cr,LucideRows4:bM,LucideRss:MM,LucideRuler:xM,LucideRulerDimensionLine:wM,LucideRussianRuble:vM,LucideSailboat:CM,LucideSalad:LM,LucideSandwich:IM,LucideSatellite:_M,LucideSatelliteDish:SM,LucideSaudiRiyal:BM,LucideSave:PM,LucideSaveAll:VM,LucideSaveOff:AM,LucideScale:DM,LucideScale3D:Lr,LucideScale3d:Lr,LucideScaling:qM,LucideScan:jM,LucideScanBarcode:zM,LucideScanEye:EM,LucideScanFace:TM,LucideScanHeart:OM,LucideScanLine:HM,LucideScanQrCode:$M,LucideScanSearch:FM,LucideScanText:RM,LucideScatterChart:Cn,LucideSchool:NM,LucideSchool2:Ri,LucideScissors:GM,LucideScissorsLineDashed:UM,LucideScissorsSquare:vi,LucideScissorsSquareDashedBottom:Wr,LucideScooter:WM,LucideScreenShare:KM,LucideScreenShareOff:YM,LucideScroll:ZM,LucideScrollText:XM,LucideSearch:Sr,LucideSearchAlert:JM,LucideSearchCheck:ex,LucideSearchCode:QM,LucideSearchSlash:tx,LucideSearchX:ax,LucideSection:nx,LucideSend:rx,LucideSendHorizonal:Ir,LucideSendHorizontal:Ir,LucideSendToBack:ox,LucideSeparatorHorizontal:ix,LucideSeparatorVertical:sx,LucideServer:Sl,LucideServerCog:lx,LucideServerCrash:cx,LucideServerOff:hx,LucideSettings:ux,LucideSettings2:dx,LucideShapes:px,LucideShare:yx,LucideShare2:Il,LucideSheet:fx,LucideShell:mx,LucideShelvingUnit:kx,LucideShield:Ix,LucideShieldAlert:gx,LucideShieldBan:bx,LucideShieldCheck:Mx,LucideShieldClose:Br,LucideShieldEllipsis:xx,LucideShieldHalf:wx,LucideShieldMinus:Lx,LucideShieldOff:vx,LucideShieldPlus:Cx,LucideShieldQuestion:_r,LucideShieldQuestionMark:_r,LucideShieldUser:Sx,LucideShieldX:Br,LucideShip:Bx,LucideShipWheel:_x,LucideShirt:Ax,LucideShoppingBag:Vx,LucideShoppingBasket:Px,LucideShoppingCart:Bs,LucideShovel:qx,LucideShowerHead:Dx,LucideShredder:zx,LucideShrimp:Ex,LucideShrink:Tx,LucideShrub:Ox,LucideShuffle:Hx,LucideSidebar:yr,LucideSidebarClose:ur,LucideSidebarOpen:pr,LucideSigma:Fx,LucideSigmaSquare:Ci,LucideSignal:Ux,LucideSignalHigh:$x,LucideSignalLow:jx,LucideSignalMedium:Rx,LucideSignalZero:Nx,LucideSignature:Wx,LucideSignpost:Yx,LucideSignpostBig:Gx,LucideSiren:Kx,LucideSkipBack:Zx,LucideSkipForward:Xx,LucideSkull:Qx,LucideSlack:Jx,LucideSlash:e9,LucideSlashSquare:Li,LucideSlice:t9,LucideSliders:Ar,LucideSlidersHorizontal:_l,LucideSlidersVertical:Ar,LucideSmartphone:o9,LucideSmartphoneCharging:a9,LucideSmartphoneNfc:n9,LucideSmile:i9,LucideSmilePlus:r9,LucideSnail:s9,LucideSnowflake:l9,LucideSoapDispenserDroplet:c9,LucideSofa:d9,LucideSolarPanel:h9,LucideSortAsc:tn,LucideSortDesc:Ja,LucideSoup:u9,LucideSpace:p9,LucideSpade:y9,LucideSparkle:f9,LucideSparkles:Vr,LucideSpeaker:m9,LucideSpeech:k9,LucideSpellCheck:M9,LucideSpellCheck2:g9,LucideSpline:x9,LucideSplinePointer:b9,LucideSplit:w9,LucideSplitSquareHorizontal:Si,LucideSplitSquareVertical:Ii,LucideSpool:v9,LucideSpotlight:C9,LucideSprayCan:L9,LucideSprout:S9,LucideSquare:F9,LucideSquareActivity:Pr,LucideSquareArrowDown:zr,LucideSquareArrowDownLeft:Dr,LucideSquareArrowDownRight:qr,LucideSquareArrowLeft:Er,LucideSquareArrowOutDownLeft:Tr,LucideSquareArrowOutDownRight:Or,LucideSquareArrowOutUpLeft:Hr,LucideSquareArrowOutUpRight:Fr,LucideSquareArrowRight:$r,LucideSquareArrowRightEnter:I9,LucideSquareArrowRightExit:_9,LucideSquareArrowUp:Nr,LucideSquareArrowUpLeft:Rr,LucideSquareArrowUpRight:jr,LucideSquareAsterisk:Ur,LucideSquareBottomDashedScissors:Wr,LucideSquareCenterlineDashedHorizontal:Gr,LucideSquareCenterlineDashedVertical:Yr,LucideSquareChartGantt:Tt,LucideSquareCheck:Xr,LucideSquareCheckBig:Kr,LucideSquareChevronDown:Zr,LucideSquareChevronLeft:Jr,LucideSquareChevronRight:Qr,LucideSquareChevronUp:ei,LucideSquareCode:ti,LucideSquareDashed:oi,LucideSquareDashedBottom:A9,LucideSquareDashedBottomCode:B9,LucideSquareDashedKanban:ai,LucideSquareDashedMousePointer:ni,LucideSquareDashedTopSolid:V9,LucideSquareDivide:ii,LucideSquareDot:ri,LucideSquareEqual:si,LucideSquareFunction:li,LucideSquareGanttChart:Tt,LucideSquareKanban:ci,LucideSquareLibrary:di,LucideSquareM:hi,LucideSquareMenu:ui,LucideSquareMinus:pi,LucideSquareMousePointer:yi,LucideSquareParking:mi,LucideSquareParkingOff:fi,LucideSquarePause:P9,LucideSquarePen:et,LucideSquarePercent:ki,LucideSquarePi:gi,LucideSquarePilcrow:bi,LucideSquarePlay:Mi,LucideSquarePlus:xi,LucideSquarePower:wi,LucideSquareRadical:q9,LucideSquareRoundCorner:D9,LucideSquareScissors:vi,LucideSquareSigma:Ci,LucideSquareSlash:Li,LucideSquareSplitHorizontal:Si,LucideSquareSplitVertical:Ii,LucideSquareSquare:z9,LucideSquareStack:E9,LucideSquareStar:O9,LucideSquareStop:T9,LucideSquareTerminal:_i,LucideSquareUser:Vi,LucideSquareUserRound:Bi,LucideSquareX:Ai,LucideSquaresExclude:H9,LucideSquaresIntersect:$9,LucideSquaresSubtract:j9,LucideSquaresUnite:R9,LucideSquircle:U9,LucideSquircleDashed:N9,LucideSquirrel:W9,LucideStamp:G9,LucideStar:Z9,LucideStarHalf:Y9,LucideStarOff:K9,LucideStars:Vr,LucideStepBack:X9,LucideStepForward:J9,LucideStethoscope:Q9,LucideSticker:ew,LucideStickyNote:tw,LucideStone:aw,LucideStopCircle:Xn,LucideStore:nw,LucideStretchHorizontal:rw,LucideStretchVertical:ow,LucideStrikethrough:iw,LucideSubscript:sw,LucideSubtitles:hn,LucideSun:uw,LucideSunDim:lw,LucideSunMedium:cw,LucideSunMoon:hw,LucideSunSnow:dw,LucideSunrise:pw,LucideSunset:yw,LucideSuperscript:fw,LucideSwatchBook:mw,LucideSwissFranc:kw,LucideSwitchCamera:bw,LucideSword:gw,LucideSwords:Mw,LucideSyringe:xw,LucideTable:Aw,LucideTable2:ww,LucideTableCellsMerge:vw,LucideTableCellsSplit:Cw,LucideTableColumnsSplit:Lw,LucideTableConfig:Pt,LucideTableOfContents:Sw,LucideTableProperties:Iw,LucideTableRowsSplit:_w,LucideTablet:Bw,LucideTabletSmartphone:Vw,LucideTablets:Pw,LucideTag:Dw,LucideTags:qw,LucideTally1:zw,LucideTally2:Ew,LucideTally3:Tw,LucideTally4:Ow,LucideTally5:Hw,LucideTangent:Fw,LucideTarget:$w,LucideTelescope:jw,LucideTent:Nw,LucideTentTree:Rw,LucideTerminal:Uw,LucideTerminalSquare:_i,LucideTestTube:Ww,LucideTestTube2:Pi,LucideTestTubeDiagonal:Pi,LucideTestTubes:Gw,LucideText:Ot,LucideTextAlignCenter:zi,LucideTextAlignEnd:Di,LucideTextAlignJustify:qi,LucideTextAlignStart:Ot,LucideTextCursor:Kw,LucideTextCursorInput:Yw,LucideTextInitial:Ei,LucideTextQuote:Zw,LucideTextSearch:Xw,LucideTextSelect:Oi,LucideTextSelection:Oi,LucideTextWrap:Ti,LucideTheater:Jw,LucideThermometer:tv,LucideThermometerSnowflake:Qw,LucideThermometerSun:ev,LucideThumbsDown:nv,LucideThumbsUp:av,LucideTicket:hv,LucideTicketCheck:ov,LucideTicketMinus:rv,LucideTicketPercent:iv,LucideTicketPlus:sv,LucideTicketSlash:lv,LucideTicketX:cv,LucideTickets:uv,LucideTicketsPlane:dv,LucideTimer:fv,LucideTimerOff:pv,LucideTimerReset:yv,LucideToggleLeft:Bl,LucideToggleRight:mv,LucideToilet:kv,LucideToolCase:gv,LucideToolbox:bv,LucideTornado:Mv,LucideTorus:xv,LucideTouchpad:vv,LucideTouchpadOff:wv,LucideTowelRack:Cv,LucideTowerControl:Lv,LucideToyBrick:Sv,LucideTractor:Iv,LucideTrafficCone:_v,LucideTrain:Hi,LucideTrainFront:Pv,LucideTrainFrontTunnel:Bv,LucideTrainTrack:Av,LucideTramFront:Hi,LucideTransgender:Vv,LucideTrash:Dv,LucideTrash2:As,LucideTreeDeciduous:qv,LucideTreePalm:Fi,LucideTreePine:zv,LucideTrees:Ev,LucideTrello:Tv,LucideTrendingDown:Ov,LucideTrendingUp:Fv,LucideTrendingUpDown:Hv,LucideTriangle:Nv,LucideTriangleAlert:$i,LucideTriangleDashed:$v,LucideTriangleRight:Rv,LucideTrophy:jv,LucideTruck:Wv,LucideTruckElectric:Uv,LucideTurkishLira:Gv,LucideTurntable:Yv,LucideTurtle:Kv,LucideTv:Zv,LucideTv2:ji,LucideTvMinimal:ji,LucideTvMinimalPlay:Xv,LucideTwitch:Jv,LucideTwitter:eC,LucideType:tC,LucideTypeOutline:Qv,LucideUmbrella:nC,LucideUmbrellaOff:aC,LucideUnderline:oC,LucideUndo:iC,LucideUndo2:rC,LucideUndoDot:sC,LucideUnfoldHorizontal:lC,LucideUnfoldVertical:cC,LucideUngroup:dC,LucideUniversity:Ri,LucideUnlink:uC,LucideUnlink2:hC,LucideUnlock:er,LucideUnlockKeyhole:Qo,LucideUnplug:pC,LucideUpload:yC,LucideUploadCloud:va,LucideUsb:fC,LucideUser:Al,LucideUser2:Ki,LucideUserCheck:mC,LucideUserCheck2:Ni,LucideUserCircle:Jn,LucideUserCircle2:Zn,LucideUserCog:kC,LucideUserCog2:Ui,LucideUserKey:gC,LucideUserLock:bC,LucideUserMinus:MC,LucideUserMinus2:Wi,LucideUserPen:xC,LucideUserPlus:wC,LucideUserPlus2:Gi,LucideUserRound:Ki,LucideUserRoundCheck:Ni,LucideUserRoundCog:Ui,LucideUserRoundKey:vC,LucideUserRoundMinus:Wi,LucideUserRoundPen:CC,LucideUserRoundPlus:Gi,LucideUserRoundSearch:LC,LucideUserRoundX:Yi,LucideUserSearch:IC,LucideUserSquare:Vi,LucideUserSquare2:Bi,LucideUserStar:SC,LucideUserX:_C,LucideUserX2:Yi,LucideUsers:BC,LucideUsers2:Xi,LucideUsersRound:Xi,LucideUtensils:Ji,LucideUtensilsCrossed:Zi,LucideUtilityPole:AC,LucideVan:VC,LucideVariable:DC,LucideVault:PC,LucideVectorSquare:qC,LucideVegan:zC,LucideVenetianMask:EC,LucideVenus:TC,LucideVenusAndMars:OC,LucideVerified:on,LucideVibrate:FC,LucideVibrateOff:HC,LucideVideo:jC,LucideVideoOff:$C,LucideVideotape:RC,LucideView:NC,LucideVoicemail:UC,LucideVolleyball:YC,LucideVolume:XC,LucideVolume1:WC,LucideVolume2:GC,LucideVolumeOff:KC,LucideVolumeX:ZC,LucideVote:JC,LucideWallet:eL,LucideWallet2:Qi,LucideWalletCards:QC,LucideWalletMinimal:Qi,LucideWallpaper:tL,LucideWand:aL,LucideWand2:es,LucideWandSparkles:es,LucideWarehouse:nL,LucideWashingMachine:oL,LucideWatch:rL,LucideWaves:cL,LucideWavesArrowDown:iL,LucideWavesArrowUp:sL,LucideWavesLadder:lL,LucideWaypoints:dL,LucideWebcam:hL,LucideWebhook:pL,LucideWebhookOff:uL,LucideWeight:fL,LucideWeightTilde:yL,LucideWheat:kL,LucideWheatOff:mL,LucideWholeWord:gL,LucideWifi:SL,LucideWifiCog:bL,LucideWifiHigh:ML,LucideWifiLow:wL,LucideWifiOff:xL,LucideWifiPen:vL,LucideWifiSync:CL,LucideWifiZero:LL,LucideWind:IL,LucideWindArrowDown:_L,LucideWine:BL,LucideWineOff:AL,LucideWorkflow:VL,LucideWorm:PL,LucideWrapText:Ti,LucideWrench:DL,LucideX:Mt,LucideXCircle:Qn,LucideXLineTop:qL,LucideXOctagon:lr,LucideXSquare:Ai,LucideYoutube:zL,LucideZap:OL,LucideZapOff:EL,LucideZoomIn:TL,LucideZoomOut:HL,Luggage:Q5,LuggageIcon:Q5,MSquare:hi,MSquareIcon:hi,Magnet:e3,MagnetIcon:e3,Mail:l3,MailCheck:t3,MailCheckIcon:t3,MailIcon:l3,MailMinus:n3,MailMinusIcon:n3,MailOpen:a3,MailOpenIcon:a3,MailPlus:o3,MailPlusIcon:o3,MailQuestion:tr,MailQuestionIcon:tr,MailQuestionMark:tr,MailQuestionMarkIcon:tr,MailSearch:r3,MailSearchIcon:r3,MailWarning:s3,MailWarningIcon:s3,MailX:i3,MailXIcon:i3,Mailbox:h3,MailboxIcon:h3,Mails:c3,MailsIcon:c3,Map:C3,MapIcon:C3,MapMinus:d3,MapMinusIcon:d3,MapPin:Ls,MapPinCheck:u3,MapPinCheckIcon:u3,MapPinCheckInside:p3,MapPinCheckInsideIcon:p3,MapPinHouse:y3,MapPinHouseIcon:y3,MapPinIcon:Ls,MapPinMinus:m3,MapPinMinusIcon:m3,MapPinMinusInside:f3,MapPinMinusInsideIcon:f3,MapPinOff:k3,MapPinOffIcon:k3,MapPinPen:ar,MapPinPenIcon:ar,MapPinPlus:b3,MapPinPlusIcon:b3,MapPinPlusInside:g3,MapPinPlusInsideIcon:g3,MapPinX:M3,MapPinXIcon:M3,MapPinXInside:x3,MapPinXInsideIcon:x3,MapPinned:w3,MapPinnedIcon:w3,MapPlus:v3,MapPlusIcon:v3,Mars:I3,MarsIcon:I3,MarsStroke:L3,MarsStrokeIcon:L3,Martini:S3,MartiniIcon:S3,Maximize:B3,Maximize2:_3,Maximize2Icon:_3,MaximizeIcon:B3,Medal:A3,MedalIcon:A3,Megaphone:P3,MegaphoneIcon:P3,MegaphoneOff:V3,MegaphoneOffIcon:V3,Meh:D3,MehIcon:D3,MemoryStick:q3,MemoryStickIcon:q3,Menu:z3,MenuIcon:z3,MenuSquare:ui,MenuSquareIcon:ui,Merge:E3,MergeIcon:E3,MessageCircle:G3,MessageCircleCheck:T3,MessageCircleCheckIcon:T3,MessageCircleCode:O3,MessageCircleCodeIcon:O3,MessageCircleDashed:H3,MessageCircleDashedIcon:H3,MessageCircleHeart:F3,MessageCircleHeartIcon:F3,MessageCircleIcon:G3,MessageCircleMore:j3,MessageCircleMoreIcon:j3,MessageCircleOff:$3,MessageCircleOffIcon:$3,MessageCirclePlus:R3,MessageCirclePlusIcon:R3,MessageCircleQuestion:nr,MessageCircleQuestionIcon:nr,MessageCircleQuestionMark:nr,MessageCircleQuestionMarkIcon:nr,MessageCircleReply:N3,MessageCircleReplyIcon:N3,MessageCircleWarning:U3,MessageCircleWarningIcon:U3,MessageCircleX:W3,MessageCircleXIcon:W3,MessageSquare:Ss,MessageSquareCheck:Y3,MessageSquareCheckIcon:Y3,MessageSquareCode:K3,MessageSquareCodeIcon:K3,MessageSquareDashed:X3,MessageSquareDashedIcon:X3,MessageSquareDiff:Z3,MessageSquareDiffIcon:Z3,MessageSquareDot:J3,MessageSquareDotIcon:J3,MessageSquareHeart:Q3,MessageSquareHeartIcon:Q3,MessageSquareIcon:Ss,MessageSquareLock:e6,MessageSquareLockIcon:e6,MessageSquareMore:t6,MessageSquareMoreIcon:t6,MessageSquareOff:a6,MessageSquareOffIcon:a6,MessageSquarePlus:n6,MessageSquarePlusIcon:n6,MessageSquareQuote:o6,MessageSquareQuoteIcon:o6,MessageSquareReply:r6,MessageSquareReplyIcon:r6,MessageSquareShare:i6,MessageSquareShareIcon:i6,MessageSquareText:l6,MessageSquareTextIcon:l6,MessageSquareWarning:s6,MessageSquareWarningIcon:s6,MessageSquareX:c6,MessageSquareXIcon:c6,MessagesSquare:d6,MessagesSquareIcon:d6,Metronome:h6,MetronomeIcon:h6,Mic:p6,Mic2:or,Mic2Icon:or,MicIcon:p6,MicOff:u6,MicOffIcon:u6,MicVocal:or,MicVocalIcon:or,Microchip:y6,MicrochipIcon:y6,Microscope:f6,MicroscopeIcon:f6,Microwave:m6,MicrowaveIcon:m6,Milestone:k6,MilestoneIcon:k6,Milk:b6,MilkIcon:b6,MilkOff:g6,MilkOffIcon:g6,Minimize:M6,Minimize2:x6,Minimize2Icon:x6,MinimizeIcon:M6,Minus:xl,MinusCircle:$n,MinusCircleIcon:$n,MinusIcon:xl,MinusSquare:pi,MinusSquareIcon:pi,MirrorRectangular:w6,MirrorRectangularIcon:w6,MirrorRound:v6,MirrorRoundIcon:v6,Monitor:T6,MonitorCheck:C6,MonitorCheckIcon:C6,MonitorCloud:L6,MonitorCloudIcon:L6,MonitorCog:S6,MonitorCogIcon:S6,MonitorDot:I6,MonitorDotIcon:I6,MonitorDown:_6,MonitorDownIcon:_6,MonitorIcon:T6,MonitorOff:B6,MonitorOffIcon:B6,MonitorPause:A6,MonitorPauseIcon:A6,MonitorPlay:V6,MonitorPlayIcon:V6,MonitorSmartphone:P6,MonitorSmartphoneIcon:P6,MonitorSpeaker:D6,MonitorSpeakerIcon:D6,MonitorStop:q6,MonitorStopIcon:q6,MonitorUp:z6,MonitorUpIcon:z6,MonitorX:E6,MonitorXIcon:E6,Moon:H6,MoonIcon:H6,MoonStar:O6,MoonStarIcon:O6,MoreHorizontal:Ca,MoreHorizontalIcon:Ca,MoreVertical:co,MoreVerticalIcon:co,Motorbike:F6,MotorbikeIcon:F6,Mountain:j6,MountainIcon:j6,MountainSnow:$6,MountainSnowIcon:$6,Mouse:Z6,MouseIcon:Z6,MouseLeft:R6,MouseLeftIcon:R6,MouseOff:N6,MouseOffIcon:N6,MousePointer:K6,MousePointer2:W6,MousePointer2Icon:W6,MousePointer2Off:U6,MousePointer2OffIcon:U6,MousePointerBan:G6,MousePointerBanIcon:G6,MousePointerClick:Y6,MousePointerClickIcon:Y6,MousePointerIcon:K6,MousePointerSquareDashed:ni,MousePointerSquareDashedIcon:ni,MouseRight:X6,MouseRightIcon:X6,Move:d8,Move3D:rr,Move3DIcon:rr,Move3d:rr,Move3dIcon:rr,MoveDiagonal:Q6,MoveDiagonal2:J6,MoveDiagonal2Icon:J6,MoveDiagonalIcon:Q6,MoveDown:a8,MoveDownIcon:a8,MoveDownLeft:e8,MoveDownLeftIcon:e8,MoveDownRight:t8,MoveDownRightIcon:t8,MoveHorizontal:n8,MoveHorizontalIcon:n8,MoveIcon:d8,MoveLeft:o8,MoveLeftIcon:o8,MoveRight:i8,MoveRightIcon:i8,MoveUp:l8,MoveUpIcon:l8,MoveUpLeft:r8,MoveUpLeftIcon:r8,MoveUpRight:s8,MoveUpRightIcon:s8,MoveVertical:c8,MoveVerticalIcon:c8,Music:y8,Music2:h8,Music2Icon:h8,Music3:u8,Music3Icon:u8,Music4:p8,Music4Icon:p8,MusicIcon:y8,Navigation:g8,Navigation2:m8,Navigation2Icon:m8,Navigation2Off:f8,Navigation2OffIcon:f8,NavigationIcon:g8,NavigationOff:k8,NavigationOffIcon:k8,Network:b8,NetworkIcon:b8,Newspaper:M8,NewspaperIcon:M8,Nfc:x8,NfcIcon:x8,NonBinary:w8,NonBinaryIcon:w8,Notebook:S8,NotebookIcon:S8,NotebookPen:C8,NotebookPenIcon:C8,NotebookTabs:v8,NotebookTabsIcon:v8,NotebookText:L8,NotebookTextIcon:L8,NotepadText:_8,NotepadTextDashed:I8,NotepadTextDashedIcon:I8,NotepadTextIcon:_8,Nut:A8,NutIcon:A8,NutOff:B8,NutOffIcon:B8,Octagon:P8,OctagonAlert:ir,OctagonAlertIcon:ir,OctagonIcon:P8,OctagonMinus:V8,OctagonMinusIcon:V8,OctagonPause:sr,OctagonPauseIcon:sr,OctagonX:lr,OctagonXIcon:lr,Omega:D8,OmegaIcon:D8,Option:q8,OptionIcon:q8,Orbit:z8,OrbitIcon:z8,Origami:E8,OrigamiIcon:E8,Outdent:zt,OutdentIcon:zt,Package:N8,Package2:T8,Package2Icon:T8,PackageCheck:H8,PackageCheckIcon:H8,PackageIcon:N8,PackageMinus:O8,PackageMinusIcon:O8,PackageOpen:F8,PackageOpenIcon:F8,PackagePlus:$8,PackagePlusIcon:$8,PackageSearch:j8,PackageSearchIcon:j8,PackageX:R8,PackageXIcon:R8,PaintBucket:U8,PaintBucketIcon:U8,PaintRoller:W8,PaintRollerIcon:W8,Paintbrush:G8,Paintbrush2:cr,Paintbrush2Icon:cr,PaintbrushIcon:G8,PaintbrushVertical:cr,PaintbrushVerticalIcon:cr,Palette:Y8,PaletteIcon:Y8,Palmtree:Fi,PalmtreeIcon:Fi,Panda:K8,PandaIcon:K8,PanelBottom:J8,PanelBottomClose:X8,PanelBottomCloseIcon:X8,PanelBottomDashed:dr,PanelBottomDashedIcon:dr,PanelBottomIcon:J8,PanelBottomInactive:dr,PanelBottomInactiveIcon:dr,PanelBottomOpen:Z8,PanelBottomOpenIcon:Z8,PanelLeft:yr,PanelLeftClose:ur,PanelLeftCloseIcon:ur,PanelLeftDashed:hr,PanelLeftDashedIcon:hr,PanelLeftIcon:yr,PanelLeftInactive:hr,PanelLeftInactiveIcon:hr,PanelLeftOpen:pr,PanelLeftOpenIcon:pr,PanelLeftRightDashed:Q8,PanelLeftRightDashedIcon:Q8,PanelRight:a7,PanelRightClose:e7,PanelRightCloseIcon:e7,PanelRightDashed:fr,PanelRightDashedIcon:fr,PanelRightIcon:a7,PanelRightInactive:fr,PanelRightInactiveIcon:fr,PanelRightOpen:t7,PanelRightOpenIcon:t7,PanelTop:i7,PanelTopBottomDashed:n7,PanelTopBottomDashedIcon:n7,PanelTopClose:o7,PanelTopCloseIcon:o7,PanelTopDashed:mr,PanelTopDashedIcon:mr,PanelTopIcon:i7,PanelTopInactive:mr,PanelTopInactiveIcon:mr,PanelTopOpen:r7,PanelTopOpenIcon:r7,PanelsLeftBottom:s7,PanelsLeftBottomIcon:s7,PanelsLeftRight:ro,PanelsLeftRightIcon:ro,PanelsRightBottom:l7,PanelsRightBottomIcon:l7,PanelsTopBottom:Cr,PanelsTopBottomIcon:Cr,PanelsTopLeft:kr,PanelsTopLeftIcon:kr,Paperclip:c7,PaperclipIcon:c7,Parentheses:d7,ParenthesesIcon:d7,ParkingCircle:Rn,ParkingCircleIcon:Rn,ParkingCircleOff:jn,ParkingCircleOffIcon:jn,ParkingMeter:h7,ParkingMeterIcon:h7,ParkingSquare:mi,ParkingSquareIcon:mi,ParkingSquareOff:fi,ParkingSquareOffIcon:fi,PartyPopper:u7,PartyPopperIcon:u7,Pause:p7,PauseCircle:Nn,PauseCircleIcon:Nn,PauseIcon:p7,PauseOctagon:sr,PauseOctagonIcon:sr,PawPrint:y7,PawPrintIcon:y7,PcCase:f7,PcCaseIcon:f7,Pen:br,PenBox:et,PenBoxIcon:et,PenIcon:br,PenLine:gr,PenLineIcon:gr,PenOff:m7,PenOffIcon:m7,PenSquare:et,PenSquareIcon:et,PenTool:k7,PenToolIcon:k7,Pencil:Is,PencilIcon:Is,PencilLine:g7,PencilLineIcon:g7,PencilOff:b7,PencilOffIcon:b7,PencilRuler:M7,PencilRulerIcon:M7,Pentagon:x7,PentagonIcon:x7,Percent:w7,PercentCircle:Un,PercentCircleIcon:Un,PercentDiamond:so,PercentDiamondIcon:so,PercentIcon:w7,PercentSquare:ki,PercentSquareIcon:ki,PersonStanding:v7,PersonStandingIcon:v7,PhilippinePeso:C7,PhilippinePesoIcon:C7,Phone:wl,PhoneCall:L7,PhoneCallIcon:L7,PhoneForwarded:S7,PhoneForwardedIcon:S7,PhoneIcon:wl,PhoneIncoming:I7,PhoneIncomingIcon:I7,PhoneMissed:B7,PhoneMissedIcon:B7,PhoneOff:_7,PhoneOffIcon:_7,PhoneOutgoing:A7,PhoneOutgoingIcon:A7,Pi:V7,PiIcon:V7,PiSquare:gi,PiSquareIcon:gi,Piano:P7,PianoIcon:P7,Pickaxe:D7,PickaxeIcon:D7,PictureInPicture:z7,PictureInPicture2:q7,PictureInPicture2Icon:q7,PictureInPictureIcon:z7,PieChart:wn,PieChartIcon:wn,PiggyBank:E7,PiggyBankIcon:E7,Pilcrow:H7,PilcrowIcon:H7,PilcrowLeft:T7,PilcrowLeftIcon:T7,PilcrowRight:O7,PilcrowRightIcon:O7,PilcrowSquare:bi,PilcrowSquareIcon:bi,Pill:N7,PillBottle:F7,PillBottleIcon:F7,PillIcon:N7,Pin:j7,PinIcon:j7,PinOff:$7,PinOffIcon:$7,Pipette:R7,PipetteIcon:R7,Pizza:U7,PizzaIcon:U7,Plane:vl,PlaneIcon:vl,PlaneLanding:W7,PlaneLandingIcon:W7,PlaneTakeoff:G7,PlaneTakeoffIcon:G7,Play:Y7,PlayCircle:Wn,PlayCircleIcon:Wn,PlayIcon:Y7,PlaySquare:Mi,PlaySquareIcon:Mi,Plug:X7,Plug2:K7,Plug2Icon:K7,PlugIcon:X7,PlugZap:Mr,PlugZap2:Mr,PlugZap2Icon:Mr,PlugZapIcon:Mr,Plus:Cl,PlusCircle:Gn,PlusCircleIcon:Gn,PlusIcon:Cl,PlusSquare:xi,PlusSquareIcon:xi,Pocket:J7,PocketIcon:J7,PocketKnife:Z7,PocketKnifeIcon:Z7,Podcast:Q7,PodcastIcon:Q7,Pointer:tb,PointerIcon:tb,PointerOff:eb,PointerOffIcon:eb,Popcorn:ab,PopcornIcon:ab,Popsicle:nb,PopsicleIcon:nb,PoundSterling:rb,PoundSterlingIcon:rb,Power:ib,PowerCircle:Yn,PowerCircleIcon:Yn,PowerIcon:ib,PowerOff:ob,PowerOffIcon:ob,PowerSquare:wi,PowerSquareIcon:wi,Presentation:sb,PresentationIcon:sb,Printer:db,PrinterCheck:lb,PrinterCheckIcon:lb,PrinterIcon:db,PrinterX:cb,PrinterXIcon:cb,Projector:hb,ProjectorIcon:hb,Proportions:yb,ProportionsIcon:yb,Puzzle:ub,PuzzleIcon:ub,Pyramid:pb,PyramidIcon:pb,QrCode:fb,QrCodeIcon:fb,Quote:mb,QuoteIcon:mb,Rabbit:gb,RabbitIcon:gb,Radar:kb,RadarIcon:kb,Radiation:Mb,RadiationIcon:Mb,Radical:bb,RadicalIcon:bb,Radio:vb,RadioIcon:vb,RadioReceiver:xb,RadioReceiverIcon:xb,RadioTower:wb,RadioTowerIcon:wb,Radius:Cb,RadiusIcon:Cb,RailSymbol:Lb,RailSymbolIcon:Lb,Rainbow:Sb,RainbowIcon:Sb,Rat:Ib,RatIcon:Ib,Ratio:_b,RatioIcon:_b,Receipt:Ob,ReceiptCent:Bb,ReceiptCentIcon:Bb,ReceiptEuro:Ab,ReceiptEuroIcon:Ab,ReceiptIcon:Ob,ReceiptIndianRupee:Vb,ReceiptIndianRupeeIcon:Vb,ReceiptJapaneseYen:Pb,ReceiptJapaneseYenIcon:Pb,ReceiptPoundSterling:Db,ReceiptPoundSterlingIcon:Db,ReceiptRussianRuble:qb,ReceiptRussianRubleIcon:qb,ReceiptSwissFranc:zb,ReceiptSwissFrancIcon:zb,ReceiptText:Eb,ReceiptTextIcon:Eb,ReceiptTurkishLira:Tb,ReceiptTurkishLiraIcon:Tb,RectangleCircle:Hb,RectangleCircleIcon:Hb,RectangleEllipsis:xr,RectangleEllipsisIcon:xr,RectangleGoggles:Fb,RectangleGogglesIcon:Fb,RectangleHorizontal:$b,RectangleHorizontalIcon:$b,RectangleVertical:jb,RectangleVerticalIcon:jb,Recycle:Rb,RecycleIcon:Rb,Redo:Ub,Redo2:Nb,Redo2Icon:Nb,RedoDot:Wb,RedoDotIcon:Wb,RedoIcon:Ub,RefreshCcw:Ll,RefreshCcwDot:Gb,RefreshCcwDotIcon:Gb,RefreshCcwIcon:Ll,RefreshCw:_s,RefreshCwIcon:_s,RefreshCwOff:Yb,RefreshCwOffIcon:Yb,Refrigerator:Xb,RefrigeratorIcon:Xb,Regex:Kb,RegexIcon:Kb,RemoveFormatting:Zb,RemoveFormattingIcon:Zb,Repeat:Qb,Repeat1:Jb,Repeat1Icon:Jb,Repeat2:tM,Repeat2Icon:tM,RepeatIcon:Qb,Replace:aM,ReplaceAll:eM,ReplaceAllIcon:eM,ReplaceIcon:aM,Reply:oM,ReplyAll:nM,ReplyAllIcon:nM,ReplyIcon:oM,Rewind:iM,RewindIcon:iM,Ribbon:rM,RibbonIcon:rM,Rocket:sM,RocketIcon:sM,RockingChair:lM,RockingChairIcon:lM,RollerCoaster:cM,RollerCoasterIcon:cM,Rose:dM,RoseIcon:dM,Rotate3D:wr,Rotate3DIcon:wr,Rotate3d:wr,Rotate3dIcon:wr,RotateCcw:pM,RotateCcwIcon:pM,RotateCcwKey:hM,RotateCcwKeyIcon:hM,RotateCcwSquare:uM,RotateCcwSquareIcon:uM,RotateCw:fM,RotateCwIcon:fM,RotateCwSquare:yM,RotateCwSquareIcon:yM,Route:kM,RouteIcon:kM,RouteOff:mM,RouteOffIcon:mM,Router:gM,RouterIcon:gM,Rows:vr,Rows2:vr,Rows2Icon:vr,Rows3:Cr,Rows3Icon:Cr,Rows4:bM,Rows4Icon:bM,RowsIcon:vr,Rss:MM,RssIcon:MM,Ruler:xM,RulerDimensionLine:wM,RulerDimensionLineIcon:wM,RulerIcon:xM,RussianRuble:vM,RussianRubleIcon:vM,Sailboat:CM,SailboatIcon:CM,Salad:LM,SaladIcon:LM,Sandwich:IM,SandwichIcon:IM,Satellite:_M,SatelliteDish:SM,SatelliteDishIcon:SM,SatelliteIcon:_M,SaudiRiyal:BM,SaudiRiyalIcon:BM,Save:PM,SaveAll:VM,SaveAllIcon:VM,SaveIcon:PM,SaveOff:AM,SaveOffIcon:AM,Scale:DM,Scale3D:Lr,Scale3DIcon:Lr,Scale3d:Lr,Scale3dIcon:Lr,ScaleIcon:DM,Scaling:qM,ScalingIcon:qM,Scan:jM,ScanBarcode:zM,ScanBarcodeIcon:zM,ScanEye:EM,ScanEyeIcon:EM,ScanFace:TM,ScanFaceIcon:TM,ScanHeart:OM,ScanHeartIcon:OM,ScanIcon:jM,ScanLine:HM,ScanLineIcon:HM,ScanQrCode:$M,ScanQrCodeIcon:$M,ScanSearch:FM,ScanSearchIcon:FM,ScanText:RM,ScanTextIcon:RM,ScatterChart:Cn,ScatterChartIcon:Cn,School:NM,School2:Ri,School2Icon:Ri,SchoolIcon:NM,Scissors:GM,ScissorsIcon:GM,ScissorsLineDashed:UM,ScissorsLineDashedIcon:UM,ScissorsSquare:vi,ScissorsSquareDashedBottom:Wr,ScissorsSquareDashedBottomIcon:Wr,ScissorsSquareIcon:vi,Scooter:WM,ScooterIcon:WM,ScreenShare:KM,ScreenShareIcon:KM,ScreenShareOff:YM,ScreenShareOffIcon:YM,Scroll:ZM,ScrollIcon:ZM,ScrollText:XM,ScrollTextIcon:XM,Search:Sr,SearchAlert:JM,SearchAlertIcon:JM,SearchCheck:ex,SearchCheckIcon:ex,SearchCode:QM,SearchCodeIcon:QM,SearchIcon:Sr,SearchSlash:tx,SearchSlashIcon:tx,SearchX:ax,SearchXIcon:ax,Section:nx,SectionIcon:nx,Send:rx,SendHorizonal:Ir,SendHorizonalIcon:Ir,SendHorizontal:Ir,SendHorizontalIcon:Ir,SendIcon:rx,SendToBack:ox,SendToBackIcon:ox,SeparatorHorizontal:ix,SeparatorHorizontalIcon:ix,SeparatorVertical:sx,SeparatorVerticalIcon:sx,Server:Sl,ServerCog:lx,ServerCogIcon:lx,ServerCrash:cx,ServerCrashIcon:cx,ServerIcon:Sl,ServerOff:hx,ServerOffIcon:hx,Settings:ux,Settings2:dx,Settings2Icon:dx,SettingsIcon:ux,Shapes:px,ShapesIcon:px,Share:yx,Share2:Il,Share2Icon:Il,ShareIcon:yx,Sheet:fx,SheetIcon:fx,Shell:mx,ShellIcon:mx,ShelvingUnit:kx,ShelvingUnitIcon:kx,Shield:Ix,ShieldAlert:gx,ShieldAlertIcon:gx,ShieldBan:bx,ShieldBanIcon:bx,ShieldCheck:Mx,ShieldCheckIcon:Mx,ShieldClose:Br,ShieldCloseIcon:Br,ShieldEllipsis:xx,ShieldEllipsisIcon:xx,ShieldHalf:wx,ShieldHalfIcon:wx,ShieldIcon:Ix,ShieldMinus:Lx,ShieldMinusIcon:Lx,ShieldOff:vx,ShieldOffIcon:vx,ShieldPlus:Cx,ShieldPlusIcon:Cx,ShieldQuestion:_r,ShieldQuestionIcon:_r,ShieldQuestionMark:_r,ShieldQuestionMarkIcon:_r,ShieldUser:Sx,ShieldUserIcon:Sx,ShieldX:Br,ShieldXIcon:Br,Ship:Bx,ShipIcon:Bx,ShipWheel:_x,ShipWheelIcon:_x,Shirt:Ax,ShirtIcon:Ax,ShoppingBag:Vx,ShoppingBagIcon:Vx,ShoppingBasket:Px,ShoppingBasketIcon:Px,ShoppingCart:Bs,ShoppingCartIcon:Bs,Shovel:qx,ShovelIcon:qx,ShowerHead:Dx,ShowerHeadIcon:Dx,Shredder:zx,ShredderIcon:zx,Shrimp:Ex,ShrimpIcon:Ex,Shrink:Tx,ShrinkIcon:Tx,Shrub:Ox,ShrubIcon:Ox,Shuffle:Hx,ShuffleIcon:Hx,Sidebar:yr,SidebarClose:ur,SidebarCloseIcon:ur,SidebarIcon:yr,SidebarOpen:pr,SidebarOpenIcon:pr,Sigma:Fx,SigmaIcon:Fx,SigmaSquare:Ci,SigmaSquareIcon:Ci,Signal:Ux,SignalHigh:$x,SignalHighIcon:$x,SignalIcon:Ux,SignalLow:jx,SignalLowIcon:jx,SignalMedium:Rx,SignalMediumIcon:Rx,SignalZero:Nx,SignalZeroIcon:Nx,Signature:Wx,SignatureIcon:Wx,Signpost:Yx,SignpostBig:Gx,SignpostBigIcon:Gx,SignpostIcon:Yx,Siren:Kx,SirenIcon:Kx,SkipBack:Zx,SkipBackIcon:Zx,SkipForward:Xx,SkipForwardIcon:Xx,Skull:Qx,SkullIcon:Qx,Slack:Jx,SlackIcon:Jx,Slash:e9,SlashIcon:e9,SlashSquare:Li,SlashSquareIcon:Li,Slice:t9,SliceIcon:t9,Sliders:Ar,SlidersHorizontal:_l,SlidersHorizontalIcon:_l,SlidersIcon:Ar,SlidersVertical:Ar,SlidersVerticalIcon:Ar,Smartphone:o9,SmartphoneCharging:a9,SmartphoneChargingIcon:a9,SmartphoneIcon:o9,SmartphoneNfc:n9,SmartphoneNfcIcon:n9,Smile:i9,SmileIcon:i9,SmilePlus:r9,SmilePlusIcon:r9,Snail:s9,SnailIcon:s9,Snowflake:l9,SnowflakeIcon:l9,SoapDispenserDroplet:c9,SoapDispenserDropletIcon:c9,Sofa:d9,SofaIcon:d9,SolarPanel:h9,SolarPanelIcon:h9,SortAsc:tn,SortAscIcon:tn,SortDesc:Ja,SortDescIcon:Ja,Soup:u9,SoupIcon:u9,Space:p9,SpaceIcon:p9,Spade:y9,SpadeIcon:y9,Sparkle:f9,SparkleIcon:f9,Sparkles:Vr,SparklesIcon:Vr,Speaker:m9,SpeakerIcon:m9,Speech:k9,SpeechIcon:k9,SpellCheck:M9,SpellCheck2:g9,SpellCheck2Icon:g9,SpellCheckIcon:M9,Spline:x9,SplineIcon:x9,SplinePointer:b9,SplinePointerIcon:b9,Split:w9,SplitIcon:w9,SplitSquareHorizontal:Si,SplitSquareHorizontalIcon:Si,SplitSquareVertical:Ii,SplitSquareVerticalIcon:Ii,Spool:v9,SpoolIcon:v9,Spotlight:C9,SpotlightIcon:C9,SprayCan:L9,SprayCanIcon:L9,Sprout:S9,SproutIcon:S9,Square:F9,SquareActivity:Pr,SquareActivityIcon:Pr,SquareArrowDown:zr,SquareArrowDownIcon:zr,SquareArrowDownLeft:Dr,SquareArrowDownLeftIcon:Dr,SquareArrowDownRight:qr,SquareArrowDownRightIcon:qr,SquareArrowLeft:Er,SquareArrowLeftIcon:Er,SquareArrowOutDownLeft:Tr,SquareArrowOutDownLeftIcon:Tr,SquareArrowOutDownRight:Or,SquareArrowOutDownRightIcon:Or,SquareArrowOutUpLeft:Hr,SquareArrowOutUpLeftIcon:Hr,SquareArrowOutUpRight:Fr,SquareArrowOutUpRightIcon:Fr,SquareArrowRight:$r,SquareArrowRightEnter:I9,SquareArrowRightEnterIcon:I9,SquareArrowRightExit:_9,SquareArrowRightExitIcon:_9,SquareArrowRightIcon:$r,SquareArrowUp:Nr,SquareArrowUpIcon:Nr,SquareArrowUpLeft:Rr,SquareArrowUpLeftIcon:Rr,SquareArrowUpRight:jr,SquareArrowUpRightIcon:jr,SquareAsterisk:Ur,SquareAsteriskIcon:Ur,SquareBottomDashedScissors:Wr,SquareBottomDashedScissorsIcon:Wr,SquareCenterlineDashedHorizontal:Gr,SquareCenterlineDashedHorizontalIcon:Gr,SquareCenterlineDashedVertical:Yr,SquareCenterlineDashedVerticalIcon:Yr,SquareChartGantt:Tt,SquareChartGanttIcon:Tt,SquareCheck:Xr,SquareCheckBig:Kr,SquareCheckBigIcon:Kr,SquareCheckIcon:Xr,SquareChevronDown:Zr,SquareChevronDownIcon:Zr,SquareChevronLeft:Jr,SquareChevronLeftIcon:Jr,SquareChevronRight:Qr,SquareChevronRightIcon:Qr,SquareChevronUp:ei,SquareChevronUpIcon:ei,SquareCode:ti,SquareCodeIcon:ti,SquareDashed:oi,SquareDashedBottom:A9,SquareDashedBottomCode:B9,SquareDashedBottomCodeIcon:B9,SquareDashedBottomIcon:A9,SquareDashedIcon:oi,SquareDashedKanban:ai,SquareDashedKanbanIcon:ai,SquareDashedMousePointer:ni,SquareDashedMousePointerIcon:ni,SquareDashedTopSolid:V9,SquareDashedTopSolidIcon:V9,SquareDivide:ii,SquareDivideIcon:ii,SquareDot:ri,SquareDotIcon:ri,SquareEqual:si,SquareEqualIcon:si,SquareFunction:li,SquareFunctionIcon:li,SquareGanttChart:Tt,SquareGanttChartIcon:Tt,SquareIcon:F9,SquareKanban:ci,SquareKanbanIcon:ci,SquareLibrary:di,SquareLibraryIcon:di,SquareM:hi,SquareMIcon:hi,SquareMenu:ui,SquareMenuIcon:ui,SquareMinus:pi,SquareMinusIcon:pi,SquareMousePointer:yi,SquareMousePointerIcon:yi,SquareParking:mi,SquareParkingIcon:mi,SquareParkingOff:fi,SquareParkingOffIcon:fi,SquarePause:P9,SquarePauseIcon:P9,SquarePen:et,SquarePenIcon:et,SquarePercent:ki,SquarePercentIcon:ki,SquarePi:gi,SquarePiIcon:gi,SquarePilcrow:bi,SquarePilcrowIcon:bi,SquarePlay:Mi,SquarePlayIcon:Mi,SquarePlus:xi,SquarePlusIcon:xi,SquarePower:wi,SquarePowerIcon:wi,SquareRadical:q9,SquareRadicalIcon:q9,SquareRoundCorner:D9,SquareRoundCornerIcon:D9,SquareScissors:vi,SquareScissorsIcon:vi,SquareSigma:Ci,SquareSigmaIcon:Ci,SquareSlash:Li,SquareSlashIcon:Li,SquareSplitHorizontal:Si,SquareSplitHorizontalIcon:Si,SquareSplitVertical:Ii,SquareSplitVerticalIcon:Ii,SquareSquare:z9,SquareSquareIcon:z9,SquareStack:E9,SquareStackIcon:E9,SquareStar:O9,SquareStarIcon:O9,SquareStop:T9,SquareStopIcon:T9,SquareTerminal:_i,SquareTerminalIcon:_i,SquareUser:Vi,SquareUserIcon:Vi,SquareUserRound:Bi,SquareUserRoundIcon:Bi,SquareX:Ai,SquareXIcon:Ai,SquaresExclude:H9,SquaresExcludeIcon:H9,SquaresIntersect:$9,SquaresIntersectIcon:$9,SquaresSubtract:j9,SquaresSubtractIcon:j9,SquaresUnite:R9,SquaresUniteIcon:R9,Squircle:U9,SquircleDashed:N9,SquircleDashedIcon:N9,SquircleIcon:U9,Squirrel:W9,SquirrelIcon:W9,Stamp:G9,StampIcon:G9,Star:Z9,StarHalf:Y9,StarHalfIcon:Y9,StarIcon:Z9,StarOff:K9,StarOffIcon:K9,Stars:Vr,StarsIcon:Vr,StepBack:X9,StepBackIcon:X9,StepForward:J9,StepForwardIcon:J9,Stethoscope:Q9,StethoscopeIcon:Q9,Sticker:ew,StickerIcon:ew,StickyNote:tw,StickyNoteIcon:tw,Stone:aw,StoneIcon:aw,StopCircle:Xn,StopCircleIcon:Xn,Store:nw,StoreIcon:nw,StretchHorizontal:rw,StretchHorizontalIcon:rw,StretchVertical:ow,StretchVerticalIcon:ow,Strikethrough:iw,StrikethroughIcon:iw,Subscript:sw,SubscriptIcon:sw,Subtitles:hn,SubtitlesIcon:hn,Sun:uw,SunDim:lw,SunDimIcon:lw,SunIcon:uw,SunMedium:cw,SunMediumIcon:cw,SunMoon:hw,SunMoonIcon:hw,SunSnow:dw,SunSnowIcon:dw,Sunrise:pw,SunriseIcon:pw,Sunset:yw,SunsetIcon:yw,Superscript:fw,SuperscriptIcon:fw,SwatchBook:mw,SwatchBookIcon:mw,SwissFranc:kw,SwissFrancIcon:kw,SwitchCamera:bw,SwitchCameraIcon:bw,Sword:gw,SwordIcon:gw,Swords:Mw,SwordsIcon:Mw,Syringe:xw,SyringeIcon:xw,Table:Aw,Table2:ww,Table2Icon:ww,TableCellsMerge:vw,TableCellsMergeIcon:vw,TableCellsSplit:Cw,TableCellsSplitIcon:Cw,TableColumnsSplit:Lw,TableColumnsSplitIcon:Lw,TableConfig:Pt,TableConfigIcon:Pt,TableIcon:Aw,TableOfContents:Sw,TableOfContentsIcon:Sw,TableProperties:Iw,TablePropertiesIcon:Iw,TableRowsSplit:_w,TableRowsSplitIcon:_w,Tablet:Bw,TabletIcon:Bw,TabletSmartphone:Vw,TabletSmartphoneIcon:Vw,Tablets:Pw,TabletsIcon:Pw,Tag:Dw,TagIcon:Dw,Tags:qw,TagsIcon:qw,Tally1:zw,Tally1Icon:zw,Tally2:Ew,Tally2Icon:Ew,Tally3:Tw,Tally3Icon:Tw,Tally4:Ow,Tally4Icon:Ow,Tally5:Hw,Tally5Icon:Hw,Tangent:Fw,TangentIcon:Fw,Target:$w,TargetIcon:$w,Telescope:jw,TelescopeIcon:jw,Tent:Nw,TentIcon:Nw,TentTree:Rw,TentTreeIcon:Rw,Terminal:Uw,TerminalIcon:Uw,TerminalSquare:_i,TerminalSquareIcon:_i,TestTube:Ww,TestTube2:Pi,TestTube2Icon:Pi,TestTubeDiagonal:Pi,TestTubeDiagonalIcon:Pi,TestTubeIcon:Ww,TestTubes:Gw,TestTubesIcon:Gw,Text:Ot,TextAlignCenter:zi,TextAlignCenterIcon:zi,TextAlignEnd:Di,TextAlignEndIcon:Di,TextAlignJustify:qi,TextAlignJustifyIcon:qi,TextAlignStart:Ot,TextAlignStartIcon:Ot,TextCursor:Kw,TextCursorIcon:Kw,TextCursorInput:Yw,TextCursorInputIcon:Yw,TextIcon:Ot,TextInitial:Ei,TextInitialIcon:Ei,TextQuote:Zw,TextQuoteIcon:Zw,TextSearch:Xw,TextSearchIcon:Xw,TextSelect:Oi,TextSelectIcon:Oi,TextSelection:Oi,TextSelectionIcon:Oi,TextWrap:Ti,TextWrapIcon:Ti,Theater:Jw,TheaterIcon:Jw,Thermometer:tv,ThermometerIcon:tv,ThermometerSnowflake:Qw,ThermometerSnowflakeIcon:Qw,ThermometerSun:ev,ThermometerSunIcon:ev,ThumbsDown:nv,ThumbsDownIcon:nv,ThumbsUp:av,ThumbsUpIcon:av,Ticket:hv,TicketCheck:ov,TicketCheckIcon:ov,TicketIcon:hv,TicketMinus:rv,TicketMinusIcon:rv,TicketPercent:iv,TicketPercentIcon:iv,TicketPlus:sv,TicketPlusIcon:sv,TicketSlash:lv,TicketSlashIcon:lv,TicketX:cv,TicketXIcon:cv,Tickets:uv,TicketsIcon:uv,TicketsPlane:dv,TicketsPlaneIcon:dv,Timer:fv,TimerIcon:fv,TimerOff:pv,TimerOffIcon:pv,TimerReset:yv,TimerResetIcon:yv,ToggleLeft:Bl,ToggleLeftIcon:Bl,ToggleRight:mv,ToggleRightIcon:mv,Toilet:kv,ToiletIcon:kv,ToolCase:gv,ToolCaseIcon:gv,Toolbox:bv,ToolboxIcon:bv,Tornado:Mv,TornadoIcon:Mv,Torus:xv,TorusIcon:xv,Touchpad:vv,TouchpadIcon:vv,TouchpadOff:wv,TouchpadOffIcon:wv,TowelRack:Cv,TowelRackIcon:Cv,TowerControl:Lv,TowerControlIcon:Lv,ToyBrick:Sv,ToyBrickIcon:Sv,Tractor:Iv,TractorIcon:Iv,TrafficCone:_v,TrafficConeIcon:_v,Train:Hi,TrainFront:Pv,TrainFrontIcon:Pv,TrainFrontTunnel:Bv,TrainFrontTunnelIcon:Bv,TrainIcon:Hi,TrainTrack:Av,TrainTrackIcon:Av,TramFront:Hi,TramFrontIcon:Hi,Transgender:Vv,TransgenderIcon:Vv,Trash:Dv,Trash2:As,Trash2Icon:As,TrashIcon:Dv,TreeDeciduous:qv,TreeDeciduousIcon:qv,TreePalm:Fi,TreePalmIcon:Fi,TreePine:zv,TreePineIcon:zv,Trees:Ev,TreesIcon:Ev,Trello:Tv,TrelloIcon:Tv,TrendingDown:Ov,TrendingDownIcon:Ov,TrendingUp:Fv,TrendingUpDown:Hv,TrendingUpDownIcon:Hv,TrendingUpIcon:Fv,Triangle:Nv,TriangleAlert:$i,TriangleAlertIcon:$i,TriangleDashed:$v,TriangleDashedIcon:$v,TriangleIcon:Nv,TriangleRight:Rv,TriangleRightIcon:Rv,Trophy:jv,TrophyIcon:jv,Truck:Wv,TruckElectric:Uv,TruckElectricIcon:Uv,TruckIcon:Wv,TurkishLira:Gv,TurkishLiraIcon:Gv,Turntable:Yv,TurntableIcon:Yv,Turtle:Kv,TurtleIcon:Kv,Tv:Zv,Tv2:ji,Tv2Icon:ji,TvIcon:Zv,TvMinimal:ji,TvMinimalIcon:ji,TvMinimalPlay:Xv,TvMinimalPlayIcon:Xv,Twitch:Jv,TwitchIcon:Jv,Twitter:eC,TwitterIcon:eC,Type:tC,TypeIcon:tC,TypeOutline:Qv,TypeOutlineIcon:Qv,Umbrella:nC,UmbrellaIcon:nC,UmbrellaOff:aC,UmbrellaOffIcon:aC,Underline:oC,UnderlineIcon:oC,Undo:iC,Undo2:rC,Undo2Icon:rC,UndoDot:sC,UndoDotIcon:sC,UndoIcon:iC,UnfoldHorizontal:lC,UnfoldHorizontalIcon:lC,UnfoldVertical:cC,UnfoldVerticalIcon:cC,Ungroup:dC,UngroupIcon:dC,University:Ri,UniversityIcon:Ri,Unlink:uC,Unlink2:hC,Unlink2Icon:hC,UnlinkIcon:uC,Unlock:er,UnlockIcon:er,UnlockKeyhole:Qo,UnlockKeyholeIcon:Qo,Unplug:pC,UnplugIcon:pC,Upload:yC,UploadCloud:va,UploadCloudIcon:va,UploadIcon:yC,Usb:fC,UsbIcon:fC,User:Al,User2:Ki,User2Icon:Ki,UserCheck:mC,UserCheck2:Ni,UserCheck2Icon:Ni,UserCheckIcon:mC,UserCircle:Jn,UserCircle2:Zn,UserCircle2Icon:Zn,UserCircleIcon:Jn,UserCog:kC,UserCog2:Ui,UserCog2Icon:Ui,UserCogIcon:kC,UserIcon:Al,UserKey:gC,UserKeyIcon:gC,UserLock:bC,UserLockIcon:bC,UserMinus:MC,UserMinus2:Wi,UserMinus2Icon:Wi,UserMinusIcon:MC,UserPen:xC,UserPenIcon:xC,UserPlus:wC,UserPlus2:Gi,UserPlus2Icon:Gi,UserPlusIcon:wC,UserRound:Ki,UserRoundCheck:Ni,UserRoundCheckIcon:Ni,UserRoundCog:Ui,UserRoundCogIcon:Ui,UserRoundIcon:Ki,UserRoundKey:vC,UserRoundKeyIcon:vC,UserRoundMinus:Wi,UserRoundMinusIcon:Wi,UserRoundPen:CC,UserRoundPenIcon:CC,UserRoundPlus:Gi,UserRoundPlusIcon:Gi,UserRoundSearch:LC,UserRoundSearchIcon:LC,UserRoundX:Yi,UserRoundXIcon:Yi,UserSearch:IC,UserSearchIcon:IC,UserSquare:Vi,UserSquare2:Bi,UserSquare2Icon:Bi,UserSquareIcon:Vi,UserStar:SC,UserStarIcon:SC,UserX:_C,UserX2:Yi,UserX2Icon:Yi,UserXIcon:_C,Users:BC,Users2:Xi,Users2Icon:Xi,UsersIcon:BC,UsersRound:Xi,UsersRoundIcon:Xi,Utensils:Ji,UtensilsCrossed:Zi,UtensilsCrossedIcon:Zi,UtensilsIcon:Ji,UtilityPole:AC,UtilityPoleIcon:AC,Van:VC,VanIcon:VC,Variable:DC,VariableIcon:DC,Vault:PC,VaultIcon:PC,VectorSquare:qC,VectorSquareIcon:qC,Vegan:zC,VeganIcon:zC,VenetianMask:EC,VenetianMaskIcon:EC,Venus:TC,VenusAndMars:OC,VenusAndMarsIcon:OC,VenusIcon:TC,Verified:on,VerifiedIcon:on,Vibrate:FC,VibrateIcon:FC,VibrateOff:HC,VibrateOffIcon:HC,Video:jC,VideoIcon:jC,VideoOff:$C,VideoOffIcon:$C,Videotape:RC,VideotapeIcon:RC,View:NC,ViewIcon:NC,Voicemail:UC,VoicemailIcon:UC,Volleyball:YC,VolleyballIcon:YC,Volume:XC,Volume1:WC,Volume1Icon:WC,Volume2:GC,Volume2Icon:GC,VolumeIcon:XC,VolumeOff:KC,VolumeOffIcon:KC,VolumeX:ZC,VolumeXIcon:ZC,Vote:JC,VoteIcon:JC,Wallet:eL,Wallet2:Qi,Wallet2Icon:Qi,WalletCards:QC,WalletCardsIcon:QC,WalletIcon:eL,WalletMinimal:Qi,WalletMinimalIcon:Qi,Wallpaper:tL,WallpaperIcon:tL,Wand:aL,Wand2:es,Wand2Icon:es,WandIcon:aL,WandSparkles:es,WandSparklesIcon:es,Warehouse:nL,WarehouseIcon:nL,WashingMachine:oL,WashingMachineIcon:oL,Watch:rL,WatchIcon:rL,Waves:cL,WavesArrowDown:iL,WavesArrowDownIcon:iL,WavesArrowUp:sL,WavesArrowUpIcon:sL,WavesIcon:cL,WavesLadder:lL,WavesLadderIcon:lL,Waypoints:dL,WaypointsIcon:dL,Webcam:hL,WebcamIcon:hL,Webhook:pL,WebhookIcon:pL,WebhookOff:uL,WebhookOffIcon:uL,Weight:fL,WeightIcon:fL,WeightTilde:yL,WeightTildeIcon:yL,Wheat:kL,WheatIcon:kL,WheatOff:mL,WheatOffIcon:mL,WholeWord:gL,WholeWordIcon:gL,Wifi:SL,WifiCog:bL,WifiCogIcon:bL,WifiHigh:ML,WifiHighIcon:ML,WifiIcon:SL,WifiLow:wL,WifiLowIcon:wL,WifiOff:xL,WifiOffIcon:xL,WifiPen:vL,WifiPenIcon:vL,WifiSync:CL,WifiSyncIcon:CL,WifiZero:LL,WifiZeroIcon:LL,Wind:IL,WindArrowDown:_L,WindArrowDownIcon:_L,WindIcon:IL,Wine:BL,WineIcon:BL,WineOff:AL,WineOffIcon:AL,Workflow:VL,WorkflowIcon:VL,Worm:PL,WormIcon:PL,WrapText:Ti,WrapTextIcon:Ti,Wrench:DL,WrenchIcon:DL,X:Mt,XCircle:Qn,XCircleIcon:Qn,XIcon:Mt,XLineTop:qL,XLineTopIcon:qL,XOctagon:lr,XOctagonIcon:lr,XSquare:Ai,XSquareIcon:Ai,Youtube:zL,YoutubeIcon:zL,Zap:OL,ZapIcon:OL,ZapOff:EL,ZapOffIcon:EL,ZoomIn:TL,ZoomInIcon:TL,ZoomOut:HL,ZoomOutIcon:HL,createLucideIcon:l,icons:Fz},Symbol.toStringTag,{value:"Module"}));function $z(t,e){var n;const o=a.shallowRef();return a.watchEffect(()=>{o.value=t()},{...e,flush:(n=e==null?void 0:e.flush)!==null&&n!==void 0?n:"sync"}),a.readonly(o)}function Vs(t,e){return a.getCurrentScope()?(a.onScopeDispose(t,e),!0):!1}function jz(){const t=new Set,e=i=>{t.delete(i)};return{on:i=>{t.add(i);const s=()=>e(i);return Vs(s),{off:s}},off:e,trigger:(...i)=>Promise.all(Array.from(t).map(s=>s(...i))),clear:()=>{t.clear()}}}function Rz(t){let e=!1,n;const o=a.effectScope(!0);return((...r)=>(e||(n=o.run(()=>t(...r)),e=!0),n))}const MI=new WeakMap,Nz=(...t)=>{var e;const n=t[0],o=(e=a.getCurrentInstance())===null||e===void 0?void 0:e.proxy,r=o??a.getCurrentScope();if(r==null&&!a.hasInjectionContext())throw new Error("injectLocal must be called in setup");return r&&MI.has(r)&&n in MI.get(r)?MI.get(r)[n]:a.inject(...t)},pt=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const Uz=t=>typeof t<"u",Wz=Object.prototype.toString,Gz=t=>Wz.call(t)==="[object Object]",jB=Yz();function Yz(){var t,e,n;return pt&&!!(!((t=window)===null||t===void 0||(t=t.navigator)===null||t===void 0)&&t.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((e=window)===null||e===void 0||(e=e.navigator)===null||e===void 0?void 0:e.maxTouchPoints)>2&&/iPad|Macintosh/.test((n=window)===null||n===void 0?void 0:n.navigator.userAgent))}function Kz(t,e){var n;if(typeof t=="number")return t+e;const o=((n=t.match(/^-?\d+\.?\d*/))===null||n===void 0?void 0:n[0])||"",r=t.slice(o.length),i=Number.parseFloat(o)+e;return Number.isNaN(i)?t:i+r}function Vl(t){return t.endsWith("rem")?Number.parseFloat(t)*16:Number.parseFloat(t)}function xI(t){return Array.isArray(t)?t:[t]}function RB(t){return a.getCurrentInstance()}function Xz(t){if(!pt)return t;let e=0,n,o;const r=()=>{e-=1,o&&e<=0&&(o.stop(),n=void 0,o=void 0)};return((...i)=>(e+=1,o||(o=a.effectScope(!0),n=o.run(()=>t(...i))),Vs(r),n))}function Zz(t){return a.isRef(t)?a.reactive(new Proxy({},{get(e,n,o){return a.unref(Reflect.get(t.value,n,o))},set(e,n,o){return a.isRef(t.value[n])&&!a.isRef(o)?t.value[n].value=o:t.value[n]=o,!0},deleteProperty(e,n){return Reflect.deleteProperty(t.value,n)},has(e,n){return Reflect.has(t.value,n)},ownKeys(){return Object.keys(t.value)},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}}})):a.reactive(t)}function Jz(t){return Zz(a.computed(t))}function Ce(t,...e){const n=e.flat(),o=n[0];return Jz(()=>Object.fromEntries(typeof o=="function"?Object.entries(a.toRefs(t)).filter(([r,i])=>!o(a.toValue(i),r)):Object.entries(a.toRefs(t)).filter(r=>!n.includes(r[0]))))}function NB(t,e=1e4){return a.customRef((n,o)=>{let r=a.toValue(t),i;const s=()=>setTimeout(()=>{r=a.toValue(t),o()},a.toValue(e));return Vs(()=>{clearTimeout(i)}),{get(){return n(),r},set(c){r=c,o(),clearTimeout(i),i=s()}}})}function Qz(t,e){RB()&&a.onBeforeUnmount(t,e)}function eE(t,e=!0,n){RB()?a.onMounted(t,n):e?t():a.nextTick(t)}function UB(t,e,n={}){const{immediate:o=!0,immediateCallback:r=!1}=n,i=a.shallowRef(!1);let s;function c(){s&&(clearTimeout(s),s=void 0)}function d(){i.value=!1,c()}function h(...u){r&&t(),c(),i.value=!0,s=setTimeout(()=>{i.value=!1,s=void 0,t(...u)},a.toValue(e))}return o&&(i.value=!0,pt&&h()),Vs(d),{isPending:a.shallowReadonly(i),start:h,stop:d}}function tE(t,e,n){return a.watch(t,e,{...n,immediate:!0})}const Ps=pt?window:void 0;function Ht(t){var e;const n=a.toValue(t);return(e=n==null?void 0:n.$el)!==null&&e!==void 0?e:n}function Pl(...t){const e=(o,r,i,s)=>(o.addEventListener(r,i,s),()=>o.removeEventListener(r,i,s)),n=a.computed(()=>{const o=xI(a.toValue(t[0])).filter(r=>r!=null);return o.every(r=>typeof r!="string")?o:void 0});return tE(()=>{var o,r;return[(o=(r=n.value)===null||r===void 0?void 0:r.map(i=>Ht(i)))!==null&&o!==void 0?o:[Ps].filter(i=>i!=null),xI(a.toValue(n.value?t[1]:t[0])),xI(a.unref(n.value?t[2]:t[1])),a.toValue(n.value?t[3]:t[2])]},([o,r,i,s],c,d)=>{if(!(o!=null&&o.length)||!(r!=null&&r.length)||!(i!=null&&i.length))return;const h=Gz(s)?{...s}:s,u=o.flatMap(p=>r.flatMap(y=>i.map(f=>e(p,y,f,h))));d(()=>{u.forEach(p=>p())})},{flush:"post"})}function WB(){const t=a.shallowRef(!1),e=a.getCurrentInstance();return e&&a.onMounted(()=>{t.value=!0},e),t}function GB(t){const e=WB();return a.computed(()=>(e.value,!!t()))}function aE(t){return typeof t=="function"?t:typeof t=="string"?e=>e.key===t:Array.isArray(t)?e=>t.includes(e.key):()=>!0}function nE(...t){let e,n,o={};t.length===3?(e=t[0],n=t[1],o=t[2]):t.length===2?typeof t[1]=="object"?(e=!0,n=t[0],o=t[1]):(e=t[0],n=t[1]):(e=!0,n=t[0]);const{target:r=Ps,eventName:i="keydown",passive:s=!1,dedupe:c=!1}=o,d=aE(e);return Pl(r,i,u=>{u.repeat&&a.toValue(c)||d(u)&&n(u)},s)}const oE=Symbol("vueuse-ssr-width");function YB(){const t=a.hasInjectionContext()?Nz(oE,null):null;return typeof t=="number"?t:void 0}function Dl(t,e={}){const{window:n=Ps,ssrWidth:o=YB()}=e,r=GB(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function"),i=a.shallowRef(typeof o=="number"),s=a.shallowRef(),c=a.shallowRef(!1),d=h=>{c.value=h.matches};return a.watchEffect(()=>{if(i.value){i.value=!r.value,c.value=a.toValue(t).split(",").some(h=>{const u=h.includes("not all"),p=h.match(/\(\s*min-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/),y=h.match(/\(\s*max-width:\s*(-?\d+(?:\.\d*)?[a-z]+\s*)\)/);let f=!!(p||y);return p&&f&&(f=o>=Vl(p[1])),y&&f&&(f=o<=Vl(y[1])),u?!f:f});return}r.value&&(s.value=n.matchMedia(a.toValue(t)),c.value=s.value.matches)}),Pl(s,"change",d,{passive:!0}),a.computed(()=>c.value)}const rE={sm:640,md:768,lg:1024,xl:1280,"2xl":1536};function iE(t,e={}){function n(f,m){let k=a.toValue(t[a.toValue(f)]);return m!=null&&(k=Kz(k,m)),typeof k=="number"&&(k=`${k}px`),k}const{window:o=Ps,strategy:r="min-width",ssrWidth:i=YB()}=e,s=typeof i=="number",c=s?a.shallowRef(!1):{value:!0};s&&eE(()=>c.value=!!o);function d(f,m){return!c.value&&s?f==="min"?i>=Vl(m):i<=Vl(m):o?o.matchMedia(`(${f}-width: ${m})`).matches:!1}const h=f=>Dl(()=>`(min-width: ${n(f)})`,e),u=f=>Dl(()=>`(max-width: ${n(f)})`,e),p=Object.keys(t).reduce((f,m)=>(Object.defineProperty(f,m,{get:()=>r==="min-width"?h(m):u(m),enumerable:!0,configurable:!0}),f),{});function y(){const f=Object.keys(t).map(m=>[m,p[m],Vl(n(m))]).sort((m,k)=>m[2]-k[2]);return a.computed(()=>f.filter(([,m])=>m.value).map(([m])=>m))}return Object.assign(p,{greaterOrEqual:h,smallerOrEqual:u,greater(f){return Dl(()=>`(min-width: ${n(f,.1)})`,e)},smaller(f){return Dl(()=>`(max-width: ${n(f,-.1)})`,e)},between(f,m){return Dl(()=>`(min-width: ${n(f)}) and (max-width: ${n(m,-.1)})`,e)},isGreater(f){return d("min",n(f,.1))},isGreaterOrEqual(f){return d("min",n(f))},isSmaller(f){return d("max",n(f,-.1))},isSmallerOrEqual(f){return d("max",n(f))},isInBetween(f,m){return d("min",n(f))&&d("max",n(m,-.1))},current:y,active(){const f=y();return a.computed(()=>f.value.length===0?"":f.value.at(r==="min-width"?-1:0))}})}function sE(t){return JSON.parse(JSON.stringify(t))}function lE(t,e,n={}){const{window:o=Ps,...r}=n;let i;const s=GB(()=>o&&"ResizeObserver"in o),c=()=>{i&&(i.disconnect(),i=void 0)},d=a.watch(a.computed(()=>{const u=a.toValue(t);return Array.isArray(u)?u.map(p=>Ht(p)):[Ht(u)]}),u=>{if(c(),s.value&&o){i=new ResizeObserver(e);for(const p of u)p&&i.observe(p,r)}},{immediate:!0,flush:"post"}),h=()=>{c(),d()};return Vs(h),{isSupported:s,stop:h}}function Qt(t,e,n,o={}){var r,i;const{clone:s=!1,passive:c=!1,eventName:d,deep:h=!1,defaultValue:u,shouldEmit:p}=o,y=a.getCurrentInstance(),f=n||(y==null?void 0:y.emit)||(y==null||(r=y.$emit)===null||r===void 0?void 0:r.bind(y))||(y==null||(i=y.proxy)===null||i===void 0||(i=i.$emit)===null||i===void 0?void 0:i.bind(y==null?void 0:y.proxy));let m=d;e||(e="modelValue"),m=m||`update:${e.toString()}`;const k=w=>s?typeof s=="function"?s(w):sE(w):w,g=()=>Uz(t[e])?k(t[e]):u,b=w=>{p?p(w)&&f(m,w):f(m,w)};if(c){const w=a.ref(g());let S=!1;return a.watch(()=>t[e],C=>{S||(S=!0,w.value=k(C),a.nextTick(()=>S=!1))}),a.watch(w,C=>{!S&&(C!==t[e]||h)&&b(C)},{deep:h}),w}else return a.computed({get(){return g()},set(w){b(w)}})}function KB(t){return typeof t=="string"?`'${t}'`:new cE().serialize(t)}const cE=(function(){var e;class t{constructor(){Iz(this,e,new Map)}compare(o,r){const i=typeof o,s=typeof r;return i==="string"&&s==="string"?o.localeCompare(r):i==="number"&&s==="number"?o-r:String.prototype.localeCompare.call(this.serialize(o,!0),this.serialize(r,!0))}serialize(o,r){if(o===null)return"null";switch(typeof o){case"string":return r?o:`'${o}'`;case"bigint":return`${o}n`;case"object":return this.$object(o);case"function":return this.$function(o)}return String(o)}serializeObject(o){const r=Object.prototype.toString.call(o);if(r!=="[object Object]")return this.serializeBuiltInType(r.length<10?`unknown:${r}`:r.slice(8,-1),o);const i=o.constructor,s=i===Object||i===void 0?"":i.name;if(s!==""&&globalThis[s]===i)return this.serializeBuiltInType(s,o);if(typeof o.toJSON=="function"){const c=o.toJSON();return s+(c!==null&&typeof c=="object"?this.$object(c):`(${this.serialize(c)})`)}return this.serializeObjectEntries(s,Object.entries(o))}serializeBuiltInType(o,r){const i=this["$"+o];if(i)return i.call(this,r);if(typeof(r==null?void 0:r.entries)=="function")return this.serializeObjectEntries(o,r.entries());throw new Error(`Cannot serialize ${o}`)}serializeObjectEntries(o,r){const i=Array.from(r).sort((c,d)=>this.compare(c[0],d[0]));let s=`${o}{`;for(let c=0;c<i.length;c++){const[d,h]=i[c];s+=`${this.serialize(d,!0)}:${this.serialize(h)}`,c<i.length-1&&(s+=",")}return s+"}"}$object(o){let r=w1(this,e).get(o);return r===void 0&&(w1(this,e).set(o,`#${w1(this,e).size}`),r=this.serializeObject(o),w1(this,e).set(o,r)),r}$function(o){const r=Function.prototype.toString.call(o);return r.slice(-15)==="[native code] }"?`${o.name||""}()[native]`:`${o.name}(${o.length})${r.replace(/\s*\n\s*/g,"")}`}$Array(o){let r="[";for(let i=0;i<o.length;i++)r+=this.serialize(o[i]),i<o.length-1&&(r+=",");return r+"]"}$Date(o){try{return`Date(${o.toISOString()})`}catch{return"Date(null)"}}$ArrayBuffer(o){return`ArrayBuffer[${new Uint8Array(o).join(",")}]`}$Set(o){return`Set${this.$Array(Array.from(o).sort((r,i)=>this.compare(r,i)))}`}$Map(o){return this.serializeObjectEntries("Map",o.entries())}}e=new WeakMap;for(const n of["Error","RegExp","URL"])t.prototype["$"+n]=function(o){return`${n}(${o})`};for(const n of["Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array"])t.prototype["$"+n]=function(o){return`${n}[${o.join(",")}]`};for(const n of["BigInt64Array","BigUint64Array"])t.prototype["$"+n]=function(o){return`${n}[${o.join("n,")}${o.length>0?"n":""}]`};return t})();function dE(t,e){return t===e||KB(t)===KB(e)}function XB(t,e=Number.NEGATIVE_INFINITY,n=Number.POSITIVE_INFINITY){return Math.min(n,Math.max(e,t))}function tt(t,e){const n=typeof t=="string"&&!e?`${t}Context`:e,o=Symbol(n);return[s=>{const c=a.inject(o,s);if(c||c===null)return c;throw new Error(`Injection \`${o.toString()}\` not found. Component must be used within ${Array.isArray(t)?`one of the following components: ${t.join(", ")}`:`\`${t}\``}`)},s=>(a.provide(o,s),s)]}function st(){let t=document.activeElement;if(t==null)return null;for(;t!=null&&t.shadowRoot!=null&&t.shadowRoot.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function wI(t,e,n){const o=n.originalEvent.target,r=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),o.dispatchEvent(r)}function vI(t){return t==null}function CI(t){return t?t.flatMap(e=>e.type===a.Fragment?CI(e.children):[e]):[]}const[ql]=tt("ConfigProvider");function LI(t){if(t===null||typeof t!="object")return!1;const e=Object.getPrototypeOf(t);return e!==null&&e!==Object.prototype&&Object.getPrototypeOf(e)!==null||Symbol.iterator in t?!1:Symbol.toStringTag in t?Object.prototype.toString.call(t)==="[object Module]":!0}function SI(t,e,n=".",o){if(!LI(e))return SI(t,{},n,o);const r=Object.assign({},e);for(const i in t){if(i==="__proto__"||i==="constructor")continue;const s=t[i];s!=null&&(o&&o(r,i,s,n)||(Array.isArray(s)&&Array.isArray(r[i])?r[i]=[...s,...r[i]]:LI(s)&&LI(r[i])?r[i]=SI(s,r[i],(n?`${n}.`:"")+i.toString(),o):r[i]=s))}return r}function hE(t){return(...e)=>e.reduce((n,o)=>SI(n,o,"",t),{})}const uE=hE(),pE=Xz(()=>{const t=a.ref(new Map),e=a.ref(),n=a.computed(()=>{for(const s of t.value.values())if(s)return!0;return!1}),o=ql({scrollBody:a.ref(!0)});let r=null;const i=()=>{document.body.style.paddingRight="",document.body.style.marginRight="",document.body.style.pointerEvents="",document.documentElement.style.removeProperty("--scrollbar-width"),document.body.style.overflow=e.value??"",jB&&(r==null||r()),e.value=void 0};return a.watch(n,(s,c)=>{var p;if(!pt)return;if(!s){c&&i();return}e.value===void 0&&(e.value=document.body.style.overflow);const d=window.innerWidth-document.documentElement.clientWidth,h={padding:d,margin:0},u=(p=o.scrollBody)!=null&&p.value?typeof o.scrollBody.value=="object"?uE({padding:o.scrollBody.value.padding===!0?d:o.scrollBody.value.padding,margin:o.scrollBody.value.margin===!0?d:o.scrollBody.value.margin},h):h:{padding:0,margin:0};d>0&&(document.body.style.paddingRight=typeof u.padding=="number"?`${u.padding}px`:String(u.padding),document.body.style.marginRight=typeof u.margin=="number"?`${u.margin}px`:String(u.margin),document.documentElement.style.setProperty("--scrollbar-width",`${d}px`),document.body.style.overflow="hidden"),jB&&(r=Pl(document,"touchmove",y=>yE(y),{passive:!1})),a.nextTick(()=>{document.body.style.pointerEvents="none",document.body.style.overflow="hidden"})},{immediate:!0,flush:"sync"}),t});function II(t){const e=Math.random().toString(36).substring(2,7),n=pE();n.value.set(e,t??!1);const o=a.computed({get:()=>n.value.get(e)??!1,set:r=>n.value.set(e,r)});return Qz(()=>{n.value.delete(e)}),o}function ZB(t){const e=window.getComputedStyle(t);if(e.overflowX==="scroll"||e.overflowY==="scroll"||e.overflowX==="auto"&&t.clientWidth<t.scrollWidth||e.overflowY==="auto"&&t.clientHeight<t.scrollHeight)return!0;{const n=t.parentNode;return!(n instanceof Element)||n.tagName==="BODY"?!1:ZB(n)}}function yE(t){const e=t||window.event,n=e.target;return n instanceof Element&&ZB(n)?!1:e.touches.length>1?!0:(e.preventDefault&&e.cancelable&&e.preventDefault(),!1)}function Ds(t,e){return t-e*Math.floor(t/e)}const JB=1721426;function ts(t,e,n,o){e=zl(t,e);let r=e-1,i=-2;return n<=2?i=0:Sa(e)&&(i=-1),JB-1+365*r+Math.floor(r/4)-Math.floor(r/100)+Math.floor(r/400)+Math.floor((367*n-362)/12+i+o)}function Sa(t){return t%4===0&&(t%100!==0||t%400===0)}function zl(t,e){return t==="BC"?1-e:e}function FL(t){let e="AD";return t<=0&&(e="BC",t=1-t),[e,t]}const fE={standard:[31,28,31,30,31,30,31,31,30,31,30,31],leapyear:[31,29,31,30,31,30,31,31,30,31,30,31]};class xt{fromJulianDay(e){let n=e,o=n-JB,r=Math.floor(o/146097),i=Ds(o,146097),s=Math.floor(i/36524),c=Ds(i,36524),d=Math.floor(c/1461),h=Ds(c,1461),u=Math.floor(h/365),p=r*400+s*100+d*4+u+(s!==4&&u!==4?1:0),[y,f]=FL(p),m=n-ts(y,f,1,1),k=2;n<ts(y,f,3,1)?k=0:Sa(f)&&(k=1);let g=Math.floor(((m+k)*12+373)/367),b=n-ts(y,f,g,1)+1;return new Ee(y,f,g,b)}toJulianDay(e){return ts(e.era,e.year,e.month,e.day)}getDaysInMonth(e){return fE[Sa(e.year)?"leapyear":"standard"][e.month-1]}getMonthsInYear(e){return 12}getDaysInYear(e){return Sa(e.year)?366:365}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getYearsInEra(e){return 9999}getEras(){return["BC","AD"]}isInverseEra(e){return e.era==="BC"}balanceDate(e){e.year<=0&&(e.era=e.era==="BC"?"AD":"BC",e.year=1-e.year)}constructor(){this.identifier="gregory"}}const mE={"001":1,AD:1,AE:6,AF:6,AI:1,AL:1,AM:1,AN:1,AR:1,AT:1,AU:1,AX:1,AZ:1,BA:1,BE:1,BG:1,BH:6,BM:1,BN:1,BY:1,CH:1,CL:1,CM:1,CN:1,CR:1,CY:1,CZ:1,DE:1,DJ:6,DK:1,DZ:6,EC:1,EE:1,EG:6,ES:1,FI:1,FJ:1,FO:1,FR:1,GB:1,GE:1,GF:1,GP:1,GR:1,HR:1,HU:1,IE:1,IQ:6,IR:6,IS:1,IT:1,JO:6,KG:1,KW:6,KZ:1,LB:1,LI:1,LK:1,LT:1,LU:1,LV:1,LY:6,MC:1,MD:1,ME:1,MK:1,MN:1,MQ:1,MV:5,MY:1,NL:1,NO:1,NZ:1,OM:6,PL:1,QA:6,RE:1,RO:1,RS:1,RU:1,SD:6,SE:1,SI:1,SK:1,SM:1,SY:6,TJ:1,TM:1,TR:1,UA:1,UY:1,UZ:1,VA:1,VN:1,XK:1};function Ia(t,e){return e=at(e,t.calendar),t.era===e.era&&t.year===e.year&&t.month===e.month&&t.day===e.day}function _I(t,e){return e=at(e,t.calendar),t=DI(t),e=DI(e),t.era===e.era&&t.year===e.year&&t.month===e.month}function BI(t,e){return AI(t.calendar,e.calendar)&&Ia(t,e)}function QB(t,e){return AI(t.calendar,e.calendar)&&_I(t,e)}function AI(t,e){var n,o,r,i;return(i=(r=(n=t.isEqual)===null||n===void 0?void 0:n.call(t,e))!==null&&r!==void 0?r:(o=e.isEqual)===null||o===void 0?void 0:o.call(e,t))!==null&&i!==void 0?i:t.identifier===e.identifier}function kE(t,e){return Ia(t,eA(e))}const gE={sun:0,mon:1,tue:2,wed:3,thu:4,fri:5,sat:6};function VI(t,e,n){let o=t.calendar.toJulianDay(t),r=n?gE[n]:wE(e),i=Math.ceil(o+1-r)%7;return i<0&&(i+=7),i}function bE(t){return aa(Date.now(),t)}function eA(t){return LE(bE(t))}function tA(t,e){return t.calendar.toJulianDay(t)-e.calendar.toJulianDay(e)}function ME(t,e){return aA(t)-aA(e)}function aA(t){return t.hour*36e5+t.minute*6e4+t.second*1e3+t.millisecond}let PI=null;function ea(){return PI==null&&(PI=new Intl.DateTimeFormat().resolvedOptions().timeZone),PI}function DI(t){return t.subtract({days:t.day-1})}function nA(t){return t.add({days:t.calendar.getDaysInMonth(t)-t.day})}const oA=new Map,qI=new Map;function xE(t){if(Intl.Locale){let n=oA.get(t);return n||(n=new Intl.Locale(t).maximize().region,n&&oA.set(t,n)),n}let e=t.split("-")[1];return e==="u"?void 0:e}function wE(t){let e=qI.get(t);if(!e){if(Intl.Locale){let o=new Intl.Locale(t);if("getWeekInfo"in o&&(e=o.getWeekInfo(),e))return qI.set(t,e),e.firstDay}let n=xE(t);if(t.includes("-fw-")){let o=t.split("-fw-")[1].split("-")[0];o==="mon"?e={firstDay:1}:o==="tue"?e={firstDay:2}:o==="wed"?e={firstDay:3}:o==="thu"?e={firstDay:4}:o==="fri"?e={firstDay:5}:o==="sat"?e={firstDay:6}:e={firstDay:0}}else t.includes("-ca-iso8601")?e={firstDay:1}:e={firstDay:n&&mE[n]||0};qI.set(t,e)}return e.firstDay}function qs(t){t=at(t,new xt);let e=zl(t.era,t.year);return rA(e,t.month,t.day,t.hour,t.minute,t.second,t.millisecond)}function rA(t,e,n,o,r,i,s){let c=new Date;return c.setUTCHours(o,r,i,s),c.setUTCFullYear(t,e-1,n),c.getTime()}function zI(t,e){if(e==="UTC")return 0;if(t>0&&e===ea())return new Date(t).getTimezoneOffset()*-6e4;let{year:n,month:o,day:r,hour:i,minute:s,second:c}=sA(t,e);return rA(n,o,r,i,s,c,0)-Math.floor(t/1e3)*1e3}const iA=new Map;function sA(t,e){let n=iA.get(e);n||(n=new Intl.DateTimeFormat("en-US",{timeZone:e,hour12:!1,era:"short",year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"}),iA.set(e,n));let o=n.formatToParts(new Date(t)),r={};for(let i of o)i.type!=="literal"&&(r[i.type]=i.value);return{year:r.era==="BC"||r.era==="B"?-r.year+1:+r.year,month:+r.month,day:+r.day,hour:r.hour==="24"?0:+r.hour,minute:+r.minute,second:+r.second}}const lA=864e5;function vE(t,e,n,o){return(n===o?[n]:[n,o]).filter(i=>CE(t,e,i))}function CE(t,e,n){let o=sA(n,e);return t.year===o.year&&t.month===o.month&&t.day===o.day&&t.hour===o.hour&&t.minute===o.minute&&t.second===o.second}function ta(t,e,n="compatible"){let o=zs(t);if(e==="UTC")return qs(o);if(e===ea()&&n==="compatible"){o=at(o,new xt);let d=new Date,h=zl(o.era,o.year);return d.setFullYear(h,o.month-1,o.day),d.setHours(o.hour,o.minute,o.second,o.millisecond),d.getTime()}let r=qs(o),i=zI(r-lA,e),s=zI(r+lA,e),c=vE(o,e,r-i,r-s);if(c.length===1)return c[0];if(c.length>1)switch(n){case"compatible":case"earlier":return c[0];case"later":return c[c.length-1];case"reject":throw new RangeError("Multiple possible absolute times found")}switch(n){case"earlier":return Math.min(r-i,r-s);case"compatible":case"later":return Math.max(r-i,r-s);case"reject":throw new RangeError("No such absolute time found")}}function cA(t,e,n="compatible"){return new Date(ta(t,e,n))}function aa(t,e){let n=zI(t,e),o=new Date(t+n),r=o.getUTCFullYear(),i=o.getUTCMonth()+1,s=o.getUTCDate(),c=o.getUTCHours(),d=o.getUTCMinutes(),h=o.getUTCSeconds(),u=o.getUTCMilliseconds();return new Ts(r<1?"BC":"AD",r<1?-r+1:r,i,s,e,n,c,d,h,u)}function LE(t){return new Ee(t.calendar,t.era,t.year,t.month,t.day)}function zs(t,e){let n=0,o=0,r=0,i=0;if("timeZone"in t)({hour:n,minute:o,second:r,millisecond:i}=t);else if("hour"in t&&!e)return t;return e&&({hour:n,minute:o,second:r,millisecond:i}=e),new Es(t.calendar,t.era,t.year,t.month,t.day,n,o,r,i)}function at(t,e){if(AI(t.calendar,e))return t;let n=e.fromJulianDay(t.calendar.toJulianDay(t)),o=t.copy();return o.calendar=e,o.era=n.era,o.year=n.year,o.month=n.month,o.day=n.day,as(o),o}function SE(t,e,n){if(t instanceof Ts)return t.timeZone===e?t:_E(t,e);let o=ta(t,e,n);return aa(o,e)}function IE(t){let e=qs(t)-t.offset;return new Date(e)}function _E(t,e){let n=qs(t)-t.offset;return at(aa(n,e),t.calendar)}const El=36e5;function $L(t,e){let n=t.copy(),o="hour"in n?PE(n,e):0;EI(n,e.years||0),n.calendar.balanceYearMonth&&n.calendar.balanceYearMonth(n,t),n.month+=e.months||0,TI(n),dA(n),n.day+=(e.weeks||0)*7,n.day+=e.days||0,n.day+=o,BE(n),n.calendar.balanceDate&&n.calendar.balanceDate(n),n.year<1&&(n.year=1,n.month=1,n.day=1);let r=n.calendar.getYearsInEra(n);if(n.year>r){var i,s;let d=(i=(s=n.calendar).isInverseEra)===null||i===void 0?void 0:i.call(s,n);n.year=r,n.month=d?1:n.calendar.getMonthsInYear(n),n.day=d?1:n.calendar.getDaysInMonth(n)}n.month<1&&(n.month=1,n.day=1);let c=n.calendar.getMonthsInYear(n);return n.month>c&&(n.month=c,n.day=n.calendar.getDaysInMonth(n)),n.day=Math.max(1,Math.min(n.calendar.getDaysInMonth(n),n.day)),n}function EI(t,e){var n,o;!((n=(o=t.calendar).isInverseEra)===null||n===void 0)&&n.call(o,t)&&(e=-e),t.year+=e}function TI(t){for(;t.month<1;)EI(t,-1),t.month+=t.calendar.getMonthsInYear(t);let e=0;for(;t.month>(e=t.calendar.getMonthsInYear(t));)t.month-=e,EI(t,1)}function BE(t){for(;t.day<1;)t.month--,TI(t),t.day+=t.calendar.getDaysInMonth(t);for(;t.day>t.calendar.getDaysInMonth(t);)t.day-=t.calendar.getDaysInMonth(t),t.month++,TI(t)}function dA(t){t.month=Math.max(1,Math.min(t.calendar.getMonthsInYear(t),t.month)),t.day=Math.max(1,Math.min(t.calendar.getDaysInMonth(t),t.day))}function as(t){t.calendar.constrainDate&&t.calendar.constrainDate(t),t.year=Math.max(1,Math.min(t.calendar.getYearsInEra(t),t.year)),dA(t)}function hA(t){let e={};for(let n in t)typeof t[n]=="number"&&(e[n]=-t[n]);return e}function uA(t,e){return $L(t,hA(e))}function OI(t,e){let n=t.copy();return e.era!=null&&(n.era=e.era),e.year!=null&&(n.year=e.year),e.month!=null&&(n.month=e.month),e.day!=null&&(n.day=e.day),as(n),n}function jL(t,e){let n=t.copy();return e.hour!=null&&(n.hour=e.hour),e.minute!=null&&(n.minute=e.minute),e.second!=null&&(n.second=e.second),e.millisecond!=null&&(n.millisecond=e.millisecond),VE(n),n}function AE(t){t.second+=Math.floor(t.millisecond/1e3),t.millisecond=RL(t.millisecond,1e3),t.minute+=Math.floor(t.second/60),t.second=RL(t.second,60),t.hour+=Math.floor(t.minute/60),t.minute=RL(t.minute,60);let e=Math.floor(t.hour/24);return t.hour=RL(t.hour,24),e}function VE(t){t.millisecond=Math.max(0,Math.min(t.millisecond,1e3)),t.second=Math.max(0,Math.min(t.second,59)),t.minute=Math.max(0,Math.min(t.minute,59)),t.hour=Math.max(0,Math.min(t.hour,23))}function RL(t,e){let n=t%e;return n<0&&(n+=e),n}function PE(t,e){return t.hour+=e.hours||0,t.minute+=e.minutes||0,t.second+=e.seconds||0,t.millisecond+=e.milliseconds||0,AE(t)}function HI(t,e,n,o){let r=t.copy();switch(e){case"era":{let c=t.calendar.getEras(),d=c.indexOf(t.era);if(d<0)throw new Error("Invalid era: "+t.era);d=na(d,n,0,c.length-1,o==null?void 0:o.round),r.era=c[d],as(r);break}case"year":var i,s;!((i=(s=r.calendar).isInverseEra)===null||i===void 0)&&i.call(s,r)&&(n=-n),r.year=na(t.year,n,-1/0,9999,o==null?void 0:o.round),r.year===-1/0&&(r.year=1),r.calendar.balanceYearMonth&&r.calendar.balanceYearMonth(r,t);break;case"month":r.month=na(t.month,n,1,t.calendar.getMonthsInYear(t),o==null?void 0:o.round);break;case"day":r.day=na(t.day,n,1,t.calendar.getDaysInMonth(t),o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+e)}return t.calendar.balanceDate&&t.calendar.balanceDate(r),as(r),r}function pA(t,e,n,o){let r=t.copy();switch(e){case"hour":{let i=t.hour,s=0,c=23;if((o==null?void 0:o.hourCycle)===12){let d=i>=12;s=d?12:0,c=d?23:11}r.hour=na(i,n,s,c,o==null?void 0:o.round);break}case"minute":r.minute=na(t.minute,n,0,59,o==null?void 0:o.round);break;case"second":r.second=na(t.second,n,0,59,o==null?void 0:o.round);break;case"millisecond":r.millisecond=na(t.millisecond,n,0,999,o==null?void 0:o.round);break;default:throw new Error("Unsupported field "+e)}return r}function na(t,e,n,o,r=!1){if(r){t+=Math.sign(e),t<n&&(t=o);let i=Math.abs(e);e>0?t=Math.ceil(t/i)*i:t=Math.floor(t/i)*i,t>o&&(t=n)}else t+=e,t<n?t=o-(n-t-1):t>o&&(t=n+(t-o-1));return t}function yA(t,e){let n;if(e.years!=null&&e.years!==0||e.months!=null&&e.months!==0||e.weeks!=null&&e.weeks!==0||e.days!=null&&e.days!==0){let r=$L(zs(t),{years:e.years,months:e.months,weeks:e.weeks,days:e.days});n=ta(r,t.timeZone)}else n=qs(t)-t.offset;n+=e.milliseconds||0,n+=(e.seconds||0)*1e3,n+=(e.minutes||0)*6e4,n+=(e.hours||0)*36e5;let o=aa(n,t.timeZone);return at(o,t.calendar)}function DE(t,e){return yA(t,hA(e))}function qE(t,e,n,o){switch(e){case"hour":{let r=0,i=23;if((o==null?void 0:o.hourCycle)===12){let m=t.hour>=12;r=m?12:0,i=m?23:11}let s=zs(t),c=at(jL(s,{hour:r}),new xt),d=[ta(c,t.timeZone,"earlier"),ta(c,t.timeZone,"later")].filter(m=>aa(m,t.timeZone).day===c.day)[0],h=at(jL(s,{hour:i}),new xt),u=[ta(h,t.timeZone,"earlier"),ta(h,t.timeZone,"later")].filter(m=>aa(m,t.timeZone).day===h.day).pop(),p=qs(t)-t.offset,y=Math.floor(p/El),f=p%El;return p=na(y,n,Math.floor(d/El),Math.floor(u/El),o==null?void 0:o.round)*El+f,at(aa(p,t.timeZone),t.calendar)}case"minute":case"second":case"millisecond":return pA(t,e,n,o);case"era":case"year":case"month":case"day":{let r=HI(zs(t),e,n,o),i=ta(r,t.timeZone);return at(aa(i,t.timeZone),t.calendar)}default:throw new Error("Unsupported field "+e)}}function zE(t,e,n){let o=zs(t),r=jL(OI(o,e),e);if(r.compare(o)===0)return t;let i=ta(r,t.timeZone,n);return at(aa(i,t.timeZone),t.calendar)}function EE(t){return`${String(t.hour).padStart(2,"0")}:${String(t.minute).padStart(2,"0")}:${String(t.second).padStart(2,"0")}${t.millisecond?String(t.millisecond/1e3).slice(1):""}`}function fA(t){let e=at(t,new xt),n;return e.era==="BC"?n=e.year===1?"0000":"-"+String(Math.abs(1-e.year)).padStart(6,"00"):n=String(e.year).padStart(4,"0"),`${n}-${String(e.month).padStart(2,"0")}-${String(e.day).padStart(2,"0")}`}function mA(t){return`${fA(t)}T${EE(t)}`}function TE(t){let e=Math.sign(t)<0?"-":"+";t=Math.abs(t);let n=Math.floor(t/36e5),o=Math.floor(t%36e5/6e4),r=Math.floor(t%36e5%6e4/1e3),i=`${e}${String(n).padStart(2,"0")}:${String(o).padStart(2,"0")}`;return r!==0&&(i+=`:${String(r).padStart(2,"0")}`),i}function OE(t){return`${mA(t)}${TE(t.offset)}[${t.timeZone}]`}function HE(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function FI(t,e,n){HE(t,e),e.set(t,n)}function $I(t){let e=typeof t[0]=="object"?t.shift():new xt,n;if(typeof t[0]=="string")n=t.shift();else{let s=e.getEras();n=s[s.length-1]}let o=t.shift(),r=t.shift(),i=t.shift();return[e,n,o,r,i]}var FE=new WeakMap;class Ee{copy(){return this.era?new Ee(this.calendar,this.era,this.year,this.month,this.day):new Ee(this.calendar,this.year,this.month,this.day)}add(e){return $L(this,e)}subtract(e){return uA(this,e)}set(e){return OI(this,e)}cycle(e,n,o){return HI(this,e,n,o)}toDate(e){return cA(this,e)}toString(){return fA(this)}compare(e){return tA(this,e)}constructor(...e){FI(this,FE,{writable:!0,value:void 0});let[n,o,r,i,s]=$I(e);this.calendar=n,this.era=o,this.year=r,this.month=i,this.day=s,as(this)}}var $E=new WeakMap;class Es{copy(){return this.era?new Es(this.calendar,this.era,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond):new Es(this.calendar,this.year,this.month,this.day,this.hour,this.minute,this.second,this.millisecond)}add(e){return $L(this,e)}subtract(e){return uA(this,e)}set(e){return OI(jL(this,e),e)}cycle(e,n,o){switch(e){case"era":case"year":case"month":case"day":return HI(this,e,n,o);default:return pA(this,e,n,o)}}toDate(e,n){return cA(this,e,n)}toString(){return mA(this)}compare(e){let n=tA(this,e);return n===0?ME(this,zs(e)):n}constructor(...e){FI(this,$E,{writable:!0,value:void 0});let[n,o,r,i,s]=$I(e);this.calendar=n,this.era=o,this.year=r,this.month=i,this.day=s,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,as(this)}}var jE=new WeakMap;class Ts{copy(){return this.era?new Ts(this.calendar,this.era,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond):new Ts(this.calendar,this.year,this.month,this.day,this.timeZone,this.offset,this.hour,this.minute,this.second,this.millisecond)}add(e){return yA(this,e)}subtract(e){return DE(this,e)}set(e,n){return zE(this,e,n)}cycle(e,n,o){return qE(this,e,n,o)}toDate(){return IE(this)}toString(){return OE(this)}toAbsoluteString(){return this.toDate().toISOString()}compare(e){return this.toDate().getTime()-SE(e,this.timeZone).toDate().getTime()}constructor(...e){FI(this,jE,{writable:!0,value:void 0});let[n,o,r,i,s]=$I(e),c=e.shift(),d=e.shift();this.calendar=n,this.era=o,this.year=r,this.month=i,this.day=s,this.timeZone=c,this.offset=d,this.hour=e.shift()||0,this.minute=e.shift()||0,this.second=e.shift()||0,this.millisecond=e.shift()||0,as(this)}}const Os=[[1868,9,8],[1912,7,30],[1926,12,25],[1989,1,8],[2019,5,1]],RE=[[1912,7,29],[1926,12,24],[1989,1,7],[2019,4,30]],NL=[1867,1911,1925,1988,2018],_a=["meiji","taisho","showa","heisei","reiwa"];function kA(t){const e=Os.findIndex(([n,o,r])=>t.year<n||t.year===n&&t.month<o||t.year===n&&t.month===o&&t.day<r);return e===-1?Os.length-1:e===0?0:e-1}function jI(t){let e=NL[_a.indexOf(t.era)];if(!e)throw new Error("Unknown era: "+t.era);return new Ee(t.year+e,t.month,t.day)}class NE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=kA(n);return new Ee(this,_a[o],n.year-NL[o],n.month,n.day)}toJulianDay(e){return super.toJulianDay(jI(e))}balanceDate(e){let n=jI(e),o=kA(n);_a[o]!==e.era&&(e.era=_a[o],e.year=n.year-NL[o]),this.constrainDate(e)}constrainDate(e){let n=_a.indexOf(e.era),o=RE[n];if(o!=null){let[r,i,s]=o,c=r-NL[n];e.year=Math.max(1,Math.min(c,e.year)),e.year===c&&(e.month=Math.min(i,e.month),e.month===i&&(e.day=Math.min(s,e.day)))}if(e.year===1&&n>=0){let[,r,i]=Os[n];e.month=Math.max(r,e.month),e.month===r&&(e.day=Math.max(i,e.day))}}getEras(){return _a}getYearsInEra(e){let n=_a.indexOf(e.era),o=Os[n],r=Os[n+1];if(r==null)return 9999-o[0]+1;let i=r[0]-o[0];return(e.month<r[1]||e.month===r[1]&&e.day<r[2])&&i++,i}getDaysInMonth(e){return super.getDaysInMonth(jI(e))}getMinimumMonthInYear(e){let n=gA(e);return n?n[1]:1}getMinimumDayInMonth(e){let n=gA(e);return n&&e.month===n[1]?n[2]:1}constructor(...e){super(...e),this.identifier="japanese"}}function gA(t){if(t.year===1){let e=_a.indexOf(t.era);return Os[e]}}const bA=-543;class UE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=zl(n.era,n.year);return new Ee(this,o-bA,n.month,n.day)}toJulianDay(e){return super.toJulianDay(MA(e))}getEras(){return["BE"]}getDaysInMonth(e){return super.getDaysInMonth(MA(e))}balanceDate(){}constructor(...e){super(...e),this.identifier="buddhist"}}function MA(t){let[e,n]=FL(t.year+bA);return new Ee(e,n,t.month,t.day)}const UL=1911;function xA(t){return t.era==="minguo"?t.year+UL:1-t.year+UL}function wA(t){let e=t-UL;return e>0?["minguo",e]:["before_minguo",1-e]}class WE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=zl(n.era,n.year),[r,i]=wA(o);return new Ee(this,r,i,n.month,n.day)}toJulianDay(e){return super.toJulianDay(vA(e))}getEras(){return["before_minguo","minguo"]}balanceDate(e){let[n,o]=wA(xA(e));e.era=n,e.year=o}isInverseEra(e){return e.era==="before_minguo"}getDaysInMonth(e){return super.getDaysInMonth(vA(e))}getYearsInEra(e){return e.era==="before_minguo"?9999:9999-UL}constructor(...e){super(...e),this.identifier="roc"}}function vA(t){let[e,n]=FL(xA(t));return new Ee(e,n,t.month,t.day)}const CA=1948320,LA=[0,31,62,93,124,155,186,216,246,276,306,336];class GE{fromJulianDay(e){let n=e-CA,o=1+Math.floor((33*n+3)/12053),r=365*(o-1)+Math.floor((8*o+21)/33),i=n-r,s=i<216?Math.floor(i/31):Math.floor((i-6)/30),c=i-LA[s]+1;return new Ee(this,o,s+1,c)}toJulianDay(e){let n=CA-1+365*(e.year-1)+Math.floor((8*e.year+21)/33);return n+=LA[e.month-1],n+=e.day,n}getMonthsInYear(){return 12}getDaysInMonth(e){return e.month<=6?31:e.month<=11||Ds(25*e.year+11,33)<8?30:29}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 31}getEras(){return["AP"]}getYearsInEra(){return 9377}constructor(){this.identifier="persian"}}const RI=78,SA=80;class YE extends xt{fromJulianDay(e){let n=super.fromJulianDay(e),o=n.year-RI,r=e-ts(n.era,n.year,1,1),i;r<SA?(o--,i=Sa(n.year-1)?31:30,r+=i+155+90+10):(i=Sa(n.year)?31:30,r-=SA);let s,c;if(r<i)s=1,c=r+1;else{let d=r-i;d<155?(s=Math.floor(d/31)+2,c=d%31+1):(d-=155,s=Math.floor(d/30)+7,c=d%30+1)}return new Ee(this,o,s,c)}toJulianDay(e){let n=e.year+RI,[o,r]=FL(n),i,s;return Sa(r)?(i=31,s=ts(o,r,3,21)):(i=30,s=ts(o,r,3,22)),e.month===1?s+e.day-1:(s+=i+Math.min(e.month-2,5)*31,e.month>=8&&(s+=(e.month-7)*30),s+=e.day-1,s)}getDaysInMonth(e){return e.month===1&&Sa(e.year+RI)||e.month>=2&&e.month<=6?31:30}getYearsInEra(){return 9919}getEras(){return["saka"]}balanceDate(){}constructor(...e){super(...e),this.identifier="indian"}}const WL=1948440,IA=1948439,yt=1300,Hs=1600,KE=460322;function GL(t,e,n,o){return o+Math.ceil(29.5*(n-1))+(e-1)*354+Math.floor((3+11*e)/30)+t-1}function _A(t,e,n){let o=Math.floor((30*(n-e)+10646)/10631),r=Math.min(12,Math.ceil((n-(29+GL(e,o,1,1)))/29.5)+1),i=n-GL(e,o,r,1)+1;return new Ee(t,o,r,i)}function BA(t){return(14+11*t)%30<11}class NI{fromJulianDay(e){return _A(this,WL,e)}toJulianDay(e){return GL(WL,e.year,e.month,e.day)}getDaysInMonth(e){let n=29+e.month%2;return e.month===12&&BA(e.year)&&n++,n}getMonthsInYear(){return 12}getDaysInYear(e){return BA(e.year)?355:354}getMaximumMonthsInYear(){return 12}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9665}getEras(){return["AH"]}constructor(){this.identifier="islamic-civil"}}class XE extends NI{fromJulianDay(e){return _A(this,IA,e)}toJulianDay(e){return GL(IA,e.year,e.month,e.day)}constructor(...e){super(...e),this.identifier="islamic-tbla"}}const ZE="qgpUDckO1AbqBmwDrQpVBakGkgepC9QF2gpcBS0NlQZKB1QLagutBa4ETwoXBYsGpQbVCtYCWwmdBE0KJg2VDawFtgm6AlsKKwWVCsoG6Qr0AnYJtgJWCcoKpAvSC9kF3AJtCU0FpQpSC6ULtAW2CVcFlwJLBaMGUgdlC2oFqworBZUMSg2lDcoF1gpXCasESwmlClILagt1BXYCtwhbBFUFqQW0BdoJ3QRuAjYJqgpUDbIN1QXaAlsJqwRVCkkLZAtxC7QFtQpVCiUNkg7JDtQG6QprCasEkwpJDaQNsg25CroEWworBZUKKgtVC1wFvQQ9Ah0JlQpKC1oLbQW2AjsJmwRVBqkGVAdqC2wFrQpVBSkLkgupC9QF2gpaBasKlQVJB2QHqgu1BbYCVgpNDiULUgtqC60FrgIvCZcESwalBqwG1gpdBZ0ETQoWDZUNqgW1BdoCWwmtBJUFygbkBuoK9QS2AlYJqgpUC9IL2QXqAm0JrQSVCkoLpQuyBbUJ1gSXCkcFkwZJB1ULagVrCisFiwpGDaMNygXWCtsEawJLCaUKUgtpC3UFdgG3CFsCKwVlBbQF2gntBG0BtgimClINqQ3UBdoKWwmrBFMGKQdiB6kLsgW1ClUFJQuSDckO0gbpCmsFqwRVCikNVA2qDbUJugQ7CpsETQqqCtUK2gJdCV4ELgqaDFUNsga5BroEXQotBZUKUguoC7QLuQXaAloJSgukDdEO6AZqC20FNQWVBkoNqA3UDdoGWwWdAisGFQtKC5ULqgWuCi4JjwwnBZUGqgbWCl0FnQI=";let UI,Fs;function YL(t){return KE+Fs[t-yt]}function Tl(t,e){let n=t-yt,o=1<<11-(e-1);return(UI[n]&o)===0?29:30}function AA(t,e){let n=YL(t);for(let o=1;o<e;o++)n+=Tl(t,o);return n}function VA(t){return Fs[t+1-yt]-Fs[t-yt]}class JE extends NI{fromJulianDay(e){let n=e-WL,o=YL(yt),r=YL(Hs);if(n<o||n>r)return super.fromJulianDay(e);{let i=yt-1,s=1,c=1;for(;c>0;){i++,c=n-YL(i)+1;let d=VA(i);if(c===d){s=12;break}else if(c<d){let h=Tl(i,s);for(s=1;c>h;)c-=h,s++,h=Tl(i,s);break}}return new Ee(this,i,s,n-AA(i,s)+1)}}toJulianDay(e){return e.year<yt||e.year>Hs?super.toJulianDay(e):WL+AA(e.year,e.month)+(e.day-1)}getDaysInMonth(e){return e.year<yt||e.year>Hs?super.getDaysInMonth(e):Tl(e.year,e.month)}getDaysInYear(e){return e.year<yt||e.year>Hs?super.getDaysInYear(e):VA(e.year)}constructor(){if(super(),this.identifier="islamic-umalqura",UI||(UI=new Uint16Array(Uint8Array.from(atob(ZE),e=>e.charCodeAt(0)).buffer)),!Fs){Fs=new Uint32Array(Hs-yt+1);let e=0;for(let n=yt;n<=Hs;n++){Fs[n-yt]=e;for(let o=1;o<=12;o++)e+=Tl(n,o)}}}}const PA=347997,DA=1080,qA=24*DA,QE=29,eT=12*DA+793,tT=QE*qA+eT;function ns(t){return Ds(t*7+1,19)<7}function KL(t){let e=Math.floor((235*t-234)/19),n=12084+13753*e,o=e*29+Math.floor(n/25920);return Ds(3*(o+1),7)<3&&(o+=1),o}function aT(t){let e=KL(t-1),n=KL(t);return KL(t+1)-n===356?2:n-e===382?1:0}function Ol(t){return KL(t)+aT(t)}function zA(t){return Ol(t+1)-Ol(t)}function nT(t){let e=zA(t);switch(e>380&&(e-=30),e){case 353:return 0;case 354:return 1;case 355:return 2}}function XL(t,e){if(e>=6&&!ns(t)&&e++,e===4||e===7||e===9||e===11||e===13)return 29;let n=nT(t);return e===2?n===2?30:29:e===3?n===0?29:30:e===6?ns(t)?30:0:30}class oT{fromJulianDay(e){let n=e-PA,o=n*qA/tT,r=Math.floor((19*o+234)/235)+1,i=Ol(r),s=Math.floor(n-i);for(;s<1;)r--,i=Ol(r),s=Math.floor(n-i);let c=1,d=0;for(;d<s;)d+=XL(r,c),c++;c--,d-=XL(r,c);let h=s-d;return new Ee(this,r,c,h)}toJulianDay(e){let n=Ol(e.year);for(let o=1;o<e.month;o++)n+=XL(e.year,o);return n+e.day+PA}getDaysInMonth(e){return XL(e.year,e.month)}getMonthsInYear(e){return ns(e.year)?13:12}getDaysInYear(e){return zA(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(){return 9999}getEras(){return["AM"]}balanceYearMonth(e,n){n.year!==e.year&&(ns(n.year)&&!ns(e.year)&&n.month>6?e.month--:!ns(n.year)&&ns(e.year)&&n.month>6&&e.month++)}constructor(){this.identifier="hebrew"}}const WI=1723856,EA=1824665,GI=5500;function ZL(t,e,n,o){return t+365*e+Math.floor(e/4)+30*(n-1)+o-1}function YI(t,e){let n=Math.floor(4*(e-t)/1461),o=1+Math.floor((e-ZL(t,n,1,1))/30),r=e+1-ZL(t,n,o,1);return[n,o,r]}function TA(t){return Math.floor(t%4/3)}function OA(t,e){return e%13!==0?30:TA(t)+5}class KI{fromJulianDay(e){let[n,o,r]=YI(WI,e),i="AM";return n<=0&&(i="AA",n+=GI),new Ee(this,i,n,o,r)}toJulianDay(e){let n=e.year;return e.era==="AA"&&(n-=GI),ZL(WI,n,e.month,e.day)}getDaysInMonth(e){return OA(e.year,e.month)}getMonthsInYear(){return 13}getDaysInYear(e){return 365+TA(e.year)}getMaximumMonthsInYear(){return 13}getMaximumDaysInMonth(){return 30}getYearsInEra(e){return e.era==="AA"?9999:9991}getEras(){return["AA","AM"]}constructor(){this.identifier="ethiopic"}}class rT extends KI{fromJulianDay(e){let[n,o,r]=YI(WI,e);return n+=GI,new Ee(this,"AA",n,o,r)}getEras(){return["AA"]}getYearsInEra(){return 9999}constructor(...e){super(...e),this.identifier="ethioaa"}}class iT extends KI{fromJulianDay(e){let[n,o,r]=YI(EA,e),i="CE";return n<=0&&(i="BCE",n=1-n),new Ee(this,i,n,o,r)}toJulianDay(e){let n=e.year;return e.era==="BCE"&&(n=1-n),ZL(EA,n,e.month,e.day)}getDaysInMonth(e){let n=e.year;return e.era==="BCE"&&(n=1-n),OA(n,e.month)}isInverseEra(e){return e.era==="BCE"}balanceDate(e){e.year<=0&&(e.era=e.era==="BCE"?"CE":"BCE",e.year=1-e.year)}getEras(){return["BCE","CE"]}getYearsInEra(e){return e.era==="BCE"?9999:9715}constructor(...e){super(...e),this.identifier="coptic"}}function sT(t){switch(t){case"buddhist":return new UE;case"ethiopic":return new KI;case"ethioaa":return new rT;case"coptic":return new iT;case"hebrew":return new oT;case"indian":return new YE;case"islamic-civil":return new NI;case"islamic-tbla":return new XE;case"islamic-umalqura":return new JE;case"japanese":return new NE;case"persian":return new GE;case"roc":return new WE;case"gregory":default:return new xt}}let XI=new Map;class oa{format(e){return this.formatter.format(e)}formatToParts(e){return this.formatter.formatToParts(e)}formatRange(e,n){if(typeof this.formatter.formatRange=="function")return this.formatter.formatRange(e,n);if(n<e)throw new RangeError("End date must be >= start date");return`${this.formatter.format(e)} – ${this.formatter.format(n)}`}formatRangeToParts(e,n){if(typeof this.formatter.formatRangeToParts=="function")return this.formatter.formatRangeToParts(e,n);if(n<e)throw new RangeError("End date must be >= start date");let o=this.formatter.formatToParts(e),r=this.formatter.formatToParts(n);return[...o.map(i=>({...i,source:"startRange"})),{type:"literal",value:" – ",source:"shared"},...r.map(i=>({...i,source:"endRange"}))]}resolvedOptions(){let e=this.formatter.resolvedOptions();return dT()&&(this.resolvedHourCycle||(this.resolvedHourCycle=hT(e.locale,this.options)),e.hourCycle=this.resolvedHourCycle,e.hour12=this.resolvedHourCycle==="h11"||this.resolvedHourCycle==="h12"),e.calendar==="ethiopic-amete-alem"&&(e.calendar="ethioaa"),e}constructor(e,n={}){this.formatter=HA(e,n),this.options=n}}const lT={true:{ja:"h11"},false:{}};function HA(t,e={}){if(typeof e.hour12=="boolean"&&cT()){e={...e};let r=lT[String(e.hour12)][t.split("-")[0]],i=e.hour12?"h12":"h23";e.hourCycle=r??i,delete e.hour12}let n=t+(e?Object.entries(e).sort((r,i)=>r[0]<i[0]?-1:1).join():"");if(XI.has(n))return XI.get(n);let o=new Intl.DateTimeFormat(t,e);return XI.set(n,o),o}let ZI=null;function cT(){return ZI==null&&(ZI=new Intl.DateTimeFormat("en-US",{hour:"numeric",hour12:!1}).format(new Date(2020,2,3,0))==="24"),ZI}let JI=null;function dT(){return JI==null&&(JI=new Intl.DateTimeFormat("fr",{hour:"numeric",hour12:!1}).resolvedOptions().hourCycle==="h12"),JI}function hT(t,e){if(!e.timeStyle&&!e.hour)return;t=t.replace(/(-u-)?-nu-[a-zA-Z0-9]+/,""),t+=(t.includes("-u-")?"":"-u")+"-nu-latn";let n=HA(t,{...e,timeZone:void 0}),o=parseInt(n.formatToParts(new Date(2020,2,3,0)).find(i=>i.type==="hour").value,10),r=parseInt(n.formatToParts(new Date(2020,2,3,23)).find(i=>i.type==="hour").value,10);if(o===0&&r===23)return"h23";if(o===24&&r===23)return"h24";if(o===0&&r===11)return"h11";if(o===12&&r===11)return"h12";throw new Error("Unexpected hour cycle result")}function Ft(t,e=ea()){return QI(t)?t.toDate():t.toDate(e)}function uT(t){return t instanceof Es}function QI(t){return t instanceof Ts}function pT(t){return uT(t)||QI(t)}function $s(t){if(t instanceof Date){const e=t.getFullYear(),n=t.getMonth()+1;return new Date(e,n,0).getDate()}else return t.set({day:100}).day}function JL(t,e){return t.compare(e)<0}function e_(t,e){return t.compare(e)>0}function yT(t,e,n){const o=VI(t,n,"sun");return e>o?t.subtract({days:o+7-e}):e===o?t:t.subtract({days:o-e})}function fT(t,e,n){const o=VI(t,n,"sun"),r=e===0?6:e-1;return o===r?t:o>r?t.add({days:7-o+r}):t.add({days:r-o})}function mT(t){const{defaultValue:e,defaultPlaceholder:n,granularity:o="day",locale:r="en"}=t;if(Array.isArray(e)&&e.length)return e.at(-1).copy();if(e&&!Array.isArray(e))return e.copy();if(n)return n.copy();const i=new Date,s=i.getFullYear(),c=i.getMonth()+1,d=i.getDate(),h=["hour","minute","second"],u=new oa(r),p=sT(u.resolvedOptions().calendar);return h.includes(o??"day")?at(new Es(s,c,d,0,0,0),p):at(new Ee(s,c,d),p)}function kT(t,e){const n=[];for(let o=0;o<t.length;o+=e)n.push(t.slice(o,o+e));return n}function gT(t){const e=t.querySelector("[data-selected]");if(e)return e.focus();const n=t.querySelector("[data-today]");if(n)return n.focus();const o=t.querySelector("[data-reka-calendar-day]");if(o)return o.focus()}function FA(t,e){const n=[];let o=t.add({days:1});const r=e;for(;o.compare(r)<0;)n.push(o),o=o.add({days:1});return n}function t_(t){const{dateObj:e,weekStartsOn:n,fixedWeeks:o,locale:r}=t,i=$s(e),s=Array.from({length:i},(g,b)=>e.set({day:b+1})),c=DI(e),d=nA(e),h=yT(c,n,r),u=fT(d,n,r),p=FA(h.subtract({days:1}),c),y=FA(d,u.add({days:1})),f=p.length+s.length+y.length;if(o&&f<42){const g=42-f;let b=y[y.length-1];b||(b=nA(e));const w=Array.from({length:g},(S,C)=>{const x=C+1;return b.add({days:x})});y.push(...w)}const m=p.concat(s,y),k=kT(m,7);return{value:e,cells:m,rows:k}}function os(t){const{numberOfMonths:e,dateObj:n,...o}=t,r=[];if(!e||e===1)return r.push(t_({...o,dateObj:n})),r;r.push(t_({...o,dateObj:n}));for(let i=1;i<e;i++){const s=n.add({months:i});r.push(t_({...o,dateObj:s}))}return r}function bT(t){const e=new Ee(2025,1,6);return(1-VI(e,t)+7)%7}function MT(t,e={}){const n=a.ref(t);function o(){return n.value}function r(g){n.value=g}function i(g,b){return new oa(n.value,{...e,...b}).format(g)}function s(g,b=!0){return pT(g)&&b?i(Ft(g),{dateStyle:"long",timeStyle:"long"}):i(Ft(g),{dateStyle:"long"})}function c(g,b={}){return new oa(n.value,{...e,month:"long",year:"numeric",...b}).format(g)}function d(g,b={}){return new oa(n.value,{...e,month:"long",...b}).format(g)}function h(){const g=eA(ea());return[1,2,3,4,5,6,7,8,9,10,11,12].map(w=>({label:d(Ft(g.set({month:w}))),value:w}))}function u(g,b={}){return new oa(n.value,{...e,year:"numeric",...b}).format(g)}function p(g,b){return QI(g)?new oa(n.value,{...e,...b,timeZone:g.timeZone}).formatToParts(Ft(g)):new oa(n.value,{...e,...b}).formatToParts(Ft(g))}function y(g,b="narrow"){return new oa(n.value,{...e,weekday:b}).format(g)}function f(g){var S;const w=(S=new oa(n.value,{...e,hour:"numeric",minute:"numeric"}).formatToParts(g).find(C=>C.type==="dayPeriod"))==null?void 0:S.value;return w==="PM"||w==="pm"||w==="p.m."?"PM":"AM"}const m={year:"numeric",month:"numeric",day:"numeric",hour:"numeric",minute:"numeric",second:"numeric"};function k(g,b,w={}){const S={...m,...w},x=p(g,S).find(M=>M.type===b);return x?x.value:""}return{setLocale:r,getLocale:o,fullMonth:d,fullYear:u,fullMonthAndYear:c,toParts:p,custom:i,part:k,dayPeriod:f,selectedDate:s,dayOfWeek:y,getMonths:h}}function $A(t){const e=ql({dir:a.ref("ltr")});return a.computed(()=>{var n;return(t==null?void 0:t.value)||((n=e.dir)==null?void 0:n.value)||"ltr"})}function QL(t){const e=a.getCurrentInstance(),n=e==null?void 0:e.type.emits,o={};return n!=null&&n.length||console.warn(`No emitted event found. Please check component: ${e==null?void 0:e.type.__name}`),n==null||n.forEach(r=>{o[a.toHandlerKey(a.camelize(r))]=(...i)=>t(r,...i)}),o}let a_=0;function jA(){a.watchEffect(t=>{if(!pt)return;const e=document.querySelectorAll("[data-reka-focus-guard]");document.body.insertAdjacentElement("afterbegin",e[0]??RA()),document.body.insertAdjacentElement("beforeend",e[1]??RA()),a_++,t(()=>{a_===1&&document.querySelectorAll("[data-reka-focus-guard]").forEach(n=>n.remove()),a_--})})}function RA(){const t=document.createElement("span");return t.setAttribute("data-reka-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}function xT(t){return a.computed(()=>{var e;return a.toValue(t)?!!((e=Ht(t))!=null&&e.closest("form")):!0})}function ke(){const t=a.getCurrentInstance(),e=a.ref(),n=a.computed(()=>{var s,c;return["#text","#comment"].includes((s=e.value)==null?void 0:s.$el.nodeName)?(c=e.value)==null?void 0:c.$el.nextElementSibling:Ht(e)}),o=Object.assign({},t.exposed),r={};for(const s in t.props)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>t.props[s]});if(Object.keys(o).length>0)for(const s in o)Object.defineProperty(r,s,{enumerable:!0,configurable:!0,get:()=>o[s]});Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>t.vnode.el}),t.exposed=r;function i(s){if(e.value=s,!!s&&(Object.defineProperty(r,"$el",{enumerable:!0,configurable:!0,get:()=>s instanceof Element?s:s.$el}),!(s instanceof Element)&&!Object.prototype.hasOwnProperty.call(s,"$el"))){const c=s.$.exposed,d=Object.assign({},r);for(const h in c)Object.defineProperty(d,h,{enumerable:!0,configurable:!0,get:()=>c[h]});t.exposed=d}}return{forwardRef:i,currentRef:e,currentElement:n}}function qe(t){const e=a.getCurrentInstance(),n=Object.keys((e==null?void 0:e.type.props)??{}).reduce((r,i)=>{const s=(e==null?void 0:e.type.props[i]).default;return s!==void 0&&(r[i]=s),r},{}),o=a.toRef(t);return a.computed(()=>{const r={},i=(e==null?void 0:e.vnode.props)??{};return Object.keys(i).forEach(s=>{r[a.camelize(s)]=i[s]}),Object.keys({...n,...r}).reduce((s,c)=>(o.value[c]!==void 0&&(s[c]=o.value[c]),s),{})})}function Ue(t,e){const n=qe(t),o=e?QL(e):{};return a.computed(()=>({...n.value,...o}))}function wT(t,e){const n=NB(!1,300);Vs(()=>{n.value=!1});const o=a.ref(null),r=jz();function i(){o.value=null,n.value=!1}function s(c,d){const h=c.currentTarget,u={x:c.clientX,y:c.clientY},p=vT(u,h.getBoundingClientRect()),y=CT(u,p,1),f=LT(d.getBoundingClientRect()),m=IT([...y,...f]);o.value=m,n.value=!0}return a.watchEffect(c=>{if(t.value&&e.value){const d=u=>s(u,e.value),h=u=>s(u,t.value);t.value.addEventListener("pointerleave",d),e.value.addEventListener("pointerleave",h),c(()=>{var u,p;(u=t.value)==null||u.removeEventListener("pointerleave",d),(p=e.value)==null||p.removeEventListener("pointerleave",h)})}}),a.watchEffect(c=>{var d;if(o.value){const h=u=>{var g,b;if(!o.value||!(u.target instanceof Element))return;const p=u.target,y={x:u.clientX,y:u.clientY},f=((g=t.value)==null?void 0:g.contains(p))||((b=e.value)==null?void 0:b.contains(p)),m=!ST(y,o.value),k=!!p.closest("[data-grace-area-trigger]");f?i():(m||k)&&(i(),r.trigger())};(d=t.value)==null||d.ownerDocument.addEventListener("pointermove",h),c(()=>{var u;return(u=t.value)==null?void 0:u.ownerDocument.removeEventListener("pointermove",h)})}}),{isPointerInTransit:n,onPointerExit:r.on}}function vT(t,e){const n=Math.abs(e.top-t.y),o=Math.abs(e.bottom-t.y),r=Math.abs(e.right-t.x),i=Math.abs(e.left-t.x);switch(Math.min(n,o,r,i)){case i:return"left";case r:return"right";case n:return"top";case o:return"bottom";default:throw new Error("unreachable")}}function CT(t,e,n=5){const o=[];switch(e){case"top":o.push({x:t.x-n,y:t.y+n},{x:t.x+n,y:t.y+n});break;case"bottom":o.push({x:t.x-n,y:t.y-n},{x:t.x+n,y:t.y-n});break;case"left":o.push({x:t.x+n,y:t.y-n},{x:t.x+n,y:t.y+n});break;case"right":o.push({x:t.x-n,y:t.y-n},{x:t.x-n,y:t.y+n});break}return o}function LT(t){const{top:e,right:n,bottom:o,left:r}=t;return[{x:r,y:e},{x:n,y:e},{x:n,y:o},{x:r,y:o}]}function ST(t,e){const{x:n,y:o}=t;let r=!1;for(let i=0,s=e.length-1;i<e.length;s=i++){const c=e[i].x,d=e[i].y,h=e[s].x,u=e[s].y;d>o!=u>o&&n<(h-c)*(o-d)/(u-d)+c&&(r=!r)}return r}function IT(t){const e=t.slice();return e.sort((n,o)=>n.x<o.x?-1:n.x>o.x?1:n.y<o.y?-1:n.y>o.y?1:0),_T(e)}function _T(t){if(t.length<=1)return t.slice();const e=[];for(let o=0;o<t.length;o++){const r=t[o];for(;e.length>=2;){const i=e[e.length-1],s=e[e.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))e.pop();else break}e.push(r)}e.pop();const n=[];for(let o=t.length-1;o>=0;o--){const r=t[o];for(;n.length>=2;){const i=n[n.length-1],s=n[n.length-2];if((i.x-s.x)*(r.y-s.y)>=(i.y-s.y)*(r.x-s.x))n.pop();else break}n.push(r)}return n.pop(),e.length===1&&n.length===1&&e[0].x===n[0].x&&e[0].y===n[0].y?e:e.concat(n)}var BT=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},js=new WeakMap,eS=new WeakMap,tS={},n_=0,NA=function(t){return t&&(t.host||NA(t.parentNode))},AT=function(t,e){return e.map(function(n){if(t.contains(n))return n;var o=NA(n);return o&&t.contains(o)?o:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},VT=function(t,e,n,o){var r=AT(e,Array.isArray(t)?t:[t]);tS[n]||(tS[n]=new WeakMap);var i=tS[n],s=[],c=new Set,d=new Set(r),h=function(p){!p||c.has(p)||(c.add(p),h(p.parentNode))};r.forEach(h);var u=function(p){!p||d.has(p)||Array.prototype.forEach.call(p.children,function(y){if(c.has(y))u(y);else try{var f=y.getAttribute(o),m=f!==null&&f!=="false",k=(js.get(y)||0)+1,g=(i.get(y)||0)+1;js.set(y,k),i.set(y,g),s.push(y),k===1&&m&&eS.set(y,!0),g===1&&y.setAttribute(n,"true"),m||y.setAttribute(o,"true")}catch(b){console.error("aria-hidden: cannot operate on ",y,b)}})};return u(e),c.clear(),n_++,function(){s.forEach(function(p){var y=js.get(p)-1,f=i.get(p)-1;js.set(p,y),i.set(p,f),y||(eS.has(p)||p.removeAttribute(o),eS.delete(p)),f||p.removeAttribute(n)}),n_--,n_||(js=new WeakMap,js=new WeakMap,eS=new WeakMap,tS={})}},PT=function(t,e,n){n===void 0&&(n="data-aria-hidden");var o=Array.from(Array.isArray(t)?t:[t]),r=BT(t);return r?(o.push.apply(o,Array.from(r.querySelectorAll("[aria-live], script"))),VT(o,r,n,"aria-hidden")):function(){return null}};function o_(t){let e;a.watch(()=>Ht(t),n=>{n?e=PT(n):e&&e()}),a.onUnmounted(()=>{e&&e()})}let DT=0;function Ba(t,e="reka"){var o;if("useId"in v1)return`${e}-${(o=v1.useId)==null?void 0:o.call(v1)}`;const n=ql({useId:void 0});return n.useId?`${e}-${n.useId()}`:`${e}-${++DT}`}function qT(){return{ALT:"Alt",ARROW_DOWN:"ArrowDown",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",ARROW_UP:"ArrowUp",BACKSPACE:"Backspace",CAPS_LOCK:"CapsLock",CONTROL:"Control",DELETE:"Delete",END:"End",ENTER:"Enter",ESCAPE:"Escape",F1:"F1",F10:"F10",F11:"F11",F12:"F12",F2:"F2",F3:"F3",F4:"F4",F5:"F5",F6:"F6",F7:"F7",F8:"F8",F9:"F9",HOME:"Home",META:"Meta",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",SHIFT:"Shift",SPACE:" ",TAB:"Tab",CTRL:"Control",ASTERISK:"*",SPACE_CODE:"Space"}}function zT(t){const e=ql({locale:a.ref("en")});return a.computed(()=>{var n;return(t==null?void 0:t.value)||((n=e.locale)==null?void 0:n.value)||"en"})}function ET(t){const e=a.ref(),n=a.computed(()=>{var r;return((r=e.value)==null?void 0:r.width)??0}),o=a.computed(()=>{var r;return((r=e.value)==null?void 0:r.height)??0});return a.onMounted(()=>{const r=Ht(t);if(r){e.value={width:r.offsetWidth,height:r.offsetHeight};const i=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const c=s[0];let d,h;if("borderBoxSize"in c){const u=c.borderBoxSize,p=Array.isArray(u)?u[0]:u;d=p.inlineSize,h=p.blockSize}else d=r.offsetWidth,h=r.offsetHeight;e.value={width:d,height:h}});return i.observe(r,{box:"border-box"}),()=>i.unobserve(r)}else e.value=void 0}),{width:n,height:o}}function TT(t,e){const n=a.ref(t);function o(i){return e[n.value][i]??n.value}return{state:n,dispatch:i=>{n.value=o(i)}}}function UA(t){const e=NB("",1e3);return{search:e,handleTypeaheadSearch:(r,i)=>{e.value=e.value+r;{const s=st(),c=i.map(y=>{var f,m;return{...y,textValue:((f=y.value)==null?void 0:f.textValue)??((m=y.ref.textContent)==null?void 0:m.trim())??""}}),d=c.find(y=>y.ref===s),h=c.map(y=>y.textValue),u=HT(h,e.value,d==null?void 0:d.textValue),p=c.find(y=>y.textValue===u);return p&&p.ref.focus(),p==null?void 0:p.ref}},resetTypeahead:()=>{e.value=""}}}function OT(t,e){return t.map((n,o)=>t[(e+o)%t.length])}function HT(t,e,n){const r=e.length>1&&Array.from(e).every(h=>h===e[0])?e[0]:e,i=n?t.indexOf(n):-1;let s=OT(t,Math.max(i,0));r.length===1&&(s=s.filter(h=>h!==n));const d=s.find(h=>h.toLowerCase().startsWith(r.toLowerCase()));return d!==n?d:void 0}function FT(t,e){var g;const n=a.ref({}),o=a.ref("none"),r=a.ref(t),i=t.value?"mounted":"unmounted";let s;const c=((g=e.value)==null?void 0:g.ownerDocument.defaultView)??Ps,{state:d,dispatch:h}=TT(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}}),u=b=>{var w;if(pt){const S=new CustomEvent(b,{bubbles:!1,cancelable:!1});(w=e.value)==null||w.dispatchEvent(S)}};a.watch(t,async(b,w)=>{var C;const S=w!==b;if(await a.nextTick(),S){const x=o.value,M=aS(e.value);b?(h("MOUNT"),u("enter"),M==="none"&&u("after-enter")):M==="none"||M==="undefined"||((C=n.value)==null?void 0:C.display)==="none"?(h("UNMOUNT"),u("leave"),u("after-leave")):w&&x!==M?(h("ANIMATION_OUT"),u("leave")):(h("UNMOUNT"),u("after-leave"))}},{immediate:!0});const p=b=>{const w=aS(e.value),S=w.includes(CSS.escape(b.animationName)),C=d.value==="mounted"?"enter":"leave";if(b.target===e.value&&S&&(u(`after-${C}`),h("ANIMATION_END"),!r.value)){const x=e.value.style.animationFillMode;e.value.style.animationFillMode="forwards",s=c==null?void 0:c.setTimeout(()=>{var M;((M=e.value)==null?void 0:M.style.animationFillMode)==="forwards"&&(e.value.style.animationFillMode=x)})}b.target===e.value&&w==="none"&&h("ANIMATION_END")},y=b=>{b.target===e.value&&(o.value=aS(e.value))},f=a.watch(e,(b,w)=>{b?(n.value=getComputedStyle(b),b.addEventListener("animationstart",y),b.addEventListener("animationcancel",p),b.addEventListener("animationend",p)):(h("ANIMATION_END"),s!==void 0&&(c==null||c.clearTimeout(s)),w==null||w.removeEventListener("animationstart",y),w==null||w.removeEventListener("animationcancel",p),w==null||w.removeEventListener("animationend",p))},{immediate:!0}),m=a.watch(d,()=>{const b=aS(e.value);o.value=d.value==="mounted"?b:"none"});return a.onUnmounted(()=>{f(),m()}),{isPresent:a.computed(()=>["mounted","unmountSuspended"].includes(d.value))}}function aS(t){return t&&getComputedStyle(t).animationName||"none"}var Hl=a.defineComponent({name:"Presence",props:{present:{type:Boolean,required:!0},forceMount:{type:Boolean}},slots:{},setup(t,{slots:e,expose:n}){var h;const{present:o,forceMount:r}=a.toRefs(t),i=a.ref(),{isPresent:s}=FT(o,i);n({present:s});let c=e.default({present:s.value});c=CI(c||[]);const d=a.getCurrentInstance();if(c&&(c==null?void 0:c.length)>1){const u=(h=d==null?void 0:d.parent)!=null&&h.type.name?`<${d.parent.type.name} />`:"component";throw new Error([`Detected an invalid children for \`${u}\` for \`Presence\` component.`,"","Note: Presence works similarly to `v-if` directly, but it waits for animation/transition to finished before unmounting. So it expect only one direct child of valid VNode type.","You can apply a few solutions:",["Provide a single child element so that `presence` directive attach correctly.","Ensure the first child is an actual element instead of a raw text node or comment node."].map(p=>` - ${p}`).join(`
|
|
8497
8497
|
`)].join(`
|
|
8498
|
-
`))}return()=>r.value||o.value||s.value?a.h(e.default({present:s.value})[0],{ref:u=>{const p=Ht(u);return typeof(p==null?void 0:p.hasAttribute)>"u"||(p!=null&&p.hasAttribute("data-reka-popper-content-wrapper")?i.value=p.firstElementChild:i.value=p),p}}):null}});const o_=a.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:e,slots:n}){return()=>{var d;if(!n.default)return null;const o=vI(n.default()),r=o.findIndex(h=>h.type!==a.Comment);if(r===-1)return o;const i=o[r];(d=i.props)==null||delete d.ref;const s=i.props?a.mergeProps(e,i.props):e,c=a.cloneVNode({...i,props:{}},s);return o.length===1?c:(o[r]=c,o)}}}),FT=["area","img","input"],ye=a.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:e,slots:n}){const o=t.asChild?"template":t.as;return typeof o=="string"&&FT.includes(o)?()=>a.h(o,e):o!=="template"?()=>a.h(t.as,e,{default:n.default}):()=>a.h(o_,e,{default:n.default})}});function nS(){const t=a.ref(),e=a.computed(()=>{var n,o;return["#text","#comment"].includes((n=t.value)==null?void 0:n.$el.nodeName)?(o=t.value)==null?void 0:o.$el.nextElementSibling:Ht(t)});return{primitiveElement:t,currentElement:e}}const[$t,$T]=tt("DialogRoot");var jT=a.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(t,{emit:e}){const n=t,r=Qt(n,"open",e,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=a.ref(),s=a.ref(),{modal:c}=a.toRefs(n);return $T({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:d=>{r.value=d},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(d,h)=>a.renderSlot(d.$slots,"default",{open:a.unref(r),close:()=>r.value=!1})}}),WA=jT,RT=a.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=$t();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>a.unref(n).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["type"]))}}),GA=RT;const NT="dismissableLayer.pointerDownOutside",UT="dismissableLayer.focusOutside";function YA(t,e){const n=e.closest("[data-dismissable-layer]"),o=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),r=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function WT(t,e,n=!0){var s;const o=((s=e==null?void 0:e.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1),i=a.ref(()=>{});return a.watchEffect(c=>{if(!pt||!a.toValue(n))return;const d=async u=>{const p=u.target;if(!(!(e!=null&&e.value)||!p)){if(YA(e.value,p)){r.value=!1;return}if(u.target&&!r.value){let f=function(){xI(NT,t,y)};const y={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=f,o.addEventListener("click",i.value,{once:!0})):f()}else o.removeEventListener("click",i.value);r.value=!1}},h=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);c(()=>{window.clearTimeout(h),o.removeEventListener("pointerdown",d),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{a.toValue(n)&&(r.value=!0)}}}function GT(t,e,n=!0){var i;const o=((i=e==null?void 0:e.value)==null?void 0:i.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1);return a.watchEffect(s=>{if(!pt||!a.toValue(n))return;const c=async d=>{if(!(e!=null&&e.value))return;await a.nextTick(),await a.nextTick();const h=d.target;!e.value||!h||YA(e.value,h)||d.target&&!r.value&&xI(UT,t,{originalEvent:d})};o.addEventListener("focusin",c),s(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{a.toValue(n)&&(r.value=!0)},onBlurCapture:()=>{a.toValue(n)&&(r.value=!1)}}}const ft=a.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var YT=a.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:e}){const n=t,o=e,{forwardRef:r,currentElement:i}=ke(),s=a.computed(()=>{var f;return((f=i.value)==null?void 0:f.ownerDocument)??globalThis.document}),c=a.computed(()=>ft.layersRoot),d=a.computed(()=>i.value?Array.from(c.value).indexOf(i.value):-1),h=a.computed(()=>ft.layersWithOutsidePointerEventsDisabled.size>0),u=a.computed(()=>{const f=Array.from(c.value),[m]=[...ft.layersWithOutsidePointerEventsDisabled].slice(-1),k=f.indexOf(m);return d.value>=k}),p=WT(async f=>{const m=[...ft.branches].some(k=>k==null?void 0:k.contains(f.target));!u.value||m||(o("pointerDownOutside",f),o("interactOutside",f),await a.nextTick(),f.defaultPrevented||o("dismiss"))},i),y=GT(f=>{[...ft.branches].some(k=>k==null?void 0:k.contains(f.target))||(o("focusOutside",f),o("interactOutside",f),f.defaultPrevented||o("dismiss"))},i);return aE("Escape",f=>{d.value===c.value.size-1&&(o("escapeKeyDown",f),f.defaultPrevented||o("dismiss"))}),a.watchEffect(f=>{i.value&&(n.disableOutsidePointerEvents&&(ft.layersWithOutsidePointerEventsDisabled.size===0&&(ft.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),ft.layersWithOutsidePointerEventsDisabled.add(i.value)),c.value.add(i.value),f(()=>{n.disableOutsidePointerEvents&&ft.layersWithOutsidePointerEventsDisabled.size===1&&!wI(ft.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=ft.originalBodyPointerEvents)}))}),a.watchEffect(f=>{f(()=>{i.value&&(c.value.delete(i.value),ft.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(f,m)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref:a.unref(r),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:a.normalizeStyle({pointerEvents:h.value?u.value?"auto":"none":void 0}),onFocusCapture:a.unref(y).onFocusCapture,onBlurCapture:a.unref(y).onBlurCapture,onPointerdownCapture:a.unref(p).onPointerDownCapture},{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),oS=YT;const KT=jz(()=>a.ref([]));function XT(){const t=KT();return{add(e){const n=t.value[0];e!==n&&(n==null||n.pause()),t.value=KA(t.value,e),t.value.unshift(e)},remove(e){var n;t.value=KA(t.value,e),(n=t.value[0])==null||n.resume()}}}function KA(t,e){const n=[...t],o=n.indexOf(e);return o!==-1&&n.splice(o,1),n}const r_="focusScope.autoFocusOnMount",i_="focusScope.autoFocusOnUnmount",XA={bubbles:!1,cancelable:!0};function ZT(t,{select:e=!1}={}){const n=st();for(const o of t)if(Aa(o,{select:e}),st()!==n)return!0}function JT(t){const e=ZA(t),n=JA(e,t),o=JA(e.reverse(),t);return[n,o]}function ZA(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function JA(t,e){for(const n of t)if(!QT(n,{upTo:e}))return n}function QT(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function eO(t){return t instanceof HTMLInputElement&&"select"in t}function Aa(t,{select:e=!1}={}){if(t&&t.focus){const n=st();t.focus({preventScroll:!0}),t!==n&&eO(t)&&e&&t.select()}}var tO=a.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:e}){const n=t,o=e,{currentRef:r,currentElement:i}=ke(),s=a.ref(null),c=XT(),d=a.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});a.watchEffect(u=>{if(!pt)return;const p=i.value;if(!n.trapped)return;function y(g){if(d.paused||!p)return;const b=g.target;p.contains(b)?s.value=b:Aa(s.value,{select:!0})}function f(g){if(d.paused||!p)return;const b=g.relatedTarget;b!==null&&(p.contains(b)||Aa(s.value,{select:!0}))}function m(g){p.contains(s.value)||Aa(p)}document.addEventListener("focusin",y),document.addEventListener("focusout",f);const k=new MutationObserver(m);p&&k.observe(p,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",f),k.disconnect()})}),a.watchEffect(async u=>{const p=i.value;if(await a.nextTick(),!p)return;c.add(d);const y=st();if(!p.contains(y)){const m=new CustomEvent(r_,XA);p.addEventListener(r_,k=>o("mountAutoFocus",k)),p.dispatchEvent(m),m.defaultPrevented||(ZT(ZA(p),{select:!0}),st()===y&&Aa(p))}u(()=>{p.removeEventListener(r_,g=>o("mountAutoFocus",g));const m=new CustomEvent(i_,XA),k=g=>{o("unmountAutoFocus",g)};p.addEventListener(i_,k),p.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||Aa(y??document.body,{select:!0}),p.removeEventListener(i_,k),c.remove(d)},0)})});function h(u){if(!n.loop&&!n.trapped||d.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=st();if(p&&y){const f=u.currentTarget,[m,k]=JT(f);m&&k?!u.shiftKey&&y===k?(u.preventDefault(),n.loop&&Aa(m,{select:!0})):u.shiftKey&&y===m&&(u.preventDefault(),n.loop&&Aa(k,{select:!0})):y===f&&u.preventDefault()}}return(u,p)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:h},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),s_=tO;function aO(t){return t?"open":"closed"}function QA(t){const e=st();for(const n of t)if(n===e||(n.focus(),st()!==e))return}const nO="DialogTitle",oO="DialogContent";function rO({titleName:t=nO,contentName:e=oO,componentLink:n="dialog.html#title",titleId:o,descriptionId:r,contentElement:i}){const s=`Warning: \`${e}\` requires a \`${t}\` for the component to be accessible for screen reader users.
|
|
8498
|
+
`))}return()=>r.value||o.value||s.value?a.h(e.default({present:s.value})[0],{ref:u=>{const p=Ht(u);return typeof(p==null?void 0:p.hasAttribute)>"u"||(p!=null&&p.hasAttribute("data-reka-popper-content-wrapper")?i.value=p.firstElementChild:i.value=p),p}}):null}});const r_=a.defineComponent({name:"PrimitiveSlot",inheritAttrs:!1,setup(t,{attrs:e,slots:n}){return()=>{var d;if(!n.default)return null;const o=CI(n.default()),r=o.findIndex(h=>h.type!==a.Comment);if(r===-1)return o;const i=o[r];(d=i.props)==null||delete d.ref;const s=i.props?a.mergeProps(e,i.props):e,c=a.cloneVNode({...i,props:{}},s);return o.length===1?c:(o[r]=c,o)}}}),$T=["area","img","input"],ye=a.defineComponent({name:"Primitive",inheritAttrs:!1,props:{asChild:{type:Boolean,default:!1},as:{type:[String,Object],default:"div"}},setup(t,{attrs:e,slots:n}){const o=t.asChild?"template":t.as;return typeof o=="string"&&$T.includes(o)?()=>a.h(o,e):o!=="template"?()=>a.h(t.as,e,{default:n.default}):()=>a.h(r_,e,{default:n.default})}});function nS(){const t=a.ref(),e=a.computed(()=>{var n,o;return["#text","#comment"].includes((n=t.value)==null?void 0:n.$el.nodeName)?(o=t.value)==null?void 0:o.$el.nextElementSibling:Ht(t)});return{primitiveElement:t,currentElement:e}}const[$t,jT]=tt("DialogRoot");var RT=a.defineComponent({inheritAttrs:!1,__name:"DialogRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1,default:!1},modal:{type:Boolean,required:!1,default:!0}},emits:["update:open"],setup(t,{emit:e}){const n=t,r=Qt(n,"open",e,{defaultValue:n.defaultOpen,passive:n.open===void 0}),i=a.ref(),s=a.ref(),{modal:c}=a.toRefs(n);return jT({open:r,modal:c,openModal:()=>{r.value=!0},onOpenChange:d=>{r.value=d},onOpenToggle:()=>{r.value=!r.value},contentId:"",titleId:"",descriptionId:"",triggerElement:i,contentElement:s}),(d,h)=>a.renderSlot(d.$slots,"default",{open:a.unref(r),close:()=>r.value=!1})}}),WA=RT,NT=a.defineComponent({__name:"DialogClose",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=$t();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{type:o.as==="button"?"button":void 0,onClick:r[0]||(r[0]=i=>a.unref(n).onOpenChange(!1))}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["type"]))}}),GA=NT;const UT="dismissableLayer.pointerDownOutside",WT="dismissableLayer.focusOutside";function YA(t,e){const n=e.closest("[data-dismissable-layer]"),o=t.dataset.dismissableLayer===""?t:t.querySelector("[data-dismissable-layer]"),r=Array.from(t.ownerDocument.querySelectorAll("[data-dismissable-layer]"));return!!(n&&(o===n||r.indexOf(o)<r.indexOf(n)))}function GT(t,e,n=!0){var s;const o=((s=e==null?void 0:e.value)==null?void 0:s.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1),i=a.ref(()=>{});return a.watchEffect(c=>{if(!pt||!a.toValue(n))return;const d=async u=>{const p=u.target;if(!(!(e!=null&&e.value)||!p)){if(YA(e.value,p)){r.value=!1;return}if(u.target&&!r.value){let f=function(){wI(UT,t,y)};const y={originalEvent:u};u.pointerType==="touch"?(o.removeEventListener("click",i.value),i.value=f,o.addEventListener("click",i.value,{once:!0})):f()}else o.removeEventListener("click",i.value);r.value=!1}},h=window.setTimeout(()=>{o.addEventListener("pointerdown",d)},0);c(()=>{window.clearTimeout(h),o.removeEventListener("pointerdown",d),o.removeEventListener("click",i.value)})}),{onPointerDownCapture:()=>{a.toValue(n)&&(r.value=!0)}}}function YT(t,e,n=!0){var i;const o=((i=e==null?void 0:e.value)==null?void 0:i.ownerDocument)??(globalThis==null?void 0:globalThis.document),r=a.ref(!1);return a.watchEffect(s=>{if(!pt||!a.toValue(n))return;const c=async d=>{if(!(e!=null&&e.value))return;await a.nextTick(),await a.nextTick();const h=d.target;!e.value||!h||YA(e.value,h)||d.target&&!r.value&&wI(WT,t,{originalEvent:d})};o.addEventListener("focusin",c),s(()=>o.removeEventListener("focusin",c))}),{onFocusCapture:()=>{a.toValue(n)&&(r.value=!0)},onBlurCapture:()=>{a.toValue(n)&&(r.value=!1)}}}const ft=a.reactive({layersRoot:new Set,layersWithOutsidePointerEventsDisabled:new Set,originalBodyPointerEvents:void 0,branches:new Set});var KT=a.defineComponent({__name:"DismissableLayer",props:{disableOutsidePointerEvents:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","dismiss"],setup(t,{emit:e}){const n=t,o=e,{forwardRef:r,currentElement:i}=ke(),s=a.computed(()=>{var f;return((f=i.value)==null?void 0:f.ownerDocument)??globalThis.document}),c=a.computed(()=>ft.layersRoot),d=a.computed(()=>i.value?Array.from(c.value).indexOf(i.value):-1),h=a.computed(()=>ft.layersWithOutsidePointerEventsDisabled.size>0),u=a.computed(()=>{const f=Array.from(c.value),[m]=[...ft.layersWithOutsidePointerEventsDisabled].slice(-1),k=f.indexOf(m);return d.value>=k}),p=GT(async f=>{const m=[...ft.branches].some(k=>k==null?void 0:k.contains(f.target));!u.value||m||(o("pointerDownOutside",f),o("interactOutside",f),await a.nextTick(),f.defaultPrevented||o("dismiss"))},i),y=YT(f=>{[...ft.branches].some(k=>k==null?void 0:k.contains(f.target))||(o("focusOutside",f),o("interactOutside",f),f.defaultPrevented||o("dismiss"))},i);return nE("Escape",f=>{d.value===c.value.size-1&&(o("escapeKeyDown",f),f.defaultPrevented||o("dismiss"))}),a.watchEffect(f=>{i.value&&(n.disableOutsidePointerEvents&&(ft.layersWithOutsidePointerEventsDisabled.size===0&&(ft.originalBodyPointerEvents=s.value.body.style.pointerEvents,s.value.body.style.pointerEvents="none"),ft.layersWithOutsidePointerEventsDisabled.add(i.value)),c.value.add(i.value),f(()=>{n.disableOutsidePointerEvents&&ft.layersWithOutsidePointerEventsDisabled.size===1&&!vI(ft.originalBodyPointerEvents)&&(s.value.body.style.pointerEvents=ft.originalBodyPointerEvents)}))}),a.watchEffect(f=>{f(()=>{i.value&&(c.value.delete(i.value),ft.layersWithOutsidePointerEventsDisabled.delete(i.value))})}),(f,m)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref:a.unref(r),"as-child":f.asChild,as:f.as,"data-dismissable-layer":"",style:a.normalizeStyle({pointerEvents:h.value?u.value?"auto":"none":void 0}),onFocusCapture:a.unref(y).onFocusCapture,onBlurCapture:a.unref(y).onBlurCapture,onPointerdownCapture:a.unref(p).onPointerDownCapture},{default:a.withCtx(()=>[a.renderSlot(f.$slots,"default")]),_:3},8,["as-child","as","style","onFocusCapture","onBlurCapture","onPointerdownCapture"]))}}),oS=KT;const XT=Rz(()=>a.ref([]));function ZT(){const t=XT();return{add(e){const n=t.value[0];e!==n&&(n==null||n.pause()),t.value=KA(t.value,e),t.value.unshift(e)},remove(e){var n;t.value=KA(t.value,e),(n=t.value[0])==null||n.resume()}}}function KA(t,e){const n=[...t],o=n.indexOf(e);return o!==-1&&n.splice(o,1),n}const i_="focusScope.autoFocusOnMount",s_="focusScope.autoFocusOnUnmount",XA={bubbles:!1,cancelable:!0};function JT(t,{select:e=!1}={}){const n=st();for(const o of t)if(Aa(o,{select:e}),st()!==n)return!0}function QT(t){const e=ZA(t),n=JA(e,t),o=JA(e.reverse(),t);return[n,o]}function ZA(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:o=>{const r=o.tagName==="INPUT"&&o.type==="hidden";return o.disabled||o.hidden||r?NodeFilter.FILTER_SKIP:o.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function JA(t,e){for(const n of t)if(!eO(n,{upTo:e}))return n}function eO(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function tO(t){return t instanceof HTMLInputElement&&"select"in t}function Aa(t,{select:e=!1}={}){if(t&&t.focus){const n=st();t.focus({preventScroll:!0}),t!==n&&tO(t)&&e&&t.select()}}var aO=a.defineComponent({__name:"FocusScope",props:{loop:{type:Boolean,required:!1,default:!1},trapped:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["mountAutoFocus","unmountAutoFocus"],setup(t,{emit:e}){const n=t,o=e,{currentRef:r,currentElement:i}=ke(),s=a.ref(null),c=ZT(),d=a.reactive({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}});a.watchEffect(u=>{if(!pt)return;const p=i.value;if(!n.trapped)return;function y(g){if(d.paused||!p)return;const b=g.target;p.contains(b)?s.value=b:Aa(s.value,{select:!0})}function f(g){if(d.paused||!p)return;const b=g.relatedTarget;b!==null&&(p.contains(b)||Aa(s.value,{select:!0}))}function m(g){p.contains(s.value)||Aa(p)}document.addEventListener("focusin",y),document.addEventListener("focusout",f);const k=new MutationObserver(m);p&&k.observe(p,{childList:!0,subtree:!0}),u(()=>{document.removeEventListener("focusin",y),document.removeEventListener("focusout",f),k.disconnect()})}),a.watchEffect(async u=>{const p=i.value;if(await a.nextTick(),!p)return;c.add(d);const y=st();if(!p.contains(y)){const m=new CustomEvent(i_,XA);p.addEventListener(i_,k=>o("mountAutoFocus",k)),p.dispatchEvent(m),m.defaultPrevented||(JT(ZA(p),{select:!0}),st()===y&&Aa(p))}u(()=>{p.removeEventListener(i_,g=>o("mountAutoFocus",g));const m=new CustomEvent(s_,XA),k=g=>{o("unmountAutoFocus",g)};p.addEventListener(s_,k),p.dispatchEvent(m),setTimeout(()=>{m.defaultPrevented||Aa(y??document.body,{select:!0}),p.removeEventListener(s_,k),c.remove(d)},0)})});function h(u){if(!n.loop&&!n.trapped||d.paused)return;const p=u.key==="Tab"&&!u.altKey&&!u.ctrlKey&&!u.metaKey,y=st();if(p&&y){const f=u.currentTarget,[m,k]=QT(f);m&&k?!u.shiftKey&&y===k?(u.preventDefault(),n.loop&&Aa(m,{select:!0})):u.shiftKey&&y===m&&(u.preventDefault(),n.loop&&Aa(k,{select:!0})):y===f&&u.preventDefault()}}return(u,p)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref_key:"currentRef",ref:r,tabindex:"-1","as-child":u.asChild,as:u.as,onKeydown:h},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["as-child","as"]))}}),l_=aO;function nO(t){return t?"open":"closed"}function QA(t){const e=st();for(const n of t)if(n===e||(n.focus(),st()!==e))return}const oO="DialogTitle",rO="DialogContent";function iO({titleName:t=oO,contentName:e=rO,componentLink:n="dialog.html#title",titleId:o,descriptionId:r,contentElement:i}){const s=`Warning: \`${e}\` requires a \`${t}\` for the component to be accessible for screen reader users.
|
|
8499
8499
|
|
|
8500
8500
|
If you want to hide the \`${t}\`, you can wrap it with our VisuallyHidden component.
|
|
8501
8501
|
|
|
8502
|
-
For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${e}.`;a.onMounted(()=>{var u;document.getElementById(o)||console.warn(s);const h=(u=i.value)==null?void 0:u.getAttribute("aria-describedby");r&&h&&(document.getElementById(r)||console.warn(c))})}var iO={},sO=a.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=$t(),{forwardRef:i,currentElement:s}=ke();return r.titleId||(r.titleId=Ba(void 0,"reka-dialog-title")),r.descriptionId||(r.descriptionId=Ba(void 0,"reka-dialog-description")),a.onMounted(()=>{r.contentElement=s,st()!==document.body&&(r.triggerElement.value=st())}),iO.NODE_ENV!=="production"&&rO({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:s}),(c,d)=>(a.openBlock(),a.createBlock(a.unref(s_),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:a.withCtx(()=>[a.createVNode(a.unref(oS),a.mergeProps({id:a.unref(r).contentId,ref:a.unref(i),as:c.as,"as-child":c.asChild,"disable-outside-pointer-events":c.disableOutsidePointerEvents,role:"dialog","aria-describedby":a.unref(r).descriptionId,"aria-labelledby":a.unref(r).titleId,"data-state":a.unref(aO)(a.unref(r).open.value)},c.$attrs,{onDismiss:d[0]||(d[0]=h=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:d[1]||(d[1]=h=>o("escapeKeyDown",h)),onFocusOutside:d[2]||(d[2]=h=>o("focusOutside",h)),onInteractOutside:d[3]||(d[3]=h=>o("interactOutside",h)),onPointerDownOutside:d[4]||(d[4]=h=>o("pointerDownOutside",h))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),eV=sO,lO=a.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=$t(),i=QL(o),{forwardRef:s,currentElement:c}=ke();return n_(c),(d,h)=>(a.openBlock(),a.createBlock(eV,a.mergeProps({...n,...a.unref(i)},{ref:a.unref(s),"trap-focus":a.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(u.preventDefault(),(p=a.unref(r).triggerElement.value)==null||p.focus())}),onPointerDownOutside:h[1]||(h[1]=u=>{const p=u.detail.originalEvent,y=p.button===0&&p.ctrlKey===!0;(p.button===2||y)&&u.preventDefault()}),onFocusOutside:h[2]||(h[2]=u=>{u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),cO=lO,dO=a.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,r=QL(e);ke();const i=$t(),s=a.ref(!1),c=a.ref(!1);return(d,h)=>(a.openBlock(),a.createBlock(eV,a.mergeProps({...n,...a.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(s.value||(p=a.unref(i).triggerElement.value)==null||p.focus(),u.preventDefault()),s.value=!1,c.value=!1}),onInteractOutside:h[1]||(h[1]=u=>{var f;u.defaultPrevented||(s.value=!0,u.detail.originalEvent.type==="pointerdown"&&(c.value=!0));const p=u.target;((f=a.unref(i).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&c.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),hO=dO,uO=a.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=$t(),i=QL(o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(Hl),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(r).modal.value?(a.openBlock(),a.createBlock(cO,a.mergeProps({key:0,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(hO,a.mergeProps({key:1,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),tV=uO,pO=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(t){const e=t;ke();const n=$t();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{id:a.unref(n).descriptionId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),aV=pO,yO=a.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=$t();return SI(!0),ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:n.as,"as-child":n.asChild,"data-state":a.unref(e).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),fO=yO,mO=a.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=$t(),{forwardRef:n}=ke();return(o,r)=>{var i;return(i=a.unref(e))!=null&&i.modal.value?(a.openBlock(),a.createBlock(a.unref(Hl),{key:0,present:o.forceMount||a.unref(e).open.value},{default:a.withCtx(()=>[a.createVNode(fO,a.mergeProps(o.$attrs,{ref:a.unref(n),as:o.as,"as-child":o.asChild}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):a.createCommentVNode("v-if",!0)}}}),nV=mO,kO=a.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=WB();return(n,o)=>a.unref(e)||n.forceMount?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[a.renderSlot(n.$slots,"default")],8,["to","disabled","defer"])):a.createCommentVNode("v-if",!0)}}),rS=kO,gO=a.defineComponent({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),oV=gO,bO=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(t){const e=t,n=$t();return ke(),(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{id:a.unref(n).titleId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),rV=bO,MO=a.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=$t(),{forwardRef:o,currentElement:r}=ke();return n.contentId||(n.contentId=Ba(void 0,"reka-dialog-content")),a.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{ref:a.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value||!1,"aria-controls":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).open.value?"open":"closed",onClick:a.unref(n).onOpenToggle}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),xO=MO;const[iV,wO]=tt("AvatarRoot");var vO=a.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){return ke(),wO({imageLoadingStatus:a.ref("idle")}),(e,n)=>(a.openBlock(),a.createBlock(a.unref(ye),{"as-child":e.asChild,as:e.as},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["as-child","as"]))}}),CO=vO,LO=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=iV();ke();const o=a.ref(e.delayMs===void 0);return a.watchEffect(r=>{if(e.delayMs&&pt){const i=window.setTimeout(()=>{o.value=!0},e.delayMs);r(()=>{window.clearTimeout(i)})}}),(r,i)=>o.value&&a.unref(n).imageLoadingStatus.value!=="loaded"?(a.openBlock(),a.createBlock(a.unref(ye),{key:0,"as-child":r.asChild,as:r.as},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as"])):a.createCommentVNode("v-if",!0)}}),SO=LO;function sV(t,e){return t?e?(t.src!==e&&(t.src=e),t.complete&&t.naturalWidth>0?"loaded":"loading"):"error":"idle"}function IO(t,{referrerPolicy:e,crossOrigin:n}={}){const o=a.ref(!1),r=a.ref(null),i=a.computed(()=>o.value?(!r.value&&pt&&(r.value=new window.Image),r.value):null),s=a.ref(sV(i.value,t.value)),c=d=>()=>{o.value&&(s.value=d)};return a.onMounted(()=>{o.value=!0,a.watchEffect(d=>{const h=i.value;if(!h)return;s.value=sV(h,t.value);const u=c("loaded"),p=c("error");h.addEventListener("load",u),h.addEventListener("error",p),e!=null&&e.value&&(h.referrerPolicy=e.value),typeof(n==null?void 0:n.value)=="string"&&(h.crossOrigin=n.value),d(()=>{h.removeEventListener("load",u),h.removeEventListener("error",p)})})}),a.onUnmounted(()=>{o.value=!1}),s}var _O=a.defineComponent({__name:"AvatarImage",props:{src:{type:String,required:!0},referrerPolicy:{type:null,required:!1},crossOrigin:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"img"}},emits:["loadingStatusChange"],setup(t,{emit:e}){const n=t,o=e,{src:r,referrerPolicy:i,crossOrigin:s}=a.toRefs(n);ke();const c=iV(),d=IO(r,{referrerPolicy:i,crossOrigin:s});return a.watch(d,h=>{o("loadingStatusChange",h),h!=="idle"&&(c.imageLoadingStatus.value=h)},{immediate:!0}),(h,u)=>a.withDirectives((a.openBlock(),a.createBlock(a.unref(ye),{role:"img","as-child":h.asChild,as:h.as,src:a.unref(r),referrerpolicy:a.unref(i),crossorigin:a.unref(s)},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},8,["as-child","as","src","referrerpolicy","crossorigin"])),[[a.vShow,a.unref(d)==="loaded"]])}}),BO=_O;function AO(t){function e(i){return Array.isArray(t.date.value)?t.date.value.some(s=>Ia(s,i)):t.date.value?Ia(t.date.value,i):!1}const n=a.computed(()=>{var i,s,c,d;if(Array.isArray(t.date.value)){if(!t.date.value.length)return!1;for(const h of t.date.value)if((i=t.isDateDisabled)!=null&&i.call(t,h)||(s=t.isDateUnavailable)!=null&&s.call(t,h))return!0}else{if(!t.date.value)return!1;if((c=t.isDateDisabled)!=null&&c.call(t,t.date.value)||(d=t.isDateUnavailable)!=null&&d.call(t,t.date.value))return!0}return!1}),o=a.computed(()=>Array.isArray(t.date.value)?t.date.value.length>0:!!t.date.value),r=a.computed(()=>{var i;return Array.isArray(t.date.value)?t.date.value.length?t.date.value.some(s=>{var c;return(c=t.isDateDisabled)==null?void 0:c.call(t,s)}):!1:t.date.value?!!((i=t.isDateDisabled)!=null&&i.call(t,t.date.value)):!1});return{isDateSelected:e,isInvalid:n,hasSelectedDate:o,isSelectedDateDisabled:r}}function VO(t,e){const n=e(t),o=n.compare(t),r={};return o>=7&&(r.day=1),o>=$s(t)&&(r.month=1),n.set({...r})}function PO(t,e){const n=e(t),o=t.compare(n),r={};return o>=7&&(r.day=35),o>=$s(t)&&(r.month=13),n.set({...r})}function DO(t,e){return e(t)}function qO(t,e){return e(t)}function zO(t){const e=bT(t.locale.value),n=a.computed(()=>{const b={calendar:t.placeholder.value.calendar.identifier};return t.placeholder.value.calendar.identifier==="gregory"&&t.placeholder.value.era==="BC"&&(b.era="short"),b}),o=a.ref(os({dateObj:t.placeholder.value,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value})),r=a.computed(()=>o.value.map(b=>b.value));function i(b){return!r.value.some(w=>QB(b,w))}const s=b=>{if(!t.maxValue.value||!o.value.length)return!1;if(t.disabled.value)return!0;const w=o.value[o.value.length-1].value;if(!b&&!t.nextPage.value){const C=w.add({months:1}).set({day:1});return QI(C,t.maxValue.value)}const S=VO(w,b||t.nextPage.value);return QI(S,t.maxValue.value)},c=b=>{if(!t.minValue.value||!o.value.length)return!1;if(t.disabled.value)return!0;const w=o.value[0].value;if(!b&&!t.prevPage.value){const C=w.subtract({months:1}).set({day:35});return JL(C,t.minValue.value)}const S=PO(w,b||t.prevPage.value);return JL(S,t.minValue.value)};function d(b){var w;return!!((w=t.isDateDisabled)!=null&&w.call(t,b)||t.disabled.value||t.maxValue.value&&QI(b,t.maxValue.value)||t.minValue.value&&JL(b,t.minValue.value))}const h=b=>{var w;return!!((w=t.isDateUnavailable)!=null&&w.call(t,b))},u=a.computed(()=>o.value.length?o.value[0].rows[0].map(b=>e.dayOfWeek(Ft(b),t.weekdayFormat.value)):[]),p=b=>{const w=o.value[0].value;if(!b&&!t.nextPage.value){const M=w.add({months:t.pagedNavigation.value?t.numberOfMonths.value:1}),v=os({dateObj:M,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=v,t.placeholder.value=v[0].value.set({day:1});return}const S=DO(w,b||t.nextPage.value),C=os({dateObj:S,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=C;const x={};if(!b){const M=C[0].value.compare(w);M>=$s(w)&&(x.day=1),M>=365&&(x.month=1)}t.placeholder.value=C[0].value.set({...x})},y=b=>{const w=o.value[0].value;if(!b&&!t.prevPage.value){const M=w.subtract({months:t.pagedNavigation.value?t.numberOfMonths.value:1}),v=os({dateObj:M,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=v,t.placeholder.value=v[0].value.set({day:1});return}const S=qO(w,b||t.prevPage.value),C=os({dateObj:S,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=C;const x={};if(!b){const M=w.compare(C[0].value);M>=$s(w)&&(x.day=1),M>=365&&(x.month=1)}t.placeholder.value=C[0].value.set({...x})};a.watch(t.placeholder,b=>{r.value.some(w=>QB(w,b))||(o.value=os({dateObj:b,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value}))}),a.watch([t.locale,t.weekStartsOn,t.fixedWeeks,t.numberOfMonths],()=>{o.value=os({dateObj:t.placeholder.value,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value})});const f=a.computed(()=>{if(!o.value.length)return"";if(t.locale.value!==e.getLocale()&&e.setLocale(t.locale.value),o.value.length===1){const L=o.value[0].value;return`${e.fullMonthAndYear(Ft(L),n.value)}`}const b=Ft(o.value[0].value),w=Ft(o.value[o.value.length-1].value),S=e.fullMonth(b,n.value),C=e.fullMonth(w,n.value),x=e.fullYear(b,n.value),M=e.fullYear(w,n.value);return x===M?`${S} - ${C} ${M}`:`${S} ${x} - ${C} ${M}`}),m=a.computed(()=>`${t.calendarLabel.value??"Event Date"}, ${f.value}`),k=a.computed(()=>!(d(t.placeholder.value)||h(t.placeholder.value)||i(t.placeholder.value))),g=a.computed(()=>{for(const b of o.value){if(t.minValue.value&&JL(b.value,t.minValue.value))continue;const w=$s(b.value),S=t.minValue.value&&II(t.minValue.value,b.value)?t.minValue.value.day:1;for(let C=S;C<=w;C++){const x=b.value.set({day:C});if(!(d(x)||h(x)))return x}}});return{isDateDisabled:d,isDateUnavailable:h,isNextButtonDisabled:s,isPrevButtonDisabled:c,grid:o,weekdays:u,visibleView:r,isOutsideVisibleView:i,formatter:e,nextPage:p,prevPage:y,headingValue:f,fullCalendarLabel:m,isPlaceholderFocusable:k,firstFocusableDate:g}}const EO={style:{border:"0px",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute","white-space":"nowrap",width:"1px"}},TO={role:"heading","aria-level":"2"},[Rs,OO]=tt("CalendarRoot");var HO=a.defineComponent({__name:"CalendarRoot",props:{defaultValue:{type:null,required:!1,default:void 0},defaultPlaceholder:{type:null,required:!1},placeholder:{type:null,required:!1,default:void 0},pagedNavigation:{type:Boolean,required:!1,default:!1},preventDeselect:{type:Boolean,required:!1,default:!1},weekStartsOn:{type:Number,required:!1},weekdayFormat:{type:String,required:!1,default:"narrow"},calendarLabel:{type:String,required:!1},fixedWeeks:{type:Boolean,required:!1,default:!1},maxValue:{type:null,required:!1},minValue:{type:null,required:!1},locale:{type:String,required:!1},numberOfMonths:{type:Number,required:!1,default:1},disabled:{type:Boolean,required:!1,default:!1},readonly:{type:Boolean,required:!1,default:!1},initialFocus:{type:Boolean,required:!1,default:!1},isDateDisabled:{type:Function,required:!1,default:void 0},isDateUnavailable:{type:Function,required:!1,default:void 0},dir:{type:String,required:!1},nextPage:{type:Function,required:!1},prevPage:{type:Function,required:!1},modelValue:{type:null,required:!1},multiple:{type:Boolean,required:!1,default:!1},disableDaysOutsideCurrentView:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},emits:["update:modelValue","update:placeholder"],setup(t,{emit:e}){const n=t,o=e,{disabled:r,readonly:i,initialFocus:s,pagedNavigation:c,weekdayFormat:d,fixedWeeks:h,multiple:u,minValue:p,maxValue:y,numberOfMonths:f,preventDeselect:m,isDateDisabled:k,isDateUnavailable:g,calendarLabel:b,defaultValue:w,nextPage:S,prevPage:C,dir:x,locale:M,disableDaysOutsideCurrentView:v}=a.toRefs(n),{primitiveElement:L,currentElement:I}=nS(),_=qT(M),A=$A(x),V=a.computed(()=>n.weekStartsOn??gT(_.value)),q=Qt(n,"modelValue",o,{defaultValue:w.value,passive:n.modelValue===void 0}),O=fT({defaultPlaceholder:n.placeholder,defaultValue:q.value,locale:n.locale}),N=Qt(n,"placeholder",o,{defaultValue:n.defaultPlaceholder??O.copy(),passive:n.placeholder===void 0});function T(xe){N.value=xe.copy()}const{fullCalendarLabel:H,headingValue:j,isDateDisabled:Z,isDateUnavailable:P,isNextButtonDisabled:D,isPrevButtonDisabled:G,weekdays:ne,isOutsideVisibleView:te,nextPage:ce,prevPage:pe,formatter:le,grid:Le,isPlaceholderFocusable:ue,firstFocusableDate:U}=zO({locale:_,placeholder:N,weekStartsOn:V,fixedWeeks:h,numberOfMonths:f,minValue:p,maxValue:y,disabled:r,weekdayFormat:d,pagedNavigation:c,isDateDisabled:k.value,isDateUnavailable:g.value,calendarLabel:b,nextPage:S,prevPage:C}),{isInvalid:z,isDateSelected:W,hasSelectedDate:ee,isSelectedDateDisabled:fe}=AO({date:q,isDateDisabled:Z,isDateUnavailable:P});a.watch(q,xe=>{if(Array.isArray(xe)&&xe.length){const Qe=xe[xe.length-1];Qe&&!_I(N.value,Qe)&&T(Qe)}else!Array.isArray(xe)&&xe&&!_I(N.value,xe)&&T(xe)});function Te(xe){if(u.value){if(!q.value)q.value=[xe.copy()];else if(Array.isArray(q.value)){if(q.value.findIndex(it=>Ia(it,xe))===-1)q.value=[...q.value,xe];else if(!m.value){const it=q.value.filter(St=>!Ia(St,xe));if(!it.length){N.value=xe.copy(),q.value=void 0;return}q.value=it.map(St=>St.copy())}}}else{if(!q.value){q.value=xe.copy();return}!m.value&&_I(q.value,xe)?(N.value=xe.copy(),q.value=void 0):q.value=xe.copy()}}return a.onMounted(()=>{s.value&&kT(I.value)}),OO({isDateUnavailable:P,dir:A,isDateDisabled:Z,locale:_,formatter:le,modelValue:q,placeholder:N,disabled:r,initialFocus:s,pagedNavigation:c,grid:Le,weekDays:ne,weekStartsOn:V,weekdayFormat:d,fixedWeeks:h,multiple:u,numberOfMonths:f,readonly:i,preventDeselect:m,fullCalendarLabel:H,headingValue:j,isInvalid:z,isDateSelected:W,isNextButtonDisabled:D,isPrevButtonDisabled:G,isOutsideVisibleView:te,nextPage:ce,prevPage:pe,parentElement:I,onPlaceholderChange:T,onDateChange:Te,disableDaysOutsideCurrentView:v,minValue:p,maxValue:y,isPlaceholderFocusable:ue,firstFocusableDate:U,hasSelectedDate:ee,isSelectedDateDisabled:fe}),(xe,Qe)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref_key:"primitiveElement",ref:L,as:xe.as,"as-child":xe.asChild,"aria-label":a.unref(H),"data-readonly":a.unref(i)?"":void 0,"data-disabled":a.unref(r)?"":void 0,"data-invalid":a.unref(z)?"":void 0,dir:a.unref(A)},{default:a.withCtx(()=>[a.renderSlot(xe.$slots,"default",{date:a.unref(N),grid:a.unref(Le),weekDays:a.unref(ne),weekStartsOn:V.value,locale:a.unref(_),fixedWeeks:a.unref(h),modelValue:a.unref(q)}),a.createElementVNode("div",EO,[a.createElementVNode("div",TO,a.toDisplayString(a.unref(H)),1)])]),_:3},8,["as","as-child","aria-label","data-readonly","data-disabled","data-invalid","dir"]))}}),FO=HO,$O=a.defineComponent({__name:"CalendarCell",props:{date:{type:null,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"td"}},setup(t){const e=Rs();return(n,o)=>{var r,i;return a.openBlock(),a.createBlock(a.unref(ye),{as:n.as,"as-child":n.asChild,role:"gridcell","aria-selected":a.unref(e).isDateSelected(n.date)?!0:void 0,"aria-disabled":a.unref(e).isDateDisabled(n.date)||((i=(r=a.unref(e)).isDateUnavailable)==null?void 0:i.call(r,n.date))||a.unref(e).disableDaysOutsideCurrentView.value,"data-disabled":a.unref(e).isDateDisabled(n.date)||a.unref(e).disableDaysOutsideCurrentView.value?"":void 0},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","aria-selected","aria-disabled","data-disabled"])}}}),jO=$O,RO=a.defineComponent({__name:"CalendarCellTrigger",props:{day:{type:null,required:!0},month:{type:null,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(t){const e=t,n=DT(),o=Rs(),{primitiveElement:r}=nS(),i=a.computed(()=>e.day.day.toLocaleString(o.locale.value)),s=a.computed(()=>o.formatter.custom(Ft(e.day),{weekday:"long",month:"long",day:"numeric",year:"numeric"})),c=a.computed(()=>{var b;return((b=o.isDateUnavailable)==null?void 0:b.call(o,e.day))??!1}),d=a.computed(()=>mE(e.day,ea())),h=a.computed(()=>!II(e.day,e.month)),u=a.computed(()=>o.isOutsideVisibleView(e.day)),p=a.computed(()=>o.isDateDisabled(e.day)||o.disableDaysOutsideCurrentView.value&&h.value),y=a.computed(()=>h.value||p.value?!1:!o.disabled.value&&o.isPlaceholderFocusable.value&&Ia(e.day,o.placeholder.value)?!0:(!o.hasSelectedDate.value||o.isSelectedDateDisabled.value)&&!o.isPlaceholderFocusable.value?o.firstFocusableDate.value&&Ia(e.day,o.firstFocusableDate.value):!1),f=a.computed(()=>o.isDateSelected(e.day));function m(b){var w;o.readonly.value||o.isDateDisabled(b)||(w=o.isDateUnavailable)!=null&&w.call(o,b)||o.onDateChange(b)}function k(){p.value||m(e.day)}function g(b){if(p.value)return;b.preventDefault(),b.stopPropagation();const w=o.parentElement.value,S=7,C=o.dir.value==="rtl"?-1:1;switch(b.code){case n.ARROW_RIGHT:x(e.day,C);break;case n.ARROW_LEFT:x(e.day,-C);break;case n.ARROW_UP:x(e.day,-S);break;case n.ARROW_DOWN:x(e.day,S);break;case n.ENTER:case n.SPACE_CODE:m(e.day)}function x(M,v){const L=M.add({days:v});if(o.minValue.value&&L.compare(o.minValue.value)<0||o.maxValue.value&&L.compare(o.maxValue.value)>0)return;const I=w.querySelector(`[data-value='${L.toString()}']:not([data-outside-view])`);if(!I){if(v>0){if(o.isNextButtonDisabled())return;o.nextPage()}else{if(o.isPrevButtonDisabled())return;o.prevPage()}a.nextTick(()=>{x(M,v)});return}if(I&&I.hasAttribute("data-disabled"))return x(L,v);o.onPlaceholderChange(L),I==null||I.focus()}}return(b,w)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({ref_key:"primitiveElement",ref:r},e,{role:"button","aria-label":s.value,"data-reka-calendar-cell-trigger":"","aria-disabled":p.value||c.value?!0:void 0,"data-selected":f.value?!0:void 0,"data-value":b.day.toString(),"data-disabled":p.value?"":void 0,"data-unavailable":c.value?"":void 0,"data-today":d.value?"":void 0,"data-outside-view":h.value?"":void 0,"data-outside-visible-view":u.value?"":void 0,"data-focused":y.value?"":void 0,tabindex:y.value?0:h.value||p.value?void 0:-1,onClick:k,onKeydown:[a.withKeys(g,["up","down","left","right","space","enter"]),w[0]||(w[0]=a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"]))]}),{default:a.withCtx(()=>[a.renderSlot(b.$slots,"default",{dayValue:i.value,disabled:p.value,today:d.value,selected:f.value,outsideView:h.value,outsideVisibleView:u.value,unavailable:c.value},()=>[a.createTextVNode(a.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-disabled","data-selected","data-value","data-disabled","data-unavailable","data-today","data-outside-view","data-outside-visible-view","data-focused","tabindex"]))}}),NO=RO,UO=a.defineComponent({__name:"CalendarGrid",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"table"}},setup(t){const e=t,n=Rs(),o=a.computed(()=>n.disabled.value?!0:void 0),r=a.computed(()=>n.readonly.value?!0:void 0);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{tabindex:"-1",role:"grid","aria-readonly":r.value,"aria-disabled":o.value,"data-readonly":r.value&&"","data-disabled":o.value&&""}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["aria-readonly","aria-disabled","data-readonly","data-disabled"]))}}),WO=UO,GO=a.defineComponent({__name:"CalendarGridBody",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"tbody"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),YO=GO,KO=a.defineComponent({__name:"CalendarGridHead",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"thead"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-hidden":"true"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),XO=KO,ZO=a.defineComponent({__name:"CalendarGridRow",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"tr"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),JO=ZO,QO=a.defineComponent({__name:"CalendarHeadCell",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"th"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),eH=QO,tH=a.defineComponent({__name:"CalendarHeader",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),aH=tH,nH=a.defineComponent({__name:"CalendarHeading",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(t){const e=t,n=Rs();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"data-disabled":a.unref(n).disabled.value?"":void 0}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{headingValue:a.unref(n).headingValue.value},()=>[a.createTextVNode(a.toDisplayString(a.unref(n).headingValue.value),1)])]),_:3},16,["data-disabled"]))}}),oH=nH,rH=a.defineComponent({__name:"CalendarNext",props:{nextPage:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=a.computed(()=>o.disabled.value||o.isNextButtonDisabled(e.nextPage)),o=Rs();return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:e.as,"as-child":e.asChild,"aria-label":"Next page",type:r.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(o).nextPage(e.nextPage))},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{disabled:n.value},()=>[i[1]||(i[1]=a.createTextVNode(" Next page "))])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),iH=rH,sH=a.defineComponent({__name:"CalendarPrev",props:{prevPage:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=a.computed(()=>o.disabled.value||o.isPrevButtonDisabled(e.prevPage)),o=Rs();return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),{"aria-label":"Previous page",as:e.as,"as-child":e.asChild,type:r.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(o).prevPage(e.prevPage))},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{disabled:n.value},()=>[i[1]||(i[1]=a.createTextVNode(" Prev page "))])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),lH=sH;const lV="data-reka-collection-item";function Ns(t={}){const{key:e="",isProvider:n=!1}=t,o=`${e}CollectionProvider`;let r;if(n){const u=a.ref(new Map);r={collectionRef:a.ref(),itemMap:u},a.provide(o,r)}else r=a.inject(o);const i=(u=!1)=>{const p=r.collectionRef.value;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${lV}]`)),m=Array.from(r.itemMap.value.values()).sort((k,g)=>y.indexOf(k.ref)-y.indexOf(g.ref));return u?m:m.filter(k=>k.ref.dataset.disabled!=="")},s=a.defineComponent({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=nS();return a.watch(m,()=>{r.collectionRef.value=m.value}),()=>a.h(o_,{ref:f,...y},p)}}),c=a.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=nS();return a.watchEffect(k=>{if(m.value){const g=a.markRaw(m.value);r.itemMap.value.set(g,{ref:m.value,value:u.value}),k(()=>r.itemMap.value.delete(g))}}),()=>a.h(o_,{...y,[lV]:"",ref:f},p)}}),d=a.computed(()=>Array.from(r.itemMap.value.values())),h=a.computed(()=>r.itemMap.value.size);return{getItems:i,reactiveItems:d,itemMapSize:h,CollectionSlot:s,CollectionItem:c}}var cH=a.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),cV=cH;const[dV,dH]=tt("PopperRoot");var hH=a.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(t){const e=a.ref();return dH({anchor:e,onAnchorChange:n=>e.value=n}),(n,o)=>a.renderSlot(n.$slots,"default")}}),l_=hH,uH=a.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{forwardRef:n,currentElement:o}=ke(),r=dV();return a.watchPostEffect(()=>{r.onAnchorChange(e.reference??o.value)}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref:a.unref(n),as:i.as,"as-child":i.asChild},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),c_=uH;function pH(t){return t!==null}function yH(t){return{name:"transformOrigin",options:t,fn(e){var g,b,w;const{placement:n,rects:o,middlewareData:r}=e,s=((g=r.arrow)==null?void 0:g.centerOffset)!==0,c=s?0:t.arrowWidth,d=s?0:t.arrowHeight,[h,u]=d_(n),p={start:"0%",center:"50%",end:"100%"}[u],y=(((b=r.arrow)==null?void 0:b.x)??0)+c/2,f=(((w=r.arrow)==null?void 0:w.y)??0)+d/2;let m="",k="";return h==="bottom"?(m=s?p:`${y}px`,k=`${-d}px`):h==="top"?(m=s?p:`${y}px`,k=`${o.floating.height+d}px`):h==="right"?(m=`${-d}px`,k=s?p:`${f}px`):h==="left"&&(m=`${o.floating.width+d}px`,k=s?p:`${f}px`),{data:{x:m,y:k}}}}}function d_(t){const[e,n="center"]=t.split("-");return[e,n]}const fH=["top","right","bottom","left"],Va=Math.min,lt=Math.max,iS=Math.round,sS=Math.floor,jt=t=>({x:t,y:t}),mH={left:"right",right:"left",bottom:"top",top:"bottom"},kH={start:"end",end:"start"};function h_(t,e,n){return lt(t,Va(e,n))}function ra(t,e){return typeof t=="function"?t(e):t}function ia(t){return t.split("-")[0]}function Us(t){return t.split("-")[1]}function u_(t){return t==="x"?"y":"x"}function p_(t){return t==="y"?"height":"width"}const gH=new Set(["top","bottom"]);function Rt(t){return gH.has(ia(t))?"y":"x"}function y_(t){return u_(Rt(t))}function bH(t,e,n){n===void 0&&(n=!1);const o=Us(t),r=y_(t),i=p_(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=lS(s)),[s,lS(s)]}function MH(t){const e=lS(t);return[f_(t),e,f_(e)]}function f_(t){return t.replace(/start|end/g,e=>kH[e])}const hV=["left","right"],uV=["right","left"],xH=["top","bottom"],wH=["bottom","top"];function vH(t,e,n){switch(t){case"top":case"bottom":return n?e?uV:hV:e?hV:uV;case"left":case"right":return e?xH:wH;default:return[]}}function CH(t,e,n,o){const r=Us(t);let i=vH(ia(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(f_)))),i}function lS(t){return t.replace(/left|right|bottom|top/g,e=>mH[e])}function LH(t){return{top:0,right:0,bottom:0,left:0,...t}}function pV(t){return typeof t!="number"?LH(t):{top:t,right:t,bottom:t,left:t}}function cS(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function yV(t,e,n){let{reference:o,floating:r}=t;const i=Rt(e),s=y_(e),c=p_(s),d=ia(e),h=i==="y",u=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,y=o[c]/2-r[c]/2;let f;switch(d){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:p};break;case"left":f={x:o.x-r.width,y:p};break;default:f={x:o.x,y:o.y}}switch(Us(e)){case"start":f[s]-=y*(n&&h?-1:1);break;case"end":f[s]+=y*(n&&h?-1:1);break}return f}async function SH(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=ra(e,t),m=pV(f),g=c[y?p==="floating"?"reference":"floating":p],b=cS(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},x=cS(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:S,strategy:d}):w);return{top:(b.top-x.top+m.top)/C.y,bottom:(x.bottom-b.bottom+m.bottom)/C.y,left:(b.left-x.left+m.left)/C.x,right:(x.right-b.right+m.right)/C.x}}const IH=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e));let h=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:p}=yV(h,o,d),y=o,f={},m=0;for(let g=0;g<c.length;g++){var k;const{name:b,fn:w}=c[g],{x:S,y:C,data:x,reset:M}=await w({x:u,y:p,initialPlacement:o,placement:y,strategy:r,middlewareData:f,rects:h,platform:{...s,detectOverflow:(k=s.detectOverflow)!=null?k:SH},elements:{reference:t,floating:e}});u=S??u,p=C??p,f={...f,[b]:{...f[b],...x}},M&&m<=50&&(m++,typeof M=="object"&&(M.placement&&(y=M.placement),M.rects&&(h=M.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):M.rects),{x:u,y:p}=yV(h,y,d)),g=-1)}return{x:u,y:p,placement:y,strategy:r,middlewareData:f}},_H=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:d}=e,{element:h,padding:u=0}=ra(t,e)||{};if(h==null)return{};const p=pV(u),y={x:n,y:o},f=y_(r),m=p_(f),k=await s.getDimensions(h),g=f==="y",b=g?"top":"left",w=g?"bottom":"right",S=g?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[f]-y[f]-i.floating[m],x=y[f]-i.reference[f],M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h));let v=M?M[S]:0;(!v||!await(s.isElement==null?void 0:s.isElement(M)))&&(v=c.floating[S]||i.floating[m]);const L=C/2-x/2,I=v/2-k[m]/2-1,_=Va(p[b],I),A=Va(p[w],I),V=_,q=v-k[m]-A,O=v/2-k[m]/2+L,N=h_(V,O,q),T=!d.arrow&&Us(r)!=null&&O!==N&&i.reference[m]/2-(O<V?_:A)-k[m]/2<0,H=T?O<V?O-V:O-q:0;return{[f]:y[f]+H,data:{[f]:N,centerOffset:O-N-H,...T&&{alignmentOffset:H}},reset:T}}}),BH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:k=!0,...g}=ra(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=ia(r),w=Rt(c),S=ia(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(h.floating)),x=y||(S||!k?[lS(c)]:MH(c)),M=m!=="none";!y&&M&&x.push(...CH(c,k,m,C));const v=[c,...x],L=await d.detectOverflow(e,g),I=[];let _=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(L[b]),p){const O=bH(r,s,C);I.push(L[O[0]],L[O[1]])}if(_=[..._,{placement:r,overflows:I}],!I.every(O=>O<=0)){var A,V;const O=(((A=i.flip)==null?void 0:A.index)||0)+1,N=v[O];if(N&&(!(p==="alignment"?w!==Rt(N):!1)||_.every(j=>Rt(j.placement)===w?j.overflows[0]>0:!0)))return{data:{index:O,overflows:_},reset:{placement:N}};let T=(V=_.filter(H=>H.overflows[0]<=0).sort((H,j)=>H.overflows[1]-j.overflows[1])[0])==null?void 0:V.placement;if(!T)switch(f){case"bestFit":{var q;const H=(q=_.filter(j=>{if(M){const Z=Rt(j.placement);return Z===w||Z==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(Z=>Z>0).reduce((Z,P)=>Z+P,0)]).sort((j,Z)=>j[1]-Z[1])[0])==null?void 0:q[0];H&&(T=H);break}case"initialPlacement":T=c;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function fV(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function mV(t){return fH.some(e=>t[e]>=0)}const AH=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=ra(t,e);switch(r){case"referenceHidden":{const s=await o.detectOverflow(e,{...i,elementContext:"reference"}),c=fV(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:mV(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...i,altBoundary:!0}),c=fV(s,n.floating);return{data:{escapedOffsets:c,escaped:mV(c)}}}default:return{}}}}},kV=new Set(["left","top"]);async function VH(t,e){const{placement:n,platform:o,elements:r}=t,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=ia(n),c=Us(n),d=Rt(n)==="y",h=kV.has(s)?-1:1,u=i&&d?-1:1,p=ra(e,t);let{mainAxis:y,crossAxis:f,alignmentAxis:m}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof m=="number"&&(f=c==="end"?m*-1:m),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const PH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,d=await VH(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:i+d.y,data:{...d,placement:s}}}}},DH=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:b=>{let{x:w,y:S}=b;return{x:w,y:S}}},...h}=ra(t,e),u={x:n,y:o},p=await i.detectOverflow(e,h),y=Rt(ia(r)),f=u_(y);let m=u[f],k=u[y];if(s){const b=f==="y"?"top":"left",w=f==="y"?"bottom":"right",S=m+p[b],C=m-p[w];m=h_(S,m,C)}if(c){const b=y==="y"?"top":"left",w=y==="y"?"bottom":"right",S=k+p[b],C=k-p[w];k=h_(S,k,C)}const g=d.fn({...e,[f]:m,[y]:k});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[y]:c}}}}}},qH=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:d=!0,crossAxis:h=!0}=ra(t,e),u={x:n,y:o},p=Rt(r),y=u_(p);let f=u[y],m=u[p];const k=ra(c,e),g=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(d){const S=y==="y"?"height":"width",C=i.reference[y]-i.floating[S]+g.mainAxis,x=i.reference[y]+i.reference[S]-g.mainAxis;f<C?f=C:f>x&&(f=x)}if(h){var b,w;const S=y==="y"?"width":"height",C=kV.has(ia(r)),x=i.reference[p]-i.floating[S]+(C&&((b=s.offset)==null?void 0:b[p])||0)+(C?0:g.crossAxis),M=i.reference[p]+i.reference[S]+(C?0:((w=s.offset)==null?void 0:w[p])||0)-(C?g.crossAxis:0);m<x?m=x:m>M&&(m=M)}return{[y]:f,[p]:m}}}},zH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...h}=ra(t,e),u=await s.detectOverflow(e,h),p=ia(r),y=Us(r),f=Rt(r)==="y",{width:m,height:k}=i.floating;let g,b;p==="top"||p==="bottom"?(g=p,b=y===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(b=p,g=y==="end"?"top":"bottom");const w=k-u.top-u.bottom,S=m-u.left-u.right,C=Va(k-u[g],w),x=Va(m-u[b],S),M=!e.middlewareData.shift;let v=C,L=x;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(L=S),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(v=w),M&&!y){const _=lt(u.left,0),A=lt(u.right,0),V=lt(u.top,0),q=lt(u.bottom,0);f?L=m-2*(_!==0||A!==0?_+A:lt(u.left,u.right)):v=k-2*(V!==0||q!==0?V+q:lt(u.top,u.bottom))}await d({...e,availableWidth:L,availableHeight:v});const I=await s.getDimensions(c.floating);return m!==I.width||k!==I.height?{reset:{rects:!0}}:{}}}};function dS(){return typeof window<"u"}function rs(t){return m_(t)?(t.nodeName||"").toLowerCase():"#document"}function ct(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Nt(t){var e;return(e=(m_(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function m_(t){return dS()?t instanceof Node||t instanceof ct(t).Node:!1}function wt(t){return dS()?t instanceof Element||t instanceof ct(t).Element:!1}function Ut(t){return dS()?t instanceof HTMLElement||t instanceof ct(t).HTMLElement:!1}function gV(t){return!dS()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ct(t).ShadowRoot}const EH=new Set(["inline","contents"]);function Fl(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=vt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!EH.has(r)}const TH=new Set(["table","td","th"]);function OH(t){return TH.has(rs(t))}const HH=[":popover-open",":modal"];function hS(t){return HH.some(e=>{try{return t.matches(e)}catch{return!1}})}const FH=["transform","translate","scale","rotate","perspective"],$H=["transform","translate","scale","rotate","perspective","filter"],jH=["paint","layout","strict","content"];function k_(t){const e=g_(),n=wt(t)?vt(t):t;return FH.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||$H.some(o=>(n.willChange||"").includes(o))||jH.some(o=>(n.contain||"").includes(o))}function RH(t){let e=Pa(t);for(;Ut(e)&&!Ws(e);){if(k_(e))return e;if(hS(e))return null;e=Pa(e)}return null}function g_(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const NH=new Set(["html","body","#document"]);function Ws(t){return NH.has(rs(t))}function vt(t){return ct(t).getComputedStyle(t)}function uS(t){return wt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pa(t){if(rs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||gV(t)&&t.host||Nt(t);return gV(e)?e.host:e}function bV(t){const e=Pa(t);return Ws(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ut(e)&&Fl(e)?e:bV(e)}function $l(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=bV(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=ct(r);if(i){const c=b_(s);return e.concat(s,s.visualViewport||[],Fl(r)?r:[],c&&n?$l(c):[])}return e.concat(r,$l(r,[],n))}function b_(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function MV(t){const e=vt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Ut(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=iS(n)!==i||iS(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function M_(t){return wt(t)?t:t.contextElement}function Gs(t){const e=M_(t);if(!Ut(e))return jt(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=MV(e);let s=(i?iS(n.width):n.width)/o,c=(i?iS(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const UH=jt(0);function xV(t){const e=ct(t);return!g_()||!e.visualViewport?UH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function WH(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ct(t)?!1:e}function is(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=M_(t);let s=jt(1);e&&(o?wt(o)&&(s=Gs(o)):s=Gs(t));const c=WH(i,n,o)?xV(i):jt(0);let d=(r.left+c.x)/s.x,h=(r.top+c.y)/s.y,u=r.width/s.x,p=r.height/s.y;if(i){const y=ct(i),f=o&&wt(o)?ct(o):o;let m=y,k=b_(m);for(;k&&o&&f!==m;){const g=Gs(k),b=k.getBoundingClientRect(),w=vt(k),S=b.left+(k.clientLeft+parseFloat(w.paddingLeft))*g.x,C=b.top+(k.clientTop+parseFloat(w.paddingTop))*g.y;d*=g.x,h*=g.y,u*=g.x,p*=g.y,d+=S,h+=C,m=ct(k),k=b_(m)}}return cS({width:u,height:p,x:d,y:h})}function pS(t,e){const n=uS(t).scrollLeft;return e?e.left+n:is(Nt(t)).left+n}function wV(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-pS(t,n),r=n.top+e.scrollTop;return{x:o,y:r}}function GH(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=Nt(o),c=e?hS(e.floating):!1;if(o===s||c&&i)return n;let d={scrollLeft:0,scrollTop:0},h=jt(1);const u=jt(0),p=Ut(o);if((p||!p&&!i)&&((rs(o)!=="body"||Fl(s))&&(d=uS(o)),Ut(o))){const f=is(o);h=Gs(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const y=s&&!p&&!i?wV(s,d):jt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:n.y*h.y-d.scrollTop*h.y+u.y+y.y}}function YH(t){return Array.from(t.getClientRects())}function KH(t){const e=Nt(t),n=uS(t),o=t.ownerDocument.body,r=lt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=lt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+pS(t);const c=-n.scrollTop;return vt(o).direction==="rtl"&&(s+=lt(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const vV=25;function XH(t,e){const n=ct(t),o=Nt(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(r){i=r.width,s=r.height;const u=g_();(!u||u&&e==="fixed")&&(c=r.offsetLeft,d=r.offsetTop)}const h=pS(o);if(h<=0){const u=o.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,m=Math.abs(o.clientWidth-p.clientWidth-f);m<=vV&&(i-=m)}else h<=vV&&(i+=h);return{width:i,height:s,x:c,y:d}}const ZH=new Set(["absolute","fixed"]);function JH(t,e){const n=is(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=Ut(t)?Gs(t):jt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=r*i.x,h=o*i.y;return{width:s,height:c,x:d,y:h}}function CV(t,e,n){let o;if(e==="viewport")o=XH(t,n);else if(e==="document")o=KH(Nt(t));else if(wt(e))o=JH(e,n);else{const r=xV(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return cS(o)}function LV(t,e){const n=Pa(t);return n===e||!wt(n)||Ws(n)?!1:vt(n).position==="fixed"||LV(n,e)}function QH(t,e){const n=e.get(t);if(n)return n;let o=$l(t,[],!1).filter(c=>wt(c)&&rs(c)!=="body"),r=null;const i=vt(t).position==="fixed";let s=i?Pa(t):t;for(;wt(s)&&!Ws(s);){const c=vt(s),d=k_(s);!d&&c.position==="fixed"&&(r=null),(i?!d&&!r:!d&&c.position==="static"&&!!r&&ZH.has(r.position)||Fl(s)&&!d&&LV(t,s))?o=o.filter(u=>u!==s):r=c,s=Pa(s)}return e.set(t,o),o}function eF(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?hS(e)?[]:QH(e,this._c):[].concat(n),o],c=s[0],d=s.reduce((h,u)=>{const p=CV(e,u,r);return h.top=lt(p.top,h.top),h.right=Va(p.right,h.right),h.bottom=Va(p.bottom,h.bottom),h.left=lt(p.left,h.left),h},CV(e,c,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function tF(t){const{width:e,height:n}=MV(t);return{width:e,height:n}}function aF(t,e,n){const o=Ut(e),r=Nt(e),i=n==="fixed",s=is(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const d=jt(0);function h(){d.x=pS(r)}if(o||!o&&!i)if((rs(e)!=="body"||Fl(r))&&(c=uS(e)),o){const f=is(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else r&&h();i&&!o&&r&&h();const u=r&&!o&&!i?wV(r,c):jt(0),p=s.left+c.scrollLeft-d.x-u.x,y=s.top+c.scrollTop-d.y-u.y;return{x:p,y,width:s.width,height:s.height}}function x_(t){return vt(t).position==="static"}function SV(t,e){if(!Ut(t)||vt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Nt(t)===n&&(n=n.ownerDocument.body),n}function IV(t,e){const n=ct(t);if(hS(t))return n;if(!Ut(t)){let r=Pa(t);for(;r&&!Ws(r);){if(wt(r)&&!x_(r))return r;r=Pa(r)}return n}let o=SV(t,e);for(;o&&OH(o)&&x_(o);)o=SV(o,e);return o&&Ws(o)&&x_(o)&&!k_(o)?n:o||RH(t)||n}const nF=async function(t){const e=this.getOffsetParent||IV,n=this.getDimensions,o=await n(t.floating);return{reference:aF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function oF(t){return vt(t).direction==="rtl"}const rF={convertOffsetParentRelativeRectToViewportRelativeRect:GH,getDocumentElement:Nt,getClippingRect:eF,getOffsetParent:IV,getElementRects:nF,getClientRects:YH,getDimensions:tF,getScale:Gs,isElement:wt,isRTL:oF};function _V(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function iF(t,e){let n=null,o;const r=Nt(t);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const h=t.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(c||e(),!y||!f)return;const m=sS(p),k=sS(r.clientWidth-(u+y)),g=sS(r.clientHeight-(p+f)),b=sS(u),S={rootMargin:-m+"px "+-k+"px "+-g+"px "+-b+"px",threshold:lt(0,Va(1,d))||1};let C=!0;function x(M){const v=M[0].intersectionRatio;if(v!==d){if(!C)return s();v?s(!1,v):o=setTimeout(()=>{s(!1,1e-7)},1e3)}v===1&&!_V(h,t.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(x,{...S,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,S)}n.observe(t)}return s(!0),i}function yS(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=M_(t),u=r||i?[...h?$l(h):[],...$l(e)]:[];u.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const p=h&&c?iF(h,n):null;let y=-1,f=null;s&&(f=new ResizeObserver(b=>{let[w]=b;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var S;(S=f)==null||S.observe(e)})),n()}),h&&!d&&f.observe(h),f.observe(e));let m,k=d?is(t):null;d&&g();function g(){const b=is(t);k&&!_V(k,b)&&n(),k=b,m=requestAnimationFrame(g)}return n(),()=>{var b;u.forEach(w=>{r&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),p==null||p(),(b=f)==null||b.disconnect(),f=null,d&&cancelAnimationFrame(m)}}const fS=PH,mS=DH,jl=BH,kS=zH,sF=AH,lF=_H,cF=qH,dF=(t,e,n)=>{const o=new Map,r={platform:rF,...n},i={...r.platform,_c:o};return IH(t,e,{...r,platform:i})};function hF(t){return t!=null&&typeof t=="object"&&"$el"in t}function w_(t){if(hF(t)){const e=t.$el;return m_(e)&&rs(e)==="#comment"?null:e}return t}function Ys(t){return typeof t=="function"?t():a.unref(t)}function uF(t){return{name:"arrow",options:t,fn(e){const n=w_(Ys(t.element));return n==null?{}:lF({element:n,padding:t.padding}).fn(e)}}}function BV(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function AV(t,e){const n=BV(t);return Math.round(e*n)/n}function gS(t,e,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=a.computed(()=>{var v;return(v=Ys(n.open))!=null?v:!0}),i=a.computed(()=>Ys(n.middleware)),s=a.computed(()=>{var v;return(v=Ys(n.placement))!=null?v:"bottom"}),c=a.computed(()=>{var v;return(v=Ys(n.strategy))!=null?v:"absolute"}),d=a.computed(()=>{var v;return(v=Ys(n.transform))!=null?v:!0}),h=a.computed(()=>w_(t.value)),u=a.computed(()=>w_(e.value)),p=a.ref(0),y=a.ref(0),f=a.ref(c.value),m=a.ref(s.value),k=a.shallowRef({}),g=a.ref(!1),b=a.computed(()=>{const v={position:f.value,left:"0",top:"0"};if(!u.value)return v;const L=AV(u.value,p.value),I=AV(u.value,y.value);return d.value?{...v,transform:"translate("+L+"px, "+I+"px)",...BV(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:L+"px",top:I+"px"}});let w;function S(){if(h.value==null||u.value==null)return;const v=r.value;dF(h.value,u.value,{middleware:i.value,placement:s.value,strategy:c.value}).then(L=>{p.value=L.x,y.value=L.y,f.value=L.strategy,m.value=L.placement,k.value=L.middlewareData,g.value=v!==!1})}function C(){typeof w=="function"&&(w(),w=void 0)}function x(){if(C(),o===void 0){S();return}if(h.value!=null&&u.value!=null){w=o(h.value,u.value,S);return}}function M(){r.value||(g.value=!1)}return a.watch([i,s,c,r],S,{flush:"sync"}),a.watch([h,u],x,{flush:"sync"}),a.watch(r,M,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(C),{x:a.shallowReadonly(p),y:a.shallowReadonly(y),strategy:a.shallowReadonly(f),placement:a.shallowReadonly(m),middlewareData:a.shallowReadonly(k),isPositioned:a.shallowReadonly(g),floatingStyles:b,update:S}}const pF={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[cne,yF]=tt("PopperContent");var fF=a.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:a.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...pF}),emits:["placed"],setup(t,{emit:e}){const n=t,o=e,r=dV(),{forwardRef:i,currentElement:s}=ke(),c=a.ref(),d=a.ref(),{width:h,height:u}=zT(d),p=a.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),y=a.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=a.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),m=a.computed(()=>({padding:y.value,boundary:f.value.filter(pH),altBoundary:f.value.length>0})),k=a.computed(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=Fz(()=>[fS({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&jl({...m.value,...k.value}),n.avoidCollisions&&mS({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?cF():void 0,...m.value}),!n.prioritizePosition&&n.avoidCollisions&&jl({...m.value,...k.value}),kS({...m.value,apply:({elements:V,rects:q,availableWidth:O,availableHeight:N})=>{const{width:T,height:H}=q.reference,j=V.floating.style;j.setProperty("--reka-popper-available-width",`${O}px`),j.setProperty("--reka-popper-available-height",`${N}px`),j.setProperty("--reka-popper-anchor-width",`${T}px`),j.setProperty("--reka-popper-anchor-height",`${H}px`)}}),d.value&&uF({element:d.value,padding:n.arrowPadding}),yH({arrowWidth:h.value,arrowHeight:u.value}),n.hideWhenDetached&&sF({strategy:"referenceHidden",...m.value})]),b=a.computed(()=>n.reference??r.anchor.value),{floatingStyles:w,placement:S,isPositioned:C,middlewareData:x}=gS(b,c,{strategy:n.positionStrategy,placement:p,whileElementsMounted:(...V)=>yS(...V,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),M=a.computed(()=>d_(S.value)[0]),v=a.computed(()=>d_(S.value)[1]);a.watchPostEffect(()=>{C.value&&o("placed")});const L=a.computed(()=>{var q;const V=((q=x.value.arrow)==null?void 0:q.centerOffset)!==0;return n.hideShiftedArrow&&V}),I=a.ref("");a.watchEffect(()=>{s.value&&(I.value=window.getComputedStyle(s.value).zIndex)});const _=a.computed(()=>{var V;return((V=x.value.arrow)==null?void 0:V.x)??0}),A=a.computed(()=>{var V;return((V=x.value.arrow)==null?void 0:V.y)??0});return yF({placedSide:M,onArrowChange:V=>d.value=V,arrowX:_,arrowY:A,shouldHideArrow:L}),(V,q)=>{var O,N,T;return a.openBlock(),a.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:a.normalizeStyle({...a.unref(w),transform:a.unref(C)?a.unref(w).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I.value,"--reka-popper-transform-origin":[(O=a.unref(x).transformOrigin)==null?void 0:O.x,(N=a.unref(x).transformOrigin)==null?void 0:N.y].join(" "),...((T=a.unref(x).hide)==null?void 0:T.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(i)},V.$attrs,{"as-child":n.asChild,as:V.as,"data-side":M.value,"data-align":v.value,style:{animation:a.unref(C)?void 0:"none"}}),{default:a.withCtx(()=>[a.renderSlot(V.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),v_=fF;function mF(t){const e=ql({nonce:a.ref()});return a.computed(()=>{var n;return(t==null?void 0:t.value)||((n=e.nonce)==null?void 0:n.value)})}const[Rl,kF]=tt("PopoverRoot");var gF=a.defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},modal:{type:Boolean,required:!1,default:!1}},emits:["update:open"],setup(t,{emit:e}){const n=t,o=e,{modal:r}=a.toRefs(n),i=Qt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=a.ref(),c=a.ref(!1);return kF({contentId:"",triggerId:"",modal:r,open:i,onOpenChange:d=>{i.value=d},onOpenToggle:()=>{i.value=!i.value},triggerElement:s,hasCustomAnchor:c}),(d,h)=>(a.openBlock(),a.createBlock(a.unref(l_),null,{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{open:a.unref(i),close:()=>i.value=!1})]),_:3}))}}),bF=gF,MF=a.defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=qe(Ce(n,"trapFocus","disableOutsidePointerEvents")),{forwardRef:i}=ke(),s=Rl();return jA(),(c,d)=>(a.openBlock(),a.createBlock(a.unref(s_),{"as-child":"",loop:"",trapped:c.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:a.withCtx(()=>[a.createVNode(a.unref(oS),{"as-child":"","disable-outside-pointer-events":c.disableOutsidePointerEvents,onPointerDownOutside:d[0]||(d[0]=h=>o("pointerDownOutside",h)),onInteractOutside:d[1]||(d[1]=h=>o("interactOutside",h)),onEscapeKeyDown:d[2]||(d[2]=h=>o("escapeKeyDown",h)),onFocusOutside:d[3]||(d[3]=h=>o("focusOutside",h)),onDismiss:d[4]||(d[4]=h=>a.unref(s).onOpenChange(!1))},{default:a.withCtx(()=>[a.createVNode(a.unref(v_),a.mergeProps(a.unref(r),{id:a.unref(s).contentId,ref:a.unref(i),"data-state":a.unref(s).open.value?"open":"closed","aria-labelledby":a.unref(s).triggerId,style:{"--reka-popover-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-popover-content-available-width":"var(--reka-popper-available-width)","--reka-popover-content-available-height":"var(--reka-popper-available-height)","--reka-popover-trigger-width":"var(--reka-popper-anchor-width)","--reka-popover-trigger-height":"var(--reka-popper-anchor-height)"},role:"dialog"}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["id","data-state","aria-labelledby"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),VV=MF,xF=a.defineComponent({__name:"PopoverContentModal",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Rl(),i=a.ref(!1);SI(!0);const s=Ue(n,o),{forwardRef:c,currentElement:d}=ke();return n_(d),(h,u)=>(a.openBlock(),a.createBlock(VV,a.mergeProps(a.unref(s),{ref:a.unref(c),"trap-focus":a.unref(r).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:u[0]||(u[0]=a.withModifiers(p=>{var y;o("closeAutoFocus",p),i.value||(y=a.unref(r).triggerElement.value)==null||y.focus()},["prevent"])),onPointerDownOutside:u[1]||(u[1]=p=>{o("pointerDownOutside",p);const y=p.detail.originalEvent,f=y.button===0&&y.ctrlKey===!0,m=y.button===2||f;i.value=m}),onFocusOutside:u[2]||(u[2]=a.withModifiers(()=>{},["prevent"]))}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},16,["trap-focus"]))}}),wF=xF,vF=a.defineComponent({__name:"PopoverContentNonModal",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Rl(),i=a.ref(!1),s=a.ref(!1),c=Ue(n,o);return(d,h)=>(a.openBlock(),a.createBlock(VV,a.mergeProps(a.unref(c),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;o("closeAutoFocus",u),u.defaultPrevented||(i.value||(p=a.unref(r).triggerElement.value)==null||p.focus(),u.preventDefault()),i.value=!1,s.value=!1}),onInteractOutside:h[1]||(h[1]=async u=>{var f;o("interactOutside",u),u.defaultPrevented||(i.value=!0,u.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const p=u.target;((f=a.unref(r).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&s.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),CF=vF,LF=a.defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Rl(),i=Ue(n,o),{forwardRef:s}=ke();return r.contentId||(r.contentId=Ba(void 0,"reka-popover-content")),(c,d)=>(a.openBlock(),a.createBlock(a.unref(Hl),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(r).modal.value?(a.openBlock(),a.createBlock(wF,a.mergeProps({key:0},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(CF,a.mergeProps({key:1},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),SF=LF,IF=a.defineComponent({__name:"PopoverPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),_F=IF,BF=a.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=Rl(),{forwardRef:o,currentElement:r}=ke();return n.triggerId||(n.triggerId=Ba(void 0,"reka-popover-trigger")),a.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(n).hasCustomAnchor.value?a.unref(ye):a.unref(c_)),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(ye),{id:a.unref(n).triggerId,ref:a.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value,"aria-controls":a.unref(n).contentId,"data-state":a.unref(n).open.value?"open":"closed",as:i.as,"as-child":e.asChild,onClick:a.unref(n).onOpenToggle},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["id","type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),AF=BF,VF=a.defineComponent({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(t){const e=t;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),PF=VF,DF=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"data-type":"ellipsis"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[o[0]||(o[0]=a.createTextVNode("…"))])]),_:3},16))}}),qF=DF;const[Ks,zF]=tt("PaginationRoot");var EF=a.defineComponent({__name:"PaginationRoot",props:{page:{type:Number,required:!1},defaultPage:{type:Number,required:!1,default:1},itemsPerPage:{type:Number,required:!0},total:{type:Number,required:!1,default:0},siblingCount:{type:Number,required:!1,default:2},disabled:{type:Boolean,required:!1},showEdges:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"nav"}},emits:["update:page"],setup(t,{emit:e}){const n=t,o=e,{siblingCount:r,disabled:i,showEdges:s}=a.toRefs(n);ke();const c=Qt(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),d=a.computed(()=>Math.max(1,Math.ceil(n.total/(n.itemsPerPage||1))));return zF({page:c,onPageChange(h){c.value=h},pageCount:d,siblingCount:r,disabled:i,showEdges:s}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:h.as,"as-child":h.asChild},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default",{page:a.unref(c),pageCount:d.value})]),_:3},8,["as","as-child"]))}}),TF=EF,OF=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=Ks();ke();const o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"First Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("First page"))])]),_:3},16,["type","disabled"]))}}),HF=OF,FF=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=Ks();ke();const o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"Last Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).pageCount.value))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Last page"))])]),_:3},16,["type","disabled"]))}}),$F=FF;function Da(t,e){const n=e-t+1;return Array.from({length:n},(o,r)=>r+t)}function jF(t){return t.map(e=>typeof e=="number"?{type:"page",value:e}:{type:"ellipsis"})}const bS="ellipsis";function RF(t,e,n,o){const i=e,s=Math.max(t-n,1),c=Math.min(t+n,i);if(o){const h=Math.min(2*n+5,e)-2,u=s>3&&Math.abs(i-h-1+1)>2&&Math.abs(s-1)>2,p=c<i-2&&Math.abs(i-h)>2&&Math.abs(i-c)>2;if(!u&&p)return[...Da(1,h),bS,i];if(u&&!p){const f=Da(i-h+1,i);return[1,bS,...f]}if(u&&p){const f=Da(s,c);return[1,bS,...f,bS,i]}return Da(1,i)}else{const d=n*2+1;return e<d?Da(1,i):t<=n+1?Da(1,d):e-t<=n?Da(e-d+1,i):Da(s,c)}}var NF=a.defineComponent({__name:"PaginationList",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>jF(RF(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{items:o.value})]),_:3},16))}}),UF=NF,WF=a.defineComponent({__name:"PaginationListItem",props:{value:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>n.page.value===e.value),r=a.computed(()=>n.disabled.value);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:r.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=c=>!r.value&&a.unref(n).onPageChange(i.value))}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),GF=WF,YF=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"Next Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value+1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Next page"))])]),_:3},16,["type","disabled"]))}}),KF=YF,XF=a.defineComponent({__name:"PaginationPrev",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"Previous Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value-1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Prev page"))])]),_:3},16,["type","disabled"]))}}),ZF=XF;const JF=[" ","Enter","ArrowUp","ArrowDown"],QF=[" ","Enter"],Ct=10;function Nl(t,e,n){return t===void 0?!1:Array.isArray(t)?t.some(o=>C_(o,e,n)):C_(t,e,n)}function C_(t,e,n){return t===void 0||e===void 0?!1:typeof t=="string"?t===e:typeof n=="function"?n(t,e):typeof n=="string"?(t==null?void 0:t[n])===(e==null?void 0:e[n]):cE(t,e)}function e$(t){return t==null||t===""||Array.isArray(t)&&t.length===0}const t$={key:0,value:""},[qa,PV]=tt("SelectRoot");var a$=a.defineComponent({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(t,{emit:e}){const n=t,o=e,{required:r,disabled:i,multiple:s,dir:c}=a.toRefs(n),d=Qt(n,"modelValue",o,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),h=Qt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=a.ref(),p=a.ref(),y=a.ref({x:0,y:0}),f=a.computed(()=>{var C;return s.value&&Array.isArray(d.value)?((C=d.value)==null?void 0:C.length)===0:wI(d.value)});Ns({isProvider:!0});const m=$A(c),k=MT(u),g=a.ref(new Set),b=a.computed(()=>Array.from(g.value).map(C=>C.value).join(";"));function w(C){if(s.value){const x=Array.isArray(d.value)?[...d.value]:[],M=x.findIndex(v=>C_(v,C,n.by));M===-1?x.push(C):x.splice(M,1),d.value=[...x]}else d.value=C}function S(C){return Array.from(g.value).find(x=>Nl(C,x.value,n.by))}return PV({triggerElement:u,onTriggerChange:C=>{u.value=C},valueElement:p,onValueElementChange:C=>{p.value=C},contentId:"",modelValue:d,onValueChange:w,by:n.by,open:h,multiple:s,required:r,onOpenChange:C=>{h.value=C},dir:m,triggerPointerDownPosRef:y,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:C=>{const x=S(C.value);x&&g.value.delete(x),g.value.add(C)},onOptionRemove:C=>{const x=S(C.value);x&&g.value.delete(x)}}),(C,x)=>(a.openBlock(),a.createBlock(a.unref(l_),null,{default:a.withCtx(()=>[a.renderSlot(C.$slots,"default",{modelValue:a.unref(d),open:a.unref(h)}),a.unref(k)?(a.openBlock(),a.createBlock(r$,{key:b.value,"aria-hidden":"true",tabindex:"-1",multiple:a.unref(s),required:a.unref(r),name:C.name,autocomplete:C.autocomplete,disabled:a.unref(i),value:a.unref(d)},{default:a.withCtx(()=>[a.unref(wI)(a.unref(d))?(a.openBlock(),a.createElementBlock("option",t$)):a.createCommentVNode("v-if",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Array.from(g.value),M=>(a.openBlock(),a.createElementBlock("option",a.mergeProps({key:M.value??""},{ref_for:!0},M),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):a.createCommentVNode("v-if",!0)]),_:3}))}}),n$=a$,o$=a.defineComponent({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(t){const e=t,n=a.ref(),o=qa();a.watch(()=>e.value,(i,s)=>{const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==s&&h&&n.value){const u=new Event("change",{bubbles:!0});h.call(n.value,i),n.value.dispatchEvent(u)}});function r(i){o.onValueChange(i.target.value)}return(i,s)=>(a.openBlock(),a.createBlock(a.unref(cV),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("select",a.mergeProps({ref_key:"selectElement",ref:n},e,{onInput:r}),[a.renderSlot(i.$slots,"default")],16)]),_:3}))}}),r$=o$,i$=a.defineComponent({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Ct},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const n=qe(t);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(v_),a.mergeProps(a.unref(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),s$=i$;const l$={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ss,DV]=tt("SelectContent");var c$=a.defineComponent({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=qa();jA(),SI(n.bodyLock);const{CollectionSlot:i,getItems:s}=Ns(),c=a.ref();n_(c);const{search:d,handleTypeaheadSearch:h}=UA(),u=a.ref(),p=a.ref(),y=a.ref(),f=a.ref(!1),m=a.ref(!1),k=a.ref(!1);function g(){p.value&&c.value&&QA([p.value,c.value])}a.watch(f,()=>{g()});const{onOpenChange:b,triggerPointerDownPosRef:w}=r;a.watchEffect(M=>{if(!c.value)return;let v={x:0,y:0};const L=_=>{var A,V;v={x:Math.abs(Math.round(_.pageX)-(((A=w.value)==null?void 0:A.x)??0)),y:Math.abs(Math.round(_.pageY)-(((V=w.value)==null?void 0:V.y)??0))}},I=_=>{var A;_.pointerType!=="touch"&&(v.x<=10&&v.y<=10?_.preventDefault():(A=c.value)!=null&&A.contains(_.target)||b(!1),document.removeEventListener("pointermove",L),w.value=null)};w.value!==null&&(document.addEventListener("pointermove",L),document.addEventListener("pointerup",I,{capture:!0,once:!0})),M(()=>{document.removeEventListener("pointermove",L),document.removeEventListener("pointerup",I,{capture:!0})})});function S(M){const v=M.ctrlKey||M.altKey||M.metaKey;if(M.key==="Tab"&&M.preventDefault(),!v&&M.key.length===1&&h(M.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(M.key)){let I=[...s().map(_=>_.ref)];if(["ArrowUp","End"].includes(M.key)&&(I=I.slice().reverse()),["ArrowUp","ArrowDown"].includes(M.key)){const _=M.target,A=I.indexOf(_);I=I.slice(A+1)}setTimeout(()=>QA(I)),M.preventDefault()}}const C=a.computed(()=>n.position==="popper"?n:{}),x=qe(C.value);return DV({content:c,viewport:u,onViewportChange:M=>{u.value=M},itemRefCallback:(M,v,L)=>{const I=!m.value&&!L,_=Nl(r.modelValue.value,v,r.by);if(r.multiple.value){if(k.value)return;(_||I)&&(p.value=M,_&&(k.value=!0))}else(_||I)&&(p.value=M);I&&(m.value=!0)},selectedItem:p,selectedItemText:y,onItemLeave:()=>{var M;(M=c.value)==null||M.focus()},itemTextRefCallback:(M,v,L)=>{const I=!m.value&&!L;(Nl(r.modelValue.value,v,r.by)||I)&&(y.value=M)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:d}),(M,v)=>(a.openBlock(),a.createBlock(a.unref(i),null,{default:a.withCtx(()=>[a.createVNode(a.unref(s_),{"as-child":"",onMountAutoFocus:v[6]||(v[6]=a.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:v[7]||(v[7]=L=>{var I;o("closeAutoFocus",L),!L.defaultPrevented&&((I=a.unref(r).triggerElement.value)==null||I.focus({preventScroll:!0}),L.preventDefault())})},{default:a.withCtx(()=>[a.createVNode(a.unref(oS),{"as-child":"","disable-outside-pointer-events":M.disableOutsidePointerEvents,onFocusOutside:v[2]||(v[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:v[3]||(v[3]=L=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:v[4]||(v[4]=L=>o("escapeKeyDown",L)),onPointerDownOutside:v[5]||(v[5]=L=>o("pointerDownOutside",L))},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(M.position==="popper"?s$:p$),a.mergeProps({...M.$attrs,...a.unref(x)},{id:a.unref(r).contentId,ref:L=>{const I=a.unref(Ht)(L);I!=null&&I.hasAttribute("data-reka-popper-content-wrapper")?c.value=I.firstElementChild:c.value=I},role:"listbox","data-state":a.unref(r).open.value?"open":"closed",dir:a.unref(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:v[0]||(v[0]=a.withModifiers(()=>{},["prevent"])),onPlaced:v[1]||(v[1]=L=>f.value=!0),onKeydown:S}),{default:a.withCtx(()=>[a.renderSlot(M.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),d$=c$;const[L_,h$]=tt("SelectItemAlignedPosition");var u$=a.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(t,{emit:e}){const n=t,o=e,{getItems:r}=Ns(),i=qa(),s=ss(),c=a.ref(!1),d=a.ref(!0),h=a.ref(),{forwardRef:u,currentElement:p}=ke(),{viewport:y,selectedItem:f,selectedItemText:m,focusSelectedItem:k}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&h.value&&p.value&&(y!=null&&y.value)&&(f!=null&&f.value)&&(m!=null&&m.value)){const S=i.triggerElement.value.getBoundingClientRect(),C=p.value.getBoundingClientRect(),x=i.valueElement.value.getBoundingClientRect(),M=m.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const le=M.left-C.left,Le=x.left-le,ue=S.left-Le,U=S.width+ue,z=Math.max(U,C.width),W=window.innerWidth-Ct,ee=XB(Le,Ct,Math.max(Ct,W-z));h.value.style.minWidth=`${U}px`,h.value.style.left=`${ee}px`}else{const le=C.right-M.right,Le=window.innerWidth-x.right-le,ue=window.innerWidth-S.right-Le,U=S.width+ue,z=Math.max(U,C.width),W=window.innerWidth-Ct,ee=XB(Le,Ct,Math.max(Ct,W-z));h.value.style.minWidth=`${U}px`,h.value.style.right=`${ee}px`}const v=r().map(le=>le.ref),L=window.innerHeight-Ct*2,I=y.value.scrollHeight,_=window.getComputedStyle(p.value),A=Number.parseInt(_.borderTopWidth,10),V=Number.parseInt(_.paddingTop,10),q=Number.parseInt(_.borderBottomWidth,10),O=Number.parseInt(_.paddingBottom,10),N=A+V+I+O+q,T=Math.min(f.value.offsetHeight*5,N),H=window.getComputedStyle(y.value),j=Number.parseInt(H.paddingTop,10),Z=Number.parseInt(H.paddingBottom,10),P=S.top+S.height/2-Ct,D=L-P,G=f.value.offsetHeight/2,ne=f.value.offsetTop+G,te=A+V+ne,ce=N-te;if(te<=P){const le=f.value===v[v.length-1];h.value.style.bottom="0px";const Le=p.value.clientHeight-y.value.offsetTop-y.value.offsetHeight,ue=Math.max(D,G+(le?Z:0)+Le+q),U=te+ue;h.value.style.height=`${U}px`}else{const le=f.value===v[0];h.value.style.top="0px";const ue=Math.max(P,A+y.value.offsetTop+(le?j:0)+G)+ce;h.value.style.height=`${ue}px`,y.value.scrollTop=te-P+y.value.offsetTop}h.value.style.margin=`${Ct}px 0`,h.value.style.minHeight=`${T}px`,h.value.style.maxHeight=`${L}px`,o("placed"),requestAnimationFrame(()=>c.value=!0)}}const b=a.ref("");a.onMounted(async()=>{await a.nextTick(),g(),p.value&&(b.value=window.getComputedStyle(p.value).zIndex)});function w(S){S&&d.value===!0&&(g(),k==null||k(),d.value=!1)}return sE(i.triggerElement,()=>{g()}),h$({contentWrapper:h,shouldExpandOnScrollRef:c,onScrollButtonChange:w}),(S,C)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"contentWrapperElement",ref:h,style:a.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:b.value})},[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...S.$attrs,...n}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},16)],4))}}),p$=u$,y$=a.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(t){return PV(t.context),DV(l$),(n,o)=>a.renderSlot(n.$slots,"default")}}),f$=y$;const m$={key:1};var k$=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,r=Ue(n,e),i=qa(),s=a.ref();a.onMounted(()=>{s.value=new DocumentFragment});const c=a.ref(),d=a.computed(()=>n.forceMount||i.open.value),h=a.ref(d.value);return a.watch(d,()=>{setTimeout(()=>h.value=d.value)}),(u,p)=>{var y;return d.value||h.value||(y=c.value)!=null&&y.present?(a.openBlock(),a.createBlock(a.unref(Hl),{key:0,ref_key:"presenceRef",ref:c,present:d.value},{default:a.withCtx(()=>[a.createVNode(d$,a.normalizeProps(a.guardReactiveProps({...a.unref(r),...u.$attrs})),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(a.openBlock(),a.createElementBlock("div",m$,[(a.openBlock(),a.createBlock(a.Teleport,{to:s.value},[a.createVNode(f$,{context:a.unref(i)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):a.createCommentVNode("v-if",!0)}}}),g$=k$,b$=a.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.unref(ye),{"aria-hidden":"true",as:e.as,"as-child":e.asChild},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default",{},()=>[n[0]||(n[0]=a.createTextVNode("▼"))])]),_:3},8,["as","as-child"]))}}),M$=b$;const[qV,x$]=tt("SelectItem");var w$=a.defineComponent({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(t,{emit:e}){const n=t,o=e,{disabled:r}=a.toRefs(n),i=qa(),s=ss(),{forwardRef:c,currentElement:d}=ke(),{CollectionItem:h}=Ns(),u=a.computed(()=>{var C;return Nl((C=i.modelValue)==null?void 0:C.value,n.value,i.by)}),p=a.ref(!1),y=a.ref(n.textValue??""),f=Ba(void 0,"reka-select-item-text"),m="select.select";async function k(C){if(C.defaultPrevented)return;const x={originalEvent:C,value:n.value};xI(m,g,x)}async function g(C){await a.nextTick(),o("select",C),!C.defaultPrevented&&(r.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function b(C){var x,M;await a.nextTick(),!C.defaultPrevented&&(r.value?(x=s.onItemLeave)==null||x.call(s):(M=C.currentTarget)==null||M.focus({preventScroll:!0}))}async function w(C){var x;await a.nextTick(),!C.defaultPrevented&&C.currentTarget===st()&&((x=s.onItemLeave)==null||x.call(s))}async function S(C){var M;await a.nextTick(),!(C.defaultPrevented||((M=s.searchRef)==null?void 0:M.value)!==""&&C.key===" ")&&(QF.includes(C.key)&&k(C),C.key===" "&&C.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.onMounted(()=>{d.value&&s.itemRefCallback(d.value,n.value,n.disabled)}),x$({value:n.value,disabled:r,textId:f,isSelected:u,onItemTextChange:C=>{y.value=((y.value||(C==null?void 0:C.textContent))??"").trim()}}),(C,x)=>(a.openBlock(),a.createBlock(a.unref(h),{value:{textValue:y.value}},{default:a.withCtx(()=>[a.createVNode(a.unref(ye),{ref:a.unref(c),role:"option","aria-labelledby":a.unref(f),"data-highlighted":p.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":a.unref(r)||void 0,"data-disabled":a.unref(r)?"":void 0,tabindex:a.unref(r)?void 0:-1,as:C.as,"as-child":C.asChild,onFocus:x[0]||(x[0]=M=>p.value=!0),onBlur:x[1]||(x[1]=M=>p.value=!1),onPointerup:k,onPointerdown:x[2]||(x[2]=M=>{M.currentTarget.focus({preventScroll:!0})}),onTouchend:x[3]||(x[3]=a.withModifiers(()=>{},["prevent","stop"])),onPointermove:b,onPointerleave:w,onKeydown:S},{default:a.withCtx(()=>[a.renderSlot(C.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),v$=w$,C$=a.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=qV();return(o,r)=>a.unref(n).isSelected.value?(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({key:0,"aria-hidden":"true"},e),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16)):a.createCommentVNode("v-if",!0)}}),L$=C$,S$=a.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=qa(),o=ss(),r=qV(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var d,h;return{value:r.value,disabled:r.disabled.value,textContent:((d=s.value)==null?void 0:d.textContent)??((h=r.value)==null?void 0:h.toString())??""}});return a.onMounted(()=>{s.value&&(r.onItemTextChange(s.value),o.itemTextRefCallback(s.value,r.value,r.disabled.value),n.onOptionAdd(c.value))}),a.onUnmounted(()=>{n.onOptionRemove(c.value)}),(d,h)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({id:a.unref(r).textId,ref:a.unref(i)},{...e,...d.$attrs}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["id"]))}}),I$=S$,_$=a.defineComponent({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),B$=_$,A$=a.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(t,{emit:e}){const n=e,{getItems:o}=Ns(),r=ss(),i=a.ref(null);function s(){i.value!==null&&(window.clearInterval(i.value),i.value=null)}a.watchEffect(()=>{const h=o().map(u=>u.ref).find(u=>u===st());h==null||h.scrollIntoView({block:"nearest"})});function c(){i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var h;(h=r.onItemLeave)==null||h.call(r),i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}return a.onBeforeUnmount(()=>s()),(h,u)=>{var p;return a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(p=h.$parent)==null?void 0:p.$props,{onPointerdown:c,onPointermove:d,onPointerleave:u[0]||(u[0]=()=>{s()})}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},16)}}}),zV=A$,V$=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=ss(),n=e.position==="item-aligned"?L_():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){const p=h.scrollHeight-h.clientHeight;i.value=Math.ceil(h.scrollTop)<p};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(zV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop+h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),P$=V$,D$=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=ss(),n=e.position==="item-aligned"?L_():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){i.value=h.scrollTop>0};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(zV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop-h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),q$=D$,z$=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=qa(),{forwardRef:o,currentElement:r}=ke(),i=a.computed(()=>{var y;return((y=n.disabled)==null?void 0:y.value)||e.disabled});n.contentId||(n.contentId=Ba(void 0,"reka-select-content")),a.onMounted(()=>{n.onTriggerChange(r.value)});const{getItems:s}=Ns(),{search:c,handleTypeaheadSearch:d,resetTypeahead:h}=UA();function u(){i.value||(n.onOpenChange(!0),h())}function p(y){u(),n.triggerPointerDownPosRef.value={x:Math.round(y.pageX),y:Math.round(y.pageY)}}return(y,f)=>(a.openBlock(),a.createBlock(a.unref(c_),{"as-child":"",reference:y.reference},{default:a.withCtx(()=>{var m,k,g,b;return[a.createVNode(a.unref(ye),{ref:a.unref(o),role:"combobox",type:y.as==="button"?"button":void 0,"aria-controls":a.unref(n).contentId,"aria-expanded":a.unref(n).open.value||!1,"aria-required":(m=a.unref(n).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:i.value,dir:(k=a.unref(n))==null?void 0:k.dir.value,"data-state":(g=a.unref(n))!=null&&g.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":a.unref(e$)((b=a.unref(n).modelValue)==null?void 0:b.value)?"":void 0,"as-child":y.asChild,as:y.as,onClick:f[0]||(f[0]=w=>{var S;(S=w==null?void 0:w.currentTarget)==null||S.focus()}),onPointerdown:f[1]||(f[1]=w=>{if(w.pointerType==="touch")return w.preventDefault();const S=w.target;S.hasPointerCapture(w.pointerId)&&S.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&(p(w),w.preventDefault())}),onPointerup:f[2]||(f[2]=a.withModifiers(w=>{w.pointerType==="touch"&&p(w)},["prevent"])),onKeydown:f[3]||(f[3]=w=>{const S=a.unref(c)!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&S&&w.key===" "||(a.unref(d)(w.key,a.unref(s)()),a.unref(JF).includes(w.key)&&(u(),w.preventDefault()))})},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),E$=z$,T$=a.defineComponent({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,{forwardRef:n,currentElement:o}=ke(),r=qa();a.onMounted(()=>{r.valueElement=o});const i=a.computed(()=>{var u;let c=[];const d=Array.from(r.optionsSet.value),h=p=>d.find(y=>Nl(p,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(p=>{var y;return((y=h(p))==null?void 0:y.textContent)??""}):c=[((u=h(r.modelValue.value))==null?void 0:u.textContent)??""],c.filter(Boolean)}),s=a.computed(()=>i.value.length?i.value.join(", "):e.placeholder);return(c,d)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref:a.unref(n),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:e.placeholder},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{selectedLabel:i.value,modelValue:a.unref(r).modelValue.value},()=>[a.createTextVNode(a.toDisplayString(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),O$=T$,H$=a.defineComponent({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{nonce:n}=a.toRefs(e),o=mF(n),r=ss(),i=r.position==="item-aligned"?L_():void 0,{forwardRef:s,currentElement:c}=ke();a.onMounted(()=>{r==null||r.onViewportChange(c.value)});const d=a.ref(0);function h(u){const p=u.currentTarget,{shouldExpandOnScrollRef:y,contentWrapper:f}=i??{};if(y!=null&&y.value&&(f!=null&&f.value)){const m=Math.abs(d.value-p.scrollTop);if(m>0){const k=window.innerHeight-Ct*2,g=Number.parseFloat(f.value.style.minHeight),b=Number.parseFloat(f.value.style.height),w=Math.max(g,b);if(w<k){const S=w+m,C=Math.min(k,S),x=S-C;f.value.style.height=`${C}px`,f.value.style.bottom==="0px"&&(p.scrollTop=x>0?x:0,f.value.style.justifyContent="flex-end")}}}d.value=p.scrollTop}return(u,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(s),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...e},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:h}),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16),a.createVNode(a.unref(ye),{as:"style",nonce:a.unref(o)},{default:a.withCtx(()=>p[0]||(p[0]=[a.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),F$=H$,$$=a.defineComponent({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,n=["horizontal","vertical"];function o(c){return n.includes(c)}const r=a.computed(()=>o(e.orientation)?e.orientation:"horizontal"),i=a.computed(()=>r.value==="vertical"?e.orientation:void 0),s=a.computed(()=>e.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(c,d)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({as:c.as,"as-child":c.asChild,"data-orientation":r.value},s.value),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),j$=$$,R$=a.defineComponent({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(j$,a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),N$=R$;const[S_,U$]=tt("TooltipProvider");var W$=a.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(t){const e=t,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:c}=a.toRefs(e);ke();const d=a.ref(!0),h=a.ref(!1),{start:u,stop:p}=UB(()=>{d.value=!0},o,{immediate:!1});return U$({isOpenDelayed:d,delayDuration:n,onOpen(){p(),d.value=!1},onClose(){u()},isPointerInTransitRef:h,disableHoverableContent:r,disableClosingTrigger:i,disabled:c,ignoreNonKeyboardFocus:s}),(y,f)=>a.renderSlot(y.$slots,"default")}}),G$=W$;const EV="tooltip.open",[MS,Y$]=tt("TooltipRoot");var K$=a.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(t,{emit:e}){const n=t,o=e;ke();const r=S_(),i=a.computed(()=>n.disableHoverableContent??r.disableHoverableContent.value),s=a.computed(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),c=a.computed(()=>n.disabled??r.disabled.value),d=a.computed(()=>n.delayDuration??r.delayDuration.value),h=a.computed(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=Qt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});a.watch(u,S=>{r.onClose&&(S?(r.onOpen(),document.dispatchEvent(new CustomEvent(EV))):r.onClose())});const p=a.ref(!1),y=a.ref(),f=a.computed(()=>u.value?p.value?"delayed-open":"instant-open":"closed"),{start:m,stop:k}=UB(()=>{p.value=!0,u.value=!0},d,{immediate:!1});function g(){k(),p.value=!1,u.value=!0}function b(){k(),u.value=!1}function w(){m()}return Y$({contentId:"",open:u,stateAttribute:f,trigger:y,onTriggerChange(S){y.value=S},onTriggerEnter(){r.isOpenDelayed.value?w():g()},onTriggerLeave(){i.value?b():k()},onOpen:g,onClose:b,disableHoverableContent:i,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:h}),(S,C)=>(a.openBlock(),a.createBlock(a.unref(l_),null,{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default",{open:a.unref(u)})]),_:3}))}}),X$=K$,Z$=a.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=MS(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var h;return n.ariaLabel||((h=s.value)==null?void 0:h.textContent)}),d=a.computed(()=>{const{ariaLabel:h,...u}=n;return u});return a.onMounted(()=>{Pl(window,"scroll",h=>{const u=h.target;u!=null&&u.contains(r.trigger.value)&&r.onClose()}),Pl(window,EV,r.onClose)}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(oS),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:u[1]||(u[1]=p=>{var y;a.unref(r).disableClosingTrigger.value&&((y=a.unref(r).trigger.value)!=null&&y.contains(p.target))&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:u[2]||(u[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=p=>a.unref(r).onClose())},{default:a.withCtx(()=>[a.createVNode(a.unref(v_),a.mergeProps({ref:a.unref(i),"data-state":a.unref(r).stateAttribute.value},{...h.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default"),a.createVNode(a.unref(cV),{id:a.unref(r).contentId,role:"tooltip"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),TV=Z$,J$=a.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(t){const n=qe(t),{forwardRef:o,currentElement:r}=ke(),{trigger:i,onClose:s}=MS(),c=S_(),{isPointerInTransit:d,onPointerExit:h}=xT(i,r);return c.isPointerInTransitRef=d,h(()=>{s()}),(u,p)=>(a.openBlock(),a.createBlock(TV,a.mergeProps({ref:a.unref(o)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16))}}),Q$=J$,ej=a.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=MS(),i=Ue(n,o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(Hl),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r).disableHoverableContent.value?TV:Q$),a.mergeProps({ref:a.unref(s)},a.unref(i)),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),tj=ej,aj=a.defineComponent({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),nj=aj,oj=a.defineComponent({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=MS(),o=S_();n.contentId||(n.contentId=Ba(void 0,"reka-tooltip-content"));const{forwardRef:r,currentElement:i}=ke(),s=a.ref(!1),c=a.ref(!1),d=a.computed(()=>n.disabled.value?{}:{click:k,focus:f,pointermove:p,pointerleave:y,pointerdown:u,blur:m});a.onMounted(()=>{n.onTriggerChange(i.value)});function h(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",h,{once:!0})}function p(g){g.pointerType!=="touch"&&!c.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),c.value=!0)}function y(){n.onTriggerLeave(),c.value=!1}function f(g){var b,w;s.value||n.ignoreNonKeyboardFocus.value&&!((w=(b=g.target).matches)!=null&&w.call(b,":focus-visible"))||n.onOpen()}function m(){n.onClose()}function k(){n.disableClosingTrigger.value||n.onClose()}return(g,b)=>(a.openBlock(),a.createBlock(a.unref(c_),{"as-child":"",reference:g.reference},{default:a.withCtx(()=>[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(r),"aria-describedby":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).stateAttribute.value,as:g.as,"as-child":e.asChild,"data-grace-area-trigger":""},a.toHandlers(d.value)),{default:a.withCtx(()=>[a.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),rj=oj;function OV(t){var e,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(n=OV(t[e]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function HV(){for(var t,e,n=0,o="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=OV(t))&&(o&&(o+=" "),o+=e);return o}const ij=(t,e)=>{const n=new Array(t.length+e.length);for(let o=0;o<t.length;o++)n[o]=t[o];for(let o=0;o<e.length;o++)n[t.length+o]=e[o];return n},sj=(t,e)=>({classGroupId:t,validator:e}),FV=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),xS="-",$V=[],lj="arbitrary..",cj=t=>{const e=hj(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return dj(s);const c=s.split(xS),d=c[0]===""&&c.length>1?1:0;return jV(c,d,e)},getConflictingClassGroupIds:(s,c)=>{if(c){const d=o[s],h=n[s];return d?h?ij(h,d):d:h||$V}return n[s]||$V}}},jV=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const r=t[e],i=n.nextPart.get(r);if(i){const h=jV(t,e+1,i);if(h)return h}const s=n.validators;if(s===null)return;const c=e===0?t.join(xS):t.slice(e).join(xS),d=s.length;for(let h=0;h<d;h++){const u=s[h];if(u.validator(c))return u.classGroupId}},dj=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),o=e.slice(0,n);return o?lj+o:void 0})(),hj=t=>{const{theme:e,classGroups:n}=t;return uj(n,e)},uj=(t,e)=>{const n=FV();for(const o in t){const r=t[o];I_(r,n,o,e)}return n},I_=(t,e,n,o)=>{const r=t.length;for(let i=0;i<r;i++){const s=t[i];pj(s,e,n,o)}},pj=(t,e,n,o)=>{if(typeof t=="string"){yj(t,e,n);return}if(typeof t=="function"){fj(t,e,n,o);return}mj(t,e,n,o)},yj=(t,e,n)=>{const o=t===""?e:RV(e,t);o.classGroupId=n},fj=(t,e,n,o)=>{if(kj(t)){I_(t(o),e,n,o);return}e.validators===null&&(e.validators=[]),e.validators.push(sj(n,t))},mj=(t,e,n,o)=>{const r=Object.entries(t),i=r.length;for(let s=0;s<i;s++){const[c,d]=r[s];I_(d,RV(e,c),n,o)}},RV=(t,e)=>{let n=t;const o=e.split(xS),r=o.length;for(let i=0;i<r;i++){const s=o[i];let c=n.nextPart.get(s);c||(c=FV(),n.nextPart.set(s,c)),n=c}return n},kj=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,gj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),o=Object.create(null);const r=(i,s)=>{n[i]=s,e++,e>t&&(e=0,o=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=o[i])!==void 0)return r(i,s),s},set(i,s){i in n?n[i]=s:r(i,s)}}},__="!",NV=":",bj=[],UV=(t,e,n,o,r)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),Mj=t=>{const{prefix:e,experimentalParseClassName:n}=t;let o=r=>{const i=[];let s=0,c=0,d=0,h;const u=r.length;for(let k=0;k<u;k++){const g=r[k];if(s===0&&c===0){if(g===NV){i.push(r.slice(d,k)),d=k+1;continue}if(g==="/"){h=k;continue}}g==="["?s++:g==="]"?s--:g==="("?c++:g===")"&&c--}const p=i.length===0?r:r.slice(d);let y=p,f=!1;p.endsWith(__)?(y=p.slice(0,-1),f=!0):p.startsWith(__)&&(y=p.slice(1),f=!0);const m=h&&h>d?h-d:void 0;return UV(i,f,y,m)};if(e){const r=e+NV,i=o;o=s=>s.startsWith(r)?i(s.slice(r.length)):UV(bj,!1,s,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},xj=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,o)=>{e.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const s=n[i],c=s[0]==="[",d=e.has(s);c||d?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(s)):r.push(s)}return r.length>0&&(r.sort(),o.push(...r)),o}},wj=t=>({cache:gj(t.cacheSize),parseClassName:Mj(t),sortModifiers:xj(t),...cj(t)}),vj=/\s+/,Cj=(t,e)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=e,s=[],c=t.trim().split(vj);let d="";for(let h=c.length-1;h>=0;h-=1){const u=c[h],{isExternal:p,modifiers:y,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:k}=n(u);if(p){d=u+(d.length>0?" "+d:d);continue}let g=!!k,b=o(g?m.substring(0,k):m);if(!b){if(!g){d=u+(d.length>0?" "+d:d);continue}if(b=o(m),!b){d=u+(d.length>0?" "+d:d);continue}g=!1}const w=y.length===0?"":y.length===1?y[0]:i(y).join(":"),S=f?w+__:w,C=S+b;if(s.indexOf(C)>-1)continue;s.push(C);const x=r(b,g);for(let M=0;M<x.length;++M){const v=x[M];s.push(S+v)}d=u+(d.length>0?" "+d:d)}return d},Lj=(...t)=>{let e=0,n,o,r="";for(;e<t.length;)(n=t[e++])&&(o=WV(n))&&(r&&(r+=" "),r+=o);return r},WV=t=>{if(typeof t=="string")return t;let e,n="";for(let o=0;o<t.length;o++)t[o]&&(e=WV(t[o]))&&(n&&(n+=" "),n+=e);return n},Sj=(t,...e)=>{let n,o,r,i;const s=d=>{const h=e.reduce((u,p)=>p(u),t());return n=wj(h),o=n.cache.get,r=n.cache.set,i=c,c(d)},c=d=>{const h=o(d);if(h)return h;const u=Cj(d,n);return r(d,u),u};return i=s,(...d)=>i(Lj(...d))},Ij=[],je=t=>{const e=n=>n[t]||Ij;return e.isThemeGetter=!0,e},GV=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,YV=/^\((?:(\w[\w-]*):)?(.+)\)$/i,_j=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Bj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Aj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Vj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Pj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Dj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,za=t=>_j.test(t),Me=t=>!!t&&!Number.isNaN(Number(t)),Ea=t=>!!t&&Number.isInteger(Number(t)),B_=t=>t.endsWith("%")&&Me(t.slice(0,-1)),sa=t=>Bj.test(t),KV=()=>!0,qj=t=>Aj.test(t)&&!Vj.test(t),A_=()=>!1,zj=t=>Pj.test(t),Ej=t=>Dj.test(t),Tj=t=>!re(t)&&!ie(t),Oj=t=>Ta(t,tP,A_),re=t=>GV.test(t),ls=t=>Ta(t,aP,qj),XV=t=>Ta(t,Wj,Me),Hj=t=>Ta(t,oP,KV),Fj=t=>Ta(t,nP,A_),ZV=t=>Ta(t,QV,A_),$j=t=>Ta(t,eP,Ej),wS=t=>Ta(t,rP,zj),ie=t=>YV.test(t),Ul=t=>cs(t,aP),jj=t=>cs(t,nP),JV=t=>cs(t,QV),Rj=t=>cs(t,tP),Nj=t=>cs(t,eP),vS=t=>cs(t,rP,!0),Uj=t=>cs(t,oP,!0),Ta=(t,e,n)=>{const o=GV.exec(t);return o?o[1]?e(o[1]):n(o[2]):!1},cs=(t,e,n=!1)=>{const o=YV.exec(t);return o?o[1]?e(o[1]):n:!1},QV=t=>t==="position"||t==="percentage",eP=t=>t==="image"||t==="url",tP=t=>t==="length"||t==="size"||t==="bg-size",aP=t=>t==="length",Wj=t=>t==="number",nP=t=>t==="family-name",oP=t=>t==="number"||t==="weight",rP=t=>t==="shadow",Gj=Sj(()=>{const t=je("color"),e=je("font"),n=je("text"),o=je("font-weight"),r=je("tracking"),i=je("leading"),s=je("breakpoint"),c=je("container"),d=je("spacing"),h=je("radius"),u=je("shadow"),p=je("inset-shadow"),y=je("text-shadow"),f=je("drop-shadow"),m=je("blur"),k=je("perspective"),g=je("aspect"),b=je("ease"),w=je("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...C(),ie,re],M=()=>["auto","hidden","clip","visible","scroll"],v=()=>["auto","contain","none"],L=()=>[ie,re,d],I=()=>[za,"full","auto",...L()],_=()=>[Ea,"none","subgrid",ie,re],A=()=>["auto",{span:["full",Ea,ie,re]},Ea,ie,re],V=()=>[Ea,"auto",ie,re],q=()=>["auto","min","max","fr",ie,re],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],N=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...L()],H=()=>[za,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],j=()=>[za,"screen","full","dvw","lvw","svw","min","max","fit",...L()],Z=()=>[za,"screen","full","lh","dvh","lvh","svh","min","max","fit",...L()],P=()=>[t,ie,re],D=()=>[...C(),JV,ZV,{position:[ie,re]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ne=()=>["auto","cover","contain",Rj,Oj,{size:[ie,re]}],te=()=>[B_,Ul,ls],ce=()=>["","none","full",h,ie,re],pe=()=>["",Me,Ul,ls],le=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[Me,B_,JV,ZV],U=()=>["","none",m,ie,re],z=()=>["none",Me,ie,re],W=()=>["none",Me,ie,re],ee=()=>[Me,ie,re],fe=()=>[za,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[sa],breakpoint:[sa],color:[KV],container:[sa],"drop-shadow":[sa],ease:["in","out","in-out"],font:[Tj],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[sa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[sa],shadow:[sa],spacing:["px",Me],text:[sa],"text-shadow":[sa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",za,re,ie,g]}],container:["container"],columns:[{columns:[Me,re,ie,c]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:v()}],"overscroll-x":[{"overscroll-x":v()}],"overscroll-y":[{"overscroll-y":v()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Ea,"auto",ie,re]}],basis:[{basis:[za,"full","auto",c,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,za,"auto","initial","none",re]}],grow:[{grow:["",Me,ie,re]}],shrink:[{shrink:["",Me,ie,re]}],order:[{order:[Ea,"first","last","none",ie,re]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":q()}],"auto-rows":[{"auto-rows":q()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...N(),"normal"]}],"justify-self":[{"justify-self":["auto",...N()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...N(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...N(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...N(),"baseline"]}],"place-self":[{"place-self":["auto",...N()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pbs:[{pbs:L()}],pbe:[{pbe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],"inline-size":[{inline:["auto",...j()]}],"min-inline-size":[{"min-inline":["auto",...j()]}],"max-inline-size":[{"max-inline":["none",...j()]}],"block-size":[{block:["auto",...Z()]}],"min-block-size":[{"min-block":["auto",...Z()]}],"max-block-size":[{"max-block":["none",...Z()]}],w:[{w:[c,"screen",...H()]}],"min-w":[{"min-w":[c,"screen","none",...H()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",n,Ul,ls]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Uj,Hj]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",B_,re]}],"font-family":[{font:[jj,Fj,e]}],"font-features":[{"font-features":[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,ie,re]}],"line-clamp":[{"line-clamp":[Me,"none",ie,XV]}],leading:[{leading:[i,...L()]}],"list-image":[{"list-image":["none",ie,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",ie,ls]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[Me,"auto",ie,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:ne()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ea,ie,re],radial:["",ie,re],conic:[Ea,ie,re]},Nj,$j]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-bs":[{"border-bs":pe()}],"border-w-be":[{"border-be":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,ie,re]}],"outline-w":[{outline:["",Me,Ul,ls]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,vS,wS]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",p,vS,wS]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[Me,ls]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",y,vS,wS]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[Me,ie,re]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[ie,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:ne()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,re]}],filter:[{filter:["","none",ie,re]}],blur:[{blur:U()}],brightness:[{brightness:[Me,ie,re]}],contrast:[{contrast:[Me,ie,re]}],"drop-shadow":[{"drop-shadow":["","none",f,vS,wS]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",Me,ie,re]}],"hue-rotate":[{"hue-rotate":[Me,ie,re]}],invert:[{invert:["",Me,ie,re]}],saturate:[{saturate:[Me,ie,re]}],sepia:[{sepia:["",Me,ie,re]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,re]}],"backdrop-blur":[{"backdrop-blur":U()}],"backdrop-brightness":[{"backdrop-brightness":[Me,ie,re]}],"backdrop-contrast":[{"backdrop-contrast":[Me,ie,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,ie,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,ie,re]}],"backdrop-invert":[{"backdrop-invert":["",Me,ie,re]}],"backdrop-opacity":[{"backdrop-opacity":[Me,ie,re]}],"backdrop-saturate":[{"backdrop-saturate":[Me,ie,re]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,ie,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",ie,re]}],ease:[{ease:["linear","initial",b,ie,re]}],delay:[{delay:[Me,ie,re]}],animate:[{animate:["none",w,ie,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,ie,re]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:z()}],"rotate-x":[{"rotate-x":z()}],"rotate-y":[{"rotate-y":z()}],"rotate-z":[{"rotate-z":z()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[ie,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie,re]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mbs":[{"scroll-mbs":L()}],"scroll-mbe":[{"scroll-mbe":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pbs":[{"scroll-pbs":L()}],"scroll-pbe":[{"scroll-pbe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie,re]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[Me,Ul,ls,XV]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function he(...t){return Gj(HV(t))}const Xs=a.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(PF),a.mergeProps(a.unref(n),{class:a.unref(he)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),Yj=["aria-busy"],Kj={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},Xj={key:1,class:"flex items-center gap-2.5"},Zj=["id","checked","indeterminate","disabled","required"],Jj={key:0,class:"ml-1 text-red-500 dark:text-red-400","aria-label":"required"},Qj=a.defineComponent({name:"DCodeCheckbox",inheritAttrs:!1,__name:"DCodeCheckbox",props:{modelValue:{type:[Boolean,null]},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.computed(()=>n.label),s=a.computed(()=>n.placeholder),c=a.computed(()=>n.title),d=a.computed(()=>r.visible??!0),h=a.computed(()=>n.required===""||n.required===!0||n.required==="true"),u=Math.random().toString(36).slice(2,7),p=a.computed(()=>`dcode-checkbox-${n.id||i.value||"checkbox"}-${u}`),y=a.ref(!!r.modelValue);a.watch(()=>r.modelValue,k=>{y.value=!!k},{immediate:!0});const f=()=>{if(r.disabled)return;const k=!y.value;y.value=k,o("update:modelValue",k)},m=k=>{(k.key===" "||k.key==="Enter")&&(k.preventDefault(),f())};return(k,g)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["",[a.unref(n).class,{"opacity-60 cursor-not-allowed":t.disabled}]]),"aria-busy":t.skeleton},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",Kj)):a.createCommentVNode("",!0),g[0]||(g[0]=a.createElementVNode("div",{class:"flex items-center gap-2.5"},[a.createElementVNode("div",{class:"h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0"}),a.createElementVNode("div",{class:"h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1))],64)):(a.openBlock(),a.createElementBlock("div",Xj,[a.createElementVNode("label",{class:a.normalizeClass(["flex items-start gap-2.5 group relative",{"cursor-pointer":!t.disabled,"opacity-50 cursor-not-allowed":t.disabled}])},[a.createElementVNode("input",{type:"checkbox",id:p.value,class:"sr-only",checked:y.value,indeterminate:t.indeterminate,disabled:t.disabled,required:h.value,onChange:f,onKeydown:m},null,40,Zj),a.createElementVNode("div",{class:a.normalizeClass(["h-4 w-4 shrink-0 rounded-sm border shadow-sm transition-colors flex items-center justify-center mt-0.5",[y.value||t.indeterminate?"bg-primary border-primary text-primary-foreground":"border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-900",t.disabled?"cursor-not-allowed":"cursor-pointer"]]),"aria-hidden":"true"},[y.value&&!t.indeterminate?(a.openBlock(),a.createBlock(a.unref(ba),{key:0,class:"h-3 w-3 text-white","stroke-width":"3"})):t.indeterminate?(a.openBlock(),a.createBlock(a.unref(xl),{key:1,class:"h-3 w-3 text-white","stroke-width":"3"})):a.createCommentVNode("",!0)],2),s.value||c.value?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(["text-sm leading-relaxed select-none transition-colors",[t.disabled?"text-gray-400 dark:text-gray-500":"text-gray-700 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-gray-100"]])},a.toDisplayString(s.value||c.value),3)):a.createCommentVNode("",!0)],2),i.value?(a.openBlock(),a.createBlock(Xs,{key:0,for:p.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300 select-none cursor-pointer"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",Jj," * ")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0)]))],10,Yj)),[[a.vShow,d.value]])}}),Wl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Gl=Wl(Qj,[["__scopeId","data-v-938d0f92"]]);function eR(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var V_={},P_={},CS={exports:{}},iP;function tR(){if(iP)return CS.exports;iP=1;var t=String,e=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};return CS.exports=e(),CS.exports.createColors=e,CS.exports}var sP;function aR(){return sP||(sP=1,(function(t){var e={};Object.defineProperty(t,"__esModule",{value:!0});function n(h,u){for(var p in u)Object.defineProperty(h,p,{enumerable:!0,get:u[p]})}n(t,{dim:function(){return c},default:function(){return d}});const o=r(tR());function r(h){return h&&h.__esModule?h:{default:h}}let i=new Set;function s(h,u,p){typeof process<"u"&&e.JEST_WORKER_ID||p&&i.has(p)||(p&&i.add(p),console.warn(""),u.forEach(y=>console.warn(h,"-",y)))}function c(h){return o.default.dim(h)}const d={info(h,u){s(o.default.bold(o.default.cyan("info")),...Array.isArray(h)?[h]:[u,h])},warn(h,u){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(h)?[h]:[u,h])},risk(h,u){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(h)?[h]:[u,h])}}})(P_)),P_}var lP;function nR(){return lP||(lP=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});const e=n(aR());function n(i){return i&&i.__esModule?i:{default:i}}function o({version:i,from:s,to:c}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const r={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(V_)),V_}var D_,cP;function oR(){if(cP)return D_;cP=1;let t=nR();return D_=(t.__esModule?t:{default:t}).default,D_}var rR=oR();const iR=eR(rR),dP=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,hP=HV,Yl=(t,e)=>n=>{var o;if((e==null?void 0:e.variants)==null)return hP(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=e,s=Object.keys(r).map(h=>{const u=n==null?void 0:n[h],p=i==null?void 0:i[h];if(u===null)return null;const y=dP(u)||dP(p);return r[h][y]}),c=n&&Object.entries(n).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(m=>{let[k,g]=m;return Array.isArray(g)?g.includes({...i,...c}[k]):{...i,...c}[k]===g})?[...h,p,y]:h},[]);return hP(t,s,d,n==null?void 0:n.class,n==null?void 0:n.className)},Se=a.defineComponent({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:t.as,"as-child":t.asChild,class:a.normalizeClass(a.unref(he)(a.unref(la)({variant:t.variant,size:t.size}),e.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),la=Yl("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-8 w-8","icon-sm":"size-7","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}}),uP=a.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(X$),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),pP=a.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(nj),null,{default:a.withCtx(()=>[a.createVNode(a.unref(tj),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),yP=a.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(G$),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),fP=a.defineComponent({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rj),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),sR={class:"relative z-10"},lR="rounded-lg font-medium transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:scale-[1.02] active:translate-y-0 active:scale-[0.98] shadow-[0_3px_0_0_rgba(0,0,0,0.12),0_12px_22px_-10px_rgba(0,0,0,0.35)] hover:shadow-[0_6px_20px_-4px_rgba(0,0,0,0.3),0_10px_40px_-10px_rgba(0,0,0,0.2)] active:shadow-[0_1px_0_0_rgba(0,0,0,0.2),0_4px_8px_-4px_rgba(0,0,0,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:shadow-none disabled:translate-y-0 disabled:scale-100 relative overflow-hidden before:absolute before:inset-0 before:bg-white/20 before:translate-y-full before:transition-transform before:duration-300 hover:before:translate-y-0",Wt=Wl(a.defineComponent({name:"DCodeButton",inheritAttrs:!1,__name:"DCodeButton",props:{icon:{},text:{default:""},variant:{default:"default"},size:{default:"default"},tooltip:{default:""},bgColor:{default:""},textColor:{default:""},hoverBgColor:{default:""},borderColor:{default:""},disabled:{type:Boolean,default:!1},type:{default:"button"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1}},setup(t){const e=a.useAttrs(),n=t,o=a.computed(()=>n.icon&&La[n.icon]||null),r=a.computed(()=>!!n.tooltip),i=a.computed(()=>n.visible??!0),s=a.computed(()=>{const P=String(n.variant||"default").toLowerCase();return P==="tonal"?"secondary":P==="elevated"?"default":P}),c=a.computed(()=>String(n.bgColor||"").toLowerCase()),d=a.computed(()=>String(n.type||"button").toLowerCase()),h=a.computed(()=>{const{class:P,...D}=e;return D}),u=a.computed(()=>he(e.class)),p=a.computed(()=>((u.value??"").match(/\b(?:w|h|min-w|min-h|max-w|max-h)-[^\s]+\b/g)??[]).join(" ")),y=a.computed(()=>n.size==="sm"?"h-9":n.size==="lg"?"h-11":n.size==="icon"?"h-10 w-10":"h-10"),f=a.computed(()=>n.size==="icon"?"":!n.text&&n.icon?"w-10":"w-28"),m=a.computed(()=>he("inline-flex items-center justify-center rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",y.value,f.value,p.value)),k=a.computed(()=>{const D=(u.value??"").match(/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return D?D[0]:null}),g=a.computed(()=>{const D=(u.value??"").match(/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return D?D[0]:null}),b=a.computed(()=>!!k.value),w=a.computed(()=>/\bborder-/.test(u.value??"")),S=a.computed(()=>/\bhover:/.test(u.value??"")),C=a.computed(()=>{const P=u.value??"";return s.value!=="outline"?P:P.replaceAll(/\bbg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\bhover:bg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\s+/gu," ").trim()}),x=a.ref(null),M=P=>{const D=P.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([0-9.]+))?\)/u);return D?{r:Number(D[1]),g:Number(D[2]),b:Number(D[3]),a:D[4]?Number(D[4]):1}:null},v=(P,D)=>{const G=M(P);if(!G)return P;const ne=te=>Math.max(0,Math.min(255,Math.round(te)));return`rgba(${ne(G.r*(1-D))}, ${ne(G.g*(1-D))}, ${ne(G.b*(1-D))}, ${G.a})`},L=P=>{if(globalThis.window===void 0)return null;const D=document.createElement("div");D.className=P,D.style.position="absolute",D.style.visibility="hidden",D.style.pointerEvents="none",D.style.width="1px",D.style.height="1px",document.body.appendChild(D);const G=globalThis.getComputedStyle(D).backgroundColor;return D.remove(),!G||G==="transparent"||G==="rgba(0, 0, 0, 0)"?null:G},I=[50,100,200,300,400,500,600,700,800,900,950],_=P=>{const D=I.indexOf(P);return D===-1?P:I[Math.min(I.length-1,D+2)]},A=(P,D)=>{const G=iR[P];if(!G)return null;if(typeof G=="string")return G;if(!D)return null;const ne=G[D];return typeof ne=="string"?ne:null},V=(P,D=!1)=>{if(!P)return null;const G=D?/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u:/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u,ne=P.match(G);return ne?{colorName:ne[1],shade:ne[2]?Number.parseInt(ne[2],10):null}:null},q=()=>{const P=k.value;if(!P){x.value=null;return}const D=V(P),G=D==null?void 0:D.colorName,ne=(D==null?void 0:D.shade)??null,te=(G?A(G,ne):null)??L(P);if(!te){x.value=null;return}let ce;const pe=V(g.value,!0),le=pe?A(pe.colorName,pe.shade??null):null;if(le)ce=le;else if(G&&ne){const Le=_(ne);ce=A(G,Le)??v(te,.2)}else ce=v(te,.2);x.value={"--btn-color":te,"--btn-color-hover":ce}};a.onMounted(()=>{q()}),a.watch([k,g],async()=>{await a.nextTick(),q()});const O=a.computed(()=>{const P=/\bdark:bg-/.test(u.value??"");return!b.value||s.value==="outline"||P?"":x.value?"dcode-btn--fill dcode-btn--fill-hover":S.value?"":"hover:brightness-90"}),N=a.computed(()=>{if(!b.value||s.value!=="outline")return"";const P=["dcode-btn--outline","dcode-btn--outline-hover"];return w.value||P.push("border"),!x.value&&!S.value&&P.push("hover:brightness-90"),P.join(" ")}),T=a.computed(()=>x.value??void 0),H={primary:{bg:"bg-blue-600",text:"text-white",hover:"hover:bg-blue-700",border:"border-blue-600"},success:{bg:"bg-green-600",text:"text-white",hover:"hover:bg-green-700",border:"border-green-600"},warning:{bg:"bg-yellow-500",text:"text-white",hover:"hover:bg-yellow-600",border:"border-yellow-500"},danger:{bg:"bg-red-600",text:"text-white",hover:"hover:bg-red-700",border:"border-red-600"},info:{bg:"bg-cyan-600",text:"text-white",hover:"hover:bg-cyan-700",border:"border-cyan-600"},purple:{bg:"bg-purple-600",text:"text-white",hover:"hover:bg-purple-700",border:"border-purple-600"},pink:{bg:"bg-pink-600",text:"text-white",hover:"hover:bg-pink-700",border:"border-pink-600"},"gradient-blue":{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-white",hover:"hover:from-blue-600 hover:to-cyan-600"},"gradient-purple":{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-white",hover:"hover:from-purple-600 hover:to-pink-600"},"gradient-sunset":{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-white",hover:"hover:from-orange-600 hover:to-red-600"},"gradient-emerald":{bg:"bg-gradient-to-r from-emerald-500 to-teal-500",text:"text-white",hover:"hover:from-emerald-600 hover:to-teal-600"}},j=a.computed(()=>{const P=[],D=c.value?H[c.value]:null;return D?(P.push(D.bg,D.text,D.hover),D.border&&s.value==="outline"&&P.push(D.border)):(c.value&&P.push(c.value),n.textColor&&P.push(n.textColor),n.hoverBgColor&&P.push(n.hoverBgColor),n.borderColor&&P.push(n.borderColor)),P.join(" ")}),Z=a.computed(()=>he(lR,C.value,O.value,N.value,j.value));return(P,D)=>i.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.skeleton?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(m.value),"aria-hidden":"true"},null,2)):(a.openBlock(),a.createBlock(a.unref(yP),{key:1,"delay-duration":0},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createBlock(a.unref(uP),{key:0},{default:a.withCtx(()=>[a.createVNode(a.unref(fP),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Se),a.mergeProps({variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Z.value,style:T.value},h.value),{default:a.withCtx(()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)]),_:1},16,["variant","size","disabled","type","class","style"])]),_:1}),a.createVNode(a.unref(pP),{side:"top","side-offset":8,class:"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0"},{default:a.withCtx(()=>[a.createElementVNode("span",sR,a.toDisplayString(n.tooltip),1)]),_:1})]),_:1})):(a.openBlock(),a.createBlock(a.unref(Se),a.mergeProps({key:1,variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Z.value,style:T.value},h.value),{default:a.withCtx(()=>[a.renderSlot(P.$slots,"default",{},()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)],!0)]),_:3},16,["variant","size","disabled","type","class","style"]))]),_:3}))],64)):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-9a451047"]]),mP=a.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(WA),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),kP=a.defineComponent({inheritAttrs:!1,__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(oV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(nV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(tV),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(GA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:a.withCtx(()=>[a.createVNode(a.unref(Mt),{class:"w-4 h-4"}),c[0]||(c[0]=a.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),cR=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(aV),a.mergeProps(a.unref(o),{class:a.unref(he)("text-sm text-muted-foreground",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),dR=a.defineComponent({__name:"DialogHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col gap-y-1.5 text-center sm:text-left",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),hR=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(rV),a.mergeProps(a.unref(o),{class:a.unref(he)("text-lg font-medium leading-none tracking-tight",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),uR={key:0,class:"flex items-center justify-between mb-4"},pR={class:"flex flex-col gap-1"},yR={key:0,class:"text-lg font-semibold text-neutral-900 dark:text-neutral-50 leading-tight"},fR={key:1,class:"text-sm text-neutral-500 dark:text-neutral-400"},mR={key:0,class:"flex items-center gap-2"},kR={class:"relative z-10"},gR={key:1,class:"mt-6 pt-6 border-t border-neutral-200 dark:border-neutral-800"},bR={name:"DCodeCard"},q_=a.defineComponent({...bR,props:{level:{default:1},title:{},subtitle:{},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!0},padding:{default:"p-6"}},setup(t){const e=t,n=a.computed(()=>{switch(e.level){case 2:return"bg-neutral-50 dark:bg-neutral-800";case 3:return"bg-neutral-100 dark:bg-neutral-700";case 1:default:return"bg-white dark:bg-neutral-900"}});return(o,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["transition-shadow duration-300 dcode-card",[n.value,t.padding,{"shadow-md":t.shadow},{"border-transparent":!t.border},{"border-neutral-200 dark:border-neutral-800":t.border&&t.level===1},{"border-neutral-300 dark:border-neutral-700":t.border&&t.level!==1}]])},[t.title||o.$slots.header||o.$slots.actions?(a.openBlock(),a.createElementBlock("div",uR,[a.createElementVNode("div",pR,[a.renderSlot(o.$slots,"header",{},()=>[t.title?(a.openBlock(),a.createElementBlock("h3",yR,a.toDisplayString(t.title),1)):a.createCommentVNode("",!0),t.subtitle?(a.openBlock(),a.createElementBlock("p",fR,a.toDisplayString(t.subtitle),1)):a.createCommentVNode("",!0)])]),o.$slots.actions?(a.openBlock(),a.createElementBlock("div",mR,[a.renderSlot(o.$slots,"actions")])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",kR,[a.renderSlot(o.$slots,"default")]),o.$slots.footer?(a.openBlock(),a.createElementBlock("div",gR,[a.renderSlot(o.$slots,"footer")])):a.createCommentVNode("",!0)],2))}}),MR={class:"flex items-center gap-3"},xR={class:"flex justify-end gap-3"},LS=a.defineComponent({name:"DCodeDialog",inheritAttrs:!1,__name:"DCodeDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:""},icon:{default:""},maxWidth:{default:500},persistent:{type:Boolean,default:!0},contentClass:{default:"p-5"},contentStyle:{default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,r=a.useAttrs(),i=a.computed(()=>{const{style:h,...u}=r;return u}),s=a.computed(()=>({maxWidth:typeof n.maxWidth=="number"?`${n.maxWidth}px`:n.maxWidth,width:"100%"})),c=a.computed(()=>n.icon?La[n.icon]??null:null),d=h=>{if(!h&&n.persistent){o("update:modelValue",!0);return}o("update:modelValue",h)};return(h,u)=>(a.openBlock(),a.createBlock(a.unref(mP),{open:t.modelValue,"onUpdate:open":d},{default:a.withCtx(()=>[a.createVNode(a.unref(kP),a.mergeProps(i.value,{style:s.value,class:"p-0 overflow-hidden rounded-xl",onInteractOutside:u[0]||(u[0]=p=>t.persistent?p.preventDefault():null),onEscapeKeyDown:u[1]||(u[1]=p=>t.persistent?p.preventDefault():null)}),{default:a.withCtx(()=>[a.createVNode(q_,{padding:t.contentClass,border:"",shadow:"",class:"w-full !rounded-xl !border-0",level:1},a.createSlots({header:a.withCtx(()=>[a.createElementVNode("div",MR,[c.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),{key:0,class:"h-5 w-5"})):a.createCommentVNode("",!0),a.createVNode(a.unref(hR),{class:"text-base font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),a.createVNode(a.unref(cR),{class:"hidden"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title||"Dialog Content"),1)]),_:1})])]),actions:a.withCtx(()=>[a.renderSlot(h.$slots,"header-append")]),default:a.withCtx(()=>[a.createElementVNode("div",{style:a.normalizeStyle(t.contentStyle)},[a.renderSlot(h.$slots,"default")],4)]),_:2},[h.$slots.actions?{name:"footer",fn:a.withCtx(()=>[a.createElementVNode("div",xR,[a.renderSlot(h.$slots,"actions")])]),key:"0"}:void 0]),1032,["padding"])]),_:3},16,["style"])]),_:3},8,["open"]))}}),wR=(t,e="short",n="id-ID")=>{const o=typeof t=="string"?new Date(t):t,r=d=>String(d).padStart(2,"0"),i=d=>`${r(d.getHours())}:${r(d.getMinutes())}:${r(d.getSeconds())}`,c={id:"id-ID",en:"en-GB"}[n]||n;return e==="time"?i(o):e==="datetime"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(o):e==="long"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(o):new Intl.DateTimeFormat(c,{day:"2-digit",month:"short",year:"numeric"}).format(o)},Oa=a.defineComponent({__name:"Badge",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)(a.unref(vR)({variant:t.variant}),e.class))},[a.renderSlot(n.$slots,"default")],2))}}),vR=Yl("inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),CR=a.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(WA),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),LR=a.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{type:[Boolean,null,String,Object,Array]},side:{},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class","side"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(oV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(nV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(tV),a.mergeProps({class:a.unref(he)(a.unref(VR)({side:t.side}),n.class)},{...a.unref(i),...s.$attrs}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(GA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:a.withCtx(()=>[a.createVNode(a.unref(Mt),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),SR=a.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(aV),a.mergeProps({class:a.unref(he)("text-sm text-muted-foreground",e.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),IR=a.defineComponent({__name:"SheetFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),_R=a.defineComponent({__name:"SheetHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col gap-y-2 text-center sm:text-left",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),BR=a.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(rV),a.mergeProps({class:a.unref(he)("text-lg font-medium text-foreground",e.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),AR=a.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(xO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),VR=Yl("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),PR={class:"flex-1 overflow-hidden"},DR=a.defineComponent({__name:"DataFilterSheet",props:{title:{default:"Filter Data"},description:{default:"Masukan parameter pencarian untuk memfilter data."}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.unref(CR),null,{default:a.withCtx(()=>[a.createVNode(a.unref(AR),{"as-child":""},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"trigger",{},()=>[a.createVNode(a.unref(Se),{variant:"outline",class:"gap-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(Sr),{class:"w-4 h-4"}),n[0]||(n[0]=a.createElementVNode("span",null,"Pencarian",-1))]),_:1})])]),_:3}),a.createVNode(a.unref(LR),{class:"flex flex-col h-full"},{default:a.withCtx(()=>[a.createVNode(a.unref(_R),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.createVNode(a.unref(BR),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),a.createVNode(a.unref(SR),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.description),1)]),_:1})]),_:1}),a.createElementVNode("div",PR,[a.renderSlot(e.$slots,"default")]),a.createVNode(a.unref(IR),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"footer")]),_:3})]),_:3})]),_:3}))}});async function gP(t,e,n){if(!t||!t.trim())throw new Error("[DynamicUI][useApi] URL tidak boleh kosong. Pastikan prop `endpoint.apiUrl` sudah diisi dengan benar.");const o=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],r=(e||"").trim().toUpperCase(),i=o.includes(r)?r:"GET";o.includes(r)||console.warn(`[DynamicUI][useApi] HTTP method '${e}' tidak valid, fallback ke 'GET'.`);const s=Pz(),c=t.startsWith("http")?t:`${s}${t}`,d={method:i,headers:Dz()};n&&!["GET","DELETE"].includes(i)&&(d.body=JSON.stringify(n));let h=c;if(n&&i==="GET"){const y=new URLSearchParams;Object.entries(n).forEach(([m,k])=>{k!=null&&y.append(m,String(k))});const f=y.toString();f&&(h=`${c}${c.includes("?")?"&":"?"}${f}`)}const u=await fetch(h,d);if(u.status===401&&qz(),!u.ok){const y=await u.text();throw new Error(`HTTP ${u.status}: ${y}`)}return(u.headers.get("content-type")||"").includes("application/json")?u.json():{status:!0,data:await u.text()}}function nt(){return{apiUrl:(n,o,r)=>gP(n,o,r),DCodeApi:(n,o,r,i)=>{let s=n,c=o,d=r;return i&&i._url?(s=i._url,c=i._method||c||"POST",i._data&&(d={...d||{},...i._data})):n&&o&&(["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"].includes(o.toUpperCase())||(s=`${n.endsWith("/")?n.slice(0,-1):n}/${o}`,c="POST")),gP(s,c,d)}}}const qR=["aria-busy"],zR={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},ER=["for"],TR={key:0,class:"ml-1 text-destructive"},OR={class:"relative"},HR={key:0,class:"flex items-center text-gray-500 gap-2"},FR=["id","placeholder","disabled","readonly","value"],$R={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},jR=["disabled"],RR={class:"overflow-y-auto overflow-x-hidden",style:{"max-height":"350px"}},NR=["onMouseenter","onClick"],UR={key:0},WR={class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},GR={key:0},YR={key:1},KR={key:2},XR={key:1,class:"mt-1 text-xs text-red-600"},z_=a.defineComponent({name:"DCodeAutoComplete",inheritAttrs:!1,__name:"DCodeAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{default:()=>({})},fetchItems:{},icon:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,r=a.useAttrs(),i=a.computed(()=>r.label??void 0),s=$=>{const J=r[$];return J===""||J===!0||J==="true"||J===1||J==="1"},c=a.ref(!1),d=a.computed(()=>n.itemTitle||r["item-title"]||r.itemTitle||"name"),h=a.computed(()=>n.itemValue||r["item-value"]||r.itemValue||"id"),u=a.computed(()=>n.disabled),p=a.computed(()=>s("required")),y=a.computed(()=>s("readonly")),f=a.computed(()=>n.returnObject||s("return-object")||s("returnObject")),m=a.computed(()=>p.value||s("aria-required")),k=a.computed(()=>n.error||n.errorMessage||r["error-message"]),g=a.computed(()=>r.placeholder??""),b=a.computed(()=>{const $=r.minChars??r["min-chars"];if($==null||$==="")return 0;const J=typeof $=="number"?$:Number.parseInt(String($),10);return Number.isFinite(J)&&J>0?J:0}),w=a.computed(()=>{const $=r.rules;return Array.isArray($)?$:[]}),S=a.computed(()=>{const $=r.id||r.label;return $?`app-autocomplete-${$}-${Math.random().toString(36).slice(2,7)}`:void 0}),C=a.ref(n.modelValue),x=a.ref([]),M=a.ref(!1),v=a.ref(!1),L=a.computed(()=>r.items),I=a.computed(()=>{const $=O.value;return $.apiModule&&$.apiAction||$.apiUrl||n.fetchItems?x.value:L.value??[]}),_=a.computed(()=>!!r.loading),A=a.computed(()=>_.value||M.value),V=a.computed(()=>{const{label:$,items:J,loading:de,rules:Ve,"item-title":Oe,"item-value":Y,itemTitle:Q,itemValue:ae,minChars:me,"min-chars":He,clearable:It,required:uz,"aria-required":Xe,disabled:pz,readonly:uI,visible:yz,"return-object":pI,returnObject:fz,class:zB,"fetch-items":mz,fetchItems:kz,error:EB,errorMessage:gz,"error-message":bz,...yI}=r||{};return yI}),q=()=>{if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions},O=a.computed(()=>{const $=n.endpoint||{};return{apiModule:n.apiModule||$.apiModule,apiAction:n.apiAction||$.apiAction,apiUrl:$.apiUrl,apiMethod:$.apiMethod||"GET"}}),N=a.ref(null),T=a.ref(null),H=a.ref(null),{floatingStyles:j}=gS(T,H,{placement:"bottom-start",whileElementsMounted:yS,middleware:[fS(4),jl(),mS(),kS({apply({rects:$,elements:J,availableHeight:de}){Object.assign(J.floating.style,{width:`${$.reference.width}px`,maxHeight:`${de}px`})}})]}),Z=a.ref(!1),P=a.ref(""),D=a.ref(-1),G=a.ref(null),ne=a.computed(()=>!b.value||(P.value||"").trim().length>=b.value?"":`Ketik minimal ${b.value} karakter`),te=$=>{if($==null)return"";if(typeof $=="string"||typeof $=="number")return String($);const J=d.value;return typeof J=="function"?J($):($==null?void 0:$[J])??($==null?void 0:$.name)??($==null?void 0:$.nama)??($==null?void 0:$.label)??($==null?void 0:$.title)??"-"},ce=$=>{if($==null)return null;if(typeof $=="string"||typeof $=="number")return $;const J=h.value;return typeof J=="function"?J($):($==null?void 0:$[J])??($==null?void 0:$.id)??($==null?void 0:$.value)??($==null?void 0:$.code)??null},pe=a.computed(()=>{const $=C.value;if($==null||$==="")return"";if(Array.isArray($))return $.length?$.map(Ve=>{if(f.value&&typeof Ve=="object"||typeof Ve=="object")return te(Ve);const Oe=I.value.find(Y=>ce(Y)==Ve);return Oe?te(Oe):String(Ve)}).join(", "):"";if(typeof $=="object")return te($);const J=I.value.find(de=>ce(de)==$);return J?te(J):String($)}),le=a.computed(()=>{const $=I.value||[],J=(P.value||"").trim().toLowerCase(),de=(pe.value||"").toLowerCase(),Ve=!J||J===de;let Oe=$;if(Ve||(Oe=$.filter(Y=>te(Y).toLowerCase().includes(J))),Oe.length>0){const Y=Q=>{const ae=ce(Q);return Array.isArray(C.value)?C.value.some(me=>me==ae):C.value==ae};Oe=[...Oe].sort((Q,ae)=>{const me=Y(Q),He=Y(ae);return me&&!He?-1:!me&&He?1:0})}return Oe}),Le=$=>Array.isArray($)?$.length===0:$==null||$==="",ue=$=>{if(G.value=null,p.value&&Le($)&&!w.value.length)return G.value="This field is required",!1;for(const J of w.value){const de=J($);if(de===!1)return G.value="Invalid value",!1;if(typeof de=="string")return G.value=de,!1}return!0},U=async()=>{if(u.value||y.value)return;Z.value=!0,D.value=le.value.length?0:-1,P.value=pe.value||"";const $=O.value,J=$.apiModule&&$.apiAction||$.apiUrl||n.fetchItems;n.autoFetchOnOpen&&J&&!v.value&&(await Qe(),D.value=le.value.length?0:-1)},z=()=>{Z.value=!1,D.value=-1,P.value=pe.value||""},W=$=>{const J=f.value?$:ce($);let de=J;Array.isArray(C.value)&&(de=[J]),C.value=de,o("update:modelValue",de),G.value=null,ue(de),P.value=te($),z()},ee=()=>{x.value=[],v.value=!1,C.value=Array.isArray(C.value)?[]:null,o("update:modelValue",C.value),P.value="",G.value=null},fe=()=>{c.value=!0,ee(),z(),setTimeout(()=>{c.value=!1},0)},Te=$=>{if(u.value||y.value)return;const J=$.target.value;P.value=J,G.value&&(G.value=null),Z.value||(Z.value=!0),D.value=le.value.length?0:-1;const de=O.value.apiModule&&O.value.apiAction||O.value.apiUrl||n.fetchItems;n.autoFetchOnOpen&&de&&!A.value&&!v.value&&Qe()},xe=$=>{var de;if(u.value||y.value)return;const J={ArrowDown:()=>{if($.preventDefault(),!Z.value){U();return}le.value.length&&(D.value=Math.min(D.value+1,le.value.length-1))},ArrowUp:()=>{!Z.value||!le.value.length||($.preventDefault(),D.value=Math.max(D.value-1,0))},Enter:()=>{if(!Z.value)return;$.preventDefault();const Ve=le.value[D.value];Ve&&W(Ve)},Escape:()=>{$.preventDefault(),z()},Tab:()=>{z()}};(de=J[$.key])==null||de.call(J)},Qe=async()=>{const $=O.value;if($.apiModule&&$.apiAction||$.apiUrl||n.fetchItems){M.value=!0;try{let de;if(n.fetchItems){const Ve=q()||{},Oe={page:1,perPage:100,search:(P.value||"").trim(),...Ve,...n.apiParams},Y=await n.fetchItems(Oe),Q=(Y==null?void 0:Y.data)??Y;de=(Q==null?void 0:Q.data)??Q}else{const Oe=nt().DCodeApi;if(typeof Oe!="function"){console.error("[DCodeAutoComplete] useApi() must expose DCodeApi()");return}const Q={page:1,perPage:100,...q()||{},...n.apiParams};let ae;$.apiUrl?ae=await Oe("","",Q,{_url:$.apiUrl,_method:$.apiMethod||"POST"}):ae=await Oe($.apiModule,$.apiAction,Q);const me=(ae==null?void 0:ae.data)??ae;de=(me==null?void 0:me.data)??me}x.value=Array.isArray(de)?de:[],v.value=!0}catch(de){console.error("[DCodeAutoComplete][fetchOptions] ERROR:",de),G.value=`[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(de==null?void 0:de.message)||(de==null?void 0:de.toString())||"Failed to load options"}`,x.value=[],v.value=!0}finally{M.value=!1}}},it=$=>{const J=ce($);return f.value?C.value?Array.isArray(C.value)?C.value.some(de=>ce(de)==J):ce(C.value)==J:!1:Array.isArray(C.value)?C.value.some(de=>de==J):C.value==J};a.watch(()=>[q(),O.value,n.apiParams],([$,J,de],[Ve,Oe,Y])=>{const Q=O.value;if(!(Q.apiModule&&Q.apiAction||Q.apiUrl||n.fetchItems)){ee();return}const me=JSON.stringify($??null)===JSON.stringify(Ve??null),He=JSON.stringify(de??null)===JSON.stringify(Y??null);me&&He||(ee(),He||Qe())},{deep:!0}),a.watch(()=>n.modelValue,($,J)=>{C.value=$,!c.value&&($==null||$==="")&&J!=null&&n.apiModule&&n.apiAction&&(x.value=[],v.value=!1),P.value=pe.value||""},{immediate:!0});const St=O.value;(St.apiModule&&St.apiAction||St.apiUrl||n.fetchItems)&&(n.autoFetchOnMount||!Le(n.modelValue))&&Qe();const ht=$=>{const J=N.value,de=H.value,Ve=$.target;J&&J.contains(Ve)||de&&de.contains(Ve)||Z.value&&z()},ka=a.computed(()=>{const $=n.modelValue;return $==null?!1:typeof $=="string"?$.trim().length>0:Array.isArray($)?$.length>0:typeof $=="object"?Object.keys($).length>0:!0}),x1=a.computed(()=>!!n.clearable&&ka.value&&!n.disabled);return a.onMounted(()=>{document.addEventListener("mousedown",ht)}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",ht)}),($,J)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:N,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":t.skeleton},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",zR)):a.createCommentVNode("",!0),J[6]||(J[6]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createElementBlock("label",{key:0,for:S.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(i.value)+" ",1),m.value?(a.openBlock(),a.createElementBlock("span",TR,"*")):a.createCommentVNode("",!0)],8,ER)):a.createCommentVNode("",!0),a.createElementVNode("div",OR,[a.createElementVNode("div",{ref_key:"reference",ref:T,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[u.value||y.value?"opacity-60 cursor-not-allowed":"",G.value||k.value?"border-red-500 focus-within:ring-red-500":""]])},[n.icon||$.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",HR,[a.renderSlot($.$slots,"prepend-inner",{},()=>[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps(V.value,{id:S.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",u.value||y.value?"cursor-not-allowed":"cursor-text"],placeholder:g.value,disabled:u.value,readonly:y.value,value:Z.value?P.value:pe.value||P.value,onFocus:J[0]||(J[0]=()=>{Z.value||U()}),onClick:J[1]||(J[1]=()=>{Z.value||U()}),onInput:Te,onKeydown:xe,onBlur:J[2]||(J[2]=()=>ue(C.value))}),null,16,FR),A.value?(a.openBlock(),a.createElementBlock("svg",$R,[...J[7]||(J[7]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):x1.value?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:J[3]||(J[3]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(fe,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:u.value||y.value,onClick:J[4]||(J[4]=de=>Z.value?z():U()),"aria-label":"Toggle"},[a.createVNode(a.unref(Bt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":Z.value}])},null,8,["class"])],8,jR))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[Z.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:H,style:a.normalizeStyle(a.unref(j)),class:"z-[50] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",RR,[le.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(le.value,(de,Ve)=>(a.openBlock(),a.createElementBlock("button",{key:ce(de)??Ve,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",Ve===D.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:Oe=>D.value=Ve,onMousedown:J[5]||(J[5]=a.withModifiers(()=>{},["prevent"])),onClick:Oe=>W(de)},[a.createTextVNode(a.toDisplayString(te(de))+" ",1),it(de)?(a.openBlock(),a.createElementBlock("span",UR," ✓ ")):a.createCommentVNode("",!0)],42,NR))),128)):a.renderSlot($.$slots,"no-data",{key:1},()=>[a.createElementVNode("div",WR,[A.value?(a.openBlock(),a.createElementBlock("span",GR,"Loading data…")):ne.value?(a.openBlock(),a.createElementBlock("span",YR,a.toDisplayString(ne.value),1)):(a.openBlock(),a.createElementBlock("span",KR,"No data available"))])])])],4)):a.createCommentVNode("",!0)]))]),G.value||k.value?(a.openBlock(),a.createElementBlock("p",XR,a.toDisplayString(G.value||k.value),1)):a.createCommentVNode("",!0)],64))],10,qR)),[[a.vShow,t.visible]])}}),bP=6048e5,ZR=864e5,MP=Symbol.for("constructDateFrom");function Ha(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&MP in t?t[MP](e):t instanceof Date?new t.constructor(e):new Date(e)}function Lt(t,e){return Ha(e||t,t)}let JR={};function SS(){return JR}function Kl(t,e){var c,d,h,u;const n=SS(),o=(e==null?void 0:e.weekStartsOn)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.weekStartsOn)??0,r=Lt(t,e==null?void 0:e.in),i=r.getDay(),s=(i<o?7:0)+i-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function IS(t,e){return Kl(t,{...e,weekStartsOn:1})}function xP(t,e){const n=Lt(t,e==null?void 0:e.in),o=n.getFullYear(),r=Ha(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const i=IS(r),s=Ha(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const c=IS(s);return n.getTime()>=i.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function wP(t){const e=Lt(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function QR(t,...e){const n=Ha.bind(null,e.find(o=>typeof o=="object"));return e.map(n)}function vP(t,e){const n=Lt(t,e==null?void 0:e.in);return n.setHours(0,0,0,0),n}function eN(t,e,n){const[o,r]=QR(n==null?void 0:n.in,t,e),i=vP(o),s=vP(r),c=+i-wP(i),d=+s-wP(s);return Math.round((c-d)/ZR)}function tN(t,e){const n=xP(t,e),o=Ha(t,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),IS(o)}function aN(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function nN(t){return!(!aN(t)&&typeof t!="number"||isNaN(+Lt(t)))}function oN(t,e){const n=Lt(t,e==null?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const rN={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},iN=(t,e,n)=>{let o;const r=rN[t];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function Zs(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const sN={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},lN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},cN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},dN={date:Zs({formats:sN,defaultWidth:"full"}),time:Zs({formats:lN,defaultWidth:"full"}),dateTime:Zs({formats:cN,defaultWidth:"full"})},hN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},uN=(t,e,n,o)=>hN[t];function Gt(t){return(e,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,c=n!=null&&n.width?String(n.width):s;r=t.formattingValues[c]||t.formattingValues[s]}else{const s=t.defaultWidth,c=n!=null&&n.width?String(n.width):t.defaultWidth;r=t.values[c]||t.values[s]}const i=t.argumentCallback?t.argumentCallback(e):e;return r[i]}}const pN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},yN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},fN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},mN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},kN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},gN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},bN={ordinalNumber:(t,e)=>{const n=Number(t),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Gt({values:pN,defaultWidth:"wide"}),quarter:Gt({values:yN,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Gt({values:fN,defaultWidth:"wide"}),day:Gt({values:mN,defaultWidth:"wide"}),dayPeriod:Gt({values:kN,defaultWidth:"wide",formattingValues:gN,defaultFormattingWidth:"wide"})};function Yt(t){return(e,n={})=>{const o=n.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],i=e.match(r);if(!i)return null;const s=i[0],c=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(c)?xN(c,p=>p.test(s)):MN(c,p=>p.test(s));let h;h=t.valueCallback?t.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const u=e.slice(s.length);return{value:h,rest:u}}}function MN(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function xN(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function CP(t){return(e,n={})=>{const o=e.match(t.matchPattern);if(!o)return null;const r=o[0],i=e.match(t.parsePattern);if(!i)return null;let s=t.valueCallback?t.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const c=e.slice(r.length);return{value:s,rest:c}}}const wN=/^(\d+)(th|st|nd|rd)?/i,vN=/\d+/i,CN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},LN={any:[/^b/i,/^(a|c)/i]},SN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},IN={any:[/1/i,/2/i,/3/i,/4/i]},_N={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},BN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},AN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},VN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},PN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},DN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},qN={ordinalNumber:CP({matchPattern:wN,parsePattern:vN,valueCallback:t=>parseInt(t,10)}),era:Yt({matchPatterns:CN,defaultMatchWidth:"wide",parsePatterns:LN,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:SN,defaultMatchWidth:"wide",parsePatterns:IN,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Yt({matchPatterns:_N,defaultMatchWidth:"wide",parsePatterns:BN,defaultParseWidth:"any"}),day:Yt({matchPatterns:AN,defaultMatchWidth:"wide",parsePatterns:VN,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:PN,defaultMatchWidth:"any",parsePatterns:DN,defaultParseWidth:"any"})},LP={code:"en-US",formatDistance:iN,formatLong:dN,formatRelative:uN,localize:bN,match:qN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function zN(t,e){const n=Lt(t,e==null?void 0:e.in);return eN(n,oN(n))+1}function EN(t,e){const n=Lt(t,e==null?void 0:e.in),o=+IS(n)-+tN(n);return Math.round(o/bP)+1}function SP(t,e){var u,p,y,f;const n=Lt(t,e==null?void 0:e.in),o=n.getFullYear(),r=SS(),i=(e==null?void 0:e.firstWeekContainsDate)??((p=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(y=r.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??1,s=Ha((e==null?void 0:e.in)||t,0);s.setFullYear(o+1,0,i),s.setHours(0,0,0,0);const c=Kl(s,e),d=Ha((e==null?void 0:e.in)||t,0);d.setFullYear(o,0,i),d.setHours(0,0,0,0);const h=Kl(d,e);return+n>=+c?o+1:+n>=+h?o:o-1}function TN(t,e){var c,d,h,u;const n=SS(),o=(e==null?void 0:e.firstWeekContainsDate)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,r=SP(t,e),i=Ha((e==null?void 0:e.in)||t,0);return i.setFullYear(r,0,o),i.setHours(0,0,0,0),Kl(i,e)}function ON(t,e){const n=Lt(t,e==null?void 0:e.in),o=+Kl(n,e)-+TN(n,e);return Math.round(o/bP)+1}function _e(t,e){const n=t<0?"-":"",o=Math.abs(t).toString().padStart(e,"0");return n+o}const Fa={y(t,e){const n=t.getFullYear(),o=n>0?n:1-n;return _e(e==="yy"?o%100:o,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):_e(n+1,2)},d(t,e){return _e(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return _e(t.getHours()%12||12,e.length)},H(t,e){return _e(t.getHours(),e.length)},m(t,e){return _e(t.getMinutes(),e.length)},s(t,e){return _e(t.getSeconds(),e.length)},S(t,e){const n=e.length,o=t.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return _e(r,e.length)}},Js={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},IP={G:function(t,e,n){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const o=t.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Fa.y(t,e)},Y:function(t,e,n,o){const r=SP(t,o),i=r>0?r:1-r;if(e==="YY"){const s=i%100;return _e(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):_e(i,e.length)},R:function(t,e){const n=xP(t);return _e(n,e.length)},u:function(t,e){const n=t.getFullYear();return _e(n,e.length)},Q:function(t,e,n){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return _e(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,n){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return _e(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,n){const o=t.getMonth();switch(e){case"M":case"MM":return Fa.M(t,e);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,n){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return _e(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,n,o){const r=ON(t,o);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):_e(r,e.length)},I:function(t,e,n){const o=EN(t);return e==="Io"?n.ordinalNumber(o,{unit:"week"}):_e(o,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Fa.d(t,e)},D:function(t,e,n){const o=zN(t);return e==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):_e(o,e.length)},E:function(t,e,n){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,n,o){const r=t.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return _e(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,o){const r=t.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return _e(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){const o=t.getDay(),r=o===0?7:o;switch(e){case"i":return String(r);case"ii":return _e(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,n){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const o=t.getHours();let r;switch(o===12?r=Js.noon:o===0?r=Js.midnight:r=o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){const o=t.getHours();let r;switch(o>=17?r=Js.evening:o>=12?r=Js.afternoon:o>=4?r=Js.morning:r=Js.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let o=t.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Fa.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Fa.H(t,e)},K:function(t,e,n){const o=t.getHours()%12;return e==="Ko"?n.ordinalNumber(o,{unit:"hour"}):_e(o,e.length)},k:function(t,e,n){let o=t.getHours();return o===0&&(o=24),e==="ko"?n.ordinalNumber(o,{unit:"hour"}):_e(o,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Fa.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Fa.s(t,e)},S:function(t,e){return Fa.S(t,e)},X:function(t,e,n){const o=t.getTimezoneOffset();if(o===0)return"Z";switch(e){case"X":return BP(o);case"XXXX":case"XX":return ds(o);case"XXXXX":case"XXX":default:return ds(o,":")}},x:function(t,e,n){const o=t.getTimezoneOffset();switch(e){case"x":return BP(o);case"xxxx":case"xx":return ds(o);case"xxxxx":case"xxx":default:return ds(o,":")}},O:function(t,e,n){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+_P(o,":");case"OOOO":default:return"GMT"+ds(o,":")}},z:function(t,e,n){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+_P(o,":");case"zzzz":default:return"GMT"+ds(o,":")}},t:function(t,e,n){const o=Math.trunc(+t/1e3);return _e(o,e.length)},T:function(t,e,n){return _e(+t,e.length)}};function _P(t,e=""){const n=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),i=o%60;return i===0?n+String(r):n+String(r)+e+_e(i,2)}function BP(t,e){return t%60===0?(t>0?"-":"+")+_e(Math.abs(t)/60,2):ds(t,e)}function ds(t,e=""){const n=t>0?"-":"+",o=Math.abs(t),r=_e(Math.trunc(o/60),2),i=_e(o%60,2);return n+r+e+i}const AP=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},VP=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},HN={p:VP,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return AP(t,e);let i;switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",AP(o,e)).replace("{{time}}",VP(r,e))}},FN=/^D+$/,$N=/^Y+$/,jN=["D","DD","YY","YYYY"];function RN(t){return FN.test(t)}function NN(t){return $N.test(t)}function UN(t,e,n){const o=WN(t,e,n);if(console.warn(o),jN.includes(t))throw new RangeError(o)}function WN(t,e,n){const o=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const GN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,YN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,KN=/^'([^]*?)'?$/,XN=/''/g,ZN=/[a-zA-Z]/;function PP(t,e,n){var u,p,y,f;const o=SS(),r=o.locale??LP,i=o.firstWeekContainsDate??((p=(u=o.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,s=o.weekStartsOn??((f=(y=o.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??0,c=Lt(t,n==null?void 0:n.in);if(!nN(c))throw new RangeError("Invalid time value");let d=e.match(YN).map(m=>{const k=m[0];if(k==="p"||k==="P"){const g=HN[k];return g(m,r.formatLong)}return m}).join("").match(GN).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const k=m[0];if(k==="'")return{isToken:!1,value:JN(m)};if(IP[k])return{isToken:!0,value:m};if(k.match(ZN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:m}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const h={firstWeekContainsDate:i,weekStartsOn:s,locale:r};return d.map(m=>{if(!m.isToken)return m.value;const k=m.value;(NN(k)||RN(k))&&UN(k,e,String(t));const g=IP[k[0]];return g(c,k,r.localize,h)}).join("")}function JN(t){const e=t.match(KN);return e?e[1].replace(XN,"'"):t}const QN={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},eU=(t,e,n)=>{let o;const r=QN[t];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},tU={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},aU={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},nU={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},oU={date:Zs({formats:tU,defaultWidth:"full"}),time:Zs({formats:aU,defaultWidth:"full"}),dateTime:Zs({formats:nU,defaultWidth:"full"})},rU={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},iU=(t,e,n,o)=>rU[t],sU={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},lU={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},cU={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},dU={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},hU={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},uU={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},pU={ordinalNumber:(t,e)=>"ke-"+Number(t),era:Gt({values:sU,defaultWidth:"wide"}),quarter:Gt({values:lU,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Gt({values:cU,defaultWidth:"wide"}),day:Gt({values:dU,defaultWidth:"wide"}),dayPeriod:Gt({values:hU,defaultWidth:"wide",formattingValues:uU,defaultFormattingWidth:"wide"})},yU=/^ke-(\d+)?/i,fU=/\d+/i,mU={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},kU={any:[/^s/i,/^(m|e)/i]},gU={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},bU={any:[/1/i,/2/i,/3/i,/4/i]},MU={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},xU={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},wU={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},vU={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},CU={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},LU={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},SU={ordinalNumber:CP({matchPattern:yU,parsePattern:fU,valueCallback:t=>parseInt(t,10)}),era:Yt({matchPatterns:mU,defaultMatchWidth:"wide",parsePatterns:kU,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:gU,defaultMatchWidth:"wide",parsePatterns:bU,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Yt({matchPatterns:MU,defaultMatchWidth:"wide",parsePatterns:xU,defaultParseWidth:"any"}),day:Yt({matchPatterns:wU,defaultMatchWidth:"wide",parsePatterns:vU,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:CU,defaultMatchWidth:"any",parsePatterns:LU,defaultParseWidth:"any"})},IU={code:"id",formatDistance:eU,formatLong:oU,formatRelative:iU,localize:pU,match:SU,options:{weekStartsOn:1,firstWeekContainsDate:1}},DP={primary:{light:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"#bfdbfe"},dark:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"rgba(30, 58, 138, 0.3)"}},emerald:{light:{primary:"#16a34a",text:"#ffffff",hover:"#dcfce7",border:"#16a34a",range:"#ecfdf5"},dark:{primary:"#22c55e",text:"#0b1220",hover:"#14532d",border:"#22c55e",range:"rgba(6, 78, 59, 0.3)"}},amber:{light:{primary:"#d97706",text:"#ffffff",hover:"#fffbeb",border:"#d97706",range:"#fffbeb"},dark:{primary:"#f59e0b",text:"#0b1220",hover:"#78350f",border:"#f59e0b",range:"rgba(120, 53, 15, 0.3)"}},violet:{light:{primary:"#7c3aed",text:"#ffffff",hover:"#f5f3ff",border:"#7c3aed",range:"#f5f3ff"},dark:{primary:"#8b5cf6",text:"#0b1220",hover:"#2e1065",border:"#8b5cf6",range:"rgba(46, 16, 101, 0.3)"}},destructive:{light:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.10)",border:"hsl(var(--destructive))",range:"#fef2f2"},dark:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.18)",border:"hsl(var(--destructive))",range:"rgba(127, 29, 29, 0.3)"}}},qP="dcode-dp-theme-forced";function _U(t,e=qP){const n=DP[t]??DP.primary,o=`
|
|
8502
|
+
For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warning: Missing \`Description\` or \`aria-describedby="undefined"\` for ${e}.`;a.onMounted(()=>{var u;document.getElementById(o)||console.warn(s);const h=(u=i.value)==null?void 0:u.getAttribute("aria-describedby");r&&h&&(document.getElementById(r)||console.warn(c))})}var sO={},lO=a.defineComponent({__name:"DialogContentImpl",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=$t(),{forwardRef:i,currentElement:s}=ke();return r.titleId||(r.titleId=Ba(void 0,"reka-dialog-title")),r.descriptionId||(r.descriptionId=Ba(void 0,"reka-dialog-description")),a.onMounted(()=>{r.contentElement=s,st()!==document.body&&(r.triggerElement.value=st())}),sO.NODE_ENV!=="production"&&iO({titleName:"DialogTitle",contentName:"DialogContent",componentLink:"dialog.html#title",titleId:r.titleId,descriptionId:r.descriptionId,contentElement:s}),(c,d)=>(a.openBlock(),a.createBlock(a.unref(l_),{"as-child":"",loop:"",trapped:n.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:a.withCtx(()=>[a.createVNode(a.unref(oS),a.mergeProps({id:a.unref(r).contentId,ref:a.unref(i),as:c.as,"as-child":c.asChild,"disable-outside-pointer-events":c.disableOutsidePointerEvents,role:"dialog","aria-describedby":a.unref(r).descriptionId,"aria-labelledby":a.unref(r).titleId,"data-state":a.unref(nO)(a.unref(r).open.value)},c.$attrs,{onDismiss:d[0]||(d[0]=h=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:d[1]||(d[1]=h=>o("escapeKeyDown",h)),onFocusOutside:d[2]||(d[2]=h=>o("focusOutside",h)),onInteractOutside:d[3]||(d[3]=h=>o("interactOutside",h)),onPointerDownOutside:d[4]||(d[4]=h=>o("pointerDownOutside",h))}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["id","as","as-child","disable-outside-pointer-events","aria-describedby","aria-labelledby","data-state"])]),_:3},8,["trapped"]))}}),eV=lO,cO=a.defineComponent({__name:"DialogContentModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=$t(),i=QL(o),{forwardRef:s,currentElement:c}=ke();return o_(c),(d,h)=>(a.openBlock(),a.createBlock(eV,a.mergeProps({...n,...a.unref(i)},{ref:a.unref(s),"trap-focus":a.unref(r).open.value,"disable-outside-pointer-events":!0,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(u.preventDefault(),(p=a.unref(r).triggerElement.value)==null||p.focus())}),onPointerDownOutside:h[1]||(h[1]=u=>{const p=u.detail.originalEvent,y=p.button===0&&p.ctrlKey===!0;(p.button===2||y)&&u.preventDefault()}),onFocusOutside:h[2]||(h[2]=u=>{u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["trap-focus"]))}}),dO=cO,hO=a.defineComponent({__name:"DialogContentNonModal",props:{forceMount:{type:Boolean,required:!1},trapFocus:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,r=QL(e);ke();const i=$t(),s=a.ref(!1),c=a.ref(!1);return(d,h)=>(a.openBlock(),a.createBlock(eV,a.mergeProps({...n,...a.unref(r)},{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;u.defaultPrevented||(s.value||(p=a.unref(i).triggerElement.value)==null||p.focus(),u.preventDefault()),s.value=!1,c.value=!1}),onInteractOutside:h[1]||(h[1]=u=>{var f;u.defaultPrevented||(s.value=!0,u.detail.originalEvent.type==="pointerdown"&&(c.value=!0));const p=u.target;((f=a.unref(i).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&c.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),uO=hO,pO=a.defineComponent({__name:"DialogContent",props:{forceMount:{type:Boolean,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=$t(),i=QL(o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(Hl),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(r).modal.value?(a.openBlock(),a.createBlock(dO,a.mergeProps({key:0,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(uO,a.mergeProps({key:1,ref:a.unref(s)},{...n,...a.unref(i),...c.$attrs}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),tV=pO,yO=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"p"}},setup(t){const e=t;ke();const n=$t();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{id:a.unref(n).descriptionId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),aV=yO,fO=a.defineComponent({__name:"DialogOverlayImpl",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=$t();return II(!0),ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:n.as,"as-child":n.asChild,"data-state":a.unref(e).open.value?"open":"closed",style:{"pointer-events":"auto"}},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","data-state"]))}}),mO=fO,kO=a.defineComponent({__name:"DialogOverlay",props:{forceMount:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=$t(),{forwardRef:n}=ke();return(o,r)=>{var i;return(i=a.unref(e))!=null&&i.modal.value?(a.openBlock(),a.createBlock(a.unref(Hl),{key:0,present:o.forceMount||a.unref(e).open.value},{default:a.withCtx(()=>[a.createVNode(mO,a.mergeProps(o.$attrs,{ref:a.unref(n),as:o.as,"as-child":o.asChild}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["as","as-child"])]),_:3},8,["present"])):a.createCommentVNode("v-if",!0)}}}),nV=kO,gO=a.defineComponent({__name:"Teleport",props:{to:{type:null,required:!1,default:"body"},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=WB();return(n,o)=>a.unref(e)||n.forceMount?(a.openBlock(),a.createBlock(a.Teleport,{key:0,to:n.to,disabled:n.disabled,defer:n.defer},[a.renderSlot(n.$slots,"default")],8,["to","disabled","defer"])):a.createCommentVNode("v-if",!0)}}),rS=gO,bO=a.defineComponent({__name:"DialogPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),oV=bO,MO=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"h2"}},setup(t){const e=t,n=$t();return ke(),(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{id:a.unref(n).titleId}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["id"]))}}),rV=MO,xO=a.defineComponent({__name:"DialogTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=$t(),{forwardRef:o,currentElement:r}=ke();return n.contentId||(n.contentId=Ba(void 0,"reka-dialog-content")),a.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{ref:a.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value||!1,"aria-controls":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).open.value?"open":"closed",onClick:a.unref(n).onOpenToggle}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["type","aria-expanded","aria-controls","data-state","onClick"]))}}),wO=xO;const[iV,vO]=tt("AvatarRoot");var CO=a.defineComponent({__name:"AvatarRoot",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){return ke(),vO({imageLoadingStatus:a.ref("idle")}),(e,n)=>(a.openBlock(),a.createBlock(a.unref(ye),{"as-child":e.asChild,as:e.as},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["as-child","as"]))}}),LO=CO,SO=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{type:Number,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=iV();ke();const o=a.ref(e.delayMs===void 0);return a.watchEffect(r=>{if(e.delayMs&&pt){const i=window.setTimeout(()=>{o.value=!0},e.delayMs);r(()=>{window.clearTimeout(i)})}}),(r,i)=>o.value&&a.unref(n).imageLoadingStatus.value!=="loaded"?(a.openBlock(),a.createBlock(a.unref(ye),{key:0,"as-child":r.asChild,as:r.as},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},8,["as-child","as"])):a.createCommentVNode("v-if",!0)}}),IO=SO;function sV(t,e){return t?e?(t.src!==e&&(t.src=e),t.complete&&t.naturalWidth>0?"loaded":"loading"):"error":"idle"}function _O(t,{referrerPolicy:e,crossOrigin:n}={}){const o=a.ref(!1),r=a.ref(null),i=a.computed(()=>o.value?(!r.value&&pt&&(r.value=new window.Image),r.value):null),s=a.ref(sV(i.value,t.value)),c=d=>()=>{o.value&&(s.value=d)};return a.onMounted(()=>{o.value=!0,a.watchEffect(d=>{const h=i.value;if(!h)return;s.value=sV(h,t.value);const u=c("loaded"),p=c("error");h.addEventListener("load",u),h.addEventListener("error",p),e!=null&&e.value&&(h.referrerPolicy=e.value),typeof(n==null?void 0:n.value)=="string"&&(h.crossOrigin=n.value),d(()=>{h.removeEventListener("load",u),h.removeEventListener("error",p)})})}),a.onUnmounted(()=>{o.value=!1}),s}var BO=a.defineComponent({__name:"AvatarImage",props:{src:{type:String,required:!0},referrerPolicy:{type:null,required:!1},crossOrigin:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"img"}},emits:["loadingStatusChange"],setup(t,{emit:e}){const n=t,o=e,{src:r,referrerPolicy:i,crossOrigin:s}=a.toRefs(n);ke();const c=iV(),d=_O(r,{referrerPolicy:i,crossOrigin:s});return a.watch(d,h=>{o("loadingStatusChange",h),h!=="idle"&&(c.imageLoadingStatus.value=h)},{immediate:!0}),(h,u)=>a.withDirectives((a.openBlock(),a.createBlock(a.unref(ye),{role:"img","as-child":h.asChild,as:h.as,src:a.unref(r),referrerpolicy:a.unref(i),crossorigin:a.unref(s)},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},8,["as-child","as","src","referrerpolicy","crossorigin"])),[[a.vShow,a.unref(d)==="loaded"]])}}),AO=BO;function VO(t){function e(i){return Array.isArray(t.date.value)?t.date.value.some(s=>Ia(s,i)):t.date.value?Ia(t.date.value,i):!1}const n=a.computed(()=>{var i,s,c,d;if(Array.isArray(t.date.value)){if(!t.date.value.length)return!1;for(const h of t.date.value)if((i=t.isDateDisabled)!=null&&i.call(t,h)||(s=t.isDateUnavailable)!=null&&s.call(t,h))return!0}else{if(!t.date.value)return!1;if((c=t.isDateDisabled)!=null&&c.call(t,t.date.value)||(d=t.isDateUnavailable)!=null&&d.call(t,t.date.value))return!0}return!1}),o=a.computed(()=>Array.isArray(t.date.value)?t.date.value.length>0:!!t.date.value),r=a.computed(()=>{var i;return Array.isArray(t.date.value)?t.date.value.length?t.date.value.some(s=>{var c;return(c=t.isDateDisabled)==null?void 0:c.call(t,s)}):!1:t.date.value?!!((i=t.isDateDisabled)!=null&&i.call(t,t.date.value)):!1});return{isDateSelected:e,isInvalid:n,hasSelectedDate:o,isSelectedDateDisabled:r}}function PO(t,e){const n=e(t),o=n.compare(t),r={};return o>=7&&(r.day=1),o>=$s(t)&&(r.month=1),n.set({...r})}function DO(t,e){const n=e(t),o=t.compare(n),r={};return o>=7&&(r.day=35),o>=$s(t)&&(r.month=13),n.set({...r})}function qO(t,e){return e(t)}function zO(t,e){return e(t)}function EO(t){const e=MT(t.locale.value),n=a.computed(()=>{const b={calendar:t.placeholder.value.calendar.identifier};return t.placeholder.value.calendar.identifier==="gregory"&&t.placeholder.value.era==="BC"&&(b.era="short"),b}),o=a.ref(os({dateObj:t.placeholder.value,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value})),r=a.computed(()=>o.value.map(b=>b.value));function i(b){return!r.value.some(w=>QB(b,w))}const s=b=>{if(!t.maxValue.value||!o.value.length)return!1;if(t.disabled.value)return!0;const w=o.value[o.value.length-1].value;if(!b&&!t.nextPage.value){const C=w.add({months:1}).set({day:1});return e_(C,t.maxValue.value)}const S=PO(w,b||t.nextPage.value);return e_(S,t.maxValue.value)},c=b=>{if(!t.minValue.value||!o.value.length)return!1;if(t.disabled.value)return!0;const w=o.value[0].value;if(!b&&!t.prevPage.value){const C=w.subtract({months:1}).set({day:35});return JL(C,t.minValue.value)}const S=DO(w,b||t.prevPage.value);return JL(S,t.minValue.value)};function d(b){var w;return!!((w=t.isDateDisabled)!=null&&w.call(t,b)||t.disabled.value||t.maxValue.value&&e_(b,t.maxValue.value)||t.minValue.value&&JL(b,t.minValue.value))}const h=b=>{var w;return!!((w=t.isDateUnavailable)!=null&&w.call(t,b))},u=a.computed(()=>o.value.length?o.value[0].rows[0].map(b=>e.dayOfWeek(Ft(b),t.weekdayFormat.value)):[]),p=b=>{const w=o.value[0].value;if(!b&&!t.nextPage.value){const M=w.add({months:t.pagedNavigation.value?t.numberOfMonths.value:1}),v=os({dateObj:M,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=v,t.placeholder.value=v[0].value.set({day:1});return}const S=qO(w,b||t.nextPage.value),C=os({dateObj:S,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=C;const x={};if(!b){const M=C[0].value.compare(w);M>=$s(w)&&(x.day=1),M>=365&&(x.month=1)}t.placeholder.value=C[0].value.set({...x})},y=b=>{const w=o.value[0].value;if(!b&&!t.prevPage.value){const M=w.subtract({months:t.pagedNavigation.value?t.numberOfMonths.value:1}),v=os({dateObj:M,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=v,t.placeholder.value=v[0].value.set({day:1});return}const S=zO(w,b||t.prevPage.value),C=os({dateObj:S,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value});o.value=C;const x={};if(!b){const M=w.compare(C[0].value);M>=$s(w)&&(x.day=1),M>=365&&(x.month=1)}t.placeholder.value=C[0].value.set({...x})};a.watch(t.placeholder,b=>{r.value.some(w=>QB(w,b))||(o.value=os({dateObj:b,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value}))}),a.watch([t.locale,t.weekStartsOn,t.fixedWeeks,t.numberOfMonths],()=>{o.value=os({dateObj:t.placeholder.value,weekStartsOn:t.weekStartsOn.value,locale:t.locale.value,fixedWeeks:t.fixedWeeks.value,numberOfMonths:t.numberOfMonths.value})});const f=a.computed(()=>{if(!o.value.length)return"";if(t.locale.value!==e.getLocale()&&e.setLocale(t.locale.value),o.value.length===1){const L=o.value[0].value;return`${e.fullMonthAndYear(Ft(L),n.value)}`}const b=Ft(o.value[0].value),w=Ft(o.value[o.value.length-1].value),S=e.fullMonth(b,n.value),C=e.fullMonth(w,n.value),x=e.fullYear(b,n.value),M=e.fullYear(w,n.value);return x===M?`${S} - ${C} ${M}`:`${S} ${x} - ${C} ${M}`}),m=a.computed(()=>`${t.calendarLabel.value??"Event Date"}, ${f.value}`),k=a.computed(()=>!(d(t.placeholder.value)||h(t.placeholder.value)||i(t.placeholder.value))),g=a.computed(()=>{for(const b of o.value){if(t.minValue.value&&JL(b.value,t.minValue.value))continue;const w=$s(b.value),S=t.minValue.value&&_I(t.minValue.value,b.value)?t.minValue.value.day:1;for(let C=S;C<=w;C++){const x=b.value.set({day:C});if(!(d(x)||h(x)))return x}}});return{isDateDisabled:d,isDateUnavailable:h,isNextButtonDisabled:s,isPrevButtonDisabled:c,grid:o,weekdays:u,visibleView:r,isOutsideVisibleView:i,formatter:e,nextPage:p,prevPage:y,headingValue:f,fullCalendarLabel:m,isPlaceholderFocusable:k,firstFocusableDate:g}}const TO={style:{border:"0px",clip:"rect(0px, 0px, 0px, 0px)","clip-path":"inset(50%)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute","white-space":"nowrap",width:"1px"}},OO={role:"heading","aria-level":"2"},[Rs,HO]=tt("CalendarRoot");var FO=a.defineComponent({__name:"CalendarRoot",props:{defaultValue:{type:null,required:!1,default:void 0},defaultPlaceholder:{type:null,required:!1},placeholder:{type:null,required:!1,default:void 0},pagedNavigation:{type:Boolean,required:!1,default:!1},preventDeselect:{type:Boolean,required:!1,default:!1},weekStartsOn:{type:Number,required:!1},weekdayFormat:{type:String,required:!1,default:"narrow"},calendarLabel:{type:String,required:!1},fixedWeeks:{type:Boolean,required:!1,default:!1},maxValue:{type:null,required:!1},minValue:{type:null,required:!1},locale:{type:String,required:!1},numberOfMonths:{type:Number,required:!1,default:1},disabled:{type:Boolean,required:!1,default:!1},readonly:{type:Boolean,required:!1,default:!1},initialFocus:{type:Boolean,required:!1,default:!1},isDateDisabled:{type:Function,required:!1,default:void 0},isDateUnavailable:{type:Function,required:!1,default:void 0},dir:{type:String,required:!1},nextPage:{type:Function,required:!1},prevPage:{type:Function,required:!1},modelValue:{type:null,required:!1},multiple:{type:Boolean,required:!1,default:!1},disableDaysOutsideCurrentView:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},emits:["update:modelValue","update:placeholder"],setup(t,{emit:e}){const n=t,o=e,{disabled:r,readonly:i,initialFocus:s,pagedNavigation:c,weekdayFormat:d,fixedWeeks:h,multiple:u,minValue:p,maxValue:y,numberOfMonths:f,preventDeselect:m,isDateDisabled:k,isDateUnavailable:g,calendarLabel:b,defaultValue:w,nextPage:S,prevPage:C,dir:x,locale:M,disableDaysOutsideCurrentView:v}=a.toRefs(n),{primitiveElement:L,currentElement:I}=nS(),_=zT(M),A=$A(x),V=a.computed(()=>n.weekStartsOn??bT(_.value)),q=Qt(n,"modelValue",o,{defaultValue:w.value,passive:n.modelValue===void 0}),O=mT({defaultPlaceholder:n.placeholder,defaultValue:q.value,locale:n.locale}),N=Qt(n,"placeholder",o,{defaultValue:n.defaultPlaceholder??O.copy(),passive:n.placeholder===void 0});function T(xe){N.value=xe.copy()}const{fullCalendarLabel:H,headingValue:j,isDateDisabled:Z,isDateUnavailable:P,isNextButtonDisabled:D,isPrevButtonDisabled:G,weekdays:ne,isOutsideVisibleView:te,nextPage:ce,prevPage:pe,formatter:le,grid:Le,isPlaceholderFocusable:ue,firstFocusableDate:U}=EO({locale:_,placeholder:N,weekStartsOn:V,fixedWeeks:h,numberOfMonths:f,minValue:p,maxValue:y,disabled:r,weekdayFormat:d,pagedNavigation:c,isDateDisabled:k.value,isDateUnavailable:g.value,calendarLabel:b,nextPage:S,prevPage:C}),{isInvalid:z,isDateSelected:W,hasSelectedDate:ee,isSelectedDateDisabled:fe}=VO({date:q,isDateDisabled:Z,isDateUnavailable:P});a.watch(q,xe=>{if(Array.isArray(xe)&&xe.length){const Qe=xe[xe.length-1];Qe&&!BI(N.value,Qe)&&T(Qe)}else!Array.isArray(xe)&&xe&&!BI(N.value,xe)&&T(xe)});function Te(xe){if(u.value){if(!q.value)q.value=[xe.copy()];else if(Array.isArray(q.value)){if(q.value.findIndex(it=>Ia(it,xe))===-1)q.value=[...q.value,xe];else if(!m.value){const it=q.value.filter(St=>!Ia(St,xe));if(!it.length){N.value=xe.copy(),q.value=void 0;return}q.value=it.map(St=>St.copy())}}}else{if(!q.value){q.value=xe.copy();return}!m.value&&BI(q.value,xe)?(N.value=xe.copy(),q.value=void 0):q.value=xe.copy()}}return a.onMounted(()=>{s.value&&gT(I.value)}),HO({isDateUnavailable:P,dir:A,isDateDisabled:Z,locale:_,formatter:le,modelValue:q,placeholder:N,disabled:r,initialFocus:s,pagedNavigation:c,grid:Le,weekDays:ne,weekStartsOn:V,weekdayFormat:d,fixedWeeks:h,multiple:u,numberOfMonths:f,readonly:i,preventDeselect:m,fullCalendarLabel:H,headingValue:j,isInvalid:z,isDateSelected:W,isNextButtonDisabled:D,isPrevButtonDisabled:G,isOutsideVisibleView:te,nextPage:ce,prevPage:pe,parentElement:I,onPlaceholderChange:T,onDateChange:Te,disableDaysOutsideCurrentView:v,minValue:p,maxValue:y,isPlaceholderFocusable:ue,firstFocusableDate:U,hasSelectedDate:ee,isSelectedDateDisabled:fe}),(xe,Qe)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref_key:"primitiveElement",ref:L,as:xe.as,"as-child":xe.asChild,"aria-label":a.unref(H),"data-readonly":a.unref(i)?"":void 0,"data-disabled":a.unref(r)?"":void 0,"data-invalid":a.unref(z)?"":void 0,dir:a.unref(A)},{default:a.withCtx(()=>[a.renderSlot(xe.$slots,"default",{date:a.unref(N),grid:a.unref(Le),weekDays:a.unref(ne),weekStartsOn:V.value,locale:a.unref(_),fixedWeeks:a.unref(h),modelValue:a.unref(q)}),a.createElementVNode("div",TO,[a.createElementVNode("div",OO,a.toDisplayString(a.unref(H)),1)])]),_:3},8,["as","as-child","aria-label","data-readonly","data-disabled","data-invalid","dir"]))}}),$O=FO,jO=a.defineComponent({__name:"CalendarCell",props:{date:{type:null,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"td"}},setup(t){const e=Rs();return(n,o)=>{var r,i;return a.openBlock(),a.createBlock(a.unref(ye),{as:n.as,"as-child":n.asChild,role:"gridcell","aria-selected":a.unref(e).isDateSelected(n.date)?!0:void 0,"aria-disabled":a.unref(e).isDateDisabled(n.date)||((i=(r=a.unref(e)).isDateUnavailable)==null?void 0:i.call(r,n.date))||a.unref(e).disableDaysOutsideCurrentView.value,"data-disabled":a.unref(e).isDateDisabled(n.date)||a.unref(e).disableDaysOutsideCurrentView.value?"":void 0},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","aria-selected","aria-disabled","data-disabled"])}}}),RO=jO,NO=a.defineComponent({__name:"CalendarCellTrigger",props:{day:{type:null,required:!0},month:{type:null,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(t){const e=t,n=qT(),o=Rs(),{primitiveElement:r}=nS(),i=a.computed(()=>e.day.day.toLocaleString(o.locale.value)),s=a.computed(()=>o.formatter.custom(Ft(e.day),{weekday:"long",month:"long",day:"numeric",year:"numeric"})),c=a.computed(()=>{var b;return((b=o.isDateUnavailable)==null?void 0:b.call(o,e.day))??!1}),d=a.computed(()=>kE(e.day,ea())),h=a.computed(()=>!_I(e.day,e.month)),u=a.computed(()=>o.isOutsideVisibleView(e.day)),p=a.computed(()=>o.isDateDisabled(e.day)||o.disableDaysOutsideCurrentView.value&&h.value),y=a.computed(()=>h.value||p.value?!1:!o.disabled.value&&o.isPlaceholderFocusable.value&&Ia(e.day,o.placeholder.value)?!0:(!o.hasSelectedDate.value||o.isSelectedDateDisabled.value)&&!o.isPlaceholderFocusable.value?o.firstFocusableDate.value&&Ia(e.day,o.firstFocusableDate.value):!1),f=a.computed(()=>o.isDateSelected(e.day));function m(b){var w;o.readonly.value||o.isDateDisabled(b)||(w=o.isDateUnavailable)!=null&&w.call(o,b)||o.onDateChange(b)}function k(){p.value||m(e.day)}function g(b){if(p.value)return;b.preventDefault(),b.stopPropagation();const w=o.parentElement.value,S=7,C=o.dir.value==="rtl"?-1:1;switch(b.code){case n.ARROW_RIGHT:x(e.day,C);break;case n.ARROW_LEFT:x(e.day,-C);break;case n.ARROW_UP:x(e.day,-S);break;case n.ARROW_DOWN:x(e.day,S);break;case n.ENTER:case n.SPACE_CODE:m(e.day)}function x(M,v){const L=M.add({days:v});if(o.minValue.value&&L.compare(o.minValue.value)<0||o.maxValue.value&&L.compare(o.maxValue.value)>0)return;const I=w.querySelector(`[data-value='${L.toString()}']:not([data-outside-view])`);if(!I){if(v>0){if(o.isNextButtonDisabled())return;o.nextPage()}else{if(o.isPrevButtonDisabled())return;o.prevPage()}a.nextTick(()=>{x(M,v)});return}if(I&&I.hasAttribute("data-disabled"))return x(L,v);o.onPlaceholderChange(L),I==null||I.focus()}}return(b,w)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({ref_key:"primitiveElement",ref:r},e,{role:"button","aria-label":s.value,"data-reka-calendar-cell-trigger":"","aria-disabled":p.value||c.value?!0:void 0,"data-selected":f.value?!0:void 0,"data-value":b.day.toString(),"data-disabled":p.value?"":void 0,"data-unavailable":c.value?"":void 0,"data-today":d.value?"":void 0,"data-outside-view":h.value?"":void 0,"data-outside-visible-view":u.value?"":void 0,"data-focused":y.value?"":void 0,tabindex:y.value?0:h.value||p.value?void 0:-1,onClick:k,onKeydown:[a.withKeys(g,["up","down","left","right","space","enter"]),w[0]||(w[0]=a.withKeys(a.withModifiers(()=>{},["prevent"]),["enter"]))]}),{default:a.withCtx(()=>[a.renderSlot(b.$slots,"default",{dayValue:i.value,disabled:p.value,today:d.value,selected:f.value,outsideView:h.value,outsideVisibleView:u.value,unavailable:c.value},()=>[a.createTextVNode(a.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-disabled","data-selected","data-value","data-disabled","data-unavailable","data-today","data-outside-view","data-outside-visible-view","data-focused","tabindex"]))}}),UO=NO,WO=a.defineComponent({__name:"CalendarGrid",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"table"}},setup(t){const e=t,n=Rs(),o=a.computed(()=>n.disabled.value?!0:void 0),r=a.computed(()=>n.readonly.value?!0:void 0);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{tabindex:"-1",role:"grid","aria-readonly":r.value,"aria-disabled":o.value,"data-readonly":r.value&&"","data-disabled":o.value&&""}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16,["aria-readonly","aria-disabled","data-readonly","data-disabled"]))}}),GO=WO,YO=a.defineComponent({__name:"CalendarGridBody",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"tbody"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),KO=YO,XO=a.defineComponent({__name:"CalendarGridHead",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"thead"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-hidden":"true"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),ZO=XO,JO=a.defineComponent({__name:"CalendarGridRow",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"tr"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),QO=JO,eH=a.defineComponent({__name:"CalendarHeadCell",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"th"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),tH=eH,aH=a.defineComponent({__name:"CalendarHeader",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),nH=aH,oH=a.defineComponent({__name:"CalendarHeading",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"div"}},setup(t){const e=t,n=Rs();return(o,r)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"data-disabled":a.unref(n).disabled.value?"":void 0}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{headingValue:a.unref(n).headingValue.value},()=>[a.createTextVNode(a.toDisplayString(a.unref(n).headingValue.value),1)])]),_:3},16,["data-disabled"]))}}),rH=oH,iH=a.defineComponent({__name:"CalendarNext",props:{nextPage:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=a.computed(()=>o.disabled.value||o.isNextButtonDisabled(e.nextPage)),o=Rs();return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:e.as,"as-child":e.asChild,"aria-label":"Next page",type:r.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(o).nextPage(e.nextPage))},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{disabled:n.value},()=>[i[1]||(i[1]=a.createTextVNode(" Next page "))])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),sH=iH,lH=a.defineComponent({__name:"CalendarPrev",props:{prevPage:{type:Function,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=a.computed(()=>o.disabled.value||o.isPrevButtonDisabled(e.prevPage)),o=Rs();return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),{"aria-label":"Previous page",as:e.as,"as-child":e.asChild,type:r.as==="button"?"button":void 0,"aria-disabled":n.value||void 0,"data-disabled":n.value||void 0,disabled:n.value,onClick:i[0]||(i[0]=s=>a.unref(o).prevPage(e.prevPage))},{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{disabled:n.value},()=>[i[1]||(i[1]=a.createTextVNode(" Prev page "))])]),_:3},8,["as","as-child","type","aria-disabled","data-disabled","disabled"]))}}),cH=lH;const lV="data-reka-collection-item";function Ns(t={}){const{key:e="",isProvider:n=!1}=t,o=`${e}CollectionProvider`;let r;if(n){const u=a.ref(new Map);r={collectionRef:a.ref(),itemMap:u},a.provide(o,r)}else r=a.inject(o);const i=(u=!1)=>{const p=r.collectionRef.value;if(!p)return[];const y=Array.from(p.querySelectorAll(`[${lV}]`)),m=Array.from(r.itemMap.value.values()).sort((k,g)=>y.indexOf(k.ref)-y.indexOf(g.ref));return u?m:m.filter(k=>k.ref.dataset.disabled!=="")},s=a.defineComponent({name:"CollectionSlot",inheritAttrs:!1,setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=nS();return a.watch(m,()=>{r.collectionRef.value=m.value}),()=>a.h(r_,{ref:f,...y},p)}}),c=a.defineComponent({name:"CollectionItem",inheritAttrs:!1,props:{value:{validator:()=>!0}},setup(u,{slots:p,attrs:y}){const{primitiveElement:f,currentElement:m}=nS();return a.watchEffect(k=>{if(m.value){const g=a.markRaw(m.value);r.itemMap.value.set(g,{ref:m.value,value:u.value}),k(()=>r.itemMap.value.delete(g))}}),()=>a.h(r_,{...y,[lV]:"",ref:f},p)}}),d=a.computed(()=>Array.from(r.itemMap.value.values())),h=a.computed(()=>r.itemMap.value.size);return{getItems:i,reactiveItems:d,itemMapSize:h,CollectionSlot:s,CollectionItem:c}}var dH=a.defineComponent({__name:"VisuallyHidden",props:{feature:{type:String,required:!1,default:"focusable"},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:e.as,"as-child":e.asChild,"aria-hidden":e.feature==="focusable"?"true":void 0,"data-hidden":e.feature==="fully-hidden"?"":void 0,tabindex:e.feature==="fully-hidden"?"-1":void 0,style:{position:"absolute",border:0,width:"1px",height:"1px",padding:0,margin:"-1px",overflow:"hidden",clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",whiteSpace:"nowrap",wordWrap:"normal",top:"-1px",left:"-1px"}},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default")]),_:3},8,["as","as-child","aria-hidden","data-hidden","tabindex"]))}}),cV=dH;const[dV,hH]=tt("PopperRoot");var uH=a.defineComponent({inheritAttrs:!1,__name:"PopperRoot",setup(t){const e=a.ref();return hH({anchor:e,onAnchorChange:n=>e.value=n}),(n,o)=>a.renderSlot(n.$slots,"default")}}),c_=uH,pH=a.defineComponent({__name:"PopperAnchor",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{forwardRef:n,currentElement:o}=ke(),r=dV();return a.watchPostEffect(()=>{r.onAnchorChange(e.reference??o.value)}),(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref:a.unref(n),as:i.as,"as-child":i.asChild},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["as","as-child"]))}}),d_=pH;function yH(t){return t!==null}function fH(t){return{name:"transformOrigin",options:t,fn(e){var g,b,w;const{placement:n,rects:o,middlewareData:r}=e,s=((g=r.arrow)==null?void 0:g.centerOffset)!==0,c=s?0:t.arrowWidth,d=s?0:t.arrowHeight,[h,u]=h_(n),p={start:"0%",center:"50%",end:"100%"}[u],y=(((b=r.arrow)==null?void 0:b.x)??0)+c/2,f=(((w=r.arrow)==null?void 0:w.y)??0)+d/2;let m="",k="";return h==="bottom"?(m=s?p:`${y}px`,k=`${-d}px`):h==="top"?(m=s?p:`${y}px`,k=`${o.floating.height+d}px`):h==="right"?(m=`${-d}px`,k=s?p:`${f}px`):h==="left"&&(m=`${o.floating.width+d}px`,k=s?p:`${f}px`),{data:{x:m,y:k}}}}}function h_(t){const[e,n="center"]=t.split("-");return[e,n]}const mH=["top","right","bottom","left"],Va=Math.min,lt=Math.max,iS=Math.round,sS=Math.floor,jt=t=>({x:t,y:t}),kH={left:"right",right:"left",bottom:"top",top:"bottom"},gH={start:"end",end:"start"};function u_(t,e,n){return lt(t,Va(e,n))}function ra(t,e){return typeof t=="function"?t(e):t}function ia(t){return t.split("-")[0]}function Us(t){return t.split("-")[1]}function p_(t){return t==="x"?"y":"x"}function y_(t){return t==="y"?"height":"width"}const bH=new Set(["top","bottom"]);function Rt(t){return bH.has(ia(t))?"y":"x"}function f_(t){return p_(Rt(t))}function MH(t,e,n){n===void 0&&(n=!1);const o=Us(t),r=f_(t),i=y_(r);let s=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[i]>e.floating[i]&&(s=lS(s)),[s,lS(s)]}function xH(t){const e=lS(t);return[m_(t),e,m_(e)]}function m_(t){return t.replace(/start|end/g,e=>gH[e])}const hV=["left","right"],uV=["right","left"],wH=["top","bottom"],vH=["bottom","top"];function CH(t,e,n){switch(t){case"top":case"bottom":return n?e?uV:hV:e?hV:uV;case"left":case"right":return e?wH:vH;default:return[]}}function LH(t,e,n,o){const r=Us(t);let i=CH(ia(t),n==="start",o);return r&&(i=i.map(s=>s+"-"+r),e&&(i=i.concat(i.map(m_)))),i}function lS(t){return t.replace(/left|right|bottom|top/g,e=>kH[e])}function SH(t){return{top:0,right:0,bottom:0,left:0,...t}}function pV(t){return typeof t!="number"?SH(t):{top:t,right:t,bottom:t,left:t}}function cS(t){const{x:e,y:n,width:o,height:r}=t;return{width:o,height:r,top:n,left:e,right:e+o,bottom:n+r,x:e,y:n}}function yV(t,e,n){let{reference:o,floating:r}=t;const i=Rt(e),s=f_(e),c=y_(s),d=ia(e),h=i==="y",u=o.x+o.width/2-r.width/2,p=o.y+o.height/2-r.height/2,y=o[c]/2-r[c]/2;let f;switch(d){case"top":f={x:u,y:o.y-r.height};break;case"bottom":f={x:u,y:o.y+o.height};break;case"right":f={x:o.x+o.width,y:p};break;case"left":f={x:o.x-r.width,y:p};break;default:f={x:o.x,y:o.y}}switch(Us(e)){case"start":f[s]-=y*(n&&h?-1:1);break;case"end":f[s]+=y*(n&&h?-1:1);break}return f}async function IH(t,e){var n;e===void 0&&(e={});const{x:o,y:r,platform:i,rects:s,elements:c,strategy:d}=t,{boundary:h="clippingAncestors",rootBoundary:u="viewport",elementContext:p="floating",altBoundary:y=!1,padding:f=0}=ra(e,t),m=pV(f),g=c[y?p==="floating"?"reference":"floating":p],b=cS(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(g)))==null||n?g:g.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(c.floating)),boundary:h,rootBoundary:u,strategy:d})),w=p==="floating"?{x:o,y:r,width:s.floating.width,height:s.floating.height}:s.reference,S=await(i.getOffsetParent==null?void 0:i.getOffsetParent(c.floating)),C=await(i.isElement==null?void 0:i.isElement(S))?await(i.getScale==null?void 0:i.getScale(S))||{x:1,y:1}:{x:1,y:1},x=cS(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:w,offsetParent:S,strategy:d}):w);return{top:(b.top-x.top+m.top)/C.y,bottom:(x.bottom-b.bottom+m.bottom)/C.y,left:(b.left-x.left+m.left)/C.x,right:(x.right-b.right+m.right)/C.x}}const _H=async(t,e,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:i=[],platform:s}=n,c=i.filter(Boolean),d=await(s.isRTL==null?void 0:s.isRTL(e));let h=await s.getElementRects({reference:t,floating:e,strategy:r}),{x:u,y:p}=yV(h,o,d),y=o,f={},m=0;for(let g=0;g<c.length;g++){var k;const{name:b,fn:w}=c[g],{x:S,y:C,data:x,reset:M}=await w({x:u,y:p,initialPlacement:o,placement:y,strategy:r,middlewareData:f,rects:h,platform:{...s,detectOverflow:(k=s.detectOverflow)!=null?k:IH},elements:{reference:t,floating:e}});u=S??u,p=C??p,f={...f,[b]:{...f[b],...x}},M&&m<=50&&(m++,typeof M=="object"&&(M.placement&&(y=M.placement),M.rects&&(h=M.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:r}):M.rects),{x:u,y:p}=yV(h,y,d)),g=-1)}return{x:u,y:p,placement:y,strategy:r,middlewareData:f}},BH=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:o,placement:r,rects:i,platform:s,elements:c,middlewareData:d}=e,{element:h,padding:u=0}=ra(t,e)||{};if(h==null)return{};const p=pV(u),y={x:n,y:o},f=f_(r),m=y_(f),k=await s.getDimensions(h),g=f==="y",b=g?"top":"left",w=g?"bottom":"right",S=g?"clientHeight":"clientWidth",C=i.reference[m]+i.reference[f]-y[f]-i.floating[m],x=y[f]-i.reference[f],M=await(s.getOffsetParent==null?void 0:s.getOffsetParent(h));let v=M?M[S]:0;(!v||!await(s.isElement==null?void 0:s.isElement(M)))&&(v=c.floating[S]||i.floating[m]);const L=C/2-x/2,I=v/2-k[m]/2-1,_=Va(p[b],I),A=Va(p[w],I),V=_,q=v-k[m]-A,O=v/2-k[m]/2+L,N=u_(V,O,q),T=!d.arrow&&Us(r)!=null&&O!==N&&i.reference[m]/2-(O<V?_:A)-k[m]/2<0,H=T?O<V?O-V:O-q:0;return{[f]:y[f]+H,data:{[f]:N,centerOffset:O-N-H,...T&&{alignmentOffset:H}},reset:T}}}),AH=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:r,middlewareData:i,rects:s,initialPlacement:c,platform:d,elements:h}=e,{mainAxis:u=!0,crossAxis:p=!0,fallbackPlacements:y,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:m="none",flipAlignment:k=!0,...g}=ra(t,e);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=ia(r),w=Rt(c),S=ia(c)===c,C=await(d.isRTL==null?void 0:d.isRTL(h.floating)),x=y||(S||!k?[lS(c)]:xH(c)),M=m!=="none";!y&&M&&x.push(...LH(c,k,m,C));const v=[c,...x],L=await d.detectOverflow(e,g),I=[];let _=((o=i.flip)==null?void 0:o.overflows)||[];if(u&&I.push(L[b]),p){const O=MH(r,s,C);I.push(L[O[0]],L[O[1]])}if(_=[..._,{placement:r,overflows:I}],!I.every(O=>O<=0)){var A,V;const O=(((A=i.flip)==null?void 0:A.index)||0)+1,N=v[O];if(N&&(!(p==="alignment"?w!==Rt(N):!1)||_.every(j=>Rt(j.placement)===w?j.overflows[0]>0:!0)))return{data:{index:O,overflows:_},reset:{placement:N}};let T=(V=_.filter(H=>H.overflows[0]<=0).sort((H,j)=>H.overflows[1]-j.overflows[1])[0])==null?void 0:V.placement;if(!T)switch(f){case"bestFit":{var q;const H=(q=_.filter(j=>{if(M){const Z=Rt(j.placement);return Z===w||Z==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(Z=>Z>0).reduce((Z,P)=>Z+P,0)]).sort((j,Z)=>j[1]-Z[1])[0])==null?void 0:q[0];H&&(T=H);break}case"initialPlacement":T=c;break}if(r!==T)return{reset:{placement:T}}}return{}}}};function fV(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function mV(t){return mH.some(e=>t[e]>=0)}const VH=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:o}=e,{strategy:r="referenceHidden",...i}=ra(t,e);switch(r){case"referenceHidden":{const s=await o.detectOverflow(e,{...i,elementContext:"reference"}),c=fV(s,n.reference);return{data:{referenceHiddenOffsets:c,referenceHidden:mV(c)}}}case"escaped":{const s=await o.detectOverflow(e,{...i,altBoundary:!0}),c=fV(s,n.floating);return{data:{escapedOffsets:c,escaped:mV(c)}}}default:return{}}}}},kV=new Set(["left","top"]);async function PH(t,e){const{placement:n,platform:o,elements:r}=t,i=await(o.isRTL==null?void 0:o.isRTL(r.floating)),s=ia(n),c=Us(n),d=Rt(n)==="y",h=kV.has(s)?-1:1,u=i&&d?-1:1,p=ra(e,t);let{mainAxis:y,crossAxis:f,alignmentAxis:m}=typeof p=="number"?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:p.mainAxis||0,crossAxis:p.crossAxis||0,alignmentAxis:p.alignmentAxis};return c&&typeof m=="number"&&(f=c==="end"?m*-1:m),d?{x:f*u,y:y*h}:{x:y*h,y:f*u}}const DH=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:r,y:i,placement:s,middlewareData:c}=e,d=await PH(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:r+d.x,y:i+d.y,data:{...d,placement:s}}}}},qH=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:r,platform:i}=e,{mainAxis:s=!0,crossAxis:c=!1,limiter:d={fn:b=>{let{x:w,y:S}=b;return{x:w,y:S}}},...h}=ra(t,e),u={x:n,y:o},p=await i.detectOverflow(e,h),y=Rt(ia(r)),f=p_(y);let m=u[f],k=u[y];if(s){const b=f==="y"?"top":"left",w=f==="y"?"bottom":"right",S=m+p[b],C=m-p[w];m=u_(S,m,C)}if(c){const b=y==="y"?"top":"left",w=y==="y"?"bottom":"right",S=k+p[b],C=k-p[w];k=u_(S,k,C)}const g=d.fn({...e,[f]:m,[y]:k});return{...g,data:{x:g.x-n,y:g.y-o,enabled:{[f]:s,[y]:c}}}}}},zH=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:o,placement:r,rects:i,middlewareData:s}=e,{offset:c=0,mainAxis:d=!0,crossAxis:h=!0}=ra(t,e),u={x:n,y:o},p=Rt(r),y=p_(p);let f=u[y],m=u[p];const k=ra(c,e),g=typeof k=="number"?{mainAxis:k,crossAxis:0}:{mainAxis:0,crossAxis:0,...k};if(d){const S=y==="y"?"height":"width",C=i.reference[y]-i.floating[S]+g.mainAxis,x=i.reference[y]+i.reference[S]-g.mainAxis;f<C?f=C:f>x&&(f=x)}if(h){var b,w;const S=y==="y"?"width":"height",C=kV.has(ia(r)),x=i.reference[p]-i.floating[S]+(C&&((b=s.offset)==null?void 0:b[p])||0)+(C?0:g.crossAxis),M=i.reference[p]+i.reference[S]+(C?0:((w=s.offset)==null?void 0:w[p])||0)-(C?g.crossAxis:0);m<x?m=x:m>M&&(m=M)}return{[y]:f,[p]:m}}}},EH=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,o;const{placement:r,rects:i,platform:s,elements:c}=e,{apply:d=()=>{},...h}=ra(t,e),u=await s.detectOverflow(e,h),p=ia(r),y=Us(r),f=Rt(r)==="y",{width:m,height:k}=i.floating;let g,b;p==="top"||p==="bottom"?(g=p,b=y===(await(s.isRTL==null?void 0:s.isRTL(c.floating))?"start":"end")?"left":"right"):(b=p,g=y==="end"?"top":"bottom");const w=k-u.top-u.bottom,S=m-u.left-u.right,C=Va(k-u[g],w),x=Va(m-u[b],S),M=!e.middlewareData.shift;let v=C,L=x;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(L=S),(o=e.middlewareData.shift)!=null&&o.enabled.y&&(v=w),M&&!y){const _=lt(u.left,0),A=lt(u.right,0),V=lt(u.top,0),q=lt(u.bottom,0);f?L=m-2*(_!==0||A!==0?_+A:lt(u.left,u.right)):v=k-2*(V!==0||q!==0?V+q:lt(u.top,u.bottom))}await d({...e,availableWidth:L,availableHeight:v});const I=await s.getDimensions(c.floating);return m!==I.width||k!==I.height?{reset:{rects:!0}}:{}}}};function dS(){return typeof window<"u"}function rs(t){return k_(t)?(t.nodeName||"").toLowerCase():"#document"}function ct(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Nt(t){var e;return(e=(k_(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function k_(t){return dS()?t instanceof Node||t instanceof ct(t).Node:!1}function wt(t){return dS()?t instanceof Element||t instanceof ct(t).Element:!1}function Ut(t){return dS()?t instanceof HTMLElement||t instanceof ct(t).HTMLElement:!1}function gV(t){return!dS()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ct(t).ShadowRoot}const TH=new Set(["inline","contents"]);function Fl(t){const{overflow:e,overflowX:n,overflowY:o,display:r}=vt(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!TH.has(r)}const OH=new Set(["table","td","th"]);function HH(t){return OH.has(rs(t))}const FH=[":popover-open",":modal"];function hS(t){return FH.some(e=>{try{return t.matches(e)}catch{return!1}})}const $H=["transform","translate","scale","rotate","perspective"],jH=["transform","translate","scale","rotate","perspective","filter"],RH=["paint","layout","strict","content"];function g_(t){const e=b_(),n=wt(t)?vt(t):t;return $H.some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||jH.some(o=>(n.willChange||"").includes(o))||RH.some(o=>(n.contain||"").includes(o))}function NH(t){let e=Pa(t);for(;Ut(e)&&!Ws(e);){if(g_(e))return e;if(hS(e))return null;e=Pa(e)}return null}function b_(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const UH=new Set(["html","body","#document"]);function Ws(t){return UH.has(rs(t))}function vt(t){return ct(t).getComputedStyle(t)}function uS(t){return wt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pa(t){if(rs(t)==="html")return t;const e=t.assignedSlot||t.parentNode||gV(t)&&t.host||Nt(t);return gV(e)?e.host:e}function bV(t){const e=Pa(t);return Ws(e)?t.ownerDocument?t.ownerDocument.body:t.body:Ut(e)&&Fl(e)?e:bV(e)}function $l(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const r=bV(t),i=r===((o=t.ownerDocument)==null?void 0:o.body),s=ct(r);if(i){const c=M_(s);return e.concat(s,s.visualViewport||[],Fl(r)?r:[],c&&n?$l(c):[])}return e.concat(r,$l(r,[],n))}function M_(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function MV(t){const e=vt(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const r=Ut(t),i=r?t.offsetWidth:n,s=r?t.offsetHeight:o,c=iS(n)!==i||iS(o)!==s;return c&&(n=i,o=s),{width:n,height:o,$:c}}function x_(t){return wt(t)?t:t.contextElement}function Gs(t){const e=x_(t);if(!Ut(e))return jt(1);const n=e.getBoundingClientRect(),{width:o,height:r,$:i}=MV(e);let s=(i?iS(n.width):n.width)/o,c=(i?iS(n.height):n.height)/r;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const WH=jt(0);function xV(t){const e=ct(t);return!b_()||!e.visualViewport?WH:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function GH(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ct(t)?!1:e}function is(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const r=t.getBoundingClientRect(),i=x_(t);let s=jt(1);e&&(o?wt(o)&&(s=Gs(o)):s=Gs(t));const c=GH(i,n,o)?xV(i):jt(0);let d=(r.left+c.x)/s.x,h=(r.top+c.y)/s.y,u=r.width/s.x,p=r.height/s.y;if(i){const y=ct(i),f=o&&wt(o)?ct(o):o;let m=y,k=M_(m);for(;k&&o&&f!==m;){const g=Gs(k),b=k.getBoundingClientRect(),w=vt(k),S=b.left+(k.clientLeft+parseFloat(w.paddingLeft))*g.x,C=b.top+(k.clientTop+parseFloat(w.paddingTop))*g.y;d*=g.x,h*=g.y,u*=g.x,p*=g.y,d+=S,h+=C,m=ct(k),k=M_(m)}}return cS({width:u,height:p,x:d,y:h})}function pS(t,e){const n=uS(t).scrollLeft;return e?e.left+n:is(Nt(t)).left+n}function wV(t,e){const n=t.getBoundingClientRect(),o=n.left+e.scrollLeft-pS(t,n),r=n.top+e.scrollTop;return{x:o,y:r}}function YH(t){let{elements:e,rect:n,offsetParent:o,strategy:r}=t;const i=r==="fixed",s=Nt(o),c=e?hS(e.floating):!1;if(o===s||c&&i)return n;let d={scrollLeft:0,scrollTop:0},h=jt(1);const u=jt(0),p=Ut(o);if((p||!p&&!i)&&((rs(o)!=="body"||Fl(s))&&(d=uS(o)),Ut(o))){const f=is(o);h=Gs(o),u.x=f.x+o.clientLeft,u.y=f.y+o.clientTop}const y=s&&!p&&!i?wV(s,d):jt(0);return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-d.scrollLeft*h.x+u.x+y.x,y:n.y*h.y-d.scrollTop*h.y+u.y+y.y}}function KH(t){return Array.from(t.getClientRects())}function XH(t){const e=Nt(t),n=uS(t),o=t.ownerDocument.body,r=lt(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),i=lt(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+pS(t);const c=-n.scrollTop;return vt(o).direction==="rtl"&&(s+=lt(e.clientWidth,o.clientWidth)-r),{width:r,height:i,x:s,y:c}}const vV=25;function ZH(t,e){const n=ct(t),o=Nt(t),r=n.visualViewport;let i=o.clientWidth,s=o.clientHeight,c=0,d=0;if(r){i=r.width,s=r.height;const u=b_();(!u||u&&e==="fixed")&&(c=r.offsetLeft,d=r.offsetTop)}const h=pS(o);if(h<=0){const u=o.ownerDocument,p=u.body,y=getComputedStyle(p),f=u.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,m=Math.abs(o.clientWidth-p.clientWidth-f);m<=vV&&(i-=m)}else h<=vV&&(i+=h);return{width:i,height:s,x:c,y:d}}const JH=new Set(["absolute","fixed"]);function QH(t,e){const n=is(t,!0,e==="fixed"),o=n.top+t.clientTop,r=n.left+t.clientLeft,i=Ut(t)?Gs(t):jt(1),s=t.clientWidth*i.x,c=t.clientHeight*i.y,d=r*i.x,h=o*i.y;return{width:s,height:c,x:d,y:h}}function CV(t,e,n){let o;if(e==="viewport")o=ZH(t,n);else if(e==="document")o=XH(Nt(t));else if(wt(e))o=QH(e,n);else{const r=xV(t);o={x:e.x-r.x,y:e.y-r.y,width:e.width,height:e.height}}return cS(o)}function LV(t,e){const n=Pa(t);return n===e||!wt(n)||Ws(n)?!1:vt(n).position==="fixed"||LV(n,e)}function eF(t,e){const n=e.get(t);if(n)return n;let o=$l(t,[],!1).filter(c=>wt(c)&&rs(c)!=="body"),r=null;const i=vt(t).position==="fixed";let s=i?Pa(t):t;for(;wt(s)&&!Ws(s);){const c=vt(s),d=g_(s);!d&&c.position==="fixed"&&(r=null),(i?!d&&!r:!d&&c.position==="static"&&!!r&&JH.has(r.position)||Fl(s)&&!d&&LV(t,s))?o=o.filter(u=>u!==s):r=c,s=Pa(s)}return e.set(t,o),o}function tF(t){let{element:e,boundary:n,rootBoundary:o,strategy:r}=t;const s=[...n==="clippingAncestors"?hS(e)?[]:eF(e,this._c):[].concat(n),o],c=s[0],d=s.reduce((h,u)=>{const p=CV(e,u,r);return h.top=lt(p.top,h.top),h.right=Va(p.right,h.right),h.bottom=Va(p.bottom,h.bottom),h.left=lt(p.left,h.left),h},CV(e,c,r));return{width:d.right-d.left,height:d.bottom-d.top,x:d.left,y:d.top}}function aF(t){const{width:e,height:n}=MV(t);return{width:e,height:n}}function nF(t,e,n){const o=Ut(e),r=Nt(e),i=n==="fixed",s=is(t,!0,i,e);let c={scrollLeft:0,scrollTop:0};const d=jt(0);function h(){d.x=pS(r)}if(o||!o&&!i)if((rs(e)!=="body"||Fl(r))&&(c=uS(e)),o){const f=is(e,!0,i,e);d.x=f.x+e.clientLeft,d.y=f.y+e.clientTop}else r&&h();i&&!o&&r&&h();const u=r&&!o&&!i?wV(r,c):jt(0),p=s.left+c.scrollLeft-d.x-u.x,y=s.top+c.scrollTop-d.y-u.y;return{x:p,y,width:s.width,height:s.height}}function w_(t){return vt(t).position==="static"}function SV(t,e){if(!Ut(t)||vt(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return Nt(t)===n&&(n=n.ownerDocument.body),n}function IV(t,e){const n=ct(t);if(hS(t))return n;if(!Ut(t)){let r=Pa(t);for(;r&&!Ws(r);){if(wt(r)&&!w_(r))return r;r=Pa(r)}return n}let o=SV(t,e);for(;o&&HH(o)&&w_(o);)o=SV(o,e);return o&&Ws(o)&&w_(o)&&!g_(o)?n:o||NH(t)||n}const oF=async function(t){const e=this.getOffsetParent||IV,n=this.getDimensions,o=await n(t.floating);return{reference:nF(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function rF(t){return vt(t).direction==="rtl"}const iF={convertOffsetParentRelativeRectToViewportRelativeRect:YH,getDocumentElement:Nt,getClippingRect:tF,getOffsetParent:IV,getElementRects:oF,getClientRects:KH,getDimensions:aF,getScale:Gs,isElement:wt,isRTL:rF};function _V(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function sF(t,e){let n=null,o;const r=Nt(t);function i(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,d){c===void 0&&(c=!1),d===void 0&&(d=1),i();const h=t.getBoundingClientRect(),{left:u,top:p,width:y,height:f}=h;if(c||e(),!y||!f)return;const m=sS(p),k=sS(r.clientWidth-(u+y)),g=sS(r.clientHeight-(p+f)),b=sS(u),S={rootMargin:-m+"px "+-k+"px "+-g+"px "+-b+"px",threshold:lt(0,Va(1,d))||1};let C=!0;function x(M){const v=M[0].intersectionRatio;if(v!==d){if(!C)return s();v?s(!1,v):o=setTimeout(()=>{s(!1,1e-7)},1e3)}v===1&&!_V(h,t.getBoundingClientRect())&&s(),C=!1}try{n=new IntersectionObserver(x,{...S,root:r.ownerDocument})}catch{n=new IntersectionObserver(x,S)}n.observe(t)}return s(!0),i}function yS(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:d=!1}=o,h=x_(t),u=r||i?[...h?$l(h):[],...$l(e)]:[];u.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),i&&b.addEventListener("resize",n)});const p=h&&c?sF(h,n):null;let y=-1,f=null;s&&(f=new ResizeObserver(b=>{let[w]=b;w&&w.target===h&&f&&(f.unobserve(e),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var S;(S=f)==null||S.observe(e)})),n()}),h&&!d&&f.observe(h),f.observe(e));let m,k=d?is(t):null;d&&g();function g(){const b=is(t);k&&!_V(k,b)&&n(),k=b,m=requestAnimationFrame(g)}return n(),()=>{var b;u.forEach(w=>{r&&w.removeEventListener("scroll",n),i&&w.removeEventListener("resize",n)}),p==null||p(),(b=f)==null||b.disconnect(),f=null,d&&cancelAnimationFrame(m)}}const fS=DH,mS=qH,jl=AH,kS=EH,lF=VH,cF=BH,dF=zH,hF=(t,e,n)=>{const o=new Map,r={platform:iF,...n},i={...r.platform,_c:o};return _H(t,e,{...r,platform:i})};function uF(t){return t!=null&&typeof t=="object"&&"$el"in t}function v_(t){if(uF(t)){const e=t.$el;return k_(e)&&rs(e)==="#comment"?null:e}return t}function Ys(t){return typeof t=="function"?t():a.unref(t)}function pF(t){return{name:"arrow",options:t,fn(e){const n=v_(Ys(t.element));return n==null?{}:cF({element:n,padding:t.padding}).fn(e)}}}function BV(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function AV(t,e){const n=BV(t);return Math.round(e*n)/n}function gS(t,e,n){n===void 0&&(n={});const o=n.whileElementsMounted,r=a.computed(()=>{var v;return(v=Ys(n.open))!=null?v:!0}),i=a.computed(()=>Ys(n.middleware)),s=a.computed(()=>{var v;return(v=Ys(n.placement))!=null?v:"bottom"}),c=a.computed(()=>{var v;return(v=Ys(n.strategy))!=null?v:"absolute"}),d=a.computed(()=>{var v;return(v=Ys(n.transform))!=null?v:!0}),h=a.computed(()=>v_(t.value)),u=a.computed(()=>v_(e.value)),p=a.ref(0),y=a.ref(0),f=a.ref(c.value),m=a.ref(s.value),k=a.shallowRef({}),g=a.ref(!1),b=a.computed(()=>{const v={position:f.value,left:"0",top:"0"};if(!u.value)return v;const L=AV(u.value,p.value),I=AV(u.value,y.value);return d.value?{...v,transform:"translate("+L+"px, "+I+"px)",...BV(u.value)>=1.5&&{willChange:"transform"}}:{position:f.value,left:L+"px",top:I+"px"}});let w;function S(){if(h.value==null||u.value==null)return;const v=r.value;hF(h.value,u.value,{middleware:i.value,placement:s.value,strategy:c.value}).then(L=>{p.value=L.x,y.value=L.y,f.value=L.strategy,m.value=L.placement,k.value=L.middlewareData,g.value=v!==!1})}function C(){typeof w=="function"&&(w(),w=void 0)}function x(){if(C(),o===void 0){S();return}if(h.value!=null&&u.value!=null){w=o(h.value,u.value,S);return}}function M(){r.value||(g.value=!1)}return a.watch([i,s,c,r],S,{flush:"sync"}),a.watch([h,u],x,{flush:"sync"}),a.watch(r,M,{flush:"sync"}),a.getCurrentScope()&&a.onScopeDispose(C),{x:a.shallowReadonly(p),y:a.shallowReadonly(y),strategy:a.shallowReadonly(f),placement:a.shallowReadonly(m),middlewareData:a.shallowReadonly(k),isPositioned:a.shallowReadonly(g),floatingStyles:b,update:S}}const yF={side:"bottom",sideOffset:0,sideFlip:!0,align:"center",alignOffset:0,alignFlip:!0,arrowPadding:0,hideShiftedArrow:!0,avoidCollisions:!0,collisionBoundary:()=>[],collisionPadding:0,sticky:"partial",hideWhenDetached:!1,positionStrategy:"fixed",updatePositionStrategy:"optimized",prioritizePosition:!1},[dne,fF]=tt("PopperContent");var mF=a.defineComponent({inheritAttrs:!1,__name:"PopperContent",props:a.mergeDefaults({side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},{...yF}),emits:["placed"],setup(t,{emit:e}){const n=t,o=e,r=dV(),{forwardRef:i,currentElement:s}=ke(),c=a.ref(),d=a.ref(),{width:h,height:u}=ET(d),p=a.computed(()=>n.side+(n.align!=="center"?`-${n.align}`:"")),y=a.computed(()=>typeof n.collisionPadding=="number"?n.collisionPadding:{top:0,right:0,bottom:0,left:0,...n.collisionPadding}),f=a.computed(()=>Array.isArray(n.collisionBoundary)?n.collisionBoundary:[n.collisionBoundary]),m=a.computed(()=>({padding:y.value,boundary:f.value.filter(yH),altBoundary:f.value.length>0})),k=a.computed(()=>({mainAxis:n.sideFlip,crossAxis:n.alignFlip})),g=$z(()=>[fS({mainAxis:n.sideOffset+u.value,alignmentAxis:n.alignOffset}),n.prioritizePosition&&n.avoidCollisions&&jl({...m.value,...k.value}),n.avoidCollisions&&mS({mainAxis:!0,crossAxis:!!n.prioritizePosition,limiter:n.sticky==="partial"?dF():void 0,...m.value}),!n.prioritizePosition&&n.avoidCollisions&&jl({...m.value,...k.value}),kS({...m.value,apply:({elements:V,rects:q,availableWidth:O,availableHeight:N})=>{const{width:T,height:H}=q.reference,j=V.floating.style;j.setProperty("--reka-popper-available-width",`${O}px`),j.setProperty("--reka-popper-available-height",`${N}px`),j.setProperty("--reka-popper-anchor-width",`${T}px`),j.setProperty("--reka-popper-anchor-height",`${H}px`)}}),d.value&&pF({element:d.value,padding:n.arrowPadding}),fH({arrowWidth:h.value,arrowHeight:u.value}),n.hideWhenDetached&&lF({strategy:"referenceHidden",...m.value})]),b=a.computed(()=>n.reference??r.anchor.value),{floatingStyles:w,placement:S,isPositioned:C,middlewareData:x}=gS(b,c,{strategy:n.positionStrategy,placement:p,whileElementsMounted:(...V)=>yS(...V,{layoutShift:!n.disableUpdateOnLayoutShift,animationFrame:n.updatePositionStrategy==="always"}),middleware:g}),M=a.computed(()=>h_(S.value)[0]),v=a.computed(()=>h_(S.value)[1]);a.watchPostEffect(()=>{C.value&&o("placed")});const L=a.computed(()=>{var q;const V=((q=x.value.arrow)==null?void 0:q.centerOffset)!==0;return n.hideShiftedArrow&&V}),I=a.ref("");a.watchEffect(()=>{s.value&&(I.value=window.getComputedStyle(s.value).zIndex)});const _=a.computed(()=>{var V;return((V=x.value.arrow)==null?void 0:V.x)??0}),A=a.computed(()=>{var V;return((V=x.value.arrow)==null?void 0:V.y)??0});return fF({placedSide:M,onArrowChange:V=>d.value=V,arrowX:_,arrowY:A,shouldHideArrow:L}),(V,q)=>{var O,N,T;return a.openBlock(),a.createElementBlock("div",{ref_key:"floatingRef",ref:c,"data-reka-popper-content-wrapper":"",style:a.normalizeStyle({...a.unref(w),transform:a.unref(C)?a.unref(w).transform:"translate(0, -200%)",minWidth:"max-content",zIndex:I.value,"--reka-popper-transform-origin":[(O=a.unref(x).transformOrigin)==null?void 0:O.x,(N=a.unref(x).transformOrigin)==null?void 0:N.y].join(" "),...((T=a.unref(x).hide)==null?void 0:T.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}})},[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(i)},V.$attrs,{"as-child":n.asChild,as:V.as,"data-side":M.value,"data-align":v.value,style:{animation:a.unref(C)?void 0:"none"}}),{default:a.withCtx(()=>[a.renderSlot(V.$slots,"default")]),_:3},16,["as-child","as","data-side","data-align","style"])],4)}}}),C_=mF;function kF(t){const e=ql({nonce:a.ref()});return a.computed(()=>{var n;return(t==null?void 0:t.value)||((n=e.nonce)==null?void 0:n.value)})}const[Rl,gF]=tt("PopoverRoot");var bF=a.defineComponent({__name:"PopoverRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},modal:{type:Boolean,required:!1,default:!1}},emits:["update:open"],setup(t,{emit:e}){const n=t,o=e,{modal:r}=a.toRefs(n),i=Qt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),s=a.ref(),c=a.ref(!1);return gF({contentId:"",triggerId:"",modal:r,open:i,onOpenChange:d=>{i.value=d},onOpenToggle:()=>{i.value=!i.value},triggerElement:s,hasCustomAnchor:c}),(d,h)=>(a.openBlock(),a.createBlock(a.unref(c_),null,{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default",{open:a.unref(i),close:()=>i.value=!1})]),_:3}))}}),MF=bF,xF=a.defineComponent({__name:"PopoverContentImpl",props:{trapFocus:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=qe(Ce(n,"trapFocus","disableOutsidePointerEvents")),{forwardRef:i}=ke(),s=Rl();return jA(),(c,d)=>(a.openBlock(),a.createBlock(a.unref(l_),{"as-child":"",loop:"",trapped:c.trapFocus,onMountAutoFocus:d[5]||(d[5]=h=>o("openAutoFocus",h)),onUnmountAutoFocus:d[6]||(d[6]=h=>o("closeAutoFocus",h))},{default:a.withCtx(()=>[a.createVNode(a.unref(oS),{"as-child":"","disable-outside-pointer-events":c.disableOutsidePointerEvents,onPointerDownOutside:d[0]||(d[0]=h=>o("pointerDownOutside",h)),onInteractOutside:d[1]||(d[1]=h=>o("interactOutside",h)),onEscapeKeyDown:d[2]||(d[2]=h=>o("escapeKeyDown",h)),onFocusOutside:d[3]||(d[3]=h=>o("focusOutside",h)),onDismiss:d[4]||(d[4]=h=>a.unref(s).onOpenChange(!1))},{default:a.withCtx(()=>[a.createVNode(a.unref(C_),a.mergeProps(a.unref(r),{id:a.unref(s).contentId,ref:a.unref(i),"data-state":a.unref(s).open.value?"open":"closed","aria-labelledby":a.unref(s).triggerId,style:{"--reka-popover-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-popover-content-available-width":"var(--reka-popper-available-width)","--reka-popover-content-available-height":"var(--reka-popper-available-height)","--reka-popover-trigger-width":"var(--reka-popper-anchor-width)","--reka-popover-trigger-height":"var(--reka-popper-anchor-height)"},role:"dialog"}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["id","data-state","aria-labelledby"])]),_:3},8,["disable-outside-pointer-events"])]),_:3},8,["trapped"]))}}),VV=xF,wF=a.defineComponent({__name:"PopoverContentModal",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Rl(),i=a.ref(!1);II(!0);const s=Ue(n,o),{forwardRef:c,currentElement:d}=ke();return o_(d),(h,u)=>(a.openBlock(),a.createBlock(VV,a.mergeProps(a.unref(s),{ref:a.unref(c),"trap-focus":a.unref(r).open.value,"disable-outside-pointer-events":"",onCloseAutoFocus:u[0]||(u[0]=a.withModifiers(p=>{var y;o("closeAutoFocus",p),i.value||(y=a.unref(r).triggerElement.value)==null||y.focus()},["prevent"])),onPointerDownOutside:u[1]||(u[1]=p=>{o("pointerDownOutside",p);const y=p.detail.originalEvent,f=y.button===0&&y.ctrlKey===!0,m=y.button===2||f;i.value=m}),onFocusOutside:u[2]||(u[2]=a.withModifiers(()=>{},["prevent"]))}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},16,["trap-focus"]))}}),vF=wF,CF=a.defineComponent({__name:"PopoverContentNonModal",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Rl(),i=a.ref(!1),s=a.ref(!1),c=Ue(n,o);return(d,h)=>(a.openBlock(),a.createBlock(VV,a.mergeProps(a.unref(c),{"trap-focus":!1,"disable-outside-pointer-events":!1,onCloseAutoFocus:h[0]||(h[0]=u=>{var p;o("closeAutoFocus",u),u.defaultPrevented||(i.value||(p=a.unref(r).triggerElement.value)==null||p.focus(),u.preventDefault()),i.value=!1,s.value=!1}),onInteractOutside:h[1]||(h[1]=async u=>{var f;o("interactOutside",u),u.defaultPrevented||(i.value=!0,u.detail.originalEvent.type==="pointerdown"&&(s.value=!0));const p=u.target;((f=a.unref(r).triggerElement.value)==null?void 0:f.contains(p))&&u.preventDefault(),u.detail.originalEvent.type==="focusin"&&s.value&&u.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16))}}),LF=CF,SF=a.defineComponent({__name:"PopoverContent",props:{forceMount:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Rl(),i=Ue(n,o),{forwardRef:s}=ke();return r.contentId||(r.contentId=Ba(void 0,"reka-popover-content")),(c,d)=>(a.openBlock(),a.createBlock(a.unref(Hl),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[a.unref(r).modal.value?(a.openBlock(),a.createBlock(vF,a.mergeProps({key:0},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16)):(a.openBlock(),a.createBlock(LF,a.mergeProps({key:1},a.unref(i),{ref:a.unref(s)}),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),IF=SF,_F=a.defineComponent({__name:"PopoverPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),BF=_F,AF=a.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=Rl(),{forwardRef:o,currentElement:r}=ke();return n.triggerId||(n.triggerId=Ba(void 0,"reka-popover-trigger")),a.onMounted(()=>{n.triggerElement.value=r.value}),(i,s)=>(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(n).hasCustomAnchor.value?a.unref(ye):a.unref(d_)),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(ye),{id:a.unref(n).triggerId,ref:a.unref(o),type:i.as==="button"?"button":void 0,"aria-haspopup":"dialog","aria-expanded":a.unref(n).open.value,"aria-controls":a.unref(n).contentId,"data-state":a.unref(n).open.value?"open":"closed",as:i.as,"as-child":e.asChild,onClick:a.unref(n).onOpenToggle},{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},8,["id","type","aria-expanded","aria-controls","data-state","as","as-child","onClick"])]),_:3}))}}),VF=AF,PF=a.defineComponent({__name:"Label",props:{for:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"label"}},setup(t){const e=t;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{onMousedown:o[0]||(o[0]=r=>{!r.defaultPrevented&&r.detail>1&&r.preventDefault()})}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),DF=PF,qF=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t;return ke(),(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"data-type":"ellipsis"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default",{},()=>[o[0]||(o[0]=a.createTextVNode("…"))])]),_:3},16))}}),zF=qF;const[Ks,EF]=tt("PaginationRoot");var TF=a.defineComponent({__name:"PaginationRoot",props:{page:{type:Number,required:!1},defaultPage:{type:Number,required:!1,default:1},itemsPerPage:{type:Number,required:!0},total:{type:Number,required:!1,default:0},siblingCount:{type:Number,required:!1,default:2},disabled:{type:Boolean,required:!1},showEdges:{type:Boolean,required:!1,default:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"nav"}},emits:["update:page"],setup(t,{emit:e}){const n=t,o=e,{siblingCount:r,disabled:i,showEdges:s}=a.toRefs(n);ke();const c=Qt(n,"page",o,{defaultValue:n.defaultPage,passive:n.page===void 0}),d=a.computed(()=>Math.max(1,Math.ceil(n.total/(n.itemsPerPage||1))));return EF({page:c,onPageChange(h){c.value=h},pageCount:d,siblingCount:r,disabled:i,showEdges:s}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:h.as,"as-child":h.asChild},{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default",{page:a.unref(c),pageCount:d.value})]),_:3},8,["as","as-child"]))}}),OF=TF,HF=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=Ks();ke();const o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"First Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("First page"))])]),_:3},16,["type","disabled"]))}}),FF=HF,$F=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=Ks();ke();const o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"Last Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).pageCount.value))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Last page"))])]),_:3},16,["type","disabled"]))}}),jF=$F;function Da(t,e){const n=e-t+1;return Array.from({length:n},(o,r)=>r+t)}function RF(t){return t.map(e=>typeof e=="number"?{type:"page",value:e}:{type:"ellipsis"})}const bS="ellipsis";function NF(t,e,n,o){const i=e,s=Math.max(t-n,1),c=Math.min(t+n,i);if(o){const h=Math.min(2*n+5,e)-2,u=s>3&&Math.abs(i-h-1+1)>2&&Math.abs(s-1)>2,p=c<i-2&&Math.abs(i-h)>2&&Math.abs(i-c)>2;if(!u&&p)return[...Da(1,h),bS,i];if(u&&!p){const f=Da(i-h+1,i);return[1,bS,...f]}if(u&&p){const f=Da(s,c);return[1,bS,...f,bS,i]}return Da(1,i)}else{const d=n*2+1;return e<d?Da(1,i):t<=n+1?Da(1,d):e-t<=n?Da(e-d+1,i):Da(s,c)}}var UF=a.defineComponent({__name:"PaginationList",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>RF(NF(n.page.value,n.pageCount.value,n.siblingCount.value,n.showEdges.value)));return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{items:o.value})]),_:3},16))}}),WF=UF,GF=a.defineComponent({__name:"PaginationListItem",props:{value:{type:Number,required:!0},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>n.page.value===e.value),r=a.computed(()=>n.disabled.value);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"data-type":"page","aria-label":`Page ${i.value}`,"aria-current":o.value?"page":void 0,"data-selected":o.value?"true":void 0,disabled:r.value,type:i.as==="button"?"button":void 0,onClick:s[0]||(s[0]=c=>!r.value&&a.unref(n).onPageChange(i.value))}),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default",{},()=>[a.createTextVNode(a.toDisplayString(i.value),1)])]),_:3},16,["aria-label","aria-current","data-selected","disabled","type"]))}}),YF=GF,KF=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>n.page.value===n.pageCount.value||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"Next Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value+1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Next page"))])]),_:3},16,["type","disabled"]))}}),XF=KF,ZF=a.defineComponent({__name:"PaginationPrev",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t;ke();const n=Ks(),o=a.computed(()=>n.page.value===1||n.disabled.value);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps(e,{"aria-label":"Previous Page",type:r.as==="button"?"button":void 0,disabled:o.value,onClick:i[0]||(i[0]=s=>!o.value&&a.unref(n).onPageChange(a.unref(n).page.value-1))}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[1]||(i[1]=a.createTextVNode("Prev page"))])]),_:3},16,["type","disabled"]))}}),JF=ZF;const QF=[" ","Enter","ArrowUp","ArrowDown"],e$=[" ","Enter"],Ct=10;function Nl(t,e,n){return t===void 0?!1:Array.isArray(t)?t.some(o=>L_(o,e,n)):L_(t,e,n)}function L_(t,e,n){return t===void 0||e===void 0?!1:typeof t=="string"?t===e:typeof n=="function"?n(t,e):typeof n=="string"?(t==null?void 0:t[n])===(e==null?void 0:e[n]):dE(t,e)}function t$(t){return t==null||t===""||Array.isArray(t)&&t.length===0}const a$={key:0,value:""},[qa,PV]=tt("SelectRoot");var n$=a.defineComponent({inheritAttrs:!1,__name:"SelectRoot",props:{open:{type:Boolean,required:!1,default:void 0},defaultOpen:{type:Boolean,required:!1},defaultValue:{type:null,required:!1},modelValue:{type:null,required:!1,default:void 0},by:{type:[String,Function],required:!1},dir:{type:String,required:!1},multiple:{type:Boolean,required:!1},autocomplete:{type:String,required:!1},disabled:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1}},emits:["update:modelValue","update:open"],setup(t,{emit:e}){const n=t,o=e,{required:r,disabled:i,multiple:s,dir:c}=a.toRefs(n),d=Qt(n,"modelValue",o,{defaultValue:n.defaultValue??(s.value?[]:void 0),passive:n.modelValue===void 0,deep:!0}),h=Qt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0}),u=a.ref(),p=a.ref(),y=a.ref({x:0,y:0}),f=a.computed(()=>{var C;return s.value&&Array.isArray(d.value)?((C=d.value)==null?void 0:C.length)===0:vI(d.value)});Ns({isProvider:!0});const m=$A(c),k=xT(u),g=a.ref(new Set),b=a.computed(()=>Array.from(g.value).map(C=>C.value).join(";"));function w(C){if(s.value){const x=Array.isArray(d.value)?[...d.value]:[],M=x.findIndex(v=>L_(v,C,n.by));M===-1?x.push(C):x.splice(M,1),d.value=[...x]}else d.value=C}function S(C){return Array.from(g.value).find(x=>Nl(C,x.value,n.by))}return PV({triggerElement:u,onTriggerChange:C=>{u.value=C},valueElement:p,onValueElementChange:C=>{p.value=C},contentId:"",modelValue:d,onValueChange:w,by:n.by,open:h,multiple:s,required:r,onOpenChange:C=>{h.value=C},dir:m,triggerPointerDownPosRef:y,disabled:i,isEmptyModelValue:f,optionsSet:g,onOptionAdd:C=>{const x=S(C.value);x&&g.value.delete(x),g.value.add(C)},onOptionRemove:C=>{const x=S(C.value);x&&g.value.delete(x)}}),(C,x)=>(a.openBlock(),a.createBlock(a.unref(c_),null,{default:a.withCtx(()=>[a.renderSlot(C.$slots,"default",{modelValue:a.unref(d),open:a.unref(h)}),a.unref(k)?(a.openBlock(),a.createBlock(i$,{key:b.value,"aria-hidden":"true",tabindex:"-1",multiple:a.unref(s),required:a.unref(r),name:C.name,autocomplete:C.autocomplete,disabled:a.unref(i),value:a.unref(d)},{default:a.withCtx(()=>[a.unref(vI)(a.unref(d))?(a.openBlock(),a.createElementBlock("option",a$)):a.createCommentVNode("v-if",!0),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(Array.from(g.value),M=>(a.openBlock(),a.createElementBlock("option",a.mergeProps({key:M.value??""},{ref_for:!0},M),null,16))),128))]),_:1},8,["multiple","required","name","autocomplete","disabled","value"])):a.createCommentVNode("v-if",!0)]),_:3}))}}),o$=n$,r$=a.defineComponent({__name:"BubbleSelect",props:{autocomplete:{type:String,required:!1},autofocus:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},form:{type:String,required:!1},multiple:{type:Boolean,required:!1},name:{type:String,required:!1},required:{type:Boolean,required:!1},size:{type:Number,required:!1},value:{type:null,required:!1}},setup(t){const e=t,n=a.ref(),o=qa();a.watch(()=>e.value,(i,s)=>{const c=window.HTMLSelectElement.prototype,h=Object.getOwnPropertyDescriptor(c,"value").set;if(i!==s&&h&&n.value){const u=new Event("change",{bubbles:!0});h.call(n.value,i),n.value.dispatchEvent(u)}});function r(i){o.onValueChange(i.target.value)}return(i,s)=>(a.openBlock(),a.createBlock(a.unref(cV),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("select",a.mergeProps({ref_key:"selectElement",ref:n},e,{onInput:r}),[a.renderSlot(i.$slots,"default")],16)]),_:3}))}}),i$=r$,s$=a.defineComponent({__name:"SelectPopperPosition",props:{side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1,default:Ct},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const n=qe(t);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(C_),a.mergeProps(a.unref(n),{style:{boxSizing:"border-box","--reka-select-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-select-content-available-width":"var(--reka-popper-available-width)","--reka-select-content-available-height":"var(--reka-popper-available-height)","--reka-select-trigger-width":"var(--reka-popper-anchor-width)","--reka-select-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16))}}),l$=s$;const c$={onViewportChange:()=>{},itemTextRefCallback:()=>{},itemRefCallback:()=>{}},[ss,DV]=tt("SelectContent");var d$=a.defineComponent({__name:"SelectContentImpl",props:{position:{type:String,required:!1,default:"item-aligned"},bodyLock:{type:Boolean,required:!1,default:!0},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1,default:"start"},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1,default:!0}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=qa();jA(),II(n.bodyLock);const{CollectionSlot:i,getItems:s}=Ns(),c=a.ref();o_(c);const{search:d,handleTypeaheadSearch:h}=UA(),u=a.ref(),p=a.ref(),y=a.ref(),f=a.ref(!1),m=a.ref(!1),k=a.ref(!1);function g(){p.value&&c.value&&QA([p.value,c.value])}a.watch(f,()=>{g()});const{onOpenChange:b,triggerPointerDownPosRef:w}=r;a.watchEffect(M=>{if(!c.value)return;let v={x:0,y:0};const L=_=>{var A,V;v={x:Math.abs(Math.round(_.pageX)-(((A=w.value)==null?void 0:A.x)??0)),y:Math.abs(Math.round(_.pageY)-(((V=w.value)==null?void 0:V.y)??0))}},I=_=>{var A;_.pointerType!=="touch"&&(v.x<=10&&v.y<=10?_.preventDefault():(A=c.value)!=null&&A.contains(_.target)||b(!1),document.removeEventListener("pointermove",L),w.value=null)};w.value!==null&&(document.addEventListener("pointermove",L),document.addEventListener("pointerup",I,{capture:!0,once:!0})),M(()=>{document.removeEventListener("pointermove",L),document.removeEventListener("pointerup",I,{capture:!0})})});function S(M){const v=M.ctrlKey||M.altKey||M.metaKey;if(M.key==="Tab"&&M.preventDefault(),!v&&M.key.length===1&&h(M.key,s()),["ArrowUp","ArrowDown","Home","End"].includes(M.key)){let I=[...s().map(_=>_.ref)];if(["ArrowUp","End"].includes(M.key)&&(I=I.slice().reverse()),["ArrowUp","ArrowDown"].includes(M.key)){const _=M.target,A=I.indexOf(_);I=I.slice(A+1)}setTimeout(()=>QA(I)),M.preventDefault()}}const C=a.computed(()=>n.position==="popper"?n:{}),x=qe(C.value);return DV({content:c,viewport:u,onViewportChange:M=>{u.value=M},itemRefCallback:(M,v,L)=>{const I=!m.value&&!L,_=Nl(r.modelValue.value,v,r.by);if(r.multiple.value){if(k.value)return;(_||I)&&(p.value=M,_&&(k.value=!0))}else(_||I)&&(p.value=M);I&&(m.value=!0)},selectedItem:p,selectedItemText:y,onItemLeave:()=>{var M;(M=c.value)==null||M.focus()},itemTextRefCallback:(M,v,L)=>{const I=!m.value&&!L;(Nl(r.modelValue.value,v,r.by)||I)&&(y.value=M)},focusSelectedItem:g,position:n.position,isPositioned:f,searchRef:d}),(M,v)=>(a.openBlock(),a.createBlock(a.unref(i),null,{default:a.withCtx(()=>[a.createVNode(a.unref(l_),{"as-child":"",onMountAutoFocus:v[6]||(v[6]=a.withModifiers(()=>{},["prevent"])),onUnmountAutoFocus:v[7]||(v[7]=L=>{var I;o("closeAutoFocus",L),!L.defaultPrevented&&((I=a.unref(r).triggerElement.value)==null||I.focus({preventScroll:!0}),L.preventDefault())})},{default:a.withCtx(()=>[a.createVNode(a.unref(oS),{"as-child":"","disable-outside-pointer-events":M.disableOutsidePointerEvents,onFocusOutside:v[2]||(v[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:v[3]||(v[3]=L=>a.unref(r).onOpenChange(!1)),onEscapeKeyDown:v[4]||(v[4]=L=>o("escapeKeyDown",L)),onPointerDownOutside:v[5]||(v[5]=L=>o("pointerDownOutside",L))},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(M.position==="popper"?l$:y$),a.mergeProps({...M.$attrs,...a.unref(x)},{id:a.unref(r).contentId,ref:L=>{const I=a.unref(Ht)(L);I!=null&&I.hasAttribute("data-reka-popper-content-wrapper")?c.value=I.firstElementChild:c.value=I},role:"listbox","data-state":a.unref(r).open.value?"open":"closed",dir:a.unref(r).dir.value,style:{display:"flex",flexDirection:"column",outline:"none"},onContextmenu:v[0]||(v[0]=a.withModifiers(()=>{},["prevent"])),onPlaced:v[1]||(v[1]=L=>f.value=!0),onKeydown:S}),{default:a.withCtx(()=>[a.renderSlot(M.$slots,"default")]),_:3},16,["id","data-state","dir","onKeydown"]))]),_:3},8,["disable-outside-pointer-events"])]),_:3})]),_:3}))}}),h$=d$;const[S_,u$]=tt("SelectItemAlignedPosition");var p$=a.defineComponent({inheritAttrs:!1,__name:"SelectItemAlignedPosition",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["placed"],setup(t,{emit:e}){const n=t,o=e,{getItems:r}=Ns(),i=qa(),s=ss(),c=a.ref(!1),d=a.ref(!0),h=a.ref(),{forwardRef:u,currentElement:p}=ke(),{viewport:y,selectedItem:f,selectedItemText:m,focusSelectedItem:k}=s;function g(){if(i.triggerElement.value&&i.valueElement.value&&h.value&&p.value&&(y!=null&&y.value)&&(f!=null&&f.value)&&(m!=null&&m.value)){const S=i.triggerElement.value.getBoundingClientRect(),C=p.value.getBoundingClientRect(),x=i.valueElement.value.getBoundingClientRect(),M=m.value.getBoundingClientRect();if(i.dir.value!=="rtl"){const le=M.left-C.left,Le=x.left-le,ue=S.left-Le,U=S.width+ue,z=Math.max(U,C.width),W=window.innerWidth-Ct,ee=XB(Le,Ct,Math.max(Ct,W-z));h.value.style.minWidth=`${U}px`,h.value.style.left=`${ee}px`}else{const le=C.right-M.right,Le=window.innerWidth-x.right-le,ue=window.innerWidth-S.right-Le,U=S.width+ue,z=Math.max(U,C.width),W=window.innerWidth-Ct,ee=XB(Le,Ct,Math.max(Ct,W-z));h.value.style.minWidth=`${U}px`,h.value.style.right=`${ee}px`}const v=r().map(le=>le.ref),L=window.innerHeight-Ct*2,I=y.value.scrollHeight,_=window.getComputedStyle(p.value),A=Number.parseInt(_.borderTopWidth,10),V=Number.parseInt(_.paddingTop,10),q=Number.parseInt(_.borderBottomWidth,10),O=Number.parseInt(_.paddingBottom,10),N=A+V+I+O+q,T=Math.min(f.value.offsetHeight*5,N),H=window.getComputedStyle(y.value),j=Number.parseInt(H.paddingTop,10),Z=Number.parseInt(H.paddingBottom,10),P=S.top+S.height/2-Ct,D=L-P,G=f.value.offsetHeight/2,ne=f.value.offsetTop+G,te=A+V+ne,ce=N-te;if(te<=P){const le=f.value===v[v.length-1];h.value.style.bottom="0px";const Le=p.value.clientHeight-y.value.offsetTop-y.value.offsetHeight,ue=Math.max(D,G+(le?Z:0)+Le+q),U=te+ue;h.value.style.height=`${U}px`}else{const le=f.value===v[0];h.value.style.top="0px";const ue=Math.max(P,A+y.value.offsetTop+(le?j:0)+G)+ce;h.value.style.height=`${ue}px`,y.value.scrollTop=te-P+y.value.offsetTop}h.value.style.margin=`${Ct}px 0`,h.value.style.minHeight=`${T}px`,h.value.style.maxHeight=`${L}px`,o("placed"),requestAnimationFrame(()=>c.value=!0)}}const b=a.ref("");a.onMounted(async()=>{await a.nextTick(),g(),p.value&&(b.value=window.getComputedStyle(p.value).zIndex)});function w(S){S&&d.value===!0&&(g(),k==null||k(),d.value=!1)}return lE(i.triggerElement,()=>{g()}),u$({contentWrapper:h,shouldExpandOnScrollRef:c,onScrollButtonChange:w}),(S,C)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"contentWrapperElement",ref:h,style:a.normalizeStyle({display:"flex",flexDirection:"column",position:"fixed",zIndex:b.value})},[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(u),style:{boxSizing:"border-box",maxHeight:"100%"}},{...S.$attrs,...n}),{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default")]),_:3},16)],4))}}),y$=p$,f$=a.defineComponent({inheritAttrs:!1,__name:"SelectProvider",props:{context:{type:Object,required:!0}},setup(t){return PV(t.context),DV(c$),(n,o)=>a.renderSlot(n.$slots,"default")}}),m$=f$;const k$={key:1};var g$=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean,required:!1},position:{type:String,required:!1},bodyLock:{type:Boolean,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},sideFlip:{type:Boolean,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},alignFlip:{type:Boolean,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},hideShiftedArrow:{type:Boolean,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1},disableUpdateOnLayoutShift:{type:Boolean,required:!1},prioritizePosition:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},disableOutsidePointerEvents:{type:Boolean,required:!1}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,r=Ue(n,e),i=qa(),s=a.ref();a.onMounted(()=>{s.value=new DocumentFragment});const c=a.ref(),d=a.computed(()=>n.forceMount||i.open.value),h=a.ref(d.value);return a.watch(d,()=>{setTimeout(()=>h.value=d.value)}),(u,p)=>{var y;return d.value||h.value||(y=c.value)!=null&&y.present?(a.openBlock(),a.createBlock(a.unref(Hl),{key:0,ref_key:"presenceRef",ref:c,present:d.value},{default:a.withCtx(()=>[a.createVNode(h$,a.normalizeProps(a.guardReactiveProps({...a.unref(r),...u.$attrs})),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16)]),_:3},8,["present"])):s.value?(a.openBlock(),a.createElementBlock("div",k$,[(a.openBlock(),a.createBlock(a.Teleport,{to:s.value},[a.createVNode(m$,{context:a.unref(i)},{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},8,["context"])],8,["to"]))])):a.createCommentVNode("v-if",!0)}}}),b$=g$,M$=a.defineComponent({__name:"SelectIcon",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.unref(ye),{"aria-hidden":"true",as:e.as,"as-child":e.asChild},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"default",{},()=>[n[0]||(n[0]=a.createTextVNode("▼"))])]),_:3},8,["as","as-child"]))}}),x$=M$;const[qV,w$]=tt("SelectItem");var v$=a.defineComponent({__name:"SelectItem",props:{value:{type:null,required:!0},disabled:{type:Boolean,required:!1},textValue:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},emits:["select"],setup(t,{emit:e}){const n=t,o=e,{disabled:r}=a.toRefs(n),i=qa(),s=ss(),{forwardRef:c,currentElement:d}=ke(),{CollectionItem:h}=Ns(),u=a.computed(()=>{var C;return Nl((C=i.modelValue)==null?void 0:C.value,n.value,i.by)}),p=a.ref(!1),y=a.ref(n.textValue??""),f=Ba(void 0,"reka-select-item-text"),m="select.select";async function k(C){if(C.defaultPrevented)return;const x={originalEvent:C,value:n.value};wI(m,g,x)}async function g(C){await a.nextTick(),o("select",C),!C.defaultPrevented&&(r.value||(i.onValueChange(n.value),i.multiple.value||i.onOpenChange(!1)))}async function b(C){var x,M;await a.nextTick(),!C.defaultPrevented&&(r.value?(x=s.onItemLeave)==null||x.call(s):(M=C.currentTarget)==null||M.focus({preventScroll:!0}))}async function w(C){var x;await a.nextTick(),!C.defaultPrevented&&C.currentTarget===st()&&((x=s.onItemLeave)==null||x.call(s))}async function S(C){var M;await a.nextTick(),!(C.defaultPrevented||((M=s.searchRef)==null?void 0:M.value)!==""&&C.key===" ")&&(e$.includes(C.key)&&k(C),C.key===" "&&C.preventDefault())}if(n.value==="")throw new Error("A <SelectItem /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return a.onMounted(()=>{d.value&&s.itemRefCallback(d.value,n.value,n.disabled)}),w$({value:n.value,disabled:r,textId:f,isSelected:u,onItemTextChange:C=>{y.value=((y.value||(C==null?void 0:C.textContent))??"").trim()}}),(C,x)=>(a.openBlock(),a.createBlock(a.unref(h),{value:{textValue:y.value}},{default:a.withCtx(()=>[a.createVNode(a.unref(ye),{ref:a.unref(c),role:"option","aria-labelledby":a.unref(f),"data-highlighted":p.value?"":void 0,"aria-selected":u.value,"data-state":u.value?"checked":"unchecked","aria-disabled":a.unref(r)||void 0,"data-disabled":a.unref(r)?"":void 0,tabindex:a.unref(r)?void 0:-1,as:C.as,"as-child":C.asChild,onFocus:x[0]||(x[0]=M=>p.value=!0),onBlur:x[1]||(x[1]=M=>p.value=!1),onPointerup:k,onPointerdown:x[2]||(x[2]=M=>{M.currentTarget.focus({preventScroll:!0})}),onTouchend:x[3]||(x[3]=a.withModifiers(()=>{},["prevent","stop"])),onPointermove:b,onPointerleave:w,onKeydown:S},{default:a.withCtx(()=>[a.renderSlot(C.$slots,"default")]),_:3},8,["aria-labelledby","data-highlighted","aria-selected","data-state","aria-disabled","data-disabled","tabindex","as","as-child"])]),_:3},8,["value"]))}}),C$=v$,L$=a.defineComponent({__name:"SelectItemIndicator",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=qV();return(o,r)=>a.unref(n).isSelected.value?(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({key:0,"aria-hidden":"true"},e),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16)):a.createCommentVNode("v-if",!0)}}),S$=L$,I$=a.defineComponent({inheritAttrs:!1,__name:"SelectItemText",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,n=qa(),o=ss(),r=qV(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var d,h;return{value:r.value,disabled:r.disabled.value,textContent:((d=s.value)==null?void 0:d.textContent)??((h=r.value)==null?void 0:h.toString())??""}});return a.onMounted(()=>{s.value&&(r.onItemTextChange(s.value),o.itemTextRefCallback(s.value,r.value,r.disabled.value),n.onOptionAdd(c.value))}),a.onUnmounted(()=>{n.onOptionRemove(c.value)}),(d,h)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({id:a.unref(r).textId,ref:a.unref(i)},{...e,...d.$attrs}),{default:a.withCtx(()=>[a.renderSlot(d.$slots,"default")]),_:3},16,["id"]))}}),_$=I$,B$=a.defineComponent({__name:"SelectPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),A$=B$,V$=a.defineComponent({__name:"SelectScrollButtonImpl",emits:["autoScroll"],setup(t,{emit:e}){const n=e,{getItems:o}=Ns(),r=ss(),i=a.ref(null);function s(){i.value!==null&&(window.clearInterval(i.value),i.value=null)}a.watchEffect(()=>{const h=o().map(u=>u.ref).find(u=>u===st());h==null||h.scrollIntoView({block:"nearest"})});function c(){i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}function d(){var h;(h=r.onItemLeave)==null||h.call(r),i.value===null&&(i.value=window.setInterval(()=>{n("autoScroll")},50))}return a.onBeforeUnmount(()=>s()),(h,u)=>{var p;return a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({"aria-hidden":"true",style:{flexShrink:0}},(p=h.$parent)==null?void 0:p.$props,{onPointerdown:c,onPointermove:d,onPointerleave:u[0]||(u[0]=()=>{s()})}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default")]),_:3},16)}}}),zV=V$,P$=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=ss(),n=e.position==="item-aligned"?S_():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){const p=h.scrollHeight-h.clientHeight;i.value=Math.ceil(h.scrollTop)<p};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(zV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop+h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),D$=P$,q$=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=ss(),n=e.position==="item-aligned"?S_():void 0,{forwardRef:o,currentElement:r}=ke(),i=a.ref(!1);return a.watchEffect(s=>{var c,d;if((c=e.viewport)!=null&&c.value&&((d=e.isPositioned)!=null&&d.value)){let u=function(){i.value=h.scrollTop>0};const h=e.viewport.value;u(),h.addEventListener("scroll",u),s(()=>h.removeEventListener("scroll",u))}}),a.watch(r,()=>{r.value&&(n==null||n.onScrollButtonChange(r.value))}),(s,c)=>i.value?(a.openBlock(),a.createBlock(zV,{key:0,ref:a.unref(o),onAutoScroll:c[0]||(c[0]=()=>{const{viewport:d,selectedItem:h}=a.unref(e);d!=null&&d.value&&(h!=null&&h.value)&&(d.value.scrollTop=d.value.scrollTop-h.value.offsetHeight)})},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},512)):a.createCommentVNode("v-if",!0)}}),z$=q$,E$=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean,required:!1},reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=qa(),{forwardRef:o,currentElement:r}=ke(),i=a.computed(()=>{var y;return((y=n.disabled)==null?void 0:y.value)||e.disabled});n.contentId||(n.contentId=Ba(void 0,"reka-select-content")),a.onMounted(()=>{n.onTriggerChange(r.value)});const{getItems:s}=Ns(),{search:c,handleTypeaheadSearch:d,resetTypeahead:h}=UA();function u(){i.value||(n.onOpenChange(!0),h())}function p(y){u(),n.triggerPointerDownPosRef.value={x:Math.round(y.pageX),y:Math.round(y.pageY)}}return(y,f)=>(a.openBlock(),a.createBlock(a.unref(d_),{"as-child":"",reference:y.reference},{default:a.withCtx(()=>{var m,k,g,b;return[a.createVNode(a.unref(ye),{ref:a.unref(o),role:"combobox",type:y.as==="button"?"button":void 0,"aria-controls":a.unref(n).contentId,"aria-expanded":a.unref(n).open.value||!1,"aria-required":(m=a.unref(n).required)==null?void 0:m.value,"aria-autocomplete":"none",disabled:i.value,dir:(k=a.unref(n))==null?void 0:k.dir.value,"data-state":(g=a.unref(n))!=null&&g.open.value?"open":"closed","data-disabled":i.value?"":void 0,"data-placeholder":a.unref(t$)((b=a.unref(n).modelValue)==null?void 0:b.value)?"":void 0,"as-child":y.asChild,as:y.as,onClick:f[0]||(f[0]=w=>{var S;(S=w==null?void 0:w.currentTarget)==null||S.focus()}),onPointerdown:f[1]||(f[1]=w=>{if(w.pointerType==="touch")return w.preventDefault();const S=w.target;S.hasPointerCapture(w.pointerId)&&S.releasePointerCapture(w.pointerId),w.button===0&&w.ctrlKey===!1&&(p(w),w.preventDefault())}),onPointerup:f[2]||(f[2]=a.withModifiers(w=>{w.pointerType==="touch"&&p(w)},["prevent"])),onKeydown:f[3]||(f[3]=w=>{const S=a.unref(c)!=="";!(w.ctrlKey||w.altKey||w.metaKey)&&w.key.length===1&&S&&w.key===" "||(a.unref(d)(w.key,a.unref(s)()),a.unref(QF).includes(w.key)&&(u(),w.preventDefault()))})},{default:a.withCtx(()=>[a.renderSlot(y.$slots,"default")]),_:3},8,["type","aria-controls","aria-expanded","aria-required","disabled","dir","data-state","data-disabled","data-placeholder","as-child","as"])]}),_:3},8,["reference"]))}}),T$=E$,O$=a.defineComponent({__name:"SelectValue",props:{placeholder:{type:String,required:!1,default:""},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"span"}},setup(t){const e=t,{forwardRef:n,currentElement:o}=ke(),r=qa();a.onMounted(()=>{r.valueElement=o});const i=a.computed(()=>{var u;let c=[];const d=Array.from(r.optionsSet.value),h=p=>d.find(y=>Nl(p,y.value,r.by));return Array.isArray(r.modelValue.value)?c=r.modelValue.value.map(p=>{var y;return((y=h(p))==null?void 0:y.textContent)??""}):c=[((u=h(r.modelValue.value))==null?void 0:u.textContent)??""],c.filter(Boolean)}),s=a.computed(()=>i.value.length?i.value.join(", "):e.placeholder);return(c,d)=>(a.openBlock(),a.createBlock(a.unref(ye),{ref:a.unref(n),as:c.as,"as-child":c.asChild,style:{pointerEvents:"none"},"data-placeholder":i.value.length?void 0:e.placeholder},{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default",{selectedLabel:i.value,modelValue:a.unref(r).modelValue.value},()=>[a.createTextVNode(a.toDisplayString(s.value),1)])]),_:3},8,["as","as-child","data-placeholder"]))}}),H$=O$,F$=a.defineComponent({__name:"SelectViewport",props:{nonce:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,{nonce:n}=a.toRefs(e),o=kF(n),r=ss(),i=r.position==="item-aligned"?S_():void 0,{forwardRef:s,currentElement:c}=ke();a.onMounted(()=>{r==null||r.onViewportChange(c.value)});const d=a.ref(0);function h(u){const p=u.currentTarget,{shouldExpandOnScrollRef:y,contentWrapper:f}=i??{};if(y!=null&&y.value&&(f!=null&&f.value)){const m=Math.abs(d.value-p.scrollTop);if(m>0){const k=window.innerHeight-Ct*2,g=Number.parseFloat(f.value.style.minHeight),b=Number.parseFloat(f.value.style.height),w=Math.max(g,b);if(w<k){const S=w+m,C=Math.min(k,S),x=S-C;f.value.style.height=`${C}px`,f.value.style.bottom==="0px"&&(p.scrollTop=x>0?x:0,f.value.style.justifyContent="flex-end")}}}d.value=p.scrollTop}return(u,p)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(s),"data-reka-select-viewport":"",role:"presentation"},{...u.$attrs,...e},{style:{position:"relative",flex:1,overflow:"hidden auto"},onScroll:h}),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16),a.createVNode(a.unref(ye),{as:"style",nonce:a.unref(o)},{default:a.withCtx(()=>p[0]||(p[0]=[a.createTextVNode(" /* Hide scrollbars cross-browser and enable momentum scroll for touch devices */ [data-reka-select-viewport] { scrollbar-width:none; -ms-overflow-style: none; -webkit-overflow-scrolling: touch; } [data-reka-select-viewport]::-webkit-scrollbar { display: none; } ")])),_:1,__:[0]},8,["nonce"])],64))}}),$$=F$,j$=a.defineComponent({__name:"BaseSeparator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t,n=["horizontal","vertical"];function o(c){return n.includes(c)}const r=a.computed(()=>o(e.orientation)?e.orientation:"horizontal"),i=a.computed(()=>r.value==="vertical"?e.orientation:void 0),s=a.computed(()=>e.decorative?{role:"none"}:{"aria-orientation":i.value,role:"separator"});return(c,d)=>(a.openBlock(),a.createBlock(a.unref(ye),a.mergeProps({as:c.as,"as-child":c.asChild,"data-orientation":r.value},s.value),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16,["as","as-child","data-orientation"]))}}),R$=j$,N$=a.defineComponent({__name:"Separator",props:{orientation:{type:String,required:!1,default:"horizontal"},decorative:{type:Boolean,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(R$,a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),U$=N$;const[I_,W$]=tt("TooltipProvider");var G$=a.defineComponent({inheritAttrs:!1,__name:"TooltipProvider",props:{delayDuration:{type:Number,required:!1,default:700},skipDelayDuration:{type:Number,required:!1,default:300},disableHoverableContent:{type:Boolean,required:!1,default:!1},disableClosingTrigger:{type:Boolean,required:!1},disabled:{type:Boolean,required:!1},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:!1}},setup(t){const e=t,{delayDuration:n,skipDelayDuration:o,disableHoverableContent:r,disableClosingTrigger:i,ignoreNonKeyboardFocus:s,disabled:c}=a.toRefs(e);ke();const d=a.ref(!0),h=a.ref(!1),{start:u,stop:p}=UB(()=>{d.value=!0},o,{immediate:!1});return W$({isOpenDelayed:d,delayDuration:n,onOpen(){p(),d.value=!1},onClose(){u()},isPointerInTransitRef:h,disableHoverableContent:r,disableClosingTrigger:i,disabled:c,ignoreNonKeyboardFocus:s}),(y,f)=>a.renderSlot(y.$slots,"default")}}),Y$=G$;const EV="tooltip.open",[MS,K$]=tt("TooltipRoot");var X$=a.defineComponent({__name:"TooltipRoot",props:{defaultOpen:{type:Boolean,required:!1,default:!1},open:{type:Boolean,required:!1,default:void 0},delayDuration:{type:Number,required:!1,default:void 0},disableHoverableContent:{type:Boolean,required:!1,default:void 0},disableClosingTrigger:{type:Boolean,required:!1,default:void 0},disabled:{type:Boolean,required:!1,default:void 0},ignoreNonKeyboardFocus:{type:Boolean,required:!1,default:void 0}},emits:["update:open"],setup(t,{emit:e}){const n=t,o=e;ke();const r=I_(),i=a.computed(()=>n.disableHoverableContent??r.disableHoverableContent.value),s=a.computed(()=>n.disableClosingTrigger??r.disableClosingTrigger.value),c=a.computed(()=>n.disabled??r.disabled.value),d=a.computed(()=>n.delayDuration??r.delayDuration.value),h=a.computed(()=>n.ignoreNonKeyboardFocus??r.ignoreNonKeyboardFocus.value),u=Qt(n,"open",o,{defaultValue:n.defaultOpen,passive:n.open===void 0});a.watch(u,S=>{r.onClose&&(S?(r.onOpen(),document.dispatchEvent(new CustomEvent(EV))):r.onClose())});const p=a.ref(!1),y=a.ref(),f=a.computed(()=>u.value?p.value?"delayed-open":"instant-open":"closed"),{start:m,stop:k}=UB(()=>{p.value=!0,u.value=!0},d,{immediate:!1});function g(){k(),p.value=!1,u.value=!0}function b(){k(),u.value=!1}function w(){m()}return K$({contentId:"",open:u,stateAttribute:f,trigger:y,onTriggerChange(S){y.value=S},onTriggerEnter(){r.isOpenDelayed.value?w():g()},onTriggerLeave(){i.value?b():k()},onOpen:g,onClose:b,disableHoverableContent:i,disableClosingTrigger:s,disabled:c,ignoreNonKeyboardFocus:h}),(S,C)=>(a.openBlock(),a.createBlock(a.unref(c_),null,{default:a.withCtx(()=>[a.renderSlot(S.$slots,"default",{open:a.unref(u)})]),_:3}))}}),Z$=X$,J$=a.defineComponent({__name:"TooltipContentImpl",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1,default:0},align:{type:null,required:!1,default:"center"},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1,default:!0},collisionBoundary:{type:null,required:!1,default:()=>[]},collisionPadding:{type:[Number,Object],required:!1,default:0},arrowPadding:{type:Number,required:!1,default:0},sticky:{type:String,required:!1,default:"partial"},hideWhenDetached:{type:Boolean,required:!1,default:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=MS(),{forwardRef:i,currentElement:s}=ke(),c=a.computed(()=>{var h;return n.ariaLabel||((h=s.value)==null?void 0:h.textContent)}),d=a.computed(()=>{const{ariaLabel:h,...u}=n;return u});return a.onMounted(()=>{Pl(window,"scroll",h=>{const u=h.target;u!=null&&u.contains(r.trigger.value)&&r.onClose()}),Pl(window,EV,r.onClose)}),(h,u)=>(a.openBlock(),a.createBlock(a.unref(oS),{"as-child":"","disable-outside-pointer-events":!1,onEscapeKeyDown:u[0]||(u[0]=p=>o("escapeKeyDown",p)),onPointerDownOutside:u[1]||(u[1]=p=>{var y;a.unref(r).disableClosingTrigger.value&&((y=a.unref(r).trigger.value)!=null&&y.contains(p.target))&&p.preventDefault(),o("pointerDownOutside",p)}),onFocusOutside:u[2]||(u[2]=a.withModifiers(()=>{},["prevent"])),onDismiss:u[3]||(u[3]=p=>a.unref(r).onClose())},{default:a.withCtx(()=>[a.createVNode(a.unref(C_),a.mergeProps({ref:a.unref(i),"data-state":a.unref(r).stateAttribute.value},{...h.$attrs,...d.value},{style:{"--reka-tooltip-content-transform-origin":"var(--reka-popper-transform-origin)","--reka-tooltip-content-available-width":"var(--reka-popper-available-width)","--reka-tooltip-content-available-height":"var(--reka-popper-available-height)","--reka-tooltip-trigger-width":"var(--reka-popper-anchor-width)","--reka-tooltip-trigger-height":"var(--reka-popper-anchor-height)"}}),{default:a.withCtx(()=>[a.renderSlot(h.$slots,"default"),a.createVNode(a.unref(cV),{id:a.unref(r).contentId,role:"tooltip"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value),1)]),_:1},8,["id"])]),_:3},16,["data-state"])]),_:3}))}}),TV=J$,Q$=a.defineComponent({__name:"TooltipContentHoverable",props:{ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},setup(t){const n=qe(t),{forwardRef:o,currentElement:r}=ke(),{trigger:i,onClose:s}=MS(),c=I_(),{isPointerInTransit:d,onPointerExit:h}=wT(i,r);return c.isPointerInTransitRef=d,h(()=>{s()}),(u,p)=>(a.openBlock(),a.createBlock(TV,a.mergeProps({ref:a.unref(o)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(u.$slots,"default")]),_:3},16))}}),ej=Q$,tj=a.defineComponent({__name:"TooltipContent",props:{forceMount:{type:Boolean,required:!1},ariaLabel:{type:String,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1},side:{type:null,required:!1,default:"top"},sideOffset:{type:Number,required:!1},align:{type:null,required:!1},alignOffset:{type:Number,required:!1},avoidCollisions:{type:Boolean,required:!1},collisionBoundary:{type:null,required:!1},collisionPadding:{type:[Number,Object],required:!1},arrowPadding:{type:Number,required:!1},sticky:{type:String,required:!1},hideWhenDetached:{type:Boolean,required:!1},positionStrategy:{type:String,required:!1},updatePositionStrategy:{type:String,required:!1}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=MS(),i=Ue(n,o),{forwardRef:s}=ke();return(c,d)=>(a.openBlock(),a.createBlock(a.unref(Hl),{present:c.forceMount||a.unref(r).open.value},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r).disableHoverableContent.value?TV:ej),a.mergeProps({ref:a.unref(s)},a.unref(i)),{default:a.withCtx(()=>[a.renderSlot(c.$slots,"default")]),_:3},16))]),_:3},8,["present"]))}}),aj=tj,nj=a.defineComponent({__name:"TooltipPortal",props:{to:{type:null,required:!1},disabled:{type:Boolean,required:!1},defer:{type:Boolean,required:!1},forceMount:{type:Boolean,required:!1}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(rS),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),oj=nj,rj=a.defineComponent({__name:"TooltipTrigger",props:{reference:{type:null,required:!1},asChild:{type:Boolean,required:!1},as:{type:null,required:!1,default:"button"}},setup(t){const e=t,n=MS(),o=I_();n.contentId||(n.contentId=Ba(void 0,"reka-tooltip-content"));const{forwardRef:r,currentElement:i}=ke(),s=a.ref(!1),c=a.ref(!1),d=a.computed(()=>n.disabled.value?{}:{click:k,focus:f,pointermove:p,pointerleave:y,pointerdown:u,blur:m});a.onMounted(()=>{n.onTriggerChange(i.value)});function h(){setTimeout(()=>{s.value=!1},1)}function u(){n.open&&!n.disableClosingTrigger.value&&n.onClose(),s.value=!0,document.addEventListener("pointerup",h,{once:!0})}function p(g){g.pointerType!=="touch"&&!c.value&&!o.isPointerInTransitRef.value&&(n.onTriggerEnter(),c.value=!0)}function y(){n.onTriggerLeave(),c.value=!1}function f(g){var b,w;s.value||n.ignoreNonKeyboardFocus.value&&!((w=(b=g.target).matches)!=null&&w.call(b,":focus-visible"))||n.onOpen()}function m(){n.onClose()}function k(){n.disableClosingTrigger.value||n.onClose()}return(g,b)=>(a.openBlock(),a.createBlock(a.unref(d_),{"as-child":"",reference:g.reference},{default:a.withCtx(()=>[a.createVNode(a.unref(ye),a.mergeProps({ref:a.unref(r),"aria-describedby":a.unref(n).open.value?a.unref(n).contentId:void 0,"data-state":a.unref(n).stateAttribute.value,as:g.as,"as-child":e.asChild,"data-grace-area-trigger":""},a.toHandlers(d.value)),{default:a.withCtx(()=>[a.renderSlot(g.$slots,"default")]),_:3},16,["aria-describedby","data-state","as","as-child"])]),_:3},8,["reference"]))}}),ij=rj;function OV(t){var e,n,o="";if(typeof t=="string"||typeof t=="number")o+=t;else if(typeof t=="object")if(Array.isArray(t)){var r=t.length;for(e=0;e<r;e++)t[e]&&(n=OV(t[e]))&&(o&&(o+=" "),o+=n)}else for(n in t)t[n]&&(o&&(o+=" "),o+=n);return o}function HV(){for(var t,e,n=0,o="",r=arguments.length;n<r;n++)(t=arguments[n])&&(e=OV(t))&&(o&&(o+=" "),o+=e);return o}const sj=(t,e)=>{const n=new Array(t.length+e.length);for(let o=0;o<t.length;o++)n[o]=t[o];for(let o=0;o<e.length;o++)n[t.length+o]=e[o];return n},lj=(t,e)=>({classGroupId:t,validator:e}),FV=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),xS="-",$V=[],cj="arbitrary..",dj=t=>{const e=uj(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=t;return{getClassGroupId:s=>{if(s.startsWith("[")&&s.endsWith("]"))return hj(s);const c=s.split(xS),d=c[0]===""&&c.length>1?1:0;return jV(c,d,e)},getConflictingClassGroupIds:(s,c)=>{if(c){const d=o[s],h=n[s];return d?h?sj(h,d):d:h||$V}return n[s]||$V}}},jV=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const r=t[e],i=n.nextPart.get(r);if(i){const h=jV(t,e+1,i);if(h)return h}const s=n.validators;if(s===null)return;const c=e===0?t.join(xS):t.slice(e).join(xS),d=s.length;for(let h=0;h<d;h++){const u=s[h];if(u.validator(c))return u.classGroupId}},hj=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),o=e.slice(0,n);return o?cj+o:void 0})(),uj=t=>{const{theme:e,classGroups:n}=t;return pj(n,e)},pj=(t,e)=>{const n=FV();for(const o in t){const r=t[o];__(r,n,o,e)}return n},__=(t,e,n,o)=>{const r=t.length;for(let i=0;i<r;i++){const s=t[i];yj(s,e,n,o)}},yj=(t,e,n,o)=>{if(typeof t=="string"){fj(t,e,n);return}if(typeof t=="function"){mj(t,e,n,o);return}kj(t,e,n,o)},fj=(t,e,n)=>{const o=t===""?e:RV(e,t);o.classGroupId=n},mj=(t,e,n,o)=>{if(gj(t)){__(t(o),e,n,o);return}e.validators===null&&(e.validators=[]),e.validators.push(lj(n,t))},kj=(t,e,n,o)=>{const r=Object.entries(t),i=r.length;for(let s=0;s<i;s++){const[c,d]=r[s];__(d,RV(e,c),n,o)}},RV=(t,e)=>{let n=t;const o=e.split(xS),r=o.length;for(let i=0;i<r;i++){const s=o[i];let c=n.nextPart.get(s);c||(c=FV(),n.nextPart.set(s,c)),n=c}return n},gj=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,bj=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),o=Object.create(null);const r=(i,s)=>{n[i]=s,e++,e>t&&(e=0,o=n,n=Object.create(null))};return{get(i){let s=n[i];if(s!==void 0)return s;if((s=o[i])!==void 0)return r(i,s),s},set(i,s){i in n?n[i]=s:r(i,s)}}},B_="!",NV=":",Mj=[],UV=(t,e,n,o,r)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:o,isExternal:r}),xj=t=>{const{prefix:e,experimentalParseClassName:n}=t;let o=r=>{const i=[];let s=0,c=0,d=0,h;const u=r.length;for(let k=0;k<u;k++){const g=r[k];if(s===0&&c===0){if(g===NV){i.push(r.slice(d,k)),d=k+1;continue}if(g==="/"){h=k;continue}}g==="["?s++:g==="]"?s--:g==="("?c++:g===")"&&c--}const p=i.length===0?r:r.slice(d);let y=p,f=!1;p.endsWith(B_)?(y=p.slice(0,-1),f=!0):p.startsWith(B_)&&(y=p.slice(1),f=!0);const m=h&&h>d?h-d:void 0;return UV(i,f,y,m)};if(e){const r=e+NV,i=o;o=s=>s.startsWith(r)?i(s.slice(r.length)):UV(Mj,!1,s,void 0,!0)}if(n){const r=o;o=i=>n({className:i,parseClassName:r})}return o},wj=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,o)=>{e.set(n,1e6+o)}),n=>{const o=[];let r=[];for(let i=0;i<n.length;i++){const s=n[i],c=s[0]==="[",d=e.has(s);c||d?(r.length>0&&(r.sort(),o.push(...r),r=[]),o.push(s)):r.push(s)}return r.length>0&&(r.sort(),o.push(...r)),o}},vj=t=>({cache:bj(t.cacheSize),parseClassName:xj(t),sortModifiers:wj(t),...dj(t)}),Cj=/\s+/,Lj=(t,e)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:r,sortModifiers:i}=e,s=[],c=t.trim().split(Cj);let d="";for(let h=c.length-1;h>=0;h-=1){const u=c[h],{isExternal:p,modifiers:y,hasImportantModifier:f,baseClassName:m,maybePostfixModifierPosition:k}=n(u);if(p){d=u+(d.length>0?" "+d:d);continue}let g=!!k,b=o(g?m.substring(0,k):m);if(!b){if(!g){d=u+(d.length>0?" "+d:d);continue}if(b=o(m),!b){d=u+(d.length>0?" "+d:d);continue}g=!1}const w=y.length===0?"":y.length===1?y[0]:i(y).join(":"),S=f?w+B_:w,C=S+b;if(s.indexOf(C)>-1)continue;s.push(C);const x=r(b,g);for(let M=0;M<x.length;++M){const v=x[M];s.push(S+v)}d=u+(d.length>0?" "+d:d)}return d},Sj=(...t)=>{let e=0,n,o,r="";for(;e<t.length;)(n=t[e++])&&(o=WV(n))&&(r&&(r+=" "),r+=o);return r},WV=t=>{if(typeof t=="string")return t;let e,n="";for(let o=0;o<t.length;o++)t[o]&&(e=WV(t[o]))&&(n&&(n+=" "),n+=e);return n},Ij=(t,...e)=>{let n,o,r,i;const s=d=>{const h=e.reduce((u,p)=>p(u),t());return n=vj(h),o=n.cache.get,r=n.cache.set,i=c,c(d)},c=d=>{const h=o(d);if(h)return h;const u=Lj(d,n);return r(d,u),u};return i=s,(...d)=>i(Sj(...d))},_j=[],je=t=>{const e=n=>n[t]||_j;return e.isThemeGetter=!0,e},GV=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,YV=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Bj=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,Aj=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Vj=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Pj=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Dj=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,qj=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,za=t=>Bj.test(t),Me=t=>!!t&&!Number.isNaN(Number(t)),Ea=t=>!!t&&Number.isInteger(Number(t)),A_=t=>t.endsWith("%")&&Me(t.slice(0,-1)),sa=t=>Aj.test(t),KV=()=>!0,zj=t=>Vj.test(t)&&!Pj.test(t),V_=()=>!1,Ej=t=>Dj.test(t),Tj=t=>qj.test(t),Oj=t=>!re(t)&&!ie(t),Hj=t=>Ta(t,tP,V_),re=t=>GV.test(t),ls=t=>Ta(t,aP,zj),XV=t=>Ta(t,Gj,Me),Fj=t=>Ta(t,oP,KV),$j=t=>Ta(t,nP,V_),ZV=t=>Ta(t,QV,V_),jj=t=>Ta(t,eP,Tj),wS=t=>Ta(t,rP,Ej),ie=t=>YV.test(t),Ul=t=>cs(t,aP),Rj=t=>cs(t,nP),JV=t=>cs(t,QV),Nj=t=>cs(t,tP),Uj=t=>cs(t,eP),vS=t=>cs(t,rP,!0),Wj=t=>cs(t,oP,!0),Ta=(t,e,n)=>{const o=GV.exec(t);return o?o[1]?e(o[1]):n(o[2]):!1},cs=(t,e,n=!1)=>{const o=YV.exec(t);return o?o[1]?e(o[1]):n:!1},QV=t=>t==="position"||t==="percentage",eP=t=>t==="image"||t==="url",tP=t=>t==="length"||t==="size"||t==="bg-size",aP=t=>t==="length",Gj=t=>t==="number",nP=t=>t==="family-name",oP=t=>t==="number"||t==="weight",rP=t=>t==="shadow",Yj=Ij(()=>{const t=je("color"),e=je("font"),n=je("text"),o=je("font-weight"),r=je("tracking"),i=je("leading"),s=je("breakpoint"),c=je("container"),d=je("spacing"),h=je("radius"),u=je("shadow"),p=je("inset-shadow"),y=je("text-shadow"),f=je("drop-shadow"),m=je("blur"),k=je("perspective"),g=je("aspect"),b=je("ease"),w=je("animate"),S=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...C(),ie,re],M=()=>["auto","hidden","clip","visible","scroll"],v=()=>["auto","contain","none"],L=()=>[ie,re,d],I=()=>[za,"full","auto",...L()],_=()=>[Ea,"none","subgrid",ie,re],A=()=>["auto",{span:["full",Ea,ie,re]},Ea,ie,re],V=()=>[Ea,"auto",ie,re],q=()=>["auto","min","max","fr",ie,re],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],N=()=>["start","end","center","stretch","center-safe","end-safe"],T=()=>["auto",...L()],H=()=>[za,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...L()],j=()=>[za,"screen","full","dvw","lvw","svw","min","max","fit",...L()],Z=()=>[za,"screen","full","lh","dvh","lvh","svh","min","max","fit",...L()],P=()=>[t,ie,re],D=()=>[...C(),JV,ZV,{position:[ie,re]}],G=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ne=()=>["auto","cover","contain",Nj,Hj,{size:[ie,re]}],te=()=>[A_,Ul,ls],ce=()=>["","none","full",h,ie,re],pe=()=>["",Me,Ul,ls],le=()=>["solid","dashed","dotted","double"],Le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ue=()=>[Me,A_,JV,ZV],U=()=>["","none",m,ie,re],z=()=>["none",Me,ie,re],W=()=>["none",Me,ie,re],ee=()=>[Me,ie,re],fe=()=>[za,"full",...L()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[sa],breakpoint:[sa],color:[KV],container:[sa],"drop-shadow":[sa],ease:["in","out","in-out"],font:[Oj],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[sa],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[sa],shadow:[sa],spacing:["px",Me],text:[sa],"text-shadow":[sa],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",za,re,ie,g]}],container:["container"],columns:[{columns:[Me,re,ie,c]}],"break-after":[{"break-after":S()}],"break-before":[{"break-before":S()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:M()}],"overflow-x":[{"overflow-x":M()}],"overflow-y":[{"overflow-y":M()}],overscroll:[{overscroll:v()}],"overscroll-x":[{"overscroll-x":v()}],"overscroll-y":[{"overscroll-y":v()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:I()}],"inset-x":[{"inset-x":I()}],"inset-y":[{"inset-y":I()}],start:[{"inset-s":I(),start:I()}],end:[{"inset-e":I(),end:I()}],"inset-bs":[{"inset-bs":I()}],"inset-be":[{"inset-be":I()}],top:[{top:I()}],right:[{right:I()}],bottom:[{bottom:I()}],left:[{left:I()}],visibility:["visible","invisible","collapse"],z:[{z:[Ea,"auto",ie,re]}],basis:[{basis:[za,"full","auto",c,...L()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Me,za,"auto","initial","none",re]}],grow:[{grow:["",Me,ie,re]}],shrink:[{shrink:["",Me,ie,re]}],order:[{order:[Ea,"first","last","none",ie,re]}],"grid-cols":[{"grid-cols":_()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":V()}],"col-end":[{"col-end":V()}],"grid-rows":[{"grid-rows":_()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":V()}],"row-end":[{"row-end":V()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":q()}],"auto-rows":[{"auto-rows":q()}],gap:[{gap:L()}],"gap-x":[{"gap-x":L()}],"gap-y":[{"gap-y":L()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...N(),"normal"]}],"justify-self":[{"justify-self":["auto",...N()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...N(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...N(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...N(),"baseline"]}],"place-self":[{"place-self":["auto",...N()]}],p:[{p:L()}],px:[{px:L()}],py:[{py:L()}],ps:[{ps:L()}],pe:[{pe:L()}],pbs:[{pbs:L()}],pbe:[{pbe:L()}],pt:[{pt:L()}],pr:[{pr:L()}],pb:[{pb:L()}],pl:[{pl:L()}],m:[{m:T()}],mx:[{mx:T()}],my:[{my:T()}],ms:[{ms:T()}],me:[{me:T()}],mbs:[{mbs:T()}],mbe:[{mbe:T()}],mt:[{mt:T()}],mr:[{mr:T()}],mb:[{mb:T()}],ml:[{ml:T()}],"space-x":[{"space-x":L()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":L()}],"space-y-reverse":["space-y-reverse"],size:[{size:H()}],"inline-size":[{inline:["auto",...j()]}],"min-inline-size":[{"min-inline":["auto",...j()]}],"max-inline-size":[{"max-inline":["none",...j()]}],"block-size":[{block:["auto",...Z()]}],"min-block-size":[{"min-block":["auto",...Z()]}],"max-block-size":[{"max-block":["none",...Z()]}],w:[{w:[c,"screen",...H()]}],"min-w":[{"min-w":[c,"screen","none",...H()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[s]},...H()]}],h:[{h:["screen","lh",...H()]}],"min-h":[{"min-h":["screen","lh","none",...H()]}],"max-h":[{"max-h":["screen","lh",...H()]}],"font-size":[{text:["base",n,Ul,ls]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,Wj,Fj]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",A_,re]}],"font-family":[{font:[Rj,$j,e]}],"font-features":[{"font-features":[re]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[r,ie,re]}],"line-clamp":[{"line-clamp":[Me,"none",ie,XV]}],leading:[{leading:[i,...L()]}],"list-image":[{"list-image":["none",ie,re]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ie,re]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...le(),"wavy"]}],"text-decoration-thickness":[{decoration:[Me,"from-font","auto",ie,ls]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[Me,"auto",ie,re]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:L()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ie,re]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ie,re]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:D()}],"bg-repeat":[{bg:G()}],"bg-size":[{bg:ne()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ea,ie,re],radial:["",ie,re],conic:[Ea,ie,re]},Uj,jj]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:ce()}],"rounded-s":[{"rounded-s":ce()}],"rounded-e":[{"rounded-e":ce()}],"rounded-t":[{"rounded-t":ce()}],"rounded-r":[{"rounded-r":ce()}],"rounded-b":[{"rounded-b":ce()}],"rounded-l":[{"rounded-l":ce()}],"rounded-ss":[{"rounded-ss":ce()}],"rounded-se":[{"rounded-se":ce()}],"rounded-ee":[{"rounded-ee":ce()}],"rounded-es":[{"rounded-es":ce()}],"rounded-tl":[{"rounded-tl":ce()}],"rounded-tr":[{"rounded-tr":ce()}],"rounded-br":[{"rounded-br":ce()}],"rounded-bl":[{"rounded-bl":ce()}],"border-w":[{border:pe()}],"border-w-x":[{"border-x":pe()}],"border-w-y":[{"border-y":pe()}],"border-w-s":[{"border-s":pe()}],"border-w-e":[{"border-e":pe()}],"border-w-bs":[{"border-bs":pe()}],"border-w-be":[{"border-be":pe()}],"border-w-t":[{"border-t":pe()}],"border-w-r":[{"border-r":pe()}],"border-w-b":[{"border-b":pe()}],"border-w-l":[{"border-l":pe()}],"divide-x":[{"divide-x":pe()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":pe()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...le(),"hidden","none"]}],"divide-style":[{divide:[...le(),"hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-bs":[{"border-bs":P()}],"border-color-be":[{"border-be":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:[...le(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Me,ie,re]}],"outline-w":[{outline:["",Me,Ul,ls]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",u,vS,wS]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",p,vS,wS]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:pe()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[Me,ls]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":pe()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",y,vS,wS]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[Me,ie,re]}],"mix-blend":[{"mix-blend":[...Le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Le()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[Me]}],"mask-image-linear-from-pos":[{"mask-linear-from":ue()}],"mask-image-linear-to-pos":[{"mask-linear-to":ue()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":ue()}],"mask-image-t-to-pos":[{"mask-t-to":ue()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":ue()}],"mask-image-r-to-pos":[{"mask-r-to":ue()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":ue()}],"mask-image-b-to-pos":[{"mask-b-to":ue()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":ue()}],"mask-image-l-to-pos":[{"mask-l-to":ue()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":ue()}],"mask-image-x-to-pos":[{"mask-x-to":ue()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":ue()}],"mask-image-y-to-pos":[{"mask-y-to":ue()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[ie,re]}],"mask-image-radial-from-pos":[{"mask-radial-from":ue()}],"mask-image-radial-to-pos":[{"mask-radial-to":ue()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[Me]}],"mask-image-conic-from-pos":[{"mask-conic-from":ue()}],"mask-image-conic-to-pos":[{"mask-conic-to":ue()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:D()}],"mask-repeat":[{mask:G()}],"mask-size":[{mask:ne()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ie,re]}],filter:[{filter:["","none",ie,re]}],blur:[{blur:U()}],brightness:[{brightness:[Me,ie,re]}],contrast:[{contrast:[Me,ie,re]}],"drop-shadow":[{"drop-shadow":["","none",f,vS,wS]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",Me,ie,re]}],"hue-rotate":[{"hue-rotate":[Me,ie,re]}],invert:[{invert:["",Me,ie,re]}],saturate:[{saturate:[Me,ie,re]}],sepia:[{sepia:["",Me,ie,re]}],"backdrop-filter":[{"backdrop-filter":["","none",ie,re]}],"backdrop-blur":[{"backdrop-blur":U()}],"backdrop-brightness":[{"backdrop-brightness":[Me,ie,re]}],"backdrop-contrast":[{"backdrop-contrast":[Me,ie,re]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Me,ie,re]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Me,ie,re]}],"backdrop-invert":[{"backdrop-invert":["",Me,ie,re]}],"backdrop-opacity":[{"backdrop-opacity":[Me,ie,re]}],"backdrop-saturate":[{"backdrop-saturate":[Me,ie,re]}],"backdrop-sepia":[{"backdrop-sepia":["",Me,ie,re]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":L()}],"border-spacing-x":[{"border-spacing-x":L()}],"border-spacing-y":[{"border-spacing-y":L()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ie,re]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Me,"initial",ie,re]}],ease:[{ease:["linear","initial",b,ie,re]}],delay:[{delay:[Me,ie,re]}],animate:[{animate:["none",w,ie,re]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[k,ie,re]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:z()}],"rotate-x":[{"rotate-x":z()}],"rotate-y":[{"rotate-y":z()}],"rotate-z":[{"rotate-z":z()}],scale:[{scale:W()}],"scale-x":[{"scale-x":W()}],"scale-y":[{"scale-y":W()}],"scale-z":[{"scale-z":W()}],"scale-3d":["scale-3d"],skew:[{skew:ee()}],"skew-x":[{"skew-x":ee()}],"skew-y":[{"skew-y":ee()}],transform:[{transform:[ie,re,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:fe()}],"translate-x":[{"translate-x":fe()}],"translate-y":[{"translate-y":fe()}],"translate-z":[{"translate-z":fe()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ie,re]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":L()}],"scroll-mx":[{"scroll-mx":L()}],"scroll-my":[{"scroll-my":L()}],"scroll-ms":[{"scroll-ms":L()}],"scroll-me":[{"scroll-me":L()}],"scroll-mbs":[{"scroll-mbs":L()}],"scroll-mbe":[{"scroll-mbe":L()}],"scroll-mt":[{"scroll-mt":L()}],"scroll-mr":[{"scroll-mr":L()}],"scroll-mb":[{"scroll-mb":L()}],"scroll-ml":[{"scroll-ml":L()}],"scroll-p":[{"scroll-p":L()}],"scroll-px":[{"scroll-px":L()}],"scroll-py":[{"scroll-py":L()}],"scroll-ps":[{"scroll-ps":L()}],"scroll-pe":[{"scroll-pe":L()}],"scroll-pbs":[{"scroll-pbs":L()}],"scroll-pbe":[{"scroll-pbe":L()}],"scroll-pt":[{"scroll-pt":L()}],"scroll-pr":[{"scroll-pr":L()}],"scroll-pb":[{"scroll-pb":L()}],"scroll-pl":[{"scroll-pl":L()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ie,re]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[Me,Ul,ls,XV]}],stroke:[{stroke:["none",...P()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function he(...t){return Yj(HV(t))}const Xs=a.defineComponent({__name:"Label",props:{for:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(DF),a.mergeProps(a.unref(n),{class:a.unref(he)("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70",e.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),Kj=["aria-busy"],Xj={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},Zj={key:1,class:"flex items-center gap-2.5"},Jj=["id","checked","indeterminate","disabled","required"],Qj={key:0,class:"ml-1 text-red-500 dark:text-red-400","aria-label":"required"},eR=a.defineComponent({name:"DCodeCheckbox",inheritAttrs:!1,__name:"DCodeCheckbox",props:{modelValue:{type:[Boolean,null]},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},indeterminate:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","change"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.computed(()=>n.label),s=a.computed(()=>n.placeholder),c=a.computed(()=>n.title),d=a.computed(()=>r.visible??!0),h=a.computed(()=>n.required===""||n.required===!0||n.required==="true"),u=Math.random().toString(36).slice(2,7),p=a.computed(()=>`dcode-checkbox-${n.id||i.value||"checkbox"}-${u}`),y=a.ref(!!r.modelValue);a.watch(()=>r.modelValue,k=>{y.value=!!k},{immediate:!0});const f=()=>{if(r.disabled)return;const k=!y.value;y.value=k,o("update:modelValue",k)},m=k=>{(k.key===" "||k.key==="Enter")&&(k.preventDefault(),f())};return(k,g)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["",[a.unref(n).class,{"opacity-60 cursor-not-allowed":t.disabled}]]),"aria-busy":t.skeleton},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",Xj)):a.createCommentVNode("",!0),g[0]||(g[0]=a.createElementVNode("div",{class:"flex items-center gap-2.5"},[a.createElementVNode("div",{class:"h-4 w-4 rounded bg-gray-200 dark:bg-gray-700 animate-pulse flex-shrink-0"}),a.createElementVNode("div",{class:"h-4 w-24 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1))],64)):(a.openBlock(),a.createElementBlock("div",Zj,[a.createElementVNode("label",{class:a.normalizeClass(["flex items-start gap-2.5 group relative",{"cursor-pointer":!t.disabled,"opacity-50 cursor-not-allowed":t.disabled}])},[a.createElementVNode("input",{type:"checkbox",id:p.value,class:"sr-only",checked:y.value,indeterminate:t.indeterminate,disabled:t.disabled,required:h.value,onChange:f,onKeydown:m},null,40,Jj),a.createElementVNode("div",{class:a.normalizeClass(["h-4 w-4 shrink-0 rounded-sm border shadow-sm transition-colors flex items-center justify-center mt-0.5",[y.value||t.indeterminate?"bg-primary border-primary text-primary-foreground":"border-neutral-300 dark:border-neutral-600 bg-white dark:bg-neutral-900",t.disabled?"cursor-not-allowed":"cursor-pointer"]]),"aria-hidden":"true"},[y.value&&!t.indeterminate?(a.openBlock(),a.createBlock(a.unref(ba),{key:0,class:"h-3 w-3 text-white","stroke-width":"3"})):t.indeterminate?(a.openBlock(),a.createBlock(a.unref(xl),{key:1,class:"h-3 w-3 text-white","stroke-width":"3"})):a.createCommentVNode("",!0)],2),s.value||c.value?(a.openBlock(),a.createElementBlock("span",{key:0,class:a.normalizeClass(["text-sm leading-relaxed select-none transition-colors",[t.disabled?"text-gray-400 dark:text-gray-500":"text-gray-700 dark:text-gray-300 group-hover:text-gray-900 dark:group-hover:text-gray-100"]])},a.toDisplayString(s.value||c.value),3)):a.createCommentVNode("",!0)],2),i.value?(a.openBlock(),a.createBlock(Xs,{key:0,for:p.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300 select-none cursor-pointer"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",Qj," * ")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0)]))],10,Kj)),[[a.vShow,d.value]])}}),Wl=(t,e)=>{const n=t.__vccOpts||t;for(const[o,r]of e)n[o]=r;return n},Gl=Wl(eR,[["__scopeId","data-v-938d0f92"]]);function tR(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var P_={},D_={},CS={exports:{}},iP;function aR(){if(iP)return CS.exports;iP=1;var t=String,e=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};return CS.exports=e(),CS.exports.createColors=e,CS.exports}var sP;function nR(){return sP||(sP=1,(function(t){var e={};Object.defineProperty(t,"__esModule",{value:!0});function n(h,u){for(var p in u)Object.defineProperty(h,p,{enumerable:!0,get:u[p]})}n(t,{dim:function(){return c},default:function(){return d}});const o=r(aR());function r(h){return h&&h.__esModule?h:{default:h}}let i=new Set;function s(h,u,p){typeof process<"u"&&e.JEST_WORKER_ID||p&&i.has(p)||(p&&i.add(p),console.warn(""),u.forEach(y=>console.warn(h,"-",y)))}function c(h){return o.default.dim(h)}const d={info(h,u){s(o.default.bold(o.default.cyan("info")),...Array.isArray(h)?[h]:[u,h])},warn(h,u){s(o.default.bold(o.default.yellow("warn")),...Array.isArray(h)?[h]:[u,h])},risk(h,u){s(o.default.bold(o.default.magenta("risk")),...Array.isArray(h)?[h]:[u,h])}}})(D_)),D_}var lP;function oR(){return lP||(lP=1,(function(t){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return r}});const e=n(nR());function n(i){return i&&i.__esModule?i:{default:i}}function o({version:i,from:s,to:c}){e.default.warn(`${s}-color-renamed`,[`As of Tailwind CSS ${i}, \`${s}\` has been renamed to \`${c}\`.`,"Update your configuration file to silence this warning."])}const r={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a",950:"#020617"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827",950:"#030712"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b",950:"#09090b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717",950:"#0a0a0a"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917",950:"#0c0a09"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d",950:"#450a0a"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12",950:"#431407"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f",950:"#451a03"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12",950:"#422006"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314",950:"#1a2e05"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d",950:"#052e16"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b",950:"#022c22"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a",950:"#042f2e"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63",950:"#083344"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e",950:"#082f49"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a",950:"#172554"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81",950:"#1e1b4b"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95",950:"#2e1065"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87",950:"#3b0764"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75",950:"#4a044e"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843",950:"#500724"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337",950:"#4c0519"},get lightBlue(){return o({version:"v2.2",from:"lightBlue",to:"sky"}),this.sky},get warmGray(){return o({version:"v3.0",from:"warmGray",to:"stone"}),this.stone},get trueGray(){return o({version:"v3.0",from:"trueGray",to:"neutral"}),this.neutral},get coolGray(){return o({version:"v3.0",from:"coolGray",to:"gray"}),this.gray},get blueGray(){return o({version:"v3.0",from:"blueGray",to:"slate"}),this.slate}}})(P_)),P_}var q_,cP;function rR(){if(cP)return q_;cP=1;let t=oR();return q_=(t.__esModule?t:{default:t}).default,q_}var iR=rR();const sR=tR(iR),dP=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,hP=HV,Yl=(t,e)=>n=>{var o;if((e==null?void 0:e.variants)==null)return hP(t,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=e,s=Object.keys(r).map(h=>{const u=n==null?void 0:n[h],p=i==null?void 0:i[h];if(u===null)return null;const y=dP(u)||dP(p);return r[h][y]}),c=n&&Object.entries(n).reduce((h,u)=>{let[p,y]=u;return y===void 0||(h[p]=y),h},{}),d=e==null||(o=e.compoundVariants)===null||o===void 0?void 0:o.reduce((h,u)=>{let{class:p,className:y,...f}=u;return Object.entries(f).every(m=>{let[k,g]=m;return Array.isArray(g)?g.includes({...i,...c}[k]):{...i,...c}[k]===g})?[...h,p,y]:h},[]);return hP(t,s,d,n==null?void 0:n.class,n==null?void 0:n.className)},Se=a.defineComponent({__name:"Button",props:{variant:{},size:{},class:{type:[Boolean,null,String,Object,Array]},asChild:{type:Boolean},as:{default:"button"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ye),{as:t.as,"as-child":t.asChild,class:a.normalizeClass(a.unref(he)(a.unref(la)({variant:t.variant,size:t.size}),e.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["as","as-child","class"]))}}),la=Yl("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-primary-foreground shadow hover:bg-primary/90",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2",xs:"h-7 rounded px-2",sm:"h-8 rounded-md px-3 text-xs",lg:"h-10 rounded-md px-8",icon:"h-8 w-8","icon-sm":"size-7","icon-lg":"size-10"}},defaultVariants:{variant:"default",size:"default"}}),uP=a.defineComponent({__name:"Tooltip",props:{defaultOpen:{type:Boolean},open:{type:Boolean},delayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(Z$),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),pP=a.defineComponent({inheritAttrs:!1,__name:"TooltipContent",props:{forceMount:{type:Boolean},ariaLabel:{},asChild:{type:Boolean},as:{},side:{},sideOffset:{default:4},align:{},alignOffset:{},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(oj),null,{default:a.withCtx(()=>[a.createVNode(a.unref(aj),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),yP=a.defineComponent({__name:"TooltipProvider",props:{delayDuration:{},skipDelayDuration:{},disableHoverableContent:{type:Boolean},disableClosingTrigger:{type:Boolean},disabled:{type:Boolean},ignoreNonKeyboardFocus:{type:Boolean}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(Y$),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),fP=a.defineComponent({__name:"TooltipTrigger",props:{reference:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ij),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),lR={class:"relative z-10"},cR="rounded-lg font-medium transition-all duration-300 ease-in-out hover:-translate-y-0.5 hover:scale-[1.02] active:translate-y-0 active:scale-[0.98] shadow-[0_3px_0_0_rgba(0,0,0,0.12),0_12px_22px_-10px_rgba(0,0,0,0.35)] hover:shadow-[0_6px_20px_-4px_rgba(0,0,0,0.3),0_10px_40px_-10px_rgba(0,0,0,0.2)] active:shadow-[0_1px_0_0_rgba(0,0,0,0.2),0_4px_8px_-4px_rgba(0,0,0,0.35)] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:opacity-60 disabled:cursor-not-allowed disabled:shadow-none disabled:translate-y-0 disabled:scale-100 relative overflow-hidden before:absolute before:inset-0 before:bg-white/20 before:translate-y-full before:transition-transform before:duration-300 hover:before:translate-y-0",Wt=Wl(a.defineComponent({name:"DCodeButton",inheritAttrs:!1,__name:"DCodeButton",props:{icon:{},text:{default:""},variant:{default:"default"},size:{default:"default"},tooltip:{default:""},bgColor:{default:""},textColor:{default:""},hoverBgColor:{default:""},borderColor:{default:""},disabled:{type:Boolean,default:!1},type:{default:"button"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1}},setup(t){const e=a.useAttrs(),n=t,o=a.computed(()=>n.icon&&La[n.icon]||null),r=a.computed(()=>!!n.tooltip),i=a.computed(()=>n.visible??!0),s=a.computed(()=>{const P=String(n.variant||"default").toLowerCase();return P==="tonal"?"secondary":P==="elevated"?"default":P}),c=a.computed(()=>String(n.bgColor||"").toLowerCase()),d=a.computed(()=>String(n.type||"button").toLowerCase()),h=a.computed(()=>{const{class:P,...D}=e;return D}),u=a.computed(()=>he(e.class)),p=a.computed(()=>((u.value??"").match(/\b(?:w|h|min-w|min-h|max-w|max-h)-[^\s]+\b/g)??[]).join(" ")),y=a.computed(()=>n.size==="sm"?"h-9":n.size==="lg"?"h-11":n.size==="icon"?"h-10 w-10":"h-10"),f=a.computed(()=>n.size==="icon"?"":!n.text&&n.icon?"w-10":"w-28"),m=a.computed(()=>he("inline-flex items-center justify-center rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",y.value,f.value,p.value)),k=a.computed(()=>{const D=(u.value??"").match(/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return D?D[0]:null}),g=a.computed(()=>{const D=(u.value??"").match(/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u);return D?D[0]:null}),b=a.computed(()=>!!k.value),w=a.computed(()=>/\bborder-/.test(u.value??"")),S=a.computed(()=>/\bhover:/.test(u.value??"")),C=a.computed(()=>{const P=u.value??"";return s.value!=="outline"?P:P.replaceAll(/\bbg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\bhover:bg-(?!gradient)[^\s]+\b/gu,"").replaceAll(/\s+/gu," ").trim()}),x=a.ref(null),M=P=>{const D=P.match(/rgba?\((\d+),\s*(\d+),\s*(\d+)(?:,\s*([0-9.]+))?\)/u);return D?{r:Number(D[1]),g:Number(D[2]),b:Number(D[3]),a:D[4]?Number(D[4]):1}:null},v=(P,D)=>{const G=M(P);if(!G)return P;const ne=te=>Math.max(0,Math.min(255,Math.round(te)));return`rgba(${ne(G.r*(1-D))}, ${ne(G.g*(1-D))}, ${ne(G.b*(1-D))}, ${G.a})`},L=P=>{if(globalThis.window===void 0)return null;const D=document.createElement("div");D.className=P,D.style.position="absolute",D.style.visibility="hidden",D.style.pointerEvents="none",D.style.width="1px",D.style.height="1px",document.body.appendChild(D);const G=globalThis.getComputedStyle(D).backgroundColor;return D.remove(),!G||G==="transparent"||G==="rgba(0, 0, 0, 0)"?null:G},I=[50,100,200,300,400,500,600,700,800,900,950],_=P=>{const D=I.indexOf(P);return D===-1?P:I[Math.min(I.length-1,D+2)]},A=(P,D)=>{const G=sR[P];if(!G)return null;if(typeof G=="string")return G;if(!D)return null;const ne=G[D];return typeof ne=="string"?ne:null},V=(P,D=!1)=>{if(!P)return null;const G=D?/\bhover:bg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u:/\bbg-(?!gradient)([a-z-]+)(?:-(\d{2,3}))?\b/u,ne=P.match(G);return ne?{colorName:ne[1],shade:ne[2]?Number.parseInt(ne[2],10):null}:null},q=()=>{const P=k.value;if(!P){x.value=null;return}const D=V(P),G=D==null?void 0:D.colorName,ne=(D==null?void 0:D.shade)??null,te=(G?A(G,ne):null)??L(P);if(!te){x.value=null;return}let ce;const pe=V(g.value,!0),le=pe?A(pe.colorName,pe.shade??null):null;if(le)ce=le;else if(G&&ne){const Le=_(ne);ce=A(G,Le)??v(te,.2)}else ce=v(te,.2);x.value={"--btn-color":te,"--btn-color-hover":ce}};a.onMounted(()=>{q()}),a.watch([k,g],async()=>{await a.nextTick(),q()});const O=a.computed(()=>{const P=/\bdark:bg-/.test(u.value??"");return!b.value||s.value==="outline"||P?"":x.value?"dcode-btn--fill dcode-btn--fill-hover":S.value?"":"hover:brightness-90"}),N=a.computed(()=>{if(!b.value||s.value!=="outline")return"";const P=["dcode-btn--outline","dcode-btn--outline-hover"];return w.value||P.push("border"),!x.value&&!S.value&&P.push("hover:brightness-90"),P.join(" ")}),T=a.computed(()=>x.value??void 0),H={primary:{bg:"bg-blue-600",text:"text-white",hover:"hover:bg-blue-700",border:"border-blue-600"},success:{bg:"bg-green-600",text:"text-white",hover:"hover:bg-green-700",border:"border-green-600"},warning:{bg:"bg-yellow-500",text:"text-white",hover:"hover:bg-yellow-600",border:"border-yellow-500"},danger:{bg:"bg-red-600",text:"text-white",hover:"hover:bg-red-700",border:"border-red-600"},info:{bg:"bg-cyan-600",text:"text-white",hover:"hover:bg-cyan-700",border:"border-cyan-600"},purple:{bg:"bg-purple-600",text:"text-white",hover:"hover:bg-purple-700",border:"border-purple-600"},pink:{bg:"bg-pink-600",text:"text-white",hover:"hover:bg-pink-700",border:"border-pink-600"},"gradient-blue":{bg:"bg-gradient-to-r from-blue-500 to-cyan-500",text:"text-white",hover:"hover:from-blue-600 hover:to-cyan-600"},"gradient-purple":{bg:"bg-gradient-to-r from-purple-500 to-pink-500",text:"text-white",hover:"hover:from-purple-600 hover:to-pink-600"},"gradient-sunset":{bg:"bg-gradient-to-r from-orange-500 to-red-500",text:"text-white",hover:"hover:from-orange-600 hover:to-red-600"},"gradient-emerald":{bg:"bg-gradient-to-r from-emerald-500 to-teal-500",text:"text-white",hover:"hover:from-emerald-600 hover:to-teal-600"}},j=a.computed(()=>{const P=[],D=c.value?H[c.value]:null;return D?(P.push(D.bg,D.text,D.hover),D.border&&s.value==="outline"&&P.push(D.border)):(c.value&&P.push(c.value),n.textColor&&P.push(n.textColor),n.hoverBgColor&&P.push(n.hoverBgColor),n.borderColor&&P.push(n.borderColor)),P.join(" ")}),Z=a.computed(()=>he(cR,C.value,O.value,N.value,j.value));return(P,D)=>i.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.skeleton?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(m.value),"aria-hidden":"true"},null,2)):(a.openBlock(),a.createBlock(a.unref(yP),{key:1,"delay-duration":0},{default:a.withCtx(()=>[r.value?(a.openBlock(),a.createBlock(a.unref(uP),{key:0},{default:a.withCtx(()=>[a.createVNode(a.unref(fP),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Se),a.mergeProps({variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Z.value,style:T.value},h.value),{default:a.withCtx(()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)]),_:1},16,["variant","size","disabled","type","class","style"])]),_:1}),a.createVNode(a.unref(pP),{side:"top","side-offset":8,class:"animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 bg-gray-900 dark:bg-gray-100 text-white dark:text-gray-900 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0"},{default:a.withCtx(()=>[a.createElementVNode("span",lR,a.toDisplayString(n.tooltip),1)]),_:1})]),_:1})):(a.openBlock(),a.createBlock(a.unref(Se),a.mergeProps({key:1,variant:s.value,size:n.size,disabled:n.disabled,type:d.value,class:Z.value,style:T.value},h.value),{default:a.withCtx(()=>[a.renderSlot(P.$slots,"default",{},()=>[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:"h-[18px] w-[18px]"})):a.createCommentVNode("",!0),n.text?(a.openBlock(),a.createElementBlock("span",{key:1,class:a.normalizeClass(o.value?"ml-1":"")},a.toDisplayString(n.text),3)):a.createCommentVNode("",!0)],!0)]),_:3},16,["variant","size","disabled","type","class","style"]))]),_:3}))],64)):a.createCommentVNode("",!0)}}),[["__scopeId","data-v-9a451047"]]),mP=a.defineComponent({__name:"Dialog",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(WA),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),kP=a.defineComponent({inheritAttrs:!1,__name:"DialogContent",props:{forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(oV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(nV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(tV),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("fixed left-1/2 top-1/2 z-50 grid w-full max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(GA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground"},{default:a.withCtx(()=>[a.createVNode(a.unref(Mt),{class:"w-4 h-4"}),c[0]||(c[0]=a.createElementVNode("span",{class:"sr-only"},"Close",-1))]),_:1})]),_:3},16,["class"])]),_:3}))}}),dR=a.defineComponent({__name:"DialogDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(aV),a.mergeProps(a.unref(o),{class:a.unref(he)("text-sm text-muted-foreground",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),hR=a.defineComponent({__name:"DialogHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col gap-y-1.5 text-center sm:text-left",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),uR=a.defineComponent({__name:"DialogTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(rV),a.mergeProps(a.unref(o),{class:a.unref(he)("text-lg font-medium leading-none tracking-tight",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),pR={key:0,class:"flex items-center justify-between mb-4"},yR={class:"flex flex-col gap-1"},fR={key:0,class:"text-lg font-semibold text-neutral-900 dark:text-neutral-50 leading-tight"},mR={key:1,class:"text-sm text-neutral-500 dark:text-neutral-400"},kR={key:0,class:"flex items-center gap-2"},gR={class:"relative z-10"},bR={key:1,class:"mt-6 pt-6 border-t border-neutral-200 dark:border-neutral-800"},MR={name:"DCodeCard"},z_=a.defineComponent({...MR,props:{level:{default:1},title:{},subtitle:{},shadow:{type:Boolean,default:!1},border:{type:Boolean,default:!0},padding:{default:"p-6"}},setup(t){const e=t,n=a.computed(()=>{switch(e.level){case 2:return"bg-neutral-50 dark:bg-neutral-800";case 3:return"bg-neutral-100 dark:bg-neutral-700";case 1:default:return"bg-white dark:bg-neutral-900"}});return(o,r)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["transition-shadow duration-300 dcode-card",[n.value,t.padding,{"shadow-md":t.shadow},{"border-transparent":!t.border},{"border-neutral-200 dark:border-neutral-800":t.border&&t.level===1},{"border-neutral-300 dark:border-neutral-700":t.border&&t.level!==1}]])},[t.title||o.$slots.header||o.$slots.actions?(a.openBlock(),a.createElementBlock("div",pR,[a.createElementVNode("div",yR,[a.renderSlot(o.$slots,"header",{},()=>[t.title?(a.openBlock(),a.createElementBlock("h3",fR,a.toDisplayString(t.title),1)):a.createCommentVNode("",!0),t.subtitle?(a.openBlock(),a.createElementBlock("p",mR,a.toDisplayString(t.subtitle),1)):a.createCommentVNode("",!0)])]),o.$slots.actions?(a.openBlock(),a.createElementBlock("div",kR,[a.renderSlot(o.$slots,"actions")])):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",gR,[a.renderSlot(o.$slots,"default")]),o.$slots.footer?(a.openBlock(),a.createElementBlock("div",bR,[a.renderSlot(o.$slots,"footer")])):a.createCommentVNode("",!0)],2))}}),xR={class:"flex items-center gap-3"},wR={class:"flex justify-end gap-3"},LS=a.defineComponent({name:"DCodeDialog",inheritAttrs:!1,__name:"DCodeDialog",props:{modelValue:{type:Boolean,default:!1},title:{default:""},icon:{default:""},maxWidth:{default:500},persistent:{type:Boolean,default:!0},contentClass:{default:"p-5"},contentStyle:{default:()=>({})}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,r=a.useAttrs(),i=a.computed(()=>{const{style:h,...u}=r;return u}),s=a.computed(()=>({maxWidth:typeof n.maxWidth=="number"?`${n.maxWidth}px`:n.maxWidth,width:"100%"})),c=a.computed(()=>n.icon?La[n.icon]??null:null),d=h=>{if(!h&&n.persistent){o("update:modelValue",!0);return}o("update:modelValue",h)};return(h,u)=>(a.openBlock(),a.createBlock(a.unref(mP),{open:t.modelValue,"onUpdate:open":d},{default:a.withCtx(()=>[a.createVNode(a.unref(kP),a.mergeProps(i.value,{style:s.value,class:"p-0 overflow-hidden rounded-xl",onInteractOutside:u[0]||(u[0]=p=>t.persistent?p.preventDefault():null),onEscapeKeyDown:u[1]||(u[1]=p=>t.persistent?p.preventDefault():null)}),{default:a.withCtx(()=>[a.createVNode(z_,{padding:t.contentClass,border:"",shadow:"",class:"w-full !rounded-xl !border-0",level:1},a.createSlots({header:a.withCtx(()=>[a.createElementVNode("div",xR,[c.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),{key:0,class:"h-5 w-5"})):a.createCommentVNode("",!0),a.createVNode(a.unref(uR),{class:"text-base font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),a.createVNode(a.unref(dR),{class:"hidden"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title||"Dialog Content"),1)]),_:1})])]),actions:a.withCtx(()=>[a.renderSlot(h.$slots,"header-append")]),default:a.withCtx(()=>[a.createElementVNode("div",{style:a.normalizeStyle(t.contentStyle)},[a.renderSlot(h.$slots,"default")],4)]),_:2},[h.$slots.actions?{name:"footer",fn:a.withCtx(()=>[a.createElementVNode("div",wR,[a.renderSlot(h.$slots,"actions")])]),key:"0"}:void 0]),1032,["padding"])]),_:3},16,["style"])]),_:3},8,["open"]))}}),vR=(t,e="short",n="id-ID")=>{const o=typeof t=="string"?new Date(t):t,r=d=>String(d).padStart(2,"0"),i=d=>`${r(d.getHours())}:${r(d.getMinutes())}:${r(d.getSeconds())}`,c={id:"id-ID",en:"en-GB"}[n]||n;return e==="time"?i(o):e==="datetime"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(o):e==="long"?new Intl.DateTimeFormat(c,{day:"2-digit",month:"long",year:"numeric",hour:"2-digit",minute:"2-digit"}).format(o):new Intl.DateTimeFormat(c,{day:"2-digit",month:"short",year:"numeric"}).format(o)},Oa=a.defineComponent({__name:"Badge",props:{variant:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)(a.unref(CR)({variant:t.variant}),e.class))},[a.renderSlot(n.$slots,"default")],2))}}),CR=Yl("inline-flex gap-1 items-center rounded-full border px-2.5 py-0.5 text-xs font-medium transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground shadow hover:bg-primary/80",secondary:"border-transparent bg-secondary text-secondary-foreground hover:bg-secondary/80",destructive:"border-transparent bg-destructive text-destructive-foreground shadow hover:bg-destructive/80",outline:"text-foreground"}},defaultVariants:{variant:"default"}}),LR=a.defineComponent({__name:"Sheet",props:{open:{type:Boolean},defaultOpen:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(WA),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),SR=a.defineComponent({inheritAttrs:!1,__name:"SheetContent",props:{class:{type:[Boolean,null,String,Object,Array]},side:{},forceMount:{type:Boolean},disableOutsidePointerEvents:{type:Boolean},asChild:{type:Boolean},as:{}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class","side"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(oV),null,{default:a.withCtx(()=>[a.createVNode(a.unref(nV),{class:"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0"}),a.createVNode(a.unref(tV),a.mergeProps({class:a.unref(he)(a.unref(PR)({side:t.side}),n.class)},{...a.unref(i),...s.$attrs}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default"),a.createVNode(a.unref(GA),{class:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary"},{default:a.withCtx(()=>[a.createVNode(a.unref(Mt),{class:"w-4 h-4"})]),_:1})]),_:3},16,["class"])]),_:3}))}}),IR=a.defineComponent({__name:"SheetDescription",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(aV),a.mergeProps({class:a.unref(he)("text-sm text-muted-foreground",e.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),_R=a.defineComponent({__name:"SheetFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col-reverse sm:flex-row sm:justify-end sm:gap-x-2",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),BR=a.defineComponent({__name:"SheetHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col gap-y-2 text-center sm:text-left",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),AR=a.defineComponent({__name:"SheetTitle",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(rV),a.mergeProps({class:a.unref(he)("text-lg font-medium text-foreground",e.class)},a.unref(n)),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),VR=a.defineComponent({__name:"SheetTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(wO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),PR=Yl("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),DR={class:"flex-1 overflow-hidden"},qR=a.defineComponent({__name:"DataFilterSheet",props:{title:{default:"Filter Data"},description:{default:"Masukan parameter pencarian untuk memfilter data."}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.unref(LR),null,{default:a.withCtx(()=>[a.createVNode(a.unref(VR),{"as-child":""},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"trigger",{},()=>[a.createVNode(a.unref(Se),{variant:"outline",class:"gap-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(Sr),{class:"w-4 h-4"}),n[0]||(n[0]=a.createElementVNode("span",null,"Pencarian",-1))]),_:1})])]),_:3}),a.createVNode(a.unref(SR),{class:"flex flex-col h-full"},{default:a.withCtx(()=>[a.createVNode(a.unref(BR),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.createVNode(a.unref(AR),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),a.createVNode(a.unref(IR),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.description),1)]),_:1})]),_:1}),a.createElementVNode("div",DR,[a.renderSlot(e.$slots,"default")]),a.createVNode(a.unref(_R),{class:"flex-shrink-0"},{default:a.withCtx(()=>[a.renderSlot(e.$slots,"footer")]),_:3})]),_:3})]),_:3}))}});async function gP(t,e,n){if(!t||!t.trim())throw new Error("[DynamicUI][useApi] URL tidak boleh kosong. Pastikan prop `endpoint.apiUrl` sudah diisi dengan benar.");const o=["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"],r=(e||"").trim().toUpperCase(),i=o.includes(r)?r:"GET";o.includes(r)||console.warn(`[DynamicUI][useApi] HTTP method '${e}' tidak valid, fallback ke 'GET'.`);const s=Dz(),c=t.startsWith("http")?t:`${s}${t}`,d={method:i,headers:qz()};n&&!["GET","DELETE"].includes(i)&&(d.body=JSON.stringify(n));let h=c;if(n&&i==="GET"){const y=new URLSearchParams;Object.entries(n).forEach(([m,k])=>{k!=null&&y.append(m,String(k))});const f=y.toString();f&&(h=`${c}${c.includes("?")?"&":"?"}${f}`)}const u=await fetch(h,d);if(u.status===401&&zz(),!u.ok){const y=await u.text();throw new Error(`HTTP ${u.status}: ${y}`)}return(u.headers.get("content-type")||"").includes("application/json")?u.json():{status:!0,data:await u.text()}}function nt(){return{apiUrl:(n,o,r)=>gP(n,o,r),DCodeApi:(n,o,r,i)=>{let s=n,c=o,d=r;return i&&i._url?(s=i._url,c=i._method||c||"POST",i._data&&(d={...d||{},...i._data})):n&&o&&(["GET","POST","PUT","PATCH","DELETE","HEAD","OPTIONS"].includes(o.toUpperCase())||(s=`${n.endsWith("/")?n.slice(0,-1):n}/${o}`,c="POST")),gP(s,c,d)}}}const zR=["aria-busy"],ER={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},TR=["for"],OR={key:0,class:"ml-1 text-destructive"},HR={class:"relative"},FR={key:0,class:"flex items-center text-gray-500 gap-2"},$R=["id","placeholder","disabled","readonly","value"],jR={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},RR=["disabled"],NR={class:"overflow-y-auto overflow-x-hidden",style:{"max-height":"350px"}},UR=["onMouseenter","onClick"],WR={key:0},GR={class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},YR={key:0},KR={key:1},XR={key:2},ZR={key:1,class:"mt-1 text-xs text-red-600"},E_=a.defineComponent({name:"DCodeAutoComplete",inheritAttrs:!1,__name:"DCodeAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{default:()=>({})},fetchItems:{},icon:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=e,r=a.useAttrs(),i=a.computed(()=>r.label??void 0),s=$=>{const J=r[$];return J===""||J===!0||J==="true"||J===1||J==="1"},c=a.ref(!1),d=a.computed(()=>n.itemTitle||r["item-title"]||r.itemTitle||"name"),h=a.computed(()=>n.itemValue||r["item-value"]||r.itemValue||"id"),u=a.computed(()=>n.disabled),p=a.computed(()=>s("required")),y=a.computed(()=>s("readonly")),f=a.computed(()=>n.returnObject||s("return-object")||s("returnObject")),m=a.computed(()=>p.value||s("aria-required")),k=a.computed(()=>n.error||n.errorMessage||r["error-message"]),g=a.computed(()=>r.placeholder??""),b=a.computed(()=>{const $=r.minChars??r["min-chars"];if($==null||$==="")return 0;const J=typeof $=="number"?$:Number.parseInt(String($),10);return Number.isFinite(J)&&J>0?J:0}),w=a.computed(()=>{const $=r.rules;return Array.isArray($)?$:[]}),S=a.computed(()=>{const $=r.id||r.label;return $?`app-autocomplete-${$}-${Math.random().toString(36).slice(2,7)}`:void 0}),C=a.ref(n.modelValue),x=a.ref([]),M=a.ref(!1),v=a.ref(!1),L=a.computed(()=>r.items),I=a.computed(()=>{const $=O.value;return $.apiModule&&$.apiAction||$.apiUrl||n.fetchItems?x.value:L.value??[]}),_=a.computed(()=>!!r.loading),A=a.computed(()=>_.value||M.value),V=a.computed(()=>{const{label:$,items:J,loading:de,rules:Ve,"item-title":Oe,"item-value":Y,itemTitle:Q,itemValue:ae,minChars:me,"min-chars":He,clearable:It,required:pz,"aria-required":Xe,disabled:yz,readonly:pI,visible:fz,"return-object":yI,returnObject:mz,class:zB,"fetch-items":kz,fetchItems:gz,error:EB,errorMessage:bz,"error-message":Mz,...fI}=r||{};return fI}),q=()=>{if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions},O=a.computed(()=>{const $=n.endpoint||{};return{apiModule:n.apiModule||$.apiModule,apiAction:n.apiAction||$.apiAction,apiUrl:$.apiUrl,apiMethod:$.apiMethod||"GET"}}),N=a.ref(null),T=a.ref(null),H=a.ref(null),{floatingStyles:j}=gS(T,H,{placement:"bottom-start",whileElementsMounted:yS,middleware:[fS(4),jl(),mS(),kS({apply({rects:$,elements:J,availableHeight:de}){Object.assign(J.floating.style,{width:`${$.reference.width}px`,maxHeight:`${de}px`})}})]}),Z=a.ref(!1),P=a.ref(""),D=a.ref(-1),G=a.ref(null),ne=a.computed(()=>!b.value||(P.value||"").trim().length>=b.value?"":`Ketik minimal ${b.value} karakter`),te=$=>{if($==null)return"";if(typeof $=="string"||typeof $=="number")return String($);const J=d.value;return typeof J=="function"?J($):($==null?void 0:$[J])??($==null?void 0:$.name)??($==null?void 0:$.nama)??($==null?void 0:$.label)??($==null?void 0:$.title)??"-"},ce=$=>{if($==null)return null;if(typeof $=="string"||typeof $=="number")return $;const J=h.value;return typeof J=="function"?J($):($==null?void 0:$[J])??($==null?void 0:$.id)??($==null?void 0:$.value)??($==null?void 0:$.code)??null},pe=a.computed(()=>{const $=C.value;if($==null||$==="")return"";if(Array.isArray($))return $.length?$.map(Ve=>{if(f.value&&typeof Ve=="object"||typeof Ve=="object")return te(Ve);const Oe=I.value.find(Y=>ce(Y)==Ve);return Oe?te(Oe):String(Ve)}).join(", "):"";if(typeof $=="object")return te($);const J=I.value.find(de=>ce(de)==$);return J?te(J):String($)}),le=a.computed(()=>{const $=I.value||[],J=(P.value||"").trim().toLowerCase(),de=(pe.value||"").toLowerCase(),Ve=!J||J===de;let Oe=$;if(Ve||(Oe=$.filter(Y=>te(Y).toLowerCase().includes(J))),Oe.length>0){const Y=Q=>{const ae=ce(Q);return Array.isArray(C.value)?C.value.some(me=>me==ae):C.value==ae};Oe=[...Oe].sort((Q,ae)=>{const me=Y(Q),He=Y(ae);return me&&!He?-1:!me&&He?1:0})}return Oe}),Le=$=>Array.isArray($)?$.length===0:$==null||$==="",ue=$=>{if(G.value=null,p.value&&Le($)&&!w.value.length)return G.value="This field is required",!1;for(const J of w.value){const de=J($);if(de===!1)return G.value="Invalid value",!1;if(typeof de=="string")return G.value=de,!1}return!0},U=async()=>{if(u.value||y.value)return;Z.value=!0,D.value=le.value.length?0:-1,P.value=pe.value||"";const $=O.value,J=$.apiModule&&$.apiAction||$.apiUrl||n.fetchItems;n.autoFetchOnOpen&&J&&!v.value&&(await Qe(),D.value=le.value.length?0:-1)},z=()=>{Z.value=!1,D.value=-1,P.value=pe.value||""},W=$=>{const J=f.value?$:ce($);let de=J;Array.isArray(C.value)&&(de=[J]),C.value=de,o("update:modelValue",de),G.value=null,ue(de),P.value=te($),z()},ee=()=>{x.value=[],v.value=!1,C.value=Array.isArray(C.value)?[]:null,o("update:modelValue",C.value),P.value="",G.value=null},fe=()=>{c.value=!0,ee(),z(),setTimeout(()=>{c.value=!1},0)},Te=$=>{if(u.value||y.value)return;const J=$.target.value;P.value=J,G.value&&(G.value=null),Z.value||(Z.value=!0),D.value=le.value.length?0:-1;const de=O.value.apiModule&&O.value.apiAction||O.value.apiUrl||n.fetchItems;n.autoFetchOnOpen&&de&&!A.value&&!v.value&&Qe()},xe=$=>{var de;if(u.value||y.value)return;const J={ArrowDown:()=>{if($.preventDefault(),!Z.value){U();return}le.value.length&&(D.value=Math.min(D.value+1,le.value.length-1))},ArrowUp:()=>{!Z.value||!le.value.length||($.preventDefault(),D.value=Math.max(D.value-1,0))},Enter:()=>{if(!Z.value)return;$.preventDefault();const Ve=le.value[D.value];Ve&&W(Ve)},Escape:()=>{$.preventDefault(),z()},Tab:()=>{z()}};(de=J[$.key])==null||de.call(J)},Qe=async()=>{const $=O.value;if($.apiModule&&$.apiAction||$.apiUrl||n.fetchItems){M.value=!0;try{let de;if(n.fetchItems){const Ve=q()||{},Oe={page:1,perPage:100,search:(P.value||"").trim(),...Ve,...n.apiParams},Y=await n.fetchItems(Oe),Q=(Y==null?void 0:Y.data)??Y;de=(Q==null?void 0:Q.data)??Q}else{const Oe=nt().DCodeApi;if(typeof Oe!="function"){console.error("[DCodeAutoComplete] useApi() must expose DCodeApi()");return}const Q={page:1,perPage:100,...q()||{},...n.apiParams};let ae;$.apiUrl?ae=await Oe("","",Q,{_url:$.apiUrl,_method:$.apiMethod||"POST"}):ae=await Oe($.apiModule,$.apiAction,Q);const me=(ae==null?void 0:ae.data)??ae;de=(me==null?void 0:me.data)??me}x.value=Array.isArray(de)?de:[],v.value=!0}catch(de){console.error("[DCodeAutoComplete][fetchOptions] ERROR:",de),G.value=`[DCodeAutoComplete][fetchOptions] ERROR: Error: ${(de==null?void 0:de.message)||(de==null?void 0:de.toString())||"Failed to load options"}`,x.value=[],v.value=!0}finally{M.value=!1}}},it=$=>{const J=ce($);return f.value?C.value?Array.isArray(C.value)?C.value.some(de=>ce(de)==J):ce(C.value)==J:!1:Array.isArray(C.value)?C.value.some(de=>de==J):C.value==J};a.watch(()=>[q(),O.value,n.apiParams],([$,J,de],[Ve,Oe,Y])=>{const Q=O.value;if(!(Q.apiModule&&Q.apiAction||Q.apiUrl||n.fetchItems)){ee();return}const me=JSON.stringify($??null)===JSON.stringify(Ve??null),He=JSON.stringify(de??null)===JSON.stringify(Y??null);me&&He||(ee(),He||Qe())},{deep:!0}),a.watch(()=>n.modelValue,($,J)=>{C.value=$,!c.value&&($==null||$==="")&&J!=null&&n.apiModule&&n.apiAction&&(x.value=[],v.value=!1),P.value=pe.value||""},{immediate:!0});const St=O.value;(St.apiModule&&St.apiAction||St.apiUrl||n.fetchItems)&&(n.autoFetchOnMount||!Le(n.modelValue))&&Qe();const ht=$=>{const J=N.value,de=H.value,Ve=$.target;J&&J.contains(Ve)||de&&de.contains(Ve)||Z.value&&z()},ka=a.computed(()=>{const $=n.modelValue;return $==null?!1:typeof $=="string"?$.trim().length>0:Array.isArray($)?$.length>0:typeof $=="object"?Object.keys($).length>0:!0}),x1=a.computed(()=>!!n.clearable&&ka.value&&!n.disabled);return a.onMounted(()=>{document.addEventListener("mousedown",ht)}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",ht)}),($,J)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:N,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":t.skeleton},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",ER)):a.createCommentVNode("",!0),J[6]||(J[6]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createElementBlock("label",{key:0,for:S.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(i.value)+" ",1),m.value?(a.openBlock(),a.createElementBlock("span",OR,"*")):a.createCommentVNode("",!0)],8,TR)):a.createCommentVNode("",!0),a.createElementVNode("div",HR,[a.createElementVNode("div",{ref_key:"reference",ref:T,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[u.value||y.value?"opacity-60 cursor-not-allowed":"",G.value||k.value?"border-red-500 focus-within:ring-red-500":""]])},[n.icon||$.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",FR,[a.renderSlot($.$slots,"prepend-inner",{},()=>[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps(V.value,{id:S.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",u.value||y.value?"cursor-not-allowed":"cursor-text"],placeholder:g.value,disabled:u.value,readonly:y.value,value:Z.value?P.value:pe.value||P.value,onFocus:J[0]||(J[0]=()=>{Z.value||U()}),onClick:J[1]||(J[1]=()=>{Z.value||U()}),onInput:Te,onKeydown:xe,onBlur:J[2]||(J[2]=()=>ue(C.value))}),null,16,$R),A.value?(a.openBlock(),a.createElementBlock("svg",jR,[...J[7]||(J[7]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):x1.value?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:J[3]||(J[3]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(fe,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:u.value||y.value,onClick:J[4]||(J[4]=de=>Z.value?z():U()),"aria-label":"Toggle"},[a.createVNode(a.unref(Bt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":Z.value}])},null,8,["class"])],8,RR))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[Z.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:H,style:a.normalizeStyle(a.unref(j)),class:"z-[50] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",NR,[le.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(le.value,(de,Ve)=>(a.openBlock(),a.createElementBlock("button",{key:ce(de)??Ve,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",Ve===D.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:Oe=>D.value=Ve,onMousedown:J[5]||(J[5]=a.withModifiers(()=>{},["prevent"])),onClick:Oe=>W(de)},[a.createTextVNode(a.toDisplayString(te(de))+" ",1),it(de)?(a.openBlock(),a.createElementBlock("span",WR," ✓ ")):a.createCommentVNode("",!0)],42,UR))),128)):a.renderSlot($.$slots,"no-data",{key:1},()=>[a.createElementVNode("div",GR,[A.value?(a.openBlock(),a.createElementBlock("span",YR,"Loading data…")):ne.value?(a.openBlock(),a.createElementBlock("span",KR,a.toDisplayString(ne.value),1)):(a.openBlock(),a.createElementBlock("span",XR,"No data available"))])])])],4)):a.createCommentVNode("",!0)]))]),G.value||k.value?(a.openBlock(),a.createElementBlock("p",ZR,a.toDisplayString(G.value||k.value),1)):a.createCommentVNode("",!0)],64))],10,zR)),[[a.vShow,t.visible]])}}),bP=6048e5,JR=864e5,MP=Symbol.for("constructDateFrom");function Ha(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&MP in t?t[MP](e):t instanceof Date?new t.constructor(e):new Date(e)}function Lt(t,e){return Ha(e||t,t)}let QR={};function SS(){return QR}function Kl(t,e){var c,d,h,u;const n=SS(),o=(e==null?void 0:e.weekStartsOn)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.weekStartsOn)??n.weekStartsOn??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.weekStartsOn)??0,r=Lt(t,e==null?void 0:e.in),i=r.getDay(),s=(i<o?7:0)+i-o;return r.setDate(r.getDate()-s),r.setHours(0,0,0,0),r}function IS(t,e){return Kl(t,{...e,weekStartsOn:1})}function xP(t,e){const n=Lt(t,e==null?void 0:e.in),o=n.getFullYear(),r=Ha(n,0);r.setFullYear(o+1,0,4),r.setHours(0,0,0,0);const i=IS(r),s=Ha(n,0);s.setFullYear(o,0,4),s.setHours(0,0,0,0);const c=IS(s);return n.getTime()>=i.getTime()?o+1:n.getTime()>=c.getTime()?o:o-1}function wP(t){const e=Lt(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function eN(t,...e){const n=Ha.bind(null,e.find(o=>typeof o=="object"));return e.map(n)}function vP(t,e){const n=Lt(t,e==null?void 0:e.in);return n.setHours(0,0,0,0),n}function tN(t,e,n){const[o,r]=eN(n==null?void 0:n.in,t,e),i=vP(o),s=vP(r),c=+i-wP(i),d=+s-wP(s);return Math.round((c-d)/JR)}function aN(t,e){const n=xP(t,e),o=Ha(t,0);return o.setFullYear(n,0,4),o.setHours(0,0,0,0),IS(o)}function nN(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function oN(t){return!(!nN(t)&&typeof t!="number"||isNaN(+Lt(t)))}function rN(t,e){const n=Lt(t,e==null?void 0:e.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}const iN={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},sN=(t,e,n)=>{let o;const r=iN[t];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+o:o+" ago":o};function Zs(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const lN={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},cN={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},dN={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},hN={date:Zs({formats:lN,defaultWidth:"full"}),time:Zs({formats:cN,defaultWidth:"full"}),dateTime:Zs({formats:dN,defaultWidth:"full"})},uN={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},pN=(t,e,n,o)=>uN[t];function Gt(t){return(e,n)=>{const o=n!=null&&n.context?String(n.context):"standalone";let r;if(o==="formatting"&&t.formattingValues){const s=t.defaultFormattingWidth||t.defaultWidth,c=n!=null&&n.width?String(n.width):s;r=t.formattingValues[c]||t.formattingValues[s]}else{const s=t.defaultWidth,c=n!=null&&n.width?String(n.width):t.defaultWidth;r=t.values[c]||t.values[s]}const i=t.argumentCallback?t.argumentCallback(e):e;return r[i]}}const yN={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},fN={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},mN={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},kN={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},gN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},bN={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},MN={ordinalNumber:(t,e)=>{const n=Number(t),o=n%100;if(o>20||o<10)switch(o%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Gt({values:yN,defaultWidth:"wide"}),quarter:Gt({values:fN,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Gt({values:mN,defaultWidth:"wide"}),day:Gt({values:kN,defaultWidth:"wide"}),dayPeriod:Gt({values:gN,defaultWidth:"wide",formattingValues:bN,defaultFormattingWidth:"wide"})};function Yt(t){return(e,n={})=>{const o=n.width,r=o&&t.matchPatterns[o]||t.matchPatterns[t.defaultMatchWidth],i=e.match(r);if(!i)return null;const s=i[0],c=o&&t.parsePatterns[o]||t.parsePatterns[t.defaultParseWidth],d=Array.isArray(c)?wN(c,p=>p.test(s)):xN(c,p=>p.test(s));let h;h=t.valueCallback?t.valueCallback(d):d,h=n.valueCallback?n.valueCallback(h):h;const u=e.slice(s.length);return{value:h,rest:u}}}function xN(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function wN(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function CP(t){return(e,n={})=>{const o=e.match(t.matchPattern);if(!o)return null;const r=o[0],i=e.match(t.parsePattern);if(!i)return null;let s=t.valueCallback?t.valueCallback(i[0]):i[0];s=n.valueCallback?n.valueCallback(s):s;const c=e.slice(r.length);return{value:s,rest:c}}}const vN=/^(\d+)(th|st|nd|rd)?/i,CN=/\d+/i,LN={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},SN={any:[/^b/i,/^(a|c)/i]},IN={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_N={any:[/1/i,/2/i,/3/i,/4/i]},BN={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},AN={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},VN={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},PN={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},DN={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},qN={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},zN={ordinalNumber:CP({matchPattern:vN,parsePattern:CN,valueCallback:t=>parseInt(t,10)}),era:Yt({matchPatterns:LN,defaultMatchWidth:"wide",parsePatterns:SN,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:IN,defaultMatchWidth:"wide",parsePatterns:_N,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Yt({matchPatterns:BN,defaultMatchWidth:"wide",parsePatterns:AN,defaultParseWidth:"any"}),day:Yt({matchPatterns:VN,defaultMatchWidth:"wide",parsePatterns:PN,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:DN,defaultMatchWidth:"any",parsePatterns:qN,defaultParseWidth:"any"})},LP={code:"en-US",formatDistance:sN,formatLong:hN,formatRelative:pN,localize:MN,match:zN,options:{weekStartsOn:0,firstWeekContainsDate:1}};function EN(t,e){const n=Lt(t,e==null?void 0:e.in);return tN(n,rN(n))+1}function TN(t,e){const n=Lt(t,e==null?void 0:e.in),o=+IS(n)-+aN(n);return Math.round(o/bP)+1}function SP(t,e){var u,p,y,f;const n=Lt(t,e==null?void 0:e.in),o=n.getFullYear(),r=SS(),i=(e==null?void 0:e.firstWeekContainsDate)??((p=(u=e==null?void 0:e.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??r.firstWeekContainsDate??((f=(y=r.locale)==null?void 0:y.options)==null?void 0:f.firstWeekContainsDate)??1,s=Ha((e==null?void 0:e.in)||t,0);s.setFullYear(o+1,0,i),s.setHours(0,0,0,0);const c=Kl(s,e),d=Ha((e==null?void 0:e.in)||t,0);d.setFullYear(o,0,i),d.setHours(0,0,0,0);const h=Kl(d,e);return+n>=+c?o+1:+n>=+h?o:o-1}function ON(t,e){var c,d,h,u;const n=SS(),o=(e==null?void 0:e.firstWeekContainsDate)??((d=(c=e==null?void 0:e.locale)==null?void 0:c.options)==null?void 0:d.firstWeekContainsDate)??n.firstWeekContainsDate??((u=(h=n.locale)==null?void 0:h.options)==null?void 0:u.firstWeekContainsDate)??1,r=SP(t,e),i=Ha((e==null?void 0:e.in)||t,0);return i.setFullYear(r,0,o),i.setHours(0,0,0,0),Kl(i,e)}function HN(t,e){const n=Lt(t,e==null?void 0:e.in),o=+Kl(n,e)-+ON(n,e);return Math.round(o/bP)+1}function _e(t,e){const n=t<0?"-":"",o=Math.abs(t).toString().padStart(e,"0");return n+o}const Fa={y(t,e){const n=t.getFullYear(),o=n>0?n:1-n;return _e(e==="yy"?o%100:o,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):_e(n+1,2)},d(t,e){return _e(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return _e(t.getHours()%12||12,e.length)},H(t,e){return _e(t.getHours(),e.length)},m(t,e){return _e(t.getMinutes(),e.length)},s(t,e){return _e(t.getSeconds(),e.length)},S(t,e){const n=e.length,o=t.getMilliseconds(),r=Math.trunc(o*Math.pow(10,n-3));return _e(r,e.length)}},Js={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},IP={G:function(t,e,n){const o=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(o,{width:"abbreviated"});case"GGGGG":return n.era(o,{width:"narrow"});case"GGGG":default:return n.era(o,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const o=t.getFullYear(),r=o>0?o:1-o;return n.ordinalNumber(r,{unit:"year"})}return Fa.y(t,e)},Y:function(t,e,n,o){const r=SP(t,o),i=r>0?r:1-r;if(e==="YY"){const s=i%100;return _e(s,2)}return e==="Yo"?n.ordinalNumber(i,{unit:"year"}):_e(i,e.length)},R:function(t,e){const n=xP(t);return _e(n,e.length)},u:function(t,e){const n=t.getFullYear();return _e(n,e.length)},Q:function(t,e,n){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(o);case"QQ":return _e(o,2);case"Qo":return n.ordinalNumber(o,{unit:"quarter"});case"QQQ":return n.quarter(o,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(o,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(o,{width:"wide",context:"formatting"})}},q:function(t,e,n){const o=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(o);case"qq":return _e(o,2);case"qo":return n.ordinalNumber(o,{unit:"quarter"});case"qqq":return n.quarter(o,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(o,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(o,{width:"wide",context:"standalone"})}},M:function(t,e,n){const o=t.getMonth();switch(e){case"M":case"MM":return Fa.M(t,e);case"Mo":return n.ordinalNumber(o+1,{unit:"month"});case"MMM":return n.month(o,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(o,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(o,{width:"wide",context:"formatting"})}},L:function(t,e,n){const o=t.getMonth();switch(e){case"L":return String(o+1);case"LL":return _e(o+1,2);case"Lo":return n.ordinalNumber(o+1,{unit:"month"});case"LLL":return n.month(o,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(o,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(o,{width:"wide",context:"standalone"})}},w:function(t,e,n,o){const r=HN(t,o);return e==="wo"?n.ordinalNumber(r,{unit:"week"}):_e(r,e.length)},I:function(t,e,n){const o=TN(t);return e==="Io"?n.ordinalNumber(o,{unit:"week"}):_e(o,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):Fa.d(t,e)},D:function(t,e,n){const o=EN(t);return e==="Do"?n.ordinalNumber(o,{unit:"dayOfYear"}):_e(o,e.length)},E:function(t,e,n){const o=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(o,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(o,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(o,{width:"short",context:"formatting"});case"EEEE":default:return n.day(o,{width:"wide",context:"formatting"})}},e:function(t,e,n,o){const r=t.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"e":return String(i);case"ee":return _e(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(r,{width:"short",context:"formatting"});case"eeee":default:return n.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,n,o){const r=t.getDay(),i=(r-o.weekStartsOn+8)%7||7;switch(e){case"c":return String(i);case"cc":return _e(i,e.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(r,{width:"narrow",context:"standalone"});case"cccccc":return n.day(r,{width:"short",context:"standalone"});case"cccc":default:return n.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,n){const o=t.getDay(),r=o===0?7:o;switch(e){case"i":return String(r);case"ii":return _e(r,e.length);case"io":return n.ordinalNumber(r,{unit:"day"});case"iii":return n.day(o,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(o,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(o,{width:"short",context:"formatting"});case"iiii":default:return n.day(o,{width:"wide",context:"formatting"})}},a:function(t,e,n){const r=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(t,e,n){const o=t.getHours();let r;switch(o===12?r=Js.noon:o===0?r=Js.midnight:r=o/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(t,e,n){const o=t.getHours();let r;switch(o>=17?r=Js.evening:o>=12?r=Js.afternoon:o>=4?r=Js.morning:r=Js.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let o=t.getHours()%12;return o===0&&(o=12),n.ordinalNumber(o,{unit:"hour"})}return Fa.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):Fa.H(t,e)},K:function(t,e,n){const o=t.getHours()%12;return e==="Ko"?n.ordinalNumber(o,{unit:"hour"}):_e(o,e.length)},k:function(t,e,n){let o=t.getHours();return o===0&&(o=24),e==="ko"?n.ordinalNumber(o,{unit:"hour"}):_e(o,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):Fa.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):Fa.s(t,e)},S:function(t,e){return Fa.S(t,e)},X:function(t,e,n){const o=t.getTimezoneOffset();if(o===0)return"Z";switch(e){case"X":return BP(o);case"XXXX":case"XX":return ds(o);case"XXXXX":case"XXX":default:return ds(o,":")}},x:function(t,e,n){const o=t.getTimezoneOffset();switch(e){case"x":return BP(o);case"xxxx":case"xx":return ds(o);case"xxxxx":case"xxx":default:return ds(o,":")}},O:function(t,e,n){const o=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+_P(o,":");case"OOOO":default:return"GMT"+ds(o,":")}},z:function(t,e,n){const o=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+_P(o,":");case"zzzz":default:return"GMT"+ds(o,":")}},t:function(t,e,n){const o=Math.trunc(+t/1e3);return _e(o,e.length)},T:function(t,e,n){return _e(+t,e.length)}};function _P(t,e=""){const n=t>0?"-":"+",o=Math.abs(t),r=Math.trunc(o/60),i=o%60;return i===0?n+String(r):n+String(r)+e+_e(i,2)}function BP(t,e){return t%60===0?(t>0?"-":"+")+_e(Math.abs(t)/60,2):ds(t,e)}function ds(t,e=""){const n=t>0?"-":"+",o=Math.abs(t),r=_e(Math.trunc(o/60),2),i=_e(o%60,2);return n+r+e+i}const AP=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},VP=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},FN={p:VP,P:(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],o=n[1],r=n[2];if(!r)return AP(t,e);let i;switch(o){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;case"PPPP":default:i=e.dateTime({width:"full"});break}return i.replace("{{date}}",AP(o,e)).replace("{{time}}",VP(r,e))}},$N=/^D+$/,jN=/^Y+$/,RN=["D","DD","YY","YYYY"];function NN(t){return $N.test(t)}function UN(t){return jN.test(t)}function WN(t,e,n){const o=GN(t,e,n);if(console.warn(o),RN.includes(t))throw new RangeError(o)}function GN(t,e,n){const o=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${o} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const YN=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,KN=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,XN=/^'([^]*?)'?$/,ZN=/''/g,JN=/[a-zA-Z]/;function PP(t,e,n){var u,p,y,f;const o=SS(),r=o.locale??LP,i=o.firstWeekContainsDate??((p=(u=o.locale)==null?void 0:u.options)==null?void 0:p.firstWeekContainsDate)??1,s=o.weekStartsOn??((f=(y=o.locale)==null?void 0:y.options)==null?void 0:f.weekStartsOn)??0,c=Lt(t,n==null?void 0:n.in);if(!oN(c))throw new RangeError("Invalid time value");let d=e.match(KN).map(m=>{const k=m[0];if(k==="p"||k==="P"){const g=FN[k];return g(m,r.formatLong)}return m}).join("").match(YN).map(m=>{if(m==="''")return{isToken:!1,value:"'"};const k=m[0];if(k==="'")return{isToken:!1,value:QN(m)};if(IP[k])return{isToken:!0,value:m};if(k.match(JN))throw new RangeError("Format string contains an unescaped latin alphabet character `"+k+"`");return{isToken:!1,value:m}});r.localize.preprocessor&&(d=r.localize.preprocessor(c,d));const h={firstWeekContainsDate:i,weekStartsOn:s,locale:r};return d.map(m=>{if(!m.isToken)return m.value;const k=m.value;(UN(k)||NN(k))&&WN(k,e,String(t));const g=IP[k[0]];return g(c,k,r.localize,h)}).join("")}function QN(t){const e=t.match(XN);return e?e[1].replace(ZN,"'"):t}const eU={lessThanXSeconds:{one:"kurang dari 1 detik",other:"kurang dari {{count}} detik"},xSeconds:{one:"1 detik",other:"{{count}} detik"},halfAMinute:"setengah menit",lessThanXMinutes:{one:"kurang dari 1 menit",other:"kurang dari {{count}} menit"},xMinutes:{one:"1 menit",other:"{{count}} menit"},aboutXHours:{one:"sekitar 1 jam",other:"sekitar {{count}} jam"},xHours:{one:"1 jam",other:"{{count}} jam"},xDays:{one:"1 hari",other:"{{count}} hari"},aboutXWeeks:{one:"sekitar 1 minggu",other:"sekitar {{count}} minggu"},xWeeks:{one:"1 minggu",other:"{{count}} minggu"},aboutXMonths:{one:"sekitar 1 bulan",other:"sekitar {{count}} bulan"},xMonths:{one:"1 bulan",other:"{{count}} bulan"},aboutXYears:{one:"sekitar 1 tahun",other:"sekitar {{count}} tahun"},xYears:{one:"1 tahun",other:"{{count}} tahun"},overXYears:{one:"lebih dari 1 tahun",other:"lebih dari {{count}} tahun"},almostXYears:{one:"hampir 1 tahun",other:"hampir {{count}} tahun"}},tU=(t,e,n)=>{let o;const r=eU[t];return typeof r=="string"?o=r:e===1?o=r.one:o=r.other.replace("{{count}}",e.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"dalam waktu "+o:o+" yang lalu":o},aU={full:"EEEE, d MMMM yyyy",long:"d MMMM yyyy",medium:"d MMM yyyy",short:"d/M/yyyy"},nU={full:"HH.mm.ss",long:"HH.mm.ss",medium:"HH.mm",short:"HH.mm"},oU={full:"{{date}} 'pukul' {{time}}",long:"{{date}} 'pukul' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},rU={date:Zs({formats:aU,defaultWidth:"full"}),time:Zs({formats:nU,defaultWidth:"full"}),dateTime:Zs({formats:oU,defaultWidth:"full"})},iU={lastWeek:"eeee 'lalu pukul' p",yesterday:"'Kemarin pukul' p",today:"'Hari ini pukul' p",tomorrow:"'Besok pukul' p",nextWeek:"eeee 'pukul' p",other:"P"},sU=(t,e,n,o)=>iU[t],lU={narrow:["SM","M"],abbreviated:["SM","M"],wide:["Sebelum Masehi","Masehi"]},cU={narrow:["1","2","3","4"],abbreviated:["K1","K2","K3","K4"],wide:["Kuartal ke-1","Kuartal ke-2","Kuartal ke-3","Kuartal ke-4"]},dU={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","Mei","Jun","Jul","Agt","Sep","Okt","Nov","Des"],wide:["Januari","Februari","Maret","April","Mei","Juni","Juli","Agustus","September","Oktober","November","Desember"]},hU={narrow:["M","S","S","R","K","J","S"],short:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],abbreviated:["Min","Sen","Sel","Rab","Kam","Jum","Sab"],wide:["Minggu","Senin","Selasa","Rabu","Kamis","Jumat","Sabtu"]},uU={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},pU={narrow:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},abbreviated:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"},wide:{am:"AM",pm:"PM",midnight:"tengah malam",noon:"tengah hari",morning:"pagi",afternoon:"siang",evening:"sore",night:"malam"}},yU={ordinalNumber:(t,e)=>"ke-"+Number(t),era:Gt({values:lU,defaultWidth:"wide"}),quarter:Gt({values:cU,defaultWidth:"wide",argumentCallback:t=>t-1}),month:Gt({values:dU,defaultWidth:"wide"}),day:Gt({values:hU,defaultWidth:"wide"}),dayPeriod:Gt({values:uU,defaultWidth:"wide",formattingValues:pU,defaultFormattingWidth:"wide"})},fU=/^ke-(\d+)?/i,mU=/\d+/i,kU={narrow:/^(sm|m)/i,abbreviated:/^(s\.?\s?m\.?|s\.?\s?e\.?\s?u\.?|m\.?|e\.?\s?u\.?)/i,wide:/^(sebelum masehi|sebelum era umum|masehi|era umum)/i},gU={any:[/^s/i,/^(m|e)/i]},bU={narrow:/^[1234]/i,abbreviated:/^K-?\s[1234]/i,wide:/^Kuartal ke-?\s?[1234]/i},MU={any:[/1/i,/2/i,/3/i,/4/i]},xU={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|mei|jun|jul|agt|sep|okt|nov|des)/i,wide:/^(januari|februari|maret|april|mei|juni|juli|agustus|september|oktober|november|desember)/i},wU={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^ma/i,/^ap/i,/^me/i,/^jun/i,/^jul/i,/^ag/i,/^s/i,/^o/i,/^n/i,/^d/i]},vU={narrow:/^[srkjm]/i,short:/^(min|sen|sel|rab|kam|jum|sab)/i,abbreviated:/^(min|sen|sel|rab|kam|jum|sab)/i,wide:/^(minggu|senin|selasa|rabu|kamis|jumat|sabtu)/i},CU={narrow:[/^m/i,/^s/i,/^s/i,/^r/i,/^k/i,/^j/i,/^s/i],any:[/^m/i,/^sen/i,/^sel/i,/^r/i,/^k/i,/^j/i,/^sa/i]},LU={narrow:/^(a|p|tengah m|tengah h|(di(\swaktu)?) (pagi|siang|sore|malam))/i,any:/^([ap]\.?\s?m\.?|tengah malam|tengah hari|(di(\swaktu)?) (pagi|siang|sore|malam))/i},SU={any:{am:/^a/i,pm:/^pm/i,midnight:/^tengah m/i,noon:/^tengah h/i,morning:/pagi/i,afternoon:/siang/i,evening:/sore/i,night:/malam/i}},IU={ordinalNumber:CP({matchPattern:fU,parsePattern:mU,valueCallback:t=>parseInt(t,10)}),era:Yt({matchPatterns:kU,defaultMatchWidth:"wide",parsePatterns:gU,defaultParseWidth:"any"}),quarter:Yt({matchPatterns:bU,defaultMatchWidth:"wide",parsePatterns:MU,defaultParseWidth:"any",valueCallback:t=>t+1}),month:Yt({matchPatterns:xU,defaultMatchWidth:"wide",parsePatterns:wU,defaultParseWidth:"any"}),day:Yt({matchPatterns:vU,defaultMatchWidth:"wide",parsePatterns:CU,defaultParseWidth:"any"}),dayPeriod:Yt({matchPatterns:LU,defaultMatchWidth:"any",parsePatterns:SU,defaultParseWidth:"any"})},_U={code:"id",formatDistance:tU,formatLong:rU,formatRelative:sU,localize:yU,match:IU,options:{weekStartsOn:1,firstWeekContainsDate:1}},DP={primary:{light:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"#bfdbfe"},dark:{primary:"hsl(var(--primary))",text:"hsl(var(--primary-foreground))",hover:"hsl(var(--accent))",border:"hsl(var(--border))",range:"rgba(30, 58, 138, 0.3)"}},emerald:{light:{primary:"#16a34a",text:"#ffffff",hover:"#dcfce7",border:"#16a34a",range:"#ecfdf5"},dark:{primary:"#22c55e",text:"#0b1220",hover:"#14532d",border:"#22c55e",range:"rgba(6, 78, 59, 0.3)"}},amber:{light:{primary:"#d97706",text:"#ffffff",hover:"#fffbeb",border:"#d97706",range:"#fffbeb"},dark:{primary:"#f59e0b",text:"#0b1220",hover:"#78350f",border:"#f59e0b",range:"rgba(120, 53, 15, 0.3)"}},violet:{light:{primary:"#7c3aed",text:"#ffffff",hover:"#f5f3ff",border:"#7c3aed",range:"#f5f3ff"},dark:{primary:"#8b5cf6",text:"#0b1220",hover:"#2e1065",border:"#8b5cf6",range:"rgba(46, 16, 101, 0.3)"}},destructive:{light:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.10)",border:"hsl(var(--destructive))",range:"#fef2f2"},dark:{primary:"hsl(var(--destructive))",text:"hsl(var(--destructive-foreground))",hover:"hsl(var(--destructive) / 0.18)",border:"hsl(var(--destructive))",range:"rgba(127, 29, 29, 0.3)"}}},qP="dcode-dp-theme-forced";function BU(t,e=qP){const n=DP[t]??DP.primary,o=`
|
|
8503
8503
|
.dp__theme_light {
|
|
8504
8504
|
--dp-primary-color: ${n.light.primary} !important;
|
|
8505
8505
|
--dp-primary-text-color: ${n.light.text} !important;
|
|
@@ -8544,26 +8544,26 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warni
|
|
|
8544
8544
|
.dcode-datepicker-menu .dp__menu_inner {
|
|
8545
8545
|
padding: 0 !important;
|
|
8546
8546
|
}
|
|
8547
|
-
`.trim();let r=document.getElementById(e);r||(r=document.createElement("style"),r.id=e,document.head.appendChild(r)),r.textContent=o}function BU(t,e=qP){a.watch(t,n=>_U(n,e),{immediate:!0})}const AU={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},VU={key:0,class:"ml-1 text-destructive"},PU=["disabled","onClick"],DU={class:"flex-shrink-0 px-2 text-sm text-muted-foreground select-none whitespace-nowrap"},qU=["id","value","placeholder","disabled","onClick","onFocus","onBlur","onInput","onKeydown","onKeypress","onPaste"],zU={class:"h-full p-2 flex flex-col gap-3 w-32"},EU={class:"flex items-center justify-end gap-2 w-full p-2"},TU={key:1,class:"text-xs text-destructive"},E_=a.defineComponent({name:"DCodeDatePicker",inheritAttrs:!1,__name:"DCodeDatePicker",props:{modelValue:{},range:{type:Boolean,default:!0},autoRangeDays:{default:null},disablePast:{type:Boolean,default:!1},maxDaysAhead:{default:null},placeholder:{default:"Pilih tanggal"},label:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayFormat:{default:"dd/MM/yyyy"},modelType:{default:"yyyy-MM-dd"},locale:{default:"en"},placement:{default:"bottom-start"},prependInner:{default:void 0},error:{default:null},selectLabel:{default:"Select"},cancelLabel:{default:"Cancel"},tone:{default:"primary"},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=t,r=e,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`dcode-datepicker-${n.id||o.label||"date-picker"}-${i}`),c=a.computed(()=>{const q=n.required,O=n["aria-required"];return q===""||q===!0||q==="true"||O==="true"||O===!0}),d=a.computed(()=>!!o.error),h=a.computed({get:()=>o.modelValue,set:q=>{r("update:modelValue",q),r("change",q)}}),u=a.computed(()=>o.locale==="en"?LP:IU),p=a.computed(()=>o.range?2:!1),y=a.computed(()=>o.range?{partialRange:!1}:!1),f=q=>{const O=new Date(q);return O.setHours(0,0,0,0),O},m=q=>{const O=new Date(q);return O.setHours(23,59,59,999),O},k=(q,O)=>{const N=new Date(q);return N.setDate(N.getDate()+O),N},g=a.computed(()=>{}),b=a.computed(()=>{if(o.maxDaysAhead&&o.maxDaysAhead>0)return m(k(new Date,o.maxDaysAhead))}),w=a.ref(null),S=a.ref(null),C=q=>{S.value={month:q.month,year:q.year}},x=a.ref(!1);let M=null;a.onMounted(()=>{const q=document.documentElement,O=()=>x.value=q.classList.contains("dark");O(),M=new MutationObserver(O),M.observe(q,{attributes:!0,attributeFilter:["class"]})}),a.onBeforeUnmount(()=>{M==null||M.disconnect(),M=null}),BU(a.toRef(o,"tone"));const v=q=>{const O=new Date(q),N=O.getDay(),T=O.getDate()-N+(N===0?-6:1);return O.setDate(T),f(O)},L=q=>{const O=v(q);return O.setDate(O.getDate()+6),m(O)},I=q=>{const O=new Date(q);return O.setDate(1),f(O)},_=q=>{const O=new Date(q);return O.setMonth(O.getMonth()+1),O.setDate(0),m(O)},A=a.computed(()=>{if(!o.range)return[];const q=new Date;return[{label:o.locale==="id"?"Minggu Ini":"This Week",range:[v(q),L(q)]},{label:o.locale==="id"?"Bulan Ini":"This Month",range:[I(q),_(q)]}]}),V=async q=>{var D,G;const O=o.modelType||"yyyy-MM-dd";if(q.length===0){h.value=null;return}if(q.length<2)return;const N=PP(q[0],O),T=PP(q[1],O);h.value=[N,T],await a.nextTick();const H=q[0],j=H.getMonth(),Z=H.getFullYear();S.value&&S.value.month===j&&S.value.year===Z||(D=w.value)==null||D.setMonthYear({month:j,year:Z}),(G=w.value)==null||G.openMenu()};return(q,O)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class])},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.label?(a.openBlock(),a.createElementBlock("div",AU)):a.createCommentVNode("",!0),O[2]||(O[2]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[t.label?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:s.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",VU,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createVNode(a.unref(Iz.VueDatePicker),{ref_key:"dpRef",ref:w,modelValue:h.value,"onUpdate:modelValue":O[1]||(O[1]=N=>h.value=N),dark:x.value,range:y.value,"multi-calendars":p.value,disabled:t.disabled,clearable:!1,"text-input":"","enable-time-picker":!1,"time-config":{enableTimePicker:!1},"auto-apply":!1,"action-row":{showPreview:!0,showNow:!1},locale:u.value,"model-type":t.modelType,formats:{input:t.displayFormat},"min-date":g.value,"max-date":b.value,"preset-ranges":A.value,floating:{placement:t.placement,offset:8,arrow:!1,flip:!1,shift:!0},teleport:!0,"menu-class-name":"dcode-datepicker-menu","calendar-class-name":"dcode-datepicker-calendar",onUpdateMonthYear:C},a.createSlots({"dp-input":a.withCtx(({value:N,onInput:T,onEnter:H,onTab:j,onBlur:Z,onFocus:P,onKeypress:D,onPaste:G,toggleMenu:ne})=>[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full h-10 rounded-lg border bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 overflow-hidden",[d.value?"border-destructive":"",t.disabled?"opacity-50 cursor-not-allowed":""]])},[a.createElementVNode("button",{type:"button",tabindex:"-1",disabled:t.disabled,class:"flex-shrink-0 flex items-center justify-center w-10 h-full text-muted-foreground hover:text-foreground transition-colors focus:outline-none",onClick:te=>ne()},[a.createVNode(a.unref(ul),{class:"w-4 h-4 pointer-events-none"})],8,PU),O[4]||(O[4]=a.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1)),t.prependInner?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("span",DU,a.toDisplayString(t.prependInner),1),O[3]||(O[3]=a.createElementVNode("span",{class:"w-px h-5 bg-gray-200 dark:bg-gray-700 flex-shrink-0"},null,-1))],64)):a.createCommentVNode("",!0),a.createElementVNode("input",{id:s.value,value:N,placeholder:t.placeholder,disabled:t.disabled,autocomplete:"off",readonly:"",class:a.normalizeClass(["flex-1 min-w-0 px-3 h-full bg-transparent text-sm text-foreground dark:text-gray-300 placeholder:text-muted-foreground outline-none",t.disabled?"cursor-not-allowed":"cursor-pointer"]),onClick:te=>ne(),onFocus:te=>P(),onBlur:te=>Z(),onInput:te=>T(te),onKeydown:[a.withKeys(te=>H(te),["enter"]),a.withKeys(te=>j(te),["tab"])],onKeypress:te=>D(te),onPaste:te=>G()},null,42,qU)],2)]),"action-buttons":a.withCtx(({selectDate:N,selectionDisabled:T})=>[a.createElementVNode("div",EU,[a.createVNode(a.unref(Se),{type:"button",variant:"outline",onClick:O[0]||(O[0]=H=>{var j;return(j=w.value)==null?void 0:j.closeMenu()})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.cancelLabel),1)]),_:1}),a.createVNode(a.unref(Se),{type:"button",variant:"default",disabled:T,onClick:H=>N()},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.selectLabel),1)]),_:1},8,["disabled","onClick"])])]),_:2},[t.range?{name:"left-sidebar",fn:a.withCtx(()=>[a.createElementVNode("div",zU,[A.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(A.value,N=>(a.openBlock(),a.createBlock(a.unref(Se),{key:N.label,type:"button",variant:"default",class:"w-full",onClick:T=>V(N.range)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.label),1)]),_:2},1032,["onClick"]))),128)):a.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["modelValue","dark","range","multi-calendars","disabled","locale","model-type","formats","min-date","max-date","preset-ranges","floating"]),d.value?(a.openBlock(),a.createElementBlock("p",TU,a.toDisplayString(o.error),1)):a.createCommentVNode("",!0)],64))],2))}}),OU={class:"flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"},HU=a.defineComponent({__name:"Calendar",props:{defaultValue:{},defaultPlaceholder:{},placeholder:{},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},locale:{},numberOfMonths:{},disabled:{type:Boolean},readonly:{type:Boolean},initialFocus:{type:Boolean},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},dir:{},nextPage:{type:Function},prevPage:{type:Function},modelValue:{},multiple:{type:Boolean},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue","update:placeholder"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(FO),a.mergeProps({class:a.unref(he)("p-3",n.class)},a.unref(i)),{default:a.withCtx(({grid:d,weekDays:h})=>[a.createVNode(a.unref(WU),null,{default:a.withCtx(()=>[a.createVNode(a.unref(KU)),a.createVNode(a.unref(GU)),a.createVNode(a.unref(YU))]),_:1}),a.createElementVNode("div",OU,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d,u=>(a.openBlock(),a.createBlock(a.unref(jU),{key:u.value.toString()},{default:a.withCtx(()=>[a.createVNode(a.unref(NU),null,{default:a.withCtx(()=>[a.createVNode(a.unref(zP),null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h,p=>(a.openBlock(),a.createBlock(a.unref(UU),{key:p},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(p),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),a.createVNode(a.unref(RU),null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.rows,(p,y)=>(a.openBlock(),a.createBlock(a.unref(zP),{key:`weekDate-${y}`,class:"mt-2 w-full"},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(p,f=>(a.openBlock(),a.createBlock(a.unref(FU),{key:f.toString(),date:f},{default:a.withCtx(()=>[a.createVNode(a.unref($U),{day:f,month:u.value},null,8,["day","month"])]),_:2},1032,["date"]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))])]),_:1},16,["class"]))}}),FU=a.defineComponent({__name:"CalendarCell",props:{date:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(jO),a.mergeProps({class:a.unref(he)("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent [&:has([data-selected][data-outside-view])]:bg-accent/50",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),$U=a.defineComponent({__name:"CalendarCellTrigger",props:{day:{},month:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(NO),a.mergeProps({class:a.unref(he)(a.unref(la)({variant:"ghost"}),"h-8 w-8 p-0 font-normal","[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground","data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:opacity-100 data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground","data-[disabled]:text-muted-foreground data-[disabled]:opacity-50","data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through","data-[outside-view]:text-muted-foreground data-[outside-view]:opacity-50 [&[data-outside-view][data-selected]]:bg-accent/50 [&[data-outside-view][data-selected]]:text-muted-foreground [&[data-outside-view][data-selected]]:opacity-30",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),jU=a.defineComponent({__name:"CalendarGrid",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(WO),a.mergeProps({class:a.unref(he)("w-full border-collapse space-y-1",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),RU=a.defineComponent({__name:"CalendarGridBody",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(YO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),NU=a.defineComponent({__name:"CalendarGridHead",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(XO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),zP=a.defineComponent({__name:"CalendarGridRow",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(JO),a.mergeProps({class:a.unref(he)("flex",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),UU=a.defineComponent({__name:"CalendarHeadCell",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(eH),a.mergeProps({class:a.unref(he)("w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),WU=a.defineComponent({__name:"CalendarHeader",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(aH),a.mergeProps({class:a.unref(he)("relative flex w-full items-center justify-between pt-1",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),GU=a.defineComponent({__name:"CalendarHeading",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(oH),a.mergeProps({class:a.unref(he)("text-sm font-medium",e.class)},a.unref(o)),{default:a.withCtx(({headingValue:s})=>[a.renderSlot(r.$slots,"default",{headingValue:s},()=>[a.createTextVNode(a.toDisplayString(s),1)])]),_:3},16,["class"]))}}),YU=a.defineComponent({__name:"CalendarNextButton",props:{nextPage:{type:Function},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(iH),a.mergeProps({class:a.unref(he)(a.unref(la)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(xa),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),KU=a.defineComponent({__name:"CalendarPrevButton",props:{prevPage:{type:Function},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(lH),a.mergeProps({class:a.unref(he)(a.unref(la)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Ma),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_S=a.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=Qt(n,"modelValue",e,{passive:!0,defaultValue:n.defaultValue});return(i,s)=>a.withDirectives((a.openBlock(),a.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>a.isRef(r)?r.value=c:null),class:a.normalizeClass(a.unref(he)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[a.vModelText,a.unref(r)]])}}),XU=a.defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(bF),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),ZU=a.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{default:"center"},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(_F),null,{default:a.withCtx(()=>[a.createVNode(a.unref(SF),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),JU=a.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(AF),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),QU={class:"relative w-full"},eW={class:"mt-2 flex justify-end gap-2"},tW={name:"DCodeDateRangePicker"},T_=a.defineComponent({...tW,props:{modelValue:{},placeholder:{default:"YYYY-MM-DD - YYYY-MM-DD"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},returnType:{default:"yyyy-mm-dd"},requireBoth:{type:Boolean,default:!1}},emits:["update:modelValue","change","invalid"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(!1),i=a.ref(null),s=a.ref(""),c=a.ref(null),d=a.ref("");function h(I){return String(I).padStart(2,"0")}function u(I){return`${I.getFullYear()}-${h(I.getMonth()+1)}-${h(I.getDate())}`}function p(I){return new Ee(I.getFullYear(),I.getMonth()+1,I.getDate())}function y(I){const _=I.trim();if(!_)return null;const A=_.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(A){const O=new Date(Number(A[1]),Number(A[2])-1,Number(A[3]));return Number.isNaN(O.getTime())?null:O}const V=_.match(/^(\d{2})\/(\d{2})\/(\d{4})$/);if(V){const O=new Date(Number(V[3]),Number(V[2])-1,Number(V[1]));return Number.isNaN(O.getTime())?null:O}const q=new Date(_);return Number.isNaN(q.getTime())?null:q}function f(I){return I?I instanceof Date?Number.isNaN(I.getTime())?null:I:typeof I=="string"?y(I):null:null}function m(I){return I?(I.setHours(0,0,0,0),n.returnType==="iso"?I.toISOString():n.returnType==="yyyy-mm-dd"?u(I):I):null}function k(I){const _=I!=null&&I.start?u(I.start.toDate(ea())):"",A=I!=null&&I.end?u(I.end.toDate(ea())):"";return _&&A?`${_} - ${A}`:_&&!A?`${_} - `:""}function g(){const I=n.modelValue,_=I!=null&&I.start?f(I.start):null,A=I!=null&&I.end?f(I.end):null;let V={start:_?p(_):void 0,end:A?p(A):void 0};!V.start&&!V.end&&(V=null),i.value=V,s.value=i.value?k(i.value):""}function b(){c.value=i.value,d.value=s.value}function w(I){const _=I.trim();if(!_)return{a:"",b:null};if(_.includes(" - ")){const[A,V]=_.split(" - ");return{a:(A??"").trim(),b:(V??"").trim()||null}}if(_.toLowerCase().includes(" to ")){const[A,V]=_.toLowerCase().split(" to ");return{a:(A??"").trim(),b:(V??"").trim()||null}}if(_.includes(" – ")){const[A,V]=_.split(" – ");return{a:(A??"").trim(),b:(V??"").trim()||null}}return{a:_,b:null}}function S(){const{a:I,b:_}=w(d.value);if(!I&&!_)return c.value=null,!0;const A=I?f(I):null;if(I&&!A)return o("invalid","Format tanggal start tidak valid. Pakai YYYY-MM-DD atau DD/MM/YYYY."),!1;const V=_?f(_):null;if(_&&!V)return o("invalid","Format tanggal end tidak valid. Pakai YYYY-MM-DD atau DD/MM/YYYY."),!1;const q=A?p(A):void 0,O=V?p(V):void 0;let N;return A&&V&&V.getTime()<A.getTime()?N={start:O,end:q}:N={start:q,end:O},c.value=N,!c.value.start&&!c.value.end?(c.value=null,d.value="",!0):(d.value=k(c.value),!0)}function C(I){const _=I!=null&&I.start?I.start.toDate(ea()):null,A=I!=null&&I.end?I.end.toDate(ea()):null;_&&_.setHours(0,0,0,0),A&&A.setHours(0,0,0,0);const V=_||A?{start:m(_),end:m(A)}:null;o("update:modelValue",V),o("change",V)}function x(I){const _=I?{start:I.start,end:I.end}:null;c.value=_,d.value=_?k(_):""}function M(){if(!S())return;const _=c.value;if(n.requireBoth&&(!(_!=null&&_.start)||!(_!=null&&_.end))){o("invalid","Pilih tanggal start dan end dulu sebelum Apply.");return}i.value=_,s.value=_?k(_):"",c.value=i.value,d.value=s.value,C(_),r.value=!1}function v(){b(),r.value=!1}function L(){c.value=null,d.value=""}return a.watch(()=>n.modelValue,()=>{g(),r.value||b()},{immediate:!0}),a.watch(r,I=>{I&&b()}),(I,_)=>(a.openBlock(),a.createBlock(a.unref(XU),{open:r.value,"onUpdate:open":_[5]||(_[5]=A=>r.value=A)},{default:a.withCtx(()=>[a.createVNode(a.unref(JU),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",QU,[a.createVNode(a.unref(_S),{modelValue:d.value,"onUpdate:modelValue":_[0]||(_[0]=A=>d.value=A),disabled:t.disabled,placeholder:t.placeholder,class:"pr-20",onFocus:_[1]||(_[1]=A=>!t.disabled&&(r.value=!0)),onKeydown:_[2]||(_[2]=a.withKeys(a.withModifiers(A=>S(),["prevent"]),["enter"])),onBlur:_[3]||(_[3]=A=>S())},null,8,["modelValue","disabled","placeholder"]),t.clearable&&d.value?(a.openBlock(),a.createBlock(a.unref(Se),{key:0,type:"button",variant:"ghost",size:"icon",class:"absolute right-10 top-1/2 -translate-y-1/2 h-8 w-8",disabled:t.disabled,onClick:L},{default:a.withCtx(()=>[..._[6]||(_[6]=[a.createTextVNode(" ✕ ",-1)])]),_:1},8,["disabled"])):a.createCommentVNode("",!0),a.createVNode(a.unref(Se),{type:"button",variant:"ghost",size:"icon",class:"absolute right-1 top-1/2 -translate-y-1/2 h-8 w-8",disabled:t.disabled,onClick:_[4]||(_[4]=A=>r.value=!r.value)},{default:a.withCtx(()=>[..._[7]||(_[7]=[a.createTextVNode(" 📅 ",-1)])]),_:1},8,["disabled"])])]),_:1}),a.createVNode(a.unref(ZU),{class:"p-2 w-auto",align:"start"},{default:a.withCtx(()=>[a.createVNode(a.unref(HU),{mode:"range",selected:c.value??void 0,"onUpdate:selected":x,"initial-focus":""},null,8,["selected"]),a.createElementVNode("div",eW,[a.createVNode(a.unref(Se),{variant:"outline",type:"button",onClick:v},{default:a.withCtx(()=>[..._[8]||(_[8]=[a.createTextVNode("Cancel",-1)])]),_:1}),a.createVNode(a.unref(Se),{type:"button",onClick:M},{default:a.withCtx(()=>[..._[9]||(_[9]=[a.createTextVNode("Apply",-1)])]),_:1})])]),_:1})]),_:1},8,["open"]))}}),aW=a.defineComponent({__name:"Alert",props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)(a.unref(oW)({variant:t.variant}),e.class)),role:"alert"},[a.renderSlot(n.$slots,"default")],2))}}),nW=a.defineComponent({__name:"AlertDescription",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("text-sm [&_p]:leading-relaxed",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),oW=Yl("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Qs=a.defineComponent({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("rounded-xl border bg-card text-card-foreground shadow",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),el=a.defineComponent({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("p-6 pt-0",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),rW=a.defineComponent({__name:"CardFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex items-center p-6 pt-0",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),Xl=a.defineComponent({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col gap-y-1.5 p-6",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),BS=a.defineComponent({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("h3",{class:a.normalizeClass(a.unref(he)("font-medium leading-none tracking-tight",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),iW={class:"h-full w-full p-6 flex flex-col items-center justify-center text-center gap-2"},sW={class:"flex flex-wrap items-center justify-center gap-2"},lW=["accept","multiple"],AS=a.defineComponent({__name:"DCodeDropzone",props:{label:{default:"Upload File"},hint:{default:"Drag & drop file di sini atau klik area ini"},accept:{default:"image/*"},maxSizeMb:{default:2},mode:{default:"single"},disabled:{type:Boolean,default:!1},showSelected:{type:Boolean,default:!0},error:{default:null}},emits:["picked","picked:multiple","error"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(null),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);a.computed(()=>n.accept||"file/*");const h=a.computed(()=>n.error??s.value);function u(){var x;n.disabled||(x=r.value)==null||x.click()}function p(x){const M=x/1024,v=M/1024;return v>=1?`${v.toFixed(2)} MB`:M>=1?`${M.toFixed(1)} KB`:`${x} B`}function y(x){var v;if(!x)return"File tidak valid";if((v=n.accept)!=null&&v.includes("image/")&&!x.type.startsWith("image/"))return"Hanya file gambar yang diizinkan";const M=(n.maxSizeMb??2)*1024*1024;return x.size>M?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null}function f(x){c.value=x.name,d.value=x.size}function m(x){if(s.value=null,!x.length)return;if(n.mode==="single"){const v=x[0],L=y(v);if(L){s.value=L,o("error",L);return}n.showSelected&&f(v),o("picked",v);return}const M=[];for(const v of x){const L=y(v);if(L){s.value=L,o("error",L);return}M.push(v)}M.length&&(n.showSelected&&f(M[0]),o("picked:multiple",M))}function k(x){const M=x.target,v=Array.from(M.files??[]);m(v),M.value=""}function g(){n.disabled||(i.value=!0)}function b(){n.disabled||(i.value=!0)}function w(){i.value=!1}function S(x){var L,I;if(n.disabled)return;i.value=!1;const M=Array.from(((L=x.dataTransfer)==null?void 0:L.files)??[]),v=(I=n.accept)!=null&&I.includes("image/")?M.filter(_=>_.type.startsWith("image/")):M;m(v)}const C=a.computed(()=>(n.accept||"file/*").split(",").map(x=>x.trim()).filter(Boolean).map(x=>x==="image/*"?"IMAGE":x.replace(/^image\//,"").replace(/^\./,"")).join(", "));return a.computed(()=>`${n.maxSizeMb??0}MB`),(x,M)=>(a.openBlock(),a.createBlock(a.unref(Qs),{class:a.normalizeClass(t.disabled?"opacity-60":"")},{default:a.withCtx(()=>[a.createVNode(a.unref(Xl),{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(BS),{class:"text-sm font-semibold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.label),1)]),_:1})]),_:1}),a.createVNode(a.unref(el),{class:"pt-2"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["flex justify-center items-center rounded-xl border-2 border-dashed transition cursor-pointer select-none",[i.value?"border-primary bg-primary/10 -translate-y-[1px]":"border-border bg-muted/30",t.disabled?"cursor-not-allowed":"hover:border-primary/60 hover:bg-primary/5"]]),style:{"min-height":"190px"},onClick:u,onDragenter:a.withModifiers(g,["prevent"]),onDragover:a.withModifiers(b,["prevent"]),onDragleave:a.withModifiers(w,["prevent"]),onDrop:a.withModifiers(S,["prevent"])},[a.createElementVNode("div",iW,[M[0]||(M[0]=a.createElementVNode("div",{class:"text-sm font-medium"},"Drag & drop file di sini",-1)),M[1]||(M[1]=a.createElementVNode("div",{class:"text-xs text-muted-foreground"},"atau klik area ini untuk memilih file",-1)),a.createElementVNode("div",sW,[a.createVNode(a.unref(Oa),{variant:"secondary",class:"text-[11px]"},{default:a.withCtx(()=>[a.createTextVNode(" Allowed: "+a.toDisplayString(C.value),1)]),_:1}),a.createVNode(a.unref(Oa),{variant:"secondary",class:"text-[11px]"},{default:a.withCtx(()=>[a.createTextVNode(" Max: "+a.toDisplayString(n.maxSizeMb)+"MB ",1)]),_:1})]),t.showSelected&&c.value?(a.openBlock(),a.createBlock(a.unref(Oa),{key:0,variant:"secondary",class:"mt-2"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value)+" • "+a.toDisplayString(d.value?p(d.value):""),1)]),_:1})):a.createCommentVNode("",!0)]),a.createElementVNode("input",{ref_key:"fileInputEl",ref:r,type:"file",class:"hidden",accept:t.accept,multiple:t.mode==="multiple",onChange:k},null,40,lW)],34),h.value?(a.openBlock(),a.createBlock(a.unref(aW),{key:0,variant:"destructive",class:"mt-3"},{default:a.withCtx(()=>[a.createVNode(a.unref(nW),{class:"text-sm"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:1})]),_:1})):a.createCommentVNode("",!0)]),_:1})]),_:1},8,["class"]))}}),Zl=a.defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(N$),a.mergeProps(a.unref(n),{class:a.unref(he)("shrink-0 bg-border",e.orientation==="horizontal"?"h-px w-full":"w-px h-full",e.class)}),null,16,["class"]))}}),cW={class:"ps-3 pt-2"},dW={class:"bg-warning -mt-5"},O_=a.defineComponent({__name:"DCodeImageCropperDialog",props:{modelValue:{type:Boolean},file:{},title:{default:"Resize & Crop Gambar"},description:{default:""},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!1}},emits:["update:modelValue","done","cancel"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:g=>o("update:modelValue",g)}),i=a.ref(null),s=a.ref(null);let c=null,d=!1,h=0;function u(){if(c){try{c.close()}catch{}c=null,i.value&&(i.value.innerHTML=""),s.value=null}}async function p(g,b,w,S,C){const x=await new Promise((L,I)=>{const _=URL.createObjectURL(g),A=new Image;A.onload=()=>{URL.revokeObjectURL(_),L(A)},A.onerror=V=>{URL.revokeObjectURL(_),I(V)},A.src=_}),M=document.createElement("canvas");M.width=b,M.height=w;const v=M.getContext("2d");return v?(v.drawImage(x,0,0,b,w),await new Promise(L=>{M.toBlob(I=>L(I||g),S,C)})):g}function y(){if(!c||!s.value)return;const g=c.getPlugin("Dashboard"),b=c.getFile(s.value);!g||!b||requestAnimationFrame(()=>{try{g.openFileEditor(b)}catch{try{g.openFileEditor(s.value)}catch{}}})}async function f(g){if(c){c.cancelAll(),s.value=null;try{const b=c.addFile({name:g.name,type:g.type,data:g,source:"Local",isRemote:!1});s.value=String(b)}catch{}}}function m(){i.value&&(c&&u(),c=new _z({autoProceed:!1,restrictions:{maxNumberOfFiles:1,allowedFileTypes:["image/*"]}}),c.use(OB,{target:i.value,inline:!0,height:480,proudlyDisplayPoweredByUppy:!1,hideUploadButton:!0,hideRetryButton:!0,hidePauseResumeButton:!0,hideCancelButton:!0,showProgressDetails:!1}),c.use(Bz,{target:OB,quality:n.quality,cropperOptions:{viewMode:1,dragMode:"move",autoCropArea:1,aspectRatio:n.aspectRatio==null?Number.NaN:n.aspectRatio}}),c.on("file-editor:cancel",()=>{r.value=!1}),c.on("file-added",g=>{s.value=(g==null?void 0:g.id)??null,n.autoOpenEditor&&setTimeout(()=>y(),80)}),c.on("file-editor:complete",async g=>{const b=++h;try{const w=g.data,S=w.type||g.type||"image/jpeg";let C=w;if(n.outputWidth&&n.outputHeight&&(C=await p(w,n.outputWidth,n.outputHeight,S,n.quality)),d||b!==h)return;const x=g.name||"edited-image.jpg",M=new File([C],x,{type:S});await k(M,"UPPY_EDITOR_COMPLETE"),o("done",M),r.value=!1}catch{}}))}async function k(g,b="CROP_RESULT"){const w=URL.createObjectURL(g);try{const S=await new Promise((C,x)=>{const M=new Image;M.onload=()=>C(M),M.onerror=x,M.src=w});console.group(b),console.log("file:",g),console.table({name:g.name,type:g.type,sizeBytes:g.size,sizeMB:+(g.size/1024/1024).toFixed(3),width:S.naturalWidth,height:S.naturalHeight,ratio:+(S.naturalWidth/S.naturalHeight).toFixed(4)}),console.log("previewUrl:",w),console.groupEnd()}finally{URL.revokeObjectURL(w)}}return a.watch(r,async g=>{d=!g,h++,g?(await a.nextTick(),m(),n.file&&await f(n.file)):u()},{flush:"post"}),a.watch(()=>n.file,async g=>{r.value&&g&&(await a.nextTick(),await f(g))}),a.onBeforeUnmount(()=>{d=!0,h++,u()}),(g,b)=>(a.openBlock(),a.createBlock(a.unref(mP),{open:r.value,"onUpdate:open":b[2]||(b[2]=w=>r.value=w)},{default:a.withCtx(()=>[a.createVNode(a.unref(kP),{class:"max-w-[750px] p-0 overflow-hidden",onInteractOutside:b[0]||(b[0]=a.withModifiers(()=>{},["prevent"])),onEscapeKeyDown:b[1]||(b[1]=a.withModifiers(()=>{},["prevent"]))},{default:a.withCtx(()=>[a.createElementVNode("div",cW,[a.createVNode(a.unref(dR),{class:""},{default:a.withCtx(()=>[...b[3]||(b[3]=[a.createTextVNode(" Crop & Resize ",-1)])]),_:1}),b[4]||(b[4]=a.createElementVNode("div",{class:"flex items-center justify-end"},null,-1))]),a.createVNode(a.unref(Zl)),a.createElementVNode("div",dW,[a.createElementVNode("div",{ref_key:"dashboardEl",ref:i,class:"uppy-wrap"},null,512)])]),_:1})]),_:1},8,["open"]))}}),hW={key:0,class:"text-xs text-muted-foreground"},uW=["src"],pW={class:"absolute top-2 inset-x-2 flex items-center justify-between"},yW={class:"absolute left-2 bottom-2 z-10 inline-block max-w-[calc(100%-16px)] rounded-xl border px-3 py-2 shadow-lg backdrop-blur opacity-0 translate-y-1 scale-[0.99] transition-all duration-200 group-hover:opacity-100 group-hover:translate-y-0 group-hover:scale-100 border-border/60 dark:border-border/50 bg-background/80 dark:bg-background/30"},fW={class:"text-[11px] text-foreground/90 space-y-1 whitespace-nowrap"},mW={class:"flex gap-2"},kW={class:"font-medium truncate"},gW={class:"flex gap-2"},bW={class:"font-medium"},MW={class:"flex gap-2"},xW={class:"font-medium truncate"},H_=a.defineComponent({__name:"DCodeImageResult",props:{file:{},title:{default:"Hasil Gambar"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0}},emits:["edit","replace","remove"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(null);a.watch(()=>n.file,c=>{r.value&&URL.revokeObjectURL(r.value),r.value=c?URL.createObjectURL(c):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value)});function i(c){const d=c/1024,h=d/1024;return h>=1?`${h.toFixed(2)} MB`:d>=1?`${d.toFixed(1)} KB`:`${c} B`}const s=a.computed(()=>n.file?{name:n.file.name,size:i(n.file.size),type:n.file.type||"unknown"}:null);return(c,d)=>t.file?(a.openBlock(),a.createBlock(Qs,{key:0,class:a.normalizeClass(t.disabled?"opacity-60 pointer-events-none":"")},{default:a.withCtx(()=>[a.createVNode(Xl,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(BS,{class:"text-sm font-semibold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),t.description?(a.openBlock(),a.createElementBlock("div",hW,a.toDisplayString(t.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(el,{class:"pt-2"},{default:a.withCtx(()=>{var h,u,p;return[a.createElementVNode("div",{class:"group relative rounded-xl overflow-hidden bg-muted border-2 border-dashed border-border w-full transition-colors duration-200 hover:border-primary/50 hover:bg-primary/5",style:a.normalizeStyle({height:`${t.previewHeight}px`})},[r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,uW)):a.createCommentVNode("",!0),a.createElementVNode("div",pW,[t.showEdit?(a.openBlock(),a.createBlock(Wt,{key:0,icon:a.unref(Is),size:"icon",variant:"secondary",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:d[0]||(d[0]=y=>o("edit"))},null,8,["icon","disabled"])):a.createCommentVNode("",!0),t.showRemove?(a.openBlock(),a.createBlock(Wt,{key:1,icon:a.unref(As),size:"icon",variant:"destructive",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:d[1]||(d[1]=y=>o("remove"))},null,8,["icon","disabled"])):a.createCommentVNode("",!0)]),a.createElementVNode("div",yW,[a.createElementVNode("div",fW,[a.createElementVNode("div",mW,[d[2]||(d[2]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Nama",-1)),a.createElementVNode("span",kW,a.toDisplayString((h=s.value)==null?void 0:h.name),1)]),a.createElementVNode("div",gW,[d[3]||(d[3]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Ukuran",-1)),a.createElementVNode("span",bW,a.toDisplayString((u=s.value)==null?void 0:u.size),1)]),a.createElementVNode("div",MW,[d[4]||(d[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Tipe",-1)),a.createElementVNode("span",xW,a.toDisplayString((p=s.value)==null?void 0:p.type),1)])])])],4)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}});function F_(){const t=i=>{var d;const s={type:i.type||"info",title:i.title,message:i.message,duration:i.duration??3e3};typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:toast",{detail:s,bubbles:!0,composed:!0})),(s.type==="error"?console.error:s.type==="warning"?console.warn:console.log)(`[Toast][${(d=s.type)==null?void 0:d.toUpperCase()}]`,s.title||"",s.message)};return{show:t,success:(i,s)=>t({type:"success",message:i,title:s}),error:(i,s)=>t({type:"error",message:i,title:s}),warning:(i,s)=>t({type:"warning",message:i,title:s}),info:(i,s)=>t({type:"info",message:i,title:s})}}const wW={class:"space-y-3"},vW={name:"DCodeImageField"},$_=a.defineComponent({...vW,props:{modelValue:{default:null},label:{default:"Upload Gambar"},hint:{default:"Drag & drop atau klik area ini"},disabled:{type:Boolean,default:!1},allowedTypes:{default:null},accept:{default:"image/*"},minSizeMb:{default:null},maxSizeMb:{default:2},title:{default:"Hasil Gambar"},description:{default:""},previewWidth:{default:360},previewHeight:{default:220},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!0},minWidth:{default:null},minHeight:{default:null},maxWidth:{default:null},maxHeight:{default:null},endpoint:{},uploadFn:{},editUseOriginal:{type:Boolean,default:!1}},emits:["update:modelValue","error","uploaded"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:T=>o("update:modelValue",T)}),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);function h(T){d.value=T,o("error",T)}function u(){d.value=null}const p=a.computed(()=>{const T=(n.allowedTypes??"").trim();return T?T.split(/[,\s;]+/g).map(j=>j.trim().toLowerCase()).filter(Boolean).map(j=>j.includes("/")||j.startsWith(".")?j:`.${j}`):[]});function y(T){const H=T.lastIndexOf(".");return H>=0?T.slice(H).toLowerCase():""}const f=a.computed(()=>{if(p.value.length){const T=p.value.filter(j=>j.startsWith("."));return[...p.value.filter(j=>j.includes("/")),...T].join(",")}return n.accept||"image/*"}),m=a.computed(()=>p.value.length?p.value.join(", "):n.accept||"image/*");function k(T){if(p.value.length){const j=(T.type||"").toLowerCase(),Z=y(T.name);return p.value.some(P=>P.includes("/")?j===P:P.startsWith(".")?Z===P:Z===`.${P}`)}return(n.accept||"image/*").toLowerCase().includes("image/")?(T.type||"").toLowerCase().startsWith("image/"):!0}function g(T){return T*1024*1024}async function b(T){var H;return(H=T.type)!=null&&H.startsWith("image/")?await new Promise(j=>{const Z=URL.createObjectURL(T),P=new Image;P.onload=()=>{URL.revokeObjectURL(Z),j({w:P.naturalWidth,h:P.naturalHeight})},P.onerror=()=>{URL.revokeObjectURL(Z),j(null)},P.src=Z}):null}async function w(T){if(!(n.minWidth!=null||n.minHeight!=null||n.maxWidth!=null||n.maxHeight!=null))return null;const j=await b(T);return j?n.minWidth!=null&&j.w<n.minWidth?`Lebar gambar minimal ${n.minWidth}px`:n.minHeight!=null&&j.h<n.minHeight?`Tinggi gambar minimal ${n.minHeight}px`:n.maxWidth!=null&&j.w>n.maxWidth?`Lebar gambar maksimal ${n.maxWidth}px`:n.maxHeight!=null&&j.h>n.maxHeight?`Tinggi gambar maksimal ${n.maxHeight}px`:null:"Gagal membaca dimensi gambar"}async function S(T){return T?k(T)?n.minSizeMb!=null&&T.size<g(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&T.size>g(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:await w(T):`only Allowed: ${m.value}`:"File tidak valid"}function C(T){n.disabled||(s.value=T,i.value=!0)}async function x(T){if(n.disabled)return;u();const H=await S(T);if(H){h(H);return}c.value=T,C(T)}const{DCodeApi:M}=nt(),v=F_(),L=a.ref(!1);a.ref(null);function I(T,H){return!T||!H?null:T.replace(/\/+$/,"")+"/"+H.replace(/^\/+/,"")}function _(T){var P;const H=(T==null?void 0:T.data)??T,j=(P=H==null?void 0:H.data)==null?void 0:P[0];if(!j)return null;const Z=I(j.server,j.url);return{...j,fullUrl:Z?encodeURI(Z):null}}async function A(T){var H;if(n.uploadFn){try{L.value=!0;const j=await n.uploadFn(T);r.value=T,o("uploaded",j)}catch(j){console.error("Upload Error",j),v.error("Upload Failed",(j==null?void 0:j.message)||"Unknown error"),h((j==null?void 0:j.message)||"Upload Failed")}finally{L.value=!1}return}if(!((H=n.endpoint)!=null&&H.apiUrl)){r.value=T;return}if(typeof M!="function"){h("useApi() must expose DCodeApi()");return}try{L.value=!0;const j=new FormData;j.append("doc",T);const Z=(n.endpoint.apiMethod||"POST").toUpperCase(),P=n.endpoint.apiUrl,D=await M("","",j,{_url:P,_method:Z,withCredentials:!0,transformRequest:[(ne,te)=>(te&&(delete te["Content-Type"],delete te["content-type"]),ne)]}),G=(D==null?void 0:D.data)??D;_(G),r.value=T,o("uploaded",G)}catch(j){console.error("Upload Error",j),v.error("Upload Failed",(j==null?void 0:j.message)||"Unknown error"),h((j==null?void 0:j.message)||"Upload Failed")}finally{L.value=!1}}async function V(T){var H;u(),n.uploadFn||(H=n.endpoint)!=null&&H.apiUrl?await A(T):r.value=T,i.value=!1,s.value=null}function q(){i.value=!1,s.value=null}async function O(){if(!r.value)return;u();const T=n.editUseOriginal?c.value??r.value:r.value,H=await S(T);if(H){h(H);return}C(T)}function N(){u(),r.value=null,s.value=null,i.value=!1,c.value=null}return a.watch(()=>n.modelValue,T=>{T&&!c.value&&(c.value=T),T||(c.value=null)},{immediate:!0}),(T,H)=>(a.openBlock(),a.createElementBlock("div",wW,[r.value?(a.openBlock(),a.createBlock(H_,{key:1,file:r.value,title:t.label,description:t.description,"preview-width":t.previewWidth,disabled:t.disabled,"show-edit":!0,"show-remove":!0,"show-replace":!1,onEdit:O,onRemove:N,"aspect-ratio":16/9},null,8,["file","title","description","preview-width","disabled"])):(a.openBlock(),a.createBlock(AS,{key:0,label:t.label,hint:t.hint,accept:f.value,maxSizeMb:t.maxSizeMb,disabled:t.disabled,onPicked:x,error:d.value,onError:H[0]||(H[0]=j=>h(j))},null,8,["label","hint","accept","maxSizeMb","disabled","error"])),a.createVNode(O_,{modelValue:i.value,"onUpdate:modelValue":H[1]||(H[1]=j=>i.value=j),file:s.value,title:t.title,description:t.description,"auto-open-editor":t.autoOpenEditor,"aspect-ratio":t.aspectRatio,"output-width":t.outputWidth,"output-height":t.outputHeight,quality:t.quality,onDone:V,onCancel:q},null,8,["modelValue","file","title","description","auto-open-editor","aspect-ratio","output-width","output-height","quality"])]))}}),CW={class:"space-y-4"},LW={key:0,class:"space-y-1"},SW={class:"text-base font-semibold text-gray-800"},IW={class:"text-sm text-gray-400"},_W={class:"flex items-center gap-2 flex-nowrap"},BW=["value","disabled","onKeydown","onInput","onPaste"],j_=a.defineComponent({name:"DCodeOtpInput",__name:"DCodeOtpInput",props:{modelValue:{default:""},totalInput:{default:6},default:{default:""},label:{default:""},endpoint:{},submitFn:{}},emits:["updateOtp","update:modelValue","complete","loading","success","error"],setup(t,{emit:e}){const n=t,o=e,r=a.ref([]),i=a.ref([]),s=a.ref(!1),{DCodeApi:c}=nt(),d=F_(),h=a.computed(()=>{const S=Number(n.totalInput);return S&&S>0?S:6}),u=()=>{i.value=Array.from({length:h.value},(S,C)=>{var x;return((x=n.default)==null?void 0:x[C])??""}),o("updateOtp",i.value.join(""))};u(),a.watch(()=>[n.totalInput,n.default],()=>u());const p=S=>{S<0||S>=h.value||a.nextTick(()=>{var C;return(C=r.value[S])==null?void 0:C.focus()})},y=S=>S.match(/[a-zA-Z0-9]/)?S.match(/[a-zA-Z0-9]/)[0]:"";async function f(S){var C;if(o("complete",S),n.submitFn){try{s.value=!0,o("loading",!0);const x=await n.submitFn(S);o("success",x)}catch(x){console.error("OTP Submit Error",x),d.error("Submit Failed",(x==null?void 0:x.message)||"Unknown error"),o("error",(x==null?void 0:x.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}return}if((C=n.endpoint)!=null&&C.apiUrl){if(typeof c!="function"){o("error","useApi() must expose DCodeApi()");return}try{s.value=!0,o("loading",!0);const x=(n.endpoint.apiMethod||"POST").toUpperCase(),M=n.endpoint.apiUrl,v=await c("","",{otp:S},{_url:M,_method:x,withCredentials:!0}),L=(v==null?void 0:v.data)??v;o("success",L)}catch(x){console.error("OTP Submit Error",x),d.error("Submit Failed",(x==null?void 0:x.message)||"Unknown error"),o("error",(x==null?void 0:x.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}}}const m=(S,C)=>{i.value[S]=y(C);const x=i.value.join("");o("updateOtp",x),o("update:modelValue",x),x.length===h.value&&f(x)},k=(S,C)=>{const x=S.key,M=/^\d$/.test(x),v=/^[a-zA-Z]$/.test(x);if(x==="Backspace"){if(S.preventDefault(),i.value[C]){m(C,"");return}C>0&&(m(C-1,""),p(C-1));return}if(x==="ArrowLeft"){S.preventDefault(),p(C-1);return}if(x==="ArrowRight"){S.preventDefault(),p(C+1);return}if(M||v){S.preventDefault(),m(C,x),C<h.value-1&&p(C+1);return}x.length===1&&S.preventDefault()},g=(S,C)=>{const x=S.target,M=x.value??"",v=y(M);x.value=v,m(C,v),v&&C<h.value-1&&p(C+1)},b=(S,C)=>{var I;S.preventDefault();const M=(((I=S.clipboardData)==null?void 0:I.getData("text"))??"").replaceAll(/[^a-zA-Z0-9]/g,"");if(!M)return;let v=C;for(const _ of M){if(v>=h.value)break;i.value[v]=_,v++}const L=i.value.join("");o("updateOtp",L),o("update:modelValue",L),L.length===h.value&&f(L),p(Math.min(v,h.value-1))},w=S=>C=>{r.value[S]=(C==null?void 0:C.$el)??C};return(S,C)=>(a.openBlock(),a.createElementBlock("div",CW,[n.label||h.value?(a.openBlock(),a.createElementBlock("div",LW,[a.createElementVNode("h6",SW,a.toDisplayString(n.label||"Masukkan kode keamanan"),1),a.createElementVNode("p",IW," Ketik "+a.toDisplayString(h.value)+" digit kode verifikasi Anda ",1)])):a.createCommentVNode("",!0),a.createElementVNode("div",_W,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,x=>(a.openBlock(),a.createElementBlock("input",{key:x,ref_for:!0,ref:w(x-1),value:i.value[x-1]||"",type:"text",inputmode:"text",maxlength:"1",autocomplete:"one-time-code","aria-label":"`OTP digit ${i}`",placeholder:"*",disabled:s.value,class:a.normalizeClass(["w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0","focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",i.value[x-1]?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100":"border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"]),onKeydown:M=>k(M,x-1),onInput:M=>g(M,x-1),onPaste:M=>b(M,x-1)},null,42,BW))),128))])]))}}),AW={class:"inline-flex items-center gap-3"},VW=["for"],PW={key:0,class:"text-red-500 ml-1"},DW=["id","name","aria-checked","aria-label","disabled"],qW={key:0,class:"absolute inset-0 flex items-center justify-center"},zW={class:"relative z-10 flex items-center gap-2"},EW=["id","name","aria-checked","aria-label","disabled"],TW={key:0,class:"absolute inset-0 flex items-center justify-center"},OW=["for"],HW={key:0,class:"text-red-500 ml-1"},FW={name:"DCodeSwitch"},R_=a.defineComponent({...FW,props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},size:{default:"medium"},color:{default:"primary"},loading:{type:Boolean,default:!1},labelPosition:{default:"right"},id:{},name:{},required:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1},tooltipActiveText:{default:"Aktif"},tooltipInactiveText:{default:"Tidak Aktif"}},emits:["update:modelValue","change"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:p=>{!n.disabled&&!n.loading&&(o("update:modelValue",p),o("change",p))}}),i=a.computed(()=>{switch(n.size){case"small":return"w-9 h-5";case"large":return"w-14 h-7";default:return"w-11 h-6"}}),s=a.computed(()=>{switch(n.size){case"small":return"w-4 h-4";case"large":return"w-6 h-6";default:return"w-5 h-5"}}),c=a.computed(()=>{switch(n.size){case"small":return"translate-x-4";case"large":return"translate-x-7";default:return"translate-x-5"}}),d=a.computed(()=>{if(n.disabled)return"bg-gray-300";if(!r.value)return"bg-gray-200";switch(n.color){case"success":return"bg-green-500";case"warning":return"bg-yellow-500";case"danger":return"bg-red-500";default:return"bg-blue-500"}}),h=()=>{r.value=!r.value},u=a.computed(()=>r.value?n.tooltipActiveText:n.tooltipInactiveText);return(p,y)=>(a.openBlock(),a.createElementBlock("div",AW,[t.label&&t.labelPosition==="left"?(a.openBlock(),a.createElementBlock("label",{key:0,for:t.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":t.disabled}])},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",PW,"*")):a.createCommentVNode("",!0)],10,VW)):a.createCommentVNode("",!0),a.createVNode(a.unref(yP),null,{default:a.withCtx(()=>[t.showTooltip?(a.openBlock(),a.createBlock(a.unref(uP),{key:0,"delay-duration":200},{default:a.withCtx(()=>[a.createVNode(a.unref(fP),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("button",{type:"button",id:t.id,name:t.name,"aria-checked":r.value?"true":"false","aria-label":t.label||"Toggle switch",disabled:t.disabled||t.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":t.disabled,"cursor-wait":t.loading,"cursor-pointer":!t.disabled&&!t.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[t.loading?(a.openBlock(),a.createElementBlock("span",qW,[...y[0]||(y[0]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(ba),{key:0,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(Mt),{key:1,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,DW)]),_:1}),a.createVNode(a.unref(pP),{side:"top","side-offset":8,class:a.normalizeClass(["animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0",[r.value?"bg-green-600 dark:bg-green-500 text-white":"bg-gray-700 dark:bg-gray-600 text-white"]])},{default:a.withCtx(()=>[a.createElementVNode("span",zW,[a.createElementVNode("span",{class:a.normalizeClass(["inline-block w-2 h-2 rounded-full animate-pulse",r.value?"bg-green-200":"bg-gray-300"])},null,2),a.createTextVNode(" "+a.toDisplayString(u.value),1)])]),_:1},8,["class"])]),_:1})):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:t.id,name:t.name,"aria-checked":r.value?"true":"false","aria-label":t.label||"Toggle switch",disabled:t.disabled||t.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":t.disabled,"cursor-wait":t.loading,"cursor-pointer":!t.disabled&&!t.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[t.loading?(a.openBlock(),a.createElementBlock("span",TW,[...y[1]||(y[1]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(ba),{key:0,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(Mt),{key:1,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,EW))]),_:1}),t.label&&t.labelPosition==="right"?(a.openBlock(),a.createElementBlock("label",{key:1,for:t.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":t.disabled}])},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",HW,"*")):a.createCommentVNode("",!0)],10,OW)):a.createCommentVNode("",!0)]))}}),$W=["aria-busy"],jW={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},RW={key:0,class:"ml-1 text-destructive"},NW={class:"relative w-full group"},UW=["id","value"],WW={key:0,class:"absolute top-1 right-2"},GW={key:1,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},YW={key:1,class:"text-xs text-destructive"},VS=a.defineComponent({name:"DCodeTextarea",inheritAttrs:!1,__name:"DCodeTextarea",props:{modelValue:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.computed(()=>n.label),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-textarea-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{const U=n.required,z=n["aria-required"];return U===""||U===!0||U==="true"||(z==="true"||z===!0)}),u=a.computed(()=>{const{label:U,class:z,id:W,required:ee,"aria-required":fe,...Te}=n;return Te}),p=a.computed(()=>{const U=n.maxlength;let z=Number.NaN;return typeof U=="number"?z=U:typeof U=="string"&&(z=Number.parseInt(U,10)),Number.isFinite(z)&&z>0?z:-1}),y=U=>p.value>0?U.slice(0,p.value):U,f=a.computed(()=>{const U=r.modelValue;return U==null||String(U).length===0}),m=a.computed(()=>r.clearable?r.hideClearWhenEmpty?!f.value:!0:!1),k=a.ref(String(r.modelValue??""));a.watch(()=>r.modelValue,U=>{const z=String(U??"");z!==k.value&&(k.value=z)});const g=a.ref(!1),b=a.ref(!1),w=U=>U.split(/(\s+)/).map(z=>{if(z.trim()==="")return z;const W=z.toLowerCase();return W.charAt(0).toUpperCase()+W.slice(1)}).join(""),S=U=>{const z=U.toLowerCase(),W=z.search(new RegExp("\\p{L}","u"));return W<0?z:z.slice(0,W)+z.charAt(W).toUpperCase()+z.slice(W+1)},C=U=>{switch(r.textCase){case"uppercase":return U.toUpperCase();case"lowercase":return U.toLowerCase();case"titlecase":return w(U);case"sentencecase":return S(U);case"none":default:return U}},x=a.computed(()=>{switch(r.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),M=U=>{if(!U)return null;const z=Array.isArray(U)?U.join(""):U;return z?new Set(z):null},v=a.computed(()=>M(r.allowChars)),L=(U,z)=>(U.lastIndex=0,U.test(z)),I=U=>{if(U===`
|
|
8547
|
+
`.trim();let r=document.getElementById(e);r||(r=document.createElement("style"),r.id=e,document.head.appendChild(r)),r.textContent=o}function AU(t,e=qP){a.watch(t,n=>BU(n,e),{immediate:!0})}const VU={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},PU={key:0,class:"!ml-1 !text-destructive"},DU=["disabled","onClick"],qU={class:"!flex-shrink-0 !px-2 text-sm text-muted-foreground !select-none !whitespace-nowrap"},zU=["id","value","placeholder","disabled","onClick","onFocus","onBlur","onInput","onKeydown","onKeypress","onPaste"],EU={class:"!h-full !p-2 !flex !flex-col !gap-3 !w-32 !box-border"},TU={class:"!flex !items-center !justify-end !gap-2 !w-full !p-2 !box-border"},OU={key:1,class:"!text-xs !text-destructive !mt-1"},T_=a.defineComponent({name:"DCodeDatePicker",inheritAttrs:!1,__name:"DCodeDatePicker",props:{modelValue:{},range:{type:Boolean,default:!0},autoRangeDays:{default:null},disablePast:{type:Boolean,default:!1},maxDaysAhead:{default:null},placeholder:{default:"Pilih tanggal"},label:{},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},displayFormat:{default:"dd/MM/yyyy"},modelType:{default:"yyyy-MM-dd"},locale:{default:"en"},placement:{default:"bottom-start"},prependInner:{default:void 0},error:{default:null},selectLabel:{default:"Select"},cancelLabel:{default:"Cancel"},tone:{default:"primary"},skeleton:{type:Boolean,default:!1}},emits:["update:modelValue","change","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=t,r=e,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`dcode-datepicker-${n.id||o.label||"date-picker"}-${i}`),c=a.computed(()=>{const q=n.required,O=n["aria-required"];return q===""||q===!0||q==="true"||O==="true"||O===!0}),d=a.computed(()=>!!o.error),h=a.computed({get:()=>o.modelValue,set:q=>{r("update:modelValue",q),r("change",q)}}),u=a.computed(()=>o.locale==="en"?LP:_U),p=a.computed(()=>o.range?2:!1),y=a.computed(()=>o.range?{partialRange:!1}:!1),f=q=>{const O=new Date(q);return O.setHours(0,0,0,0),O},m=q=>{const O=new Date(q);return O.setHours(23,59,59,999),O},k=(q,O)=>{const N=new Date(q);return N.setDate(N.getDate()+O),N},g=a.computed(()=>{}),b=a.computed(()=>{if(o.maxDaysAhead&&o.maxDaysAhead>0)return m(k(new Date,o.maxDaysAhead))}),w=a.ref(null),S=a.ref(null),C=q=>{S.value={month:q.month,year:q.year}},x=a.ref(!1);let M=null;a.onMounted(()=>{const q=document.documentElement,O=()=>x.value=q.classList.contains("dark");O(),M=new MutationObserver(O),M.observe(q,{attributes:!0,attributeFilter:["class"]})}),a.onBeforeUnmount(()=>{M==null||M.disconnect(),M=null}),AU(a.toRef(o,"tone"));const v=q=>{const O=new Date(q),N=O.getDay(),T=O.getDate()-N+(N===0?-6:1);return O.setDate(T),f(O)},L=q=>{const O=v(q);return O.setDate(O.getDate()+6),m(O)},I=q=>{const O=new Date(q);return O.setDate(1),f(O)},_=q=>{const O=new Date(q);return O.setMonth(O.getMonth()+1),O.setDate(0),m(O)},A=a.computed(()=>{if(!o.range)return[];const q=new Date;return[{label:o.locale==="id"?"Minggu Ini":"This Week",range:[v(q),L(q)]},{label:o.locale==="id"?"Bulan Ini":"This Month",range:[I(q),_(q)]}]}),V=async q=>{var D,G;const O=o.modelType||"yyyy-MM-dd";if(q.length===0){h.value=null;return}if(q.length<2)return;const N=PP(q[0],O),T=PP(q[1],O);h.value=[N,T],await a.nextTick();const H=q[0],j=H.getMonth(),Z=H.getFullYear();S.value&&S.value.month===j&&S.value.year===Z||(D=w.value)==null||D.setMonthYear({month:j,year:Z}),(G=w.value)==null||G.openMenu()};return(q,O)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["!flex !flex-col !gap-1 !w-full",a.unref(n).class])},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.label?(a.openBlock(),a.createElementBlock("div",VU)):a.createCommentVNode("",!0),O[2]||(O[2]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[t.label?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:s.value,class:"!text-sm !font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",PU,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createVNode(a.unref(_z.VueDatePicker),{ref_key:"dpRef",ref:w,modelValue:h.value,"onUpdate:modelValue":O[1]||(O[1]=N=>h.value=N),dark:x.value,range:y.value,"multi-calendars":p.value,disabled:t.disabled,clearable:!1,"text-input":"","enable-time-picker":!1,"time-config":{enableTimePicker:!1},"auto-apply":!1,"action-row":{showPreview:!0,showNow:!1},locale:u.value,"model-type":t.modelType,formats:{input:t.displayFormat},"min-date":g.value,"max-date":b.value,"preset-ranges":A.value,floating:{placement:t.placement,offset:8,arrow:!1,flip:!1,shift:!0},teleport:!0,"menu-class-name":"dcode-datepicker-menu","calendar-class-name":"dcode-datepicker-calendar",onUpdateMonthYear:C},a.createSlots({"dp-input":a.withCtx(({value:N,onInput:T,onEnter:H,onTab:j,onBlur:Z,onFocus:P,onKeypress:D,onPaste:G,toggleMenu:ne})=>[a.createElementVNode("div",{class:a.normalizeClass(["!flex !items-center !w-full !h-10 !rounded-lg !border bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 !overflow-hidden !box-border",[d.value?"!border-destructive":"",t.disabled?"!opacity-50 !cursor-not-allowed":""]])},[a.createElementVNode("button",{type:"button",tabindex:"-1",disabled:t.disabled,class:"!flex-shrink-0 !flex !items-center !justify-center !w-10 !h-full !p-0 !m-0 !bg-transparent !border-0 text-muted-foreground hover:text-foreground transition-colors !focus:outline-none",onClick:te=>ne()},[a.createVNode(a.unref(ul),{class:"!w-4 !h-4 !pointer-events-none"})],8,DU),O[4]||(O[4]=a.createElementVNode("span",{class:"!w-px !h-5 bg-gray-200 dark:bg-gray-700 !flex-shrink-0 !block"},null,-1)),t.prependInner?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("span",qU,a.toDisplayString(t.prependInner),1),O[3]||(O[3]=a.createElementVNode("span",{class:"!w-px !h-5 bg-gray-200 dark:bg-gray-700 !flex-shrink-0 !block"},null,-1))],64)):a.createCommentVNode("",!0),a.createElementVNode("input",{id:s.value,value:N,placeholder:t.placeholder,disabled:t.disabled,autocomplete:"off",readonly:"",class:a.normalizeClass(["!flex-1 !min-w-0 !px-3 !py-0 !m-0 !h-full !bg-transparent text-sm !border-0 text-foreground dark:text-gray-300 placeholder:text-muted-foreground !outline-none !shadow-none !ring-0 !box-border",t.disabled?"!cursor-not-allowed":"!cursor-pointer"]),onClick:te=>ne(),onFocus:te=>P(),onBlur:te=>Z(),onInput:te=>T(te),onKeydown:[a.withKeys(te=>H(te),["enter"]),a.withKeys(te=>j(te),["tab"])],onKeypress:te=>D(te),onPaste:te=>G()},null,42,zU)],2)]),"action-buttons":a.withCtx(({selectDate:N,selectionDisabled:T})=>[a.createElementVNode("div",TU,[a.createVNode(a.unref(Se),{type:"button",variant:"outline",onClick:O[0]||(O[0]=H=>{var j;return(j=w.value)==null?void 0:j.closeMenu()})},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.cancelLabel),1)]),_:1}),a.createVNode(a.unref(Se),{type:"button",variant:"default",disabled:T,onClick:H=>N()},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.selectLabel),1)]),_:1},8,["disabled","onClick"])])]),_:2},[t.range?{name:"left-sidebar",fn:a.withCtx(()=>[a.createElementVNode("div",EU,[A.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(A.value,N=>(a.openBlock(),a.createBlock(a.unref(Se),{key:N.label,type:"button",variant:"default",class:"!w-full",onClick:T=>V(N.range)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(N.label),1)]),_:2},1032,["onClick"]))),128)):a.createCommentVNode("",!0)])]),key:"0"}:void 0]),1032,["modelValue","dark","range","multi-calendars","disabled","locale","model-type","formats","min-date","max-date","preset-ranges","floating"]),d.value?(a.openBlock(),a.createElementBlock("p",OU,a.toDisplayString(o.error),1)):a.createCommentVNode("",!0)],64))],2))}}),HU={class:"flex flex-col gap-y-4 mt-4 sm:flex-row sm:gap-x-4 sm:gap-y-0"},FU=a.defineComponent({__name:"Calendar",props:{defaultValue:{},defaultPlaceholder:{},placeholder:{},pagedNavigation:{type:Boolean},preventDeselect:{type:Boolean},weekStartsOn:{},weekdayFormat:{},calendarLabel:{},fixedWeeks:{type:Boolean},maxValue:{},minValue:{},locale:{},numberOfMonths:{},disabled:{type:Boolean},readonly:{type:Boolean},initialFocus:{type:Boolean},isDateDisabled:{type:Function},isDateUnavailable:{type:Function},dir:{},nextPage:{type:Function},prevPage:{type:Function},modelValue:{},multiple:{type:Boolean},disableDaysOutsideCurrentView:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue","update:placeholder"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref($O),a.mergeProps({class:a.unref(he)("p-3",n.class)},a.unref(i)),{default:a.withCtx(({grid:d,weekDays:h})=>[a.createVNode(a.unref(GU),null,{default:a.withCtx(()=>[a.createVNode(a.unref(XU)),a.createVNode(a.unref(YU)),a.createVNode(a.unref(KU))]),_:1}),a.createElementVNode("div",HU,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(d,u=>(a.openBlock(),a.createBlock(a.unref(RU),{key:u.value.toString()},{default:a.withCtx(()=>[a.createVNode(a.unref(UU),null,{default:a.withCtx(()=>[a.createVNode(a.unref(zP),null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h,p=>(a.openBlock(),a.createBlock(a.unref(WU),{key:p},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(p),1)]),_:2},1024))),128))]),_:2},1024)]),_:2},1024),a.createVNode(a.unref(NU),null,{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.rows,(p,y)=>(a.openBlock(),a.createBlock(a.unref(zP),{key:`weekDate-${y}`,class:"mt-2 w-full"},{default:a.withCtx(()=>[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(p,f=>(a.openBlock(),a.createBlock(a.unref($U),{key:f.toString(),date:f},{default:a.withCtx(()=>[a.createVNode(a.unref(jU),{day:f,month:u.value},null,8,["day","month"])]),_:2},1032,["date"]))),128))]),_:2},1024))),128))]),_:2},1024)]),_:2},1024))),128))])]),_:1},16,["class"]))}}),$U=a.defineComponent({__name:"CalendarCell",props:{date:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(RO),a.mergeProps({class:a.unref(he)("relative p-0 text-center text-sm focus-within:relative focus-within:z-20 [&:has([data-selected])]:rounded-md [&:has([data-selected])]:bg-accent [&:has([data-selected][data-outside-view])]:bg-accent/50",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),jU=a.defineComponent({__name:"CalendarCellTrigger",props:{day:{},month:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(UO),a.mergeProps({class:a.unref(he)(a.unref(la)({variant:"ghost"}),"h-8 w-8 p-0 font-normal","[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground","data-[selected]:bg-primary data-[selected]:text-primary-foreground data-[selected]:opacity-100 data-[selected]:hover:bg-primary data-[selected]:hover:text-primary-foreground data-[selected]:focus:bg-primary data-[selected]:focus:text-primary-foreground","data-[disabled]:text-muted-foreground data-[disabled]:opacity-50","data-[unavailable]:text-destructive-foreground data-[unavailable]:line-through","data-[outside-view]:text-muted-foreground data-[outside-view]:opacity-50 [&[data-outside-view][data-selected]]:bg-accent/50 [&[data-outside-view][data-selected]]:text-muted-foreground [&[data-outside-view][data-selected]]:opacity-30",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),RU=a.defineComponent({__name:"CalendarGrid",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(GO),a.mergeProps({class:a.unref(he)("w-full border-collapse space-y-1",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),NU=a.defineComponent({__name:"CalendarGridBody",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(KO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),UU=a.defineComponent({__name:"CalendarGridHead",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(ZO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),zP=a.defineComponent({__name:"CalendarGridRow",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(QO),a.mergeProps({class:a.unref(he)("flex",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),WU=a.defineComponent({__name:"CalendarHeadCell",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(tH),a.mergeProps({class:a.unref(he)("w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),GU=a.defineComponent({__name:"CalendarHeader",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(nH),a.mergeProps({class:a.unref(he)("relative flex w-full items-center justify-between pt-1",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3},16,["class"]))}}),YU=a.defineComponent({__name:"CalendarHeading",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(rH),a.mergeProps({class:a.unref(he)("text-sm font-medium",e.class)},a.unref(o)),{default:a.withCtx(({headingValue:s})=>[a.renderSlot(r.$slots,"default",{headingValue:s},()=>[a.createTextVNode(a.toDisplayString(s),1)])]),_:3},16,["class"]))}}),KU=a.defineComponent({__name:"CalendarNextButton",props:{nextPage:{type:Function},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(sH),a.mergeProps({class:a.unref(he)(a.unref(la)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(xa),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),XU=a.defineComponent({__name:"CalendarPrevButton",props:{prevPage:{type:Function},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(cH),a.mergeProps({class:a.unref(he)(a.unref(la)({variant:"outline"}),"h-7 w-7 bg-transparent p-0 opacity-50 hover:opacity-100",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Ma),{class:"h-4 w-4"})])]),_:3},16,["class"]))}}),_S=a.defineComponent({__name:"Input",props:{defaultValue:{},modelValue:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,r=Qt(n,"modelValue",e,{passive:!0,defaultValue:n.defaultValue});return(i,s)=>a.withDirectives((a.openBlock(),a.createElementBlock("input",{"onUpdate:modelValue":s[0]||(s[0]=c=>a.isRef(r)?r.value=c:null),class:a.normalizeClass(a.unref(he)("flex h-9 w-full rounded-md border border-input bg-transparent px-3 py-1 text-sm shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",n.class))},null,2)),[[a.vModelText,a.unref(r)]])}}),ZU=a.defineComponent({__name:"Popover",props:{defaultOpen:{type:Boolean},open:{type:Boolean},modal:{type:Boolean}},emits:["update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(MF),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),JU=a.defineComponent({inheritAttrs:!1,__name:"PopoverContent",props:{forceMount:{type:Boolean},side:{},sideOffset:{default:4},sideFlip:{type:Boolean},align:{default:"center"},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["escapeKeyDown","pointerDownOutside","focusOutside","interactOutside","openAutoFocus","closeAutoFocus"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(BF),null,{default:a.withCtx(()=>[a.createVNode(a.unref(IF),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("z-50 w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",n.class)}),{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},16,["class"])]),_:3}))}}),QU=a.defineComponent({__name:"PopoverTrigger",props:{asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(VF),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),eW={class:"relative w-full"},tW={class:"mt-2 flex justify-end gap-2"},aW={name:"DCodeDateRangePicker"},O_=a.defineComponent({...aW,props:{modelValue:{},placeholder:{default:"YYYY-MM-DD - YYYY-MM-DD"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},returnType:{default:"yyyy-mm-dd"},requireBoth:{type:Boolean,default:!1}},emits:["update:modelValue","change","invalid"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(!1),i=a.ref(null),s=a.ref(""),c=a.ref(null),d=a.ref("");function h(I){return String(I).padStart(2,"0")}function u(I){return`${I.getFullYear()}-${h(I.getMonth()+1)}-${h(I.getDate())}`}function p(I){return new Ee(I.getFullYear(),I.getMonth()+1,I.getDate())}function y(I){const _=I.trim();if(!_)return null;const A=_.match(/^(\d{4})-(\d{2})-(\d{2})$/);if(A){const O=new Date(Number(A[1]),Number(A[2])-1,Number(A[3]));return Number.isNaN(O.getTime())?null:O}const V=_.match(/^(\d{2})\/(\d{2})\/(\d{4})$/);if(V){const O=new Date(Number(V[3]),Number(V[2])-1,Number(V[1]));return Number.isNaN(O.getTime())?null:O}const q=new Date(_);return Number.isNaN(q.getTime())?null:q}function f(I){return I?I instanceof Date?Number.isNaN(I.getTime())?null:I:typeof I=="string"?y(I):null:null}function m(I){return I?(I.setHours(0,0,0,0),n.returnType==="iso"?I.toISOString():n.returnType==="yyyy-mm-dd"?u(I):I):null}function k(I){const _=I!=null&&I.start?u(I.start.toDate(ea())):"",A=I!=null&&I.end?u(I.end.toDate(ea())):"";return _&&A?`${_} - ${A}`:_&&!A?`${_} - `:""}function g(){const I=n.modelValue,_=I!=null&&I.start?f(I.start):null,A=I!=null&&I.end?f(I.end):null;let V={start:_?p(_):void 0,end:A?p(A):void 0};!V.start&&!V.end&&(V=null),i.value=V,s.value=i.value?k(i.value):""}function b(){c.value=i.value,d.value=s.value}function w(I){const _=I.trim();if(!_)return{a:"",b:null};if(_.includes(" - ")){const[A,V]=_.split(" - ");return{a:(A??"").trim(),b:(V??"").trim()||null}}if(_.toLowerCase().includes(" to ")){const[A,V]=_.toLowerCase().split(" to ");return{a:(A??"").trim(),b:(V??"").trim()||null}}if(_.includes(" – ")){const[A,V]=_.split(" – ");return{a:(A??"").trim(),b:(V??"").trim()||null}}return{a:_,b:null}}function S(){const{a:I,b:_}=w(d.value);if(!I&&!_)return c.value=null,!0;const A=I?f(I):null;if(I&&!A)return o("invalid","Format tanggal start tidak valid. Pakai YYYY-MM-DD atau DD/MM/YYYY."),!1;const V=_?f(_):null;if(_&&!V)return o("invalid","Format tanggal end tidak valid. Pakai YYYY-MM-DD atau DD/MM/YYYY."),!1;const q=A?p(A):void 0,O=V?p(V):void 0;let N;return A&&V&&V.getTime()<A.getTime()?N={start:O,end:q}:N={start:q,end:O},c.value=N,!c.value.start&&!c.value.end?(c.value=null,d.value="",!0):(d.value=k(c.value),!0)}function C(I){const _=I!=null&&I.start?I.start.toDate(ea()):null,A=I!=null&&I.end?I.end.toDate(ea()):null;_&&_.setHours(0,0,0,0),A&&A.setHours(0,0,0,0);const V=_||A?{start:m(_),end:m(A)}:null;o("update:modelValue",V),o("change",V)}function x(I){const _=I?{start:I.start,end:I.end}:null;c.value=_,d.value=_?k(_):""}function M(){if(!S())return;const _=c.value;if(n.requireBoth&&(!(_!=null&&_.start)||!(_!=null&&_.end))){o("invalid","Pilih tanggal start dan end dulu sebelum Apply.");return}i.value=_,s.value=_?k(_):"",c.value=i.value,d.value=s.value,C(_),r.value=!1}function v(){b(),r.value=!1}function L(){c.value=null,d.value=""}return a.watch(()=>n.modelValue,()=>{g(),r.value||b()},{immediate:!0}),a.watch(r,I=>{I&&b()}),(I,_)=>(a.openBlock(),a.createBlock(a.unref(ZU),{open:r.value,"onUpdate:open":_[5]||(_[5]=A=>r.value=A)},{default:a.withCtx(()=>[a.createVNode(a.unref(QU),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("div",eW,[a.createVNode(a.unref(_S),{modelValue:d.value,"onUpdate:modelValue":_[0]||(_[0]=A=>d.value=A),disabled:t.disabled,placeholder:t.placeholder,class:"pr-20",onFocus:_[1]||(_[1]=A=>!t.disabled&&(r.value=!0)),onKeydown:_[2]||(_[2]=a.withKeys(a.withModifiers(A=>S(),["prevent"]),["enter"])),onBlur:_[3]||(_[3]=A=>S())},null,8,["modelValue","disabled","placeholder"]),t.clearable&&d.value?(a.openBlock(),a.createBlock(a.unref(Se),{key:0,type:"button",variant:"ghost",size:"icon",class:"absolute right-10 top-1/2 -translate-y-1/2 h-8 w-8",disabled:t.disabled,onClick:L},{default:a.withCtx(()=>[..._[6]||(_[6]=[a.createTextVNode(" ✕ ",-1)])]),_:1},8,["disabled"])):a.createCommentVNode("",!0),a.createVNode(a.unref(Se),{type:"button",variant:"ghost",size:"icon",class:"absolute right-1 top-1/2 -translate-y-1/2 h-8 w-8",disabled:t.disabled,onClick:_[4]||(_[4]=A=>r.value=!r.value)},{default:a.withCtx(()=>[..._[7]||(_[7]=[a.createTextVNode(" 📅 ",-1)])]),_:1},8,["disabled"])])]),_:1}),a.createVNode(a.unref(JU),{class:"p-2 w-auto",align:"start"},{default:a.withCtx(()=>[a.createVNode(a.unref(FU),{mode:"range",selected:c.value??void 0,"onUpdate:selected":x,"initial-focus":""},null,8,["selected"]),a.createElementVNode("div",tW,[a.createVNode(a.unref(Se),{variant:"outline",type:"button",onClick:v},{default:a.withCtx(()=>[..._[8]||(_[8]=[a.createTextVNode("Cancel",-1)])]),_:1}),a.createVNode(a.unref(Se),{type:"button",onClick:M},{default:a.withCtx(()=>[..._[9]||(_[9]=[a.createTextVNode("Apply",-1)])]),_:1})])]),_:1})]),_:1},8,["open"]))}}),nW=a.defineComponent({__name:"Alert",props:{class:{type:[Boolean,null,String,Object,Array]},variant:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)(a.unref(rW)({variant:t.variant}),e.class)),role:"alert"},[a.renderSlot(n.$slots,"default")],2))}}),oW=a.defineComponent({__name:"AlertDescription",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("text-sm [&_p]:leading-relaxed",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),rW=Yl("relative w-full rounded-lg border px-4 py-3 text-sm [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive"}},defaultVariants:{variant:"default"}}),Qs=a.defineComponent({__name:"Card",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("rounded-xl border bg-card text-card-foreground shadow",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),el=a.defineComponent({__name:"CardContent",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("p-6 pt-0",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),iW=a.defineComponent({__name:"CardFooter",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex items-center p-6 pt-0",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),Xl=a.defineComponent({__name:"CardHeader",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(a.unref(he)("flex flex-col gap-y-1.5 p-6",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),BS=a.defineComponent({__name:"CardTitle",props:{class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createElementBlock("h3",{class:a.normalizeClass(a.unref(he)("font-medium leading-none tracking-tight",e.class))},[a.renderSlot(n.$slots,"default")],2))}}),sW={class:"h-full w-full p-6 flex flex-col items-center justify-center text-center gap-2"},lW={class:"flex flex-wrap items-center justify-center gap-2"},cW=["accept","multiple"],AS=a.defineComponent({__name:"DCodeDropzone",props:{label:{default:"Upload File"},hint:{default:"Drag & drop file di sini atau klik area ini"},accept:{default:"image/*"},maxSizeMb:{default:2},mode:{default:"single"},disabled:{type:Boolean,default:!1},showSelected:{type:Boolean,default:!0},error:{default:null}},emits:["picked","picked:multiple","error"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(null),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);a.computed(()=>n.accept||"file/*");const h=a.computed(()=>n.error??s.value);function u(){var x;n.disabled||(x=r.value)==null||x.click()}function p(x){const M=x/1024,v=M/1024;return v>=1?`${v.toFixed(2)} MB`:M>=1?`${M.toFixed(1)} KB`:`${x} B`}function y(x){var v;if(!x)return"File tidak valid";if((v=n.accept)!=null&&v.includes("image/")&&!x.type.startsWith("image/"))return"Hanya file gambar yang diizinkan";const M=(n.maxSizeMb??2)*1024*1024;return x.size>M?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null}function f(x){c.value=x.name,d.value=x.size}function m(x){if(s.value=null,!x.length)return;if(n.mode==="single"){const v=x[0],L=y(v);if(L){s.value=L,o("error",L);return}n.showSelected&&f(v),o("picked",v);return}const M=[];for(const v of x){const L=y(v);if(L){s.value=L,o("error",L);return}M.push(v)}M.length&&(n.showSelected&&f(M[0]),o("picked:multiple",M))}function k(x){const M=x.target,v=Array.from(M.files??[]);m(v),M.value=""}function g(){n.disabled||(i.value=!0)}function b(){n.disabled||(i.value=!0)}function w(){i.value=!1}function S(x){var L,I;if(n.disabled)return;i.value=!1;const M=Array.from(((L=x.dataTransfer)==null?void 0:L.files)??[]),v=(I=n.accept)!=null&&I.includes("image/")?M.filter(_=>_.type.startsWith("image/")):M;m(v)}const C=a.computed(()=>(n.accept||"file/*").split(",").map(x=>x.trim()).filter(Boolean).map(x=>x==="image/*"?"IMAGE":x.replace(/^image\//,"").replace(/^\./,"")).join(", "));return a.computed(()=>`${n.maxSizeMb??0}MB`),(x,M)=>(a.openBlock(),a.createBlock(a.unref(Qs),{class:a.normalizeClass(t.disabled?"opacity-60":"")},{default:a.withCtx(()=>[a.createVNode(a.unref(Xl),{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(a.unref(BS),{class:"text-sm font-semibold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.label),1)]),_:1})]),_:1}),a.createVNode(a.unref(el),{class:"pt-2"},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass(["flex justify-center items-center rounded-xl border-2 border-dashed transition cursor-pointer select-none",[i.value?"border-primary bg-primary/10 -translate-y-[1px]":"border-border bg-muted/30",t.disabled?"cursor-not-allowed":"hover:border-primary/60 hover:bg-primary/5"]]),style:{"min-height":"190px"},onClick:u,onDragenter:a.withModifiers(g,["prevent"]),onDragover:a.withModifiers(b,["prevent"]),onDragleave:a.withModifiers(w,["prevent"]),onDrop:a.withModifiers(S,["prevent"])},[a.createElementVNode("div",sW,[M[0]||(M[0]=a.createElementVNode("div",{class:"text-sm font-medium"},"Drag & drop file di sini",-1)),M[1]||(M[1]=a.createElementVNode("div",{class:"text-xs text-muted-foreground"},"atau klik area ini untuk memilih file",-1)),a.createElementVNode("div",lW,[a.createVNode(a.unref(Oa),{variant:"secondary",class:"text-[11px]"},{default:a.withCtx(()=>[a.createTextVNode(" Allowed: "+a.toDisplayString(C.value),1)]),_:1}),a.createVNode(a.unref(Oa),{variant:"secondary",class:"text-[11px]"},{default:a.withCtx(()=>[a.createTextVNode(" Max: "+a.toDisplayString(n.maxSizeMb)+"MB ",1)]),_:1})]),t.showSelected&&c.value?(a.openBlock(),a.createBlock(a.unref(Oa),{key:0,variant:"secondary",class:"mt-2"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(c.value)+" • "+a.toDisplayString(d.value?p(d.value):""),1)]),_:1})):a.createCommentVNode("",!0)]),a.createElementVNode("input",{ref_key:"fileInputEl",ref:r,type:"file",class:"hidden",accept:t.accept,multiple:t.mode==="multiple",onChange:k},null,40,cW)],34),h.value?(a.openBlock(),a.createBlock(a.unref(nW),{key:0,variant:"destructive",class:"mt-3"},{default:a.withCtx(()=>[a.createVNode(a.unref(oW),{class:"text-sm"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value),1)]),_:1})]),_:1})):a.createCommentVNode("",!0)]),_:1})]),_:1},8,["class"]))}}),Zl=a.defineComponent({__name:"Separator",props:{orientation:{default:"horizontal"},decorative:{type:Boolean,default:!0},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(U$),a.mergeProps(a.unref(n),{class:a.unref(he)("shrink-0 bg-border",e.orientation==="horizontal"?"h-px w-full":"w-px h-full",e.class)}),null,16,["class"]))}}),dW={class:"ps-3 pt-2"},hW={class:"bg-warning -mt-5"},H_=a.defineComponent({__name:"DCodeImageCropperDialog",props:{modelValue:{type:Boolean},file:{},title:{default:"Resize & Crop Gambar"},description:{default:""},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!1}},emits:["update:modelValue","done","cancel"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:g=>o("update:modelValue",g)}),i=a.ref(null),s=a.ref(null);let c=null,d=!1,h=0;function u(){if(c){try{c.close()}catch{}c=null,i.value&&(i.value.innerHTML=""),s.value=null}}async function p(g,b,w,S,C){const x=await new Promise((L,I)=>{const _=URL.createObjectURL(g),A=new Image;A.onload=()=>{URL.revokeObjectURL(_),L(A)},A.onerror=V=>{URL.revokeObjectURL(_),I(V)},A.src=_}),M=document.createElement("canvas");M.width=b,M.height=w;const v=M.getContext("2d");return v?(v.drawImage(x,0,0,b,w),await new Promise(L=>{M.toBlob(I=>L(I||g),S,C)})):g}function y(){if(!c||!s.value)return;const g=c.getPlugin("Dashboard"),b=c.getFile(s.value);!g||!b||requestAnimationFrame(()=>{try{g.openFileEditor(b)}catch{try{g.openFileEditor(s.value)}catch{}}})}async function f(g){if(c){c.cancelAll(),s.value=null;try{const b=c.addFile({name:g.name,type:g.type,data:g,source:"Local",isRemote:!1});s.value=String(b)}catch{}}}function m(){i.value&&(c&&u(),c=new Bz({autoProceed:!1,restrictions:{maxNumberOfFiles:1,allowedFileTypes:["image/*"]}}),c.use(OB,{target:i.value,inline:!0,height:480,proudlyDisplayPoweredByUppy:!1,hideUploadButton:!0,hideRetryButton:!0,hidePauseResumeButton:!0,hideCancelButton:!0,showProgressDetails:!1}),c.use(Az,{target:OB,quality:n.quality,cropperOptions:{viewMode:1,dragMode:"move",autoCropArea:1,aspectRatio:n.aspectRatio==null?Number.NaN:n.aspectRatio}}),c.on("file-editor:cancel",()=>{r.value=!1}),c.on("file-added",g=>{s.value=(g==null?void 0:g.id)??null,n.autoOpenEditor&&setTimeout(()=>y(),80)}),c.on("file-editor:complete",async g=>{const b=++h;try{const w=g.data,S=w.type||g.type||"image/jpeg";let C=w;if(n.outputWidth&&n.outputHeight&&(C=await p(w,n.outputWidth,n.outputHeight,S,n.quality)),d||b!==h)return;const x=g.name||"edited-image.jpg",M=new File([C],x,{type:S});await k(M,"UPPY_EDITOR_COMPLETE"),o("done",M),r.value=!1}catch{}}))}async function k(g,b="CROP_RESULT"){const w=URL.createObjectURL(g);try{const S=await new Promise((C,x)=>{const M=new Image;M.onload=()=>C(M),M.onerror=x,M.src=w});console.group(b),console.log("file:",g),console.table({name:g.name,type:g.type,sizeBytes:g.size,sizeMB:+(g.size/1024/1024).toFixed(3),width:S.naturalWidth,height:S.naturalHeight,ratio:+(S.naturalWidth/S.naturalHeight).toFixed(4)}),console.log("previewUrl:",w),console.groupEnd()}finally{URL.revokeObjectURL(w)}}return a.watch(r,async g=>{d=!g,h++,g?(await a.nextTick(),m(),n.file&&await f(n.file)):u()},{flush:"post"}),a.watch(()=>n.file,async g=>{r.value&&g&&(await a.nextTick(),await f(g))}),a.onBeforeUnmount(()=>{d=!0,h++,u()}),(g,b)=>(a.openBlock(),a.createBlock(a.unref(mP),{open:r.value,"onUpdate:open":b[2]||(b[2]=w=>r.value=w)},{default:a.withCtx(()=>[a.createVNode(a.unref(kP),{class:"max-w-[750px] p-0 overflow-hidden",onInteractOutside:b[0]||(b[0]=a.withModifiers(()=>{},["prevent"])),onEscapeKeyDown:b[1]||(b[1]=a.withModifiers(()=>{},["prevent"]))},{default:a.withCtx(()=>[a.createElementVNode("div",dW,[a.createVNode(a.unref(hR),{class:""},{default:a.withCtx(()=>[...b[3]||(b[3]=[a.createTextVNode(" Crop & Resize ",-1)])]),_:1}),b[4]||(b[4]=a.createElementVNode("div",{class:"flex items-center justify-end"},null,-1))]),a.createVNode(a.unref(Zl)),a.createElementVNode("div",hW,[a.createElementVNode("div",{ref_key:"dashboardEl",ref:i,class:"uppy-wrap"},null,512)])]),_:1})]),_:1},8,["open"]))}}),uW={key:0,class:"text-xs text-muted-foreground"},pW=["src"],yW={class:"absolute top-2 inset-x-2 flex items-center justify-between"},fW={class:"absolute left-2 bottom-2 z-10 inline-block max-w-[calc(100%-16px)] rounded-xl border px-3 py-2 shadow-lg backdrop-blur opacity-0 translate-y-1 scale-[0.99] transition-all duration-200 group-hover:opacity-100 group-hover:translate-y-0 group-hover:scale-100 border-border/60 dark:border-border/50 bg-background/80 dark:bg-background/30"},mW={class:"text-[11px] text-foreground/90 space-y-1 whitespace-nowrap"},kW={class:"flex gap-2"},gW={class:"font-medium truncate"},bW={class:"flex gap-2"},MW={class:"font-medium"},xW={class:"flex gap-2"},wW={class:"font-medium truncate"},F_=a.defineComponent({__name:"DCodeImageResult",props:{file:{},title:{default:"Hasil Gambar"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0}},emits:["edit","replace","remove"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(null);a.watch(()=>n.file,c=>{r.value&&URL.revokeObjectURL(r.value),r.value=c?URL.createObjectURL(c):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value)});function i(c){const d=c/1024,h=d/1024;return h>=1?`${h.toFixed(2)} MB`:d>=1?`${d.toFixed(1)} KB`:`${c} B`}const s=a.computed(()=>n.file?{name:n.file.name,size:i(n.file.size),type:n.file.type||"unknown"}:null);return(c,d)=>t.file?(a.openBlock(),a.createBlock(Qs,{key:0,class:a.normalizeClass(t.disabled?"opacity-60 pointer-events-none":"")},{default:a.withCtx(()=>[a.createVNode(Xl,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(BS,{class:"text-sm font-semibold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),t.description?(a.openBlock(),a.createElementBlock("div",uW,a.toDisplayString(t.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(el,{class:"pt-2"},{default:a.withCtx(()=>{var h,u,p;return[a.createElementVNode("div",{class:"group relative rounded-xl overflow-hidden bg-muted border-2 border-dashed border-border w-full transition-colors duration-200 hover:border-primary/50 hover:bg-primary/5",style:a.normalizeStyle({height:`${t.previewHeight}px`})},[r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,pW)):a.createCommentVNode("",!0),a.createElementVNode("div",yW,[t.showEdit?(a.openBlock(),a.createBlock(Wt,{key:0,icon:a.unref(Is),size:"icon",variant:"secondary",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:d[0]||(d[0]=y=>o("edit"))},null,8,["icon","disabled"])):a.createCommentVNode("",!0),t.showRemove?(a.openBlock(),a.createBlock(Wt,{key:1,icon:a.unref(As),size:"icon",variant:"destructive",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:d[1]||(d[1]=y=>o("remove"))},null,8,["icon","disabled"])):a.createCommentVNode("",!0)]),a.createElementVNode("div",fW,[a.createElementVNode("div",mW,[a.createElementVNode("div",kW,[d[2]||(d[2]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Nama",-1)),a.createElementVNode("span",gW,a.toDisplayString((h=s.value)==null?void 0:h.name),1)]),a.createElementVNode("div",bW,[d[3]||(d[3]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Ukuran",-1)),a.createElementVNode("span",MW,a.toDisplayString((u=s.value)==null?void 0:u.size),1)]),a.createElementVNode("div",xW,[d[4]||(d[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Tipe",-1)),a.createElementVNode("span",wW,a.toDisplayString((p=s.value)==null?void 0:p.type),1)])])])],4)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}});function $_(){const t=i=>{var d;const s={type:i.type||"info",title:i.title,message:i.message,duration:i.duration??3e3};typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:toast",{detail:s,bubbles:!0,composed:!0})),(s.type==="error"?console.error:s.type==="warning"?console.warn:console.log)(`[Toast][${(d=s.type)==null?void 0:d.toUpperCase()}]`,s.title||"",s.message)};return{show:t,success:(i,s)=>t({type:"success",message:i,title:s}),error:(i,s)=>t({type:"error",message:i,title:s}),warning:(i,s)=>t({type:"warning",message:i,title:s}),info:(i,s)=>t({type:"info",message:i,title:s})}}const vW={class:"space-y-3"},CW={name:"DCodeImageField"},j_=a.defineComponent({...CW,props:{modelValue:{default:null},label:{default:"Upload Gambar"},hint:{default:"Drag & drop atau klik area ini"},disabled:{type:Boolean,default:!1},allowedTypes:{default:null},accept:{default:"image/*"},minSizeMb:{default:null},maxSizeMb:{default:2},title:{default:"Hasil Gambar"},description:{default:""},previewWidth:{default:360},previewHeight:{default:220},aspectRatio:{default:null},outputWidth:{default:null},outputHeight:{default:null},quality:{default:.92},autoOpenEditor:{type:Boolean,default:!0},minWidth:{default:null},minHeight:{default:null},maxWidth:{default:null},maxHeight:{default:null},endpoint:{},uploadFn:{},editUseOriginal:{type:Boolean,default:!1}},emits:["update:modelValue","error","uploaded"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:T=>o("update:modelValue",T)}),i=a.ref(!1),s=a.ref(null),c=a.ref(null),d=a.ref(null);function h(T){d.value=T,o("error",T)}function u(){d.value=null}const p=a.computed(()=>{const T=(n.allowedTypes??"").trim();return T?T.split(/[,\s;]+/g).map(j=>j.trim().toLowerCase()).filter(Boolean).map(j=>j.includes("/")||j.startsWith(".")?j:`.${j}`):[]});function y(T){const H=T.lastIndexOf(".");return H>=0?T.slice(H).toLowerCase():""}const f=a.computed(()=>{if(p.value.length){const T=p.value.filter(j=>j.startsWith("."));return[...p.value.filter(j=>j.includes("/")),...T].join(",")}return n.accept||"image/*"}),m=a.computed(()=>p.value.length?p.value.join(", "):n.accept||"image/*");function k(T){if(p.value.length){const j=(T.type||"").toLowerCase(),Z=y(T.name);return p.value.some(P=>P.includes("/")?j===P:P.startsWith(".")?Z===P:Z===`.${P}`)}return(n.accept||"image/*").toLowerCase().includes("image/")?(T.type||"").toLowerCase().startsWith("image/"):!0}function g(T){return T*1024*1024}async function b(T){var H;return(H=T.type)!=null&&H.startsWith("image/")?await new Promise(j=>{const Z=URL.createObjectURL(T),P=new Image;P.onload=()=>{URL.revokeObjectURL(Z),j({w:P.naturalWidth,h:P.naturalHeight})},P.onerror=()=>{URL.revokeObjectURL(Z),j(null)},P.src=Z}):null}async function w(T){if(!(n.minWidth!=null||n.minHeight!=null||n.maxWidth!=null||n.maxHeight!=null))return null;const j=await b(T);return j?n.minWidth!=null&&j.w<n.minWidth?`Lebar gambar minimal ${n.minWidth}px`:n.minHeight!=null&&j.h<n.minHeight?`Tinggi gambar minimal ${n.minHeight}px`:n.maxWidth!=null&&j.w>n.maxWidth?`Lebar gambar maksimal ${n.maxWidth}px`:n.maxHeight!=null&&j.h>n.maxHeight?`Tinggi gambar maksimal ${n.maxHeight}px`:null:"Gagal membaca dimensi gambar"}async function S(T){return T?k(T)?n.minSizeMb!=null&&T.size<g(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&T.size>g(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:await w(T):`only Allowed: ${m.value}`:"File tidak valid"}function C(T){n.disabled||(s.value=T,i.value=!0)}async function x(T){if(n.disabled)return;u();const H=await S(T);if(H){h(H);return}c.value=T,C(T)}const{DCodeApi:M}=nt(),v=$_(),L=a.ref(!1);a.ref(null);function I(T,H){return!T||!H?null:T.replace(/\/+$/,"")+"/"+H.replace(/^\/+/,"")}function _(T){var P;const H=(T==null?void 0:T.data)??T,j=(P=H==null?void 0:H.data)==null?void 0:P[0];if(!j)return null;const Z=I(j.server,j.url);return{...j,fullUrl:Z?encodeURI(Z):null}}async function A(T){var H;if(n.uploadFn){try{L.value=!0;const j=await n.uploadFn(T);r.value=T,o("uploaded",j)}catch(j){console.error("Upload Error",j),v.error("Upload Failed",(j==null?void 0:j.message)||"Unknown error"),h((j==null?void 0:j.message)||"Upload Failed")}finally{L.value=!1}return}if(!((H=n.endpoint)!=null&&H.apiUrl)){r.value=T;return}if(typeof M!="function"){h("useApi() must expose DCodeApi()");return}try{L.value=!0;const j=new FormData;j.append("doc",T);const Z=(n.endpoint.apiMethod||"POST").toUpperCase(),P=n.endpoint.apiUrl,D=await M("","",j,{_url:P,_method:Z,withCredentials:!0,transformRequest:[(ne,te)=>(te&&(delete te["Content-Type"],delete te["content-type"]),ne)]}),G=(D==null?void 0:D.data)??D;_(G),r.value=T,o("uploaded",G)}catch(j){console.error("Upload Error",j),v.error("Upload Failed",(j==null?void 0:j.message)||"Unknown error"),h((j==null?void 0:j.message)||"Upload Failed")}finally{L.value=!1}}async function V(T){var H;u(),n.uploadFn||(H=n.endpoint)!=null&&H.apiUrl?await A(T):r.value=T,i.value=!1,s.value=null}function q(){i.value=!1,s.value=null}async function O(){if(!r.value)return;u();const T=n.editUseOriginal?c.value??r.value:r.value,H=await S(T);if(H){h(H);return}C(T)}function N(){u(),r.value=null,s.value=null,i.value=!1,c.value=null}return a.watch(()=>n.modelValue,T=>{T&&!c.value&&(c.value=T),T||(c.value=null)},{immediate:!0}),(T,H)=>(a.openBlock(),a.createElementBlock("div",vW,[r.value?(a.openBlock(),a.createBlock(F_,{key:1,file:r.value,title:t.label,description:t.description,"preview-width":t.previewWidth,disabled:t.disabled,"show-edit":!0,"show-remove":!0,"show-replace":!1,onEdit:O,onRemove:N,"aspect-ratio":16/9},null,8,["file","title","description","preview-width","disabled"])):(a.openBlock(),a.createBlock(AS,{key:0,label:t.label,hint:t.hint,accept:f.value,maxSizeMb:t.maxSizeMb,disabled:t.disabled,onPicked:x,error:d.value,onError:H[0]||(H[0]=j=>h(j))},null,8,["label","hint","accept","maxSizeMb","disabled","error"])),a.createVNode(H_,{modelValue:i.value,"onUpdate:modelValue":H[1]||(H[1]=j=>i.value=j),file:s.value,title:t.title,description:t.description,"auto-open-editor":t.autoOpenEditor,"aspect-ratio":t.aspectRatio,"output-width":t.outputWidth,"output-height":t.outputHeight,quality:t.quality,onDone:V,onCancel:q},null,8,["modelValue","file","title","description","auto-open-editor","aspect-ratio","output-width","output-height","quality"])]))}}),LW={class:"space-y-4"},SW={key:0,class:"space-y-1"},IW={class:"text-base font-semibold text-gray-800"},_W={class:"text-sm text-gray-400"},BW={class:"flex items-center gap-2 flex-nowrap"},AW=["value","disabled","onKeydown","onInput","onPaste"],R_=a.defineComponent({name:"DCodeOtpInput",__name:"DCodeOtpInput",props:{modelValue:{default:""},totalInput:{default:6},default:{default:""},label:{default:""},endpoint:{},submitFn:{}},emits:["updateOtp","update:modelValue","complete","loading","success","error"],setup(t,{emit:e}){const n=t,o=e,r=a.ref([]),i=a.ref([]),s=a.ref(!1),{DCodeApi:c}=nt(),d=$_(),h=a.computed(()=>{const S=Number(n.totalInput);return S&&S>0?S:6}),u=()=>{i.value=Array.from({length:h.value},(S,C)=>{var x;return((x=n.default)==null?void 0:x[C])??""}),o("updateOtp",i.value.join(""))};u(),a.watch(()=>[n.totalInput,n.default],()=>u());const p=S=>{S<0||S>=h.value||a.nextTick(()=>{var C;return(C=r.value[S])==null?void 0:C.focus()})},y=S=>S.match(/[a-zA-Z0-9]/)?S.match(/[a-zA-Z0-9]/)[0]:"";async function f(S){var C;if(o("complete",S),n.submitFn){try{s.value=!0,o("loading",!0);const x=await n.submitFn(S);o("success",x)}catch(x){console.error("OTP Submit Error",x),d.error("Submit Failed",(x==null?void 0:x.message)||"Unknown error"),o("error",(x==null?void 0:x.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}return}if((C=n.endpoint)!=null&&C.apiUrl){if(typeof c!="function"){o("error","useApi() must expose DCodeApi()");return}try{s.value=!0,o("loading",!0);const x=(n.endpoint.apiMethod||"POST").toUpperCase(),M=n.endpoint.apiUrl,v=await c("","",{otp:S},{_url:M,_method:x,withCredentials:!0}),L=(v==null?void 0:v.data)??v;o("success",L)}catch(x){console.error("OTP Submit Error",x),d.error("Submit Failed",(x==null?void 0:x.message)||"Unknown error"),o("error",(x==null?void 0:x.message)||"Submit Failed")}finally{s.value=!1,o("loading",!1)}}}const m=(S,C)=>{i.value[S]=y(C);const x=i.value.join("");o("updateOtp",x),o("update:modelValue",x),x.length===h.value&&f(x)},k=(S,C)=>{const x=S.key,M=/^\d$/.test(x),v=/^[a-zA-Z]$/.test(x);if(x==="Backspace"){if(S.preventDefault(),i.value[C]){m(C,"");return}C>0&&(m(C-1,""),p(C-1));return}if(x==="ArrowLeft"){S.preventDefault(),p(C-1);return}if(x==="ArrowRight"){S.preventDefault(),p(C+1);return}if(M||v){S.preventDefault(),m(C,x),C<h.value-1&&p(C+1);return}x.length===1&&S.preventDefault()},g=(S,C)=>{const x=S.target,M=x.value??"",v=y(M);x.value=v,m(C,v),v&&C<h.value-1&&p(C+1)},b=(S,C)=>{var I;S.preventDefault();const M=(((I=S.clipboardData)==null?void 0:I.getData("text"))??"").replaceAll(/[^a-zA-Z0-9]/g,"");if(!M)return;let v=C;for(const _ of M){if(v>=h.value)break;i.value[v]=_,v++}const L=i.value.join("");o("updateOtp",L),o("update:modelValue",L),L.length===h.value&&f(L),p(Math.min(v,h.value-1))},w=S=>C=>{r.value[S]=(C==null?void 0:C.$el)??C};return(S,C)=>(a.openBlock(),a.createElementBlock("div",LW,[n.label||h.value?(a.openBlock(),a.createElementBlock("div",SW,[a.createElementVNode("h6",IW,a.toDisplayString(n.label||"Masukkan kode keamanan"),1),a.createElementVNode("p",_W," Ketik "+a.toDisplayString(h.value)+" digit kode verifikasi Anda ",1)])):a.createCommentVNode("",!0),a.createElementVNode("div",BW,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,x=>(a.openBlock(),a.createElementBlock("input",{key:x,ref_for:!0,ref:w(x-1),value:i.value[x-1]||"",type:"text",inputmode:"text",maxlength:"1",autocomplete:"one-time-code","aria-label":"`OTP digit ${i}`",placeholder:"*",disabled:s.value,class:a.normalizeClass(["w-12 h-12 flex-none text-center text-xl font-bold rounded-xl border-2 transition-all duration-200 box-border p-0","focus:outline-none focus:scale-105 disabled:opacity-50 disabled:cursor-not-allowed",i.value[x-1]?"border-blue-500 bg-blue-50 text-blue-700 shadow-sm shadow-blue-100":"border-gray-200 bg-gray-50 text-gray-400 focus:border-blue-400 focus:bg-white focus:shadow-md focus:shadow-blue-50"]),onKeydown:M=>k(M,x-1),onInput:M=>g(M,x-1),onPaste:M=>b(M,x-1)},null,42,AW))),128))])]))}}),VW={class:"inline-flex items-center gap-3"},PW=["for"],DW={key:0,class:"text-red-500 ml-1"},qW=["id","name","aria-checked","aria-label","disabled"],zW={key:0,class:"absolute inset-0 flex items-center justify-center"},EW={class:"relative z-10 flex items-center gap-2"},TW=["id","name","aria-checked","aria-label","disabled"],OW={key:0,class:"absolute inset-0 flex items-center justify-center"},HW=["for"],FW={key:0,class:"text-red-500 ml-1"},$W={name:"DCodeSwitch"},N_=a.defineComponent({...$W,props:{modelValue:{type:Boolean,default:!1},label:{default:""},disabled:{type:Boolean,default:!1},size:{default:"medium"},color:{default:"primary"},loading:{type:Boolean,default:!1},labelPosition:{default:"right"},id:{},name:{},required:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!1},tooltipActiveText:{default:"Aktif"},tooltipInactiveText:{default:"Tidak Aktif"}},emits:["update:modelValue","change"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:p=>{!n.disabled&&!n.loading&&(o("update:modelValue",p),o("change",p))}}),i=a.computed(()=>{switch(n.size){case"small":return"w-9 h-5";case"large":return"w-14 h-7";default:return"w-11 h-6"}}),s=a.computed(()=>{switch(n.size){case"small":return"w-4 h-4";case"large":return"w-6 h-6";default:return"w-5 h-5"}}),c=a.computed(()=>{switch(n.size){case"small":return"translate-x-4";case"large":return"translate-x-7";default:return"translate-x-5"}}),d=a.computed(()=>{if(n.disabled)return"bg-gray-300";if(!r.value)return"bg-gray-200";switch(n.color){case"success":return"bg-green-500";case"warning":return"bg-yellow-500";case"danger":return"bg-red-500";default:return"bg-blue-500"}}),h=()=>{r.value=!r.value},u=a.computed(()=>r.value?n.tooltipActiveText:n.tooltipInactiveText);return(p,y)=>(a.openBlock(),a.createElementBlock("div",VW,[t.label&&t.labelPosition==="left"?(a.openBlock(),a.createElementBlock("label",{key:0,for:t.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":t.disabled}])},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",DW,"*")):a.createCommentVNode("",!0)],10,PW)):a.createCommentVNode("",!0),a.createVNode(a.unref(yP),null,{default:a.withCtx(()=>[t.showTooltip?(a.openBlock(),a.createBlock(a.unref(uP),{key:0,"delay-duration":200},{default:a.withCtx(()=>[a.createVNode(a.unref(fP),{"as-child":""},{default:a.withCtx(()=>[a.createElementVNode("button",{type:"button",id:t.id,name:t.name,"aria-checked":r.value?"true":"false","aria-label":t.label||"Toggle switch",disabled:t.disabled||t.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":t.disabled,"cursor-wait":t.loading,"cursor-pointer":!t.disabled&&!t.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[t.loading?(a.openBlock(),a.createElementBlock("span",zW,[...y[0]||(y[0]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(ba),{key:0,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(Mt),{key:1,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,qW)]),_:1}),a.createVNode(a.unref(pP),{side:"top","side-offset":8,class:a.normalizeClass(["animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 px-3 py-2 rounded-lg text-sm font-medium shadow-xl border-0",[r.value?"bg-green-600 dark:bg-green-500 text-white":"bg-gray-700 dark:bg-gray-600 text-white"]])},{default:a.withCtx(()=>[a.createElementVNode("span",EW,[a.createElementVNode("span",{class:a.normalizeClass(["inline-block w-2 h-2 rounded-full animate-pulse",r.value?"bg-green-200":"bg-gray-300"])},null,2),a.createTextVNode(" "+a.toDisplayString(u.value),1)])]),_:1},8,["class"])]),_:1})):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",id:t.id,name:t.name,"aria-checked":r.value?"true":"false","aria-label":t.label||"Toggle switch",disabled:t.disabled||t.loading,class:a.normalizeClass([i.value,d.value,"relative inline-flex items-center rounded-full transition-all duration-300 ease-in-out focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500","hover:scale-105 active:scale-95",{"cursor-not-allowed opacity-50":t.disabled,"cursor-wait":t.loading,"cursor-pointer":!t.disabled&&!t.loading}]),onClick:h},[a.createElementVNode("span",{class:a.normalizeClass([s.value,r.value?c.value:"translate-x-0.5","inline-block transform rounded-full bg-white shadow-lg transition-all duration-300 ease-in-out","hover:shadow-xl flex items-center justify-center"])},[t.loading?(a.openBlock(),a.createElementBlock("span",OW,[...y[1]||(y[1]=[a.createElementVNode("svg",{class:"animate-spin h-3 w-3 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})],-1)])])):a.createCommentVNode("",!0),a.createVNode(a.Transition,{"enter-active-class":"transition-all duration-200 ease-out","enter-from-class":"scale-0 rotate-90 opacity-0","enter-to-class":"scale-100 rotate-0 opacity-100","leave-active-class":"transition-all duration-150 ease-in","leave-from-class":"scale-100 rotate-0 opacity-100","leave-to-class":"scale-0 -rotate-90 opacity-0"},{default:a.withCtx(()=>[r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(ba),{key:0,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-green-600 stroke-[3]"])},null,8,["class"])):!r.value&&!t.loading?(a.openBlock(),a.createBlock(a.unref(Mt),{key:1,class:a.normalizeClass([t.size==="small"?"w-2.5 h-2.5":t.size==="large"?"w-4 h-4":"w-3 h-3","text-gray-400 stroke-[3]"])},null,8,["class"])):a.createCommentVNode("",!0)]),_:1})],2)],10,TW))]),_:1}),t.label&&t.labelPosition==="right"?(a.openBlock(),a.createElementBlock("label",{key:1,for:t.id,class:a.normalizeClass(["text-sm font-medium text-gray-700 cursor-pointer",{"opacity-50":t.disabled}])},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",FW,"*")):a.createCommentVNode("",!0)],10,HW)):a.createCommentVNode("",!0)]))}}),jW=["aria-busy"],RW={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},NW={key:0,class:"ml-1 text-destructive"},UW={class:"relative w-full group"},WW=["id","value"],GW={key:0,class:"absolute top-1 right-2"},YW={key:1,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},KW={key:1,class:"text-xs text-destructive"},VS=a.defineComponent({name:"DCodeTextarea",inheritAttrs:!1,__name:"DCodeTextarea",props:{modelValue:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.computed(()=>n.label),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-textarea-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{const U=n.required,z=n["aria-required"];return U===""||U===!0||U==="true"||(z==="true"||z===!0)}),u=a.computed(()=>{const{label:U,class:z,id:W,required:ee,"aria-required":fe,...Te}=n;return Te}),p=a.computed(()=>{const U=n.maxlength;let z=Number.NaN;return typeof U=="number"?z=U:typeof U=="string"&&(z=Number.parseInt(U,10)),Number.isFinite(z)&&z>0?z:-1}),y=U=>p.value>0?U.slice(0,p.value):U,f=a.computed(()=>{const U=r.modelValue;return U==null||String(U).length===0}),m=a.computed(()=>r.clearable?r.hideClearWhenEmpty?!f.value:!0:!1),k=a.ref(String(r.modelValue??""));a.watch(()=>r.modelValue,U=>{const z=String(U??"");z!==k.value&&(k.value=z)});const g=a.ref(!1),b=a.ref(!1),w=U=>U.split(/(\s+)/).map(z=>{if(z.trim()==="")return z;const W=z.toLowerCase();return W.charAt(0).toUpperCase()+W.slice(1)}).join(""),S=U=>{const z=U.toLowerCase(),W=z.search(new RegExp("\\p{L}","u"));return W<0?z:z.slice(0,W)+z.charAt(W).toUpperCase()+z.slice(W+1)},C=U=>{switch(r.textCase){case"uppercase":return U.toUpperCase();case"lowercase":return U.toLowerCase();case"titlecase":return w(U);case"sentencecase":return S(U);case"none":default:return U}},x=a.computed(()=>{switch(r.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),M=U=>{if(!U)return null;const z=Array.isArray(U)?U.join(""):U;return z?new Set(z):null},v=a.computed(()=>M(r.allowChars)),L=(U,z)=>(U.lastIndex=0,U.test(z)),I=U=>{if(U===`
|
|
8548
8548
|
`)return r.valueType!=="number";if(r.valueType==="free")return!0;const z=U===" ",W=/\d/.test(U),ee=new RegExp("\\p{L}","u").test(U),fe=new RegExp("\\p{N}","u").test(U);return r.valueType==="number"?W:r.valueType==="letter"?ee||r.allowSpaces&&z:r.valueType==="letternumber"?ee||fe||r.allowSpaces&&z:!0},_=U=>{let z="";for(const W of U){const ee=!!v.value&&v.value.has(W);r.pattern&&!ee&&!L(r.pattern,W)||!ee&&!I(W)||(z+=W)}return z},A=U=>{const z=_(U),W=r.applyTextCaseToValue?C(z):z;return y(W)};let V=null;const q=U=>{if(U==="")return null;if(r.valueType==="number"&&r.returnNumber){const z=U.replaceAll(`
|
|
8549
|
-
`,""),W=Number(z);return Number.isFinite(W)?W:null}return U},O=U=>{k.value=U,o("update:modelValue",q(U))},N=(U,z)=>{const W=y(z);b.value=!0,U.value=W,O(W),queueMicrotask(()=>b.value=!1)},T=(U,z)=>{const W=U.selectionStart??U.value.length,ee=U.selectionEnd??U.value.length;if(p.value>0){const fe=U.value.length-(ee-W),Te=p.value-fe;if(Te<=0)return;z=z.slice(0,Te)}U.setRangeText(z,W,ee,"end"),N(U,A(U.value))},H=U=>{var ee;if(!V||g.value||b.value||!((ee=U.inputType)!=null&&ee.startsWith("insert")))return;const z=U.data;if(z==null)return;const W=A(z);W!==z&&(U.preventDefault(),W.length>0&&T(V,W))},j=U=>{var ee;if(!V||g.value||b.value)return;const z=((ee=U.clipboardData)==null?void 0:ee.getData("text"))??"",W=A(z);W!==z&&(U.preventDefault(),W.length>0&&T(V,W))},Z=async U=>{if(!V||g.value||b.value)return;const z=U.target,W=z.value??"",ee=A(W);if(ee===W){const fe=z.selectionStart??ee.length,Te=z.selectionEnd??ee.length;N(z,ee),await a.nextTick();try{z.setSelectionRange(fe,Te)}catch{}O(ee)}else{const fe=z.selectionStart??ee.length,Te=z.selectionEnd??ee.length;N(z,ee),await a.nextTick();try{z.setSelectionRange(fe,Te)}catch{}}},P=()=>g.value=!0,D=()=>{if(g.value=!1,!V)return;const U=V.value??"",z=A(U);z===U?O(z):N(V,z)};a.onMounted(()=>{if(V=document.getElementById(d.value),!V)return;V.addEventListener("beforeinput",H),V.addEventListener("paste",j),V.addEventListener("input",Z),V.addEventListener("compositionstart",P),V.addEventListener("compositionend",D);const U=V.value??"",z=A(U);z===U?O(z):N(V,z)}),a.onBeforeUnmount(()=>{V&&(V.removeEventListener("beforeinput",H),V.removeEventListener("paste",j),V.removeEventListener("input",Z),V.removeEventListener("compositionstart",P),V.removeEventListener("compositionend",D),V=null)});const G=()=>{k.value="",V&&(V.value=""),o("update:modelValue",null),o("clear")},ne=a.computed(()=>k.value.length),te=a.computed(()=>r.showCharCount?p.value>0:!1),ce=a.computed(()=>te.value&&ne.value>0),pe=a.computed(()=>`${ne.value} / ${p.value}`),le=a.computed(()=>!!r.error),Le=a.computed(()=>{const U=n.rows,z=typeof U=="number"?U:Number.parseInt(String(U??""),10);return Number.isFinite(z)&&z>0?z:3}),ue=a.computed(()=>({height:`${Le.value*24+16}px`}));return(U,z)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",jW)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",style:a.normalizeStyle(ue.value)},null,4)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",RW,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",NW,[a.createElementVNode("textarea",a.mergeProps({id:d.value,value:k.value},u.value,{style:`text-transform: ${x.value}; padding-right: ${m.value?"2.5rem":"0.75rem"} !important; padding-left: 0.75rem !important;`,class:["flex min-h-[120px] w-full rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",le.value?"border-destructive focus-visible:ring-destructive":""]}),null,16,UW),m.value?(a.openBlock(),a.createElementBlock("div",WW,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-sm leading-none","aria-label":"Clear textarea",onClick:G}," ✕ ")])):a.createCommentVNode("",!0),ce.value&&!le.value?(a.openBlock(),a.createElementBlock("p",GW,a.toDisplayString(pe.value),1)):a.createCommentVNode("",!0)]),le.value?(a.openBlock(),a.createElementBlock("p",YW,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,$W)),[[a.vShow,s.value]])}}),KW=["aria-busy"],XW={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},ZW={key:1,class:"flex justify-end"},JW={key:0,class:"ml-1 text-destructive"},QW={class:"relative w-full group"},eG={key:0,class:"absolute inset-y-0 left-4 flex items-center text-muted-foreground"},tG={key:1},aG={key:1,class:"absolute inset-y-0 right-3 flex items-center"},nG={key:2,class:"absolute inset-y-0 right-3 flex items-center"},oG={key:3,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},rG={key:1,class:"text-xs text-destructive"},N_=a.defineComponent({name:"DCodeTextField",inheritAttrs:!1,__name:"DCodeTextField",props:{modelValue:{},prependInner:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null},placeholder:{default:""},icon:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=a.computed(()=>c.valueType==="password"||n.type==="password"),r=a.ref(!1),i=()=>{r.value=!r.value},s=e,c=t,d=a.computed(()=>n.label);a.computed(()=>c.visible??!0);const h=Math.random().toString(36).slice(2,7),u=a.computed(()=>`app-text-field-${n.id||d.value||"field"}-${h}`),p=a.computed(()=>{const z=n.required,W=n["aria-required"];return z===""||z===!0||z==="true"||(W==="true"||W===!0)}),y=a.computed(()=>{const{label:z,class:W,id:ee,required:fe,"aria-required":Te,...xe}=n;return xe}),f=a.computed(()=>{const z={...y.value};return c.valueType==="number"&&(z.type="text",z.inputmode="numeric",z.pattern="[0-9]*"),c.valueType==="email"&&(z.type="email",z.inputmode="email"),o.value&&(z.type=r.value?"text":"password"),c.disabled&&(z.disabled=!0),z}),m=a.computed(()=>{const z=c.modelValue;return z==null||String(z).length===0}),k=a.computed(()=>c.clearable?c.hideClearWhenEmpty?!m.value:!0:!1),g=a.computed(()=>{switch(c.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),b=a.ref(String(c.modelValue??""));a.watch(()=>c.modelValue,z=>{const W=String(z??"");W!==b.value&&(b.value=W)});const w=a.ref(!1),S=a.ref(!1),C=z=>z.split(/(\s+)/).map(W=>{if(W.trim()==="")return W;const ee=W.toLowerCase();return ee.charAt(0).toUpperCase()+ee.slice(1)}).join(""),x=z=>{const W=z.toLowerCase(),ee=W.search(new RegExp("\\p{L}","u"));return ee<0?W:W.slice(0,ee)+W.charAt(ee).toUpperCase()+W.slice(ee+1)},M=z=>{switch(c.textCase){case"uppercase":return z.toUpperCase();case"lowercase":return z.toLowerCase();case"titlecase":return C(z);case"sentencecase":return x(z);case"none":default:return z}},v=z=>{if(!z)return null;const W=Array.isArray(z)?z.join(""):z;return W?new Set(W):null},L=a.computed(()=>v(c.allowChars)),I=(z,W)=>(z.lastIndex=0,z.test(W)),_=z=>{if(c.valueType==="free"||c.valueType==="email"||c.valueType==="password")return!0;const W=z===" ",ee=/\d/.test(z),fe=new RegExp("\\p{L}","u").test(z),Te=new RegExp("\\p{N}","u").test(z);return c.valueType==="number"?ee:c.valueType==="letter"?fe||c.allowSpaces&&W:c.valueType==="letternumber"?fe||Te||c.allowSpaces&&W:!0},A=z=>{let W="";for(const ee of z){const fe=!!L.value&&L.value.has(ee);c.pattern&&!fe&&!I(c.pattern,ee)||!fe&&!_(ee)||(W+=ee)}return W},V=a.computed(()=>{const z=n.maxlength??n.maxLength;let W=Number.NaN;return typeof z=="number"?W=z:typeof z=="string"&&(W=Number.parseInt(z,10)),Number.isFinite(W)&&W>0?W:-1}),q=a.computed(()=>b.value.length),O=a.computed(()=>c.showCharCount?V.value>0:!1),N=z=>V.value>0?z.slice(0,V.value):z,T=z=>{const W=A(z),ee=c.applyTextCaseToValue?M(W):W;return N(ee)};let H=null;const j=z=>{if(z==="")return null;if(c.valueType==="number"&&c.returnNumber){const W=Number(z);return Number.isFinite(W)?W:null}return z},Z=z=>{b.value=z,s("update:modelValue",j(z))},P=(z,W)=>{const ee=N(W);S.value=!0,z.value=ee,Z(ee),queueMicrotask(()=>S.value=!1)},D=(z,W)=>{const ee=z.selectionStart??z.value.length,fe=z.selectionEnd??z.value.length;if(V.value>0){const Te=z.value.length-(fe-ee),xe=V.value-Te;if(xe<=0)return;W=W.slice(0,xe)}z.setRangeText(W,ee,fe,"end"),P(z,T(z.value))},G=z=>{var fe;if(!H||w.value||S.value||!((fe=z.inputType)!=null&&fe.startsWith("insert")))return;const W=z.data;if(W==null)return;const ee=T(W);ee!==W&&(z.preventDefault(),ee.length>0&&D(H,ee))},ne=z=>{var fe;if(!H||w.value||S.value)return;const W=((fe=z.clipboardData)==null?void 0:fe.getData("text"))??"",ee=T(W);ee!==W&&(z.preventDefault(),ee.length>0&&D(H,ee))},te=z=>{if(!H||w.value||S.value)return;const W=z.target,ee=W.value??"",fe=T(ee);fe===ee?Z(fe):P(W,fe)},ce=()=>w.value=!0,pe=()=>{if(w.value=!1,!H)return;const z=H.value??"",W=T(z);W===z?Z(W):P(H,W)};a.onMounted(()=>{if(H=document.getElementById(u.value),!H)return;H.addEventListener("beforeinput",G),H.addEventListener("paste",ne),H.addEventListener("input",te),H.addEventListener("compositionstart",ce),H.addEventListener("compositionend",pe);const z=H.value??"",W=T(z);W===z?Z(W):P(H,W)}),a.onBeforeUnmount(()=>{H&&(H.removeEventListener("beforeinput",G),H.removeEventListener("paste",ne),H.removeEventListener("input",te),H.removeEventListener("compositionstart",ce),H.removeEventListener("compositionend",pe),H=null)});const le=()=>{b.value="",H&&(H.value=""),s("update:modelValue",null),s("clear")},Le=a.computed(()=>O.value&&q.value>0),ue=a.computed(()=>`${q.value} / ${V.value}`),U=a.computed(()=>!!c.error);return(z,W)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":c.skeleton},[c.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[d.value?(a.openBlock(),a.createElementBlock("div",XW)):a.createCommentVNode("",!0),W[1]||(W[1]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),O.value?(a.openBlock(),a.createElementBlock("div",ZW,[...W[0]||(W[0]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[d.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:u.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.value)+" ",1),p.value?(a.openBlock(),a.createElementBlock("span",JW,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",QW,[c.icon||c.prependInner||z.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",eG,[a.renderSlot(z.$slots,"prepend-inner",{},()=>[c.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.icon),{key:0,class:"h-4 w-4"})):c.prependInner?(a.openBlock(),a.createElementBlock("span",tG,a.toDisplayString(c.prependInner),1)):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createVNode(a.unref(_S),a.mergeProps({id:u.value,modelValue:b.value},f.value,{placeholder:c.placeholder,style:`text-transform: ${g.value}; padding-left: ${c.icon||c.prependInner||z.$slots["prepend-inner"]?"2.5rem":"0.75rem"} !important; padding-right: ${k.value||o.value?"2.5rem":"0.75rem"} !important;`,class:["w-full h-10 flex items-center gap-2 rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",U.value?"border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]":""]}),null,16,["id","modelValue","placeholder","style","class"]),o.value?(a.openBlock(),a.createElementBlock("div",aG,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground",tabindex:"-1",onClick:i},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r.value?a.unref(vs):a.unref(gl)),{class:"w-4 h-4"}))])])):a.createCommentVNode("",!0),k.value&&!o.value?(a.openBlock(),a.createElementBlock("div",nG,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-lg leading-none","aria-label":"Clear input",onClick:le}," ✕ ")])):a.createCommentVNode("",!0),Le.value&&!U.value?(a.openBlock(),a.createElementBlock("p",oG,a.toDisplayString(ue.value),1)):a.createCommentVNode("",!0)]),U.value?(a.openBlock(),a.createElementBlock("p",rG,a.toDisplayString(c.error),1)):a.createCommentVNode("",!0)],64))],10,KW)),[[a.vShow,t.visible]])}}),iG={key:0},sG=["value","name"],EP=a.defineComponent({__name:"DynamicFilterField",props:{field:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const{locale:n}=Je.useI18n(),o=t,r=e,i=a.ref(o.modelValue);a.watch(()=>o.modelValue,u=>{i.value=u});const s={DCodeTextField:N_,DCodeAutoComplete:z_,DCodeDatePicker:E_,DCodeDateRangePicker:T_,DCodeTextarea:VS,DCodeTextArea:VS,DCodeCheckbox:Gl,DCodeSwitch:R_,DCodeOtpInput:j_,DCodeImageField:$_},c=a.computed(()=>{const u=o.field.component;return s[u]||null}),d=a.computed(()=>{const u=o.field.props,p={};return(u.labelID||u.labelEN)&&(p.label=n.value==="id"?u.labelID:u.labelEN),(u.placeholderID||u.placeholderEN)&&(p.placeholder=n.value==="id"?u.placeholderID:u.placeholderEN),u.required!==void 0&&(p.required=u.required),u.disabled!==void 0&&(p.disabled=u.disabled),u.readonly!==void 0&&(p.readonly=u.readonly),u.valueType&&(p.type=u.valueType),u.minLength!==void 0&&(p.minlength=u.minLength),u.maxLength!==void 0&&(p.maxlength=u.maxLength),u.min!==void 0&&(p.min=u.min),u.max!==void 0&&(p.max=u.max),u.options&&(p.options=u.options),u.endpoint&&(p.endpoint=u.endpoint),u.itemTitle&&(p.itemTitle=u.itemTitle),u.itemValue&&(p.itemValue=u.itemValue),u.returnObject!==void 0&&(p.returnObject=u.returnObject),u.clearable!==void 0&&(p.clearable=u.clearable),Object.keys(u).forEach(y=>{!["labelID","labelEN","placeholderID","placeholderEN"].includes(y)&&!p.hasOwnProperty(y)&&(p[y]=u[y])}),p}),h=u=>{i.value=u,r("update:modelValue",u)};return(u,p)=>t.field.isHidden?(a.openBlock(),a.createElementBlock("div",iG,[a.createElementVNode("input",{type:"hidden",value:i.value,name:t.field.model},null,8,sG)])):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),a.mergeProps({key:1},d.value,{modelValue:i.value,"onUpdate:modelValue":[p[0]||(p[0]=y=>i.value=y),h]}),null,16,["modelValue"]))}}),lG=a.defineComponent({__name:"Pagination",props:{page:{},defaultPage:{},itemsPerPage:{},total:{},siblingCount:{},disabled:{type:Boolean},showEdges:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:page"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(TF),a.mergeProps({"data-slot":"pagination"},a.unref(i),{class:n.class}),{default:a.withCtx(d=>[a.renderSlot(s.$slots,"default",a.normalizeProps(a.guardReactiveProps(d)))]),_:3},16,["class"]))}}),cG=a.defineComponent({__name:"PaginationContent",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(UF),a.mergeProps({"data-slot":"pagination-content"},a.unref(n),{class:a.unref(he)("flex flex-row items-center gap-1",e.class)}),{default:a.withCtx(i=>[a.renderSlot(o.$slots,"default",a.normalizeProps(a.guardReactiveProps(i)))]),_:3},16,["class"]))}}),dG=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(qF),a.mergeProps({"data-slot":"pagination-ellipsis"},a.unref(n),{class:a.unref(he)("flex size-9 items-center justify-center",e.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createVNode(a.unref(Ca),{class:"size-4"}),r[0]||(r[0]=a.createElementVNode("span",{class:"sr-only"},"More pages",-1))])]),_:3},16,["class"]))}}),hG=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(HF),a.mergeProps({"data-slot":"pagination-first",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Ma)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"First",-1))])]),_:3},16,["class"]))}}),uG=a.defineComponent({__name:"PaginationItem",props:{value:{},asChild:{type:Boolean},as:{},size:{default:"icon"},class:{type:[Boolean,null,String,Object,Array]},isActive:{type:Boolean}},setup(t){const e=t,n=Ce(e,"class","size","isActive");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(GF),a.mergeProps({"data-slot":"pagination-item"},a.unref(n),{class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),t.isActive?"bg-[#0056a1] dark:bg-[#003d75] text-white hover:bg-[#0056a1]/90 dark:hover:bg-[#003d75]/90 hover:text-white":"",e.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),pG=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref($F),a.mergeProps({"data-slot":"pagination-last",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Last",-1)),a.createVNode(a.unref(xa))])]),_:3},16,["class"]))}}),yG=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(KF),a.mergeProps({"data-slot":"pagination-next",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Next",-1)),a.createVNode(a.unref(xa))])]),_:3},16,["class"]))}}),fG=a.defineComponent({__name:"PaginationPrevious",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(ZF),a.mergeProps({"data-slot":"pagination-previous",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Ma)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Previous",-1))])]),_:3},16,["class"]))}}),mG=a.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(n$),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),kG=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(B$),null,{default:a.withCtx(()=>[a.createVNode(a.unref(g$),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:a.withCtx(()=>[a.createVNode(a.unref(xG)),a.createVNode(a.unref(F$),{class:a.normalizeClass(a.unref(he)("p-1",t.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]),a.createVNode(a.unref(MG))]),_:3},16,["class"])]),_:3}))}}),gG={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},bG=a.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(v$),a.mergeProps(a.unref(o),{class:a.unref(he)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e.class)}),{default:a.withCtx(()=>[a.createElementVNode("span",gG,[a.createVNode(a.unref(L$),null,{default:a.withCtx(()=>[a.createVNode(a.unref(ba),{class:"h-4 w-4"})]),_:1})]),a.createVNode(a.unref(I$),null,{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),MG=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(P$),a.mergeProps(a.unref(o),{class:a.unref(he)("flex cursor-default items-center justify-center py-1",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Bt))])]),_:3},16,["class"]))}}),xG=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(q$),a.mergeProps(a.unref(o),{class:a.unref(he)("flex cursor-default items-center justify-center py-1",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(pl))])]),_:3},16,["class"]))}}),wG=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(E$),a.mergeProps(a.unref(o),{class:a.unref(he)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default"),a.createVNode(a.unref(M$),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Bt),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),vG=a.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(O$),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),CG={class:"dcode-card animate-slide-up"},LG={class:"px-4 py-2 bg-primary-700 dark:bg-primary-900 border-b border-primary-500/30 dark:border-primary-900/50 rounded-t-xl relative z-30"},SG={class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4"},IG={key:0,class:"flex flex-col sm:flex-row items-start sm:items-center gap-2 flex-1 max-w-2xl"},_G={class:"relative w-full sm:w-64"},BG={key:0,class:"relative"},AG={class:"flex flex-col h-full"},VG={key:0,class:"flex-1 overflow-y-auto py-4"},PG={class:"grid grid-cols-1 md:grid-cols-2 gap-4 px-1"},DG={key:0,class:"sticky bottom-0 left-0 right-0 bg-white dark:bg-zinc-900 border-t border-neutral-200 dark:border-neutral-700 p-4 flex gap-2"},qG={class:"flex justify-end gap-2 w-full"},zG={key:0,class:"font-medium text-sm text-neutral-600 dark:text-neutral-400"},EG={class:"overflow-auto custom-scrollbar relative max-h-[calc(100vh-17rem)]"},TG={class:"dcode-table w-full"},OG={class:"bg-primary-700 dark:bg-primary-900 sticky top-0 z-20 shadow-sm"},HG=["onClick"],FG={key:0,class:"flex items-center justify-center w-full"},$G={key:0,class:"px-3 py-2 text-xs font-medium text-white dark:text-neutral-100 uppercase tracking-wider"},jG={class:"bg-white dark:bg-zinc-900 divide-y divide-neutral-200 dark:divide-neutral-700"},RG={key:0,class:"px-3 py-0.5"},NG={key:1},UG=["colspan"],WG={class:"flex flex-col items-center gap-4"},GG={class:"text-base font-medium text-neutral-700 dark:text-neutral-300"},YG={class:"text-sm text-neutral-500 dark:text-neutral-400 mt-1"},KG={class:"hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150"},XG={key:0,class:"flex items-center justify-center"},ZG={key:0,class:"px-3 py-0.5 !text-center"},JG={key:0,class:"flex items-center justify-center gap-1.5"},QG={key:0,class:"bg-zinc-50/50 dark:bg-zinc-800/30"},eY=["colspan"],tY={key:0,class:"px-4 py-3 bg-zinc-50/50 dark:bg-zinc-800/30 border-t border-neutral-200 dark:border-neutral-700 flex flex-col sm:flex-row items-center justify-between gap-4 w-full"},aY={class:"flex items-center gap-4"},nY={class:"text-xs text-neutral-500 dark:text-neutral-400 font-medium"},oY={class:"text-neutral-900 dark:text-neutral-100 font-medium"},rY={class:"text-neutral-900 dark:text-neutral-100 font-medium"},iY={class:"text-neutral-900 dark:text-neutral-100 font-medium"},sY={class:"flex-shrink-0"},lY={class:"space-y-4"},cY={class:"text-gray-600 dark:text-gray-400"},dY={class:"grid grid-cols-1 md:grid-cols-2 gap-4 py-4 px-1"},U_=a.defineComponent({__name:"DataTable",props:{columns:{default:()=>[]},data:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!1},nested:{type:Boolean,default:!1},apiModule:{},apiAction:{default:"list"},apiMethod:{},apiUrl:{},permissionBase:{},apiParams:{default:()=>({})},configKey:{},tableConfig:{},dynamicColumns:{type:Boolean,default:!1},searchApiEndpoint:{},enableQuickSearch:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},ignorePermissions:{type:Boolean,default:!1}},emits:["update:search","update:sort","update:page","create","export","action","update:selection"],setup(t,{expose:e,emit:n}){const o=t,r=n,{apiUrl:i}=nt(),s=cl.useRoute(),c=cl.useRouter(),{locale:d}=Je.useI18n(),h=a.ref(""),u=a.ref(1),p=a.ref(o.perPage),y=a.ref({key:"",direction:"asc"}),f=a.ref([]),m=a.ref(!1),k=a.ref(0),g=a.ref({}),b=a.ref([]),w=a.ref(null),S=a.ref(!0),C=a.ref([]),x=a.ref([]),M=a.ref([]),v=a.ref(!1),L=a.ref(!1),I=a.ref({}),_=a.ref(null),A=a.ref(null),V=a.ref(null),q=a.ref([]),O=a.computed(()=>{if(ht.value.length===0)return!1;const B=ht.value.map(F=>{const K=le.value.find(R=>R.type==="CHECKBOX"),E=(K==null?void 0:K.keyCheckbox)||"id";return F[E]}).filter(F=>F!=null);return B.length===0?!1:B.every(F=>q.value.includes(F))}),N=a.computed(()=>{if(ht.value.length===0)return!1;const B=le.value.find(R=>R.type==="CHECKBOX"),F=(B==null?void 0:B.keyCheckbox)||"id",K=ht.value.map(R=>R[F]).filter(R=>R!=null),E=K.filter(R=>q.value.includes(R)).length;return E>0&&E<K.length}),T=B=>{const F=le.value.find(R=>R.type==="CHECKBOX"),K=(F==null?void 0:F.keyCheckbox)||"id",E=B[K];return E!==void 0&&q.value.includes(E)},H=B=>{const F=le.value.find(R=>R.type==="CHECKBOX"),K=(F==null?void 0:F.keyCheckbox)||"id",E=ht.value.map(R=>R[K]).filter(R=>R!=null);if(B){const R=new Set([...q.value,...E]);q.value=Array.from(R)}else q.value=q.value.filter(R=>!E.includes(R))},j=(B,F)=>{const K=le.value.find(X=>X.type==="CHECKBOX"),E=(K==null?void 0:K.keyCheckbox)||"id",R=B[E];R!=null&&(F?q.value.includes(R)||q.value.push(R):q.value=q.value.filter(X=>X!==R))};a.watch(q,B=>{var K;r("update:selection",B);const F=O.value||B.length>1;(K=x.value)!=null&&K.length&&x.value.forEach(E=>{var R;(R=E.fieldActionGlobal)!=null&&R.length&&E.fieldActionGlobal.forEach(X=>{var Ze,ut;const ge=E.endpoint||((Ze=E.propsActionGlobal)==null?void 0:Ze.endpointPropAction)||E.propsActionGlobal,ve=(ut=ge==null?void 0:ge.keyParam)==null?void 0:ut[0];(ve&&X.model===ve||!ve&&/^(id|ids|idAuditTrail)/i.test(X.model))&&F&&X.model&&(I.value[X.model]=B)})})},{deep:!0});const Z=B=>B&&typeof B=="string"&&B.trim()?B:void 0,P=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiModule)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiModule)||o.apiModule}),D=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiAction)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiAction)||o.apiAction}),G=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiMethod)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiMethod)||o.apiMethod||"POST"}),ne=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiUrl)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiUrl)||o.apiUrl});a.computed(()=>o.permissionBase?o.permissionBase:s.meta.permissionPath?s.meta.permissionPath:s.path);const te=a.computed(()=>!M.value||M.value.length===0?[]:[...M.value].sort((B,F)=>(B.seq||0)-(F.seq||0))),ce=B=>{if(!B)return"col-span-1";const F=B.toLowerCase();return{full:"col-span-1 md:col-span-2",half:"col-span-1",third:"col-span-1","two-thirds":"col-span-1 md:col-span-2",two_thirds:"col-span-1 md:col-span-2"}[F]||"col-span-1"},pe=()=>{let B=null;if(o.tableConfig&&(B=o.tableConfig),B){w.value=B,B.headers&&(b.value=B.headers.map(E=>{var ge,ve,De,Ze,ut,mI,xz,wz,vz,Cz;if(E.key==="action"||((ge=E.custom)==null?void 0:ge.type)==="ACTION"||((ve=E.custom)==null?void 0:ve.type)==="action"){const Ga=((De=E.custom)==null?void 0:De.actionCustom)||((Ze=E.custom)==null?void 0:Ze.action);return Ga&&(C.value=Ga.map(ga=>{const Ne=ga.propsActionCustom||ga.props||{},kI=ga.propCustomMessage||{};return{permission:ga.permission,label:d.value==="id"?Ne.labelID:Ne.labelEN,tooltip:d.value==="id"?Ne.tooltipID||Ne.labelID:Ne.tooltipEN||Ne.labelEN,icon:Ne.icon,variant:Ne.variant||"ghost",bgColor:Ne.bgColor,action:Ne.actionType||Ne.key,route:Ne.route,path:Ne.path,endpoint:Ne.endpointPropAction,requiredCondition:ga.requiredCondition||!1,propCustomCondition:ga.propCustomCondition||[],openDialog:ga.openDialog||!1,fieldActionCustom:(ga.fieldActionCustom||[]).map(gI=>{const TB=gI.propsFieldCustom||gI.propsFieldGlobal||gI.props||{};return{...gI,props:{...TB,endpoint:TB.endpointComponent||TB.endpoint}}}),requireConfirm:ga.requireConfirm||Ne.requireConfirm||!1,confirmTitle:d.value==="id"?kI.titleID||Ne.confirmTitleID||"Konfirmasi":kI.titleEN||Ne.confirmTitleEN||"Confirm",confirmMessage:d.value==="id"?kI.messageID||Ne.confirmMessageID||"Apakah Anda yakin?":kI.messageEN||Ne.confirmMessageEN||"Are you sure?"}})),null}let R;const X=((ut=E.custom)==null?void 0:ut.conditionBadge)||((mI=E.custom)==null?void 0:mI.condition);return(((xz=E.custom)==null?void 0:xz.type)==="BADGE"||((wz=E.custom)==null?void 0:wz.type)==="badge")&&X&&(R=X.map(Ga=>({value:Ga.value,label:d.value==="id"?Ga.labelID:Ga.labelEN,color:Ga.color,variant:Ga.variant}))),{key:E.key,label:d.value==="id"?E.labelID:E.labelEN,width:E.width,align:E.align,sortable:!0,type:(vz=E.custom)==null?void 0:vz.type,condition:R,keyCheckbox:(Cz=E.custom)==null?void 0:Cz.keyCheckbox}}).filter(E=>E!==null));const F=B.filters||B.filter;F&&Array.isArray(F)&&(M.value=F.map(E=>({...E,props:E.propsFilters||E.props||{}})),M.value.forEach(E=>{g.value[E.model]=""}));const K=B.actionGlobal||B.action;K&&Array.isArray(K)&&(x.value=K.map(E=>{const R=E.propsActionGlobal||E.props||{};return{permission:E.permission,label:d.value==="id"?R.labelID||"Action":R.labelEN||"Action",tooltip:d.value==="id"?R.tooltipID||R.labelID:R.tooltipEN||R.labelEN,icon:R.icon,variant:R.variant||"default",bgColor:R.bgColor,textColor:R.textColor,route:R.route,path:R.path,endpoint:R.endpointPropAction||E.endpoint,openDialog:E.openDialog||!1,fieldActionGlobal:(E.fieldActionGlobal||E.field||[]).map(X=>{const ge=X.propsFieldGlobal||X.props||{};return{...X,props:{...ge,endpoint:ge.endpointComponent||ge.endpoint}}})}})),B.pagination!==void 0&&(S.value=B.pagination)}};a.watch(()=>o.tableConfig,()=>{pe()},{deep:!0,immediate:!0});const le=a.computed(()=>o.dynamicColumns||o.configKey||o.tableConfig?b.value:o.columns||[]),Le=a.computed(()=>o.hasActions||C.value.length>0),ue=a.computed(()=>P.value||ne.value?m.value:o.loading),U=a.computed(()=>!!P.value||!!ne.value),z=a.computed(()=>[]),W=B=>z.value.some(F=>F.code===B),ee=(B,F)=>{if(!B.visibilityCondition)return!0;const{field:K,operator:E,value:R}=B.visibilityCondition,X=J(F,K);switch(E){case"equals":return X===R;case"notEquals":return X!==R;case"in":return Array.isArray(R)&&R.includes(X);case"notIn":return Array.isArray(R)&&!R.includes(X);case"greaterThan":return X>R;case"lessThan":return X<R;case"contains":return String(X).includes(String(R));default:return!0}},fe=a.computed(()=>x.value.length===0?x.value:x.value.filter(B=>o.ignorePermissions||!B.permission?!0:W(B.permission))),Te=a.computed(()=>C.value.length===0?C.value:C.value.filter(B=>o.ignorePermissions||!B.permission?!0:W(B.permission))),xe=B=>Te.value.filter(F=>ee(F,B)),Qe=(B,F)=>{var R,X;if(B.requiredCondition&&((R=B.propCustomCondition)==null?void 0:R.length)>0){const ge=J(F,"status"),ve=B.propCustomCondition.find(De=>De.value===ge);if(ve)return ve.bgColor||B.bgColor||"primary"}if(!B.dynamicColor||!B.colorCondition)return B.bgColor||"primary";const K=J(F,B.colorCondition.field),E=(X=B.colorCondition.conditions)==null?void 0:X.find(ge=>ge.value===K);return(E==null?void 0:E.bgColor)||B.bgColor||"primary"},it=B=>{const F=(B||"left").toLowerCase();return F==="center"?"justify-center":F==="right"?"justify-end":"justify-start"},St={ToggleLeft:Bl,SquarePen:et,Trash2:As,Eye:vs,CheckCircle:wa,Plus:Cl,Download:kl,RefreshCw:_s,Search:Sr,SlidersHorizontal:_l},M1=B=>B?La[B]?La[B]:St[B]||null:null,ht=a.computed(()=>U.value?f.value.map((B,F)=>({...B,no:(u.value-1)*p.value+F+1})):Oe.value),ka=a.computed(()=>U.value?k.value:de.value.length),x1=a.computed(()=>ka.value===0?0:(u.value-1)*p.value+1),$=a.computed(()=>{const B=u.value*p.value;return B>ka.value?ka.value:B}),J=(B,F)=>{if(!(!B||!F))return F in B?B[F]:F.split(".").reduce((K,E)=>K&&K[E],B)},de=a.computed(()=>{if(U.value)return[];if(!h.value)return o.data;const B=h.value.toLowerCase();return o.data.filter(F=>le.value.some(K=>{const E=J(F,K.key);return E==null?!1:String(E).toLowerCase().includes(B)}))}),Ve=a.computed(()=>U.value?[]:y.value.key?[...de.value].sort((F,K)=>{const E=J(F,y.value.key),R=J(K,y.value.key);if(E===R)return 0;let X=0;return typeof E=="number"&&typeof R=="number"?X=E-R:X=String(E).localeCompare(String(R)),y.value.direction==="asc"?X:-X}):de.value),Oe=a.computed(()=>{if(U.value)return[];const B=(u.value-1)*p.value,F=B+p.value;return Ve.value.slice(B,F).map((K,E)=>({...K,no:B+E+1}))}),Y=a.computed(()=>U.value?Object.values(g.value).some(B=>!!B):!!h.value),Q=[10,25,50,100],ae=()=>{U.value&&(g.value={...g.value,keyword:h.value},u.value=1,Xe())};let me;const He=()=>{o.enableQuickSearch&&(clearTimeout(me),me=setTimeout(()=>{ae()},500))};let It;const uz=()=>{clearTimeout(It),It=setTimeout(()=>{U.value&&Xe()},1e3)};a.watch(h,()=>{o.enableQuickSearch&&U.value&&He()});const Xe=async()=>{if(U.value&&!(!P.value&&!ne.value))try{m.value=!0;const B={page:u.value,perPage:p.value,...g.value,...o.apiParams};h.value&&(B.keyword=h.value),Object.keys(B).forEach(K=>{(B[K]===""||B[K]===null||B[K]===void 0)&&delete B[K]});let F;P.value?F=await i(P.value,D.value,B):ne.value&&(F=await i(ne.value,G.value,B)),pz(F)}catch(B){console.error("DataTable fetch error",B),m.value=!1}},pz=B=>{console.log("DataTable handleResponseData:",B),B&&(o.dynamicColumns&&B.columns&&Array.isArray(B.columns)&&(b.value=B.columns.map(F=>({key:F.key||F.field||F.name,label:F.label||F.header||F.name,width:F.width,align:F.align||"LEFT",sortable:F.sortable!==!1,type:F.type,condition:F.condition,format:F.format}))),B.data&&Array.isArray(B.data)?(f.value=B.data,B.totalData?k.value=B.totalData:B.maxPage?k.value=B.maxPage*p.value:k.value=B.data.length*(B.maxPage||1)):Array.isArray(B)?(f.value=B,k.value=B.length):B.users?(f.value=B.users,k.value=B.users.length):B.items&&Array.isArray(B.items)?(f.value=B.items,k.value=B.total||B.totalItems||B.items.length):B.list&&Array.isArray(B.list)?(f.value=B.list,k.value=B.total||B.list.length):B.rows&&Array.isArray(B.rows)?(f.value=B.rows,k.value=B.count||B.total||B.rows.length):B.result&&Array.isArray(B.result)?(f.value=B.result,k.value=B.total||B.count||B.result.length):(console.warn("DataTable: Unknown response format",B),f.value=[],k.value=0)),m.value=!1};a.onUnmounted(()=>{clearTimeout(me),clearTimeout(It)});const uI=()=>{Object.keys(g.value).forEach(B=>{g.value[B]=""}),h.value="",u.value=1,Xe()},yz=()=>{u.value=1,Xe()},pI=(B,F)=>{const K=J(B,F.key);let E={variant:"secondary",class:"",label:K};if(F.condition){const R=F.condition.find(X=>{const ge=(ve,De)=>typeof ve=="string"&&typeof De=="string"?ve.toLowerCase().trim()===De.toLowerCase().trim():ve==De;return typeof K=="object"&&K!==null?ge(X.value,K.code)||ge(X.value,K.id):ge(X.value,K)});if(R){if(R.variant&&(E.variant=R.variant),E.label=R.label||(typeof K=="object"?K.name||K.code:K),R.color){const X=R.color.toLowerCase(),ge=E.variant==="outline",ve={success:"bg-green-500 hover:bg-green-600 border-transparent text-white shadow",warning:"bg-yellow-500 hover:bg-yellow-600 border-transparent text-white shadow",info:"bg-blue-500 hover:bg-blue-600 border-transparent text-white shadow"},De={success:"text-green-600 border-green-600 hover:bg-green-50",warning:"text-yellow-600 border-yellow-600 hover:bg-yellow-50",info:"text-blue-600 border-blue-600 hover:bg-blue-50",danger:"text-red-600 border-red-600 hover:bg-red-50",destructive:"text-red-600 border-red-600 hover:bg-red-50",primary:"text-primary-600 border-primary-600 hover:bg-primary-50",secondary:"text-neutral-600 border-neutral-600 hover:bg-zinc-50"},Ze={danger:"destructive",secondary:"secondary",primary:"default"};ge?De[X]&&(E.class=De[X]):Ze[X]?E.variant=Ze[X]:ve[X]&&(E.class=ve[X])}}else E.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K}else E.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K;return E},fz=B=>{y.value.key===B?y.value.direction=y.value.direction==="asc"?"desc":"asc":(y.value.key=B,y.value.direction="asc"),r("update:sort",y.value)},zB=B=>{B!==u.value&&(u.value=B,U.value&&Xe(),r("update:page",B))},mz=B=>{p.value=B,u.value=1,U.value&&Xe()},kz=B=>{const F=Math.random()*15+75;if(B.width){const K=parseInt(String(B.width));return K<100?`${Math.floor(K*(Math.random()*.2+.7))}px`:`${F}%`}return`${F}%`},EB=()=>{h.value="",g.value={},u.value=1,Xe()},gz=B=>{var F;if(B.route){if(B.path){const K=B.route.startsWith("/")?B.route:"/"+B.route;sessionStorage.setItem(`layout_${K}`,B.path)}c.push(B.route)}else if(B.openDialog){A.value=B,V.value=null,I.value={};const K=B.fieldActionGlobal||B.field||[];K.length&&K.forEach(E=>{var ge;const R=B.endpoint||((ge=B.propsActionGlobal)==null?void 0:ge.endpointPropAction)||B.propsActionGlobal,X=R!=null&&R.keyParam&&R.keyParam.length>0?R.keyParam[0]:null;X&&E.model===X||!X&&/^(id|ids|idAuditTrail)/i.test(E.model)?I.value[E.model]=q.value:I.value[E.model]||(I.value[E.model]="")}),L.value=!0}else r("action",{action:((F=B.propsActionCustom)==null?void 0:F.key)||B.key||"create",row:null,selection:q.value})},bz=(B,F)=>{if(B.requireConfirm){_.value={button:B,row:F},v.value=!0;return}if(B.openDialog){A.value=B,V.value=F,I.value={};const K=le.value.find(R=>R.type==="CHECKBOX"),E=(K==null?void 0:K.keyCheckbox)||"id";B.fieldActionCustom&&B.fieldActionCustom.forEach(R=>{/^(id|ids|idAuditTrail)/i.test(R.model)?I.value[R.model]=[F[E]]:I.value[R.model]=""}),L.value=!0;return}yI(B,F)},yI=(B,F)=>{if(B.route){if(B.path){const R=B.route.startsWith("/")?B.route:"/"+B.route;sessionStorage.setItem(`layout_${R}`,B.path)}let K=B.route;K.includes(":")?K=K.replaceAll(/:([a-zA-Z0-9_]+)/g,(R,X)=>F[X]||F.id||X):F.id&&(K=`${K.replace(/\/$/,"")}/${F.id}`);const E={};B.path&&(E.code=B.path),c.push({path:K,query:E})}else if(B.endpoint&&B.endpoint.apiUrl){m.value=!0;const{apiUrl:K}=nt(),E=B.endpoint.apiUrl,R=B.endpoint.apiMethod||"POST",X={};B.endpoint.keyParam&&Array.isArray(B.endpoint.keyParam)&&B.endpoint.keyParam.forEach((ge,ve)=>{const De=B.endpoint.model&&ve===0?B.endpoint.model:ge;F[ge]!==void 0&&(X[De]=F[ge])}),Object.keys(X).length===0&&F.id&&(X.id=F.id),K(E,R,X).then(()=>{Xe(),r("action",{action:B.action||"success",row:F})}).catch(ge=>{console.error("Action Failed",ge)}).finally(()=>{m.value=!1})}else r("action",{action:B.action,row:F})},tne=()=>{_.value&&(yI(_.value.button,_.value.row),Mz())},ane=()=>{var B,F;if(A.value){const K=A.value,E=K.endpoint||((B=K.propsActionGlobal)==null?void 0:B.endpointPropAction)||K.propsActionGlobal;let R=(E==null?void 0:E.model)||(E!=null&&E.keyParam&&E.keyParam.length>0?E.keyParam[0]:null);if(!R){const De=(K.fieldActionGlobal||K.fieldActionCustom||K.field||[]).find(Ze=>/^(id|ids|idAuditTrail)/i.test(Ze.model));R=De?De.model:"ids"}let X=null,ge=!1;if(V.value){const ve=le.value.find(ut=>ut.type==="CHECKBOX"),De=(ve==null?void 0:ve.keyCheckbox)||"id",Ze=V.value[De];E!=null&&E.apiUrl&&(X={...I.value},X[R]||(X[R]=[Ze]),ge=!0)}else E!=null&&E.apiUrl&&(X={...I.value},X[R]||(X[R]=q.value||[]),ge=!0);if(ge&&X&&(E!=null&&E.apiUrl)){const{apiUrl:ve}=nt(),De=E.apiUrl,Ze=E.apiMethod||"POST";ve(De,Ze,X).then(()=>{L.value=!1,V.value||(q.value=[]),Xe(),r("action",{action:"success",row:null})}).catch(ut=>{console.error("Action Failed",ut)})}else if(V.value){const ve=le.value.find(mI=>mI.type==="CHECKBOX"),De=(ve==null?void 0:ve.keyCheckbox)||"id",Ze=V.value[De],ut={...I.value};ut[R]||(ut[R]=[Ze]),r("action",{action:A.value.action,row:ut}),L.value=!1}else{const ve={...I.value};ve[R]||(ve[R]=q.value);const De={action:((F=A.value.propsActionGlobal)==null?void 0:F.key)||A.value.key,row:ve,selection:q.value};r("action",De),L.value=!1}}},Mz=()=>{v.value=!1,_.value=null},nne=a.computed(()=>_.value?_.value.button.confirmTitle||"Confirm":""),one=a.computed(()=>_.value?_.value.button.confirmMessage||"Confirm":"");e({fetchData:Xe,filters:g,resetFilters:uI,handleRefresh:EB});const fI=a.ref(""),rne=B=>{if(!B)return"";const F=B.endpoint||B.endpointGlobal||{};return JSON.stringify({url:F.apiUrl||B.apiUrl,module:F.apiModule||B.apiModule,action:F.apiAction||B.apiAction,method:F.apiMethod||B.apiMethod,params:B.apiParams,socket:F.socket||B.socketEndpoint,socketParams:B.socketParams})};return a.watch(()=>o.tableConfig,()=>{if(o.tableConfig){pe();const B=rne(o.tableConfig);B!==fI.value&&(!fI.value&&U.value?(fI.value=B,Xe()):(fI.value=B,U.value&&uz()))}},{deep:!0,immediate:!0}),a.watch(()=>o.apiModule,()=>{U.value&&Xe()}),a.watch(()=>o.apiParams,()=>{U.value&&Xe()},{deep:!0}),a.onMounted(()=>{pe(),U.value&&(o.tableConfig||(m.value=!0,Xe()))}),(B,F)=>{var K;return a.openBlock(),a.createElementBlock("div",CG,[a.createElementVNode("div",LG,[a.createElementVNode("div",SG,[t.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",IG,[a.createElementVNode("div",_G,[a.createVNode(a.unref(Sr),{class:"absolute left-2.5 top-2.5 h-4 w-4 text-neutral-500 dark:text-neutral-400"}),a.createVNode(a.unref(_S),{modelValue:h.value,"onUpdate:modelValue":F[0]||(F[0]=E=>h.value=E),placeholder:"Search...",style:{"padding-left":"2.25rem !important"},class:"h-9 bg-white/95 dark:bg-zinc-800/95 border-white/30 dark:border-neutral-700/50 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-500 dark:placeholder:text-neutral-400",onKeyup:a.withKeys(ae,["enter"])},null,8,["modelValue"])]),M.value.length>0?(a.openBlock(),a.createElementBlock("div",BG,[a.createVNode(DR,null,{trigger:a.withCtx(()=>[a.createVNode(Wt,{variant:"secondary",icon:"SlidersHorizontal",tooltip:"Advance Search",class:"gap-2 h-9 w-full sm:w-auto justify-center bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium"})]),footer:a.withCtx(()=>[a.createElementVNode("div",qG,[a.renderSlot(B.$slots,"filter-footer",{fetch:Xe,reset:uI})])]),default:a.withCtx(()=>[a.createElementVNode("div",AG,[a.renderSlot(B.$slots,"filter-form",{filters:g.value},()=>[M.value.length>0?(a.openBlock(),a.createElementBlock("div",VG,[a.createElementVNode("div",PG,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(te.value,(E,R)=>(a.openBlock(),a.createElementBlock("div",{key:R,class:a.normalizeClass(ce(E.column))},[a.createVNode(EP,{field:E,modelValue:g.value[E.model],"onUpdate:modelValue":X=>g.value[E.model]=X},null,8,["field","modelValue","onUpdate:modelValue"])],2))),128))])])):a.createCommentVNode("",!0)]),M.value.length>0?(a.openBlock(),a.createElementBlock("div",DG,[a.createVNode(a.unref(Se),{variant:"outline",onClick:uI,disabled:ue.value,class:"flex-1 w-full"},{default:a.withCtx(()=>[...F[8]||(F[8]=[a.createTextVNode(" Reset ",-1)])]),_:1},8,["disabled"]),a.createVNode(a.unref(Se),{onClick:yz,disabled:ue.value,class:"flex-1 w-full"},{default:a.withCtx(()=>[...F[9]||(F[9]=[a.createTextVNode(" Search ",-1)])]),_:1},8,["disabled"])])):a.createCommentVNode("",!0)])]),_:3})])):a.createCommentVNode("",!0)])),a.createElementVNode("div",{class:a.normalizeClass(["flex items-center gap-2 flex-wrap",{"w-full justify-between":t.nested}])},[t.nested?(a.openBlock(),a.createElementBlock("span",zG)):a.createCommentVNode("",!0),t.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(Wt,{key:1,variant:"secondary",icon:"RefreshCw",text:"Refresh",tooltip:"Refresh",class:"gap-2 h-9 bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-white dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium",onClick:EB,disabled:ue.value},{icon:a.withCtx(()=>[a.createVNode(a.unref(_s),{class:a.normalizeClass(["w-3.5 h-3.5",{"animate-spin":ue.value}])},null,8,["class"])]),_:1},8,["disabled"])),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(fe.value,(E,R)=>(a.openBlock(),a.createBlock(Wt,{key:R,icon:E.icon,text:E.label,tooltip:E.tooltip,variant:E.variant,"bg-color":E.bgColor,"text-color":E.textColor,class:"gap-2 h-9 shadow-lg shadow-primary-500/20 border-none text-xs font-medium",onClick:X=>gz(E)},null,8,["icon","text","tooltip","variant","bg-color","text-color","onClick"]))),128)),a.renderSlot(B.$slots,"header-actions")],2)])]),a.createElementVNode("div",EG,[a.createElementVNode("table",TG,[a.createElementVNode("thead",OG,[a.createElementVNode("tr",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(le.value,E=>(a.openBlock(),a.createElementBlock("th",{key:E.key,class:a.normalizeClass([E.align?`text-${E.align.toLowerCase()}`:"",E.sortable?"cursor-pointer select-none":"","px-3 py-2 text-xs font-black text-white dark:text-neutral-100 uppercase tracking-wider transition-colors duration-150"]),style:a.normalizeStyle(E.width?{width:E.width}:{}),onClick:R=>E.sortable&&fz(E.key)},[E.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",FG,[a.createVNode(Gl,{"model-value":O.value,indeterminate:N.value,"onUpdate:modelValue":F[1]||(F[1]=R=>H(!!R)),onClick:F[2]||(F[2]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate"])])):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-2 w-full",it(E.align)])},[a.createElementVNode("span",null,a.toDisplayString(E.label),1)],2))],14,HG))),128)),Le.value?(a.openBlock(),a.createElementBlock("th",$G,[...F[10]||(F[10]=[a.createElementVNode("div",{class:"flex items-center justify-center w-full"}," Actions ",-1)])])):a.createCommentVNode("",!0)])]),a.createElementVNode("tbody",jG,[ue.value?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(p.value,E=>(a.openBlock(),a.createElementBlock("tr",{key:`skeleton-${E}`},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(le.value,R=>{var X,ge;return a.openBlock(),a.createElementBlock("td",{key:R.key,class:a.normalizeClass([R.align?`text-${R.align.toLowerCase()}`:"text-left","px-3 py-0.5"])},[a.createElementVNode("div",{class:a.normalizeClass(["bg-gradient-to-r from-neutral-200 via-neutral-300 to-neutral-200 dark:from-neutral-700 dark:via-neutral-600 dark:to-neutral-700 animate-shimmer",[["badge","BADGE"].includes(R.type??"")||R.condition?"h-5 rounded-full w-20":"h-4 rounded-md",((X=R.align)==null?void 0:X.toLowerCase())==="center"?"mx-auto":"",((ge=R.align)==null?void 0:ge.toLowerCase())==="right"?"ml-auto":""]]),style:a.normalizeStyle({width:["badge","BADGE"].includes(R.type??"")||R.condition?void 0:kz(R),backgroundSize:"200% 100%"})},null,6)],2)}),128)),t.hasActions?(a.openBlock(),a.createElementBlock("td",RG,[...F[11]||(F[11]=[a.createElementVNode("div",{class:"flex items-center justify-center gap-1.5"},[a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-75"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-150"})],-1)])])):a.createCommentVNode("",!0)]))),128)):ht.value.length===0?(a.openBlock(),a.createElementBlock("tr",NG,[a.createElementVNode("td",{colspan:le.value.length+(Le.value?1:0),class:"text-center py-16"},[a.createElementVNode("div",WG,[a.createElementVNode("div",null,[a.createElementVNode("p",GG,a.toDisplayString(Y.value?"No search results":"No data"),1),a.createElementVNode("p",YG,a.toDisplayString(Y.value?"Try changing keywords":"No data added"),1)])])],8,UG)])):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:2},a.renderList(ht.value,(E,R)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:R},[a.createElementVNode("tr",KG,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(le.value,X=>(a.openBlock(),a.createElementBlock("td",{key:X.key,class:a.normalizeClass([X.align?`text-${X.align}`:"text-left","px-3 py-0.5 text-sm text-neutral-900 dark:text-neutral-100"])},[a.renderSlot(B.$slots,`cell-${X.key}`,{row:E,value:J(E,X.key)},()=>[X.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",XG,[a.createVNode(Gl,{"model-value":T(E),"onUpdate:modelValue":ge=>j(E,!!ge),onClick:F[3]||(F[3]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","onUpdate:modelValue"])])):X.type==="badge"||X.type==="BADGE"||X.condition?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-1.5 flex-wrap md:flex-nowrap",[X.align?`justify-${X.align}`:"justify-start"]])},[a.createVNode(a.unref(Oa),{variant:pI(E,X).variant,class:a.normalizeClass([pI(E,X).class,"whitespace-nowrap truncate max-w-[150px] inline-block"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(pI(E,X).label),1)]),_:2},1032,["variant","class"])],2)):X.key==="no"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString((u.value-1)*p.value+R+1),1)],64)):X.type==="date"||X.type==="DATE"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createTextVNode(a.toDisplayString(J(E,X.key)?a.unref(wR)(J(E,X.key),"long"):"-"),1)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createTextVNode(a.toDisplayString(X.format?X.format(J(E,X.key)):J(E,X.key)),1)],64))])],2))),128)),Le.value?(a.openBlock(),a.createElementBlock("td",ZG,[a.renderSlot(B.$slots,"actions",{row:E,buttons:xe(E),getButtonColor:Qe,getIconComponent:M1},()=>[xe(E).length>0?(a.openBlock(),a.createElementBlock("div",JG,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(xe(E),(X,ge)=>(a.openBlock(),a.createElementBlock("div",{key:ge,class:"group relative"},[a.createVNode(Wt,{tooltip:X.tooltip||X.label,icon:M1(X.icon),size:"icon",variant:X.variant||"ghost","bg-color":Qe(X,E),onClick:ve=>bz(X,E)},null,8,["tooltip","icon","variant","bg-color","onClick"])]))),128))])):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0)]),B.$slots["expanded-row"]?(a.openBlock(),a.createElementBlock("tr",QG,[a.createElementVNode("td",{colspan:le.value.length+(Le.value?1:0),class:"px-0 py-0"},[a.renderSlot(B.$slots,"expanded-row",{row:E,index:R})],8,eY)])):a.createCommentVNode("",!0)],64))),128))])])]),!ue.value&&ht.value.length>0&&t.showPagination&&S.value?(a.openBlock(),a.createElementBlock("div",tY,[a.createElementVNode("div",aY,[a.createVNode(a.unref(mG),{"model-value":String(p.value),"onUpdate:modelValue":F[4]||(F[4]=E=>mz(Number(E)))},{default:a.withCtx(()=>[a.createVNode(a.unref(wG),{class:"h-8 w-[70px] bg-white dark:bg-zinc-800 border-neutral-200 dark:border-neutral-700"},{default:a.withCtx(()=>[a.createVNode(a.unref(vG),{placeholder:String(p.value)},null,8,["placeholder"])]),_:1}),a.createVNode(a.unref(kG),null,{default:a.withCtx(()=>[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(Q,E=>a.createVNode(a.unref(bG),{key:E,value:String(E)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(E),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"]),F[16]||(F[16]=a.createElementVNode("div",{class:"h-5 w-px bg-zinc-300 dark:bg-zinc-600"},null,-1)),a.createElementVNode("span",nY,[F[12]||(F[12]=a.createTextVNode(" Showing ",-1)),a.createElementVNode("span",oY,a.toDisplayString(x1.value),1),F[13]||(F[13]=a.createTextVNode(" to ",-1)),a.createElementVNode("span",rY,a.toDisplayString($.value),1),F[14]||(F[14]=a.createTextVNode(" of ",-1)),a.createElementVNode("span",iY,a.toDisplayString(ka.value),1),F[15]||(F[15]=a.createTextVNode(" items ",-1))])]),a.createElementVNode("div",sY,[a.createVNode(a.unref(lG),{total:ka.value,"items-per-page":p.value,"sibling-count":1,"show-edges":"",page:u.value,"onUpdate:page":zB,class:"scale-90 origin-right"},{default:a.withCtx(()=>[a.createVNode(a.unref(cG),{class:"flex items-center gap-1"},{default:a.withCtx(({items:E})=>[a.createVNode(a.unref(hG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(yl),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(fG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ma),{class:"h-4 w-4"})]),_:1}),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(E,(R,X)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[R.type==="page"?(a.openBlock(),a.createBlock(a.unref(uG),{key:X,value:R.value,"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Se),{class:"w-8 h-8 p-0 text-sm",variant:R.value===u.value?"default":"outline",disabled:R.value===u.value,onClick:ge=>zB(R.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(R.value),1)]),_:2},1032,["variant","disabled","onClick"])]),_:2},1032,["value"])):(a.openBlock(),a.createBlock(a.unref(dG),{key:R.type,index:X},null,8,["index"]))],64))),256)),a.createVNode(a.unref(yG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(xa),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(pG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(fl),{class:"h-4 w-4"})]),_:1})]),_:1})]),_:1},8,["total","items-per-page","page"])])])):a.createCommentVNode("",!0),a.createVNode(LS,{modelValue:v.value,"onUpdate:modelValue":F[5]||(F[5]=E=>v.value=E),title:nne.value,icon:"AlertCircle","max-width":450,persistent:!1},{actions:a.withCtx(()=>[a.createVNode(a.unref(Se),{variant:"outline",onClick:Mz},{default:a.withCtx(()=>[...F[17]||(F[17]=[a.createTextVNode(" Cancel ",-1)])]),_:1}),a.createVNode(a.unref(Se),{onClick:tne},{default:a.withCtx(()=>[...F[18]||(F[18]=[a.createTextVNode(" Yes ",-1)])]),_:1})]),default:a.withCtx(()=>[a.createElementVNode("div",lY,[a.createElementVNode("p",cY,a.toDisplayString(one.value),1)])]),_:1},8,["modelValue","title"]),a.createVNode(LS,{modelValue:L.value,"onUpdate:modelValue":F[7]||(F[7]=E=>L.value=E),title:((K=A.value)==null?void 0:K.label)||"Action",icon:"AlertCircle","max-width":450},{actions:a.withCtx(()=>[a.createVNode(a.unref(Se),{variant:"outline",onClick:F[6]||(F[6]=E=>L.value=!1)},{default:a.withCtx(()=>[...F[19]||(F[19]=[a.createTextVNode(" Cancel ",-1)])]),_:1}),a.createVNode(a.unref(Se),{onClick:ane},{default:a.withCtx(()=>[...F[20]||(F[20]=[a.createTextVNode(" Save ",-1)])]),_:1})]),default:a.withCtx(()=>{var E,R;return[a.createElementVNode("div",dY,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(((E=A.value)==null?void 0:E.fieldActionCustom)||((R=A.value)==null?void 0:R.fieldActionGlobal)||[],(X,ge)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:ge},[X.isHidden?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(ce(X.column))},[a.createVNode(EP,{field:X,modelValue:I.value[X.model],"onUpdate:modelValue":ve=>I.value[X.model]=ve},null,8,["field","modelValue","onUpdate:modelValue"])],2))],64))),128))])]}),_:1},8,["modelValue","title"])])}}}),hY=["aria-busy"],uY={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},pY=["for"],yY={key:0,class:"ml-1 text-destructive"},fY={class:"relative"},mY={key:0,class:"flex items-center text-gray-500 gap-2"},kY=["id","placeholder","disabled","value"],gY={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},bY=["disabled"],MY={key:0,class:"p-3 space-y-2"},xY=["onMouseenter","onClick"],wY={class:"flex items-center space-x-3"},vY={class:"flex-1"},CY={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},LY={key:0,class:"text-xs text-gray-500 dark:text-gray-400"},SY={key:0},IY={key:2,class:"p-3 text-center"},_Y={class:"inline-flex items-center space-x-2"},BY={class:"text-sm text-gray-500"},AY={key:3,class:"p-3 text-center"},VY={class:"text-xs text-gray-400"},PY={key:4,class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},DY={key:1,class:"mt-1 text-xs text-red-600"},qY={key:2,class:"mt-1 text-xs text-gray-500"},TP=a.defineComponent({name:"DCodeInfiniteAutoComplete",inheritAttrs:!1,__name:"DCodeInfiniteAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},refreshOnOpen:{type:Boolean,default:!1},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},itemSubtitle:{},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{},fetchItems:{},icon:{},label:{},placeholder:{default:"Select an option"},required:{type:Boolean,default:!1},inputType:{default:"text"},helperText:{default:""},noResultsText:{default:"No results found"},loadingText:{default:"Loading more..."},endOfResultsText:{default:"End of results"},pageSize:{default:10},threshold:{default:100},debounceMs:{default:300}},emits:["update:modelValue","focus","blur","select","search","load-more","end-of-results","error"],setup(t,{emit:e}){const n=t,o=e,r=a.useAttrs(),i=a.ref(),s=a.ref(),c=a.ref(),d=a.ref(),h=a.ref(),u=a.computed(()=>{const D=n.label||n.placeholder;return D?`app-infinite-autocomplete-${D}-${Math.random().toString(36).slice(2,7)}`:void 0}),p=a.ref(""),y=a.ref([]),f=a.ref(!1),m=a.ref(!1),k=a.ref(-1),g=a.ref(1),b=a.ref(!0),w=a.ref(0),S=a.ref(),{floatingStyles:C}=gS(d,h,{placement:"bottom-start",whileElementsMounted:yS,middleware:[fS(4),jl(),mS(),kS({apply({rects:D,elements:G}){Object.assign(G.floating.style,{width:`${D.reference.width}px`})}})]});a.computed(()=>({"opacity-50 pointer-events-none":n.disabled,relative:!0}));const x=a.computed(()=>p.value?y.value.filter(D=>I(D).toLowerCase().includes(p.value.toLowerCase())):y.value),M=a.computed(()=>{if(m.value&&p.value)return p.value;if(n.modelValue){if(n.returnObject)return I(n.modelValue);{const D=y.value.find(G=>_(G)===n.modelValue);return D?I(D):String(n.modelValue)}}return""}),v=()=>{m.value=!0},L=()=>{m.value=!1},I=D=>typeof n.itemTitle=="function"?n.itemTitle(D):D[n.itemTitle]||"",_=D=>typeof n.itemValue=="function"?n.itemValue(D):D[n.itemValue]||D,A=D=>n.itemSubtitle?typeof n.itemSubtitle=="function"?n.itemSubtitle(D):D[n.itemSubtitle]||"":"",V=D=>n.modelValue?n.returnObject?_(D)===_(n.modelValue):_(D)===n.modelValue:!1,q=D=>{var ne;const G=n.returnObject?D:_(D);o("update:modelValue",G),o("select",D),m.value=!1,p.value="",(ne=i.value)==null||ne.blur()},O=()=>{var D;o("update:modelValue",null),p.value="",(D=i.value)==null||D.focus()},N=D=>{m.value=!0,o("focus",D),n.autoFetchOnOpen&&!f.value&&(n.refreshOnOpen||y.value.length===0)&&P(!0)},T=D=>{setTimeout(()=>{m.value=!1,o("blur",D)},200)},H=D=>{const G=D.target;p.value=G.value,S.value&&clearTimeout(S.value),S.value=setTimeout(()=>{o("search",p.value),g.value=1,b.value=!0,P(!0)},n.debounceMs)},j=D=>{if(m.value)switch(D.key){case"ArrowDown":D.preventDefault(),k.value=Math.min(k.value+1,x.value.length-1);break;case"ArrowUp":D.preventDefault(),k.value=Math.max(k.value-1,0);break;case"Enter":D.preventDefault(),k.value>=0&&x.value[k.value]&&q(x.value[k.value]);break;case"Escape":m.value=!1;break}},Z=D=>{if(!b.value||f.value)return;const G=D.target,{scrollTop:ne,scrollHeight:te,clientHeight:ce}=G;ne+ce>=te-n.threshold&&P()},P=async(D=!1)=>{var G,ne;if(!f.value){f.value=!0;try{let te=[];if(n.fetchItems)te=await n.fetchItems();else{const ce=nt(),pe=((G=n.endpoint)==null?void 0:G.apiModule)||n.apiModule,le=((ne=n.endpoint)==null?void 0:ne.apiAction)||n.apiAction;if(!pe||!le)throw new Error("API module and action are required");const Le={page:D?1:g.value,pageSize:n.pageSize,search:p.value,...n.apiParams},ue=await ce.apiUrl(`/${pe}/${le}`,"GET",Le);te=ue.data||ue.items||ue||[],w.value=ue.total||ue.totalItems||te.length}D?(y.value=te,g.value=1):(y.value.push(...te),g.value++),b.value=te.length>=n.pageSize,b.value||o("end-of-results"),o("load-more",{items:te,page:g.value,hasMore:b.value,total:w.value})}catch(te){console.error("Error fetching items:",te),o("error",te)}finally{f.value=!1}}};return a.onMounted(()=>{n.autoFetchOnMount&&P()}),a.onUnmounted(()=>{S.value&&clearTimeout(S.value)}),a.watch(()=>n.modelValue,D=>{D||(p.value="")}),(D,G)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:c,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":t.skeleton},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.label?(a.openBlock(),a.createElementBlock("div",uY)):a.createCommentVNode("",!0),G[3]||(G[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[t.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:u.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",yY,"*")):a.createCommentVNode("",!0)],8,pY)):a.createCommentVNode("",!0),a.createElementVNode("div",fY,[a.createElementVNode("div",{ref_key:"reference",ref:d,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[t.disabled?"opacity-60 cursor-not-allowed":"",t.error?"border-red-500 focus-within:ring-red-500":""]])},[n.icon?(a.openBlock(),a.createElementBlock("div",mY,[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({ref_key:"inputRef",ref:i},D.$attrs,{id:u.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",t.disabled?"cursor-not-allowed":"cursor-text"],placeholder:t.placeholder,disabled:t.disabled,value:M.value,onFocus:N,onBlur:T,onInput:H,onKeydown:j}),null,16,kY),f.value?(a.openBlock(),a.createElementBlock("svg",gY,[...G[4]||(G[4]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):t.clearable&&t.modelValue?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:G[0]||(G[0]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(O,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:t.disabled,onClick:G[1]||(G[1]=ne=>m.value?L():v()),"aria-label":"Toggle"},[a.createVNode(a.unref(Bt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":m.value}])},null,8,["class"])],8,bY))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[m.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:h,style:a.normalizeStyle(a.unref(C)),class:"z-[9999] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",{ref_key:"scrollContainer",ref:s,class:"max-h-64 overflow-auto",onScroll:Z},[f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",MY,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(5,ne=>a.createElementVNode("div",{key:ne,class:"flex items-center space-x-3"},[...G[5]||(G[5]=[a.createElementVNode("div",{class:"skeleton h-4 w-4 bg-gray-200 rounded"},null,-1),a.createElementVNode("div",{class:"skeleton h-4 flex-1 bg-gray-200 rounded"},null,-1)])])),64))])):x.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(x.value,(ne,te)=>(a.openBlock(),a.createElementBlock("button",{key:_(ne)??te,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",te===k.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:ce=>k.value=te,onMousedown:G[2]||(G[2]=a.withModifiers(()=>{},["prevent"])),onClick:ce=>q(ne)},[a.renderSlot(D.$slots,"item",{item:ne,index:te},()=>[a.createElementVNode("div",wY,[a.createElementVNode("div",vY,[a.createElementVNode("div",CY,a.toDisplayString(I(ne)),1),t.itemSubtitle?(a.openBlock(),a.createElementBlock("div",LY,a.toDisplayString(A(ne)),1)):a.createCommentVNode("",!0)])])]),V(ne)?(a.openBlock(),a.createElementBlock("span",SY," ✓ ")):a.createCommentVNode("",!0)],42,xY))),128)):a.createCommentVNode("",!0),f.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",IY,[a.createElementVNode("div",_Y,[G[6]||(G[6]=a.createElementVNode("div",{class:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"},null,-1)),a.createElementVNode("span",BY,a.toDisplayString(t.loadingText),1)])])):a.createCommentVNode("",!0),!b.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",AY,[a.createElementVNode("div",VY,a.toDisplayString(t.endOfResultsText),1)])):!f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",PY,a.toDisplayString(t.noResultsText),1)):a.createCommentVNode("",!0)],544)],4)):a.createCommentVNode("",!0)]))]),t.error?(a.openBlock(),a.createElementBlock("p",DY,a.toDisplayString(t.errorMessage||t.error),1)):t.helperText?(a.openBlock(),a.createElementBlock("p",qY,a.toDisplayString(t.helperText),1)):a.createCommentVNode("",!0)],64))],10,hY)),[[a.vShow,t.visible]])}});/*!
|
|
8549
|
+
`,""),W=Number(z);return Number.isFinite(W)?W:null}return U},O=U=>{k.value=U,o("update:modelValue",q(U))},N=(U,z)=>{const W=y(z);b.value=!0,U.value=W,O(W),queueMicrotask(()=>b.value=!1)},T=(U,z)=>{const W=U.selectionStart??U.value.length,ee=U.selectionEnd??U.value.length;if(p.value>0){const fe=U.value.length-(ee-W),Te=p.value-fe;if(Te<=0)return;z=z.slice(0,Te)}U.setRangeText(z,W,ee,"end"),N(U,A(U.value))},H=U=>{var ee;if(!V||g.value||b.value||!((ee=U.inputType)!=null&&ee.startsWith("insert")))return;const z=U.data;if(z==null)return;const W=A(z);W!==z&&(U.preventDefault(),W.length>0&&T(V,W))},j=U=>{var ee;if(!V||g.value||b.value)return;const z=((ee=U.clipboardData)==null?void 0:ee.getData("text"))??"",W=A(z);W!==z&&(U.preventDefault(),W.length>0&&T(V,W))},Z=async U=>{if(!V||g.value||b.value)return;const z=U.target,W=z.value??"",ee=A(W);if(ee===W){const fe=z.selectionStart??ee.length,Te=z.selectionEnd??ee.length;N(z,ee),await a.nextTick();try{z.setSelectionRange(fe,Te)}catch{}O(ee)}else{const fe=z.selectionStart??ee.length,Te=z.selectionEnd??ee.length;N(z,ee),await a.nextTick();try{z.setSelectionRange(fe,Te)}catch{}}},P=()=>g.value=!0,D=()=>{if(g.value=!1,!V)return;const U=V.value??"",z=A(U);z===U?O(z):N(V,z)};a.onMounted(()=>{if(V=document.getElementById(d.value),!V)return;V.addEventListener("beforeinput",H),V.addEventListener("paste",j),V.addEventListener("input",Z),V.addEventListener("compositionstart",P),V.addEventListener("compositionend",D);const U=V.value??"",z=A(U);z===U?O(z):N(V,z)}),a.onBeforeUnmount(()=>{V&&(V.removeEventListener("beforeinput",H),V.removeEventListener("paste",j),V.removeEventListener("input",Z),V.removeEventListener("compositionstart",P),V.removeEventListener("compositionend",D),V=null)});const G=()=>{k.value="",V&&(V.value=""),o("update:modelValue",null),o("clear")},ne=a.computed(()=>k.value.length),te=a.computed(()=>r.showCharCount?p.value>0:!1),ce=a.computed(()=>te.value&&ne.value>0),pe=a.computed(()=>`${ne.value} / ${p.value}`),le=a.computed(()=>!!r.error),Le=a.computed(()=>{const U=n.rows,z=typeof U=="number"?U:Number.parseInt(String(U??""),10);return Number.isFinite(z)&&z>0?z:3}),ue=a.computed(()=>({height:`${Le.value*24+16}px`}));return(U,z)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",RW)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse",style:a.normalizeStyle(ue.value)},null,4)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",NW,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",UW,[a.createElementVNode("textarea",a.mergeProps({id:d.value,value:k.value},u.value,{style:`text-transform: ${x.value}; padding-right: ${m.value?"2.5rem":"0.75rem"} !important; padding-left: 0.75rem !important;`,class:["flex min-h-[120px] w-full rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50",le.value?"border-destructive focus-visible:ring-destructive":""]}),null,16,WW),m.value?(a.openBlock(),a.createElementBlock("div",GW,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-sm leading-none","aria-label":"Clear textarea",onClick:G}," ✕ ")])):a.createCommentVNode("",!0),ce.value&&!le.value?(a.openBlock(),a.createElementBlock("p",YW,a.toDisplayString(pe.value),1)):a.createCommentVNode("",!0)]),le.value?(a.openBlock(),a.createElementBlock("p",KW,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,jW)),[[a.vShow,s.value]])}}),XW=["aria-busy"],ZW={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},JW={key:1,class:"flex justify-end"},QW={key:0,class:"ml-1 text-destructive"},eG={class:"relative w-full group"},tG={key:0,class:"absolute inset-y-0 left-4 flex items-center text-muted-foreground"},aG={key:1},nG={key:1,class:"absolute inset-y-0 right-3 flex items-center"},oG={key:2,class:"absolute inset-y-0 right-3 flex items-center"},rG={key:3,class:"absolute top-full right-0 z-10 text-[11px] text-gray-500 dark:text-gray-400 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100"},iG={key:1,class:"text-xs text-destructive"},U_=a.defineComponent({name:"DCodeTextField",inheritAttrs:!1,__name:"DCodeTextField",props:{modelValue:{},prependInner:{},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},textCase:{default:"none"},applyTextCaseToValue:{type:Boolean,default:!0},valueType:{default:"free"},allowSpaces:{type:Boolean,default:!0},allowChars:{},pattern:{},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0},returnNumber:{type:Boolean,default:!1},error:{default:null},placeholder:{default:""},icon:{},disabled:{type:Boolean,default:!1}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=a.computed(()=>c.valueType==="password"||n.type==="password"),r=a.ref(!1),i=()=>{r.value=!r.value},s=e,c=t,d=a.computed(()=>n.label);a.computed(()=>c.visible??!0);const h=Math.random().toString(36).slice(2,7),u=a.computed(()=>`app-text-field-${n.id||d.value||"field"}-${h}`),p=a.computed(()=>{const z=n.required,W=n["aria-required"];return z===""||z===!0||z==="true"||(W==="true"||W===!0)}),y=a.computed(()=>{const{label:z,class:W,id:ee,required:fe,"aria-required":Te,...xe}=n;return xe}),f=a.computed(()=>{const z={...y.value};return c.valueType==="number"&&(z.type="text",z.inputmode="numeric",z.pattern="[0-9]*"),c.valueType==="email"&&(z.type="email",z.inputmode="email"),o.value&&(z.type=r.value?"text":"password"),c.disabled&&(z.disabled=!0),z}),m=a.computed(()=>{const z=c.modelValue;return z==null||String(z).length===0}),k=a.computed(()=>c.clearable?c.hideClearWhenEmpty?!m.value:!0:!1),g=a.computed(()=>{switch(c.textCase){case"uppercase":return"uppercase";case"lowercase":return"lowercase";default:return"none"}}),b=a.ref(String(c.modelValue??""));a.watch(()=>c.modelValue,z=>{const W=String(z??"");W!==b.value&&(b.value=W)});const w=a.ref(!1),S=a.ref(!1),C=z=>z.split(/(\s+)/).map(W=>{if(W.trim()==="")return W;const ee=W.toLowerCase();return ee.charAt(0).toUpperCase()+ee.slice(1)}).join(""),x=z=>{const W=z.toLowerCase(),ee=W.search(new RegExp("\\p{L}","u"));return ee<0?W:W.slice(0,ee)+W.charAt(ee).toUpperCase()+W.slice(ee+1)},M=z=>{switch(c.textCase){case"uppercase":return z.toUpperCase();case"lowercase":return z.toLowerCase();case"titlecase":return C(z);case"sentencecase":return x(z);case"none":default:return z}},v=z=>{if(!z)return null;const W=Array.isArray(z)?z.join(""):z;return W?new Set(W):null},L=a.computed(()=>v(c.allowChars)),I=(z,W)=>(z.lastIndex=0,z.test(W)),_=z=>{if(c.valueType==="free"||c.valueType==="email"||c.valueType==="password")return!0;const W=z===" ",ee=/\d/.test(z),fe=new RegExp("\\p{L}","u").test(z),Te=new RegExp("\\p{N}","u").test(z);return c.valueType==="number"?ee:c.valueType==="letter"?fe||c.allowSpaces&&W:c.valueType==="letternumber"?fe||Te||c.allowSpaces&&W:!0},A=z=>{let W="";for(const ee of z){const fe=!!L.value&&L.value.has(ee);c.pattern&&!fe&&!I(c.pattern,ee)||!fe&&!_(ee)||(W+=ee)}return W},V=a.computed(()=>{const z=n.maxlength??n.maxLength;let W=Number.NaN;return typeof z=="number"?W=z:typeof z=="string"&&(W=Number.parseInt(z,10)),Number.isFinite(W)&&W>0?W:-1}),q=a.computed(()=>b.value.length),O=a.computed(()=>c.showCharCount?V.value>0:!1),N=z=>V.value>0?z.slice(0,V.value):z,T=z=>{const W=A(z),ee=c.applyTextCaseToValue?M(W):W;return N(ee)};let H=null;const j=z=>{if(z==="")return null;if(c.valueType==="number"&&c.returnNumber){const W=Number(z);return Number.isFinite(W)?W:null}return z},Z=z=>{b.value=z,s("update:modelValue",j(z))},P=(z,W)=>{const ee=N(W);S.value=!0,z.value=ee,Z(ee),queueMicrotask(()=>S.value=!1)},D=(z,W)=>{const ee=z.selectionStart??z.value.length,fe=z.selectionEnd??z.value.length;if(V.value>0){const Te=z.value.length-(fe-ee),xe=V.value-Te;if(xe<=0)return;W=W.slice(0,xe)}z.setRangeText(W,ee,fe,"end"),P(z,T(z.value))},G=z=>{var fe;if(!H||w.value||S.value||!((fe=z.inputType)!=null&&fe.startsWith("insert")))return;const W=z.data;if(W==null)return;const ee=T(W);ee!==W&&(z.preventDefault(),ee.length>0&&D(H,ee))},ne=z=>{var fe;if(!H||w.value||S.value)return;const W=((fe=z.clipboardData)==null?void 0:fe.getData("text"))??"",ee=T(W);ee!==W&&(z.preventDefault(),ee.length>0&&D(H,ee))},te=z=>{if(!H||w.value||S.value)return;const W=z.target,ee=W.value??"",fe=T(ee);fe===ee?Z(fe):P(W,fe)},ce=()=>w.value=!0,pe=()=>{if(w.value=!1,!H)return;const z=H.value??"",W=T(z);W===z?Z(W):P(H,W)};a.onMounted(()=>{if(H=document.getElementById(u.value),!H)return;H.addEventListener("beforeinput",G),H.addEventListener("paste",ne),H.addEventListener("input",te),H.addEventListener("compositionstart",ce),H.addEventListener("compositionend",pe);const z=H.value??"",W=T(z);W===z?Z(W):P(H,W)}),a.onBeforeUnmount(()=>{H&&(H.removeEventListener("beforeinput",G),H.removeEventListener("paste",ne),H.removeEventListener("input",te),H.removeEventListener("compositionstart",ce),H.removeEventListener("compositionend",pe),H=null)});const le=()=>{b.value="",H&&(H.value=""),s("update:modelValue",null),s("clear")},Le=a.computed(()=>O.value&&q.value>0),ue=a.computed(()=>`${q.value} / ${V.value}`),U=a.computed(()=>!!c.error);return(z,W)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":c.skeleton},[c.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[d.value?(a.openBlock(),a.createElementBlock("div",ZW)):a.createCommentVNode("",!0),W[1]||(W[1]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),O.value?(a.openBlock(),a.createElementBlock("div",JW,[...W[0]||(W[0]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[d.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:u.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.value)+" ",1),p.value?(a.openBlock(),a.createElementBlock("span",QW,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",eG,[c.icon||c.prependInner||z.$slots["prepend-inner"]?(a.openBlock(),a.createElementBlock("div",tG,[a.renderSlot(z.$slots,"prepend-inner",{},()=>[c.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.icon),{key:0,class:"h-4 w-4"})):c.prependInner?(a.openBlock(),a.createElementBlock("span",aG,a.toDisplayString(c.prependInner),1)):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0),a.createVNode(a.unref(_S),a.mergeProps({id:u.value,modelValue:b.value},f.value,{placeholder:c.placeholder,style:`text-transform: ${g.value}; padding-left: ${c.icon||c.prependInner||z.$slots["prepend-inner"]?"2.5rem":"0.75rem"} !important; padding-right: ${k.value||o.value?"2.5rem":"0.75rem"} !important;`,class:["w-full h-10 flex items-center gap-2 rounded-lg border py-2 bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 focus-within:ring-1 focus-within:ring-white",U.value?"border-destructive focus:ring-destructive focus-visible:ring-destructive focus-visible:ring-[0.5px]":""]}),null,16,["id","modelValue","placeholder","style","class"]),o.value?(a.openBlock(),a.createElementBlock("div",nG,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground",tabindex:"-1",onClick:i},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r.value?a.unref(vs):a.unref(gl)),{class:"w-4 h-4"}))])])):a.createCommentVNode("",!0),k.value&&!o.value?(a.openBlock(),a.createElementBlock("div",oG,[a.createElementVNode("button",{type:"button",class:"text-muted-foreground hover:text-foreground text-lg leading-none","aria-label":"Clear input",onClick:le}," ✕ ")])):a.createCommentVNode("",!0),Le.value&&!U.value?(a.openBlock(),a.createElementBlock("p",rG,a.toDisplayString(ue.value),1)):a.createCommentVNode("",!0)]),U.value?(a.openBlock(),a.createElementBlock("p",iG,a.toDisplayString(c.error),1)):a.createCommentVNode("",!0)],64))],10,XW)),[[a.vShow,t.visible]])}}),sG={key:0},lG=["value","name"],EP=a.defineComponent({__name:"DynamicFilterField",props:{field:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const{locale:n}=Je.useI18n(),o=t,r=e,i=a.ref(o.modelValue);a.watch(()=>o.modelValue,u=>{i.value=u});const s={DCodeTextField:U_,DCodeAutoComplete:E_,DCodeDatePicker:T_,DCodeDateRangePicker:O_,DCodeTextarea:VS,DCodeTextArea:VS,DCodeCheckbox:Gl,DCodeSwitch:N_,DCodeOtpInput:R_,DCodeImageField:j_},c=a.computed(()=>{const u=o.field.component;return s[u]||null}),d=a.computed(()=>{const u=o.field.props,p={};return(u.labelID||u.labelEN)&&(p.label=n.value==="id"?u.labelID:u.labelEN),(u.placeholderID||u.placeholderEN)&&(p.placeholder=n.value==="id"?u.placeholderID:u.placeholderEN),u.required!==void 0&&(p.required=u.required),u.disabled!==void 0&&(p.disabled=u.disabled),u.readonly!==void 0&&(p.readonly=u.readonly),u.valueType&&(p.type=u.valueType),u.minLength!==void 0&&(p.minlength=u.minLength),u.maxLength!==void 0&&(p.maxlength=u.maxLength),u.min!==void 0&&(p.min=u.min),u.max!==void 0&&(p.max=u.max),u.options&&(p.options=u.options),u.endpoint&&(p.endpoint=u.endpoint),u.itemTitle&&(p.itemTitle=u.itemTitle),u.itemValue&&(p.itemValue=u.itemValue),u.returnObject!==void 0&&(p.returnObject=u.returnObject),u.clearable!==void 0&&(p.clearable=u.clearable),Object.keys(u).forEach(y=>{!["labelID","labelEN","placeholderID","placeholderEN"].includes(y)&&!p.hasOwnProperty(y)&&(p[y]=u[y])}),p}),h=u=>{i.value=u,r("update:modelValue",u)};return(u,p)=>t.field.isHidden?(a.openBlock(),a.createElementBlock("div",sG,[a.createElementVNode("input",{type:"hidden",value:i.value,name:t.field.model},null,8,lG)])):(a.openBlock(),a.createBlock(a.resolveDynamicComponent(c.value),a.mergeProps({key:1},d.value,{modelValue:i.value,"onUpdate:modelValue":[p[0]||(p[0]=y=>i.value=y),h]}),null,16,["modelValue"]))}}),cG=a.defineComponent({__name:"Pagination",props:{page:{},defaultPage:{},itemsPerPage:{},total:{},siblingCount:{},disabled:{type:Boolean},showEdges:{type:Boolean},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},emits:["update:page"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(OF),a.mergeProps({"data-slot":"pagination"},a.unref(i),{class:n.class}),{default:a.withCtx(d=>[a.renderSlot(s.$slots,"default",a.normalizeProps(a.guardReactiveProps(d)))]),_:3},16,["class"]))}}),dG=a.defineComponent({__name:"PaginationContent",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(WF),a.mergeProps({"data-slot":"pagination-content"},a.unref(n),{class:a.unref(he)("flex flex-row items-center gap-1",e.class)}),{default:a.withCtx(i=>[a.renderSlot(o.$slots,"default",a.normalizeProps(a.guardReactiveProps(i)))]),_:3},16,["class"]))}}),hG=a.defineComponent({__name:"PaginationEllipsis",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(zF),a.mergeProps({"data-slot":"pagination-ellipsis"},a.unref(n),{class:a.unref(he)("flex size-9 items-center justify-center",e.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default",{},()=>[a.createVNode(a.unref(Ca),{class:"size-4"}),r[0]||(r[0]=a.createElementVNode("span",{class:"sr-only"},"More pages",-1))])]),_:3},16,["class"]))}}),uG=a.defineComponent({__name:"PaginationFirst",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(FF),a.mergeProps({"data-slot":"pagination-first",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Ma)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"First",-1))])]),_:3},16,["class"]))}}),pG=a.defineComponent({__name:"PaginationItem",props:{value:{},asChild:{type:Boolean},as:{},size:{default:"icon"},class:{type:[Boolean,null,String,Object,Array]},isActive:{type:Boolean}},setup(t){const e=t,n=Ce(e,"class","size","isActive");return(o,r)=>(a.openBlock(),a.createBlock(a.unref(YF),a.mergeProps({"data-slot":"pagination-item"},a.unref(n),{class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),t.isActive?"bg-[#0056a1] dark:bg-[#003d75] text-white hover:bg-[#0056a1]/90 dark:hover:bg-[#003d75]/90 hover:text-white":"",e.class)}),{default:a.withCtx(()=>[a.renderSlot(o.$slots,"default")]),_:3},16,["class"]))}}),yG=a.defineComponent({__name:"PaginationLast",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(jF),a.mergeProps({"data-slot":"pagination-last",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Last",-1)),a.createVNode(a.unref(xa))])]),_:3},16,["class"]))}}),fG=a.defineComponent({__name:"PaginationNext",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(XF),a.mergeProps({"data-slot":"pagination-next",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Next",-1)),a.createVNode(a.unref(xa))])]),_:3},16,["class"]))}}),mG=a.defineComponent({__name:"PaginationPrevious",props:{asChild:{type:Boolean},as:{},size:{default:"default"},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class","size"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(JF),a.mergeProps({"data-slot":"pagination-previous",class:a.unref(he)(a.unref(la)({variant:"ghost",size:t.size}),"gap-1 px-2.5 sm:pr-2.5",e.class)},a.unref(o)),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Ma)),i[0]||(i[0]=a.createElementVNode("span",{class:"hidden sm:block"},"Previous",-1))])]),_:3},16,["class"]))}}),kG=a.defineComponent({__name:"Select",props:{open:{type:Boolean},defaultOpen:{type:Boolean},defaultValue:{},modelValue:{},by:{type:[String,Function]},dir:{},multiple:{type:Boolean},autocomplete:{},disabled:{type:Boolean},name:{},required:{type:Boolean}},emits:["update:modelValue","update:open"],setup(t,{emit:e}){const r=Ue(t,e);return(i,s)=>(a.openBlock(),a.createBlock(a.unref(o$),a.normalizeProps(a.guardReactiveProps(a.unref(r))),{default:a.withCtx(()=>[a.renderSlot(i.$slots,"default")]),_:3},16))}}),gG=a.defineComponent({inheritAttrs:!1,__name:"SelectContent",props:{forceMount:{type:Boolean},position:{default:"popper"},bodyLock:{type:Boolean},side:{},sideOffset:{},sideFlip:{type:Boolean},align:{},alignOffset:{},alignFlip:{type:Boolean},avoidCollisions:{type:Boolean},collisionBoundary:{},collisionPadding:{},arrowPadding:{},hideShiftedArrow:{type:Boolean},sticky:{},hideWhenDetached:{type:Boolean},positionStrategy:{},updatePositionStrategy:{},disableUpdateOnLayoutShift:{type:Boolean},prioritizePosition:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},disableOutsidePointerEvents:{type:Boolean},class:{type:[Boolean,null,String,Object,Array]}},emits:["closeAutoFocus","escapeKeyDown","pointerDownOutside"],setup(t,{emit:e}){const n=t,o=e,r=Ce(n,"class"),i=Ue(r,o);return(s,c)=>(a.openBlock(),a.createBlock(a.unref(A$),null,{default:a.withCtx(()=>[a.createVNode(a.unref(b$),a.mergeProps({...a.unref(i),...s.$attrs},{class:a.unref(he)("relative z-50 max-h-96 min-w-32 overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",t.position==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",n.class)}),{default:a.withCtx(()=>[a.createVNode(a.unref(wG)),a.createVNode(a.unref($$),{class:a.normalizeClass(a.unref(he)("p-1",t.position==="popper"&&"h-[--reka-select-trigger-height] w-full min-w-[--reka-select-trigger-width]"))},{default:a.withCtx(()=>[a.renderSlot(s.$slots,"default")]),_:3},8,["class"]),a.createVNode(a.unref(xG))]),_:3},16,["class"])]),_:3}))}}),bG={class:"absolute right-2 flex h-3.5 w-3.5 items-center justify-center"},MG=a.defineComponent({__name:"SelectItem",props:{value:{},disabled:{type:Boolean},textValue:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(C$),a.mergeProps(a.unref(o),{class:a.unref(he)("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50",e.class)}),{default:a.withCtx(()=>[a.createElementVNode("span",bG,[a.createVNode(a.unref(S$),null,{default:a.withCtx(()=>[a.createVNode(a.unref(ba),{class:"h-4 w-4"})]),_:1})]),a.createVNode(a.unref(_$),null,{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default")]),_:3})]),_:3},16,["class"]))}}),xG=a.defineComponent({__name:"SelectScrollDownButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(D$),a.mergeProps(a.unref(o),{class:a.unref(he)("flex cursor-default items-center justify-center py-1",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(Bt))])]),_:3},16,["class"]))}}),wG=a.defineComponent({__name:"SelectScrollUpButton",props:{asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(z$),a.mergeProps(a.unref(o),{class:a.unref(he)("flex cursor-default items-center justify-center py-1",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default",{},()=>[a.createVNode(a.unref(pl))])]),_:3},16,["class"]))}}),vG=a.defineComponent({__name:"SelectTrigger",props:{disabled:{type:Boolean},reference:{},asChild:{type:Boolean},as:{},class:{type:[Boolean,null,String,Object,Array]}},setup(t){const e=t,n=Ce(e,"class"),o=qe(n);return(r,i)=>(a.openBlock(),a.createBlock(a.unref(T$),a.mergeProps(a.unref(o),{class:a.unref(he)("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:truncate text-start",e.class)}),{default:a.withCtx(()=>[a.renderSlot(r.$slots,"default"),a.createVNode(a.unref(x$),{"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Bt),{class:"w-4 h-4 opacity-50 shrink-0"})]),_:1})]),_:3},16,["class"]))}}),CG=a.defineComponent({__name:"SelectValue",props:{placeholder:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(H$),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),LG={class:"dcode-card animate-slide-up"},SG={class:"px-4 py-2 bg-primary-700 dark:bg-primary-900 border-b border-primary-500/30 dark:border-primary-900/50 rounded-t-xl relative z-30"},IG={class:"flex flex-col lg:flex-row lg:items-center lg:justify-between gap-4"},_G={key:0,class:"flex flex-col sm:flex-row items-start sm:items-center gap-2 flex-1 max-w-2xl"},BG={class:"relative w-full sm:w-64"},AG={key:0,class:"relative"},VG={class:"flex flex-col h-full"},PG={key:0,class:"flex-1 overflow-y-auto py-4"},DG={class:"grid grid-cols-1 md:grid-cols-2 gap-4 px-1"},qG={key:0,class:"sticky bottom-0 left-0 right-0 bg-white dark:bg-zinc-900 border-t border-neutral-200 dark:border-neutral-700 p-4 flex gap-2"},zG={class:"flex justify-end gap-2 w-full"},EG={key:0,class:"font-medium text-sm text-neutral-600 dark:text-neutral-400"},TG={class:"overflow-auto custom-scrollbar relative max-h-[calc(100vh-17rem)]"},OG={class:"dcode-table w-full"},HG={class:"bg-primary-700 dark:bg-primary-900 sticky top-0 z-20 shadow-sm"},FG=["onClick"],$G={key:0,class:"flex items-center justify-center w-full"},jG={key:0,class:"px-3 py-2 text-xs font-medium text-white dark:text-neutral-100 uppercase tracking-wider"},RG={class:"bg-white dark:bg-zinc-900 divide-y divide-neutral-200 dark:divide-neutral-700"},NG={key:0,class:"px-3 py-0.5"},UG={key:1},WG=["colspan"],GG={class:"flex flex-col items-center gap-4"},YG={class:"text-base font-medium text-neutral-700 dark:text-neutral-300"},KG={class:"text-sm text-neutral-500 dark:text-neutral-400 mt-1"},XG={class:"hover:bg-zinc-50 dark:hover:bg-zinc-800/50 transition-colors duration-150"},ZG={key:0,class:"flex items-center justify-center"},JG={key:0,class:"px-3 py-0.5 !text-center"},QG={key:0,class:"flex items-center justify-center gap-1.5"},eY={key:0,class:"bg-zinc-50/50 dark:bg-zinc-800/30"},tY=["colspan"],aY={key:0,class:"px-4 py-3 bg-zinc-50/50 dark:bg-zinc-800/30 border-t border-neutral-200 dark:border-neutral-700 flex flex-col sm:flex-row items-center justify-between gap-4 w-full"},nY={class:"flex items-center gap-4"},oY={class:"text-xs text-neutral-500 dark:text-neutral-400 font-medium"},rY={class:"text-neutral-900 dark:text-neutral-100 font-medium"},iY={class:"text-neutral-900 dark:text-neutral-100 font-medium"},sY={class:"text-neutral-900 dark:text-neutral-100 font-medium"},lY={class:"flex-shrink-0"},cY={class:"space-y-4"},dY={class:"text-gray-600 dark:text-gray-400"},hY={class:"grid grid-cols-1 md:grid-cols-2 gap-4 py-4 px-1"},PS=a.defineComponent({__name:"DataTable",props:{columns:{default:()=>[]},data:{default:()=>[]},perPage:{default:10},loading:{type:Boolean,default:!1},hasActions:{type:Boolean,default:!1},nested:{type:Boolean,default:!1},apiModule:{},apiAction:{default:"list"},apiMethod:{},apiUrl:{},permissionBase:{},apiParams:{default:()=>({})},configKey:{},tableConfig:{},dynamicColumns:{type:Boolean,default:!1},searchApiEndpoint:{},enableQuickSearch:{type:Boolean,default:!0},showPagination:{type:Boolean,default:!0},ignorePermissions:{type:Boolean,default:!1}},emits:["update:search","update:sort","update:page","create","export","action","update:selection"],setup(t,{expose:e,emit:n}){const o=t,r=n,{apiUrl:i}=nt(),s=cl.useRoute(),c=cl.useRouter(),{locale:d}=Je.useI18n(),h=a.ref(""),u=a.ref(1),p=a.ref(o.perPage),y=a.ref({key:"",direction:"asc"}),f=a.ref([]),m=a.ref(!1),k=a.ref(0),g=a.ref({}),b=a.ref([]),w=a.ref(null),S=a.ref(!0),C=a.ref([]),x=a.ref([]),M=a.ref([]),v=a.ref(!1),L=a.ref(!1),I=a.ref({}),_=a.ref(null),A=a.ref(null),V=a.ref(null),q=a.ref([]),O=a.computed(()=>{if(ht.value.length===0)return!1;const B=ht.value.map(F=>{const K=le.value.find(R=>R.type==="CHECKBOX"),E=(K==null?void 0:K.keyCheckbox)||"id";return F[E]}).filter(F=>F!=null);return B.length===0?!1:B.every(F=>q.value.includes(F))}),N=a.computed(()=>{if(ht.value.length===0)return!1;const B=le.value.find(R=>R.type==="CHECKBOX"),F=(B==null?void 0:B.keyCheckbox)||"id",K=ht.value.map(R=>R[F]).filter(R=>R!=null),E=K.filter(R=>q.value.includes(R)).length;return E>0&&E<K.length}),T=B=>{const F=le.value.find(R=>R.type==="CHECKBOX"),K=(F==null?void 0:F.keyCheckbox)||"id",E=B[K];return E!==void 0&&q.value.includes(E)},H=B=>{const F=le.value.find(R=>R.type==="CHECKBOX"),K=(F==null?void 0:F.keyCheckbox)||"id",E=ht.value.map(R=>R[K]).filter(R=>R!=null);if(B){const R=new Set([...q.value,...E]);q.value=Array.from(R)}else q.value=q.value.filter(R=>!E.includes(R))},j=(B,F)=>{const K=le.value.find(X=>X.type==="CHECKBOX"),E=(K==null?void 0:K.keyCheckbox)||"id",R=B[E];R!=null&&(F?q.value.includes(R)||q.value.push(R):q.value=q.value.filter(X=>X!==R))};a.watch(q,B=>{var K;r("update:selection",B);const F=O.value||B.length>1;(K=x.value)!=null&&K.length&&x.value.forEach(E=>{var R;(R=E.fieldActionGlobal)!=null&&R.length&&E.fieldActionGlobal.forEach(X=>{var Ze,ut;const ge=E.endpoint||((Ze=E.propsActionGlobal)==null?void 0:Ze.endpointPropAction)||E.propsActionGlobal,ve=(ut=ge==null?void 0:ge.keyParam)==null?void 0:ut[0];(ve&&X.model===ve||!ve&&/^(id|ids|idAuditTrail)/i.test(X.model))&&F&&X.model&&(I.value[X.model]=B)})})},{deep:!0});const Z=B=>B&&typeof B=="string"&&B.trim()?B:void 0,P=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiModule)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiModule)||o.apiModule}),D=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiAction)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiAction)||o.apiAction}),G=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiMethod)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiMethod)||o.apiMethod||"POST"}),ne=a.computed(()=>{var B,F,K,E;return Z((F=(B=w.value)==null?void 0:B.endpoint)==null?void 0:F.apiUrl)||Z((E=(K=w.value)==null?void 0:K.endpointGlobal)==null?void 0:E.apiUrl)||o.apiUrl});a.computed(()=>o.permissionBase?o.permissionBase:s.meta.permissionPath?s.meta.permissionPath:s.path);const te=a.computed(()=>!M.value||M.value.length===0?[]:[...M.value].sort((B,F)=>(B.seq||0)-(F.seq||0))),ce=B=>{if(!B)return"col-span-1";const F=B.toLowerCase();return{full:"col-span-1 md:col-span-2",half:"col-span-1",third:"col-span-1","two-thirds":"col-span-1 md:col-span-2",two_thirds:"col-span-1 md:col-span-2"}[F]||"col-span-1"},pe=()=>{let B=null;if(o.tableConfig&&(B=o.tableConfig),B){w.value=B,B.headers&&(b.value=B.headers.map(E=>{var ge,ve,De,Ze,ut,kI,wz,vz,Cz,Lz;if(E.key==="action"||((ge=E.custom)==null?void 0:ge.type)==="ACTION"||((ve=E.custom)==null?void 0:ve.type)==="action"){const Ga=((De=E.custom)==null?void 0:De.actionCustom)||((Ze=E.custom)==null?void 0:Ze.action);return Ga&&(C.value=Ga.map(ga=>{const Ne=ga.propsActionCustom||ga.props||{},gI=ga.propCustomMessage||{};return{permission:ga.permission,label:d.value==="id"?Ne.labelID:Ne.labelEN,tooltip:d.value==="id"?Ne.tooltipID||Ne.labelID:Ne.tooltipEN||Ne.labelEN,icon:Ne.icon,variant:Ne.variant||"ghost",bgColor:Ne.bgColor,action:Ne.actionType||Ne.key,route:Ne.route,path:Ne.path,endpoint:Ne.endpointPropAction,requiredCondition:ga.requiredCondition||!1,propCustomCondition:ga.propCustomCondition||[],openDialog:ga.openDialog||!1,fieldActionCustom:(ga.fieldActionCustom||[]).map(bI=>{const TB=bI.propsFieldCustom||bI.propsFieldGlobal||bI.props||{};return{...bI,props:{...TB,endpoint:TB.endpointComponent||TB.endpoint}}}),requireConfirm:ga.requireConfirm||Ne.requireConfirm||!1,confirmTitle:d.value==="id"?gI.titleID||Ne.confirmTitleID||"Konfirmasi":gI.titleEN||Ne.confirmTitleEN||"Confirm",confirmMessage:d.value==="id"?gI.messageID||Ne.confirmMessageID||"Apakah Anda yakin?":gI.messageEN||Ne.confirmMessageEN||"Are you sure?"}})),null}let R;const X=((ut=E.custom)==null?void 0:ut.conditionBadge)||((kI=E.custom)==null?void 0:kI.condition);return(((wz=E.custom)==null?void 0:wz.type)==="BADGE"||((vz=E.custom)==null?void 0:vz.type)==="badge")&&X&&(R=X.map(Ga=>({value:Ga.value,label:d.value==="id"?Ga.labelID:Ga.labelEN,color:Ga.color,variant:Ga.variant}))),{key:E.key,label:d.value==="id"?E.labelID:E.labelEN,width:E.width,align:E.align,sortable:!0,type:(Cz=E.custom)==null?void 0:Cz.type,condition:R,keyCheckbox:(Lz=E.custom)==null?void 0:Lz.keyCheckbox}}).filter(E=>E!==null));const F=B.filters||B.filter;F&&Array.isArray(F)&&(M.value=F.map(E=>({...E,props:E.propsFilters||E.props||{}})),M.value.forEach(E=>{g.value[E.model]=""}));const K=B.actionGlobal||B.action;K&&Array.isArray(K)&&(x.value=K.map(E=>{const R=E.propsActionGlobal||E.props||{};return{permission:E.permission,label:d.value==="id"?R.labelID||"Action":R.labelEN||"Action",tooltip:d.value==="id"?R.tooltipID||R.labelID:R.tooltipEN||R.labelEN,icon:R.icon,variant:R.variant||"default",bgColor:R.bgColor,textColor:R.textColor,route:R.route,path:R.path,endpoint:R.endpointPropAction||E.endpoint,openDialog:E.openDialog||!1,fieldActionGlobal:(E.fieldActionGlobal||E.field||[]).map(X=>{const ge=X.propsFieldGlobal||X.props||{};return{...X,props:{...ge,endpoint:ge.endpointComponent||ge.endpoint}}})}})),B.pagination!==void 0&&(S.value=B.pagination)}};a.watch(()=>o.tableConfig,()=>{pe()},{deep:!0,immediate:!0});const le=a.computed(()=>o.dynamicColumns||o.configKey||o.tableConfig?b.value:o.columns||[]),Le=a.computed(()=>o.hasActions||C.value.length>0),ue=a.computed(()=>P.value||ne.value?m.value:o.loading),U=a.computed(()=>!!P.value||!!ne.value),z=a.computed(()=>[]),W=B=>z.value.some(F=>F.code===B),ee=(B,F)=>{if(!B.visibilityCondition)return!0;const{field:K,operator:E,value:R}=B.visibilityCondition,X=J(F,K);switch(E){case"equals":return X===R;case"notEquals":return X!==R;case"in":return Array.isArray(R)&&R.includes(X);case"notIn":return Array.isArray(R)&&!R.includes(X);case"greaterThan":return X>R;case"lessThan":return X<R;case"contains":return String(X).includes(String(R));default:return!0}},fe=a.computed(()=>x.value.length===0?x.value:x.value.filter(B=>o.ignorePermissions||!B.permission?!0:W(B.permission))),Te=a.computed(()=>C.value.length===0?C.value:C.value.filter(B=>o.ignorePermissions||!B.permission?!0:W(B.permission))),xe=B=>Te.value.filter(F=>ee(F,B)),Qe=(B,F)=>{var R,X;if(B.requiredCondition&&((R=B.propCustomCondition)==null?void 0:R.length)>0){const ge=J(F,"status"),ve=B.propCustomCondition.find(De=>De.value===ge);if(ve)return ve.bgColor||B.bgColor||"primary"}if(!B.dynamicColor||!B.colorCondition)return B.bgColor||"primary";const K=J(F,B.colorCondition.field),E=(X=B.colorCondition.conditions)==null?void 0:X.find(ge=>ge.value===K);return(E==null?void 0:E.bgColor)||B.bgColor||"primary"},it=B=>{const F=(B||"left").toLowerCase();return F==="center"?"justify-center":F==="right"?"justify-end":"justify-start"},St={ToggleLeft:Bl,SquarePen:et,Trash2:As,Eye:vs,CheckCircle:wa,Plus:Cl,Download:kl,RefreshCw:_s,Search:Sr,SlidersHorizontal:_l},M1=B=>B?La[B]?La[B]:St[B]||null:null,ht=a.computed(()=>U.value?f.value.map((B,F)=>({...B,no:(u.value-1)*p.value+F+1})):Oe.value),ka=a.computed(()=>U.value?k.value:de.value.length),x1=a.computed(()=>ka.value===0?0:(u.value-1)*p.value+1),$=a.computed(()=>{const B=u.value*p.value;return B>ka.value?ka.value:B}),J=(B,F)=>{if(!(!B||!F))return F in B?B[F]:F.split(".").reduce((K,E)=>K&&K[E],B)},de=a.computed(()=>{if(U.value)return[];if(!h.value)return o.data;const B=h.value.toLowerCase();return o.data.filter(F=>le.value.some(K=>{const E=J(F,K.key);return E==null?!1:String(E).toLowerCase().includes(B)}))}),Ve=a.computed(()=>U.value?[]:y.value.key?[...de.value].sort((F,K)=>{const E=J(F,y.value.key),R=J(K,y.value.key);if(E===R)return 0;let X=0;return typeof E=="number"&&typeof R=="number"?X=E-R:X=String(E).localeCompare(String(R)),y.value.direction==="asc"?X:-X}):de.value),Oe=a.computed(()=>{if(U.value)return[];const B=(u.value-1)*p.value,F=B+p.value;return Ve.value.slice(B,F).map((K,E)=>({...K,no:B+E+1}))}),Y=a.computed(()=>U.value?Object.values(g.value).some(B=>!!B):!!h.value),Q=[10,25,50,100],ae=()=>{U.value&&(g.value={...g.value,keyword:h.value},u.value=1,Xe())};let me;const He=()=>{o.enableQuickSearch&&(clearTimeout(me),me=setTimeout(()=>{ae()},500))};let It;const pz=()=>{clearTimeout(It),It=setTimeout(()=>{U.value&&Xe()},1e3)};a.watch(h,()=>{o.enableQuickSearch&&U.value&&He()});const Xe=async()=>{if(U.value&&!(!P.value&&!ne.value))try{m.value=!0;const B={page:u.value,perPage:p.value,...g.value,...o.apiParams};h.value&&(B.keyword=h.value),Object.keys(B).forEach(K=>{(B[K]===""||B[K]===null||B[K]===void 0)&&delete B[K]});let F;P.value?F=await i(P.value,D.value,B):ne.value&&(F=await i(ne.value,G.value,B)),yz(F)}catch(B){console.error("DataTable fetch error",B),m.value=!1}},yz=B=>{console.log("DataTable handleResponseData:",B),B&&(o.dynamicColumns&&B.columns&&Array.isArray(B.columns)&&(b.value=B.columns.map(F=>({key:F.key||F.field||F.name,label:F.label||F.header||F.name,width:F.width,align:F.align||"LEFT",sortable:F.sortable!==!1,type:F.type,condition:F.condition,format:F.format}))),B.data&&Array.isArray(B.data)?(f.value=B.data,B.totalData?k.value=B.totalData:B.maxPage?k.value=B.maxPage*p.value:k.value=B.data.length*(B.maxPage||1)):Array.isArray(B)?(f.value=B,k.value=B.length):B.users?(f.value=B.users,k.value=B.users.length):B.items&&Array.isArray(B.items)?(f.value=B.items,k.value=B.total||B.totalItems||B.items.length):B.list&&Array.isArray(B.list)?(f.value=B.list,k.value=B.total||B.list.length):B.rows&&Array.isArray(B.rows)?(f.value=B.rows,k.value=B.count||B.total||B.rows.length):B.result&&Array.isArray(B.result)?(f.value=B.result,k.value=B.total||B.count||B.result.length):(console.warn("DataTable: Unknown response format",B),f.value=[],k.value=0)),m.value=!1};a.onUnmounted(()=>{clearTimeout(me),clearTimeout(It)});const pI=()=>{Object.keys(g.value).forEach(B=>{g.value[B]=""}),h.value="",u.value=1,Xe()},fz=()=>{u.value=1,Xe()},yI=(B,F)=>{const K=J(B,F.key);let E={variant:"secondary",class:"",label:K};if(F.condition){const R=F.condition.find(X=>{const ge=(ve,De)=>typeof ve=="string"&&typeof De=="string"?ve.toLowerCase().trim()===De.toLowerCase().trim():ve==De;return typeof K=="object"&&K!==null?ge(X.value,K.code)||ge(X.value,K.id):ge(X.value,K)});if(R){if(R.variant&&(E.variant=R.variant),E.label=R.label||(typeof K=="object"?K.name||K.code:K),R.color){const X=R.color.toLowerCase(),ge=E.variant==="outline",ve={success:"bg-green-500 hover:bg-green-600 border-transparent text-white shadow",warning:"bg-yellow-500 hover:bg-yellow-600 border-transparent text-white shadow",info:"bg-blue-500 hover:bg-blue-600 border-transparent text-white shadow"},De={success:"text-green-600 border-green-600 hover:bg-green-50",warning:"text-yellow-600 border-yellow-600 hover:bg-yellow-50",info:"text-blue-600 border-blue-600 hover:bg-blue-50",danger:"text-red-600 border-red-600 hover:bg-red-50",destructive:"text-red-600 border-red-600 hover:bg-red-50",primary:"text-primary-600 border-primary-600 hover:bg-primary-50",secondary:"text-neutral-600 border-neutral-600 hover:bg-zinc-50"},Ze={danger:"destructive",secondary:"secondary",primary:"default"};ge?De[X]&&(E.class=De[X]):Ze[X]?E.variant=Ze[X]:ve[X]&&(E.class=ve[X])}}else E.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K}else E.label=typeof K=="object"?(K==null?void 0:K.name)||(K==null?void 0:K.code)||"-":K;return E},mz=B=>{y.value.key===B?y.value.direction=y.value.direction==="asc"?"desc":"asc":(y.value.key=B,y.value.direction="asc"),r("update:sort",y.value)},zB=B=>{B!==u.value&&(u.value=B,U.value&&Xe(),r("update:page",B))},kz=B=>{p.value=B,u.value=1,U.value&&Xe()},gz=B=>{const F=Math.random()*15+75;if(B.width){const K=parseInt(String(B.width));return K<100?`${Math.floor(K*(Math.random()*.2+.7))}px`:`${F}%`}return`${F}%`},EB=()=>{h.value="",g.value={},u.value=1,Xe()},bz=B=>{var F;if(B.route){if(B.path){const K=B.route.startsWith("/")?B.route:"/"+B.route;sessionStorage.setItem(`layout_${K}`,B.path)}c.push(B.route)}else if(B.openDialog){A.value=B,V.value=null,I.value={};const K=B.fieldActionGlobal||B.field||[];K.length&&K.forEach(E=>{var ge;const R=B.endpoint||((ge=B.propsActionGlobal)==null?void 0:ge.endpointPropAction)||B.propsActionGlobal,X=R!=null&&R.keyParam&&R.keyParam.length>0?R.keyParam[0]:null;X&&E.model===X||!X&&/^(id|ids|idAuditTrail)/i.test(E.model)?I.value[E.model]=q.value:I.value[E.model]||(I.value[E.model]="")}),L.value=!0}else r("action",{action:((F=B.propsActionCustom)==null?void 0:F.key)||B.key||"create",row:null,selection:q.value})},Mz=(B,F)=>{if(B.requireConfirm){_.value={button:B,row:F},v.value=!0;return}if(B.openDialog){A.value=B,V.value=F,I.value={};const K=le.value.find(R=>R.type==="CHECKBOX"),E=(K==null?void 0:K.keyCheckbox)||"id";B.fieldActionCustom&&B.fieldActionCustom.forEach(R=>{/^(id|ids|idAuditTrail)/i.test(R.model)?I.value[R.model]=[F[E]]:I.value[R.model]=""}),L.value=!0;return}fI(B,F)},fI=(B,F)=>{if(B.route){if(B.path){const R=B.route.startsWith("/")?B.route:"/"+B.route;sessionStorage.setItem(`layout_${R}`,B.path)}let K=B.route;K.includes(":")?K=K.replaceAll(/:([a-zA-Z0-9_]+)/g,(R,X)=>F[X]||F.id||X):F.id&&(K=`${K.replace(/\/$/,"")}/${F.id}`);const E={};B.path&&(E.code=B.path),c.push({path:K,query:E})}else if(B.endpoint&&B.endpoint.apiUrl){m.value=!0;const{apiUrl:K}=nt(),E=B.endpoint.apiUrl,R=B.endpoint.apiMethod||"POST",X={};B.endpoint.keyParam&&Array.isArray(B.endpoint.keyParam)&&B.endpoint.keyParam.forEach((ge,ve)=>{const De=B.endpoint.model&&ve===0?B.endpoint.model:ge;F[ge]!==void 0&&(X[De]=F[ge])}),Object.keys(X).length===0&&F.id&&(X.id=F.id),K(E,R,X).then(()=>{Xe(),r("action",{action:B.action||"success",row:F})}).catch(ge=>{console.error("Action Failed",ge)}).finally(()=>{m.value=!1})}else r("action",{action:B.action,row:F})},ane=()=>{_.value&&(fI(_.value.button,_.value.row),xz())},nne=()=>{var B,F;if(A.value){const K=A.value,E=K.endpoint||((B=K.propsActionGlobal)==null?void 0:B.endpointPropAction)||K.propsActionGlobal;let R=(E==null?void 0:E.model)||(E!=null&&E.keyParam&&E.keyParam.length>0?E.keyParam[0]:null);if(!R){const De=(K.fieldActionGlobal||K.fieldActionCustom||K.field||[]).find(Ze=>/^(id|ids|idAuditTrail)/i.test(Ze.model));R=De?De.model:"ids"}let X=null,ge=!1;if(V.value){const ve=le.value.find(ut=>ut.type==="CHECKBOX"),De=(ve==null?void 0:ve.keyCheckbox)||"id",Ze=V.value[De];E!=null&&E.apiUrl&&(X={...I.value},X[R]||(X[R]=[Ze]),ge=!0)}else E!=null&&E.apiUrl&&(X={...I.value},X[R]||(X[R]=q.value||[]),ge=!0);if(ge&&X&&(E!=null&&E.apiUrl)){const{apiUrl:ve}=nt(),De=E.apiUrl,Ze=E.apiMethod||"POST";ve(De,Ze,X).then(()=>{L.value=!1,V.value||(q.value=[]),Xe(),r("action",{action:"success",row:null})}).catch(ut=>{console.error("Action Failed",ut)})}else if(V.value){const ve=le.value.find(kI=>kI.type==="CHECKBOX"),De=(ve==null?void 0:ve.keyCheckbox)||"id",Ze=V.value[De],ut={...I.value};ut[R]||(ut[R]=[Ze]),r("action",{action:A.value.action,row:ut}),L.value=!1}else{const ve={...I.value};ve[R]||(ve[R]=q.value);const De={action:((F=A.value.propsActionGlobal)==null?void 0:F.key)||A.value.key,row:ve,selection:q.value};r("action",De),L.value=!1}}},xz=()=>{v.value=!1,_.value=null},one=a.computed(()=>_.value?_.value.button.confirmTitle||"Confirm":""),rne=a.computed(()=>_.value?_.value.button.confirmMessage||"Confirm":"");e({fetchData:Xe,filters:g,resetFilters:pI,handleRefresh:EB});const mI=a.ref(""),ine=B=>{if(!B)return"";const F=B.endpoint||B.endpointGlobal||{};return JSON.stringify({url:F.apiUrl||B.apiUrl,module:F.apiModule||B.apiModule,action:F.apiAction||B.apiAction,method:F.apiMethod||B.apiMethod,params:B.apiParams,socket:F.socket||B.socketEndpoint,socketParams:B.socketParams})};return a.watch(()=>o.tableConfig,()=>{if(o.tableConfig){pe();const B=ine(o.tableConfig);B!==mI.value&&(!mI.value&&U.value?(mI.value=B,Xe()):(mI.value=B,U.value&&pz()))}},{deep:!0,immediate:!0}),a.watch(()=>o.apiModule,()=>{U.value&&Xe()}),a.watch(()=>o.apiParams,()=>{U.value&&Xe()},{deep:!0}),a.onMounted(()=>{pe(),U.value&&(o.tableConfig||(m.value=!0,Xe()))}),(B,F)=>{var K;return a.openBlock(),a.createElementBlock("div",LG,[a.createElementVNode("div",SG,[a.createElementVNode("div",IG,[t.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",_G,[a.createElementVNode("div",BG,[a.createVNode(a.unref(Sr),{class:"absolute left-2.5 top-2.5 h-4 w-4 text-neutral-500 dark:text-neutral-400"}),a.createVNode(a.unref(_S),{modelValue:h.value,"onUpdate:modelValue":F[0]||(F[0]=E=>h.value=E),placeholder:"Search...",style:{"padding-left":"2.25rem !important"},class:"h-9 bg-white/95 dark:bg-zinc-800/95 border-white/30 dark:border-neutral-700/50 text-neutral-900 dark:text-neutral-100 placeholder:text-neutral-500 dark:placeholder:text-neutral-400",onKeyup:a.withKeys(ae,["enter"])},null,8,["modelValue"])]),M.value.length>0?(a.openBlock(),a.createElementBlock("div",AG,[a.createVNode(qR,null,{trigger:a.withCtx(()=>[a.createVNode(Wt,{variant:"secondary",icon:"SlidersHorizontal",tooltip:"Advance Search",class:"gap-2 h-9 w-full sm:w-auto justify-center bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-zinc-50 dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium"})]),footer:a.withCtx(()=>[a.createElementVNode("div",zG,[a.renderSlot(B.$slots,"filter-footer",{fetch:Xe,reset:pI})])]),default:a.withCtx(()=>[a.createElementVNode("div",VG,[a.renderSlot(B.$slots,"filter-form",{filters:g.value},()=>[M.value.length>0?(a.openBlock(),a.createElementBlock("div",PG,[a.createElementVNode("div",DG,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(te.value,(E,R)=>(a.openBlock(),a.createElementBlock("div",{key:R,class:a.normalizeClass(ce(E.column))},[a.createVNode(EP,{field:E,modelValue:g.value[E.model],"onUpdate:modelValue":X=>g.value[E.model]=X},null,8,["field","modelValue","onUpdate:modelValue"])],2))),128))])])):a.createCommentVNode("",!0)]),M.value.length>0?(a.openBlock(),a.createElementBlock("div",qG,[a.createVNode(a.unref(Se),{variant:"outline",onClick:pI,disabled:ue.value,class:"flex-1 w-full"},{default:a.withCtx(()=>[...F[8]||(F[8]=[a.createTextVNode(" Reset ",-1)])]),_:1},8,["disabled"]),a.createVNode(a.unref(Se),{onClick:fz,disabled:ue.value,class:"flex-1 w-full"},{default:a.withCtx(()=>[...F[9]||(F[9]=[a.createTextVNode(" Search ",-1)])]),_:1},8,["disabled"])])):a.createCommentVNode("",!0)])]),_:3})])):a.createCommentVNode("",!0)])),a.createElementVNode("div",{class:a.normalizeClass(["flex items-center gap-2 flex-wrap",{"w-full justify-between":t.nested}])},[t.nested?(a.openBlock(),a.createElementBlock("span",EG)):a.createCommentVNode("",!0),t.nested?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(Wt,{key:1,variant:"secondary",icon:"RefreshCw",text:"Refresh",tooltip:"Refresh",class:"gap-2 h-9 bg-white/95 dark:bg-zinc-800/95 text-neutral-700 dark:text-neutral-300 hover:bg-white dark:hover:bg-zinc-800 border border-white/30 dark:border-neutral-700/50 shadow-sm backdrop-blur-sm text-xs font-medium",onClick:EB,disabled:ue.value},{icon:a.withCtx(()=>[a.createVNode(a.unref(_s),{class:a.normalizeClass(["w-3.5 h-3.5",{"animate-spin":ue.value}])},null,8,["class"])]),_:1},8,["disabled"])),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(fe.value,(E,R)=>(a.openBlock(),a.createBlock(Wt,{key:R,icon:E.icon,text:E.label,tooltip:E.tooltip,variant:E.variant,"bg-color":E.bgColor,"text-color":E.textColor,class:"gap-2 h-9 shadow-lg shadow-primary-500/20 border-none text-xs font-medium",onClick:X=>bz(E)},null,8,["icon","text","tooltip","variant","bg-color","text-color","onClick"]))),128)),a.renderSlot(B.$slots,"header-actions")],2)])]),a.createElementVNode("div",TG,[a.createElementVNode("table",OG,[a.createElementVNode("thead",HG,[a.createElementVNode("tr",null,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(le.value,E=>(a.openBlock(),a.createElementBlock("th",{key:E.key,class:a.normalizeClass([E.align?`text-${E.align.toLowerCase()}`:"",E.sortable?"cursor-pointer select-none":"","px-3 py-2 text-xs font-black text-white dark:text-neutral-100 uppercase tracking-wider transition-colors duration-150"]),style:a.normalizeStyle(E.width?{width:E.width}:{}),onClick:R=>E.sortable&&mz(E.key)},[E.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",$G,[a.createVNode(Gl,{"model-value":O.value,indeterminate:N.value,"onUpdate:modelValue":F[1]||(F[1]=R=>H(!!R)),onClick:F[2]||(F[2]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","indeterminate"])])):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-2 w-full",it(E.align)])},[a.createElementVNode("span",null,a.toDisplayString(E.label),1)],2))],14,FG))),128)),Le.value?(a.openBlock(),a.createElementBlock("th",jG,[...F[10]||(F[10]=[a.createElementVNode("div",{class:"flex items-center justify-center w-full"}," Actions ",-1)])])):a.createCommentVNode("",!0)])]),a.createElementVNode("tbody",RG,[ue.value?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(p.value,E=>(a.openBlock(),a.createElementBlock("tr",{key:`skeleton-${E}`},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(le.value,R=>{var X,ge;return a.openBlock(),a.createElementBlock("td",{key:R.key,class:a.normalizeClass([R.align?`text-${R.align.toLowerCase()}`:"text-left","px-3 py-0.5"])},[a.createElementVNode("div",{class:a.normalizeClass(["bg-gradient-to-r from-neutral-200 via-neutral-300 to-neutral-200 dark:from-neutral-700 dark:via-neutral-600 dark:to-neutral-700 animate-shimmer",[["badge","BADGE"].includes(R.type??"")||R.condition?"h-5 rounded-full w-20":"h-4 rounded-md",((X=R.align)==null?void 0:X.toLowerCase())==="center"?"mx-auto":"",((ge=R.align)==null?void 0:ge.toLowerCase())==="right"?"ml-auto":""]]),style:a.normalizeStyle({width:["badge","BADGE"].includes(R.type??"")||R.condition?void 0:gz(R),backgroundSize:"200% 100%"})},null,6)],2)}),128)),t.hasActions?(a.openBlock(),a.createElementBlock("td",NG,[...F[11]||(F[11]=[a.createElementVNode("div",{class:"flex items-center justify-center gap-1.5"},[a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-75"}),a.createElementVNode("div",{class:"w-9 h-9 bg-zinc-200 dark:bg-zinc-700 rounded-xl animate-pulse delay-150"})],-1)])])):a.createCommentVNode("",!0)]))),128)):ht.value.length===0?(a.openBlock(),a.createElementBlock("tr",UG,[a.createElementVNode("td",{colspan:le.value.length+(Le.value?1:0),class:"text-center py-16"},[a.createElementVNode("div",GG,[a.createElementVNode("div",null,[a.createElementVNode("p",YG,a.toDisplayString(Y.value?"No search results":"No data"),1),a.createElementVNode("p",KG,a.toDisplayString(Y.value?"Try changing keywords":"No data added"),1)])])],8,WG)])):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:2},a.renderList(ht.value,(E,R)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:R},[a.createElementVNode("tr",XG,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(le.value,X=>(a.openBlock(),a.createElementBlock("td",{key:X.key,class:a.normalizeClass([X.align?`text-${X.align}`:"text-left","px-3 py-0.5 text-sm text-neutral-900 dark:text-neutral-100"])},[a.renderSlot(B.$slots,`cell-${X.key}`,{row:E,value:J(E,X.key)},()=>[X.type==="CHECKBOX"?(a.openBlock(),a.createElementBlock("div",ZG,[a.createVNode(Gl,{"model-value":T(E),"onUpdate:modelValue":ge=>j(E,!!ge),onClick:F[3]||(F[3]=a.withModifiers(()=>{},["stop"]))},null,8,["model-value","onUpdate:modelValue"])])):X.type==="badge"||X.type==="BADGE"||X.condition?(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex items-center gap-1.5 flex-wrap md:flex-nowrap",[X.align?`justify-${X.align}`:"justify-start"]])},[a.createVNode(a.unref(Oa),{variant:yI(E,X).variant,class:a.normalizeClass([yI(E,X).class,"whitespace-nowrap truncate max-w-[150px] inline-block"])},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(yI(E,X).label),1)]),_:2},1032,["variant","class"])],2)):X.key==="no"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:2},[a.createTextVNode(a.toDisplayString((u.value-1)*p.value+R+1),1)],64)):X.type==="date"||X.type==="DATE"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createTextVNode(a.toDisplayString(J(E,X.key)?a.unref(vR)(J(E,X.key),"long"):"-"),1)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createTextVNode(a.toDisplayString(X.format?X.format(J(E,X.key)):J(E,X.key)),1)],64))])],2))),128)),Le.value?(a.openBlock(),a.createElementBlock("td",JG,[a.renderSlot(B.$slots,"actions",{row:E,buttons:xe(E),getButtonColor:Qe,getIconComponent:M1},()=>[xe(E).length>0?(a.openBlock(),a.createElementBlock("div",QG,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(xe(E),(X,ge)=>(a.openBlock(),a.createElementBlock("div",{key:ge,class:"group relative"},[a.createVNode(Wt,{tooltip:X.tooltip||X.label,icon:M1(X.icon),size:"icon",variant:X.variant||"ghost","bg-color":Qe(X,E),onClick:ve=>Mz(X,E)},null,8,["tooltip","icon","variant","bg-color","onClick"])]))),128))])):a.createCommentVNode("",!0)])])):a.createCommentVNode("",!0)]),B.$slots["expanded-row"]?(a.openBlock(),a.createElementBlock("tr",eY,[a.createElementVNode("td",{colspan:le.value.length+(Le.value?1:0),class:"px-0 py-0"},[a.renderSlot(B.$slots,"expanded-row",{row:E,index:R})],8,tY)])):a.createCommentVNode("",!0)],64))),128))])])]),!ue.value&&ht.value.length>0&&t.showPagination&&S.value?(a.openBlock(),a.createElementBlock("div",aY,[a.createElementVNode("div",nY,[a.createVNode(a.unref(kG),{"model-value":String(p.value),"onUpdate:modelValue":F[4]||(F[4]=E=>kz(Number(E)))},{default:a.withCtx(()=>[a.createVNode(a.unref(vG),{class:"h-8 w-[70px] bg-white dark:bg-zinc-800 border-neutral-200 dark:border-neutral-700"},{default:a.withCtx(()=>[a.createVNode(a.unref(CG),{placeholder:String(p.value)},null,8,["placeholder"])]),_:1}),a.createVNode(a.unref(gG),null,{default:a.withCtx(()=>[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(Q,E=>a.createVNode(a.unref(MG),{key:E,value:String(E)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(E),1)]),_:2},1032,["value"])),64))]),_:1})]),_:1},8,["model-value"]),F[16]||(F[16]=a.createElementVNode("div",{class:"h-5 w-px bg-zinc-300 dark:bg-zinc-600"},null,-1)),a.createElementVNode("span",oY,[F[12]||(F[12]=a.createTextVNode(" Showing ",-1)),a.createElementVNode("span",rY,a.toDisplayString(x1.value),1),F[13]||(F[13]=a.createTextVNode(" to ",-1)),a.createElementVNode("span",iY,a.toDisplayString($.value),1),F[14]||(F[14]=a.createTextVNode(" of ",-1)),a.createElementVNode("span",sY,a.toDisplayString(ka.value),1),F[15]||(F[15]=a.createTextVNode(" items ",-1))])]),a.createElementVNode("div",lY,[a.createVNode(a.unref(cG),{total:ka.value,"items-per-page":p.value,"sibling-count":1,"show-edges":"",page:u.value,"onUpdate:page":zB,class:"scale-90 origin-right"},{default:a.withCtx(()=>[a.createVNode(a.unref(dG),{class:"flex items-center gap-1"},{default:a.withCtx(({items:E})=>[a.createVNode(a.unref(uG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:opacity-50 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(yl),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(mG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ma),{class:"h-4 w-4"})]),_:1}),(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(E,(R,X)=>(a.openBlock(),a.createElementBlock(a.Fragment,null,[R.type==="page"?(a.openBlock(),a.createBlock(a.unref(pG),{key:X,value:R.value,"as-child":""},{default:a.withCtx(()=>[a.createVNode(a.unref(Se),{class:"w-8 h-8 p-0 text-sm",variant:R.value===u.value?"default":"outline",disabled:R.value===u.value,onClick:ge=>zB(R.value)},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(R.value),1)]),_:2},1032,["variant","disabled","onClick"])]),_:2},1032,["value"])):(a.openBlock(),a.createBlock(a.unref(hG),{key:R.type,index:X},null,8,["index"]))],64))),256)),a.createVNode(a.unref(fG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(xa),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(yG),{class:"w-8 h-8 p-0 flex items-center justify-center border border-neutral-200 dark:border-neutral-700 rounded-md bg-white dark:bg-zinc-800 text-neutral-900 dark:text-neutral-100 hover:bg-zinc-100 dark:hover:bg-zinc-700 disabled:cursor-not-allowed"},{default:a.withCtx(()=>[a.createVNode(a.unref(fl),{class:"h-4 w-4"})]),_:1})]),_:1})]),_:1},8,["total","items-per-page","page"])])])):a.createCommentVNode("",!0),a.createVNode(LS,{modelValue:v.value,"onUpdate:modelValue":F[5]||(F[5]=E=>v.value=E),title:one.value,icon:"AlertCircle","max-width":450,persistent:!1},{actions:a.withCtx(()=>[a.createVNode(a.unref(Se),{variant:"outline",onClick:xz},{default:a.withCtx(()=>[...F[17]||(F[17]=[a.createTextVNode(" Cancel ",-1)])]),_:1}),a.createVNode(a.unref(Se),{onClick:ane},{default:a.withCtx(()=>[...F[18]||(F[18]=[a.createTextVNode(" Yes ",-1)])]),_:1})]),default:a.withCtx(()=>[a.createElementVNode("div",cY,[a.createElementVNode("p",dY,a.toDisplayString(rne.value),1)])]),_:1},8,["modelValue","title"]),a.createVNode(LS,{modelValue:L.value,"onUpdate:modelValue":F[7]||(F[7]=E=>L.value=E),title:((K=A.value)==null?void 0:K.label)||"Action",icon:"AlertCircle","max-width":450},{actions:a.withCtx(()=>[a.createVNode(a.unref(Se),{variant:"outline",onClick:F[6]||(F[6]=E=>L.value=!1)},{default:a.withCtx(()=>[...F[19]||(F[19]=[a.createTextVNode(" Cancel ",-1)])]),_:1}),a.createVNode(a.unref(Se),{onClick:nne},{default:a.withCtx(()=>[...F[20]||(F[20]=[a.createTextVNode(" Save ",-1)])]),_:1})]),default:a.withCtx(()=>{var E,R;return[a.createElementVNode("div",hY,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(((E=A.value)==null?void 0:E.fieldActionCustom)||((R=A.value)==null?void 0:R.fieldActionGlobal)||[],(X,ge)=>(a.openBlock(),a.createElementBlock(a.Fragment,{key:ge},[X.isHidden?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(ce(X.column))},[a.createVNode(EP,{field:X,modelValue:I.value[X.model],"onUpdate:modelValue":ve=>I.value[X.model]=ve},null,8,["field","modelValue","onUpdate:modelValue"])],2))],64))),128))])]}),_:1},8,["modelValue","title"])])}}}),uY=["aria-busy"],pY={key:0,class:"mb-1 h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},yY=["for"],fY={key:0,class:"ml-1 text-destructive"},mY={class:"relative"},kY={key:0,class:"flex items-center text-gray-500 gap-2"},gY=["id","placeholder","disabled","value"],bY={key:1,class:"h-6 w-6 animate-spin text-gray-500",viewBox:"0 0 24 24",fill:"none"},MY=["disabled"],xY={key:0,class:"p-3 space-y-2"},wY=["onMouseenter","onClick"],vY={class:"flex items-center space-x-3"},CY={class:"flex-1"},LY={class:"text-sm font-medium text-gray-900 dark:text-gray-100"},SY={key:0,class:"text-xs text-gray-500 dark:text-gray-400"},IY={key:0},_Y={key:2,class:"p-3 text-center"},BY={class:"inline-flex items-center space-x-2"},AY={class:"text-sm text-gray-500"},VY={key:3,class:"p-3 text-center"},PY={class:"text-xs text-gray-400"},DY={key:4,class:"px-3 py-2 text-sm text-gray-500 dark:text-gray-400"},qY={key:1,class:"mt-1 text-xs text-red-600"},zY={key:2,class:"mt-1 text-xs text-gray-500"},TP=a.defineComponent({name:"DCodeInfiniteAutoComplete",inheritAttrs:!1,__name:"DCodeInfiniteAutoComplete",props:{modelValue:{},apiModule:{},apiAction:{},apiOptions:{},autoFetchOnOpen:{type:Boolean,default:!0},refreshOnOpen:{type:Boolean,default:!1},autoFetchOnMount:{type:Boolean,default:!1},visible:{type:Boolean,default:!0},clearable:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},skeleton:{type:Boolean,default:!1},error:{default:null},errorMessage:{default:null},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},itemSubtitle:{},returnObject:{type:Boolean,default:!1},endpoint:{},apiParams:{},fetchItems:{},icon:{},label:{},placeholder:{default:"Select an option"},required:{type:Boolean,default:!1},inputType:{default:"text"},helperText:{default:""},noResultsText:{default:"No results found"},loadingText:{default:"Loading more..."},endOfResultsText:{default:"End of results"},pageSize:{default:10},threshold:{default:100},debounceMs:{default:300}},emits:["update:modelValue","focus","blur","select","search","load-more","end-of-results","error"],setup(t,{emit:e}){const n=t,o=e,r=a.useAttrs(),i=a.ref(),s=a.ref(),c=a.ref(),d=a.ref(),h=a.ref(),u=a.computed(()=>{const D=n.label||n.placeholder;return D?`app-infinite-autocomplete-${D}-${Math.random().toString(36).slice(2,7)}`:void 0}),p=a.ref(""),y=a.ref([]),f=a.ref(!1),m=a.ref(!1),k=a.ref(-1),g=a.ref(1),b=a.ref(!0),w=a.ref(0),S=a.ref(),{floatingStyles:C}=gS(d,h,{placement:"bottom-start",whileElementsMounted:yS,middleware:[fS(4),jl(),mS(),kS({apply({rects:D,elements:G}){Object.assign(G.floating.style,{width:`${D.reference.width}px`})}})]});a.computed(()=>({"opacity-50 pointer-events-none":n.disabled,relative:!0}));const x=a.computed(()=>p.value?y.value.filter(D=>I(D).toLowerCase().includes(p.value.toLowerCase())):y.value),M=a.computed(()=>{if(m.value&&p.value)return p.value;if(n.modelValue){if(n.returnObject)return I(n.modelValue);{const D=y.value.find(G=>_(G)===n.modelValue);return D?I(D):String(n.modelValue)}}return""}),v=()=>{m.value=!0},L=()=>{m.value=!1},I=D=>typeof n.itemTitle=="function"?n.itemTitle(D):D[n.itemTitle]||"",_=D=>typeof n.itemValue=="function"?n.itemValue(D):D[n.itemValue]||D,A=D=>n.itemSubtitle?typeof n.itemSubtitle=="function"?n.itemSubtitle(D):D[n.itemSubtitle]||"":"",V=D=>n.modelValue?n.returnObject?_(D)===_(n.modelValue):_(D)===n.modelValue:!1,q=D=>{var ne;const G=n.returnObject?D:_(D);o("update:modelValue",G),o("select",D),m.value=!1,p.value="",(ne=i.value)==null||ne.blur()},O=()=>{var D;o("update:modelValue",null),p.value="",(D=i.value)==null||D.focus()},N=D=>{m.value=!0,o("focus",D),n.autoFetchOnOpen&&!f.value&&(n.refreshOnOpen||y.value.length===0)&&P(!0)},T=D=>{setTimeout(()=>{m.value=!1,o("blur",D)},200)},H=D=>{const G=D.target;p.value=G.value,S.value&&clearTimeout(S.value),S.value=setTimeout(()=>{o("search",p.value),g.value=1,b.value=!0,P(!0)},n.debounceMs)},j=D=>{if(m.value)switch(D.key){case"ArrowDown":D.preventDefault(),k.value=Math.min(k.value+1,x.value.length-1);break;case"ArrowUp":D.preventDefault(),k.value=Math.max(k.value-1,0);break;case"Enter":D.preventDefault(),k.value>=0&&x.value[k.value]&&q(x.value[k.value]);break;case"Escape":m.value=!1;break}},Z=D=>{if(!b.value||f.value)return;const G=D.target,{scrollTop:ne,scrollHeight:te,clientHeight:ce}=G;ne+ce>=te-n.threshold&&P()},P=async(D=!1)=>{var G,ne;if(!f.value){f.value=!0;try{let te=[];if(n.fetchItems)te=await n.fetchItems();else{const ce=nt(),pe=((G=n.endpoint)==null?void 0:G.apiModule)||n.apiModule,le=((ne=n.endpoint)==null?void 0:ne.apiAction)||n.apiAction;if(!pe||!le)throw new Error("API module and action are required");const Le={page:D?1:g.value,pageSize:n.pageSize,search:p.value,...n.apiParams},ue=await ce.apiUrl(`/${pe}/${le}`,"GET",Le);te=ue.data||ue.items||ue||[],w.value=ue.total||ue.totalItems||te.length}D?(y.value=te,g.value=1):(y.value.push(...te),g.value++),b.value=te.length>=n.pageSize,b.value||o("end-of-results"),o("load-more",{items:te,page:g.value,hasMore:b.value,total:w.value})}catch(te){console.error("Error fetching items:",te),o("error",te)}finally{f.value=!1}}};return a.onMounted(()=>{n.autoFetchOnMount&&P()}),a.onUnmounted(()=>{S.value&&clearTimeout(S.value)}),a.watch(()=>n.modelValue,D=>{D||(p.value="")}),(D,G)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:c,class:a.normalizeClass(["w-full",a.unref(r).class]),"aria-busy":t.skeleton},[t.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.label?(a.openBlock(),a.createElementBlock("div",pY)):a.createCommentVNode("",!0),G[3]||(G[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[t.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:u.value,class:"mb-1 block text-sm font-medium text-gray-900 dark:text-gray-100"},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",fY,"*")):a.createCommentVNode("",!0)],8,yY)):a.createCommentVNode("",!0),a.createElementVNode("div",mY,[a.createElementVNode("div",{ref_key:"reference",ref:d,class:a.normalizeClass(["flex items-center gap-2 rounded-lg border px-3 py-2 bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 h-10 focus-within:ring-1 focus-within:ring-gray-700 dark:focus-within:ring-gray-300",[t.disabled?"opacity-60 cursor-not-allowed":"",t.error?"border-red-500 focus-within:ring-red-500":""]])},[n.icon?(a.openBlock(),a.createElementBlock("div",kY,[n.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.icon),{key:0,class:"h-4 w-4"})):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("input",a.mergeProps({ref_key:"inputRef",ref:i},D.$attrs,{id:u.value,type:"text",class:["w-full bg-transparent outline-none text-sm text-gray-900 dark:text-gray-100 placeholder:text-gray-400",t.disabled?"cursor-not-allowed":"cursor-text"],placeholder:t.placeholder,disabled:t.disabled,value:M.value,onFocus:N,onBlur:T,onInput:H,onKeydown:j}),null,16,gY),f.value?(a.openBlock(),a.createElementBlock("svg",bY,[...G[4]||(G[4]=[a.createElementVNode("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"},null,-1),a.createElementVNode("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8v4a4 4 0 00-4 4H4z"},null,-1)])])):t.clearable&&t.modelValue?(a.openBlock(),a.createElementBlock("button",{key:2,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300",onMousedown:G[0]||(G[0]=a.withModifiers(()=>{},["prevent"])),onClick:a.withModifiers(O,["stop"]),"aria-label":"Clear"}," ✕ ",32)):(a.openBlock(),a.createElementBlock("button",{key:3,type:"button",class:"shrink-0 rounded-md px-1 text-gray-500 hover:text-gray-700 dark:hover:text-gray-300 disabled:opacity-50 disabled:cursor-not-allowed",disabled:t.disabled,onClick:G[1]||(G[1]=ne=>m.value?L():v()),"aria-label":"Toggle"},[a.createVNode(a.unref(Bt),{class:a.normalizeClass(["h-4 w-4 transition-transform duration-200 ease-in-out",{"rotate-180":m.value}])},null,8,["class"])],8,MY))],2),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[m.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floating",ref:h,style:a.normalizeStyle(a.unref(C)),class:"z-[9999] overflow-hidden rounded-lg border bg-white shadow-lg border-gray-200 dark:border-gray-700 dark:bg-neutral-900"},[a.createElementVNode("div",{ref_key:"scrollContainer",ref:s,class:"max-h-64 overflow-auto",onScroll:Z},[f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",xY,[(a.openBlock(),a.createElementBlock(a.Fragment,null,a.renderList(5,ne=>a.createElementVNode("div",{key:ne,class:"flex items-center space-x-3"},[...G[5]||(G[5]=[a.createElementVNode("div",{class:"skeleton h-4 w-4 bg-gray-200 rounded"},null,-1),a.createElementVNode("div",{class:"skeleton h-4 flex-1 bg-gray-200 rounded"},null,-1)])])),64))])):x.value.length?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(x.value,(ne,te)=>(a.openBlock(),a.createElementBlock("button",{key:_(ne)??te,type:"button",class:a.normalizeClass(["w-full flex justify-between text-left px-3 py-2 text-sm hover:bg-neutral-100 dark:hover:bg-neutral-800",te===k.value?"bg-neutral-100 dark:bg-neutral-800":""]),onMouseenter:ce=>k.value=te,onMousedown:G[2]||(G[2]=a.withModifiers(()=>{},["prevent"])),onClick:ce=>q(ne)},[a.renderSlot(D.$slots,"item",{item:ne,index:te},()=>[a.createElementVNode("div",vY,[a.createElementVNode("div",CY,[a.createElementVNode("div",LY,a.toDisplayString(I(ne)),1),t.itemSubtitle?(a.openBlock(),a.createElementBlock("div",SY,a.toDisplayString(A(ne)),1)):a.createCommentVNode("",!0)])])]),V(ne)?(a.openBlock(),a.createElementBlock("span",IY," ✓ ")):a.createCommentVNode("",!0)],42,wY))),128)):a.createCommentVNode("",!0),f.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",_Y,[a.createElementVNode("div",BY,[G[6]||(G[6]=a.createElementVNode("div",{class:"animate-spin rounded-full h-4 w-4 border-b-2 border-blue-600"},null,-1)),a.createElementVNode("span",AY,a.toDisplayString(t.loadingText),1)])])):a.createCommentVNode("",!0),!b.value&&y.value.length>0?(a.openBlock(),a.createElementBlock("div",VY,[a.createElementVNode("div",PY,a.toDisplayString(t.endOfResultsText),1)])):!f.value&&y.value.length===0?(a.openBlock(),a.createElementBlock("div",DY,a.toDisplayString(t.noResultsText),1)):a.createCommentVNode("",!0)],544)],4)):a.createCommentVNode("",!0)]))]),t.error?(a.openBlock(),a.createElementBlock("p",qY,a.toDisplayString(t.errorMessage||t.error),1)):t.helperText?(a.openBlock(),a.createElementBlock("p",zY,a.toDisplayString(t.helperText),1)):a.createCommentVNode("",!0)],64))],10,uY)),[[a.vShow,t.visible]])}});/*!
|
|
8550
8550
|
* @kurkle/color v0.3.4
|
|
8551
8551
|
* https://github.com/kurkle/color#readme
|
|
8552
8552
|
* (c) 2024 Jukka Kurkela
|
|
8553
8553
|
* Released under the MIT License
|
|
8554
|
-
*/function Jl(t){return t+.5|0}const $a=(t,e,n)=>Math.max(Math.min(t,n),e);function Ql(t){return $a(Jl(t*2.55),0,255)}function ja(t){return $a(Jl(t*255),0,255)}function ca(t){return $a(Jl(t/2.55)/100,0,1)}function OP(t){return $a(Jl(t*100),0,100)}const mt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},W_=[..."0123456789ABCDEF"],
|
|
8554
|
+
*/function Jl(t){return t+.5|0}const $a=(t,e,n)=>Math.max(Math.min(t,n),e);function Ql(t){return $a(Jl(t*2.55),0,255)}function ja(t){return $a(Jl(t*255),0,255)}function ca(t){return $a(Jl(t/2.55)/100,0,1)}function OP(t){return $a(Jl(t*100),0,100)}const mt={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},W_=[..."0123456789ABCDEF"],EY=t=>W_[t&15],TY=t=>W_[(t&240)>>4]+W_[t&15],DS=t=>(t&240)>>4===(t&15),OY=t=>DS(t.r)&&DS(t.g)&&DS(t.b)&&DS(t.a);function HY(t){var e=t.length,n;return t[0]==="#"&&(e===4||e===5?n={r:255&mt[t[1]]*17,g:255&mt[t[2]]*17,b:255&mt[t[3]]*17,a:e===5?mt[t[4]]*17:255}:(e===7||e===9)&&(n={r:mt[t[1]]<<4|mt[t[2]],g:mt[t[3]]<<4|mt[t[4]],b:mt[t[5]]<<4|mt[t[6]],a:e===9?mt[t[7]]<<4|mt[t[8]]:255})),n}const FY=(t,e)=>t<255?e(t):"";function $Y(t){var e=OY(t)?EY:TY;return t?"#"+e(t.r)+e(t.g)+e(t.b)+FY(t.a,e):void 0}const jY=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function HP(t,e,n){const o=e*Math.min(n,1-n),r=(i,s=(i+t/30)%12)=>n-o*Math.max(Math.min(s-3,9-s,1),-1);return[r(0),r(8),r(4)]}function RY(t,e,n){const o=(r,i=(r+t/60)%6)=>n-n*e*Math.max(Math.min(i,4-i,1),0);return[o(5),o(3),o(1)]}function NY(t,e,n){const o=HP(t,1,.5);let r;for(e+n>1&&(r=1/(e+n),e*=r,n*=r),r=0;r<3;r++)o[r]*=1-e-n,o[r]+=e;return o}function UY(t,e,n,o,r){return t===r?(e-n)/o+(e<n?6:0):e===r?(n-t)/o+2:(t-e)/o+4}function G_(t){const n=t.r/255,o=t.g/255,r=t.b/255,i=Math.max(n,o,r),s=Math.min(n,o,r),c=(i+s)/2;let d,h,u;return i!==s&&(u=i-s,h=c>.5?u/(2-i-s):u/(i+s),d=UY(n,o,r,u,i),d=d*60+.5),[d|0,h||0,c]}function Y_(t,e,n,o){return(Array.isArray(e)?t(e[0],e[1],e[2]):t(e,n,o)).map(ja)}function K_(t,e,n){return Y_(HP,t,e,n)}function WY(t,e,n){return Y_(NY,t,e,n)}function GY(t,e,n){return Y_(RY,t,e,n)}function FP(t){return(t%360+360)%360}function YY(t){const e=jY.exec(t);let n=255,o;if(!e)return;e[5]!==o&&(n=e[6]?Ql(+e[5]):ja(+e[5]));const r=FP(+e[2]),i=+e[3]/100,s=+e[4]/100;return e[1]==="hwb"?o=WY(r,i,s):e[1]==="hsv"?o=GY(r,i,s):o=K_(r,i,s),{r:o[0],g:o[1],b:o[2],a:n}}function KY(t,e){var n=G_(t);n[0]=FP(n[0]+e),n=K_(n),t.r=n[0],t.g=n[1],t.b=n[2]}function XY(t){if(!t)return;const e=G_(t),n=e[0],o=OP(e[1]),r=OP(e[2]);return t.a<255?`hsla(${n}, ${o}%, ${r}%, ${ca(t.a)})`:`hsl(${n}, ${o}%, ${r}%)`}const $P={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},jP={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};function ZY(){const t={},e=Object.keys(jP),n=Object.keys($P);let o,r,i,s,c;for(o=0;o<e.length;o++){for(s=c=e[o],r=0;r<n.length;r++)i=n[r],c=c.replace(i,$P[i]);i=parseInt(jP[s],16),t[c]=[i>>16&255,i>>8&255,i&255]}return t}let qS;function JY(t){qS||(qS=ZY(),qS.transparent=[0,0,0,0]);const e=qS[t.toLowerCase()];return e&&{r:e[0],g:e[1],b:e[2],a:e.length===4?e[3]:255}}const QY=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/;function eK(t){const e=QY.exec(t);let n=255,o,r,i;if(e){if(e[7]!==o){const s=+e[7];n=e[8]?Ql(s):$a(s*255,0,255)}return o=+e[1],r=+e[3],i=+e[5],o=255&(e[2]?Ql(o):$a(o,0,255)),r=255&(e[4]?Ql(r):$a(r,0,255)),i=255&(e[6]?Ql(i):$a(i,0,255)),{r:o,g:r,b:i,a:n}}}function tK(t){return t&&(t.a<255?`rgba(${t.r}, ${t.g}, ${t.b}, ${ca(t.a)})`:`rgb(${t.r}, ${t.g}, ${t.b})`)}const X_=t=>t<=.0031308?t*12.92:Math.pow(t,1/2.4)*1.055-.055,tl=t=>t<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4);function aK(t,e,n){const o=tl(ca(t.r)),r=tl(ca(t.g)),i=tl(ca(t.b));return{r:ja(X_(o+n*(tl(ca(e.r))-o))),g:ja(X_(r+n*(tl(ca(e.g))-r))),b:ja(X_(i+n*(tl(ca(e.b))-i))),a:t.a+n*(e.a-t.a)}}function zS(t,e,n){if(t){let o=G_(t);o[e]=Math.max(0,Math.min(o[e]+o[e]*n,e===0?360:1)),o=K_(o),t.r=o[0],t.g=o[1],t.b=o[2]}}function RP(t,e){return t&&Object.assign(e||{},t)}function NP(t){var e={r:0,g:0,b:0,a:255};return Array.isArray(t)?t.length>=3&&(e={r:t[0],g:t[1],b:t[2],a:255},t.length>3&&(e.a=ja(t[3]))):(e=RP(t,{r:0,g:0,b:0,a:1}),e.a=ja(e.a)),e}function nK(t){return t.charAt(0)==="r"?eK(t):YY(t)}class e1{constructor(e){if(e instanceof e1)return e;const n=typeof e;let o;n==="object"?o=NP(e):n==="string"&&(o=HY(e)||JY(e)||nK(e)),this._rgb=o,this._valid=!!o}get valid(){return this._valid}get rgb(){var e=RP(this._rgb);return e&&(e.a=ca(e.a)),e}set rgb(e){this._rgb=NP(e)}rgbString(){return this._valid?tK(this._rgb):void 0}hexString(){return this._valid?$Y(this._rgb):void 0}hslString(){return this._valid?XY(this._rgb):void 0}mix(e,n){if(e){const o=this.rgb,r=e.rgb;let i;const s=n===i?.5:n,c=2*s-1,d=o.a-r.a,h=((c*d===-1?c:(c+d)/(1+c*d))+1)/2;i=1-h,o.r=255&h*o.r+i*r.r+.5,o.g=255&h*o.g+i*r.g+.5,o.b=255&h*o.b+i*r.b+.5,o.a=s*o.a+(1-s)*r.a,this.rgb=o}return this}interpolate(e,n){return e&&(this._rgb=aK(this._rgb,e._rgb,n)),this}clone(){return new e1(this.rgb)}alpha(e){return this._rgb.a=ja(e),this}clearer(e){const n=this._rgb;return n.a*=1-e,this}greyscale(){const e=this._rgb,n=Jl(e.r*.3+e.g*.59+e.b*.11);return e.r=e.g=e.b=n,this}opaquer(e){const n=this._rgb;return n.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return zS(this._rgb,2,e),this}darken(e){return zS(this._rgb,2,-e),this}saturate(e){return zS(this._rgb,1,e),this}desaturate(e){return zS(this._rgb,1,-e),this}rotate(e){return KY(this._rgb,e),this}}/*!
|
|
8555
8555
|
* Chart.js v4.5.1
|
|
8556
8556
|
* https://www.chartjs.org
|
|
8557
8557
|
* (c) 2025 Chart.js Contributors
|
|
8558
8558
|
* Released under the MIT License
|
|
8559
|
-
*/function da(){}const nK=(()=>{let t=0;return()=>t++})();function Ie(t){return t==null}function $e(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function we(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function We(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Kt(t,e){return We(t)?t:e}function be(t,e){return typeof t>"u"?e:t}const oK=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,UP=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Pe(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Be(t,e,n,o){let r,i,s;if($e(t))for(i=t.length,r=0;r<i;r++)e.call(n,t[r],r);else if(we(t))for(s=Object.keys(t),i=s.length,r=0;r<i;r++)e.call(n,t[s[r]],s[r])}function zS(t,e){let n,o,r,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,o=t.length;n<o;++n)if(r=t[n],i=e[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function ES(t){if($e(t))return t.map(ES);if(we(t)){const e=Object.create(null),n=Object.keys(t),o=n.length;let r=0;for(;r<o;++r)e[n[r]]=ES(t[n[r]]);return e}return t}function WP(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function rK(t,e,n,o){if(!WP(t))return;const r=e[t],i=n[t];we(r)&&we(i)?t1(r,i,o):e[t]=ES(i)}function t1(t,e,n){const o=$e(e)?e:[e],r=o.length;if(!we(t))return t;n=n||{};const i=n.merger||rK;let s;for(let c=0;c<r;++c){if(s=o[c],!we(s))continue;const d=Object.keys(s);for(let h=0,u=d.length;h<u;++h)i(d[h],t,s,n)}return t}function a1(t,e){return t1(t,e,{merger:iK})}function iK(t,e,n){if(!WP(t))return;const o=e[t],r=n[t];we(o)&&we(r)?a1(o,r):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=ES(r))}const GP={"":t=>t,x:t=>t.x,y:t=>t.y};function sK(t){const e=t.split("."),n=[];let o="";for(const r of e)o+=r,o.endsWith("\\")?o=o.slice(0,-1)+".":(n.push(o),o="");return n}function lK(t){const e=sK(t);return n=>{for(const o of e){if(o==="")break;n=n&&n[o]}return n}}function hs(t,e){return(GP[e]||(GP[e]=lK(e)))(t)}function Z_(t){return t.charAt(0).toUpperCase()+t.slice(1)}const n1=t=>typeof t<"u",Ra=t=>typeof t=="function",YP=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function cK(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Ae=Math.PI,ze=2*Ae,dK=ze+Ae,TS=Number.POSITIVE_INFINITY,hK=Ae/180,Re=Ae/2,us=Ae/4,KP=Ae*2/3,XP=Math.log10,Xt=Math.sign;function o1(t,e,n){return Math.abs(t-e)<n}function ZP(t){const e=Math.round(t);t=o1(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(XP(t))),o=t/n;return(o<=1?1:o<=2?2:o<=5?5:10)*n}function uK(t){const e=[],n=Math.sqrt(t);let o;for(o=1;o<n;o++)t%o===0&&(e.push(o),e.push(t/o));return n===(n|0)&&e.push(n),e.sort((r,i)=>r-i).pop(),e}function pK(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function r1(t){return!pK(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function yK(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function fK(t,e,n){let o,r,i;for(o=0,r=t.length;o<r;o++)i=t[o][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function ha(t){return t*(Ae/180)}function mK(t){return t*(180/Ae)}function JP(t){if(!We(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function QP(t,e){const n=e.x-t.x,o=e.y-t.y,r=Math.sqrt(n*n+o*o);let i=Math.atan2(o,n);return i<-.5*Ae&&(i+=ze),{angle:i,distance:r}}function J_(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function kK(t,e){return(t-e+dK)%ze-Ae}function dt(t){return(t%ze+ze)%ze}function i1(t,e,n,o){const r=dt(t),i=dt(e),s=dt(n),c=dt(i-r),d=dt(s-r),h=dt(r-i),u=dt(r-s);return r===i||r===s||o&&i===s||c>d&&h<u}function Ge(t,e,n){return Math.max(e,Math.min(n,t))}function gK(t){return Ge(t,-32768,32767)}function ua(t,e,n,o=1e-6){return t>=Math.min(e,n)-o&&t<=Math.max(e,n)+o}function Q_(t,e,n){n=n||(s=>t[s]<e);let o=t.length-1,r=0,i;for(;o-r>1;)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const ps=(t,e,n,o)=>Q_(t,n,o?r=>{const i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),bK=(t,e,n)=>Q_(t,n,o=>t[o][e]>=n);function MK(t,e,n){let o=0,r=t.length;for(;o<r&&t[o]<e;)o++;for(;r>o&&t[r-1]>n;)r--;return o>0||r<t.length?t.slice(o,r):t}const eD=["push","pop","shift","splice","unshift"];function xK(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),eD.forEach(n=>{const o="_onData"+Z_(n),r=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return t._chartjs.listeners.forEach(c=>{typeof c[o]=="function"&&c[o](...i)}),s}})})}function tD(t,e){const n=t._chartjs;if(!n)return;const o=n.listeners,r=o.indexOf(e);r!==-1&&o.splice(r,1),!(o.length>0)&&(eD.forEach(i=>{delete t[i]}),delete t._chartjs)}function aD(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const nD=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function oD(t,e){let n=[],o=!1;return function(...r){n=r,o||(o=!0,nD.call(window,()=>{o=!1,t.apply(e,n)}))}}function wK(t,e){let n;return function(...o){return e?(clearTimeout(n),n=setTimeout(t,e,o)):t.apply(this,o),e}}const eB=t=>t==="start"?"left":t==="end"?"right":"center",Ye=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,vK=(t,e,n,o)=>t===(o?"left":"right")?n:t==="center"?(e+n)/2:e;function CK(t,e,n){const o=e.length;let r=0,i=o;if(t._sorted){const{iScale:s,vScale:c,_parsed:d}=t,h=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,u=s.axis,{min:p,max:y,minDefined:f,maxDefined:m}=s.getUserBounds();if(f){if(r=Math.min(ps(d,u,p).lo,n?o:ps(e,u,s.getPixelForValue(p)).lo),h){const k=d.slice(0,r+1).reverse().findIndex(g=>!Ie(g[c.axis]));r-=Math.max(0,k)}r=Ge(r,0,o-1)}if(m){let k=Math.max(ps(d,s.axis,y,!0).hi+1,n?0:ps(e,u,s.getPixelForValue(y),!0).hi+1);if(h){const g=d.slice(k-1).findIndex(b=>!Ie(b[c.axis]));k+=Math.max(0,g)}i=Ge(k,r,o)-r}else i=o-r}return{start:r,count:i}}function LK(t){const{xScale:e,yScale:n,_scaleRanges:o}=t,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!o)return t._scaleRanges=r,!0;const i=o.xmin!==e.min||o.xmax!==e.max||o.ymin!==n.min||o.ymax!==n.max;return Object.assign(o,r),i}const OS=t=>t===0||t===1,rD=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*ze/n)),iD=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*ze/n)+1,s1={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Re)+1,easeOutSine:t=>Math.sin(t*Re),easeInOutSine:t=>-.5*(Math.cos(Ae*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>OS(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>OS(t)?t:rD(t,.075,.3),easeOutElastic:t=>OS(t)?t:iD(t,.075,.3),easeInOutElastic(t){return OS(t)?t:t<.5?.5*rD(t*2,.1125,.45):.5+.5*iD(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-s1.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?s1.easeInBounce(t*2)*.5:s1.easeOutBounce(t*2-1)*.5+.5};function tB(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function sD(t){return tB(t)?t:new e1(t)}function aB(t){return tB(t)?t:new e1(t).saturate(.5).darken(.1).hexString()}const SK=["x","y","borderWidth","radius","tension"],IK=["color","borderColor","backgroundColor"];function _K(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:IK},numbers:{type:"number",properties:SK}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function BK(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const lD=new Map;function AK(t,e){e=e||{};const n=t+JSON.stringify(e);let o=lD.get(n);return o||(o=new Intl.NumberFormat(t,e),lD.set(n,o)),o}function nB(t,e,n){return AK(e,n).format(t)}const VK={values(t){return $e(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const o=this.chart.options.locale;let r,i=t;if(n.length>1){const h=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(h<1e-4||h>1e15)&&(r="scientific"),i=PK(t,n)}const s=XP(Math.abs(i)),c=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),d={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(d,this.options.ticks.format),nB(t,o,d)}};function PK(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var cD={formatters:VK};function DK(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:cD.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const ys=Object.create(null),oB=Object.create(null);function l1(t,e){if(!e)return t;const n=e.split(".");for(let o=0,r=n.length;o<r;++o){const i=n[o];t=t[i]||(t[i]=Object.create(null))}return t}function rB(t,e,n){return typeof e=="string"?t1(l1(t,e),n):t1(l1(t,""),e)}class qK{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,r)=>aB(r.backgroundColor),this.hoverBorderColor=(o,r)=>aB(r.borderColor),this.hoverColor=(o,r)=>aB(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return rB(this,e,n)}get(e){return l1(this,e)}describe(e,n){return rB(oB,e,n)}override(e,n){return rB(ys,e,n)}route(e,n,o,r){const i=l1(this,e),s=l1(this,o),c="_"+n;Object.defineProperties(i,{[c]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const d=this[c],h=s[r];return we(d)?Object.assign({},h,d):be(d,h)},set(d){this[c]=d}}})}apply(e){e.forEach(n=>n(this))}}var Fe=new qK({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[_K,BK,DK]);function zK(t){return!t||Ie(t.size)||Ie(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function dD(t,e,n,o,r){let i=e[r];return i||(i=e[r]=t.measureText(r).width,n.push(r)),i>o&&(o=i),o}function fs(t,e,n){const o=t.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((e-r)*o)/o+r}function hD(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function iB(t,e,n,o){uD(t,e,n,o,null)}function uD(t,e,n,o,r){let i,s,c,d,h,u,p,y;const f=e.pointStyle,m=e.rotation,k=e.radius;let g=(m||0)*hK;if(f&&typeof f=="object"&&(i=f.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,o),t.rotate(g),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),t.restore();return}if(!(isNaN(k)||k<=0)){switch(t.beginPath(),f){default:r?t.ellipse(n,o,r/2,k,0,0,ze):t.arc(n,o,k,0,ze),t.closePath();break;case"triangle":u=r?r/2:k,t.moveTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=KP,t.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=KP,t.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),t.closePath();break;case"rectRounded":h=k*.516,d=k-h,s=Math.cos(g+us)*d,p=Math.cos(g+us)*(r?r/2-h:d),c=Math.sin(g+us)*d,y=Math.sin(g+us)*(r?r/2-h:d),t.arc(n-p,o-c,h,g-Ae,g-Re),t.arc(n+y,o-s,h,g-Re,g),t.arc(n+p,o+c,h,g,g+Re),t.arc(n-y,o+s,h,g+Re,g+Ae),t.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*k,u=r?r/2:d,t.rect(n-u,o-d,2*u,2*d);break}g+=us;case"rectRot":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+y,o-s),t.lineTo(n+p,o+c),t.lineTo(n-y,o+s),t.closePath();break;case"crossRot":g+=us;case"cross":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+p,o+c),t.moveTo(n+y,o-s),t.lineTo(n-y,o+s);break;case"star":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+p,o+c),t.moveTo(n+y,o-s),t.lineTo(n-y,o+s),g+=us,p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+p,o+c),t.moveTo(n+y,o-s),t.lineTo(n-y,o+s);break;case"line":s=r?r/2:Math.cos(g)*k,c=Math.sin(g)*k,t.moveTo(n-s,o-c),t.lineTo(n+s,o+c);break;case"dash":t.moveTo(n,o),t.lineTo(n+Math.cos(g)*(r?r/2:k),o+Math.sin(g)*k);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function c1(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function HS(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function FS(t){t.restore()}function EK(t,e,n,o,r){if(!e)return t.lineTo(n.x,n.y);if(r==="middle"){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else r==="after"!=!!o?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function TK(t,e,n,o){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(o?e.cp1x:e.cp2x,o?e.cp1y:e.cp2y,o?n.cp2x:n.cp1x,o?n.cp2y:n.cp1y,n.x,n.y)}function OK(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ie(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function HK(t,e,n,o,r){if(r.strikethrough||r.underline){const i=t.measureText(o),s=e-i.actualBoundingBoxLeft,c=e+i.actualBoundingBoxRight,d=n-i.actualBoundingBoxAscent,h=n+i.actualBoundingBoxDescent,u=r.strikethrough?(d+h)/2:h;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(s,u),t.lineTo(c,u),t.stroke()}}function FK(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function d1(t,e,n,o,r,i={}){const s=$e(e)?e:[e],c=i.strokeWidth>0&&i.strokeColor!=="";let d,h;for(t.save(),t.font=r.string,OK(t,i),d=0;d<s.length;++d)h=s[d],i.backdrop&&FK(t,i.backdrop),c&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ie(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(h,n,o,i.maxWidth)),t.fillText(h,n,o,i.maxWidth),HK(t,n,o,h,i),o+=Number(r.lineHeight);t.restore()}function $S(t,e){const{x:n,y:o,w:r,h:i,radius:s}=e;t.arc(n+s.topLeft,o+s.topLeft,s.topLeft,1.5*Ae,Ae,!0),t.lineTo(n,o+i-s.bottomLeft),t.arc(n+s.bottomLeft,o+i-s.bottomLeft,s.bottomLeft,Ae,Re,!0),t.lineTo(n+r-s.bottomRight,o+i),t.arc(n+r-s.bottomRight,o+i-s.bottomRight,s.bottomRight,Re,0,!0),t.lineTo(n+r,o+s.topRight),t.arc(n+r-s.topRight,o+s.topRight,s.topRight,0,-Re,!0),t.lineTo(n+s.topLeft,o)}const $K=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,jK=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function RK(t,e){const n=(""+t).match($K);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const NK=t=>+t||0;function sB(t,e){const n={},o=we(e),r=o?Object.keys(e):e,i=we(t)?o?s=>be(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of r)n[s]=NK(i(s));return n}function pD(t){return sB(t,{top:"y",right:"x",bottom:"y",left:"x"})}function al(t){return sB(t,["topLeft","topRight","bottomLeft","bottomRight"])}function kt(t){const e=pD(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ke(t,e){t=t||{},e=e||Fe.font;let n=be(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let o=be(t.style,e.style);o&&!(""+o).match(jK)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const r={family:be(t.family,e.family),lineHeight:RK(be(t.lineHeight,e.lineHeight),n),size:n,style:o,weight:be(t.weight,e.weight),string:""};return r.string=zK(r),r}function jS(t,e,n,o){let r,i,s;for(r=0,i=t.length;r<i;++r)if(s=t[r],s!==void 0&&s!==void 0)return s}function UK(t,e,n){const{min:o,max:r}=t,i=UP(e,(r-o)/2),s=(c,d)=>n&&c===0?0:c+d;return{min:s(o,-Math.abs(i)),max:s(r,i)}}function ms(t,e){return Object.assign(Object.create(t),e)}function lB(t,e=[""],n,o,r=()=>t[0]){const i=n||t;typeof o>"u"&&(o=gD("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:o,_getTarget:r,override:c=>lB([c,...t],e,i,o)};return new Proxy(s,{deleteProperty(c,d){return delete c[d],delete c._keys,delete t[0][d],!0},get(c,d){return fD(c,d,()=>QK(d,e,t,c))},getOwnPropertyDescriptor(c,d){return Reflect.getOwnPropertyDescriptor(c._scopes[0],d)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(c,d){return bD(c).includes(d)},ownKeys(c){return bD(c)},set(c,d,h){const u=c._storage||(c._storage=r());return c[d]=u[d]=h,delete c._keys,!0}})}function nl(t,e,n,o){const r={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:yD(t,o),setContext:i=>nl(t,i,n,o),override:i=>nl(t.override(i),e,n,o)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete t[s],!0},get(i,s,c){return fD(i,s,()=>GK(i,s,c))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,s){return Reflect.has(t,s)},ownKeys(){return Reflect.ownKeys(t)},set(i,s,c){return t[s]=c,delete i[s],!0}})}function yD(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:o=e.indexable,_allKeys:r=e.allKeys}=t;return{allKeys:r,scriptable:n,indexable:o,isScriptable:Ra(n)?n:()=>n,isIndexable:Ra(o)?o:()=>o}}const WK=(t,e)=>t?t+Z_(e):e,cB=(t,e)=>we(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function fD(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const o=n();return t[e]=o,o}function GK(t,e,n){const{_proxy:o,_context:r,_subProxy:i,_descriptors:s}=t;let c=o[e];return Ra(c)&&s.isScriptable(e)&&(c=YK(e,c,t,n)),$e(c)&&c.length&&(c=KK(e,c,t,s.isIndexable)),cB(e,c)&&(c=nl(c,r,i&&i[e],s)),c}function YK(t,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_stack:c}=n;if(c.has(t))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+t);c.add(t);let d=e(i,s||o);return c.delete(t),cB(t,d)&&(d=dB(r._scopes,r,t,d)),d}function KK(t,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_descriptors:c}=n;if(typeof i.index<"u"&&o(t))return e[i.index%e.length];if(we(e[0])){const d=e,h=r._scopes.filter(u=>u!==d);e=[];for(const u of d){const p=dB(h,r,t,u);e.push(nl(p,i,s&&s[t],c))}}return e}function mD(t,e,n){return Ra(t)?t(e,n):t}const XK=(t,e)=>t===!0?e:typeof t=="string"?hs(e,t):void 0;function ZK(t,e,n,o,r){for(const i of e){const s=XK(n,i);if(s){t.add(s);const c=mD(s._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==o)return c}else if(s===!1&&typeof o<"u"&&n!==o)return null}return!1}function dB(t,e,n,o){const r=e._rootScopes,i=mD(e._fallback,n,o),s=[...t,...r],c=new Set;c.add(o);let d=kD(c,s,n,i||n,o);return d===null||typeof i<"u"&&i!==n&&(d=kD(c,s,i,d,o),d===null)?!1:lB(Array.from(c),[""],r,i,()=>JK(e,n,o))}function kD(t,e,n,o,r){for(;n;)n=ZK(t,e,n,o,r);return n}function JK(t,e,n){const o=t._getTarget();e in o||(o[e]={});const r=o[e];return $e(r)&&we(n)?n:r||{}}function QK(t,e,n,o){let r;for(const i of e)if(r=gD(WK(i,t),n),typeof r<"u")return cB(t,r)?dB(n,o,t,r):r}function gD(t,e){for(const n of e){if(!n)continue;const o=n[t];if(typeof o<"u")return o}}function bD(t){let e=t._keys;return e||(e=t._keys=eX(t._scopes)),e}function eX(t){const e=new Set;for(const n of t)for(const o of Object.keys(n).filter(r=>!r.startsWith("_")))e.add(o);return Array.from(e)}const tX=Number.EPSILON||1e-14,ol=(t,e)=>e<t.length&&!t[e].skip&&t[e],MD=t=>t==="x"?"y":"x";function aX(t,e,n,o){const r=t.skip?e:t,i=e,s=n.skip?e:n,c=J_(i,r),d=J_(s,i);let h=c/(c+d),u=d/(c+d);h=isNaN(h)?0:h,u=isNaN(u)?0:u;const p=o*h,y=o*u;return{previous:{x:i.x-p*(s.x-r.x),y:i.y-p*(s.y-r.y)},next:{x:i.x+y*(s.x-r.x),y:i.y+y*(s.y-r.y)}}}function nX(t,e,n){const o=t.length;let r,i,s,c,d,h=ol(t,0);for(let u=0;u<o-1;++u)if(d=h,h=ol(t,u+1),!(!d||!h)){if(o1(e[u],0,tX)){n[u]=n[u+1]=0;continue}r=n[u]/e[u],i=n[u+1]/e[u],c=Math.pow(r,2)+Math.pow(i,2),!(c<=9)&&(s=3/Math.sqrt(c),n[u]=r*s*e[u],n[u+1]=i*s*e[u])}}function oX(t,e,n="x"){const o=MD(n),r=t.length;let i,s,c,d=ol(t,0);for(let h=0;h<r;++h){if(s=c,c=d,d=ol(t,h+1),!c)continue;const u=c[n],p=c[o];s&&(i=(u-s[n])/3,c[`cp1${n}`]=u-i,c[`cp1${o}`]=p-i*e[h]),d&&(i=(d[n]-u)/3,c[`cp2${n}`]=u+i,c[`cp2${o}`]=p+i*e[h])}}function rX(t,e="x"){const n=MD(e),o=t.length,r=Array(o).fill(0),i=Array(o);let s,c,d,h=ol(t,0);for(s=0;s<o;++s)if(c=d,d=h,h=ol(t,s+1),!!d){if(h){const u=h[e]-d[e];r[s]=u!==0?(h[n]-d[n])/u:0}i[s]=c?h?Xt(r[s-1])!==Xt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}nX(t,r,i),oX(t,i,e)}function RS(t,e,n){return Math.max(Math.min(t,n),e)}function iX(t,e){let n,o,r,i,s,c=c1(t[0],e);for(n=0,o=t.length;n<o;++n)s=i,i=c,c=n<o-1&&c1(t[n+1],e),i&&(r=t[n],s&&(r.cp1x=RS(r.cp1x,e.left,e.right),r.cp1y=RS(r.cp1y,e.top,e.bottom)),c&&(r.cp2x=RS(r.cp2x,e.left,e.right),r.cp2y=RS(r.cp2y,e.top,e.bottom)))}function sX(t,e,n,o,r){let i,s,c,d;if(e.spanGaps&&(t=t.filter(h=>!h.skip)),e.cubicInterpolationMode==="monotone")rX(t,r);else{let h=o?t[t.length-1]:t[0];for(i=0,s=t.length;i<s;++i)c=t[i],d=aX(h,c,t[Math.min(i+1,s-(o?0:1))%s],e.tension),c.cp1x=d.previous.x,c.cp1y=d.previous.y,c.cp2x=d.next.x,c.cp2y=d.next.y,h=c}e.capBezierPoints&&iX(t,n)}function hB(){return typeof window<"u"&&typeof document<"u"}function uB(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function NS(t,e,n){let o;return typeof t=="string"?(o=parseInt(t,10),t.indexOf("%")!==-1&&(o=o/100*e.parentNode[n])):o=t,o}const US=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function lX(t,e){return US(t).getPropertyValue(e)}const cX=["top","right","bottom","left"];function ks(t,e,n){const o={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=cX[r];o[i]=parseFloat(t[e+"-"+i+n])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}const dX=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function hX(t,e){const n=t.touches,o=n&&n.length?n[0]:t,{offsetX:r,offsetY:i}=o;let s=!1,c,d;if(dX(r,i,t.target))c=r,d=i;else{const h=e.getBoundingClientRect();c=o.clientX-h.left,d=o.clientY-h.top,s=!0}return{x:c,y:d,box:s}}function gs(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:o}=e,r=US(n),i=r.boxSizing==="border-box",s=ks(r,"padding"),c=ks(r,"border","width"),{x:d,y:h,box:u}=hX(t,n),p=s.left+(u&&c.left),y=s.top+(u&&c.top);let{width:f,height:m}=e;return i&&(f-=s.width+c.width,m-=s.height+c.height),{x:Math.round((d-p)/f*n.width/o),y:Math.round((h-y)/m*n.height/o)}}function uX(t,e,n){let o,r;if(e===void 0||n===void 0){const i=t&&uB(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const s=i.getBoundingClientRect(),c=US(i),d=ks(c,"border","width"),h=ks(c,"padding");e=s.width-h.width-d.width,n=s.height-h.height-d.height,o=NS(c.maxWidth,i,"clientWidth"),r=NS(c.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:o||TS,maxHeight:r||TS}}const Na=t=>Math.round(t*10)/10;function pX(t,e,n,o){const r=US(t),i=ks(r,"margin"),s=NS(r.maxWidth,t,"clientWidth")||TS,c=NS(r.maxHeight,t,"clientHeight")||TS,d=uX(t,e,n);let{width:h,height:u}=d;if(r.boxSizing==="content-box"){const y=ks(r,"border","width"),f=ks(r,"padding");h-=f.width+y.width,u-=f.height+y.height}return h=Math.max(0,h-i.width),u=Math.max(0,o?h/o:u-i.height),h=Na(Math.min(h,s,d.maxWidth)),u=Na(Math.min(u,c,d.maxHeight)),h&&!u&&(u=Na(h/2)),(e!==void 0||n!==void 0)&&o&&d.height&&u>d.height&&(u=d.height,h=Na(Math.floor(u*o))),{width:h,height:u}}function xD(t,e,n){const o=e||1,r=Na(t.height*o),i=Na(t.width*o);t.height=Na(t.height),t.width=Na(t.width);const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),t.currentDevicePixelRatio!==o||s.height!==r||s.width!==i?(t.currentDevicePixelRatio=o,s.height=r,s.width=i,t.ctx.setTransform(o,0,0,o,0,0),!0):!1}const yX=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};hB()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function wD(t,e){const n=lX(t,e),o=n&&n.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function bs(t,e,n,o){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function fX(t,e,n,o){return{x:t.x+n*(e.x-t.x),y:o==="middle"?n<.5?t.y:e.y:o==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function mX(t,e,n,o){const r={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},s=bs(t,r,n),c=bs(r,i,n),d=bs(i,e,n),h=bs(s,c,n),u=bs(c,d,n);return bs(h,u,n)}const kX=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,o){return n-o},leftForLtr(n,o){return n-o}}},gX=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function rl(t,e,n){return t?kX(e,n):gX()}function vD(t,e){let n,o;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,o=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=o)}function CD(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function LD(t){return t==="angle"?{between:i1,compare:kK,normalize:dt}:{between:ua,compare:(e,n)=>e-n,normalize:e=>e}}function SD({start:t,end:e,count:n,loop:o,style:r}){return{start:t%n,end:e%n,loop:o&&(e-t+1)%n===0,style:r}}function bX(t,e,n){const{property:o,start:r,end:i}=n,{between:s,normalize:c}=LD(o),d=e.length;let{start:h,end:u,loop:p}=t,y,f;if(p){for(h+=d,u+=d,y=0,f=d;y<f&&s(c(e[h%d][o]),r,i);++y)h--,u--;h%=d,u%=d}return u<h&&(u+=d),{start:h,end:u,loop:p,style:t.style}}function ID(t,e,n){if(!n)return[t];const{property:o,start:r,end:i}=n,s=e.length,{compare:c,between:d,normalize:h}=LD(o),{start:u,end:p,loop:y,style:f}=bX(t,e,n),m=[];let k=!1,g=null,b,w,S;const C=()=>d(r,S,b)&&c(r,S)!==0,x=()=>c(i,b)===0||d(i,S,b),M=()=>k||C(),v=()=>!k||x();for(let L=u,I=u;L<=p;++L)w=e[L%s],!w.skip&&(b=h(w[o]),b!==S&&(k=d(b,r,i),g===null&&M()&&(g=c(b,r)===0?L:I),g!==null&&v()&&(m.push(SD({start:g,end:L,loop:y,count:s,style:f})),g=null),I=L,S=b));return g!==null&&m.push(SD({start:g,end:p,loop:y,count:s,style:f})),m}function _D(t,e){const n=[],o=t.segments;for(let r=0;r<o.length;r++){const i=ID(o[r],t.points,e);i.length&&n.push(...i)}return n}function MX(t,e,n,o){let r=0,i=e-1;if(n&&!o)for(;r<e&&!t[r].skip;)r++;for(;r<e&&t[r].skip;)r++;for(r%=e,n&&(i+=r);i>r&&t[i%e].skip;)i--;return i%=e,{start:r,end:i}}function xX(t,e,n,o){const r=t.length,i=[];let s=e,c=t[e],d;for(d=e+1;d<=n;++d){const h=t[d%r];h.skip||h.stop?c.skip||(o=!1,i.push({start:e%r,end:(d-1)%r,loop:o}),e=s=h.stop?d:null):(s=d,c.skip&&(e=d)),c=h}return s!==null&&i.push({start:e%r,end:s%r,loop:o}),i}function wX(t,e){const n=t.points,o=t.options.spanGaps,r=n.length;if(!r)return[];const i=!!t._loop,{start:s,end:c}=MX(n,r,i,o);if(o===!0)return BD(t,[{start:s,end:c,loop:i}],n,e);const d=c<s?c+r:c,h=!!t._fullLoop&&s===0&&c===r-1;return BD(t,xX(n,s,d,h),n,e)}function BD(t,e,n,o){return!o||!o.setContext||!n?e:vX(t,e,n,o)}function vX(t,e,n,o){const r=t._chart.getContext(),i=AD(t.options),{_datasetIndex:s,options:{spanGaps:c}}=t,d=n.length,h=[];let u=i,p=e[0].start,y=p;function f(m,k,g,b){const w=c?-1:1;if(m!==k){for(m+=d;n[m%d].skip;)m-=w;for(;n[k%d].skip;)k+=w;m%d!==k%d&&(h.push({start:m%d,end:k%d,loop:g,style:b}),u=b,p=k%d)}}for(const m of e){p=c?p:m.start;let k=n[p%d],g;for(y=p+1;y<=m.end;y++){const b=n[y%d];g=AD(o.setContext(ms(r,{type:"segment",p0:k,p1:b,p0DataIndex:(y-1)%d,p1DataIndex:y%d,datasetIndex:s}))),CX(g,u)&&f(p,y-1,m.loop,u),k=b,u=g}p<y-1&&f(p,y-1,m.loop,u)}return h}function AD(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function CX(t,e){if(!e)return!1;const n=[],o=function(r,i){return tB(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,o)!==JSON.stringify(e,o)}function WS(t,e,n){return t.options.clip?t[n]:e[n]}function LX(t,e){const{xScale:n,yScale:o}=t;return n&&o?{left:WS(n,e,"left"),right:WS(n,e,"right"),top:WS(o,e,"top"),bottom:WS(o,e,"bottom")}:e}function VD(t,e){const n=e._clip;if(n.disabled)return!1;const o=LX(e,t.chartArea);return{left:n.left===!1?0:o.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:o.right+(n.right===!0?0:n.right),top:n.top===!1?0:o.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:o.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
8559
|
+
*/function da(){}const oK=(()=>{let t=0;return()=>t++})();function Ie(t){return t==null}function $e(t){if(Array.isArray&&Array.isArray(t))return!0;const e=Object.prototype.toString.call(t);return e.slice(0,7)==="[object"&&e.slice(-6)==="Array]"}function we(t){return t!==null&&Object.prototype.toString.call(t)==="[object Object]"}function We(t){return(typeof t=="number"||t instanceof Number)&&isFinite(+t)}function Kt(t,e){return We(t)?t:e}function be(t,e){return typeof t>"u"?e:t}const rK=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100:+t/e,UP=(t,e)=>typeof t=="string"&&t.endsWith("%")?parseFloat(t)/100*e:+t;function Pe(t,e,n){if(t&&typeof t.call=="function")return t.apply(n,e)}function Be(t,e,n,o){let r,i,s;if($e(t))for(i=t.length,r=0;r<i;r++)e.call(n,t[r],r);else if(we(t))for(s=Object.keys(t),i=s.length,r=0;r<i;r++)e.call(n,t[s[r]],s[r])}function ES(t,e){let n,o,r,i;if(!t||!e||t.length!==e.length)return!1;for(n=0,o=t.length;n<o;++n)if(r=t[n],i=e[n],r.datasetIndex!==i.datasetIndex||r.index!==i.index)return!1;return!0}function TS(t){if($e(t))return t.map(TS);if(we(t)){const e=Object.create(null),n=Object.keys(t),o=n.length;let r=0;for(;r<o;++r)e[n[r]]=TS(t[n[r]]);return e}return t}function WP(t){return["__proto__","prototype","constructor"].indexOf(t)===-1}function iK(t,e,n,o){if(!WP(t))return;const r=e[t],i=n[t];we(r)&&we(i)?t1(r,i,o):e[t]=TS(i)}function t1(t,e,n){const o=$e(e)?e:[e],r=o.length;if(!we(t))return t;n=n||{};const i=n.merger||iK;let s;for(let c=0;c<r;++c){if(s=o[c],!we(s))continue;const d=Object.keys(s);for(let h=0,u=d.length;h<u;++h)i(d[h],t,s,n)}return t}function a1(t,e){return t1(t,e,{merger:sK})}function sK(t,e,n){if(!WP(t))return;const o=e[t],r=n[t];we(o)&&we(r)?a1(o,r):Object.prototype.hasOwnProperty.call(e,t)||(e[t]=TS(r))}const GP={"":t=>t,x:t=>t.x,y:t=>t.y};function lK(t){const e=t.split("."),n=[];let o="";for(const r of e)o+=r,o.endsWith("\\")?o=o.slice(0,-1)+".":(n.push(o),o="");return n}function cK(t){const e=lK(t);return n=>{for(const o of e){if(o==="")break;n=n&&n[o]}return n}}function hs(t,e){return(GP[e]||(GP[e]=cK(e)))(t)}function Z_(t){return t.charAt(0).toUpperCase()+t.slice(1)}const n1=t=>typeof t<"u",Ra=t=>typeof t=="function",YP=(t,e)=>{if(t.size!==e.size)return!1;for(const n of t)if(!e.has(n))return!1;return!0};function dK(t){return t.type==="mouseup"||t.type==="click"||t.type==="contextmenu"}const Ae=Math.PI,ze=2*Ae,hK=ze+Ae,OS=Number.POSITIVE_INFINITY,uK=Ae/180,Re=Ae/2,us=Ae/4,KP=Ae*2/3,XP=Math.log10,Xt=Math.sign;function o1(t,e,n){return Math.abs(t-e)<n}function ZP(t){const e=Math.round(t);t=o1(t,e,t/1e3)?e:t;const n=Math.pow(10,Math.floor(XP(t))),o=t/n;return(o<=1?1:o<=2?2:o<=5?5:10)*n}function pK(t){const e=[],n=Math.sqrt(t);let o;for(o=1;o<n;o++)t%o===0&&(e.push(o),e.push(t/o));return n===(n|0)&&e.push(n),e.sort((r,i)=>r-i).pop(),e}function yK(t){return typeof t=="symbol"||typeof t=="object"&&t!==null&&!(Symbol.toPrimitive in t||"toString"in t||"valueOf"in t)}function r1(t){return!yK(t)&&!isNaN(parseFloat(t))&&isFinite(t)}function fK(t,e){const n=Math.round(t);return n-e<=t&&n+e>=t}function mK(t,e,n){let o,r,i;for(o=0,r=t.length;o<r;o++)i=t[o][n],isNaN(i)||(e.min=Math.min(e.min,i),e.max=Math.max(e.max,i))}function ha(t){return t*(Ae/180)}function kK(t){return t*(180/Ae)}function JP(t){if(!We(t))return;let e=1,n=0;for(;Math.round(t*e)/e!==t;)e*=10,n++;return n}function QP(t,e){const n=e.x-t.x,o=e.y-t.y,r=Math.sqrt(n*n+o*o);let i=Math.atan2(o,n);return i<-.5*Ae&&(i+=ze),{angle:i,distance:r}}function J_(t,e){return Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2))}function gK(t,e){return(t-e+hK)%ze-Ae}function dt(t){return(t%ze+ze)%ze}function i1(t,e,n,o){const r=dt(t),i=dt(e),s=dt(n),c=dt(i-r),d=dt(s-r),h=dt(r-i),u=dt(r-s);return r===i||r===s||o&&i===s||c>d&&h<u}function Ge(t,e,n){return Math.max(e,Math.min(n,t))}function bK(t){return Ge(t,-32768,32767)}function ua(t,e,n,o=1e-6){return t>=Math.min(e,n)-o&&t<=Math.max(e,n)+o}function Q_(t,e,n){n=n||(s=>t[s]<e);let o=t.length-1,r=0,i;for(;o-r>1;)i=r+o>>1,n(i)?r=i:o=i;return{lo:r,hi:o}}const ps=(t,e,n,o)=>Q_(t,n,o?r=>{const i=t[r][e];return i<n||i===n&&t[r+1][e]===n}:r=>t[r][e]<n),MK=(t,e,n)=>Q_(t,n,o=>t[o][e]>=n);function xK(t,e,n){let o=0,r=t.length;for(;o<r&&t[o]<e;)o++;for(;r>o&&t[r-1]>n;)r--;return o>0||r<t.length?t.slice(o,r):t}const eD=["push","pop","shift","splice","unshift"];function wK(t,e){if(t._chartjs){t._chartjs.listeners.push(e);return}Object.defineProperty(t,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[e]}}),eD.forEach(n=>{const o="_onData"+Z_(n),r=t[n];Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value(...i){const s=r.apply(this,i);return t._chartjs.listeners.forEach(c=>{typeof c[o]=="function"&&c[o](...i)}),s}})})}function tD(t,e){const n=t._chartjs;if(!n)return;const o=n.listeners,r=o.indexOf(e);r!==-1&&o.splice(r,1),!(o.length>0)&&(eD.forEach(i=>{delete t[i]}),delete t._chartjs)}function aD(t){const e=new Set(t);return e.size===t.length?t:Array.from(e)}const nD=(function(){return typeof window>"u"?function(t){return t()}:window.requestAnimationFrame})();function oD(t,e){let n=[],o=!1;return function(...r){n=r,o||(o=!0,nD.call(window,()=>{o=!1,t.apply(e,n)}))}}function vK(t,e){let n;return function(...o){return e?(clearTimeout(n),n=setTimeout(t,e,o)):t.apply(this,o),e}}const eB=t=>t==="start"?"left":t==="end"?"right":"center",Ye=(t,e,n)=>t==="start"?e:t==="end"?n:(e+n)/2,CK=(t,e,n,o)=>t===(o?"left":"right")?n:t==="center"?(e+n)/2:e;function LK(t,e,n){const o=e.length;let r=0,i=o;if(t._sorted){const{iScale:s,vScale:c,_parsed:d}=t,h=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null,u=s.axis,{min:p,max:y,minDefined:f,maxDefined:m}=s.getUserBounds();if(f){if(r=Math.min(ps(d,u,p).lo,n?o:ps(e,u,s.getPixelForValue(p)).lo),h){const k=d.slice(0,r+1).reverse().findIndex(g=>!Ie(g[c.axis]));r-=Math.max(0,k)}r=Ge(r,0,o-1)}if(m){let k=Math.max(ps(d,s.axis,y,!0).hi+1,n?0:ps(e,u,s.getPixelForValue(y),!0).hi+1);if(h){const g=d.slice(k-1).findIndex(b=>!Ie(b[c.axis]));k+=Math.max(0,g)}i=Ge(k,r,o)-r}else i=o-r}return{start:r,count:i}}function SK(t){const{xScale:e,yScale:n,_scaleRanges:o}=t,r={xmin:e.min,xmax:e.max,ymin:n.min,ymax:n.max};if(!o)return t._scaleRanges=r,!0;const i=o.xmin!==e.min||o.xmax!==e.max||o.ymin!==n.min||o.ymax!==n.max;return Object.assign(o,r),i}const HS=t=>t===0||t===1,rD=(t,e,n)=>-(Math.pow(2,10*(t-=1))*Math.sin((t-e)*ze/n)),iD=(t,e,n)=>Math.pow(2,-10*t)*Math.sin((t-e)*ze/n)+1,s1={linear:t=>t,easeInQuad:t=>t*t,easeOutQuad:t=>-t*(t-2),easeInOutQuad:t=>(t/=.5)<1?.5*t*t:-.5*(--t*(t-2)-1),easeInCubic:t=>t*t*t,easeOutCubic:t=>(t-=1)*t*t+1,easeInOutCubic:t=>(t/=.5)<1?.5*t*t*t:.5*((t-=2)*t*t+2),easeInQuart:t=>t*t*t*t,easeOutQuart:t=>-((t-=1)*t*t*t-1),easeInOutQuart:t=>(t/=.5)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2),easeInQuint:t=>t*t*t*t*t,easeOutQuint:t=>(t-=1)*t*t*t*t+1,easeInOutQuint:t=>(t/=.5)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2),easeInSine:t=>-Math.cos(t*Re)+1,easeOutSine:t=>Math.sin(t*Re),easeInOutSine:t=>-.5*(Math.cos(Ae*t)-1),easeInExpo:t=>t===0?0:Math.pow(2,10*(t-1)),easeOutExpo:t=>t===1?1:-Math.pow(2,-10*t)+1,easeInOutExpo:t=>HS(t)?t:t<.5?.5*Math.pow(2,10*(t*2-1)):.5*(-Math.pow(2,-10*(t*2-1))+2),easeInCirc:t=>t>=1?t:-(Math.sqrt(1-t*t)-1),easeOutCirc:t=>Math.sqrt(1-(t-=1)*t),easeInOutCirc:t=>(t/=.5)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1),easeInElastic:t=>HS(t)?t:rD(t,.075,.3),easeOutElastic:t=>HS(t)?t:iD(t,.075,.3),easeInOutElastic(t){return HS(t)?t:t<.5?.5*rD(t*2,.1125,.45):.5+.5*iD(t*2-1,.1125,.45)},easeInBack(t){return t*t*((1.70158+1)*t-1.70158)},easeOutBack(t){return(t-=1)*t*((1.70158+1)*t+1.70158)+1},easeInOutBack(t){let e=1.70158;return(t/=.5)<1?.5*(t*t*(((e*=1.525)+1)*t-e)):.5*((t-=2)*t*(((e*=1.525)+1)*t+e)+2)},easeInBounce:t=>1-s1.easeOutBounce(1-t),easeOutBounce(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},easeInOutBounce:t=>t<.5?s1.easeInBounce(t*2)*.5:s1.easeOutBounce(t*2-1)*.5+.5};function tB(t){if(t&&typeof t=="object"){const e=t.toString();return e==="[object CanvasPattern]"||e==="[object CanvasGradient]"}return!1}function sD(t){return tB(t)?t:new e1(t)}function aB(t){return tB(t)?t:new e1(t).saturate(.5).darken(.1).hexString()}const IK=["x","y","borderWidth","radius","tension"],_K=["color","borderColor","backgroundColor"];function BK(t){t.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),t.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>e!=="onProgress"&&e!=="onComplete"&&e!=="fn"}),t.set("animations",{colors:{type:"color",properties:_K},numbers:{type:"number",properties:IK}}),t.describe("animations",{_fallback:"animation"}),t.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>e|0}}}})}function AK(t){t.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})}const lD=new Map;function VK(t,e){e=e||{};const n=t+JSON.stringify(e);let o=lD.get(n);return o||(o=new Intl.NumberFormat(t,e),lD.set(n,o)),o}function nB(t,e,n){return VK(e,n).format(t)}const PK={values(t){return $e(t)?t:""+t},numeric(t,e,n){if(t===0)return"0";const o=this.chart.options.locale;let r,i=t;if(n.length>1){const h=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(h<1e-4||h>1e15)&&(r="scientific"),i=DK(t,n)}const s=XP(Math.abs(i)),c=isNaN(s)?1:Math.max(Math.min(-1*Math.floor(s),20),0),d={notation:r,minimumFractionDigits:c,maximumFractionDigits:c};return Object.assign(d,this.options.ticks.format),nB(t,o,d)}};function DK(t,e){let n=e.length>3?e[2].value-e[1].value:e[1].value-e[0].value;return Math.abs(n)>=1&&t!==Math.floor(t)&&(n=t-Math.floor(t)),n}var cD={formatters:PK};function qK(t){t.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,n)=>n.lineWidth,tickColor:(e,n)=>n.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:cD.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),t.route("scale.ticks","color","","color"),t.route("scale.grid","color","","borderColor"),t.route("scale.border","color","","borderColor"),t.route("scale.title","color","","color"),t.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&e!=="callback"&&e!=="parser",_indexable:e=>e!=="borderDash"&&e!=="tickBorderDash"&&e!=="dash"}),t.describe("scales",{_fallback:"scale"}),t.describe("scale.ticks",{_scriptable:e=>e!=="backdropPadding"&&e!=="callback",_indexable:e=>e!=="backdropPadding"})}const ys=Object.create(null),oB=Object.create(null);function l1(t,e){if(!e)return t;const n=e.split(".");for(let o=0,r=n.length;o<r;++o){const i=n[o];t=t[i]||(t[i]=Object.create(null))}return t}function rB(t,e,n){return typeof e=="string"?t1(l1(t,e),n):t1(l1(t,""),e)}class zK{constructor(e,n){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=o=>o.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(o,r)=>aB(r.backgroundColor),this.hoverBorderColor=(o,r)=>aB(r.borderColor),this.hoverColor=(o,r)=>aB(r.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(n)}set(e,n){return rB(this,e,n)}get(e){return l1(this,e)}describe(e,n){return rB(oB,e,n)}override(e,n){return rB(ys,e,n)}route(e,n,o,r){const i=l1(this,e),s=l1(this,o),c="_"+n;Object.defineProperties(i,{[c]:{value:i[n],writable:!0},[n]:{enumerable:!0,get(){const d=this[c],h=s[r];return we(d)?Object.assign({},h,d):be(d,h)},set(d){this[c]=d}}})}apply(e){e.forEach(n=>n(this))}}var Fe=new zK({_scriptable:t=>!t.startsWith("on"),_indexable:t=>t!=="events",hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[BK,AK,qK]);function EK(t){return!t||Ie(t.size)||Ie(t.family)?null:(t.style?t.style+" ":"")+(t.weight?t.weight+" ":"")+t.size+"px "+t.family}function dD(t,e,n,o,r){let i=e[r];return i||(i=e[r]=t.measureText(r).width,n.push(r)),i>o&&(o=i),o}function fs(t,e,n){const o=t.currentDevicePixelRatio,r=n!==0?Math.max(n/2,.5):0;return Math.round((e-r)*o)/o+r}function hD(t,e){!e&&!t||(e=e||t.getContext("2d"),e.save(),e.resetTransform(),e.clearRect(0,0,t.width,t.height),e.restore())}function iB(t,e,n,o){uD(t,e,n,o,null)}function uD(t,e,n,o,r){let i,s,c,d,h,u,p,y;const f=e.pointStyle,m=e.rotation,k=e.radius;let g=(m||0)*uK;if(f&&typeof f=="object"&&(i=f.toString(),i==="[object HTMLImageElement]"||i==="[object HTMLCanvasElement]")){t.save(),t.translate(n,o),t.rotate(g),t.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),t.restore();return}if(!(isNaN(k)||k<=0)){switch(t.beginPath(),f){default:r?t.ellipse(n,o,r/2,k,0,0,ze):t.arc(n,o,k,0,ze),t.closePath();break;case"triangle":u=r?r/2:k,t.moveTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=KP,t.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),g+=KP,t.lineTo(n+Math.sin(g)*u,o-Math.cos(g)*k),t.closePath();break;case"rectRounded":h=k*.516,d=k-h,s=Math.cos(g+us)*d,p=Math.cos(g+us)*(r?r/2-h:d),c=Math.sin(g+us)*d,y=Math.sin(g+us)*(r?r/2-h:d),t.arc(n-p,o-c,h,g-Ae,g-Re),t.arc(n+y,o-s,h,g-Re,g),t.arc(n+p,o+c,h,g,g+Re),t.arc(n-y,o+s,h,g+Re,g+Ae),t.closePath();break;case"rect":if(!m){d=Math.SQRT1_2*k,u=r?r/2:d,t.rect(n-u,o-d,2*u,2*d);break}g+=us;case"rectRot":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+y,o-s),t.lineTo(n+p,o+c),t.lineTo(n-y,o+s),t.closePath();break;case"crossRot":g+=us;case"cross":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+p,o+c),t.moveTo(n+y,o-s),t.lineTo(n-y,o+s);break;case"star":p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+p,o+c),t.moveTo(n+y,o-s),t.lineTo(n-y,o+s),g+=us,p=Math.cos(g)*(r?r/2:k),s=Math.cos(g)*k,c=Math.sin(g)*k,y=Math.sin(g)*(r?r/2:k),t.moveTo(n-p,o-c),t.lineTo(n+p,o+c),t.moveTo(n+y,o-s),t.lineTo(n-y,o+s);break;case"line":s=r?r/2:Math.cos(g)*k,c=Math.sin(g)*k,t.moveTo(n-s,o-c),t.lineTo(n+s,o+c);break;case"dash":t.moveTo(n,o),t.lineTo(n+Math.cos(g)*(r?r/2:k),o+Math.sin(g)*k);break;case!1:t.closePath();break}t.fill(),e.borderWidth>0&&t.stroke()}}function c1(t,e,n){return n=n||.5,!e||t&&t.x>e.left-n&&t.x<e.right+n&&t.y>e.top-n&&t.y<e.bottom+n}function FS(t,e){t.save(),t.beginPath(),t.rect(e.left,e.top,e.right-e.left,e.bottom-e.top),t.clip()}function $S(t){t.restore()}function TK(t,e,n,o,r){if(!e)return t.lineTo(n.x,n.y);if(r==="middle"){const i=(e.x+n.x)/2;t.lineTo(i,e.y),t.lineTo(i,n.y)}else r==="after"!=!!o?t.lineTo(e.x,n.y):t.lineTo(n.x,e.y);t.lineTo(n.x,n.y)}function OK(t,e,n,o){if(!e)return t.lineTo(n.x,n.y);t.bezierCurveTo(o?e.cp1x:e.cp2x,o?e.cp1y:e.cp2y,o?n.cp2x:n.cp1x,o?n.cp2y:n.cp1y,n.x,n.y)}function HK(t,e){e.translation&&t.translate(e.translation[0],e.translation[1]),Ie(e.rotation)||t.rotate(e.rotation),e.color&&(t.fillStyle=e.color),e.textAlign&&(t.textAlign=e.textAlign),e.textBaseline&&(t.textBaseline=e.textBaseline)}function FK(t,e,n,o,r){if(r.strikethrough||r.underline){const i=t.measureText(o),s=e-i.actualBoundingBoxLeft,c=e+i.actualBoundingBoxRight,d=n-i.actualBoundingBoxAscent,h=n+i.actualBoundingBoxDescent,u=r.strikethrough?(d+h)/2:h;t.strokeStyle=t.fillStyle,t.beginPath(),t.lineWidth=r.decorationWidth||2,t.moveTo(s,u),t.lineTo(c,u),t.stroke()}}function $K(t,e){const n=t.fillStyle;t.fillStyle=e.color,t.fillRect(e.left,e.top,e.width,e.height),t.fillStyle=n}function d1(t,e,n,o,r,i={}){const s=$e(e)?e:[e],c=i.strokeWidth>0&&i.strokeColor!=="";let d,h;for(t.save(),t.font=r.string,HK(t,i),d=0;d<s.length;++d)h=s[d],i.backdrop&&$K(t,i.backdrop),c&&(i.strokeColor&&(t.strokeStyle=i.strokeColor),Ie(i.strokeWidth)||(t.lineWidth=i.strokeWidth),t.strokeText(h,n,o,i.maxWidth)),t.fillText(h,n,o,i.maxWidth),FK(t,n,o,h,i),o+=Number(r.lineHeight);t.restore()}function jS(t,e){const{x:n,y:o,w:r,h:i,radius:s}=e;t.arc(n+s.topLeft,o+s.topLeft,s.topLeft,1.5*Ae,Ae,!0),t.lineTo(n,o+i-s.bottomLeft),t.arc(n+s.bottomLeft,o+i-s.bottomLeft,s.bottomLeft,Ae,Re,!0),t.lineTo(n+r-s.bottomRight,o+i),t.arc(n+r-s.bottomRight,o+i-s.bottomRight,s.bottomRight,Re,0,!0),t.lineTo(n+r,o+s.topRight),t.arc(n+r-s.topRight,o+s.topRight,s.topRight,0,-Re,!0),t.lineTo(n+s.topLeft,o)}const jK=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,RK=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function NK(t,e){const n=(""+t).match(jK);if(!n||n[1]==="normal")return e*1.2;switch(t=+n[2],n[3]){case"px":return t;case"%":t/=100;break}return e*t}const UK=t=>+t||0;function sB(t,e){const n={},o=we(e),r=o?Object.keys(e):e,i=we(t)?o?s=>be(t[s],t[e[s]]):s=>t[s]:()=>t;for(const s of r)n[s]=UK(i(s));return n}function pD(t){return sB(t,{top:"y",right:"x",bottom:"y",left:"x"})}function al(t){return sB(t,["topLeft","topRight","bottomLeft","bottomRight"])}function kt(t){const e=pD(t);return e.width=e.left+e.right,e.height=e.top+e.bottom,e}function Ke(t,e){t=t||{},e=e||Fe.font;let n=be(t.size,e.size);typeof n=="string"&&(n=parseInt(n,10));let o=be(t.style,e.style);o&&!(""+o).match(RK)&&(console.warn('Invalid font style specified: "'+o+'"'),o=void 0);const r={family:be(t.family,e.family),lineHeight:NK(be(t.lineHeight,e.lineHeight),n),size:n,style:o,weight:be(t.weight,e.weight),string:""};return r.string=EK(r),r}function RS(t,e,n,o){let r,i,s;for(r=0,i=t.length;r<i;++r)if(s=t[r],s!==void 0&&s!==void 0)return s}function WK(t,e,n){const{min:o,max:r}=t,i=UP(e,(r-o)/2),s=(c,d)=>n&&c===0?0:c+d;return{min:s(o,-Math.abs(i)),max:s(r,i)}}function ms(t,e){return Object.assign(Object.create(t),e)}function lB(t,e=[""],n,o,r=()=>t[0]){const i=n||t;typeof o>"u"&&(o=gD("_fallback",t));const s={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:t,_rootScopes:i,_fallback:o,_getTarget:r,override:c=>lB([c,...t],e,i,o)};return new Proxy(s,{deleteProperty(c,d){return delete c[d],delete c._keys,delete t[0][d],!0},get(c,d){return fD(c,d,()=>eX(d,e,t,c))},getOwnPropertyDescriptor(c,d){return Reflect.getOwnPropertyDescriptor(c._scopes[0],d)},getPrototypeOf(){return Reflect.getPrototypeOf(t[0])},has(c,d){return bD(c).includes(d)},ownKeys(c){return bD(c)},set(c,d,h){const u=c._storage||(c._storage=r());return c[d]=u[d]=h,delete c._keys,!0}})}function nl(t,e,n,o){const r={_cacheable:!1,_proxy:t,_context:e,_subProxy:n,_stack:new Set,_descriptors:yD(t,o),setContext:i=>nl(t,i,n,o),override:i=>nl(t.override(i),e,n,o)};return new Proxy(r,{deleteProperty(i,s){return delete i[s],delete t[s],!0},get(i,s,c){return fD(i,s,()=>YK(i,s,c))},getOwnPropertyDescriptor(i,s){return i._descriptors.allKeys?Reflect.has(t,s)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(t,s)},getPrototypeOf(){return Reflect.getPrototypeOf(t)},has(i,s){return Reflect.has(t,s)},ownKeys(){return Reflect.ownKeys(t)},set(i,s,c){return t[s]=c,delete i[s],!0}})}function yD(t,e={scriptable:!0,indexable:!0}){const{_scriptable:n=e.scriptable,_indexable:o=e.indexable,_allKeys:r=e.allKeys}=t;return{allKeys:r,scriptable:n,indexable:o,isScriptable:Ra(n)?n:()=>n,isIndexable:Ra(o)?o:()=>o}}const GK=(t,e)=>t?t+Z_(e):e,cB=(t,e)=>we(e)&&t!=="adapters"&&(Object.getPrototypeOf(e)===null||e.constructor===Object);function fD(t,e,n){if(Object.prototype.hasOwnProperty.call(t,e)||e==="constructor")return t[e];const o=n();return t[e]=o,o}function YK(t,e,n){const{_proxy:o,_context:r,_subProxy:i,_descriptors:s}=t;let c=o[e];return Ra(c)&&s.isScriptable(e)&&(c=KK(e,c,t,n)),$e(c)&&c.length&&(c=XK(e,c,t,s.isIndexable)),cB(e,c)&&(c=nl(c,r,i&&i[e],s)),c}function KK(t,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_stack:c}=n;if(c.has(t))throw new Error("Recursion detected: "+Array.from(c).join("->")+"->"+t);c.add(t);let d=e(i,s||o);return c.delete(t),cB(t,d)&&(d=dB(r._scopes,r,t,d)),d}function XK(t,e,n,o){const{_proxy:r,_context:i,_subProxy:s,_descriptors:c}=n;if(typeof i.index<"u"&&o(t))return e[i.index%e.length];if(we(e[0])){const d=e,h=r._scopes.filter(u=>u!==d);e=[];for(const u of d){const p=dB(h,r,t,u);e.push(nl(p,i,s&&s[t],c))}}return e}function mD(t,e,n){return Ra(t)?t(e,n):t}const ZK=(t,e)=>t===!0?e:typeof t=="string"?hs(e,t):void 0;function JK(t,e,n,o,r){for(const i of e){const s=ZK(n,i);if(s){t.add(s);const c=mD(s._fallback,n,r);if(typeof c<"u"&&c!==n&&c!==o)return c}else if(s===!1&&typeof o<"u"&&n!==o)return null}return!1}function dB(t,e,n,o){const r=e._rootScopes,i=mD(e._fallback,n,o),s=[...t,...r],c=new Set;c.add(o);let d=kD(c,s,n,i||n,o);return d===null||typeof i<"u"&&i!==n&&(d=kD(c,s,i,d,o),d===null)?!1:lB(Array.from(c),[""],r,i,()=>QK(e,n,o))}function kD(t,e,n,o,r){for(;n;)n=JK(t,e,n,o,r);return n}function QK(t,e,n){const o=t._getTarget();e in o||(o[e]={});const r=o[e];return $e(r)&&we(n)?n:r||{}}function eX(t,e,n,o){let r;for(const i of e)if(r=gD(GK(i,t),n),typeof r<"u")return cB(t,r)?dB(n,o,t,r):r}function gD(t,e){for(const n of e){if(!n)continue;const o=n[t];if(typeof o<"u")return o}}function bD(t){let e=t._keys;return e||(e=t._keys=tX(t._scopes)),e}function tX(t){const e=new Set;for(const n of t)for(const o of Object.keys(n).filter(r=>!r.startsWith("_")))e.add(o);return Array.from(e)}const aX=Number.EPSILON||1e-14,ol=(t,e)=>e<t.length&&!t[e].skip&&t[e],MD=t=>t==="x"?"y":"x";function nX(t,e,n,o){const r=t.skip?e:t,i=e,s=n.skip?e:n,c=J_(i,r),d=J_(s,i);let h=c/(c+d),u=d/(c+d);h=isNaN(h)?0:h,u=isNaN(u)?0:u;const p=o*h,y=o*u;return{previous:{x:i.x-p*(s.x-r.x),y:i.y-p*(s.y-r.y)},next:{x:i.x+y*(s.x-r.x),y:i.y+y*(s.y-r.y)}}}function oX(t,e,n){const o=t.length;let r,i,s,c,d,h=ol(t,0);for(let u=0;u<o-1;++u)if(d=h,h=ol(t,u+1),!(!d||!h)){if(o1(e[u],0,aX)){n[u]=n[u+1]=0;continue}r=n[u]/e[u],i=n[u+1]/e[u],c=Math.pow(r,2)+Math.pow(i,2),!(c<=9)&&(s=3/Math.sqrt(c),n[u]=r*s*e[u],n[u+1]=i*s*e[u])}}function rX(t,e,n="x"){const o=MD(n),r=t.length;let i,s,c,d=ol(t,0);for(let h=0;h<r;++h){if(s=c,c=d,d=ol(t,h+1),!c)continue;const u=c[n],p=c[o];s&&(i=(u-s[n])/3,c[`cp1${n}`]=u-i,c[`cp1${o}`]=p-i*e[h]),d&&(i=(d[n]-u)/3,c[`cp2${n}`]=u+i,c[`cp2${o}`]=p+i*e[h])}}function iX(t,e="x"){const n=MD(e),o=t.length,r=Array(o).fill(0),i=Array(o);let s,c,d,h=ol(t,0);for(s=0;s<o;++s)if(c=d,d=h,h=ol(t,s+1),!!d){if(h){const u=h[e]-d[e];r[s]=u!==0?(h[n]-d[n])/u:0}i[s]=c?h?Xt(r[s-1])!==Xt(r[s])?0:(r[s-1]+r[s])/2:r[s-1]:r[s]}oX(t,r,i),rX(t,i,e)}function NS(t,e,n){return Math.max(Math.min(t,n),e)}function sX(t,e){let n,o,r,i,s,c=c1(t[0],e);for(n=0,o=t.length;n<o;++n)s=i,i=c,c=n<o-1&&c1(t[n+1],e),i&&(r=t[n],s&&(r.cp1x=NS(r.cp1x,e.left,e.right),r.cp1y=NS(r.cp1y,e.top,e.bottom)),c&&(r.cp2x=NS(r.cp2x,e.left,e.right),r.cp2y=NS(r.cp2y,e.top,e.bottom)))}function lX(t,e,n,o,r){let i,s,c,d;if(e.spanGaps&&(t=t.filter(h=>!h.skip)),e.cubicInterpolationMode==="monotone")iX(t,r);else{let h=o?t[t.length-1]:t[0];for(i=0,s=t.length;i<s;++i)c=t[i],d=nX(h,c,t[Math.min(i+1,s-(o?0:1))%s],e.tension),c.cp1x=d.previous.x,c.cp1y=d.previous.y,c.cp2x=d.next.x,c.cp2y=d.next.y,h=c}e.capBezierPoints&&sX(t,n)}function hB(){return typeof window<"u"&&typeof document<"u"}function uB(t){let e=t.parentNode;return e&&e.toString()==="[object ShadowRoot]"&&(e=e.host),e}function US(t,e,n){let o;return typeof t=="string"?(o=parseInt(t,10),t.indexOf("%")!==-1&&(o=o/100*e.parentNode[n])):o=t,o}const WS=t=>t.ownerDocument.defaultView.getComputedStyle(t,null);function cX(t,e){return WS(t).getPropertyValue(e)}const dX=["top","right","bottom","left"];function ks(t,e,n){const o={};n=n?"-"+n:"";for(let r=0;r<4;r++){const i=dX[r];o[i]=parseFloat(t[e+"-"+i+n])||0}return o.width=o.left+o.right,o.height=o.top+o.bottom,o}const hX=(t,e,n)=>(t>0||e>0)&&(!n||!n.shadowRoot);function uX(t,e){const n=t.touches,o=n&&n.length?n[0]:t,{offsetX:r,offsetY:i}=o;let s=!1,c,d;if(hX(r,i,t.target))c=r,d=i;else{const h=e.getBoundingClientRect();c=o.clientX-h.left,d=o.clientY-h.top,s=!0}return{x:c,y:d,box:s}}function gs(t,e){if("native"in t)return t;const{canvas:n,currentDevicePixelRatio:o}=e,r=WS(n),i=r.boxSizing==="border-box",s=ks(r,"padding"),c=ks(r,"border","width"),{x:d,y:h,box:u}=uX(t,n),p=s.left+(u&&c.left),y=s.top+(u&&c.top);let{width:f,height:m}=e;return i&&(f-=s.width+c.width,m-=s.height+c.height),{x:Math.round((d-p)/f*n.width/o),y:Math.round((h-y)/m*n.height/o)}}function pX(t,e,n){let o,r;if(e===void 0||n===void 0){const i=t&&uB(t);if(!i)e=t.clientWidth,n=t.clientHeight;else{const s=i.getBoundingClientRect(),c=WS(i),d=ks(c,"border","width"),h=ks(c,"padding");e=s.width-h.width-d.width,n=s.height-h.height-d.height,o=US(c.maxWidth,i,"clientWidth"),r=US(c.maxHeight,i,"clientHeight")}}return{width:e,height:n,maxWidth:o||OS,maxHeight:r||OS}}const Na=t=>Math.round(t*10)/10;function yX(t,e,n,o){const r=WS(t),i=ks(r,"margin"),s=US(r.maxWidth,t,"clientWidth")||OS,c=US(r.maxHeight,t,"clientHeight")||OS,d=pX(t,e,n);let{width:h,height:u}=d;if(r.boxSizing==="content-box"){const y=ks(r,"border","width"),f=ks(r,"padding");h-=f.width+y.width,u-=f.height+y.height}return h=Math.max(0,h-i.width),u=Math.max(0,o?h/o:u-i.height),h=Na(Math.min(h,s,d.maxWidth)),u=Na(Math.min(u,c,d.maxHeight)),h&&!u&&(u=Na(h/2)),(e!==void 0||n!==void 0)&&o&&d.height&&u>d.height&&(u=d.height,h=Na(Math.floor(u*o))),{width:h,height:u}}function xD(t,e,n){const o=e||1,r=Na(t.height*o),i=Na(t.width*o);t.height=Na(t.height),t.width=Na(t.width);const s=t.canvas;return s.style&&(n||!s.style.height&&!s.style.width)&&(s.style.height=`${t.height}px`,s.style.width=`${t.width}px`),t.currentDevicePixelRatio!==o||s.height!==r||s.width!==i?(t.currentDevicePixelRatio=o,s.height=r,s.width=i,t.ctx.setTransform(o,0,0,o,0,0),!0):!1}const fX=(function(){let t=!1;try{const e={get passive(){return t=!0,!1}};hB()&&(window.addEventListener("test",null,e),window.removeEventListener("test",null,e))}catch{}return t})();function wD(t,e){const n=cX(t,e),o=n&&n.match(/^(\d+)(\.\d+)?px$/);return o?+o[1]:void 0}function bs(t,e,n,o){return{x:t.x+n*(e.x-t.x),y:t.y+n*(e.y-t.y)}}function mX(t,e,n,o){return{x:t.x+n*(e.x-t.x),y:o==="middle"?n<.5?t.y:e.y:o==="after"?n<1?t.y:e.y:n>0?e.y:t.y}}function kX(t,e,n,o){const r={x:t.cp2x,y:t.cp2y},i={x:e.cp1x,y:e.cp1y},s=bs(t,r,n),c=bs(r,i,n),d=bs(i,e,n),h=bs(s,c,n),u=bs(c,d,n);return bs(h,u,n)}const gX=function(t,e){return{x(n){return t+t+e-n},setWidth(n){e=n},textAlign(n){return n==="center"?n:n==="right"?"left":"right"},xPlus(n,o){return n-o},leftForLtr(n,o){return n-o}}},bX=function(){return{x(t){return t},setWidth(t){},textAlign(t){return t},xPlus(t,e){return t+e},leftForLtr(t,e){return t}}};function rl(t,e,n){return t?gX(e,n):bX()}function vD(t,e){let n,o;(e==="ltr"||e==="rtl")&&(n=t.canvas.style,o=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",e,"important"),t.prevTextDirection=o)}function CD(t,e){e!==void 0&&(delete t.prevTextDirection,t.canvas.style.setProperty("direction",e[0],e[1]))}function LD(t){return t==="angle"?{between:i1,compare:gK,normalize:dt}:{between:ua,compare:(e,n)=>e-n,normalize:e=>e}}function SD({start:t,end:e,count:n,loop:o,style:r}){return{start:t%n,end:e%n,loop:o&&(e-t+1)%n===0,style:r}}function MX(t,e,n){const{property:o,start:r,end:i}=n,{between:s,normalize:c}=LD(o),d=e.length;let{start:h,end:u,loop:p}=t,y,f;if(p){for(h+=d,u+=d,y=0,f=d;y<f&&s(c(e[h%d][o]),r,i);++y)h--,u--;h%=d,u%=d}return u<h&&(u+=d),{start:h,end:u,loop:p,style:t.style}}function ID(t,e,n){if(!n)return[t];const{property:o,start:r,end:i}=n,s=e.length,{compare:c,between:d,normalize:h}=LD(o),{start:u,end:p,loop:y,style:f}=MX(t,e,n),m=[];let k=!1,g=null,b,w,S;const C=()=>d(r,S,b)&&c(r,S)!==0,x=()=>c(i,b)===0||d(i,S,b),M=()=>k||C(),v=()=>!k||x();for(let L=u,I=u;L<=p;++L)w=e[L%s],!w.skip&&(b=h(w[o]),b!==S&&(k=d(b,r,i),g===null&&M()&&(g=c(b,r)===0?L:I),g!==null&&v()&&(m.push(SD({start:g,end:L,loop:y,count:s,style:f})),g=null),I=L,S=b));return g!==null&&m.push(SD({start:g,end:p,loop:y,count:s,style:f})),m}function _D(t,e){const n=[],o=t.segments;for(let r=0;r<o.length;r++){const i=ID(o[r],t.points,e);i.length&&n.push(...i)}return n}function xX(t,e,n,o){let r=0,i=e-1;if(n&&!o)for(;r<e&&!t[r].skip;)r++;for(;r<e&&t[r].skip;)r++;for(r%=e,n&&(i+=r);i>r&&t[i%e].skip;)i--;return i%=e,{start:r,end:i}}function wX(t,e,n,o){const r=t.length,i=[];let s=e,c=t[e],d;for(d=e+1;d<=n;++d){const h=t[d%r];h.skip||h.stop?c.skip||(o=!1,i.push({start:e%r,end:(d-1)%r,loop:o}),e=s=h.stop?d:null):(s=d,c.skip&&(e=d)),c=h}return s!==null&&i.push({start:e%r,end:s%r,loop:o}),i}function vX(t,e){const n=t.points,o=t.options.spanGaps,r=n.length;if(!r)return[];const i=!!t._loop,{start:s,end:c}=xX(n,r,i,o);if(o===!0)return BD(t,[{start:s,end:c,loop:i}],n,e);const d=c<s?c+r:c,h=!!t._fullLoop&&s===0&&c===r-1;return BD(t,wX(n,s,d,h),n,e)}function BD(t,e,n,o){return!o||!o.setContext||!n?e:CX(t,e,n,o)}function CX(t,e,n,o){const r=t._chart.getContext(),i=AD(t.options),{_datasetIndex:s,options:{spanGaps:c}}=t,d=n.length,h=[];let u=i,p=e[0].start,y=p;function f(m,k,g,b){const w=c?-1:1;if(m!==k){for(m+=d;n[m%d].skip;)m-=w;for(;n[k%d].skip;)k+=w;m%d!==k%d&&(h.push({start:m%d,end:k%d,loop:g,style:b}),u=b,p=k%d)}}for(const m of e){p=c?p:m.start;let k=n[p%d],g;for(y=p+1;y<=m.end;y++){const b=n[y%d];g=AD(o.setContext(ms(r,{type:"segment",p0:k,p1:b,p0DataIndex:(y-1)%d,p1DataIndex:y%d,datasetIndex:s}))),LX(g,u)&&f(p,y-1,m.loop,u),k=b,u=g}p<y-1&&f(p,y-1,m.loop,u)}return h}function AD(t){return{backgroundColor:t.backgroundColor,borderCapStyle:t.borderCapStyle,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderJoinStyle:t.borderJoinStyle,borderWidth:t.borderWidth,borderColor:t.borderColor}}function LX(t,e){if(!e)return!1;const n=[],o=function(r,i){return tB(i)?(n.includes(i)||n.push(i),n.indexOf(i)):i};return JSON.stringify(t,o)!==JSON.stringify(e,o)}function GS(t,e,n){return t.options.clip?t[n]:e[n]}function SX(t,e){const{xScale:n,yScale:o}=t;return n&&o?{left:GS(n,e,"left"),right:GS(n,e,"right"),top:GS(o,e,"top"),bottom:GS(o,e,"bottom")}:e}function VD(t,e){const n=e._clip;if(n.disabled)return!1;const o=SX(e,t.chartArea);return{left:n.left===!1?0:o.left-(n.left===!0?0:n.left),right:n.right===!1?t.width:o.right+(n.right===!0?0:n.right),top:n.top===!1?0:o.top-(n.top===!0?0:n.top),bottom:n.bottom===!1?t.height:o.bottom+(n.bottom===!0?0:n.bottom)}}/*!
|
|
8560
8560
|
* Chart.js v4.5.1
|
|
8561
8561
|
* https://www.chartjs.org
|
|
8562
8562
|
* (c) 2025 Chart.js Contributors
|
|
8563
8563
|
* Released under the MIT License
|
|
8564
|
-
*/class SX{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,o,r){const i=n.listeners[r],s=n.duration;i.forEach(c=>c({chart:e,initial:n.initial,numSteps:s,currentStep:Math.min(o-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=nD.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((o,r)=>{if(!o.running||!o.items.length)return;const i=o.items;let s=i.length-1,c=!1,d;for(;s>=0;--s)d=i[s],d._active?(d._total>o.duration&&(o.duration=d._total),d.tick(e),c=!0):(i[s]=i[i.length-1],i.pop());c&&(r.draw(),this._notify(r,o,e,"progress")),i.length||(o.running=!1,this._notify(r,o,e,"complete"),o.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let o=n.get(e);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,o)),o}listen(e,n,o){this._getAnims(e).listeners[n].push(o)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((o,r)=>Math.max(o,r._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const o=n.items;let r=o.length-1;for(;r>=0;--r)o[r].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var pa=new SX;const PD="transparent",IX={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const o=sD(t||PD),r=o.valid&&sD(e||PD);return r&&r.valid?r.mix(o,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class _X{constructor(e,n,o,r){const i=n[o];r=jS([e.to,r,i,e.from]);const s=jS([e.from,i,r]);this._active=!0,this._fn=e.fn||IX[e.type||typeof s],this._easing=s1[e.easing]||s1.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=o,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(e,n,o){if(this._active){this._notify(!1);const r=this._target[this._prop],i=o-this._start,s=this._duration-i;this._start=o,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=jS([e.to,n,r,e.from]),this._from=jS([e.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,o=this._duration,r=this._prop,i=this._from,s=this._loop,c=this._to;let d;if(this._active=i!==c&&(s||n<o),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=i;return}d=n/o%2,d=s&&d>1?2-d:d,d=this._easing(Math.min(1,Math.max(0,d))),this._target[r]=this._fn(i,c,d)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,o)=>{e.push({res:n,rej:o})})}_notify(e){const n=e?"res":"rej",o=this._promises||[];for(let r=0;r<o.length;r++)o[r][n]()}}class DD{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!we(e))return;const n=Object.keys(Fe.animation),o=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const i=e[r];if(!we(i))return;const s={};for(const c of n)s[c]=i[c];($e(i.properties)&&i.properties||[r]).forEach(c=>{(c===r||!o.has(c))&&o.set(c,s)})})}_animateOptions(e,n){const o=n.options,r=AX(e,o);if(!r)return[];const i=this._createAnimations(r,o);return o.$shared&&BX(e.options.$animations,o).then(()=>{e.options=o},()=>{}),i}_createAnimations(e,n){const o=this._properties,r=[],i=e.$animations||(e.$animations={}),s=Object.keys(n),c=Date.now();let d;for(d=s.length-1;d>=0;--d){const h=s[d];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(e,n));continue}const u=n[h];let p=i[h];const y=o.get(h);if(p)if(y&&p.active()){p.update(y,u,c);continue}else p.cancel();if(!y||!y.duration){e[h]=u;continue}i[h]=p=new _X(y,e,h,u),r.push(p)}return r}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const o=this._createAnimations(e,n);if(o.length)return pa.add(this._chart,o),!0}}function BX(t,e){const n=[],o=Object.keys(e);for(let r=0;r<o.length;r++){const i=t[o[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function AX(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function qD(t,e){const n=t&&t.options||{},o=n.reverse,r=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:o?i:r,end:o?r:i}}function VX(t,e,n){if(n===!1)return!1;const o=qD(t,n),r=qD(e,n);return{top:r.end,right:o.end,bottom:r.start,left:o.start}}function PX(t){let e,n,o,r;return we(t)?(e=t.top,n=t.right,o=t.bottom,r=t.left):e=n=o=r=t,{top:e,right:n,bottom:o,left:r,disabled:t===!1}}function zD(t,e){const n=[],o=t._getSortedDatasetMetas(e);let r,i;for(r=0,i=o.length;r<i;++r)n.push(o[r].index);return n}function ED(t,e,n,o={}){const r=t.keys,i=o.mode==="single";let s,c,d,h;if(e===null)return;let u=!1;for(s=0,c=r.length;s<c;++s){if(d=+r[s],d===n){if(u=!0,o.all)continue;break}h=t.values[d],We(h)&&(i||e===0||Xt(e)===Xt(h))&&(e+=h)}return!u&&!o.all?0:e}function DX(t,e){const{iScale:n,vScale:o}=e,r=n.axis==="x"?"x":"y",i=o.axis==="x"?"x":"y",s=Object.keys(t),c=new Array(s.length);let d,h,u;for(d=0,h=s.length;d<h;++d)u=s[d],c[d]={[r]:u,[i]:t[u]};return c}function pB(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function qX(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function zX(t){const{min:e,max:n,minDefined:o,maxDefined:r}=t.getUserBounds();return{min:o?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function EX(t,e,n){const o=t[e]||(t[e]={});return o[n]||(o[n]={})}function TD(t,e,n,o){for(const r of e.getMatchingVisibleMetas(o).reverse()){const i=t[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function OD(t,e){const{chart:n,_cachedMeta:o}=t,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:c}=o,d=i.axis,h=s.axis,u=qX(i,s,o),p=e.length;let y;for(let f=0;f<p;++f){const m=e[f],{[d]:k,[h]:g}=m,b=m._stacks||(m._stacks={});y=b[h]=EX(r,u,k),y[c]=g,y._top=TD(y,s,!0,o.type),y._bottom=TD(y,s,!1,o.type);const w=y._visualValues||(y._visualValues={});w[c]=g}}function yB(t,e){const n=t.scales;return Object.keys(n).filter(o=>n[o].axis===e).shift()}function TX(t,e){return ms(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function OX(t,e,n){return ms(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function h1(t,e){const n=t.controller.index,o=t.vScale&&t.vScale.axis;if(o){e=e||t._parsed;for(const r of e){const i=r._stacks;if(!i||i[o]===void 0||i[o][n]===void 0)return;delete i[o][n],i[o]._visualValues!==void 0&&i[o]._visualValues[n]!==void 0&&delete i[o]._visualValues[n]}}}const fB=t=>t==="reset"||t==="none",HD=(t,e)=>e?t:Object.assign({},t),HX=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:zD(n,!0),values:null};class Ms{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=pB(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&h1(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,o=this.getDataset(),r=(p,y,f,m)=>p==="x"?y:p==="r"?m:f,i=n.xAxisID=be(o.xAxisID,yB(e,"x")),s=n.yAxisID=be(o.yAxisID,yB(e,"y")),c=n.rAxisID=be(o.rAxisID,yB(e,"r")),d=n.indexAxis,h=n.iAxisID=r(d,i,s,c),u=n.vAxisID=r(d,s,i,c);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(h),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&tD(this._data,this),e._stacked&&h1(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),o=this._data;if(we(n)){const r=this._cachedMeta;this._data=DX(n,r)}else if(o!==n){if(o){tD(o,this);const r=this._cachedMeta;h1(r),r._parsed=[]}n&&Object.isExtensible(n)&&xK(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=pB(n.vScale,n),n.stack!==o.stack&&(r=!0,h1(n),n.stack=o.stack),this._resyncElements(e),(r||i!==n._stacked)&&(OD(this,n._parsed),n._stacked=pB(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),o=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:o,_data:r}=this,{iScale:i,_stacked:s}=o,c=i.axis;let d=e===0&&n===r.length?!0:o._sorted,h=e>0&&o._parsed[e-1],u,p,y;if(this._parsing===!1)o._parsed=r,o._sorted=!0,y=r;else{$e(r[e])?y=this.parseArrayData(o,r,e,n):we(r[e])?y=this.parseObjectData(o,r,e,n):y=this.parsePrimitiveData(o,r,e,n);const f=()=>p[c]===null||h&&p[c]<h[c];for(u=0;u<n;++u)o._parsed[u+e]=p=y[u],d&&(f()&&(d=!1),h=p);o._sorted=d}s&&OD(this,y)}parsePrimitiveData(e,n,o,r){const{iScale:i,vScale:s}=e,c=i.axis,d=s.axis,h=i.getLabels(),u=i===s,p=new Array(r);let y,f,m;for(y=0,f=r;y<f;++y)m=y+o,p[y]={[c]:u||i.parse(h[m],m),[d]:s.parse(n[m],m)};return p}parseArrayData(e,n,o,r){const{xScale:i,yScale:s}=e,c=new Array(r);let d,h,u,p;for(d=0,h=r;d<h;++d)u=d+o,p=n[u],c[d]={x:i.parse(p[0],u),y:s.parse(p[1],u)};return c}parseObjectData(e,n,o,r){const{xScale:i,yScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=new Array(r);let u,p,y,f;for(u=0,p=r;u<p;++u)y=u+o,f=n[y],h[u]={x:i.parse(hs(f,c),y),y:s.parse(hs(f,d),y)};return h}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,o){const r=this.chart,i=this._cachedMeta,s=n[e.axis],c={keys:zD(r,!0),values:n._stacks[e.axis]._visualValues};return ED(c,s,i.index,{mode:o})}updateRangeFromParsed(e,n,o,r){const i=o[n.axis];let s=i===null?NaN:i;const c=r&&o._stacks[n.axis];r&&c&&(r.values=c,s=ED(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,n){const o=this._cachedMeta,r=o._parsed,i=o._sorted&&e===o.iScale,s=r.length,c=this._getOtherScale(e),d=HX(n,o,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:p}=zX(c);let y,f;function m(){f=r[y];const k=f[c.axis];return!We(f[e.axis])||u>k||p<k}for(y=0;y<s&&!(!m()&&(this.updateRangeFromParsed(h,e,f,d),i));++y);if(i){for(y=s-1;y>=0;--y)if(!m()){this.updateRangeFromParsed(h,e,f,d);break}}return h}getAllParsedValues(e){const n=this._cachedMeta._parsed,o=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][e.axis],We(s)&&o.push(s);return o}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,o=n.iScale,r=n.vScale,i=this.getParsed(e);return{label:o?""+o.getLabelForValue(i[o.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=PX(be(this.options.clip,VX(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,o=this._cachedMeta,r=o.data||[],i=n.chartArea,s=[],c=this._drawStart||0,d=this._drawCount||r.length-c,h=this.options.drawActiveElementsOnTop;let u;for(o.dataset&&o.dataset.draw(e,i,c,d),u=c;u<c+d;++u){const p=r[u];p.hidden||(p.active&&h?s.push(p):p.draw(e,i))}for(u=0;u<s.length;++u)s[u].draw(e,i)}getStyle(e,n){const o=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(e||0,o)}getContext(e,n,o){const r=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];i=s.$context||(s.$context=OX(this.getContext(),e,s)),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=TX(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=o,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",o){const r=n==="active",i=this._cachedDataOpts,s=e+"-"+n,c=i[s],d=this.enableOptionSharing&&n1(o);if(c)return HD(c,d);const h=this.chart.config,u=h.datasetElementScopeKeys(this._type,e),p=r?[`${e}Hover`,"hover",e,""]:[e,""],y=h.getOptionScopes(this.getDataset(),u),f=Object.keys(Fe.elements[e]),m=()=>this.getContext(o,r,n),k=h.resolveNamedOptions(y,f,m,p);return k.$shared&&(k.$shared=d,i[s]=Object.freeze(HD(k,d))),k}_resolveAnimations(e,n,o){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,c=i[s];if(c)return c;let d;if(r.options.animation!==!1){const u=this.chart.config,p=u.datasetAnimationScopeKeys(this._type,n),y=u.getOptionScopes(this.getDataset(),p);d=u.createResolver(y,this.getContext(e,o,n))}const h=new DD(r,d&&d.animations);return d&&d._cacheable&&(i[s]=Object.freeze(h)),h}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||fB(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const o=this.resolveDataElementOptions(e,n),r=this._sharedOptions,i=this.getSharedOptions(o),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,o),{sharedOptions:i,includeOptions:s}}updateElement(e,n,o,r){fB(r)?Object.assign(e,o):this._resolveAnimations(n,r).update(e,o)}updateSharedOptions(e,n,o){e&&!fB(n)&&this._resolveAnimations(void 0,n).update(e,o)}_setStyle(e,n,o,r){e.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,o,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,o){this._setStyle(e,o,"active",!1)}setHoverStyle(e,n,o){this._setStyle(e,o,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,o=this._cachedMeta.data;for(const[c,d,h]of this._syncList)this[c](d,h);this._syncList=[];const r=o.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,n,o=!0){const r=this._cachedMeta,i=r.data,s=e+n;let c;const d=h=>{for(h.length+=n,c=h.length-1;c>=s;c--)h[c]=h[c-n]};for(d(i),c=e;c<s;++c)i[c]=new this.dataElementType;this._parsing&&d(r._parsed),this.parse(e,n),o&&this.updateElements(i,e,n,"reset")}updateElements(e,n,o,r){}_removeElements(e,n){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(e,n);o._stacked&&h1(o,r)}o.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,o,r]=e;this[n](o,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const o=arguments.length-2;o&&this._sync(["_insertElements",e,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}se(Ms,"defaults",{}),se(Ms,"datasetElementType",null),se(Ms,"dataElementType",null);function FX(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let o=[];for(let r=0,i=n.length;r<i;r++)o=o.concat(n[r].controller.getAllParsedValues(t));t._cache.$bar=aD(o.sort((r,i)=>r-i))}return t._cache.$bar}function $X(t){const e=t.iScale,n=FX(e,t.type);let o=e._length,r,i,s,c;const d=()=>{s===32767||s===-32768||(n1(c)&&(o=Math.min(o,Math.abs(s-c)||o)),c=s)};for(r=0,i=n.length;r<i;++r)s=e.getPixelForValue(n[r]),d();for(c=void 0,r=0,i=e.ticks.length;r<i;++r)s=e.getPixelForTick(r),d();return o}function jX(t,e,n,o){const r=n.barThickness;let i,s;return Ie(r)?(i=e.min*n.categoryPercentage,s=n.barPercentage):(i=r*o,s=1),{chunk:i/o,ratio:s,start:e.pixels[t]-i/2}}function RX(t,e,n,o){const r=e.pixels,i=r[t];let s=t>0?r[t-1]:null,c=t<r.length-1?r[t+1]:null;const d=n.categoryPercentage;s===null&&(s=i-(c===null?e.end-e.start:c-i)),c===null&&(c=i+i-s);const h=i-(i-Math.min(s,c))/2*d;return{chunk:Math.abs(c-s)/2*d/o,ratio:n.barPercentage,start:h}}function NX(t,e,n,o){const r=n.parse(t[0],o),i=n.parse(t[1],o),s=Math.min(r,i),c=Math.max(r,i);let d=s,h=c;Math.abs(s)>Math.abs(c)&&(d=c,h=s),e[n.axis]=h,e._custom={barStart:d,barEnd:h,start:r,end:i,min:s,max:c}}function FD(t,e,n,o){return $e(t)?NX(t,e,n,o):e[n.axis]=n.parse(t,o),e}function $D(t,e,n,o){const r=t.iScale,i=t.vScale,s=r.getLabels(),c=r===i,d=[];let h,u,p,y;for(h=n,u=n+o;h<u;++h)y=e[h],p={},p[r.axis]=c||r.parse(s[h],h),d.push(FD(y,p,i,h));return d}function mB(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function UX(t,e,n){return t!==0?Xt(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function WX(t){let e,n,o,r,i;return t.horizontal?(e=t.base>t.x,n="left",o="right"):(e=t.base<t.y,n="bottom",o="top"),e?(r="end",i="start"):(r="start",i="end"),{start:n,end:o,reverse:e,top:r,bottom:i}}function GX(t,e,n,o){let r=e.borderSkipped;const i={};if(!r){t.borderSkipped=i;return}if(r===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:c,reverse:d,top:h,bottom:u}=WX(t);r==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===o?r=h:(n._bottom||0)===o?r=u:(i[jD(u,s,c,d)]=!0,r=h)),i[jD(r,s,c,d)]=!0,t.borderSkipped=i}function jD(t,e,n,o){return o?(t=YX(t,e,n),t=RD(t,n,e)):t=RD(t,e,n),t}function YX(t,e,n){return t===e?n:t===n?e:t}function RD(t,e,n){return t==="start"?e:t==="end"?n:t}function KX(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class GS extends Ms{parsePrimitiveData(e,n,o,r){return $D(e,n,o,r)}parseArrayData(e,n,o,r){return $D(e,n,o,r)}parseObjectData(e,n,o,r){const{iScale:i,vScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=i.axis==="x"?c:d,u=s.axis==="x"?c:d,p=[];let y,f,m,k;for(y=o,f=o+r;y<f;++y)k=n[y],m={},m[i.axis]=i.parse(hs(k,h),y),p.push(FD(hs(k,u),m,s,y));return p}updateRangeFromParsed(e,n,o,r){super.updateRangeFromParsed(e,n,o,r);const i=o._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:o,vScale:r}=n,i=this.getParsed(e),s=i._custom,c=mB(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+o.getLabelForValue(i[o.axis]),value:c}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,o,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:c}}=this,d=c.getBasePixel(),h=c.isHorizontal(),u=this._getRuler(),{sharedOptions:p,includeOptions:y}=this._getSharedOptions(n,r);for(let f=n;f<n+o;f++){const m=this.getParsed(f),k=i||Ie(m[c.axis])?{base:d,head:d}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),b=(m._stacks||{})[c.axis],w={horizontal:h,base:k.base,enableBorderRadius:!b||mB(m._custom)||s===b._top||s===b._bottom,x:h?k.head:g.center,y:h?g.center:k.head,height:h?g.size:Math.abs(k.size),width:h?Math.abs(k.size):g.size};y&&(w.options=p||this.resolveDataElementOptions(f,e[f].active?"active":r));const S=w.options||e[f].options;GX(w,S,b,s),KX(w,S,u.ratio),this.updateElement(e[f],f,w,r)}}_getStacks(e,n){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=o.options.stacked,s=[],c=this._cachedMeta.controller.getParsed(n),d=c&&c[o.axis],h=u=>{const p=u._parsed.find(f=>f[o.axis]===d),y=p&&p[u.vScale.axis];if(Ie(y)||isNaN(y))return!0};for(const u of r)if(!(n!==void 0&&h(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(o=>e[o].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const o of this.chart.data.datasets)e[be(this.chart.options.indexAxis==="x"?o.xAxisID:o.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,o){const r=this._getStacks(e,o),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,o=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(o.getPixelForValue(this.getParsed(i)[o.axis],i));const c=e.barThickness;return{min:c||$X(n),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:e.grouped,ratio:c?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:o,index:r},options:{base:i,minBarLength:s}}=this,c=i||0,d=this.getParsed(e),h=d._custom,u=mB(h);let p=d[n.axis],y=0,f=o?this.applyStack(n,d,o):p,m,k;f!==p&&(y=f-p,f=p),u&&(p=h.barStart,f=h.barEnd-h.barStart,p!==0&&Xt(p)!==Xt(h.barEnd)&&(y=0),y+=p);const g=!Ie(i)&&!u?i:y;let b=n.getPixelForValue(g);if(this.chart.getDataVisibility(e)?m=n.getPixelForValue(y+f):m=b,k=m-b,Math.abs(k)<s){k=UX(k,n,c)*s,p===c&&(b-=k/2);const w=n.getPixelForDecimal(0),S=n.getPixelForDecimal(1),C=Math.min(w,S),x=Math.max(w,S);b=Math.max(Math.min(b,x),C),m=b+k,o&&!u&&(d._stacks[n.axis]._visualValues[r]=n.getValueForPixel(m)-n.getValueForPixel(b))}if(b===n.getPixelForValue(c)){const w=Xt(k)*n.getLineWidthForValue(c)/2;b+=w,k-=w}return{size:k,base:b,head:m,center:m+k/2}}_calculateBarIndexPixels(e,n){const o=n.scale,r=this.options,i=r.skipNull,s=be(r.maxBarThickness,1/0);let c,d;const h=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(e):n.stackCount,p=r.barThickness==="flex"?RX(e,n,r,u*h):jX(e,n,r,u*h),y=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,f=this._getAxis().indexOf(be(y,this.getFirstScaleIdForIndexAxis())),m=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+f;c=p.start+p.chunk*m+p.chunk/2,d=Math.min(s,p.chunk*p.ratio)}else c=o.getPixelForValue(this.getParsed(e)[o.axis],e),d=Math.min(s,n.min*n.ratio);return{base:c-d/2,head:c+d/2,center:c,size:d}}draw(){const e=this._cachedMeta,n=e.vScale,o=e.data,r=o.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!o[i].hidden&&o[i].draw(this._ctx)}}se(GS,"id","bar"),se(GS,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),se(GS,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function XX(t,e,n){let o=1,r=1,i=0,s=0;if(e<ze){const c=t,d=c+e,h=Math.cos(c),u=Math.sin(c),p=Math.cos(d),y=Math.sin(d),f=(S,C,x)=>i1(S,c,d,!0)?1:Math.max(C,C*n,x,x*n),m=(S,C,x)=>i1(S,c,d,!0)?-1:Math.min(C,C*n,x,x*n),k=f(0,h,p),g=f(Re,u,y),b=m(Ae,h,p),w=m(Ae+Re,u,y);o=(k-b)/2,r=(g-w)/2,i=-(k+b)/2,s=-(g+w)/2}return{ratioX:o,ratioY:r,offsetX:i,offsetY:s}}class il extends Ms{constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const o=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=o;else{let i=d=>+o[d];if(we(o[e])){const{key:d="value"}=this._parsing;i=h=>+hs(o[h],d)}let s,c;for(s=e,c=e+n;s<c;++s)r._parsed[s]=i(s)}}_getRotation(){return ha(this.options.rotation-90)}_getCircumference(){return ha(this.options.circumference)}_getRotationExtents(){let e=ze,n=-ze;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,i=r._getRotation(),s=r._getCircumference();e=Math.min(e,i),n=Math.max(n,i+s)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:o}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,c=Math.max((Math.min(o.width,o.height)-s)/2,0),d=Math.min(oK(this.options.cutout,c),1),h=this._getRingWeight(this.index),{circumference:u,rotation:p}=this._getRotationExtents(),{ratioX:y,ratioY:f,offsetX:m,offsetY:k}=XX(p,u,d),g=(o.width-s)/y,b=(o.height-s)/f,w=Math.max(Math.min(g,b)/2,0),S=UP(this.options.radius,w),C=Math.max(S*d,0),x=(S-C)/this._getVisibleDatasetWeightTotal();this.offsetX=m*S,this.offsetY=k*S,r.total=this.calculateTotal(),this.outerRadius=S-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*h,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const o=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&o.animation.animateRotate||!this.chart.getDataVisibility(e)||r._parsed[e]===null||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/ze)}updateElements(e,n,o,r){const i=r==="reset",s=this.chart,c=s.chartArea,h=s.options.animation,u=(c.left+c.right)/2,p=(c.top+c.bottom)/2,y=i&&h.animateScale,f=y?0:this.innerRadius,m=y?0:this.outerRadius,{sharedOptions:k,includeOptions:g}=this._getSharedOptions(n,r);let b=this._getRotation(),w;for(w=0;w<n;++w)b+=this._circumference(w,i);for(w=n;w<n+o;++w){const S=this._circumference(w,i),C=e[w],x={x:u+this.offsetX,y:p+this.offsetY,startAngle:b,endAngle:b+S,circumference:S,outerRadius:m,innerRadius:f};g&&(x.options=k||this.resolveDataElementOptions(w,C.active?"active":r)),b+=S,this.updateElement(C,w,x,r)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let o=0,r;for(r=0;r<n.length;r++){const i=e._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(o+=Math.abs(i))}return o}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?ze*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,o=this.chart,r=o.data.labels||[],i=nB(n._parsed[e],o.options.locale);return{label:r[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const o=this.chart;let r,i,s,c,d;if(!e){for(r=0,i=o.data.datasets.length;r<i;++r)if(o.isDatasetVisible(r)){s=o.getDatasetMeta(r),e=s.data,c=s.controller;break}}if(!e)return 0;for(r=0,i=e.length;r<i;++r)d=c.resolveDataElementOptions(r),d.borderAlign!=="inner"&&(n=Math.max(n,d.borderWidth||0,d.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let o=0,r=e.length;o<r;++o){const i=this.resolveDataElementOptions(o);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let o=0;o<e;++o)this.chart.isDatasetVisible(o)&&(n+=this._getRingWeight(o));return n}_getRingWeight(e){return Math.max(be(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}se(il,"id","doughnut"),se(il,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),se(il,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),se(il,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((d,h)=>{const p=e.getDatasetMeta(0).controller.getStyle(h);return{text:d,fillStyle:p.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(h),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:r,pointStyle:o,borderRadius:s&&(c||p.borderRadius),index:h}}):[]}},onClick(e,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}});class YS extends Ms{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:o,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:c,count:d}=CK(n,r,s);this._drawStart=c,this._drawCount=d,LK(n)&&(c=0,d=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=r;const h=this.resolveDatasetElementOptions(e);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(o,void 0,{animated:!s,options:h},e),this.updateElements(r,c,d,e)}updateElements(e,n,o,r){const i=r==="reset",{iScale:s,vScale:c,_stacked:d,_dataset:h}=this._cachedMeta,{sharedOptions:u,includeOptions:p}=this._getSharedOptions(n,r),y=s.axis,f=c.axis,{spanGaps:m,segment:k}=this.options,g=r1(m)?m:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||i||r==="none",w=n+o,S=e.length;let C=n>0&&this.getParsed(n-1);for(let x=0;x<S;++x){const M=e[x],v=b?M:{};if(x<n||x>=w){v.skip=!0;continue}const L=this.getParsed(x),I=Ie(L[f]),_=v[y]=s.getPixelForValue(L[y],x),A=v[f]=i||I?c.getBasePixel():c.getPixelForValue(d?this.applyStack(c,L,d):L[f],x);v.skip=isNaN(_)||isNaN(A)||I,v.stop=x>0&&Math.abs(L[y]-C[y])>g,k&&(v.parsed=L,v.raw=h.data[x]),p&&(v.options=u||this.resolveDataElementOptions(x,M.active?"active":r)),b||this.updateElement(M,x,v,r),C=L}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,o=n.options&&n.options.borderWidth||0,r=e.data||[];if(!r.length)return o;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,i,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}se(YS,"id","line"),se(YS,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),se(YS,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class kB extends il{}se(kB,"id","pie"),se(kB,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function xs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class gB{constructor(e){se(this,"options");this.options=e||{}}static override(e){Object.assign(gB.prototype,e)}init(){}formats(){return xs()}parse(){return xs()}format(){return xs()}add(){return xs()}diff(){return xs()}startOf(){return xs()}endOf(){return xs()}}var ZX={_date:gB};function JX(t,e,n,o){const{controller:r,data:i,_sorted:s}=t,c=r._cachedMeta.iScale,d=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(c&&e===c.axis&&e!=="r"&&s&&i.length){const h=c._reversePixels?bK:ps;if(o){if(r._sharedOptions){const u=i[0],p=typeof u.getRange=="function"&&u.getRange(e);if(p){const y=h(i,e,n-p),f=h(i,e,n+p);return{lo:y.lo,hi:f.hi}}}}else{const u=h(i,e,n);if(d){const{vScale:p}=r._cachedMeta,{_parsed:y}=t,f=y.slice(0,u.lo+1).reverse().findIndex(k=>!Ie(k[p.axis]));u.lo-=Math.max(0,f);const m=y.slice(u.hi).findIndex(k=>!Ie(k[p.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:i.length-1}}function KS(t,e,n,o,r){const i=t.getSortedVisibleDatasetMetas(),s=n[e];for(let c=0,d=i.length;c<d;++c){const{index:h,data:u}=i[c],{lo:p,hi:y}=JX(i[c],e,s,r);for(let f=p;f<=y;++f){const m=u[f];m.skip||o(m,h,f)}}}function QX(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(o,r){const i=e?Math.abs(o.x-r.x):0,s=n?Math.abs(o.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function bB(t,e,n,o,r){const i=[];return!r&&!t.isPointInArea(e)||KS(t,n,e,function(c,d,h){!r&&!c1(c,t.chartArea,0)||c.inRange(e.x,e.y,o)&&i.push({element:c,datasetIndex:d,index:h})},!0),i}function eZ(t,e,n,o){let r=[];function i(s,c,d){const{startAngle:h,endAngle:u}=s.getProps(["startAngle","endAngle"],o),{angle:p}=QP(s,{x:e.x,y:e.y});i1(p,h,u)&&r.push({element:s,datasetIndex:c,index:d})}return KS(t,n,e,i),r}function tZ(t,e,n,o,r,i){let s=[];const c=QX(n);let d=Number.POSITIVE_INFINITY;function h(u,p,y){const f=u.inRange(e.x,e.y,r);if(o&&!f)return;const m=u.getCenterPoint(r);if(!(!!i||t.isPointInArea(m))&&!f)return;const g=c(e,m);g<d?(s=[{element:u,datasetIndex:p,index:y}],d=g):g===d&&s.push({element:u,datasetIndex:p,index:y})}return KS(t,n,e,h),s}function MB(t,e,n,o,r,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!o?eZ(t,e,n,r):tZ(t,e,n,o,r,i)}function ND(t,e,n,o,r){const i=[],s=n==="x"?"inXRange":"inYRange";let c=!1;return KS(t,n,e,(d,h,u)=>{d[s]&&d[s](e[n],r)&&(i.push({element:d,datasetIndex:h,index:u}),c=c||d.inRange(e.x,e.y,r))}),o&&!c?[]:i}var aZ={modes:{index(t,e,n,o){const r=gs(e,t),i=n.axis||"x",s=n.includeInvisible||!1,c=n.intersect?bB(t,r,i,o,s):MB(t,r,i,!1,o,s),d=[];return c.length?(t.getSortedVisibleDatasetMetas().forEach(h=>{const u=c[0].index,p=h.data[u];p&&!p.skip&&d.push({element:p,datasetIndex:h.index,index:u})}),d):[]},dataset(t,e,n,o){const r=gs(e,t),i=n.axis||"xy",s=n.includeInvisible||!1;let c=n.intersect?bB(t,r,i,o,s):MB(t,r,i,!1,o,s);if(c.length>0){const d=c[0].datasetIndex,h=t.getDatasetMeta(d).data;c=[];for(let u=0;u<h.length;++u)c.push({element:h[u],datasetIndex:d,index:u})}return c},point(t,e,n,o){const r=gs(e,t),i=n.axis||"xy",s=n.includeInvisible||!1;return bB(t,r,i,o,s)},nearest(t,e,n,o){const r=gs(e,t),i=n.axis||"xy",s=n.includeInvisible||!1;return MB(t,r,i,n.intersect,o,s)},x(t,e,n,o){const r=gs(e,t);return ND(t,r,"x",n.intersect,o)},y(t,e,n,o){const r=gs(e,t);return ND(t,r,"y",n.intersect,o)}}};const UD=["left","top","right","bottom"];function u1(t,e){return t.filter(n=>n.pos===e)}function WD(t,e){return t.filter(n=>UD.indexOf(n.pos)===-1&&n.box.axis===e)}function p1(t,e){return t.sort((n,o)=>{const r=e?o:n,i=e?n:o;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function nZ(t){const e=[];let n,o,r,i,s,c;for(n=0,o=(t||[]).length;n<o;++n)r=t[n],{position:i,options:{stack:s,stackWeight:c=1}}=r,e.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:c});return e}function oZ(t){const e={};for(const n of t){const{stack:o,pos:r,stackWeight:i}=n;if(!o||!UD.includes(r))continue;const s=e[o]||(e[o]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return e}function rZ(t,e){const n=oZ(t),{vBoxMaxWidth:o,hBoxMaxHeight:r}=e;let i,s,c;for(i=0,s=t.length;i<s;++i){c=t[i];const{fullSize:d}=c.box,h=n[c.stack],u=h&&c.stackWeight/h.weight;c.horizontal?(c.width=u?u*o:d&&e.availableWidth,c.height=r):(c.width=o,c.height=u?u*r:d&&e.availableHeight)}return n}function iZ(t){const e=nZ(t),n=p1(e.filter(h=>h.box.fullSize),!0),o=p1(u1(e,"left"),!0),r=p1(u1(e,"right")),i=p1(u1(e,"top"),!0),s=p1(u1(e,"bottom")),c=WD(e,"x"),d=WD(e,"y");return{fullSize:n,leftAndTop:o.concat(i),rightAndBottom:r.concat(d).concat(s).concat(c),chartArea:u1(e,"chartArea"),vertical:o.concat(r).concat(d),horizontal:i.concat(s).concat(c)}}function GD(t,e,n,o){return Math.max(t[n],e[n])+Math.max(t[o],e[o])}function YD(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function sZ(t,e,n,o){const{pos:r,box:i}=n,s=t.maxPadding;if(!we(r)){n.size&&(t[r]-=n.size);const p=o[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,t[r]+=n.size}i.getPadding&&YD(s,i.getPadding());const c=Math.max(0,e.outerWidth-GD(s,t,"left","right")),d=Math.max(0,e.outerHeight-GD(s,t,"top","bottom")),h=c!==t.w,u=d!==t.h;return t.w=c,t.h=d,n.horizontal?{same:h,other:u}:{same:u,other:h}}function lZ(t){const e=t.maxPadding;function n(o){const r=Math.max(e[o]-t[o],0);return t[o]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function cZ(t,e){const n=e.maxPadding;function o(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(e[s],n[s])}),i}return o(t?["left","right"]:["top","bottom"])}function y1(t,e,n,o){const r=[];let i,s,c,d,h,u;for(i=0,s=t.length,h=0;i<s;++i){c=t[i],d=c.box,d.update(c.width||e.w,c.height||e.h,cZ(c.horizontal,e));const{same:p,other:y}=sZ(e,n,c,o);h|=p&&r.length,u=u||y,d.fullSize||r.push(c)}return h&&y1(r,e,n,o)||u}function XS(t,e,n,o,r){t.top=n,t.left=e,t.right=e+o,t.bottom=n+r,t.width=o,t.height=r}function KD(t,e,n,o){const r=n.padding;let{x:i,y:s}=e;for(const c of t){const d=c.box,h=o[c.stack]||{placed:0,weight:1},u=c.stackWeight/h.weight||1;if(c.horizontal){const p=e.w*u,y=h.size||d.height;n1(h.start)&&(s=h.start),d.fullSize?XS(d,r.left,s,n.outerWidth-r.right-r.left,y):XS(d,e.left+h.placed,s,p,y),h.start=s,h.placed+=p,s=d.bottom}else{const p=e.h*u,y=h.size||d.width;n1(h.start)&&(i=h.start),d.fullSize?XS(d,i,r.top,y,n.outerHeight-r.bottom-r.top):XS(d,i,e.top+h.placed,y,p),h.start=i,h.placed+=p,i=d.right}}e.x=i,e.y=s}var gt={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,o){if(!t)return;const r=kt(t.options.layout.padding),i=Math.max(e-r.width,0),s=Math.max(n-r.height,0),c=iZ(t.boxes),d=c.vertical,h=c.horizontal;Be(t.boxes,k=>{typeof k.beforeLayout=="function"&&k.beforeLayout()});const u=d.reduce((k,g)=>g.box.options&&g.box.options.display===!1?k:k+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),y=Object.assign({},r);YD(y,kt(o));const f=Object.assign({maxPadding:y,w:i,h:s,x:r.left,y:r.top},r),m=rZ(d.concat(h),p);y1(c.fullSize,f,p,m),y1(d,f,p,m),y1(h,f,p,m)&&y1(d,f,p,m),lZ(f),KD(c.leftAndTop,f,p,m),f.x+=f.w,f.y+=f.h,KD(c.rightAndBottom,f,p,m),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Be(c.chartArea,k=>{const g=k.box;Object.assign(g,t.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class XD{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,o){}removeEventListener(e,n,o){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,o,r){return n=Math.max(0,n||e.width),o=o||e.height,{width:n,height:Math.max(0,r?Math.floor(n/r):o)}}isAttached(e){return!0}updateConfig(e){}}class dZ extends XD{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const ZS="$chartjs",hZ={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ZD=t=>t===null||t==="";function uZ(t,e){const n=t.style,o=t.getAttribute("height"),r=t.getAttribute("width");if(t[ZS]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",ZD(r)){const i=wD(t,"width");i!==void 0&&(t.width=i)}if(ZD(o))if(t.style.height==="")t.height=t.width/(e||2);else{const i=wD(t,"height");i!==void 0&&(t.height=i)}return t}const JD=yX?{passive:!0}:!1;function pZ(t,e,n){t&&t.addEventListener(e,n,JD)}function yZ(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,JD)}function fZ(t,e){const n=hZ[t.type]||t.type,{x:o,y:r}=gs(t,e);return{type:n,chart:e,native:t,x:o!==void 0?o:null,y:r!==void 0?r:null}}function JS(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function mZ(t,e,n){const o=t.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||JS(c.addedNodes,o),s=s&&!JS(c.removedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function kZ(t,e,n){const o=t.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||JS(c.removedNodes,o),s=s&&!JS(c.addedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const f1=new Map;let QD=0;function eq(){const t=window.devicePixelRatio;t!==QD&&(QD=t,f1.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function gZ(t,e){f1.size||window.addEventListener("resize",eq),f1.set(t,e)}function bZ(t){f1.delete(t),f1.size||window.removeEventListener("resize",eq)}function MZ(t,e,n){const o=t.canvas,r=o&&uB(o);if(!r)return;const i=oD((c,d)=>{const h=r.clientWidth;n(c,d),h<r.clientWidth&&n()},window),s=new ResizeObserver(c=>{const d=c[0],h=d.contentRect.width,u=d.contentRect.height;h===0&&u===0||i(h,u)});return s.observe(r),gZ(t,i),s}function xB(t,e,n){n&&n.disconnect(),e==="resize"&&bZ(t)}function xZ(t,e,n){const o=t.canvas,r=oD(i=>{t.ctx!==null&&n(fZ(i,t))},t);return pZ(o,e,r),r}class wZ extends XD{acquireContext(e,n){const o=e&&e.getContext&&e.getContext("2d");return o&&o.canvas===e?(uZ(e,n),o):null}releaseContext(e){const n=e.canvas;if(!n[ZS])return!1;const o=n[ZS].initial;["height","width"].forEach(i=>{const s=o[i];Ie(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=o.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[ZS],!0}addEventListener(e,n,o){this.removeEventListener(e,n);const r=e.$proxies||(e.$proxies={}),s={attach:mZ,detach:kZ,resize:MZ}[n]||xZ;r[n]=s(e,n,o)}removeEventListener(e,n){const o=e.$proxies||(e.$proxies={}),r=o[n];if(!r)return;({attach:xB,detach:xB,resize:xB}[n]||yZ)(e,n,r),o[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,o,r){return pX(e,n,o,r)}isAttached(e){const n=e&&uB(e);return!!(n&&n.isConnected)}}function vZ(t){return!hB()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?dZ:wZ}let ya=(hI=class{constructor(){se(this,"x");se(this,"y");se(this,"active",!1);se(this,"options");se(this,"$animations")}tooltipPosition(e){const{x:n,y:o}=this.getProps(["x","y"],e);return{x:n,y:o}}hasValue(){return r1(this.x)&&r1(this.y)}getProps(e,n){const o=this.$animations;if(!n||!o)return this;const r={};return e.forEach(i=>{r[i]=o[i]&&o[i].active()?o[i]._to:this[i]}),r}},se(hI,"defaults",{}),se(hI,"defaultRoutes"),hI);function CZ(t,e){const n=t.options.ticks,o=LZ(t),r=Math.min(n.maxTicksLimit||o,o),i=n.major.enabled?IZ(e):[],s=i.length,c=i[0],d=i[s-1],h=[];if(s>r)return _Z(e,h,i,s/r),h;const u=SZ(i,e,r);if(s>0){let p,y;const f=s>1?Math.round((d-c)/(s-1)):null;for(QS(e,h,u,Ie(f)?0:c-f,c),p=0,y=s-1;p<y;p++)QS(e,h,u,i[p],i[p+1]);return QS(e,h,u,d,Ie(f)?e.length:d+f),h}return QS(e,h,u),h}function LZ(t){const e=t.options.offset,n=t._tickSize(),o=t._length/n+(e?0:1),r=t._maxLength/n;return Math.floor(Math.min(o,r))}function SZ(t,e,n){const o=BZ(t),r=e.length/n;if(!o)return Math.max(r,1);const i=uK(o);for(let s=0,c=i.length-1;s<c;s++){const d=i[s];if(d>r)return d}return Math.max(r,1)}function IZ(t){const e=[];let n,o;for(n=0,o=t.length;n<o;n++)t[n].major&&e.push(n);return e}function _Z(t,e,n,o){let r=0,i=n[0],s;for(o=Math.ceil(o),s=0;s<t.length;s++)s===i&&(e.push(t[s]),r++,i=n[r*o])}function QS(t,e,n,o,r){const i=be(o,0),s=Math.min(be(r,t.length),t.length);let c=0,d,h,u;for(n=Math.ceil(n),r&&(d=r-o,n=d/Math.floor(d/n)),u=i;u<0;)c++,u=Math.round(i+c*n);for(h=Math.max(i,0);h<s;h++)h===u&&(e.push(t[h]),c++,u=Math.round(i+c*n))}function BZ(t){const e=t.length;let n,o;if(e<2)return!1;for(o=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==o)return!1;return o}const AZ=t=>t==="left"?"right":t==="right"?"left":t,tq=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,aq=(t,e)=>Math.min(e||t,t);function nq(t,e){const n=[],o=t.length/e,r=t.length;let i=0;for(;i<r;i+=o)n.push(t[Math.floor(i)]);return n}function VZ(t,e,n){const o=t.ticks.length,r=Math.min(e,o-1),i=t._startPixel,s=t._endPixel,c=1e-6;let d=t.getPixelForTick(r),h;if(!(n&&(o===1?h=Math.max(d-i,s-d):e===0?h=(t.getPixelForTick(1)-d)/2:h=(d-t.getPixelForTick(r-1))/2,d+=r<e?h:-h,d<i-c||d>s+c)))return d}function PZ(t,e){Be(t,n=>{const o=n.gc,r=o.length/2;let i;if(r>e){for(i=0;i<r;++i)delete n.data[o[i]];o.splice(0,r)}})}function m1(t){return t.drawTicks?t.tickLength:0}function oq(t,e){if(!t.display)return 0;const n=Ke(t.font,e),o=kt(t.padding);return($e(t.text)?t.text.length:1)*n.lineHeight+o.height}function DZ(t,e){return ms(t,{scale:e,type:"scale"})}function qZ(t,e,n){return ms(t,{tick:n,index:e,type:"tick"})}function zZ(t,e,n){let o=eB(t);return(n&&e!=="right"||!n&&e==="right")&&(o=AZ(o)),o}function EZ(t,e,n,o){const{top:r,left:i,bottom:s,right:c,chart:d}=t,{chartArea:h,scales:u}=d;let p=0,y,f,m;const k=s-r,g=c-i;if(t.isHorizontal()){if(f=Ye(o,i,c),we(n)){const b=Object.keys(n)[0],w=n[b];m=u[b].getPixelForValue(w)+k-e}else n==="center"?m=(h.bottom+h.top)/2+k-e:m=tq(t,n,e);y=c-i}else{if(we(n)){const b=Object.keys(n)[0],w=n[b];f=u[b].getPixelForValue(w)-g+e}else n==="center"?f=(h.left+h.right)/2-g+e:f=tq(t,n,e);m=Ye(o,s,r),p=n==="left"?-Re:Re}return{titleX:f,titleY:m,maxWidth:y,rotation:p}}class sl extends ya{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:o,_suggestedMax:r}=this;return e=Kt(e,Number.POSITIVE_INFINITY),n=Kt(n,Number.NEGATIVE_INFINITY),o=Kt(o,Number.POSITIVE_INFINITY),r=Kt(r,Number.NEGATIVE_INFINITY),{min:Kt(e,o),max:Kt(n,r),minDefined:We(e),maxDefined:We(n)}}getMinMax(e){let{min:n,max:o,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:o};const c=this.getMatchingVisibleMetas();for(let d=0,h=c.length;d<h;++d)s=c[d].controller.getMinMax(this,e),r||(n=Math.min(n,s.min)),i||(o=Math.max(o,s.max));return n=i&&n>o?o:n,o=r&&n>o?n:o,{min:Kt(n,Kt(o,n)),max:Kt(o,Kt(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pe(this.options.beforeUpdate,[this])}update(e,n,o){const{beginAtZero:r,grace:i,ticks:s}=this.options,c=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=UK(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const d=c<this.ticks.length;this._convertTicksToLabels(d?nq(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=CZ(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),d&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,o;this.isHorizontal()?(n=this.left,o=this.right):(n=this.top,o=this.bottom,e=!e),this._startPixel=n,this._endPixel=o,this._reversePixels=e,this._length=o-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Pe(this.options.afterUpdate,[this])}beforeSetDimensions(){Pe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Pe(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Pe(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Pe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let o,r,i;for(o=0,r=e.length;o<r;o++)i=e[o],i.label=Pe(n.callback,[i.value,o,e],this)}afterTickToLabelConversion(){Pe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Pe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,o=aq(this.ticks.length,e.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,c,d,h;if(!this._isVisible()||!n.display||r>=i||o<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),p=u.widest.width,y=u.highest.height,f=Ge(this.chart.width-p,0,this.maxWidth);c=e.offset?this.maxWidth/o:f/(o-1),p+6>c&&(c=f/(o-(e.offset?.5:1)),d=this.maxHeight-m1(e.grid)-n.padding-oq(e.title,this.chart.options.font),h=Math.sqrt(p*p+y*y),s=mK(Math.min(Math.asin(Ge((u.highest.height+6)/c,-1,1)),Math.asin(Ge(d/h,-1,1))-Math.asin(Ge(y/h,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){Pe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pe(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:o,title:r,grid:i}}=this,s=this._isVisible(),c=this.isHorizontal();if(s){const d=oq(r,n.options.font);if(c?(e.width=this.maxWidth,e.height=m1(i)+d):(e.height=this.maxHeight,e.width=m1(i)+d),o.display&&this.ticks.length){const{first:h,last:u,widest:p,highest:y}=this._getLabelSizes(),f=o.padding*2,m=ha(this.labelRotation),k=Math.cos(m),g=Math.sin(m);if(c){const b=o.mirror?0:g*p.width+k*y.height;e.height=Math.min(this.maxHeight,e.height+b+f)}else{const b=o.mirror?0:k*p.width+g*y.height;e.width=Math.min(this.maxWidth,e.width+b+f)}this._calculatePadding(h,u,g,k)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,o,r){const{ticks:{align:i,padding:s},position:c}=this.options,d=this.labelRotation!==0,h=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let y=0,f=0;d?h?(y=r*e.width,f=o*n.height):(y=o*e.height,f=r*n.width):i==="start"?f=n.width:i==="end"?y=e.width:i!=="inner"&&(y=e.width/2,f=n.width/2),this.paddingLeft=Math.max((y-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-p+s)*this.width/(this.width-p),0)}else{let u=n.height/2,p=e.height/2;i==="start"?(u=0,p=e.height):i==="end"&&(u=n.height,p=0),this.paddingTop=u+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pe(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,o;for(n=0,o=e.length;n<o;n++)Ie(e[n].label)&&(e.splice(n,1),o--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let o=this.ticks;n<o.length&&(o=nq(o,n)),this._labelSizes=e=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,o){const{ctx:r,_longestTextCache:i}=this,s=[],c=[],d=Math.floor(n/aq(n,o));let h=0,u=0,p,y,f,m,k,g,b,w,S,C,x;for(p=0;p<n;p+=d){if(m=e[p].label,k=this._resolveTickFontOptions(p),r.font=g=k.string,b=i[g]=i[g]||{data:{},gc:[]},w=k.lineHeight,S=C=0,!Ie(m)&&!$e(m))S=dD(r,b.data,b.gc,S,m),C=w;else if($e(m))for(y=0,f=m.length;y<f;++y)x=m[y],!Ie(x)&&!$e(x)&&(S=dD(r,b.data,b.gc,S,x),C+=w);s.push(S),c.push(C),h=Math.max(S,h),u=Math.max(C,u)}PZ(i,n);const M=s.indexOf(h),v=c.indexOf(u),L=I=>({width:s[I]||0,height:c[I]||0});return{first:L(0),last:L(n-1),widest:L(M),highest:L(v),widths:s,heights:c}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return gK(this._alignToPixels?fs(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const o=n[e];return o.$context||(o.$context=qZ(this.getContext(),e,o))}return this.$context||(this.$context=DZ(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=ha(this.labelRotation),o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=e.autoSkipPadding||0,c=i?i.widest.width+s:0,d=i?i.highest.height+s:0;return this.isHorizontal()?d*o>c*r?c/o:d/r:d*r<c*o?d/o:c/r}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,o=this.chart,r=this.options,{grid:i,position:s,border:c}=r,d=i.offset,h=this.isHorizontal(),p=this.ticks.length+(d?1:0),y=m1(i),f=[],m=c.setContext(this.getContext()),k=m.display?m.width:0,g=k/2,b=function(T){return fs(o,T,k)};let w,S,C,x,M,v,L,I,_,A,V,q;if(s==="top")w=b(this.bottom),v=this.bottom-y,I=w-g,A=b(e.top)+g,q=e.bottom;else if(s==="bottom")w=b(this.top),A=e.top,q=b(e.bottom)-g,v=w+g,I=this.top+y;else if(s==="left")w=b(this.right),M=this.right-y,L=w-g,_=b(e.left)+g,V=e.right;else if(s==="right")w=b(this.left),_=e.left,V=b(e.right)-g,M=w+g,L=this.left+y;else if(n==="x"){if(s==="center")w=b((e.top+e.bottom)/2+.5);else if(we(s)){const T=Object.keys(s)[0],H=s[T];w=b(this.chart.scales[T].getPixelForValue(H))}A=e.top,q=e.bottom,v=w+g,I=v+y}else if(n==="y"){if(s==="center")w=b((e.left+e.right)/2);else if(we(s)){const T=Object.keys(s)[0],H=s[T];w=b(this.chart.scales[T].getPixelForValue(H))}M=w-g,L=M-y,_=e.left,V=e.right}const O=be(r.ticks.maxTicksLimit,p),N=Math.max(1,Math.ceil(p/O));for(S=0;S<p;S+=N){const T=this.getContext(S),H=i.setContext(T),j=c.setContext(T),Z=H.lineWidth,P=H.color,D=j.dash||[],G=j.dashOffset,ne=H.tickWidth,te=H.tickColor,ce=H.tickBorderDash||[],pe=H.tickBorderDashOffset;C=VZ(this,S,d),C!==void 0&&(x=fs(o,C,Z),h?M=L=_=V=x:v=I=A=q=x,f.push({tx1:M,ty1:v,tx2:L,ty2:I,x1:_,y1:A,x2:V,y2:q,width:Z,color:P,borderDash:D,borderDashOffset:G,tickWidth:ne,tickColor:te,tickBorderDash:ce,tickBorderDashOffset:pe}))}return this._ticksLength=p,this._borderValue=w,f}_computeLabelItems(e){const n=this.axis,o=this.options,{position:r,ticks:i}=o,s=this.isHorizontal(),c=this.ticks,{align:d,crossAlign:h,padding:u,mirror:p}=i,y=m1(o.grid),f=y+u,m=p?-u:f,k=-ha(this.labelRotation),g=[];let b,w,S,C,x,M,v,L,I,_,A,V,q="middle";if(r==="top")M=this.bottom-m,v=this._getXAxisLabelAlignment();else if(r==="bottom")M=this.top+m,v=this._getXAxisLabelAlignment();else if(r==="left"){const N=this._getYAxisLabelAlignment(y);v=N.textAlign,x=N.x}else if(r==="right"){const N=this._getYAxisLabelAlignment(y);v=N.textAlign,x=N.x}else if(n==="x"){if(r==="center")M=(e.top+e.bottom)/2+f;else if(we(r)){const N=Object.keys(r)[0],T=r[N];M=this.chart.scales[N].getPixelForValue(T)+f}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")x=(e.left+e.right)/2-f;else if(we(r)){const N=Object.keys(r)[0],T=r[N];x=this.chart.scales[N].getPixelForValue(T)}v=this._getYAxisLabelAlignment(y).textAlign}n==="y"&&(d==="start"?q="top":d==="end"&&(q="bottom"));const O=this._getLabelSizes();for(b=0,w=c.length;b<w;++b){S=c[b],C=S.label;const N=i.setContext(this.getContext(b));L=this.getPixelForTick(b)+i.labelOffset,I=this._resolveTickFontOptions(b),_=I.lineHeight,A=$e(C)?C.length:1;const T=A/2,H=N.color,j=N.textStrokeColor,Z=N.textStrokeWidth;let P=v;s?(x=L,v==="inner"&&(b===w-1?P=this.options.reverse?"left":"right":b===0?P=this.options.reverse?"right":"left":P="center"),r==="top"?h==="near"||k!==0?V=-A*_+_/2:h==="center"?V=-O.highest.height/2-T*_+_:V=-O.highest.height+_/2:h==="near"||k!==0?V=_/2:h==="center"?V=O.highest.height/2-T*_:V=O.highest.height-A*_,p&&(V*=-1),k!==0&&!N.showLabelBackdrop&&(x+=_/2*Math.sin(k))):(M=L,V=(1-A)*_/2);let D;if(N.showLabelBackdrop){const G=kt(N.backdropPadding),ne=O.heights[b],te=O.widths[b];let ce=V-G.top,pe=0-G.left;switch(q){case"middle":ce-=ne/2;break;case"bottom":ce-=ne;break}switch(v){case"center":pe-=te/2;break;case"right":pe-=te;break;case"inner":b===w-1?pe-=te:b>0&&(pe-=te/2);break}D={left:pe,top:ce,width:te+G.width,height:ne+G.height,color:N.backdropColor}}g.push({label:C,font:I,textOffset:V,options:{rotation:k,color:H,strokeColor:j,strokeWidth:Z,textAlign:P,textBaseline:q,translation:[x,M],backdrop:D}})}return g}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-ha(this.labelRotation))return e==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:o,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),c=e+i,d=s.widest.width;let h,u;return n==="left"?r?(u=this.right+i,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u+=d)):(u=this.right-c,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u=this.left)):n==="right"?r?(u=this.left+i,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u-=d)):(u=this.left+c,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u=this.right)):h="right",{textAlign:h,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:o,top:r,width:i,height:s}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(o,r,i,s),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===e);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const n=this.options.grid,o=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,s;const c=(d,h,u)=>{!u.width||!u.color||(o.save(),o.lineWidth=u.width,o.strokeStyle=u.color,o.setLineDash(u.borderDash||[]),o.lineDashOffset=u.borderDashOffset,o.beginPath(),o.moveTo(d.x,d.y),o.lineTo(h.x,h.y),o.stroke(),o.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const d=r[i];n.drawOnChartArea&&c({x:d.x1,y:d.y1},{x:d.x2,y:d.y2},d),n.drawTicks&&c({x:d.tx1,y:d.ty1},{x:d.tx2,y:d.ty2},{color:d.tickColor,width:d.tickWidth,borderDash:d.tickBorderDash,borderDashOffset:d.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:o,grid:r}}=this,i=o.setContext(this.getContext()),s=o.display?i.width:0;if(!s)return;const c=r.setContext(this.getContext(0)).lineWidth,d=this._borderValue;let h,u,p,y;this.isHorizontal()?(h=fs(e,this.left,s)-s/2,u=fs(e,this.right,c)+c/2,p=y=d):(p=fs(e,this.top,s)-s/2,y=fs(e,this.bottom,c)+c/2,h=u=d),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(h,p),n.lineTo(u,y),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const o=this.ctx,r=this._computeLabelArea();r&&HS(o,r);const i=this.getLabelItems(e);for(const s of i){const c=s.options,d=s.font,h=s.label,u=s.textOffset;d1(o,h,0,u,d,c)}r&&FS(o)}drawTitle(){const{ctx:e,options:{position:n,title:o,reverse:r}}=this;if(!o.display)return;const i=Ke(o.font),s=kt(o.padding),c=o.align;let d=i.lineHeight/2;n==="bottom"||n==="center"||we(n)?(d+=s.bottom,$e(o.text)&&(d+=i.lineHeight*(o.text.length-1))):d+=s.top;const{titleX:h,titleY:u,maxWidth:p,rotation:y}=EZ(this,d,n,c);d1(e,o.text,0,0,i,{color:o.color,maxWidth:p,rotation:y,textAlign:zZ(c,n,r),textBaseline:"middle",translation:[h,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,o=be(e.grid&&e.grid.z,-1),r=be(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==sl.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:o,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const c=n[i];c[o]===this.id&&(!e||c.type===e)&&r.push(c)}return r}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Ke(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class eI{constructor(e,n,o){this.type=e,this.scope=n,this.override=o,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let o;HZ(n)&&(o=this.register(n));const r=this.items,i=e.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in r||(r[i]=e,TZ(e,s,o),this.override&&Fe.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const n=this.items,o=e.id,r=this.scope;o in n&&delete n[o],r&&o in Fe[r]&&(delete Fe[r][o],this.override&&delete ys[o])}}function TZ(t,e,n){const o=t1(Object.create(null),[n?Fe.get(n):{},Fe.get(e),t.defaults]);Fe.set(e,o),t.defaultRoutes&&OZ(e,t.defaultRoutes),t.descriptors&&Fe.describe(e,t.descriptors)}function OZ(t,e){Object.keys(e).forEach(n=>{const o=n.split("."),r=o.pop(),i=[t].concat(o).join("."),s=e[n].split("."),c=s.pop(),d=s.join(".");Fe.route(i,r,d,c)})}function HZ(t){return"id"in t&&"defaults"in t}class FZ{constructor(){this.controllers=new eI(Ms,"datasets",!0),this.elements=new eI(ya,"elements"),this.plugins=new eI(Object,"plugins"),this.scales=new eI(sl,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,o){[...n].forEach(r=>{const i=o||this._getRegistryForType(r);o||i.isForType(r)||i===this.plugins&&r.id?this._exec(e,i,r):Be(r,s=>{const c=o||this._getRegistryForType(s);this._exec(e,c,s)})})}_exec(e,n,o){const r=Z_(e);Pe(o["before"+r],[],o),n[e](o),Pe(o["after"+r],[],o)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const o=this._typedRegistries[n];if(o.isForType(e))return o}return this.plugins}_get(e,n,o){const r=n.get(e);if(r===void 0)throw new Error('"'+e+'" is not a registered '+o+".");return r}}var Zt=new FZ;class $Z{constructor(){this._init=void 0}notify(e,n,o,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=r?this._descriptors(e).filter(r):this._descriptors(e),s=this._notify(i,e,n,o);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),s}_notify(e,n,o,r){r=r||{};for(const i of e){const s=i.plugin,c=s[o],d=[n,r,i.options];if(Pe(c,d,s)===!1&&r.cancelable)return!1}return!0}invalidate(){Ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const o=e&&e.config,r=be(o.options&&o.options.plugins,{}),i=jZ(o);return r===!1&&!n?[]:NZ(e,i,r,n)}_notifyStateChanges(e){const n=this._oldCache||[],o=this._cache,r=(i,s)=>i.filter(c=>!s.some(d=>c.plugin.id===d.plugin.id));this._notify(r(n,o),e,"stop"),this._notify(r(o,n),e,"start")}}function jZ(t){const e={},n=[],o=Object.keys(Zt.plugins.items);for(let i=0;i<o.length;i++)n.push(Zt.getPlugin(o[i]));const r=t.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),e[s.id]=!0)}return{plugins:n,localIds:e}}function RZ(t,e){return!e&&t===!1?null:t===!0?{}:t}function NZ(t,{plugins:e,localIds:n},o,r){const i=[],s=t.getContext();for(const c of e){const d=c.id,h=RZ(o[d],r);h!==null&&i.push({plugin:c,options:UZ(t.config,{plugin:c,local:n[d]},h,s)})}return i}function UZ(t,{plugin:e,local:n},o,r){const i=t.pluginScopeKeys(e),s=t.getOptionScopes(o,i);return n&&e.defaults&&s.push(e.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function wB(t,e){const n=Fe.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function WZ(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function GZ(t,e){return t===e?"_index_":"_value_"}function rq(t){if(t==="x"||t==="y"||t==="r")return t}function YZ(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function vB(t,...e){if(rq(t))return t;for(const n of e){const o=n.axis||YZ(n.position)||t.length>1&&rq(t[0].toLowerCase());if(o)return o}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function iq(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function KZ(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(o=>o.xAxisID===t||o.yAxisID===t);if(n.length)return iq(t,"x",n[0])||iq(t,"y",n[0])}return{}}function XZ(t,e){const n=ys[t.type]||{scales:{}},o=e.scales||{},r=wB(t.type,e),i=Object.create(null);return Object.keys(o).forEach(s=>{const c=o[s];if(!we(c))return console.error(`Invalid scale configuration for scale: ${s}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const d=vB(s,c,KZ(s,t),Fe.scales[c.type]),h=GZ(d,r),u=n.scales||{};i[s]=a1(Object.create(null),[{axis:d},c,u[d],u[h]])}),t.data.datasets.forEach(s=>{const c=s.type||t.type,d=s.indexAxis||wB(c,e),u=(ys[c]||{}).scales||{};Object.keys(u).forEach(p=>{const y=WZ(p,d),f=s[y+"AxisID"]||y;i[f]=i[f]||Object.create(null),a1(i[f],[{axis:y},o[f],u[p]])})}),Object.keys(i).forEach(s=>{const c=i[s];a1(c,[Fe.scales[c.type],Fe.scale])}),i}function sq(t){const e=t.options||(t.options={});e.plugins=be(e.plugins,{}),e.scales=XZ(t,e)}function lq(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function ZZ(t){return t=t||{},t.data=lq(t.data),sq(t),t}const cq=new Map,dq=new Set;function tI(t,e){let n=cq.get(t);return n||(n=e(),cq.set(t,n),dq.add(n)),n}const k1=(t,e,n)=>{const o=hs(e,n);o!==void 0&&t.add(o)};class JZ{constructor(e){this._config=ZZ(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=lq(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),sq(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return tI(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return tI(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return tI(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,o=this.type;return tI(`${o}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const o=this._scopeCache;let r=o.get(e);return(!r||n)&&(r=new Map,o.set(e,r)),r}getOptionScopes(e,n,o){const{options:r,type:i}=this,s=this._cachedScopes(e,o),c=s.get(n);if(c)return c;const d=new Set;n.forEach(u=>{e&&(d.add(e),u.forEach(p=>k1(d,e,p))),u.forEach(p=>k1(d,r,p)),u.forEach(p=>k1(d,ys[i]||{},p)),u.forEach(p=>k1(d,Fe,p)),u.forEach(p=>k1(d,oB,p))});const h=Array.from(d);return h.length===0&&h.push(Object.create(null)),dq.has(n)&&s.set(n,h),h}chartOptionScopes(){const{options:e,type:n}=this;return[e,ys[n]||{},Fe.datasets[n]||{},{type:n},Fe,oB]}resolveNamedOptions(e,n,o,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:c}=hq(this._resolverCache,e,r);let d=s;if(eJ(s,n)){i.$shared=!1,o=Ra(o)?o():o;const h=this.createResolver(e,o,c);d=nl(s,o,h)}for(const h of n)i[h]=d[h];return i}createResolver(e,n,o=[""],r){const{resolver:i}=hq(this._resolverCache,e,o);return we(n)?nl(i,n,void 0,r):i}}function hq(t,e,n){let o=t.get(e);o||(o=new Map,t.set(e,o));const r=n.join();let i=o.get(r);return i||(i={resolver:lB(e,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},o.set(r,i)),i}const QZ=t=>we(t)&&Object.getOwnPropertyNames(t).some(e=>Ra(t[e]));function eJ(t,e){const{isScriptable:n,isIndexable:o}=yD(t);for(const r of e){const i=n(r),s=o(r),c=(s||i)&&t[r];if(i&&(Ra(c)||QZ(c))||s&&$e(c))return!0}return!1}var tJ="4.5.1";const aJ=["top","bottom","left","right","chartArea"];function uq(t,e){return t==="top"||t==="bottom"||aJ.indexOf(t)===-1&&e==="x"}function pq(t,e){return function(n,o){return n[t]===o[t]?n[e]-o[e]:n[t]-o[t]}}function yq(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Pe(n&&n.onComplete,[t],e)}function nJ(t){const e=t.chart,n=e.options.animation;Pe(n&&n.onProgress,[t],e)}function fq(t){return hB()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const aI={},mq=t=>{const e=fq(t);return Object.values(aI).filter(n=>n.canvas===e).pop()};function oJ(t,e,n){const o=Object.keys(t);for(const r of o){const i=+r;if(i>=e){const s=t[r];delete t[r],(n>0||i>e)&&(t[i+n]=s)}}}function rJ(t,e,n,o){return!n||t.type==="mouseout"?null:o?e:t}class fa{static register(...e){Zt.add(...e),kq()}static unregister(...e){Zt.remove(...e),kq()}constructor(e,n){const o=this.config=new JZ(n),r=fq(e),i=mq(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||vZ(r)),this.platform.updateConfig(o);const c=this.platform.acquireContext(r,s.aspectRatio),d=c&&c.canvas,h=d&&d.height,u=d&&d.width;if(this.id=nK(),this.ctx=c,this.canvas=d,this.width=u,this.height=h,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new $Z,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=wK(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],aI[this.id]=this,!c||!d){console.error("Failed to create chart: can't acquire context from the given item");return}pa.listen(this,"complete",yq),pa.listen(this,"progress",nJ),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:o,height:r,_aspectRatio:i}=this;return Ie(e)?n&&i?i:r?o/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Zt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():xD(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return hD(this.canvas,this.ctx),this}stop(){return pa.stop(this),this}resize(e,n){pa.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const o=this.options,r=this.canvas,i=o.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,e,n,i),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,xD(this,c,!0)&&(this.notifyPlugins("resize",{size:s}),Pe(o.onResize,[this,s],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Be(n,(o,r)=>{o.id=r})}buildOrUpdateScales(){const e=this.options,n=e.scales,o=this.scales,r=Object.keys(o).reduce((s,c)=>(s[c]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const c=n[s],d=vB(s,c),h=d==="r",u=d==="x";return{options:c,dposition:h?"chartArea":u?"bottom":"left",dtype:h?"radialLinear":u?"category":"linear"}}))),Be(i,s=>{const c=s.options,d=c.id,h=vB(d,c),u=be(c.type,s.dtype);(c.position===void 0||uq(c.position,h)!==uq(s.dposition))&&(c.position=s.dposition),r[d]=!0;let p=null;if(d in o&&o[d].type===u)p=o[d];else{const y=Zt.getScale(u);p=new y({id:d,type:u,ctx:this.ctx,chart:this}),o[p.id]=p}p.init(c,e)}),Be(r,(s,c)=>{s||delete o[c]}),Be(o,s=>{gt.configure(this,s,s.options),gt.addBox(this,s)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,o=e.length;if(e.sort((r,i)=>r.index-i.index),o>n){for(let r=n;r<o;++r)this._destroyDatasetMeta(r);e.splice(n,o-n)}this._sortedMetasets=e.slice(0).sort(pq("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((o,r)=>{n.filter(i=>i===o._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=n.length;o<r;o++){const i=n[o];let s=this.getDatasetMeta(o);const c=i.type||this.config.type;if(s.type&&s.type!==c&&(this._destroyDatasetMeta(o),s=this.getDatasetMeta(o)),s.type=c,s.indexAxis=i.indexAxis||wB(c,this.options),s.order=i.order||0,s.index=o,s.label=""+i.label,s.visible=this.isDatasetVisible(o),s.controller)s.controller.updateIndex(o),s.controller.linkScales();else{const d=Zt.getController(c),{datasetElementType:h,dataElementType:u}=Fe.datasets[c];Object.assign(d,{dataElementType:Zt.getElement(u),datasetElementType:h&&Zt.getElement(h)}),s.controller=new d(this,o),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){Be(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let h=0,u=this.data.datasets.length;h<u;h++){const{controller:p}=this.getDatasetMeta(h),y=!r&&i.indexOf(p)===-1;p.buildOrUpdateElements(y),s=Math.max(+p.getMaxOverflow(),s)}s=this._minPadding=o.layout.autoPadding?s:0,this._updateLayout(s),r||Be(i,h=>{h.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(pq("z","_idx"));const{_active:c,_lastEvent:d}=this;d?this._eventHandler(d,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){Be(this.scales,e=>{gt.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(e.events);(!YP(n,o)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:i}of n){const s=o==="_removeElements"?-i:i;oJ(e,r,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,o=i=>new Set(e.filter(s=>s[0]===i).map((s,c)=>c+","+s.splice(1).join(","))),r=o(0);for(let i=1;i<n;i++)if(!YP(r,o(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;gt.update(this,this.width,this.height,e);const n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],Be(this.boxes,r=>{o&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n<o;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,o=this.data.datasets.length;n<o;++n)this._updateDataset(n,Ra(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const o=this.getDatasetMeta(e),r={meta:o,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(o.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(pa.has(this)?this.attached&&!pa.running(this)&&pa.start(this):(this.draw(),yq({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(o,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,o=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!e||s.visible)&&o.push(s)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,o={meta:e,index:e.index,cancelable:!0},r=VD(this,e);this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&HS(n,r),e.controller.draw(),r&&FS(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return c1(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,o,r){const i=aZ.modes[n];return typeof i=="function"?i(this,e,o,r):[]}getDatasetMeta(e){const n=this.data.datasets[e],o=this._metasets;let r=o.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=ms(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const o=this.getDatasetMeta(e);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(e,n){const o=this.getDatasetMeta(e);o.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,o){const r=o?"show":"hide",i=this.getDatasetMeta(e),s=i.controller._resolveAnimations(void 0,r);n1(n)?(i.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(e,o),s.update(i,{visible:o}),this.update(c=>c.datasetIndex===e?r:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),pa.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),hD(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete aI[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,o=(i,s)=>{n.addEventListener(this,i,s),e[i]=s},r=(i,s,c)=>{i.offsetX=s,i.offsetY=c,this._eventHandler(i)};Be(this.options.events,i=>o(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,o=(d,h)=>{n.addEventListener(this,d,h),e[d]=h},r=(d,h)=>{e[d]&&(n.removeEventListener(this,d,h),delete e[d])},i=(d,h)=>{this.canvas&&this.resize(d,h)};let s;const c=()=>{r("attach",c),this.attached=!0,this.resize(),o("resize",i),o("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():s()}unbindEvents(){Be(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Be(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,o){const r=o?"set":"remove";let i,s,c,d;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),c=0,d=e.length;c<d;++c){s=e[c];const h=s&&this.getDatasetMeta(s.datasetIndex).controller;h&&h[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],o=e.map(({datasetIndex:i,index:s})=>{const c=this.getDatasetMeta(i);if(!c)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:c.data[s],index:s}});!zS(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(e,n,o){return this._plugins.notify(this,e,n,o)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,o){const r=this.options.hover,i=(d,h)=>d.filter(u=>!h.some(p=>u.datasetIndex===p.datasetIndex&&u.index===p.index)),s=i(n,e),c=o?e:i(e,n);s.length&&this.updateHoverStyle(s,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(e,n){const o={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},r=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",o,r)===!1)return;const i=this._handleEvent(e,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(i||o.changed)&&this.render(),this}_handleEvent(e,n,o){const{_active:r=[],options:i}=this,s=n,c=this._getActiveElements(e,r,o,s),d=cK(e),h=rJ(e,this._lastEvent,o,d);o&&(this._lastEvent=null,Pe(i.onHover,[e,c,this],this),d&&Pe(i.onClick,[e,c,this],this));const u=!zS(c,r);return(u||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=h,u}_getActiveElements(e,n,o,r){if(e.type==="mouseout")return[];if(!o)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}se(fa,"defaults",Fe),se(fa,"instances",aI),se(fa,"overrides",ys),se(fa,"registry",Zt),se(fa,"version",tJ),se(fa,"getChart",mq);function kq(){return Be(fa.instances,t=>t._plugins.invalidate())}function iJ(t,e,n){const{startAngle:o,x:r,y:i,outerRadius:s,innerRadius:c,options:d}=e,{borderWidth:h,borderJoinStyle:u}=d,p=Math.min(h/s,dt(o-n));if(t.beginPath(),t.arc(r,i,s-h/2,o+p/2,n-p/2),c>0){const y=Math.min(h/c,dt(o-n));t.arc(r,i,c+h/2,n-y/2,o+y/2,!0)}else{const y=Math.min(h/2,s*dt(o-n));if(u==="round")t.arc(r,i,y,n-Ae/2,o+Ae/2,!0);else if(u==="bevel"){const f=2*y*y,m=-f*Math.cos(n+Ae/2)+r,k=-f*Math.sin(n+Ae/2)+i,g=f*Math.cos(o+Ae/2)+r,b=f*Math.sin(o+Ae/2)+i;t.lineTo(m,k),t.lineTo(g,b)}}t.closePath(),t.moveTo(0,0),t.rect(0,0,t.canvas.width,t.canvas.height),t.clip("evenodd")}function sJ(t,e,n){const{startAngle:o,pixelMargin:r,x:i,y:s,outerRadius:c,innerRadius:d}=e;let h=r/c;t.beginPath(),t.arc(i,s,c,o-h,n+h),d>r?(h=r/d,t.arc(i,s,d,n+h,o-h,!0)):t.arc(i,s,r,n+Re,o-Re),t.closePath(),t.clip()}function lJ(t){return sB(t,["outerStart","outerEnd","innerStart","innerEnd"])}function cJ(t,e,n,o){const r=lJ(t.options.borderRadius),i=(n-e)/2,s=Math.min(i,o*e/2),c=d=>{const h=(n-Math.min(i,d))*o/2;return Ge(d,0,Math.min(i,h))};return{outerStart:c(r.outerStart),outerEnd:c(r.outerEnd),innerStart:Ge(r.innerStart,0,s),innerEnd:Ge(r.innerEnd,0,s)}}function ll(t,e,n,o){return{x:n+t*Math.cos(e),y:o+t*Math.sin(e)}}function nI(t,e,n,o,r,i){const{x:s,y:c,startAngle:d,pixelMargin:h,innerRadius:u}=e,p=Math.max(e.outerRadius+o+n-h,0),y=u>0?u+o+n+h:0;let f=0;const m=r-d;if(o){const N=u>0?u-o:0,T=p>0?p-o:0,H=(N+T)/2,j=H!==0?m*H/(H+o):m;f=(m-j)/2}const k=Math.max(.001,m*p-n/Ae)/p,g=(m-k)/2,b=d+g+f,w=r-g-f,{outerStart:S,outerEnd:C,innerStart:x,innerEnd:M}=cJ(e,y,p,w-b),v=p-S,L=p-C,I=b+S/v,_=w-C/L,A=y+x,V=y+M,q=b+x/A,O=w-M/V;if(t.beginPath(),i){const N=(I+_)/2;if(t.arc(s,c,p,I,N),t.arc(s,c,p,N,_),C>0){const Z=ll(L,_,s,c);t.arc(Z.x,Z.y,C,_,w+Re)}const T=ll(V,w,s,c);if(t.lineTo(T.x,T.y),M>0){const Z=ll(V,O,s,c);t.arc(Z.x,Z.y,M,w+Re,O+Math.PI)}const H=(w-M/y+(b+x/y))/2;if(t.arc(s,c,y,w-M/y,H,!0),t.arc(s,c,y,H,b+x/y,!0),x>0){const Z=ll(A,q,s,c);t.arc(Z.x,Z.y,x,q+Math.PI,b-Re)}const j=ll(v,b,s,c);if(t.lineTo(j.x,j.y),S>0){const Z=ll(v,I,s,c);t.arc(Z.x,Z.y,S,b-Re,I)}}else{t.moveTo(s,c);const N=Math.cos(I)*p+s,T=Math.sin(I)*p+c;t.lineTo(N,T);const H=Math.cos(_)*p+s,j=Math.sin(_)*p+c;t.lineTo(H,j)}t.closePath()}function dJ(t,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c}=e;let d=e.endAngle;if(i){nI(t,e,n,o,d,r);for(let h=0;h<i;++h)t.fill();isNaN(c)||(d=s+(c%ze||ze))}return nI(t,e,n,o,d,r),t.fill(),d}function hJ(t,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c,options:d}=e,{borderWidth:h,borderJoinStyle:u,borderDash:p,borderDashOffset:y,borderRadius:f}=d,m=d.borderAlign==="inner";if(!h)return;t.setLineDash(p||[]),t.lineDashOffset=y,m?(t.lineWidth=h*2,t.lineJoin=u||"round"):(t.lineWidth=h,t.lineJoin=u||"bevel");let k=e.endAngle;if(i){nI(t,e,n,o,k,r);for(let g=0;g<i;++g)t.stroke();isNaN(c)||(k=s+(c%ze||ze))}m&&sJ(t,e,k),d.selfJoin&&k-s>=Ae&&f===0&&u!=="miter"&&iJ(t,e,k),i||(nI(t,e,n,o,k,r),t.stroke())}class g1 extends ya{constructor(n){super();se(this,"circumference");se(this,"endAngle");se(this,"fullCircles");se(this,"innerRadius");se(this,"outerRadius");se(this,"pixelMargin");se(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.getProps(["x","y"],r),{angle:s,distance:c}=QP(i,{x:n,y:o}),{startAngle:d,endAngle:h,innerRadius:u,outerRadius:p,circumference:y}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),f=(this.options.spacing+this.options.borderWidth)/2,m=be(y,h-d),k=i1(s,d,h)&&d!==h,g=m>=ze||k,b=ua(c,u+f,p+f);return g&&b}getCenterPoint(n){const{x:o,y:r,startAngle:i,endAngle:s,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:h,spacing:u}=this.options,p=(i+s)/2,y=(c+d+u+h)/2;return{x:o+Math.cos(p)*y,y:r+Math.sin(p)*y}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:o,circumference:r}=this,i=(o.offset||0)/4,s=(o.spacing||0)/2,c=o.circular;if(this.pixelMargin=o.borderAlign==="inner"?.33:0,this.fullCircles=r>ze?Math.floor(r/ze):0,r===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const d=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(d)*i,Math.sin(d)*i);const h=1-Math.sin(Math.min(Ae,r||0)),u=i*h;n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,dJ(n,this,u,s,c),hJ(n,this,u,s,c),n.restore()}}se(g1,"id","arc"),se(g1,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),se(g1,"defaultRoutes",{backgroundColor:"backgroundColor"}),se(g1,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function gq(t,e,n=e){t.lineCap=be(n.borderCapStyle,e.borderCapStyle),t.setLineDash(be(n.borderDash,e.borderDash)),t.lineDashOffset=be(n.borderDashOffset,e.borderDashOffset),t.lineJoin=be(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=be(n.borderWidth,e.borderWidth),t.strokeStyle=be(n.borderColor,e.borderColor)}function uJ(t,e,n){t.lineTo(n.x,n.y)}function pJ(t){return t.stepped?EK:t.tension||t.cubicInterpolationMode==="monotone"?TK:uJ}function bq(t,e,n={}){const o=t.length,{start:r=0,end:i=o-1}=n,{start:s,end:c}=e,d=Math.max(r,s),h=Math.min(i,c),u=r<s&&i<s||r>c&&i>c;return{count:o,start:d,loop:e.loop,ilen:h<d&&!u?o+h-d:h-d}}function yJ(t,e,n,o){const{points:r,options:i}=e,{count:s,start:c,loop:d,ilen:h}=bq(r,n,o),u=pJ(i);let{move:p=!0,reverse:y}=o||{},f,m,k;for(f=0;f<=h;++f)m=r[(c+(y?h-f:f))%s],!m.skip&&(p?(t.moveTo(m.x,m.y),p=!1):u(t,k,m,y,i.stepped),k=m);return d&&(m=r[(c+(y?h:0))%s],u(t,k,m,y,i.stepped)),!!d}function fJ(t,e,n,o){const r=e.points,{count:i,start:s,ilen:c}=bq(r,n,o),{move:d=!0,reverse:h}=o||{};let u=0,p=0,y,f,m,k,g,b;const w=C=>(s+(h?c-C:C))%i,S=()=>{k!==g&&(t.lineTo(u,g),t.lineTo(u,k),t.lineTo(u,b))};for(d&&(f=r[w(0)],t.moveTo(f.x,f.y)),y=0;y<=c;++y){if(f=r[w(y)],f.skip)continue;const C=f.x,x=f.y,M=C|0;M===m?(x<k?k=x:x>g&&(g=x),u=(p*u+C)/++p):(S(),t.lineTo(C,x),m=M,p=0,k=g=x),b=x}S()}function CB(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?fJ:yJ}function mJ(t){return t.stepped?fX:t.tension||t.cubicInterpolationMode==="monotone"?mX:bs}function kJ(t,e,n,o){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,o)&&r.closePath()),gq(t,e.options),t.stroke(r)}function gJ(t,e,n,o){const{segments:r,options:i}=e,s=CB(e);for(const c of r)gq(t,i,c.style),t.beginPath(),s(t,e,c,{start:n,end:n+o-1})&&t.closePath(),t.stroke()}const bJ=typeof Path2D=="function";function MJ(t,e,n,o){bJ&&!e.options.segment?kJ(t,e,n,o):gJ(t,e,n,o)}class Ua extends ya{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){const r=o.spanGaps?this._loop:this._fullLoop;sX(this._points,o,e,r,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=wX(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,o=e.length;return o&&n[e[o-1].end]}interpolate(e,n){const o=this.options,r=e[n],i=this.points,s=_D(this,{property:n,start:r,end:r});if(!s.length)return;const c=[],d=mJ(o);let h,u;for(h=0,u=s.length;h<u;++h){const{start:p,end:y}=s[h],f=i[p],m=i[y];if(f===m){c.push(f);continue}const k=Math.abs((r-f[n])/(m[n]-f[n])),g=d(f,m,k,o.stepped);g[n]=e[n],c.push(g)}return c.length===1?c[0]:c}pathSegment(e,n,o){return CB(this)(e,this,n,o)}path(e,n,o){const r=this.segments,i=CB(this);let s=this._loop;n=n||0,o=o||this.points.length-n;for(const c of r)s&=i(e,this,c,{start:n,end:n+o-1});return!!s}draw(e,n,o,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),MJ(e,this,o,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}se(Ua,"id","line"),se(Ua,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),se(Ua,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),se(Ua,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function Mq(t,e,n,o){const r=t.options,{[n]:i}=t.getProps([n],o);return Math.abs(e-i)<r.radius+r.hitRadius}class oI extends ya{constructor(n){super();se(this,"parsed");se(this,"skip");se(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.options,{x:s,y:c}=this.getProps(["x","y"],r);return Math.pow(n-s,2)+Math.pow(o-c,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,o){return Mq(this,n,"x",o)}inYRange(n,o){return Mq(this,n,"y",o)}getCenterPoint(n){const{x:o,y:r}=this.getProps(["x","y"],n);return{x:o,y:r}}size(n){n=n||this.options||{};let o=n.radius||0;o=Math.max(o,o&&n.hoverRadius||0);const r=o&&n.borderWidth||0;return(o+r)*2}draw(n,o){const r=this.options;this.skip||r.radius<.1||!c1(this,o,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,iB(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}se(oI,"id","point"),se(oI,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),se(oI,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function xq(t,e){const{x:n,y:o,base:r,width:i,height:s}=t.getProps(["x","y","base","width","height"],e);let c,d,h,u,p;return t.horizontal?(p=s/2,c=Math.min(n,r),d=Math.max(n,r),h=o-p,u=o+p):(p=i/2,c=n-p,d=n+p,h=Math.min(o,r),u=Math.max(o,r)),{left:c,top:h,right:d,bottom:u}}function Wa(t,e,n,o){return t?0:Ge(e,n,o)}function xJ(t,e,n){const o=t.options.borderWidth,r=t.borderSkipped,i=pD(o);return{t:Wa(r.top,i.top,0,n),r:Wa(r.right,i.right,0,e),b:Wa(r.bottom,i.bottom,0,n),l:Wa(r.left,i.left,0,e)}}function wJ(t,e,n){const{enableBorderRadius:o}=t.getProps(["enableBorderRadius"]),r=t.options.borderRadius,i=al(r),s=Math.min(e,n),c=t.borderSkipped,d=o||we(r);return{topLeft:Wa(!d||c.top||c.left,i.topLeft,0,s),topRight:Wa(!d||c.top||c.right,i.topRight,0,s),bottomLeft:Wa(!d||c.bottom||c.left,i.bottomLeft,0,s),bottomRight:Wa(!d||c.bottom||c.right,i.bottomRight,0,s)}}function vJ(t){const e=xq(t),n=e.right-e.left,o=e.bottom-e.top,r=xJ(t,n/2,o/2),i=wJ(t,n/2,o/2);return{outer:{x:e.left,y:e.top,w:n,h:o,radius:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:o-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function LB(t,e,n,o){const r=e===null,i=n===null,c=t&&!(r&&i)&&xq(t,o);return c&&(r||ua(e,c.left,c.right))&&(i||ua(n,c.top,c.bottom))}function CJ(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function LJ(t,e){t.rect(e.x,e.y,e.w,e.h)}function SB(t,e,n={}){const o=t.x!==n.x?-e:0,r=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-o,s=(t.y+t.h!==n.y+n.h?e:0)-r;return{x:t.x+o,y:t.y+r,w:t.w+i,h:t.h+s,radius:t.radius}}class rI extends ya{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:o,backgroundColor:r}}=this,{inner:i,outer:s}=vJ(this),c=CJ(s.radius)?$S:LJ;e.save(),(s.w!==i.w||s.h!==i.h)&&(e.beginPath(),c(e,SB(s,n,i)),e.clip(),c(e,SB(i,-n,s)),e.fillStyle=o,e.fill("evenodd")),e.beginPath(),c(e,SB(i,n)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,n,o){return LB(this,e,n,o)}inXRange(e,n){return LB(this,e,null,n)}inYRange(e,n){return LB(this,null,e,n)}getCenterPoint(e){const{x:n,y:o,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+r)/2:n,y:i?o:(o+r)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}se(rI,"id","bar"),se(rI,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),se(rI,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function SJ(t,e,n){const o=t.segments,r=t.points,i=e.points,s=[];for(const c of o){let{start:d,end:h}=c;h=iI(d,h,r);const u=IB(n,r[d],r[h],c.loop);if(!e.segments){s.push({source:c,target:u,start:r[d],end:r[h]});continue}const p=_D(e,u);for(const y of p){const f=IB(n,i[y.start],i[y.end],y.loop),m=ID(c,r,f);for(const k of m)s.push({source:k,target:y,start:{[n]:wq(u,f,"start",Math.max)},end:{[n]:wq(u,f,"end",Math.min)}})}}return s}function IB(t,e,n,o){if(o)return;let r=e[t],i=n[t];return t==="angle"&&(r=dt(r),i=dt(i)),{property:t,start:r,end:i}}function IJ(t,e){const{x:n=null,y:o=null}=t||{},r=e.points,i=[];return e.segments.forEach(({start:s,end:c})=>{c=iI(s,c,r);const d=r[s],h=r[c];o!==null?(i.push({x:d.x,y:o}),i.push({x:h.x,y:o})):n!==null&&(i.push({x:n,y:d.y}),i.push({x:n,y:h.y}))}),i}function iI(t,e,n){for(;e>t;e--){const o=n[e];if(!isNaN(o.x)&&!isNaN(o.y))break}return e}function wq(t,e,n,o){return t&&e?o(t[n],e[n]):t?t[n]:e?e[n]:0}function vq(t,e){let n=[],o=!1;return $e(t)?(o=!0,n=t):n=IJ(t,e),n.length?new Ua({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function Cq(t){return t&&t.fill!==!1}function _J(t,e,n){let r=t[e].fill;const i=[e];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!We(r))return r;if(s=t[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function BJ(t,e,n){const o=DJ(t);if(we(o))return isNaN(o.value)?!1:o;let r=parseFloat(o);return We(r)&&Math.floor(r)===r?AJ(o[0],e,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function AJ(t,e,n,o){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=o?!1:n}function VJ(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:we(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function PJ(t,e,n){let o;return t==="start"?o=n:t==="end"?o=e.options.reverse?e.min:e.max:we(t)?o=t.value:o=e.getBaseValue(),o}function DJ(t){const e=t.options,n=e.fill;let o=be(n&&n.target,n);return o===void 0&&(o=!!e.backgroundColor),o===!1||o===null?!1:o===!0?"origin":o}function qJ(t){const{scale:e,index:n,line:o}=t,r=[],i=o.segments,s=o.points,c=zJ(e,n);c.push(vq({x:null,y:e.bottom},o));for(let d=0;d<i.length;d++){const h=i[d];for(let u=h.start;u<=h.end;u++)EJ(r,s[u],c)}return new Ua({points:r,options:{}})}function zJ(t,e){const n=[],o=t.getMatchingVisibleMetas("line");for(let r=0;r<o.length;r++){const i=o[r];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function EJ(t,e,n){const o=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:c,point:d}=TJ(i,e,"x");if(!(!d||s&&c)){if(s)o.unshift(d);else if(t.push(d),!c)break}}t.push(...o)}function TJ(t,e,n){const o=t.interpolate(e,n);if(!o)return{};const r=o[n],i=t.segments,s=t.points;let c=!1,d=!1;for(let h=0;h<i.length;h++){const u=i[h],p=s[u.start][n],y=s[u.end][n];if(ua(r,p,y)){c=r===p,d=r===y;break}}return{first:c,last:d,point:o}}class Lq{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,o){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:ze},e.arc(r,i,s,n.end,n.start,!0),!o.bounds}interpolate(e){const{x:n,y:o,radius:r}=this,i=e.angle;return{x:n+Math.cos(i)*r,y:o+Math.sin(i)*r,angle:i}}}function OJ(t){const{chart:e,fill:n,line:o}=t;if(We(n))return HJ(e,n);if(n==="stack")return qJ(t);if(n==="shape")return!0;const r=FJ(t);return r instanceof Lq?r:vq(r,o)}function HJ(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function FJ(t){return(t.scale||{}).getPointPositionForValue?jJ(t):$J(t)}function $J(t){const{scale:e={},fill:n}=t,o=VJ(n,e);if(We(o)){const r=e.isHorizontal();return{x:r?o:null,y:r?null:o}}return null}function jJ(t){const{scale:e,fill:n}=t,o=e.options,r=e.getLabels().length,i=o.reverse?e.max:e.min,s=PJ(n,e,i),c=[];if(o.grid.circular){const d=e.getPointPositionForValue(0,i);return new Lq({x:d.x,y:d.y,radius:e.getDistanceFromCenterForValue(s)})}for(let d=0;d<r;++d)c.push(e.getPointPositionForValue(d,s));return c}function _B(t,e,n){const o=OJ(e),{chart:r,index:i,line:s,scale:c,axis:d}=e,h=s.options,u=h.fill,p=h.backgroundColor,{above:y=p,below:f=p}=u||{},m=r.getDatasetMeta(i),k=VD(r,m);o&&s.points.length&&(HS(t,n),RJ(t,{line:s,target:o,above:y,below:f,area:n,scale:c,axis:d,clip:k}),FS(t))}function RJ(t,e){const{line:n,target:o,above:r,below:i,area:s,scale:c,clip:d}=e,h=n._loop?"angle":e.axis;t.save();let u=i;i!==r&&(h==="x"?(Sq(t,o,s.top),BB(t,{line:n,target:o,color:r,scale:c,property:h,clip:d}),t.restore(),t.save(),Sq(t,o,s.bottom)):h==="y"&&(Iq(t,o,s.left),BB(t,{line:n,target:o,color:i,scale:c,property:h,clip:d}),t.restore(),t.save(),Iq(t,o,s.right),u=r)),BB(t,{line:n,target:o,color:u,scale:c,property:h,clip:d}),t.restore()}function Sq(t,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;t.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[iI(d,h,r)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),s=!!e.pathSegment(t,c,{move:s}),s?t.closePath():t.lineTo(p.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function Iq(t,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;t.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[iI(d,h,r)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(n,u.y),t.lineTo(u.x,u.y)),s=!!e.pathSegment(t,c,{move:s}),s?t.closePath():t.lineTo(n,p.y)}t.lineTo(n,e.first().y),t.closePath(),t.clip()}function BB(t,e){const{line:n,target:o,property:r,color:i,scale:s,clip:c}=e,d=SJ(n,o,r);for(const{source:h,target:u,start:p,end:y}of d){const{style:{backgroundColor:f=i}={}}=h,m=o!==!0;t.save(),t.fillStyle=f,NJ(t,s,c,m&&IB(r,p,y)),t.beginPath();const k=!!n.pathSegment(t,h);let g;if(m){k?t.closePath():_q(t,o,y,r);const b=!!o.pathSegment(t,u,{move:k,reverse:!0});g=k&&b,g||_q(t,o,p,r)}t.closePath(),t.fill(g?"evenodd":"nonzero"),t.restore()}}function NJ(t,e,n,o){const r=e.chart.chartArea,{property:i,start:s,end:c}=o||{};if(i==="x"||i==="y"){let d,h,u,p;i==="x"?(d=s,h=r.top,u=c,p=r.bottom):(d=r.left,h=s,u=r.right,p=c),t.beginPath(),n&&(d=Math.max(d,n.left),u=Math.min(u,n.right),h=Math.max(h,n.top),p=Math.min(p,n.bottom)),t.rect(d,h,u-d,p-h),t.clip()}}function _q(t,e,n,o){const r=e.interpolate(n,o);r&&t.lineTo(r.x,r.y)}var UJ={id:"filler",afterDatasetsUpdate(t,e,n){const o=(t.data.datasets||[]).length,r=[];let i,s,c,d;for(s=0;s<o;++s)i=t.getDatasetMeta(s),c=i.dataset,d=null,c&&c.options&&c instanceof Ua&&(d={visible:t.isDatasetVisible(s),index:s,fill:BJ(c,s,o),chart:t,axis:i.controller.options.indexAxis,scale:i.vScale,line:c}),i.$filler=d,r.push(d);for(s=0;s<o;++s)d=r[s],!(!d||d.fill===!1)&&(d.fill=_J(r,s,n.propagate))},beforeDraw(t,e,n){const o=n.drawTime==="beforeDraw",r=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let s=r.length-1;s>=0;--s){const c=r[s].$filler;c&&(c.line.updateControlPoints(i,c.axis),o&&c.fill&&_B(t.ctx,c,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const o=t.getSortedVisibleDatasetMetas();for(let r=o.length-1;r>=0;--r){const i=o[r].$filler;Cq(i)&&_B(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const o=e.meta.$filler;!Cq(o)||n.drawTime!=="beforeDatasetDraw"||_B(t.ctx,o,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Bq=(t,e)=>{let{boxHeight:n=e,boxWidth:o=e}=t;return t.usePointStyle&&(n=Math.min(n,e),o=t.pointStyleWidth||Math.min(o,e)),{boxWidth:o,boxHeight:n,itemHeight:Math.max(e,n)}},WJ=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class Aq extends ya{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,o){this.maxWidth=e,this.maxHeight=n,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Pe(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(o=>e.filter(o,this.chart.data))),e.sort&&(n=n.sort((o,r)=>e.sort(o,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const o=e.labels,r=Ke(o.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:c,itemHeight:d}=Bq(o,i);let h,u;n.font=r.string,this.isHorizontal()?(h=this.maxWidth,u=this._fitRows(s,i,c,d)+10):(u=this.maxHeight,h=this._fitCols(s,r,c,d)+10),this.width=Math.min(h,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,o,r){const{ctx:i,maxWidth:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.lineWidths=[0],u=r+c;let p=e;i.textAlign="left",i.textBaseline="middle";let y=-1,f=-u;return this.legendItems.forEach((m,k)=>{const g=o+n/2+i.measureText(m.text).width;(k===0||h[h.length-1]+g+2*c>s)&&(p+=u,h[h.length-(k>0?0:1)]=0,f+=u,y++),d[k]={left:0,top:f,row:y,width:g,height:r},h[h.length-1]+=g+c}),p}_fitCols(e,n,o,r){const{ctx:i,maxHeight:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.columnSizes=[],u=s-e;let p=c,y=0,f=0,m=0,k=0;return this.legendItems.forEach((g,b)=>{const{itemWidth:w,itemHeight:S}=GJ(o,n,i,g,r);b>0&&f+S+2*c>u&&(p+=y+c,h.push({width:y,height:f}),m+=y+c,k++,y=f=0),d[b]={left:m,top:f,col:k,width:w,height:S},y=Math.max(y,w),f+=S+c}),p+=y,h.push({width:y,height:f}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r},rtl:i}}=this,s=rl(i,this.left,this.width);if(this.isHorizontal()){let c=0,d=Ye(o,this.left+r,this.right-this.lineWidths[c]);for(const h of n)c!==h.row&&(c=h.row,d=Ye(o,this.left+r,this.right-this.lineWidths[c])),h.top+=this.top+e+r,h.left=s.leftForLtr(s.x(d),h.width),d+=h.width+r}else{let c=0,d=Ye(o,this.top+e+r,this.bottom-this.columnSizes[c].height);for(const h of n)h.col!==c&&(c=h.col,d=Ye(o,this.top+e+r,this.bottom-this.columnSizes[c].height)),h.top=d,h.left+=this.left+r,h.left=s.leftForLtr(s.x(h.left),h.width),d+=h.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;HS(e,this),this._draw(),FS(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:o,ctx:r}=this,{align:i,labels:s}=e,c=Fe.color,d=rl(e.rtl,this.left,this.width),h=Ke(s.font),{padding:u}=s,p=h.size,y=p/2;let f;this.drawTitle(),r.textAlign=d.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=h.string;const{boxWidth:m,boxHeight:k,itemHeight:g}=Bq(s,p),b=function(M,v,L){if(isNaN(m)||m<=0||isNaN(k)||k<0)return;r.save();const I=be(L.lineWidth,1);if(r.fillStyle=be(L.fillStyle,c),r.lineCap=be(L.lineCap,"butt"),r.lineDashOffset=be(L.lineDashOffset,0),r.lineJoin=be(L.lineJoin,"miter"),r.lineWidth=I,r.strokeStyle=be(L.strokeStyle,c),r.setLineDash(be(L.lineDash,[])),s.usePointStyle){const _={radius:k*Math.SQRT2/2,pointStyle:L.pointStyle,rotation:L.rotation,borderWidth:I},A=d.xPlus(M,m/2),V=v+y;uD(r,_,A,V,s.pointStyleWidth&&m)}else{const _=v+Math.max((p-k)/2,0),A=d.leftForLtr(M,m),V=al(L.borderRadius);r.beginPath(),Object.values(V).some(q=>q!==0)?$S(r,{x:A,y:_,w:m,h:k,radius:V}):r.rect(A,_,m,k),r.fill(),I!==0&&r.stroke()}r.restore()},w=function(M,v,L){d1(r,L.text,M,v+g/2,h,{strikethrough:L.hidden,textAlign:d.textAlign(L.textAlign)})},S=this.isHorizontal(),C=this._computeTitleHeight();S?f={x:Ye(i,this.left+u,this.right-o[0]),y:this.top+u+C,line:0}:f={x:this.left+u,y:Ye(i,this.top+C+u,this.bottom-n[0].height),line:0},vD(this.ctx,e.textDirection);const x=g+u;this.legendItems.forEach((M,v)=>{r.strokeStyle=M.fontColor,r.fillStyle=M.fontColor;const L=r.measureText(M.text).width,I=d.textAlign(M.textAlign||(M.textAlign=s.textAlign)),_=m+y+L;let A=f.x,V=f.y;d.setWidth(this.width),S?v>0&&A+_+u>this.right&&(V=f.y+=x,f.line++,A=f.x=Ye(i,this.left+u,this.right-o[f.line])):v>0&&V+x>this.bottom&&(A=f.x=A+n[f.line].width+u,f.line++,V=f.y=Ye(i,this.top+C+u,this.bottom-n[f.line].height));const q=d.x(A);if(b(q,V,M),A=vK(I,A+m+y,S?A+_:this.right,e.rtl),w(d.x(A),V,M),S)f.x+=_+u;else if(typeof M.text!="string"){const O=h.lineHeight;f.y+=Vq(M,O)+u}else f.y+=x}),CD(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,o=Ke(n.font),r=kt(n.padding);if(!n.display)return;const i=rl(e.rtl,this.left,this.width),s=this.ctx,c=n.position,d=o.size/2,h=r.top+d;let u,p=this.left,y=this.width;if(this.isHorizontal())y=Math.max(...this.lineWidths),u=this.top+h,p=Ye(e.align,p,this.right-y);else{const m=this.columnSizes.reduce((k,g)=>Math.max(k,g.height),0);u=h+Ye(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const f=Ye(c,p,p+y);s.textAlign=i.textAlign(eB(c)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=o.string,d1(s,n.text,f,u,o)}_computeTitleHeight(){const e=this.options.title,n=Ke(e.font),o=kt(e.padding);return e.display?n.lineHeight+o.height:0}_getLegendItemAt(e,n){let o,r,i;if(ua(e,this.left,this.right)&&ua(n,this.top,this.bottom)){for(i=this.legendHitBoxes,o=0;o<i.length;++o)if(r=i[o],ua(e,r.left,r.left+r.width)&&ua(n,r.top,r.top+r.height))return this.legendItems[o]}return null}handleEvent(e){const n=this.options;if(!XJ(e.type,n))return;const o=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const r=this._hoveredItem,i=WJ(r,o);r&&!i&&Pe(n.onLeave,[e,r,this],this),this._hoveredItem=o,o&&!i&&Pe(n.onHover,[e,o,this],this)}else o&&Pe(n.onClick,[e,o,this],this)}}function GJ(t,e,n,o,r){const i=YJ(o,t,e,n),s=KJ(r,o,e.lineHeight);return{itemWidth:i,itemHeight:s}}function YJ(t,e,n,o){let r=t.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),e+n.size/2+o.measureText(r).width}function KJ(t,e,n){let o=t;return typeof e.text!="string"&&(o=Vq(e,n)),o}function Vq(t,e){const n=t.text?t.text.length:0;return e*n}function XJ(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var ZJ={id:"legend",_element:Aq,start(t,e,n){const o=t.legend=new Aq({ctx:t.ctx,options:n,chart:t});gt.configure(t,o,n),gt.addBox(t,o)},stop(t){gt.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const o=t.legend;gt.configure(t,o,n),o.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const o=e.datasetIndex,r=n.chart;r.isDatasetVisible(o)?(r.hide(o),e.hidden=!0):(r.show(o),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=t.legend.options;return t._getSortedDatasetMetas().map(d=>{const h=d.controller.getStyle(n?0:void 0),u=kt(h.borderWidth);return{text:e[d.index].label,fillStyle:h.backgroundColor,fontColor:i,hidden:!d.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:h.borderColor,pointStyle:o||h.pointStyle,rotation:h.rotation,textAlign:r||h.textAlign,borderRadius:s&&(c||h.borderRadius),datasetIndex:d.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Pq extends ya{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const o=this.options;if(this.left=0,this.top=0,!o.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const r=$e(o.text)?o.text.length:1;this._padding=kt(o.padding);const i=r*Ke(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:o,bottom:r,right:i,options:s}=this,c=s.align;let d=0,h,u,p;return this.isHorizontal()?(u=Ye(c,o,i),p=n+e,h=i-o):(s.position==="left"?(u=o+e,p=Ye(c,r,n),d=Ae*-.5):(u=i-e,p=Ye(c,n,r),d=Ae*.5),h=r-n),{titleX:u,titleY:p,maxWidth:h,rotation:d}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const o=Ke(n.font),i=o.lineHeight/2+this._padding.top,{titleX:s,titleY:c,maxWidth:d,rotation:h}=this._drawArgs(i);d1(e,n.text,0,0,o,{color:n.color,maxWidth:d,rotation:h,textAlign:eB(n.align),textBaseline:"middle",translation:[s,c]})}}function JJ(t,e){const n=new Pq({ctx:t.ctx,options:e,chart:t});gt.configure(t,n,e),gt.addBox(t,n),t.titleBlock=n}var QJ={id:"title",_element:Pq,start(t,e,n){JJ(t,n)},stop(t){const e=t.titleBlock;gt.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const o=t.titleBlock;gt.configure(t,o,n),o.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const b1={average(t){if(!t.length)return!1;let e,n,o=new Set,r=0,i=0;for(e=0,n=t.length;e<n;++e){const c=t[e].element;if(c&&c.hasValue()){const d=c.tooltipPosition();o.add(d.x),r+=d.y,++i}}return i===0||o.size===0?!1:{x:[...o].reduce((c,d)=>c+d)/o.size,y:r/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,o=e.y,r=Number.POSITIVE_INFINITY,i,s,c;for(i=0,s=t.length;i<s;++i){const d=t[i].element;if(d&&d.hasValue()){const h=d.getCenterPoint(),u=J_(e,h);u<r&&(r=u,c=d)}}if(c){const d=c.tooltipPosition();n=d.x,o=d.y}return{x:n,y:o}}};function Jt(t,e){return e&&($e(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ma(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
8564
|
+
*/class IX{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,n,o,r){const i=n.listeners[r],s=n.duration;i.forEach(c=>c({chart:e,initial:n.initial,numSteps:s,currentStep:Math.min(o-n.start,s)}))}_refresh(){this._request||(this._running=!0,this._request=nD.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let n=0;this._charts.forEach((o,r)=>{if(!o.running||!o.items.length)return;const i=o.items;let s=i.length-1,c=!1,d;for(;s>=0;--s)d=i[s],d._active?(d._total>o.duration&&(o.duration=d._total),d.tick(e),c=!0):(i[s]=i[i.length-1],i.pop());c&&(r.draw(),this._notify(r,o,e,"progress")),i.length||(o.running=!1,this._notify(r,o,e,"complete"),o.initial=!1),n+=i.length}),this._lastDate=e,n===0&&(this._running=!1)}_getAnims(e){const n=this._charts;let o=n.get(e);return o||(o={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},n.set(e,o)),o}listen(e,n,o){this._getAnims(e).listeners[n].push(o)}add(e,n){!n||!n.length||this._getAnims(e).items.push(...n)}has(e){return this._getAnims(e).items.length>0}start(e){const n=this._charts.get(e);n&&(n.running=!0,n.start=Date.now(),n.duration=n.items.reduce((o,r)=>Math.max(o,r._duration),0),this._refresh())}running(e){if(!this._running)return!1;const n=this._charts.get(e);return!(!n||!n.running||!n.items.length)}stop(e){const n=this._charts.get(e);if(!n||!n.items.length)return;const o=n.items;let r=o.length-1;for(;r>=0;--r)o[r].cancel();n.items=[],this._notify(e,n,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var pa=new IX;const PD="transparent",_X={boolean(t,e,n){return n>.5?e:t},color(t,e,n){const o=sD(t||PD),r=o.valid&&sD(e||PD);return r&&r.valid?r.mix(o,n).hexString():e},number(t,e,n){return t+(e-t)*n}};class BX{constructor(e,n,o,r){const i=n[o];r=RS([e.to,r,i,e.from]);const s=RS([e.from,i,r]);this._active=!0,this._fn=e.fn||_X[e.type||typeof s],this._easing=s1[e.easing]||s1.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=n,this._prop=o,this._from=s,this._to=r,this._promises=void 0}active(){return this._active}update(e,n,o){if(this._active){this._notify(!1);const r=this._target[this._prop],i=o-this._start,s=this._duration-i;this._start=o,this._duration=Math.floor(Math.max(s,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=RS([e.to,n,r,e.from]),this._from=RS([e.from,r,n])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const n=e-this._start,o=this._duration,r=this._prop,i=this._from,s=this._loop,c=this._to;let d;if(this._active=i!==c&&(s||n<o),!this._active){this._target[r]=c,this._notify(!0);return}if(n<0){this._target[r]=i;return}d=n/o%2,d=s&&d>1?2-d:d,d=this._easing(Math.min(1,Math.max(0,d))),this._target[r]=this._fn(i,c,d)}wait(){const e=this._promises||(this._promises=[]);return new Promise((n,o)=>{e.push({res:n,rej:o})})}_notify(e){const n=e?"res":"rej",o=this._promises||[];for(let r=0;r<o.length;r++)o[r][n]()}}class DD{constructor(e,n){this._chart=e,this._properties=new Map,this.configure(n)}configure(e){if(!we(e))return;const n=Object.keys(Fe.animation),o=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const i=e[r];if(!we(i))return;const s={};for(const c of n)s[c]=i[c];($e(i.properties)&&i.properties||[r]).forEach(c=>{(c===r||!o.has(c))&&o.set(c,s)})})}_animateOptions(e,n){const o=n.options,r=VX(e,o);if(!r)return[];const i=this._createAnimations(r,o);return o.$shared&&AX(e.options.$animations,o).then(()=>{e.options=o},()=>{}),i}_createAnimations(e,n){const o=this._properties,r=[],i=e.$animations||(e.$animations={}),s=Object.keys(n),c=Date.now();let d;for(d=s.length-1;d>=0;--d){const h=s[d];if(h.charAt(0)==="$")continue;if(h==="options"){r.push(...this._animateOptions(e,n));continue}const u=n[h];let p=i[h];const y=o.get(h);if(p)if(y&&p.active()){p.update(y,u,c);continue}else p.cancel();if(!y||!y.duration){e[h]=u;continue}i[h]=p=new BX(y,e,h,u),r.push(p)}return r}update(e,n){if(this._properties.size===0){Object.assign(e,n);return}const o=this._createAnimations(e,n);if(o.length)return pa.add(this._chart,o),!0}}function AX(t,e){const n=[],o=Object.keys(e);for(let r=0;r<o.length;r++){const i=t[o[r]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}function VX(t,e){if(!e)return;let n=t.options;if(!n){t.options=e;return}return n.$shared&&(t.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n}function qD(t,e){const n=t&&t.options||{},o=n.reverse,r=n.min===void 0?e:0,i=n.max===void 0?e:0;return{start:o?i:r,end:o?r:i}}function PX(t,e,n){if(n===!1)return!1;const o=qD(t,n),r=qD(e,n);return{top:r.end,right:o.end,bottom:r.start,left:o.start}}function DX(t){let e,n,o,r;return we(t)?(e=t.top,n=t.right,o=t.bottom,r=t.left):e=n=o=r=t,{top:e,right:n,bottom:o,left:r,disabled:t===!1}}function zD(t,e){const n=[],o=t._getSortedDatasetMetas(e);let r,i;for(r=0,i=o.length;r<i;++r)n.push(o[r].index);return n}function ED(t,e,n,o={}){const r=t.keys,i=o.mode==="single";let s,c,d,h;if(e===null)return;let u=!1;for(s=0,c=r.length;s<c;++s){if(d=+r[s],d===n){if(u=!0,o.all)continue;break}h=t.values[d],We(h)&&(i||e===0||Xt(e)===Xt(h))&&(e+=h)}return!u&&!o.all?0:e}function qX(t,e){const{iScale:n,vScale:o}=e,r=n.axis==="x"?"x":"y",i=o.axis==="x"?"x":"y",s=Object.keys(t),c=new Array(s.length);let d,h,u;for(d=0,h=s.length;d<h;++d)u=s[d],c[d]={[r]:u,[i]:t[u]};return c}function pB(t,e){const n=t&&t.options.stacked;return n||n===void 0&&e.stack!==void 0}function zX(t,e,n){return`${t.id}.${e.id}.${n.stack||n.type}`}function EX(t){const{min:e,max:n,minDefined:o,maxDefined:r}=t.getUserBounds();return{min:o?e:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}function TX(t,e,n){const o=t[e]||(t[e]={});return o[n]||(o[n]={})}function TD(t,e,n,o){for(const r of e.getMatchingVisibleMetas(o).reverse()){const i=t[r.index];if(n&&i>0||!n&&i<0)return r.index}return null}function OD(t,e){const{chart:n,_cachedMeta:o}=t,r=n._stacks||(n._stacks={}),{iScale:i,vScale:s,index:c}=o,d=i.axis,h=s.axis,u=zX(i,s,o),p=e.length;let y;for(let f=0;f<p;++f){const m=e[f],{[d]:k,[h]:g}=m,b=m._stacks||(m._stacks={});y=b[h]=TX(r,u,k),y[c]=g,y._top=TD(y,s,!0,o.type),y._bottom=TD(y,s,!1,o.type);const w=y._visualValues||(y._visualValues={});w[c]=g}}function yB(t,e){const n=t.scales;return Object.keys(n).filter(o=>n[o].axis===e).shift()}function OX(t,e){return ms(t,{active:!1,dataset:void 0,datasetIndex:e,index:e,mode:"default",type:"dataset"})}function HX(t,e,n){return ms(t,{active:!1,dataIndex:e,parsed:void 0,raw:void 0,element:n,index:e,mode:"default",type:"data"})}function h1(t,e){const n=t.controller.index,o=t.vScale&&t.vScale.axis;if(o){e=e||t._parsed;for(const r of e){const i=r._stacks;if(!i||i[o]===void 0||i[o][n]===void 0)return;delete i[o][n],i[o]._visualValues!==void 0&&i[o]._visualValues[n]!==void 0&&delete i[o]._visualValues[n]}}}const fB=t=>t==="reset"||t==="none",HD=(t,e)=>e?t:Object.assign({},t),FX=(t,e,n)=>t&&!e.hidden&&e._stacked&&{keys:zD(n,!0),values:null};class Ms{constructor(e,n){this.chart=e,this._ctx=e.ctx,this.index=n,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=pB(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&h1(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,n=this._cachedMeta,o=this.getDataset(),r=(p,y,f,m)=>p==="x"?y:p==="r"?m:f,i=n.xAxisID=be(o.xAxisID,yB(e,"x")),s=n.yAxisID=be(o.yAxisID,yB(e,"y")),c=n.rAxisID=be(o.rAxisID,yB(e,"r")),d=n.indexAxis,h=n.iAxisID=r(d,i,s,c),u=n.vAxisID=r(d,s,i,c);n.xScale=this.getScaleForId(i),n.yScale=this.getScaleForId(s),n.rScale=this.getScaleForId(c),n.iScale=this.getScaleForId(h),n.vScale=this.getScaleForId(u)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const n=this._cachedMeta;return e===n.iScale?n.vScale:n.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&tD(this._data,this),e._stacked&&h1(e)}_dataCheck(){const e=this.getDataset(),n=e.data||(e.data=[]),o=this._data;if(we(n)){const r=this._cachedMeta;this._data=qX(n,r)}else if(o!==n){if(o){tD(o,this);const r=this._cachedMeta;h1(r),r._parsed=[]}n&&Object.isExtensible(n)&&wK(n,this),this._syncList=[],this._data=n}}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const n=this._cachedMeta,o=this.getDataset();let r=!1;this._dataCheck();const i=n._stacked;n._stacked=pB(n.vScale,n),n.stack!==o.stack&&(r=!0,h1(n),n.stack=o.stack),this._resyncElements(e),(r||i!==n._stacked)&&(OD(this,n._parsed),n._stacked=pB(n.vScale,n))}configure(){const e=this.chart.config,n=e.datasetScopeKeys(this._type),o=e.getOptionScopes(this.getDataset(),n,!0);this.options=e.createResolver(o,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,n){const{_cachedMeta:o,_data:r}=this,{iScale:i,_stacked:s}=o,c=i.axis;let d=e===0&&n===r.length?!0:o._sorted,h=e>0&&o._parsed[e-1],u,p,y;if(this._parsing===!1)o._parsed=r,o._sorted=!0,y=r;else{$e(r[e])?y=this.parseArrayData(o,r,e,n):we(r[e])?y=this.parseObjectData(o,r,e,n):y=this.parsePrimitiveData(o,r,e,n);const f=()=>p[c]===null||h&&p[c]<h[c];for(u=0;u<n;++u)o._parsed[u+e]=p=y[u],d&&(f()&&(d=!1),h=p);o._sorted=d}s&&OD(this,y)}parsePrimitiveData(e,n,o,r){const{iScale:i,vScale:s}=e,c=i.axis,d=s.axis,h=i.getLabels(),u=i===s,p=new Array(r);let y,f,m;for(y=0,f=r;y<f;++y)m=y+o,p[y]={[c]:u||i.parse(h[m],m),[d]:s.parse(n[m],m)};return p}parseArrayData(e,n,o,r){const{xScale:i,yScale:s}=e,c=new Array(r);let d,h,u,p;for(d=0,h=r;d<h;++d)u=d+o,p=n[u],c[d]={x:i.parse(p[0],u),y:s.parse(p[1],u)};return c}parseObjectData(e,n,o,r){const{xScale:i,yScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=new Array(r);let u,p,y,f;for(u=0,p=r;u<p;++u)y=u+o,f=n[y],h[u]={x:i.parse(hs(f,c),y),y:s.parse(hs(f,d),y)};return h}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,n,o){const r=this.chart,i=this._cachedMeta,s=n[e.axis],c={keys:zD(r,!0),values:n._stacks[e.axis]._visualValues};return ED(c,s,i.index,{mode:o})}updateRangeFromParsed(e,n,o,r){const i=o[n.axis];let s=i===null?NaN:i;const c=r&&o._stacks[n.axis];r&&c&&(r.values=c,s=ED(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,s),e.max=Math.max(e.max,s)}getMinMax(e,n){const o=this._cachedMeta,r=o._parsed,i=o._sorted&&e===o.iScale,s=r.length,c=this._getOtherScale(e),d=FX(n,o,this.chart),h={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:u,max:p}=EX(c);let y,f;function m(){f=r[y];const k=f[c.axis];return!We(f[e.axis])||u>k||p<k}for(y=0;y<s&&!(!m()&&(this.updateRangeFromParsed(h,e,f,d),i));++y);if(i){for(y=s-1;y>=0;--y)if(!m()){this.updateRangeFromParsed(h,e,f,d);break}}return h}getAllParsedValues(e){const n=this._cachedMeta._parsed,o=[];let r,i,s;for(r=0,i=n.length;r<i;++r)s=n[r][e.axis],We(s)&&o.push(s);return o}getMaxOverflow(){return!1}getLabelAndValue(e){const n=this._cachedMeta,o=n.iScale,r=n.vScale,i=this.getParsed(e);return{label:o?""+o.getLabelForValue(i[o.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const n=this._cachedMeta;this.update(e||"default"),n._clip=DX(be(this.options.clip,PX(n.xScale,n.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,n=this.chart,o=this._cachedMeta,r=o.data||[],i=n.chartArea,s=[],c=this._drawStart||0,d=this._drawCount||r.length-c,h=this.options.drawActiveElementsOnTop;let u;for(o.dataset&&o.dataset.draw(e,i,c,d),u=c;u<c+d;++u){const p=r[u];p.hidden||(p.active&&h?s.push(p):p.draw(e,i))}for(u=0;u<s.length;++u)s[u].draw(e,i)}getStyle(e,n){const o=n?"active":"default";return e===void 0&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(o):this.resolveDataElementOptions(e||0,o)}getContext(e,n,o){const r=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const s=this._cachedMeta.data[e];i=s.$context||(s.$context=HX(this.getContext(),e,s)),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=OX(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!n,i.mode=o,i}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,n){return this._resolveElementOptions(this.dataElementType.id,n,e)}_resolveElementOptions(e,n="default",o){const r=n==="active",i=this._cachedDataOpts,s=e+"-"+n,c=i[s],d=this.enableOptionSharing&&n1(o);if(c)return HD(c,d);const h=this.chart.config,u=h.datasetElementScopeKeys(this._type,e),p=r?[`${e}Hover`,"hover",e,""]:[e,""],y=h.getOptionScopes(this.getDataset(),u),f=Object.keys(Fe.elements[e]),m=()=>this.getContext(o,r,n),k=h.resolveNamedOptions(y,f,m,p);return k.$shared&&(k.$shared=d,i[s]=Object.freeze(HD(k,d))),k}_resolveAnimations(e,n,o){const r=this.chart,i=this._cachedDataOpts,s=`animation-${n}`,c=i[s];if(c)return c;let d;if(r.options.animation!==!1){const u=this.chart.config,p=u.datasetAnimationScopeKeys(this._type,n),y=u.getOptionScopes(this.getDataset(),p);d=u.createResolver(y,this.getContext(e,o,n))}const h=new DD(r,d&&d.animations);return d&&d._cacheable&&(i[s]=Object.freeze(h)),h}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,n){return!n||fB(e)||this.chart._animationsDisabled}_getSharedOptions(e,n){const o=this.resolveDataElementOptions(e,n),r=this._sharedOptions,i=this.getSharedOptions(o),s=this.includeOptions(n,i)||i!==r;return this.updateSharedOptions(i,n,o),{sharedOptions:i,includeOptions:s}}updateElement(e,n,o,r){fB(r)?Object.assign(e,o):this._resolveAnimations(n,r).update(e,o)}updateSharedOptions(e,n,o){e&&!fB(n)&&this._resolveAnimations(void 0,n).update(e,o)}_setStyle(e,n,o,r){e.active=r;const i=this.getStyle(n,r);this._resolveAnimations(n,o,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}removeHoverStyle(e,n,o){this._setStyle(e,o,"active",!1)}setHoverStyle(e,n,o){this._setStyle(e,o,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const n=this._data,o=this._cachedMeta.data;for(const[c,d,h]of this._syncList)this[c](d,h);this._syncList=[];const r=o.length,i=n.length,s=Math.min(i,r);s&&this.parse(0,s),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,n,o=!0){const r=this._cachedMeta,i=r.data,s=e+n;let c;const d=h=>{for(h.length+=n,c=h.length-1;c>=s;c--)h[c]=h[c-n]};for(d(i),c=e;c<s;++c)i[c]=new this.dataElementType;this._parsing&&d(r._parsed),this.parse(e,n),o&&this.updateElements(i,e,n,"reset")}updateElements(e,n,o,r){}_removeElements(e,n){const o=this._cachedMeta;if(this._parsing){const r=o._parsed.splice(e,n);o._stacked&&h1(o,r)}o.data.splice(e,n)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[n,o,r]=e;this[n](o,r)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,n){n&&this._sync(["_removeElements",e,n]);const o=arguments.length-2;o&&this._sync(["_insertElements",e,o])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}se(Ms,"defaults",{}),se(Ms,"datasetElementType",null),se(Ms,"dataElementType",null);function $X(t,e){if(!t._cache.$bar){const n=t.getMatchingVisibleMetas(e);let o=[];for(let r=0,i=n.length;r<i;r++)o=o.concat(n[r].controller.getAllParsedValues(t));t._cache.$bar=aD(o.sort((r,i)=>r-i))}return t._cache.$bar}function jX(t){const e=t.iScale,n=$X(e,t.type);let o=e._length,r,i,s,c;const d=()=>{s===32767||s===-32768||(n1(c)&&(o=Math.min(o,Math.abs(s-c)||o)),c=s)};for(r=0,i=n.length;r<i;++r)s=e.getPixelForValue(n[r]),d();for(c=void 0,r=0,i=e.ticks.length;r<i;++r)s=e.getPixelForTick(r),d();return o}function RX(t,e,n,o){const r=n.barThickness;let i,s;return Ie(r)?(i=e.min*n.categoryPercentage,s=n.barPercentage):(i=r*o,s=1),{chunk:i/o,ratio:s,start:e.pixels[t]-i/2}}function NX(t,e,n,o){const r=e.pixels,i=r[t];let s=t>0?r[t-1]:null,c=t<r.length-1?r[t+1]:null;const d=n.categoryPercentage;s===null&&(s=i-(c===null?e.end-e.start:c-i)),c===null&&(c=i+i-s);const h=i-(i-Math.min(s,c))/2*d;return{chunk:Math.abs(c-s)/2*d/o,ratio:n.barPercentage,start:h}}function UX(t,e,n,o){const r=n.parse(t[0],o),i=n.parse(t[1],o),s=Math.min(r,i),c=Math.max(r,i);let d=s,h=c;Math.abs(s)>Math.abs(c)&&(d=c,h=s),e[n.axis]=h,e._custom={barStart:d,barEnd:h,start:r,end:i,min:s,max:c}}function FD(t,e,n,o){return $e(t)?UX(t,e,n,o):e[n.axis]=n.parse(t,o),e}function $D(t,e,n,o){const r=t.iScale,i=t.vScale,s=r.getLabels(),c=r===i,d=[];let h,u,p,y;for(h=n,u=n+o;h<u;++h)y=e[h],p={},p[r.axis]=c||r.parse(s[h],h),d.push(FD(y,p,i,h));return d}function mB(t){return t&&t.barStart!==void 0&&t.barEnd!==void 0}function WX(t,e,n){return t!==0?Xt(t):(e.isHorizontal()?1:-1)*(e.min>=n?1:-1)}function GX(t){let e,n,o,r,i;return t.horizontal?(e=t.base>t.x,n="left",o="right"):(e=t.base<t.y,n="bottom",o="top"),e?(r="end",i="start"):(r="start",i="end"),{start:n,end:o,reverse:e,top:r,bottom:i}}function YX(t,e,n,o){let r=e.borderSkipped;const i={};if(!r){t.borderSkipped=i;return}if(r===!0){t.borderSkipped={top:!0,right:!0,bottom:!0,left:!0};return}const{start:s,end:c,reverse:d,top:h,bottom:u}=GX(t);r==="middle"&&n&&(t.enableBorderRadius=!0,(n._top||0)===o?r=h:(n._bottom||0)===o?r=u:(i[jD(u,s,c,d)]=!0,r=h)),i[jD(r,s,c,d)]=!0,t.borderSkipped=i}function jD(t,e,n,o){return o?(t=KX(t,e,n),t=RD(t,n,e)):t=RD(t,e,n),t}function KX(t,e,n){return t===e?n:t===n?e:t}function RD(t,e,n){return t==="start"?e:t==="end"?n:t}function XX(t,{inflateAmount:e},n){t.inflateAmount=e==="auto"?n===1?.33:0:e}class YS extends Ms{parsePrimitiveData(e,n,o,r){return $D(e,n,o,r)}parseArrayData(e,n,o,r){return $D(e,n,o,r)}parseObjectData(e,n,o,r){const{iScale:i,vScale:s}=e,{xAxisKey:c="x",yAxisKey:d="y"}=this._parsing,h=i.axis==="x"?c:d,u=s.axis==="x"?c:d,p=[];let y,f,m,k;for(y=o,f=o+r;y<f;++y)k=n[y],m={},m[i.axis]=i.parse(hs(k,h),y),p.push(FD(hs(k,u),m,s,y));return p}updateRangeFromParsed(e,n,o,r){super.updateRangeFromParsed(e,n,o,r);const i=o._custom;i&&n===this._cachedMeta.vScale&&(e.min=Math.min(e.min,i.min),e.max=Math.max(e.max,i.max))}getMaxOverflow(){return 0}getLabelAndValue(e){const n=this._cachedMeta,{iScale:o,vScale:r}=n,i=this.getParsed(e),s=i._custom,c=mB(s)?"["+s.start+", "+s.end+"]":""+r.getLabelForValue(i[r.axis]);return{label:""+o.getLabelForValue(i[o.axis]),value:c}}initialize(){this.enableOptionSharing=!0,super.initialize();const e=this._cachedMeta;e.stack=this.getDataset().stack}update(e){const n=this._cachedMeta;this.updateElements(n.data,0,n.data.length,e)}updateElements(e,n,o,r){const i=r==="reset",{index:s,_cachedMeta:{vScale:c}}=this,d=c.getBasePixel(),h=c.isHorizontal(),u=this._getRuler(),{sharedOptions:p,includeOptions:y}=this._getSharedOptions(n,r);for(let f=n;f<n+o;f++){const m=this.getParsed(f),k=i||Ie(m[c.axis])?{base:d,head:d}:this._calculateBarValuePixels(f),g=this._calculateBarIndexPixels(f,u),b=(m._stacks||{})[c.axis],w={horizontal:h,base:k.base,enableBorderRadius:!b||mB(m._custom)||s===b._top||s===b._bottom,x:h?k.head:g.center,y:h?g.center:k.head,height:h?g.size:Math.abs(k.size),width:h?Math.abs(k.size):g.size};y&&(w.options=p||this.resolveDataElementOptions(f,e[f].active?"active":r));const S=w.options||e[f].options;YX(w,S,b,s),XX(w,S,u.ratio),this.updateElement(e[f],f,w,r)}}_getStacks(e,n){const{iScale:o}=this._cachedMeta,r=o.getMatchingVisibleMetas(this._type).filter(u=>u.controller.options.grouped),i=o.options.stacked,s=[],c=this._cachedMeta.controller.getParsed(n),d=c&&c[o.axis],h=u=>{const p=u._parsed.find(f=>f[o.axis]===d),y=p&&p[u.vScale.axis];if(Ie(y)||isNaN(y))return!0};for(const u of r)if(!(n!==void 0&&h(u))&&((i===!1||s.indexOf(u.stack)===-1||i===void 0&&u.stack===void 0)&&s.push(u.stack),u.index===e))break;return s.length||s.push(void 0),s}_getStackCount(e){return this._getStacks(void 0,e).length}_getAxisCount(){return this._getAxis().length}getFirstScaleIdForIndexAxis(){const e=this.chart.scales,n=this.chart.options.indexAxis;return Object.keys(e).filter(o=>e[o].axis===n).shift()}_getAxis(){const e={},n=this.getFirstScaleIdForIndexAxis();for(const o of this.chart.data.datasets)e[be(this.chart.options.indexAxis==="x"?o.xAxisID:o.yAxisID,n)]=!0;return Object.keys(e)}_getStackIndex(e,n,o){const r=this._getStacks(e,o),i=n!==void 0?r.indexOf(n):-1;return i===-1?r.length-1:i}_getRuler(){const e=this.options,n=this._cachedMeta,o=n.iScale,r=[];let i,s;for(i=0,s=n.data.length;i<s;++i)r.push(o.getPixelForValue(this.getParsed(i)[o.axis],i));const c=e.barThickness;return{min:c||jX(n),pixels:r,start:o._startPixel,end:o._endPixel,stackCount:this._getStackCount(),scale:o,grouped:e.grouped,ratio:c?1:e.categoryPercentage*e.barPercentage}}_calculateBarValuePixels(e){const{_cachedMeta:{vScale:n,_stacked:o,index:r},options:{base:i,minBarLength:s}}=this,c=i||0,d=this.getParsed(e),h=d._custom,u=mB(h);let p=d[n.axis],y=0,f=o?this.applyStack(n,d,o):p,m,k;f!==p&&(y=f-p,f=p),u&&(p=h.barStart,f=h.barEnd-h.barStart,p!==0&&Xt(p)!==Xt(h.barEnd)&&(y=0),y+=p);const g=!Ie(i)&&!u?i:y;let b=n.getPixelForValue(g);if(this.chart.getDataVisibility(e)?m=n.getPixelForValue(y+f):m=b,k=m-b,Math.abs(k)<s){k=WX(k,n,c)*s,p===c&&(b-=k/2);const w=n.getPixelForDecimal(0),S=n.getPixelForDecimal(1),C=Math.min(w,S),x=Math.max(w,S);b=Math.max(Math.min(b,x),C),m=b+k,o&&!u&&(d._stacks[n.axis]._visualValues[r]=n.getValueForPixel(m)-n.getValueForPixel(b))}if(b===n.getPixelForValue(c)){const w=Xt(k)*n.getLineWidthForValue(c)/2;b+=w,k-=w}return{size:k,base:b,head:m,center:m+k/2}}_calculateBarIndexPixels(e,n){const o=n.scale,r=this.options,i=r.skipNull,s=be(r.maxBarThickness,1/0);let c,d;const h=this._getAxisCount();if(n.grouped){const u=i?this._getStackCount(e):n.stackCount,p=r.barThickness==="flex"?NX(e,n,r,u*h):RX(e,n,r,u*h),y=this.chart.options.indexAxis==="x"?this.getDataset().xAxisID:this.getDataset().yAxisID,f=this._getAxis().indexOf(be(y,this.getFirstScaleIdForIndexAxis())),m=this._getStackIndex(this.index,this._cachedMeta.stack,i?e:void 0)+f;c=p.start+p.chunk*m+p.chunk/2,d=Math.min(s,p.chunk*p.ratio)}else c=o.getPixelForValue(this.getParsed(e)[o.axis],e),d=Math.min(s,n.min*n.ratio);return{base:c-d/2,head:c+d/2,center:c,size:d}}draw(){const e=this._cachedMeta,n=e.vScale,o=e.data,r=o.length;let i=0;for(;i<r;++i)this.getParsed(i)[n.axis]!==null&&!o[i].hidden&&o[i].draw(this._ctx)}}se(YS,"id","bar"),se(YS,"defaults",{datasetElementType:!1,dataElementType:"bar",categoryPercentage:.8,barPercentage:.9,grouped:!0,animations:{numbers:{type:"number",properties:["x","y","base","width","height"]}}}),se(YS,"overrides",{scales:{_index_:{type:"category",offset:!0,grid:{offset:!0}},_value_:{type:"linear",beginAtZero:!0}}});function ZX(t,e,n){let o=1,r=1,i=0,s=0;if(e<ze){const c=t,d=c+e,h=Math.cos(c),u=Math.sin(c),p=Math.cos(d),y=Math.sin(d),f=(S,C,x)=>i1(S,c,d,!0)?1:Math.max(C,C*n,x,x*n),m=(S,C,x)=>i1(S,c,d,!0)?-1:Math.min(C,C*n,x,x*n),k=f(0,h,p),g=f(Re,u,y),b=m(Ae,h,p),w=m(Ae+Re,u,y);o=(k-b)/2,r=(g-w)/2,i=-(k+b)/2,s=-(g+w)/2}return{ratioX:o,ratioY:r,offsetX:i,offsetY:s}}class il extends Ms{constructor(e,n){super(e,n),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,n){const o=this.getDataset().data,r=this._cachedMeta;if(this._parsing===!1)r._parsed=o;else{let i=d=>+o[d];if(we(o[e])){const{key:d="value"}=this._parsing;i=h=>+hs(o[h],d)}let s,c;for(s=e,c=e+n;s<c;++s)r._parsed[s]=i(s)}}_getRotation(){return ha(this.options.rotation-90)}_getCircumference(){return ha(this.options.circumference)}_getRotationExtents(){let e=ze,n=-ze;for(let o=0;o<this.chart.data.datasets.length;++o)if(this.chart.isDatasetVisible(o)&&this.chart.getDatasetMeta(o).type===this._type){const r=this.chart.getDatasetMeta(o).controller,i=r._getRotation(),s=r._getCircumference();e=Math.min(e,i),n=Math.max(n,i+s)}return{rotation:e,circumference:n-e}}update(e){const n=this.chart,{chartArea:o}=n,r=this._cachedMeta,i=r.data,s=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,c=Math.max((Math.min(o.width,o.height)-s)/2,0),d=Math.min(rK(this.options.cutout,c),1),h=this._getRingWeight(this.index),{circumference:u,rotation:p}=this._getRotationExtents(),{ratioX:y,ratioY:f,offsetX:m,offsetY:k}=ZX(p,u,d),g=(o.width-s)/y,b=(o.height-s)/f,w=Math.max(Math.min(g,b)/2,0),S=UP(this.options.radius,w),C=Math.max(S*d,0),x=(S-C)/this._getVisibleDatasetWeightTotal();this.offsetX=m*S,this.offsetY=k*S,r.total=this.calculateTotal(),this.outerRadius=S-x*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-x*h,0),this.updateElements(i,0,i.length,e)}_circumference(e,n){const o=this.options,r=this._cachedMeta,i=this._getCircumference();return n&&o.animation.animateRotate||!this.chart.getDataVisibility(e)||r._parsed[e]===null||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/ze)}updateElements(e,n,o,r){const i=r==="reset",s=this.chart,c=s.chartArea,h=s.options.animation,u=(c.left+c.right)/2,p=(c.top+c.bottom)/2,y=i&&h.animateScale,f=y?0:this.innerRadius,m=y?0:this.outerRadius,{sharedOptions:k,includeOptions:g}=this._getSharedOptions(n,r);let b=this._getRotation(),w;for(w=0;w<n;++w)b+=this._circumference(w,i);for(w=n;w<n+o;++w){const S=this._circumference(w,i),C=e[w],x={x:u+this.offsetX,y:p+this.offsetY,startAngle:b,endAngle:b+S,circumference:S,outerRadius:m,innerRadius:f};g&&(x.options=k||this.resolveDataElementOptions(w,C.active?"active":r)),b+=S,this.updateElement(C,w,x,r)}}calculateTotal(){const e=this._cachedMeta,n=e.data;let o=0,r;for(r=0;r<n.length;r++){const i=e._parsed[r];i!==null&&!isNaN(i)&&this.chart.getDataVisibility(r)&&!n[r].hidden&&(o+=Math.abs(i))}return o}calculateCircumference(e){const n=this._cachedMeta.total;return n>0&&!isNaN(e)?ze*(Math.abs(e)/n):0}getLabelAndValue(e){const n=this._cachedMeta,o=this.chart,r=o.data.labels||[],i=nB(n._parsed[e],o.options.locale);return{label:r[e]||"",value:i}}getMaxBorderWidth(e){let n=0;const o=this.chart;let r,i,s,c,d;if(!e){for(r=0,i=o.data.datasets.length;r<i;++r)if(o.isDatasetVisible(r)){s=o.getDatasetMeta(r),e=s.data,c=s.controller;break}}if(!e)return 0;for(r=0,i=e.length;r<i;++r)d=c.resolveDataElementOptions(r),d.borderAlign!=="inner"&&(n=Math.max(n,d.borderWidth||0,d.hoverBorderWidth||0));return n}getMaxOffset(e){let n=0;for(let o=0,r=e.length;o<r;++o){const i=this.resolveDataElementOptions(o);n=Math.max(n,i.offset||0,i.hoverOffset||0)}return n}_getRingWeightOffset(e){let n=0;for(let o=0;o<e;++o)this.chart.isDatasetVisible(o)&&(n+=this._getRingWeight(o));return n}_getRingWeight(e){return Math.max(be(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}se(il,"id","doughnut"),se(il,"defaults",{datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"}),se(il,"descriptors",{_scriptable:e=>e!=="spacing",_indexable:e=>e!=="spacing"&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")}),se(il,"overrides",{aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const n=e.data,{labels:{pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=e.legend.options;return n.labels.length&&n.datasets.length?n.labels.map((d,h)=>{const p=e.getDatasetMeta(0).controller.getStyle(h);return{text:d,fillStyle:p.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(h),lineDash:p.borderDash,lineDashOffset:p.borderDashOffset,lineJoin:p.borderJoinStyle,lineWidth:p.borderWidth,strokeStyle:p.borderColor,textAlign:r,pointStyle:o,borderRadius:s&&(c||p.borderRadius),index:h}}):[]}},onClick(e,n,o){o.chart.toggleDataVisibility(n.index),o.chart.update()}}}});class KS extends Ms{initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const n=this._cachedMeta,{dataset:o,data:r=[],_dataset:i}=n,s=this.chart._animationsDisabled;let{start:c,count:d}=LK(n,r,s);this._drawStart=c,this._drawCount=d,SK(n)&&(c=0,d=r.length),o._chart=this.chart,o._datasetIndex=this.index,o._decimated=!!i._decimated,o.points=r;const h=this.resolveDatasetElementOptions(e);this.options.showLine||(h.borderWidth=0),h.segment=this.options.segment,this.updateElement(o,void 0,{animated:!s,options:h},e),this.updateElements(r,c,d,e)}updateElements(e,n,o,r){const i=r==="reset",{iScale:s,vScale:c,_stacked:d,_dataset:h}=this._cachedMeta,{sharedOptions:u,includeOptions:p}=this._getSharedOptions(n,r),y=s.axis,f=c.axis,{spanGaps:m,segment:k}=this.options,g=r1(m)?m:Number.POSITIVE_INFINITY,b=this.chart._animationsDisabled||i||r==="none",w=n+o,S=e.length;let C=n>0&&this.getParsed(n-1);for(let x=0;x<S;++x){const M=e[x],v=b?M:{};if(x<n||x>=w){v.skip=!0;continue}const L=this.getParsed(x),I=Ie(L[f]),_=v[y]=s.getPixelForValue(L[y],x),A=v[f]=i||I?c.getBasePixel():c.getPixelForValue(d?this.applyStack(c,L,d):L[f],x);v.skip=isNaN(_)||isNaN(A)||I,v.stop=x>0&&Math.abs(L[y]-C[y])>g,k&&(v.parsed=L,v.raw=h.data[x]),p&&(v.options=u||this.resolveDataElementOptions(x,M.active?"active":r)),b||this.updateElement(M,x,v,r),C=L}}getMaxOverflow(){const e=this._cachedMeta,n=e.dataset,o=n.options&&n.options.borderWidth||0,r=e.data||[];if(!r.length)return o;const i=r[0].size(this.resolveDataElementOptions(0)),s=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(o,i,s)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}se(KS,"id","line"),se(KS,"defaults",{datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1}),se(KS,"overrides",{scales:{_index_:{type:"category"},_value_:{type:"linear"}}});class kB extends il{}se(kB,"id","pie"),se(kB,"defaults",{cutout:0,rotation:0,circumference:360,radius:"100%"});function xs(){throw new Error("This method is not implemented: Check that a complete date adapter is provided.")}class gB{constructor(e){se(this,"options");this.options=e||{}}static override(e){Object.assign(gB.prototype,e)}init(){}formats(){return xs()}parse(){return xs()}format(){return xs()}add(){return xs()}diff(){return xs()}startOf(){return xs()}endOf(){return xs()}}var JX={_date:gB};function QX(t,e,n,o){const{controller:r,data:i,_sorted:s}=t,c=r._cachedMeta.iScale,d=t.dataset&&t.dataset.options?t.dataset.options.spanGaps:null;if(c&&e===c.axis&&e!=="r"&&s&&i.length){const h=c._reversePixels?MK:ps;if(o){if(r._sharedOptions){const u=i[0],p=typeof u.getRange=="function"&&u.getRange(e);if(p){const y=h(i,e,n-p),f=h(i,e,n+p);return{lo:y.lo,hi:f.hi}}}}else{const u=h(i,e,n);if(d){const{vScale:p}=r._cachedMeta,{_parsed:y}=t,f=y.slice(0,u.lo+1).reverse().findIndex(k=>!Ie(k[p.axis]));u.lo-=Math.max(0,f);const m=y.slice(u.hi).findIndex(k=>!Ie(k[p.axis]));u.hi+=Math.max(0,m)}return u}}return{lo:0,hi:i.length-1}}function XS(t,e,n,o,r){const i=t.getSortedVisibleDatasetMetas(),s=n[e];for(let c=0,d=i.length;c<d;++c){const{index:h,data:u}=i[c],{lo:p,hi:y}=QX(i[c],e,s,r);for(let f=p;f<=y;++f){const m=u[f];m.skip||o(m,h,f)}}}function eZ(t){const e=t.indexOf("x")!==-1,n=t.indexOf("y")!==-1;return function(o,r){const i=e?Math.abs(o.x-r.x):0,s=n?Math.abs(o.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(s,2))}}function bB(t,e,n,o,r){const i=[];return!r&&!t.isPointInArea(e)||XS(t,n,e,function(c,d,h){!r&&!c1(c,t.chartArea,0)||c.inRange(e.x,e.y,o)&&i.push({element:c,datasetIndex:d,index:h})},!0),i}function tZ(t,e,n,o){let r=[];function i(s,c,d){const{startAngle:h,endAngle:u}=s.getProps(["startAngle","endAngle"],o),{angle:p}=QP(s,{x:e.x,y:e.y});i1(p,h,u)&&r.push({element:s,datasetIndex:c,index:d})}return XS(t,n,e,i),r}function aZ(t,e,n,o,r,i){let s=[];const c=eZ(n);let d=Number.POSITIVE_INFINITY;function h(u,p,y){const f=u.inRange(e.x,e.y,r);if(o&&!f)return;const m=u.getCenterPoint(r);if(!(!!i||t.isPointInArea(m))&&!f)return;const g=c(e,m);g<d?(s=[{element:u,datasetIndex:p,index:y}],d=g):g===d&&s.push({element:u,datasetIndex:p,index:y})}return XS(t,n,e,h),s}function MB(t,e,n,o,r,i){return!i&&!t.isPointInArea(e)?[]:n==="r"&&!o?tZ(t,e,n,r):aZ(t,e,n,o,r,i)}function ND(t,e,n,o,r){const i=[],s=n==="x"?"inXRange":"inYRange";let c=!1;return XS(t,n,e,(d,h,u)=>{d[s]&&d[s](e[n],r)&&(i.push({element:d,datasetIndex:h,index:u}),c=c||d.inRange(e.x,e.y,r))}),o&&!c?[]:i}var nZ={modes:{index(t,e,n,o){const r=gs(e,t),i=n.axis||"x",s=n.includeInvisible||!1,c=n.intersect?bB(t,r,i,o,s):MB(t,r,i,!1,o,s),d=[];return c.length?(t.getSortedVisibleDatasetMetas().forEach(h=>{const u=c[0].index,p=h.data[u];p&&!p.skip&&d.push({element:p,datasetIndex:h.index,index:u})}),d):[]},dataset(t,e,n,o){const r=gs(e,t),i=n.axis||"xy",s=n.includeInvisible||!1;let c=n.intersect?bB(t,r,i,o,s):MB(t,r,i,!1,o,s);if(c.length>0){const d=c[0].datasetIndex,h=t.getDatasetMeta(d).data;c=[];for(let u=0;u<h.length;++u)c.push({element:h[u],datasetIndex:d,index:u})}return c},point(t,e,n,o){const r=gs(e,t),i=n.axis||"xy",s=n.includeInvisible||!1;return bB(t,r,i,o,s)},nearest(t,e,n,o){const r=gs(e,t),i=n.axis||"xy",s=n.includeInvisible||!1;return MB(t,r,i,n.intersect,o,s)},x(t,e,n,o){const r=gs(e,t);return ND(t,r,"x",n.intersect,o)},y(t,e,n,o){const r=gs(e,t);return ND(t,r,"y",n.intersect,o)}}};const UD=["left","top","right","bottom"];function u1(t,e){return t.filter(n=>n.pos===e)}function WD(t,e){return t.filter(n=>UD.indexOf(n.pos)===-1&&n.box.axis===e)}function p1(t,e){return t.sort((n,o)=>{const r=e?o:n,i=e?n:o;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function oZ(t){const e=[];let n,o,r,i,s,c;for(n=0,o=(t||[]).length;n<o;++n)r=t[n],{position:i,options:{stack:s,stackWeight:c=1}}=r,e.push({index:n,box:r,pos:i,horizontal:r.isHorizontal(),weight:r.weight,stack:s&&i+s,stackWeight:c});return e}function rZ(t){const e={};for(const n of t){const{stack:o,pos:r,stackWeight:i}=n;if(!o||!UD.includes(r))continue;const s=e[o]||(e[o]={count:0,placed:0,weight:0,size:0});s.count++,s.weight+=i}return e}function iZ(t,e){const n=rZ(t),{vBoxMaxWidth:o,hBoxMaxHeight:r}=e;let i,s,c;for(i=0,s=t.length;i<s;++i){c=t[i];const{fullSize:d}=c.box,h=n[c.stack],u=h&&c.stackWeight/h.weight;c.horizontal?(c.width=u?u*o:d&&e.availableWidth,c.height=r):(c.width=o,c.height=u?u*r:d&&e.availableHeight)}return n}function sZ(t){const e=oZ(t),n=p1(e.filter(h=>h.box.fullSize),!0),o=p1(u1(e,"left"),!0),r=p1(u1(e,"right")),i=p1(u1(e,"top"),!0),s=p1(u1(e,"bottom")),c=WD(e,"x"),d=WD(e,"y");return{fullSize:n,leftAndTop:o.concat(i),rightAndBottom:r.concat(d).concat(s).concat(c),chartArea:u1(e,"chartArea"),vertical:o.concat(r).concat(d),horizontal:i.concat(s).concat(c)}}function GD(t,e,n,o){return Math.max(t[n],e[n])+Math.max(t[o],e[o])}function YD(t,e){t.top=Math.max(t.top,e.top),t.left=Math.max(t.left,e.left),t.bottom=Math.max(t.bottom,e.bottom),t.right=Math.max(t.right,e.right)}function lZ(t,e,n,o){const{pos:r,box:i}=n,s=t.maxPadding;if(!we(r)){n.size&&(t[r]-=n.size);const p=o[n.stack]||{size:0,count:1};p.size=Math.max(p.size,n.horizontal?i.height:i.width),n.size=p.size/p.count,t[r]+=n.size}i.getPadding&&YD(s,i.getPadding());const c=Math.max(0,e.outerWidth-GD(s,t,"left","right")),d=Math.max(0,e.outerHeight-GD(s,t,"top","bottom")),h=c!==t.w,u=d!==t.h;return t.w=c,t.h=d,n.horizontal?{same:h,other:u}:{same:u,other:h}}function cZ(t){const e=t.maxPadding;function n(o){const r=Math.max(e[o]-t[o],0);return t[o]+=r,r}t.y+=n("top"),t.x+=n("left"),n("right"),n("bottom")}function dZ(t,e){const n=e.maxPadding;function o(r){const i={left:0,top:0,right:0,bottom:0};return r.forEach(s=>{i[s]=Math.max(e[s],n[s])}),i}return o(t?["left","right"]:["top","bottom"])}function y1(t,e,n,o){const r=[];let i,s,c,d,h,u;for(i=0,s=t.length,h=0;i<s;++i){c=t[i],d=c.box,d.update(c.width||e.w,c.height||e.h,dZ(c.horizontal,e));const{same:p,other:y}=lZ(e,n,c,o);h|=p&&r.length,u=u||y,d.fullSize||r.push(c)}return h&&y1(r,e,n,o)||u}function ZS(t,e,n,o,r){t.top=n,t.left=e,t.right=e+o,t.bottom=n+r,t.width=o,t.height=r}function KD(t,e,n,o){const r=n.padding;let{x:i,y:s}=e;for(const c of t){const d=c.box,h=o[c.stack]||{placed:0,weight:1},u=c.stackWeight/h.weight||1;if(c.horizontal){const p=e.w*u,y=h.size||d.height;n1(h.start)&&(s=h.start),d.fullSize?ZS(d,r.left,s,n.outerWidth-r.right-r.left,y):ZS(d,e.left+h.placed,s,p,y),h.start=s,h.placed+=p,s=d.bottom}else{const p=e.h*u,y=h.size||d.width;n1(h.start)&&(i=h.start),d.fullSize?ZS(d,i,r.top,y,n.outerHeight-r.bottom-r.top):ZS(d,i,e.top+h.placed,y,p),h.start=i,h.placed+=p,i=d.right}}e.x=i,e.y=s}var gt={addBox(t,e){t.boxes||(t.boxes=[]),e.fullSize=e.fullSize||!1,e.position=e.position||"top",e.weight=e.weight||0,e._layers=e._layers||function(){return[{z:0,draw(n){e.draw(n)}}]},t.boxes.push(e)},removeBox(t,e){const n=t.boxes?t.boxes.indexOf(e):-1;n!==-1&&t.boxes.splice(n,1)},configure(t,e,n){e.fullSize=n.fullSize,e.position=n.position,e.weight=n.weight},update(t,e,n,o){if(!t)return;const r=kt(t.options.layout.padding),i=Math.max(e-r.width,0),s=Math.max(n-r.height,0),c=sZ(t.boxes),d=c.vertical,h=c.horizontal;Be(t.boxes,k=>{typeof k.beforeLayout=="function"&&k.beforeLayout()});const u=d.reduce((k,g)=>g.box.options&&g.box.options.display===!1?k:k+1,0)||1,p=Object.freeze({outerWidth:e,outerHeight:n,padding:r,availableWidth:i,availableHeight:s,vBoxMaxWidth:i/2/u,hBoxMaxHeight:s/2}),y=Object.assign({},r);YD(y,kt(o));const f=Object.assign({maxPadding:y,w:i,h:s,x:r.left,y:r.top},r),m=iZ(d.concat(h),p);y1(c.fullSize,f,p,m),y1(d,f,p,m),y1(h,f,p,m)&&y1(d,f,p,m),cZ(f),KD(c.leftAndTop,f,p,m),f.x+=f.w,f.y+=f.h,KD(c.rightAndBottom,f,p,m),t.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Be(c.chartArea,k=>{const g=k.box;Object.assign(g,t.chartArea),g.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class XD{acquireContext(e,n){}releaseContext(e){return!1}addEventListener(e,n,o){}removeEventListener(e,n,o){}getDevicePixelRatio(){return 1}getMaximumSize(e,n,o,r){return n=Math.max(0,n||e.width),o=o||e.height,{width:n,height:Math.max(0,r?Math.floor(n/r):o)}}isAttached(e){return!0}updateConfig(e){}}class hZ extends XD{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const JS="$chartjs",uZ={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ZD=t=>t===null||t==="";function pZ(t,e){const n=t.style,o=t.getAttribute("height"),r=t.getAttribute("width");if(t[JS]={initial:{height:o,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",ZD(r)){const i=wD(t,"width");i!==void 0&&(t.width=i)}if(ZD(o))if(t.style.height==="")t.height=t.width/(e||2);else{const i=wD(t,"height");i!==void 0&&(t.height=i)}return t}const JD=fX?{passive:!0}:!1;function yZ(t,e,n){t&&t.addEventListener(e,n,JD)}function fZ(t,e,n){t&&t.canvas&&t.canvas.removeEventListener(e,n,JD)}function mZ(t,e){const n=uZ[t.type]||t.type,{x:o,y:r}=gs(t,e);return{type:n,chart:e,native:t,x:o!==void 0?o:null,y:r!==void 0?r:null}}function QS(t,e){for(const n of t)if(n===e||n.contains(e))return!0}function kZ(t,e,n){const o=t.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||QS(c.addedNodes,o),s=s&&!QS(c.removedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function gZ(t,e,n){const o=t.canvas,r=new MutationObserver(i=>{let s=!1;for(const c of i)s=s||QS(c.removedNodes,o),s=s&&!QS(c.addedNodes,o);s&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const f1=new Map;let QD=0;function eq(){const t=window.devicePixelRatio;t!==QD&&(QD=t,f1.forEach((e,n)=>{n.currentDevicePixelRatio!==t&&e()}))}function bZ(t,e){f1.size||window.addEventListener("resize",eq),f1.set(t,e)}function MZ(t){f1.delete(t),f1.size||window.removeEventListener("resize",eq)}function xZ(t,e,n){const o=t.canvas,r=o&&uB(o);if(!r)return;const i=oD((c,d)=>{const h=r.clientWidth;n(c,d),h<r.clientWidth&&n()},window),s=new ResizeObserver(c=>{const d=c[0],h=d.contentRect.width,u=d.contentRect.height;h===0&&u===0||i(h,u)});return s.observe(r),bZ(t,i),s}function xB(t,e,n){n&&n.disconnect(),e==="resize"&&MZ(t)}function wZ(t,e,n){const o=t.canvas,r=oD(i=>{t.ctx!==null&&n(mZ(i,t))},t);return yZ(o,e,r),r}class vZ extends XD{acquireContext(e,n){const o=e&&e.getContext&&e.getContext("2d");return o&&o.canvas===e?(pZ(e,n),o):null}releaseContext(e){const n=e.canvas;if(!n[JS])return!1;const o=n[JS].initial;["height","width"].forEach(i=>{const s=o[i];Ie(s)?n.removeAttribute(i):n.setAttribute(i,s)});const r=o.style||{};return Object.keys(r).forEach(i=>{n.style[i]=r[i]}),n.width=n.width,delete n[JS],!0}addEventListener(e,n,o){this.removeEventListener(e,n);const r=e.$proxies||(e.$proxies={}),s={attach:kZ,detach:gZ,resize:xZ}[n]||wZ;r[n]=s(e,n,o)}removeEventListener(e,n){const o=e.$proxies||(e.$proxies={}),r=o[n];if(!r)return;({attach:xB,detach:xB,resize:xB}[n]||fZ)(e,n,r),o[n]=void 0}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,n,o,r){return yX(e,n,o,r)}isAttached(e){const n=e&&uB(e);return!!(n&&n.isConnected)}}function CZ(t){return!hB()||typeof OffscreenCanvas<"u"&&t instanceof OffscreenCanvas?hZ:vZ}let ya=(uI=class{constructor(){se(this,"x");se(this,"y");se(this,"active",!1);se(this,"options");se(this,"$animations")}tooltipPosition(e){const{x:n,y:o}=this.getProps(["x","y"],e);return{x:n,y:o}}hasValue(){return r1(this.x)&&r1(this.y)}getProps(e,n){const o=this.$animations;if(!n||!o)return this;const r={};return e.forEach(i=>{r[i]=o[i]&&o[i].active()?o[i]._to:this[i]}),r}},se(uI,"defaults",{}),se(uI,"defaultRoutes"),uI);function LZ(t,e){const n=t.options.ticks,o=SZ(t),r=Math.min(n.maxTicksLimit||o,o),i=n.major.enabled?_Z(e):[],s=i.length,c=i[0],d=i[s-1],h=[];if(s>r)return BZ(e,h,i,s/r),h;const u=IZ(i,e,r);if(s>0){let p,y;const f=s>1?Math.round((d-c)/(s-1)):null;for(eI(e,h,u,Ie(f)?0:c-f,c),p=0,y=s-1;p<y;p++)eI(e,h,u,i[p],i[p+1]);return eI(e,h,u,d,Ie(f)?e.length:d+f),h}return eI(e,h,u),h}function SZ(t){const e=t.options.offset,n=t._tickSize(),o=t._length/n+(e?0:1),r=t._maxLength/n;return Math.floor(Math.min(o,r))}function IZ(t,e,n){const o=AZ(t),r=e.length/n;if(!o)return Math.max(r,1);const i=pK(o);for(let s=0,c=i.length-1;s<c;s++){const d=i[s];if(d>r)return d}return Math.max(r,1)}function _Z(t){const e=[];let n,o;for(n=0,o=t.length;n<o;n++)t[n].major&&e.push(n);return e}function BZ(t,e,n,o){let r=0,i=n[0],s;for(o=Math.ceil(o),s=0;s<t.length;s++)s===i&&(e.push(t[s]),r++,i=n[r*o])}function eI(t,e,n,o,r){const i=be(o,0),s=Math.min(be(r,t.length),t.length);let c=0,d,h,u;for(n=Math.ceil(n),r&&(d=r-o,n=d/Math.floor(d/n)),u=i;u<0;)c++,u=Math.round(i+c*n);for(h=Math.max(i,0);h<s;h++)h===u&&(e.push(t[h]),c++,u=Math.round(i+c*n))}function AZ(t){const e=t.length;let n,o;if(e<2)return!1;for(o=t[0],n=1;n<e;++n)if(t[n]-t[n-1]!==o)return!1;return o}const VZ=t=>t==="left"?"right":t==="right"?"left":t,tq=(t,e,n)=>e==="top"||e==="left"?t[e]+n:t[e]-n,aq=(t,e)=>Math.min(e||t,t);function nq(t,e){const n=[],o=t.length/e,r=t.length;let i=0;for(;i<r;i+=o)n.push(t[Math.floor(i)]);return n}function PZ(t,e,n){const o=t.ticks.length,r=Math.min(e,o-1),i=t._startPixel,s=t._endPixel,c=1e-6;let d=t.getPixelForTick(r),h;if(!(n&&(o===1?h=Math.max(d-i,s-d):e===0?h=(t.getPixelForTick(1)-d)/2:h=(d-t.getPixelForTick(r-1))/2,d+=r<e?h:-h,d<i-c||d>s+c)))return d}function DZ(t,e){Be(t,n=>{const o=n.gc,r=o.length/2;let i;if(r>e){for(i=0;i<r;++i)delete n.data[o[i]];o.splice(0,r)}})}function m1(t){return t.drawTicks?t.tickLength:0}function oq(t,e){if(!t.display)return 0;const n=Ke(t.font,e),o=kt(t.padding);return($e(t.text)?t.text.length:1)*n.lineHeight+o.height}function qZ(t,e){return ms(t,{scale:e,type:"scale"})}function zZ(t,e,n){return ms(t,{tick:n,index:e,type:"tick"})}function EZ(t,e,n){let o=eB(t);return(n&&e!=="right"||!n&&e==="right")&&(o=VZ(o)),o}function TZ(t,e,n,o){const{top:r,left:i,bottom:s,right:c,chart:d}=t,{chartArea:h,scales:u}=d;let p=0,y,f,m;const k=s-r,g=c-i;if(t.isHorizontal()){if(f=Ye(o,i,c),we(n)){const b=Object.keys(n)[0],w=n[b];m=u[b].getPixelForValue(w)+k-e}else n==="center"?m=(h.bottom+h.top)/2+k-e:m=tq(t,n,e);y=c-i}else{if(we(n)){const b=Object.keys(n)[0],w=n[b];f=u[b].getPixelForValue(w)-g+e}else n==="center"?f=(h.left+h.right)/2-g+e:f=tq(t,n,e);m=Ye(o,s,r),p=n==="left"?-Re:Re}return{titleX:f,titleY:m,maxWidth:y,rotation:p}}class sl extends ya{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,n){return e}getUserBounds(){let{_userMin:e,_userMax:n,_suggestedMin:o,_suggestedMax:r}=this;return e=Kt(e,Number.POSITIVE_INFINITY),n=Kt(n,Number.NEGATIVE_INFINITY),o=Kt(o,Number.POSITIVE_INFINITY),r=Kt(r,Number.NEGATIVE_INFINITY),{min:Kt(e,o),max:Kt(n,r),minDefined:We(e),maxDefined:We(n)}}getMinMax(e){let{min:n,max:o,minDefined:r,maxDefined:i}=this.getUserBounds(),s;if(r&&i)return{min:n,max:o};const c=this.getMatchingVisibleMetas();for(let d=0,h=c.length;d<h;++d)s=c[d].controller.getMinMax(this,e),r||(n=Math.min(n,s.min)),i||(o=Math.max(o,s.max));return n=i&&n>o?o:n,o=r&&n>o?n:o,{min:Kt(n,Kt(o,n)),max:Kt(o,Kt(n,o))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Pe(this.options.beforeUpdate,[this])}update(e,n,o){const{beginAtZero:r,grace:i,ticks:s}=this.options,c=s.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=n,this._margins=o=Object.assign({left:0,right:0,top:0,bottom:0},o),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+o.left+o.right:this.height+o.top+o.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=WK(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const d=c<this.ticks.length;this._convertTicksToLabels(d?nq(this.ticks,c):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),s.display&&(s.autoSkip||s.source==="auto")&&(this.ticks=LZ(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),d&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e=this.options.reverse,n,o;this.isHorizontal()?(n=this.left,o=this.right):(n=this.top,o=this.bottom,e=!e),this._startPixel=n,this._endPixel=o,this._reversePixels=e,this._length=o-n,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Pe(this.options.afterUpdate,[this])}beforeSetDimensions(){Pe(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Pe(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Pe(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Pe(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const n=this.options.ticks;let o,r,i;for(o=0,r=e.length;o<r;o++)i=e[o],i.label=Pe(n.callback,[i.value,o,e],this)}afterTickToLabelConversion(){Pe(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Pe(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,n=e.ticks,o=aq(this.ticks.length,e.ticks.maxTicksLimit),r=n.minRotation||0,i=n.maxRotation;let s=r,c,d,h;if(!this._isVisible()||!n.display||r>=i||o<=1||!this.isHorizontal()){this.labelRotation=r;return}const u=this._getLabelSizes(),p=u.widest.width,y=u.highest.height,f=Ge(this.chart.width-p,0,this.maxWidth);c=e.offset?this.maxWidth/o:f/(o-1),p+6>c&&(c=f/(o-(e.offset?.5:1)),d=this.maxHeight-m1(e.grid)-n.padding-oq(e.title,this.chart.options.font),h=Math.sqrt(p*p+y*y),s=kK(Math.min(Math.asin(Ge((u.highest.height+6)/c,-1,1)),Math.asin(Ge(d/h,-1,1))-Math.asin(Ge(y/h,-1,1)))),s=Math.max(r,Math.min(i,s))),this.labelRotation=s}afterCalculateLabelRotation(){Pe(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Pe(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:n,options:{ticks:o,title:r,grid:i}}=this,s=this._isVisible(),c=this.isHorizontal();if(s){const d=oq(r,n.options.font);if(c?(e.width=this.maxWidth,e.height=m1(i)+d):(e.height=this.maxHeight,e.width=m1(i)+d),o.display&&this.ticks.length){const{first:h,last:u,widest:p,highest:y}=this._getLabelSizes(),f=o.padding*2,m=ha(this.labelRotation),k=Math.cos(m),g=Math.sin(m);if(c){const b=o.mirror?0:g*p.width+k*y.height;e.height=Math.min(this.maxHeight,e.height+b+f)}else{const b=o.mirror?0:k*p.width+g*y.height;e.width=Math.min(this.maxWidth,e.width+b+f)}this._calculatePadding(h,u,g,k)}}this._handleMargins(),c?(this.width=this._length=n.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=n.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,n,o,r){const{ticks:{align:i,padding:s},position:c}=this.options,d=this.labelRotation!==0,h=c!=="top"&&this.axis==="x";if(this.isHorizontal()){const u=this.getPixelForTick(0)-this.left,p=this.right-this.getPixelForTick(this.ticks.length-1);let y=0,f=0;d?h?(y=r*e.width,f=o*n.height):(y=o*e.height,f=r*n.width):i==="start"?f=n.width:i==="end"?y=e.width:i!=="inner"&&(y=e.width/2,f=n.width/2),this.paddingLeft=Math.max((y-u+s)*this.width/(this.width-u),0),this.paddingRight=Math.max((f-p+s)*this.width/(this.width-p),0)}else{let u=n.height/2,p=e.height/2;i==="start"?(u=0,p=e.height):i==="end"&&(u=n.height,p=0),this.paddingTop=u+s,this.paddingBottom=p+s}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Pe(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:n}=this.options;return n==="top"||n==="bottom"||e==="x"}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){this.beforeTickToLabelConversion(),this.generateTickLabels(e);let n,o;for(n=0,o=e.length;n<o;n++)Ie(e[n].label)&&(e.splice(n,1),o--,n--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const n=this.options.ticks.sampleSize;let o=this.ticks;n<o.length&&(o=nq(o,n)),this._labelSizes=e=this._computeLabelSizes(o,o.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,n,o){const{ctx:r,_longestTextCache:i}=this,s=[],c=[],d=Math.floor(n/aq(n,o));let h=0,u=0,p,y,f,m,k,g,b,w,S,C,x;for(p=0;p<n;p+=d){if(m=e[p].label,k=this._resolveTickFontOptions(p),r.font=g=k.string,b=i[g]=i[g]||{data:{},gc:[]},w=k.lineHeight,S=C=0,!Ie(m)&&!$e(m))S=dD(r,b.data,b.gc,S,m),C=w;else if($e(m))for(y=0,f=m.length;y<f;++y)x=m[y],!Ie(x)&&!$e(x)&&(S=dD(r,b.data,b.gc,S,x),C+=w);s.push(S),c.push(C),h=Math.max(S,h),u=Math.max(C,u)}DZ(i,n);const M=s.indexOf(h),v=c.indexOf(u),L=I=>({width:s[I]||0,height:c[I]||0});return{first:L(0),last:L(n-1),widest:L(M),highest:L(v),widths:s,heights:c}}getLabelForValue(e){return e}getPixelForValue(e,n){return NaN}getValueForPixel(e){}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const n=this._startPixel+e*this._length;return bK(this._alignToPixels?fs(this.chart,n,0):n)}getDecimalForPixel(e){const n=(e-this._startPixel)/this._length;return this._reversePixels?1-n:n}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:n}=this;return e<0&&n<0?n:e>0&&n>0?e:0}getContext(e){const n=this.ticks||[];if(e>=0&&e<n.length){const o=n[e];return o.$context||(o.$context=zZ(this.getContext(),e,o))}return this.$context||(this.$context=qZ(this.chart.getContext(),this))}_tickSize(){const e=this.options.ticks,n=ha(this.labelRotation),o=Math.abs(Math.cos(n)),r=Math.abs(Math.sin(n)),i=this._getLabelSizes(),s=e.autoSkipPadding||0,c=i?i.widest.width+s:0,d=i?i.highest.height+s:0;return this.isHorizontal()?d*o>c*r?c/o:d/r:d*r<c*o?d/o:c/r}_isVisible(){const e=this.options.display;return e!=="auto"?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const n=this.axis,o=this.chart,r=this.options,{grid:i,position:s,border:c}=r,d=i.offset,h=this.isHorizontal(),p=this.ticks.length+(d?1:0),y=m1(i),f=[],m=c.setContext(this.getContext()),k=m.display?m.width:0,g=k/2,b=function(T){return fs(o,T,k)};let w,S,C,x,M,v,L,I,_,A,V,q;if(s==="top")w=b(this.bottom),v=this.bottom-y,I=w-g,A=b(e.top)+g,q=e.bottom;else if(s==="bottom")w=b(this.top),A=e.top,q=b(e.bottom)-g,v=w+g,I=this.top+y;else if(s==="left")w=b(this.right),M=this.right-y,L=w-g,_=b(e.left)+g,V=e.right;else if(s==="right")w=b(this.left),_=e.left,V=b(e.right)-g,M=w+g,L=this.left+y;else if(n==="x"){if(s==="center")w=b((e.top+e.bottom)/2+.5);else if(we(s)){const T=Object.keys(s)[0],H=s[T];w=b(this.chart.scales[T].getPixelForValue(H))}A=e.top,q=e.bottom,v=w+g,I=v+y}else if(n==="y"){if(s==="center")w=b((e.left+e.right)/2);else if(we(s)){const T=Object.keys(s)[0],H=s[T];w=b(this.chart.scales[T].getPixelForValue(H))}M=w-g,L=M-y,_=e.left,V=e.right}const O=be(r.ticks.maxTicksLimit,p),N=Math.max(1,Math.ceil(p/O));for(S=0;S<p;S+=N){const T=this.getContext(S),H=i.setContext(T),j=c.setContext(T),Z=H.lineWidth,P=H.color,D=j.dash||[],G=j.dashOffset,ne=H.tickWidth,te=H.tickColor,ce=H.tickBorderDash||[],pe=H.tickBorderDashOffset;C=PZ(this,S,d),C!==void 0&&(x=fs(o,C,Z),h?M=L=_=V=x:v=I=A=q=x,f.push({tx1:M,ty1:v,tx2:L,ty2:I,x1:_,y1:A,x2:V,y2:q,width:Z,color:P,borderDash:D,borderDashOffset:G,tickWidth:ne,tickColor:te,tickBorderDash:ce,tickBorderDashOffset:pe}))}return this._ticksLength=p,this._borderValue=w,f}_computeLabelItems(e){const n=this.axis,o=this.options,{position:r,ticks:i}=o,s=this.isHorizontal(),c=this.ticks,{align:d,crossAlign:h,padding:u,mirror:p}=i,y=m1(o.grid),f=y+u,m=p?-u:f,k=-ha(this.labelRotation),g=[];let b,w,S,C,x,M,v,L,I,_,A,V,q="middle";if(r==="top")M=this.bottom-m,v=this._getXAxisLabelAlignment();else if(r==="bottom")M=this.top+m,v=this._getXAxisLabelAlignment();else if(r==="left"){const N=this._getYAxisLabelAlignment(y);v=N.textAlign,x=N.x}else if(r==="right"){const N=this._getYAxisLabelAlignment(y);v=N.textAlign,x=N.x}else if(n==="x"){if(r==="center")M=(e.top+e.bottom)/2+f;else if(we(r)){const N=Object.keys(r)[0],T=r[N];M=this.chart.scales[N].getPixelForValue(T)+f}v=this._getXAxisLabelAlignment()}else if(n==="y"){if(r==="center")x=(e.left+e.right)/2-f;else if(we(r)){const N=Object.keys(r)[0],T=r[N];x=this.chart.scales[N].getPixelForValue(T)}v=this._getYAxisLabelAlignment(y).textAlign}n==="y"&&(d==="start"?q="top":d==="end"&&(q="bottom"));const O=this._getLabelSizes();for(b=0,w=c.length;b<w;++b){S=c[b],C=S.label;const N=i.setContext(this.getContext(b));L=this.getPixelForTick(b)+i.labelOffset,I=this._resolveTickFontOptions(b),_=I.lineHeight,A=$e(C)?C.length:1;const T=A/2,H=N.color,j=N.textStrokeColor,Z=N.textStrokeWidth;let P=v;s?(x=L,v==="inner"&&(b===w-1?P=this.options.reverse?"left":"right":b===0?P=this.options.reverse?"right":"left":P="center"),r==="top"?h==="near"||k!==0?V=-A*_+_/2:h==="center"?V=-O.highest.height/2-T*_+_:V=-O.highest.height+_/2:h==="near"||k!==0?V=_/2:h==="center"?V=O.highest.height/2-T*_:V=O.highest.height-A*_,p&&(V*=-1),k!==0&&!N.showLabelBackdrop&&(x+=_/2*Math.sin(k))):(M=L,V=(1-A)*_/2);let D;if(N.showLabelBackdrop){const G=kt(N.backdropPadding),ne=O.heights[b],te=O.widths[b];let ce=V-G.top,pe=0-G.left;switch(q){case"middle":ce-=ne/2;break;case"bottom":ce-=ne;break}switch(v){case"center":pe-=te/2;break;case"right":pe-=te;break;case"inner":b===w-1?pe-=te:b>0&&(pe-=te/2);break}D={left:pe,top:ce,width:te+G.width,height:ne+G.height,color:N.backdropColor}}g.push({label:C,font:I,textOffset:V,options:{rotation:k,color:H,strokeColor:j,strokeWidth:Z,textAlign:P,textBaseline:q,translation:[x,M],backdrop:D}})}return g}_getXAxisLabelAlignment(){const{position:e,ticks:n}=this.options;if(-ha(this.labelRotation))return e==="top"?"left":"right";let r="center";return n.align==="start"?r="left":n.align==="end"?r="right":n.align==="inner"&&(r="inner"),r}_getYAxisLabelAlignment(e){const{position:n,ticks:{crossAlign:o,mirror:r,padding:i}}=this.options,s=this._getLabelSizes(),c=e+i,d=s.widest.width;let h,u;return n==="left"?r?(u=this.right+i,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u+=d)):(u=this.right-c,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u=this.left)):n==="right"?r?(u=this.left+i,o==="near"?h="right":o==="center"?(h="center",u-=d/2):(h="left",u-=d)):(u=this.left+c,o==="near"?h="left":o==="center"?(h="center",u+=d/2):(h="right",u=this.right)):h="right",{textAlign:h,x:u}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,n=this.options.position;if(n==="left"||n==="right")return{top:0,left:this.left,bottom:e.height,right:this.right};if(n==="top"||n==="bottom")return{top:this.top,left:0,bottom:this.bottom,right:e.width}}drawBackground(){const{ctx:e,options:{backgroundColor:n},left:o,top:r,width:i,height:s}=this;n&&(e.save(),e.fillStyle=n,e.fillRect(o,r,i,s),e.restore())}getLineWidthForValue(e){const n=this.options.grid;if(!this._isVisible()||!n.display)return 0;const r=this.ticks.findIndex(i=>i.value===e);return r>=0?n.setContext(this.getContext(r)).lineWidth:0}drawGrid(e){const n=this.options.grid,o=this.ctx,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,s;const c=(d,h,u)=>{!u.width||!u.color||(o.save(),o.lineWidth=u.width,o.strokeStyle=u.color,o.setLineDash(u.borderDash||[]),o.lineDashOffset=u.borderDashOffset,o.beginPath(),o.moveTo(d.x,d.y),o.lineTo(h.x,h.y),o.stroke(),o.restore())};if(n.display)for(i=0,s=r.length;i<s;++i){const d=r[i];n.drawOnChartArea&&c({x:d.x1,y:d.y1},{x:d.x2,y:d.y2},d),n.drawTicks&&c({x:d.tx1,y:d.ty1},{x:d.tx2,y:d.ty2},{color:d.tickColor,width:d.tickWidth,borderDash:d.tickBorderDash,borderDashOffset:d.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:n,options:{border:o,grid:r}}=this,i=o.setContext(this.getContext()),s=o.display?i.width:0;if(!s)return;const c=r.setContext(this.getContext(0)).lineWidth,d=this._borderValue;let h,u,p,y;this.isHorizontal()?(h=fs(e,this.left,s)-s/2,u=fs(e,this.right,c)+c/2,p=y=d):(p=fs(e,this.top,s)-s/2,y=fs(e,this.bottom,c)+c/2,h=u=d),n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.beginPath(),n.moveTo(h,p),n.lineTo(u,y),n.stroke(),n.restore()}drawLabels(e){if(!this.options.ticks.display)return;const o=this.ctx,r=this._computeLabelArea();r&&FS(o,r);const i=this.getLabelItems(e);for(const s of i){const c=s.options,d=s.font,h=s.label,u=s.textOffset;d1(o,h,0,u,d,c)}r&&$S(o)}drawTitle(){const{ctx:e,options:{position:n,title:o,reverse:r}}=this;if(!o.display)return;const i=Ke(o.font),s=kt(o.padding),c=o.align;let d=i.lineHeight/2;n==="bottom"||n==="center"||we(n)?(d+=s.bottom,$e(o.text)&&(d+=i.lineHeight*(o.text.length-1))):d+=s.top;const{titleX:h,titleY:u,maxWidth:p,rotation:y}=TZ(this,d,n,c);d1(e,o.text,0,0,i,{color:o.color,maxWidth:p,rotation:y,textAlign:EZ(c,n,r),textBaseline:"middle",translation:[h,u]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,n=e.ticks&&e.ticks.z||0,o=be(e.grid&&e.grid.z,-1),r=be(e.border&&e.border.z,0);return!this._isVisible()||this.draw!==sl.prototype.draw?[{z:n,draw:i=>{this.draw(i)}}]:[{z:o,draw:i=>{this.drawBackground(),this.drawGrid(i),this.drawTitle()}},{z:r,draw:()=>{this.drawBorder()}},{z:n,draw:i=>{this.drawLabels(i)}}]}getMatchingVisibleMetas(e){const n=this.chart.getSortedVisibleDatasetMetas(),o=this.axis+"AxisID",r=[];let i,s;for(i=0,s=n.length;i<s;++i){const c=n[i];c[o]===this.id&&(!e||c.type===e)&&r.push(c)}return r}_resolveTickFontOptions(e){const n=this.options.ticks.setContext(this.getContext(e));return Ke(n.font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class tI{constructor(e,n,o){this.type=e,this.scope=n,this.override=o,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const n=Object.getPrototypeOf(e);let o;FZ(n)&&(o=this.register(n));const r=this.items,i=e.id,s=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in r||(r[i]=e,OZ(e,s,o),this.override&&Fe.override(e.id,e.overrides)),s}get(e){return this.items[e]}unregister(e){const n=this.items,o=e.id,r=this.scope;o in n&&delete n[o],r&&o in Fe[r]&&(delete Fe[r][o],this.override&&delete ys[o])}}function OZ(t,e,n){const o=t1(Object.create(null),[n?Fe.get(n):{},Fe.get(e),t.defaults]);Fe.set(e,o),t.defaultRoutes&&HZ(e,t.defaultRoutes),t.descriptors&&Fe.describe(e,t.descriptors)}function HZ(t,e){Object.keys(e).forEach(n=>{const o=n.split("."),r=o.pop(),i=[t].concat(o).join("."),s=e[n].split("."),c=s.pop(),d=s.join(".");Fe.route(i,r,d,c)})}function FZ(t){return"id"in t&&"defaults"in t}class $Z{constructor(){this.controllers=new tI(Ms,"datasets",!0),this.elements=new tI(ya,"elements"),this.plugins=new tI(Object,"plugins"),this.scales=new tI(sl,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,n,o){[...n].forEach(r=>{const i=o||this._getRegistryForType(r);o||i.isForType(r)||i===this.plugins&&r.id?this._exec(e,i,r):Be(r,s=>{const c=o||this._getRegistryForType(s);this._exec(e,c,s)})})}_exec(e,n,o){const r=Z_(e);Pe(o["before"+r],[],o),n[e](o),Pe(o["after"+r],[],o)}_getRegistryForType(e){for(let n=0;n<this._typedRegistries.length;n++){const o=this._typedRegistries[n];if(o.isForType(e))return o}return this.plugins}_get(e,n,o){const r=n.get(e);if(r===void 0)throw new Error('"'+e+'" is not a registered '+o+".");return r}}var Zt=new $Z;class jZ{constructor(){this._init=void 0}notify(e,n,o,r){if(n==="beforeInit"&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),this._init===void 0)return;const i=r?this._descriptors(e).filter(r):this._descriptors(e),s=this._notify(i,e,n,o);return n==="afterDestroy"&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),s}_notify(e,n,o,r){r=r||{};for(const i of e){const s=i.plugin,c=s[o],d=[n,r,i.options];if(Pe(c,d,s)===!1&&r.cancelable)return!1}return!0}invalidate(){Ie(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const n=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),n}_createDescriptors(e,n){const o=e&&e.config,r=be(o.options&&o.options.plugins,{}),i=RZ(o);return r===!1&&!n?[]:UZ(e,i,r,n)}_notifyStateChanges(e){const n=this._oldCache||[],o=this._cache,r=(i,s)=>i.filter(c=>!s.some(d=>c.plugin.id===d.plugin.id));this._notify(r(n,o),e,"stop"),this._notify(r(o,n),e,"start")}}function RZ(t){const e={},n=[],o=Object.keys(Zt.plugins.items);for(let i=0;i<o.length;i++)n.push(Zt.getPlugin(o[i]));const r=t.plugins||[];for(let i=0;i<r.length;i++){const s=r[i];n.indexOf(s)===-1&&(n.push(s),e[s.id]=!0)}return{plugins:n,localIds:e}}function NZ(t,e){return!e&&t===!1?null:t===!0?{}:t}function UZ(t,{plugins:e,localIds:n},o,r){const i=[],s=t.getContext();for(const c of e){const d=c.id,h=NZ(o[d],r);h!==null&&i.push({plugin:c,options:WZ(t.config,{plugin:c,local:n[d]},h,s)})}return i}function WZ(t,{plugin:e,local:n},o,r){const i=t.pluginScopeKeys(e),s=t.getOptionScopes(o,i);return n&&e.defaults&&s.push(e.defaults),t.createResolver(s,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function wB(t,e){const n=Fe.datasets[t]||{};return((e.datasets||{})[t]||{}).indexAxis||e.indexAxis||n.indexAxis||"x"}function GZ(t,e){let n=t;return t==="_index_"?n=e:t==="_value_"&&(n=e==="x"?"y":"x"),n}function YZ(t,e){return t===e?"_index_":"_value_"}function rq(t){if(t==="x"||t==="y"||t==="r")return t}function KZ(t){if(t==="top"||t==="bottom")return"x";if(t==="left"||t==="right")return"y"}function vB(t,...e){if(rq(t))return t;for(const n of e){const o=n.axis||KZ(n.position)||t.length>1&&rq(t[0].toLowerCase());if(o)return o}throw new Error(`Cannot determine type of '${t}' axis. Please provide 'axis' or 'position' option.`)}function iq(t,e,n){if(n[e+"AxisID"]===t)return{axis:e}}function XZ(t,e){if(e.data&&e.data.datasets){const n=e.data.datasets.filter(o=>o.xAxisID===t||o.yAxisID===t);if(n.length)return iq(t,"x",n[0])||iq(t,"y",n[0])}return{}}function ZZ(t,e){const n=ys[t.type]||{scales:{}},o=e.scales||{},r=wB(t.type,e),i=Object.create(null);return Object.keys(o).forEach(s=>{const c=o[s];if(!we(c))return console.error(`Invalid scale configuration for scale: ${s}`);if(c._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${s}`);const d=vB(s,c,XZ(s,t),Fe.scales[c.type]),h=YZ(d,r),u=n.scales||{};i[s]=a1(Object.create(null),[{axis:d},c,u[d],u[h]])}),t.data.datasets.forEach(s=>{const c=s.type||t.type,d=s.indexAxis||wB(c,e),u=(ys[c]||{}).scales||{};Object.keys(u).forEach(p=>{const y=GZ(p,d),f=s[y+"AxisID"]||y;i[f]=i[f]||Object.create(null),a1(i[f],[{axis:y},o[f],u[p]])})}),Object.keys(i).forEach(s=>{const c=i[s];a1(c,[Fe.scales[c.type],Fe.scale])}),i}function sq(t){const e=t.options||(t.options={});e.plugins=be(e.plugins,{}),e.scales=ZZ(t,e)}function lq(t){return t=t||{},t.datasets=t.datasets||[],t.labels=t.labels||[],t}function JZ(t){return t=t||{},t.data=lq(t.data),sq(t),t}const cq=new Map,dq=new Set;function aI(t,e){let n=cq.get(t);return n||(n=e(),cq.set(t,n),dq.add(n)),n}const k1=(t,e,n)=>{const o=hs(e,n);o!==void 0&&t.add(o)};class QZ{constructor(e){this._config=JZ(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=lq(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),sq(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return aI(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,n){return aI(`${e}.transition.${n}`,()=>[[`datasets.${e}.transitions.${n}`,`transitions.${n}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,n){return aI(`${e}-${n}`,()=>[[`datasets.${e}.elements.${n}`,`datasets.${e}`,`elements.${n}`,""]])}pluginScopeKeys(e){const n=e.id,o=this.type;return aI(`${o}-plugin-${n}`,()=>[[`plugins.${n}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,n){const o=this._scopeCache;let r=o.get(e);return(!r||n)&&(r=new Map,o.set(e,r)),r}getOptionScopes(e,n,o){const{options:r,type:i}=this,s=this._cachedScopes(e,o),c=s.get(n);if(c)return c;const d=new Set;n.forEach(u=>{e&&(d.add(e),u.forEach(p=>k1(d,e,p))),u.forEach(p=>k1(d,r,p)),u.forEach(p=>k1(d,ys[i]||{},p)),u.forEach(p=>k1(d,Fe,p)),u.forEach(p=>k1(d,oB,p))});const h=Array.from(d);return h.length===0&&h.push(Object.create(null)),dq.has(n)&&s.set(n,h),h}chartOptionScopes(){const{options:e,type:n}=this;return[e,ys[n]||{},Fe.datasets[n]||{},{type:n},Fe,oB]}resolveNamedOptions(e,n,o,r=[""]){const i={$shared:!0},{resolver:s,subPrefixes:c}=hq(this._resolverCache,e,r);let d=s;if(tJ(s,n)){i.$shared=!1,o=Ra(o)?o():o;const h=this.createResolver(e,o,c);d=nl(s,o,h)}for(const h of n)i[h]=d[h];return i}createResolver(e,n,o=[""],r){const{resolver:i}=hq(this._resolverCache,e,o);return we(n)?nl(i,n,void 0,r):i}}function hq(t,e,n){let o=t.get(e);o||(o=new Map,t.set(e,o));const r=n.join();let i=o.get(r);return i||(i={resolver:lB(e,n),subPrefixes:n.filter(c=>!c.toLowerCase().includes("hover"))},o.set(r,i)),i}const eJ=t=>we(t)&&Object.getOwnPropertyNames(t).some(e=>Ra(t[e]));function tJ(t,e){const{isScriptable:n,isIndexable:o}=yD(t);for(const r of e){const i=n(r),s=o(r),c=(s||i)&&t[r];if(i&&(Ra(c)||eJ(c))||s&&$e(c))return!0}return!1}var aJ="4.5.1";const nJ=["top","bottom","left","right","chartArea"];function uq(t,e){return t==="top"||t==="bottom"||nJ.indexOf(t)===-1&&e==="x"}function pq(t,e){return function(n,o){return n[t]===o[t]?n[e]-o[e]:n[t]-o[t]}}function yq(t){const e=t.chart,n=e.options.animation;e.notifyPlugins("afterRender"),Pe(n&&n.onComplete,[t],e)}function oJ(t){const e=t.chart,n=e.options.animation;Pe(n&&n.onProgress,[t],e)}function fq(t){return hB()&&typeof t=="string"?t=document.getElementById(t):t&&t.length&&(t=t[0]),t&&t.canvas&&(t=t.canvas),t}const nI={},mq=t=>{const e=fq(t);return Object.values(nI).filter(n=>n.canvas===e).pop()};function rJ(t,e,n){const o=Object.keys(t);for(const r of o){const i=+r;if(i>=e){const s=t[r];delete t[r],(n>0||i>e)&&(t[i+n]=s)}}}function iJ(t,e,n,o){return!n||t.type==="mouseout"?null:o?e:t}class fa{static register(...e){Zt.add(...e),kq()}static unregister(...e){Zt.remove(...e),kq()}constructor(e,n){const o=this.config=new QZ(n),r=fq(e),i=mq(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const s=o.createResolver(o.chartOptionScopes(),this.getContext());this.platform=new(o.platform||CZ(r)),this.platform.updateConfig(o);const c=this.platform.acquireContext(r,s.aspectRatio),d=c&&c.canvas,h=d&&d.height,u=d&&d.width;if(this.id=oK(),this.ctx=c,this.canvas=d,this.width=u,this.height=h,this._options=s,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new jZ,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=vK(p=>this.update(p),s.resizeDelay||0),this._dataChanges=[],nI[this.id]=this,!c||!d){console.error("Failed to create chart: can't acquire context from the given item");return}pa.listen(this,"complete",yq),pa.listen(this,"progress",oJ),this._initialize(),this.attached&&this.update()}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:n},width:o,height:r,_aspectRatio:i}=this;return Ie(e)?n&&i?i:r?o/r:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return Zt}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():xD(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return hD(this.canvas,this.ctx),this}stop(){return pa.stop(this),this}resize(e,n){pa.running(this)?this._resizeBeforeDraw={width:e,height:n}:this._resize(e,n)}_resize(e,n){const o=this.options,r=this.canvas,i=o.maintainAspectRatio&&this.aspectRatio,s=this.platform.getMaximumSize(r,e,n,i),c=o.devicePixelRatio||this.platform.getDevicePixelRatio(),d=this.width?"resize":"attach";this.width=s.width,this.height=s.height,this._aspectRatio=this.aspectRatio,xD(this,c,!0)&&(this.notifyPlugins("resize",{size:s}),Pe(o.onResize,[this,s],this),this.attached&&this._doResize(d)&&this.render())}ensureScalesHaveIDs(){const n=this.options.scales||{};Be(n,(o,r)=>{o.id=r})}buildOrUpdateScales(){const e=this.options,n=e.scales,o=this.scales,r=Object.keys(o).reduce((s,c)=>(s[c]=!1,s),{});let i=[];n&&(i=i.concat(Object.keys(n).map(s=>{const c=n[s],d=vB(s,c),h=d==="r",u=d==="x";return{options:c,dposition:h?"chartArea":u?"bottom":"left",dtype:h?"radialLinear":u?"category":"linear"}}))),Be(i,s=>{const c=s.options,d=c.id,h=vB(d,c),u=be(c.type,s.dtype);(c.position===void 0||uq(c.position,h)!==uq(s.dposition))&&(c.position=s.dposition),r[d]=!0;let p=null;if(d in o&&o[d].type===u)p=o[d];else{const y=Zt.getScale(u);p=new y({id:d,type:u,ctx:this.ctx,chart:this}),o[p.id]=p}p.init(c,e)}),Be(r,(s,c)=>{s||delete o[c]}),Be(o,s=>{gt.configure(this,s,s.options),gt.addBox(this,s)})}_updateMetasets(){const e=this._metasets,n=this.data.datasets.length,o=e.length;if(e.sort((r,i)=>r.index-i.index),o>n){for(let r=n;r<o;++r)this._destroyDatasetMeta(r);e.splice(n,o-n)}this._sortedMetasets=e.slice(0).sort(pq("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:n}}=this;e.length>n.length&&delete this._stacks,e.forEach((o,r)=>{n.filter(i=>i===o._dataset).length===0&&this._destroyDatasetMeta(r)})}buildOrUpdateControllers(){const e=[],n=this.data.datasets;let o,r;for(this._removeUnreferencedMetasets(),o=0,r=n.length;o<r;o++){const i=n[o];let s=this.getDatasetMeta(o);const c=i.type||this.config.type;if(s.type&&s.type!==c&&(this._destroyDatasetMeta(o),s=this.getDatasetMeta(o)),s.type=c,s.indexAxis=i.indexAxis||wB(c,this.options),s.order=i.order||0,s.index=o,s.label=""+i.label,s.visible=this.isDatasetVisible(o),s.controller)s.controller.updateIndex(o),s.controller.linkScales();else{const d=Zt.getController(c),{datasetElementType:h,dataElementType:u}=Fe.datasets[c];Object.assign(d,{dataElementType:Zt.getElement(u),datasetElementType:h&&Zt.getElement(h)}),s.controller=new d(this,o),e.push(s.controller)}}return this._updateMetasets(),e}_resetElements(){Be(this.data.datasets,(e,n)=>{this.getDatasetMeta(n).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const n=this.config;n.update();const o=this._options=n.createResolver(n.chartOptionScopes(),this.getContext()),r=this._animationsDisabled=!o.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0})===!1)return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let s=0;for(let h=0,u=this.data.datasets.length;h<u;h++){const{controller:p}=this.getDatasetMeta(h),y=!r&&i.indexOf(p)===-1;p.buildOrUpdateElements(y),s=Math.max(+p.getMaxOverflow(),s)}s=this._minPadding=o.layout.autoPadding?s:0,this._updateLayout(s),r||Be(i,h=>{h.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(pq("z","_idx"));const{_active:c,_lastEvent:d}=this;d?this._eventHandler(d,!0):c.length&&this._updateHoverStyles(c,c,!0),this.render()}_updateScales(){Be(this.scales,e=>{gt.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,n=new Set(Object.keys(this._listeners)),o=new Set(e.events);(!YP(n,o)||!!this._responsiveListeners!==e.responsive)&&(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,n=this._getUniformDataChanges()||[];for(const{method:o,start:r,count:i}of n){const s=o==="_removeElements"?-i:i;rJ(e,r,s)}}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const n=this.data.datasets.length,o=i=>new Set(e.filter(s=>s[0]===i).map((s,c)=>c+","+s.splice(1).join(","))),r=o(0);for(let i=1;i<n;i++)if(!YP(r,o(i)))return;return Array.from(r).map(i=>i.split(",")).map(i=>({method:i[1],start:+i[2],count:+i[3]}))}_updateLayout(e){if(this.notifyPlugins("beforeLayout",{cancelable:!0})===!1)return;gt.update(this,this.width,this.height,e);const n=this.chartArea,o=n.width<=0||n.height<=0;this._layers=[],Be(this.boxes,r=>{o&&r.position==="chartArea"||(r.configure&&r.configure(),this._layers.push(...r._layers()))},this),this._layers.forEach((r,i)=>{r._idx=i}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})!==!1){for(let n=0,o=this.data.datasets.length;n<o;++n)this.getDatasetMeta(n).controller.configure();for(let n=0,o=this.data.datasets.length;n<o;++n)this._updateDataset(n,Ra(e)?e({datasetIndex:n}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,n){const o=this.getDatasetMeta(e),r={meta:o,index:e,mode:n,cancelable:!0};this.notifyPlugins("beforeDatasetUpdate",r)!==!1&&(o.controller._update(n),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){this.notifyPlugins("beforeRender",{cancelable:!0})!==!1&&(pa.has(this)?this.attached&&!pa.running(this)&&pa.start(this):(this.draw(),yq({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:o,height:r}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(o,r)}if(this.clear(),this.width<=0||this.height<=0||this.notifyPlugins("beforeDraw",{cancelable:!0})===!1)return;const n=this._layers;for(e=0;e<n.length&&n[e].z<=0;++e)n[e].draw(this.chartArea);for(this._drawDatasets();e<n.length;++e)n[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const n=this._sortedMetasets,o=[];let r,i;for(r=0,i=n.length;r<i;++r){const s=n[r];(!e||s.visible)&&o.push(s)}return o}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0})===!1)return;const e=this.getSortedVisibleDatasetMetas();for(let n=e.length-1;n>=0;--n)this._drawDataset(e[n]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const n=this.ctx,o={meta:e,index:e.index,cancelable:!0},r=VD(this,e);this.notifyPlugins("beforeDatasetDraw",o)!==!1&&(r&&FS(n,r),e.controller.draw(),r&&$S(n),o.cancelable=!1,this.notifyPlugins("afterDatasetDraw",o))}isPointInArea(e){return c1(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,n,o,r){const i=nZ.modes[n];return typeof i=="function"?i(this,e,o,r):[]}getDatasetMeta(e){const n=this.data.datasets[e],o=this._metasets;let r=o.filter(i=>i&&i._dataset===n).pop();return r||(r={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:n&&n.order||0,index:e,_dataset:n,_parsed:[],_sorted:!1},o.push(r)),r}getContext(){return this.$context||(this.$context=ms(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const n=this.data.datasets[e];if(!n)return!1;const o=this.getDatasetMeta(e);return typeof o.hidden=="boolean"?!o.hidden:!n.hidden}setDatasetVisibility(e,n){const o=this.getDatasetMeta(e);o.hidden=!n}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,n,o){const r=o?"show":"hide",i=this.getDatasetMeta(e),s=i.controller._resolveAnimations(void 0,r);n1(n)?(i.data[n].hidden=!o,this.update()):(this.setDatasetVisibility(e,o),s.update(i,{visible:o}),this.update(c=>c.datasetIndex===e?r:void 0))}hide(e,n){this._updateVisibility(e,n,!1)}show(e,n){this._updateVisibility(e,n,!0)}_destroyDatasetMeta(e){const n=this._metasets[e];n&&n.controller&&n.controller._destroy(),delete this._metasets[e]}_stop(){let e,n;for(this.stop(),pa.remove(this),e=0,n=this.data.datasets.length;e<n;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:n}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),hD(e,n),this.platform.releaseContext(n),this.canvas=null,this.ctx=null),delete nI[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,n=this.platform,o=(i,s)=>{n.addEventListener(this,i,s),e[i]=s},r=(i,s,c)=>{i.offsetX=s,i.offsetY=c,this._eventHandler(i)};Be(this.options.events,i=>o(i,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,n=this.platform,o=(d,h)=>{n.addEventListener(this,d,h),e[d]=h},r=(d,h)=>{e[d]&&(n.removeEventListener(this,d,h),delete e[d])},i=(d,h)=>{this.canvas&&this.resize(d,h)};let s;const c=()=>{r("attach",c),this.attached=!0,this.resize(),o("resize",i),o("detach",s)};s=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),o("attach",c)},n.isAttached(this.canvas)?c():s()}unbindEvents(){Be(this._listeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._listeners={},Be(this._responsiveListeners,(e,n)=>{this.platform.removeEventListener(this,n,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,n,o){const r=o?"set":"remove";let i,s,c,d;for(n==="dataset"&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),c=0,d=e.length;c<d;++c){s=e[c];const h=s&&this.getDatasetMeta(s.datasetIndex).controller;h&&h[r+"HoverStyle"](s.element,s.datasetIndex,s.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const n=this._active||[],o=e.map(({datasetIndex:i,index:s})=>{const c=this.getDatasetMeta(i);if(!c)throw new Error("No dataset found at index "+i);return{datasetIndex:i,element:c.data[s],index:s}});!ES(o,n)&&(this._active=o,this._lastEvent=null,this._updateHoverStyles(o,n))}notifyPlugins(e,n,o){return this._plugins.notify(this,e,n,o)}isPluginEnabled(e){return this._plugins._cache.filter(n=>n.plugin.id===e).length===1}_updateHoverStyles(e,n,o){const r=this.options.hover,i=(d,h)=>d.filter(u=>!h.some(p=>u.datasetIndex===p.datasetIndex&&u.index===p.index)),s=i(n,e),c=o?e:i(e,n);s.length&&this.updateHoverStyle(s,r.mode,!1),c.length&&r.mode&&this.updateHoverStyle(c,r.mode,!0)}_eventHandler(e,n){const o={event:e,replay:n,cancelable:!0,inChartArea:this.isPointInArea(e)},r=s=>(s.options.events||this.options.events).includes(e.native.type);if(this.notifyPlugins("beforeEvent",o,r)===!1)return;const i=this._handleEvent(e,n,o.inChartArea);return o.cancelable=!1,this.notifyPlugins("afterEvent",o,r),(i||o.changed)&&this.render(),this}_handleEvent(e,n,o){const{_active:r=[],options:i}=this,s=n,c=this._getActiveElements(e,r,o,s),d=dK(e),h=iJ(e,this._lastEvent,o,d);o&&(this._lastEvent=null,Pe(i.onHover,[e,c,this],this),d&&Pe(i.onClick,[e,c,this],this));const u=!ES(c,r);return(u||n)&&(this._active=c,this._updateHoverStyles(c,r,n)),this._lastEvent=h,u}_getActiveElements(e,n,o,r){if(e.type==="mouseout")return[];if(!o)return n;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}se(fa,"defaults",Fe),se(fa,"instances",nI),se(fa,"overrides",ys),se(fa,"registry",Zt),se(fa,"version",aJ),se(fa,"getChart",mq);function kq(){return Be(fa.instances,t=>t._plugins.invalidate())}function sJ(t,e,n){const{startAngle:o,x:r,y:i,outerRadius:s,innerRadius:c,options:d}=e,{borderWidth:h,borderJoinStyle:u}=d,p=Math.min(h/s,dt(o-n));if(t.beginPath(),t.arc(r,i,s-h/2,o+p/2,n-p/2),c>0){const y=Math.min(h/c,dt(o-n));t.arc(r,i,c+h/2,n-y/2,o+y/2,!0)}else{const y=Math.min(h/2,s*dt(o-n));if(u==="round")t.arc(r,i,y,n-Ae/2,o+Ae/2,!0);else if(u==="bevel"){const f=2*y*y,m=-f*Math.cos(n+Ae/2)+r,k=-f*Math.sin(n+Ae/2)+i,g=f*Math.cos(o+Ae/2)+r,b=f*Math.sin(o+Ae/2)+i;t.lineTo(m,k),t.lineTo(g,b)}}t.closePath(),t.moveTo(0,0),t.rect(0,0,t.canvas.width,t.canvas.height),t.clip("evenodd")}function lJ(t,e,n){const{startAngle:o,pixelMargin:r,x:i,y:s,outerRadius:c,innerRadius:d}=e;let h=r/c;t.beginPath(),t.arc(i,s,c,o-h,n+h),d>r?(h=r/d,t.arc(i,s,d,n+h,o-h,!0)):t.arc(i,s,r,n+Re,o-Re),t.closePath(),t.clip()}function cJ(t){return sB(t,["outerStart","outerEnd","innerStart","innerEnd"])}function dJ(t,e,n,o){const r=cJ(t.options.borderRadius),i=(n-e)/2,s=Math.min(i,o*e/2),c=d=>{const h=(n-Math.min(i,d))*o/2;return Ge(d,0,Math.min(i,h))};return{outerStart:c(r.outerStart),outerEnd:c(r.outerEnd),innerStart:Ge(r.innerStart,0,s),innerEnd:Ge(r.innerEnd,0,s)}}function ll(t,e,n,o){return{x:n+t*Math.cos(e),y:o+t*Math.sin(e)}}function oI(t,e,n,o,r,i){const{x:s,y:c,startAngle:d,pixelMargin:h,innerRadius:u}=e,p=Math.max(e.outerRadius+o+n-h,0),y=u>0?u+o+n+h:0;let f=0;const m=r-d;if(o){const N=u>0?u-o:0,T=p>0?p-o:0,H=(N+T)/2,j=H!==0?m*H/(H+o):m;f=(m-j)/2}const k=Math.max(.001,m*p-n/Ae)/p,g=(m-k)/2,b=d+g+f,w=r-g-f,{outerStart:S,outerEnd:C,innerStart:x,innerEnd:M}=dJ(e,y,p,w-b),v=p-S,L=p-C,I=b+S/v,_=w-C/L,A=y+x,V=y+M,q=b+x/A,O=w-M/V;if(t.beginPath(),i){const N=(I+_)/2;if(t.arc(s,c,p,I,N),t.arc(s,c,p,N,_),C>0){const Z=ll(L,_,s,c);t.arc(Z.x,Z.y,C,_,w+Re)}const T=ll(V,w,s,c);if(t.lineTo(T.x,T.y),M>0){const Z=ll(V,O,s,c);t.arc(Z.x,Z.y,M,w+Re,O+Math.PI)}const H=(w-M/y+(b+x/y))/2;if(t.arc(s,c,y,w-M/y,H,!0),t.arc(s,c,y,H,b+x/y,!0),x>0){const Z=ll(A,q,s,c);t.arc(Z.x,Z.y,x,q+Math.PI,b-Re)}const j=ll(v,b,s,c);if(t.lineTo(j.x,j.y),S>0){const Z=ll(v,I,s,c);t.arc(Z.x,Z.y,S,b-Re,I)}}else{t.moveTo(s,c);const N=Math.cos(I)*p+s,T=Math.sin(I)*p+c;t.lineTo(N,T);const H=Math.cos(_)*p+s,j=Math.sin(_)*p+c;t.lineTo(H,j)}t.closePath()}function hJ(t,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c}=e;let d=e.endAngle;if(i){oI(t,e,n,o,d,r);for(let h=0;h<i;++h)t.fill();isNaN(c)||(d=s+(c%ze||ze))}return oI(t,e,n,o,d,r),t.fill(),d}function uJ(t,e,n,o,r){const{fullCircles:i,startAngle:s,circumference:c,options:d}=e,{borderWidth:h,borderJoinStyle:u,borderDash:p,borderDashOffset:y,borderRadius:f}=d,m=d.borderAlign==="inner";if(!h)return;t.setLineDash(p||[]),t.lineDashOffset=y,m?(t.lineWidth=h*2,t.lineJoin=u||"round"):(t.lineWidth=h,t.lineJoin=u||"bevel");let k=e.endAngle;if(i){oI(t,e,n,o,k,r);for(let g=0;g<i;++g)t.stroke();isNaN(c)||(k=s+(c%ze||ze))}m&&lJ(t,e,k),d.selfJoin&&k-s>=Ae&&f===0&&u!=="miter"&&sJ(t,e,k),i||(oI(t,e,n,o,k,r),t.stroke())}class g1 extends ya{constructor(n){super();se(this,"circumference");se(this,"endAngle");se(this,"fullCircles");se(this,"innerRadius");se(this,"outerRadius");se(this,"pixelMargin");se(this,"startAngle");this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.getProps(["x","y"],r),{angle:s,distance:c}=QP(i,{x:n,y:o}),{startAngle:d,endAngle:h,innerRadius:u,outerRadius:p,circumference:y}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],r),f=(this.options.spacing+this.options.borderWidth)/2,m=be(y,h-d),k=i1(s,d,h)&&d!==h,g=m>=ze||k,b=ua(c,u+f,p+f);return g&&b}getCenterPoint(n){const{x:o,y:r,startAngle:i,endAngle:s,innerRadius:c,outerRadius:d}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],n),{offset:h,spacing:u}=this.options,p=(i+s)/2,y=(c+d+u+h)/2;return{x:o+Math.cos(p)*y,y:r+Math.sin(p)*y}}tooltipPosition(n){return this.getCenterPoint(n)}draw(n){const{options:o,circumference:r}=this,i=(o.offset||0)/4,s=(o.spacing||0)/2,c=o.circular;if(this.pixelMargin=o.borderAlign==="inner"?.33:0,this.fullCircles=r>ze?Math.floor(r/ze):0,r===0||this.innerRadius<0||this.outerRadius<0)return;n.save();const d=(this.startAngle+this.endAngle)/2;n.translate(Math.cos(d)*i,Math.sin(d)*i);const h=1-Math.sin(Math.min(Ae,r||0)),u=i*h;n.fillStyle=o.backgroundColor,n.strokeStyle=o.borderColor,hJ(n,this,u,s,c),uJ(n,this,u,s,c),n.restore()}}se(g1,"id","arc"),se(g1,"defaults",{borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1}),se(g1,"defaultRoutes",{backgroundColor:"backgroundColor"}),se(g1,"descriptors",{_scriptable:!0,_indexable:n=>n!=="borderDash"});function gq(t,e,n=e){t.lineCap=be(n.borderCapStyle,e.borderCapStyle),t.setLineDash(be(n.borderDash,e.borderDash)),t.lineDashOffset=be(n.borderDashOffset,e.borderDashOffset),t.lineJoin=be(n.borderJoinStyle,e.borderJoinStyle),t.lineWidth=be(n.borderWidth,e.borderWidth),t.strokeStyle=be(n.borderColor,e.borderColor)}function pJ(t,e,n){t.lineTo(n.x,n.y)}function yJ(t){return t.stepped?TK:t.tension||t.cubicInterpolationMode==="monotone"?OK:pJ}function bq(t,e,n={}){const o=t.length,{start:r=0,end:i=o-1}=n,{start:s,end:c}=e,d=Math.max(r,s),h=Math.min(i,c),u=r<s&&i<s||r>c&&i>c;return{count:o,start:d,loop:e.loop,ilen:h<d&&!u?o+h-d:h-d}}function fJ(t,e,n,o){const{points:r,options:i}=e,{count:s,start:c,loop:d,ilen:h}=bq(r,n,o),u=yJ(i);let{move:p=!0,reverse:y}=o||{},f,m,k;for(f=0;f<=h;++f)m=r[(c+(y?h-f:f))%s],!m.skip&&(p?(t.moveTo(m.x,m.y),p=!1):u(t,k,m,y,i.stepped),k=m);return d&&(m=r[(c+(y?h:0))%s],u(t,k,m,y,i.stepped)),!!d}function mJ(t,e,n,o){const r=e.points,{count:i,start:s,ilen:c}=bq(r,n,o),{move:d=!0,reverse:h}=o||{};let u=0,p=0,y,f,m,k,g,b;const w=C=>(s+(h?c-C:C))%i,S=()=>{k!==g&&(t.lineTo(u,g),t.lineTo(u,k),t.lineTo(u,b))};for(d&&(f=r[w(0)],t.moveTo(f.x,f.y)),y=0;y<=c;++y){if(f=r[w(y)],f.skip)continue;const C=f.x,x=f.y,M=C|0;M===m?(x<k?k=x:x>g&&(g=x),u=(p*u+C)/++p):(S(),t.lineTo(C,x),m=M,p=0,k=g=x),b=x}S()}function CB(t){const e=t.options,n=e.borderDash&&e.borderDash.length;return!t._decimated&&!t._loop&&!e.tension&&e.cubicInterpolationMode!=="monotone"&&!e.stepped&&!n?mJ:fJ}function kJ(t){return t.stepped?mX:t.tension||t.cubicInterpolationMode==="monotone"?kX:bs}function gJ(t,e,n,o){let r=e._path;r||(r=e._path=new Path2D,e.path(r,n,o)&&r.closePath()),gq(t,e.options),t.stroke(r)}function bJ(t,e,n,o){const{segments:r,options:i}=e,s=CB(e);for(const c of r)gq(t,i,c.style),t.beginPath(),s(t,e,c,{start:n,end:n+o-1})&&t.closePath(),t.stroke()}const MJ=typeof Path2D=="function";function xJ(t,e,n,o){MJ&&!e.options.segment?gJ(t,e,n,o):bJ(t,e,n,o)}class Ua extends ya{constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,n){const o=this.options;if((o.tension||o.cubicInterpolationMode==="monotone")&&!o.stepped&&!this._pointsUpdated){const r=o.spanGaps?this._loop:this._fullLoop;lX(this._points,o,e,r,n),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=vX(this,this.options.segment))}first(){const e=this.segments,n=this.points;return e.length&&n[e[0].start]}last(){const e=this.segments,n=this.points,o=e.length;return o&&n[e[o-1].end]}interpolate(e,n){const o=this.options,r=e[n],i=this.points,s=_D(this,{property:n,start:r,end:r});if(!s.length)return;const c=[],d=kJ(o);let h,u;for(h=0,u=s.length;h<u;++h){const{start:p,end:y}=s[h],f=i[p],m=i[y];if(f===m){c.push(f);continue}const k=Math.abs((r-f[n])/(m[n]-f[n])),g=d(f,m,k,o.stepped);g[n]=e[n],c.push(g)}return c.length===1?c[0]:c}pathSegment(e,n,o){return CB(this)(e,this,n,o)}path(e,n,o){const r=this.segments,i=CB(this);let s=this._loop;n=n||0,o=o||this.points.length-n;for(const c of r)s&=i(e,this,c,{start:n,end:n+o-1});return!!s}draw(e,n,o,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),xJ(e,this,o,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}}se(Ua,"id","line"),se(Ua,"defaults",{borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0}),se(Ua,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"}),se(Ua,"descriptors",{_scriptable:!0,_indexable:e=>e!=="borderDash"&&e!=="fill"});function Mq(t,e,n,o){const r=t.options,{[n]:i}=t.getProps([n],o);return Math.abs(e-i)<r.radius+r.hitRadius}class rI extends ya{constructor(n){super();se(this,"parsed");se(this,"skip");se(this,"stop");this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,n&&Object.assign(this,n)}inRange(n,o,r){const i=this.options,{x:s,y:c}=this.getProps(["x","y"],r);return Math.pow(n-s,2)+Math.pow(o-c,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(n,o){return Mq(this,n,"x",o)}inYRange(n,o){return Mq(this,n,"y",o)}getCenterPoint(n){const{x:o,y:r}=this.getProps(["x","y"],n);return{x:o,y:r}}size(n){n=n||this.options||{};let o=n.radius||0;o=Math.max(o,o&&n.hoverRadius||0);const r=o&&n.borderWidth||0;return(o+r)*2}draw(n,o){const r=this.options;this.skip||r.radius<.1||!c1(this,o,this.size(r)/2)||(n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.fillStyle=r.backgroundColor,iB(n,r,this.x,this.y))}getRange(){const n=this.options||{};return n.radius+n.hitRadius}}se(rI,"id","point"),se(rI,"defaults",{borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0}),se(rI,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function xq(t,e){const{x:n,y:o,base:r,width:i,height:s}=t.getProps(["x","y","base","width","height"],e);let c,d,h,u,p;return t.horizontal?(p=s/2,c=Math.min(n,r),d=Math.max(n,r),h=o-p,u=o+p):(p=i/2,c=n-p,d=n+p,h=Math.min(o,r),u=Math.max(o,r)),{left:c,top:h,right:d,bottom:u}}function Wa(t,e,n,o){return t?0:Ge(e,n,o)}function wJ(t,e,n){const o=t.options.borderWidth,r=t.borderSkipped,i=pD(o);return{t:Wa(r.top,i.top,0,n),r:Wa(r.right,i.right,0,e),b:Wa(r.bottom,i.bottom,0,n),l:Wa(r.left,i.left,0,e)}}function vJ(t,e,n){const{enableBorderRadius:o}=t.getProps(["enableBorderRadius"]),r=t.options.borderRadius,i=al(r),s=Math.min(e,n),c=t.borderSkipped,d=o||we(r);return{topLeft:Wa(!d||c.top||c.left,i.topLeft,0,s),topRight:Wa(!d||c.top||c.right,i.topRight,0,s),bottomLeft:Wa(!d||c.bottom||c.left,i.bottomLeft,0,s),bottomRight:Wa(!d||c.bottom||c.right,i.bottomRight,0,s)}}function CJ(t){const e=xq(t),n=e.right-e.left,o=e.bottom-e.top,r=wJ(t,n/2,o/2),i=vJ(t,n/2,o/2);return{outer:{x:e.left,y:e.top,w:n,h:o,radius:i},inner:{x:e.left+r.l,y:e.top+r.t,w:n-r.l-r.r,h:o-r.t-r.b,radius:{topLeft:Math.max(0,i.topLeft-Math.max(r.t,r.l)),topRight:Math.max(0,i.topRight-Math.max(r.t,r.r)),bottomLeft:Math.max(0,i.bottomLeft-Math.max(r.b,r.l)),bottomRight:Math.max(0,i.bottomRight-Math.max(r.b,r.r))}}}}function LB(t,e,n,o){const r=e===null,i=n===null,c=t&&!(r&&i)&&xq(t,o);return c&&(r||ua(e,c.left,c.right))&&(i||ua(n,c.top,c.bottom))}function LJ(t){return t.topLeft||t.topRight||t.bottomLeft||t.bottomRight}function SJ(t,e){t.rect(e.x,e.y,e.w,e.h)}function SB(t,e,n={}){const o=t.x!==n.x?-e:0,r=t.y!==n.y?-e:0,i=(t.x+t.w!==n.x+n.w?e:0)-o,s=(t.y+t.h!==n.y+n.h?e:0)-r;return{x:t.x+o,y:t.y+r,w:t.w+i,h:t.h+s,radius:t.radius}}class iI extends ya{constructor(e){super(),this.options=void 0,this.horizontal=void 0,this.base=void 0,this.width=void 0,this.height=void 0,this.inflateAmount=void 0,e&&Object.assign(this,e)}draw(e){const{inflateAmount:n,options:{borderColor:o,backgroundColor:r}}=this,{inner:i,outer:s}=CJ(this),c=LJ(s.radius)?jS:SJ;e.save(),(s.w!==i.w||s.h!==i.h)&&(e.beginPath(),c(e,SB(s,n,i)),e.clip(),c(e,SB(i,-n,s)),e.fillStyle=o,e.fill("evenodd")),e.beginPath(),c(e,SB(i,n)),e.fillStyle=r,e.fill(),e.restore()}inRange(e,n,o){return LB(this,e,n,o)}inXRange(e,n){return LB(this,e,null,n)}inYRange(e,n){return LB(this,null,e,n)}getCenterPoint(e){const{x:n,y:o,base:r,horizontal:i}=this.getProps(["x","y","base","horizontal"],e);return{x:i?(n+r)/2:n,y:i?o:(o+r)/2}}getRange(e){return e==="x"?this.width/2:this.height/2}}se(iI,"id","bar"),se(iI,"defaults",{borderSkipped:"start",borderWidth:0,borderRadius:0,inflateAmount:"auto",pointStyle:void 0}),se(iI,"defaultRoutes",{backgroundColor:"backgroundColor",borderColor:"borderColor"});function IJ(t,e,n){const o=t.segments,r=t.points,i=e.points,s=[];for(const c of o){let{start:d,end:h}=c;h=sI(d,h,r);const u=IB(n,r[d],r[h],c.loop);if(!e.segments){s.push({source:c,target:u,start:r[d],end:r[h]});continue}const p=_D(e,u);for(const y of p){const f=IB(n,i[y.start],i[y.end],y.loop),m=ID(c,r,f);for(const k of m)s.push({source:k,target:y,start:{[n]:wq(u,f,"start",Math.max)},end:{[n]:wq(u,f,"end",Math.min)}})}}return s}function IB(t,e,n,o){if(o)return;let r=e[t],i=n[t];return t==="angle"&&(r=dt(r),i=dt(i)),{property:t,start:r,end:i}}function _J(t,e){const{x:n=null,y:o=null}=t||{},r=e.points,i=[];return e.segments.forEach(({start:s,end:c})=>{c=sI(s,c,r);const d=r[s],h=r[c];o!==null?(i.push({x:d.x,y:o}),i.push({x:h.x,y:o})):n!==null&&(i.push({x:n,y:d.y}),i.push({x:n,y:h.y}))}),i}function sI(t,e,n){for(;e>t;e--){const o=n[e];if(!isNaN(o.x)&&!isNaN(o.y))break}return e}function wq(t,e,n,o){return t&&e?o(t[n],e[n]):t?t[n]:e?e[n]:0}function vq(t,e){let n=[],o=!1;return $e(t)?(o=!0,n=t):n=_J(t,e),n.length?new Ua({points:n,options:{tension:0},_loop:o,_fullLoop:o}):null}function Cq(t){return t&&t.fill!==!1}function BJ(t,e,n){let r=t[e].fill;const i=[e];let s;if(!n)return r;for(;r!==!1&&i.indexOf(r)===-1;){if(!We(r))return r;if(s=t[r],!s)return!1;if(s.visible)return r;i.push(r),r=s.fill}return!1}function AJ(t,e,n){const o=qJ(t);if(we(o))return isNaN(o.value)?!1:o;let r=parseFloat(o);return We(r)&&Math.floor(r)===r?VJ(o[0],e,r,n):["origin","start","end","stack","shape"].indexOf(o)>=0&&o}function VJ(t,e,n,o){return(t==="-"||t==="+")&&(n=e+n),n===e||n<0||n>=o?!1:n}function PJ(t,e){let n=null;return t==="start"?n=e.bottom:t==="end"?n=e.top:we(t)?n=e.getPixelForValue(t.value):e.getBasePixel&&(n=e.getBasePixel()),n}function DJ(t,e,n){let o;return t==="start"?o=n:t==="end"?o=e.options.reverse?e.min:e.max:we(t)?o=t.value:o=e.getBaseValue(),o}function qJ(t){const e=t.options,n=e.fill;let o=be(n&&n.target,n);return o===void 0&&(o=!!e.backgroundColor),o===!1||o===null?!1:o===!0?"origin":o}function zJ(t){const{scale:e,index:n,line:o}=t,r=[],i=o.segments,s=o.points,c=EJ(e,n);c.push(vq({x:null,y:e.bottom},o));for(let d=0;d<i.length;d++){const h=i[d];for(let u=h.start;u<=h.end;u++)TJ(r,s[u],c)}return new Ua({points:r,options:{}})}function EJ(t,e){const n=[],o=t.getMatchingVisibleMetas("line");for(let r=0;r<o.length;r++){const i=o[r];if(i.index===e)break;i.hidden||n.unshift(i.dataset)}return n}function TJ(t,e,n){const o=[];for(let r=0;r<n.length;r++){const i=n[r],{first:s,last:c,point:d}=OJ(i,e,"x");if(!(!d||s&&c)){if(s)o.unshift(d);else if(t.push(d),!c)break}}t.push(...o)}function OJ(t,e,n){const o=t.interpolate(e,n);if(!o)return{};const r=o[n],i=t.segments,s=t.points;let c=!1,d=!1;for(let h=0;h<i.length;h++){const u=i[h],p=s[u.start][n],y=s[u.end][n];if(ua(r,p,y)){c=r===p,d=r===y;break}}return{first:c,last:d,point:o}}class Lq{constructor(e){this.x=e.x,this.y=e.y,this.radius=e.radius}pathSegment(e,n,o){const{x:r,y:i,radius:s}=this;return n=n||{start:0,end:ze},e.arc(r,i,s,n.end,n.start,!0),!o.bounds}interpolate(e){const{x:n,y:o,radius:r}=this,i=e.angle;return{x:n+Math.cos(i)*r,y:o+Math.sin(i)*r,angle:i}}}function HJ(t){const{chart:e,fill:n,line:o}=t;if(We(n))return FJ(e,n);if(n==="stack")return zJ(t);if(n==="shape")return!0;const r=$J(t);return r instanceof Lq?r:vq(r,o)}function FJ(t,e){const n=t.getDatasetMeta(e);return n&&t.isDatasetVisible(e)?n.dataset:null}function $J(t){return(t.scale||{}).getPointPositionForValue?RJ(t):jJ(t)}function jJ(t){const{scale:e={},fill:n}=t,o=PJ(n,e);if(We(o)){const r=e.isHorizontal();return{x:r?o:null,y:r?null:o}}return null}function RJ(t){const{scale:e,fill:n}=t,o=e.options,r=e.getLabels().length,i=o.reverse?e.max:e.min,s=DJ(n,e,i),c=[];if(o.grid.circular){const d=e.getPointPositionForValue(0,i);return new Lq({x:d.x,y:d.y,radius:e.getDistanceFromCenterForValue(s)})}for(let d=0;d<r;++d)c.push(e.getPointPositionForValue(d,s));return c}function _B(t,e,n){const o=HJ(e),{chart:r,index:i,line:s,scale:c,axis:d}=e,h=s.options,u=h.fill,p=h.backgroundColor,{above:y=p,below:f=p}=u||{},m=r.getDatasetMeta(i),k=VD(r,m);o&&s.points.length&&(FS(t,n),NJ(t,{line:s,target:o,above:y,below:f,area:n,scale:c,axis:d,clip:k}),$S(t))}function NJ(t,e){const{line:n,target:o,above:r,below:i,area:s,scale:c,clip:d}=e,h=n._loop?"angle":e.axis;t.save();let u=i;i!==r&&(h==="x"?(Sq(t,o,s.top),BB(t,{line:n,target:o,color:r,scale:c,property:h,clip:d}),t.restore(),t.save(),Sq(t,o,s.bottom)):h==="y"&&(Iq(t,o,s.left),BB(t,{line:n,target:o,color:i,scale:c,property:h,clip:d}),t.restore(),t.save(),Iq(t,o,s.right),u=r)),BB(t,{line:n,target:o,color:u,scale:c,property:h,clip:d}),t.restore()}function Sq(t,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;t.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[sI(d,h,r)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(u.x,n),t.lineTo(u.x,u.y)),s=!!e.pathSegment(t,c,{move:s}),s?t.closePath():t.lineTo(p.x,n)}t.lineTo(e.first().x,n),t.closePath(),t.clip()}function Iq(t,e,n){const{segments:o,points:r}=e;let i=!0,s=!1;t.beginPath();for(const c of o){const{start:d,end:h}=c,u=r[d],p=r[sI(d,h,r)];i?(t.moveTo(u.x,u.y),i=!1):(t.lineTo(n,u.y),t.lineTo(u.x,u.y)),s=!!e.pathSegment(t,c,{move:s}),s?t.closePath():t.lineTo(n,p.y)}t.lineTo(n,e.first().y),t.closePath(),t.clip()}function BB(t,e){const{line:n,target:o,property:r,color:i,scale:s,clip:c}=e,d=IJ(n,o,r);for(const{source:h,target:u,start:p,end:y}of d){const{style:{backgroundColor:f=i}={}}=h,m=o!==!0;t.save(),t.fillStyle=f,UJ(t,s,c,m&&IB(r,p,y)),t.beginPath();const k=!!n.pathSegment(t,h);let g;if(m){k?t.closePath():_q(t,o,y,r);const b=!!o.pathSegment(t,u,{move:k,reverse:!0});g=k&&b,g||_q(t,o,p,r)}t.closePath(),t.fill(g?"evenodd":"nonzero"),t.restore()}}function UJ(t,e,n,o){const r=e.chart.chartArea,{property:i,start:s,end:c}=o||{};if(i==="x"||i==="y"){let d,h,u,p;i==="x"?(d=s,h=r.top,u=c,p=r.bottom):(d=r.left,h=s,u=r.right,p=c),t.beginPath(),n&&(d=Math.max(d,n.left),u=Math.min(u,n.right),h=Math.max(h,n.top),p=Math.min(p,n.bottom)),t.rect(d,h,u-d,p-h),t.clip()}}function _q(t,e,n,o){const r=e.interpolate(n,o);r&&t.lineTo(r.x,r.y)}var WJ={id:"filler",afterDatasetsUpdate(t,e,n){const o=(t.data.datasets||[]).length,r=[];let i,s,c,d;for(s=0;s<o;++s)i=t.getDatasetMeta(s),c=i.dataset,d=null,c&&c.options&&c instanceof Ua&&(d={visible:t.isDatasetVisible(s),index:s,fill:AJ(c,s,o),chart:t,axis:i.controller.options.indexAxis,scale:i.vScale,line:c}),i.$filler=d,r.push(d);for(s=0;s<o;++s)d=r[s],!(!d||d.fill===!1)&&(d.fill=BJ(r,s,n.propagate))},beforeDraw(t,e,n){const o=n.drawTime==="beforeDraw",r=t.getSortedVisibleDatasetMetas(),i=t.chartArea;for(let s=r.length-1;s>=0;--s){const c=r[s].$filler;c&&(c.line.updateControlPoints(i,c.axis),o&&c.fill&&_B(t.ctx,c,i))}},beforeDatasetsDraw(t,e,n){if(n.drawTime!=="beforeDatasetsDraw")return;const o=t.getSortedVisibleDatasetMetas();for(let r=o.length-1;r>=0;--r){const i=o[r].$filler;Cq(i)&&_B(t.ctx,i,t.chartArea)}},beforeDatasetDraw(t,e,n){const o=e.meta.$filler;!Cq(o)||n.drawTime!=="beforeDatasetDraw"||_B(t.ctx,o,t.chartArea)},defaults:{propagate:!0,drawTime:"beforeDatasetDraw"}};const Bq=(t,e)=>{let{boxHeight:n=e,boxWidth:o=e}=t;return t.usePointStyle&&(n=Math.min(n,e),o=t.pointStyleWidth||Math.min(o,e)),{boxWidth:o,boxHeight:n,itemHeight:Math.max(e,n)}},GJ=(t,e)=>t!==null&&e!==null&&t.datasetIndex===e.datasetIndex&&t.index===e.index;class Aq extends ya{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n,o){this.maxWidth=e,this.maxHeight=n,this._margins=o,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let n=Pe(e.generateLabels,[this.chart],this)||[];e.filter&&(n=n.filter(o=>e.filter(o,this.chart.data))),e.sort&&(n=n.sort((o,r)=>e.sort(o,r,this.chart.data))),this.options.reverse&&n.reverse(),this.legendItems=n}fit(){const{options:e,ctx:n}=this;if(!e.display){this.width=this.height=0;return}const o=e.labels,r=Ke(o.font),i=r.size,s=this._computeTitleHeight(),{boxWidth:c,itemHeight:d}=Bq(o,i);let h,u;n.font=r.string,this.isHorizontal()?(h=this.maxWidth,u=this._fitRows(s,i,c,d)+10):(u=this.maxHeight,h=this._fitCols(s,r,c,d)+10),this.width=Math.min(h,e.maxWidth||this.maxWidth),this.height=Math.min(u,e.maxHeight||this.maxHeight)}_fitRows(e,n,o,r){const{ctx:i,maxWidth:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.lineWidths=[0],u=r+c;let p=e;i.textAlign="left",i.textBaseline="middle";let y=-1,f=-u;return this.legendItems.forEach((m,k)=>{const g=o+n/2+i.measureText(m.text).width;(k===0||h[h.length-1]+g+2*c>s)&&(p+=u,h[h.length-(k>0?0:1)]=0,f+=u,y++),d[k]={left:0,top:f,row:y,width:g,height:r},h[h.length-1]+=g+c}),p}_fitCols(e,n,o,r){const{ctx:i,maxHeight:s,options:{labels:{padding:c}}}=this,d=this.legendHitBoxes=[],h=this.columnSizes=[],u=s-e;let p=c,y=0,f=0,m=0,k=0;return this.legendItems.forEach((g,b)=>{const{itemWidth:w,itemHeight:S}=YJ(o,n,i,g,r);b>0&&f+S+2*c>u&&(p+=y+c,h.push({width:y,height:f}),m+=y+c,k++,y=f=0),d[b]={left:m,top:f,col:k,width:w,height:S},y=Math.max(y,w),f+=S+c}),p+=y,h.push({width:y,height:f}),p}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:n,options:{align:o,labels:{padding:r},rtl:i}}=this,s=rl(i,this.left,this.width);if(this.isHorizontal()){let c=0,d=Ye(o,this.left+r,this.right-this.lineWidths[c]);for(const h of n)c!==h.row&&(c=h.row,d=Ye(o,this.left+r,this.right-this.lineWidths[c])),h.top+=this.top+e+r,h.left=s.leftForLtr(s.x(d),h.width),d+=h.width+r}else{let c=0,d=Ye(o,this.top+e+r,this.bottom-this.columnSizes[c].height);for(const h of n)h.col!==c&&(c=h.col,d=Ye(o,this.top+e+r,this.bottom-this.columnSizes[c].height)),h.top=d,h.left+=this.left+r,h.left=s.leftForLtr(s.x(h.left),h.width),d+=h.height+r}}isHorizontal(){return this.options.position==="top"||this.options.position==="bottom"}draw(){if(this.options.display){const e=this.ctx;FS(e,this),this._draw(),$S(e)}}_draw(){const{options:e,columnSizes:n,lineWidths:o,ctx:r}=this,{align:i,labels:s}=e,c=Fe.color,d=rl(e.rtl,this.left,this.width),h=Ke(s.font),{padding:u}=s,p=h.size,y=p/2;let f;this.drawTitle(),r.textAlign=d.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=h.string;const{boxWidth:m,boxHeight:k,itemHeight:g}=Bq(s,p),b=function(M,v,L){if(isNaN(m)||m<=0||isNaN(k)||k<0)return;r.save();const I=be(L.lineWidth,1);if(r.fillStyle=be(L.fillStyle,c),r.lineCap=be(L.lineCap,"butt"),r.lineDashOffset=be(L.lineDashOffset,0),r.lineJoin=be(L.lineJoin,"miter"),r.lineWidth=I,r.strokeStyle=be(L.strokeStyle,c),r.setLineDash(be(L.lineDash,[])),s.usePointStyle){const _={radius:k*Math.SQRT2/2,pointStyle:L.pointStyle,rotation:L.rotation,borderWidth:I},A=d.xPlus(M,m/2),V=v+y;uD(r,_,A,V,s.pointStyleWidth&&m)}else{const _=v+Math.max((p-k)/2,0),A=d.leftForLtr(M,m),V=al(L.borderRadius);r.beginPath(),Object.values(V).some(q=>q!==0)?jS(r,{x:A,y:_,w:m,h:k,radius:V}):r.rect(A,_,m,k),r.fill(),I!==0&&r.stroke()}r.restore()},w=function(M,v,L){d1(r,L.text,M,v+g/2,h,{strikethrough:L.hidden,textAlign:d.textAlign(L.textAlign)})},S=this.isHorizontal(),C=this._computeTitleHeight();S?f={x:Ye(i,this.left+u,this.right-o[0]),y:this.top+u+C,line:0}:f={x:this.left+u,y:Ye(i,this.top+C+u,this.bottom-n[0].height),line:0},vD(this.ctx,e.textDirection);const x=g+u;this.legendItems.forEach((M,v)=>{r.strokeStyle=M.fontColor,r.fillStyle=M.fontColor;const L=r.measureText(M.text).width,I=d.textAlign(M.textAlign||(M.textAlign=s.textAlign)),_=m+y+L;let A=f.x,V=f.y;d.setWidth(this.width),S?v>0&&A+_+u>this.right&&(V=f.y+=x,f.line++,A=f.x=Ye(i,this.left+u,this.right-o[f.line])):v>0&&V+x>this.bottom&&(A=f.x=A+n[f.line].width+u,f.line++,V=f.y=Ye(i,this.top+C+u,this.bottom-n[f.line].height));const q=d.x(A);if(b(q,V,M),A=CK(I,A+m+y,S?A+_:this.right,e.rtl),w(d.x(A),V,M),S)f.x+=_+u;else if(typeof M.text!="string"){const O=h.lineHeight;f.y+=Vq(M,O)+u}else f.y+=x}),CD(this.ctx,e.textDirection)}drawTitle(){const e=this.options,n=e.title,o=Ke(n.font),r=kt(n.padding);if(!n.display)return;const i=rl(e.rtl,this.left,this.width),s=this.ctx,c=n.position,d=o.size/2,h=r.top+d;let u,p=this.left,y=this.width;if(this.isHorizontal())y=Math.max(...this.lineWidths),u=this.top+h,p=Ye(e.align,p,this.right-y);else{const m=this.columnSizes.reduce((k,g)=>Math.max(k,g.height),0);u=h+Ye(e.align,this.top,this.bottom-m-e.labels.padding-this._computeTitleHeight())}const f=Ye(c,p,p+y);s.textAlign=i.textAlign(eB(c)),s.textBaseline="middle",s.strokeStyle=n.color,s.fillStyle=n.color,s.font=o.string,d1(s,n.text,f,u,o)}_computeTitleHeight(){const e=this.options.title,n=Ke(e.font),o=kt(e.padding);return e.display?n.lineHeight+o.height:0}_getLegendItemAt(e,n){let o,r,i;if(ua(e,this.left,this.right)&&ua(n,this.top,this.bottom)){for(i=this.legendHitBoxes,o=0;o<i.length;++o)if(r=i[o],ua(e,r.left,r.left+r.width)&&ua(n,r.top,r.top+r.height))return this.legendItems[o]}return null}handleEvent(e){const n=this.options;if(!ZJ(e.type,n))return;const o=this._getLegendItemAt(e.x,e.y);if(e.type==="mousemove"||e.type==="mouseout"){const r=this._hoveredItem,i=GJ(r,o);r&&!i&&Pe(n.onLeave,[e,r,this],this),this._hoveredItem=o,o&&!i&&Pe(n.onHover,[e,o,this],this)}else o&&Pe(n.onClick,[e,o,this],this)}}function YJ(t,e,n,o,r){const i=KJ(o,t,e,n),s=XJ(r,o,e.lineHeight);return{itemWidth:i,itemHeight:s}}function KJ(t,e,n,o){let r=t.text;return r&&typeof r!="string"&&(r=r.reduce((i,s)=>i.length>s.length?i:s)),e+n.size/2+o.measureText(r).width}function XJ(t,e,n){let o=t;return typeof e.text!="string"&&(o=Vq(e,n)),o}function Vq(t,e){const n=t.text?t.text.length:0;return e*n}function ZJ(t,e){return!!((t==="mousemove"||t==="mouseout")&&(e.onHover||e.onLeave)||e.onClick&&(t==="click"||t==="mouseup"))}var JJ={id:"legend",_element:Aq,start(t,e,n){const o=t.legend=new Aq({ctx:t.ctx,options:n,chart:t});gt.configure(t,o,n),gt.addBox(t,o)},stop(t){gt.removeBox(t,t.legend),delete t.legend},beforeUpdate(t,e,n){const o=t.legend;gt.configure(t,o,n),o.options=n},afterUpdate(t){const e=t.legend;e.buildLabels(),e.adjustHitBoxes()},afterEvent(t,e){e.replay||t.legend.handleEvent(e.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(t,e,n){const o=e.datasetIndex,r=n.chart;r.isDatasetVisible(o)?(r.hide(o),e.hidden=!0):(r.show(o),e.hidden=!1)},onHover:null,onLeave:null,labels:{color:t=>t.chart.options.color,boxWidth:40,padding:10,generateLabels(t){const e=t.data.datasets,{labels:{usePointStyle:n,pointStyle:o,textAlign:r,color:i,useBorderRadius:s,borderRadius:c}}=t.legend.options;return t._getSortedDatasetMetas().map(d=>{const h=d.controller.getStyle(n?0:void 0),u=kt(h.borderWidth);return{text:e[d.index].label,fillStyle:h.backgroundColor,fontColor:i,hidden:!d.visible,lineCap:h.borderCapStyle,lineDash:h.borderDash,lineDashOffset:h.borderDashOffset,lineJoin:h.borderJoinStyle,lineWidth:(u.width+u.height)/4,strokeStyle:h.borderColor,pointStyle:o||h.pointStyle,rotation:h.rotation,textAlign:r||h.textAlign,borderRadius:s&&(c||h.borderRadius),datasetIndex:d.index}},this)}},title:{color:t=>t.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:t=>!t.startsWith("on"),labels:{_scriptable:t=>!["generateLabels","filter","sort"].includes(t)}}};class Pq extends ya{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,n){const o=this.options;if(this.left=0,this.top=0,!o.display){this.width=this.height=this.right=this.bottom=0;return}this.width=this.right=e,this.height=this.bottom=n;const r=$e(o.text)?o.text.length:1;this._padding=kt(o.padding);const i=r*Ke(o.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return e==="top"||e==="bottom"}_drawArgs(e){const{top:n,left:o,bottom:r,right:i,options:s}=this,c=s.align;let d=0,h,u,p;return this.isHorizontal()?(u=Ye(c,o,i),p=n+e,h=i-o):(s.position==="left"?(u=o+e,p=Ye(c,r,n),d=Ae*-.5):(u=i-e,p=Ye(c,n,r),d=Ae*.5),h=r-n),{titleX:u,titleY:p,maxWidth:h,rotation:d}}draw(){const e=this.ctx,n=this.options;if(!n.display)return;const o=Ke(n.font),i=o.lineHeight/2+this._padding.top,{titleX:s,titleY:c,maxWidth:d,rotation:h}=this._drawArgs(i);d1(e,n.text,0,0,o,{color:n.color,maxWidth:d,rotation:h,textAlign:eB(n.align),textBaseline:"middle",translation:[s,c]})}}function QJ(t,e){const n=new Pq({ctx:t.ctx,options:e,chart:t});gt.configure(t,n,e),gt.addBox(t,n),t.titleBlock=n}var eQ={id:"title",_element:Pq,start(t,e,n){QJ(t,n)},stop(t){const e=t.titleBlock;gt.removeBox(t,e),delete t.titleBlock},beforeUpdate(t,e,n){const o=t.titleBlock;gt.configure(t,o,n),o.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};const b1={average(t){if(!t.length)return!1;let e,n,o=new Set,r=0,i=0;for(e=0,n=t.length;e<n;++e){const c=t[e].element;if(c&&c.hasValue()){const d=c.tooltipPosition();o.add(d.x),r+=d.y,++i}}return i===0||o.size===0?!1:{x:[...o].reduce((c,d)=>c+d)/o.size,y:r/i}},nearest(t,e){if(!t.length)return!1;let n=e.x,o=e.y,r=Number.POSITIVE_INFINITY,i,s,c;for(i=0,s=t.length;i<s;++i){const d=t[i].element;if(d&&d.hasValue()){const h=d.getCenterPoint(),u=J_(e,h);u<r&&(r=u,c=d)}}if(c){const d=c.tooltipPosition();n=d.x,o=d.y}return{x:n,y:o}}};function Jt(t,e){return e&&($e(e)?Array.prototype.push.apply(t,e):t.push(e)),t}function ma(t){return(typeof t=="string"||t instanceof String)&&t.indexOf(`
|
|
8565
8565
|
`)>-1?t.split(`
|
|
8566
|
-
`):t}function eQ(t,e){const{element:n,datasetIndex:o,index:r}=e,i=t.getDatasetMeta(o).controller,{label:s,value:c}=i.getLabelAndValue(r);return{chart:t,label:s,parsed:i.getParsed(r),raw:t.data.datasets[o].data[r],formattedValue:c,dataset:i.getDataset(),dataIndex:r,datasetIndex:o,element:n}}function Dq(t,e){const n=t.chart.ctx,{body:o,footer:r,title:i}=t,{boxWidth:s,boxHeight:c}=e,d=Ke(e.bodyFont),h=Ke(e.titleFont),u=Ke(e.footerFont),p=i.length,y=r.length,f=o.length,m=kt(e.padding);let k=m.height,g=0,b=o.reduce((C,x)=>C+x.before.length+x.lines.length+x.after.length,0);if(b+=t.beforeBody.length+t.afterBody.length,p&&(k+=p*h.lineHeight+(p-1)*e.titleSpacing+e.titleMarginBottom),b){const C=e.displayColors?Math.max(c,d.lineHeight):d.lineHeight;k+=f*C+(b-f)*d.lineHeight+(b-1)*e.bodySpacing}y&&(k+=e.footerMarginTop+y*u.lineHeight+(y-1)*e.footerSpacing);let w=0;const S=function(C){g=Math.max(g,n.measureText(C).width+w)};return n.save(),n.font=h.string,Be(t.title,S),n.font=d.string,Be(t.beforeBody.concat(t.afterBody),S),w=e.displayColors?s+2+e.boxPadding:0,Be(o,C=>{Be(C.before,S),Be(C.lines,S),Be(C.after,S)}),w=0,n.font=u.string,Be(t.footer,S),n.restore(),g+=m.width,{width:g,height:k}}function tQ(t,e){const{y:n,height:o}=e;return n<o/2?"top":n>t.height-o/2?"bottom":"center"}function aQ(t,e,n,o){const{x:r,width:i}=o,s=n.caretSize+n.caretPadding;if(t==="left"&&r+i+s>e.width||t==="right"&&r-i-s<0)return!0}function nQ(t,e,n,o){const{x:r,width:i}=n,{width:s,chartArea:{left:c,right:d}}=t;let h="center";return o==="center"?h=r<=(c+d)/2?"left":"right":r<=i/2?h="left":r>=s-i/2&&(h="right"),aQ(h,t,e,n)&&(h="center"),h}function qq(t,e,n){const o=n.yAlign||e.yAlign||tQ(t,n);return{xAlign:n.xAlign||e.xAlign||nQ(t,e,n,o),yAlign:o}}function oQ(t,e){let{x:n,width:o}=t;return e==="right"?n-=o:e==="center"&&(n-=o/2),n}function rQ(t,e,n){let{y:o,height:r}=t;return e==="top"?o+=n:e==="bottom"?o-=r+n:o-=r/2,o}function zq(t,e,n,o){const{caretSize:r,caretPadding:i,cornerRadius:s}=t,{xAlign:c,yAlign:d}=n,h=r+i,{topLeft:u,topRight:p,bottomLeft:y,bottomRight:f}=al(s);let m=oQ(e,c);const k=rQ(e,d,h);return d==="center"?c==="left"?m+=h:c==="right"&&(m-=h):c==="left"?m-=Math.max(u,y)+r:c==="right"&&(m+=Math.max(p,f)+r),{x:Ge(m,0,o.width-e.width),y:Ge(k,0,o.height-e.height)}}function sI(t,e,n){const o=kt(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-o.right:t.x+o.left}function Eq(t){return Jt([],ma(t))}function iQ(t,e,n){return ms(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Tq(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Oq={beforeTitle:da,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,o=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(o>0&&e.dataIndex<o)return n[e.dataIndex]}return""},afterTitle:da,beforeBody:da,beforeLabel:da,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ie(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:da,afterBody:da,beforeFooter:da,footer:da,afterFooter:da};function ot(t,e,n,o){const r=t[e].call(n,o);return typeof r>"u"?Oq[e].call(n,o):r}class AB extends ya{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&n.options.animation&&o.animations,i=new DD(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=iQ(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:o}=n,r=ot(o,"beforeTitle",this,e),i=ot(o,"title",this,e),s=ot(o,"afterTitle",this,e);let c=[];return c=Jt(c,ma(r)),c=Jt(c,ma(i)),c=Jt(c,ma(s)),c}getBeforeBody(e,n){return Eq(ot(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:o}=n,r=[];return Be(e,i=>{const s={before:[],lines:[],after:[]},c=Tq(o,i);Jt(s.before,ma(ot(c,"beforeLabel",this,i))),Jt(s.lines,ot(c,"label",this,i)),Jt(s.after,ma(ot(c,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(e,n){return Eq(ot(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:o}=n,r=ot(o,"beforeFooter",this,e),i=ot(o,"footer",this,e),s=ot(o,"afterFooter",this,e);let c=[];return c=Jt(c,ma(r)),c=Jt(c,ma(i)),c=Jt(c,ma(s)),c}_createItems(e){const n=this._active,o=this.chart.data,r=[],i=[],s=[];let c=[],d,h;for(d=0,h=n.length;d<h;++d)c.push(eQ(this.chart,n[d]));return e.filter&&(c=c.filter((u,p,y)=>e.filter(u,p,y,o))),e.itemSort&&(c=c.sort((u,p)=>e.itemSort(u,p,o))),Be(c,u=>{const p=Tq(e.callbacks,u);r.push(ot(p,"labelColor",this,u)),i.push(ot(p,"labelPointStyle",this,u)),s.push(ot(p,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=c,c}update(e,n){const o=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const c=b1[o.position].call(this,r,this._eventPosition);s=this._createItems(o),this.title=this.getTitle(s,o),this.beforeBody=this.getBeforeBody(s,o),this.body=this.getBody(s,o),this.afterBody=this.getAfterBody(s,o),this.footer=this.getFooter(s,o);const d=this._size=Dq(this,o),h=Object.assign({},c,d),u=qq(this.chart,o,h),p=zq(o,h,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:p.x,y:p.y,width:d.width,height:d.height,caretX:c.x,caretY:c.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,o,r){const i=this.getCaretPosition(e,o,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,o){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:c}=o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=al(c),{x:y,y:f}=e,{width:m,height:k}=n;let g,b,w,S,C,x;return i==="center"?(C=f+k/2,r==="left"?(g=y,b=g-s,S=C+s,x=C-s):(g=y+m,b=g+s,S=C-s,x=C+s),w=g):(r==="left"?b=y+Math.max(d,u)+s:r==="right"?b=y+m-Math.max(h,p)-s:b=this.caretX,i==="top"?(S=f,C=S-s,g=b-s,w=b+s):(S=f+k,C=S+s,g=b+s,w=b-s),x=S),{x1:g,x2:b,x3:w,y1:S,y2:C,y3:x}}drawTitle(e,n,o){const r=this.title,i=r.length;let s,c,d;if(i){const h=rl(o.rtl,this.x,this.width);for(e.x=sI(this,o.titleAlign,o),n.textAlign=h.textAlign(o.titleAlign),n.textBaseline="middle",s=Ke(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=s.string,d=0;d<i;++d)n.fillText(r[d],h.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+c,d+1===i&&(e.y+=o.titleMarginBottom-c)}}_drawColorBox(e,n,o,r,i){const s=this.labelColors[o],c=this.labelPointStyles[o],{boxHeight:d,boxWidth:h}=i,u=Ke(i.bodyFont),p=sI(this,"left",i),y=r.x(p),f=d<u.lineHeight?(u.lineHeight-d)/2:0,m=n.y+f;if(i.usePointStyle){const k={radius:Math.min(h,d)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},g=r.leftForLtr(y,h)+h/2,b=m+d/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,iB(e,k,g,b),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,iB(e,k,g,b)}else{e.lineWidth=we(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const k=r.leftForLtr(y,h),g=r.leftForLtr(r.xPlus(y,1),h-2),b=al(s.borderRadius);Object.values(b).some(w=>w!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,$S(e,{x:k,y:m,w:h,h:d,radius:b}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),$S(e,{x:g,y:m+1,w:h-2,h:d-2,radius:b}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(k,m,h,d),e.strokeRect(k,m,h,d),e.fillStyle=s.backgroundColor,e.fillRect(g,m+1,h-2,d-2))}e.fillStyle=this.labelTextColors[o]}drawBody(e,n,o){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:c,boxHeight:d,boxWidth:h,boxPadding:u}=o,p=Ke(o.bodyFont);let y=p.lineHeight,f=0;const m=rl(o.rtl,this.x,this.width),k=function(L){n.fillText(L,m.x(e.x+f),e.y+y/2),e.y+=y+i},g=m.textAlign(s);let b,w,S,C,x,M,v;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,e.x=sI(this,g,o),n.fillStyle=o.bodyColor,Be(this.beforeBody,k),f=c&&g!=="right"?s==="center"?h/2+u:h+2+u:0,C=0,M=r.length;C<M;++C){for(b=r[C],w=this.labelTextColors[C],n.fillStyle=w,Be(b.before,k),S=b.lines,c&&S.length&&(this._drawColorBox(n,e,C,m,o),y=Math.max(p.lineHeight,d)),x=0,v=S.length;x<v;++x)k(S[x]),y=p.lineHeight;Be(b.after,k)}f=0,y=p.lineHeight,Be(this.afterBody,k),e.y-=i}drawFooter(e,n,o){const r=this.footer,i=r.length;let s,c;if(i){const d=rl(o.rtl,this.x,this.width);for(e.x=sI(this,o.footerAlign,o),e.y+=o.footerMarginTop,n.textAlign=d.textAlign(o.footerAlign),n.textBaseline="middle",s=Ke(o.footerFont),n.fillStyle=o.footerColor,n.font=s.string,c=0;c<i;++c)n.fillText(r[c],d.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o.footerSpacing}}drawBackground(e,n,o,r){const{xAlign:i,yAlign:s}=this,{x:c,y:d}=e,{width:h,height:u}=o,{topLeft:p,topRight:y,bottomLeft:f,bottomRight:m}=al(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+p,d),s==="top"&&this.drawCaret(e,n,o,r),n.lineTo(c+h-y,d),n.quadraticCurveTo(c+h,d,c+h,d+y),s==="center"&&i==="right"&&this.drawCaret(e,n,o,r),n.lineTo(c+h,d+u-m),n.quadraticCurveTo(c+h,d+u,c+h-m,d+u),s==="bottom"&&this.drawCaret(e,n,o,r),n.lineTo(c+f,d+u),n.quadraticCurveTo(c,d+u,c,d+u-f),s==="center"&&i==="left"&&this.drawCaret(e,n,o,r),n.lineTo(c,d+p),n.quadraticCurveTo(c,d,c+p,d),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,o=this.$animations,r=o&&o.x,i=o&&o.y;if(r||i){const s=b1[e.position].call(this,this._active,this._eventPosition);if(!s)return;const c=this._size=Dq(this,e),d=Object.assign({},s,this._size),h=qq(n,e,d),u=zq(e,d,h,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=c.width,this.height=c.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const s=kt(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(e.save(),e.globalAlpha=o,this.drawBackground(i,e,r,n),vD(e,n.textDirection),i.y+=s.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),CD(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const o=this._active,r=e.map(({datasetIndex:c,index:d})=>{const h=this.chart.getDatasetMeta(c);if(!h)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:h.data[d],index:d}}),i=!zS(o,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(e,i,n,o),c=this._positionChanged(s,e),d=n||!zS(s,i)||c;return d&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),d}_getActiveElements(e,n,o,r){const i=this.options;if(e.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const s=this.chart.getElementsAtEventForMode(e,i.mode,i,o);return i.reverse&&s.reverse(),s}_positionChanged(e,n){const{caretX:o,caretY:r,options:i}=this,s=b1[i.position].call(this,e,n);return s!==!1&&(o!==s.x||r!==s.y)}}se(AB,"positioners",b1);var sQ={id:"tooltip",_element:AB,positioners:b1,afterInit(t,e,n){n&&(t.tooltip=new AB({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Oq},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const lQ=(t,e,n,o)=>(typeof e=="string"?(n=t.push(e)-1,o.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function cQ(t,e,n,o){const r=t.indexOf(e);if(r===-1)return lQ(t,e,n,o);const i=t.lastIndexOf(e);return r!==i?n:r}const dQ=(t,e)=>t===null?null:Ge(Math.round(t),0,e);function Hq(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class VB extends sl{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const o=this.getLabels();for(const{index:r,label:i}of n)o[r]===i&&o.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ie(e))return null;const o=this.getLabels();return n=isFinite(n)&&o[n]===e?n:cQ(o,e,be(n,e),this._addedLabels),dQ(n,o.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(o=0),n||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const e=this.min,n=this.max,o=this.options.offset,r=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let s=e;s<=n;s++)r.push({value:s});return r}getLabelForValue(e){return Hq.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}se(VB,"id","category"),se(VB,"defaults",{ticks:{callback:Hq}});function hQ(t,e){const n=[],{bounds:r,step:i,min:s,max:c,precision:d,count:h,maxTicks:u,maxDigits:p,includeBounds:y}=t,f=i||1,m=u-1,{min:k,max:g}=e,b=!Ie(s),w=!Ie(c),S=!Ie(h),C=(g-k)/(p+1);let x=ZP((g-k)/m/f)*f,M,v,L,I;if(x<1e-14&&!b&&!w)return[{value:k},{value:g}];I=Math.ceil(g/x)-Math.floor(k/x),I>m&&(x=ZP(I*x/m/f)*f),Ie(d)||(M=Math.pow(10,d),x=Math.ceil(x*M)/M),r==="ticks"?(v=Math.floor(k/x)*x,L=Math.ceil(g/x)*x):(v=k,L=g),b&&w&&i&&yK((c-s)/i,x/1e3)?(I=Math.round(Math.min((c-s)/x,u)),x=(c-s)/I,v=s,L=c):S?(v=b?s:v,L=w?c:L,I=h-1,x=(L-v)/I):(I=(L-v)/x,o1(I,Math.round(I),x/1e3)?I=Math.round(I):I=Math.ceil(I));const _=Math.max(JP(x),JP(v));M=Math.pow(10,Ie(d)?_:d),v=Math.round(v*M)/M,L=Math.round(L*M)/M;let A=0;for(b&&(y&&v!==s?(n.push({value:s}),v<s&&A++,o1(Math.round((v+A*x)*M)/M,s,Fq(s,C,t))&&A++):v<s&&A++);A<I;++A){const V=Math.round((v+A*x)*M)/M;if(w&&V>c)break;n.push({value:V})}return w&&y&&L!==c?n.length&&o1(n[n.length-1].value,c,Fq(c,C,t))?n[n.length-1].value=c:n.push({value:c}):(!w||L===c)&&n.push({value:L}),n}function Fq(t,e,{horizontal:n,minRotation:o}){const r=ha(o),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*e*(""+t).length;return Math.min(e/i,s)}class uQ extends sl{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ie(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:o}=this.getUserBounds();let{min:r,max:i}=this;const s=d=>r=n?r:d,c=d=>i=o?i:d;if(e){const d=Xt(r),h=Xt(i);d<0&&h<0?c(0):d>0&&h>0&&s(0)}if(r===i){let d=i===0?1:Math.abs(i*.05);c(i+d),e||s(r-d)}this.min=r,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:o}=e,r;return o?(r=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let o=this.getTickLimit();o=Math.max(2,o);const r={maxTicks:o,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=hQ(r,i);return e.bounds==="ticks"&&fK(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let n=this.min,o=this.max;if(super.configure(),this.options.offset&&e.length){const r=(o-n)/Math.max(e.length-1,1)/2;n-=r,o+=r}this._startValue=n,this._endValue=o,this._valueRange=o-n}getLabelForValue(e){return nB(e,this.chart.options.locale,this.options.ticks.format)}}class PB extends uQ{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=We(e)?e:0,this.max=We(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,o=ha(this.options.ticks.minRotation),r=(e?Math.sin(o):Math.cos(o))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}se(PB,"id","linear"),se(PB,"defaults",{ticks:{callback:cD.formatters.numeric}});const lI={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},rt=Object.keys(lI);function $q(t,e){return t-e}function jq(t,e){if(Ie(e))return null;const n=t._adapter,{parser:o,round:r,isoWeekday:i}=t._parseOpts;let s=e;return typeof o=="function"&&(s=o(s)),We(s)||(s=typeof o=="string"?n.parse(s,o):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(r1(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function Rq(t,e,n,o){const r=rt.length;for(let i=rt.indexOf(t);i<r-1;++i){const s=lI[rt[i]],c=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-e)/(c*s.size))<=o)return rt[i]}return rt[r-1]}function pQ(t,e,n,o,r){for(let i=rt.length-1;i>=rt.indexOf(n);i--){const s=rt[i];if(lI[s].common&&t._adapter.diff(r,o,s)>=e-1)return s}return rt[n?rt.indexOf(n):0]}function yQ(t){for(let e=rt.indexOf(t)+1,n=rt.length;e<n;++e)if(lI[rt[e]].common)return rt[e]}function Nq(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:o,hi:r}=Q_(n,e),i=n[o]>=e?n[o]:n[r];t[i]=!0}}function fQ(t,e,n,o){const r=t._adapter,i=+r.startOf(e[0].value,o),s=e[e.length-1].value;let c,d;for(c=i;c<=s;c=+r.add(c,1,o))d=n[c],d>=0&&(e[d].major=!0);return e}function Uq(t,e,n){const o=[],r={},i=e.length;let s,c;for(s=0;s<i;++s)c=e[s],r[c]=s,o.push({value:c,major:!1});return i===0||!n?o:fQ(t,o,r,n)}class cI extends sl{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const o=e.time||(e.time={}),r=this._adapter=new ZX._date(e.adapters.date);r.init(n),a1(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:jq(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,o=e.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:c}=this.getUserBounds();function d(h){!s&&!isNaN(h.min)&&(r=Math.min(r,h.min)),!c&&!isNaN(h.max)&&(i=Math.max(i,h.max))}(!s||!c)&&(d(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&d(this.getMinMax(!1))),r=We(r)&&!isNaN(r)?r:+n.startOf(Date.now(),o),i=We(i)&&!isNaN(i)?i:+n.endOf(Date.now(),o)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],o=e[e.length-1]),{min:n,max:o}}buildTicks(){const e=this.options,n=e.time,o=e.ticks,r=o.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,c=MK(r,i,s);return this._unit=n.unit||(o.autoSkip?Rq(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):pQ(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:yQ(this._unit),this.initOffsets(r),e.reverse&&c.reverse(),Uq(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,o=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),e.length===1?n=1-r:n=(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?o=i:o=(i-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;n=Ge(n,0,s),o=Ge(o,0,s),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const e=this._adapter,n=this.min,o=this.max,r=this.options,i=r.time,s=i.unit||Rq(i.minUnit,n,o,this._getLabelCapacity(n)),c=be(r.ticks.stepSize,1),d=s==="week"?i.isoWeekday:!1,h=r1(d)||d===!0,u={};let p=n,y,f;if(h&&(p=+e.startOf(p,"isoWeek",d)),p=+e.startOf(p,h?"day":s),e.diff(o,n,s)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+s);const m=r.ticks.source==="data"&&this.getDataTimestamps();for(y=p,f=0;y<o;y=+e.add(y,c,s),f++)Nq(u,y,m);return(y===o||r.bounds==="ticks"||f===1)&&Nq(u,y,m),Object.keys(u).sort($q).map(k=>+k)}getLabelForValue(e){const n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(e,o.tooltipFormat):n.format(e,o.displayFormats.datetime)}format(e,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(e,s)}_tickFormatFunction(e,n,o,r){const i=this.options,s=i.ticks.callback;if(s)return Pe(s,[e,n,o],this);const c=i.time.displayFormats,d=this._unit,h=this._majorUnit,u=d&&c[d],p=h&&c[h],y=o[n],f=h&&p&&y&&y.major;return this._adapter.format(e,r||(f?p:u))}generateTickLabels(e){let n,o,r;for(n=0,o=e.length;n<o;++n)r=e[n],r.label=this._tickFormatFunction(r.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,o=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+o)*n.factor)}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+o*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,o=this.ctx.measureText(e).width,r=ha(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:o*i+c*s,h:o*s+c*i}}_getLabelCapacity(e){const n=this.options.time,o=n.displayFormats,r=o[n.unit]||o.millisecond,i=this._tickFormatFunction(e,0,Uq(this,[e],this._majorUnit),r),s=this._getLabelSize(i),c=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return c>0?c:1}getDataTimestamps(){let e=this._cache.data||[],n,o;if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,o=r.length;n<o;++n)e=e.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,o;if(e.length)return e;const r=this.getLabels();for(n=0,o=r.length;n<o;++n)e.push(jq(this,r[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return aD(e.sort($q))}}se(cI,"id","time"),se(cI,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function dI(t,e,n){let o=0,r=t.length-1,i,s,c,d;n?(e>=t[o].pos&&e<=t[r].pos&&({lo:o,hi:r}=ps(t,"pos",e)),{pos:i,time:c}=t[o],{pos:s,time:d}=t[r]):(e>=t[o].time&&e<=t[r].time&&({lo:o,hi:r}=ps(t,"time",e)),{time:i,pos:c}=t[o],{time:s,pos:d}=t[r]);const h=s-i;return h?c+(d-c)*(e-i)/h:c}class Wq extends cI{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=dI(n,this.min),this._tableRange=dI(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:o}=this,r=[],i=[];let s,c,d,h,u;for(s=0,c=e.length;s<c;++s)h=e[s],h>=n&&h<=o&&r.push(h);if(r.length<2)return[{time:n,pos:0},{time:o,pos:1}];for(s=0,c=r.length;s<c;++s)u=r[s+1],d=r[s-1],h=r[s],Math.round((u+d)/2)!==h&&i.push({time:h,pos:s/(c-1)});return i}_generate(){const e=this.min,n=this.max;let o=super.getDataTimestamps();return(!o.includes(e)||!o.length)&&o.splice(0,0,e),(!o.includes(n)||o.length===1)&&o.push(n),o.sort((r,i)=>r-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),o=this.getLabelTimestamps();return n.length&&o.length?e=this.normalize(n.concat(o)):e=n.length?n:o,e=this._cache.all=e,e}getDecimalForValue(e){return(dI(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return dI(this._table,o*this._tableRange+this._minPos,!0)}}se(Wq,"id","timeseries"),se(Wq,"defaults",cI.defaults);const mQ={key:0,class:"mb-2 text-sm font-medium text-gray-700"},kQ={key:0,class:"text-red-500 ml-1"},gQ={key:0,class:"absolute inset-0 flex items-center justify-center bg-white"},bQ={key:1,class:"absolute inset-0 flex items-center justify-center bg-red-50 border border-red-200 rounded"},MQ={class:"text-red-600 text-sm"},xQ={key:1,class:"mt-2 text-xs text-gray-500"},wQ={key:0},Gq=Wl(a.defineComponent({name:"DCodeChart",__name:"DCodeChart",props:{type:{default:"line"},width:{default:400},height:{default:300},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},error:{default:null},showInfo:{type:Boolean,default:!1},responsive:{type:Boolean,default:!0},maintainAspectRatio:{type:Boolean,default:!1},theme:{default:"light"},colors:{default:()=>["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#EC4899","#14B8A6","#F97316","#6366F1","#84CC16"]},data:{},modelValue:{},options:{},onClick:{},onHover:{},label:{}},emits:["update:modelValue","click","hover","ready"],setup(t,{expose:e,emit:n}){fa.register(VB,PB,oI,Ua,rI,g1,QJ,sQ,ZJ,UJ,YS,GS,kB,il);const o=t,r=n,i=a.ref(null),s=a.ref(null),c=a.computed(()=>({"opacity-50 pointer-events-none":o.loading||o.error})),d=()=>{const p=o.theme==="dark";return{responsive:o.responsive,maintainAspectRatio:o.maintainAspectRatio,animation:{duration:1e3,easing:"easeInOutQuart",delay:y=>{let f=0;return y.type==="data"&&y.mode==="default"&&(f=y.dataIndex*100+y.datasetIndex*50),f},onComplete:()=>{}},plugins:{legend:{position:"top",labels:{color:p?"#E5E7EB":"#374151",font:{size:12}}},tooltip:{backgroundColor:p?"#1F2937":"#FFFFFF",titleColor:p?"#F3F4F6":"#111827",bodyColor:p?"#D1D5DB":"#4B5563",borderColor:p?"#374151":"#E5E7EB",borderWidth:1,animation:{duration:200,easing:"easeInOutQuad"}}},scales:o.type!=="pie"&&o.type!=="doughnut"&&o.type!=="polarArea"?{x:{grid:{color:p?"#374151":"#E5E7EB"},ticks:{color:p?"#D1D5DB":"#6B7280"}},y:{grid:{color:p?"#374151":"#E5E7EB"},ticks:{color:p?"#D1D5DB":"#6B7280"}}}:void 0}},h=p=>!p||!p.datasets?p:{...p,datasets:p.datasets.map((y,f)=>({...y,borderColor:y.borderColor||o.colors[f%o.colors.length],backgroundColor:y.backgroundColor||o.colors[f%o.colors.length]+"20",pointBackgroundColor:y.pointBackgroundColor||o.colors[f%o.colors.length],pointBorderColor:y.pointBorderColor||o.colors[f%o.colors.length],hoverBackgroundColor:y.hoverBackgroundColor||o.colors[f%o.colors.length]+"40",hoverBorderColor:y.hoverBorderColor||o.colors[f%o.colors.length]}))},u=async()=>{if(!i.value)return;await a.nextTick(),s.value&&s.value.destroy();const p=h(o.data||o.modelValue);if(!p)return;const y={...d(),...o.options};s.value=new fa(i.value,{type:o.type,data:p,options:y,onClick:(f,m)=>{r("click",f,m),o.onClick&&o.onClick(f,m)},onHover:(f,m)=>{r("hover",f,m),o.onHover&&o.onHover(f,m)}}),r("ready",s.value)};return a.watch(()=>[o.data,o.modelValue,o.type,o.options,o.theme],()=>{u()},{deep:!0}),a.watch(()=>[o.width,o.height],()=>{s.value&&s.value.resize()}),a.onMounted(()=>{u()}),a.onUnmounted(()=>{s.value&&s.value.destroy()}),e({chart:s,updateChart:u}),(p,y)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-code-chart",c.value])},[t.label?(a.openBlock(),a.createElementBlock("div",mQ,[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",kQ,"*")):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"relative",style:a.normalizeStyle({height:t.height+"px"})},[a.createElementVNode("canvas",{ref_key:"chartCanvas",ref:i},null,512),t.loading?(a.openBlock(),a.createElementBlock("div",gQ,[...y[0]||(y[0]=[a.createElementVNode("div",{class:"animate-pulse-slow rounded-full h-8 w-8 border-b-2 border-blue-600"},null,-1)])])):a.createCommentVNode("",!0),t.error?(a.openBlock(),a.createElementBlock("div",bQ,[a.createElementVNode("div",MQ,a.toDisplayString(t.error),1)])):a.createCommentVNode("",!0)],4),t.showInfo&&p.chartData?(a.openBlock(),a.createElementBlock("div",xQ,[p.chartData.datasets?(a.openBlock(),a.createElementBlock("div",wQ,a.toDisplayString(p.chartData.datasets.length)+" dataset(s) • "+a.toDisplayString(p.chartData.labels?p.chartData.labels.length:0)+" data points ",1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-5b6eaeb4"]]),vQ=["aria-busy"],CQ={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},LQ={key:1,class:"flex justify-end"},SQ=["for"],IQ={key:0,class:"ml-1 text-destructive"},_Q={class:"relative w-full group"},BQ={class:"flex items-center self-stretch px-3 bg-gray-50 dark:bg-neutral-800 border-r border-gray-300 dark:border-gray-700"},AQ={class:"text-sm font-semibold text-gray-500 dark:text-gray-400 whitespace-nowrap select-none"},VQ=["id","disabled","readonly","placeholder","maxlength"],PQ={key:0,class:"absolute top-full right-0 z-10 text-[11px] text-gray-400 dark:text-gray-500 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100 mt-0.5"},DQ={key:1,class:"flex items-center gap-1 text-xs text-destructive"},Yq=a.defineComponent({name:"DCodeCurrencyField",inheritAttrs:!1,__name:"DCodeCurrencyField",props:{modelValue:{},currency:{default:"IDR"},locale:{},label:{},placeholder:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},prependInner:{},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`app-currency-field-${n.id||r.label||"currency-field"}-${i}`),c=a.computed(()=>{const A=n.required,V=n["aria-required"];return A===""||A===!0||A==="true"||(V==="true"||V===!0)}),d=a.computed(()=>{const A=n.maxlength??n.maxLength;let V=Number.NaN;return typeof A=="number"?V=A:typeof A=="string"&&(V=Number.parseInt(A,10)),Number.isFinite(V)&&V>0?V:void 0}),h=a.computed(()=>r.locale?r.locale:"en-US"),u=a.computed(()=>r.prependInner?r.prependInner:r.currency==="USD"?"$":r.currency==="IDR"?"Rp":r.currency),p=a.computed(()=>new Intl.NumberFormat(h.value,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})),y=A=>{const V=A.replaceAll(/\D/g,"");return V?Number(V):null},f=A=>p.value.format(A),m=a.ref(""),k=a.ref(null);a.watch(()=>r.modelValue,A=>{A==null?m.value="":y(m.value)!==A&&(m.value=f(A))},{immediate:!0});const g=(A,V)=>{let q=0;for(let O=0;O<V;O++)/\d/.test(A[O])&&q++;return q},b=(A,V)=>{let q=0;for(let O=0;O<A.length;O++)if(/\d/.test(A[O])&&(q++,q===V))return O+1;return A.length},w=A=>{const V=A.target,q=V.value,O=V.selectionStart??q.length,N=y(q);if(N===null){m.value="",o("update:modelValue",null);return}const T=f(N);if(q!==T){const H=g(q,O);m.value=T,a.nextTick(()=>{if(k.value){const j=b(T,H);k.value.setSelectionRange(j,j)}})}o("update:modelValue",N)},S=()=>{m.value="",o("update:modelValue",null),o("clear")},C=a.computed(()=>!r.clearable||r.disabled||r.readonly?!1:r.hideClearWhenEmpty?m.value.length>0:!0),x=a.computed(()=>!!r.error),M=a.computed(()=>{const{class:A,maxlength:V,maxLength:q,...O}=n;return O}),v=a.computed(()=>m.value.length),L=a.computed(()=>r.showCharCount?(d.value??0)>0:!1),I=a.computed(()=>L.value&&v.value>0),_=a.computed(()=>`${v.value} / ${d.value}`);return(A,V)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1.5 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.label?(a.openBlock(),a.createElementBlock("div",CQ)):a.createCommentVNode("",!0),V[2]||(V[2]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),L.value?(a.openBlock(),a.createElementBlock("div",LQ,[...V[1]||(V[1]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[t.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:s.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300"},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",IQ,"*")):a.createCommentVNode("",!0)],8,SQ)):a.createCommentVNode("",!0),a.createElementVNode("div",_Q,[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full rounded-lg border overflow-hidden transition-all duration-200","bg-white dark:bg-neutral-900",x.value?"border-destructive ring-1 ring-destructive":"border-gray-300 dark:border-gray-700 focus-within:border-blue-500 focus-within:ring-1 focus-within:ring-blue-500 dark:focus-within:border-blue-400",r.disabled?"opacity-50 cursor-not-allowed bg-gray-50 dark:bg-neutral-800":""])},[a.createElementVNode("div",BQ,[a.createElementVNode("span",AQ,a.toDisplayString(u.value),1)]),a.withDirectives(a.createElementVNode("input",a.mergeProps({id:s.value,ref_key:"inputRef",ref:k,"onUpdate:modelValue":V[0]||(V[0]=q=>m.value=q),onInput:w,type:"text",inputmode:"numeric"},M.value,{disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,maxlength:d.value,class:["flex-1 h-10 px-3 py-2 text-sm bg-transparent text-foreground dark:text-gray-300 outline-none placeholder:text-gray-400",C.value?"pr-8":""]}),null,16,VQ),[[a.vModelText,m.value]]),C.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center w-8 h-10 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors flex-shrink-0","aria-label":"Clear input",onClick:S},[a.createVNode(a.unref(Mt),{class:"w-3.5 h-3.5"})])):a.createCommentVNode("",!0)],2),I.value&&!x.value?(a.openBlock(),a.createElementBlock("p",PQ,a.toDisplayString(_.value),1)):a.createCommentVNode("",!0)]),x.value?(a.openBlock(),a.createElementBlock("p",DQ,[a.createVNode(a.unref(At),{class:"w-3.5 h-3.5 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(r.error),1)])):a.createCommentVNode("",!0)],64))],10,vQ))}}),Kq=a.defineComponent({__name:"DCodeDialogCloseBtn",props:{icon:{default:"X"},iconSize:{default:22}},setup(t){const e=t,n=a.computed(()=>La[e.icon]??Mt);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(Se),{type:"button",variant:"secondary",size:"icon",class:"rounded-full shadow-sm"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.value),{size:Number(t.iconSize)},null,8,["size"]))]),_:1}))}}),qQ={key:0,class:"text-xs text-muted-foreground"},zQ=["src"],EQ={key:1,class:"h-full w-full flex flex-col items-center justify-center text-muted-foreground gap-2 p-4 text-center"},TQ={class:"space-y-0.5"},OQ={class:"text-sm font-medium truncate max-w-[180px]"},HQ={class:"text-xs opacity-70"},FQ={class:"absolute top-2 inset-x-2 flex items-center justify-between"},$Q={key:1},jQ={class:"absolute left-2 bottom-2 z-10 inline-block max-w-[calc(100%-16px)] rounded-xl border px-3 py-2 shadow-lg backdrop-blur opacity-0 translate-y-1 scale-[0.99] transition-all duration-200 group-hover:opacity-100 group-hover:translate-y-0 group-hover:scale-100 border-border/60 dark:border-border/50 bg-background/80 dark:bg-background/30"},RQ={class:"text-[11px] text-foreground/90 space-y-1 whitespace-nowrap"},NQ={class:"flex gap-2"},UQ={class:"font-medium truncate"},WQ={class:"flex gap-2"},GQ={class:"font-medium"},YQ={class:"flex gap-2"},KQ={class:"font-medium truncate"},DB=a.defineComponent({__name:"DCodeFileResult",props:{file:{},title:{default:"File Terpilih"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},forceFileIcon:{type:Boolean,default:!1}},emits:["edit","replace","remove"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(null),i=a.computed(()=>n.forceFileIcon||!n.file?!1:(n.file.type||"").startsWith("image/"));a.watch(()=>n.file,d=>{r.value&&URL.revokeObjectURL(r.value),r.value=d?URL.createObjectURL(d):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value)});function s(d){const h=d/1024,u=h/1024;return u>=1?`${u.toFixed(2)} MB`:h>=1?`${h.toFixed(1)} KB`:`${d} B`}const c=a.computed(()=>n.file?{name:n.file.name,size:s(n.file.size),type:n.file.type||"unknown"}:null);return(d,h)=>t.file?(a.openBlock(),a.createBlock(Qs,{key:0,class:a.normalizeClass(t.disabled?"opacity-60 pointer-events-none":"")},{default:a.withCtx(()=>[a.createVNode(Xl,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(BS,{class:"text-sm font-semibold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),t.description?(a.openBlock(),a.createElementBlock("div",qQ,a.toDisplayString(t.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(el,{class:"pt-2"},{default:a.withCtx(()=>{var u,p,y,f,m;return[a.createElementVNode("div",{class:"group relative rounded-xl overflow-hidden bg-muted border-2 border-dashed border-border w-full transition-colors duration-200 hover:border-primary/50 hover:bg-primary/5",style:a.normalizeStyle({height:`${t.previewHeight}px`})},[i.value&&r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,zQ)):(a.openBlock(),a.createElementBlock("div",EQ,[a.createVNode(a.unref(Cs),{class:"w-10 h-10"}),a.createElementVNode("div",TQ,[a.createElementVNode("p",OQ,a.toDisplayString((u=c.value)==null?void 0:u.name),1),a.createElementVNode("p",HQ,a.toDisplayString((p=c.value)==null?void 0:p.size),1)])])),a.createElementVNode("div",FQ,[t.showEdit&&i.value?(a.openBlock(),a.createBlock(Wt,{key:0,icon:"Pencil",size:"icon",variant:"secondary",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:h[0]||(h[0]=k=>o("edit"))},null,8,["disabled"])):(a.openBlock(),a.createElementBlock("div",$Q)),t.showRemove?(a.openBlock(),a.createBlock(Wt,{key:2,icon:"Trash2",size:"icon",variant:"destructive",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:h[1]||(h[1]=k=>o("remove"))},null,8,["disabled"])):a.createCommentVNode("",!0)]),a.createElementVNode("div",jQ,[a.createElementVNode("div",RQ,[a.createElementVNode("div",NQ,[h[2]||(h[2]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Nama",-1)),a.createElementVNode("span",UQ,a.toDisplayString((y=c.value)==null?void 0:y.name),1)]),a.createElementVNode("div",WQ,[h[3]||(h[3]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Ukuran",-1)),a.createElementVNode("span",GQ,a.toDisplayString((f=c.value)==null?void 0:f.size),1)]),a.createElementVNode("div",YQ,[h[4]||(h[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Tipe",-1)),a.createElementVNode("span",KQ,a.toDisplayString((m=c.value)==null?void 0:m.type),1)])])])],4)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}}),XQ={class:"space-y-3"},ZQ={key:1,class:"flex items-center justify-center p-6 border rounded-lg bg-muted/30"},JQ={name:"DCodeFileField"},Xq=a.defineComponent({...JQ,props:{modelValue:{default:null},label:{default:"Upload File"},hint:{},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:void 0},allowedTypes:{default:null},accept:{default:void 0},minSizeMb:{default:null},maxSizeMb:{default:5},endpoint:{},uploadFn:{}},emits:["update:modelValue","error","uploaded"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:M=>o("update:modelValue",M)}),i=a.ref(null),s=a.ref(null);function c(M){s.value=M,o("error",M)}function d(){s.value=null}const h=a.computed(()=>{const M=(n.allowedTypes??"").trim();return M?M.split(/[,\s;]+/g).map(L=>L.trim().toLowerCase()).filter(Boolean).map(L=>L.includes("/")||L.startsWith(".")?L:`.${L}`):[]});function u(M){const v=M.lastIndexOf(".");return v>=0?M.slice(v).toLowerCase():""}const p=a.computed(()=>{if(h.value.length){const M=h.value.filter(L=>L.startsWith("."));return[...h.value.filter(L=>L.includes("/")),...M].join(",")}return n.accept}),y=a.computed(()=>h.value.length?h.value.join(", "):n.accept||"Semua File");function f(M){if(h.value.length){const v=(M.type||"").toLowerCase(),L=u(M.name);return h.value.some(I=>I.includes("/")?v===I:I.startsWith(".")?L===I:L===`.${I}`)}if(n.accept){if(n.accept==="*/*")return!0;const v=n.accept.split(",").map(_=>_.trim().toLowerCase()),L=(M.type||"").toLowerCase(),I=u(M.name);return v.some(_=>{if(_.endsWith("/*")){const A=_.slice(0,-2);return L.startsWith(A)}return _.startsWith(".")?I===_:L===_})}return!0}function m(M){return M*1024*1024}async function k(M){return M?f(M)?n.minSizeMb!=null&&M.size<m(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&M.size>m(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null:`File Type not allowed. Allowed: ${y.value}`:"File tidak valid"}const{DCodeApi:g}=nt(),b=F_(),w=a.ref(!1);async function S(M){var v;if(n.uploadFn){try{w.value=!0;const L=await n.uploadFn(M);r.value=M,o("uploaded",L)}catch(L){console.error("Upload Error",L),b.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{w.value=!1}return}if(!((v=n.endpoint)!=null&&v.apiUrl)){r.value=M;return}if(typeof g!="function"){c("useApi() must expose DCodeApi()");return}try{w.value=!0;const L=new FormData;L.append("doc",M);const I=(n.endpoint.apiMethod||"POST").toUpperCase(),_=n.endpoint.apiUrl,A=await g("","",L,{_url:_,_method:I,withCredentials:!0,transformRequest:[(q,O)=>(O&&(delete O["Content-Type"],delete O["content-type"]),q)]}),V=(A==null?void 0:A.data)??A;r.value=M,o("uploaded",V)}catch(L){console.error("Upload Error",L),b.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{w.value=!1}}async function C(M){var L;if(n.disabled)return;d();const v=await k(M);if(v){c(v);return}i.value=M,n.uploadFn||(L=n.endpoint)!=null&&L.apiUrl?await S(M):r.value=M}function x(){d(),r.value=null,i.value=null}return a.watch(()=>n.modelValue,M=>{M&&!i.value&&(i.value=M),M||(i.value=null)},{immediate:!0}),(M,v)=>(a.openBlock(),a.createElementBlock("div",XQ,[r.value?w.value?(a.openBlock(),a.createElementBlock("div",ZQ,[...v[1]||(v[1]=[a.createElementVNode("span",{class:"text-sm text-muted-foreground animate-pulse"},"Uploading...",-1)])])):(a.openBlock(),a.createBlock(DB,{key:2,file:r.value,title:t.label,description:t.hint,disabled:t.disabled,"show-edit":!1,"show-replace":!1,"show-remove":!0,"force-file-icon":!0,"preview-height":t.previewHeight,"preview-width":t.previewWidth,onRemove:x},null,8,["file","title","description","disabled","preview-height","preview-width"])):(a.openBlock(),a.createBlock(AS,{key:0,label:t.label,hint:t.hint,accept:p.value,maxSizeMb:t.maxSizeMb,disabled:t.disabled||w.value,onPicked:C,error:s.value,onError:v[0]||(v[0]=L=>c(L))},null,8,["label","hint","accept","maxSizeMb","disabled","error"]))]))}}),QQ=["for"],eee={key:0,class:"ml-1 text-destructive"},tee={class:"relative w-full"},aee={key:0,class:"absolute inset-y-0 left-3 flex items-center text-muted-foreground"},nee=["id","readonly","disabled","placeholder"],oee={key:1,class:"absolute inset-y-0 right-3 flex items-center"},ree={key:2,class:"absolute z-50 mt-1 w-full rounded-xl border bg-white dark:bg-neutral-900 shadow-lg"},iee={key:0,class:"flex items-center justify-center py-10 text-muted-foreground gap-2"},see={key:1,class:"text-sm text-muted-foreground text-center"},lee=["onClick","title"],cee={class:"flex flex-col items-center justify-between gap-2 py-1 min-h-[72px]"},dee={class:"flex items-center justify-center flex-1"},hee={class:"text-[10px] leading-tight text-muted-foreground truncate w-full text-center block flex-shrink-0"},uee={key:3,class:"pt-2 text-[11px] text-muted-foreground text-center"},Zq=a.defineComponent({name:"DCodeIconDropdown",__name:"DCodeIconDropdown",props:{modelValue:{},label:{},placeholder:{default:"Pilih icon…"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},columns:{default:4},maxHeight:{default:"335px"},iconSize:{default:20},pageSize:{default:120}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=t,o=e,r=La,i=a.ref(null),s=a.ref(null),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`dcode-icon-dropdown-${n.label||"icon-dropdown"}-${c}`),h=a.ref(!1),u=a.computed(()=>(n.modelValue??"").trim()||""),p=a.ref(""),y=a.ref(!1),f=a.ref(!1),m=a.ref(!1),k=a.shallowRef([]),g=a.ref(n.pageSize),b=new Set(["default","createLucideIcon","LucideIcon","Icon","icons","toKebabCase","camelCase","children","IconNode"]),w=async()=>{if(f.value||m.value)return;m.value=!0,await new Promise(D=>setTimeout(D,0));const P=Object.keys(r).filter(D=>!b.has(D)).filter(D=>/^[A-Z]/.test(D)).filter(D=>typeof r[D]=="function"||typeof r[D]=="object"&&r[D]).sort((D,G)=>D.localeCompare(G));k.value=P,f.value=!0,m.value=!1},S=a.computed(()=>!f.value||!u.value||!k.value.includes(u.value)?null:r[u.value]),C=a.ref(u.value),x=a.computed(()=>!!u.value&&!h.value),M=a.computed(()=>{if(!f.value)return[];const P=(p.value??"").trim().toLowerCase();return P?k.value.filter(D=>D.toLowerCase().includes(P)):k.value}),v=a.computed(()=>M.value.slice(0,g.value)),L=a.computed(()=>{const P=n.columns;return P<=2?"grid-cols-2":P===3?"grid-cols-3":P===4?"grid-cols-4":P===5?"grid-cols-5":P>=8?"grid-cols-8":"grid-cols-6"});a.computed(()=>n.clearable?"!pr-10":"!pr-3"),a.computed(()=>S.value&&!h.value?"!pl-12":"!pl-3");const I=async()=>{var P;await a.nextTick(),(P=s.value)==null||P.focus()},_=async P=>{if(n.disabled)return;const D=P!==!1;if(y.value){y.value=!1;return}h.value=!0,await w(),D&&(p.value="",C.value=""),g.value=n.pageSize,await I()},A=()=>{h.value=!1,p.value="",C.value=u.value,g.value=n.pageSize},V=async()=>{n.disabled||(h.value?A():await _())};let q=null;const O=async P=>{if(n.disabled)return;o("update:modelValue",null),h.value||await _(!1),q&&clearTimeout(q);const D=C.value;q=setTimeout(()=>{p.value=D},300)},N=P=>{n.disabled||(o("update:modelValue",P),A(),queueMicrotask(()=>{var D;return(D=s.value)==null?void 0:D.blur()}))},T=()=>{n.disabled||(o("update:modelValue",null),o("clear"),y.value=!0,A(),queueMicrotask(()=>{var P;return(P=s.value)==null?void 0:P.focus()}))},H=P=>{if(P.key==="Escape"){P.preventDefault(),A();return}if(P.key==="Enter"&&h.value){const D=M.value[0];D&&(P.preventDefault(),N(D))}},j=P=>{if(!h.value)return;const D=P.target;i.value&&!i.value.contains(D)&&A()},Z=P=>{const D=P.target;D.scrollTop+D.clientHeight>=D.scrollHeight-24&&g.value<M.value.length&&(g.value=Math.min(g.value+n.pageSize,M.value.length))};return a.onMounted(()=>{document.addEventListener("mousedown",j),queueMicrotask(()=>{var P;s.value=((P=i.value)==null?void 0:P.querySelector("input"))??null}),u.value&&w()}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",j),q&&clearTimeout(q)}),a.watch(u,P=>{h.value||(C.value=P)}),a.watch(()=>p.value,()=>{g.value=n.pageSize}),(P,D)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:i,class:"w-full"},[n.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:d.value,class:"text-sm font-medium mb-1 block"},[a.createTextVNode(a.toDisplayString(n.label)+" ",1),n.required?(a.openBlock(),a.createElementBlock("span",eee,"*")):a.createCommentVNode("",!0)],8,QQ)):a.createCommentVNode("",!0),a.createElementVNode("div",tee,[S.value&&!h.value?(a.openBlock(),a.createElementBlock("div",aee,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.value),{size:18}))])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("input",{id:d.value,"onUpdate:modelValue":D[0]||(D[0]=G=>C.value=G),readonly:x.value,disabled:n.disabled,placeholder:n.placeholder,class:a.normalizeClass(["w-full h-10 rounded-lg border bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700",[S.value&&!h.value?"pl-12":"pl-5",x.value?"cursor-pointer select-none":""]]),onClick:_,onFocus:_,onInput:O,onKeydown:H},null,42,nee),[[a.vModelText,C.value]]),n.clearable?(a.openBlock(),a.createElementBlock("div",oee,[u.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"p-0 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition",onMousedown:D[1]||(D[1]=a.withModifiers(()=>{},["prevent"])),onClick:T,title:"Clear"},[a.createVNode(a.unref(Mt),{class:"h-4 w-4"})],32)):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",class:"p-0 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition-transform",onMousedown:D[2]||(D[2]=a.withModifiers(()=>{},["prevent"])),onClick:V,title:"Open"},[a.createVNode(a.unref(Bt),{class:"h-4 w-4"})],32))])):a.createCommentVNode("",!0),h.value?(a.openBlock(),a.createElementBlock("div",ree,[a.createElementVNode("div",{class:"p-2 overflow-auto",style:a.normalizeStyle({maxHeight:n.maxHeight}),onScroll:Z},[m.value?(a.openBlock(),a.createElementBlock("div",iee,[a.createVNode(a.unref(bt),{class:"h-4 w-4 animate-spin"}),D[3]||(D[3]=a.createElementVNode("span",{class:"text-sm"},"Loading icons…",-1))])):f.value&&M.value.length===0?(a.openBlock(),a.createElementBlock("div",see," Icon tidak ditemukan ")):(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["grid gap-2",L.value])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(v.value,G=>(a.openBlock(),a.createElementBlock("button",{key:G,type:"button",class:a.normalizeClass(["group rounded-lg border p-2 hover:bg-muted/40 transition",u.value===G?"ring-1 ring-primary":""]),onClick:ne=>N(G),title:G},[a.createElementVNode("div",cee,[a.createElementVNode("div",dee,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r)[G]),{size:n.iconSize,class:"shrink-0"},null,8,["size"]))]),a.createElementVNode("span",hee,a.toDisplayString(G),1)])],10,lee))),128))],2)),f.value&&M.value.length>0?(a.openBlock(),a.createElementBlock("div",uee," Showing "+a.toDisplayString(v.value.length)+" / "+a.toDisplayString(M.value.length),1)):a.createCommentVNode("",!0)],36)])):a.createCommentVNode("",!0)])],512))}}),qB=a.defineComponent({name:"DCodeLabel",inheritAttrs:!1,__name:"DCodeLabel",props:{label:{},text:{},textSize:{},textType:{},icon:{},iconClass:{}},setup(t){const e=a.useAttrs(),n=t,o=a.computed(()=>n.icon&&La[n.icon]||null),r=a.computed(()=>n.textSize?`text-${n.textSize}`:"text-xs"),i={xs:"w-3 h-3",sm:"w-3.5 h-3.5",base:"w-4 h-4",lg:"w-5 h-5",xl:"w-5 h-5","2xl":"w-6 h-6","3xl":"w-7 h-7","4xl":"w-8 h-8","5xl":"w-10 h-10","6xl":"w-12 h-12"},s=a.computed(()=>i[n.textSize??"xs"]??"w-3 h-3"),c=a.computed(()=>n.textType==="BOLD"?"font-bold":n.textType==="ITALIC"?"italic font-normal":"font-normal"),d=a.computed(()=>{const u=`${r.value} ${c.value} text-slate-600 ml-1 inline-flex items-center gap-1`,p=e.class??"";return[u,p].filter(Boolean).join(" ")}),h=a.computed(()=>{const{class:u,...p}=e;return p});return(u,p)=>(a.openBlock(),a.createElementBlock("span",a.mergeProps({class:d.value},h.value),[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:a.normalizeClass(["shrink-0",s.value,t.iconClass])},null,8,["class"])):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(t.label||t.text),1)],16))}}),pee=["aria-busy"],yee={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},fee={key:0,class:"ml-1 text-destructive"},mee={class:"min-w-0 flex-1 text-left"},kee={key:0,class:"flex flex-wrap gap-1.5"},gee={class:"max-w-[220px] truncate"},bee=["onClick"],Mee={key:1,class:"text-muted-foreground truncate"},xee={class:"flex items-center gap-2 shrink-0"},wee={key:0,class:"p-2 border-b border-gray-200 dark:border-gray-800"},vee={key:0,class:"h-full flex items-center justify-center px-3 text-sm text-muted-foreground"},Cee=["disabled","onClick"],Lee={class:"truncate"},See={key:0,class:"text-primary-600 dark:text-primary-400"},Iee={key:1,class:"h-full flex items-center justify-center text-sm text-muted-foreground"},_ee={key:0},Bee={key:1},Aee={key:1,class:"text-xs text-destructive"},Vee={name:"DCodeMultiSelect"},Jq=a.defineComponent({...Vee,name:"DCodeMultiSelect",inheritAttrs:!1,props:{modelValue:{},items:{default:()=>[]},endpoint:{default:void 0},fetchItems:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},refreshOnOpen:{type:Boolean,default:!1},label:{default:""},placeholder:{default:"Pilih data…"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Cari…"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},maxChips:{default:2},maxSelected:{default:3},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},virtual:{type:Boolean,default:!0},itemHeight:{default:40},maxRows:{default:5},overscan:{default:6},error:{default:null},required:{type:Boolean,default:!1}},emits:["update:modelValue","clear","max"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.computed(()=>(r.label||n.label)??void 0),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-multiselect-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{if(r.required)return!0;const Y=n.required,Q=n["aria-required"];return Y===""||Y===!0||Y==="true"||(Q==="true"||Q===!0)}),u=a.computed(()=>!!r.error);function p(Y){return Y?typeof r.itemTitle=="function"?r.itemTitle(Y)??"":String((Y==null?void 0:Y[r.itemTitle])??""):""}function y(Y){return Y?typeof r.itemValue=="function"?r.itemValue(Y):Y==null?void 0:Y[r.itemValue]:null}function f(Y,Q){return y(Y)??Q}const m=a.computed(()=>Array.isArray(r.modelValue)?r.modelValue:[]),k=a.computed(()=>{var Y;return!!((Y=r.endpoint)!=null&&Y.apiUrl)||!!r.fetchItems}),g=a.ref([]),b=a.ref(!1),w=a.ref(!1),S=a.computed(()=>{var Q;const Y=(Q=r.endpoint)==null?void 0:Q.apiOptions;if(Y)return typeof Y=="function"?Y():Y}),C=a.computed(()=>{var me,He;const Y=((me=r.endpoint)==null?void 0:me.apiUrl)??"",Q=(((He=r.endpoint)==null?void 0:He.apiMethod)??"GET").toUpperCase(),ae=JSON.stringify(S.value??null);return`${Q} ${Y} :: ${ae}`}),x=a.computed(()=>k.value?g.value:r.items||[]);async function M(){var Y;if(k.value&&!(!((Y=r.endpoint)!=null&&Y.apiUrl)&&!r.fetchItems)&&!b.value){b.value=!0;try{let Q;if(r.fetchItems){const ae=await r.fetchItems(),me=(ae==null?void 0:ae.data)??ae;Q=(me==null?void 0:me.data)??me}else{const{DCodeApi:ae}=nt();if(typeof ae!="function"){console.error("[DCodeMultiSelectChips] useApi() must expose DCodeApi()");return}const me={page:1,perPage:100,...S.value||{}},He=await ae("","",me,{_url:r.endpoint.apiUrl,_method:(r.endpoint.apiMethod||"GET").toUpperCase()}),It=(He==null?void 0:He.data)??He;Q=(It==null?void 0:It.data)??It}g.value=Array.isArray(Q)?Q:[],w.value=!0}catch(Q){console.error("[DCodeMultiSelectChips][fetchOptions] ERROR:",Q),g.value=[]}finally{b.value=!1}}}a.watch(()=>C.value,()=>{g.value=[],w.value=!1}),a.onMounted(()=>{r.autoFetchOnMount&&k.value&&M()});const v=a.computed(()=>{const Y=m.value;if(r.returnObject)return Y;const Q=new Map;for(const ae of x.value)Q.set(y(ae),ae);return Y.map(ae=>Q.get(ae)??{[r.itemValue]:ae,[r.itemTitle]:String(ae)})}),L=a.computed(()=>r.maxChips===null?v.value:v.value.slice(0,r.maxChips));function I(Y){const Q=m.value;if(r.returnObject){const ae=y(Y);return Q.some(me=>y(me)===ae)}return Q.includes(y(Y))}const _=a.computed(()=>{if(r.maxSelected===null||r.maxSelected===void 0)return null;const Y=Number(r.maxSelected);return Number.isFinite(Y)&&Y>0?Y:null}),A=a.computed(()=>{const Y=_.value;return Y===null?!1:m.value.length>=Y});function V(Y){return!I(Y)&&A.value}const q=a.computed(()=>{const Y=m.value,Q=new Set;if(r.returnObject)for(const ae of Y)Q.add(y(ae));else for(const ae of Y)Q.add(ae);return Q}),O=a.computed(()=>{const Y=q.value;return(x.value||[]).filter(Q=>!Y.has(y(Q)))}),N=a.computed(()=>x.value.length===0?!1:O.value.length===0),T=a.ref(null),H=a.ref(null),j=a.ref(null),Z=a.ref(!1),P=a.ref(""),D=a.ref(0),G=a.ref(0),{floatingStyles:ne}=gS(T,H,{whileElementsMounted:yS,placement:"bottom-start",middleware:[fS(8),jl(),mS({padding:8}),kS({apply({rects:Y,elements:Q}){Object.assign(Q.floating.style,{width:`${Y.reference.width}px`,"--floating-width":`${Y.reference.width}px`})}})]}),te=a.computed(()=>ne.value),ce=a.computed(()=>{const Y=Number(r.maxRows);return Number.isFinite(Y)&&Y>0?Y:5});async function pe(){r.disabled||(Z.value=!0,G.value=0,requestAnimationFrame(()=>{j.value&&(j.value.scrollTop=0),D.value=0}),k.value&&r.autoFetchOnOpen&&(r.refreshOnOpen||!w.value)&&!b.value&&await M())}function le(){Z.value=!1}function Le(){Z.value?le():pe()}function ue(Y){var ae,me;if(!Z.value)return;const Q=Y.target;(ae=T.value)!=null&&ae.contains(Q)||(me=H.value)!=null&&me.contains(Q)||le()}a.onMounted(()=>document.addEventListener("mousedown",ue)),a.onBeforeUnmount(()=>document.removeEventListener("mousedown",ue));function U(Y){if(r.disabled)return;if(V(Y)){o("max");return}const Q=[...m.value];if(r.returnObject){const ae=y(Y);if(Q.some(He=>y(He)===ae))return;o("update:modelValue",[...Q,Y])}else{const ae=y(Y);if(Q.includes(ae))return;o("update:modelValue",[...Q,ae])}P.value="",G.value=0,requestAnimationFrame(()=>{j.value&&(j.value.scrollTop=0),D.value=0})}function z(Y){if(r.disabled)return;const Q=[...m.value];if(r.returnObject){const ae=y(Y);o("update:modelValue",Q.filter(me=>y(me)!==ae))}else{const ae=y(Y);o("update:modelValue",Q.filter(me=>me!==ae))}}function W(){r.disabled||(o("update:modelValue",[]),o("clear"),le())}const ee=a.computed(()=>{const Y=P.value.trim().toLowerCase(),Q=O.value;return Y?Q.filter(ae=>p(ae).toLowerCase().includes(Y)):Q}),fe=a.computed(()=>ee.value.length);a.watch(Z,Y=>{Y||(P.value="")});const Te=a.computed(()=>{if(N.value)return r.itemHeight;const Y=fe.value;return(Y<=0?1:Math.min(Y,ce.value))*r.itemHeight}),xe=a.computed(()=>r.virtual?fe.value*r.itemHeight:0),Qe=a.computed(()=>r.virtual?Math.ceil(Te.value/r.itemHeight)+r.overscan:fe.value),it=a.computed(()=>{if(!r.virtual)return 0;const Y=Math.floor(D.value/r.itemHeight)-Math.floor(r.overscan/2);return Math.max(0,Y)}),St=a.computed(()=>r.virtual?Math.min(fe.value,it.value+Qe.value):fe.value),M1=a.computed(()=>r.virtual?it.value*r.itemHeight:0),ht=a.computed(()=>{const Y=ee.value;return r.virtual?Y.slice(it.value,St.value):Y});function ka(Y){const Q=Y.target;D.value=Q.scrollTop}function x1(Y){return Y===G.value}function $(Y){const Q=j.value;if(!Q||!r.virtual)return;const ae=Y*r.itemHeight,me=ae+r.itemHeight,He=Q.scrollTop,It=Q.scrollTop+Q.clientHeight;ae<He?Q.scrollTop=ae:me>It&&(Q.scrollTop=me-Q.clientHeight)}function J(Y){const Q=Math.max(0,fe.value-1);G.value=Math.min(Q,Math.max(0,G.value+Y)),$(G.value)}function de(){const Y=ee.value[G.value];Y&&U(Y)}const Ve=a.computed(()=>r.clearable&&!r.disabled&&v.value.length>0),Oe=a.computed(()=>u.value?"border-red-500 ring-[0.5px] ring-red-500":Z.value?"border-gray-700 ring-[0.5px] ring-gray-700 dark:border-gray-300 dark:ring-gray-300":"");return(Y,Q)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",yee)):a.createCommentVNode("",!0),Q[3]||(Q[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",fee,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"referenceEl",ref:T,class:"relative"},[a.createVNode(a.unref(Se),{id:d.value,type:"button",variant:"outline",class:a.normalizeClass(["w-full justify-between h-auto min-h-10 px-3 py-2 transition border",["bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 text-foreground dark:text-gray-300",Oe.value]]),disabled:r.disabled,onClick:Le},{default:a.withCtx(()=>[a.createElementVNode("div",mee,[v.value.length?(a.openBlock(),a.createElementBlock("div",kee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(L.value,(ae,me)=>(a.openBlock(),a.createBlock(a.unref(Oa),{key:`chip-${f(ae,me)}`,variant:"secondary",class:"gap-1"},{default:a.withCtx(()=>[a.createElementVNode("span",gee,a.toDisplayString(p(ae)),1),r.disabled?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"ml-1 opacity-70 hover:opacity-100",onClick:a.withModifiers(He=>z(ae),["stop"]),"aria-label":"Remove"}," ✕ ",8,bee))]),_:2},1024))),128)),r.maxChips!==null&&v.value.length>r.maxChips?(a.openBlock(),a.createBlock(a.unref(Oa),{key:0,variant:"secondary"},{default:a.withCtx(()=>[a.createTextVNode(" +"+a.toDisplayString(v.value.length-(r.maxChips??0)),1)]),_:1})):a.createCommentVNode("",!0)])):(a.openBlock(),a.createElementBlock("div",Mee,a.toDisplayString(r.placeholder),1))]),a.createElementVNode("div",xee,[Ve.value?(a.openBlock(),a.createElementBlock("button",{key:0,class:"text-muted-foreground hover:text-foreground",onClick:a.withModifiers(W,["stop"]),"aria-label":"Clear"}," ✕ ")):a.createCommentVNode("",!0),a.createVNode(a.unref(Bt),{class:"h-4 w-4 text-muted-foreground"})])]),_:1},8,["id","disabled","class"]),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[Z.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floatingEl",ref:H,class:"-mt-1 z-[9999] w-[var(--floating-width)] rounded-lg border shadow-lg overflow-hidden bg-white dark:bg-neutral-900 border-gray-200 dark:border-gray-800",style:a.normalizeStyle(te.value)},[r.searchable&&!N.value?(a.openBlock(),a.createElementBlock("div",wee,[a.createVNode(a.unref(_S),{modelValue:P.value,"onUpdate:modelValue":Q[0]||(Q[0]=ae=>P.value=ae),placeholder:r.searchPlaceholder,class:"h-10",onKeydown:[Q[1]||(Q[1]=a.withKeys(a.withModifiers(ae=>J(1),["prevent"]),["down"])),Q[2]||(Q[2]=a.withKeys(a.withModifiers(ae=>J(-1),["prevent"]),["up"])),a.withKeys(a.withModifiers(de,["prevent"]),["enter"]),a.withKeys(a.withModifiers(le,["prevent"]),["esc"])]},null,8,["modelValue","placeholder","onKeydown"])])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"listEl",ref:j,class:"relative overflow-auto",style:a.normalizeStyle({height:Te.value+"px"}),onScroll:ka},[N.value?(a.openBlock(),a.createElementBlock("div",vee," All items have been selected ")):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[r.virtual?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:xe.value+"px"})},null,4)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.virtual?"absolute left-0 top-0 w-full":""),style:a.normalizeStyle(r.virtual?{transform:`translateY(${M1.value}px)`}:void 0)},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ht.value,(ae,me)=>(a.openBlock(),a.createElementBlock("button",{key:String(f(ae,it.value+me)),type:"button",class:a.normalizeClass(["w-full px-3 text-left text-sm flex items-center justify-between gap-3",[V(ae)?"cursor-not-allowed opacity-50":"hover:bg-neutral-50 dark:hover:bg-neutral-800/60",x1(it.value+me)?"bg-neutral-50 dark:bg-neutral-800/60":"",I(ae)?"font-semibold":"font-normal"]]),style:a.normalizeStyle({height:r.itemHeight+"px"}),disabled:r.disabled||V(ae),onClick:He=>U(ae)},[a.createElementVNode("span",Lee,a.toDisplayString(p(ae)),1),I(ae)?(a.openBlock(),a.createElementBlock("span",See,"✓")):a.createCommentVNode("",!0)],14,Cee))),128))],6),fe.value===0?(a.openBlock(),a.createElementBlock("div",Iee,[b.value?(a.openBlock(),a.createElementBlock("span",_ee,"Loading data…")):(a.openBlock(),a.createElementBlock("span",Bee,"Tidak ada data"))])):a.createCommentVNode("",!0)],64))],36)],4)):a.createCommentVNode("",!0)]))],512),u.value?(a.openBlock(),a.createElementBlock("p",Aee,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,pee)),[[a.vShow,s.value]])}}),Pee={class:"w-full"},Dee={key:0,class:"flex items-center justify-between mb-2"},qee={key:0,class:"text-sm font-medium text-gray-700"},zee={key:1,class:"text-sm text-gray-600"},Eee={name:"DCodeProgress"},Qq=a.defineComponent({...Eee,name:"DCodeProgress",inheritAttrs:!1,props:{modelValue:{default:0},max:{default:100},label:{default:""},showValue:{type:Boolean,default:!1},color:{default:"blue"},size:{default:"md"},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=a.computed(()=>Math.min(n.modelValue/n.max*100,100)),r=a.computed(()=>["w-full rounded-full overflow-hidden",{sm:"h-1",md:"h-2",lg:"h-3"}[n.size],"bg-gray-200"].join(" ")),i=a.computed(()=>{const c={blue:"bg-blue-500",green:"bg-green-500",red:"bg-red-500",yellow:"bg-yellow-500",purple:"bg-purple-500",gray:"bg-gray-500"},d=["h-full transition-all duration-300 ease-out",c[n.color]||c.blue];return n.striped&&d.push("bg-gradient-to-r from-transparent via-white/20 to-transparent"),n.animated&&d.push("animate-pulse"),d.join(" ")}),s=a.computed(()=>`${Math.round(o.value)}%`);return(c,d)=>(a.openBlock(),a.createElementBlock("div",Pee,[t.label||t.showValue?(a.openBlock(),a.createElementBlock("div",Dee,[t.label?(a.openBlock(),a.createElementBlock("span",qee,a.toDisplayString(t.label),1)):a.createCommentVNode("",!0),t.showValue?(a.openBlock(),a.createElementBlock("span",zee,a.toDisplayString(s.value),1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.value)},[a.createElementVNode("div",{class:a.normalizeClass(i.value),style:a.normalizeStyle({width:`${o.value}%`})},null,6)],2)]))}}),Tee={key:0,class:"fixed top-0 left-0 right-0 z-[10000] h-[3px]"},ez=Wl(a.defineComponent({name:"DCodeProgressBar",__name:"DCodeProgressBar",props:{isApiLoading:{type:Boolean,default:!1},apiProgress:{default:0}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.Transition,{name:"fade"},{default:a.withCtx(()=>[t.isApiLoading?(a.openBlock(),a.createElementBlock("div",Tee,[a.createElementVNode("div",{class:"h-full bg-primary-600 shadow-[0_0_15px_rgba(37,99,235,0.8)] transition-all duration-300 ease-out",style:a.normalizeStyle({width:`${t.apiProgress}%`})},null,4)])):a.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-5a7c62fb"]]),Oee={class:"flex flex-col"},Hee={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},Fee={class:"relative flex-shrink-0 mt-0.5"},$ee=["id","name","value","checked","disabled","required","onChange"],jee=["onClick"],Ree=["for"],Nee={key:0,class:"ml-1 text-red-500"},Uee={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-1"},tz=a.defineComponent({name:"DCodeRadio",inheritAttrs:!1,__name:"DCodeRadio",props:{modelValue:{default:void 0},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(t,{emit:e}){a.useAttrs();const{apiUrl:n}=nt(),o=e,r=t,i=a.ref([]),s=a.ref(!1),c=a.ref(null),d=async()=>{if(r.apiUrl){s.value=!0,c.value=null;try{const S={page:1,perPage:100},C=await n(r.apiUrl,r.apiMethod,S);let x=C;r.dataPath?x=r.dataPath.split(".").reduce((v,L)=>v&&v[L]!=="undefined"?v[L]:void 0,C):typeof C=="object"&&!Array.isArray(C)&&C.data&&(x=C.data),Array.isArray(x)?i.value=x:(console.warn("DCodeRadio: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),c.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(S){console.error("DCodeRadio fetch error:",S),c.value="Gagal memuat data dari endpoint."}finally{s.value=!1}}};a.onMounted(()=>{r.apiUrl&&d()});const h=a.computed(()=>r.options&&r.options.length>0?r.options:i.value.length>0?i.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),u=S=>typeof S=="object"?S[r.model]:S,p=S=>typeof S=="object"?S[r.label]:String(S),y=a.computed(()=>r.model||`radio-group-${Math.random().toString(36).substr(2,9)}`),f=a.computed(()=>!!r.error||!!c.value),m=a.computed(()=>r.error||c.value),k=S=>S==null?r.modelValue===S:String(r.modelValue)===String(S),g=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),b=(S,C)=>{C.target.checked&&(o("update:modelValue",S),o("change",S))},w=S=>{!r.disabled&&!k(S)&&(o("update:modelValue",S),o("change",S))};return(S,C)=>(a.openBlock(),a.createElementBlock("div",Oee,[s.value?(a.openBlock(),a.createElementBlock("div",Hee,[a.createVNode(a.unref(bt),{class:"w-4 h-4 animate-spin"}),C[0]||(C[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["flex",t.layout?"flex-row flex-wrap gap-4":"flex-col gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,(x,M)=>(a.openBlock(),a.createElementBlock("div",{key:M,class:a.normalizeClass(["flex items-start",g.value.container,t.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"])},[a.createElementVNode("div",Fee,[a.createElementVNode("input",{id:t.id?`${t.id}-${M}`:`${y.value}-${M}`,name:y.value,type:"radio",value:u(x),checked:k(u(x)),disabled:t.disabled,required:t.required&&M===0,onChange:v=>b(u(x),v),class:"w-5 h-5 text-blue-600 focus:ring-blue-500 border-gray-300"},null,40,$ee)]),a.createElementVNode("div",{class:"flex-1 min-w-0",onClick:v=>w(u(x))},[a.createElementVNode("label",{for:t.id?`${t.id}-${M}`:`${y.value}-${M}`,class:a.normalizeClass([g.value.label,"font-medium cursor-pointer select-none text-gray-900",t.disabled?"cursor-not-allowed opacity-50":""])},[a.createTextVNode(a.toDisplayString(p(x))+" ",1),t.required&&h.value.length===1&&t.label?(a.openBlock(),a.createElementBlock("span",Nee,"*")):a.createCommentVNode("",!0)],10,Ree)],8,jee)],2))),128))],2),f.value&&m.value?(a.openBlock(),a.createElementBlock("div",Uee,[a.createVNode(a.unref(At),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(m.value),1)])):a.createCommentVNode("",!0)]))}}),Wee={class:"flex flex-col"},Gee={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},Yee=["onClick"],Kee=["id","name","value","checked","disabled","required","onChange"],Xee={key:1,class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20"},Zee=["for"],Jee={key:0,class:"ml-1 text-red-500"},Qee={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-2"},az=a.defineComponent({name:"DCodeRadioCustom",inheritAttrs:!1,__name:"DCodeRadioCustom",props:{modelValue:{default:void 0},icon:{},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(t,{emit:e}){a.useAttrs();const{apiUrl:n}=nt(),o=e,r=t,i=a.ref(r.modelValue??void 0);a.watch(()=>r.modelValue,M=>{i.value=M},{immediate:!0});const s=a.ref([]),c=a.ref(!1),d=a.ref(null),h=async()=>{if(r.apiUrl){c.value=!0,d.value=null;try{const M={page:1,perPage:100},v=await n(r.apiUrl,r.apiMethod,M);let L=v;r.dataPath?L=r.dataPath.split(".").reduce((_,A)=>_&&_[A]!=="undefined"?_[A]:void 0,v):typeof v=="object"&&!Array.isArray(v)&&v.data&&(L=v.data),Array.isArray(L)?s.value=L:(console.warn("DCodeRadioCustom: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),d.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(M){console.error("DCodeRadioCustom fetch error:",M),d.value="Gagal memuat data dari endpoint."}finally{c.value=!1}}};a.onMounted(()=>{r.apiUrl&&h()});const u=a.computed(()=>r.options&&r.options.length>0?r.options:s.value.length>0?s.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),p=M=>typeof M=="object"?M[r.model]:M,y=M=>typeof M=="object"?M[r.label]:String(M),f=Math.random().toString(36).slice(2,7),m=a.computed(()=>r.id?`radio-custom-${r.id}`:`radio-custom-${r.model}-${f}`),k=a.computed(()=>!!r.error||!!d.value),g=a.computed(()=>r.error||d.value),b=M=>{const v=i.value;return M==null?v===M:String(v)===String(M)},w=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),S=a.computed(()=>r.icon&&La[r.icon]||null),C=(M,v)=>{v.target.checked&&(i.value=M,o("update:modelValue",M),o("change",M))},x=M=>{r.disabled||b(M)||(i.value=M,o("update:modelValue",M),o("change",M))};return(M,v)=>(a.openBlock(),a.createElementBlock("div",Wee,[c.value?(a.openBlock(),a.createElementBlock("div",Gee,[a.createVNode(a.unref(bt),{class:"w-4 h-4 animate-spin"}),v[0]||(v[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["grid",t.layout?"grid-cols-2 sm:grid-cols-3":"grid-cols-1","gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(L,I)=>(a.openBlock(),a.createElementBlock("div",{key:I,class:a.normalizeClass(["relative flex flex-col items-center justify-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",b(p(L))?"border-blue-500 bg-blue-50 shadow-md shadow-blue-100":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm",t.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]),onClick:_=>!t.disabled&&x(p(L))},[a.createElementVNode("input",{id:t.id?`${t.id}-${I}`:`${m.value}-${I}`,name:m.value,type:"radio",value:p(L),checked:b(p(L)),disabled:t.disabled,required:t.required&&I===0,onChange:_=>C(p(L),_),class:"sr-only",tabindex:"-1"},null,40,Kee),a.createElementVNode("div",{class:a.normalizeClass(["w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200",b(p(L))?"bg-blue-100 text-blue-600":"bg-gray-100 text-gray-400"])},[S.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.value),{key:0,class:"w-6 h-6"})):(a.openBlock(),a.createElementBlock("svg",Xee,[...v[1]||(v[1]=[a.createElementVNode("circle",{cx:"10",cy:"10",r:"6"},null,-1)])]))],2),a.createElementVNode("label",{for:t.id?`${t.id}-${I}`:`${m.value}-${I}`,class:a.normalizeClass([w.value.label,"font-medium text-center leading-tight select-none transition-colors duration-200",b(p(L))?"text-blue-700":"text-gray-700",t.disabled?"cursor-not-allowed":"cursor-pointer"])},[a.createTextVNode(a.toDisplayString(y(L))+" ",1),t.required&&u.value.length===1&&t.label?(a.openBlock(),a.createElementBlock("span",Jee,"*")):a.createCommentVNode("",!0)],10,Zee)],10,Yee))),128))],2),k.value&&g.value?(a.openBlock(),a.createElementBlock("div",Qee,[a.createVNode(a.unref(At),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(g.value),1)])):a.createCommentVNode("",!0)]))}}),ete={key:0,class:"ml-1 text-destructive"},tte={class:"relative w-full"},ate={key:0,class:"mb-2 flex items-center justify-between"},nte={class:"text-sm text-muted-foreground"},ote={class:"text-sm font-medium text-foreground"},rte={class:"text-sm text-muted-foreground"},ite={class:"relative"},ste=["id","value","min","max","step","disabled","placeholder"],lte={key:1,class:"relative mt-2"},cte={class:"text-xs text-muted-foreground mt-1"},dte={key:1,class:"flex items-center gap-1 text-sm text-destructive"},hte={name:"DCodeSlider"},nz=a.defineComponent({...hte,name:"DCodeSlider",inheritAttrs:!1,props:{modelValue:{default:0},min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},label:{default:""},placeholder:{default:""},required:{type:Boolean,default:!1},error:{default:null},showValue:{type:Boolean,default:!0},valuePrefix:{default:""},valueSuffix:{default:""},marks:{default:()=>[]},color:{default:"blue"},size:{default:"md"}},emits:["update:modelValue","change","input"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.ref(),s=a.ref(!1),c=a.computed(()=>!!r.error),d=a.computed(()=>`slider-${Math.random().toString(36).substr(2,9)}`),h=a.computed(()=>(r.label||n.label)??void 0),u=a.computed(()=>!0),p=a.computed(()=>{const x={sm:"h-2",md:"h-2.5",lg:"h-3"},M={blue:"accent-blue-500",green:"accent-green-500",red:"accent-red-500",yellow:"accent-yellow-500",purple:"accent-purple-500",gray:"accent-gray-500"};return["w-full appearance-none bg-gray-200 rounded-lg outline-none transition-all cursor-pointer","disabled:opacity-50 disabled:cursor-not-allowed",x[r.size],M[r.color]||M.blue,c.value?"accent-red-500":"",n.class].filter(Boolean).join(" ")}),y=a.computed(()=>["appearance-none bg-white border-2 border-current rounded-full cursor-pointer transition-all","hover:scale-110 focus:scale-110","shadow-md hover:shadow-lg focus:shadow-lg","focus:outline-none focus:ring-2 focus:ring-offset-2",{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r.size],r.color==="blue"?"focus:ring-blue-500":r.color==="green"?"focus:ring-green-500":r.color==="red"?"focus:ring-red-500":r.color==="yellow"?"focus:ring-yellow-500":r.color==="purple"?"focus:ring-purple-500":"focus:ring-gray-500"].join(" ")),f=a.computed(()=>`${r.valuePrefix}${r.modelValue}${r.valueSuffix}`),m=a.computed(()=>{const x=r.max-r.min;return(r.modelValue-r.min)/x*100}),k=x=>{const M=x.target,v=parseFloat(M.value);o("update:modelValue",v),o("input",v)},g=x=>{const M=x.target,v=parseFloat(M.value);o("change",v)},b=()=>{s.value=!0},w=()=>{s.value=!1},S=x=>{const M=r.max-r.min;return(x-r.min)/M*100},C=a.computed(()=>{const x={sm:16,md:20,lg:24};return`
|
|
8566
|
+
`):t}function tQ(t,e){const{element:n,datasetIndex:o,index:r}=e,i=t.getDatasetMeta(o).controller,{label:s,value:c}=i.getLabelAndValue(r);return{chart:t,label:s,parsed:i.getParsed(r),raw:t.data.datasets[o].data[r],formattedValue:c,dataset:i.getDataset(),dataIndex:r,datasetIndex:o,element:n}}function Dq(t,e){const n=t.chart.ctx,{body:o,footer:r,title:i}=t,{boxWidth:s,boxHeight:c}=e,d=Ke(e.bodyFont),h=Ke(e.titleFont),u=Ke(e.footerFont),p=i.length,y=r.length,f=o.length,m=kt(e.padding);let k=m.height,g=0,b=o.reduce((C,x)=>C+x.before.length+x.lines.length+x.after.length,0);if(b+=t.beforeBody.length+t.afterBody.length,p&&(k+=p*h.lineHeight+(p-1)*e.titleSpacing+e.titleMarginBottom),b){const C=e.displayColors?Math.max(c,d.lineHeight):d.lineHeight;k+=f*C+(b-f)*d.lineHeight+(b-1)*e.bodySpacing}y&&(k+=e.footerMarginTop+y*u.lineHeight+(y-1)*e.footerSpacing);let w=0;const S=function(C){g=Math.max(g,n.measureText(C).width+w)};return n.save(),n.font=h.string,Be(t.title,S),n.font=d.string,Be(t.beforeBody.concat(t.afterBody),S),w=e.displayColors?s+2+e.boxPadding:0,Be(o,C=>{Be(C.before,S),Be(C.lines,S),Be(C.after,S)}),w=0,n.font=u.string,Be(t.footer,S),n.restore(),g+=m.width,{width:g,height:k}}function aQ(t,e){const{y:n,height:o}=e;return n<o/2?"top":n>t.height-o/2?"bottom":"center"}function nQ(t,e,n,o){const{x:r,width:i}=o,s=n.caretSize+n.caretPadding;if(t==="left"&&r+i+s>e.width||t==="right"&&r-i-s<0)return!0}function oQ(t,e,n,o){const{x:r,width:i}=n,{width:s,chartArea:{left:c,right:d}}=t;let h="center";return o==="center"?h=r<=(c+d)/2?"left":"right":r<=i/2?h="left":r>=s-i/2&&(h="right"),nQ(h,t,e,n)&&(h="center"),h}function qq(t,e,n){const o=n.yAlign||e.yAlign||aQ(t,n);return{xAlign:n.xAlign||e.xAlign||oQ(t,e,n,o),yAlign:o}}function rQ(t,e){let{x:n,width:o}=t;return e==="right"?n-=o:e==="center"&&(n-=o/2),n}function iQ(t,e,n){let{y:o,height:r}=t;return e==="top"?o+=n:e==="bottom"?o-=r+n:o-=r/2,o}function zq(t,e,n,o){const{caretSize:r,caretPadding:i,cornerRadius:s}=t,{xAlign:c,yAlign:d}=n,h=r+i,{topLeft:u,topRight:p,bottomLeft:y,bottomRight:f}=al(s);let m=rQ(e,c);const k=iQ(e,d,h);return d==="center"?c==="left"?m+=h:c==="right"&&(m-=h):c==="left"?m-=Math.max(u,y)+r:c==="right"&&(m+=Math.max(p,f)+r),{x:Ge(m,0,o.width-e.width),y:Ge(k,0,o.height-e.height)}}function lI(t,e,n){const o=kt(n.padding);return e==="center"?t.x+t.width/2:e==="right"?t.x+t.width-o.right:t.x+o.left}function Eq(t){return Jt([],ma(t))}function sQ(t,e,n){return ms(t,{tooltip:e,tooltipItems:n,type:"tooltip"})}function Tq(t,e){const n=e&&e.dataset&&e.dataset.tooltip&&e.dataset.tooltip.callbacks;return n?t.override(n):t}const Oq={beforeTitle:da,title(t){if(t.length>0){const e=t[0],n=e.chart.data.labels,o=n?n.length:0;if(this&&this.options&&this.options.mode==="dataset")return e.dataset.label||"";if(e.label)return e.label;if(o>0&&e.dataIndex<o)return n[e.dataIndex]}return""},afterTitle:da,beforeBody:da,beforeLabel:da,label(t){if(this&&this.options&&this.options.mode==="dataset")return t.label+": "+t.formattedValue||t.formattedValue;let e=t.dataset.label||"";e&&(e+=": ");const n=t.formattedValue;return Ie(n)||(e+=n),e},labelColor(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{borderColor:n.borderColor,backgroundColor:n.backgroundColor,borderWidth:n.borderWidth,borderDash:n.borderDash,borderDashOffset:n.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(t){const n=t.chart.getDatasetMeta(t.datasetIndex).controller.getStyle(t.dataIndex);return{pointStyle:n.pointStyle,rotation:n.rotation}},afterLabel:da,afterBody:da,beforeFooter:da,footer:da,afterFooter:da};function ot(t,e,n,o){const r=t[e].call(n,o);return typeof r>"u"?Oq[e].call(n,o):r}class AB extends ya{constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const n=this.chart,o=this.options.setContext(this.getContext()),r=o.enabled&&n.options.animation&&o.animations,i=new DD(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=sQ(this.chart.getContext(),this,this._tooltipItems))}getTitle(e,n){const{callbacks:o}=n,r=ot(o,"beforeTitle",this,e),i=ot(o,"title",this,e),s=ot(o,"afterTitle",this,e);let c=[];return c=Jt(c,ma(r)),c=Jt(c,ma(i)),c=Jt(c,ma(s)),c}getBeforeBody(e,n){return Eq(ot(n.callbacks,"beforeBody",this,e))}getBody(e,n){const{callbacks:o}=n,r=[];return Be(e,i=>{const s={before:[],lines:[],after:[]},c=Tq(o,i);Jt(s.before,ma(ot(c,"beforeLabel",this,i))),Jt(s.lines,ot(c,"label",this,i)),Jt(s.after,ma(ot(c,"afterLabel",this,i))),r.push(s)}),r}getAfterBody(e,n){return Eq(ot(n.callbacks,"afterBody",this,e))}getFooter(e,n){const{callbacks:o}=n,r=ot(o,"beforeFooter",this,e),i=ot(o,"footer",this,e),s=ot(o,"afterFooter",this,e);let c=[];return c=Jt(c,ma(r)),c=Jt(c,ma(i)),c=Jt(c,ma(s)),c}_createItems(e){const n=this._active,o=this.chart.data,r=[],i=[],s=[];let c=[],d,h;for(d=0,h=n.length;d<h;++d)c.push(tQ(this.chart,n[d]));return e.filter&&(c=c.filter((u,p,y)=>e.filter(u,p,y,o))),e.itemSort&&(c=c.sort((u,p)=>e.itemSort(u,p,o))),Be(c,u=>{const p=Tq(e.callbacks,u);r.push(ot(p,"labelColor",this,u)),i.push(ot(p,"labelPointStyle",this,u)),s.push(ot(p,"labelTextColor",this,u))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=s,this.dataPoints=c,c}update(e,n){const o=this.options.setContext(this.getContext()),r=this._active;let i,s=[];if(!r.length)this.opacity!==0&&(i={opacity:0});else{const c=b1[o.position].call(this,r,this._eventPosition);s=this._createItems(o),this.title=this.getTitle(s,o),this.beforeBody=this.getBeforeBody(s,o),this.body=this.getBody(s,o),this.afterBody=this.getAfterBody(s,o),this.footer=this.getFooter(s,o);const d=this._size=Dq(this,o),h=Object.assign({},c,d),u=qq(this.chart,o,h),p=zq(o,h,u,this.chart);this.xAlign=u.xAlign,this.yAlign=u.yAlign,i={opacity:1,x:p.x,y:p.y,width:d.width,height:d.height,caretX:c.x,caretY:c.y}}this._tooltipItems=s,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&o.external&&o.external.call(this,{chart:this.chart,tooltip:this,replay:n})}drawCaret(e,n,o,r){const i=this.getCaretPosition(e,o,r);n.lineTo(i.x1,i.y1),n.lineTo(i.x2,i.y2),n.lineTo(i.x3,i.y3)}getCaretPosition(e,n,o){const{xAlign:r,yAlign:i}=this,{caretSize:s,cornerRadius:c}=o,{topLeft:d,topRight:h,bottomLeft:u,bottomRight:p}=al(c),{x:y,y:f}=e,{width:m,height:k}=n;let g,b,w,S,C,x;return i==="center"?(C=f+k/2,r==="left"?(g=y,b=g-s,S=C+s,x=C-s):(g=y+m,b=g+s,S=C-s,x=C+s),w=g):(r==="left"?b=y+Math.max(d,u)+s:r==="right"?b=y+m-Math.max(h,p)-s:b=this.caretX,i==="top"?(S=f,C=S-s,g=b-s,w=b+s):(S=f+k,C=S+s,g=b+s,w=b-s),x=S),{x1:g,x2:b,x3:w,y1:S,y2:C,y3:x}}drawTitle(e,n,o){const r=this.title,i=r.length;let s,c,d;if(i){const h=rl(o.rtl,this.x,this.width);for(e.x=lI(this,o.titleAlign,o),n.textAlign=h.textAlign(o.titleAlign),n.textBaseline="middle",s=Ke(o.titleFont),c=o.titleSpacing,n.fillStyle=o.titleColor,n.font=s.string,d=0;d<i;++d)n.fillText(r[d],h.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+c,d+1===i&&(e.y+=o.titleMarginBottom-c)}}_drawColorBox(e,n,o,r,i){const s=this.labelColors[o],c=this.labelPointStyles[o],{boxHeight:d,boxWidth:h}=i,u=Ke(i.bodyFont),p=lI(this,"left",i),y=r.x(p),f=d<u.lineHeight?(u.lineHeight-d)/2:0,m=n.y+f;if(i.usePointStyle){const k={radius:Math.min(h,d)/2,pointStyle:c.pointStyle,rotation:c.rotation,borderWidth:1},g=r.leftForLtr(y,h)+h/2,b=m+d/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,iB(e,k,g,b),e.strokeStyle=s.borderColor,e.fillStyle=s.backgroundColor,iB(e,k,g,b)}else{e.lineWidth=we(s.borderWidth)?Math.max(...Object.values(s.borderWidth)):s.borderWidth||1,e.strokeStyle=s.borderColor,e.setLineDash(s.borderDash||[]),e.lineDashOffset=s.borderDashOffset||0;const k=r.leftForLtr(y,h),g=r.leftForLtr(r.xPlus(y,1),h-2),b=al(s.borderRadius);Object.values(b).some(w=>w!==0)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,jS(e,{x:k,y:m,w:h,h:d,radius:b}),e.fill(),e.stroke(),e.fillStyle=s.backgroundColor,e.beginPath(),jS(e,{x:g,y:m+1,w:h-2,h:d-2,radius:b}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(k,m,h,d),e.strokeRect(k,m,h,d),e.fillStyle=s.backgroundColor,e.fillRect(g,m+1,h-2,d-2))}e.fillStyle=this.labelTextColors[o]}drawBody(e,n,o){const{body:r}=this,{bodySpacing:i,bodyAlign:s,displayColors:c,boxHeight:d,boxWidth:h,boxPadding:u}=o,p=Ke(o.bodyFont);let y=p.lineHeight,f=0;const m=rl(o.rtl,this.x,this.width),k=function(L){n.fillText(L,m.x(e.x+f),e.y+y/2),e.y+=y+i},g=m.textAlign(s);let b,w,S,C,x,M,v;for(n.textAlign=s,n.textBaseline="middle",n.font=p.string,e.x=lI(this,g,o),n.fillStyle=o.bodyColor,Be(this.beforeBody,k),f=c&&g!=="right"?s==="center"?h/2+u:h+2+u:0,C=0,M=r.length;C<M;++C){for(b=r[C],w=this.labelTextColors[C],n.fillStyle=w,Be(b.before,k),S=b.lines,c&&S.length&&(this._drawColorBox(n,e,C,m,o),y=Math.max(p.lineHeight,d)),x=0,v=S.length;x<v;++x)k(S[x]),y=p.lineHeight;Be(b.after,k)}f=0,y=p.lineHeight,Be(this.afterBody,k),e.y-=i}drawFooter(e,n,o){const r=this.footer,i=r.length;let s,c;if(i){const d=rl(o.rtl,this.x,this.width);for(e.x=lI(this,o.footerAlign,o),e.y+=o.footerMarginTop,n.textAlign=d.textAlign(o.footerAlign),n.textBaseline="middle",s=Ke(o.footerFont),n.fillStyle=o.footerColor,n.font=s.string,c=0;c<i;++c)n.fillText(r[c],d.x(e.x),e.y+s.lineHeight/2),e.y+=s.lineHeight+o.footerSpacing}}drawBackground(e,n,o,r){const{xAlign:i,yAlign:s}=this,{x:c,y:d}=e,{width:h,height:u}=o,{topLeft:p,topRight:y,bottomLeft:f,bottomRight:m}=al(r.cornerRadius);n.fillStyle=r.backgroundColor,n.strokeStyle=r.borderColor,n.lineWidth=r.borderWidth,n.beginPath(),n.moveTo(c+p,d),s==="top"&&this.drawCaret(e,n,o,r),n.lineTo(c+h-y,d),n.quadraticCurveTo(c+h,d,c+h,d+y),s==="center"&&i==="right"&&this.drawCaret(e,n,o,r),n.lineTo(c+h,d+u-m),n.quadraticCurveTo(c+h,d+u,c+h-m,d+u),s==="bottom"&&this.drawCaret(e,n,o,r),n.lineTo(c+f,d+u),n.quadraticCurveTo(c,d+u,c,d+u-f),s==="center"&&i==="left"&&this.drawCaret(e,n,o,r),n.lineTo(c,d+p),n.quadraticCurveTo(c,d,c+p,d),n.closePath(),n.fill(),r.borderWidth>0&&n.stroke()}_updateAnimationTarget(e){const n=this.chart,o=this.$animations,r=o&&o.x,i=o&&o.y;if(r||i){const s=b1[e.position].call(this,this._active,this._eventPosition);if(!s)return;const c=this._size=Dq(this,e),d=Object.assign({},s,this._size),h=qq(n,e,d),u=zq(e,d,h,n);(r._to!==u.x||i._to!==u.y)&&(this.xAlign=h.xAlign,this.yAlign=h.yAlign,this.width=c.width,this.height=c.height,this.caretX=s.x,this.caretY=s.y,this._resolveAnimations().update(this,u))}}_willRender(){return!!this.opacity}draw(e){const n=this.options.setContext(this.getContext());let o=this.opacity;if(!o)return;this._updateAnimationTarget(n);const r={width:this.width,height:this.height},i={x:this.x,y:this.y};o=Math.abs(o)<.001?0:o;const s=kt(n.padding),c=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;n.enabled&&c&&(e.save(),e.globalAlpha=o,this.drawBackground(i,e,r,n),vD(e,n.textDirection),i.y+=s.top,this.drawTitle(i,e,n),this.drawBody(i,e,n),this.drawFooter(i,e,n),CD(e,n.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,n){const o=this._active,r=e.map(({datasetIndex:c,index:d})=>{const h=this.chart.getDatasetMeta(c);if(!h)throw new Error("Cannot find a dataset at index "+c);return{datasetIndex:c,element:h.data[d],index:d}}),i=!ES(o,r),s=this._positionChanged(r,n);(i||s)&&(this._active=r,this._eventPosition=n,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,n,o=!0){if(n&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],s=this._getActiveElements(e,i,n,o),c=this._positionChanged(s,e),d=n||!ES(s,i)||c;return d&&(this._active=s,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,n))),d}_getActiveElements(e,n,o,r){const i=this.options;if(e.type==="mouseout")return[];if(!r)return n.filter(c=>this.chart.data.datasets[c.datasetIndex]&&this.chart.getDatasetMeta(c.datasetIndex).controller.getParsed(c.index)!==void 0);const s=this.chart.getElementsAtEventForMode(e,i.mode,i,o);return i.reverse&&s.reverse(),s}_positionChanged(e,n){const{caretX:o,caretY:r,options:i}=this,s=b1[i.position].call(this,e,n);return s!==!1&&(o!==s.x||r!==s.y)}}se(AB,"positioners",b1);var lQ={id:"tooltip",_element:AB,positioners:b1,afterInit(t,e,n){n&&(t.tooltip=new AB({chart:t,options:n}))},beforeUpdate(t,e,n){t.tooltip&&t.tooltip.initialize(n)},reset(t,e,n){t.tooltip&&t.tooltip.initialize(n)},afterDraw(t){const e=t.tooltip;if(e&&e._willRender()){const n={tooltip:e};if(t.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0})===!1)return;e.draw(t.ctx),t.notifyPlugins("afterTooltipDraw",n)}},afterEvent(t,e){if(t.tooltip){const n=e.replay;t.tooltip.handleEvent(e.event,n,e.inChartArea)&&(e.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(t,e)=>e.bodyFont.size,boxWidth:(t,e)=>e.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:Oq},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:t=>t!=="filter"&&t!=="itemSort"&&t!=="external",_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};const cQ=(t,e,n,o)=>(typeof e=="string"?(n=t.push(e)-1,o.unshift({index:n,label:e})):isNaN(e)&&(n=null),n);function dQ(t,e,n,o){const r=t.indexOf(e);if(r===-1)return cQ(t,e,n,o);const i=t.lastIndexOf(e);return r!==i?n:r}const hQ=(t,e)=>t===null?null:Ge(Math.round(t),0,e);function Hq(t){const e=this.getLabels();return t>=0&&t<e.length?e[t]:t}class VB extends sl{constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const n=this._addedLabels;if(n.length){const o=this.getLabels();for(const{index:r,label:i}of n)o[r]===i&&o.splice(r,1);this._addedLabels=[]}super.init(e)}parse(e,n){if(Ie(e))return null;const o=this.getLabels();return n=isFinite(n)&&o[n]===e?n:dQ(o,e,be(n,e),this._addedLabels),hQ(n,o.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:n}=this.getUserBounds();let{min:o,max:r}=this.getMinMax(!0);this.options.bounds==="ticks"&&(e||(o=0),n||(r=this.getLabels().length-1)),this.min=o,this.max=r}buildTicks(){const e=this.min,n=this.max,o=this.options.offset,r=[];let i=this.getLabels();i=e===0&&n===i.length-1?i:i.slice(e,n+1),this._valueRange=Math.max(i.length-(o?0:1),1),this._startValue=this.min-(o?.5:0);for(let s=e;s<=n;s++)r.push({value:s});return r}getLabelForValue(e){return Hq.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return typeof e!="number"&&(e=this.parse(e)),e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const n=this.ticks;return e<0||e>n.length-1?null:this.getPixelForValue(n[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}}se(VB,"id","category"),se(VB,"defaults",{ticks:{callback:Hq}});function uQ(t,e){const n=[],{bounds:r,step:i,min:s,max:c,precision:d,count:h,maxTicks:u,maxDigits:p,includeBounds:y}=t,f=i||1,m=u-1,{min:k,max:g}=e,b=!Ie(s),w=!Ie(c),S=!Ie(h),C=(g-k)/(p+1);let x=ZP((g-k)/m/f)*f,M,v,L,I;if(x<1e-14&&!b&&!w)return[{value:k},{value:g}];I=Math.ceil(g/x)-Math.floor(k/x),I>m&&(x=ZP(I*x/m/f)*f),Ie(d)||(M=Math.pow(10,d),x=Math.ceil(x*M)/M),r==="ticks"?(v=Math.floor(k/x)*x,L=Math.ceil(g/x)*x):(v=k,L=g),b&&w&&i&&fK((c-s)/i,x/1e3)?(I=Math.round(Math.min((c-s)/x,u)),x=(c-s)/I,v=s,L=c):S?(v=b?s:v,L=w?c:L,I=h-1,x=(L-v)/I):(I=(L-v)/x,o1(I,Math.round(I),x/1e3)?I=Math.round(I):I=Math.ceil(I));const _=Math.max(JP(x),JP(v));M=Math.pow(10,Ie(d)?_:d),v=Math.round(v*M)/M,L=Math.round(L*M)/M;let A=0;for(b&&(y&&v!==s?(n.push({value:s}),v<s&&A++,o1(Math.round((v+A*x)*M)/M,s,Fq(s,C,t))&&A++):v<s&&A++);A<I;++A){const V=Math.round((v+A*x)*M)/M;if(w&&V>c)break;n.push({value:V})}return w&&y&&L!==c?n.length&&o1(n[n.length-1].value,c,Fq(c,C,t))?n[n.length-1].value=c:n.push({value:c}):(!w||L===c)&&n.push({value:L}),n}function Fq(t,e,{horizontal:n,minRotation:o}){const r=ha(o),i=(n?Math.sin(r):Math.cos(r))||.001,s=.75*e*(""+t).length;return Math.min(e/i,s)}class pQ extends sl{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,n){return Ie(e)||(typeof e=="number"||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:n,maxDefined:o}=this.getUserBounds();let{min:r,max:i}=this;const s=d=>r=n?r:d,c=d=>i=o?i:d;if(e){const d=Xt(r),h=Xt(i);d<0&&h<0?c(0):d>0&&h>0&&s(0)}if(r===i){let d=i===0?1:Math.abs(i*.05);c(i+d),e||s(r-d)}this.min=r,this.max=i}getTickLimit(){const e=this.options.ticks;let{maxTicksLimit:n,stepSize:o}=e,r;return o?(r=Math.ceil(this.max/o)-Math.floor(this.min/o)+1,r>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${o} would result generating up to ${r} ticks. Limiting to 1000.`),r=1e3)):(r=this.computeTickLimit(),n=n||11),n&&(r=Math.min(n,r)),r}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,n=e.ticks;let o=this.getTickLimit();o=Math.max(2,o);const r={maxTicks:o,bounds:e.bounds,min:e.min,max:e.max,precision:n.precision,step:n.stepSize,count:n.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:n.minRotation||0,includeBounds:n.includeBounds!==!1},i=this._range||this,s=uQ(r,i);return e.bounds==="ticks"&&mK(s,this,"value"),e.reverse?(s.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),s}configure(){const e=this.ticks;let n=this.min,o=this.max;if(super.configure(),this.options.offset&&e.length){const r=(o-n)/Math.max(e.length-1,1)/2;n-=r,o+=r}this._startValue=n,this._endValue=o,this._valueRange=o-n}getLabelForValue(e){return nB(e,this.chart.options.locale,this.options.ticks.format)}}class PB extends pQ{determineDataLimits(){const{min:e,max:n}=this.getMinMax(!0);this.min=We(e)?e:0,this.max=We(n)?n:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),n=e?this.width:this.height,o=ha(this.options.ticks.minRotation),r=(e?Math.sin(o):Math.cos(o))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(n/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return e===null?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}se(PB,"id","linear"),se(PB,"defaults",{ticks:{callback:cD.formatters.numeric}});const cI={millisecond:{common:!0,size:1,steps:1e3},second:{common:!0,size:1e3,steps:60},minute:{common:!0,size:6e4,steps:60},hour:{common:!0,size:36e5,steps:24},day:{common:!0,size:864e5,steps:30},week:{common:!1,size:6048e5,steps:4},month:{common:!0,size:2628e6,steps:12},quarter:{common:!1,size:7884e6,steps:4},year:{common:!0,size:3154e7}},rt=Object.keys(cI);function $q(t,e){return t-e}function jq(t,e){if(Ie(e))return null;const n=t._adapter,{parser:o,round:r,isoWeekday:i}=t._parseOpts;let s=e;return typeof o=="function"&&(s=o(s)),We(s)||(s=typeof o=="string"?n.parse(s,o):n.parse(s)),s===null?null:(r&&(s=r==="week"&&(r1(i)||i===!0)?n.startOf(s,"isoWeek",i):n.startOf(s,r)),+s)}function Rq(t,e,n,o){const r=rt.length;for(let i=rt.indexOf(t);i<r-1;++i){const s=cI[rt[i]],c=s.steps?s.steps:Number.MAX_SAFE_INTEGER;if(s.common&&Math.ceil((n-e)/(c*s.size))<=o)return rt[i]}return rt[r-1]}function yQ(t,e,n,o,r){for(let i=rt.length-1;i>=rt.indexOf(n);i--){const s=rt[i];if(cI[s].common&&t._adapter.diff(r,o,s)>=e-1)return s}return rt[n?rt.indexOf(n):0]}function fQ(t){for(let e=rt.indexOf(t)+1,n=rt.length;e<n;++e)if(cI[rt[e]].common)return rt[e]}function Nq(t,e,n){if(!n)t[e]=!0;else if(n.length){const{lo:o,hi:r}=Q_(n,e),i=n[o]>=e?n[o]:n[r];t[i]=!0}}function mQ(t,e,n,o){const r=t._adapter,i=+r.startOf(e[0].value,o),s=e[e.length-1].value;let c,d;for(c=i;c<=s;c=+r.add(c,1,o))d=n[c],d>=0&&(e[d].major=!0);return e}function Uq(t,e,n){const o=[],r={},i=e.length;let s,c;for(s=0;s<i;++s)c=e[s],r[c]=s,o.push({value:c,major:!1});return i===0||!n?o:mQ(t,o,r,n)}class dI extends sl{constructor(e){super(e),this._cache={data:[],labels:[],all:[]},this._unit="day",this._majorUnit=void 0,this._offsets={},this._normalized=!1,this._parseOpts=void 0}init(e,n={}){const o=e.time||(e.time={}),r=this._adapter=new JX._date(e.adapters.date);r.init(n),a1(o.displayFormats,r.formats()),this._parseOpts={parser:o.parser,round:o.round,isoWeekday:o.isoWeekday},super.init(e),this._normalized=n.normalized}parse(e,n){return e===void 0?null:jq(this,e)}beforeLayout(){super.beforeLayout(),this._cache={data:[],labels:[],all:[]}}determineDataLimits(){const e=this.options,n=this._adapter,o=e.time.unit||"day";let{min:r,max:i,minDefined:s,maxDefined:c}=this.getUserBounds();function d(h){!s&&!isNaN(h.min)&&(r=Math.min(r,h.min)),!c&&!isNaN(h.max)&&(i=Math.max(i,h.max))}(!s||!c)&&(d(this._getLabelBounds()),(e.bounds!=="ticks"||e.ticks.source!=="labels")&&d(this.getMinMax(!1))),r=We(r)&&!isNaN(r)?r:+n.startOf(Date.now(),o),i=We(i)&&!isNaN(i)?i:+n.endOf(Date.now(),o)+1,this.min=Math.min(r,i-1),this.max=Math.max(r+1,i)}_getLabelBounds(){const e=this.getLabelTimestamps();let n=Number.POSITIVE_INFINITY,o=Number.NEGATIVE_INFINITY;return e.length&&(n=e[0],o=e[e.length-1]),{min:n,max:o}}buildTicks(){const e=this.options,n=e.time,o=e.ticks,r=o.source==="labels"?this.getLabelTimestamps():this._generate();e.bounds==="ticks"&&r.length&&(this.min=this._userMin||r[0],this.max=this._userMax||r[r.length-1]);const i=this.min,s=this.max,c=xK(r,i,s);return this._unit=n.unit||(o.autoSkip?Rq(n.minUnit,this.min,this.max,this._getLabelCapacity(i)):yQ(this,c.length,n.minUnit,this.min,this.max)),this._majorUnit=!o.major.enabled||this._unit==="year"?void 0:fQ(this._unit),this.initOffsets(r),e.reverse&&c.reverse(),Uq(this,c,this._majorUnit)}afterAutoSkip(){this.options.offsetAfterAutoskip&&this.initOffsets(this.ticks.map(e=>+e.value))}initOffsets(e=[]){let n=0,o=0,r,i;this.options.offset&&e.length&&(r=this.getDecimalForValue(e[0]),e.length===1?n=1-r:n=(this.getDecimalForValue(e[1])-r)/2,i=this.getDecimalForValue(e[e.length-1]),e.length===1?o=i:o=(i-this.getDecimalForValue(e[e.length-2]))/2);const s=e.length<3?.5:.25;n=Ge(n,0,s),o=Ge(o,0,s),this._offsets={start:n,end:o,factor:1/(n+1+o)}}_generate(){const e=this._adapter,n=this.min,o=this.max,r=this.options,i=r.time,s=i.unit||Rq(i.minUnit,n,o,this._getLabelCapacity(n)),c=be(r.ticks.stepSize,1),d=s==="week"?i.isoWeekday:!1,h=r1(d)||d===!0,u={};let p=n,y,f;if(h&&(p=+e.startOf(p,"isoWeek",d)),p=+e.startOf(p,h?"day":s),e.diff(o,n,s)>1e5*c)throw new Error(n+" and "+o+" are too far apart with stepSize of "+c+" "+s);const m=r.ticks.source==="data"&&this.getDataTimestamps();for(y=p,f=0;y<o;y=+e.add(y,c,s),f++)Nq(u,y,m);return(y===o||r.bounds==="ticks"||f===1)&&Nq(u,y,m),Object.keys(u).sort($q).map(k=>+k)}getLabelForValue(e){const n=this._adapter,o=this.options.time;return o.tooltipFormat?n.format(e,o.tooltipFormat):n.format(e,o.displayFormats.datetime)}format(e,n){const r=this.options.time.displayFormats,i=this._unit,s=n||r[i];return this._adapter.format(e,s)}_tickFormatFunction(e,n,o,r){const i=this.options,s=i.ticks.callback;if(s)return Pe(s,[e,n,o],this);const c=i.time.displayFormats,d=this._unit,h=this._majorUnit,u=d&&c[d],p=h&&c[h],y=o[n],f=h&&p&&y&&y.major;return this._adapter.format(e,r||(f?p:u))}generateTickLabels(e){let n,o,r;for(n=0,o=e.length;n<o;++n)r=e[n],r.label=this._tickFormatFunction(r.value,n,e)}getDecimalForValue(e){return e===null?NaN:(e-this.min)/(this.max-this.min)}getPixelForValue(e){const n=this._offsets,o=this.getDecimalForValue(e);return this.getPixelForDecimal((n.start+o)*n.factor)}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return this.min+o*(this.max-this.min)}_getLabelSize(e){const n=this.options.ticks,o=this.ctx.measureText(e).width,r=ha(this.isHorizontal()?n.maxRotation:n.minRotation),i=Math.cos(r),s=Math.sin(r),c=this._resolveTickFontOptions(0).size;return{w:o*i+c*s,h:o*s+c*i}}_getLabelCapacity(e){const n=this.options.time,o=n.displayFormats,r=o[n.unit]||o.millisecond,i=this._tickFormatFunction(e,0,Uq(this,[e],this._majorUnit),r),s=this._getLabelSize(i),c=Math.floor(this.isHorizontal()?this.width/s.w:this.height/s.h)-1;return c>0?c:1}getDataTimestamps(){let e=this._cache.data||[],n,o;if(e.length)return e;const r=this.getMatchingVisibleMetas();if(this._normalized&&r.length)return this._cache.data=r[0].controller.getAllParsedValues(this);for(n=0,o=r.length;n<o;++n)e=e.concat(r[n].controller.getAllParsedValues(this));return this._cache.data=this.normalize(e)}getLabelTimestamps(){const e=this._cache.labels||[];let n,o;if(e.length)return e;const r=this.getLabels();for(n=0,o=r.length;n<o;++n)e.push(jq(this,r[n]));return this._cache.labels=this._normalized?e:this.normalize(e)}normalize(e){return aD(e.sort($q))}}se(dI,"id","time"),se(dI,"defaults",{bounds:"data",adapters:{},time:{parser:!1,unit:!1,round:!1,isoWeekday:!1,minUnit:"millisecond",displayFormats:{}},ticks:{source:"auto",callback:!1,major:{enabled:!1}}});function hI(t,e,n){let o=0,r=t.length-1,i,s,c,d;n?(e>=t[o].pos&&e<=t[r].pos&&({lo:o,hi:r}=ps(t,"pos",e)),{pos:i,time:c}=t[o],{pos:s,time:d}=t[r]):(e>=t[o].time&&e<=t[r].time&&({lo:o,hi:r}=ps(t,"time",e)),{time:i,pos:c}=t[o],{time:s,pos:d}=t[r]);const h=s-i;return h?c+(d-c)*(e-i)/h:c}class Wq extends dI{constructor(e){super(e),this._table=[],this._minPos=void 0,this._tableRange=void 0}initOffsets(){const e=this._getTimestampsForTable(),n=this._table=this.buildLookupTable(e);this._minPos=hI(n,this.min),this._tableRange=hI(n,this.max)-this._minPos,super.initOffsets(e)}buildLookupTable(e){const{min:n,max:o}=this,r=[],i=[];let s,c,d,h,u;for(s=0,c=e.length;s<c;++s)h=e[s],h>=n&&h<=o&&r.push(h);if(r.length<2)return[{time:n,pos:0},{time:o,pos:1}];for(s=0,c=r.length;s<c;++s)u=r[s+1],d=r[s-1],h=r[s],Math.round((u+d)/2)!==h&&i.push({time:h,pos:s/(c-1)});return i}_generate(){const e=this.min,n=this.max;let o=super.getDataTimestamps();return(!o.includes(e)||!o.length)&&o.splice(0,0,e),(!o.includes(n)||o.length===1)&&o.push(n),o.sort((r,i)=>r-i)}_getTimestampsForTable(){let e=this._cache.all||[];if(e.length)return e;const n=this.getDataTimestamps(),o=this.getLabelTimestamps();return n.length&&o.length?e=this.normalize(n.concat(o)):e=n.length?n:o,e=this._cache.all=e,e}getDecimalForValue(e){return(hI(this._table,e)-this._minPos)/this._tableRange}getValueForPixel(e){const n=this._offsets,o=this.getDecimalForPixel(e)/n.factor-n.end;return hI(this._table,o*this._tableRange+this._minPos,!0)}}se(Wq,"id","timeseries"),se(Wq,"defaults",dI.defaults);const kQ={key:0,class:"mb-2 text-sm font-medium text-gray-700"},gQ={key:0,class:"text-red-500 ml-1"},bQ={key:0,class:"absolute inset-0 flex items-center justify-center bg-white"},MQ={key:1,class:"absolute inset-0 flex items-center justify-center bg-red-50 border border-red-200 rounded"},xQ={class:"text-red-600 text-sm"},wQ={key:1,class:"mt-2 text-xs text-gray-500"},vQ={key:0},Gq=Wl(a.defineComponent({name:"DCodeChart",__name:"DCodeChart",props:{type:{default:"line"},width:{default:400},height:{default:300},required:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},error:{default:null},showInfo:{type:Boolean,default:!1},responsive:{type:Boolean,default:!0},maintainAspectRatio:{type:Boolean,default:!1},theme:{default:"light"},colors:{default:()=>["#3B82F6","#EF4444","#10B981","#F59E0B","#8B5CF6","#EC4899","#14B8A6","#F97316","#6366F1","#84CC16"]},data:{},modelValue:{},options:{},onClick:{},onHover:{},label:{}},emits:["update:modelValue","click","hover","ready"],setup(t,{expose:e,emit:n}){fa.register(VB,PB,rI,Ua,iI,g1,eQ,lQ,JJ,WJ,KS,YS,kB,il);const o=t,r=n,i=a.ref(null),s=a.ref(null),c=a.computed(()=>({"opacity-50 pointer-events-none":o.loading||o.error})),d=()=>{const p=o.theme==="dark";return{responsive:o.responsive,maintainAspectRatio:o.maintainAspectRatio,animation:{duration:1e3,easing:"easeInOutQuart",delay:y=>{let f=0;return y.type==="data"&&y.mode==="default"&&(f=y.dataIndex*100+y.datasetIndex*50),f},onComplete:()=>{}},plugins:{legend:{position:"top",labels:{color:p?"#E5E7EB":"#374151",font:{size:12}}},tooltip:{backgroundColor:p?"#1F2937":"#FFFFFF",titleColor:p?"#F3F4F6":"#111827",bodyColor:p?"#D1D5DB":"#4B5563",borderColor:p?"#374151":"#E5E7EB",borderWidth:1,animation:{duration:200,easing:"easeInOutQuad"}}},scales:o.type!=="pie"&&o.type!=="doughnut"&&o.type!=="polarArea"?{x:{grid:{color:p?"#374151":"#E5E7EB"},ticks:{color:p?"#D1D5DB":"#6B7280"}},y:{grid:{color:p?"#374151":"#E5E7EB"},ticks:{color:p?"#D1D5DB":"#6B7280"}}}:void 0}},h=p=>!p||!p.datasets?p:{...p,datasets:p.datasets.map((y,f)=>({...y,borderColor:y.borderColor||o.colors[f%o.colors.length],backgroundColor:y.backgroundColor||o.colors[f%o.colors.length]+"20",pointBackgroundColor:y.pointBackgroundColor||o.colors[f%o.colors.length],pointBorderColor:y.pointBorderColor||o.colors[f%o.colors.length],hoverBackgroundColor:y.hoverBackgroundColor||o.colors[f%o.colors.length]+"40",hoverBorderColor:y.hoverBorderColor||o.colors[f%o.colors.length]}))},u=async()=>{if(!i.value)return;await a.nextTick(),s.value&&s.value.destroy();const p=h(o.data||o.modelValue);if(!p)return;const y={...d(),...o.options};s.value=new fa(i.value,{type:o.type,data:p,options:y,onClick:(f,m)=>{r("click",f,m),o.onClick&&o.onClick(f,m)},onHover:(f,m)=>{r("hover",f,m),o.onHover&&o.onHover(f,m)}}),r("ready",s.value)};return a.watch(()=>[o.data,o.modelValue,o.type,o.options,o.theme],()=>{u()},{deep:!0}),a.watch(()=>[o.width,o.height],()=>{s.value&&s.value.resize()}),a.onMounted(()=>{u()}),a.onUnmounted(()=>{s.value&&s.value.destroy()}),e({chart:s,updateChart:u}),(p,y)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["d-code-chart",c.value])},[t.label?(a.openBlock(),a.createElementBlock("div",kQ,[a.createTextVNode(a.toDisplayString(t.label)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",gQ,"*")):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:"relative",style:a.normalizeStyle({height:t.height+"px"})},[a.createElementVNode("canvas",{ref_key:"chartCanvas",ref:i},null,512),t.loading?(a.openBlock(),a.createElementBlock("div",bQ,[...y[0]||(y[0]=[a.createElementVNode("div",{class:"animate-pulse-slow rounded-full h-8 w-8 border-b-2 border-blue-600"},null,-1)])])):a.createCommentVNode("",!0),t.error?(a.openBlock(),a.createElementBlock("div",MQ,[a.createElementVNode("div",xQ,a.toDisplayString(t.error),1)])):a.createCommentVNode("",!0)],4),t.showInfo&&p.chartData?(a.openBlock(),a.createElementBlock("div",wQ,[p.chartData.datasets?(a.openBlock(),a.createElementBlock("div",vQ,a.toDisplayString(p.chartData.datasets.length)+" dataset(s) • "+a.toDisplayString(p.chartData.labels?p.chartData.labels.length:0)+" data points ",1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0)],2))}}),[["__scopeId","data-v-5b6eaeb4"]]),CQ=["aria-busy"],LQ={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},SQ={key:1,class:"flex justify-end"},IQ=["for"],_Q={key:0,class:"ml-1 text-destructive"},BQ={class:"relative w-full group"},AQ={class:"flex items-center self-stretch px-3 bg-gray-50 dark:bg-neutral-800 border-r border-gray-300 dark:border-gray-700"},VQ={class:"text-sm font-semibold text-gray-500 dark:text-gray-400 whitespace-nowrap select-none"},PQ=["id","disabled","readonly","placeholder","maxlength"],DQ={key:0,class:"absolute top-full right-0 z-10 text-[11px] text-gray-400 dark:text-gray-500 opacity-0 transition-opacity pointer-events-none group-focus-within:opacity-100 mt-0.5"},qQ={key:1,class:"flex items-center gap-1 text-xs text-destructive"},Yq=a.defineComponent({name:"DCodeCurrencyField",inheritAttrs:!1,__name:"DCodeCurrencyField",props:{modelValue:{},currency:{default:"IDR"},locale:{},label:{},placeholder:{},error:{},disabled:{type:Boolean},readonly:{type:Boolean},clearable:{type:Boolean},hideClearWhenEmpty:{type:Boolean,default:!0},prependInner:{},skeleton:{type:Boolean,default:!1},showCharCount:{type:Boolean,default:!0}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=Math.random().toString(36).slice(2,7),s=a.computed(()=>`app-currency-field-${n.id||r.label||"currency-field"}-${i}`),c=a.computed(()=>{const A=n.required,V=n["aria-required"];return A===""||A===!0||A==="true"||(V==="true"||V===!0)}),d=a.computed(()=>{const A=n.maxlength??n.maxLength;let V=Number.NaN;return typeof A=="number"?V=A:typeof A=="string"&&(V=Number.parseInt(A,10)),Number.isFinite(V)&&V>0?V:void 0}),h=a.computed(()=>r.locale?r.locale:"en-US"),u=a.computed(()=>r.prependInner?r.prependInner:r.currency==="USD"?"$":r.currency==="IDR"?"Rp":r.currency),p=a.computed(()=>new Intl.NumberFormat(h.value,{style:"decimal",minimumFractionDigits:0,maximumFractionDigits:0})),y=A=>{const V=A.replaceAll(/\D/g,"");return V?Number(V):null},f=A=>p.value.format(A),m=a.ref(""),k=a.ref(null);a.watch(()=>r.modelValue,A=>{A==null?m.value="":y(m.value)!==A&&(m.value=f(A))},{immediate:!0});const g=(A,V)=>{let q=0;for(let O=0;O<V;O++)/\d/.test(A[O])&&q++;return q},b=(A,V)=>{let q=0;for(let O=0;O<A.length;O++)if(/\d/.test(A[O])&&(q++,q===V))return O+1;return A.length},w=A=>{const V=A.target,q=V.value,O=V.selectionStart??q.length,N=y(q);if(N===null){m.value="",o("update:modelValue",null);return}const T=f(N);if(q!==T){const H=g(q,O);m.value=T,a.nextTick(()=>{if(k.value){const j=b(T,H);k.value.setSelectionRange(j,j)}})}o("update:modelValue",N)},S=()=>{m.value="",o("update:modelValue",null),o("clear")},C=a.computed(()=>!r.clearable||r.disabled||r.readonly?!1:r.hideClearWhenEmpty?m.value.length>0:!0),x=a.computed(()=>!!r.error),M=a.computed(()=>{const{class:A,maxlength:V,maxLength:q,...O}=n;return O}),v=a.computed(()=>m.value.length),L=a.computed(()=>r.showCharCount?(d.value??0)>0:!1),I=a.computed(()=>L.value&&v.value>0),_=a.computed(()=>`${v.value} / ${d.value}`);return(A,V)=>(a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1.5 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[t.label?(a.openBlock(),a.createElementBlock("div",LQ)):a.createCommentVNode("",!0),V[2]||(V[2]=a.createElementVNode("div",{class:"relative w-full"},[a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"})],-1)),L.value?(a.openBlock(),a.createElementBlock("div",SQ,[...V[1]||(V[1]=[a.createElementVNode("div",{class:"h-3 w-14 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1)])])):a.createCommentVNode("",!0)],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[t.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:s.value,class:"text-sm font-medium text-gray-700 dark:text-gray-300"},[a.createTextVNode(a.toDisplayString(t.label)+" ",1),c.value?(a.openBlock(),a.createElementBlock("span",_Q,"*")):a.createCommentVNode("",!0)],8,IQ)):a.createCommentVNode("",!0),a.createElementVNode("div",BQ,[a.createElementVNode("div",{class:a.normalizeClass(["flex items-center w-full rounded-lg border overflow-hidden transition-all duration-200","bg-white dark:bg-neutral-900",x.value?"border-destructive ring-1 ring-destructive":"border-gray-300 dark:border-gray-700 focus-within:border-blue-500 focus-within:ring-1 focus-within:ring-blue-500 dark:focus-within:border-blue-400",r.disabled?"opacity-50 cursor-not-allowed bg-gray-50 dark:bg-neutral-800":""])},[a.createElementVNode("div",AQ,[a.createElementVNode("span",VQ,a.toDisplayString(u.value),1)]),a.withDirectives(a.createElementVNode("input",a.mergeProps({id:s.value,ref_key:"inputRef",ref:k,"onUpdate:modelValue":V[0]||(V[0]=q=>m.value=q),onInput:w,type:"text",inputmode:"numeric"},M.value,{disabled:r.disabled,readonly:r.readonly,placeholder:r.placeholder,maxlength:d.value,class:["flex-1 h-10 px-3 py-2 text-sm bg-transparent text-foreground dark:text-gray-300 outline-none placeholder:text-gray-400",C.value?"pr-8":""]}),null,16,PQ),[[a.vModelText,m.value]]),C.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center w-8 h-10 text-gray-400 hover:text-gray-600 dark:hover:text-gray-200 transition-colors flex-shrink-0","aria-label":"Clear input",onClick:S},[a.createVNode(a.unref(Mt),{class:"w-3.5 h-3.5"})])):a.createCommentVNode("",!0)],2),I.value&&!x.value?(a.openBlock(),a.createElementBlock("p",DQ,a.toDisplayString(_.value),1)):a.createCommentVNode("",!0)]),x.value?(a.openBlock(),a.createElementBlock("p",qQ,[a.createVNode(a.unref(At),{class:"w-3.5 h-3.5 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(r.error),1)])):a.createCommentVNode("",!0)],64))],10,CQ))}}),Kq=a.defineComponent({__name:"DCodeDialogCloseBtn",props:{icon:{default:"X"},iconSize:{default:22}},setup(t){const e=t,n=a.computed(()=>La[e.icon]??Mt);return(o,r)=>(a.openBlock(),a.createBlock(a.unref(Se),{type:"button",variant:"secondary",size:"icon",class:"rounded-full shadow-sm"},{default:a.withCtx(()=>[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(n.value),{size:Number(t.iconSize)},null,8,["size"]))]),_:1}))}}),zQ={key:0,class:"text-xs text-muted-foreground"},EQ=["src"],TQ={key:1,class:"h-full w-full flex flex-col items-center justify-center text-muted-foreground gap-2 p-4 text-center"},OQ={class:"space-y-0.5"},HQ={class:"text-sm font-medium truncate max-w-[180px]"},FQ={class:"text-xs opacity-70"},$Q={class:"absolute top-2 inset-x-2 flex items-center justify-between"},jQ={key:1},RQ={class:"absolute left-2 bottom-2 z-10 inline-block max-w-[calc(100%-16px)] rounded-xl border px-3 py-2 shadow-lg backdrop-blur opacity-0 translate-y-1 scale-[0.99] transition-all duration-200 group-hover:opacity-100 group-hover:translate-y-0 group-hover:scale-100 border-border/60 dark:border-border/50 bg-background/80 dark:bg-background/30"},NQ={class:"text-[11px] text-foreground/90 space-y-1 whitespace-nowrap"},UQ={class:"flex gap-2"},WQ={class:"font-medium truncate"},GQ={class:"flex gap-2"},YQ={class:"font-medium"},KQ={class:"flex gap-2"},XQ={class:"font-medium truncate"},DB=a.defineComponent({__name:"DCodeFileResult",props:{file:{},title:{default:"File Terpilih"},description:{default:""},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:220},showEdit:{type:Boolean,default:!0},showReplace:{type:Boolean,default:!0},showRemove:{type:Boolean,default:!0},forceFileIcon:{type:Boolean,default:!1}},emits:["edit","replace","remove"],setup(t,{emit:e}){const n=t,o=e,r=a.ref(null),i=a.computed(()=>n.forceFileIcon||!n.file?!1:(n.file.type||"").startsWith("image/"));a.watch(()=>n.file,d=>{r.value&&URL.revokeObjectURL(r.value),r.value=d?URL.createObjectURL(d):null},{immediate:!0}),a.onBeforeUnmount(()=>{r.value&&URL.revokeObjectURL(r.value)});function s(d){const h=d/1024,u=h/1024;return u>=1?`${u.toFixed(2)} MB`:h>=1?`${h.toFixed(1)} KB`:`${d} B`}const c=a.computed(()=>n.file?{name:n.file.name,size:s(n.file.size),type:n.file.type||"unknown"}:null);return(d,h)=>t.file?(a.openBlock(),a.createBlock(Qs,{key:0,class:a.normalizeClass(t.disabled?"opacity-60 pointer-events-none":"")},{default:a.withCtx(()=>[a.createVNode(Xl,{class:"pb-2"},{default:a.withCtx(()=>[a.createVNode(BS,{class:"text-sm font-semibold"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(t.title),1)]),_:1}),t.description?(a.openBlock(),a.createElementBlock("div",zQ,a.toDisplayString(t.description),1)):a.createCommentVNode("",!0)]),_:1}),a.createVNode(el,{class:"pt-2"},{default:a.withCtx(()=>{var u,p,y,f,m;return[a.createElementVNode("div",{class:"group relative rounded-xl overflow-hidden bg-muted border-2 border-dashed border-border w-full transition-colors duration-200 hover:border-primary/50 hover:bg-primary/5",style:a.normalizeStyle({height:`${t.previewHeight}px`})},[i.value&&r.value?(a.openBlock(),a.createElementBlock("img",{key:0,src:r.value,alt:"Preview",class:"h-full w-full object-contain"},null,8,EQ)):(a.openBlock(),a.createElementBlock("div",TQ,[a.createVNode(a.unref(Cs),{class:"w-10 h-10"}),a.createElementVNode("div",OQ,[a.createElementVNode("p",HQ,a.toDisplayString((u=c.value)==null?void 0:u.name),1),a.createElementVNode("p",FQ,a.toDisplayString((p=c.value)==null?void 0:p.size),1)])])),a.createElementVNode("div",$Q,[t.showEdit&&i.value?(a.openBlock(),a.createBlock(Wt,{key:0,icon:"Pencil",size:"icon",variant:"secondary",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:h[0]||(h[0]=k=>o("edit"))},null,8,["disabled"])):(a.openBlock(),a.createElementBlock("div",jQ)),t.showRemove?(a.openBlock(),a.createBlock(Wt,{key:2,icon:"Trash2",size:"icon",variant:"destructive",disabled:t.disabled,class:"h-8 w-8 shadow transition-transform duration-200 group-hover:scale-[1.02]",onClick:h[1]||(h[1]=k=>o("remove"))},null,8,["disabled"])):a.createCommentVNode("",!0)]),a.createElementVNode("div",RQ,[a.createElementVNode("div",NQ,[a.createElementVNode("div",UQ,[h[2]||(h[2]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Nama",-1)),a.createElementVNode("span",WQ,a.toDisplayString((y=c.value)==null?void 0:y.name),1)]),a.createElementVNode("div",GQ,[h[3]||(h[3]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Ukuran",-1)),a.createElementVNode("span",YQ,a.toDisplayString((f=c.value)==null?void 0:f.size),1)]),a.createElementVNode("div",KQ,[h[4]||(h[4]=a.createElementVNode("span",{class:"w-14 shrink-0 text-muted-foreground"},"Tipe",-1)),a.createElementVNode("span",XQ,a.toDisplayString((m=c.value)==null?void 0:m.type),1)])])])],4)]}),_:1})]),_:1},8,["class"])):a.createCommentVNode("",!0)}}),ZQ={class:"space-y-3"},JQ={key:1,class:"flex items-center justify-center p-6 border rounded-lg bg-muted/30"},QQ={name:"DCodeFileField"},Xq=a.defineComponent({...QQ,props:{modelValue:{default:null},label:{default:"Upload File"},hint:{},disabled:{type:Boolean,default:!1},previewHeight:{default:190},previewWidth:{default:void 0},allowedTypes:{default:null},accept:{default:void 0},minSizeMb:{default:null},maxSizeMb:{default:5},endpoint:{},uploadFn:{}},emits:["update:modelValue","error","uploaded"],setup(t,{emit:e}){const n=t,o=e,r=a.computed({get:()=>n.modelValue,set:M=>o("update:modelValue",M)}),i=a.ref(null),s=a.ref(null);function c(M){s.value=M,o("error",M)}function d(){s.value=null}const h=a.computed(()=>{const M=(n.allowedTypes??"").trim();return M?M.split(/[,\s;]+/g).map(L=>L.trim().toLowerCase()).filter(Boolean).map(L=>L.includes("/")||L.startsWith(".")?L:`.${L}`):[]});function u(M){const v=M.lastIndexOf(".");return v>=0?M.slice(v).toLowerCase():""}const p=a.computed(()=>{if(h.value.length){const M=h.value.filter(L=>L.startsWith("."));return[...h.value.filter(L=>L.includes("/")),...M].join(",")}return n.accept}),y=a.computed(()=>h.value.length?h.value.join(", "):n.accept||"Semua File");function f(M){if(h.value.length){const v=(M.type||"").toLowerCase(),L=u(M.name);return h.value.some(I=>I.includes("/")?v===I:I.startsWith(".")?L===I:L===`.${I}`)}if(n.accept){if(n.accept==="*/*")return!0;const v=n.accept.split(",").map(_=>_.trim().toLowerCase()),L=(M.type||"").toLowerCase(),I=u(M.name);return v.some(_=>{if(_.endsWith("/*")){const A=_.slice(0,-2);return L.startsWith(A)}return _.startsWith(".")?I===_:L===_})}return!0}function m(M){return M*1024*1024}async function k(M){return M?f(M)?n.minSizeMb!=null&&M.size<m(n.minSizeMb)?`Ukuran file terlalu kecil. Minimal ${n.minSizeMb}MB`:n.maxSizeMb!=null&&M.size>m(n.maxSizeMb)?`Ukuran file terlalu besar. Maks ${n.maxSizeMb}MB`:null:`File Type not allowed. Allowed: ${y.value}`:"File tidak valid"}const{DCodeApi:g}=nt(),b=$_(),w=a.ref(!1);async function S(M){var v;if(n.uploadFn){try{w.value=!0;const L=await n.uploadFn(M);r.value=M,o("uploaded",L)}catch(L){console.error("Upload Error",L),b.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{w.value=!1}return}if(!((v=n.endpoint)!=null&&v.apiUrl)){r.value=M;return}if(typeof g!="function"){c("useApi() must expose DCodeApi()");return}try{w.value=!0;const L=new FormData;L.append("doc",M);const I=(n.endpoint.apiMethod||"POST").toUpperCase(),_=n.endpoint.apiUrl,A=await g("","",L,{_url:_,_method:I,withCredentials:!0,transformRequest:[(q,O)=>(O&&(delete O["Content-Type"],delete O["content-type"]),q)]}),V=(A==null?void 0:A.data)??A;r.value=M,o("uploaded",V)}catch(L){console.error("Upload Error",L),b.error("Upload Failed",(L==null?void 0:L.message)||"Unknown error"),c((L==null?void 0:L.message)||"Upload Failed")}finally{w.value=!1}}async function C(M){var L;if(n.disabled)return;d();const v=await k(M);if(v){c(v);return}i.value=M,n.uploadFn||(L=n.endpoint)!=null&&L.apiUrl?await S(M):r.value=M}function x(){d(),r.value=null,i.value=null}return a.watch(()=>n.modelValue,M=>{M&&!i.value&&(i.value=M),M||(i.value=null)},{immediate:!0}),(M,v)=>(a.openBlock(),a.createElementBlock("div",ZQ,[r.value?w.value?(a.openBlock(),a.createElementBlock("div",JQ,[...v[1]||(v[1]=[a.createElementVNode("span",{class:"text-sm text-muted-foreground animate-pulse"},"Uploading...",-1)])])):(a.openBlock(),a.createBlock(DB,{key:2,file:r.value,title:t.label,description:t.hint,disabled:t.disabled,"show-edit":!1,"show-replace":!1,"show-remove":!0,"force-file-icon":!0,"preview-height":t.previewHeight,"preview-width":t.previewWidth,onRemove:x},null,8,["file","title","description","disabled","preview-height","preview-width"])):(a.openBlock(),a.createBlock(AS,{key:0,label:t.label,hint:t.hint,accept:p.value,maxSizeMb:t.maxSizeMb,disabled:t.disabled||w.value,onPicked:C,error:s.value,onError:v[0]||(v[0]=L=>c(L))},null,8,["label","hint","accept","maxSizeMb","disabled","error"]))]))}}),eee=["for"],tee={key:0,class:"!ml-1 !text-destructive"},aee={class:"relative w-full block box-border"},nee={key:0,class:"absolute inset-y-0 left-3 flex items-center text-muted-foreground pointer-events-none z-10"},oee=["id","readonly","disabled","placeholder"],ree={class:"absolute inset-y-0 right-4 flex items-center z-10"},iee={key:1,class:"absolute z-50 mt-1 w-full rounded-xl border bg-white dark:bg-neutral-900 shadow-lg box-border"},see={key:0,class:"flex items-center justify-center py-10 text-muted-foreground gap-2"},lee={key:1,class:"text-sm text-muted-foreground text-center"},cee=["onClick","title"],dee={class:"flex flex-col items-center justify-between gap-2 py-1 min-h-[72px]"},hee={class:"flex items-center justify-center flex-1"},uee={class:"text-[10px] leading-tight text-muted-foreground truncate w-full text-center block flex-shrink-0"},pee={key:3,class:"pt-2 text-[11px] text-muted-foreground text-center"},Zq=a.defineComponent({name:"DCodeIconDropdown",__name:"DCodeIconDropdown",props:{modelValue:{},label:{},placeholder:{default:"Pilih icon…"},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},clearable:{type:Boolean,default:!0},columns:{default:4},maxHeight:{default:"335px"},iconSize:{default:20},pageSize:{default:120}},emits:["update:modelValue","clear"],setup(t,{emit:e}){const n=t,o=e,r=La,i=a.ref(null),s=a.ref(null),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`dcode-icon-dropdown-${n.label||"icon-dropdown"}-${c}`),h=a.ref(!1),u=a.computed(()=>(n.modelValue??"").trim()||""),p=a.ref(""),y=a.ref(!1),f=a.ref(!1),m=a.ref(!1),k=a.shallowRef([]),g=a.ref(n.pageSize),b=new Set(["default","createLucideIcon","LucideIcon","Icon","icons","toKebabCase","camelCase","children","IconNode"]),w=async()=>{if(f.value||m.value)return;m.value=!0,await new Promise(D=>setTimeout(D,0));const P=Object.keys(r).filter(D=>!b.has(D)).filter(D=>/^[A-Z]/.test(D)).filter(D=>typeof r[D]=="function"||typeof r[D]=="object"&&r[D]).sort((D,G)=>D.localeCompare(G));k.value=P,f.value=!0,m.value=!1},S=a.computed(()=>!f.value||!u.value||!k.value.includes(u.value)?null:r[u.value]),C=a.ref(u.value),x=a.computed(()=>!!u.value&&!h.value),M=a.computed(()=>{if(!f.value)return[];const P=(p.value??"").trim().toLowerCase();return P?k.value.filter(D=>D.toLowerCase().includes(P)):k.value}),v=a.computed(()=>M.value.slice(0,g.value)),L=a.computed(()=>{const P=n.columns;return P<=2?"grid-cols-2":P===3?"grid-cols-3":P===4?"grid-cols-4":P===5?"grid-cols-5":P>=8?"grid-cols-8":"grid-cols-6"});a.computed(()=>n.clearable?"!pr-10":"!pr-3"),a.computed(()=>S.value&&!h.value?"!pl-12":"!pl-3");const I=async()=>{var P;await a.nextTick(),(P=s.value)==null||P.focus()},_=async P=>{if(n.disabled)return;const D=P!==!1;if(y.value){y.value=!1;return}h.value=!0,await w(),D&&(p.value="",C.value=""),g.value=n.pageSize,await I()},A=()=>{h.value=!1,p.value="",C.value=u.value,g.value=n.pageSize},V=async()=>{n.disabled||(h.value?A():await _())};let q=null;const O=async P=>{if(n.disabled)return;o("update:modelValue",null),h.value||await _(!1),q&&clearTimeout(q);const D=C.value;q=setTimeout(()=>{p.value=D},300)},N=P=>{n.disabled||(o("update:modelValue",P),A(),queueMicrotask(()=>{var D;return(D=s.value)==null?void 0:D.blur()}))},T=()=>{n.disabled||(o("update:modelValue",null),o("clear"),y.value=!0,A(),queueMicrotask(()=>{var P;return(P=s.value)==null?void 0:P.focus()}))},H=P=>{if(P.key==="Escape"){P.preventDefault(),A();return}if(P.key==="Enter"&&h.value){const D=M.value[0];D&&(P.preventDefault(),N(D))}},j=P=>{if(!h.value)return;const D=P.target;i.value&&!i.value.contains(D)&&A()},Z=P=>{const D=P.target;D.scrollTop+D.clientHeight>=D.scrollHeight-24&&g.value<M.value.length&&(g.value=Math.min(g.value+n.pageSize,M.value.length))};return a.onMounted(()=>{document.addEventListener("mousedown",j),queueMicrotask(()=>{var P;s.value=((P=i.value)==null?void 0:P.querySelector("input"))??null}),u.value&&w()}),a.onBeforeUnmount(()=>{document.removeEventListener("mousedown",j),q&&clearTimeout(q)}),a.watch(u,P=>{h.value||(C.value=P)}),a.watch(()=>p.value,()=>{g.value=n.pageSize}),(P,D)=>(a.openBlock(),a.createElementBlock("div",{ref_key:"rootEl",ref:i,class:"!w-full !block !box-border"},[n.label?(a.openBlock(),a.createElementBlock("label",{key:0,for:d.value,class:"!text-sm !font-medium !mb-1 !block"},[a.createTextVNode(a.toDisplayString(n.label)+" ",1),n.required?(a.openBlock(),a.createElementBlock("span",tee,"*")):a.createCommentVNode("",!0)],8,eee)):a.createCommentVNode("",!0),a.createElementVNode("div",aee,[S.value&&!h.value?(a.openBlock(),a.createElementBlock("div",nee,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.value),{size:18}))])):a.createCommentVNode("",!0),a.withDirectives(a.createElementVNode("input",{id:d.value,"onUpdate:modelValue":D[0]||(D[0]=G=>C.value=G),readonly:x.value,disabled:n.disabled,placeholder:n.placeholder,class:a.normalizeClass(["w-full h-10 m-0 py-0 rounded-lg border bg-white dark:bg-neutral-900 text-foreground dark:text-gray-300 border-gray-300 dark:border-gray-700 pr-10 outline-none box-border truncate",[S.value&&!h.value?"pl-10":"pl-4",x.value?"cursor-pointer select-none":""]]),onClick:_,onFocus:_,onInput:O,onKeydown:H},null,42,oee),[[a.vModelText,C.value]]),a.createElementVNode("div",ree,[n.clearable&&u.value?(a.openBlock(),a.createElementBlock("button",{key:0,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition cursor-pointer outline-none",onMousedown:D[1]||(D[1]=a.withModifiers(()=>{},["prevent"])),onClick:T,title:"Clear"},[a.createVNode(a.unref(Mt),{class:"h-4 w-4"})],32)):(a.openBlock(),a.createElementBlock("button",{key:1,type:"button",class:"flex items-center justify-center p-1 m-0 bg-transparent border-0 text-muted-foreground hover:text-foreground transition-transform cursor-pointer outline-none",onMousedown:D[2]||(D[2]=a.withModifiers(()=>{},["prevent"])),onClick:V,title:"Open"},[a.createVNode(a.unref(Bt),{class:"h-4 w-4"})],32))]),h.value?(a.openBlock(),a.createElementBlock("div",iee,[a.createElementVNode("div",{class:"p-2 overflow-auto",style:a.normalizeStyle({maxHeight:n.maxHeight}),onScroll:Z},[m.value?(a.openBlock(),a.createElementBlock("div",see,[a.createVNode(a.unref(bt),{class:"h-4 w-4 animate-spin"}),D[3]||(D[3]=a.createElementVNode("span",{class:"text-sm"},"Loading icons…",-1))])):f.value&&M.value.length===0?(a.openBlock(),a.createElementBlock("div",lee," Icon tidak ditemukan ")):(a.openBlock(),a.createElementBlock("div",{key:2,class:a.normalizeClass(["grid gap-2",L.value])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(v.value,G=>(a.openBlock(),a.createElementBlock("button",{key:G,type:"button",class:a.normalizeClass(["group rounded-lg border p-2 hover:bg-muted/40 transition",u.value===G?"ring-1 ring-primary":""]),onClick:ne=>N(G),title:G},[a.createElementVNode("div",dee,[a.createElementVNode("div",hee,[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(a.unref(r)[G]),{size:n.iconSize,class:"shrink-0"},null,8,["size"]))]),a.createElementVNode("span",uee,a.toDisplayString(G),1)])],10,cee))),128))],2)),f.value&&M.value.length>0?(a.openBlock(),a.createElementBlock("div",pee," Showing "+a.toDisplayString(v.value.length)+" / "+a.toDisplayString(M.value.length),1)):a.createCommentVNode("",!0)],36)])):a.createCommentVNode("",!0)])],512))}}),qB=a.defineComponent({name:"DCodeLabel",inheritAttrs:!1,__name:"DCodeLabel",props:{label:{},text:{},textSize:{},textType:{},icon:{},iconClass:{}},setup(t){const e=a.useAttrs(),n=t,o=a.computed(()=>n.icon&&La[n.icon]||null),r=a.computed(()=>n.textSize?`text-${n.textSize}`:"text-xs"),i={xs:"w-3 h-3",sm:"w-3.5 h-3.5",base:"w-4 h-4",lg:"w-5 h-5",xl:"w-5 h-5","2xl":"w-6 h-6","3xl":"w-7 h-7","4xl":"w-8 h-8","5xl":"w-10 h-10","6xl":"w-12 h-12"},s=a.computed(()=>i[n.textSize??"xs"]??"w-3 h-3"),c=a.computed(()=>n.textType==="BOLD"?"font-bold":n.textType==="ITALIC"?"italic font-normal":"font-normal"),d=a.computed(()=>{const u=`${r.value} ${c.value} text-slate-600 ml-1 inline-flex items-center gap-1`,p=e.class??"";return[u,p].filter(Boolean).join(" ")}),h=a.computed(()=>{const{class:u,...p}=e;return p});return(u,p)=>(a.openBlock(),a.createElementBlock("span",a.mergeProps({class:d.value},h.value),[o.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(o.value),{key:0,class:a.normalizeClass(["shrink-0",s.value,t.iconClass])},null,8,["class"])):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(t.label||t.text),1)],16))}}),yee=["aria-busy"],fee={key:0,class:"h-4 w-32 rounded bg-gray-200 dark:bg-gray-700 animate-pulse"},mee={key:0,class:"ml-1 text-destructive"},kee={class:"min-w-0 flex-1 text-left"},gee={key:0,class:"flex flex-wrap gap-1.5"},bee={class:"max-w-[220px] truncate"},Mee=["onClick"],xee={key:1,class:"text-muted-foreground truncate"},wee={class:"flex items-center gap-2 shrink-0"},vee={key:0,class:"p-2 border-b border-gray-200 dark:border-gray-800"},Cee={key:0,class:"h-full flex items-center justify-center px-3 text-sm text-muted-foreground"},Lee=["disabled","onClick"],See={class:"truncate"},Iee={key:0,class:"text-primary-600 dark:text-primary-400"},_ee={key:1,class:"h-full flex items-center justify-center text-sm text-muted-foreground"},Bee={key:0},Aee={key:1},Vee={key:1,class:"text-xs text-destructive"},Pee={name:"DCodeMultiSelect"},Jq=a.defineComponent({...Pee,name:"DCodeMultiSelect",inheritAttrs:!1,props:{modelValue:{},items:{default:()=>[]},endpoint:{default:void 0},fetchItems:{},autoFetchOnOpen:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!1},refreshOnOpen:{type:Boolean,default:!1},label:{default:""},placeholder:{default:"Pilih data…"},disabled:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},searchable:{type:Boolean,default:!1},searchPlaceholder:{default:"Cari…"},visible:{type:Boolean,default:!0},skeleton:{type:Boolean,default:!1},maxChips:{default:2},maxSelected:{default:3},itemTitle:{type:[String,Function],default:"name"},itemValue:{type:[String,Function],default:"id"},returnObject:{type:Boolean,default:!1},virtual:{type:Boolean,default:!0},itemHeight:{default:40},maxRows:{default:5},overscan:{default:6},error:{default:null},required:{type:Boolean,default:!1}},emits:["update:modelValue","clear","max"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.computed(()=>(r.label||n.label)??void 0),s=a.computed(()=>r.visible??!0),c=Math.random().toString(36).slice(2,7),d=a.computed(()=>`app-multiselect-${n.id||i.value||"field"}-${c}`),h=a.computed(()=>{if(r.required)return!0;const Y=n.required,Q=n["aria-required"];return Y===""||Y===!0||Y==="true"||(Q==="true"||Q===!0)}),u=a.computed(()=>!!r.error);function p(Y){return Y?typeof r.itemTitle=="function"?r.itemTitle(Y)??"":String((Y==null?void 0:Y[r.itemTitle])??""):""}function y(Y){return Y?typeof r.itemValue=="function"?r.itemValue(Y):Y==null?void 0:Y[r.itemValue]:null}function f(Y,Q){return y(Y)??Q}const m=a.computed(()=>Array.isArray(r.modelValue)?r.modelValue:[]),k=a.computed(()=>{var Y;return!!((Y=r.endpoint)!=null&&Y.apiUrl)||!!r.fetchItems}),g=a.ref([]),b=a.ref(!1),w=a.ref(!1),S=a.computed(()=>{var Q;const Y=(Q=r.endpoint)==null?void 0:Q.apiOptions;if(Y)return typeof Y=="function"?Y():Y}),C=a.computed(()=>{var me,He;const Y=((me=r.endpoint)==null?void 0:me.apiUrl)??"",Q=(((He=r.endpoint)==null?void 0:He.apiMethod)??"GET").toUpperCase(),ae=JSON.stringify(S.value??null);return`${Q} ${Y} :: ${ae}`}),x=a.computed(()=>k.value?g.value:r.items||[]);async function M(){var Y;if(k.value&&!(!((Y=r.endpoint)!=null&&Y.apiUrl)&&!r.fetchItems)&&!b.value){b.value=!0;try{let Q;if(r.fetchItems){const ae=await r.fetchItems(),me=(ae==null?void 0:ae.data)??ae;Q=(me==null?void 0:me.data)??me}else{const{DCodeApi:ae}=nt();if(typeof ae!="function"){console.error("[DCodeMultiSelectChips] useApi() must expose DCodeApi()");return}const me={page:1,perPage:100,...S.value||{}},He=await ae("","",me,{_url:r.endpoint.apiUrl,_method:(r.endpoint.apiMethod||"GET").toUpperCase()}),It=(He==null?void 0:He.data)??He;Q=(It==null?void 0:It.data)??It}g.value=Array.isArray(Q)?Q:[],w.value=!0}catch(Q){console.error("[DCodeMultiSelectChips][fetchOptions] ERROR:",Q),g.value=[]}finally{b.value=!1}}}a.watch(()=>C.value,()=>{g.value=[],w.value=!1}),a.onMounted(()=>{r.autoFetchOnMount&&k.value&&M()});const v=a.computed(()=>{const Y=m.value;if(r.returnObject)return Y;const Q=new Map;for(const ae of x.value)Q.set(y(ae),ae);return Y.map(ae=>Q.get(ae)??{[r.itemValue]:ae,[r.itemTitle]:String(ae)})}),L=a.computed(()=>r.maxChips===null?v.value:v.value.slice(0,r.maxChips));function I(Y){const Q=m.value;if(r.returnObject){const ae=y(Y);return Q.some(me=>y(me)===ae)}return Q.includes(y(Y))}const _=a.computed(()=>{if(r.maxSelected===null||r.maxSelected===void 0)return null;const Y=Number(r.maxSelected);return Number.isFinite(Y)&&Y>0?Y:null}),A=a.computed(()=>{const Y=_.value;return Y===null?!1:m.value.length>=Y});function V(Y){return!I(Y)&&A.value}const q=a.computed(()=>{const Y=m.value,Q=new Set;if(r.returnObject)for(const ae of Y)Q.add(y(ae));else for(const ae of Y)Q.add(ae);return Q}),O=a.computed(()=>{const Y=q.value;return(x.value||[]).filter(Q=>!Y.has(y(Q)))}),N=a.computed(()=>x.value.length===0?!1:O.value.length===0),T=a.ref(null),H=a.ref(null),j=a.ref(null),Z=a.ref(!1),P=a.ref(""),D=a.ref(0),G=a.ref(0),{floatingStyles:ne}=gS(T,H,{whileElementsMounted:yS,placement:"bottom-start",middleware:[fS(8),jl(),mS({padding:8}),kS({apply({rects:Y,elements:Q}){Object.assign(Q.floating.style,{width:`${Y.reference.width}px`,"--floating-width":`${Y.reference.width}px`})}})]}),te=a.computed(()=>ne.value),ce=a.computed(()=>{const Y=Number(r.maxRows);return Number.isFinite(Y)&&Y>0?Y:5});async function pe(){r.disabled||(Z.value=!0,G.value=0,requestAnimationFrame(()=>{j.value&&(j.value.scrollTop=0),D.value=0}),k.value&&r.autoFetchOnOpen&&(r.refreshOnOpen||!w.value)&&!b.value&&await M())}function le(){Z.value=!1}function Le(){Z.value?le():pe()}function ue(Y){var ae,me;if(!Z.value)return;const Q=Y.target;(ae=T.value)!=null&&ae.contains(Q)||(me=H.value)!=null&&me.contains(Q)||le()}a.onMounted(()=>document.addEventListener("mousedown",ue)),a.onBeforeUnmount(()=>document.removeEventListener("mousedown",ue));function U(Y){if(r.disabled)return;if(V(Y)){o("max");return}const Q=[...m.value];if(r.returnObject){const ae=y(Y);if(Q.some(He=>y(He)===ae))return;o("update:modelValue",[...Q,Y])}else{const ae=y(Y);if(Q.includes(ae))return;o("update:modelValue",[...Q,ae])}P.value="",G.value=0,requestAnimationFrame(()=>{j.value&&(j.value.scrollTop=0),D.value=0})}function z(Y){if(r.disabled)return;const Q=[...m.value];if(r.returnObject){const ae=y(Y);o("update:modelValue",Q.filter(me=>y(me)!==ae))}else{const ae=y(Y);o("update:modelValue",Q.filter(me=>me!==ae))}}function W(){r.disabled||(o("update:modelValue",[]),o("clear"),le())}const ee=a.computed(()=>{const Y=P.value.trim().toLowerCase(),Q=O.value;return Y?Q.filter(ae=>p(ae).toLowerCase().includes(Y)):Q}),fe=a.computed(()=>ee.value.length);a.watch(Z,Y=>{Y||(P.value="")});const Te=a.computed(()=>{if(N.value)return r.itemHeight;const Y=fe.value;return(Y<=0?1:Math.min(Y,ce.value))*r.itemHeight}),xe=a.computed(()=>r.virtual?fe.value*r.itemHeight:0),Qe=a.computed(()=>r.virtual?Math.ceil(Te.value/r.itemHeight)+r.overscan:fe.value),it=a.computed(()=>{if(!r.virtual)return 0;const Y=Math.floor(D.value/r.itemHeight)-Math.floor(r.overscan/2);return Math.max(0,Y)}),St=a.computed(()=>r.virtual?Math.min(fe.value,it.value+Qe.value):fe.value),M1=a.computed(()=>r.virtual?it.value*r.itemHeight:0),ht=a.computed(()=>{const Y=ee.value;return r.virtual?Y.slice(it.value,St.value):Y});function ka(Y){const Q=Y.target;D.value=Q.scrollTop}function x1(Y){return Y===G.value}function $(Y){const Q=j.value;if(!Q||!r.virtual)return;const ae=Y*r.itemHeight,me=ae+r.itemHeight,He=Q.scrollTop,It=Q.scrollTop+Q.clientHeight;ae<He?Q.scrollTop=ae:me>It&&(Q.scrollTop=me-Q.clientHeight)}function J(Y){const Q=Math.max(0,fe.value-1);G.value=Math.min(Q,Math.max(0,G.value+Y)),$(G.value)}function de(){const Y=ee.value[G.value];Y&&U(Y)}const Ve=a.computed(()=>r.clearable&&!r.disabled&&v.value.length>0),Oe=a.computed(()=>u.value?"border-red-500 ring-[0.5px] ring-red-500":Z.value?"border-gray-700 ring-[0.5px] ring-gray-700 dark:border-gray-300 dark:ring-gray-300":"");return(Y,Q)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-1 w-full",a.unref(n).class]),"aria-busy":r.skeleton},[r.skeleton?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[i.value?(a.openBlock(),a.createElementBlock("div",fee)):a.createCommentVNode("",!0),Q[3]||(Q[3]=a.createElementVNode("div",{class:"h-10 w-full rounded-lg bg-gray-200 dark:bg-gray-700 animate-pulse"},null,-1))],64)):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[i.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i.value)+" ",1),h.value?(a.openBlock(),a.createElementBlock("span",mee,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"referenceEl",ref:T,class:"relative"},[a.createVNode(a.unref(Se),{id:d.value,type:"button",variant:"outline",class:a.normalizeClass(["w-full justify-between h-auto min-h-10 px-3 py-2 transition border",["bg-white dark:bg-neutral-900 border-gray-300 dark:border-gray-700 text-foreground dark:text-gray-300",Oe.value]]),disabled:r.disabled,onClick:Le},{default:a.withCtx(()=>[a.createElementVNode("div",kee,[v.value.length?(a.openBlock(),a.createElementBlock("div",gee,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(L.value,(ae,me)=>(a.openBlock(),a.createBlock(a.unref(Oa),{key:`chip-${f(ae,me)}`,variant:"secondary",class:"gap-1"},{default:a.withCtx(()=>[a.createElementVNode("span",bee,a.toDisplayString(p(ae)),1),r.disabled?a.createCommentVNode("",!0):(a.openBlock(),a.createElementBlock("button",{key:0,class:"ml-1 opacity-70 hover:opacity-100",onClick:a.withModifiers(He=>z(ae),["stop"]),"aria-label":"Remove"}," ✕ ",8,Mee))]),_:2},1024))),128)),r.maxChips!==null&&v.value.length>r.maxChips?(a.openBlock(),a.createBlock(a.unref(Oa),{key:0,variant:"secondary"},{default:a.withCtx(()=>[a.createTextVNode(" +"+a.toDisplayString(v.value.length-(r.maxChips??0)),1)]),_:1})):a.createCommentVNode("",!0)])):(a.openBlock(),a.createElementBlock("div",xee,a.toDisplayString(r.placeholder),1))]),a.createElementVNode("div",wee,[Ve.value?(a.openBlock(),a.createElementBlock("button",{key:0,class:"text-muted-foreground hover:text-foreground",onClick:a.withModifiers(W,["stop"]),"aria-label":"Clear"}," ✕ ")):a.createCommentVNode("",!0),a.createVNode(a.unref(Bt),{class:"h-4 w-4 text-muted-foreground"})])]),_:1},8,["id","disabled","class"]),(a.openBlock(),a.createBlock(a.Teleport,{to:"body"},[Z.value?(a.openBlock(),a.createElementBlock("div",{key:0,ref_key:"floatingEl",ref:H,class:"-mt-1 z-[9999] w-[var(--floating-width)] rounded-lg border shadow-lg overflow-hidden bg-white dark:bg-neutral-900 border-gray-200 dark:border-gray-800",style:a.normalizeStyle(te.value)},[r.searchable&&!N.value?(a.openBlock(),a.createElementBlock("div",vee,[a.createVNode(a.unref(_S),{modelValue:P.value,"onUpdate:modelValue":Q[0]||(Q[0]=ae=>P.value=ae),placeholder:r.searchPlaceholder,class:"h-10",onKeydown:[Q[1]||(Q[1]=a.withKeys(a.withModifiers(ae=>J(1),["prevent"]),["down"])),Q[2]||(Q[2]=a.withKeys(a.withModifiers(ae=>J(-1),["prevent"]),["up"])),a.withKeys(a.withModifiers(de,["prevent"]),["enter"]),a.withKeys(a.withModifiers(le,["prevent"]),["esc"])]},null,8,["modelValue","placeholder","onKeydown"])])):a.createCommentVNode("",!0),a.createElementVNode("div",{ref_key:"listEl",ref:j,class:"relative overflow-auto",style:a.normalizeStyle({height:Te.value+"px"}),onScroll:ka},[N.value?(a.openBlock(),a.createElementBlock("div",Cee," All items have been selected ")):(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[r.virtual?(a.openBlock(),a.createElementBlock("div",{key:0,style:a.normalizeStyle({height:xe.value+"px"})},null,4)):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.virtual?"absolute left-0 top-0 w-full":""),style:a.normalizeStyle(r.virtual?{transform:`translateY(${M1.value}px)`}:void 0)},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(ht.value,(ae,me)=>(a.openBlock(),a.createElementBlock("button",{key:String(f(ae,it.value+me)),type:"button",class:a.normalizeClass(["w-full px-3 text-left text-sm flex items-center justify-between gap-3",[V(ae)?"cursor-not-allowed opacity-50":"hover:bg-neutral-50 dark:hover:bg-neutral-800/60",x1(it.value+me)?"bg-neutral-50 dark:bg-neutral-800/60":"",I(ae)?"font-semibold":"font-normal"]]),style:a.normalizeStyle({height:r.itemHeight+"px"}),disabled:r.disabled||V(ae),onClick:He=>U(ae)},[a.createElementVNode("span",See,a.toDisplayString(p(ae)),1),I(ae)?(a.openBlock(),a.createElementBlock("span",Iee,"✓")):a.createCommentVNode("",!0)],14,Lee))),128))],6),fe.value===0?(a.openBlock(),a.createElementBlock("div",_ee,[b.value?(a.openBlock(),a.createElementBlock("span",Bee,"Loading data…")):(a.openBlock(),a.createElementBlock("span",Aee,"Tidak ada data"))])):a.createCommentVNode("",!0)],64))],36)],4)):a.createCommentVNode("",!0)]))],512),u.value?(a.openBlock(),a.createElementBlock("p",Vee,a.toDisplayString(r.error),1)):a.createCommentVNode("",!0)],64))],10,yee)),[[a.vShow,s.value]])}}),Dee={class:"w-full"},qee={key:0,class:"flex items-center justify-between mb-2"},zee={key:0,class:"text-sm font-medium text-gray-700"},Eee={key:1,class:"text-sm text-gray-600"},Tee={name:"DCodeProgress"},Qq=a.defineComponent({...Tee,name:"DCodeProgress",inheritAttrs:!1,props:{modelValue:{default:0},max:{default:100},label:{default:""},showValue:{type:Boolean,default:!1},color:{default:"blue"},size:{default:"md"},striped:{type:Boolean,default:!1},animated:{type:Boolean,default:!1}},emits:["update:modelValue"],setup(t,{emit:e}){const n=t,o=a.computed(()=>Math.min(n.modelValue/n.max*100,100)),r=a.computed(()=>["w-full rounded-full overflow-hidden",{sm:"h-1",md:"h-2",lg:"h-3"}[n.size],"bg-gray-200"].join(" ")),i=a.computed(()=>{const c={blue:"bg-blue-500",green:"bg-green-500",red:"bg-red-500",yellow:"bg-yellow-500",purple:"bg-purple-500",gray:"bg-gray-500"},d=["h-full transition-all duration-300 ease-out",c[n.color]||c.blue];return n.striped&&d.push("bg-gradient-to-r from-transparent via-white/20 to-transparent"),n.animated&&d.push("animate-pulse"),d.join(" ")}),s=a.computed(()=>`${Math.round(o.value)}%`);return(c,d)=>(a.openBlock(),a.createElementBlock("div",Dee,[t.label||t.showValue?(a.openBlock(),a.createElementBlock("div",qee,[t.label?(a.openBlock(),a.createElementBlock("span",zee,a.toDisplayString(t.label),1)):a.createCommentVNode("",!0),t.showValue?(a.openBlock(),a.createElementBlock("span",Eee,a.toDisplayString(s.value),1)):a.createCommentVNode("",!0)])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(r.value)},[a.createElementVNode("div",{class:a.normalizeClass(i.value),style:a.normalizeStyle({width:`${o.value}%`})},null,6)],2)]))}}),Oee={key:0,class:"fixed top-0 left-0 right-0 z-[10000] h-[3px]"},ez=Wl(a.defineComponent({name:"DCodeProgressBar",__name:"DCodeProgressBar",props:{isApiLoading:{type:Boolean,default:!1},apiProgress:{default:0}},setup(t){return(e,n)=>(a.openBlock(),a.createBlock(a.Transition,{name:"fade"},{default:a.withCtx(()=>[t.isApiLoading?(a.openBlock(),a.createElementBlock("div",Oee,[a.createElementVNode("div",{class:"h-full bg-primary-600 shadow-[0_0_15px_rgba(37,99,235,0.8)] transition-all duration-300 ease-out",style:a.normalizeStyle({width:`${t.apiProgress}%`})},null,4)])):a.createCommentVNode("",!0)]),_:1}))}}),[["__scopeId","data-v-5a7c62fb"]]),Hee={class:"flex flex-col"},Fee={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},$ee={class:"relative flex-shrink-0 mt-0.5"},jee=["id","name","value","checked","disabled","required","onChange"],Ree=["onClick"],Nee=["for"],Uee={key:0,class:"ml-1 text-red-500"},Wee={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-1"},tz=a.defineComponent({name:"DCodeRadio",inheritAttrs:!1,__name:"DCodeRadio",props:{modelValue:{default:void 0},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(t,{emit:e}){a.useAttrs();const{apiUrl:n}=nt(),o=e,r=t,i=a.ref([]),s=a.ref(!1),c=a.ref(null),d=async()=>{if(r.apiUrl){s.value=!0,c.value=null;try{const S={page:1,perPage:100},C=await n(r.apiUrl,r.apiMethod,S);let x=C;r.dataPath?x=r.dataPath.split(".").reduce((v,L)=>v&&v[L]!=="undefined"?v[L]:void 0,C):typeof C=="object"&&!Array.isArray(C)&&C.data&&(x=C.data),Array.isArray(x)?i.value=x:(console.warn("DCodeRadio: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),c.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(S){console.error("DCodeRadio fetch error:",S),c.value="Gagal memuat data dari endpoint."}finally{s.value=!1}}};a.onMounted(()=>{r.apiUrl&&d()});const h=a.computed(()=>r.options&&r.options.length>0?r.options:i.value.length>0?i.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),u=S=>typeof S=="object"?S[r.model]:S,p=S=>typeof S=="object"?S[r.label]:String(S),y=a.computed(()=>r.model||`radio-group-${Math.random().toString(36).substr(2,9)}`),f=a.computed(()=>!!r.error||!!c.value),m=a.computed(()=>r.error||c.value),k=S=>S==null?r.modelValue===S:String(r.modelValue)===String(S),g=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),b=(S,C)=>{C.target.checked&&(o("update:modelValue",S),o("change",S))},w=S=>{!r.disabled&&!k(S)&&(o("update:modelValue",S),o("change",S))};return(S,C)=>(a.openBlock(),a.createElementBlock("div",Hee,[s.value?(a.openBlock(),a.createElementBlock("div",Fee,[a.createVNode(a.unref(bt),{class:"w-4 h-4 animate-spin"}),C[0]||(C[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["flex",t.layout?"flex-row flex-wrap gap-4":"flex-col gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(h.value,(x,M)=>(a.openBlock(),a.createElementBlock("div",{key:M,class:a.normalizeClass(["flex items-start",g.value.container,t.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"])},[a.createElementVNode("div",$ee,[a.createElementVNode("input",{id:t.id?`${t.id}-${M}`:`${y.value}-${M}`,name:y.value,type:"radio",value:u(x),checked:k(u(x)),disabled:t.disabled,required:t.required&&M===0,onChange:v=>b(u(x),v),class:"w-5 h-5 text-blue-600 focus:ring-blue-500 border-gray-300"},null,40,jee)]),a.createElementVNode("div",{class:"flex-1 min-w-0",onClick:v=>w(u(x))},[a.createElementVNode("label",{for:t.id?`${t.id}-${M}`:`${y.value}-${M}`,class:a.normalizeClass([g.value.label,"font-medium cursor-pointer select-none text-gray-900",t.disabled?"cursor-not-allowed opacity-50":""])},[a.createTextVNode(a.toDisplayString(p(x))+" ",1),t.required&&h.value.length===1&&t.label?(a.openBlock(),a.createElementBlock("span",Uee,"*")):a.createCommentVNode("",!0)],10,Nee)],8,Ree)],2))),128))],2),f.value&&m.value?(a.openBlock(),a.createElementBlock("div",Wee,[a.createVNode(a.unref(At),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(m.value),1)])):a.createCommentVNode("",!0)]))}}),Gee={class:"flex flex-col"},Yee={key:0,class:"flex items-center gap-2 text-sm text-gray-500 mb-2"},Kee=["onClick"],Xee=["id","name","value","checked","disabled","required","onChange"],Zee={key:1,class:"w-6 h-6",fill:"currentColor",viewBox:"0 0 20 20"},Jee=["for"],Qee={key:0,class:"ml-1 text-red-500"},ete={key:1,class:"flex items-center gap-1 text-sm text-red-500 mt-2"},az=a.defineComponent({name:"DCodeRadioCustom",inheritAttrs:!1,__name:"DCodeRadioCustom",props:{modelValue:{default:void 0},icon:{},label:{default:"name"},options:{default:()=>[]},apiUrl:{default:""},apiMethod:{default:"GET"},dataPath:{default:""},layout:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},required:{type:Boolean,default:!1},error:{default:null},size:{default:"md"},color:{default:"blue"},model:{default:"id"},id:{default:""}},emits:["update:modelValue","change"],setup(t,{emit:e}){a.useAttrs();const{apiUrl:n}=nt(),o=e,r=t,i=a.ref(r.modelValue??void 0);a.watch(()=>r.modelValue,M=>{i.value=M},{immediate:!0});const s=a.ref([]),c=a.ref(!1),d=a.ref(null),h=async()=>{if(r.apiUrl){c.value=!0,d.value=null;try{const M={page:1,perPage:100},v=await n(r.apiUrl,r.apiMethod,M);let L=v;r.dataPath?L=r.dataPath.split(".").reduce((_,A)=>_&&_[A]!=="undefined"?_[A]:void 0,v):typeof v=="object"&&!Array.isArray(v)&&v.data&&(L=v.data),Array.isArray(L)?s.value=L:(console.warn("DCodeRadioCustom: Format response tidak terdeteksi sebagai Array. Gunakan prop 'dataPath'."),d.value="Format respons data tidak valid. Array tidak ditemukan.")}catch(M){console.error("DCodeRadioCustom fetch error:",M),d.value="Gagal memuat data dari endpoint."}finally{c.value=!1}}};a.onMounted(()=>{r.apiUrl&&h()});const u=a.computed(()=>r.options&&r.options.length>0?r.options:s.value.length>0?s.value:r.model!==void 0||r.label?[{[r.model]:r.model,[r.label]:r.label}]:[]),p=M=>typeof M=="object"?M[r.model]:M,y=M=>typeof M=="object"?M[r.label]:String(M),f=Math.random().toString(36).slice(2,7),m=a.computed(()=>r.id?`radio-custom-${r.id}`:`radio-custom-${r.model}-${f}`),k=a.computed(()=>!!r.error||!!d.value),g=a.computed(()=>r.error||d.value),b=M=>{const v=i.value;return M==null?v===M:String(v)===String(M)},w=a.computed(()=>({sm:{radio:"w-3 h-3",label:"text-sm",container:"gap-2"},md:{radio:"w-4 h-4",label:"text-base",container:"gap-2"},lg:{radio:"w-5 h-5",label:"text-lg",container:"gap-3"}})[r.size]),S=a.computed(()=>r.icon&&La[r.icon]||null),C=(M,v)=>{v.target.checked&&(i.value=M,o("update:modelValue",M),o("change",M))},x=M=>{r.disabled||b(M)||(i.value=M,o("update:modelValue",M),o("change",M))};return(M,v)=>(a.openBlock(),a.createElementBlock("div",Gee,[c.value?(a.openBlock(),a.createElementBlock("div",Yee,[a.createVNode(a.unref(bt),{class:"w-4 h-4 animate-spin"}),v[0]||(v[0]=a.createTextVNode(" Sedang memuat opsi... ",-1))])):a.createCommentVNode("",!0),a.createElementVNode("div",{class:a.normalizeClass(["grid",t.layout?"grid-cols-2 sm:grid-cols-3":"grid-cols-1","gap-3"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(u.value,(L,I)=>(a.openBlock(),a.createElementBlock("div",{key:I,class:a.normalizeClass(["relative flex flex-col items-center justify-center gap-2 p-4 rounded-xl border-2 transition-all duration-200",b(p(L))?"border-blue-500 bg-blue-50 shadow-md shadow-blue-100":"border-gray-200 bg-white hover:border-gray-300 hover:shadow-sm",t.disabled?"opacity-50 cursor-not-allowed":"cursor-pointer"]),onClick:_=>!t.disabled&&x(p(L))},[a.createElementVNode("input",{id:t.id?`${t.id}-${I}`:`${m.value}-${I}`,name:m.value,type:"radio",value:p(L),checked:b(p(L)),disabled:t.disabled,required:t.required&&I===0,onChange:_=>C(p(L),_),class:"sr-only",tabindex:"-1"},null,40,Xee),a.createElementVNode("div",{class:a.normalizeClass(["w-10 h-10 rounded-full flex items-center justify-center transition-all duration-200",b(p(L))?"bg-blue-100 text-blue-600":"bg-gray-100 text-gray-400"])},[S.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(S.value),{key:0,class:"w-6 h-6"})):(a.openBlock(),a.createElementBlock("svg",Zee,[...v[1]||(v[1]=[a.createElementVNode("circle",{cx:"10",cy:"10",r:"6"},null,-1)])]))],2),a.createElementVNode("label",{for:t.id?`${t.id}-${I}`:`${m.value}-${I}`,class:a.normalizeClass([w.value.label,"font-medium text-center leading-tight select-none transition-colors duration-200",b(p(L))?"text-blue-700":"text-gray-700",t.disabled?"cursor-not-allowed":"cursor-pointer"])},[a.createTextVNode(a.toDisplayString(y(L))+" ",1),t.required&&u.value.length===1&&t.label?(a.openBlock(),a.createElementBlock("span",Qee,"*")):a.createCommentVNode("",!0)],10,Jee)],10,Kee))),128))],2),k.value&&g.value?(a.openBlock(),a.createElementBlock("div",ete,[a.createVNode(a.unref(At),{class:"w-4 h-4 flex-shrink-0"}),a.createTextVNode(" "+a.toDisplayString(g.value),1)])):a.createCommentVNode("",!0)]))}}),tte={key:0,class:"ml-1 text-destructive"},ate={class:"relative w-full"},nte={key:0,class:"mb-2 flex items-center justify-between"},ote={class:"text-sm text-muted-foreground"},rte={class:"text-sm font-medium text-foreground"},ite={class:"text-sm text-muted-foreground"},ste={class:"relative"},lte=["id","value","min","max","step","disabled","placeholder"],cte={key:1,class:"relative mt-2"},dte={class:"text-xs text-muted-foreground mt-1"},hte={key:1,class:"flex items-center gap-1 text-sm text-destructive"},ute={name:"DCodeSlider"},nz=a.defineComponent({...ute,name:"DCodeSlider",inheritAttrs:!1,props:{modelValue:{default:0},min:{default:0},max:{default:100},step:{default:1},disabled:{type:Boolean,default:!1},label:{default:""},placeholder:{default:""},required:{type:Boolean,default:!1},error:{default:null},showValue:{type:Boolean,default:!0},valuePrefix:{default:""},valueSuffix:{default:""},marks:{default:()=>[]},color:{default:"blue"},size:{default:"md"}},emits:["update:modelValue","change","input"],setup(t,{emit:e}){const n=a.useAttrs(),o=e,r=t,i=a.ref(),s=a.ref(!1),c=a.computed(()=>!!r.error),d=a.computed(()=>`slider-${Math.random().toString(36).substr(2,9)}`),h=a.computed(()=>(r.label||n.label)??void 0),u=a.computed(()=>!0),p=a.computed(()=>{const x={sm:"h-2",md:"h-2.5",lg:"h-3"},M={blue:"accent-blue-500",green:"accent-green-500",red:"accent-red-500",yellow:"accent-yellow-500",purple:"accent-purple-500",gray:"accent-gray-500"};return["w-full appearance-none bg-gray-200 rounded-lg outline-none transition-all cursor-pointer","disabled:opacity-50 disabled:cursor-not-allowed",x[r.size],M[r.color]||M.blue,c.value?"accent-red-500":"",n.class].filter(Boolean).join(" ")}),y=a.computed(()=>["appearance-none bg-white border-2 border-current rounded-full cursor-pointer transition-all","hover:scale-110 focus:scale-110","shadow-md hover:shadow-lg focus:shadow-lg","focus:outline-none focus:ring-2 focus:ring-offset-2",{sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6"}[r.size],r.color==="blue"?"focus:ring-blue-500":r.color==="green"?"focus:ring-green-500":r.color==="red"?"focus:ring-red-500":r.color==="yellow"?"focus:ring-yellow-500":r.color==="purple"?"focus:ring-purple-500":"focus:ring-gray-500"].join(" ")),f=a.computed(()=>`${r.valuePrefix}${r.modelValue}${r.valueSuffix}`),m=a.computed(()=>{const x=r.max-r.min;return(r.modelValue-r.min)/x*100}),k=x=>{const M=x.target,v=parseFloat(M.value);o("update:modelValue",v),o("input",v)},g=x=>{const M=x.target,v=parseFloat(M.value);o("change",v)},b=()=>{s.value=!0},w=()=>{s.value=!1},S=x=>{const M=r.max-r.min;return(x-r.min)/M*100},C=a.computed(()=>{const x={sm:16,md:20,lg:24};return`
|
|
8567
8567
|
input[type="range"]::-webkit-slider-thumb {
|
|
8568
8568
|
${y.value}
|
|
8569
8569
|
width: ${x[r.size]}px;
|
|
@@ -8592,4 +8592,4 @@ For more information, see https://www.reka-ui.com/docs/components/${n}`,c=`Warni
|
|
|
8592
8592
|
input[type="range"]:focus::-moz-range-thumb {
|
|
8593
8593
|
transform: scale(1.1);
|
|
8594
8594
|
}
|
|
8595
|
-
`});return(x,M)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-2 w-full",a.unref(n).class]),"aria-busy":!1},[h.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",ete,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",tte,[t.showValue?(a.openBlock(),a.createElementBlock("div",ate,[a.createElementVNode("span",nte,a.toDisplayString(r.valuePrefix)+a.toDisplayString(t.min)+a.toDisplayString(r.valueSuffix),1),a.createElementVNode("span",ote,a.toDisplayString(f.value),1),a.createElementVNode("span",rte,a.toDisplayString(r.valuePrefix)+a.toDisplayString(t.max)+a.toDisplayString(r.valueSuffix),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",ite,[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-1/2 -translate-y-1/2 w-full h-full bg-gray-200 rounded-lg pointer-events-none",[t.size==="sm"?"h-2":t.size==="md"?"h-2.5":"h-3"]])},[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-0 left-0 h-full rounded-lg transition-all",[t.color==="blue"?"bg-blue-500":t.color==="green"?"bg-green-500":t.color==="red"?"bg-red-500":t.color==="yellow"?"bg-yellow-500":t.color==="purple"?"bg-purple-500":"bg-gray-500"]]),style:a.normalizeStyle({width:`${m.value}%`})},null,6)],2),a.createElementVNode("input",{id:d.value,ref_key:"sliderRef",ref:i,type:"range",value:t.modelValue,min:t.min,max:t.max,step:t.step,disabled:t.disabled,placeholder:t.placeholder,class:a.normalizeClass(p.value),onInput:k,onChange:g,onMousedown:b,onMouseup:w,onTouchstart:b,onTouchend:w},null,42,ste)]),t.marks.length>0?(a.openBlock(),a.createElementBlock("div",lte,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.marks,v=>(a.openBlock(),a.createElementBlock("div",{key:v.value,class:"absolute flex flex-col items-center",style:a.normalizeStyle({left:`${S(v.value)}%`,transform:"translateX(-50%)"})},[M[0]||(M[0]=a.createElementVNode("div",{class:"w-1 h-2 bg-gray-400 rounded-full"},null,-1)),a.createElementVNode("span",cte,a.toDisplayString(v.label),1)],4))),128))])):a.createCommentVNode("",!0)]),c.value?(a.openBlock(),a.createElementBlock("div",dte,[M[1]||(M[1]=a.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),a.createTextVNode(" "+a.toDisplayString(t.error),1)])):a.createCommentVNode("",!0),C.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent("style"),{key:2},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(C.value),1)]),_:1})):a.createCommentVNode("",!0)],2)),[[a.vShow,u.value]])}}),oz=a.defineComponent({__name:"Avatar",props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:"sm"},shape:{default:"circle"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(CO),{class:a.normalizeClass(a.unref(he)(a.unref(ute)({size:t.size,shape:t.shape}),e.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),rz=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(SO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),iz=a.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},crossOrigin:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(BO),a.mergeProps(e,{class:"h-full w-full object-cover"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),ute=Yl("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),pte={class:"relative"},yte={class:"space-y-6"},fte={class:"flex items-center justify-between gap-3"},mte={class:"font-medium"},kte={class:"text-xs text-muted-foreground"},gte={class:"mt-1 text-sm text-muted-foreground"},bte={class:"text-foreground"},Mte={class:"text-foreground"},xte={class:"mt-1 text-xs text-muted-foreground"},wte={key:0,class:"mt-3 flex items-center gap-2 text-sm"},vte={class:"flex items-center justify-between gap-3"},Cte={class:"font-medium"},Lte={class:"text-xs text-muted-foreground"},Ste={class:"mt-2 text-sm text-muted-foreground"},Ite={class:"flex flex-wrap items-center justify-between gap-3"},_te={class:"flex items-center gap-3"},Bte={class:"leading-tight"},Ate={class:"text-sm font-medium"},Vte={class:"text-xs text-muted-foreground"},Pte={class:"flex items-center gap-2"},Dte={key:2,class:"flex flex-col gap-3 sm:flex-row sm:items-start"},qte={class:"h-16 w-16 shrink-0 rounded-lg bg-muted flex items-center justify-center"},zte=["src"],Ete={class:"flex-1"},Tte={class:"flex items-center justify-between gap-3"},Ote={class:"font-medium"},Hte={class:"text-xs text-muted-foreground"},Fte={class:"mt-1 text-sm text-muted-foreground"},$te={class:"text-left sm:text-center"},jte={class:"text-xs text-muted-foreground"},Rte={class:"text-left sm:text-center"},Nte={class:"text-xs text-muted-foreground"},Ute={class:"text-left sm:text-center"},Wte={class:"text-xs text-muted-foreground"},Gte={class:"flex items-center justify-between gap-3"},Yte={class:"font-medium"},Kte={class:"text-xs text-muted-foreground"},Xte={class:"mt-2 text-sm text-muted-foreground"},Zte={class:"mt-3 flex items-center gap-3"},Jte={class:"text-sm font-medium"},Qte={class:"flex items-start justify-between gap-3"},eae={class:"font-medium"},tae={class:"mt-3 grid gap-2 text-sm"},aae={class:"flex items-center justify-between gap-3"},nae={class:"flex items-center gap-2 text-muted-foreground"},oae={class:"font-medium"},rae={class:"flex items-center justify-between gap-3"},iae={class:"flex items-center gap-2 text-muted-foreground"},sae={class:"font-medium"},lae={class:"flex items-center justify-between gap-3"},cae={class:"flex items-center gap-2 text-muted-foreground"},dae={class:"font-medium"},hae={class:"flex items-center justify-between"},uae={class:"flex items-center gap-2"},pae={class:"flex items-start justify-between gap-3"},yae={class:"flex items-center gap-2"},fae={class:"font-medium"},mae={class:"mt-2 text-sm text-muted-foreground"},kae={key:0,class:"mt-1 text-sm text-muted-foreground"},gae={class:"flex flex-wrap items-center justify-between gap-3"},bae={class:"flex items-center gap-2"},Mae={class:"text-xs text-muted-foreground"},xae={name:"DCodeTimelineWithIcons"},sz=a.defineComponent({...xae,setup(t){const n=rE(oE).smaller("md");a.ref(!1);const o=a.computed(()=>[{type:"flight",title:"Get on the flight",meta:"Wednesday",from:"Charles de Gaulle Airport, Paris",to:"Heathrow Airport, London",time:"6:30 AM",fileName:"booking-card.pdf",fileIcon:"pdf"},{type:"interview",title:"Interview Schedule",meta:"April, 18",desc:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Possimus quos, voluptates voluptas rem veniam expedita.",personName:"Rebecca Godman",personRole:"Javascript Developer"},{type:"product",title:"Sold Puma POPX Blue Color",meta:"January, 10",desc:"PUMA presents the latest shoes from its collection. Light & comfortable made with highly durable material.",customer:"Micheal Scott",price:"$375.00",qty:"1"},{type:"design",title:"Design Review",meta:"September, 20",desc:"Weekly review of freshly prepared design for our new application.",personName:"John Doe (Client)"},{type:"server",title:"Ubuntu Server",chipText:"Inactive",ip:"192.654.8.566",cpu:"4 Cores",memory:"2 GB"},{type:"location",title:"Location",chipText:"High",desc1:"Find location for the company celebration.",desc2:"Lorem ipsum, dolor sit amet consectetur adipisicing elit.",due:"15th Jan"}]),r=s=>{switch(s){case"flight":return{Icon:vl,ring:"bg-primary/10 text-primary border-primary/30"};case"interview":return{Icon:ml,ring:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};case"product":return{Icon:Bs,ring:"bg-amber-500/10 text-amber-600 border-amber-500/30"};case"design":return{Icon:Is,ring:"bg-sky-500/10 text-sky-600 border-sky-500/30"};case"server":return{Icon:Sl,ring:"bg-rose-500/10 text-rose-600 border-rose-500/30"};case"location":return{Icon:Ls,ring:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"}}},i=s=>s.split(" ").filter(Boolean).slice(0,2).map(c=>{var d;return(d=c[0])==null?void 0:d.toUpperCase()}).join("");return(s,c)=>(a.openBlock(),a.createBlock(a.unref(Qs),{class:"border-none shadow-none"},{default:a.withCtx(()=>[a.createVNode(a.unref(Xl),{class:"px-0"},{default:a.withCtx(()=>[a.createVNode(a.unref(BS),{class:"text-lg font-medium"},{default:a.withCtx(()=>[...c[0]||(c[0]=[a.createTextVNode("Timeline With Icons",-1)])]),_:1})]),_:1}),a.createVNode(a.unref(el),{class:"px-0"},{default:a.withCtx(()=>[a.createElementVNode("div",pte,[c[7]||(c[7]=a.createElementVNode("div",{class:"absolute left-4 top-0 h-full w-px bg-border"},null,-1)),a.createElementVNode("div",yte,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.value,(d,h)=>(a.openBlock(),a.createElementBlock("div",{key:h,class:"relative pl-14"},[a.createElementVNode("div",{class:a.normalizeClass(["absolute left-0 top-2 flex h-8 w-8 items-center justify-center rounded-full border",r(d.type).ring])},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r(d.type).Icon),{class:"h-4 w-4"}))],2),a.createVNode(a.unref(Qs),{class:"rounded-xl"},{default:a.withCtx(()=>[a.createVNode(a.unref(el),{class:"p-4"},{default:a.withCtx(()=>[d.type==="flight"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",fte,[a.createElementVNode("p",mte,a.toDisplayString(d.title),1),a.createElementVNode("p",kte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",gte,[a.createElementVNode("span",bte,a.toDisplayString(d.from),1),a.createVNode(a.unref(hl),{class:"mx-2 inline h-4 w-4"}),a.createElementVNode("span",Mte,a.toDisplayString(d.to),1)]),a.createElementVNode("p",xte,a.toDisplayString(d.time),1),d.fileName?(a.openBlock(),a.createElementBlock("div",wte,[a.createVNode(a.unref(Cs),{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("span",null,a.toDisplayString(d.fileName),1)])):a.createCommentVNode("",!0)],64)):d.type==="interview"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("div",vte,[a.createElementVNode("p",Cte,a.toDisplayString(d.title),1),a.createElementVNode("p",Lte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",Ste,a.toDisplayString(d.desc),1),a.createVNode(a.unref(Zl),{class:"my-4"}),a.createElementVNode("div",Ite,[a.createElementVNode("div",_te,[a.createVNode(a.unref(oz),{class:"h-10 w-10"},{default:a.withCtx(()=>[d.avatarUrl?(a.openBlock(),a.createBlock(a.unref(iz),{key:0,src:d.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(rz),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i(d.personName)),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("div",Bte,[a.createElementVNode("p",Ate,a.toDisplayString(d.personName),1),a.createElementVNode("p",Vte,a.toDisplayString(d.personRole),1)])]),a.createElementVNode("div",Pte,[a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ss),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(wl),{class:"h-4 w-4"})]),_:1})])])],64)):d.type==="product"?(a.openBlock(),a.createElementBlock("div",Dte,[a.createElementVNode("div",qte,[d.imgUrl?(a.openBlock(),a.createElementBlock("img",{key:0,src:d.imgUrl,class:"h-full w-full rounded-lg object-cover",alt:"product"},null,8,zte)):(a.openBlock(),a.createBlock(a.unref(Bs),{key:1,class:"h-5 w-5 text-muted-foreground"}))]),a.createElementVNode("div",Ete,[a.createElementVNode("div",Tte,[a.createElementVNode("p",Ote,a.toDisplayString(d.title),1),a.createElementVNode("p",Hte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",Fte,a.toDisplayString(d.desc),1),a.createElementVNode("div",{class:a.normalizeClass(["mt-4 grid gap-3",a.unref(n)?"grid-cols-1":"grid-cols-3"])},[a.createElementVNode("div",$te,[c[1]||(c[1]=a.createElementVNode("p",{class:"text-sm font-medium"},"Customer",-1)),a.createElementVNode("p",jte,a.toDisplayString(d.customer),1)]),a.createElementVNode("div",Rte,[c[2]||(c[2]=a.createElementVNode("p",{class:"text-sm font-medium"},"Price",-1)),a.createElementVNode("p",Nte,a.toDisplayString(d.price),1)]),a.createElementVNode("div",Ute,[c[3]||(c[3]=a.createElementVNode("p",{class:"text-sm font-medium"},"Quantity",-1)),a.createElementVNode("p",Wte,a.toDisplayString(d.qty),1)])],2)])])):d.type==="design"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createElementVNode("div",Gte,[a.createElementVNode("p",Yte,a.toDisplayString(d.title),1),a.createElementVNode("p",Kte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",Xte,a.toDisplayString(d.desc),1),a.createElementVNode("div",Zte,[a.createVNode(a.unref(oz),{class:"h-10 w-10"},{default:a.withCtx(()=>[d.avatarUrl?(a.openBlock(),a.createBlock(a.unref(iz),{key:0,src:d.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(rz),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i(d.personName)),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("p",Jte,a.toDisplayString(d.personName),1)])],64)):d.type==="server"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createElementVNode("div",Qte,[a.createElementVNode("p",eae,a.toDisplayString(d.title),1),a.createVNode(a.unref(Oa),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.chipText),1)]),_:2},1024)]),a.createElementVNode("div",tae,[a.createElementVNode("div",aae,[a.createElementVNode("div",nae,[a.createVNode(a.unref(bl),{class:"h-4 w-4"}),c[4]||(c[4]=a.createElementVNode("span",null,"IP Address",-1))]),a.createElementVNode("span",oae,a.toDisplayString(d.ip),1)]),a.createElementVNode("div",rae,[a.createElementVNode("div",iae,[a.createVNode(a.unref(ws),{class:"h-4 w-4"}),c[5]||(c[5]=a.createElementVNode("span",null,"CPU",-1))]),a.createElementVNode("span",sae,a.toDisplayString(d.cpu),1)]),a.createElementVNode("div",lae,[a.createElementVNode("div",cae,[a.createVNode(a.unref(ws),{class:"h-4 w-4"}),c[6]||(c[6]=a.createElementVNode("span",null,"Memory",-1))]),a.createElementVNode("span",dae,a.toDisplayString(d.memory),1)])]),a.createVNode(a.unref(Zl),{class:"my-4"}),a.createElementVNode("div",hae,[a.createElementVNode("div",uae,[a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Il),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ll),{class:"h-4 w-4"})]),_:1})])])],64)):d.type==="location"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:5},[a.createElementVNode("div",pae,[a.createElementVNode("div",yae,[a.createVNode(a.unref(Ls),{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("p",fae,a.toDisplayString(d.title),1)]),a.createVNode(a.unref(Oa),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.chipText),1)]),_:2},1024)]),a.createElementVNode("p",mae,a.toDisplayString(d.desc1),1),d.desc2?(a.openBlock(),a.createElementBlock("p",kae,a.toDisplayString(d.desc2),1)):a.createCommentVNode("",!0),a.createVNode(a.unref(Zl),{class:"my-4"}),a.createElementVNode("div",gae,[a.createElementVNode("div",bae,[a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ml),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ss),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Al),{class:"h-4 w-4"})]),_:1})]),a.createElementVNode("p",Mae,"Due date: "+a.toDisplayString(d.due),1)])],64)):a.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]))),128))])])]),_:1})]),_:1}))}}),wae={class:"dcode-upload-file"},vae={class:"border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg p-6 flex flex-col items-center justify-center text-center hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer"},Cae={key:0,class:"text-xs text-gray-500 mt-1"},Lae=["accept"],Sae={key:1,class:"text-xs text-red-600 mt-1"},lz=a.defineComponent({__name:"DCodeUploadFile",props:{label:{},accept:{},errorMessage:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=e,o=r=>{var s;const i=(s=r.target.files)==null?void 0:s[0];i&&n("update:modelValue",i)};return(r,i)=>(a.openBlock(),a.createElementBlock("div",wae,[t.label?(a.openBlock(),a.createBlock(qB,{key:0,label:t.label},null,8,["label"])):a.createCommentVNode("",!0),a.createElementVNode("div",vae,[a.createVNode(a.unref(va),{class:"w-8 h-8 text-gray-400 mb-2"}),i[0]||(i[0]=a.createElementVNode("p",{class:"text-sm text-gray-600 dark:text-gray-400"},[a.createElementVNode("span",{class:"font-medium text-primary-600"},"Click to upload"),a.createTextVNode(" or drag and drop ")],-1)),t.accept?(a.openBlock(),a.createElementBlock("p",Cae,a.toDisplayString(t.accept),1)):a.createCommentVNode("",!0),a.createElementVNode("input",{type:"file",class:"hidden",onChange:o,accept:t.accept},null,40,Lae)]),t.errorMessage?(a.openBlock(),a.createElementBlock("p",Sae,a.toDisplayString(t.errorMessage),1)):a.createCommentVNode("",!0)]))}}),Iae=["onClick"],_ae={key:1,class:"mr-2 text-xs font-bold shrink-0 opacity-50"},Bae={class:"font-semibold text-sm whitespace-normal text-center leading-tight"},Aae={key:1},Vae={key:0,class:"text-primary-700"},Pae={key:1},Dae={key:2},qae={key:1,class:"mr-2 text-sm font-bold opacity-70"},zae={class:"whitespace-normal text-sm text-center leading-tight"},Eae={class:"flex flex-col flex-1 min-w-0"},Tae={class:"text-sm text-muted-foreground"},Oae={class:"px-1"},Hae={name:"DCodeWizard"},cz=a.defineComponent({...Hae,props:{tabs:{},modelValue:{},defaultTab:{default:0},allowTabClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},cache:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!0},apiOptions:{type:[Object,Function],default:void 0},isVertical:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},typeWizard:{default:"icon"},showNavigation:{type:Boolean,default:!0},submitText:{default:"Simpan"},loading:{type:Boolean,default:!1}},emits:["update:modelValue","change","loaded","error"],setup(t,{emit:e}){const n=t,o=e,r=nt(),i=r==null?void 0:r.DCodeApi;typeof i!="function"&&console.error("[DCodeWizardTabs] useApi() must expose DCodeApi()");const s=a.ref(n.defaultTab),c=a.computed({get(){var M;if(typeof n.modelValue=="string"){const v=(M=n.tabs)==null?void 0:M.findIndex(L=>L.key===n.modelValue);if(v!==void 0&&v>=0)return v}return(typeof n.modelValue=="number"?n.modelValue:void 0)??s.value},set(M){var v;if(s.value=M,typeof n.modelValue=="string"){const L=(v=n.tabs)==null?void 0:v[M];L?o("update:modelValue",L.key):o("update:modelValue",M)}else o("update:modelValue",M)}}),d=a.computed(()=>{var M;return((M=n.tabs)==null?void 0:M.length)??0}),h=a.computed(()=>{var M;return(M=n.tabs)==null?void 0:M[c.value]});function u(M){return d.value<=0?0:Math.min(Math.max(M,0),d.value-1)}const p=a.reactive({});function y(M){return p[M.key]||(p[M.key]={loaded:!1,loading:!1,data:null,error:null}),p[M.key]}function f(){if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions}function m(M){const v=M.endpoint||{};return{apiModule:M.apiModule||v.apiModule,apiAction:M.apiAction||v.apiAction,apiUrl:v.apiUrl,apiMethod:v.apiMethod||"GET",apiParams:M.apiParams}}function k(M){if(n.isWizard||!n.allowTabClick||n.disabled)return!1;const v=n.tabs[M];return!(!v||v.disabled)}async function g(M){if(typeof M.tab.fetchData=="function"){const q=await M.tab.fetchData(),O=(q==null?void 0:q.data)??q;return(O==null?void 0:O.data)??O}const v=m(M.tab);if(!(v.apiModule&&v.apiAction||v.apiUrl))return null;if(typeof i!="function")throw new Error("DCodeApi is not available");const I=f();let _;if(v.apiUrl)_=await i("","",I,{_url:v.apiUrl,_method:v.apiMethod,_data:v.apiParams??void 0});else{const q={...I,...v.apiParams};_=await i(v.apiModule,v.apiAction,q)}const A=(_==null?void 0:_.data)??_;return(A==null?void 0:A.data)??A}async function b(M,{force:v=!1}={}){const L=u(M),I=n.tabs[L];if(!I)return;const _=y(I);if(!(n.cache&&_.loaded&&!v)&&!_.loading){_.loading=!0,_.error=null;try{const A=await g({tabIndex:L,tab:I});_.data=A,_.loaded=!0,o("loaded",{tabIndex:L,tab:I,data:A})}catch(A){const V=typeof(A==null?void 0:A.message)=="string"&&A.message||typeof A=="string"&&A||"Failed to load tab data.";_.error=V,o("error",{tabIndex:L,tab:I,message:V})}finally{_.loading=!1}}}function w(M){const v=u(M);k(v)&&v!==c.value&&(c.value=v)}function S(M=c.value){return b(M,{force:!0})}function C(){const M=u(c.value-1);M!==c.value&&(c.value=M)}function x(){const M=u(c.value+1);M!==c.value&&(c.value=M)}return a.watch(()=>n.tabs,M=>{for(const v of M??[])y(v)},{immediate:!0}),a.watch(()=>c.value,async M=>{var L;const v=(L=n.tabs)==null?void 0:L[M];v&&o("change",{tabIndex:M,tab:v}),await b(M)},{immediate:!0}),a.watch(()=>n.autoFetchOnMount,async M=>{M&&await b(c.value)},{immediate:!0}),(M,v)=>(a.openBlock(),a.createBlock(a.unref(Qs),{class:a.normalizeClass(["w-full",{"flex flex-row":t.isVertical}])},{default:a.withCtx(()=>[a.createVNode(a.unref(Xl),{class:a.normalizeClass({"w-64 border-r pr-0":t.isVertical,"pb-2":t.isWizard&&!t.isVertical})},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass({"mt-4":!t.isVertical||t.isWizard})},[t.isWizard?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["w-full relative flex overflow-visible rounded-lg",t.isVertical?"flex-col gap-2":""])},[t.isVertical?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(t.tabs,(L,I)=>(a.openBlock(),a.createElementBlock("div",{key:L.key,class:"relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"},[a.createElementVNode("div",{class:a.normalizeClass(["w-8 h-8 rounded-full flex shrink-0 items-center justify-center font-bold text-sm border-2 transition-all bg-white dark:bg-zinc-800",[I<c.value?"border-primary bg-primary text-white border-primary-500":"",I===c.value?"border-primary text-primary border-primary-500 ring-2 ring-primary/20":"border-slate-300 dark:border-zinc-600 text-slate-500"]])},[t.typeWizard==="icon"&&L.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4"})):t.typeWizard==="number"||!L.icon&&t.typeWizard!=="none"?(a.openBlock(),a.createElementBlock("span",Aae,[I<c.value?(a.openBlock(),a.createElementBlock("span",Vae,"✓")):(a.openBlock(),a.createElementBlock("span",Pae,a.toDisplayString(I+1),1))])):(a.openBlock(),a.createElementBlock("span",Dae))],2),a.createElementVNode("span",{class:a.normalizeClass(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left",I===c.value?"text-primary":"text-slate-500"])},a.toDisplayString(L.title),3)]))),128)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(t.tabs,(L,I)=>(a.openBlock(),a.createElementBlock("div",{key:L.key,onClick:_=>w(I),style:a.normalizeStyle({zIndex:t.tabs.length-I}),class:"relative flex-1 group"},[a.createElementVNode("div",{class:a.normalizeClass(["relative flex items-center justify-center min-h-[3rem] h-auto py-2 px-2 cursor-pointer transition-colors w-full",[I>0?"pl-8":"",I===c.value?"bg-primary text-primary-foreground":I<c.value?"bg-primary/20 text-primary hover:bg-primary/30":"bg-slate-100 dark:bg-zinc-800 text-slate-500 group-hover:bg-slate-200 dark:group-hover:bg-zinc-700"]])},[t.typeWizard==="icon"&&L.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4 mr-2 shrink-0"})):t.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",_ae,a.toDisplayString(I+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",Bae,a.toDisplayString(L.title),1)],2),I<t.tabs.length-1?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["absolute top-0 -right-4 w-0 h-0 border-t-[24px] border-t-transparent border-b-[24px] border-b-transparent border-l-[16px] transition-colors",[I===c.value?"border-l-primary":I<c.value?"border-l-primary/20 group-hover:border-l-primary/30":"border-l-slate-100 dark:border-l-zinc-800 group-hover:border-l-slate-200 dark:group-hover:border-l-zinc-700"]])},null,2)):a.createCommentVNode("",!0)],12,Iae))),128))],2)):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex w-full",t.isVertical?"flex-col gap-1":"flex-wrap border-b border-separate"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.tabs,(L,I)=>(a.openBlock(),a.createBlock(a.unref(Se),{key:L.key,type:"button",variant:"ghost",disabled:!k(I),onClick:_=>w(I),class:a.normalizeClass(["relative min-h-[3rem] h-auto py-2 flex items-center justify-center gap-2 px-4 transition-all rounded-none",a.unref(he)("border-b border-r border-slate-200 dark:border-zinc-700",!t.isVertical&&I===t.tabs.length-1&&"border-r-0",I===c.value?"bg-primary-50 dark:bg-primary-900/20 text-primary-700 dark:text-primary-300 font-semibold":"bg-white dark:bg-zinc-900 text-slate-600 dark:text-zinc-400 hover:bg-slate-50 dark:hover:bg-zinc-800",!k(I)&&"opacity-60 cursor-not-allowed",t.isVertical?"w-full justify-start border-r-0":"flex-1")])},{default:a.withCtx(()=>[t.typeWizard==="icon"&&L.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(L.icon),{key:0,class:"h-4 w-4 shrink-0"})):t.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",qae,a.toDisplayString(I+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",zae,a.toDisplayString(L.title),1)]),_:2},1032,["disabled","onClick","class"]))),128))],2))],2)]),_:1},8,["class"]),t.isVertical?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(Zl),{key:0})),a.createElementVNode("div",Eae,[a.createVNode(a.unref(el),{class:a.normalizeClass(["pt-6 flex-1 min-w-0",{"pl-6":t.isVertical}])},{default:a.withCtx(()=>{var L,I,_;return[h.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[(L=p[h.value.key])!=null&&L.loading?a.renderSlot(M.$slots,"loading",{key:0,tab:h.value,tabIndex:c.value},()=>[v[0]||(v[0]=a.createElementVNode("div",{class:"rounded-lg border bg-muted/30 px-4 py-3 text-sm text-muted-foreground"},"Loading...",-1))]):a.renderSlot(M.$slots,`tab-${h.value.key}`,{key:1,tab:h.value,tabIndex:c.value,data:(I=p[h.value.key])==null?void 0:I.data,loaded:(_=p[h.value.key])==null?void 0:_.loaded,reload:S},()=>[a.createElementVNode("div",Tae,[v[1]||(v[1]=a.createTextVNode(" Slot ",-1)),a.createElementVNode("code",Oae,"tab-"+a.toDisplayString(h.value.key),1),v[2]||(v[2]=a.createTextVNode(" belum dibuat. ",-1))])])],64)):a.createCommentVNode("",!0)]}),_:3},8,["class"]),t.isWizard||t.showNavigation?(a.openBlock(),a.createBlock(a.unref(rW),{key:0,class:a.normalizeClass(["flex justify-between p-6 pt-0",{"pl-6":t.isVertical}])},{default:a.withCtx(()=>[a.createVNode(a.unref(Se),{type:"button",variant:"outline",onClick:C,disabled:c.value<=0},{default:a.withCtx(()=>[...v[3]||(v[3]=[a.createTextVNode(" Sebelumnya ",-1)])]),_:1},8,["disabled"]),c.value<d.value-1?(a.openBlock(),a.createBlock(a.unref(Se),{key:0,type:"button",onClick:x},{default:a.withCtx(()=>[...v[4]||(v[4]=[a.createTextVNode(" Selanjutnya ",-1)])]),_:1})):(a.openBlock(),a.createBlock(a.unref(Se),{key:1,type:"submit",disabled:t.loading},{default:a.withCtx(()=>[t.loading?(a.openBlock(),a.createBlock(a.unref(bt),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(t.submitText),1)]),_:1},8,["disabled"]))]),_:1},8,["class"])):a.createCommentVNode("",!0)])]),_:3},8,["class"]))}});function Fae(){return{setPageTitle:n=>{typeof document<"u"&&(document.title=n||document.title),typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:page-title",{detail:{title:n},bubbles:!0,composed:!0}))},setBreadcrumb:n=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:breadcrumb",{detail:{items:n},bubbles:!0,composed:!0}))}}}const $ae={class:"w-full"},jae={class:"relative mx-auto min-h-[37.5rem]"},Rae={key:"content",class:"w-full"},Nae={class:"mb-6"},Uae={class:"text-neutral-500 dark:text-neutral-400"},Wae={key:"skeleton",class:"w-full"},Gae={key:"error",class:"flex items-center justify-center p-20 text-red-500 w-full"},Yae=Wl(a.defineComponent({__name:"AutoLayoutForm",props:{layoutCode:{}},setup(t){var x,M;const e=t,n=(M=(x=a.getCurrentInstance())==null?void 0:x.appContext)==null?void 0:M.app;n&&!n._context.provides[Symbol.for("vue-router-route-location")]&&n.provide(Symbol.for("vue-router-route-location"),{query:{},params:{},path:""});let o;try{o=cl.useRoute()}catch{o={query:{},params:{},path:""}}let r;try{r=cl.useRouter()}catch{r={back:()=>console.warn("Router back() not available in custom element"),push:()=>console.warn("Router push() not available in custom element")}}const{apiUrl:i,DCodeApi:s}=nt();let c;try{c=Je.useI18n().locale}catch{c=a.ref("en")}const{setPageTitle:d}=Fae(),h=a.computed(()=>o.params&&"id"in o.params?!0:o.path?/\/edit\/[^\/]+$/.test(o.path):!1),u=a.computed(()=>{if(o.params&&"id"in o.params)return o.params.id;if(!o.path)return null;const v=o.path.match(/\/edit\/([^\/]+)$/);return v?v[1]:null}),p=a.ref({}),y=a.ref(null),f=a.ref(!0),m=a.ref(!1),k=a.ref(e.layoutCode),g=a.computed(()=>{var I;if(!y.value)return"";const v=((I=c==null?void 0:c.value)==null?void 0:I.toLowerCase())||"en";return(v==="en"||v.startsWith("en-")?y.value.titleEN:y.value.titleID)||y.value.title||e.layoutCode});a.watch(g,v=>{v&&d(v)},{immediate:!0});const b=async()=>{var v,L,I;f.value=!0;try{let _=e.layoutCode;o&&o.query&&typeof o.query=="object"&&"code"in o.query&&(_=o.query.code||e.layoutCode);let A=await i(`/api/auto-layout/form/form-dynamic?code=${_}`,"GET");if(!A.status||!A.data||Array.isArray(A.data)&&A.data.length===0)try{const V=await i(`/api/auto-layout/datatable/form-dynamic?code=${_}`,"GET");if(V.status){const q=Array.isArray(V.data)?V.data[0]:V.data;q&&q.code&&(_=q.code,k.value=_,A=await i(`/api/auto-layout/form/form-dynamic?code=${_}`,"GET"))}}catch(V){console.warn("Failed to resolve layout code via datatable",V)}if(A.status){y.value=Array.isArray(A.data)?A.data[0]:A.data;const V={};if((v=y.value)!=null&&v.sections&&y.value.sections.forEach(q=>{((q.propsForm||q.props||{}).fields||q.fields||[]).forEach(T=>{var j;const H=T.model||((j=T.props)==null?void 0:j.model)||T.key;H&&(V[H]=null)})}),p.value=V,f.value=!1,h.value&&u.value){m.value=!0;try{if((L=y.value.endpointGlobal)!=null&&L.apiUrl){const q=y.value.endpointGlobal.apiUrl,O=y.value.endpointGlobal.apiMethod||"GET",N={id:u.value},T=await s(q,O,N);if(T.status){const H=Array.isArray(T.data)?T.data[0]:T.data;p.value={...p.value,...H}}}else{const q=((I=y.value.endpoint)==null?void 0:I.detailUrl)||`/api/${k.value}/detail/${u.value}`,O=await i(q,"GET");if(O.status){let N=Array.isArray(O.data)?O.data[0]:O.data;if(O.payload){const H={...O.payload};if(Object.keys(H).forEach(j=>{N[j]!==void 0&&N[j]!==null&&(H[j]=N[j])}),!("id"in H)&&N.id){const j=Object.keys(H).find(Z=>Z.startsWith("id")&&Z.length>2&&!H[Z]);j&&(H[j]=N.id)}N=H}const T={...N};Object.keys(p.value).forEach(H=>{if(T[H]===void 0||T[H]===null){if(H.toLowerCase().startsWith("id")&&H.length>2){const Z=H.substring(2).toLowerCase(),P=Array.isArray(O.data)?O.data[0]:O.data,D=Object.keys(P).find(G=>G.toLowerCase()===Z);D&&P[D]&&typeof P[D]=="object"&&"id"in P[D]&&(T[H]=P[D].id)}if(H==="idSupervisor"){const Z=Array.isArray(O.data)?O.data[0]:O.data;Z.supervisorId&&(T[H]=Z.supervisorId)}}}),p.value={...p.value,...T}}}}catch(q){console.error("Failed to fetch record data:",q)}finally{m.value=!1}}}}catch(_){console.error("Failed to load form layout:",_),f.value=!1}},w=async v=>{var L,I,_;try{const A=(_=(I=(L=y.value.sections)==null?void 0:L[0])==null?void 0:I.propsForm)==null?void 0:_.endpointForm,V=y.value.endpointGlobal||y.value.endpoint,q=(A==null?void 0:A.submitUrl)||(V==null?void 0:V.submitUrl)||`/api/generic/${e.layoutCode}`,O=(A==null?void 0:A.submitMethod)||(V==null?void 0:V.submitMethod)||(h.value?"PUT":"POST"),N={...v};h.value&&u.value&&!N.id&&(N.id=u.value),await i(q,O,N),r.back()}catch(A){console.error("Submit failed:",A)}},S=async(v,L)=>{if(v==="cancel"){C();return}const I=L.endpointPropAction||L.propsActionGlobal&&L.propsActionGlobal.endpointPropAction;if(I)try{f.value=!0;const _={...p.value};h.value&&L.model&&u.value&&(_[L.model]=u.value);const A=I.apiUrl,V=I.apiMethod||"POST";(await s(A,V,_)).status&&r.back()}catch(_){console.error("Action failed:",_)}finally{f.value=!1}},C=()=>{r.back()};return a.onMounted(()=>{b()}),a.onUnmounted(()=>{d("")}),(v,L)=>{const I=a.resolveComponent("DynamicForm"),_=a.resolveComponent("AutoLayoutSkeleton");return a.openBlock(),a.createElementBlock("div",$ae,[a.createElementVNode("div",jae,[a.createVNode(a.Transition,{name:"fade",mode:"out-in"},{default:a.withCtx(()=>[!f.value&&y.value?(a.openBlock(),a.createElementBlock("div",Rae,[a.createElementVNode("div",Nae,[a.createElementVNode("p",Uae,a.toDisplayString(y.value.description),1)]),a.createVNode(I,{schema:y.value,model:p.value,"is-edit-mode":h.value,loading:m.value,onSubmit:w,onCancel:C,onAction:S,class:"w-full"},null,8,["schema","model","is-edit-mode","loading"])])):f.value?(a.openBlock(),a.createElementBlock("div",Wae,[a.createVNode(_)])):(a.openBlock(),a.createElementBlock("div",Gae," Failed to load form configuration for "+a.toDisplayString(e.layoutCode),1))]),_:1})])])}}}),[["__scopeId","data-v-71be8ab0"]]),Kae={class:"h-full flex flex-col"},Xae={key:1,class:"flex-1 flex items-center justify-center"},Zae={key:2,class:"flex-1 flex items-center justify-center text-red-500"},Jae=a.defineComponent({__name:"AutoLayoutDatatable",props:{layoutCode:{}},setup(t){const e=t,n=cl.useRoute(),{apiUrl:o}=nt(),r=a.ref(null),i=a.ref(!0),s=a.ref(null),c=async()=>{i.value=!0;try{const h=await o(`/api/auto-layout/datatable/form-dinamic?code=${e.layoutCode}`,"GET");h.status&&(r.value=Array.isArray(h.data)?h.data[0]:h.data)}catch(h){console.error("Gagal Menampilkan Datatable:",h)}finally{i.value=!1}},d=h=>{console.log("Aksi tidak terdaftar:",h.action)};return a.onMounted(()=>{c()}),(h,u)=>(a.openBlock(),a.createElementBlock("div",Kae,[!i.value&&r.value?(a.openBlock(),a.createBlock(U_,{key:0,ref_key:"dtRef",ref:s,"api-url":`/api/auto-layout/datatable/form-dinamic?code=${e.layoutCode}`,"api-method":"GET","table-config":r.value,"permission-base":a.unref(n).path,onAction:d},{"header-actions":a.withCtx(()=>[...u[0]||(u[0]=[])]),_:1},8,["api-url","table-config","permission-base"])):i.value?(a.openBlock(),a.createElementBlock("div",Xae,[...u[1]||(u[1]=[a.createElementVNode("i",{class:"mdi mdi-loading mdi-spin text-4xl text-primary-600"},null,-1)])])):(a.openBlock(),a.createElementBlock("div",Zae," Failed to load configuration for "+a.toDisplayString(e.layoutCode),1))]))}}),dz=a.defineCustomElement(Yae),hz=a.defineCustomElement(Jae);customElements.define("micro-dynamic-form",dz),customElements.define("micro-dynamic-datatable",hz);const Qae=[U_,z_,TP,Wt,q_,Gq,Gl,Yq,E_,T_,LS,Kq,AS,Xq,DB,Zq,O_,$_,H_,qB,Jq,j_,Qq,ez,tz,az,nz,R_,N_,VS,sz,lz,cz],ene={install(t,e={}){e&&Object.keys(e).length>0&&Vz(e),Qae.forEach(n=>{n.name&&t.component(n.name,n)})}};oe.DCodeAutoComplete=z_,oe.DCodeButton=Wt,oe.DCodeCard=q_,oe.DCodeChart=Gq,oe.DCodeCheckbox=Gl,oe.DCodeCurrencyField=Yq,oe.DCodeDatePicker=E_,oe.DCodeDateRangePicker=T_,oe.DCodeDialog=LS,oe.DCodeDialogCloseBtn=Kq,oe.DCodeDropzone=AS,oe.DCodeFileField=Xq,oe.DCodeFileResult=DB,oe.DCodeIconDropdown=Zq,oe.DCodeImageCropperDialog=O_,oe.DCodeImageField=$_,oe.DCodeImageResult=H_,oe.DCodeInfiniteAutoComplete=TP,oe.DCodeLabel=qB,oe.DCodeMultiSelect=Jq,oe.DCodeOtpInput=j_,oe.DCodeProgress=Qq,oe.DCodeProgressBar=ez,oe.DCodeRadio=tz,oe.DCodeRadioCustom=az,oe.DCodeSlider=nz,oe.DCodeSwitch=R_,oe.DCodeTextField=N_,oe.DCodeTextarea=VS,oe.DCodeTimelineWithIcons=sz,oe.DCodeUploadFile=lz,oe.DCodeWizard=cz,oe.DataTable=U_,oe.MicroDynamicDatatable=hz,oe.MicroDynamicForm=dz,oe.cn=he,oe.default=ene,Object.defineProperties(oe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|
|
8595
|
+
`});return(x,M)=>a.withDirectives((a.openBlock(),a.createElementBlock("div",{class:a.normalizeClass(["flex flex-col gap-2 w-full",a.unref(n).class]),"aria-busy":!1},[h.value?(a.openBlock(),a.createBlock(a.unref(Xs),{key:0,for:d.value,class:"text-sm font-medium"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(h.value)+" ",1),t.required?(a.openBlock(),a.createElementBlock("span",tte,"*")):a.createCommentVNode("",!0)]),_:1},8,["for"])):a.createCommentVNode("",!0),a.createElementVNode("div",ate,[t.showValue?(a.openBlock(),a.createElementBlock("div",nte,[a.createElementVNode("span",ote,a.toDisplayString(r.valuePrefix)+a.toDisplayString(t.min)+a.toDisplayString(r.valueSuffix),1),a.createElementVNode("span",rte,a.toDisplayString(f.value),1),a.createElementVNode("span",ite,a.toDisplayString(r.valuePrefix)+a.toDisplayString(t.max)+a.toDisplayString(r.valueSuffix),1)])):a.createCommentVNode("",!0),a.createElementVNode("div",ste,[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-1/2 -translate-y-1/2 w-full h-full bg-gray-200 rounded-lg pointer-events-none",[t.size==="sm"?"h-2":t.size==="md"?"h-2.5":"h-3"]])},[a.createElementVNode("div",{class:a.normalizeClass(["absolute top-0 left-0 h-full rounded-lg transition-all",[t.color==="blue"?"bg-blue-500":t.color==="green"?"bg-green-500":t.color==="red"?"bg-red-500":t.color==="yellow"?"bg-yellow-500":t.color==="purple"?"bg-purple-500":"bg-gray-500"]]),style:a.normalizeStyle({width:`${m.value}%`})},null,6)],2),a.createElementVNode("input",{id:d.value,ref_key:"sliderRef",ref:i,type:"range",value:t.modelValue,min:t.min,max:t.max,step:t.step,disabled:t.disabled,placeholder:t.placeholder,class:a.normalizeClass(p.value),onInput:k,onChange:g,onMousedown:b,onMouseup:w,onTouchstart:b,onTouchend:w},null,42,lte)]),t.marks.length>0?(a.openBlock(),a.createElementBlock("div",cte,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.marks,v=>(a.openBlock(),a.createElementBlock("div",{key:v.value,class:"absolute flex flex-col items-center",style:a.normalizeStyle({left:`${S(v.value)}%`,transform:"translateX(-50%)"})},[M[0]||(M[0]=a.createElementVNode("div",{class:"w-1 h-2 bg-gray-400 rounded-full"},null,-1)),a.createElementVNode("span",dte,a.toDisplayString(v.label),1)],4))),128))])):a.createCommentVNode("",!0)]),c.value?(a.openBlock(),a.createElementBlock("div",hte,[M[1]||(M[1]=a.createElementVNode("svg",{class:"w-4 h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24"},[a.createElementVNode("path",{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"})],-1)),a.createTextVNode(" "+a.toDisplayString(t.error),1)])):a.createCommentVNode("",!0),C.value?(a.openBlock(),a.createBlock(a.resolveDynamicComponent("style"),{key:2},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(C.value),1)]),_:1})):a.createCommentVNode("",!0)],2)),[[a.vShow,u.value]])}}),oz=a.defineComponent({__name:"Avatar",props:{class:{type:[Boolean,null,String,Object,Array]},size:{default:"sm"},shape:{default:"circle"}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(LO),{class:a.normalizeClass(a.unref(he)(a.unref(pte)({size:t.size,shape:t.shape}),e.class))},{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},8,["class"]))}}),rz=a.defineComponent({__name:"AvatarFallback",props:{delayMs:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(IO),a.normalizeProps(a.guardReactiveProps(e)),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),iz=a.defineComponent({__name:"AvatarImage",props:{src:{},referrerPolicy:{},crossOrigin:{},asChild:{type:Boolean},as:{}},setup(t){const e=t;return(n,o)=>(a.openBlock(),a.createBlock(a.unref(AO),a.mergeProps(e,{class:"h-full w-full object-cover"}),{default:a.withCtx(()=>[a.renderSlot(n.$slots,"default")]),_:3},16))}}),pte=Yl("inline-flex items-center justify-center font-normal text-foreground select-none shrink-0 bg-secondary overflow-hidden",{variants:{size:{sm:"h-10 w-10 text-xs",base:"h-16 w-16 text-2xl",lg:"h-32 w-32 text-5xl"},shape:{circle:"rounded-full",square:"rounded-md"}}}),yte={class:"relative"},fte={class:"space-y-6"},mte={class:"flex items-center justify-between gap-3"},kte={class:"font-medium"},gte={class:"text-xs text-muted-foreground"},bte={class:"mt-1 text-sm text-muted-foreground"},Mte={class:"text-foreground"},xte={class:"text-foreground"},wte={class:"mt-1 text-xs text-muted-foreground"},vte={key:0,class:"mt-3 flex items-center gap-2 text-sm"},Cte={class:"flex items-center justify-between gap-3"},Lte={class:"font-medium"},Ste={class:"text-xs text-muted-foreground"},Ite={class:"mt-2 text-sm text-muted-foreground"},_te={class:"flex flex-wrap items-center justify-between gap-3"},Bte={class:"flex items-center gap-3"},Ate={class:"leading-tight"},Vte={class:"text-sm font-medium"},Pte={class:"text-xs text-muted-foreground"},Dte={class:"flex items-center gap-2"},qte={key:2,class:"flex flex-col gap-3 sm:flex-row sm:items-start"},zte={class:"h-16 w-16 shrink-0 rounded-lg bg-muted flex items-center justify-center"},Ete=["src"],Tte={class:"flex-1"},Ote={class:"flex items-center justify-between gap-3"},Hte={class:"font-medium"},Fte={class:"text-xs text-muted-foreground"},$te={class:"mt-1 text-sm text-muted-foreground"},jte={class:"text-left sm:text-center"},Rte={class:"text-xs text-muted-foreground"},Nte={class:"text-left sm:text-center"},Ute={class:"text-xs text-muted-foreground"},Wte={class:"text-left sm:text-center"},Gte={class:"text-xs text-muted-foreground"},Yte={class:"flex items-center justify-between gap-3"},Kte={class:"font-medium"},Xte={class:"text-xs text-muted-foreground"},Zte={class:"mt-2 text-sm text-muted-foreground"},Jte={class:"mt-3 flex items-center gap-3"},Qte={class:"text-sm font-medium"},eae={class:"flex items-start justify-between gap-3"},tae={class:"font-medium"},aae={class:"mt-3 grid gap-2 text-sm"},nae={class:"flex items-center justify-between gap-3"},oae={class:"flex items-center gap-2 text-muted-foreground"},rae={class:"font-medium"},iae={class:"flex items-center justify-between gap-3"},sae={class:"flex items-center gap-2 text-muted-foreground"},lae={class:"font-medium"},cae={class:"flex items-center justify-between gap-3"},dae={class:"flex items-center gap-2 text-muted-foreground"},hae={class:"font-medium"},uae={class:"flex items-center justify-between"},pae={class:"flex items-center gap-2"},yae={class:"flex items-start justify-between gap-3"},fae={class:"flex items-center gap-2"},mae={class:"font-medium"},kae={class:"mt-2 text-sm text-muted-foreground"},gae={key:0,class:"mt-1 text-sm text-muted-foreground"},bae={class:"flex flex-wrap items-center justify-between gap-3"},Mae={class:"flex items-center gap-2"},xae={class:"text-xs text-muted-foreground"},wae={name:"DCodeTimelineWithIcons"},sz=a.defineComponent({...wae,setup(t){const n=iE(rE).smaller("md");a.ref(!1);const o=a.computed(()=>[{type:"flight",title:"Get on the flight",meta:"Wednesday",from:"Charles de Gaulle Airport, Paris",to:"Heathrow Airport, London",time:"6:30 AM",fileName:"booking-card.pdf",fileIcon:"pdf"},{type:"interview",title:"Interview Schedule",meta:"April, 18",desc:"Lorem ipsum, dolor sit amet consectetur adipisicing elit. Possimus quos, voluptates voluptas rem veniam expedita.",personName:"Rebecca Godman",personRole:"Javascript Developer"},{type:"product",title:"Sold Puma POPX Blue Color",meta:"January, 10",desc:"PUMA presents the latest shoes from its collection. Light & comfortable made with highly durable material.",customer:"Micheal Scott",price:"$375.00",qty:"1"},{type:"design",title:"Design Review",meta:"September, 20",desc:"Weekly review of freshly prepared design for our new application.",personName:"John Doe (Client)"},{type:"server",title:"Ubuntu Server",chipText:"Inactive",ip:"192.654.8.566",cpu:"4 Cores",memory:"2 GB"},{type:"location",title:"Location",chipText:"High",desc1:"Find location for the company celebration.",desc2:"Lorem ipsum, dolor sit amet consectetur adipisicing elit.",due:"15th Jan"}]),r=s=>{switch(s){case"flight":return{Icon:vl,ring:"bg-primary/10 text-primary border-primary/30"};case"interview":return{Icon:ml,ring:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"};case"product":return{Icon:Bs,ring:"bg-amber-500/10 text-amber-600 border-amber-500/30"};case"design":return{Icon:Is,ring:"bg-sky-500/10 text-sky-600 border-sky-500/30"};case"server":return{Icon:Sl,ring:"bg-rose-500/10 text-rose-600 border-rose-500/30"};case"location":return{Icon:Ls,ring:"bg-emerald-500/10 text-emerald-600 border-emerald-500/30"}}},i=s=>s.split(" ").filter(Boolean).slice(0,2).map(c=>{var d;return(d=c[0])==null?void 0:d.toUpperCase()}).join("");return(s,c)=>(a.openBlock(),a.createBlock(a.unref(Qs),{class:"border-none shadow-none"},{default:a.withCtx(()=>[a.createVNode(a.unref(Xl),{class:"px-0"},{default:a.withCtx(()=>[a.createVNode(a.unref(BS),{class:"text-lg font-medium"},{default:a.withCtx(()=>[...c[0]||(c[0]=[a.createTextVNode("Timeline With Icons",-1)])]),_:1})]),_:1}),a.createVNode(a.unref(el),{class:"px-0"},{default:a.withCtx(()=>[a.createElementVNode("div",yte,[c[7]||(c[7]=a.createElementVNode("div",{class:"absolute left-4 top-0 h-full w-px bg-border"},null,-1)),a.createElementVNode("div",fte,[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(o.value,(d,h)=>(a.openBlock(),a.createElementBlock("div",{key:h,class:"relative pl-14"},[a.createElementVNode("div",{class:a.normalizeClass(["absolute left-0 top-2 flex h-8 w-8 items-center justify-center rounded-full border",r(d.type).ring])},[(a.openBlock(),a.createBlock(a.resolveDynamicComponent(r(d.type).Icon),{class:"h-4 w-4"}))],2),a.createVNode(a.unref(Qs),{class:"rounded-xl"},{default:a.withCtx(()=>[a.createVNode(a.unref(el),{class:"p-4"},{default:a.withCtx(()=>[d.type==="flight"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[a.createElementVNode("div",mte,[a.createElementVNode("p",kte,a.toDisplayString(d.title),1),a.createElementVNode("p",gte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",bte,[a.createElementVNode("span",Mte,a.toDisplayString(d.from),1),a.createVNode(a.unref(hl),{class:"mx-2 inline h-4 w-4"}),a.createElementVNode("span",xte,a.toDisplayString(d.to),1)]),a.createElementVNode("p",wte,a.toDisplayString(d.time),1),d.fileName?(a.openBlock(),a.createElementBlock("div",vte,[a.createVNode(a.unref(Cs),{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("span",null,a.toDisplayString(d.fileName),1)])):a.createCommentVNode("",!0)],64)):d.type==="interview"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:1},[a.createElementVNode("div",Cte,[a.createElementVNode("p",Lte,a.toDisplayString(d.title),1),a.createElementVNode("p",Ste,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",Ite,a.toDisplayString(d.desc),1),a.createVNode(a.unref(Zl),{class:"my-4"}),a.createElementVNode("div",_te,[a.createElementVNode("div",Bte,[a.createVNode(a.unref(oz),{class:"h-10 w-10"},{default:a.withCtx(()=>[d.avatarUrl?(a.openBlock(),a.createBlock(a.unref(iz),{key:0,src:d.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(rz),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i(d.personName)),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("div",Ate,[a.createElementVNode("p",Vte,a.toDisplayString(d.personName),1),a.createElementVNode("p",Pte,a.toDisplayString(d.personRole),1)])]),a.createElementVNode("div",Dte,[a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ss),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(wl),{class:"h-4 w-4"})]),_:1})])])],64)):d.type==="product"?(a.openBlock(),a.createElementBlock("div",qte,[a.createElementVNode("div",zte,[d.imgUrl?(a.openBlock(),a.createElementBlock("img",{key:0,src:d.imgUrl,class:"h-full w-full rounded-lg object-cover",alt:"product"},null,8,Ete)):(a.openBlock(),a.createBlock(a.unref(Bs),{key:1,class:"h-5 w-5 text-muted-foreground"}))]),a.createElementVNode("div",Tte,[a.createElementVNode("div",Ote,[a.createElementVNode("p",Hte,a.toDisplayString(d.title),1),a.createElementVNode("p",Fte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",$te,a.toDisplayString(d.desc),1),a.createElementVNode("div",{class:a.normalizeClass(["mt-4 grid gap-3",a.unref(n)?"grid-cols-1":"grid-cols-3"])},[a.createElementVNode("div",jte,[c[1]||(c[1]=a.createElementVNode("p",{class:"text-sm font-medium"},"Customer",-1)),a.createElementVNode("p",Rte,a.toDisplayString(d.customer),1)]),a.createElementVNode("div",Nte,[c[2]||(c[2]=a.createElementVNode("p",{class:"text-sm font-medium"},"Price",-1)),a.createElementVNode("p",Ute,a.toDisplayString(d.price),1)]),a.createElementVNode("div",Wte,[c[3]||(c[3]=a.createElementVNode("p",{class:"text-sm font-medium"},"Quantity",-1)),a.createElementVNode("p",Gte,a.toDisplayString(d.qty),1)])],2)])])):d.type==="design"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:3},[a.createElementVNode("div",Yte,[a.createElementVNode("p",Kte,a.toDisplayString(d.title),1),a.createElementVNode("p",Xte,a.toDisplayString(d.meta),1)]),a.createElementVNode("p",Zte,a.toDisplayString(d.desc),1),a.createElementVNode("div",Jte,[a.createVNode(a.unref(oz),{class:"h-10 w-10"},{default:a.withCtx(()=>[d.avatarUrl?(a.openBlock(),a.createBlock(a.unref(iz),{key:0,src:d.avatarUrl},null,8,["src"])):a.createCommentVNode("",!0),a.createVNode(a.unref(rz),null,{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(i(d.personName)),1)]),_:2},1024)]),_:2},1024),a.createElementVNode("p",Qte,a.toDisplayString(d.personName),1)])],64)):d.type==="server"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:4},[a.createElementVNode("div",eae,[a.createElementVNode("p",tae,a.toDisplayString(d.title),1),a.createVNode(a.unref(Oa),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.chipText),1)]),_:2},1024)]),a.createElementVNode("div",aae,[a.createElementVNode("div",nae,[a.createElementVNode("div",oae,[a.createVNode(a.unref(bl),{class:"h-4 w-4"}),c[4]||(c[4]=a.createElementVNode("span",null,"IP Address",-1))]),a.createElementVNode("span",rae,a.toDisplayString(d.ip),1)]),a.createElementVNode("div",iae,[a.createElementVNode("div",sae,[a.createVNode(a.unref(ws),{class:"h-4 w-4"}),c[5]||(c[5]=a.createElementVNode("span",null,"CPU",-1))]),a.createElementVNode("span",lae,a.toDisplayString(d.cpu),1)]),a.createElementVNode("div",cae,[a.createElementVNode("div",dae,[a.createVNode(a.unref(ws),{class:"h-4 w-4"}),c[6]||(c[6]=a.createElementVNode("span",null,"Memory",-1))]),a.createElementVNode("span",hae,a.toDisplayString(d.memory),1)])]),a.createVNode(a.unref(Zl),{class:"my-4"}),a.createElementVNode("div",uae,[a.createElementVNode("div",pae,[a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Il),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ll),{class:"h-4 w-4"})]),_:1})])])],64)):d.type==="location"?(a.openBlock(),a.createElementBlock(a.Fragment,{key:5},[a.createElementVNode("div",yae,[a.createElementVNode("div",fae,[a.createVNode(a.unref(Ls),{class:"h-4 w-4 text-muted-foreground"}),a.createElementVNode("p",mae,a.toDisplayString(d.title),1)]),a.createVNode(a.unref(Oa),{variant:"destructive",class:"h-6"},{default:a.withCtx(()=>[a.createTextVNode(a.toDisplayString(d.chipText),1)]),_:2},1024)]),a.createElementVNode("p",kae,a.toDisplayString(d.desc1),1),d.desc2?(a.openBlock(),a.createElementBlock("p",gae,a.toDisplayString(d.desc2),1)):a.createCommentVNode("",!0),a.createVNode(a.unref(Zl),{class:"my-4"}),a.createElementVNode("div",bae,[a.createElementVNode("div",Mae,[a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ml),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Ss),{class:"h-4 w-4"})]),_:1}),a.createVNode(a.unref(Se),{size:"icon",variant:"ghost"},{default:a.withCtx(()=>[a.createVNode(a.unref(Al),{class:"h-4 w-4"})]),_:1})]),a.createElementVNode("p",xae,"Due date: "+a.toDisplayString(d.due),1)])],64)):a.createCommentVNode("",!0)]),_:2},1024)]),_:2},1024)]))),128))])])]),_:1})]),_:1}))}}),vae={class:"dcode-upload-file"},Cae={class:"border-2 border-dashed border-gray-300 dark:border-gray-700 rounded-lg p-6 flex flex-col items-center justify-center text-center hover:bg-gray-50 dark:hover:bg-gray-800 transition-colors cursor-pointer"},Lae={key:0,class:"text-xs text-gray-500 mt-1"},Sae=["accept"],Iae={key:1,class:"text-xs text-red-600 mt-1"},lz=a.defineComponent({__name:"DCodeUploadFile",props:{label:{},accept:{},errorMessage:{},modelValue:{}},emits:["update:modelValue"],setup(t,{emit:e}){const n=e,o=r=>{var s;const i=(s=r.target.files)==null?void 0:s[0];i&&n("update:modelValue",i)};return(r,i)=>(a.openBlock(),a.createElementBlock("div",vae,[t.label?(a.openBlock(),a.createBlock(qB,{key:0,label:t.label},null,8,["label"])):a.createCommentVNode("",!0),a.createElementVNode("div",Cae,[a.createVNode(a.unref(va),{class:"w-8 h-8 text-gray-400 mb-2"}),i[0]||(i[0]=a.createElementVNode("p",{class:"text-sm text-gray-600 dark:text-gray-400"},[a.createElementVNode("span",{class:"font-medium text-primary-600"},"Click to upload"),a.createTextVNode(" or drag and drop ")],-1)),t.accept?(a.openBlock(),a.createElementBlock("p",Lae,a.toDisplayString(t.accept),1)):a.createCommentVNode("",!0),a.createElementVNode("input",{type:"file",class:"hidden",onChange:o,accept:t.accept},null,40,Sae)]),t.errorMessage?(a.openBlock(),a.createElementBlock("p",Iae,a.toDisplayString(t.errorMessage),1)):a.createCommentVNode("",!0)]))}}),_ae=["onClick"],Bae={key:1,class:"mr-2 text-xs font-bold shrink-0 opacity-50"},Aae={class:"font-semibold text-sm whitespace-normal text-center leading-tight"},Vae={key:1},Pae={key:0,class:"text-primary-700"},Dae={key:1},qae={key:2},zae={key:1,class:"mr-2 text-sm font-bold opacity-70"},Eae={class:"whitespace-normal text-sm text-center leading-tight"},Tae={class:"flex flex-col flex-1 min-w-0"},Oae={class:"text-sm text-muted-foreground"},Hae={class:"px-1"},Fae={name:"DCodeWizard"},cz=a.defineComponent({...Fae,props:{tabs:{},modelValue:{},defaultTab:{default:0},allowTabClick:{type:Boolean,default:!0},disabled:{type:Boolean,default:!1},cache:{type:Boolean,default:!0},autoFetchOnMount:{type:Boolean,default:!0},apiOptions:{type:[Object,Function],default:void 0},isVertical:{type:Boolean,default:!1},isWizard:{type:Boolean,default:!1},typeWizard:{default:"icon"},showNavigation:{type:Boolean,default:!0},submitText:{default:"Simpan"},loading:{type:Boolean,default:!1}},emits:["update:modelValue","change","loaded","error"],setup(t,{emit:e}){const n=t,o=e,r=nt(),i=r==null?void 0:r.DCodeApi;typeof i!="function"&&console.error("[DCodeWizardTabs] useApi() must expose DCodeApi()");const s=a.ref(n.defaultTab),c=a.computed({get(){var M;if(typeof n.modelValue=="string"){const v=(M=n.tabs)==null?void 0:M.findIndex(L=>L.key===n.modelValue);if(v!==void 0&&v>=0)return v}return(typeof n.modelValue=="number"?n.modelValue:void 0)??s.value},set(M){var v;if(s.value=M,typeof n.modelValue=="string"){const L=(v=n.tabs)==null?void 0:v[M];L?o("update:modelValue",L.key):o("update:modelValue",M)}else o("update:modelValue",M)}}),d=a.computed(()=>{var M;return((M=n.tabs)==null?void 0:M.length)??0}),h=a.computed(()=>{var M;return(M=n.tabs)==null?void 0:M[c.value]});function u(M){return d.value<=0?0:Math.min(Math.max(M,0),d.value-1)}const p=a.reactive({});function y(M){return p[M.key]||(p[M.key]={loaded:!1,loading:!1,data:null,error:null}),p[M.key]}function f(){if(n.apiOptions)return typeof n.apiOptions=="function"?n.apiOptions():n.apiOptions}function m(M){const v=M.endpoint||{};return{apiModule:M.apiModule||v.apiModule,apiAction:M.apiAction||v.apiAction,apiUrl:v.apiUrl,apiMethod:v.apiMethod||"GET",apiParams:M.apiParams}}function k(M){if(n.isWizard||!n.allowTabClick||n.disabled)return!1;const v=n.tabs[M];return!(!v||v.disabled)}async function g(M){if(typeof M.tab.fetchData=="function"){const q=await M.tab.fetchData(),O=(q==null?void 0:q.data)??q;return(O==null?void 0:O.data)??O}const v=m(M.tab);if(!(v.apiModule&&v.apiAction||v.apiUrl))return null;if(typeof i!="function")throw new Error("DCodeApi is not available");const I=f();let _;if(v.apiUrl)_=await i("","",I,{_url:v.apiUrl,_method:v.apiMethod,_data:v.apiParams??void 0});else{const q={...I,...v.apiParams};_=await i(v.apiModule,v.apiAction,q)}const A=(_==null?void 0:_.data)??_;return(A==null?void 0:A.data)??A}async function b(M,{force:v=!1}={}){const L=u(M),I=n.tabs[L];if(!I)return;const _=y(I);if(!(n.cache&&_.loaded&&!v)&&!_.loading){_.loading=!0,_.error=null;try{const A=await g({tabIndex:L,tab:I});_.data=A,_.loaded=!0,o("loaded",{tabIndex:L,tab:I,data:A})}catch(A){const V=typeof(A==null?void 0:A.message)=="string"&&A.message||typeof A=="string"&&A||"Failed to load tab data.";_.error=V,o("error",{tabIndex:L,tab:I,message:V})}finally{_.loading=!1}}}function w(M){const v=u(M);k(v)&&v!==c.value&&(c.value=v)}function S(M=c.value){return b(M,{force:!0})}function C(){const M=u(c.value-1);M!==c.value&&(c.value=M)}function x(){const M=u(c.value+1);M!==c.value&&(c.value=M)}return a.watch(()=>n.tabs,M=>{for(const v of M??[])y(v)},{immediate:!0}),a.watch(()=>c.value,async M=>{var L;const v=(L=n.tabs)==null?void 0:L[M];v&&o("change",{tabIndex:M,tab:v}),await b(M)},{immediate:!0}),a.watch(()=>n.autoFetchOnMount,async M=>{M&&await b(c.value)},{immediate:!0}),(M,v)=>(a.openBlock(),a.createBlock(a.unref(Qs),{class:a.normalizeClass(["w-full",{"flex flex-row":t.isVertical}])},{default:a.withCtx(()=>[a.createVNode(a.unref(Xl),{class:a.normalizeClass({"w-64 border-r pr-0":t.isVertical,"pb-2":t.isWizard&&!t.isVertical})},{default:a.withCtx(()=>[a.createElementVNode("div",{class:a.normalizeClass({"mt-4":!t.isVertical||t.isWizard})},[t.isWizard?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["w-full relative flex overflow-visible rounded-lg",t.isVertical?"flex-col gap-2":""])},[t.isVertical?(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:1},a.renderList(t.tabs,(L,I)=>(a.openBlock(),a.createElementBlock("div",{key:L.key,class:"relative z-10 box-border flex items-center gap-3 w-full pb-6 last:pb-0"},[a.createElementVNode("div",{class:a.normalizeClass(["w-8 h-8 rounded-full flex shrink-0 items-center justify-center font-bold text-sm border-2 transition-all bg-white dark:bg-zinc-800",[I<c.value?"border-primary bg-primary text-white border-primary-500":"",I===c.value?"border-primary text-primary border-primary-500 ring-2 ring-primary/20":"border-slate-300 dark:border-zinc-600 text-slate-500"]])},[t.typeWizard==="icon"&&L.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4"})):t.typeWizard==="number"||!L.icon&&t.typeWizard!=="none"?(a.openBlock(),a.createElementBlock("span",Vae,[I<c.value?(a.openBlock(),a.createElementBlock("span",Pae,"✓")):(a.openBlock(),a.createElementBlock("span",Dae,a.toDisplayString(I+1),1))])):(a.openBlock(),a.createElementBlock("span",qae))],2),a.createElementVNode("span",{class:a.normalizeClass(["text-xs font-semibold whitespace-normal px-2 py-1 rounded transition-colors text-left",I===c.value?"text-primary":"text-slate-500"])},a.toDisplayString(L.title),3)]))),128)):(a.openBlock(!0),a.createElementBlock(a.Fragment,{key:0},a.renderList(t.tabs,(L,I)=>(a.openBlock(),a.createElementBlock("div",{key:L.key,onClick:_=>w(I),style:a.normalizeStyle({zIndex:t.tabs.length-I}),class:"relative flex-1 group"},[a.createElementVNode("div",{class:a.normalizeClass(["relative flex items-center justify-center min-h-[3rem] h-auto py-2 px-2 cursor-pointer transition-colors w-full",[I>0?"pl-8":"",I===c.value?"bg-primary text-primary-foreground":I<c.value?"bg-primary/20 text-primary hover:bg-primary/30":"bg-slate-100 dark:bg-zinc-800 text-slate-500 group-hover:bg-slate-200 dark:group-hover:bg-zinc-700"]])},[t.typeWizard==="icon"&&L.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(L.icon),{key:0,class:"w-4 h-4 mr-2 shrink-0"})):t.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",Bae,a.toDisplayString(I+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",Aae,a.toDisplayString(L.title),1)],2),I<t.tabs.length-1?(a.openBlock(),a.createElementBlock("div",{key:0,class:a.normalizeClass(["absolute top-0 -right-4 w-0 h-0 border-t-[24px] border-t-transparent border-b-[24px] border-b-transparent border-l-[16px] transition-colors",[I===c.value?"border-l-primary":I<c.value?"border-l-primary/20 group-hover:border-l-primary/30":"border-l-slate-100 dark:border-l-zinc-800 group-hover:border-l-slate-200 dark:group-hover:border-l-zinc-700"]])},null,2)):a.createCommentVNode("",!0)],12,_ae))),128))],2)):(a.openBlock(),a.createElementBlock("div",{key:1,class:a.normalizeClass(["flex w-full",t.isVertical?"flex-col gap-1":"flex-wrap border-b border-separate"])},[(a.openBlock(!0),a.createElementBlock(a.Fragment,null,a.renderList(t.tabs,(L,I)=>(a.openBlock(),a.createBlock(a.unref(Se),{key:L.key,type:"button",variant:"ghost",disabled:!k(I),onClick:_=>w(I),class:a.normalizeClass(["relative min-h-[3rem] h-auto py-2 flex items-center justify-center gap-2 px-4 transition-all rounded-none",a.unref(he)("border-b border-r border-slate-200 dark:border-zinc-700",!t.isVertical&&I===t.tabs.length-1&&"border-r-0",I===c.value?"bg-primary-50 dark:bg-primary-900/20 text-primary-700 dark:text-primary-300 font-semibold":"bg-white dark:bg-zinc-900 text-slate-600 dark:text-zinc-400 hover:bg-slate-50 dark:hover:bg-zinc-800",!k(I)&&"opacity-60 cursor-not-allowed",t.isVertical?"w-full justify-start border-r-0":"flex-1")])},{default:a.withCtx(()=>[t.typeWizard==="icon"&&L.icon?(a.openBlock(),a.createBlock(a.resolveDynamicComponent(L.icon),{key:0,class:"h-4 w-4 shrink-0"})):t.typeWizard==="number"?(a.openBlock(),a.createElementBlock("span",zae,a.toDisplayString(I+1),1)):a.createCommentVNode("",!0),a.createElementVNode("span",Eae,a.toDisplayString(L.title),1)]),_:2},1032,["disabled","onClick","class"]))),128))],2))],2)]),_:1},8,["class"]),t.isVertical?a.createCommentVNode("",!0):(a.openBlock(),a.createBlock(a.unref(Zl),{key:0})),a.createElementVNode("div",Tae,[a.createVNode(a.unref(el),{class:a.normalizeClass(["pt-6 flex-1 min-w-0",{"pl-6":t.isVertical}])},{default:a.withCtx(()=>{var L,I,_;return[h.value?(a.openBlock(),a.createElementBlock(a.Fragment,{key:0},[(L=p[h.value.key])!=null&&L.loading?a.renderSlot(M.$slots,"loading",{key:0,tab:h.value,tabIndex:c.value},()=>[v[0]||(v[0]=a.createElementVNode("div",{class:"rounded-lg border bg-muted/30 px-4 py-3 text-sm text-muted-foreground"},"Loading...",-1))]):a.renderSlot(M.$slots,`tab-${h.value.key}`,{key:1,tab:h.value,tabIndex:c.value,data:(I=p[h.value.key])==null?void 0:I.data,loaded:(_=p[h.value.key])==null?void 0:_.loaded,reload:S},()=>[a.createElementVNode("div",Oae,[v[1]||(v[1]=a.createTextVNode(" Slot ",-1)),a.createElementVNode("code",Hae,"tab-"+a.toDisplayString(h.value.key),1),v[2]||(v[2]=a.createTextVNode(" belum dibuat. ",-1))])])],64)):a.createCommentVNode("",!0)]}),_:3},8,["class"]),t.isWizard||t.showNavigation?(a.openBlock(),a.createBlock(a.unref(iW),{key:0,class:a.normalizeClass(["flex justify-between p-6 pt-0",{"pl-6":t.isVertical}])},{default:a.withCtx(()=>[a.createVNode(a.unref(Se),{type:"button",variant:"outline",onClick:C,disabled:c.value<=0},{default:a.withCtx(()=>[...v[3]||(v[3]=[a.createTextVNode(" Sebelumnya ",-1)])]),_:1},8,["disabled"]),c.value<d.value-1?(a.openBlock(),a.createBlock(a.unref(Se),{key:0,type:"button",onClick:x},{default:a.withCtx(()=>[...v[4]||(v[4]=[a.createTextVNode(" Selanjutnya ",-1)])]),_:1})):(a.openBlock(),a.createBlock(a.unref(Se),{key:1,type:"submit",disabled:t.loading},{default:a.withCtx(()=>[t.loading?(a.openBlock(),a.createBlock(a.unref(bt),{key:0,class:"w-4 h-4 mr-2 animate-spin"})):a.createCommentVNode("",!0),a.createTextVNode(" "+a.toDisplayString(t.submitText),1)]),_:1},8,["disabled"]))]),_:1},8,["class"])):a.createCommentVNode("",!0)])]),_:3},8,["class"]))}});function $ae(){return{setPageTitle:n=>{typeof document<"u"&&(document.title=n||document.title),typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:page-title",{detail:{title:n},bubbles:!0,composed:!0}))},setBreadcrumb:n=>{typeof window<"u"&&window.dispatchEvent(new CustomEvent("micro:breadcrumb",{detail:{items:n},bubbles:!0,composed:!0}))}}}const jae={class:"w-full"},Rae={class:"relative mx-auto min-h-[37.5rem]"},Nae={key:"content",class:"w-full"},Uae={class:"mb-6"},Wae={class:"text-neutral-500 dark:text-neutral-400"},Gae={key:"skeleton",class:"w-full"},Yae={key:"error",class:"flex items-center justify-center p-20 text-red-500 w-full"},Kae=Wl(a.defineComponent({__name:"AutoLayoutForm",props:{layoutCode:{}},setup(t){var x,M;const e=t,n=(M=(x=a.getCurrentInstance())==null?void 0:x.appContext)==null?void 0:M.app;n&&!n._context.provides[Symbol.for("vue-router-route-location")]&&n.provide(Symbol.for("vue-router-route-location"),{query:{},params:{},path:""});let o;try{o=cl.useRoute()}catch{o={query:{},params:{},path:""}}let r;try{r=cl.useRouter()}catch{r={back:()=>console.warn("Router back() not available in custom element"),push:()=>console.warn("Router push() not available in custom element")}}const{apiUrl:i,DCodeApi:s}=nt();let c;try{c=Je.useI18n().locale}catch{c=a.ref("en")}const{setPageTitle:d}=$ae(),h=a.computed(()=>o.params&&"id"in o.params?!0:o.path?/\/edit\/[^\/]+$/.test(o.path):!1),u=a.computed(()=>{if(o.params&&"id"in o.params)return o.params.id;if(!o.path)return null;const v=o.path.match(/\/edit\/([^\/]+)$/);return v?v[1]:null}),p=a.ref({}),y=a.ref(null),f=a.ref(!0),m=a.ref(!1),k=a.ref(e.layoutCode),g=a.computed(()=>{var I;if(!y.value)return"";const v=((I=c==null?void 0:c.value)==null?void 0:I.toLowerCase())||"en";return(v==="en"||v.startsWith("en-")?y.value.titleEN:y.value.titleID)||y.value.title||e.layoutCode});a.watch(g,v=>{v&&d(v)},{immediate:!0});const b=async()=>{var v,L,I;f.value=!0;try{let _=e.layoutCode;o&&o.query&&typeof o.query=="object"&&"code"in o.query&&(_=o.query.code||e.layoutCode);let A=await i(`/api/auto-layout/form/form-dynamic?code=${_}`,"GET");if(!A.status||!A.data||Array.isArray(A.data)&&A.data.length===0)try{const V=await i(`/api/auto-layout/datatable/form-dynamic?code=${_}`,"GET");if(V.status){const q=Array.isArray(V.data)?V.data[0]:V.data;q&&q.code&&(_=q.code,k.value=_,A=await i(`/api/auto-layout/form/form-dynamic?code=${_}`,"GET"))}}catch(V){console.warn("Failed to resolve layout code via datatable",V)}if(A.status){y.value=Array.isArray(A.data)?A.data[0]:A.data;const V={};if((v=y.value)!=null&&v.sections&&y.value.sections.forEach(q=>{((q.propsForm||q.props||{}).fields||q.fields||[]).forEach(T=>{var j;const H=T.model||((j=T.props)==null?void 0:j.model)||T.key;H&&(V[H]=null)})}),p.value=V,f.value=!1,h.value&&u.value){m.value=!0;try{if((L=y.value.endpointGlobal)!=null&&L.apiUrl){const q=y.value.endpointGlobal.apiUrl,O=y.value.endpointGlobal.apiMethod||"GET",N={id:u.value},T=await s(q,O,N);if(T.status){const H=Array.isArray(T.data)?T.data[0]:T.data;p.value={...p.value,...H}}}else{const q=((I=y.value.endpoint)==null?void 0:I.detailUrl)||`/api/${k.value}/detail/${u.value}`,O=await i(q,"GET");if(O.status){let N=Array.isArray(O.data)?O.data[0]:O.data;if(O.payload){const H={...O.payload};if(Object.keys(H).forEach(j=>{N[j]!==void 0&&N[j]!==null&&(H[j]=N[j])}),!("id"in H)&&N.id){const j=Object.keys(H).find(Z=>Z.startsWith("id")&&Z.length>2&&!H[Z]);j&&(H[j]=N.id)}N=H}const T={...N};Object.keys(p.value).forEach(H=>{if(T[H]===void 0||T[H]===null){if(H.toLowerCase().startsWith("id")&&H.length>2){const Z=H.substring(2).toLowerCase(),P=Array.isArray(O.data)?O.data[0]:O.data,D=Object.keys(P).find(G=>G.toLowerCase()===Z);D&&P[D]&&typeof P[D]=="object"&&"id"in P[D]&&(T[H]=P[D].id)}if(H==="idSupervisor"){const Z=Array.isArray(O.data)?O.data[0]:O.data;Z.supervisorId&&(T[H]=Z.supervisorId)}}}),p.value={...p.value,...T}}}}catch(q){console.error("Failed to fetch record data:",q)}finally{m.value=!1}}}}catch(_){console.error("Failed to load form layout:",_),f.value=!1}},w=async v=>{var L,I,_;try{const A=(_=(I=(L=y.value.sections)==null?void 0:L[0])==null?void 0:I.propsForm)==null?void 0:_.endpointForm,V=y.value.endpointGlobal||y.value.endpoint,q=(A==null?void 0:A.submitUrl)||(V==null?void 0:V.submitUrl)||`/api/generic/${e.layoutCode}`,O=(A==null?void 0:A.submitMethod)||(V==null?void 0:V.submitMethod)||(h.value?"PUT":"POST"),N={...v};h.value&&u.value&&!N.id&&(N.id=u.value),await i(q,O,N),r.back()}catch(A){console.error("Submit failed:",A)}},S=async(v,L)=>{if(v==="cancel"){C();return}const I=L.endpointPropAction||L.propsActionGlobal&&L.propsActionGlobal.endpointPropAction;if(I)try{f.value=!0;const _={...p.value};h.value&&L.model&&u.value&&(_[L.model]=u.value);const A=I.apiUrl,V=I.apiMethod||"POST";(await s(A,V,_)).status&&r.back()}catch(_){console.error("Action failed:",_)}finally{f.value=!1}},C=()=>{r.back()};return a.onMounted(()=>{b()}),a.onUnmounted(()=>{d("")}),(v,L)=>{const I=a.resolveComponent("DynamicForm"),_=a.resolveComponent("AutoLayoutSkeleton");return a.openBlock(),a.createElementBlock("div",jae,[a.createElementVNode("div",Rae,[a.createVNode(a.Transition,{name:"fade",mode:"out-in"},{default:a.withCtx(()=>[!f.value&&y.value?(a.openBlock(),a.createElementBlock("div",Nae,[a.createElementVNode("div",Uae,[a.createElementVNode("p",Wae,a.toDisplayString(y.value.description),1)]),a.createVNode(I,{schema:y.value,model:p.value,"is-edit-mode":h.value,loading:m.value,onSubmit:w,onCancel:C,onAction:S,class:"w-full"},null,8,["schema","model","is-edit-mode","loading"])])):f.value?(a.openBlock(),a.createElementBlock("div",Gae,[a.createVNode(_)])):(a.openBlock(),a.createElementBlock("div",Yae," Failed to load form configuration for "+a.toDisplayString(e.layoutCode),1))]),_:1})])])}}}),[["__scopeId","data-v-71be8ab0"]]),Xae={class:"h-full flex flex-col"},Zae={key:1,class:"flex-1 flex items-center justify-center"},Jae={key:2,class:"flex-1 flex items-center justify-center text-red-500"},Qae=a.defineComponent({__name:"AutoLayoutDatatable",props:{layoutCode:{}},setup(t){const e=t,n=cl.useRoute(),{apiUrl:o}=nt(),r=a.ref(null),i=a.ref(!0),s=a.ref(null),c=async()=>{i.value=!0;try{const h=await o(`/api/auto-layout/datatable/form-dinamic?code=${e.layoutCode}`,"GET");h.status&&(r.value=Array.isArray(h.data)?h.data[0]:h.data)}catch(h){console.error("Gagal Menampilkan Datatable:",h)}finally{i.value=!1}},d=h=>{console.log("Aksi tidak terdaftar:",h.action)};return a.onMounted(()=>{c()}),(h,u)=>(a.openBlock(),a.createElementBlock("div",Xae,[!i.value&&r.value?(a.openBlock(),a.createBlock(PS,{key:0,ref_key:"dtRef",ref:s,"api-url":`/api/auto-layout/datatable/form-dinamic?code=${e.layoutCode}`,"api-method":"GET","table-config":r.value,"permission-base":a.unref(n).path,onAction:d},{"header-actions":a.withCtx(()=>[...u[0]||(u[0]=[])]),_:1},8,["api-url","table-config","permission-base"])):i.value?(a.openBlock(),a.createElementBlock("div",Zae,[...u[1]||(u[1]=[a.createElementVNode("i",{class:"mdi mdi-loading mdi-spin text-4xl text-primary-600"},null,-1)])])):(a.openBlock(),a.createElementBlock("div",Jae," Failed to load configuration for "+a.toDisplayString(e.layoutCode),1))]))}}),dz=a.defineCustomElement(Kae),hz=a.defineCustomElement(Qae),uz=a.defineCustomElement(PS);customElements.define("micro-dynamic-form",dz),customElements.define("micro-dynamic-datatable",hz),customElements.define("micro-data-table",uz);const ene=[PS,E_,TP,Wt,z_,Gq,Gl,Yq,T_,O_,LS,Kq,AS,Xq,DB,Zq,H_,j_,F_,qB,Jq,R_,Qq,ez,tz,az,nz,N_,U_,VS,sz,lz,cz],tne={install(t,e={}){e&&Object.keys(e).length>0&&Pz(e),ene.forEach(n=>{n.name&&t.component(n.name,n)})}};oe.DCodeAutoComplete=E_,oe.DCodeButton=Wt,oe.DCodeCard=z_,oe.DCodeChart=Gq,oe.DCodeCheckbox=Gl,oe.DCodeCurrencyField=Yq,oe.DCodeDatePicker=T_,oe.DCodeDateRangePicker=O_,oe.DCodeDialog=LS,oe.DCodeDialogCloseBtn=Kq,oe.DCodeDropzone=AS,oe.DCodeFileField=Xq,oe.DCodeFileResult=DB,oe.DCodeIconDropdown=Zq,oe.DCodeImageCropperDialog=H_,oe.DCodeImageField=j_,oe.DCodeImageResult=F_,oe.DCodeInfiniteAutoComplete=TP,oe.DCodeLabel=qB,oe.DCodeMultiSelect=Jq,oe.DCodeOtpInput=R_,oe.DCodeProgress=Qq,oe.DCodeProgressBar=ez,oe.DCodeRadio=tz,oe.DCodeRadioCustom=az,oe.DCodeSlider=nz,oe.DCodeSwitch=N_,oe.DCodeTextField=U_,oe.DCodeTextarea=VS,oe.DCodeTimelineWithIcons=sz,oe.DCodeUploadFile=lz,oe.DCodeWizard=cz,oe.DataTable=PS,oe.MicroDataTable=uz,oe.MicroDynamicDatatable=hz,oe.MicroDynamicForm=dz,oe.cn=he,oe.default=tne,Object.defineProperties(oe,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
|