efficient-shell 13.16.0 → 13.18.0

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.
Files changed (132) hide show
  1. package/README.md +7 -0
  2. package/dist/{Browser-4KWGT3FG.js → Browser-ORLSC6T4.js} +15 -15
  3. package/dist/Calculator-4UBMDAJO.js +29 -0
  4. package/dist/{CurrencyConverter-X5ENBDLK.js → CurrencyConverter-H3HHXXKT.js} +6 -6
  5. package/dist/{Files-NT76VUHQ.js → Files-PI3Z4TAO.js} +53 -53
  6. package/dist/Notepad-6FPZHJQ7.js +24 -0
  7. package/dist/PdfViewer-EELX35ZI.js +1 -0
  8. package/dist/{PomodoroTimer-KDXH5M3Q.js → PomodoroTimer-JVCYYGRD.js} +16 -16
  9. package/dist/{Preview-QNJD5PVD.js → Preview-4XSAIYMZ.js} +21 -21
  10. package/dist/{Stock-JR77FPOD.js → Stock-S266KGAF.js} +4 -4
  11. package/dist/{Weather-MGSDU3M5.js → Weather-TE4TTTQA.js} +19 -19
  12. package/dist/{WorldClock-GGAYPYIO.js → WorldClock-5TPBHBYA.js} +6 -6
  13. package/dist/ai/index.js +23 -23
  14. package/dist/apps/ImageAnnotator.js +1 -1
  15. package/dist/apps/index.js +1 -1
  16. package/dist/bin/browser-check.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/brand.css +1 -1
  20. package/dist/charts/BoxPlotChart.js +1 -1
  21. package/dist/charts/CandlestickChart.js +1 -1
  22. package/dist/charts/CartesianPlot.js +1 -1
  23. package/dist/charts/ColumnChart.js +1 -1
  24. package/dist/charts/FunnelChart.js +1 -1
  25. package/dist/charts/HeatmapChart.js +1 -1
  26. package/dist/charts/HistogramChart.js +1 -1
  27. package/dist/charts/PieChart.js +1 -1
  28. package/dist/charts/RangeChart.js +1 -1
  29. package/dist/charts/SankeyChart.js +1 -1
  30. package/dist/charts/ScatterChart.js +1 -1
  31. package/dist/charts/SpecChart.js +1 -1
  32. package/dist/charts/TimeSeriesChart.js +1 -1
  33. package/dist/charts/TreemapChart.js +1 -1
  34. package/dist/charts/WaterfallChart.js +1 -1
  35. package/dist/chunk-2WBKQOLF.js +2 -0
  36. package/dist/{chunk-QE2JX7D4.js → chunk-34HRPEQD.js} +1 -1
  37. package/dist/{chunk-OWAYSIQH.js → chunk-42DF7CDB.js} +5 -5
  38. package/dist/chunk-43JCG6EB.js +1 -0
  39. package/dist/{chunk-J4CVYOY3.js → chunk-4SYPNE3P.js} +1 -1
  40. package/dist/{chunk-OEPQIIYL.js → chunk-63E4ZZYI.js} +1 -1
  41. package/dist/{chunk-CKTFXTJL.js → chunk-6OCA7RKQ.js} +1 -1
  42. package/dist/{chunk-NISLELJF.js → chunk-6UGMQZTF.js} +1 -1
  43. package/dist/{chunk-VYHVIKP6.js → chunk-7SVSHJOO.js} +10 -10
  44. package/dist/{chunk-W6NGPSMM.js → chunk-ABPVCVCT.js} +12 -12
  45. package/dist/{chunk-FKMARSJZ.js → chunk-BNI3N4TT.js} +2 -2
  46. package/dist/{chunk-IJNQ2BUY.js → chunk-CILE3ZCC.js} +2 -2
  47. package/dist/{chunk-XHD6Q6JV.js → chunk-EFO72DEI.js} +1 -1
  48. package/dist/{chunk-IJJNJJ6I.js → chunk-EG5MU7XL.js} +1 -1
  49. package/dist/{chunk-UC5IC3AM.js → chunk-EHM3ZVVT.js} +4 -4
  50. package/dist/{chunk-SHHRC5XK.js → chunk-ENVANMHI.js} +7 -7
  51. package/dist/{chunk-UFWBPTCM.js → chunk-F5F5RKB5.js} +5 -5
  52. package/dist/{chunk-OLSA36VX.js → chunk-FUPU7Z2G.js} +6 -6
  53. package/dist/{chunk-YDFDTRZF.js → chunk-G7SILKUY.js} +5 -5
  54. package/dist/{chunk-BVX7LUAW.js → chunk-GEQZUCEO.js} +6 -6
  55. package/dist/{chunk-J6QC45OS.js → chunk-HC5KQZFG.js} +5 -5
  56. package/dist/{chunk-GNXAVDZD.js → chunk-J5NBRYBF.js} +1 -1
  57. package/dist/chunk-KBQXXPFK.js +1 -0
  58. package/dist/{chunk-MHQW6NAE.js → chunk-KBZMOPPH.js} +10 -10
  59. package/dist/{chunk-N5KJLHYI.js → chunk-LADP6AJY.js} +5 -5
  60. package/dist/{chunk-IG3K6AGW.js → chunk-LUCO5PS6.js} +1 -1
  61. package/dist/chunk-M6UKCZHT.js +2 -0
  62. package/dist/{chunk-H5PSCQJ2.js → chunk-NVKRYUCM.js} +6 -6
  63. package/dist/{chunk-7IXU4YT4.js → chunk-OFFJHTNM.js} +4 -4
  64. package/dist/chunk-OTEAWX2C.js +1 -0
  65. package/dist/chunk-OUYGLDQN.js +24 -0
  66. package/dist/{chunk-7TJZ5AJE.js → chunk-QNXTVDIC.js} +6 -6
  67. package/dist/{chunk-PY4DTB6Y.js → chunk-QSJMLHBD.js} +1 -1
  68. package/dist/{chunk-IUQJGFEO.js → chunk-QTDR2CTB.js} +3 -3
  69. package/dist/{chunk-K2FVP22A.js → chunk-S43DEWMZ.js} +1 -1
  70. package/dist/{chunk-XXTAMF3O.js → chunk-S7YUQLBN.js} +6 -6
  71. package/dist/chunk-SHBZTW7P.js +5 -0
  72. package/dist/chunk-SM3N5UJ2.js +69 -0
  73. package/dist/{chunk-J4KPBR5B.js → chunk-TKCCJRPE.js} +1 -1
  74. package/dist/{chunk-YTDMCUL7.js → chunk-U5RG34NE.js} +10 -10
  75. package/dist/{chunk-NW5NSV7N.js → chunk-V6HKE4HV.js} +2 -2
  76. package/dist/{chunk-OIEFMLYI.js → chunk-VR6LMREE.js} +3 -3
  77. package/dist/{chunk-EJOKROMB.js → chunk-WHPYQOXA.js} +5 -5
  78. package/dist/{chunk-WLBWACKP.js → chunk-WJTNQ7YD.js} +1 -1
  79. package/dist/{chunk-P5C7DI5A.js → chunk-WPGSU4QG.js} +5 -5
  80. package/dist/{chunk-75R3EKWZ.js → chunk-XD3M5ZXM.js} +3 -3
  81. package/dist/chunk-ZI2FDUYJ.js +99 -0
  82. package/dist/data/EntityList.js +1 -1
  83. package/dist/data/ResizableTable.js +1 -1
  84. package/dist/forms/BorderInput.js +1 -1
  85. package/dist/forms/BrandAssetEditor.js +1 -1
  86. package/dist/forms/ColorPicker.js +1 -1
  87. package/dist/forms/CornersInput.js +1 -1
  88. package/dist/forms/InputNumber.js +1 -1
  89. package/dist/forms/MediaLibrary.js +1 -1
  90. package/dist/forms/MediaUploadField.js +1 -1
  91. package/dist/forms/PositionInput.js +1 -1
  92. package/dist/forms/SidesInput.js +1 -1
  93. package/dist/forms/Slider.js +1 -1
  94. package/dist/forms/UnitMenu.js +1 -1
  95. package/dist/forms/WidestLabel.d.ts +26 -0
  96. package/dist/forms/WidestLabel.js +1 -0
  97. package/dist/forms/WidthsBar.js +1 -1
  98. package/dist/icons/brands.node.js +1 -1
  99. package/dist/icons/efficient-glyphs.js +1 -1
  100. package/dist/icons/efficient-looks.js +1 -1
  101. package/dist/icons/efficient.js +1 -1
  102. package/dist/icons/index.js +1 -1
  103. package/dist/icons/looks/map.js +1 -1
  104. package/dist/icons/payment.js +3 -3
  105. package/dist/icons/sets.js +1 -1
  106. package/dist/index.d.ts +2 -0
  107. package/dist/index.js +117 -117
  108. package/dist/pdf/index.js +1 -1
  109. package/dist/shell/FitFrame.d.ts +46 -0
  110. package/dist/shell/FitFrame.js +2 -0
  111. package/dist/shell/LanguageSelect.js +1 -1
  112. package/dist/shell/SettingRow.js +1 -1
  113. package/dist/shell/SidebarLayout.js +1 -1
  114. package/dist/telemetry/index.js +1 -1
  115. package/dist/templates/ChatTemplate.js +1 -1
  116. package/dist/templates/DashboardTemplate.js +1 -1
  117. package/dist/templates/EmailTemplate.js +1 -1
  118. package/dist/ui/index.d.ts +2 -0
  119. package/dist/ui/index.js +1 -1
  120. package/dist/version.js +1 -1
  121. package/package.json +1 -1
  122. package/dist/Calculator-VURS4NAT.js +0 -29
  123. package/dist/Notepad-6AMNAYQQ.js +0 -24
  124. package/dist/PdfViewer-PFQGQRQX.js +0 -1
  125. package/dist/chunk-6QKTQOEV.js +0 -69
  126. package/dist/chunk-74SCWPQF.js +0 -1
  127. package/dist/chunk-JFOMAXD2.js +0 -99
  128. package/dist/chunk-OMOAD5LL.js +0 -1
  129. package/dist/chunk-QAAHFU2I.js +0 -1
  130. package/dist/chunk-XQVGBVHC.js +0 -5
  131. package/dist/chunk-YGKLZBWC.js +0 -24
  132. /package/dist/{chunk-VG6BT2UG.js → chunk-7UCZAUAU.js} +0 -0
