e=this.args.conversation.hostConversationActions)||void 0===e?void 0:e.includes("SHOULD_DISPLAY_PREMIUM_BRANDING")}get viewData(){const{conversation:e}=this.args return new l.default({conversation:e,mailboxParticipants:this.msgDataManager.mailboxParticipants,msgDataManager:this.msgDataManager,formatter:this.formatter,i18n:this.i18n,authenticatedUser:this.authenticatedUser,identityStore:this.identityStore,invitationPlatform:this.invitationPlatform,presenceAPI:this.presenceAPI})}},q=(0,n.default)(H.prototype,"a11yNotification",[R],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),W=(0,n.default)(H.prototype,"i18n",[U],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),K=(0,n.default)(H.prototype,"authenticatedUser",[N],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Y=(0,n.default)(H.prototype,"tracking",[j],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),$=(0,n.default)(H.prototype,"msgDataManager",[F],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Q=(0,n.default)(H.prototype,"fifClientManager",[z],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),J=(0,n.default)(H.prototype,"formatter",[L],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),X=(0,n.default)(H.prototype,"invitationPlatform",[G],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),Z=(0,n.default)(H.prototype,"identityStore",[B],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ee=(0,n.default)(H.prototype,"presenceAPI",[V],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),te=(0,n.default)(H.prototype,"currentlyViewedImageAttachment",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),ie=(0,n.default)(H.prototype,"widgetGroupId",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return O.MESSAGING_MARK_AS_JOB_GROUP_ID}}),ne=(0,n.default)(H.prototype,"widgetId",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return O.MESSAGING_MARK_AS_JOB_WIDGET_1_ID}}),se=(0,n.default)(H.prototype,"hasFif",[o.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(H.prototype,"onEmojiHoverableShow",[m.action],Object.getOwnPropertyDescriptor(H.prototype,"onEmojiHoverableShow"),H.prototype),(0,n.default)(H.prototype,"handleUpdating",[m.action],Object.getOwnPropertyDescriptor(H.prototype,"handleUpdating"),H.prototype),(0,n.default)(H.prototype,"onEmojiHoverableHide",[m.action],Object.getOwnPropertyDescriptor(H.prototype,"onEmojiHoverableHide"),H.prototype),(0,n.default)(H.prototype,"dismissImageAttachmentViewer",[m.action],Object.getOwnPropertyDescriptor(H.prototype,"dismissImageAttachmentViewer"),H.prototype),H))})) define("msg-ui/components/message-list-scroller",["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","msg-data/utils/sdk-view-data-helpers","msg-ui/utils/msg-anchoring-helpers","ember-batcher","global-utils/utils/is-browser","global-utils/utils/intersection-observer","global-utils/utils/scroller","msg-shared/utils/constants","rsvp","@ember/service","@glimmer/tracking","@ember/object","@glimmer/component","@ember/render-modifiers/modifiers/did-insert","@ember/render-modifiers/modifiers/did-update","@ember/helper","@ember/object/internals"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f,b,y,v,_,w,M){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var k,T,D,S,x,C,P,I,E,A,O,R,U,N,j,F const{MESSAGE_LIST_SCROLLBLOCK_THRESHOLD:z}=p.default e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"Q0j7CWI+",block:'[[[1,"\\n "],[11,0],[16,0,[29,["msg-s-message-list-container relative display-flex mbA\\n ",[52,[51,[30,0,["shouldScrollFromTop"]]],"msg-s-message-list-container--column-reversed"],"\\n ",[52,[30,1],"message-list-container--collapsed"]]]],[4,[32,0],[[30,0,["handleContainerInsert"]]],null],[4,[32,1],[[30,0,["handleConversationUpdate"]],[30,2,["entityUrn"]]],null],[4,[32,1],[[30,0,["handleLatestEventChange"]],[30,2,["latestEvent"]]],null],[12],[1,"\\n "],[18,3,[[28,[32,2],null,[["props","actions"],[[28,[32,2],null,[["hasMoreMessagesToLoad","isLoading","hasNewMessages","scrollingPastThreshold","messageIndexToBeAnchored","msgListIdToScroll"],[[30,0,["hasMoreMessagesToLoad"]],[30,0,["isLoading"]],[30,0,["hasNewMessages"]],[30,0,["scrollingPastThreshold"]],[30,0,["messageIndexToBeAnchored"]],[30,0,["msgListId"]]]]],[28,[32,2],null,[["scrollToNewMessages"],[[30,0,["scrollToNewMessages"]]]]]]]]]],[1,"\\n "],[13],[1,"\\n "]],["@composeIsFullyExpanded","@conversation","&default"],false,["unless","if","yield"]]',moduleName:"msg-ui/components/message-list-scroller.gjs",scope:()=>[v.default,_.default,w.hash],isStrictMode:!0}),(k=(0,h.inject)("i18n"),T=(0,h.inject)("global-services@a11y-notification"),D=(0,h.inject)("authentication@authenticated-user"),S=(0,h.inject)("client-sensor-web@client-sensor"),x=(0,h.inject)("msg-data@data-manager"),C=class extends y.default{get hasNewMessages(){var e const t=this.args.conversation.messages.last() if(!t)return!1 return(null===(e=this.authenticatedUser.miniProfile)||void 0===e?void 0:e.dashEntityUrn)!==t.senderUrn&&t.deliveredAt>this._lastLeftScrollAreaBottomAt&&0!==this._lastLeftScrollAreaBottomAt}get shouldScrollFromTop(){const{conversation:e}=this.args return(0,o.messageHasInMailHostUrnData)(e.messages.first())&&1===e.messages.length}constructor(){super(...arguments);(0,t.default)(this,"i18n",P,this);(0,t.default)(this,"a11yNotification",I,this);(0,t.default)(this,"authenticatedUser",E,this);(0,t.default)(this,"clientSensor",A,this);(0,t.default)(this,"msgDataManager",O,this);(0,t.default)(this,"isLoading",R,this);(0,t.default)(this,"messageIndexToBeAnchored",U,this);(0,t.default)(this,"scrollingPastThreshold",N,this);(0,t.default)(this,"_lastLeftScrollAreaBottomAt",j,this);(0,i.default)(this,"_previousLatestEvent",null);(0,t.default)(this,"hasMoreMessagesToLoad",F,this);(0,i.default)(this,"msgListId",(0,M.guidFor)(this)) this.handleConversationUpdate() c.default&&(this._isSafari=/^((?!chrome).)*safari/i.test(window.navigator.userAgent))}handleConversationUpdate(){this.hasMoreMessagesToLoad=!0 const e=this.msgDataManager.initialConversationActivateRequestsMap.get(this.args.conversation.entityUrn) if(e)e.finally((()=>{if(!this.isDestroying){this.messageIndexToBeAnchored=this._getAnchoredMessageIndex() this.isLoading=!1 this.hasMoreMessagesToLoad=!this.args.conversation.status.fullyLoaded this.scrollingElement&&this._reconnectIntersectionObserver()}})) else{this.isLoading=!1 this.scrollingElement&&this._reconnectIntersectionObserver()}}handleLatestEventChange(){const{latestEvent:e}=this.args if(e&&e!==this._previousLatestEvent){var t this.messageIndexToBeAnchored=this._getAnchoredMessageIndex() if((this.authenticatedUser.miniProfile.dashEntityUrn===(null===(t=this.msgDataManager.latestEvent)||void 0===t?void 0:t.senderUrn)||!this.scrollingPastThreshold)&&this.scrollingElement){this._isSafari&&this.scrollingElement.classList.add("msg-s-message-list--hide-scrollbar");(0,d.mutateDOM)((()=>{this.scrollToNewMessages() this._isSafari&&this.scrollingElement.classList.remove("msg-s-message-list--hide-scrollbar")}))}}this._previousLatestEvent=e}handleContainerInsert(e){this.scrollingElement=e.querySelector(".msg-s-message-list") this.scrollingElementContainer=e.querySelector(".msg-s-message-list-container") if(c.default){this._bottomIntersectionObserver=new u.default((e=>{e.forEach((e=>{if(1===e.intersectionRatio)this.scrollingPastThreshold=!1 else if(!this.shouldScrollFromTop){this._lastLeftScrollAreaBottomAt=Date.now() this.scrollingPastThreshold=!0}}))}),{root:this.scrollingElementContainer,rootMargin:`0px 0px ${z}px 0px`}) this._bottomIntersectionObserver.observe(e.querySelector(".msg-s-message-list__bottom-of-list"))}}willDestroy(){var e,t super.willDestroy(...arguments) null===(e=this._bottomIntersectionObserver)||void 0===e||e.disconnect() null===(t=this._topIntersectionObserver)||void 0===t||t.disconnect()}loadMore(){const{conversation:e}=this.args if(this.isLoading||!this.hasMoreMessagesToLoad)return(0,g.resolve)([]) this.isLoading=!0 return this.msgDataManager.loadMoreMessages(e.entityUrn).then((t=>{if(this.isDestroying)return(0,g.resolve)([]) this.hasMoreMessagesToLoad=!e.status.fullyLoaded 0===t&&(this.hasMoreMessagesToLoad=!1) this.messageIndexToBeAnchored&&(this.messageIndexToBeAnchored=this._getAnchoredMessageIndex()) const i=this.i18n.lookupTranslation("components/msg-ui@i18n-shared","i18n_a11y_infinite_scroll_messages") this.a11yNotification.setTextInLiveRegion(i([{newRecordCount:t}])) return t})).finally((()=>{this.isDestroying||(this.isLoading=!1)}))}_reconnectIntersectionObserver(){this._topIntersectionObserver&&this._topIntersectionObserver.disconnect() this._topIntersectionObserver=new u.default((e=>{e.forEach((e=>{if(1===e.intersectionRatio){var t null!==(t=this.args.conversation.messages)&&void 0!==t&&t.length&&this.loadMore()}}))}),{root:this.scrollingElementContainer,rootMargin:"250px 0px 0px 0px"}) this._topIntersectionObserver.observe(this.scrollingElement.querySelector(".msg-s-message-list__top-of-list"))}scrollToNewMessages(){if(this.isDestroying)return m.default.scrollTo(this.scrollingElement,{animate:!0,top:0}) const e=document.querySelector(`.msg-s-message-list__last-msg-${this.msgListId} .msg-s-event-listitem__message-bubble`) e&&(0,d.mutateDOM)((()=>e.focus()))}_getAnchoredMessageIndex(){var e,t const{conversation:i}=this.args,n=i.lastReadAt,s=null===(e=i.messages.first())||void 0===e?void 0:e.deliveredAt,a=null===(t=i.messages.last())||void 0===t?void 0:t.deliveredAt,r=!!n&&n>=s !r&&n&&this.clientSensor.incrementMetricCounter({groupName:"messaging",metricName:"anchoring-EV-unread"}) if(!this.isDestroying&&r&&n[a.default,r.on,o.default],isStrictMode:!0}),(0,n.default)("message-request-list-header-presenter","MessageRequestListHeaderPresenter")) e.default=l})) define("msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","tracked-toolbox","form-builder-v2/utils/dash-form-utils-v2","msg-ui/utils/messaging-gai/messaging-gai-constants","profile-shared/utils/tetris-api-helpers","@ember/service","@glimmer/component","@glimmer/tracking","@ember/object","ember-cli-pemberly-tracking/modifiers/track-render","artdeco-button/components/artdeco-button","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-interaction","artdeco-modal/components/artdeco-modal","form-builder-v2/components/dash-form-section","@ember/modifier"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f,b,y,v,_,w,M){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var k,T,D,S,x,C,P,I,E,A,O,R e.default=(0,o.setComponentTemplate)((0,a.createTemplateFactory)({id:"lt5j86KX",block:'[[[1,"\\n"],[1," "],[11,0],[16,0,[29,["msg-ui-gai-draft-intents-feedback-panel__container\\n ",[52,[30,1],"msg-ui-gai-draft-intents-feedback-panel__container--with-gai-perm-entry"],"\\n flex-grow-1"]]],[17,2],[4,[32,0],["click",[30,0,["trapEvent"]]],null],[4,[32,1],null,[["pageKey","routeName","currentRoute"],["flagship3_messaging_gai_compose_feedback",[28,[32,2],[[53,"outletState"],"render.name"],null],[28,[32,2],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n\\n"],[41,[30,1],[[[41,[30,3],[[[1," "],[8,[32,3],[[16,"aria-label",[28,[32,4],["i18n_undo_refinement","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null]],[4,[32,0],["click",[30,4]],null]],[["@class","@size","@text","@type","@icon","@color"],[[29,["text-body-small t-black--light\\n ",[52,[30,1],"mr2"]]],2,[28,[32,4],["i18n_undo","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null],"tertiary","undo","muted"]],null],[1,"\\n"]],[]],[[[1," "],[10,0],[12],[13],[1,"\\n"]],[]]]],[]],[[[41,[30,5],[[[1," "],[8,[32,3],[[16,"aria-label",[28,[32,4],["i18n_refresh_draft","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null]],[4,[32,0],["click",[30,6]],null],[4,[32,5],[[30,0,["refreshInteractionTrackingName"]]],null]],[["@class","@size","@text","@type","@icon","@color"],[[29,["text-body-small t-black--light ",[52,[30,1],"mr2"]]],2,[28,[32,4],["i18n_refresh","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null],"tertiary","refresh","muted"]],null],[1,"\\n"]],[]],null]],[]]],[1,"\\n "],[10,1],[14,0,"msg-ui-gai-draft-intents-feedback-panel__buttons"],[12],[1,"\\n"],[41,[30,7],[[[1," "],[8,[32,3],[[4,[32,0],["click",[30,0,["markFeedbackAsGood"]]],null],[4,[32,5],["messaging_gai_generated_suggestion_feedback_thumbs_up"],null]],[["@class","@icon","@aria-label","@circle","@color","@type","@size"],["msg-ui-gai-draft-intents-feedback-panel__button","thumbs-up-outline",[28,[32,4],["i18n_good_feedback","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null],true,"muted","tertiary","1"]],null],[1,"\\n "],[8,[32,3],[[24,"data-js-gai-draft-intents-feedback-panel__dislike-button",""],[4,[32,0],["click",[30,0,["markFeedbackAsBad"]]],null],[4,[32,5],["messaging_gai_generated_suggestion_feedback_thumbs_down"],null]],[["@class","@icon","@aria-label","@circle","@color","@type","@size"],["msg-ui-gai-draft-intents-feedback-panel__button","thumbs-down-outline",[28,[32,4],["i18n_bad_feedback","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null],true,"muted","tertiary","1"]],null],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "],[13],[1,"\\n "],[8,[32,6],null,[["@isOpen","@dismissModal","@headerId","@size","@returnFocusTo"],[[30,0,["isFeedbackCollectionModalOpen"]],[30,0,["dismissFeedbackCollectionModal"]],"generated-suggestion-feedback-panel-modal__header","small",[52,[30,7],"[data-js-gai-draft-intents-feedback-panel__dislike-button]",[30,8]]]],[["default"],[[[[1,"\\n "],[8,[30,9,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h2"],[14,1,"generated-suggestion-feedback-panel-modal__header"],[12],[1,"\\n "],[1,[28,[32,4],["i18n_feedback_modal_header","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,9,["artdeco-modal-content"]],null,null,[["default"],[[[[1,"\\n "],[10,"h3"],[14,0,"t-16"],[12],[1,[28,[32,4],["i18n_feedback_collection_title","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null]],[13],[1,"\\n "],[8,[32,7],null,[["@viewModel"],[[30,0,["feedbackFormSectionViewModel"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,9,["artdeco-modal-footer"]],[[24,0,"text-align-right"]],null,[["default"],[[[[1,"\\n"],[41,[30,0,["feedbackFormData","showSecondaryCta"]],[[[1," "],[8,[32,3],[[4,[32,0],["click",[30,0,["dismissFeedbackCollectionModal"]]],null],[4,[32,5],["messaging_gai_generated_suggestion_feedback_cancel_feedback_submission"],null]],[["@text","@type","@color"],[[28,[32,4],["i18n_cancel","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null],"secondary","muted"]],null],[1,"\\n"]],[]],null],[41,[30,0,["feedbackFormData","showPrimaryCta"]],[[[1," "],[8,[32,3],[[4,[32,0],["click",[30,0,["submitSuggestionQualityFeedback"]]],null]],[["@text","@type","@disabled"],[[28,[32,4],["i18n_submit","msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel"],null],"primary",[30,0,["isSubmitDisabled"]]]],null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n "]],[9]]]]],[1,"\\n "]],["@isInMailCompose","&attrs","@canUndo","@onUndo","@canRefresh","@refreshDraft","@canProvideFeedback","@onSubmitReturnFocusTo","modal"],false,["if","-get-dynamic-var"]]',moduleName:"msg-ui/components/messaging-gai/gai-draft-intents-feedback-panel.gjs",scope:()=>[M.on,f.default,r.get,b.default,y.default,v.default,_.default,w.default],isStrictMode:!0}),(k=(0,m.inject)("tracking"),T=(0,m.inject)("@linkedin/ember-restli-graphql@graphql"),D=(0,m.inject)("persistent-toast-manager@persistent-toast-manager"),S=(0,m.inject)("i18n"),x=(0,m.inject)("form-builder-v2@dependency-handler"),C=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"tracking",P,this);(0,t.default)(this,"graphql",I,this);(0,t.default)(this,"persistentToastManager",E,this);(0,t.default)(this,"i18n",A,this);(0,t.default)(this,"dependencyHandler",O,this);(0,t.default)(this,"isFeedbackCollectionModalOpen",R,this)}get refreshInteractionTrackingName(){return this.args.isInMailCompose?"msg_inmail_refresh_gai_draft":"msg_mebc_refresh_gai_draft"}markFeedbackAsGood(e){var t,i e.preventDefault() null===(t=(i=this.args).onThumbsUpClick)||void 0===t||t.call(i,e) this._fireGeneralFeedbackTracking(c.feedbackChoice.SATISFIED) this._showThankyouToast()}_showThankyouToast(){const e=this.i18n.lookupTranslation("components/msg-ui@messaging-gai/gai-draft-intents-feedback-panel","i18n_thank_you")() this.persistentToastManager.success({message:e})}_fetchPremiumGenerativeAiFeedbackForm(){return(0,u.fetchPremiumGenerativeAiFeedbackFormsByFeedbackTypeGraphQL)(this.graphql,c.PREMIUM_GENERATIVE_AI_FEEDBACK_TYPE.SEEK_WORK_MESSAGE)}markFeedbackAsBad(e){var t,i e.preventDefault() null===(t=(i=this.args).onThumbsDownClick)||void 0===t||t.call(i,e) this._fetchPremiumGenerativeAiFeedbackForm().then((e=>{if(!this.isDestroying){var t,i,n const s=null===(t=e.data)||void 0===t||null===(i=t.messagingDashPremiumGenerativeAiFeedbackFormsByFeedbackType)||void 0===i||null===(n=i.elements)||void 0===n?void 0:n[0] this.feedbackFormData=s this.isFeedbackCollectionModalOpen=!0 this._fireImpressionTrackingForFeedbackOptions()}}))}dismissFeedbackCollectionModal(){this.isFeedbackCollectionModalOpen=!1 this._closeFeedbackModal()}submitSuggestionQualityFeedback(){var e,t,i const n=null===(e=this.feedbackFormSectionViewModel)||void 0===e?void 0:e.firstFormElementViewModel.inputValues.values.map((e=>e.inputEntityName)) null===(t=(i=this.args).onSurveyFormSubmit)||void 0===t||t.call(i,n) this._fireGeneralFeedbackTracking(c.feedbackChoice.UNSATISFIED) this._fireTrackingForFeedback(n) this._closeFeedbackModal() this._showThankyouToast()}_fireTrackingForFeedback(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[] this.tracking.fireTrackingPayload(c.PREMIUM_GAI_COMPOSE_TRACKING_KEYS.GAI_SURVEY_SUBMIT,{surveyChoicesSelected:e,generatedContentTrackingId:this.args.trackingId,generatedContentType:c.feedbackFormType.MESSAGING})}_fireGeneralFeedbackTracking(e){this.tracking.fireTrackingPayload(c.PREMIUM_GAI_COMPOSE_TRACKING_KEYS.GAI_GENERAL_FEEDBACK_SUBMIT,{generatedContentTrackingId:this.args.trackingId,generatedContentType:c.feedbackFormType.MESSAGING,feedbackChoiceSelected:e})}_fireImpressionTrackingForFeedbackOptions(){var e,t const i=null===(e=this.feedbackFormSectionViewModel)||void 0===e?void 0:e.firstFormElementViewModel.formElement if(!i||this.isDestroying)return const n=null===(t=i.formComponentResolutionResult.radioButtonFormComponent.selectableOptionsResolutionResults)||void 0===t?void 0:t.map((e=>{var t return null===(t=e.textSelectableOption)||void 0===t?void 0:t.optionEnumString})) this.tracking.fireTrackingPayload(c.PREMIUM_GAI_COMPOSE_TRACKING_KEYS.GAI_SURVEY_IMPRESSION,{generatedContentTrackingId:this.args.trackingId,generatedContentType:c.feedbackFormType.MESSAGING,surveyChoicesShown:n})}_closeFeedbackModal(){this.isFeedbackCollectionModalOpen=!1}get feedbackFormSectionViewModel(){var e if(!this.feedbackFormData)return null const t=null===(e=this.feedbackFormData.feedbackForms)||void 0===e?void 0:e[0] return t&&new d.FormSectionViewModel(t,"feedbackForm",this.dependencyHandler)}trapEvent(e){e.preventDefault() e.stopPropagation()}},P=(0,n.default)(C.prototype,"tracking",[k],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(C.prototype,"graphql",[T],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),E=(0,n.default)(C.prototype,"persistentToastManager",[D],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),A=(0,n.default)(C.prototype,"i18n",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),O=(0,n.default)(C.prototype,"dependencyHandler",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),R=(0,n.default)(C.prototype,"isFeedbackCollectionModalOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(C.prototype,"markFeedbackAsGood",[h.action],Object.getOwnPropertyDescriptor(C.prototype,"markFeedbackAsGood"),C.prototype),(0,n.default)(C.prototype,"markFeedbackAsBad",[h.action],Object.getOwnPropertyDescriptor(C.prototype,"markFeedbackAsBad"),C.prototype),(0,n.default)(C.prototype,"dismissFeedbackCollectionModal",[h.action],Object.getOwnPropertyDescriptor(C.prototype,"dismissFeedbackCollectionModal"),C.prototype),(0,n.default)(C.prototype,"submitSuggestionQualityFeedback",[h.action],Object.getOwnPropertyDescriptor(C.prototype,"submitSuggestionQualityFeedback"),C.prototype),(0,n.default)(C.prototype,"feedbackFormSectionViewModel",[l.cached],Object.getOwnPropertyDescriptor(C.prototype,"feedbackFormSectionViewModel"),C.prototype),C))})) define("msg-ui/components/messaging-gai/gai-inline-module",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@ember/helper","premium-gai/utils/constants","global-utils/utils/is-browser","ember-lifeline","@ember/modifier","@glimmer/tracking","global-helpers/helpers/and","@glimmer/component","@ember/render-modifiers/modifiers/did-update","global-modifiers/modifiers/focus","msg-ui/components/messaging-gai/gai-smart-action","coach-shared/components/hscroll-bar","premium-gai/components/inline-module","global-helpers/helpers/not","premium-gai/components/prompt-button","text-view-model/components/text-view-model-v2","premium-gai/components/input-form","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-view"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f,b,y,v,_,w,M,k,T,D,S){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var x,C,P const I=e=>{e.preventDefault() e.stopPropagation()},E=e=>{e.stopPropagation()} e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"z+MmMxGe",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"msg-gai-inline-module"],[4,[32,0],[[30,0,["handleMessageAsyncDataUpdate"]],[30,1]],null],[4,[32,0],[[28,[32,1],[[30,2],[30,0,["shouldShowCard"]]],null],[30,0,["shouldShowCard"]]],null],[12],[1,"\\n"],[41,[30,0,["shouldShowCard"]],[[[1," "],[8,[32,2],[[24,0,"msg-gai-inline-module__card"],[4,[32,4],null,[["onSelector"],[".artdeco-button[data-js-premium-gai-inline-module-dismiss]"]]]],[["@onDismiss","@learnMoreUrl","@dismissButtonViewName","@overflowButtonViewName","@learnMoreLinkViewName"],[[30,0,["handleDismiss"]],"/help/linkedin/answer/a1487434",[32,3,["DISMISS_BUTTON"]],[32,3,["OVERFLOW_BUTTON"]],[32,3,["LEARN_MORE_LINK"]]]],[["default"],[[[[1,"\\n"],[41,[30,0,["shouldShowRefinmentsInCard"]],[[[41,[28,[32,5],[[30,0,["refinementOptions","length"]],[28,[32,6],[[30,1,["isPending"]]],null]],null],[[[1," "],[11,0],[24,0,"pb2"],[4,[32,7],["click",[32,8]],null],[12],[1,"\\n "],[8,[32,9],[[4,[32,7],["wheel",[32,10]],null]],[["@coachPrompts","@multiContainerClassOverride"],[[30,0,["refinementOptions"]],"msg-gai-inline-module__multi-container"]],[["default"],[[[[1,"\\n"],[44,[[30,3,["prompt"]]],[[[41,[30,4],[[[1," "],[8,[32,11],[[24,0,"white-space-nowrap"],[16,"data-view-name",[32,3,["REFINEMENT_BUTTON"]]],[4,[32,7],["click",[28,[32,1],[[30,0,["handleRefinementOptionClick"]],[30,4]],null]],null],[4,[32,12],null,[["viewName","contentTrackingId","horizontalPosition","routeName","currentRoute"],[[32,3,["REFINEMENT_BUTTON"]],[30,4,["contentTrackingId"]],[30,3,["index"]],[28,[32,13],[[53,"outletState"],"render.name"],null],[28,[32,13],[[53,"outletState"],"render"],null]]]]],[["@text"],[[30,4,["messageRefineAction","text"]]]],null],[1,"\\n"]],[]],null]],[4]]],[1," "]],[3]]]]],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[8,[32,14],[[24,0,"pv2"]],[["@placeholderText","@placeholderA11yText","@withInputBox","@onCancelClick","@onSubmit","@isLoading","@inputViewName","@submitButtonViewName","@cancelButtonViewName"],[[28,[32,15],["i18n_freeform_refinement_input_placeholder_v2","msg-ui/components/messaging-gai/gai-inline-module"],null],[28,[32,15],["i18n_freeform_refinement_input_placeholder_v2","msg-ui/components/messaging-gai/gai-inline-module"],null],false,[30,5],[30,0,["handleRefineInputSubmit"]],[30,1,["isPending"]],[32,3,["REFINEMENT_INPUT"]],[32,3,["REFINEMENT_INPUT_SUBMIT_BUTTON"]],[32,3,["STOP_GENERATION_BUTTON"]]]],null],[1,"\\n"]],[]],[[[41,[30,0,["showIntentButtons"]],[[[41,[30,6,["header"]],[[[1," "],[10,"h3"],[14,0,"t-14 text-align-left mb2"],[12],[1,"\\n "],[8,[32,16],null,[["@tvm"],[[30,6,["header"]]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"msg-gai-inline-module__intents-container msg-gai-inline-module__intents-container--inline"],[12],[1,"\\n "],[8,[32,9],[[4,[32,7],["wheel",[32,10]],null]],[["@coachPrompts","@multiContainerClassOverride"],[[30,6,["intents"]],"msg-gai-inline-module__multi-container"]],[["default"],[[[[1,"\\n"],[44,[[30,7,["prompt"]],[30,7,["index"]]],[[[41,[30,8],[[[1," "],[8,[32,11],[[24,0,"white-space-nowrap"],[16,"data-view-name",[32,3,["INTENT_BUTTON"]]],[4,[32,7],["click",[28,[32,1],[[30,0,["handleIntentClick"]],[30,8]],null]],null],[4,[32,12],null,[["viewName","contentTrackingId","horizontalPosition","routeName","currentRoute"],[[32,3,["INTENT_BUTTON"]],[30,8,["contentTrackingId"]],[30,9],[28,[32,13],[[53,"outletState"],"render.name"],null],[28,[32,13],[[53,"outletState"],"render"],null]]]]],[["@text"],[[30,8,["title","text"]]]],null],[1,"\\n"]],[]],null]],[8,9]]],[1," "]],[7]]]]],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"msg-gai-inline-module__intents-container msg-gai-inline-module__intents-container--stacked"],[12],[1,"\\n"],[42,[28,[31,4],[[28,[31,4],[[30,6,["intents"]]],null]],null],null,[[[1," "],[8,[32,11],[[24,0,"mb2 full-width"],[16,"data-view-name",[32,3,["INTENT_BUTTON"]]],[4,[32,7],["click",[28,[32,1],[[30,0,["handleIntentClick"]],[30,10]],null]],null],[4,[32,12],null,[["viewName","contentTrackingId","verticalPosition","routeName","currentRoute"],[[32,3,["INTENT_BUTTON"]],[30,10,["contentTrackingId"]],[30,11],[28,[32,13],[[53,"outletState"],"render.name"],null],[28,[32,13],[[53,"outletState"],"render"],null]]]]],[["@text"],[[30,10,["title","text"]]]],null],[1,"\\n"]],[10,11]],null],[1," "],[13],[1,"\\n"]],[]],null],[41,[30,12],[[[1," "],[8,[32,14],[[24,0,"pv2"]],[["@placeholderText","@placeholderA11yText","@withInputBox","@onCancelClick","@onSubmit","@onChange","@isLoading","@inputViewName","@submitButtonViewName","@cancelButtonViewName"],[[28,[32,15],["i18n_freeform_intent_input_placeholder","msg-ui/components/messaging-gai/gai-inline-module"],null],[28,[32,15],["i18n_freeform_intent_input_placeholder","msg-ui/components/messaging-gai/gai-inline-module"],null],true,[30,5],[30,0,["handleIntentInputSubmit"]],[30,0,["handleIntentInputChange"]],[30,1,["isPending"]],[32,3,["INTENT_INPUT"]],[32,3,["INTENT_INPUT_SUBMIT_BUTTON"]],[32,3,["STOP_GENERATION_BUTTON"]]]],null],[1,"\\n"]],[]],null]],[]]],[1," "]],[]]]]],[1,"\\n"]],[]],null],[1,"\\n"],[41,[30,0,["shouldShowEntryPoint"]],[[[1," "],[11,0],[24,0,"msg-gai-inline-module__entry-point-container"],[4,[32,7],["click",[32,8]],null],[12],[1,"\\n "],[8,[32,17],null,[["@cta","@upsellCard","@onClick","@isInMailCompose"],[[30,6,["premiumAIEntryPointCTA"]],[30,13],[30,0,["handleEntryPointClick"]],[30,12]]],null],[1,"\\n "],[13],[1,"\\n"]],[]],null],[1," "],[13],[1,"\\n "]],["@messageAsyncData","@onCardVisibilityChanged","properties","refinementOption","@onCancelGeneration","@intentsResponse","properties","intent","index","intent","index","@isInMailCompose","@upsellCard"],false,["if","let","-get-dynamic-var","each","-track-array"]]',moduleName:"msg-ui/components/messaging-gai/gai-inline-module.gjs",scope:()=>[f.default,l.fn,_.default,d.PREMIUM_GAI_TRACKING_VIEW_NAMES,b.default,g.default,w.default,m.on,I,v.default,E,M.default,S.default,l.get,T.default,D.default,k.default,y.default],isStrictMode:!0}),(x=class extends h.default{constructor(){super(...arguments);(0,t.default)(this,"_hasEnteredFlow",C,this);(0,t.default)(this,"intentInputValue",P,this)}get hasEnteredFlow(){return this.args.isInMailCompose?this.args.hasEnteredFlow:this._hasEnteredFlow}get hasGenerated(){var e return!(null===(e=this.args.messageAsyncData)||void 0===e||!e.value)&&this.args.currentInputText}get isGenerating(){var e return null===(e=this.args.messageAsyncData)||void 0===e?void 0:e.isPending}get shouldShowEntryPoint(){var e,t,i,n if(this.args.isInMailCompose)return!1 const s=null===(e=this.args.intentsResponse)||void 0===e||null===(t=e.premiumAIEntryPointCTA)||void 0===t?void 0:t.appearance,a=(null===(i=this.args.intentsResponse)||void 0===i||null===(n=i.intents)||void 0===n?void 0:n.length)>0||this.args.upsellCard return!(!s&&!a)&&(!this.shouldShowCard&&(!this.isGenerating&&(!(!this.args.isPrefilledFromEntryPointOrTemplate||!this.args.isPrefilledMessageNotEdited)||(!(!this.hasGenerated||!this.args.isInMailCompose)||!this.args.currentInputText))))}get shouldShowCard(){var e,t,i const n=!(null===(e=this.args.intentsResponse)||void 0===e||null===(t=e.intents)||void 0===t||!t.length),s=!(null===(i=this.refinementOptions)||void 0===i||!i.length) return!this.args.isInSmallBubble&&this.hasEnteredFlow&&(n||s)&&(this.args.isInMailCompose||!this.isGenerating)}get shouldShowRefinmentsInCard(){var e return(null===(e=this.refinementOptions)||void 0===e?void 0:e.length)&&(this.hasGenerated&&this.args.isInMailCompose||this.args.currentInputText&&this.args.isInMailCompose)}get refinementOptions(){var e,t,i,n,s,a return(null===(e=this.args.messageAsyncData)||void 0===e||null===(t=e.value)||void 0===t||null===(i=t.message)||void 0===i||null===(n=i.messageData)||void 0===n?void 0:n.refinementOptions)??(null===(s=this.args.refinementOptionsAsyncData)||void 0===s||null===(a=s.value)||void 0===a?void 0:a.refinementOptions)}get showIntentButtons(){return!this.intentInputValue&&!this.isGenerating}handleEntryPointClick(){var e,t if((null===(e=this.args.intentsResponse)||void 0===e||null===(t=e.intents)||void 0===t?void 0:t.length)>0){var i,n this._hasEnteredFlow=!0 null===(i=(n=this.args).onEnterFlow)||void 0===i||i.call(n)}}handleDismiss(){var e,t this._hasEnteredFlow=!1 null===(e=(t=this.args).onDismiss)||void 0===e||e.call(t);(0,u.runTask)(this,(()=>{if(c.default){const e=document.querySelector(".msg-gai-smart-action__button") null==e||e.focus()}}))}handleRefineInputSubmit(e){var t,i if(!e)return const{currentInputText:n,messageAsyncData:s,onRefineMessage:a}=this.args,{trackingId:r}=(null==s||null===(t=s.value)||void 0===t||null===(i=t.message)||void 0===i?void 0:i.messageData)??{},o={refinementType:"FREE_FORM",refinementText:e,refinementUseCase:d.REFINEMENT_USE_CASE.MESSAGE} null==a||a(n,o,e,r)}handleIntentInputSubmit(e){if(!e)return const t={queryText:e,userInput:!0,premiumGAIMessageIntentType:d.PREMIUM_GAI_MESSAGE_INTENT_TYPE.FREE_FORM,premiumGAIMessageContentType:d.PREMIUM_GAI_MESSAGE_CONTENT_TYPE.MESSAGING} this.args.generateGaiMessage(t,e)}handleIntentInputChange(e){this.intentInputValue=e}handleMessageAsyncDataUpdate(){if(!this.args.messageAsyncData){if(this.args.isInMailCompose)return this._hasEnteredFlow=!1}}handleIntentClick(e){var t,i if(!this.args.isInMailCompose){var n,s this._hasEnteredFlow=!1 null===(n=(s=this.args).onDismiss)||void 0===n||n.call(s)}const a={userInput:!1,premiumGAIMessageIntentType:e.intentType,contextUrn:null===(t=e.profilePosition)||void 0===t?void 0:t.entityUrn,premiumGAIMessageContentType:d.PREMIUM_GAI_MESSAGE_CONTENT_TYPE.MESSAGING} this.args.generateGaiMessage(a,null===(i=e.title)||void 0===i?void 0:i.text)}handleRefinementOptionClick(e){var t,i,n,s const{messageRefineAction:a,premiumGAIMessageRefinementType:r}=e,o={refinementType:r,refinementUseCase:d.REFINEMENT_USE_CASE.MESSAGE} this.args.onRefineMessage(this.args.currentInputText,o,a.text,null===(t=this.args.messageAsyncData)||void 0===t||null===(i=t.value)||void 0===i||null===(n=i.message)||void 0===n||null===(s=n.messageData)||void 0===s?void 0:s.trackingId)}},C=(0,n.default)(x.prototype,"_hasEnteredFlow",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),P=(0,n.default)(x.prototype,"intentInputValue",[p.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return""}}),(0,n.default)(x.prototype,"handleEntryPointClick",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleEntryPointClick"),x.prototype),(0,n.default)(x.prototype,"handleDismiss",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleDismiss"),x.prototype),(0,n.default)(x.prototype,"handleRefineInputSubmit",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleRefineInputSubmit"),x.prototype),(0,n.default)(x.prototype,"handleIntentInputSubmit",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleIntentInputSubmit"),x.prototype),(0,n.default)(x.prototype,"handleIntentInputChange",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleIntentInputChange"),x.prototype),(0,n.default)(x.prototype,"handleMessageAsyncDataUpdate",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleMessageAsyncDataUpdate"),x.prototype),(0,n.default)(x.prototype,"handleIntentClick",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleIntentClick"),x.prototype),(0,n.default)(x.prototype,"handleRefinementOptionClick",[o.action],Object.getOwnPropertyDescriptor(x.prototype,"handleRefinementOptionClick"),x.prototype),x))})) define("msg-ui/components/messaging-gai/gai-intro-tooltip",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@ember/debug","msg-ui/utils/fix-hoverable-position","@ember/service","@ember/destroyable","@glimmer/tracking","artdeco-hoverables/components/artdeco-hoverable-trigger","@glimmer/component","hue-web-icons/components/icon","@ember/helper"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var b,y,v,_,w,M,k,T,D,S e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"jfxrgHq8",block:'[[[1,"\\n"],[41,[30,0,["legoTrackingToken"]],[[[1," "],[8,[32,0],null,[["@on","@placement"],["init","top"]],[["default"],[[[[1,"\\n "],[8,[30,1,["artdeco-hoverable-content"]],null,[["@onDismissPressed","@onShow","@contentClass"],[[30,0,["handleTooltipDismiss"]],[30,0,["handleTooltipShow"]],[30,0,["HOVERABLE_CONTENT_CLASS"]]]],[["default"],[[[[1,"\\n"],[1," "],[10,0],[15,0,[52,[30,0,["isDarkModeEnabled"]],"hue-web-color-scheme--light","hue-web-color-scheme--dark"]],[12],[1,"\\n"],[1," "],[8,[32,1],null,[["@a11yText","@type","@size","@name"],["Premium","logo","xxxsmall","premium-badge"]],null],[1,"\\n "],[13],[1,"\\n "],[10,0],[14,0,"msg-gai-intro-tooltip__message"],[12],[1,"\\n "],[1,[30,2]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[18,3,[[28,[32,2],null,[["handlePrimaryAction"],[[30,0,["handlePrimaryAction"]]]]]]],[1,"\\n "]],[1]]]]],[1,"\\n"]],[]],[[[1," "],[18,3,null],[1,"\\n"]],[]]],[1," "]],["trigger","@text","&default"],false,["if","yield"]]',moduleName:"msg-ui/components/messaging-gai/gai-intro-tooltip.gjs",scope:()=>[p.default,h.default,f.hash],isStrictMode:!0}),(b=(0,c.inject)("lego@tracking"),y=(0,c.inject)("lego@resolver"),v=(0,c.inject)("global-services@theme"),_=(0,c.inject)("msg-ui@messaging-gai/gai-tooltip-manager"),w=class extends g.default{get isDarkModeEnabled(){const{theme:e}=this.theme return"dark"===e}constructor(){super(...arguments);(0,t.default)(this,"legoTracking",M,this);(0,t.default)(this,"legoResolver",k,this);(0,t.default)(this,"theme",T,this);(0,t.default)(this,"tooltipManager",D,this);(0,i.default)(this,"HOVERABLE_CONTENT_CLASS","msg-gai-intro-tooltip__content");(0,t.default)(this,"legoTrackingToken",S,this) const{legoConfig:e}=this.args this.tooltipManager.canShowTooltip(e)&&this.legoResolver.fireLegoCall(e,!1,!0).then((e=>{(0,u.isDestroying)(this)||e&&(this.legoTrackingToken=e.trackingToken)}))}handleTooltipShow(){(0,d.fixHoverablePosition)(`.${this.HOVERABLE_CONTENT_CLASS}`) this.legoTracking.sendLegoImpression(this.legoTrackingToken,this.legoTracking.LEGO_IMPRESSION_VISIBILITY_SHOW)}handleTooltipDismiss(){this.legoTracking.sendLegoAction(this.legoTrackingToken,this.legoTracking.LEGO_ACTION_DISMISS)}handlePrimaryAction(){this.legoTracking.sendLegoAction(this.legoTrackingToken,this.legoTracking.LEGO_ACTION_PRIMARY)}},M=(0,n.default)(w.prototype,"legoTracking",[b],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),k=(0,n.default)(w.prototype,"legoResolver",[y],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),T=(0,n.default)(w.prototype,"theme",[v],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),D=(0,n.default)(w.prototype,"tooltipManager",[_],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),S=(0,n.default)(w.prototype,"legoTrackingToken",[m.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(w.prototype,"handleTooltipShow",[o.action],Object.getOwnPropertyDescriptor(w.prototype,"handleTooltipShow"),w.prototype),(0,n.default)(w.prototype,"handleTooltipDismiss",[o.action],Object.getOwnPropertyDescriptor(w.prototype,"handleTooltipDismiss"),w.prototype),(0,n.default)(w.prototype,"handlePrimaryAction",[o.action],Object.getOwnPropertyDescriptor(w.prototype,"handlePrimaryAction"),w.prototype),w))})) define("msg-ui/components/messaging-gai/gai-skeleton-loader",["exports","@ember/template-factory","@ember/helper","@ember/component/template-only","@ember/component","scaffold-skeleton/components/skeleton","ember-cli-pemberly-i18n/helpers/t","ember-cli-pemberly-tracking/modifiers/track-render"],(function(e,t,i,n,s,a,r,o){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 const l=new Array(4).fill(),d=(0,s.setComponentTemplate)((0,t.createTemplateFactory)({id:"bCoXi7Ut",block:'[[[1,"\\n"],[1," "],[11,0],[24,0,"msg-gai-skeleton-loader"],[4,[32,0],null,[["pageKey","routeName","currentRoute"],["flagship3_messaging_gai_compose_loading_state",[28,[32,1],[[53,"outletState"],"render.name"],null],[28,[32,1],[[53,"outletState"],"render"],null]]]],[12],[1,"\\n "],[8,[32,2],[[24,0,"text-align-center"]],null,[["default"],[[[[1,"\\n "],[8,[30,1,["Container"]],null,[["@margin"],["2"]],[["default"],[[[[1,"\\n"],[42,[28,[31,2],[[28,[31,2],[[32,3]],null]],null],null,[[[1," "],[8,[30,1,["Text"]],[[24,0,"msg-gai-skeleton-loader__row"]],null,null],[1,"\\n"]],[]],null],[1," "]],[]]]]],[1,"\\n\\n "],[10,0],[12],[1,"\\n "],[10,2],[14,0,"text-body-medium mb1"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,4],["i18n_drafting_message_for","msg-ui/components/messaging-gai/gai-skeleton-loader"],null]],[1,"\\n"]],[]],[[[41,[30,3],[[[1," "],[1,[28,[32,4],["i18n_drafting_message_to","msg-ui/components/messaging-gai/gai-skeleton-loader"],null]],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n "],[10,2],[14,0,"t-black--light"],[12],[1,"\\n"],[41,[30,2],[[[1," "],[1,[28,[32,4],["i18n_quote","msg-ui/components/messaging-gai/gai-skeleton-loader"],[["quote"],[[30,2]]]]],[1,"\\n"]],[]],[[[41,[30,3],[[[1," "],[1,[30,3]],[1,"\\n "]],[]],null]],[]]],[1," "],[13],[1,"\\n "],[13],[1,"\\n "]],[1]]]]],[1,"\\n "],[13],[1,"\\n"]],["Bones","@promptText","@recipientName"],false,["-get-dynamic-var","each","-track-array","if"]]',moduleName:"msg-ui/components/messaging-gai/gai-skeleton-loader.gjs",scope:()=>[o.default,i.get,a.default,l,r.default],isStrictMode:!0}),(0,n.default)("gai-skeleton-loader","GaiSkeletonLoader")) e.default=d})) define("msg-ui/components/messaging-gai/gai-smart-action",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/component","@ember/object","@ember/helper","premium-gai/utils/constants","@ember/service","@ember/destroyable","@ember/modifier","@glimmer/component","artdeco-button/components/artdeco-button","hue-web-icons/components/icon","msg-ui/components/messaging-gai/gai-intro-tooltip","global-helpers/helpers/or","global-helpers/helpers/eq","ember-cli-pemberly-tracking/modifiers/track-impression","ember-cli-pemberly-tracking/modifiers/track-interaction","ember-cli-pemberly-tracking/modifiers/track-view","ember-cli-pemberly-i18n/helpers/t","s-upsell/components/upsell-templates-v2/upsell-template-container-v2","button-appearance/components/button-appearance","global-utils/utils/get-asset-url-for-environment"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f,b,y,v,_,w,M,k,T,D){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var S,x,C,P,I const E=Object.freeze({pageKey:"premium_tooltip_messaging",slotId:"premium_tooltip_messaging_mw",groupId:"premium_tooltip_messaging_mw",widgetId:"premium_tooltip:mw_messaging"}) e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"wX1VPDWy",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@legoConfig","@text"],[[32,1],[28,[32,2],["i18n_draft_with_ai","msg-ui/components/messaging-gai/gai-smart-action"],null]]],[["default"],[[[[1,"\\n"],[41,[30,2],[[[1," "],[8,[32,3],null,[["@upsellCard","@defaultConfig"],[[30,2],[28,[32,4],null,[["isCustomTrigger"],[true]]]]],[["default"],[[[[1,"\\n "],[8,[30,3,["trigger"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,5],[[17,4]],[["@controlName","@onImpression","@onClick","@shouldUsePremiumChipIcon","@shouldUseTertiaryButton","@disabled","@copilotTreatment"],[[30,0,["controlName"]],[30,0,["firePageViewEvent"]],[28,[32,6],[[30,0,["handleClick"]],[30,1,["handlePrimaryAction"]],[30,3,["openModal"]]],null],true,[30,5],[30,6],[30,0,["copilotTreatment"]]]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[3]]]]],[1,"\\n"]],[]],[[[41,[30,7],[[[44,[[52,[30,7,["controlName"]],[30,7,["controlName"]],[30,0,["controlName"]]]],[[[41,[30,0,["isColipotLixEnabled"]],[[[1," "],[8,[32,5],[[17,4],[16,"data-view-name",[32,7,["ENTRY_POINT_BUTTON"]]],[4,[32,10],null,[["viewName","contentTrackingId","routeName","currentRoute"],[[32,7,["ENTRY_POINT_BUTTON"]],[30,7,["contentTrackingId"]],[28,[32,11],[[53,"outletState"],"render.name"],null],[28,[32,11],[[53,"outletState"],"render"],null]]]]],[["@controlName","@onImpression","@onClick","@shouldUseTertiaryButton","@disabled","@copilotTreatment","@isRewrite"],[[30,8],[30,0,["firePageViewEvent"]],[28,[32,6],[[30,0,["handleClick"]],[30,1,["handlePrimaryAction"]]],null],[30,5],[30,6],[30,0,["copilotTreatment"]],[28,[32,8],[[28,[32,9],[[30,7,["appearance","text"]],"Rewrite with AI"],null],[28,[32,9],[[30,7,["apperance","text"]],"Rewrite with AI"],null]],null]]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,12],[[24,0,"msg-gai-smart-action__button msg-gai-smart-action__button--gold-icon"],[16,"data-view-name",[32,7,["ENTRY_POINT_BUTTON"]]],[24,4,"button"],[4,[32,13],[[30,8]],null],[4,[32,14],[[30,0,["firePageViewEvent"]]],[["eager","routeName","currentRoute"],[true,[28,[32,11],[[53,"outletState"],"render.name"],null],[28,[32,11],[[53,"outletState"],"render"],null]]]],[4,[32,10],null,[["viewName","contentTrackingId","routeName","currentRoute"],[[32,7,["ENTRY_POINT_BUTTON"]],[30,7,["contentTrackingId"]],[28,[32,11],[[53,"outletState"],"render.name"],null],[28,[32,11],[[53,"outletState"],"render"],null]]]]],[["@appearance","@onClick","@disabled"],[[28,[32,8],[[30,7,["appearance"]],[30,7,["apperance"]]],null],[28,[32,6],[[30,0,["handleClick"]],[30,1,["handlePrimaryAction"]]],null],[30,6]]],null],[1,"\\n"]],[]]]],[8]]]],[]],[[[1," "],[8,[32,5],[[17,4]],[["@controlName","@onImpression","@onClick","@shouldUseTertiaryButton","@disabled","@copilotTreatment"],[[30,0,["controlName"]],[30,0,["firePageViewEvent"]],[28,[32,6],[[30,0,["handleClick"]],[30,1,["handlePrimaryAction"]]],null],[30,5],[30,6],[30,0,["copilotTreatment"]]]],null],[1,"\\n"]],[]]]],[]]],[1," "]],[1]]]]],[1,"\\n "]],["tooltip","@upsellCard","upsellModal","&attrs","@shouldUseTertiaryButton","@disabled","@cta","controlName"],false,["if","let","-get-dynamic-var"]]',moduleName:"msg-ui/components/messaging-gai/gai-smart-action.gjs",scope:()=>[f.default,E,M.default,k.default,l.hash,A,l.fn,d.PREMIUM_GAI_TRACKING_VIEW_NAMES,b.default,y.default,w.default,l.get,T.default,_.default,v.default],isStrictMode:!0}),(S=(0,c.inject)("lix"),x=(0,c.inject)("tracking"),C=class extends p.default{constructor(){super(...arguments);(0,t.default)(this,"lix",P,this);(0,t.default)(this,"tracking",I,this)}get interactionTrackingPrefix(){return this.args.isInMailCompose?"msg_inmail":"msg_mebc"}get controlName(){return`${this.interactionTrackingPrefix}-gai_entry_point_click`}get copilotTreatment(){return this.lix.getTreatment("voyager.web.premium-messaging-magic-wand-copilot-branding")}get isColipotLixEnabled(){return"control"!==this.copilotTreatment}firePageViewEvent(){if((0,u.isDestroying)(this))return[] this.tracking.firePageViewEvent("flagship3_messaging_gai_compose_entry_point") return[]}handleClick(){for(var e,t,i=arguments.length,n=new Array(i),s=0;s"function"==typeof e&&e())) null===(e=(t=this.args).onClick)||void 0===e||e.call(t)}},P=(0,n.default)(C.prototype,"lix",[S],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),I=(0,n.default)(C.prototype,"tracking",[x],{configurable:!0,enumerable:!0,writable:!0,initializer:null}),(0,n.default)(C.prototype,"firePageViewEvent",[o.action],Object.getOwnPropertyDescriptor(C.prototype,"firePageViewEvent"),C.prototype),(0,n.default)(C.prototype,"handleClick",[o.action],Object.getOwnPropertyDescriptor(C.prototype,"handleClick"),C.prototype),C)) class A extends p.default{get shouldUseCopilotIcon(){return"copilot_icon"===this.args.copilotTreatment}get shouldUseCopilotText(){return"copilot_wording"===this.args.copilotTreatment}get shouldUsePremiumChipIcon(){return this.shouldUseCopilotText||this.args.shouldUsePremiumChipIcon}get copilotIcon(){return(0,D.default)("assets/img/premium/copilot_solid_16x16_gold.svg")}}(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"aATpuNfU",block:'[[[1,"\\n"],[1," "],[8,[32,0],[[16,0,[29,["msg-gai-smart-action__button\\n ",[52,[51,[28,[32,1],[[30,0,["shouldUsePremiumChipIcon"]],[30,0,["shouldUseCopilotIcon"]]],null]],"msg-gai-smart-action__button--gold-icon"]]]],[17,1],[16,"data-view-name",[32,2,["ENTRY_POINT_BUTTON"]]],[4,[32,3],["click",[30,4]],null],[4,[32,4],[[30,5]],null],[4,[32,5],[[30,6]],[["eager","routeName","currentRoute"],[true,[28,[32,6],[[53,"outletState"],"render.name"],null],[28,[32,6],[[53,"outletState"],"render"],null]]]],[4,[32,7],null,[["viewName","routeName","currentRoute"],[[32,2,["ENTRY_POINT_BUTTON"]],[28,[32,6],[[53,"outletState"],"render.name"],null],[28,[32,6],[[53,"outletState"],"render"],null]]]]],[["@type","@color","@controlType","@disabled"],[[52,[30,2],"tertiary","secondary"],"muted","button",[30,3]]],[["default"],[[[[1,"\\n "],[10,1],[15,0,[29,["display-flex align-items-center\\n ",[52,[30,2],"text-body-medium-bold","text-body-small-bold"]]]],[12],[1,"\\n"],[41,[30,0,["shouldUseCopilotIcon"]],[[[1," "],[10,"img"],[14,0,"msg-gai-smart-action__icon"],[15,"alt",[28,[32,8],["i18n_copilot","msg-ui/components/messaging-gai/gai-smart-action"],null]],[15,"src",[30,0,["copilotIcon"]]],[12],[13],[1,"\\n"]],[]],[[[41,[30,0,["shouldUsePremiumChipIcon"]],[[[1," "],[8,[32,9],[[24,0,"msg-gai-smart-action__icon"]],[["@type","@size","@name"],["system","small","premium-chip-v2"]],null],[1,"\\n"]],[]],[[[1," "],[8,[32,9],[[24,0,"msg-gai-smart-action__icon"]],[["@type","@size","@name"],["system","small","signal-ai"]],null],[1,"\\n "]],[]]]],[]]],[41,[30,0,["shouldUseCopilotText"]],[[[41,[30,7],[[[1," "],[1,[28,[32,8],["i18n_rewrite_with_copilot","msg-ui/components/messaging-gai/gai-smart-action"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,8],["i18n_write_with_copilot","msg-ui/components/messaging-gai/gai-smart-action"],null]],[1,"\\n"]],[]]]],[]],[[[41,[30,7],[[[1," "],[1,[28,[32,8],["i18n_rewrite_with_ai","msg-ui/components/messaging-gai/gai-smart-action"],null]],[1,"\\n"]],[]],[[[1," "],[1,[28,[32,8],["i18n_write_with_ai","msg-ui/components/messaging-gai/gai-smart-action"],null]],[1,"\\n"]],[]]]],[]]],[1," "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],["&attrs","@shouldUseTertiaryButton","@disabled","@onClick","@controlName","@onImpression","@isRewrite"],false,["unless","if","-get-dynamic-var"]]',moduleName:"msg-ui/components/messaging-gai/gai-smart-action.gjs",scope:()=>[g.default,b.default,d.PREMIUM_GAI_TRACKING_VIEW_NAMES,m.on,_.default,v.default,l.get,w.default,M.default,h.default],isStrictMode:!0}),A)})) define("msg-ui/components/messaging-gai/gai-suggestion-modal",["exports","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@ember/template-factory","@ember/component","@ember/object","@glimmer/component","artdeco-modal/components/artdeco-modal","ember-cli-pemberly-i18n/helpers/t","global-utils/utils/trusted-html-safe","artdeco-button/components/artdeco-button","@ember/modifier","@ember/helper"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var p e.default=(0,s.setComponentTemplate)((0,n.createTemplateFactory)({id:"b85Lw/LB",block:'[[[1,"\\n"],[1," "],[8,[32,0],null,[["@modalClasses","@isOpen","@dismissModal","@size"],["ad-choice-modal",[30,1],[30,0,["dismissModal"]],"medium"]],[["default"],[[[[1,"\\n "],[8,[30,2,["artdeco-modal-header"]],null,null,[["default"],[[[[1,"\\n "],[10,"h1"],[14,0,"t-sans t-20 t-black t-normal"],[14,1,"ad-choice-modal-header"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_ai_generated_text","msg-ui/components/messaging-gai/gai-suggestion-modal"],null]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "],[8,[30,2,["artdeco-modal-content"]],[[24,"classNames","t-black"]],null,[["default"],[[[[1,"\\n "],[1,[30,0,["suggestedText"]]],[1,"\\n "],[8,[32,2],[[4,[32,3],["click",[28,[32,4],[[30,3],[30,0,["suggestedText"]]],null]],null]],[["@size","@text","@class","@type"],[2,[28,[32,1],["i18n_apply_text","msg-ui/components/messaging-gai/gai-suggestion-modal"],null],"mv4","primary"]],null],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "]],["@isOpen","modal","@applySuggestedText"],false,[]]',moduleName:"msg-ui/components/messaging-gai/gai-suggestion-modal.gjs",scope:()=>[o.default,l.default,c.default,u.on,m.fn],isStrictMode:!0}),(p=class extends r.default{constructor(){super(...arguments);(0,t.default)(this,"suggestedText",(0,d.default)("Hello Charlie,\n I hope you're doing well. I came across the job posting you shared and I’m really interested in learning more about the role. Could you kindly provide additional details regarding the responsibilities and the skills required? I believe my background could be a great fit, and I'd love to explore this opportunity further.\n \n Looking forward to hearing from you!\n \n Anjana Ramji"))}dismissModal(){this.args.dismissModal()}},(0,i.default)(p.prototype,"dismissModal",[a.action],Object.getOwnPropertyDescriptor(p.prototype,"dismissModal"),p.prototype),p))})) define("msg-ui/components/messaging-gai/gai-suggestions",["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/component","artdeco-button/components/artdeco-button","@ember/object","artdeco-dropdown/components/artdeco-dropdown","artdeco-dropdown/components/artdeco-dropdown-item","ember-cli-pemberly-i18n/helpers/t","@ember/modifier","@glimmer/tracking","global-utils/utils/trusted-html-safe","@ember/helper","ember-set-helper/helpers/set","msg-ui/components/messaging-gai/gai-suggestion-modal"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f,b,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var v,_,w,M e.default=(0,r.setComponentTemplate)((0,a.createTemplateFactory)({id:"VK80b2xq",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"msg-form__right-actions display-flex"],[12],[1,"\\n "],[8,[32,0],[[4,[32,2],["click",[28,[32,3],[[30,0,["handleButtonClick"]],[30,0,["grammarText"]]],null]],null]],[["@class","@disabled","@size","@type","@controlType","@color","@circle","@icon","@text","@title","@aria-label"],["msg-form__footer-action",[30,1],1,"tertiary","button","muted",true,"pencil",[28,[32,1],["i18n_spell_check","msg-ui/components/messaging-gai/gai-suggestions"],null],[28,[32,1],["i18n_spell_check","msg-ui/components/messaging-gai/gai-suggestions"],null],[28,[32,1],["i18n_spell_check","msg-ui/components/messaging-gai/gai-suggestions"],null]]],null],[1,"\\n\\n"],[41,[30,0,["isModalOpen"]],[[[1," "],[8,[32,4],null,[["@isOpen","@dismissModal","@applySuggestedText"],[[30,0,["isModalOpen"]],[28,[32,5],[[30,0],"isModalOpen",false],null],[30,0,["handleButtonClick"]]]],null],[1,"\\n"]],[]],null],[1,"\\n "],[8,[32,0],[[4,[32,2],["click",[30,0,["openModal"]]],null]],[["@class","@disabled","@size","@type","@controlType","@color","@circle","@icon","@text","@title","@aria-label"],["msg-form__footer-action",[30,1],1,"tertiary","button","muted",true,"lightbulb",[28,[32,1],["i18n_messaging_suggestions","msg-ui/components/messaging-gai/gai-suggestions"],null],[28,[32,1],["i18n_messaging_suggestions","msg-ui/components/messaging-gai/gai-suggestions"],null],[28,[32,1],["i18n_messaging_suggestions","msg-ui/components/messaging-gai/gai-suggestions"],null]]],null],[1,"\\n\\n "],[8,[32,6],null,[["@isOpen","@onVisibilityChange","@placement","@justification"],[[30,0,["isDropdownOpen"]],[28,[32,5],[[30,0],"isDropdownOpen"],null],"top","right"]],[["default"],[[[[1,"\\n "],[8,[30,2,["dropdown-trigger"]],null,null,[["default"],[[[[1,"\\n "],[8,[32,0],null,[["@class","@disabled","@size","@type","@controlType","@color","@circle","@icon","@text","@title","@aria-label"],["msg-form__footer-action",[30,1],1,"tertiary","button","muted",true,"language",[28,[32,1],["i18n_translate","msg-ui/components/messaging-gai/gai-suggestions"],null],[28,[32,1],["i18n_translate","msg-ui/components/messaging-gai/gai-suggestions"],null],[28,[32,1],["i18n_translate","msg-ui/components/messaging-gai/gai-suggestions"],null]]],null],[1,"\\n "]],[]]]]],[1,"\\n\\n "],[8,[30,2,["dropdown-content"]],null,[["@justification"],["right"]],[["default"],[[[[1,"\\n "],[10,0],[14,0,"global-nav__app-launcher-menu-content-inner"],[12],[1,"\\n "],[10,"header"],[12],[1,"\\n "],[1,[28,[32,1],["i18n_available_languages","msg-ui/components/messaging-gai/gai-suggestions"],null]],[1,"\\n "],[13],[1,"\\n "],[8,[32,7],null,[["@classNames","@itemSelected"],["display-flex align-items-center",[28,[32,3],[[30,0,["handleButtonClick"]],[30,0,["spanishText"]]],null]]],[["default"],[[[[1,"\\n "],[1,[28,[32,1],["i18n_spanish","msg-ui/components/messaging-gai/gai-suggestions"],null]],[1,"\\n "]],[]]]]],[1,"\\n "],[13],[1,"\\n "]],[]]]]],[1,"\\n "]],[2]]]]],[1,"\\n "],[13],[1,"\\n "]],["@disabled","dropdown"],false,["if"]]',moduleName:"msg-ui/components/messaging-gai/gai-suggestions.gjs",scope:()=>[l.default,m.default,p.on,f.fn,y.default,b.default,c.default,u.default],isStrictMode:!0}),(v=class extends o.default{constructor(){super(...arguments);(0,t.default)(this,"disabled",_,this);(0,t.default)(this,"isDropdownOpen",w,this);(0,t.default)(this,"isModalOpen",M,this);(0,i.default)(this,"grammarText",(0,h.default)("Hello, I am interested in the job you posted. Can you tell me more about it?"));(0,i.default)(this,"spanishText",(0,h.default)("Hola Charlie,\n Espero que estés bien. Vi la oferta de trabajo que compartiste y estoy muy interesado en saber más sobre el puesto. ¿Podrías proporcionarme más detalles sobre las responsabilidades y las habilidades requeridas? Creo que mi experiencia podría encajar bien y me encantaría explorar esta oportunidad más a fondo.\n \n ¡Espero tu respuesta!\n \n Anjana Ramji"))}handleButtonClick(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"Hlo, I am intrested in the job you posted. Can you tell me more abt it?",t=arguments.length>1?arguments[1]:void 0 t.stopPropagation() t.preventDefault() this.isDropdownOpen&&(this.isDropdownOpen=!1) this.isModalOpen&&(this.isModalOpen=!1) this.args.onClick({body:e})}openModal(){this.isModalOpen=!0}},_=(0,n.default)(v.prototype,"disabled",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),w=(0,n.default)(v.prototype,"isDropdownOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),M=(0,n.default)(v.prototype,"isModalOpen",[g.tracked],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!1}}),(0,n.default)(v.prototype,"handleButtonClick",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"handleButtonClick"),v.prototype),(0,n.default)(v.prototype,"openModal",[d.action],Object.getOwnPropertyDescriptor(v.prototype,"openModal"),v.prototype),v))})) define("msg-ui/components/msg-edit-form/edit-message-footer-presenter",["exports","@babel/runtime/helpers/esm/initializerDefineProperty","@babel/runtime/helpers/esm/defineProperty","@babel/runtime/helpers/esm/applyDecoratedDescriptor","@babel/runtime/helpers/esm/initializerWarningHelper","@ember/template-factory","@ember/helper","@ember/component","@ember/service","@ember/object","@glimmer/component","@ember/destroyable","msg-ui/components/msg-form/base-form-feature","msg-ui/components/msg-form/primitives/character-limit-banner","ember-cli-pemberly-i18n/helpers/t","emoji-picker/components/emoji-hoverable","artdeco-button/components/artdeco-button","@ember/modifier","ember-cli-pemberly-tracking/modifiers/track-interaction"],(function(e,t,i,n,s,a,r,o,l,d,c,u,m,p,g,h,f,b,y){"use strict" Object.defineProperty(e,"__esModule",{value:!0}) e.default=void 0 var v,_,w,M,k,T,D,S,x e.default=(0,o.setComponentTemplate)((0,a.createTemplateFactory)({id:"01uqrihV",block:'[[[1,"\\n"],[1," "],[10,0],[14,0,"msg-edit-form"],[12],[1,"\\n "],[8,[32,0],[[24,0,"msg-edit-form__base-form"]],[["@conversation","@prefilledMessage","@isMessageEditForm","@validateForm","@submitMessage"],[[30,1],[30,2],true,[30,0,["validateFormForEdits"]],[30,0,["onSaveEditedMessage"]]]],[["default"],[[[[1,"\\n"],[41,[30,5,["isOverCharLimit"]],[[[1," "],[8,[32,1],null,[["@isEditForm"],[true]],null],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"t-14 t-black pl3 pv2"],[12],[1,"\\n "],[1,[28,[32,2],["i18n_edit_message","msg-ui/components/msg-edit-form/edit-message-footer-presenter"],null]],[1,"\\n "],[13],[1,"\\n"],[41,[30,5,["showMentionsPicker"]],[[[1," "],[8,[30,3,["mentionsPickerPresenter"]],null,null,null],[1,"\\n"]],[]],null],[1," "],[10,0],[14,0,"msg-edit-form__content-container ph3"],[12],[1,"\\n "],[8,[30,3,["messageContentContainerPresenter"]],[[24,0,"msg-form__message-tex