https://app.campaignhq.co/_next/static/chunks/pages/data-management/user-imports-d279e752ec12e97a.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3775],{93822:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-management/user-imports",function(){return s(3703)}])},33425:function(e,t,s){"use strict";s.d(t,{Z:function(){return Tab}});var a=s(85893),r=s(41664),n=s.n(r),i=s(11163);function Tab(e){let{tabs:t=[],className:s="",RightChild:r}=e,l=(0,i.useRouter)(),isTabActive=e=>{if(e.activePathPrefix){let t=l.asPath.split("?")[0],s=e.activePathPrefix;return t===s||t.startsWith(`${s}/`)}let t=e.href;return"object"==typeof t?t.pathname==l.pathname&&JSON.stringify(Object.values(l.query))==JSON.stringify(Object.values(t.query)):l.asPath.includes(t)};if(0!=t.length)return(0,a.jsxs)("div",{className:s,children:[(0,a.jsx)("div",{className:"sm:hidden",children:(0,a.jsx)("label",{htmlFor:"tabs",className:"sr-only",children:"Select a tab"})}),(0,a.jsx)("div",{className:"hidden sm:block",children:(0,a.jsxs)("div",{className:"flex items-center justify-between border-b border-gray-200",children:[(0,a.jsx)("nav",{className:"-mb-px flex space-x-8","aria-label":"Tabs",children:t.map(e=>(0,a.jsx)(n(),{href:e.href,className:function(){for(var e=arguments.length,t=Array(e),s=0;s<e;s++)t[s]=arguments[s];return t.filter(Boolean).join(" ")}(isTabActive(e)?"border-indigo-500 text-indigo-600":"border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700","whitespace-nowrap border-b-2 py-4 px-1 text-sm font-medium"),"aria-current":isTabActive(e)?"page":void 0,children:e.name},e.name))}),r?(0,a.jsx)(r,{}):""]})})]})}s(67294)},90406:function(e,t,s){"use strict";s.d(t,{q:function(){return DataManagementLayout}});var a=s(85893),r=s(93263),n=s(33425),i=s(11163),l=s(41664),o=s.n(l),c=s(89618),d=s(17524);function DataManagementLayout(e){let{children:t}=e,s=(0,i.useRouter)(),l=[{name:"User Imports",href:"/data-management/user-imports",current:s.pathname.includes("/user-imports")},{name:"User attributes",href:"/data-management/user-attributes",current:s.pathname.includes("/user-attributes")},{name:"User events",href:"/data-management/user-events",current:s.pathname.includes("/user-events")},{name:"Company tags",href:"/data-management/company-tags",current:s.pathname.includes("/company-tags")},{name:"Media assets",href:"/data-management/media-assets",current:s.pathname.includes("/media-assets")}];return(0,a.jsx)(r.c,{Header:()=>(0,a.jsx)(Header,{}),children:(0,a.jsxs)("div",{className:"px-4 sm:px-6 lg:px-8",children:[(0,a.jsx)("div",{className:"mb-8",children:(0,a.jsx)(n.Z,{tabs:l})}),(0,a.jsx)("div",{className:"mt-6 mb-16",children:t})]})})}let Header=function(){let e=[{name:"Data Management",href:"/data-management",current:!1}],t=(0,i.useRouter)();return t.pathname.includes("/user-imports")?e.push({name:"User Imports",href:"/data-management/user-imports",current:!0}):t.pathname.includes("/user-attributes")?e.push({name:"User Attributes",href:"/data-management/user-attributes",current:!0}):t.pathname.includes("/user-events")?e.push({name:"User Events",href:"/data-management/user-events",current:!0}):t.pathname.includes("/company-tags")?e.push({name:"Company tags",href:"/data-management/company-tags",current:!0}):t.pathname.includes("/media-assets")?e.push({name:"Media Assets",href:"/data-management/media-assets",current:!0}):e.push({name:"User Attributes",href:"#",current:!0}),(0,a.jsx)("div",{children:(0,a.jsx)("div",{className:"px-4 py-4 sm:flex sm:items-center sm:justify-between",children:(0,a.jsx)("div",{className:"min-w-0 flex-1",children:(0,a.jsx)("div",{className:"px-4 py-4 sm:flex sm:items-center sm:justify-between",children:(0,a.jsx)("div",{className:"min-w-0 flex-1",children:(0,a.jsx)("h1",{className:"text-base font-medium leading-6 text-gray-900 sm:truncate",children:(0,a.jsx)("nav",{className:"flex","aria-label":"Breadcrumb",children:(0,a.jsxs)("ol",{role:"list",className:"flex items-center space-x-4",children:[(0,a.jsx)("li",{children:(0,a.jsx)("div",{children:(0,a.jsxs)("div",{className:"text-gray-400",children:[(0,a.jsx)(c.Z,{className:"h-5 w-5 flex-shrink-0","aria-hidden":"true"}),(0,a.jsx)("span",{className:"sr-only",children:"Home"})]})})}),e.map(e=>(0,a.jsx)("li",{children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(d.Z,{className:"h-5 w-5 flex-shrink-0 text-gray-400","aria-hidden":"true"}),(0,a.jsx)(o(),{href:e.href,className:`${e.current?"text-indigo-600":"text-gray-900"} ml-4 text-base font-medium hover:text-gray-500`,"aria-current":e.current?"page":void 0,children:e.name})]})},e.name))]})})})})})})})})}},3703:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return I}});var a=s(85893),r=s(90406),n=s(11163),i=s(22745),l=s(67294),o=s(88894),c=s(88019),d=s(72173),m=s(41664),x=s.n(m),u=s(11355),h=s(80100),p=s(76943),g=s(31415),f=s(10050),y=s(98523),j=s(6244);function NewImportModal(e){let{open:t,setOpen:s,onImportSuccess:r}=e,[n,c]=(0,l.useState)(null),[m,x]=(0,l.useState)(""),[w,v]=(0,l.useState)(""),[b,N]=(0,l.useState)([]),[C,k]=(0,l.useState)(!1),[S,L]=(0,l.useState)(!1),[Z,E]=(0,l.useState)(""),[R,I]=(0,l.useState)(!1),[F,M]=(0,l.useState)(!1),T=(0,l.useRef)(null),O=(0,l.useRef)(null),fetchLists=async()=>{k(!0);let[e,t]=await (0,o.W)(i.Z.lists.index());t&&N(t.data),k(!1)},resetForm=()=>{c(null),x(""),v(""),E(""),I(!1),M(!1)},handleOpen=e=>{s(e),e&&(fetchLists(),resetForm())},handleFileSelect=e=>{e&&"text/csv"===e.type?(c(e),E("")):E("Please select a valid CSV file")},handleDrag=e=>{e.preventDefault(),e.stopPropagation(),"dragenter"===e.type||"dragover"===e.type?M(!0):"dragleave"===e.type&&M(!1)},handleSubmit=async e=>
1{if(e.preventDefault(),!n){E("Please select a file to upload");return}if(!m.trim()){E("Please enter a list name");return}if(!w){E("Please select a list");return}L(!0),E("");try{let e=new FormData;e.append("file",n),e.append("list_name",m.trim());let[t,s]=await (0,o.W)(i.Z.contactFiles.create(w,e));t?E(t.response?.data?.message||"Failed to upload file"):(I(!0),setTimeout(()=>{handleOpen(!1),r&&r()},1500))}catch(e){E("An unexpected error occurred")}finally{L(!1)}},handleCancel=()=>{S||handleOpen(!1)};return(0,a.jsx)(u.u.Root,{show:t,as:l.Fragment,children:(0,a.jsxs)(h.V,{as:"div",className:"relative z-50",initialFocus:O,onClose:handleCancel,children:[(0,a.jsx)(u.u.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in duration-200",leaveFrom:"opacity-100",leaveTo:"opacity-0",children:(0,a.jsx)("div",{className:"fixed inset-0 bg-gray-900/50 backdrop-blur-sm transition-opacity"})}),(0,a.jsx)("div",{className:"fixed inset-0 z-10 overflow-y-auto",children:(0,a.jsx)("div",{className:"flex min-h-full items-center justify-center p-4 text-center sm:p-0",children:(0,a.jsx)(u.u.Child,{as:l.Fragment,enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",enterTo:"opacity-100 translate-y-0 sm:scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 sm:scale-100",leaveTo:"opacity-0 translate-y-4 sm:translate-y-0 sm:scale-95",children:(0,a.jsxs)(h.V.Panel,{className:"relative transform overflow-hidden rounded-2xl bg-white text-left shadow-2xl transition-all sm:my-8 sm:w-full sm:max-w-lg",children:[(0,a.jsx)("div",{className:"bg-gradient-to-r from-indigo-600 to-purple-600 px-6 py-4",children:(0,a.jsxs)("div",{className:"flex items-center justify-between",children:[(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(0,a.jsx)(p.Z,{className:"h-8 w-8 text-white"})}),(0,a.jsxs)("div",{className:"ml-3",children:[(0,a.jsx)(h.V.Title,{as:"h3",className:"text-lg font-semibold text-white",children:"Import Contacts"}),(0,a.jsx)("p",{className:"text-sm text-indigo-100",children:"Upload a CSV file to import contacts"})]})]}),(0,a.jsx)("button",{type:"button",className:"rounded-md text-indigo-100 hover:text-white focus:outline-none focus:ring-2 focus:ring-white",onClick:handleCancel,disabled:S,children:(0,a.jsx)(g.Z,{className:"h-6 w-6"})})]})}),(0,a.jsx)("div",{className:"px-6 py-6",children:R?(0,a.jsxs)("div",{className:"text-center py-8",children:[(0,a.jsx)(f.Z,{className:"mx-auto h-16 w-16 text-green-500 mb-4"}),(0,a.jsx)("h3",{className:"text-lg font-medium text-gray-900 mb-2",children:"Import Started Successfully!"}),(0,a.jsx)("p",{className:"text-sm text-gray-500",children:"Your file is being processed. You'll be notified when it's complete."})]}):(0,a.jsxs)("form",{onSubmit:handleSubmit,className:"space-y-6",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"list-select",className:"block text-sm font-medium text-gray-700 mb-2",children:"Select List"}),C?(0,a.jsx)("div",{className:"animate-pulse bg-gray-200 h-10 rounded-lg"}):(0,a.jsxs)("select",{id:"list-select",value:w,onChange:e=>v(e.target.value),className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition-colors",disabled:S,children:[(0,a.jsx)("option",{value:"",children:"Choose a list..."}),b.map(e=>(0,a.jsx)("option",{value:e.id,children:e.name},e.id))]})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{htmlFor:"list-name",className:"block text-sm font-medium text-gray-700 mb-2",children:"List Name"}),(0,a.jsx)("input",{type:"text",id:"list-name",value:m,onChange:e=>x(e.target.value),placeholder:"Enter a name for this import",className:"w-full px-3 py-2 border border-gray-300 rounded-lg focus:ring-2 focus:ring-indigo-500 focus:border-indigo-500 transition-colors",disabled:S})]}),(0,a.jsxs)("div",{children:[(0,a.jsx)("label",{className:"block text-sm font-medium text-gray-700 mb-2",children:"Upload CSV File"}),(0,a.jsxs)("div",{className:`relative border-2 border-dashed rounded-lg p-6 text-center transition-colors ${F?"border-indigo-400 bg-indigo-50":n?"border-green-400 bg-green-50":"border-gray-300 hover:border-gray-400"}`,onDragEnter:handleDrag,onDragLeave:handleDrag,onDragOver:handleDrag,onDrop:e=>{e.preventDefault(),e.stopPropagation(),M(!1),e.dataTransfer.files&&e.dataTransfer.files[0]&&handleFileSelect(e.dataTransfer.files[0])},children:[(0,a.jsx)("input",{ref:T,type:"file",accept:".csv",onChange:e=>{e.target.files&&e.target.files[0]&&handleFileSelect(e.target.files[0])},className:"absolute inset-0 w-full h-full opacity-0 cursor-pointer",disabled:S}),n?(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(y.Z,{className:"mx-auto h-12 w-12 text-green-500"}),(0,a.jsx)("div",{className:"text-sm font-medium text-gray-900",children:n.name}),(0,a.jsxs)("div",{className:"text-xs text-gray-500",children:[(n.size/1024).toFixed(1)," KB"]}
1),(0,a.jsx)("button",{type:"button",onClick:()=>c(null),className:"text-sm text-indigo-600 hover:text-indigo-500",disabled:S,children:"Remove file"})]}):(0,a.jsxs)("div",{className:"space-y-2",children:[(0,a.jsx)(p.Z,{className:"mx-auto h-12 w-12 text-gray-400"}),(0,a.jsxs)("div",{className:"text-sm text-gray-600",children:[(0,a.jsx)("span",{className:"font-medium text-indigo-600 hover:text-indigo-500",children:"Click to upload"})," ","or drag and drop"]}),(0,a.jsx)("div",{className:"text-xs text-gray-500",children:"CSV files only"})]})]})]}),Z&&(0,a.jsxs)("div",{className:"flex items-center p-3 bg-red-50 border border-red-200 rounded-lg",children:[(0,a.jsx)(j.Z,{className:"h-5 w-5 text-red-500 mr-2"}),(0,a.jsx)("span",{className:"text-sm text-red-700",children:Z})]}),(0,a.jsxs)("div",{className:"flex justify-end space-x-3 pt-4",children:[(0,a.jsx)(d.zx,{type:"button",variant:"outline",onClick:handleCancel,disabled:S,ref:O,children:"Cancel"}),(0,a.jsx)(d.zx,{type:"submit",disabled:!n||!m.trim()||!w||S,loading:S,className:"min-w-[100px]",children:S?"Uploading...":"Import Contacts"})]})]})})]})})})})]})})}var w=s(93496),v=s(66610),b=s(13245),N=s(20445),C=s(85973),k=s(36165),S=s(12825),L=s(81173),Z=s(65133),E=s(51446),R=s(31038);let UserImports=function(){let[e,t]=(0,l.useState)([]),[s,r]=(0,l.useState)(!1),[m,u]=(0,l.useState)(!1),[h,I]=(0,l.useState)(!1),[F,M]=(0,l.useState)([]),[T,O]=(0,l.useState)(!1),[A,P]=(0,l.useState)(null),[D,$]=(0,l.useState)(1),[H,V]=(0,l.useState)(1),[W,_]=(0,l.useState)(0),[U]=(0,l.useState)(10),[z,B]=(0,l.useState)("createdAt"),[q,J]=(0,l.useState)("desc"),[X,Y]=(0,l.useState)(!1),G=(0,l.useRef)(null),K=(0,l.useRef)(new Set),[Q,ee]=(0,l.useState)(null),handleCopyToClipboard=async(e,t)=>{try{await navigator.clipboard.writeText(e),ee(t),setTimeout(()=>ee(null),2e3)}catch(e){console.error("Failed to copy:",e)}},fetchContactFiles=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D,s=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s?Y(!0):r(!0);let[a,n]=await (0,o.W)(i.Z.contactFiles.index({page:e,perPage:U}));if(n){let e=n.data.data||[];e=[...e].sort((e,t)=>{let s=e[z],a=t[z];return("createdAt"===z||"updatedAt"===z?(s=new Date(s||0).getTime(),a=new Date(a||0).getTime()):"fileName"===z||"listName"===z?(s=(s||"").toLowerCase(),a=(a||"").toLowerCase()):"id"===z||"totalRecords"===z||"processedRecords"===z||"failedRecords"===z?(s=Number(s)||0,a=Number(a)||0):(s=String(s||"").toLowerCase(),a=String(a||"").toLowerCase()),"asc"===q)?s>a?1:-1:s<a?1:-1});let s=new Set(e.filter(e=>"processing"===e.aasmState||"pending"===e.aasmState).map(e=>e.id)),a=e.some(e=>K.current.has(e.id)&&!s.has(e.id));K.current=s,a&&(0,c.Lm)(),t(e),V(n.totalPages||1),_(n.total||0),$(n.page||1)}r(!1),Y(!1)},handlePageChange=e=>{$(e),fetchContactFiles(e)},handleDownloadFile=e=>{if(e.document){let t=document.createElement("a");t.href=e.document,t.download=`${e.listName||"import"}_${e.id}.csv`,document.body.appendChild(t),t.click(),document.body.removeChild(t)}},handleViewErrorRows=async e=>{P(e),I(!0),O(!0);let[t,s]=await (0,o.W)(i.Z.contactFiles.error_rows(e.id));s&&M(s.data||[]),O(!1)},handleSort=e=>{z===e?J("asc"===q?"desc":"asc"):(B(e),J("desc"))},getSortIcon=e=>z!==e?(0,a.jsx)(v.Z,{className:"h-4 w-4 text-gray-400 opacity-50"}):"asc"===q?(0,a.jsx)(v.Z,{className:"h-4 w-4 text-indigo-600"}):(0,a.jsx)(b.Z,{className:"h-4 w-4 text-indigo-600"}),et=e.some(e=>"processing"===e.aasmState||"pending"===e.aasmState);(0,l.useEffect)(()=>(et?G.current=setInterval(()=>{fetchContactFiles(D,!0)},5e3):G.current&&(clearInterval(G.current),G.current=null),()=>{G.current&&clearInterval(G.current)}),[et,D]),(0,l.useEffect)(()=>{fetchContactFiles()},[]),(0,l.useEffect)(()=>{e.length>0&&fetchContactFiles(D)},[z,q]);let getStatusIcon=e=>{switch(e){case"completed":return(0,a.jsx)(f.Z,{className:"h-5 w-5 text-green-500"});case"processing":return(0,a.jsx)(N.Z,{className:"h-5 w-5 text-yellow-500"});case"failed":return(0,a.jsx)(j.Z,{className:"h-5 w-5 text-red-500"});default:return(0,a.jsx)(N.Z,{className:"h-5 w-5 text-gray-400"})}},getStatusText=e=>{switch(e){case"completed":return"Completed";case"processing":return"Processing";case"failed":return"Failed";default:return"Pending"}},getStatusColor=e=>{switch(e){case"completed":return"text-green-600 bg-green-100";case"processing":return"text-yellow-600 bg-yellow-100";case"failed":return"text-red-600 bg-red-100";default:return"text-gray-600 bg-gray-100"}},es=(0,n.useRouter)(),navigateToNewImport=()=>{es.push("/data-management/user-imports/new-import")},getFileListId=e=>e?.listId??e?.list_id??e?.list?.id,getResumeImportHref=e=>{let t=getFileListId(e);return t?e?.document?`/data-management/user-imports/new-import?step=mapping&fileId=${e.id}&listId=${t}`:`/data-management/user-imports/new-import?step=file&listId=${t}`:null};return(0,a.jsxs)("div",{className:"space-y-6",children:[(0,a.jsxs)("div",{className:"flex justify-between items-center",children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("h1",{className:"text-2xl font-bold text-gray-900",children:"User Imports"}),(0,a.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:"Manage your user import files and track import status"})]}),(0,a.jsxs)(d.zx,{className:"flex items-center",onClick:()=>navigateToNewImport(),children:[(0,a.jsx)(p.Z,{className:"h-5 w-5 mr-2"}),"New Import"]})]}),(0,a.jsxs)("div",{className:"bg-white shadow rounded-lg",children:[(0,a.jsxs)("div",{className:"px-6 py-4 border-b border-gray-200 flex justify-between items-center",children:[(0,a.jsx)("h3",{className:"text-lg font-medium text-gray-900",children:"Import History"}),(0,a.jsxs)("button",{onClick:()=>{fetchContactFiles(D,!0)},disabled:X||s,className:"inline-flex items-center px-3 py-2 border border-gray-300 shadow-sm text-sm leading-4 font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 disabled:opacity-50 disabled:cursor-not-allowed transition-colors duration-200",title:"Refresh imports",children:[(0,a.jsx)(C.Z,{className:`h-4 w-4 mr-2 ${X?"animate-spin":""}`}),"Refresh"]})]}),s?(0,a.jsxs)("div",{className:"px-6 py-8 text-center",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-indigo-600 mx-auto"}),(0,a.jsx)("p",{className:"mt-2 text-sm text-gray-500",children:"Loading imports..."})]}):0===e.length?(0,a.jsxs)("div",{className:"px-6 py-12 text-center",children:[(0,a.jsx)(y.Z,{className:"mx-auto h-12 w-12 text-gray-400"}),(0,a.jsx)("h3",{className:"mt-2 text-sm font-medium text-gray-900",children:"No imports yet"}),(0,a.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:"Get started by creating your first user import."}),(0,a.jsx)("div",{className:"mt-6",children:(0,a.jsxs)(d.zx,{className:"flex items-center mx-auto",onClick:()=>navigateToNewImport(),children:[(0,a.jsx)(p.Z,{className:"h-5 w-5 mr-2"}),"New Import"]})})]}):(0,a.jsx)("div",{className:"overflow-x-auto",children:(0,a.jsxs)("table",{className:"w-full divide-y divide-gray-200",children:[(0,a.jsx)("thead",{className:"bg-gray-50 sticky top-0 z-20",children:(0,a.jsxs)("tr",{children:[(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150 group",onClick:()=>handleSort("id"),children:(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsx)("span",{children:"ID"}),getSortIcon("id")]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150 group",style:{maxWidth:"400px"},onClick:()=>handleSort("fileName"),children:(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsx)("span",{children:"File Name"}),getSortIcon("fileName")]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150 group",onClick:()=>handleSort("listName"),children:(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsx)("span",{children:"List Name"}),getSortIcon("listName")]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150 group",onClick:()=>handleSort("aasmState"),children:(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsx)("span",{children:"Status"}),getSortIcon("aasmState")]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150 group",style:{width:"200px",minWidth:"200px"},onClick:()=>handleSort("totalRecords"),children:(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsx)("span",{children:"Records"}),getSortIcon("totalRecords")]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider cursor-pointer hover:bg-gray-100 transition-colors duration-150 group",onClick:()=>handleSort("createdAt"),children:(0,a.jsxs)("div",{className:"flex items-center space-x-1",children:[(0,a.jsx)("span",{children:"Created"}),getSortIcon("createdAt")]})}),(0,a.jsx)("th",{className:"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider",children:"Actions"})]})}),(0,a.jsx)("tbody",{className:"bg-white divide-y divide-gray-200",children:e.map(e=>(0,a.jsxs)("tr",{className:"hover:bg-gray-50 transition-colors duration-150",children:[(0,a.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm text-gray-500",children:(0,a.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,a.jsx)("span",{children:e.id}),(0,a.jsx)("button",{onClick:()=>handleCopyToClipboard(String(e.id),`id-${e.id}`),className:"text-gray-400 hover:text-gray-600 transition-colors duration-200",title:"Copy ID",children:Q===`id-${e.id}`?(0,a.jsx)(k.Z,{className:"h-4 w-4 text-green-500"}):(0,a.jsx)(S.Z,{className:"h-4 w-4"})})]})}),(0,a.jsx)("td",{className:"px-6 py-4 text-sm text-gray-900",style:{maxWidth:"400px"},children:(0,a.jsxs)("div",{className:"flex items-center",children:[(0,a.jsx)(y.Z,{className:"h-5 w-5 text-gray-400 mr-3 flex-shrink-0"}),(0,a.jsxs)("div",{className:"min-w-0 flex-1 flex items-center space-x-2",children:[(0,a.jsx)("div",{className:"text-sm font-medium text-gray-900 truncate",title:e.fileName||"File name not available",children:e.fileName?e.fileName:"File name not available"}),e.fileName&&(0,a.jsx)("button",{onClick:()=>handleCopyToClipboard(e.fileName,`filename-${e.id}`),className:"text-gray-400 hover:text-gray-600 transition-colors duration-200 flex-shrink-0",title:"Copy filename",children:Q===`filename-${e.id}`?(0,a.jsx)(k.Z,{className:"h-4 w-4 text-green-500"}):(0,a.jsx)(S.Z,{className:"h-4 w-4"})})]})]})}),(0,a.jsx)("td",{className:"px-6 py-4 text-sm text-gray-900",children:getFileListId(e)?(0,a.jsx)(x(),{href:{pathname:"/contacts",query:{list:String(getFileListId(e)),page:1}},className:"inline-flex max-w-full items-center rounded-full bg-blue-100 px-2.5 py-0.5 text-xs font-medium text-blue-800 hover:bg-blue-200",title:`Open contacts for ${e.listName||"this list"}`,children:(0,a.jsx)("span",{className:"truncate",children:e.listName||"Open List"})}):(0,a.jsx)("span",{className:"inline-flex items-center px-2.5 py-0.5 rounded-full text-xs font-medium bg-blue-100 text-blue-800 truncate max-w-full",children:e.listName||"No List"})}),(0,a.jsx)("td",{className:"px-6 py-4 whitespace-nowrap",children:(0,a.jsxs)("div",{className:"flex items-center",children:[getStatusIcon(e.aasmState),(0,a.jsx)("span",{className:`ml-2 inline-flex px-2 py-1 text-xs font-semibold rounded-full ${getStatusColor(e.aasmState)}`,children:getStatusText(e.aasmState)})]})}),(0,a.jsx)("td",{className:"px-6 py-4 text-sm text-gray-900",style:{width:"200px",minWidth:"200px"},children:(0,a.jsxs)("div",{className:"space-y-2",style:{width:"150px"},children:[(0,a.jsx)("div",{className:"flex items-center justify-between",children:(0,a.jsxs)("span",{className:"font-medium",children:["Total: ",e.totalRecords||0]})}),(0,a.jsx)("div",{className:"bg-gray-200 rounded-full h-2 w-full overflow-hidden",children:(0,a.jsx)("div",{className:"bg-indigo-600 h-2 rounded-full transition-all duration-300 ease-in-out",style:{width:`${e.pctComplete||0}%`}})}),(0,a.jsxs)("div",{className:"flex justify-between text-xs text-gray-500",children:[(0,a.jsxs)("span",{children:["Processed: ",e.processedRecords||0]}),(0,a.jsxs)("span",{children:["Failed: ",e.failedRecords||0]})]})]})}),(0,a.jsx)("td",{className:"px-6 py-4 text-sm text-gray-500",children:e.createdAt?(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"whitespace-nowrap",children:new Date(e.createdAt).toLocaleDateString()}),(0,a.jsx)("span",{className:"text-xs text-gray-400 mt-0.5",children:(0,w.$9)(e.createdAt)})]}):"N/A"}),(0,a.jsx)("td",{className:"px-6 py-4 whitespace-nowrap text-sm font-medium",children:(0,a.jsxs)("div",{className:"flex items-center space-x-3",children:["pending"===e.aasmState&&getResumeImportHref(e)&&(0,a.jsxs)(x(),{href:getResumeImportHref(e),className:"text-emerald-700 hover:text-emerald-900 flex items-center transition-colors duration-200 whitespace-nowrap",children:[(0,a.jsx)(L.Z,{className:"h-4 w-4 mr-1"}),e.document?"Continue Mapping":"Finish Import"]}),e.document&&(0,a.jsxs)("button",{onClick:()=>handleDownloadFile(e),className:"text-indigo-600 hover:text-indigo-900 flex items-center transition-colors duration-200 whitespace-nowrap",children:[(0,a.jsx)(Z.Z,{className:"h-4 w-4 mr-1"}),"Download"]}),e.failedRecords>0&&(0,a.jsxs)("button",{onClick:()=>handleViewErrorRows(e),className:"text-red-600 hover:text-red-900 flex items-center transition-colors duration-200 whitespace-nowrap",children:[(0,a.jsx)(j.Z,{className:"h-4 w-4 mr-1"}),"Errors (",e.failedRecords,")"]}),!e.document&&0===e.failedRecords&&(0,a.jsxs)("span",{className:"text-gray-400 flex items-center whitespace-nowrap",children:[(0,a.jsx)(y.Z,{className:"h-4 w-4 mr-1"}),"No File"]})]})})]},e.id))})]})})]}),H>1&&(0,a.jsxs)("div",{className:"bg-white px-4 py-3 flex items-center justify-between border-t border-gray-200 sm:px-6",children:[(0,a.jsxs)("div",{className:"flex-1 flex justify-between sm:hidden",children:[(0,a.jsx)(d.zx,{onClick:()=>handlePageChange(D-1),disabled:1===D,className:"relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:"Previous"}),(0,a.jsx)(d.zx,{onClick:()=>handlePageChange(D+1),disabled:D===H,className:"ml-3 relative inline-flex items-center px-4 py-2 border border-gray-300 text-sm font-medium rounded-md text-gray-700 bg-white hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:"Next"})]}),(0,a.jsxs)("div",{className:"hidden sm:flex-1 sm:flex sm:items-center sm:justify-between",children:[(0,a.jsx)("div",{children:(0,a.jsxs)("p",{className:"text-sm text-gray-700",children:["Showing"," ",(0,a.jsx)("span",{className:"font-medium",children:(D-1)*U+1})," ","to"," ",(0,a.jsx)("span",{className:"font-medium",children:Math.min(D*U,W)})," ","of"," ",(0,a.jsx)("span",{className:"font-medium",children:W})," ","results"]})}),(0,a.jsx)("div",{children:(0,a.jsxs)("nav",{className:"relative z-0 inline-flex rounded-md shadow-sm -space-x-px","aria-label":"Pagination",children:[(0,a.jsxs)(d.zx,{onClick:()=>handlePageChange(D-1),disabled:1===D,className:"relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"sr-only",children:"Previous"}),(0,a.jsx)(E.Z,{className:"h-5 w-5","aria-hidden":"true"})]}),Array.from({length:H},(e,t)=>t+1).map(e=>1===e||e===H||e>=D-1&&e<=D+1?(0,a.jsx)(d.zx,{onClick:()=>handlePageChange(e),className:`relative inline-flex items-center px-4 py-2 border text-sm font-medium ${e===D?"z-10 bg-indigo-50 border-indigo-500 text-indigo-600":"bg-white border-gray-300 text-gray-500 hover:bg-gray-50"}`,children:e},e):e===D-2||e===D+2?(0,a.js
1x)("span",{className:"relative inline-flex items-center px-4 py-2 border border-gray-300 bg-white text-sm font-medium text-gray-700",children:"..."},e):null),(0,a.jsxs)(d.zx,{onClick:()=>handlePageChange(D+1),disabled:D===H,className:"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 bg-white text-sm font-medium text-gray-500 hover:bg-gray-50 disabled:opacity-50 disabled:cursor-not-allowed",children:[(0,a.jsx)("span",{className:"sr-only",children:"Next"}),(0,a.jsx)(R.Z,{className:"h-5 w-5","aria-hidden":"true"})]})]})})]})]}),(0,a.jsx)(NewImportModal,{open:m,setOpen:u,onImportSuccess:()=>{fetchContactFiles(1)}}),h&&(0,a.jsx)("div",{className:"fixed inset-0 bg-gray-600 bg-opacity-50 overflow-y-auto h-full w-full z-50",children:(0,a.jsx)("div",{className:"relative top-20 mx-auto p-5 border w-11/12 max-w-6xl shadow-lg rounded-md bg-white",children:(0,a.jsxs)("div",{className:"mt-3",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between pb-4 border-b border-gray-200",children:[(0,a.jsxs)("div",{children:[(0,a.jsxs)("h3",{className:"text-lg font-medium text-gray-900",children:["Error Rows - ",A?.listName||"Import"]}),(0,a.jsxs)("p",{className:"text-sm text-gray-500",children:[A?.failedRecords||0," failed records found"]})]}),(0,a.jsx)("button",{onClick:()=>I(!1),className:"text-gray-400 hover:text-gray-600",children:(0,a.jsx)(g.Z,{className:"h-6 w-6"})})]}),(0,a.jsx)("div",{className:"mt-4",children:T?(0,a.jsxs)("div",{className:"flex items-center justify-center py-8",children:[(0,a.jsx)("div",{className:"animate-spin rounded-full h-8 w-8 border-b-2 border-indigo-600"}),(0,a.jsx)("span",{className:"ml-2 text-sm text-gray-500",children:"Loading error rows..."})]}):0===F.length?(0,a.jsxs)("div",{className:"text-center py-8",children:[(0,a.jsx)(j.Z,{className:"mx-auto h-12 w-12 text-gray-400"}),(0,a.jsx)("h3",{className:"mt-2 text-sm font-medium text-gray-900",children:"No error rows found"}),(0,a.jsx)("p",{className:"mt-1 text-sm text-gray-500",children:"There are no error details available for this import."})]}):(0,a.jsxs)("div",{className:"space-y-4",children:[(0,a.jsx)("div",{className:"flex justify-end",children:(0,a.jsxs)(d.zx,{onClick:()=>{if(0===F.length)return;let e=Object.keys(F[0]),t=[e.join(","),...F.map(t=>e.map(e=>{let s=t[e];return"string"==typeof s&&(s.includes(",")||s.includes('"'))?`"${s.replace(/"/g,'""')}"`:s||""}).join(","))].join("\n"),s=new Blob([t],{type:"text/csv"}),a=window.URL.createObjectURL(s),r=document.createElement("a");r.href=a,r.download=`error_rows_${A?.listName||"import"}_${A?.id}.csv`,document.body.appendChild(r),r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(a)},className:"flex items-center",children:[(0,a.jsx)(Z.Z,{className:"h-4 w-4 mr-2"}),"Download Error Rows CSV"]})}),(0,a.jsx)("div",{className:"overflow-x-auto",children:(0,a.jsxs)("table",{className:"min-w-full divide-y divide-gray-200",children:[(0,a.jsx)("thead",{className:"bg-gray-50",children:(0,a.jsx)("tr",{children:F.length>0&&(()=>{let e=Object.keys(F[0]),t=e.filter(e=>e.toLowerCase().includes("error")||e.toLowerCase().includes("message")||e.toLowerCase().includes("reason")),s=e.filter(e=>!e.toLowerCase().includes("error")&&!e.toLowerCase().includes("message")&&!e.toLowerCase().includes("reason")),r=[...s,...t];return r.map(e=>(0,a.jsx)("th",{className:`px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider ${t.includes(e)?"w-80 min-w-80":""}`,children:e.replace(/_/g," ").replace(/\b\w/g,e=>e.toUpperCase())},e))})()})}),(0,a.jsx)("tbody",{className:"bg-white divide-y divide-gray-200",children:F.map((e,t)=>{let s=Object.keys(e),r=s.filter(e=>e.toLowerCase().includes("error")||e.toLowerCase().includes("message")||e.toLowerCase().includes("reason")),n=s.filter(e=>!e.toLowerCase().includes("error")&&!e.toLowerCase().includes("message")&&!e.toLowerCase().includes("reason")),i=[...n,...r];return(0,a.jsx)("tr",{className:"hover:bg-gray-50",children:i.map((t,s)=>{let i=e[t];if(r.includes(t)&&"string"==typeof i){let t=n.map(t=>e[t]).filter(e=>e&&"string"==typeof e);
1t.forEach(e=>{i.startsWith(e+" ")&&(i=i.substring(e.length+1))})}return(0,a.jsx)("td",{className:`px-6 py-4 text-sm text-gray-900 ${r.includes(t)?"w-80 min-w-80 break-words":"whitespace-nowrap"}`,children:i||"-"},s)})},t)})})]})})]})}),(0,a.jsx)("div",{className:"flex justify-end pt-4 border-t border-gray-200 mt-4",children:(0,a.jsx)(d.zx,{onClick:()=>I(!1),className:"bg-gray-500 hover:bg-gray-600",children:"Close"})})]})})})]})};UserImports.Layout=r.q;var I=UserImports},17524:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M8.22 5.22a.75.75 0 0 1 1.06 0l4.25 4.25a.75.75 0 0 1 0 1.06l-4.25 4.25a.75.75 0 0 1-1.06-1.06L11.94 10 8.22 6.28a.75.75 0 0 1 0-1.06Z",clipRule:"evenodd"}))});t.Z=r},89618:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{fillRule:"evenodd",d:"M9.293 2.293a1 1 0 0 1 1.414 0l7 7A1 1 0 0 1 17 11h-1v6a1 1 0 0 1-1 1h-2a1 1 0 0 1-1-1v-3a1 1 0 0 0-1-1H9a1 1 0 0 0-1 1v3a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-6H3a1 1 0 0 1-.707-1.707l7-7Z",clipRule:"evenodd"}))});t.Z=r},65133:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M3 16.5v2.25A2.25 2.25 0 0 0 5.25 21h13.5A2.25 2.25 0 0 0 21 18.75V16.5M16.5 12 12 16.5m0 0L7.5 12m4.5 4.5V3"}))});t.Z=r},81173:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M17.25 8.25 21 12m0 0-3.75 3.75M21 12H3"}))});t.Z=r},85973:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M16.023 9.348h4.992v-.001M2.985 19.644v-4.992m0 0h4.992m-4.993 0 3.181 3.183a8.25 8.25 0 0 0 13.803-3.7M4.031 9.865a8.25 8.25 0 0 1 13.803-3.7l3.181 3.182m0-4.991v4.99"}))});t.Z=r},66610:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"m4.5 15.75 7.5-7.5 7.5 7.5"}))});t.Z=r},36165:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M11.35 3.836c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 0 0 .75-.75 2.25 2.25 0 0 0-.1-.664m-5.8 0A2.251 2.251 0 0 1 13.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m8.9-4.414c.376.023.75.05 1.124.08 1.131.094 1.976 1.057 1.976 2.192V16.5A2.25 2.25 0 0 1 18 18.75h-2.25m-7.5-10.5H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V18.75m-7.5-10.5h6.375c.621 0 1.125.504 1.125 1.125v9.375m-8.25-3 1.5 1.5 3-3.75"}))});t.Z=r},12825:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M8.25 7.5V6.108c0-1.135.845-2.098 1.976-2.192.373-.03.748-.057 1.123-.08M15.75 18H18a2.25 2.25 0 0 0 2.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 0 0-1.123-.08M15.75 18.75v-1.875a3.375 3.375 0 0 0-3.375-3.375h-1.5a1.125 1.125 0 0 1-1.125-1.125v-1.5A3.375 3.375 0 0 0 6.375 7.5H5.25m11.9-3.664A2.251 2.251 0 0 0 15 2.25h-1.5a2.251 2.251 0 0 0-2.15 1.586m5.8 0c.065.21.1.433.1.664v.75h-6V4.5c0-.231.035-.454.1-.664M6.75 7.5H4.875c-.621 0-1.125.504-1.125 1.125v12c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V16.5a9 9 0 0 0-9-9Z"}))});t.Z=r},20445:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 6v6h4.5m4.5 0a9 9 0 1 1-18 0 9 9 0 0 1 18 0Z"}))});t.Z=r},76943:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 16.5V9.75m0 0 3 3m-3-3-3 3M6.75 19.5a4.5 4.5 0 0 1-1.41-8.775 5.25 5.25 0 0 1 10.233-2.33 3 3 0 0 1 3.758 3.848A3.752 3.752 0 0 1 18 19.5H6.75Z"}))});t.Z=r},98523:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m0 12.75h7.5m-7.5 3H12M10.5 2.25H5.625c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Z"}))});t.Z=r},6244:function(e,t,s){"use strict";var a=s(67294);let r=a.forwardRef(function({title:e,titleId:t,...s},r){return a.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",strokeWidth:1.5,stroke:"currentColor","aria-hidden":"true","data-slot":"icon",ref:r,"aria-labelledby":t},s),e?a.createElement("title",{id:t},e):null,a.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126ZM12 15.75h.007v.008H12v-.008Z"}))});t.Z=r}},function(e){e.O(0,[9921,5675,2814,7536,7811,3355,3410,1796,3263,9774,2888,179],function(){return e(e.s=93822)}),_N_E=e.O()}]);
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.