reActionsDropDownOpen=!this.isMoreActionsDropDownOpen}showRemoveConnectionDialog(e){this.isRemoveConnectionDialogOpen=!0 e()}removeConnection(){this.tracking.fireInteractionEvent("confirm_removed") this.isRemoveConnectionDialogOpen=!1 this.args.onDeleteConnection(this.args.connection,this.args.cardIndex)}cancelRemovingConnection(){this.tracking.fireInteractionEvent("cancel_removed") this.isRemoveConnectionDialogOpen=!1 this.focusDropdownTrigger=!0}},x=(0,i.default)(M.prototype,"i18n",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),j=(0,i.default)(M.prototype,"persistentToastManager",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,i.default)(M.prototype,"tracking",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,i.default)(M.prototype,"isMoreActionsDropDownOpen",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),F=(0,i.default)(M.prototype,"isRemoveConnectionDialogOpen",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),U=(0,i.default)(M.prototype,"focusDropdownTrigger",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(M.prototype,"onExposed",[d.action],Object.getOwnPropertyDescriptor(M.prototype,"onExposed"),M.prototype),(0,i.default)(M.prototype,"messageSentSuccess",[d.action],Object.getOwnPropertyDescriptor(M.prototype,"messageSentSuccess"),M.prototype),(0,i.default)(M.prototype,"toggleMoreActionsDropDown",[d.action],Object.getOwnPropertyDescriptor(M.prototype,"toggleMoreActionsDropDown"),M.prototype),(0,i.default)(M.prototype,"showRemoveConnectionDialog",[d.action],Object.getOwnPropertyDescriptor(M.prototype,"showRemoveConnectionDialog"),M.prototype),(0,i.default)(M.prototype,"removeConnection",[d.action],Object.getOwnPropertyDescriptor(M.prototype,"removeConnection"),M.prototype),(0,i.default)(M.prototype,"cancelRemovingConnection",[d.action],Object.getOwnPropertyDescriptor(M.prototype,"cancelRemovingConnection"),M.prototype),M))})) define("mynetwork/components/connection-connections/connections-carousel",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@glimmer/tracking","@glimmer/component","@ember/object","ember-cli-pemberly-tracking/modifiers/track-render","artdeco-carousel/components/artdeco-carousel","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/name","ember-vector-images/components/lazy-image","ember-cli-pemberly-i18n/helpers/format-name","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","discover/components/entity-card","@ember/helper","@ember/modifier","global-utils/utils/array/remove","tracked-built-ins"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v,k){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var T,E,I e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"t1UUDhWS",block:'[[[1,"\\n"],[41,[51,[30,0,["moduleDismissed"]]],[[[1," "],[11,"section"],[24,0,"mn-suggester artdeco-card"],[4,[32,0],null,[["pageKey","routeName","currentRoute"],["flagship3_people_connection_connections",[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[10,0],[14,0,"mn-suggester__carousel-wrapper"],[12],[1,"\\n "],[8,[32,2],null,[["@carouselItems","@hidePagination","@hidePrevNextBtnText","@pageSize"],[[30,0,["numCarouselItems"]],true,true,"4"]],[["default"],[[[[1,"\\n "],[8,[30,1,["title"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,0,"flex-1 t-16"],[12],[1,"\\n "],[8,[32,3],null,[["@image","@alt","@desiredWidth","@ghostType","@class"],[[30,2,["picture"]],[28,[32,4],null,[["firstName","lastName","type"],[[30,2,["firstName"]],[30,2,["lastName"]],"full"]]],32,"person","EntityPhoto-circle-1 mn-suggester__carousel-connection-picture"]],null],[1,"\\n "],[1,[28,[32,5],["i18n_connections_you_may_know","mynetwork/components/connection-connections/connections-carousel"],[["member"],[[28,[32,6],[[30,2]],null]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,7],[[16,"aria-label",[28,[32,5],["i18n_close_btn_a11y_text","mynetwork/components/connection-connections/connections-carousel"],[["member"],[[28,[32,6],[[30,2]],null]]]]],[24,0,"mn-suggester__carousel-dismiss-btn"],[4,[32,8],["click",[30,0,["dismissCCModule"]]],null],[4,[32,9],["people_connections_close"],null]],[["@circle","@color","@controlType","@icon","@size","@type"],[true,"muted","button","close","1","secondary"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["slider"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["connectionConnections"]]],null]],null],null,[[[1," "],[8,[30,1,["item"]],[[24,0,"display-flex"]],[["@myIndex"],[[30,4]]],[["default"],[[[[1,"\\n"],[41,[30,5],[[[1," "],[8,[32,10],null,[["@entity","@cardIndex","@customClass","@displayContext","@displayModule","@isSmallCardInCarousel","@isDismissable","@onCardDismissed"],[[30,3],[30,4],"discover-entity-card--full-width","drawer","mynetwork",true,false,[30,0,["onCardDismissed"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,10],null,[["@entity","@cardIndex","@customClass","@displayContext","@displayModule","@hideInsights","@onCardDismissed"],[[30,3],[30,4],"discover-entity-card--full-width","cc","mynetwork",true,[28,[32,11],[[30,0,["onCardDismissed"]],[30,3]],null]]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[3,4]],null],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["carousel","@connectionsMiniProfile","connectionsConnection","index","@showPeopleFollowRecommendations"],false,["unless","-get-dynamic-var","each","-track-array","if"]]',moduleName:"mynetwork/components/connection-connections/connections-carousel.gjs",scope:()=>[u.default,_.get,m.default,f.default,y.default,d.default,p.default,h.default,w.on,g.default,b.default,_.fn],isStrictMode:!0}),(T=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"moduleDismissed",E,this);(0,t.default)(this,"connectionConnections",I,this)}get numCarouselItems(){return this.connectionConnections.length}dismissCCModule(){this.moduleDismissed=!0}onCardDismissed(e){(0,v.removeValue)(this.connectionConnections,e)}},E=(0,i.default)(T.prototype,"moduleDismissed",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),I=(0,i.default)(T.prototype,"connectionConnections",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return new k.TrackedArray(this.args.connectionConnections)}}),(0,i.default)(T.prototype,"dismissCCModule",[c.action],Object.getOwnPropertyDescriptor(T.prototype,"dismissCCModule"),T.prototype),(0,i.default)(T.prototype,"onCardDismissed",[c.action],Object.getOwnPropertyDescriptor(T.prototype,"onCardDismissed"),T.prototype),T))})) define("mynetwork/components/connection-list",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","global-helpers/helpers/load","tracked-toolbox","@glimmer/tracking","invitation/utils/ad-banner-reloader","mynetwork/utils/connection-util","mynetwork/requests/delete-dash-connection","search-utils/utils/constants","@glimmer/component","@ember/object","@ember/utils","@ember/service","artdeco-card/components/artdeco-card","ember-cli-pemberly-i18n/helpers/t","abi-shared/components/sort-dropdown","mynetwork/components/connection-search","artdeco-button/components/artdeco-button","@ember/modifier","mynetwork/components/connection-card","global-modifiers/modifiers/focus","global-helpers/helpers/eq","scaffold-finite-scroll/components/finite-scroll","mynetwork/components/in-product-messaging-banner","discover-utils/utils/constants","artdeco-toggle/components/artdeco-toggle","artdeco-hoverables/components/artdeco-hoverable-trigger","hue-web-icons/components/icon","@ember/helper","restli-utils","global-helpers/helpers/get-class-hash"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v,k,T,E,I,O,C,P,S,N,R,A,D,M,x){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var j,L,z,F,U,W,H,V,G,Y,q,B,K,$,Q,Z,X,J,ee,te,ne,ie,oe const re=40,ae="RECENTLY_ADDED",le={RECENTLY_ADDED:"RECENTLY_ADDED",FIRST_NAME:"FIRSTNAME_LASTNAME",LAST_NAME:"LASTNAME_FIRSTNAME"} e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"wDfA5hDP",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"mn-connections mb4"]],null,[["default"],[[[[1,"\\n "],[10,"header"],[15,0,[28,[32,1],[[52,[30,0,["isCompanySearchExperimentEnabled"]],"display-flex align-items-center "],"mn-connections__header"],null]],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_num_connections","mynetwork/components/connection-list"],[["numConnections"],[[30,0,["numConnections"]]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isCompanySearchExperimentEnabled"]],[[[1," "],[10,1],[14,0,"mr1"],[12],[1,"\\n "],[8,[32,3],[[24,0,"mn-connections__search-toggle ml2"]],[["@toggled","@onToggle","@toggledText","@untoggledText","@isLabelHidden","@labelText","@size"],[[30,0,["isAIOptionOpen"]],[30,0,["toggleChange"]],[28,[32,2],["i18n_toggle_on","mynetwork/components/connection-list"],null],[28,[32,2],["i18n_toggle_off","mynetwork/components/connection-list"],null],true,[28,[32,2],["i18n_toggle","mynetwork/components/connection-list"],null],"24dp"]],null],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"label-20dp mr1"],[12],[1,[28,[32,2],["i18n_beta","mynetwork/components/connection-list"],null]],[13],[1,"\\n "],[8,[32,4],null,[["@on","@placement","@variant"],["hover","top","label"]],[["default"],[[[[1,"\\n "],[10,"button"],[14,0,"display-flex"],[15,"aria-describedby",[30,1,["ariaId"]]],[14,4,"button"],[12],[1,"\\n "],[8,[32,5],null,[["@a11yText","@type","@size","@name"],["","system","small","signal-notice"]],null],[1,"\\n "],[13],[1,"\\n "],[8,[30,1,["artdeco-hoverable-content"]],null,null,[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_toggle_tool_explanation","mynetwork/components/connection-list"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[10,0],[14,0,"mn-connections__actions-container ph5 pb3"],[12],[1,"\\n"],[41,[51,[30,0,["isAIOptionOpen"]]],[[[1," "],[8,[32,6],null,[["@isDropdownOpen","@memberListLength","@sortTypes","@sortByText","@sortBy"],[[30,0,["isDropdownOpen"]],[30,0,["dedupedConnections","length"]],[30,0,["sortTypes"]],[30,0,["sortByText"]],[30,0,["sortBy"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,7],null,[["@searchWithFiltersQueryParams","@searchQuery","@searchResultsWithoutDeletedConnections","@onSearch","@onGenAISearch","@isAIOptionOpen"],[[30,2],[30,0,["searchQuery"]],[30,0,["searchResultsWithoutDeletedConnections"]],[30,0,["search"]],[30,0,["searchWithGenAI"]],[30,0,["isAIOptionOpen"]]]],null],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n"],[41,[30,0,["shouldShowRestrictedAccountFilteringBanner"]],[[[1," "],[8,[32,8],null,[["@classNames","@productType","@storageKey"],["mv2 mh4","RESTRICTED_ACCOUNT_FILTERING",[30,0,["restrictedAccountFilteringBannerStorageKey"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isConnectionsEmpty"]],[[[1," "],[10,0],[15,0,[29,["text-align-center ",[28,[32,9],["pb4"],null]]]],[12],[1,"\\n "],[10,0],[14,0,"mn-connections__empty-search"],[12],[13],[1,"\\n"],[41,[30,0,["searchQuery"]],[[[1," "],[10,2],[14,0,"t-14 t-black--light t-normal mt4"],[12],[1,"\\n"],[41,[30,0,["genAIErrorCode"]],[[[1," "],[1,[30,0,["errorStateMessage"]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["i18n_no_search_results","mynetwork/components/connection-list"],[["keyword"],[[30,0,["searchQuery"]]]]]],[1,"\\n"]],[]]],[41,[51,[30,0,["genAIErrorCode"]]],[[[1," "],[8,[32,10],[[24,0,"mn-connections__show-all-connections"],[4,[32,11],["click",[30,0,["clearSearchQuery"]]],null]],[["@type","@color","@size","@text"],["tertiary","muted",1,[28,[32,2],["i18n_show_all_connections","mynetwork/components/connection-list"],null]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,0,["hasSearchQuery"]],[[[41,[30,0,["searchResultsData","isLoading"]],[[[1," "],[10,0],[15,0,[29,["text-align-center ",[28,[32,9],["pb4"],null]]]],[12],[1,"\\n "],[10,0],[14,0,"mn-connections__empty-search"],[12],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["searchResultsWithoutDeletedConnections"]]],null]],null],null,[[[1," "],[10,"li"],[14,0,"mn-connection-card artdeco-list"],[12],[1,"\\n "],[8,[32,12],[[4,[32,13],null,[["when","onSelector"],[[28,[32,14],[[30,4],[30,0,["focusedCard"]]],null],"a"]]]],[["@connection","@cardIndex","@onCardExposed","@onDeleteConnection"],[[30,3],[30,4],[30,0,["cardExposed"]],[30,0,["deleteConnection"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[3,4]],null],[1," "],[13],[1,"\\n"]],[]]]],[]],[[[1," "],[8,[32,15],null,[["@isDisabled","@items","@onTrigger"],[[30,0,["isScrollDisabled"]],[30,0,["dedupedConnections"]],[30,0,["onInfiniteScroll"]]]],[["content"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,6]],null]],null],null,[[[1," "],[10,"li"],[14,0,"mn-connection-card artdeco-list"],[12],[1,"\\n "],[8,[30,5],null,[["@index"],[[30,8]]],[["default"],[[[[1,"\\n "],[8,[32,12],[[4,[32,13],null,[["when","onSelector"],[[28,[32,14],[[30,8],[30,0,["focusedCard"]]],null],"a"]]]],[["@connection","@cardIndex","@onCardExposed","@onDeleteConnection"],[[30,7],[30,8],[30,0,["cardExposed"]],[30,0,["deleteConnection"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[7,8]],null],[1," "],[13],[1,"\\n "]],[5,6]]]]],[1,"\\n "]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "]],["trigger","@searchWithFiltersQueryParams","connection","cardIndex","ItemContainer","items","connection","cardIndex"],false,["if","unless","each","-track-array"]]',moduleName:"mynetwork/components/connection-list.gjs",scope:()=>[b.default,D.concat,_.default,N.default,R.default,A.default,w.default,v.default,P.default,x.default,k.default,T.on,E.default,I.default,O.default,C.default],isStrictMode:!0}),(j=(0,g.inject)("jet"),L=(0,g.inject)("global-services@store-shim"),z=(0,g.inject)("ads@ad-banner-manager"),F=(0,g.inject)("tracking"),U=(0,g.inject)("lix"),W=(0,g.inject)("i18n"),H=class extends f.default{constructor(){super(...arguments);(0,t.default)(this,"jet",V,this);(0,t.default)(this,"storeShim",G,this);(0,t.default)(this,"adBannerManager",Y,this);(0,t.default)(this,"tracking",q,this);(0,t.default)(this,"lix",B,this);(0,t.default)(this,"i18n",K,this);(0,t.default)(this,"focusedCard",$,this);(0,t.default)(this,"isScrollDisabled",Q,this);(0,t.default)(this,"isDropdownOpen",Z,this);(0,n.default)(this,"start",0);(0,t.default)(this,"deletedConnectionIds",X,this);(0,t.default)(this,"fetchedConnections",J,this);(0,t.default)(this,"searchWithFiltersQueryParams",ee,this);(0,t.default)(this,"sortType",te,this);(0,t.default)(this,"sortByText",ne,this);(0,n.default)(this,"sortTypes",le);(0,t.default)(this,"searchQuery",ie,this);(0,t.default)(this,"isAIOptionOpen",oe,this);(0,n.default)(this,"restrictedAccountFilteringBannerStorageKey",S.RESTRICTED_ACCOUNT_FILTERING_BANNER_STORAGE_KEY)}get dedupedConnections(){const e=this.sortType===ae?[...this.args.connections,...this.fetchedConnections]:this.fetchedConnections,t=[],n={} e.forEach((e=>{const i=this._getConnectionId(e) if(!n[i]&&!this.deletedConnectionIds[i]){n[i]=!0 t.push(e)}})) return t}get shouldShowRestrictedAccountFilteringBanner(){return this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-restricted-account-filtering-banner-connections")}get isCompanySearchExperimentEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-connection-list-genai")}get isConnectionsEmpty(){return this.hasSearchQuery?this.searchResultsData.isLoaded&&0===this.searchResultsWithoutDeletedConnections.length:0===this.dedupedConnections.length}get numConnections(){return this.args.numConnections-Object.keys(this.deletedConnectionIds).length}get hasSearchQuery(){return!(0,h.isBlank)(this.searchQuery)}get searchResultsData(){return this.isAIOptionOpen?(0,l.load)(this._fetchConnectionsWithGenAI({keyword:this.searchQuery})):(0,l.load)(this._fetchConnections({keyword:this.searchQuery,count:100}))}get searchResultsWithoutDeletedConnections(){return!this.searchResultsData.isLoaded||this.searchResultsData.value.isAdapterError?[]:this.searchResultsData.value.filter((e=>!this.deletedConnectionIds[this._getConnectionId(e)]))}get genAIErrorCode(){const e=this.searchResultsData.value.errors return e?e[0].status:null}get errorStateMessage(){return this.genAIErrorCode===M.httpStatus.S_408_REQUEST_TIMEOUT?this.i18n.lookupTranslation(this.constructor,"i18n_error_408")():this.genAIErrorCode===M.httpStatus.S_429_TOO_MANY_REQUESTS?this.i18n.lookupTranslation(this.constructor,"i18n_error_429")():this.i18n.lookupTranslation(this.constructor,"i18n_error_generic")()}onInfiniteScroll(){return this._getPage()}sortBy(e,t){this.sortType=e this.sortByText=t this.isDropdownOpen=!1 this.searchQuery=void 0 this.start=0 this.fetchedConnections=[] this.isScrollDisabled=!1 return this._getPage()}deleteConnection(e,t){this.storeShim.adapterFor("-ember-m3").ajax(...(0,d.default)((0,y.get)(e,"connectedMemberResolutionResult.entityUrn"))).then((()=>this._removeConnection(e))) this.focusedCard=t}cardExposed(e){u.default.reloadAd(this.adBannerManager,e)}clearSearchQuery(){this.searchQuery=void 0}search(e){this.searchQuery=e this.tracking.fireInteractionEvent("submit_search")}toggleChange(){this.searchQuery=void 0 this.isAIOptionOpen=!this.isAIOptionOpen}searchWithGenAI(e){this.searchQuery=e this.tracking.fireInteractionEvent("submit_search_with_ai")}_fetchConnections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{} const{keyword:t,sortType:n,count:i=re,start:o=0}=e,r={keyword:t,count:i,sortType:n,start:o,q:"search"} r.recipe=n!==ae||t?"com.linkedin.voyager.dash.deco.web.mynetwork.ConnectionList":"com.linkedin.voyager.dash.deco.web.mynetwork.ConnectionListWithProfile" return(0,m.getConnections)(this.storeShim,{options:r,jet:this.jet})}_fetchConnectionsWithGenAI(e){const t={input:e,q:"mynetwork",recipe:"com.linkedin.voyager.dash.deco.web.mynetwork.ConnectionList"} return(0,m.getConnectionsViaGenAI)(this.storeShim,{options:t,jet:this.jet})}_getConnectionId(e){return(0,y.get)(e,"connectedMemberResolutionResult.entityUrn")}_getPage(){let{start:e}=this const t=this.sortType??ae !e&&this.args.connections.length>0&&t===ae&&(e=re) return this._fetchConnections({sortType:t,start:e}).then((e=>{if(!this.isDestroying){if((0,y.get)(e,"length")){this.fetchedConnections=[...this.fetchedConnections,...e] this.start+=re}else this.isScrollDisabled=!0}}))}_removeConnection(e){const t=this._getConnectionId(e) this.deletedConnectionIds={...this.deletedConnectionIds,[t]:!0} this.isConnectionsEmpty&&(this.searchQuery=void 0) if(0===this.numConnections){var n,i null===(n=(i=this.args).enableEmptyState)||void 0===n||n.call(i)}}},V=(0,i.default)(H.prototype,"jet",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,i.default)(H.prototype,"storeShim",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,i.default)(H.prototype,"adBannerManager",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,i.default)(H.prototype,"tracking",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,i.default)(H.prototype,"lix",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,i.default)(H.prototype,"i18n",[W],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,i.default)(H.prototype,"focusedCard",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return-1}}),Q=(0,i.default)(H.prototype,"isScrollDisabled",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),Z=(0,i.default)(H.prototype,"isDropdownOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),X=(0,i.default)(H.prototype,"deletedConnectionIds",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),J=(0,i.default)(H.prototype,"fetchedConnections",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),ee=(0,i.default)(H.prototype,"searchWithFiltersQueryParams",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return p.SEE_ALL_SELF_CONNECTIONS_QUERY_PARAMS}}),te=(0,i.default)(H.prototype,"sortType",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return ae}}),ne=(0,i.default)(H.prototype,"sortByText",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,i.default)(H.prototype,"searchQuery",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),oe=(0,i.default)(H.prototype,"isAIOptionOpen",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(H.prototype,"dedupedConnections",[s.cached],Object.getOwnPropertyDescriptor(H.prototype,"dedupedConnections"),H.prototype),(0,i.default)(H.prototype,"searchResultsData",[s.cached],Object.getOwnPropertyDescriptor(H.prototype,"searchResultsData"),H.prototype),(0,i.default)(H.prototype,"onInfiniteScroll",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"onInfiniteScroll"),H.prototype),(0,i.default)(H.prototype,"sortBy",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"sortBy"),H.prototype),(0,i.default)(H.prototype,"deleteConnection",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"deleteConnection"),H.prototype),(0,i.default)(H.prototype,"cardExposed",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"cardExposed"),H.prototype),(0,i.default)(H.prototype,"clearSearchQuery",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"clearSearchQuery"),H.prototype),(0,i.default)(H.prototype,"search",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"search"),H.prototype),(0,i.default)(H.prototype,"toggleChange",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"toggleChange"),H.prototype),(0,i.default)(H.prototype,"searchWithGenAI",[y.action],Object.getOwnPropertyDescriptor(H.prototype,"searchWithGenAI"),H.prototype),H))})) define("mynetwork/components/connection-search",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","ember-lifeline","@glimmer/component","@ember/object","artdeco-text-input/components/artdeco-text-input","ember-cli-pemberly-i18n/helpers/t","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","@glimmer/tracking","@ember/helper","global-utils/utils/keyboard-utils"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var g,b,_,w e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"IsmjwG+8",block:'[[[1,"\\n"],[1,"\\n "],[10,0],[15,0,[28,[32,0],[[52,[30,1],"mn-connections__search-container flex-1 "],"display-flex align-items-center relative t-14 t-black--light t-normal"],null]],[12],[1,"\\n"],[41,[30,0,["ariaUpdateReceived"]],[[[1," "],[10,0],[14,"role","status"],[14,"aria-live","polite"],[14,0,"a11y-text"],[15,"aria-label",[28,[32,1],["i18n_a11y_suggestions_with_keyword","mynetwork/components/connection-search"],[["resultsCount","keyword"],[[30,0,["resultsCount"]],[30,0,["keyword"]]]]]],[12],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1],[[[1," "],[8,[32,2],null,[["@inputId","@inputClasses","@type","@placeholder","@onKeyDown","@value"],["mn-connections-search-input","mn-connections__search-input artdeco-text-input--search","search",[28,[32,1],["i18n_search_ai","mynetwork/components/connection-search"],null],[30,0,["handleSearchWithAI"]],[30,2]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,2],null,[["@inputId","@inputClasses","@type","@placeholder","@onInput","@value"],["mn-connections-search-input","mn-connections__search-input artdeco-text-input--search","search",[28,[32,1],["i18n_search_connections","mynetwork/components/connection-search"],null],[30,0,["handleSearchInput"]],[30,2]]],null],[1,"\\n"]],[]]],[41,[30,0,["isFiltersShown"]],[[[1," "],[8,[32,3],[[24,0,"mn-connections__search-with-filters link-without-visited-state"],[4,[32,4],["search_with_filters"],null]],[["@route","@model","@query"],["search.results.generic","people",[30,0,["searchWithFiltersQueryParamsAndKeyword"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_search_with_filters","mynetwork/components/connection-search"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@isAIOptionOpen","@searchQuery"],false,["if"]]',moduleName:"mynetwork/components/connection-search.gjs",scope:()=>[y.concat,m.default,u.default,d.default,p.default],isStrictMode:!0}),(g=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"ariaUpdateReceived",b,this);(0,t.default)(this,"resultsCount",_,this);(0,t.default)(this,"keyword",w,this)}handleSearchInput(e){const t=e.target.value.trim() this._searchTimer=(0,l.debounceTask)(this,"_search",t,300);(0,l.debounceTask)(this,"_updateAriaLiveInfo",2e3)}handleSearchWithAI(e){if((0,h.isEnterKey)(e)){const t=e.target.value.trim() this.keyword=t this._searchWithGenAI(t)}}_search(e){this.args.onSearch(e)}_searchWithGenAI(e){this.args.onGenAISearch(e)}_updateAriaLiveInfo(){var e this.ariaUpdateReceived=!0;(null===(e=this.args.searchResultsWithoutDeletedConnections)||void 0===e?void 0:e.length)>=0&&(this.resultsCount=this.args.searchResultsWithoutDeletedConnections.length) this.args.searchQuery&&(this.keyword=this.args.searchQuery)}get searchWithFiltersQueryParamsAndKeyword(){const{searchQuery:e,searchWithFiltersQueryParams:t}=this.args return e?{...t,keywords:e}:t}get isFiltersShown(){return this.searchWithFiltersQueryParamsAndKeyword&&!this.args.isAIOptionOpen}},b=(0,i.default)(g.prototype,"ariaUpdateReceived",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=(0,i.default)(g.prototype,"resultsCount",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),w=(0,i.default)(g.prototype,"keyword",[f.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,i.default)(g.prototype,"handleSearchInput",[c.action],Object.getOwnPropertyDescriptor(g.prototype,"handleSearchInput"),g.prototype),(0,i.default)(g.prototype,"handleSearchWithAI",[c.action],Object.getOwnPropertyDescriptor(g.prototype,"handleSearchWithAI"),g.prototype),g))})) define("mynetwork/components/contacts-right-rail",["exports","@ember/template-factory","@ember/helper","@ember/component","@linkedin/abi-js/src/index","@glimmer/component","rsvp","mynetwork/components/shared/connections-summary","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/components/shared/external-link","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class p extends r.default{get abiInstance(){return new o.Abi(a.Promise)}}e.default=p;(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"1oCgKMnC",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"right-rail mn-additional-contacts-actions"],[12],[1,"\\n "],[8,[32,0],null,[["@numConnections"],[[30,1]]],null],[1,"\\n\\n "],[10,"h2"],[14,0,"t-16 t-black t-normal mt4 mb2"],[12],[1,[28,[32,1],["i18n_advanced_actions","mynetwork/components/contacts-right-rail"],null]],[13],[1,"\\n\\n "],[8,[32,2],null,[["@id","@href","@target","@class"],["export-contacts-link","/psettings/member-data","_blank","mn-additional-contacts-actions__link"]],[["default"],[[[[1,"\\n "],[8,[32,3],[[4,[32,4],["export_connections"],null]],[["@color","@icon","@text","@type"],["muted","upload",[28,[32,1],["i18n_export_contacts","mynetwork/components/contacts-right-rail"],null],"tertiary"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,2],[[[1," "],[8,[32,3],[[4,[32,5],["click",[30,3]],null],[4,[32,4],["manage_contacts"],null]],[["@color","@icon","@text","@type"],["muted","refresh",[28,[32,1],["i18n_manage_contacts","mynetwork/components/contacts-right-rail"],null],"tertiary"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@numConnections","@sources","@redirectToContactsManagement"],false,["if"]]',moduleName:"mynetwork/components/contacts-right-rail.gjs",scope:()=>[l.default,s.default,c.default,u.default,m.default,d.on],isStrictMode:!0}),p)})) define.alias("helpcenter-in-product-ember/components/contextual-help","mynetwork/components/contextual-help") define.alias("ember-vector-images/components/custom-image","mynetwork/components/custom-image") define("mynetwork/components/draggable-object-target",["exports","ember-drag-drop/components/draggable-object-target"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define("mynetwork/components/draggable-object",["exports","ember-drag-drop/components/draggable-object"],(function(e,t){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 e.default=t.default})) define.alias("ember-cloud-filepicker/components/dropbox-file-picker","mynetwork/components/dropbox-file-picker") define.alias("ember-semaphore/components/ember-semaphore","mynetwork/components/ember-semaphore") define.alias("ember-wormhole/components/ember-wormhole","mynetwork/components/ember-wormhole") define("mynetwork/components/entity-invitee-suggestions/entity-card",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","events-shared-v2/utils/pem-tracking","urn-utils","@ember/object","@glimmer/tracking","@glimmer/component","@ember/service","@ember/destroyable","artdeco-card/components/artdeco-card","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-vector-images/components/lazy-image","ember-cli-pemberly-i18n/helpers/t","artdeco-button/components/artdeco-button","connect-button/components/withdraw-invitation-modal","@ember/modifier"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v,k){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var T,E,I,O,C,P e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"swnficwT",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[17,1],[24,0,"mn-entity-invitee-suggestions__card"]],null,[["default"],[[[[1,"\\n "],[8,[32,1],[[24,0,"link-without-hover-state flex-1 text-align-center"],[4,[32,2],["invitee_suggestions_profile"],null]],[["@route","@model"],["profile.common.profile",[30,2,["publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@image","@alt","@desiredWidth","@ghostType","@class"],[[30,2,["picture"]],[28,[32,4],["i18n_profile_image_alt","mynetwork/components/entity-invitee-suggestions/entity-card"],[["title"],[[30,2,["title"]]]]],104,"person","EntityPhoto-circle-7"]],null],[1,"\\n\\n "],[10,1],[14,0,"mn-entity-invitee-suggestions__card-title t-black t-bold"],[12],[1,"\\n "],[1,[30,2,["title"]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,1],[14,0,"mn-entity-invitee-suggestions__card-subtitle t-14 t-normal t-black--light"],[12],[1,"\\n "],[1,[30,2,["subtitle"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,"footer"],[14,0,"mt2"],[12],[1,"\\n"],[41,[30,0,["isInviteWithdrawn"]],[[[1," "],[8,[32,5],[[16,"aria-label",[28,[32,4],["i18n_withdrawn_btn_a11y_text","mynetwork/components/entity-invitee-suggestions/entity-card"],null]]],[["@class","@controlType","@size","@stretch","@icon","@color","@text","@type","@disabled"],["full-width","button","2","full","check","muted",[28,[32,4],["i18n_withdrawn","mynetwork/components/entity-invitee-suggestions/entity-card"],null],"tertiary",true]],null],[1,"\\n"]],[]],[[[41,[30,0,["isInvited"]],[[[1," "],[8,[32,6],null,[["@invitationType","@onWithdrawInvite"],[[30,3],[30,0,["withdrawInvite"]]]],[["default"],[[[[1,"\\n "],[8,[32,5],[[16,"aria-label",[28,[32,4],["i18n_invited_btn_a11y_text","mynetwork/components/entity-invitee-suggestions/entity-card"],[["title"],[[30,2,["title"]]]]]],[4,[32,7],["click",[30,4]],null],[4,[32,2],["invitee_suggestions_withdraw"],null]],[["@class","@controlType","@size","@stretch","@icon","@color","@text","@type"],["full-width","button","2","full","check","muted",[28,[32,4],["i18n_invited","mynetwork/components/entity-invitee-suggestions/entity-card"],null],"secondary"]],null],[1,"\\n "]],[4]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,5],[[16,"aria-label",[28,[32,4],["i18n_invite_btn_a11y_text","mynetwork/components/entity-invitee-suggestions/entity-card"],[["title"],[[30,2,["title"]]]]]],[4,[32,7],["click",[30,0,["sendInvite"]]],null],[4,[32,2],["invitee_suggestions_invite"],null]],[["@class","@controlType","@size","@stretch","@text","@type"],["full-width","button","2","full",[28,[32,4],["i18n_invite","mynetwork/components/entity-invitee-suggestions/entity-card"],null],"secondary"]],null],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@invitee","@invitationType","openModal"],false,["if"]]',moduleName:"mynetwork/components/entity-invitee-suggestions/entity-card.gjs",scope:()=>[y.default,h.default,g.default,b.default,_.default,w.default,v.default,k.on],isStrictMode:!0}),(T=(0,p.inject)("invitation-platform@invitation-platform"),E=(0,p.inject)("invitee-picker@invitee-suggestion-cache"),I=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"invitationPlatform",O,this);(0,t.default)(this,"inviteeSuggestionCache",C,this);(0,t.default)(this,"isInviteWithdrawn",P,this)}get isInvited(){return this.inviteeSuggestionCache.hasInvitee(this.args.invitationTargetUrn,(0,u.get)(this.args,"invitee.inviteeUrn"))}sendInvite(){const{args:e,invitationPlatform:t,inviteeSuggestionCache:n}=this,{invitee:i,invitationTargetUrn:o,invitationType:r}=e,a=(0,u.get)(i,"inviteeUrn"),l="EVENT"===r?[s.DEGRADATION_TRACKING_METADATA.SEND_INVITATION_TO_ATTEND_EVENT]:null return t.sendEntityInvitation(a,o,r,l).then((e=>{if(!(0,f.isDestroying)(this)){n.addInvitees(o,[a]) if(!this.isDestroying){const t=(0,u.get)(e,"invitationUrn")||(0,u.get)(e,"newId") this.invitationId=(0,c.extractEntityInfoFromUrn)(t).id}}}))}withdrawInvite(){if(!this.invitationId)return const{invitationType:e}=this.args,t={entityUrn:`urn:li:fs_relInvitation:${this.invitationId}`,genericInvitationType:e},{entityUrn:n,genericInvitationType:i}=t this.invitationPlatform.withdrawInvitation({entityUrn:n,genericInvitationType:i}).then((()=>{this.isDestroying||(this.isInviteWithdrawn=!0)}))}},O=(0,i.default)(I.prototype,"invitationPlatform",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(I.prototype,"inviteeSuggestionCache",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(I.prototype,"isInviteWithdrawn",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(I.prototype,"sendInvite",[u.action],Object.getOwnPropertyDescriptor(I.prototype,"sendInvite"),I.prototype),(0,i.default)(I.prototype,"withdrawInvite",[u.action],Object.getOwnPropertyDescriptor(I.prototype,"withdrawInvite"),I.prototype),I))})) define("mynetwork/components/entity-invitee-suggestions/invite-more-card",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","events-shared-v2/utils/pem-tracking","@ember/debug","ember-cli-pemberly-tracking/utils/tracking","@ember/object","@glimmer/component","@ember/service","@ember/destroyable","artdeco-card/components/artdeco-card","artdeco-entity-pile/components/artdeco-entity-pile","ember-vector-images/components/lazy-image","ember-cli-pemberly-i18n/helpers/t","@ember/helper","invitee-picker/components/invitee-picker","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/modifier"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var k,T,E,I,O,C,P const S=Object.freeze({CONTENT_SERIES:"flagship3_people_invitation_invitee_picker_content_series",GROUP:"flagship3_people_invitation_invitee_picker_group",EVENT:"flagship3_people_invitation_invitee_picker_event",ORGANIZATION:"flagship3_people_invitation_invitee_picker_organization"}) e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"wGal+UcC",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"mn-entity-invitee-suggestions__card"]],null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"display-flex flex-column align-items-center flex-1"],[12],[1,"\\n "],[10,0],[14,0,"mn-entity-invitee-suggestions__facepile-container"],[12],[1,"\\n "],[8,[32,1],null,[["@entities","@shape","@size","@maxEntities","@stacked","@totalEntityCount"],[[30,0,["facepileInviteesPile"]],"circle",3,4,true,[30,0,["remainingInviteeSuggestionsCount"]]]],[["default"],[[[[1,"\\n "],[8,[32,2],null,[["@image","@alt","@class","@desiredHeight","@desiredWidth","@ghostType"],[[30,1,["picture"]],[30,1,["title"]],"EntityPhoto-circle-3",48,48,"person"]],null],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-entity-invitee-suggestions__facepile-text"],[12],[1,"\\n "],[1,[28,[32,3],["i18n_invite_more_facepile_text","mynetwork/components/entity-invitee-suggestions/invite-more-card"],[["title"],[[28,[32,4],[[30,2],"0.title"],null]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"footer"],[12],[1,"\\n "],[8,[32,5],null,[["@entityUrn","@modalTitle","@pageKey","@onClickInvite","@onInviteModalClosed"],[[30,3],[28,[32,3],["i18n_invite_connections","mynetwork/components/entity-invitee-suggestions/invite-more-card"],null],[30,0,["inviteePickerPageKey"]],[30,0,["onInviteePickerInvite"]],[30,0,["onDismissInviteePicker"]]]],[["default"],[[[[1,"\\n "],[8,[30,4,["invitee-picker-button"]],[[16,"aria-label",[28,[32,3],["i18n_invite_more_btn_a11y_text","mynetwork/components/entity-invitee-suggestions/invite-more-card"],null]],[4,[32,6],["invitee_suggestions_invite_more"],null],[4,[32,7],["click",[30,4,["openInviteModal"]]],null]],[["@class","@text","@type"],["artdeco-button--2 artdeco-button--secondary full-width",[28,[32,3],["i18n_invite_more","mynetwork/components/entity-invitee-suggestions/invite-more-card"],null],"primary"]],null],[1,"\\n "],[8,[30,4,["filters-bar"]],null,null,null],[1,"\\n "]],[4]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["entity","@facepileInvitees","@invitationTargetUrn","ip"],false,[]]',moduleName:"mynetwork/components/entity-invitee-suggestions/invite-more-card.gjs",scope:()=>[f.default,y.default,h.default,g.default,b.get,_.default,w.default,v.on],isStrictMode:!0}),(k=(0,d.inject)("i18n"),T=(0,d.inject)("persistent-toast-manager@persistent-toast-manager"),E=(0,d.inject)("invitation-platform@invitation-platform"),I=class e extends m.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",O,this);(0,t.default)(this,"persistentToastManager",C,this);(0,t.default)(this,"invitationPlatform",P,this)}get inviteePickerPageKey(){return S[this.args.invitationType]}get facepileInviteesPile(){return[...this.args.facepileInvitees,...new Array(5)]}get remainingInviteeSuggestionsCount(){return Math.min(this.args.numConnections,99+this.args.facepileInvitees.length)}onDismissInviteePicker(){var e,t null===(e=(t=this.args).onDismissInviteePicker)||void 0===e||e.call(t)}onInviteePickerInvite(e){return this._sendBatchInvitations(e).then((()=>{if(!(0,p.isDestroying)(this)){this._inviteSuccessToast(e.length) this.onDismissInviteePicker()}}))}_sendBatchInvitations(e){const t=e.map((e=>({inviteeUrn:e,trackingId:(0,c.generateTrackingId)()}))),n="EVENT"===this.args.invitationType?{degradations:[l.DEGRADATION_TRACKING_METADATA.SEND_INVITATION_TO_ATTEND_EVENT],degradedEntityIDsToRemove:[]}:null return this.invitationPlatform.sendBatchEventInvitations(t,this.args.invitationTargetUrn,n)}_inviteSuccessToast(t){const n=this.i18n.lookupTranslation(e,"i18n_success_invite_member")([{count:t}]) this.persistentToastManager.success({message:n})}},O=(0,i.default)(I.prototype,"i18n",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(I.prototype,"persistentToastManager",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(I.prototype,"invitationPlatform",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(I.prototype,"onDismissInviteePicker",[u.action],Object.getOwnPropertyDescriptor(I.prototype,"onDismissInviteePicker"),I.prototype),(0,i.default)(I.prototype,"onInviteePickerInvite",[u.action],Object.getOwnPropertyDescriptor(I.prototype,"onInviteePickerInvite"),I.prototype),I))})) define("mynetwork/components/entity-invitee-suggestions/suggestions-carousel",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/helper","@ember/component","@ember/object","@glimmer/component","artdeco-card/components/artdeco-card","ember-cli-pemberly-tracking/modifiers/track-impression","artdeco-loader/components/artdeco-loader","artdeco-carousel/components/artdeco-carousel","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","artdeco-button/components/artdeco-button","ember-cli-pemberly-tracking/modifiers/track-interaction","mynetwork/components/entity-invitee-suggestions/entity-card","mynetwork/components/entity-invitee-suggestions/invite-more-card","@ember/modifier"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var b const _=Object.freeze({CONTENT_SERIES:"newspaper",EVENT:"calendar",GROUP:"group",ORGANIZATION:"company"}),w=Object.freeze({CONTENT_SERIES:"people_invitation_invitee_suggestions_content_series",GROUP:"people_invitation_invitee_suggestions_group",EVENT:"people_invitation_invitee_suggestions_event",ORGANIZATION:"people_invitation_invitee_suggestions_organization"}) e.default=(0,o.setComponentTemplate)((0,n.createTemplateFactory)({id:"evDkUEbY",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"mn-entity-invitee-suggestions"],[4,[32,1],[[30,0,["trackImpressionPayload"]]],[["routeName","currentRoute"],[[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]]],null,[["default"],[[[[1,"\\n\\n"],[41,[30,1,["isLoading"]],[[[1," "],[10,0],[14,0,"p4"],[12],[1,"\\n "],[8,[32,3],null,[["@size"],["small"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[32,4],null,[["@hidePrevNextBtns","@pageSize","@carouselItems","@hidePagination","@hidePrevNextBtnText"],[true,4,[30,0,["totalCarouselItems"]],true,true]],[["default"],[[[[1,"\\n "],[8,[30,2,["title"]],[[24,0,"mn-entity-invitee-suggestions__carousel-title"]],null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"display-flex flex-1 align-items-center"],[12],[1,"\\n "],[10,0],[15,0,[29,["invitation-entity-type-icon invitation-entity-type-icon--",[30,0,["iconType"]],"\\n EntityPhoto-circle-1 mr2"]]],[12],[1,"\\n "],[8,[32,5],null,[["@name","@type","@size"],[[30,0,["iconType"]],"system","small"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mn-entity-invitee-suggestions__title"],[12],[1,"\\n "],[1,[28,[32,6],["i18n_connections_to_entity","mynetwork/components/entity-invitee-suggestions/suggestions-carousel"],[["title"],[[30,1,["entityName"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,7],[[16,"aria-label",[28,[32,6],["i18n_close_btn_a11y_text","mynetwork/components/entity-invitee-suggestions/suggestions-carousel"],null]],[4,[32,8],["click",[30,0,["dismissModule"]]],null],[4,[32,9],["invitee_suggestions_close"],null]],[["@class","@color","@icon","@type","@size","@circle"],["mn-entity-invitee-suggestions__close-btn","muted","close","tertiary",1,true]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["slider"]],null,null,[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,0,["inviteeCards"]]],null]],null],null,[[[1," "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,10],null,[["@cardIndex","@invitee","@invitationTargetUrn","@invitationType"],[[30,4],[30,3],[30,1,["invitationTargetUrn"]],[30,1,["invitationType"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n"]],[3,4]],null],[1,"\\n "],[8,[30,2,["item"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,11],null,[["@numConnections","@facepileInvitees","@invitationType","@onDismissInviteePicker","@invitationTargetUrn"],[[30,5],[30,0,["facepileInvitees"]],[30,1,["invitationType"]],[30,1,["dismissModule"]],[30,1,["invitationTargetUrn"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],["@manager","carousel","inviteeSuggestion","index","@numConnections"],false,["-get-dynamic-var","if","each","-track-array"]]',moduleName:"mynetwork/components/entity-invitee-suggestions/suggestions-carousel.gjs",scope:()=>[l.default,s.default,i.get,c.default,u.default,m.default,d.default,p.default,g.on,f.default,y.default,h.default],isStrictMode:!0}),(b=class extends a.default{get inviteeCards(){return this.args.manager.inviteeSuggestions.slice(0,3)}get facepileInvitees(){return this.args.manager.inviteeSuggestions.slice(3,6)}get iconType(){return _[this.args.manager.invitationType]}get totalCarouselItems(){return this.inviteeCards.length+1}dismissModule(){var e,t this.args.manager.dismissModule() null===(e=(t=this.args).onDismissModule)||void 0===e||e.call(t)}trackImpressionPayload(){return{name:"ViewModuleImpressionEvent",body:{moduleNames:[w[this.args.manager.invitationType]]}}}},(0,t.default)(b.prototype,"dismissModule",[r.action],Object.getOwnPropertyDescriptor(b.prototype,"dismissModule"),b.prototype),(0,t.default)(b.prototype,"trackImpressionPayload",[r.action],Object.getOwnPropertyDescriptor(b.prototype,"trackImpressionPayload"),b.prototype),b))})) define("mynetwork/components/error-state",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","@ember/debug","mynetwork/utils/constants-common","@ember/object","@glimmer/component","@ember/service","ember-cli-pemberly-tracking/modifiers/track-render","artdeco-empty-state/components/artdeco-empty-state","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var h,g,b,_,w const{INVITATION:v,INVITATION_SENT:k,CONNECTION_SUMMARY:T,RECOMMENDATION:E,NETWORK_SURVEY:I}=c.ERROR_STATE_TYPES,{ERROR_SERVER:O}=c.ERROR_STATE_ILLUSTRATIONS,C={[v]:"reload_on_error__invitation",[k]:"reload_on_error__invitationSent",[T]:"reload_on_error__connectionSummary",[E]:"reload_on_error__recommendation",[I]:"reload_on_error__networkSurvey"} e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"T7ktVVqx",block:'[[[1,"\\n"],[1," "],[11,"section"],[17,1],[16,0,[29,[[30,2]," mn-error-state"]]],[4,[32,0],null,[["pageKey","routeName","currentRoute"],[[30,0,["pageKey"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[8,[32,2],null,[["@actionText","@class","@illustration","@headline","@message","@onButtonClick","@mercadoSize"],[[28,[32,3],["i18n_error_refresh","mynetwork/components/error-state"],null],[30,3],[30,0,["illustration"]],[28,[32,3],["i18n_error_something_went_wrong","mynetwork/components/error-state"],null],[30,4],[30,0,["reloadPage"]],[30,5]]],null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@classNames","@customClasses","@errorMessage","@mercadoSize"],false,["-get-dynamic-var"]]',moduleName:"mynetwork/components/error-state.gjs",scope:()=>[p.default,a.get,f.default,y.default],isStrictMode:!0}),(h=(0,d.inject)("global-services@window"),g=(0,d.inject)("tracking"),b=class extends m.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey",c.ERROR_STATE_EVENTS.ERROR_STATE_PAGEKEY);(0,t.default)(this,"windowService",_,this);(0,t.default)(this,"tracking",w,this)}get illustration(){return this.args.illustration||O}get reloadPageInteractionEvent(){return C[this.args.type]}reloadPage(){this.tracking.fireInteractionEvent(this.reloadPageInteractionEvent) this.windowService.getLocation().reload()}},_=(0,i.default)(b.prototype,"windowService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(b.prototype,"tracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(b.prototype,"reloadPage",[u.action],Object.getOwnPropertyDescriptor(b.prototype,"reloadPage"),b.prototype),b))})) define.alias("helpcenter-in-product-ember/components/external-link","mynetwork/components/external-link") define.alias("helpcenter-in-product-ember/components/feature-launcher","mynetwork/components/feature-launcher") define.alias("ember-cloud-filepicker/components/file-picker","mynetwork/components/file-picker") define.alias("ember-finite-scroll/components/finite-scroll","mynetwork/components/finite-scroll") define("mynetwork/components/follow-education-banner",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@glimmer/tracking","@ember/service","@glimmer/component","artdeco-card/components/artdeco-card","ember-cli-pemberly-i18n/helpers/t","@ember/helper","@ember/modifier","hue-web-icons/components/icon"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var h,g,b,_ e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"nP6TA53+",block:'[[[1,"\\n"],[41,[30,0,["isBannerVisible"]],[[[1," "],[8,[32,0],[[24,0,"mn-follow-education-banner"],[17,1]],null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-follow-education-banner__illustration"],[12],[13],[1,"\\n "],[10,0],[14,0,"flex-grow-1"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[10,0],[14,0,"t-bold"],[12],[1,"\\n "],[1,[28,[32,1],["creator_title","mynetwork/components/follow-education-banner"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[1,[28,[32,1],["creator_body","mynetwork/components/follow-education-banner"],[["linkInfo"],[[28,[32,2],null,[["href","target","rel","aria-label","data-test-follow-education-banner-learn-more"],["/help/linkedin/answer/a702683","_blank","noopener noreferrer",[28,[32,1],["learn_more_a11y_text","mynetwork/components/follow-education-banner"],null],true]]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"t-bold"],[12],[1,"\\n "],[1,[28,[32,1],["member_title","mynetwork/components/follow-education-banner"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[1,[28,[32,1],["member_body","mynetwork/components/follow-education-banner"],[["linkInfo"],[[28,[32,2],null,[["href","target","rel","aria-label","data-test-follow-education-banner-learn-more"],["/help/linkedin/answer/a702683","_blank","noopener noreferrer",[28,[32,1],["learn_more_a11y_text","mynetwork/components/follow-education-banner"],null],true]]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[11,"button"],[24,0,"align-self-flex-start"],[24,4,"button"],[4,[32,3],["click",[30,0,["onDismiss"]]],null],[12],[1,"\\n "],[8,[32,4],null,[["@type","@size","@name"],["system","small","close"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],["&attrs","@isCreator"],false,["if"]]',moduleName:"mynetwork/components/follow-education-banner.gjs",scope:()=>[m.default,d.default,p.hash,f.on,y.default],isStrictMode:!0}),(h=(0,c.inject)("global-services@local-storage"),g=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"localStorage",b,this);(0,t.default)(this,"isBannerVisible",_,this) this.isBannerVisible=!this.localStorage.getItem(this.localStorageDismissedKey)}get localStorageDismissedKey(){return this.args.isCreator?"mnCreatorFollowEducationBannerDismissed":"mnFollowEducationBannerDismissed"}onDismiss(){this.localStorage.setItem(this.localStorageDismissedKey,!0) this.isBannerVisible=!1}},b=(0,i.default)(g.prototype,"localStorage",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(g.prototype,"isBannerVisible",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,i.default)(g.prototype,"onDismiss",[l.action],Object.getOwnPropertyDescriptor(g.prototype,"onDismiss"),g.prototype),g))})) define("mynetwork/components/follower-insight-banner",["exports","@ember/template-factory","@ember/helper","@babel/runtime/helpers/esm/defineProperty","@ember/component","app-aware-link/components/app-aware-link","artdeco-card/components/artdeco-card","global-utils/utils/url","@glimmer/component","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,n,i,o,r,a,l,s,c,u){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 class m extends s.default{constructor(){super(...arguments);(0,i.default)(this,"ANALYTICS_URL",`${(0,l.getDomainUrl)()}/analytics/creator/audience`)}}e.default=m;(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"Z2ndKUz8",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"mn-follower-insight-banner"],[17,1]],null,[["default"],[[[[1,"\\n "],[8,[32,1],[[16,"aria-label",[28,[32,2],["i18n_view_your_analytics_text","mynetwork/components/follower-insight-banner"],null]],[24,0,"display-flex full-width link-without-visited-state"],[4,[32,3],["follower_analytics"],null]],[["@href"],[[30,0,["ANALYTICS_URL"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-follower-insight-banner__illustration"],[12],[13],[1,"\\n "],[10,0],[14,0,"flex-grow-1"],[12],[1,"\\n"],[41,[30,2,["newFollowers"]],[[[1," "],[10,2],[14,0,"text-heading-small"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_follower_insight_title","mynetwork/components/follower-insight-banner"],[["newFollowers"],[[30,2,["newFollowers"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,2,["newFollowersBanner"]],[[[1," "],[10,2],[14,0,"text-body-small t-black mt1"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_follower_insight_sub_title","mynetwork/components/follower-insight-banner"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[12],[1,"\\n"],[41,[30,2,["startDate"]],[[[1," "],[10,1],[14,0,"text-body-small t-black"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_follower_insight_body","mynetwork/components/follower-insight-banner"],[["startDate"],[[30,2,["startDate"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,1],[14,0,"text-body-small-bold hoverable-link-text"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_view_your_analytics_text","mynetwork/components/follower-insight-banner"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@insightData"],false,["if"]]',moduleName:"mynetwork/components/follower-insight-banner.gjs",scope:()=>[a.default,r.default,c.default,u.default],isStrictMode:!0}),m)})) define.alias("ember-semaphore/components/gen-ai-feedback","mynetwork/components/gen-ai-feedback") define.alias("ember-cloud-filepicker/components/google-drive-file-picker","mynetwork/components/google-drive-file-picker") define.alias("helpcenter-in-product-ember/components/header","mynetwork/components/header") define("mynetwork/components/heathrow-organization-toast",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/component","@glimmer/component","global-utils/utils/api-compat","@ember/object","@ember/destroyable","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/name","message-button/components/entry-point","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-vector-images/components/lazy-image","follows/components/follow-button","@ember/helper","artdeco-entity-pile/components/artdeco-entity-pile","global-helpers/helpers/get-class-hash"],(function(e,t,n,i,o,r,a,l