PageSourceSearch

https://static.zippia.com/ui-router/blue/2.9.4.p2/2026-09-10-16-17…/pages/dashboardAdmin-1458fc09c454b584.js

js zippia.com collected 2026-09-24 08:25:37 UTC 65,451 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9330,8471,2451,4180],{91690:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/dashboardAdmin",function(){return n(86971)}])},18185:function(e,t,n){"use strict";n.d(t,{xz:function(){return b},ZP:function(){return w}});var a=n(91946),r=n(68772),i=n(93334),o=n(50919),l=n(24246),s=n(27378),c=n(90005),u=n.n(c),d=n(8232),p=n(53532),h=n(8471),m=(0,s.createContext)(null),f=function(){var e=(0,s.useContext)(m);if(!e)throw new Error("useFormFieldContext must be used within <Root>");return e},v=function(e){var t=e.hasError,n=e.id,a=e.children,r=(0,s.useRef)(null);(0,s.useEffect)((function(){if(null==r?void 0:r.current){var e=function(){r.current.dataset.empty=""===r.current.value.trim()?"true":"false"};return e(),r.current.addEventListener("input",e),function(){var t;null===(t=r.current)||void 0===t||t.removeEventListener("input",e)}}}),[]);var i={hasError:t,inputRef:r,id:n};return(0,l.jsx)(m.Provider,{value:i,children:a})},_=n(85917),g=n.n(_),x=function(e){var t,n=e.className,s=void 0===n?"":n,c=e.children,d=e.keepShrunk,p=void 0!==d&&d,h=e.hasError,m=e.htmlFor,f=(0,o.Z)(e,["className","children","keepShrunk","hasError","htmlFor"]);return(0,l.jsx)("label",(0,i.Z)((0,r.Z)({className:u()(g().label,"z-font-16 mb-0 position-absolute z-t-0 z-l-0 mw-100 z-px-4",s,(t={},(0,a.Z)(t,g().error,h),(0,a.Z)(t,g()["keep-shrunk"],p),t)),id:"".concat(m,"-label"),htmlFor:m},f),{children:c}))},y=(0,s.forwardRef)((function(e,t){var n,s=e.className,c=void 0===s?"":s,d=e.children,p=e.hasAdornmentLeft,h=void 0!==p&&p,m=e.hasError,f=(0,o.Z)(e,["className","children","hasAdornmentLeft","hasError"]);return(0,l.jsx)("div",(0,i.Z)((0,r.Z)({ref:t,className:u()("d-flex align-items-center z-br-4",g()["input-container"],(n={},(0,a.Z)(n,g().error,m),(0,a.Z)(n,g()["has-adornment"],h),n),c)},f),{children:d}))})),b=(0,s.forwardRef)((function(e,t){var n=e.children,a=e.label,s=e.hasError,c=e.id,d=e.className,p=e.dropdownStatus,h=void 0===p?null:p,m=e.keepShrunk,f=e.disabled,v=(0,o.Z)(e,["children","label","hasError","id","className","dropdownStatus","keepShrunk","disabled"]),_=Array.isArray(n)?!!(null==n?void 0:n.length):!!n;return(0,l.jsxs)(y,(0,i.Z)((0,r.Z)({ref:t,hasError:s,className:u()("position-relative cursor-pointer z-pl-16",d),"data-disabled":!!f,tabIndex:0},v),{children:[a&&(0,l.jsx)(x,{htmlFor:c,hasError:s,keepShrunk:null!=m?m:_,children:a}),n,void 0!==h&&(0,l.jsx)("span",{className:u()("icon-caret-right","square-icon ml-auto z-mr-14 z-font-15",g()["dd-icon"]),"data-status":h,"aria-label":"Dropdown indicator"})]}))})),N=function(e){var t=e.className,n=void 0===t?"":t,i=e.children,c=(0,o.Z)(e,["className","children"]),d=f().hasError,p=s.Children.map(i,(function(e){var t;return(0,s.isValidElement)(e)?(0,s.cloneElement)(e,(0,r.Z)({className:u()(null===(t=e.props)||void 0===t?void 0:t.className,"flex-center flex-shrink-0 z-font-24",g().adornment,(0,a.Z)({},g().error,d),n)},c)):e}));return(0,l.jsx)(l.Fragment,{children:p})},Z=function(e){var t=e.className,n=void 0===t?"":t,a=e.children,s=e.hasError,c=e.id,d=(0,o.Z)(e,["className","children","hasError","id"]);return(0,l.jsx)(v,{hasError:s,id:c,children:(0,l.jsx)("div",(0,i.Z)((0,r.Z)({className:u()("position-relative z-font-16",g().container,n)},d),{children:a}))})},C=(0,s.forwardRef)((function(e,t){var n=e.className,a=void 0===n?"":n,c=e.type,d=void 0===c?"text":c,p=e.adornmentLeft,h=void 0===p?null:p,m=e.adornmentRight,v=void 0===m?null:m,_=e.placeholder,x=(0,o.Z)(e,["className","type","adornmentLeft","adornmentRight","placeholder"]),b=f(),Z=b.inputRef,C=b.id,S=b.hasError;return(0,s.useImperativeHandle)(t,(function(){return Z.current})),(0,l.jsxs)(y,{hasAdornmentLeft:!!h,hasError:S,children:[h&&(0,l.jsx)(N,{className:g().left,children:h}),(0,l.jsx)("input",(0,i.Z)((0,r.Z)({ref:Z,id:C,type:d,className:u()("border-0 bg-transparent w-100 h-100 py-0 z-pr-0",h?"z-pl-4":"z-pl-15",g().input,g()["minh-54"],a),"aria-labelledby":"".concat(C,"-label"),"aria-describedby":"".concat(C,"-description ").concat(C,"-error")},x),{placeholder:_})),v&&(0,l.jsx)(N,{className:g().right,children:v})]})})),S=(0,s.forwardRef)((function(e,t){var n=e.className,a=void 0===n?"":n,i=(0,o.Z)(e,["className"]),c=f(),d=c.inputRef,p=c.id,h=c.hasError;return(0,s.useImperativeHandle)(t,(function(){return d.current})),(0,l.jsx)(y,{hasError:h,children:(0,l.jsx)("textarea",(0,r.Z)({ref:d,id:p,className:u()("border-0 bg-transparent w-100 z-pt-16 z-pr-0 z-px-16",g().input,g().textarea,g()["minh-54"],a),autoComplete:"off","aria-labelledby":"".concat(p,"-label"),"aria-describedby":"".concat(p,"-description ").concat(p,"-error")},i))})})),j=(0,s.forwardRef)((function(e,t){var n=e.className,a=void 0===n?"":n,i=e.rows,c=void 0===i?1:i,p=(0,o.Z)(e,["className","rows"]),h=f(),m=h.inputRef,v=h.id,_=h.hasError;return(0,s.useImperativeHandle)(t,(function(){return m.current})),(0,l.jsx)(y,{hasError:_,children:(0,l.jsx)(d.Z,(0,r.Z)({ref:m,id:v,spellCheck:!1,rows:c,className:u()("border-0 bg-transparent w-100 z-py-16 z-pr-0 z-px-16",g().input,a),"aria-labelledby":"".concat(v,"-label"),"aria-describedby":"".concat(v,"-description ").concat(v,"-error")},p))})}));Z.Label=function(e){var t=f(),n=t.hasError,a=t.id;return(0,l.jsx)(x,(0,r.Z)({hasError:n,htmlFor:a},e))},Z.Error=function(e){var t=e.className,n=void 0===t?"":t,a=e.children,s=(0,o.Z)(e,["className","children"]),c=f().id;return a?(0,l.jsx)("p",(0,i.Z)((0,r.Z)({className:u()("z-font-12 z-mt-4 z-ml-16 mb-0",g()["error-text"],n)},s),{id:"".concat(c,"-error"),children:a})):null},Z.InputAdornment=N,Z.HelperText=function(e){var t=e.className,n=void 0===t?"":t,a=e.children,s=(0,o.Z)(e,["className","children"]),c=f(),d=c.hasError,p=c.id;return d?null:(0,l.jsx)("p",(0,i.Z)((0,r.Z)({className:u()("z-font-12 z-mt-4 z-ml-16 mb-0",g()["helper-text"],n),id:"".concat(p,"-description")},s),{children:a}))},Z.TextInput=C,Z.TextArea=S,Z.AutoresizeTextArea=j,Z.Autosuggest=function(e){var t=e.className,n=void 0===t?"":t,a=e.inputClassName,i=void 0===a?"":a,c=e.inputProps,d=e.value,h=e.onChange,m=(0,o.Z)(e,["className","inputClassName","inputProps","value","onChange"]),v=f(),_=v.id,x=v.hasError,b=(0,s.use
1State)(null),N=b[0],Z=b[1];return(0,s.useEffect)((function(){var e;null==N||null===(e=N._typeahead)||void 0===e||e.setState({text:d||"",selected:[]})}),[d]),(0,l.jsx)(y,{hasError:x,children:(0,l.jsx)(p.default,(0,r.Z)({prefillValue:d,onChange:h,myRef:function(e){return Z(e)},className:u()("w-100",n),inputProps:(0,r.Z)({className:u()("border-0 w-100 z-pr-0 z-px-16",g().input,g()["minh-54"],i),id:_,autoComplete:"off","data-hj-whitelist":!0,"data-empty":!d},c)},m))})},Z.AutosuggestSync=function(e){var t=e.className,n=void 0===t?"":t,a=e.inputClassName,i=void 0===a?"":a,s=e.inputProps,c=e.value,d=e.onChange,p=e.dataset,m=(0,o.Z)(e,["className","inputClassName","inputProps","value","onChange","dataset"]),v=f(),_=v.id,x=v.hasError;return(0,l.jsx)(y,{hasError:x,children:(0,l.jsx)(h.default,(0,r.Z)({dataset:p,prefillValue:c,onChange:d,className:u()("w-100",n),pure:!0,inputProps:(0,r.Z)({className:u()("border-0 bg-transparent w-100 z-pr-0 z-px-16",g().input,g()["minh-54"],g()["rbt-override"],i),id:_},s)},m))})};var w=Z},49914:function(e,t,n){"use strict";var a=n(24246),r=n(27378),i=n(37254),o=n(90104),l=n.n(o),s=n(88038),c=n.n(s),u=n(43218),d=n.n(u),p=n(2294),h=function(e){var t=function(){return h||(m?(0,p.jvJ)(m)?m:"".concat(x,"/assets/").concat(m):"https://static.zippia.com/assets/zippia-og-image.png")},n=e.TITLE,i=e.META_DESCRIPTION,o=e.META_KEYWORDS,s=e.OG_TITLE,u=e.OG_META_DESCRIPTION,h=e.OG_IMAGECOMPANY,m=e.OG_IMAGE,f=e.PUBLISHED_TIME,v=e.MODIFIED_TIME,_=e.UPDATED_TIME,g=e.SQUARE_WEB_SDK_CDN,x=e.host,y=e.url,b=e.noIndex,N=e.indexAndNoFollow,Z=e.relCanonical,C=e.pageCategory,S=e.structuredData,j=e.userGroup,w=e.indexAndFollow,z=e.useStaticOgImage,E=void 0===z||z,I=e.META_RSS_TITLE;(0,r.useEffect)((function(){/MSIE \d|Trident.*rv:/.test(navigator.userAgent)&&(window.location.href="microsoft-edge:".concat(window.location.href),setTimeout((function(){window.location.href="https://go.microsoft.com/fwlink/?linkid=2135547"}),1))}),[]);var F=Array.isArray(S)?null==S?void 0:S.filter((function(e){return!l()(e)})):S;return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(c(),{children:[(0,a.jsx)("title",{children:n}),i&&(0,a.jsx)("meta",{name:"description",content:i}),(0,a.jsx)("meta",{name:"author",content:""}),o&&(0,a.jsx)("meta",{name:"keywords",content:o}),(0,a.jsx)("meta",{property:"og:title",content:s}),(0,a.jsx)("meta",{property:"og:type",content:"website"}),(0,a.jsx)("meta",{property:"og:url",content:x+y}),(0,a.jsx)("meta",{property:"og:description",content:u}),f&&v&&_&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("meta",{property:"article:published_time",content:f}),(0,a.jsx)("meta",{property:"article:modified_time",content:v}),(0,a.jsx)("meta",{property:"og:updated_time",content:_})]}),(0,a.jsx)("meta",{name:"twitter:card",content:"summary"}),(0,a.jsx)("meta",{name:"twitter:site",content:"@ZippiaInc"}),(0,a.jsx)("meta",{name:"twitter:title",content:s}),(0,a.jsx)("meta",{name:"twitter:url",content:x+y}),(0,a.jsx)("meta",{name:"twitter:description",content:u}),(0,a.jsx)("meta",{charSet:"utf8"}),(0,a.jsx)("meta",{name:"twitter:image:src",content:t()}),(0,a.jsx)("meta",{property:"fb:app_id",content:"508633732650088"}),(0,a.jsx)("meta",{property:"og:image",content:E?"https://static.zippia.com/assets/zippia-og-image.png":t()}),b&&(0,a.jsx)("meta",{name:"robots",content:"noindex, follow"}),!b&&N&&(0,a.jsx)("meta",{name:"robots",content:"index, nofollow"}),!b&&w&&(0,a.jsx)("meta",{name:"robots",content:"index, follow"}),Z&&!b&&(0,a.jsx)("link",{rel:Z.rel,href:Z.href}),!b&&I&&(0,a.jsx)("link",{rel:"alternate",type:"application/rss+xml",title:I,href:"".concat(x+y,"feed/")}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:" var pageCategory = '".concat(C,"';")}}),(0,a.jsx)("script",{dangerouslySetInnerHTML:{__html:" var userGroup = '".concat(j,"';")}}),F&&(0,a.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(F)}}),g&&(0,a.jsx)("script",{src:g,async:!0,defer:!0})]}),(0,a.jsx)(d(),{src:"https://accounts.google.com/gsi/client",strategy:"lazyOnload"}),(0,a.jsx)(d(),{src:"https://www.google.com/recaptcha/api.js",strategy:"lazyOnload"})]})};h.defaultProps={userGroup:""};
1t.Z=(0,i.$j)((function(e){var t=e.locals,n="";return t&&t.userGroup&&(n=(0,p.$p6)(t.userGroup)),{userGroup:n}}),null)(h)},78052:function(e,t,n){"use strict";var a=n(91946),r=n(24246),i=(n(27378),n(90005)),o=n.n(i),l=n(23615),s=n(2294),c=n(85963),u=n.n(c),d={display:l.oneOfType([l.string,l.node]).isRequired,enable:l.bool,onClick:l.func.isRequired,theme:l.oneOf(["default","white","outlined","alt"]),containerClasses:l.string,dataTestId:l.string,hideCloseIcon:l.bool,showTextAsEllipsis:l.bool,wrapText:l.bool},p=function(e){var t,n,i=e.display,l=e.enable,c=e.onClick,d=e.theme,p=e.containerClasses,h=e.dataTestId,m=e.hideCloseIcon,f=e.showTextAsEllipsis,v=e.noCapitalize,_=e.wrapText;return(0,r.jsx)("div",{"data-testid":h,className:o()(u().zpChip,(0,a.Z)({},u()["mw-100"],_)),children:(0,r.jsxs)("div",{className:o()(u()["zp-chip-container"],"noSelect",p,(t={},(0,a.Z)(t,u().enabled,l),(0,a.Z)(t,u().whiteChip,"white"===d),(0,a.Z)(t,u().outlined,!l&&"outlined"===d),(0,a.Z)(t,u().alt,"alt"===d),(0,a.Z)(t,u().hideCloseIcon,m),(0,a.Z)(t,u()["mw-100"],!f),t)),onClick:c,onKeyDown:function(e){return[" ","Enter"].includes(e.key)&&c(e)},tabIndex:0,"data-active":l,children:["string"==typeof i?(0,r.jsx)("span",{className:o()(u()["zp-chip-display"],(n={},(0,a.Z)(n,u().noEllipsis,!f),(0,a.Z)(n,u().noCapitalize,v),(0,a.Z)(n,u().wrapText,_),n)),children:i}):i,!m&&(0,r.jsx)("img",{src:(0,s.uNo)("/ui-router/images/select-x.svg"),className:u()["zp-chip-x"]})]})})};p.propTypes=d,p.defaultProps={enable:!1,theme:"default",hideCloseIcon:!1,showTextAsEllipsis:!0,noCapitalize:!1,wrapText:!1},t.Z=p},9301:function(e,t,n){"use strict";var a=n(91946),r=n(68772),i=n(24246),o=(n(27378),n(90005)),l=n.n(o),s=n(94847),c=n(59838),u=n.n(c);t.Z=function(e){var t,n=e.onSubmit,o=e.searchError,c=e.searchSuccess,d=e.inputProps;return(0,i.jsxs)("form",{onSubmit:n,className:l()(u()["admin-search"],(t={},(0,a.Z)(t,u().error,o),(0,a.Z)(t,u().success,c),t)),children:[(0,i.jsx)("input",(0,r.Z)({},d)),(0,i.jsx)(s.ZP,{type:"submit",size:"big",className:"admin-search-button",theme:"super-primary",children:(0,i.jsx)("i",{className:"fa icon-search"})})]})}},8232:function(e,t,n){"use strict";var a=n(68772),r=n(93334),i=n(50919),o=n(24246),l=n(27378),s=n(90005),c=n.n(s),u=(0,l.forwardRef)((function(e,t){var n=e.minHeight,s=void 0===n?48:n,u=(e.forceRecalc,e.inputClassName),d=(0,i.Z)(e,["minHeight","forceRecalc","inputClassName"]),p=(0,l.useRef)(null),h=(0,l.useRef)(null),m=c()("jobDescriptionTextarea zippiaInput mb-0 fullwidthInput form-control py-2",u);(0,l.useImperativeHandle)(t,(function(){return p.current}));var f=function(e){if((null==p?void 0:p.current)&&(null==h?void 0:h.current)){var t=e.target.value;h.current.textContent="".concat(t)+"\n";var n=Math.max(h.current.scrollHeight,s);p.current.style.height="".concat(n,"px"),h.current.style.setProperty("width","".concat(p.current.clientWidth,"px"),"important")}};return(0,l.useLayoutEffect)((function(){(null==p?void 0:p.current)&&(null==h?void 0:h.current)&&(p.current.addEventListener("input",f),f({target:{value:d.value}}))}),[]),(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("textarea",(0,r.Z)((0,a.Z)({className:m,style:{resize:"none",height:"max-content",overflowY:"hidden"}},d),{ref:p})),(0,o.jsx)("div",{ref:h,"aria-hidden":!0,className:d.className||m,style:(0,r.Z)((0,a.Z)({},(null==d?void 0:d.style)||{}),{position:"absolute",visibility:"hidden",height:"initial",whiteSpace:"pre-wrap",wordBreak:"break-word",top:0,width:"100%"})})]})}));u.displayName="AutoresizeTextarea",t.Z=u},8471:function(e,t,n){"use strict";n.r(t);var a=n(68772),r=n(93334),i=n(24246),o=n(27378),l=n(75060),s=n(2294),c={autoComplete:"off","data-hj-whitelist":!0};t.default=function(e){var t=e.dataset,n=void 0===t?[]:t,u=e.inputProps,d=void 0===u?{}:u,p=e.category,h=void 0===p?"dataset":p,m=e.placeholder,f=void 0===m?"":m,v=e.onChange,_=void 0===v?function(){}:v,g=e.onFocus,x=void 0===g?function(){}:g,y=e.autoFocus,b=void 0!==y&&y,N=e.selectInputTextOnFocus,Z=void 0===N||N,C=e.prefillValue,S=void 0===C?"":C,j=e.onEnterKeyDown,w=void 0===j?function(){}:j,z=e.pure,E=void 0!==z&&z,I=(0,o.useState)([]),F=I[0],k=I[1],T=(0,o.useMemo)(s.lX1,[]),P=[];(0,o.useEffect)((function(){var e;k((e=[],n.length&&(e=n.map((function(e){var t=e.text,n=void 0===t?"":t,a=e.value;return{display_name:n,value:void 0===a?"":a}}))),e))}),[]);var A=function(){_({displayValue:arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",value:arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",isNormalized:arguments.length>2&&void 0!==arguments[2]&&arguments[2],suggestionSelected:arguments.length>3&&void 0!==arguments[3]&&arguments[3]})},R=function(e){var t=e.children;return E?(0,i.jsx)(i.Fragment,{children:t}):(0,i.jsx)("form",{autoComplete:"off",children:t})};return(0,i.jsx)(R,{children:(0,i.jsx)(l.pY,{id:T,autoFocus:b,options:F,placeholder:f,defaultInputValue:S,onChange:function(e){var t=(null==e?void 0:e[0])||{}||{},n=t.display_name,a=void 0===n?"":n,r=t.value;A(a,void 0===r?"":r,!0,!0)},onInputChange:function(e){var t=P.find((function(t){return t.display_name.toLowerCase()===e.toLowerCase()}))||{},n=t.display_name,a=t.value;n&&a?A(n,a,!0):A(e,a)},labelKey:function(e){return e.display_name},onFocus:function(e){var t=e.target;Z&&t&&t.value&&t.value.length&&(t.select(),t.setSelectionRange(0,t.value.length)),x(e)},shouldSelect:function(e,t){return 13===t.keyCode||e},defaultOpen:!1,emptyLabel:!1,searchText:!1,onKeyDown:function(e){13===e.which&&(e.stopPropagation(),e.preventDefault(),w(e))},renderMenu:function(e,t,n){return 0===e.length?null:(P=e,(0,i.jsx)(l.v2,(0,r.Z)((0,a.Z)({},t),{children:e.map((function(e,t){return(0,i.jsx)(l.sN,{option:e,position:t,children:(0,i.jsx)(l.oP,{search:n.text,children:e.display_name})},"".concat(e.display_name,"-").concat(t))}))})))},className:"w-100",inputProps:(0,a.Z)({name:h,type:"text"},d,c)})})}},81305:function(e,t,n){"use strict";var a=n(91946),r=n(53573),i=n(24246),o=n(27378),l=n(90005),s=n.n(l),c=n(94847),u=n(78052),d=n(21274),p=n.n(d);t.Z=function(e){var t=e.chips,n=e.expandable,l=void 0===n||n,d=e.selectedChips,h=void 0===d?[]:d,m=e.chipTheme,f=void 0===m?"default":m,v=e.chipContainerClass,_=void 0===v?"":v,g=e.onChipClick,x=void 0===g?function(){return null}:g,y=e.onMouseOver,b=void 0===y?function(){return null}:y,N=e.onMouseLeave,Z=void 0===N?function(){return null}:N,C=e.hideCloseIcon,S=void 0===C||C,j=e.noCapitalize,w=void 0!==j&&j,z=e.chipItemClass,E=void 0===z?p().chip:z,I=e.emptyMessage,F=void 0===I?"":I,k=e.selectAllOption,T=void 0!==k&&k,P=h.length===t.length,A=(0,o.useCallback)((function(e){return h.includes(e)}),[h]),R=(0,o.useCallback)((function(e){var t=(0,r.Z)(h);t=A(e)?h.filter((function(t){return t!==e})):(0,r.Z)(h).concat([e]),x(t,e)}),[x,h,A]);return(0,i.jsx)("div",{"data-testid":"chip-list",onMouseOver:b,onMouseLeave:Z,className:s()(p().container,_,(0,a.Z)({},p().expand,l)),children:t.length>0?(0,i.jsxs)(i.Fragment,{children:[t.map((function(e,t){return(0,i.jsx)(u.Z,{display:e,theme:f,noCapitalize:w,hideCloseIcon:S,showTextAsEllipsis:!1,enable:A(e),dataTestId:"chip-item-".concat(e),containerClasses:E,onClick:function(){return R(e)}},e+t)})),T&&(0,i.jsx)(c.ZP,{className:"z-p-8",theme:"link",onClick:function(){x(P?[]:t,"Select All")},children:h.length===t.length?"Unselect":"Select all"})]}):(0,i.jsx)("p",{"data-testid":"empty-message",children:F})})}},93332:function(e,t,n){"use strict";n.d(t,{I8:function(){return j},e2:function(){return S}});var a=n(29132),r=n(91946),i=n(68772),o=n(93334),l=n(50919),s=n(59312),c=n(24246),u=n(27378),d=n(37254),p=n(9000
15),h=n.n(p),m=n(18185),f=n(64857),v=n(92243),_=n(73014),g=n(49654),x=n.n(g),y=function(e){var t=e.className,n=e.onEnterKeyDown,a=(0,l.Z)(e,["className","onEnterKeyDown"]);return(0,c.jsx)("input",(0,i.Z)({className:h()("border-0 w-100 h-100 mediumGray-text z-px-12 z-py-6",x().input,t),onKeyDown:function(e){return"Enter"===e.key&&(null==n?void 0:n())}},a))},b=function(e){var t=e.className,n=(0,l.Z)(e,["className"]);return(0,c.jsx)("span",(0,i.Z)({className:h()("icon-search",t)},n))},N=function(e){var t=e.onClick,n=e.width,a=e.height,s=e.className,u=e.withoutFocus,d=e.children,p=(0,l.Z)(e,["onClick","width","height","className","withoutFocus","children"]);return(0,c.jsx)("button",{className:"d-contents",onClick:t,onKeyDown:function(e){return"Enter"===e.key&&t()},tabIndex:0,"aria-label":"search",children:(0,c.jsx)("div",(0,o.Z)((0,i.Z)({style:{width:n,height:a},className:h()("h-100 d-flex align-items-center justify-content-center",x().button,s,(0,r.Z)({},x()["without-focus"],u))},p),{children:d}))})},Z=function(e){var t=e.children,n=e.className,a=e.minWidth,r=e.maxWidth;return(0,c.jsx)("div",{style:{minWidth:a,maxWidth:r},className:h()("d-flex align-items-center card-border-darker rounded",x().container,n),children:t})},C=function(e){var t=e.onChange,n=e.initialValue,a=void 0===n?"":n,r=(0,u.useState)(a),i=r[0],o=r[1];return(0,u.useEffect)((function(){o(a)}),[a]),{value:i,handleChange:function(e){o(e.target.value),null==t||t(e)}}},S=function(e){var t=e.onSearch,n=e.onChange,a=e.initialValue,r=e.id,l=e.hasError,s=e.label,u=e.inputProps,d=e.showSearchButton,p=e.helperText,h=C({onChange:n,initialValue:a}),f=h.value,v=h.handleChange;return(0,c.jsxs)(m.ZP,{id:r,hasError:l,children:[(0,c.jsx)(m.ZP.Label,{keepShrunk:!!f,children:s}),(0,c.jsx)(m.ZP.TextInput,(0,o.Z)((0,i.Z)({value:f,onChange:v,onEnterKeyDown:function(){return t(f)},adornmentRight:d&&(0,c.jsx)(N,{onClick:function(){return t(f)},className:x()["button-v2"],children:(0,c.jsx)(b,{style:{fontSize:"16px"},className:x()["icon-v2"]})})},u),{placeholder:""})),p&&(0,c.jsx)(m.ZP.HelperText,{children:p})]})},j=function(e){var t=e.onSearch,n=e.onChange,l=e.containerProps,u=e.inputProps,p=e.buttonProps,h=e.iconProps,m=function(e){var t,n,i=e.filterGroup,o=e.filterParam,l=e.filterOperation,c=void 0===l?v.ht.APPEND:l,u=e.onSearch,p=(0,d.I0)(),h=(0,f.C)((function(e){var t,n,a=e.searchFilter;return null==a||null===(t=a.stateHistory)||void 0===t||null===(n=t[i])||void 0===n?void 0:n.at(-1)})),m=(null==h||null===(t=h[o])||void 0===t?void 0:t.value)||"",g=(n=(0,a.Z)((function(e){return(0,s.__generator)(this,(function(t){return p((0,_.On)({filterGroup:i,newState:(0,r.Z)({},o,{value:e}),operation:c})),null==u||u(e),[2]}))})),function(e){return n.apply(this,arguments)});return{searchFilterState:m,handleSearch:g}}({filterGroup:e.filterGroup,filterParam:e.filterParam,filterOperation:e.filterOperation,onSearch:t}),g=m.searchFilterState,x=m.handleSearch,S=C({onChange:n,initialValue:g}),j=S.value,w=S.handleChange;return(0,c.jsxs)(Z,(0,o.Z)((0,i.Z)({},l),{children:[(0,c.jsx)(y,(0,i.Z)({value:j,onChange:w,onEnterKeyDown:function(){return x(j)}},u)),(0,c.jsx)(N,(0,o.Z)((0,i.Z)({onClick:function(){return x(j)}},p),{children:(0,c.jsx)(b,(0,i.Z)({},h))}))]}))};t.ZP=function(e){var t=e.onSearch,n=e.onChange,a=e.initialValue,r=e.containerProps,l=e.inputProps,s=e.buttonProps,u=e.iconProps,d=C({onChange:n,initialValue:a}),p=d.value,h=d.handleChange;return(0,c.jsxs)(Z,(0,o.Z)((0,i.Z)({},r),{children:[(0,c.jsx)(y,(0,i.Z)({value:p,onChange:h,onEnterKeyDown:function(){return t(p)}},l)),(0,c.jsx)(N,(0,o.Z)((0,i.Z)({onClick:function(){return t(p)}},s),{children:(0,c.jsx)(b,(0,i.Z)({},u))}))]}))}},64870:function(e,t,n){"use strict";n.d(t,{P:function(){return m}});var a=n(91946),r=n(68772),i=n(93334),o=n(50919),l=n(24246),s=n(8330),c=n(76575),u=n(90005),d=n.n(u),p=n(15523),h=n.n(p),m=function(e){var t=e.placeholder,n=e.children,u=e.width,p=e.full,m=e.triggerClass,f=e.disabled,v=e.size,_=void 0===v?"big":v,g=(0,o.Z)(e,["placeholder","children","width","full","triggerClass","disabled","size"]);return(0,l.jsxs)(c.fC,(0,i.Z)((0,r.Z)({},g),{disabled:f,children:[(0,l.jsxs)(c.xz,{className:d()("z-text-base text-left d-flex justify-content-between align-items-center z-br-4",h().trigger,m,{"z-py-11 z-pl-16 z-pr-10":"big"===_,"z-py-5 z-pl-12 z-pr-8 z-leading-20px":"small"===_}),style:{width:u},children:[g.value?(0,l.jsx)(c.B4,{}):(0,l.jsx)("span",{className:h().placeholder,"data-placeholder":!0,children:t}),(0,l.jsx)(c.JO,{className:h().icon,children:(0,l.jsx)("img",{src:"/ui-router/images/input-select-icon.svg"})})]}),(0,l.jsx)(c.h_,{style:{zIndex:"999999"},children:(0,l.jsx)(c.VY,{ref:function(e){return null==e?void 0:e.addEventListener("touchend",(function(e){e.cancelable&&e.preventDefault()}))},className:d()("position-relative",h().content),position:"popper",sideOffset:2,children:(0,l.jsxs)(s.fC,{className:d()("z-br-4",h().scrollRoot,(0,a.Z)({},h().full,p)),type:"auto",children:[(0,l.jsx)(c.l_,{asChild:!0,children:(0,l.jsx)(s.l_,{style:{overflowY:void 0},className:d()("z-py-16",h().scrollViewport),children:n})}),(0,l.jsx)(s.LW,{className:h().scrollbar,orientation:"vertical",children:(0,l.jsx)(s.bU,{className:h().thumb})})]})})})]}))};m.Item=function(e){var t=e.children,n=e.className,a=e.size,s=void 0===a?"big":a,u=(0,o.Z)(e,["children","className","size"]);return(0,l.jsx)(c.ck,(0,i.Z)((0,r.Z)({className:d()("z-text-base pointer",h().item,n,{"z-px-20 z-py-8":"big"===s,"z-px-10 z-py-8":"small"===s})},u),{children:(0,l.jsx)(c.eT,{children:t})}))}},62993:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});
1var a=n(24246),r=n(27378),i=n(90005),o=n.n(i),l=n(27693),s=n.n(l),c=n(69746),u=n.n(c),d=n(79913),p=n.n(d),h=n(64870),m=n(17265),f=n.n(m);s().extend(p()),s().extend(u());var v=s().months().map((function(e,t){return{value:t.toString(),text:e}}));function _(e){var t,n,i,l,c,u=e.date,d=e.className,p=e.onChange,m=(0,r.useState)(null===(t=null==u?void 0:u.month())||void 0===t?void 0:t.toString()),_=m[0],g=m[1],x=(0,r.useState)(null!==(l=null===(n=null==u?void 0:u.date())||void 0===n?void 0:n.toString())&&void 0!==l?l:""),y=x[0],b=x[1],N=(0,r.useState)(null!==(c=null===(i=null==u?void 0:u.year())||void 0===i?void 0:i.toString())&&void 0!==c?c:""),Z=N[0],C=N[1];return(0,r.useEffect)((function(){!function(){if(_&&y&&Z){var e=s()().set("month",parseInt(_)).set("date",parseInt(y)).set("year",parseInt(Z)).set("hour",0).set("minute",0).set("second",0).set("millisecond",0);p(e)}}()}),[Z,_,y]),(0,a.jsxs)("div",{className:o()("d-flex flex-column flex-md-row",f().dateField,d),children:[(0,a.jsx)(h.P,{placeholder:"Month",value:_,onValueChange:g,triggerClass:f().dateMonth,size:"small",children:v.map((function(e){var t=e.text,n=e.value;return(0,a.jsx)(h.P.Item,{className:f().dateMonth,value:n,size:"small",children:t},t)}))}),(0,a.jsx)("input",{placeholder:"Day",value:y,className:o()("zp-input z-px-12 z-py-6 z-leading-20px",f().dateDay),onChange:function(e){var t=e.target.value;""!==t&&(!/\d$/.test(t)||parseInt(t)<1||parseInt(t)>31)||b(t)}}),(0,a.jsx)("input",{placeholder:"Year",value:Z,className:o()("zp-input z-px-12 z-py-6 z-leading-20px",f().dateYear),onChange:function(e){var t=e.target.value;""!==t&&(!/\d$/.test(t)||t.length>4)||C(t)}})]})}},72451:function(e,t,n){"use strict";var a=n(91946),r=n(78203),i=n(53573),o=n(24246),l=n(27378),s=n(90005),c=n.n(s),u=n(81305),d=n(93332),p=n(19956),h={and:"Match All",any:"Match Any"},m="Keyword already exists.",f="You can only add up to 5 keywords.";t.Z=function(e){var t=e.keywords,n=e.onKeywordChange,s=e.onOperatorChange,v=e.operator,_=void 0===v?"and":v,g=e.maxKeywords,x=void 0===g?5:g,y=e.placeholder,b=void 0===y?"Keyword":y,N=e.hideOperator,Z=void 0!==N&&N,C=e.className,S=void 0===C?"":C,j=e.searchInputClassName,w=void 0===j?"":j,z=e.iconPropsClassName,E=void 0===z?"":z,I=e.chipContainerClass,F=void 0===I?"":I,k=e.maxLength,T=void 0===k?30:k,P=e.showSearchButton,A=e.helperText,R=void 0===A?"":A,O=e.v2,D=e.emptyMessage,L=void 0===D?"No keywords were found":D,U=e.selectAllOption,V=void 0!==U&&U,M=(0,l.useState)(""),q=M[0],K=M[1],G=(0,l.useState)(t),B=G[0],Y=G[1],H=(0,l.useState)(_),J=H[0],W=H[1],Q=(0,l.useState)(""),X=Q[0],$=Q[1],ee=(0,p.Z)(),te=B.filter((function(e){return e.enabled}));(0,l.useEffect)((function(){ee||n(B)}),[B]),(0,l.useEffect)((function(){ee||s(J)}),[J]);var ne=function(e){e&&(B.some((function(t){return t.keyword===e}))?$(m):x&&te.length>=x?$(f):(Y((0,i.Z)(B).concat([{keyword:e,enabled:!0}])),K(""),$("")))};return(0,o.jsxs)("div",{className:S,children:[O?(0,o.jsx)(d.e2,{id:"keywords-search-field",label:b,initialValue:q,onSearch:ne,onChange:function(e){return K(e.target.value)},inputProps:{maxLength:T,onBlur:function(){return ne(q)}},showSearchButton:P,helperText:R}):(0,o.jsx)(d.ZP,{initialValue:q,onSearch:ne,onChange:function(e){return K(e.target.value)},iconProps:{className:"z-pr-8 ".concat(E)},buttonProps:{withoutFocus:!0},inputProps:{placeholder:b,maxLength:T,onBlur:function(){return ne(q)},className:w}}),X&&(0,o.jsx)("p",{className:"mt-1 error-message",children:X}),(0,o.jsx)(u.Z,{noCapitalize:!0,hideCloseIcon:!1,chipContainerClass:c()("mt-3",F),chips:B.map((function(e){return e.keyword})),selectedChips:te.map((function(e){return e.keyword})),onChipClick:function(e){e.length>x?$(f):(Y(B.map((function(t){var n=t.keyword;return{keyword:n,enabled:e.includes(n)}}))),$(""))},emptyMessage:L,selectAllOption:V}),!Z&&(0,o.jsx)("div",{className:"d-flex justify-content-center align-items-center mt-4",children:Object.entries(h).map((function(e,t){var n=(0,r.Z)(e,2),i=n[0],l=n[1];return(0,o.jsx)("div",{className:c()("z-font-13 z-font-600 z-p-4 text-center border cursor-pointer",(0,a.Z)({},"text-white z-background-primary z-border-primary",i===J),(0,a.Z)({},"greyLabel",i!==J),(0,a.Z)({},"border-left-0",t>0)),style:{transition:"all .3s ease-in-out",flex:"1"},onClick:function(){return W(i)},children:l},i)}))})]})}},69013:function(e,t,n){"use strict";n.d(t,{Z:function(){return y}});
1var a=n(24246),r=n(27378),i=n(23615),o=n.n(i),l=n(18185),s=n(79073),c=n(90005),u=n.n(c),d=n(79766),p=n.n(d),h=function(e){var t=e.value,n=void 0===t?[0]:t,r=e.min,i=void 0===r?0:r,o=e.max,l=void 0===o?100:o,c=e.step,d=void 0===c?1:c,h=e.className,m=e.onValueChange;return(0,a.jsxs)(s.fC,{className:u()(p().root,h),value:n,min:i,max:l,step:d,orientation:"horizontal",onValueChange:function(e){return m(null==e?void 0:e[0])},children:[(0,a.jsx)(s.fQ,{className:u()(p().track),children:(0,a.jsx)(s.e6,{className:u()(p().range)})}),(0,a.jsx)(s.bU,{className:u()(p().thumb,"flex-center"),children:(0,a.jsx)("span",{className:"z-font-10"})})]})},m=n(2294),f={label:o().string,sliderValue:o().number,percentile90:o().number,onSalaryChange:o().func,stepSize:o().number},v=38,_=40,g={maximumSignificantDigits:7},x=function(e){var t=e.sliderValue,n=e.label,i=e.isHourly,o=e.stepSize,s=e.percentile10,c=e.percentile90,u=e.onSalaryChange,d=e.id,p=void 0===d?"":d,f=e.hasError,x=void 0!==f&&f,y=(0,r.useState)(!1),b=y[0],N=y[1],Z=o||(i?.01:1),C=i?t:(0,m.HLo)(t,g),S=i?parseFloat(c/2080):c,j=i?parseFloat(s/2080):s;return(0,a.jsxs)("div",{className:"salary-filter-container",children:[(0,a.jsxs)(l.ZP,{id:"salary-input-".concat(p),hasError:x,children:[(0,a.jsx)(l.ZP.Label,{keepShrunk:t>0,children:n}),(0,a.jsx)(l.ZP.TextInput,{value:b&&0===t?"":C,onFocus:function(){return N(!0)},onBlur:function(){return N(!1)},onChange:function(e){var t=parseFloat(e.target.value.replace(/\D/g,""));if(!(t>=1e7)){if(t>S&&(t=S),isNaN(t))return u(0);u(t)}},onKeyDown:function(e){switch(e.keyCode){case v:u(t+Z);break;case _:40===e.keyCode&&0!==t&&u(t-Z)}},adornmentLeft:(0,a.jsx)("span",{style:{fontSize:"1em",color:"inherit"},className:"w-max z-ml-16",children:"$"})})]}),(0,a.jsx)("div",{className:"salary-slider",children:(0,a.jsx)(h,{className:"z-mt-32",min:j,max:Math.max(S,t),value:[t],step:Z,onValueChange:function(e){var t=e>S?S:e;u(i?parseFloat(t).toFixed(2):t)}})})]})};x.propTypes=f,x.defaultProps={label:"Min",sliderValue:0,percentile10:0,percentile90:2e5,onSalaryChange:function(){}};var y=x},54180:function(e,t,n){"use strict";var a=n(29132),r=n(91946),i=n(68772),o=n(93334),l=n(50919),s=n(53573),c=n(59312),u=n(24246),d=n(27378),p=n(90005),h=n.n(p),m=n(27693),f=n.n(m),v=n(90104),_=n.n(v),g=n(56141),x=n.n(g),y=n(47538),b=n.n(y),N=n(62314),Z=n.n(N),C=n(65218),S=n.n(C),j=n(23615),w=n.n(j),z=n(94847),E=n(2294),I=n(10625),F=n(8993),k=n(40228),T=n(78052),P=n(62993),A=n(25),R=n(72451),O=n(69013),D=n(17265),L=n.n(D),U=S()((function(){return Promise.resolve().then(n.bind(n,53532))}),{loadableGenerated:{webpack:function(){return[53532]}},ssr:!1}),V={type:w().string.isRequired,param:w().string.isRequired,headerText:w().string,buttonText:w().string,newButtonText:w().string,showAs:w().oneOf(["button","link"]),alignRight:w().bool,filterOpen:w().bool,filterGroup:w().string,valueRange:w().arrayOf(w().shape({value:w().any,displayName:w().string})),preselectedItems:w().arrayOf(w().shape({value:w().any,displayName:w().string})),controlledValues:w().arrayOf(w().shape({value:w().any,displayName:w().string})),options:w().shape({autoSuggest:w().bool,autoSuggestFocus:w().bool,autoSuggestPlaceholder:w().string,autoSuggestOutClass:w().string,logEvent:w().any,jobTitle:w().string,limit:w().number,errorMessage:w().string,salaryFieldLabel:w().string,showOnlyEnabled:w().bool,noOverlay:w().bool,noFooter:w().bool,footerText:w().string,noClear:w().bool,educationSwitch:w().bool,buttonClassNames:w().string,enabledMoreValues:w().any,searchUnitedStates:w().any,profileJobs:w().bool,duplicateForCompact:w().bool,remote:w().bool,redirectedLoc:w().any,disableUserRatingTracking:w().bool}),disabled:w().bool,hiddenOnDisabled:w().bool,alwaysShowButtonText:w().bool,onApply:w().func,onClear:w().func,onReset:w().func,onUndo:w().func,onFilterClick:w().func,onFilterSelect:w().func,onInputChange:w().func,children:w().node,staticSuggestions:w().arrayOf(w().object),isActive:w().bool,sideBarFilters:w().bool,isMiniSidePanel:w().bool,isSingleColumnSingleFilter:w().bool,showAutoSuggestErrorMessage:w().bool,autosuggestInputErrorOnTop:w().bool,isCompact:w().bool,newDesign:w().bool,className:w().string,renderContentOnly:w().bool},M={headerText:"",buttonText:"Button",newButtonText:"",alignRight:!1,showAs:A.Dv.BUTTON,valueRange:[],preselectedItems:[],filterEnabledValues:[],options:{},disabled:!1,hiddenOnDisabled:!1,alwaysShowButtonText:!1,onClear:function(){},onApply:function(){},onFilterClick:function(){},children:null,staticSuggestions:[],isActive:null,sideBarFilters:!1,isMiniSidePanel:!1,isSingleColumnSingleFilter:!1,showAutoSuggestErrorMessage:!1,autosuggestInputErrorOnTop:!1,newDesign:!1,className:"",renderContentOnly:!1},q=function(e){var t,n,p,m,v,g,y=e.type,N=e.param,C=e.showAs,S=e.options,j=e.isCompact,w=e.headerText,D=e.buttonText,V=e.onInputChange,M=e.newButtonText,q=e.valueRange,K=e.filterOpen,G=e.alignRight,B=e.filterGroup,Y=e.preselectedItems,H=e.filterEnabledValues,J=e.disabled,W=e.hiddenOnDisabled,Q=e.alwaysShowButtonText,X=e.onApply,$=e.onClear,ee=e.onFilterClick,te=e.onFilterSelect,ne=e.controlledValues,ae=e.staticSuggestions,re=e.isActive,ie=e.sideBarFilters,oe=e.isMiniSidePanel,le=e.isSingleColumnSingleFilter,se=e.showAutoSuggestErrorMessage,ce=e.autosuggestInputErrorOnTop,ue=e.newDesign,de=e.className,pe=e.renderContentOnly,he=function(){var e=(0,s.Z)(Ze);e.forEach((function(t,n){var a=t.displayName;-1!==H.findIndex((function(e){return e.displayName===a}))?e[n].enabled=!0:(N===A.V5.SALARY&&Ae(0),e[n].enabled=!1)}));var t=e.length?e.filter((function(e){return e.enabled})):H.map((function(e){return(0,o.Z)((0,i.Z)({},e),{enabled:!0})}));Ee(fe(t)),at(e)},me=function(e){var t=q.map((function(e){return-1!==Y.findIndex((function(t){return t.displayName===e.displayName}))?(0,o.Z)((0,i.Z)({},e),{enabled:!0}):e}));return t=t.map((function(e){return-1!==H.findIndex((function(t){return t.displayName===e.displayName}))?(0,o.Z)((0,i.Z)({},e),{enabled:!0}):e})),b()((0,s.Z)(t).concat((0,s.Z)((e||H).map((function(e){return{value:e.value,displayName:e.displayName,enabled:!0}}))),(0,s.Z)(N===A.V5.LOCATION&&(null==H?void 0:H.length)?[]:Y.map((function(e){return{value:e.value,displayName:e.displayName,enabled:!0}})))),"displayName")},fe=function(e){return e.length>1?"".concat(e[0].displayName,", ..."):1===e.length?e[0].displayName:
1D},ve=(0,d.useState)(!1),_e=ve[0],ge=ve[1],xe=(0,d.useState)(""),ye=xe[0],be=xe[1],Ne=(0,d.useState)(me()),Ze=Ne[0],Ce=Ne[1],Se=void 0!==K?K:_e,je=Ze.filter((function(e){return e.enabled})),we=(0,d.useState)(fe(Y)),ze=we[0],Ee=we[1],Ie=(0,d.useState)([]),Fe=Ie[0],ke=Ie[1],Te=(0,d.useState)(Array.isArray(null===(t=Ze[0])||void 0===t?void 0:t.value)?(null===(n=Ze[0])||void 0===n||null===(p=n.value)||void 0===p?void 0:p[0])||0:(null===(m=Ze[0])||void 0===m?void 0:m.value)||0),Pe=Te[0],Ae=Te[1],Re=(0,d.useState)(8e4),Oe=Re[0],De=Re[1],Le=(0,d.useState)(2e5),Ue=Le[0],Ve=Le[1],Me=(0,d.useState)(S.educationSwitch),qe=Me[0],Ke=Me[1],Ge=(0,d.useState)({x:0,y:0}),Be=Ge[0],Ye=Ge[1],He=(0,d.useState)((null==S?void 0:S.inputField)&&(null==Y||null===(v=Y[0])||void 0===v?void 0:v.value)?Y[0].value:""),Je=He[0],We=He[1],Qe=(0,d.useState)((null==S?void 0:S.dateField)&&(null==Y||null===(g=Y[0])||void 0===g?void 0:g.value)?f()(Y[0].value,null==S?void 0:S.dateFormat):null),Xe=Qe[0],$e=Qe[1],et=(0,d.useState)(S.operator||"and"),tt=et[0],nt=et[1],at=(0,d.useCallback)((function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(Ce(e),te&&(!ie||t)){var n=e.slice(0,(null==S?void 0:S.duplicateForCompact)?1:e.length).filter((function(e){return e.enabled})).map((function(e){return{value:e.value,displayName:e.displayName}}));te(N,n)}}),[te]);function rt(){return(rt=(0,a.Z)((function(){var e,t;return(0,c.__generator)(this,(function(n){switch(n.label){case 0:return n.trys.push([0,2,,3]),[4,k.g.getEstimateSalaryForSalaryFilter({title:S.jobTitle})];case 1:return e=n.sent(),De(e.median),Ve(e.percentile),[3,3];case 2:return t=n.sent(),console.error(t),[3,3];case 3:return[2]}}
1))}))).apply(this,arguments)}(0,d.useEffect)((function(){S.jobTitle&&0===Pe&&N===A.V5.SALARY&&function(){rt.apply(this,arguments)}()}),[]),(0,d.useEffect)((function(){j&&he()}),[]),(0,d.useEffect)((function(){M&&Ee(M)}),[M]),(0,d.useEffect)((function(){at(b()((0,s.Z)(Ze).concat((0,s.Z)(q)),"displayName"))}),[q]),(0,d.useEffect)((function(){!j&&B&&y!==A.hh.MORE&&he()}),[H]),(0,d.useEffect)((function(){B||Ce((function(e){return e.map((function(e){e.enabled;var t=(0,l.Z)(e,["enabled"]);return Y.find((function(e){return e.displayName===t.displayName}))?(0,o.Z)((0,i.Z)({},t),{enabled:!0}):t}))}));var e,t,n,a,r=me(Ze);r&&r[0]&&N===A.V5.SALARY&&Ae(Array.isArray(null===(e=Ze[0])||void 0===e?void 0:e.value)?(null===(t=Ze[0])||void 0===t||null===(n=t.value)||void 0===n?void 0:n[0])||0:(null===(a=Ze[0])||void 0===a?void 0:a.value)||0);if(N===A.V5.EDUCATION&&Y.length){var s=Array.isArray(Y[0].value)?Y[0].value[0]:Y[0].value;Ke("None"===s)}}),[Y]),(0,d.useEffect)((function(){y===A.hh.MORE?Object.values((null==S?void 0:S.enabledMoreValues)||{}).forEach((function(e){(!Fe.length||st(e))&&ke((function(t){return(0,s.Z)(t).concat([e])}))})):(!Fe.length||st())&&ke((0,s.Z)(Fe).concat([je]))}),[Se]),(0,d.useEffect)((function(){var e=(0,s.Z)(Ze),t=e.findIndex((function(e){return e.enabled}));-1!==t&&q[t]&&(e[t]=(0,o.Z)((0,i.Z)({},e[t]),{value:qe?"None"===q[t].value?q[t].value:["None",q[t].value]:S.autoSuggest?e[t].value:q[t].value}),at(e))}),[qe]),(0,d.useEffect)((function(){if(ne&&Array.isArray(ne)&&ne.length){var e,t=ne.map((function(e){return e.value}));at(me(ne).map((function(e){return(0,o.Z)((0,i.Z)({},e),{enabled:t.includes(e.value)||e.forcedOption})}))),Ee(null!==(e=ne[0].displayName)&&void 0!==e?e:D)}}),[ne]);var it,ot,lt,st=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:je,t=Fe[Fe.length-1];return!_()(Z()(t,e,x()))},ct=function(e){be(e.errorMessage)},ut=function(e){void 0!==K?ee(N):ge(e)},dt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:je;!(null==Xe?void 0:Xe.isValid())&&ye||(ye&&be(""),ut(!1),y!==A.hh.MORE?st(e)&&(Ee(fe(e)),X(N,y===A.hh.MULTI?e:e.length?e[0]:[])):X())},pt=function(e){var t=e.isListOpen,n=e.suggestionSelected,a=e.displayValue,r=e.redirectedLoc,l=e.population,c=e.valueObj,u=e.expertiseAreas;if(t||a)if(je.length>=S.limit){var d="Limit of ".concat(S.limit," selections. Please remove one before adding another.");be(S.errorMessage||d)}else{be("");var p=(0,s.Z)(Ze),h=p.findIndex((function(e){return e.displayName===a}));if(!t&&n){if(-1!==h&&y!==A.hh.AUTOSUGGEST)return void(p[h].enabled||(p[h].enabled=!0,y===A.hh.SINGLE&&(p=p.map((function(e,t){return h!==t&&e.enabled&&(e.enabled=!1),e}))),at(p,!0)));var m=(0,A.VJ)(N,c);if(y===A.hh.SINGLE||y===A.hh.AUTOSUGGEST){if(V)return void(m.normalizedTitle?V(m):be(S.defaultErrorMessage));if(j&&(null==S?void 0:S.duplicateForCompact)){var f=[(0,i.Z)((0,o.Z)((0,i.Z)({value:m,displayName:a},r?{redirectedLoc:r,population:l}:{}),{enabled:!0}),(null==u?void 0:u.length)?{expertiseAreas:u}:{})];return void at(f,!0)}ht((0,i.Z)({value:m,displayName:a},r?{redirectedLoc:r,population:l}:{},(null==u?void 0:u.length)?{expertiseAreas:u}:{}))}else{var v=[(0,i.Z)((0,o.Z)((0,i.Z)({value:m,displayName:a},r?{redirectedLoc:r,population:l}:{}),{enabled:!0}),(null==u?void 0:u.length)?{expertiseAreas:u}:{})].concat((0,s.Z)(Ze));at(v,!0)}}}},ht=function(e){var t=(0,s.Z)(Ze),n=t.findIndex((function(t){return t.displayName===e.displayName}));if(-1===n||t[n].enabled)if(e.enabled){var a=t.findIndex((function(e){return e.enabled}));t[a]=(0,o.Z)((0,i.Z)({},t[a]),{enabled:!1})}else{var r=t.findIndex((function(e){return e.enabled}));-1!==r&&(t[r]=(0,o.Z)((0,i.Z)({},t[r]),{enabled:!1})),t=[(0,o.Z)((0,i.Z)({},e),{enabled:!0})].concat((0,s.Z)(t))}else{var l=t.findIndex((function(e){return e.enabled}));-1!==l&&(t[l]=(0,o.Z)((0,i.Z)({},t[l]),{enabled:!1})),t[n]=(0,o.Z)((0,i.Z)({},t[n]),{value:qe&&"None"!==t[n].value?["None",q[n].value]:Array.isArray(t[n].value)&&"None"===t[n].value[0]?t[n].value[1]:t[n].value,enabled:!0})}"None"===e.value&&Ke(!0);var c=b()(t,"displayName"),u=c.filter((function(e){return e.enabled})).map((function(e){return{value:e.value,displayName:e.displayName}}));((S.autoSuggest&&y===A.hh.SINGLE||y===A.hh.AUTOSUGGEST)&&u.length||S.noFooter)&&mt(u),at(c,!0)},mt=function(e){ye&&be(""),ut(!1),Ee(fe.apply(void 0,[e])),X(N,y===A.hh.MULTI?e:e.length?e[0]:[])},ft=function(){ye&&be("");var e=(0,s.Z)(Ze).map((function(e){return{value:e.value,displayName:e.displayName}}));N===A.V5.SALARY&&Ae(0),We(""),$e(null),ut(!1);var t=(0,s.Z)(Ze).filter((function(e){return e.enabled}));Ee(fe([])),at(e,!0),y===A.hh.MORE&&$(),t.length&&$(N,[])},vt=function(){y===A.hh.MORE?(Object.values((null==S?void 0:S.enabledMoreValues)||{}).map((function(e){return st(e)})).some((function(e){return e}))&&dt(),ut(!1)):!(null==Xe?void 0:Xe.isValid())&&ye?(ut(!1),be(""),$e(null)):st(
1)?dt():ut(!1)},_t=function(e){Ke(e.target.checked)},gt=function(e,t){return(0,a.Z)((function(){var n,a,r,l,u,d,p,h,m;return(0,c.__generator)(this,(function(c){switch(c.label){case 0:return N===A.V5.JOB_TITLE&&S.profileJobs&&t.length<=1?e&&e.displayValue?(u=e.displayValue,[4,F.Z.getAutosuggestTitles(e.displayValue)]):[2]:[3,2];case 1:if(d=c.sent(),u.toLowerCase()!==(null==d||null===(n=d[0])||void 0===n||null===(a=n.name)||void 0===a?void 0:a.toLowerCase()))return[2];p={value:(0,A.VJ)(N,{name:(null==d||null===(r=d[0])||void 0===r?void 0:r.name)||"",original_name:(null==d||null===(l=d[0])||void 0===l?void 0:l.original_name)||""}),displayName:u,enabled:!0},h=Ze.findIndex((function(e){return e.displayName===u})),m=(0,s.Z)(Ze),-1===h?at([p].concat((0,s.Z)(Ze)),!0):-1!==h&&(m[h].enabled?m[h]=(0,o.Z)((0,i.Z)({},m[h]),{enabled:!1}):m[h]=(0,o.Z)((0,i.Z)({},m[h]),{enabled:!0}),at(m,!0)),c.label=2;case 2:return[2]}}))}))},xt=function(){var e,t,n;return y===A.hh.AUTOSUGGEST?null!==(n=null==H||null===(e=H[0])||void 0===e?void 0:e.displayName)&&void 0!==n?n:null==Y||null===(t=Y[0])||void 0===t?void 0:t.displayName:""},yt=function(e){var t=(null==S?void 0:S.inputTransform)?S.inputTransform(e.target.value):e.target.value;(t||""===t)&&(We(t),at([{value:t,displayName:t,enabled:!0}],!0))},bt=function(e){var t=e.format(S.dateFormat);$e(e);var n=e.isValid(),a=!S.minDate||e.isAfter(S.minDate),r=!S.maxDate||e.isBefore(S.maxDate);n?a?r?(at([{value:t,displayName:t,enabled:!0}],!0),be("")):be("Date must be less than ".concat(S.maxDate)):be("Date must be greater than ".concat(S.minDate)):be("Enter a valid date")},Nt=function(e){at(e.map((function(e){var t=e.keyword,n=e.enabled;return{value:{keyword:t,operator:tt},displayName:t,enabled:n}})),!0)},Zt=function(e){nt(e),at((function(t){return t.map((function(t){return(0,o.Z)((0,i.Z)({},t),{value:{keyword:t.displayName,operator:e}})}))}))},Ct=function(){return(0,u.jsxs)(u.Fragment,{children:[(0,u.jsx)("div",{className:L()["filter-header"],children:N===A.V5.SALARY&&Oe<I.G8?"Minimum salary desired per hour":w}),(0,u.jsxs)("section",{className:h()("zp-filter-body",L()["filter-body"]),children:[S.autoSuggest&&(0,u.jsx)(U,{category:N,inputProps:(0,i.Z)({className:"typeahead form-control filter-input",name:N},S.autoSuggestPlaceholder?{placeholder:S.autoSuggestPlaceholder}:{}),staticSuggestions:[A.V5.COMPANY_INDUSTRY,A.V5.DEPARTMENT].includes(N)?ae:[],redirectedLoc:S.redirectedLoc,prefillValue:xt(),autoFocus:!1!==S.autoSuggestFocus||!!(null==ae?void 0:ae.length),clearOnSelect:y!==A.hh.AUTOSUGGEST,onChange:pt,onErrorCallback:ct,extended:!0,searchUnitedStates:S.searchUnitedStates,onEnterKeyDown:gt,freeTextSupported:S.profileJobs,disableUserRatingTracking:S.disableUserRatingTracking}),S.inputField&&(0,u.jsx)("input",(0,i.Z)({className:"zp-input z-px-12 z-py-6",value:Je,onChange:yt,placeholder:S.inputFieldPlaceholder},null!==(it=S.inputProps)&&void 0!==it?it:{})),S.dateField&&(0,u.jsx)(P.Z,{className:"z-mb-4",date:Xe,onChange:bt}),N===A.V5.SALARY&&(0,u.jsx)(O.Z,{label:S.salaryFieldLabel,sliderValue:Pe,isHourly:Oe<I.G8,percentile90:Ue,onSalaryChange:function(e){return function(e){Ae(e),at([{value:Oe<I.G8?2080*e:e,displayName:Oe<I.G8?"$".concat(e):(0,E.xGv)(e),enabled:!0}],!0)}(e)}}),N===A.V5.KEYWORD&&(0,u.jsx)(R.Z,{showSearchButton:!0,keywords:Ze.map((function(e){return{keyword:e.displayName,enabled:e.enabled}})),operator:tt,maxKeywords:S.limit,onKeywordChange:Nt,onOperatorChange:Zt}),N===A.V5.EXCLUDE_KEYWORDS&&(0,u.jsx)(R.Z,{showSearchButton:!0,keywords:Ze.map((function(e){return{keyword:e.displayName,enabled:e.enabled}})),operator:tt,maxKeywords:S.limit,onKeywordChange:Nt,onOperatorChange:Zt}),ye&&(0,u.jsx)("p",{className:"z-font-15 red-text font-weight-600 m-0",children:ye}),(0,u.jsxs)("section",{className:h()("zp-filter-items",L()["filter-items"],{"flex-column":null==S?void 0:S.colOptions}),children:[y===A.hh.SINGLE&&N!==A.V5.SALARY&&Ze.filter((function(e){return!S.showOnlyEnabled||e.enabled})).map((function(e,t){return(0,u.jsx)("div",{className:h()("filter-option",{enable:e.enabled},{"single-column-option":le},{"w-100":null==S?void 0:S.colOptions},(0,r.Z)({},L()["two-columns"],!(null==S?void 0:S.notTwoColumns))),onClick:function(){return ht(e)},children:e.displayName},"single-select-option-".concat(e.displayName,"-").concat(t))})),y===A.hh.MULTI&&!(null==S?void 0:S.hideFilterValues)&&Ze.map((function(e,t){return(0,u.jsx)(T.Z,{display:e.displayName,enable:e.enabled,data:e,onClick:function(){return function(e){if(je.length>=S.limit&&!e.enabled){var t="Limit of ".concat(S.limit," items. Please remove one before selecting another.");be(S.errorMessage||t)}else{be("");var n=(0,s.Z)(Ze),a=n.findIndex((function(t){return t.displayName===e.displayName}));-1!==a&&(e.enabled?n[a]=(0,o.Z)((0,i.Z)({},n[a]),{enabled:!1}):n[a]=(0,o.Z)((0,i.Z)({},n[a]),{enabled:!0})),ye&&be(""),at(n,!0)}}(e)}},"multi-select-option-".concat(e.displayName,"-").concat(t))}))]}),S.footerText&&(0,u.jsxs)("div",{className:L()["footer-text"],children:[N===A.V5.EDUCATION&&(0,u.jsxs)("label",{className:h()("switch",{checked:qe}),children:[(0,u.jsx)("input",{type:"checkbox",checked:qe,onChange:_t}),(0,u.jsx)("span",{className:"slider round"})]}),(0,u.jsx)("span",{className:h()("white-space-normal",{"ml-3":N!==A.V5.EDUCATION}),children:S.footerText})]})]})]})};if(pe)return(0,u.jsx)("div",{className:h()(L()["zp-filter-container"],"zp-filter-container"),children:(0,u.jsx)("div",{className:h()("zp-dropdown-menu z-p-0",L()["zp-dropdown-menu"],L()["zp-content-only"]),children:(0,u.jsx)("div",{className:h()("zp-filter-content z-p-0",L()["filter-content"]),children:Ct()})})});if(J&&W)return null;if(!(j&&(null==S?void 0:S.duplicateForCompact)||y!==A.hh.AUTOSUGGEST)){var St,jt,wt,zt,Et,It,Ft=null!==(Et=null==H||null===(St=H[0])||void 0===St?void 0:St.displayName)&&void 0!==Et?Et:null==Y||null===(jt=Y[0])||void 0===jt?void 0:jt.displayName;return(0,u.jsxs)("div",{id:"zp-filter","data-button-text":D,className:h()("zp-filter-container",L()["zp-filter-container"],L()["filter-auto-suggest-input"],"mr-2 position-unset",S.autoSuggestOutClass,(0,r.Z)({},L()["filter-sidebar"],ie)),children:[(0,u.jsx)(U,{category:N,inputProps:(0,i.Z)({className:ie?"filter-input":"typeahead zp-input zp-input-search",name:N},S.autoSuggestPlaceholder?{placeholder:S.autoSuggestPlaceholder}:{}),prefillValue:null!==(It=null==H||null===(wt=H[0])||void 0===wt?void 0:wt.displayName)&&void 0!==It?It:null==Y||null===(zt=Y[0])||void 0===zt?void 0:zt.dis
1playName,redirectedLoc:S.redirectedLoc,onChange:pt,extended:!0,searchUnitedStates:S.searchUnitedStates,onEnterKeyDown:gt,onErrorCallback:ct},"".concat(N,"-").concat(Ft)),ye&&se&&(0,u.jsx)("span",{className:h()(L()["auto-suggest-error-message"],"d-block m-0 z-font-15 font-600 red-text font-weight-600 z-popup-overlay",(0,r.Z)({},L()["auto-suggest-error-message-top"],ce)),children:ye})]})}return(0,u.jsxs)("div",{id:"zp-filter-".concat(N),"data-button-text":D,"data-open":Se,className:h()(de,L()["zp-filter-container"],"zp-filter-container",(ot={},(0,r.Z)(ot,L()["filter-sidebar"],ie),(0,r.Z)(ot,L()["zp-filter-v2"],ue),ot)),children:[Se&&!j&&(0,u.jsx)("div",{className:h()(L()["filters-background-overlay"],S.noOverlay?L()["no-overlay"]:""),onClick:vt}),!j&&(0,u.jsx)(z.ZP,{theme:D!==ze||re?"primary":"secondary",dropdownStatus:C!==A.Dv.LINK&&(Se?"open":"closed"),className:h()("zpBtn w-max",S.buttonClassNames,(lt={"z-br-4 z-py-8":C!==A.Dv.LINK},(0,r.Z)(lt,"".concat(L()["zp-filter-link"]," zp-filter-link z-py-0"),C===A.Dv.LINK),(0,r.Z)(lt,L()["zp-filter-button"],C!==A.Dv.LINK),(0,r.Z)(lt,L()["zp-filter-matches"],B===E.gIv.MY_PROFILE_JOBS),(0,r.Z)(lt,"active",D!==ze||re),(0,r.Z)(lt,"open",Se),(0,r.Z)(lt,"z-py-6",ue),lt)),onClick:function(e){if(oe){var t,n,a=null===(n=null==e||null===(t=e.target)||void 0===t?void 0:t.closest("button"))||void 0===n?void 0:n.getBoundingClientRect();a&&Ye({x:null==a?void 0:a.x,y:(null==a?void 0:a.y)+(null==a?void 0:a.height)})}J||(S.logEvent&&!K&&S.logEvent(),ut(!_e))},overflowHidden:!0,textNowrap:!0,children:C===A.Dv.LINK?(0,u.jsx)("a",{className:h()(L()["filter-text"],"list-link",{disabled:J}),children:Q?D:ze}):Q?D:ze}),Se&&(0,u.jsx)("div",{className:h()("zp-filter-dropdown",L()["zp-filter-dropdown"],{"align-right":G},{compact:j},{"position-fixed":oe}),style:oe?{top:(null==Be?void 0:Be.y)+5,left:null==Be?void 0:Be.x}:void 0,"data-param":N,children:(0,u.jsxs)("div",{className:h()("zp-dropdown-menu",L()["zp-dropdown-menu"]),children:[!j&&(0,u.jsxs)("menu",{className:h()("d-flex d-lg-none justify-content-between align-items-center my-0 zp-filter-toolbar",L()["filter-toolbar"]),children:[(0,u.jsx)("img",{src:(0,E.uNo)("/ui-router/images/select-x-dark.svg"),alt:"cross-icon",onClick:vt}),!S.noClear&&(0,u.jsx)("div",{onClick:ft,children:"Clear"})]}),(0,u.jsx)("div",{className:h()("zp-filter-content",L()["filter-content"]),children:Ct()}),!j&&!S.noFooter&&(0,u.jsxs)("div",{className:h()(L()["filter-footer"],{"justify-content-end":S.noClear}),children:[!S.noClear&&(0,u.jsx)("div",{onClick:ft,className:h()(L()["filter-footer-start"],"d-none d-lg-block "),children:"Clear"}),(0,u.jsx)("div",{className:L()["filter-footer-end"],onClick:function(){return dt()},children:"Apply"})]})]})})]})};q.propTypes=V,q.defaultProps=M,t.Z=q},19956:function(e,t,n){"use strict";var a=n(27378);t.Z=function(){var e=(0,a.useRef)(!0);return(0,a.useEffect)((function(){e.current=!1}),[]),e.current}},86971:function(e,t,n){"use strict";n.r(t);var a=n(62303),r=n(29132),i=n(53619),o=n(33676),l=n(91946),s=n(722),c=n(68772),u=n(93334),d=n(39849),p=n(59312),h=n(24246),m=n(27378),f=n(90005),v=n.n(f),_=n(79894),g=n.n(_),x=n(9301),y=n(10625),b=n(49914),N=n(54180),Z=n(25),C=n(55233),S=n(2294),j=n(78907),w=n.n(j),z=n(18320),E=n.n(z),I="REVIEW",F="COMPANY",k={page:0,items:[],totalItems:null,loading:!1,requestId:null,companyId:null,searchCompanySuccess:!1,searchCompanyError:!1,searchRequestSuccess:!1,searchRequestError:!1},T=null,P=null,A=function(e){(0,s.Z)(n,e);var t=(0,d.Z)(n);function n(){var e;return(0,i.Z)(this,n),e=t.apply(this,arguments),(0,l.Z)((0,a.Z)(e),"state",k),(0,l.Z)((0,a.Z)(e),"handleStateUpdate",(function(t,n){e.setState((function(e){return(0,u.Z)((0,c.Z)({},e),(0,l.Z)({},t,n))}))})),(0,l.Z)((0,a.Z)(e),"handleInputChange",(function(t,n){"companyId"===t?(e.handleStateUpdate("searchCompanyError",!1),e.handleStateUpdate("searchCompanySuccess",!1)):(e.handleStateUpdate("searchRequestError",!1),e.handleStateUpdate("searchRequestSuccess",!1)),e.handleStateUpdate(t,n)})),(0,l.Z)((0,a.Z)(e),"init",(function(){e.handleStateUpdate("page",0),e.handleStateUpdate("items",[]),e.handleStateUpdate("totalItems",null),e.handleStateUpdate("loading",!1)})),(0,l.Z)((0,a.Z)(e),"updateStatus",(function(t){P=t,e.init(),e.loadData(t,!0)})),(0,l.Z)((0,a.Z)(e),"loadData",(function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t||(t={}),e.handleStateUpdate("loading",!0);var a=(0,c.Z)({},t);!n&&e.state.page&&(a.start=50*e.state.page);var r=Object.assign({noOfItems:50},a);return e.state.companyId&&(r.companyID=e.state.companyId),T===F?C.Z.get(y._A.getCompanyProfileChanges,{params:r}).then((function(t){if(e.handleStateUpdate("page",e.state.page+=1),t.data){var n=t.data.result;n.companyProfileRequests=n.companyProfileRequests.map((function(e){return e.name=e.firstName||e.lastName?"".concat(e.firstName," ").concat(e.lastName):"",e.time=new Date(e.requestSubmitTime).toLocaleStr
1ing(),e.requestLink="/admin/company/moderation/".concat(e.requestId,"/"),e}));var a=e.state.items.concat(n.companyProfileRequests);e.handleStateUpdate("items",a.sort((function(e,t){return new Date(t.lastUpdateTime)-new Date(e.lastUpdateTime)}))),e.handleStateUpdate("totalItems",n.total),e.handleStateUpdate("loading",!1)}})):T===I?C.Z.get(y._A.fetchCompanyReviewsForAdmin,{params:r}).then((function(t){if(e.handleStateUpdate("page",e.state.page+=1),t.data){var n=t.data;n.reviews=n.reviews.map((function(e){return e.requestId=e.reviewId,e.time=new Date(e.submittedTime).toLocaleString(),e.requestLink="/admin/reviews/companies/moderations/".concat(e.requestId,"/"),e})),e.handleStateUpdate("items",e.state.items.concat(n.reviews)),e.handleStateUpdate("totalItems",n.reviews.length>=50?e.state.items.length+1:0),e.handleStateUpdate("loading",!1)}})):void 0})),(0,l.Z)((0,a.Z)(e),"loadMore",(function(){return e.loadData(P)})),(0,l.Z)((0,a.Z)(e),"searchCompany",(function(t){if(t.preventDefault(),T===F)return e.handleStateUpdate("searchCompanySuccess",!1),e.state.companyId?isNaN(parseInt(e.state.companyId))?e.handleStateUpdate("searchCompanyError",!0):(e.handleStateUpdate("companyId",parseInt(e.state.companyId)),e.handleStateUpdate("searchCompanyError",!1),C.Z.post(y._A.companyDetails,[e.state.companyId]).then((function(t){if(t.data&&t.data.length){e.handleStateUpdate("searchCompanyError",!1),e.handleStateUpdate("searchCompanySuccess",!0);var n="/admin/company/profile/".concat(e.state.companyId,"/");(0,S.YQK)(n)}else e.handleStateUpdate("searchCompanyError",!0),e.handleStateUpdate("searchCompanySuccess",!1)})).catch((function(){e.handleStateUpdate("searchCompanyError",!0),e.handleStateUpdate("searchCompanySuccess",!1)}))):e.handleStateUpdate("searchCompanyError",!0);T===I&&e.setState((function(){return{page:0,items:[],totalItems:null,loading:!1}}),e.loadData)})),(0,l.Z)((0,a.Z)(e),"searchRequest",(function(t){if(t.preventDefault(),e.handleStateUpdate("searchRequestSuccess",!1),e.state.requestId)return e.handleStateUpdate("searchRequestError",!1),T===F?C.Z.post(y._A.getcompanyreviewinfo,{reviewId:e.state.requestId}).then((function(t){if("string"==typeof t.data)throw"error";e.handleStateUpdate("searchRequestError",!1),e.handleStateUpdate("searchRequestSuccess",!0);var n="/admin/company/moderation/".concat(e.state.requestId,"/");(0,S.YQK)(n)})).catch((function(){e.handleStateUpdate("searchRequestError",!0),e.handleStateUpdate("searchRequestSuccess",!1)})):T===I?C.Z.get((0,S.WUZ)(y._A.reviewDetail,{reviewId:e.state.requestId})).then((function(){e.handleStateUpdate("searchRequestError",!1),e.handleStateUpdate("searchRequestSuccess",!0);var t="/admin/reviews/companies/moderations/".concat(e.state.requestId,"/");(0,S.YQK)(t)})).catch((function(){e.handleStateUpdate("searchRequestError",!0),e.handleStateUpdate("searchRequestSuccess",!1)})):void 0})),(0,l.Z)((0,a.Z)(e),"renderItems",(function(){return e.state.items.map((function(e){return(0,h.jsxs)("tr",{children:[(0,h.jsx)("td",{children:e.requestLink?(0,h.jsx)(g(),{href:e.requestLink,children:(0,h.jsx)("a",{target:"_blank",children:e.requestId})}):(0,h.jsx)("a",{target:"_blank",children:e.requestId})}),(0,h.jsx)("td",{children:e.companyLink?(0,h.jsx)(g(),{href:e.companyLink,children:(0,h.jsx)("a",{target:"_blank",children:e.companyNameCPS})}):(0,h.jsx)("p",{className:"mb-0",children:e.companyNameCPS})}),(0,h.jsx)("td",{children:e.companyID}),(0,h.jsx)("td",{children:e.name}),(0,h.jsx)("td",{children:e.userId}),(0,h.jsx)("td",{children:e.emailAddr}),(0,h.jsx)("td",{children:e.time}),(0,h.jsx)("td",{status:e.status,children:e.status})]},e.requestId)}))})),e}return(0,o.Z)(n,[{key:"componentDidMount",value:function(){T=this.props.data.adminPage,this.init(),this.loadData()}},{key:"render",value:function(){var e=this,t=this.props.data.metadata,n=this.state,a=n.items,r=n.totalItems,i=n.loading,o=n.searchCompanySuccess,l=n.searchCompanyError,s=n.searchRequestSuccess,d=n.searchRequestError;return(0,h.jsxs)(m.Fragment,{children:[(0,h.jsx)(b.Z,(0,c.Z)({},t)),(0,h.jsx)("section",{className:"".concat(E()["site-map-section-search"]," site-map-section-search bg-white col-md-12"),children:(0,h.jsxs)("div",{className:"".concat(E()["site-map-search-align"]," site-map-search-align position-relative z-mt-100 d-block text-center col-md-12"),children:[(0,h.jsx)("h3",{className:"text-center z-mb-40",children:t.H3}),(0,h.jsxs)("div",{className:"d-flex flex-row flex-wrap justify-content-space-evenly",children:[(0,h.jsx)(x.Z,{onSubmit:this.searchCompany,searchError:l,searchSuccess:o,inputProps:{type:"text",placeholder:"Company ID",size:"1",onChange:function(t){return e.handleInputChange("companyId",t.target.value)}}}),(0,h.jsx)(x.Z,{onSubmit:this.searchRequest,searchSuccess:s,searchError:d,inputProps:{type:"text",placeholder:"Request ID",size:"1",onChange:function(t){return e.handleInputChange("requestId",t.target.value)}}})]}),(0,h.jsx)("div",{className:w()["admin-filters"],children:(0,h.jsx)(N.Z,(0,u.Z)((0,c.Z)({},Z.OI[Z.V5.STATUS]),{onApply:function(t,n){var a=n.value;return e.updateStatus({status:a})},alignRight:!0,onClear:function(){return e.updateStatus({})}}))}),(0,h.jsx)("div",{id:"dashboard-admin-requests",className:v()("table-responsive",w()["dashboard-admin-requests"]),children:(0,h.jsxs)("table",{className:"table",children:[(0,h.jsx)("thead",{children:(0,h.jsxs)("tr",{children:[(0,h.jsx)("th",{children:"Request ID"}),(0,h.jsx)("th",{children:"Company"}),(0,h.jsx)("th",{children:"Company ID"}),(0,h.jsx)("th",{children:"Name"}),(0,h.jsx)("th",{children:"User ID"}),(0,h.jsx)("th",{children:"Email"}),(0,h.jsx)("th",{children:"Submitted on"}),(0,h.jsx)("th",{children:"Status"})]})}),(0,h.jsx)("tbody",{children:this.renderItems()})]})}),(i||a.length<r)&&(0,h.jsx)("button",{className:w()["admin-more-button"],onClick:function(){return e.loadMore()},disabled:this.state.loading,children:i?"Loading...":"Load more"})]})})]})}}],[{key:"getInitialProps",value:function(e){var t=e.req,n=e.res;return(0,r.Z)((function(){return(0,p.__generator)(this,(function(e){return t?[2,{data:n?n.data:null,user:t?t.user:null,locals:n?n.locals:null}]:[2,window.__NEXT_DATA__.props.pageProps]}))}))()}}]),n}(m.Component);t.default=A},85917:function(e){e.exports={"input-container":"formFieldV2_input-container__H3jfy",input:"formFieldV2_input__IaIVO",container:"formFieldV2_container__IqRh5",label:"formFieldV2_label__7o1hz","keep-shrunk":"formFieldV2_keep-shrunk__RMpbF","has-adornment":"formFieldV2_has-adornment__rYgvt","dev-input-container":"formFieldV2_dev-input-container__OXhYq","dev-input"
1:"formFieldV2_dev-input__jnw4p",error:"formFieldV2_error__9k377",adornment:"formFieldV2_adornment__KU7BA",left:"formFieldV2_left__TpCJb",right:"formFieldV2_right__mvZUO","helper-text":"formFieldV2_helper-text__77UWO","error-text":"formFieldV2_error-text__QiX_u","dd-icon":"formFieldV2_dd-icon__9DEo9","minh-54":"formFieldV2_minh-54__QypjZ","rbt-override":"formFieldV2_rbt-override__EcU4_"}},85963:function(e){e.exports={zpChip:"ZpChip_zpChip__C2DWo","zp-chip-container":"ZpChip_zp-chip-container__1jVlC",hideCloseIcon:"ZpChip_hideCloseIcon__gmx3f",whiteChip:"ZpChip_whiteChip__8K9Ax",outlined:"ZpChip_outlined__02rQ4",alt:"ZpChip_alt__QpXaI","zp-chip-display":"ZpChip_zp-chip-display__bqtgR","zp-chip-x":"ZpChip_zp-chip-x__UPgFH",enabled:"ZpChip_enabled__MUWOB",noCapitalize:"ZpChip_noCapitalize__vU674","mw-100":"ZpChip_mw-100__9K5ow",noEllipsis:"ZpChip_noEllipsis__ZLvA9",wrapText:"ZpChip_wrapText__dHkjp"}},59838:function(e){e.exports={"admin-search":"adminSearch_admin-search__LIopb",error:"adminSearch_error__IcMpM",success:"adminSearch_success__MD_ni"}},21274:function(e){e.exports={container:"chipList_container__xDQP2",expand:"chipList_expand__pV79_",chip:"chipList_chip__UH9Re"}},49654:function(e){e.exports={container:"searchField_container__FLGu_",button:"searchField_button__lLUpN","without-focus":"searchField_without-focus__G579v",input:"searchField_input___dKhg","button-v2":"searchField_button-v2__pVVJp","icon-v2":"searchField_icon-v2__RdqFu"}},15523:function(e){e.exports={trigger:"select_trigger__bzH7A",placeholder:"select_placeholder__Zzuns",icon:"select_icon__v73K5",full:"select_full__p14eD",content:"select_content__EdyND",item:"select_item__wK3LK",scrollRoot:"select_scrollRoot__KK8ri",scrollViewport:"select_scrollViewport__bq4PJ",scrollbar:"select_scrollbar__vIcPN",thumb:"select_thumb__fjPnv"}},79766:function(e){e.exports={root:"slider_root__Pbqaq",track:"slider_track__M_FCT",range:"slider_range__0iR_P",thumb:"slider_thumb__X_vZZ"}},17265:function(e){e.exports={"zp-filter-group":"zpFilter_zp-filter-group__RHTP2","filter-carousel-container":"zpFilter_filter-carousel-container__qsbqf","filter-carousel":"zpFilter_filter-carousel__isbYy","zp-filter-container":"zpFilter_zp-filter-container__n9Y_e","mobile-buttons-filter":"zpFilter_mobile-buttons-filter__5LYls",skeleton:"zpFilter_skeleton__1Gh8J","non-compact-carousel":"zpFilter_non-compact-carousel__cUnoD","compact-filter-wrapper":"zpFilter_compact-filter-wrapper__AmF35","compact-filters":"zpFilter_compact-filters__91NRq","zp-filter-button":"zpFilter_zp-filter-button__se_Tb","zp-filter-matches":"zpFilter_zp-filter-matches__fJELr","filter-text":"zpFilter_filter-text__FOQ2S","filters-background-overlay":"zpFilter_filters-background-overlay__YMobs","no-overlay":"zpFilter_no-overlay__zBQgJ","zp-filter-dropdown":"zpFilter_zp-filter-dropdown__xXrA7","zp-filter-link":"zpFilter_zp-filter-link__Z1Og2","zp-dropdown-menu":"zpFilter_zp-dropdown-menu__rDMiS","filter-header":"zpFilter_filter-header__aeF0d","filter-body":"zpFilter_filter-body__1Byl3","sidebar-filter-wrapper":"zpFilter_sidebar-filter-wrapper__74Yug","filter-items":"zpFilter_filter-items__Jnndt","zp-content-only":"zpFilter_zp-content-only__zVJNY","footer-text":"zpFilter_footer-text__OHM_1","filter-footer":"zpFilter_filter-footer__anTJe","filter-footer-start":"zpFilter_filter-footer-start__yGqUK","filter-footer-end":"zpFilter_filter-footer-end__AZl6N","filter-auto-suggest-input"
1:"zpFilter_filter-auto-suggest-input__CFf3_","auto-suggest-error-message":"zpFilter_auto-suggest-error-message__lvDyM","auto-suggest-error-message-top":"zpFilter_auto-suggest-error-message-top__jfMZa","filter-sidebar":"zpFilter_filter-sidebar__HVWhX","filter-toolbar":"zpFilter_filter-toolbar__bWPMY","filter-content":"zpFilter_filter-content__GfDyq",compact:"zpFilter_compact__xqNjV","two-columns":"zpFilter_two-columns__7oyy0","zp-filter-v2":"zpFilter_zp-filter-v2__ZpA_3",dateField:"zpFilter_dateField__7lQNa",dateMonth:"zpFilter_dateMonth__8QJQ0",dateDay:"zpFilter_dateDay__fJKp2",dateYear:"zpFilter_dateYear__moPtk"}},78907:function(e){e.exports={adminPage:"adminPage_adminPage__vQBwF","search-status--message":"adminPage_search-status--message__Rdoht",error:"adminPage_error__nU3bZ",success:"adminPage_success__HkpKT",adminSection:"adminPage_adminSection__kXrVV","admin-filters":"adminPage_admin-filters__LdUDH","dashboard-admin-requests":"adminPage_dashboard-admin-requests__pKL_y",APPROVED:"adminPage_APPROVED__ZLWSh",REJECTED:"adminPage_REJECTED__Q8zNA",DEFERRED:"adminPage_DEFERRED__1dPK0","admin-more-button":"adminPage_admin-more-button__XQ7sP","json-display":"adminPage_json-display__lMXlc"}},18320:function(e){e.exports={inactive:"sitemap_inactive___ZPWu","category-page":"sitemap_category-page__yEOUB","site-map-min-height":"sitemap_site-map-min-height__jhTaU","site-map-section-search":"sitemap_site-map-section-search__3LUHe","sitemap-search-fieldset":"sitemap_sitemap-search-fieldset__TP0OK","site-map-location-section-search":"sitemap_site-map-location-section-search__nu_0_","sitemap-search-location-fieldset":"sitemap_sitemap-search-location-fieldset__R4Sfu","sitemap-search-location-form-fieldset":"sitemap_sitemap-search-location-form-fieldset__hmA8w","location-fieldset-input":"sitemap_location-fieldset-input__doHVj","site-map-search-align":"sitemap_site-map-search-align__pJMmG","sitemapCareer-search-fieldset":"sitemap_sitemapCareer-search-fieldset__Kl8ln",siteMapTopLevelCareer:"sitemap_siteMapTopLevelCareer__6r6mX",interH3:"sitemap_interH3__BCHT6",explorerStates:"sitemap_explorerStates__V0Qy7",companiesSection:"sitemap_companiesSection__GXGSn","all-majors":"sitemap_all-majors__WnNbh","all-ExploreNews":"sitemap_all-ExploreNews__2dn0E",sectionSeparatorSmall:"sitemap_sectionSeparatorSmall__AOvKw",sectionSeparatorFull:"sitemap_sectionSeparatorFull__Q_0v2",sitemapIndustryJobTitlesLinks:"sitemap_sitemapIndustryJobTitlesLinks__gRdJn",sitemapColumnList:"sitemap_sitemapColumnList__I8N1J",sitemapUacList:"sitemap_sitemapUacList__Ez84h","pagi-toplevel":"sitemap_pagi-toplevel__QXoHe","pagi-state":"sitemap_pagi-state__jkC_1",sitemap:"sitemap_sitemap__nYeqo",container:"sitemap_container__99eIK","pagination-sec":"sitemap_pagination-sec__yP3gc",main_inner:"sitemap_main_inner__Xw4er","industry-icon-shape":"sitemap_industry-icon-shape__IAyTA",stateCityIndustryContainer:"sitemap_stateCityIndustryContainer__2EWBy","how-to-find-jobs-section":"sitemap_how-to-find-jobs-section__2GskQ",colWide:"sitemap_colWide__jqmBJ"}}},function(e){e.O(0,[4736,2888],(function(){return t=91690,e(e.s=t);var t}));var t=e.O();_N_E=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.