1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5378],{1185:function(e,t,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/test",function(){return i(2044)}])},9280:function(e,t){"use strict";t.Z={src:"/_next/static/media/cross.51408ddf.svg",height:16,width:16,blurWidth:0,blurHeight:0}},2044:function(e,t,i){"use strict";i.r(t),i.d(t,{default:function(){return c}});var n=i(5893),r=i(5675),s=i.n(r),o=i(7294),l={src:"/_next/static/media/Camera_fill.076fcf68.png",height:61,width:70,blurDataURL:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAHCAMAAAACh/xsAAAAHlBMVEUAAAAiIiIhISEhISEhISEiIiIhISEiIiIhISEiIiKktTnrAAAACnRSTlMB8trPCxV6nbCzDMnSGAAAAAlwSFlzAAALEwAACxMBAJqcGAAAACxJREFUeJxFy7kBACAIBLD7ENh/YTtNH+A70gGQpsQOirbMQpE2Wch415N3Lg7kAIjhQwvPAAAAAElFTkSuQmCC",blurWidth:8,blurHeight:7},a=i(9280);function c(){var e;let[t,i]=(0,o.useState)({first:"",second:"",third:"",fourth:"",fifth:"",sixth:"",seventh:"https://cdn.pixabay.com/photo/2016/12/06/09/30/blank-1886001__340.png",eighth:""});function r(e){i({...t,[e.target.name]:e.target.files[0]})}function l(e,n){i({...t,[n]:""})}return(0,n.jsx)("div",{className:"flex space-x-4",children:null===(e=Object.entries(t))||void 0===e?void 0:e.map(e=>(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("div",{className:"group relative",children:[(0,n.jsx)(h,{id:e[0],name:e[0],image:e[1],onChange:r}),"object"==typeof e[1]||"string"==typeof e[1]&&0!==e[1].length?(0,n.jsxs)("div",{className:"absolute inset-0 flex flex-col items-center justify-center text-sm space-y-2 text-white w-full h-full opacity-0 group-hover:opacity-100 group-hover:bg-opacity-30 group-hover:bg-white transition-all duration-300",children:[(0,n.jsx)("label",{htmlFor:e[0],className:"flex items-center justify-center bg-accent-primary w-2/3 h-8 rounded cursor-pointer",children:"Change"}),(0,n.jsx)("button",{onClick:()=>l("cover",e[0]),className:"flex items-center justify-center w-2/3 h-8 border border-accent-primary bg-white text-accent-primary rounded",children:"Set as cover"})]}):null]}),"object"==typeof e[1]||"string"==typeof e[1]&&0!==e[1].length?(0,n.jsx)("button",{onClick:()=>l("delete",e[0]),className:"absolute -right-3 scale-75 hover:scale-95 transition-transform duration-300 top-0 border flex items-center justify-center w-[30px] h-[30px] bg-white rounded-full",children:(0,n.jsx)(s(),{src:a.Z,alt:""})}):null]},e[0]))})}function h(e){let{name:t,id:i,image:r,onChange:o}=e,a=r&&"object"==typeof r,c="string"==typeof r&&0!==r.length;return(0,n.jsxs)("label",{htmlFor:t,className:"group flex items-center justify-center w-[150px] h-[136px] bg-white shadow-xl ".concat(a?"":"cursor-pointer"," "),children:[(0,n.jsx)(s(),{layout:"object"==typeof r||"string"==typeof r&&0!==r.length?"fill":void 0,objectFit:"object"==typeof r||"string"==typeof r&&0!==r.length?"contain":void 0,src:a?URL.createObjectURL(r):c?r:l,alt:"image",className:"group-hover:scale-110 transition-transform duration-300"}),(0,n.jsx)("input",{id:i,type:"file",name:t,className:"hidden",onChange:e=>{var t,i;(null===(i=e.target)||void 0===i?void 0:null===(t=i.files)||void 0===t?void 0:t.length)!==0&&o(e)}})]})}}},function(e){e.O(0,[5675,2888,9774,179],function(){return e(e.s=1185)}),_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.