efficient-shell 5.2.0 → 5.6.1

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 (87) hide show
  1. package/README.md +165 -33
  2. package/THIRD_PARTY_NOTICES.md +32 -0
  3. package/dist/{Browser-FKZ6M2MK.js → Browser-RXGEZ77D.js} +17 -17
  4. package/dist/Calculator-MVPKTZZF.js +29 -0
  5. package/dist/ConfirmDialog-XOYCYFA7.js +1 -0
  6. package/dist/{CurrencyConverter-OV5ZQIAJ.js → CurrencyConverter-2IGOOR3I.js} +8 -8
  7. package/dist/{Documents-HGGL3AWI.js → Documents-YBLR7WVX.js} +27 -27
  8. package/dist/Files-7XNR5IL2.js +87 -0
  9. package/dist/{Notepad-PO724TVP.js → Notepad-ZQYQXV75.js} +13 -13
  10. package/dist/PdfViewer-SQVMMA7B.js +1 -0
  11. package/dist/{PomodoroTimer-LN5MYRZO.js → PomodoroTimer-XIUN4M73.js} +19 -19
  12. package/dist/{Preview-CUOO5WQ7.js → Preview-YCOA5JPP.js} +129 -129
  13. package/dist/Sidebar-VI7E3EKI.js +44 -0
  14. package/dist/{Spreadsheet-2N2JXBCY.js → Spreadsheet-SRAUU3OA.js} +14 -14
  15. package/dist/{Stock-65WVUGLI.js → Stock-7EKOAQ7C.js} +3 -3
  16. package/dist/{Weather-TXJICMJN.js → Weather-RWI6NKB2.js} +16 -16
  17. package/dist/{WorldClock-RIHLKZGC.js → WorldClock-CEHWDFEO.js} +6 -6
  18. package/dist/apps/index.js +1 -1
  19. package/dist/bin/ui-check.js +1 -1
  20. package/dist/brand.css +1 -1
  21. package/dist/{chunk-TKFAFZRY.js → chunk-3HJTOINK.js} +1 -1
  22. package/dist/{chunk-YJ6JMGMS.js → chunk-4SWPNARR.js} +4 -4
  23. package/dist/{chunk-Y553QKEH.js → chunk-5ABLFFC5.js} +15 -15
  24. package/dist/{chunk-JJIPGAXI.js → chunk-6LTDJKIL.js} +72 -71
  25. package/dist/{chunk-BFFXVA53.js → chunk-7WC3EOFS.js} +1 -1
  26. package/dist/chunk-AP2QEJXQ.js +1 -0
  27. package/dist/{chunk-3PTA2C74.js → chunk-CLPJDJH4.js} +1 -1
  28. package/dist/{chunk-R3622MOL.js → chunk-F6B3J3GW.js} +1 -1
  29. package/dist/{chunk-UG4ZPXXU.js → chunk-GG7AE6OC.js} +1 -1
  30. package/dist/{chunk-MTH7EAH3.js → chunk-IMMHJIV5.js} +21 -21
  31. package/dist/{chunk-ML22KF7T.js → chunk-JXAAZGLJ.js} +1 -1
  32. package/dist/{chunk-BFUBBDU6.js → chunk-KXAUDC3A.js} +26 -26
  33. package/dist/{chunk-KHJ5XSEH.js → chunk-N3A3GWJI.js} +8 -8
  34. package/dist/{chunk-UAJQB45Y.js → chunk-P4CIOJHP.js} +3 -3
  35. package/dist/{chunk-6GV4467L.js → chunk-RBDGN4YU.js} +5 -5
  36. package/dist/chunk-RC2EG6P4.js +1026 -0
  37. package/dist/{chunk-YQI7KXX3.js → chunk-RL626E7Q.js} +2 -2
  38. package/dist/{chunk-HIAHERCD.js → chunk-RMJZOKHY.js} +9 -9
  39. package/dist/chunk-SFCDHHQP.js +1 -0
  40. package/dist/{chunk-M4OGNYOM.js → chunk-SKB6L53D.js} +11 -11
  41. package/dist/{chunk-H3UEYXRA.js → chunk-TFETN2GI.js} +1 -1
  42. package/dist/chunk-TNBCUZVE.js +1 -0
  43. package/dist/{chunk-TLTFS2D6.js → chunk-VWBQ2P5G.js} +56 -56
  44. package/dist/chunk-WOEFPBQF.js +1 -0
  45. package/dist/{chunk-ASSDCWKP.js → chunk-WWF2EQXF.js} +1 -1
  46. package/dist/chunk-XWSWYMGM.js +2 -0
  47. package/dist/{chunk-SSBOC52S.js → chunk-YGC7AX3X.js} +9 -9
  48. package/dist/{chunk-QZNRMJE6.js → chunk-YIH6JLMV.js} +2 -2
  49. package/dist/{chunk-OTP5WPI4.js → chunk-Z7D6Y5WA.js} +16 -16
  50. package/dist/file-intake/index.js +1 -1
  51. package/dist/format/index.d.ts +1 -1
  52. package/dist/format/index.js +1 -1
  53. package/dist/i18n/index.d.ts +1 -1
  54. package/dist/icons/efficient-looks.d.ts +28 -0
  55. package/dist/icons/efficient-looks.js +920 -0
  56. package/dist/icons/efficient.d.ts +746 -298
  57. package/dist/icons/efficient.js +336 -470
  58. package/dist/icons/heroicons.d.ts +1 -1
  59. package/dist/icons/index.d.ts +10 -4
  60. package/dist/icons/index.js +1 -1
  61. package/dist/icons/lucide.d.ts +1 -1
  62. package/dist/{index-DpUDK9zG.d.ts → index-CHufemKB.d.ts} +69 -1
  63. package/dist/{index-Dk5VKml6.d.ts → index-ZI6vl2Wq.d.ts} +367 -78
  64. package/dist/index.d.ts +5 -5
  65. package/dist/index.js +231 -231
  66. package/dist/locales/zh-Hans.d.ts +1 -1
  67. package/dist/locales/zh-Hans.js +1 -1
  68. package/dist/map/index.js +7 -7
  69. package/dist/markdown/index.js +1 -1
  70. package/dist/page-tabs/index.js +5 -5
  71. package/dist/pdf/index.js +1 -1
  72. package/dist/{registry-FHdUeVww.d.ts → registry-J-TU7zKx.d.ts} +14 -4
  73. package/dist/{strings-aKfRDZWB.d.ts → strings-BVB64Nck.d.ts} +26 -0
  74. package/dist/ui/index.d.ts +4 -4
  75. package/dist/ui/index.js +1 -1
  76. package/dist/ui.css +61 -1
  77. package/package.json +8 -2
  78. package/dist/Calculator-LBFBTFSD.js +0 -29
  79. package/dist/ConfirmDialog-JAEFVRJM.js +0 -1
  80. package/dist/Files-DAQKIF6W.js +0 -87
  81. package/dist/PdfViewer-6ALXGVTV.js +0 -1
  82. package/dist/Sidebar-T4ABK2WV.js +0 -44
  83. package/dist/chunk-4QBLTEFU.js +0 -1
  84. package/dist/chunk-AJB5G52B.js +0 -1
  85. package/dist/chunk-FWOPZB6I.js +0 -1
  86. package/dist/chunk-PS6PSCOR.js +0 -1018
  87. package/dist/chunk-YKZHOXI4.js +0 -2
