@uptimizr/dashboard 0.3.2 → 0.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (31) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +2 -2
  3. package/out/__next._full.txt +3 -3
  4. package/out/__next._head.txt +1 -1
  5. package/out/__next._index.txt +2 -2
  6. package/out/__next._tree.txt +2 -2
  7. package/out/_next/static/chunks/0hol9-rsh00k6.js +3 -0
  8. package/out/_next/static/chunks/0ljf5zpstyrg7.js +1 -0
  9. package/out/_next/static/chunks/1i89ao_sm6o4o.js +1 -0
  10. package/out/_next/static/chunks/{2mleh3pbge181.js → 2t9zu9v_g9kr9.js} +1 -1
  11. package/out/_next/static/chunks/35f-9p5adh1sc.js +1 -0
  12. package/out/_next/static/chunks/3ef6upwlgr4q-.css +3 -0
  13. package/out/_not-found/__next._full.txt +2 -2
  14. package/out/_not-found/__next._head.txt +1 -1
  15. package/out/_not-found/__next._index.txt +2 -2
  16. package/out/_not-found/__next._not-found.__PAGE__.txt +1 -1
  17. package/out/_not-found/__next._not-found.txt +1 -1
  18. package/out/_not-found/__next._tree.txt +2 -2
  19. package/out/_not-found.html +1 -1
  20. package/out/_not-found.txt +2 -2
  21. package/out/index.html +1 -1
  22. package/out/index.txt +3 -3
  23. package/package.json +3 -3
  24. package/out/_next/static/chunks/1fruncg3k-3pu.js +0 -3
  25. package/out/_next/static/chunks/224_scesvd739.js +0 -1
  26. package/out/_next/static/chunks/2ktxjmx03u9l3.js +0 -1
  27. package/out/_next/static/chunks/2kw33jl_i9o5j.css +0 -3
  28. package/out/_next/static/chunks/30363ptka3vzy.js +0 -1
  29. /package/out/_next/static/{2AsIePMYsPfJoAl46w-g4 → W_AwLgpmWJNo9qUUBPat3}/_buildManifest.js +0 -0
  30. /package/out/_next/static/{2AsIePMYsPfJoAl46w-g4 → W_AwLgpmWJNo9qUUBPat3}/_clientMiddlewareManifest.js +0 -0
  31. /package/out/_next/static/{2AsIePMYsPfJoAl46w-g4 → W_AwLgpmWJNo9qUUBPat3}/_ssgManifest.js +0 -0
