efficient-shell 13.16.0 → 13.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/README.md +1 -0
  2. package/dist/{Browser-4KWGT3FG.js → Browser-547OGMQH.js} +15 -15
  3. package/dist/Calculator-4UBMDAJO.js +29 -0
  4. package/dist/{CurrencyConverter-X5ENBDLK.js → CurrencyConverter-H3HHXXKT.js} +6 -6
  5. package/dist/{Files-NT76VUHQ.js → Files-GPPTZPDS.js} +68 -68
  6. package/dist/{Notepad-6AMNAYQQ.js → Notepad-GAZ7CZQB.js} +9 -9
  7. package/dist/PdfViewer-EELX35ZI.js +1 -0
  8. package/dist/{PomodoroTimer-KDXH5M3Q.js → PomodoroTimer-JVCYYGRD.js} +16 -16
  9. package/dist/{Preview-QNJD5PVD.js → Preview-GSD54EUE.js} +21 -21
  10. package/dist/{Stock-JR77FPOD.js → Stock-S266KGAF.js} +4 -4
  11. package/dist/{Weather-MGSDU3M5.js → Weather-TE4TTTQA.js} +19 -19
  12. package/dist/{WorldClock-GGAYPYIO.js → WorldClock-5TPBHBYA.js} +6 -6
  13. package/dist/ai/index.js +116 -116
  14. package/dist/apps/ImageAnnotator.js +1 -1
  15. package/dist/apps/index.js +1 -1
  16. package/dist/bin/browser-check.js +1 -1
  17. package/dist/bin/media-host-check.js +1 -1
  18. package/dist/bin/ui-check.js +1 -1
  19. package/dist/charts/BoxPlotChart.js +1 -1
  20. package/dist/charts/CandlestickChart.js +1 -1
  21. package/dist/charts/CartesianPlot.js +1 -1
  22. package/dist/charts/ColumnChart.js +1 -1
  23. package/dist/charts/FunnelChart.js +1 -1
  24. package/dist/charts/HeatmapChart.js +1 -1
  25. package/dist/charts/HistogramChart.js +1 -1
  26. package/dist/charts/PieChart.js +1 -1
  27. package/dist/charts/RadarChart.js +1 -1
  28. package/dist/charts/RadialBarChart.js +1 -1
  29. package/dist/charts/RangeChart.js +1 -1
  30. package/dist/charts/SankeyChart.js +1 -1
  31. package/dist/charts/ScatterChart.js +1 -1
  32. package/dist/charts/SpecChart.js +1 -1
  33. package/dist/charts/TimeSeriesChart.js +1 -1
  34. package/dist/charts/TreemapChart.js +1 -1
  35. package/dist/charts/WaterfallChart.js +1 -1
  36. package/dist/{chunk-QE2JX7D4.js → chunk-34HRPEQD.js} +1 -1
  37. package/dist/{chunk-OWAYSIQH.js → chunk-42DF7CDB.js} +5 -5
  38. package/dist/{chunk-IJJNJJ6I.js → chunk-5EHIWKUZ.js} +1 -1
  39. package/dist/{chunk-OEPQIIYL.js → chunk-63E4ZZYI.js} +1 -1
  40. package/dist/{chunk-CKTFXTJL.js → chunk-6OCA7RKQ.js} +1 -1
  41. package/dist/{chunk-VYHVIKP6.js → chunk-7SVSHJOO.js} +10 -10
  42. package/dist/{chunk-IJNQ2BUY.js → chunk-CILE3ZCC.js} +2 -2
  43. package/dist/{chunk-XHD6Q6JV.js → chunk-EFO72DEI.js} +1 -1
  44. package/dist/chunk-FRTDUHQF.js +1 -0
  45. package/dist/{chunk-YDFDTRZF.js → chunk-G7SILKUY.js} +5 -5
  46. package/dist/{chunk-J6QC45OS.js → chunk-HC5KQZFG.js} +5 -5
  47. package/dist/{chunk-OLSA36VX.js → chunk-KSK4VZIM.js} +6 -6
  48. package/dist/{chunk-N5KJLHYI.js → chunk-LADP6AJY.js} +5 -5
  49. package/dist/{chunk-W6NGPSMM.js → chunk-LGGATDPH.js} +17 -17
  50. package/dist/{chunk-PBSCF2ML.js → chunk-LNCAIY64.js} +5 -5
  51. package/dist/{chunk-IG3K6AGW.js → chunk-LUCO5PS6.js} +1 -1
  52. package/dist/chunk-M6UKCZHT.js +2 -0
  53. package/dist/{chunk-GNXAVDZD.js → chunk-OOGUQEPT.js} +1 -1
  54. package/dist/chunk-OUYGLDQN.js +24 -0
  55. package/dist/{chunk-NISLELJF.js → chunk-P4J26R5P.js} +1 -1
  56. package/dist/{chunk-NW5NSV7N.js → chunk-POQUUMRS.js} +2 -2
  57. package/dist/chunk-PTYB2GGI.js +1 -0
  58. package/dist/{chunk-7TJZ5AJE.js → chunk-QNXTVDIC.js} +6 -6
  59. package/dist/{chunk-PY4DTB6Y.js → chunk-QSJMLHBD.js} +1 -1
  60. package/dist/chunk-SM3N5UJ2.js +69 -0
  61. package/dist/{chunk-J4KPBR5B.js → chunk-TKCCJRPE.js} +1 -1
  62. package/dist/{chunk-YTDMCUL7.js → chunk-U5RG34NE.js} +10 -10
  63. package/dist/{chunk-23LK4PLJ.js → chunk-UGEA3C5C.js} +5 -5
  64. package/dist/chunk-VLX7L2AM.js +1 -0
  65. package/dist/{chunk-P5C7DI5A.js → chunk-WPGSU4QG.js} +5 -5
  66. package/dist/{chunk-75R3EKWZ.js → chunk-XD3M5ZXM.js} +3 -3
  67. package/dist/{chunk-WLBWACKP.js → chunk-XU4I2DMR.js} +2 -2
  68. package/dist/chunk-ZI2FDUYJ.js +99 -0
  69. package/dist/forms/MediaLibrary.js +1 -1
  70. package/dist/icons/brands.node.js +1 -1
  71. package/dist/icons/efficient-glyphs.js +1 -1
  72. package/dist/icons/efficient-looks.js +1 -1
  73. package/dist/icons/efficient.js +1 -1
  74. package/dist/icons/looks/map.js +1 -1
  75. package/dist/icons/payment.js +1 -1
  76. package/dist/icons/sets.js +1 -1
  77. package/dist/index.d.ts +1 -0
  78. package/dist/index.js +334 -334
  79. package/dist/pdf/index.js +1 -1
  80. package/dist/shell/FitFrame.d.ts +46 -0
  81. package/dist/shell/FitFrame.js +2 -0
  82. package/dist/shell/SidebarLayout.js +1 -1
  83. package/dist/telemetry/index.js +1 -1
  84. package/dist/templates/ChatTemplate.js +1 -1
  85. package/dist/templates/DashboardTemplate.js +1 -1
  86. package/dist/templates/EmailTemplate.js +1 -1
  87. package/dist/ui/index.d.ts +1 -0
  88. package/dist/ui/index.js +1 -1
  89. package/dist/version.js +1 -1
  90. package/package.json +1 -1
  91. package/dist/Calculator-VURS4NAT.js +0 -29
  92. package/dist/PdfViewer-PFQGQRQX.js +0 -1
  93. package/dist/chunk-6QKTQOEV.js +0 -69
  94. package/dist/chunk-74SCWPQF.js +0 -1
  95. package/dist/chunk-JFOMAXD2.js +0 -99
  96. package/dist/chunk-OMOAD5LL.js +0 -1
  97. package/dist/chunk-QAAHFU2I.js +0 -1
  98. package/dist/chunk-YGKLZBWC.js +0 -24
  99. /package/dist/{chunk-VG6BT2UG.js → chunk-YRQ5WGOM.js} +0 -0
