1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1612],{83849:function(e,l,i){(window.__NEXT_P=window.__NEXT_P||[]).push(["/advance-search",function(){return i(93407)}])},93407:function(e,l,i){"use strict";i.r(l),i.d(l,{default:function(){return y}});var o=i(85893),a=i(67294);i(46012);var n=i(99603),t=i(59417),d=i(5678),r=i(48583),u=i(52058),c=i(88446),s=i(19152),v=e=>{let{level:l,parent_id:i,search_parent_id:n,value:t,disabled:d,refreshData:r,...u}=e,[v,p]=(0,a.useState)([]);(0,a.useEffect)(()=>{let e=async()=>{try{var e;let o=[];o.push({basicSearchKey:"level",basicSearchValue:l,basicSearchType:"number"}),o.push({basicSearchKey:"status",basicSearchValue:1,basicSearchType:"number"}),n&&o.push({basicSearchKey:"parent_id",basicSearchValue:i,basicSearchType:"number"});let a=await c.Z.post("/category/getCategoryList_public",{searchDetails:o,searchQuery:"",sortDetails:{sortKey:"category",sortType:1},page_enabled:"n",limit:50,page:1}),t=null==a?void 0:null===(e=a.data)||void 0===e?void 0:e.data,d=[];if(Array.isArray(t)&&t.length>0){for(let e of t)d.push({label:e.category,value:e.id});p(d)}}catch(e){console.error(e)}};e()},[l,i,r]);let _=v.map(e=>({value:e.value,label:e.label}));return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(s.ZP,{...u,value:t,isDisabled:d,className:" text-xs lining-nums",placeholder:"Category Group",options:_})})},p=i(99034),_=i(11163),g=e=>{let{head:l,parent_id:i,headUrl:n,value:t,refreshData:d,...r}=e,[u,v]=(0,a.useState)([]),p=async()=>{try{var e;let l=await c.Z.post("/product-all-d-head-get/".concat(n),{searchDetails:[{basicSearchKey:"head",basicSearchValue:i,basicSearchType:"number"}],searchDetailsAnd:[],searchQuery:"",sortDetails:{sortKey:"item",sortType:1},page_enabled:"n",limit:50,page:1}),o=null==l?void 0:null===(e=l.data)||void 0===e?void 0:e.data,a=[];if(Array.isArray(o)&&o.length>0){for(let e of o)a.push({label:e.item,value:e.id});v(a)}else v([])}catch(e){console.error(e)}};(0,a.useEffect)(()=>{p()},[i,l]);let _=u.map(e=>({value:e.value,label:e.label}));return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:l}),(0,o.jsx)(s.ZP,{...r,value:t,className:" text-xs lining-nums",options:_})]})},y=()=>{var e,l,i,s,y,h,x,b,m,j,f,S,N,C,A,D,w,F,G,k,L,q,P,E,T,K,U,Z,M,R,V,H,Q,z,O,X,B,$,I,J,W,Y,ee,el,ei,eo,ea,en,et,ed,er;let eu=(0,r.Dv)(u.Z),ec=(0,_.useRouter)(),es=["All Site","e Auction","Printed Auction","e Store"],[ev,ep]=(0,a.useState)(),e_=eu.filter(e=>1===e.status);e_&&((null===(F=null===(G=e_[0])||void 0===G?void 0:null===(k=G.auction_id)||void 0===k?void 0:k.toString())||void 0===F?void 0:F.slice(0,1))==="2"?es.push("Printed Auction Live"):(null===(L=null===(q=e_[0])||void 0===q?void 0:null===(P=q.auction_id)||void 0===P?void 0:P.toString())||void 0===L?void 0:L.slice(0,1))==="1"&&es.push("e Auction Live"));let[eg,ey]=(0,a.useState)("All Site"),[eh,ex]=(0,a.useState)(!1),[eb,em]=(0,a.useState)([]),[ej,ef]=(0,a.useState)(""),[eS,eN]=(0,a.useState)(),[eC,eA]=(0,a.useState)(""),[eD,ew]=(0,a.useState)({}),[eF,eG]=(0,a.useState)(),[ek,eL]=(0,a.useState)({category_0:{value:-1,label:"Category Group"},category_1:{value:-1,label:"Category Master"},category_2:{value:-1,label:"Category Main"},category_3:{value:-1,label:"Category Sub"},category_4:{value:-1,label:"Category Sub 2"},category_5:{value:-1,label:"Category Sub 3"},description_01:{value:-1,label:"Select Group"},description_02:{value:-1,label:"Select Group"},description_03:{value:-1,label:"Select Group"},description_04:{value:-1,label:"Select Group"},description_05:"",description_06:"",description_07:"",description_08:"",auc_no:"",sku:-1,query:"",lot:""}),eq=(0,a.useRef)(null);(0,a.useEffect)(()=>{eE()},[null==ek?void 0:null===(e=ek.category_0)||void 0===e?void 0:e.value]);let eP=(e,l)=>{if("lotno"===l){let l;eN(e),l={auc_no:null==ej?void 0:ej.toString(),lot:e},eL({...ek,...l})}"keyword"===l&&e&&(eA(e),eL({...ek,query:e})),"allSku"===l&&e&&eL({...ek,sku:e})},eE=async()=>{var e;let l={page_enabled:"y",page:1,limit:100,sortDetails:{sortKey:"id",sortType:1},searchDetails:[{basicSearchKey:"id",basicSearchValue:null==ek?void 0:null===(e=ek.category_0)||void 0===e?void 0:e.value,basicSearchType:"number"}],searchDetailsAnd:[],searchQuery:""},i=await c.Z.post("/product-all-d-head-get/getHead",l),o=i.data.data;Array.isArray(o)&&ew(o[0])},eT=e=>{if(ey(e.target.value),"Printed Auction Live"===e.target.value||"e Auction Live"===e.target.value){var l;eL({...ek,auc_no:null===(l=e_[0])||void 0===l?void 0:l.auction_id.toString()})}("Printed Auction"===e.target.value||"e Auction"===e.target.value)&&ef("")};(0,d.t$)(eq,()=>{ex(!1)});let eK=e=>{ef(e),eL({...ek,auc_no:e}),ex(!1)};return(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("section",{className:"md:mx-8 px-3 lg:mx-28 lg:px-0 md:p-0",children:(0,o.jsx)("div",{className:"container mx-auto",children:(0,o.jsx)("div",{className:"pt-2",children:(0,o.jsxs)("div",{className:"border",children:[(0,o.jsxs)("div",{className:"bg-gray-100 px-2 py-2",children:[(0,o.jsx)(n.G,{icon:t.G_j,className:"h-4 w-4"})," Advance Search"]}),(0,o.jsxs)("div",{className:"px-3 py-3",children:[(0,o.jsxs)("div",{className:"flex flex-col md:flex-row gap-y-2 gap-x-2",children:[(0,o.jsx)("span",{className:"font-semibold",children:"Select Type :"}),es.map(e=>(0,o.jsxs)("div",{className:"flex ",children:[(0,o.jsx)("input",{type:"radio",name:"type",id:"type-".concat(e),value:e,checked:eg===e,onChange:eT}),(0,o.jsx)("label",{htmlFor:"type-".concat(e),className:"ms-2",children:e})]},e))]}),(0,o.jsxs)("div",{className:"flex flex-col-reverse md:flex-row w-full justify-between px-2 pt-5 gap-x-3",children:[(0,o.jsx)("div",{className:"w-full ",children:(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Category Group"}),(0,o.jsx)("div",{children:(0,o.jsx)(v,{name:"category_0",onChange:e=>{eL({...ek,category_0:e,category_1:{value:-1,label:"Category Master"},category_2:{value:-1,label:"Category Main"},category_3:{value:-1,label:"Category Sub"}
1,category_4:{value:-1,label:"Category Sub 2"},category_5:{value:-1,label:"Category Sub 3"},description_01:{value:-1,label:"Select Group"},description_02:{value:-1,label:"Select Group"},description_03:{value:-1,label:"Select Group"},description_04:{value:-1,label:"Select Group"},description_05:"",description_06:"",description_07:"",description_08:""})},level:0,search_parent_id:!1,parent_id:-1,required:!0,value:null==ek?void 0:ek.category_0,refreshData:""})})]})}),(0,o.jsx)("div",{className:"w-full ",children:(0,o.jsxs)(o.Fragment,{children:[("All Site"===eg||"e Store"===eg)&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"".concat("All Site"===eg?"Lot ":" SKU"," #")}),(0,o.jsx)("div",{children:(0,o.jsx)("input",{type:"text",onChange:e=>eP(e.target.value,"allSku"),value:eF,placeholder:"".concat("All Site"===eg?"Search by Lot No / SKU No":"Search by SKU"," #"),className:"px-2 py-2 block w-full border-2 border-gray-100 outline-none rounded text-xs focus:border-gray-200"})})]}),"e Auction"===eg||"Printed Auction"===eg?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Lot # "}),(0,o.jsxs)("div",{className:"rounded group relative",ref:eq,children:[(0,o.jsxs)("div",{className:"inline-flex rounded w-full",children:[(0,o.jsxs)("button",{type:"button",onClick:()=>{!1===eh?ex(!0):ex(!1)},className:"px-2 py-2 inline-flex flex-shrink-0 justify-center items-center rounded-l-md border-1 bg-gray-200 text-black hover:bg-gray-300 focus:outline-none lining-nums",children:["e Auction"===eg?"e-Auction ".concat(ej?ej.toString().slice(2):""):"P-Auction ".concat(ej?ej.toString().slice(2):""),!0===eh?(0,o.jsxs)(o.Fragment,{children:[" ",(0,o.jsx)(n.G,{icon:t.gc2,size:"xs",className:" w-3 h-3 ml-1 "})]}):(0,o.jsx)(o.Fragment,{children:(0,o.jsx)(n.G,{icon:t.onQ,size:"xs",className:" w-3 h-3 ml-1 "})})]}),(0,o.jsx)("input",{type:"text",onChange:e=>eP(e.target.value,"lotno"),value:eS,disabled:void 0===ej,placeholder:"Enter Lot",className:"px-2 py-2 w-full border-2 border-gray-100 outline-none md:rounded xxxs:rounded-none text-xs focus:border-gray-200"})]}),(0,o.jsx)("div",{className:"".concat(eh?"block":"absolute hidden"," flex- right-0 w-full relative z-10 origin-top-right bg-white border border-gray-200 divide-y divide-gray-100 rounded-md shadow-lg outline-none lining-nums"),children:(0,o.jsx)("ul",{className:"py-2 max-h-36 absolute overflow-hidden overflow-y-auto",children:null==eu?void 0:eu.map(e=>(0,o.jsx)(o.Fragment,{children:e.auction_no.toString().length>0&&!isNaN(e.auction_no)&&("e Auction"===eg?1==e.auction_type:2==e.auction_type)?(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("li",{className:"hover:bg-gray-50 bg-white ring-opacity-5 cursor-pointer focus:outline-none px-2 py-1 text-xs ",onClick:()=>eK(e.auction_id),children:"".concat("e Auction"===eg?"e-Auction":"P-Auction"," # ").concat(e.auction_no)},e.auction_no)}):(0,o.jsx)(o.Fragment,{})}))})})]})]}):"Printed Auction Live"===eg||"e Auction Live"===eg?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Lot # "}),(0,o.jsx)("div",{className:"rounded group relative",ref:eq,children:(0,o.jsxs)("div",{className:"inline-flex rounded w-full",children:[(0,o.jsx)("button",{type:"button",className:"px-2 py-2 inline-flex flex-shrink-0 justify-center items-center rounded-l-md border-1 bg-gray-200 text-black hover:bg-gray-300 focus:outline-none lining-nums",children:"Printed Auction Live"===eg?"Printed-Auction Live ".concat((null===(E=e_[0])||void 0===E?void 0:E.auction_id)?null===(T=null===(K=e_[0])||void 0===K?void 0:null===(U=K.auction_id)||void 0===U?void 0:U.toString())||void 0===T?void 0:T.slice(2):""):"e-Auction Live ".concat((null===(Z=e_[0])||void 0===Z?void 0:Z.auction_id)?null===(M=null===(R=e_[0])||void 0===R?void 0:null===(V=R.auction_id)||void 0===V?void 0:V.toString())||void 0===M?void 0:M.slice(2):"")}),(0,o.jsx)("input",{type:"text",onChange:e=>eP(e.target.value,"lotno"),value:eS,placeholder:"Enter Lot",className:"px-2 py-2 w-full border-2 border-gray-100 outline-none md:rounded xxxs:rounded-none text-xs focus:border-gray-200"})]})})]}):null]})}),(0,o.jsxs)("div",{className:"w-full ",children:[(0,o.jsx)("div",{className:"py-2",children:"Keyword #"}
1),(0,o.jsx)("div",{children:(0,o.jsx)("input",{type:"text",onChange:e=>eP(e.target.value,"keyword"),value:eC,placeholder:"Enter Lot",className:"px-2 py-2 block w-full border-2 border-gray-100 outline-none rounded text-xs focus:border-gray-200"})})]})]}),(0,o.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,o.jsxs)("div",{className:"flex flex-col md:w-1/3 px-2",children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Category Master"}),(0,o.jsx)("div",{children:(0,o.jsx)(v,{name:"category_1",disabled:(null==ek?void 0:null===(H=ek.category_0)||void 0===H?void 0:H.value)===-1,onChange:e=>{eL({...ek,category_1:e,category_2:{value:-1,label:"Category Main"},category_3:{value:-1,label:"Category Sub"},category_4:{value:-1,label:"Category Sub 2"},category_5:{value:-1,label:"Category Sub 3"},description_01:{value:-1,label:"Select Group"},description_02:{value:-1,label:"Select Group"},description_03:{value:-1,label:"Select Group"},description_04:{value:-1,label:"Select Group"},description_05:"",description_06:"",description_07:"",description_08:""})},level:1,search_parent_id:!0,parent_id:null==ek?void 0:null===(Q=ek.category_0)||void 0===Q?void 0:Q.value,required:!0,value:null==ek?void 0:ek.category_1,refreshData:""})})]}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Category Main"}),(0,o.jsx)("div",{children:(0,o.jsx)(v,{name:"category_2",disabled:(null==ek?void 0:null===(z=ek.category_1)||void 0===z?void 0:z.value)===-1,onChange:e=>{eL({...ek,category_2:e,category_3:{value:-1,label:"Category Sub"},category_4:{value:-1,label:"Category Sub 2"},category_5:{value:-1,label:"Category Sub 3"},description_01:{value:-1,label:"Select Group"},description_02:{value:-1,label:"Select Group"},description_03:{value:-1,label:"Select Group"},description_04:{value:-1,label:"Select Group"},description_05:"",description_06:"",description_07:"",description_08:""})},level:2,search_parent_id:!0,parent_id:null==ek?void 0:null===(O=ek.category_1)||void 0===O?void 0:O.value,required:!0,value:null==ek?void 0:ek.category_2,refreshData:""})})]}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Category Sub"}),(0,o.jsx)("div",{children:(0,o.jsx)(v,{name:"category_3",disabled:(null==ek?void 0:null===(X=ek.category_2)||void 0===X?void 0:X.value)===-1,onChange:e=>{eL({...ek,category_3:e,category_4:{value:-1,label:"Category Sub 2"},category_5:{value:-1,label:"Category Sub 3"},description_01:{value:-1,label:"Select Group"},description_02:{value:-1,label:"Select Group"},description_03:{value:-1,label:"Select Group"},description_04:{value:-1,label:"Select Group"},description_05:"",description_06:"",description_07:"",description_08:""})},level:3,search_parent_id:!0,parent_id:null==ek?void 0:null===(B=ek.category_2)||void 0===B?void 0:B.value,required:!0,value:null==ek?void 0:ek.category_3,refreshData:""})})]}),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("div",{className:"py-2",children:"Category Sub 2"}),(0,o.jsx)("div",{children:(0,o.jsx)(v,{name:"category_4",disabled:(null==ek?void 0:null===($=ek.category_3)||void 0===$?void 0:$.value)===-1,onChange:e=>{eL({...ek,category_4:e,category_5:{value:-1,label:"Category Sub 3"},description_01:{value:-1,label:"Select Group"},description_02:{value:-1,label:"Select Group"},description_03:{value:-1,label:"Select Group"},description_04:{value:-1,label:"Select Group"},description_05:"",description_06:"",description_07:"",description_08:""})},level:4,search_parent_id:!0,parent_id:null==ek?void 0:null===(I=ek.category_3)||void 0===I?void 0:I.value,required:!0,value:null==ek?void 0:ek.category_4,refreshData:""})})]})]}),(0,o.jsx)("div",{className:"md:w-2/3 p-2 pt-8",children:(0,o.jsxs)("div",{children:[(0,o.jsxs)("div",{className:"grid grid-cols-2 gap-x-5 p-3",children:[(null==eD?void 0:eD.d_1Details)&&(null===(l=null==eD?void 0:eD.d_1Details[0])||void 0===l?void 0:l.description)!=="--NA--"?(J=null===(i=null==eD?void 0:eD.d_1Details[0])||void 0===i?void 0:i.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{children:(0,o.jsx)(g,{name:"category_head1",onChange:e=>{e&&eL({...ek,description_01:e})},search_parent_id:!0,parent_id:null==ek?void 0:null===(W=ek.category_0)||void 0===W?void 0:W.value,required:!0,value:null==ek?void 0:ek.description_01,refreshData:"",head:J,headUrl:"getHeadOne"})})}
1)):null,(null==eD?void 0:eD.d_2Details)&&(null===(s=null==eD?void 0:eD.d_2Details[0])||void 0===s?void 0:s.description)!=="--NA--"?(Y=null===(y=null==eD?void 0:eD.d_2Details[0])||void 0===y?void 0:y.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{children:(0,o.jsx)(g,{name:"category_head1",onChange:e=>{e&&eL({...ek,description_02:e})},search_parent_id:!0,parent_id:null==ek?void 0:null===(ee=ek.category_0)||void 0===ee?void 0:ee.value,required:!0,value:null==ek?void 0:ek.description_02,refreshData:"",head:Y,headUrl:"getHeadTwo"})})})):null,(null==eD?void 0:eD.d_3Details)&&(null===(h=null==eD?void 0:eD.d_3Details[0])||void 0===h?void 0:h.description)!=="--NA--"?(el=null===(x=null==eD?void 0:eD.d_3Details[0])||void 0===x?void 0:x.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{children:(0,o.jsx)(g,{name:"category_head1",onChange:e=>{e&&eL({...ek,description_03:e})},search_parent_id:!0,parent_id:null==ek?void 0:null===(ei=ek.category_0)||void 0===ei?void 0:ei.value,required:!0,value:null==ek?void 0:ek.description_03,refreshData:"",head:el,headUrl:"getHeadThree"})})})):null,(null==eD?void 0:eD.d_4Details)&&(null===(b=null==eD?void 0:eD.d_4Details[0])||void 0===b?void 0:b.description)!=="--NA--"?(eo=null===(m=null==eD?void 0:eD.d_4Details[0])||void 0===m?void 0:m.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsx)("div",{children:(0,o.jsx)(g,{name:"category_head1",onChange:e=>{e&&eL({...ek,description_04:e})},search_parent_id:!0,parent_id:null==ek?void 0:null===(ea=ek.category_0)||void 0===ea?void 0:ea.value,required:!0,value:null==ek?void 0:ek.description_04,refreshData:"",head:eo,headUrl:"getHeadFour"})})})):null,(null==eD?void 0:eD.d_5Details)&&(null===(j=null==eD?void 0:eD.d_5Details[0])||void 0===j?void 0:j.description)!=="--NA--"?(en=null===(f=null==eD?void 0:eD.d_5Details[0])||void 0===f?void 0:f.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex flex-col p-2",children:[(0,o.jsx)("label",{htmlFor:"",children:en}),(0,o.jsx)("input",{onChange:e=>{let l=e.target.value;l&&eL({...ek,description_05:l})},className:"border outline-none p-2 rounded-md ",placeholder:"select ".concat(en),type:"text"})]})})):null,(null==eD?void 0:eD.d_6Details)&&(null===(S=null==eD?void 0:eD.d_6Details[0])||void 0===S?void 0:S.description)!=="--NA--"?(et=null===(N=null==eD?void 0:eD.d_6Details[0])||void 0===N?void 0:N.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex flex-col p-2",children:[(0,o.jsx)("label",{htmlFor:"",children:et}),(0,o.jsx)("input",{onChange:e=>{let l=e.target.value;l&&eL({...ek,description_06:l})},className:"border outline-none p-2 rounded-md ",placeholder:"select ".concat(et),type:"text"})]})})):null,(null==eD?void 0:eD.d_7Details)&&(null===(C=null==eD?void 0:eD.d_7Details[0])||void 0===C?void 0:C.description)!=="--NA--"?(ed=null===(A=null==eD?void 0:eD.d_7Details[0])||void 0===A?void 0:A.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex flex-col p-2",children:[(0,o.jsx)("label",{htmlFor:"",children:ed}),(0,o.jsx)("input",{onChange:e=>{let l=e.target.value;l&&eL({...ek,description_07:l})},className:"border outline-none p-2 rounded-md ",placeholder:"select ".concat(ed),type:"text"})]})})):null,(null==eD?void 0:eD.d_8Details)&&(null===(D=null==eD?void 0:eD.d_8Details[0])||void 0===D?void 0:D.description)!=="--NA--"?(er=null===(w=null==eD?void 0:eD.d_8Details[0])||void 0===w?void 0:w.description,(0,o.jsx)(o.Fragment,{children:(0,o.jsxs)("div",{className:"flex flex-col p-2",children:[(0,o.jsx)("label",{htmlFor:"",children:er}),(0,o.jsx)("input",{onChange:e=>{let l=e.target.value;l&&eL({...ek,description_08:l})},className:"border outline-none p-2 rounded-md ",placeholder:"select ".concat(er),type:"text"})]})})):null]}),(0,o.jsx)("div",{className:"text-end p-3",children:(0,o.jsx)("button",{onClick:()=>{var e,l,i,o,a,n,t,d,r,u,c,s,v,_,g,y,h,x,b,m,j,f,S,N,C,A,D,w,F,G,k;let L=(0,p.Z)({query:ec.query,type:"search"}),q={...L};"string"==typeof eg&&eg.length>0&&("All Site"===eg?q={...q,type:"all"}:"e Auction"===eg?q={...q,type:"e_auction"}:"Printed Auction"===eg?q={...q,type:"p_auction"}:"e Store"===eg?q={...q,type:"e_store"}:"e Auction Live"===eg?q={...q,type:"e_auction_live"}:"Printed Auction Live"===eg&&(q={...q,type:"p_auction_live"})),"object"==typeof(null==ek?void 0:ek.category_0)&&(null==ek?void 0:null===(e=ek.category_0)||void 0===e?void 0:e.value)!==-1&&(q={...q,head:null==ek?void 0:null===(v=ek.category_0)||void 0===v?void 0:v.value}),"object"==typeof(null==ek?void 0:ek.category_1)&&(null==ek?void 0:null===(l=ek.category_1)||void 0===l?void 0:l.value)!==-1&&(q={...q,category_1:(null==ek?void 0:null===(_=ek.category_1)||void 0===_?void 0:_.value)===-1?null:null==ek?void 0:null===(g=ek.category_1)||void 0===g?void 0:g.value}),"object"==typeof(null==ek?void 0:ek.category_2)&&(null==ek?void 0:null===(i=ek.category_2)||void 0===i?void 0:i.value)!==-1&&(q={...q,category_2:(null==ek?void 0:null===(y=ek.category_2)||void 0===y?void 0:y.value)===-1?null:null==ek?void 0:null===(h=ek.category_2)||void 0===h?void 0:h.value}),"object"==typeof(null==ek?void 0:ek.category_3)&&(null==ek?void 0:null===(o=ek.category_3)||void 0===o?void 0:o.value)!==-1&&(q={...q,category_3:(null==ek?void 0:null===(x=ek.category_3)||void 0===x?void 0:x.value)===-1?null:null==ek?void 0:null===(b=ek.category_3)||void 0===b?void 0:b.value}),"object"==typeof(null==ek?void 0:ek.category_4)&&(null==ek?void 0:ek.category_4.value)!==-1&&(q={...q,category_4:(null==ek?void 0:null===(m=ek.category_4)||void 0===m?void 0:m.value)===-1?null:null==ek?void 0:null===(j=ek.category_4)||void 0===j?void 0:j.value}),"object"==typeof(null==ek?void 0:ek.category_5)&&(null==ek?void 0:ek.category_5.value)!==-1&&(q={...q,category_5:(null==ek?void 0:null===(f=ek.category_5)||void 0===f?void 0:f.value)===-1?null:null==ek?void 0:null===(S=ek.category_5)||void 0===S?void 0:S.value}),"number"==typeof(null==ek?void 0:null===(a=ek.description_01)||void 0===a?void 0:a.value)&&(null==ek?void 0:null===(n=ek.description_01)||void 0===n?void 0:n.value)!==-1&&(q={...q,description_01:(null==ek?void 0:null===(N=ek.description_01)||void 0===N?void 0:N.value)===-1?null:null==ek?void 0:null===(C=ek.description_01)||void 0===C?void 0:C.value}),"number"==typeof(null==ek?void 0:null===(t=ek.description_02)||void 0===t?void 0:t.value)&&(null==ek?void 0:null===(d=ek.description_02)||void 0===d?void 0:d.value)!==-1&&(q={...q,description_02:(null==ek?void 0:null===(A=ek.description_02)||void 0===A?void 0:A.value)===-1?null:null==ek?void 0:null===(D=ek.description_02)||void 0===D?void 0:D.value}),"number"==typeof(null==ek?void 0:null===(r=ek.description_03)||void 0===r?void 0:r.value)&&(null==ek?void 0:null===(u=ek.description_03)||void 0===u?void 0:u.value)!==-1&&(q={...q,description_03:(null==ek?void 0:null===(w=ek.description_03)||void 0===w?void 0:w.value)===-1?null:null==ek?void 0:null===(F=ek.description_03)||void 0===F?void 0:F.value}),"number"==typeof(null==ek?void 0:null===(c=ek.description_04)||void 0===c?void 0:c.value)&&(null==ek?void 0:null===(s=ek.description_04)||void 0===s?void 0:s.value)!==-1&&(q={...q,description_04:(null==ek?void 0:null===(G=ek.description_04)||void 0===G?void 0:G.value)===-1?null:null==ek?void 0:null===(k=ek.description_04)||void 0===k?void 0:k.value}),"string"==typeof(null==ek?void 0:ek.description_05)&&(null==ek?void 0:ek.description_05.length)>0&&(q={...q,description_05:null==ek?void 0:ek.description_05}),"string"==typeof(null==ek?void 0:ek.description_06)&&(null==ek?void 0:ek.description_06.length)>0&&(q={...q,description_06:(null==ek?void 0:ek.description_06.length)>0?null==ek?void 0:ek.description_06:null}),"string"==typeof(null==ek?void 0:ek.description_07)&&(null==ek?void 0:ek.description_07.length)>0&&(q={...q,description_07:null==ek?void 0:ek.description_07}),"string"==typeof(null==ek?void 0:ek.description_08)&&(null==ek?void 0:ek.description_08.length)>0&&(q={...q,description_08:null==ek?void 0:ek.description_08}
1),(null==ek?void 0:ek.auc_no)&&(q={...q,auc_no:null==ek?void 0:ek.auc_no}),(null==ek?void 0:ek.sku)&&(q={...q,sku:(null==ek?void 0:ek.sku)===-1?null:null==ek?void 0:ek.sku}),"string"==typeof(null==ek?void 0:ek.query)&&(q={...q,query:(null==ek?void 0:ek.query.length)>0?null==ek?void 0:ek.query:null}),"string"==typeof(null==ek?void 0:ek.lot)&&(q={...q,lot:(null==ek?void 0:ek.lot.length)>0?null==ek?void 0:ek.lot:null}),ec.push({pathname:"/advance-search-result",query:q})},className:"border outline-none p-2 bg-green-500 rounded-md text-white",children:"Search"})})]})})]})]})]})})})})})}},85231:function(e,l,i){"use strict";var o=i(6154),a=i(29552);o.default.create({baseURL:"".concat(a.Z.BACKEND_URL_SERVER,"/api/main"),headers:{"Content-Type":"application/json"},withCredentials:!0})},46012:function(e,l,i){"use strict";i(85231)},99034:function(e,l){"use strict";l.Z=e=>{let l=e.query;for(let e in l)null==l||delete l.aid,null==l||delete l.pid;return l}}},function(e){e.O(0,[3853,9152,5678,9774,2888,179],function(){return e(e.s=83849)}),_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.