PageSourceSearch

https://trueresume.ai/_next/static/chunks/8489.3b759203833e9f23.js

js trueresume.ai collected 2026-10-02 01:14:30 UTC 9,387 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8489],{38489:function(e,t,n){n.d(t,{downloadWordDocument:function(){return d}});var l=n(81484),o=n(93162),i=n(96999),a=n(99617),r=n(80098),c=n(68349);function s(e,t,n){let o=[],i=null==n?void 0:n.font;if(!e)return o;let a=function(e){if(!e)return e;let t=e;return t=(t=t.replace(/\*\*([^*]+)\*\*/g,"".concat(c.hb,"$1").concat(c.dW))).replace(/\*([^*\n]+?)\*/g,(e,n,l)=>(0===l||/^\s*$/.test(t.slice(0,l)))&&(/^\*\s/.test(e)||""===n.trim())||""===n.trim()?e:"".concat(c.hb).concat(n).concat(c.dW))}(e),s=0;for(;s<a.length;){let e=a.indexOf(c.hb,s);if(-1===e){let e=a.slice(s),c=(0,r.H)(e,t);c&&0!==c.length?c.forEach(e=>{"match"===e.type?o.push(new l.hal({text:e.text,bold:!0,font:i})):o.push(new l.hal({text:e.text,italics:(null==n?void 0:n.italics)||!1,font:i}))}):o.push(new l.hal({text:e,italics:(null==n?void 0:n.italics)||!1,font:i}));break}if(e>s){let c=a.slice(s,e),h=(0,r.H)(c,t);h&&0!==h.length?h.forEach(e=>{"match"===e.type?o.push(new l.hal({text:e.text,bold:!0,font:i})):o.push(new l.hal({text:e.text,italics:(null==n?void 0:n.italics)||!1,font:i}))}):o.push(new l.hal({text:c,italics:(null==n?void 0:n.italics)||!1,font:i}))}let h=a.indexOf(c.dW,e+c.hb.length);if(-1===h){let s=a.slice(e+c.hb.length),h=(0,r.H)(s,t);h&&0!==h.length?h.forEach(e=>{"match"===e.type?o.push(new l.hal({text:e.text,bold:!0,font:i})):o.push(new l.hal({text:e.text,bold:!0,italics:(null==n?void 0:n.italics)||!1,font:i}))}):o.push(new l.hal({text:s,bold:!0,italics:(null==n?void 0:n.italics)||!1,font:i}));break}let f=a.slice(e+c.hb.length,h),d=(0,r.H)(f,t);d&&0!==d.length?d.forEach(e=>{"match"===e.type?o.push(new l.hal({text:e.text,bold:!0,font:i})):o.push(new l.hal({text:e.text,bold:!0,italics:(null==n?void 0:n.italics)||!1,font:i}))}):o.push(new l.hal({text:f,bold:!0,italics:(null==n?void 0:n.italics)||!1,font:i})),s=h+c.dW.length}return o}let h=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return(0,a.formatResumeDate)(e,t)},f=function(e){var t,n,o,a,r,c;let f=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"000000",d=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Calibri",p=arguments.length>3&&void 0!==arguments[3]?arguments[3]:[],u=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"ats-professional",g=[],b="ats-compact"===u,w="ats-executive"===u,v=b?20:w?24:22,x=b?.7:w?1.2:1;if(null===(t=e.personalInfo)||void 0===t?void 0:t.fullName){g.push(new l.nvN({children:[new l.hal({font:d,text:e.personalInfo.fullName.toUpperCase(),bold:!0,size:b?28:w?36:32,color:f})],alignment:l.B1p.CENTER,spacing:{after:Math.round(100*x)},border:{bottom:{color:f,space:8,style:l.N4n.SINGLE,size:b?12:w?24:18}}})),(null===(n=e.personalInfo)||void 0===n?void 0:n.title)&&g.push(new l.nvN({children:[new l.hal({text:e.personalInfo.title,font:d,size:b?18:20})],alignment:l.B1p.CENTER,spacing:{after:Math.round(80*x)}}));let t=[null===(o=e.personalInfo)||void 0===o?void 0:o.email,null===(a=e.personalInfo)||void 0===a?void 0:a.phone,null===(r=e.personalInfo)||void 0===r?void 0:r.location,null===(c=e.personalInfo)||void 0===c?void 0:c.linkedin].filter(Boolean).join(" • ");t&&g.push(new l.nvN({children:[new l.hal({text:t,font:d})],alignment:l.B1p.CENTER,spacing:{after:200}}))}return e.summary&&(g.push(new l.nvN({children:[new l.hal({font:d,text:b?"SUMMARY":"PROFESSIONAL SUMMARY",bold:!0,size:v,color:f})],spacing:{before:Math.round(240*x),after:Math.round(120*x)},border:{bottom:{color:f,space:6,style:l.N4n.SINGLE,size:b?8:12}}})),e.summary.split("\n").filter(e=>e.trim()).forEach(e=>{let t=e.trim();if(t.startsWith("•")||t.startsWith("-")||t.startsWith("*")){let e=s(t.replace(/^[•\-*]\s*/,""),p,{font:d});g.push(new l.nvN({children:e,bullet:{level:0},spacing:{after:Math.round(60*x)},indent:{left:360,hanging:360}}))}else{let e=s(t,p,{font:d});g.push(new l.nvN({children:e,spacing:{after:Math.round(100*x)},alignment:l.B1p.JUSTIFIED}))}})),e.skillsSection&&Object.keys(e.skillsSection).length>0&&(g.push(new l.nvN({children:[new l.hal({font:d,text:"TECHNICAL SKILLS",bold:!0,size:v,color:f})],spacing:{before:Math.round(240*x),after:Math.round(120*x)},border:{bottom:{color:f,space:6,style:l.N4n.SINGLE,size:b?8:12}}})),Object.entries(e.skillsSection).filter(e=>{let[t,n]=e;return n&&(!Array.isArray(n)||n.length>0)}
1).forEach(e=>{let[t,n]=e,o=Array.isArray(n)?n.join(", "):n,a=(0,i.p)(t),r=s(o,p,{font:d});g.push(new l.nvN({children:[new l.hal({text:"".concat(a,": "),bold:!0,font:d}),...r].filter(Boolean),spacing:{after:80}}))})),e.experiences&&e.experiences.length>0&&(g.push(new l.nvN({children:[new l.hal({font:d,text:b?"EXPERIENCE":"PROFESSIONAL EXPERIENCE",bold:!0,size:v,color:f})],spacing:{before:Math.round(240*x),after:Math.round(120*x)},border:{bottom:{color:f,space:6,style:l.N4n.SINGLE,size:b?8:12}}})),e.experiences.forEach((e,t)=>{let n=e.role||e.title||"",o=s(n,p,{font:d}),i=o.length>0?o.map(e=>new l.hal({text:e.text||"",bold:!0,size:24,font:d})):[new l.hal({text:n,bold:!0,size:24,font:d})];g.push(new l.nvN({children:i,spacing:{before:t>0?160:0,after:40}}));let a="".concat(h(e.startDate)," – ").concat(h(e.endDate,!0));if(g.push(new l.nvN({children:[new l.hal({text:"".concat(e.company||""," "),bold:!0,italics:!0,font:d}),new l.hal({text:"(".concat(a,")"),italics:!0,font:d})],spacing:{after:40}})),e.projectName){let t=s(e.projectName,p,{font:d});g.push(new l.nvN({children:[new l.hal({text:"Project: ",bold:!0,font:d}),...t],spacing:{after:40}}))}if(e.projectDescription){let t=s(e.projectDescription||"",p,{italics:!0,font:d});g.push(new l.nvN({children:t,spacing:{after:80}}))}e.bullets&&e.bullets.length>0&&(g.push(new l.nvN({children:[new l.hal({text:"Responsibilities:",bold:!0,font:d})],spacing:{before:40,after:40}})),e.bullets.forEach(e=>{let t=s(function(e){if(!e||"string"!=typeof e)return e||"";let t=e.replace(/^"""\s*/g,"").replace(/\s*"""\s*$/g,"").replace(/"""/g,"").trim();if(t.length>500){let e=t.lastIndexOf(". ",490);e<294&&(e=t.lastIndexOf(", ",490)),e<294&&(e=t.lastIndexOf("; ",490)),e<294&&(e=t.lastIndexOf(" ",490)),e<245&&(e=490),t=t.substring(0,e).trim(),/[.!?]$/.test(t)||(t=t.replace(/[,;:\s]+$/g,"").trim()+".")}return t}(e),p,{font:d});g.push(new l.nvN({children:t,bullet:{level:0},spacing:{after:60},indent:{left:360,hanging:360}}))})),e.techStack&&e.techStack.length>0&&g.push(new l.nvN({children:[new l.hal({text:"Environment: ",bold:!0,font:d}),new l.hal({text:e.techStack.join(", "),font:d})],spacing:{before:40,after:80}}))})),e.education&&e.education.length>0&&(g.push(new l.nvN({children:[new l.hal({font:d,text:"EDUCATION",bold:!0,size:v,color:f})],spacing:{before:Math.round(240*x),after:Math.round(120*x)},border:{bottom:{color:f,space:6,style:l.N4n.SINGLE,size:b?8:12}}})),e.education.forEach((e,t)=>{let n=e.field?"".concat(e.degree||""," in ").concat(e.field):e.degree||"";g.push(new l.nvN({children:[new l.hal({text:n,bold:!0,font:d})],spacing:{before:t>0?120:0,after:40}}));let o=e.institution||e.school||"";g.push(new l.nvN({children:[new l.hal({text:"".concat(o," "),bold:!0,italics:!0,font:d}),e.graduationDate&&new l.hal({text:"(".concat(h(e.graduationDate),")"),italics:!0,font:d})].filter(Boolean),spacing:{after:e.gpa||e.location?40:100}})),e.location&&"Not specified"!==e.location&&g.push(new l.nvN({children:[new l.hal({text:e.location,font:d,color:"555555"})],spacing:{after:e.gpa?40:100}})),e.gpa&&g.push(new l.nvN({children:[new l.hal({text:"GPA: ".concat(e.gpa),font:d})],spacing:{after:100}}))})),e.certifications&&e.certifications.length>0&&(g.push(new l.nvN({children:[new l.hal({text:"CERTIFICATIONS",bold:!0,size:v,color:f,font:d})],spacing:{before:Math.round(240*x),after:Math.round(120*x)},border:{bottom:{color:f,space:6,style:l.N4n.SINGLE,size:b?8:12}}})),e.certifications.forEach(e=>{let t=s([e.name,e.issuer&&"- ".concat(e.issuer),e.date&&"(".concat(e.date,")")].filter(Boolean).join(" "),p,{font:d});g.push(new l.nvN({children:t,bullet:{level:0},spacing:{after:80},indent:{left:360,hanging:360}}))})),e.projects&&e.projects.length>0&&(g.push(new l.nvN({children:[new l.hal({text:"PROJECTS",bold:!0,size:v,color:f,font:d})],spacing:{before:Math.round(240*x),after:Math.round(120*x)},border:{bottom:{color:f,space:6,style:l.N4n.SINGLE,size:b?8:12}}})),e.projects.forEach((e,t)=>{let n=s(e.name||"",p,{font:d}),o=n.length>0?n.map((e,t)=>new l.hal({text:e.text||"",bold:!0,font:d})):[new l.hal({text:e.name||"",bold:!0,font:d})];if(g.push(new l.nvN({children:o,spacing:{before:t>0?120:0,after:60}})),e.description){let t=s(e.description||"",p,{font:d});g.push(new l.nvN({children:t,spacing:{after:60}}))}if(e.technologies){let t=s(e.technologies||"",p,{italics:!0,font:d});g.push(new l.nvN({children:[new l.hal({text:"Technologies: ",italics:!0,font:d}),...t],spacing:{after:100}}))}})),new l.BBB({sections:[{properties:{page:{margin:{top:504,right:468,bottom:432,left:468}}},children:g}]})},d=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"resume.docx",l=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"000000",i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"Calibri",a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[],r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"ats-professional",{Packer:c}=await Promise.resolve().then(n.bind(n,81484)),s=await f(e,l,i,a,r),h=await c.toBlob(s);(0,o.saveAs)(h,t)}}}]);

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.