@@ -1 +1 @@
1
- import{setBoundaryErrorReporter as e}from"./chunk-KNUR2UEG.js";import{VERSION as t}from"./chunk-QAAHFU2I.js";var n=-1,i=()=>n,a=e=>{addEventListener("pageshow",t=>{t.persisted&&(n=t.timeStamp,e(t))},!0)},r=(e,t,n,i)=>{let a,r;return o=>{var s,c;t.value>=0&&(o||i)&&(r=t.value-(a??0),(r||void 0===a)&&(a=t.value,t.delta=r,t.rating=(s=t.value)>(c=n)[1]?"poor":s>c[0]?"needs-improvement":"good",e(t)))}},o=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},s=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},c=()=>s()?.activationStart??0,d=-1,l=/* @__PURE__ */new Set,u=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,f=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(const e of l)e();isFinite(d)||(d="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",f,!0))}},h=(e=!1)=>{if(e&&(d=1/0),d<0){const e=c(),t=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(t=>"hidden"===t.name&&t.startTime>=e)?.startTime;d=t??u(),addEventListener("visibilitychange",f,!0),addEventListener("prerenderingchange",f,!0),a(()=>{setTimeout(()=>{d=u()})})}return{get firstHiddenTime(){return d},onHidden(e){l.add(e)}}},g=(e,t=-1,n,a=0,r,o,d)=>{const l=s(),u=l?.navigationId||0;let f="navigate";return n?f=n:i()>=0?f="back-forward-cache":l&&(document.prerendering||c()>0?f="prerender":document.wasDiscarded?f="restore":l.type&&(f=l.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:f,navigationId:a||u,navigationInteractionId:r,navigationURL:o||l?.name,navigationStartTime:d||0}},v=/* @__PURE__ */new WeakMap;function p(e,t){let n=v.get(t);return n||(n=/* @__PURE__ */new WeakMap,v.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var m,y=class{t;i=0;o=[];h(e){if(e.hadRecentInput)return;const t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},T=(e,t,n={})=>{try{const i=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(i.length>0){const e=new PerformanceObserver(e=>{queueMicrotask(()=>{const n=e.getEntries();i.length>1&&n.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(n)})});for(const t of i)e.observe({type:t,buffered:!0,...n});return e}}catch{}},w=e=>globalThis.PerformanceObserver?.supportedEntryTypes?.includes("soft-navigation")&&"function"==typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint&&e&&e.reportSoftNavs,I=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){const t=e.keys().next().value;void 0!==t&&e.delete(t)}},b=e=>{let t=!1;return()=>{t||(e(),t=!0)}},C=class{l},E=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},L=[1800,3e3],A=(e,t={})=>{const n=w(t);E(()=>{const s=p(t,C),d=h();let l,u=g("FCP");const f=T(["paint"],e=>{for(const t of e)"first-contentful-paint"===t.name&&(f.disconnect(),t.startTime<d.firstHiddenTime&&(u.value=Math.max(t.startTime-c(),0),u.entries.push(t),u.navigationId=t.navigationId||u.navigationId,l(!0)))});f&&(l=r(e,u,L,t.reportAllChanges),a(n=>{u=g("FCP",-1,"back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),l=r(e,u,L,t.reportAllChanges),o(()=>{u.value=performance.now()-n.timeStamp,l(!0)})})),n&&T(["soft-navigation"],n=>{n.forEach(n=>{s.l&&n.navigationId&&I(s.l,n);const i=Math.max((n.presentationTime||n.paintTime||0)-n.startTime,0);u=g("FCP",i,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),l=r(e,u,L,t.reportAllChanges),l(!0)})},t)})},P=[.1,.25],k=0,S=1/0,z=0,M=e=>{for(const t of e)t.interactionId&&(S=Math.min(S,t.interactionId),z=Math.max(z,t.interactionId),k=z?(z-S)/7+1:0)},$=()=>m?k:performance.interactionCount??0,_=class{u=0;v=[];m=/* @__PURE__ */new Map;p;T;_(){return $()-this.u}M(){this.u=$(),this.v.length=0,this.m.clear()}L(e){const t=this._(),n=Math.min(this.v.length-1,Math.floor(t/50));return!t||-1!==n||"soft-navigation"!==e&&"back-forward-cache"!==e?this.v[n]:{P:8,id:-1,entries:[]}}h(e){if(this.p?.(e),!e.interactionId)return;const t=this.v.at(-1);let n=this.m.get(e.interactionId);if(n||this.v.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.m.set(n.id,n),this.v.push(n)),this.v.sort((e,t)=>t.P-e.P),this.v.length>10){const e=this.v.splice(10);for(const t of e)this.m.delete(t.id)}this.T?.(n)}}},F=e=>{const t="requestIdleCallback"in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,i=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{const a=b(e);let r=-1;const o=()=>{i(r),a()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),r=n(()=>{removeEventListener("visibilitychange",o,{capture:!0}),a()},{timeout:t})}},Z=[200,500],R=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=h();E(()=>{"interactionCount"in performance||m||(m=T(["event"],M,{durationThreshold:0}));let o,s=g("INP");const c=p(t,_),d=(n,i,a,d,l)=>{c.M(),s=g("INP",-1,n,i,a,d,l),o=r(e,s,Z,t.reportAllChanges)},l=()=>{const e=c.L(s.navigationType);e&&e.P!==s.value&&(s.value=e.P,s.entries=e.entries,o())},u=e=>{l(),o(!0),d("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},f=(e,t=!1)=>{F(()=>{for(const t of e)"soft-navigation"!==t.entryType?c.h(t):u(t);l(),t&&o(!0)})},h=["event","first-input"];w(t)&&h.push("soft-navigation");const v=T(h,f,{...t,durationThreshold:t.durationThreshold??40});o=r(e,s,Z,t.reportAllChanges),v&&(n.onHidden(()=>{f(v.takeRecords(),!0)}),a(()=>{d("back-forward-cache",s.navigationId,s.navigationInteractionId,s.navigationURL,i())}))})},j=class{p;l;h(e){this.p?.(e)}},x=[2500,4e3],U=[800,1800],B=e=>{document.prerendering?E(()=>B(e)):"complete"!==document.readyState?addEventListener("load",()=>B(e),!0):setTimeout(e)};var N=/^[A-Za-z0-9/_:.\-[\]{}*@~]+$/,H=/^[A-Za-z_$][A-Za-z0-9_$.]*$/,O=/^[A-Za-z0-9][A-Za-z0-9.+_-]*$/;var q=class{constructor(e){this.head=e}head;events=[];waiting=/* @__PURE__ */new Map;seen=/* @__PURE__ */new Set;get size(){return this.events.length}addVital(e){this.events.push(e)}addError(e){const t=function(e){return e.frames.length?`${e.name}|${e.frames.join("|")}`:`${e.name}|${e.message.replace(/\d/g,"0")}`}(e),n=this.waiting.get(t);return n?(n.count=Math.min(1e3,n.count+e.count),!0):!(this.seen.has(t)||this.seen.size>=20)&&(this.seen.add(t),this.waiting.set(t,e),this.events.push(e),!0)}drain(){const e=this.events;this.events=[],this.waiting.clear();const t=[],n=JSON.stringify({...this.head,events:[]}).length;let i=[],a=n;for(const r of e){const e=JSON.stringify(r).length+1;n+e>30720||((50===i.length||a+e>30720)&&(t.push({...this.head,events:i}),i=[],a=n),i.push(r),a+=e)}return i.length&&t.push({...this.head,events:i}),t}},J=/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,K=/\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}(?:\.[A-Za-z0-9_-]*)?|\b[Bb]earer\s+[A-Za-z0-9._~+/=-]{8,}/g,V=/\b[a-z][a-z0-9+.-]*:\/\/\S+/gi,W=/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,D=/\d{4,}/g,G=/(^|[/:])(?:\d+|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[0-9a-f]{16,})(?=$|[/:])/gi,Q=/^[a-z][a-z0-9+.-]*:\/\/[^/]*/i,X=/(?:\(|@|\bat\s+)?((?:[a-z][a-z0-9+.-]*:\/\/|\/)[^\s()@]*?):(\d+):(\d+)\)?\s*$/i;function Y(e,t,n){const i=e.replace(Q,"").split(/[?#]/,1)[0];return i?`${i}:${t}:${n}`.slice(0,256):null}function ee(e){if("string"!=typeof e)return[];const t=[];for(const n of e.split("\n")){const e=X.exec(n.trim()),i=e&&Y(e[1],e[2],e[3]);if(i&&t.push(i),5===t.length)break}return t}function te(e){const t=e instanceof Error?e.name:void 0;return"string"==typeof t&&t.length<=64&&H.test(t)?t:"Error"}function ne(e){if("string"!=typeof e)return"unknown";const t=e.trim().replace(Q,"").split(/[?#]/,1)[0].replace(G,(e,t)=>":"===t?":id":`${t}:id`);return t&&t.length<=128&&!t.includes("//")&&N.test(t)?t:"unknown"}var ie={flush(){},reportError(){},stop(){}},ae=null,re=/* @__PURE__ */new Set(["LCP","FCP","TTFB"]);function oe(e,t,n){const i=function(e){if(e.anonymous)return{credentials:"omit",headers:{"Content-Type":"application/json"}};const t=e.getAccessToken();return t?{credentials:"same-origin",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`}}:null}(t);if(!i)return;const a=t.anonymous?"/api/storefront-analytics/web-vitals/":"/api/client-telemetry/web-batches/";n(t.endpoint??a,{...i,method:"POST",keepalive:!0,body:JSON.stringify(e)}).catch(e=>{console.debug("[efficient-shell] client telemetry batch dropped:",e)})}function se(e){((e,t={})=>{let n=!1;const s=w(t);E(()=>{let d,l=h(),u=g("LCP");const f=p(t,j),v=(i,a,o,s,c)=>{u=g("LCP",-1,i,a,o,s,c),d=r(e,u,x,t.reportAllChanges),n=!1,"soft-navigation"===i&&(l=h(!0))},m=e=>{f.l&&e.navigationId&&I(f.l,e),n||d(!0),v("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime);const t=e.getLargestInteractionContentfulPaint?.();t&&y([t])},y=e=>{t.reportAllChanges||s||(e=e.slice(-1));for(const t of e){if(!t)continue;if("soft-navigation"===t.entryType){m(t);continue}let e=0,n=[],i=t.startTime;if("largest-contentful-paint"===t.entryType)e=Math.max(t.startTime-c(),0),f.h(t),n=[t];else if("interaction-contentful-paint"===t.entryType){const a=t;if(!u.navigationId)continue;if("interactionId"in a&&a.interactionId!=u.navigationInteractionId)continue;i=a.largestContentfulPaint?.renderTime||0,e=Math.max(i-t.startTime,0),a.largestContentfulPaint&&(f.h(a.largestContentfulPaint),n=[a.largestContentfulPaint])}i<l.firstHiddenTime&&(u.value=e,u.entries=n,d())}},w=["largest-contentful-paint"];s&&w.push("interaction-contentful-paint","soft-navigation");const b=T(w,y);if(b){d=r(e,u,x,t.reportAllChanges);const c=["keydown","click","visibilitychange"],l=e=>{if(e.isTrusted&&!n){const e=u.id;F(()=>{if(!n){if(!s){b.disconnect();for(const e of c)removeEventListener(e,l,{capture:!0})}e===u.id&&(n=!0,d(!0))}})}};for(const e of c)addEventListener(e,l,{capture:!0});a(a=>{v("back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),d=r(e,u,x,t.reportAllChanges),o(()=>{u.value=performance.now()-a.timeStamp,n=!0,d(!0)})})}})})(e),R(e),((e,t={})=>{const n=h();A(b(()=>{let s,c=g("CLS",0);const d=p(t,y),l=(n,i,a,o,l)=>{c=g("CLS",0,n,i,a,o,l),d.i=0,s=r(e,c,P,t.reportAllChanges)},u=(e=!1)=>{d.i>c.value&&(c.value=d.i,c.entries=d.o),s(e)},f=e=>{u(!0),l("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},h=e=>{for(const t of e)"soft-navigation"!==t.entryType?d.h(t):f(t);u()},v=["layout-shift"];w(t)&&v.push("soft-navigation");const m=T(v,h);m&&(s=r(e,c,P,t.reportAllChanges),n.onHidden(()=>{h(m.takeRecords()),s(!0)}),a(()=>{l("back-forward-cache",c.navigationId,c.navigationInteractionId,c.navigationURL,i()),o(s)}),setTimeout(s))}))})(e),A(e),((e,t={})=>{const n=w(t);let o=g("TTFB"),d=r(e,o,U,t.reportAllChanges);B(()=>{const l=s();if(l){const s=l.responseStart;o.value=Math.max(s-c(),0),o.entries=[l],d(!0),a(()=>{o=g("TTFB",0,"back-forward-cache",o.navigationId,o.navigationInteractionId,o.navigationURL,i()),d=r(e,o,U,t.reportAllChanges),d(!0)}),n&&T(["soft-navigation"],n=>{n.forEach(n=>{n.navigationId&&(o=g("TTFB",0,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),o.entries=[n],d=r(e,o,U,t.reportAllChanges),d(!0))})},t)}})})(e)}function ce(n){if(ae?.stop(),ae=null,!1===n.enabled||"undefined"==typeof window||"undefined"==typeof document)return ie;if(!function(e){const t="string"==typeof e.app&&O.test(e.app),n="string"==typeof e.release&&O.test(e.release);return t&&n||console.warn("[efficient-shell] client telemetry not started: `app` and `release` must be version-like strings."),t&&n}(n))return ie;const i=function(e){const t=e.vitalsSampleRate??1;return t>0&&(t>=1||(e.random??Math.random)()<t)}(n);if(n.anonymous&&!i)return ie;const a=n.fetch??window.fetch.bind(window),r=new q({app:n.app,release:n.release,shell_version:O.test(t)?t:""}),o=ne(n.routeKey()),s=function(e=("undefined"==typeof window?void 0:window)){if(!e)return"desktop";const t="function"==typeof e.matchMedia&&e.matchMedia("(pointer: coarse)").matches,n=e.innerWidth;return n<600?"mobile":t&&n<1280?"tablet":"desktop"}(window);let c=!1;const d=()=>{for(const e of r.drain())oe(e,n,a)},l=e=>{c||n.anonymous||(r.addError(e),r.size>=50&&d())},u=(e,t)=>{return{type:"error",source:t,name:te(e),message:(a=e,i=a instanceof Error?a.message:"string"==typeof a?a:a&&"object"==typeof a&&"string"==typeof a.message?a.message:"",i.slice(0,640).replace(J,"[redacted]").replace(K,"[redacted]").replace(V,"[url]").replace(W,"[id]").replace(D,"[n]").replace(/\s+/g," ").trim().slice(0,160)),frames:ee(e instanceof Error?e.stack:void 0),route:ne(n.routeKey()),count:1};var i,a};i&&(n.observeVitals??se)(e=>{c||(r.addVital(function(e,t,n,i){return{type:"vital",name:e.name,value:e.value,route:re.has(e.name)?t:n(),navigation:e.navigationType??"navigate",device:i}}(e,o,()=>ne(n.routeKey()),s)),r.size>=50&&d())});const f=n.anonymous?()=>{}:function(t,n){const i=e=>{const{error:i,message:a,filename:r,lineno:o,colno:s}=e;if(null!=i)return void t(n(i,"onerror"));const c=r?ee(`at ${r}:${o??0}:${s??0}`):[];t({...n(a??"","onerror"),frames:c})},a=e=>t(n(e.reason,"unhandledrejection"));window.addEventListener("error",i),window.addEventListener("unhandledrejection",a);const r=e(e=>t(n(e,"boundary")));return()=>{window.removeEventListener("error",i),window.removeEventListener("unhandledrejection",a),r()}}(l,u),h=()=>{"hidden"===document.visibilityState&&d()};document.addEventListener("visibilitychange",h),window.addEventListener("pagehide",d);const g=window.setInterval(d,n.flushIntervalMs??6e4),v={flush:d,reportError:e=>l(u(e,"boundary")),stop(){c||(d(),c=!0,f(),document.removeEventListener("visibilitychange",h),window.removeEventListener("pagehide",d),window.clearInterval(g),ae===v&&(ae=null))}};return ae=v,v}export{ce as startClientTelemetry};
1
+ import{setBoundaryErrorReporter as e}from"./chunk-KNUR2UEG.js";import{VERSION as t}from"./chunk-FRTDUHQF.js";var n=-1,i=()=>n,a=e=>{addEventListener("pageshow",t=>{t.persisted&&(n=t.timeStamp,e(t))},!0)},r=(e,t,n,i)=>{let a,r;return o=>{var s,c;t.value>=0&&(o||i)&&(r=t.value-(a??0),(r||void 0===a)&&(a=t.value,t.delta=r,t.rating=(s=t.value)>(c=n)[1]?"poor":s>c[0]?"needs-improvement":"good",e(t)))}},o=e=>{requestAnimationFrame(()=>requestAnimationFrame(()=>e()))},s=()=>{const e=performance.getEntriesByType("navigation")[0];if(e&&e.responseStart>0&&e.responseStart<performance.now())return e},c=()=>s()?.activationStart??0,d=-1,l=/* @__PURE__ */new Set,u=()=>"hidden"!==document.visibilityState||document.prerendering?1/0:0,f=e=>{if("hidden"===document.visibilityState){if("visibilitychange"===e.type)for(const e of l)e();isFinite(d)||(d="visibilitychange"===e.type?e.timeStamp:0,removeEventListener("prerenderingchange",f,!0))}},h=(e=!1)=>{if(e&&(d=1/0),d<0){const e=c(),t=document.prerendering?void 0:globalThis.performance.getEntriesByType("visibility-state").find(t=>"hidden"===t.name&&t.startTime>=e)?.startTime;d=t??u(),addEventListener("visibilitychange",f,!0),addEventListener("prerenderingchange",f,!0),a(()=>{setTimeout(()=>{d=u()})})}return{get firstHiddenTime(){return d},onHidden(e){l.add(e)}}},g=(e,t=-1,n,a=0,r,o,d)=>{const l=s(),u=l?.navigationId||0;let f="navigate";return n?f=n:i()>=0?f="back-forward-cache":l&&(document.prerendering||c()>0?f="prerender":document.wasDiscarded?f="restore":l.type&&(f=l.type.replace(/_/g,"-"))),{name:e,value:t,rating:"good",delta:0,entries:[],id:`v6-${Date.now()}-${Math.floor(8999999999999*Math.random())+1e12}`,navigationType:f,navigationId:a||u,navigationInteractionId:r,navigationURL:o||l?.name,navigationStartTime:d||0}},v=/* @__PURE__ */new WeakMap;function p(e,t){let n=v.get(t);return n||(n=/* @__PURE__ */new WeakMap,v.set(t,n)),n.get(e)||n.set(e,new t),n.get(e)}var m,y=class{t;i=0;o=[];h(e){if(e.hadRecentInput)return;const t=this.o[0],n=this.o.at(-1);this.i&&t&&n&&e.startTime-n.startTime<1e3&&e.startTime-t.startTime<5e3?(this.i+=e.value,this.o.push(e)):(this.i=e.value,this.o=[e]),this.t?.(e)}},T=(e,t,n={})=>{try{const i=e.filter(e=>PerformanceObserver.supportedEntryTypes.includes(e));if(i.length>0){const e=new PerformanceObserver(e=>{queueMicrotask(()=>{const n=e.getEntries();i.length>1&&n.sort((e,t)=>e.startTime+e.duration-(t.startTime+t.duration)),t(n)})});for(const t of i)e.observe({type:t,buffered:!0,...n});return e}}catch{}},w=e=>globalThis.PerformanceObserver?.supportedEntryTypes?.includes("soft-navigation")&&"function"==typeof globalThis.PerformanceSoftNavigation?.prototype?.getLargestInteractionContentfulPaint&&e&&e.reportSoftNavs,I=(e,t)=>{if(e.set(t.navigationId,t),e.size>2){const t=e.keys().next().value;void 0!==t&&e.delete(t)}},b=e=>{let t=!1;return()=>{t||(e(),t=!0)}},C=class{l},E=e=>{document.prerendering?addEventListener("prerenderingchange",e,!0):e()},L=[1800,3e3],P=(e,t={})=>{const n=w(t);E(()=>{const s=p(t,C),d=h();let l,u=g("FCP");const f=T(["paint"],e=>{for(const t of e)"first-contentful-paint"===t.name&&(f.disconnect(),t.startTime<d.firstHiddenTime&&(u.value=Math.max(t.startTime-c(),0),u.entries.push(t),u.navigationId=t.navigationId||u.navigationId,l(!0)))});f&&(l=r(e,u,L,t.reportAllChanges),a(n=>{u=g("FCP",-1,"back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),l=r(e,u,L,t.reportAllChanges),o(()=>{u.value=performance.now()-n.timeStamp,l(!0)})})),n&&T(["soft-navigation"],n=>{n.forEach(n=>{s.l&&n.navigationId&&I(s.l,n);const i=Math.max((n.presentationTime||n.paintTime||0)-n.startTime,0);u=g("FCP",i,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),l=r(e,u,L,t.reportAllChanges),l(!0)})},t)})},A=[.1,.25],k=0,S=1/0,z=0,M=e=>{for(const t of e)t.interactionId&&(S=Math.min(S,t.interactionId),z=Math.max(z,t.interactionId),k=z?(z-S)/7+1:0)},$=()=>m?k:performance.interactionCount??0,F=class{u=0;v=[];m=/* @__PURE__ */new Map;p;T;_(){return $()-this.u}M(){this.u=$(),this.v.length=0,this.m.clear()}L(e){const t=this._(),n=Math.min(this.v.length-1,Math.floor(t/50));return!t||-1!==n||"soft-navigation"!==e&&"back-forward-cache"!==e?this.v[n]:{P:8,id:-1,entries:[]}}h(e){if(this.p?.(e),!e.interactionId)return;const t=this.v.at(-1);let n=this.m.get(e.interactionId);if(n||this.v.length<10||e.duration>t.P){if(n?e.duration>n.P?(n.entries=[e],n.P=e.duration):e.duration===n.P&&e.startTime===n.entries[0].startTime&&n.entries.push(e):(n={id:e.interactionId,entries:[e],P:e.duration},this.m.set(n.id,n),this.v.push(n)),this.v.sort((e,t)=>t.P-e.P),this.v.length>10){const e=this.v.splice(10);for(const t of e)this.m.delete(t.id)}this.T?.(n)}}},_=e=>{const t="requestIdleCallback"in globalThis?1e3:0,n=globalThis.requestIdleCallback||setTimeout,i=globalThis.cancelIdleCallback||clearTimeout;if("hidden"===document.visibilityState)e();else{const a=b(e);let r=-1;const o=()=>{i(r),a()};addEventListener("visibilitychange",o,{once:!0,capture:!0}),r=n(()=>{removeEventListener("visibilitychange",o,{capture:!0}),a()},{timeout:t})}},R=[200,500],Z=(e,t={})=>{if(!globalThis.PerformanceEventTiming||!("interactionId"in PerformanceEventTiming.prototype))return;const n=h();E(()=>{"interactionCount"in performance||m||(m=T(["event"],M,{durationThreshold:0}));let o,s=g("INP");const c=p(t,F),d=(n,i,a,d,l)=>{c.M(),s=g("INP",-1,n,i,a,d,l),o=r(e,s,R,t.reportAllChanges)},l=()=>{const e=c.L(s.navigationType);e&&e.P!==s.value&&(s.value=e.P,s.entries=e.entries,o())},u=e=>{l(),o(!0),d("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},f=(e,t=!1)=>{_(()=>{for(const t of e)"soft-navigation"!==t.entryType?c.h(t):u(t);l(),t&&o(!0)})},h=["event","first-input"];w(t)&&h.push("soft-navigation");const v=T(h,f,{...t,durationThreshold:t.durationThreshold??40});o=r(e,s,R,t.reportAllChanges),v&&(n.onHidden(()=>{f(v.takeRecords(),!0)}),a(()=>{d("back-forward-cache",s.navigationId,s.navigationInteractionId,s.navigationURL,i())}))})},j=class{p;l;h(e){this.p?.(e)}},x=[2500,4e3],U=[800,1800],B=e=>{document.prerendering?E(()=>B(e)):"complete"!==document.readyState?addEventListener("load",()=>B(e),!0):setTimeout(e)};var N=/^[A-Za-z0-9/_:.\-[\]{}*@~]+$/,H=/^[A-Za-z_$][A-Za-z0-9_$.]*$/,O=/^[A-Za-z0-9][A-Za-z0-9.+_-]*$/;var q=class{constructor(e){this.head=e}head;events=[];waiting=/* @__PURE__ */new Map;seen=/* @__PURE__ */new Set;get size(){return this.events.length}addVital(e){this.events.push(e)}addError(e){const t=function(e){return e.frames.length?`${e.name}|${e.frames.join("|")}`:`${e.name}|${e.message.replace(/\d/g,"0")}`}(e),n=this.waiting.get(t);return n?(n.count=Math.min(1e3,n.count+e.count),!0):!(this.seen.has(t)||this.seen.size>=20)&&(this.seen.add(t),this.waiting.set(t,e),this.events.push(e),!0)}drain(){const e=this.events;this.events=[],this.waiting.clear();const t=[],n=JSON.stringify({...this.head,events:[]}).length;let i=[],a=n;for(const r of e){const e=JSON.stringify(r).length+1;n+e>30720||((50===i.length||a+e>30720)&&(t.push({...this.head,events:i}),i=[],a=n),i.push(r),a+=e)}return i.length&&t.push({...this.head,events:i}),t}},J=/[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Za-z]{2,}/g,K=/\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}(?:\.[A-Za-z0-9_-]*)?|\b[Bb]earer\s+[A-Za-z0-9._~+/=-]{8,}/g,D=/\b[a-z][a-z0-9+.-]*:\/\/\S+/gi,V=/\b[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi,W=/\d{4,}/g,G=/(^|[/:])(?:\d+|[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[0-9a-f]{16,})(?=$|[/:])/gi,Q=/^[a-z][a-z0-9+.-]*:\/\/[^/]*/i,X=/(?:\(|@|\bat\s+)?((?:[a-z][a-z0-9+.-]*:\/\/|\/)[^\s()@]*?):(\d+):(\d+)\)?\s*$/i;function Y(e,t,n){const i=e.replace(Q,"").split(/[?#]/,1)[0];return i?`${i}:${t}:${n}`.slice(0,256):null}function ee(e){if("string"!=typeof e)return[];const t=[];for(const n of e.split("\n")){const e=X.exec(n.trim()),i=e&&Y(e[1],e[2],e[3]);if(i&&t.push(i),5===t.length)break}return t}function te(e){const t=e instanceof Error?e.name:void 0;return"string"==typeof t&&t.length<=64&&H.test(t)?t:"Error"}function ne(e){if("string"!=typeof e)return"unknown";const t=e.trim().replace(Q,"").split(/[?#]/,1)[0].replace(G,(e,t)=>":"===t?":id":`${t}:id`);return t&&t.length<=128&&!t.includes("//")&&N.test(t)?t:"unknown"}var ie={flush(){},reportError(){},stop(){}},ae=null,re=/* @__PURE__ */new Set(["LCP","FCP","TTFB"]);function oe(e,t,n){const i=function(e){if(e.anonymous)return{credentials:"omit",headers:{"Content-Type":"application/json"}};const t=e.getAccessToken();return t?{credentials:"same-origin",headers:{"Content-Type":"application/json",Authorization:`Bearer ${t}`}}:null}(t);if(!i)return;const a=t.anonymous?"/api/storefront-analytics/web-vitals/":"/api/client-telemetry/web-batches/";n(t.endpoint??a,{...i,method:"POST",keepalive:!0,body:JSON.stringify(e)}).catch(e=>{console.debug("[efficient-shell] client telemetry batch dropped:",e)})}function se(e){((e,t={})=>{let n=!1;const s=w(t);E(()=>{let d,l=h(),u=g("LCP");const f=p(t,j),v=(i,a,o,s,c)=>{u=g("LCP",-1,i,a,o,s,c),d=r(e,u,x,t.reportAllChanges),n=!1,"soft-navigation"===i&&(l=h(!0))},m=e=>{f.l&&e.navigationId&&I(f.l,e),n||d(!0),v("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime);const t=e.getLargestInteractionContentfulPaint?.();t&&y([t])},y=e=>{t.reportAllChanges||s||(e=e.slice(-1));for(const t of e){if(!t)continue;if("soft-navigation"===t.entryType){m(t);continue}let e=0,n=[],i=t.startTime;if("largest-contentful-paint"===t.entryType)e=Math.max(t.startTime-c(),0),f.h(t),n=[t];else if("interaction-contentful-paint"===t.entryType){const a=t;if(!u.navigationId)continue;if("interactionId"in a&&a.interactionId!=u.navigationInteractionId)continue;i=a.largestContentfulPaint?.renderTime||0,e=Math.max(i-t.startTime,0),a.largestContentfulPaint&&(f.h(a.largestContentfulPaint),n=[a.largestContentfulPaint])}i<l.firstHiddenTime&&(u.value=e,u.entries=n,d())}},w=["largest-contentful-paint"];s&&w.push("interaction-contentful-paint","soft-navigation");const b=T(w,y);if(b){d=r(e,u,x,t.reportAllChanges);const c=["keydown","click","visibilitychange"],l=e=>{if(e.isTrusted&&!n){const e=u.id;_(()=>{if(!n){if(!s){b.disconnect();for(const e of c)removeEventListener(e,l,{capture:!0})}e===u.id&&(n=!0,d(!0))}})}};for(const e of c)addEventListener(e,l,{capture:!0});a(a=>{v("back-forward-cache",u.navigationId,u.navigationInteractionId,u.navigationURL,i()),d=r(e,u,x,t.reportAllChanges),o(()=>{u.value=performance.now()-a.timeStamp,n=!0,d(!0)})})}})})(e),Z(e),((e,t={})=>{const n=h();P(b(()=>{let s,c=g("CLS",0);const d=p(t,y),l=(n,i,a,o,l)=>{c=g("CLS",0,n,i,a,o,l),d.i=0,s=r(e,c,A,t.reportAllChanges)},u=(e=!1)=>{d.i>c.value&&(c.value=d.i,c.entries=d.o),s(e)},f=e=>{u(!0),l("soft-navigation",e.navigationId,e.interactionId,e.name,e.startTime)},h=e=>{for(const t of e)"soft-navigation"!==t.entryType?d.h(t):f(t);u()},v=["layout-shift"];w(t)&&v.push("soft-navigation");const m=T(v,h);m&&(s=r(e,c,A,t.reportAllChanges),n.onHidden(()=>{h(m.takeRecords()),s(!0)}),a(()=>{l("back-forward-cache",c.navigationId,c.navigationInteractionId,c.navigationURL,i()),o(s)}),setTimeout(s))}))})(e),P(e),((e,t={})=>{const n=w(t);let o=g("TTFB"),d=r(e,o,U,t.reportAllChanges);B(()=>{const l=s();if(l){const s=l.responseStart;o.value=Math.max(s-c(),0),o.entries=[l],d(!0),a(()=>{o=g("TTFB",0,"back-forward-cache",o.navigationId,o.navigationInteractionId,o.navigationURL,i()),d=r(e,o,U,t.reportAllChanges),d(!0)}),n&&T(["soft-navigation"],n=>{n.forEach(n=>{n.navigationId&&(o=g("TTFB",0,"soft-navigation",n.navigationId,n.interactionId,n.name,n.startTime),o.entries=[n],d=r(e,o,U,t.reportAllChanges),d(!0))})},t)}})})(e)}function ce(n){if(ae?.stop(),ae=null,!1===n.enabled||"undefined"==typeof window||"undefined"==typeof document)return ie;if(!function(e){const t="string"==typeof e.app&&O.test(e.app),n="string"==typeof e.release&&O.test(e.release);return t&&n||console.warn("[efficient-shell] client telemetry not started: `app` and `release` must be version-like strings."),t&&n}(n))return ie;const i=function(e){const t=e.vitalsSampleRate??1;return t>0&&(t>=1||(e.random??Math.random)()<t)}(n);if(n.anonymous&&!i)return ie;const a=n.fetch??window.fetch.bind(window),r=new q({app:n.app,release:n.release,shell_version:O.test(t)?t:""}),o=ne(n.routeKey()),s=function(e=("undefined"==typeof window?void 0:window)){if(!e)return"desktop";const t="function"==typeof e.matchMedia&&e.matchMedia("(pointer: coarse)").matches,n=e.innerWidth;return n<600?"mobile":t&&n<1280?"tablet":"desktop"}(window);let c=!1;const d=()=>{for(const e of r.drain())oe(e,n,a)},l=e=>{c||n.anonymous||(r.addError(e),r.size>=50&&d())},u=(e,t)=>{return{type:"error",source:t,name:te(e),message:(a=e,i=a instanceof Error?a.message:"string"==typeof a?a:a&&"object"==typeof a&&"string"==typeof a.message?a.message:"",i.slice(0,640).replace(J,"[redacted]").replace(K,"[redacted]").replace(D,"[url]").replace(V,"[id]").replace(W,"[n]").replace(/\s+/g," ").trim().slice(0,160)),frames:ee(e instanceof Error?e.stack:void 0),route:ne(n.routeKey()),count:1};var i,a};i&&(n.observeVitals??se)(e=>{c||(r.addVital(function(e,t,n,i){return{type:"vital",name:e.name,value:e.value,route:re.has(e.name)?t:n(),navigation:e.navigationType??"navigate",device:i}}(e,o,()=>ne(n.routeKey()),s)),r.size>=50&&d())});const f=n.anonymous?()=>{}:function(t,n){const i=e=>{const{error:i,message:a,filename:r,lineno:o,colno:s}=e;if(null!=i)return void t(n(i,"onerror"));const c=r?ee(`at ${r}:${o??0}:${s??0}`):[];t({...n(a??"","onerror"),frames:c})},a=e=>t(n(e.reason,"unhandledrejection"));window.addEventListener("error",i),window.addEventListener("unhandledrejection",a);const r=e(e=>t(n(e,"boundary")));return()=>{window.removeEventListener("error",i),window.removeEventListener("unhandledrejection",a),r()}}(l,u),h=()=>{"hidden"===document.visibilityState&&d()};document.addEventListener("visibilitychange",h),window.addEventListener("pagehide",d);const g=window.setInterval(d,n.flushIntervalMs??6e4),v={flush:d,reportError:e=>l(u(e,"boundary")),stop(){c||(d(),c=!0,f(),document.removeEventListener("visibilitychange",h),window.removeEventListener("pagehide",d),window.clearInterval(g),ae===v&&(ae=null))}};return ae=v,v}export{ce as startClientTelemetry};
@@ -0,0 +1,24 @@
1
+ import{Icon as e}from"./chunk-ISVODSRP.js";import{LoadingSpinner as t}from"./chunk-R2VKEMZH.js";import{fitBoxScale as n,fitScale as r}from"./chunk-M6UKCZHT.js";import{toast_default as a}from"./chunk-VQ35LXDC.js";import{useShellStrings as o}from"./chunk-IUVGHHR3.js";import{createContext as i,useContext as s,useRef as l,useState as c,useEffect as d}from"react";import*as u from"pdfjs-dist";import{createPortal as m}from"react-dom";import{jsx as h,jsxs as p}from"react/jsx-runtime";function f(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 g=i(null);function w({children:e}){const t=s(g);return t?m(e,t):
2
+ /* @__PURE__ */h("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||u.GlobalWorkerOptions.workerSrc||(u.GlobalWorkerOptions.workerSrc=`https://unpkg.com/pdfjs-dist@${u.version}/build/pdf.worker.min.mjs`);var y={"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},v=class{async fetch({kind:e,filename:t}){if("wasmUrl"!==e)throw new Error(`Ensure that the \`${e}\` API parameter is provided.`);const n=y[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 f(n,t,a);return a}};function b(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:v}}var x=[50,75,100,125,150,200,300,400];function k(e,t,a){const o={width:t.width-40,height:t.height-40};if(o.width<=0||"page"===e&&o.height<=0)return.3;const i="page"===e?n(o,a):r(o.width,a.width);return Math.min(Math.max(i,.3),4)}function C({url:n,filename:r,fit:i="width",onDownload:s,onEmail:m,workerSrc:f,wasmUrl:g}){const y=o().pdf,v=l(null),C=l(null),N=l(null),[j,M]=c(null),[E,P]=c(1),[z,D]=c(0),[_,S]=c(1),[L,W]=c(!0),[T,$]=c(!0),O=l(y.loadFailed);O.current=y.loadFailed,d(()=>{let e=!1;return $(!0),P(1),f&&(u.GlobalWorkerOptions.workerSrc=f),u.getDocument({url:n,...b(g)}).promise.then(t=>{e||(M(t),D(t.numPages),$(!1))}).catch(()=>{e||(a.error(O.current),$(!1))}),()=>{e=!0}},[n,f,g]),d(()=>{if(!j||!L||!N.current)return;const e=()=>{const e=N.current;e&&j.getPage(E).then(t=>{if(!N.current)return;const n=t.getViewport({scale:1}),r=k(i,{width:e.clientWidth,height:e.clientHeight},{width:n.width,height:n.height});S(e=>Math.abs(e-r)<.005?e:r)})};e();const t=new ResizeObserver(e);return t.observe(N.current),()=>t.disconnect()},[j,E,L,i]),d(()=>{if(!j||!v.current)return;let e=!1,t=null,n=null;return j.getPage(E).then(r=>{if(e||!v.current)return;const a=r.getViewport({scale:_}),o=v.current;o.width=a.width,o.height=a.height,o.style.width=`${a.width}px`,o.style.height=`${a.height}px`;const i=o.getContext("2d");t=r.render({canvas:o,canvasContext:i,viewport:a}),t.promise.catch(()=>{});const s=C.current;s&&(s.replaceChildren(),s.style.setProperty("--total-scale-factor",String(a.scale)),n=new u.TextLayer({textContentSource:r.streamTextContent(),container:s,viewport:a}),n.render().then(()=>{if(e)return;const t=document.createElement("div");t.className="endOfContent",s.append(t)}).catch(()=>{}))}),()=>{e=!0,t?.cancel(),n?.cancel()}},[j,E,_]),d(()=>{const e=()=>C.current?.classList.remove("selecting");return window.addEventListener("pointerup",e),()=>window.removeEventListener("pointerup",e)},[]);const A="page"===i?y.fitPage:y.fitWidth,H="px-2 py-1 rounded hover:bg-gray-200 transition-colors text-gray-600 flex items-center gap-1";/* @__PURE__ */
3
+ return p("div",{className:"flex flex-col h-full",children:[
4
+ /* @__PURE__ */p(w,{children:[
5
+ /* @__PURE__ */h("button",{type:"button","aria-label":y.previousPage,onClick:()=>P(e=>Math.max(1,e-1)),disabled:E<=1,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */h(e,{name:"chevron-left",className:"h-3.5 w-3.5",strokeWidth:2})}),
6
+ /* @__PURE__ */h("span",{className:"text-gray-600 font-medium tabular-nums whitespace-nowrap",children:y.pageOf(E,z)}),
7
+ /* @__PURE__ */h("button",{type:"button","aria-label":y.nextPage,onClick:()=>P(e=>Math.min(z,e+1)),disabled:E>=z,className:"px-1 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-600",children:/* @__PURE__ */h(e,{name:"chevron-right",className:"h-3.5 w-3.5",strokeWidth:2})}),
8
+ /* @__PURE__ */h("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
9
+ /* @__PURE__ */h("button",{type:"button","aria-label":y.zoomOut,title:y.zoomOut,onClick:()=>{W(!1),S(e=>Math.max(.3,Math.round(100*(e-.25))/100))},className:H,children:/* @__PURE__ */h("span",{"aria-hidden":"true",children:"−"})}),
10
+ /* @__PURE__ */p("select",{value:L?"fit":x.includes(Math.round(100*_))?Math.round(100*_):"custom",onChange:e=>{const t=e.target.value;"fit"!==t?"custom"!==t&&(W(!1),S(Number(t)/100)):W(!0)},className:"bg-transparent hover:bg-gray-200 rounded px-1 py-1 text-gray-600 tabular-nums cursor-pointer focus:outline-none focus:ring-1 focus:ring-blue-400","aria-label":y.zoom,title:y.zoom,children:[
11
+ /* @__PURE__ */h("option",{value:"fit",children:A}),!L&&!x.includes(Math.round(100*_))&&/* @__PURE__ */p("option",{value:"custom",children:[Math.round(100*_),"%"]}),x.map(e=>/* @__PURE__ */p("option",{value:e,children:[e,"%"]},e))]}),
12
+ /* @__PURE__ */h("button",{type:"button","aria-label":y.zoomIn,title:y.zoomIn,onClick:()=>{W(!1),S(e=>Math.min(4,Math.round(100*(e+.25))/100))},className:H,children:/* @__PURE__ */h("span",{"aria-hidden":"true",children:"+"})}),
13
+ /* @__PURE__ */h("button",{type:"button",onClick:()=>W(!0),"aria-pressed":L,className:H+(L?" bg-gray-200 text-gray-900":""),title:y.fitHint,children:y.fit}),
14
+ /* @__PURE__ */h("div",{className:"h-4 w-px bg-gray-300 mx-1"}),
15
+ /* @__PURE__ */p("button",{type:"button",onClick:()=>{if(!j)return;const e=window.open("","_blank");if(!e)return void a.error(y.allowPopups);const t=[];for(let e=1;e<=z;e++)t.push(j.getPage(e).then(e=>{const t=e.getViewport({scale:2}),n=document.createElement("canvas");return n.width=t.width,n.height=t.height,e.render({canvas:n,canvasContext:n.getContext("2d"),viewport:t}).promise.then(()=>n.toDataURL())}));Promise.all(t).then(t=>{var n;e.document.write(`<html><head><title>${n=r,n.replace(/[&<>"]/g,e=>({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;"}[e]))}</title><style>@media print{body{margin:0}img{width:100%;page-break-after:always}}</style></head><body>`),e.document.write(t.map(e=>`<img src="${e}"/>`).join("")),e.document.write("</body></html>"),e.document.close(),setTimeout(()=>{e.print(),e.close()},300)})},className:H,children:[
16
+ /* @__PURE__ */h(e,{name:"print",className:"h-3.5 w-3.5",strokeWidth:1.5}),y.print]}),
17
+ /* @__PURE__ */p("button",{type:"button",onClick:s??(()=>{const e=document.createElement("a");e.href=n,e.download=r,e.click()}),className:H,children:[
18
+ /* @__PURE__ */h(e,{name:"download",className:"h-3.5 w-3.5",strokeWidth:1.5}),y.download]}),m&&/* @__PURE__ */p("button",{type:"button",onClick:m,className:H,children:[
19
+ /* @__PURE__ */h(e,{name:"email",className:"h-3.5 w-3.5",strokeWidth:1.5}),y.email]})]}),
20
+ /* @__PURE__ */h("div",{ref:N,className:"flex-1 overflow-auto bg-gray-100 outline-none",tabIndex:0,onWheel:e=>{if(!j)return;if(e.ctrlKey||e.metaKey)return;const t=N.current;if(!t)return;const n=t.scrollTop<=0,r=t.scrollTop+t.clientHeight>=t.scrollHeight-1;e.deltaY>0&&r&&E<z?(e.preventDefault(),P(e=>Math.min(z,e+1)),requestAnimationFrame(()=>{N.current&&(N.current.scrollTop=0)})):e.deltaY<0&&n&&E>1&&(e.preventDefault(),P(e=>Math.max(1,e-1)),requestAnimationFrame(()=>{N.current&&(N.current.scrollTop=N.current.scrollHeight)}))},onKeyDown:e=>{if(!j)return;if(e.defaultPrevented)return;const t=(document.activeElement?.tagName||"").toLowerCase();"input"===t||"textarea"===t||document.activeElement?.isContentEditable||("PageDown"===e.key||"ArrowRight"===e.key?E<z&&(e.preventDefault(),P(e=>Math.min(z,e+1))):"PageUp"===e.key||"ArrowLeft"===e.key?E>1&&(e.preventDefault(),P(e=>Math.max(1,e-1))):"Home"===e.key?(e.preventDefault(),P(1)):"End"===e.key&&(e.preventDefault(),P(z)))},children:T?/* @__PURE__ */h(t,{size:"sm",padding:"",className:"h-full",label:y.loading}):/* @__PURE__ */p("div",{className:"min-h-full flex items-center justify-center p-4",children:[
21
+ /* @__PURE__ */h("style",{children:'\n.preview-pdf-textlayer {\n position: absolute;\n inset: 0;\n overflow: clip;\n line-height: 1;\n text-align: initial;\n text-size-adjust: none;\n forced-color-adjust: none;\n transform-origin: 0 0;\n caret-color: CanvasText;\n --min-font-size: 1;\n --text-scale-factor: calc(var(--total-scale-factor, 1) * var(--min-font-size));\n --min-font-size-inv: calc(1 / var(--min-font-size));\n}\n.preview-pdf-textlayer :is(span, br) {\n color: transparent;\n position: absolute;\n white-space: pre;\n cursor: text;\n transform-origin: 0% 0%;\n}\n.preview-pdf-textlayer > :not(.markedContent),\n.preview-pdf-textlayer .markedContent span:not(.markedContent) {\n z-index: 1;\n --font-height: 0;\n font-size: calc(var(--text-scale-factor) * var(--font-height));\n --scale-x: 1;\n --rotate: 0deg;\n transform: rotate(var(--rotate)) scaleX(var(--scale-x)) scale(var(--min-font-size-inv));\n}\n.preview-pdf-textlayer .markedContent {\n display: contents;\n}\n.preview-pdf-textlayer span[role="img"] {\n user-select: none;\n cursor: default;\n}\n.preview-pdf-textlayer ::selection {\n background: rgba(0, 80, 255, 0.25);\n}\n.preview-pdf-textlayer br::selection {\n background: transparent;\n}\n.preview-pdf-textlayer .endOfContent {\n display: block;\n position: absolute;\n inset: 100% 0 0;\n z-index: 0;\n cursor: default;\n user-select: none;\n}\n.preview-pdf-textlayer.selecting .endOfContent {\n top: 0;\n}\n'}),
22
+ /* @__PURE__ */p("div",{className:"relative shadow-lg rounded",children:[
23
+ /* @__PURE__ */h("canvas",{ref:v,className:"block rounded"}),
24
+ /* @__PURE__ */h("div",{ref:C,className:"preview-pdf-textlayer",onPointerDown:e=>e.currentTarget.classList.add("selecting")})]})]})})]})}export{w as PanelActions,C as PdfViewer,g as ToolbarSlotContext,k as pageFitScale,b as pdfWasmParams};
@@ -1 +1 @@
1
- import{BrandWechatIcon as a}from"./chunk-44F7JLNV.js";import{BrandVisaIcon as r}from"./chunk-WYDD26UO.js";import{BrandPaypalIcon as n}from"./chunk-7P3DXO3E.js";import{BrandMastercardIcon as p}from"./chunk-JMWKD4R5.js";import{BrandJcbIcon as b}from"./chunk-WH6NPZ6B.js";import{BrandKlarnaIcon as d}from"./chunk-DS6R5R3O.js";import{BrandGooglepayIcon as e}from"./chunk-ZEN67DFI.js";import{BrandDinersclubIcon as s}from"./chunk-A5SPSAWW.js";import{BrandApplepayIcon as c}from"./chunk-RAHDUMQ5.js";import{BrandAfterpayIcon as o}from"./chunk-BZR43D3G.js";import{BrandAlipayIcon as i}from"./chunk-SVUOPZCB.js";import{BrandAmericanexpressIcon as l}from"./chunk-PRJJK7VR.js";var m={afterpay:"brand-afterpay",alipay:"brand-alipay",americanexpress:"brand-americanexpress",applepay:"brand-applepay",dinersclub:"brand-dinersclub",googlepay:"brand-googlepay",jcb:"brand-jcb",klarna:"brand-klarna",mastercard:"brand-mastercard",paypal:"brand-paypal",visa:"brand-visa",wechat:"brand-wechat"},t=new Set(["brand-afterpay","brand-alipay","brand-americanexpress","brand-applepay","brand-dinersclub","brand-googlepay","brand-jcb","brand-klarna","brand-mastercard","brand-paypal","brand-visa","brand-wechat"]),y=a=>"string"==typeof a&&t.has(a),f={"brand-afterpay":o,"brand-alipay":i,"brand-americanexpress":l,"brand-applepay":c,"brand-dinersclub":s,"brand-googlepay":e,"brand-jcb":b,"brand-klarna":d,"brand-mastercard":p,"brand-paypal":n,"brand-visa":r,"brand-wechat":a},h={"brand-afterpay":"Afterpay","brand-alipay":"Alipay","brand-americanexpress":"American Express","brand-applepay":"Apple Pay","brand-dinersclub":"Diners Club","brand-googlepay":"Google Pay","brand-jcb":"JCB","brand-klarna":"Klarna","brand-mastercard":"MasterCard","brand-paypal":"PayPal","brand-visa":"Visa","brand-wechat":"WeChat"};export{m as PAYMENT_BRAND,f as PAYMENT_BRAND_DRAWINGS,h as PAYMENT_BRAND_TITLES,y as isPaymentBrand};
1
+ import{BrandVisaIcon as a}from"./chunk-WYDD26UO.js";import{BrandWechatIcon as r}from"./chunk-44F7JLNV.js";import{BrandPaypalIcon as n}from"./chunk-7P3DXO3E.js";import{BrandMastercardIcon as p}from"./chunk-JMWKD4R5.js";import{BrandGooglepayIcon as b}from"./chunk-ZEN67DFI.js";import{BrandJcbIcon as d}from"./chunk-WH6NPZ6B.js";import{BrandKlarnaIcon as e}from"./chunk-DS6R5R3O.js";import{BrandDinersclubIcon as s}from"./chunk-A5SPSAWW.js";import{BrandAmericanexpressIcon as c}from"./chunk-PRJJK7VR.js";import{BrandApplepayIcon as o}from"./chunk-RAHDUMQ5.js";import{BrandAfterpayIcon as i}from"./chunk-BZR43D3G.js";import{BrandAlipayIcon as l}from"./chunk-SVUOPZCB.js";var m={afterpay:"brand-afterpay",alipay:"brand-alipay",americanexpress:"brand-americanexpress",applepay:"brand-applepay",dinersclub:"brand-dinersclub",googlepay:"brand-googlepay",jcb:"brand-jcb",klarna:"brand-klarna",mastercard:"brand-mastercard",paypal:"brand-paypal",visa:"brand-visa",wechat:"brand-wechat"},t=new Set(["brand-afterpay","brand-alipay","brand-americanexpress","brand-applepay","brand-dinersclub","brand-googlepay","brand-jcb","brand-klarna","brand-mastercard","brand-paypal","brand-visa","brand-wechat"]),y=a=>"string"==typeof a&&t.has(a),f={"brand-afterpay":i,"brand-alipay":l,"brand-americanexpress":c,"brand-applepay":o,"brand-dinersclub":s,"brand-googlepay":b,"brand-jcb":d,"brand-klarna":e,"brand-mastercard":p,"brand-paypal":n,"brand-visa":a,"brand-wechat":r},h={"brand-afterpay":"Afterpay","brand-alipay":"Alipay","brand-americanexpress":"American Express","brand-applepay":"Apple Pay","brand-dinersclub":"Diners Club","brand-googlepay":"Google Pay","brand-jcb":"JCB","brand-klarna":"Klarna","brand-mastercard":"MasterCard","brand-paypal":"PayPal","brand-visa":"Visa","brand-wechat":"WeChat"};export{m as PAYMENT_BRAND,f as PAYMENT_BRAND_DRAWINGS,h as PAYMENT_BRAND_TITLES,y as isPaymentBrand};
@@ -1,4 +1,4 @@
1
- import{useWindowMenuItem as e,Modal as t}from"./chunk-JFOMAXD2.js";import{navIcons as r}from"./chunk-4LXCCZDM.js";import{VERSION as n}from"./chunk-QAAHFU2I.js";import{Icon as s}from"./chunk-ISVODSRP.js";import{DEFAULT_SHELL_STRINGS as i,useShellStrings as o,splitAround as a}from"./chunk-IUVGHHR3.js";import{useState as l,useCallback as m,isValidElement as c,cloneElement as p}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var h=i.aboutApp,x={notepad:{name:"Notepad",version:"1.1.0",route:"/notepad",description:h.notepad},preview:{name:"Preview",version:"1.5.0",route:"/preview",description:h.preview},files:{name:"Files",version:"2.0.1",route:"/files",description:h.files},browser:{name:"Browser",version:"1.0.3",route:"/browser",description:h.browser}},u=/* @__PURE__ */d(s,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),w=/* @__PURE__ */d(s,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function v({app:s}){const i=x[s],[h,v]=l(!1),N=m(()=>v(!0),[]),b=o().aboutApp,k=b.title(i.name);if(e(k,N,u),!h)return null;const g=r[i.route],y=c(g)?p(g,{className:"h-9 w-9"}):w,[j,A]=a(b.partOf);/* @__PURE__ */
1
+ import{useWindowMenuItem as e,Modal as t}from"./chunk-ZI2FDUYJ.js";import{navIcons as r}from"./chunk-4LXCCZDM.js";import{VERSION as n}from"./chunk-FRTDUHQF.js";import{Icon as s}from"./chunk-ISVODSRP.js";import{DEFAULT_SHELL_STRINGS as i,useShellStrings as o,splitAround as a}from"./chunk-IUVGHHR3.js";import{useState as l,useCallback as m,isValidElement as c,cloneElement as p}from"react";import{jsx as d,jsxs as f}from"react/jsx-runtime";var h=i.aboutApp,x={notepad:{name:"Notepad",version:"1.1.0",route:"/notepad",description:h.notepad},preview:{name:"Preview",version:"1.5.1",route:"/preview",description:h.preview},files:{name:"Files",version:"2.0.1",route:"/files",description:h.files},browser:{name:"Browser",version:"1.0.3",route:"/browser",description:h.browser}},u=/* @__PURE__ */d(s,{name:"info",className:"h-4 w-4",strokeWidth:1.5}),w=/* @__PURE__ */d(s,{name:"window",className:"h-9 w-9",strokeWidth:1.5});function v({app:s}){const i=x[s],[h,v]=l(!1),N=m(()=>v(!0),[]),b=o().aboutApp,k=b.title(i.name);if(e(k,N,u),!h)return null;const g=r[i.route],y=c(g)?p(g,{className:"h-9 w-9"}):w,[j,D]=a(b.partOf);/* @__PURE__ */
2
2
  return d(t,{open:!0,onClose:()=>v(!1),title:k,size:"sm",compact:!0,bodyScroll:!1,autoHeight:!0,dimensions:[320,320],children:/* @__PURE__ */f("div",{className:"flex flex-col items-center text-center px-5 pt-5 pb-4",children:[
3
3
  /* @__PURE__ */d("div",{className:"flex h-16 w-16 items-center justify-center rounded-2xl bg-gray-100 text-gray-600 shrink-0",children:y}),
4
4
  /* @__PURE__ */d("h2",{className:"mt-3 text-lg font-bold text-gray-900",children:i.name}),
@@ -6,4 +6,4 @@ return d(t,{open:!0,onClose:()=>v(!1),title:k,size:"sm",compact:!0,bodyScroll:!1
6
6
  /* @__PURE__ */d("p",{className:"mt-2 text-xs text-gray-500 leading-relaxed",children:b[s]}),
7
7
  /* @__PURE__ */f("div",{className:"mt-4 pt-3 border-t border-gray-200 w-full",children:[
8
8
  /* @__PURE__ */f("p",{className:"text-2xs text-ink-faint",children:[j,
9
- /* @__PURE__ */d("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),A]}),n&&/* @__PURE__ */d("p",{className:"mt-0.5 text-2xs font-mono text-ink-faintest",children:b.shellVersion(n)})]})]})})}export{v as AboutApp,x as BUILTIN_APP_INFO};
9
+ /* @__PURE__ */d("span",{className:"font-medium text-gray-700",children:"efficient-shell"}),D]}),n&&/* @__PURE__ */d("p",{className:"mt-0.5 text-2xs font-mono text-ink-faintest",children:b.shellVersion(n)})]})]})})}export{v as AboutApp,x as BUILTIN_APP_INFO};
@@ -0,0 +1 @@
1
+ import{WrenchScrewdriverSolidIcon as r}from"./chunk-H7AHH7OB.js";import{WrenchSolidIcon as o}from"./chunk-A25YVGAG.js";import{ZoomInMiniIcon as m}from"./chunk-NPCWLBMK.js";import{ZoomInSolidIcon as t}from"./chunk-4H2J5UAB.js";import{WindowsMiniIcon as c}from"./chunk-YMECORJ4.js";import{WindowsSolidIcon as n}from"./chunk-XHRWQU2N.js";import{WordsFromMiniIcon as i}from"./chunk-BEKDLU25.js";import{WordsFromSolidIcon as s}from"./chunk-2MQ7ESMH.js";import{WrapMiniIcon as p}from"./chunk-NLGDN36O.js";import{WrapSolidIcon as u}from"./chunk-YBRJR7NV.js";import{WrenchMiniIcon as h}from"./chunk-BWDHO77A.js";import{WrenchScrewdriverMiniIcon as k}from"./chunk-HWGKMEYA.js";import{WeightMiniIcon as f}from"./chunk-7MBI6K4M.js";import{WeightSolidIcon as e}from"./chunk-JH4N2AGC.js";import{WidgetsMiniIcon as j}from"./chunk-K3ZBIFDS.js";import{WidgetsSolidIcon as a}from"./chunk-C7WCAKSH.js";import{WidthMiniIcon as l}from"./chunk-B4GBUSE5.js";import{WidthSolidIcon as d}from"./chunk-W6FRXR6X.js";import{WindowMiniIcon as b}from"./chunk-CNVF67ZV.js";import{WindowSolidIcon as Q}from"./chunk-QBRE4MH3.js";import{VideoOffMiniIcon as C}from"./chunk-PNVFIQXD.js";import{VideoOffSolidIcon as F}from"./chunk-F75KLDZK.js";import{ViewColumnsMiniIcon as D}from"./chunk-KAUUQEZJ.js";import{ViewColumnsSolidIcon as J}from"./chunk-ZN5SU4ZI.js";import{WalletMiniIcon as K}from"./chunk-ITCE6WFF.js";import{WalletSolidIcon as N}from"./chunk-RLQAX5HN.js";import{WarningMiniIcon as R}from"./chunk-KHXH44V6.js";import{WarningSolidIcon as U}from"./chunk-TAXDMCNG.js";import{UndoMiniIcon as H}from"./chunk-O5EP2UNP.js";import{UndoSolidIcon as M}from"./chunk-T2IC4IQA.js";import{UploadMiniIcon as P}from"./chunk-2NYCHHEX.js";import{UploadSolidIcon as X}from"./chunk-LDY4RXO4.js";import{VAlignMiniIcon as L}from"./chunk-E5XQWSQG.js";import{VAlignSolidIcon as Z}from"./chunk-64KV2YO3.js";import{VerifiedMiniIcon as G}from"./chunk-FJXQQ6N4.js";import{VerifiedSolidIcon as W}from"./chunk-C6CI7XH7.js";import{TvMiniIcon as A}from"./chunk-BQ7RNIBA.js";import{TvSolidIcon as T}from"./chunk-RVA6HGDB.js";import{TypeMiniIcon as E}from"./chunk-3VZEPYAX.js";import{TypeSolidIcon as g}from"./chunk-RH6C435W.js";import{TyreMiniIcon as B}from"./chunk-PPRJBW5Y.js";import{TyreSolidIcon as I}from"./chunk-IF34QPCV.js";import{UnderlineMiniIcon as S}from"./chunk-23YM7DOW.js";import{UnderlineSolidIcon as O}from"./chunk-R2KCOXZR.js";import{TextureSolidIcon as Y}from"./chunk-2AGTZHGD.js";import{TrashAlt2Icon as V}from"./chunk-TEEDZ5O4.js";import{TrashAltIcon as w}from"./chunk-X65IANDK.js";import{TrashMiniIcon as y}from"./chunk-J5VO23W3.js";import{TrashSolidIcon as x}from"./chunk-GPFBERFF.js";import{TruckAltIcon as v}from"./chunk-MWG5QRHE.js";import{TruckMiniIcon as q}from"./chunk-JCKOSJNI.js";import{TruckSolidIcon as z}from"./chunk-GYA54DB2.js";import{TextColorSolidIcon as $}from"./chunk-TGNRZLQ6.js";import{TextSizeMiniIcon as _}from"./chunk-2BAQ3XFD.js";import{TextSizeSolidIcon as rr}from"./chunk-MU4OIOPU.js";import{TextSmallMiniIcon as or}from"./chunk-QK4B7MO3.js";import{TextSmallSolidIcon as mr}from"./chunk-245SGQC7.js";import{TextValueMiniIcon as tr}from"./chunk-5XNZORBY.js";import{TextValueSolidIcon as cr}from"./chunk-GKAI5SDL.js";import{TextureMiniIcon as nr}from"./chunk-VRGZFJZD.js";import{TargetAltIcon as ir}from"./chunk-V5DSMUZ5.js";import{TargetMiniIcon as sr}from"./chunk-5VRVT4LR.js";import{TargetSolidIcon as pr}from"./chunk-LNFKNTO5.js";import{TeamMiniIcon as ur}from"./chunk-ZV5P54O4.js";import{TeamSolidIcon as hr}from"./chunk-ETF6W3D4.js";import{TelephoneMiniIcon as kr}from"./chunk-MLXDPEBV.js";import{TelephoneSolidIcon as fr}from"./chunk-JQSK5ICA.js";import{TextColorMiniIcon as er}from"./chunk-3WUQ5V4J.js";import{TableSolidIcon as jr}from"./chunk-QJ3LE7LI.js";import{TabletMiniIcon as ar}from"./chunk-7R5JBLPI.js";import{TabletSolidIcon as lr}from"./chunk-IU7ZRR62.js";import{TabsMiniIcon as dr}from"./chunk-SXUSAHDF.js";import{TabsSolidIcon as br}from"./chunk-P6FGTDDX.js";import{TagAltIcon as Qr}from"./chunk-HXWCDHZQ.js";import{TagMiniIcon as Cr}from"./chunk-GGGXLQHC.js";import{TagSolidIcon as Fr}from"./chunk-QDHVUIZV.js";import{SubscriptSolidIcon as Dr}from"./chunk-O3QFU4CP.js";import{SunMiniIcon as Jr}from"./chunk-7MOGLM4M.js";import{SunSolidIcon as Kr}from"./chunk-K6ZPLG4O.js";import{SuperscriptMiniIcon as Nr}from"./chunk-YPBEGKV2.js";import{SuperscriptSolidIcon as Rr}from"./chunk-5GJ3SFHP.js";import{SwapMiniIcon as Ur}from"./chunk-FZMJ5JVX.js";import{SwapSolidIcon as Hr}from"./chunk-LO2ENELN.js";import{TableMiniIcon as Mr}from"./chunk-7IQQIDI6.js";import{StoreMiniIcon as Pr}from"./chunk-5HCC7MZN.js";import{StoreSolidIcon as Xr}from"./chunk-V3W6W42X.js";import{StrikeMiniIcon as Lr}from"./chunk-5GHSWXWB.js";import{StrikeSolidIcon as Zr}from"./chunk-VUOJMDQ6.js";import{StylesAltIcon as Gr}from"./chunk-PP3H5YGZ.js";import{StylesMiniIcon as Wr}from"./chunk-FEN2DONX.js";import{StylesSolidIcon as Ar}from"./chunk-B3Q46H2J.js";import{SubscriptMiniIcon as Tr}from"./chunk-KRWISESU.js";import{StatusCircleSolidIcon as Er}from"./chunk-RAE4CUCY.js";import{StatusDotMiniIcon as gr}from"./chunk-LKN4NT7H.js";import{StatusDotSolidIcon as Br}from"./chunk-6GLBW3FE.js";import{StickyMiniIcon as Ir}from"./chunk-RL3ZIR6L.js";import{StickySolidIcon as Sr}from"./chunk-CAMDJDKT.js";import{StopCircleMiniIcon as Or}from"./chunk-XRIX6MVS.js";import{StopCircleSolidIcon as Yr}from"./chunk-AQT5PBEU.js";import{StoreBuildingStorefront20SolidIcon as Vr}from"./chunk-FXD73VOY.js";import{SquareMiniIcon as wr}from"./chunk-WQ2IFM6M.js";import{SquareSolidIcon as yr}from"./chunk-BPWBA2RM.js";import{StarAltIcon as xr}from"./chunk-TTX2XZKP.js";import{StarMiniIcon as vr}from"./chunk-RWHVEPNG.js";import{StarSolidIcon as qr}from"./chunk-635BD6WX.js";import{StateMiniIcon as zr}from"./chunk-WFYZJFS5.js";import{StateSolidIcon as $r}from"./chunk-2TO2GMVS.js";import{StatusCircleMiniIcon as _r}from"./chunk-TB3CFNVI.js";import{SparklesMiniIcon as ro}from"./chunk-WNO4AZ67.js";import{SparklesSolidIcon as oo}from"./chunk-NA5HW2RQ.js";import{SpeakerWaveMiniIcon as mo}from"./chunk-QNIEDFX6.js";import{SpeakerWaveSolidIcon as to}from"./chunk-DJNK34UK.js";import{SpecTableMiniIcon as co}from"./chunk-FUY6TO6Z.js";import{SpecTableSolidIcon as no}from"./chunk-NZYJ6XYT.js";import{SplitMiniIcon as io}from"./chunk-6PRAEXF6.js";import{SplitSolidIcon as so}from"./chunk-YOVMFAN3.js";import{SlidePickerSquaresMiniIcon as po}from"./chunk-A7ILTGAE.js";import{SlidePickerSquaresSolidIcon as uo}from"./chunk-DI3CJOO2.js";import{SortAltIcon as ho}from"./chunk-US4TTHEN.js";import{SortMiniIcon as ko}from"./chunk-SI37ODJF.js";import{SortSolidIcon as fo}from"./chunk-ZUG2JNG4.js";import{SparklesAlt2Icon as eo}from"./chunk-NCLIZZXL.js";import{SparklesAlt3Icon as jo}from"./chunk-FEUIWJ7S.js";import{SparklesAltIcon as ao}from"./chunk-UWNP5QOF.js";import{SlidePickerBarMiniIcon as lo}from"./chunk-BJ2LKUME.js";import{SlidePickerBarSolidIcon as bo}from"./chunk-SZGTWSN4.js";import{SlidePickerCardsMiniIcon as Qo}from"./chunk-EUQXQRXY.js";import{SlidePickerCardsSolidIcon as Co}from"./chunk-D6RYGKV5.js";import{SlidePickerDotsMiniIcon as Fo}from"./chunk-3VYVPN23.js";import{SlidePickerDotsSolidIcon as Do}from"./chunk-PZIPTTVL.js";import{SlidePickerNumbersMiniIcon as Jo}from"./chunk-K5UTUJXX.js";import{SlidePickerNumbersSolidIcon as Ko}from"./chunk-CNQOWIKL.js";import{SignalSlashSolidIcon as No}from"./chunk-PLQ23Q7Y.js";import{SignalSolidIcon as Ro}from"./chunk-QTPYKXY7.js";import{SitemapMiniIcon as Uo}from"./chunk-TCWYMY7R.js";import{SitemapSolidIcon as Ho}from"./chunk-P4KZQYYO.js";import{SlideArrowsRoundMiniIcon as Mo}from"./chunk-3LSEVWUJ.js";import{SlideArrowsRoundSolidIcon as Po}from"./chunk-PSYTC7V2.js";import{SlideArrowsSquareMiniIcon as Xo}from"./chunk-EDEHD47C.js";import{SlideArrowsSquareSolidIcon as Lo}from"./chunk-P66ED5XN.js";import{ShieldCheckMiniIcon as Zo}from"./chunk-6UNMFTXG.js";import{ShieldCheckSolidIcon as Go}from"./chunk-A2NRNSJU.js";import{ShieldExclamationMiniIcon as Wo}from"./chunk-FB4GEVTA.js";import{ShieldExclamationSolidIcon as Ao}from"./chunk-LZ44UTPP.js";import{SidesEachMiniIcon as To}from"./chunk-CNTQKS7H.js";import{SidesEachSolidIcon as Eo}from"./chunk-OR2SSAWP.js";import{SignalMiniIcon as go}from"./chunk-PYAU2NDD.js";import{SignalSlashMiniIcon as Bo}from"./chunk-MIMLD6G4.js";import{ShapeEllipseMiniIcon as Io}from"./chunk-HGJLQXQZ.js";import{ShapeEllipseSolidIcon as So}from"./chunk-J7YSGSYX.js";import{ShapeRectMiniIcon as Oo}from"./chunk-7MTKB2PI.js";import{ShapeRectSolidIcon as Yo}from"./chunk-R3SLDJJX.js";import{ShareMiniIcon as Vo}from"./chunk-HWEV5X53.js";import{ShareSolidIcon as wo}from"./chunk-ZFF7W6EF.js";import{SharedMiniIcon as yo}from"./chunk-LKRQXIOG.js";import{SharedSolidIcon as xo}from"./chunk-YKDKVSAL.js";import{SeparatorTriangleMiniIcon as vo}from"./chunk-MUXGWDEH.js";import{SeparatorTriangleSolidIcon as qo}from"./chunk-B3CN55UI.js";import{ServerMiniIcon as zo}from"./chunk-7J7SBMPE.js";import{ServerSolidIcon as $o}from"./chunk-TMPZ5QYR.js";import{SettingsMiniIcon as _o}from"./chunk-PJ74S7TQ.js";import{SettingsSolidIcon as rm}from"./chunk-HMPU4WRV.js";import{ShadowMiniIcon as om}from"./chunk-JQFMEYOH.js";import{ShadowSolidIcon as mm}from"./chunk-Z6DPC6LY.js";import{SelectAllMiniIcon as tm}from"./chunk-XG4LYLHC.js";import{SelectAllSolidIcon as cm}from"./chunk-5FXHHPQN.js";import{SendAlt2Icon as nm}from"./chunk-I3TMILZC.js";import{SendAltIcon as im}from"./chunk-AZADIQCQ.js";import{SendMiniIcon as sm}from"./chunk-SLALNIKU.js";import{SendSolidIcon as pm}from"./chunk-2L3JB5JJ.js";import{SeparatorSlashMiniIcon as um}from"./chunk-TGXO3CDO.js";import{SeparatorSlashSolidIcon as hm}from"./chunk-YJ5IHIAI.js";import{ScrollZoomInMiniIcon as km}from"./chunk-6V3BNCDT.js";import{ScrollZoomInSolidIcon as fm}from"./chunk-DRSPB4ZE.js";import{ScrollZoomOutMiniIcon as em}from"./chunk-5HLLCX6X.js";import{ScrollZoomOutSolidIcon as jm}from"./chunk-THRSU75M.js";import{SearchAlt2Icon as am}from"./chunk-USRR3ATA.js";import{SearchAltIcon as lm}from"./chunk-VZZXQM7D.js";import{SearchMiniIcon as dm}from"./chunk-RFQT33IG.js";import{SearchSolidIcon as bm}from"./chunk-D7AJ7HNA.js";import{ScrollMoveDownMiniIcon as Qm}from"./chunk-J3Z4U2CT.js";import{ScrollMoveDownSolidIcon as Cm}from"./chunk-OYJAXZFU.js";import{ScrollMoveUpMiniIcon as Fm}from"./chunk-MEF5E2JA.js";import{ScrollMoveUpSolidIcon as Dm}from"./chunk-EJRRJXDG.js";import{ScrollParallaxMiniIcon as Jm}from"./chunk-CYU454QR.js";import{ScrollParallaxSolidIcon as Km}from"./chunk-N3THYDNV.js";import{ScrollPointMiniIcon as Nm}from"./chunk-BGYKEPGH.js";import{ScrollPointSolidIcon as Rm}from"./chunk-R2L5KKWD.js";import{RotateSolidIcon as Um}from"./chunk-FMFFO3XW.js";import{ScaleAltIcon as Hm}from"./chunk-WJEFJ7DO.js";import{ScaleMiniIcon as Mm}from"./chunk-AKR2GM4I.js";import{ScaleSolidIcon as Pm}from"./chunk-TGQ6FVOC.js";import{ScrollFadeInMiniIcon as Xm}from"./chunk-KELGQ7WI.js";import{ScrollFadeInSolidIcon as Lm}from"./chunk-CDGK3TOO.js";import{ScrollFadeOutMiniIcon as Zm}from"./chunk-H7RDZRJ4.js";import{ScrollFadeOutSolidIcon as Gm}from"./chunk-BAWT5QBA.js";import{ReplyAllSolidIcon as Wm}from"./chunk-S6HJCIO4.js";import{ReplyMiniIcon as Am}from"./chunk-ITCRUSSN.js";import{ReplySolidIcon as Tm}from"./chunk-QRZVIG54.js";import{RevertMiniIcon as Em}from"./chunk-TKQLPIHD.js";import{RevertSolidIcon as gm}from"./chunk-B2JHVAJZ.js";import{RobotMiniIcon as Bm}from"./chunk-2QBUM6BF.js";import{RobotSolidIcon as Im}from"./chunk-BTMPF6TU.js";import{RotateMiniIcon as Sm}from"./chunk-AZ6PTN7Z.js";import{RedoSolidIcon as Om}from"./chunk-CITR3NCQ.js";import{RefreshAltIcon as Ym}from"./chunk-BXPQQPS4.js";import{RefreshArrowPathRoundedSquareIcon as Vm}from"./chunk-7BDQSYOD.js";import{RefreshMiniIcon as wm}from"./chunk-DQVYLBH3.js";import{RefreshSolidIcon as ym}from"./chunk-OD57KLTH.js";import{RemoveMiniIcon as xm}from"./chunk-LC5WQDNZ.js";import{RemoveSolidIcon as vm}from"./chunk-DZGAUI3P.js";import{ReplyAllMiniIcon as qm}from"./chunk-PF5CU4SO.js";import{RadiusSolidIcon as zm}from"./chunk-SGGFUPQS.js";import{ReceiptMiniIcon as $m}from"./chunk-3FF7CTUA.js";import{ReceiptPercentMiniIcon as _m}from"./chunk-CM6DG7CZ.js";import{ReceiptPercentSolidIcon as rt}from"./chunk-IXXEASEQ.js";import{ReceiptRefundMiniIcon as ot}from"./chunk-6JWPIRCB.js";import{ReceiptRefundSolidIcon as mt}from"./chunk-4PXK463M.js";import{ReceiptSolidIcon as tt}from"./chunk-P6NGK7DM.js";import{RedoMiniIcon as ct}from"./chunk-RJNAXMDD.js";import{ProductSolidIcon as nt}from"./chunk-AYYN74HD.js";import{ProgressMiniIcon as it}from"./chunk-Q3OTCQTQ.js";import{ProgressSolidIcon as st}from"./chunk-3V5UT7A2.js";import{QuoteMiniIcon as pt}from"./chunk-63LZCLNR.js";import{QuoteSolidIcon as ut}from"./chunk-K3JGLNOQ.js";import{RadioDotMiniIcon as ht}from"./chunk-WRWINFV3.js";import{RadioDotSolidIcon as kt}from"./chunk-VKPCYU5H.js";import{RadiusMiniIcon as ft}from"./chunk-7I2GL4XB.js";import{PresentationChartBarSolidIcon as et}from"./chunk-V56PZIS2.js";import{PrintMiniIcon as jt}from"./chunk-AODSAT7N.js";import{PrintSolidIcon as at}from"./chunk-HLMTKW5H.js";import{ProductFieldMiniIcon as lt}from"./chunk-WICGNE5J.js";import{ProductFieldSolidIcon as dt}from"./chunk-AFHJNVJU.js";import{ProductMiniIcon as bt}from"./chunk-M2STINJB.js";import{ProductSizeMiniIcon as Qt}from"./chunk-WOWXRIRW.js";import{ProductSizeSolidIcon as Ct}from"./chunk-Y4GH6UXZ.js";import{PlayAltIcon as Ft}from"./chunk-ZPQFONMR.js";import{PlayMiniIcon as Dt}from"./chunk-CCJHCLQD.js";import{PlaySolidIcon as Jt}from"./chunk-DPCVWEGT.js";import{PlusMinusMiniIcon as Kt}from"./chunk-T2SS7VMR.js";import{PlusMinusSolidIcon as Nt}from"./chunk-6QBEAJ3X.js";import{PowerMiniIcon as Rt}from"./chunk-ETIZX4ZX.js";import{PowerSolidIcon as Ut}from"./chunk-TXEFPHTL.js";import{PresentationChartBarMiniIcon as Ht}from"./chunk-7BMSC5QE.js";import{PercentSolidIcon as Mt}from"./chunk-CQYBRFCN.js";import{PhoneAltIcon as Pt}from"./chunk-W2SGPRYG.js";import{PhoneHiddenMiniIcon as Xt}from"./chunk-J4BNHZMC.js";import{PhoneHiddenSolidIcon as Lt}from"./chunk-3CWD4INC.js";import{PhoneMiniIcon as Zt}from"./chunk-KRUKB4JE.js";import{PhoneSolidIcon as Gt}from"./chunk-H6OCWYYU.js";import{PlacementMiniIcon as Wt}from"./chunk-OXHG752A.js";import{PlacementSolidIcon as At}from"./chunk-74DQMIJU.js";import{PauseMiniIcon as Tt}from"./chunk-E4XFHQTO.js";import{PauseSolidIcon as Et}from"./chunk-I2BTP4ZC.js";import{PenMiniIcon as gt}from"./chunk-75CPAMIK.js";import{PenSolidIcon as Bt}from"./chunk-MZNR3WCA.js";import{PeopleMiniIcon as It}from"./chunk-MJ3GUAXH.js";import{PeopleSolidIcon as St}from"./chunk-TDACYSKV.js";import{PeopleUserGroupIcon as Ot}from"./chunk-3GU54QB6.js";import{PercentMiniIcon as Yt}from"./chunk-2LKEZNEE.js";import{PanelLeftMiniIcon as Vt}from"./chunk-XSCG6YG7.js";import{PanelLeftSolidIcon as wt}from"./chunk-XWU6QN2V.js";import{PanelRightMiniIcon as yt}from"./chunk-FU44ZZBE.js";import{PanelRightSolidIcon as xt}from"./chunk-3EVMVYVF.js";import{ParagraphSpacingMiniIcon as vt}from"./chunk-W6DUHOAN.js";import{ParagraphSpacingSolidIcon as qt}from"./chunk-GD3YLOFZ.js";import{PasteStyleMiniIcon as zt}from"./chunk-X5KVM2JY.js";import{PasteStyleSolidIcon as $t}from"./chunk-NOQIPVD5.js";import{PaddingXSolidIcon as _t}from"./chunk-C4GY2IS5.js";import{PaddingYMiniIcon as rc}from"./chunk-FLY5B6BV.js";import{PaddingYSolidIcon as oc}from"./chunk-ZVZB4MEK.js";import{PageAltIcon as mc}from"./chunk-CPPPRWOF.js";import{PageMiniIcon as tc}from"./chunk-XXFO33EC.js";import{PageSolidIcon as cc}from"./chunk-SMJFGTEP.js";import{PaletteMiniIcon as nc}from"./chunk-BAFB2V5R.js";import{PaletteSolidIcon as ic}from"./chunk-DL3K4PF4.js";import{PaddingLeftRightMiniIcon as sc}from"./chunk-RF4AWGBX.js";import{PaddingLeftRightSolidIcon as pc}from"./chunk-6QAID2KD.js";import{PaddingLeftSolidIcon as uc}from"./chunk-KMRK6TJC.js";import{PaddingRightMiniIcon as hc}from"./chunk-JWZ7SK3Z.js";import{PaddingRightSolidIcon as kc}from"./chunk-IABLIRK6.js";import{PaddingTopMiniIcon as fc}from"./chunk-AAQPYX4I.js";import{PaddingTopSolidIcon as ec}from"./chunk-SE2ECAWN.js";import{PaddingXMiniIcon as jc}from"./chunk-M3FDLEVB.js";import{PackageOpenMiniIcon as ac}from"./chunk-J5NXZAWD.js";import{PackageOpenSolidIcon as lc}from"./chunk-6STWX56B.js";import{PackageSolidIcon as dc}from"./chunk-PRU52B5T.js";import{PaddingAllMiniIcon as bc}from"./chunk-R54WVPDX.js";import{PaddingAllSolidIcon as Qc}from"./chunk-QJG66TT3.js";import{PaddingBottomMiniIcon as Cc}from"./chunk-NXBHLJD4.js";import{PaddingBottomSolidIcon as Fc}from"./chunk-MQBMKV2M.js";import{PaddingLeftMiniIcon as Dc}from"./chunk-FGQ7HFAL.js";import{NudgeYSolidIcon as Jc}from"./chunk-P5SVBGLG.js";import{NumberedListMiniIcon as Kc}from"./chunk-FD7UBG5P.js";import{NumberedListSolidIcon as Nc}from"./chunk-3K6RM3K4.js";import{OpacityMiniIcon as Rc}from"./chunk-JMOGUE7F.js";import{OpacitySolidIcon as Uc}from"./chunk-FCD4WTIN.js";import{OwnTextMiniIcon as Hc}from"./chunk-62BDLWEO.js";import{OwnTextSolidIcon as Mc}from"./chunk-5OY3AUEX.js";import{PackageMiniIcon as Pc}from"./chunk-FCD2THL6.js";import{NoSymbolSolidIcon as Xc}from"./chunk-JEWUFDX5.js";import{NoteMiniIcon as Lc}from"./chunk-MRWH3KJB.js";import{NoteSolidIcon as Zc}from"./chunk-QNV4E2MF.js";import{NudgeMiniIcon as Gc}from"./chunk-REICDZNN.js";import{NudgeSolidIcon as Wc}from"./chunk-3MRB7UZY.js";import{NudgeXMiniIcon as Ac}from"./chunk-HJUK5AAM.js";import{NudgeXSolidIcon as Tc}from"./chunk-KRWKHI7S.js";import{NudgeYMiniIcon as Ec}from"./chunk-EEG3KMP7.js";import{MoneySolidIcon as gc}from"./chunk-RJCUFIE5.js";import{MoonMiniIcon as Bc}from"./chunk-V75MYG5O.js";import{MoonSolidIcon as Ic}from"./chunk-24FKIIDR.js";import{MoreMiniIcon as Sc}from"./chunk-42MDVHXS.js";import{MoreSolidIcon as Oc}from"./chunk-PP5JQCTZ.js";import{MoreVerticalMiniIcon as Yc}from"./chunk-J6YBNXVN.js";import{MoreVerticalSolidIcon as Vc}from"./chunk-OSZDQ3VV.js";import{NoSymbolMiniIcon as wc}from"./chunk-WQBLFKPH.js";import{MegaphoneSolidIcon as yc}from"./chunk-7KJMS4EK.js";import{MenuMiniIcon as xc}from"./chunk-MNIIBF52.js";import{MenuSolidIcon as vc}from"./chunk-AFXOAFL6.js";import{MetaMiniIcon as qc}from"./chunk-JG2LTXO7.js";import{MetaSolidIcon as zc}from"./chunk-ADCP4ZQP.js";import{MicrophoneMiniIcon as $c}from"./chunk-ICL6KE32.js";import{MicrophoneSolidIcon as _c}from"./chunk-QWWV6GSR.js";import{MoneyMiniIcon as rn}from"./chunk-6MSDX7MQ.js";import{MediaLayoutInsetSolidIcon as on}from"./chunk-RJU7XFKX.js";import{MediaLayoutSideBySideMiniIcon as mn}from"./chunk-PYG3MKYD.js";import{MediaLayoutSideBySideSolidIcon as tn}from"./chunk-77DNZFAR.js";import{MediaLayoutStackedMiniIcon as cn}from"./chunk-GMTEWQTC.js";import{MediaLayoutStackedSolidIcon as nn}from"./chunk-4D5UAMG5.js";import{MediaMiniIcon as sn}from"./chunk-RWVM2VHF.js";import{MediaSolidIcon as pn}from"./chunk-3UFUOKBM.js";import{MegaphoneMiniIcon as un}from"./chunk-DQ6CYYYH.js";import{LoopMiniIcon as hn}from"./chunk-Z7TJ5Y7T.js";import{LoopSolidIcon as kn}from"./chunk-XMTGZI2O.js";import{MapAltIcon as fn}from"./chunk-XA7YZO2P.js";import{MapMiniIcon as en}from"./chunk-Q2QIUERP.js";import{MapSolidIcon as jn}from"./chunk-4EOR3CJ4.js";import{MediaLayoutBigTwoMiniIcon as an}from"./chunk-RI5VRHG4.js";import{MediaLayoutBigTwoSolidIcon as ln}from"./chunk-4QNSHURB.js";import{MediaLayoutInsetMiniIcon as dn}from"./chunk-PAYYAWU5.js";import{LockMiniIcon as bn}from"./chunk-EIUHOEDP.js";import{LockSolidIcon as Qn}from"./chunk-URXAYQ23.js";import{LogoMiniIcon as Cn}from"./chunk-AS4OCCP3.js";import{LogoSolidIcon as Fn}from"./chunk-4LBNEX4V.js";import{LogoutMiniIcon as Dn}from"./chunk-GV3GNYL6.js";import{LogoutSolidIcon as Jn}from"./chunk-2AQMIXH3.js";import{LoopMarqueeMiniIcon as Kn}from"./chunk-ECJSGHFD.js";import{LoopMarqueeSolidIcon as Nn}from"./chunk-XW336CNF.js";import{ListMiniIcon as Rn}from"./chunk-7OKXT3VY.js";import{ListNoneMiniIcon as Un}from"./chunk-GRABRP2G.js";import{ListNoneSolidIcon as Hn}from"./chunk-HQOSD5GN.js";import{ListQueueListIcon as Mn}from"./chunk-CYQSFWYF.js";import{ListSolidIcon as Pn}from"./chunk-PZZWHWBB.js";import{LocationMiniIcon as Xn}from"./chunk-K7WJNXIJ.js";import{LocationSolidIcon as Ln}from"./chunk-BZOV7GJL.js";import{LockAltIcon as Zn}from"./chunk-IQKD7UCZ.js";import{LinkSlashMiniIcon as Gn}from"./chunk-325KLGZI.js";import{LinkSlashSolidIcon as Wn}from"./chunk-QL4RGGFN.js";import{LinkSolidIcon as An}from"./chunk-WM6WESXC.js";import{ListAlt2Icon as Tn}from"./chunk-7B4Y4XCN.js";import{ListAlt3Icon as En}from"./chunk-ACCOL2XR.js";import{ListAltIcon as gn}from"./chunk-ITBPRBKS.js";import{ListFormatMiniIcon as Bn}from"./chunk-UDN6USR5.js";import{ListFormatSolidIcon as In}from"./chunk-LWDJ4GEH.js";import{LineDottedSolidIcon as Sn}from"./chunk-DUPPQQ35.js";import{LineSolidMiniIcon as On}from"./chunk-H46XIWYV.js";import{LineSolidSolidIcon as Yn}from"./chunk-XO4FAIL5.js";import{LineSpacingMiniIcon as Vn}from"./chunk-SP6GJ3Y4.js";import{LineSpacingSolidIcon as wn}from"./chunk-CNITIX2S.js";import{LineStyleMiniIcon as yn}from"./chunk-Z4KOPOJX.js";import{LineStyleSolidIcon as xn}from"./chunk-KUCKME7A.js";import{LinkMiniIcon as vn}from"./chunk-KLZWTEB5.js";import{LetterSpacingSolidIcon as qn}from"./chunk-FSLICZMD.js";import{LightbulbMiniIcon as zn}from"./chunk-LMLLHS4Q.js";import{LightbulbSolidIcon as $n}from"./chunk-DFJLONGS.js";import{LineBetweenMiniIcon as _n}from"./chunk-DZC74CKM.js";import{LineBetweenSolidIcon as ri}from"./chunk-MMYYXHNL.js";import{LineDashedMiniIcon as oi}from"./chunk-UTJSSJXU.js";import{LineDashedSolidIcon as mi}from"./chunk-JTKLHXQE.js";import{LineDottedMiniIcon as ti}from"./chunk-Z7SR7VQR.js";import{LayersAltIcon as ci}from"./chunk-SUSN7BUA.js";import{LayersMiniIcon as ni}from"./chunk-VPJZX7GH.js";import{LayersRectangleStackIcon as ii}from"./chunk-Q2YQ2EN2.js";import{LayersSolidIcon as si}from"./chunk-UBBP5Q2C.js";import{LayoutAltIcon as pi}from"./chunk-PYXW6GXA.js";import{LayoutMiniIcon as ui}from"./chunk-TUODSC47.js";import{LayoutSolidIcon as hi}from"./chunk-AU3GQT25.js";import{LetterSpacingMiniIcon as ki}from"./chunk-RYOPAJXK.js";import{InboxSolidIcon as fi}from"./chunk-EESYQSYA.js";import{InfoAltIcon as ei}from"./chunk-U5423MQC.js";import{InfoMiniIcon as ji}from"./chunk-UMKNAPC2.js";import{InfoSolidIcon as ai}from"./chunk-ZU6L5U5X.js";import{ItalicMiniIcon as li}from"./chunk-JDGZNXOM.js";import{ItalicSolidIcon as di}from"./chunk-CMYQL6WU.js";import{KeyMiniIcon as bi}from"./chunk-TQITZXNM.js";import{KeySolidIcon as Qi}from"./chunk-B7FO24I2.js";import{ImageMiniIcon as Ci}from"./chunk-22AYA6IH.js";import{ImageOffMiniIcon as Fi}from"./chunk-ZLFF5JQG.js";import{ImageOffSolidIcon as Di}from"./chunk-M7N7XLUK.js";import{ImageSolidIcon as Ji}from"./chunk-HULBQOQ4.js";import{ImagesMiniIcon as Ki}from"./chunk-5P6EYV7K.js";import{ImagesSolidIcon as Ni}from"./chunk-Y7BG7B64.js";import{InboxAltIcon as Ri}from"./chunk-BFJ4RYCD.js";import{InboxMiniIcon as Ui}from"./chunk-QRSDMC5W.js";import{IconAfterTextSolidIcon as Hi}from"./chunk-H4SQVPCY.js";import{IconAtEndMiniIcon as Mi}from"./chunk-VRBDSUV5.js";import{IconAtEndSolidIcon as Pi}from"./chunk-MJ6SYTFL.js";import{IconBeforeTextMiniIcon as Xi}from"./chunk-C6FIA3VB.js";import{IconBeforeTextSolidIcon as Li}from"./chunk-FMSIKEE3.js";import{IdentificationMiniIcon as Zi}from"./chunk-MX26PZGW.js";import{IdentificationSolidIcon as Gi}from"./chunk-ELWJR6D5.js";import{ImageAltIcon as Wi}from"./chunk-4NT5O3CF.js";import{HoverRotateMiniIcon as Ai}from"./chunk-IABSP2GJ.js";import{HoverRotateSolidIcon as Ti}from"./chunk-QHUGCISZ.js";import{HoverSolidIcon as Ei}from"./chunk-J3EF3LJU.js";import{HoverZoomMiniIcon as gi}from"./chunk-UCWJA6LT.js";import{HoverZoomSolidIcon as Bi}from"./chunk-PJW3BL27.js";import{IconAboveTextMiniIcon as Ii}from"./chunk-NKDDKXJF.js";import{IconAboveTextSolidIcon as Si}from"./chunk-KHVMKTOL.js";import{IconAfterTextMiniIcon as Oi}from"./chunk-O5MCB756.js";import{HomeSolidIcon as Yi}from"./chunk-XKTLIGRL.js";import{HoverLiftMiniIcon as Vi}from"./chunk-MIOL4CDN.js";import{HoverLiftSolidIcon as wi}from"./chunk-KLHUKAD3.js";import{HoverMiniIcon as yi}from"./chunk-VMKJJFZB.js";import{HoverNextImageMiniIcon as xi}from"./chunk-FIZKXNCZ.js";import{HoverNextImageSolidIcon as vi}from"./chunk-XGAXRNZS.js";import{HoverNoneMiniIcon as qi}from"./chunk-APLKFBJH.js";import{HoverNoneSolidIcon as zi}from"./chunk-5X4DBMS6.js";import{HeightSolidIcon as $i}from"./chunk-QTQNZMIC.js";import{HelpMiniIcon as _i}from"./chunk-LRY6HMOO.js";import{HelpOffMiniIcon as rs}from"./chunk-Z3ZZ7IKK.js";import{HelpOffSolidIcon as os}from"./chunk-NCZDQBQ4.js";import{HelpSolidIcon as ms}from"./chunk-TBRNYDMF.js";import{HexagonMiniIcon as ts}from"./chunk-WGFQSFHX.js";import{HexagonSolidIcon as cs}from"./chunk-OZ2GH2H7.js";import{HomeMiniIcon as ns}from"./chunk-DOA6QPPR.js";import{HandThumbUpSolidIcon as is}from"./chunk-A5ONCCD3.js";import{HashMiniIcon as ss}from"./chunk-BZDWR4KD.js";import{HashSolidIcon as ps}from"./chunk-UXPHLHBG.js";import{HeadquartersMiniIcon as us}from"./chunk-7HBLOYWQ.js";import{HeadquartersSolidIcon as hs}from"./chunk-2SFKU2B2.js";import{HeartMiniIcon as ks}from"./chunk-RT6AI5I7.js";import{HeartSolidIcon as fs}from"./chunk-BBY7MNDN.js";import{HeightMiniIcon as es}from"./chunk-5AQ6KQSD.js";import{GridAltIcon as js}from"./chunk-CEYIPCMH.js";import{GridMiniIcon as as}from"./chunk-NHDIBRV7.js";import{GridSolidIcon as ls}from"./chunk-IYZTC7VC.js";import{GroundMiniIcon as ds}from"./chunk-DBWIOWPM.js";import{GroundSolidIcon as bs}from"./chunk-MFFIF7AB.js";import{HandMiniIcon as Qs}from"./chunk-7E3RNMRR.js";import{HandSolidIcon as Cs}from"./chunk-6R4YB7K3.js";import{HandThumbUpMiniIcon as Fs}from"./chunk-ITHJW2KQ.js";import{GapSolidIcon as Ds}from"./chunk-TBMPFURE.js";import{GemMiniIcon as Js}from"./chunk-HPR54EP7.js";import{GemSolidIcon as Ks}from"./chunk-D5CO7TAN.js";import{GiftMiniIcon as Ns}from"./chunk-WHNWFXTB.js";import{GiftSolidIcon as Rs}from"./chunk-QHY3TU27.js";import{GlobeAltIcon as Us}from"./chunk-24KAXH2Q.js";import{GlobeMiniIcon as Hs}from"./chunk-H6ARFO7R.js";import{GlobeSolidIcon as Ms}from"./chunk-AV5NET7T.js";import{FolderPlusMiniIcon as Ps}from"./chunk-2ZIX7XRY.js";import{FolderPlusSolidIcon as Xs}from"./chunk-Y43FUWQ2.js";import{FolderSolidIcon as Ls}from"./chunk-MEUDPC32.js";import{ForwardMiniIcon as Zs}from"./chunk-JKHFESAR.js";import{ForwardSolidIcon as Gs}from"./chunk-4E5LJBKT.js";import{FullWidthMiniIcon as Ws}from"./chunk-ORKNUTVU.js";import{FullWidthSolidIcon as As}from"./chunk-D46DMMOR.js";import{GapMiniIcon as Ts}from"./chunk-UAB5A3AI.js";import{FireSolidIcon as Es}from"./chunk-MHCYAUWZ.js";import{FlagAltIcon as gs}from"./chunk-22FCQMKM.js";import{FlagMiniIcon as Bs}from"./chunk-I7IJ3CFC.js";import{FlagSolidIcon as Is}from"./chunk-SWYJ3FKU.js";import{FolderAltIcon as Ss}from"./chunk-ZEXLGKAK.js";import{FolderMiniIcon as Os}from"./chunk-KKVQPJI3.js";import{FolderOpenMiniIcon as Ys}from"./chunk-NU3WUIAM.js";import{FolderOpenSolidIcon as Vs}from"./chunk-W2JSPWW2.js";import{EyeSolidIcon as ws}from"./chunk-IIDWSVS5.js";import{FaceSmileMiniIcon as ys}from"./chunk-4GBFZNYZ.js";import{FaceSmileSolidIcon as xs}from"./chunk-EHE6TM43.js";import{FilterMiniIcon as vs}from"./chunk-3QPIARDX.js";import{FilterSolidIcon as qs}from"./chunk-IDHWRHBE.js";import{FinishMiniIcon as zs}from"./chunk-SSNT2D3M.js";import{FinishSolidIcon as $s}from"./chunk-465F75NG.js";import{FireMiniIcon as _s}from"./chunk-XWNYSMBG.js";import{ExpandSolidIcon as rp}from"./chunk-3H25EPZU.js";import{ExternalAlt2Icon as op}from"./chunk-VQJ4CKDU.js";import{ExternalAltIcon as mp}from"./chunk-OJFBIBPI.js";import{ExternalMiniIcon as tp}from"./chunk-XEBHXPOE.js";import{ExternalSolidIcon as cp}from"./chunk-Y4YWLKCV.js";import{EyeMiniIcon as np}from"./chunk-UNOUO3JN.js";import{EyeOffMiniIcon as ip}from"./chunk-GBPUVNSN.js";import{EyeOffSolidIcon as sp}from"./chunk-6FC6PZU4.js";import{EntranceScaleSolidIcon as pp}from"./chunk-VIWM4GD7.js";import{EntranceSpinMiniIcon as up}from"./chunk-WPT5DUCQ.js";import{EntranceSpinSolidIcon as hp}from"./chunk-ZILBCVKS.js";import{EraserMiniIcon as kp}from"./chunk-2O2LJV7Q.js";import{EraserSolidIcon as fp}from"./chunk-LXMTX7NE.js";import{ErrorMiniIcon as ep}from"./chunk-WZ76TDXU.js";import{ErrorSolidIcon as jp}from"./chunk-CT6I7VFU.js";import{ExpandMiniIcon as ap}from"./chunk-YRGKL2JP.js";import{EntranceFlipSolidIcon as lp}from"./chunk-ABQWWMTO.js";import{EntranceGlideMiniIcon as dp}from"./chunk-27RPYRRI.js";import{EntranceGlideSolidIcon as bp}from"./chunk-XLWPIUZB.js";import{EntranceRevealMiniIcon as Qp}from"./chunk-SZ6J44ZK.js";import{EntranceRevealSolidIcon as Cp}from"./chunk-FIW2BUK2.js";import{EntranceRiseMiniIcon as Fp}from"./chunk-6RHKNP2Q.js";import{EntranceRiseSolidIcon as Dp}from"./chunk-VL6SOWP5.js";import{EntranceScaleMiniIcon as Jp}from"./chunk-U77527G3.js";import{EmailSolidIcon as Kp}from"./chunk-RL7LVMCC.js";import{EnterMiniIcon as Np}from"./chunk-ALDGSODF.js";import{EnterSolidIcon as Rp}from"./chunk-26LO7XCK.js";import{EntranceBounceMiniIcon as Up}from"./chunk-WBLA7EHW.js";import{EntranceBounceSolidIcon as Hp}from"./chunk-MUNG4VXE.js";import{EntranceFadeMiniIcon as Mp}from"./chunk-ASPLTZBH.js";import{EntranceFadeSolidIcon as Pp}from"./chunk-5ZT3FJ2W.js";import{EntranceFlipMiniIcon as Xp}from"./chunk-QIFGQE6V.js";import{DurationSolidIcon as Lp}from"./chunk-PGKNWSSC.js";import{EditAlt2Icon as Zp}from"./chunk-UOSU63FV.js";import{EditAltIcon as Gp}from"./chunk-W4EHFZ7Z.js";import{EditMiniIcon as Wp}from"./chunk-HTXTUUBJ.js";import{EditPencilSquareIcon as Ap}from"./chunk-HPWGEKEJ.js";import{EditSolidIcon as Tp}from"./chunk-IXYWZ667.js";import{EmailAltIcon as Ep}from"./chunk-NYKBG5JF.js";import{EmailMiniIcon as gp}from"./chunk-CYLOWGUD.js";import{DragMiniIcon as Bp}from"./chunk-JFKFJPLE.js";import{DragSolidIcon as Ip}from"./chunk-TPMOTUTN.js";import{DropMiniIcon as Sp}from"./chunk-6LSFDCSH.js";import{DropSolidIcon as Op}from"./chunk-BOLX5THX.js";import{DuplicateAltIcon as Yp}from"./chunk-VRXSAWR2.js";import{DuplicateMiniIcon as Vp}from"./chunk-PWONWGNZ.js";import{DuplicateSolidIcon as wp}from"./chunk-OTUO4L3W.js";import{DurationMiniIcon as yp}from"./chunk-44QWF5X2.js";import{DollarMiniIcon as xp}from"./chunk-6MHC2ZMP.js";import{DollarSolidIcon as vp}from"./chunk-KTVER4CP.js";import{DotMiniIcon as qp}from"./chunk-Z4EJ2MNK.js";import{DotSolidIcon as zp}from"./chunk-YN5G6G3E.js";import{DownloadAltIcon as $p}from"./chunk-SOQGJH2H.js";import{DownloadMiniIcon as _p}from"./chunk-NOMPZRDT.js";import{DownloadSolidIcon as ru}from"./chunk-T6GW556F.js";import{DragAltIcon as ou}from"./chunk-4PYQMQQ6.js";import{DocumentCheckMiniIcon as mu}from"./chunk-RIQGDM3S.js";import{DocumentCheckSolidIcon as tu}from"./chunk-CTN6J6MI.js";import{DocumentDocumentIcon as cu}from"./chunk-HZSE3AMP.js";import{DocumentMagnifyingGlassMiniIcon as nu}from"./chunk-T6ZWKFPU.js";import{DocumentMagnifyingGlassSolidIcon as iu}from"./chunk-MN74RSSD.js";import{DocumentMiniIcon as su}from"./chunk-PHWEOFEG.js";import{DocumentSolidIcon as pu}from"./chunk-TFRIWTDA.js";import{DollarAltIcon as uu}from"./chunk-FPFP6LPK.js";import{DetachSolidIcon as hu}from"./chunk-LV2YFFA6.js";import{DiagramMiniIcon as ku}from"./chunk-WVJSPRDR.js";import{DiagramSolidIcon as fu}from"./chunk-BOHPJXNM.js";import{DirectionMiniIcon as eu}from"./chunk-CFQZ2UJM.js";import{DirectionSolidIcon as ju}from"./chunk-QKSOCPA2.js";import{DocumentAlt2Icon as au}from"./chunk-W6ZAUD5E.js";import{DocumentAltIcon as lu}from"./chunk-VOC5AK66.js";import{DocumentCheckAltIcon as du}from"./chunk-VYDLQ3TB.js";import{CursorMiniIcon as bu}from"./chunk-23E6AHJY.js";import{CursorSolidIcon as Qu}from"./chunk-4UCO62M5.js";import{DateMiniIcon as Cu}from"./chunk-QFDGSQQE.js";import{DateSolidIcon as Fu}from"./chunk-7R623GIR.js";import{DesktopAltIcon as Du}from"./chunk-4X2F4CV3.js";import{DesktopMiniIcon as Ju}from"./chunk-SNLTAYYR.js";import{DesktopSolidIcon as Ku}from"./chunk-MFKHQ5K2.js";import{DetachMiniIcon as Nu}from"./chunk-4YARHVZH.js";import{CropTopMiniIcon as Ru}from"./chunk-KO5PBMCF.js";import{CropTopSolidIcon as Uu}from"./chunk-PWONLQFF.js";import{CropYMiniIcon as Hu}from"./chunk-D5EXIRJF.js";import{CropYSolidIcon as Mu}from"./chunk-6NLKMHX6.js";import{CubeTransparentMiniIcon as Pu}from"./chunk-PON7R7AU.js";import{CubeTransparentSolidIcon as Xu}from"./chunk-X26UU4VQ.js";import{CursorClickMiniIcon as Lu}from"./chunk-S6VIYZ2J.js";import{CursorClickSolidIcon as Zu}from"./chunk-BYDXJORJ.js";import{CropLeftMiniIcon as Gu}from"./chunk-RA5GR626.js";import{CropLeftRightMiniIcon as Wu}from"./chunk-JTPBPEYK.js";import{CropLeftRightSolidIcon as Au}from"./chunk-USYTN7PE.js";import{CropLeftSolidIcon as Tu}from"./chunk-2MBDZMZM.js";import{CropMiniIcon as Eu}from"./chunk-GKUHMQ4N.js";import{CropRightMiniIcon as gu}from"./chunk-KIYTUOVN.js";import{CropRightSolidIcon as Bu}from"./chunk-7F65BNHY.js";import{CropSolidIcon as Iu}from"./chunk-WNM2AMCR.js";import{CopyToPageMiniIcon as Su}from"./chunk-CUH3B5XK.js";import{CopyToPageSolidIcon as Ou}from"./chunk-XQQVYYP6.js";import{CornerMiniIcon as Yu}from"./chunk-FY2CQ5OZ.js";import{CornerSolidIcon as Vu}from"./chunk-IHFHX3JS.js";import{CountUpMiniIcon as wu}from"./chunk-RRVBOD2U.js";import{CountUpSolidIcon as yu}from"./chunk-I5VYOWIX.js";import{CropBottomMiniIcon as xu}from"./chunk-BXDYFSP4.js";import{CropBottomSolidIcon as vu}from"./chunk-QM5DFN7Z.js";import{CopiedMiniIcon as qu}from"./chunk-FVZBMQQG.js";import{CopiedSolidIcon as zu}from"./chunk-6NM4VNUK.js";import{CopyAlt2Icon as $u}from"./chunk-6OVMOQXY.js";import{CopyAltIcon as _u}from"./chunk-76MY6SHR.js";import{CopyMiniIcon as rh}from"./chunk-COL533ZT.js";import{CopySolidIcon as oh}from"./chunk-R2AU7OKI.js";import{CopyStyleMiniIcon as mh}from"./chunk-FDF6AGVQ.js";import{CopyStyleSolidIcon as th}from"./chunk-XLTCCVAS.js";import{CompanyMiniIcon as ch}from"./chunk-BXRX5WJC.js";import{CompanySolidIcon as nh}from"./chunk-7DVL5EM2.js";import{ComposeMiniIcon as ih}from"./chunk-Q6DH4T7K.js";import{ComposeSolidIcon as sh}from"./chunk-YPAX3OVJ.js";import{ContinueListMiniIcon as ph}from"./chunk-QQYCZUHI.js";import{ContinueListSolidIcon as uh}from"./chunk-7LG36CPT.js";import{ContrastMiniIcon as hh}from"./chunk-VZEQGTG6.js";import{ContrastSolidIcon as kh}from"./chunk-GVMMJWNK.js";import{CollapseMiniIcon as fh}from"./chunk-KMGORP5N.js";import{CollapseSolidIcon as eh}from"./chunk-MFZS4XH4.js";import{ColumnGapMiniIcon as jh}from"./chunk-EBH2ETZL.js";import{ColumnGapSolidIcon as ah}from"./chunk-4CGNDOUU.js";import{ColumnWidthsMiniIcon as lh}from"./chunk-7CQR2P4D.js";import{ColumnWidthsSolidIcon as dh}from"./chunk-V2ILLLXT.js";import{ColumnsMiniIcon as bh}from"./chunk-KU75RLJS.js";import{ColumnsSolidIcon as Qh}from"./chunk-VEPD5TDQ.js";import{CloudMiniIcon as Ch}from"./chunk-OZ7YWV63.js";import{CloudPauseMiniIcon as Fh}from"./chunk-SIILHHPE.js";import{CloudPauseSolidIcon as Dh}from"./chunk-5KQTZ4UE.js";import{CloudSlashMiniIcon as Jh}from"./chunk-4YYHXX5L.js";import{CloudSlashSolidIcon as Kh}from"./chunk-IDA6A4QV.js";import{CloudSolidIcon as Nh}from"./chunk-LVL7SQQE.js";import{CodeMiniIcon as Rh}from"./chunk-EY7ITVLB.js";import{CodeSolidIcon as Uh}from"./chunk-QF2QYWLO.js";import{CloudAlertMiniIcon as Hh}from"./chunk-BXS2D2KK.js";import{CloudAlertSolidIcon as Mh}from"./chunk-FWNFAW7P.js";import{CloudArrowUpMiniIcon as Ph}from"./chunk-6RY7OKVQ.js";import{CloudArrowUpSolidIcon as Xh}from"./chunk-2NRMCUOW.js";import{CloudCheckMiniIcon as Lh}from"./chunk-ZV4FB43H.js";import{CloudCheckSolidIcon as Zh}from"./chunk-EAI3RF4X.js";import{CloudDownloadMiniIcon as Gh}from"./chunk-NFQTAYIZ.js";import{CloudDownloadSolidIcon as Wh}from"./chunk-5ATA7ZH4.js";import{ClipboardSolidIcon as Ah}from"./chunk-XS4PWQSN.js";import{ClockMiniIcon as Th}from"./chunk-J4FL4OCW.js";import{ClockSolidIcon as Eh}from"./chunk-DORDAZGF.js";import{CloseCircleAltIcon as gh}from"./chunk-TQYPYM4F.js";import{CloseCircleMiniIcon as Bh}from"./chunk-6AKTE47Z.js";import{CloseCircleSolidIcon as Ih}from"./chunk-MNJH3BVA.js";import{CloseMiniIcon as Sh}from"./chunk-44CXUHIL.js";import{CloseSolidIcon as Oh}from"./chunk-AHVWJJCK.js";import{ChevronUpSolidIcon as Yh}from"./chunk-UGUQC2CY.js";import{CircleStackMiniIcon as Vh}from"./chunk-AD7JPCLJ.js";import{CircleStackSolidIcon as wh}from"./chunk-OSFWNBI3.js";import{ClearMarksMiniIcon as yh}from"./chunk-DSFPJYO5.js";import{ClearMarksSolidIcon as xh}from"./chunk-S4WC23JS.js";import{ClipboardDocumentListMiniIcon as vh}from"./chunk-HGOWLHKZ.js";import{ClipboardDocumentListSolidIcon as qh}from"./chunk-7BPQPIJJ.js";import{ClipboardMiniIcon as zh}from"./chunk-IUUJEV6I.js";import{ChevronDownSolidIcon as $h}from"./chunk-5YPYINMS.js";import{ChevronLeftMiniIcon as _h}from"./chunk-EFP2VLXY.js";import{ChevronLeftSolidIcon as rk}from"./chunk-53JU3XAC.js";import{ChevronRightMiniIcon as ok}from"./chunk-7BLIJJRB.js";import{ChevronRightSolidIcon as mk}from"./chunk-PZVDRXTL.js";import{ChevronUpDownMiniIcon as tk}from"./chunk-6USSSR3X.js";import{ChevronUpDownSolidIcon as ck}from"./chunk-TGS7NZ4S.js";import{ChevronUpMiniIcon as nk}from"./chunk-R7F2DMKZ.js";import{CheckSolidIcon as ik}from"./chunk-CL3TM57T.js";import{CheckboxMiniIcon as sk}from"./chunk-NBDXKLRS.js";import{CheckboxSolidIcon as pk}from"./chunk-MP32KR6I.js";import{ChevronDoubleLeftMiniIcon as uk}from"./chunk-HFZYDG4H.js";import{ChevronDoubleLeftSolidIcon as hk}from"./chunk-ESYW3ZJ3.js";import{ChevronDoubleRightMiniIcon as kk}from"./chunk-5KV4BIYG.js";import{ChevronDoubleRightSolidIcon as fk}from"./chunk-2B2HGWZR.js";import{ChevronDownMiniIcon as ek}from"./chunk-LRWOR3LD.js";import{ChatBubbleOvalLeftEllipsisMiniIcon as jk}from"./chunk-WKQDQ6PX.js";import{ChatBubbleOvalLeftEllipsisSolidIcon as ak}from"./chunk-5ONLEJND.js";import{ChatMiniIcon as lk}from"./chunk-TZALPJLH.js";import{ChatSolidIcon as dk}from"./chunk-WVWIQLSO.js";import{CheckAltIcon as bk}from"./chunk-66B4UUBJ.js";import{CheckCircleMiniIcon as Qk}from"./chunk-HW23QCM6.js";import{CheckCircleSolidIcon as Ck}from"./chunk-4AHAFRLQ.js";import{CheckMiniIcon as Fk}from"./chunk-PZVZQAT7.js";import{ChartBarSquareSolidIcon as Dk}from"./chunk-WMHMEL4M.js";import{ChartLineMiniIcon as Jk}from"./chunk-3AOH4Y5Q.js";import{ChartLineSolidIcon as Kk}from"./chunk-H4D64QWB.js";import{ChartMiniIcon as Nk}from"./chunk-6MK2ZRMR.js";import{ChartSolidIcon as Rk}from"./chunk-WSGRNF7K.js";import{ChatAltIcon as Uk}from"./chunk-A5M37IYD.js";import{ChatBubbleLeftRightMiniIcon as Hk}from"./chunk-EMFPDUC5.js";import{ChatBubbleLeftRightSolidIcon as Mk}from"./chunk-FJCROBEY.js";import{CaseNormalMiniIcon as Pk}from"./chunk-K553VJKG.js";import{CaseNormalSolidIcon as Xk}from"./chunk-EWO3CHRK.js";import{CaseSolidIcon as Lk}from"./chunk-AJS6MGSR.js";import{CaseUpperMiniIcon as Zk}from"./chunk-BTKR3L6T.js";import{CaseUpperSolidIcon as Gk}from"./chunk-C6PK7DPK.js";import{ChartBarMiniIcon as Wk}from"./chunk-PTAWGNOP.js";import{ChartBarSolidIcon as Ak}from"./chunk-JKZBUZJL.js";import{ChartBarSquareMiniIcon as Tk}from"./chunk-O4VLKJH6.js";import{CartAltIcon as Ek}from"./chunk-EBIWBHDT.js";import{CartMiniIcon as gk}from"./chunk-SQ3LMAD7.js";import{CartSolidIcon as Bk}from"./chunk-5OB5G4ER.js";import{CaseCapitalizedMiniIcon as Ik}from"./chunk-LGLWUWLG.js";import{CaseCapitalizedSolidIcon as Sk}from"./chunk-COBVYQJ5.js";import{CaseLowerMiniIcon as Ok}from"./chunk-6PBWS4U2.js";import{CaseLowerSolidIcon as Yk}from"./chunk-BTWIDDUX.js";import{CaseMiniIcon as Vk}from"./chunk-7NYUPAF2.js";import{CaptionMiniIcon as wk}from"./chunk-QAQ7AWOR.js";import{CaptionSolidIcon as yk}from"./chunk-625GKS5W.js";import{CarMiniIcon as xk}from"./chunk-HZWDLCON.js";import{CarSolidIcon as vk}from"./chunk-SJAGP7O5.js";import{CardPaymentAlt2Icon as qk}from"./chunk-2ASZVLNP.js";import{CardPaymentAltIcon as zk}from"./chunk-DMALV6HL.js";import{CardPaymentMiniIcon as $k}from"./chunk-USDDEC5E.js";import{CardPaymentSolidIcon as _k}from"./chunk-VEWTFCLT.js";import{CalculatorMiniIcon as rf}from"./chunk-A53BUHOH.js";import{CalculatorSolidIcon as of}from"./chunk-VCJ4TFNW.js";import{CalendarAlt2Icon as mf}from"./chunk-7C6NKEWV.js";import{CalendarAltIcon as tf}from"./chunk-JANKMZGF.js";import{CalendarMiniIcon as cf}from"./chunk-KCE2CIH7.js";import{CalendarSolidIcon as nf}from"./chunk-UM7ENABX.js";import{CameraMiniIcon as sf}from"./chunk-JFKV3HGY.js";import{CameraSolidIcon as pf}from"./chunk-CLKX4AYI.js";import{BuildingLibraryMiniIcon as uf}from"./chunk-TH4CJHHG.js";import{BuildingLibrarySolidIcon as hf}from"./chunk-Z2AQ3XB3.js";import{BuildingOffice2MiniIcon as kf}from"./chunk-TC7LOFWX.js";import{BuildingOffice2SolidIcon as ff}from"./chunk-UC5NQ7J6.js";import{ButtonIconMiniIcon as ef}from"./chunk-JT54HCG7.js";import{ButtonIconSolidIcon as jf}from"./chunk-LQ2WXJLJ.js";import{ButtonMiniIcon as af}from"./chunk-I4AFC5T6.js";import{ButtonSolidIcon as lf}from"./chunk-BQGZ5XPF.js";import{BrandYoutubeOutlineIcon as df}from"./chunk-RBXMTHOT.js";import{BrandYoutubeSolidIcon as bf}from"./chunk-UKC6VJE4.js";import{BreadcrumbMiniIcon as Qf}from"./chunk-SDECOPY3.js";import{BreadcrumbSolidIcon as Cf}from"./chunk-KLAGP4GV.js";import{BriefcaseMiniIcon as Ff}from"./chunk-IRZBGVTB.js";import{BriefcaseSolidIcon as Df}from"./chunk-XS4HBMDN.js";import{BugMiniIcon as Jf}from"./chunk-R2DAQH2T.js";import{BugSolidIcon as Kf}from"./chunk-YVLE5OZR.js";import{BrandTiktokOutlineIcon as Nf}from"./chunk-T3NJAOJL.js";import{BrandTiktokSolidIcon as Rf}from"./chunk-W5DLG5T2.js";import{BrandWechatOutlineIcon as Uf}from"./chunk-YKKMR5DU.js";import{BrandWechatSolidIcon as Hf}from"./chunk-474G67EG.js";import{BrandWhatsappOutlineIcon as Mf}from"./chunk-NFMDU4EJ.js";import{BrandWhatsappSolidIcon as Pf}from"./chunk-URWQO4KB.js";import{BrandXOutlineIcon as Xf}from"./chunk-2UCDJCGZ.js";import{BrandXSolidIcon as Lf}from"./chunk-FEVWWOGL.js";import{BrandLineOutlineIcon as Zf}from"./chunk-EQPVQY5E.js";import{BrandLineSolidIcon as Gf}from"./chunk-CAUWHLN7.js";import{BrandLinkedinOutlineIcon as Wf}from"./chunk-6I7EODFJ.js";import{BrandLinkedinSolidIcon as Af}from"./chunk-BXQYRG7P.js";import{BrandPinterestOutlineIcon as Tf}from"./chunk-ROUTBYMG.js";import{BrandPinterestSolidIcon as Ef}from"./chunk-FOXMWLVS.js";import{BrandTelegramOutlineIcon as gf}from"./chunk-YVULGIDQ.js";import{BrandTelegramSolidIcon as Bf}from"./chunk-NTWI7EGJ.js";import{BoxYStretchMiniIcon as If}from"./chunk-TQ2M7V4E.js";import{BoxYStretchSolidIcon as Sf}from"./chunk-3FGPFDDK.js";import{BracesMiniIcon as Of}from"./chunk-G5T4NYFR.js";import{BracesSolidIcon as Yf}from"./chunk-AHTA7QXO.js";import{BrandFacebookOutlineIcon as Vf}from"./chunk-5KZ4WKUI.js";import{BrandFacebookSolidIcon as wf}from"./chunk-OKRAYHGW.js";import{BrandInstagramOutlineIcon as yf}from"./chunk-MTZUYC4Y.js";import{BrandInstagramSolidIcon as xf}from"./chunk-LQD7K7HK.js";import{BoxYBetweenMiniIcon as vf}from"./chunk-NO6DG2IV.js";import{BoxYBetweenSolidIcon as qf}from"./chunk-UO6GQPT3.js";import{BoxYCenterMiniIcon as zf}from"./chunk-JNSMBHNH.js";import{BoxYCenterSolidIcon as $f}from"./chunk-W33HIHEP.js";import{BoxYEndMiniIcon as _f}from"./chunk-IS6FC32P.js";import{BoxYEndSolidIcon as re}from"./chunk-H62WUDPO.js";import{BoxYStartMiniIcon as oe}from"./chunk-TSP7UFQB.js";import{BoxYStartSolidIcon as me}from"./chunk-6LNNBA3T.js";import{BoxXCenterMiniIcon as te}from"./chunk-GZ7XQBCG.js";import{BoxXCenterSolidIcon as ce}from"./chunk-HFAOJ4OJ.js";import{BoxXEndMiniIcon as ne}from"./chunk-K5VNHEVL.js";import{BoxXEndSolidIcon as ie}from"./chunk-FMHHOXML.js";import{BoxXStartMiniIcon as se}from"./chunk-NQJL6B67.js";import{BoxXStartSolidIcon as pe}from"./chunk-T2FITGKQ.js";import{BoxXStretchMiniIcon as ue}from"./chunk-GFYIVFX2.js";import{BoxXStretchSolidIcon as he}from"./chunk-NLUSV66Z.js";import{BorderTopMiniIcon as ke}from"./chunk-SJ23KTCO.js";import{BorderTopSolidIcon as fe}from"./chunk-G3OIMKEO.js";import{BoxItemAlignmentMiniIcon as ee}from"./chunk-O3UL2XW5.js";import{BoxItemAlignmentSolidIcon as je}from"./chunk-E5G2RURY.js";import{BoxJustifyMiniIcon as ae}from"./chunk-QRTRKWCZ.js";import{BoxJustifySolidIcon as le}from"./chunk-S5IAQ7ZS.js";import{BoxXBetweenMiniIcon as de}from"./chunk-ESDSE6HY.js";import{BoxXBetweenSolidIcon as be}from"./chunk-6CBF7UQ2.js";import{BorderAllMiniIcon as Qe}from"./chunk-QKEJNJSJ.js";import{BorderAllSolidIcon as Ce}from"./chunk-BVZSNZO2.js";import{BorderBottomMiniIcon as Fe}from"./chunk-UNETPVQD.js";import{BorderBottomSolidIcon as De}from"./chunk-EQJFKRK5.js";import{BorderLeftMiniIcon as Je}from"./chunk-GWXTRUSZ.js";import{BorderLeftSolidIcon as Ke}from"./chunk-BLTHZSWG.js";import{BorderRightMiniIcon as Ne}from"./chunk-6KGMGZHE.js";import{BorderRightSolidIcon as Re}from"./chunk-U7Y6VI2V.js";import{BoltMiniIcon as Ue}from"./chunk-WD2PAOXY.js";import{BoltSolidIcon as He}from"./chunk-RLUX7UZ3.js";import{BookOpenMiniIcon as Me}from"./chunk-MDEYAVX5.js";import{BookOpenSolidIcon as Pe}from"./chunk-KNIHHEZ6.js";import{BookmarkMiniIcon as Xe}from"./chunk-PJZ4TOFR.js";import{BookmarkSolidIcon as Le}from"./chunk-GVSGP4P3.js";import{BookmarkSquareMiniIcon as Ze}from"./chunk-YH4GOPT3.js";import{BookmarkSquareSolidIcon as Ge}from"./chunk-ERKFGC5C.js";import{BlockTextMiniIcon as We}from"./chunk-7YJ6QRFY.js";import{BlockTextSolidIcon as Ae}from"./chunk-IADBERII.js";import{BlockVideoMiniIcon as Te}from"./chunk-ZMYTKXYP.js";import{BlockVideoSolidIcon as Ee}from"./chunk-X6IMHWDH.js";import{BlogPostMiniIcon as ge}from"./chunk-D2VXCCQV.js";import{BlogPostSolidIcon as Be}from"./chunk-ADILLUBC.js";import{BoldMiniIcon as Ie}from"./chunk-OZIHC6LT.js";import{BoldSolidIcon as Se}from"./chunk-JTECQPFZ.js";import{BlockLayeredImagesMiniIcon as Oe}from"./chunk-G2KSTEIR.js";import{BlockLayeredImagesSolidIcon as Ye}from"./chunk-KW7DKURL.js";import{BlockProductTitleMiniIcon as Ve}from"./chunk-5C56H7RM.js";import{BlockProductTitleSolidIcon as we}from"./chunk-VK4OK5MQ.js";import{BlockSectionMiniIcon as ye}from"./chunk-OONUEZIW.js";import{BlockSectionSolidIcon as xe}from"./chunk-5L3MHRXQ.js";import{BlockSpacerMiniIcon as ve}from"./chunk-S2PKAWDA.js";import{BlockSpacerSolidIcon as qe}from"./chunk-K6ZY2PQV.js";import{BlockCouponMiniIcon as ze}from"./chunk-JZEQTZRG.js";import{BlockCouponSolidIcon as $e}from"./chunk-LBJQOR7U.js";import{BlockDividerMiniIcon as _e}from"./chunk-ZMON54V2.js";import{BlockDividerSolidIcon as rj}from"./chunk-6PAEECEY.js";import{BlockFooterMiniIcon as oj}from"./chunk-7WLRGQU2.js";import{BlockFooterSolidIcon as mj}from"./chunk-KN6Z3QSE.js";import{BlockHeadingMiniIcon as tj}from"./chunk-KHSTQGAQ.js";import{BlockHeadingSolidIcon as cj}from"./chunk-6OPE4Z6S.js";import{BlackAndWhiteMiniIcon as nj}from"./chunk-LHKI2VJW.js";import{BlackAndWhiteSolidIcon as ij}from"./chunk-OOCJAWJB.js";import{BlockBadgeMiniIcon as sj}from"./chunk-TNM6UGRR.js";import{BlockBadgeSolidIcon as pj}from"./chunk-CDXABHGL.js";import{BlockBannerMiniIcon as uj}from"./chunk-H2FH3U4E.js";import{BlockBannerSolidIcon as hj}from"./chunk-GIU6VXJB.js";import{BlockBoxMiniIcon as kj}from"./chunk-DIM5ZZ5Y.js";import{BlockBoxSolidIcon as fj}from"./chunk-3RVAJR6Y.js";import{BellAlertSolidIcon as ej}from"./chunk-NQ74ZNNG.js";import{BellAltIcon as jj}from"./chunk-FXTYVMSO.js";import{BellMiniIcon as aj}from"./chunk-VZSPQOIL.js";import{BellPlusMiniIcon as lj}from"./chunk-7FKABCZX.js";import{BellPlusSolidIcon as dj}from"./chunk-TNMTBNFE.js";import{BellSolidIcon as bj}from"./chunk-D5KZHQUQ.js";import{BillingMiniIcon as Qj}from"./chunk-NMZH7XRX.js";import{BillingSolidIcon as Cj}from"./chunk-GIDCFJFJ.js";import{BagSolidIcon as Fj}from"./chunk-B64SQUAI.js";import{Bars3BottomLeftMiniIcon as Dj}from"./chunk-YIURRPQ7.js";import{Bars3BottomLeftSolidIcon as Jj}from"./chunk-UO5KVL7C.js";import{BatteryMiniIcon as Kj}from"./chunk-M4PBEZVP.js";import{BatterySolidIcon as Nj}from"./chunk-L2NH35JL.js";import{BeakerMiniIcon as Rj}from"./chunk-Y4HNZVNW.js";import{BeakerSolidIcon as Uj}from"./chunk-XAYE2WUP.js";import{BellAlertMiniIcon as Hj}from"./chunk-YS5B33PA.js";import{AtSymbolMiniIcon as Mj}from"./chunk-MM4WJHXO.js";import{AtSymbolSolidIcon as Pj}from"./chunk-UYZAW4XK.js";import{AttachAltIcon as Xj}from"./chunk-7AUFUC7S.js";import{AttachMiniIcon as Lj}from"./chunk-3ZCQPEQB.js";import{AttachSolidIcon as Zj}from"./chunk-F3HV52IQ.js";import{BackgroundMiniIcon as Gj}from"./chunk-GJLJDWP2.js";import{BackgroundSolidIcon as Wj}from"./chunk-E25DJCZX.js";import{BagMiniIcon as Aj}from"./chunk-3UXCHN2Y.js";import{ArrowTrendingDownMiniIcon as Tj}from"./chunk-IW3H2NIS.js";import{ArrowTrendingDownSolidIcon as Ej}from"./chunk-KQHNX5WQ.js";import{ArrowTrendingUpMiniIcon as gj}from"./chunk-C7PJ2BFZ.js";import{ArrowTrendingUpSolidIcon as Bj}from"./chunk-WRVHXP72.js";import{ArrowUpMiniIcon as Ij}from"./chunk-NPMGJBVE.js";import{ArrowUpRightMiniIcon as Sj}from"./chunk-DCQS3CY7.js";import{ArrowUpRightSolidIcon as Oj}from"./chunk-SANX3GBB.js";import{ArrowUpSolidIcon as Yj}from"./chunk-OOXD67PN.js";import{ArrowLeftEndOnRectangleMiniIcon as Vj}from"./chunk-6SGFZZNU.js";import{ArrowLeftEndOnRectangleSolidIcon as wj}from"./chunk-H3CZUUUV.js";import{ArrowLeftMiniIcon as yj}from"./chunk-XK2TKHHU.js";import{ArrowLeftSolidIcon as xj}from"./chunk-XQFFEQNA.js";import{ArrowLongRightMiniIcon as vj}from"./chunk-WDNMERJD.js";import{ArrowLongRightSolidIcon as qj}from"./chunk-2LCAJKJM.js";import{ArrowRightMiniIcon as zj}from"./chunk-L5VJEUNL.js";import{ArrowRightSolidIcon as $j}from"./chunk-QEXKJWAA.js";import{AnimationMiniIcon as _j}from"./chunk-4ZI75XUP.js";import{AnimationSolidIcon as ra}from"./chunk-RLY6QGCY.js";import{AppsMiniIcon as oa}from"./chunk-C5FRN2MO.js";import{AppsSolidIcon as ma}from"./chunk-KKBQRMEQ.js";import{ArchiveBoxMiniIcon as ta}from"./chunk-CVWRL3SR.js";import{ArchiveBoxSolidIcon as ca}from"./chunk-DSRZ22NW.js";import{ArrowDownMiniIcon as na}from"./chunk-UEETKW2R.js";import{ArrowDownSolidIcon as ia}from"./chunk-BUA6AISP.js";import{AlignRightMiniIcon as sa}from"./chunk-JHTRFNOJ.js";import{AlignRightSolidIcon as pa}from"./chunk-DP7WVTGQ.js";import{AlignSeparateMiniIcon as ua}from"./chunk-LSSZLU65.js";import{AlignSeparateSolidIcon as ha}from"./chunk-MKS6YLYR.js";import{AlignmentMiniIcon as ka}from"./chunk-GCR66E4S.js";import{AlignmentSolidIcon as fa}from"./chunk-3LG5YFCK.js";import{AnchorMiniIcon as ea}from"./chunk-ZRPTWML6.js";import{AnchorSolidIcon as ja}from"./chunk-SRX7THEC.js";import{AdjustMiniIcon as aa}from"./chunk-MUUIDQKX.js";import{AdjustSolidIcon as la}from"./chunk-FFTCTT6J.js";import{AlignCenterMiniIcon as da}from"./chunk-CJWPYYJZ.js";import{AlignCenterSolidIcon as ba}from"./chunk-7U6KJNZ2.js";import{AlignJustifyMiniIcon as Qa}from"./chunk-UI2XKCNM.js";import{AlignJustifySolidIcon as Ca}from"./chunk-IQAFZJO5.js";import{AlignLeftMiniIcon as Fa}from"./chunk-DOBDKX3N.js";import{AlignLeftSolidIcon as Da}from"./chunk-UBS44QNF.js";import{AccountSolidIcon as Ja}from"./chunk-LMF4FIGQ.js";import{AccountUserCircleIcon as Ka}from"./chunk-3OIQSCGM.js";import{AddCircleMiniIcon as Na}from"./chunk-DFAIY54I.js";import{AddCircleSolidIcon as Ra}from"./chunk-DTLKYF45.js";import{AddMiniIcon as Ua}from"./chunk-PMAX5YW2.js";import{AddPersonMiniIcon as Ha}from"./chunk-77USZ3CH.js";import{AddPersonSolidIcon as Ma}from"./chunk-EJ7CUJUL.js";import{AddSolidIcon as Pa}from"./chunk-SSYXGVCW.js";import{AccentMiniIcon as Xa}from"./chunk-FA6U6ZML.js";import{AccentSolidIcon as La}from"./chunk-ZTN72H54.js";import{AccordionMiniIcon as Za}from"./chunk-ASM2VLQ2.js";import{AccordionSolidIcon as Ga}from"./chunk-I2DIQQOR.js";import{AccountAltIcon as Wa}from"./chunk-EYBN5UBA.js";import{AccountCircleMiniIcon as Aa}from"./chunk-ONJKQ4F4.js";import{AccountCircleSolidIcon as Ta}from"./chunk-PMP4MCXR.js";import{AccountMiniIcon as Ea}from"./chunk-VHGJTJ5C.js";import{AcademicCapMiniIcon as ga}from"./chunk-JSGNZTYP.js";import{AcademicCapSolidIcon as Ba}from"./chunk-4XM7JDQT.js";var Ia=["alt","alt-2","alt-3","arrow-path-rounded-square","building-storefront-20-solid","document","mini","outline","pencil-square","queue-list","rectangle-stack","solid","user-circle","user-group"],Sa={name:"efficient",label:"Efficient",icons:{},looks:{alt:{account:Wa,attach:Xj,bell:jj,"block-image":Wi,"block-included-list":gn,calendar:tf,"calendar-check":tf,"card-payment":zk,cart:Ek,category:Ss,chat:Uk,check:bk,"close-circle":gh,copy:_u,dashboard:js,desktop:Du,document:lu,"document-check":du,dollar:uu,download:$p,drag:ou,duplicate:Yp,edit:Gp,email:Ep,external:mp,flag:gs,folder:Ss,globe:Us,grid:js,image:Wi,inbox:Ri,info:ei,layers:ci,layout:pi,list:gn,lock:Zn,map:fn,page:mc,"paint-brush":Gr,phone:Pt,play:Ft,"rectangle-group":pi,refresh:Ym,rename:Gp,scale:Hm,"scroll-text":lu,search:lm,send:im,sort:ho,sparkles:ao,star:xr,styles:Gr,tag:Qr,target:ir,title:gs,trash:w,truck:v,wheel:ir},"alt-2":{"block-included-list":Tn,calendar:mf,"calendar-check":mf,"card-payment":qk,copy:$u,document:au,edit:Zp,external:op,list:Tn,rename:Zp,"scroll-text":au,search:am,send:nm,sparkles:eo,trash:V},"alt-3":{"block-included-list":En,list:En,sparkles:jo},"arrow-path-rounded-square":{refresh:Vm},"building-storefront-20-solid":{store:Vr},document:{document:cu,"scroll-text":cu},mini:{"academic-cap":ga,accent:Xa,accordion:Za,account:Ea,"account-circle":Aa,add:Ua,"add-circle":Na,"add-person":Ha,adjust:aa,"align-center":da,"align-justify":Qa,"align-left":Fa,"align-right":sa,"align-separate":ua,alignment:ka,anchor:ea,animation:_j,apps:oa,"archive-box":ta,arrow:zj,"arrow-down":na,"arrow-left":yj,"arrow-left-end-on-rectangle":Vj,"arrow-long-right":vj,"arrow-right":zj,"arrow-trending-down":Tj,"arrow-trending-up":gj,"arrow-up":Ij,"arrow-up-right":Sj,"at-symbol":Mj,attach:Lj,background:Gj,bag:Aj,bank:uf,"bars-3-bottom-left":Dj,battery:Kj,beaker:Rj,bell:aj,"bell-alert":Hj,"bell-plus":lj,billing:Qj,"black-and-white":nj,"block-badge":sj,"block-banner":uj,"block-box":kj,"block-button":af,"block-column":bh,"block-coupon":ze,"block-divider":_e,"block-footer":oj,"block-heading":tj,"block-image":Ci,"block-included-list":Rn,"block-layered-images":Oe,"block-product":bt,"block-product-title":Ve,"block-section":ye,"block-social":Vo,"block-spacer":ve,"block-text":We,"block-video":Te,"blog-post":ge,bold:Ie,bolt:Ue,"book-open":Me,bookmark:Xe,"bookmark-square":Ze,"border-all":Qe,"border-bottom":Fe,"border-left":Je,"border-right":Ne,"border-top":ke,"box-item-alignment":ee,"box-justify":ae,"box-x-between":de,"box-x-center":te,"box-x-end":ne,"box-x-start":se,"box-x-stretch":ue,"box-y-between":vf,"box-y-center":zf,"box-y-end":_f,"box-y-start":oe,"box-y-stretch":If,braces:Of,breadcrumb:Qf,briefcase:Ff,bug:Jf,"bug-ant":Jf,"building-library":uf,"building-office-2":kf,button:af,"button-arrow":zj,"button-icon":ef,calculator:rf,calendar:cf,"calendar-check":cf,camera:sf,caption:wk,car:xk,"card-payment":$k,caret:ek,cart:gk,case:Vk,"case-capitalized":Ik,"case-lower":Ok,"case-normal":Pk,"case-upper":Zk,category:Os,chart:Nk,"chart-bar":Wk,"chart-bar-square":Tk,"chart-line":Jk,chat:lk,"chat-bubble-left-right":Hk,"chat-bubble-oval-left-ellipsis":jk,check:Fk,"check-circle":Qk,checkbox:sk,chevron:ek,"chevron-double":kk,"chevron-double-left":uk,"chevron-double-right":kk,"chevron-down":ek,"chevron-left":_h,"chevron-right":ok,"chevron-up":nk,"chevron-up-down":tk,"circle-stack":Vh,"clear-marks":yh,clipboard:zh,"clipboard-check":qu,"clipboard-document-list":vh,"clipboard-list":vh,clock:Th,close:Sh,"close-circle":Bh,cloud:Ch,"cloud-alert":Hh,"cloud-arrow-up":Ph,"cloud-check":Lh,"cloud-download":Gh,"cloud-pause":Fh,"cloud-slash":Jh,code:Rh,"code-bracket":Rh,collapse:fh,"collapse-all":fh,"column-gap":jh,"column-widths":lh,columns:bh,company:ch,compose:ih,"continue-list":ph,contrast:hh,cookie:Vh,copied:qu,copy:rh,"copy-style":mh,"copy-to-page":Su,corner:Yu,"count-up":wu,crop:Eu,"crop-bottom":xu,"crop-left":Gu,"crop-left-right":Wu,"crop-right":gu,"crop-top":Ru,"crop-y":Hu,"cube-transparent":Pu,cursor:bu,"cursor-arrow-rays":Lu,"cursor-click":Lu,dashboard:as,date:Cu,desktop:Ju,detach:Nu,diagram:ku,direction:eu,"direction-down":na,"direction-left":yj,"direction-right":zj,"direction-up":Ij,document:su,"document-check":mu,"document-magnifying-glass":nu,dollar:xp,dot:qp,download:_p,drag:Bp,drop:Sp,duplicate:Vp,duration:yp,edit:Wp,email:gp,enter:Np,"entrance-bounce":Up,"entrance-fade":Mp,"entrance-flip":Xp,"entrance-glide":dp,"entrance-reveal":Qp,"entrance-rise":Fp,"entrance-scale":Jp,"entrance-spin":up,eraser:kp,error:ep,expand:ap,external:tp,eye:np,"eye-off":ip,"face-smile":ys,filter:vs,finish:zs,fire:_s,flag:Bs,folder:Os,"folder-open":Ys,"folder-plus":Ps,forward:Zs,"full-width":Ws,gap:Ts,gem:Js,gift:Ns,globe:Hs,grid:as,ground:ds,hand:Qs,"hand-thumb-up":Fs,hash:ss,headquarters:us,heart:ks,height:es,help:_i,"help-off":rs,hexagon:ts,home:ns,hover:yi,"hover-lift":Vi,"hover-next-image":xi,"hover-none":qi,"hover-rotate":Ai,"hover-zoom":gi,"icon-above-text":Ii,"icon-after-text":Oi,"icon-at-end":Mi,"icon-before-text":Xi,identification:Zi,image:Ci,"image-off":Fi,images:Ki,inbox:Ui,info:ji,italic:li,key:bi,layers:ni,layout:ui,"letter-spacing":ki,lightbulb:zn,"line-between":_n,"line-dashed":oi,"line-dotted":ti,"line-solid":On,"line-spacing":Vn,"line-style":yn,link:vn,"link-slash":Gn,list:Rn,"list-format":Bn,"list-none":Un,location:Xn,lock:bn,logo:Cn,logout:Dn,loop:hn,"loop-marquee":Kn,map:en,media:sn,"media-layout-big-two":an,"media-layout-inset":dn,"media-layout-side-by-side":mn,"media-layout-stacked":cn,megaphone:un,menu:xc,meta:qc,microphone:$c,money:rn,moon:Bc,more:Sc,"more-vertical":Yc,"move-down":na,"move-up":Ij,newspaper:ge,"no-symbol":wc,note:Lc,nudge:Gc,"nudge-x":Ac,"nudge-y":Ec,"numbered-list":Kc,opacity:Rc,"own-text":Hc,package:Pc,"package-open":ac,"padding-all":bc,"padding-bottom":Cc,"padding-left":Dc,"padding-left-right":sc,"padding-right":hc,"padding-top":fc,"padding-x":jc,"padding-y":rc,page:tc,"paint-brush":Wr,palette:nc,"panel-left":Vt,"panel-right":yt,"paragraph-spacing":vt,parcel:Pc,paste:zh,"paste-style":zt,pause:Tt,pen:gt,people:It,percent:Yt,phone:Zt,"phone-hidden":Xt,placement:Wt,play:Dt,"plus-minus":Kt,power:Rt,"presentation-chart-bar":Ht,print:jt,product:bt,"product-field":lt,"product-size":Qt,progress:it,quote:pt,"radio-dot":ht,radius:ft,receipt:$m,"receipt-percent":_m,"receipt-refund":ot,"rectangle-group":ui,redo:ct,refresh:wm,remove:xm,"remove-circle":xm,rename:Wp,reply:Am,"reply-all":qm,revert:Em,robot:Bm,rotate:Sm,scale:Mm,"scroll-fade-in":Xm,"scroll-fade-out":Zm,"scroll-move-down":Qm,"scroll-move-up":Fm,"scroll-parallax":Jm,"scroll-point":Nm,"scroll-text":su,"scroll-zoom-in":km,"scroll-zoom-out":em,search:dm,"select-all":tm,send:sm,"separator-slash":um,"separator-triangle":vo,server:zo,settings:_o,shadow:om,"shape-ellipse":Io,"shape-rect":Oo,share:Vo,shared:yo,"shield-check":Zo,"shield-exclamation":Wo,"sides-each":To,signal:go,"signal-slash":Bo,sitemap:Uo,"slide-arrows-bare":ok,"slide-arrows-round":Mo,"slide-arrows-square":Xo,"slide-picker-bar":lo,"slide-picker-cards":Qo,"slide-picker-dots":Fo,"slide-picker-numbers":Jo,"slide-picker-squares":po,sort:ko,sparkles:ro,speaker:mo,"speaker-wave":mo,"spec-table":co,split:io,square:wr,star:vr,state:zr,"status-circle":_r,"status-dot":gr,sticky:Ir,"stop-circle":Or,store:Pr,strike:Lr,styles:Wr,subscript:Tr,"success-burst":G,sun:Jr,superscript:Nr,swap:Ur,swatch:zs,table:Mr,tablet:ar,tabs:dr,tag:Cr,target:sr,team:ur,telephone:kr,template:Xe,"text-color":er,"text-lines":Dj,"text-size":_,"text-small":or,"text-value":tr,texture:nr,theme:zs,ticket:ze,title:Bs,trash:y,trigger:Ue,truck:q,tv:A,type:E,tyre:B,underline:S,undo:H,upload:P,"v-align":L,verified:G,"video-off":C,"view-columns":D,wallet:K,warning:R,weight:f,wheel:sr,widgets:j,width:l,window:b,windows:c,"words-from":i,wrap:p,wrench:h,"wrench-screwdriver":k,"zoom-in":m},outline:{"brand-facebook":Vf,"brand-instagram":yf,"brand-line":Zf,"brand-linkedin":Wf,"brand-pinterest":Tf,"brand-telegram":gf,"brand-tiktok":Nf,"brand-wechat":Uf,"brand-whatsapp":Mf,"brand-x":Xf,"brand-youtube":df},"pencil-square":{edit:Ap,rename:Ap},"queue-list":{"block-included-list":Mn,list:Mn},"rectangle-stack":{layers:ii},solid:{"academic-cap":Ba,accent:La,accordion:Ga,account:Ja,"account-circle":Ta,add:Pa,"add-circle":Ra,"add-person":Ma,adjust:la,"align-center":ba,"align-justify":Ca,"align-left":Da,"align-right":pa,"align-separate":ha,alignment:fa,anchor:ja,animation:ra,apps:ma,"archive-box":ca,arrow:$j,"arrow-down":ia,"arrow-left":xj,"arrow-left-end-on-rectangle":wj,"arrow-long-right":qj,"arrow-right":$j,"arrow-trending-down":Ej,"arrow-trending-up":Bj,"arrow-up":Yj,"arrow-up-right":Oj,"at-symbol":Pj,attach:Zj,background:Wj,bag:Fj,bank:hf,"bars-3-bottom-left":Jj,battery:Nj,beaker:Uj,bell:bj,"bell-alert":ej,"bell-plus":dj,billing:Cj,"black-and-white":ij,"block-badge":pj,"block-banner":hj,"block-box":fj,"block-button":lf,"block-column":Qh,"block-coupon":$e,"block-divider":rj,"block-footer":mj,"block-heading":cj,"block-image":Ji,"block-included-list":Pn,"block-layered-images":Ye,"block-product":nt,"block-product-title":we,"block-section":xe,"block-social":wo,"block-spacer":qe,"block-text":Ae,"block-video":Ee,"blog-post":Be,bold:Se,bolt:He,"book-open":Pe,bookmark:Le,"bookmark-square":Ge,"border-all":Ce,"border-bottom":De,"border-left":Ke,"border-right":Re,"border-top":fe,"box-item-alignment":je,"box-justify":le,"box-x-between":be,"box-x-center":ce,"box-x-end":ie,"box-x-start":pe,"box-x-stretch":he,"box-y-between":qf,"box-y-center":$f,"box-y-end":re,"box-y-start":me,"box-y-stretch":Sf,braces:Yf,breadcrumb:Cf,briefcase:Df,bug:Kf,"bug-ant":Kf,"building-library":hf,"building-office-2":ff,button:lf,"button-arrow":$j,"button-icon":jf,calculator:of,calendar:nf,"calendar-check":nf,camera:pf,caption:yk,car:vk,"card-payment":_k,caret:$h,cart:Bk,case:Lk,"case-capitalized":Sk,"case-lower":Yk,"case-normal":Xk,"case-upper":Gk,category:Ls,chart:Rk,"chart-bar":Ak,"chart-bar-square":Dk,"chart-line":Kk,chat:dk,"chat-bubble-left-right":Mk,"chat-bubble-oval-left-ellipsis":ak,check:ik,"check-circle":Ck,checkbox:pk,chevron:$h,"chevron-double":fk,"chevron-double-left":hk,"chevron-double-right":fk,"chevron-down":$h,"chevron-left":rk,"chevron-right":mk,"chevron-up":Yh,"chevron-up-down":ck,"circle-stack":wh,"clear-marks":xh,clipboard:Ah,"clipboard-check":zu,"clipboard-document-list":qh,"clipboard-list":qh,clock:Eh,close:Oh,"close-circle":Ih,cloud:Nh,"cloud-alert":Mh,"cloud-arrow-up":Xh,"cloud-check":Zh,"cloud-download":Wh,"cloud-pause":Dh,"cloud-slash":Kh,code:Uh,"code-bracket":Uh,collapse:eh,"collapse-all":eh,"column-gap":ah,"column-widths":dh,columns:Qh,company:nh,compose:sh,"continue-list":uh,contrast:kh,cookie:wh,copied:zu,copy:oh,"copy-style":th,"copy-to-page":Ou,corner:Vu,"count-up":yu,crop:Iu,"crop-bottom":vu,"crop-left":Tu,"crop-left-right":Au,"crop-right":Bu,"crop-top":Uu,"crop-y":Mu,"cube-transparent":Xu,cursor:Qu,"cursor-arrow-rays":Zu,"cursor-click":Zu,dashboard:ls,date:Fu,desktop:Ku,detach:hu,diagram:fu,direction:ju,"direction-down":ia,"direction-left":xj,"direction-right":$j,"direction-up":Yj,document:pu,"document-check":tu,"document-magnifying-glass":iu,dollar:vp,dot:zp,download:ru,drag:Ip,drop:Op,duplicate:wp,duration:Lp,edit:Tp,email:Kp,enter:Rp,"entrance-bounce":Hp,"entrance-fade":Pp,"entrance-flip":lp,"entrance-glide":bp,"entrance-reveal":Cp,"entrance-rise":Dp,"entrance-scale":pp,"entrance-spin":hp,eraser:fp,error:jp,expand:rp,external:cp,eye:ws,"eye-off":sp,"face-smile":xs,filter:qs,finish:$s,fire:Es,flag:Is,folder:Ls,"folder-open":Vs,"folder-plus":Xs,forward:Gs,"full-width":As,gap:Ds,gem:Ks,gift:Rs,globe:Ms,grid:ls,ground:bs,hand:Cs,"hand-thumb-up":is,hash:ps,headquarters:hs,heart:fs,height:$i,help:ms,"help-off":os,hexagon:cs,home:Yi,hover:Ei,"hover-lift":wi,"hover-next-image":vi,"hover-none":zi,"hover-rotate":Ti,"hover-zoom":Bi,"icon-above-text":Si,"icon-after-text":Hi,"icon-at-end":Pi,"icon-before-text":Li,identification:Gi,image:Ji,"image-off":Di,images:Ni,inbox:fi,info:ai,italic:di,key:Qi,layers:si,layout:hi,"letter-spacing":qn,lightbulb:$n,"line-between":ri,"line-dashed":mi,"line-dotted":Sn,"line-solid":Yn,"line-spacing":wn,"line-style":xn,link:An,"link-slash":Wn,list:Pn,"list-format":In,"list-none":Hn,location:Ln,lock:Qn,logo:Fn,logout:Jn,loop:kn,"loop-marquee":Nn,map:jn,media:pn,"media-layout-big-two":ln,"media-layout-inset":on,"media-layout-side-by-side":tn,"media-layout-stacked":nn,megaphone:yc,menu:vc,meta:zc,microphone:_c,money:gc,moon:Ic,more:Oc,"more-vertical":Vc,"move-down":ia,"move-up":Yj,newspaper:Be,"no-symbol":Xc,note:Zc,nudge:Wc,"nudge-x":Tc,"nudge-y":Jc,"numbered-list":Nc,opacity:Uc,"own-text":Mc,package:dc,"package-open":lc,"padding-all":Qc,"padding-bottom":Fc,"padding-left":uc,"padding-left-right":pc,"padding-right":kc,"padding-top":ec,"padding-x":_t,"padding-y":oc,page:cc,"paint-brush":Ar,palette:ic,"panel-left":wt,"panel-right":xt,"paragraph-spacing":qt,parcel:dc,paste:Ah,"paste-style":$t,pause:Et,pen:Bt,people:St,percent:Mt,phone:Gt,"phone-hidden":Lt,placement:At,play:Jt,"plus-minus":Nt,power:Ut,"presentation-chart-bar":et,print:at,product:nt,"product-field":dt,"product-size":Ct,progress:st,quote:ut,"radio-dot":kt,radius:zm,receipt:tt,"receipt-percent":rt,"receipt-refund":mt,"rectangle-group":hi,redo:Om,refresh:ym,remove:vm,"remove-circle":vm,rename:Tp,reply:Tm,"reply-all":Wm,revert:gm,robot:Im,rotate:Um,scale:Pm,"scroll-fade-in":Lm,"scroll-fade-out":Gm,"scroll-move-down":Cm,"scroll-move-up":Dm,"scroll-parallax":Km,"scroll-point":Rm,"scroll-text":pu,"scroll-zoom-in":fm,"scroll-zoom-out":jm,search:bm,"select-all":cm,send:pm,"separator-slash":hm,"separator-triangle":qo,server:$o,settings:rm,shadow:mm,"shape-ellipse":So,"shape-rect":Yo,share:wo,shared:xo,"shield-check":Go,"shield-exclamation":Ao,"sides-each":Eo,signal:Ro,"signal-slash":No,sitemap:Ho,"slide-arrows-bare":mk,"slide-arrows-round":Po,"slide-arrows-square":Lo,"slide-picker-bar":bo,"slide-picker-cards":Co,"slide-picker-dots":Do,"slide-picker-numbers":Ko,"slide-picker-squares":uo,sort:fo,sparkles:oo,speaker:to,"speaker-wave":to,"spec-table":no,split:so,square:yr,star:qr,state:$r,"status-circle":Er,"status-dot":Br,sticky:Sr,"stop-circle":Yr,store:Xr,strike:Zr,styles:Ar,subscript:Dr,"success-burst":W,sun:Kr,superscript:Rr,swap:Hr,swatch:$s,table:jr,tablet:lr,tabs:br,tag:Fr,target:pr,team:hr,telephone:fr,template:Le,"text-color":$,"text-lines":Jj,"text-size":rr,"text-small":mr,"text-value":cr,texture:Y,theme:$s,ticket:$e,title:Is,trash:x,trigger:He,truck:z,tv:T,type:g,tyre:I,underline:O,undo:M,upload:X,"v-align":Z,verified:W,"video-off":F,"view-columns":J,wallet:N,warning:U,weight:e,wheel:pr,widgets:a,width:d,window:Q,windows:n,"words-from":s,wrap:u,wrench:o,"wrench-screwdriver":r,"zoom-in":t,"brand-facebook":wf,"brand-instagram":xf,"brand-line":Gf,"brand-linkedin":Af,"brand-pinterest":Ef,"brand-telegram":Bf,"brand-tiktok":Rf,"brand-wechat":Hf,"brand-whatsapp":Pf,"brand-x":Lf,"brand-youtube":bf},"user-circle":{account:Ka},"user-group":{people:Ot}}};export{Ia as efficientLookNames,Sa as efficientLooks};
@@ -1,11 +1,11 @@
1
- import{usePlotWidth as e}from"./chunk-MAFUXCPZ.js";import{ChartTooltip as t}from"./chunk-WDQI3FV6.js";import{resolveSeriesColor as l,CHART_INK as r}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as n}from"./chunk-TWVUQUUD.js";import{useShellStrings as i,useShellLocale as a}from"./chunk-IUVGHHR3.js";import{formatPlain as o}from"./chunk-C3QOHMR6.js";import{useRef as h,useId as c,useState as s,useEffect as m}from"react";import{jsx as f,jsxs as u}from"react/jsx-runtime";function x({rows:x,columns:d,cells:p,height:M,width:g,color:y,max:v,formatValue:$,label:b,className:k,emptyLabel:w,cellGap:A=2,cellRadius:N=2}){const j=i().charts,U=a(),z=$??(e=>o(e,U)),C=b??j.intensity,D=w??j.noActivity,F=h(null),R=e(F),V=g??R,S=c(),[G,H]=s(null);if(m(()=>{if(null!==G)return n(e=>"Escape"===e.key&&(H(null),!0))},[G]),0===x.length||0===d.length)/* @__PURE__ */
2
- return f("div",{className:k,ref:F,children:/* @__PURE__ */f("p",{className:"py-8 text-center text-sm text-gray-500",children:D})});const I=y??l(0),L=v??Math.max(1,...p.flat().filter(Number.isFinite)),Q=96,B=26*x.length,E=M??B+26+26,T=Math.max(2,(Math.max(97,V)-Q)/d.length),W=e=>{const t=L>0?Math.max(0,Math.min(1,e/L)):0;return`color-mix(in oklab, ${I} ${(8+92*t).toFixed(1)}%, ${r.surface})`};/* @__PURE__ */
1
+ import{ChartTooltip as e}from"./chunk-WDQI3FV6.js";import{resolveSeriesColor as t,CHART_INK as l}from"./chunk-TZFACUMR.js";import{registerModalEscapeInterceptor as r}from"./chunk-TWVUQUUD.js";import{usePlotWidth as n}from"./chunk-MAFUXCPZ.js";import{useShellStrings as i,useShellLocale as a}from"./chunk-IUVGHHR3.js";import{formatPlain as o}from"./chunk-C3QOHMR6.js";import{useRef as h,useId as c,useState as s,useEffect as m}from"react";import{jsx as f,jsxs as u}from"react/jsx-runtime";function x({rows:x,columns:d,cells:p,height:M,width:g,color:y,max:v,formatValue:$,label:b,className:k,emptyLabel:w,cellGap:A=2,cellRadius:N=2}){const j=i().charts,U=a(),z=$??(e=>o(e,U)),C=b??j.intensity,D=w??j.noActivity,F=h(null),R=n(F),V=g??R,S=c(),[G,H]=s(null);if(m(()=>{if(null!==G)return r(e=>"Escape"===e.key&&(H(null),!0))},[G]),0===x.length||0===d.length)/* @__PURE__ */
2
+ return f("div",{className:k,ref:F,children:/* @__PURE__ */f("p",{className:"py-8 text-center text-sm text-gray-500",children:D})});const I=y??t(0),L=v??Math.max(1,...p.flat().filter(Number.isFinite)),Q=96,B=26*x.length,E=M??B+26+26,T=Math.max(2,(Math.max(97,V)-Q)/d.length),W=e=>{const t=L>0?Math.max(0,Math.min(1,e/L)):0;return`color-mix(in oklab, ${I} ${(8+92*t).toFixed(1)}%, ${l.surface})`};/* @__PURE__ */
3
3
  return u("div",{className:`relative ${k??""}`,ref:F,children:[
4
4
  /* @__PURE__ */u("svg",{width:"100%",height:E,viewBox:`0 0 ${V} ${E}`,role:"img","aria-label":j.heatmap(C,x.length,d.length),tabIndex:0,className:"rosh-focus-ring focus-visible:ring-2 focus-visible:ring-[color:var(--rosh-focus-ring-deep)]",onMouseLeave:()=>H(null),onBlur:()=>H(null),onKeyDown:e=>{const t="ArrowDown"===e.key?1:"ArrowUp"===e.key?-1:0,l="ArrowRight"===e.key?1:"ArrowLeft"===e.key?-1:0;0===t&&0===l||(e.preventDefault(),H(e=>({r:Math.min(x.length-1,Math.max(0,(e?.r??0)+t)),c:Math.min(d.length-1,Math.max(0,(e?.c??0)+l))})))},children:[
5
5
  /* @__PURE__ */f("defs",{children:/* @__PURE__ */u("linearGradient",{id:S,x1:"0",x2:"1",children:[
6
6
  /* @__PURE__ */f("stop",{offset:"0",stopColor:W(0)}),
7
- /* @__PURE__ */f("stop",{offset:"1",stopColor:W(L)})]})}),x.map((e,t)=>/* @__PURE__ */f("text",{x:86,y:26*t+13+4,textAnchor:"end",fontSize:11,fill:r.label,children:e},`r${t}`)),x.map((e,t)=>d.map((l,r)=>{const n=p[t]?.[r]??0,i=G&&(G.r!==t||G.c!==r);/* @__PURE__ */
8
- return f("rect",{x:Q+r*T+A/2,y:26*t+A/2,width:Math.max(1,T-A),height:26-A,rx:N,fill:W(n),opacity:i?.55:1,onMouseEnter:()=>H({r:t,c:r}),children:/* @__PURE__ */f("title",{children:`${e} · ${l}: ${z(n)}`})},`${t}-${r}`)})),d.map((e,t)=>t%Math.max(1,Math.ceil(d.length/Math.max(1,Math.floor((V-Q)/56))))===0?/* @__PURE__ */f("text",{x:Q+t*T+T/2,y:B+15,textAnchor:"middle",fontSize:11,fill:r.label,children:e},`c${t}`):null),
7
+ /* @__PURE__ */f("stop",{offset:"1",stopColor:W(L)})]})}),x.map((e,t)=>/* @__PURE__ */f("text",{x:86,y:26*t+13+4,textAnchor:"end",fontSize:11,fill:l.label,children:e},`r${t}`)),x.map((e,t)=>d.map((l,r)=>{const n=p[t]?.[r]??0,i=G&&(G.r!==t||G.c!==r);/* @__PURE__ */
8
+ return f("rect",{x:Q+r*T+A/2,y:26*t+A/2,width:Math.max(1,T-A),height:26-A,rx:N,fill:W(n),opacity:i?.55:1,onMouseEnter:()=>H({r:t,c:r}),children:/* @__PURE__ */f("title",{children:`${e} · ${l}: ${z(n)}`})},`${t}-${r}`)})),d.map((e,t)=>t%Math.max(1,Math.ceil(d.length/Math.max(1,Math.floor((V-Q)/56))))===0?/* @__PURE__ */f("text",{x:Q+t*T+T/2,y:B+15,textAnchor:"middle",fontSize:11,fill:l.label,children:e},`c${t}`):null),
9
9
  /* @__PURE__ */f("rect",{x:Q,y:B+26,width:Math.min(180,Math.max(40,V-Q)),height:8,rx:4,fill:`url(#${S})`}),
10
- /* @__PURE__ */f("text",{x:Q,y:B+48,fontSize:11,fill:r.label,children:"0"}),
11
- /* @__PURE__ */f("text",{x:Q+Math.min(180,Math.max(40,V-Q)),y:B+48,textAnchor:"end",fontSize:11,fill:r.label,style:{fontVariantNumeric:"tabular-nums"},children:z(L)})]}),G&&/* @__PURE__ */f("div",{className:"pointer-events-none absolute top-1 right-1 z-10",children:/* @__PURE__ */f(t,{title:`${x[G.r]} · ${d[G.c]}`,rows:[{key:"v",label:C,color:I,value:null==p[G.r]?.[G.c]?void 0:z(p[G.r][G.c])}]})})]})}export{x as HeatmapChart};
10
+ /* @__PURE__ */f("text",{x:Q,y:B+48,fontSize:11,fill:l.label,children:"0"}),
11
+ /* @__PURE__ */f("text",{x:Q+Math.min(180,Math.max(40,V-Q)),y:B+48,textAnchor:"end",fontSize:11,fill:l.label,style:{fontVariantNumeric:"tabular-nums"},children:z(L)})]}),G&&/* @__PURE__ */f("div",{className:"pointer-events-none absolute top-1 right-1 z-10",children:/* @__PURE__ */f(e,{title:`${x[G.r]} · ${d[G.c]}`,rows:[{key:"v",label:C,color:I,value:null==p[G.r]?.[G.c]?void 0:z(p[G.r][G.c])}]})})]})}export{x as HeatmapChart};
@@ -1,4 +1,4 @@
1
- import{Modal as e}from"./chunk-JFOMAXD2.js";import{keepsNativeMenu as a}from"./chunk-5QFPTDQF.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-ZI2FDUYJ.js";import{keepsNativeMenu as a}from"./chunk-5QFPTDQF.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,69 @@
1
+ import{fitBoxScale as e}from"./chunk-M6UKCZHT.js";import{toast_default as t}from"./chunk-VQ35LXDC.js";import{useShellStrings as r}from"./chunk-IUVGHHR3.js";import{forwardRef as n,useRef as o,useState as i,useMemo as a,useEffect as l,useImperativeHandle as s}from"react";import{jsx as c,jsxs as d,Fragment as h}from"react/jsx-runtime";var u=["#ef4444","#f97316","#eab308","#22c55e","#3b82f6","#8b5cf6","#000000","#ffffff"],p=[{id:"system",name:"fontSystem",css:"-apple-system, system-ui, sans-serif"},{id:"serif",name:"fontSerif",css:'Georgia, "Times New Roman", serif'},{id:"mono",name:"fontMono",css:'ui-monospace, "SF Mono", Menlo, monospace'},{id:"cursive",name:"fontCursive",css:'"Brush Script MT", "Comic Sans MS", cursive'}],y=()=>Math.random().toString(36).slice(2,9),x=n(function({src:n,filename:x,onApply:g,onCancel:w},N){const z=o(null),D=o(null),P=o(null),$=o(null),E=r().annotator,I=o(E);I.current=E;const[S,W]=i("select"),[B,R]=i(u[0]),[j,H]=i(4),[T,U]=i(24),[F,A]=i(p[0].id),[O,K]=i(!0),[V,Z]=i(!1),[X,G]=i(!1),[q,Y]=i(null),[_,Q]=i(null),[J,ee]=i(6),[te,re]=i(12),[ne,oe]=i([]),[ie,ae]=i(null),[le,se]=i(null),[ce,de]=i(null),[he,ue]=i(1),[pe,ye]=i(null),[xe,me]=i(null),[ge,we]=i(null),fe=o(null),[ve,be]=i(!1),ke=a(()=>ce?{w:ce.w*he,h:ce.h*he}:null,[ce,he]),Me=ke&&le?ke.w/le.w:1,Ce=a(()=>ne.find(e=>e.id===ie)??null,[ne,ie]);l(()=>{"select"===S&&Ce&&("color"in Ce&&R(Ce.color),"stroke"in Ce&&H(Ce.stroke),"rect"===Ce.type&&re(Ce.radius),"text"===Ce.type&&(U(Ce.size),A(Ce.font),K(Ce.bold),Z(Ce.italic),G(Ce.underline),Y(Ce.borderColor),Q(Ce.background),ee(Ce.padding)))},[ie]),l(()=>{const e=new Image;e.crossOrigin="anonymous",e.onload=()=>{$.current=e,se({w:e.naturalWidth,h:e.naturalHeight}),oe([]),ae(null)},e.onerror=()=>t.error(I.current.loadFailed),e.src=n},[n]),l(()=>{if(!le)return;const t=()=>{const t=z.current;if(!t)return;const r=t.getBoundingClientRect(),n=Math.max(0,r.width-32),o=Math.max(0,r.height-32);if(0===n||0===o)return;const i=e({width:n,height:o},{width:le.w,height:le.h},1);de({w:le.w*i,h:le.h*i})};t();const r=new ResizeObserver(t);return z.current&&r.observe(z.current),()=>r.disconnect()},[le]);const Ne=a(()=>ne.filter(e=>"mosaic"===e.type),[ne]);l(()=>{const e=$.current,t=D.current;if(!e||!t||!le)return;t.width=le.w,t.height=le.h;const r=t.getContext("2d");r.drawImage(e,0,0);for(const e of Ne)L(r,e)},[le,Ne,ce]);const Le=e=>{const t=P.current;if(!t)return{x:0,y:0};const r=t.createSVGPoint();r.x=e.clientX,r.y=e.clientY;const n=t.getScreenCTM();if(!n)return{x:0,y:0};const o=r.matrixTransform(n.inverse());return{x:o.x,y:o.y}},ze=e=>{fe.current=e,be(!0)};l(()=>{if(!ve)return;const e=e=>{const t=fe.current;if(!t)return;const r=Le(e);if("draw"===t.kind)ye(b(S,t.start,r,B,j,te));else if("pen"===t.kind){const e=t.points[t.points.length-1];(Math.abs(r.x-e.x)>1||Math.abs(r.y-e.y)>1)&&(t.points.push(r),ye({id:"",type:"draw",points:t.points.slice(),color:B,stroke:j}))}else if("crop"===t.kind)we(C(t.start,r));else if("move"===t.kind){const e=r.x-t.start.x,n=r.y-t.start.y;oe(r=>r.map(r=>r.id===t.id?k(t.original,e,n):r))}else"resize"===t.kind&&oe(e=>e.map(e=>e.id===t.id?function(e,t,r){if("arrow"===e.type)return"start"===t?{...e,x1:r.x,y1:r.y}:"end"===t?{...e,x2:r.x,y2:r.y}:e;if("text"===e.type||"draw"===e.type)return e;const n=e.x,o=e.x+e.w,i=e.y,a=e.y+e.h;let l=n,s=i,c=o,d=a;"nw"===t&&(l=r.x,s=r.y);"ne"===t&&(c=r.x,s=r.y);"se"===t&&(c=r.x,d=r.y);"sw"===t&&(l=r.x,d=r.y);const h=C({x:l,y:s},{x:c,y:d});return{...e,x:h.x,y:h.y,w:h.w,h:h.h}}(t.original,t.corner,r):e))},t=()=>{const e=fe.current;if(fe.current=null,be(!1),"draw"===e?.kind)ye(e=>{if(!e||("arrow"===(t=e).type?Math.abs(t.x2-t.x1)<4&&Math.abs(t.y2-t.y1)<4:"draw"===t.type?t.points.length<2:"w"in t&&"h"in t&&(t.w<4||t.h<4)))return null;var t;const r={...e,id:y()};return oe(e=>[...e,r]),ae(r.id),W("select"),null});else if("pen"===e?.kind){if(e.points.length<2)return void ye(null);const t={id:y(),type:"draw",points:e.points,color:B,stroke:j};oe(e=>[...e,t]),ae(t.id),W("select"),ye(null)}};return window.addEventListener("pointermove",e),window.addEventListener("pointerup",t),window.addEventListener("pointercancel",t),()=>{window.removeEventListener("pointermove",e),window.removeEventListener("pointerup",t),window.removeEventListener("pointercancel",t)}},[ve,S,B,j,te]);l(()=>{const e=e=>{if(!document.activeElement||!/^(INPUT|TEXTAREA)$/.test(document.activeElement.tagName))return!e.metaKey&&!e.ctrlKey||"z"!==e.key&&"Z"!==e.key||e.shiftKey?void(ie&&("Delete"===e.key||"Backspace"===e.key?(e.preventDefault(),oe(e=>e.filter(e=>e.id!==ie)),ae(null)):"Escape"===e.key&&ae(null))):(e.preventDefault(),oe(e=>e.slice(0,-1)),void ae(null))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},[ie]);const De=e=>{const t=!{bold:O,italic:V,underline:X}[e];"bold"===e&&K(t),"italic"===e&&Z(t),"underline"===e&&G(t),ie&&oe(r=>r.map(r=>r.id===ie&&"text"===r.type?{...r,[e]:t}:r))},Pe=e=>{Y(e),ie&&oe(t=>t.map(t=>t.id===ie&&"text"===t.type?{...t,borderColor:e}:t))},$e=e=>{Q(e),ie&&oe(t=>t.map(t=>t.id===ie&&"text"===t.type?{...t,background:e}:t))},Ee=e=>{if(!xe)return;const t=e??xe.value;if(!t.trim())return xe.editingId&&oe(e=>e.filter(e=>e.id!==xe.editingId)),void me(null);if(xe.editingId)oe(e=>e.map(e=>e.id===xe.editingId&&"text"===e.type?{...e,text:t}:e));else{const e={id:y(),type:"text",x:xe.x,y:xe.y,text:t,color:B,size:T,font:F,bold:O,italic:V,underline:X,borderColor:q,background:_,padding:J};oe(t=>[...t,e]),ae(e.id),W("select")}me(null)},Ie=async()=>{const e=D.current,t=P.current;if(!e||!t||!le)return null;const r=document.createElement("canvas");r.width=le.w,r.height=le.h;const n=r.getContext("2d");n.drawImage(e,0,0);const o=t.cloneNode(!0);o.querySelectorAll("[data-chrome]").forEach(e=>e.remove());const i=(new XMLSerializer).serializeToString(o),a=new Blob([i],{type:"image/svg+xml;charset=utf-8"}),l=URL.createObjectURL(a),s=new Image;return await new Promise(e=>{s.onload=()=>e(),s.onerror=()=>e(),s.src=l}),n.drawImage(s,0,0,le.w,le.h),URL.revokeObjectURL(l),r};s(N,()=>({save:async()=>{const e=await Ie();e&&e.toBlob(e=>{if(!e)return void t.error(I.current.exportFailed);const r=URL.createObjectURL(e),n=document.createElement("a");n.href=r;const o=x.replace(/\.[^.]+$/,"");n.download=`${o}-annotated.png`,n.click(),URL.revokeObjectURL(r)},"image/png")},copy:async()=>{if(!("clipboard"in navigator)||"undefined"==typeof ClipboardItem)return void t.error(I.current.clipboardUnsupported);const e=await Ie();e&&e.toBlob(async e=>{if(e)try{await navigator.clipboard.write([new ClipboardItem({"image/png":e})]),t.success(I.current.copied)}catch{t.error(I.current.copyRefused)}else t.error(I.current.copyFailed)},"image/png")}}),[le,x]);const Se=a(()=>[{id:"select",label:E.toolSelect,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 3l7 17 2-7 7-2L5 3z"})})},{id:"draw",label:E.toolDraw,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("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.487z"})})},{id:"rect",label:E.toolRect,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("rect",{x:"4",y:"6",width:"16",height:"12",rx:"3"})})},{id:"circle",label:E.toolEllipse,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("ellipse",{cx:"12",cy:"12",rx:"8",ry:"6"})})},{id:"arrow",label:E.toolArrow,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 19L19 5m0 0h-7m7 0v7"})})},{id:"mosaic",label:E.toolMosaic,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4h6v6H4zM14 4h6v6h-6zM4 14h6v6H4zM14 14h6v6h-6z"})})},{id:"text",label:E.toolText,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 6h16M12 6v14M9 20h6"})})},{id:"crop",label:E.toolCrop,icon:/* @__PURE__ */c("svg",{className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:1.8,children:/* @__PURE__ */c("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M6 2v15a1 1 0 001 1h15M2 6h15a1 1 0 011 1v15"})})}],[E]),We=e=>"p-2 rounded transition-colors "+(e?"bg-blue-500 text-on-accent":"text-ink hover:bg-gray-200"),Be=Ce?.type??("select"===S?null:S),Re="rect"===Be||"circle"===Be||"arrow"===Be||"draw"===Be,je="rect"===Be,He="text"===Be;/* @__PURE__ */
2
+ return d("div",{className:"flex flex-col h-full bg-gray-100",children:[
3
+ /* @__PURE__ */d("div",{className:"flex items-center gap-2 px-3 py-2 border-b border-line bg-surface shrink-0 flex-wrap text-xs",children:[Se.map(e=>/* @__PURE__ */c("button",{onClick:()=>{W(e.id),ae(null)},title:e.label,className:We(S===e.id),children:e.icon},e.id)),
4
+ /* @__PURE__ */c("div",{className:"h-5 w-px bg-gray-300 mx-1"}),
5
+ /* @__PURE__ */c("div",{className:"flex items-center gap-1",children:u.map(e=>/* @__PURE__ */c("button",{onClick:()=>(e=>{R(e),ie&&oe(t=>t.map(t=>t.id!==ie||"mosaic"===t.type?t:{...t,color:e}))})(e),title:e,className:"h-5 w-5 rounded-full border "+(B===e?"ring-2 ring-blue-500 ring-offset-1":"border-gray-300"),style:{background:e}},e))}),Re&&/* @__PURE__ */d(h,{children:[
6
+ /* @__PURE__ */c("div",{className:"h-5 w-px bg-gray-300 mx-1"}),
7
+ /* @__PURE__ */d("label",{className:"flex items-center gap-2 text-gray-600",children:[
8
+ /* @__PURE__ */c("span",{children:E.weight}),
9
+ /* @__PURE__ */c("input",{type:"range",min:1,max:20,step:1,value:j,onChange:e=>{return t=Number(e.target.value),H(t),void(ie&&oe(e=>e.map(e=>e.id!==ie?e:"rect"===e.type||"circle"===e.type||"arrow"===e.type||"draw"===e.type?{...e,stroke:t}:e)));var t},className:"w-16 accent-blue-500"}),
10
+ /* @__PURE__ */c("span",{className:"tabular-nums w-5 text-right",children:j})]})]}),je&&/* @__PURE__ */d(h,{children:[
11
+ /* @__PURE__ */c("div",{className:"h-5 w-px bg-gray-300 mx-1"}),
12
+ /* @__PURE__ */d("label",{className:"flex items-center gap-2 text-gray-600",children:[
13
+ /* @__PURE__ */c("span",{children:E.radius}),
14
+ /* @__PURE__ */c("input",{type:"range",min:0,max:48,step:1,value:te,onChange:e=>{return t=Number(e.target.value),re(t),void(ie&&oe(e=>e.map(e=>e.id===ie&&"rect"===e.type?{...e,radius:t}:e)));var t},className:"w-16 accent-blue-500"}),
15
+ /* @__PURE__ */c("span",{className:"tabular-nums w-6 text-right",children:te})]})]}),He&&/* @__PURE__ */d(h,{children:[
16
+ /* @__PURE__ */c("div",{className:"h-5 w-px bg-gray-300 mx-1"}),
17
+ /* @__PURE__ */c("select",{value:F,onChange:e=>{return t=e.target.value,A(t),void(ie&&oe(e=>e.map(e=>e.id===ie&&"text"===e.type?{...e,font:t}:e)));var t},className:"text-xs border border-gray-300 rounded px-1 py-0.5 bg-white",children:p.map(e=>/* @__PURE__ */c("option",{value:e.id,children:E[e.name]},e.id))}),
18
+ /* @__PURE__ */c("button",{onClick:()=>De("bold"),className:We(O),title:E.bold,children:/* @__PURE__ */c("span",{className:"font-bold",children:E.boldLetter})}),
19
+ /* @__PURE__ */c("button",{onClick:()=>De("italic"),className:We(V),title:E.italic,children:/* @__PURE__ */c("span",{className:"italic",children:E.italicLetter})}),
20
+ /* @__PURE__ */c("button",{onClick:()=>De("underline"),className:We(X),title:E.underline,children:/* @__PURE__ */c("span",{className:"underline",children:E.underlineLetter})}),
21
+ /* @__PURE__ */d("label",{className:"flex items-center gap-2 text-gray-600",children:[
22
+ /* @__PURE__ */c("span",{children:E.size}),
23
+ /* @__PURE__ */c("input",{type:"range",min:10,max:96,step:1,value:T,onChange:e=>{return t=Number(e.target.value),U(t),void(ie&&oe(e=>e.map(e=>e.id===ie&&"text"===e.type?{...e,size:t}:e)));var t},className:"w-16 accent-blue-500"}),
24
+ /* @__PURE__ */c("span",{className:"tabular-nums w-7 text-right",children:T})]}),
25
+ /* @__PURE__ */d("label",{className:"flex items-center gap-1 text-gray-600",children:[
26
+ /* @__PURE__ */c("span",{children:E.border}),q?/* @__PURE__ */d(h,{children:[
27
+ /* @__PURE__ */c("input",{type:"color",value:q,onChange:e=>Pe(e.target.value),title:E.borderColor,className:"h-5 w-6 rounded border border-gray-300 bg-white p-0 cursor-pointer"}),
28
+ /* @__PURE__ */c("button",{onClick:()=>Pe(null),title:E.removeBorder,className:"px-0.5 text-gray-400 hover:text-gray-700",children:"✕"})]}):/* @__PURE__ */c("button",{onClick:()=>Pe(B),title:E.addBorder,className:"px-2 py-0.5 rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:E.add})]}),
29
+ /* @__PURE__ */d("label",{className:"flex items-center gap-1 text-gray-600",children:[
30
+ /* @__PURE__ */c("span",{children:E.fill}),_?/* @__PURE__ */d(h,{children:[
31
+ /* @__PURE__ */c("input",{type:"color",value:_,onChange:e=>$e(e.target.value),title:E.fillColor,className:"h-5 w-6 rounded border border-gray-300 bg-white p-0 cursor-pointer"}),
32
+ /* @__PURE__ */c("button",{onClick:()=>$e(null),title:E.removeFill,className:"px-0.5 text-gray-400 hover:text-gray-700",children:"✕"})]}):/* @__PURE__ */c("button",{onClick:()=>$e("#ffffff"),title:E.addFill,className:"px-2 py-0.5 rounded border border-line-strong text-gray-600 hover:bg-gray-100",children:E.add})]}),
33
+ /* @__PURE__ */d("label",{className:"flex items-center gap-2 text-gray-600",children:[
34
+ /* @__PURE__ */c("span",{children:E.padding}),
35
+ /* @__PURE__ */c("input",{type:"range",min:0,max:40,step:1,value:J,onChange:e=>{return t=Number(e.target.value),ee(t),void(ie&&oe(e=>e.map(e=>e.id===ie&&"text"===e.type?{...e,padding:t}:e)));var t},className:"w-14 accent-blue-500"}),
36
+ /* @__PURE__ */c("span",{className:"tabular-nums w-6 text-right",children:J})]})]}),
37
+ /* @__PURE__ */c("div",{className:"h-5 w-px bg-gray-300 mx-1"}),
38
+ /* @__PURE__ */c("button",{onClick:()=>ue(e=>Math.max(.25,Math.round(100*(e-.25))/100)),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-700",title:E.zoomOut,children:"−"}),
39
+ /* @__PURE__ */d("span",{className:"text-gray-600 tabular-nums w-10 text-center",children:[Math.round(100*he),"%"]}),
40
+ /* @__PURE__ */c("button",{onClick:()=>ue(e=>Math.min(4,Math.round(100*(e+.25))/100)),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-700",title:E.zoomIn,children:"+"}),
41
+ /* @__PURE__ */c("button",{onClick:()=>ue(1),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-700",title:E.fitHint,children:E.fit}),
42
+ /* @__PURE__ */c("div",{className:"h-5 w-px bg-gray-300 mx-1"}),
43
+ /* @__PURE__ */c("button",{onClick:()=>{oe(e=>e.slice(0,-1)),ae(null)},disabled:0===ne.length,className:"px-2 py-1 rounded hover:bg-gray-200 disabled:opacity-30 text-gray-700",children:E.undo}),
44
+ /* @__PURE__ */d("div",{className:"ml-auto flex items-center gap-2",children:[ge&&/* @__PURE__ */d(h,{children:[
45
+ /* @__PURE__ */c("button",{onClick:()=>{if(!ge||!$.current||!le)return;const e=ge,t=document.createElement("canvas");t.width=Math.round(e.w),t.height=Math.round(e.h);const r=t.getContext("2d"),n=document.createElement("canvas");n.width=le.w,n.height=le.h;const o=n.getContext("2d");o.drawImage($.current,0,0);for(const e of Ne)L(o,e);r.drawImage(n,e.x,e.y,e.w,e.h,0,0,e.w,e.h);const i=new Image;i.onload=()=>{$.current=i,se({w:i.naturalWidth,h:i.naturalHeight}),oe(t=>t.filter(e=>"mosaic"!==e.type).map(t=>k(t,-e.x,-e.y)).filter(e=>function(e,t,r){const n=M(e);return n.x+n.w>0&&n.y+n.h>0&&n.x<t&&n.y<r}(e,i.naturalWidth,i.naturalHeight))),we(null)},i.src=t.toDataURL("image/png")},className:"px-2 py-1 rounded bg-blue-500 text-white hover:bg-blue-600",children:E.applyCrop}),
46
+ /* @__PURE__ */c("button",{onClick:()=>we(null),className:"px-2 py-1 rounded hover:bg-gray-200 text-gray-700",children:E.cancel})]}),g&&!ge&&/* @__PURE__ */d(h,{children:[w&&/* @__PURE__ */c("button",{onClick:w,className:"px-3 py-1 rounded hover:bg-gray-200 text-gray-700 text-xs font-medium",children:E.cancel}),
47
+ /* @__PURE__ */c("button",{onClick:async()=>{const e=await Ie();e?e.toBlob(e=>{e?g(e):t.error(I.current.exportFailed)},"image/png"):t.error(I.current.exportFailed)},className:"px-3 py-1 rounded bg-blue-500 text-white hover:bg-blue-600 text-xs font-medium",children:E.apply})]})]})]}),
48
+ /* @__PURE__ */c("div",{ref:z,className:"flex-1 overflow-auto bg-gray-200 flex items-center justify-center p-4 relative",children:ke&&le&&/* @__PURE__ */d("div",{className:"relative shadow-lg rounded overflow-hidden bg-white shrink-0",style:{width:ke.w,height:ke.h},children:[
49
+ /* @__PURE__ */c("canvas",{ref:D,style:{position:"absolute",inset:0,width:"100%",height:"100%",display:"block"}}),
50
+ /* @__PURE__ */d("svg",{ref:P,viewBox:`0 0 ${le.w} ${le.h}`,preserveAspectRatio:"none",style:{position:"absolute",inset:0,width:"100%",height:"100%",touchAction:"none",cursor:"select"===S?"default":"text"===S?"text":"crosshair"},onPointerDown:e=>{if("select"===S)return void ae(null);if("text"===S){if(xe)return void Ee();const t=Le(e);return void me({x:t.x,y:t.y,value:""})}const t=Le(e);if("crop"!==S){if("draw"===S)return ze({kind:"pen",points:[t]}),void ye({id:"",type:"draw",points:[t],color:B,stroke:j});ye(b(S,t,t,B,j,te)),ze({kind:"draw",start:t})}else ze({kind:"crop",start:t})},children:[ne.map(e=>/* @__PURE__ */c(m,{anno:e,selected:ie===e.id,zoom:he,onPointerDown:t=>((e,t)=>{"select"===S&&(e.stopPropagation(),ae(t.id),ze({kind:"move",id:t.id,start:Le(e),original:t}))})(t,e),onDoubleClick:()=>{var t;"text"===(t=e).type&&me({x:t.x,y:t.y,value:t.text,editingId:t.id})},onHandlePointerDown:(t,r)=>((e,t,r)=>{e.stopPropagation(),ze({kind:"resize",id:t.id,corner:r,start:Le(e),original:t})})(t,e,r)},e.id)),pe&&/* @__PURE__ */c(m,{anno:{...pe,id:"__preview"},preview:!0}),ge&&/* @__PURE__ */c(f,{rect:ge,imageSize:le})]}),xe&&/* @__PURE__ */c(v,{pendingText:xe,color:B,size:T,font:p.find(e=>e.id===F)?.css??p[0].css,bold:O,italic:V,underline:X,borderColor:q,background:_,padding:J,scale:Me,onChange:e=>me({...xe,value:e}),onCommit:Ee,onCancel:()=>me(null)})]})}),
51
+ /* @__PURE__ */c("div",{className:"px-3 py-2 border-t border-line bg-surface text-2xs text-ink-faint shrink-0",children:"select"===S?ie?E.hintSelected:E.hintSelect:"text"===S?E.hintText:"crop"===S?E.hintCrop:"draw"===S?E.hintDraw:E.hintShape})]})});function m({anno:e,selected:t,preview:r,zoom:n=1,onPointerDown:o,onDoubleClick:i,onHandlePointerDown:a}){const l=M(e),s=o?{onPointerDown:o,pointerEvents:"all",style:{cursor:"move"}}:{},u=i?{onDoubleClick:i}:{};let y;if("rect"===e.type)y=/* @__PURE__ */c("rect",{x:e.x,y:e.y,width:e.w,height:e.h,rx:e.radius,ry:e.radius,fill:"none",stroke:e.color,strokeWidth:e.stroke,strokeLinecap:"round",strokeLinejoin:"round",...s});else if("circle"===e.type)y=/* @__PURE__ */c("ellipse",{cx:e.x+e.w/2,cy:e.y+e.h/2,rx:e.w/2,ry:e.h/2,fill:"none",stroke:e.color,strokeWidth:e.stroke,...s});else if("arrow"===e.type)y=/* @__PURE__ */c(w,{anno:e,interactive:s});else if("draw"===e.type)y=/* @__PURE__ */c("path",{d:N(e.points),fill:"none",stroke:e.color,strokeWidth:e.stroke,strokeLinecap:"round",strokeLinejoin:"round",...s});else if("mosaic"===e.type)y=/* @__PURE__ */c("rect",{x:e.x,y:e.y,width:e.w,height:e.h,fill:"rgba(0,0,0,0.001)",stroke:"none",strokeWidth:t?2:0,strokeDasharray:t?"6,4":void 0,...s,style:t?{...s.style,stroke:"var(--rosh-annotator-selection)"}:s.style});else{const t=p.find(t=>t.id===e.font)?.css??p[0].css,r=e.padding??0,n=!!e.borderColor||!!e.background,o=M(e),i=e.borderColor?Math.max(1,Math.round(e.size/12)):0;y=/* @__PURE__ */d("g",{...s,...u,children:[n&&/* @__PURE__ */c("rect",{x:o.x-r,y:o.y-r,width:Math.max(0,o.w)+2*r,height:Math.max(0,o.h)+2*r,rx:Math.min(8,r),ry:Math.min(8,r),fill:e.background??"none",stroke:e.borderColor??"none",strokeWidth:i}),
52
+ /* @__PURE__ */c("text",{x:e.x,y:e.y+e.size,fill:e.color,fontSize:e.size,fontWeight:e.bold?700:400,fontStyle:e.italic?"italic":"normal",textDecoration:e.underline?"underline":void 0,fontFamily:t,style:{userSelect:"none"},children:e.text.split("\n").map((t,r)=>/* @__PURE__ */c("tspan",{x:e.x,dy:0===r?0:1.2*e.size,children:t},r))})]})}/* @__PURE__ */
53
+ return d("g",{children:[y,t&&!r&&/* @__PURE__ */d(h,{children:[
54
+ /* @__PURE__ */c("rect",{"data-chrome":"selection",x:l.x-4,y:l.y-4,width:l.w+8,height:l.h+8,fill:"none",strokeWidth:2/n,strokeDasharray:`${6/n},${4/n}`,pointerEvents:"none",style:{stroke:"var(--rosh-annotator-selection)"}}),a&&/* @__PURE__ */c(g,{anno:e,zoom:n,onHandlePointerDown:a})]})]})}function g({anno:e,zoom:t,onHandlePointerDown:r}){const n=6/t,o=1.5/t,i=e=>({fill:"white",strokeWidth:o,pointerEvents:"all",style:{cursor:e,stroke:"var(--rosh-annotator-selection)"},"data-chrome":"handle"});if("arrow"===e.type)/* @__PURE__ */
55
+ return d(h,{children:[
56
+ /* @__PURE__ */c("circle",{cx:e.x1,cy:e.y1,r:n,...i("grab"),onPointerDown:e=>r(e,"start")}),
57
+ /* @__PURE__ */c("circle",{cx:e.x2,cy:e.y2,r:n,...i("grab"),onPointerDown:e=>r(e,"end")})]});if("text"===e.type||"draw"===e.type)return null;const a=e.x,l=e.y,s=e.w,u=e.h;/* @__PURE__ */
58
+ return d(h,{children:[
59
+ /* @__PURE__ */c("circle",{cx:a,cy:l,r:n,...i("nwse-resize"),onPointerDown:e=>r(e,"nw")}),
60
+ /* @__PURE__ */c("circle",{cx:a+s,cy:l,r:n,...i("nesw-resize"),onPointerDown:e=>r(e,"ne")}),
61
+ /* @__PURE__ */c("circle",{cx:a+s,cy:l+u,r:n,...i("nwse-resize"),onPointerDown:e=>r(e,"se")}),
62
+ /* @__PURE__ */c("circle",{cx:a,cy:l+u,r:n,...i("nesw-resize"),onPointerDown:e=>r(e,"sw")})]})}function w({anno:e,interactive:t}){const r=Math.max(12,4*e.stroke),n=Math.atan2(e.y2-e.y1,e.x2-e.x1),o=n+Math.PI-Math.PI/7,i=n+Math.PI+Math.PI/7,a=`M${e.x2},${e.y2} L${e.x2+r*Math.cos(o)},${e.y2+r*Math.sin(o)} L${e.x2+r*Math.cos(i)},${e.y2+r*Math.sin(i)} Z`;/* @__PURE__ */
63
+ return d("g",{...t,children:[
64
+ /* @__PURE__ */c("line",{x1:e.x1,y1:e.y1,x2:e.x2,y2:e.y2,stroke:e.color,strokeWidth:e.stroke,strokeLinecap:"round"}),
65
+ /* @__PURE__ */c("path",{d:a,fill:e.color})]})}function f({rect:e,imageSize:t}){/* @__PURE__ */
66
+ return d("g",{pointerEvents:"none",children:[
67
+ /* @__PURE__ */c("path",{d:`M0,0 H${t.w} V${t.h} H0 Z M${e.x},${e.y} V${e.y+e.h} H${e.x+e.w} V${e.y} Z`,fillRule:"evenodd",style:{fill:"var(--rosh-annotator-crop-scrim)"}}),
68
+ /* @__PURE__ */c("rect",{x:e.x,y:e.y,width:e.w,height:e.h,fill:"none",stroke:"white",strokeWidth:2,strokeDasharray:"8,6"})]})}function v({pendingText:e,color:t,size:n,font:i,bold:a,italic:s,underline:d,borderColor:h,background:u,padding:p,scale:y,onChange:x,onCommit:m,onCancel:g}){const w=o(null),f=r().annotator;l(()=>{const e=requestAnimationFrame(()=>{w.current?.focus(),w.current?.select?.()});return()=>cancelAnimationFrame(e)},[]);const v=()=>m(w.current?.value),b=h?Math.max(1,Math.round(n/12)):0;/* @__PURE__ */
69
+ return c("div",{style:{position:"absolute",left:e.x*y+"px",top:e.y*y+"px",transform:"translateY(-2px)",zIndex:5},onPointerDown:e=>e.stopPropagation(),children:/* @__PURE__ */c("textarea",{ref:w,value:e.value,onChange:e=>x(e.target.value),onBlur:v,onKeyDown:e=>{"Escape"===e.key?(e.preventDefault(),g()):"Enter"!==e.key||e.shiftKey||(e.preventDefault(),v())},placeholder:f.textPlaceholder,rows:1,className:"rosh-focus-ring resize-none shadow-(--elevation-panel)",style:{color:t,fontSize:n*y+"px",fontFamily:i,fontWeight:a?700:400,fontStyle:s?"italic":"normal",textDecoration:d?"underline":void 0,minWidth:80,padding:p*y+"px",borderRadius:Math.min(8,p)*y+"px",border:h?`${b*y}px solid ${h}`:"1px dashed var(--rosh-annotator-edit-hint)",background:u??"var(--rosh-annotator-edit-surface)"}})})}function b(e,t,r,n,o,i){if("rect"===e){const e=C(t,r);return{id:"",type:"rect",x:e.x,y:e.y,w:e.w,h:e.h,color:n,stroke:o,radius:i}}if("circle"===e){const e=C(t,r);return{id:"",type:"circle",x:e.x,y:e.y,w:e.w,h:e.h,color:n,stroke:o}}if("arrow"===e)return{id:"",type:"arrow",x1:t.x,y1:t.y,x2:r.x,y2:r.y,color:n,stroke:o};if("mosaic"===e){const e=C(t,r);return{id:"",type:"mosaic",x:e.x,y:e.y,w:e.w,h:e.h}}return null}function k(e,t,r){return"arrow"===e.type?{...e,x1:e.x1+t,y1:e.y1+r,x2:e.x2+t,y2:e.y2+r}:"draw"===e.type?{...e,points:e.points.map(e=>({x:e.x+t,y:e.y+r}))}:(e.type,{...e,x:e.x+t,y:e.y+r})}function M(e){if("arrow"===e.type){return{x:Math.min(e.x1,e.x2),y:Math.min(e.y1,e.y2),w:Math.abs(e.x2-e.x1),h:Math.abs(e.y2-e.y1)}}if("draw"===e.type){if(0===e.points.length)return{x:0,y:0,w:0,h:0};let t=e.points[0].x,r=e.points[0].x,n=e.points[0].y,o=e.points[0].y;for(const i of e.points)i.x<t&&(t=i.x),i.x>r&&(r=i.x),i.y<n&&(n=i.y),i.y>o&&(o=i.y);return{x:t,y:n,w:r-t,h:o-n}}if("text"===e.type){const t=e.text.split("\n"),r=t.reduce((e,t)=>Math.max(e,t.length),0);return{x:e.x,y:e.y,w:r*e.size*.55,h:t.length*e.size*1.2}}return{x:e.x,y:e.y,w:e.w,h:e.h}}function C(e,t){return{x:Math.min(e.x,t.x),y:Math.min(e.y,t.y),w:Math.abs(e.x-t.x),h:Math.abs(e.y-t.y)}}function N(e){if(0===e.length)return"";let t=`M ${e[0].x} ${e[0].y}`;for(let r=1;r<e.length;r++)t+=` L ${e[r].x} ${e[r].y}`;return t}function L(e,t){const r=Math.round(Math.max(0,t.x)),n=Math.round(Math.max(0,t.y)),o=Math.round(Math.min(e.canvas.width-r,t.w)),i=Math.round(Math.min(e.canvas.height-n,t.h));if(o<2||i<2)return;const a=e.getImageData(r,n,o,i);for(let e=0;e<i;e+=12)for(let t=0;t<o;t+=12){let r=0,n=0,l=0,s=0,c=0;const d=Math.min(12,o-t),h=Math.min(12,i-e);for(let i=0;i<h;i++)for(let h=0;h<d;h++){const d=4*((e+i)*o+(t+h));r+=a.data[d],n+=a.data[d+1],l+=a.data[d+2],s+=a.data[d+3],c++}r=Math.round(r/c),n=Math.round(n/c),l=Math.round(l/c),s=Math.round(s/c);for(let i=0;i<h;i++)for(let c=0;c<d;c++){const d=4*((e+i)*o+(t+c));a.data[d]=r,a.data[d+1]=n,a.data[d+2]=l,a.data[d+3]=s}}e.putImageData(a,r,n)}export{x as ImageAnnotator_default};
@@ -1,4 +1,4 @@
1
- import{SidebarLayout as e}from"./chunk-YTDMCUL7.js";import{Avatar as t}from"./chunk-W2TPXKCV.js";import{ItemCount as r}from"./chunk-SXHV5OLA.js";import{Button_default as a}from"./chunk-UTISUEO4.js";import{useState as i}from"react";import{jsx as l,jsxs as n}from"react/jsx-runtime";var s=[{id:"inbox",label:"Inbox",count:12},{id:"starred",label:"Starred",count:3},{id:"sent",label:"Sent"},{id:"drafts",label:"Drafts",count:1},{id:"archive",label:"Archive"},{id:"trash",label:"Trash"}],d=[{id:1,from:"Marco Reyes",subject:"Q3 roadmap review",preview:"Sharing the deck ahead of Thursday — let me know what you think before the review.",time:"9:14",unread:!0},{id:2,from:"Priya Patel",subject:"Design handoff",preview:"The Figma file is ready for engineering. I exported every icon at 1x and 2x.",time:"8:02",unread:!0},{id:3,from:"GitHub",subject:"[acme/web] PR #482 merged",preview:"Your pull request was merged into main by the release bot after all checks passed.",time:"Yest"},{id:4,from:"Sara Lind",subject:"Lunch Friday?",preview:"A few of us are heading to the new place on 5th at noon if you want to join.",time:"Yest"}];function c(){const[c,o]=i(1),m=d.find(e=>e.id===c)??d[0];/* @__PURE__ */
1
+ import{SidebarLayout as e}from"./chunk-U5RG34NE.js";import{Avatar as t}from"./chunk-W2TPXKCV.js";import{ItemCount as r}from"./chunk-SXHV5OLA.js";import{Button_default as a}from"./chunk-UTISUEO4.js";import{useState as i}from"react";import{jsx as l,jsxs as n}from"react/jsx-runtime";var s=[{id:"inbox",label:"Inbox",count:12},{id:"starred",label:"Starred",count:3},{id:"sent",label:"Sent"},{id:"drafts",label:"Drafts",count:1},{id:"archive",label:"Archive"},{id:"trash",label:"Trash"}],d=[{id:1,from:"Marco Reyes",subject:"Q3 roadmap review",preview:"Sharing the deck ahead of Thursday — let me know what you think before the review.",time:"9:14",unread:!0},{id:2,from:"Priya Patel",subject:"Design handoff",preview:"The Figma file is ready for engineering. I exported every icon at 1x and 2x.",time:"8:02",unread:!0},{id:3,from:"GitHub",subject:"[acme/web] PR #482 merged",preview:"Your pull request was merged into main by the release bot after all checks passed.",time:"Yest"},{id:4,from:"Sara Lind",subject:"Lunch Friday?",preview:"A few of us are heading to the new place on 5th at noon if you want to join.",time:"Yest"}];function c(){const[c,o]=i(1),m=d.find(e=>e.id===c)??d[0];/* @__PURE__ */
2
2
  return l("div",{className:"h-full",children:/* @__PURE__ */l(e,{side:"left",defaultWidth:200,sidebar:/* @__PURE__ */n("div",{className:"flex h-full flex-col p-2",children:[
3
3
  /* @__PURE__ */l(a,{block:!0,className:"mb-2",children:"Compose"}),s.map((e,t)=>/* @__PURE__ */n("button",{className:"flex items-center justify-between rounded-md px-3 py-2 text-left text-sm "+(0===t?"bg-blue-50 font-medium text-blue-700":"text-gray-700 hover:bg-gray-100"),children:[
4
4
  /* @__PURE__ */l("span",{children:e.label}),null!=e.count&&/* @__PURE__ */l(r,{count:e.count,active:0===t})]},e.id))]}),children:/* @__PURE__ */n("div",{className:"flex h-full",children:[