PageSourceSearch

https://hirable.me/_next/static/chunks/4360-6bf70cac9ef61899.js

js hirable.me collected 2026-09-24 15:06:07 UTC 17,176 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3b2a9557-2e65-4b05-9c19-6027915283c9",e._sentryDebugIdIdentifier="sentry-dbid-3b2a9557-2e65-4b05-9c19-6027915283c9")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4360],{826:(e,t,a)=>{a.d(t,{cn:()=>n,t:()=>s});var r=a(72902),i=a(5643);function n(){for(var e=arguments.length,t=Array(e),a=0;a<e;a++)t[a]=arguments[a];return(0,i.QP)((0,r.$)(t))}function s(e,t){let a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"".concat(t,"s");return"".concat(e," ").concat(1===e?t:a)}},4387:(e,t,a)=>{a.d(t,{K:()=>l,g:()=>o});var r=a(54568),i=a(7620),n=a(99341),s=a(34816);let d=(0,i.createContext)(s.FH);function l(e){let{children:t}=e,{getToken:a,isAuthenticated:l,isLoading:o,user:c}=(0,n.PG)(),u=(0,i.useMemo)(()=>{var e;return s.FH.setTokenGetter(a),s.FH.setAuthState({isLoaded:!o,isSignedIn:l,userId:null!=(e=null==c?void 0:c.id)?e:null}),s.FH},[a,l,o,null==c?void 0:c.id]);return(0,r.jsx)(d.Provider,{value:u,children:t})}function o(){return(0,i.useContext)(d)}},6845:(e,t,a)=>{a.d(t,{$:()=>l});var r=a(54568);a(7620);var i=a(54616),n=a(46118),s=a(826);let d=(0,i.F)("group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/80",selected:"bg-primary text-primary-foreground shadow-none hover:brightness-110",outline:"border-border bg-background hover:bg-muted hover:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",soft:"bg-primary/10 text-primary shadow-none hover:bg-primary/20 dark:bg-primary/15 dark:text-primary-foreground dark:hover:bg-primary/25",surface:"bg-muted/80 text-foreground shadow-none hover:bg-muted dark:bg-input/30 dark:hover:bg-input/50",ghost:"hover:bg-muted/80 hover:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline",cta:"bg-primary text-primary-foreground hover:bg-primary/90 shadow-md hover:shadow-lg transition-shadow",accent:"bg-accent text-accent-foreground hover:bg-accent/80",amber:"bg-amber-500 text-white hover:bg-amber-600 dark:bg-amber-600 dark:hover:bg-amber-700"},size:{default:"h-10 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-11 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",icon:"size-8","icon-xs":"size-6 in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9","lg-marketing":"h-11 gap-1.5 px-6 md:px-8 text-base md:text-lg shadow-lg hover:shadow-xl"}},defaultVariants:{variant:"default",size:"default"}});function l(e){let{className:t,variant:a="default",size:i="default",rounded:l=!1,asChild:o=!1,...c}=e,u=o?n.bL:"button";return(0,r.jsx)(u,{"data-slot":"button","data-variant":a,"data-size":i,className:(0,s.cn)(d({variant:a,size:i,className:t}),l&&"rounded-full"),...c})}},8049:(e,t,a)=>{a.d(t,{J:()=>s});var r=a(54568);a(7620);var i=a(88594),n=a(826);function s(e){let{className:t,...a}=e;return(0,r.jsx)(i.Root,{"data-slot":"label",className:(0,n.cn)("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",t),...a})}},32673:(e,t,a)=>{a.d(t,{TR:()=>b,bq:()=>g,eb:()=>m,gC:()=>p,l6:()=>o,mi:()=>v,s3:()=>c,yv:()=>u});var r=a(54568);a(7620);var i=a(14730),n=a(826),s=a(72116),d=a(6438),l=a(80021);function o(e){let{...t}=e;return(0,r.jsx)(i.Root,{"data-slot":"select",...t})}function c(e){let{className:t,...a}=e;return(0,r.jsx)(i.Group,{"data-slot":"select-group",className:(0,n.cn)("scroll-my-1 p-1",t),...a})}function u(e){let{...t}=e;return(0,r.jsx)(i.Value,{"data-slot":"select-value",...t})}function g(e){let{className:t,size:a="default",children:d,...l}=e;return(0,r.jsxs)(i.Trigger,{"data-slot":"select-trigger","data-size":a,className:(0,n.cn)("flex w-fit items-center justify-between gap-1.5 rounded-lg border border-transparent bg-muted/60 py-2 pr-2 pl-2.5 text-base whitespace-nowrap transition-colors outline-none select-none hover:bg-muted/80 focus-visible:bg-background focus-visible:ring-2 focus-visible:ring-foreground
1/15 disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-placeholder:text-muted-foreground data-[size=default]:h-10 data-[size=sm]:h-8 data-[size=sm]:rounded-[min(var(--radius-md),10px)] md:text-sm *:data-[slot=select-value]:block *:data-[slot=select-value]:min-w-0 *:data-[slot=select-value]:flex-1 *:data-[slot=select-value]:truncate dark:bg-input/30 dark:hover:bg-input/50 dark:focus-visible:bg-input/45 dark:focus-visible:ring-foreground/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",t),...l,children:[d,(0,r.jsx)(i.Icon,{asChild:!0,children:(0,r.jsx)(s.A,{className:"pointer-events-none size-4 text-muted-foreground"})})]})}function p(e){let{className:t,children:a,position:s="item-aligned",align:d="center",...l}=e;return(0,r.jsx)(i.Portal,{children:(0,r.jsxs)(i.Content,{"data-slot":"select-content","data-align-trigger":"item-aligned"===s,className:(0,n.cn)("relative z-50 max-h-(--radix-select-content-available-height) max-w-(--radix-select-content-available-width) min-w-36 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-xl bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100 data-[align-trigger=true]:animate-none data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95","popper"===s&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:s,align:d,...l,children:[(0,r.jsx)(f,{}),(0,r.jsx)(i.Viewport,{"data-position":s,className:(0,n.cn)("max-w-full data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)","popper"===s&&""),children:a}),(0,r.jsx)(h,{})]})})}function b(e){let{className:t,...a}=e;return(0,r.jsx)(i.Label,{"data-slot":"select-label",className:(0,n.cn)("px-1.5 py-1 text-xs text-muted-foreground",t),...a})}function m(e){let{className:t,children:a,...s}=e;return(0,r.jsxs)(i.Item,{"data-slot":"select-item",className:(0,n.cn)("relative flex w-full cursor-default items-center gap-1.5 rounded-md py-1 pr-8 pl-1.5 text-sm outline-hidden select-none focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...s,children:[(0,r.jsx)("span",{className:"pointer-events-none absolute right-2 flex size-4 items-center justify-center",children:(0,r.jsx)(i.ItemIndicator,{children:(0,r.jsx)(d.A,{className:"pointer-events-none"})})}),(0,r.jsx)(i.ItemText,{className:"min-w-0 truncate",children:a})]})}function v(e){let{className:t,...a}=e;return(0,r.jsx)(i.Separator,{"data-slot":"select-separator",className:(0,n.cn)("pointer-events-none -mx-1 my-1 h-px bg-border",t),...a})}function f(e){let{className:t,...a}=e;return(0,r.jsx)(i.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:(0,n.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",t),...a,children:(0,r.jsx)(l.A,{})})}function h(e){let{className:t,...a}=e;return(0,r.jsx)(i.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:(0,n.cn)("z-10 flex cursor-default items-center justify-center bg-popover py-1 [&_svg:not([class*='size-'])]:size-4",t),...a,children:(0,r.jsx)(s.A,{})})}},64360:(e,t,a)=>{a.d(t,{PublicFeedbackForm:()=>m});var r=a(54568),i=a(7620),n=a(60844),s=a(99935),d=a(29304),l=a(6845),o=a(4387),c=a(92779),u=a(8049),g=a(32673),p=a(64715);let b=[{value:"GENERAL",label:"General"},{value:"BUG",label:"Bug"},{value:"FEATURE_REQUEST",label:"Feature request"},{value:"UX",label:"Experience"},{value:"BILLING",label:"Billing"},{value:"OTHER",label:"Other"}];function m(e){let{appRelease:t,embedded:a=!1,pageUrl:m,surface:v="public-feedback-page",verifyFromHash:f=!1,onSubmitted:h,initialEmail:x,emailLocked:y=!1}=e,w=(0,o.g)(),[k,j]=(0,i.useState)(null!=x?x:""),[N,z]=(0,i.useState)("GENERAL"),[_,E]=(0,i.useState)(""),[S,T]=(0,i.useState)(""),[A,C]=(0,i.useState)(!1),[F,I]=(0,i.useState)(null),[R,L]=(0,i.useState)(null),[G,q]=(0,i.useState)("idle");(0,i.useEffect)(()=>{x&&j(e=>e||x)},[x]),(0,i.useEffect)(()=>
1{if(!f)return;let e=new URLSearchParams(window.location.hash.replace(/^#/,"")).get("verify");e&&(q("verifying"),w.feedback.verifyEmail(e).then(e=>{q(e.verified?"verified":"expired"===e.status?"expired":"invalid")}).catch(()=>q("invalid")).finally(()=>{window.history.replaceState({},"","".concat(window.location.pathname).concat(window.location.search))}))},[w,f]);let P=k.trim(),U=_.trim(),B=/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(P)&&U.length>=10&&!A;async function D(e){if(e.preventDefault(),B){C(!0),L(null),I(null);try{var a;let e=(null==(a=new URLSearchParams(window.location.search).get("from"))?void 0:a.slice(0,2048))||void 0,r=m||e||"".concat(window.location.pathname).concat(window.location.search).slice(0,2048),i=await w.feedback.create({email:P,type:N,message:U,website:S,pageUrl:r,metadata:{surface:v,source:r,appRelease:t||void 0}});I(i),null==h||h(i),z("GENERAL"),E(""),T("")}catch(e){L(e instanceof Error?e.message:"Feedback could not be sent. Please try again.")}finally{C(!1)}}}return(0,r.jsxs)("div",{className:a?"":"rounded-xl bg-card p-5 shadow-sm ring-1 ring-foreground/5 sm:p-6",children:[f&&"idle"!==G&&(0,r.jsxs)("div",{className:"mb-5 rounded-xl border border-border/60 bg-muted/40 px-4 py-3 text-sm",role:"status",children:["verifying"===G&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-2",children:[(0,r.jsx)(n.A,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}),"Confirming your email…"]}),"verified"===G&&(0,r.jsxs)("span",{className:"inline-flex items-center gap-2 font-medium text-foreground",children:[(0,r.jsx)(s.A,{className:"h-4 w-4","aria-hidden":"true"}),"Email confirmed. Thanks for helping us keep follow-up addresses reliable."]}),"expired"===G&&(0,r.jsx)("span",{children:"This verification link has expired. Your feedback is still recorded."}),"invalid"===G&&(0,r.jsx)("span",{children:"This verification link is invalid or has already been used."})]}),F&&!a?(0,r.jsx)("div",{className:"mb-5 rounded-xl border border-border/60 bg-muted/40 px-4 py-3 text-sm",role:"status",children:(0,r.jsxs)("div",{className:"flex items-start gap-2",children:[(0,r.jsx)(s.A,{className:"mt-0.5 h-4 w-4 shrink-0","aria-hidden":"true"}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"font-medium text-foreground",children:"Feedback received."}),(0,r.jsx)("p",{className:"mt-1 text-muted-foreground",children:F.emailVerificationRequired?"We sent a confirmation link to your email. Your feedback is already in the queue; verification only confirms the reply address.":"Your signed-in email was already verified, so no extra confirmation is needed."})]})]})}):null,(0,r.jsxs)("form",{onSubmit:D,className:a?"space-y-4":"space-y-5",children:[(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.J,{htmlFor:"public-feedback-email",className:"text-sm font-medium",children:"Reply email"}),(0,r.jsx)(c.p,{id:"public-feedback-email",type:"email",value:k,onChange:e=>j(e.target.value),maxLength:320,autoComplete:"email",placeholder:"[email protected]",required:!0,readOnly:y}),(0,r.jsx)("p",{className:"text-xs leading-relaxed text-muted-foreground",children:y?"This is your verified signed-in email and will be attached to the report.":"No account or sign-in is required. We use this only to trace the report and follow up if needed."})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.J,{htmlFor:"public-feedback-type",className:"text-sm font-medium",children:"Type"}),(0,r.jsxs)(g.l6,{value:N,onValueChange:e=>z(e),children:[(0,r.jsx)(g.bq,{id:"public-feedback-type",className:"w-full",children:(0,r.jsx)(g.yv,{})}),(0,r.jsx)(g.gC,{children:b.map(e=>(0,r.jsx)(g.eb,{value:e.value,children:e.label},e.value))})]})]}),(0,r.jsxs)("div",{className:"space-y-2",children:[(0,r.jsx)(u.J,{htmlFor:"public-feedback-message",className:"text-sm font-medium",children:"What happened?"}),(0,r.jsx)(p.T,{id:"public-feedback-message",value:_,onChange:e=>E(e.target.value),maxLength:5e3,minLength:10,rows:a?5:7,className:a?"min-h-28 resize-y":"min-h-40 resize-y",placeholder:"Tell us what you were trying to do, what happened, and anything that might help us reproduce it.",required:!0})]}),(0,r.jsxs)("div",{className:"absolute left-[-10000px] top-auto h-px w-px overflow-hidden","aria-hidden":"true",children:[(0,r.jsx)(u.J,{htmlFor:"public-feedback-website",children:"Website"}),(0,r.jsx)(c.p,{id:"public-feedback-website",name:"website",value:S,onChange:e=>T(e.target.value),tabIndex:-1,autoComplete:"off"})]}),R?(0,r.jsx)("p",{className:"rounded-lg border border-destructive/30 bg-destructive/5 px-3 py-2 text-sm text-destructive",role:"alert",children:R}):null,(0,r.jsx)("div",{className:"flex justify-end pt-1",children:(0,r.jsxs)(l.$,{type:"submit",variant:"cta",disabled:!B,className:a?"min-w-32":"w-full sm:w-auto",children:[A?(0,r.jsx)(n.A,{className:"h-4 w-4 animate-spin","aria-hidden":"true"}):(0,r.jsx)(d.A,{className:"h-4 w-4","aria-hidden":"true"}),"Send feedback"]})})]})]})}},64715:(e,t,a)=>{a.d(t,{T:()=>n});var r=a(54568);a(7620);var i=a(826);function n(e){let{className:t,...a}=e;return(0,r.jsx)("textarea",{"data-slot":"textarea",className:(0,i.cn)("flex field-sizing-content min-h-16 w-full min-w-0 max-w-full overflow-x-hidden rounded-lg border border-transparent bg-muted/60 px-2.5 py-2 text-base transition-colors outline-none placeholder:text-muted-foreground hover:bg-muted/80 focus-visible:bg-background focus-visible:ring-2 focus-visible:ring-foreground
1/15 disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:hover:bg-input/50 dark:focus-visible:bg-input/45 dark:focus-visible:ring-foreground/20 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",t),...a})}},92779:(e,t,a)=>{a.d(t,{p:()=>n});var r=a(54568);a(7620);var i=a(826);function n(e){let{className:t,type:a,...n}=e;return(0,r.jsx)("input",{type:a,"data-slot":"input",className:(0,i.cn)("h-10 w-full min-w-0 rounded-lg border border-transparent bg-muted/60 px-2.5 py-1 text-base transition-colors outline-none file:inline-flex file:h-6 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground hover:bg-muted/80 focus-visible:bg-background focus-visible:ring-2 focus-visible:ring-foreground/15 disabled:pointer-events-none disabled:cursor-not-allowed disabled:bg-input/50 disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:bg-input/30 dark:hover:bg-input/50 dark:focus-visible:bg-input/45 dark:focus-visible:ring-foreground/20 dark:disabled:bg-input/80 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",t),...n})}}}]);

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.