1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5187],{37:(e,t,s)=>{s.d(t,{A:()=>l});var r=s(37876),a=s(48230),n=s.n(a),i=s(29353);function l(e){let{appearance:t="button"}=e;return"provider"===t?(0,r.jsxs)(n(),{href:"/login/sso/",className:i.Rg,children:[(0,r.jsx)("i",{className:"bx bx-key text-[18px] text-brand-blue","aria-hidden":"true"}),"Continue with SAML SSO"]}):"link"===t?(0,r.jsxs)(n(),{href:"/login/sso/",className:"inline-flex items-center gap-2 text-sm font-semibold text-brand-blue hover:text-brand-blue-dark hover:underline",children:[(0,r.jsx)("i",{className:"bx bx-key text-[18px]","aria-hidden":"true"}),"Sign in with SSO"]}):(0,r.jsx)(n(),{href:"/login/sso/",className:"!no-underline",children:(0,r.jsxs)("div",{className:"third-party-login !mb-0 cursor-pointer",children:[(0,r.jsx)("i",{className:"bx bx-key text-[20px] align-middle mr-2 text-[color:var(--color-brand-blue)]"}),(0,r.jsx)("p",{className:"login-method inline-block !m-0",children:"Continue with SAML SSO"})]})})}},5187:(e,t,s)=>{s.d(t,{A:()=>b});var r=s(37876),a=s(14232),n=s(9527),i=s(82765),l=s(8020),o=s(10091),d=s(76516),c=s(54587),h=s.n(c),u=s(77449),m=s(29353),x=s(37);let p=[{value:"business_owner",label:"Business Owner"},{value:"internal_hr",label:"Internal HR at the company"},{value:"other_role_in_company",label:"Other role in the company"},{value:"hr_or_business_consultant",label:"I'm an HR or business consultant"},{value:"no_role_listed",label:"None of these"}];function b(){let[e,t]=(0,a.useState)(""),[s,c]=(0,a.useState)(!1),[b,g]=(0,a.useState)(""),[f,j]=(0,a.useState)(!1),[v,w]=(0,a.useState)("Get started with a Free account");(0,a.useEffect)(()=>{if(e.length>0&&!s){let e=setTimeout(()=>c(!0),700);return()=>clearTimeout(e)}},[e,s]);let{error:N,googleLogin:y,register:k}=(0,d.J)(),L=(0,a.useCallback)(async e=>{if(e.preventDefault(),!b)return void j(!0);await k({email:e.currentTarget.elements.email.value,password:e.currentTarget.elements.password.value,phoneNumber:b})},[b,k]);return(0,a.useEffect)(()=>{let e=localStorage.getItem("handbookBuilderForm");if(e)try{var t,s;let r=JSON.parse(e),a=(null==r||null==(s=r.state)||null==(t=s.handbookData)?void 0:t.companyName)||"";a?w("Continue to download your free handbook for "+a):w("Get started with a Free account")}catch(e){}},[]),(0,r.jsx)("div",{className:"profile-authentication-area signup-auth-layout",children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"signup-card-column col-lg-3 col-md-5 col-sm-10 offset-lg-4 offset-md-1 offset-sm-1",children:(0,r.jsxs)(u.V,{title:v,subtitle:"Sign up in seconds. No credit card required.",className:"!px-6 !py-6 sm:!px-8 sm:!py-8",wrapperClassName:"signup-card-wrapper !w-full max-w-[calc(100vw-2rem)] !px-0 !py-3",children:[(0,r.jsxs)("button",{type:"button",onClick:y,className:m.Rg,children:[(0,r.jsx)(h(),{src:"/images/login/google_button.png",alt:"",width:18,height:18}),(0,r.jsx)("span",{children:"Continue with Google"})]}),(0,r.jsx)("div",{className:"auth-provider-gap !mt-3",children:(0,r.jsx)(x.A,{appearance:"provider"})}),(0,r.jsxs)("div",{className:"auth-divider !my-5 flex items-center gap-3","aria-hidden":"true",children:[(0,r.jsx)("span",{className:"h-px flex-1 bg-gray-200"}),(0,r.jsx)("span",{className:"text-xs font-medium text-gray-400",children:"or"}),(0,r.jsx)("span",{className:"h-px flex-1 bg-gray-200"})]}),(0,r.jsxs)("form",{method:"post",onSubmit:L,children:[(0,r.jsxs)("div",{className:"auth-field-group !mb-4",children:[(0,r.jsx)("label",{htmlFor:"email",className:"!mb-1.5 block text-sm font-semibold text-text-default",children:"Email address"}),(0,r.jsx)("input",{type:"email",id:"email",name:"email",className:m.Jf,placeholder:"Email",autoComplete:"email",required:!0})]}),(0,r.jsxs)("div",{className:"auth-field-group !mb-4",children:[(0,r.jsx)("label",{htmlFor:"password",className:"!mb-1.5 block text-sm font-semibold text-text-default",children:"Create password"}),(0,r.jsx)("input",{type:"password",id:"password",name:"password",className:m.Jf,placeholder:"Password",onChange:e=>t(e.target.value),autoComplete:"new-password",minLength:8,maxLength:128,required:!0})]}),(0,r.jsxs)("p",{className:"auth-supporting-copy !mb-4 text-center text-sm leading-5 text-text-weak",children:["By creating an account, you agree to our"," ",(0,r.jsx)(o.A,{href:"/terms/",className:"font-semibold text-brand-blue hover:underline",children:"Terms of Use"})," ","and"," ",(0,r.jsx)(o.A,{href:"/privacy/",className:"font-semibold text-brand-blue hover:underline",children:"Privacy Policy"}),"."]}),(0,r.jsx)("div",{className:"phoneInput ".concat(s?"visible":""),children:(0,r.jsxs)("div",{className:"auth-field-group !mb-4",children:[(0,r.jsx)("label",{htmlFor:"company-role",className:"!mb-1.5 block text-sm font-semibold text-text-default",style:{visibility:s?"visible":"hidden"},children:"What is your role in the company?"}),(0,r.jsx)(l.m,{id:"company-role",ariaLabel:"What is your role in the company?",ariaDescribedBy:f?"company-role-error":void 0,invalid:f,options:p,value:b,onChange:e=>{g(e),j(!1)},placeholder:"Select your role",position:"top",triggerClassName:"auth-field-control !bg-white !rou
1nded-md"}),(0,r.jsx)("input",{type:"hidden",name:"companyRole",value:b}),f?(0,r.jsx)("p",{id:"company-role-error",role:"alert",className:"!mb-0 !mt-1.5 text-[13px] text-red-600",children:"Select your role to continue."}):null]})}),N?(0,r.jsx)("div",{role:"alert",className:"!mb-3",children:(0,r.jsx)(n.A,{message:N})}):null,(0,r.jsx)("button",{type:"submit",className:m.Dz,children:"Create account"}),(0,r.jsxs)("p",{className:"auth-card-footer !mb-0 !mt-4 text-center text-sm text-text-secondary",children:["Already have an account?"," ",(0,r.jsx)(o.A,{href:"/login/",className:"font-semibold text-brand-blue hover:underline",children:"Log in"})]})]})]})}),(0,r.jsx)("div",{className:"col-lg-4 offset-lg-1 col-md-6 col-sm-11 signup-sidebar",children:(0,r.jsxs)("div",{className:"signup-sidebar-container",children:[(0,r.jsx)("div",{className:"pricing-features",children:(0,r.jsxs)("ul",{children:[(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"No credit card required"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"Updated federal and state policies"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"Free basic handbook"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"Upgrade anytime"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"HR and handbook support"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"Electronic signatures"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"Handbook versioning"})]}),(0,r.jsxs)("li",{className:"flex items-start gap-3",children:[(0,r.jsx)(i.A,{width:20,height:20,className:"shrink-0"}),(0,r.jsx)("span",{children:"Automatic policy updates"})]})]})}),(0,r.jsx)("div",{className:"mt-60 ",children:(0,r.jsxs)("div",{className:"signup-testimonial align-items-center",children:[(0,r.jsx)("p",{className:"signup-testimonial-quote",children:'"We just wanted an updated, modern employee handbook for our team. This was perfect."'}),(0,r.jsxs)("div",{className:"signup-testimonial-attribution",children:[(0,r.jsx)(h(),{src:"/images/testimonial-customer2-trans.png",alt:"Sandra Erickson",width:50,height:50}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"signup-testimonial-name",children:"Sandra Erickson"}),(0,r.jsx)("p",{className:"signup-testimonial-company",children:(0,r.jsx)("em",{children:"Bonitas"})})]})]})]})}),(0,r.jsx)("br",{})]})})]})})}},8020:(e,t,s)=>{s.d(t,{m:()=>l});var r=s(37876),a=s(14232),n=s(57409),i=s(17163);let l=e=>{var t;let{options:s,value:l,onChange:o,placeholder:d="Select an option",className:c="",disabled:h=!1,position:u="bottom",size:m="md",id:x,ariaLabel:p,ariaDescribedBy:b,invalid:g=!1,triggerClassName:f=""}=e,[j,v]=(0,a.useState)(!1),w=s.find(e=>e.value===l),N=()=>{h||v(!j)},y=e=>{o(e),v(!1)},k=(0,r.jsxs)("button",{id:x,type:"button",onClick:N,onKeyDown:e=>{"Enter"===e.key||" "===e.key?(e.preventDefault(),N()):"Escape"===e.key&&v(!1)},disabled:h,"aria-haspopup":"listbox","aria-expanded":j,"aria-label":p,"aria-describedby":b,className:"\n w-full text-left bg-transparent rounded-[5px] !border !border-solid\n ".concat(g?"!border-red-500":j?"!border-brand-blue":"!border-[#ccc]","\n hover:!border-brand-blue focus:!border-brand-blue focus:outline-none\n flex items-center justify-between gap-1\n transition-colors duration-200\n ").concat("sm"===m?"!px-2.5 !py-1.5 text-sm":"!px-4 !py-3","\n ").concat(h?"opacity-50 cursor-not-allowed":"cursor-pointer","\n ").concat(f,"\n "),children:[(0,r.jsx)("span",{className:w?"text-text-primary":"text-gray-400",children:w?null!=(t=w.shortLabel)?t:w.label:d}),(0,r.jsx)(n.D3,{className:"text-[#212529] transition-transform duration-200 ".concat(j?"rotate-180":""),size:20})]});return(0,r.jsx)(i.z,{isOpen:j,onClose:()=>v(!1),trigger:k,position:u,width:"trigger",containerClassName:"relative ".concat(c),className:"px-0 bg-white border border-gray-200 rounded-lg shadow-lg",children:(0,r.jsx)("ul",{role:"listbox",className:"px-0 m-0 list-none",children:s.map(e=>{let t=e.value===l;return(0,r.jsxs)("li",{role:"option","aria-selected":t,tabIndex:0,onClick:()=>y(e.value),onKeyDown:t=>((e,t)=>{"Enter"===e.key||" "===e.key?(e.preventDefault(),y(t)):"Escape"===e.key&&v(!1)})(t,e.value),className:"\n !py-1.5 !px-3 cursor-pointer transition-colors duration-150 text-left flex items-center gap-2 ".concat("sm"===m?"text-sm":"text-base","\n ").concat(t?"text-brand-blue font-medium":"text-text-primary","\n hover:bg-brand-blue hover:text-white\n "),children:[(0,r.jsx)("span",{children:e.label}),t&&(0,r.jsx)("span",{className:"flex-shrink-0",children:(0,r.jsx)(n.Sr,{size:14})})]},e.value)})})})}},9527:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(37876);function a(e){let{message:t}=e;return(0,r.jsx)("div",{className:"error-message",children:t})}},17163:(e,t,s)=>{s.d(t,{z:()=>i});var r=s(37876),a=s(14232),n=s(98477);let i=e=>{let{isOpen:t,onClose:s,trigger:i,position:l="bottom",width:o="trigger",className:d="",containerClassName:c="",children:h}=e,u=(0,a.useRef)(null),[m,x]=(0,a.useState)(!1),[p,b]=(0,a.useState)({}),g=(0,a.useCallback)(()=>
1{if(!u.current)return;let e=u.current.getBoundingClientRect(),t={position:"fixed",zIndex:99999,fontFamily:'var(--font-roboto-slab, "Roboto Slab", serif)'};switch("trigger"===o?t.width=e.width:"auto"!==o&&(t.width=o),l){case"center":t.top="50%",t.left="50%",t.transform="translate(-50%, -50%)",t.maxHeight=window.innerHeight-32,t.maxWidth="calc(100vw - ".concat(32,"px)");break;case"top":t.bottom=window.innerHeight-e.top+4,t.left=e.left,t.maxHeight=e.top-4-16;break;case"bottom":t.top=e.bottom+4,t.left=e.left,t.maxHeight=window.innerHeight-e.bottom-4-16;break;case"bottom-right":t.top=e.bottom+4,t.right=window.innerWidth-e.right,t.maxHeight=window.innerHeight-e.bottom-4-16;break;case"left":t.right=window.innerWidth-e.left+4,t.top=e.top,t.maxHeight=window.innerHeight-e.top-16;break;case"right":t.left=e.right+4,t.top=e.top,t.maxHeight=window.innerHeight-e.top-16}t.overflowY="auto",b(t)},[l,o]);(0,a.useEffect)(()=>{x(!0)},[]),(0,a.useEffect)(()=>{if(!t)return;g();let e=()=>g(),s=()=>g();return window.addEventListener("resize",e),window.addEventListener("scroll",s,!0),()=>{window.removeEventListener("resize",e),window.removeEventListener("scroll",s,!0)}},[t,g]);let f=m&&t&&(0,n.createPortal)((0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"fixed inset-0",style:{zIndex:99998},onClick:s}),(0,r.jsx)("div",{style:p,className:d,children:h})]}),document.body);return(0,r.jsxs)("div",{ref:u,className:c,children:[i,f]})}},29353:(e,t,s)=>{s.d(t,{Dz:()=>a,Jf:()=>n,Rg:()=>r});let r="auth-secondary-control !flex min-h-[50px] w-full !items-center !justify-center gap-2.5 !mt-0 !rounded-md !border !border-gray-200 !bg-white !px-4 !py-3 text-[15px] font-semibold !text-text-primary transition-colors hover:!border-brand-blue hover:!bg-brand-light-blue hover:!text-brand-blue hover:!no-underline focus-visible:!outline-none focus-visible:!ring-2 focus-visible:!ring-brand-blue focus-visible:!ring-offset-2 disabled:!cursor-not-allowed disabled:!opacity-60",a="auth-primary-control w-full !mt-0 !rounded-md !border !border-brand-blue !bg-brand-blue !px-4 !py-3 text-[15px] font-semibold !text-white transition-colors hover:!bg-brand-blue-dark hover:!text-white focus-visible:!outline-none focus-visible:!ring-2 focus-visible:!ring-brand-blue focus-visible:!ring-offset-2 disabled:!cursor-not-allowed disabled:!opacity-60",n="auth-field-control w-full rounded-md border border-gray-200 bg-white px-4 py-3 text-[15px] text-text-default placeholder:text-gray-400 focus:border-brand-blue focus:outline-none focus:ring-1 focus:ring-brand-blue disabled:cursor-not-allowed disabled:bg-gray-50"},57409:(e,t,s)=>{s.d(t,{C1:()=>i,Sr:()=>l.S,D3:()=>r.D,vK:()=>n}),s(94696);var r=s(76524),a=s(37876);s(14232);let n=e=>{let{className:t="",size:s=20}=e;return(0,a.jsx)("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",className:t,"aria-hidden":"true",children:(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})},i=e=>{let{className:t="",size:s=16}=e;return(0,a.jsxs)("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",className:t,"aria-hidden":"true",children:[(0,a.jsx)("circle",{cx:"12",cy:"12",r:"10",strokeWidth:1.5}),(0,a.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:1.5,d:"M8 12l3 3l5-6"})]})};var l=s(58741)},58741:(e,t,s)=>{s.d(t,{S:()=>a});var r=s(37876);s(14232);let a=e=>{let{size:t=24,className:s=""}=e;return(0,r.jsx)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:(0,r.jsx)("path",{d:"M20 6L9 17L4 12",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}},76524:(e,t,s)=>{s.d(t,{D:()=>a});var r=s(37876);s(14232);let a=e=>{let{className:t="",size:s=20}=e;return(0,r.jsx)("svg",{width:s,height:s,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",className:t,"aria-hidden":"true",children:(0,r.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})}},82765:(e,t,s)=>{s.d(t,{A:()=>a});var r=s(37876);s(14232);let a=e=>{let{width:t=20,height:s=20,className:a="",backgroundColor:n="#F4B350"}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:s,viewBox:"0 0 20 20",fill:"none",className:a,children:[(0,r.jsx)("path",{d:"M9.99984 18.3337C14.6022 18.3337 18.3332 14.6027 18.3332 10.0003C18.3332 5.39795 14.6022 1.66699 9.99984 1.66699C5.39746 1.66699 1.666
15 5.39795 1.6665 10.0003C1.6665 14.6027 5.39746 18.3337 9.99984 18.3337Z",fill:n,stroke:n,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M6.6665 10L8.88873 12.5L13.3332 7.5",stroke:"white",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})]})}},94696:(e,t,s)=>{s.d(t,{Z:()=>a});var r=s(37876);s(14232);let a=e=>{let{size:t=14,className:s="",color:a="#212529"}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:t,height:t,viewBox:"0 0 18 18",fill:"none",className:s,children:[(0,r.jsx)("path",{d:"M9 14.25L3.75 9L9 3.75",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M14.25 9H3.75",stroke:"#212529",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}}}]);
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.