зеркало из
https://github.com/jlind0/multiplex.studio.web.git
synced 2025-10-28 20:54:22 +02:00
1713 строки
472 KiB
Plaintext
1713 строки
472 KiB
Plaintext
define.alias("@glimmer/component/-private/ember-component-manager","mynetwork/component-managers/glimmer")
|
|
define("mynetwork/components/-dynamic-element-alt",["exports","@glimmer/component"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class n extends t.default{}e.default=n}))
|
|
define("mynetwork/components/-dynamic-element",["exports","@glimmer/component"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class n extends t.default{}e.default=n}))
|
|
define.alias("s-address-book-import/components/abi-form","mynetwork/components/abi-form")
|
|
define("mynetwork/components/abi/abi-form",["exports","@ember/template-factory","@babel/runtime/helpers/esm/defineProperty","@ember/component","global-utils/utils/url","abi-shared/components/abi-form","artdeco-loader/components/artdeco-loader","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","abi-shared/components/email-invite","@ember/modifier","hue-web-icons/components/icon","artdeco-inline-feedback/components/artdeco-inline-feedback","artdeco-hoverables/components/artdeco-hoverable-trigger","artdeco-text-input/components/artdeco-text-input","abi-shared/components/password-input","ember-engines/components/link-to-external","artdeco-modal/components/artdeco-modal","@ember/helper","global-helpers/helpers/eq"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const v=o.default.getDomainUrl()
|
|
class k extends r.default{constructor(){super(...arguments);(0,n.default)(this,"privacyPolicyUrl",`${v}/legal/mobile/privacy-policy`);(0,n.default)(this,"helpCenterUrl",`${v}/help/linkedin`);(0,n.default)(this,"importHelpCenterUrl",`${v}/help/linkedin/answer/50178`)}didInsertElementOverride(){(this.args.isPromo||this.args.abiEntryPoint)&&this._fireEntryImpression(this.abookImportTransactionId)
|
|
this._fireImpression(this.abookImportTransactionId)}initOverride(){this.qqMailLink={href:"http://mail.qq.com",target:"_blank"}
|
|
this.args.emailProviders&&this._formattedProviders(this.args.emailProviders)}get i18nTemplate(){return"components/mynetwork@abi/abi-form"}onImpressionOverride(){}}e.default=k;(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"qF24ImXr",block:'[[[1,"\\n"],[1," "],[11,"section"],[16,0,[29,["mn-abi-form ",[52,[30,0,["isWorking"]],"mn-abi-form__loader-overlay"]]]],[17,1],[12],[1,"\\n"],[41,[30,0,["isWorking"]],[[[1," "],[10,0],[14,0,"mn-abi-form__overlay"],[12],[1,"\\n "],[8,[32,0],[[24,0,"mn-abi-form__large-loader"]],null,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,"section"],[14,0,"full-width"],[12],[1,"\\n "],[10,0],[15,0,[29,["mn-abi-form__container full-width\\n ",[52,[30,0,["isPromo"]],"artdeco-card"]]]],[14,"tabindex","-1"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,1],[[16,"aria-label",[28,[32,2],["i18n_close_btn_a11y_text","mynetwork/components/abi/abi-form"],null]],[24,0,"mn-abi-form__close-btn"],[4,[32,3],["click",[30,0,["dismissABIForm"]]],null],[4,[32,4],["dismiss_abi"],null]],[["@color","@icon","@type","@size","@circle"],["muted","close","tertiary",1,true]],null],[1,"\\n"]],[]],null],[1," "],[10,0],[15,0,[52,[51,[30,0,["isPromo"]]],"mn-abi-form__content"]],[12],[1,"\\n "],[10,0],[15,0,[52,[30,0,["isPromo"]],"mn-abi-form__content--promo ph3"]],[12],[1,"\\n"],[41,[30,0,["isIweMode"]],[[[1," "],[10,"h2"],[14,0,"t-20 t-20--open t-black--light t-normal mb2 mt5"],[12],[1,[28,[32,2],["main_header_invite_by_email","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[8,[32,5],null,null,null],[1,"\\n"]],[]],[[[41,[30,3],[[[1," "],[10,0],[14,0,"mn-abi-form__core-header-graphic mt4 inline-block"],[12],[13],[1,"\\n"]],[]],null],[1," "],[10,"h2"],[15,0,[29,[[52,[30,0,["isPromo"]],"t-16 t-black t-normal text-align-center mb1 ph3","t-20 t-20--open t-black--light t-normal"],"\\n ",[52,[30,3],"inline-block v-align-top mt5"]]]],[12],[1,"\\n"],[41,[30,3],[[[1," "],[1,[28,[32,2],["i18n_main_header_abi_treatment_b","mynetwork/components/abi/abi-form"],null]],[1,"\\n"]],[]],[[[41,[30,0,["isPromo"]],[[[1," "],[1,[28,[32,2],["i18n_main_header_abi_treatment_b","mynetwork/components/abi/abi-form"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["main_header_default_abi","mynetwork/components/abi/abi-form"],null]],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["isPromo"]],[[[1," "],[10,2],[14,0,"t-12 t-black--light t-normal mb4"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_additional_info_gdpr_short","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[11,3],[16,"aria-label",[28,[32,2],["i18n_learn_more_import_contacts_description","mynetwork/components/abi/abi-form"],null]],[24,6,"#"],[24,"tabindex","0"],[24,0,"mn-abi-form__learn-more-consent-btn"],[4,[32,3],["keyup",[30,0,["transformEnterKeyPressToOpenLearnMoreAction"]]],null],[4,[32,3],["click",[30,0,["openLearnMore"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["learn_more","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isFileUploadMode"]],[[[1," "],[10,2],[14,0,"t-16 t-black--light t-normal mb4"],[12],[1,[28,[32,2],["i18n_file_upload_subhead","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n\\n"],[1," "],[10,"label"],[14,"for","contacts-file-input"],[15,0,[29,["mn-abi-form__fake-text-input mn-abi-form__input\\n ",[52,[30,0,["isContactsFileNameEmpty"]],"mn-abi-form__fake-text-input--empty"]]]],[14,"tabindex","0"],[12],[1,"\\n"],[41,[30,0,["isContactsFileNameEmpty"]],[[[1," "],[1,[28,[32,2],["i18n_file_upload_input_place_holder","mynetwork/components/abi/abi-form"],null]],[1,"\\n"]],[]],[[[1," "],[1,[30,0,["contactsFileName"]]],[1,"\\n"]],[]]],[1," "],[8,[32,6],[[24,0,"mn-abi-form__file-upload-icon"]],[["@type","@size","@name"],["system","medium","attachment"]],null],[1,"\\n "],[13],[1,"\\n "],[11,"input"],[24,0,"mn-abi-form__file-upload-input"],[24,1,"contacts-file-input"],[24,4,"file"],[4,[32,3],["change",[30,0,["updateContactsFileName"]]],null],[12],[13],[1,"\\n"],[41,[30,0,["error"]],[[[1," "],[8,[32,7],[[24,0,"mb4"]],[["@id","@type","@message"],["upload-form-error-message","error",[28,[32,2],[[30,0,["error"]],"mynetwork/components/abi/abi-form"],null]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[24,0,"artdeco-button artdeco-button--3 mb4"],[16,"disabled",[30,0,["isContactsFileNameEmpty"]]],[24,4,"button"],[4,[32,3],["click",[30,0,["uploadSelectedFile"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["i18n_file_upload_btn","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-14 t-black t-normal mb4"],[12],[1,[28,[32,2],["i18n_file_upload_instruction","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n"]],[]],[[[41,[51,[30,0,["isPromo"]]],[[[1," "],[10,2],[14,0,"t-16 t-black--light t-normal mb4"],[12],[1,"\\n "],[1,[28,[32,2],["main_subhead","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-12 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_additional_info_gdpr","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[10,2],[14,0,"t-12 t-black--light t-normal mb4"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_additional_info_gdpr_subhead","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[11,3],[24,6,"#"],[24,"tabindex","0"],[24,0,"mn-abi-form__learn-more-consent-btn"],[4,[32,3],["keyup",[30,0,["transformEnterKeyPressToOpenLearnMoreAction"]]],null],[4,[32,3],["click",[30,0,["openLearnMore"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["learn_more","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["showImapEmailHovercard"]],[[[1," "],[10,"label"],[14,"for","email"],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_email_list_label","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,8],null,[["@for","@on","@onShow","@onHide","@placement"],["emailSupported","init",[30,0,["onHovercardShow"]],[30,0,["onHovercardHide"]],"right"]],[["default"],[[[[1,"\\n "],[8,[32,9],null,[["@name","@inputId","@inputClasses","@type","@value","@placeholder","@onInput","@aria-describedby"],["email","email",[52,[30,0,["error"]],"mn-abi-form__input error","mn-abi-form__input"],"text",[30,0,["email"]],[28,[32,2],["i18n_email_input_placeholder","mynetwork/components/abi/abi-form"],null],[30,0,["resolveEmailPromise"]],"email-error"]],null],[1,"\\n\\n "],[8,[30,4,["artdeco-hoverable-content"]],null,[["@theme","@classNames","@hasDismissButton"],["inverse","mn-abi-form__imap-email-hovercard--content",true]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-abi-form__imap-email-hovercard--check-icon"],[12],[13],[1,"\\n "],[10,0],[14,0,"text-align-left"],[12],[1,[28,[32,2],["i18n_email_address_supported","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[4]]]]],[1,"\\n"]],[]],[[[1," "],[10,"label"],[14,"for","email"],[14,0,"visually-hidden"],[12],[1,[28,[32,2],["i18n_email_list_label","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[8,[32,9],null,[["@name","@inputId","@inputClasses","@type","@value","@placeholder","@onInput","@aria-describedby"],["email","email",[52,[30,0,["error"]],"mn-abi-form__input error","mn-abi-form__input"],"text",[30,0,["email"]],[28,[32,2],["i18n_email_input_placeholder","mynetwork/components/abi/abi-form"],null],[30,0,["resolveEmailPromise"]],[52,[30,0,["error"]],"abi-form-email-error"]]],null],[1,"\\n"]],[]]],[1,"\\n"],[41,[30,0,["isPasswordFieldRequired"]],[[[1," "],[8,[32,10],[[24,0,"mb2"]],[["@inputId","@value","@placeholder","@inputDisabled"],["mn-abi-form__password",[30,0,["password"]],[28,[32,2],["i18n_password_placeholder","mynetwork/components/abi/abi-form"],null],[30,0,["isSubmitting"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["error"]],[[[1," "],[8,[32,7],[[16,0,[52,[30,0,["isPromo"]],"mb4 t-black t-normal","mb4"]],[24,1,"abi-form-email-error"]],[["@type","@message"],["error",[28,[32,2],[[30,0,["error"]],"mynetwork/components/abi/abi-form"],null]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[11,"button"],[24,1,"start-abi"],[16,0,[29,["artdeco-button\\n ",[52,[30,0,["isPromo"]],"artdeco-button--secondary mb2","artdeco-button--3 mb4"]]]],[16,"disabled",[30,0,["disableSubmit"]]],[24,4,"button"],[4,[32,3],["click",[30,0,["startAbi"]]],null],[12],[1,"\\n"],[41,[30,0,["isPromo"]],[[[1," "],[1,[28,[32,2],["i18n_start_cta_treatment_control","mynetwork/components/abi/abi-form"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,2],["start_cta","mynetwork/components/abi/abi-form"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]]],[41,[51,[30,0,["isPromo"]]],[[[1," "],[8,[32,11],[[24,0,"t-14 t-black--light t-normal block"],[4,[32,4],["more"],null]],[["@route","@query"],["abi.intro",[28,[32,12],null,[["transactionId"],[[30,0,["abookImportTransactionId"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_more_options","mynetwork/components/abi/abi-form"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null]],[]]],[1," "],[13],[1,"\\n"],[41,[30,0,["isPromo"]],[[[1," "],[10,0],[15,0,[29,["pt1 pb3 ",[52,[30,3],"pl3"]]]],[12],[1,"\\n "],[8,[32,11],[[24,0,"t-14 t-black--light t-normal block"],[4,[32,4],["more"],null]],[["@route","@query"],["abi.intro",[28,[32,12],null,[["transactionId"],[[30,0,["abookImportTransactionId"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,2],["i18n_more_options","mynetwork/components/abi/abi-form"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,13],null,[["@modalClasses","@size","@dismissModal","@isOpen"],["mn-learn-more-modal","medium",[30,0,["closeLearnMore"]],[30,0,["modalOpen"]]]],[["default"],[[[[1,"\\n "],[8,[30,5,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"mn-abi-form__modal-header"],[12],[1,[28,[32,2],["learn_more_header","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,5,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n "],[1,[52,[30,0,["isImapEnabled"]],[28,[32,2],["learn_more_content_imap_c","mynetwork/components/abi/abi-form"],[["linkPrivacyPolicy","linkImportHelpCenter","linkHelpCenter"],[[28,[32,12],null,[["data-privacy-policy-url","target","href"],["true","_blank",[30,0,["privacyPolicyUrl"]]]]],[28,[32,12],null,[["data-import-help-url","target","href"],["true","_blank",[30,0,["importHelpCenterUrl"]]]]],[28,[32,12],null,[["data-help-center-url","target","href"],["true","_blank",[30,0,["helpCenterUrl"]]]]]]]],[28,[32,2],["learn_more_content_c","mynetwork/components/abi/abi-form"],[["linkPrivacyPolicy","linkImportHelpCenter","linkHelpCenter"],[[28,[32,12],null,[["data-privacy-policy-url","target","href"],["true","_blank",[30,0,["privacyPolicyUrl"]]]]],[28,[32,12],null,[["data-import-help-url","target","href"],["true","_blank",[30,0,["importHelpCenterUrl"]]]]],[28,[32,12],null,[["data-help-center-url","target","href"],["true","_blank",[30,0,["helpCenterUrl"]]]]]]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[5]]]]],[1,"\\n "],[10,0],[14,0,"mn-abi-form__graphic"],[12],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[48,[30,9]],[[[41,[30,6],[[[1," "],[10,"hr"],[14,0,"mb4"],[12],[13],[1,"\\n"]],[]],null],[1," "],[18,9,null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[48,[30,9]],[[[1," "],[10,"aside"],[14,0,"fr"],[12],[1,"\\n "],[10,0],[14,0,"mn-chiclets container-with-shadow"],[12],[1,"\\n "],[10,"h2"],[14,0,"t-16 t-black--light t-normal"],[12],[1,[28,[32,2],["aside_header","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[10,"ul"],[14,0,"list-style-none"],[12],[1,"\\n"],[42,[28,[31,5],[[28,[31,5],[[30,0,["formattedProviders"]]],null]],null],null,[[[1," "],[10,"li"],[14,0,"mt2"],[12],[1,"\\n "],[11,"button"],[24,"data-type","oauth"],[24,4,"button"],[4,[32,3],["click",[28,[32,14],[[30,0,["selectProvider"]],[30,7,["modelProvider"]]],null]],null],[12],[1,"\\n "],[8,[32,6],[[16,0,[52,[28,[32,15],[[30,7,["emailProvider","emailProviderClassName"]],"envelope"],null],"mn-chiclets__icon"]]],[["@name","@type","@size"],[[30,7,["emailProvider","emailProviderClassName"]],[52,[28,[32,15],[[30,7,["emailProvider","emailProviderClassName"]],"envelope"],null],"system","social"],"medium"]],null],[1,"\\n "],[10,1],[14,0,"mn-chiclets__item-name t-16 t-black--light t-normal"],[12],[1,[28,[32,2],["i18n_provider_name_v3","mynetwork/components/abi/abi-form"],[["providerName"],[[30,7,["emailOrigin"]]]]]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[7]],null],[1," "],[10,"li"],[14,0,"mt2"],[12],[1,"\\n "],[11,"button"],[24,0,"other-email-btn"],[24,"data-type","non-oauth"],[24,4,"button"],[4,[32,3],["click",[30,0,["toggleOtherEmailMode"]]],null],[12],[1,"\\n "],[8,[32,6],[[24,0,"mn-chiclets__icon"]],[["@type","@size","@name"],["system","medium","envelope"]],null],[1,"\\n "],[10,1],[14,0,"mn-chiclets__item-name t-16 t-black--light t-normal"],[12],[1,[28,[32,2],["i18n_email_other","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[14,0,"mt2"],[12],[1,"\\n "],[11,"button"],[24,0,"iwe-btn"],[24,"data-type","non-oauth"],[16,"disabled",[30,0,["isSubmitting"]]],[24,4,"button"],[4,[32,3],["click",[30,0,["onEmailInviteMode"]]],null],[12],[1,"\\n "],[8,[32,6],[[24,0,"mn-chiclets__icon"]],[["@type","@size","@name"],["system","medium","edit"]],null],[1,"\\n "],[10,1],[14,0,"mn-chiclets__item-name t-16 t-black--light t-normal"],[12],[1,[28,[32,2],["i18n_email_invite","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"li"],[14,0,"mt2"],[12],[1,"\\n "],[11,"button"],[24,0,"contacts-file-upload-btn"],[24,"data-type","non-oauth"],[24,4,"button"],[4,[32,3],["click",[30,0,["openContactsFileInput"]]],null],[4,[32,4],["upload"],null],[12],[1,"\\n "],[8,[32,6],[[24,0,"mn-chiclets__icon"]],[["@type","@size","@name"],["system","medium","document"]],null],[1,"\\n "],[10,1],[14,0,"mn-chiclets__item-name t-16 t-black--light t-normal"],[12],[1,[28,[32,2],["i18n_email_upload","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,13],null,[["@isOpen","@size","@dismissModal"],[[30,0,["isQqmailImportModalOpen"]],"medium",[30,0,["closeQqMailImportModal"]]]],[["default"],[[[[1,"\\n "],[8,[30,8,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"qqmail-modal-header"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_qqmail_modal_header_text","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,8,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n "],[10,2],[14,0,"mn-qqmail-import-modal__instruction-text t-14 t-black t-normal"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_qqmail_modal_instruction_step_one_copy","mynetwork/components/abi/abi-form"],[["link"],[[30,0,["qqMailLink"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mn-qqmail-import-modal__instruction-graphic"],[14,"aria-hidden","true"],[12],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,8,["artdeco-modal-footer"]],null,null,[["default"],[[[[1,"\\n "],[10,2],[14,0,"mn-qqmail-import-modal__instruction-text t-14 t-black t-normal"],[12],[1,[28,[32,2],["i18n_qqmail_modal_instruction_step_two_copy","mynetwork/components/abi/abi-form"],null]],[13],[1,"\\n "],[11,"button"],[24,3,"button"],[24,0,"mn-qqmail-import-modal__file-upload-btn artdeco-button"],[24,4,"button"],[4,[32,4],["upload"],null],[4,[32,3],["click",[30,0,["handleQqmailUploadBtnClick"]]],null],[12],[1,"\\n "],[1,[28,[32,2],["i18n_qqmail_modal_upload_btn","mynetwork/components/abi/abi-form"],null]],[1,"\\n "],[13],[1,"\\n "],[11,"input"],[24,1,"qqmail-upload-input"],[24,0,"visually-hidden"],[24,4,"file"],[4,[32,3],["change",[30,0,["handleQqmailFileChange"]]],null],[12],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[8]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","@onDismiss","@displayOnConnectHub","card","modal","@socialProofCount","provider","modal","&default"],false,["if","unless","has-block","yield","each","-track-array"]]',moduleName:"mynetwork/components/abi/abi-form.gjs",scope:()=>[a.default,l.default,s.default,m.on,c.default,u.default,d.default,p.default,f.default,y.default,h.default,g.default,_.hash,b.default,_.fn,w.default],isStrictMode:!0}),k)}))
|
|
define("mynetwork/components/abi/abi-promo-left-rail",["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-cli-pemberly-tracking/utils/tracking","@ember/object","@ember/runloop","@glimmer/tracking","@glimmer/component","@ember/service","@ember/render-modifiers/modifiers/did-insert","mynetwork/components/abi/wylo-promo","mynetwork/components/abi/abi-form","ember-engines/components/link-to-external","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var w,v,k,T,I,E,O,C
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"t5mEXmFM",block:'[[[1,"\\n"],[1," "],[11,0],[17,1],[4,[32,0],[[30,0,["loadOrganicAbi"]]],null],[12],[1,"\\n"],[41,[30,2],[[[41,[30,0,["hasFinishedResolvingPromo"]],[[[41,[30,0,["shouldShowWyloPromo"]],[[[1," "],[8,[32,1],null,null,null],[1,"\\n"]],[]],[[[1," "],[8,[32,2],null,[["@isPromo","@abiInstance","@abiEntryPoint","@prefillEmail"],[true,[30,3],[30,4],[30,5]]],null],[1,"\\n"]],[]]]],[]],null]],[]],[[[1," "],[8,[32,3],[[16,0,[30,6]],[4,[32,5],["abi"],null]],[["@route","@query"],[[52,[30,0,["shouldSkipImport"]],"abi.results","abi.intro"],[28,[32,4],null,[["transactionId","afterRoute","isOrganic"],[[30,0,["transactionId"]],"abi.intro.index",true]]]]],[["default"],[[[[1,"\\n"],[41,[30,7],[[[1," "],[1,[28,[32,6],["i18n_find_connections","mynetwork/components/abi/abi-promo-left-rail"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,6],["i18n_build_your_network","mynetwork/components/abi/abi-promo-left-rail"],null]],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["&attrs","@showABIPromoInSideRail","@abiInstance","@abiEntryPoint","@prefillEmail","@customClasses","@showABIPromoInMiddleRail"],false,["if"]]',moduleName:"mynetwork/components/abi/abi-promo-left-rail.gjs",scope:()=>[p.default,f.default,y.default,h.default,g.hash,b.default,_.default],isStrictMode:!0}),(w=(0,d.inject)("heathrow@heathrow"),v=class extends m.default{constructor(){super(...arguments);(0,t.default)(this,"heathrow",k,this);(0,n.default)(this,"transactionId",(0,l.generateTrackingId)());(0,t.default)(this,"shouldShowWyloPromo",T,this);(0,t.default)(this,"showABIPromoInSideRail",I,this);(0,t.default)(this,"isAbiFormResoultionComplete",E,this);(0,t.default)(this,"shouldSkipImport",O,this);(0,t.default)(this,"hasFinishedResolvingPromo",C,this)}_configureOrganicAbi(){this.heathrow.organicAbiShouldSkipImport().then((e=>{if(!this.isDestroying){this.shouldSkipImport=e
|
|
this.shouldShowWyloPromo=e}})).catch((e=>{this.isDestroying||(this.shouldSkipImport=!0)
|
|
throw e})).finally((()=>{this.isDestroying||(this.hasFinishedResolvingPromo=!0)}))}loadOrganicAbi(){(0,c.once)(this,"_configureOrganicAbi")}},k=(0,i.default)(v.prototype,"heathrow",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(v.prototype,"shouldShowWyloPromo",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),I=(0,i.default)(v.prototype,"showABIPromoInSideRail",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),E=(0,i.default)(v.prototype,"isAbiFormResoultionComplete",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),O=(0,i.default)(v.prototype,"shouldSkipImport",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),C=(0,i.default)(v.prototype,"hasFinishedResolvingPromo",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(v.prototype,"loadOrganicAbi",[s.action],Object.getOwnPropertyDescriptor(v.prototype,"loadOrganicAbi"),v.prototype),v))}))
|
|
define("mynetwork/components/abi/wylo-promo",["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","abi-shared/utils/constants-base","@glimmer/tracking","@glimmer/component","@ember/debug","@ember/object","@ember/service","@ember/render-modifiers/modifiers/did-insert","ember-cli-pemberly-i18n/helpers/t","ember-engines/components/link-to-external","@ember/helper","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction","@ember/routing","artdeco-loader/components/artdeco-loader"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var v,k,T,I,E,O
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"aIn4W249",block:'[[[1,"\\n"],[1,"\\n "],[11,"section"],[24,0,"mn-wylo-promo inline-block text-align-center"],[4,[32,0],[[30,0,["fireAbiImpressionEvent"]]],null],[12],[1,"\\n "],[10,0],[14,0,"p4"],[14,"tabindex","-1"],[12],[1,"\\n "],[10,"h3"],[14,0,"t-14 t-black t-normal mb1 ph1"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_wylo_copytest_heading_c","mynetwork/components/abi/wylo-promo"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"h4"],[14,0,"t-12 t-black--light t-normal mb1"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_wylo_copytest_subheading_c","mynetwork/components/abi/wylo-promo"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,2],[[24,0,"artdeco-button artdeco-button--secondary mt2"],[4,[32,4],["click",[30,0,["onCtaClick"]]],null],[4,[32,5],["wylo_get_started"],null]],[["@route","@query"],["abi.results",[28,[32,3],null,[["transactionId","afterRoute","isOrganic"],[[30,0,["transactionId"]],"abi.intro.index",true]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_wylo_cta_continue","mynetwork/components/abi/wylo-promo"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,6],[[24,0,"artdeco-button artdeco-button--tertiary artdeco-button--2 artdeco-button--muted mt2"],[4,[32,5],["more_options"],null]],[["@route","@query"],["abi",[28,[32,3],null,[["transactionId"],[[30,0,["transactionId"]]]]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_more_options","mynetwork/components/abi/wylo-promo"],null]],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,0,["showSpinner"]],[[[1," "],[10,0],[14,0,"mn-wylo-promo__loader-overlay"],[12],[13],[1,"\\n "],[8,[32,7],null,[["@size","@type","@class"],["small","muted","mn-wylo-promo__loader"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[],false,["if"]]',moduleName:"mynetwork/components/abi/wylo-promo.gjs",scope:()=>[p.default,f.default,y.default,h.hash,g.on,b.default,_.LinkTo,w.default],isStrictMode:!0}),(v=(0,d.inject)("abi-shared@abi-tracking"),k=(0,d.inject)("router"),T=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"abiTracking",I,this);(0,t.default)(this,"router",E,this);(0,t.default)(this,"showSpinner",O,this)}fireAbiImpressionEvent(){this._fireEntryImpression()
|
|
const e={abookImportTransactionId:this.args.transactionId}
|
|
this.abiTracking.fireImpressionTracking(e)}willDestroy(){super.willDestroy(...arguments)
|
|
this.showSpinner=!1}onCtaClick(){this.showSpinner=!0}_fireEntryImpression(){const e=(0,m.get)(this,"router.currentRouteName").replace("mynetwork.",""),t=l.ABI_ENTRY_POINT_ROUTE_MAP.mynetwork[e]
|
|
this.abiTracking.fireAbiTracking(t,l.SUGGESTED_ROUTE.RESULT_LANDING,this.args.transactionId)}},I=(0,i.default)(T.prototype,"abiTracking",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(T.prototype,"router",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(T.prototype,"showSpinner",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(T.prototype,"fireAbiImpressionEvent",[m.action],Object.getOwnPropertyDescriptor(T.prototype,"fireAbiImpressionEvent"),T.prototype),(0,i.default)(T.prototype,"onCtaClick",[m.action],Object.getOwnPropertyDescriptor(T.prototype,"onCtaClick"),T.prototype),T))}))
|
|
define.alias("artdeco-button/components/artdeco-button","mynetwork/components/artdeco-button")
|
|
define.alias("artdeco-datepicker/components/artdeco-calendar","mynetwork/components/artdeco-calendar")
|
|
define.alias("artdeco-card/components/artdeco-card-image","mynetwork/components/artdeco-card-image")
|
|
define.alias("artdeco-card/components/artdeco-card","mynetwork/components/artdeco-card")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel-item","mynetwork/components/artdeco-carousel-item")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel-slider","mynetwork/components/artdeco-carousel-slider")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel-title","mynetwork/components/artdeco-carousel-title")
|
|
define.alias("artdeco-carousel/components/artdeco-carousel","mynetwork/components/artdeco-carousel")
|
|
define.alias("artdeco-completeness-meter-linear/components/artdeco-completeness-meter-linear","mynetwork/components/artdeco-completeness-meter-linear")
|
|
define.alias("artdeco-modal/components/artdeco-confirmation-dialog","mynetwork/components/artdeco-confirmation-dialog")
|
|
define.alias("artdeco-datepicker/components/artdeco-datepicker-embedded-cal","mynetwork/components/artdeco-datepicker-embedded-cal")
|
|
define.alias("artdeco-datepicker/components/artdeco-datepicker","mynetwork/components/artdeco-datepicker")
|
|
define.alias("artdeco-datepicker/components/artdeco-daterange-embedded-cal","mynetwork/components/artdeco-daterange-embedded-cal")
|
|
define.alias("artdeco-datepicker/components/artdeco-daterange","mynetwork/components/artdeco-daterange")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-content","mynetwork/components/artdeco-dropdown-content")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-header","mynetwork/components/artdeco-dropdown-header")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-item","mynetwork/components/artdeco-dropdown-item")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown-trigger","mynetwork/components/artdeco-dropdown-trigger")
|
|
define.alias("artdeco-dropdown/components/artdeco-dropdown","mynetwork/components/artdeco-dropdown")
|
|
define.alias("artdeco-empty-state/components/artdeco-empty-state","mynetwork/components/artdeco-empty-state")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-badge","mynetwork/components/artdeco-entity-lockup-badge")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-caption","mynetwork/components/artdeco-entity-lockup-caption")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-content","mynetwork/components/artdeco-entity-lockup-content")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-image","mynetwork/components/artdeco-entity-lockup-image")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-metadata","mynetwork/components/artdeco-entity-lockup-metadata")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-subtitle","mynetwork/components/artdeco-entity-lockup-subtitle")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup-title","mynetwork/components/artdeco-entity-lockup-title")
|
|
define.alias("artdeco-entity-lockup/components/artdeco-entity-lockup","mynetwork/components/artdeco-entity-lockup")
|
|
define.alias("artdeco-entity-pile/components/artdeco-entity-pile","mynetwork/components/artdeco-entity-pile")
|
|
define.alias("artdeco-hoverables/components/artdeco-hoverable-content","mynetwork/components/artdeco-hoverable-content")
|
|
define.alias("artdeco-hoverables/components/artdeco-hoverable-trigger","mynetwork/components/artdeco-hoverable-trigger")
|
|
define.alias("artdeco-inline-feedback/components/artdeco-inline-feedback","mynetwork/components/artdeco-inline-feedback")
|
|
define.alias("artdeco-loader/components/artdeco-loader","mynetwork/components/artdeco-loader")
|
|
define.alias("artdeco-modal/components/container","mynetwork/components/artdeco-modal-container")
|
|
define.alias("artdeco-modal/components/artdeco-modal-content","mynetwork/components/artdeco-modal-content")
|
|
define.alias("artdeco-modal/components/artdeco-modal-footer","mynetwork/components/artdeco-modal-footer")
|
|
define.alias("artdeco-modal/components/artdeco-modal-header","mynetwork/components/artdeco-modal-header")
|
|
define.alias("artdeco-modal/components/artdeco-modal","mynetwork/components/artdeco-modal")
|
|
define.alias("artdeco-notification-badge/components/artdeco-notification-badge","mynetwork/components/artdeco-notification-badge")
|
|
define.alias("artdeco-pagination/components/artdeco-pagination-ellipsis","mynetwork/components/artdeco-pagination-ellipsis")
|
|
define.alias("artdeco-pagination/components/artdeco-pagination-indicator","mynetwork/components/artdeco-pagination-indicator")
|
|
define.alias("artdeco-pagination/components/artdeco-pagination","mynetwork/components/artdeco-pagination")
|
|
define.alias("artdeco-pill/components/artdeco-pill-choice-group","mynetwork/components/artdeco-pill-choice-group")
|
|
define.alias("artdeco-pill/components/artdeco-pill-choice","mynetwork/components/artdeco-pill-choice")
|
|
define.alias("artdeco-pill/components/artdeco-pill-dismiss","mynetwork/components/artdeco-pill-dismiss")
|
|
define.alias("artdeco-pill/components/artdeco-pill-input","mynetwork/components/artdeco-pill-input")
|
|
define.alias("artdeco-pill/components/artdeco-pill-link","mynetwork/components/artdeco-pill-link")
|
|
define.alias("artdeco-pill/components/artdeco-pill-toggle","mynetwork/components/artdeco-pill-toggle")
|
|
define.alias("artdeco-slider/components/artdeco-slider","mynetwork/components/artdeco-slider")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tab","mynetwork/components/artdeco-spotlight-tab")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-spotlight-tablist","mynetwork/components/artdeco-spotlight-tablist")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tab","mynetwork/components/artdeco-tab")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tablist","mynetwork/components/artdeco-tablist")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabpanel","mynetwork/components/artdeco-tabpanel")
|
|
define.alias("ember-cli-artdeco-tabs/components/artdeco-tabs","mynetwork/components/artdeco-tabs")
|
|
define.alias("artdeco-text-input/components/artdeco-text-input-multi","mynetwork/components/artdeco-text-input-multi")
|
|
define.alias("artdeco-text-input/components/artdeco-text-input-single","mynetwork/components/artdeco-text-input-single")
|
|
define.alias("artdeco-text-input/components/artdeco-text-input","mynetwork/components/artdeco-text-input")
|
|
define.alias("artdeco-toast/components/artdeco-toast-item","mynetwork/components/artdeco-toast-item")
|
|
define.alias("artdeco-toast/components/artdeco-toasts","mynetwork/components/artdeco-toasts")
|
|
define.alias("artdeco-toggle/components/artdeco-toggle","mynetwork/components/artdeco-toggle")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-input","mynetwork/components/artdeco-typeahead-input")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-result","mynetwork/components/artdeco-typeahead-result")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead-results-list","mynetwork/components/artdeco-typeahead-results-list")
|
|
define.alias("ember-cli-artdeco-typeahead/components/artdeco-typeahead","mynetwork/components/artdeco-typeahead")
|
|
define.alias("ember-semaphore/components/block-profile","mynetwork/components/block-profile")
|
|
define.alias("ember-semaphore/components/cleared-content-modal-v2","mynetwork/components/cleared-content-modal-v2")
|
|
define.alias("ember-semaphore/components/cleared-content-modal","mynetwork/components/cleared-content-modal")
|
|
define("mynetwork/components/community-summary",["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","tracked-toolbox","@ember/object","@glimmer/tracking","@glimmer/component","@ember/service","ember-cli-pemberly-i18n/helpers/t","@ember/routing","ember-cli-pemberly-tracking/modifiers/track-interaction","hue-web-icons/components/icon","artdeco-button/components/artdeco-button","@ember/modifier","global-modifiers/modifiers/focus","ember-engines/components/link-to-external","@ember/helper","artdeco-loader/components/artdeco-loader"],(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,I,E,O,C,P,S,N,R,A,D
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"70Cpduc7",block:'[[[1,"\\n"],[1," "],[11,"section"],[24,0,"mn-community-summary"],[17,1],[12],[1,"\\n"],[41,[30,0,["isNurtureTabEnabled"]],[[[1," "],[10,0],[15,0,[29,[[52,[51,[30,0,["isNurtureSummaryCollapsed"]]],"pb4"]]]],[12],[1,"\\n "],[11,0],[24,0,"display-flex align-items-center justify-space-between pl5 pr2 cursor-pointer"],[24,"role","button"],[4,[32,0],["click",[30,0,["toggleNurtureCommunitySummary"]]],null],[12],[1,"\\n "],[10,"h2"],[14,0,"text-heading-medium pv4"],[14,"role","presentation"],[12],[1,[28,[32,1],["i18n_section_header","mynetwork/components/community-summary"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-community-summary__menu-icon-nurture display-flex t-black--light p3"],[15,"aria-label",[52,[30,0,["isNurtureSummaryCollapsed"]],[28,[32,1],["i18n_show_more_a11y_text","mynetwork/components/community-summary"],null],[28,[32,1],["i18n_show_less_a11y_text","mynetwork/components/community-summary"],null]]],[12],[1,"\\n "],[8,[32,2],null,[["@type","@size","@name"],["system","small",[52,[30,0,["isNurtureSummaryCollapsed"]],"chevron-down","chevron-up"]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[41,[51,[30,0,["isNurtureSummaryCollapsed"]]],[[[1," "],[10,"hr"],[14,0,"artdeco-divider mt0 mb4"],[12],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,3],[[16,"aria-label",[52,[30,2],[28,[32,1],["i18n_connections_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,2]]]],[28,[32,1],["i18n_no_connections_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["connections"],null]],[["@route"],["invite-connect.connections"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","people"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_connections_head","mynetwork/components/community-summary"],[["count"],[[30,2]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,2]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["shouldDisplayContacts"]],[[[1," "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,3],[28,[32,1],["i18n_saved_contacts_with_count_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,3]]]],[28,[32,1],["i18n_no_saved_contacts_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["saved_contacts"],null],[4,[32,6],null,[["when"],[[30,0,["focusRemainingCommunities"]]]]]],[["@route"],["abi.saved-contacts"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","notebook"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_contacts_title","mynetwork/components/community-summary"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,3],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,3]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[28,[32,1],["i18n_following_followers_a11y_text","mynetwork/components/community-summary"],null]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["people-follow"],null]],[["@route","@query"],["mynetwork.network-manager.people-follow",[28,[32,7],null,[["filterType"],["member"]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@name","@size"],["person","medium"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_curation_hub_pf_head","mynetwork/components/community-summary"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isEnUSLocale"]],[[[1," "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,4],[28,[32,1],["i18n_groups_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,4]]]],[28,[32,1],["i18n_no_groups_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["groups"],null]],[["@route"],["groups.my-groups"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","group"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_groups_head","mynetwork/components/community-summary"],[["count"],[[30,4]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,4],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,4]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,5],[28,[32,1],["i18n_events_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,5]]]],[28,[32,1],["i18n_no_events_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["events"],null]],[["@route"],["mynetwork.network-manager.events"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","calendar"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_events_head","mynetwork/components/community-summary"],[["count"],[[30,5]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,5],[[[1," "],[10,0],[14,0,"pl3"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,5]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,6],[28,[32,1],["i18n_companies_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,6]]]],[28,[32,1],["i18n_no_companies_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["companies"],null]],[["@route","@query"],["mynetwork.network-manager.company",[52,[51,[30,0,["redirectToCurationHub"]]],[28,[32,7],null,[["filterType"],["company"]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","company"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_companies_head","mynetwork/components/community-summary"],[["count"],[[30,6]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,6],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,6]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,7],[28,[32,1],["i18n_newsletters_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,7]]]],[28,[32,1],["i18n_no_newsletters_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["newsletters"],null]],[["@route"],["mynetwork.network-manager.newsletters"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","newspaper"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_newsletters_head","mynetwork/components/community-summary"],[["count"],[[30,7]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,7],[[[1," "],[10,0],[14,0,"pl3"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,7]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section-nurture artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,8],[28,[32,1],["i18n_hashtags_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,8]]]],[28,[32,1],["i18n_no_hashtags_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["hashtags"],null]],[["@route","@query"],["mynetwork.network-manager.hashtags",[52,[51,[30,0,["redirectToCurationHub"]]],[28,[32,7],null,[["filterType"],["channel"]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info text-body-medium-bold"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","hashtag"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_hashtags_head","mynetwork/components/community-summary"],[["count"],[[30,8]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,8],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,8]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,9],[[[1," "],[10,0],[14,0,"mn-community-summary__section artdeco-dropdown"],[12],[1,"\\n "],[10,"h2"],[14,0,"mh4 mv1 t-16 t-black t-normal"],[12],[1,[28,[32,1],["i18n_section_header","mynetwork/components/community-summary"],null]],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,3],[[16,"aria-label",[52,[30,2],[28,[32,1],["i18n_connections_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,2]]]],[28,[32,1],["i18n_no_connections_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["connections"],null]],[["@route"],["invite-connect.connections"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","people"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_connections_head","mynetwork/components/community-summary"],[["count"],[[30,2]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,2]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isSummaryCollapsed"]],[[[1," "],[10,0],[14,0,"ph3"],[12],[1,"\\n "],[8,[32,8],[[24,"aria-expanded","false"],[16,"aria-label",[28,[32,1],["i18n_show_more_a11y_text","mynetwork/components/community-summary"],null]],[24,0,"mn-community-summary__btn"],[4,[32,4],["show_more_community_summaries"],null],[4,[32,0],["click",[30,0,["showMoreCommunities"]]],null],[4,[32,6],null,[["when"],[[30,0,["focusSeeMore"]]]]]],[["@color","@icon","@iconRight","@text","@type","@size"],["muted","chevron-down",true,[28,[32,1],["i18n_show_more","mynetwork/components/community-summary"],null],"tertiary",2]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["isSummaryCollapsed"]]],[[[41,[30,0,["shouldDisplayContacts"]],[[[1," "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,3],[28,[32,1],["i18n_saved_contacts_with_count_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,3]]]],[28,[32,1],["i18n_no_saved_contacts_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["saved_contacts"],null],[4,[32,6],null,[["when"],[[30,0,["focusRemainingCommunities"]]]]]],[["@route"],["abi.saved-contacts"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","notebook"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_contacts_title","mynetwork/components/community-summary"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,3],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,3]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[28,[32,1],["i18n_following_followers_a11y_text","mynetwork/components/community-summary"],null]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["people-follow"],null]],[["@route","@query"],["mynetwork.network-manager.people-follow",[28,[32,7],null,[["filterType"],["member"]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@name","@size"],["person","medium"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_curation_hub_pf_head","mynetwork/components/community-summary"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isEnUSLocale"]],[[[1," "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,4],[28,[32,1],["i18n_groups_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,4]]]],[28,[32,1],["i18n_no_groups_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["groups"],null]],[["@route"],["groups.my-groups"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","group"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_groups_head","mynetwork/components/community-summary"],[["count"],[[30,4]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,4],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,4]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,5],[28,[32,1],["i18n_events_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,5]]]],[28,[32,1],["i18n_no_events_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["events"],null]],[["@route"],["mynetwork.network-manager.events"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","calendar"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_events_head","mynetwork/components/community-summary"],[["count"],[[30,5]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,5],[[[1," "],[10,0],[14,0,"pl3"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,5]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,6],[28,[32,1],["i18n_companies_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,6]]]],[28,[32,1],["i18n_no_companies_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["companies"],null]],[["@route","@query"],["mynetwork.network-manager.company",[52,[51,[30,0,["redirectToCurationHub"]]],[28,[32,7],null,[["filterType"],["company"]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","company"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_companies_head","mynetwork/components/community-summary"],[["count"],[[30,6]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,6],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,6]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,7],[28,[32,1],["i18n_newsletters_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,7]]]],[28,[32,1],["i18n_no_newsletters_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["newsletters"],null]],[["@route"],["mynetwork.network-manager.newsletters"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","newspaper"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_newsletters_head","mynetwork/components/community-summary"],[["count"],[[30,7]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,7],[[[1," "],[10,0],[14,0,"pl3"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,7]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-community-summary__sub-section artdeco-dropdown__item"],[12],[1,"\\n "],[8,[32,5],[[16,"aria-label",[52,[30,8],[28,[32,1],["i18n_hashtags_a11y_text","mynetwork/components/community-summary"],[["count"],[[30,8]]]],[28,[32,1],["i18n_no_hashtags_a11y_text","mynetwork/components/community-summary"],null]]],[24,0,"mn-community-summary__link link-without-hover-state"],[4,[32,4],["hashtags"],null]],[["@route","@query"],["mynetwork.network-manager.hashtags",[52,[51,[30,0,["redirectToCurationHub"]]],[28,[32,7],null,[["filterType"],["channel"]]]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-community-summary__info-container t-black t-16 t-normal"],[12],[1,"\\n "],[10,0],[14,0,"mn-community-summary__entity-info"],[12],[1,"\\n "],[8,[32,2],[[24,0,"mn-community-summary__entity-info-icon"]],[["@type","@size","@name"],["system","medium","hashtag"]],null],[1,"\\n "],[1,[28,[32,1],["i18n_hashtags_head","mynetwork/components/community-summary"],[["count"],[[30,8]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"pl3"],[12],[1,"\\n"],[41,[30,8],[[[1," "],[1,[28,[32,1],["i18n_entity_count","mynetwork/components/community-summary"],[["count"],[[30,8]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,2],[[24,0,"mn-community-summary__add-icon"]],[["@type","@size","@name"],["system","small","add"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,10],[[[1," "],[10,0],[14,0,"ph3"],[12],[1,"\\n "],[8,[32,8],[[24,"aria-expanded","true"],[16,"aria-label",[28,[32,1],["i18n_show_less_a11y_text","mynetwork/components/community-summary"],null]],[24,0,"mn-community-summary__btn"],[4,[32,4],["show_less_community_summaries"],null],[4,[32,0],["click",[30,0,["showLessCommunities"]]],null]],[["@color","@icon","@iconRight","@text","@type","@size"],["muted","chevron-up",true,[28,[32,1],["i18n_show_less","mynetwork/components/community-summary"],null],"tertiary",2]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"mn-community-summary__loader"],[12],[1,"\\n "],[8,[32,9],null,[["@size"],["small"]],null],[1,"\\n "],[13],[1,"\\n"]],[]]]],[]]],[1,"\\n "],[18,11,null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@connectionsCount","@savedContactsCount","@groupsCount","@eventsCount","@pagesCount","@newslettersCount","@hashtagCount","@isReadyToRenderSummary","@isCollapsible","&default"],false,["if","unless","yield"]]',moduleName:"mynetwork/components/community-summary.gjs",scope:()=>[g.on,d.default,y.default,p.LinkTo,f.default,_.default,b.default,w.hash,h.default,v.default],isStrictMode:!0}),(k=(0,m.inject)("lix"),T=(0,m.inject)("locale"),I=(0,m.inject)("scaffold-layout@reflow"),E=(0,l.localCopy)((e=>e.reflow.isSingleColumn)),O=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"lix",C,this);(0,t.default)(this,"locale",P,this);(0,t.default)(this,"reflow",S,this);(0,t.default)(this,"focusSeeMore",N,this);(0,t.default)(this,"focusRemainingCommunities",R,this);(0,t.default)(this,"isSummaryCollapsed",A,this);(0,t.default)(this,"isNurtureSummaryCollapsed",D,this)}get isDeprecateContactsEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.invitations-deprecate-contacts")}get isNurtureTabEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-mojo-tabbed-experience")}get shouldDisplayContacts(){return!this.isDeprecateContactsEnabled||!!this.args.savedContactsCount}get isEnUSLocale(){return"en_US"===(0,s.get)(this.locale,"interfaceLocale")}showMoreCommunities(){this.isSummaryCollapsed=!1
|
|
this.focusRemainingCommunities=!0}showLessCommunities(){this.isSummaryCollapsed=!0
|
|
this.focusSeeMore=!0}toggleNurtureCommunitySummary(){this.isNurtureSummaryCollapsed=!this.isNurtureSummaryCollapsed}},C=(0,i.default)(O.prototype,"lix",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(O.prototype,"locale",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,i.default)(O.prototype,"reflow",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,i.default)(O.prototype,"focusSeeMore",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),R=(0,i.default)(O.prototype,"focusRemainingCommunities",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),A=(0,i.default)(O.prototype,"isSummaryCollapsed",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,i.default)(O.prototype,"isNurtureSummaryCollapsed",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),(0,i.default)(O.prototype,"showMoreCommunities",[s.action],Object.getOwnPropertyDescriptor(O.prototype,"showMoreCommunities"),O.prototype),(0,i.default)(O.prototype,"showLessCommunities",[s.action],Object.getOwnPropertyDescriptor(O.prototype,"showLessCommunities"),O.prototype),(0,i.default)(O.prototype,"toggleNurtureCommunitySummary",[s.action],Object.getOwnPropertyDescriptor(O.prototype,"toggleNurtureCommunitySummary"),O.prototype),O))}))
|
|
define("mynetwork/components/connection-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","mynetwork/utils/constants-common","global-utils/utils/urn-converter","global-helpers/helpers/name","@glimmer/tracking","@glimmer/component","@ember/object","@ember/debug","@ember/service","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/track-render","ember-engines/components/link-to-external","ember-cli-pemberly-tracking/modifiers/track-interaction","presence/components/entity-with-presence","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/time-ago","message-button/components/entry-point","artdeco-button/components/artdeco-button","artdeco-dropdown/components/artdeco-dropdown","global-modifiers/modifiers/focus","hue-web-icons/components/icon","artdeco-dropdown/components/artdeco-dropdown-item","@ember/modifier","@ember/helper","artdeco-modal/components/artdeco-confirmation-dialog"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v,k,T,I,E,O,C,P,S,N){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var R,A,D,M,x,j,L,F,z,U
|
|
const H="i18n_message_success"
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"0UJLda7O",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"display-flex align-items-center"],[17,1],[4,[32,0],[[30,0,["onExposed"]]],[["thresholdMillisecondsInViewport","thresholdPercentageInViewport","eager","routeName","currentRoute"],[0,0,true,[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n"],[41,[30,0,["shouldTriggerPageView"]],[[[1," "],[11,0],[24,0,"hidden"],[4,[32,2],null,[["pageKey","routeName","currentRoute"],[[30,0,["pageKey"]],[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,3],[[24,0,"mn-connection-card__picture"],[4,[32,4],[[30,0,["profileLinkDataControlName"]]],null]],[["@route","@model"],["profile.common.profile",[30,0,["connectionProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[8,[32,5],null,[["@miniProfile","@a11yText","@pillarKey","@size"],[[30,0,["connectionProfile"]],[30,0,["connectionProfile","profilePicture","a11yText"]],"MYNETWORK",5]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"mn-connection-card__details"],[12],[1,"\\n "],[8,[32,3],[[24,0,"mn-connection-card__link"],[4,[32,4],[[30,0,["profileLinkDataControlName"]]],null]],[["@route","@model"],["profile.common.profile",[30,0,["connectionProfile","publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,6],["i18n_members_name","mynetwork/components/connection-card"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-connection-card__name t-16 t-black t-bold"],[12],[1,"\\n "],[1,[28,[32,6],["i18n_member_full_name","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,6],["i18n_members_occupation","mynetwork/components/connection-card"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-connection-card__occupation t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[30,0,["profileOccupation"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[30,2,["createdAt"]],[[[1," "],[10,"time"],[14,0,"time-badge t-12 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,6],["i18n_connection_created_at","mynetwork/components/connection-card"],null]],[1,"\\n "],[1,[28,[32,7],[[30,2,["createdAt"]],"ago"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[18,5,null],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-connection-card__action-container"],[12],[1,"\\n "],[8,[32,8],null,[["@afterSend","@recipientUrns","@controlUrn","@referringModuleKey"],[[30,0,["messageSentSuccess"]],[30,0,["connectionProfile","entityUrn"]],"message","mynetwork:connection_card"]],[["default"],[[[[1,"\\n "],[8,[32,9],[[16,"aria-label",[28,[32,6],["i18n_send_message_connection_a11y_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]]],[4,[32,10],["click",[30,3]],null]],[["@text","@type"],[[28,[32,6],["i18n_send_message_connection","mynetwork/components/connection-card"],null],"secondary"]],null],[1,"\\n "]],[3]]]]],[1,"\\n\\n "],[8,[32,11],[[24,0,"mn-connection-card__dropdown"]],[["@isOpen","@placement","@justification","@onVisibilityChange"],[[30,0,["isMoreActionsDropDownOpen"]],"bottom","right",[30,0,["toggleMoreActionsDropDown"]]]],[["default"],[[[[1,"\\n "],[8,[30,4,["dropdown-trigger"]],[[24,0,"mn-connection-card__dropdown-trigger artdeco-button--tertiary artdeco-button--muted artdeco-button--circle p1"],[4,[32,4],["ellipsis"],null],[4,[32,12],null,[["when"],[[30,0,["focusDropdownTrigger"]]]]]],null,[["default"],[[[[1,"\\n "],[8,[32,13],null,[["@a11yText","@type","@size","@name"],[[28,[32,6],["i18n_actions_dropdown_a11y_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]],"system","medium","overflow-web-ios"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,4,["dropdown-content"]],null,[["@arrowDir"],["right"]],[["default"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n "],[10,"li"],[12],[1,"\\n "],[8,[32,14],[[24,0,"mn-connection-card__dropdown-item"]],null,[["default"],[[[[1,"\\n "],[11,"button"],[24,0,"display-flex align-items-center t-14 t-black--light t-normal"],[16,"aria-label",[28,[32,6],["i18n_delete_connection_a11y_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]]],[24,4,"button"],[4,[32,10],["click",[28,[32,15],[[30,0,["showRemoveConnectionDialog"]],[30,4,["suspendFocusRetention"]]],null]],null],[4,[32,4],["remove"],null],[12],[1,"\\n "],[8,[32,13],[[24,0,"mn-connection-card__dropdown-option-icon"]],[["@a11yText","@type","@size","@name"],[[28,[32,6],["i18n_delete_connection_a11y_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]],"system","medium","trash"]],null],[1,"\\n "],[10,1],[14,0,"mn-connection-card__dropdown-option-text ml1"],[12],[1,[28,[32,6],["i18n_delete_connection","mynetwork/components/connection-card"],null]],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[4]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[1," "],[8,[32,16],null,[["@title","@content","@primaryActionText","@primaryActionTextA11y","@secondaryActionText","@secondaryActionTextA11y","@onPrimary","@onSecondary","@onEscape","@isOpen"],[[28,[32,6],["i18n_delete_connection_title","mynetwork/components/connection-card"],null],[28,[32,6],["i18n_delete_connection_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]],[28,[32,6],["i18n_remove_connection","mynetwork/components/connection-card"],null],[28,[32,6],["i18n_delete_connection_a11y_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]],[28,[32,6],["i18n_cancel_delete","mynetwork/components/connection-card"],null],[28,[32,6],["i18n_cancel_connection_a11y_text","mynetwork/components/connection-card"],[["member"],[[30,0,["profileName"]]]]],[30,0,["removeConnection"]],[30,0,["cancelRemovingConnection"]],[30,0,["cancelRemovingConnection"]],[30,0,["isRemoveConnectionDialogOpen"]]]],null],[1,"\\n "],[13],[1,"\\n "]],["&attrs","@connection","openMessaging","dropdown","&default"],false,["-get-dynamic-var","if","yield"]]',moduleName:"mynetwork/components/connection-card.gjs",scope:()=>[y.default,S.get,h.default,g.default,b.default,_.default,w.default,v.default,k.default,T.default,P.on,I.default,E.default,O.default,C.default,S.fn,N.default],isStrictMode:!0}),(R=(0,f.inject)("i18n"),A=(0,f.inject)("persistent-toast-manager@persistent-toast-manager"),D=(0,f.inject)("tracking"),M=class e extends m.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey",l.CONNECTION_LIST_SCROLL_PAGE_KEY);(0,t.default)(this,"i18n",x,this);(0,t.default)(this,"persistentToastManager",j,this);(0,t.default)(this,"tracking",L,this);(0,n.default)(this,"profileLinkDataControlName","connection_profile");(0,t.default)(this,"isMoreActionsDropDownOpen",F,this);(0,t.default)(this,"isRemoveConnectionDialogOpen",z,this);(0,t.default)(this,"focusDropdownTrigger",U,this)}get connectionProfile(){return(0,d.get)(this.args,"connection.connectedMemberResolutionResult")}get profileId(){const e=(0,d.get)(this.connectionProfile,"entityUrn")
|
|
return(0,s.fromUrn)(e).id}get profileName(){return(0,c.getName)(this.connectionProfile)}get profileOccupation(){return(0,d.get)(this,"connectionProfile.headline")}get shouldTriggerPageView(){return!(this.args.cardIndex%l.TRACKING_ROW_NO)}onExposed(){var e,t
|
|
null===(e=(t=this.args).onCardExposed)||void 0===e||e.call(t,this.args.cardIndex,this.args.connection)
|
|
return[]}messageSentSuccess(){const t=this.i18n.lookupTranslation(e,H)()
|
|
this.persistentToastManager.success({message:t})}toggleMoreActionsDropDown(){this.isMoreActionsDropDownOpen=!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}),F=(0,i.default)(M.prototype,"isMoreActionsDropDownOpen",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),z=(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"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var v,k
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"HUnSNlIB",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,3]],null]],null],null,[[[1," "],[8,[30,1,["item"]],[[24,0,"display-flex"]],[["@myIndex"],[[30,5]]],[["default"],[[[[1,"\\n"],[41,[30,6],[[[1," "],[8,[32,10],null,[["@entity","@cardIndex","@customClass","@displayContext","@displayModule","@isSmallCardInCarousel","@isDismissable","@onCardDismissed"],[[30,4],[30,5],"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,4],[30,5],"discover-entity-card--full-width","cc","mynetwork",true,[28,[32,11],[[30,0,["onCardDismissed"]],[30,4]],null]]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n"]],[4,5]],null],[1," "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],["carousel","@connectionsMiniProfile","@connectionConnections","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}),(v=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"moduleDismissed",k,this)}get numCarouselItems(){return this.args.connectionConnections.length}dismissCCModule(){this.moduleDismissed=!0}onCardDismissed(e){this.args.connectionConnections.removeObject(e)}},k=(0,i.default)(v.prototype,"moduleDismissed",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(v.prototype,"dismissCCModule",[c.action],Object.getOwnPropertyDescriptor(v.prototype,"dismissCCModule"),v.prototype),(0,i.default)(v.prototype,"onCardDismissed",[c.action],Object.getOwnPropertyDescriptor(v.prototype,"onCardDismissed"),v.prototype),v))}))
|
|
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/helper","@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/restricted-account-filtering-banner"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v,k,T,I,E,O,C,P,S){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var N,R,A,D,M,x,j,L,F,z,U,H,V,W,q,Y,B,G,K,$
|
|
const Q=40,Z="RECENTLY_ADDED",X={RECENTLY_ADDED:"RECENTLY_ADDED",FIRST_NAME:"FIRSTNAME_LASTNAME",LAST_NAME:"LASTNAME_FIRSTNAME"}
|
|
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"s6IiuBCz",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"mn-connections mb4"]],null,[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"mn-connections__header"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_num_connections","mynetwork/components/connection-list"],[["numConnections"],[[30,0,["numConnections"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-connections__actions-container ph5 pb3"],[12],[1,"\\n "],[8,[32,2],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\\n "],[8,[32,3],null,[["@searchWithFiltersQueryParams","@searchQuery","@onSearch"],[[30,1],[30,0,["searchQuery"]],[30,0,["search"]]]],null],[1,"\\n\\n"],[41,[30,0,["showAriaLiveText"]],[[[1," "],[10,0],[14,"aria-live","polite"],[14,0,"a11y-text"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_a11y_suggestions_with_keyword","mynetwork/components/connection-list"],[["resultsCount","keyword"],[[30,0,["searchResultsWithoutDeletedConnections","length"]],[30,0,["searchQuery"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n"],[41,[30,0,["shouldShowRestrictedAccountFilteringBanner"]],[[[1," "],[8,[32,4],null,null,null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isConnectionsEmpty"]],[[[1," "],[10,0],[14,0,"text-align-center pb4"],[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 "],[1,[28,[32,1],["i18n_no_search_results","mynetwork/components/connection-list"],[["keyword"],[[30,0,["searchQuery"]]]]]],[1,"\\n "],[8,[32,5],[[24,0,"mn-connections__show-all-connections"],[4,[32,6],["click",[30,0,["clearSearchQuery"]]],null]],[["@type","@color","@size","@text"],["tertiary","muted",1,[28,[32,1],["i18n_show_all_connections","mynetwork/components/connection-list"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,0,["hasSearchQuery"]],[[[41,[30,0,["searchResultsData","isLoading"]],[[[1," "],[10,0],[14,0,"text-align-center pb4"],[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,2],[[28,[31,2],[[30,0,["searchResultsWithoutDeletedConnections"]]],null]],null],null,[[[1," "],[10,"li"],[14,0,"mn-connection-card artdeco-list"],[12],[1,"\\n "],[8,[32,7],[[4,[32,8],null,[["when","onSelector"],[[28,[32,9],[[30,3],[30,0,["focusedCard"]]],null],"a"]]]],[["@connection","@cardIndex","@onCardExposed","@onDeleteConnection"],[[30,2],[30,3],[30,0,["cardExposed"]],[30,0,["deleteConnection"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[2,3]],null],[1," "],[13],[1,"\\n"]],[]]]],[]],[[[1," "],[8,[32,10],null,[["@isDisabled","@items","@onTrigger"],[[30,0,["isScrollDisabled"]],[30,0,["dedupedConnections"]],[30,0,["onInfiniteScroll"]]]],[["content"],[[[[1,"\\n "],[10,"ul"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,5]],null]],null],null,[[[1," "],[10,"li"],[14,0,"mn-connection-card artdeco-list"],[12],[1,"\\n "],[8,[30,4],null,[["@index"],[[30,7]]],[["default"],[[[[1,"\\n "],[8,[32,7],[[4,[32,8],null,[["when","onSelector"],[[28,[32,9],[[30,7],[30,0,["focusedCard"]]],null],"a"]]]],[["@connection","@cardIndex","@onCardExposed","@onDeleteConnection"],[[30,6],[30,7],[30,0,["cardExposed"]],[30,0,["deleteConnection"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[6,7]],null],[1," "],[13],[1,"\\n "]],[4,5]]]]],[1,"\\n "]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "]],["@searchWithFiltersQueryParams","connection","cardIndex","ItemContainer","items","connection","cardIndex"],false,["if","each","-track-array"]]',moduleName:"mynetwork/components/connection-list.gjs",scope:()=>[_.default,w.default,v.default,k.default,S.default,T.default,I.on,E.default,O.default,C.default,P.default],isStrictMode:!0}),(N=(0,b.inject)("jet"),R=(0,b.inject)("global-services@store-shim"),A=(0,b.inject)("ads@ad-banner-manager"),D=(0,b.inject)("tracking"),M=(0,b.inject)("lix"),x=class extends y.default{constructor(){super(...arguments);(0,t.default)(this,"jet",j,this);(0,t.default)(this,"storeShim",L,this);(0,t.default)(this,"adBannerManager",F,this);(0,t.default)(this,"tracking",z,this);(0,t.default)(this,"lix",U,this);(0,t.default)(this,"focusedCard",H,this);(0,t.default)(this,"isScrollDisabled",V,this);(0,t.default)(this,"isDropdownOpen",W,this);(0,n.default)(this,"start",0);(0,t.default)(this,"deletedConnectionIds",q,this);(0,t.default)(this,"fetchedConnections",Y,this);(0,t.default)(this,"searchWithFiltersQueryParams",B,this);(0,t.default)(this,"sortType",G,this);(0,t.default)(this,"sortByText",K,this);(0,n.default)(this,"sortTypes",X);(0,t.default)(this,"searchQuery",$,this)}get dedupedConnections(){const e=this.sortType===Z?[...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 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,g.isBlank)(this.searchQuery)}get searchResultsData(){return(0,s.load)(this._fetchConnections({keyword:this.searchQuery,count:100}))}get searchResultsWithoutDeletedConnections(){return this.searchResultsData.isLoaded?this.searchResultsData.value.filter((e=>!this.deletedConnectionIds[this._getConnectionId(e)])):[]}get showAriaLiveText(){return this.hasSearchQuery&&this.searchResultsData.isLoaded&&!this.searchResultsData.isError}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,p.default)((0,h.get)(e,"connectedMemberResolutionResult.entityUrn"))).then((()=>this._removeConnection(e)))
|
|
this.focusedCard=t}cardExposed(e){m.default.reloadAd(this.adBannerManager,e)}clearSearchQuery(){this.searchQuery=void 0}search(e){this.searchQuery=e
|
|
this.tracking.fireInteractionEvent("submit_search")}_fetchConnections(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
const{keyword:t,sortType:n,count:i=Q,start:o=0}=e,r={keyword:t,count:i,sortType:n,start:o,q:"search"}
|
|
r.recipe=n!==Z||t?"com.linkedin.voyager.dash.deco.web.mynetwork.ConnectionList":"com.linkedin.voyager.dash.deco.web.mynetwork.ConnectionListWithProfile"
|
|
return(0,d.getConnections)(this.storeShim,{options:r,jet:this.jet})}_getConnectionId(e){return(0,h.get)(e,"connectedMemberResolutionResult.entityUrn")}_getPage(){let{start:e}=this
|
|
const t=this.sortType??Z
|
|
!e&&this.args.connections.length>0&&t===Z&&(e=Q)
|
|
return this._fetchConnections({sortType:t,start:e}).then((e=>{if(!this.isDestroying){if((0,h.get)(e,"length")){this.fetchedConnections=[...this.fetchedConnections,...e]
|
|
this.start+=Q}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)}}},j=(0,i.default)(x.prototype,"jet",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),L=(0,i.default)(x.prototype,"storeShim",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),F=(0,i.default)(x.prototype,"adBannerManager",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,i.default)(x.prototype,"tracking",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),U=(0,i.default)(x.prototype,"lix",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,i.default)(x.prototype,"focusedCard",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return-1}}),V=(0,i.default)(x.prototype,"isScrollDisabled",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),W=(0,i.default)(x.prototype,"isDropdownOpen",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),q=(0,i.default)(x.prototype,"deletedConnectionIds",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return{}}}),Y=(0,i.default)(x.prototype,"fetchedConnections",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),B=(0,i.default)(x.prototype,"searchWithFiltersQueryParams",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return f.SEE_ALL_SELF_CONNECTIONS_QUERY_PARAMS}}),G=(0,i.default)(x.prototype,"sortType",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return Z}}),K=(0,i.default)(x.prototype,"sortByText",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,i.default)(x.prototype,"searchQuery",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,i.default)(x.prototype,"dedupedConnections",[c.cached],Object.getOwnPropertyDescriptor(x.prototype,"dedupedConnections"),x.prototype),(0,i.default)(x.prototype,"searchResultsData",[c.cached],Object.getOwnPropertyDescriptor(x.prototype,"searchResultsData"),x.prototype),(0,i.default)(x.prototype,"onInfiniteScroll",[h.action],Object.getOwnPropertyDescriptor(x.prototype,"onInfiniteScroll"),x.prototype),(0,i.default)(x.prototype,"sortBy",[h.action],Object.getOwnPropertyDescriptor(x.prototype,"sortBy"),x.prototype),(0,i.default)(x.prototype,"deleteConnection",[h.action],Object.getOwnPropertyDescriptor(x.prototype,"deleteConnection"),x.prototype),(0,i.default)(x.prototype,"cardExposed",[h.action],Object.getOwnPropertyDescriptor(x.prototype,"cardExposed"),x.prototype),(0,i.default)(x.prototype,"clearSearchQuery",[h.action],Object.getOwnPropertyDescriptor(x.prototype,"clearSearchQuery"),x.prototype),(0,i.default)(x.prototype,"search",[h.action],Object.getOwnPropertyDescriptor(x.prototype,"search"),x.prototype),x))}))
|
|
define("mynetwork/components/connection-search",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/helper","@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"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d
|
|
e.default=(0,o.setComponentTemplate)((0,n.createTemplateFactory)({id:"OPU+cE0D",block:'[[[1,"\\n"],[1,"\\n "],[10,0],[14,0,"display-flex align-items-center relative t-14 t-black--light t-normal"],[12],[1,"\\n "],[8,[32,0],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,1]]],null],[1,"\\n\\n"],[41,[30,2],[[[1," "],[8,[32,2],[[24,0,"mn-connections__search-with-filters link-without-visited-state"],[4,[32,3],["search_with_filters"],null]],[["@route","@model","@query"],["search.results.generic","people",[30,2]]],[["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 "]],["@searchQuery","@searchWithFiltersQueryParams"],false,["if"]]',moduleName:"mynetwork/components/connection-search.gjs",scope:()=>[s.default,c.default,u.default,m.default],isStrictMode:!0}),(d=class extends a.default{handleSearchInput(e){const t=e.target.value.trim()
|
|
this._searchTimer=(0,r.debounceTask)(this,"_search",t,300)}_search(e){this.args.onSearch(e)}},(0,t.default)(d.prototype,"handleSearchInput",[l.action],Object.getOwnPropertyDescriptor(d.prototype,"handleSearchInput"),d.prototype),d))}))
|
|
define("mynetwork/components/contacts-right-rail",["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","global-helpers/helpers/load","tracked-toolbox","mynetwork/utils/mynetwork-request","@linkedin/abi-js/src/index","@glimmer/component","rsvp","@ember/object","@ember/service","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,p,f,y,h,g,b,_,w,v){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var k,T,I,E,O
|
|
e.default=(0,l.setComponentTemplate)((0,r.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:()=>[h.default,g.default,b.default,_.default,w.default,v.on],isStrictMode:!0}),(k=(0,y.inject)("global-services@store-shim"),T=(0,y.inject)("jet"),I=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",E,this);(0,t.default)(this,"jet",O,this)}get abiInstance(){return new m.Abi(p.Promise)}get prefillEmail(){return(0,s.load)(u.default.getPrefillEmail(this.storeShim,this.jet).then((e=>(0,f.get)(e,"firstObject"))))}},E=(0,i.default)(I.prototype,"storeShim",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(I.prototype,"jet",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(I.prototype,"prefillEmail",[c.cached],Object.getOwnPropertyDescriptor(I.prototype,"prefillEmail"),I.prototype),I))}))
|
|
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,I,E,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"),I=(0,p.inject)("invitee-picker@invitee-suggestion-cache"),E=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)(E.prototype,"invitationPlatform",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(E.prototype,"inviteeSuggestionCache",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(E.prototype,"isInviteWithdrawn",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(E.prototype,"sendInvite",[u.action],Object.getOwnPropertyDescriptor(E.prototype,"sendInvite"),E.prototype),(0,i.default)(E.prototype,"withdrawInvite",[u.action],Object.getOwnPropertyDescriptor(E.prototype,"withdrawInvite"),E.prototype),E))}))
|
|
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,I,E,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"),I=(0,d.inject)("invitation-platform@invitation-platform"),E=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)(E.prototype,"i18n",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(E.prototype,"persistentToastManager",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(E.prototype,"invitationPlatform",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(E.prototype,"onDismissInviteePicker",[u.action],Object.getOwnPropertyDescriptor(E.prototype,"onDismissInviteePicker"),E.prototype),(0,i.default)(E.prototype,"onInviteePickerInvite",[u.action],Object.getOwnPropertyDescriptor(E.prototype,"onInviteePickerInvite"),E.prototype),E))}))
|
|
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:I,NETWORK_SURVEY:E}=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",[I]:"reload_on_error__recommendation",[E]:"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("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.alias("ember-cloud-filepicker/components/google-drive-file-picker","mynetwork/components/google-drive-file-picker")
|
|
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"],(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
|
|
e.default=(0,i.setComponentTemplate)((0,n.createTemplateFactory)({id:"fB17FrOd",block:'[[[1,"\\n"],[1," "],[11,"section"],[17,1],[24,0,"mn-heathrow-toast artdeco-card"],[12],[1,"\\n "],[10,0],[14,0,"mn-heathrow-org-toast__confirmation-text artdeco-card__header"],[12],[1,"\\n "],[8,[32,0],[[24,0,"mn-heathrow-org-toast__icon--success"]],[["@type","@size","@name"],["system","medium","signal-success"]],null],[1,"\\n "],[10,1],[14,0,"t-14 t-black--light t-normal ph2"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,1],["i18n_invite_accepted","mynetwork/components/heathrow-organization-toast"],[["member"],[[28,[32,2],[[30,3]],null]]]]],[1,"\\n "],[8,[32,3],null,[["@recipientUrns","@controlUrn","@referringModuleKey"],[[30,3,["entityUrn"]],"pymk_organization_connection_message","heathrow:pymk_organization_toast"]],[["default"],[[[[1,"\\n "],[10,"button"],[14,0,"message-anywhere-button link-without-hover-visited t-14"],[15,"onclick",[30,4]],[14,4,"button"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_send_a_message","mynetwork/components/heathrow-organization-toast"],null]],[1,"\\n "],[13],[1,"\\n "]],[4]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_invitation_sent","mynetwork/components/heathrow-organization-toast"],[["member"],[[28,[32,2],[[30,3]],null]]]]],[1,"\\n "],[8,[32,4],[[24,0,"link-without-hover-visited"],[4,[32,5],["pymk_organization_connection_profile"],null]],[["@route","@model"],["profile.common.profile",[30,3,["publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["view-profile_btn_name","mynetwork/components/heathrow-organization-toast"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"display-flex"],[12],[1,"\\n "],[10,0],[14,0,"display-flex flex-1"],[12],[1,"\\n "],[8,[32,4],[[24,0,"mn-heathrow-org-toast__picture"],[4,[32,5],["pymk_organization_info"],null]],[["@route","@model"],["companies.company",[30,3,["mostRecentPosition","company","universalName"]]]],[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@image","@alt","@desiredWidth","@ghostType","@class"],[[30,3,["mostRecentPosition","company","logo","image"]],[28,[32,1],["i18n_view_page_btn_a11y_text","mynetwork/components/heathrow-organization-toast"],[["companyName"],[[30,3,["mostRecentPosition","companyName"]]]]],100,"company","EntityPhoto-square-5"]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,0],[14,0,"mn-heathrow-org-toast__details"],[12],[1,"\\n "],[8,[32,4],[[24,0,"mn-heathrow-org-toast__link"],[4,[32,5],["pymk_organization_info"],null]],[["@route","@model"],["companies.company",[30,3,["mostRecentPosition","company","universalName"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_companys_name","mynetwork/components/heathrow-organization-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-org-toast__name t-16 t-black t-bold"],[12],[1,"\\n "],[1,[30,3,["mostRecentPosition","companyName"]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,3,["mostRecentPosition","company","industries","length"]],[[[1," "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_companys_industry","mynetwork/components/heathrow-organization-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-org-toast__card-entry t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_industries","mynetwork/components/heathrow-organization-toast"],[["industries"],[[30,3,["mostRecentPosition","company","industries","value"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,3,["mostRecentPosition","company","tagline"]],[[[1," "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_companys_tagline","mynetwork/components/heathrow-organization-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-org-toast__card-entry t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[30,3,["mostRecentPosition","company","tagline"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,3,["mostRecentPosition","company","description"]],[[[1," "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_companys_description","mynetwork/components/heathrow-organization-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-org-toast__card-entry t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[30,3,["mostRecentPosition","company","description"]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,3,["mostRecentPosition","company","followingInfo","followerCount"]],[[[1," "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_follower_count","mynetwork/components/heathrow-organization-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-org-toast__card-entry t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_followers","mynetwork/components/heathrow-organization-toast"],[["count"],[[30,3,["mostRecentPosition","company","followingInfo","followerCount"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]]],[1," "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"mn-heathrow-org-toast__action-container"],[12],[1,"\\n"],[41,[30,3,["mostRecentPosition","company","followingInfo","following"]],[[[1," "],[8,[32,4],[[24,0,"mn-heathrow-org-toast__action-btn artdeco-button artdeco-button--2 artdeco-button--secondary link-without-hover-visited"],[4,[32,5],["pymk_organization_view_btn"],null]],[["@route","@model"],["companies.company",[30,3,["mostRecentPosition","company","universalName"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,"aria-hidden","true"],[12],[1,[28,[32,1],["view-page_btn_name","mynetwork/components/heathrow-organization-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_view_page_btn_a11y_text","mynetwork/components/heathrow-organization-toast"],[["companyName"],[[30,3,["mostRecentPosition","companyName"]]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,7],[[24,0,"artdeco-button artdeco-button--2 artdeco-button--secondary"]],[["@iconType","@isFollowing","@showText","@toggleFollow","@controlName"],["add",[30,3,["mostRecentPosition","company","followingInfo","following"]],true,[28,[32,8],[[30,0,["toggleFollow"]],[30,3,["mostRecentPosition","company"]]],null],"pymk_organization_follow_btn"]],null],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["hasOtherConnectionsAtOrganization"]],[[[1," "],[10,0],[14,0,"display-flex align-items-center pb4 ph6"],[12],[1,"\\n "],[8,[32,9],null,[["@entities","@stacked"],[[30,0,["topConnections"]],true]],[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@image","@alt","@desiredWidth","@ghostType","@class"],[[30,5,["profilePicture"]],[28,[32,1],["i18n_image_alt_full_name","mynetwork/components/heathrow-organization-toast"],[["member"],[[28,[32,2],[[30,5]],null]]]],100,"person","mn-heathrow-org-toast__facepile-image EntityPhoto-circle-1 v-align-middle"]],null],[1,"\\n "]],[5]]]]],[1,"\\n "],[10,1],[14,0,"t-14 t-black t-normal pl1"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_members_work_at_company_v2","mynetwork/components/heathrow-organization-toast"],[["member","companyName","count"],[[28,[32,2],[[30,3]],null],[30,3,["mostRecentPosition","companyName"]],[30,3,["mostRecentPosition","company","entityUrnResolutionResult","details","totalNumberOfConnections"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"display-flex pb4 ph6"],[12],[1,"\\n "],[10,2],[14,0,"t-14 t-black t-normal"],[12],[1,"\\n "],[8,[32,4],[[24,0,"mn-heathrow-org-toast__link"],[4,[32,5],["pymk_organization_connection_profile"],null]],[["@route","@model"],["profile.common.profile",[30,3,["publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[8,[32,6],[[24,0,"EntityPhoto-circle-1 v-align-middle"]],[["@image","@alt","@desiredWidth","@ghostType"],[[30,3,["profilePicture"]],[28,[32,1],["i18n_image_alt_full_name","mynetwork/components/heathrow-organization-toast"],[["member"],[[28,[32,2],[[30,3]],null]]]],100,"person"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[1,[28,[32,1],["i18n_member_works_at_company","mynetwork/components/heathrow-organization-toast"],[["member","companyName"],[[28,[32,2],[[30,3]],null],[30,3,["mostRecentPosition","companyName"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],["&attrs","@acceptInvite","@profile","openMessaging","memberProfile"],false,["if"]]',moduleName:"mynetwork/components/heathrow-organization-toast.gjs",scope:()=>[s.default,c.default,u.default,m.default,d.default,p.default,f.default,y.default,h.fn,g.default],isStrictMode:!0}),(b=class extends o.default{get hasOtherConnectionsAtOrganization(){return(0,a.get)(this.args,"profile.mostRecentPosition.company.entityUrnResolutionResult.details.totalNumberOfConnections")>0}get topConnections(){const e=(0,a.get)(this.args,"profile.mostRecentPosition.company.entityUrnResolutionResult.details.topConnections")
|
|
if(e){const t=e.slice(0,3)
|
|
t.push(this.args.profile)
|
|
return t}return[this.args.profile]}toggleFollow(e){(0,a.set)(e,"followingInfo.following",!(0,a.get)(e,"followingInfo.following"))
|
|
const t={patch:{followingInfo:{$set:{following:(0,a.get)(e,"followingInfo.following")}}}},n={adapterOptions:{partial:!0,url:`/voyager/api/organization/companies/${(0,r.entityUrnToId)((0,a.get)(e,"followingInfo.entityUrn"))}`,transformPayload:()=>t}}
|
|
return e.save(n).catch((t=>{if((0,l.isDestroying)(this))throw t
|
|
e.toggleProperty("followingInfo.following")
|
|
throw t}))}},(0,t.default)(b.prototype,"toggleFollow",[a.action],Object.getOwnPropertyDescriptor(b.prototype,"toggleFollow"),b.prototype),b))}))
|
|
define("mynetwork/components/heathrow-toast",["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","@ember/object","@glimmer/component","hue-web-icons/components/icon","ember-cli-pemberly-i18n/helpers/t","global-helpers/helpers/name","global-helpers/helpers/eq","ember-cli-pemberly-i18n/helpers/t-link-to","@ember/modifier","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-engines/components/link-to-external","ember-vector-images/components/lazy-image","message-button/components/entry-point","artdeco-button/components/artdeco-button"],(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.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"NpCcAQIq",block:'[[[1,"\\n"],[1," "],[11,"section"],[17,1],[24,0,"mn-heathrow-toast artdeco-card"],[12],[1,"\\n "],[10,0],[14,0,"mn-heathrow-toast__confirmation-text"],[12],[1,"\\n "],[8,[32,0],[[16,0,[30,0,["heathrowToastIcon","class"]]]],[["@name","@type","@size"],[[30,0,["heathrowToastIcon","type"]],"system","medium"]],null],[1,"\\n"],[41,[30,2],[[[1," "],[10,1],[14,0,"t-14 t-black--light t-normal ph2 pr6"],[12],[1,"\\n"],[41,[30,3],[[[1," "],[1,[28,[32,1],["i18n_accept_invitation_failed_msg_helpcenter","mynetwork/components/heathrow-toast"],[["linkInfo"],[[28,[32,2],null,[["target","href","rel","class"],["_blank","/help/linkedin/answer/83858","noopener noreferrer","link"]]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_invitation_accepted","mynetwork/components/heathrow-toast"],[["member"],[[28,[32,3],[[30,4]],null]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n"]],[]],[[[41,[30,5],[[[41,[30,3],[[[1," "],[10,1],[14,0,"t-14 ph2"],[12],[1,"\\n"],[41,[28,[32,4],[[30,6],"connectionLimitRSVP"],null],[[[1," "],[1,[28,[32,1],["i18n_connection_limit_new","mynetwork/components/heathrow-toast"],[["linkInfo"],[[28,[32,2],null,[["class","href","target"],["mn-heathrow-toast__profile-link link-without-hover-visited","/help/linkedin/answer/69689/network-size-limit","_blank"]]]]]]],[1,"\\n"]],[]],[[[41,[28,[32,4],[[30,6],"pendingInvitationLimit"],null],[[[1," "],[1,[28,[32,1],["i18n_send_error_pending_limit_new","mynetwork/components/heathrow-toast"],[["linkInfo"],[[28,[32,5],["mynetwork.invitation-manager.sent"],[["class"],["mn-heathrow-toast__profile-link link-without-hover-visited"]]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_send_invitation_failed_new","mynetwork/components/heathrow-toast"],[["member","memberLink"],[[28,[32,3],[[30,4]],null],[28,[32,5],["profile.common.profile",[30,4,["publicIdentifier"]]],[["data-control-name","class"],["profile","mn-heathrow-toast__profile-link link-without-hover-visited"]]]]]]],[1,"\\n "]],[]]]],[]]],[1," "],[13],[1,"\\n"]],[]],[[[1," "],[10,1],[14,0,"t-14 t-black--light t-normal ph2"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_invitation_sent","mynetwork/components/heathrow-toast"],[["member"],[[28,[32,3],[[30,4]],null]]]]],[1,"\\n "],[13],[1,"\\n"]],[]]],[1,"\\n"]],[]],[[[41,[30,7],[[[1," "],[10,1],[14,0,"t-14 t-black--light t-normal ph2"],[12],[1,"\\n"],[41,[30,0,["isMarkedUnknown"]],[[[1," "],[1,[28,[32,1],["i18n_marked_unknown_text","mynetwork/components/heathrow-toast"],null]],[1,"\\n"]],[]],[[[41,[30,3],[[[1," "],[1,[28,[32,1],["i18n_ignore_invitation_failed","mynetwork/components/heathrow-toast"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_invitation_ignored","mynetwork/components/heathrow-toast"],null]],[1,"\\n"]],[]]]],[]]],[1," "],[13],[1,"\\n "]],[]],null]],[]]]],[]]],[1,"\\n"],[41,[30,0,["showMarkUnknownBtn"]],[[[1," "],[11,"button"],[16,0,[29,["ml2 ",[52,[30,0,["isMarkedUnknown"]],"hidden"]]]],[24,4,"button"],[4,[32,6],["click",[28,[32,7],[[30,0,["rejectInvitationWithAction"]],[30,8]],null]],null],[4,[32,8],["i_dont_know"],null],[12],[1,"\\n "],[1,[28,[32,1],["i18n_mark_unknown_btn","mynetwork/components/heathrow-toast"],null]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["showPeopleCard"]],[[[1," "],[10,0],[14,0,"display-flex"],[12],[1,"\\n "],[10,0],[14,0,"mn-heathrow-toast__info-wrapper"],[12],[1,"\\n "],[8,[32,9],[[24,0,"mn-heathrow-toast__picture"],[4,[32,8],["profile"],null]],[["@route","@model"],["profile.common.profile",[30,4,["publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[8,[32,10],null,[["@image","@alt","@desiredWidth","@ghostType","@class"],[[30,4,["profilePicture"]],[28,[32,1],["i18n_image_alt_full_name","mynetwork/components/heathrow-toast"],[["member"],[[28,[32,3],[[30,4]],null]]]],100,"person","EntityPhoto-circle-5"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[10,0],[14,0,"mn-heathrow-toast__details"],[12],[1,"\\n "],[8,[32,9],[[24,0,"mn-heathrow-toast__link"],[4,[32,8],["profile"],null]],[["@route","@model"],["profile.common.profile",[30,4,["publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_members_name","mynetwork/components/heathrow-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-toast__name t-16 t-black t-bold"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_member_full_name","mynetwork/components/heathrow-toast"],[["member"],[[28,[32,3],[[30,4]],null]]]]],[1,"\\n "],[13],[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,1],["i18n_members_occupation","mynetwork/components/heathrow-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"mn-heathrow-toast__occupation t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[30,4,["headline"]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mn-heathrow-toast__action-container"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,11],null,[["@recipientUrns","@controlUrn","@referringModuleKey"],[[30,4,["entityUrn"]],"message","mynetwork:heathrow_accept_invite"]],[["default"],[[[[1,"\\n "],[8,[32,12],[[16,"aria-label",[28,[32,1],["i18n_message_btn_a11y_text","mynetwork/components/heathrow-toast"],[["member"],[[28,[32,3],[[30,4]],null]]]]],[4,[32,6],["click",[30,9]],null]],[["@text","@type"],[[28,[32,1],["i18n_message_btn_name","mynetwork/components/heathrow-toast"],null],"secondary"]],null],[1,"\\n "]],[9]]]]],[1,"\\n"]],[]],[[[41,[30,5],[[[1," "],[8,[32,9],[[24,0,"artdeco-button artdeco-button--secondary"],[4,[32,8],["profile"],null]],[["@route","@model"],["profile.common.profile",[30,4,["publicIdentifier"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,"aria-hidden","true"],[12],[1,[28,[32,1],["view-profile_btn_name","mynetwork/components/heathrow-toast"],null]],[13],[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_message_btn_a11y_text","mynetwork/components/heathrow-toast"],[["member"],[[28,[32,3],[[30,4]],null]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["&attrs","@acceptInvite","@inviteActionFailed","@profile","@sendInvite","@knownError","@ignoreInvite","@inviteIgnoreParams","openMessaging"],false,["if"]]',moduleName:"mynetwork/components/heathrow-toast.gjs",scope:()=>[u.default,m.default,h.hash,d.default,p.default,f.default,y.on,h.fn,g.default,b.default,_.default,w.default,v.default],isStrictMode:!0}),(k=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"isMarkedUnknown",T,this)}get showMarkUnknownBtn(){return!this.args.inviteActionFailed&&this.args.ignoreInvite}get showPersonPicture(){return this.args.acceptInvite&&!this.args.inviteActionFailed||this.args.sendInvite}get showPeopleCard(){return!(this.args.inviteActionFailed||this.args.ignoreInvite)}get heathrowToastIcon(){return this.args.inviteActionFailed?{type:"signal-error",class:"mn-heathrow-toast__icon--error"}:this.args.ignoreInvite?{type:"signal-notice",class:"mn-heathrow-toast__icon--info"}:{type:"signal-success",class:"mn-heathrow-toast__icon--success"}}rejectInvitationWithAction(e){var t,n
|
|
this.isMarkedUnknown=!0
|
|
null===(t=(n=this.args).rejectInvitationAction)||void 0===t||t.call(n,...e)}},T=(0,i.default)(k.prototype,"isMarkedUnknown",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(k.prototype,"rejectInvitationWithAction",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"rejectInvitationWithAction"),k.prototype),k))}))
|
|
define.alias("ember-highcharts/components/high-charts","mynetwork/components/high-charts")
|
|
define.alias("image-editor/components/image-editor-loader","mynetwork/components/image-editor-loader")
|
|
define.alias("image-editor/components/image-editor","mynetwork/components/image-editor")
|
|
define("mynetwork/components/invitation-notifications-modal",["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","mynetwork/utils/notification-collection","@ember/object","@glimmer/component","@ember/service","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","scaffold-finite-scroll/components/finite-scroll","@ember/render-modifiers/modifiers/did-insert","ember-cli-pemberly-tracking/components/shared/external-link","ember-cli-pemberly-tracking/modifiers/track-interaction","image-view-model/components/image-view-model","text-view-model/components/text-view-model-v2","message-button/components/entry-point","@ember/helper","artdeco-button/components/artdeco-button","@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,T){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var I,E,O,C,P,S,N,R
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"19YLDhTw",block:'[[[1,"\\n"],[1," "],[18,7,[[30,0,["openModal"]]]],[1,"\\n\\n"],[1," "],[8,[32,0],null,[["@isOpen","@headerId","@size","@dismissModal","@modalClasses"],[[30,0,["isNotificationModalOpen"]],"mn-invitation-notifications-modal-header","large",[30,0,["closeModal"]],"mn-invitation-notifications-modal overflow-hidden full-height"]],[["default"],[[[[1,"\\n "],[8,[30,1,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"invitation-notifications-modal-header"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_header_text","mynetwork/components/invitation-notifications-modal"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["artdeco-modal-content"]],null,[["@classNames"],["p0 flex-1"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"display-flex flex-column full-height"],[12],[1,"\\n "],[10,0],[14,0,"mn-invitation-notifications-modal__infinite-scroll-container"],[12],[1,"\\n"],[1," "],[8,[32,2],[[4,[32,3],[[30,0,["infiniteScroll"]]],null]],[["@isDisabled","@items","@onTrigger"],[[30,0,["notificationCollection","isScrollDisabled"]],[30,0,["notificationCollection","elements"]],[30,0,["infiniteScroll"]]]],[["content"],[[[[1,"\\n "],[10,"ul"],[14,0,"artdeco-list ph5"],[12],[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,3]],null]],null],null,[[[1," "],[10,"li"],[14,0,"artdeco-list__item pv3 ph0"],[12],[1,"\\n "],[8,[30,2],null,[["@index"],[[30,5]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"display-flex align-items-center"],[12],[1,"\\n "],[8,[32,4],[[4,[32,5],["primary_image"],null]],[["@href","@class"],[[30,4,["notificationCard","headerImage","actionTarget"]],"pr2"]],[["default"],[[[[1,"\\n "],[8,[32,6],null,[["@entitySize","@images","@isStackedLayout"],[4,[30,4,["notificationCard","headerImage"]],false]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[10,2],[14,0,"mn-invitation-notifications-modal__headline"],[12],[1,"\\n "],[8,[32,7],null,[["@tvm"],[[30,4,["notificationCard","headline"]]]],null],[1,"\\n "],[13],[1,"\\n "],[8,[32,8],null,[["@recipientUrns"],[[28,[32,9],[[30,4,["notificationCard","headerImage","attributes"]],"0.detailData.profilePicture.entityUrn"],null]]],[["default"],[[[[1,"\\n "],[8,[32,10],[[4,[32,11],["click",[30,6]],null],[4,[32,5],["message"],null]],[["@type","@icon","@circle","@size"],["secondary","send-privately",true,2]],null],[1,"\\n "]],[6]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[4,5]],null],[1," "],[13],[1,"\\n "]],[2,3]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["modal","ItemContainer","items","invitationNotification","index","openMessage","&default"],false,["yield","each","-track-array"]]',moduleName:"mynetwork/components/invitation-notifications-modal.gjs",scope:()=>[d.default,p.default,f.default,y.default,h.default,g.default,b.default,_.default,w.default,v.get,k.default,T.on],isStrictMode:!0}),(I=(0,m.inject)("jet"),E=(0,m.inject)("global-services@store-shim"),O=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"jet",C,this);(0,t.default)(this,"storeShim",P,this);(0,n.default)(this,"pageKey","flagship3_people_invitation_acceptance_notifications");(0,t.default)(this,"isNotificationModalOpen",S,this);(0,t.default)(this,"isInitialLoad",N,this);(0,t.default)(this,"isInitialLoadInProgress",R,this)
|
|
this.notificationCollection=new s.default({store:this.storeShim,jet:this.jet,lastUpdateTimeRange:(0,c.get)(this.args,"notificationAction.lastUpdateTimeRange")})}get isAttendeesEmpty(){return 0===this.args.attendeeList.length&&!this.isInitialLoadInProgress}closeModal(){(0,c.setProperties)(this,{isNotificationModalOpen:!1,isInitialLoad:!0,isInitialLoadInProgress:!1})
|
|
this.notificationCollection.resetData()}openModal(){(0,c.set)(this,"isNotificationModalOpen",!0)}infiniteScroll(){return this._fetchResults()}_fetchResults(){this.isInitialLoad&&(0,c.setProperties)(this,{isInitialLoad:!1,isInitialLoadInProgress:!0})
|
|
return this.notificationCollection.getPage().then((()=>{this.isDestroying||(0,c.set)(this,"isInitialLoadInProgress",!1)}))}},C=(0,i.default)(O.prototype,"jet",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(O.prototype,"storeShim",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,i.default)(O.prototype,"isNotificationModalOpen",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),N=(0,i.default)(O.prototype,"isInitialLoad",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),R=(0,i.default)(O.prototype,"isInitialLoadInProgress",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(O.prototype,"closeModal",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"closeModal"),O.prototype),(0,i.default)(O.prototype,"openModal",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"openModal"),O.prototype),(0,i.default)(O.prototype,"infiniteScroll",[c.action],Object.getOwnPropertyDescriptor(O.prototype,"infiniteScroll"),O.prototype),O))}))
|
|
define("mynetwork/components/invitation-preview/invitation-preview",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-card/components/artdeco-card","ember-cli-pemberly-i18n/helpers/t","@ember/routing","global-helpers/helpers/gte","ember-cli-pemberly-tracking/modifiers/track-interaction","mynetwork/components/summary-card-notification","invitation/components/inline-confirmation-card","invitation/components/invitation-list","invitation/components/invitation-card","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/track-view","@ember/helper","mynetwork/components/invitation-settings-popup"],(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
|
|
const g=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"b+vLV/Ns",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"mn-invitations-preview mb4"]],null,[["default"],[[[[1,"\\n"],[1," "],[10,"header"],[14,0,"artdeco-card__header mn-invitations-preview__header"],[12],[1,"\\n "],[10,"h2"],[14,0,"flex-1 t-16 t-black t-normal"],[12],[1,"\\n"],[41,[30,1,["numPendingInvitations"]],[[[1," "],[1,[28,[32,1],["i18n_received_invitation_with_count","mynetwork/components/invitation-preview/invitation-preview"],[["newCount"],[[30,1,["numNewInvitations"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_no_pending_invitation","mynetwork/components/invitation-preview/invitation-preview"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n\\n "],[8,[32,2],[[16,"aria-label",[52,[28,[32,3],[[30,1,["numPendingInvitations"]],2],null],[28,[32,1],["i18n_see_all_a11y","mynetwork/components/invitation-preview/invitation-preview"],[["inviteCount"],[[30,1,["numPendingInvitations"]]]]],[28,[32,1],["i18n_manage_all_a11y_text","mynetwork/components/invitation-preview/invitation-preview"],null]]],[24,0,"mn-invitations-preview__manage-all artdeco-button artdeco-button--tertiary artdeco-button--muted artdeco-button--2"],[4,[32,4],["manage_all_invites"],null]],[["@route"],["invitation-manager"]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"artdeco-button__text"],[12],[1,"\\n"],[41,[28,[32,3],[[30,1,["numPendingInvitations"]],2],null],[[[1," "],[1,[28,[32,1],["i18n_see_all","mynetwork/components/invitation-preview/invitation-preview"],[["inviteCount"],[[30,1,["numPendingInvitations"]]]]]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,1],["i18n_manage","mynetwork/components/invitation-preview/invitation-preview"],null]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,2],[[[1," "],[8,[32,5],[[24,0,"mn-summary-card-notification"]],[["@notification","@closeInvitationSummaryCard"],[[30,3,["notification"]],[30,4]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1," "],[8,[32,6],[[24,0,"mn-invitations-preview__inline-card"]],[["@inlineInvitationView","@actionOnInvitation","@inviteHasBeenReported","@closeInlineConfirmationCard"],[[30,6],[30,7],[30,8],[30,9]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,10,["length"]],[[[1," "],[8,[32,7],null,[["@routeActionOnInvitation","@loadMoreInvitations","@seeMore","@triggerInlineConfirmationCard"],[[30,11],"loadMoreReceivedInvitations",[30,12],[30,13]]],[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[30,10]],null]],null],null,[[[1," "],[8,[32,8],[[24,"data-view-name","pending-invitation"],[4,[32,9],[[28,[32,10],[[30,15],[28,[32,11],null,[["invitationView","cardIndex"],[[30,20],[30,21]]]]],null]],[["eager","routeName","currentRoute"],[true,[28,[32,12],[[53,"outletState"],"render.name"],null],[28,[32,12],[[53,"outletState"],"render"],null]]]],[4,[32,13],null,[["viewName","verticalPosition","genericTrackingLixKey","routeName","currentRoute"],["pending-invitation",[30,21],"voyager.web.tracking3-batch-8",[28,[32,12],[[53,"outletState"],"render.name"],null],[28,[32,12],[[53,"outletState"],"render"],null]]]]],[["@invitationView","@actOnInvitation","@isPending","@hideMessageBtn","@cardIndex","@expandMessage","@rejectInvitationCard","@reportInvitation","@isInlineConfirmationExperienceEnabled","@onTriggerInlineConfirmationCard"],[[30,20],[30,14],true,true,[30,21],[30,16],[30,17],[30,18],true,[30,19]]],null],[1,"\\n"]],[20,21]],null],[1," "]],[14,15,16,17,18,19]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[8,[32,14],null,[["@isOpen","@settingsPopupEntityType"],[[30,22],[30,23]]],null],[1,"\\n"]],["@invitationsSummary","@isSummaryCardNotificationOpen","@summaryCardNotification","@closeInvitationSummaryCard","@isInlineConfirmationOpen","@inlineInvitationView","@actionOnInvitation","@inviteHasBeenReported","@closeInlineConfirmationCard","@formatInvitationViews","@actOnInvitation","@seeMore","@triggerInlineConfirmationCard","actOnInvitation","cardImpressed","expandMessage","rejectInvitationCard","reportInvitation","onTriggerInlineConfirmationCard","invitationView","cardIndex","@isSettingsPopupOpen","@settingsPopupEntityType"],false,["if","each","-track-array","-get-dynamic-var"]]',moduleName:"mynetwork/components/invitation-preview/invitation-preview.gjs",scope:()=>[o.default,r.default,a.LinkTo,l.default,s.default,c.default,u.default,m.default,d.default,p.default,y.fn,y.hash,y.get,f.default,h.default],isStrictMode:!0}),(0,n.default)("invitation-preview","InvitationPreview"))
|
|
e.default=g}))
|
|
define("mynetwork/components/invitation-settings-popup",["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","tracked-toolbox","global-utils/utils/html-safe","@glimmer/component","@ember/object","@ember/service","artdeco-modal/components/artdeco-modal","ember-set-helper/helpers/set","ember-cli-pemberly-tracking/components/shared/external-link","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","artdeco-button/components/artdeco-button","@ember/modifier"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var w,v,k,T,I
|
|
const E={GROUPS:"i18n_groups_header",EVENT:"i18n_event_header",CONTENT_SERIES:"i18n_newsletter_header",ORGANIZATION:"i18n_page_header"},O={GROUPS:"i18n_groups_content",EVENT:"i18n_event_content",CONTENT_SERIES:"i18n_newsletter_content",ORGANIZATION:"i18n_page_content"}
|
|
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"E/D7YZ9m",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@isOpen","@modalClasses","@size","@dismissModal"],[[30,0,["isOpen"]],"mn-invitation-settings-popup","small",[28,[32,1],[[30,0],"isOpen"],null]]],[["default"],[[[[1,"\\n "],[8,[30,1,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"mn-invitation-settings-popup"],[12],[1,[30,0,["headerText"]]],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n "],[1,[30,0,["contentText"]]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,1,["artdeco-modal-footer"]],null,[["@class"],["text-align-right"]],[["default"],[[[[1,"\\n "],[8,[32,2],[[4,[32,4],["settings_popup_change_settings"],null]],[["@href","@classNames","@ariaLabel"],["/psettings/entity-invitation-preference","artdeco-button artdeco-button--secondary mr2",[28,[32,3],["i18n_edit_settings_a11y","mynetwork/components/invitation-settings-popup"],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,3],["i18n_edit_settings","mynetwork/components/invitation-settings-popup"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[32,5],[[16,"aria-label",[28,[32,3],["i18n_keep_a11y","mynetwork/components/invitation-settings-popup"],null]],[4,[32,6],["click",[30,0,["closeModal"]]],null],[4,[32,4],["settings_popup_continue"],null]],[["@text"],[[28,[32,3],["i18n_keep","mynetwork/components/invitation-settings-popup"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["modal"],false,[]]',moduleName:"mynetwork/components/invitation-settings-popup.gjs",scope:()=>[p.default,f.default,y.default,h.default,g.default,b.default,_.on],isStrictMode:!0}),(w=(0,d.inject)("i18n"),v=(0,s.localCopy)("args.isOpen"),k=class e extends u.default{constructor(){super(...arguments);(0,t.default)(this,"i18n",T,this);(0,t.default)(this,"isOpen",I,this)}get headerText(){const t=E[this.args.settingsPopupEntityType]
|
|
return(0,c.default)(this.i18n.lookupTranslation(e,t)())}get contentText(){const t=O[this.args.settingsPopupEntityType]
|
|
return(0,c.default)(this.i18n.lookupTranslation(e,t)())}closeModal(){this.isOpen=!1}},T=(0,i.default)(k.prototype,"i18n",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(k.prototype,"isOpen",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(k.prototype,"closeModal",[m.action],Object.getOwnPropertyDescriptor(k.prototype,"closeModal"),k.prototype),k))}))
|
|
define("mynetwork/components/invitations-redirect",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","ember-cli-pemberly-i18n/helpers/t","ember-engines/components/link-to-external","@ember/helper","hue-web-icons/components/icon"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const s=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"e5KMpW1+",block:'[[[1,"\\n"],[1," "],[10,"section"],[14,0,"artdeco-card pl4 pr2 pv4 mb4"],[12],[1,"\\n "],[10,"header"],[14,0,"pb2"],[12],[1,"\\n "],[1,[28,[32,0],["i18n_header_text","mynetwork/components/invitations-redirect"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,1],[[24,0,"artdeco-button artdeco-button--2 mn-invitations-redirect--button"]],[["@route","@query"],["notifications.index",[28,[32,2],null,[["filter"],["invitations"]]]]],[["default"],[[[[1,"\\n "],[8,[32,3],null,[["@type","@size","@name"],["system","small","bell-fill"]],null],[1,"\\n "],[10,1],[14,0,"visually-hidden"],[12],[1,[28,[32,0],["i18n_button_text_ally","mynetwork/components/invitations-redirect"],null]],[13],[1,"\\n "],[10,1],[14,0,"pl1"],[14,"aria-hidden","true"],[12],[1,"\\n "],[1,[28,[32,0],["i18n_button_text","mynetwork/components/invitations-redirect"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n"]],[],false,[]]',moduleName:"mynetwork/components/invitations-redirect.gts",scope:()=>[o.default,r.default,a.hash,l.default],isStrictMode:!0}),(0,n.default)("invitations-redirect","InvitationsRedirect"))
|
|
e.default=s}))
|
|
define.alias("ember-finite-scroll/components/item-container","mynetwork/components/item-container")
|
|
define.alias("ember-vector-images/components/lazy-background","mynetwork/components/lazy-background")
|
|
define.alias("ember-vector-images/components/lazy-image","mynetwork/components/lazy-image")
|
|
define.alias("ember-line-clamp/components/line-clamp","mynetwork/components/line-clamp")
|
|
define.alias("artdeco-icons-web/components/linkedin-logo","mynetwork/components/linkedin-logo")
|
|
define.alias("ember-cloud-filepicker/components/local-file-input","mynetwork/components/local-file-input")
|
|
define.alias("ember-media-player/components/media-player","mynetwork/components/media-player")
|
|
define("mynetwork/components/nurture-tabs",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@glimmer/component","@ember/service","@ember/object","@glimmer/tracking","ember-cli-artdeco-tabs/components/artdeco-tabs","tracked-toolbox","ember-cli-pemberly-i18n/helpers/t","artdeco-notification-badge/components/artdeco-notification-badge"],(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,v,k,T,I,E,O,C,P,S,N,R,A
|
|
e.default=(0,l.setComponentTemplate)((0,a.createTemplateFactory)({id:"jx7wtLl/",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[24,0,"full-width"]],[["@selection","@size"],[[30,0,["currentTab"]],"48dp"]],[["default"],[[[[1,"\\n "],[8,[30,1,["tablist"]],[[24,0,"mn-nurture-tabs__tablist full-width pl5"]],[["@aria-orientation","@selectTabOnRender"],["horizontal",false]],[["default"],[[[[1,"\\n "],[8,[30,2,["tab"]],[[24,"tabindex","0"],[24,0,"mn-nurture-tabs__tab display-flex align-items-center ph5 pv4 ml0"]],[["@model","@on-select"],["mynetwork.nurture.grow",[30,0,["switchTabs"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"text-body-medium-bold"],[12],[1,[28,[32,1],["i18n_mynetwork_grow_tab_name","mynetwork/components/nurture-tabs"],null]],[13],[1,"\\n"],[41,[30,0,["growBadgeCount"]],[[[1," "],[8,[32,2],[[24,0,"pl3"]],[["@number","@showCount","@a11yText"],[[30,0,["growBadgeCount"]],true,[28,[32,1],["i18n_grow_badge","mynetwork/components/nurture-tabs"],[["badgeCount"],[[30,0,["growBadgeCount"]]]]]]],[["default"],[[[[1,"\\n"],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "],[8,[30,2,["tab"]],[[24,"tabindex","0"],[24,0,"display-flex align-items-center ph5 pv4 ml0"]],[["@model","@on-select"],["mynetwork.nurture.catch-up.index",[30,0,["switchTabs"]]]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"text-body-medium-bold"],[12],[1,[28,[32,1],["i18n_mynetwork_catchup_tab_name","mynetwork/components/nurture-tabs"],null]],[13],[1,"\\n"],[41,[30,0,["catchupBadgeCount"]],[[[1," "],[8,[32,2],[[24,0,"pl3"]],[["@number","@showCount","@a11yText"],[[30,0,["catchupBadgeCount"]],true,[28,[32,1],["i18n_nurture_badge","mynetwork/components/nurture-tabs"],[["badgeCount"],[[30,0,["catchupBadgeCount"]]]]]]],[["default"],[[[[1,"\\n"],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],[1]]]]],[1,"\\n "]],["tabs","tablist"],false,["if"]]',moduleName:"mynetwork/components/nurture-tabs.gjs",scope:()=>[d.default,f.default,y.default],isStrictMode:!0}),(h=(0,c.inject)("global-nav-shared@badge"),g=(0,c.inject)("props-shared@nurture-tracking"),b=(0,c.inject)("router"),_=(0,c.inject)("tracking"),w=(0,p.trackedReset)("args.currentTab"),v=(S=new WeakSet,N=new WeakSet,R=new WeakSet,A=new WeakSet,class extends s.default{constructor(){super(...arguments)
|
|
A.add(this)
|
|
R.add(this)
|
|
N.add(this)
|
|
S.add(this);(0,t.default)(this,"badge",k,this);(0,t.default)(this,"nurtureTracking",T,this);(0,t.default)(this,"router",I,this);(0,t.default)(this,"tracking",E,this);(0,t.default)(this,"currentTab",O,this);(0,t.default)(this,"growBadgeCount",C,this);(0,t.default)(this,"catchupBadgeCount",P,this);(0,i.default)(this,A,j).call(this)
|
|
this.badge.on("badgeCountChanged",this,(0,i.default)(this,A,j))}willDestroy(){super.willDestroy(...arguments)
|
|
this.badge.off("badgeCountChanged",this,(0,i.default)(this,A,j))}switchTabs(e){this.currentTab=e
|
|
if("mynetwork.nurture.catch-up.index"===e){(0,i.default)(this,R,x).call(this,"catchup","grow","mynetwork_catchup_tab")
|
|
this.router.transitionTo(e,"catch-up",this.args.nurtureFilter)}else{(0,i.default)(this,R,x).call(this,"grow","catchup","mynetwork_grow_tab")
|
|
this.router.transitionTo(e,"grow")}}}),k=(0,o.default)(v.prototype,"badge",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,o.default)(v.prototype,"nurtureTracking",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,o.default)(v.prototype,"router",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,o.default)(v.prototype,"tracking",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,o.default)(v.prototype,"currentTab",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return this.args.currentTab}}),C=(0,o.default)(v.prototype,"growBadgeCount",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),P=(0,o.default)(v.prototype,"catchupBadgeCount",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,o.default)(v.prototype,"switchTabs",[u.action],Object.getOwnPropertyDescriptor(v.prototype,"switchTabs"),v.prototype),v))
|
|
function D(){const e=this.badge.getBadgeCount("mynetwork")-this.catchupBadgeCount
|
|
return e>0?e:0}function M(){return this.badge.getBadgeCount("nurture")}function x(e,t,n){this.tracking.fireTrackingPayload("PropsFilterChangeActionEvent",{newFilterName:e,originFilterName:t})
|
|
this.nurtureTracking.setCurrentControlName(n)}function j(){this.catchupBadgeCount=(0,i.default)(this,N,M).call(this)
|
|
this.growBadgeCount=(0,i.default)(this,S,D).call(this)}}))
|
|
define("mynetwork/components/object-bin",["exports","ember-drag-drop/components/object-bin"],(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/onedrive-file-picker","mynetwork/components/onedrive-file-picker")
|
|
define("mynetwork/components/paginated-invitation",["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","tracked-toolbox","invitation/utils/invitation-client-impression-event","@ember/object","@ember/service","invitation/utils/ad-banner-reloader","invitation/components/base-invitation","artdeco-pagination/components/artdeco-pagination","global-helpers/helpers/eq","global-helpers/helpers/gte"],(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,v,k
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"iyts0FAT",block:'[[[1,"\\n"],[1," "],[11,"ul"],[17,1],[24,0,"artdeco-list mn-invitation-list"],[12],[1,"\\n "],[18,2,[[30,0,["actOnInvitation"]],[30,0,["cardExposed"]],[30,0,["expandMessage"]],[30,0,["cardImpressed"]],[30,0,["reportInvitation"]],[30,0,["rejectInvitationCard"]]]],[1,"\\n "],[13],[1,"\\n"],[41,[51,[30,0,["hasOnlyOnePage"]]],[[[1," "],[8,[32,0],null,[["@pages","@currentPage","@numberPagination","@class","@hideOnSinglePage","@isPreviousDisabled","@isNextDisabled","@onMoveToPrevious","@onMoveToNext","@onMoveToPage"],[[30,0,["totalPages"]],[30,0,["selectedPage"]],true,"mn-invitation-pagination pv5",true,[28,[32,1],[[30,0,["selectedPage"]],1],null],[28,[32,2],[[30,0,["selectedPage"]],[30,0,["totalPages"]]],null],[30,0,["transitionToPage"]],[30,0,["transitionToPage"]],[30,0,["transitionToPage"]]]],null],[1,"\\n"]],[]],null],[1," "]],["&attrs","&default"],false,["yield","unless"]]',moduleName:"mynetwork/components/paginated-invitation.gjs",scope:()=>[p.default,f.default,y.default],isStrictMode:!0}),(h=(0,u.inject)("router"),g=(0,u.inject)("ads@ad-banner-manager"),b=(0,l.localCopy)("args.selectedPage"),_=class extends d.default{constructor(){super(...arguments);(0,t.default)(this,"router",w,this);(0,t.default)(this,"adBannerManager",v,this);(0,t.default)(this,"selectedPage",k,this);(0,n.default)(this,"useLongerCopy",!0)}get totalPages(){const e=this.args.itemsPerPage??10
|
|
return Math.ceil(this.args.total/e)}get hasOnlyOnePage(){return 1===this.totalPages}cardImpressed(e){let{invitationView:t,cardIndex:n}=e
|
|
m.default.reloadAd(this.adBannerManager,n)
|
|
return t?(0,s.default)(t,n):{}}transitionToPage(e){const{filterCriteria:t,invitationType:n}=this.args,i={page:e}
|
|
t&&(i.filterCriteria=t)
|
|
n&&(i.invitationType=n)
|
|
this.router.transitionTo({queryParams:i})}},w=(0,i.default)(_.prototype,"router",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(_.prototype,"adBannerManager",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,i.default)(_.prototype,"selectedPage",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 1}}),(0,i.default)(_.prototype,"cardImpressed",[c.action],Object.getOwnPropertyDescriptor(_.prototype,"cardImpressed"),_.prototype),(0,i.default)(_.prototype,"transitionToPage",[c.action],Object.getOwnPropertyDescriptor(_.prototype,"transitionToPage"),_.prototype),_))}))
|
|
define("mynetwork/components/restricted-account-filtering-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","discover-utils/utils/constants","@ember/object","@glimmer/tracking","@ember/service","@glimmer/component","artdeco-card/components/artdeco-card","ember-cli-pemberly-i18n/helpers/t","@ember/helper"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var y,h,g,b,_,w,v
|
|
e.default=(0,a.setComponentTemplate)((0,r.createTemplateFactory)({id:"7VBEmJfQ",block:'[[[1,"\\n"],[41,[30,0,["shouldShowBanner"]],[[[1," "],[8,[32,0],[[24,0,"mn-restricted-account-filtering-banner"]],[["@dismissText","@isDismissable","@onDismiss"],[[28,[32,1],["dismiss_banner_btn_text_a11y","mynetwork/components/restricted-account-filtering-banner"],null],true,[30,0,["onDismiss"]]]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-restricted-account-filtering-banner__illustration"],[12],[13],[1,"\\n "],[10,0],[14,0,"flex-grow-1 t-14 pr2"],[12],[1,"\\n "],[10,0],[14,0,"t-bold"],[12],[1,"\\n "],[1,[28,[32,1],["raf_banner_title","mynetwork/components/restricted-account-filtering-banner"],null]],[1,"\\n "],[13],[1,"\\n "],[10,0],[12],[1,"\\n "],[1,[28,[32,1],["raf_banner_body","mynetwork/components/restricted-account-filtering-banner"],[["linkInfo"],[[28,[32,2],null,[["class","href","target","rel","aria-label","data-control-name","data-test-restricted-account-filtering-banner-learn-more"],["link-without-hover-state link-without-hover-visited link-without-visited-state t-black","/help/linkedin/answer/a1421099","_blank","noopener noreferrer",[28,[32,1],["learn_more_a11y_text","mynetwork/components/restricted-account-filtering-banner"],null],"nav_restricted_account_filtering_banner_learn_more",true]]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1," "]],[],false,["if"]]',moduleName:"mynetwork/components/restricted-account-filtering-banner.gjs",scope:()=>[d.default,p.default,f.hash],isStrictMode:!0}),(y=(0,u.inject)("tracking"),h=(0,u.inject)("global-services@local-storage"),g=class extends m.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",b,this);(0,t.default)(this,"localStorage",_,this);(0,t.default)(this,"isBannerDismissed",w,this);(0,t.default)(this,"bannerRenderCount",v,this)
|
|
const e=this.localStorage.getKeyedObject(l.RESTRICTED_ACCOUNT_FILTERING_BANNER_STORAGE_KEY,"mn-raf-banner")
|
|
if(e){this.isBannerDismissed=e.dismissed
|
|
this.bannerRenderCount=e.count}}get shouldShowBanner(){if(!this.isBannerDismissed&&this.bannerRenderCount<2){this.setBadgeToLocalStorage()
|
|
return!0}return!1}setBadgeToLocalStorage(){const e={dismissed:this.isBannerDismissed,count:this.bannerRenderCount+1}
|
|
this.localStorage.setKeyedObjectValue(l.RESTRICTED_ACCOUNT_FILTERING_BANNER_STORAGE_KEY,"mn-raf-banner",e)}onDismiss(){this.tracking.fireInteractionEvent("nav_restricted_account_filtering_banner_dismiss")
|
|
this.isBannerDismissed=!0
|
|
this.setBadgeToLocalStorage()}},b=(0,i.default)(g.prototype,"tracking",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(g.prototype,"localStorage",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(g.prototype,"isBannerDismissed",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),v=(0,i.default)(g.prototype,"bannerRenderCount",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return 0}}),(0,i.default)(g.prototype,"onDismiss",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"onDismiss"),g.prototype),g))}))
|
|
define.alias("ember-self-focused/components/self-focused","mynetwork/components/self-focused")
|
|
define.alias("ember-finite-scroll/components/sentinel","mynetwork/components/sentinel")
|
|
define("mynetwork/components/shared/connections-summary",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","@ember/routing","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-i18n/helpers/t"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const s=(0,o.setComponentTemplate)((0,t.createTemplateFactory)({id:"Y5LmiJLo",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"mn-connections-summary artdeco-card"],[12],[1,"\\n "],[10,0],[14,0,"pt4"],[12],[1,"\\n "],[8,[32,0],[[24,0,"link-without-hover-state"],[4,[32,1],["connections"],null]],[["@route"],["invite-connect.connections"]],[["default"],[[[[1,"\\n "],[10,"h3"],[14,0,"mn-connections-summary__count t-32 t-normal mt3"],[15,"aria-label",[28,[32,2],["i18n_connections_count_a11y_text","mynetwork/components/shared/connections-summary"],[["count"],[[30,1]]]]],[12],[1,"\\n "],[1,[28,[32,2],["i18n_connections_count","mynetwork/components/shared/connections-summary"],[["count"],[[30,1]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[10,"h3"],[14,0,"t-16 t-black t-bold mt2 ph3"],[14,"aria-hidden","true"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_your_connections","mynetwork/components/shared/connections-summary"],null]],[1,"\\n "],[13],[1,"\\n\\n "],[8,[32,0],[[24,0,"mn-connections-summary__see-all t-14 t-bold inline-block mt1 mb4 ph3"],[4,[32,1],["connections"],null]],[["@route"],["invite-connect.connections"]],[["default"],[[[[1,"\\n "],[10,1],[15,"aria-label",[28,[32,2],["i18n_see_all_a11y_text","mynetwork/components/shared/connections-summary"],null]],[12],[1,"\\n "],[1,[28,[32,2],["i18n_see_all","mynetwork/components/shared/connections-summary"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],["@numConnections","&default"],false,["yield"]]',moduleName:"mynetwork/components/shared/connections-summary.gts",scope:()=>[r.LinkTo,a.default,l.default],isStrictMode:!0}),(0,i.default)("connections-summary","ConnectionsSummary"))
|
|
e.default=s}))
|
|
define.alias("ember-cloud-filepicker/components/slideshare-file-picker","mynetwork/components/slideshare-file-picker")
|
|
define("mynetwork/components/sortable-objects",["exports","ember-drag-drop/components/sortable-objects"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define("mynetwork/components/summary-card-notification",["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/service","mynetwork/utils/mynetwork-notifications","@ember/object","@glimmer/component","@ember/render-modifiers/modifiers/did-insert","ember-cli-pemberly-tracking/modifiers/track-render","ember-cli-pemberly-tracking/components/shared/external-link","ember-cli-pemberly-tracking/modifiers/track-interaction","image-view-model/components/image-view-model","message-button/components/entry-point","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","@ember/modifier","mynetwork/components/invitation-notifications-modal"],(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,I
|
|
e.default=(0,l.setComponentTemplate)((0,r.createTemplateFactory)({id:"Z81nf9kU",block:'[[[1,"\\n"],[1," "],[11,"section"],[17,1],[4,[32,0],[[30,0,["impressionTrackingHandler"]]],null],[4,[32,1],null,[["pageKey","routeName","currentRoute"],["flagship3_people_invitations_summary_card",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[10,0],[14,0,"display-flex align-items-center full-width"],[12],[1,"\\n "],[8,[32,3],[[24,0,"pr2"],[4,[32,4],["invitation_notification_summary_card_primary_image"],null]],[["@href"],[[30,0,["primaryImage","actionTarget"]]]],[["default"],[[[[1,"\\n "],[8,[32,5],null,[["@entitySize","@images","@isStackedLayout"],[2,[30,0,["primaryImage"]],false]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[10,0],[14,0,"flex-1 pr2"],[12],[1,"\\n "],[10,1],[14,0,"t-14 pr2"],[12],[1,"\\n "],[1,[30,0,["title"]]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["isMessageCTA"]],[[[1," "],[8,[32,6],[[24,0,"inline-block"]],[["@recipientUrns","@controlUrn","@referringModuleKey"],[[30,0,["viewee","entityUrn"]],"accepted_invite_messaging","invitations:summary-card-notification"]],[["default"],[[[[1,"\\n "],[8,[32,7],[[24,0,"mn-summary-card-notification__cta"],[16,"aria-label",[28,[32,8],["i18n_viewee_full_name_a11y","mynetwork/components/summary-card-notification"],[["member"],[[30,0,["vieweeName"]]]]]],[4,[32,9],["click",[30,2]],null]],[["@size","@text","@type"],[1,[28,[32,8],["i18n_message","mynetwork/components/summary-card-notification"],null],"tertiary"]],null],[1,"\\n "]],[2]]]]],[1,"\\n"]],[]],[[[1," "],[8,[32,10],null,[["@class","@notificationAction"],["inline-block",[30,0,["notificationAction"]]]],[["default"],[[[[1,"\\n "],[8,[32,7],[[24,0,"mn-summary-card-notification__cta"],[16,"aria-label",[28,[32,8],["i18n_view_all_a11y","mynetwork/components/summary-card-notification"],null]],[4,[32,9],["click",[30,3]],null],[4,[32,4],["invitation_notification_summary_card_view_all"],null]],[["@size","@type","@text"],[1,"tertiary",[30,0,["notificationAction","text"]]]],null],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]]],[1," "],[13],[1,"\\n "],[8,[32,7],[[16,"aria-label",[28,[32,8],["i18n_close_invitation_summary_card_a11y","mynetwork/components/summary-card-notification"],null]],[24,0,"p0 artdeco-button--circle"],[4,[32,9],["click",[30,0,["dismissInvitationSummaryCard"]]],null],[4,[32,4],["invitation_notification_summary_card_close"],null]],[["@type","@size","@color","@icon"],["tertiary",1,"muted","close"]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],["&attrs","openMessaging","openModal"],false,["-get-dynamic-var","if"]]',moduleName:"mynetwork/components/summary-card-notification.gjs",scope:()=>[d.default,p.default,a.get,f.default,y.default,h.default,g.default,b.default,_.default,w.on,v.default],isStrictMode:!0}),(k=(0,s.inject)("global-services@store-shim"),T=class extends m.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",I,this)
|
|
this.myNetworkNotificationsUtil=new c.default(this.storeShim)
|
|
const{primaryImage:e,title:n,notificationAction:i}=(0,u.getProperties)(this.args.notification,"primaryImage","title","notificationAction"),o=(0,u.get)(i,"viewee");(0,u.setProperties)(this,{notificationAction:i,primaryImage:e,title:n,viewee:o,isMessageCTA:"MESSAGE"===(0,u.get)(i,"type"),vieweeName:o&&(0,u.getProperties)(o,"firstName","lastName","maidenName")})}impressionTrackingHandler(){this.myNetworkNotificationsUtil.markAllInvitationAcceptanceNotificationsAsRead()}dismissInvitationSummaryCard(){this.args.closeInvitationSummaryCard()}},I=(0,i.default)(T.prototype,"storeShim",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(T.prototype,"impressionTrackingHandler",[u.action],Object.getOwnPropertyDescriptor(T.prototype,"impressionTrackingHandler"),T.prototype),(0,i.default)(T.prototype,"dismissInvitationSummaryCard",[u.action],Object.getOwnPropertyDescriptor(T.prototype,"dismissInvitationSummaryCard"),T.prototype),T))}))
|
|
define("mynetwork/config/environment",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
let t
|
|
try{const e="mynetwork/config/environment",n=document.querySelector('meta[name="'+e+'"]').getAttribute("content")
|
|
t=JSON.parse(unescape(n))}catch(e){t={}}e.default=t}))
|
|
define("mynetwork/controllers/contacts",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/service","@ember/controller"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var s,c,u
|
|
e.default=(s=(0,a.inject)("router"),c=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"router",u,this)}get selectedTab(){return this.router.currentRouteName}navigateToHandler(e){if(this.isDestroying||this.router.isDestroying)return
|
|
const t=(0,r.get)(this,"router.currentRouteName");(!t||t.includes("mynetwork.contacts.imported")||t.includes("mynetwork.contacts.synced"))&&this.router.transitionTo(e)}},u=(0,i.default)(c.prototype,"router",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(c.prototype,"navigateToHandler",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"navigateToHandler"),c.prototype),c)}))
|
|
define("mynetwork/controllers/discover-hub",["exports","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/controller","@ember/object","discover-utils/utils/constants"],(function(e,t,n,i,o,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var a
|
|
e.default=(a=class extends i.default{constructor(){super(...arguments);(0,t.default)(this,"queryParams",["useCase"])}updateEntityCount(e,t){const n=this.model
|
|
if(t===r.DISCOVERY_ENTITY_TYPES.COMPANIES){const t=n.pagesCount||0;(0,o.set)(n,"pagesCount",e?t+1:t-1)}else if(t===r.DISCOVERY_ENTITY_TYPES.HASHTAG){const t=n.hashtagCount||0;(0,o.set)(n,"hashtagCount",e?t+1:t-1)}else if(t===r.DISCOVERY_ENTITY_TYPES.PF){const t=n.peopleFollowCount||0;(0,o.set)(n,"peopleFollowCount",e?t+1:t-1)}}},(0,n.default)(a.prototype,"updateEntityCount",[o.action],Object.getOwnPropertyDescriptor(a.prototype,"updateEntityCount"),a.prototype),a)}))
|
|
define("mynetwork/controllers/discovery-see-all",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","@ember/object","@ember/service","@glimmer/tracking","invitation/utils/ad-banner-reloader","lego/utils/constants"],(function(e,t,n,i,o,r,a,l,s,c,u){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var m,d,p,f,y,h
|
|
e.default=(m=(0,l.inject)("ads@ad-banner-manager"),d=(0,l.inject)("lego@tracking"),p=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"adBannerManager",f,this);(0,t.default)(this,"legoTracking",y,this);(0,n.default)(this,"queryParams",["contextUrns","entityUrn","reasons","usecase","legoTrackingToken"]);(0,t.default)(this,"legoTrackingToken",h,this)}reloadAdBanner(e){c.default.reloadAd(this.adBannerManager,e)}onActionSuccess(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&this.legoTrackingToken){this.legoTracking.sendLegoAction(this.legoTrackingToken,u.LEGO_ENUM_CONSTANTS.LEGO_ACTION_PRIMARY)
|
|
this.legoTrackingToken=null}}},f=(0,i.default)(p.prototype,"adBannerManager",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(p.prototype,"legoTracking",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(p.prototype,"legoTrackingToken",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(p.prototype,"reloadAdBanner",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"reloadAdBanner"),p.prototype),(0,i.default)(p.prototype,"onActionSuccess",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"onActionSuccess"),p.prototype),p)}))
|
|
define("mynetwork/controllers/heathrow-redirect",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/controller"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends n.default{constructor(){super(...arguments);(0,t.default)(this,"queryParams",[{isSendInvite:{type:"boolean"},isAcceptInvite:{type:"boolean"},inviteActionFailed:{type:"boolean"},knownError:{type:"string"}}])}}e.default=i}))
|
|
define("mynetwork/controllers/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@ember/service","@ember/object","@glimmer/tracking","nt-heads-up/utils/heads-up-helpers","discover-utils/utils/constants","invitation/utils/ad-banner-reloader"],(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
|
|
var p,f,y,h,g,b,_,w,v,k,T,I,E,O
|
|
e.default=(p=(0,l.inject)("ads@ad-banner-manager"),f=(0,l.inject)("lix"),y=(0,l.inject)("global-services@store-shim"),h=(0,l.inject)("tracking"),g=(0,l.inject)("heathrow@heathrow"),b=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"adBannerManager",_,this);(0,t.default)(this,"lix",w,this);(0,t.default)(this,"storeShim",v,this);(0,t.default)(this,"tracking",k,this);(0,t.default)(this,"heathrow",T,this);(0,t.default)(this,"headsUpPrompt",I,this);(0,t.default)(this,"showHeadsUp",E,this);(0,t.default)(this,"isVerificationCardDismissed",O,this)}get propsHomeEntryPointPlacement(){return this.lix.getTreatment("voyager.web.props-home-my-network-entry-point")}get isUpsellTemplateComponentV2Enabled(){return this.lix.getTreatmentIsEnabled("voyager.web.premium-upsell-template-components-v2")}get pymkPageKey(){return`${this.tracking.getCurrentPageKey()}_discovery_pymk`}get isDeprecateContactsLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.invitations-deprecate-contacts")}get showVerificationCard(){return!this.isVerificationCardDismissed&&(0,s.get)(this.model,"verificationEntryPointCard")}focusInvitationCard(){const e=document.querySelector(".invitation-card:nth-child(1) a")
|
|
e&&e.focus()}getHeadsUpPrompt(e){this.storeShim.queryURL(...(0,u.headsUpConfigFor)(e)).then(u.promptFromCollection).then((e=>{if(!(0,r.isDestroying)(this)&&e){this.headsUpPrompt=e
|
|
this.showHeadsUp=!0}}))}updateEntityCount(e,t){const n=this.model
|
|
if(t===m.DISCOVERY_ENTITY_TYPES.COMPANIES){const t=n.pagesCount||0;(0,s.set)(n,"pagesCount",e?t+1:t-1)}else if(t===m.DISCOVERY_ENTITY_TYPES.PF){const t=n.peopleFollowCount||0;(0,s.set)(n,"peopleFollowCount",e?t+1:t-1)}else if(t===m.DISCOVERY_ENTITY_TYPES.SERIES){const t=n.newslettersCount||0;(0,s.set)(n,"newslettersCount",e?t+1:t-1)}else if(t===m.DISCOVERY_ENTITY_TYPES.HASHTAG){const t=n.hashtagCount||0;(0,s.set)(n,"hashtagCount",e?t+1:t-1)}}reloadAdBanner(e){d.default.reloadAd(this.adBannerManager,e)}},_=(0,i.default)(b.prototype,"adBannerManager",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(b.prototype,"lix",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(b.prototype,"storeShim",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,i.default)(b.prototype,"tracking",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(b.prototype,"heathrow",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(b.prototype,"headsUpPrompt",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),E=(0,i.default)(b.prototype,"showHeadsUp",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),O=(0,i.default)(b.prototype,"isVerificationCardDismissed",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(b.prototype,"focusInvitationCard",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"focusInvitationCard"),b.prototype),(0,i.default)(b.prototype,"getHeadsUpPrompt",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"getHeadsUpPrompt"),b.prototype),(0,i.default)(b.prototype,"updateEntityCount",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"updateEntityCount"),b.prototype),(0,i.default)(b.prototype,"reloadAdBanner",[s.action],Object.getOwnPropertyDescriptor(b.prototype,"reloadAdBanner"),b.prototype),b)}))
|
|
define("mynetwork/controllers/invitation-manager",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/controller","@ember/object","@ember/utils","invitation-platform/utils/constants","mynetwork/utils/constants-common","global-utils/utils/api-compat","global-utils/utils/is-browser","mynetwork/utils/ignored-invitations-util","nt-heads-up/utils/heads-up-helpers","@glimmer/tracking"],(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,v,k,T,I,E,O,C,P,S,N,R,A,D
|
|
const M="WITHDRAW",{ACCEPT_CONNECTION_INVITATION:x,ATTEND_EVENT:j,FOLLOW_COMPANY:L}=m.HEADS_UP_SCENARIOS,{CONNECTION:F,EVENT:z,ORGANIZATION:U}=u.INVITATION_TYPES
|
|
e.default=(g=(0,a.inject)("global-services@store-shim"),b=(0,a.inject)("tracking"),_=(0,a.inject)("i18n"),w=(0,a.inject)("lix"),v=(0,a.inject)("router"),k=(0,a.inject)("invitation-platform@invitation-platform"),T=(0,a.inject)("global-services@local-storage"),I=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",E,this);(0,t.default)(this,"tracking",O,this);(0,t.default)(this,"i18n",C,this);(0,t.default)(this,"lix",P,this);(0,t.default)(this,"router",S,this);(0,t.default)(this,"invitationPlatform",N,this);(0,t.default)(this,"localStorage",R,this);(0,t.default)(this,"invitationActionInProgress",A,this);(0,n.default)(this,"page",1);(0,n.default)(this,"filterCriteria","");(0,t.default)(this,"invitationType",D,this);(0,n.default)(this,"settingsPopupEntityType","");(0,n.default)(this,"itemsPerPage",m.DEFAULT_PAGINATION_COUNT);(0,n.default)(this,"disableButtons",!1);(0,n.default)(this,"template",null);(0,n.default)(this,"selectAllFlag",!1);(0,n.default)(this,"isConfirmationDialogOpen",!1);(0,n.default)(this,"actOnSelectedInvitation",void 0);(0,n.default)(this,"isInvitationSettingsOpen",!1);(0,n.default)(this,"isSettingsPopupOpen",!1);(0,n.default)(this,"queryParams",["page","filterCriteria","invitationType"]);(0,n.default)(this,"isWithdrawConfirmationEnabled",p.default);(0,n.default)(this,"isInvitationManagerSentRedesignEnabled",p.default);(0,n.default)(this,"resolvedPendingInvitationCache",[]);(0,n.default)(this,"resolvedSentInvitationCache",[]);(0,n.default)(this,"headsUpPrompt",null);(0,n.default)(this,"showHeadsUp",!1)}get isInvitationTypePeople(){return this.invitationType===F}get isPending(){return"mynetwork.invitation-manager.pending"===(0,s.get)(this,"router.currentRouteName")}get withdrawDialogContent(){let e=3,t="i18n_withdraw_confirmation_dialog_all"
|
|
this.invitationType===z?e=1:this.invitationType===U&&(t="i18n_withdraw_confirmation_dialog_organization")
|
|
return this.i18n.lookupTranslation("mynetwork@invitation-manager/sent",t)([{count:e}])}_retrieveSingleInvitationAsPayload(e){let{actionParam:t,invitationView:n,sentInvitationType:i}=e
|
|
if(this.isInvitationManagerSentRedesignEnabled)return(0,c.isEmpty)(i)?this._pendingSingleInvitationPayload(n):this._sentSingleInvitationPayload(n,i)
|
|
const o=(0,s.get)(n,"genericInvitationView"),r=t===M?n:o||(0,s.get)(n,"invitation")
|
|
let a=(0,s.get)(r,"entityUrn")
|
|
if((0,c.isPresent)(o)){a=`urn:li:fs_relInvitation:${(0,d.entityUrnToId)(a)}`}return[{entityUrn:a,validationToken:(0,s.get)(r,"sharedSecret"),genericInvitation:(0,c.isPresent)(o)}]}_pendingSingleInvitationPayload(e){const t=(0,s.get)(e,"invitation.genericInvitationType"),n=(0,s.get)(e,"invitation")
|
|
return[{entityUrn:(0,s.get)(n,"entityUrn"),validationToken:(0,s.get)(n,"sharedSecret"),genericInvitationType:t,genericInvitation:t!==u.INVITATION_TYPES.CONNECTION}]}_sentSingleInvitationPayload(e,t){return[{entityUrn:(0,s.get)(e,"invitation.entityUrn"),genericInvitation:(0,s.get)(e,"invitation.genericInvitationType")!==u.INVITATION_TYPES.CONNECTION,genericInvitationType:t}]}_performSingleAction(e){let{actionParam:t,invitationView:n,sentInvitationType:i}=e
|
|
const o=this._retrieveSingleInvitationAsPayload({actionParam:t,invitationView:n,sentInvitationType:i}),[{entityUrn:r,validationToken:a,genericInvitationType:l=u.INVITATION_TYPES.CONNECTION}]=o,s=t.toLocaleLowerCase(),c=s===u.INVITATION_ACTIONS.ACTOR_WITHDRAW?u.INVITATION_ACTIONS.WITHDRAW:s
|
|
return this.invitationPlatform.singleInvitationActionRequest({invitationIdOrUrn:r,sharedKey:a,action:c,invitationType:l})}_fireControlInteractionEvent(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"SHORT_PRESS"
|
|
const n=this.tracking.generateControlUrn(e)
|
|
this.tracking.fireCustomUrnInteractionEvent(n,t)}_resetProperties(){(0,s.setProperties)(this,{disableButtons:!1,isM2MInvitePresent:!1,isEventInvitePresent:!1,isGenericInvitationPresent:!1})}withdrawInvitation(e,t,n,i,o,r){const a=this.isWithdrawConfirmationEnabled?"openWithdrawConfirmation":"withdrawWithoutConfirmation"
|
|
this.send(a,e,t,n,i,o,r)}withdrawWithoutConfirmation(e,t,n,i,o,a){(0,c.isPresent)(t)&&e(t,n,i,o).then((()=>{(0,r.isDestroying)(this)||a()}))}openWithdrawConfirmation(e,t,n,i,o,a){if((0,c.isPresent)(t)){(0,s.set)(this,"actOnSelectedInvitation",(()=>e(t,n,i,o).then((()=>{(0,r.isDestroying)(this)||a()}))));(0,s.set)(this,"isConfirmationDialogOpen",!0)}}closeWithdrawConfirmation(){this.tracking.fireInteractionEvent("withdraw_cancel");(0,s.setProperties)(this,{isConfirmationDialogOpen:!1,actOnSelectedInvitation:void 0})}_getHeadsUpPrompt(e){this.storeShim.queryURL(...(0,y.headsUpConfigFor)(e)).then(y.promptFromCollection).then((e=>{(0,r.isDestroying)(this)||e&&(0,s.setProperties)(this,{headsUpPrompt:e,showHeadsUp:!0})}))}actOnNewIMInvitation(e){let{invitationView:t,actionOnInvitation:n,sentInvitationType:i}=e
|
|
this.invitationActionInProgress=!0
|
|
const o=n.toUpperCase()
|
|
return this._performSingleAction({invitationView:t,actionParam:o,sentInvitationType:i}).then((()=>{if(!(0,r.isDestroying)(this))if(o===M||"ACTOR_WITHDRAW"===o)this.send("updateSentInvitations",t)
|
|
else if("ACCEPT"===o){this.send("updatePendingInvitations",t)
|
|
const e=(0,s.get)(t,"invitation"),n=e?(0,s.get)(e,"genericInvitationType"):void 0
|
|
let i
|
|
n&&n!==F?n===z?i=j:n===U&&(i=L):i=x
|
|
this._getHeadsUpPrompt(i)}else if("IGNORE"===o){const e=(0,s.get)(t,"invitation.genericInvitationType"),n=(0,f.shouldShowSettingsPopup)(this.localStorage,this.lix,e);(0,s.setProperties)(this,{settingsPopupEntityType:e,isSettingsPopupOpen:n})
|
|
this.send("updatePendingInvitations",t)}else this.send("updatePendingInvitations",t)})).finally((()=>{(0,r.isDestroying)(this)||(this.invitationActionInProgress=!1)}))}withdraw(){this.tracking.fireInteractionEvent("withdraw_confirm")
|
|
this.actOnSelectedInvitation()
|
|
this.send("closeWithdrawConfirmation")}onChangeInvitationType(e){this.tracking.fireInteractionEvent(`type_filter_${e}`)
|
|
this.send("changeInvitationType",e)}onDecrementInlineConfirmationCount(){this.send("decrementInlineConfirmationCount")}transitionToManagerTab(e){this.router.currentRouteName!==e&&this.router.transitionTo(e)}},E=(0,i.default)(I.prototype,"storeShim",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(I.prototype,"tracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(I.prototype,"i18n",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(I.prototype,"lix",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,i.default)(I.prototype,"router",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,i.default)(I.prototype,"invitationPlatform",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,i.default)(I.prototype,"localStorage",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,i.default)(I.prototype,"invitationActionInProgress",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),D=(0,i.default)(I.prototype,"invitationType",[h.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,i.default)(I.prototype,"withdrawInvitation",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"withdrawInvitation"),I.prototype),(0,i.default)(I.prototype,"withdrawWithoutConfirmation",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"withdrawWithoutConfirmation"),I.prototype),(0,i.default)(I.prototype,"openWithdrawConfirmation",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"openWithdrawConfirmation"),I.prototype),(0,i.default)(I.prototype,"closeWithdrawConfirmation",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"closeWithdrawConfirmation"),I.prototype),(0,i.default)(I.prototype,"actOnNewIMInvitation",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"actOnNewIMInvitation"),I.prototype),(0,i.default)(I.prototype,"withdraw",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"withdraw"),I.prototype),(0,i.default)(I.prototype,"onChangeInvitationType",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"onChangeInvitationType"),I.prototype),(0,i.default)(I.prototype,"onDecrementInlineConfirmationCount",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"onDecrementInlineConfirmationCount"),I.prototype),(0,i.default)(I.prototype,"transitionToManagerTab",[s.action],Object.getOwnPropertyDescriptor(I.prototype,"transitionToManagerTab"),I.prototype),I)}))
|
|
define("mynetwork/controllers/invite-accepted-contextual",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","@glimmer/tracking"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var l,s
|
|
e.default=(l=class extends r.default{constructor(){super(...arguments);(0,n.default)(this,"queryParams",["inviteActionFailed","origin"]);(0,t.default)(this,"inviteActionFailed",s,this);(0,n.default)(this,"origin","IN_APP")}},s=(0,i.default)(l.prototype,"inviteActionFailed",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),l)}))
|
|
define("mynetwork/controllers/network-manager/-base",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@ember/object","rsvp","@glimmer/tracking","mynetwork/utils/network-manager"],(function(e,t,n,i,o,r,a,l,s,c,u){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var m,d
|
|
e.default=(m=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"entityResultResponses",d,this)}get isErrorLoadingEntities(){return(0,l.get)(this.model.entityResults,"isErrorLoadingEntities")}get entityResultClusters(){return this.model.entityResults?[this.model.entityResults,...this.entityResultResponses]:[]}get lastPagingStart(){return(0,l.get)(this.entityResultClusters[this.entityResultClusters.length-1],"paging.start")}get count(){return this.entityResultClusters.map((e=>(0,l.get)(e,"paging.count"))).reduce(((e,t)=>e+t),0)}get totalResultCount(){return(0,l.get)(this.entityResultClusters[this.entityResultClusters.length-1],"paging.total")}get hasNextPage(){return this.count<this.totalResultCount}get showNoResult(){return!this.totalResultCount}onInfiniteScroll(){if(!this.hasNextPage)return(0,s.resolve)(null)
|
|
const e=(0,s.defer)(),t=this.lastPagingStart+u.ENTITY_PAGE_SIZE
|
|
this.send("onNextPage",e,t)
|
|
return e.promise.then((e=>{(0,r.isDestroying)(this)||(this.entityResultResponses=[...this.entityResultResponses,e])}))}},d=(0,i.default)(m.prototype,"entityResultResponses",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),(0,i.default)(m.prototype,"onInfiniteScroll",[l.action],Object.getOwnPropertyDescriptor(m.prototype,"onInfiniteScroll"),m.prototype),m)}))
|
|
define("mynetwork/controllers/network-manager/company",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@ember/object","@glimmer/tracking","@ember/service","mynetwork/utils/network-manager","follows/utils/follow-tracking-base","feed-requests/update-actions","mynetwork-shared/utils/constants","mynetwork/utils/follow-util","global-utils/utils/array/push"],(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,v,k,T,I,E
|
|
e.default=(h=(0,c.inject)("jet"),g=(0,c.inject)("global-services@store-shim"),b=(0,c.inject)("@linkedin/ember-restli-graphql@graphql"),_=(0,c.inject)("tracking"),w=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"jet",v,this);(0,t.default)(this,"storeShim",k,this);(0,t.default)(this,"graphql",T,this);(0,t.default)(this,"tracking",I,this);(0,t.default)(this,"isScrollDisabled",E,this);(0,n.default)(this,"fetchEntityCount",f.FOLLOW_ENTITIES_FETCH_COUNT);(0,n.default)(this,"start",void 0)}_fetchFollowedEntities(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0
|
|
const{graphql:t,jet:n}=this
|
|
return(0,f.fetchCurationHubEntities)({graphql:t,jet:n,resultType:u.ENTITY_RESULT_TYPES.PAGES,start:e})}onInfiniteScroll(){return this._fetchFollowedEntities(this.start).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t=((0,l.get)(e,"elements.0.items.length")?(0,l.get)(e,"elements.0.items"):(0,l.get)(e,"elements.0.results"))||[]
|
|
if(t.length){let e=(0,l.get)(this.model.companiesFollowed,"elements")||[]
|
|
e=(0,l.get)(e,"0.items.length")?(0,l.get)(e.firstObject,"items"):(0,l.get)(e.firstObject,"results");(0,y.pushValues)(e,t)
|
|
this.start+=this.fetchEntityCount
|
|
this.start>=this.model.companiesFollowedCount&&(this.isScrollDisabled=!0)}else this.isScrollDisabled=!0}))}onToggleFollow(e){const t=(0,l.get)(e,"followingInfo"),n=(0,l.get)(e,"trackingId"),i=!(0,l.get)(t,"following")
|
|
this.storeShim.adapterFor("-ember-m3").ajax(...(0,d.toggleFollowWithFollowingInfoRequest)(t,"NON_SSU")).catch((e=>{if((0,r.isDestroying)(this))throw e
|
|
this.jet.logError(new Error("Failed to toggle follow - company"),p.MYNETWORK_ERROR_TAGS,!1)
|
|
throw e}));(0,m.fireFollowActionEvent)(this.tracking,n,i)}},v=(0,i.default)(w.prototype,"jet",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,i.default)(w.prototype,"storeShim",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(w.prototype,"graphql",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(w.prototype,"tracking",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(w.prototype,"isScrollDisabled",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(w.prototype,"onInfiniteScroll",[l.action],Object.getOwnPropertyDescriptor(w.prototype,"onInfiniteScroll"),w.prototype),(0,i.default)(w.prototype,"onToggleFollow",[l.action],Object.getOwnPropertyDescriptor(w.prototype,"onToggleFollow"),w.prototype),w)}))
|
|
define("mynetwork/controllers/network-manager/events",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/service","@glimmer/tracking","events-shared-v2/utils/helpers","mynetwork/controllers/network-manager/-base"],(function(e,t,n,i,o,r,a,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var u,m,d,p,f,y,h,g
|
|
e.default=(u=(0,a.inject)("locale"),m=(0,a.inject)("watchman-tracking@watchman-tracking"),d=(0,a.inject)("lix"),p=class extends c.default{get isEventsWatchmanLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.events-watchmen-monitoring")}openCreateEventModal(){this.isEventsWatchmanLixEnabled&&this.watchmanTracking.startInteraction({userJourney:"create-event",userInteraction:"view-event-form_start",groupName:"events-reliability"})
|
|
this.showCreateEventModal=!0}constructor(){super(...arguments);(0,t.default)(this,"locale",f,this);(0,t.default)(this,"watchmanTracking",y,this);(0,t.default)(this,"lix",h,this);(0,t.default)(this,"showCreateEventModal",g,this);(0,r.set)(this,"isEventCreationEnabled",(0,s.canViewerCreateAnEvent)(this.locale))}},f=(0,i.default)(p.prototype,"locale",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(p.prototype,"watchmanTracking",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(p.prototype,"lix",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(p.prototype,"showCreateEventModal",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(p.prototype,"openCreateEventModal",[r.action],Object.getOwnPropertyDescriptor(p.prototype,"openCreateEventModal"),p.prototype),p)}))
|
|
define("mynetwork/controllers/network-manager/hashtags",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@ember/object","@glimmer/tracking","@ember/service","mynetwork/utils/network-manager","mynetwork/utils/follow-util","global-utils/utils/array/push"],(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
|
|
var p,f,y,h,g,b
|
|
e.default=(p=(0,c.inject)("jet"),f=(0,c.inject)("@linkedin/ember-restli-graphql@graphql"),y=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"jet",h,this);(0,t.default)(this,"graphql",g,this);(0,t.default)(this,"isScrollDisabled",b,this);(0,n.default)(this,"start",void 0);(0,n.default)(this,"fetchEntityCount",m.FOLLOW_ENTITIES_FETCH_COUNT)}_fetchFollowedEntities(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0
|
|
const{graphql:t,jet:n}=this
|
|
return(0,m.fetchCurationHubEntities)({graphql:t,jet:n,resultType:u.ENTITY_RESULT_TYPES.HASHTAG,start:e})}onInfiniteScroll(){return this._fetchFollowedEntities(this.start).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t=((0,l.get)(e,"elements.0.items.length")?(0,l.get)(e,"elements.0.items"):(0,l.get)(e,"elements.0.results"))||[]
|
|
if(t.length){let e=(0,l.get)(this.model.hashtagsFollowed,"elements")||[]
|
|
e=(0,l.get)(e,"0.items.length")?(0,l.get)(e.firstObject,"items"):(0,l.get)(e.firstObject,"results");(0,d.pushValues)(e,t)
|
|
this.start+=this.fetchEntityCount
|
|
this.start>=this.model.hashtagsFollowedCount&&(this.isScrollDisabled=!0)}else this.isScrollDisabled=!0}))}},h=(0,i.default)(y.prototype,"jet",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(y.prototype,"graphql",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(y.prototype,"isScrollDisabled",[s.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(y.prototype,"onInfiniteScroll",[l.action],Object.getOwnPropertyDescriptor(y.prototype,"onInfiniteScroll"),y.prototype),y)}))
|
|
define("mynetwork/controllers/network-manager/people-follow",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","@ember/object","@glimmer/tracking","@ember/service","mynetwork/utils/follow-util"],(function(e,t,n,i,o,r,a,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var u,m,d,p,f,y
|
|
e.default=(u=(0,s.inject)("authentication@authenticated-user"),m=(0,s.inject)("router"),d=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",p,this);(0,t.default)(this,"router",f,this);(0,t.default)(this,"currentTab",y,this)}changeTab(e){this.router.transitionTo(c.PEOPLE_FOLLOW_ROUTE_PATH[e])}},p=(0,i.default)(d.prototype,"authenticatedUser",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.default)(d.prototype,"router",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(d.prototype,"currentTab",[l.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return c.PEOPLE_FOLLOW.FOLLOWING}}),(0,i.default)(d.prototype,"changeTab",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"changeTab"),d.prototype),d)}))
|
|
define("mynetwork/controllers/network-manager/people-follow/followers",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@ember/object","@ember/service","@glimmer/tracking","mynetwork/utils/network-manager","mynetwork/utils/follow-util","global-utils/utils/array/push"],(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
|
|
var p,f,y,h,g,b,_
|
|
e.default=(p=(0,s.inject)("jet"),f=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),y=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"jet",h,this);(0,t.default)(this,"graphql",g,this);(0,t.default)(this,"isScrollDisabled",b,this);(0,t.default)(this,"isDisplayCreatorBanner",_,this);(0,n.default)(this,"queryParams",["isDisplayCreatorBanner"]);(0,n.default)(this,"start",0)}onInfiniteScroll(){return(0,m.fetchCurationHubEntities)({graphql:this.graphql,jet:this.jet,resultType:u.ENTITY_RESULT_TYPES.PEOPLE_FOLLOWERS,start:this.start}).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t=((0,l.get)(e,"elements.0.items.length")?(0,l.get)(e,"elements.0.items"):(0,l.get)(e,"elements.0.results"))||[]
|
|
if(t.length){let e=(0,l.get)(this.model.peopleFollowers,"elements")||[]
|
|
e=(0,l.get)(e,"0.items.length")?(0,l.get)(e.firstObject,"items"):(0,l.get)(e.firstObject,"results");(0,d.pushValues)(e,t)
|
|
this.start+=m.FOLLOW_ENTITIES_FETCH_COUNT
|
|
this.start>=this.model.peopleFollowersCount&&(this.isScrollDisabled=!0)}else this.isScrollDisabled=!0}))}},h=(0,i.default)(y.prototype,"jet",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(y.prototype,"graphql",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(y.prototype,"isScrollDisabled",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=(0,i.default)(y.prototype,"isDisplayCreatorBanner",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(y.prototype,"onInfiniteScroll",[l.action],Object.getOwnPropertyDescriptor(y.prototype,"onInfiniteScroll"),y.prototype),y)}))
|
|
define("mynetwork/controllers/network-manager/people-follow/following",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/controller","@ember/object","@ember/service","@glimmer/tracking","mynetwork/utils/network-manager","mynetwork/utils/follow-util","global-utils/utils/array/push"],(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
|
|
var p,f,y,h,g,b,_,w,v,k,T
|
|
e.default=(p=(0,s.inject)("jet"),f=(0,s.inject)("global-services@store-shim"),y=(0,s.inject)("tracking"),h=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),g=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"jet",b,this);(0,t.default)(this,"storeShim",_,this);(0,t.default)(this,"tracking",w,this);(0,t.default)(this,"graphql",v,this);(0,t.default)(this,"isScrollDisabled",k,this);(0,t.default)(this,"isDisplayCreatorBanner",T,this);(0,n.default)(this,"queryParams",["isDisplayCreatorBanner"]);(0,n.default)(this,"start",0)}onInfiniteScroll(){return(0,m.fetchCurationHubEntities)({graphql:this.graphql,jet:this.jet,resultType:u.ENTITY_RESULT_TYPES.PEOPLE_FOLLOW,start:this.start}).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t=((0,l.get)(e,"elements.0.items.length")?(0,l.get)(e,"elements.0.items"):(0,l.get)(e,"elements.0.results"))||[]
|
|
if(t.length){let e=(0,l.get)(this.model.peopleFollowed,"elements")||[]
|
|
e=(0,l.get)(e,"0.items.length")?(0,l.get)(e.firstObject,"items"):(0,l.get)(e.firstObject,"results");(0,d.pushValues)(e,t)
|
|
this.start+=m.FOLLOW_ENTITIES_FETCH_COUNT
|
|
this.start>=this.model.peopleFollowedCount&&(this.isScrollDisabled=!0)}else this.isScrollDisabled=!0}))}onToggleFollow(e,t){const{storeShim:n,jet:i,tracking:o}=this;(0,m.toggleFollowHelper)({entity:e,store:n,jet:i,tracking:o,resultType:m.PEOPLE_FOLLOW.FOLLOWING,removeItemFromListAction:t})}},b=(0,i.default)(g.prototype,"jet",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(g.prototype,"storeShim",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(g.prototype,"tracking",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(g.prototype,"graphql",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,i.default)(g.prototype,"isScrollDisabled",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),T=(0,i.default)(g.prototype,"isDisplayCreatorBanner",[c.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(g.prototype,"onInfiniteScroll",[l.action],Object.getOwnPropertyDescriptor(g.prototype,"onInfiniteScroll"),g.prototype),(0,i.default)(g.prototype,"onToggleFollow",[l.action],Object.getOwnPropertyDescriptor(g.prototype,"onToggleFollow"),g.prototype),g)}))
|
|
define("mynetwork/controllers/nurture",["exports","mynetwork/controllers/index"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class n extends t.default{get nurtureTabSelected(){return"catch-up"===this.model.currentTab}}e.default=n}))
|
|
define("mynetwork/controllers/nurture/grow",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","mynetwork/controllers/index","@ember/service"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var l,s
|
|
e.default=(l=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"lix",s,this)}get isUpsellTemplateComponentV2Enabled(){return this.lix.getTreatmentIsEnabled("voyager.web.premium-upsell-template-components-v2")}},s=(0,i.default)(l.prototype,"lix",[a.inject],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),l)}))
|
|
define("mynetwork/controllers/settings/manage-syncing",["exports","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/controller","@ember/object"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var o
|
|
e.default=(o=class extends n.default{refreshRoute(){this.send("refreshManageSyncingRoute")}},(0,t.default)(o.prototype,"refreshRoute",[i.action],Object.getOwnPropertyDescriptor(o.prototype,"refreshRoute"),o.prototype),o)}))
|
|
define("mynetwork/engine",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/engine","strict-resolver"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const o=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"modulePrefix","mynetwork");(0,t.default)(this,"Resolver",i.default)}}
|
|
e.default=o}))
|
|
define.alias("ember-truth-helpers/helpers/and","mynetwork/helpers/and")
|
|
define("mynetwork/helpers/array-union",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0
|
|
if(n){const i=t.reduce(((e,t)=>{e[t.get(n)]=!0
|
|
return e}),{})
|
|
return e.filter((e=>!i[e.get(n)]))}return e.filter((e=>-1===t.indexOf(e)))}}))
|
|
define.alias("artdeco-datepicker/helpers/artdeco-adjust-date-for-timezone","mynetwork/helpers/artdeco-adjust-date-for-timezone")
|
|
define.alias("artdeco-datepicker/helpers/artdeco-is-between-dates","mynetwork/helpers/artdeco-is-between-dates")
|
|
define.alias("ember-media-player/helpers/autoplay-media","mynetwork/helpers/autoplay-media")
|
|
define.alias("artdeco-datepicker/helpers/cal-dates-equal","mynetwork/helpers/cal-dates-equal")
|
|
define.alias("ember-element-helper/helpers/element","mynetwork/helpers/element")
|
|
define.alias("ember-holy-futuristic-template-namespacing-batman/helpers/-translate-dynamic-2","mynetwork/helpers/ember-holy-futuristic-template-namespacing-batman-translate-dynamic-2")
|
|
define("mynetwork/helpers/ensure-safe-component",["exports","@embroider/util"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.EnsureSafeComponentHelper}})}))
|
|
define.alias("ember-truth-helpers/helpers/eq","mynetwork/helpers/eq")
|
|
define.alias("ember-media-player/helpers/format-autoplay","mynetwork/helpers/format-autoplay")
|
|
define.alias("ember-cli-pemberly-i18n/helpers/format-number","mynetwork/helpers/format-number")
|
|
define.alias("ember-semaphore/helpers/format-title","mynetwork/helpers/format-title")
|
|
define.alias("ember-truth-helpers/helpers/gt","mynetwork/helpers/gt")
|
|
define.alias("ember-truth-helpers/helpers/gte","mynetwork/helpers/gte")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-name","mynetwork/helpers/hue-web-artdeco-icon-migration-runtime")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-v2","mynetwork/helpers/hue-web-artdeco-li-icon-migration-runtime-v2")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-to-icon-path","mynetwork/helpers/hue-web-artdeco-li-icon-migration-runtime")
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/helpers/convert-argument","mynetwork/helpers/hue-web-artdeco-migration-runtime")
|
|
define.alias("ember-truth-helpers/helpers/is-array","mynetwork/helpers/is-array")
|
|
define.alias("ember-truth-helpers/helpers/is-empty","mynetwork/helpers/is-empty")
|
|
define.alias("ember-truth-helpers/helpers/is-equal","mynetwork/helpers/is-equal")
|
|
define.alias("artdeco-icons-web/helpers/li-icon","mynetwork/helpers/li-icon")
|
|
define.alias("ember-async-data/helpers/load","mynetwork/helpers/load")
|
|
define.alias("ember-truth-helpers/helpers/lt","mynetwork/helpers/lt")
|
|
define.alias("ember-truth-helpers/helpers/lte","mynetwork/helpers/lte")
|
|
define.alias("ember-truth-helpers/helpers/not-eq","mynetwork/helpers/not-eq")
|
|
define.alias("ember-truth-helpers/helpers/not","mynetwork/helpers/not")
|
|
define.alias("ember-truth-helpers/helpers/or","mynetwork/helpers/or")
|
|
define("mynetwork/helpers/ref-to",["exports","ember-ref-bucket/helpers/ref-to"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.defineProperty(e,"refTo",{enumerable:!0,get:function(){return t.default}})}))
|
|
define.alias("ember-route-action-helper/helpers/route-action","mynetwork/helpers/route-action")
|
|
define.alias("ember-app-scheduler/helpers/route-idle","mynetwork/helpers/route-idle")
|
|
define.alias("ember-media-player/helpers/seek-media","mynetwork/helpers/seek-media")
|
|
define.alias("ember-set-helper/helpers/set","mynetwork/helpers/set")
|
|
define("mynetwork/helpers/source-mapping",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.SOURCE_IMAGE_MAPPING=e.SOURCE_ICON_MAPPING=void 0
|
|
e.SOURCE_ICON_MAPPING={ANDROID_CALENDAR:"mobile",ANDROID_CONTACTS:"mobile",FACEBOOK:"facebook",FACEBOOK_PUBLIC:"facebook",GOOGLE_CALENDAR:"google",GOOGLE_CONTACTS:"google",GOOGLE_VOICE:"google",LINKEDIN:"linkedin",LINKEDIN_INTERNAL:"linkedin",LINKEDIN_CSV:"linkedin",OUTLOOK_CALENDAR:"outlook",OUTLOOK_CONTACTS:"outlook",OUTLOOK_CONTACTS_CSV:"outlook",OUTLOOK_CONTACTS_MAC:"outlook",OUTLOOK_MAIL:"outlook",TWITTER:"twitter",TWITTER_PUBLIC:"twitter",YAHOO_CALENDAR:"yahoo",YAHOO_CONTACTS:"yahoo",YAHOO_CONTACTS_CSV:"yahoo",YAHOO_MAIL:"yahoo",YAHOO_STITCH:"yahoo",IPHONE:"mobile",IPHONE_CALENDAR:"mobile",FILE_UPLOAD:"upload",MOBILE_CONTACTS:"mobile",EXCHANGE_CONTACTS:"outlook",AOL:"aol",HOTMAIL:"outlook",WEIBO:"weibo",MICROSOFT_STITCH:"outlook",SAMSUNG_STITCH:"mobile",MICROSOFT_GRAPH_PEOPLE:"outlook"},e.SOURCE_IMAGE_MAPPING={EVERNOTE:"evernote",MAC_ADDRESS_BOOK_VCARD:"apple",EVERNOTE_STITCH:"evernote",MICROSOFT_GRAPH_PEOPLE_ENTERPRISE:"microsoft-enterprise"}}))
|
|
define.alias("ember-cli-pemberly-i18n/helpers/t","mynetwork/helpers/t")
|
|
define.alias("ember-truth-helpers/helpers/xor","mynetwork/helpers/xor")
|
|
define.alias("ember-uuid","mynetwork/index")
|
|
define("mynetwork/initializers/coordinator-setup",["exports","mynetwork/models/coordinator"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default={name:"setup coordinator",initialize:function(){let e=arguments[1]||arguments[0]
|
|
e.register("drag:coordinator",t.default)}}}))
|
|
define("mynetwork/initializers/icons",["exports","artdeco-icons-web/src/icons","mynetwork/config/environment"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
function i(e){throw e}e.default={name:"icons",initialize:function(){const{environment:e,APP:o}=n.default
|
|
let r,a
|
|
o&&({artdecoCustomSpriteUrl:r,artdecoCustomSpriteName:a}=o)
|
|
const l="test"!==e
|
|
t.default.load(l,r,a).catch(i)}}}))
|
|
define.alias("ember-cli-pemberly-lix/initializers/lix","mynetwork/initializers/lix")
|
|
define.alias("ember-m3/initializers/m3-store","mynetwork/initializers/m3-store")
|
|
define.alias("ember-ref-bucket/instance-initializers/global-ref-cleanup","mynetwork/instance-initializers/global-ref-cleanup")
|
|
define.alias("video/instance-initializers/media-plugins","mynetwork/instance-initializers/media-plugins")
|
|
define("mynetwork/models/coordinator",["exports","@ember/object","@ember/object/evented","mynetwork/models/obj-hash","ember-drag-drop/utils/proxy-unproxy-objects"],(function(e,t,n,i,o){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default.extend(n.default,{objectMap:(0,t.computed)((function(){return i.default.create()})),getObject:function(e,t){t=t||{}
|
|
var n=this.get("objectMap").getObj(e)
|
|
if(n.ops.source&&!n.ops.source.isDestroying&&!n.ops.source.isDestroyed){const e=n.ops.source.action
|
|
"function"==typeof e&&e(n.obj)
|
|
"string"==typeof e&&"function"==typeof n.ops.source.target[e]&&n.ops.source.target[e](n.obj)}if(n.ops.target&&!n.ops.target.isDestroying&&!n.ops.target.isDestroyed){const e=n.ops.target.action
|
|
"function"==typeof e&&e(n.obj)
|
|
"string"==typeof e&&"function"==typeof n.ops.target.source[e]&&n.ops.target.source[e](n.obj)}this.trigger("objectMoved",{obj:(0,o.unwrapper)(n.obj),source:n.ops.source,target:t.target})
|
|
return(0,o.unwrapper)(n.obj)},setObject:function(e,t){t=t||{}
|
|
return this.get("objectMap").add({obj:e,ops:t})}})}))
|
|
define("mynetwork/models/obj-hash",["exports","@ember/object","@ember/object/computed","@ember/array"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default.extend({contentLength:0,length:(0,n.alias)("contentLength"),init:function(){this._super()
|
|
this.content={}},add:function(e){var t=this.generateId()
|
|
this.get("content")[t]=e
|
|
this.incrementProperty("contentLength")
|
|
return t},getObj:function(e){var t=this.get("content")[e]
|
|
if(!t)throw new Error("no obj for key "+e)
|
|
return t},generateId:function(){var e=1e12*Math.random()
|
|
return e=""+(e=parseInt(e))},keys:function(){var e=[]
|
|
for(var t in this.get("content"))e.push(t)
|
|
return(0,i.A)(e)}})}))
|
|
define.alias("artdeco-datepicker/modifiers/artdeco-calendar-click-watcher","mynetwork/modifiers/artdeco-calendar-click-watcher")
|
|
define.alias("ember-ref-bucket/modifiers/create-ref","mynetwork/modifiers/create-ref")
|
|
define.alias("ember-css-transitions/modifiers/css-transition","mynetwork/modifiers/css-transition")
|
|
define.alias("@ember/render-modifiers/modifiers/did-insert","mynetwork/modifiers/did-insert")
|
|
define.alias("ember-scroll-modifiers/modifiers/did-intersect","mynetwork/modifiers/did-intersect")
|
|
define.alias("ember-resize-modifier/modifiers/did-resize","mynetwork/modifiers/did-resize")
|
|
define.alias("@ember/render-modifiers/modifiers/did-update","mynetwork/modifiers/did-update")
|
|
define.alias("ember-finite-scroll/modifiers/ember-finite-scroll/focus","mynetwork/modifiers/ember-finite-scroll/focus")
|
|
define.alias("image-editor/modifiers/fabric","mynetwork/modifiers/fabric")
|
|
define.alias("ember-prop-modifier","mynetwork/modifiers/prop")
|
|
define.alias("ember-scroll-modifiers/modifiers/scroll-into-view","mynetwork/modifiers/scroll-into-view")
|
|
define.alias("ember-sortable/modifiers/sortable-group","mynetwork/modifiers/sortable-group")
|
|
define.alias("ember-sortable/modifiers/sortable-handle","mynetwork/modifiers/sortable-handle")
|
|
define.alias("ember-sortable/modifiers/sortable-item","mynetwork/modifiers/sortable-item")
|
|
define.alias("@ember/render-modifiers/modifiers/will-destroy","mynetwork/modifiers/will-destroy")
|
|
define.alias("ember-cloud-filepicker/providers/base-provider","mynetwork/providers/base-provider")
|
|
define.alias("ember-cloud-filepicker/providers/dropbox-provider","mynetwork/providers/dropbox-provider")
|
|
define.alias("ember-cloud-filepicker/providers/onedrive-provider","mynetwork/providers/onedrive-provider")
|
|
define("mynetwork/providers/slideshare-provider",["exports","ember-cloud-filepicker/providers/slideshare-provider"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("mynetwork/requests/delete-dash-connection",["exports","voyager-web/config/environment","global-utils/utils/url"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=function(e){const i=`/${t.default.namespace}/relationships/dash/connections`
|
|
return[(0,n.addQueryParam)(i,"action","removeFromMyConnections"),"POST",{data:{connectedMember:e}}]}}))
|
|
define("mynetwork/requests/managed-contacts",["exports","@ember/debug","voyager-web/config/environment","global-utils/utils/url"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.deleteContacts=function(e,t){const{origin:o,keys:r}=t
|
|
return[(0,i.addQueryParam)(`/${n.default.namespace}/growth/managedContacts`,"action",e),"POST",{data:t}]}}))
|
|
define("mynetwork/requests/mynetwork-notification",["exports","@ember/debug","voyager-web/config/environment","@ember/object"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.buildItemsAsSeenByTypeAndTime=function(e,t){const n={data:{until:(0,i.get)(e,"latestPublishedAt"),types:[t]}}
|
|
return[o("markAllItemsAsSeenByTypesAndTimestamp"),"POST",n]}
|
|
e.createMyNetworkNotificationRequest=function(){let e=!(arguments.length>0&&void 0!==arguments[0])||arguments[0]
|
|
const t={reload:e,method:"GET",cacheKey:"relationships/myNetworkNotifications"}
|
|
return[o(),t]}
|
|
function o(e){const t=`/${n.default.namespace}/relationships/myNetworkNotifications`
|
|
return e?`${t}?action=${e}`:t}}))
|
|
define("mynetwork/requests/social-proof",["exports","voyager-web/config/environment","global-utils/utils/url"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.createSocialProofRequest=function(e,i){let o=`/${t.default.namespace}/growth/socialproofs/`
|
|
const r={size:e,type:i,q:"socialProofType"}
|
|
o=(0,n.addQueryParams)(o,r)
|
|
return["com.linkedin.voyager.growth.socialProof.SocialProof","GET",{reload:!0,adapterOptions:{url:o}}]}}))
|
|
define("mynetwork/routes/add-connections",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","@ember/object","rsvp","discover-utils/utils/discover-util","mynetwork/utils/constants-common"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h
|
|
e.default=(d=(0,a.inject)("jet"),p=(0,a.inject)("global-services@store-shim"),f=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"jet",y,this);(0,t.default)(this,"storeShim",h,this);(0,n.default)(this,"pageKey","flagship3_people_add_connections")}model(){if((0,r.isDestroying)(this))return
|
|
const{jet:e,storeShim:t}=this,n={sourceType:"PYMK_ENTITY",reasonContext:"PYMK_ENTITY"},i=u.default.getAllRecommendationsByReasons({store:t,jet:e,reasons:[n],start:0,count:4})
|
|
return(0,c.hash)({cohortRecommendationsReason:n,pymkEntities:i}).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t={}
|
|
null===e.pymkEntities?(0,s.setProperties)(t,{isPymkRecommendationsFailure:!0,recommendationError:m.ERROR_STATE_TYPES.RECOMMENDATION}):(0,s.setProperties)(t,{pymkEntities:(0,s.get)(e.pymkEntities,"elements"),pymkPaginationToken:(0,s.get)(e,"pymkEntities.metadata.paginationToken"),prefetchedEntitiesCount:4})
|
|
return Object.assign(e,t)}))}},y=(0,i.default)(f.prototype,"jet",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(f.prototype,"storeShim",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
|
|
define("mynetwork/routes/aggregated-social-hiring",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","@ember/destroyable","props-shared/utils/requests","@ember/service","rsvp","global-utils/utils/logger","@linkedin/ember-restli-graphql","props-shared/utils/constants"],(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
|
|
var p,f,y,h,g
|
|
e.default=(p=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),f=(0,s.inject)("jet"),y=class extends r.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_grouped_hiring_cards");(0,n.default)(this,"queryParams",{groupByUrn:{refreshModel:!0},contentType:{refreshModel:!0}});(0,t.default)(this,"graphql",h,this);(0,t.default)(this,"jet",g,this)}model(e){let{groupByUrn:t,contentType:n}=e
|
|
if(!(0,a.isDestroying)(this))return t&&n?(0,l.getPropsCardsByGroupedByUrn)(this.graphql,{groupByUrn:t,contentType:n}).catch((e=>{if((0,a.isDestroying)(this))throw e
|
|
e&&(e.isAdapterError||e instanceof m.GraphQLQueryError)&&(0,u.errorLogger)(this.jet,"Error fetching grouped cards entities on aggregate-landing",e,[d.NURTURE_JET_TAGS.AGGREGATED_SOCIAL_HIRING])
|
|
throw e})):(0,c.reject)(new Error("Required params groupByUrn and contentType not found"))}},h=(0,i.default)(y.prototype,"graphql",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(y.prototype,"jet",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y)}))
|
|
define("mynetwork/routes/application",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/routing/route"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends n.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_people")}}e.default=i}))
|
|
define("mynetwork/routes/contacts",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/service","@ember/routing/route"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var l,s,c
|
|
e.default=(l=(0,r.inject)("router"),s=class extends a.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people_contacts");(0,t.default)(this,"router",c,this)}beforeModel(){this.router.transitionTo("abi.saved-contacts")}},c=(0,i.default)(s.prototype,"router",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)}))
|
|
define("mynetwork/routes/discover-hub",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","rsvp","@ember/routing/route","discover-utils/utils/discover-util","mynetwork/utils/discovery-util","ember-app-scheduler","discover-utils/utils/constants","abi-shared/requests/curated-contacts-request"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var y,h,g,b,_,w,v
|
|
e.default=(y=(0,a.inject)("jet"),h=(0,a.inject)("global-services@store-shim"),g=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),b=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"jet",_,this);(0,t.default)(this,"storeShim",w,this);(0,t.default)(this,"graphql",v,this);(0,n.default)(this,"pageKey","flagship3_discover_hub")}model(e,t){if((0,r.isDestroying)(this))return
|
|
const{jet:n,storeShim:i,graphql:o}=this,a=t.to?t.to.queryParams:{},{useCase:c}=a,d={myNetworkSummary:m.default.getMyNetworkSummary({jet:n,graphql:o}),savedContactsSummary:(0,f.getContactsCountSummary)(n,o),discoveryCohorts:u.default.getCohorts({store:i,jet:n,useCase:c,numCards:p.COHORT_CARDS_COUNT.DEFAULT,q:c?"useCase":"discoveryHub"})}
|
|
return(0,s.hash)(d).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t={},n=((0,l.get)(e,"myNetworkSummary.metadata.primaryFilterCluster.primaryFilters.firstObject.primaryFilterValues")||[]).reduce(((e,t)=>({...e,[(0,l.get)(t,"value")]:(0,l.get)(t,"count")??0})),{});(0,l.setProperties)(t,{connectionsCount:n.CONNECTIONS??0,eventsCount:n.EVENTS??0,groupsCount:n.GROUPS??0,hashtagCount:n.HASHTAG??0,newslettersCount:n.CONTENT_SERIES??0,pagesCount:n.PAGES??0,peopleFollowCount:n.PEOPLE_FOLLOW??0,discoveryCohorts:(0,l.get)(e,"discoveryCohorts.elements"),paginationToken:(0,l.get)(e,"discoveryCohorts.metadata.paginationToken"),savedContactsCount:(0,l.get)(e.savedContactsSummary,"paging.total")||0,isReadyToRenderSummary:!0})
|
|
return t}))}afterModel(e){(0,r.isDestroying)(this)||(0,d.whenRouteIdle)().then((()=>{this.isDestroying||(0,l.set)(e,"isContentPaintDone",!0)}))}},_=(0,i.default)(b.prototype,"jet",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(b.prototype,"storeShim",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(b.prototype,"graphql",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b)}))
|
|
define("mynetwork/routes/discovery-see-all",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service","@ember/object","rsvp","global-utils/utils/html-safe","discover-utils/utils/discover-util","global-utils/utils/urn-converter","discover-utils/utils/constants","data-layer/utils/profile/get-profile","tracked-built-ins"],(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,v,k,T,I,E,O,C,P,S,N,R,A,D,M,x
|
|
const j="mynetwork@discovery-see-all",L=4,F=3,z=["FOLLOW_MIXED_COHORT","FOLLOW_MIXED_COHORT_EMAIL_DISCOVERY_HUB","IM_PROFILE_MIXED_COHORT","IM_FOLLOWS_PROFILE_MIXED","RECENT_CONNECTION_PAGES_SUGGESTION_MIXED","EMAIL_MIXED_RECOMMENDATIONS"],U="i18n_generic_recommendations",H="i18n_mixed_recommendations_email",V="i18n_online_events",W="i18n_pages_by_company",q="i18n_pymk_by_company",Y="i18n_pymk_by_connection"
|
|
function B(e){return e.replace("List(","").replace(")","").split(",")}e.default=(g=(0,s.inject)("client-sensor-web@client-sensor"),b=(0,s.inject)("i18n"),_=(0,s.inject)("jet"),w=(0,s.inject)("global-services@store-shim"),v=(0,s.inject)("profile-services@identity-store"),k=(0,s.inject)("tracking"),T=(0,s.inject)("persistent-toast-manager@persistent-toast-manager"),I=(A=new WeakSet,D=new WeakSet,M=new WeakSet,x=new WeakSet,class extends l.default{constructor(){super(...arguments)
|
|
x.add(this)
|
|
M.add(this)
|
|
D.add(this)
|
|
A.add(this);(0,t.default)(this,"clientSensor",E,this);(0,t.default)(this,"i18n",O,this);(0,t.default)(this,"jet",C,this);(0,t.default)(this,"storeShim",P,this);(0,t.default)(this,"identityStore",S,this);(0,t.default)(this,"tracking",N,this);(0,t.default)(this,"persistentToastManager",R,this);(0,n.default)(this,"pageKey","flagship3_people_cohorts_see_all");(0,n.default)(this,"queryParams",{legoTrackingToken:{replace:!0}})}model(e,t){var n
|
|
if((0,a.isDestroying)(this))return
|
|
const{jet:o,storeShim:r}=this,l=(null===(n=t.to)||void 0===n?void 0:n.queryParams)||{},{contextUrns:s,reasons:p,usecase:f,followMember:y}=l,g={},b={}
|
|
let _,w={}
|
|
if(p||f){let e,t
|
|
if(f){t=p?B(p):null
|
|
_=s?B(s):null
|
|
e="EMAIL_EVENTS_SUGGESTION"===f||"FEED_EVENTS_SUGGESTION"===f?F:L
|
|
g.recommendationsByReason=d.default.getAllRecommendationsByUseCase({store:r,jet:o,contextUrns:_,count:e,reasonObjects:t?t[0]:null,useCase:f})
|
|
w=(0,u.hash)(g).then((async e=>{if((0,a.isDestroying)(this))return
|
|
const n=new h.TrackedArray((0,c.get)(e,"recommendationsByReason.elements")??[]),o=(0,c.get)(e,"recommendationsByReason.metadata.cohortTitle.text"),r=(0,c.get)(e,"followedEntity")
|
|
r&&(0,i.default)(this,A,G).call(this,r,n);(0,c.setProperties)(b,{displayReason:o,entities:n,paginationToken:(0,c.get)(e,"recommendationsByReason.metadata.paginationToken"),contextUrns:_,reasons:t,useCase:f,useSmallCardLayout:z.includes(f)})
|
|
if(y){const e=await(0,i.default)(this,D,K).call(this,y)
|
|
if((0,a.isDestroying)(this))return;(0,c.setProperties)(b,{followMemberProfile:e})}return b}))}else{t=function(e){const t={}
|
|
e.replace("List((","").replace("))","").split(",").forEach((e=>{const n=e.replace("List(","").replace(")","").split(":")
|
|
if("reasonObjects"===n[0]){const i=e.replace("reasonObjects:List(","").replace(")","")
|
|
t[n[0]]=i.length>0?[i]:[]}else{const[e,i]=n
|
|
t[e]=i}}))
|
|
return t}(p)
|
|
s&&(_=B(s))
|
|
e="EVENT_COHORT"===t.sourceType?F:L
|
|
g.recommendationsByReason=d.default.getAllRecommendationsByReasons({store:r,jet:o,contextUrns:_,count:e,reasons:[t],start:0})
|
|
w=(0,u.hash)(g).then((n=>{if((0,a.isDestroying)(this))return
|
|
const o=(0,m.default)(this.i18n.lookupTranslation(j,function(e){let t
|
|
switch(e.sourceType){case"COMPANY_COHORT":t=W
|
|
break
|
|
case"PYMK_SPECIFIC_COMPANY_COHORT":t=q
|
|
break
|
|
case"PYMK_VIEWING_ENTITY_CONNECTIONS":t=Y
|
|
break
|
|
case"EVENT_COHORT":t=V
|
|
break
|
|
case"FOLLOW_MIXED_COHORT_EMAIL_DISCOVERY_HUB":t=H
|
|
break
|
|
default:t=U}return t}(t))()),r=[...(0,c.get)(n,"recommendationsByReason.elements")??[]],l=(0,c.get)(n,"followedEntity"),s=(0,i.default)(this,M,$).call(this,t)
|
|
s&&(0,i.default)(this,x,Q).call(this,r,s)
|
|
l&&(0,i.default)(this,A,G).call(this,l,r);(0,c.setProperties)(b,{displayReason:o,entities:r,paginationToken:(0,c.get)(n,"recommendationsByReason.metadata.paginationToken"),contextUrns:_,prefetchedEntitiesCount:e,reasons:t,useSmallCardLayout:z.includes(t.sourceType)})
|
|
return b}))}}return w}}),E=(0,o.default)(I.prototype,"clientSensor",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,o.default)(I.prototype,"i18n",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,o.default)(I.prototype,"jet",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,o.default)(I.prototype,"storeShim",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,o.default)(I.prototype,"identityStore",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,o.default)(I.prototype,"tracking",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,o.default)(I.prototype,"persistentToastManager",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I)
|
|
function G(e,t){t.unshift(e)
|
|
const n=`d_mynetwork_cohort_${f.SECTION_DETAIL[(0,c.get)(e,"type")]}`
|
|
d.default.fireDiscoveryActionFunnelEvent(this.tracking,e,f.DISCOVERY_ACTION_TYPES.CLICK_CTA,n)}function K(e){return(0,y.getProfileById)(this.storeShim,e,"com.linkedin.voyager.dash.deco.identity.profile.MiniProfile").then((async e=>{if((0,a.isDestroying)(this))return
|
|
if(0===Object.keys(e).length){const e=this.i18n.lookupTranslation(j,"i18n_invalid_vanity_name")()
|
|
this.persistentToastManager.error({message:e})
|
|
return null}const t=e,n=(0,p.fromUrn)((0,c.get)(t,"entityUrn")).id,i=await this.identityStore.queryURL("com.linkedin.voyager.identity.profile.ProfileNetworkInfo",n,{params:{shouldIncludeFollowingCount:!0},reload:!0})
|
|
if((0,a.isDestroying)(this))return
|
|
return{miniProfile:e,followingInfo:(0,c.get)(i,"followingInfo")}}))}function $(e){let t=""
|
|
const{sourceType:n,reasonContext:i}=e
|
|
"PYMK_INDUSTRY_COHORT"===n&&"INDUSTRY"===i?t="pymk-industry-cohort":"COMPANY_COHORT"===n&&"INDUSTRY"===i&&(t="company-cohort-based-on-industry")
|
|
return t}function Q(e,t){const n=e.length
|
|
let i=`${t}-has-recommendations`
|
|
0===n?i=`${t}-has-no-recommendation`:n<L&&(i=`${t}-has-less-than-four-recommendations`)
|
|
this.clientSensor.incrementMetricCounter({metricName:i,groupName:f.CLIENT_SENSOR_GROUP_MYNETWORK})}}))
|
|
define("mynetwork/routes/fetch",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","@ember/service"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var l,s,c
|
|
e.default=(l=(0,a.inject)("router"),s=class extends r.default{constructor(e){super(e);(0,t.default)(this,"router",c,this)
|
|
this.router.transitionTo("abi.intro")}},c=(0,i.default)(s.prototype,"router",[l],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)}))
|
|
define("mynetwork/routes/heathrow-redirect-common",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","@ember/routing/route","abi-shared/utils/constants-base","heathrow/utils/constants","mynetwork-shared/utils/constants","mynetwork/utils/connection-util","rsvp","mynetwork/utils/heathrow-organization-util","mynetwork/utils/mynetwork-request"],(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,v,k,T,I,E,O
|
|
e.default=(h=(0,a.inject)("abi-shared@abi-tracking"),g=(0,a.inject)("heathrow@heathrow"),b=(0,a.inject)("jet"),_=(0,a.inject)("global-services@store-shim"),w=(0,a.inject)("router"),v=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"abiTracking",k,this);(0,t.default)(this,"heathrow",T,this);(0,t.default)(this,"jet",I,this);(0,t.default)(this,"storeShim",E,this);(0,t.default)(this,"router",O,this);(0,n.default)(this,"pageKey","flagship3_people_heathrow_redirect")}beforeModel(e){const t=e.to?e.to.queryParams:{}
|
|
this.origin=this._getValidOrigin(t.origin)
|
|
const n=t.isSendInvite?"CONNECT":"ACCEPT_INVITATION",i=t.userActionType||n,o=t.allowedRoutes??t.whitelistedRoutes,a=o?o.split(","):[],{actor:l,invitationId:s}=t
|
|
this.heathrow.getSuggestedRoute(this.origin,i,a,l,s).then((e=>this._transitionToHeathrowRoute(e,t))).catch((e=>{if((0,r.isDestroying)(this))throw e
|
|
this.jet.logError(e,m.MYNETWORK_ERROR_TAGS,!1)
|
|
this._transitionToHeathrowRoute({route:null},t)}))}_transitionToHeathrowRoute(e,t){const{route:n}=e,i=u.HEATHROW_ROUTE_MAP_TETRIS[n],{vanityName:o,isSendInvite:r,isAcceptInvite:a,inviteActionFailed:l,knownError:s,isFollow:c}=t
|
|
e.confirmationModal&&this._handleNextBestActionModal(e)
|
|
const m={newHeathrowRedirect:!0}
|
|
o&&(m.member=o)
|
|
r&&(m.isSendInvite=r)
|
|
a&&(m.isAcceptInvite=a)
|
|
l&&(m.inviteActionFailed=l)
|
|
s&&(m.knownError=s)
|
|
c&&(m.isFollow=c)
|
|
const d={queryParams:m}
|
|
if(!e.forwardingUrl||!this._handleCustomRouteTransition(e))switch(n){case u.HEATHROW_ROUTES.ABI_SPLASH:d.queryParams.transactionId=this.abiTracking.fireAbiEntryTracking(this._getAbiEntryPoint(r,a),n)
|
|
this.replaceWithExternal(i,d)
|
|
break
|
|
case u.HEATHROW_ROUTES.ABI_RESULTS_LANDING:"EMAIL"!==this.origin&&(d.queryParams.isOrganic=!0)
|
|
d.queryParams.isOrganic=!0
|
|
d.queryParams.transactionId=this.abiTracking.fireAbiEntryTracking(this._getAbiEntryPoint(r,a),n)
|
|
this.replaceWithExternal(i,d)
|
|
break
|
|
case u.HEATHROW_ROUTES.FEED:this.replaceWithExternal(i,d)
|
|
break
|
|
case u.HEATHROW_ROUTES.FOLLOW_HUB:this.replaceWithExternal(i,{queryParams:{followedMember:o,isAcceptInvite:a,isSendInvite:r,inviteActionFailed:l}})
|
|
break
|
|
case u.HEATHROW_ROUTES.PROFILE_PHOTO_UPLOAD:this._handleProfilePhotoUploadRoute?this._handleProfilePhotoUploadRoute(d):this.router.replaceWith(i,o,d)
|
|
break
|
|
case u.HEATHROW_ROUTES.ENTITY_ACTIVITY_FEED:this.replaceWithExternal(i,o,d)
|
|
break
|
|
case u.HEATHROW_ROUTES.GET_THE_APP:d.queryParams.showGetTheAppOverlay=!l
|
|
this.router.transitionTo(i,d)
|
|
break
|
|
case u.HEATHROW_ROUTES.PYMK:default:this._goToHeathrowPymkLanding(a,r,o,d)}}_handleNextBestActionModal(e){this.heathrow.nextBestActionModalData=e.confirmationModal
|
|
this.heathrow.openNextBestActionModal()}_handleCustomRouteTransition(){const e=new URL((arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).forwardingUrl)
|
|
if(this.router.recognize(e.pathname)){this.replaceWithExternal(`${e.pathname}${e.search}`)
|
|
return!0}return!1}_goToHeathrowPymkLanding(e,t,n,i){return t?n?this.router.replaceWith("mynetwork.invite-sent",n,i):this.router.replaceWith("mynetwork.add-connections",i):e&&n?this._getInviteAcceptRedirect(n,i):this.router.replaceWith("mynetwork.index",i)}_getAbiEntryPoint(e,t){return t&&this.origin===c.INVITATION_ORIGIN.PROFILE?c.ABI_ENTRY_POINT.PROFILE:e?c.ABI_ENTRY_POINT.INVITATION_SENT:c.ABI_ENTRY_POINT.EMAIL_ACCEPT}_getValidOrigin(e){return e&&"null"!==e?e:c.INVITATION_ORIGIN.EMAIL}_getInviteAcceptRedirect(e,t){const{jet:n,storeShim:i}=this,o={profile:y.default.getNormalizedProfileByVanityName(i,{jet:n,vanityName:e,recipe:"com.linkedin.voyager.deco.identity.normalizedprofile.shared.WebHeathrowOrganizationProfile"}),connectionsSummary:(0,d.getConnectionsSummary)(i,{jet:n})}
|
|
return(0,p.hash)(o).then((n=>{if((0,r.isDestroying)(this))return
|
|
const i=(0,l.get)(n,"connectionsSummary")
|
|
return(0,f.default)((0,l.get)(n,"profile"))&&i>=100?this.router.replaceWith("mynetwork.invite-accepted",e,t):this.router.replaceWith("mynetwork.index",t)}))}},k=(0,i.default)(v.prototype,"abiTracking",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(v.prototype,"heathrow",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(v.prototype,"jet",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(v.prototype,"storeShim",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(v.prototype,"router",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v)}))
|
|
define("mynetwork/routes/heathrow-redirect",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","global-helpers/helpers/name","mynetwork/routes/heathrow-redirect-common","@ember/object","data-layer/utils/profile/get-profile","mynetwork/components/heathrow-toast"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h,g,b,_,w
|
|
e.default=(d=(0,a.inject)("authentication@authenticated-user"),p=(0,a.inject)("i18n"),f=(0,a.inject)("global-services@local-storage"),y=(0,a.inject)("persistent-toast-manager@persistent-toast-manager"),h=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"authenticatedUser",g,this);(0,t.default)(this,"i18n",b,this);(0,t.default)(this,"localStorage",_,this);(0,t.default)(this,"persistentToastManager",w,this)}_showSuccessToast(e){(0,u.getProfileById)(this.storeShim,e.queryParams.member,"com.linkedin.voyager.dash.deco.identity.profile.MiniProfile").then((t=>{if(!(0,r.isDestroying)(this)&&t){const n=e.queryParams.isSendInvite?"i18n_invitation_sent":"i18n_invitation_accepted",i=this.i18n.lookupTranslation(m.default,n)([{member:(0,l.getName)(t)}])
|
|
this.persistentToastManager.success({message:i})}}))}_handleProfilePhotoUploadRoute(e){const{localStorage:t}=this,n=(0,c.get)(this,"authenticatedUser.miniProfile.publicIdentifier")
|
|
this._showSuccessToast(e)
|
|
const i=e.queryParams.isSendInvite?"send":"accept"
|
|
Object.assign(e.queryParams,{contextType:"MY_NETWORK",action:i})
|
|
if(t&&t.cacheAvailable){const e=(new Date).getTime()
|
|
t.setKeyedObjectValue("heathrowPhotoTimestamp",0,{lastSeen:e})}this.replaceWithExternal("profile-ge.category.task",n,"add-photo","photo",e)}},g=(0,i.default)(h.prototype,"authenticatedUser",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(h.prototype,"i18n",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(h.prototype,"localStorage",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(h.prototype,"persistentToastManager",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h)}))
|
|
define("mynetwork/routes/index-common",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","@ember/object","email-confirmation/utils/email-confirmation-helpers","mynetwork/utils/mynetwork-notifications"],(function(e,t,n,i,o,r,a,l,s,c,u){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var m,d,p,f,y,h,g,b,_,w,v
|
|
const k="mynetwork",T=Object.freeze({refreshModel:!1}),I=Object.freeze({refreshModel:!0,replace:!0})
|
|
e.default=(m=(0,a.inject)("authentication@authenticated-user"),d=(0,a.inject)("global-nav-shared@badge"),p=(0,a.inject)("lix"),f=(0,a.inject)("global-services@local-storage"),y=(0,a.inject)("global-services@store-shim"),h=class extends l.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people");(0,t.default)(this,"authenticatedUser",g,this);(0,t.default)(this,"badgeService",b,this);(0,t.default)(this,"lix",_,this);(0,t.default)(this,"localStorage",w,this);(0,t.default)(this,"storeShim",v,this);(0,n.default)(this,"queryParams",{acceptedFrom:T,trk:T,action:I,companyUrn:I})
|
|
this.myNetworkNotificationsUtil=new u.default(this.storeShim)}afterModel(){if((0,r.isDestroying)(this))return
|
|
const{localStorage:e}=this,t=(new Date).getTime()
|
|
if(e.cacheAvailable){const n=this.authenticatedUser.memberId
|
|
e.setKeyedObjectValue("connectedTimestamp",n,{_t:t})}if(!this.isBadgeCountIncremented){const e=this.badgeService.getBadgeCount("mynetwork");(0,s.set)(this,"isBadgeCountIncremented",e>0)}}resetController(e,t){super.resetController(...arguments)
|
|
if(t){const t=new c.ModalConfig(null,!1)
|
|
e.setProperties(Object.assign(t,{action:void 0,companyUrn:void 0}))}}willTransition(){this.invitationCache=[]
|
|
this.myNetworkNotificationsUtil.unloadNotificationRecords()
|
|
this.isBadgeCountIncremented&&this.myNetworkNotificationsUtil.markAllNotificationAsRead()
|
|
this.badgeService.clearBadge(k)
|
|
return!0}didTransition(){const{badgeService:e}=this
|
|
if(!this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-mojo-tabbed-experience")){e.clearBadge(k)
|
|
e.markAllItemsAsSeen({badgeName:k})}return!0}refreshRoute(){this.refresh()}onMarkAllInvitationAcceptanceNotificationsAsRead(){this.myNetworkNotificationsUtil.markAllInvitationAcceptanceNotificationsAsRead()}},g=(0,i.default)(h.prototype,"authenticatedUser",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(h.prototype,"badgeService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(h.prototype,"lix",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(h.prototype,"localStorage",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(h.prototype,"storeShim",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(h.prototype,"willTransition",[s.action],Object.getOwnPropertyDescriptor(h.prototype,"willTransition"),h.prototype),(0,i.default)(h.prototype,"didTransition",[s.action],Object.getOwnPropertyDescriptor(h.prototype,"didTransition"),h.prototype),(0,i.default)(h.prototype,"refreshRoute",[s.action],Object.getOwnPropertyDescriptor(h.prototype,"refreshRoute"),h.prototype),(0,i.default)(h.prototype,"onMarkAllInvitationAcceptanceNotificationsAsRead",[s.action],Object.getOwnPropertyDescriptor(h.prototype,"onMarkAllInvitationAcceptanceNotificationsAsRead"),h.prototype),h)}))
|
|
define("mynetwork/routes/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","rsvp","@ember/object","@ember/utils","mynetwork/routes/index-common","mynetwork/utils/badge-issue-tracker","mynetwork/utils/mynetwork-notifications","@linkedin/abi-js/src/index","@linkedin/ember-pem/utils/degradation-tracking-metadata","global-utils/utils/is-browser","mynetwork/utils/dedup-invites","mynetwork/utils/mynetwork-request","discover-utils/utils/constants","discover-utils/utils/discover-util","mynetwork/utils/discovery-util","mynetwork/utils/gdpr-notice","mynetwork/utils/suggestions-storage-util","mynetwork-shared/utils/constants","ember-app-scheduler","data-layer/m3-configs/jobs/jobs-home-prefetch-config","abi-shared/requests/curated-contacts-request","mynetwork/utils/invitation-util","mynetwork/utils/ignored-invitations-util","s-upsell/utils/upsell-card-dash-helpers","voyager-web/config/environment","global-utils/utils/urn-id-helpers","abi-shared/utils/constants-base","gdpr-notice/utils/notice-constants","mynetwork/utils/constants-common","invitation-platform/utils/constants","mynetwork/utils/constants","mynetwork/utils/entity-invitee-suggestions-manager","invitation-platform/utils/pem-tracking","data-layer/utils/profile/get-profile","tracked-built-ins","global-utils/utils/array/push","trust/data/verification-entry-point-action","trust/utils/verifications/constants"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b,_,w,v,k,T,I,E,O,C,P,S,N,R,A,D,M,x,j,L,F,z,U,H,V,W,q){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var Y,B,G,K,$,Q,Z,X,J,ee,te,ne,ie,oe,re,ae,le,se,ce,ue,me,de,pe,fe,ye,he,ge,be,_e,we,ve,ke,Te,Ie,Ee,Oe,Ce,Pe,Se,Ne
|
|
const{ABI_ENTRY_POINT:Re,STORAGE_KEY_ABI_FORM_DISMISSED:Ae}=D.default,{CONNECTION_CONNECTIONS:De,OPT_OUT_NOTIFICATION:{OPT_OUT_NOTIFICATION_EMAIL_TRK:Me},SESSION_REPLAY:xe}=L.default,je="badgeCountChanged",Le="mynetwork@index",Fe="i18n_opt_out_success",{ACCEPT_CONNECTION_INVITATION:ze,ATTEND_EVENT:Ue,FOLLOW_COMPANY:He}=x.HEADS_UP_SCENARIOS,{CONNECTION:Ve,EVENT:We,ORGANIZATION:qe}=j.INVITATION_TYPES
|
|
e.default=(Y=(0,l.inject)("client-sensor-web@client-sensor"),B=(0,l.inject)("global-nav-shared@badge"),G=(0,l.inject)("gdpr-notice@gdpr-notice"),K=(0,l.inject)("i18n"),$=(0,l.inject)("invitation-platform@invitation-platform"),Q=(0,l.inject)("jet"),Z=(0,l.inject)("lix"),X=(0,l.inject)("formatter"),J=(0,l.inject)("global-services@local-storage"),ee=(0,l.inject)("persistent-toast-manager@persistent-toast-manager"),te=(0,l.inject)("global-services@store-shim"),ne=(0,l.inject)("tracking"),ie=(0,l.inject)("prefetch"),oe=(0,l.inject)("ember-session-record@scheduled-session-recorder"),re=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),ae=(0,l.inject)("pem-tracking"),le=(0,l.inject)("router"),se=(Oe=new WeakSet,Ce=new WeakSet,Pe=new WeakSet,Se=new WeakSet,Ne=new WeakSet,class extends m.default{get isPemSessionReplayIntegrationEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.session-replay-implement-pem-session-replay-integration")}get isFetchDiscoverySectionsCohortAndPymkEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-discovery-sections-cohort-and-pymk")}get isNurtureTabEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-mojo-tabbed-experience")}get discoverySectionsFetchCount(){let e=0
|
|
if(this.isFetchDiscoverySectionsCohortAndPymkEnabled){const t=this.lix.getTreatment("voyager.web.mynetwork-discovery-sections-cohort-and-pymk")
|
|
e=parseInt(t.split("_")[1],10)}return e}constructor(){super(...arguments)
|
|
Ne.add(this)
|
|
Se.add(this)
|
|
Pe.add(this)
|
|
Ce.add(this)
|
|
Oe.add(this);(0,t.default)(this,"clientSensor",ce,this);(0,t.default)(this,"badgeService",ue,this);(0,t.default)(this,"gdprNotice",me,this);(0,t.default)(this,"i18n",de,this);(0,t.default)(this,"invitationPlatform",pe,this);(0,t.default)(this,"jet",fe,this);(0,t.default)(this,"lix",ye,this);(0,t.default)(this,"formatter",he,this);(0,t.default)(this,"localStorage",ge,this);(0,t.default)(this,"persistentToastManager",be,this);(0,t.default)(this,"storeShim",_e,this);(0,t.default)(this,"tracking",we,this);(0,t.default)(this,"prefetch",ve,this);(0,t.default)(this,"sessionRecorder",ke,this);(0,t.default)(this,"graphql",Te,this);(0,t.default)(this,"pemTracking",Ie,this);(0,t.default)(this,"router",Ee,this);(0,n.default)(this,"isRestrictable",!1);(0,n.default)(this,"emptyState",!1);(0,n.default)(this,"start",0);(0,n.default)(this,"isConnectHub",!0);(0,n.default)(this,"showConfirmationModalOnRender",!1);(0,n.default)(this,"shouldShowAcceptReplayNotification",!1);(0,n.default)(this,"didFetchVerificationCard",!1)
|
|
this.myNetworkNotificationsUtil=new p.default(this.storeShim);(0,c.setProperties)(this,{biteSizeDismissPeriod:90,currentDiscoveryCohorts:new H.TrackedArray([]),maxInvitationsPreview:3})}beforeModel(e){super.beforeModel(...arguments)
|
|
if(this.isNurtureTabEnabled){const e=this.badgeService.getBadgeCount("mynetwork"),t=this.badgeService.getBadgeCount("nurture")
|
|
t>0&&e-t==0?this.router.transitionTo("mynetwork.nurture.catch-up.index","catch-up","all"):this.router.transitionTo("mynetwork.nurture.grow","grow")}this.prefetch.prefetchData((0,O.jobsPrefetchConfig)(this.localStorage,e,this.lix),"network-jobs")
|
|
this.isPemSessionReplayIntegrationEnabled&&this.pemTracking.initSessionRecorder()}_formatInvitationsForPreview(e){return e.slice(0,3)}_checkForSuggestions(){const[e,t]=T.default.readFromStorage()
|
|
if(e&&t){const n=this.storeShim.peekRecord("com.linkedin.voyager.dash.deco.identity.profile.MiniProfile",e)
|
|
t===De&&this._fetchConnectionConnections(n)}}_showAcceptReplayNotification(){const e=this.i18n.lookupTranslation(Le,Fe)()
|
|
this.persistentToastManager.success({message:e})}_fetchConnectionConnections(e){const{jet:t,storeShim:n}=this,i=(0,c.get)(e||{},"entityUrn")
|
|
if(!i)return
|
|
const o={sourceType:"PYMK_VIEWING_ENTITY_CONNECTIONS",reasonContext:"VIEWING_ENTITY_CONNECTIONS",reasonObjects:[i.replace("fs_miniProfile","fsd_profile")]},r={degradations:[new y.default(I.FEATURE_KEY.CONNECTION_CONNECTIONS,I.DEGRADATION_KEY.MISSING_PYMK,{productName:I.PEM_PRODUCT_NAMES.VOYAGER_MY_NETWORK,enableSessionRecording:this.isPemSessionReplayIntegrationEnabled})],degradedEntityIDsToRemove:[]}
|
|
w.default.getAllRecommendationsByReasons({adapterOptions:r,jet:t,store:n,count:12,reasons:[o],start:0}).then((t=>{if((0,a.isDestroying)(this))return
|
|
const n=(0,c.get)(t,"elements")||[]
|
|
n.length>0&&(0,c.setProperties)(this.currentModel,{connectionConnectionsDismissed:!1,newConnectionsMiniProfile:e,connectionConnections:n})}))}_displayBiteSize(e){try{const{localStorage:t}=this,n=864e5*this.biteSizeDismissPeriod,i=(parseInt(t.getItem(Ae),10)||0)+n>Date.now();(0,c.set)(e,"abiFormDismissed",i)
|
|
i||t.getItem(Ae)&&t.removeItem(Ae)}catch(t){e.abiFormDismissed=!1
|
|
throw t}}_clearUnseenInvitations(){this.invitationPlatform.clearUnseenInvitations(this.currentModel.invitationsSummary).then((e=>{(0,a.isDestroying)(this)||(0,c.set)(this,"currentModel.invitationsSummary",e)}))}_backfillReceivedInvitations(){const e=this.getCurrentPendingInvites((0,c.get)(this.currentModel,"invitationViews")),t=this.numPendingInvitations,n=this._formatInvitationsForPreview(e);(0,c.set)(this.currentModel,"formatInvitationViews",n)
|
|
const i=(0,c.get)(e,"length")
|
|
t<=i||i<=10+(0,c.get)(this.currentModel,"invitationsPreviewBuffer")&&this.loadMoreReceivedInvitations()}_getConnectionConnections(e){if(!(0,c.get)(this,"currentModel.acceptInviteCC.length")){const t=(0,c.get)(e,"genericInviter.memberProfileUrn")
|
|
this._fetchConnectionConnections(t)}}buildRouteInfoMetadata(){return{debug:{suggestedTeams:["myNetwork","invitations"]}}}model(e,t){if((0,a.isDestroying)(this))return
|
|
"onboarding-landing"===e.trk&&(0,c.set)(this,"showOnboardingGDPRNotice",!0)
|
|
const{jet:n,storeShim:i,graphql:o}=this,{trk:r,inviteActionFailed:l,isAcceptInvite:m,companyUrn:d,member:p}=t.to?t.to.queryParams:{},y=(0,P.getPaginationTokenFromLocalStorage)(this.localStorage),_={degradations:[z.VOYAGER_INVITATIONS_DEGRADATION_METADATA[z.VOYAGER_INVITATIONS_FEATURE_KEYS.INVITATIONS_PREVIEW_SECTION_INITIAL_LOAD]],degradedEntityIDsToRemove:[]},w=b.default.getDashInvitationViews(o,n,{start:0,count:3,includeInsights:!0,isInvitationPreview:!0,isPemSessionReplayEnabled:this.isPemSessionReplayIntegrationEnabled,paginationToken:y,adapterOptions:_}),v=this.invitationPlatform.getInvitationsSummary(["PENDING_INVITATION_COUNT","UNSEEN_INVITATION_COUNT"]),k=b.default.getPrefillEmail(i,n)
|
|
let T,I=null
|
|
this.getBadgeCount()>0&&(T=b.default.getMyNetworkNotifications(i,{jet:n,shouldReloadRecord:!0}))
|
|
"true"===m&&!l&&p&&(I=(0,U.getProfileById)(this.storeShim,p,"com.linkedin.voyager.dash.deco.identity.profile.MiniProfile"))
|
|
const E=new f.Abi(s.Promise),O={coreRail:Re.CONNECT_HUB_ABI_PROMO,sideRail:Re.CONNECT_HUB_SIDE_RAIL_ABI_PROMO};(0,c.set)(this,"shouldShowAcceptReplayNotification",r===Me)
|
|
const C={abiEntryPoint:O,abiInstance:E,companyUrn:d,invitationViews:w,invitationsSummary:v,inviterProfile:I,inviteActionFailed:l,memberVanityName:p,myNetworkNotifications:T,prefillEmail:k,acceptInvite:m,showInviteAlert:!!m||l,isFetchDiscoverySectionsCohortAndPymkEnabled:this.isFetchDiscoverySectionsCohortAndPymkEnabled,discoverySectionsFetchCount:this.discoverySectionsFetchCount,isNurtureTabEnabled:this.isNurtureTabEnabled}
|
|
return(0,s.hash)(C).then((e=>{if((0,a.isDestroying)(this))return
|
|
const t={}
|
|
t.showCondensedLeftRailSummary=this.showCondensedLeftRailSummary
|
|
let n=null
|
|
const i=(0,c.get)(e,"invitationViews"),o=(0,c.get)(e,"invitationsSummary")
|
|
n=null===i?null:(0,g.dedupInvitationsHandler)({context:this,invitationViews:i,updateCache:!1});(0,c.set)(e,"invitationViews",n)
|
|
if(null===o||null===i)(0,c.setProperties)(t,{isInvitationsApiFailure:!0,invitationError:x.ERROR_STATE_TYPES.INVITATION})
|
|
else{(0,c.set)(this,"numPendingInvitations",(0,c.get)(o,"numPendingInvitations"))
|
|
if("true"===e.acceptInvite&&e.memberVanityName&&!e.inviteActionFailed){const t=(0,c.get)(e,"inviterProfile.publicIdentifier"),n=i.find((e=>(0,c.get)(e,"invitation.publicIdentifier")===t))
|
|
if(n){(0,c.set)(n,"isUnloaded",!0)
|
|
this.storeShim.unloadRecord(n)}}const n=this._formatInvitationsForPreview(e.invitationViews);(0,c.setProperties)(t,{formatInvitationViews:n,invitationsPreviewBuffer:this.maxInvitationsPreview+1})}const r=e.myNetworkNotifications?this.myNetworkNotificationsUtil.getNotificationsByType(e.myNetworkNotifications):null
|
|
r&&(0,c.setProperties)(t,{isSummaryCardNotificationOpen:(0,u.isPresent)((0,c.get)(r,"summaryCardNotification")),summaryCardNotification:(0,c.get)(r,"summaryCardNotification")})
|
|
this._displayBiteSize(t)
|
|
const l=i&&i.length
|
|
t.readyToRenderInvitations=!0
|
|
h.default&&this._checkForSuggestions()
|
|
this.isRenderMiddleRailAbiAfterFirstPaint=l
|
|
this.isRenderMiddleRailAbiAfterFirstPaint||(t.readyToRenderMiddleRailAbi=!0);(0,c.set)(t,"entityInviteeSuggestionsManager",new F.default({store:this.storeShim,lix:this.lix,formatter:this.formatter}))
|
|
return Object.assign(e,t)}))}afterModel(e){if(!(0,a.isDestroying)(this)){super.afterModel(...arguments);(0,c.get)(e,"invitationsSummary")&&this.numPendingInvitations>0&&this.tracking.firePageViewEvent("flagship3_people_invitations_preview")
|
|
"production"===R.default.environment&&this._startSessionRecorder()}}_startSessionRecorder(){this.sessionRecorder.isRecording||this.sessionRecorder.start(xe.MYNETWORK,xe.INTERVAL,{product:xe.PRODUCT,maskAllInputs:!0,maskAllContents:!0,maskAttributes:!0,samplePercentage:.01})}updateNotifications(){return b.default.getMyNetworkNotifications(this.storeShim,{shouldReloadRecord:!0,jet:this.jet}).then((e=>{if((0,a.isDestroying)(this))return;(0,c.set)(this.currentModel,"myNetworkNotifications",e)
|
|
return e?this.myNetworkNotificationsUtil.getNotificationsByType(e):null}))}getBadgeCount(){return this.badgeService.getBadgeCount("mynetwork")||0}onBadgeCountChanged(){this.getBadgeCount()>0&&this.updateNotifications()}resetController(e,t){super.resetController(...arguments)
|
|
t&&(0,c.setProperties)(e,{isAcceptInvite:void 0,acceptedFrom:void 0,member:void 0})}onAfterFirstRoutePaint(){const{currentModel:e,graphql:t,jet:n,storeShim:o}=this,r={store:o,jet:n,adapterOptions:{degradations:[I.DEGRADATION_TRACKING_METADATA.COHORTS],degradedEntityIDsToRemove:[]},count:20,numCards:_.COHORT_CARDS_COUNT.DEFAULT,start:0};(0,c.set)(e,"isFirstRoutePaintDone",!0)
|
|
this.isRenderMiddleRailAbiAfterFirstPaint&&(0,c.set)(e,"readyToRenderMiddleRailAbi",!0)
|
|
const l=this.isFetchDiscoverySectionsCohortAndPymkEnabled?w.default.getDiscoverySectionsForMynetwork({graphql:t,jet:n,count:this.discoverySectionsFetchCount,start:0}):w.default.getCohorts(r);(0,i.default)(this,Se,Ke).call(this).then((t=>{(0,a.isDestroying)(this)||(0,c.set)(e,"premiumUpsellCard",t)}));(0,s.hash)({cohorts:l}).then((t=>{if(!(0,a.isDestroying)(this))if(void 0===t.cohorts){(0,c.setProperties)(e,{isCohortRecommendationsFailure:!0,recommendationError:x.ERROR_STATE_TYPES.RECOMMENDATION})
|
|
this.isFetchDiscoverySectionsCohortAndPymkEnabled&&this.clientSensor.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_MYNETWORK,metricName:_.DISCOVERY_CLIENT_SENSOR_METRICS.DISCOVERY_SECTIONS_EMPTY})}else{const{currentDiscoveryCohorts:n}=this,i=t.cohorts;(0,V.pushValues)(n,(0,c.get)(i,"elements"));(0,c.setProperties)(e,{discoveryCohorts:n,paginationToken:(0,c.get)(i,"metadata.paginationToken")})}})).catch((e=>{if(this.isDestroying)throw e
|
|
this.isFetchDiscoverySectionsCohortAndPymkEnabled&&this.clientSensor.incrementMetricCounter({groupName:_.CLIENT_SENSOR_GROUP_MYNETWORK,metricName:_.DISCOVERY_CLIENT_SENSOR_METRICS.DISCOVERY_SECTIONS_FAILED})})).finally((()=>{(0,a.isDestroying)(this)||(0,c.set)(e,"readyToRenderDiscoveryRecommendations",!0)}));(0,c.set)(e,"readyToRenderCommunitySummary",!0);(0,i.default)(this,Ce,Be).call(this)}onAfterContentPaint(){const{currentModel:e,jet:t,storeShim:n}=this;(0,c.set)(e,"isContentPaintDone",!0)
|
|
const i={sourceType:"PYMK_ENTITY",reasonContext:"PYMK_ENTITY"};(0,c.set)(e,"cohortRecommendationsReason",i)
|
|
if(!this.isFetchDiscoverySectionsCohortAndPymkEnabled){const o={degradations:[new y.default(I.FEATURE_KEY.PYMK_GRID,I.DEGRADATION_KEY.MISSING_PYMK,{productName:I.PEM_PRODUCT_NAMES.VOYAGER_MY_NETWORK,enableSessionRecording:this.isPemSessionReplayIntegrationEnabled})],degradedEntityIDsToRemove:[]},r=w.default.getAllRecommendationsByReasons({adapterOptions:o,jet:t,count:4,reasons:[i],start:0,store:n});(0,s.hash)({pymkEntities:r}).then((t=>{if(!(0,a.isDestroying)(this))if(null===t.pymkEntities)(0,c.setProperties)(e,{isDiscoveryRecommendationsFailure:!0,recommendationError:x.ERROR_STATE_TYPES.RECOMMENDATION})
|
|
else{let n=t.pymkEntities
|
|
n=(0,c.get)(n,"elements");(0,c.setProperties)(e,{discoveryEntities:n,pymkPaginationToken:(0,c.get)(t,"pymkEntities.metadata.paginationToken"),prefetchedEntitiesCount:4})}}))}}getCurrentPendingInvites(e){return this.invitationPlatform.getValidPendingInvitationViews(e)}loadMoreReceivedInvitations(){var e=this
|
|
const t=this.start??0
|
|
this.start=t+10
|
|
return b.default.getDashInvitationViews(this.graphql,this.jet,{start:t,count:10}).then((function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]
|
|
if((0,a.isDestroying)(e))return
|
|
const{currentModel:n}=e,i=(0,c.get)(n,"invitationViews.length"),o=(0,c.get)(t,"length")
|
|
if(o>0){const i=(0,g.dedupInvitationsHandler)({context:e,invitationViews:t})
|
|
if((0,c.get)(i,"length")){const e=(0,V.pushValues)(new H.TrackedArray((0,c.get)(n,"invitationViews")),i);(0,c.set)(n,"invitationViews",e)}}i<(0,c.get)(n,"invitationViews.length")&&(0,c.setProperties)(n,{hasInvites:!0,pendingEmptyStateEnabled:!1})}))}willTransition(e){super.actions.willTransition.call(this,...arguments)
|
|
const{invitationViews:t,isNurtureTabEnabled:n}=(0,c.get)(this,"controller.model")
|
|
t&&t.length>0&&t.forEach((e=>{(0,c.get)(e,"invitation.unseen")?(0,c.set)(e,"invitation.unseen",!1):(0,c.get)(e,"genericInvitationView.unseen")&&(0,c.set)(e,"genericInvitationView.unseen",!1)}))
|
|
h.default&&!n&&this._clearUnseenInvitations()
|
|
this.badgeService.off(je,this,this.onBadgeCountChanged);(0,c.setProperties)(this,{start:0,invitationCache:new H.TrackedArray([]),currentDiscoveryCohorts:new H.TrackedArray([])})
|
|
"mynetwork.index"!==e.targetName&&this.sessionRecorder.stop()
|
|
return!0}queryParamsDidChange(e){if(!e.doMynetworkRefresh||this.updatingMynetwork)return;(0,c.setProperties)(this,{updatingMynetwork:!0,start:0,invitationCache:new H.TrackedArray([])})
|
|
const t={degradations:[z.VOYAGER_INVITATIONS_DEGRADATION_METADATA[z.VOYAGER_INVITATIONS_FEATURE_KEYS.INVITATIONS_PREVIEW_SECTION_INITIAL_LOAD]],degradedEntityIDsToRemove:[]},n=b.default.getDashInvitationViews(this.graphql,this.jet,{start:0,count:10,includeInsights:!0,isInvitationPreview:!0,isPemSessionReplayEnabled:this.isPemSessionReplayIntegrationEnabled,paginationToken:(0,P.getPaginationTokenFromLocalStorage)(this.localStorage),adapterOptions:t}),i=this.invitationPlatform.getInvitationsSummary(["PENDING_INVITATION_COUNT","UNSEEN_INVITATION_COUNT"]);(0,s.hash)({invitationsSummaryRequest:i,invitationViewsRequest:n,myNetworkNotificationsRequest:this.updateNotifications()}).then((e=>{let{invitationViewsRequest:t,invitationsSummaryRequest:n,myNetworkNotificationsRequest:i}=e
|
|
if((0,a.isDestroying)(this))return
|
|
const o=(0,g.dedupInvitationsHandler)({context:this,invitationViews:t,updateCache:!1}),r=this._formatInvitationsForPreview(o);(0,c.setProperties)(this.currentModel,{invitationsSummary:n,invitationViews:o,formatInvitationViews:r,isPrefetchCompleted:!1,isInlineConfirmationOpen:!1})
|
|
if(i){const e=(0,c.get)(i,"summaryCardNotification");(0,c.setProperties)(this.currentModel,{summaryCardNotification:e,isSummaryCardNotificationOpen:(0,u.isPresent)(e)})}})).then((()=>this.badgeService.markAllItemsAsSeen({badgeName:"mynetwork"}))).finally((()=>{(0,a.isDestroying)(this)||(this.updatingMynetwork=!1)}))}didTransition(){super.actions.didTransition.call(this,...arguments);(0,E.whenRouteIdle)().then((()=>{if(!(0,a.isDestroying)(this)){this.onAfterFirstRoutePaint()
|
|
if(h.default){this.onAfterContentPaint()
|
|
this.currentModel.isNurtureTabEnabled||this._clearUnseenInvitations()}}}))
|
|
this.shouldShowAcceptReplayNotification&&this._showAcceptReplayNotification()
|
|
this.badgeService.on(je,this,this.onBadgeCountChanged)
|
|
this.currentModel.isInvitationsApiFailure||d.default.trackBadgeIssues(this.currentModel.invitationsSummary,this.currentModel.myNetworkNotifications,this.badgeCount,this.isBadgeCountIncremented)
|
|
h.default&&this.prefetch.prefetchAssets("jobs")
|
|
const{i18n:e,gdprNotice:t}=this,n=e.lookupTranslation(Le,"i18n_contact_notice")(),i=e.lookupTranslation(Le,"i18n_view_settings")(),o=e.lookupTranslation(Le,"i18n_pending_invite_notice")(),r=e.lookupTranslation(Le,"i18n_invite_settings")(),l=e.lookupTranslation(Le,"i18n_profile_visiblity_notice")(),s=e.lookupTranslation(Le,"i18n_profile_visiblity_settings")()
|
|
if(this.showOnboardingGDPRNotice)(0,k.default)(t,M.GDPR_NOTICE_POLICY_TYPE.REGISTRATION_FLOW_PROFILE_VISIBILITY,l,s,this)
|
|
else{(0,k.default)(t,M.GDPR_NOTICE_POLICY_TYPE.MANAGE_CONTACT_PAGE,n,i,this);(0,k.default)(t,M.GDPR_NOTICE_POLICY_TYPE.MY_NETWORK_PAGE,o,r,this)}}loading(){return!1}dismissABIForm(){(0,c.set)(this.currentModel,"abiFormDismissed",!0)
|
|
this.tracking.fireInteractionEvent("dismiss_bite_size")
|
|
try{this.localStorage.setItem(Ae,Date.now())}catch(e){console.warn("Error occurred while storing dismiss value in storage",e)}}dismissPymkHero(){(0,c.set)(this.currentModel,"pymkHeroDismissed",!0)}triggerInlineConfirmationCard(e,t){(0,c.setProperties)(this.currentModel,{actionOnInvitation:t,inlineInvitationView:e,isInlineConfirmationOpen:!0,inviteHasBeenReported:!1,isSummaryCardNotificationOpen:!1})}closeInlineConfirmationCard(){(0,c.set)(this.currentModel,"isInlineConfirmationOpen",!1)}closeInvitationSummaryCard(){(0,c.set)(this.currentModel,"isSummaryCardNotificationOpen",!1)}actOnInvitation(e){let{invitationView:t,actionOnInvitation:n,isInlineConfirmationExperience:o}=e
|
|
const r=(0,c.get)(t,"invitation"),l="accept"===n
|
|
return(l?this.invitationPlatform.acceptInvitation(r):this.invitationPlatform.ignoreInvitation(r)).then((()=>{if(!(0,a.isDestroying)(this)){if(l){this._triggerPostAcceptFlow(r)
|
|
const e=(0,c.get)(t,"invitation.genericInvitationType")
|
|
let n
|
|
e&&e!==Ve?e===We?n=Ue:e===qe&&(n=He):n=ze
|
|
this.controller.getHeadsUpPrompt(n)}else{const{currentModel:e}=this,n=(0,c.get)(t,"invitation.genericInvitationType"),i=(0,S.shouldShowSettingsPopup)(this.localStorage,this.lix,n);(0,c.setProperties)(e,{settingsPopupEntityType:n,isSettingsPopupOpen:i})}(0,i.default)(this,Pe,Ge).call(this,r,l)
|
|
t.isDestroying||!o||(0,A.isDashUrn)((0,c.get)(r,"entityUrn"))||(0,c.set)(t,"isUnloaded",!0)
|
|
this._backfillReceivedInvitations()}}))}_triggerPostAcceptFlow(e){if(this.invitationPlatform.isGenericInvitation(e)){this.currentModel.entityInviteeSuggestionsManager.fetchInviteeSuggestions(e);(0,c.set)(this.currentModel,"connectionConnectionsDismissed",!0)}else{this._getConnectionConnections(e)
|
|
this.currentModel.entityInviteeSuggestionsManager.dismissModule()}this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-post-accept-verification-drawer-killswitch")||this.didFetchVerificationCard||(0,i.default)(this,Ne,$e).call(this,e)}}),ce=(0,o.default)(se.prototype,"clientSensor",[Y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ue=(0,o.default)(se.prototype,"badgeService",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),me=(0,o.default)(se.prototype,"gdprNotice",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),de=(0,o.default)(se.prototype,"i18n",[K],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),pe=(0,o.default)(se.prototype,"invitationPlatform",[$],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),fe=(0,o.default)(se.prototype,"jet",[Q],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ye=(0,o.default)(se.prototype,"lix",[Z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),he=(0,o.default)(se.prototype,"formatter",[X],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ge=(0,o.default)(se.prototype,"localStorage",[J],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),be=(0,o.default)(se.prototype,"persistentToastManager",[ee],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_e=(0,o.default)(se.prototype,"storeShim",[te],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),we=(0,o.default)(se.prototype,"tracking",[ne],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ve=(0,o.default)(se.prototype,"prefetch",[ie],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ke=(0,o.default)(se.prototype,"sessionRecorder",[oe],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Te=(0,o.default)(se.prototype,"graphql",[re],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ie=(0,o.default)(se.prototype,"pemTracking",[ae],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Ee=(0,o.default)(se.prototype,"router",[le],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(se.prototype,"willTransition",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"willTransition"),se.prototype),(0,o.default)(se.prototype,"queryParamsDidChange",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"queryParamsDidChange"),se.prototype),(0,o.default)(se.prototype,"didTransition",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"didTransition"),se.prototype),(0,o.default)(se.prototype,"loading",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"loading"),se.prototype),(0,o.default)(se.prototype,"dismissABIForm",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"dismissABIForm"),se.prototype),(0,o.default)(se.prototype,"dismissPymkHero",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"dismissPymkHero"),se.prototype),(0,o.default)(se.prototype,"triggerInlineConfirmationCard",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"triggerInlineConfirmationCard"),se.prototype),(0,o.default)(se.prototype,"closeInlineConfirmationCard",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"closeInlineConfirmationCard"),se.prototype),(0,o.default)(se.prototype,"closeInvitationSummaryCard",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"closeInvitationSummaryCard"),se.prototype),(0,o.default)(se.prototype,"actOnInvitation",[c.action],Object.getOwnPropertyDescriptor(se.prototype,"actOnInvitation"),se.prototype),se)
|
|
function Ye(e){const t=e<30;(0,c.setProperties)(this.currentModel,{showABIInMiddleRail:t,showABIPromoInSideRail:!t})}function Be(){const{currentModel:e,graphql:t,jet:n}=this,o={degradations:[I.DEGRADATION_TRACKING_METADATA.COMMUNITY_SUMMARY],degradedEntityIDsToRemove:[]},r={myNetworkSummary:v.default.getMyNetworkSummary({jet:n,graphql:t,adapterOptions:o}),savedContactsSummary:(0,C.getContactsCountSummary)(n,t)};(0,s.hash)(r).then((t=>{if((0,a.isDestroying)(this))return
|
|
const n=((0,c.get)(t,"myNetworkSummary.metadata.primaryFilterCluster.primaryFilters.firstObject.primaryFilterValues")||[]).reduce(((e,t)=>({...e,[(0,c.get)(t,"value")]:(0,c.get)(t,"count")||0})),{});(0,c.setProperties)(e,{connectionsCount:n.CONNECTIONS||0,eventsCount:n.EVENTS||0,groupsCount:n.GROUPS||0,hashtagCount:n.HASHTAG||0,newslettersCount:n.CONTENT_SERIES||0,pagesCount:n.PAGES||0,peopleFollowCount:n.PEOPLE_FOLLOW||0,savedContactsCount:(0,c.get)(t.savedContactsSummary,"paging.total")||0});(0,i.default)(this,Oe,Ye).call(this,e.connectionsCount)})).catch((t=>{if((0,a.isDestroying)(this))throw t;(0,c.setProperties)(e,{isMyNetworkSummaryFailure:!0,myNetworkSummaryError:x.ERROR_STATE_TYPES.CONNECTION_SUMMARY})})).finally((()=>{(0,a.isDestroying)(this)||(0,c.set)(e,"isReadyToRenderSummary",!0)}))}function Ge(e,t){const{currentModel:n}=this,i=(0,c.get)(n,"connectionsCount"),o=(0,c.get)(e,"genericInvitationType")===j.INVITATION_TYPES.CONNECTION
|
|
i&&o&&t&&(0,c.set)(n,"connectionsCount",i+1)
|
|
const r=this.invitationsSummary||(0,c.get)(n,"invitationsSummary")
|
|
r&&(0,c.get)(r,"numPendingInvitations")>0&&(0,c.set)(r,"numPendingInvitations",(0,c.get)(r,"numPendingInvitations")-1)}function Ke(){return(0,N.queryUpsellCardDataV2)({clientSensor:this.clientSensor,graphql:this.graphql},{upsellSlot:"MY_NETWORK_SALES_NAVIGATOR"}).then((e=>(0,c.get)(e,"data.premiumDashUpsellSlotContentBySlotType.elements.0.upsellCard")))}function $e(e){const t=(0,c.get)(e,"genericInviter.memberProfileUrn.entityUrn");(0,W.queryVerificationEntryPoint)(this.graphql,{verificationEntryPoint:q.ENTRY_POINT.NEXT_BEST_ACTION_ON_ACCEPTED_INVITATION.toUpperCase(),vieweeUrn:t}).then((e=>{if(!(0,a.isDestroying)(this)){this.didFetchVerificationCard=!0
|
|
if(null!==e){(0,c.set)(this.currentModel,"verificationEntryPointCard",e)
|
|
this.controllerFor(this.routeName).isVerificationCardDismissed=!1}}}))}}))
|
|
define("mynetwork/routes/invitation-manager",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","rsvp","@ember/routing/route","@linkedin/abi-js/src/index","mynetwork/utils/mynetwork-request","ember-cli-pemberly-tracking","mynetwork/utils/connection-util","@ember/object"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var f,y,h,g,b
|
|
e.default=(f=(0,a.inject)("global-services@store-shim"),y=(0,a.inject)("jet"),h=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"storeShim",g,this);(0,t.default)(this,"jet",b,this);(0,m.setupNonAnchorRoute)(this)}setupController(e,t){if((0,r.isDestroying)(this))return
|
|
super.setupController(...arguments)
|
|
const n=new c.Abi(l.Promise);(0,p.setProperties)(e,{abiInstance:n,prefillEmail:t.prefillEmail,connectionsSummary:t.connectionsSummary})}resetController(e,t){super.resetController(...arguments)
|
|
t&&(0,p.setProperties)(e,{page:1,filterCriteria:"",invitationType:"",relevanceCategory:"",isInvitationSettingsOpen:!1})}model(){if(!(0,r.isDestroying)(this))return this._fetchModel()}_fetchModel(){const e={connectionsSummary:(0,d.getConnectionsSummary)(this.storeShim,{jet:this.jet}),prefillEmail:u.default.getPrefillEmail(this.storeShim,this.jet)}
|
|
return(0,l.hash)(e)}},g=(0,i.default)(h.prototype,"storeShim",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(h.prototype,"jet",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h)}))
|
|
define("mynetwork/routes/invitation-manager/pending-common",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","ember-app-scheduler","@ember/object","invitation/utils/i18n-constants","global-utils/utils/is-browser"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h,g,b
|
|
e.default=(d=(0,a.inject)("i18n"),p=(0,a.inject)("persistent-toast-manager@persistent-toast-manager"),f=(0,a.inject)("invitation-platform@invitation-platform"),y=class extends l.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people_invitations");(0,n.default)(this,"controllerName","invitation-manager");(0,t.default)(this,"i18n",h,this);(0,t.default)(this,"persistentToastManager",g,this);(0,t.default)(this,"invitationPlatform",b,this)}beforeModel(e){var t,n
|
|
null!==(t=e.to)&&void 0!==t&&null!==(n=t.queryParams)&&void 0!==n&&n.entityInviteFailed&&(0,c.set)(this,"entityInviteFailed",!0)}resetController(e,t){super.resetController(...arguments)
|
|
t&&(0,c.setProperties)(e,{page:1,filterCriteria:"",invitationType:"",isInvitationSettingsOpen:!1})}_clearUnseenInvitations(){this.invitationPlatform.clearUnseenInvitations(this.currentModel.invitationsSummary).then((e=>{(0,r.isDestroying)(this)||(0,c.set)(this,"currentModel.invitationsSummary",e)}))}didTransition(){(0,s.whenRouteIdle)().then((()=>{if(!(0,r.isDestroying)(this)){if(this.entityInviteFailed){const e=this.i18n.lookupTranslation(u.default.TEMPLATE,u.default.INVITATION_GENERAL_FAILURE_HELPCENTER)(u.default.HELPCENTER_ACCEPT_FAILURE_LINK_INFO)
|
|
this.persistentToastManager.error({message:e})}m.default&&this._clearUnseenInvitations()}}))
|
|
return!0}willTransition(){m.default&&this._clearUnseenInvitations()
|
|
this.invitationCache=[]
|
|
return!0}},h=(0,i.default)(y.prototype,"i18n",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(y.prototype,"persistentToastManager",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(y.prototype,"invitationPlatform",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(y.prototype,"didTransition",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"didTransition"),y.prototype),(0,i.default)(y.prototype,"willTransition",[c.action],Object.getOwnPropertyDescriptor(y.prototype,"willTransition"),y.prototype),y)}))
|
|
define("mynetwork/routes/invitation-manager/pending",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","rsvp","@ember/object","@ember/utils","mynetwork/routes/invitation-manager/pending-common","mynetwork/utils/dedup-invites","mynetwork/utils/constants","mynetwork/utils/constants-common","invitation-platform/utils/constants","mynetwork/utils/mynetwork-request","mynetwork/utils/invitation-util","ember-app-scheduler","global-utils/utils/is-browser","invitation-platform/utils/pem-tracking","global-utils/utils/array/push","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){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var k,T,I,E,O,C,P,S,N,R,A
|
|
const D="COMMON_COMPANY",M={COMMON_COMPANY:"your_company",COMMON_EDUCATION:"your_school",COMMON_CONNECTION:"has_mutual_connections",ALL:"all_invitations"}
|
|
e.default=(k=(0,a.inject)("jet"),T=(0,a.inject)("invitation-platform@invitation-platform"),I=(0,a.inject)("global-services@local-storage"),E=(0,a.inject)("router"),O=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),C=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"jet",P,this);(0,t.default)(this,"invitationPlatform",S,this);(0,t.default)(this,"localStorage",N,this);(0,t.default)(this,"router",R,this);(0,t.default)(this,"graphql",A,this);(0,n.default)(this,"queryParams",{page:d.REFRESH,filterCriteria:d.REFRESH,invitationType:d.REFRESH});(0,s.setProperties)(this,{paginationMeta:{},currentInvitationViews:new v.TrackedArray([]),inlineConfirmationCount:0})}model(){if(!(0,r.isDestroying)(this))return this._pendingModelHash(this.paramsFor(this.routeName),!0)}afterModel(e){if(!(0,r.isDestroying)(this)){this._setupPendingInvitations(e)
|
|
!(0,s.get)(this,"paginationMeta.token")&&d.CACHE_WARMUP_THRESHOLD<=e.total&&(0,g.whenRouteIdle)().then((()=>{if(!this.isDestroying){y.default.getDashInvitationViewMeta(this.graphql,this.jet,{filterCriteria:[D]}).then((e=>{(0,r.isDestroying)(this)||this._setPaginationMeta(D,e)}))}}))
|
|
this._isLazyLoad(e)&&this._fetchNextInvitationsBatch(e)
|
|
this._setFocusOnPill(e)}}_pendingModelHash(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1]
|
|
const n=(0,h.getPaginationTokenFromLocalStorage)(this.localStorage),{filterCriteria:i,invitationType:o}=e,a=i in M?i:"ALL",c="ALL"!==a?[a]:void 0,u=o||"ALL",g="ALL"!==u?[u]:void 0,b=this._convertFilterUrlParams(e),w=d.DEFAULT_PAGINATION_COUNT,v=(e.page-1)*w,k=t?d.DEFAULT_FIRST_LOAD_COUNT:w,T={degradations:[_.VOYAGER_INVITATIONS_DEGRADATION_METADATA[_.VOYAGER_INVITATIONS_FEATURE_KEYS.INVITATION_MANAGER_LOAD_PENDING_INVITATIONS]],degradedEntityIDsToRemove:[]},I=y.default.getDashInvitationViews(this.graphql,this.jet,{q:"pendingInvitationsBasedOnRelevance",start:v,count:k,invitationTypes:g??[],filterCriteria:c??[],paginationToken:n,adapterOptions:T}),E="ALL"!==a?y.default.getDashInvitationViewMeta(this.graphql,this.jet,{filterCriteria:c??[],paginationToken:n}):null,O={invitesPerPage:w,start:v,filter:a,filterName:b,invitationViewsBeforeResolve:I,invitationsSummary:this.invitationPlatform.getInvitationsSummary(),invitationViewMetaBeforeResolve:E,invitationFacetsBeforeResolve:this.invitationPlatform.getGenericInvitationFacets({q:p.GENERIC_INVITATION_FACET_QUERY.PENDING}),invitationType:u}
|
|
return(0,l.hash)(O).then((e=>{if((0,r.isDestroying)(this))return
|
|
null!==(0,s.get)(e,"invitationViewsBeforeResolve")&&null!==(0,s.get)(e,"invitationFacetsBeforeResolve")||(0,s.setProperties)(e,{isInvitationsApiFailure:!0,invitationError:p.ERROR_STATE_TYPES.INVITATION})
|
|
const n=(0,s.get)(this.controllerFor("invitation-manager"),"resolvedPendingInvitationCache")
|
|
let i=(0,s.get)(e,"invitationViewsBeforeResolve")
|
|
const o=(0,s.get)(e,"invitationViewMetaBeforeResolve")
|
|
t&&(i=(0,m.dedupInvitationsHandler)({context:this,invitationViews:i,updateCache:!0,resolvedInvitationCache:n}))
|
|
const{currentInvitationViews:a}=this,l=a.reduce(((e,t)=>{const n=(0,s.get)(t,"invitation.entityUrn")
|
|
e.push(n)
|
|
return e}),[]),c=i.filter((e=>{const t=(0,s.get)(e,"invitation.entityUrn")
|
|
return!l.includes(t)}))
|
|
a.push(...c)
|
|
const u=(0,s.get)(e,"invitationFacetsBeforeResolve.elements")
|
|
u&&u.forEach((t=>{const n=(0,s.get)(t,"invitationType")
|
|
n===e.invitationType||!n&&e.invitationType===f.INVITATION_TYPES.ALL?(0,s.set)(t,"isSelected",!0):(0,s.set)(t,"isSelected",!1)}));(0,s.setProperties)(e,{paginationMeta:o,invitationViews:a,invitationViewsCount:i.length,isAdvanceFilterDropdownOpen:!1})
|
|
return e}))}_setupPendingInvitations(e){const t=(0,s.get)(e,"invitationsSummary.numPendingInvitations")>0,n=this.paramsFor(this.routeName)
|
|
let i=0,o=0
|
|
const r=this._getTotalCount(e)
|
|
if(t){i=r&&e.start+1
|
|
o=Math.min(i+e.invitesPerPage-1,r)}else n.page>1&&this.router.transitionTo({queryParams:{page:1,filterCriteria:(0,s.get)(e,"filter"),invitationType:(0,s.get)(e,"invitationType")}})
|
|
const a=e.invitationViews.length&&this._validateInvitationList(e.invitationViews);(0,s.setProperties)(e,{hasInvites:t,total:r,itemStart:i,itemEnd:o,pendingEmptyStateEnabled:!a&&!this.inlineConfirmationCount,isFilterPresent:"ALL"===(0,s.get)(e,"filter"),isInvitationTypePresent:(0,s.get)(e,"invitationType")===f.INVITATION_TYPES.ALL,invitationFacets:(0,s.get)(e,"invitationFacetsBeforeResolve.elements")})}_validateInvitationList(e){return e.some((e=>(0,c.isPresent)((0,s.get)(e,"invitation"))))}_setFocusOnPill(e){(0,g.whenRouteIdle)().then((()=>{if(!(0,r.isDestroying)(this)&&b.default){const t=document.querySelector(`#mn-invitation-manager__invitation-facet-pills--${(0,s.get)(e,"invitationType")}`)
|
|
t instanceof window.HTMLButtonElement&&t.focus()}}))}_getTotalCount(e){const{filter:t,invitationType:n}=e
|
|
let i=0
|
|
if("CONNECTION"===n&&"ALL"!==t){this._setPaginationMeta(t,e.paginationMeta)
|
|
i=(0,s.get)(e,"paginationMeta.total")}else{const t=(0,s.get)(e,"invitationFacetsBeforeResolve.elements")
|
|
t&&t.forEach((e=>{const t=(0,s.get)(e,"invitationType");(t===n||!t&&n===f.INVITATION_TYPES.ALL)&&(i=(0,s.get)(e,"count"))}))}i<0&&(i=0)
|
|
return i}_isLazyLoad(e){let{itemStart:t,total:n,invitationViews:i=[]}=e
|
|
return(0,c.isPresent)(i)&&t+i.length-1<n}_convertFilterUrlParams(){let{filterCriteria:e="ALL"}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
return e in M?`i18n_${M[e]}`:`i18n_${M.ALL}`}_setPaginationMeta(){this.paginationMeta||(0,s.set)(this,"paginationMeta",{});(0,s.setProperties)(this,{"paginationMeta.token":(0,s.get)(this,"metadata.paginationToken"),"paginationMeta.filterName":this.metadata})}_fetchNextInvitationsBatch(e){(0,g.whenRouteIdle)().then((()=>{if(!this.isDestroying){(0,s.set)(e,"isLoadingMoreInvites",!0)
|
|
const t=(0,s.get)(e,"itemStart")-1,n=(0,s.get)(e,"invitesPerPage"),i=(0,s.get)(e,"filter"),o=(0,s.get)(this.controllerFor("invitation-manager"),"resolvedPendingInvitationCache"),{localStorage:a}=this,l=(0,h.getPaginationTokenFromLocalStorage)(a),c=(0,s.get)(e,"invitationType"),u={degradations:[_.VOYAGER_INVITATIONS_DEGRADATION_METADATA[_.VOYAGER_INVITATIONS_FEATURE_KEYS.INVITATION_MANAGER_LOAD_PENDING_INVITATIONS]],degradedEntityIDsToRemove:[]}
|
|
y.default.getDashInvitationViews(this.graphql,this.jet,{start:t,count:n,invitationTypes:"ALL"!==c?[c]:[],filterCriteria:"ALL"!==i?[i]:[],q:"pendingInvitationsBasedOnRelevance",paginationToken:l,adapterOptions:u}).then((t=>{(0,r.isDestroying)(this)||(0,s.get)(e,"isPreventSecondBatchCall")||(0,s.setProperties)(e,{invitationViews:(0,w.pushValues)((0,s.get)(e,"invitationViews"),(0,m.dedupInvitationsHandler)({context:this,invitationViews:t,updateCache:!1,resolvedInvitationCache:o})),isLoadingMoreInvites:!1})}))}}))}_updateInvitationsSummary(e,t,n){(0,s.get)(e,"invitationsSummary").decrementProperty("numPendingInvitations");(0,s.get)(e,"invitationFacetsBeforeResolve.elements").forEach((i=>{const o=(0,s.get)(i,"invitationType");(o===t||o===f.INVITATION_TYPES.CONNECTION&&n||!o&&e.invitationType===f.INVITATION_TYPES.ALL)&&i.decrementProperty("count")}))}_addInvitationToCacheIdList(e){const t=(0,s.get)(this.controllerFor("invitation-manager"),"resolvedPendingInvitationCache"),n=(0,s.get)(e,"invitation.entityUrn")
|
|
t.pushObject(n)}_enterLoadingState(e){(0,s.setProperties)(e,{invitationViews:[],isLoadingMoreInvites:!0,pendingEmptyStateEnabled:!1,isPreventSecondBatchCall:!0});(0,s.get)(e,"invitationFacets").forEach((e=>{(0,s.set)(e,"isDisabled",!0)}))}_exitLoadingState(e){const t=(0,s.get)(e,"invitationFacets");(0,s.setProperties)(this,{isLoadingMoreInvites:!1,isPreventSecondBatchCall:!1})
|
|
t&&t.forEach((e=>{(0,s.set)(e,"isDisabled",!1)}))}willTransition(){super.actions.willTransition.call(this,...arguments);(0,s.get)(this,"controller.checkedInvitations")&&this.controllerFor("invitation-manager").send("unSelectAll");(0,s.setProperties)(this,{currentInvitationViews:new v.TrackedArray([]),inlineConfirmationCount:0})}updatePendingInvitations(e){const{currentModel:t}=this,n=(0,s.get)(e,"invitation.genericInvitationType"),i=n===f.INVITATION_TYPES.CONNECTION
|
|
this._updateInvitationsSummary(t,n,i)
|
|
this._addInvitationToCacheIdList(e)
|
|
this.inlineConfirmationCount++
|
|
const o=this.paramsFor(this.routeName)
|
|
this._pendingModelHash(o).then((e=>{if(!(0,r.isDestroying)(this)){this._exitLoadingState(t);(0,s.setProperties)(t,e)
|
|
this._setupPendingInvitations(t)}}))}changeInvitationType(e){const{currentModel:t}=this,n=(0,s.get)(t,"invitationType")
|
|
if(n!==e&&("ALL"!==n||!(0,c.isEmpty)(e))){this._enterLoadingState(t)
|
|
this.router.transitionTo({queryParams:{page:1,filterCriteria:null,invitationType:e||f.INVITATION_TYPES.ALL}})}}decrementInlineConfirmationCount(){this.inlineConfirmationCount--
|
|
const{currentModel:e}=this,t=(0,s.get)(e,"invitationViewsCount");(0,s.set)(e,"pendingEmptyStateEnabled",!t&&!this.inlineConfirmationCount)}},P=(0,i.default)(C.prototype,"jet",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,i.default)(C.prototype,"invitationPlatform",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,i.default)(C.prototype,"localStorage",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,i.default)(C.prototype,"router",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,i.default)(C.prototype,"graphql",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(C.prototype,"willTransition",[s.action],Object.getOwnPropertyDescriptor(C.prototype,"willTransition"),C.prototype),(0,i.default)(C.prototype,"updatePendingInvitations",[s.action],Object.getOwnPropertyDescriptor(C.prototype,"updatePendingInvitations"),C.prototype),(0,i.default)(C.prototype,"changeInvitationType",[s.action],Object.getOwnPropertyDescriptor(C.prototype,"changeInvitationType"),C.prototype),(0,i.default)(C.prototype,"decrementInlineConfirmationCount",[s.action],Object.getOwnPropertyDescriptor(C.prototype,"decrementInlineConfirmationCount"),C.prototype),C)}))
|
|
define("mynetwork/routes/invitation-manager/sent-common",["exports","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/routing/route","@ember/object","mynetwork/utils/constants-common"],(function(e,t,n,i,o,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var a
|
|
e.default=(a=class extends i.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_people_sent_invitations");(0,t.default)(this,"start",0);(0,t.default)(this,"controllerName","invitation-manager");(0,t.default)(this,"queryParams",{page:r.REFRESH,invitationType:r.REFRESH})}resetController(e,t,n){super.resetController(e,t,n)
|
|
t&&(0,o.setProperties)(e,{page:1,invitationType:""})}willTransition(){(0,o.set)(this,"start",0)
|
|
return!0}},(0,n.default)(a.prototype,"willTransition",[o.action],Object.getOwnPropertyDescriptor(a.prototype,"willTransition"),a.prototype),a)}))
|
|
define("mynetwork/routes/invitation-manager/sent",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","rsvp","@ember/object","@ember/utils","mynetwork/routes/invitation-manager/sent-common","mynetwork/utils/constants","mynetwork/utils/mynetwork-request","ember-app-scheduler","mynetwork/utils/constants-common","mynetwork/utils/dedup-invites","global-utils/utils/is-browser","invitation-platform/utils/pem-tracking"],(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,_,w,v,k,T,I,E,O
|
|
e.default=(b=(0,a.inject)("jet"),_=(0,a.inject)("invitation-platform@invitation-platform"),w=(0,a.inject)("router"),v=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),k=class extends u.default{constructor(){super(...arguments);(0,t.default)(this,"jet",T,this);(0,t.default)(this,"invitationPlatform",I,this);(0,t.default)(this,"router",E,this);(0,t.default)(this,"graphql",O,this)}_setupSentInvitations(e){const t=((0,s.get)(e,"invitationViews")??[]).length,n=this._getTotalCount(e)
|
|
let i=0
|
|
t?i=Math.min(e.itemStart+e.invitesPerPage-1,n):e.page>1&&this.router.transitionTo({queryParams:{page:1,invitationType:(0,s.get)(e,"invitationType")}})
|
|
const o=t&&this._validateInvitationList(e.invitationViews);(0,s.setProperties)(e,{itemEnd:i,total:n,sentEmptyStateEnabled:!o})}_validateInvitationList(e){return!e.every((e=>!!e&&(0,c.isEmpty)((0,s.get)(e,"invitation"))))}_getTotalCount(e){const{invitationType:t}=e
|
|
let n=0;((0,s.get)(e,"invitationFacets")||[]).forEach((e=>{(0,s.get)(e,"invitationType")===t&&(n=(0,s.get)(e,"count"))}))
|
|
n<0&&(n=0)
|
|
return n}sentModelHash(e,t){const{jet:n,graphql:i}=this,{invitationType:o}=e,a=o||"CONNECTION",{page:c}=this.paramsFor(this.routeName),u=this.invitationPlatform.getInvitationsSummary(),p=this.invitationPlatform.getGenericInvitationFacets({q:f.GENERIC_INVITATION_FACET_QUERY.SENT}),h=m.DEFAULT_PAGINATION_COUNT,b=(c-1)*h,_=b+1,w=t?m.DEFAULT_FIRST_LOAD_COUNT:h,v={degradations:[g.VOYAGER_INVITATIONS_DEGRADATION_METADATA[g.VOYAGER_INVITATIONS_FEATURE_KEYS.INVITATION_MANAGER_LOAD_SENT_INVITATIONS]],degradedEntityIDsToRemove:[]},k=d.default.getDashSentInvitationViews(i,n,{start:b,count:w,invitationType:a,adapterOptions:v})
|
|
return(0,l.hash)({page:c,invitesPerPage:h,itemStart:_,sentInvitationViews:k,invitationsSummary:u,rawInvitationFacets:p,invitationType:a}).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t=(0,s.get)(this.controllerFor("invitation-manager"),"resolvedSentInvitationCache"),n=(0,y.dedupInvitationsHandler)({context:this,invitationViews:(0,s.get)(e,"sentInvitationViews.elements"),updateCache:!1,resolvedInvitationCache:t});(0,s.set)(e,"sentInvitationViews.elements",n);(0,s.set)(this,"invitationCache",[])
|
|
return e}))}model(){if(!(0,r.isDestroying)(this))return this.sentModelHash(this.paramsFor(this.routeName),!0)}_loadMoreInvites(e){(0,s.set)(e,"isLoadingMoreInvites",!0)
|
|
return this.sentModelHash(this.paramsFor(this.routeName),!1).then((t=>{if(!(0,r.isDestroying)(this)){(0,s.setProperties)(e,t);(0,s.set)(e,"invitationViews",(0,s.get)(e,"sentInvitationViews.elements"))
|
|
this._setupSentInvitations(e);(0,s.set)(e,"isLoadingMoreInvites",!1)}}))}afterModel(e){if((0,r.isDestroying)(this))return
|
|
const t=(0,s.get)(e,"rawInvitationFacets.elements")||[]
|
|
this._activateSelectedInvitationFacet(e,t);(0,s.setProperties)(e,{invitationFacets:t,invitationViews:(0,s.get)(e,"sentInvitationViews.elements"),sentInvitationType:(0,s.get)(e,"sentInvitationViews.metadata.invitationType")})
|
|
this._exitLoadingState(e)
|
|
this._setupSentInvitations(e)
|
|
const n=(0,s.get)(e,"itemStart")+(0,s.get)(e,"invitationViews.length")-1<(0,s.get)(e,"total");(0,p.whenRouteIdle)().then((()=>{if(!(0,r.isDestroying)(this)){n&&this._loadMoreInvites(e)
|
|
this._setFocusOnPill(e)}}))}_setFocusOnPill(e){if(h.default){const t=document.querySelector(`#mn-invitation-manager__invitation-facet-pills--${(0,s.get)(e,"invitationType")}`)
|
|
t instanceof window.HTMLButtonElement&&t.focus()}}_activateSelectedInvitationFacet(e,t){t.forEach((t=>{const n=(0,s.get)(t,"invitationType"),i=(0,s.get)(e,"invitationType"),o=n===i||"CONNECTION"===n&&(0,c.isEmpty)(i);(0,s.set)(t,"isSelected",o)}))}_updateSentInvitationsSummary(e){const t=(0,s.get)(e,"invitationType");(0,s.get)(e,"invitationFacets").forEach((e=>{const n=(0,s.get)(e,"invitationType");(n===t||"CONNECTION"===n&&(0,c.isEmpty)(t))&&e.decrementProperty("count")}))}_enterLoadingState(e){(0,s.setProperties)(e,{invitationViews:[],isLoadingMoreInvites:!0,sentEmptyStateEnabled:!1});(0,s.get)(e,"invitationFacets").forEach((e=>{(0,s.set)(e,"isDisabled",!0)}))}_exitLoadingState(e){const t=(0,s.get)(e,"invitationFacets");(0,s.set)(e,"isLoadingMoreInvites",!1)
|
|
t&&t.forEach((e=>{(0,s.set)(e,"isDisabled",!1)}))}_addInvitationToCacheIdList(e){const t=(0,s.get)(this.controllerFor("invitation-manager"),"resolvedSentInvitationCache"),n=(0,s.get)(e,"invitation.entityUrn")
|
|
t.push(n)}updateSentInvitations(e){const{currentModel:t}=this
|
|
this._updateSentInvitationsSummary(t)
|
|
this._addInvitationToCacheIdList(e)
|
|
this._loadMoreInvites(this.currentModel)}changeInvitationType(e){const{currentModel:t}=this
|
|
if((0,s.get)(t,"invitationType")!==e){this._enterLoadingState(t)
|
|
this.router.transitionTo({queryParams:{page:1,invitationType:e||"CONNECTION"}})}}},T=(0,i.default)(k.prototype,"jet",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(k.prototype,"invitationPlatform",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(k.prototype,"router",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(k.prototype,"graphql",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(k.prototype,"updateSentInvitations",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"updateSentInvitations"),k.prototype),(0,i.default)(k.prototype,"changeInvitationType",[s.action],Object.getOwnPropertyDescriptor(k.prototype,"changeInvitationType"),k.prototype),k)}))
|
|
define("mynetwork/routes/invite-accept",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","global-utils/utils/is-browser","global-utils/utils/urn-converter","mynetwork-shared/utils/constants","mynetwork/utils/is-http-error-status"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h,g,b,_,w,v,k
|
|
const T=[...u.MYNETWORK_ERROR_TAGS,"mynetwork-invite-accept-error-log"]
|
|
e.default=(d=(0,a.inject)("client-sensor-web@client-sensor"),p=(0,a.inject)("tracking"),f=(0,a.inject)("invitation-platform@invitation-platform"),y=(0,a.inject)("jet"),h=(0,a.inject)("router"),g=class e extends l.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people_invite_accept");(0,t.default)(this,"clientSensor",b,this);(0,t.default)(this,"tracking",_,this);(0,t.default)(this,"invitationPlatform",w,this);(0,t.default)(this,"jet",v,this);(0,t.default)(this,"router",k,this)}beforeModel(){this.tracking.firePageViewEvent(this.pageKey)}model(e,t){var n
|
|
if((0,r.isDestroying)(this))return
|
|
if(!s.default)return null
|
|
const{invitationId:i,sharedKey:o}=e
|
|
this.invitationId=i
|
|
const{entityType:a,inviterVanityName:l,invitationTargetUrn:c,trkEmail:u}=(null===(n=t.to)||void 0===n?void 0:n.queryParams)||{}
|
|
return a&&c?this._acceptEntityInvite({invitationId:i,sharedKey:o,entityType:a,invitationTargetUrn:c}):this._acceptMemberInvite({invitationId:i,inviterVanityName:l,sharedKey:o,trkEmail:u})}_acceptMemberInvite(e){let{invitationId:t,inviterVanityName:n,sharedKey:i,trkEmail:o}=e
|
|
const a=o?"EMAIL":"OTHER"
|
|
return this.invitationPlatform.singleInvitationActionRequest({invitationIdOrUrn:t,sharedKey:i,action:"accept",invitationType:"CONNECTION"}).then((e=>this._transitionToHeathrowRedirect(e,!1,a,t,n))).catch((e=>{if((0,r.isDestroying)(this))throw e
|
|
if((0,m.default)(e)){this.jet.logError(e,T,!1)
|
|
return this._transitionToHeathrowRedirect(null,!0,a,t,n)}throw e}))}_acceptEntityInvite(t){let{invitationId:n,sharedKey:i,entityType:o,invitationTargetUrn:a}=t
|
|
const{entityRoute:l,invitationType:s,entityId:c}=e._getEntityInfo(o,a)
|
|
return l?this.invitationPlatform.singleInvitationActionRequest({invitationIdOrUrn:n,sharedKey:i,action:"accept",invitationType:s}).then((()=>this.transitionToExternal(l,c,{queryParams:{entityInviteAccepted:!0}}))).catch((e=>{if((0,r.isDestroying)(this))throw e
|
|
if((0,m.default)(e)){this.jet.logError(e,T,!1)
|
|
return this._transitionToInvitationManager(s)}throw e})):this._transitionToInvitationManager(s)}static _getEntityInfo(e,t){const n=(0,c.fromUrn)(t).id
|
|
switch(e){case"EVENT":return{entityRoute:"events.index",invitationType:"EVENT",entityId:n}
|
|
case"PAGE":return{entityRoute:"companies.company",invitationType:"ORGANIZATION",entityId:n}
|
|
case"GROUP":return{entityRoute:"groups.groups-entity.index",invitationType:"GROUP",entityId:n}
|
|
case"SERIES":return{entityRoute:"publishing-entity.newsletter",invitationType:"CONTENT_SERIES",entityId:n}
|
|
default:return{}}}_transitionToInvitationManager(e){return this.router.transitionTo("mynetwork.invitation-manager",{queryParams:{entityInviteFailed:!0,invitationType:e}})}_transitionToHeathrowRedirect(e,t,n,i,o){e&&!t&&this.invitationPlatform.writeFreshlyActedOnInvitationToCache(e,"accept")
|
|
const r=o,a={origin:n,invitationId:i,isAcceptInvite:!0}
|
|
r&&(a.vanityName=r)
|
|
t&&(a.inviteActionFailed=!0)
|
|
if(!e)return this.router.transitionTo("mynetwork.index",{queryParams:a})
|
|
if(r)return this.router.transitionTo("suggested-for-you.index","based-on-your-accepted-invite",{queryParams:{vanityName:r,triggerAction:"ACCEPT_INVITATION",error:t,origin:"EMAIL"===n?"EMAIL":"IN_APP"}})
|
|
this.clientSensor.incrementMetricCounter({groupName:"recommended-actions",metricName:"missing-vanity-name-invite-accept"})
|
|
return this.router.transitionTo("mynetwork.index",{queryParams:a})}},b=(0,i.default)(g.prototype,"clientSensor",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(g.prototype,"tracking",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(g.prototype,"invitationPlatform",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(g.prototype,"jet",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,i.default)(g.prototype,"router",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g)}))
|
|
define("mynetwork/routes/invite-accepted-common",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var s,c,u
|
|
const m=Object.freeze({refreshModel:!1})
|
|
e.default=(s=(0,l.inject)("router"),c=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"router",u,this);(0,n.default)(this,"pageKey","flagship3_people_invite_accept_landing");(0,n.default)(this,"queryParams",{acceptedFrom:m})}model(e){if((0,r.isDestroying)(this))return
|
|
const{inviterVanityName:t,acceptedFrom:n}=e
|
|
this.router.transitionTo("mynetwork.heathrow-redirect",{queryParams:{origin:n||"EMAIL",vanityName:t,isAcceptInvite:!0}})}},u=(0,i.default)(c.prototype,"router",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)}))
|
|
define("mynetwork/routes/invite-accepted-contextual",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/routing/route"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends n.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_people_invite_accepted_contextual")}beforeModel(e){const t=e.to?e.to.params:{},{inviteActionFailed:n,origin:i}=e.to?e.to.queryParams:{},{inviteeVanityName:o}=t
|
|
this.replaceWithExternal("suggested-for-you.index","based-on-your-accepted-invite",{queryParams:{vanityName:o,triggerAction:"ACCEPT_INVITATION",error:n,origin:"EMAIL"===i?"EMAIL":"IN_APP"}})}}e.default=i}))
|
|
define("mynetwork/routes/invite-accepted",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","rsvp","@ember/routing/route","global-utils/utils/urn-converter","@linkedin/abi-js/src/index","mynetwork/utils/mynetwork-request","ember-app-scheduler","discover-utils/utils/discover-util","mynetwork/utils/connection-util","mynetwork/utils/constants","mynetwork/utils/constants-common","mynetwork/utils/heathrow-organization-util"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p,f,y,h,g,b){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var _,w,v,k,T
|
|
e.default=(_=(0,a.inject)("jet"),w=(0,a.inject)("global-services@store-shim"),v=class extends c.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people_invite_accept_landing");(0,t.default)(this,"jet",k,this);(0,t.default)(this,"storeShim",T,this);(0,n.default)(this,"queryParams",{sentFrom:g.NO_REFRESH,inviteActionFailed:g.NO_REFRESH,isAcceptInvite:g.NO_REFRESH,knownError:g.NO_REFRESH})}model(e,t){if((0,r.isDestroying)(this))return
|
|
const{queryParams:n}=t.to?t.to:{},{inviteeVanityName:i}=e,{jet:o,storeShim:a}=this,c={inviteeVanityName:i,profile:d.default.getNormalizedProfileByVanityName(a,{jet:o,vanityName:i,recipe:h.HEATHROW.NORMALIZED_PROFILE_RECEIPE})}
|
|
return(0,s.hash)(c).then((t=>{if((0,r.isDestroying)(this))return
|
|
const i={acceptInvite:!0,organizationAcceptInvite:!!e.isAcceptInvite,inviteActionFailed:n.inviteActionFailed,knownError:n.knownError}
|
|
if(t.profile){const e=(0,u.convertUrnType)("identity/shared/mini-profile",(0,l.get)(t,"profile.entityUrn"));(0,l.set)(i,"cohortRecommendationsReason",{sourceType:"PYMK_ENTITY",reasonContext:"PYMK_ENTITY",reasonObjects:[e]})}return Object.assign(t,i)}))}setupController(e,t){if((0,r.isDestroying)(this))return
|
|
super.setupController(...arguments)
|
|
const n=(0,b.default)((0,l.get)(t,"profile"))&&!(0,l.get)(t,"inviteActionFailed");(0,l.set)(e,"hasOrganizationExperience",n)}onAfterFirstRoutePaint(){if(this.isDestroying)return
|
|
const{currentModel:e,jet:t,storeShim:n}=this,i=(0,l.get)(e,"cohortRecommendationsReason"),o=f.default.getAllRecommendationsByReasons({store:n,jet:t,reasons:[i],start:0,count:h.HEATHROW.INITIAL_DISCOVERY_FETCH_COUNT}),r=(0,y.getConnectionsSummary)(n,{jet:t}),a=d.default.getPrefillEmail(n,t);(0,s.hash)({connectionsSummary:r,prefillEmail:a,pymkRecommendations:o}).then((e=>{if(this.isDestroying)return;(0,l.setProperties)(this.controller,{abiInstance:new m.Abi(s.Promise),prefillEmail:e.prefillEmail})
|
|
const t=e.pymkRecommendations;(0,l.setProperties)(this.currentModel,{connectionsSummary:e.connectionsSummary,isFirstRoutePaintDone:!0,paginationToken:(0,l.get)(t,"metadata.paginationToken"),pymks:(0,l.get)(t,"elements")})}))}didTransition(){(0,p.whenRouteIdle)().then((()=>this.onAfterFirstRoutePaint()))}},k=(0,i.default)(v.prototype,"jet",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(v.prototype,"storeShim",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(v.prototype,"didTransition",[l.action],Object.getOwnPropertyDescriptor(v.prototype,"didTransition"),v.prototype),v)}))
|
|
define("mynetwork/routes/invite-connect/connections",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","rsvp","@ember/routing/route","@linkedin/abi-js/src/index","mynetwork/utils/constants-common","search-utils/utils/constants","abi-shared/utils/constants-base","discover-utils/utils/discover-util","mynetwork/utils/mynetwork-request","mynetwork/utils/connection-util"],(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,v,k,T,I,E
|
|
e.default=(g=(0,a.inject)("heathrow@heathrow"),b=(0,a.inject)("jet"),_=(0,a.inject)("lix"),w=(0,a.inject)("global-services@store-shim"),v=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"heathrow",k,this);(0,t.default)(this,"jet",T,this);(0,t.default)(this,"lix",I,this);(0,t.default)(this,"storeShim",E,this);(0,n.default)(this,"linkToAddConnections",!1);(0,n.default)(this,"pageKey","flagship3_people_connections");(0,n.default)(this,"pymkUsageContext",null);(0,n.default)(this,"sortType","RECENTLY_ADDED");(0,n.default)(this,"start",0)}get isDeprecateContactsLixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.invitations-deprecate-contacts")}model(){if((0,r.isDestroying)(this))return
|
|
const{sortType:e,jet:t,storeShim:n}=this,i={sourceType:"PYMK_ENTITY",reasonContext:"PYMK_ENTITY"},o={sortType:e,count:40,q:"search",recipe:"com.linkedin.voyager.dash.deco.web.mynetwork.ConnectionListWithProfile"},a=(0,h.getConnections)(n,{options:o,jet:t}),c=(0,h.getConnectionsSummary)(n,{jet:t}),u=f.default.getAllRecommendationsByReasons({store:n,jet:t,reasons:[i],start:0,count:4})
|
|
return(0,s.hash)({connections:a,connectionsSummary:c,cohortRecommendationsReason:i,pymkEntities:u}).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t={}
|
|
null===e.pymkEntities?(0,l.setProperties)(t,{isPymkRecommendationsFailure:!0,recommendationError:m.ERROR_STATE_TYPES.RECOMMENDATION}):(0,l.setProperties)(t,{pymkEntities:(0,l.get)(e.pymkEntities,"elements"),pymkPaginationToken:(0,l.get)(e,"pymkEntities.metadata.paginationToken"),prefetchedEntitiesCount:4});(0,l.set)(t,"isDeprecateContactsLixEnabled",this.isDeprecateContactsLixEnabled)
|
|
return Object.assign(e,t)}))}determinePromoType(){return this.heathrow.organicAbiShouldSkipImport().then((e=>{if(!(0,r.isDestroying)(this))return e?"wylo":"abi"}))}afterModel(e){if((0,r.isDestroying)(this))return
|
|
if(e.isDeprecateContactsLixEnabled){(0,l.set)(this.modelFor("invite-connect"),"isDeprecateContactsLixEnabled",!0)
|
|
return}for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i]
|
|
super.afterModel(e,...n)
|
|
const o=new u.Abi(s.Promise);(0,l.get)(e,"connections").length?this.determinePromoType().then((e=>{if(!(0,r.isDestroying)(this))if("wylo"===e)(0,l.set)(this.modelFor("invite-connect"),"showWyloPromo",!0)
|
|
else{y.default.getPrefillEmail(this.storeShim,this.jet).then((e=>{(0,r.isDestroying)(this)||(0,l.setProperties)(this.modelFor("invite-connect"),{abiInstance:o,prefillEmail:(0,l.get)(e,"firstObject"),showAbiPromo:!0})}))}})):(0,l.setProperties)(e,{abi:o,abiEntryPoint:p.ABI_ENTRY_POINT.CONNECTIONS_PAGE_NO_CONNECTIONS})}setupController(e){if((0,r.isDestroying)(this))return
|
|
super.setupController(...arguments)
|
|
const t=(0,l.get)(this,"currentModel.connectionsSummary");(0,l.setProperties)(e,{searchWithFiltersQueryParams:d.SEE_ALL_SELF_CONNECTIONS_QUERY_PARAMS,memberHasConnections:t>=1})}enableEmptyState(){(0,l.set)(this,"controller.memberHasConnections",!1)}},k=(0,i.default)(v.prototype,"heathrow",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(v.prototype,"jet",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(v.prototype,"lix",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(v.prototype,"storeShim",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(v.prototype,"enableEmptyState",[l.action],Object.getOwnPropertyDescriptor(v.prototype,"enableEmptyState"),v.prototype),v)}))
|
|
define("mynetwork/routes/invite-connect/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var s,c,u
|
|
e.default=(s=(0,l.inject)("router"),c=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"router",u,this)}redirect(){(0,r.isDestroying)(this)||this.router.replaceWith("mynetwork.invite-connect.connections")}},u=(0,i.default)(c.prototype,"router",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)}))
|
|
define("mynetwork/routes/invite-connect/invitations",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var s,c,u
|
|
e.default=(s=(0,l.inject)("router"),c=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"router",u,this)}redirect(){(0,r.isDestroying)(this)||this.router.replaceWith("mynetwork.invitation-manager.pending")}},u=(0,i.default)(c.prototype,"router",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)}))
|
|
define("mynetwork/routes/invite-send",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/routing/route","global-utils/utils/is-browser","global-utils/utils/url"],(function(e,t,n,i,o,r,a,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var u,m,d,p,f,y,h
|
|
e.default=(u=(0,a.inject)("invitation-platform@invitation-platform"),m=(0,a.inject)("router"),d=(0,a.inject)("client-sensor-web@client-sensor"),p=class e extends l.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people_invite_send");(0,n.default)(this,"signatureUrl",null);(0,t.default)(this,"invitationPlatform",f,this);(0,t.default)(this,"router",y,this);(0,t.default)(this,"clientSensor",h,this)}getSignatureUrl(e,t){let{to:n}=e
|
|
const i=n?n.queryParams:{}
|
|
return(0,c.getDomainUrl)()+this.router.urlFor(n.name,{inviteeVanityName:t},{queryParams:i})}static _getInvitationSource(){let{trkEmail:e,trkPush:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}
|
|
return e?"EMAIL":t?"PUSH":"PROFILE"}model(t,n){if(!(0,r.isDestroying)(this)&&s.default){const{inviteeVanityName:i}=t,o=n.to?n.to.queryParams:{},a=e._getInvitationSource(o),l=this.getSignatureUrl(n,i)
|
|
this.invitationPlatform.sendInvitationWithVanityName(i,l).then((()=>{(0,r.isDestroying)(this)||this._transitionToCLP(i,a,!1)})).catch((e=>{if((0,r.isDestroying)(this))throw e
|
|
this._transitionToCLP(i,a,!0)}))}}_transitionToCLP(e,t,n){const i={vanityName:e,origin:t}
|
|
n&&(i.inviteActionFailed=!0)
|
|
if(e)return this.router.transitionTo("suggested-for-you.index","based-on-your-sent-invite",{queryParams:i})
|
|
this.clientSensor.incrementMetricCounter({groupName:"recommended-actions",metricName:"missing-vanity-name-invite-send"})
|
|
return this.router.transitionTo("mynetwork.index",{queryParams:i})}},f=(0,i.default)(p.prototype,"invitationPlatform",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(p.prototype,"router",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(p.prototype,"clientSensor",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),p)}))
|
|
define("mynetwork/routes/invite-sent",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/service","@ember/object","rsvp","@ember/routing/route","global-helpers/helpers/name","global-utils/utils/urn-converter","@linkedin/abi-js/src/index","mynetwork/utils/mynetwork-request","ember-app-scheduler","discover-utils/utils/discover-util","mynetwork/utils/connection-util","mynetwork/utils/constants","mynetwork/utils/constants-common","mynetwork/utils/heathrow-organization-util","data-layer/utils/profile/get-profile","mynetwork/components/heathrow-toast"],(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,I,E,O,C,P,S,N,R,A,D,M
|
|
e.default=(k=(0,a.inject)("authentication@authenticated-user"),T=(0,a.inject)("i18n"),I=(0,a.inject)("jet"),E=(0,a.inject)("global-services@local-storage"),O=(0,a.inject)("persistent-toast-manager@persistent-toast-manager"),C=(0,a.inject)("global-services@store-shim"),P=class extends c.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_people_invite_sent_landing");(0,t.default)(this,"authenticatedUser",S,this);(0,t.default)(this,"i18n",N,this);(0,t.default)(this,"jet",R,this);(0,t.default)(this,"localStorage",A,this);(0,t.default)(this,"persistentToastManager",D,this);(0,t.default)(this,"storeShim",M,this);(0,n.default)(this,"queryParams",{sentFrom:b.NO_REFRESH,inviteActionFailed:b.NO_REFRESH,isSendInvite:b.NO_REFRESH,knownError:b.NO_REFRESH})}model(e,t){if((0,r.isDestroying)(this))return
|
|
const{queryParams:n}=t.to?t.to:{},{inviteeVanityName:i}=e,{jet:o,storeShim:a}=this,c={inviteeVanityName:i,profile:p.default.getNormalizedProfileByVanityName(a,{jet:o,vanityName:i,recipe:g.HEATHROW.NORMALIZED_PROFILE_RECEIPE})}
|
|
return(0,s.hash)(c).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t={sendInvite:!0,inviteActionFailed:n.inviteActionFailed,knownError:n.knownError}
|
|
if(e.profile){const n=(0,m.convertUrnType)("identity/shared/mini-profile",(0,l.get)(e,"profile.entityUrn"));(0,l.set)(t,"cohortRecommendationsReason",{sourceType:"PYMK_ENTITY",reasonContext:"PYMK_ENTITY",reasonObjects:[n]})}return Object.assign(t,e)}))}setupController(e,t){if((0,r.isDestroying)(this))return
|
|
super.setupController(...arguments)
|
|
const n=(0,_.default)((0,l.get)(t,"profile"))&&!(0,l.get)(t,"inviteActionFailed");(0,l.set)(e,"hasOrganizationExperience",n)}handleProfilePhotoUploadRoute(e,t){const n=(0,l.get)(this,"authenticatedUser.miniProfile.publicIdentifier");(0,w.getProfileById)(this.storeShim,e.queryParams.member,"com.linkedin.voyager.dash.deco.identity.profile.MiniProfile").then((e=>{if((0,r.isDestroying)(this))return
|
|
const t=this.i18n.lookupTranslation(v.default,"i18n_invitation_sent")([{member:(0,u.getName)(e)}])
|
|
this.persistentToastManager.success({message:t})}))
|
|
Object.assign(e.queryParams,{contextType:"MY_NETWORK",action:"send"})
|
|
if(this.localStorage&&this.localStorage.cacheAvailable){const e=(new Date).getTime()
|
|
this.localStorage.setKeyedObjectValue("heathrowPhotoTimestamp",0,{lastSeen:e})}this.transitionToExternal("profile-ge.category.task",n,"add-photo","photo",e)
|
|
throw t}onAfterFirstRoutePaint(){if(this.isDestroying)return
|
|
const{currentModel:e,jet:t,storeShim:n}=this,i=(0,l.get)(e,"cohortRecommendationsReason"),o=y.default.getAllRecommendationsByReasons({store:n,jet:t,reasons:[i],start:0,count:g.HEATHROW.INITIAL_DISCOVERY_FETCH_COUNT}),r=(0,h.getConnectionsSummary)(n,{jet:t}),a=p.default.getPrefillEmail(n,t);(0,s.hash)({connectionsSummary:r,prefillEmail:a,pymkRecommendations:o}).then((e=>{if(this.isDestroying)return;(0,l.setProperties)(this.controller,{abiInstance:new d.Abi(s.Promise),prefillEmail:e.prefillEmail})
|
|
const t=e.pymkRecommendations;(0,l.setProperties)(this.currentModel,{connectionsSummary:e.connectionsSummary,isFirstRoutePaintDone:!0,paginationToken:(0,l.get)(t,"metadata.paginationToken"),pymks:(0,l.get)(t,"elements")})}))}didTransition(){(0,f.whenRouteIdle)().then((()=>this.onAfterFirstRoutePaint()))}},S=(0,i.default)(P.prototype,"authenticatedUser",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),N=(0,i.default)(P.prototype,"i18n",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,i.default)(P.prototype,"jet",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,i.default)(P.prototype,"localStorage",[E],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,i.default)(P.prototype,"persistentToastManager",[O],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M=(0,i.default)(P.prototype,"storeShim",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(P.prototype,"didTransition",[l.action],Object.getOwnPropertyDescriptor(P.prototype,"didTransition"),P.prototype),P)}))
|
|
define("mynetwork/routes/network-manager",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","@ember/service","mynetwork/utils/constants","mynetwork/utils/network-manager"],(function(e,t,n,i,o,r,a,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var c,u,m
|
|
e.default=(c=(0,a.inject)("router"),u=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"router",m,this)}beforeModel(e){const t=(0,s.sliceNetworkMangerRoute)(e.to.name)
|
|
switch(t[0]){case"events":this.router.transitionTo(`mynetwork.${l.ROUTES.NETWORK_MANAGER_EVENTS}`)
|
|
break
|
|
case"newsletters":this.router.transitionTo(`mynetwork.${l.ROUTES.NETWORK_MANAGER_NEWSLETTERS}`)
|
|
break
|
|
case"people-follow":this.handlePeopleFollowNestedRoutes(t)
|
|
break
|
|
case"hashtags":this.router.transitionTo(`mynetwork.${l.ROUTES.NETWORK_MANAGER_HASHTAGS}`)
|
|
break
|
|
case"company":this.router.transitionTo(`mynetwork.${l.ROUTES.NETWORK_MANAGER_COMPANY}`)
|
|
break
|
|
default:this.router.transitionTo(`mynetwork.${l.ROUTES.MYNETWORK_INDEX}`)}}handlePeopleFollowNestedRoutes(e){switch(e.join(".")){case"people-follow.index":case"people-follow.following":this.router.transitionTo(`mynetwork.${l.ROUTES.NETWORK_MANAGER_PEOPLE_FOLLOW}`)
|
|
break
|
|
case"people-follow.followers":this.router.transitionTo(`mynetwork.${l.ROUTES.NETWORK_MANAGER_PEOPLE_FOLLOW_FOLLOWERS}`)
|
|
break
|
|
default:this.router.transitionTo(`mynetwork.${l.ROUTES.ROUTES.NETWORK_MANAGER_PEOPLE_FOLLOW}`)}}},m=(0,i.default)(u.prototype,"router",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u)}))
|
|
define("mynetwork/routes/network-manager/-base",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service","@ember/object","mynetwork/utils/network-manager","rsvp"],(function(e,t,n,i,o,r,a,l,s,c,u){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var m,d,p,f,y
|
|
e.default=(m=(0,l.inject)("jet"),d=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),p=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"jet",f,this);(0,t.default)(this,"graphql",y,this);(0,n.default)(this,"controllerName","network-manager/-base");(0,n.default)(this,"resultType",void 0)}model(){if((0,r.isDestroying)(this))return
|
|
return(0,u.hash)({entityResults:this.onNextPage()})}onNextPage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0
|
|
const n=(0,c.configureEntitiesQueryGraphQL)({start:t,resultType:this.resultType})
|
|
return this.graphql.executeQuery(...n,{reload:!0}).then((t=>{var n
|
|
if((0,r.isDestroying)(this))return
|
|
const i=null==t||null===(n=t.data)||void 0===n?void 0:n.searchDashClustersByAll
|
|
e&&e.resolve(i)
|
|
return i})).catch((t=>{if((0,r.isDestroying)(this))throw t
|
|
e&&e.reject(t)
|
|
if((0,c.handleEntitiesError)(this.jet,t,this.resultType)||t.errors.length)return{isErrorLoadingEntities:!0}
|
|
throw t}))}},f=(0,i.default)(p.prototype,"jet",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(p.prototype,"graphql",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(p.prototype,"onNextPage",[s.action],Object.getOwnPropertyDescriptor(p.prototype,"onNextPage"),p.prototype),p)}))
|
|
define("mynetwork/routes/network-manager/company",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/destroyable","@ember/routing/route","rsvp","@ember/object"],(function(e,t,n,i,o,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class a extends i.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_people_company")}model(){if((0,n.isDestroying)(this))return
|
|
const e=this.controllerFor(this.routeName),t={companiesFollowed:e._fetchFollowedEntities()}
|
|
return(0,o.hash)(t).then((t=>{if((0,n.isDestroying)(this))return
|
|
const i={}
|
|
if((0,r.get)(t,"companiesFollowed.isErrorLoadingEntities"))(0,r.set)(i,"isErrorLoadingEntities",!0)
|
|
else{(0,r.setProperties)(i,{companiesFollowed:(0,r.get)(t,"companiesFollowed"),companiesFollowedCount:(0,r.get)(t,"companiesFollowed.paging.total")});(0,r.setProperties)(e,{start:e.fetchEntityCount})}return i}))}}e.default=a}))
|
|
define("mynetwork/routes/network-manager/events",["exports","@babel/runtime/helpers/esm/defineProperty","mynetwork/utils/network-manager","mynetwork/routes/network-manager/-base"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class o extends i.default{constructor(){super(...arguments);(0,t.default)(this,"controllerName","network-manager/events");(0,t.default)(this,"resultType",n.ENTITY_RESULT_TYPES.EVENTS);(0,t.default)(this,"pageKey","flagship3_people_events")}}e.default=o}))
|
|
define("mynetwork/routes/network-manager/hashtags",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/destroyable","@ember/routing/route","rsvp","@ember/object"],(function(e,t,n,i,o,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class a extends i.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_people_hashtag")}model(){if((0,n.isDestroying)(this))return
|
|
const e=this.controllerFor(this.routeName),t={hashtagsFollowed:e._fetchFollowedEntities()}
|
|
return(0,o.hash)(t).then((t=>{if((0,n.isDestroying)(this))return
|
|
const i={}
|
|
if((0,r.get)(t,"hashtagsFollowed.isErrorLoadingEntities"))(0,r.set)(i,"isErrorLoadingEntities",!0)
|
|
else{(0,r.setProperties)(i,{hashtagsFollowed:(0,r.get)(t,"hashtagsFollowed"),hashtagsFollowedCount:(0,r.get)(t,"hashtagsFollowed.paging.total")});(0,r.setProperties)(e,{start:e.fetchEntityCount})}return i}))}}e.default=a}))
|
|
define("mynetwork/routes/network-manager/newsletters",["exports","@babel/runtime/helpers/esm/defineProperty","mynetwork/utils/network-manager","mynetwork/routes/network-manager/-base"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class o extends i.default{constructor(){super(...arguments);(0,t.default)(this,"resultType",n.ENTITY_RESULT_TYPES.NEWSLETTERS);(0,t.default)(this,"pageKey","flagship3_people_newsletters")}}e.default=o}))
|
|
define("mynetwork/routes/network-manager/people-follow",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/routing/route"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
class i extends n.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_people_pf")}}e.default=i}))
|
|
define("mynetwork/routes/network-manager/people-follow/followers",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service","rsvp","@ember/object","mynetwork/utils/follow-util","mynetwork/utils/network-manager"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h
|
|
e.default=(d=(0,l.inject)("jet"),p=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),f=class extends a.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_curation_hub_pf_followers");(0,t.default)(this,"jet",y,this);(0,t.default)(this,"graphql",h,this)}beforeModel(){(0,c.setProperties)(this.controllerFor("network-manager.people-follow"),{currentTab:u.PEOPLE_FOLLOW.FOLLOWERS})}model(){if((0,r.isDestroying)(this))return
|
|
const{graphql:e,jet:t}=this,n={peopleFollowers:(0,u.fetchCurationHubEntities)({graphql:e,jet:t,resultType:m.ENTITY_RESULT_TYPES.PEOPLE_FOLLOWERS})}
|
|
return(0,s.hash)(n).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t={}
|
|
if((0,c.get)(e,"peopleFollowers.isErrorLoadingEntities"))(0,c.set)(t,"isErrorLoadingEntities",!0)
|
|
else{(0,c.setProperties)(t,{peopleFollowers:(0,c.get)(e,"peopleFollowers"),peopleFollowersCount:(0,c.get)(e,"peopleFollowers.paging.total")});(0,c.setProperties)(this.controllerFor(this.routeName),{start:u.FOLLOW_ENTITIES_FETCH_COUNT,isScrollDisabled:!1})}return t}))}},y=(0,i.default)(f.prototype,"jet",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(f.prototype,"graphql",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
|
|
define("mynetwork/routes/network-manager/people-follow/following",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service","rsvp","@ember/object","mynetwork/utils/follow-util","mynetwork/utils/network-manager"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h
|
|
e.default=(d=(0,l.inject)("jet"),p=(0,l.inject)("@linkedin/ember-restli-graphql@graphql"),f=class extends a.default{constructor(){super(...arguments);(0,n.default)(this,"pageKey","flagship3_curation_hub_pf_following");(0,t.default)(this,"jet",y,this);(0,t.default)(this,"graphql",h,this)}beforeModel(){(0,c.setProperties)(this.controllerFor("network-manager.people-follow"),{currentTab:u.PEOPLE_FOLLOW.FOLLOWING})}model(){if((0,r.isDestroying)(this))return
|
|
const{graphql:e,jet:t}=this,n={peopleFollowed:(0,u.fetchCurationHubEntities)({graphql:e,jet:t,resultType:m.ENTITY_RESULT_TYPES.PEOPLE_FOLLOW})}
|
|
return(0,s.hash)(n).then((e=>{if((0,r.isDestroying)(this))return
|
|
const t={}
|
|
if((0,c.get)(e,"peopleFollowed.isErrorLoadingEntities"))(0,c.set)(t,"isErrorLoadingEntities",!0)
|
|
else{(0,c.setProperties)(t,{peopleFollowed:(0,c.get)(e,"peopleFollowed"),peopleFollowedCount:(0,c.get)(e,"peopleFollowed.paging.total")});(0,c.setProperties)(this.controllerFor(this.routeName),{start:u.FOLLOW_ENTITIES_FETCH_COUNT,isScrollDisabled:!1})}return t}))}},y=(0,i.default)(f.prototype,"jet",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(f.prototype,"graphql",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
|
|
define("mynetwork/routes/network-manager/people-follow/index",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/routing/route","@ember/service","mynetwork/utils/follow-util"],(function(e,t,n,i,o,r,a,l,s){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var c,u,m
|
|
e.default=(c=(0,l.inject)("router"),u=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"router",m,this)}redirect(){(0,r.isDestroying)(this)||this.router.transitionTo(s.PEOPLE_FOLLOW_ROUTE_PATH.following)}},m=(0,i.default)(u.prototype,"router",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u)}))
|
|
define("mynetwork/routes/nurture",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","mynetwork/routes/index","@ember/service","rsvp","@ember/destroyable","@ember/object"],(function(e,t,n,i,o,r,a,l,s,c){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var u,m,d,p,f,y,h,g,b
|
|
e.default=(u=(0,a.inject)("global-nav-shared@badge"),m=(0,a.inject)("lix"),d=(0,a.inject)("props-shared@nurture-tracking"),p=(0,a.inject)("router"),f=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"badge",y,this);(0,t.default)(this,"lix",h,this);(0,t.default)(this,"nurtureTracking",g,this);(0,t.default)(this,"router",b,this)}get isNurtureTabEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.mynetwork-mojo-tabbed-experience")}beforeModel(){this.isNurtureTabEnabled||this.router.transitionTo("mynetwork.index")}model(e){let{tab:t}=e
|
|
if(!(0,s.isDestroying)(this))return(0,l.hash)(super.model(...arguments)).then((e=>{if(!(0,s.isDestroying)(this))return{...e,currentTab:t}}))}afterModel(e,t){if(!(0,s.isDestroying)(this)){if(t.from){this.badge.fireBadgeInteractionEvent(null,this.nurtureTracking.currentControlName,"grow"===e.currentTab?"mynetwork_grow":"nurture")
|
|
this.nurtureTracking.resetCurrentControlName()}return e}}},y=(0,i.default)(f.prototype,"badge",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(f.prototype,"lix",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(f.prototype,"nurtureTracking",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"router",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(f.prototype,"afterModel",[c.action],Object.getOwnPropertyDescriptor(f.prototype,"afterModel"),f.prototype),f)}))
|
|
define("mynetwork/routes/nurture/grow",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/classPrivateMethodGet","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","@ember/destroyable","@ember/object","@ember/service","global-utils/utils/is-browser","props-shared/utils/tracking"],(function(e,t,n,i,o,r,a,l,s,c,u,m){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var d,p,f,y,h,g,b,_
|
|
e.default=(d=(0,c.inject)("global-nav-shared@badge"),p=(0,c.inject)("invitation-platform@invitation-platform"),f=(0,c.inject)("tracking"),y=(_=new WeakSet,class extends a.default{constructor(){super(...arguments)
|
|
_.add(this);(0,n.default)(this,"pageKey","flagship3_people");(0,t.default)(this,"badgeService",h,this);(0,t.default)(this,"invitationPlatform",g,this);(0,t.default)(this,"tracking",b,this)}model(){if(!(0,l.isDestroying)(this))return this.modelFor("nurture")}didTransition(){const{badgeService:e,tracking:t}=this,n=e.getBadgeCount("nurture"),o=e.getBadgeCount("mynetwork")-n;(0,m.fireMyNetworkSubtabBadgeImpressionEvent)(t,o,n)
|
|
e.markAllItemsAsSeen({badgeName:"mynetwork"})
|
|
e.setBadgeCount("mynetwork",n)
|
|
u.default&&(0,i.default)(this,_,w).call(this)
|
|
return!0}}),h=(0,o.default)(y.prototype,"badgeService",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,o.default)(y.prototype,"invitationPlatform",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,o.default)(y.prototype,"tracking",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,o.default)(y.prototype,"didTransition",[s.action],Object.getOwnPropertyDescriptor(y.prototype,"didTransition"),y.prototype),y)
|
|
function w(){this.invitationPlatform.clearUnseenInvitations(this.currentModel.invitationsSummary).then((e=>{(0,l.isDestroying)(this)||(this.currentModel.invitationsSummary=e)}))}}))
|
|
define("mynetwork/routes/settings/manage-syncing",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@ember/service","abi-shared/routes/settings/manage-syncing"],(function(e,t,n,i,o,r,a,l){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
var s,c,u
|
|
e.default=(s=(0,a.inject)("locale"),c=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"locale",u,this)
|
|
this.isDisableSingleSourceSync="en_US"!==(0,r.get)(this,"locale.interfaceLocale")}refreshManageSyncingRoute(){this.refresh()}},u=(0,i.default)(c.prototype,"locale",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(c.prototype,"refreshManageSyncingRoute",[r.action],Object.getOwnPropertyDescriptor(c.prototype,"refreshManageSyncingRoute"),c.prototype),c)}))
|
|
define.alias("@embroider/util/services/ensure-registered","mynetwork/services/-ensure-registered")
|
|
define.alias("abi-shared/services/abi-results","mynetwork/services/abi-results")
|
|
define.alias("artdeco-hoverables/services/artdeco-hoverable","mynetwork/services/artdeco-hoverable")
|
|
define.alias("artdeco-modal/services/artdeco-modal","mynetwork/services/artdeco-modal")
|
|
define.alias("artdeco-toast/services/artdeco-toast","mynetwork/services/artdeco-toast")
|
|
define.alias("client-sensor-web/services/client-sensor","mynetwork/services/client-sensor")
|
|
define.alias("ember-date-service/services/date","mynetwork/services/date")
|
|
define("mynetwork/services/drag-coordinator",["exports","ember-drag-drop/services/drag-coordinator"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=t.default}))
|
|
define.alias("ember-self-focused/services/focus-manager","mynetwork/services/focus-manager")
|
|
define.alias("@linkedin/ember-restli-graphql/services/graphql","mynetwork/services/graphql")
|
|
define.alias("image-editor/services/image-editor-loader","mynetwork/services/image-editor-loader")
|
|
define.alias("@linkedin/ember-pem/services/internal-event-utils","mynetwork/services/internal-event-utils")
|
|
define.alias("@linkedin/ember-pem/services/internal-pem-tracking","mynetwork/services/internal-pem-tracking")
|
|
define.alias("ember-cli-pemberly-lix/services/lix","mynetwork/services/lix")
|
|
define.alias("ember-m3/services/m3-schema-manager","mynetwork/services/m3-schema-manager")
|
|
define.alias("ember-media-player/services/media-player","mynetwork/services/media-player")
|
|
define.alias("@linkedin/ember-pem/services/pem-response-metadata","mynetwork/services/pem-response-metadata")
|
|
define.alias("@linkedin/ember-pem/services/pem-tracking","mynetwork/services/pem-tracking")
|
|
define.alias("persistent-toast-manager/services/persistent-toast-manager","mynetwork/services/persistent-toast-manager")
|
|
define.alias("@linkedin/ember-qualtrics/services/qualtrics-surveys","mynetwork/services/qualtrics-surveys")
|
|
define.alias("ember-session-record/services/scheduled-session-recorder","mynetwork/services/scheduled-session-recorder")
|
|
define.alias("ember-session-record/services/session-recorder","mynetwork/services/session-recorder")
|
|
define.alias("ember-media-player/services/static-asset-loader","mynetwork/services/static-asset-loader")
|
|
define.alias("ember-cli-pemberly-m3/services/store","mynetwork/services/store")
|
|
define.alias("ember-cli-pemberly-litms/services/tag-manager","mynetwork/services/tag-manager")
|
|
define.alias("@linkedin/ember-pem/services/tracer","mynetwork/services/tracer")
|
|
define.alias("ember-cli-pemberly-litms/services/tracking-adapter-for-tag-manager","mynetwork/services/tracking-adapter-for-tag-manager")
|
|
define("mynetwork/template-registry",[],(function(){}))
|
|
define("mynetwork/templates/abi",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"wmkQn5H6",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[46,[28,[37,2],null,null],null,null,null],[1,"\\n"]],[]]]]]],[],false,["ember-self-focused@self-focused","component","-outlet"]]',moduleName:"mynetwork/templates/abi.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/abi/results",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"R8a8GK00",block:'[[[1,"\\n"],[41,[30,0,["showInviteAlert"]],[[[1," "],[8,[39,1],null,[["@acceptInvite","@sendInvite","@inviteActionFailed","@miniProfile"],[[30,0,["isAcceptInvite"]],[30,0,["isSendInvite"]],[30,0,["inviteActionFailed"]],[30,0,["inviteeProfile","miniProfile"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["minimalResultsNav"]],[[[1," "],[10,0],[14,0,"mn-abi-results__takeover-header global-alert-offset-top"],[12],[1,"\\n "],[10,0],[14,0,"mn-abi-results__takeover-header-content display-flex"],[12],[1,"\\n "],[8,[39,2],[[24,0,"mn-abi-results__takeover-header-link"],[4,[38,3],["min_nav_logo"],null]],[["@route"],["feed.index"]],[["default"],[[[[1,"\\n "],[8,[39,4],null,[["@a11yText","@type","@size","@name"],[[28,[37,5],["i18n_linkedin_ally","mynetwork/templates/abi/results"],null],"logo","small","linkedin-logo-blue"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[10,0],[15,0,[29,["neptune-grid one-column\\n ",[52,[30,0,["minimalResultsNav"]],"mn-abi-results__takeover-grid"]]]],[12],[1,"\\n "],[10,0],[14,0,"core-rail"],[14,"role","main"],[12],[1,"\\n "],[10,0],[15,0,[52,[30,0,["isExtendedHeader"]],"Elevation-2dp mn-abi-results__extended-layout"]],[12],[1,"\\n "],[46,[28,[37,7],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[13]],[],false,["if","invite-alert@invite-alert","ember-engines@link-to-external","ember-cli-pemberly-tracking@track-interaction","hue-web-icons@icon","t","component","-outlet"]]',moduleName:"mynetwork/templates/abi/results.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/add-connections",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"OhGS0it/",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n"],[41,[30,1,["isPymkRecommendationsFailure"]],[[[1," "],[8,[39,3],null,[["@classNames","@type","@errorMessage","@customClass","@mercadoSize"],["artdeco-card p4 mb4",[30,1,["recommendationError"]],[28,[37,4],["i18n_error_state_loading_suggestions","mynetwork/templates/add-connections"],null],"mn-error-state__recommendation-illustration",1]],null],[1,"\\n"]],[]],[[[41,[30,1,["pymkEntities"]],[[[1," "],[8,[39,5],null,[["@class"],["mb4"]],[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"artdeco-card__header mn-discovery__header"],[12],[1,"\\n "],[10,"h3"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,4],["i18n_pymk_title","mynetwork/templates/add-connections"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"],[1," "],[10,0],[14,"data-launchpad-scroll-anchor","pymk"],[12],[1,"\\n "],[8,[39,6],null,[["@entities","@cohortRecommendationsReason","@paginationToken","@prefetchedEntitiesCount"],[[30,1,["pymkEntities"]],[30,1,["cohortRecommendationsReason"]],[30,1,["pymkPaginationToken"]],[30,1,["prefetchedEntitiesCount"]]]],[["default"],[[[[1,"\\n "],[8,[39,7],null,[["@entity","@cardIndex","@displayContext","@displayModule","@afterActionSuccess","@onCardDismissed","@onCardExposed","@onCardImpressed"],[[30,2,["entity"]],[30,2,["cardIndex"]],"grid","addconnections",[30,2,["afterActionSuccess"]],[30,2,["onCardDismissed"]],[30,2,["onCardExposed"]],[30,2,["onCardImpressed"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]],[1," "]],[]],[[[1,"\\n "],[8,[30,3,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@class","@slotSize","@zone","@pageZone"],["artdeco-card overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,9],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]]]]]],["@model","data","Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","if","mynetwork@error-state","t","artdeco-card@artdeco-card","discover@infinite-entity-list","discover@entity-card","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/add-connections.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/aggregated-social-hiring",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"FntSAbUY",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n "],[8,[39,2],null,[["@containerCard","@emptyStateCard","@cards"],[[30,0,["model","containerCard"]],[30,0,["model","emptyStateCard"]],[30,0,["model","cards"]]]],null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,3],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,4],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]]]],["Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","props-shared@aggregated-landing-main","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/aggregated-social-hiring.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/application",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"vB+YjqaO",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,1,"mynetwork"],[14,0,"extended"],[12],[1,"\\n "],[10,0],[14,0,"body"],[12],[1,"\\n "],[46,[28,[37,2],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n"]],[]]]]]],[],false,["ember-self-focused@self-focused","component","-outlet"]]',moduleName:"mynetwork/templates/application.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/components/draggable-object-target",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"ig7rIkLJ",block:'[[[41,[30,1],[[[1," "],[11,3],[24,6,"#"],[4,[38,1],[[30,0,["acceptForDrop"]]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["@enableClicking","&default"],false,["if","fn","yield"]]',moduleName:"mynetwork/templates/components/draggable-object-target.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/components/draggable-object",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"/C2j9aDc",block:'[[[41,[30,1],[[[1," "],[11,3],[24,6,"#"],[4,[38,1],[[30,0,["selectForDrag"]]],null],[12],[1,"\\n "],[18,2,null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[18,2,null],[1,"\\n"]],[]]]],["@enableClicking","&default"],false,["if","fn","yield"]]',moduleName:"mynetwork/templates/components/draggable-object.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/components/sortable-objects",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"qB4Gbwjt",block:'[[[18,1,null]],["&default"],false,["yield"]]',moduleName:"mynetwork/templates/components/sortable-objects.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/contacts",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"QlENJWyH",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"neptune-grid two-column"],[12],[1,"\\n "],[10,0],[14,0,"core-rail"],[14,"role","main"],[12],[1,"\\n "],[10,0],[14,0,"contacts-header pv4"],[12],[1,"\\n "],[10,"h2"],[14,0,"t-sans t-18 t-black t-normal pb1"],[12],[1,"\\n "],[1,[28,[35,1],["i18n_contacts_header_simple","mynetwork/templates/contacts"],null]],[1,"\\n "],[13],[1,"\\n "],[10,"h3"],[14,0,"t-sans t-14 t-black--light t-normal"],[12],[1,"\\n "],[1,[28,[35,1],["i18n_imported_subheader","mynetwork/templates/contacts"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,0],[14,0,"container-with-shadow p0 mb4"],[12],[1,"\\n "],[46,[28,[37,3],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[8,[39,4],null,[["@sources","@actOnSource","@numConnections","@redirectToContactsManagement"],[[30,0,["model","sources","elements"]],[28,[37,5],["actOnSource"],null],[30,0,["model","connectionsSummary","numConnections"]],[28,[37,5],["redirectToContactsManagement"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]]]]],[1,"\\n\\n"],[8,[39,6],null,null,null]],[],false,["ember-self-focused@self-focused","t","component","-outlet","mynetwork@contacts-right-rail","ember-route-action-helper@route-action","global-footer@global-footer"]]',moduleName:"mynetwork/templates/contacts.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/discover-hub",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"fna+IyES",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["sidebar-main"]],[["sidebar","main"],[[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["model","isContentPaintDone"]],[[[1," "],[10,0],[14,0,"artdeco-card"],[12],[1,"\\n "],[8,[39,3],null,[["@isCollapsible","@isReadyToRenderSummary","@connectionsCount","@eventsCount","@groupsCount","@hashtagCount","@newslettersCount","@pagesCount","@peopleFollowCount","@savedContactsCount"],[false,[30,0,["model","isReadyToRenderSummary"]],[30,0,["model","connectionsCount"]],[30,0,["model","eventsCount"]],[30,0,["model","groupsCount"]],[30,0,["model","hashtagCount"]],[30,0,["model","newslettersCount"]],[30,0,["model","pagesCount"]],[30,0,["model","peopleFollowCount"]],[30,0,["model","savedContactsCount"]]]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,4],null,[["@class","@slotSize","@zone","@pageZone"],["pt2 overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_LEFT"]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,5],[[24,0,"ph5 pb1"]],null,null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]],[[[1,"\\n"],[41,[30,0,["model","discoveryCohorts"]],[[[1," "],[8,[39,6],null,[["@cohorts"],[[30,0,["model","discoveryCohorts"]]]],[["default"],[[[[1,"\\n"],[42,[28,[37,8],[[28,[37,8],[[30,2,["cohorts"]]],null]],null],null,[[[1," "],[8,[39,9],null,[["@cohort","@isListItem","@displayModule","@onEntityActionSuccess"],[[30,3],true,"discoverhub",[30,0,["updateEntityCount"]]]],null],[1,"\\n"]],[3]],null],[1," "]],[2]]]]],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]]]]]],["Sidebar","cohortsList","cohort"],false,["ember-self-focused@self-focused","scaffold-layout@layout","if","mynetwork@community-summary","ads@ad-banner","global-footer@global-footer-compact","discover@cohorts-list","each","-track-array","discover@cohort-view"]]',moduleName:"mynetwork/templates/discover-hub.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/discovery-see-all",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"RDCLxG2T",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n"],[41,[30,0,["model","followMemberProfile"]],[[[1," "],[8,[39,3],null,[["@profile"],[[30,0,["model","followMemberProfile"]]]],null],[1,"\\n"]],[]],null],[1," "],[8,[39,4],null,[["@class"],["mb4"]],[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"artdeco-card__header"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[30,0,["model","displayReason"]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["model"]],[[[1," "],[8,[39,5],[[24,0,"pb4"]],[["@entities","@cohortRecommendationsReason","@cohortContextUrns","@prefetchedEntitiesCount","@paginationToken","@onCardImpressed","@useCase","@showSmallCards"],[[30,0,["model","entities"]],[30,0,["model","reasons"]],[30,0,["model","contextUrns"]],[30,0,["model","prefetchedEntitiesCount"]],[30,0,["model","paginationToken"]],[30,0,["reloadAdBanner"]],[30,0,["model","useCase"]],[30,0,["model","useSmallCardLayout"]]]],[["default"],[[[[1,"\\n "],[8,[39,6],null,[["@entity","@cardIndex","@displayContext","@displayModule","@isSmallCardInList","@onCardDismissed","@onCardExposed","@onCardImpressed","@afterActionSuccess"],[[30,1,["entity"]],[30,1,["cardIndex"]],"cohort","mynetwork",[30,0,["model","useSmallCardLayout"]],[30,1,["onCardDismissed"]],[30,1,["onCardExposed"]],[30,1,["onCardImpressed"]],[30,0,["onActionSuccess"]]]],null],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]],[[[1," "],[8,[39,7],null,[["@size"],["small"]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,2,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,8],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,9],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n"]],[]]]]],[1,">"]],["data","Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","if","discover@recommended-follow-card","artdeco-card@artdeco-card","discover@infinite-entity-list","discover@entity-card","artdeco-loader@artdeco-loader","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/discovery-see-all.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/index",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"HQm5I4Dy",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["heathrow","isNextBestActionModalOpen"]],[[[1," "],[8,[39,2],null,null,null],[1,"\\n"]],[]],null],[41,[30,0,["showHeadsUp"]],[[[1," "],[8,[39,3],null,[["@headsUpPrompt","@showHeadsUp","@closeHeadsUp"],[[30,0,["headsUpPrompt"]],[30,0,["showHeadsUp"]],[28,[37,4],[[30,0],"showHeadsUp",false],null]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","showInviteAlert"]],[[[1," "],[8,[39,5],null,[["@acceptInvite","@inviteActionFailed","@miniProfile"],[[30,0,["model","acceptInvite"]],[30,0,["model","inviteActionFailed"]],[30,0,["model","inviterProfile"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,6],[[24,0,"mn-two-column-layout"]],[["@template"],["sidebar-main"]],[["sidebar","main"],[[[[1,"\\n "],[8,[30,1,["Sticky"]],[[24,0,"mn-left-rail"]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["model","isFirstRoutePaintDone"]],[[[1," "],[10,0],[14,0,"artdeco-card"],[12],[1,"\\n"],[41,[30,0,["model","isMyNetworkSummaryFailure"]],[[[1," "],[8,[39,7],null,[["@classNames","@type","@customClasses","@errorMessage","@mercadoSize"],["mb4",[30,0,["model","myNetworkSummaryError"]],"mn-error-state__left-rail",[28,[37,8],["i18n_error_state_loading_network","mynetwork/templates/index"],null],1]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,9],null,[["@class","@slotSize","@zone","@pageZone"],["pt2 overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_LEFT"]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,10],[[24,0,"ph5 pb1"]],null,null],[1,"\\n"]],[]],[[[1,"\\n"],[41,[30,0,["model","readyToRenderCommunitySummary"]],[[[41,[30,0,["model","isContentPaintDone"]],[[[1," "],[8,[39,11],null,[["@isCollapsible","@isReadyToRenderSummary","@connectionsCount","@eventsCount","@groupsCount","@hashtagCount","@newslettersCount","@pagesCount","@peopleFollowCount","@savedContactsCount"],[true,[30,0,["model","isReadyToRenderSummary"]],[30,0,["model","connectionsCount"]],[30,0,["model","eventsCount"]],[30,0,["model","groupsCount"]],[30,0,["model","hashtagCount"]],[30,0,["model","newslettersCount"]],[30,0,["model","pagesCount"]],[30,0,["model","peopleFollowCount"]],[30,0,["model","savedContactsCount"]]]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n"],[41,[28,[37,12],[[30,0,["propsHomeEntryPointPlacement"]],"variant_a"],null],[[[1," "],[8,[39,13],null,[["@isInline","@origin"],[true,"MYNETWORK"]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n"]],[]],null],[1," "],[8,[39,9],null,[["@class","@slotSize","@zone","@pageZone"],["pt2 overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_LEFT"]],null],[1,"\\n\\n"],[41,[51,[30,0,["isDeprecateContactsLixEnabled"]]],[[[1," "],[8,[39,15],[[24,0,"text-align-center pv1"]],[["@abiInstance","@abiEntryPoint","@prefillEmail","@showABIPromoInSideRail","@showABIPromoInMiddleRail"],[[30,0,["model","abiInstance"]],[30,0,["model","abiEntryPoint","sideRail"]],[30,0,["model","prefillEmail"]],[30,0,["model","showABIPromoInSideRail"]],[30,0,["model","showABIPromoInMiddleRail"]]]],null],[1,"\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,10],[[24,0,"ph5 pb1"]],null,null],[1,"\\n"]],[]],null]],[]],null]],[]]],[1," "],[13],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]],[[[1,"\\n "],[10,"h1"],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[35,8],["i18n_my_network","mynetwork/templates/index"],null]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["model","isInvitationsApiFailure"]],[[[1," "],[8,[39,7],null,[["@classNames","@type","@errorMessage","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","invitationError"]],[28,[37,8],["i18n_error_state_loading_invites","mynetwork/templates/index"],null],1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","readyToRenderInvitations"]],[[[1," "],[8,[39,16],null,[["@invitationsSummary","@isContentPaintDone","@formatInvitationViews","@isInlineConfirmationOpen","@inlineInvitationView","@actionOnInvitation","@inviteHasBeenReported","@isSummaryCardNotificationOpen","@summaryCardNotification","@isSettingsPopupOpen","@settingsPopupEntityType","@isHideShowMoreButtonEnabled","@closeInvitationSummaryCard","@onMarkAllInvitationAcceptanceNotificationsAsRead","@closeInlineConfirmationCard","@actOnInvitation","@seeMore","@triggerInlineConfirmationCard"],[[30,0,["model","invitationsSummary"]],[30,0,["model","isContentPaintDone"]],[30,0,["model","formatInvitationViews"]],[30,0,["model","isInlineConfirmationOpen"]],[30,0,["model","inlineInvitationView"]],[30,0,["model","actionOnInvitation"]],[30,0,["model","inviteHasBeenReported"]],[30,0,["model","isSummaryCardNotificationOpen"]],[30,0,["model","summaryCardNotification"]],[30,0,["model","isSettingsPopupOpen"]],[30,0,["model","settingsPopupEntityType"]],[30,0,["model","isHideShowMoreButtonEnabled"]],[28,[37,17],["closeInvitationSummaryCard"],null],[28,[37,17],["markAllInvitationAcceptanceNotificationsAsRead"],null],[28,[37,17],["closeInlineConfirmationCard"],null],[28,[37,17],["actOnInvitation"],null],[28,[37,17],["seeMore"],null],[28,[37,17],["triggerInlineConfirmationCard"],null]]],null],[1,"\\n "]],[]],null]],[]]],[41,[30,0,["showVerificationCard"]],[[[1," "],[8,[39,18],null,[["@isVerificationCardDismissed","@renderType","@verificationCard","@shouldShowProfilePictureWithBadge"],[[30,0,["isVerificationCardDismissed"]],[30,0,["verificationCard","renderType"]],[30,0,["model","verificationEntryPointCard"]],true]],null],[1,"\\n"]],[]],null],[41,[30,0,["model","entityInviteeSuggestionsManager","isOpen"]],[[[1," "],[8,[39,19],null,[["@numConnections","@onDismissModule","@manager"],[[30,0,["model","connectionsCount"]],[30,0,["focusInvitationCard"]],[30,0,["model","entityInviteeSuggestionsManager"]]]],null],[1,"\\n"]],[]],null],[41,[51,[30,0,["model","connectionConnectionsDismissed"]]],[[[41,[30,0,["model","connectionConnections"]],[[[1," "],[8,[39,20],null,[["@connectionsMiniProfile","@connectionConnections","@title"],[[30,0,["model","newConnectionsMiniProfile"]],[30,0,["model","connectionConnections"]],[30,0,["model","connectionConnectionsTitle"]]]],null],[1,"\\n"]],[]],null]],[]],null],[41,[51,[30,0,["isDeprecateContactsLixEnabled"]]],[[[41,[51,[30,0,["model","abiFormDismissed"]]],[[[41,[30,0,["model","readyToRenderMiddleRailAbi"]],[[[41,[30,0,["model","showABIInMiddleRail"]],[[[1," "],[8,[39,21],null,[["@abiInstance","@abiEntryPoint","@prefillEmail","@onDismiss","@isPromo","@displayOnConnectHub"],[[30,0,["model","abiInstance"]],[30,0,["model","abiEntryPoint","coreRail"]],[30,0,["model","prefillEmail"]],[28,[37,17],["dismissABIForm",[30,0,["abiForm"]]],null],true,true]],null],[1,"\\n"]],[]],null]],[]],null]],[]],null]],[]],null],[41,[28,[37,12],[[30,0,["propsHomeEntryPointPlacement"]],"variant_b"],null],[[[1," "],[8,[39,13],null,[["@isInline","@origin"],[false,"MYNETWORK"]],null],[1,"\\n"]],[]],null],[41,[30,0,["model","premiumUpsellCard"]],[[[41,[30,0,["isUpsellTemplateComponentV2Enabled"]],[[[1," "],[8,[39,22],null,[["@upsellCard","@upsellStyles","@defaultConfig"],[[30,0,["model","premiumUpsellCard"]],[28,[37,23],null,[["upsellWrapperClass"],["mn-sales-navigator-upsell p4 artdeco-card mb4"]]],[28,[37,23],null,[["dismissButtonSize","isVerticalLayout"],[1,true]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,24],null,[["@upsellCard","@upsellStyles","@defaultConfig"],[[30,0,["model","premiumUpsellCard"]],[28,[37,23],null,[["upsellWrapperClass","upsellContentClass","headlineClass","subtextCardClass","socialProofInsightClass","socialProofInsightTextClass","subheaderClass"],["mn-sales-navigator-upsell p4 artdeco-card mb4","mb4","t-16 mb1 t-bold","t-12 card-upsell__subtext","display-flex align-items-center mt2","t-12 t-black--light ml2","t-14 t-black--light mb2"]]],[28,[37,23],null,[["dismissButtonSize","isVerticalLayout"],[1,true]]]]],null],[1,"\\n"]],[]]]],[]],null],[41,[30,0,["model","isCohortRecommendationsFailure"]],[[[1," "],[8,[39,7],null,[["@classNames","@type","@errorMessage","@customClass","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","recommendationError"]],[28,[37,8],["i18n_error_state_loading_suggestions","mynetwork/templates/index"],null],"mn-error-state__recommendation-illustration",1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","discoveryCohorts"]],[[[41,[30,0,["model","isFetchDiscoverySectionsCohortAndPymkEnabled"]],[[[1," "],[8,[39,25],null,[["@fetchCount","@paginationToken","@sections","@onEntityActionSuccess"],[[30,0,["model","discoverySectionsFetchCount"]],[30,0,["model","paginationToken"]],[30,0,["model","discoveryCohorts"]],[30,0,["updateEntityCount"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,26],null,[["@cohorts","@paginationToken"],[[30,0,["model","discoveryCohorts"]],[30,0,["model","paginationToken"]]]],[["default"],[[[[1,"\\n"],[42,[28,[37,28],[[28,[37,28],[[30,2,["cohorts"]]],null]],null],null,[[[1," "],[8,[39,29],null,[["@cohort","@paginationToken","@isListItem","@displayModule","@getHeadsUpPrompt","@onEntityActionSuccess"],[[30,3],[30,0,["model","paginationToken"]],true,"mynetwork",[30,0,["getHeadsUpPrompt"]],[30,0,["updateEntityCount"]]]],null],[1,"\\n"]],[3]],null],[1," "]],[2]]]]],[1,"\\n"]],[]]]],[]],[[[1," "],[8,[39,30],null,[["@size"],["small"]],null],[1,"\\n "]],[]]]],[]]],[41,[30,0,["model","readyToRenderDiscoveryRecommendations"]],[[[41,[30,0,["model","isDiscoveryRecommendationsFailure"]],[[[1," "],[8,[39,7],null,[["@classNames","@type","@errorMessage","@customClass","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","recommendationError"]],[28,[37,8],["i18n_error_state_loading_suggestions","mynetwork/templates/index"],null],"mn-error-state__recommendation-illustration",1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","discoveryEntities"]],[[[1," "],[10,0],[14,"data-launchpad-scroll-anchor","pymk"],[12],[1,"\\n "],[8,[39,31],null,null,[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"mn-discovery__header artdeco-card__header"],[12],[1,"\\n "],[10,"h2"],[14,0,"t-16 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,8],["i18n_discovery_header","mynetwork/templates/index"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[12],[1,"\\n "],[8,[39,32],null,[["@entities","@cohortRecommendationsReason","@paginationToken","@type","@prefetchedEntitiesCount","@onCardImpressed"],[[30,0,["model","discoveryEntities"]],[30,0,["model","cohortRecommendationsReason"]],[30,0,["model","pymkPaginationToken"]],"pymk",[30,0,["model","prefetchedEntitiesCount"]],[30,0,["reloadAdBanner"]]]],[["default"],[[[[1,"\\n "],[8,[39,33],null,[["@entity","@cardIndex","@displayContext","@displayModule","@onCardExposed","@onCardImpressed","@onCardDismissed"],[[30,4,["entity"]],[30,4,["cardIndex"]],"grid","mynetwork",[30,4,["onCardExposed"]],[30,4,["onCardImpressed"]],[30,4,["onCardDismissed"]]]],null],[1,"\\n "]],[4]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]],null],[1," "]],[]]]]],[1,"\\n"]],[]]]]]],["Sidebar","cohortsList","cohort","data"],false,["ember-self-focused@self-focused","if","heathrow@next-best-action-modal","nt-heads-up@nt-heads-up","ember-set-helper@set","invite-alert@invite-alert","scaffold-layout@layout","mynetwork@error-state","t","ads@ad-banner","global-footer@global-footer-compact","mynetwork@community-summary","global-helpers@eq","props-shared@props-home-entry-point","unless","mynetwork@abi/abi-promo-left-rail","mynetwork@invitation-preview/invitation-preview","ember-route-action-helper@route-action","trust@verifications/entry-points/verification-entry-point-card","mynetwork@entity-invitee-suggestions/suggestions-carousel","mynetwork@connection-connections/connections-carousel","mynetwork@abi/abi-form","s-upsell@upsell-templates-v2/upsell-template-container-v2","hash","s-upsell@upsell-templates/upsell-template-container","discover@sections-list","discover@cohorts-list","each","-track-array","discover@cohort-view","artdeco-loader@artdeco-loader","artdeco-card@artdeco-card","discover@infinite-entity-list","discover@entity-card"]]',moduleName:"mynetwork/templates/index.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invitation-manager",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"CrT2Ha6c",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n "],[8,[39,2],null,[["@class"],["mn-invitation-manager__artdeco-card"]],[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"mn-invitation-manager__header"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal flex-1"],[12],[1,"\\n "],[1,[28,[35,3],["i18n_manage_invitations","mynetwork/templates/invitation-manager"],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,0,["isPending"]],[[[1," "],[8,[39,5],null,[["@isOpen","@placement","@justification","@onVisibilityChange"],[[30,0,["isInvitationSettingsOpen"]],"bottom","right",[28,[37,6],[[30,0],"isInvitationSettingsOpen"],null]]],[["default"],[[[[1,"\\n "],[8,[30,1,["dropdown-trigger"]],[[24,0,"mn-invitation-manager__artdeco-dropdown-icon"],[16,"aria-label",[28,[37,3],["i18n_invitations_settings_a11y","mynetwork/templates/invitation-manager"],null]],[4,[38,7],["invitation_settings_entrypoint"],null]],[["@withIcon"],[false]],[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@type","@size","@name"],["system","medium","settings"]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,1,["dropdown-content"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,9],[[24,0,"mn-invitation-manager__artdeco-dropdown display-flex align-items-center mv1"],[4,[38,7],["connection_preference_settings"],null]],null,[["default"],[[[[1,"\\n "],[8,[39,10],null,[["@class","@href"],["mn-invitation-manager__artdeco-dropdown-item","/psettings/invite-receive"]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"t-14 t-black--light"],[12],[1,[28,[35,3],["i18n_choose_connect","mynetwork/templates/invitation-manager"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[39,9],[[24,0,"display-flex align-items-center mv1"],[4,[38,7],["entity_preference_settings"],null]],null,[["default"],[[[[1,"\\n "],[8,[39,10],[[24,0,"mn-invitation-manager__artdeco-dropdown-item"]],[["@href"],["/psettings/entity-invitation-preference"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"t-14 t-black--light"],[12],[1,[28,[35,3],["i18n_choose_invitations","mynetwork/templates/invitation-manager"],null]],[13],[1,"\\n "],[10,0],[14,0,"t-12 t-black--light t-normal"],[12],[1,[28,[35,3],["i18n_choose_invitations_list","mynetwork/templates/invitation-manager"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[8,[39,11],null,[["@selection"],[[52,[30,0,["isPending"]],"pending","sent"]]],[["default"],[[[[1,"\\n "],[8,[30,2,["tablist"]],[[16,"aria-label",[28,[37,3],["invitation_manager_nav_a11y_text","mynetwork/templates/invitation-manager"],null]]],[["@class"],["nav nav-tabs"]],[["default"],[[[[1,"\\n "],[8,[30,3,["tab"]],[[4,[38,7],["received_invites"],null]],[["@model","@on-select"],["pending",[28,[37,12],[[30,0,["transitionToManagerTab"]],"mynetwork.invitation-manager.pending"],null]]],[["default"],[[[[1,"\\n "],[1,[28,[35,3],["i18n_received_invitations","mynetwork/templates/invitation-manager"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,3,["tab"]],[[4,[38,7],["sent_invites"],null]],[["@model","@on-select"],["sent",[28,[37,12],[[30,0,["transitionToManagerTab"]],"mynetwork.invitation-manager.sent"],null]]],[["default"],[[[[1,"\\n "],[1,[28,[35,3],["i18n_sent_invitations","mynetwork/templates/invitation-manager"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n "]],[2]]]]],[1,"\\n\\n "],[46,[28,[37,14],null,null],null,null,null],[1,"\\n\\n "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,4,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,15],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,16],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[4]]]]],[1,"\\n"]],[]]]]]],["dropdown","tabs","tablist","Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","artdeco-card@artdeco-card","t","if","artdeco-dropdown@artdeco-dropdown","ember-set-helper@set","ember-cli-pemberly-tracking@track-interaction","hue-web-icons@icon","artdeco-dropdown@artdeco-dropdown-item","ember-cli-pemberly-tracking@shared/external-link","ember-cli-artdeco-tabs@artdeco-tabs","fn","component","-outlet","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/invitation-manager.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invitation-manager/pending",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"blGn4yN4",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["showHeadsUp"]],[[[1," "],[8,[39,2],null,[["@headsUpPrompt","@showHeadsUp","@closeHeadsUp"],[[30,0,["headsUpPrompt"]],[30,0,["showHeadsUp"]],[28,[37,3],[[30,0],"showHeadsUp",false],null]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,"nav"],[14,0,"mn-filters-toolbar"],[15,"aria-label",[28,[37,4],["i18n_filters_toolbar_a11y_text","mynetwork/templates/invitation-manager/pending"],null]],[12],[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,0,["model","invitationFacets"]]],null]],null],null,[[[1," "],[8,[39,7],null,[["@a11yText","@text","@class","@id","@size","@color","@onToggle","@selected","@disabled"],[[28,[37,4],["i18n_formatted_entity_count_a11y","mynetwork/templates/invitation-manager/pending"],[["displayText","formattedCount"],[[30,1,["displayText"]],[28,[37,8],[[30,1,["count"]]],null]]]],[28,[37,4],["i18n_formatted_entity_count","mynetwork/templates/invitation-manager/pending"],[["displayText","formattedCount"],[[30,1,["displayText"]],[28,[37,8],[[30,1,["count"]]],null]]]],"mt3 mr3",[28,[37,9],["mn-invitation-manager__invitation-facet-pills--",[30,1,["invitationType"]]],null],3,"blue",[28,[37,10],[[30,0,["onChangeInvitationType"]],[30,1,["invitationType"]]],null],[30,1,["isSelected"]],[30,1,["isDisabled"]]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n\\n"],[41,[30,0,["isInvitationTypePeople"]],[[[1," "],[10,0],[15,0,[29,["mn-list-toolbar\\n ",[52,[30,0,["checkedInvitations"]]," mn-list-toolbar--active"]]]],[12],[1,"\\n"],[41,[28,[37,11],[[30,0,["model","total"]],100],null],[[[1," "],[10,1],[14,0,"t-black--light"],[12],[1,"\\n "],[1,[28,[35,4],["i18n_advanced_filters_showing_count","mynetwork/templates/invitation-manager/pending"],[["start","end","total"],[[30,0,["model","itemStart"]],[30,0,["model","itemEnd"]],[30,0,["model","total"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[39,12],null,[["@class","@isOpen","@placement","@justification","@onVisibilityChange"],["flex-1",[30,0,["model","isAdvanceFilterDropdownOpen"]],"bottom","right",[28,[37,3],[[30,0],"model.isAdvanceFilterDropdownOpen"],null]]],[["default"],[[[[1,"\\n "],[8,[30,2,["dropdown-trigger"]],[[24,0,"display-flex align-items-center artdeco-button artdeco-button--secondary artdeco-button--2 pv1 ph3 mlA"],[4,[38,13],["advanced_filter"],null]],[["@withIcon"],[true]],[["default"],[[[[1,"\\n "],[10,1],[14,0,"t-bold pr1"],[12],[1,[28,[35,4],["i18n_new_filter_by","mynetwork/templates/invitation-manager/pending"],null]],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["dropdown-content"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,14],null,[["@class","@selected"],["display-flex align-items-center mv1",[28,[37,15],[[30,0,["filterCriteria"]],"ALL"],null]]],[["default"],[[[[1,"\\n "],[8,[39,16],[[24,0,"t-black mn-filters-dropdown__link"],[4,[38,13],["advanced_filter_people_all"],null]],[["@query"],[[28,[37,17],null,[["invitationType","filterCriteria"],[[30,0,["invitationType"]],"ALL"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,4],["i18n_all_invitations","mynetwork/templates/invitation-manager/pending"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[39,14],null,[["@class","@selected"],["display-flex align-items-center mv1",[28,[37,15],[[30,0,["filterCriteria"]],"COMMON_COMPANY"],null]]],[["default"],[[[[1,"\\n "],[8,[39,16],[[24,0,"t-black mn-filters-dropdown__link"],[4,[38,13],["advanced_filter_people_common_company"],null]],[["@query"],[[28,[37,17],null,[["invitationType","filterCriteria"],[[30,0,["invitationType"]],"COMMON_COMPANY"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,4],["i18n_from_your_company","mynetwork/templates/invitation-manager/pending"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[39,14],null,[["@class","@selected"],["display-flex align-items-center mv1",[28,[37,15],[[30,0,["filterCriteria"]],"COMMON_EDUCATION"],null]]],[["default"],[[[[1,"\\n "],[8,[39,16],[[24,0,"t-black mn-filters-dropdown__link"],[4,[38,13],["advanced_filter_people_common_education"],null]],[["@query"],[[28,[37,17],null,[["invitationType","filterCriteria"],[[30,0,["invitationType"]],"COMMON_EDUCATION"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,4],["i18n_from_your_school","mynetwork/templates/invitation-manager/pending"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[39,14],null,[["@class","@selected"],["display-flex align-items-center mv1",[28,[37,15],[[30,0,["filterCriteria"]],"COMMON_CONNECTION"],null]]],[["default"],[[[[1,"\\n "],[8,[39,16],[[24,0,"t-black mn-filters-dropdown__link"],[4,[38,13],["advanced_filter_people_common_connection"],null]],[["@query"],[[28,[37,17],null,[["invitationType","filterCriteria"],[[30,0,["invitationType"]],"COMMON_CONNECTION"]]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,4],["i18n_has_mutual_connections","mynetwork/templates/invitation-manager/pending"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[41,[30,0,["model","isInvitationsApiFailure"]],[[[1," "],[8,[39,18],null,[["@classNames","@type","@errorMessage","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","invitationError"]],[28,[37,4],["i18n_error_state_loading_invites","mynetwork/templates/invitation-manager/pending"],null],1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","pendingEmptyStateEnabled"]],[[[1," "],[10,"section"],[14,0,"mn-invitation-manager__no-invites"],[12],[1,"\\n "],[10,0],[14,0,"mn-invitation-manager__no-invites-illustration"],[12],[13],[1,"\\n "],[10,2],[14,0,"t-24 pt5"],[12],[1,[28,[35,4],["i18n_no_invites","mynetwork/templates/invitation-manager/pending"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"section"],[14,0,"mn-invitation-manager__sub-section"],[12],[1,"\\n "],[8,[39,19],null,[["@total","@itemsPerPage","@selectedPage","@routeActionOnInvitation","@filterCriteria","@invitationType"],[[30,0,["model","total"]],[30,0,["itemsPerPage"]],[30,0,["page"]],[30,0,["actOnNewIMInvitation"]],[30,0,["filterCriteria"]],[30,0,["invitationType"]]]],[["default"],[[[[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,0,["model","invitationViews"]]],null]],null],null,[[[41,[30,9,["invitation","entityUrn"]],[[[1," "],[8,[39,20],[[24,"data-view-name","pending-invitation"],[4,[38,21],[[28,[37,10],[[30,6],[28,[37,17],null,[["invitationView","cardIndex"],[[30,9],[30,10]]]]],null]],[["eager","routeName","currentRoute"],[true,[28,[37,22],[[53,"outletState"],"render.name"],null],[28,[37,22],[[53,"outletState"],"render"],null]]]],[4,[38,24],null,[["viewName","verticalPosition","genericTrackingLixKey","routeName","currentRoute"],["pending-invitation",[30,10],"voyager.web.tracking3-batch-8",[28,[37,22],[[53,"outletState"],"render.name"],null],[28,[37,22],[[53,"outletState"],"render"],null]]]]],[["@invitationView","@isPending","@isInvitationManager","@actOnInvitation","@cardIndex","@cardExposed","@expandMessage","@reportInvitation","@rejectInvitationCard","@isInlineConfirmationExperienceEnabled","@onDecrementInlineConfirmationCount"],[[30,9],true,true,[30,3],[30,10],[30,4],[30,5],[30,7],[30,8],true,[30,0,["onDecrementInlineConfirmationCount"]]]],null],[1,"\\n"]],[]],null]],[9,10]],null],[41,[30,0,["model","isLoadingMoreInvites"]],[[[1," "],[10,0],[14,0,"p4"],[12],[1,"\\n "],[8,[39,25],null,[["@size"],["small"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "]],[3,4,5,6,7,8]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]],[]]],[1,"\\n "],[8,[39,26],null,[["@isOpen","@settingsPopupEntityType"],[[30,0,["isSettingsPopupOpen"]],[30,0,["settingsPopupEntityType"]]]],null],[1,"\\n"]],[]]]]]],["invitationFacet","dropdown","actOnInvitationOnList","cardExposed","expandMessage","cardImpressed","reportInvitation","rejectInvitationCard","invitationView","cardIndex"],false,["ember-self-focused@self-focused","if","nt-heads-up@nt-heads-up","ember-set-helper@set","t","each","-track-array","artdeco-pill@artdeco-pill-toggle","ember-cli-pemberly-i18n@format-number","concat","fn","global-helpers@gt","artdeco-dropdown@artdeco-dropdown","ember-cli-pemberly-tracking@track-interaction","artdeco-dropdown@artdeco-dropdown-item","global-helpers@eq","link-to","hash","mynetwork@error-state","mynetwork@paginated-invitation","invitation@invitation-card","ember-cli-pemberly-tracking@track-impression","get","-get-dynamic-var","ember-cli-pemberly-tracking@track-view","artdeco-loader@artdeco-loader","mynetwork@invitation-settings-popup"]]',moduleName:"mynetwork/templates/invitation-manager/pending.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invitation-manager/sent",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"KKaJP6vL",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"mn-filters-toolbar"],[12],[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["model","invitationFacets"]]],null]],null],null,[[[1," "],[8,[39,3],null,[["@a11yText","@text","@class","@id","@size","@color","@onToggle","@selected","@disabled"],[[28,[37,4],["i18n_formatted_entity_count_a11y","mynetwork/templates/invitation-manager/sent"],[["displayText","formattedCount"],[[30,1,["displayText"]],[28,[37,5],[[30,1,["count"]]],null]]]],[28,[37,4],["i18n_formatted_entity_count","mynetwork/templates/invitation-manager/sent"],[["displayText","formattedCount"],[[30,1,["displayText"]],[28,[37,5],[[30,1,["count"]]],null]]]],"mt3 mr3",[28,[37,6],["mn-invitation-manager__invitation-facet-pills--",[30,1,["invitationType"]]],null],3,"blue",[28,[37,7],[[30,0,["onChangeInvitationType"]],[30,1,["invitationType"]]],null],[30,1,["isSelected"]],[30,1,["isDisabled"]]]],null],[1,"\\n"]],[1]],null],[1," "],[13],[1,"\\n\\n "],[10,"h2"],[14,0,"visually-hidden"],[12],[1,[28,[35,4],["i18n_sent_invitations","mynetwork/templates/invitation-manager/sent"],null]],[13],[1,"\\n"],[41,[30,0,["model","invitationViews","length"]],[[[1," "],[8,[39,9],null,[["@routeActionOnInvitation","@total","@itemsPerPage","@selectedPage","@invitationType"],[[30,0,["actOnNewIMInvitation"]],[30,0,["model","total"]],[30,0,["itemsPerPage"]],[30,0,["page"]],[30,0,["invitationType"]]]],[["default"],[[[[1,"\\n"],[42,[28,[37,2],[[28,[37,2],[[30,0,["model","invitationViews"]]],null]],null],null,[[[1," "],[8,[39,10],null,[["@checkbox","@invitationView","@actOnInvitation","@cardExposed","@expandMessage","@isInvitationManager","@sentInvitationType","@isInvitationManagerSentRedesignEnabled","@disableAction"],[[30,5],[30,5],[28,[37,7],[[30,0,["withdrawInvitation"]],[30,2]],null],[30,3],[30,4],true,[30,0,["model","sentInvitationType"]],true,[30,0,["invitationActionInProgress"]]]],null],[1,"\\n"]],[5]],null],[1," "]],[2,3,4]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","isLoadingMoreInvites"]],[[[1," "],[10,0],[14,0,"p4"],[12],[1,"\\n "],[8,[39,11],null,[["@size"],["small"]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","sentEmptyStateEnabled"]],[[[1," "],[10,"section"],[14,0,"mn-invitation-manager__no-invites"],[12],[1,"\\n "],[10,0],[14,0,"mn-invitation-manager__no-invites-illustration mn-invitation-manager__no-invites-illustration--sent"],[12],[13],[1,"\\n "],[10,2],[14,0,"t-24 pt5"],[12],[1,[28,[35,4],["i18n_no_sent_invites","mynetwork/templates/invitation-manager/sent"],null]],[13],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["isWithdrawConfirmationEnabled"]],[[[1," "],[8,[39,12],null,[["@isOpen","@title","@content","@primaryActionText","@secondaryActionText","@onPrimary","@onSecondary","@onEscape"],[[30,0,["isConfirmationDialogOpen"]],[28,[37,4],["i18n_withdraw_confirmation_dialog_title","mynetwork/templates/invitation-manager/sent"],null],[30,0,["withdrawDialogContent"]],[28,[37,4],["i18n_withdraw_btn","mynetwork/templates/invitation-manager/sent"],null],[28,[37,4],["i18n_cancel_btn","mynetwork/templates/invitation-manager/sent"],null],[30,0,["withdraw"]],[30,0,["closeWithdrawConfirmation"]],[30,0,["closeWithdrawConfirmation"]]]],null],[1,"\\n"]],[]],null]],[]]]]]],["invitationFacet","actOnInvitationOnList","cardExposed","expandMessage","invitationView"],false,["ember-self-focused@self-focused","each","-track-array","artdeco-pill@artdeco-pill-toggle","t","ember-cli-pemberly-i18n@format-number","concat","fn","if","mynetwork@paginated-invitation","invitation@invitation-card","artdeco-loader@artdeco-loader","artdeco-modal@artdeco-confirmation-dialog"]]',moduleName:"mynetwork/templates/invitation-manager/sent.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invite-accepted-contextual",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"3IJ2JChe",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n "],[8,[39,2],[[24,0,"p4"]],null,[["default"],[[[[1,"\\n "],[8,[39,3],null,[["@size"],["small"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,4],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n "],[8,[39,5],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]]]],["Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","artdeco-card@artdeco-card","artdeco-loader@artdeco-loader","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/invite-accepted-contextual.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invite-accepted",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"eJAHs/k3",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n\\n"],[41,[30,0,["hasOrganizationExperience"]],[[[1," "],[8,[39,3],null,[["@profile","@acceptInvite"],[[30,1,["profile"]],[30,1,["organizationAcceptInvite"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,4],null,[["@acceptInvite","@inviteActionFailed","@rejectInvitationAction","@profile","@knownError"],[[30,1,["acceptInvite"]],[30,1,["inviteActionFailed"]],"rejectInvitation",[30,1,["profile"]],[30,1,["knownError"]]]],null],[1,"\\n"]],[]]],[1,"\\n "],[8,[39,5],[[24,0,"mb4"]],null,[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"artdeco-card__header mn-discovery__header"],[12],[1,"\\n "],[10,"h3"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,6],["i18n_pymk_title","mynetwork/templates/invite-accepted"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["pymks"]],[[[1," "],[10,0],[14,"data-launchpad-scroll-anchor","pymk"],[12],[1,"\\n "],[8,[39,7],null,[["@entities","@cohortRecommendationsReason","@paginationToken"],[[30,1,["pymks"]],[30,1,["cohortRecommendationsReason"]],[30,1,["paginationToken"]]]],[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@entity","@cardIndex","@displayContext","@displayModule","@afterActionSuccess","@onCardDismissed","@onCardExposed","@onCardImpressed"],[[30,2,["entity"]],[30,2,["cardIndex"]],"grid","heathrow",[30,2,["afterActionSuccess"]],[30,2,["onCardDismissed"]],[30,2,["onCardExposed"]],[30,2,["onCardImpressed"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[39,9],null,[["@size"],["small"]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,3,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,1,["isFirstRoutePaintDone"]],[[[1," "],[8,[39,10],null,[["@numConnections"],[[30,1,["connectionsSummary"]]]],null],[1,"\\n\\n "],[8,[39,11],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,12],null,null,null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]]]]]],["@model","data","Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","if","mynetwork@heathrow-organization-toast","mynetwork@heathrow-toast","artdeco-card@artdeco-card","t","discover@infinite-entity-list","discover@entity-card","artdeco-loader@artdeco-loader","mynetwork@shared/connections-summary","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/invite-accepted.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invite-connect",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"W1OYi9Fv",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],[[24,0,"mn-two-column-layout"]],[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n "],[46,[28,[37,3],null,null],null,null,null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,1,["Sticky"]],[[24,0,"mn-right-rail"]],null,[["default"],[[[[1,"\\n"],[41,[51,[30,0,["model","isDeprecateContactsLixEnabled"]]],[[[1," "],[8,[39,5],[[24,0,"artdeco-button artdeco-button--muted artdeco-button--tertiary artdeco-button--1 pv1 ph2 mb4"],[4,[38,6],["imported_contacts"],null]],[["@route"],["contacts"]],[["default"],[[[[1,"\\n "],[8,[39,7],[[24,0,"artdeco-button__icon mn-invite-connect__notebook-icon"]],[["@type","@size","@name"],["system","medium","notebook"]],null],[1,"\\n "],[1,[28,[35,8],["i18n_manage_contacts_link","mynetwork/templates/invite-connect"],null]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","showWyloPromo"]],[[[1," "],[8,[39,10],null,[["@class"],["artdeco-card mb3"]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[51,[30,0,["model","isDeprecateContactsLixEnabled"]]],[[[41,[30,0,["model","showAbiPromo"]],[[[1," "],[8,[39,11],[[24,0,"mb2"]],[["@abiInstance","@isPromo","@prefillEmail"],[[30,0,["model","abiInstance"]],true,[30,0,["model","prefillEmail"]]]],null],[1,"\\n"]],[]],null]],[]],null],[1,"\\n "],[8,[39,12],null,[["@class","@slotSize","@zone","@pageZone"],["artdeco-card overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,13],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]]]],["Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","component","-outlet","unless","link-to","ember-cli-pemberly-tracking@track-interaction","hue-web-icons@icon","t","if","mynetwork@abi/wylo-promo","mynetwork@abi/abi-form","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/invite-connect.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invite-connect/connections",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"O+oFyv4V",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["memberHasConnections"]],[[[1," "],[8,[39,2],null,[["@searchWithFiltersQueryParams","@connections","@numConnections","@enableEmptyState"],[[30,0,["searchWithFiltersQueryParams"]],[30,1,["connections"]],[30,1,["connectionsSummary"]],[28,[37,3],["enableEmptyState"],null]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,4],null,[["@class"],["display-flex mb4 p5"]],[["default"],[[[[1,"\\n "],[10,0],[12],[1,"\\n "],[10,"h2"],[14,0,"t-24 t-black t-light"],[12],[1,[28,[35,5],["i18n_no_connections_title","mynetwork/templates/invite-connect/connections"],null]],[13],[1,"\\n "],[10,"h3"],[14,0,"t-16 t-black t-normal pt3"],[12],[1,[28,[35,5],["i18n_no_connections_subtitle","mynetwork/templates/invite-connect/connections"],null]],[13],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"mn-connections__empty-state-inbug"],[12],[13],[1,"\\n "]],[]]]]],[1,"\\n\\n"],[41,[51,[30,1,["isDeprecateContactsLixEnabled"]]],[[[1," "],[8,[39,7],null,[["@abiInstance","@prefillEmail","@abiEntryPoint"],[[30,1,["abi"]],[30,1,["prefillEmail"]],[30,1,["abiEntryPoint"]]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1,["isPymkRecommendationsFailure"]],[[[1," "],[8,[39,8],null,[["@classNames","@type","@errorMessage","@customClass","@mercadoSize"],["artdeco-card p4 mb4",[30,1,["recommendationError"]],[28,[37,5],["i18n_error_state_loading_suggestions","mynetwork/templates/invite-connect/connections"],null],"mn-error-state__recommendation-illustration",1]],null],[1,"\\n"]],[]],[[[41,[30,1,["pymkEntities"]],[[[1," "],[8,[39,4],null,[["@class"],["mb4"]],[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"artdeco-card__header mn-discovery__header"],[12],[1,"\\n "],[10,"h3"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,5],["i18n_pymk_title","mynetwork/templates/invite-connect/connections"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[1," "],[10,0],[14,"data-launchpad-scroll-anchor","pymk"],[12],[1,"\\n "],[8,[39,9],null,[["@entities","@cohortRecommendationsReason","@paginationToken","@prefetchedEntitiesCount"],[[30,1,["pymkEntities"]],[30,1,["cohortRecommendationsReason"]],[30,1,["pymkPaginationToken"]],[30,1,["prefetchedEntitiesCount"]]]],[["default"],[[[[1,"\\n "],[8,[39,10],null,[["@entity","@cardIndex","@displayContext","@displayModule","@afterActionSuccess","@onCardDismissed","@onCardExposed","@onCardImpressed"],[[30,2,["entity"]],[30,2,["cardIndex"]],"grid","connections",[30,2,["afterActionSuccess"]],[30,2,["onCardDismissed"]],[30,2,["onCardExposed"]],[30,2,["onCardImpressed"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]],null]],[]]]],[]]]],[]]]]]],["@model","data"],false,["ember-self-focused@self-focused","if","mynetwork@connection-list","ember-route-action-helper@route-action","artdeco-card@artdeco-card","t","unless","mynetwork@abi/abi-form","mynetwork@error-state","discover@infinite-entity-list","discover@entity-card"]]',moduleName:"mynetwork/templates/invite-connect/connections.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invite-connect/index",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"rSVnMw5E",block:"[[],[],false,[]]",moduleName:"mynetwork/templates/invite-connect/index.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/invite-sent",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"lXaaBYpy",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n"],[41,[30,0,["hasOrganizationExperience"]],[[[1," "],[8,[39,3],null,[["@profile"],[[30,1,["profile"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,4],null,[["@sendInvite","@inviteActionFailed","@profile","@knownError"],[[30,1,["sendInvite"]],[30,1,["inviteActionFailed"]],[30,1,["profile"]],[30,1,["knownError"]]]],null],[1,"\\n"]],[]]],[1,"\\n "],[8,[39,5],null,[["@class"],["mb4"]],[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"artdeco-card__header mn-discovery__header"],[12],[1,"\\n "],[10,"h3"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,6],["i18n_pymk_title","mynetwork/templates/invite-sent"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,1,["pymks"]],[[[1," "],[10,0],[14,"data-launchpad-scroll-anchor","pymk"],[12],[1,"\\n "],[8,[39,7],null,[["@entities","@cohortRecommendationsReason","@paginationToken"],[[30,1,["pymks"]],[30,1,["cohortRecommendationsReason"]],[30,1,["paginationToken"]]]],[["default"],[[[[1,"\\n "],[8,[39,8],null,[["@entity","@cardIndex","@displayContext","@displayModule","@afterActionSuccess","@onCardDismissed","@onCardExposed","@onCardImpressed"],[[30,2,["entity"]],[30,2,["cardIndex"]],"grid","heathrow",[30,2,["afterActionSuccess"]],[30,2,["onCardDismissed"]],[30,2,["onCardExposed"]],[30,2,["onCardImpressed"]]]],null],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[39,9],null,[["@size"],["small"]],null],[1,"\\n"]],[]]],[1," "]],[]]]]],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,3,["Sticky"]],null,null,[["default"],[[[[1,"\\n"],[41,[30,1,["isFirstRoutePaintDone"]],[[[1," "],[8,[39,10],null,[["@numConnections"],[[30,1,["connectionsSummary"]]]],null],[1,"\\n\\n "],[8,[39,11],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,12],null,null,null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]]]]]],["@model","data","Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","if","mynetwork@heathrow-organization-toast","mynetwork@heathrow-toast","artdeco-card@artdeco-card","t","discover@infinite-entity-list","discover@entity-card","artdeco-loader@artdeco-loader","mynetwork@shared/connections-summary","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/invite-sent.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"y6Z0hVuF",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n "],[46,[28,[37,3],null,null],null,null,null],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[8,[39,4],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n "],[8,[39,5],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]]]],["Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","component","-outlet","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/network-manager.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/company",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"dH3G7wsO",block:'[[[41,[30,1,["isErrorLoadingEntities"]],[[[1," "],[10,0],[14,0,"artdeco-card display-flex"],[12],[1,"\\n "],[8,[39,1],null,[["@illustration","@mercadoSize","@headline","@message"],["error-server",2,[28,[37,2],["i18n_error_page_headline","mynetwork/templates/network-manager/company"],null],[28,[37,2],["i18n_error_page_description","mynetwork/templates/network-manager/company"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[39,3],[[24,0,"mb4"]],null,[["default"],[[[[1,"\\n"],[41,[28,[37,4],[[30,1,["companiesFollowedCount"]],0],null],[[[1," "],[10,"header"],[14,0,"mn-network-manager__header"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,2],["i18n_num_companies","mynetwork/templates/network-manager/company"],[["numCompanies"],[[30,1,["companiesFollowedCount"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,5],null,[["@isDisabled","@items","@onTrigger","@maxAutoloads","@rootMargin"],[[30,0,["isScrollDisabled"]],[30,1,["companiesFollowed","elements"]],[30,0,["onInfiniteScroll"]],[30,1,["companiesFollowedCount"]],"200px"]],[["content","empty"],[[[[1,"\\n "],[10,"ul"],[14,0,"display-flex flex-wrap list-style-none text-align-left"],[12],[1,"\\n "],[8,[39,6],[[24,0,"full-width"]],[["@items","@cluster","@initialRenderCount","@wrapClusterInADCard"],[[28,[37,7],[[30,1,["companiesFollowed","elements"]],"0.items"],null],[28,[37,7],[[30,1,["companiesFollowed","elements"]],"0"],null],[30,1,["companiesFollowedCount"]],false]],[["entityResult"],[[[[1,"\\n "],[8,[30,2],null,[["@result","@onPrimaryActionClick","@searchId"],[[30,3,["result"]],[28,[37,8],null,null],[30,1,["companiesFollowed","metadata","searchId"]]]],[["insights"],[[[[1,"\\n "],[10,0],[14,0,"member-insights"],[12],[1,"\\n "],[10,1],[14,0,"member-insights__reason t-12 t-black--light t-normal"],[12],[1,"\\n "],[8,[39,9],null,[["@tvm"],[[28,[37,7],[[30,4,["insights"]],"0.relationshipsInsight.text"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[4]]]]],[1,"\\n "]],[2,3]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"artdeco-card display-flex"],[12],[1,"\\n "],[8,[39,1],null,[["@illustration","@mercadoSize","@headline","@message"],["empty-room",2,[28,[37,2],["i18n_companies_empty","mynetwork/templates/network-manager/company"],null],[28,[37,2],["i18n_companies_empty_following","mynetwork/templates/network-manager/company"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],["@model","EntityResult","list","entityData"],false,["if","artdeco-empty-state@artdeco-empty-state","t","artdeco-card@artdeco-card","global-helpers@gt","scaffold-finite-scroll@finite-scroll","reusable-search@entity-cluster-v2","get","reusable-search@fire-search-action","text-view-model@text-view-model-v2"]]',moduleName:"mynetwork/templates/network-manager/company.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/connections",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"TVfR3ZyY",block:"[[],[],false,[]]",moduleName:"mynetwork/templates/network-manager/connections.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/events",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"iJ0UulaV",block:'[[[10,0],[14,0,"artdeco-card p0 pb6"],[12],[1,"\\n"],[41,[30,0,["isErrorLoadingEntities"]],[[[1," "],[10,0],[14,0,"error-illustration"],[12],[13],[1,"\\n "],[10,"h1"],[14,0,"t-24 t-black t-normal text-align-center"],[12],[1,[28,[35,1],["i18n_error_page_headline","mynetwork/templates/network-manager/events"],null]],[13],[1,"\\n "],[10,2],[14,0,"t-16 t-black--light t-normal text-align-center mt4"],[12],[1,[28,[35,1],["i18n_error_page_description","mynetwork/templates/network-manager/events"],null]],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"display-flex justify-space-between align-items-center p4"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal flex-grow-1"],[12],[1,[28,[35,1],["i18n_events_page_title","mynetwork/templates/network-manager/events"],null]],[13],[1,"\\n"],[41,[30,0,["isEventCreationEnabled"]],[[[1," "],[8,[39,2],[[16,"aria-label",[28,[37,1],["i18n_a11y_create_event","mynetwork/templates/network-manager/events"],null]],[4,[38,3],["click",[30,0,["openCreateEventModal"]]],null],[4,[38,4],["curation_hub_create_event"],null]],[["@type","@controlType","@text"],["tertiary","button",[28,[37,1],["i18n_create_event","mynetwork/templates/network-manager/events"],null]]],null],[1,"\\n "],[8,[39,5],null,[["@context","@closeModal","@isModalOpen"],["CURATION-HUB",[28,[37,6],[[30,0],"showCreateEventModal",false],null],[30,0,["showCreateEventModal"]]]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n"],[41,[30,0,["showNoResult"]],[[[1," "],[10,0],[14,0,"display-flex flex-column align-items-center"],[12],[1,"\\n "],[8,[39,7],null,[["@illustration","@mercadoSize","@headline","@message"],["empty-room",2,[28,[37,1],["i18n_events_empty","mynetwork/templates/network-manager/events"],null],[28,[37,1],["i18n_events_empty_attending","mynetwork/templates/network-manager/events"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[41,[30,0,["totalResultCount"]],[[[1," "],[10,"h2"],[14,0,"t-14 t-black t-normal pv5 ph4"],[12],[1,"\\n "],[1,[28,[35,1],["i18n_events_total_count","mynetwork/templates/network-manager/events"],[["count"],[[30,0,["totalResultCount"]]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1,"\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n "],[8,[39,8],null,[["@isDisabled","@items","@onTrigger"],[[28,[37,9],[[30,0,["hasNextPage"]]],null],[30,0,["entityResultClusters"]],[30,0,["onInfiniteScroll"]]]],[["content"],[[[[1,"\\n"],[42,[28,[37,11],[[28,[37,11],[[30,2]],null]],null],null,[[[1," "],[11,0],[4,[38,12],null,[["pageKey","routeName","currentRoute"],["flagship3_people_events_list",[28,[37,13],[[53,"outletState"],"render.name"],null],[28,[37,13],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[8,[39,15],null,[["@items","@cluster","@initialRenderCount","@wrapClusterInADCard"],[[28,[37,13],[[30,3,["elements"]],"0.items"],null],[28,[37,13],[[30,3,["elements"]],"0"],null],[28,[37,13],[[30,0,["model","entityResults","elements"]],"0.items.length"],null],false]],[["entityResult"],[[[[1,"\\n "],[8,[30,1],null,[["@index"],[[30,5,["rowIndex"]]]],[["default"],[[[[1,"\\n "],[8,[30,4],null,[["@result","@navigationURL","@searchId","@onEntityClick","@onInsightClick","@onOverflowActionClick"],[[30,5,["result"]],[30,5,["result","navigationUrl"]],[30,3,["metadata","searchId"]],[28,[37,16],null,null],[28,[37,16],null,null],[28,[37,16],null,null]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[4,5]]]]],[1,"\\n "],[13],[1,"\\n"]],[3]],null],[1," "]],[1,2]]]]],[1,"\\n"]],[]]]],[]]],[13]],["ItemContainer","items","cluster","EntityResult","list"],false,["if","t","artdeco-button@artdeco-button","on","ember-cli-pemberly-tracking@track-interaction","events-form-modal@create-event-modal","ember-set-helper@set","artdeco-empty-state@artdeco-empty-state","scaffold-finite-scroll@finite-scroll","global-helpers@not","each","-track-array","ember-cli-pemberly-tracking@track-render","get","-get-dynamic-var","reusable-search@entity-cluster-v2","reusable-search@fire-search-action"]]',moduleName:"mynetwork/templates/network-manager/events.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/hashtags",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"oLeAIAj9",block:'[[[41,[30,1,["isErrorLoadingEntities"]],[[[1," "],[10,0],[14,0,"artdeco-card display-flex"],[12],[1,"\\n "],[8,[39,1],null,[["@illustration","@mercadoSize","@headline","@message"],["error-server",2,[28,[37,2],["i18n_error_page_headline","mynetwork/templates/network-manager/hashtags"],null],[28,[37,2],["i18n_error_page_description","mynetwork/templates/network-manager/hashtags"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[8,[39,3],[[24,0,"mb4"]],null,[["default"],[[[[1,"\\n"],[41,[28,[37,4],[[30,1,["hashtagsFollowedCount"]],0],null],[[[1," "],[10,"header"],[14,0,"mn-network-manager__header"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,2],["i18n_num_hashtags","mynetwork/templates/network-manager/hashtags"],[["numHastags"],[[30,1,["hashtagsFollowedCount"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,5],null,[["@isDisabled","@items","@onTrigger","@maxAutoloads","@rootMargin"],[[30,0,["isScrollDisabled"]],[30,1,["hashtagsFollowed","elements"]],[30,0,["onInfiniteScroll"]],[30,1,["hashtagsFollowedCount"]],"200px"]],[["content","empty"],[[[[1,"\\n "],[10,"ul"],[14,0,"display-flex flex-wrap list-style-none text-align-left"],[12],[1,"\\n "],[8,[39,6],[[24,0,"full-width"]],[["@items","@cluster","@initialRenderCount","@wrapClusterInADCard"],[[28,[37,7],[[30,1,["hashtagsFollowed","elements"]],"0.items"],null],[28,[37,7],[[30,1,["hashtagsFollowed","elements"]],"0"],null],[30,1,["hashtagsFollowedCount"]],false]],[["entityResult"],[[[[1,"\\n "],[8,[30,2],null,[["@result","@onPrimaryActionClick","@searchId"],[[30,3,["result"]],[28,[37,8],null,null],[30,1,["hashtagsFollowed","metadata","searchId"]]]],[["insights"],[[[[1,"\\n "],[10,0],[14,0,"member-insights"],[12],[1,"\\n "],[10,1],[14,0,"member-insights__reason t-12 t-black--light t-normal"],[12],[1,"\\n "],[8,[39,9],null,[["@tvm"],[[28,[37,7],[[30,4,["insights"]],"0.relationshipsInsight.text"],null]]],null],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "]],[4]]]]],[1,"\\n "]],[2,3]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"artdeco-card display-flex"],[12],[1,"\\n "],[8,[39,1],null,[["@illustration","@mercadoSize","@headline","@message"],["empty-room",2,[28,[37,2],["i18n_hashtags_empty","mynetwork/templates/network-manager/hashtags"],null],[28,[37,2],["i18n_hashtags_empty_following","mynetwork/templates/network-manager/hashtags"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],["@model","EntityResult","list","entityData"],false,["if","artdeco-empty-state@artdeco-empty-state","t","artdeco-card@artdeco-card","global-helpers@gt","scaffold-finite-scroll@finite-scroll","reusable-search@entity-cluster-v2","get","reusable-search@fire-search-action","text-view-model@text-view-model-v2"]]',moduleName:"mynetwork/templates/network-manager/hashtags.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/newsletters",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"Ki5hbEfc",block:'[[[10,0],[14,0,"Elevation-2dp artdeco-card p0 pb4"],[12],[1,"\\n"],[41,[30,0,["isErrorLoadingEntities"]],[[[1," "],[10,0],[14,0,"error-illustration"],[12],[13],[1,"\\n "],[10,"h1"],[14,0,"t-24 t-black t-normal text-align-center"],[12],[1,[28,[35,1],["i18n_newsletters_error_page_headline","mynetwork/templates/network-manager/newsletters"],null]],[13],[1,"\\n "],[10,2],[14,0,"t-16 t-black--light t-normal text-align-center mt4"],[12],[1,[28,[35,1],["i18n_newsletters_error_page_description","mynetwork/templates/network-manager/newsletters"],null]],[13],[1,"\\n"]],[]],[[[1," "],[10,0],[14,0,"display-flex justify-space-between p4"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,[28,[35,1],["i18n_newsletters_page_title","mynetwork/templates/network-manager/newsletters"],null]],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n"],[41,[30,0,["showNoResult"]],[[[1," "],[10,0],[14,0,"display-flex flex-column align-items-center"],[12],[1,"\\n "],[8,[39,2],null,[["@illustration","@mercadoSize","@headline","@message"],["empty-room",2,[28,[37,1],["i18n_newsletters_empty","mynetwork/templates/network-manager/newsletters"],null],[28,[37,1],["i18n_newsletters_not_subscribed","mynetwork/templates/network-manager/newsletters"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],[[[1," "],[10,"h2"],[14,0,"t-14 t-black t-normal pv5 ph4"],[12],[1,"\\n "],[1,[28,[35,1],["i18n_newsletters_total_count","mynetwork/templates/network-manager/newsletters"],[["count"],[[30,0,["totalResultCount"]]]]]],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n "],[8,[39,3],null,[["@isDisabled","@items","@onTrigger"],[[28,[37,4],[[30,0,["hasNextPage"]]],null],[30,0,["entityResultClusters"]],[30,0,["onInfiniteScroll"]]]],[["content"],[[[[1,"\\n"],[42,[28,[37,6],[[28,[37,6],[[30,2]],null]],null],null,[[[1," "],[8,[30,1],null,[["@index"],[[30,4]]],[["default"],[[[[1,"\\n "],[11,0],[4,[38,7],null,[["pageKey","routeName","currentRoute"],["flagship3_people_newsletters_list",[28,[37,8],[[53,"outletState"],"render.name"],null],[28,[37,8],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[8,[39,10],[[24,0,"search-results__list"]],[["@items","@cluster","@initialRenderCount","@wrapClusterInADCard"],[[28,[37,8],[[30,3,["elements"]],"0.items"],null],[28,[37,8],[[30,3,["elements"]],"0"],null],[28,[37,8],[[30,0,["model","entityResults","elements"]],"0.items.length"],null],false]],[["entityResult"],[[[[1,"\\n "],[8,[30,5],[[24,0,"reusable-search__result-container"]],[["@result","@searchId"],[[30,6,["result"]],[30,3,["metadata","searchId"]]]],null],[1,"\\n "]],[5,6]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[3,4]],null],[1," "]],[1,2]]]]],[1,"\\n"]],[]]]],[]]],[13]],["ItemContainer","items","cluster","index","EntityResult","list"],false,["if","t","artdeco-empty-state@artdeco-empty-state","scaffold-finite-scroll@finite-scroll","global-helpers@not","each","-track-array","ember-cli-pemberly-tracking@track-render","get","-get-dynamic-var","reusable-search@entity-cluster-v2"]]',moduleName:"mynetwork/templates/network-manager/newsletters.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/people-follow",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"aYIw8/Wc",block:'[[[1,[28,[35,0],[[28,[37,1],["i18n_people_follow_page_title","mynetwork/templates/network-manager/people-follow"],null]],null]],[1,"\\n\\n"],[8,[39,2],null,null,[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"mn-network-manager__header"],[12],[1,"\\n "],[10,"h1"],[14,0,"t-18 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,1],["i18n_people_follow_headline","mynetwork/templates/network-manager/people-follow"],[["user"],[[30,0,["authenticatedUser","miniProfile","firstName"]]]]]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider m0"],[12],[13],[1,"\\n\\n "],[8,[39,3],null,[["@selection","@activeTab"],[[30,0,["currentTab"]],[30,0,["currentTab"]]]],[["default"],[[[[1,"\\n "],[8,[30,1,["tablist"]],null,null,[["default"],[[[[1,"\\n "],[8,[30,2,["tab"]],null,[["@model","@on-select"],["following",[30,0,["changeTab"]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,1],["i18n_following_tab_label","mynetwork/templates/network-manager/people-follow"],null]],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["tab"]],null,[["@model","@on-select"],["followers",[30,0,["changeTab"]]]],[["default"],[[[[1,"\\n "],[1,[28,[35,1],["i18n_followers_tab_label","mynetwork/templates/network-manager/people-follow"],null]],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n\\n"],[1," "],[46,[28,[37,5],null,null],null,null,null],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]]]],["tabs","tablist"],false,["ember-page-title@page-title","t","artdeco-card@artdeco-card","ember-cli-artdeco-tabs@artdeco-tabs","component","-outlet"]]',moduleName:"mynetwork/templates/network-manager/people-follow.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/people-follow/followers",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"jCm/BB06",block:'[[[41,[30,0,["model","isErrorLoadingEntities"]],[[[1," "],[8,[39,1],null,[["@illustration","@mercadoSize","@headline","@message"],["error-server",2,[28,[37,2],["i18n_following_empty_state_or_error_page_headline","mynetwork/templates/network-manager/people-follow/followers"],null],[28,[37,2],["i18n_error_page_description","mynetwork/templates/network-manager/people-follow/followers"],null]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,3],null,[["@isDisabled","@items","@onTrigger","@maxAutoloads","@rootMargin"],[[30,0,["isScrollDisabled"]],[30,0,["model","peopleFollowers","elements"]],[30,0,["onInfiniteScroll"]],[30,0,["model","peopleFollowersCount"]],"200px"]],[["content","empty"],[[[[1,"\\n "],[10,2],[14,0,"t-black--light t-14 mn-network-manager__subtitle"],[12],[1,"\\n "],[1,[28,[35,2],["i18n_pf_followers_subtitle","mynetwork/templates/network-manager/people-follow/followers"],[["followersCount"],[[30,0,["model","peopleFollowers","metadata","totalResultCount"]]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isDisplayCreatorBanner"]],[[[1," "],[8,[39,4],null,[["@isCreator"],[true]],null],[1,"\\n"]],[]],null],[1,"\\n "],[10,"ul"],[14,0,"display-flex flex-wrap list-style-none text-align-left"],[12],[1,"\\n "],[8,[39,5],[[24,0,"full-width"]],[["@items","@cluster","@initialRenderCount","@wrapClusterInADCard"],[[28,[37,6],[[30,0,["model","peopleFollowers","elements"]],"0.items"],null],[28,[37,6],[[30,0,["model","peopleFollowers","elements"]],"0"],null],[30,0,["model","peopleFollowersCount"]],false]],[["entityResult"],[[[[1,"\\n "],[8,[30,1],null,[["@result","@onPrimaryActionClick","@searchId"],[[30,2,["result"]],[28,[37,7],null,null],[30,0,["model","peopleFollowers","metadata","searchId"]]]],[["insights"],[[[[1,"\\n "],[10,0],[14,0,"display-flex align-items-center"],[12],[1,"\\n"],[41,[28,[37,6],[[30,3,["insights"]],"0.relationshipsInsight.insightImage"],null],[[[1," "],[8,[39,8],[[24,0,"mr1"]],[["@images","@entitySize","@isStackedLayout"],[[28,[37,6],[[30,3,["insights"]],"0.relationshipsInsight.insightImage"],null],0,[28,[37,9],[[30,3,["insights"]],"0.relationshipsInsight.insightImage.attributes.length"],null]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,10],null,[["@tvm"],[[28,[37,6],[[30,3,["insights"]],"0.relationshipsInsight.text"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[3]]]]],[1,"\\n "]],[1,2]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"display-flex flex-column align-items-center"],[12],[1,"\\n "],[8,[39,1],null,[["@illustration","@mercadoSize","@headline","@message"],["empty-room",2,[28,[37,2],["i18n_following_empty_state_or_error_page_headline","mynetwork/templates/network-manager/people-follow/followers"],null],[28,[37,2],["i18n_empty_state_follower_message","mynetwork/templates/network-manager/people-follow/followers"],null]]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],["EntityResult","list","insightsData"],false,["if","artdeco-empty-state@artdeco-empty-state","t","scaffold-finite-scroll@finite-scroll","mynetwork@follow-education-banner","reusable-search@entity-cluster-v2","get","reusable-search@fire-search-action","image-view-model@image-view-model","global-helpers@gt","text-view-model@text-view-model-v2"]]',moduleName:"mynetwork/templates/network-manager/people-follow/followers.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/network-manager/people-follow/following",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"vMfDVJ1E",block:'[[[41,[30,0,["model","isErrorLoadingEntities"]],[[[1," "],[8,[39,1],[[24,0,"mv6"]],[["@illustration","@mercadoSize","@headline","@message"],["error-server",2,[28,[37,2],["i18n_following_empty_state_or_error_page_headline","mynetwork/templates/network-manager/people-follow/following"],null],[28,[37,2],["i18n_error_page_description","mynetwork/templates/network-manager/people-follow/following"],null]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,3],null,[["@isDisabled","@items","@onTrigger","@maxAutoloads","@rootMargin"],[[30,0,["isScrollDisabled"]],[30,0,["model","peopleFollowed","elements"]],[30,0,["onInfiniteScroll"]],[30,0,["model","peopleFollowedCount"]],"200px"]],[["content","empty"],[[[[1,"\\n "],[10,2],[14,0,"t-black--light t-14 mn-network-manager__subtitle"],[12],[1,"\\n "],[1,[28,[35,2],["i18n_pf_following_subtitle","mynetwork/templates/network-manager/people-follow/following"],[["followingCount"],[[30,0,["model","peopleFollowedCount"]]]]]],[1,"\\n "],[13],[1,"\\n\\n"],[41,[30,0,["isDisplayCreatorBanner"]],[[[1," "],[8,[39,4],null,null,null],[1,"\\n"]],[]],null],[1,"\\n "],[10,"ul"],[14,0,"display-flex flex-wrap list-style-none text-align-left"],[12],[1,"\\n "],[8,[39,5],[[24,0,"full-width"]],[["@items","@cluster","@initialRenderCount","@wrapClusterInADCard"],[[28,[37,6],[[30,0,["model","peopleFollowed","elements"]],"0.items"],null],[28,[37,6],[[30,0,["model","peopleFollowed","elements"]],"0"],null],[30,0,["model","peopleFollowedCount"]],false]],[["entityResult"],[[[[1,"\\n "],[8,[30,1],null,[["@result","@onOverflowActionClick","@searchId"],[[30,2,["result"]],[28,[37,7],[[30,0,["onToggleFollow"]],[30,2,["result"]],[30,2,["removeItemFromListAction"]]],null],[30,0,["model","peopleFollowed","metadata","searchId"]]]],null],[1,"\\n "]],[1,2]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[10,0],[14,0,"display-flex flex-column align-items-center"],[12],[1,"\\n "],[8,[39,1],[[24,0,"mv6"]],[["@actionText","@illustration","@mercadoSize","@headline","@message","@url"],[[28,[37,2],["i18n_following_empty_state_action","mynetwork/templates/network-manager/people-follow/following"],null],"empty-room",2,[28,[37,2],["i18n_following_empty_state_headline","mynetwork/templates/network-manager/people-follow/following"],null],[28,[37,2],["i18n_following_empty_state_description","mynetwork/templates/network-manager/people-follow/following"],null],"/mynetwork/discover-hub/"]],null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]],["EntityResult","list"],false,["if","artdeco-empty-state@artdeco-empty-state","t","scaffold-finite-scroll@finite-scroll","mynetwork@follow-education-banner","reusable-search@entity-cluster-v2","get","fn"]]',moduleName:"mynetwork/templates/network-manager/people-follow/following.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/nurture",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"H3qtq2vv",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n"],[41,[30,0,["heathrow","isNextBestActionModalOpen"]],[[[1," "],[8,[39,2],null,null,null],[1,"\\n"]],[]],null],[41,[30,0,["showHeadsUp"]],[[[1," "],[8,[39,3],null,[["@headsUpPrompt","@showHeadsUp","@closeHeadsUp"],[[30,0,["headsUpPrompt"]],[30,0,["showHeadsUp"]],[28,[37,4],[[30,0],"showHeadsUp",false],null]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["model","showInviteAlert"]],[[[1," "],[8,[39,5],null,[["@acceptInvite","@inviteActionFailed","@miniProfile"],[[30,0,["model","acceptInvite"]],[30,0,["model","inviteActionFailed"]],[30,0,["model","inviterProfile"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,6],[[24,0,"mn-two-column-layout"]],[["@template"],["sidebar-main"]],[["sidebar","main"],[[[[1,"\\n "],[8,[30,1,["Sticky"]],[[24,0,"mn-left-rail"]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["model","isFirstRoutePaintDone"]],[[[1," "],[10,0],[15,0,[29,["artdeco-card ",[52,[30,0,["model","isNurtureTabEnabled"]],"mb4"]]]],[12],[1,"\\n"],[41,[30,0,["model","isConnectionSummaryFailure"]],[[[1," "],[8,[39,7],null,[["@classNames","@type","@customClasses","@errorMessage","@mercadoSize"],["mb4",[30,0,["model","connectionSummaryError"]],"mn-error-state__left-rail",[28,[37,8],["i18n_error_state_loading_network","mynetwork/templates/nurture"],null],1]],null],[1,"\\n\\n"],[41,[51,[30,0,["model","isNurtureTabEnabled"]]],[[[1," "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,10],null,[["@class","@slotSize","@zone","@pageZone"],["pt2 overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_LEFT"]],null],[1,"\\n\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,11],[[24,0,"ph5 pb1"]],null,null],[1,"\\n"]],[]],null]],[]],[[[41,[30,0,["model","readyToRenderCommunitySummary"]],[[[41,[30,0,["model","isContentPaintDone"]],[[[1," "],[8,[39,12],null,[["@isCollapsible","@isReadyToRenderSummary","@connectionsCount","@eventsCount","@groupsCount","@hashtagCount","@newslettersCount","@pagesCount","@peopleFollowCount","@savedContactsCount"],[true,[30,0,["model","isReadyToRenderSummary"]],[30,0,["model","connectionsCount"]],[30,0,["model","eventsCount"]],[30,0,["model","groupsCount"]],[30,0,["model","hashtagCount"]],[30,0,["model","newslettersCount"]],[30,0,["model","pagesCount"]],[30,0,["model","peopleFollowCount"]],[30,0,["model","savedContactsCount"]]]],null],[1,"\\n\\n"],[41,[51,[30,0,["model","isNurtureTabEnabled"]]],[[[1," "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n\\n "],[8,[39,10],null,[["@class","@slotSize","@zone","@pageZone"],["pt2 overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_LEFT"]],null],[1,"\\n\\n"],[41,[51,[30,0,["isDeprecateContactsLixEnabled"]]],[[[1," "],[8,[39,13],[[24,0,"text-align-center pv1"]],[["@abiInstance","@abiEntryPoint","@prefillEmail","@showABIPromoInSideRail","@showABIPromoInMiddleRail"],[[30,0,["model","abiInstance"]],[30,0,["model","abiEntryPoint","sideRail"]],[30,0,["model","prefillEmail"]],[30,0,["model","showABIPromoInSideRail"]],[30,0,["model","showABIPromoInMiddleRail"]]]],null],[1,"\\n "],[10,"hr"],[14,0,"artdeco-divider mv0"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n "],[8,[39,11],[[24,0,"ph5 pb1"]],null,null],[1,"\\n"]],[]],null]],[]],null]],[]],null]],[]]],[1," "],[13],[1,"\\n"],[41,[30,0,["model","isNurtureTabEnabled"]],[[[1," "],[8,[39,10],null,[["@class","@slotSize","@zone","@pageZone"],["pt2 artdeco-card overflow-hidden","300x250","MYNETWORK","PAGE_ZONE_BODY_LEFT"]],null],[1,"\\n\\n "],[8,[39,11],null,null,null],[1,"\\n"]],[]],null]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[1]],[[[1,"\\n"],[41,[30,0,["model","isNurtureTabEnabled"]],[[[1," "],[10,0],[14,0,"artdeco-card mb4"],[12],[1,"\\n "],[8,[39,14],null,[["@currentTab","@nurtureFilter"],[[52,[30,0,["nurtureTabSelected"]],"mynetwork.nurture.catch-up.index","mynetwork.nurture.grow"],[28,[37,15],[[30,0,["model","nurtureFilter"]],"all"],null]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[46,[28,[37,17],null,null],null,null,null],[1,"\\n "]],[]]]]],[1,"\\n"]],[]]]]]],["Sidebar"],false,["ember-self-focused@self-focused","if","heathrow@next-best-action-modal","nt-heads-up@nt-heads-up","ember-set-helper@set","invite-alert@invite-alert","scaffold-layout@layout","mynetwork@error-state","t","unless","ads@ad-banner","global-footer@global-footer-compact","mynetwork@community-summary","mynetwork@abi/abi-promo-left-rail","mynetwork@nurture-tabs","global-helpers@or","component","-outlet"]]',moduleName:"mynetwork/templates/nurture.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/nurture/grow",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"o4yyAFNB",block:'[[[10,"h1"],[14,0,"visually-hidden"],[12],[1,"\\n "],[1,[28,[35,0],["i18n_my_network","mynetwork/templates/nurture/grow"],null]],[1,"\\n"],[13],[1,"\\n\\n"],[41,[30,0,["model","isInvitationsApiFailure"]],[[[1," "],[8,[39,2],null,[["@classNames","@type","@errorMessage","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","invitationError"]],[28,[37,0],["i18n_error_state_loading_invites","mynetwork/templates/nurture/grow"],null],1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","readyToRenderInvitations"]],[[[1," "],[8,[39,3],null,[["@isDashInvitation","@invitationsSummary","@isContentPaintDone","@formatInvitationViews","@isInlineConfirmationOpen","@inlineInvitationView","@actionOnInvitation","@inviteHasBeenReported","@isSummaryCardNotificationOpen","@summaryCardNotification","@isSettingsPopupOpen","@settingsPopupEntityType","@isHideShowMoreButtonEnabled","@closeInvitationSummaryCard","@onMarkAllInvitationAcceptanceNotificationsAsRead","@closeInlineConfirmationCard","@actOnInvitation","@seeMore","@triggerInlineConfirmationCard"],[[30,0,["model","isDashReceivedInvitation"]],[30,0,["model","invitationsSummary"]],[30,0,["model","isContentPaintDone"]],[30,0,["model","formatInvitationViews"]],[30,0,["model","isInlineConfirmationOpen"]],[30,0,["model","inlineInvitationView"]],[30,0,["model","actionOnInvitation"]],[30,0,["model","inviteHasBeenReported"]],[30,0,["model","isSummaryCardNotificationOpen"]],[30,0,["model","summaryCardNotification"]],[30,0,["model","isSettingsPopupOpen"]],[30,0,["model","settingsPopupEntityType"]],[30,0,["model","isHideShowMoreButtonEnabled"]],[28,[37,4],["closeInvitationSummaryCard"],null],[28,[37,4],["markAllInvitationAcceptanceNotificationsAsRead"],null],[28,[37,4],["closeInlineConfirmationCard"],null],[28,[37,4],["actOnInvitation"],null],[28,[37,4],["seeMore"],null],[28,[37,4],["triggerInlineConfirmationCard"],null]]],null],[1,"\\n"]],[]],null]],[]]],[41,[30,0,["showVerificationCard"]],[[[1," "],[8,[39,5],null,[["@isVerificationCardDismissed","@renderType","@verificationCard","@shouldShowProfilePictureWithBadge"],[[30,0,["isVerificationCardDismissed"]],[30,0,["model","verificationEntryPointCard","renderType"]],[30,0,["model","verificationEntryPointCard"]],true]],null],[1,"\\n"]],[]],null],[41,[30,0,["model","entityInviteeSuggestionsManager","isOpen"]],[[[1," "],[8,[39,6],null,[["@numConnections","@onDismissModule","@manager"],[[30,0,["model","connectionsCount"]],[30,0,["focusInvitationCard"]],[30,0,["model","entityInviteeSuggestionsManager"]]]],null],[1,"\\n"]],[]],null],[41,[51,[30,0,["model","connectionConnectionsDismissed"]]],[[[41,[30,0,["model","connectionConnections"]],[[[1," "],[8,[39,8],null,[["@connectionsMiniProfile","@connectionConnections","@title"],[[30,0,["model","newConnectionsMiniProfile"]],[30,0,["model","connectionConnections"]],[30,0,["model","connectionConnectionsTitle"]]]],null],[1,"\\n"]],[]],null]],[]],null],[41,[51,[30,0,["isDeprecateContactsLixEnabled"]]],[[[41,[51,[30,0,["model","abiFormDismissed"]]],[[[41,[30,0,["model","readyToRenderMiddleRailAbi"]],[[[41,[30,0,["model","showABIInMiddleRail"]],[[[1," "],[8,[39,9],null,[["@abiInstance","@abiEntryPoint","@prefillEmail","@onDismiss","@isPromo","@displayOnConnectHub"],[[30,0,["model","abiInstance"]],[30,0,["model","abiEntryPoint","coreRail"]],[30,0,["model","prefillEmail"]],[28,[37,4],["dismissABIForm",[30,0,["abiForm"]]],null],true,true]],null],[1,"\\n"]],[]],null]],[]],null]],[]],null]],[]],null],[41,[30,0,["model","premiumUpsellCard"]],[[[41,[30,0,["isUpsellTemplateComponentV2Enabled"]],[[[1," "],[8,[39,10],null,[["@upsellCard","@upsellStyles","@defaultConfig"],[[30,0,["model","premiumUpsellCard"]],[28,[37,11],null,[["upsellWrapperClass"],["mn-sales-navigator-upsell p4 artdeco-card mb4"]]],[28,[37,11],null,[["dismissButtonSize","isVerticalLayout"],[1,true]]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,12],null,[["@upsellCard","@upsellStyles","@defaultConfig"],[[30,0,["model","premiumUpsellCard"]],[28,[37,11],null,[["upsellWrapperClass","upsellContentClass","headlineClass","subtextCardClass","socialProofInsightClass","socialProofInsightTextClass","subheaderClass"],["mn-sales-navigator-upsell p4 artdeco-card mb4","mb4","t-16 mb1 t-bold","t-12 card-upsell__subtext","display-flex align-items-center mt2","t-12 t-black--light ml2","t-14 t-black--light mb2"]]],[28,[37,11],null,[["dismissButtonSize","isVerticalLayout"],[1,true]]]]],null],[1,"\\n"]],[]]]],[]],null],[41,[30,0,["model","isCohortRecommendationsFailure"]],[[[1," "],[8,[39,2],null,[["@classNames","@type","@errorMessage","@customClass","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","recommendationError"]],[28,[37,0],["i18n_error_state_loading_suggestions","mynetwork/templates/nurture/grow"],null],"mn-error-state__recommendation-illustration",1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","discoveryCohorts"]],[[[41,[30,0,["model","isFetchDiscoverySectionsCohortAndPymkEnabled"]],[[[1," "],[8,[39,13],null,[["@fetchCount","@paginationToken","@sections","@onEntityActionSuccess"],[[30,0,["model","discoverySectionsFetchCount"]],[30,0,["model","paginationToken"]],[30,0,["model","discoveryCohorts"]],[30,0,["updateEntityCount"]]]],null],[1,"\\n"]],[]],[[[1," "],[8,[39,14],null,[["@cohorts","@paginationToken"],[[30,0,["model","discoveryCohorts"]],[30,0,["model","paginationToken"]]]],[["default"],[[[[1,"\\n"],[42,[28,[37,16],[[28,[37,16],[[30,1,["cohorts"]]],null]],null],null,[[[1," "],[8,[39,17],null,[["@cohort","@paginationToken","@isListItem","@displayModule","@getHeadsUpPrompt","@onEntityActionSuccess"],[[30,2],[30,0,["model","paginationToken"]],true,"mynetwork",[30,0,["getHeadsUpPrompt"]],[30,0,["updateEntityCount"]]]],null],[1,"\\n"]],[2]],null],[1," "]],[1]]]]],[1,"\\n"]],[]]]],[]],[[[1," "],[8,[39,18],null,[["@size"],["small"]],null],[1,"\\n"]],[]]]],[]]],[41,[30,0,["model","readyToRenderDiscoveryRecommendations"]],[[[41,[30,0,["model","isDiscoveryRecommendationsFailure"]],[[[1," "],[8,[39,2],null,[["@classNames","@type","@errorMessage","@customClass","@mercadoSize"],["artdeco-card p4 mb4",[30,0,["model","recommendationError"]],[28,[37,0],["i18n_error_state_loading_suggestions","mynetwork/templates/nurture/grow"],null],"mn-error-state__recommendation-illustration",1]],null],[1,"\\n"]],[]],[[[41,[30,0,["model","discoveryEntities"]],[[[1," "],[10,0],[14,"data-launchpad-scroll-anchor","pymk"],[12],[1,"\\n "],[8,[39,19],null,null,[["default"],[[[[1,"\\n "],[10,"header"],[14,0,"mn-discovery__header artdeco-card__header"],[12],[1,"\\n "],[10,"h2"],[14,0,"t-16 t-black t-normal"],[12],[1,"\\n "],[1,[28,[35,0],["i18n_discovery_header","mynetwork/templates/nurture/grow"],null]],[1,"\\n "],[13],[1,"\\n "],[13],[1,"\\n "],[10,"section"],[12],[1,"\\n "],[8,[39,20],null,[["@entities","@cohortRecommendationsReason","@paginationToken","@type","@prefetchedEntitiesCount","@onCardImpressed"],[[30,0,["model","discoveryEntities"]],[30,0,["model","cohortRecommendationsReason"]],[30,0,["model","pymkPaginationToken"]],"pymk",[30,0,["model","prefetchedEntitiesCount"]],[30,0,["reloadAdBanner"]]]],[["default"],[[[[1,"\\n "],[8,[39,21],null,[["@entity","@cardIndex","@displayContext","@displayModule","@onCardExposed","@onCardImpressed","@onCardDismissed"],[[30,3,["entity"]],[30,3,["cardIndex"]],"grid","mynetwork",[30,3,["onCardExposed"]],[30,3,["onCardImpressed"]],[30,3,["onCardDismissed"]]]],null],[1,"\\n "]],[3]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],[]],null]],[]]]],[]],null]],["cohortsList","cohort","data"],false,["t","if","mynetwork@error-state","mynetwork@invitation-preview/invitation-preview","ember-route-action-helper@route-action","trust@verifications/entry-points/verification-entry-point-card","mynetwork@entity-invitee-suggestions/suggestions-carousel","unless","mynetwork@connection-connections/connections-carousel","mynetwork@abi/abi-form","s-upsell@upsell-templates-v2/upsell-template-container-v2","hash","s-upsell@upsell-templates/upsell-template-container","discover@sections-list","discover@cohorts-list","each","-track-array","discover@cohort-view","artdeco-loader@artdeco-loader","artdeco-card@artdeco-card","discover@infinite-entity-list","discover@entity-card"]]',moduleName:"mynetwork/templates/nurture/grow.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/settings",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"31har1my",block:'[[[8,[39,0],null,null,[["default"],[[[[1,"\\n "],[8,[39,1],null,[["@template"],["main-aside"]],[["main","aside"],[[[[1,"\\n "],[10,0],[12],[1,"\\n "],[46,[28,[37,3],null,null],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[]],[[[1,"\\n "],[8,[30,1,["Sticky"]],null,null,[["default"],[[[[1,"\\n "],[10,0],[14,0,"manage-sync__right-rail"],[12],[1,"\\n "],[8,[39,4],[[24,0,"artdeco-card overflow-hidden"]],[["@slotSize","@zone","@pageZone"],["300x250","MYNETWORK","PAGE_ZONE_BODY_RIGHT"]],null],[1,"\\n\\n "],[8,[39,5],null,null,null],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]]]]]],["Aside"],false,["ember-self-focused@self-focused","scaffold-layout@layout","component","-outlet","ads@ad-banner","global-footer@global-footer-compact"]]',moduleName:"mynetwork/templates/settings.hbs",isStrictMode:!1})}))
|
|
define("mynetwork/templates/settings/manage-syncing",["exports","@ember/template-factory"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=(0,t.createTemplateFactory)({id:"DiKjsy5a",block:'[[[8,[39,0],null,[["@privacyPolicyUrl","@helpCenterUrl"],[[30,0,["privacyPolicyUrl"]],[30,0,["helpCenterUrl"]]]],null],[1,"\\n\\n"],[8,[39,1],null,[["@integrations","@refreshRoute","@sourceGroupType"],[[30,0,["model","contactIntegrations"]],[30,0,["refreshRoute"]],"contacts"]],null],[1,"\\n\\n"],[8,[39,1],null,[["@integrations","@refreshRoute","@sourceGroupType"],[[30,0,["model","calendarIntegrations"]],[30,0,["refreshRoute"]],"calendar"]],null],[1,"\\n\\n"],[10,"br"],[12],[13],[1,"\\n"],[8,[39,2],[[24,0,"artdeco-button artdeco-button--4 artdeco-button--muted artdeco-button--tertiary mb5"],[4,[38,3],["back"],null]],[["@route"],["abi.saved-contacts"]],[["default"],[[[[1,"\\n "],[8,[39,4],[[24,0,"mn-manage-syncing__icon"]],[["@type","@size","@name"],["system","medium","arrow-left"]],null],[1,"\\n "],[1,[28,[35,5],["i18n_settings_manage_syncing_return_to_parent","mynetwork/templates/settings/manage-syncing"],null]],[1,"\\n"]],[]]]]]],[],false,["abi-shared@settings/manage-syncing-header","abi-shared@settings/manage-source-group","ember-engines@link-to-external","ember-cli-pemberly-tracking@track-interaction","hue-web-icons@icon","t"]]',moduleName:"mynetwork/templates/settings/manage-syncing.hbs",isStrictMode:!1})}))
|
|
define.alias("ember-async-data/tracked-async-data","mynetwork/tracked-async-data")
|
|
define("mynetwork/utils/asset-utils",["exports","ember-cloud-filepicker/utils/asset-utils"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("mynetwork/utils/badge-issue-tracker",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const t={trackBadgeIssues:function(e,t,n,i){const o=e.get("numNewInvitations"),r=!!t,a=!!o||r
|
|
if(i!==a){const e=[]
|
|
a?e.push("mynetwork.index route: has new update but no badge"):e.push("mynetwork.index route: has badge but no update")
|
|
e.push(`badgeCount=${n}`,`numNewInvitations=${o}`,`hasAcceptInviteNotification=${r}`)
|
|
console.error(e.join(", "))}}}
|
|
e.default=t}))
|
|
define.alias("ember-highcharts/utils/build-options","mynetwork/utils/build-options")
|
|
define("mynetwork/utils/connection-util",["exports","@ember/debug","global-utils/utils/logger","global-utils/utils/is-network-error","mynetwork-shared/utils/constants","@ember/object","mynetwork/utils/network-manager"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.CONNECTION_URLS=void 0
|
|
e.createCacheKey=s
|
|
e.getConnections=function(e,t){let{options:a={},jet:c}=t
|
|
const u=s(l.URL_CONNECTIONS_IS_DASH,a)
|
|
return e.queryURL(l.URL_CONNECTIONS_IS_DASH,{cacheKey:u,params:a,reload:!0}).then((e=>[...(0,r.get)(e,"elements")])).then((e=>e.filter((e=>{const{connectedMember:t,connectedMemberResolutionResult:n}=(0,r.getProperties)(e,"connectedMember","connectedMemberResolutionResult")
|
|
return t&&n})))).catch((e=>{if((0,i.default)(e)){(0,n.errorLogger)(c,"[connection-util.js] Error in getConnections",e,o.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))}
|
|
e.getConnectionsSummary=function(e,t){let{jet:n}=t
|
|
const l={params:{...(0,a.configureEntitiesQuery)({count:0,resultType:"CONNECTIONS"}),origin:"Communities"},reload:!0,adapterOptions:{degradations:[o.DEGRADATION_TRACKING_METADATA.CONNECTION_SUMMARY],degradedEntityIDsToRemove:[]}}
|
|
return e.queryURL(a.SEARCH_DASH_CLUSTER_API,l).then((e=>(0,r.get)(e,"metadata.totalResultCount"))).catch((e=>{if((0,i.default)(e)){n.logError(e,o.MYNETWORK_ERROR_TAGS,!1)
|
|
return null}throw e}))}
|
|
e.getConnectionsWithPaging=function(e,t){let{start:r,count:a,keyword:c,sortType:u,jet:m}=t
|
|
const d=s(l.URL_CONNECTIONS,{start:r,count:a,keyword:c,sortType:u})
|
|
return e.queryURL(l.URL_CONNECTIONS,{cacheKey:d,params:{start:r,count:a,keyword:c,sortType:u},reload:!0}).catch((e=>{if((0,i.default)(e)){(0,n.errorLogger)(m,"[connection-util.js] Error in getConnectionsWithPaging",e,o.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))}
|
|
const l=e.CONNECTION_URLS={URL_CONNECTIONS:"relationships/connections",URL_CONNECTIONS_IS_DASH:"relationships/dash/connections"}
|
|
function s(e,t){return`${e}|${t.sortType}|${t.count}|${t.start}|${t.keyword}|${t.sortType}`}}))
|
|
define("mynetwork/utils/constants-common",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.TRACKING_ROW_NO=e.REFRESH=e.PYMK_PAGE_SIZE=e.PAGE_SIZE=e.NO_REFRESH=e.NOTIFICATION_DURATION=e.LIX=e.HEADS_UP_SCENARIOS=e.GENERIC_INVITATION_FACET_QUERY=e.ERROR_STATE_TYPES=e.ERROR_STATE_ILLUSTRATIONS=e.ERROR_STATE_EVENTS=e.DEFAULT_PAGINATION_COUNT=e.CONNECTION_LIST_SCROLL_PAGE_KEY=void 0
|
|
e.LIX={FORCE_CLEAR_BADGE:"voyager.mynetwork.web.force-clear-badge"},e.PYMK_PAGE_SIZE=10,e.CONNECTION_LIST_SCROLL_PAGE_KEY="flagship3_people_connections_list",e.TRACKING_ROW_NO=20,e.PAGE_SIZE=10,e.NOTIFICATION_DURATION=8e3,e.DEFAULT_PAGINATION_COUNT=100,e.NO_REFRESH=Object.freeze({refreshModel:!1}),e.REFRESH=Object.freeze({refreshModel:!0}),e.ERROR_STATE_EVENTS={ERROR_STATE_PAGEKEY:"flagship3_people_error_state"},e.ERROR_STATE_TYPES={INVITATION:"invitation",CONNECTION_SUMMARY:"connectionSummary",RECOMMENDATION:"recommendation",NETWORK_SURVEY:"networkSurvey"},e.ERROR_STATE_ILLUSTRATIONS={EMPTY_NO_MAIL:"empty-no-mail",EMPTY_LEAVING:"empty-leaving",EMPTY_ROOM:"empty-room",ERROR_SERVER:"error-server",ERROR_CONNECTION:"error-connection"},e.GENERIC_INVITATION_FACET_QUERY={PENDING:"pending",SENT:"sent"},e.HEADS_UP_SCENARIOS={ACCEPT_CONNECTION_INVITATION:"ACCEPT_CONNECTION_INVITATION",FOLLOW_MEMBER:"FOLLOW_MEMBER",FOLLOW_COMPANY:"FOLLOW_COMPANY",ATTEND_EVENT:"ATTEND_EVENT"}}))
|
|
define("mynetwork/utils/constants",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.TOAST_TYPES=e.SOCIAL_PROOF_TYPE=e.SESSION_REPLAY=e.ROUTES=e.REFRESH=e.OPT_OUT_NOTIFICATION=e.LIXES=e.JOBS_ENGINE_EXT=e.HEATHROW=e.FIRST_DEGREE_SEARCH_PARAM=e.DEFAULT_TRANSACTION_ID=e.DEFAULT_TASKHANDLE=e.DEFAULT_PAGINATION_COUNT=e.DEFAULT_FIRST_LOAD_COUNT=e.DEFAULT_COUNTRY_CODE=e.COUNT_CONNECTION_FACEPILE=e.CONNECTION_CONNECTIONS=e.CACHE_WARMUP_THRESHOLD=void 0
|
|
e.DEFAULT_PAGINATION_COUNT=100,e.LIXES={LIX_COMPOSURE_INVITATION_LIST:"voyager.mynetwork.web.extended.composure-invitation-list"},e.REFRESH=Object.freeze({refreshModel:!0}),e.ROUTES={ABI_SPLASH:"abi.intro",ABI_SUCCESS:"abi.results.success",DISCOVER_HUB:"discover-hub",DEFAULT_AFTER_ROUTE:"mynetwork.index",GUEST_RESULTS:"abi.results.guest",INVITE_CONNECT_CONNECTIONS:"invite-connect.connections",MEMBER_RESULTS:"abi.results.member",MYNETWORK:"mynetwork",MYNETWORK_INDEX:"index",NETWORK_MANAGER_CONNECTIONS:"network-manager.connections",NETWORK_MANAGER_EVENTS:"network-manager.events",NETWORK_MANAGER_NEWSLETTERS:"network-manager.newsletters",NETWORK_MANAGER_PEOPLE_FOLLOW:"network-manager.people-follow",NETWORK_MANAGER_PEOPLE_FOLLOW_FOLLOWERS:"network-manager.people-follow.followers",NETWORK_MANAGER_HASHTAGS:"network-manager.hashtags",NETWORK_MANAGER_COMPANY:"network-manager.company",RESULTS:"abi.results"},e.OPT_OUT_NOTIFICATION={OPT_OUT_NOTIFICATION_EMAIL_TRK:"eml-email_accept_invite_replay_01-pending_invites-0-opt_out",OPT_OUT_NOTIFICATION_EMAIL_TRK_NEPTUNE:"eml-email_accept_invite_replay_01-pending_invites-1-opt_out"},e.DEFAULT_COUNTRY_CODE="us",e.DEFAULT_TASKHANDLE="defaultTaskHandle",e.DEFAULT_TRANSACTION_ID="defaultTransactionId",e.COUNT_CONNECTION_FACEPILE=4,e.SOCIAL_PROOF_TYPE="RELEVANCE",e.FIRST_DEGREE_SEARCH_PARAM="F",e.TOAST_TYPES={TOAST_SUCCESS:"success",TOAST_IGNORE:"ignore"},e.JOBS_ENGINE_EXT="jobs",e.DEFAULT_FIRST_LOAD_COUNT=10,e.CACHE_WARMUP_THRESHOLD=100,e.CONNECTION_CONNECTIONS="CC",e.HEATHROW={NORMALIZED_PROFILE_RECEIPE:"com.linkedin.voyager.deco.identity.normalizedprofile.shared.WebHeathrowOrganizationProfile",INITIAL_DISCOVERY_FETCH_COUNT:12},e.SESSION_REPLAY={INTERVAL:1e4,PRODUCT:"FLAGSHIP",MYNETWORK:"mynetwork"}}))
|
|
define("mynetwork/utils/dedup-invites",["exports","@ember/object","global-utils/utils/array/push","tracked-built-ins"],(function(e,t,n,i){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.dedupInvitationsHandler=function(e){let{context:o,invitationViews:r=[],updateCache:a=!0,resolvedInvitationCache:l=[]}=e,s=new i.TrackedArray((0,t.get)(o,"invitationCache")??[])
|
|
if(null===r)return[]
|
|
if(!s.length&&!l.length){(0,t.set)(o,"invitationCache",r.map((e=>(0,t.get)(e,"invitation.entityUrn"))))
|
|
return r}const c=((e,n,i)=>{const o=(0,t.get)(n,"length"),r=(0,t.get)(e,"length")
|
|
if(!r||!o&&!i)return e
|
|
return e.filter((e=>!(n.includes((0,t.get)(e,"invitation.entityUrn"))||i.includes((0,t.get)(e,"invitation.entityUrn")))))})(r,s,l)
|
|
if(a){s=(0,n.pushValues)(s,((e,n)=>n.map((e=>(0,t.get)(e,"invitation.entityUrn"))).filter((n=>!e.includes((0,t.get)(n,"invitation.entityUrn")))))(s,c));(0,t.set)(o,"invitationCache",s)}return c}}))
|
|
define("mynetwork/utils/discovery-util",["exports","@ember/debug","@ember/object","mynetwork-shared/utils/constants","global-utils/utils/is-network-error","mynetwork/utils/network-manager"],(function(e,t,n,i,o,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const a="Communities",l=0
|
|
const s={getMyNetworkSummary:function(e){let{jet:t,graphql:s,adapterOptions:c}=e
|
|
const u=(0,r.configureEntitiesQueryGraphQL)({count:l,resultType:r.ENTITY_RESULT_TYPES.ALL,origin:a}),m={reload:!0}
|
|
c&&(m.adapterOptions=c)
|
|
return s.executeQuery(...u,m).then((e=>(0,n.get)(e,"data.searchDashClustersByAll"))).catch((e=>{if((0,o.default)(e)){t.logError(e,i.MYNETWORK_ERROR_TAGS,!1)
|
|
return null}throw e}))}}
|
|
e.default=s}))
|
|
define("mynetwork/utils/entity-invitee-suggestions-manager",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/object","@glimmer/tracking","urn-utils","invitation/utils/get-entity-name","global-utils/utils/urn-converter","rsvp","invitation-platform/utils/constants","invitation/utils/invitation-util","invitee-picker/utils/invitee-picker"],(function(e,t,n,i,o,r,a,l,s,c,u,m,d,p){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.excludeInvalidInviteeSuggestions=function(e){return e.filter((e=>(0,r.get)(e,"inviteeUrn")&&(0,r.get)(e,"title")&&(0,r.get)(e,"navigationUrl")))}
|
|
var f,y,h,g,b,_
|
|
const w=[m.INVITATION_TYPES.EVENT]
|
|
e.default=(f=class{constructor(e){let{store:i,lix:o,formatter:r}=e;(0,n.default)(this,"storeShim",void 0);(0,n.default)(this,"lix",void 0);(0,n.default)(this,"formatter",void 0);(0,t.default)(this,"inviteeSuggestions",y,this);(0,t.default)(this,"totalSuggestions",h,this);(0,t.default)(this,"isOpen",g,this);(0,t.default)(this,"isLoading",b,this);(0,t.default)(this,"invitationView",_,this)
|
|
this.storeShim=i
|
|
this.lix=o
|
|
this.formatter=r}get invitationType(){return(0,r.get)(this,"invitationView.genericInvitationType")}get invitationTargetUrn(){const e=(0,r.get)((0,d.getGenericInviter)(this.invitationView),"entityUrn"),t=(0,l.extractEntityInfoFromUrn)(e)
|
|
return(0,c.toUrn)(t.type,t.id)}get entityName(){return this.invitationView?(0,s.default)((0,d.getGenericInviter)(this.invitationView)):""}dismissModule(){this.isOpen=!1}fetchInviteeSuggestions(e){this.invitationView=e
|
|
this.isLoading=!0
|
|
this.inviteeSuggestions=[]
|
|
if(!w.includes(this.invitationType)){this.isOpen=!1
|
|
return(0,u.resolve)()}return(0,p.fetchCommunityInviteeSuggestions)({store:this.storeShim,formatter:this.formatter,entityUrn:this.invitationTargetUrn,count:6,start:0,useCase:"POST_INVITATION_ACCEPTANCE"}).then((e=>{this.totalSuggestions=e.total
|
|
this.inviteeSuggestions=e.results
|
|
this.isLoading=!1
|
|
this.inviteeSuggestions.length>3&&(this.isOpen=!0)})).catch((e=>{this.isOpen=!1
|
|
throw e}))}},y=(0,i.default)(f.prototype,"inviteeSuggestions",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return[]}}),h=(0,i.default)(f.prototype,"totalSuggestions",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(f.prototype,"isOpen",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),b=(0,i.default)(f.prototype,"isLoading",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),_=(0,i.default)(f.prototype,"invitationView",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(f.prototype,"dismissModule",[r.action],Object.getOwnPropertyDescriptor(f.prototype,"dismissModule"),f.prototype),f)}))
|
|
define("mynetwork/utils/file-error",["exports","ember-cloud-filepicker/utils/file-error"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("mynetwork/utils/file-result",["exports","ember-cloud-filepicker/utils/file-result"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("mynetwork/utils/follow-util",["exports","mynetwork/utils/network-manager","follows/utils/follow-tracking-base","feed-requests/update-actions","mynetwork-shared/utils/constants","graphql-queries/queries/search/search-cluster-collection.graphql","@ember/object"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.PEOPLE_FOLLOW_ROUTE_PATH=e.PEOPLE_FOLLOW=e.FOLLOW_ENTITIES_FETCH_COUNT=void 0
|
|
e.fetchCurationHubEntities=function(e){let{graphql:n,jet:i,resultType:o,start:s=0}=e
|
|
const c={start:s,count:l,origin:"CurationHub",query:{flagshipSearchIntent:"MYNETWORK_CURATION_HUB",includeFiltersInResponse:!0,queryParameters:[{key:"resultType",value:[o]}]}}
|
|
return n.executeQuery(r.default,c,{reload:!0}).then((e=>(0,a.get)(e,"data.searchDashClustersByAll"))).catch((e=>{if((0,t.handleEntitiesError)(i,e,o)||e.errors.length)return{isErrorLoadingEntities:!0}
|
|
throw e}))}
|
|
e.toggleFollowHelper=function(e){let{entity:t,store:r,jet:l,tracking:s,resultType:c,removeItemFromListAction:u=(()=>{})}=e
|
|
const m=(0,a.get)(t,"overflowActions.0.actionDetails.followAction"),d=(0,a.get)(t,"trackingId"),p=!(0,a.get)(m,"following")
|
|
r.adapterFor("-ember-m3").ajax(...(0,i.toggleFollowWithFollowingInfoRequest)(m,"NON_SSU",!0)).catch((e=>{l.logError(new Error(`Failed to toggle follow - ${c}`),o.MYNETWORK_ERROR_TAGS,!1)
|
|
throw e}));(0,n.fireFollowActionEvent)(s,d,p)
|
|
null==u||u()}
|
|
const l=e.FOLLOW_ENTITIES_FETCH_COUNT=10
|
|
e.PEOPLE_FOLLOW={FOLLOWING:"following",FOLLOWERS:"followers"},e.PEOPLE_FOLLOW_ROUTE_PATH={following:"mynetwork.network-manager.people-follow.following",followers:"mynetwork.network-manager.people-follow.followers"}}))
|
|
define("mynetwork/utils/gdpr-notice",["exports","ember-app-scheduler"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=function(e,i,o,r,a){const l=n[i];(0,t.whenRouteIdle)().then((()=>{a.isDestroying||e.showToast(i,o,r,l.ACTION_URL)}))}
|
|
const n={MANAGE_CONTACT_PAGE:{ACTION_URL:"/mynetwork/settings/manage-syncing",isExternal:!1},MY_NETWORK_PAGE:{ACTION_URL:"/psettings/invite-receive",isExternal:!0},REGISTRATION_FLOW_PROFILE_VISIBILITY:{ACTION_URL:"/psettings/account",isExternal:!0}}}))
|
|
define("mynetwork/utils/get-app-config",["exports","ember-cloud-filepicker/utils/get-app-config"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define.alias("ember-cli-artdeco-tabs/utils/get-box-model-width","mynetwork/utils/get-box-model-width")
|
|
define("mynetwork/utils/heathrow-organization-util",["exports","@ember/object"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=function(e){return!(!(0,t.get)(e,"mostRecentPosition")||!(0,t.get)(e,"mostRecentPosition.company")||(0,t.get)(e,"mostRecentPosition.company.claimable")||(0,t.get)(e,"mostRecentPosition.company.followingInfo.following"))}}))
|
|
define.alias("client-sensor-web/utils/helpers","mynetwork/utils/helpers")
|
|
define("mynetwork/utils/ignored-invitations-util",["exports"],(function(e){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.shouldShowSettingsPopup=function(e,t,n){if(!n)return!1
|
|
const i=`ignored_invitations_${n}`
|
|
let o=parseInt(e.getItem(i),10)
|
|
if(o){if(o>=5)return!1}else o=0
|
|
e.setItem(i,++o)
|
|
return 5===o}}))
|
|
define("mynetwork/utils/invitation-util",["exports","@ember/object","global-utils/utils/api-compat","global-helpers/helpers/name","data-layer/helpers/relationships/invitation/is-member"],(function(e,t,n,i,o){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.getCheckedInvitations=a
|
|
e.getGuestProfile=function(e){if("com.linkedin.voyager.relationships.shared.pymk.PeopleYouMayKnow"===(0,n.classNameOf)(e))return function(e){if(e&&!(0,o.isMember)(e))return{name:(0,t.get)(e,"entity.name")||(0,i.getName)((0,t.get)(e,"entity")),handle:(0,t.get)(e,"entity.handle.number")||(0,t.get)(e,"entity.handle.id")}
|
|
return null}(e)
|
|
return function(e){if(e&&!(0,o.isMember)(e)){const n=(0,t.get)(e,"invitee"),o=(0,t.get)(n,"email")||(0,t.get)(n,"phoneNumber.number")
|
|
return{name:(0,t.get)(n,"name")||(0,i.getName)(n)||o,handle:o}}return null}(e)}
|
|
e.getPaginationTokenFromLocalStorage=function(e){return e.getItem(r)||void 0}
|
|
e.getSentInvites=function(e){const n={folder:"SENT"},i=`relationships/invitations|${n.folder}|${n.model}`
|
|
return e.queryURL("relationships/invitations",{cacheKey:i,params:n,reload:!0}).then((e=>(0,t.get)(e,"elements")))}
|
|
e.getTotalInvitations=function(e){if(!e)return 0
|
|
return(0,t.get)(e,"invitationViews.length")||(0,t.get)(e,"numOfInvitations")||0}
|
|
e.setPaginationTokenToLocalStorage=function(e,t){t&&"null"!==t&&e.setItem(r,t)}
|
|
e.showCheckedTotal=function(e){let n=0
|
|
if(e){(0,t.get)(e,"invitationsLoaded")?n=a(e).length:(0,t.get)(e,"checked")&&(n=1)}return n}
|
|
const r="invitationViewPaginationToken"
|
|
function a(e){const n=e&&(0,t.get)(e,"invitationViews")
|
|
return n?n.filter((e=>!0===(0,t.get)(e,"checked"))):[]}}))
|
|
define("mynetwork/utils/is-http-error-status",["exports","@ember/object"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=function(e){const n=e&&(0,t.get)(e,"errors.firstObject.status")
|
|
return Boolean(n&&/^[4-5][0-9][0-9]$/.test(n))}}))
|
|
define.alias("@linkedin/hue-web-artdeco-migration-runtime/utils/mapping-data","mynetwork/utils/mapping-data")
|
|
define("mynetwork/utils/mime-type-utils",["exports","ember-cloud-filepicker/utils/mime-type-utils"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define("mynetwork/utils/mynetwork-notifications",["exports","@ember/object","mynetwork/requests/mynetwork-notification","voyager-web/config/environment","global-utils/utils/url","@ember/debug"],(function(e,t,n,i,o,r){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const a="relationships/myNetworkNotifications"
|
|
e.default=class{constructor(e){this.storeShim=e
|
|
this.recordsToUnload=[]}unloadNotificationRecords(){const{storeShim:e}=this
|
|
if(this.recordsToUnload.length){this.recordsToUnload.forEach(((t,n)=>e.unloadRecord(this.recordsToUnload[n])))
|
|
this.recordsToUnload=[]}}getNotificationsByType(e){const n={}
|
|
e.forEach((function(e){(0,t.get)(e,"notification.inviteesTotalCount")?n.acceptInvite=e:(0,t.get)(e,"notification.notificationAction")?n.summaryCardNotification=e:n.pymkSuggestion=e}))
|
|
return n}markNotificationAsRead(e,t){this.storeShim.adapterFor("-ember-m3").ajax(...(0,n.buildItemsAsSeenByTypeAndTime)(e,t)).then((()=>this.recordsToUnload.push(e)))}markAllNotificationAsRead(){const e={data:{until:Date.now(),types:["PYMK","INVITATION_ACCEPTANCE"]}}
|
|
return this.storeShim.adapterFor("-ember-m3").ajax(this._buildURL(a,"markAllItemsAsSeenByTypesAndTimestamp"),"POST",e)}markAllInvitationAcceptanceNotificationsAsRead(){const e={data:{until:Date.now()}}
|
|
return this.storeShim.adapterFor("-ember-m3").ajax(this._buildURL(a,"markAllInvitationAcceptanceNotificationsAsSeenByTimestamp"),"POST",e)}_buildURL(e,t){return(0,o.addQueryParams)(`/${i.default.namespace}/${e}`,{action:t})}}}))
|
|
define("mynetwork/utils/mynetwork-request",["exports","@ember/debug","voyager-web/config/environment","global-utils/utils/logger","global-utils/utils/is-network-error","@linkedin/ember-restli-graphql","mynetwork/requests/mynetwork-notification","mynetwork-shared/utils/constants","mynetwork/requests/social-proof","@ember/object","graphql-queries/queries/invitations/invitation-views-by-received.graphql","graphql-queries/queries/invitations/sent-invitation-views-by-invitation-type.graphql","@linkedin/ember-pem/utils/degradation-tracking-metadata"],(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
|
|
const p="voyagerContactsDashSupportedEmail",f="identity/normalizedProfiles",y="com.linkedin.voyager.dash.deco.contacts.SupportedEmail",h="Elements prop is missing from response",g=e=>e.match(h),b=e=>new Error(e)
|
|
const _={getNormalizedProfileByVanityName:function(e,t){let{vanityName:r,recipe:a,jet:s}=t
|
|
const c=`/${n.default.namespace}/${f}/${r}`
|
|
return e.findRecord(a,r,{adapterOptions:{url:c},reload:!1}).catch((e=>{if((0,o.default)(e)){(0,i.errorLogger)(s,"[mynetwork-request.js] Error in getNormalizedProfileByVanityName",e,l.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))},getDashInvitationViewMeta:function(e,t,n){let{filterCriteria:r=[],paginationToken:a}=n
|
|
const s={filterCriteria:r,count:0,paginationToken:a},m={reload:!0,cacheKey:`relationshipsDashInvitationViewsMetadata|${s.count}|${r.join(",")}|${a}`}
|
|
return e.executeQuery(u.default,s,m).then((e=>(0,c.get)(e,"data.relationshipsDashInvitationViewsByReceived.metadata"))).catch((e=>{if((0,o.default)(e)){(0,i.errorLogger)(t,"[mynetwork-request.js] Error in getDashInvitationViewMeta",e,l.MYNETWORK_ERROR_TAGS)
|
|
return null}throw e}))},getSocialProof:function(e,t){let{size:n,type:r,jet:a}=t
|
|
const u=(0,s.createSocialProofRequest)(n,r)
|
|
return e.findRecord(...u).then((e=>(0,c.get)(e,"elements").map((e=>{const t=(0,c.get)(e,"entity.miniProfile"),n=(0,c.getProperties)(t,"firstName","lastName","maidenName");(0,c.set)(e,"entity.miniProfile.name",n)
|
|
return e})))).catch((e=>{if((0,o.default)(e)){(0,i.errorLogger)(a,"[mynetwork-request.js] Error in getSocialProof",e,l.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))},getDashInvitationViews:function(e,t,n){let{start:i,count:a,includeInsights:s,paginationToken:m,invitationTypes:p=[],filterCriteria:f=[],isInvitationPreview:y=!1,isPemSessionReplayEnabled:_=!1,adapterOptions:w,q:v="receivedInvitation"}=n
|
|
const k={reload:!0,cacheKey:`relationshipsDashInvitationViews|${v}|${m}|${i}|${a}|${f.join(",")}|${p.join(",")}`}
|
|
y&&(k.adapterOptions={degradations:[new d.default("invitation-preview","missing-elements",{productName:l.PEM_PRODUCT_NAMES.VOYAGER_MY_NETWORK,enableSessionRecording:_})],degradedEntityIDsToRemove:[]})
|
|
w&&(k.adapterOptions=k.adapterOptions?{...k.adapterOptions,degradations:[...k.adapterOptions.degradations,...w.degradations??[]]}:w)
|
|
const T={invitationTypes:p,filterCriteria:f,includeInsights:s,start:i,count:a,paginationToken:m}
|
|
return e.executeQuery(u.default,T,k).then((e=>{const t=(0,c.get)(e,"data.relationshipsDashInvitationViewsByReceived.elements")
|
|
if(!t)throw b(h)
|
|
return[...t].filter((e=>!!e))})).catch((e=>{if((0,o.default)(e)||g(e.message)||e instanceof r.GraphQLQueryError){t.logError(e,l.MYNETWORK_ERROR_TAGS,!1)
|
|
return null}throw e}))},getDashSentInvitationViews:function(e,t,n){let{start:i,count:r,invitationType:a,adapterOptions:s={}}=n
|
|
const u={reload:!0,cacheKey:`relationshipsDashSentInvitationViewsByInvitationType|${i}|${r}|${a}`,adapterOptions:s},d={start:i,count:r,invitationType:a}
|
|
return e.executeQuery(m.default,d,u).then((e=>{if(!e)throw b(h)
|
|
return(0,c.get)(e,"data.relationshipsDashSentInvitationViewsByInvitationType")})).catch((e=>{if((0,o.default)(e)||g(e.message)){t.logError(e,l.MYNETWORK_ERROR_TAGS,!1)
|
|
return null}throw e}))},getConnectionsWithPaging:function(e,t){let{start:n,count:r,keyword:a,sortType:s,jet:c}=t
|
|
const u=`relationships/connections|${n}|${r}|${a}|${s}`
|
|
return e.queryURL("relationships/connections",{cacheKey:u,params:{start:n,count:r,keyword:a,sortType:s},reload:!0}).catch((e=>{if((0,o.default)(e)){(0,i.errorLogger)(c,"[mynetwork-request.js] Error in getConnectionsWithPaging",e,l.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))},getMyNetworkNotifications:function(e,t){let{jet:n,shouldReloadRecord:r=!1}=t
|
|
return e.queryURL(...(0,a.createMyNetworkNotificationRequest)(r)).then((e=>{const t=(0,c.get)(e,"metadata.latestPublishedAt"),n=(0,c.get)(e,"elements")??[]
|
|
n.forEach((e=>(0,c.set)(e,"latestPublishedAt",t)))
|
|
return n})).catch((e=>{if((0,o.default)(e)){(0,i.errorLogger)(n,"[mynetwork-request.js] Error in getMyNetworkNotifications",e,l.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))},getPrefillEmail:function(e,t){const r=`/${n.default.namespace}/${p}`,a=y
|
|
return e.findRecord(a,"GET",{adapterOptions:{url:r}}).catch((e=>{if((0,o.default)(e)){(0,i.errorLogger)(t,"[mynetwork-request.js] Error in getPrefillEmail",e,l.MYNETWORK_ERROR_TAGS)
|
|
return[]}throw e}))},getInvitationNotifications:function(e,t,n){let{start:i,count:r,lastUpdateTimeRange:a}=n
|
|
const s={start:i,count:r,q:"lastUpdateTimeRange",lastUpdateTimeRange:{start:(0,c.get)(a,"start"),end:(0,c.get)(a,"end")},recipe:"com.linkedin.voyager.dash.deco.relationships.invitationAcceptanceNotificationCardsCollection"},u=`voyagerRelationshipsDashInvitationAcceptanceNotificationCards|${s.q}|${s.start}|${s.count}|${s.lastUpdateTimeRange.start}|${s.lastUpdateTimeRange.end}`
|
|
return e.queryURL("voyagerRelationshipsDashInvitationAcceptanceNotificationCards",{cacheKey:u,params:s,reload:!0}).catch((e=>{if((0,o.default)(e)||g(e.message)){t.logError(e,l.MYNETWORK_ERROR_TAGS,!1)
|
|
return null}throw e}))}}
|
|
e.default=_}))
|
|
define("mynetwork/utils/network-manager",["exports","@ember/debug","global-utils/utils/is-network-error","graphql-queries/queries/search/search-cluster-collection.graphql","mynetwork-shared/utils/constants"],(function(e,t,n,i,o){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.SEARCH_DASH_CLUSTER_API=e.ENTITY_RESULT_TYPES=e.ENTITY_PAGE_SIZE=void 0
|
|
e.configureEntitiesQuery=function(e){let{count:t=r,start:n=0,resultType:i}=e
|
|
return{q:"all",start:n,count:t,query:{queryParameters:{resultType:[i]},flagshipSearchIntent:"MYNETWORK_CURATION_HUB"},recipe:"com.linkedin.voyager.dash.deco.search.SearchClusterCollection"}}
|
|
e.configureEntitiesQueryGraphQL=function(e){let{count:t=r,start:n=0,resultType:o,origin:a}=e
|
|
const l={start:n,count:t,...a?{origin:a}:{},query:{queryParameters:[{key:"resultType",value:[o]}],flagshipSearchIntent:"MYNETWORK_CURATION_HUB"}}
|
|
return[i.default,l]}
|
|
e.handleEntitiesError=function(e,t,i){if((0,n.default)(t)){e.logError(new Error(`Network request failed while attempting to retrieve entities for resultType: ${i}`),o.MYNETWORK_ERROR_TAGS,!1)
|
|
return!0}return!1}
|
|
e.sliceNetworkMangerRoute=function(e){return e.split(".").slice(2)}
|
|
const r=e.ENTITY_PAGE_SIZE=10
|
|
e.SEARCH_DASH_CLUSTER_API="search/dash/clusters",e.ENTITY_RESULT_TYPES=Object.freeze({ALL:"ALL",EVENTS:"EVENTS",HASHTAGS:"HASHTAGS",HASHTAG:"HASHTAG",COMPANY:"COMPANY",NEWSLETTERS:"CONTENT_SERIES",PEOPLE_FOLLOW:"PEOPLE_FOLLOW",PEOPLE_FOLLOWERS:"FOLLOWERS",PAGES:"PAGES"})}))
|
|
define("mynetwork/utils/notification-collection",["exports","@ember/debug","mynetwork/utils/mynetwork-request","rsvp","@ember/object","tracked-built-ins","global-utils/utils/array/push"],(function(e,t,n,i,o,r,a){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
e.default=class{constructor(e){let{store:t,jet:n,lastUpdateTimeRange:i}=e
|
|
this.storeShim=t
|
|
this.jet=n
|
|
this.lastUpdateTimeRange=i
|
|
this.elements=new r.TrackedArray([])
|
|
this.start=0
|
|
this.count=10
|
|
this.total=0
|
|
this.isScrollDisabled=!1}getPage(){return this.isScrollDisabled?(0,i.resolve)([]):this._fetchPage().then(this._handlePageSuccess.bind(this))}get getTotal(){return this.total}prepend(e){this.elements.unshift(e)}resetData(){this.start=0
|
|
this.count=10
|
|
this.isScrollDisabled=!1;(0,o.set)(this,"elements",new r.TrackedArray([]))}_fetchPage(){return n.default.getInvitationNotifications(this.storeShim,this.jet,{start:this.start,count:this.count,lastUpdateTimeRange:this.lastUpdateTimeRange})}_handlePageSuccess(e){if(null===e)return
|
|
const t=[...(0,o.get)(e,"elements")],n=(0,o.get)(e,"paging.start")??this.start,i=(0,o.get)(e,"paging.count")??this.count,r=(0,o.get)(e,"paging.total");(0,a.pushValues)(this.elements,t)
|
|
const l=r?n+t.length<r:t.length>0
|
|
this.isScrollDisabled=!l
|
|
this.total=r
|
|
this._lastPage=(0,o.get)(e,"paging")
|
|
this._lastMeta=(0,o.get)(e,"meta")
|
|
this.start=n+i
|
|
return e}}}))
|
|
define("mynetwork/utils/suggestions-storage-util",["exports","mynetwork/utils/constants","global-utils/utils/is-browser"],(function(e,t,n){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
function i(e){try{n.default&&e&&window.sessionStorage.removeItem(e)}catch(e){}}const o={readFromStorage:function(){try{const e=function(){try{let e=null
|
|
n.default&&window.sessionStorage.length&&window.sessionStorage.getItem(t.CONNECTION_CONNECTIONS)&&(e=t.CONNECTION_CONNECTIONS)
|
|
return e}catch(e){return null}}()
|
|
if(n.default&&e){const t=[window.sessionStorage.getItem(e),e]
|
|
i(e)
|
|
return t}return[]}catch(e){return null}},saveToStorage:function(e,t){try{n.default&&window.sessionStorage.setItem(e,t)}catch(e){}},removeFromStorage:i}
|
|
e.default=o}))
|
|
define("mynetwork/utils/truncation-util",["exports","global-utils/utils/is-browser"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
e.default=void 0
|
|
const n={isTextTruncated:function(e){return t.default&&e&&e.offsetHeight<e.scrollHeight}}
|
|
e.default=n}))
|
|
define("mynetwork/utils/uuid-generator",["exports","ember-uuid/utils/uuid-generator"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.defineProperty(e,"parse",{enumerable:!0,get:function(){return t.parse}})
|
|
Object.defineProperty(e,"unparse",{enumerable:!0,get:function(){return t.unparse}})
|
|
Object.defineProperty(e,"v1",{enumerable:!0,get:function(){return t.v1}})
|
|
Object.defineProperty(e,"v4",{enumerable:!0,get:function(){return t.v4}})}))
|
|
define("mynetwork/utils/validation-helpers",["exports","ember-cloud-filepicker/utils/validation-helpers"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
define.alias("ember-vector-images/utils/vector-url","mynetwork/utils/vector-url")
|
|
define("mynetwork/utils/window-helpers",["exports","ember-cloud-filepicker/utils/window-helpers"],(function(e,t){"use strict"
|
|
Object.defineProperty(e,"__esModule",{value:!0})
|
|
var n={}
|
|
Object.defineProperty(e,"default",{enumerable:!0,get:function(){return t.default}})
|
|
Object.keys(t).forEach((function(i){"default"!==i&&"__esModule"!==i&&(Object.prototype.hasOwnProperty.call(n,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
|
|
|
|
//# sourceMappingURL=engine.map |