1import{d as t}from"./DNfD8vnC.js";const s="submitted_leads",e=t("leads",{state:()=>function(){if("undefined"==typeof window)return{submittedEmails:[],submittedPhones:[]};try{const t=localStorage.getItem(s);if(t){const s=JSON.parse(t);return{submittedEmails:Array.isArray(s.submittedEmails)?s.submittedEmails:[],submittedPhones:Array.isArray(s.submittedPhones)?s.submittedPhones:[]}}}catch{}return{submittedEmails:[],submittedPhones:[]}}(),getters:{hasAnySubmission:t=>t.submittedEmails.length>0||t.submittedPhones.length>0},actions:{addLead(t,e){if(t&&!this.submittedEmails.includes(t.toLowerCase())&&this.submittedEmails.push(t.toLowerCase()),e){const t=e.replace(/[^\d+]/g,"");t&&!this.submittedPhones.includes(t)&&this.submittedPhones.push(t)}!function(t){if("undefined"!=typeof window)try{localStorage.setItem(s,JSON.stringify(t))}catch{}}({submittedEmails:this.submittedEmails,submittedPhones:this.submittedPhones})},isDuplicate(t,s){if(t&&this.submittedEmails.includes(t.toLowerCase()))return!0;if(s){const t=s.replace(/[^\d+]/g,"");if(t&&this.submittedPhones.includes(t))return!0}return!1}}});export{e as useLeadsStore};
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.