PageSourceSearch

https://joblet.ai/_next/static/chunks/6269-16081237739e40b8.js

js joblet.ai collected 2026-10-05 12:09:17 UTC 24,211 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6269,5526],{47196:function(e,t,i){i.d(t,{C:function(){return n}});let n={"Technology & IT":["Software Developer","Full Stack Developer","Backend Developer","Frontend Developer","DevOps Engineer","Cloud Engineer","Cybersecurity Analyst","Systems Administrator","Network Engineer","IT Support Specialist","Machine Learning Engineer","Data Scientist","AI Research Scientist","NLP Engineer","MLOps Engineer","Telecom Engineer"],"Finance & Banking":["Financial Analyst","Accountant","Auditor","Tax Consultant","Risk Analyst","Credit Analyst","Financial Controller","Treasury Analyst","Compliance Analyst","Investment Analyst","FinTech Product Manager","Banking Operations Manager"],"Healthcare & Caregiving":["Physician","Therapist","Nurse","Pharmacist","Medical Laboratory Technician","Healthcare Administrator","Clinical Research Associate","Medical Coder","Healthcare Data Analyst","Radiology Technician","Health Informatics Specialist","Biotech Research Scientist"],"Retail & E-commerce":["Retail Store Manager","E-commerce Manager","Visual Merchandiser","Category Manager","Supply Planning Specialist","Customer Experience Manager","Retail Buyer","FMCG Sales Representative","Food & Beverage Specialist"],"Manufacturing & Industrial":["Production Engineer","Quality Control Engineer","Industrial Engineer","Manufacturing Supervisor","Process Engineer","Plant Operations Manager","Maintenance Engineer","CNC Machine Operator","Automotive Engineer","Electronics Manufacturing Engineer"],"Logistics & Transportation":["Supply Chain Analyst","Logistics Coordinator","Procurement Specialist","Inventory Manager","Warehouse Operations Manager","Fleet Manager","Transport Coordinator","Aviation Operations Specialist","Distribution Manager","Freight Operations Manager"],"Construction & Real Estate":["Civil Engineer","Structural Engineer","Construction Manager","Site Supervisor","Real Estate Agent","Property Manager","Leasing Consultant","Urban Planner","Facilities Manager","Real Estate Analyst"],"Energy & Utilities":["Energy Analyst","Power Systems Engineer","Renewable Energy Specialist","Environmental Engineer","Oil & Gas Engineer","Utility Operations Manager","Sustainability Consultant","Safety & Compliance Officer"],"Marketing & Media":["Marketing Manager","Digital Marketing Specialist","Content Writer","Social Media Manager","Public Relations Specialist","Media Planner","Brand Strategist","Market Research Analyst","Communications Manager","SEO Specialist"],"Creative & Design":["Graphic Designer","UI/UX Designer","Animation Artist","Video Producer","Film Editor","Product Designer","Art Director","Illustrator","Music Producer"],"Legal & Government":["Lawyer","Legal Counsel","Paralegal","Judge","Government Administrator","Policy Analyst","Compliance Officer","Public Affairs Specialist","Legislative Analyst","Law Enforcement Officer"],"Education & Research":["Teacher","Professor","Instructional Designer","Curriculum Developer","Academic Coordinator","Education Counselor","EdTech Product Manager","Research Scientist","Training & Development Specialist"],"Agriculture & Primary":["Farm Manager","Agricultural Scientist","Dairy Technologist","Fisheries Manager","Horticulturist","Food Safety Inspector","Agricultural Engineer"],"Business Services & Consulting":["Management Consultant","Strategy Consultant","Business Analyst","Operations Consultant","IT Consultant","HR Consultant","Financial Advisory Consultant","Process Improvement Consultant","Outsourcing Manager","Staffing Specialist"],"Hospitality & Travel":["Hotel Manager","Front Office Executive","Food & Beverage Manager","Restaurant Manager","Event Coordinator","Travel Consultant","Tourism Operations Manager","Guest Relations Executive","Revenue Management Analyst"]}},46269:function(e,t,i){i.d(t,{FJ:function(){return I},Bz:function(){return w},cD:function(){return b},kx:function(){return m},lC:function(){return _},x4:function(){return g},Ti:function(){return y},$$:function(){return v},gu:function(){return f},CG:function(){return d},oT:function(){return c}});var n=i(1504),r=i(5526);let a=Object.freeze(Object.keys(i(47196).C||{})),l=Object.freeze({"driver / transportation / maritime":"Logistics & Transportation","driver/transportation/maritime":"Logistics & Transportation","driver transportation maritime":"Logistics & Transportation",transport:"Logistics & Transportation",transportation:"Logistics & Transportation","transport and logistics":"Logistics & Transportation","transportation and logistics":"Logistics & Transportation","transport & logistics":"Logistics & Transportation","healthcare & caregiving":"Healthcare & Caregiving","customer service and sales":"Marketing & Media","customer service / sales":"Marketing & Media","customer service sales":"Marketing & Media","sales and marketing":"Marketing & Media","manufacturing and production":"Manufacturing & Industrial","manufacturing & production":"Manufacturing & Industrial","media and entertainment":"Marketing & Media","media & entertainment":"Marketing & Media","finance and accounting":"Finance & Banking","finance & accounting":"Finance & Banking"}),o=e=>"advertiser_account:".concat(e.trim().toLowerCase()),s=(e,t)=>{if(!e)return;let i=o(e);t?window.localStorage.setItem(i,"true"):window.localStorage.removeItem(i)},u=e=>{if(!e)return!1;
1let t=o(e);return"true"===window.localStorage.getItem(t)};async function c(e){let t=e.email.trim().toLowerCase(),{data:i,error:r}=await n.r.from("advertiser_users").select("user_id").eq("email",t).maybeSingle();if(r&&"PGRST116"!==r.code){if("PGRST205"===r.code)return s(t,!0),t;throw r}if(null==i?void 0:i.user_id){let{error:r}=await n.r.from("advertiser_users").update({name:e.name,company_name:e.companyName,designation:e.designation,phone:e.phone,account_status:"active"}).eq("user_id",i.user_id);if(r){if("PGRST205"===r.code)return s(t,!0),i.user_id;throw r}return s(t,!0),i.user_id}let{data:a,error:l}=await n.r.from("advertiser_users").insert([{name:e.name,company_name:e.companyName,designation:e.designation,email:t,phone:e.phone,account_status:"active",created_at:new Date().toISOString()}]).select("user_id").single();if(l){if("PGRST205"===l.code)return s(t,!0),t;throw l}return s(t,!0),a.user_id}async function d(e){let t=e.trim().toLowerCase(),{data:i,error:r}=await n.r.from("advertiser_users").select("user_id").eq("email",t).maybeSingle();if(r&&"PGRST116"!==r.code){if("PGRST205"===r.code)return u(t);throw r}return(null==i?void 0:i.user_id)?(s(t,!0),!0):u(t)}let p=async e=>{let t=null==e?void 0:e.trim().toLowerCase();if(!t)return null;let{data:i,error:r}=await n.r.from("advertiser_users").select("user_id").eq("email",t).maybeSingle();return!r&&(null==i?void 0:i.user_id)?i.user_id:null};async function m(e){var t;let i=await p(e);if(!i)return[];let{data:r,error:a}=await n.r.from("advertiser_jobs").select("*").eq("user_id",i);if(a)throw a;if(!r||0===r.length)return[];let l=new Map(r.map(e=>{var t,i,n,r,a,l,o,s,u,c,d,p,m,_;return{jobId:null!==(i=null!==(t=e.job_id)&&void 0!==t?t:e.id)&&void 0!==i?i:null,jobTitle:null!==(s=null!==(o=null!==(l=null!==(a=null!==(r=null!==(n=e.job_title)&&void 0!==n?n:e.title)&&void 0!==r?r:e.job_name)&&void 0!==a?a:e.position)&&void 0!==l?l:e.role)&&void 0!==o?o:e.job_role)&&void 0!==s?s:null,companyName:null!==(d=null!==(c=null!==(u=e.company_name)&&void 0!==u?u:e.company)&&void 0!==c?c:e.employer_name)&&void 0!==d?d:null,jobLocation:null!==(_=null!==(m=null!==(p=e.location)&&void 0!==p?p:e.city)&&void 0!==m?m:e.location_name)&&void 0!==_?_:null}}).filter(e=>!!e.jobId).map(e=>[e.jobId,{jobTitle:e.jobTitle,companyName:e.companyName,jobLocation:e.jobLocation}])),o=Array.from(l.keys()),{data:s,error:u}=await n.r.from("advertiser_applications").select("\n      application_id,\n      job_id,\n      name,\n      email,\n      current_city,\n      phone_number,\n      address,\n      education,\n      work_experience,\n      city_preferences,\n      resume_url,\n      resume_file_name,\n      resume_file_size_bytes,\n      created_at\n    ").in("job_id",o).order("created_at",{ascending:!1});if(u)throw u;return null!==(t=null==s?void 0:s.map(e=>{var t,i,n,r,a,o,s,u,c,d;let p=null!==(t=l.get(e.job_id))&&void 0!==t?t:{jobTitle:null,companyName:null,jobLocation:null};return{applicationId:e.application_id,jobId:e.job_id,name:e.name,email:e.email,currentCity:null!==(i=e.current_city)&&void 0!==i?i:null,phoneNumber:null!==(n=e.phone_number)&&void 0!==n?n:null,address:null!==(r=e.address)&&void 0!==r?r:null,education:null!==(a=e.education)&&void 0!==a?a:null,workExperience:null!==(o=e.work_experience)&&void 0!==o?o:null,cityPreferences:null!==(s=e.city_preferences)&&void 0!==s?s:null,resumeUrl:null!==(u=e.resume_url)&&void 0!==u?u:null,resumeFileName:null!==(c=e.resume_file_name)&&void 0!==c?c:null,resumeFileSizeBytes:null!==(d=e.resume_file_size_bytes)&&void 0!==d?d:null,createdAt:e.created_at,jobTitle:p.jobTitle,companyName:p.companyName,jobLocation:p.jobLocation}}))&&void 0!==t?t:[]}async function _(e){var t;let i=await p(e);if(!i)return{totalJobs:0,activeJobs:0,totalApplications:0,totalViews:0,totalClicks:0,ctr:0,applicationBreakdown:{applied:0,pending:0}};let{data:r,error:a}=await n.r.from("advertiser_jobs").select("*").eq("user_id",i);if(a)throw a;let l=(null!=r?r:[]).map(e=>{var t,i;return null!==(i=null!==(t=e.job_id)&&void 0!==t?t:e.id)&&void 0!==i?i:null}).filter(e=>!!e),o=null!==(t=null==r?void 0:r.length)&&void 0!==t?t:0,s=(null!=r?r:[]).filter(e=>{var t,i,n;return!!(null!==(n=null!==(i=null!==(t=e.campaign_live)&&void 0!==t?t:e.is_active)&&void 0!==i?i:e.active)&&void 0!==n&&n)}).length,u=0,c=0;if(l.length>0){let{data:e,error:t}=await n.r.from("advertiser_job_performance").select("job_id, views, clicks").in("job_id",l);if(t)throw t;
1(null!=e?e:[]).forEach(e=>{var t,i;u+=null!==(t=e.views)&&void 0!==t?t:0,c+=null!==(i=e.clicks)&&void 0!==i?i:0})}let d=0;if(l.length>0){let{count:e,error:t}=await n.r.from("advertiser_applications").select("application_id",{count:"exact",head:!0}).in("job_id",l);if(t)throw t;d=null!=e?e:0}let m=d,_=u>0?c/u*100:0;return{totalJobs:o,activeJobs:s,totalApplications:m,totalViews:u,totalClicks:c,ctr:_,applicationBreakdown:{applied:m,pending:0}}}async function g(e){let t=await p(e);if(!t)return[];let{data:i,error:r}=await n.r.from("advertiser_jobs").select("*").eq("user_id",t).order("posted_at",{ascending:!1});if(r)throw r;if(!i||0===i.length)return[];let a=i.map(e=>{var t,i;return null!==(i=null!==(t=e.job_id)&&void 0!==t?t:e.id)&&void 0!==i?i:null}).filter(e=>!!e),{data:l,error:o}=await n.r.from("advertiser_job_performance").select("job_id, views, clicks, applications").in("job_id",a);if(o)throw o;let s=new Map((null!=l?l:[]).map(e=>{var t,i,n;return[e.job_id,{views:null!==(t=e.views)&&void 0!==t?t:0,clicks:null!==(i=e.clicks)&&void 0!==i?i:0,applications:null!==(n=e.applications)&&void 0!==n?n:0}]}));return i.map(e=>{var t,i,n,r,a,l,o,u,c,d;let p=null!==(t=e.job_id)&&void 0!==t?t:e.id,m=null!==(i=s.get(e.job_id))&&void 0!==i?i:{views:0,
1clicks:0,applications:0},_=m.views>0?m.clicks/m.views*100:0,g=m.clicks>0?m.applications/m.clicks*100:0;return{jobId:p,title:null!==(u=null!==(o=null!==(l=null!==(a=null!==(r=null!==(n=e.job_title)&&void 0!==n?n:e.title)&&void 0!==r?r:e.job_name)&&void 0!==a?a:e.position)&&void 0!==l?l:e.role)&&void 0!==o?o:e.job_role)&&void 0!==u?u:"Untitled job",views:m.views,clicks:m.clicks,applications:m.applications,ctr:_,conversionRate:g,status:(null!==(d=null!==(c=e.campaign_live)&&void 0!==c?c:e.is_active)&&void 0!==d?d:e.active)?"active":"paused",trend:"neutral"}})}async function v(e){var t;let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=await p(e);if(!r)return[];let{data:a,error:l}=await n.r.from("advertiser_jobs").select("*").eq("user_id",r);if(l)throw l;if(!a||0===a.length)return[];let o=new Map(a.map(e=>{var t,i,n,r,a,l,o,s;return{jobId:null!==(i=null!==(t=e.job_id)&&void 0!==t?t:e.id)&&void 0!==i?i:null,jobTitle:null!==(s=null!==(o=null!==(l=null!==(a=null!==(r=null!==(n=e.job_title)&&void 0!==n?n:e.title)&&void 0!==r?r:e.job_name)&&void 0!==a?a:e.position)&&void 0!==l?l:e.role)&&void 0!==o?o:e.job_role)&&void 0!==s?s:null}}).filter(e=>!!e.jobId).map(e=>[e.jobId,e.jobTitle])),s=Array.from(o.keys()),{data:u,error:c}=await n.r.from("advertiser_applications").select("application_id, name, created_at, job_id").in("job_id",s).order("created_at",{ascending:!1}).limit(i);if(c)throw c;return null!==(t=null==u?void 0:u.map(e=>{var t;return{applicationId:e.application_id,name:e.name,createdAt:e.created_at,jobTitle:null!==(t=o.get(e.job_id))&&void 0!==t?t:null}}))&&void 0!==t?t:[]}async function f(e){let t=null==e?void 0:e.trim();if(!t)return null;let{data:i,error:r}=await n.r.from("advertiser_plans").select("plan_id").ilike("plan_name",t).limit(1).maybeSingle();return!r&&(null==i?void 0:i.plan_id)?i.plan_id:null}async function b(e,t,i,r){var a;let l=null!=r?r:await f(t);if(!l)return{subscriptionId:null,planId:null,planCode:null};let o=new Date,s=new Date(o);s.setDate(s.getDate()+Math.max(1,i));let{data:u}=await n.r.from("advertiser_subscriptions").select("subscription_id").eq("user_id",e).eq("status","active").order("purchased_at",{ascending:!1}).limit(1).maybeSingle(),c={user_id:e,plan_id:l,purchased_at:o.toISOString(),start_date:o.toISOString(),end_date:s.toISOString(),status:"active"},d=async e=>n.r.from("advertiser_subscriptions").update(e).eq("subscription_id",u.subscription_id),p=async e=>n.r.from("advertiser_subscriptions").insert([e]).select("subscription_id").single();if(null==u?void 0:u.subscription_id){let{error:e}=await d(c);if(e)throw e;return{subscriptionId:u.subscription_id,planId:l,planCode:null}}let{data:m,error:_}=await p(c);if(_)throw _;return{subscriptionId:null!==(a=null==m?void 0:m.subscription_id)&&void 0!==a?a:null,planId:l,planCode:null}}async function y(e){var t,i,r,a,l,o;let s=null==e?void 0:null===(t=e.trim())||void 0===t?void 0:t.toLowerCase();if(!s)return{allowed:!1,planId:null,planCode:null};try{let{data:e,error:t}=await n.r.from("advertiser_users").select("user_id").eq("email",s).maybeSingle();if(t||!(null==e?void 0:e.user_id))return{allowed:!1,planId:null,planCode:null};let u=new Date().toISOString(),{data:c,error:d}=await n.r.from("advertiser_subscriptions").select("plan_id, status").eq("user_id",e.user_id).ilike("status","active").or("end_date.is.null,end_date.gte.".concat(u)).order("end_date",{ascending:!1}).limit(1).maybeSingle();if(d||!(null==c?void 0:c.plan_id))return{allowed:!1,planId:null,planCode:null,subscriptionStatus:null};let{data:p,error:m}=await n.r.from("advertiser_plans").select("plan_id, plan_name, plan_code, google_ads_enabled").eq("plan_id",c.plan_id).maybeSingle();if(m||!p)return{allowed:!1,planId:c.plan_id,planCode:null,subscriptionStatus:null!==(i=c.status)&&void 0!==i?i:null};let _=null!==(r=p.plan_code)&&void 0!==r?r:null,g="b_1"===_?"starter":"p_1"===_?"growth":"a_1"===_?"premium":void 0,v=(null!==(a=p.plan_name)&&void 0!==a?a:"").toLowerCase(),f=v.includes("starter")?"starter":v.includes("growth")?"growth":v.includes("premium")?"premium":void 0;return{allowed:!0===p.google_ads_enabled,planId:p.plan_id,planName:null!==(l=p.plan_name)&&void 0!==l?l:void 0,planCode:_,planKey:null!=g?g:f,subscriptionStatus:null!==(o=c.status)&&void 0!==o?o:null}}catch(e){return{allowed:!1,planId:null,planCode:null}}}let S=e=>{let t=e=>String(null!=e?e:"").replace(/\n/g,"<br />"),i=e=>String(null!=e?e:"").split("\n").map(e=>
1e.trim()).filter(Boolean).map(e=>"<li>".concat(e,"</li>")).join("");return["<strong>Description</strong><br><p><u><b>Summary:</b></u></p><p>".concat(t(e.description),"</p>"),"<p><u><b>Preferred Experience:</b></u></p><p>".concat(t(e.preferredExperience),"</p>"),"<p><u><b>Responsibilities:</b></u></p><ul>".concat(i(e.responsibilities),"</ul>"),"<p><u><b>Requirements:</b></u></p><ul>".concat(i(e.requirements),"</ul>")].join("")},h=()=>null!==r.UX&&void 0!==r.UX?r.UX:r.supabase;async function w(e){var t,i;let o=null===(t=e.email)||void 0===t?void 0:t.trim().toLowerCase();if(!o)throw Error("Missing advertiser email.");let{data:s,error:u}=await n.r.from("advertiser_users").select("user_id").eq("email",o).maybeSingle();if(u||!(null==s?void 0:s.user_id))throw Error("Advertiser account not found. Please complete user details.");let c=new Date().toISOString(),{data:d,error:p}=await n.r.from("advertiser_subscriptions").select("subscription_id").eq("user_id",s.user_id).ilike("status","active").or("end_date.is.null,end_date.gte.".concat(c)).order("end_date",{ascending:!1}).limit(1).maybeSingle();if(p)throw p;let m="undefined"!=typeof crypto&&"randomUUID"in crypto?crypto.randomUUID():"".concat(Date.now(),"-").concat(Math.random().toString(16).slice(2)),_="/jobs/talentconnect/apply/".concat(m),g=S(e),v=h();if(!r.UX)throw Error("Jobs database not configured. Set VITE_JOBS_SUPABASE_URL and VITE_JOBS_SUPABASE_ANON_KEY to the jobs project.");let{error:f}=await v.from("jobs_joveo_v2").insert([{id:m,title:e.title,company:e.companyName,location:e.location,description:g,url:_,image:null,industry:function(e){if(!e)return"Business Services & Consulting";let t=function(e){let t=String(e||"").trim();if(!t)return null;let i=t.toLowerCase();return a.find(e=>e.toLowerCase()===i)||null}(e);if(t)return t;let i=String(null!=e?e:"").trim().toLowerCase().replace(/&/g," and ").replace(/[()]/g," ").replace(/[^\w\s/,-]/g," ").replace(/\s+/g," ").trim();if(!i)return"Business Services & Consulting";let n=Object.prototype.hasOwnProperty.call(l,i)?l[i]:void 0;if("string"==typeof n&&n)return n;let r=e=>i.includes(e);return r("health")||r("medical")||r("nursing")||r("clinical")||r("therapy")?"Healthcare & Caregiving":r("finance")||r("accounting")||r("bank")||r("audit")||r("tax")?"Finance & Banking":r("consulting")||r("consultant")||r("advisory")?"Business Services & Consulting":r("sales")||r("marketing")?"Marketing & Media":r("construction")||r("infrastructure")||r("civil")||r("facilities")?"Construction & Real Estate":r("manufacturing")||r("production")||r("industrial")||r("plant")?"Manufacturing & Industrial":r("it")||r("information technology")||r("software")||r("devops")?"Technology & IT":r("law")||r("legal")||r("government")?"Legal & Government":r("education")||r("teacher")||r("academic")?"Education & Research":r("energy")||r("oil")||r("renewable")||r("utility")?"Energy & Utilities":r("retail")||r("ecommerce")||r("consumer")?"Retail & E-commerce":r("design")||r("creative")||r("art")?"Creative & Design":r("farm")||r("agri")||r("dairy")?"Agriculture & Primary":r("hotel")||r("hospitality")||r("restaurant")||r("travel")?"Hospital
1ity & Travel":r("logistics")||r("transport")||r("driver")||r("freight")?"Logistics & Transportation":r("real estate")||r("property")?"Construction & Real Estate":"Business Services & Consulting"}(e.category)||"Others",remote:!!e.isRemote,jobType:e.isRemote?"Remote":"In office",experienceLevel:e.preferredExperience,date:c,salaryMin:null,salaryMax:null,currency:null,sourceRef:"advertiser_form",createdAt:c,updatedAt:c,search_vector:null,ml_subcategories:null,ml_subcategory_scores:null,ml_subcategories_updated_at:null}]);if(f){if("PGRST205"===f.code)throw Error("jobs_joveo_v2 is missing from the jobs project schema cache. Reload schema (NOTIFY pgrst, 'reload schema') or verify the table exists.");throw f}let{error:b}=await n.r.from("advertiser_jobs").insert([{job_id:m,user_id:s.user_id,subscription_id:null!==(i=null==d?void 0:d.subscription_id)&&void 0!==i?i:null,job_title:e.title,job_description:g,posted_at:c}]);if(b)throw await v.from("jobs_joveo_v2").delete().eq("id",m),b;return{jobId:m,applyPath:_}}async function I(e){var t;let i="number"==typeof e.jobCount?e.jobCount:Number(e.jobCount);if(!Number.isFinite(i)||i<=0)throw Error("Invalid job count");let{data:r,error:a}=await n.r.from("advertiser_consultations").insert([{name:e.name.trim(),organisation:e.organisation.trim(),industry:e.industry.trim(),budget:e.budget.trim(),job_count:i,analytics_preference:(null===(t=e.analyticsPreference)||void 0===t?void 0:t.trim())||null}]).select("consultation_id").single();if(a)throw a;return r}},1504:function(e,t,i){i.d(t,{r:function(){return m}});var n=i(69066),r=i(63217),a=i(5526),l=i(40257);function o(e){try{return new URL(e).host.split(".")[0]||null}catch(e){return null}}let s="https://dbhrbfrtsrxqckqrhgvz.supabase.co",u="eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImRiaHJiZnJ0c3J4cWNrcXJoZ3Z6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjY0ODEyMzQsImV4cCI6MjA4MjA1NzIzNH0.8c7ZJ9cNCujC5x9uI_P3JC-5hrE9ZZ3JuPuMmW6vDRQ",{url:c,key:d}=function(){let e=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];for(let e of t){let t=String(e||"").trim();if(/^https?:\/\//i.test(t))return t}return""}((0,r.bK)("NEXT_PUBLIC_BLOG_SUPABASE_URL","VITE_BLOG_SUPABASE_URL"),l.env.BLOG_SUPABASE_URL)||((0,r.yj)()?"https://build-placeholder.supabase.co":s),t=(0,r.bK)("NEXT_PUBLIC_BLOG_SUPABASE_KEY","VITE_BLOG_SUPABASE_KEY")||String(l.env.BLOG_SUPABASE_KEY||"").trim()||((0,r.yj)()?"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.build":u),i=o(e),n=function(e){try{let t=e.split(".");if(t.length<2)return null;let i=t[1].replace(/-/g,"+").replace(/_/g,"/"),n=i.padEnd(i.length+(4-i.length%4)%4,"="),r=JSON.parse(atob(n));return(null==r?void 0:r.ref)?String(r.ref):null}catch(e){return null}}(t);return i&&n&&i===n?{url:e,key:t}:((0,r.yj)(),{url:s,key:u})}(),p=o(c),m=p&&p===a.Qq?a.supabase:(0,n.eI)(c,d)},5526:function(e,t,i){i.d(t,{OC:function(){return b},Qq:function(){return u},UX:function(){return g},pR:function(){return p},rP:function(){return f},supabase:function(){return c},zk:function(){return v}});var n=i(69066),r=i(63217),a=i(74845),l=i(40257);let o=function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];for(let e of t){let t=String(e||"").trim();if(/^https?:\/\//i.test(t))return t}return""}((0,r.bK)("NEXT_PUBLIC_BLOG_SUPABASE_URL","VITE_BLOG_SUPABASE_URL"),(0,r.bK)("NEXT_PUBLIC_SUPABASE_URL","VITE_SUPABASE_URL"),l.env.BLOG_SUPABASE_URL,l.env.SUPABASE_URL)||((0,r.yj)()?"https://build-placeholder.supabase.co":"https://dbhrbfrtsrxqckqrhgvz.supabase.co"),s=(0,r.bK)("NEXT_PUBLIC_BLOG_SUPABASE_KEY","VITE_BLOG_SUPABASE_KEY")||(0,r.bK)("NEXT_PUBLIC_SUPABASE_ANON_KEY","VITE_SUPABASE_ANON_KEY")||((0,r.yj)()?"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.e30.build":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImRiaHJiZnJ0c3J4cWNrcXJoZ3Z6Iiwicm9sZSI6ImFub24iLCJpYXQiOjE3NjY0ODEyMzQsImV4cCI6MjA4MjA1NzIzNH0.8c7ZJ9cNCujC5x9uI_P3JC-5hrE9ZZ3JuPuMmW6vDRQ");(0,r.yj)();let u=function(e){try{return new URL(e).host.split(".")[0]||null}catch(e){return null}}(o),c=(0,n.eI)(o,s),d=void 0,p=d?(0,n.eI)(o,d):c,m=l.env.NEXT_PUBLIC_JOBS_SUPABASE_URL||(0,r.bK)("NEXT_PUBLIC_JOBS_SUPABASE_URL","VITE_JOBS_SUPABASE_URL"),_=l.env.NEXT_PUBLIC_JOBS_SUPABASE_ANON_KEY||(0,r.bK)("NEXT_PUBLIC_JOBS_SUPABASE_ANON_KEY","VITE_JOBS_SUPABASE_ANON_KEY"),g=m&&_&&/^https?:\/\//i.test(String(m).trim())?(0,n.eI)(String(m).trim(),String(_)):null;async function v(e,t){let i=new FormData;i.append("payload",JSON.stringify(e)),t&&i.append("resume",t);let n=await fetch("/api/save-it-staffing-profile",{headers:{...a.apiKeyHeader},method:"POST",body:i}),r={};try{r=await n.json()}catch(e){r={error:"HTTP ".concat(n.status)}}if(!n.ok||!r.ok){let e=Error(r.error||"Insert failed (".concat(n.status,")"));throw r.code&&(e.code=r.code),r.details&&(e.details=r.details),r.hint&&(e.hint=r.hint),e.status=n.status,e}return{success:!0,resumeStored:!0===r.resumeStored}}async function f(e){let t=await fetch("/api/save-gig-profile",{method:"POST",headers:{"Content-Type":"application/json",...a.apiKeyHeader},body:JSON.stringify(e)}),i={};try{i=await t.json()}catch(e){i={error:"HTTP ".concat(t.status)}}if(!t.ok||!i.ok){let e=Error(i.error||"Insert failed (".concat(t.status,")"));throw i.code&&(e.code=i.code),i.details&&(e.details=i.details),i.hint&&(e.hint=i.hint),e.status=t.status,e}return{success:!0}}async function b(e){let{error:t}=await c.from("contacts").insert([{name:e.name,email:e.email,subject:e.subject,message:e.message,created_at:new Date().toISOString()}]);if(t)throw t;return{success:!0}}}}]);

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.