@@ -1 +1 @@
1
- import{currentShellStrings as t}from"./chunk-AJB5G52B.js";var e="http://www.w3.org/2000/svg",n={},o=/* @__PURE__ */new Map;function s(t,e){let n=document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,n.className=e,document.body.appendChild(n)),n}var r={success:"M5 13l4 4L19 7",error:"M6 18L18 6M6 6l12 12",warning:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z",info:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",loading:"M12 3a9 9 0 019 9",bell:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"};function i(t,n){const o=document.createElementNS(e,"svg");o.setAttribute("class",n),o.setAttribute("fill","none"),o.setAttribute("viewBox","0 0 24 24"),o.setAttribute("stroke","currentColor"),o.setAttribute("stroke-width","2");const s=document.createElementNS(e,"path");return s.setAttribute("stroke-linecap","round"),"loading"!==t&&s.setAttribute("stroke-linejoin","round"),s.setAttribute("d",r[t]),o.appendChild(s),o}function a(t,e){const n=document.createElement("div");return n.className=t,void 0!==e&&(n.textContent=e),n}function c(t,e,r){const c={...n,...r},l=c.placement??"top",d=c.sticky??!1,u=`${l}|${t}|${e}`;if(c.dedupe){const t=o.get(u);if(t)return t.restart(),{dismiss:t.dismiss}}"loading"!==t&&!1!==c.sound&&import("./sounds-FO772MN2.js").then(e=>{"success"===t?e.playSuccess():"error"===t?e.playError():e.playNotification()}).catch(()=>{});const m="bottom"===l?s("toast-container-bottom","fixed bottom-4 left-1/2 -translate-x-1/2 z-[9999] flex flex-col-reverse gap-2 items-center pointer-events-none"):s("toast-container","fixed top-4 left-1/2 -translate-x-1/2 z-[9999] flex flex-col gap-2 items-center pointer-events-none"),p="bottom"===l?"translateY(10px)":"translateY(-10px)",f=a("pointer-events-auto cursor-pointer rosh-toast");f.style.opacity="0",f.style.transform=`${p} scale(0.95)`,f.setAttribute("role","error"===t?"alert":"status"),f.setAttribute("aria-atomic","true"),f.appendChild(i(t,`h-4 w-4 rosh-tone-${t}${"loading"===t?" animate-spin":""}`));const h=document.createElement("span");let y;h.textContent=e,f.appendChild(h),m.appendChild(f),requestAnimationFrame(()=>{f.style.opacity="1",f.style.transform="translateY(0) scale(1)"});let v=!1;const g=()=>{v||(v=!0,y&&clearTimeout(y),o.delete(u),f.style.opacity="0",f.style.transform=`${p} scale(0.95)`,setTimeout(()=>f.remove(),300))},b=c.duration??("info"===t?4500:3e3),x=()=>{y&&clearTimeout(y),d||(y=setTimeout(g,b))};return x(),f.addEventListener("mouseenter",()=>{y&&clearTimeout(y)}),f.addEventListener("mouseleave",()=>{v||x()}),f.addEventListener("click",g),o.set(u,{el:f,restart:x,dismiss:g}),{dismiss:g}}var l={success:(t,e)=>c("success",t,e),error:(t,e)=>c("error",t,e),warning:(t,e)=>c("warning",t,e),info:(t,e)=>c("info",t,e),notify:(e,o)=>function(e,o){!1!==(o?.sound??n.sound)&&import("./sounds-FO772MN2.js").then(t=>t.playNotification()).catch(()=>{});const r=s("notif-container","fixed top-4 right-4 z-[9999] flex flex-col gap-3 items-end pointer-events-none"),c=a("pointer-events-auto cursor-pointer rosh-notif");c.style.opacity="0",c.style.transform="translateX(30px) scale(0.95)";const l=a("rosh-notif-badge");l.appendChild(i("bell","h-5 w-5"));const d=a("rosh-notif-body");d.append(a("rosh-notif-title",t().toast.notification),a("notif-msg rosh-notif-msg",e));const u=document.createElement("button");u.className="rosh-notif-close",u.textContent="×",c.append(l,d,u);const m=()=>{c.style.opacity="0",c.style.transform="translateX(30px) scale(0.95)",setTimeout(()=>c.remove(),300)};u.addEventListener("click",t=>{t.stopPropagation(),m()}),c.addEventListener("click",m),r.appendChild(c),requestAnimationFrame(()=>{c.style.opacity="1",c.style.transform="translateX(0) scale(1)"}),setTimeout(m,o?.duration??1e4)}(e,o),promise:(t,e,n)=>{const o=c("loading",e.loading,{...n,sticky:!0});return t.then(t=>{o.dismiss(),c("success","function"==typeof e.success?e.success(t):e.success,n)},t=>{o.dismiss(),c("error","function"==typeof e.error?e.error(t):e.error,n)}),t},configure:t=>{n={...t}}};export{l as toast_default};
1
+ import{currentShellStrings as t}from"./chunk-TNBCUZVE.js";var e="http://www.w3.org/2000/svg",n={},o=/* @__PURE__ */new Map;function s(t,e){let n=document.getElementById(t);return n||(n=document.createElement("div"),n.id=t,n.className=e,document.body.appendChild(n)),n}var r={success:"M5 13l4 4L19 7",error:"M6 18L18 6M6 6l12 12",warning:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z",info:"M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z",loading:"M12 3a9 9 0 019 9",bell:"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75v-.7V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0"};function i(t,n){const o=document.createElementNS(e,"svg");o.setAttribute("class",n),o.setAttribute("fill","none"),o.setAttribute("viewBox","0 0 24 24"),o.setAttribute("stroke","currentColor"),o.setAttribute("stroke-width","2");const s=document.createElementNS(e,"path");return s.setAttribute("stroke-linecap","round"),"loading"!==t&&s.setAttribute("stroke-linejoin","round"),s.setAttribute("d",r[t]),o.appendChild(s),o}function a(t,e){const n=document.createElement("div");return n.className=t,void 0!==e&&(n.textContent=e),n}function c(t,e,r){const c={...n,...r},l=c.placement??"top",d=c.sticky??!1,u=`${l}|${t}|${e}`;if(c.dedupe){const t=o.get(u);if(t)return t.restart(),{dismiss:t.dismiss}}"loading"!==t&&!1!==c.sound&&import("./sounds-FO772MN2.js").then(e=>{"success"===t?e.playSuccess():"error"===t?e.playError():e.playNotification()}).catch(()=>{});const m="bottom"===l?s("toast-container-bottom","fixed bottom-4 left-1/2 -translate-x-1/2 z-[9999] flex flex-col-reverse gap-2 items-center pointer-events-none"):s("toast-container","fixed top-4 left-1/2 -translate-x-1/2 z-[9999] flex flex-col gap-2 items-center pointer-events-none"),p="bottom"===l?"translateY(10px)":"translateY(-10px)",f=a("pointer-events-auto cursor-pointer rosh-toast");f.style.opacity="0",f.style.transform=`${p} scale(0.95)`,f.setAttribute("role","error"===t?"alert":"status"),f.setAttribute("aria-atomic","true"),f.appendChild(i(t,`h-4 w-4 rosh-tone-${t}${"loading"===t?" animate-spin":""}`));const h=document.createElement("span");let y;h.textContent=e,f.appendChild(h),m.appendChild(f),requestAnimationFrame(()=>{f.style.opacity="1",f.style.transform="translateY(0) scale(1)"});let v=!1;const g=()=>{v||(v=!0,y&&clearTimeout(y),o.delete(u),f.style.opacity="0",f.style.transform=`${p} scale(0.95)`,setTimeout(()=>f.remove(),300))},b=c.duration??("info"===t?4500:3e3),x=()=>{y&&clearTimeout(y),d||(y=setTimeout(g,b))};return x(),f.addEventListener("mouseenter",()=>{y&&clearTimeout(y)}),f.addEventListener("mouseleave",()=>{v||x()}),f.addEventListener("click",g),o.set(u,{el:f,restart:x,dismiss:g}),{dismiss:g}}var l={success:(t,e)=>c("success",t,e),error:(t,e)=>c("error",t,e),warning:(t,e)=>c("warning",t,e),info:(t,e)=>c("info",t,e),notify:(e,o)=>function(e,o){!1!==(o?.sound??n.sound)&&import("./sounds-FO772MN2.js").then(t=>t.playNotification()).catch(()=>{});const r=s("notif-container","fixed top-4 right-4 z-[9999] flex flex-col gap-3 items-end pointer-events-none"),c=a("pointer-events-auto cursor-pointer rosh-notif");c.style.opacity="0",c.style.transform="translateX(30px) scale(0.95)";const l=a("rosh-notif-badge");l.appendChild(i("bell","h-5 w-5"));const d=a("rosh-notif-body");d.append(a("rosh-notif-title",t().toast.notification),a("notif-msg rosh-notif-msg",e));const u=document.createElement("button");u.className="rosh-notif-close",u.textContent="×",c.append(l,d,u);const m=()=>{c.style.opacity="0",c.style.transform="translateX(30px) scale(0.95)",setTimeout(()=>c.remove(),300)};u.addEventListener("click",t=>{t.stopPropagation(),m()}),c.addEventListener("click",m),r.appendChild(c),requestAnimationFrame(()=>{c.style.opacity="1",c.style.transform="translateX(0) scale(1)"}),setTimeout(m,o?.duration??1e4)}(e,o),promise:(t,e,n)=>{const o=c("loading",e.loading,{...n,sticky:!0});return t.then(t=>{o.dismiss(),c("success","function"==typeof e.success?e.success(t):e.success,n)},t=>{o.dismiss(),c("error","function"==typeof e.error?e.error(t):e.error,n)}),t},configure:t=>{n={...t}}};export{l as toast_default};
@@ -1,5 +1,5 @@
1
- import{Tooltip as e}from"./chunk-OGXU7QFW.js";import{useBrowserLayoutEffect as r,useBrowserState as t}from"./chunk-D65T4H6J.js";import{useShellStrings as n}from"./chunk-AJB5G52B.js";import{useRef as o,useEffect as i,useCallback as l}from"react";import{jsx as a,jsxs as s,Fragment as c}from"react/jsx-runtime";var u=(e,r,t)=>Math.min(t,Math.max(r,e));function d(e,r,t,n,o){return Math.round(u("left"===t?e+r:e-r,n,o))}function h(e,r,t){let n=null;try{n=window.localStorage.getItem(e)}catch{return null}const o=n?parseInt(n,10):NaN;return Number.isNaN(o)?null:u(o,r,t)}function m({width:t,onResize:s,side:c,min:m,max:f,defaultWidth:v=m,step:b=16,storageKey:g,label:p,hint:y,controls:x,className:w=""}){const N=n().resizeHandle,z=o(null),k=o({onResize:s,min:m,max:f,side:c});k.current={onResize:s,min:m,max:f,side:c},r(()=>{if(!g)return;const e=h(g,m,f);null!==e&&e!==t&&s(e)},[g]),i(()=>{if(!g)return;const e=window.setTimeout(()=>{try{window.localStorage.setItem(g,String(Math.round(t)))}catch{}},200);return()=>window.clearTimeout(e)},[t,g]);const P=l(()=>{z.current=null,document.body.style.removeProperty("cursor"),document.body.style.removeProperty("user-select")},[]);i(()=>P,[P]);const M=e=>{z.current&&(e.currentTarget.hasPointerCapture?.(z.current.pointer)&&e.currentTarget.releasePointerCapture(z.current.pointer),P())},C="left"===c?"right-0":"left-0";/* @__PURE__ */
2
- return a(e,{content:y??N.hint,side:"left"===c?"right":"left",delay:600,className:`absolute inset-y-0 ${C} z-10 flex w-2 ${w}`.trim(),children:/* @__PURE__ */a("div",{role:"separator",tabIndex:0,"aria-orientation":"vertical","aria-label":p??N.label,"aria-valuenow":Math.round(t),"aria-valuemin":m,"aria-valuemax":f,"aria-controls":x,"data-resize-handle":c,onPointerDown:e=>{0===e.button&&(e.preventDefault(),z.current={x:e.clientX,width:t,moved:!1,pointer:e.pointerId},e.currentTarget.setPointerCapture?.(e.pointerId),document.body.style.cursor="col-resize",document.body.style.userSelect="none")},onPointerMove:e=>{const r=z.current;if(!r)return;if(0===e.buttons)return void P();const t=e.clientX-r.x;if(!r.moved){if(Math.abs(t)<3)return;r.moved=!0}const{onResize:n,min:o,max:i,side:l}=k.current;n(d(r.width,t,l,o,i))},onPointerUp:M,onPointerCancel:M,onLostPointerCapture:()=>{z.current&&P()},onDoubleClick:()=>s(u(v,m,f)),onKeyDown:e=>{const r="ArrowRight"===e.key?b:"ArrowLeft"===e.key?-b:null,n=null!==r?d(t,r,c,m,f):"Home"===e.key?m:"End"===e.key?f:"Enter"===e.key?u(v,m,f):null;null!==n&&(e.preventDefault(),n!==t&&s(n))},className:"group/resize relative h-full w-full cursor-col-resize touch-none rosh-focus-ring focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */a("div",{"aria-hidden":"true",className:`absolute inset-y-0 ${C} w-px bg-transparent transition-colors group-hover/resize:bg-[var(--accent-500,var(--rosh-resize-handle))] group-focus-visible/resize:w-0.5 group-focus-visible/resize:bg-[var(--accent-500,var(--rosh-resize-handle))]`})})})}var f=(e,r,t)=>Math.min(Math.max(e,r),t);function v({sidebar:e,sidebarTop:r,sidebarBottom:o,children:i,side:l="left",storageKey:u,defaultWidth:d=256,minWidth:v=180,maxWidth:b=480,className:g="",sidebarClassName:p=("right"===l?"border-l border-gray-200 bg-gray-50":"border-r border-gray-200 bg-gray-50"),contentClassName:y="bg-white"}){const x="right"===l,w=n().sidebar,[N,z]=t(()=>(u?h(u,v,b):null)??f(d,v,b),f(d,v,b)),k=null!=r||null!=o,P=/* @__PURE__ */s("div",{className:"relative flex h-full shrink-0 flex-col",style:{width:N},children:[
1
+ import{Tooltip as e}from"./chunk-OGXU7QFW.js";import{useBrowserLayoutEffect as r,useBrowserState as t}from"./chunk-D65T4H6J.js";import{useShellStrings as n}from"./chunk-TNBCUZVE.js";import{useRef as o,useEffect as i,useCallback as l}from"react";import{jsx as a,jsxs as s,Fragment as c}from"react/jsx-runtime";var u=(e,r,t)=>Math.min(t,Math.max(r,e));function d(e,r,t,n,o){return Math.round(u("left"===t?e+r:e-r,n,o))}function h(e,r,t){let n=null;try{n=window.localStorage.getItem(e)}catch{return null}const o=n?parseInt(n,10):NaN;return Number.isNaN(o)?null:u(o,r,t)}function m({width:t,onResize:s,side:c,min:m,max:f,defaultWidth:v=m,step:b=16,storageKey:g,label:p,hint:y,controls:x,className:w=""}){const N=n().resizeHandle,z=o(null),k=o({onResize:s,min:m,max:f,side:c});k.current={onResize:s,min:m,max:f,side:c},r(()=>{if(!g)return;const e=h(g,m,f);null!==e&&e!==t&&s(e)},[g]),i(()=>{if(!g)return;const e=window.setTimeout(()=>{try{window.localStorage.setItem(g,String(Math.round(t)))}catch{}},200);return()=>window.clearTimeout(e)},[t,g]);const P=l(()=>{z.current=null,document.body.style.removeProperty("cursor"),document.body.style.removeProperty("user-select")},[]);i(()=>P,[P]);const C=e=>{z.current&&(e.currentTarget.hasPointerCapture?.(z.current.pointer)&&e.currentTarget.releasePointerCapture(z.current.pointer),P())},M="left"===c?"right-0":"left-0";/* @__PURE__ */
2
+ return a(e,{content:y??N.hint,side:"left"===c?"right":"left",delay:600,className:`absolute inset-y-0 ${M} z-10 flex w-2 ${w}`.trim(),children:/* @__PURE__ */a("div",{role:"separator",tabIndex:0,"aria-orientation":"vertical","aria-label":p??N.label,"aria-valuenow":Math.round(t),"aria-valuemin":m,"aria-valuemax":f,"aria-controls":x,"data-resize-handle":c,onPointerDown:e=>{0===e.button&&(e.preventDefault(),z.current={x:e.clientX,width:t,moved:!1,pointer:e.pointerId},e.currentTarget.setPointerCapture?.(e.pointerId),document.body.style.cursor="col-resize",document.body.style.userSelect="none")},onPointerMove:e=>{const r=z.current;if(!r)return;if(0===e.buttons)return void P();const t=e.clientX-r.x;if(!r.moved){if(Math.abs(t)<3)return;r.moved=!0}const{onResize:n,min:o,max:i,side:l}=k.current;n(d(r.width,t,l,o,i))},onPointerUp:C,onPointerCancel:C,onLostPointerCapture:()=>{z.current&&P()},onDoubleClick:()=>s(u(v,m,f)),onKeyDown:e=>{const r="ArrowRight"===e.key?b:"ArrowLeft"===e.key?-b:null,n=null!==r?d(t,r,c,m,f):"Home"===e.key?m:"End"===e.key?f:"Enter"===e.key?u(v,m,f):null;null!==n&&(e.preventDefault(),n!==t&&s(n))},className:"group/resize relative h-full w-full cursor-col-resize touch-none rosh-focus-ring focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[color:var(--rosh-focus-ring-solid)]",children:/* @__PURE__ */a("div",{"aria-hidden":"true",className:`absolute inset-y-0 ${M} w-px bg-transparent transition-colors group-hover/resize:bg-[var(--accent-500,var(--rosh-resize-handle))] group-focus-visible/resize:w-0.5 group-focus-visible/resize:bg-[var(--accent-500,var(--rosh-resize-handle))]`})})})}var f=(e,r,t)=>Math.min(Math.max(e,r),t);function v({sidebar:e,sidebarTop:r,sidebarBottom:o,children:i,side:l="left",storageKey:u,defaultWidth:d=256,minWidth:v=180,maxWidth:b=480,className:g="",sidebarClassName:p=("right"===l?"border-l border-gray-200 bg-gray-50":"border-r border-gray-200 bg-gray-50"),contentClassName:y="bg-white"}){const x="right"===l,w=n().sidebar,[N,z]=t(()=>(u?h(u,v,b):null)??f(d,v,b),f(d,v,b)),k=null!=r||null!=o,P=/* @__PURE__ */s("div",{className:"relative flex h-full shrink-0 flex-col",style:{width:N},children:[
3
3
  /* @__PURE__ */s("div",{className:`flex h-full flex-col ${k?"overflow-hidden":"overflow-y-auto"} ${p}`,children:[null!=r&&/* @__PURE__ */a("div",{className:"flex shrink-0 flex-col gap-2 px-2 pt-3 pb-2",children:r}),k?/* @__PURE__ */a("div",{className:"min-h-0 flex-1 overflow-y-auto",children:e}):e,null!=o&&/* @__PURE__ */a("div",{className:"mt-auto flex shrink-0 flex-col gap-2 border-t border-gray-200 px-2 py-3",children:o})]}),
4
- /* @__PURE__ */a(m,{side:l,width:N,onResize:z,min:v,max:b,defaultWidth:f(d,v,b),storageKey:u,hint:w.resize})]}),M=/* @__PURE__ */a("div",{className:`flex min-w-0 flex-1 flex-col ${y}`,children:i});/* @__PURE__ */
5
- return a("div",{className:`flex h-full w-full overflow-hidden ${g}`,children:/* @__PURE__ */s(c,x?{children:[M,P]}:{children:[P,M]})})}export{m as ResizeHandle,v as SidebarLayout};
4
+ /* @__PURE__ */a(m,{side:l,width:N,onResize:z,min:v,max:b,defaultWidth:f(d,v,b),storageKey:u,hint:w.resize})]}),C=/* @__PURE__ */a("div",{className:`flex min-w-0 flex-1 flex-col ${y}`,children:i});/* @__PURE__ */
5
+ return a("div",{className:`flex h-full w-full overflow-hidden ${g}`,children:/* @__PURE__ */s(c,x?{children:[C,P]}:{children:[P,C]})})}export{m as ResizeHandle,v as SidebarLayout};
@@ -1,23 +1,23 @@
1
- import{toast_default as e}from"./chunk-TKFAFZRY.js";import{ChevronLeftFallback as t,ChevronRightFallback as n,PrintFallback as r,DownloadFallback as a,EmailFallback as o}from"./chunk-JJIPGAXI.js";import{useShellStrings as i}from"./chunk-AJB5G52B.js";import{Icon as l}from"./chunk-YKZHOXI4.js";import{createContext as s,useContext as c,useRef as d,useState as u,useEffect as m}from"react";import*as h from"pdfjs-dist";import{createPortal as p}from"react-dom";import{jsx as f,jsxs as g}from"react/jsx-runtime";function w(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 y=s(null);function b({children:e}){const t=c(y);return t?p(e,t):
2
- /* @__PURE__ */f("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||h.GlobalWorkerOptions.workerSrc||(h.GlobalWorkerOptions.workerSrc=`https://unpkg.com/pdfjs-dist@${h.version}/build/pdf.worker.min.mjs`);var v={"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},x=class{async fetch({kind:e,filename:t}){if("wasmUrl"!==e)throw new Error(`Ensure that the \`${e}\` API parameter is provided.`);const n=v[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 w(n,t,a);return a}};function k(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:x}}var C=[50,75,100,125,150,200,300,400];function N(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 j({url:s,filename:c,fit:p="width",onDownload:w,onEmail:y,workerSrc:v,wasmUrl:x}){const j=i().pdf,M=d(null),E=d(null),P=d(null),[_,z]=u(null),[A,D]=u(1),[W,L]=u(0),[S,T]=u(1),[$,O]=u(!0),[F,H]=u(!0),U=d(j.loadFailed);U.current=j.loadFailed,m(()=>{let t=!1;return H(!0),D(1),v&&(h.GlobalWorkerOptions.workerSrc=v),h.getDocument({url:s,...k(x)}).promise.then(e=>{t||(z(e),L(e.numPages),H(!1))}).catch(()=>{t||(e.error(U.current),H(!1))}),()=>{t=!0}},[s,v,x]),m(()=>{if(!_||!$||!P.current)return;const e=()=>{const e=P.current;e&&_.getPage(A).then(t=>{if(!P.current)return;const n=t.getViewport({scale:1}),r=N(p,{width:e.clientWidth,height:e.clientHeight},{width:n.width,height:n.height});T(e=>Math.abs(e-r)<.005?e:r)})};e();const t=new ResizeObserver(e);return t.observe(P.current),()=>t.disconnect()},[_,A,$,p]),m(()=>{if(!_||!M.current)return;let e=!1,t=null,n=null;return _.getPage(A).then(r=>{if(e||!M.current)return;const a=r.getViewport({scale:S}),o=M.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 l=E.current;l&&(l.replaceChildren(),l.style.setProperty("--total-scale-factor",String(a.scale)),n=new h.TextLayer({textContentSource:r.streamTextContent(),container:l,viewport:a}),n.render().then(()=>{if(e)return;const t=document.createElement("div");t.className="endOfContent",l.append(t)}).catch(()=>{}))}),()=>{e=!0,t?.cancel(),n?.cancel()}},[_,A,S]),m(()=>{const e=()=>E.current?.classList.remove("selecting");return window.addEventListener("pointerup",e),()=>window.removeEventListener("pointerup",e)},[]);const R="page"===p?j.fitPage:j.fitWidth,I="px-2 py-1 rounded hover:bg-gray-200 transition-colors text-gray-600 flex items-center gap-1";/* @__PURE__ */
1
+ import{toast_default as e}from"./chunk-3HJTOINK.js";import{ChevronLeftFallback as t,ChevronRightFallback as n,PrintFallback as r,DownloadFallback as a,EmailFallback as o}from"./chunk-6LTDJKIL.js";import{Icon as i}from"./chunk-XWSWYMGM.js";import{useShellStrings as l}from"./chunk-TNBCUZVE.js";import{createContext as s,useContext as c,useRef as d,useState as u,useEffect as m}from"react";import*as h from"pdfjs-dist";import{createPortal as p}from"react-dom";import{jsx as f,jsxs as g}from"react/jsx-runtime";function w(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 y=s(null);function b({children:e}){const t=c(y);return t?p(e,t):
2
+ /* @__PURE__ */f("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||h.GlobalWorkerOptions.workerSrc||(h.GlobalWorkerOptions.workerSrc=`https://unpkg.com/pdfjs-dist@${h.version}/build/pdf.worker.min.mjs`);var v={"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},x=class{async fetch({kind:e,filename:t}){if("wasmUrl"!==e)throw new Error(`Ensure that the \`${e}\` API parameter is provided.`);const n=v[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 w(n,t,a);return a}};function k(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:x}}var C=[50,75,100,125,150,200,300,400];function N(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 j({url:s,filename:c,fit:p="width",onDownload:w,onEmail:y,workerSrc:v,wasmUrl:x}){const j=l().pdf,M=d(null),E=d(null),W=d(null),[_,z]=u(null),[D,L]=u(1),[P,T]=u(0),[S,$]=u(1),[O,A]=u(!0),[U,H]=u(!0),F=d(j.loadFailed);F.current=j.loadFailed,m(()=>{let t=!1;return H(!0),L(1),v&&(h.GlobalWorkerOptions.workerSrc=v),h.getDocument({url:s,...k(x)}).promise.then(e=>{t||(z(e),T(e.numPages),H(!1))}).catch(()=>{t||(e.error(F.current),H(!1))}),()=>{t=!0}},[s,v,x]),m(()=>{if(!_||!O||!W.current)return;const e=()=>{const e=W.current;e&&_.getPage(D).then(t=>{if(!W.current)return;const n=t.getViewport({scale:1}),r=N(p,{width:e.clientWidth,height:e.clientHeight},{width:n.width,height:n.height});$(e=>Math.abs(e-r)<.005?e:r)})};e();const t=new ResizeObserver(e);return t.observe(W.current),()=>t.disconnect()},[_,D,O,p]),m(()=>{if(!_||!M.current)return;let e=!1,t=null,n=null;return _.getPage(D).then(r=>{if(e||!M.current)return;const a=r.getViewport({scale:S}),o=M.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 l=E.current;l&&(l.replaceChildren(),l.style.setProperty("--total-scale-factor",String(a.scale)),n=new h.TextLayer({textContentSource:r.streamTextContent(),container:l,viewport:a}),n.render().then(()=>{if(e)return;const t=document.createElement("div");t.className="endOfContent",l.append(t)}).catch(()=>{}))}),()=>{e=!0,t?.cancel(),n?.cancel()}},[_,D,S]),m(()=>{const e=()=>E.current?.classList.remove("selecting");return window.addEventListener("pointerup",e),()=>window.removeEventListener("pointerup",e)},[]);const R="page"===p?j.fitPage:j.fitWidth,I="px-2 py-1 rounded hover:bg-gray-200 transition-colors text-gray-600 flex items-center gap-1";/* @__PURE__ */
3
3
  return g("div",{className:"flex flex-col h-full",children:[
4
4
  /* @__PURE__ */g(b,{children:[
5
- /* @__PURE__ */f("button",{type:"button","aria-label":j.previousPage,onClick:()=>D(e=>Math.max(1,e-1)),disabled:A<=1,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */f(l,{name:"chevron-left",fallback:t,className:"h-3.5 w-3.5",strokeWidth:2})}),
6
- /* @__PURE__ */f("span",{className:"text-gray-600 font-medium tabular-nums whitespace-nowrap",children:j.pageOf(A,W)}),
7
- /* @__PURE__ */f("button",{type:"button","aria-label":j.nextPage,onClick:()=>D(e=>Math.min(W,e+1)),disabled:A>=W,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */f(l,{name:"chevron-right",fallback:n,className:"h-3.5 w-3.5",strokeWidth:2})}),
5
+ /* @__PURE__ */f("button",{type:"button","aria-label":j.previousPage,onClick:()=>L(e=>Math.max(1,e-1)),disabled:D<=1,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */f(i,{name:"chevron-left",fallback:t,className:"h-3.5 w-3.5",strokeWidth:2})}),
6
+ /* @__PURE__ */f("span",{className:"text-gray-600 font-medium tabular-nums whitespace-nowrap",children:j.pageOf(D,P)}),
7
+ /* @__PURE__ */f("button",{type:"button","aria-label":j.nextPage,onClick:()=>L(e=>Math.min(P,e+1)),disabled:D>=P,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */f(i,{name:"chevron-right",fallback:n,className:"h-3.5 w-3.5",strokeWidth:2})}),
8
8
  /* @__PURE__ */f("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
9
- /* @__PURE__ */f("button",{type:"button","aria-label":j.zoomOut,title:j.zoomOut,onClick:()=>{O(!1),T(e=>Math.max(.3,Math.round(100*(e-.25))/100))},className:I,children:/* @__PURE__ */f("span",{"aria-hidden":"true",children:"−"})}),
10
- /* @__PURE__ */g("select",{value:$?"fit":C.includes(Math.round(100*S))?Math.round(100*S):"custom",onChange:e=>{const t=e.target.value;"fit"!==t?"custom"!==t&&(O(!1),T(Number(t)/100)):O(!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":j.zoom,title:j.zoom,children:[
11
- /* @__PURE__ */f("option",{value:"fit",children:R}),!$&&!C.includes(Math.round(100*S))&&/* @__PURE__ */g("option",{value:"custom",children:[Math.round(100*S),"%"]}),C.map(e=>/* @__PURE__ */g("option",{value:e,children:[e,"%"]},e))]}),
12
- /* @__PURE__ */f("button",{type:"button","aria-label":j.zoomIn,title:j.zoomIn,onClick:()=>{O(!1),T(e=>Math.min(4,Math.round(100*(e+.25))/100))},className:I,children:/* @__PURE__ */f("span",{"aria-hidden":"true",children:"+"})}),
13
- /* @__PURE__ */f("button",{type:"button",onClick:()=>O(!0),"aria-pressed":$,className:I+($?" bg-gray-200 text-gray-900":""),title:j.fitHint,children:j.fit}),
9
+ /* @__PURE__ */f("button",{type:"button","aria-label":j.zoomOut,title:j.zoomOut,onClick:()=>{A(!1),$(e=>Math.max(.3,Math.round(100*(e-.25))/100))},className:I,children:/* @__PURE__ */f("span",{"aria-hidden":"true",children:"−"})}),
10
+ /* @__PURE__ */g("select",{value:O?"fit":C.includes(Math.round(100*S))?Math.round(100*S):"custom",onChange:e=>{const t=e.target.value;"fit"!==t?"custom"!==t&&(A(!1),$(Number(t)/100)):A(!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":j.zoom,title:j.zoom,children:[
11
+ /* @__PURE__ */f("option",{value:"fit",children:R}),!O&&!C.includes(Math.round(100*S))&&/* @__PURE__ */g("option",{value:"custom",children:[Math.round(100*S),"%"]}),C.map(e=>/* @__PURE__ */g("option",{value:e,children:[e,"%"]},e))]}),
12
+ /* @__PURE__ */f("button",{type:"button","aria-label":j.zoomIn,title:j.zoomIn,onClick:()=>{A(!1),$(e=>Math.min(4,Math.round(100*(e+.25))/100))},className:I,children:/* @__PURE__ */f("span",{"aria-hidden":"true",children:"+"})}),
13
+ /* @__PURE__ */f("button",{type:"button",onClick:()=>A(!0),"aria-pressed":O,className:I+(O?" bg-gray-200 text-gray-900":""),title:j.fitHint,children:j.fit}),
14
14
  /* @__PURE__ */f("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
15
- /* @__PURE__ */g("button",{type:"button",onClick:()=>{if(!_)return;const t=window.open("","_blank");if(!t)return void e.error(j.allowPopups);const n=[];for(let e=1;e<=W;e++)n.push(_.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(n).then(e=>{var n;t.document.write(`<html><head><title>${n=c,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>`),t.document.write(e.map(e=>`<img src="${e}"/>`).join("")),t.document.write("</body></html>"),t.document.close(),setTimeout(()=>{t.print(),t.close()},300)})},className:I,children:[
16
- /* @__PURE__ */f(l,{name:"print",fallback:r,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.print]}),
15
+ /* @__PURE__ */g("button",{type:"button",onClick:()=>{if(!_)return;const t=window.open("","_blank");if(!t)return void e.error(j.allowPopups);const n=[];for(let e=1;e<=P;e++)n.push(_.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(n).then(e=>{var n;t.document.write(`<html><head><title>${n=c,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>`),t.document.write(e.map(e=>`<img src="${e}"/>`).join("")),t.document.write("</body></html>"),t.document.close(),setTimeout(()=>{t.print(),t.close()},300)})},className:I,children:[
16
+ /* @__PURE__ */f(i,{name:"print",fallback:r,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.print]}),
17
17
  /* @__PURE__ */g("button",{type:"button",onClick:w??(()=>{const e=document.createElement("a");e.href=s,e.download=c,e.click()}),className:I,children:[
18
- /* @__PURE__ */f(l,{name:"download",fallback:a,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.download]}),y&&/* @__PURE__ */g("button",{type:"button",onClick:y,className:I,children:[
19
- /* @__PURE__ */f(l,{name:"email",fallback:o,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.email]})]}),
20
- /* @__PURE__ */f("div",{ref:P,className:"flex-1 overflow-auto bg-gray-100 outline-none",tabIndex:0,onWheel:e=>{if(!_)return;if(e.ctrlKey||e.metaKey)return;const t=P.current;if(!t)return;const n=t.scrollTop<=0,r=t.scrollTop+t.clientHeight>=t.scrollHeight-1;e.deltaY>0&&r&&A<W?(e.preventDefault(),D(e=>Math.min(W,e+1)),requestAnimationFrame(()=>{P.current&&(P.current.scrollTop=0)})):e.deltaY<0&&n&&A>1&&(e.preventDefault(),D(e=>Math.max(1,e-1)),requestAnimationFrame(()=>{P.current&&(P.current.scrollTop=P.current.scrollHeight)}))},onKeyDown:e=>{if(!_)return;const t=(document.activeElement?.tagName||"").toLowerCase();"input"===t||"textarea"===t||document.activeElement?.isContentEditable||("PageDown"===e.key||"ArrowRight"===e.key?A<W&&(e.preventDefault(),D(e=>Math.min(W,e+1))):"PageUp"===e.key||"ArrowLeft"===e.key?A>1&&(e.preventDefault(),D(e=>Math.max(1,e-1))):"Home"===e.key?(e.preventDefault(),D(1)):"End"===e.key&&(e.preventDefault(),D(W)))},children:F?/* @__PURE__ */f("div",{className:"flex items-center justify-center h-full text-gray-500 text-sm",role:"status",children:j.loading}):/* @__PURE__ */g("div",{className:"min-h-full flex items-center justify-center p-4",children:[
18
+ /* @__PURE__ */f(i,{name:"download",fallback:a,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.download]}),y&&/* @__PURE__ */g("button",{type:"button",onClick:y,className:I,children:[
19
+ /* @__PURE__ */f(i,{name:"email",fallback:o,className:"h-3.5 w-3.5",strokeWidth:1.5}),j.email]})]}),
20
+ /* @__PURE__ */f("div",{ref:W,className:"flex-1 overflow-auto bg-gray-100 outline-none",tabIndex:0,onWheel:e=>{if(!_)return;if(e.ctrlKey||e.metaKey)return;const t=W.current;if(!t)return;const n=t.scrollTop<=0,r=t.scrollTop+t.clientHeight>=t.scrollHeight-1;e.deltaY>0&&r&&D<P?(e.preventDefault(),L(e=>Math.min(P,e+1)),requestAnimationFrame(()=>{W.current&&(W.current.scrollTop=0)})):e.deltaY<0&&n&&D>1&&(e.preventDefault(),L(e=>Math.max(1,e-1)),requestAnimationFrame(()=>{W.current&&(W.current.scrollTop=W.current.scrollHeight)}))},onKeyDown:e=>{if(!_)return;const t=(document.activeElement?.tagName||"").toLowerCase();"input"===t||"textarea"===t||document.activeElement?.isContentEditable||("PageDown"===e.key||"ArrowRight"===e.key?D<P&&(e.preventDefault(),L(e=>Math.min(P,e+1))):"PageUp"===e.key||"ArrowLeft"===e.key?D>1&&(e.preventDefault(),L(e=>Math.max(1,e-1))):"Home"===e.key?(e.preventDefault(),L(1)):"End"===e.key&&(e.preventDefault(),L(P)))},children:U?/* @__PURE__ */f("div",{className:"flex items-center justify-center h-full text-gray-500 text-sm",role:"status",children:j.loading}):/* @__PURE__ */g("div",{className:"min-h-full flex items-center justify-center p-4",children:[
21
21
  /* @__PURE__ */f("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
22
  /* @__PURE__ */g("div",{className:"relative shadow-lg rounded",children:[
23
23
  /* @__PURE__ */f("canvas",{ref:M,className:"block rounded"}),
@@ -35,103 +35,104 @@ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,child
35
35
  return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 4.5l7.5 7.5-7.5 7.5"})})}function Z(r){/* @__PURE__ */
36
36
  return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 5l7 7-7 7"})})}function W(r){/* @__PURE__ */
37
37
  return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M7.21 14.77a.75.75 0 0 1 .02-1.06L11.168 10 7.23 6.29a.75.75 0 1 1 1.04-1.08l4.5 4.25a.75.75 0 0 1 0 1.08l-4.5 4.25a.75.75 0 0 1-1.06-.02Z",clipRule:"evenodd"})})}function S(r){/* @__PURE__ */
38
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"})})}function b(r){/* @__PURE__ */
39
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9l3.75-3.75L15.75 9M8.25 15l3.75 3.75L15.75 15"})})}function q(r){/* @__PURE__ */
40
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}function D(r){/* @__PURE__ */
41
- return n("svg",{viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 6l8 8M14 6l-8 8"})})}function E(r){/* @__PURE__ */
42
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})}function F(r){/* @__PURE__ */
43
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 6l12 12M18 6L6 18"})})}function G(o){/* @__PURE__ */
38
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 19V11a6 6 0 0 1 6-6h8"})})}function b(r){/* @__PURE__ */
39
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4.5 15.75l7.5-7.5 7.5 7.5"})})}function q(r){/* @__PURE__ */
40
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 9l3.75-3.75L15.75 9M8.25 15l3.75 3.75L15.75 15"})})}function D(r){/* @__PURE__ */
41
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 18L18 6M6 6l12 12"})})}function E(r){/* @__PURE__ */
42
+ return n("svg",{viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 6l8 8M14 6l-8 8"})})}function F(r){/* @__PURE__ */
43
+ return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"})})}function G(r){/* @__PURE__ */
44
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M6 6l12 12M18 6L6 18"})})}function I(o){/* @__PURE__ */
44
45
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
45
46
  /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 5.636l-12.728 12.728M5.636 5.636l12.728 12.728"}),
46
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9 9 0 100-18 9 9 0 000 18z"})]})}function I(r){/* @__PURE__ */
47
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.7 7.3a1 1 0 00-1.4 1.4L8.6 10l-1.3 1.3a1 1 0 101.4 1.4L10 11.4l1.3 1.3a1 1 0 001.4-1.4L11.4 10l1.3-1.3a1 1 0 10-1.4-1.4L10 8.6 8.7 7.3z",clipRule:"evenodd"})})}function J(r){/* @__PURE__ */
48
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"})})}function K(r){/* @__PURE__ */
49
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"})})}function N(r){/* @__PURE__ */
50
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function O(r){/* @__PURE__ */
51
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function P(r){/* @__PURE__ */
52
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3M4 11h16M5 7h14a1 1 0 011 1v11a1 1 0 01-1 1H5a1 1 0 01-1-1V8a1 1 0 011-1z"})})}function Q(r){/* @__PURE__ */
53
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}function T(r){/* @__PURE__ */
54
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})})}function U(r){/* @__PURE__ */
55
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})})}function X(r){/* @__PURE__ */
56
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 01-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 011.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 00-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 01-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5a3.375 3.375 0 00-3.375-3.375H9.75"})})}function Y(r){/* @__PURE__ */
57
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"})})}function $(r){/* @__PURE__ */
58
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})})}function _(r){/* @__PURE__ */
59
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"})})}function nn(r){/* @__PURE__ */
60
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})})}function rn(r){/* @__PURE__ */
61
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}function on(r){/* @__PURE__ */
62
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-7.5-9L21 3m0 0v6m0-6L9.75 14.25"})})}function en(o){/* @__PURE__ */
47
+ /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 21a9 9 0 100-18 9 9 0 000 18z"})]})}function J(r){/* @__PURE__ */
48
+ return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM8.7 7.3a1 1 0 00-1.4 1.4L8.6 10l-1.3 1.3a1 1 0 101.4 1.4L10 11.4l1.3 1.3a1 1 0 001.4-1.4L11.4 10l1.3-1.3a1 1 0 10-1.4-1.4L10 8.6 8.7 7.3z",clipRule:"evenodd"})})}function K(r){/* @__PURE__ */
49
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"})})}function N(r){/* @__PURE__ */
50
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 9V4.5M9 9H4.5M9 9 3.75 3.75M9 15v4.5M9 15H4.5M9 15l-5.25 5.25M15 9h4.5M15 9V4.5M15 9l5.25-5.25M15 15h4.5M15 15v4.5m0-4.5 5.25 5.25"})})}function O(r){/* @__PURE__ */
51
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function P(r){/* @__PURE__ */
52
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"})})}function Q(r){/* @__PURE__ */
53
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3M4 11h16M5 7h14a1 1 0 011 1v11a1 1 0 01-1 1H5a1 1 0 01-1-1V8a1 1 0 011-1z"})})}function T(r){/* @__PURE__ */
54
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z"})})}function U(r){/* @__PURE__ */
55
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9 17.25v1.007a3 3 0 01-.879 2.122L7.5 21h9l-.621-.621A3 3 0 0115 18.257V17.25m6-12V15a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 15V5.25m18 0A2.25 2.25 0 0018.75 3H5.25A2.25 2.25 0 003 5.25m18 0V12a2.25 2.25 0 01-2.25 2.25H5.25A2.25 2.25 0 013 12V5.25"})})}function X(r){/* @__PURE__ */
56
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"})})}function Y(r){/* @__PURE__ */
57
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 17.25v3.375c0 .621-.504 1.125-1.125 1.125h-9.75a1.125 1.125 0 01-1.125-1.125V7.875c0-.621.504-1.125 1.125-1.125H6.75a9.06 9.06 0 011.5.124m7.5 10.376h3.375c.621 0 1.125-.504 1.125-1.125V11.25c0-4.46-3.243-8.161-7.5-8.876a9.06 9.06 0 00-1.5-.124H9.375c-.621 0-1.125.504-1.125 1.125v3.5m7.5 10.375H9.375a1.125 1.125 0 01-1.125-1.125v-9.25m12 6.625v-1.875a3.375 3.375 0 00-3.375-3.375h-1.5a1.125 1.125 0 01-1.125-1.125v-1.5a3.375 3.375 0 00-3.375-3.375H9.75"})})}function $(r){/* @__PURE__ */
58
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L6.832 19.82a4.5 4.5 0 01-1.897 1.13l-2.685.8.8-2.685a4.5 4.5 0 011.13-1.897L16.863 4.487zm0 0L19.5 7.125"})})}function _(r){/* @__PURE__ */
59
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75"})})}function nn(r){/* @__PURE__ */
60
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z"})})}function rn(r){/* @__PURE__ */
61
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75v4.5m0-4.5h4.5m-4.5 0L9 9M3.75 20.25v-4.5m0 4.5h4.5m-4.5 0L9 15M20.25 3.75h-4.5m4.5 0v4.5m0-4.5L15 9m5.25 11.25h-4.5m4.5 0v-4.5m0 4.5L15 15"})})}function on(r){/* @__PURE__ */
62
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 8V4m0 0h4M4 4l5 5m11-1V4m0 0h-4m4 0l-5 5M4 16v4m0 0h4m-4 0l5-5m11 5l-5-5m5 5v-4m0 4h-4"})})}function en(r){/* @__PURE__ */
63
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.5 6H5.25A2.25 2.25 0 003 8.25v10.5A2.25 2.25 0 005.25 21h10.5A2.25 2.25 0 0018 18.75V10.5m-7.5-9L21 3m0 0v6m0-6L9.75 14.25"})})}function tn(o){/* @__PURE__ */
63
64
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
64
65
  /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.036 12.322a1.012 1.012 0 010-.639C3.423 7.51 7.36 4.5 12 4.5c4.638 0 8.573 3.007 9.963 7.178.07.207.07.431 0 .639C20.577 16.49 16.64 19.5 12 19.5c-4.638 0-8.573-3.007-9.963-7.178z"}),
65
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function tn(r){/* @__PURE__ */
66
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})}function ln(r){/* @__PURE__ */
67
- return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M2.25 7.125A2.25 2.25 0 014.5 4.875h4.504c.61 0 1.193.243 1.624.673l1.494 1.494a.75.75 0 00.53.22h7.098A2.25 2.25 0 0122 9.51v8.366A2.25 2.25 0 0119.75 20.125H4.25A2.25 2.25 0 012 17.875V7.125z"})})}function cn(r){/* @__PURE__ */
68
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"})})}function un(r){/* @__PURE__ */
69
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.857-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776"})})}function dn(r){/* @__PURE__ */
70
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10.5v6m3-3H9m4.06-7.19l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"})})}function an(o){/* @__PURE__ */
66
+ /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function ln(r){/* @__PURE__ */
67
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.98 8.223A10.477 10.477 0 001.934 12C3.226 16.338 7.244 19.5 12 19.5c.993 0 1.953-.138 2.863-.395M6.228 6.228A10.45 10.45 0 0112 4.5c4.756 0 8.773 3.162 10.065 7.498a10.523 10.523 0 01-4.293 5.774M6.228 6.228L3 3m3.228 3.228l3.65 3.65m7.894 7.894L21 21m-3.228-3.228l-3.65-3.65m0 0a3 3 0 10-4.243-4.243m4.242 4.242L9.88 9.88"})})}function cn(r){/* @__PURE__ */
68
+ return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M2.25 7.125A2.25 2.25 0 014.5 4.875h4.504c.61 0 1.193.243 1.624.673l1.494 1.494a.75.75 0 00.53.22h7.098A2.25 2.25 0 0122 9.51v8.366A2.25 2.25 0 0119.75 20.125H4.25A2.25 2.25 0 012 17.875V7.125z"})})}function un(r){/* @__PURE__ */
69
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12.75V12A2.25 2.25 0 014.5 9.75h15A2.25 2.25 0 0121.75 12v.75m-8.69-6.44l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"})})}function dn(r){/* @__PURE__ */
70
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 9.776c.112-.017.227-.026.344-.026h15.812c.117 0 .232.009.344.026m-16.5 0a2.25 2.25 0 00-1.883 2.542l.857 6a2.25 2.25 0 002.227 1.932H19.05a2.25 2.25 0 002.227-1.932l.857-6a2.25 2.25 0 00-1.883-2.542m-16.5 0V6A2.25 2.25 0 016 3.75h3.879a1.5 1.5 0 011.06.44l2.122 2.12a1.5 1.5 0 001.06.44H18A2.25 2.25 0 0120.25 9v.776"})})}function an(r){/* @__PURE__ */
71
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 10.5v6m3-3H9m4.06-7.19l-2.12-2.12a1.5 1.5 0 00-1.061-.44H4.5A2.25 2.25 0 002.25 6v12a2.25 2.25 0 002.25 2.25h15A2.25 2.25 0 0021.75 18V9a2.25 2.25 0 00-2.25-2.25h-5.379a1.5 1.5 0 01-1.06-.44z"})})}function sn(o){/* @__PURE__ */
71
72
  return r("svg",{viewBox:"0 0 24 24",fill:"none",...o,children:[
72
73
  /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"10"}),
73
74
  /* @__PURE__ */n("path",{d:"M2 12h20"}),
74
- /* @__PURE__ */n("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})]})}function sn(o){/* @__PURE__ */
75
+ /* @__PURE__ */n("path",{d:"M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"})]})}function hn(o){/* @__PURE__ */
75
76
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",...o,children:[
76
77
  /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"9"}),
77
- /* @__PURE__ */n("path",{d:"M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z"})]})}function hn(o){/* @__PURE__ */
78
+ /* @__PURE__ */n("path",{d:"M3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3Z"})]})}function vn(o){/* @__PURE__ */
78
79
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
79
80
  /* @__PURE__ */n("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1.5"}),
80
81
  /* @__PURE__ */n("rect",{x:"13.5",y:"3.5",width:"7",height:"7",rx:"1.5"}),
81
82
  /* @__PURE__ */n("rect",{x:"3.5",y:"13.5",width:"7",height:"7",rx:"1.5"}),
82
- /* @__PURE__ */n("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"1.5"})]})}function vn(r){/* @__PURE__ */
83
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})})}function kn(o){/* @__PURE__ */
83
+ /* @__PURE__ */n("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"1.5"})]})}function kn(r){/* @__PURE__ */
84
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6A2.25 2.25 0 016 3.75h2.25A2.25 2.25 0 0110.5 6v2.25a2.25 2.25 0 01-2.25 2.25H6a2.25 2.25 0 01-2.25-2.25V6zM3.75 15.75A2.25 2.25 0 016 13.5h2.25a2.25 2.25 0 012.25 2.25V18a2.25 2.25 0 01-2.25 2.25H6A2.25 2.25 0 013.75 18v-2.25zM13.5 6a2.25 2.25 0 012.25-2.25H18A2.25 2.25 0 0120.25 6v2.25A2.25 2.25 0 0118 10.5h-2.25a2.25 2.25 0 01-2.25-2.25V6zM13.5 15.75a2.25 2.25 0 012.25-2.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-2.25A2.25 2.25 0 0113.5 18v-2.25z"})})}function Ln(o){/* @__PURE__ */
84
85
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
85
86
  /* @__PURE__ */n("rect",{x:"3.5",y:"3.5",width:"7",height:"7",rx:"1"}),
86
87
  /* @__PURE__ */n("rect",{x:"13.5",y:"3.5",width:"7",height:"7",rx:"1"}),
87
88
  /* @__PURE__ */n("rect",{x:"3.5",y:"13.5",width:"7",height:"7",rx:"1"}),
88
- /* @__PURE__ */n("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"1"})]})}function Ln(r){/* @__PURE__ */
89
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})})}function fn(r){/* @__PURE__ */
90
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12l8.954-8.955a1.5 1.5 0 012.122 0l8.954 8.955M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})})}function pn(r){/* @__PURE__ */
91
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"})})}function Mn(r){/* @__PURE__ */
92
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"})})}function mn(r){/* @__PURE__ */
93
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})}function xn(r){/* @__PURE__ */
94
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM9 9a1 1 0 012 0v4a1 1 0 11-2 0V9zm1-4a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})})}function gn(r){/* @__PURE__ */
95
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75L2.25 12l4.179 2.25m0-4.5l5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0l4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0l-5.571 3-5.571-3"})})}function wn(r){/* @__PURE__ */
96
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75h4.5v16.5h-4.5zM11.25 3.75h9v4.5h-9z"})})}function Cn(r){/* @__PURE__ */
97
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"})})}function Bn(r){/* @__PURE__ */
98
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"})})}function jn(r){/* @__PURE__ */
99
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})}function An(r){/* @__PURE__ */
100
- return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function Vn(r){/* @__PURE__ */
101
- return n("svg",{viewBox:"0 0 24 24",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function zn(o){/* @__PURE__ */
89
+ /* @__PURE__ */n("rect",{x:"13.5",y:"13.5",width:"7",height:"7",rx:"1"})]})}function fn(r){/* @__PURE__ */
90
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.879 7.519c1.171-1.025 3.071-1.025 4.242 0 1.172 1.025 1.172 2.687 0 3.712-.203.179-.43.326-.67.442-.745.361-1.45.999-1.45 1.827v.75M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9 5.25h.008v.008H12v-.008z"})})}function pn(r){/* @__PURE__ */
91
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 12l8.954-8.955a1.5 1.5 0 012.122 0l8.954 8.955M4.5 9.75v10.125c0 .621.504 1.125 1.125 1.125H9.75v-4.875c0-.621.504-1.125 1.125-1.125h2.25c.621 0 1.125.504 1.125 1.125V21h4.125c.621 0 1.125-.504 1.125-1.125V9.75M8.25 21h8.25"})})}function Mn(r){/* @__PURE__ */
92
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M2.25 15.75l5.159-5.159a2.25 2.25 0 013.182 0l5.159 5.159m-1.5-1.5l1.409-1.409a2.25 2.25 0 013.182 0l2.909 2.909m-18 3.75h16.5a1.5 1.5 0 001.5-1.5V6a1.5 1.5 0 00-1.5-1.5H3.75A1.5 1.5 0 002.25 6v12a1.5 1.5 0 001.5 1.5zm10.5-11.25h.008v.008h-.008V8.25zm.375 0a.375.375 0 11-.75 0 .375.375 0 01.75 0z"})})}function mn(r){/* @__PURE__ */
93
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M20 13V6a2 2 0 00-2-2H6a2 2 0 00-2 2v7m16 0v5a2 2 0 01-2 2H6a2 2 0 01-2-2v-5m16 0h-2.586a1 1 0 00-.707.293l-2.414 2.414a1 1 0 01-.707.293h-3.172a1 1 0 01-.707-.293l-2.414-2.414A1 1 0 006.586 13H4"})})}function xn(r){/* @__PURE__ */
94
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.25 11.25l.041-.02a.75.75 0 011.063.852l-.708 2.836a.75.75 0 001.063.853l.041-.021M21 12a9 9 0 11-18 0 9 9 0 0118 0zm-9-3.75h.008v.008H12V8.25z"})})}function gn(r){/* @__PURE__ */
95
+ return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M10 18a8 8 0 100-16 8 8 0 000 16zM9 9a1 1 0 012 0v4a1 1 0 11-2 0V9zm1-4a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})})}function wn(r){/* @__PURE__ */
96
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.429 9.75L2.25 12l4.179 2.25m0-4.5l5.571 3 5.571-3m-11.142 0L2.25 7.5 12 2.25l9.75 5.25-4.179 2.25m0 0L21.75 12l-4.179 2.25m0 0l4.179 2.25L12 21.75 2.25 16.5l4.179-2.25m11.142 0l-5.571 3-5.571-3"})})}function Cn(r){/* @__PURE__ */
97
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 3.75h4.5v16.5h-4.5zM11.25 3.75h9v4.5h-9z"})})}function Bn(r){/* @__PURE__ */
98
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M13.19 8.688a4.5 4.5 0 011.242 7.244l-4.5 4.5a4.5 4.5 0 01-6.364-6.364l1.757-1.757m13.35-.622l1.757-1.757a4.5 4.5 0 00-6.364-6.364l-4.5 4.5a4.5 4.5 0 001.242 7.244"})})}function jn(r){/* @__PURE__ */
99
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15.75 9V5.25A2.25 2.25 0 0013.5 3h-6a2.25 2.25 0 00-2.25 2.25v13.5A2.25 2.25 0 007.5 21h6a2.25 2.25 0 002.25-2.25V15m3 0l3-3m0 0l-3-3m3 3H9"})})}function An(r){/* @__PURE__ */
100
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75h16.5M3.75 12h16.5m-16.5 5.25h16.5"})})}function Vn(r){/* @__PURE__ */
101
+ return n("svg",{viewBox:"0 0 24 24",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function zn(r){/* @__PURE__ */
102
+ return n("svg",{viewBox:"0 0 24 24",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21.752 15.002A9.718 9.718 0 0118 15.75c-5.385 0-9.75-4.365-9.75-9.75 0-1.33.266-2.597.748-3.752A9.753 9.753 0 003 11.25C3 16.635 7.365 21 12.75 21a9.753 9.753 0 009.002-5.998z"})})}function Hn(o){/* @__PURE__ */
102
103
  return r("svg",{viewBox:"0 0 24 24",fill:"currentColor",...o,children:[
103
104
  /* @__PURE__ */n("circle",{cx:"12",cy:"5",r:"1.4"}),
104
105
  /* @__PURE__ */n("circle",{cx:"12",cy:"12",r:"1.4"}),
105
- /* @__PURE__ */n("circle",{cx:"12",cy:"19",r:"1.4"})]})}function Hn(r){/* @__PURE__ */
106
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728L5.636 5.636m12.728 12.728L21 21M5.636 5.636L3 3m9 9a9 9 0 110-18 9 9 0 010 18z"})})}function yn(r){/* @__PURE__ */
107
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})})}function Rn(o){/* @__PURE__ */
106
+ /* @__PURE__ */n("circle",{cx:"12",cy:"19",r:"1.4"})]})}function yn(r){/* @__PURE__ */
107
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M18.364 18.364A9 9 0 005.636 5.636m12.728 12.728L5.636 5.636m12.728 12.728L21 21M5.636 5.636L3 3m9 9a9 9 0 110-18 9 9 0 010 18z"})})}function Rn(r){/* @__PURE__ */
108
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 00-3.375-3.375h-1.5A1.125 1.125 0 0113.5 7.125v-1.5a3.375 3.375 0 00-3.375-3.375H8.25m2.25 0H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 00-9-9z"})})}function Zn(o){/* @__PURE__ */
108
109
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
109
110
  /* @__PURE__ */n("path",{d:"M14 3H7a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V8z"}),
110
- /* @__PURE__ */n("path",{d:"M14 3v5h5"})]})}function Zn(r){/* @__PURE__ */
111
- return n("svg",{viewBox:"0 0 10 10",...r,children:/* @__PURE__ */n("path",{d:"M2 1.5h2.3v7H2zM5.7 1.5H8v7H5.7z"})})}function Wn(r){/* @__PURE__ */
112
- return n("svg",{viewBox:"0 0 10 10",...r,children:/* @__PURE__ */n("path",{d:"M2 1.2 8.4 5 2 8.8z"})})}function Sn(r){/* @__PURE__ */
113
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.72 13.829c-.24.03-.48.062-.72.096m.72-.096a42.415 42.415 0 0110.56 0m-10.56 0L6.34 18m10.94-4.171c.24.03.48.062.72.096m-.72-.096L17.66 18m0 0l.229 2.523a1.125 1.125 0 01-1.12 1.227H7.231c-.662 0-1.18-.568-1.12-1.227L6.34 18m11.318 0h1.091A2.25 2.25 0 0021 15.75V9.456c0-1.081-.768-2.015-1.837-2.175a48.055 48.055 0 00-1.913-.247M6.34 18H5.25A2.25 2.25 0 013 15.75V9.456c0-1.081.768-2.015 1.837-2.175a48.041 48.041 0 011.913-.247m10.5 0a48.536 48.536 0 00-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v3.659M18 10.5h.008v.008H18V10.5zm-3 0h.008v.008H15V10.5z"})})}function bn(r){/* @__PURE__ */
114
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992V4.356M2.985 19.644v-4.992h4.992M3.05 9.348a9 9 0 0114.85-3.36L21.015 9.348m0 5.304a9 9 0 01-14.85 3.36l-3.115-3.36"})})}function qn(r){/* @__PURE__ */
115
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h5M20 20v-5h-5M5.5 9A7 7 0 0 1 17 6.5M18.5 15A7 7 0 0 1 7 17.5"})})}function Dn(r){/* @__PURE__ */
116
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15"})})}function En(r){/* @__PURE__ */
117
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})})}function Fn(r){/* @__PURE__ */
118
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M9 3.5a5.5 5.5 0 1 0 3.36 9.85l3.14 3.15a.75.75 0 1 0 1.06-1.06l-3.15-3.14A5.5 5.5 0 0 0 9 3.5ZM5 9a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z",clipRule:"evenodd"})})}function Gn(o){/* @__PURE__ */
111
+ /* @__PURE__ */n("path",{d:"M14 3v5h5"})]})}function Wn(r){/* @__PURE__ */
112
+ return n("svg",{viewBox:"0 0 10 10",...r,children:/* @__PURE__ */n("path",{d:"M2 1.5h2.3v7H2zM5.7 1.5H8v7H5.7z"})})}function Sn(r){/* @__PURE__ */
113
+ return n("svg",{viewBox:"0 0 10 10",...r,children:/* @__PURE__ */n("path",{d:"M2 1.2 8.4 5 2 8.8z"})})}function bn(r){/* @__PURE__ */
114
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6.72 13.829c-.24.03-.48.062-.72.096m.72-.096a42.415 42.415 0 0110.56 0m-10.56 0L6.34 18m10.94-4.171c.24.03.48.062.72.096m-.72-.096L17.66 18m0 0l.229 2.523a1.125 1.125 0 01-1.12 1.227H7.231c-.662 0-1.18-.568-1.12-1.227L6.34 18m11.318 0h1.091A2.25 2.25 0 0021 15.75V9.456c0-1.081-.768-2.015-1.837-2.175a48.055 48.055 0 00-1.913-.247M6.34 18H5.25A2.25 2.25 0 013 15.75V9.456c0-1.081.768-2.015 1.837-2.175a48.041 48.041 0 011.913-.247m10.5 0a48.536 48.536 0 00-10.5 0m10.5 0V3.375c0-.621-.504-1.125-1.125-1.125h-8.25c-.621 0-1.125.504-1.125 1.125v3.659M18 10.5h.008v.008H18V10.5zm-3 0h.008v.008H15V10.5z"})})}function qn(r){/* @__PURE__ */
115
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992V4.356M2.985 19.644v-4.992h4.992M3.05 9.348a9 9 0 0114.85-3.36L21.015 9.348m0 5.304a9 9 0 01-14.85 3.36l-3.115-3.36"})})}function Dn(r){/* @__PURE__ */
116
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h5M20 20v-5h-5M5.5 9A7 7 0 0 1 17 6.5M18.5 15A7 7 0 0 1 7 17.5"})})}function En(r){/* @__PURE__ */
117
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 12h-15"})})}function Fn(r){/* @__PURE__ */
118
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"})})}function Gn(r){/* @__PURE__ */
119
+ return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M9 3.5a5.5 5.5 0 1 0 3.36 9.85l3.14 3.15a.75.75 0 1 0 1.06-1.06l-3.15-3.14A5.5 5.5 0 0 0 9 3.5ZM5 9a4 4 0 1 1 8 0 4 4 0 0 1-8 0Z",clipRule:"evenodd"})})}function In(o){/* @__PURE__ */
119
120
  return r("svg",{viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",...o,children:[
120
121
  /* @__PURE__ */n("circle",{cx:"9",cy:"9",r:"6"}),
121
- /* @__PURE__ */n("path",{d:"M14 14l3 3",strokeLinecap:"round"})]})}function In(o){/* @__PURE__ */
122
+ /* @__PURE__ */n("path",{d:"M14 14l3 3",strokeLinecap:"round"})]})}function Jn(o){/* @__PURE__ */
122
123
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
123
124
  /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.594 3.94c.09-.542.56-.94 1.11-.94h2.593c.55 0 1.02.398 1.11.94l.213 1.281c.063.374.313.686.645.87.074.04.147.083.22.127.324.196.72.257 1.075.124l1.217-.456a1.125 1.125 0 011.37.49l1.296 2.247a1.125 1.125 0 01-.26 1.431l-1.003.827c-.293.24-.438.613-.431.992a6.759 6.759 0 010 .255c-.007.378.138.75.43.99l1.005.828c.424.35.534.954.26 1.43l-1.298 2.247a1.125 1.125 0 01-1.369.491l-1.217-.456c-.355-.133-.75-.072-1.076.124a6.57 6.57 0 01-.22.128c-.331.183-.581.495-.644.869l-.213 1.28c-.09.543-.56.941-1.11.941h-2.594c-.55 0-1.02-.398-1.11-.94l-.213-1.281c-.062-.374-.312-.686-.644-.87a6.52 6.52 0 01-.22-.127c-.325-.196-.72-.257-1.076-.124l-1.217.456a1.125 1.125 0 01-1.369-.49l-1.297-2.247a1.125 1.125 0 01.26-1.431l1.004-.827c.292-.24.437-.613.43-.992a6.932 6.932 0 010-.255c.007-.378-.138-.75-.43-.99l-1.004-.828a1.125 1.125 0 01-.26-1.43l1.297-2.247a1.125 1.125 0 011.37-.491l1.216.456c.356.133.751.072 1.076-.124.072-.044.146-.087.22-.128.332-.183.582-.495.644-.869l.214-1.281z"}),
124
- /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function Jn(r){/* @__PURE__ */
125
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"})})}function Kn(r){/* @__PURE__ */
126
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"})})}function Nn(r){/* @__PURE__ */
127
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})})}function On(o){/* @__PURE__ */
125
+ /* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})]})}function Kn(r){/* @__PURE__ */
126
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.48 3.499a.562.562 0 011.04 0l2.125 5.111a.563.563 0 00.475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 00-.182.557l1.285 5.385a.562.562 0 01-.84.61l-4.725-2.885a.563.563 0 00-.586 0L6.982 20.54a.562.562 0 01-.84-.61l1.285-5.386a.562.562 0 00-.182-.557l-4.204-3.602a.563.563 0 01.321-.988l5.518-.442a.563.563 0 00.475-.345L11.48 3.5z"})})}function Nn(r){/* @__PURE__ */
127
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.53 16.122a3 3 0 00-5.78 1.128 2.25 2.25 0 01-2.4 2.245 4.5 4.5 0 008.4-2.245c0-.399-.078-.78-.22-1.128zm0 0a15.998 15.998 0 003.388-1.62m-5.043-.025a15.994 15.994 0 011.622-3.395m3.42 3.42a15.995 15.995 0 004.764-4.648l3.876-5.814a1.151 1.151 0 00-1.597-1.597L14.146 6.32a15.996 15.996 0 00-4.649 4.763m3.42 3.42a6.776 6.776 0 00-3.42-3.42"})})}function On(r){/* @__PURE__ */
128
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"})})}function Pn(o){/* @__PURE__ */
128
129
  return r("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...o,children:[
129
130
  /* @__PURE__ */n("path",{d:"M12 15V4"}),
130
131
  /* @__PURE__ */n("path",{d:"M8 8l4-4 4 4"}),
131
- /* @__PURE__ */n("path",{d:"M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3"})]})}function Pn(r){/* @__PURE__ */
132
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M7.5 7.5L12 3m0 0l4.5 4.5M12 3v13.5"})})}function Qn(r){/* @__PURE__ */
133
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})})}function Tn(r){/* @__PURE__ */
134
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m0 3.75h.008M10.34 3.94l-8.4 14.55A1.5 1.5 0 003.24 21h17.52a1.5 1.5 0 001.3-2.51l-8.4-14.55a1.5 1.5 0 00-2.6 0z"})})}function Un(r){/* @__PURE__ */
135
- return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M8.3 2.8a2 2 0 013.4 0l6 10A2 2 0 0116 16H4a2 2 0 01-1.7-3.2l6-10zM10 7a1 1 0 00-1 1v3a1 1 0 102 0V8a1 1 0 00-1-1zm0 7a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})})}function Xn(r){/* @__PURE__ */
136
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75A2.25 2.25 0 016 4.5h12a2.25 2.25 0 012.25 2.25v10.5A2.25 2.25 0 0118 19.5H6a2.25 2.25 0 01-2.25-2.25V6.75z M3.75 9h16.5"})})}function Yn(r){/* @__PURE__ */
137
- return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607zM10.5 7.5v6m3-3h-6"})})}export{o as AccountFallback,i as AddCircleFallback,e as AddFallback,t as AddFallbackB,l as AdjustFallback,c as ArrowLeftFallback,u as ArrowRightFallback,d as ArrowRightFallbackB,a as AttachFallback,s as BellFallback,h as BookmarkFallback,v as BookmarkFallbackB,k as BookmarkSquareFallback,L as CameraFallback,f as CameraFallbackB,p as ChartBarFallback,w as CheckCircleFallback,C as CheckCircleFallbackB,M as CheckFallback,m as CheckFallbackB,x as CheckFallbackC,g as CheckFallbackD,B as ChevronDoubleLeftFallback,j as ChevronDoubleRightFallback,A as ChevronDownFallback,V as ChevronDownFallbackB,z as ChevronDownFallbackC,H as ChevronLeftFallback,y as ChevronLeftFallbackB,R as ChevronRightFallback,Z as ChevronRightFallbackB,W as ChevronRightFallbackC,b as ChevronUpDownFallback,S as ChevronUpFallback,G as CloseCircleFallback,I as CloseCircleFallbackB,q as CloseFallback,D as CloseFallbackB,E as CloseFallbackC,F as CloseFallbackD,J as CodeFallback,K as CollapseFallback,N as CopyFallback,O as CopyFallbackB,P as DateFallback,Q as DateFallbackB,T as DesktopFallback,U as DownloadFallback,X as DuplicateFallback,Y as EditFallback,$ as EmailFallback,_ as ErrorFallback,nn as ExpandFallback,rn as ExpandFallbackB,on as ExternalFallback,en as EyeFallback,tn as EyeOffFallback,ln as FolderFallback,cn as FolderFallbackB,un as FolderOpenFallback,dn as FolderPlusFallback,an as GlobeFallback,sn as GlobeFallbackB,hn as GridFallback,vn as GridFallbackB,kn as GridFallbackC,Ln as HelpFallback,fn as HomeFallback,pn as ImageFallback,Mn as InboxFallback,mn as InfoFallback,xn as InfoFallbackB,gn as LayersFallback,wn as LayoutFallback,Cn as LinkFallback,Bn as LogoutFallback,jn as MenuFallback,An as MoonFallback,Vn as MoonFallbackB,zn as MoreVerticalFallback,Hn as NoSymbolFallback,yn as PageFallback,Rn as PageFallbackB,Zn as PauseFallback,Wn as PlayFallback,Sn as PrintFallback,bn as RefreshFallback,qn as RefreshFallbackB,Dn as RemoveFallback,En as SearchFallback,Fn as SearchFallbackB,Gn as SearchFallbackC,In as SettingsFallback,Jn as StarFallback,Kn as StylesFallback,Nn as TrashFallback,On as UploadFallback,Pn as UploadFallbackB,Qn as WarningFallback,Tn as WarningFallbackB,Un as WarningFallbackC,Xn as WindowFallback,Yn as ZoomInFallback};
132
+ /* @__PURE__ */n("path",{d:"M4 15v3a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-3"})]})}function Qn(r){/* @__PURE__ */
133
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M7.5 7.5L12 3m0 0l4.5 4.5M12 3v13.5"})})}function Tn(r){/* @__PURE__ */
134
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"})})}function Un(r){/* @__PURE__ */
135
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m0 3.75h.008M10.34 3.94l-8.4 14.55A1.5 1.5 0 003.24 21h17.52a1.5 1.5 0 001.3-2.51l-8.4-14.55a1.5 1.5 0 00-2.6 0z"})})}function Xn(r){/* @__PURE__ */
136
+ return n("svg",{viewBox:"0 0 20 20",fill:"currentColor",...r,children:/* @__PURE__ */n("path",{fillRule:"evenodd",d:"M8.3 2.8a2 2 0 013.4 0l6 10A2 2 0 0116 16H4a2 2 0 01-1.7-3.2l6-10zM10 7a1 1 0 00-1 1v3a1 1 0 102 0V8a1 1 0 00-1-1zm0 7a1 1 0 100 2 1 1 0 000-2z",clipRule:"evenodd"})})}function Yn(r){/* @__PURE__ */
137
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3.75 6.75A2.25 2.25 0 016 4.5h12a2.25 2.25 0 012.25 2.25v10.5A2.25 2.25 0 0118 19.5H6a2.25 2.25 0 01-2.25-2.25V6.75z M3.75 9h16.5"})})}function $n(r){/* @__PURE__ */
138
+ return n("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",...r,children:/* @__PURE__ */n("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607zM10.5 7.5v6m3-3h-6"})})}export{o as AccountFallback,i as AddCircleFallback,e as AddFallback,t as AddFallbackB,l as AdjustFallback,c as ArrowLeftFallback,u as ArrowRightFallback,d as ArrowRightFallbackB,a as AttachFallback,s as BellFallback,h as BookmarkFallback,v as BookmarkFallbackB,k as BookmarkSquareFallback,L as CameraFallback,f as CameraFallbackB,p as ChartBarFallback,w as CheckCircleFallback,C as CheckCircleFallbackB,M as CheckFallback,m as CheckFallbackB,x as CheckFallbackC,g as CheckFallbackD,B as ChevronDoubleLeftFallback,j as ChevronDoubleRightFallback,A as ChevronDownFallback,V as ChevronDownFallbackB,z as ChevronDownFallbackC,H as ChevronLeftFallback,y as ChevronLeftFallbackB,R as ChevronRightFallback,Z as ChevronRightFallbackB,W as ChevronRightFallbackC,q as ChevronUpDownFallback,b as ChevronUpFallback,I as CloseCircleFallback,J as CloseCircleFallbackB,D as CloseFallback,E as CloseFallbackB,F as CloseFallbackC,G as CloseFallbackD,K as CodeFallback,N as CollapseFallback,O as CopyFallback,P as CopyFallbackB,S as CornerFallback,Q as DateFallback,T as DateFallbackB,U as DesktopFallback,X as DownloadFallback,Y as DuplicateFallback,$ as EditFallback,_ as EmailFallback,nn as ErrorFallback,rn as ExpandFallback,on as ExpandFallbackB,en as ExternalFallback,tn as EyeFallback,ln as EyeOffFallback,cn as FolderFallback,un as FolderFallbackB,dn as FolderOpenFallback,an as FolderPlusFallback,sn as GlobeFallback,hn as GlobeFallbackB,vn as GridFallback,kn as GridFallbackB,Ln as GridFallbackC,fn as HelpFallback,pn as HomeFallback,Mn as ImageFallback,mn as InboxFallback,xn as InfoFallback,gn as InfoFallbackB,wn as LayersFallback,Cn as LayoutFallback,Bn as LinkFallback,jn as LogoutFallback,An as MenuFallback,Vn as MoonFallback,zn as MoonFallbackB,Hn as MoreVerticalFallback,yn as NoSymbolFallback,Rn as PageFallback,Zn as PageFallbackB,Wn as PauseFallback,Sn as PlayFallback,bn as PrintFallback,qn as RefreshFallback,Dn as RefreshFallbackB,En as RemoveFallback,Fn as SearchFallback,Gn as SearchFallbackB,In as SearchFallbackC,Jn as SettingsFallback,Kn as StarFallback,Nn as StylesFallback,On as TrashFallback,Pn as UploadFallback,Qn as UploadFallbackB,Tn as WarningFallback,Un as WarningFallbackB,Xn as WarningFallbackC,Yn as WindowFallback,$n as ZoomInFallback};
@@ -1,4 +1,4 @@
1
- import{Modal as e}from"./chunk-TLTFS2D6.js";import{keepsNativeMenu as a}from"./chunk-HIAHERCD.js";import{jsx as i,jsxs as n}from"react/jsx-runtime";var t={activeOpacity:70,inactiveOpacity:50,activeBlur:0,inactiveBlur:0};function r(e){try{const a=JSON.parse(localStorage.getItem(e)||"");return null!=a.blur&&null==a.activeBlur&&(a.activeBlur=a.blur,a.inactiveBlur=a.blur,delete a.blur),{...t,...a}}catch{return t}}function l({open:t,onClose:r,title:l,appearance:c,onAppearanceChange:s,onSave:d,children:o}){if(!t)return null;const u="w-full h-1.5 rounded-full appearance-none bg-gray-200 cursor-pointer accent-blue-500",p="flex items-center justify-between text-xs text-gray-500";/* @__PURE__ */
1
+ import{Modal as e}from"./chunk-VWBQ2P5G.js";import{keepsNativeMenu as a}from"./chunk-RMJZOKHY.js";import{jsx as i,jsxs as n}from"react/jsx-runtime";var t={activeOpacity:70,inactiveOpacity:50,activeBlur:0,inactiveBlur:0};function r(e){try{const a=JSON.parse(localStorage.getItem(e)||"");return null!=a.blur&&null==a.activeBlur&&(a.activeBlur=a.blur,a.inactiveBlur=a.blur,delete a.blur),{...t,...a}}catch{return t}}function l({open:t,onClose:r,title:l,appearance:c,onAppearanceChange:s,onSave:d,children:o}){if(!t)return null;const u="w-full h-1.5 rounded-full appearance-none bg-gray-200 cursor-pointer accent-blue-500",p="flex items-center justify-between text-xs text-gray-500";/* @__PURE__ */
2
2
  return i("div",{onPointerDown:e=>e.stopPropagation(),onContextMenu:e=>{e.stopPropagation(),a(e.target)||e.preventDefault()},children:/* @__PURE__ */i(e,{open:t,onClose:r,title:l,size:"sm",children:/* @__PURE__ */n("div",{className:"space-y-4",children:[o,
3
3
  /* @__PURE__ */n("div",{children:[
4
4
  /* @__PURE__ */i("h3",{className:"text-sm font-semibold text-gray-700 mb-3",children:"Appearance"}),
@@ -0,0 +1 @@
1
+ var r="50% 50%",t=1,n=10,e=r=>r<0?0:r>100?100:Math.round(r);function u(r){const t=String(r??"").trim().split(/\s+/);if(2!==t.length)return{x:50,y:50};const n=r=>{const t=/^(-?\d+(?:\.\d+)?)%$/.exec(r);return t?Number(t[1]):null},u=n(t[0]),o=n(t[1]);return null===u||null===o?{x:50,y:50}:{x:e(u),y:e(o)}}function o(r,t){return`${e(r)}% ${e(t)}%`}function c(r,t,n=!1){const e=n?10:1,{x:c,y:i}=u(r);switch(t){case"ArrowLeft":return o(c-e,i);case"ArrowRight":return o(c+e,i);case"ArrowUp":return o(c,i-e);case"ArrowDown":return o(c,i+e);default:return null}}function i(r,t,n){return r.width>0&&r.height>0?{x:e((t-r.left)/r.width*100),y:e((n-r.top)/r.height*100)}:{x:50,y:50}}export{r as FOCAL_DEFAULT,n as FOCAL_NUDGE_COARSE,t as FOCAL_NUDGE_STEP,i as focalFromRect,o as formatFocal,c as nudgeFocal,u as parseFocal};
@@ -1 +1 @@
1
- import{DEFAULT_SHELL_STRINGS as e,useShellStrings as t}from"./chunk-AJB5G52B.js";import{useRef as r,useState as n,useCallback as s}from"react";import{jsx as a}from"react/jsx-runtime";function o(e,t){const r=(t??"").split(",").map(e=>e.trim().toLocaleLowerCase()).filter(Boolean);if(0===r.length||r.includes("*")||r.includes("*/*"))return!0;const n=e.name.toLocaleLowerCase(),s=e.type.toLocaleLowerCase();return r.some(e=>e.startsWith(".")?n.endsWith(e):e.endsWith("/*")?s.startsWith(e.slice(0,-1)):s===e)}var l=(t,r=e.files)=>t<1024?r.bytes(t):t<1048576?r.kilobytes(Math.round(t/1024)):r.megabytes(t/1048576),i=e=>Array.from(e.dataTransfer?.types??[]).includes("Files");function c({onAccept:e,accept:a,maxSizeBytes:c,maxFiles:u,multiple:f=!0,currentCount:p=0,acceptHint:m,disabled:d=!1}){const h=t().files,g=r(null),[y,x]=n(!1),[v,D]=n([]),A=r(0),L="string"==typeof m?m:"",b=s(t=>{if(d||!t)return;const r=Array.from(t);if(0===r.length)return;const n=[],s=[];for(const e of f?r:r.slice(0,1))o(e,a)?null!=c&&e.size>c?s.push({file:e,reason:"size",message:h.tooLarge(e.name,l(e.size,h),l(c,h))}):f&&null!=u&&p+n.length>=u?s.push({file:e,reason:"count",message:h.tooMany(e.name,u)}):n.push(e):s.push({file:e,reason:"type",message:h.notAccepted(e.name,L)});D(s),n.length&&e(n),g.current&&(g.current.value="")},[d,f,a,L,c,u,p,e,h]),j=s(()=>{d||g.current?.click()},[d]),k=s(()=>D([]),[]);return{inputRef:g,inputProps:{ref:g,type:"file",accept:a||void 0,multiple:f,disabled:d,tabIndex:-1,"aria-hidden":!0,className:"hidden",onChange:e=>b(e.target.files)},zoneProps:d?{}:{onDragEnter:e=>{i(e)&&(e.preventDefault(),A.current+=1,x(!0))},onDragOver:e=>{i(e)&&(e.preventDefault(),y||x(!0))},onDragLeave:e=>{i(e)&&(A.current=Math.max(0,A.current-1),0===A.current&&x(!1))},onDrop:e=>{i(e)&&(e.preventDefault(),A.current=0,x(!1),b(e.dataTransfer.files))}},pasteProps:d?{}:{onPaste:e=>{const t=function(e){const t=e.clipboardData;if(!t)return[];if(t.files&&t.files.length>0)return Array.from(t.files);const r=[];for(const e of Array.from(t.items??[]))if("file"===e.kind){const t=e.getAsFile();t&&r.push(t)}return r}(e);0!==t.length&&(e.preventDefault(),b(t))}},open:j,take:b,dragOver:y,rejections:v,clearRejections:k}}function u({rejections:e,className:t="mt-2"}){return 0===e.length?null:/* @__PURE__ */a("ul",{role:"alert",className:`${t} flex flex-col gap-0.5`,children:e.map(({file:e,message:t},r)=>/* @__PURE__ */a("li",{className:"text-xs text-red-600",children:t},`${e.name}-${r}`))})}export{u as FileIntakeAlert,o as acceptsFile,l as humanSize,c as useFileIntake};
1
+ import{DEFAULT_SHELL_STRINGS as e,useShellStrings as t}from"./chunk-TNBCUZVE.js";import{useRef as r,useState as n,useCallback as s}from"react";import{jsx as a}from"react/jsx-runtime";function o(e,t){const r=(t??"").split(",").map(e=>e.trim().toLocaleLowerCase()).filter(Boolean);if(0===r.length||r.includes("*")||r.includes("*/*"))return!0;const n=e.name.toLocaleLowerCase(),s=e.type.toLocaleLowerCase();return r.some(e=>e.startsWith(".")?n.endsWith(e):e.endsWith("/*")?s.startsWith(e.slice(0,-1)):s===e)}var l=(t,r=e.files)=>t<1024?r.bytes(t):t<1048576?r.kilobytes(Math.round(t/1024)):r.megabytes(t/1048576),i=e=>Array.from(e.dataTransfer?.types??[]).includes("Files");function c({onAccept:e,accept:a,maxSizeBytes:c,maxFiles:u,multiple:f=!0,currentCount:p=0,acceptHint:m,disabled:d=!1}){const h=t().files,g=r(null),[y,x]=n(!1),[v,D]=n([]),L=r(0),b="string"==typeof m?m:"",A=s(t=>{if(d||!t)return;const r=Array.from(t);if(0===r.length)return;const n=[],s=[];for(const e of f?r:r.slice(0,1))o(e,a)?null!=c&&e.size>c?s.push({file:e,reason:"size",message:h.tooLarge(e.name,l(e.size,h),l(c,h))}):f&&null!=u&&p+n.length>=u?s.push({file:e,reason:"count",message:h.tooMany(e.name,u)}):n.push(e):s.push({file:e,reason:"type",message:h.notAccepted(e.name,b)});D(s),n.length&&e(n),g.current&&(g.current.value="")},[d,f,a,b,c,u,p,e,h]),C=s(()=>{d||g.current?.click()},[d]),j=s(()=>D([]),[]);return{inputRef:g,inputProps:{ref:g,type:"file",accept:a||void 0,multiple:f,disabled:d,tabIndex:-1,"aria-hidden":!0,className:"hidden",onChange:e=>A(e.target.files)},zoneProps:d?{}:{onDragEnter:e=>{i(e)&&(e.preventDefault(),L.current+=1,x(!0))},onDragOver:e=>{i(e)&&(e.preventDefault(),y||x(!0))},onDragLeave:e=>{i(e)&&(L.current=Math.max(0,L.current-1),0===L.current&&x(!1))},onDrop:e=>{i(e)&&(e.preventDefault(),L.current=0,x(!1),A(e.dataTransfer.files))}},pasteProps:d?{}:{onPaste:e=>{const t=function(e){const t=e.clipboardData;if(!t)return[];if(t.files&&t.files.length>0)return Array.from(t.files);const r=[];for(const e of Array.from(t.items??[]))if("file"===e.kind){const t=e.getAsFile();t&&r.push(t)}return r}(e);0!==t.length&&(e.preventDefault(),A(t))}},open:C,take:A,dragOver:y,rejections:v,clearRejections:j}}function u({rejections:e,className:t="mt-2"}){return 0===e.length?null:/* @__PURE__ */a("ul",{role:"alert",className:`${t} flex flex-col gap-0.5`,children:e.map(({file:e,message:t},r)=>/* @__PURE__ */a("li",{className:"text-xs text-red-600",children:t},`${e.name}-${r}`))})}export{u as FileIntakeAlert,o as acceptsFile,l as humanSize,c as useFileIntake};
@@ -1,4 +1,4 @@
1
- import{ChevronRightFallbackC as e}from"./chunk-JJIPGAXI.js";import{useShellStrings as i}from"./chunk-AJB5G52B.js";import{Icon as t}from"./chunk-YKZHOXI4.js";import{Fragment as a}from"react";import{jsx as n,jsxs as s}from"react/jsx-runtime";var r=/* @__PURE__ */n(t,{name:"chevron-right",fallback:e,className:"h-3.5 w-3.5 shrink-0 text-gray-300","aria-hidden":!0}),l="inline-flex min-w-0 items-center gap-1 truncate rounded px-1 -mx-1 text-gray-500 transition-colors hover:text-gray-900 hover:underline rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]";function c({items:e,separator:t,maxItems:c=0,className:m}){const o=i().breadcrumbs;if(0===e.length)return null;const h=t??r,d=[],u=e.length-1;if(c>0&&e.length>c&&c>=2){const i=Math.max(1,c-1);d.push({kind:"item",item:e[0],isLast:!1}),d.push({kind:"ellipsis"});for(let t=e.length-i;t<=u;t++)d.push({kind:"item",item:e[t],isLast:t===u})}else e.forEach((e,i)=>d.push({kind:"item",item:e,isLast:i===u}));/* @__PURE__ */
1
+ import{ChevronRightFallbackC as e}from"./chunk-6LTDJKIL.js";import{Icon as i}from"./chunk-XWSWYMGM.js";import{useShellStrings as t}from"./chunk-TNBCUZVE.js";import{Fragment as a}from"react";import{jsx as n,jsxs as s}from"react/jsx-runtime";var r=/* @__PURE__ */n(i,{name:"chevron-right",fallback:e,className:"h-3.5 w-3.5 shrink-0 text-gray-300","aria-hidden":!0}),l="inline-flex min-w-0 items-center gap-1 truncate rounded px-1 -mx-1 text-gray-500 transition-colors hover:text-gray-900 hover:underline rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-solid)]";function c({items:e,separator:i,maxItems:c=0,className:m}){const o=t().breadcrumbs;if(0===e.length)return null;const h=i??r,d=[],u=e.length-1;if(c>0&&e.length>c&&c>=2){const i=Math.max(1,c-1);d.push({kind:"item",item:e[0],isLast:!1}),d.push({kind:"ellipsis"});for(let t=e.length-i;t<=u;t++)d.push({kind:"item",item:e[t],isLast:t===u})}else e.forEach((e,i)=>d.push({kind:"item",item:e,isLast:i===u}));/* @__PURE__ */
2
2
  return n("nav",{"aria-label":o.label,className:`min-w-0 ${m??""}`,children:/* @__PURE__ */n("ol",{className:"flex items-center gap-1.5 text-sm",children:d.map((e,i)=>/* @__PURE__ */s(a,{children:[i>0&&/* @__PURE__ */n("li",{"aria-hidden":!0,className:"flex items-center",children:h}),
3
3
  /* @__PURE__ */n("li",{className:"flex min-w-0 items-center",children:"ellipsis"===e.kind?/* @__PURE__ */n("span",{className:"px-0.5 text-gray-400 select-none","aria-label":o.hidden,children:"…"}):e.isLast||!e.item.href&&!e.item.onClick?/* @__PURE__ */s("span",{"aria-current":e.isLast?"page":void 0,className:"inline-flex min-w-0 items-center gap-1 truncate "+(e.isLast?"font-medium text-gray-900":"text-gray-500"),children:[e.item.icon,
4
4
  /* @__PURE__ */n("span",{className:"truncate",children:e.item.label})]}):e.item.href?/* @__PURE__ */s("a",{href:e.item.href,onClick:e.item.onClick,className:l,children:[e.item.icon,
@@ -1,2 +1,2 @@
1
- import{ShellStringsProvider as t}from"./chunk-AJB5G52B.js";import{createContext as e,useEffect as a,useCallback as n,useMemo as r,useContext as l}from"react";import{jsx as o}from"react/jsx-runtime";var g={tag:"en",name:"English",locale:null},c="react-os-shell:language",u=t=>"string"==typeof t?t:t.tag;function i(t){try{const e=new Intl.Locale(t).maximize();return{language:e.language,script:e.script}}catch{return null}}function s(t,e){const a=e.map(u),n=t.toLowerCase(),r=a.find(t=>t.toLowerCase()===n);if(r)return r;const l=i(t);if(!l)return;const o=a.map(t=>({tag:t,parts:i(t)})).filter(t=>t.parts?.language===l.language);return(o.find(t=>t.parts?.script===l.script)??o[0])?.tag}function f(){try{return globalThis.localStorage?.getItem(c)??null}catch{return null}}function m(t){try{return globalThis.localStorage?.setItem(c,t),globalThis.localStorage?.getItem(c)===t}catch{return!1}}function h({offered:t,fallback:e,saved:a=f(),preferred:n=globalThis.navigator?.languages??[]}){const r=e??(t.length>0?u(t[0]):g.tag);if(a){const e=s(a,t);if(e)return e}for(const e of n){const a=s(e,t);if(a)return a}return r}var d=e({language:g.tag,languages:[g],setLanguage:async()=>{}}),p=()=>globalThis.location?.reload();function b({languages:e,language:l,strings:g,onChange:c,reload:u=p,children:i}){const s=e.find(t=>t.tag===l),f=s?void 0===s.locale?s.tag:s.locale??void 0:void 0;a(()=>{const t=globalThis.document?.documentElement;if(!t)return;const e=t.getAttribute("lang");return t.setAttribute("lang",l),()=>{null===e?t.removeAttribute("lang"):t.setAttribute("lang",e)}},[l]);const h=n(async t=>{if(t!==l&&e.some(e=>e.tag===t)){m(t);try{await(c?.(t))}catch{}u&&u()}},[l,e,c,u]),b=r(()=>({language:l,languages:e,setLanguage:h}),[l,e,h]);/* @__PURE__ */
1
+ import{ShellStringsProvider as t}from"./chunk-TNBCUZVE.js";import{createContext as e,useEffect as a,useCallback as n,useMemo as r,useContext as l}from"react";import{jsx as o}from"react/jsx-runtime";var g={tag:"en",name:"English",locale:null},c="react-os-shell:language",u=t=>"string"==typeof t?t:t.tag;function i(t){try{const e=new Intl.Locale(t).maximize();return{language:e.language,script:e.script}}catch{return null}}function s(t,e){const a=e.map(u),n=t.toLowerCase(),r=a.find(t=>t.toLowerCase()===n);if(r)return r;const l=i(t);if(!l)return;const o=a.map(t=>({tag:t,parts:i(t)})).filter(t=>t.parts?.language===l.language);return(o.find(t=>t.parts?.script===l.script)??o[0])?.tag}function f(){try{return globalThis.localStorage?.getItem(c)??null}catch{return null}}function m(t){try{return globalThis.localStorage?.setItem(c,t),globalThis.localStorage?.getItem(c)===t}catch{return!1}}function h({offered:t,fallback:e,saved:a=f(),preferred:n=globalThis.navigator?.languages??[]}){const r=e??(t.length>0?u(t[0]):g.tag);if(a){const e=s(a,t);if(e)return e}for(const e of n){const a=s(e,t);if(a)return a}return r}var d=e({language:g.tag,languages:[g],setLanguage:async()=>{}}),p=()=>globalThis.location?.reload();function b({languages:e,language:l,strings:g,onChange:c,reload:u=p,children:i}){const s=e.find(t=>t.tag===l),f=s?void 0===s.locale?s.tag:s.locale??void 0:void 0;a(()=>{const t=globalThis.document?.documentElement;if(!t)return;const e=t.getAttribute("lang");return t.setAttribute("lang",l),()=>{null===e?t.removeAttribute("lang"):t.setAttribute("lang",e)}},[l]);const h=n(async t=>{if(t!==l&&e.some(e=>e.tag===t)){m(t);try{await(c?.(t))}catch{}u&&u()}},[l,e,c,u]),b=r(()=>({language:l,languages:e,setLanguage:h}),[l,e,h]);/* @__PURE__ */
2
2
  return o(d.Provider,{value:b,children:/* @__PURE__ */o(t,{value:g,locale:f,children:i})})}function v(){return l(d)}export{g as ENGLISH,c as SHELL_LANGUAGE_STORAGE_KEY,b as ShellLanguageProvider,s as matchShellLanguage,f as readSavedShellLanguage,h as resolveShellLanguage,m as saveShellLanguage,v as useShellLanguage};