PageSourceSearch

https://wrangle.ai/_next/static/chunks/775.8880f9ebcbeba072.js

js wrangle.ai collected 2026-10-05 13:19:50 UTC 10,281 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[775],{50775:(e,t,a)=>{a.r(t),a.d(t,{default:()=>u});var r=a(46972),l=a(34992),s=a(49979),i=a(35212),n=a(12295),o=a(29049),d=a(89291);let c=e=>{let{title:t,children:a}=e;return(0,r.jsxs)("div",{className:"mb-12",children:[(0,r.jsx)("div",{className:"text-action font-medium text-text-primary",children:t}),(0,r.jsx)("div",{className:"my-2 border-border-default border-b"}),(0,r.jsx)("div",{className:"mt-4",children:a})]})},x=e=>{let{isEnabled:t,onToggle:a,label:l}=e;return(0,r.jsxs)("div",{className:"flex items-center justify-between",children:[(0,r.jsx)("span",{className:"text-sm text-text-secondary",children:l}),(0,r.jsx)("button",{onClick:a,className:"relative inline-flex h-6 w-11 items-center rounded-full transition-colors focus:outline-none ".concat(t?"bg-primary-green":"bg-neutral-300"),children:(0,r.jsx)("span",{className:"inline-block h-4 w-4 transform rounded-full bg-white transition-transform ".concat(t?"translate-x-6":"translate-x-1")})})]})},u=()=>{var e,t,a,u;let{user:m}=(0,s.Jd)(),{userProfileData:C,updateUserData:p,token:h}=(0,i.P)(),{currentMembership:f}=(0,n.VR)(),{addTemporaryNotification:b}=(0,o.E)(),y=(0,d.Zp)(),[g,v]=(0,l.useState)(null==(a=null==C||null==(e=C.talentSettings)?void 0:e.dataAnalytics)||a),[w,j]=(0,l.useState)(null==(u=null==C||null==(t=C.talentSettings)?void 0:t.profileTracking)||u),N=async(e,t)=>{try{let a={...null==C?void 0:C.talentSettings,[e]:t};await p({talentSettings:a}),b({title:"Success",description:"Data settings updated successfully",type:"success"})}catch(e){console.error("Failed to update data settings:",e),b({title:"Error",description:"Failed to update data settings",type:"error"})}},k=async()=>
1{try{b({title:"Export Started",description:"Your data export has been initiated. You'll receive an email when it's ready.",type:"info"})}catch(e){console.error("Failed to export data:",e),b({title:"Error",description:"Failed to export data",type:"error"})}},V=async()=>{if(window.confirm("Are you sure you want to delete all your talent profile data? This action cannot be undone."))try{b({title:"Data Deletion Initiated",description:"Your data deletion request has been processed.",type:"warning"})}catch(e){console.error("Failed to delete data:",e),b({title:"Error",description:"Failed to delete data",type:"error"})}},D=async()=>{try{await p({type:"recruiter"}),b({title:"Success",description:"Switched back to recruiter mode",type:"success"}),y("/dashboard")}catch(e){console.error("Failed to switch back to recruiter:",e),b({title:"Error",description:"Failed to switch back to recruiter mode",type:"error"})}};return(0,l.useEffect)(()=>{if(null==C?void 0:C.talentSettings){var e,t;v(null==(e=C.talentSettings.dataAnalytics)||e),j(null==(t=C.talentSettings.profileTracking)||t)}},[C]),(0,r.jsx)("div",{className:"min-h-screen bg-white",children:(0,r.jsxs)("div",{className:"max-w-3xl mx-auto pt-16 px-4",children:[(0,r.jsx)("div",{className:"text-billboard font-medium text-text-primary",children:"Talent Data Management"}),(0,r.jsx)("div",{className:"text-action font-regular text-text-secondary mb-10",children:"Manage your data privacy, analytics, and data handling preferences"}),(0,r.jsx)(c,{title:"Data & Analytics",children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsx)(x,{isEnabled:g,onToggle:()=>{let e=!g;v(e),N("dataAnalytics",e)},label:"Data analytics - Allow usage analytics to improve your experience"}),(0,r.jsx)("p",{className:"text-xs text-text-secondary mt-1",children:"Help us improve the platform by sharing anonymous usage data and analytics."}),(0,r.jsx)(x,{isEnabled:w,onToggle:()=>{let e=!w;j(e),N("profileTracking",e)},label:"Profile tracking - Track profile views and interactions"}),(0,r.jsx)("p",{className:"text-xs text-text-secondary mt-1",children:"Allow tracking of who views your profile and how recruiters interact with your information."})]})}),(0,r.jsx)(c,{title:"Data Export & Deletion",children:(0,r.jsxs)("div",{className:"space-y-4",children:[(0,r.jsxs)("div",{className:"flex items-start gap-2 border border-border-default rounded-md bg-bg-default p-2 text-text-secondary text-xs",children:[(0,r.jsx)("svg",{className:"w-4 h-4 mt-0.5",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2.25C12.4142 2.25 12.75 2.58579 12.75 3V13.1893L17.4697 8.46967C17.7626 8.17678 18.2374 8.17678 18.5303 8.46967C18.8232 8.76256 18.8232 9.23744 18.5303 9.53033L12.5303 15.5303C12.2374 15.8232 11.7626 15.8232 11.4697 15.5303L5.46967 9.53033C5.17678 9.23744 5.17678 8.76256 5.46967 8.46967C5.76256 8.17678 6.23744 8.17678 6.53033 8.46967L11.25 13.1893V3C11.25 2.58579 11.5858 2.25 12 2.25ZM3 15.75C3.41421 15.75 3.75 16.0858 3.75 16.5V19.5C3.75 19.9142 4.08579 20.25 4.5 20.25H19.5C19.9142 20.25 20.25 19.9142 20.25 19.5V16.5C20.25 16.0858 20.5858 15.75 21 15.75C21.4142 15.75 21.75 16.0858 21.75 16.5V19.5C21.75 20.7426 20.7426 21.75 19.5 21.75H4.5C3.25736 21.75 2.25 20.7426 2.25 19.5V16.5C2.25 16.0858 2.58579 15.75 3 15.75Z",fill:"currentColor"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:"font-medium mb-1",children:"Export Your Data"}),(0,r.jsx)("div",{className:"mb-2",children:"Download a copy of all your talent profile data, including applications, preferences, and activity."}),(0,r.jsx)("button",{onClick:k,className:"px-3 py-1.5 bg-blue-500 text-white rounded text-xs hover:bg-blue-600 transition-colors",children:"Export Data"})]})]}),(0,r.jsxs)("div",{className:"flex items-start gap-2 border border-red-200 rounded-md bg-red-50 p-2 text-red-700 text-xs",children:[(0,r.jsx)("svg",{className:"w-4 h-4 mt-0.5",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.31 2.25H13.69C14.4595 2.24998 15.1484 2.24996 15.7017 2.32991C16.2919 2.41432 16.8077 2.60023 17.2374 3.02985C17.6671 3.45947 17.8531 3.97531 17.9375 4.56546C18.4124 4.85995 18.7795 5.32997 18.9605 5.89291C19.1432 6.46263 19.1432 7.1578 19.1432 8.00001C19.1432 8.41421 18.8074 8.75001 18.3932 8.75001C17.979 8.75001 17.6432 8.41421 17.6432 8.00001C17.6432 7.13987 17.6425 6.60435 17.5111 6.2174C17.3867 5.8516 17.1522 5.61713 16.7864 5.49276C16.3994 5.36136 15.8639 5.36067 15.0038 5.36067H8.99618C8.13607 5.36067 7.60055 5.36136 7.21361 5.49276C6.84781 5.61713 6.61334 5.8516 6.48897 6.2174C6.35757 6.60435 6.35688 7.13987 6.35688 8.00001C6.35688 8.41421 6.02
1108 8.75001 5.60688 8.75001C5.19267 8.75001 4.85688 8.41421 4.85688 8.00001C4.85688 7.1578 4.85688 6.46263 5.03949 5.89291C5.22053 5.32997 5.58757 4.85995 6.06251 4.56546C6.14687 3.97531 6.33287 3.45947 6.76249 3.02985C7.19212 2.60023 7.70795 2.41432 8.29811 2.32991C8.85138 2.24996 9.54025 2.24998 10.31 2.25ZM10.4467 3.75H13.5533C14.1842 3.75 14.7536 3.75031 15.1972 3.81431C15.6293 3.87634 15.8682 3.9883 16.0156 4.13578C16.1631 4.28325 16.2751 4.52208 16.3371 4.95421C16.4011 5.39781 16.4014 5.96717 16.4014 6.59808V6.59944H7.59863V6.59808C7.59863 5.96717 7.59893 5.39781 7.66293 4.95421C7.72496 4.52208 7.83692 4.28325 7.98439 4.13578C8.13187 3.9883 8.3707 3.87634 8.80283 3.81431C9.24643 3.75031 9.81579 3.75 10.4467 3.75ZM7.5 8.75001C7.91421 8.75001 8.25 9.08579 8.25 9.5V18.2C8.25 18.2464 8.25013 18.2922 8.25041 18.3375C8.25274 19.0064 8.26384 19.4648 8.34049 19.8209C8.41414 20.1612 8.53011 20.3289 8.67678 20.4756C8.82345 20.6222 8.99113 20.7382 9.33144 20.8118C9.68757 20.8885 10.146 20.8996 10.8149 20.9019C10.8602 20.902 10.906 20.902 10.9523 20.902H13.0477C13.094 20.902 13.1398 20.902 13.1851 20.9019C13.854 20.8996 14.3124 20.8885 14.6686 20.8118C15.0089 20.7382 15.1766 20.6222 15.3232 20.4756C15.4699 20.3289 15.5859 20.1612 15.6595 19.8209C15.7362 19.4648 15.7473 19.0064 15.7496 18.3375C15.7499 18.2922 15.75 18.2464 15.75 18.2V9.5C15.75 9.08579 16.0858 8.75001 16.5 8.75001C16.9142 8.75001 17.25 9.08579 17.25 9.5V18.2389C17.25 18.9681 17.25 19.5656 17.159 20.0465C17.065 20.5486 16.8669 20.9808 16.4393 21.4084C16.0117 21.836 15.5795 22.0341 15.0774 22.1281C14.5965 22.2191 13.999 22.2191 13.2698 22.2191H10.7302C10.001 22.2191 9.40351 22.2191 8.92263 22.1281C8.42055 22.0341 7.98833 21.836 7.56073 21.4084C7.13314 20.9808 6.935 20.5486 6.84104 20.0465C6.75001 19.5656 6.75 18.9681 6.75 18.2389V9.5C6.75 9.08579 7.08579 8.75001 7.5 8.75001ZM10.5 12C10.9142 12 11.25 12.3358 11.25 12.75V16.25C11.25 16.6642 10.9142 17 10.5 17C10.0858 17 9.75 16.6642 9.75 16.25V12.75C9.75 12.3358 10.0858 12 10.5 12ZM13.5 12C13.9142 12 14.25 12.3358 14.25 12.75V16.25C14.25 16.6642 13.9142 17 13.5 17C13.0858 17 12.75 16.6642 12.75 16.25V12.75C12.75 12.3358 13.0858 12 13.5 12Z",fill:"currentColor"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:"font-medium mb-1",children:"Delete Your Data"}),(0,r.jsx)("div",{className:"mb-2",children:"Permanently delete all your talent profile data. This action cannot be undone."}),(0,r.jsx)("button",{onClick:V,className:"px-3 py-1.5 bg-red-500 text-white rounded text-xs hover:bg-red-600 transition-colors",children:"Delete Data"})]})]})]})}),(0,r.jsx)(c,{title:"Account Mode",children:(0,r.jsx)("div",{className:"space-y-4",children:(0,r.jsxs)("div",{className:"flex items-start gap-2 border border-border-default rounded-md bg-bg-default p-2 text-text-secondary text-xs",children:[(0,r.jsx)("svg",{className:"w-4 h-4 mt-0.5",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7 6C4.79086 6 3 7.79086 3 10C3 12.2091 4.79086 14 7 14H17C19.2091 14 21 12.2091 21 10C21 7.79086 19.2091 6 17 6H7ZM17 12C18.1046 12 19 11.1046 19 10C19 8.89543 18.1046 8 17 8C15.8954 8 15 8.89543 15 10C15 11.1046 15.8954 12 17 12Z",fill:"currentColor"})}),(0,r.jsxs)("div",{className:"flex-1",children:[(0,r.jsx)("div",{className:"font-medium mb-1",children:"Switch Back to Recruiter Mode"}),(0,r.jsx)("div",{className:"mb-2",children:"Return to the recruiter interface with full sourcing and workflow capabilities."}),(0,r.jsx)("button",{onClick:D,className:"px-3 py-1.5 bg-primary-green text-white rounded text-xs hover:bg-primary-green-dark transition-colors",children:"Switch to Recruiter"})]})]})})})]})})}}}]);

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.