PageSourceSearch

https://kingsman-ecru.vercel.app/_next/static/chunks/pages/admin/lookbooks/[id]-88e989fc14c050e0.js

js kingsman-ecru.vercel.app collected 2026-10-03 07:11:37 UTC 2,053 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[681],{48194:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/lookbooks/[id]",function(){return n(50583)}])},1255:function(e,t,n){"use strict";n(48764).Buffer,n(48764).Buffer},66124:function(e,t,n){"use strict";n.d(t,{TS:function(){return u},eE:function(){return l},Az:function(){return o}});var a=n(26462);n(75472);var i=n(36597);let r=(0,a.hJ)(i.db,"lookbooks");var u=async function(e){let t=await (0,a.ET)(r,e);return t.id},o=async function(e,t){let n=(0,a.JU)(i.db,"lookbooks/".concat(e));await (0,a.r7)(n,t)},l=async function(e){let t=(0,a.JU)(i.db,"lookbooks/".concat(e));await (0,a.oe)(t)}},50583:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return y},default:function(){return x}});var a=n(85893),i=n(97564),r=n(80061),u=n(66137),o=n(67841),l=n(41609),s=n.n(l),c=n(35161),d=n.n(c),f=n(11163),b=n(67294);n(1255);var _=n(66124),h=n(59638),k=n(86439),w=n(99985),g=n(64360),x=e=>{let{lookbook:t}=e,{query:n}=(0,f.useRouter)(),[l,c]=(0,b.useState)(t.title),[x,y]=(0,b.useState)((0,k.v)(t.images)?d()(t.images,e=>e.url):[]),[m,j]=(0,b.useState)(!1),p=async()=>{if(s()(l))return alert("Title 을 입력해주세요.");if(s()(x))return alert("등록된 이미지가 없습니다.");if(!m){j(!0);try{let e=await (0,h.Uo)([...x]),a={type:t.type,gender:t.gender,title:l,images:e};await (0,_.Az)(n.id,a),alert("수정되었습니다.")}catch(e){console.log("error : ",e)}finally{j(!1)}}};return(0,a.jsx)(w.l,{children:(0,a.jsxs)(i.K,{sx:{width:500},mx:"auto",children:[(0,a.jsx)(r.o,{label:"Gender",defaultValue:t.gender,disabled:!0}),(0,a.jsx)(r.o,{label:"Type",defaultValue:t.type,disabled:!0}),(0,a.jsx)(r.o,{label:"Title",value:l,onChange:e=>c(e.target.value)}),(0,a.jsx)(g.Y,{images:x,setImages:y}),(0,a.jsx)(u.Z,{sx:{width:"100%",justifyContent:"flex-end"},my:"md",onClick:p,children:(0,a.jsx)(o.z,{loading:m,children:"Submit"})})]})})},y=!0}},function(e){e.O(0,[243,714,440,238,929,421,901,523,485,774,888,179],function(){return e(e.s=48194)}),_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.