const a="stockwin_lead_draft",n="stockwin_lead_filters",o="stockwin_followup_draft",l="stockwin_followup_filters";function s(){try{const r=localStorage.getItem(a);if(!r)return null;const t=JSON.parse(r);return t&&typeof t=="object"?t:null}catch{return null}}function u(){try{localStorage.removeItem(a)}catch{}}const e={page:0,size:10,searchValue:"",leadStatus:"",leadPriority:"",salesPersonId:""};function i(){try{const r=localStorage.getItem(n);if(!r)return e;const t=JSON.parse(r);return t&&typeof t=="object"?{...e,...t}:e}catch{return e}}function f(r){}function _(){try{const r=localStorage.getItem(o);if(!r)return null;const t=JSON.parse(r);return t&&typeof t=="object"?t:null}catch{return null}}function d(){try{localStorage.removeItem(o)}catch{}}const c="stockwin_lead_view_tab";function S(){try{const r=localStorage.getItem(c),t=parseInt(r??"0",10);return isNaN(t)?0:t}catch{return 0}}export{l as F,s as a,S as b,u as c,_ as d,d as e,i as l,f as s};
