ember-wormhole","profile-tetris/components/ember-wormhole")
define.alias("helpcenter-in-product-ember/components/external-link","profile-tetris/components/external-link")
define.alias("helpcenter-in-product-ember/components/feature-launcher","profile-tetris/components/feature-launcher")
define.alias("ember-cloud-filepicker/components/file-picker","profile-tetris/components/file-picker")
define.alias("ember-finite-scroll/components/finite-scroll","profile-tetris/components/finite-scroll")
define.alias("ember-semaphore/components/gen-ai-feedback","profile-tetris/components/gen-ai-feedback")
define.alias("ember-cloud-filepicker/components/google-drive-file-picker","profile-tetris/components/google-drive-file-picker")
define.alias("helpcenter-in-product-ember/components/header","profile-tetris/components/header")
define.alias("ember-highcharts/components/high-charts","profile-tetris/components/high-charts")
define.alias("image-editor/components/image-editor-loader","profile-tetris/components/image-editor-loader")
define.alias("image-editor/components/image-editor","profile-tetris/components/image-editor")
define("profile-tetris/components/image-modal",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","ember-vector-images/components/custom-image"],(function(e,t,r,i,o,l,n){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const a=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"oyxutfem",block:'[[[1,"\\n"],[1,"  "],[8,[32,0],null,[["@isOpen","@modalClasses","@dismissModal","@size"],[true,[29,["pv-member-photo-modal ",[30,1]]],[30,2],"x-large"]],[["default"],[[[[1,"\\n    "],[8,[30,3,["artdeco-modal-header"]],[[24,0,"visually-hidden"]],null,[["default"],[[[[1,"\\n      "],[10,"h4"],[14,1,"image-modal-title"],[12],[1,[28,[32,1],["image_modal_title","profile-tetris/components/image-modal"],null]],[13],[1,"\\n    "]],[]]]]],[1,"\\n    "],[8,[30,3,["artdeco-modal-content"]],[[24,0,"p0"]],null,[["default"],[[[[1,"\\n      "],[10,0],[14,0,"pv-member-photo-modal__content pv-member-photo-modal__content--padded"],[12],[1,"\\n"],[41,[30,4],[[[1,"          "],[8,[32,2],null,[["@alt","@image","@class","@desiredWidth","@desiredHeight"],[[30,5],[30,4],[30,6],10000,10000]],null],[1,"\\n"]],[]],[[[1,"          "],[18,7,null],[1,"\\n"]],[]]],[1,"      "],[13],[1,"\\n    "]],[]]]]],[1,"\\n  "]],[3]]]]],[1,"\\n"]],["@modalExtraClasses","@close","modal","@image","@imageAlt","@imageClass","&default"],false,["if","yield"]]',moduleName:"profile-tetris/components/image-modal.gjs",scope:()=>[o.default,l.default,n.default],isStrictMode:!0}),(0,r.default)("image-modal","ImageModal"))
e.default=a}))
define.alias("helpcenter-in-product-ember/components/iph-widget-container","profile-tetris/components/iph-widget-container")
define.alias("helpcenter-in-product-ember/components/iph-widget-trigger","profile-tetris/components/iph-widget-trigger")
define.alias("helpcenter-in-product-ember/components/iph-widget","profile-tetris/components/iph-widget")
define.alias("ember-finite-scroll/components/item-container","profile-tetris/components/item-container")
define.alias("ember-vector-images/components/lazy-background","profile-tetris/components/lazy-background")
define.alias("ember-vector-images/components/lazy-image","profile-tetris/components/lazy-image")
define.alias("ember-line-clamp/components/line-clamp","profile-tetris/components/line-clamp")
define.alias("artdeco-icons-web/components/linkedin-logo","profile-tetris/components/linkedin-logo")
define.alias("ember-cloud-filepicker/components/local-file-input","profile-tetris/components/local-file-input")
define.alias("ember-media-player/components/media-player","profile-tetris/components/media-player")
define("profile-tetris/components/message-drawer",["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/object","ember","@glimmer/tracking","@glimmer/component","@ember/render-modifiers/modifiers/will-destroy","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-render","@ember/modifier","message-button/components/entry-point","hue-web-icons/components/illustration","@ember/service"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f,h,b,g,_,y,v){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var P,E,w,T
e.default=(0,a.setComponentTemplate)((0,l.createTemplateFactory)({id:"qfdBFHVn",block:'[[[1,"\\n"],[41,[30,0,["showMessageDrawer"]],[[[1,"      "],[11,"section"],[16,0,[29,[[30,0,["computedAnimatedClass"]],"\\n          ",[52,[30,1]," message-drawer__animation--base "],"\\n          message-drawer artdeco-card relative break-words mt2"]]],[17,2],[4,[32,0],[[30,0,["onDestroy"]]],null],[4,[32,1],null,[["pageKey","routeName","currentRoute"],["flagship3_profile_message_drawer",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n        "],[10,0],[14,0,"message-drawer__messages-icon"],[12],[1,"\\n          "],[8,[32,3],null,[["@type","@size","@name"],["microspot","small","messages"]],null],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"message-drawer__description-section pr6"],[12],[1,"\\n          "],[10,1],[14,0,"t-14 t-normal"],[12],[1,"\\n            "],[1,[28,[32,4],["i18n_message_drawer_description","profile-tetris/components/message-drawer"],[["vieweeName"],[[30,3]]]]],[1,"\\n          "],[13],[1,"\\n          "],[8,[32,5],null,[["@controlUrn","@referringModuleKey","@recipientUrns","@body"],["profile_message_drawer","profile:message_drawer",[30,4],[28,[32,4],["i18n_message_drawer_message_body_text","profile-tetris/components/message-drawer"],[["vieweeName"],[[30,3]]]]]],[["default"],[[[[1,"\\n            "],[8,[32,6],[[4,[32,7],["people_profile_message_entry_point_click"],null],[4,[32,8],["click",[30,5]],null]],[["@icon","@text","@type","@size","@color"],["edit",[28,[32,4],["i18n_message_drawer_message_button_text","profile-tetris/components/message-drawer"],[["vieweeName"],[[30,3]]]],"secondary",2,"muted"]],null],[1,"\\n          "]],[5]]]]],[1,"\\n        "],[13],[1,"\\n        "],[10,0],[14,0,"relative align-items-baseline"],[12],[1,"\\n          "],[8,[32,6],[[16,"aria-label",[28,[32,4],["i18n_dismiss_all_a11y_text","profile-tetris/components/message-drawer"],null]],[4,[32,8],["click",[30,0,["dismissDrawer"]]],null],[4,[32,7],["drawer_dismiss"],null]],[["@color","@circle","@controlType","@icon","@size","@type"],["muted",true,"button","close","1","tertiary"]],null],[1,"\\n        "],[13],[1,"\\n      "],[13],[1,"\\n"]],[]],null],[1,"  "]],["@useAnimation","&attrs","@vieweeName","@vieweeProfileUrn","openMessaging"],false,["if","-get-dynamic-var"]]',moduleName:"profile-tetris/components/message-drawer.gjs",scope:()=>[u.default,b.default,n.get,y.default,f.default,_.default,m.default,h.default,g.on],isStrictMode:!0}),(P=(0,v.inject)("profile-services@profile"),E=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"showMessageDrawer",w,this);(0,t.default)(this,"profile",T,this);(0,r.default)(this,"_animationClass","message-drawer__animation--slide-down-and-fade");(0,r.default)(this,"_animationEndedEvent",void 0)}get computedAnimatedClass(){if(!p.default.testing&&this.args.useAnimation&&this.showMessageDrawer)return this._animationClass}onDestroy(e){e.removeEventListener("transitionend",this._animationEndedEvent)}dismissDrawer(){if(!p.default.testing&&this.useAnimation){const e=()=>{this._closeDrawer()
this.element.removeEventListener("transitionend",e)}
this._animationEndedEvent=e.bind(this)
this.element.addEventListener("transitionend",this._animationEndedEvent)
this._animationClass=void 0}else this._closeDrawer()
this.profile.resetMessageDrawer()}_closeDrawer(){this.showMessageDrawer=!1}},w=(0,i.default)(E.prototype,"showMessageDrawer",[d.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),T=(0,i.default)(E.prototype,"profile",[P],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(E.prototype,"onDestroy",[s.action],Object.getOwnPropertyDescriptor(E.prototype,"onDestroy"),E.prototype),(0,i.default)(E.prototype,"dismissDrawer",[s.action],Object.getOwnPropertyDescriptor(E.prototype,"dismissDrawer"),E.prototype),E))}))
define("profile-tetris/components/non-self-profile-picture",["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","@ember/service","ember-cli-pemberly-i18n/helpers/t","@glimmer/component","ember-vector-images/components/custom-image","profile-loaders/components/shimmer","media-shared/utils/c2pa-utils","media-shared/components/content-credentials-icon-overlay","global-helpers/helpers/get-class-hash"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f,h,b){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var g,_,y,v
e.default=(0,n.setComponentTemplate)((0,l.createTemplateFactory)({id:"dJDj1+yP",block:'[[[1,"\\n"],[1,"    "],[10,0],[14,0,"pv-member-photo-modal__content-image-container"],[12],[1,"\\n"],[41,[30,0,["showC2PA"]],[[[1,"        "],[8,[32,0],null,[["@mediaType","@aiUsageType","@appOrDeviceUsed","@isAiGenerated","@c2paSignature"],[[28,[32,1],["i18n_media_type","profile-tetris/components/non-self-profile-picture"],null],[30,0,["c2paManifestData","aiUsageType"]],[30,0,["c2paManifestData","appOrDeviceUsed"]],[30,0,["c2paManifestData","isAiGenerated"]],[30,0,["c2paSignature"]]]],null],[1,"\\n"]],[]],null],[1,"      "],[8,[32,2],null,[["@alt","@image","@class","@desiredWidth","@desiredHeight","@onLoad"],[[30,1],[30,2],"pv-member-photo-modal__content-image",10000,10000,[30,0,["onLoad"]]]],null],[1,"\\n"],[41,[51,[30,0,["hasImageLoaded"]]],[[[1,"        "],[10,0],[14,0,"pv-member-photo-modal__content-image-loader-wrapper-container"],[12],[1,"\\n          "],[10,0],[15,0,[29,[[28,[32,3],["pvs-loader__wrapper"],null],"\\n              pv-member-photo-modal__content-image-loader-wrapper"]]],[12],[1,"\\n            "],[8,[32,4],null,[["@onDark"],[true]],null],[1,"\\n          "],[13],[1,"\\n        "],[13],[1,"\\n"]],[]],null],[1,"    "],[13],[1,"\\n  "]],["@imageAlt","@image"],false,["if","unless"]]',moduleName:"profile-tetris/components/non-self-profile-picture.gjs",scope:()=>[h.default,d.default,u.default,b.default,m.default],isStrictMode:!0}),(g=(0,p.inject)("lix"),_=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"lix",y,this);(0,t.default)(this,"hasImageLoaded",v,this)}get isC2PALixEnabled(){return this.lix.getTreatmentIsEnabled("voyager.web.profile-c2pa-migration")}get c2paManifestData(){var e
return null===(e=this.args.image)||void 0===e?void 0:e.c2paManifestData}get c2paSignature(){const{c2paManifestData:e}=this
return(0,f.isValidC2paManifestData)(e)?null==e?void 0:e.signature:null}get showC2PA(){var e
return this.isC2PALixEnabled&&(null===(e=this.c2paManifestData)||void 0===e?void 0:e.isAiGenerated)}onLoad(){this.hasImageLoaded=!0}},y=(0,i.default)(_.prototype,"lix",[g],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(_.prototype,"hasImageLoaded",[a.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(_.prototype,"onLoad",[s.action],Object.getOwnPropertyDescriptor(_.prototype,"onLoad"),_.prototype),_))}))
define("profile-tetris/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","profile-tetris/components/onedrive-file-picker")
define("profile-tetris/components/profile-cards-on-action-wrapper",["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/service","@glimmer/component","profile-tetris-shared/components/maybe-profile-cards"],(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=(0,n.setComponentTemplate)((0,l.createTemplateFactory)({id:"bogZTNlF",block:'[[[1,"\\n    "],[8,[32,0],null,[["@maybeProfileCardsData"],[[30,0,["profileEventHandler","tetrisCardsOnActionData"]]]],null],[1,"\\n  "]],[],false,[]]',moduleName:"profile-tetris/components/profile-cards-on-action-wrapper.gjs",scope:()=>[p.default],isStrictMode:!0}),(d=(0,a.inject)("profile-services@profile-event-handler"),c=class extends s.default{constructor(){super(...arguments);(0,t.default)(this,"profileEventHandler",u,this)}},u=(0,i.default)(c.prototype,"profileEventHandler",[d],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),c))}))
define("profile-tetris/components/profile-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/helper","@ember/component","global-utils/utils/is-browser","profile-tetris-shared/utils/subroute-helpers","profile-tetris-shared/utils/constant/render-actions","@ember/service","@ember/object","@glimmer/component","artdeco-modal/components/artdeco-modal","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","profile-tetris-shared/components/profile-component-builder","profile-tetris-shared/components/profile-component/action","@ember/modifier","global-helpers/helpers/get-class-hash","profile-tetris-shared/utils/constant/profile-subsection-type"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f,h,b,g,_,y,v,P,E){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var w,T,O,C,I
e.default=(0,a.setComponentTemplate)((0,l.createTemplateFactory)({id:"GK7RFGK4",block:'[[[1,"\\n"],[1,"    "],[8,[32,0],null,[["@isOpen","@size","@dismissModal"],[true,"large",[52,[30,1],[30,0,["backToDetailPage"]],[30,0,["backToProfile"]]]]],[["default"],[[[[1,"\\n      "],[8,[30,2,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n        "],[10,0],[14,0,"display-flex align-items-center"],[12],[1,"\\n"],[41,[30,0,["showBackButton"]],[[[1,"            "],[8,[32,1],[[16,"aria-label",[28,[32,2],["i18n_modal_back","profile-tetris/components/profile-modal"],null]],[4,[32,3],["click",[30,0,["onBackClick"]]],null],[4,[32,4],["back"],null]],[["@type","@color","@size","@controlType","@icon","@class"],["tertiary","muted",2,"button","arrow-left-icon","pl1"]],null],[1,"\\n"]],[]],null],[1,"          "],[10,"h1"],[14,1,"profile-modal"],[12],[1,[30,0,["modalTitle"]]],[13],[1,"\\n        "],[13],[1,"\\n      "]],[]]]]],[1,"\\n      "],[8,[30,2,["artdeco-modal-content"]],[[16,0,[29,["pvs-modal__content relative\\n          ",[52,[51,[30,0,["showModalFooter"]]],[28,[32,5],["pb4"],null]]]]]],[["@hasPadding"],[false]],[["default"],[[[[1,"\\n"],[42,[28,[31,3],[[28,[31,3],[[30,3,["elements"]]],null]],null],null,[[[1,"          "],[8,[32,6],null,[["@component","@handleAction"],[[30,4],[30,0,["handleAction"]]]],null],[1,"\\n"]],[4]],null],[1,"      "]],[]]]]],[1,"\\n"],[41,[30,0,["showModalFooter"]],[[[1,"        "],[8,[30,2,["artdeco-modal-footer"]],null,null,[["default"],[[[[1,"\\n          "],[8,[32,7],null,[["@actionComponent","@handleAction"],[[30,0,["primaryAction"]],[30,0,["handleAction"]]]],null],[1,"\\n        "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n    "]],[2]]]]],[1,"\\n  "]],["@onDetailPage","modal","@modalComponent","component"],false,["if","unless","each","-track-array"]]',moduleName:"profile-tetris/components/profile-modal.gjs",scope:()=>[f.default,h.default,b.default,v.on,g.default,P.default,_.default,y.default],isStrictMode:!0}),(w=(0,c.inject)("profile-services@profile"),T=(0,c.inject)("global-services@window"),O=class extends m.default{constructor(){super(...arguments);(0,t.default)(this,"profile",C,this);(0,t.default)(this,"windowService",I,this)}get modalTitle(){return(0,u.get)(this.args,"modalComponent.metadata.title")}get primaryAction(){return(0,u.get)(this.args,"modalComponent.metadata.primaryAction")}get showModalFooter(){return!!this.primaryAction}get showBackButton(){return(0,u.get)(this.args,"modalComponent.metadata.showBackButton")}handleAction(e){let{type:t}=e
t!==d.RENDER_ACTIONS.DELETE_SKILL&&t!==d.RENDER_ACTIONS.COMPOSE_OPTION||(this.args.onDetailPage?this.backToDetailPage():this.backToProfile())}onBackClick(){const e=this.windowService.getHistory()
s.default&&e.length>1?e.back():this.args.onDetailPage?this.backToDetailPage():this.backToProfile()}backToProfile(){(0,u.get)(this.args,"closeModal")(p.PROFILE_PAGE)
this.profile.shouldFocusProfileCardOverflowBtn=!0
this.setFocusOnProfileHubBtn()}setFocusOnProfileHubBtn(){if(null==this.profile.elementIDToFocusOnRouteChange){E.PROFILE_PREMIUM_FEATURED_OVERLAY.includes((0,u.get)(this.args,"overlaySectionType"))&&this.profile.visitedRoutes.includes(p.DETAIL_PAGE)&&(this.profile.shouldFocusProfileHubBtn=!0)
this.profile.visitedRoutes=[]}}backToDetailPage(){(0,u.get)(this.args,"closeModal")(p.DETAIL_PAGE)}},C=(0,i.default)(O.prototype,"profile",[w],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,i.default)(O.prototype,"windowService",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(O.prototype,"handleAction",[u.action],Object.getOwnPropertyDescriptor(O.prototype,"handleAction"),O.prototype),(0,i.default)(O.prototype,"onBackClick",[u.action],Object.getOwnPropertyDescriptor(O.prototype,"onBackClick"),O.prototype),(0,i.default)(O.prototype,"backToProfile",[u.action],Object.getOwnPropertyDescriptor(O.prototype,"backToProfile"),O.prototype),(0,i.default)(O.prototype,"backToDetailPage",[u.action],Object.getOwnPropertyDescriptor(O.prototype,"backToDetailPage"),O.prototype),O))}))
define("profile-tetris/components/profile-page-layout",["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","profile-shared/utils/profile-sticky-header-utils","@ember/object","@glimmer/tracking","@ember/service","@glimmer/component","scaffold-layout/components/layout","@ember/helper","ember-set-helper/helpers/set"],(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
e.default=(0,n.setComponentTemplate)((0,l.createTemplateFactory)({id:"8n4AY6KI",block:'[[[1,"\\n    "],[8,[32,0],[[24,0,"pv-profile pvs-loader-wrapper__shimmer--animate"]],[["@template","@hasFixedToolbar"],["main-aside",true]],[["toolbar","main","aside"],[[[[1,"\\n        "],[18,2,null],[1,"\\n      "]],[]],[[[1,"\\n        "],[18,3,null],[1,"\\n        "],[18,4,null],[1,"\\n        "],[18,5,[[28,[32,1],null,[["shouldHideImFollow","dismissImFollow"],[[30,0,["shouldHideImFollow"]],[28,[32,2],[[30,0],"shouldHideImFollow",true],null]]]]]],[1,"\\n        "],[18,6,[[28,[32,1],null,[["cards","nonShellCardsIndex","isAllCardsLoaded"],[[52,[30,1],[30,0,["cardsToShow"]]],[52,[30,1],[30,0,["nonShellCardsIndex"]]],[30,0,["isAllCardsLoaded"]]]]]]],[1,"\\n      "]],[]],[[[1,"\\n        "],[18,7,null],[1,"\\n      "]],[]]]]],[1,"\\n  "]],["@showProfileCards","&toolbar","&topcard","&tetrisCardsOnAction","&nonTetrisCards","&tetrisCards","&aside"],false,["yield","if"]]',moduleName:"profile-tetris/components/profile-page-layout.gjs",scope:()=>[u.default,m.hash,f.default],isStrictMode:!0}),(h=(0,d.inject)("scaffold-layout@toolbar"),b=(0,d.inject)("global-services@window"),g=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"toolbar",_,this);(0,t.default)(this,"windowService",y,this);(0,t.default)(this,"shouldHideImFollow",v,this)}get cardsToShow(){return(0,s.get)(this.args,"profileContent.content.singleTab.cards")??[]}get nonShellCardsIndex(){let e=0
return this.cardsToShow.map(((t,r)=>{if((0,s.get)(t,"topComponents.0"))return r-e
e++
return-1}))}get isAllCardsLoaded(){return this.cardsToShow.every((e=>(0,s.get)(e,"topComponents")||(0,s.get)(e,"subComponent")))}hideStickyHeader(){(0,a.hideStickyHeader)(this.toolbar)}showStickyHeader(){(0,a.showStickyHeader)(this.toolbar,this.windowService)}},_=(0,i.default)(g.prototype,"toolbar",[h],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),y=(0,i.default)(g.prototype,"windowService",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),v=(0,i.default)(g.prototype,"shouldHideImFollow",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(g.prototype,"hideStickyHeader",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"hideStickyHeader"),g.prototype),(0,i.default)(g.prototype,"showStickyHeader",[s.action],Object.getOwnPropertyDescriptor(g.prototype,"showStickyHeader"),g.prototype),g))}))
define("profile-tetris/components/recommendation-drawer",["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","profile-tetris/utils/recommendation-drawer-utils","lego/utils/constants","@ember/object","@ember/service","@glimmer/component","global-helpers/helpers/eq","discover/components/recommendations-drawer","ember-cli-pemberly-i18n/helpers/t","@ember/helper","ember-cli-pemberly-tracking/modifiers/track-render","profile-tetris/components/message-drawer"],(function(e,t,r,i,o,l,n,a,s,p,d,c,u,m,f,h,b,g){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var _,y,v,P,E
e.default=(0,n.setComponentTemplate)((0,l.createTemplateFactory)({id:"oRp5YuxE",block:'[[[1,"\\n"],[41,[28,[32,0],[[30,0,["recommendationDrawerType"]],[30,0,["drawerType","MESSAGE"]]],null],[[[1,"      "],[8,[32,1],null,[["@vieweeProfileUrn","@vieweeName","@useAnimation"],[[30,1],[30,2],true]],null],[1,"\\n"]],[]],[[[41,[28,[32,0],[[30,0,["recommendationDrawerType"]],[30,0,["drawerType","INSTACONNECT"]]],null],[[[1,"      "],[8,[32,2],[[24,0,"artdeco-card mt2"],[4,[32,6],null,[["pageKey","routeName","currentRoute"],["flagship3_profile_discovery_drawer_pymk",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@dismissAllAltText","@cardWidth","@displayModule","@enableBackfill","@numberOfCarouselItems","@onDismiss","@reasons","@seeAllCardText","@title","@useAnimation","@useCase","@useSmallCards"],[[28,[32,3],["instaconnect_dismiss_all","profile-tetris/components/recommendation-drawer"],null],"42%","profile",false,5,[30,0,["onPromoDiscoveryDrawerDimiss"]],[28,[32,4],[[28,[32,5],null,[["reasonContext","sourceType","reasonObjects"],["PYMK_ENTITY","PYMK_ENTITY",[28,[32,4],[[30,0,["profile","instaconnectMetadata","vieweeMemberEntityUrn"]]],null]]]]],null],[28,[32,3],["instaconnect_show_all","profile-tetris/components/recommendation-drawer"],null],[28,[32,3],["instaconnect_similar_to_x","profile-tetris/components/recommendation-drawer"],[["vieweeName"],[[30,2]]]],true,"PROFILE",true]],null],[1,"\\n"]],[]],[[[41,[28,[32,0],[[30,0,["recommendationDrawerType"]],[30,0,["drawerType","PROMO_CONNECT"]]],null],[[[1,"      "],[8,[32,2],[[24,0,"artdeco-card mt2"],[4,[32,6],null,[["onRender","routeName","currentRoute"],[[30,0,["promoDrawerLegoImpressionEvent"]],[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]],[4,[32,6],null,[["pageKey","routeName","currentRoute"],["flagship3_profile_discovery_drawer_pymk",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@dismissAllAltText","@cardWidth","@displayModule","@enableBackfill","@numberOfCarouselItems","@onDismiss","@reasons","@seeAllCardText","@title","@useAnimation","@useCase","@useSmallCards"],[[28,[32,3],["instaconnect_dismiss_all","profile-tetris/components/recommendation-drawer"],null],"42%","profile",false,5,[30,0,["onPromoDiscoveryDrawerDimiss"]],[28,[32,4],[[28,[32,5],null,[["reasonContext","sourceType","reasonObjects"],["PYMK_ENTITY","PYMK_ENTITY",[28,[32,4],[[30,1]],null]]]]],null],[28,[32,3],["instaconnect_show_all","profile-tetris/components/recommendation-drawer"],null],[28,[32,3],["instaconnect_similar_to_x","profile-tetris/components/recommendation-drawer"],[["vieweeName"],[[30,2]]]],true,"PROFILE",true]],null],[1,"\\n"]],[]],[[[41,[28,[32,0],[[30,0,["recommendationDrawerType"]],[30,0,["drawerType","PROMO_FOLLOW"]]],null],[[[1,"      "],[8,[32,2],[[24,0,"artdeco-card mt2"],[4,[32,6],null,[["onRender","routeName","currentRoute"],[[30,0,["promoDrawerLegoImpressionEvent"]],[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]],[4,[32,6],null,[["pageKey","routeName","currentRoute"],["flagship3_profile_discovery_promo_drawer_follows",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@cardWidth","@displayModule","@enableBackfill","@numberOfCarouselItems","@onDismiss","@reasonObjects","@seeAllCardText","@useAnimation","@useCase","@useSmallCards"],["42%","profile",false,5,[30,0,["onPromoDiscoveryDrawerDimiss"]],[30,1],[28,[32,3],["people_follows_see_all","profile-tetris/components/recommendation-drawer"],[["vieweeName"],[[30,2]]]],true,"PEOPLE_FOLLOWS_PROFILE",true]],null],[1,"\\n"]],[]],[[[41,[28,[32,0],[[30,0,["recommendationDrawerType"]],[30,0,["drawerType","VIRAL_FOLLOW"]]],null],[[[1,"      "],[8,[32,2],[[24,0,"artdeco-card mt2"],[4,[32,6],null,[["pageKey","routeName","currentRoute"],["flagship3_profile_discovery_viral_drawer_follows",[28,[32,7],[[53,"outletState"],"render.name"],null],[28,[32,7],[[53,"outletState"],"render"],null]]]]],[["@cardWidth","@displayModule","@enableBackfill","@numberOfCarouselItems","@reasonObjects","@seeAllCardText","@useAnimation","@useCase","@useSmallCards","@onDismiss"],["42%","profile",false,5,[30,1],[28,[32,3],["people_follows_see_all","profile-tetris/components/recommendation-drawer"],[["vieweeName"],[[30,2]]]],true,"PEOPLE_FOLLOWS_PROFILE",true,[30,0,["profile","resetViralFollowDrawer"]]]],null],[1,"\\n    "]],[]],null]],[]]]],[]]]],[]]]],[]]],[1,"  "]],["@profileUrn","@vieweeName"],false,["if","-get-dynamic-var"]]',moduleName:"profile-tetris/components/recommendation-drawer.gjs",scope:()=>[u.default,g.default,m.default,f.default,h.array,h.hash,b.default,h.get],isStrictMode:!0}),(_=(0,d.inject)("lego@tracking"),y=(0,d.inject)("profile-services@profile"),v=class extends c.default{constructor(){super(...arguments);(0,t.default)(this,"legoTracking",P,this);(0,t.default)(this,"profile",E,this);(0,r.default)(this,"drawerType",a.DRAWER_TYPE)}get imPromoLegoTrackingId(){var e,t
return null===(e=this.args)||void 0===e||null===(t=e.nonTriggerDiscoveryDrawerInfo)||void 0===t?void 0:t.imPromoLegoTrackingId}get drawerUseCase(){var e,t
return null===(e=this.args)||void 0===e||null===(t=e.nonTriggerDiscoveryDrawerInfo)||void 0===t?void 0:t.useCase}get isIMPromoFollowDrawer(){return this.imPromoLegoTrackingId&&this.drawerUseCase===a.DISCOVERY_DRAWER_USE_CASE.PEOPLE_FOLLOWS_PROFILE}get recommendationDrawerType(){return(0,a.getRecommendationDrawerType)(this.profile,{isCreatorOrInfluencer:this.args.isCreatorOrInfluencer,imFollowsPromoLegoTrackingId:this.args.imFollowsPromoLegoTrackingId,shouldHideImFollow:this.args.shouldHideImFollow,nonTriggerDiscoveryDrawerInfo:this.args.nonTriggerDiscoveryDrawerInfo})}onPromoDiscoveryDrawerDimiss(){var e,t
this.isIMPromoFollowDrawer?this.legoTracking.sendLegoAction(this.imPromoLegoTrackingId,s.LEGO_ENUM_CONSTANTS.LEGO_ACTION_DISMISS,1):this.args.imFollowsPromoLegoTrackingId&&this.legoTracking.sendLegoAction(this.args.imFollowsPromoLegoTrackingId,s.LEGO_ENUM_CONSTANTS.LEGO_ACTION_DISMISS,1)
null===(e=(t=this.args).dismissImFollow)||void 0===e||e.call(t)}promoDrawerLegoImpressionEvent(){this.isIMPromoFollowDrawer?this.legoTracking.sendLegoImpression(this.imPromoLegoTrackingId,s.LEGO_ENUM_CONSTANTS.LEGO_IMPRESSION_VISIBILITY_SHOW):this.args.imFollowsPromoLegoTrackingId&&this.legoTracking.sendLegoImpression(this.args.imFollowsPromoLegoTrackingId,s.LEGO_ENUM_CONSTANTS.LEGO_IMPRESSION_VISIBILITY_SHOW)
return[]}},P=(0,i.default)(v.prototype,"legoTracking",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,i.default)(v.prototype,"profile",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,i.default)(v.prototype,"onPromoDiscoveryDrawerDimiss",[p.action],Object.getOwnPropertyDescriptor(v.prototype,"onPromoDiscoveryDrawerDimiss"),v.prototype),(0,i.default)(v.prototype,"promoDrawerLegoImpressionEvent",[p.action],Object.getOwnPropertyDescriptor(v.prototype,"promoDrawerLegoImpressionEvent"),v.prototype),v))}))
define("profile-tetris/components/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/component","@ember/utils","@ember/object","voyager-web/config/environment","interview-prep-addon/utils/constants","global-utils/utils/urn-id-helpers","interview-prep-addon/utils/utils","@ember/service","@glimmer/component","ember-cli-pemberly-i18n/helpers/t","profile-shared/components/profile-info-section","profile-shared/components/secondary-locales/update-supported-locales-section","profile-tetris-shared/components/profile-card","scaffold-skeleton/components/shared/global/ad","ads/components/ad-banner","@ember/helper","profile-loaders/components/right-rail-recs-widget","global-helpers/helpers/and","profile-browsemap-v2/components/browsemap-section","interview-prep-addon/components/lego-widget-component-yielder","global-helpers/helpers/eq","occludable-area/components/occludable-area","interview-prep-addon/components/side-rail-promo","profile-course-recommendations/components/course-recommendations","sticky/components/sticky-container","profile-tetris-shared/helpers/card-urn-to-id"],(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,C,I,S,D,R,A){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var k,L,M,F,x
const N=["product_recommenadtion","newsletter_recommendation","audio_event_recommendation","group_recommendation","learning_recommendation","page_recommendation","online_event_recommendation","company_recommendation"]
e.default=(0,n.setComponentTemplate)((0,l.createTemplateFactory)({id:"Ok5dweIN",block:'[[[1,"\\n"],[41,[30,0,["needBlankIframe"]],[[[1,"      "],[10,"iframe"],[15,"title",[28,[32,0],["blank_iframe","profile-tetris/components/right-rail"],null]],[14,"aria-hidden","true"],[14,"src","about:blank"],[14,0,"pv-right-rail__empty-iframe"],[12],[13],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,1],[[[1,"      "],[8,[32,1],null,[["@supportedLocales","@viewLocale","@primaryLocale","@editRoute","@showLanguageOnly"],[[30,2],[30,3],[30,4],[30,0,["secondaryLanguageEditRoute"]],[30,0,["showLanguageOnly"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["hasMultipleLocales"]],[[[1,"      "],[8,[32,2],[[24,0,"artdeco-card m0 mb2 p4"]],[["@supportedLocales","@viewLocale","@primaryLocale","@allowEditing","@editRoute"],[[30,2],[30,3],[30,4],false,[30,0,["secondaryLanguageEditRoute"]]]],null],[1,"\\n    "]],[]],null]],[]]],[1,"\\n"],[41,[30,0,["showTopAd"]],[[[41,[30,0,["showAdLoader"]],[[[1,"        "],[8,[32,3],[[24,0,"mb2"]],null,null],[1,"\\n"]],[]],[[[1,"        "],[8,[32,4],[[24,0,"mb2"]],[["@slotSize","@zone","@pageZone","@class","@contextualData","@vieweeMemberId"],["300x250","PROFILE","PAGE_ZONE_BODY_RIGHT","artdeco-card overflow-hidden xl",[28,[32,5],["company=",[30,0,["companyId"]]],null],[30,5]]],null],[1,"\\n"]],[]]]],[]],null],[1,"\\n"],[41,[30,0,["shouldShowTetrisBrowsemap"]],[[[41,[30,6,["isResolved"]],[[[42,[28,[31,2],[[28,[31,2],[[30,0,["rightRailCardsModel"]]],null]],null],null,[[[1,"          "],[8,[32,6],null,[["@cardModel","@showLoadingStateIfEmpty","@position"],[[30,7],false,[30,8]]],null],[1,"\\n"]],[7,8]],null],[1,"\\n"],[41,[30,0,["shouldRenderRightRailPromoOrLearningRecs"]],[[[41,[30,0,["isRightRailInterviewPrepPromoEnabled"]],[[[1,"            "],[8,[32,7],null,[["@legoConfig"],[[30,0,["rightRailPromoLegoConfig"]]]],[["default"],[[[[1,"\\n"],[41,[28,[32,8],[[30,9,["resolvedWidgetId"]],[30,0,["rightRailPromoLegoConfig","interviewPrepWidgetId"]]],null],[[[1,"                "],[8,[32,9],null,[["@occlusionEnabled","@hintClassName"],[[30,0,["isOcclusionEnabled"]],"pv-right-rail__interview-prep-promo"]],[["default"],[[[[1,"\\n                  "],[8,[32,10],[[24,0,"mv2"]],[["@segmentedEntryPointContext"],[[30,0,["segmentedEntryPointContext"]]]],null],[1,"\\n                "]],[]]]]],[1,"\\n"]],[]],[[[41,[28,[32,11],[[30,10,["elements"]],[28,[32,8],[[30,9,["resolvedWidgetId"]],[30,0,["rightRailPromoLegoConfig","courseRecommendationsWidgetId"]]],null]],null],[[[1,"                "],[8,[32,9],null,[["@occlusionEnabled","@hintClassName"],[[30,0,["isOcclusionEnabled"]],"pv-right-rail__course-recommendations"]],[["default"],[[[[1,"\\n                  "],[8,[32,12],null,[["@learningRecommendations","@vieweeId","@isSelfView"],[[30,10],[30,11],[30,1]]],null],[1,"\\n                "]],[]]]]],[1,"\\n              "]],[]],null]],[]]],[1,"            "]],[9]]]]],[1,"\\n"]],[]],[[[41,[30,0,["showLearningRecommendations"]],[[[1,"            "],[8,[32,9],null,[["@occlusionEnabled","@hintClassName"],[[30,0,["isOcclusionEnabled"]],"pv-right-rail__course-recommendations"]],[["default"],[[[[1,"\\n              "],[8,[32,12],null,[["@learningRecommendations","@vieweeId","@isSelfView"],[[30,10],[30,11],[30,1]]],null],[1,"\\n            "]],[]]]]],[1,"\\n          "]],[]],null]],[]]]],[]],null]],[]],[[[41,[30,6,["isPending"]],[[[1,"        "],[8,[32,13],[[24,0,"mb2 mt0"]],null,null],[1,"\\n      "]],[]],null]],[]]]],[]],[[[41,[30,12,["isResolved"]],[[[41,[28,[32,11],[[30,0,["hasProfilePAV"]],[30,13]],null],[[[1,"          "],[8,[32,14],null,[["@browsemapProfiles","@browsemapOwnerMemberUrn","@isShorterView"],[[30,12,["value"]],[30,13],[30,0,["isShorterView"]]]],null],[1,"\\n"]],[]],null]],[]],[[[41,[30,12,["isPending"]],[[[1,"        "],[8,[32,13],[[24,0,"mb2 mt0"]],null,null],[1,"\\n      "]],[]],null]],[]]]],[]]],[1,"\\n"],[41,[30,0,["show2ndAd"]],[[[41,[30,0,["showAdLoader"]],[[[1,"        "],[8,[32,3],[[24,0,"mt1"]],null,null],[1,"\\n"]],[]],[[[1,"        "],[10,0],[14,0,"mt2"],[12],[1,"\\n          "],[8,[32,15],null,[["@shouldSetChildDimensions"],[false]],[["default"],[[[[1,"\\n            "],[10,0],[14,0,"pv-right-rail__sticky-ad-banner"],[12],[1,"\\n              "],[8,[32,4],null,[["@slotSize","@zone","@pageZone","@vieweeMemberId","@class"],["300x250","PROFILE","PAGE_ZONE_BODY_RIGHT",[30,5],"artdeco-card overflow-hidden"]],null],[1,"\\n            "],[13],[1,"\\n          "]],[]]]]],[1,"\\n        "],[13],[1,"\\n"]],[]]]],[]],null],[1,"  "]],["@isSelfView","@supportedLocales","@viewLocale","@primaryLocale","@profileId","@rightRailCardsTrackedPromise","card","index","legoData","@learningRecommendations","@vanityName","@profileBrowsemapPromise","@memberUrn"],false,["if","each","-track-array"]]',moduleName:"profile-tetris/components/right-rail.gjs",scope:()=>[h.default,b.default,g.default,y.default,v.default,P.concat,_.default,O.default,C.default,I.default,S.default,w.default,D.default,E.default,T.default,R.default],isStrictMode:!0}),(k=(0,m.inject)("locale"),L=(0,m.inject)("client-sensor-web@client-sensor"),M=class extends f.default{constructor(){super(...arguments);(0,t.default)(this,"localeService",F,this);(0,t.default)(this,"clientSensor",x,this);(0,r.default)(this,"isOcclusionEnabled","test"!==p.default.environment);(0,r.default)(this,"rightRailPromoLegoConfig",d.INTERVIEW_PREP_PROFILE_RIGHT_RAIL_PROMO_LEGO_CONFIG);(0,r.default)(this,"segmentedEntryPointContext",d.SEGMENTED_ENTRY_POINT_CONTEXTS.PROFILE_RIGHT_RAIL_DESKTOP)}get shouldRenderRightRailPromoOrLearningRecs(){return!this.rightRailCardsModel.some((e=>{const t=(0,A.getCardIdFromEntityUrn)([(0,s.get)(e,"entityUrn")])
return N.includes(t)}))}get isRightRailInterviewPrepPromoEnabled(){return this.args.showRightRailPromo&&(0,u.isInterviewPrepEnabled)(this.localeService,this.clientSensor)}get rightRailCardsModel(){var e
return null!==(e=this.args.rightRailCardsTrackedPromise)&&void 0!==e&&e.isResolved?(0,s.get)(this.args.rightRailCardsTrackedPromise.value,"data.identityDashProfileCardsByWidgetRecommendations.elements"):null}get isNotSelfViewAndNotMultipleLocales(){return!this.args.isSelfView&&!this.hasMultipleLocales}get shouldShowTetrisBrowsemap(){return"PROFILE_PAGE"===this.args.context}get showLanguageOnly(){return"PROFILE_DETAIL_PAGE"===this.args.context}get hasMultipleLocales(){var e
return(null===(e=this.args.supportedLocales)||void 0===e?void 0:e.length)>1}get browsemapWidgetCardModel(){var e,t
return null!==(e=this.args.browsemapCardTrackedPromise)&&void 0!==e&&e.isResolved?null===(t=(0,s.get)(this.args.browsemapCardTrackedPromise.value,"data.identityDashProfileCardsByWidgetRecommendations.elements"))||void 0===t?void 0:t[0]:null}get pymkWidgetCardModel(){var e
return null!==(e=this.args.pymkCardTrackedPromise)&&void 0!==e&&e.isResolved?(0,s.get)(this.args.pymkCardTrackedPromise.value,"data.identityDashProfileCardsByWidgetRecommendations.elements")[0]:{}}get productWidgetCardModel(){var e
return null!==(e=this.args.productRecsCardTrackedPromise)&&void 0!==e&&e.isResolved?(0,s.get)(this.args.productRecsCardTrackedPromise.value,"data.identityDashProfileCardsByWidgetRecommendations.elements")[0]:{}}get companyId(){return this.args.companyUrn?(0,c.extractUrnParts)(this.args.companyUrn)[1]:""}get hasProfilePAV(){const{args:{profileBrowsemapPromise:e}}=this
return!(null==e||!e.isResolved||!e.value)&&(0,s.get)(e.value,"elements").length>0}get hasTetrisProfileBrowsemap(){var e
return this.browsemapWidgetCardModel&&(null===(e=(0,s.get)(this.browsemapWidgetCardModel,"topComponents"))||void 0===e?void 0:e.length)>0}get hasTetrisProfilePYMK(){var e
return this.pymkWidgetCardModel&&(null===(e=(0,s.get)(this.pymkWidgetCardModel,"topComponents"))||void 0===e?void 0:e.length)>0}get hasProductRecs(){var e
return this.productWidgetCardModel&&(null===(e=(0,s.get)(this.productWidgetCardModel,"topComponents"))||void 0===e?void 0:e.length)>0}get isShorterView(){return"PROFILE_DETAIL_PAGE"===this.args.context||this.hasTetrisProfileBrowsemap}get showTopAd(){return"PROFILE_PAGE"===this.args.context||"PROFILE_DETAIL_PAGE"===this.args.context}get showAdLoader(){return!this.args.companyUrnLoaded}get show2ndAd(){return"PROFILE_PAGE"===this.args.context||"PROFILE_DETAIL_PAGE"===this.args.context}get secondaryLanguageEditRoute(){return"PROFILE_DETAIL_PAGE"===this.args.context?"detail-profile-edit.secondary-language":"profile-edit.secondary-language"}get needBlankIframe(){return this.args.isSelfView&&"PROFILE_PAGE"===this.args.context}get showLearningRecommendations(){return this.args.learningRecommendations&&!(0,a.isEmpty)((0,s.get)(this.args.learningRecommendations,"elements"))}},F=(0,i.default)(M.prototype,"localeService",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),x=(0,i.default)(M.prototype,"clientSensor",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),M))}))
define.alias("helpcenter-in-product-ember/components/search-bar","profile-tetris/components/search-bar")
define.alias("helpcenter-in-product-ember/components/search-results-list","profile-tetris/components/search-results-list")
define.alias("ember-finite-scroll/components/sentinel","profile-tetris/components/sentinel")
define.alias("ember-cloud-filepicker/components/slideshare-file-picker","profile-tetris/components/slideshare-file-picker")
define("profile-tetris/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("profile-tetris/components/sticky-header-cta",["exports","@ember/template-factory","@ember/component/template-only","@ember/component","profile-actions-v2/components/profile-page/sticky-header-profile-actions","profile-goals/components/profile-hub","global-helpers/helpers/and","profile-top-card/components/add-goals"],(function(e,t,r,i,o,l,n,a){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
const s=(0,i.setComponentTemplate)((0,t.createTemplateFactory)({id:"Ir/uu4ok",block:'[[[1,"\\n"],[1,"  "],[10,0],[14,0,"display-flex inline-flex"],[12],[1,"\\n"],[41,[30,1],[[[1,"      "],[8,[32,0],null,[["@profileActions","@customAction","@dashProfile","@source"],[[30,1],[30,2],[30,3],[30,4]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,5],[[[1,"      "],[8,[32,1],null,[["@profileGoals"],[[30,6]]],null],[1,"\\n"]],[]],null],[1,"\\n"],[41,[28,[32,2],[[30,7,["elements","length"]],[30,5]],null],[[[1,"      "],[8,[32,3],null,[["@opportunitiesGoals","@vieweeUrn","@justification","@triggerId"],[[30,7],[30,3,["entityUrn"]],[52,[30,8],"right"],"sticky-header-cta-add-goals-trigger"]],null],[1,"\\n"]],[]],null],[1,"  "],[13],[1,"\\n"]],["@profileActions","@customAction","@dashMember","@source","@isSelfView","@profileGoals","@opportunitiesGoals","@showOnlyOneCTA"],false,["if"]]',moduleName:"profile-tetris/components/sticky-header-cta.gjs",scope:()=>[o.default,l.default,n.default,a.default],isStrictMode:!0}),(0,r.default)("sticky-header-cta","StickyHeaderCta"))
e.default=s}))
define("profile-tetris/config/environment",["exports"],(function(e){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
let t
try{const e="profile-tetris/config/environment",r=document.querySelector('meta[name="'+e+'"]').getAttribute("content")
t=JSON.parse(unescape(r))}catch(e){t={sparkPlaceholders:{includeHashes:["assets/media-player.amd.js"]}}}e.default=t}))
define("profile-tetris/controllers/common",["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","profile-locale-helpers/utils/secondary-locale-helpers","@ember/object","@ember/service","profile-tetris-shared/helpers/card-urn-to-id"],(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
e.default=(c=(0,p.inject)("locale"),u=class extends l.default{constructor(){super(...arguments);(0,r.default)(this,"queryParams",[{viewLocale:"locale"},"miniProfileUrn","sectionType","profileId","trkCode","trk"]);(0,t.default)(this,"localeService",m,this);(0,t.default)(this,"viewLocale",f,this);(0,t.default)(this,"miniProfileUrn",h,this)}get viewingLocale(){return(0,a.getViewingLocale)((0,s.get)(this,"model.isSelfView"),this.viewLocale,this.localeService.interfaceLocale)}get cardIdForScroll(){return(0,d.getCardIdFromEntityUrn)([`urn:li:fsd_profileCard:(${this.profileId??""},${this.sectionType??""},${this.viewLocale??""})`])}},m=(0,i.default)(u.prototype,"localeService",[c],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.default)(u.prototype,"viewLocale",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),h=(0,i.default)(u.prototype,"miniProfileUrn",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return null}}),u)}))
define("profile-tetris/controllers/common/cover-story",["exports","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/controller","@ember/object"],(function(e,t,r,i,o){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
var l
e.default=(l=class extends i.default{constructor(){super(...arguments);(0,t.default)(this,"queryParams",["enableAutoPlayWithoutMute"])}onClose(){this.transitionToRoute("common.profile")}},(0,r.default)(l.prototype,"onClose",[o.action],Object.getOwnPropertyDescriptor(l.prototype,"onClose"),l.prototype),l)}))
define("profile-tetris/controllers/common/debug",["exports","@babel/runtime/helpers/esm/defineProperty","@ember/controller","profile-tetris/controllers/common/debug/component"],(function(e,t,r,i){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=void 0
class o extends r.default{constructor(){super(...arguments);(0,t.default)(this,"supportedComponents",Object.keys(i.DEBUG_CONFIG))}}e.default=o}))
define("profile-tetris/controllers/common/debug/builder",["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","@ember/object","profile-tetris/controllers/common/debug/component","ember-lifeline"],(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
const h=function(){const e=Object.keys(s.DEBUG_CONFIG).reduce(((e,t)=>{e[t]=JSON.parse(JSON.stringify((0,a.get)(s.DEBUG_CONFIG,`${t}.defaultData`)))
return e}),{})
e.entityComponent.subComponents.components=[]
delete e.entityComponent.subComponents.numInitialComponentsToShow
delete e.headerComponent.inlineCallout
e.tabComponent.sections.forEach((e=>{e.subComponent={}}))
e.carouselComponent.components=[]
delete e.carouselComponent.endCardAction
e.fixedListComponent.components=[]
delete e.fixedListComponent.footerAction
delete e.fixedListComponent.numInitialComponentsToShow
e.pagedListComponent.components.elements=[]
return e}(),b={entityUrn:"urn:li:fsd_profileCard:(id,section,locale)",topComponents:[],subComponents:[]},g=["topComponents","subComponents"],_=Object.keys(h),y=0,v=1,P=2,E={entityComponent:[{path:"subComponents.components",type:y}],pagedListComponent:[{path:"components.elements",type:y}],fixedListComponent:[{path:"components",type:y}],carouselComponent:[{path:"components",type:y}],tabComponent:[{path:"sections",type:P,nestedData:[{path:"subComponent",type:v}]}]}
e.default=(d=class extends l.default{constructor(){super(...arguments);(0,t.default)(this,"stringValue",c,this);(0,t.default)(this,"errorMessage",u,this);(0,t.default)(this,"renderData",m,this);(0,t.default)(this,"showComponentTree",f,this);(0,r.default)(this,"dropdownComponents",_);(0,r.default)(this,"addLevelDropdownValue",this.levelDropdownData[0]);(0,r.default)(this,"addComponentDropdownValue",this.dropdownComponents[0])}get componentTree(){const e=JSON.parse(this.stringValue),t={}
g.forEach((r=>{t[r]=e[r].map((e=>this._getComponentTree(e)))}))
return t}get componentTreeString(){return JSON.stringify(this.componentTree,null,2)}get levelDropdownData(){const e=["topComponents","subComponents"]
g.forEach((t=>{e.push(...this._getDropdownDataForArray(this.componentTree[t],t))}))
return e}setValue(e){try{JSON.parse(e.target.value)
this.errorMessage=""}catch(e){this.errorMessage=e.message}this.stringValue=e.target.value}toggleShowComponentTree(){this.showComponentTree=!this.showComponentTree}parseAndRender(){try{const e=JSON.parse(this.stringValue)
if(Array.isArray(e))throw new Error("JSON input expected to be an object")
this.renderData=void 0;(0,p.scheduleTask)(this,"render",(()=>{this.renderData=e}))
this.errorMessage=""}catch(e){this.errorMessage=e.message
this.renderData=null}}addComponent(){const e=JSON.parse(this.stringValue),t=this.addLevelDropdownValue.split("."),r=t.reduce(((e,t)=>{const r=parseInt(t,10)
return isNaN(r)?_.indexOf(t)>=0?e.components[t]:(0,a.get)(e,t):e[r]}),(0,a.get)(e,t.shift())),i=this._getComponentData()
Array.isArray(r)?r.push(i):Object.assign(r,i)
this.stringValue=JSON.stringify(e,null,2)
this.parseAndRender()}_getDropdownDataForArray(e,t){const r=[]
e.forEach(((e,i)=>{"object"==typeof e&&r.push(...this._getDropdownDataForObj(e,`${t}.${i}`))}))
return r}_getDropdownDataForObj(e,t){const r=[],i=Object.keys(E).find((t=>!!(0,a.get)(e,t)))
if(i){E[i].forEach((o=>{const l=e[i]
r.push(...this._getDropdownDataForRecursiveObj(o,l,`${t}.${i}`))}))}return r}_getDropdownDataForRecursiveObj(e,t,r){const i=[],o=t[e.path],l=`${r}.${e.path}`
switch(e.type){case y:i.push(l)
i.push(...this._getDropdownDataForArray(o,l))
break
case v:0===Object.keys(o).length?i.push(l):i.push(...this._getDropdownDataForObj(o,l))
break
case P:o.forEach(((t,r)=>{e.nestedData.forEach((e=>{i.push(...this._getDropdownDataForRecursiveObj(e,t,`${l}.${r}`))}))}))}return i}_getComponentData(){const{addComponentDropdownValue:e}=this
return{components:{[e]:(0,a.get)(h,e)},useCardStyling:!1}}_getComponentTree(e){const t=function(e){return _.find((t=>!!(0,a.get)(e,`components.${t}`)))}(e),r=E[t]
if(!r)return t
const i={}
r.forEach((r=>{Object.assign(i,this._getRecursiveTree(r,(0,a.get)(e,`components.${t}`)))}))
return Object.keys(i).length?{[t]:i}:t}_getRecursiveTree(e,t){const r=(0,a.get)(t,e.path)
switch(e.type){case y:return r?{[e.path]:r.map((e=>this._getComponentTree(e)))}:{}
case v:return 0===Object.keys(r).length?{[e.path]:{}}:{[e.path]:this._getComponentTree(r)}
case P:return r?{[e.path]:r.map((t=>{const r={}
e.nestedData.forEach((e=>Object.assign(r,this._getRecursiveTree(e,t))))
return r}))}:{}
default:return{}}}},c=(0,i.default)(d.prototype,"stringValue",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return JSON.stringify(b,null,2)}}),u=(0,i.default)(d.prototype,"errorMessage",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),m=(0,i.default)(d.prototype,"renderData",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),f=(0,i.default)(d.prototype,"showComponentTree",[n.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,i.default)(d.prototype,"setValue",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"setValue"),d.prototype),(0,i.default)(d.prototype,"toggleShowComponentTree",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"toggleShowComponentTree"),d.prototype),(0,i.default)(d.prototype,"parseAndRender",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"parseAndRender"),d.prototype),(0,i.default)(d.prototype,"addComponent",[a.action],Object.getOwnPropertyDescriptor(d.prototype,"addComponent"),d.prototype),d)}))
define("profile-tetris/controllers/common/debug/component",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/controller","tracked-toolbox","@ember/object","ember-lifeline","profile-tetris/utils/debug/mocks"],(function(e,t,r,i,o,l,n,a,s,p){"use strict"
Object.defineProperty(e,"__esModule",{value:!0})
e.default=e.DEBUG_CONFIG=void 0
var d,c,u,m,f,h,b
const g=e.DEBUG_CONFIG={actionComponent:{header:"ActionComponent",description:"A component that represents an action (including the corresponding view). See actionUnion in the model for a list of supported actions. This same action + view model is used throughout Tetris.",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=ActionComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol",defaultData:p.default.ActionComponent.modalAction},textComponent:{header:"TextComponent",description:'A component for rendering text. Supports text truncation (with "...see more") based on number of lines along with additional padding.',pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=TextComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol",defaultData:p.default.textComponent({text:"Custom text here",padded:!0})},promptComponent:{header:"PromptComponent",description:"A component for rendering a prompt for users to complete a task.",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol&name=PromptComponent.pdl",defaultData:p.default.PromptComponent},entityComponent:{header:"EntityComponent",description:"A component for rendering an entity.",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=EntityComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#EntityComponent",defaultData:p.default.EntityComponent},headerComponent:{header:"HeaderComponent",description:"A component for rendering a header. Supports an inline callout above the header.",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=HeaderComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#HeaderComponent",defaultData:p.default.HeaderComponent},entityPileComponent:{header:"EntityPileComponent",description:"A component for rendering an entity pile. The example shown here is of a ThumbnailEntityPile (entity pile of thumbnails), but this component also supports a plain image (through ImageViewModel)",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=EntityPileComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#EntityPileComponent",defaultData:p.default.EntityPileComponent},tabComponent:{header:"TabComponent",description:"A component for rendering tabs. The labels here can also be rendered as pills.",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=TabComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#TabComponent",defaultData:p.default.TabComponent},mediaComponent:{header:"MediaComponent",description:"A component for rendering a media thumbnail",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=MediaComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#MediaComponent",defaultData:p.default.MediaComponent},carouselComponent:{header:"CarouselComponent",description:"A component for rendering a carousel of items",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=CarouselComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#CarouselComponent",defaultData:p.default.CarouselComponent},insightComponent:{header:"InsightComponent",description:"A component for rendering an insight, which is currently an image with center-aligned text to its right",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=InsightComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#InsightComponent",defaultData:p.default.InsightComponent},completionMeterComponent:{header:"CompletionMeterComponent",description:"A component for rendering a completion meter",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=CompletionMeterComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2Ftetris&reponame=multiproduct%2Fvoyager-protocol#CompletionMeterComponent",defaultData:p.default.CompletionMeterComponent},emptyStateComponent:{header:"EmptyStateComponent",description:"A component for rendering an empty state",pdlLink:"https://jarvis.corp.linkedin.com/codesearch/result/?name=EmptyStateComponent.pdl&path=voyager-protocol%2Fidentity-dash-data-template%2Fsrc%2Fmain%2Fpegasus%2Fcom%2Flinkedin%2Fvoyager%2Fdash%2Fidentity%2Fprofile%2