1import{az as e,j as r,d as o,T as a,B as n,e as t,a3 as i,ae as s}from"./index-064wTBYr.js";import{r as d}from"./react-vendor-Do6BM2ij.js";import{L as l}from"./LinearProgress-DZuyDf3c.js";import"./pdf-vendor-lib-BZh8gbg-.js";import"./amcharts-vendor-BHootuuA.js";import"./html2canvas-vendor-aB19RaoZ.js";import"./doc-vendor-ppt-DPgCsEbC.js";import"./doc-vendor-excel-DttRKF0n.js";import"./phone-vendor-ByODWvOt.js";import"./pdf-vendor-core-hcP1TG0J.js";import"./popper-vendor-C5VukO4T.js";const m=s` 2 0%, 100% { 3 transform: translateY(0); 4 } 5 50% { 6 transform: translateY(-10px); 7 } 8`,c=()=>{const{showLoader:s,loaderMessage:c,loaderProgress:p,loaderCancel:h}=d.useContext(e),x="number"==typeof p,f=x?Math.max(0,Math.min(100,p)):0;return s?r(i,{sx:{zIndex:e=>e.zIndex.modal+1,backgroundColor:"rgba(0, 0, 0, 0.5)"},open:s,children:o(n,{sx:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",p:3,bgcolor:"primary.main",borderRadius:2,border:"2px solid black",maxWidth:"600px",maxHeight:"480px",width:x?"min(90vw, 420px)":"auto"},children:[r(a,{variant:"h3",sx:{fontSize:"1.75rem",mb:x?1.5:2,textAlign:"center"},children:c}),x?o(n,{sx:{width:"100%",minWidth:280},children:[o(n,{sx:{display:"flex",justifyContent:"space-between",mb:.75},children:[r(a,{sx:{fontSize:"0.95rem",fontWeight:600},children:"Progress"}),o(a,{sx:{fontSize:"0.95rem",fontWeight:700},children:[Math.round(f),"%"]})]}),r(l,{variant:"determinate",value:f,sx:{height:10,borderRadius:5,backgroundColor:"rgba(0, 0, 0, 0.2)","& .MuiLinearProgress-bar":{borderRadius:5,backgroundColor:"#1a1a1a"}}})]}):r(n,{sx:{display:"flex"},children:Array.from({length:6}).map((e,o)=>r(n,{sx:{width:"0.4em",height:"0.4em",backgroundColor:"black",margin:"0 0.1em",borderRadius:"50%",animation:`${m} 1.2s ease-in-out infinite`,animationDelay:.1*o+"s"}},o))}),"function"==typeof(null==h?void 0:h.onCancel)&&r(t,{onClick:h.onCancel,variant:"contained",sx:{mt:2,bgcolor:"#1a1a1a",color:"#fff",textTransform:"none",fontWeight:700,px:3,"&:hover":{bgcolor:"#000"}},children:h.label||"Cancel"})]})}):null};export{c as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.