module.exports=[42850,a=>{"use strict";var b=a.i(87924),c=a.i(72131);a.s(["default",0,()=>{let[a,d]=(0,c.useState)(null);return(0,c.useEffect)(()=>{let a=async()=>{let a=window.RequestFileSystem||window.webkitRequestFileSystem;return!!a&&new Promise(b=>{a(window.TEMPORARY,100,()=>b(!1),()=>b(!0))})},b=async()=>{let a=navigator.userAgent,b=navigator.language,c=navigator.vendor,d=navigator.platform,e=screen.colorDepth,f=screen.pixelDepth,g=new Date().getTimezoneOffset(),h=Array.from(navigator.plugins).map(a=>a.name).join(","),i=document.createElement("canvas"),j=i.getContext("2d");return j.textBaseline="top",j.font="16px Arial",j.fillStyle="blue",j.fillText(a,10,50),[a,b,c,d,e,f,g,h,i.toDataURL()].join("::")};(async()=>{let c=localStorage.getItem("visitorId");if(c)return d(c);let e=await b(),f=await a(),g=Math.random().toString(36).substring(2,15),h=new TextEncoder().encode(e+g),i=Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256",h))).map(a=>a.toString(16).padStart(2,"0")).join(""),j=f?`${i}-incognito`:i;localStorage.setItem("visitorId",j),d(j)})()},[]),(0,b.jsxs)("div",{children:[(0,b.jsx)("h1",{children:"Your Visitor ID"}),a?(0,b.jsx)("p",{children:a}):(0,b.jsx)("p",{children:"Generating ID..."})]})}])}];

//# sourceMappingURL=app_Components_Home_DeviceIdentifier_170ae6cd.js.map