PageSourceSearch

https://studio-tools.letstok.com/static/js/1141.a80a9e0a.chunk.js

js letstok.com collected 2026-10-04 07:40:58 UTC 3,535 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkstudio_tools=self.webpackChunkstudio_tools||[]).push([[1141],{11141:(e,a,i)=>{i.r(a),i.d(a,{default:()=>x});var l=i(23966),o=i(94564),t=i(61431),s=i(76591),r=i(59732),n=i(72791),c=i(67142),d=i(4798),u=i(77257),m=i(48384),h=i(16555),p=i(80184);const x=(0,u.Pi)((()=>{const[e]=l.l0.useForm(),a=(0,c.t)(),i=l.l0.useWatch("categoryId",e),{categories:u,categoryVerticals:x}=(0,r.$p)(i),{creatorOptions:f,handleCreatorChange:g,isLoadingCreatorData:v}=(0,h.b)(e),j=l.l0.useWatch("videoType",e);(0,n.useEffect)((()=>{"stock"===j?e.setFieldValue("creatorName","Unknown Creator"):e.setFieldValue("isTranscribed",!0)}),[j,e]);const b=(0,n.useCallback)((async e=>{const{video:i,...l}=e,o=Object.fromEntries(Object.entries(l).filter((e=>{let[a,i]=e;return void 0!==i})));await a("uploadJoker",{...o,image:void 0,alphaVideo:void 0,video:null===i||void 0===i?void 0:i.file,videoPart:d.FE.Joker})}),[]),k=(0,n.useMemo)((()=>l.l0.Item),[]);return(0,n.useEffect)((()=>{e.setFieldValue("verticalId",void 0)}),[i]),(0,p.jsxs)(l.l0,{form:e,name:"joker-upload-form",onFinish:b,autoComplete:"off",className:"flex flex-col gap-y-5",children:[(0,p.jsx)(o.Zb,{headerTitle:"Common fields",children:(0,p.jsx)(o.xu,{className:"mt-3 grid grid-cols-[repeat(auto-fill,minmax(270px,auto))]  gap-x-[30px]",children:(0,p.jsx)(k,{name:"creatorName",hasFeedback:!0,rules:[{required:!0,message:"Please select creator name"}],initialValue:"Unknown Creator",children:(0,p.jsx)(l.Ph,{title:"* Creator name",placeholder:"...",columnView:!0,options:f,onChange:g,loading:v})})})}),(0,p.jsx)(o.Zb,{headerTitle:"Video details",children:(0,p.jsxs)(o.xu,{className:"mt-3 grid grid-cols-[repeat(auto-fill,minmax(270px,auto))]  gap-x-[30px]",children:[(0,p.jsx)(k,{name:"categoryId",hasFeedback:!0,rules:[{required:!0,message:"Please select category"}],children:(0,p.jsx)(l.Ph,{columnView:!0,showSearch:!0,placeholder:"...",title:"* Category",options:u,filterOption:(e,a)=>0===(null===a||void 0===a?void 0:a.label).toLowerCase().indexOf(e.toLowerCase())})}),(0,p.jsx)(k,{name:"verticalId",hasFeedback:!0,rules:[{required:!0,message:"Please select vertical "}],children:(0,p.jsx)(l.Ph,{columnView:!0,showSearch:!0,placeholder:"...",title:"* Vertical",options:x,filterOption:(e,a)=>0===(null===a||void 0===a?void 0:a.label).toLowerCase().indexOf(e.toLowerCase())})}),(0,p.jsx)(k,{hasFeedback:!0,name:"videoType",rules:[{required:!0,message:"Please select type"}],children:(0,p.jsx)(l.Ph,{columnView:!0,placeholder:"...",title:"* Video type",options:s.hX})}),(0,p.jsx)(k,{name:"appearanceTo",initialValue:[d.gs.AI],children:(0,p.jsx)(l.Ph,{mode:"multiple",title:"Ap
1pearance to",columnView:!0,options:s.u5})}),(0,p.jsx)(k,{name:"isTranscribed",valuePropName:"checked",initialValue:!1,children:(0,p.jsx)(l.XZ,{className:"mt-5",children:(0,p.jsx)(m.Z,{label:"* Is transcribed",children:(0,p.jsx)(t.Z,{title:"Mark if the video is UGC or stock footage with voiceover",children:(0,p.jsx)(o.PJ.Info,{style:{marginLeft:8}})})})})})]})}),(0,p.jsxs)(o.Zb,{headerTitle:"Uploading attachments",children:[(0,p.jsx)(o.xu,{className:"mt-3 flex flex-wrap gap-x-10",children:(0,p.jsx)(k,{name:"video",valuePropName:"video",rules:[{required:!0,message:"Please select video"}],children:(0,p.jsx)(o.p0,{accept:"video/mp4",title:"* Original video in format MP4",buttonText:"Click to select original video",columnView:!0})})}),(0,p.jsx)(k,{children:(0,p.jsx)(l.zx,{type:"submit",children:"Submit and start upload"})})]})]})}))}}]);
2//# sourceMappingURL=1141.a80a9e0a.chunk.js.map

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.