@@ -1,99 +0,0 @@
1
- import{computeMaximizedBox as e,isSidebarStripReserved as t,boxFillsWorkArea as n,readAlwaysMaximizedFlag as r,WORK_AREA_CHANGED_EVENT as o,scrollerIsFluid as i,growBoxToWidth as a,widthToFit as s,navIcons as l}from"./chunk-4LXCCZDM.js";import{reportBoundaryError as c}from"./chunk-KNUR2UEG.js";import{isStaleChunkError as u}from"./chunk-JDCM2VHG.js";import{Result as d}from"./chunk-M2TQOJ3G.js";import{CMD_Z as h,CMD_SHIFT_Z as m}from"./chunk-FBZUEZK7.js";import{CopyButton as p}from"./chunk-BG3C4ALM.js";import{confirm as f}from"./chunk-GMLOMLCS.js";import{useModalDragAside as w}from"./chunk-EIFNESXS.js";import{ItemCount as y}from"./chunk-SXHV5OLA.js";import{isInOverlayOver as g}from"./chunk-SF4IIV5Z.js";import{dialogA11y as v}from"./chunk-VWGWZY7A.js";import{ColoredBadge as b}from"./chunk-WRV6QKJN.js";import{ROW_HEIGHTS as x}from"./chunk-AW7TOB6N.js";import{LoadingSpinner as k}from"./chunk-4U5M37SF.js";import{activationOrder as E,activeListeners as C,ModalActionsContext as M,subscribeActive as N,getActiveModalId as S,KEY_ACTIVATED_SELECTOR as L}from"./chunk-F3ZOO23R.js";import{useShellAuth as T}from"./chunk-2QY5BJLA.js";import{useIsMobile as z,useIsPhone as A}from"./chunk-UGTRSRIW.js";import{useShellPrefs as D}from"./chunk-DPFEQQQU.js";import{focusableIn as I}from"./chunk-DWGYC7OD.js";import{StatusBadge as P}from"./chunk-YDJ5IZOU.js";import{PopupMenu as R,PopupMenuItem as W,PopupMenuDivider as O,PopupMenuLabel as K}from"./chunk-THAPVKEJ.js";import{Button_default as $}from"./chunk-UTISUEO4.js";import{Icon as j}from"./chunk-ISVODSRP.js";import{LoadingSpinner as F}from"./chunk-R2VKEMZH.js";import{Z_LAYERS as q}from"./chunk-62LW225J.js";import{shellHttp as B,isShellHttpConfigured as H}from"./chunk-STKJA4PV.js";import{runEscapeInterceptors as U}from"./chunk-TWVUQUUD.js";import{useShellStrings as Y}from"./chunk-IUVGHHR3.js";import{createContext as X,createElement as V,useContext as G,Component as J,useLayoutEffect as _,useRef as Q,useEffect as Z,useState as ee,useSyncExternalStore as te,useCallback as ne,isValidElement as re,Fragment as oe,Children as ie,cloneElement as ae,useMemo as se,useId as le,useReducer as ce,Suspense as ue}from"react";import{jsxs as de,jsx as he,Fragment as me}from"react/jsx-runtime";import{createPortal as pe}from"react-dom";import{useLocation as fe}from"react-router-dom";import{useQueryClient as we,useQuery as ye}from"@tanstack/react-query";function ge(e){return"component"in e}function ve(e){return"endpoint"in e}var be={};function xe(e){be=e}var ke=new Proxy({},{get:(e,t)=>be[t],has:(e,t)=>t in be,ownKeys:()=>Object.keys(be),getOwnPropertyDescriptor(e,t){if(t in be)return{configurable:!0,enumerable:!0,value:be[t]}}});function Ee(){return H()}var Ce=B,Me=X({});function Ne({value:e,children:t}){return V(Me.Provider,{value:e},t)}function Se(){return G(Me)}var Le=X(null);function Te(){return G(Le)?.pageSearch??""}var ze=null,Ae=/* @__PURE__ */new Set;function De(e){ze!==e&&(ze=e,Ae.forEach(e=>e()))}function Ie(){return ze}function Pe(e){return Ae.add(e),()=>{Ae.delete(e)}}var Re=null;function We(e){Re=e}function Oe({error:e,onReload:t}){const n=u(e);/* @__PURE__ */
2
- return de("div",{className:"flex-1 flex flex-col items-center justify-center gap-3 px-6 py-12 text-center",children:[
3
- /* @__PURE__ */he(j,{name:"warning",className:"h-8 w-8 text-amber-500",strokeWidth:1.5}),
4
- /* @__PURE__ */de("div",{className:"min-w-0",children:[
5
- /* @__PURE__ */he("p",{className:"text-sm font-medium text-gray-700",children:n?"This window needs the latest version of the app":"This window crashed"}),
6
- /* @__PURE__ */he("p",{className:"mt-1 text-xs text-gray-400 max-w-sm break-words",children:n?"A new version was deployed while this tab was open. Reload the page to pick it up.":e.message||String(e)})]}),
7
- /* @__PURE__ */he("button",{type:"button",onClick:n?()=>window.location.reload():t,className:"bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 text-sm font-medium rounded-lg",children:n?"Reload page":"Reload window"})]})}var Ke=class extends J{state={error:null};static getDerivedStateFromError(e){return{error:e instanceof Error?e:new Error(String(e))}}componentDidCatch(e,t){console.error("[efficient-shell] window content crashed:",e,t.componentStack),c(e)}reset=()=>this.setState({error:null});render(){const{error:e}=this.state;return e?this.props.fallback?this.props.fallback(e,this.reset):/* @__PURE__ */he(Oe,{error:e,onReload:this.reset}):this.props.children}},$e=X(null),je="text-xs text-gray-500 hover:text-gray-700 disabled:opacity-40 disabled:hover:text-gray-500 disabled:cursor-default";function Fe({className:e="",auto:t=!1}){const n=G($e),r=Y().undo,o=n?.claimOwnMount;if(_(()=>{if(!t&&o)return o(!0),()=>o(!1)},[t,o]),!n||!n.enabled)return null;const{undo:i,redo:a,canUndo:s,canRedo:l,undoLabel:c,redoLabel:u}=n;/* @__PURE__ */
8
- return de("div",{className:`flex items-center gap-2 ${e}`,"data-undo-controls":t?"shell":"form",children:[
9
- /* @__PURE__ */he("button",{type:"button",onClick:i,disabled:!s,title:s?r.undoStep(c??"",h):r.nothingToUndo,className:je,children:r.undo}),
10
- /* @__PURE__ */he("button",{type:"button",onClick:a,disabled:!l,title:l?r.redoStep(u??"",m):r.nothingToRedo,className:je,children:r.redo})]})}var qe=/* @__PURE__ */new Set([408,429]);function Be(e){const t=e?.response?.status;return"number"==typeof t?t:void 0}function He(e){const t=Be(e);return null!=t&&(t>=400&&t<500&&!qe.has(t))}function Ue(e,t){return!He(t)&&e<3}function Ye(e){if("page"!==e.type)return!0;const t=e.route?ke[e.route]:void 0;if(!t||!ge(t))return!0;const n=t;return!n.widget&&!n.utility}function Xe(e){const t=e.route?ke[e.route]:void 0;if(!t||!ge(t))return;const n=t;return n.taskbarGroup?n.taskbarGroup:{key:e.route,label:n.label,icon:e.route}}var Ve=(e,t)=>!!t&&"page"===e.type&&e.route===t;var Ge="flex-1 min-h-0";function Je(){const e=Y().record;/* @__PURE__ */
11
- return he(F,{label:e.loading,padding:"",className:Ge})}function _e(e){return e??void 0}function Qe({isPending:e,isFetching:t,enabled:n=!0,error:r,onRetry:o}){const i=Y().record;if(t||e&&n)/* @__PURE__ */return he(Je,{});if(r){const e=Be(r);if(401===e)/* @__PURE__ */
12
- return he(d,{status:"warning",title:i.signInRequired,subTitle:i.signInBody,className:Ge});if(403===e)/* @__PURE__ */
13
- return he(d,{status:"403",className:Ge});if(404===e||410===e)/* @__PURE__ */
14
- return he(d,{status:"404",title:i.notFound,className:Ge});const t=null==e||408===e||429===e||e>=500;/* @__PURE__ */
15
- return he(d,{status:"500",title:i.loadFailed,subTitle:t?i.checkConnection:i.rejected,extra:t?/* @__PURE__ */he($,{variant:"secondary",size:"sm",onClick:o,children:i.retry}):void 0,className:Ge})}/* @__PURE__ */
16
- return he(d,{status:"404",title:i.notFound,className:Ge})}function Ze({entity:e,children:t,...n}){return null!=e?/* @__PURE__ */he(me,{children:t(e)}):/* @__PURE__ */he(Qe,{...n})}var et=/^[a-z]+(?:-[a-z]+)*-\d{13}$/;function tt(e){return"string"==typeof e&&(e.startsWith("new-")||et.test(e))}function nt(e){if(tt(e.entityId))return!0;const t=e.entitySnapshot;return!(!t||"object"!=typeof t||!t._new&&!t._duplicate)}var rt=X({openWindows:[],openEntity:()=>{},openPage:()=>{},reorderWindows:()=>{},closeEntity:()=>{},minimize:()=>{},items:[],restore:()=>{},remove:()=>{},restoreIfMinimized:()=>!1,openItems:[]}),ot=X(null);function it(e){const t=G(ot),n=Q(null);null===n.current&&(n.current=/* @__PURE__ */Symbol("window-dirty")),_(()=>{if(t)return t(n.current,e)},[t,e]),Z(()=>{if(!t||!e)return;const n=e=>{e.preventDefault(),e.returnValue=""};return window.addEventListener("beforeunload",n),()=>window.removeEventListener("beforeunload",n)},[t,e])}function at(){const e=Q(/* @__PURE__ */new Map),[t,n]=ee(!1);return{dirty:t,registerDirty:ne((t,r)=>{const o=()=>{const t=Array.from(e.current.values()).some(Boolean);n(e=>e===t?e:t)};return e.current.set(t,r),o(),()=>{e.current.delete(t),o()}},[])}}function st(){return G(rt)}function lt(e){if("page"!==e.type&&nt(e))return null;const t="page"===e.type?"page":e.entityType||"",n="page"===e.type?e.route||"":e.entityId||"";return t&&n?{entityType:t,entityId:n,label:e.label}:null}function ct({item:e,onClose:t,accentRgb:n}){const{dirty:r,registerDirty:o}=at(),i=ke[e.route];if(!i||!ge(i))return null;const a=i,s=a.component;/* @__PURE__ */
17
- return he(Qr,{open:!0,onClose:t,icon:l[e.route],title:a.label,size:a.size||"2xl",dirty:r,allowPinOnTop:a.allowPinOnTop,initialPosition:a.initialPosition,widget:a.widget,compact:a.compact,appStyle:a.appStyle,flushBody:a.flushBody,autoHeight:a.autoHeight,autoMinHeight:a.autoMinHeight,autoWidth:a.autoWidth,dimensions:a.dimensions,windowKey:e.id,openedFromKey:e.openedFrom,accentRgb:n,children:/* @__PURE__ */he(ot.Provider,{value:o,children:/* @__PURE__ */he(ue,{fallback:/* @__PURE__ */he("div",{className:"flex items-center justify-center py-12",children:/* @__PURE__ */he(k,{})}),children:/* @__PURE__ */he(s,{})})})})}function ut({entityType:e,entityId:t,label:n}){const r=Y(),o=we(),{data:i}=ye({queryKey:["my-profile-sidebar"],enabled:Ee(),queryFn:()=>Ce.get("/auth/me/").then(e=>e.data)}),a=(i?.preferences||{}).favorite_documents||[],s=a.some(n=>n.entityType===e&&n.entityId===t);/* @__PURE__ */
18
- return he("button",{onClick:()=>{const r=s?a.filter(n=>!(n.entityType===e&&n.entityId===t)):[...a,{entityType:e,entityId:t,label:n}];Ce.patch("/auth/me/",{preferences:{favorite_documents:r}}).then(()=>{o.invalidateQueries({queryKey:["my-profile-sidebar"]})})},title:s?r.taskbar.removeFromDesktop:r.taskbar.addToDesktop,className:"shrink-0 transition-colors "+(s?"text-yellow-500 hover:text-yellow-600":"text-gray-300 hover:text-yellow-400"),children:/* @__PURE__ */he(j,{name:"star",className:"h-4 w-4",fill:s?"currentColor":"none",strokeWidth:1.5})})}var dt=/* @__PURE__ */new Set,ht=()=>"hidden";function mt({item:e,onClose:t,onMinimize:n,accentRgb:r}){const o=ke[e.entityType];if(!o||!ve(o))return null;const i=o,[a,s]=ee(!1),{dirty:c,registerDirty:u}=at(),d=i.queryKey||i.endpoint.replace(/^\/|\/$/g,"").split("/").pop()||e.entityType,h=e.entitySnapshot?._duplicate,m=tt(e.entityId),p=Se(),f=(w=e.id,te(N,()=>{const e=Bn.get(w);return null!=e&&On.has(e)}));var w;const y=!i.selfFetching&&!h&&!m&&Ee(),g=ye({queryKey:[d,e.entityId],queryFn:()=>{return Ce.get((t=i.endpoint,n=String(e.entityId),`${t}${encodeURIComponent(n)}/`)).then(e=>e.data);var t,n},initialData:_e(e.entitySnapshot),initialDataUpdatedAt:0,enabled:y,staleTime:0,refetchOnWindowFocus:()=>{return void 0===(e=p.entityRefetchOnWindowFocus)||("function"==typeof e?e():e);var e},refetchOnMount:"always",refetchInterval:e=>function(e,t={}){if(He(e))return!1;if(t.minimized)return!1;const n=t.hostInterval;if(void 0===n)return 6e4;const r="function"==typeof n?n():n;return"number"==typeof r&&r>0&&r}(e.state.error,{minimized:f,hostInterval:p.entityRefetchInterval}),refetchIntervalInBackground:!1,retry:Ue}),v=g.data,b=g.refetch;Z(()=>{var t;if(y)return t=t=>{t!==e.id||dt.has(t)||b({cancelRefetch:!1})},or.add(t),()=>{or.delete(t)}},[b,e.id,y]);const x=ne(()=>{a&&!c?s(!1):t()},[a,c,t]),E=(i.useEdit??ht)(v??null),C=!i.useEdit||m||h?void 0:{state:E,editing:a,onEdit:()=>s(!0),onDiscard:()=>s(!1)},M=i.selfFetching?e.label:v?i.title(v,a,s):e.label,S=i.icon,L=S?l[S]:null,T=M,z=!i.selfFetching&&v&&i.footer&&!h?i.footer(v):void 0;return i.rendersOwnModal?i.selfFetching?/* @__PURE__ */he(ue,{fallback:/* @__PURE__ */he(k,{}),children:i.render(v??e.entitySnapshot,t,e.entityId,a,s)}):null!=v?/* @__PURE__ */he(ue,{fallback:/* @__PURE__ */he(Qr,{open:!0,onClose:t,title:e.label,size:i.size||"2xl",children:/* @__PURE__ */he(Je,{})}),children:i.render(v,t,e.entityId,a,s)}):/* @__PURE__ */he(Qr,{open:!0,onClose:t,title:e.label,size:i.size||"2xl",children:/* @__PURE__ */he(Qe,{isPending:g.isPending,isFetching:g.isFetching,enabled:y,error:g.error,onRetry:b})}):/* @__PURE__ */he(Qr,{open:!0,onClose:x,onMinimize:n,initialBox:e.savedBox,icon:L,title:T,footer:z,copyText:e.label,windowKey:e.id,openedFromKey:e.openedFrom,size:i.size||"2xl",dirty:c,editing:a||m||h,edit:C,dimensions:i.dimensions,autoHeight:i.autoHeight,autoMinHeight:i.autoMinHeight,autoWidth:i.autoWidth,appStyle:i.appStyle,flushBody:i.flushBody,accentRgb:r,children:/* @__PURE__ */he(ot.Provider,{value:u,children:/* @__PURE__ */he(ue,{fallback:/* @__PURE__ */he(Je,{}),children:i.selfFetching?i.render(null,t,e.entityId,a,s):/* @__PURE__ */he(Ze,{entity:v,isPending:g.isPending,isFetching:g.isFetching,enabled:y,error:g.error,onRetry:b,children:n=>i.render(n,t,e.entityId,a,s)})})})})}function pt(e){return document.querySelector(`[data-modal-panel][data-window-key="${e}"]`)}function ft(e){return document.querySelector(`[data-modal-panel][data-window-root][data-window-owner="${e}"]`)}function wt(e){const t=pt(e),n=t??ft(e);if(!n)return;if(t&&!wr(t))return r=e,void window.dispatchEvent(new CustomEvent("modal-reveal",{detail:{windowKey:r}}));var r;const o=n.getAttribute("data-modal-id");o&&ir(o)}function yt(){const e=S();if(!e)return;const t=document.querySelector(`[data-modal-panel][data-modal-id="${e}"]`);return t?.getAttribute("data-window-key")??void 0}var gt=/* @__PURE__ */new Map;function vt(){const e=yt();if(e)return gt.get(e)}function bt(e){const t=document.querySelectorAll("[data-modal-panel]");for(const n of Array.from(t)){const t=n.querySelector("[data-window-title]");if(t?.textContent?.includes(e))return n}return null}var xt="rosh-peek-style",kt=q.peek,Et=q.taskbarPreview;function Ct(e){"undefined"!=typeof document&&(!function(){if("undefined"==typeof document||document.getElementById(xt))return;const e=document.createElement("style");e.id=xt,e.textContent=`body.rosh-peeking [data-modal-panel]{transition:opacity .18s ease}body.rosh-peeking [data-modal-panel]:not([data-peek-focus]){opacity:.4}body.rosh-peeking [data-modal-panel][data-peek-focus]{opacity:1}body.rosh-peeking [data-modal-panel][data-peek-focus]:not([data-pinned-top]){z-index:${kt}!important}html.rosh-reduce-transparency body.rosh-peeking [data-modal-panel]:not([data-peek-focus]){opacity:.92}@media (prefers-reduced-motion:reduce){body.rosh-peeking [data-modal-panel]{transition:none}}`,document.head.appendChild(e)}(),document.querySelectorAll("[data-modal-panel][data-peek-focus]").forEach(e=>e.removeAttribute("data-peek-focus")),e&&e.setAttribute("data-peek-focus",""),document.body.classList.toggle("rosh-peeking",!!e))}function Mt(){"undefined"!=typeof document&&(document.body.classList.remove("rosh-peeking"),document.querySelectorAll("[data-modal-panel][data-peek-focus]").forEach(e=>e.removeAttribute("data-peek-focus")))}function Nt({id:e,label:t,maxW:n,maxH:r,titleAbove:o=!1,onClick:i,onClose:a}){const s=Y(),l=Q(null),[c,u]=ee({w:n,h:Math.round(.75*r)}),[d,h]=ee(!1);return _(()=>{const o=l.current;if(!o)return;const i=pt(e)??bt(t);if(!i)return void h(!1);const a=i.getBoundingClientRect();if(0===a.width||0===a.height)return void h(!1);const s=Math.min(n/a.width,r/a.height),c=Math.max(80,Math.round(a.width*s)),d=Math.max(60,Math.round(a.height*s));u({w:c,h:d}),h(!0);const m=i.cloneNode(!0);return m.style.position="absolute",m.style.top="0",m.style.left="0",m.style.right="auto",m.style.bottom="auto",m.style.width=a.width+"px",m.style.height=a.height+"px",m.style.transform=`scale(${s})`,m.style.transformOrigin="top left",m.style.pointerEvents="none",m.style.animation="none",m.style.zIndex="auto",m.removeAttribute("data-modal-panel"),m.removeAttribute("data-modal-id"),m.removeAttribute("data-window-key"),m.removeAttribute("role"),m.removeAttribute("aria-labelledby"),m.removeAttribute("aria-label"),m.querySelectorAll('[role="dialog"], [data-portal]').forEach(e=>{e.style.display="none"}),o.innerHTML="",o.appendChild(m),()=>{o.innerHTML=""}},[e,t,n,r]),/* @__PURE__ */de("div",{style:{width:c.w,height:c.h},className:"relative rounded-md overflow-hidden bg-white/95 border border-line-strong shadow-(--elevation-panel) cursor-pointer ring-2 ring-transparent group-hover:ring-blue-400 transition shrink-0",onClick:i,children:[
19
- /* @__PURE__ */he("div",{ref:l,className:"absolute inset-0 z-0 overflow-hidden"}),!d&&/* @__PURE__ */de("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-gray-400 bg-gray-50",children:[
20
- /* @__PURE__ */he(j,{name:"window",className:"h-6 w-6",strokeWidth:1.5}),
21
- /* @__PURE__ */he("span",{className:"mt-1 text-3xs uppercase tracking-wide",children:"Hidden"})]}),!o&&/* @__PURE__ */he("div",{className:"absolute bottom-0 left-0 right-0 z-10 px-2 py-1 text-2xs font-medium text-on-accent bg-gradient-to-t from-black/80 to-transparent truncate pointer-events-none",children:t}),a&&/* @__PURE__ */he("button",{onClick:e=>{e.stopPropagation(),a()},className:"absolute top-1 right-1 z-20 h-5 w-5 rounded-full bg-gray-900/90 ring-1 ring-white/80 shadow-sm hover:bg-red-500 text-on-accent flex items-center justify-center",title:s.taskbar.closeWindow,children:/* @__PURE__ */he(j,{name:"close",className:"h-3 w-3",strokeWidth:3})})]})}function St({items:e,anchorEl:t,onActivate:n,onClose:r,onMouseEnter:o,onMouseLeave:i}){const a=Y(),s=e.length>1,l=Q(null),[c,u]=ee({left:-9999,top:-9999,ready:!1}),[d,h]=ee(()=>"undefined"!=typeof document&&getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom");_(()=>{const e=l.current;if(!e)return;const n=()=>{const n=t.getBoundingClientRect(),r=e.getBoundingClientRect(),o=getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom";h(o);let i,a=n.left+n.width/2-r.width/2;"top"===o?i=n.bottom+8:"left"===o?(a=n.right+8,i=n.top+n.height/2-r.height/2):"right"===o?(a=n.left-r.width-8,i=n.top+n.height/2-r.height/2):i=n.top-r.height-8,a=Math.max(8,Math.min(a,window.innerWidth-r.width-8)),i=Math.max(8,Math.min(i,window.innerHeight-r.height-8)),u({left:a,top:i,ready:!0})};n();const r=new ResizeObserver(n);return r.observe(e),()=>r.disconnect()},[t,e.length]),Z(()=>Mt,[]);const m="top"===d,p=(m?"mt-1":"mb-1")+" max-w-[240px] truncate text-2xs font-medium text-ink-strongest bg-white/80 px-2 py-0.5 rounded shadow-sm ring-2 ring-transparent transition group-hover:ring-blue-400";return pe(
22
- /* @__PURE__ */he("div",{ref:l,"data-taskbar-preview":"",style:{position:"fixed",left:c.left,top:c.top,zIndex:Et,maxWidth:"calc(100vw - 16px)",opacity:c.ready?1:0},className:s?"flex gap-2 flex-wrap":"",onMouseEnter:o,onMouseLeave:()=>{Mt(),i()},children:e.map(e=>{const t=pt(e.id)??bt(e.label),o=t?function(e){if(wr(e))return null;const t=e.getBoundingClientRect(),n=ur(),r=t.left+t.width/2-(n.x+n.w/2),o=t.top+t.height/2-(n.y+n.h/2);return 180*Math.atan2(o,r)/Math.PI}(t):null;/* @__PURE__ */
23
- return de("div",{className:"group flex flex-col items-center",onMouseEnter:()=>Ct(t),children:[!m&&/* @__PURE__ */he("span",{className:p,children:e.label}),
24
- /* @__PURE__ */he(Nt,{id:e.id,label:e.label,maxW:240,maxH:160,titleAbove:!0,onClick:()=>n(e.id),onClose:()=>r(e.id)}),m&&/* @__PURE__ */he("span",{className:p,children:e.label}),null!==o&&/* @__PURE__ */de("span",{title:a.taskbar.offscreenHint,className:"mt-1 inline-flex items-center gap-1 rounded bg-amber-500 px-2 py-0.5 text-2xs font-semibold text-on-accent shadow-sm",children:[
25
- /* @__PURE__ */he(j,{name:"arrow-right",className:"h-3 w-3",style:{transform:`rotate(${o}deg)`},strokeWidth:3}),"Off screen"]})]},e.id)})}),document.body)}function Lt(e,t){const n=getComputedStyle(document.documentElement).getPropertyValue("--taskbar-position")?.trim()||"bottom";return"top"===n?{left:Math.min(e,window.innerWidth-220),top:t+4}:"left"===n?{left:e+4,top:Math.min(t,window.innerHeight-160)}:"right"===n?{right:window.innerWidth-e+4,top:Math.min(t,window.innerHeight-160)}:{left:Math.min(e,window.innerWidth-220),bottom:window.innerHeight-t+4}}function Tt({openWindows:e,onRemove:t,onSplitView:n,onActivate:r,onActivateById:o}){const i=Y(),[a,s]=ee(null);Z(()=>{let e,t;const n=()=>{clearInterval(e),clearTimeout(t),e=void 0},r=()=>{const e=document.getElementById("taskbar-windows");return s(t=>t===e?t:e),!!e},o=()=>{n(),r()||(e=setInterval(()=>{r()&&n()},100),t=setTimeout(n,5e3))};return o(),window.addEventListener("react-os-shell:layout-mode-changed",o),()=>{n(),window.removeEventListener("react-os-shell:layout-mode-changed",o)}},[]);const c=te(N,S),[,u]=ee(0);Z(()=>{const e=()=>u(e=>e+1);return window.addEventListener("modal-geometry",e),window.addEventListener("resize",e),()=>{window.removeEventListener("modal-geometry",e),window.removeEventListener("resize",e)}},[]);const[,d]=ee(0);Z(()=>{const e=()=>d(e=>e+1);return window.addEventListener("window-title-update",e),()=>window.removeEventListener("window-title-update",e)},[]);const h=e=>{const t=bt(e),n=t?.querySelector("[data-window-title]");return n?.textContent?.trim()||e},[m,p]=ee(null),[f,w]=ee(null),[g,v]=ee(null),b=Q(null),x=()=>{b.current&&(clearTimeout(b.current),b.current=null),b.current=setTimeout(()=>{p(null),w(null)},150)},k=e.filter(e=>!e.route||!ke[e.route]?.utility);if(!a||!a.isConnected||0===k.length)return null;const E=[],C=/* @__PURE__ */new Map;for(const e of k){const t=e.route?ke[e.route]:void 0,n=t?.taskbarGroup,r=n?.key??e.route??`entity:${e.id}`,o=C.get(r);if(void 0!==o)E[o].items.push(e);else{C.set(r,E.length);const o=n?.label??t?.label??e.label;E.push({key:r,route:n?.icon??e.route,label:o,items:[e]})}}return pe(
26
- /* @__PURE__ */de(me,{children:[E.map(e=>{const n=e.route?l[e.route]:null,r=e.items[e.items.length-1];let a=!1;if(c){const t=document.querySelector(`[data-modal-id="${c}"]`);if(t){const n=t.querySelector("[data-window-title]"),r=n?.textContent??"";a=e.items.some(e=>r.includes(e.label))}}const s=e.items.length>1,u=e.items.some(e=>{const t=pt(e.id)??bt(e.label);return!!t&&!wr(t)});/* @__PURE__ */
27
- return de("button",{onClick:()=>o(r.id),onMouseEnter:t=>{return n=e.items,r=t.currentTarget,void(g||(b.current&&(clearTimeout(b.current),b.current=null),b.current=setTimeout(()=>{p(n),w(r)},350)));var n,r},onMouseLeave:x,onDoubleClick:e=>{e.stopPropagation(),window.dispatchEvent(new CustomEvent("modal-center",{detail:{windowKey:r.id,label:r.label}}))},onContextMenu:t=>{t.preventDefault(),t.stopPropagation(),b.current&&(clearTimeout(b.current),b.current=null),p(null),w(null),s?v({x:t.clientX,y:t.clientY,items:e.items,label:e.label}):window.dispatchEvent(new CustomEvent("modal-context-menu",{detail:{windowKey:r.id,label:r.label,x:t.clientX,y:t.clientY}}))},style:{width:"var(--window-tab-width, 200px)",fontSize:"var(--window-tab-font-size, 12px)"},"data-tab-group":e.key,className:"group relative flex items-center gap-2 rounded-lg px-3 py-2 font-medium transition-all min-w-0 shrink "+(a?"bg-blue-100/60 border border-blue-400/60 text-blue-700":"bg-gray-50/40 border border-gray-200/40 text-gray-700 hover:bg-gray-200/40"),children:[n&&re(n)?ae(n,{className:"h-3.5 w-3.5 shrink-0"}):/* @__PURE__ */he(j,{name:"expand",className:"h-3.5 w-3.5 shrink-0",strokeWidth:2}),
28
- /* @__PURE__ */he("span",{className:"truncate flex-1",children:s?e.label:h(r.label)}),u&&/* @__PURE__ */he("span",{title:i.taskbar.offscreenDot,className:"shrink-0 h-1.5 w-1.5 rounded-full bg-amber-500"}),s&&/* @__PURE__ */he(y,{count:e.items.length,label:i.count.windows(e.items.length)}),!s&&/* @__PURE__ */he("span",{role:"button",onClick:e=>{e.stopPropagation(),t(r.id)},className:"ml-auto text-gray-400 hover:text-red-500 shrink-0 opacity-0 group-hover:opacity-100 transition-opacity",children:/* @__PURE__ */he(j,{name:"close",className:"h-3 w-3",strokeWidth:2})})]},e.key)}),
29
- /* @__PURE__ */he("div",{className:"flex-1"}),k.length>=2&&/* @__PURE__ */de("button",{onClick:n,title:i.taskbar.expose,className:"flex items-center gap-1 rounded px-2 py-1 text-2xs font-medium text-blue-600 border border-blue-300 hover:bg-accent-tint transition-colors shrink-0",children:[
30
- /* @__PURE__ */he(j,{name:"grid",className:"h-3 w-3",strokeWidth:2}),"Exposé"]}),g&&/* @__PURE__ */de(R,{portal:!0,minWidth:200,style:Lt(g.x,g.y),onClose:()=>v(null),children:[
31
- /* @__PURE__ */he(K,{children:g.label}),
32
- /* @__PURE__ */de(W,{onClick:()=>{v(null),g.items.forEach(e=>function(e){const t=Bn.get(e);t&&ar(t)}(e.id))},children:[
33
- /* @__PURE__ */he(j,{name:"remove",className:"h-4 w-4",strokeWidth:1.5}),i.taskbar.minimizeAllWindows]}),
34
- /* @__PURE__ */de(W,{onClick:()=>{v(null),g.items.forEach(e=>o(e.id))},children:[
35
- /* @__PURE__ */he("svg",{className:"h-4 w-4 text-gray-400",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.5,children:/* @__PURE__ */he("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75h6.5v6.5h-6.5zM13.75 8.75h6.5v6.5h-6.5z"})}),i.taskbar.restoreAllWindows]}),
36
- /* @__PURE__ */he(O,{}),
37
- /* @__PURE__ */de(W,{danger:!0,onClick:()=>{v(null),g.items.forEach(e=>t(e.id))},children:[
38
- /* @__PURE__ */he(j,{name:"close",className:"h-4 w-4",strokeWidth:2}),`${i.taskbar.closeAllWindows} (${g.items.length})`]})]}),m&&f&&/* @__PURE__ */he(St,{items:m,anchorEl:f,onActivate:e=>{o(e),p(null),w(null)},onClose:e=>{t(e),p(null),w(null)},onMouseEnter:()=>{b.current&&(clearTimeout(b.current),b.current=null)},onMouseLeave:x})]}),a)}var zt=["/login","/forgot-password","/reset-password","/force-change-password"];function At({children:e,windowAccentForRoute:t}){const n=fe(),r=zt.some(e=>n.pathname.startsWith(e)),[o,i]=ee([]),a=Q(o);_(()=>{a.current=o},[o]);const s=te(Pe,Ie,Ie),l=Q(/* @__PURE__ */new Map),c=e=>{const t=Ye(e),n=!!s&&"page"===e.type&&e.route===s,r=e.pageSearch||void 0,o=l.current.get(e.id);if(o&&o.tab===t&&o.home===n&&o.pageSearch===r)return o;const i={key:e.id,tab:t,home:n,...r?{pageSearch:r}:{}};return l.current.set(e.id,i),i};Z(()=>{gt.clear();for(const e of o)e.route&&gt.set(e.id,e.route)},[o]);const u=ne(e=>{i(t=>t.filter(t=>t.id!==e))},[]),d=ne(e=>{var t;pt(e)||ft(e)?(t=e,window.dispatchEvent(new CustomEvent(zr,{detail:{windowKey:t}}))):u(e)},[u]),h=(e,t=!1)=>{const n=Kn;t&&dt.add(e),setTimeout(()=>{const r=document.querySelector(`[data-modal-panel][data-window-key="${e}"]`),o=r?.getAttribute("data-modal-id");var i,a;!o||(i=o,a=n,($n.get(i)??-1)>a)||ir(o),t&&dt.delete(e)},50)},m=(e,t,n)=>{const r=Re;if(n||!r)return[...e,t];const o=function(e,t,n){if(!Ye(t))return e.length;if(t.shellOwned&&Ve(t,n.home))return 0;const r=Ve(t,n.home)?void 0:Xe(t)?.key;if(r){let t=-1;if(e.forEach((e,o)=>{Ye(e)&&!Ve(e,n.home)&&Xe(e)?.key===r&&(t=o)}),t>=0)return t+1}if("page"===t.type&&t.route&&!Ve(t,n.home)&&n.favorites.includes(t.route))return e.length>0&&Ve(e[0],n.home)?1:0;const o=t.openedFrom?e.findIndex(e=>e.id===t.openedFrom):-1;if(o>=0){const t=/* @__PURE__ */new Set([e[o].id]);let r=o+1;for(;r<e.length&&e[r].openedFrom&&t.has(e[r].openedFrom);)t.add(e[r].id),r++;const i=t=>Ye(e[t])&&!Ve(e[t],n.home)?Xe(e[t])?.key:void 0;for(;r>0&&r<e.length&&void 0!==i(r)&&i(r)===i(r-1);)r++;return r}return e.length}(e,t,{home:Ie(),favorites:r.favorites});return[...e.slice(0,o),t,...e.slice(o)]},p=ne(e=>{i(t=>function(e,t){const n=new Set(t),r=new Map(e.map(e=>[e.id,e])),o=t.map(e=>r.get(e)).filter(e=>!!e);if(o.length!==n.size)return e;let i=0;const a=e.map(e=>n.has(e.id)?o[i++]:e);return a.every((t,n)=>t===e[n])?e:a}(t,e))},[]),f=ne((e,t,n,r,o,a={})=>{if(!ke[e]||!ve(ke[e]))return;const s=`${e}:${t}`,l=yt();i(i=>{const c=i.find(n=>n.entityType===e&&String(n.entityId)===String(t));return c?(h(c.id),i):(h(s,!0),m(i,{id:s,type:"modal",label:r||t,route:o||window.location.pathname,entityType:e,entityId:t,entitySnapshot:_e(n),openedFrom:l},!!a.append))})},[]),w=ne((e,t={})=>{if(!ke[e]||!ge(ke[e]))return;const n=ke[e],{reuse:r=!1,background:o=!1,shellOwned:s,search:l,append:c=!1}=t,u=e=>{var t;o?(t=e,Vn.add(t)):h(e)};if(n.widget){const t=a.current.find(t=>"page"===t.type&&t.route===e);if(t)return void d(t.id)}const p=yt();i(t=>{if(n.multiInstance){const i=t.filter(t=>"page"===t.type&&t.route===e);if(s&&i.length>0)return t;if(r&&!l&&i.length>0)return o||h(i[i.length-1].id),t;const a=`page:${e}:${Math.random().toString(36).slice(2,8)}`;return u(a),m(t,{id:a,type:"page",label:n.label,route:e,openedFrom:p,...s?{shellOwned:s}:{},...l?{pageSearch:l}:{}},c)}const i=t.find(t=>"page"===t.type&&t.route===e);if(i)return n.widget?t:(o||h(i.id),l&&i.pageSearch!==l?t.map(e=>e===i?{...e,pageSearch:l}:e):t);const a=`page:${e}`;return u(a),m(t,{id:a,type:"page",label:n.label,route:e,openedFrom:p,...s?{shellOwned:s}:{},...l?{pageSearch:l}:{}},c)})},[d]),y=ne(()=>{},[]),g=ne(()=>{},[]),v=d,b=d;/* @__PURE__ */
39
- return de(rt.Provider,{value:{openWindows:o,openEntity:f,openPage:w,reorderWindows:p,closeEntity:v,minimize:y,items:[],openItems:o,restore:g,remove:b,restoreIfMinimized:()=>!1},children:[e,
40
- /* @__PURE__ */he(Tt,{openWindows:o,onRemove:d,onSplitView:Jr,onActivate:e=>{document.querySelectorAll("[data-modal-panel]").forEach(t=>{const n=t.querySelector("[data-window-title]");if(n?.textContent?.includes(e)){const e=t.getAttribute("data-modal-id");e&&ir(e)}})},onActivateById:wt}),
41
- /* @__PURE__ */he(_r,{}),!r&&o.map(e=>{const n=e.route?t?.(e.route):void 0;
42
- /* @__PURE__ */
43
- return he(Le.Provider,{value:c(e),children:/* @__PURE__ */he(Ke,{fallback:(t,n)=>/* @__PURE__ */he(Qr,{open:!0,onClose:()=>u(e.id),title:e.label,size:"md",autoHeight:!0,windowKey:e.id,children:/* @__PURE__ */he(Oe,{error:t,onReload:n})}),children:/* @__PURE__ */he(ln,{spec:lt(e),children:/* @__PURE__ */he(io,{windowId:e.id,children:"page"===e.type?/* @__PURE__ */he(ct,{item:e,onClose:()=>u(e.id),accentRgb:n}):/* @__PURE__ */he(mt,{item:e,onClose:()=>u(e.id),onMinimize:()=>{},accentRgb:n})})})})},e.id)})]})}var Dt=400;function It({panelRef:e,bodyRef:t,open:n,widget:r,active:o,minimized:i}){const a=Q(null),s=Q(!1);n&&!s.current&&(a.current="undefined"==typeof document?null:document.activeElement),s.current=n;const l=Q(!1),c=Q(void 0),u=Q(i),d=u.current&&!i;u.current=i;const h=()=>{l.current=!0,clearTimeout(c.current),c.current=setTimeout(()=>{l.current=!1},Dt)};Z(()=>{n&&!r&&h()},[n,r]),Z(()=>{d&&n&&!r&&h()},[d]),Z(()=>()=>clearTimeout(c.current),[]),Z(()=>{if(!n||r||!o||i||!l.current)return;l.current=!1;const a=e.current;if(!a||a.contains(document.activeElement))return;if(document.activeElement?.closest('[aria-modal="true"]'))return;const s=t.current?I(t.current)[0]:void 0;s?s.focus():(a.hasAttribute("tabindex")||a.setAttribute("tabindex","-1"),a.focus())},[n,r,o,i,e,t]),_(()=>{if(!n||r)return;const t=e.current;return()=>{const e=a.current,n=document.activeElement;(!n||n===document.body||!!t?.contains(n))&&e&&e.isConnected&&!t?.contains(e)&&e.focus?.()}},[n,r,e])}var Pt=null,Rt=/* @__PURE__ */new Set;function Wt(){return Pt}function Ot(e){if(Pt!==e){Pt=e;for(const e of Rt)e()}}function Kt(e){return Rt.add(e),()=>{Rt.delete(e)}}var $t=!1,jt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0},Ft=()=>{};function qt(e){$t=e,jt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0}}function Bt(e,t){$t&&("submenu"===e?jt.submenus++:jt.menus++,jt.menuKey=t)}function Ht(e){if(!$t)return Ft;const t=performance.now();let n=!1;return()=>{if(n)return;if(n=!0,!$t)return;const r=performance.now()-t;"move"===e?jt.moveMs+=r:jt.resizeMs+=r}}function Ut(){const e=jt;return jt={menus:0,submenus:0,menuKey:null,moveMs:0,resizeMs:0},e}var Yt=/* @__PURE__ */new Set([P,b]),Xt=e=>Yt.has(e)||"function"==typeof e&&"badge"===e.titleRole,Vt=/* @__PURE__ */new Set(["button","a","input","select","textarea","kbd"]),Gt=/* @__PURE__ */new Set(["svg"]);function Jt(e){const t=[],n={text:"",accessories:[],badges:[],actions:[]};return _t(e,n,t),n.text=t.join("").replace(/\s+/g," ").trim(),n}function _t(e,t,n){if(null==e||"boolean"==typeof e)return;if("string"==typeof e||"number"==typeof e)return void n.push(String(e));if(Array.isArray(e))return void e.forEach(e=>_t(e,t,n));if(!re(e))return;const r=e;if(r.type===p)return void(void 0===t.copy&&"string"==typeof r.props.text&&r.props.text&&(t.copy=r.props.text));if(r.type===oe)return void ie.toArray(r.props.children).forEach(e=>_t(e,t,n));if("string"==typeof r.type){if(Gt.has(r.type))return;if(!Vt.has(r.type))return n.push(" "),ie.toArray(r.props.children).forEach(e=>_t(e,t,n)),void n.push(" ")}const o=ae(r,{key:`title-part-${t.accessories.length}`});t.accessories.push(o),(Xt(r.type)?t.badges:t.actions).push(o)}var Qt=/* @__PURE__ */new Map,Zt=/* @__PURE__ */new Set,en=0;function tn(){en++,Zt.forEach(e=>e())}function nn(e){return Qt.get(e)}function rn(e){return Zt.add(e),()=>{Zt.delete(e)}}function on(){return en}var an=X(""),sn=X(null);function ln({spec:e,children:t}){/* @__PURE__ */
44
- return he(sn.Provider,{value:e,children:t})}var cn=/* @__PURE__ */new Set(["button","input","textarea","select","kbd","svg"]),un='button[type="submit"], button[data-submit], button.btn-submit, button.bg-green-600, button.bg-blue-600';function dn(e){return hn(e).replace(/\s+/g," ").trim()}function hn(e){if(null==e||"boolean"==typeof e)return"";if("string"==typeof e)return e;if("number"==typeof e)return String(e);if(Array.isArray(e))return e.map(hn).join("");if(re(e)){const t=e,n="string"==typeof t.type?t.type:"";return cn.has(n)?"":` ${hn(t.props?.children)} `}return""}function mn(e){const t=G(an);Z(()=>{if(!t)return;const n=n=>{n.detail===t&&e()};return window.addEventListener("widget-open-settings",n),()=>window.removeEventListener("widget-open-settings",n)},[e,t])}var pn={};function fn(e,t,n){const r=G(an);Z(()=>{if(!r)return;pn[r]||(pn[r]=[]);const o={label:e,icon:n,onClick:t};return pn[r].push(o),()=>{pn[r]=(pn[r]||[]).filter(e=>e!==o)}},[r,e,t,n])}function wn({title:e}){const t=Q(null);return Z(()=>{const n=setTimeout(()=>{const n=t.current?.closest("[data-modal-id]"),r=n?.getAttribute("data-modal-id");r&&window.dispatchEvent(new CustomEvent("window-title-update",{detail:{id:r,title:e}}))},0);return()=>clearTimeout(n)},[e]),/* @__PURE__ */he("span",{ref:t,style:{display:"none"},"aria-hidden":"true"})}function yn(e){}function gn(){return G(an)}function vn({children:e,position:t="right",quiet:n=!1}){const r=G(M),[o,i]=ee(null);return Z(()=>{if(!r)return;const e="left"===t?r.leftRef:r.rightRef,o=()=>!!e.current&&(i(e.current),n||r.notify(),!0);if(o())return;const a=setInterval(()=>{o()&&clearInterval(a)},50),s=setTimeout(()=>clearInterval(a),2e3);return()=>{clearInterval(a),clearTimeout(s)}},[r,t,n]),o?pe(e,o):null}function bn({onClick:e,children:t,className:n}){const r=G(M);/* @__PURE__ */
45
- return he("button",{type:"button",onClick:async()=>{if(r?.isDirty){const{confirm:e}=await(import("./shell/ConfirmDialog.js"));if(!await e({title:"Discard changes?",message:"You have unsaved changes. Are you sure you want to cancel? All changes will be lost.",confirmLabel:"Discard",cancelLabel:"Keep Editing",variant:"warning"}))return}e()},className:n||"bg-white text-gray-700 border border-gray-300 px-4 py-2 text-sm font-medium rounded-lg hover:bg-gray-50",children:t||"Cancel"})}var xn="erp_window_positions",kn={};try{const e=localStorage.getItem(xn);e&&(kn=JSON.parse(e))}catch{}var En=null;function Cn(){En&&clearTimeout(En),En=setTimeout(()=>{try{localStorage.setItem(xn,JSON.stringify(kn))}catch{}},500)}var Mn="erp_activation_order",Nn=[];try{const e=localStorage.getItem(Mn),t=e?JSON.parse(e):null;Array.isArray(t)&&t.every(e=>"string"==typeof e)&&(Nn=t)}catch{}var Sn=null;function Ln(){Sn&&clearTimeout(Sn),Sn=setTimeout(()=>{try{localStorage.setItem(Mn,JSON.stringify(Nn))}catch{}},500)}function Tn(e,t){kn[e]||(kn[e]=t,Cn())}function zn(e){return kn[e]?{...kn[e]}:null}function An(e,t){kn[e]=t,Cn()}function Dn(){const r=e(),o=t();let i=!1;for(const e of Object.keys(kn))n(kn[e],r,o)&&(delete kn[e],i=!0);i&&Cn()}var In={sm:384,md:512,lg:672,xl:896,"2xl":1152,"3xl":1408},Pn=4e3,Rn=()=>{if("undefined"==typeof document)return"large";const e=getComputedStyle(document.documentElement).getPropertyValue("--default-window-size")?.trim();return"small"===e||"medium"===e||"maximized"===e?e:"large"},Wn={small:.8,medium:1,large:1.25,maximized:1.25},On=/* @__PURE__ */new Set,Kn=0,$n=/* @__PURE__ */new Map;var jn=0;function Fn(){return jn}function qn(){jn++,C.forEach(e=>e())}var Bn=/* @__PURE__ */new Map,Hn=/* @__PURE__ */new Map,Un=/* @__PURE__ */new Map;function Yn(){for(let e=E.length-1;e>=0;e--){const t=Un.get(E[e]);if(t?.tab)return t.owner}return null}function Xn(){return te(N,Yn,()=>null)}var Vn=/* @__PURE__ */new Set;var Gn=null;function Jn(e){Gn=null,ir(e)}function _n(e){Gn=e;const t=Bn.get(e);t&&Jn(t)}var Qn=/* @__PURE__ */new Map;function Zn(e){return Qn.get(e)?.holdsChanges()??!1}function er(e){const t=Qn.get(e);return t?t.ask():Promise.resolve(!0)}function tr(e){Gn===e&&(Gn=null)}function nr(e,t,n){if(n&&Un.set(e,n),t)if(Bn.set(t,e),Hn.set(e,t),Vn.delete(t)){E.unshift(e);const n=Nn.indexOf(t);-1!==n&&Nn.splice(n,1),Nn.unshift(t),Ln()}else!function(e,t){const n=Nn.indexOf(t);if(-1===n)return void E.push(e);let r=E.length;for(let e=0;e<E.length;e++){const t=Hn.get(E[e]);if(t&&Nn.indexOf(t)>n){r=e;break}}E.splice(r,0,e)}(e,t),-1===Nn.indexOf(t)&&(Nn.push(t),Ln());else E.push(e);qn(),window.dispatchEvent(new CustomEvent("modal-reorder")),t&&Gn===t&&Jn(e)}function rr(e){return e?Un.get(e)?.owner??Hn.get(e)??null:null}var or=/* @__PURE__ */new Set;function ir(e){const t=rr(S()),n=E.indexOf(e);-1!==n&&E.splice(n,1),E.push(e);const r=Un.get(e);if(r?.root)for(const[e,t]of Un){if(t.root||t.owner!==r.owner||On.has(e))continue;const n=E.indexOf(e);-1!==n&&E.splice(n,1),E.push(e)}On.delete(e);const o=Hn.get(e);if(o){const e=Nn.indexOf(o);-1!==e&&Nn.splice(e,1),Nn.push(o),Ln(),Gn&&Gn!==o&&(Gn=null)}qn(),window.dispatchEvent(new CustomEvent("modal-reorder"));const i=rr(S());i&&i!==t&&or.forEach(e=>e(i))}function ar(e){const t=E.indexOf(e);-1!==t&&E.splice(t,1),On.add(e),$n.set(e,++Kn);const n=Hn.get(e);if(n){const e=Nn.indexOf(n);-1!==e&&(Nn.splice(e,1),Ln())}qn(),window.dispatchEvent(new CustomEvent("modal-reorder"))}var sr=/* @__PURE__ */new Set;var lr=8,cr=32;function ur(){return e()}var dr=x.windowBar,hr=80,mr=384,pr=400;function fr(e,t=ur()){const n=Math.min(Math.max(e.x,t.x+hr-e.w),t.x+t.w-hr),r=Math.min(Math.max(e.y,t.y),t.y+t.h-dr);return n===e.x&&r===e.y?e:{...e,x:n,y:r}}function wr(e){const t=e.getBoundingClientRect();if(0===t.width||0===t.height)return!0;const n=ur();return t.left>=n.x-1&&t.top>=n.y-1&&t.right<=n.x+n.w+1&&t.bottom<=n.y+n.h+1}function yr(e){const t=ur(),n=Math.floor(t.w/2),r=Math.floor(t.h/2);switch(e){case"top":return{x:t.x,y:t.y,w:t.w,h:t.h};case"left":return{x:t.x,y:t.y,w:n,h:t.h};case"right":return{x:t.x+n,y:t.y,w:t.w-n,h:t.h};case"tl":return{x:t.x,y:t.y,w:n,h:r};case"tr":return{x:t.x+n,y:t.y,w:t.w-n,h:r};case"bl":return{x:t.x,y:t.y+r,w:n,h:t.h-r};case"br":return{x:t.x+n,y:t.y+r,w:t.w-n,h:t.h-r}}}var gr=null;function vr(e){const t=(gr||((gr=document.createElement("div")).style.cssText=["position: fixed","pointer-events: none",`z-index: ${q.snapPreview}`,"border-radius: 8px","background: rgba(59, 130, 246, 0.18)","border: 2px solid rgb(59, 130, 246)","transition: left 120ms ease, top 120ms ease, width 120ms ease, height 120ms ease, opacity 120ms ease","opacity: 0","display: none"].join(";"),document.body.appendChild(gr)),gr);t.style.display="block",t.style.left=`${e.x}px`,t.style.top=`${e.y}px`,t.style.width=`${e.w}px`,t.style.height=`${e.h}px`,t.style.opacity="1"}function br(){gr&&(gr.style.opacity="0",gr.style.display="none")}var xr=[{zone:"left",labelKey:"snapLeft",region:"inset-y-0 left-0 w-1/2"},{zone:"right",labelKey:"snapRight",region:"inset-y-0 right-0 w-1/2"},{zone:"tl",labelKey:"snapTopLeft",region:"top-0 left-0 h-1/2 w-1/2"},{zone:"tr",labelKey:"snapTopRight",region:"top-0 right-0 h-1/2 w-1/2"},{zone:"bl",labelKey:"snapBottomLeft",region:"bottom-0 left-0 h-1/2 w-1/2"},{zone:"br",labelKey:"snapBottomRight",region:"bottom-0 right-0 h-1/2 w-1/2"}],kr=350,Er=200;function Cr({maximized:e,onToggleMax:t,onSnap:n,buttonClassName:r,strings:o}){const[i,a]=ee(!1),s=Q(void 0),l=Q(void 0);Z(()=>()=>{clearTimeout(s.current),clearTimeout(l.current)},[]);const c=()=>{clearTimeout(l.current),s.current=setTimeout(()=>a(!0),kr)},u=()=>{clearTimeout(s.current),l.current=setTimeout(()=>a(!1),Er)};/* @__PURE__ */
46
- return de("span",{className:"relative inline-flex",onMouseEnter:c,onMouseLeave:u,children:[
47
- /* @__PURE__ */he("button",{onClick:t,onFocus:c,onBlur:u,"aria-label":e?o.windowed:o.maximize,title:e?o.windowed:o.maximize,className:r,children:e?"❐":"⤢"}),i&&/* @__PURE__ */he("div",{role:"group","aria-label":o.snapLayouts,onMouseEnter:()=>clearTimeout(l.current),onMouseLeave:u,className:"absolute right-0 top-full z-30 mt-1 grid w-max grid-cols-2 gap-1 rounded-lg border border-line bg-surface p-2 shadow-lg",children:xr.map(({zone:e,labelKey:t,region:r})=>/* @__PURE__ */he("button",{type:"button","aria-label":o[t],title:o[t],onClick:()=>{a(!1),n(e)},onFocus:()=>clearTimeout(l.current),onBlur:u,className:"relative h-7 w-11 rounded border border-gray-300 bg-gray-50 hover:border-blue-400 focus:outline-none focus-visible:ring-2 focus-visible:ring-blue-400",children:/* @__PURE__ */he("span",{"aria-hidden":"true",className:`absolute rounded-sm bg-blue-500/70 ${r}`,style:{margin:2}})},e))})]})}var Mr="rosh-gesture-style";var Nr={se:"nwse-resize",nw:"nwse-resize",sw:"nesw-resize",ne:"nesw-resize",n:"ns-resize",s:"ns-resize",e:"ew-resize",w:"ew-resize"},Sr=4;function Lr(e,t,n,r){!function(){if("undefined"==typeof document||document.getElementById(Mr))return;const e=document.createElement("style");e.id=Mr,e.textContent="body.rosh-gesturing [data-modal-panel]{will-change:transform}",document.head.appendChild(e)}();try{e.setPointerCapture(t)}catch{}document.body.classList.add("rosh-gesturing");const o=document.createElement("div");o.setAttribute("data-drag-shield",""),o.style.cssText=`position:fixed;inset:0;z-index:2147483647;cursor:${n};background:transparent;touch-action:none`,document.body.appendChild(o);const i=Ht(r);let a=!1;return()=>{if(!a){a=!0,i();try{e.releasePointerCapture(t)}catch{}o.remove(),document.body.classList.remove("rosh-gesturing")}}}function Tr(e){const t=E.indexOf(e);if(-1===t)return-1;const n=q.window+t*q.windowStep,r=Un.get(e);if(!r||r.root)return n;let o=-1;for(const[e,t]of Un){if(!t.root||t.owner!==r.owner)continue;const n=E.indexOf(e);-1!==n&&(o=Math.max(o,q.window+n*q.windowStep))}return o>=n?o+2+Math.min(t,7):n}"undefined"!=typeof window&&window.addEventListener("deactivate-all-modals",function(){for(let e=E.length-1;e>=0;e--)sr.has(E[e])||E.splice(e,1);Nn=Nn.filter(e=>{const t=Bn.get(e);return null!=t&&sr.has(t)}),Ln(),qn(),window.dispatchEvent(new CustomEvent("modal-reorder"))});var zr="modal-close-request";function Ar(e){te(N,Fn);const t=G(M);if(E.length<=1)return!0;if(e){const t=Bn.get(e);if(null!=t)return S()===t}return t?.active??null!=S()}var Dr=!1,Ir=/* @__PURE__ */new Set;function Pr(e){return Ir.add(e),()=>Ir.delete(e)}function Rr(){return Dr}function Wr(e){Dr!==e&&(Dr=e,Ir.forEach(e=>e()))}function Or(){Wr(!Dr)}function Kr(){Wr(!1)}var $r=null,jr=/* @__PURE__ */new Set;function Fr(e){return jr.add(e),()=>jr.delete(e)}function qr(){return $r}function Br(e){$r!==e&&($r=e,jr.forEach(e=>e()))}var Hr=null,Ur=/* @__PURE__ */new Set;function Yr(e){return Ur.add(e),()=>Ur.delete(e)}function Xr(){return Hr}function Vr(e){Hr!==e&&(Hr=e,Ur.forEach(e=>e()))}function Gr(){if(!Hr)return void Wr(!1);Br(Hr),Vr(null),Wr(!1)}function Jr(){Wr(!Dr),window.dispatchEvent(new CustomEvent("modal-split-view"))}function _r(){const e=te(Pr,Rr),[t,n]=ee(e),[r,o]=ee(e);return Z(()=>{if(e){n(!0);const e=requestAnimationFrame(()=>o(!0));return()=>cancelAnimationFrame(e)}o(!1);const t=setTimeout(()=>n(!1),280);return()=>clearTimeout(t)},[e]),t&&"undefined"!=typeof document?pe(
48
- /* @__PURE__ */he("div",{onMouseDown:e=>{e.stopPropagation(),Wr(!1)},style:{position:"fixed",inset:0,background:"rgba(0,0,0,0.55)",backdropFilter:"blur(2px)",WebkitBackdropFilter:"blur(2px)",zIndex:q.expose,cursor:"pointer",opacity:r?1:0,transition:"opacity 260ms cubic-bezier(0.2, 0.8, 0.2, 1)",pointerEvents:r?"auto":"none"}}),document.body):null}function Qr({open:t,onClose:l,title:c,icon:u,copyText:d,size:h="lg",dirty:m=!1,onNext:p,onPrev:y,footer:b,bodyScroll:x,onMinimize:k,initialBox:C,actions:T,actionsLeft:I,editing:P=!1,edit:K,allowPinOnTop:F,initialPosition:B,widget:H,compact:X,appStyle:V,flushBody:J,autoHeight:oe,autoMinHeight:ie,autoWidth:ce,widgetMenu:ue,dimensions:fe,windowKey:we,openedFromKey:ye,accentRgb:ge,children:ve}){const[be,xe]=ee(()=>r()),ke=z()&&!be,Ee=A()&&!!H,[Ce,Me]=ee(0),[Ne,Se]=ee(!1),Te=Q(null),ze=Q(0);Z(()=>{ze.current=Ce},[Ce]);const Ae=ne(e=>{ke&&(Te.current={startX:e.clientX,startY:e.clientY,pointerId:e.pointerId},Se(!0),Ot(ye??null))},[ke,ye]),De=te(Kt,Wt);Z(()=>{if(!Ne)return;const e=e=>{if(!Te.current)return;const t=e.clientX-Te.current.startX;if(Math.abs(e.clientY-Te.current.startY)>Math.abs(t)+12)return Te.current=null,Se(!1),Me(0),void Ot(null);Me(Math.max(0,t))},t=()=>{if(!Te.current)return;const e=.3*window.innerWidth,t=ze.current>e;Te.current=null,Se(!1),t?(Me(window.innerWidth),setTimeout(()=>{l(),Me(0),Ot(null)},180)):(Me(0),Ot(null))};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),window.addEventListener("pointercancel",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[Ne]);const[Ie,Pe]=ee(c),Re=Y(),We=Re.window;Z(()=>{Pe(c)},[c]);const Oe=se(()=>dn(Ie).trim()||void 0,[Ie]),je=le(),[qe,Be]=ee(!1),He=Q(!1),[Ue,Ye]=ee(!1),[Xe,Ve]=ee(null),Ge=G(sn),Je=G(Le),{prefs:_e,save:Qe}=D(),Ze=!!_e.window_accent_stripe,et=_e.favorite_documents||[],tt=!!Ge&&et.some(e=>e.entityType===Ge.entityType&&e.entityId===Ge.entityId),nt=ne(()=>{if(!Ge)return;const e=tt?et.filter(e=>!(e.entityType===Ge.entityType&&e.entityId===Ge.entityId)):[...et,{entityType:Ge.entityType,entityId:Ge.entityId,label:Ge.label}];Qe({favorite_documents:e})},[Ge,tt,et,Qe]),[rt,ot]=ee(null),[at,lt]=ee("top-right"===B?"right":"left"),ct=Q(!1),ut=Q(null);_(()=>{const e=ut.current;e&&(ge?e.style.setProperty("--window-accent-rgb",ge):e.style.removeProperty("--window-accent-rgb"))},[ge]);const dt=Q(!1),ht=Q(null),mt=Q(null),pt=Q(null),[ft,wt]=ee(!1),yt=Q(null),gt=Q(null),vt=Q(null),[bt,xt]=ee(!1);_(()=>{const e=gt.current,t=vt.current;if(!e||!t)return;const n=()=>xt(function(e,t){return e.scrollWidth>t.clientWidth}(t,e));if(n(),"undefined"==typeof ResizeObserver)return;const r=new ResizeObserver(n);return r.observe(e),r.observe(t),()=>r.disconnect()},[null!=b&&!1!==b]);const kt=!!K&&!H&&!X&&!V&&(K.editing||"hidden"!==K.state),Et=!!(b||T||I)||ft||kt,Ct=G($e),Mt=""!==G(an),Nt=Q(null);Nt.current=Je?{owner:Je.key,tab:Je.tab,root:!Mt}:null;const St=we||(Je&&!Mt?Je.key:null),Lt=!!Ct&&!Mt&&Ct.enabled&&Ct.hasState&&(P||Ct.declaredEditable)&&!Ct.handMounted&&Et&&!H&&!X&&!V&&!ke,Tt=/* @__PURE__ */he(j,{name:"window",className:"h-4 w-4",strokeWidth:1.5}),zt=u&&re(u)?ae(u,{className:`h-4 w-4 ${u.props?.className??""}`.trim()}):u??Tt,At=()=>/* @__PURE__ */he("button",{onPointerDown:e=>e.stopPropagation(),onClick:e=>{e.stopPropagation();const t=e.currentTarget.getBoundingClientRect();Ve(e=>e?null:{x:t.left,y:t.bottom+4})},className:"shrink-0 p-0.5 rounded hover:bg-gray-200/50 transition-colors",title:"Window menu",children:zt}),Dt=40,{minimize:Pt,items:Rt,restoreIfMinimized:$t,openWindows:jt}=st(),Ft=Q(`modal-${Math.random().toString(36).slice(2,8)}`).current,qt=w(Ft);Z(()=>{if(H)return sr.add(Ft),()=>{sr.delete(Ft)}},[H,Ft]),Z(()=>{const e=e=>{const t=e.detail;t?.id===Ft&&Pe(t.title)};return window.addEventListener("window-title-update",e),()=>window.removeEventListener("window-title-update",e)},[Ft]);const[Bt,Ht]=ee(q.window),Ut=function(e){const t=te(N,S);return E.length<=1||t===e}(Ft),Yt=Q(K);Yt.current=K;const Xt=!!K&&!K.editing&&"enabled"===K.state;Z(()=>{if(!t||!Ut||!Xt)return;const e=e=>{("KeyE"===e.code||"E"===e.key||"e"===e.key)&&e.altKey&&e.shiftKey&&!e.metaKey&&!e.ctrlKey&&(g(e.target,ut.current)||(e.preventDefault(),e.stopPropagation(),Yt.current?.onEdit()))};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,Ut,Xt]);const Vt=function(e){return te(N,()=>On.has(e))}(Ft);It({panelRef:ut,bodyRef:ht,open:t,widget:!!H,active:Ut,minimized:Vt});const Gt=te(Pr,Rr),_t=te(Fr,qr),Zt=te(Yr,Xr),en=!F&&!H,nn=Gt&&en,[rn,on]=ee(!1),ln=nn&&Zt===Ft,[cn,hn]=ee(!1),mn=cn&&en&&_t===Ft?"picked":null,fn=Q(nn);Z(()=>{if(fn.current&&!nn){hn(!0);const e=setTimeout(()=>{hn(!1),$r===Ft&&Br(null)},700);return fn.current=nn,()=>clearTimeout(e)}fn.current=nn},[nn,Ft]),Z(()=>{nn||on(!1)},[nn]),Z(()=>{const e=mt.current,t=pt.current;if(!e&&!t)return;const n=e=>e?Array.from(e.children).filter(e=>"shell"!==e.dataset.undoControls).length:0,r=()=>wt(n(e)+n(t)>0);r();const o=new MutationObserver(r);return e&&o.observe(e,{childList:!0}),t&&o.observe(t,{childList:!0}),()=>o.disconnect()},[t]),Z(()=>{const e=e=>{if(e.target.closest('button[type="submit"]')&&ut.current){const t=ut.current.querySelector("form");t&&(e.preventDefault(),t.requestSubmit())}},t=mt.current,n=pt.current;return t&&t.addEventListener("click",e),n&&n.addEventListener("click",e),()=>{t&&t.removeEventListener("click",e),n&&n.removeEventListener("click",e)}},[t]);const wn=Q(!1),yn=ne(e,[]),gn=ne(()=>{const t=e(),n=fe?fe[0]:In[h]||672,o=t.w-80,i=t.h-80,a=Math.min(n,o),s=Wn[Rn()],l=fe?Math.min(fe[1],i):(()=>{const e=("sm"===h?500:"md"===h?600:"lg"===h?700:"xl"===h?800:920)*s;return Math.max(320,Math.min(e,t.h-80))})(),c="cascade"!==(getComputedStyle(document.documentElement).getPropertyValue("--window-position")?.trim()||"cascade")||r()?0:30*(E.length-1),u=Math.max(Dt,(i-l)/2),d=(o-a)/2,m=t.h-Dt-l-u;return"top-right"===B?{x:t.x+t.w-a-Dt,y:t.y+Dt,w:a,h:l}:"top-left"===B?{x:t.x+Dt,y:t.y+Dt,w:a,h:l}:{x:t.x+Math.max(Dt,(o-a)/2+Dt)+Math.min(c,Math.max(0,d)),y:t.y+u+Math.min(c,Math.max(0,m)),w:a,h:l}},[h]),vn=Q(!1);t||(vn.current=!1);const bn=we||d||null;Z(()=>{if(!t)return;nr(Ft,bn,Nt.current??void 0),we||ir(Ft),wn.current=!1,Ht(Tr(Ft));const e=()=>{Ht(Tr(Ft))},n=()=>{},r=e=>{if(!e)return!1;if(e.windowKey)return e.windowKey===we;if(!e.label)return!1;const t=ut.current?.querySelector("[data-window-title]");return!!t?.textContent?.includes(e.label)},o=e=>{if(!r(e.detail))return;if(ir(Ft),Dn.current)return;const t=ur(),n=Math.min(Gn.current.w,t.w-40),o=Math.min(Gn.current.h,t.h-40),i=t.x+(t.w-n)/2,a=t.y+(t.h-o)/2;Mn({x:i,y:a,w:n,h:o}),Vn(!1)},i=e=>{const t=e.detail;r(t)&&(ir(Ft),Ve({x:t.x,y:t.y}))},a=e=>{if(e.detail?.windowKey!==we)return;ir(Ft);const t=Gn.current,n=function(e,t=ur()){const n=Math.min(e.w,t.w),r=Math.min(e.h,t.h);return{w:n,h:r,x:Math.min(Math.max(e.x,t.x),t.x+t.w-n),y:Math.min(Math.max(e.y,t.y),t.y+t.h-r)}}(t);if(n.x===t.x&&n.y===t.y&&n.w===t.w&&n.h===t.h)return;const r=ut.current,o="function"==typeof window.matchMedia&&window.matchMedia("(prefers-reduced-motion: reduce)").matches;if(r&&!o){let e=!1;const t=()=>{e||(e=!0,r.style.transition="",window.dispatchEvent(new CustomEvent("modal-geometry")))};r.style.transition="left .28s ease, top .28s ease, width .28s ease, height .28s ease",r.addEventListener("transitionend",t,{once:!0}),window.setTimeout(t,400)}Mn(n)};return window.addEventListener("modal-reorder",e),window.addEventListener("modal-split-view",n),window.addEventListener("modal-center",o),window.addEventListener("modal-reveal",a),window.addEventListener("modal-context-menu",i),()=>{!function(e){const t=E.indexOf(e);-1!==t&&(E.splice(t,1),qn()),On.delete(e),$n.delete(e),Un.delete(e);const n=Hn.get(e);n&&(Hn.delete(e),Bn.delete(n))}(Ft),window.removeEventListener("modal-reorder",e),window.removeEventListener("modal-split-view",n),window.removeEventListener("modal-center",o),window.removeEventListener("modal-reveal",a),window.removeEventListener("modal-context-menu",i),window.dispatchEvent(new CustomEvent("modal-reorder"))}},[t,Ft,bn,yn]);const xn=!H&&"maximized"===Rn(),[En,Mn]=ee(()=>{if(bn&&kn[bn]){const e={...kn[bn]};return fe&&(e.w=fe[0],oe||(e.h=fe[1])),fr(e)}return C?{x:C.x,y:C.y,w:C.w,h:C.h}:xn?yn():gn()}),[Nn,Sn]=ee(()=>!oe),Ln=Q(be),Tn=Q(null);Z(()=>{const e=()=>{const e=r();e!==Ln.current&&Tn.current?.(e),Ln.current=e,xe(e),Ht(Tr(Ft))};return window.addEventListener("react-os-shell:layout-mode-changed",e),()=>window.removeEventListener("react-os-shell:layout-mode-changed",e)},[Ft]);const zn=be&&!!Je?.tab&&!Mt&&!H&&!ke,An=zn,Dn=Q(An);Dn.current=An;const Kn=Xn(),jn=be&&!!Je?.tab&&!H&&!ke&&!Gt&&Kn!==Je.key,Fn=!!H&&be&&!Gt&&null!==Kn,[Yn,Vn]=ee(()=>bn&&kn[bn]||C?An:An||xn),Gn=Q(En);Gn.current=En;const Jn=Q(Yn);_(()=>{Jn.current=Yn},[Yn]),_(()=>{if(Nn||zn)return;const e=ut.current,t=ht.current;if(!e||!t)return;const n=ie??(H?0:240),r=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--taskbar-height"))||0;let o=0,i=null,a=null;const s=()=>{const c=t.firstElementChild;if(!c||e.offsetHeight<=0)return;c!==a&&(a&&l.unobserve(a),l.observe(c),a=c);const u=e.offsetHeight-t.offsetHeight,d=t.style.flex,h=t.style.overflowY,m=t.style.height;t.style.flex="0 0 auto",t.style.height="auto",t.style.overflowY="visible";const p=t.offsetHeight,f=c.offsetHeight;t.style.flex=d,t.style.height=m,t.style.overflowY=h;const w=c.offsetHeight>f+4,y=Math.max(n,window.innerHeight-r-Math.max(0,Gn.current.y)-24),g=w?Math.min(Gn.current.h,y):Math.min(Math.max(n,u+p),y),v=Math.abs(g-o)>1;v&&(o=g,Mn(e=>Math.abs(e.h-g)>1?{...e,h:g}:e)),H||(g<=n?i&&(clearTimeout(i),i=null):(v||null===i)&&(i&&clearTimeout(i),i=setTimeout(()=>{const e=o;s(),o===e&&Sn(!0)},160)))},l=new ResizeObserver(s);s(),yt.current&&l.observe(yt.current);const c=new MutationObserver(s);return c.observe(t,{childList:!0,subtree:!0,characterData:!0}),()=>{l.disconnect(),c.disconnect(),i&&clearTimeout(i)}},[Nn,H,ie,Et,zn]),_(()=>{if(!oe||!Nn||H||!t)return;const e=yt.current;if(!e)return;let n=e.offsetHeight;const r=new ResizeObserver(()=>{if(!e.isConnected)return;const t=e.offsetHeight,r=t-n,o=t>0!=n>0;if(n=t,!o||0===r||Yn)return;if(document.body.classList.contains("rosh-gesturing"))return;const i=ie??240,a=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--taskbar-height"))||0,s=Math.max(i,window.innerHeight-a-Math.max(0,Gn.current.y)-24);Mn(e=>({...e,h:Math.min(Math.max(i,e.h+r),s)}))});return r.observe(e),()=>r.disconnect()},[oe,Nn,H,t,Yn,ie]);const _n=!1!==ce&&!H&&!V&&!ke,[Zn,er]=ee(()=>!_n);_(()=>{if(Zn||!t)return;if(!_n||Yn)return void er(!0);const n=ut.current,r=ht.current;if(!n||!r)return;const o=/* @__PURE__ */new WeakSet;let l=Gn.current.w,c=0;const u=()=>er(!0),d=()=>{c=0;const t=Gn.current;if(Math.abs(t.w-l)>1||document.body.classList.contains("rosh-gesturing"))return void u();const d=e(),h=d.w-80;if(t.w>=h)return void u();const m=[],p=[];for(const e of[r,...Array.from(r.querySelectorAll("*"))]){const t=e.scrollWidth-e.clientWidth;if(t<=4||o.has(e))continue;const n=getComputedStyle(e).overflowX;"auto"!==n&&"scroll"!==n||(m.push(e),p.push(t))}if(!m.length)return;const f=Math.min(h,t.w+Math.max(...p)),w=f-t.w,y=n.style.width;n.style.width=`${f}px`;const g=m.map((e,t)=>({over:p[t],residual:e.scrollWidth-e.clientWidth}));n.style.width=y,g.forEach((e,t)=>{i(e,w)||o.add(m[t])});const v=a(t,s(t.w,w,g),d,Dt);v!==t&&(l=v.w,Mn(v))};d();const h=new MutationObserver(()=>{c||(c=requestAnimationFrame(d))});h.observe(r,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["style","class","hidden"]});const m=setTimeout(u,Pn);return()=>{h.disconnect(),c&&cancelAnimationFrame(c),clearTimeout(m)}},[Zn,t,_n,Yn]);const tr=Q(null),rr=!(!Je?.tab||Mt||H||ke);Tn.current=t=>{if(!rr)return;if(t)return tr.current||(tr.current={box:{...Gn.current},maximized:Jn.current}),void(Jn.current=!0);const r=tr.current;tr.current=null;const o=e();if(r?.maximized)return Jn.current=!0,Vn(!0),void Mn(o);const i=r?.box??(bn?kn[bn]:void 0);if(Jn.current=!1,Vn(!1),i&&!n(i,o,!1)){const e={...i};fe&&(e.w=fe[0],oe||(e.h=fe[1])),Mn(fr(e))}else Mn(gn())},Z(()=>{An&&(Jn.current=!0,Vn(!0),Mn(yn()))},[An,yn]),Z(()=>{if(H)return;const e=()=>{const e=bn?kn[bn]:void 0;if(Jn.current=!1,Vn(!1),e){const t={...e};fe&&(t.w=fe[0],oe||(t.h=fe[1])),Mn(fr(t))}else Mn(gn())};return window.addEventListener("react-os-shell:restore-windowed",e),()=>window.removeEventListener("react-os-shell:restore-windowed",e)},[H,gn,bn]),Z(()=>{t&&bn&&!zn&&(kn[bn]=En,Cn()),t&&window.dispatchEvent(new CustomEvent("modal-geometry"))},[En,t,bn,zn]),Z(()=>{if(!t)return;const e=()=>{Jn.current?Mn(yn()):document.body.classList.contains("rosh-gesturing")||Mn(fr)};window.addEventListener("resize",e),window.addEventListener(o,e);let n=null;return Yn&&(n=new MutationObserver(e),n.observe(document.body,{childList:!0,subtree:!1,attributes:!0,attributeFilter:["class"]})),()=>{window.removeEventListener("resize",e),window.removeEventListener(o,e),n?.disconnect()}},[t,Yn,yn]),Z(()=>{if(t&&(Be(!1),He.current=!1,ct.current=!1,er(!_n),!Dn.current)){if(bn&&kn[bn]){const e=kn[bn];return void Mn(t=>fr({...e,...oe?{h:t.h}:{},..._n?{x:t.x,w:t.w}:{}}))}C&&(Mn({x:C.x,y:C.y,w:C.w,h:C.h}),Vn(C.maximized))}},[t]),Z(()=>{if(!t||"auto"!==m)return;let e;const n=t=>{ut.current?.contains(t.target)&&!He.current&&(He.current=!0,e=setTimeout(()=>Be(!0),0))};return document.addEventListener("input",n,!0),document.addEventListener("change",n,!0),()=>{clearTimeout(e),document.removeEventListener("input",n,!0),document.removeEventListener("change",n,!0)}},[t,m]);const or="auto"===m?qe:!0===m,dr=Je&&!Mt?Je.key:null,hr=se(()=>Jt(Ie),[Ie]),wr=Q({shortcutSpec:Ge,isOnDesktop:tt,toggleDesktopShortcut:nt,taskbarStrings:Re.taskbar});_(()=>{wr.current={shortcutSpec:Ge,isOnDesktop:tt,toggleDesktopShortcut:nt,taskbarStrings:Re.taskbar}});const gr=Q(null);gr.current||(gr.current={open:(e,t)=>Ve({x:e,y:t}),items:()=>{const e=wr.current,t=[];e.shortcutSpec&&t.push({label:e.isOnDesktop?e.taskbarStrings.removeFromDesktop:e.taskbarStrings.addToDesktop,onSelect:e.toggleDesktopShortcut});for(const e of pn[Ft]||[])t.push({label:e.label,icon:e.icon,onSelect:e.onClick});return t}}),Z(()=>{if(t&&dr)return()=>{return e=dr,void(Qt.delete(e)&&tn());var e}},[t,dr]),it(!(we||!t)&&or);const xr=ne(()=>or||"auto"===m&&He.current,[or,m]),kr=ne(async e=>{if(ct.current)return!1;if(!xr())return!0;ct.current=!0;const t=Oe,n="close"===e?"Are you sure you want to close?":"discard"===e?"Are you sure you want to stop editing?":"Are you sure you want to continue?",r=await f({title:"Discard changes?",message:t?`“${t}” has unsaved changes. ${n} All changes will be lost.`:`You have unsaved changes. ${n} All changes will be lost.`,confirmLabel:"Discard",cancelLabel:"Keep Editing",variant:"warning"});return ct.current=!1,r},[xr,Oe]),Er=ne(()=>ct.current?Promise.resolve():xr()?kr("close").then(e=>{e&&l()}):(l(),Promise.resolve()),[xr,kr,l]),Mr=ne(async()=>{await kr("discard")&&(He.current=!1,Be(!1),Yt.current?.onDiscard())},[kr]),Ar=ne(async()=>{const e=await kr("switch");return e&&(He.current=!1,Be(!1)),e},[kr]),Dr=Q(()=>!1);_(()=>{Dr.current=xr}),_(()=>{if(!t||!we)return;const e={holdsChanges:()=>Dr.current(),ask:Ar};return Qn.set(we,e),()=>{Qn.get(we)===e&&Qn.delete(we)}},[t,we,Ar]),_(()=>{if(!t||!St)return;const e=e=>{e.detail?.windowKey===St&&Er()};return window.addEventListener(zr,e),()=>window.removeEventListener(zr,e)},[t,St,Er]);const Ir=Q(null),Or=ne(e=>{if(0!==e.button)return;if(e.target.closest("button, input, a, kbd, select, textarea"))return;if(Ve(null),ir(Ft),Dn.current)return void e.preventDefault();e.preventDefault();const t=e.currentTarget,n=e.pointerId;let r=null;const o=e.clientX,i=e.clientY,a=ut.current,s=a?.getBoundingClientRect();let l,c,u,d;if(Ir.current){const t=Ir.current;Ir.current=null,d=t.w,u=t.h;const n=s?Math.min(Math.max(20,e.clientX-s.left),t.w-20):t.w/2;l=e.clientX-n,c=e.clientY-12,a&&(a.style.width=`${d}px`,a.style.height=`${u}px`,a.style.left=`${l}px`,a.style.top=`${c}px`)}else l=s?s.left:Gn.current.x,c=s?s.top:Gn.current.y,u=s?s.height:Gn.current.h,d=s?s.width:Gn.current.w;Vn(!1),Mn(e=>({...e,x:l,y:c,w:d,h:u}));let h=null;const m=e=>{if(!r){if(Math.abs(e.clientX-o)<Sr&&Math.abs(e.clientY-i)<Sr)return;r=Lr(t,n,"move","move"),a&&(a.style.transition="none")}const s=l+e.clientX-o,u=Math.max(0,c+e.clientY-i);if(a&&(a.style.transform=`translate(${s-l}px, ${u-c}px)`),Gn.current={...Gn.current,x:s,y:u},!H){const t=function(e,t){const n=ur(),r=e<=n.x+lr,o=e>=n.x+n.w-lr,i=t<=n.y+lr,a=t>=n.y+n.h-lr,s=e<=n.x+cr,l=e>=n.x+n.w-cr,c=t<=n.y+cr,u=t>=n.y+n.h-cr;return i&&s?"tl":i&&l?"tr":a&&s?"bl":a&&l?"br":c&&r?"tl":c&&o?"tr":u&&r?"bl":u&&o?"br":i?"top":r?"left":o?"right":null}(e.clientX,e.clientY);t!==h&&(h=t,t?vr(yr(t)):br())}},p=()=>{window.removeEventListener("pointermove",m),window.removeEventListener("pointerup",p),r?.(),br();const e=fr({...Gn.current});if(Gn.current=e,!H&&h){Ir.current={x:l,y:c,w:d,h:u};const e=yr(h);return a&&(a.style.left=`${e.x}px`,a.style.top=`${e.y}px`,a.style.width=`${e.w}px`,a.style.height=`${e.h}px`,a.style.transform="",a.style.transition=""),void Mn(e)}if(H){const t=e.x+e.w/2,n=window.innerWidth/2;lt(t>n?"right":"left")}a&&(a.style.left=`${e.x}px`,a.style.top=`${e.y}px`,a.style.transform="",a.style.transition=""),Mn(e)};window.addEventListener("pointermove",m),window.addEventListener("pointerup",p)},[]),Kr=ne((e,t)=>{if(0!==e.button)return;e.preventDefault(),e.stopPropagation();const n=e.currentTarget,r=e.pointerId;let o=null;const i=e.clientX,a=e.clientY,s=ut.current,l=s?.getBoundingClientRect(),c=l?l.left:Gn.current.x,u=l?l.top:Gn.current.y,d=l?l.width:Gn.current.w,h=l?l.height:Gn.current.h,m="sw"===t||"nw"===t||"w"===t,p="ne"===t||"nw"===t||"n"===t,f="se"===t||"ne"===t||"e"===t,w="se"===t||"sw"===t||"s"===t;Vn(!1),Mn({x:c,y:u,w:d,h:h}),Gn.current={x:c,y:u,w:d,h:h};let y=0,g=null;const v=()=>{if(y=0,!g)return;const e=g;g=null,Gn.current=e,s&&(s.style.left=`${e.x}px`,s.style.top=`${e.y}px`,s.style.width=`${e.w}px`,s.style.height=`${e.h}px`)},b=e=>{if(!o){if(Math.abs(e.clientX-i)<Sr&&Math.abs(e.clientY-a)<Sr)return;o=Lr(n,r,Nr[t],"resize")}g=((e,t)=>{let n=c,r=u,o=d,i=h;if(f&&(o=Math.max(mr,d+e)),w&&(i=Math.max(pr,h+t)),m){const t=Math.max(mr,d-e);n=c+d-t,o=t}if(p){const e=Math.max(pr,h-t);r=u+h-e,i=e}return{x:n,y:r,w:o,h:i}})(e.clientX-i,e.clientY-a),y||(y=requestAnimationFrame(v))},x=()=>{window.removeEventListener("pointermove",b),window.removeEventListener("pointerup",x),y&&cancelAnimationFrame(y),v(),o?.(),Mn({...Gn.current})};window.addEventListener("pointermove",b),window.addEventListener("pointerup",x)},[]),jr=ne(e=>{if(e.target.closest("button, input, a, kbd, select, textarea"))return;const t={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[e.key];if(!t&&"Enter"!==e.key)return;if(e.preventDefault(),e.stopPropagation(),ir(Ft),"Enter"===e.key)return void(Yn?(Vn(!1),Mn(gn())):(Vn(!0),Mn(yn())));const[n,r]=t;if(e.ctrlKey||e.metaKey){const e=()=>{Ir.current||(Ir.current={...Gn.current})};if(r<0)return e(),Vn(!0),void Mn(yn());if(r>0){if(Yn)return Vn(!1),void Mn(gn());if(Ir.current){const e=fr(Ir.current);return Ir.current=null,Gn.current=e,void Mn(e)}return void ar(Ft)}e(),Vn(!1);const t=yr(n<0?"left":"right");return Gn.current=t,void Mn(t)}if(Yn)return;const o=Gn.current,i=e.shiftKey?{...o,w:Math.max(mr,o.w+24*n),h:Math.max(pr,o.h+24*r)}:fr({...o,x:o.x+24*n,y:Math.max(0,o.y+24*r)});Gn.current=i,Mn(i)},[Ft,Yn,gn,yn]),Hr=ne(e=>{Ir.current||(Ir.current={...Gn.current}),Vn(!1);const t=yr(e);Gn.current=t,Mn(t),ir(Ft)},[Ft]),Ur=An||nn?{}:{tabIndex:0,role:"group","aria-label":Oe?`${Oe} — ${We.windowSuffix}`:We.windowSuffix,"aria-keyshortcuts":"ArrowUp ArrowDown ArrowLeft ArrowRight Shift+ArrowUp Shift+ArrowDown Shift+ArrowLeft Shift+ArrowRight Control+ArrowUp Control+ArrowDown Control+ArrowLeft Control+ArrowRight Enter",onKeyDown:jr},Vr=()=>{Vn(!0),Mn(yn())},Gr=ne(()=>{const e=ut.current;if(!e)return;const t=e.querySelector("form");if(t)t.requestSubmit();else{const t=e.querySelector(un);t&&!t.disabled&&t.click()}},[]);Z(()=>{if(!t)return;if(H)return;const e=e=>{if(E[E.length-1]===Ft&&!g(e.target,ut.current)&&"Enter"===e.key){const t=e.target;if("TEXTAREA"===t.tagName||t.isContentEditable)return;if(e.metaKey||e.ctrlKey)e.preventDefault(),Gr();else{if("INPUT"===t.tagName&&t.closest("form"))return;if(!(t instanceof Element&&ut.current?.contains(t)))return;if(t.closest(L))return;e.preventDefault()}}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,Gr,Ft,H]),Z(()=>{if(!t)return;const e=e=>{E[E.length-1]===Ft&&(g(e.target,ut.current)||((e.metaKey||e.ctrlKey)&&"s"===e.key?(e.preventDefault(),document.dispatchEvent(new CustomEvent("modal-save",{detail:{modalId:Ft}})),He.current=!1,Be(!1)):e.altKey&&e.shiftKey&&("KeyD"===e.code||"D"===e.key||"d"===e.key)&&(e.preventDefault(),document.dispatchEvent(new CustomEvent("modal-duplicate",{detail:{modalId:Ft}})))))};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t]),Z(()=>{if(!t)return;if(H)return;const e=e=>{if("Escape"===e.key&&E[E.length-1]===Ft){if(U(e))return e.preventDefault(),void e.stopPropagation();if(zn&&!P)return;e.preventDefault(),e.stopPropagation(),Er()}};return window.addEventListener("keydown",e,!0),()=>window.removeEventListener("keydown",e,!0)},[t,Er,Ft,H,zn,P]);const Jr=t&&(void 0!==p||void 0!==y),[_r]=ee(()=>{if("undefined"==typeof document)return null;const e=document.createElement("span");return e.className="flex shrink-0 items-center gap-2",e.setAttribute("data-tab-actions",""),e}),Qr=zn&&!Je?.home&&hr.actions.length>0;Z(()=>{t&&dr&&function(e,t){const n=Qt.get(e);n&&n.title===t.title&&n.dirty===t.dirty&&n.copy===t.copy&&n.actions===t.actions&&n.menu===t.menu||(Qt.set(e,t),tn())}(dr,{title:hr.text||Oe,dirty:or,copy:hr.copy,actions:Qr&&_r?_r:void 0,menu:gr.current??void 0})},[t,dr,Oe,or,hr.text,hr.copy,Qr,_r]);const Zr=ne(e=>{const t=document.getElementById("nav-boundary-toast");t&&t.remove();const n="bottom"===e?["That's the last one, chief.","You've hit rock bottom... of the list.","End of the line, buddy.","Nothing left. Go outside.","Congratulations, you scrolled to the void.","There's no more. I checked.","You've reached the edge of the known universe.","Plot twist: there is no next one.","Even scrolling has limits. Unlike your ambition.","Last one. Time to touch grass."]:["Already at the top. Overachiever.","There is no item above this. Trust me.","You're #1. Literally.","Can't go higher. You've peaked.","This is it. The summit. The top.","First item. No VIP lounge above this.","Going up? Nope. Elevator's broken.","You want negative indexes? Bold.","Top of the list. Top of the world.","The only way is down from here."],r=n[Math.floor(Math.random()*n.length)],o=document.createElement("div");o.id="nav-boundary-toast",o.className="fixed bottom-6 left-1/2 -translate-x-1/2 z-(--z-toast) bg-gray-900 text-on-accent flex min-h-10 items-center px-5 py-3 rounded-lg shadow-lg text-sm font-medium transition-opacity duration-300",o.textContent=r,document.body.appendChild(o),setTimeout(()=>{o.style.opacity="0",setTimeout(()=>o.remove(),300)},2e3)},[]);if(Z(()=>{if(!t)return;const e=e=>{if(E[E.length-1]!==Ft)return;if(g(e.target,ut.current))return;const t=e.target.tagName;"INPUT"!==t&&"TEXTAREA"!==t&&"SELECT"!==t&&(e.target.isContentEditable||("j"===e.key&&Jr&&(e.preventDefault(),p?p():Zr("bottom")),"k"===e.key&&Jr&&(e.preventDefault(),y?y():Zr("top"))))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[t,p,y,Jr,Zr,Ft]),!t||vn.current)return null;const eo=nn?function(e){if("undefined"==typeof document)return null;const t=Array.from(document.querySelectorAll("[data-modal-panel]")).filter(e=>{const t=e;return!t.hasAttribute("data-utility")&&!t.hasAttribute("data-widget")&&"none"!==t.style.display});t.sort((e,t)=>(e.getAttribute("data-modal-id")||"").localeCompare(t.getAttribute("data-modal-id")||""));const n=t.findIndex(t=>t.getAttribute("data-modal-id")===e),r=t.length;if(n<0||r<1)return null;const o=Math.ceil(Math.sqrt(r)),i=Math.ceil(r/o),a=Math.floor(n/o),s=n%o,l=r-o*(i-1),c=a===i-1&&l<o,u=ur(),d=(u.w-20*(o+1))/o,h=(u.h-14*(i+1)-22*i)/i,m=c?(o-l)*(d+20)/2:0;return{x:u.x+20+s*(d+20)+m,y:u.y+14+a*(h+14+22),w:d,h:h}}(Ft):null,to=nn&&eo?Math.min(eo.w/En.w,eo.h/En.h):1,no=(()=>{if(nn&&eo){const e=to,t=En.w*e,n=En.h*e,r=eo.x+(eo.w-t)/2-En.x,o=eo.y+(eo.h-n)/2-En.y,i=rn||ln;return{transform:`translate(${r}px, ${o}px) scale(${e})`,transformOrigin:"top left",transition:"transform 280ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 280ms",cursor:"pointer",zIndex:q.expose+(i?20:10),boxShadow:i?"0 24px 72px rgba(0,0,0,0.6), 0 0 0 2px rgba(255,255,255,0.55), 0 0 36px 12px rgba(96,165,250,0.85), 0 0 96px 28px rgba(96,165,250,0.55)":"0 16px 48px rgba(0,0,0,0.55)",pointerEvents:"auto"}}if(cn&&en){const e="picked"===mn;return{transition:e?"transform 640ms cubic-bezier(0.34, 1.42, 0.64, 1), box-shadow 600ms":"transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 600ms",...e?{zIndex:q.expose+30}:{}}}return null})(),ro=v({modal:!1,titleId:!H&&(zn?!Je?.home:!ke)?je:void 0,label:hr.text||Oe}),oo=/* @__PURE__ */de("div",{children:[
49
- /* @__PURE__ */de("div",{ref:ut,"data-modal-panel":!0,"data-modal-id":Ft,"data-window-key":we||void 0,...F?{"data-utility":""}:{},...Ue?{"data-pinned-top":""}:{},...H?{"data-widget":""}:{},...Je?{"data-window-owner":Je.key}:{},...Je&&!Mt?{"data-window-root":""}:{},...zn?{"data-window-tab":""}:{},...ro,className:zn?"fixed flex flex-col overflow-hidden":"fixed rounded-(--radius-window) flex flex-col overflow-hidden "+(H?Ut?"shadow-xl":"shadow-lg":"border "+(Ut?"shadow-xl border-line":"shadow-lg border-line-strong")),onMouseDownCapture:e=>{if(dt.current=!1,nn){if(e.target.closest("[data-expose-close]"))return;return e.preventDefault(),e.stopPropagation(),Br(Ft),Wr(!1),void ir(Ft)}if(!Ut&&!H&&!Ue&&0===e.button){const t=e.target;t.closest("[data-modal-panel]")===ut.current&&t.closest("button, input, a, select, textarea")&&!t.closest("[data-window-chrome]")&&(e.preventDefault(),e.stopPropagation(),dt.current=!0,Ve(null),ir(Ft),window.addEventListener("mouseup",()=>{setTimeout(()=>{dt.current=!1},0)},{once:!0}))}},onClickCapture:e=>{dt.current&&(dt.current=!1,e.preventDefault(),e.stopPropagation())},onMouseDown:e=>{if(nn)return;Ve(null);e.target.closest("[data-modal-panel]")===ut.current&&(e.target.closest("button, input, a, select, textarea")||ir(Ft))},style:ke?{zIndex:Bt+1,top:0,left:0,right:0,bottom:"var(--mobile-bottom-nav, 56px)",width:"auto",height:"auto",transform:`translateX(${Ce}px)`,transition:Ne?"none":"transform 180ms ease-out",...H?{display:"none"}:{},...Bt<0?{display:"none"}:{},...Ut||Ue||De&&we===De?{}:{display:"none"},...qt?{visibility:"hidden",pointerEvents:"none"}:{}}:{zIndex:Ue?q.pinnedWindow:Bt+1,width:En.w,height:En.h,top:En.y,...H&&"right"===at?{right:window.innerWidth-En.x-En.w}:{left:En.x},...Bt<0&&!Ue?{display:"none"}:{},...Ee?{display:"none"}:{},...jn||Fn||qt?{visibility:"hidden",pointerEvents:"none"}:{},...no??{}},children:[ke&&!H&&/* @__PURE__ */he("div",{onPointerDown:Ae,className:"absolute top-0 bottom-0 left-0 w-[22px] z-[5]",style:{touchAction:"pan-y"},"aria-hidden":"true"}),H?null:zn?Je?.home?null:/* @__PURE__ */de(me,{children:[
50
- /* @__PURE__ */he("h2",{id:je,"data-window-title":!0,className:"sr-only",children:hr.text||Oe}),Qr&&_r&&pe(
51
- /* @__PURE__ */he(me,{children:hr.actions}),_r),hr.badges.length>0&&/* @__PURE__ */he("div",{"data-window-chrome":"","data-record-bar":"",className:"flex h-9 shrink-0 select-none items-center gap-2 overflow-hidden border-b border-gray-200 px-4",style:{backgroundColor:"rgb(var(--window-content-rgb))"},children:hr.badges})]}):ke?null:
52
- /* @__PURE__ */de("div",X?{onPointerDown:Or,"data-window-chrome":"",...Ur,className:"flex items-center justify-between h-(--row-height-compact-bar) px-3 border-b border-line shrink-0 cursor-move select-none rounded-t-(--radius-window) focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400 "+(Ut?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:Ut?"rgb(var(--window-header-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-header-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
53
- /* @__PURE__ */de("div",{"data-window-title":!0,title:Oe,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:Ut?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!nn&&At(),
54
- /* @__PURE__ */he("span",{id:je,className:"truncate",children:nn?dn(Ie):Ie})]}),!nn&&/* @__PURE__ */de("div",{className:"flex items-center gap-2 shrink-0 ml-2",children:[F&&/* @__PURE__ */he("button",{onClick:()=>Ye(e=>!e),title:Ue?We.unpin:We.pinOnTop,className:"p-0.5 rounded hover:bg-gray-200 "+(Ue?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */he(j,{name:"bookmark-square",className:"h-3 w-3",fill:Ue?"currentColor":"none",strokeWidth:1.5})}),
55
- /* @__PURE__ */he("button",{type:"button",onClick:Er,"aria-label":We.close,className:"rounded p-0.5 text-ink-faintest hover:text-gray-600 hover:bg-gray-200",children:/* @__PURE__ */he(j,{name:"close",className:"h-4 w-4"})})]})]}:V?{onPointerDown:Or,"data-window-chrome":"",...Ur,className:"flex items-center justify-between h-(--row-height-compact-bar) px-3 border-b border-line shrink-0 cursor-move select-none rounded-t-(--radius-window) focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400 "+(Ut?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:Ut?"rgb(var(--window-header-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-header-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
56
- /* @__PURE__ */de("div",{"data-window-title":!0,title:Oe,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:Ut?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!nn&&At(),
57
- /* @__PURE__ */he("span",{id:je,className:"truncate",children:nn?dn(Ie):Ie})]}),!nn&&/* @__PURE__ */de("div",{className:"flex items-center gap-2 shrink-0 ml-2",children:[F&&/* @__PURE__ */he("button",{onClick:()=>Ye(e=>!e),title:Ue?We.unpin:We.pinOnTop,className:"p-0.5 rounded hover:bg-gray-200 "+(Ue?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */he(j,{name:"bookmark-square",className:"h-3 w-3",fill:Ue?"currentColor":"none",strokeWidth:1.5})}),
58
- /* @__PURE__ */he("button",{onClick:()=>ar(Ft),"aria-label":We.minimize,title:We.minimize,className:"text-gray-400 hover:text-gray-600 px-1 py-0.5 rounded hover:bg-gray-200 text-xs leading-none",children:"─"}),!An&&/* @__PURE__ */he(Cr,{maximized:Yn,onToggleMax:()=>{Yn?(Vn(!1),Mn(gn())):Vr()},onSnap:Hr,buttonClassName:"text-gray-400 hover:text-gray-600 px-1 py-0.5 rounded hover:bg-gray-200 text-xs leading-none",strings:We}),
59
- /* @__PURE__ */he("button",{type:"button",onClick:Er,"aria-label":We.close,className:"rounded p-0.5 text-ink-faintest hover:text-gray-600 hover:bg-gray-200",children:/* @__PURE__ */he(j,{name:"close",className:"h-4 w-4"})})]})]}:{onPointerDown:Or,"data-window-chrome":"",...Ur,className:"flex items-center justify-between h-(--row-height-window-bar) px-3 border-b border-gray-200 shrink-0 cursor-move select-none rounded-t-(--radius-window) focus:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-blue-400 "+(Ut?"backdrop-blur-sm":""),style:{touchAction:"none",backgroundColor:Ut?"rgb(var(--window-header-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-header-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
60
- /* @__PURE__ */de("div",{"data-window-title":!0,title:Oe,className:"text-sm font-medium min-w-0 flex-1 truncate flex items-center gap-2",style:{color:Ut?"var(--window-title-active, rgb(17 24 39))":"var(--window-title-inactive, rgb(156 163 175))"},children:[!nn&&At(),
61
- /* @__PURE__ */he("span",{id:je,className:"truncate",children:nn?dn(Ie):Ie})]}),!nn&&/* @__PURE__ */de("div",{className:"flex items-center gap-3 shrink-0 ml-4",children:[F&&/* @__PURE__ */he("button",{onClick:()=>Ye(e=>!e),title:Ue?We.unpin:We.pinOnTop,className:"text-xs px-2 py-1 rounded hover:bg-gray-200 "+(Ue?"text-blue-600":"text-gray-400 hover:text-gray-600"),children:/* @__PURE__ */he(j,{name:"bookmark-square",className:"h-3.5 w-3.5",fill:Ue?"currentColor":"none",strokeWidth:1.5})}),
62
- /* @__PURE__ */he("button",{onClick:()=>ar(Ft),"aria-label":We.minimize,title:We.minimize,className:"text-gray-400 hover:text-gray-600 text-xs px-2 py-1 rounded hover:bg-gray-200",children:"─"}),!An&&/* @__PURE__ */he(Cr,{maximized:Yn,onToggleMax:()=>{Yn?(Vn(!1),Mn(gn())):Vr()},onSnap:Hr,buttonClassName:"text-gray-400 hover:text-gray-600 text-xs px-2 py-1 rounded hover:bg-gray-200",strings:We}),
63
- /* @__PURE__ */he("button",{type:"button",onClick:Er,"aria-label":We.close,className:"rounded-(--radius-control) text-ink-faintest hover:text-gray-600",children:/* @__PURE__ */he(j,{name:"close",className:"h-5 w-5"})})]})]}),ge&&Ze&&!H&&!ke&&/* @__PURE__ */he("div",{"aria-hidden":"true",className:"h-[3px] shrink-0 pointer-events-none",style:{backgroundColor:`rgb(var(--window-accent-rgb) / ${Ut?.9:.55})`}}),
64
- /* @__PURE__ */he(an.Provider,{value:Ft,children:/* @__PURE__ */he(M.Provider,{value:{rightRef:mt,leftRef:pt,notify:()=>wt(!0),active:Ut,isDirty:or,footerOpen:Et&&!H&&!X&&!V&&!ke},children:/* @__PURE__ */he("div",{ref:ht,...H?{onPointerDown:Or,onContextMenu:e=>{e.preventDefault(),ot({x:e.clientX,y:e.clientY})}}:{},className:`flex-1 min-h-0 flex flex-col ${H?"p-0 cursor-move":V||J?"p-0":X?"p-2":"p-4"} ${H||zn?"":"backdrop-blur-sm"} ${!1===x||V||J?"overflow-hidden":"overflow-y-auto overscroll-contain"} ${H?"rounded-2xl select-none":""}`,style:{...H?{touchAction:"none"}:{},backgroundColor:H?"transparent":zn?"rgb(var(--window-content-rgb))":Ut?"rgb(var(--window-content-rgb) / var(--active-content-opacity, 0.9))":"rgb(var(--window-content-rgb) / var(--inactive-content-opacity, 0.8))"},children:/* @__PURE__ */he(Ke,{children:ve})})})}),H&&rt&&/* @__PURE__ */de(R,{minWidth:160,style:{left:rt.x,top:rt.y},onClose:()=>ot(null),children:[
65
- /* @__PURE__ */he(W,{onClick:()=>{ot(null),window.dispatchEvent(new CustomEvent("widget-open-settings",{detail:Ft}))},children:"Settings"}),
66
- /* @__PURE__ */he(O,{}),ue&&/* @__PURE__ */de(me,{children:[ue,
67
- /* @__PURE__ */he(O,{})]}),
68
- /* @__PURE__ */de(W,{onClick:()=>{ot(null),Ye(e=>!e)},children:[
69
- /* @__PURE__ */he("span",{className:"flex-1",children:"Always on Top"}),Ue&&/* @__PURE__ */he(j,{name:"check",className:"h-4 w-4 text-blue-600 shrink-0",strokeWidth:2})]}),
70
- /* @__PURE__ */he(O,{}),
71
- /* @__PURE__ */he(W,{onClick:()=>{ot(null),Er()},children:"Close"})]}),
72
- /* @__PURE__ */de("div",{onPointerDown:Or,ref:yt,"data-modal-footer":"",className:`px-4 py-2 border-t border-gray-200 shrink-0 flex items-center justify-between text-xs select-none${zn?"":" cursor-move"}${Ut&&!zn?" backdrop-blur-sm":""}${H||X||V||ke||!Et?" hidden":""}`,style:{touchAction:"none",backgroundColor:zn?"rgb(var(--window-footer-rgb))":Ut?"rgb(var(--window-footer-rgb) / var(--active-header-opacity, 0.8))":"rgb(var(--window-footer-rgb) / var(--inactive-header-opacity, 0.7))"},children:[
73
- /* @__PURE__ */de("div",{className:"flex items-center gap-2 min-w-0 flex-1",children:[Lt&&/* @__PURE__ */he(Fe,{auto:!0}),I,
74
- /* @__PURE__ */he("div",{ref:pt,"data-modal-actions-left":!0,className:"flex items-center gap-2 shrink-0"}),null!=b&&!1!==b&&
75
- /* @__PURE__ */he("div",{ref:gt,"data-modal-footer-facts":"",className:"min-w-0 flex-1 overflow-hidden",children:/* @__PURE__ */he("div",{ref:vt,className:"inline-flex items-center gap-2 whitespace-nowrap"+(bt?" invisible":""),children:b})})]}),
76
- /* @__PURE__ */de("div",{"data-modal-footer-right":"",className:"flex items-center gap-2 ml-auto shrink-0",children:[kt&&K&&(K.editing?/* @__PURE__ */he($,{variant:"secondary",size:"sm","data-modal-discard":"",onClick:()=>{Mr()},children:We.discard}):"object"==typeof K.state?/* @__PURE__ */he($,{variant:"secondary",size:"sm","data-modal-edit":"","aria-disabled":!0,disabledReason:K.state.disabledReason,children:We.edit}):/* @__PURE__ */he($,{variant:"secondary",size:"sm","data-modal-edit":"",onClick:()=>K.onEdit(),children:We.edit})),
77
- /* @__PURE__ */he("div",{ref:mt,"data-modal-actions":!0,className:"flex items-center gap-2"}),T]})]}),!H&&!ke&&!nn&&Ut&&!An&&/* @__PURE__ */de(me,{children:[
78
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"se"),className:"absolute bottom-0 right-0 w-3 h-3 cursor-nwse-resize z-10"}),
79
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"sw"),className:"absolute bottom-0 left-0 w-3 h-3 cursor-nesw-resize z-10"}),
80
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"ne"),className:"absolute top-0 right-0 w-3 h-3 cursor-nesw-resize z-10"}),
81
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"nw"),className:"absolute top-0 left-0 w-3 h-3 cursor-nwse-resize z-10"}),
82
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"n"),className:"absolute top-0 left-3 right-3 h-1 cursor-ns-resize"}),
83
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"s"),className:"absolute bottom-0 left-3 right-3 h-1 cursor-ns-resize"}),
84
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"e"),className:"absolute top-3 bottom-3 right-0 w-1 cursor-ew-resize"}),
85
- /* @__PURE__ */he("div",{onPointerDown:e=>Kr(e,"w"),className:"absolute top-3 bottom-3 left-0 w-1 cursor-ew-resize"})]}),nn&&/* @__PURE__ */he("div",{className:"absolute inset-0",style:{zIndex:q.hint,cursor:"pointer",background:"transparent"},onMouseEnter:()=>on(!0),onMouseLeave:()=>on(!1),onMouseDown:e=>{e.stopPropagation(),e.preventDefault(),ir(Ft),Wr(!1)},onClick:e=>{e.stopPropagation(),e.preventDefault()},children:rn&&/* @__PURE__ */he("button",{type:"button","data-expose-close":!0,"aria-label":Re.taskbar.closeWindow,title:"Close",className:"absolute flex items-center justify-center rounded-full bg-black/55 text-on-accent shadow-lg ring-1 ring-white/40 transition-colors hover:bg-red-500",style:{top:8,right:8,width:30,height:30,transform:`scale(${1/to})`,transformOrigin:"top right",zIndex:q.raised},onMouseDown:e=>{e.stopPropagation(),e.preventDefault()},onClick:e=>{e.stopPropagation(),e.preventDefault(),Er()},children:/* @__PURE__ */he(j,{name:"close",className:"h-4 w-4",strokeWidth:2.2})})})]}),nn&&eo&&/* @__PURE__ */he("div",{className:"fixed pointer-events-none select-none truncate text-center",style:{left:eo.x,top:eo.y+eo.h+4,width:eo.w,zIndex:q.expose+(rn?21:11),color:"white",fontSize:"var(--text-xs)",fontWeight:500,textShadow:"0 1px 2px rgba(0,0,0,0.6)"},children:dn(Ie)})]}),io=Xe&&/* @__PURE__ */de(R,{style:{left:Xe.x,top:Xe.y},onClose:()=>Ve(null),minWidth:160,children:[!H&&!X&&!zn&&/* @__PURE__ */de(me,{children:[
86
- /* @__PURE__ */de(W,{onClick:()=>{ar(Ft),Ve(null)},children:[
87
- /* @__PURE__ */he(j,{name:"remove",className:"h-4 w-4",strokeWidth:1.5}),We.minimize]}),!An&&/* @__PURE__ */de(W,Yn?{onClick:()=>{Vn(!1),Mn(gn()),Ve(null)},children:[
88
- /* @__PURE__ */he(j,{name:"collapse",className:"h-4 w-4",strokeWidth:1.5}),We.windowed]}:{onClick:()=>{Vr(),Ve(null)},children:[
89
- /* @__PURE__ */he(j,{name:"expand",className:"h-4 w-4",strokeWidth:1.5}),We.maximize]})]}),F&&!zn&&/* @__PURE__ */de(W,{onClick:()=>{Ye(e=>!e),Ve(null)},children:[
90
- /* @__PURE__ */he(j,{name:"bookmark-square",className:"h-4 w-4 "+(Ue?"text-blue-600":""),fill:Ue?"currentColor":"none",strokeWidth:1.5}),Ue?We.unpin:We.pinOnTop]}),Ge&&/* @__PURE__ */de(W,{onClick:()=>{Ve(null),nt()},children:[
91
- /* @__PURE__ */he(j,{name:"star",className:"h-4 w-4",fill:tt?"currentColor":"none",strokeWidth:1.5}),tt?Re.taskbar.removeFromDesktop:Re.taskbar.addToDesktop]}),(pn[Ft]||[]).length>0&&/* @__PURE__ */he(me,{children:(pn[Ft]||[]).map((e,t)=>/* @__PURE__ */de(W,{onClick:()=>{Ve(null),e.onClick()},children:[e.icon,e.label]},t))}),!(zn&&Je?.home)&&/* @__PURE__ */de(me,{children:[
92
- /* @__PURE__ */he(O,{}),
93
- /* @__PURE__ */de(W,{danger:!0,onClick:()=>{Ve(null),Er()},children:[
94
- /* @__PURE__ */he(j,{name:"close",className:"h-4 w-4"}),We.close]})]})]}),ao=!!we&&jt.some(e=>e.id===we),so=!Vt||ao||H?null:/* @__PURE__ */de("div",{"data-modal-restore-tab":!0,"data-modal-id":Ft,className:"fixed left-1/2 z-(--z-restore-tab) flex -translate-x-1/2 items-center gap-1 rounded-lg border border-line-strong bg-surface px-2 py-1 shadow-lg",style:{bottom:"calc(var(--taskbar-height, 0px) + 12px)"},children:[
95
- /* @__PURE__ */he("button",{type:"button",onClick:()=>ir(Ft),title:We.restore,className:"max-w-[16rem] truncate rounded px-2 py-0.5 text-sm font-medium text-gray-700 hover:bg-gray-100 hover:text-gray-900",children:Oe||We.windowSuffix}),
96
- /* @__PURE__ */he("button",{type:"button",onClick:()=>ir(Ft),title:We.restore,"aria-label":We.restore,className:"rounded px-2 py-0.5 text-xs leading-none text-ink-faintest hover:bg-gray-100 hover:text-gray-600",children:"▴"}),
97
- /* @__PURE__ */he("button",{type:"button",onClick:()=>{Er()},title:We.close,"aria-label":We.close,className:"rounded px-2 py-0.5 text-xs leading-none text-ink-faintest hover:bg-gray-100 hover:text-gray-600",children:"✕"})]});return pe(
98
- /* @__PURE__ */de(sn.Provider,{value:null,children:[oo,io,so]}),document.body)}"undefined"!=typeof window&&window.addEventListener("keydown",e=>{Dr&&"Escape"===e.key&&(Vr(null),Wr(!1))});var Zr=100,eo={past:[],future:[]};function to(e,t){switch(t.type){case"record":{const n=e.past[e.past.length-1];if(null!==t.step.coalesceKey&&n?.coalesceKey===t.step.coalesceKey)return 0===e.future.length?e:{...e,future:[]};const r=[...e.past,t.step];return{past:r.length>Zr?r.slice(r.length-Zr):r,future:[]}}case"undo":return 0===e.past.length?e:{past:e.past.slice(0,-1),future:[t.redoStep,...e.future]};case"redo":return 0===e.future.length?e:{past:[...e.past,t.undoStep],future:e.future.slice(1)};case"clear":return 0===e.past.length&&0===e.future.length?e:eo}}var no=/* @__PURE__ */new Set(["INPUT","TEXTAREA","SELECT"]);var ro=500,oo=250;function io({children:e,canEdit:t=!0,perms:n,windowId:r}){const[o,i]=ce(to,eo),a=Q(/* @__PURE__ */new Map),[s,l]=ee(0),c=s>0,[u,d]=ee(0),[h,m]=ee(0),p=h>0,{hasAnyPerm:f}=T(),w=t&&0===u&&(!(n&&n.length>0)||f(n)),y=Q(null),g=Q(!1),v=ne(()=>{const e={};for(const[t,n]of a.current)e[t]=n.getLast();return e},[]),b=ne((e,t)=>{a.current.has(e)||l(e=>e+1),a.current.set(e,t)},[]),x=ne(e=>{a.current.delete(e)&&l(e=>e-1)},[]),k=ne(e=>{d(t=>t+(e?1:-1))},[]),E=ne(e=>{m(t=>t+(e?1:-1))},[]),[C,N]=ee(0),S=C>0,L=ne(e=>{N(t=>t+(e?1:-1))},[]),z=G($e),A=z?.claimReadOnly;Z(()=>{if(A&&!w)return A(!0),()=>A(!1)},[A,w]);const D=z?.claimOwnMount;Z(()=>{if(D&&S)return D(!0),()=>D(!1)},[D,S]);const I=Q({last:0,count:0,tripped:!1}),P=Q(!1),R=ne((e,t,n)=>{if(g.current)return void(n&&function(e,t){if(Object.is(e,t))return!0;if("object"!=typeof e||"object"!=typeof t||null===e||null===t)return!1;if(Array.isArray(e)!==Array.isArray(t))return!1;try{return JSON.stringify(e)===JSON.stringify(t)}catch{return!1}}(n.prev,n.next)||(P.current=!0));if(!w||y.current)return;const r=I.current;if(r.tripped)return;const o=Date.now();if(o-r.last>oo&&(r.count=0),r.last=o,++r.count>ro)return r.tripped=!0,void console.error(`[efficient-shell] UndoProvider: "${e}" recorded ${ro} undo steps with no pause between them, which no user action can do. The value passed to useUndoable for this slice is almost certainly rebuilt on every render (a .map/.filter/object literal in the call) rather than held in state, so it reads as changed every time — and since recording a step re-renders the form, that is a loop. Undo recording is now off for this form to keep the tab responsive.`);y.current={values:v(),label:e,coalesceKey:t},queueMicrotask(()=>{const e=y.current;y.current=null,e&&i({type:"record",step:e})})},[w,v]),W=ne(e=>{for(const[t,n]of Object.entries(e)){const e=a.current.get(t);e&&(e.setLast(n),e.apply(n))}},[]),O=ne(()=>{const e=o.past[o.past.length-1];if(!e)return;const t={values:v(),label:e.label,coalesceKey:null};W(e.values),i({type:"undo",redoStep:t})},[o.past,v,W]),K=ne(()=>{const e=o.future[0];if(!e)return;const t={values:v(),label:e.label,coalesceKey:null};W(e.values),i({type:"redo",undoStep:t})},[o.future,v,W]),[$,j]=ee(0),F=Q(0),q=Q(0),B=Q(!1),H=ne(()=>{g.current=!0,P.current=!1,y.current=null,F.current+=1,q.current=F.current,j(F.current)},[]),U=Q(void 0),Y=ne(e=>{void 0!==e&&(void 0!==U.current&&e!==U.current&&(B.current=!0),U.current=e),H()},[H]);Z(()=>{g.current&&$===q.current&&(g.current=!1,y.current=null,(P.current||B.current)&&i({type:"clear"}),P.current=!1,B.current=!1)},[$]);const X=ne(()=>{B.current=!0,i({type:"clear"}),H()},[H]),V=w&&o.past.length>0,J=w&&o.future.length>0,_=Ar(r),te=Q({undo:O,redo:K,canUndo:V,canRedo:J});te.current={undo:O,redo:K,canUndo:V,canRedo:J},Z(()=>{if(!_||!w)return;const e=e=>{const t=function(e){if(!e.metaKey&&!e.ctrlKey||e.altKey)return null;const t=e.key.toLowerCase(),n="z"===t?e.shiftKey?"redo":"undo":"y"!==t||!e.ctrlKey||e.metaKey||e.shiftKey?null:"redo";if(!n)return null;const r=e.target;return r?.isContentEditable||r?.tagName&&no.has(r.tagName.toUpperCase())?null:n}(e);if(!t)return;const n=te.current;("undo"===t?n.canUndo:n.canRedo)&&(e.preventDefault(),"undo"===t?n.undo():n.redo())};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[_,w]);const re=se(()=>({register:b,unregister:x,record:R,undo:O,redo:K,clear:X,baseline:Y,canUndo:V,canRedo:J,enabled:w,hasState:c,handMounted:S,claimOwnMount:L,claimReadOnly:k,declaredEditable:p,claimEditable:E,undoLabel:V?o.past[o.past.length-1].label:null,redoLabel:J?o.future[0].label:null}),[b,x,R,O,K,X,Y,V,J,w,c,S,L,k,p,E,o.past,o.future]),oe=""!==gn(),ie=G(M)?.footerOpen??!1,ae=oe&&w&&c&&!S&&ie;/* @__PURE__ */
99
- return de($e.Provider,{value:re,children:[ae&&/* @__PURE__ */he(vn,{position:"left",quiet:!0,children:/* @__PURE__ */he(Fe,{auto:!0})}),e]})}function ao(){const e=G($e),t=ne(()=>{},[]);return{undo:e?.undo??t,redo:e?.redo??t,clear:e?.clear??t,baseline:e?.baseline??t,canUndo:e?.canUndo??!1,canRedo:e?.canRedo??!1,undoLabel:e?.undoLabel??null,redoLabel:e?.redoLabel??null,enabled:e?.enabled??!1,hasState:e?.hasState??!1}}function so(e){const t=G($e),n=t?.claimReadOnly,r=t?.claimEditable;Z(()=>{const t=e?r:n;if(t)return t(!0),()=>t(!1)},[n,r,e])}function lo(e,t,n){const r=G($e),o=le(),i=Q(e),a=Q(t);a.current=t,Z(()=>{if(r)return r.register(o,{getLast:()=>i.current,setLast:e=>{i.current=e},apply:e=>a.current(e)}),()=>r.unregister(o)},[r,o]);const{label:s,coalesceKey:l=null}=n,c=Q(r);c.current=r;const u=Q({label:s,coalesceKey:l});u.current={label:s,coalesceKey:l},Z(()=>{const t=c.current;t&&(Object.is(e,i.current)||(t.record(u.current.label,u.current.coalesceKey,{prev:i.current,next:e}),i.current=e))},[e])}function co(e,t){const[n,r]=ee(e);return lo(n,e=>r(()=>e),t),[n,r]}export{bn as CancelButton,Ne as DesktopHostProvider,ut as DocFavStar,Qe as EntityWindowFallback,Je as EntityWindowLoading,Ze as EntityWindowState,un as MODAL_SUBMIT_SELECTOR,Qr as Modal,vn as ModalActions,Fe as UndoControls,io as UndoProvider,ke as WINDOW_REGISTRY,Oe as WindowCrashedFallback,Ke as WindowErrorBoundary,At as WindowManagerProvider,wn as WindowTitle,wt as activateWindowById,Ht as beginWindowGesture,tr as cancelWindowFront,Ce as client_default,Gr as commitExposeHighlight,er as confirmWindowDiscard,Ut as drainPerfEvents,Kr as exitExposeMode,Dn as forgetMaximizedWindowBoxes,vt as getActiveWindowRoute,Xr as getExposeHighlight,on as getWindowChromeVersion,zn as getWindowPosition,tt as isDraftEntityId,nt as isDraftEntityWindow,ve as isEntityEntry,ge as isPageEntry,Ee as isShellApiClientConfigured,Ye as isTabWindow,Bt as markMenuOpen,nn as readWindowChrome,_n as requestWindowFront,Vr as setExposeHighlight,qt as setPerfCollecting,De as setShellHomeRoute,We as setShellTabStrip,xe as setShellWindowRegistry,Tn as setWindowDefaultPosition,An as setWindowPosition,Jt as splitTitle,Yr as subscribeExposeHighlight,rn as subscribeWindowChrome,Xe as tabGroupOf,Or as toggleExposeMode,Xn as useCurrentTabKey,Se as useDesktopHost,gn as useEnclosingModalId,Ar as useIsActiveWindow,Te as usePageSearch,ao as useUndo,so as useUndoCanEdit,lo as useUndoable,co as useUndoableState,mn as useWidgetSettings,it as useWindowDirty,st as useWindowManager,fn as useWindowMenuItem,yn as useWindowTitle,Zn as windowHoldsChanges};
@@ -1 +0,0 @@
1
- import{WrenchSolidIcon as r}from"./chunk-A25YVGAG.js";import{ZoomInMiniIcon as o}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as m}from"./chunk-4H2J5UAB.js";import{WindowsSolidIcon as t}from"./chunk-XHRWQU2N.js";import{WordsFromMiniIcon as c}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as n}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as i}from"./chunk-NLGDN36O.js";import{WrapSolidIcon as s}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as p}from"./chunk-BWDHO77A.js";import{WrenchScrewdriverMiniIcon as u}from"./chunk-HWGKMEYA.js";import{WrenchScrewdriverSolidIcon as h}from"./chunk-H7AHH7OB.js";import{WeightSolidIcon as k}from"./chunk-JH4N2AGC.js";import{WidgetsMiniIcon as f}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as e}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as j}from"./chunk-B4GBUSE5.js";import{WidthSolidIcon as a}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as l}from"./chunk-CNVF67ZV.js";import{WindowSolidIcon as d}from"./chunk-QBRE4MH3.js";import{WindowsMiniIcon as b}from"./chunk-YMECORJ4.js";import{VideoOffSolidIcon as Q}from"./chunk-F75KLDZK.js";import{ViewColumnsMiniIcon as C}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as F}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as D}from"./chunk-ITCE6WFF.js";import{WalletSolidIcon as J}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as K}from"./chunk-KHXH44V6.js";import{WarningSolidIcon as N}from"./chunk-TAXDMCNG.js";import{WeightMiniIcon as R}from"./chunk-7MBI6K4M.js";import{UndoSolidIcon as U}from"./chunk-T2IC4IQA.js";import{UploadMiniIcon as H}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as M}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as P}from"./chunk-E5XQWSQG.js";import{VAlignSolidIcon as X}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as L}from"./chunk-FJXQQ6N4.js";import{VerifiedSolidIcon as Z}from"./chunk-C6CI7XH7.js";import{VideoOffMiniIcon as G}from"./chunk-PNVFIQXD.js";import{TvSolidIcon as W}from"./chunk-RVA6HGDB.js";import{TypeMiniIcon as A}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as T}from"./chunk-RH6C435W.js";import{TyreMiniIcon as E}from"./chunk-PPRJBW5Y.js";import{TyreSolidIcon as g}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as B}from"./chunk-23YM7DOW.js";import{UnderlineSolidIcon as I}from"./chunk-R2KCOXZR.js";import{UndoMiniIcon as S}from"./chunk-O5EP2UNP.js";import{TrashAlt2Icon as O}from"./chunk-TEEDZ5O4.js";import{TrashAltIcon as Y}from"./chunk-X65IANDK.js";import{TrashMiniIcon as V}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as w}from"./chunk-GPFBERFF.js";import{TruckAltIcon as y}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as x}from"./chunk-JCKOSJNI.js";import{TruckSolidIcon as v}from"./chunk-GYA54DB2.js";import{TvMiniIcon as q}from"./chunk-BQ7RNIBA.js";import{TextSizeMiniIcon as z}from"./chunk-2BAQ3XFD.js";import{TextSizeSolidIcon as $}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as _}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as rr}from"./chunk-245SGQC7.js";import{TextValueMiniIcon as or}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as mr}from"./chunk-GKAI5SDL.js";import{TextureMiniIcon as tr}from"./chunk-VRGZFJZD.js";import{TextureSolidIcon as cr}from"./chunk-2AGTZHGD.js";import{TargetMiniIcon as nr}from"./chunk-5VRVT4LR.js";import{TargetSolidIcon as ir}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as sr}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as pr}from"./chunk-ETF6W3D4.js";import{TelephoneMiniIcon as ur}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as hr}from"./chunk-JQSK5ICA.js";import{TextColorMiniIcon as kr}from"./chunk-3WUQ5V4J.js";import{TextColorSolidIcon as fr}from"./chunk-TGNRZLQ6.js";import{TabletMiniIcon as er}from"./chunk-7R5JBLPI.js";import{TabletSolidIcon as jr}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as ar}from"./chunk-SXUSAHDF.js";import{TabsSolidIcon as lr}from"./chunk-P6FGTDDX.js";import{TagAltIcon as dr}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as br}from"./chunk-GGGXLQHC.js";import{TagSolidIcon as Qr}from"./chunk-QDHVUIZV.js";import{TargetAltIcon as Cr}from"./chunk-V5DSMUZ5.js";import{SunMiniIcon as Fr}from"./chunk-7MOGLM4M.js";import{SunSolidIcon as Dr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Jr}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Kr}from"./chunk-5GJ3SFHP.js";import{SwapMiniIcon as Nr}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as Rr}from"./chunk-LO2ENELN.js";import{TableMiniIcon as Ur}from"./chunk-7IQQIDI6.js";import{TableSolidIcon as Hr}from"./chunk-QJ3LE7LI.js";import{StoreSolidIcon as Mr}from"./chunk-V3W6W42X.js";import{StrikeMiniIcon as Pr}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as Xr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Lr}from"./chunk-PP3H5YGZ.js";import{StylesMiniIcon as Zr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as Gr}from"./chunk-B3Q46H2J.js";import{SubscriptMiniIcon as Wr}from"./chunk-KRWISESU.js";import{SubscriptSolidIcon as Ar}from"./chunk-O3QFU4CP.js";import{StatusDotMiniIcon as Tr}from"./chunk-LKN4NT7H.js";import{StatusDotSolidIcon as Er}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as gr}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as Br}from"./chunk-CAMDJDKT.js";import{StopCircleMiniIcon as Ir}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as Sr}from"./chunk-AQT5PBEU.js";import{StoreBuildingStorefront20SolidIcon as Or}from"./chunk-FXD73VOY.js";import{StoreMiniIcon as Yr}from"./chunk-5HCC7MZN.js";import{SquareSolidIcon as Vr}from"./chunk-BPWBA2RM.js";import{StarAltIcon as wr}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as yr}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as xr}from"./chunk-635BD6WX.js";import{StateMiniIcon as vr}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as qr}from"./chunk-2TO2GMVS.js";import{StatusCircleMiniIcon as zr}from"./chunk-TB3CFNVI.js";import{StatusCircleSolidIcon as $r}from"./chunk-RAE4CUCY.js";import{SparklesSolidIcon as _r}from"./chunk-NA5HW2RQ.js";import{SpeakerWaveMiniIcon as ro}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as oo}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as mo}from"./chunk-FUY6TO6Z.js";import{SpecTableSolidIcon as to}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as co}from"./chunk-6PRAEXF6.js";import{SplitSolidIcon as no}from"./chunk-YOVMFAN3.js";import{SquareMiniIcon as io}from"./chunk-WQ2IFM6M.js";import{SlidePickerSquaresSolidIcon as so}from"./chunk-DI3CJOO2.js";import{SortAltIcon as po}from"./chunk-US4TTHEN.js";import{SortMiniIcon as uo}from"./chunk-SI37ODJF.js";import{SortSolidIcon as ho}from"./chunk-ZUG2JNG4.js";import{SparklesAlt2Icon as ko}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as fo}from"./chunk-FEUIWJ7S.js";import{SparklesAltIcon as eo}from"./chunk-UWNP5QOF.js";import{SparklesMiniIcon as jo}from"./chunk-WNO4AZ67.js";import{SlidePickerBarSolidIcon as ao}from"./chunk-SZGTWSN4.js";import{SlidePickerCardsMiniIcon as lo}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as bo}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as Qo}from"./chunk-3VYVPN23.js";import{SlidePickerDotsSolidIcon as Co}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as Fo}from"./chunk-K5UTUJXX.js";import{SlidePickerNumbersSolidIcon as Do}from"./chunk-CNQOWIKL.js";import{SlidePickerSquaresMiniIcon as Jo}from"./chunk-A7ILTGAE.js";import{SignalSolidIcon as Ko}from"./chunk-QTPYKXY7.js";import{SitemapMiniIcon as No}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Ro}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as Uo}from"./chunk-3LSEVWUJ.js";import{SlideArrowsRoundSolidIcon as Ho}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Mo}from"./chunk-EDEHD47C.js";import{SlideArrowsSquareSolidIcon as Po}from"./chunk-P66ED5XN.js";import{SlidePickerBarMiniIcon as Xo}from"./chunk-BJ2LKUME.js";import{ShieldCheckSolidIcon as Lo}from"./chunk-A2NRNSJU.js";import{ShieldExclamationMiniIcon as Zo}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as Go}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as Wo}from"./chunk-CNTQKS7H.js";import{SidesEachSolidIcon as Ao}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as To}from"./chunk-PYAU2NDD.js";import{SignalSlashMiniIcon as Eo}from"./chunk-MIMLD6G4.js";import{SignalSlashSolidIcon as go}from"./chunk-PLQ23Q7Y.js";import{ShapeEllipseSolidIcon as Bo}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as Io}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as So}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as Oo}from"./chunk-HWEV5X53.js";import{ShareSolidIcon as Yo}from"./chunk-ZFF7W6EF.js";import{SharedMiniIcon as Vo}from"./chunk-LKRQXIOG.js";import{SharedSolidIcon as wo}from"./chunk-YKDKVSAL.js";import{ShieldCheckMiniIcon as yo}from"./chunk-6UNMFTXG.js";import{SeparatorTriangleSolidIcon as xo}from"./chunk-B3CN55UI.js";import{ServerMiniIcon as vo}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as qo}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as zo}from"./chunk-PJ74S7TQ.js";import{SettingsSolidIcon as $o}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as _o}from"./chunk-JQFMEYOH.js";import{ShadowSolidIcon as rm}from"./chunk-Z6DPC6LY.js";import{ShapeEllipseMiniIcon as om}from"./chunk-HGJLQXQZ.js";import{SelectAllSolidIcon as mm}from"./chunk-5FXHHPQN.js";import{SendAlt2Icon as tm}from"./chunk-I3TMILZC.js";import{SendAltIcon as cm}from"./chunk-AZADIQCQ.js";import{SendMiniIcon as nm}from"./chunk-SLALNIKU.js";import{SendSolidIcon as im}from"./chunk-2L3JB5JJ.js";import{SeparatorSlashMiniIcon as sm}from"./chunk-TGXO3CDO.js";import{SeparatorSlashSolidIcon as pm}from"./chunk-YJ5IHIAI.js";import{SeparatorTriangleMiniIcon as um}from"./chunk-MUXGWDEH.js";import{ScrollZoomInSolidIcon as hm}from"./chunk-DRSPB4ZE.js";import{ScrollZoomOutMiniIcon as km}from"./chunk-5HLLCX6X.js";import{ScrollZoomOutSolidIcon as fm}from"./chunk-THRSU75M.js";import{SearchAlt2Icon as em}from"./chunk-USRR3ATA.js";import{SearchAltIcon as jm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as am}from"./chunk-RFQT33IG.js";import{SearchSolidIcon as lm}from"./chunk-D7AJ7HNA.js";import{SelectAllMiniIcon as dm}from"./chunk-XG4LYLHC.js";import{ScrollMoveDownSolidIcon as bm}from"./chunk-OYJAXZFU.js";import{ScrollMoveUpMiniIcon as Qm}from"./chunk-MEF5E2JA.js";import{ScrollMoveUpSolidIcon as Cm}from"./chunk-EJRRJXDG.js";import{ScrollParallaxMiniIcon as Fm}from"./chunk-CYU454QR.js";import{ScrollParallaxSolidIcon as Dm}from"./chunk-N3THYDNV.js";import{ScrollPointMiniIcon as Jm}from"./chunk-BGYKEPGH.js";import{ScrollPointSolidIcon as Km}from"./chunk-R2L5KKWD.js";import{ScrollZoomInMiniIcon as Nm}from"./chunk-6V3BNCDT.js";import{ScaleAltIcon as Rm}from"./chunk-WJEFJ7DO.js";import{ScaleMiniIcon as Um}from"./chunk-AKR2GM4I.js";import{ScaleSolidIcon as Hm}from"./chunk-TGQ6FVOC.js";import{ScrollFadeInMiniIcon as Mm}from"./chunk-KELGQ7WI.js";import{ScrollFadeInSolidIcon as Pm}from"./chunk-CDGK3TOO.js";import{ScrollFadeOutMiniIcon as Xm}from"./chunk-H7RDZRJ4.js";import{ScrollFadeOutSolidIcon as Lm}from"./chunk-BAWT5QBA.js";import{ScrollMoveDownMiniIcon as Zm}from"./chunk-J3Z4U2CT.js";import{ReplyMiniIcon as Gm}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Wm}from"./chunk-QRZVIG54.js";import{RevertMiniIcon as Am}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as Tm}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Em}from"./chunk-2QBUM6BF.js";import{RobotSolidIcon as gm}from"./chunk-BTMPF6TU.js";import{RotateMiniIcon as Bm}from"./chunk-AZ6PTN7Z.js";import{RotateSolidIcon as Im}from"./chunk-FMFFO3XW.js";import{RefreshAltIcon as Sm}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Om}from"./chunk-7BDQSYOD.js";import{RefreshMiniIcon as Ym}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as Vm}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as wm}from"./chunk-LC5WQDNZ.js";import{RemoveSolidIcon as ym}from"./chunk-DZGAUI3P.js";import{ReplyAllMiniIcon as xm}from"./chunk-PF5CU4SO.js";import{ReplyAllSolidIcon as vm}from"./chunk-S6HJCIO4.js";import{ReceiptMiniIcon as qm}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as zm}from"./chunk-CM6DG7CZ.js";import{ReceiptPercentSolidIcon as $m}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as _m}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as rt}from"./chunk-4PXK463M.js";import{ReceiptSolidIcon as ot}from"./chunk-P6NGK7DM.js";import{RedoMiniIcon as mt}from"./chunk-RJNAXMDD.js";import{RedoSolidIcon as tt}from"./chunk-CITR3NCQ.js";import{ProgressMiniIcon as ct}from"./chunk-Q3OTCQTQ.js";import{ProgressSolidIcon as nt}from"./chunk-3V5UT7A2.js";import{QuoteMiniIcon as it}from"./chunk-63LZCLNR.js";import{QuoteSolidIcon as st}from"./chunk-K3JGLNOQ.js";import{RadioDotMiniIcon as pt}from"./chunk-WRWINFV3.js";import{RadioDotSolidIcon as ut}from"./chunk-VKPCYU5H.js";import{RadiusMiniIcon as ht}from"./chunk-7I2GL4XB.js";import{RadiusSolidIcon as kt}from"./chunk-SGGFUPQS.js";import{PrintMiniIcon as ft}from"./chunk-AODSAT7N.js";import{PrintSolidIcon as et}from"./chunk-HLMTKW5H.js";import{ProductFieldMiniIcon as jt}from"./chunk-WICGNE5J.js";import{ProductFieldSolidIcon as at}from"./chunk-AFHJNVJU.js";import{ProductMiniIcon as lt}from"./chunk-M2STINJB.js";import{ProductSizeMiniIcon as dt}from"./chunk-WOWXRIRW.js";import{ProductSizeSolidIcon as bt}from"./chunk-Y4GH6UXZ.js";import{ProductSolidIcon as Qt}from"./chunk-AYYN74HD.js";import{PlayMiniIcon as Ct}from"./chunk-CCJHCLQD.js";import{PlaySolidIcon as Ft}from"./chunk-DPCVWEGT.js";import{PlusMinusMiniIcon as Dt}from"./chunk-T2SS7VMR.js";import{PlusMinusSolidIcon as Jt}from"./chunk-6QBEAJ3X.js";import{PowerMiniIcon as Kt}from"./chunk-ETIZX4ZX.js";import{PowerSolidIcon as Nt}from"./chunk-TXEFPHTL.js";import{PresentationChartBarMiniIcon as Rt}from"./chunk-7BMSC5QE.js";import{PresentationChartBarSolidIcon as Ut}from"./chunk-V56PZIS2.js";import{PhoneAltIcon as Ht}from"./chunk-W2SGPRYG.js";import{PhoneHiddenMiniIcon as Mt}from"./chunk-J4BNHZMC.js";import{PhoneHiddenSolidIcon as Pt}from"./chunk-3CWD4INC.js";import{PhoneMiniIcon as Xt}from"./chunk-KRUKB4JE.js";import{PhoneSolidIcon as Lt}from"./chunk-H6OCWYYU.js";import{PlacementMiniIcon as Zt}from"./chunk-OXHG752A.js";import{PlacementSolidIcon as Gt}from"./chunk-74DQMIJU.js";import{PlayAltIcon as Wt}from"./chunk-ZPQFONMR.js";import{PauseSolidIcon as At}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as Tt}from"./chunk-75CPAMIK.js";import{PenSolidIcon as Et}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as gt}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as Bt}from"./chunk-TDACYSKV.js";import{PeopleUserGroupIcon as It}from"./chunk-3GU54QB6.js";import{PercentMiniIcon as St}from"./chunk-2LKEZNEE.js";import{PercentSolidIcon as Ot}from"./chunk-CQYBRFCN.js";import{PanelLeftSolidIcon as Yt}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as Vt}from"./chunk-FU44ZZBE.js";import{PanelRightSolidIcon as wt}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as yt}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as xt}from"./chunk-GD3YLOFZ.js";import{PasteStyleMiniIcon as vt}from"./chunk-X5KVM2JY.js";import{PasteStyleSolidIcon as qt}from"./chunk-NOQIPVD5.js";import{PauseMiniIcon as zt}from"./chunk-E4XFHQTO.js";import{PaddingYMiniIcon as $t}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as _t}from"./chunk-ZVZB4MEK.js";import{PageAltIcon as rc}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as oc}from"./chunk-XXFO33EC.js";import{PageSolidIcon as mc}from"./chunk-SMJFGTEP.js";import{PaletteMiniIcon as tc}from"./chunk-BAFB2V5R.js";import{PaletteSolidIcon as cc}from"./chunk-DL3K4PF4.js";import{PanelLeftMiniIcon as nc}from"./chunk-XSCG6YG7.js";import{PaddingLeftRightSolidIcon as ic}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as sc}from"./chunk-KMRK6TJC.js";import{PaddingRightMiniIcon as pc}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as uc}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as hc}from"./chunk-AAQPYX4I.js";import{PaddingTopSolidIcon as kc}from"./chunk-SE2ECAWN.js";import{PaddingXMiniIcon as fc}from"./chunk-M3FDLEVB.js";import{PaddingXSolidIcon as ec}from"./chunk-C4GY2IS5.js";import{PackageOpenSolidIcon as jc}from"./chunk-6STWX56B.js";import{PackageSolidIcon as ac}from"./chunk-PRU52B5T.js";import{PaddingAllMiniIcon as lc}from"./chunk-R54WVPDX.js";import{PaddingAllSolidIcon as dc}from"./chunk-QJG66TT3.js";import{PaddingBottomMiniIcon as bc}from"./chunk-NXBHLJD4.js";import{PaddingBottomSolidIcon as Qc}from"./chunk-MQBMKV2M.js";import{PaddingLeftMiniIcon as Cc}from"./chunk-FGQ7HFAL.js";import{PaddingLeftRightMiniIcon as Fc}from"./chunk-RF4AWGBX.js";import{NumberedListMiniIcon as Dc}from"./chunk-FD7UBG5P.js";import{NumberedListSolidIcon as Jc}from"./chunk-3K6RM3K4.js";import{OpacityMiniIcon as Kc}from"./chunk-JMOGUE7F.js";import{OpacitySolidIcon as Nc}from"./chunk-FCD4WTIN.js";import{OwnTextMiniIcon as Rc}from"./chunk-62BDLWEO.js";import{OwnTextSolidIcon as Uc}from"./chunk-5OY3AUEX.js";import{PackageMiniIcon as Hc}from"./chunk-FCD2THL6.js";import{PackageOpenMiniIcon as Mc}from"./chunk-J5NXZAWD.js";import{NoteMiniIcon as Pc}from"./chunk-MRWH3KJB.js";import{NoteSolidIcon as Xc}from"./chunk-QNV4E2MF.js";import{NudgeMiniIcon as Lc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as Zc}from"./chunk-3MRB7UZY.js";import{NudgeXMiniIcon as Gc}from"./chunk-HJUK5AAM.js";import{NudgeXSolidIcon as Wc}from"./chunk-KRWKHI7S.js";import{NudgeYMiniIcon as Ac}from"./chunk-EEG3KMP7.js";import{NudgeYSolidIcon as Tc}from"./chunk-P5SVBGLG.js";import{MoonMiniIcon as Ec}from"./chunk-V75MYG5O.js";import{MoonSolidIcon as gc}from"./chunk-24FKIIDR.js";import{MoreMiniIcon as Bc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as Ic}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as Sc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as Oc}from"./chunk-OSZDQ3VV.js";import{NoSymbolMiniIcon as Yc}from"./chunk-WQBLFKPH.js";import{NoSymbolSolidIcon as Vc}from"./chunk-JEWUFDX5.js";import{MenuMiniIcon as wc}from"./chunk-MNIIBF52.js";import{MenuSolidIcon as yc}from"./chunk-AFXOAFL6.js";import{MetaMiniIcon as xc}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as vc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as qc}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as zc}from"./chunk-QWWV6GSR.js";import{MoneyMiniIcon as $c}from"./chunk-6MSDX7MQ.js";import{MoneySolidIcon as _c}from"./chunk-RJCUFIE5.js";import{MediaLayoutSideBySideMiniIcon as rn}from"./chunk-PYG3MKYD.js";import{MediaLayoutSideBySideSolidIcon as on}from"./chunk-77DNZFAR.js";import{MediaLayoutStackedMiniIcon as mn}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as tn}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as cn}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as nn}from"./chunk-3UFUOKBM.js";import{MegaphoneMiniIcon as sn}from"./chunk-DQ6CYYYH.js";import{MegaphoneSolidIcon as pn}from"./chunk-7KJMS4EK.js";import{LoopSolidIcon as un}from"./chunk-XMTGZI2O.js";import{MapAltIcon as hn}from"./chunk-XA7YZO2P.js";import{MapMiniIcon as kn}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as fn}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as en}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as jn}from"./chunk-4QNSHURB.js";import{MediaLayoutInsetMiniIcon as an}from"./chunk-PAYYAWU5.js";import{MediaLayoutInsetSolidIcon as ln}from"./chunk-RJU7XFKX.js";import{LockSolidIcon as dn}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as bn}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as Qn}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as Cn}from"./chunk-GV3GNYL6.js";import{LogoutSolidIcon as Fn}from"./chunk-2AQMIXH3.js";import{LoopMarqueeMiniIcon as Dn}from"./chunk-ECJSGHFD.js";import{LoopMarqueeSolidIcon as Jn}from"./chunk-XW336CNF.js";import{LoopMiniIcon as Kn}from"./chunk-Z7TJ5Y7T.js";import{ListNoneMiniIcon as Nn}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as Rn}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as Un}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as Hn}from"./chunk-PZZWHWBB.js";import{LocationMiniIcon as Mn}from"./chunk-K7WJNXIJ.js";import{LocationSolidIcon as Pn}from"./chunk-BZOV7GJL.js";import{LockAltIcon as Xn}from"./chunk-IQKD7UCZ.js";import{LockMiniIcon as Ln}from"./chunk-EIUHOEDP.js";import{LinkSlashSolidIcon as Zn}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as Gn}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as Wn}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as An}from"./chunk-ACCOL2XR.js";import{ListAltIcon as Tn}from"./chunk-ITBPRBKS.js";import{ListFormatMiniIcon as En}from"./chunk-UDN6USR5.js";import{ListFormatSolidIcon as gn}from"./chunk-LWDJ4GEH.js";import{ListMiniIcon as Bn}from"./chunk-7OKXT3VY.js";import{LineSolidMiniIcon as In}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as Sn}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as On}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as Yn}from"./chunk-CNITIX2S.js";import{LineStyleMiniIcon as Vn}from"./chunk-Z4KOPOJX.js";import{LineStyleSolidIcon as wn}from"./chunk-KUCKME7A.js";import{LinkMiniIcon as yn}from"./chunk-KLZWTEB5.js";import{LinkSlashMiniIcon as xn}from"./chunk-325KLGZI.js";import{LightbulbMiniIcon as vn}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as qn}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as zn}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as $n}from"./chunk-MMYYXHNL.js";import{LineDashedMiniIcon as _n}from"./chunk-UTJSSJXU.js";import{LineDashedSolidIcon as ri}from"./chunk-JTKLHXQE.js";import{LineDottedMiniIcon as oi}from"./chunk-Z7SR7VQR.js";import{LineDottedSolidIcon as mi}from"./chunk-DUPPQQ35.js";import{LayersMiniIcon as ti}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as ci}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as ni}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as ii}from"./chunk-PYXW6GXA.js";import{LayoutMiniIcon as si}from"./chunk-TUODSC47.js";import{LayoutSolidIcon as pi}from"./chunk-AU3GQT25.js";import{LetterSpacingMiniIcon as ui}from"./chunk-RYOPAJXK.js";import{LetterSpacingSolidIcon as hi}from"./chunk-FSLICZMD.js";import{InfoAltIcon as ki}from"./chunk-U5423MQC.js";import{InfoMiniIcon as fi}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as ei}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as ji}from"./chunk-JDGZNXOM.js";import{ItalicSolidIcon as ai}from"./chunk-CMYQL6WU.js";import{KeyMiniIcon as li}from"./chunk-TQITZXNM.js";import{KeySolidIcon as di}from"./chunk-B7FO24I2.js";import{LayersAltIcon as bi}from"./chunk-SUSN7BUA.js";import{ImageOffMiniIcon as Qi}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as Ci}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as Fi}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as Di}from"./chunk-5P6EYV7K.js";import{ImagesSolidIcon as Ji}from"./chunk-Y7BG7B64.js";import{InboxAltIcon as Ki}from"./chunk-BFJ4RYCD.js";import{InboxMiniIcon as Ni}from"./chunk-QRSDMC5W.js";import{InboxSolidIcon as Ri}from"./chunk-EESYQSYA.js";import{IconAtEndMiniIcon as Ui}from"./chunk-VRBDSUV5.js";import{IconAtEndSolidIcon as Hi}from"./chunk-MJ6SYTFL.js";import{IconBeforeTextMiniIcon as Mi}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as Pi}from"./chunk-FMSIKEE3.js";import{IdentificationMiniIcon as Xi}from"./chunk-MX26PZGW.js";import{IdentificationSolidIcon as Li}from"./chunk-ELWJR6D5.js";import{ImageAltIcon as Zi}from"./chunk-4NT5O3CF.js";import{ImageMiniIcon as Gi}from"./chunk-22AYA6IH.js";import{HoverRotateSolidIcon as Wi}from"./chunk-QHUGCISZ.js";import{HoverSolidIcon as Ai}from"./chunk-J3EF3LJU.js";import{HoverZoomMiniIcon as Ti}from"./chunk-UCWJA6LT.js";import{HoverZoomSolidIcon as Ei}from"./chunk-PJW3BL27.js";import{IconAboveTextMiniIcon as gi}from"./chunk-NKDDKXJF.js";import{IconAboveTextSolidIcon as Bi}from"./chunk-KHVMKTOL.js";import{IconAfterTextMiniIcon as Ii}from"./chunk-O5MCB756.js";import{IconAfterTextSolidIcon as Si}from"./chunk-H4SQVPCY.js";import{HoverLiftMiniIcon as Oi}from"./chunk-MIOL4CDN.js";import{HoverLiftSolidIcon as Yi}from"./chunk-KLHUKAD3.js";import{HoverMiniIcon as Vi}from"./chunk-VMKJJFZB.js";import{HoverNextImageMiniIcon as wi}from"./chunk-FIZKXNCZ.js";import{HoverNextImageSolidIcon as yi}from"./chunk-XGAXRNZS.js";import{HoverNoneMiniIcon as xi}from"./chunk-APLKFBJH.js";import{HoverNoneSolidIcon as vi}from"./chunk-5X4DBMS6.js";import{HoverRotateMiniIcon as qi}from"./chunk-IABSP2GJ.js";import{HelpMiniIcon as zi}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as $i}from"./chunk-Z3ZZ7IKK.js";import{HelpOffSolidIcon as _i}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as rs}from"./chunk-TBRNYDMF.js";import{HexagonMiniIcon as os}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as ms}from"./chunk-OZ2GH2H7.js";import{HomeMiniIcon as ts}from"./chunk-DOA6QPPR.js";import{HomeSolidIcon as cs}from"./chunk-XKTLIGRL.js";import{HashMiniIcon as ns}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as is}from"./chunk-UXPHLHBG.js";import{HeadquartersMiniIcon as ss}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as ps}from"./chunk-2SFKU2B2.js";import{HeartMiniIcon as us}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as hs}from"./chunk-BBY7MNDN.js";import{HeightMiniIcon as ks}from"./chunk-5AQ6KQSD.js";import{HeightSolidIcon as fs}from"./chunk-QTQNZMIC.js";import{GridMiniIcon as es}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as js}from"./chunk-IYZTC7VC.js";import{GroundMiniIcon as as}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as ls}from"./chunk-MFFIF7AB.js";import{HandMiniIcon as ds}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as bs}from"./chunk-6R4YB7K3.js";import{HandThumbUpMiniIcon as Qs}from"./chunk-ITHJW2KQ.js";import{HandThumbUpSolidIcon as Cs}from"./chunk-A5ONCCD3.js";import{GemMiniIcon as Fs}from"./chunk-HPR54EP7.js";import{GemSolidIcon as Ds}from"./chunk-D5CO7TAN.js";import{GiftMiniIcon as Js}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as Ks}from"./chunk-QHY3TU27.js";import{GlobeAltIcon as Ns}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as Rs}from"./chunk-H6ARFO7R.js";import{GlobeSolidIcon as Us}from"./chunk-AV5NET7T.js";import{GridAltIcon as Hs}from"./chunk-CEYIPCMH.js";import{FolderPlusSolidIcon as Ms}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as Ps}from"./chunk-MEUDPC32.js";import{ForwardMiniIcon as Xs}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as Ls}from"./chunk-4E5LJBKT.js";import{FullWidthMiniIcon as Zs}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as Gs}from"./chunk-D46DMMOR.js";import{GapMiniIcon as Ws}from"./chunk-UAB5A3AI.js";import{GapSolidIcon as As}from"./chunk-TBMPFURE.js";import{FlagAltIcon as Ts}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as Es}from"./chunk-I7IJ3CFC.js";import{FlagSolidIcon as gs}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as Bs}from"./chunk-ZEXLGKAK.js";import{FolderMiniIcon as Is}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as Ss}from"./chunk-NU3WUIAM.js";import{FolderOpenSolidIcon as Os}from"./chunk-W2JSPWW2.js";import{FolderPlusMiniIcon as Ys}from"./chunk-2ZIX7XRY.js";import{FaceSmileMiniIcon as Vs}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as ws}from"./chunk-EHE6TM43.js";import{FilterMiniIcon as ys}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as xs}from"./chunk-IDHWRHBE.js";import{FinishMiniIcon as vs}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as qs}from"./chunk-465F75NG.js";import{FireMiniIcon as zs}from"./chunk-XWNYSMBG.js";import{FireSolidIcon as $s}from"./chunk-MHCYAUWZ.js";import{ExternalAlt2Icon as _s}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as rp}from"./chunk-OJFBIBPI.js";import{ExternalMiniIcon as op}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as mp}from"./chunk-Y4YWLKCV.js";import{EyeMiniIcon as tp}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as cp}from"./chunk-GBPUVNSN.js";import{EyeOffSolidIcon as np}from"./chunk-6FC6PZU4.js";import{EyeSolidIcon as ip}from"./chunk-IIDWSVS5.js";import{EntranceSpinMiniIcon as sp}from"./chunk-WPT5DUCQ.js";import{EntranceSpinSolidIcon as pp}from"./chunk-ZILBCVKS.js";import{EraserMiniIcon as up}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as hp}from"./chunk-LXMTX7NE.js";import{ErrorMiniIcon as kp}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as fp}from"./chunk-CT6I7VFU.js";import{ExpandMiniIcon as ep}from"./chunk-YRGKL2JP.js";import{ExpandSolidIcon as jp}from"./chunk-3H25EPZU.js";import{EntranceGlideMiniIcon as ap}from"./chunk-27RPYRRI.js";import{EntranceGlideSolidIcon as lp}from"./chunk-XLWPIUZB.js";import{EntranceRevealMiniIcon as dp}from"./chunk-SZ6J44ZK.js";import{EntranceRevealSolidIcon as bp}from"./chunk-FIW2BUK2.js";import{EntranceRiseMiniIcon as Qp}from"./chunk-6RHKNP2Q.js";import{EntranceRiseSolidIcon as Cp}from"./chunk-VL6SOWP5.js";import{EntranceScaleMiniIcon as Fp}from"./chunk-U77527G3.js";import{EntranceScaleSolidIcon as Dp}from"./chunk-VIWM4GD7.js";import{EnterMiniIcon as Jp}from"./chunk-ALDGSODF.js";import{EnterSolidIcon as Kp}from"./chunk-26LO7XCK.js";import{EntranceBounceMiniIcon as Np}from"./chunk-WBLA7EHW.js";import{EntranceBounceSolidIcon as Rp}from"./chunk-MUNG4VXE.js";import{EntranceFadeMiniIcon as Up}from"./chunk-ASPLTZBH.js";import{EntranceFadeSolidIcon as Hp}from"./chunk-5ZT3FJ2W.js";import{EntranceFlipMiniIcon as Mp}from"./chunk-QIFGQE6V.js";import{EntranceFlipSolidIcon as Pp}from"./chunk-ABQWWMTO.js";import{EditAlt2Icon as Xp}from"./chunk-UOSU63FV.js";import{EditAltIcon as Lp}from"./chunk-W4EHFZ7Z.js";import{EditMiniIcon as Zp}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as Gp}from"./chunk-HPWGEKEJ.js";import{EditSolidIcon as Wp}from"./chunk-IXYWZ667.js";import{EmailAltIcon as Ap}from"./chunk-NYKBG5JF.js";import{EmailMiniIcon as Tp}from"./chunk-CYLOWGUD.js";import{EmailSolidIcon as Ep}from"./chunk-RL7LVMCC.js";import{DragSolidIcon as gp}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as Bp}from"./chunk-6LSFDCSH.js";import{DropSolidIcon as Ip}from"./chunk-BOLX5THX.js";import{DuplicateAltIcon as Sp}from"./chunk-VRXSAWR2.js";import{DuplicateMiniIcon as Op}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as Yp}from"./chunk-OTUO4L3W.js";import{DurationMiniIcon as Vp}from"./chunk-44QWF5X2.js";import{DurationSolidIcon as wp}from"./chunk-PGKNWSSC.js";import{DollarSolidIcon as yp}from"./chunk-KTVER4CP.js";import{DotMiniIcon as xp}from"./chunk-Z4EJ2MNK.js";import{DotSolidIcon as vp}from"./chunk-YN5G6G3E.js";import{DownloadAltIcon as qp}from"./chunk-SOQGJH2H.js";import{DownloadMiniIcon as zp}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as $p}from"./chunk-T6GW556F.js";import{DragAltIcon as _p}from"./chunk-4PYQMQQ6.js";import{DragMiniIcon as ru}from"./chunk-JFKFJPLE.js";import{DocumentCheckSolidIcon as ou}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as mu}from"./chunk-HZSE3AMP.js";import{DocumentMagnifyingGlassMiniIcon as tu}from"./chunk-T6ZWKFPU.js";import{DocumentMagnifyingGlassSolidIcon as cu}from"./chunk-MN74RSSD.js";import{DocumentMiniIcon as nu}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as iu}from"./chunk-TFRIWTDA.js";import{DollarAltIcon as su}from"./chunk-FPFP6LPK.js";import{DollarMiniIcon as pu}from"./chunk-6MHC2ZMP.js";import{DiagramMiniIcon as uu}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as hu}from"./chunk-BOHPJXNM.js";import{DirectionMiniIcon as ku}from"./chunk-CFQZ2UJM.js";import{DirectionSolidIcon as fu}from"./chunk-QKSOCPA2.js";import{DocumentAlt2Icon as eu}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as ju}from"./chunk-VOC5AK66.js";import{DocumentCheckAltIcon as au}from"./chunk-VYDLQ3TB.js";import{DocumentCheckMiniIcon as lu}from"./chunk-RIQGDM3S.js";import{CursorSolidIcon as du}from"./chunk-4UCO62M5.js";import{DateMiniIcon as bu}from"./chunk-QFDGSQQE.js";import{DateSolidIcon as Qu}from"./chunk-7R623GIR.js";import{DesktopAltIcon as Cu}from"./chunk-4X2F4CV3.js";import{DesktopMiniIcon as Fu}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as Du}from"./chunk-MFKHQ5K2.js";import{DetachMiniIcon as Ju}from"./chunk-4YARHVZH.js";import{DetachSolidIcon as Ku}from"./chunk-LV2YFFA6.js";import{CropTopSolidIcon as Nu}from"./chunk-PWONLQFF.js";import{CropYMiniIcon as Ru}from"./chunk-D5EXIRJF.js";import{CropYSolidIcon as Uu}from"./chunk-6NLKMHX6.js";import{CubeTransparentMiniIcon as Hu}from"./chunk-PON7R7AU.js";import{CubeTransparentSolidIcon as Mu}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as Pu}from"./chunk-S6VIYZ2J.js";import{CursorClickSolidIcon as Xu}from"./chunk-BYDXJORJ.js";import{CursorMiniIcon as Lu}from"./chunk-23E6AHJY.js";import{CropLeftRightMiniIcon as Zu}from"./chunk-JTPBPEYK.js";import{CropLeftRightSolidIcon as Gu}from"./chunk-USYTN7PE.js";import{CropLeftSolidIcon as Wu}from"./chunk-2MBDZMZM.js";import{CropMiniIcon as Au}from"./chunk-GKUHMQ4N.js";import{CropRightMiniIcon as Tu}from"./chunk-KIYTUOVN.js";import{CropRightSolidIcon as Eu}from"./chunk-7F65BNHY.js";import{CropSolidIcon as gu}from"./chunk-WNM2AMCR.js";import{CropTopMiniIcon as Bu}from"./chunk-KO5PBMCF.js";import{CopyToPageSolidIcon as Iu}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as Su}from"./chunk-FY2CQ5OZ.js";import{CornerSolidIcon as Ou}from"./chunk-IHFHX3JS.js";import{CountUpMiniIcon as Yu}from"./chunk-RRVBOD2U.js";import{CountUpSolidIcon as Vu}from"./chunk-I5VYOWIX.js";import{CropBottomMiniIcon as wu}from"./chunk-BXDYFSP4.js";import{CropBottomSolidIcon as yu}from"./chunk-QM5DFN7Z.js";import{CropLeftMiniIcon as xu}from"./chunk-RA5GR626.js";import{CopiedSolidIcon as vu}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as qu}from"./chunk-6OVMOQXY.js";import{CopyAltIcon as zu}from"./chunk-76MY6SHR.js";import{CopyMiniIcon as $u}from"./chunk-COL533ZT.js";import{CopySolidIcon as _u}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as rh}from"./chunk-FDF6AGVQ.js";import{CopyStyleSolidIcon as oh}from"./chunk-XLTCCVAS.js";import{CopyToPageMiniIcon as mh}from"./chunk-CUH3B5XK.js";import{CompanySolidIcon as th}from"./chunk-7DVL5EM2.js";import{ComposeMiniIcon as ch}from"./chunk-Q6DH4T7K.js";import{ComposeSolidIcon as nh}from"./chunk-YPAX3OVJ.js";import{ContinueListMiniIcon as ih}from"./chunk-QQYCZUHI.js";import{ContinueListSolidIcon as sh}from"./chunk-7LG36CPT.js";import{ContrastMiniIcon as ph}from"./chunk-VZEQGTG6.js";import{ContrastSolidIcon as uh}from"./chunk-GVMMJWNK.js";import{CopiedMiniIcon as hh}from"./chunk-FVZBMQQG.js";import{CollapseSolidIcon as kh}from"./chunk-MFZS4XH4.js";import{ColumnGapMiniIcon as fh}from"./chunk-EBH2ETZL.js";import{ColumnGapSolidIcon as eh}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as jh}from"./chunk-7CQR2P4D.js";import{ColumnWidthsSolidIcon as ah}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as lh}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as dh}from"./chunk-VEPD5TDQ.js";import{CompanyMiniIcon as bh}from"./chunk-BXRX5WJC.js";import{CloudPauseMiniIcon as Qh}from"./chunk-SIILHHPE.js";import{CloudPauseSolidIcon as Ch}from"./chunk-5KQTZ4UE.js";import{CloudSlashMiniIcon as Fh}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as Dh}from"./chunk-IDA6A4QV.js";import{CloudSolidIcon as Jh}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as Kh}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as Nh}from"./chunk-QF2QYWLO.js";import{CollapseMiniIcon as Rh}from"./chunk-KMGORP5N.js";import{CloudAlertSolidIcon as Uh}from"./chunk-FWNFAW7P.js";import{CloudArrowUpMiniIcon as Hh}from"./chunk-6RY7OKVQ.js";import{CloudArrowUpSolidIcon as Mh}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as Ph}from"./chunk-ZV4FB43H.js";import{CloudCheckSolidIcon as Xh}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as Lh}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as Zh}from"./chunk-5ATA7ZH4.js";import{CloudMiniIcon as Gh}from"./chunk-OZ7YWV63.js";import{ClockMiniIcon as Wh}from"./chunk-J4FL4OCW.js";import{ClockSolidIcon as Ah}from"./chunk-DORDAZGF.js";import{CloseCircleAltIcon as Th}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as Eh}from"./chunk-6AKTE47Z.js";import{CloseCircleSolidIcon as gh}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as Bh}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as Ih}from"./chunk-AHVWJJCK.js";import{CloudAlertMiniIcon as Sh}from"./chunk-BXS2D2KK.js";import{CircleStackMiniIcon as Oh}from"./chunk-AD7JPCLJ.js";import{CircleStackSolidIcon as Yh}from"./chunk-OSFWNBI3.js";import{ClearMarksMiniIcon as Vh}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as wh}from"./chunk-S4WC23JS.js";import{ClipboardDocumentListMiniIcon as yh}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as xh}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as vh}from"./chunk-IUUJEV6I.js";import{ClipboardSolidIcon as qh}from"./chunk-XS4PWQSN.js";import{ChevronLeftMiniIcon as zh}from"./chunk-EFP2VLXY.js";import{ChevronLeftSolidIcon as $h}from"./chunk-53JU3XAC.js";import{ChevronRightMiniIcon as _h}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as rk}from"./chunk-PZVDRXTL.js";import{ChevronUpDownMiniIcon as ok}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as mk}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as tk}from"./chunk-R7F2DMKZ.js";import{ChevronUpSolidIcon as ck}from"./chunk-UGUQC2CY.js";import{CheckboxMiniIcon as nk}from"./chunk-NBDXKLRS.js";import{CheckboxSolidIcon as ik}from"./chunk-MP32KR6I.js";import{ChevronDoubleLeftMiniIcon as sk}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as pk}from"./chunk-ESYW3ZJ3.js";import{ChevronDoubleRightMiniIcon as uk}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as hk}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as kk}from"./chunk-LRWOR3LD.js";import{ChevronDownSolidIcon as fk}from"./chunk-5YPYINMS.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as ek}from"./chunk-5ONLEJND.js";import{ChatMiniIcon as jk}from"./chunk-TZALPJLH.js";import{ChatSolidIcon as ak}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as lk}from"./chunk-66B4UUBJ.js";import{CheckCircleMiniIcon as dk}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as bk}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Qk}from"./chunk-PZVZQAT7.js";import{CheckSolidIcon as Ck}from"./chunk-CL3TM57T.js";import{ChartLineMiniIcon as Fk}from"./chunk-3AOH4Y5Q.js";import{ChartLineSolidIcon as Dk}from"./chunk-H4D64QWB.js";import{ChartMiniIcon as Jk}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as Kk}from"./chunk-WSGRNF7K.js";import{ChatAltIcon as Nk}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as Rk}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as Uk}from"./chunk-FJCROBEY.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as Hk}from"./chunk-WKQDQ6PX.js";import{CaseNormalSolidIcon as Mk}from"./chunk-EWO3CHRK.js";import{CaseSolidIcon as Pk}from"./chunk-AJS6MGSR.js";import{CaseUpperMiniIcon as Xk}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as Lk}from"./chunk-C6PK7DPK.js";import{ChartBarMiniIcon as Zk}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as Gk}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as Wk}from"./chunk-O4VLKJH6.js";import{ChartBarSquareSolidIcon as Ak}from"./chunk-WMHMEL4M.js";import{CartMiniIcon as Tk}from"./chunk-SQ3LMAD7.js";import{CartSolidIcon as Ek}from"./chunk-5OB5G4ER.js";import{CaseCapitalizedMiniIcon as gk}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as Bk}from"./chunk-COBVYQJ5.js";import{CaseLowerMiniIcon as Ik}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as Sk}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as Ok}from"./chunk-7NYUPAF2.js";import{CaseNormalMiniIcon as Yk}from"./chunk-K553VJKG.js";import{CaptionSolidIcon as Vk}from"./chunk-625GKS5W.js";import{CarMiniIcon as wk}from"./chunk-HZWDLCON.js";import{CarSolidIcon as yk}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as xk}from"./chunk-2ASZVLNP.js";import{CardPaymentAltIcon as vk}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as qk}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as zk}from"./chunk-VEWTFCLT.js";import{CartAltIcon as $k}from"./chunk-EBIWBHDT.js";import{CalculatorSolidIcon as _k}from"./chunk-VCJ4TFNW.js";import{CalendarAlt2Icon as rf}from"./chunk-7C6NKEWV.js";import{CalendarAltIcon as of}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as mf}from"./chunk-KCE2CIH7.js";import{CalendarSolidIcon as tf}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as cf}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as nf}from"./chunk-CLKX4AYI.js";import{CaptionMiniIcon as sf}from"./chunk-QAQ7AWOR.js";import{BuildingLibrarySolidIcon as pf}from"./chunk-Z2AQ3XB3.js";import{BuildingOffice2MiniIcon as uf}from"./chunk-TC7LOFWX.js";import{BuildingOffice2SolidIcon as hf}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as kf}from"./chunk-JT54HCG7.js";import{ButtonIconSolidIcon as ff}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as ef}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as jf}from"./chunk-BQGZ5XPF.js";import{CalculatorMiniIcon as af}from"./chunk-A53BUHOH.js";import{BrandYoutubeSolidIcon as lf}from"./chunk-UKC6VJE4.js";import{BreadcrumbMiniIcon as df}from"./chunk-SDECOPY3.js";import{BreadcrumbSolidIcon as bf}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Qf}from"./chunk-IRZBGVTB.js";import{BriefcaseSolidIcon as Cf}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as Ff}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as Df}from"./chunk-YVLE5OZR.js";import{BuildingLibraryMiniIcon as Jf}from"./chunk-TH4CJHHG.js";import{BrandTiktokSolidIcon as Kf}from"./chunk-W5DLG5T2.js";import{BrandWechatOutlineIcon as Nf}from"./chunk-YKKMR5DU.js";import{BrandWechatSolidIcon as Rf}from"./chunk-474G67EG.js";import{BrandWhatsappOutlineIcon as Uf}from"./chunk-NFMDU4EJ.js";import{BrandWhatsappSolidIcon as Hf}from"./chunk-URWQO4KB.js";import{BrandXOutlineIcon as Mf}from"./chunk-2UCDJCGZ.js";import{BrandXSolidIcon as Pf}from"./chunk-FEVWWOGL.js";import{BrandYoutubeOutlineIcon as Xf}from"./chunk-RBXMTHOT.js";import{BrandLineSolidIcon as Lf}from"./chunk-CAUWHLN7.js";import{BrandLinkedinOutlineIcon as Zf}from"./chunk-6I7EODFJ.js";import{BrandLinkedinSolidIcon as Gf}from"./chunk-BXQYRG7P.js";import{BrandPinterestOutlineIcon as Wf}from"./chunk-ROUTBYMG.js";import{BrandPinterestSolidIcon as Af}from"./chunk-FOXMWLVS.js";import{BrandTelegramOutlineIcon as Tf}from"./chunk-YVULGIDQ.js";import{BrandTelegramSolidIcon as Ef}from"./chunk-NTWI7EGJ.js";import{BrandTiktokOutlineIcon as gf}from"./chunk-T3NJAOJL.js";import{BoxYStretchSolidIcon as Bf}from"./chunk-3FGPFDDK.js";import{BracesMiniIcon as If}from"./chunk-G5T4NYFR.js";import{BracesSolidIcon as Sf}from"./chunk-AHTA7QXO.js";import{BrandFacebookOutlineIcon as Of}from"./chunk-5KZ4WKUI.js";import{BrandFacebookSolidIcon as Yf}from"./chunk-OKRAYHGW.js";import{BrandInstagramOutlineIcon as Vf}from"./chunk-MTZUYC4Y.js";import{BrandInstagramSolidIcon as wf}from"./chunk-LQD7K7HK.js";import{BrandLineOutlineIcon as yf}from"./chunk-EQPVQY5E.js";import{BoxYBetweenSolidIcon as xf}from"./chunk-UO6GQPT3.js";import{BoxYCenterMiniIcon as vf}from"./chunk-JNSMBHNH.js";import{BoxYCenterSolidIcon as qf}from"./chunk-W33HIHEP.js";import{BoxYEndMiniIcon as zf}from"./chunk-IS6FC32P.js";import{BoxYEndSolidIcon as $f}from"./chunk-H62WUDPO.js";import{BoxYStartMiniIcon as _f}from"./chunk-TSP7UFQB.js";import{BoxYStartSolidIcon as re}from"./chunk-6LNNBA3T.js";import{BoxYStretchMiniIcon as oe}from"./chunk-TQ2M7V4E.js";import{BoxXCenterSolidIcon as me}from"./chunk-HFAOJ4OJ.js";import{BoxXEndMiniIcon as te}from"./chunk-K5VNHEVL.js";import{BoxXEndSolidIcon as ce}from"./chunk-FMHHOXML.js";import{BoxXStartMiniIcon as ne}from"./chunk-NQJL6B67.js";import{BoxXStartSolidIcon as ie}from"./chunk-T2FITGKQ.js";import{BoxXStretchMiniIcon as se}from"./chunk-GFYIVFX2.js";import{BoxXStretchSolidIcon as pe}from"./chunk-NLUSV66Z.js";import{BoxYBetweenMiniIcon as ue}from"./chunk-NO6DG2IV.js";import{BorderTopSolidIcon as he}from"./chunk-G3OIMKEO.js";import{BoxItemAlignmentMiniIcon as ke}from"./chunk-O3UL2XW5.js";import{BoxItemAlignmentSolidIcon as fe}from"./chunk-E5G2RURY.js";import{BoxJustifyMiniIcon as ee}from"./chunk-QRTRKWCZ.js";import{BoxJustifySolidIcon as je}from"./chunk-S5IAQ7ZS.js";import{BoxXBetweenMiniIcon as ae}from"./chunk-ESDSE6HY.js";import{BoxXBetweenSolidIcon as le}from"./chunk-6CBF7UQ2.js";import{BoxXCenterMiniIcon as de}from"./chunk-GZ7XQBCG.js";import{BorderAllSolidIcon as be}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as Qe}from"./chunk-UNETPVQD.js";import{BorderBottomSolidIcon as Ce}from"./chunk-EQJFKRK5.js";import{BorderLeftMiniIcon as Fe}from"./chunk-GWXTRUSZ.js";import{BorderLeftSolidIcon as De}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as Je}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as Ke}from"./chunk-U7Y6VI2V.js";import{BorderTopMiniIcon as Ne}from"./chunk-SJ23KTCO.js";import{BoltSolidIcon as Re}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as Ue}from"./chunk-MDEYAVX5.js";import{BookOpenSolidIcon as He}from"./chunk-KNIHHEZ6.js";import{BookmarkMiniIcon as Me}from"./chunk-PJZ4TOFR.js";import{BookmarkSolidIcon as Pe}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as Xe}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as Le}from"./chunk-ERKFGC5C.js";import{BorderAllMiniIcon as Ze}from"./chunk-QKEJNJSJ.js";import{BlockTextSolidIcon as Ge}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as We}from"./chunk-ZMYTKXYP.js";import{BlockVideoSolidIcon as Ae}from"./chunk-X6IMHWDH.js";import{BlogPostMiniIcon as Te}from"./chunk-D2VXCCQV.js";import{BlogPostSolidIcon as Ee}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as ge}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as Be}from"./chunk-JTECQPFZ.js";import{BoltMiniIcon as Ie}from"./chunk-WD2PAOXY.js";import{BlockLayeredImagesSolidIcon as Se}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as Oe}from"./chunk-5C56H7RM.js";import{BlockProductTitleSolidIcon as Ye}from"./chunk-VK4OK5MQ.js";import{BlockSectionMiniIcon as Ve}from"./chunk-OONUEZIW.js";import{BlockSectionSolidIcon as we}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as ye}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as xe}from"./chunk-K6ZY2PQV.js";import{BlockTextMiniIcon as ve}from"./chunk-7YJ6QRFY.js";import{BlockCouponSolidIcon as qe}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as ze}from"./chunk-ZMON54V2.js";import{BlockDividerSolidIcon as $e}from"./chunk-6PAEECEY.js";import{BlockFooterMiniIcon as _e}from"./chunk-7WLRGQU2.js";import{BlockFooterSolidIcon as rj}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as oj}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as mj}from"./chunk-6OPE4Z6S.js";import{BlockLayeredImagesMiniIcon as tj}from"./chunk-G2KSTEIR.js";import{BlackAndWhiteSolidIcon as cj}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as nj}from"./chunk-TNM6UGRR.js";import{BlockBadgeSolidIcon as ij}from"./chunk-CDXABHGL.js";import{BlockBannerMiniIcon as sj}from"./chunk-H2FH3U4E.js";import{BlockBannerSolidIcon as pj}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as uj}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as hj}from"./chunk-3RVAJR6Y.js";import{BlockCouponMiniIcon as kj}from"./chunk-JZEQTZRG.js";import{BellAltIcon as fj}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as ej}from"./chunk-VZSPQOIL.js";import{BellPlusMiniIcon as jj}from"./chunk-7FKABCZX.js";import{BellPlusSolidIcon as aj}from"./chunk-TNMTBNFE.js";import{BellSolidIcon as lj}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as dj}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as bj}from"./chunk-GIDCFJFJ.js";import{BlackAndWhiteMiniIcon as Qj}from"./chunk-LHKI2VJW.js";import{Bars3BottomLeftMiniIcon as Cj}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as Fj}from"./chunk-UO5KVL7C.js";import{BatteryMiniIcon as Dj}from"./chunk-M4PBEZVP.js";import{BatterySolidIcon as Jj}from"./chunk-L2NH35JL.js";import{BeakerMiniIcon as Kj}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as Nj}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as Rj}from"./chunk-YS5B33PA.js";import{BellAlertSolidIcon as Uj}from"./chunk-NQ74ZNNG.js";import{AtSymbolSolidIcon as Hj}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as Mj}from"./chunk-7AUFUC7S.js";import{AttachMiniIcon as Pj}from"./chunk-3ZCQPEQB.js";import{AttachSolidIcon as Xj}from"./chunk-F3HV52IQ.js";import{BackgroundMiniIcon as Lj}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as Zj}from"./chunk-E25DJCZX.js";import{BagMiniIcon as Gj}from"./chunk-3UXCHN2Y.js";import{BagSolidIcon as Wj}from"./chunk-B64SQUAI.js";import{ArrowTrendingDownSolidIcon as Aj}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as Tj}from"./chunk-C7PJ2BFZ.js";import{ArrowTrendingUpSolidIcon as Ej}from"./chunk-WRVHXP72.js";import{ArrowUpMiniIcon as gj}from"./chunk-NPMGJBVE.js";import{ArrowUpRightMiniIcon as Bj}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as Ij}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as Sj}from"./chunk-OOXD67PN.js";import{AtSymbolMiniIcon as Oj}from"./chunk-MM4WJHXO.js";import{ArrowLeftEndOnRectangleSolidIcon as Yj}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as Vj}from"./chunk-XK2TKHHU.js";import{ArrowLeftSolidIcon as wj}from"./chunk-XQFFEQNA.js";import{ArrowLongRightMiniIcon as yj}from"./chunk-WDNMERJD.js";import{ArrowLongRightSolidIcon as xj}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as vj}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as qj}from"./chunk-QEXKJWAA.js";import{ArrowTrendingDownMiniIcon as zj}from"./chunk-IW3H2NIS.js";import{AnimationSolidIcon as $j}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as _j}from"./chunk-C5FRN2MO.js";import{AppsSolidIcon as ra}from"./chunk-KKBQRMEQ.js";import{ArchiveBoxMiniIcon as oa}from"./chunk-CVWRL3SR.js";import{ArchiveBoxSolidIcon as ma}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as ta}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as ca}from"./chunk-BUA6AISP.js";import{ArrowLeftEndOnRectangleMiniIcon as na}from"./chunk-6SGFZZNU.js";import{AlignRightSolidIcon as ia}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as sa}from"./chunk-LSSZLU65.js";import{AlignSeparateSolidIcon as pa}from"./chunk-MKS6YLYR.js";import{AlignmentMiniIcon as ua}from"./chunk-GCR66E4S.js";import{AlignmentSolidIcon as ha}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as ka}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as fa}from"./chunk-SRX7THEC.js";import{AnimationMiniIcon as ea}from"./chunk-4ZI75XUP.js";import{AdjustSolidIcon as ja}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as aa}from"./chunk-CJWPYYJZ.js";import{AlignCenterSolidIcon as la}from"./chunk-7U6KJNZ2.js";import{AlignJustifyMiniIcon as da}from"./chunk-UI2XKCNM.js";import{AlignJustifySolidIcon as ba}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as Qa}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as Ca}from"./chunk-UBS44QNF.js";import{AlignRightMiniIcon as Fa}from"./chunk-JHTRFNOJ.js";import{AccountUserCircleIcon as Da}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as Ja}from"./chunk-DFAIY54I.js";import{AddCircleSolidIcon as Ka}from"./chunk-DTLKYF45.js";import{AddMiniIcon as Na}from"./chunk-PMAX5YW2.js";import{AddPersonMiniIcon as Ra}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as Ua}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as Ha}from"./chunk-SSYXGVCW.js";import{AdjustMiniIcon as Ma}from"./chunk-MUUIDQKX.js";import{AccentSolidIcon as Pa}from"./chunk-ZTN72H54.js";import{AccordionMiniIcon as Xa}from"./chunk-ASM2VLQ2.js";import{AccordionSolidIcon as La}from"./chunk-I2DIQQOR.js";import{AccountAltIcon as Za}from"./chunk-EYBN5UBA.js";import{AccountCircleMiniIcon as Ga}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as Wa}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as Aa}from"./chunk-VHGJTJ5C.js";import{AccountSolidIcon as Ta}from"./chunk-LMF4FIGQ.js";import{AcademicCapMiniIcon as Ea}from"./chunk-JSGNZTYP.js";import{AcademicCapSolidIcon as ga}from"./chunk-4XM7JDQT.js";import{AccentMiniIcon as Ba}from"./chunk-FA6U6ZML.js";var Ia=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","outline","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],Sa={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:Za,attach:Mj,bell:fj,"block-image":Zi,"block-included-list":Tn,calendar:of,"calendar-check":of,"card-payment":vk,cart:$k,category:Bs,chat:Nk,check:lk,"close-circle":Th,copy:zu,dashboard:Hs,desktop:Cu,document:ju,"document-check":au,dollar:su,download:qp,drag:_p,duplicate:Sp,edit:Lp,email:Ap,external:rp,flag:Ts,folder:Bs,globe:Ns,grid:Hs,image:Zi,inbox:Ki,info:ki,layers:bi,layout:ii,list:Tn,lock:Xn,map:hn,page:rc,"paint-brush":Lr,phone:Ht,play:Wt,"rectangle-group":ii,refresh:Sm,rename:Lp,scale:Rm,"scroll-text":ju,search:jm,send:cm,sort:po,sparkles:eo,star:wr,styles:Lr,tag:dr,target:Cr,title:Ts,trash:Y,truck:y,wheel:Cr},"alt-2":{"block-included-list":Wn,calendar:rf,"calendar-check":rf,"card-payment":xk,copy:qu,document:eu,edit:Xp,external:_s,list:Wn,rename:Xp,"scroll-text":eu,search:em,send:tm,sparkles:ko,trash:O},"alt-3":{"block-included-list":An,list:An,sparkles:fo},"arrow-path-rounded-square":{refresh:Om},"building-storefront-20-solid":{store:Or},document:{document:mu,"scroll-text":mu},mini:{"academic-cap":Ea,accent:Ba,accordion:Xa,account:Aa,"account-circle":Ga,add:Na,"add-circle":Ja,"add-person":Ra,adjust:Ma,"align-center":aa,"align-justify":da,"align-left":Qa,"align-right":Fa,"align-separate":sa,alignment:ua,anchor:ka,animation:ea,apps:_j,"archive-box":oa,arrow:vj,"arrow-down":ta,"arrow-left":Vj,"arrow-left-end-on-rectangle":na,"arrow-long-right":yj,"arrow-right":vj,"arrow-trending-down":zj,"arrow-trending-up":Tj,"arrow-up":gj,"arrow-up-right":Bj,"at-symbol":Oj,attach:Pj,background:Lj,bag:Gj,bank:Jf,"bars-3-bottom-left":Cj,battery:Dj,beaker:Kj,bell:ej,"bell-alert":Rj,"bell-plus":jj,billing:dj,"black-and-white":Qj,"block-badge":nj,"block-banner":sj,"block-box":uj,"block-button":ef,"block-column":lh,"block-coupon":kj,"block-divider":ze,"block-footer":_e,"block-heading":oj,"block-image":Gi,"block-included-list":Bn,"block-layered-images":tj,"block-product":lt,"block-product-title":Oe,"block-section":Ve,"block-social":Oo,"block-spacer":ye,"block-text":ve,"block-video":We,"blog-post":Te,bold:ge,bolt:Ie,"book-open":Ue,bookmark:Me,"bookmark-square":Xe,"border-all":Ze,"border-bottom":Qe,"border-left":Fe,"border-right":Je,"border-top":Ne,"box-item-alignment":ke,"box-justify":ee,"box-x-between":ae,"box-x-center":de,"box-x-end":te,"box-x-start":ne,"box-x-stretch":se,"box-y-between":ue,"box-y-center":vf,"box-y-end":zf,"box-y-start":_f,"box-y-stretch":oe,braces:If,breadcrumb:df,briefcase:Qf,bug:Ff,"bug-ant":Ff,"building-library":Jf,"building-office-2":uf,button:ef,"button-arrow":vj,"button-icon":kf,calculator:af,calendar:mf,"calendar-check":mf,camera:cf,caption:sf,car:wk,"card-payment":qk,caret:kk,cart:Tk,case:Ok,"case-capitalized":gk,"case-lower":Ik,"case-normal":Yk,"case-upper":Xk,category:Is,chart:Jk,"chart-bar":Zk,"chart-bar-square":Wk,"chart-line":Fk,chat:jk,"chat-bubble-left-right":Rk,"chat-bubble-oval-left-ellipsis":Hk,check:Qk,"check-circle":dk,checkbox:nk,chevron:kk,"chevron-double":uk,"chevron-double-left":sk,"chevron-double-right":uk,"chevron-down":kk,"chevron-left":zh,"chevron-right":_h,"chevron-up":tk,"chevron-up-down":ok,"circle-stack":Oh,"clear-marks":Vh,clipboard:vh,"clipboard-check":hh,"clipboard-document-list":yh,"clipboard-list":yh,clock:Wh,close:Bh,"close-circle":Eh,cloud:Gh,"cloud-alert":Sh,"cloud-arrow-up":Hh,"cloud-check":Ph,"cloud-download":Lh,"cloud-pause":Qh,"cloud-slash":Fh,code:Kh,"code-bracket":Kh,collapse:Rh,"collapse-all":Rh,"column-gap":fh,"column-widths":jh,columns:lh,company:bh,compose:ch,"continue-list":ih,contrast:ph,cookie:Oh,copied:hh,copy:$u,"copy-style":rh,"copy-to-page":mh,corner:Su,"count-up":Yu,crop:Au,"crop-bottom":wu,"crop-left":xu,"crop-left-right":Zu,"crop-right":Tu,"crop-top":Bu,"crop-y":Ru,"cube-transparent":Hu,cursor:Lu,"cursor-arrow-rays":Pu,"cursor-click":Pu,dashboard:es,date:bu,desktop:Fu,detach:Ju,diagram:uu,direction:ku,"direction-down":ta,"direction-left":Vj,"direction-right":vj,"direction-up":gj,document:nu,"document-check":lu,"document-magnifying-glass":tu,dollar:pu,dot:xp,download:zp,drag:ru,drop:Bp,duplicate:Op,duration:Vp,edit:Zp,email:Tp,enter:Jp,"entrance-bounce":Np,"entrance-fade":Up,"entrance-flip":Mp,"entrance-glide":ap,"entrance-reveal":dp,"entrance-rise":Qp,"entrance-scale":Fp,"entrance-spin":sp,eraser:up,error:kp,expand:ep,external:op,eye:tp,"eye-off":cp,"face-smile":Vs,filter:ys,finish:vs,fire:zs,flag:Es,folder:Is,"folder-open":Ss,"folder-plus":Ys,forward:Xs,"full-width":Zs,gap:Ws,gem:Fs,gift:Js,globe:Rs,grid:es,ground:as,hand:ds,"hand-thumb-up":Qs,hash:ns,headquarters:ss,heart:us,height:ks,help:zi,"help-off":$i,hexagon:os,home:ts,hover:Vi,"hover-lift":Oi,"hover-next-image":wi,"hover-none":xi,"hover-rotate":qi,"hover-zoom":Ti,"icon-above-text":gi,"icon-after-text":Ii,"icon-at-end":Ui,"icon-before-text":Mi,identification:Xi,image:Gi,"image-off":Qi,images:Di,inbox:Ni,info:fi,italic:ji,key:li,layers:ti,layout:si,"letter-spacing":ui,lightbulb:vn,"line-between":zn,"line-dashed":_n,"line-dotted":oi,"line-solid":In,"line-spacing":On,"line-style":Vn,link:yn,"link-slash":xn,list:Bn,"list-format":En,"list-none":Nn,location:Mn,lock:Ln,logo:bn,logout:Cn,loop:Kn,"loop-marquee":Dn,map:kn,media:cn,"media-layout-big-two":en,"media-layout-inset":an,"media-layout-side-by-side":rn,"media-layout-stacked":mn,megaphone:sn,menu:wc,meta:xc,microphone:qc,money:$c,moon:Ec,more:Bc,"more-vertical":Sc,"move-down":ta,"move-up":gj,newspaper:Te,"no-symbol":Yc,note:Pc,nudge:Lc,"nudge-x":Gc,"nudge-y":Ac,"numbered-list":Dc,opacity:Kc,"own-text":Rc,package:Hc,"package-open":Mc,"padding-all":lc,"padding-bottom":bc,"padding-left":Cc,"padding-left-right":Fc,"padding-right":pc,"padding-top":hc,"padding-x":fc,"padding-y":$t,page:oc,"paint-brush":Zr,palette:tc,"panel-left":nc,"panel-right":Vt,"paragraph-spacing":yt,parcel:Hc,paste:vh,"paste-style":vt,pause:zt,pen:Tt,people:gt,percent:St,phone:Xt,"phone-hidden":Mt,placement:Zt,play:Ct,"plus-minus":Dt,power:Kt,"presentation-chart-bar":Rt,print:ft,product:lt,"product-field":jt,"product-size":dt,progress:ct,quote:it,"radio-dot":pt,radius:ht,receipt:qm,"receipt-percent":zm,"receipt-refund":_m,"rectangle-group":si,redo:mt,refresh:Ym,remove:wm,"remove-circle":wm,rename:Zp,reply:Gm,"reply-all":xm,revert:Am,robot:Em,rotate:Bm,scale:Um,"scroll-fade-in":Mm,"scroll-fade-out":Xm,"scroll-move-down":Zm,"scroll-move-up":Qm,"scroll-parallax":Fm,"scroll-point":Jm,"scroll-text":nu,"scroll-zoom-in":Nm,"scroll-zoom-out":km,search:am,"select-all":dm,send:nm,"separator-slash":sm,"separator-triangle":um,server:vo,settings:zo,shadow:_o,"shape-ellipse":om,"shape-rect":Io,share:Oo,shared:Vo,"shield-check":yo,"shield-exclamation":Zo,"sides-each":Wo,signal:To,"signal-slash":Eo,sitemap:No,"slide-arrows-bare":_h,"slide-arrows-round":Uo,"slide-arrows-square":Mo,"slide-picker-bar":Xo,"slide-picker-cards":lo,"slide-picker-dots":Qo,"slide-picker-numbers":Fo,"slide-picker-squares":Jo,sort:uo,sparkles:jo,speaker:ro,"speaker-wave":ro,"spec-table":mo,split:co,square:io,star:yr,state:vr,"status-circle":zr,"status-dot":Tr,sticky:gr,"stop-circle":Ir,store:Yr,strike:Pr,styles:Zr,subscript:Wr,"success-burst":L,sun:Fr,superscript:Jr,swap:Nr,swatch:vs,table:Ur,tablet:er,tabs:ar,tag:br,target:nr,team:sr,telephone:ur,template:Me,"text-color":kr,"text-lines":Cj,"text-size":z,"text-small":_,"text-value":or,texture:tr,theme:vs,ticket:kj,title:Es,trash:V,trigger:Ie,truck:x,tv:q,type:A,tyre:E,underline:B,undo:S,upload:H,"v-align":P,verified:L,"video-off":G,"view-columns":C,wallet:D,warning:K,weight:R,wheel:nr,widgets:f,width:j,window:l,windows:b,"words-from":c,wrap:i,wrench:p,"wrench-screwdriver":u,"zoom-in":o},outline:{"brand-facebook":Of,"brand-instagram":Vf,"brand-line":yf,"brand-linkedin":Zf,"brand-pinterest":Wf,"brand-telegram":Tf,"brand-tiktok":gf,"brand-wechat":Nf,"brand-whatsapp":Uf,"brand-x":Mf,"brand-youtube":Xf},"pencil-square":{edit:Gp,rename:Gp},"queue-list":{"block-included-list":Un,list:Un},"rectangle-stack":{layers:ci},solid:{"academic-cap":ga,accent:Pa,accordion:La,account:Ta,"account-circle":Wa,add:Ha,"add-circle":Ka,"add-person":Ua,adjust:ja,"align-center":la,"align-justify":ba,"align-left":Ca,"align-right":ia,"align-separate":pa,alignment:ha,anchor:fa,animation:$j,apps:ra,"archive-box":ma,arrow:qj,"arrow-down":ca,"arrow-left":wj,"arrow-left-end-on-rectangle":Yj,"arrow-long-right":xj,"arrow-right":qj,"arrow-trending-down":Aj,"arrow-trending-up":Ej,"arrow-up":Sj,"arrow-up-right":Ij,"at-symbol":Hj,attach:Xj,background:Zj,bag:Wj,bank:pf,"bars-3-bottom-left":Fj,battery:Jj,beaker:Nj,bell:lj,"bell-alert":Uj,"bell-plus":aj,billing:bj,"black-and-white":cj,"block-badge":ij,"block-banner":pj,"block-box":hj,"block-button":jf,"block-column":dh,"block-coupon":qe,"block-divider":$e,"block-footer":rj,"block-heading":mj,"block-image":Fi,"block-included-list":Hn,"block-layered-images":Se,"block-product":Qt,"block-product-title":Ye,"block-section":we,"block-social":Yo,"block-spacer":xe,"block-text":Ge,"block-video":Ae,"blog-post":Ee,bold:Be,bolt:Re,"book-open":He,bookmark:Pe,"bookmark-square":Le,"border-all":be,"border-bottom":Ce,"border-left":De,"border-right":Ke,"border-top":he,"box-item-alignment":fe,"box-justify":je,"box-x-between":le,"box-x-center":me,"box-x-end":ce,"box-x-start":ie,"box-x-stretch":pe,"box-y-between":xf,"box-y-center":qf,"box-y-end":$f,"box-y-start":re,"box-y-stretch":Bf,braces:Sf,breadcrumb:bf,briefcase:Cf,bug:Df,"bug-ant":Df,"building-library":pf,"building-office-2":hf,button:jf,"button-arrow":qj,"button-icon":ff,calculator:_k,calendar:tf,"calendar-check":tf,camera:nf,caption:Vk,car:yk,"card-payment":zk,caret:fk,cart:Ek,case:Pk,"case-capitalized":Bk,"case-lower":Sk,"case-normal":Mk,"case-upper":Lk,category:Ps,chart:Kk,"chart-bar":Gk,"chart-bar-square":Ak,"chart-line":Dk,chat:ak,"chat-bubble-left-right":Uk,"chat-bubble-oval-left-ellipsis":ek,check:Ck,"check-circle":bk,checkbox:ik,chevron:fk,"chevron-double":hk,"chevron-double-left":pk,"chevron-double-right":hk,"chevron-down":fk,"chevron-left":$h,"chevron-right":rk,"chevron-up":ck,"chevron-up-down":mk,"circle-stack":Yh,"clear-marks":wh,clipboard:qh,"clipboard-check":vu,"clipboard-document-list":xh,"clipboard-list":xh,clock:Ah,close:Ih,"close-circle":gh,cloud:Jh,"cloud-alert":Uh,"cloud-arrow-up":Mh,"cloud-check":Xh,"cloud-download":Zh,"cloud-pause":Ch,"cloud-slash":Dh,code:Nh,"code-bracket":Nh,collapse:kh,"collapse-all":kh,"column-gap":eh,"column-widths":ah,columns:dh,company:th,compose:nh,"continue-list":sh,contrast:uh,cookie:Yh,copied:vu,copy:_u,"copy-style":oh,"copy-to-page":Iu,corner:Ou,"count-up":Vu,crop:gu,"crop-bottom":yu,"crop-left":Wu,"crop-left-right":Gu,"crop-right":Eu,"crop-top":Nu,"crop-y":Uu,"cube-transparent":Mu,cursor:du,"cursor-arrow-rays":Xu,"cursor-click":Xu,dashboard:js,date:Qu,desktop:Du,detach:Ku,diagram:hu,direction:fu,"direction-down":ca,"direction-left":wj,"direction-right":qj,"direction-up":Sj,document:iu,"document-check":ou,"document-magnifying-glass":cu,dollar:yp,dot:vp,download:$p,drag:gp,drop:Ip,duplicate:Yp,duration:wp,edit:Wp,email:Ep,enter:Kp,"entrance-bounce":Rp,"entrance-fade":Hp,"entrance-flip":Pp,"entrance-glide":lp,"entrance-reveal":bp,"entrance-rise":Cp,"entrance-scale":Dp,"entrance-spin":pp,eraser:hp,error:fp,expand:jp,external:mp,eye:ip,"eye-off":np,"face-smile":ws,filter:xs,finish:qs,fire:$s,flag:gs,folder:Ps,"folder-open":Os,"folder-plus":Ms,forward:Ls,"full-width":Gs,gap:As,gem:Ds,gift:Ks,globe:Us,grid:js,ground:ls,hand:bs,"hand-thumb-up":Cs,hash:is,headquarters:ps,heart:hs,height:fs,help:rs,"help-off":_i,hexagon:ms,home:cs,hover:Ai,"hover-lift":Yi,"hover-next-image":yi,"hover-none":vi,"hover-rotate":Wi,"hover-zoom":Ei,"icon-above-text":Bi,"icon-after-text":Si,"icon-at-end":Hi,"icon-before-text":Pi,identification:Li,image:Fi,"image-off":Ci,images:Ji,inbox:Ri,info:ei,italic:ai,key:di,layers:ni,layout:pi,"letter-spacing":hi,lightbulb:qn,"line-between":$n,"line-dashed":ri,"line-dotted":mi,"line-solid":Sn,"line-spacing":Yn,"line-style":wn,link:Gn,"link-slash":Zn,list:Hn,"list-format":gn,"list-none":Rn,location:Pn,lock:dn,logo:Qn,logout:Fn,loop:un,"loop-marquee":Jn,map:fn,media:nn,"media-layout-big-two":jn,"media-layout-inset":ln,"media-layout-side-by-side":on,"media-layout-stacked":tn,megaphone:pn,menu:yc,meta:vc,microphone:zc,money:_c,moon:gc,more:Ic,"more-vertical":Oc,"move-down":ca,"move-up":Sj,newspaper:Ee,"no-symbol":Vc,note:Xc,nudge:Zc,"nudge-x":Wc,"nudge-y":Tc,"numbered-list":Jc,opacity:Nc,"own-text":Uc,package:ac,"package-open":jc,"padding-all":dc,"padding-bottom":Qc,"padding-left":sc,"padding-left-right":ic,"padding-right":uc,"padding-top":kc,"padding-x":ec,"padding-y":_t,page:mc,"paint-brush":Gr,palette:cc,"panel-left":Yt,"panel-right":wt,"paragraph-spacing":xt,parcel:ac,paste:qh,"paste-style":qt,pause:At,pen:Et,people:Bt,percent:Ot,phone:Lt,"phone-hidden":Pt,placement:Gt,play:Ft,"plus-minus":Jt,power:Nt,"presentation-chart-bar":Ut,print:et,product:Qt,"product-field":at,"product-size":bt,progress:nt,quote:st,"radio-dot":ut,radius:kt,receipt:ot,"receipt-percent":$m,"receipt-refund":rt,"rectangle-group":pi,redo:tt,refresh:Vm,remove:ym,"remove-circle":ym,rename:Wp,reply:Wm,"reply-all":vm,revert:Tm,robot:gm,rotate:Im,scale:Hm,"scroll-fade-in":Pm,"scroll-fade-out":Lm,"scroll-move-down":bm,"scroll-move-up":Cm,"scroll-parallax":Dm,"scroll-point":Km,"scroll-text":iu,"scroll-zoom-in":hm,"scroll-zoom-out":fm,search:lm,"select-all":mm,send:im,"separator-slash":pm,"separator-triangle":xo,server:qo,settings:$o,shadow:rm,"shape-ellipse":Bo,"shape-rect":So,share:Yo,shared:wo,"shield-check":Lo,"shield-exclamation":Go,"sides-each":Ao,signal:Ko,"signal-slash":go,sitemap:Ro,"slide-arrows-bare":rk,"slide-arrows-round":Ho,"slide-arrows-square":Po,"slide-picker-bar":ao,"slide-picker-cards":bo,"slide-picker-dots":Co,"slide-picker-numbers":Do,"slide-picker-squares":so,sort:ho,sparkles:_r,speaker:oo,"speaker-wave":oo,"spec-table":to,split:no,square:Vr,star:xr,state:qr,"status-circle":$r,"status-dot":Er,sticky:Br,"stop-circle":Sr,store:Mr,strike:Xr,styles:Gr,subscript:Ar,"success-burst":Z,sun:Dr,superscript:Kr,swap:Rr,swatch:qs,table:Hr,tablet:jr,tabs:lr,tag:Qr,target:ir,team:pr,telephone:hr,template:Pe,"text-color":fr,"text-lines":Fj,"text-size":$,"text-small":rr,"text-value":mr,texture:cr,theme:qs,ticket:qe,title:gs,trash:w,trigger:Re,truck:v,tv:W,type:T,tyre:g,underline:I,undo:U,upload:M,"v-align":X,verified:Z,"video-off":Q,"view-columns":F,wallet:J,warning:N,weight:k,wheel:ir,widgets:e,width:a,window:d,windows:t,"words-from":n,wrap:s,wrench:r,"wrench-screwdriver":h,"zoom-in":m,"brand-facebook":Yf,"brand-instagram":wf,"brand-line":Lf,"brand-linkedin":Gf,"brand-pinterest":Af,"brand-telegram":Ef,"brand-tiktok":Kf,"brand-wechat":Rf,"brand-whatsapp":Hf,"brand-x":Pf,"brand-youtube":lf},"user-circle":{account:Da},"user-group":{people:It}}};export{Ia as efficientLookNames,Sa as efficientLooks};
@@ -1 +0,0 @@
1
- var r="13.16.0",a=r;export{a as APP_VERSION,r as VERSION};
@@ -1,5 +0,0 @@
1
- import{DropdownMenu as e,TRIGGER_CLASS as n}from"./chunk-EX3DARI3.js";import{Tooltip as a}from"./chunk-F2RAIGCG.js";import{jsx as i,jsxs as l}from"react/jsx-runtime";function t(e,n,a){if(n&&!(n.options.length<2))/* @__PURE__ */
2
- return i(s,{value:e,options:n.options,onChange:n.onChange,label:n.label,disabled:a})}var r=`${n} -ml-1 h-6 px-1 text-xs`;function s({value:n,options:t,onChange:s,label:o,disabled:c}){
3
- /* @__PURE__ */
4
- return i(a,{content:o,describe:!1,children:/* @__PURE__ */i(e,{trigger:
5
- /* @__PURE__ */l("span",{className:"inline-grid justify-items-end",children:[t.includes(n)?null:/* @__PURE__ */i("span",{className:"col-start-1 row-start-1",children:n}),t.map(e=>/* @__PURE__ */i("span",{className:"col-start-1 row-start-1"+(e===n?"":" invisible"),children:e},e))]}),"aria-label":`${o}: ${n}`,align:"end",minWidth:0,disabled:c,triggerClassName:r,items:t.map(e=>({type:"radio",key:e,label:e,checked:e===n,mark:"colour",onSelect:()=>{e!==n&&s(e)}}))})})}export{s as UnitMenu,t as unitBox};
@@ -1,24 +0,0 @@
1
- import{Icon as e}from"./chunk-ISVODSRP.js";import{LoadingSpinner as t}from"./chunk-R2VKEMZH.js";import{toast_default as n}from"./chunk-VQ35LXDC.js";import{useShellStrings as r}from"./chunk-IUVGHHR3.js";import{createContext as a,useContext as o,useRef as i,useState as s,useEffect as l}from"react";import*as c from"pdfjs-dist";import{createPortal as d}from"react-dom";import{jsx as u,jsxs as m}from"react/jsx-runtime";function h(e,t,n){return new Error(`The response for ${e} is not a WebAssembly module (got ${function(e){if(0===e.length)return"an empty response";const t=Array.from(e.subarray(0,24)).map(e=>e>=32&&e<127?String.fromCharCode(e):".").join("");return`${e.length} bytes starting "${t}"`}(n)}). The bundler did not emit "${t}" as an asset, and the host answered with a fallback page instead of a 404. Serve pdfjs-dist/wasm/ yourself and point window.__REACT_OS_SHELL_PDF_WASM__ at it.`)}var p=a(null);function f({children:e}){const t=o(p);return t?d(e,t):
2
- /* @__PURE__ */u("div",{className:"flex shrink-0 flex-wrap items-center gap-1 border-b border-gray-200 bg-gray-50 px-3 py-2 text-xs",children:e})}"undefined"==typeof window||c.GlobalWorkerOptions.workerSrc||(c.GlobalWorkerOptions.workerSrc=`https://unpkg.com/pdfjs-dist@${c.version}/build/pdf.worker.min.mjs`);var g={"jbig2.wasm":new URL("pdfjs-dist/wasm/jbig2.wasm",import.meta.url).href,"openjpeg.wasm":new URL("pdfjs-dist/wasm/openjpeg.wasm",import.meta.url).href},w=class{async fetch({kind:e,filename:t}){if("wasmUrl"!==e)throw new Error(`Ensure that the \`${e}\` API parameter is provided.`);const n=g[t];if(!n)throw new Error(`No bundled pdf.js wasm module for "${t}".`);const r=await fetch(n);if(!r.ok)throw new Error(`Unable to load wasm data at: ${n}`);const a=new Uint8Array(await r.arrayBuffer());if(!function(e){return e.length>=4&&0===e[0]&&97===e[1]&&115===e[2]&&109===e[3]}(a))throw h(n,t,a);return a}};function y(e){const t=e||("undefined"!=typeof window?window.__REACT_OS_SHELL_PDF_WASM__:void 0);return"string"==typeof t&&t?{wasmUrl:t.endsWith("/")?t:`${t}/`}:{BinaryDataFactory:w}}var v=[50,75,100,125,150,200,300,400];function b(e,t,n){const r=(t.width-40)/n.width,a="page"===e?Math.min(r,(t.height-40)/n.height):r;return Math.min(Math.max(a,.3),4)}function x({url:a,filename:o,fit:d="width",onDownload:h,onEmail:p,workerSrc:g,wasmUrl:w}){const x=r().pdf,k=i(null),C=i(null),N=i(null),[j,M]=s(null),[E,P]=s(1),[z,D]=s(0),[_,S]=s(1),[L,W]=s(!0),[$,O]=s(!0),T=i(x.loadFailed);T.current=x.loadFailed,l(()=>{let e=!1;return O(!0),P(1),g&&(c.GlobalWorkerOptions.workerSrc=g),c.getDocument({url:a,...y(w)}).promise.then(t=>{e||(M(t),D(t.numPages),O(!1))}).catch(()=>{e||(n.error(T.current),O(!1))}),()=>{e=!0}},[a,g,w]),l(()=>{if(!j||!L||!N.current)return;const e=()=>{const e=N.current;e&&j.getPage(E).then(t=>{if(!N.current)return;const n=t.getViewport({scale:1}),r=b(d,{width:e.clientWidth,height:e.clientHeight},{width:n.width,height:n.height});S(e=>Math.abs(e-r)<.005?e:r)})};e();const t=new ResizeObserver(e);return t.observe(N.current),()=>t.disconnect()},[j,E,L,d]),l(()=>{if(!j||!k.current)return;let e=!1,t=null,n=null;return j.getPage(E).then(r=>{if(e||!k.current)return;const a=r.getViewport({scale:_}),o=k.current;o.width=a.width,o.height=a.height,o.style.width=`${a.width}px`,o.style.height=`${a.height}px`;const i=o.getContext("2d");t=r.render({canvas:o,canvasContext:i,viewport:a}),t.promise.catch(()=>{});const s=C.current;s&&(s.replaceChildren(),s.style.setProperty("--total-scale-factor",String(a.scale)),n=new c.TextLayer({textContentSource:r.streamTextContent(),container:s,viewport:a}),n.render().then(()=>{if(e)return;const t=document.createElement("div");t.className="endOfContent",s.append(t)}).catch(()=>{}))}),()=>{e=!0,t?.cancel(),n?.cancel()}},[j,E,_]),l(()=>{const e=()=>C.current?.classList.remove("selecting");return window.addEventListener("pointerup",e),()=>window.removeEventListener("pointerup",e)},[]);const A="page"===d?x.fitPage:x.fitWidth,H="px-2 py-1 rounded hover:bg-gray-200 transition-colors text-gray-600 flex items-center gap-1";/* @__PURE__ */
3
- return m("div",{className:"flex flex-col h-full",children:[
4
- /* @__PURE__ */m(f,{children:[
5
- /* @__PURE__ */u("button",{type:"button","aria-label":x.previousPage,onClick:()=>P(e=>Math.max(1,e-1)),disabled:E<=1,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */u(e,{name:"chevron-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
6
- /* @__PURE__ */u("span",{className:"text-gray-600 font-medium tabular-nums whitespace-nowrap",children:x.pageOf(E,z)}),
7
- /* @__PURE__ */u("button",{type:"button","aria-label":x.nextPage,onClick:()=>P(e=>Math.min(z,e+1)),disabled:E>=z,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */u(e,{name:"chevron-right",className:"h-3.5 w-3.5",strokeWidth:2})}),
8
- /* @__PURE__ */u("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
9
- /* @__PURE__ */u("button",{type:"button","aria-label":x.zoomOut,title:x.zoomOut,onClick:()=>{W(!1),S(e=>Math.max(.3,Math.round(100*(e-.25))/100))},className:H,children:/* @__PURE__ */u("span",{"aria-hidden":"true",children:"−"})}),
10
- /* @__PURE__ */m("select",{value:L?"fit":v.includes(Math.round(100*_))?Math.round(100*_):"custom",onChange:e=>{const t=e.target.value;"fit"!==t?"custom"!==t&&(W(!1),S(Number(t)/100)):W(!0)},className:"bg-transparent hover:bg-gray-200 rounded px-1 py-1 text-gray-600 tabular-nums cursor-pointer focus:outline-none focus:ring-1 focus:ring-blue-400","aria-label":x.zoom,title:x.zoom,children:[
11
- /* @__PURE__ */u("option",{value:"fit",children:A}),!L&&!v.includes(Math.round(100*_))&&/* @__PURE__ */m("option",{value:"custom",children:[Math.round(100*_),"%"]}),v.map(e=>/* @__PURE__ */m("option",{value:e,children:[e,"%"]},e))]}),
12
- /* @__PURE__ */u("button",{type:"button","aria-label":x.zoomIn,title:x.zoomIn,onClick:()=>{W(!1),S(e=>Math.min(4,Math.round(100*(e+.25))/100))},className:H,children:/* @__PURE__ */u("span",{"aria-hidden":"true",children:"+"})}),
13
- /* @__PURE__ */u("button",{type:"button",onClick:()=>W(!0),"aria-pressed":L,className:H+(L?" bg-gray-200 text-gray-900":""),title:x.fitHint,children:x.fit}),
14
- /* @__PURE__ */u("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
15
- /* @__PURE__ */m("button",{type:"button",onClick:()=>{if(!j)return;const e=window.open("","_blank");if(!e)return void n.error(x.allowPopups);const t=[];for(let e=1;e<=z;e++)t.push(j.getPage(e).then(e=>{const t=e.getViewport({scale:2}),n=document.createElement("canvas");return n.width=t.width,n.height=t.height,e.render({canvas:n,canvasContext:n.getContext("2d"),viewport:t}).promise.then(()=>n.toDataURL())}));Promise.all(t).then(t=>{var n;e.document.write(`<html><head><title>${n=o,n.replace(/[&<>"]/g,e=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[e]))}</title><style>@media print{body{margin:0}img{width:100%;page-break-after:always}}</style></head><body>`),e.document.write(t.map(e=>`<img src="${e}"/>`).join("")),e.document.write("</body></html>"),e.document.close(),setTimeout(()=>{e.print(),e.close()},300)})},className:H,children:[
16
- /* @__PURE__ */u(e,{name:"print",className:"h-3.5 w-3.5",strokeWidth:1.5}),x.print]}),
17
- /* @__PURE__ */m("button",{type:"button",onClick:h??(()=>{const e=document.createElement("a");e.href=a,e.download=o,e.click()}),className:H,children:[
18
- /* @__PURE__ */u(e,{name:"download",className:"h-3.5 w-3.5",strokeWidth:1.5}),x.download]}),p&&/* @__PURE__ */m("button",{type:"button",onClick:p,className:H,children:[
19
- /* @__PURE__ */u(e,{name:"email",className:"h-3.5 w-3.5",strokeWidth:1.5}),x.email]})]}),
20
- /* @__PURE__ */u("div",{ref:N,className:"flex-1 overflow-auto bg-gray-100 outline-none",tabIndex:0,onWheel:e=>{if(!j)return;if(e.ctrlKey||e.metaKey)return;const t=N.current;if(!t)return;const n=t.scrollTop<=0,r=t.scrollTop+t.clientHeight>=t.scrollHeight-1;e.deltaY>0&&r&&E<z?(e.preventDefault(),P(e=>Math.min(z,e+1)),requestAnimationFrame(()=>{N.current&&(N.current.scrollTop=0)})):e.deltaY<0&&n&&E>1&&(e.preventDefault(),P(e=>Math.max(1,e-1)),requestAnimationFrame(()=>{N.current&&(N.current.scrollTop=N.current.scrollHeight)}))},onKeyDown:e=>{if(!j)return;if(e.defaultPrevented)return;const t=(document.activeElement?.tagName||"").toLowerCase();"input"===t||"textarea"===t||document.activeElement?.isContentEditable||("PageDown"===e.key||"ArrowRight"===e.key?E<z&&(e.preventDefault(),P(e=>Math.min(z,e+1))):"PageUp"===e.key||"ArrowLeft"===e.key?E>1&&(e.preventDefault(),P(e=>Math.max(1,e-1))):"Home"===e.key?(e.preventDefault(),P(1)):"End"===e.key&&(e.preventDefault(),P(z)))},children:$?/* @__PURE__ */u(t,{size:"sm",padding:"",className:"h-full",label:x.loading}):/* @__PURE__ */m("div",{className:"min-h-full flex items-center justify-center p-4",children:[
21
- /* @__PURE__ */u("style",{children:'\n.preview-pdf-textlayer {\n position: absolute;\n inset: 0;\n overflow: clip;\n line-height: 1;\n text-align: initial;\n text-size-adjust: none;\n forced-color-adjust: none;\n transform-origin: 0 0;\n caret-color: CanvasText;\n --min-font-size: 1;\n --text-scale-factor: calc(var(--total-scale-factor, 1) * var(--min-font-size));\n --min-font-size-inv: calc(1 / var(--min-font-size));\n}\n.preview-pdf-textlayer :is(span, br) {\n color: transparent;\n position: absolute;\n white-space: pre;\n cursor: text;\n transform-origin: 0% 0%;\n}\n.preview-pdf-textlayer > :not(.markedContent),\n.preview-pdf-textlayer .markedContent span:not(.markedContent) {\n z-index: 1;\n --font-height: 0;\n font-size: calc(var(--text-scale-factor) * var(--font-height));\n --scale-x: 1;\n --rotate: 0deg;\n transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));\n}\n.preview-pdf-textlayer .markedContent {\n display: contents;\n}\n.preview-pdf-textlayer span[role="img"] {\n user-select: none;\n cursor: default;\n}\n.preview-pdf-textlayer ::selection {\n background: rgba(0, 80, 255, 0.25);\n}\n.preview-pdf-textlayer br::selection {\n background: transparent;\n}\n.preview-pdf-textlayer .endOfContent {\n display: block;\n position: absolute;\n inset: 100% 0 0;\n z-index: 0;\n cursor: default;\n user-select: none;\n}\n.preview-pdf-textlayer.selecting .endOfContent {\n top: 0;\n}\n'}),
22
- /* @__PURE__ */m("div",{className:"relative shadow-lg rounded",children:[
23
- /* @__PURE__ */u("canvas",{ref:k,className:"block rounded"}),
24
- /* @__PURE__ */u("div",{ref:C,className:"preview-pdf-textlayer",onPointerDown:e=>e.currentTarget.classList.add("selecting")})]})]})})]})}export{f as PanelActions,x as PdfViewer,p as ToolbarSlotContext,b as fitScale,y as pdfWasmParams};
File without changes