PageSourceSearch

https://www.kingsburyproductions.com/_next/static/chunks/lux-form-file-input.e7f65568d496c743.js

js kingsburyproductions.com collected 2026-09-29 17:12:08 UTC 2,861 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[10123],{52963:(e,t,r)=>{r.r(t),r.d(t,{default:()=>c});var o=r(6029);r(55729);var n=r(90798),s=r(90923),a=r(10485),l=r(82372);function i(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"})]})}var p=r(76580);function c(e){let{formItem:t,onChange:r,onError:c,disabled:u}=e,{getDropzoneInputProps:d,openFileDialog:x,fileExtension:h,fileNameWithoutExtension:g}=(0,l.A)({formItem:t,onChange:r,onError:c,disabled:u}),f={borderRadius:0,borderColor:`color-mix(in srgb, ${(0,p.c)("text")} 15%, transparent)`,color:(0,p.c)("text"),letterSpacing:"0.16em",textTransform:"uppercase",fontSize:"12px",minHeight:"56px !important",px:"16px",py:"10px","&:hover":{borderColor:(0,p.c)("text"),color:(0,p.c)("text"),backgroundColor:"transparent"}};return(0,o.jsxs)(n.A,{display:"flex",flexWrap:"wrap",gap:"8px",children:[(0,o.jsx)(s.A,{onClick:x,variant:"outlined",startIcon:(0,o.jsx)(i,{}),sx:f,children:"Upload File"}),(0,o.jsx)("input",{...d()}),t.value&&(0,o.jsxs)(s.A,{variant:"outlined",onClick:()=>r(void 0),endIcon:(0,o.jsx)(a.A,{}),sx:f,children:[g,h]})]})}},82372:(e,t,r)=>{r.d(t,{A:()=>a});var o=r(32988),n=r.n(o),s=r(84242);function a(e){let{formItem:t,onChange:r,onError:o,disabled:a,classes:l}=e,{accept:i,maxSize:p=1e7}=t.input,{getDropzoneRootProps:c,getDropzoneInputProps:u,isDropzoneAccept:d,isDropzoneReject:x,openFileDialog:h}=(e=>{let{accept:t,disabled:r,onFileDropped:o,onUploadError:n,maxSize:a}=e;async function l(e){let[t]=e;t&&o(t)}let{getRootProps:i,getInputProps:p,isDragAccept:c,isDragReject:u,open:d}=(0,s.VB)({accept:t,maxSize:a,onDropAccepted:l,onDropRejected:function(e){n&&(e[0]?.errors?.[0]?.code==="file-too-large"?n(`File is too large. It must be under ${a/1e6} MB.`):n(e[0]?.errors?.[0]?.message||"There was a problem uploading this file."))},disabled:r,multiple:!1,noClick:!0});return{getDropzoneRootProps:i,getDropzoneInputProps:p,isDropzoneAccept:c,isDropzoneReject:u,openFileDialog:d}})({accept:i,disabled:a,maxSize:p,onFileDropped:r,onUploadError:o}),g=l?c({className:n()(l.dropzoneContainer,{[l.accept]:d,[l.reject]:x})}):{},f=t.value?.name.lastIndexOf(".")||0,k=t.value&&-1!==f?t.value.name.substring(f):"";return{getDropzoneInputProps:u,maxSizeMB:Math.floor(p/1e6*10)/10,openFileDialog:h,dropzoneRootProps:g,fileExtension:k,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.