1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9935],{10485:(e,t,r)=>{r.d(t,{A:()=>n});var o=r(38213),s=r(6029);let n=(0,o.A)((0,s.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},16422:(e,t,r)=>{r.r(t),r.d(t,{default:()=>d});var o=r(6029);r(55729);var s=r(90798),n=r(90923),l=r(88351),a=r(82372),i=r(10485);function c(e){let{color:t="currentColor"}=e;return(0,o.jsxs)("svg",{width:"18",height:"17",viewBox:"0 0 18 17",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,o.jsx)("path",{style:{stroke:t},d:"M16.8828 12.2305V15.9997C11.5879 15.9997 0.998198 15.9997 0.998198 15.9997V12.2305",stroke:t,strokeWidth:"2"}),(0,o.jsx)("path",{style:{stroke:t},d:"M9.07812 12.5006L9.07812 2.53906",stroke:t,strokeWidth:"2"}),(0,o.jsx)("path",{style:{stroke:t},d:"M13.9219 6.84615L9.07572 2L4.22957 6.84615",stroke:t,strokeWidth:"2"})]})}function d(e){let{formItem:t,onChange:r,onError:d,disabled:u}=e,{getDropzoneInputProps:p,openFileDialog:x,fileExtension:h,fileNameWithoutExtension:v}=(0,a.A)({formItem:t,onChange:r,onError:d,disabled:u});return(0,o.jsxs)(s.A,{display:"flex",flexWrap:"wrap",gap:1.5,children:[(0,o.jsx)(n.A,{onClick:x,variant:"outlined",color:"secondary",startIcon:(0,o.jsx)(c,{}),children:"UPLOAD FILE"}),(0,o.jsx)("input",{...p()}),t.value&&(0,o.jsxs)(n.A,{component:"div",variant:"outlined",color:"secondary",sx:{color:"text.primary"},endIcon:(0,o.jsx)(l.A,{onClick:()=>r(void 0),"aria-label":"Remove file",sx:{m:-1},children:(0,o.jsx)(i.A,{sx:{color:"text.primary"}})}),children:[v,h]})]})}},82372:(e,t,r)=>{r.d(t,{A:()=>l});var o=r(32988),s=r.n(o),n=r(84242);function l(e){let{formItem:t,onChange:r,onError:o,disabled:l,classes:a}=e,{accept:i,maxSize:c=1e7}=t.input,{getDropzoneRootProps:d,getDropzoneInputProps:u,isDropzoneAccept:p,isDropzoneReject:x,openFileDialog:h}=(e=>{let{accept:t,disabled:r,onFileDropped:o,onUploadError:s,maxSize:l}=e;async function a(e){let[t]=e;t&&o(t)}let{getRootProps:i,getInputProps:c,isDragAccept:d,isDragReject:u,open:p}=(0,n.VB)({accept:t,maxSize:l,onDropAccepted:a,onDropRejected:function(e){s&&(e[0]?.errors?.[0]?.code==="file-too-large"?s(`File is too large. It must be under ${l/1e6} MB.`):s(e[0]?.errors?.[0]?.message||"There was a problem uploading this file."))},disabled:r,multiple:!1,noClick:!0});return{getDropzoneRootProps:i,getDropzoneInputProps:c,isDropzoneAccept:d,isDropzoneReject:u,openFileDialog:p}})({accept:i,disabled:l,maxSize:c,onFileDropped:r,onUploadError:o}),v=a?d({className:s()(a.dropzoneContainer,{[a.accept]:p,[a.reject]:x})}):{},f=t.value?.name.lastIndexOf(".")||0,m=t.value&&-1!==f?t.value.name.substring(f):"";return{getDropzoneInputProps:u,maxSizeMB:Math.floor(c/1e6*10)/10,openFileDialog:h,dropzoneRootProps:v,fileExtension:m,fileNameWithoutExtension:-1!==f?t.value?.name.substring(0,f):t.value?.name}}}}]);
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.