1"use strict";(globalThis.webpackChunkwips_components_scripts||=[]).push([[5825],{"4f67546d744e3288"(e,l,n){n.r(l),n.d(l,{default:()=>c});var t=n("b641633d6c906d19"),a=n("99c472be6da17922"),o=n("82d8eefb58430341"),s=n("a54fa6d0a722ba3f"),i=n("ab5c7e913102dd40"),r=n("d9492f72911b6294");const d=["textContent"],p=(0,t.pM)({name:"FileUploadElement",__name:"FileUploadElement",emits:["addFiles"],setup(e,{emit:l}){const n=l,{t:p}=(0,i.s)(),c=(0,t.rk)("fileInput"),u=(0,s.IJ)(0),f=(0,t.EW)(()=>u.value>0);function v(){const e=c.value;e?.files?.length&&(n("addFiles",Array.from(e.files)),e.value="")}function _(e){u.value=0;const l=Array.from(e.dataTransfer?.files??[]);l.length&&n("addFiles",l)}return(e,l)=>((0,t.uX)(),(0,t.CE)("label",{class:(0,a.C4)([e.$style.dropZone,f.value&&e.$style.dragActive]),onDragenter:l[0]||(l[0]=(0,o.D$)(e=>u.value++,["prevent"])),onDragleave:l[1]||(l[1]=(0,o.D$)(e=>u.value--,["prevent"])),onDragover:l[2]||(l[2]=(0,o.D$)(()=>{},["prevent"])),onDrop:(0,o.D$)(_,["prevent"])},[(0,t.bF)(r.default,{class:(0,a.C4)(e.$style.icon),"icon-name":"upload_file"},null,8,["class"]),(0,t.Lk)("span",{textContent:(0,a.v_)((0,s.R1)(p)("Drag and drop files here, or click to select files"))},null,8,d),(0,t.Lk)("input",{ref_key:"fileInput",ref:c,type:"file",form:"",multiple:"",class:(0,a.C4)(e.$style.fileInput),onChange:v},null,34)],34))}}),c=(0,n("461bee8a7784aa7f").A)(p,[["__cssModules",{$style:{dropZone:"FileUploadElement__dropZone--qlbzN",dragActive:"FileUploadElement__dragActive--n_L20",icon:"FileUploadElement__icon--Wcxn9",fileInput:"FileUploadElement__fileInput--NBUb1"}}]])}}]);
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.