const a="stockwin_artdesign_",e=t=>localStorage.setItem(a+"pagination",JSON.stringify(t)),r=()=>{try{return JSON.parse(localStorage.getItem(a+"pagination")||"null")}catch{return null}},o=t=>localStorage.setItem(a+"search",t),s=()=>localStorage.getItem(a+"search")||"",n=t=>localStorage.setItem(a+"draft",JSON.stringify(t)),c=()=>{try{return JSON.parse(localStorage.getItem(a+"draft")||"null")}catch{return null}},l=()=>localStorage.removeItem(a+"draft"),g=t=>t==null||t<0?"":`LEAD-${String(t).padStart(4,"0")}`;export{s as a,o as b,c,n as d,l as e,g as f,r as l,e as s};
