(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6793],{90431:function(e,t,n){"use strict";var r,o,i=n(67294);function c(){return(c=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=e.entity,n=e.entityId;return(0,r.Z)({method:"post",url:"".concat("https://www.linquip.com/api-java","/v2/track/").concat(t,"/").concat(n)})}},83811:function(e,t,n){"use strict";n.d(t,{XU:function(){return i},jv:function(){return c},ZD:function(){return s}});var r=n(9669),o=n.n(r),i={PROJECT:"PROJECT",MEDIA:"MEDIA",POST:"POST"},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.params,r=arguments.length>1?arguments[1]:void 0;return o()({method:"post",url:"/api-java/upvote/".concat(r,"/").concat(t),params:n})},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.id,n=e.params,r=arguments.length>1?arguments[1]:void 0;return o()({method:"delete",url:"/api-java/upvote/".concat(r,"/").concat(t),params:n})}},61426:function(e,t,n){"use strict";var r=n(94184),o=n.n(r),i=n(27049),c=n(48588),s=n.n(c),l=n(85893);t.Z=function(e){var t=e.type,n=void 0===t?"primary":t,r=e.showText,c=void 0!==r&&r,a=e.text,u=void 0===a?"Or":a,d=e.orientation,p=void 0===d?"center":d,f=e.style,v=e.className;return(0,l.jsx)(i.Z,{className:o()("m-0",s().divider,"primary"===n?s()["primary-border"]:s()["secondary-border"],v),style:f,orientation:p,children:c&&(0,l.jsx)("span",{className:"text-2 text-gray-dark",children:u})})}},87663:function(e,t,n){"use strict";n.d(t,{s:function(){return g}});var r=n(92809),o=n(94184),i=n.n(o),c=n(67294),s=n(67718),l=n(40313),a=n(91164),u=n(14670),d=n(53662),p=n.n(d),f=n(85893),v=["id_a","id_b","width","height","fill","background"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t0&&!D.current&&!I.current){g(!0);var e="top"===y&&0===window.pageYOffset;p({isReachTop:e}).finally((function(){return g(!1)}))}}),[T,n],150);var S=h?"function"===typeof O?O({loading:x}):x&&(O||(0,d.jsx)("div",{className:"flex justify-center w-full",children:(0,d.jsx)(l.Z,{})})):null;return(0,d.jsxs)(d.Fragment,{children:["bottom"===y?S:null,(0,d.jsx)("div",{className:"relative no-overflow-anchoring",children:(0,d.jsx)("div",{ref:_,className:"absolute left-0 right-0 pointer-events-none no-overflow-anchoring",style:{height:v,top:"bottom"===y?"unset":0,bottom:"top"===y?"unset":0}})}),"top"===y?S:null]})}},48673:function(e,t,n){"use strict";n.d(t,{i:function(){return d}});n(67294);var r=n(92145),o=n(11163),i=n(94184),c=n.n(i),s=n(1548),l=n(13128),a=n(79078),u=n(85893),d=function(e){var t=e.user,n=e.onClick,i=void 0===n?function(){}:n,d=e.style,p=void 0===d?{}:d,f=e.className,v=void 0===f?"":f,m=e.children,h=(0,r.v9)(a.w.profileId),j=(0,o.useRouter)().push,y=t||{},b=y.id,O=y.fullname,E=y.name,x=O||E,g=O?"expert":"company",w=h===b?l.Up[g].myProfile:l.Up[g].show,P=(0,l.W5)(w,[b,(0,s.Z)(x)]);return(0,u.jsx)("span",{onClick:function(e){e.stopPropagation(),i(),j(P.as)},style:p,className:c()(v,"cursor-pointer"),children:"function"===typeof m?m(x):m||x})}},29530:function(e,t,n){"use strict";n.d(t,{Z:function(){return s}});n(67294);var r=n(94184),o=n.n(r),i=n(60863),c=n(85893);function s(e){var t=e.contentType,n=e.payload,r=e.style,s=e.className,l=(0,i.Z)(t,n);return l?(0,c.jsx)("a",{href:l,target:"_blank",rel:"noopener noreferrer",title:"Share to Linkedin",children:(0,c.jsx)("i",{className:o()("icon lfi-share-to text-4xl",s),style:r})}):null}},26793:function(e,t,n){"use strict";n.d(t,{Z:function(){return be}});var r=n(92809),o=n(67294),i=n(94184),c=n.n(i),s=n(49710),l=n(91164),a=n(97842),u=n(5152),d=(0,u.default)((function(){return Promise.all([n.e(1980),n.e(1732),n.e(5988),n.e(7418)]).then(n.bind(n,97418))}),{loadableGenerated:{webpack:function(){return[97418]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./WritePostV2"]}}),p=(0,u.default)((function(){return n.e(2075).then(n.bind(n,32075))}),{loadableGenerated:{webpack:function(){return[32075]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./ActivityDevice"]}}),f=(0,u.default)((function(){return Promise.all([n.e(1980),n.e(9775)]).then(n.bind(n,19775))}),{loadableGenerated:{webpack:function(){return[19775]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./AddCategoryAggregated"]}}),v=(0,u.default)((function(){return n.e(2269).then(n.bind(n,32269))}),{loadableGenerated:{webpack:function(){return[32269]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./AddCategorySingle"]}}),m=(0,u.default)((function(){return n.e(5893).then(n.bind(n,25893))}),{loadableGenerated:{webpack:function(){return[25893]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./AddCompanySale"]}}),h=(0,u.default)((function(){return Promise.all([n.e(6717),n.e(6721),n.e(1980),n.e(4384),n.e(3351),n.e(9993)]).then(n.bind(n,68027))}),{loadableGenerated:{webpack:function(){return[68027]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./AddCompanyService"]}}),j=(0,u.default)((function(){return Promise.all([n.e(1481),n.e(2474),n.e(3779)]).then(n.bind(n,73050))}),{loadableGenerated:{webpack:function(){return[73050]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./AddExpertiseAggregated"]}}),y=(0,u.default)((function(){return Promise.all([n.e(6717),n.e(5406),n.e(6747),n.e(2798)]).then(n.bind(n,31744))}),{loadableGenerated:{webpack:function(){return[31744]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./AddPhotoVideo"]}}),b=(0,u.default)((function(){return n.e(1124).then(n.bind(n,21124))}),{loadableGenerated:{webpack:function(){return[21124]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./CompanyJoined"]}}),O=(0,u.default)((function(){return n.e(2127).then(n.bind(n,22127))}),{loadableGenerated:{webpack:function(){return[22127]},modules:["../components/molecule/Activity/DetailSection/FeedDetailCards/index.js -> ./UserBecomeExpert"]}}),E=n(62590),x=n(85893),g=["sendPostEvent","className","style"];function w(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function P(e){for(var t=1;t ./UserBecomeExpertHeaderCard"]}}),D=n(48673),S=n(49711),C=n(1548),k=n(13128),A=n(67718);function R(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function V(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};(0,le.o)(e,je(je({},(0,ce._)(t)),n))};return i&&E.EACTIVITIES_VERB[o]?(0,x.jsxs)(ye,{sendPostEvent:l,style:n,className:r,children:[(0,x.jsx)(K,{content:t,sendPostEvent:l}),(0,x.jsx)(_,{type:o,count:s,detail:i,content:t,actor:c.detail,sendPostEvent:l,className:"w-full pt-4 border-t ".concat(ne[o]||"mt-4 border-gray")}),(0,x.jsx)(me,{content:t})]}):null}},37835:function(e,t,n){"use strict";n.d(t,{u:function(){return s}});n(67294);var r=n(94184),o=n.n(r),i=n(62590),c=n(85893);function s(e){var t=e.content,n=e.className,r=e.style,s=function(e){switch(e.verb){case i.EACTIVITIES_VERB.WRITE_POST_V2:return e.payload.post.viewCount;default:return null}}(t);return s?(0,c.jsxs)("span",{className:o()("mx-2 flex flex-row items-center",n),style:r,children:[(0,c.jsx)("i",{className:"text-4xl icon lfi-eye"}),(0,c.jsx)("span",{className:"ml-1 text-base font-bold",children:s})]}):null}},73573:function(e,t,n){"use strict";n.d(t,{_:function(){return i}});var r=n(31344),o=n(62590),i=function(e){var t,n,i;return{post_activity_id:e.id,post_id:null===(t=e.payload)||void 0===t||null===(n=t.post)||void 0===n?void 0:n.id,post_user_id:null===(i=e.actor.detail)||void 0===i?void 0:i.id,post_user_type:e.actor.type===o.ACTIVITY_ACTOR_TYPE.EXPERT?r.W.User:r.W.Company}}},56499:function(e,t,n){"use strict";n.d(t,{Z:function(){return D}});var r=n(92809),o=n(91164),i=(n(67294),n(94184)),c=n.n(i),s=n(1548),l=n(43301),a=n(13128),u=n(90431),d=n(67718),p=n(27776),f=n(85893),v=["isSelf","isLinkToProfile","linkClassName","linkStyle","expert","sizes","width","height","onClick","style","className"];function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h(e){for(var t=1;t0&&void 0!==arguments[0]?arguments[0]:{},t=(0,g.v9)((function(e){return e.user.profile}));if(null===t||void 0===t||!t.type)return null;var n="Company"===(null===t||void 0===t?void 0:t.type);return n?(0,f.jsx)(x,P(P({},e),{},{isSelf:!0,company:null===t||void 0===t?void 0:t.detail})):(0,f.jsx)(j,P(P({},e),{},{isSelf:!0,expert:null===t||void 0===t?void 0:t.detail}))},Expert:j,Company:x,General:function(e){var t=e.isExpert,n=e.user,r=void 0===n?{}:n,i=(0,o.Z)(e,_);return r?t||r.fullname?(0,f.jsx)(j,I({expert:r},i)):(0,f.jsx)(x,I({company:r},i)):null}}},59968:function(e,t,n){"use strict";n.d(t,{Z:function(){return b}});var r=n(92809),o=n(67294),i=n(92145),c=n(11163),s=n(94184),l=n.n(s),a=n(53662),u=n.n(a),d=n(74010),p=n(80818),f=n(43301),v=n(35635),m=n(83811),h=n(85893);function j(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function y(e){for(var t=1;t0&&(0,b.jsxs)("span",{className:"flex flex-row items-center mr-4",children:[(0,b.jsx)("i",{className:"mr-1 text-3xl icon lfi-device text-secondary"}),(0,b.jsxs)("span",{className:"text-base font-bold",children:[t," Device",t>1&&"s"]})]}),n>0&&(0,b.jsxs)("span",{className:"flex flex-row items-center",children:[(0,b.jsx)("i",{className:"mr-1 text-3xl icon lfi-expert text-secondary"}),(0,b.jsxs)("span",{className:"text-base font-bold",children:[n," Expert",n>1&&"s"]})]})]})}function g(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function w(e){for(var t=1;t0||(null===r||void 0===r||null===(n=r.teammates)||void 0===n?void 0:n.length)>0)&&(0,b.jsx)(x,{equipmentCount:o,teammateCount:i}),(0,b.jsx)("p",{className:"mt-3 overflow-hidden text-sm leading-tight text-black whitespace-pre-line",children:null===r||void 0===r?void 0:r.description}),(0,b.jsx)(m.Z,w(w({},c),{},{children:(0,b.jsx)("a",{className:"block my-4 text-base font-bold text-secondary",children:"See Details"})}))]})}var _=n(3624),T=n(74114);function I(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function D(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:150,i=(0,r.useRef)(),c=(0,o.V)();(0,r.useEffect)((function(){i.current&&clearTimeout(i.current),i.current=setTimeout((function(){c.current&&e()}),n)}),t)}},83187:function(e,t,n){"use strict";n.d(t,{V:function(){return o}});var r=n(67294);function o(){var e=(0,r.useRef)(!0);return(0,r.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},57255:function(e,t,n){"use strict";n.d(t,{Z:function(){return a}});var r=n(67294),o=n(92145),i=n(2257),c=n(74010),s=n(79078),l=n(74114);function a(e,t){(0,c.D)();var n=(0,o.v9)(s.w.profileType),a=(0,i.S)(),u=(0,r.useRef)(!1);(0,r.useEffect)((function(){!u.current&&t&&(0,l.v)({entity:e,entityId:t}).then((function(){u.current=!0})).catch((function(){}))}),[t,n,a.track_view_without_auth,a.track_views])}},80818:function(e,t,n){"use strict";n.d(t,{_k:function(){return o},Nc:function(){return i},Kz:function(){return c}});var r=n(98719),o=function(){window&&(console.log("GA init"),r.ZP.initialize("UA-156578051-1"))},i=function(){window&&(console.log("Logging pageview for ".concat(window.location.pathname)),r.ZP.set({page:window.location.pathname}),r.ZP.pageview(window.location.pathname))},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";e&&t&&window&&r.ZP.event({category:e,action:t,label:n,value:o})}},60863:function(e,t,n){"use strict";n.d(t,{_:function(){return i},Z:function(){return c}});var r=n(13128),o=n(1548),i={PROJECT:"PROJECT",POST:"POST"};function c(e,t){var n="https://www.linkedin.com/cws/share?url=https://www.linquip.com";switch(e){case i.PROJECT:return n+r.Up.project.show(t.project.id,(0,o.Z)(t.project.name));case i.POST:return n+r.Up.post.show(t.post.id);default:return null}}},48588:function(e){e.exports={divider:"styles_divider__vs0_y","primary-border":"styles_primary-border__DA0Z_","secondary-border":"styles_secondary-border__N7W0A"}}}]);