1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2592],{14074:function(n,e,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/hrw/action/social-media",function(){return t(86312)}])},49681:function(n,e,t){"use strict";var i=t(85893),r=t(87710),s=t(13136),o=t(68409);e.Z=function(n){var e=n.size,t=void 0===e?"md":e;return(0,i.jsx)(r.Z,{css:{height:"500px"},justifyContent:"center",children:(0,i.jsx)(o.ZC,{css:{textAlign:"center"},children:(0,i.jsx)(s.Z,{size:t})})})}},90698:function(n,e,t){"use strict";t.d(e,{i:function(){return r}});var i=t(67294);function r(){var n=(0,i.useState)({width:void 0,height:void 0}),e=n[0],t=n[1];return(0,i.useEffect)((function(){var n=function(){t({width:window.innerWidth,height:window.innerHeight})};return window.addEventListener("resize",n),n(),function(){return window.removeEventListener("resize",n)}}),[]),e}},86312:function(n,e,t){"use strict";t.r(e),t.d(e,{__N_SSP:function(){return S}});var i=t(34727),r=t(70655),s=t(85893),o=t(95854),c=t(70547),a=t(87710),l=t(38292),u=t(13065),d=t(11163),h=t(67294),f=t(83225),m=t.n(f),x=t(94076),v=t(68298),g=t(56141),p=t(49681),w=t(68409),j=t(24990),k=t(90698),y=t(18542),Z="https://d1wob3mg8ofyg4.cloudfront.net/videos/mobile-linkedin-demo-post.webm",_="https://d1wob3mg8ofyg4.cloudfront.net/videos/desktop-linkedin-demo-post.webm",C=(0,o.zo)(c.Z,{textAlign:"center !important"}),b=(0,o.zo)(a.Z,{justifyContent:"center",alignItems:"center",minHeight:"80vh"});var S=!0;e.default=function(){var n=(0,k.i)(),e=(0,h.useState)(!1),t=e[0],o=e[1],c=(0,h.useState)(!0),f=c[0],S=c[1],z=(0,h.useState)(!1),E=z[0],I=z[1],N=(0,h.useState)([]),D=N[0],L=N[1],$=(0,h.useState)(0),H=$[0],T=$[1],A=(0,h.useState)(!0),F=A[0],G=A[1],O=(0,j.V6)().showErrorToast,P=(0,d.useRouter)().query.token,R=void 0===P?"":P,B=(0,h.useMemo)((function(){return function(){return n.width<576?"small":"large"}}),[n.width]);(0,h.useEffect)((function(){R&&x.Z.get("/candidate_workflow_engine/guest/verify?token=".concat(R)).then((function(n){var e=n.data.data,t=e.submitted,i=e.invalid,r=e.linkedinGifUrls;i?I(!0):(S(t),r&&L(r.map((function(n){return{url:n}}))))})).catch((function(n){n.response.data.error&&I(!0)})).finally((function(){G(!1)}))}),[R]);var M=function(n){x.Z.post("/candidate_workflow_engine/guest/submit-social-media?token=".concat(R),{response:n}).then((function(){S(!0)})).catch((function(n){(0,y.bo)(n,O)}))},U=function(){var n=(0,i.Z)((function(){var n;return(0,r.__generator)(this,(function(e){return(n=document.createElement("a")).style.display="none",n.href=D[H].url,document.body.appendChild(n),n.click(),document.body.removeChild(n),[2]}))}
1));return function(){return n.apply(this,arguments)}}();return F?(0,s.jsx)(p.Z,{}):E?(0,s.jsx)(b,{children:(0,s.jsx)(l.Z,{variant:"critical",title:"Invalid URL"})}):f?(0,s.jsx)(b,{children:(0,s.jsx)(l.Z,{variant:"success",title:"Response Submitted."})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(g.Z,{}),(0,s.jsxs)(v.Dialog,{size:"small"===B()?"md":"xl",isOpen:t,onClose:function(){return o(!1)},children:[(0,s.jsx)(v.DialogBody,{children:(0,s.jsx)(a.Z,{flexDirection:"column",alignItems:"center",justifyContent:"center",css:{gap:"$3",height:"small"===B()?"80vh":"60vh",width:"100%"},children:"small"===B()?(0,s.jsx)("video",{height:"100%",controls:!0,children:(0,s.jsx)("source",{src:Z})}):(0,s.jsx)("video",{width:"100%",controls:!0,children:(0,s.jsx)("source",{src:_})})})}),"small"===B()&&(0,s.jsx)(v.DialogActions,{children:(0,s.jsx)(u.Z,{variant:"primary",onClick:function(){return o(!1)},children:"Cancel"})})]}),(0,s.jsx)(b,{children:(0,s.jsxs)(a.Z,{flexDirection:"column",css:{gap:"$4",margin:"$4 0"},children:[(0,s.jsx)(C,{variant:"small"===B()?"text-l":"h3",children:"Share the exciting news on Social Media"}),(0,s.jsx)(u.Z,{variant:"Secondary",size:"small"===B()?"small":"large",onClick:function(){return o(!0)},children:"How to use this GIF on LinkedIn"}),(0,s.jsx)(a.Z,{css:{gap:"$3"},alignItems:"center",justifyContent:"center",children:1===D.length?(0,s.jsx)("img",{src:D[0].url,alt:"Company LinkedIn GIF",width:"small"===B()?"300px":"500px",height:"small"===B()?"300px":"500px",placeholder:"blur"}):(0,s.jsx)(m(),{width:"small"===B()?"300px":"500px",height:"small"===B()?"300px":"500px",images:D,showNavs:!0,onClickNav:function(n){T((function(e){var t;return n?t=(e+1)%D.length:(t=e-1)<0&&(t=D.length+t),t}))},showBullets:!1})}),(0,s.jsx)(u.Z,{variant:"primary",size:"small",onClick:U,children:"Download"}),(0,s.jsxs)(w.ZC,{children:[(0,s.jsx)(C,{variant:"small"===B()?"text-sm":"text-l",children:"Have you shared the exciting news? Let us know below!\ud83d\ude42"}),(0,s.jsxs)(a.Z,{alignItems:"center",justifyContent:"center",css:{gap:"$3",marginTop:"$3"},children:[(0,s.jsx)(u.Z,{variant:"primary",size:"small",onClick:function(){return M(!0)},children:"Yes"}),(0,s.jsx)(u.Z,{variant:"secondary",size:"small",onClick:function(){return M(!1)},children:"No"})]})]})]})})]})}}},function(n){n.O(0,[6274,9774,2888,179],(function(){return e=14074,n(n.s=e);var e}));var e=n.O();_N_E=e}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.