1(self.webpackChunkpcsxPwa=self.webpackChunkpcsxPwa||[]).push([["14078"],{884899(e,t,n){(t=e.exports=n(554765)(!1)).push([e.id,'.formSectionFieldsWrapper-2vfs3{padding-left:12px}.formItem-3dM1P{margin:0 0 12px}.formItem-3dM1P [class*="form-module_form-item-label"]>label{height:24px;line-height:24px}.formItem-3dM1P [class^="form-module_form-item-tooltip"]:focus-visible{outline:var(--focus-visible-shadow-color) 2px solid;box-shadow:none;border-radius:var(--button-pill-shape-border-radius)}.formItem-3dM1P .tooltipIcon-3BdvA{vertical-align:middle;line-height:1;cursor:pointer}.autocompleteContainer-26OcJ .autoCompleteInput-2yjWo{width:100%}.autoCompleteDropdown-pj8fj{width:590px;padding:0 4px !important}.sectionTitle-3uURA{font-size:18px;font-weight:600;line-height:24px}.phoneCountryCodeSelectorDropdown-38lcp{width:134px;min-width:134px}.requiredFieldsLabel-2Ax5P{font-size:12px;font-weight:500;line-height:16px}',""]),t.locals={formSectionFieldsWrapper:"formSectionFieldsWrapper-2vfs3",formItem:"formItem-3dM1P",tooltipIcon:"tooltipIcon-3BdvA",autocompleteContainer:"autocompleteContainer-26OcJ",autoCompleteInput:"autoCompleteInput-2yjWo",autoCompleteDropdown:"autoCompleteDropdown-pj8fj",sectionTitle:"sectionTitle-3uURA",phoneCountryCodeSelectorDropdown:"phoneCountryCodeSelectorDropdown-38lcp",requiredFieldsLabel:"requiredFieldsLabel-2Ax5P"}},773151(e,t,n){(t=e.exports=n(554765)(!1)).push([e.id,".panelBody-5uAdv{padding:0 24px !important}.panelFooter-3xoDT{padding:16px 24px !important;box-shadow:var(--dropdown-box-shadow)}.panelHeader-2CSXe{padding:16px 24px}.header-2fH-Q{font-size:20px;font-weight:600;line-height:28px}.pipelineOptionRenderer-32iwQ{padding:8px 12px}.bookmarkIconContainer-1As9R{width:24px;display:inline-block;text-align:center}.bookmarkIcon-1YZIO{color:#8a7600}.positionName-1G3jq{font-weight:600;color:var(--black-color)}.userOptionRenderer-3m22c{align-items:center;padding:8px}.userOptionRenderer-3m22c .userTitle-VYUYc{font-weight:600;font-size:14px;color:var(--grey-color-90)}.userOptionRenderer-3m22c .userSubTitle-1enCM{font-weight:500;font-size:14px;color:var(--grey-color-60)}.saveDropdown-cHC0Y{min-width:fit-content}.saveDropdown-cHC0Y .saveDropdownItem-HxYkX{padding:0 12px}",""]),t.locals={panelBody:"panelBody-5uAdv",panelFooter:"panelFooter-3xoDT",panelHeader:"panelHeader-2CSXe",header:"header-2fH-Q",pipelineOptionRenderer:"pipelineOptionRenderer-32iwQ",bookmarkIconContainer:"bookmarkIconContainer-1As9R",bookmarkIcon:"bookmarkIcon-1YZIO",positionName:"positionName-1G3jq",userOptionRenderer:"userOptionRenderer-3m22c",userTitle:"userTitle-VYUYc",userSubTitle:"userSubTitle-1enCM",saveDropdown:"saveDropdown-cHC0Y",saveDropdownItem:"saveDropdownItem-HxYkX"}},543898(e,t,n){(t=e.exports=n(554765)(!1)).push([e.id,".phoneCountryCodeSelector-2gG0O{display:flex;gap:8px}.phoneCountryCodeSelector-2gG0O .countryCodeClearButton-3p-0J{display:none}.phoneCountryCodeSelector-2gG0O .countryCodeInput-3mxaU{padding:8px 32px 8px 8px !important}.phoneCountryCodeSelector-2gG0O .countryCodeDropdown-2WV0k{width:40%}.phoneCountryCodeSelector-2gG0O .applyFormTextInput-3RXIh{flex:1}.phoneCountryCodeSelector-2gG0O input::-webkit-outer-spin-button,.phoneCountryCodeSelector-2gG0O input::-webkit-inner-spin-button{appearance:none;margin:0}.phoneCountryCodeSelector-2gG0O input[type=number]{appearance:textfield}",""]),t.locals={phoneCountryCodeSelector:"phoneCountryCodeSelector-2gG0O",countryCodeClearButton:"countryCodeClearButton-3p-0J",countryCodeInput:"countryCodeInput-3mxaU",countryCodeDropdown:"countryCodeDropdown-2WV0k",applyFormTextInput:"applyFormTextInput-3RXIh"}},26286(e,t,n){"use strict";var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=u(n(32485)),a=u(n(605556)),l=u(n(296540)),i=u(n(999702));function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){if("function"!=typeof e&&null!==e)throw TypeError("Super expression must either be null or a function, not "+typeof e);function t(e){if(!(this instanceof t))throw TypeError("Cannot call a class as a function");var n=function(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.handleMouseDown=n.handleMouseDown.bind(n),n.handleMouseEnter=n.handleMouseEnter.bind(n),n.handleMouseMove=n.handleMouseMove.bind(n),n.handleTouchStart=n.handleTouchStart.bind(n),n.handleTouchEnd=n.handleTouchEnd.bind(n),n.handleTouchMove=n.handleTouchMove.bind(n),n.onFocus=n.onFocus.bind(n),n}return t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e),r(t,[{key:"handleMouseDown",value:function(e){e.preventDefault(),e.stopPropagation(),this.props.onSelect(this.props.option,e)}},{key:"handleMouseEnter",value:function(e){this.onFocus(e)}},{key:"handleMouseMove",value:function(e){this.onFocus(e)}},{key:"handleTouchEnd",value:function(e){this.dragging||this.handleMouseDown(e)}},{key:"handleTouchMove",value:function(){this.dragging=!0}},{key:"handleTouchStart",value:function(){this.dragging=!1}},{key:"onFocus",value:function(e){this.props.isFocused||this.props.onFocus(this.props.option,e)}},{key:"render",value:function(){var e=this.props,t=e.option,n=e.instancePrefix,r=e.optionIndex,a=(0,o.default)(this.props.className,t.className);return t.disabled?l.default.createElement("div",{className:a,onMouseDown:i.default,onClick:i.default},this.props.children):l.default.createElement("div",{className:a,style:t.style,role:"option","aria-label":t.label,onMouseDown:this.handleMouseDown,onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onTouchStart:this.handleTouchStart,onTouchMove:this.handleTouchMove,onTouchEnd:this.handleTouchEnd,id:n+"-option-"+r,title:t.title},this.props.children)}}]),t}(l.default.Component);s.propTypes={children:a.default.node,className:a.default.string,instancePrefix:a.default.string.isRequired,isDisabled:a.default.bool,isFocused:a.default.bool,isSelected:a.default.bool,onFocus:a.default.func,onSelect:a.default.func,onUnfocus:a.default.func,option:a.default.object.isRequired,optionIndex:a.default.number},t.default=s},999702(e,t){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e.preventDefault(),e.stopPropagation(),"A"===e.target.tagName&&"href"in e.target&&(e.target.target?window.open(e.target.href,e.target.target):window.location.href=e.target.href)}},748685(e,t,n){"use strict";n.d(t,{ManualCandidateAdditionPanel:()=>eb});var r=n(296540),o=n(35706),a=n(516006),l=n(753048),i=n(353295),u=n(429304),s=n(854661),d=n(687963),c=n(179305),p=n(609177),m=n(493747),f=n(978990),h=n(623967),v=n(159327),g=n(888937),b=n(482786),y=n(341655),C=n(60743),x=n(180686),E=n(373473),w=n(178850),O=n(785072),S=n.n(O),T=n(697825),_=n.n(T),P=n(777659),I=n.n(P),N=n(655056),k=n.n(N),D=n(510540),F=n.n(D),M=n(341113),A=n.n(M),j=n(773151),V=n.n(j),L={};L.styleTagTransform=A(),L.setAttributes=k(),L.insert=I().bind(null,"head"),L.domAPI=_(),L.insertStyleElement=F(),S()(V(),L);let R=V()&&V().locals?V().locals:void 0;var B=e=>r.createElement(u.B,{direction:"horizontal",fullWidth:!0,flexGap:"s",align:"center",classNames:R.pipelineOptionRenderer},r.createElement("span",{className:R.bookmarkIconContainer},e.is_bookmarked?r.createElement(C.I,{classNames:R.bookmarkIcon,path:d.$.mdiBookmark}):null),r.createElement(u.B,{direction:"vertical",fullWidth:!0,flexGap:"xxxs"},r.createElement("span",{className:R.positionName},"".concat(a.u.gettext(e.term)," (").concat(e.ats_display_job_id?a.u.gettext(e.ats_display_job_id):e.id,")")),r.createElement(u.B,{direction:"horizontal",fullWidth:!0,flexGap:"xxs"},r.createElement("span",null,a.u.gettext(e.location)),e.location&&r.createElement(E.A,null),r.createElement("span",null,e.status)))),U=e=>{var t=(0,w.N$)(null==e?void 0:e.term);return r.createElement(u.B,{key:e.id,id:"".concat(String(e.term),"-").concat(String(e.id)),direction:"horizontal",flexGap:"xs",align:"center",classNames:R.userOptionRenderer,role:"option","aria-label":e.term,tabIndex:0},r.createElement(x.e,{tabIndex:-1,src:e.pic||"",hashingFunction:()=>(0,o.Zd)(t||(null==e?void 0:e.email)||"-"),alt:t,theme:"blueViolet",type:"round",size:"40px",fontSize:"16px"},(0,o.fv)((0,o.Sn)(t||e.email))),r.createElement(u.B,{direction:"vertical"},r.createElement("span",{className:R.userTitle},t),r.createElement("span",{className:R.userSubTitle},e.email)))},q=n(657666),W=n(319768),G=e=>{var t,n,r,o,l,i,u,s,d,c,p,m,f,h,v,g=(null!=(t=null==(u=e.roleBasedTags)?void 0:u.length)?t:0)>0,b=[{label:a.u.gettext("First name"),identifier:"firstname",type:W.Vw.TEXT_INPUT,placeholder:a.u.gettext("Enter first name"),required:!0,rules:[{required:!0,whitespace:!0,message:a.u.gettext("First name is required")}]},{label:a.u.gettext("Last name"),identifier:"lastname",type:W.Vw.TEXT_INPUT,placeholder:a.u.gettext("Enter last name"),required:!0,rules:[{required:!0,whitespace:!0,message:a.u.gettext("Last name is required")}]},{label:a.u.gettext("Email"),identifier:"email",type:W.Vw.TEXT_INPUT,placeholder:a.u.gettext("Enter the email"),required:!0,rules:[{required:!0,message:a.u.gettext("Email is required")},{type:"email",message:a.u.gettext("Please enter a valid email address")}]},{label:a.u.gettext("Contact number"),identifier:"phone",type:W.Vw.PHONE_INPUT,placeholder:a.u.gettext("Enter the contact number"),shouldValidateTrigger:!1,rules:[{validator:(e,t)=>(null==t?void 0:t.countryCallingCode)||(null==t?void 0:t.phoneNumberPart)?(null==t?void 0:t.countryCallingCode)?(0,q.validatePhone)((t.countryCallingCode||"")+(t.phoneNumberPart||""),!0)?Promise.resolve():Promise.reject(Error(a.u.gettext("Please enter a valid contact number"))):Promise.reject(Error(a.u.gettext("Select country code"))):Promise.resolve()}]}],y=e=>e?[{term:e.fullname,email:e.email,isCustomOption:!0}]:[],C=null!=(n=null==(d=e.importProfileConfig)||null==(s=d.form_fields)?void 0:s.map(e=>{var t,n,r,o,l,i,u=null!=(o=b.find(t=>t.identifier===e.identifier))?o:{};return n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}({},u),r=r={label:e.label?a.u.gettext(e.label):u.label||"",identifier:e.identifier,type:((t=null!=(l=e.type)?l:u.type)===W.ys.TAGS?g?W.Vw.SELECT:W.Vw.AUTOCOMPLETE_INPUT:t)||u.type,placeholder:e.placeholder?a.u.gettext(e.placeholder):u.placeholder,required:null!=(i=e.isRequired)?i:u.required},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n}))?n:[],x=[];switch(e.context){case W.ob.IMPORT_PROFILE:case W.ob.GLOBAL_SEARCH:x=[{label:a.u.gettext("Add to position"),identifier:"position_details",type:W.Vw.AUTOCOMPLETE_INPUT,tooltipText:a.u.gettext("Add the candidate to a position (Optional)"),dictionary:"positions",placeholder:a.u.gettext("Select position"),openOnFocus:!0,optionRenderer:B}];break;case W.ob.EVENTS:x=[{label:a.u.gettext("Event"),identifier:"event_details",type:W.Vw.AUTOCOMPLETE_INPUT,required:!0,tooltipText:a.u.gettext("Add candidate to the event"),disabled:!0},{label:a.u.gettext("Add to event activity"),identifier:"event_activity",type:W.Vw.SELECT,placeholder:a.u.gettext("Select activity"),tooltipText:a.u.gettext("Select activity"),options:null==(h=e.eventActivitiesList)?void 0:h.map(e=>({text:a.u.gettext(null==e?void 0:e.display_name),value:e.value}))}];break;case W.ob.COMMUNITIES:x=[{label:a.u.gettext("Community name"),identifier:"community_details",type:W.Vw.AUTOCOMPLETE_INPUT,required:!0,disabled:!0},{label:a.u.gettext("Community stage"),identifier:"community_stage",type:W.Vw.SELECT,options:null==(v=e.communityStagesList)?void 0:v.map(e=>({text:a.u.gettext(e),value:e}))}];break;default:x=[]}return[{id:"profile-details",title:a.u.gettext("Profile details"),fields:[...C]},{id:"additional-details",title:a.u.gettext("Additional details"),fields:[...e.isProfileSourceTrackingEnabled?[{label:a.u.gettext("Source"),identifier:"profile_source",type:W.Vw.SOURCE_DROPDOWN,options:null!=(r=null==(c=e.sourceTrackingData)?void 0:c.categoriesWithSources)?r:[],default:null!=(o=null==(p=e.sourceTrackingData)?void 0:p.defaultSourceId)?o:null,required:!0,rules:[{required:!0,message:a.u.gettext("Source is required")}]},{label:a.u.gettext("Sourced by"),identifier:"profile_source_credit",type:W.Vw.AUTOCOMPLETE_INPUT,placeholder:a.u.gettext("Search by name and email"),tooltipText:a.u.gettext("Indicates who first added the candidate and receives sourcing credit"),required:!0,dictionary:"users",optionRenderer:U,rules:[{required:!0,message:a.u.gettext("Sourced by is required")}],presetOptions:y(null==(m=e.sourceTrackingData)?void 0:m.currentUser)}]:[],...(()=>{var t,n,r,o,l,i=null==(t=e.prospectOwnership)?void 0:t.hasManagePermission,u=null==(n=e.prospectOwnership)?void 0:n.hasAddPermission,s=null==(r=e.prospectOwnership)?void 0:r.hasOwnPermission;if(!(i||u&&s))return[];var d=[];return i?(d.push({label:a.u.gettext("Prospect owner"),identifier:"prospect_owner_email",type:W.Vw.AUTOCOMPLETE_INPUT,placeholder:a.u.gettext("Search by name and email"),tooltipText:a.u.gettext("Assign a prospect owner to this candidate"),dictionary:"users_with_perms",suggestParams:{perms:"perm_own_prospects"},optionRenderer:U,presetOptions:y(null==(o=e.prospectOwnership)?void 0:o.currentUser)}),d.push({label:a.u.gettext("Override prospect owner"),identifier:"override_prospect_owner",type:W.Vw.CHECKBOX})):d.push({label:a.u.gettext("Prospect owner"),identifier:"prospect_owner_email",type:W.Vw.AUTOCOMPLETE_INPUT,placeholder:a.u.gettext("Select prospect owner"),tooltipText:a.u.gettext("Assign a prospect owner to this candidate"),presetOptions:y(null==(l=e.prospectOwnership)?void 0:l.currentUser),dictionary:"",suggestParams:null}),d})(),{label:a.u.gettext("Tag"),identifier:"tags",type:g?W.Vw.SELECT:W.Vw.AUTOCOMPLETE_INPUT,tooltipText:a.u.gettext("Default: Import/Manual/Your Name"),options:null!=(l=null==(f=e.roleBasedTags)?void 0:f.map(e=>({text:e,value:e})))?l:[],dictionary:g?void 0:"tags",withCustomAdd:!g,multi:null!=(i=e.isMultipleTagsEnabled)&&i,placeholder:a.u.gettext("Select tag"),openOnFocus:!g},...x]}]},H=n(347114),z=n(631906),Y=n(234834),X=n(372396),$=n(651015),K=n(179623),J=n(225768),Z=n(895203),Q=n(560925),ee=n(884899),et=n.n(ee),en={};en.styleTagTransform=A(),en.setAttributes=k(),en.insert=I().bind(null,"head"),en.domAPI=_(),en.insertStyleElement=F(),S()(et(),en);let er=et()&&et().locals?et().locals:void 0;var eo=e=>{var t,n,o,l,i,{field:s,form:d,ariaLabel:c}=e,p=d.getFieldValue(s.identifier),m=null!=(t=s.multi)&&t,[f,g]=(0,r.useState)(0),[b,y]=(0,r.useState)(""),C=(0,r.useRef)(null);(0,r.useEffect)(()=>{g(e=>e+1)},[p]);var x=(0,r.useCallback)(e=>{var t;if("position_details"===s.identifier){var n,{term:r,id:o,ats_display_job_id:l}=null==e?void 0:e.value,i=null!=(n=null!=l?l:o)?n:"";t={id:o,term:r?"".concat(String(r).trim()," (").concat(String(i),")"):""},y(a.u.gettextVariable("%(var1)s position added",{var1:String(r)}))}else if(W.eS.includes(s.identifier)){var{term:u,email:c}=(null==e?void 0:e.value)||{};t={term:"".concat(String(u)," <").concat(String(c),">"),email:c},y(a.u.gettextVariable("%(var1)s set to %(var2)s",{var1:s.label,var2:(null==t?void 0:t.term)||""}))}else t=m?[...p||[],(null==e?void 0:e.term)||""]:(null==e?void 0:e.term)||"",y(a.u.gettextVariable("%(var1)s tag added",{var1:String(null==e?void 0:e.term)}));d.setFieldValue(s.identifier,t)},[s.identifier,d,p]),E=(0,r.useCallback)(e=>!!m&&((null==p?void 0:p.includes(e.term||""))||!1),[p,s.identifier]),w=(0,r.useCallback)(()=>p&&(null==p?void 0:p.length)!==0?r.createElement(u.B,{direction:"horizontal",flexGap:"s",wrap:"wrap"},null==p?void 0:p.map(e=>r.createElement(J.a,{key:e||"",label:e||"",size:Z.xp.Small,theme:"blue",type:Z.yL.closable,onClose:()=>{d.setFieldValue(s.identifier,(null==p?void 0:p.filter(t=>
1t!==e))||[]),y(a.u.gettextVariable("%(var1)s tag removed",{var1:String(e)}))},closeButtonProps:{ariaLabel:a.u.gettextVariable("Remove %(var1)s tag",{var1:e})}}))):null,[p,s.identifier]),O=(0,r.useCallback)(e=>{var t,n=(null==e?void 0:e.value)||e;return null==s||null==(t=s.optionRenderer)?void 0:t.call(s,n)},[null==s?void 0:s.optionRenderer]),S=m?"":(null==p||null==(i=p.term)?void 0:i.trim())||p;return r.createElement(r.Fragment,null,r.createElement("div",{className:"sr-only",role:"status","aria-atomic":"true","aria-live":"polite"},b),r.createElement(u.B,{direction:"vertical",flexGap:"s",fullWidth:!0},m?w():null,r.createElement("div",{className:er.autocompleteContainer,ref:C},r.createElement(Q.A,{key:f,suggestDictionaryKey:null!=(n=s.dictionary)?n:"",excludeItem:E,onItemSelect:x,emptyDropdownMessage:a.u.gettext("No match found"),inputSize:z.ry.Medium,showIcon:!1,showInputBorder:!0,showPlaceholderText:!0,placeholder:a.u.gettext(s.placeholder||"Type to search"),disableCustomOption:!s.withCustomAdd,customRenderer:s.optionRenderer?O:void 0,menuItemType:s.optionRenderer?h.x.custom:void 0,inputId:s.identifier,readonly:null!=(o=s.disabled)&&o,clearable:!0,clearOnDropdownClose:!1,elementToFocusOnDropdownMenuClose:C,suggestParams:null!=(l=s.suggestParams)?l:null,value:S,inputClassNames:er.autoCompleteInput,dropdownClassNames:er.autoCompleteDropdown,wrapperProps:{fullWidth:!0},menuItemSize:v.H.medium,presetOptions:s.presetOptions,autoFocus:!1,clearButtonAriaLabel:a.u.gettext("Clear search"),ariaLabel:c,portal:!1,onClear:()=>{d.setFieldValue(s.identifier,"")}}))))},ea=n(415709),el=e=>{var t,{field:n,form:o}=e,l=o.getFieldValue(n.identifier)||{},i=(0,r.useRef)(0),u=(0,r.useRef)(0),s=(0,r.useCallback)((e,t,n,r,o)=>({label:"".concat(e," (").concat(n,")"),text:"".concat(r," (").concat(n,") ").concat(e),valueLabel:"".concat(r," ").concat(n),value:"".concat(t,"-").concat(String(o)),callingCode:n}),[]);return r.createElement(ea.A,{phone:"",defaultCountryCode:"",phoneNumberChange:(e,t)=>
1{o.setFieldValue(n.identifier,{countryCallingCode:t||"",phoneNumberPart:e||""}),i.current<1||t!==l.countryCallingCode?(i.current++,(!t||u.current>0)&&setTimeout(()=>{o.validateFields([n.identifier])},0)):(u.current++,setTimeout(()=>{o.validateFields([n.identifier])},0))},onBlur:()=>{},showCountryCodeDropdown:!0,resetOnInvalidCountry:!0,inputId:n.identifier,selectId:"".concat(n.identifier,"-country-code-select"),required:n.required,useOctuple:!0,useOctupleForCountryCode:!0,textInputPlaceholder:a.u.gettext(null!=(t=n.placeholder)?t:"Enter the contact number"),selectPlaceholder:a.u.gettext("Select code"),status:!(u.current<1)&&(l.countryCallingCode||l.phoneNumberPart)?(0,q.validatePhone)(String(l.countryCallingCode)+String(l.phoneNumberPart),!0)?"success":"error":"",selectStatus:!(i.current<2)&&(l.countryCallingCode||l.phoneNumberPart)?l.countryCallingCode?"success":"error":"",emitOnFirstChange:!1,splitCallingCodeAndNumber:!0,dropdownClassNames:er.phoneCountryCodeSelectorDropdown,customFormatDropdownOptions:s})},ei=n(880506),eu=e=>{var{form:t,formSections:n,onFinish:o,onFinishFailed:i,initialValues:s={}}=e,c=(0,r.useRef)({}
1),p=e=>{var t=e.label;return e.required&&(t=a.u.gettextVariable("%(ariaLabel)s, required field",{ariaLabel:t})),e.disabled&&(t=a.u.gettextVariable("%(ariaLabel)s, read only",{ariaLabel:t})),t};return r.createElement(l.A,{form:t,layout:"vertical",onFinish:o,onFinishFailed:i,initialValues:s},r.createElement(u.B,{justify:"flex-end",fullWidth:!0},r.createElement("span",{className:er.requiredFieldsLabel},a.u.gettext("Fields marked with * are required"))),r.createElement(u.B,{direction:"vertical",fullWidth:!0,flexGap:"l"},n.map(e=>r.createElement(u.B,{direction:"vertical",fullWidth:!0,key:e.id,flexGap:"s"},r.createElement("span",{role:"heading","aria-level":3,className:er.sectionTitle},e.title),r.createElement(u.B,{direction:"vertical",fullWidth:!0,classNames:er.formSectionFieldsWrapper},e.fields.map(e=>{var n;return r.createElement(l.A.Item,{key:e.identifier,label:e.type===W.Vw.CHECKBOX?"":e.label,htmlFor:e.type===W.Vw.CHECKBOX?void 0:e.identifier,name:e.identifier,required:e.required,classNames:er.formItem,rules:e.rules,validateTrigger:(null==(n=e.shouldValidateTrigger)||!!n)&&["onChange","onBlur"],tooltip:{content:e.tooltipText?a.u.gettext(e.tooltipText):null,theme:$.ts.dark,tooltipStyle:{zIndex:999},icon:e.tooltipText?r.createElement("div",{role:"button",tabIndex:0,"aria-label":a.u.gettextVariable("%(label)s information, %(tooltip)s",{label:e.label,tooltip:e.tooltipText})},r.createElement(C.I,{path:d.$.mdiInformationOutline,size:K.l.Small,classNames:er.tooltipIcon})):r.createElement(r.Fragment,null)}},(e=>{var n,o,l,i,u;switch(e.type){case W.Vw.TEXT_INPUT:return r.createElement(H.k,{id:e.identifier,"data-testid":"form-field-".concat(e.identifier),ariaLabel:p(e),clearButtonAriaLabel:a.u.gettext("Clear text"),placeholder:a.u.gettext(null!=(n=e.placeholder)?n:""),inputWidth:z.su.fill,size:z.ry.Medium,onClear:()=>t.setFieldValue(e.identifier,""),autocomplete:"off"});case W.Vw.SELECT:return r.createElement(Y.l,{"data-testid":"form-field-".concat(e.identifier),id:"".concat(e.identifier,"-select"),textInputProps:{name:e.identifier,ariaLabel:p(e),id:e.identifier,"aria-required":e.required?"true":"false"},placeholder:a.u.gettext(e.placeholder?e.placeholder:e.label),defaultValue:null!=(o=t.getFieldValue(e.identifier))?o:"",multiple:null!=(l=e.multi)&&l,onOptionsChange:n=>{var r,o,a=e.identifier;if(c.current[a]=(null!=(r=c.current[a])?r:0)+1,!(c.current[a]<2)||n&&0!==n.length){var l=e.multi?null!=n?n:[]:null!=(o=null==n?void 0:n[0])?o:"";t.setFieldValue(e.identifier,l)}},options:null!=(i=e.options)?i:[],emptyText:a.u.gettext("No match found")});case W.Vw.AUTOCOMPLETE_INPUT:return r.createElement(eo,{field:e,form:t,ariaLabel:p(e)});case W.Vw.PHONE_INPUT:return r.createElement(el,{field:e,form:t});case W.Vw.SOURCE_DROPDOWN:return r.createElement(ei.A,{inputId:e.identifier,categoriesWithSources:e.options,onSelect:n=>t.setFieldValue(e.identifier,n),defaultSource:null!=(u=e.default)?u:null});case W.Vw.CHECKBOX:return r.createElement(X.o,{label:e.label,checked:!!t.getFieldValue(e.identifier),onChange:()=>t.setFieldValue(e.identifier,!t.getFieldValue(e.identifier)),"data-testid":"form-field-".concat(e.identifier)});default:return null}})(e))}))))))},es=n(661479),ed=[4,3],ec=()=>r.createElement(l.A,{layout:"vertical"},r.createElement(u.B,{direction:"vertical",flexGap:"s",fullWidth:!0},ed.map((e,t)=>r.createElement(r.Fragment,{key:t},r.createElement(es.E,{height:24,width:160}),Array.from({length:e}).map((e,t)=>r.createElement(l.A.Item,{key:t,classNames:er.formItem},r.createElement(u.B,{direction:"vertical",flexGap:"xs",fullWidth:!0},r.createElement(es.E,{height:16,width:120}),r.createElement(es.E,{height:40,fullWidth:!0})))))))),ep=n(792050);function em(e,t,n,r,o,a,l){try{var i=e[a](l),u=i.value}catch(e){n(e);return}i.done?t(u):Promise.resolve(u).then(r,o)}function ef(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var a=e.apply(t,n);function l(e){em(a,r,o,l,i,"next",e)}function i(e){em(a,r,o,l,i,"throw",e)}l(void 0)})}}var eh=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return ef(function*(){try{var t=yield(0,o.Jt)((0,ep.iJ)("/api/import_profile/boot",e));return yield t.json()}catch(e){return console.error("Error fetching resume boot data:",e),{}}})()};function ev(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.forEach(function(t){var r;r=n[t],t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r})}return e}function eg(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t.push.apply(t,n)}return t}
1)(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))}),e}var eb=e=>{var{visible:t,handleClose:n,context:C=W.ob.IMPORT_PROFILE,bootData:x,onCandidateAdded:E}=e,w=function(e,t){if(null==e)return{};var n,r,o,a={};if("u">typeof Reflect&&Reflect.ownKeys){for(o=0,n=Reflect.ownKeys(Object(e));o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r]);return a}if(a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.getOwnPropertyNames(e);for(r=0;r<a.length;r++)n=a[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n]);return o}(e,t),Object.getOwnPropertySymbols)for(o=0,n=Object.getOwnPropertySymbols(e);o<n.length;o++)r=n[o],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r]);return a}(e,["visible","handleClose","context","bootData","onCandidateAdded"]),[O]=l.A.useForm(),[S,T]=(0,r.useState)(!1),[_,P]=(0,r.useState)(!0),[I,N]=(0,r.useState)([]),[k,D]=(0,r.useState)({}),[F,M]=(0,r.useState)(!1),A=(0,r.useRef)(null),[j,V]=(0,r.useState)(!1),[L,B]=(0,r.useState)(!1),[U,q]=(0,r.useState)(!1),[H,z]=(0,r.useState)(""),Y=(0,r.useCallback)(e=>{z(""),setTimeout(()=>{z(e)},0)},[]),X=e=>{var t,n,r,o,a={};if(C===W.ob.EVENTS&&(null==(t=e.eventDetails)?void 0:t.id)?a.event_details={id:e.eventDetails.id,term:e.eventDetails.name||e.eventDetails.id}:C===W.ob.COMMUNITIES&&(null==(n=e.communityDetails)?void 0:n.id)&&(a.community_details={id:e.communityDetails.id,term:"".concat(e.communityDetails.name," (").concat(e.communityDetails.id,")")}),null==e||null==(r=e.prospectOwnership)?void 0:r.currentUser){var{email:l,fullname:i}=e.prospectOwnership.currentUser;a.prospect_owner_email={email:l,term:"".concat(i," <").concat(l,">")}}if(null==e||null==(o=e.sourceTrackingData)?void 0:o.currentUser){var{email:u,fullname:s}=e.sourceTrackingData.currentUser;a.profile_source_credit={email:u,term:"".concat(s," <").concat(u,">")}}return a};return(0,r.useEffect)(()=>{t&&!_&&setTimeout(()=>{var e;null==(e=A.current)||e.focus()},100)},[t,_]),(0,r.useEffect)(()=>{if(t)if(O.resetFields(),M(!1),V(!1),B(!1),P(!0),x)q(x.showAssessButton),N(G(eg(ev({},x),{context:C}))),D(X(x)),P(!1);else{var e,n;eh(C===W.ob.EVENTS?{plannedEventId:null!=(e=null==w?void 0:w.plannedEventId)?e:""}:C===W.ob.COMMUNITIES?{communityId:null!=(n=null==w?void 0:w.communityId)?n:""}:{}).then(e=>{var t,n={eventActivitiesList:e.event_activities_list,communityStagesList:e.community_stages_list,roleBasedTags:e.role_based_tags,communityDetails:e.community_details,positionDetails:e.position_details,eventDetails:e.event,isMultipleTagsEnabled:e.is_multiple_tags_enabled,importProfileConfig:e.import_profile_config,prospectOwnership:(null==(t=e.prospect_ownership)?void 0:t.enabled)?{currentUser:e.prospect_ownership.current_user,hasManagePermission:e.prospect_ownership.has_manage_permission,hasAddPermission:e.prospect_ownership.has_add_permission,hasOwnPermission:e.prospect_ownership.has_own_permission}:void 0,sourceTrackingData:e.source_tracking_data?{currentUser:e.source_tracking_data.current_user,categoriesWithSources:e.source_tracking_data.categories_with_sources,defaultSourceId:e.source_tracking_data.default_manual_entry_source_id}:void 0,isProfileSourceTrackingEnabled:e.is_profile_source_tracking_enabled};q(e.show_assess_button),N(G(eg(ev({},n),{context:C}))),D(X(n))}).catch(e=>{console.error("Error fetching boot data",e),i.$B.serveDisruptive({content:a.u.gettext("Error fetching the data")})}).finally(()=>P(!1))}},[t,C,x]),r.createElement(r.Fragment,null,r.createElement(y.A,{announcement:H,"aria-atomic":"true"}),r.createElement(b.Z,{bodyPadding:!1,bodyClassNames:R.panelBody,footerClassNames:R.panelFooter,headerPadding:!1,visible:t,onClose:n,panelLazyLoadContent:t,"aria-label":a.u.gettext("Manual Candidate Addition Panel"),maskClosable:!1,panelHeader:r.createElement(()=>r.createElement(u.B,{classNames:R.panelHeader,direction:"horizontal",fullWidth:!0,justify:"space-between"},r.createElement(u.B,{direction:"vertical",flexGap:"xxs",fullWidth:!0},r.createElement("span",{className:R.header,role:"heading","aria-level":2},C===W.ob.COMMUNITIES?a.u.gettext("Enter prospect details"):a.u.gettext("Enter candidate details"))),r.createElement(s.S,{ref:A,ariaLabel:a.u.gettext("Close manual candidate addition panel"),"data-testid":"close-manual-candidate-ad
1dition-panel-btn",iconProps:{path:d.$.mdiClose},onClick:n,shape:c.aH.Round})),null),footer:r.createElement(()=>r.createElement(u.B,{fullWidth:!0,justify:"flex-end",flexGap:"m"},r.createElement(s.S,{text:a.u.gettext("Cancel"),onClick:n,disabled:S||_,"data-testid":"close-manual-candidate-addition-panel-btn"}),r.createElement(p.t,{text:a.u.gettext("Save and add another"),onClick:()=>{M(!0),O.submit()},disabled:_||S&&!F,loading:S&&F,"data-testid":"save-and-add-another-button"}),C===W.ob.EVENTS&&U?r.createElement(m.m,{overlay:r.createElement(f.W,{items:[{type:h.x.button,text:a.u.gettext("Save and assess"),value:"save-and-assess",className:R.saveDropdownItem,onClick:()=>{B(!0),O.submit()}}],listType:"ul",role:"menu",size:v.H.medium,variant:v.v.neutral,"aria-label":a.u.gettext("Save options")}),visible:j,onVisibleChange:()=>V(!1),"aria-label":a.u.gettext("Save options dropdown"),role:"presentation",dropdownClassNames:R.saveDropdown},r.createElement(g.j,{split:!0,splitButtonProps:{iconProps:{path:d.$.mdiChevronDown},"data-testid":"save-dropdown-trigger",disabled:_||F,ariaLabel:a.u.gettext("Save options")},text:a.u.gettext("Save"),onClickCapture:()=>O.submit(),onContextMenu:()=>V(!j),splitButtonChecked:j,disabled:_||F,loading:S&&(!F||L),"data-testid":"save-candidate-button","aria-label":a.u.gettext("Save candidate")})):r.createElement(g.j,{text:a.u.gettext("Save"),onClick:()=>{O.submit()},"aria-label":a.u.gettext("Save candidate"),disabled:_||F,loading:S&&!F,"data-testid":"add-candidate-manually-button"})),null),"data-testid":"manual-candidate-addition-panel"},_?r.createElement(ec,null):r.createElement(eu,{form:O,formSections:I,onFinish:()=>{T(!0);var e,t,r,l=(e=O.getFieldListValues(),t=new FormData,r={},Object.keys(e).forEach(n=>{if("override_prospect_owner"!==n){var o=null!=(a=null==(l=I.find(e=>{var t;return null==e||null==(t=e.fields)?void 0:t.find(e=>e.identifier===n)}))?void 0:l.multi)&&a;if(W.sA.includes(n)){var a,l,i,u,s,d="";d="phone"===n?String((null==e||null==(i=e[n])?void 0:i.countryCallingCode)||"")+String((null==e||null==(u=e[n])?void 0:u.phoneNumberPart)||""):null!=(s=null==e?void 0:e[n])?s:"",r[n]=d}else if(Object.keys(W.G9).includes(n))t.append(W.G9[n],null!=(c=null==e||null==(p=e[n])?void 0:p.id)?c:"");else if(W.eS.includes(n))t.append(n,null!=(m=null==e||null==(f=e[n])?void 0:f.email)?m:"");else{var c,p,m,f,h,v="";v=o?(null==e?void 0:e[n].join(","))||"":String(null!=(h=null==e?void 0:e[n])?h:""),t.append(n,v)}}}),Object.keys(r).length>0&&t.append("profile_details",JSON.stringify(r)),t.append("entry_method",W.rH.MANUAL_ENTRY),t.append("source_type",W.xO.MANUAL_ENTRY),t.append("accessedFrom",C),t.append("override_prospect_owner",(null==e?void 0:e.override_prospect_owner)?"true":"false"),t),u="";ef(function*(){return(0,o.XK)("/api/import_profile",l)})().then(e=>{if((null==e?void 0:e.error)||(null==e?void 0:e.response)!=="success")throw Error(null==e?void 0:e.error);if(u=a.u.gettext("Candidate added successfully"),i.$B.servePositive({content:u,id:"manual-candidate-addition-panel-success-snackbar"}),F){var t,r=O.getFieldListValues();O.resetFields(),Object.keys(r).forEach(e=>{W.m8.includes(e)&&O.setFieldValue(e,r[e])}),M(!1),setTimeout(()=>{var e;null==(e=document.querySelector('[data-testid="form-field-firstname"]'))||e.focus()},10)}else O.resetFields(),n(),E&&E(),L&&(null==e?void 0:e.profile_enc_id)&&(window.location.href=(0,o.j8)("/profile/".concat(String(null==e?void 0:e.profile_enc_id)),{plannedEventId:null!=(t=null==w?void 0:w.plannedEventId)?t:""}))}).catch(e=>{u=(null==e?void 0:e.message)||a.u.gettext("Error adding candidate"),i.$B.serveDisruptive({content:u})}).finally(()=>{T(!1),u&&Y(u)})},onFinishFailed:()=>{var e=a.u.gettext("Sorry, unable to add candidate. Please remove all the errors before adding");setTimeout(()=>{var t=document.activeElement;i.$B.serveDisruptive({content:e,lastFocusableElement:t||void 0})},10),Y(e),M(!1),B(!1)},initialValues:k})))}},178850(e,t,n){"use strict";n.d(t,{uo:()=>s,ch:()=>p,ZM:()=>c,Zu:()=>d,N$:()=>m,Bb:()=>o,aP:()=>l,au:()=>u,gZ:()=>a,L$:()=>i});var r=n(306589),o="prospectOwner",a="users_with_perms",l="perm_own_prospects",i="OWNERLESS",u=30,s={SUCCESS:"success",FAILURE:"failure"},d=e=>Math.floor(Date.now()/1e3)+24*e*3600,c=e=>e?(0,r.g8)(e,"MMM D, YYYY"):"",p=e=>{if(!e)return 0;var t=Math.floor(Date.now()/1e3);return Math.max(0,(0,r.G$)(t,e,"days"))},m=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"-";if(!e)return n;var r=e.match(/^([^<]+)(?:\s*<|$)/);return(null==r||null==(t=r[1])?void 0:t.trim())||n}},415709(e,t,n){"use strict";n.d(t,{A:()=>A});var r=n(296540),o=n(234834),a=n(347114),l=n(631906),i=n(516006),u=n(805455),s=n(174124),d=n(657666),c=n(5166),p=n(360349),m=n(504118),f=n(26286),h=n(785072),v=n.n(h),g=n(697825),b=n.n(g),y=n(777659),C=n.n(y),x=n(655056),E=n.n(x),w=n(510540),O=n.n(w),S=n(341113),T=n.n(S),_=n(543898),P=n.n(_),I={};I.styleTagTransform=T(),I.setAttributes=E(),I.insert=C().bind(null,"head"),I.domAPI=b(),I.insertStyleElement=O(),v()(P(),I);let N=P()&&P().locals?P().locals:void 0;var k=f.default,D=(0,m.o)()?void 0:class extends k{render(){var e,t,n=super.render();if(null==(e=this.props.option)?void 0:e.disabled)return n;var o={"aria-selected":!!this.props.isSelected};return this.props.isSelected&&(null==(t=this.props.option)?void 0:t.label)&&(o["aria-label"]=i.u.gettextVariable("%(label)s, selected",{label:this.props.option.label})),r.cloneElement(n,o)}},F={},M=(e,t)=>{if(!e)return"";var n,r=null==(n=s.callingCountries[e])?void 0:n.countryCallingCodes;if(!(null==r?void 0:r.length))return"";if(t){var o=r.indexOf(t);return o>=0?"".concat(e,"-").concat(o):""}return"".concat(e,"-0")};let A=e=>{var t,n,{phone:m,defaultCountryCode:f,phoneNumberChange:h=()=>void 0,onBlur:v=()=>void 0,showCountryCodeDropdown:g=!1,resetOnInvalidCountry:b=!0,inputClassNames:y="",inputId:C="phone",dropdownClassNames:x="",selectId:E="phone-country-code-dropdown",useOctuple:w=!1,useOctupleForCountryCode:O=!1,required:S=!0,textInputPlaceholder:T=i.u.gettext("Phone Number"),selectPlaceholder:_=i.u.gettext("Select country code"),fieldState:P,status:I="",selectStatus:k="",emitOnFirstChange:A=!0,ariaDescribedBy:j,ariaInvalid:V,ariaErrorMessage:L,ref:R,classNames:B,numbersOnly:U=!1,splitCallingCodeAndNumber:q=!1,customFormatDropdownOptions:W}=e,[G,H]=(0,r.useState)(""),[z,Y]=(0,r.useState)(""),[X,$]=(0,r.useState)(""),K=null==(t=(0,u.getData)())?void 0:t.reduce((e,t)=>
1{var n,{name:r,code:o}=t,a=null==(n=s.callingCountries[o])?void 0:n.countryCallingCodes;return[...e,...(null==a?void 0:a.map((e,t)=>{F[e]="".concat(o,"-").concat(t);var n,a=null==(n=s.callingCountries[o])?void 0:n.emoji;if(W)return W(r,o,e,a,t);var l="".concat(a," ").concat(r," (").concat(e,")");return{label:"".concat(r," (").concat(e,")"),text:l,valueLabel:"".concat(a," ").concat(e),value:"".concat(o,"-").concat(t),callingCode:e}}))||[]]},[]);(0,r.useEffect)(()=>{var e=g?(0,d.extractPhoneInfo)(m):null;if(!z||!X||!G)if(e){var t,n,r=f?null==(n=s.callingCountries[f])||null==(t=n.countryCallingCodes)?void 0:t[0]:"",o=e.countryCode?"+".concat(e.countryCode):"",a=o&&(M(f,o)||F[o])||"",l=o||r;(b||o||a)&&($(l),Y(a||M(f)||f));var i=e.number;i&&(H(i),A&&(q?h(i,l):h("".concat(String(l)).concat(String(i)))))}else Y(""),$(""),A&&H(m||"")},[f,g,m]);var J=e=>{var t=e.callingCode||X,n=void 0!==e.phoneNumber?e.phoneNumber:G;(e.countryCode||O)&&Y(e.countryCode||f),(e.callingCode||O)&&$(e.callingCode||""),void 0!==e.phoneNumber&&H(e.phoneNumber||""),g?q?h(e.phoneNumber||"",e.callingCode||""):(null==n?void 0:n.includes("+"))||!n?h(n):h(t.concat(n)):h(n)},Z=e=>r.createElement(r.Fragment,null,r.createElement("span",null,null==e?void 0:e.text)),Q=e=>{var t,[n,o]=null==e||null==(t=e.valueLabel)?void 0:t.split(" ");return r.createElement(r.Fragment,null,r.createElement("span",{"aria-hidden":"true"},n),r.createElement("span",{className:"sr-only"},(null==e?void 0:e.label)&&i.u.gettextVariable("Country code, %(value)s",{value:e.label})),r.createElement("span",{"aria-hidden":"true"}," ",o))};return r.createElement(r.Fragment,null,w?r.createElement("div",{className:"".concat(N.phoneCountryCodeSelector," ").concat(B)},g&&(O?r.createElement(o.l,{"data-testid":E,status:k,id:E,textInputProps:{name:"".concat(C,"-country-code"),ariaLabel:i.u.gettext("Select country code"),id:"".concat(C,"-country-code"),"data-testid":"country-code-select",clearButtonClassNames:N.countryCodeClearButton},placeholder:_,defaultValue:z||"",filterable:!0,onOptionsChange:e=>{var t=K.find(t=>t.value===(null==e?void 0:e[0]))||{};J({callingCode:null==t?void 0:t.callingCode,countryCode:null==t?void 0:t.value,phoneNumber:G})},options:K,emptyText:i.u.gettext("No match found"),classNames:"".concat(String(N.countryCodeSelector)," ").concat(String(x)),inputClassNames:N.countryCodeInput,clearable:!0}):r.createElement(p.Ay,{placeholder:_,className:"".concat(String(N.countryCodeDropdown)," ").concat(String(x)),dataTestId:E,id:E,"aria-label":_,value:z,valueRenderer:e=>Q(e),options:K,onChange:e=>{J({callingCode:null==e?void 0:e.callingCode,countryCode:null==e?void 0:e.value,phoneNumber:G})},optionRenderer:Z,clearable:!1,isSearchable:!0,optionComponent:D})),r.createElement(a.k,{id:C,"data-test-id":C,placeholder:T,classNames:N.applyFormTextInput,onBlur:v,inputWidth:l.su.fill,ariaLabel:T,"aria-describedby":(null==P?void 0:P.error)&&"".concat(C,"_error"),"aria-invalid":!!(null==P||null==(n=P.error)?void 0:n.message)||V,"aria-required":S,value:G,onChange:e=>J({callingCode:X,countryCode:z,phoneNumber:e.target.value}),ref:R,status:I,numbersOnly:U})):r.createElement("div",{className:N.phoneCountryCodeSelector},g?r.createElement(p.Ay,{placeholder:_,className:N.countryCodeDropdown,dataTestId:E,id:E,"aria-label":_,value:z,valueRenderer:e=>Q(e),options:K,onChange:e=>{J({callingCode:null==e?void 0:e.callingCode,countryCode:null==e?void 0:e.value,phoneNumber:G})},clearable:!1,"aria-errormessage":L,"aria-invalid":V,"aria-describedby":j,isSearchable:!0,optionRenderer:Z,optionComponent:D}):null,r.createElement(c.A,{placeholderText:T,ariaLabel:T,className:"".concat(N.applyFormTextInput," ").concat(y),id:C,value:G,onChange:e=>J({callingCode:X,countryCode:z,phoneNumber:e}),ariaDescribedBy:j,ariaInvalid:V,ariaErrorMessage:L,required:!0})))}}}]);
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.