PageSourceSearch

https://resume.io/assets/chunk/140.afe21369e61a608e.js

js resume.io collected 2026-09-24 08:48:33 UTC 8,643 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};e.SENTRY_RELEASE={id:"v1.2777.1"};var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="548d6475-15a5-48d9-ae21-1ab4a3a06c4a",e._sentryDebugIdIdentifier="sentry-dbid-548d6475-15a5-48d9-ae21-1ab4a3a06c4a")}catch(e){}}();"use strict";(self.webpackChunkresume_io_frontend=self.webpackChunkresume_io_frontend||[]).push([["140"],{79239(e,t,i){i.d(t,{s:()=>er});var n=i(74848),r=i(13971),s=i(98005),o=i(515),l=i(24260),a=i(53953),c=i(18049),d=i(412),u=i(37594),p=i(56790),y=i(18214),x=i(21459),h=i(94264),f=i(36594),g=i(56759),A=i(97993),m=i(96540),b=i(46628),v=i(28793),j=i(82520),k=i(14649),w=i(38267),L=i(99701);let M=w.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding:12px 12px 0 12px;"]),J=w.Ay.div(["width:24px;height:24px;padding:0;border:0;cursor:pointer;display:flex;align-items:center;justify-content:center;color:",";background-color:",";&:hover{color:",";}",";",";"],L.Jy.Neutral70,L.Jy.Neutral10,L.Jy.Blue60,({isActive:e})=>e&&(0,w.AH)(["color:",";"],L.Jy.Blue60),({isDisabled:e})=>e&&(0,w.AH)(["color:",";pointer-events:none;"],L.Jy.Neutral40)),D=w.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin-right:12px;"]),N=w.Ay.div(["height:20px;width:1px;margin:0 10px;background-color:",";"],L.Jy.Neutral30),_=({icon:e=k.Ay.Add,onMouseDown:t,...i})=>(0,n.jsx)(J,{onMouseDown:e=>{e.preventDefault(),t&&t()},...i,children:(0,n.jsx)(e,{})}),C=({editor:e})=>{let t=(0,m.useCallback)(()=>{if(e.isActive("link"))e.chain().focus().extendMarkRange("link").unsetLink().run();else{let t=window.prompt("Enter the URL of the link:");if(null===t)return;if(""===t)return void e.chain().focus().extendMarkRange("link").unsetLink().run();e.chain().focus().extendMarkRange("link").setLink({href:t}).run()}},[e]);return(0,n.jsx)(M,{children:(0,n.jsxs)(D,{children:[(0,n.jsx)(_,{icon:k.Ay.Bold,onMouseDown:()=>e.chain().focus().toggleBold().run(),isActive:e.isActive("bold")}),(0,n.jsx)(_,{icon:k.Ay.Italic,onMouseDown:()=>e.chain().focus().toggleItalic().run(),isActive:e.isActive("italic")}),(0,n.jsx)(_,{icon:k.Ay.Underline,onMouseDown:()=>e.chain().focus().toggleUnderline().run(),isActive:e.isActive("underline")}),(0,n.jsx)(_,{icon:k.Ay.Strike,onMouseDown:()=>e.chain().focus().toggleStrike().run(),isActive:e.isActive("strike")}),(0,n.jsx)(N,{}),(0,n.jsx)(_,{icon:k.Ay.OrderedList,onMouseDown:()=>e.chain().focus().toggleOrderedList().run(),isActive:e.isActive("orderedList")}),(0,n.jsx)(_,{icon:k.Ay.UnorderedList,onMouseDown:()=>e.chain().focus().toggleBulletList().run(),isActive:e.isActive("bulletList")}),(0,n.jsx)(N,{}),(0,n.jsx)(_,{icon:e.isActive("link")?k.Ay.UnbindLink:k.Ay.BindLink,onMouseDown:t,isActive:e.isActive("link"),isDisabled:!e.isActive("link")&&e.state.selection.empty})]})})};var E=i(87947),B=i(77378),P=i(29522),R=i(49504);let H=w.Ay.div(["display:flex;align-items:center;justify-content:space-between;margin-top:10px;color:",";",";"],L.Jy.Neutral50,R.Ay.Caption),I=w.Ay.div(["display:flex;align-items:center;position:relative;padding-right:","px;transition:padding-right 0.3s ease;"],e=>32*!e.isIdle),T=w.Ay.div(["position:absolute;right:0;width:24px;height:24px;border-radius:50%;background-color:#f9d1e0;margin-left:8px;opacity:",";transform:scale(",");transition:transform 0.3s ease,opacity 0.3s ease;"],e=>+!!e.isVisible,e=>e.isVisible?1:.6),U=w.Ay.div(["color:",";display:flex;align-items:baseline;"],L.Jy.Neutral50),F=w.Ay.div(["color:",";"],L.Jy.Neutral90),X=w.Ay.div(["position:absolute;bottom:0;left:0;right:0;height:2px;background-color:",";border-radius:0 0 2px 2px;pointer-events:none;transform-origin:",";transition:transform 0.2s ease,background-color 0.2s ease,opacity 0.2s ease;",";"],e=>e.bgColor||L.Jy.Blue50,e=>1===e.scale?"50% 0":"0 0",e=>e.in&&({entering:(0,w.AH)(["opacity:1;transform:scaleX(",");"],e.scale),entered:(0,w.AH)(["opacity:1;transform:scaleX(",");"],e.scale),exiting:(0,w.AH)(["opacity:0;transform:scaleX(",");"],e.scale),exited:(0,w.AH)(["opacity:0;
1transform:scaleX(0);"])})[e.in]),O=({isFocused:e,textLength:t,recommendedLength:i})=>{let r=(0,m.useRef)(null);return(0,n.jsx)(E.Ay,{in:e,timeout:100,nodeRef:r,children:e=>(0,n.jsx)(X,{in:e,scale:(({textLength:e,recommendedLength:t})=>e&&t?(0,P.N)(e/t,0,1):1)({textLength:t,recommendedLength:i}),bgColor:(({textLength:e,recommendedLength:t})=>t&&0!==e?e/t>=1?L.Jy.Green50:e/t>.33?L.Jy.Amber40:L.Jy.Orange40:L.Jy.Blue50)({textLength:t,recommendedLength:i}),ref:r})})},S=({textLength:e,recommendedLength:t})=>e>=t?(0,n.jsx)(k.Ay.FaceGood,{}):e>t/3?(0,n.jsx)(k.Ay.FaceNormal,{}):(0,n.jsx)(k.Ay.FaceBad,{}),V=e=>{let{textLength:t,recommendedLength:i}=e,{i18n:r}=(0,B.s)();return(0,n.jsxs)(H,{children:[(0,n.jsx)("div",{children:r.t("builder.resume_editor.phrase_suggestion.progress_label",{count:i})}),(0,n.jsxs)(I,{isIdle:0===t,children:[(0,n.jsxs)(U,{children:[(0,n.jsx)(F,{children:t}),t<i&&(0,n.jsxs)("span",{children:["\xa0/\xa0",i,"+"]})]}),(0,n.jsx)(T,{isVisible:t>0,children:(0,n.jsx)(S,{...e})})]})]})},$=w.Ay.div(["display:flex;align-items:center;justify-content:space-between;padding:8px 16px 16px;&:empty{display:none;}"]),G=e=>{let{additionalToolbarActions:t}=e;return t?(0,n.jsx)($,{children:t}):null};i(14603),i(47566),i(98721),i(18111),i(61701);let W=(e,t)=>{e.chain().setContent(t,!1,{preserveWhitespace:!1}).run()},z=(e,t)=>{e.commands.insertContentAt(e.state.doc.content.size,t)},Y=(e,t)=>{try{let i=new URL(e.includes(":")?e:`${t.defaultProtocol}://${e}`);if(!t.defaultValidate(i.href))return!1;let n=i.protocol.replace(":","");if(["ftp","file","mailto"].includes(n)||!t.protocols.map(e=>"string"==typeof e?e:e.scheme).includes(n))return!1;let r=i.hostname;if([].includes(r))return!1;return!0}catch{return!1}},Z=e=>{try{let t=new URL(e.includes(":")?e:`https://${e}`).hostname;return![].includes(t)}catch{return!1}},q=w.Ay.div(["display:block;width:100%;position:relative;"]),K=w.Ay.label(["display:flex;",";color:",";margin-bottom:6px;justify-content:space-between;"],R.Ay.Caption,L.Jy.Neutral50),Q=w.Ay.span([""]),ee=w.Ay.div(["display:flex;gap:4px;align-items:center;&:empty{display:none;}"]),et=w.Ay.div(["position:relative;border-radius:3px;caret-color:",";background-color:",";"],L.Jy.Blue50,L.Jy.Neutral10),ei=(0,w.Ay)(r.$Z)(["position:relative;overflow:hidden;user-select:auto;.ProseMirror{margin:0;padding:8px 16px 16px;min-height:200px;max-height:420px;overflow:auto;cursor:text;}.ProseMirror:focus{outline:none;}.ProseMirror p.is-editor-empty:first-child::before{color:",";content:attr(data-placeholder);float:left;height:0;pointer-events:none;}.ProseMirror ol,.ProseMirror ul{padding:4px 0 4px 24px;margin:0;}.ProseMirror a{color:",";}"],L.Jy.Neutral50,L.Jy.Blue50),en=(0,w.Ay)(b.WX)(["max-height:420px;"]),er=e=>{let{label:t,placeholder:i,autoFocus:k,value:w,onChange:L,recommendedLength:M,labelBadges:J,isAnimating:D,onAnimationEnd:N,instanceRef:_,onTextLengthChange:E,additionalToolbarActions:B,containerRef:P,disableToolbar:R,readOnly:H,disabled:I,enableSpeechToText:T=!1}=e,U=(0,m.useRef)(!1),F=(0,r.hG)({onUpdate:({editor:e})=>{U.current=!0,L(e.getHTML())},extensions:[o.A,l.A,a.A,c.Ay,d.Ay,u.A,p.Ay,y.A,x.Ay,h.Ay,f.Ay.configure({openOnClick:!1,autolink:!0,defaultProtocol:"https",protocols:["http","https"],isAllowedUri:Y,shouldAutoLink:Z}),g.A,A.A,s.A.configure({placeholder:i})],content:w,autofocus:!!k&&"end",editable:!H}),X=F?.storage.characterCount.characters()||0,S=(0,m.useCallback)(()=>{let e=F?.options.element.children[0];e&&(e.scrollTop=e.scrollHeight),N?.()},[F,N]),{animationPlaceholderRef:$}=(0,v.Lw)({...e,onAnimationEnd:S});return((0,m.useEffect)(()=>{if(U.current){U.current=!1;return}F&&F.getHTML()!==w&&W(F,w||"")},[F,w]),(0,m.useEffect)(()=>{E?.(X)},[E,X]),(0,m.useEffect)(()=>{_&&F&&(_.current={focusEditor:()=>F?.commands.focus(),addPhrase:(e,t)=>{let i=(0,v.fw)(e,t);z(F,"text"in i?i.text:i.html)},replacePhrase:e=>W(F,e),getEditorText:()=>F?.getHTML()})},[_,F]),F)?(0,n.jsxs)(q,{children:[(0,n.jsxs)(K,{children:[(0,n.jsx)(Q,{children:t}),J&&(0,n.jsx)(ee,{children:J})]}),(0,n.jsxs)(et,{ref:P,children:[!R&&!H&&(0,n.jsx)(C,{editor:F}),(0,n.jsxs)(b._6,{children:[D&&(0,n.jsx)(b.kp,{children:(0,n.jsx)(en,{ref:$})}),(0,n.jsx)(b.j,{isAnimated:!!D,children:(0,n.jsx)(ei,{editor:F,disabled:I,"data-testid":"tiptap-editor"})})]}),T&&(0,n.jsx)(j.P,{onTranscript:e=>{F&&z(F,e.trim())}}),(0,n.jsx)(G,{additionalToolbarActions:B}),(0,n.jsx)(O,{textLength:X,recommendedLength:M,isFocused:F.isFocused})]}),M&&(0,n.jsx)(V,{textLength:X,recommendedLength:M})]}):null}}}]);

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.