(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[5035],{351326:(e,n,o)=>{o.r(n),o.d(n,{default:()=>h});var i=o(667294),s=o(205202),t=o(2396),l=o(898781),a=o(946984),r=o(883119),c=o(785893);const _=(0,t.Z)((function({handleSendShareFlyoutButtonClick:e}){const n=(0,l.ZP)(),o=(0,a.Z)();return(0,c.jsx)(r.xu,{"data-test-id":"share-icon-button",children:(0,c.jsx)(r.hU,{accessibilityLabel:n.bt("Send", "Send", "Accessible label to send a pin", undefined, true),bgColor:"white",icon:"share",iconColor:"darkGray",onClick:({event:n})=>{n.stopPropagation(),o?o():e()},size:"sm"})})}));var d=o(199387),u=o(773285),p=o(385740);function h({pin:e,setForcePrimary:n}){const[o,t]=(0,i.useState)(!1),{checkExperiment:l}=(0,u.F)(),a=l("web_share_menu_logging").anyEnabled,{viewType:r}=(0,p.SU)(),h=a?72:98,{id:y,images:b,pinner:m}=e,A=(0,s.Z)(b,"236x"),g=(0,d.Z)(101,{element:h,object_id_str:y});return(0,c.jsx)(_,{imageSrc:A,inModal:!1,isFlyoutOpen:o,onClick:g,onToggleFlyout:()=>{n(!o),t(!o)},onFlyoutDismiss:()=>{n(!1),t(!1)},pinId:y,sendType:"pin",shownWithinMasonry:!0,showTransparentButton:!1,ownerId:null==m?void 0:m.id,element:h,component:194,viewType:r})}}}]);
//# sourceMappingURL=https://sm.pinimg.com/webapp/PinRepSendShareLinkButtonCommon.en_AU-27b55a0ea0415638.mjs.map