Property(e,"__esModule",{value:!0})
e.default=void 0
e.default=(0,t.modifier)((function(e,t){let[r]=t
r(e)
return()=>{}}))}))
define.alias("ember-prop-modifier","profile-tetris/modifiers/prop")
define.alias("ember-scroll-modifiers/modifiers/scroll-into-view","profile-tetris/modifiers/scroll-into-view")
define.alias("ember-sortable/modifiers/sortable-group","profile-tetris/modifiers/sortable-group")
define.alias("ember-sortable/modifiers/sortable-handle","profile-tetris/modifiers/sortable-handle")
define.alias("ember-sortable/modifiers/sortable-item","profile-tetris/modifiers/sortable-item")
define.alias("@ember/render-modifiers/modifiers/will-destroy","profile-tetris/modifiers/will-destroy")
define.alias("ember-cloud-filepicker/providers/base-provider","profile-tetris/providers/base-provider")
define.alias("ember-cloud-filepicker/providers/dropbox-provider","profile-tetris/providers/dropbox-provider")
define.alias("ember-cloud-filepicker/providers/onedrive-provider","profile-tetris/providers/onedrive-provider")
define("profile-tetris/providers/slideshare-provider",["exports","ember-cloud-filepicker/providers/slideshare-provider"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
var r={}
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(r,i)||i in e&&e[i]===t[i]||Object.defineProperty(e,i,{enumerable:!0,get:function(){return t[i]}}))}))}))
define("profile-tetris/routes/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","global-utils/utils/urn-id-helpers","@ember/object","profile-shared/utils/tetris-api-helpers","restli-utils","@linkedin/ember-restli-graphql"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m,f,h,b,g,_,y,v,P,E,w,T,O,C,I
const S="profile"
e.default=(m=(0,a.inject)("profile-services@scroll-restoration"),f=(0,a.inject)("profile-services@focus-helper"),h=(0,a.inject)("authentication@authenticated-user"),b=(0,a.inject)("client-sensor-web@client-sensor"),g=(0,a.inject)("profile-services@profile"),_=(0,a.inject)("router"),y=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),v=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"profileScrollRestoration",P,this);(0,t.default)(this,"focusHelper",E,this);(0,t.default)(this,"authenticatedUser",w,this);(0,t.default)(this,"clientSensor",T,this);(0,t.default)(this,"profile",O,this);(0,t.default)(this,"router",C,this);(0,t.default)(this,"graphql",I,this);(0,r.default)(this,"queryParams",{viewLocale:{refreshModel:!0},miniProfileUrn:{refreshModel:!1,replace:!0},sectionType:{refreshModel:!1,replace:!0},profileId:{refreshModel:!1,replace:!0}})
this.profileScrollRestoration.setup()
this.focusHelper.setup()}model(e){if((0,l.isDestroying)(this))return
const{vanityName:t}=e
this.profile.vieweeVanityName=t
return this._fetchProfileCommon(t)}deactivate(){super.deactivate(...arguments)
this.profile.vieweeVanityName=null}didTransition(){this.controller&&this.controller.miniProfileUrn&&(this.controller.miniProfileUrn=null)}error(e,t){var r
if((0,l.isDestroying)(this))throw e
const i=e&&(0,p.get)(e,"errors.0")
let o=i&&parseInt((0,p.get)(i,"status"),10)
if(e instanceof u.GraphQLQueryError){var n
o=null==i||null===(n=i.extensions)||void 0===n?void 0:n.status}if(o===c.httpStatus.S_403_FORBIDDEN||o===c.httpStatus.S_404_NOT_FOUND){this.clientSensor.incrementMetricCounter({groupName:S,metricName:"profile-unavailable_is-displayed"})
return this.replaceWithExternal("/404")}"profile.common.profile.index"===(null==t||null===(r=t.to)||void 0===r?void 0:r.name)&&this.clientSensor.incrementMetricCounter({groupName:S,metricName:"main-profile-error-shown"})
e.errors&&this.isTopCardCoreGqlEnabled&&e.errors.forEach((e=>{this.jet.error("Profile common - blocking error",[e.message],{shouldRethrow:!1})}))
return!0}_fetchProfileCommon(e){return(0,d.queryTopCardCore)(this.graphql,e,{useGeneratedQuery:!0}).then((t=>{if((0,l.isDestroying)(this))return
if(39===e.length){const r=(0,p.get)(t,"publicIdentifier")
e!==r&&this.router.replaceWith("profile.common.profile",r)}const r=(0,p.get)(t,"entityUrn"),i=(0,p.get)(t,"memorialized"),o=(0,s.extractUrnParts)(r)[1],n=this.authenticatedUser.memberId===o
this.profile.isSelfView=n
this.profile.setIsMemorializedProfile(i)
return{profileId:o,vanityName:e,isSelfView:n,profileUrn:r,memberUrn:(0,p.get)(t,"objectUrn")}}))}},P=(0,i.default)(v.prototype,"profileScrollRestoration",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(v.prototype,"focusHelper",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(v.prototype,"authenticatedUser",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(v.prototype,"clientSensor",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,i.default)(v.prototype,"profile",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),C=(0,i.default)(v.prototype,"router",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(v.prototype,"graphql",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(v.prototype,"didTransition",[p.action],Object.getOwnPropertyDescriptor(v.prototype,"didTransition"),v.prototype),(0,i.default)(v.prototype,"error",[p.action],Object.getOwnPropertyDescriptor(v.prototype,"error"),v.prototype),v)}))
define("profile-tetris/routes/common/add-edit-deeplink",["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","global-utils/utils/urn-id-helpers","profile-tetris-shared/utils/add-edit-route-configs","profile-tetris-shared/utils/constant/section-types","profile-tetris-shared/utils/engine-mounting-route-transition"],(function(e,t,r,i,o,l,n,a,s,p,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,m
e.default=(c=(0,n.inject)("router"),u=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"router",m,this);(0,r.default)(this,"defaultFormType",null)}beforeModel(e){var t,r
const{profileEditFormType:i}=(null==e||null===(t=e.to)||void 0===t?void 0:t.params)??{},o=s.API_TYPE_TO_FORM_TYPE[i]||this.defaultFormType
if(!o){this.router.transitionTo("profile.common.profile")
return}const l=(null==e||null===(r=e.to)||void 0===r?void 0:r.queryParams)||{},{desktopBackground:n,entityUrn:c}=l,u=(0,a.extractEntityId)((0,a.extractUrnId)(c),1)??"new",m={...l}
delete m.entityId
delete m.entityUrn
delete m.desktopBackground
if(i&&"PROFILE_DETAIL_SCREEN"===n&&s.GUIDED_EDIT_FORM_TYPES.indexOf(i)>=0){this.transitionToExternal("detail-profile-edit.add-edit",p.GUIDANCE_ROUTE,o,u,{queryParams:m})
return}const f=p.FORM_TYPE_TO_SECTION_TYPE_MAPPING[o],h=p.FORM_TYPE_TO_SUBSECTION_TYPE_MAPPING[o]
if("PROFILE_DETAIL_SCREEN"===n){if(f){this.transitionToExternal("detail-profile-edit.tetris-detail-edit",f,u,{queryParams:m})
return}if(h){this.transitionToExternal("detail-profile-edit.add-edit",p.SUBSECTION_TYPE_TO_DETAIL_SCREEN_MAPPING[h],h,u,{queryParams:m})
return}}const b=(0,d.getTransitionMountingRouteInfo)(e),g=b&&d.BASE_ROUTE_TO_MOUNTED_PROFILE_EDIT[b.name]
if(g){const e=(0,d.getTransitionArgsForParentRoutes)(b),t=e.slice(0,-1),r=e[e.length-1].queryParams
this.transitionToExternal(`${g}.add-edit`,...t,o,u,{queryParams:{...r,...m}})}else this.transitionToExternal("profile-edit.add-edit",o,u,{queryParams:m})}},m=(0,i.default)(u.prototype,"router",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u)}))
define("profile-tetris/routes/common/add-edit-recommendation-deeplink",["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","global-utils/utils/urn-converter","profile-tetris-shared/utils/add-edit-utils","profile-tetris-shared/utils/constant/section-types","global-utils/utils/routing"],(function(e,t,r,i,o,l,n,a,s,p,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,m
e.default=(c=(0,n.inject)("router"),u=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"router",m,this)}beforeModel(e){var t,r
const{profileEditFormType:i}=(null==e||null===(t=e.to)||void 0===t?void 0:t.params)??{},o=s.API_TYPE_TO_RECOMMENDATION_FORM_TYPE[i]
if(!o){this.router.transitionTo("profile.common.profile")
return}const l={...(null==e||null===(r=e.to)||void 0===r?void 0:r.queryParams)||{}},{desktopBackground:n,recipientProfileId:c,recommendationId:u,recommendationRequestId:m}=l
delete l.recipientProfileId
delete l.recommendationId
delete l.recommendationRequestId
u?l.recommendationUrn=(0,a.toUrn)("recommendation",u):m?l.recommendationRequestUrn=(0,a.toUrn)("recommendationRequest",m):c&&(l.profileUrn=(0,a.toUrn)("com.linkedin.voyager.dash.common.ProfileUrn",c,!0))
if("PROFILE_DETAIL_SCREEN"!==n)this.transitionToExternal("profile-edit.add-edit-recommendation",o,{queryParams:l})
else{var f
const t=(0,d.findParentRouteNamed)("detail-profile-edit",e.from)??(0,d.findParentRouteNamed)("profile.common.details",e.from),r=null==t||null===(f=t.attributes)||void 0===f?void 0:f.sectionType
this.transitionToExternal("detail-profile-edit.tetris-detail-recommendation-edit",r??p.RECOMMENDATIONS_ROUTE,o,{queryParams:l})}}},m=(0,i.default)(u.prototype,"router",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u)}))
define("profile-tetris/routes/common/assessments-hub-redirect",["exports","@ember/routing/route"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends t.default{beforeModel(e){const t=e.to.queryParams||{}
this.transitionToExternal("profile-skill-assessments.hub",{queryParams:t})}}e.default=r}))
define("profile-tetris/routes/common/assessments-intro-redirect",["exports","@ember/routing/route"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends t.default{beforeModel(e){const{skillName:t}=e.to.params??{}
t||this.transitionToExternal("profile-skill-assessments.hub")
const r=e.to.queryParams||{}
this.transitionToExternal("profile-skill-assessments.skill.intro",t,{queryParams:r})}}e.default=r}))
define("profile-tetris/routes/common/assessments-report-redirect",["exports","@ember/routing/route"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends t.default{beforeModel(e){const{skillName:t}=e.to.params??{}
t||this.transitionToExternal("profile-skill-assessments.hub")
const r=e.to.queryParams||{}
this.transitionToExternal("profile-skill-assessments.skill.report",t,{queryParams:r})}}e.default=r}))
define("profile-tetris/routes/common/cover-story",["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","rsvp","@ember/service","profile-shared/utils/tetris-api-helpers"],(function(e,t,r,i,o,l,n,a,s,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var d,c,u,m,f,h,b,g,_
e.default=(d=(0,s.inject)("global-nav-shared@nav-interaction"),c=(0,s.inject)("profile-services@profile"),u=(0,s.inject)("profile-services@identity-store"),m=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),f=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"navInteraction",h,this);(0,t.default)(this,"profile",b,this);(0,t.default)(this,"identityStore",g,this);(0,t.default)(this,"graphql",_,this)}pageKey(){return this.profile.isSelfView?"flagship3_profile_self_coverstory_view":"flagship3_profile_view_base_coverstory_view"}activate(){super.activate(...arguments)
this.navInteraction.takeOver(!0)}deactivate(){super.deactivate(...arguments)
this.navInteraction.takeOver(!1)}model(e,t){var r
if((0,l.isDestroying)(this))return
const i=this.modelFor("common")
if(!i)return(0,a.reject)("Missing profile-tetris/routes/common data")
const{vanityName:o}=i
return(0,a.hash)({dashProfile:(0,p.queryTopCardCore)(this.graphql,o),dashProfileSupplementaryData:(0,p.fetchTopCardSupplementary)(this.identityStore,o),enableAutoPlayWithoutMute:e.enableAutoPlayWithoutMute&&!(null===(r=t.from)||void 0===r||!r.name)})}},h=(0,i.default)(f.prototype,"navInteraction",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"profile",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(f.prototype,"identityStore",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_=(0,i.default)(f.prototype,"graphql",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
define("profile-tetris/routes/common/debug",["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,r,i,o,l,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var a,s,p
e.default=(a=(0,n.inject)("lix"),s=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"lix",p,this)}beforeModel(){this.lix.getTreatmentIsEnabled("voyager.client.staff")||this.transitionToExternal("feed.index")}},p=(0,i.default)(s.prototype,"lix",[a],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),s)}))
define("profile-tetris/routes/common/debug/component",["exports","@ember/destroyable","@ember/routing/route","@ember/string"],(function(e,t,r,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class o extends r.default{model(e){if(!(0,t.isDestroying)(this))return(0,i.camelize)(e.componentType)}}e.default=o}))
define("profile-tetris/routes/common/detail-skills-deeplink",["exports","@ember/routing/route"],(function(e,t){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class r extends t.default{beforeModel(){this.transitionToExternal("profile-edit.add-edit","skills","new")}}e.default=r}))
define("profile-tetris/routes/common/details",["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","ember-async-data/tracked-async-data","profile-shared/utils/tetris-api-helpers","profile-tetris-shared/utils/constant/section-types","profile-locale-helpers/utils/secondary-locale-helpers","global-utils/utils/locale-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var h,b,g,_,y,v,P,E,w
e.default=(h=(0,a.inject)("locale"),b=(0,a.inject)("lix"),g=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),_=(0,a.inject)("router"),y=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"localeService",v,this);(0,t.default)(this,"lix",P,this);(0,t.default)(this,"graphql",E,this);(0,t.default)(this,"router",w,this)}get viewingLocale(){const{isSelfView:e}=this.modelFor("common"),{viewLocale:t}=this.paramsFor("common")
return(0,m.getViewingLocale)(e,t,this.localeService.interfaceLocale)}beforeModel(){super.beforeModel(...arguments)
const{sectionType:e}=this.paramsFor(this.routeName)
e&&(u.PROFILE_SECTION_TYPE.includes(e)||u.PROFILE_SUBSECTION_TYPE.includes(e))||this.router.transitionTo("profile.common.profile")}model(e,t){var r
let{sectionType:i,detailScreenTabIndex:o}=e
if((0,l.isDestroying)(this))return
const n=this.modelFor("common")
if(!n)return(0,s.reject)("Missing profile-tetris/routes/common data")
const{profileId:a,profileUrn:p,isSelfView:m,vanityName:f}=n,h="profile.common.details.index"!==(null==t||null===(r=t.from)||void 0===r?void 0:r.name),b=u.PROFILE_SUBSECTION_TYPE.includes(i)?u.SUBSECTION_TYPE_TO_DETAIL_SCREEN_MAPPING[i]:i,g=(0,c.fetchDetailScreenProfileGraphQL)(this.graphql,f)
return(0,s.hash)({sectionType:i,isSelfView:m,profileId:a,profileUrn:p,detailScreenProfile:new d.default(g.then((e=>{if((0,l.isDestroying)(this))return
return{profileData:e,locales:this._constructLocales(e),publicIdentifier:f,profileActionData:e.profileStatefulProfileActions}}))),detailPageComponents:new d.default((0,c.fetchProfileComponentsBySectionType)(this.graphql,p,b,{backgroundReload:h,requestedLocale:this.viewingLocale,tabIndex:o,lixService:this.lix,isPemProfileCritical:!0}))})}buildRouteInfoMetadata(){return{debug:{labels:["profile-tetris","detail-page"],suggestedTeams:["profile"]}}}_constructLocales(e){const{viewLocale:t}=this.paramsFor("common"),r=(0,f.localeToString)((0,p.get)(e,"primaryLocale"))
return p.default.create({primaryLocale:r,viewingLocale:this.viewingLocale,viewLocale:t})}},v=(0,i.default)(y.prototype,"localeService",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(y.prototype,"lix",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(y.prototype,"graphql",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(y.prototype,"router",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y)}))
define("profile-tetris/routes/common/details/creator-mode",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/object","@ember/routing/route","@ember/service","profile-shared/utils/tetris-api-helpers","rsvp"],(function(e,t,r,i,o,l,n,a,s,p,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,m
e.default=(c=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),u=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"graphql",m,this)}async model(){if((0,l.isDestroying)(this))return
const e=this.modelFor("common")
if(!e)return(0,d.reject)("Missing profile-tetris/routes/common data")
const{vanityName:t}=e,r=await(0,p.queryTopCardCore)(this.graphql,t)
return(0,l.isDestroying)(this)?void 0:(0,d.hash)({vanityName:t,isCreator:(0,n.get)(r,"creator")})}},m=(0,i.default)(u.prototype,"graphql",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u)}))
define("profile-tetris/routes/common/details/detail-edit",["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","profile-tetris-shared/utils/constant/section-types"],(function(e,t,r,i,o,l,n,a,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var p,d,c
const u=["detail-profile-edit.secondary-language"]
e.default=(p=(0,a.inject)("router"),d=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"router",c,this)}beforeModel(e){var t
super.beforeModel(...arguments)
u.includes(null===(t=e.to)||void 0===t?void 0:t.name)&&(this.isValidDetailEditRoute=!0)}model(){if((0,l.isDestroying)(this))return
const{sectionType:e}=this.modelFor("common.details")
return{entityType:s.SECTION_TYPE_FORM_TYPE_MAPPING[e],sectionType:e}}afterModel(e){let{entityType:t,sectionType:r}=e;(0,l.isDestroying)(this)||r===s.RECOMMENDATIONS_ROUTE||r===s.FEATURED_ROUTE||t||this.isValidDetailEditRoute||this.router.transitionTo("profile.common.profile")}},c=(0,i.default)(d.prototype,"router",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d)}))
define("profile-tetris/routes/common/details/index",["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","profile-tetris/utils/tracking-constants","@ember/debug","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var d,c,u
e.default=(d=(0,n.inject)("tracking"),c=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",u,this)}beforeModel(e){var t,r
const i=this.controllerFor("common.details");(null==e||null===(t=e.from)||void 0===t?void 0:t.name)===p.PROFILE_PAGE?i.transitionedFrom=p.PROFILE_PAGE:null!=e&&null!==(r=e.data)&&void 0!==r&&r.didUseHistoryBack||(i.transitionedFrom="")
super.beforeModel(...arguments)}pageKey(){const{sectionType:e}=this.paramsFor("common.details"),t=a.DETAILS_PAGE_KEY_ENTITY[e]
return t||null}onExecuteAsLeaf(){var e
const t=null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView,{sectionType:r}=this.paramsFor("common.details"),i=t?a.DETAILS_PAGE_KEY_SELF_VIEW_ENTITY[r]:a.DETAILS_PAGE_KEY_NON_SELF_VIEW_ENTITY[r]
i&&this.tracking.firePageViewEvent(i)}},u=(0,i.default)(c.prototype,"tracking",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)}))
define("profile-tetris/routes/common/details/multiple-media-viewer",["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","@glimmer/tracking","@ember/object","@ember/routing/route","profile-tetris/utils/media-viewer-utils","rsvp","profile-tetris-shared/utils/constant/section-types","profile-tetris-shared/utils/subroute-helpers","ember-lifeline"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var h,b,g,_,y,v,P,E,w
e.default=(h=(0,n.inject)("tracking"),b=(0,n.inject)("router"),g=(0,n.inject)("@linkedin/ember-restli-graphql@graphql"),(0,m.setupCloseSubrouteInRoute)(_=(y=class extends p.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_base_multiple_media_viewer_details_modal");(0,r.default)(this,"pageKeySelf","flagship3_profile_self_multiple_media_viewer_details_modal");(0,r.default)(this,"pageKeyNonSelf","flagship3_profile_view_multiple_media_viewer_details_modal");(0,t.default)(this,"tracking",v,this);(0,t.default)(this,"router",P,this);(0,t.default)(this,"sectionType",E,this);(0,t.default)(this,"graphql",w,this)}beforeModel(e){super.beforeModel(...arguments)
const{treasuryMediaId:t}=e.to.queryParams,{sectionId:r}=e.to.params
this.sectionType=(0,s.get)(this.modelFor("common.details"),"sectionType");(0,d.isValidMediaViewerSubSectionType)(this.sectionType)&&this.router.transitionTo("profile.common.details.subsection-multiple-media-viewer",u.SUBSECTION_TYPE_TO_DETAIL_SCREEN_MAPPING[this.sectionType],this.sectionType,r)
t&&(0,d.isValidMediaViewerSectionType)(this.sectionType)||this.router.transitionTo("profile.common.profile")}model(e){let{sectionId:t}=e
if((0,l.isDestroying)(this))return
const r=this.modelFor("common"),i=this.modelFor("common.details")
if(!r||!i)return(0,c.reject)("Missing profile-tetris/routes/common data")
const{profileId:o}=r,{detailScreenProfile:n}=i
return(0,c.hash)({treasuryItems:(0,d.fetchTreasuriesBySectionTypeGraphQL)(this.sectionType,o,t,this.graphql),localesRequest:n,profileId:o})}queryParamsDidChange(){this.controller&&(0,f.runTask)(this,(()=>{this.controller.isLoading=!1}))
super.actions.queryParamsDidChange.call(this,...arguments)}onExecuteAsLeaf(){var e
const t=(null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView)?this.pageKeySelf:this.pageKeyNonSelf
this.tracking.firePageViewEvent(t)}},v=(0,i.default)(y.prototype,"tracking",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(y.prototype,"router",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(y.prototype,"sectionType",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(y.prototype,"graphql",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(y.prototype,"queryParamsDidChange",[s.action],Object.getOwnPropertyDescriptor(y.prototype,"queryParamsDidChange"),y.prototype),y))||_)}))
define("profile-tetris/routes/common/details/opportunities",["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","profile-shared/utils/tetris-api-helpers","@ember/service","rsvp"],(function(e,t,r,i,o,l,n,a,s,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var d,c,u
e.default=(d=(0,s.inject)("@linkedin/ember-restli-graphql@graphql"),c=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"graphql",u,this)}model(){if((0,l.isDestroying)(this))return
const e=this.modelFor("common")
if(!e)return(0,p.reject)("Missing profile-tetris/routes/common data")
const{vanityName:t,profileUrn:r}=e
return(0,p.hash)({profileViewDash:(0,a.queryTopCardCore)(this.graphql,t),vieweeProfileUrn:r,vanityName:t})}},u=(0,i.default)(c.prototype,"graphql",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)}))
define("profile-tetris/routes/common/details/overlay-email-verification",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/routing/route","profile-tetris-shared/utils/subroute-helpers","@ember/service","@ember/destroyable"],(function(e,t,r,i,o,l,n,a,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var p,d,c,u,m,f
e.default=(p=(0,a.inject)("router"),d=(0,a.inject)("lix"),(0,n.setupCloseSubrouteInRoute)(c=(u=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"router",m,this);(0,t.default)(this,"lix",f,this)}redirect(){(0,s.isDestroying)(this)||this.lix.getTreatmentIsEnabled("voyager.web.profile-inline-work-verification-drawer")||this.router.replaceWith("profile.common.profile")}},m=(0,i.default)(u.prototype,"router",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.default)(u.prototype,"lix",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),u))||c)}))
define("profile-tetris/routes/common/details/overlay-subsection-with-parent",["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","profile-shared/utils/tetris-api-helpers","profile-tetris-shared/utils/constant/profile-subsection-type","profile-tetris/utils/tracking-constants","rsvp","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m,f,h,b,g,_,y,v,P,E
e.default=(m=(0,a.inject)("tracking"),f=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),h=(0,a.inject)("router"),b=(0,a.inject)("lix"),(0,u.setupCloseSubrouteInRoute)(g=(_=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",y,this);(0,t.default)(this,"graphql",v,this);(0,t.default)(this,"router",P,this);(0,t.default)(this,"lix",E,this)}get pageKey(){const{subSectionType:e}=this.paramsFor(this.routeName)
return d.DETAIL_PAGE_OVERLAY_PAGE_KEY_ENTITY[e]||null}beforeModel(){const{subSectionType:e}=this.paramsFor(this.routeName)
e&&Object.values(p.DETAILS_OVERLAY_WITH_PARENT).includes(e)||this.router.transitionTo("profile.common.details")}model(e){let{subSectionType:t,parentItemUrn:r,modalTabIndex:i}=e
if((0,l.isDestroying)(this))return
const o=this.modelFor("common")
if(!o)return(0,c.reject)("Missing profile-tetris/routes/common data")
const{profileUrn:n}=o,{viewLocale:a}=this.paramsFor("common"),{sectionType:p}=this.paramsFor("common.details"),d={parentItemUrn:r,requestedLocale:a,subSectionType:t,lixService:this.lix}
null!==i&&(d.tabIndex=i)
"endorsers"===t&&(d.reload=!0)
return(0,s.fetchProfileComponentsBySectionType)(this.graphql,n,p,d)}onExecuteAsLeaf(){var e
const t=null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView,{subSectionType:r}=this.paramsFor(this.routeName),i=t?d.DETAIL_PAGE_OVERLAY_PAGE_KEY_SELF_VIEW_ENTITY[r]:d.DETAIL_PAGE_OVERLAY_PAGE_KEY_NON_SELF_VIEW_ENTITY[r]
this.tracking.firePageViewEvent(i)}},y=(0,i.default)(_.prototype,"tracking",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(_.prototype,"graphql",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(_.prototype,"router",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(_.prototype,"lix",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_))||g)}))
define("profile-tetris/routes/common/details/overlay-subsection",["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","profile-shared/utils/tetris-api-helpers","profile-tetris-shared/utils/constant/profile-subsection-type","profile-tetris/utils/tracking-constants","rsvp","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var m,f,h,b,g,_,y,v,P,E
e.default=(m=(0,a.inject)("tracking"),f=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),h=(0,a.inject)("router"),b=(0,a.inject)("lix"),(0,u.setupCloseSubrouteInRoute)(g=(_=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",y,this);(0,t.default)(this,"graphql",v,this);(0,t.default)(this,"router",P,this);(0,t.default)(this,"lix",E,this)}get pageKey(){const{subSectionType:e}=this.paramsFor(this.routeName),{sectionType:t}=this.paramsFor("common.details")
return e===p.REORDER?d.REORDER_OVERLAY_PAGE_KEY_ENTITY[t]||null:`flagship3_detail_page_overlay_${t}_${e}`}beforeModel(){const{subSectionType:e}=this.paramsFor(this.routeName)
e&&[...p.DETAILS_OVERLAY_AS_SUBSECTIONTYPE,...p.DETAILS_OVERLAY_AS_SECTIONTYPE].includes(e)||this.router.transitionTo("profile.common.details")}model(e,t){var r,i
let{subSectionType:o,modalTabIndex:n}=e
if((0,l.isDestroying)(this))return
const a=this.modelFor("common")
if(!a)return(0,c.reject)("Missing profile-tetris/routes/common data")
const{profileUrn:d}=a,{viewLocale:u}=this.paramsFor("common"),{sectionType:m}=this.paramsFor("common.details"),f=null==t||null===(r=t.to)||void 0===r||null===(i=r.queryParams)||void 0===i?void 0:i.isPrefetched
let h
const b={lixService:this.lix,requestedLocale:u,reload:!f}
if(p.DETAILS_OVERLAY_AS_SUBSECTIONTYPE.includes(o)){h=m
b.subSectionType=o}else h=o
null!==n&&(b.tabIndex=n)
return(0,s.fetchProfileComponentsBySectionType)(this.graphql,d,h,b)}onExecuteAsLeaf(){var e
const{subSectionType:t}=this.paramsFor(this.routeName)
if(t===p.REORDER)return
const r=null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView,{sectionType:i}=this.paramsFor("common.details"),o=r?`flagship3_self_detail_page_overlay_${i}_${t}`:`flagship3_nonself_detail_page_overlay_${i}_${t}`
this.tracking.firePageViewEvent(o)}},y=(0,i.default)(_.prototype,"tracking",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(_.prototype,"graphql",[f],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(_.prototype,"router",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(_.prototype,"lix",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),_))||g)}))
define("profile-tetris/routes/common/details/single-media-viewer",["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","profile-tetris/utils/media-viewer-utils","rsvp","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,m,f,h,b
e.default=(c=(0,n.inject)("tracking"),u=(0,n.inject)("@linkedin/ember-restli-graphql@graphql"),(0,d.setupCloseSubrouteInRoute)(m=(f=class extends a.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_base_single_media_viewer_details_modal");(0,r.default)(this,"pageKeySelf","flagship3_profile_self_single_media_viewer_details_modal");(0,r.default)(this,"pageKeyNonSelf","flagship3_profile_view_single_media_viewer_details_modal");(0,t.default)(this,"tracking",h,this);(0,t.default)(this,"graphql",b,this)}model(e){let{treasuryMediaId:t}=e
if((0,l.isDestroying)(this))return
const r=this.modelFor("common"),i=this.modelFor("common.details")
if(!r||!i)return(0,p.reject)("Missing profile-tetris/routes/common data")
const{profileId:o}=r,{detailScreenProfile:n}=i
return(0,p.hash)({treasuryItem:(0,s.fetchTreasuriesBySectionTypeGraphQL)("profileMedia",o,t,this.graphql),localesRequest:n})}onExecuteAsLeaf(){var e
const t=(null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView)?this.pageKeySelf:this.pageKeyNonSelf
this.tracking.firePageViewEvent(t)}},h=(0,i.default)(f.prototype,"tracking",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"graphql",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f))||m)}))
define("profile-tetris/routes/common/details/skill-endorsement-settings",["exports","@ember/routing/route","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var i
e.default=(0,r.setupCloseSubrouteInRoute)(i=class extends t.default{beforeModel(){this.transitionToExternal("detail-profile-edit.add-edit","skills-endorsement-settings","new",{queryParams:{profileFormEntryPoint:"PROFILE_SECTION"}})}})||i}))
define("profile-tetris/routes/common/details/subsection-multiple-media-viewer",["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","profile-tetris/utils/media-viewer-utils","rsvp","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,m,f,h,b
e.default=(c=(0,n.inject)("tracking"),u=(0,n.inject)("@linkedin/ember-restli-graphql@graphql"),(0,d.setupCloseSubrouteInRoute)(m=(f=class extends a.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_base_multiple_media_viewer_details_modal");(0,r.default)(this,"pageKeySelf","flagship3_profile_self_multiple_media_viewer_details_modal");(0,r.default)(this,"pageKeyNonSelf","flagship3_profile_view_multiple_media_viewer_details_modal");(0,t.default)(this,"tracking",h,this);(0,t.default)(this,"graphql",b,this)}model(e){let{sectionId:t,subSectionType:r}=e
if((0,l.isDestroying)(this))return
const i=this.modelFor("common"),o=this.modelFor("common.details")
if(!i||!o)return(0,p.reject)("Missing profile-tetris/routes/common data")
const{profileId:n}=i,{detailScreenProfile:a}=o
return(0,p.hash)({profileId:n,treasuryItems:(0,s.fetchTreasuriesBySectionTypeGraphQL)(r,n,t,this.graphql),localesRequest:a})}onExecuteAsLeaf(){var e
const t=(null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView)?this.pageKeySelf:this.pageKeyNonSelf
this.tracking.firePageViewEvent(t)}},h=(0,i.default)(f.prototype,"tracking",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"graphql",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f))||m)}))
define("profile-tetris/routes/common/guided-edit-deeplink",["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/string"],(function(e,t,r,i,o,l,n,a,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var p,d,c
e.default=(p=(0,a.inject)("router"),d=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"router",c,this)}redirect(e,t){var r
if((0,l.isDestroying)(this))return
const i=(0,s.dasherize)(null===(r=e.type)||void 0===r?void 0:r.toLowerCase())
if(i){var o
const e=(null==t||null===(o=t.to)||void 0===o?void 0:o.queryParams)||{},{entityId:r}=e
this.transitionToExternal("profile-edit.add-edit",i,r||"new")}else this.router.transitionTo("profile.common.profile")}},c=(0,i.default)(d.prototype,"router",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),d)}))
define("profile-tetris/routes/common/profile-nba-deeplink",["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/string","restli-utils"],(function(e,t,r,i,o,l,n,a,s,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var d,c,u
e.default=(d=(0,a.inject)("router"),c=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"router",u,this)}redirect(e,t){var r,i
if((0,l.isDestroying)(this))return
const o=(0,s.dasherize)(null===(r=e.nextBestActionType)||void 0===r?void 0:r.toLowerCase()),n={...t.to.queryParams},a=null===(i=t.to.queryParams)||void 0===i?void 0:i.anniversaryYear
a&&(n.previousPageAction=p.default.encoder.encode({notificationAnniversaryYear:a}))
o?this.transitionToExternal("profile-edit.next-action",o,{queryParams:n}):this.router.transitionTo("profile.common.profile")}},u=(0,i.default)(c.prototype,"router",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c)}))
define("profile-tetris/routes/common/profile-video",["exports","@ember/destroyable","@ember/routing/route","@ember/object"],(function(e,t,r,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class o extends r.default{redirect(e,r){var o,l
if((0,t.isDestroying)(this))return
const n=null===(o=r.to)||void 0===o||null===(l=o.params)||void 0===l?void 0:l.storyUrn
n?this.transitionToExternal("stories-engine.stories.collection",n):this.transitionToExternal("profile.common.profile",(0,i.get)(this.paramsFor("common"),"vanityName"))}}e.default=o}))
define("profile-tetris/routes/common/profile",["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","coach-shared/utils/guide-entry-point-utils","coach-shared/utils/pem","coach-shared/utils/request","profile-shared/utils/tetris-api-helpers","profile-course-recommendations/utils/data-fetching-helpers","global-utils/utils/is-browser","profile-tetris/utils/network-distance-utils","ember-async-data","graphql-queries/queries/profile/identityDashProfiles/profile-localized-contents-with-full-supported-localized-contents.graphql","ember-test-waiters","profile-locale-helpers/utils/secondary-locale-helpers","profile-opportunities-shared/utils/requests/opportunity-cards","profile-shared/utils/get-query-by-key","profile-shared/utils/degradation-tracking","trust/data/verification-entry-point-action","trust/utils/verifications/constants"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f,h,b,g,_,y,v,P,E,w,T,O){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var C,I,S,D,R,A,k,L,M,F,x,N,j,U,z,V,Y,q,G,W,H,B,K,Q,J
const Z=["profile.common","profile-edit","profile-ge","detail-profile-edit","profile-creator-mode"]
function $(e,t,r){return(0,y.waitForPromise)(e).then((e=>{if(!(0,l.isDestroying)(this)){r&&t&&t.mark(r)
return e}}))}e.default=(C=(0,a.inject)("profile-services@identity-store"),I=(0,a.inject)("global-services@store-shim"),S=(0,a.inject)("authentication@authenticated-user"),D=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),R=(0,a.inject)("locale"),A=(0,a.inject)("profile-services@profile"),k=(0,a.inject)("profile-services@profile-event-handler"),L=(0,a.inject)("rum"),M=(0,a.inject)("lix"),F=(0,a.inject)("router"),x=(0,a.inject)("client-sensor-web@client-sensor"),N=(0,a.inject)("global-services@internal-logger"),j=class extends n.default{constructor(){super(...arguments);(0,t.default)(this,"identityStore",U,this);(0,t.default)(this,"storeShim",z,this);(0,t.default)(this,"authenticatedUser",V,this);(0,t.default)(this,"graphql",Y,this);(0,t.default)(this,"localeService",q,this);(0,t.default)(this,"profile",G,this);(0,t.default)(this,"profileEventHandler",W,this);(0,t.default)(this,"rum",H,this);(0,t.default)(this,"lix",B,this);(0,t.default)(this,"router",K,this);(0,t.default)(this,"clientSensor",Q,this);(0,t.default)(this,"internalLogger",J,this);(0,r.default)(this,"queryParams",{enhanceQueryParam:{as:"enhance",replace:!0}});(0,r.default)(this,"lastViewLocale",void 0);(0,r.default)(this,"deferredCallWithRumPromise",void 0);(0,r.default)(this,"rumMeasurement",void 0)}get isViewDurationTrackingEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.profile-view-duration-tracking")}get requestedLocale(){var e
const{isSelfView:t}=(null===(e=this.modelFor)||void 0===e?void 0:e.call(this,"common"))??{},{viewLocale:r}=this.paramsFor("common")
return(0,v.getViewingLocale)(t,r,this.localeService.interfaceLocale)}beforeModel(e){return e.to.queryParams.editCustomCta&&this.router.transitionTo("profile-edit.custom-action",{queryParams:{profileFormEntryPoint:"PROFILE_TOP_CARD_EDIT_FORM"}})}model(e,t){var r
if((0,l.isDestroying)(this))return
!this.rumMeasurement||this.rumMeasurement.isCanceled||this.rumMeasurement.isClosed||this.rum.endPerfMeasurement(this.rumMeasurement)
this.rumMeasurement=this.rum.startPerfMeasurement("profile-tab-rum-profile-pageload")
const i=!!(o=null==t||null===(r=t.from)||void 0===r?void 0:r.name)&&!Z.some((e=>0===o.indexOf(e)))
var o
return this.fetchProfileData(i).then((e=>{if(!(0,l.isDestroying)(this)){this.rumMeasurement.mark("modelResolved")
return e}}))}fetchProfileData(e){const{vanityName:t}=this.paramsFor("common"),r=this._fetchBlockingRequests(e),i=this.modelFor("common"),o=h.default&&i?this._fetchNonBlockingRequests(e):(0,s.resolve)(),{profileId:n,profileUrn:a,isSelfView:d}=i??{}
return(0,s.hash)(r).then((e=>{if((0,l.isDestroying)(this))return
const r=(0,p.get)(e,"topCardCore.profileGeneratedSuggestionPromo.elements.0"),c={vanityName:t,profileId:n,profileUrn:a,isSelfView:d,profileGeneratedSuggestionPromoCard:r}
Object.assign(e,c)
if(!h.default||!i)return e
this._resolvePromises(e,o)
const u=this._fetchLazyLoadRequests(e)
this._resolvePromises(e,u)
Object.assign(e,this._getTrackedLazyLoadPromises())
const m=this.deferredCallWithRumPromise??(0,s.resolve)();(0,s.hash)({...u,...o,maybeDeferredCallPromise:m}).finally((()=>{var e,t;(0,l.isDestroying)(this)||!this.rumMeasurement||null!==(e=this.rumMeasurement)&&void 0!==e&&e.isCanceled||null!==(t=this.rumMeasurement)&&void 0!==t&&t.isClosed||this.rum.endPerfMeasurement(this.rumMeasurement)}))
this.rumMeasurement.mark("blockingRequestsResolved")
return e}))}afterModel(e,t){if((0,l.isDestroying)(this))return
const r=(0,p.get)(e,"topCardCore.memberRelationship");(0,p.set)(this.profile,"networkDistance",(0,b.getNetworkDistanceFromMemberRelationship)(r,this.storeShim))
t.then((()=>{if((0,l.isDestroying)(this))return
const{profileUrn:t,isSelfView:r}=e
if(this.isViewDurationTrackingEnabled&&!r){const e={vieweeMemberUrn:t}
this.profile.setupViewDurationTracking(e)}}))}buildRouteInfoMetadata(){return{debug:{labels:["profile-tetris","profile-page"],suggestedTeams:["profile","profileCreator"]}}}loading(e){var t
return"stories-engine.stories.collection"!==(null==e||null===(t=e.to)||void 0===t?void 0:t.name)}error(){var e,t
if(!(0,l.isDestroying)(this)){!this.rumMeasurement||null!==(e=this.rumMeasurement)&&void 0!==e&&e.isCanceled||null!==(t=this.rumMeasurement)&&void 0!==t&&t.isClosed||this.rum.endPerfMeasurement(this.rumMeasurement)
return!0}}willTransition(e){this.isViewDurationTrackingEnabled&&!this.profile.isSelfView&&e.then((()=>{if((0,l.isDestroying)(this))return
const{to:{parent:t},from:{parent:r}}=e
t.name===r.name&&t.attributes.profileId===r.attributes.profileId||this.profile.recordViewDurationTracking()}))
this.profileEventHandler.resetWhenLeaving()
return!0}_loadPromiseToModel(e,t,r){r.then((r=>{(0,l.isDestroying)(e)||(0,p.set)(e,t,r)}))}_resolvePromises(e,t){t&&e&&(arguments.length>2&&void 0!==arguments[2]&&arguments[2]?(0,s.hash)(t).then((t=>{(0,l.isDestroying)(this)||(0,p.setProperties)(e,t)})):Object.keys(t).forEach((r=>{const i=t[r]
this._loadPromiseToModel(e,r,i)})))}_fetchBlockingRequests(e){const{vanityName:t}=this.paramsFor("common")
return{topCardCore:$((0,m.queryTopCardCore)(this.graphql,t,{backgroundReload:e}),this.rumMeasurement,this.isTopCardCoreGqlEnabled?"topCardCoreGql":"topCardCore")}}_fetchNonBlockingRequests(e){var t
const{vanityName:r,viewLocale:i}=this.paramsFor("common"),{profileUrn:o,isSelfView:l}=this.modelFor("common"),n={topCardSupplementary:$((0,m.fetchTopCardSupplementaryGraphql)(this.graphql,r,{backgroundReload:e}),this.rumMeasurement,"topCardSupplementary")}
if(!r||!o)return n
const a=$((0,m.fetchProfileGraphQL)(this.graphql,r,_.default,{backgroundReload:e}),this.rumMeasurement,"profileLocalizedContents")
n.profileLocalizedContents=a
n.profileCardsInitialCards=$((0,m.fetchProfileCardsGraphQL)(E.PROFILE_CARDS_INITIAL_CARDS,o,this.graphql,this.lix,{backgroundReload:e,requestedLocale:i}),this.rumMeasurement,"profileCardsInitialCards")
n.profileCardsDeferredCards=$((0,m.fetchProfileCardsGraphQL)(E.PROFILE_CARDS_DEFERRED_CARDS,o,this.graphql,this.lix,{backgroundReload:e,requestedLocale:i}),this.rumMeasurement,"profileCardsDeferredCards")
"cn"===(null===(t=this.localeService)||void 0===t?void 0:t.requestIpCountryCode)||(n.photoFrames=this.identityStore.queryURL("com.linkedin.voyager.dash.identity.profile.ProfilePhotoFrame",r,{adapterOptions:{degrations:[w.DEGRADATION_METADATA.PHOTO_FRAME_FETCH],degradedEntityIDsToRemove:[]}}))
const s=l?O.ENTRY_POINT.SELF_PROFILE_TOP_CARD_PROMO.toUpperCase():O.ENTRY_POINT.NON_SELF_PROFILE_TOP_CARD_PROMO.toUpperCase()
n.verificationEntryPointCard=$((0,T.queryVerificationEntryPoint)(this.graphql,{verificationEntryPoint:s,vieweeUrn:o}),this.rumMeasurement,"verificationEntryPointCard")
return n}_fetchLazyLoadRequests(){const{isSelfView:e,profileUrn:t}=this.modelFor("common"),r={learningRecommendations:(0,f.fetchLearningRecommendations)(this.graphql,(0,p.get)(this.authenticatedUser,"memberId")).then((e=>(0,p.get)(e,"data.learningDashLearningRecommendationsByProfile"))),opportunitiesCards:(0,P.getOpenToCardsWithTopCardGraphql)(this.graphql,t,!0)}
if(e){const e=(0,P.getOpenToCardsWithButtonGraphql)(this.graphql,!0),i=(0,m.fetchProfileGoals)(this.graphql,t)
r.profileGoals=i
r.opportunitiesGoals=e}else r.guideFetcherResponse=(0,u.getProfileGuidePromptFetcherGraphql)({profileUrn:t,intent:d.GUIDE_INTENT.SELLER_AGENT,graphql:this.graphql,clientSensor:this.clientSensor,internalLogger:this.internalLogger,pemDegradation:c.COACH_PEM_FEATURES_METADATA.GUIDE_FETCH_ENTRY_POINTS_SELLER})
return r}_getTrackedLazyLoadPromises(){const{profileUrn:e,viewLocale:t}=this.modelFor("common")
let r={}
const i=(0,m.fetchRightRailProfileCardsGraphQL)(this.graphql,e,{requestedLocale:t})
r={rightRailCardsTrackedPromise:new g.TrackedAsyncData(i),...r}
return r}_hasLocaleChanged(e){const t=e!==this.lastViewLocale
t&&(this.lastViewLocale=e)
return t}},U=(0,i.default)(j.prototype,"identityStore",[C],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),z=(0,i.default)(j.prototype,"storeShim",[I],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),V=(0,i.default)(j.prototype,"authenticatedUser",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,i.default)(j.prototype,"graphql",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),q=(0,i.default)(j.prototype,"localeService",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),G=(0,i.default)(j.prototype,"profile",[A],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,i.default)(j.prototype,"profileEventHandler",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),H=(0,i.default)(j.prototype,"rum",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),B=(0,i.default)(j.prototype,"lix",[M],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,i.default)(j.prototype,"router",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,i.default)(j.prototype,"clientSensor",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,i.default)(j.prototype,"internalLogger",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(j.prototype,"loading",[p.action],Object.getOwnPropertyDescriptor(j.prototype,"loading"),j.prototype),(0,i.default)(j.prototype,"error",[p.action],Object.getOwnPropertyDescriptor(j.prototype,"error"),j.prototype),(0,i.default)(j.prototype,"willTransition",[p.action],Object.getOwnPropertyDescriptor(j.prototype,"willTransition"),j.prototype),j)}))
define("profile-tetris/routes/common/profile/app-download",["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","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var s,p,d,c,u,m
e.default=(s=(0,n.inject)("profile-services@profile"),p=(0,n.inject)("router"),(0,a.setupCloseSubrouteInRoute)(d=(c=class extends l.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_base_downloadapp_promo");(0,t.default)(this,"profile",u,this);(0,t.default)(this,"router",m,this)}beforeModel(){this.profile.isSelfView&&this.router.transitionTo("profile.common.profile")}},u=(0,i.default)(c.prototype,"profile",[s],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),m=(0,i.default)(c.prototype,"router",[p],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c))||d)}))
define("profile-tetris/routes/common/profile/background-image",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/destroyable","@ember/object","@ember/routing/route","global-helpers/helpers/name","profile-shared/utils/profile-view-transition","dash-interop-helper/utils/get-graphql-value-with-dash-fallback","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var p
e.default=(0,s.setupCloseSubrouteInRoute)(p=class extends o.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_profile_view_member_background_photo")}beforeModel(e){super.beforeModel(e);(0,n.overrideScrollPosition)(e)}model(){if((0,r.isDestroying)(this))return
const e=this.modelFor("common.profile"),t=(0,i.get)(e,"topCardCore"),o=(0,l.getName)(t)
return{backgroundImage:(0,a.getGraphQlValueWithDashFallback)(t,"backgroundPicture.displayImageReferenceResolutionResult.vectorImage")||(0,a.getGraphQlValueWithDashFallback)(t,"backgroundPicture.displayImageReferenceResolutionResult.url"),memberName:o}}})||p}))
define("profile-tetris/routes/common/profile/cover-photo-carousel",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/destroyable","@ember/routing/route","global-helpers/helpers/name","profile-shared/utils/profile-view-transition","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var a
e.default=(0,n.setupCloseSubrouteInRoute)(a=class extends i.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_profile_view_member_cover_photo_carousel")}beforeModel(e){super.beforeModel(e);(0,l.overrideScrollPosition)(e)}model(){if((0,r.isDestroying)(this))return
const e=this.modelFor("common.profile"),{topCardCore:t}=e,i=(0,o.getName)(t),{coverPhotoItems:l}=t
return{coverPhotoItems:l,memberName:i}}})||a}))
define("profile-tetris/routes/common/profile/cover-story/create",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/destroyable","@ember/routing/route","@ember/object","rsvp"],(function(e,t,r,i,o,l){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class n extends i.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_profile_view_base_coverstory_deeplink")}model(){if((0,r.isDestroying)(this))return
const e=this.modelFor("common.profile"),t=(0,o.get)(e,"topCardCore")
return(0,l.hash)({dashProfile:t})}}e.default=n}))
define("profile-tetris/routes/common/profile/cover-story/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/object","@ember/routing/route","rsvp","@ember/service","profile-shared/utils/tetris-api-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var c,u,m,f,h,b,g
e.default=(c=(0,p.inject)("global-nav-shared@nav-interaction"),u=(0,p.inject)("profile-services@profile"),m=(0,p.inject)("profile-services@identity-store"),f=class extends a.default{constructor(){super(...arguments);(0,t.default)(this,"navInteraction",h,this);(0,t.default)(this,"profile",b,this);(0,t.default)(this,"identityStore",g,this)}pageKey(){return this.profile.isSelfView?"flagship3_profile_self_coverstory_view":"flagship3_profile_view_base_coverstory_view"}activate(){super.activate(...arguments)
this.navInteraction.takeOver(!0)}deactivate(){super.deactivate(...arguments)
this.navInteraction.takeOver(!1)}model(e,t){if((0,l.isDestroying)(this))return
const r=this.modelFor("common.profile"),i=(0,n.get)(r,"topCardCore"),o=(0,n.get)(r,"topCardSupplementary")
if(o){var a
return(0,s.hash)({dashProfile:i,dashProfileSupplementaryData:o,enableAutoPlayWithoutMute:e.enableAutoPlayWithoutMute&&!(null===(a=t.from)||void 0===a||!a.name)})}const p=(0,n.get)(i,"publicIdentifier")
return(0,d.fetchTopCardSupplementary)(this.identityStore,p).then((t=>{if(!(0,l.isDestroying)(this))return(0,s.hash)({dashProfile:i,dashProfileSupplementaryData:t,enableAutoPlayWithoutMute:e.enableAutoPlayWithoutMute})}))}},h=(0,i.default)(f.prototype,"navInteraction",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),b=(0,i.default)(f.prototype,"profile",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),g=(0,i.default)(f.prototype,"identityStore",[m],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f)}))
define("profile-tetris/routes/common/profile/create-post",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/routing/route","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var o
e.default=(0,i.setupCloseSubrouteInRoute)(o=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"pageKey","flagship3_profile_view_create_post")}})||o}))
define("profile-tetris/routes/common/profile/creator-mode",["exports","@ember/destroyable","@ember/routing/route","@ember/object"],(function(e,t,r,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class o extends r.default{model(){if((0,t.isDestroying)(this))return
const{topCardCore:e,vanityName:r}=this.modelFor("common.profile")
return{vanityName:r,isCreator:(0,i.get)(e,"creator")}}}e.default=o}))
define("profile-tetris/routes/common/profile/detail-contact-info",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/object","@ember/service","@ember/routing/route","rsvp","global-helpers/helpers/name","profile-shared/utils/profile-view-transition","@glimmer/tracking","profile-shared/utils/tetris-api-helpers","@linkedin/ember-restli-graphql"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var h,b,g,_,y,v,P,E,w,T
e.default=(h=(0,a.inject)("global-services@store-shim"),b=(0,a.inject)("i18n"),g=(0,a.inject)("persistent-toast-manager@persistent-toast-manager"),_=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),y=class extends s.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_base_contact_details");(0,t.default)(this,"storeShim",v,this);(0,t.default)(this,"i18n",P,this);(0,t.default)(this,"persistentToastManager",E,this);(0,t.default)(this,"graphql",w,this);(0,t.default)(this,"focusOnEditButton",T,this)}beforeModel(e){var t;(0,c.overrideScrollPosition)(e)
this.focusOnEditButton="profile-edit.contact-info"===(null===(t=e.from)||void 0===t?void 0:t.name)}model(){if((0,l.isDestroying)(this))return
const e=this.modelFor("common.profile"),t=(0,n.get)(e,"topCardCore"),r=(0,n.get)(e,"topCardCore.geoLocation.geo"),i=(0,d.getName)(t),o=(0,n.get)(t,"publicIdentifier"),a={dashProfile:(0,m.fetchContactInfoGraphQL)(this.graphql,o)}
r&&(a.memberHandle=this.storeShim.queryURL("voyagerOnboardingDashMemberHandles",{params:{q:"vieweeWithLocationRestriction",viewee:(0,n.get)(t,"entityUrn"),recipe:"com.linkedin.voyager.dash.deco.onboarding.MemberHandle"}}))
return(0,p.hash)(a).then((e=>{let{dashProfile:t,memberHandle:r}=e
return{dashProfile:t,memberHandle:r,memberName:i,publicIdentifier:o,focusOnEditButton:this.focusOnEditButton}})).catch((e=>{if((0,l.isDestroying)(this))throw e
if(e&&(e.isAdapterError||e instanceof f.GraphQLQueryError)){const e=this.i18n.lookupTranslation("profile-tetris@common/profile/detail-contact-info","i18n_error_loading_message_key")(),t=this.i18n.lookupTranslation("profile-tetris@common/profile/detail-contact-info","i18n_error_loading_title_key")()
this.persistentToastManager.error({message:e,title:t})
this.transitionToExternal("profile.common.profile",o)}throw e}))}willTransition(e){(0,c.overrideScrollPosition)(e)
e.data.editTopCardOptions={isEditingContactInfo:!0}}},v=(0,i.default)(y.prototype,"storeShim",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),P=(0,i.default)(y.prototype,"i18n",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(y.prototype,"persistentToastManager",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),w=(0,i.default)(y.prototype,"graphql",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,i.default)(y.prototype,"focusOnEditButton",[u.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(y.prototype,"willTransition",[n.action],Object.getOwnPropertyDescriptor(y.prototype,"willTransition"),y.prototype),y)}))
define("profile-tetris/routes/common/profile/follower-insights",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/destroyable","@ember/object","@ember/service","rsvp","@ember/routing/route","graphql-queries/queries/profile/identityDashProfiles/browse-map-profile-by-urn.graphql","profile-tetris-shared/utils/subroute-helpers"],(function(e,t,r,i,o,l,n,a,s,p,d,c){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var u,m,f,h
e.default=(u=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),(0,c.setupCloseSubrouteInRoute)(m=(f=class extends p.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_follower_insights_details");(0,t.default)(this,"graphql",h,this)}model(){if((0,l.isDestroying)(this))return
const e=this.modelFor("common.profile"),t=(0,n.get)(e,"topCardCore"),r=decodeURIComponent((0,n.get)(t,"entityUrn")),i=this.graphql.executeQuery(d.default,{profileUrn:r}).then((e=>{if(!(0,l.isDestroying)(this))return(0,n.get)(e,"data.identityDashProfilesByBrowsemap")}))
return(0,s.hash)({followerInsights:i,profileModel:e})}},h=(0,i.default)(f.prototype,"graphql",[u],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f))||m)}))
define("profile-tetris/routes/common/profile/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","@ember/debug","profile-tetris/utils/profile-view-event-utils","@ember/object","profile-tetris/utils/network-distance-utils","lego/utils/lego-page-content","profile-edit-shared-birthday/utils/birthday-constants","global-utils/utils/is-browser","profile-shared/utils/profile-index-gdpr-utils","data-layer/m3-configs/jobs/jobs-home-prefetch-config","msg-shared/utils/constants","profile-tetris-shared/utils/constant/monitoring-constants","ember-lifeline","profile-shared/components/suggested-notification","graphql-queries/queries/profile/identityDashProfiles/profile-geo-and-created.graphql"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f,h,b,g,_,y,v,P){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var E,w,T,O,C,I,S,D,R,A,k,L,M,F,x,N,j,U,z,V,Y,q,G,W,H,B,K,Q,J,Z,$,X,ee
const{SLOT_ID:te,GROUP_ID:re,WIDGET_ID:ie}=m.SELF_PROFILE_LEGO_CONFIG,{OVERLAY:{CONTEXT_TYPES:oe}}=g.default
e.default=(E=(0,a.inject)("tracking"),w=(0,a.inject)("prefetch"),T=(0,a.inject)("lix"),O=(0,a.inject)("lego@tracking"),C=(0,a.inject)("router"),I=(0,a.inject)("global-services@store-shim"),S=(0,a.inject)("persistent-toast-manager@persistent-toast-manager"),D=(0,a.inject)("i18n"),R=(0,a.inject)("global-services@local-storage"),A=(0,a.inject)("profile-services@profile"),k=(0,a.inject)("gdpr-notice@gdpr-notice"),L=(0,a.inject)("msg-overlay-manager@msg-overlay-manager"),M=(0,a.inject)("client-sensor-web@client-sensor"),F=(0,a.inject)("jet"),x=(0,a.inject)("@linkedin/ember-restli-graphql@graphql"),N=(0,a.inject)("authentication@authenticated-user"),j=class extends n.default{constructor(){super(...arguments);(0,r.default)(this,"pageKey","flagship3_profile_view_base");(0,r.default)(this,"pageKeySelf","flagship3_profile_self");(0,r.default)(this,"pageKeyNonSelf","flagship3_profile_view");(0,t.default)(this,"tracking",U,this);(0,t.default)(this,"prefetch",z,this);(0,t.default)(this,"lix",V,this);(0,t.default)(this,"legoTracking",Y,this);(0,t.default)(this,"router",q,this);(0,t.default)(this,"storeShim",G,this);(0,t.default)(this,"persistentToastManager",W,this);(0,t.default)(this,"i18n",H,this);(0,t.default)(this,"localStorage",B,this);(0,t.default)(this,"profile",K,this);(0,t.default)(this,"gdprNotice",Q,this);(0,t.default)(this,"msgOverlayManager",J,this);(0,t.default)(this,"clientSensor",Z,this);(0,t.default)(this,"jet",$,this);(0,t.default)(this,"graphql",X,this);(0,t.default)(this,"authenticatedUser",ee,this)}onExecuteAsLeaf(){var e
const t=null===(e=this.modelFor("common"))||void 0===e?void 0:e.isSelfView,r=t?this.pageKeySelf:this.pageKeyNonSelf
this.tracking.firePageViewEvent(r)
this._fireProfileViewEvent()}beforeModel(e){var t
const{skipBirthdayCheck:r}=(null==e||null===(t=e.to)||void 0===t?void 0:t.queryParams)??{},i=this.modelFor("common"),o=null==i?void 0:i.isSelfView
f.default&&!r&&o&&this._fetchBirthdayEditRedirect()
this.prefetch.prefetchData((0,b.jobsPrefetchConfig)(this.