@@ -1 +0,0 @@
1
- (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,2348,2413,t=>{"use strict";let e=1/1.2;t.s(["ZOOM_IN_FACTOR",0,e,"ZOOM_OUT_FACTOR",0,1.2,"attachDoubleClickFocus",0,function(t,e,s){let a=()=>{let e=t.pick(t.pointerX,t.pointerY);e?.hit&&e.pickedPoint&&s.setTarget(e.pickedPoint)};return e.addEventListener("dblclick",a),()=>e.removeEventListener("dblclick",a)},"disableWheelZoom",0,function(t){t.inputs.removeByType("ArcRotateCameraMouseWheelInput")},"resetFocus",0,function(t,e){t.setTarget(e.target),t.alpha=e.alpha,t.beta=e.beta,t.radius=e.radius},"stepZoom",0,function(t,e){let s=t.lowerRadiusLimit??.01,a=t.upperRadiusLimit??1/0;t.radius=Math.min(a,Math.max(s,t.radius*e))}],2348);var s=t.i(28100);t.s(["ZoomButtons",0,function({onZoom:t,onReset:a}){let n="grid h-8 w-8 place-items-center rounded-md border border-edge bg-ink/80 text-lg leading-none text-fg backdrop-blur transition hover:bg-ink hover:text-white";return(0,s.jsxs)("div",{className:"absolute right-3 top-3 flex flex-col gap-1",children:[(0,s.jsx)("button",{type:"button","aria-label":"Zoom in",className:n,onClick:()=>t(e),children:"+"}),(0,s.jsx)("button",{type:"button","aria-label":"Zoom out",className:n,onClick:()=>t(1.2),children:"−"}),a?(0,s.jsx)("button",{type:"button","aria-label":"Reset camera focus to center",title:"Reset focus to center",className:n,onClick:a,children:(0,s.jsxs)("svg",{viewBox:"0 0 16 16",width:"16",height:"16",fill:"none",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round","aria-hidden":"true",children:[(0,s.jsx)("circle",{cx:"8",cy:"8",r:"3"}),(0,s.jsx)("path",{d:"M8 1v2.5M8 12.5V15M1 8h2.5M12.5 8H15"})]})}):null]})}],2413)},25476,t=>{"use strict";t.s(["attachMeshHover",0,function(t,e,s){let a=0,n=null,c=e=>{let c=e.offsetX,i=e.offsetY;a||(a=requestAnimationFrame(()=>{var e,r;let l;a=0;let h=t.pick(c,i,t=>t.isPickable&&t.isEnabled()),o=h?.pickedMesh?(e=h.pickedMesh,r=h.thinInstanceIndex??-1,(l=e.metadata)?r>=0&&l.hoverLabels?l.hoverLabels[r]??null:l.hoverLabel??null:null):null;o?s({label:o,x:c,y:i}):null!==n&&s(null),n=o}))},i=()=>{a&&(cancelAnimationFrame(a),a=0),null!==n&&(n=null,s(null))};return e.addEventListener("pointermove",c),e.addEventListener("pointerleave",i),()=>{e.removeEventListener("pointermove",c),e.removeEventListener("pointerleave",i),a&&cancelAnimationFrame(a)}}])},53993,t=>{"use strict";var e=t.i(28100),s=t.i(11623),a=t.i(56054),n=t.i(2348),c=t.i(25476),i=t.i(18637),r=t.i(2413);function l({shape:t,onChange:s}){let a=t=>`h-8 px-2.5 text-xs font-medium leading-none transition first:rounded-l-md last:rounded-r-md ${t?"bg-ink text-white":"bg-ink/80 text-fg hover:text-white"}`,n="sphere"===t,c="cube"===t;return(0,e.jsxs)("div",{className:"absolute left-3 top-3 flex overflow-hidden rounded-md border border-edge backdrop-blur",role:"group","aria-label":"Voxel marker shape",children:[(0,e.jsx)("button",{type:"button",className:a(n),"aria-pressed":n,onClick:()=>s("sphere"),children:"Spheres"}),(0,e.jsx)("button",{type:"button",className:a(c),"aria-pressed":c,onClick:()=>s("cube"),children:"Cubes"})]})}t.s(["WorldHeatmap3DView",0,function({voxels:h,cellSize:o,proxyMeshes:u=[],legendTitle:d="Pointer-hit density",legendLow:j="few hits",legendHigh:p="most hits",legendNote:m="Each marker is a voxel where the pointer hit your scene. Color & size scale with hits, normalized to the 95th-percentile cell so a few hotspots don't wash out the rest.",emptyLabel:k="No 3D hit-points in range.",totals:v}){let b=(0,s.useRef)(null),x=(0,s.useRef)(null),g=(0,s.useRef)(null),[f,w]=(0,s.useState)("loading"),[y,z]=(0,s.useState)(null),[q,_]=(0,s.useState)("sphere"),[M,L]=(0,s.useState)(null);(0,s.useEffect)(()=>{let e=b.current;if(!e)return;if(0===h.length&&0===u.length)return void w("empty");let s=!1,i=null;return w("loading"),z(null),(async()=>{try{let[{Engine:r},{Scene:l},{ArcRotateCamera:d},{HemisphericLight:j},{Vector3:p,Color3:m,Color4:k,Matrix:v},{MeshBuilder:b},{StandardMaterial:f}]=await Promise.all([t.A(3905),t.A(94432),t.A(59694),t.A(88004),t.A(27940),t.A(27124),t.A(14074),t.A(35983),t.A(18561)]);if(s)return;let y=(0,a.percentileMax)(h.map(t=>t.count),.95),z=0,_=0,M=0,C=0;for(let t of h)z+=(t.vx+.5)*o,_+=(t.vy+.5)*o,M+=(t.vz+.5)*o,C++;if(0===C)for(let t of u)z+=(t.aabb[0]+t.aabb[3])/2,_+=(t.aabb[1]+t.aabb[4])/2,M+=(t.aabb[2]+t.aabb[5])/2,C++;let A=new p(z/C,_/C,M/C),P=4*o;for(let t of h){let e=(t.vx+.5)*o-A.x,s=(t.vy+.5)*o-A.y,a=(t.vz+.5)*o-A.z;P=Math.max(P,Math.sqrt(e*e+s*s+a*a))}for(let t of u){let e=(t.aabb[0]+t.aabb[3])/2-A.x,s=(t.aabb[1]+t.aabb[4])/2-A.y,a=(t.aabb[2]+t.aabb[5])/2-A.z;P=Math.max(P,Math.sqrt(e*e+s*s+a*a))}let S=new r(e,!0,{preserveDrawingBuffer:!1}),R=new l(S);R.clearColor=new k(.04,.05,.07,1);let F=new d("world-cam",Math.PI/4,Math.PI/3,2.4*P,A,R);if(F.attachControl(e,!0),(0,n.disableWheelZoom)(F),x.current=F,g.current={target:A,alpha:F.alpha,beta:F.beta,radius:F.radius},new j("world-light",new p(.4,1,.3),R),u.length>0){let t=b.CreateBox("scene-proxy",{size:1},R),e=new f("scene-proxy-mat",R);e.wireframe=!0,e.disableLighting=!0,e.emissiveColor=new m(.32,.4,.52),e.alpha=.35,t.material=e,t.isPickable=!0,t.thinInstanceEnablePicking=!0,t.metadata={hoverLabels:u.map(t=>t.name)};let s=u.length,a=new Float32Array(16*s);for(let t=0;t<s;t++){let e=u[t].aabb,s=Math.max(e[3]-e[0],.001),n=Math.max(e[4]-e[1],.001),c=Math.max(e[5]-e[2],.001);v.Scaling(s,n,c).multiply(v.Translation((e[0]+e[3])/2,(e[1]+e[4])/2,(e[2]+e[5])/2)).copyToArray(a,16*t)}t.thinInstanceSetBuffer("matrix",a,16,!0)}if(h.length>0){let t="cube"===q?b.CreateBox("world-voxel",{size:.9*o},R):b.CreateSphere("world-voxel",{diameter:.9*o,segments:6},R),e=new f("world-voxel-mat",R);e.diffuseColor=new m(1,1,1),e.specularColor=new m(0,0,0),t.material=e;let s=h.length,n=new Float32Array(16*s),c=new Float32Array(4*s),i=new Float32Array(s),r=Math.max(.02*P,.25*o)/(.9*o);for(let t=0;t<s;t++){let e=h[t],s=Math.min(1,e.count/y),l=r*(.5+.5*s);i[t]=l,v.Scaling(l,l,l).multiply(v.Translation((e.vx+.5)*o,(e.vy+.5)*o,(e.vz+.5)*o)).copyToArray(n,16*t);let[u,d,j]=(0,a.heatRgb)(s);c[4*t]=u,c[4*t+1]=d,c[4*t+2]=j,c[4*t+3]=1}t.thinInstanceSetBuffer("matrix",n,16,!1),t.thinInstanceSetBuffer("color",c,4,!0);let l=F.radius,u=0,d=()=>{let e=Math.min(8,Math.max(.6,F.radius/l));if(!(.01>Math.abs(e-u))){u=e;for(let t=0;t<s;t++){let s=i[t]*e,a=16*t;n[a]=s,n[a+5]=s,n[a+10]=s}t.thinInstanceBufferUpdated("matrix")}};d(),R.onBeforeRenderObservable.add(d)}S.runRenderLoop(()=>R.render());let B=()=>S.resize();window.addEventListener("resize",B);let T=(0,c.attachMeshHover)(R,e,L),E=(0,n.attachDoubleClickFocus)(R,e,F);w("ready"),i=()=>{window.removeEventListener("resize",B),T(),E(),L(null),x.current=null,g.current=null,R.dispose(),S.dispose()}}catch(t){if(s)return;w("error"),z(t instanceof Error?t.message:"Failed to render heatmap.")}})(),()=>{s=!0,i?.()}},[h,o,u,q]);let C=v?v.cells>h.length?` Showing the ${h.length.toLocaleString()} busiest of ${v.cells.toLocaleString()} occupied cells (${v.hits.toLocaleString()} total hits).`:` ${v.cells.toLocaleString()} occupied cells, ${v.hits.toLocaleString()} total hits.`:"";return(0,e.jsxs)("div",{className:"relative",children:[(0,e.jsx)("canvas",{ref:b,className:"aspect-video w-full rounded-lg border border-edge bg-ink"}),M?(0,e.jsx)("div",{className:"pointer-events-none absolute z-10 max-w-[16rem] truncate rounded border border-edge bg-ink/90 px-1.5 py-0.5 text-xs text-white shadow backdrop-blur",style:{left:M.x+12,top:M.y+12},children:M.label}):null,"ready"===f?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)(l,{shape:q,onChange:_}),(0,e.jsx)(r.ZoomButtons,{onZoom:t=>x.current&&(0,n.stepZoom)(x.current,t),onReset:()=>x.current&&g.current&&(0,n.resetFocus)(x.current,g.current)}),(0,e.jsx)(i.HeatLegend,{title:d,lowLabel:j,highLabel:p,note:m+C})]}):(0,e.jsx)("div",{className:"pointer-events-none absolute inset-0 grid place-items-center text-sm text-fg-muted",children:"loading"===f?"Rendering…":"empty"===f?k:"error"===f?y??"Heatmap unavailable.":null})]})}])},3905,t=>{t.v(e=>Promise.all(["static/chunks/3pdpaqzwhhijn.js","static/chunks/08bm3ye5govev.js","static/chunks/0g6u34xkzrpjn.js","static/chunks/25ctnyh7njp-d.js","static/chunks/2gh4z57fem0_v.js","static/chunks/3vaho-xrtuchd.js","static/chunks/0g7p8zp2kxve5.js"].map(e=>t.l(e))).then(()=>e(66232)))},94432,t=>{t.v(e=>Promise.all(["static/chunks/2kje_jvmwsvwo.js","static/chunks/1j--a56ji33_x.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/2npk7tr63h7rl.js","static/chunks/3vaho-xrtuchd.js","static/chunks/3g_h_00xs9u59.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/25ctnyh7njp-d.js","static/chunks/1vpcaaf-0dn7q.js"].map(e=>t.l(e))).then(()=>e(92494)))},59694,t=>{t.v(e=>Promise.all(["static/chunks/1j--a56ji33_x.js","static/chunks/0oap0o8a8a_cl.js","static/chunks/0f_nv15a8q415.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/245h82k-g1nxr.js","static/chunks/3ovd8o_usay7j.js","static/chunks/3vaho-xrtuchd.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/25ctnyh7njp-d.js","static/chunks/2npk7tr63h7rl.js","static/chunks/3pyggl13glbdc.js"].map(e=>t.l(e))).then(()=>e(67186)))},88004,t=>{t.v(e=>Promise.all(["static/chunks/2p8dbh81chhon.js","static/chunks/1oara6fkfvgs3.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/25ctnyh7njp-d.js","static/chunks/3pdpaqzwhhijn.js"].map(e=>t.l(e))).then(()=>e(15768)))},27940,t=>{t.v(e=>Promise.all(["static/chunks/0w0sx062qmcsh.js","static/chunks/25ctnyh7njp-d.js","static/chunks/3pdpaqzwhhijn.js"].map(e=>t.l(e))).then(()=>e(23235)))},27124,t=>{t.v(e=>Promise.all(["static/chunks/1par9m038tiov.js","static/chunks/1j--a56ji33_x.js","static/chunks/2j-sax2xfdv7l.js","static/chunks/340pg0qkv5tqq.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/0gwa154w_0wuh.js","static/chunks/0oap0o8a8a_cl.js","static/chunks/0f_nv15a8q415.js","static/chunks/3vaho-xrtuchd.js","static/chunks/3pyggl13glbdc.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/3g_h_00xs9u59.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/25ctnyh7njp-d.js","static/chunks/2npk7tr63h7rl.js","static/chunks/01aeari2x_tlz.js"].map(e=>t.l(e))).then(()=>e(70928)))},14074,t=>{t.v(e=>Promise.all(["static/chunks/1zcrrq1fx8g2y.js","static/chunks/1tdg_eolxlcdl.js","static/chunks/1j--a56ji33_x.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/0vddljjnmozzx.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/3vaho-xrtuchd.js","static/chunks/0f_nv15a8q415.js","static/chunks/3g_h_00xs9u59.js","static/chunks/2npk7tr63h7rl.js","static/chunks/25ctnyh7njp-d.js"].map(e=>t.l(e))).then(()=>e(87566)))},35983,t=>{t.v(e=>Promise.all(["static/chunks/4227p7752rnny.js","static/chunks/1j--a56ji33_x.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/2npk7tr63h7rl.js","static/chunks/1vkww9l6lgqag.js","static/chunks/25ctnyh7njp-d.js","static/chunks/0f_nv15a8q415.js","static/chunks/3vaho-xrtuchd.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/3pyggl13glbdc.js","static/chunks/3pdpaqzwhhijn.js"].map(e=>t.l(e))).then(()=>e(50608)))},18561,t=>{t.v(e=>Promise.all(["static/chunks/1j--a56ji33_x.js","static/chunks/1vkww9l6lgqag.js","static/chunks/3pdpaqzwhhijn.js","static/chunks/2npk7tr63h7rl.js","static/chunks/117ys3lltfmcu.js","static/chunks/25ctnyh7njp-d.js","static/chunks/1vzmzrjhlm1q5.js","static/chunks/3g_h_00xs9u59.js","static/chunks/1vpcaaf-0dn7q.js","static/chunks/3vaho-xrtuchd.js"].map(e=>t.l(e))).then(()=>e(85106)))}]);