_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[36],{"3dh4":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("gLav"),a=n.n(i),c=n("cZi2"),l=a.a.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1rk6p1d-0"})(["display:flex;align-items:center;cursor:pointer;"]),u=a.a.p.withConfig({displayName:"styles__CollectionName",componentId:"sc-1rk6p1d-1"})(["color:",";margin:0 12px;font-family:",";font-size:",";line-height:16px;white-space:nowrap;"],c.o.blue900,c.q.openSans,c.q.size.small),s=n("TwOF"),d=n("xOPe"),p=o.a.createElement,f=function(e){return p("svg",e,p("rect",{width:"34",height:"34",rx:"17",fill:"#263238"}),p("path",{d:"M21.174 24.799h-8.152a1.406 1.406 0 1 0 0 2.813h8.152a1.406 1.406 0 1 0 0-2.813zM23.419 13.264a1.417 1.417 0 0 1-1.407-1.407c0-.37.153-.735.416-.99.26-.263.625-.416.99-.416.37 0 .736.153.995.416a1.403 1.403 0 0 1 0 1.985c-.264.26-.625.412-.994.412z",fill:"#fff"}),p("path",{d:"M17.107 22.903c-3.205 0-6.265-1.865-7.62-4.99-1.824-4.194.105-9.094 4.3-10.918a8.272 8.272 0 0 1 7.042.204 1.407 1.407 0 0 1-1.262 2.512 5.473 5.473 0 0 0-4.653-.136 5.49 5.49 0 0 0-2.844 7.217 5.49 5.49 0 0 0 7.217 2.843 5.476 5.476 0 0 0 3.077-3.494 1.408 1.408 0 0 1 1.742-.956c.744.217 1.173.999.956 1.743a8.273 8.273 0 0 1-4.653 5.287 8.28 8.28 0 0 1-3.302.688z",fill:"#fff"}))};f.defaultProps={width:"34",height:"34",viewBox:"0 0 34 34",fill:"none",xmlns:"http://www.w3.org/2000/svg"};t.a=function(e){var t=e.url,n=e.name,r=e.isAdded,o=e.onClickHandler,i=e.checkboxPosition;return p(l,null,i&&p(d.a,{onChangeCb:o,initState:r}),t?p(s.a,{src:t,alt:"collection logo",size:29}):p(f,{width:29,height:29}),p(u,null,n),!i&&p(d.a,{onChangeCb:o,initState:r}))}},"4WXO":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("jkUL"),a=n.n(i),c=n("cZi2"),l=n("TLC/"),u=o.a.createElement,s=function(e){var t=e.showPlaceholder,n=e.type,r=e.text,i=e.children;return t?u(c.c,{height:"calc(100vh - 72px - 190px)",justifyContent:"center",alignItems:"center",flexDirection:"column"},u(o.a.Fragment,null,"string"===n&&u(l.a,null,r),"loader"===n&&u(a.a,{visible:!0,type:"ThreeDots",color:c.o.gray150,height:"15",width:"auto"}))):u(o.a.Fragment,null,i)};s.defaultProps={type:"string",text:"No results"},t.a=s},"63sL":function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSP",(function(){return Et}));var r=n("o0o1"),o=n.n(r),i=n("HaE+"),a=n("q1tI"),c=n.n(a),l=n("q08V"),u=n("E+oP"),s=n.n(u),d=n("eLAd"),p=n.n(d),f=n("6yDW"),h=n("wx14"),m=n("KQm4"),g=n("mwIZ"),y=n.n(g),v=n("wig9"),w=n.n(v),b=n("gLav"),x=n.n(b),O=n("Wgwc"),_=n.n(O),k=n("a6RD"),C=n.n(k),j=n("TwOF"),I=n("cZi2"),S=c.a.createElement,E=C()((function(){return n.e(17).then(n.bind(null,"cpGi"))}),{ssr:!1,loading:function(){return S(P,null)},loadableGenerated:{webpack:function(){return["cpGi"]},modules:["react-tooltip"]}}),P=x.a.div.withConfig({displayName:"ArticleAuthors__Wrapper",componentId:"umxv46-0"})(["display:flex;align-items:center;"]),L=x()(P).withConfig({displayName:"ArticleAuthors__TextWrapper",componentId:"umxv46-1"})(["display:flex;align-items:flex-start;flex-direction:column;margin-left:11px;"]),A=x.a.p.withConfig({displayName:"ArticleAuthors__Text",componentId:"umxv46-2"})(["color:",";font-family:",";font-size:12px;line-height:21px;display:flex;align-items:center;"],I.o.blue900,I.q.notoSans),z=function(e){var t=e.authors,n=e.createdAt,r=e.updatedAt;return s()(t)?null:S(P,null,t.map((function(e,t){var n=e.id,r=e.picture,o=e.firstname,i=e.lastname;return S("div",{key:n,"data-for":"avatarTooltip","data-tip":"".concat(o," ").concat(i),"data-iscapture":"true"},S(j.a,{key:n,src:r,username:o,alt:"",style:{marginLeft:t?-10:0,cursor:"pointer",backgroundColor:I.o.gray450}}))})),(n||r)&&S(L,null,n&&S(A,null,"Added: ",_()(n).format("MMM DD, YYYY")),r&&S(A,null,"Last edited: ",_()(r).format("MMM DD, YYYY"))),S(E,{id:"avatarTooltip"}))},T=n("rePB"),D=n("EZp8"),R=n("FE77"),M=n("qO0x"),q=n("6AvA"),N=n("/MKj"),H=Object(b.css)(["svg{path{stroke:",";fill:",";}}"],I.o.primary,I.o.primary),B=x.a.div.withConfig({displayName:"styles__Wrapper",componentId:"u4cnbw-0"})(["width:100%;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;"]),V=x.a.div.withConfig({displayName:"styles__HandlersWrapper",componentId:"u4cnbw-1"})(["display:flex;align-items:center;"]),U=x.a.div.withConfig({displayName:"styles__Text",componentId:"u4cnbw-2"})(["color:",";font-family:",";font-style:normal;font-weight:bold;font-size:16px;line-height:24px;letter-spacing:1.2px;text-transform:uppercase;margin:0 15px 0 8px;user-select:none;"],I.o.gray900,I.q.notoSans),W=x.a.div.withConfig({displayName:"styles__ItemWrapper",componentId:"u4cnbw-3"})(["cursor:pointer;display:flex;align-items:center;padding:0 3px;",";:hover{",";}"],(function(e){return e.isActive&&H}),H),K=x.a.div.withConfig({displayName:"styles__IconWrapper",componentId:"u4cnbw-4"})(["display:flex;padding:",";cursor:pointer;min-width:30px;",";:hover{",";}"],(function(e){return e.padding}),(function(e){return e.isActive&&"\n  svg {\n    path {\n      stroke: ".concat(I.o.red400,";\n      fill: ").concat(I.o.red400,";\n    }\n  }\n  ")}),H),F=n("Fk2I"),Z=n("J/v5"),G=c.a.createElement;function Y(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 Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y(Object(n),!0).forEach((function(t){Object(T.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var X=function(e){return G("svg",e,G("path",{d:"M7.086.111A.608.608 0 0 0 6.5.712v1.051c0 1.446-.41 2.502-.742 3.154H.25v10.815h13.36c.893 0 1.68-.587 1.874-1.423 0-.014.005-.032.005-.047l1.006-7.214-.015.057c.26-1.122-.673-2.188-1.87-2.188h-4.36V2.815c0-1.343-.86-2.15-1.64-2.45C7.827.06 7.085.11 7.085.11zm.664 1.296c.166.023.205-.005.39.065.47.188.86.432.86 1.343v2.703c0 .333.278.601.625.601h4.985c.45 0 .738.343.655.723l-.015.051-.991 7.163c-.064.267-.322.474-.65.474H6.5V6.142c.283-.417 1.25-2.018 1.25-4.379v-.356zM1.5 6.119h3.75v8.41H1.5V6.12zm1.875 6.008a.611.611 0 0 0-.625.6c0 .334.278.601.625.601a.611.611 0 0 0 .625-.6c0-.334-.278-.601-.625-.601z",fill:"#263238"}))};X.defaultProps={width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var J=function(e){return G("svg",e,G("path",{d:"M9.914 15.856a.608.608 0 0 0 .586-.601v-1.052c0-1.445.41-2.501.742-3.154h5.508V.235H3.39c-.893 0-1.68.587-1.874 1.422 0 .015-.005.033-.005.047L.505 8.918l.015-.056c-.26 1.122.673 2.187 1.87 2.187h4.36v2.103c0 1.342.86 2.15 1.64 2.45.782.305 1.524.254 1.524.254zM9.25 14.56c-.166-.023-.205.005-.39-.066-.47-.187-.86-.431-.86-1.342V10.45c0-.334-.278-.601-.625-.601H2.39c-.45 0-.738-.343-.655-.723l.015-.052.991-7.162c.064-.268.322-.474.65-.474H10.5v8.387c-.283.418-1.25 2.019-1.25 4.38v.356zm6.25-4.712h-3.75V1.437h3.75v8.41zM13.625 3.84a.611.611 0 0 0 .625-.6c0-.334-.278-.602-.625-.602A.611.611 0 0 0 13 3.24c0 .333.278.601.625.601z",fill:"#263238"}))};J.defaultProps={width:"17",height:"16",viewBox:"0 0 17 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var $=function(e){return G("svg",e,G("path",{d:"M15.73 3.232H8.27L3 8.502v7.46l5.27 5.27h7.46l5.27-5.27v-7.46l-5.27-5.27zm3.27 11.9l-4.1 4.1H9.1l-4.1-4.1v-5.8l4.1-4.1h5.8l4.1 4.1v5.8z",fill:"#263238"}),G("path",{d:"M12 17.232a1 1 0 1 0 0-2 1 1 0 0 0 0 2zM11 7.232h2v7h-2v-7z",fill:"#263238"}))};$.defaultProps={width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ee=function(e){return G("svg",e,G("path",{d:"M2.75.884C1.514.884.5 1.858.5 3.047v15.838L8 13.6l7.5 5.284V3.047c0-1.189-1.014-2.163-2.25-2.163H2.75zm0 1.442h10.5c.422 0 .75.315.75.72v13L8 11.81l-6 4.236v-13c0-.405.328-.72.75-.72z",fill:"#263238"}))};ee.defaultProps={width:"16",height:"19",viewBox:"0 0 16 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var te=function(e){return G("svg",e,G("path",{d:"M2.75.884C1.514.884.5 1.858.5 3.047v15.838L8 13.6l7.5 5.284V3.047c0-1.189-1.014-2.163-2.25-2.163H2.75z",fill:"#53B9B0"}))};te.defaultProps={width:"16",height:"19",viewBox:"0 0 16 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var ne=function(e){return G("svg",e,G("path",{d:"M17.335 8.333a2.667 2.667 0 1 0 0-5.333 2.667 2.667 0 0 0 0 5.333zM6.667 14.556a2.667 2.667 0 1 0 0-5.334 2.667 2.667 0 0 0 0 5.334zM17.335 20.778a2.667 2.667 0 1 0 0-5.334 2.667 2.667 0 0 0 0 5.334zM8.969 13.231l6.07 3.538M15.031 7.009l-6.062 3.538",stroke:"#263238",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))};ne.defaultProps={width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var re,oe=C()((function(){return n.e(17).then(n.bind(null,"cpGi"))}),{ssr:!1,loading:function(){return G(B,null)},loadableGenerated:{webpack:function(){return["cpGi"]},modules:["react-tooltip"]}});!function(e){e.LIKE="LIKE",e.DISLIKE="DISLIKE"}(re||(re={}));var ie=function(e){var t,n,r=e.article,c=Object(N.useSelector)((function(e){return e.auth})),l=c.isAuthorized,u=c.currentUser,s=c.isLoaderLoading,d=Object(q.q)().redirectToUpdateArticle,p=Object(q.a)().signIn,f=Object(q.o)().openModal,h=r.id,g=Object(a.useState)(!1),y=g[0],v=g[1],w=Object(a.useState)([]),b=w[0],x=w[1],O=Object(a.useState)(null),_=O[0],k=O[1],C=Object(a.useState)(!1),j=C[0],I=C[1],S=b.filter((function(e){return e.liked})).length,E=b.filter((function(e){return!e.liked})).length,P=Object(a.useMemo)((function(){return 22}),[]),L=Object(a.useMemo)((function(){return P+7}),[]),A=Object(a.useMemo)((function(){return"Share"}),[]),z=_===re.LIKE?"Liked":"Like",T=_===re.DISLIKE?"Disliked":"Dislike",H=j?"Added to bookmarks":"Add to bookmarks",Y=(null===(t=r.reports)||void 0===t?void 0:t.length)>0?"This case study has been reported":"Report this case study";Object(a.useEffect)((function(){x(r.votes),I(r.bookmarks.some((function(e){return e.user===u.id})));var e,t=(r.votes||[]).find((function(e){return e.user===u.id}));t&&(t.liked&&(e=re.LIKE),t.liked||(e=re.DISLIKE),e&&k(e))}),[u]);var ie=function(){return!!l||(p(),!1)},ae=function(){var e=Object(i.a)(o.a.mark((function e(t){var n,i;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(t),e.next=3,Object(D.a)({method:"POST",url:"/votes",data:{article:r,liked:t===re.LIKE,user:u.id}});case 3:n=e.sent,i=n.data,x((function(e){return[].concat(Object(m.a)(e),[Q(Q({},i),{},{user:i.user.id})])}));case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ce=function(){var e=Object(i.a)(o.a.mark((function e(t,n){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(n),r=b.map((function(e){return e.user===u.id?Q(Q({},e),{},{liked:n===re.LIKE}):e})),x(r),e.next=5,Object(D.a)({method:"PUT",url:"/votes/".concat(t),data:{liked:n===re.LIKE}});case 5:case"end":return e.stop()}}),e)})));return function(t,n){return e.apply(this,arguments)}}(),le=function(){var e=Object(i.a)(o.a.mark((function e(t){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return k(null),n=b.filter((function(e){return e.user!==u.id})),x(n),e.next=5,Object(D.a)({method:"DELETE",url:"/votes/".concat(t)});case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ue=function(){var e=Object(i.a)(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ie()){e.next=20;break}if(e.prev=1,!(t=(b||[]).find((function(e){return e.user===u.id})))){e.next=13;break}if(!t.liked){e.next=9;break}return e.next=7,le(t.id);case 7:e.next=11;break;case 9:return e.next=11,ce(t.id,re.LIKE);case 11:e.next=15;break;case 13:return e.next=15,ae(re.LIKE);case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(1),console.log("onLikeClick: ",e.t0);case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(){return e.apply(this,arguments)}}(),se=function(){var e=Object(i.a)(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!ie()){e.next=20;break}if(e.prev=1,!(t=(b||[]).find((function(e){return e.user===u.id})))){e.next=13;break}if(!t.liked){e.next=9;break}return e.next=7,ce(t.id,re.DISLIKE);case 7:e.next=11;break;case 9:return e.next=11,le(t.id);case 11:e.next=15;break;case 13:return e.next=15,ae(re.DISLIKE);case 15:e.next=20;break;case 17:e.prev=17,e.t0=e.catch(1),console.log("onDislikeClick: ",e.t0);case 20:case"end":return e.stop()}}),e,null,[[1,17]])})));return function(){return e.apply(this,arguments)}}(),de=function(){var e=Object(i.a)(o.a.mark((function e(t){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!y){e.next=2;break}return e.abrupt("return",null);case 2:if(v(!0),t!==re.LIKE){e.next=6;break}return e.next=6,ue();case 6:if(t!==re.DISLIKE){e.next=9;break}return e.next=9,se();case 9:v(!1);case 10:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pe=(null==u?void 0:u.role)===Z.a.CURATOR,fe=(null==u?void 0:u.id)===(null==r?void 0:r.authorId);return G(B,null,G("div",null,G(V,null,G(W,{onClick:!s&&function(){return de(re.LIKE)},isActive:_===re.LIKE,"data-for":"handlersTooltip","data-tip":z,"data-iscapture":"true"},G(K,null,G(X,{width:P,height:P})),G(U,null,S)),G(W,{onClick:!s&&function(){return de(re.DISLIKE)},isActive:_===re.DISLIKE,"data-for":"handlersTooltip","data-tip":T,"data-iscapture":"true"},G(K,null,G(J,{width:P,height:P})),G(U,null,E)),G(K,{padding:"10px",onClick:!s&&function(){ie()&&f(F.ADDED_TO_BOOKMARKS_MODAL,{article:r,callback:function(e){I(!!e)}})},"data-for":"handlersTooltip","data-tip":H,"data-iscapture":"true"},G(j?te:ee,{width:P,height:P})),G(M.b,{type:M.a.FULL},G(K,{padding:"10px","data-for":"handlersTooltip","data-tip":A,"data-iscapture":"true"},G(ne,{width:P,height:P}))),G(K,{padding:"10px",onClick:!s&&function(){ie()&&f(F.REPORT_ARTICLE_MODAL,{article:r})},isActive:(null===(n=r.reports)||void 0===n?void 0:n.length)>0,"data-for":"handlersTooltip","data-tip":Y,"data-iscapture":"true"},G($,{width:L,height:L}))),G(oe,{id:"handlersTooltip"})),pe||fe?G(R.a,{layout:R.b.SECONDARY,onClick:!s&&function(){d({id:h.toString()})}},"Edit"):"")},ae=n("KJde"),ce=n.n(ae),le=x.a.p.withConfig({displayName:"styles__Case",componentId:"wszs9e-0"})(["color:",";font-family:",";font-size:12px;line-height:18px;letter-spacing:0.03em;display:flex;align-items:center;"],I.o.blue900,I.q.notoSans),ue=x.a.p.withConfig({displayName:"styles__Title",componentId:"wszs9e-1"})(["width:100%;color:",";font-family:",";font-weight:600;font-size:",";line-height:20px;display:flex;align-items:center;text-overflow:ellipsis;overflow:hidden;:hover{text-decoration:underline;}"],I.o.gray900,I.q.montserrat,I.q.size.normal),se=x.a.p.withConfig({displayName:"styles__Location",componentId:"wszs9e-2"})(["color:",";font-family:",";font-size:14px;line-height:21px;letter-spacing:0.03em;margin-right:5px;"],I.o.blue900,I.q.notoSans),de=c.a.createElement,pe=function(e){var t=e.contenttype,n=e.title,r=e.locations;return de(I.c,{flexDirection:"column",alignItems:"flex-start"},t&&de(le,null,y()(t,"name","")),de(ce.a,{text:n||"",maxLine:"1",ellipsis:"...",trimRight:!0,basedOn:"words",component:ue}),!s()(r)&&de(I.c,null,r.map((function(e,t){var n=e.id,r=e.name;return de(se,{key:n||t},r)}))))},fe=n("gWjb"),he=c.a.createContext(null),me=function(){return c.a.useContext(he)},ge=n("00x5"),ye=n("mVLl"),ve=n("u2yT"),we=x.a.div.withConfig({displayName:"styles__MobileMainImage",componentId:"sc-12rv978-0"})(["min-height:2px;background-color:#fafafa;margin:8px 0 16px;","{display:none;}","{display:none;}"],ve.a.DESKTOP,ve.a.LARGE),be=x()(I.b).withConfig({displayName:"styles__Summary",componentId:"sc-12rv978-1"})(["font-weight:600;"]),xe=x()(I.b).withConfig({displayName:"styles__LinkText",componentId:"sc-12rv978-2"})(["word-break:break-all;margin:8px 0;"]),Oe=x()(ye.b).withConfig({displayName:"styles__RelevantLink",componentId:"sc-12rv978-3"})(["line-height:1px;color:"," !important;:visited{color:"," !important;}"],I.o.blue900,I.o.green600),_e=x.a.a.withConfig({displayName:"styles__AttachmentTitle",componentId:"sc-12rv978-4"})(["color:",";font-family:",";font-weight:400;font-size:16px;line-height:27px;text-decoration:underline;letter-spacing:0.03em;margin:5px 15px;cursor:pointer;:visited{color:"," !important;}"],I.o.blue900,I.q.notoSans,I.o.green600),ke=x.a.div.withConfig({displayName:"styles__RelatedCardWrapper",componentId:"sc-12rv978-5"})(["cursor:pointer;margin-top:15px;"]),Ce=n("KkRY"),je=c.a.createElement,Ie=function(e){return je("svg",e,je("path",{d:"M9.5 5v11.5c0 2.21-1.79 4-4 4s-4-1.79-4-4V4a2.5 2.5 0 0 1 5 0v10.5c0 .55-.45 1-1 1s-1-.45-1-1V5H3v9.5a2.5 2.5 0 0 0 5 0V4c0-2.21-1.79-4-4-4S0 1.79 0 4v12.5C0 19.54 2.46 22 5.5 22s5.5-2.46 5.5-5.5V5H9.5z",fill:"#263238"}))};Ie.defaultProps={width:"11",height:"22",viewBox:"0 0 11 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Se=function(e){return je("svg",e,je("path",{d:"M14.75 2.75H4.25a1.5 1.5 0 0 0-1.5 1.5v10.5a1.5 1.5 0 0 0 1.5 1.5h10.5a1.5 1.5 0 0 0 1.5-1.5V4.25a1.5 1.5 0 0 0-1.5-1.5z",stroke:"#283237",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),je("path",{d:"M6.875 8a1.125 1.125 0 1 0 0-2.25 1.125 1.125 0 0 0 0 2.25zM16.25 11.75L12.5 8l-8.25 8.25",stroke:"#283237",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}))};Se.defaultProps={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ee=function(e){return je("svg",e,je("g",{clipPath:"url(#a)",stroke:"#283237",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"},je("path",{d:"M17.75 5.75L12.5 9.5l5.25 3.75v-7.5zM11 4.25H2.75a1.5 1.5 0 0 0-1.5 1.5v7.5a1.5 1.5 0 0 0 1.5 1.5H11a1.5 1.5 0 0 0 1.5-1.5v-7.5a1.5 1.5 0 0 0-1.5-1.5z"})),je("defs",null,je("clipPath",{id:"a"},je("path",{fill:"#fff",transform:"translate(.5 .5)",d:"M0 0h18v18H0z"}))))};Ee.defaultProps={width:"19",height:"19",viewBox:"0 0 19 19",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Pe=function(){var e=me(),t=Object(q.q)().urlToViewCase,n=e.contenttype,r=e.main_image,o=e.title,i=e.contributors,a=e.created_at,l=e.updated_at,u=e.summary,d=e.problem,p=e.solution,f=e.outcome,g=e.links,v=e.related_articles,b=e.attachments,x=e.additional_info,O=e.authorId,_=e.createdBy,k=e.updatedBy,C=y()(r,"url",""),j=i.find((function(e){return e.id===O})),S=i.find((function(e){return e.id===(k?k.id:null==_?void 0:_.id)})),E=w()([(null==j?void 0:j.id)===(null==S?void 0:S.id)?void 0:j].concat(Object(m.a)(i.filter((function(e){return e.id!==(null==j?void 0:j.id)&&e.id!==(null==S?void 0:S.id)}))),[S]));return je("div",null,je(we,null,C&&je("img",{src:C,style:{width:"100%"},alt:""})),je(I.i,null,y()(n,"name","")),je(I.d,null,o),je(I.m,{height:"15px"}),je(z,{authors:E,createdAt:a,updatedAt:l}),je(I.m,{height:"30px"}),je(ie,{article:e}),Object(ge.b)(u)&&je(c.a.Fragment,null,je(I.m,{height:"65px"}),je(be,{dangerouslySetInnerHTML:{__html:u}})),Object(ge.b)(d)&&je(c.a.Fragment,null,je(Ce.b,null,"Problem"),je(I.b,{dangerouslySetInnerHTML:{__html:d}})),Object(ge.b)(p)&&je(c.a.Fragment,null,je(Ce.b,null,"Solution"),je(I.b,{dangerouslySetInnerHTML:{__html:p}})),Object(ge.b)(f)&&je(c.a.Fragment,null,je(Ce.b,null,"Outcome"),je(I.b,{dangerouslySetInnerHTML:{__html:f}})),Object(ge.b)(x)&&je(c.a.Fragment,null,je(Ce.b,null,"Additional information"),je(I.b,{dangerouslySetInnerHTML:{__html:x}})),!s()(g)&&je(c.a.Fragment,null,je(Ce.b,null,"Relevant links"),g.map((function(e){var t=e.url;return je(xe,{key:t},je(Oe,{href:(null==t?void 0:t.includes("http"))?t:"http://".concat(t),target:"_blank"},t))}))),!s()(b)&&je(c.a.Fragment,null,je(Ce.b,null,"Attachments"),b.filter((function(e){return!!y()(e,"attachment.url")})).map((function(e,t){var n=e.id,r=e.attachment;return je(I.c,{key:n},function(e){return e.includes("image/")?je(Se,{width:20,height:20}):e.includes("video/")?je(Ee,{width:20,height:20}):je(Ie,{width:20,height:20})}(r.mime),je(_e,{href:y()(r,"url"),target:"_blank",download:y()(r,"name","attachment #".concat(t+1))},y()(r,"name","attachment #".concat(t+1))))}))),!s()(v)&&je(c.a.Fragment,null,je(Ce.b,null,"Related articles"),v.map((function(e,n){return je(fe.a,Object(h.a)({key:n},t(e.id.toString())),je(ke,null,je(pe,e)))}))))},Le=n("V11O"),Ae=x.a.div.withConfig({displayName:"styles__ColumnWrapper",componentId:"sc-18opadm-0"})(["@media (max-width:850px){margin:60px 0 0 0;}"]),ze=x.a.div.withConfig({displayName:"styles__MainImage",componentId:"sc-18opadm-1"})(["background-color:#fafafa;","{display:none;}","{display:none;}","{display:none;}","{min-height:165px;}","{min-height:270px;}"],ve.a.MOBILE,ve.a.TABLET,ve.a.LAPTOP,ve.a.DESKTOP,ve.a.LARGE),Te=x.a.div.withConfig({displayName:"styles__TagTextWrapper",componentId:"sc-18opadm-2"})(["background:",";border-radius:50px;padding:7px 10px;margin:5px 10px 5px 0;"],I.o.blue20),De=x.a.p.withConfig({displayName:"styles__TagText",componentId:"sc-18opadm-3"})(["color:",";font-family:",";font-size:12px;line-height:18px;letter-spacing:0.03em;"],I.o.blue900,I.q.notoSans),Re=x()(ye.a).withConfig({displayName:"styles__OrganizationName",componentId:"sc-18opadm-4"})([":hover{text-decoration:underline;}cursor:pointer;margin:5px 15px;"]),Me=n("Zxk+"),qe=c.a.createElement;function Ne(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 He(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Object(T.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Be=function(){var e=Object(N.useSelector)((function(e){return{currentCollection:e.currentCollection}})).currentCollection,t=me(),n=t.main_image,r=t.organizations,o=t.locations,i=t.frameworks,l=t.framework_elements,u=t.tags,d=t.collections,p=Object(q.q)(),f=p.urlToBrowseCases,g=p.urlToViewOrganization,v=y()(n,"url",""),w=(null==e?void 0:e.domain)?"/".concat(e.domain):"",b=(i||[]).filter((function(e){return e.is_visible&&e.use_without_collection})),x=(i||[]).filter((function(e){return e.is_visible&&(e.use_in_collections||[]).some((function(e){return d.map((function(t){return t.id===e.id}))}))})),O=b;return d.length&&O.push.apply(O,Object(m.a)(x.filter((function(e){return!O.some((function(t){return t.id==e.id}))})))),qe(Ae,null,qe(ze,null,v&&qe("img",{src:v,style:{width:"100%"},alt:""})),!s()(r)&&qe(c.a.Fragment,null,qe(Ce.b,null,"Organisations"),r.map((function(e,t){var n=e.logo,r=e.name,o=e.id;return qe(fe.a,Object(h.a)({},g(o.toString()),{key:o||t}),qe(I.c,{margin:"10px 0"},qe("div",null,qe(Le.a,{logo:n,name:r})),qe(Re,null,r)))}))),!s()(o)&&qe(c.a.Fragment,null,qe(Ce.b,null,"Location"),qe(I.c,{flexWrap:"wrap",cursor:"pointer"},o.map((function(e){var t=e.id,n=e.name;return qe(fe.a,Object(h.a)({key:t},f({locations:t.toString()})),qe(Te,null,qe(De,null,n)))})))),O.map((function(e){return He(He({},e),{},{elements:l.filter((function(t){return e.id===t.framework}))})})).filter((function(e){return e.elements.length>0})).map((function(t){return qe(a.Fragment,{key:t.id},qe(Ce.b,null,t.name),qe(I.c,{flexWrap:"wrap"},t.elements.map((function(n){return qe(fe.a,{key:n.id,href:{pathname:"/frameworks/[framework_id]/[framework_element_id]",query:{collection:null==e?void 0:e.domain,framework_id:t.id,framework_element_id:n.id}},as:"".concat(w,"/frameworks/").concat(t.id,"/").concat(n.id)},qe(Te,null,qe(De,null,n.name)))}))))})),!s()(u)&&qe(c.a.Fragment,null,qe(Ce.b,null,"Tags"),qe(I.c,{flexWrap:"wrap"},u.filter((function(e){return!e.tag.match(Me.a)})).map((function(e){var t=e.id,n=e.tag;return qe(Te,{key:t},qe(De,null,n))})))))},Ve=n("HqwZ"),Ue=n("qPyV"),We=n.n(Ue),Ke=n("lVqX"),Fe=n("xOPe"),Ze=c.a.createElement,Ge=function(e){return Ze("svg",e,Ze("path",{d:"M6.5 0c-.93 0-1.691.512-2.188 1.219-.847-.149-1.753.027-2.406.683v.004h-.004c-.656.653-.832 1.559-.683 2.407C.512 4.809 0 5.57 0 6.5c0 .93.512 1.691 1.219 2.188-.149.847.027 1.75.687 2.406.653.656 1.555.836 2.407.687C4.809 12.488 5.57 13 6.5 13c.93 0 1.691-.512 2.188-1.219.847.149 1.75-.027 2.406-.687.656-.653.836-1.555.687-2.406C12.488 8.19 13 7.43 13 6.5c0-.93-.512-1.691-1.219-2.188.149-.847-.027-1.75-.687-2.406v-.004c-.653-.656-1.559-.832-2.406-.683C8.19.512 7.43 0 6.5 0zm0 1c.676 0 1.246.383 1.54.945l.194.367.399-.124a1.749 1.749 0 0 1 1.758.421c.476.48.609 1.153.421 1.758l-.124.399.37.195c.56.293.942.863.942 1.539a1.73 1.73 0 0 1-.941 1.54l-.371.194.124.399a1.74 1.74 0 0 1-.421 1.758 1.74 1.74 0 0 1-1.758.421l-.399-.124-.195.37A1.73 1.73 0 0 1 6.5 12a1.73 1.73 0 0 1-1.54-.941l-.194-.371-.399.124a1.74 1.74 0 0 1-1.758-.421 1.74 1.74 0 0 1-.421-1.758l.124-.399-.367-.195A1.727 1.727 0 0 1 1 6.5c0-.676.383-1.246.945-1.54l.367-.194-.124-.399a1.738 1.738 0 0 1 .421-1.758 1.74 1.74 0 0 1 1.758-.421l.399.124.195-.367A1.727 1.727 0 0 1 6.5 1zm2.645 3.148L5.5 7.793 3.852 6.148l-.704.704L5.5 9.207l4.355-4.355-.71-.704z",fill:"#53B9B0"}))};Ge.defaultProps={width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Ye=function(e){return Ze("svg",e,Ze("path",{d:"M6.5 0c-.93 0-1.691.512-2.188 1.219-.847-.149-1.753.027-2.406.683v.004h-.004c-.656.653-.832 1.559-.683 2.407C.512 4.809 0 5.57 0 6.5c0 .93.512 1.691 1.219 2.188-.149.847.027 1.75.687 2.406.653.656 1.555.836 2.407.687C4.809 12.488 5.57 13 6.5 13c.93 0 1.691-.512 2.188-1.219.847.149 1.75-.027 2.406-.687.656-.653.836-1.555.687-2.406C12.488 8.19 13 7.43 13 6.5c0-.93-.512-1.691-1.219-2.188.149-.847-.027-1.75-.687-2.406v-.004c-.653-.656-1.559-.832-2.406-.683C8.19.512 7.43 0 6.5 0zm0 1c.676 0 1.246.383 1.54.945l.194.367.399-.124a1.749 1.749 0 0 1 1.758.421c.476.48.609 1.153.421 1.758l-.124.399.37.195c.56.293.942.863.942 1.539a1.73 1.73 0 0 1-.941 1.54l-.371.194.124.399a1.74 1.74 0 0 1-.421 1.758 1.74 1.74 0 0 1-1.758.421l-.399-.124-.195.37A1.73 1.73 0 0 1 6.5 12a1.73 1.73 0 0 1-1.54-.941l-.194-.371-.399.124a1.74 1.74 0 0 1-1.758-.421 1.74 1.74 0 0 1-.421-1.758l.124-.399-.367-.195A1.727 1.727 0 0 1 1 6.5c0-.676.383-1.246.945-1.54l.367-.194-.124-.399a1.738 1.738 0 0 1 .421-1.758 1.74 1.74 0 0 1 1.758-.421l.399.124.195-.367A1.727 1.727 0 0 1 6.5 1zm2.645 3.148L5.5 7.793 3.852 6.148l-.704.704L5.5 9.207l4.355-4.355-.71-.704z",fill:"#7E8487"}))};Ye.defaultProps={width:"13",height:"13",viewBox:"0 0 13 13",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var Qe=x.a.div.withConfig({displayName:"ApprovedByCuratorHandler__Wrapper",componentId:"sc-1dsefiw-0"})(["display:flex;align-items:center;cursor:pointer;"]),Xe=x.a.p.withConfig({displayName:"ApprovedByCuratorHandler__Text",componentId:"sc-1dsefiw-1"})(["color:",";margin:0 12px;font-family:",";font-size:14px;line-height:16px;white-space:nowrap;"],I.o.blue900,I.q.openSans),Je=function(e){var t=e.initCheckboxState,n=e.onClickHandler,r=Object(a.useState)(t),o=r[0],i=r[1],c=Object(a.useCallback)((function(e){n(e),i(e)}),[n]);return Ze(Qe,null,Ze(o?Ge:Ye,{width:26,height:26}),Ze(Xe,null,"Approved by curator"),Ze(Fe.a,{onChangeCb:c,initState:t}))},$e=n("3dh4"),et=c.a.createElement,tt=function(){var e=me(),t=Object(q.b)().updateArticle,n=Object(q.e)(),r=n.addCuratedSelection,l=n.removeCuratedSelection,u=Object(a.useState)([]),d=u[0],p=u[1],f=Object(a.useState)([]),h=f[0],g=f[1],v=Object(N.useSelector)((function(e){var t=e.auth.currentUser;return{myCollections:e.currentUserCollections.collections,currentUser:t}})),w=v.myCollections,b=v.currentUser,x=function(){var e=Object(i.a)(o.a.mark((function e(t){var n,r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Object(D.a)({url:"/collections/".concat(t),method:"GET"});case 2:return n=e.sent,r=n.data,e.abrupt("return",r);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();Object(a.useEffect)((function(){(function(){var t=Object(i.a)(o.a.mark((function t(){var n,r;return o.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return n=[],t.next=3,Promise.allSettled(w.map(function(){var e=Object(i.a)(o.a.mark((function e(t){var r;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,x(t.id);case 2:r=e.sent,n.push(r);case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}()));case 3:p(n),r=n.filter((function(t){return t.collection_articles.some((function(t){return t.id===e.id}))})).map((function(e){return e.id})),g(r);case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}})()()}),[w]);var O=b.role===Z.a.CURATOR,_=!s()(e.curatedBy),k=function(n){return function(r){var o=r?[].concat(Object(m.a)(h),[n]):h.filter((function(e){return e!==n}));g(o);var i=e.tags;r&&(i=i.filter((function(e){return!e.tag.match(Me.a)}))),t(e.id.toString(),{collections:o,tags:i})}};return et(c.a.Fragment,null,et(I.c,{flexWrap:"wrap"},e.id&&O&&et(I.c,{margin:"5px 25px 5px 0",width:"auto"},et(Je,{initCheckboxState:_,onClickHandler:function(t){O&&e.id&&(t?(r(e.id.toString()),Ve.toastr.success("Approved!","Readers will know it is a good one!")):(l(e.id.toString()),Ve.toastr.success("Un-approved","Keeping the standards high!")))}})),e.id&&_&&!O&&et(I.c,{margin:"5px 25px 5px 0",width:"auto"},et(Ke.a,null)),e.id&&!s()(d)&&We()(d,"id").map((function(t){var n=y()(t,"collection_articles",[]).some((function(t){return t.id===e.id}));return et(I.c,{key:t.id,margin:"5px 25px 5px 0",width:"auto"},et($e.a,{name:t.name,url:y()(t,"logo.url",""),isAdded:n,onClickHandler:k(t.id)}))}))))},nt=n("ODXe"),rt=n("7evw"),ot=n("nOHt"),it=x.a.div.withConfig({displayName:"styles__CommentSection",componentId:"sc-81zdqk-0"})(["background-color:#fafaff;"]),at=x.a.div.withConfig({displayName:"styles__CommentContainer",componentId:"sc-81zdqk-1"})([""," ","{padding:10px 25px;}","{padding:10px 25px;}","{margin:0 auto;padding:10px 0;}","{margin:0 auto;padding:10px 0;}","{margin:0 auto;padding:10px 0;}"],I.n,ve.a.MOBILE,ve.a.TABLET,ve.a.LAPTOP,ve.a.DESKTOP,ve.a.LARGE),ct=c.a.createElement,lt=function(e){var t=e.id,n=e.title,r=Object(ot.useRouter)().asPath.split("?"),o={url:"https://knowledge-hub.circle-lab.com"+Object(nt.a)(r,1)[0],identifier:t,title:n};return ct(it,null,ct(at,null,ct(rt.DiscussionEmbed,{shortname:"clkh",config:o})))},ut=c.a.createElement,st=function(){var e=Object(q.q)(),t=e.urlHome,n=e.urlToBrowseCases,r=me(),o=r.id,i=r.title,a=[{name:"Home",linkProps:t()},{name:"Case studies",linkProps:n(),isActive:!0}];return ut("div",null,ut(I.a,null,ut(f.a,{navigationLinks:a}),ut(I.m,{height:"30px"}),ut(tt,null),ut(I.m,{height:"30px"}),ut(Ce.a,null,ut(Pe,null),ut(Be,null))),ut(lt,{id:o.toString(),title:i}))},dt=n("4WXO"),pt=n("uFLx"),ft=n("j9ze"),ht=n("9rZX"),mt=n.n(ht),gt=n("6aP6"),yt=x.a.div.withConfig({displayName:"styles__Title",componentId:"sc-19oiamm-0"})(["color:",";font-family:",";font-weight:600;font-size:28px;line-height:24px;text-align:center;margin-bottom:40px;"],I.o.black,I.q.montserrat),vt=x.a.div.withConfig({displayName:"styles__Description",componentId:"sc-19oiamm-1"})(["color:",";font-family:",";font-size:14px;line-height:21px;text-align:center;margin-bottom:15px;","{width:70%;}","{width:70%;}","{width:70%;}"],I.o.gray600,I.q.openSans,ve.a.TABLET,ve.a.DESKTOP,ve.a.LARGE),wt=x.a.div.withConfig({displayName:"styles__ReasonWrapper",componentId:"sc-19oiamm-2"})(["display:flex;justify-content:center;align-items:center;padding:10px 20px;background-color:",";margin:12px 12px 0 0;border-radius:100px;cursor:pointer;border:1px solid ",";"],I.o.gray180,(function(e){return e.isActive?I.o.primary:"transparent"})),bt=x.a.p.withConfig({displayName:"styles__ReasonText",componentId:"sc-19oiamm-3"})(["color:",";font-family:",";font-weight:500;font-size:12px;line-height:16px;text-align:center;margin:0;"],I.o.blue900,I.q.montserrat),xt=x.a.div.withConfig({displayName:"styles__ButtonsWrapper",componentId:"sc-19oiamm-4"})(["display:flex;justify-content:center;width:100%;margin-top:20px;"]),Ot={modal:{content:{width:"100%",maxWidth:500,top:"unset",bottom:"unset",left:"unset",right:"unset",padding:30,boxShadow:"0 0 10px rgba(221, 219, 219, 0.8)",borderRadius:15,border:"none"},overlay:{display:"flex",justifyContent:"center",alignItems:"center",backgroundColor:"rgb(199 199 199 / 80%)",zIndex:5005}},createButton:{marginLeft:20}},_t=c.a.createElement,kt=function(){var e=Object(q.o)().closeModal,t=Object(q.f)().getFlaggedArticleReasons,n=Object(N.useSelector)((function(e){var t=e.modals,n=e.auth.currentUser;return{modalData:t[F.REPORT_ARTICLE_MODAL],currentUser:n}})),r=n.modalData,c=n.currentUser,l=Object(a.useState)([]),u=l[0],s=l[1],d=Object(a.useState)(null),p=d[0],f=d[1],h=Object(a.useState)(""),m=h[0],g=h[1],y=Object(a.useRef)(null),v=function(){var e=Object(i.a)(o.a.mark((function e(){var n;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,t();case 2:n=e.sent,s(n);case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),w=Object(ot.useRouter)();Object(a.useEffect)((function(){v()}),[]);var b=function(){e(F.REPORT_ARTICLE_MODAL,{}),g(""),f(null)},x=function(){var e=Object(i.a)(o.a.mark((function e(){return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r.article){e.next=3;break}return Ve.toastr.warning("Error","Something went wrong with your report"),e.abrupt("return",null);case 3:if(p){e.next=6;break}return Ve.toastr.warning("Warning","Please, select a reason"),e.abrupt("return",null);case 6:return e.prev=6,e.next=9,Object(D.a)({url:"/flagged-articles",method:"POST",data:{user:c,articles:[r.article],reason:m,flagged_article_reason:p}});case 9:Ve.toastr.success("Article reported","Thank you!"),w.reload(),e.next=16;break;case 13:e.prev=13,e.t0=e.catch(6),console.log("reportArticle: ",e.t0);case 16:b();case 17:case"end":return e.stop()}}),e,null,[[6,13]])})));return function(){return e.apply(this,arguments)}}(),O=function(e){return function(){f(e)}};return _t(mt.a,{isOpen:r.isOpen,shouldCloseOnOverlayClick:!0,style:Ot.modal,contentLabel:"Report article Modal",onRequestClose:b,ariaHideApp:!1},_t(I.c,{flexDirection:"column",alignItems:"center"},_t(yt,null,"Report case study"),_t(vt,null,"If you report this case study it will be hidden from public access and reviewed by an administrator."),_t(vt,null,"Please specify the reason for reporting:"),_t(I.c,{flexWrap:"wrap",margin:"0 0 20px 0",justifyContent:"center"},u.map((function(e){return _t(wt,{key:e.id,onClick:O(e),isActive:p&&e.id===p.id},_t(bt,null,e.title))}))),_t(gt.a,{customRef:y,value:m,onChange:function(e){var t=e.currentTarget.value;return g(t)},customStyles:{backgroundColor:I.o.white,border:"1px solid ".concat(I.o.gray180),width:"60%",padding:"10px 15px"},placeholder:"Write your comment"}),_t(xt,null,_t(R.a,{layout:R.b.TERTIARY,onClick:b},"Cancel"),_t(R.a,{layout:R.b.PRIMARY,onClick:x,style:Ot.createButton},"Report"))))},Ct=n("kGv1"),jt=n("lkfV"),It=n("3jpb"),St=c.a.createElement,Et=!0;t.default=Object(jt.e)((function(e){var t,n,r,c,u,d=Object(q.b)().getArticle,f=Object(ot.useRouter)(),h=Object(q.q)().redirectToDraftArticle,m=Object(a.useState)(!e.article),g=m[0],y=m[1],v=Object(a.useState)(e.article),w=v[0],b=v[1],x=function(){var e=Object(i.a)(o.a.mark((function e(){var t;return o.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d(f.query.id);case 2:(null==(t=e.sent)?void 0:t.is_draft)?h({id:t.id.toString()}):(b(t),y(!1),Object(It.a)(f,t.title));case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();Object(a.useEffect)((function(){var t;s()(e.article)?x():((null==w?void 0:w.id)&&(null==w?void 0:w.is_draft)&&h({id:w.id.toString()}),Object(It.a)(f,null===(t=e.article)||void 0===t?void 0:t.title))}),[]),Object(a.useEffect)((function(){f.query.id===(null==w?void 0:w.id.toString())||g||x()}),[f.query.id]);var O=w,_=((null==w?void 0:w.title)||"Unknown article")+" | ",k=(null==w||null===(t=w.collection)||void 0===t?void 0:t.name)?(null==w||null===(n=w.collection)||void 0===n?void 0:n.name)+" | ":"",C="".concat(_).concat(k,"Knowledge Hub | Circle Economy Foundation");return St(Ct.a,null,St(dt.a,{showPlaceholder:g,text:"Loading..."},St(l.a,{title:C,description:(null==w?void 0:w.summary)&&p()(Object(ge.a)(w.summary),{length:300}),image:null==w||null===(r=w.main_image)||void 0===r||null===(c=r.formats)||void 0===c||null===(u=c.thumbnail)||void 0===u?void 0:u.url}),St(dt.a,{showPlaceholder:s()(w),text:"Oops, this article is not found in the Knowledge Hub"},St(he.Provider,{value:O},St(st,null)),St(ft.a,null),St(pt.a,null),St(kt,null))))}))},"6aP6":function(e,t,n){"use strict";var r=n("wx14"),o=n("rePB"),i=n("Ff2n"),a=n("q1tI"),c=n.n(a),l=n("cZi2"),u=c.a.createElement;function s(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;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(e){var t=e.isError,n=e.customStyles,o=e.customRef,a=Object(i.a)(e,["isError","customStyles","customRef"]);return u("textarea",Object(r.a)({ref:o,style:d({width:"100%",minHeight:50,resize:"none",borderRadius:8,border:"1px solid ".concat(t?l.o.red200:l.o.gray199),outline:0,color:"rgb(77, 77, 77)",fontFamily:l.q.openSans,fontStyle:"normal",fontSize:16,padding:"5px 10px"},n||{}),rows:5},a))}},"6yDW":function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("gLav"),a=n.n(i),c=n("gWjb"),l=n("cZi2"),u=o.a.createElement,s=function(e){return u("svg",e,u("path",{d:"M1 11l5-5-5-5",stroke:"#263238"}))};s.defaultProps={width:"7",height:"12",viewBox:"0 0 7 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var d=a.a.ul.withConfig({displayName:"NavigationTop__UnorderedList",componentId:"sc-12jfyno-0"})(["display:flex;align-items:center;list-style:none;align-self:flex-start;flex-wrap:wrap;"]),p=a.a.li.withConfig({displayName:"NavigationTop__ListItem",componentId:"sc-12jfyno-1"})(["cursor:pointer;color:",";font-family:",";font-size:14px;line-height:21px;:hover{color:",";}"],(function(e){return e.isActive?l.o.secondary:l.o.blue900}),l.q.openSans,l.o.secondary);t.a=function(e){var t=e.navigationLinks;return u(d,null,t.map((function(e,n){var o=e.name,i=e.linkProps,a=e.isActive;return u(r.Fragment,{key:o+n},function(e){return e.includes("?step=")||e.includes("is_tags=")}((null==i?void 0:i.href).pathname)?u(c.a,{href:(null==i?void 0:i.href).pathname},u(p,{isActive:a},o)):u(c.a,i,u(p,{isActive:a},o)),n!==t.length-1&&u(s,{width:5,height:10,style:{margin:"0 15px"}}))})))}},"7evw":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"CommentCount",{enumerable:!0,get:function(){return r.CommentCount}}),Object.defineProperty(t,"CommentEmbed",{enumerable:!0,get:function(){return o.CommentEmbed}}),Object.defineProperty(t,"DiscussionEmbed",{enumerable:!0,get:function(){return i.DiscussionEmbed}}),t.default=void 0;var r=n("UZsz"),o=n("Bp/N"),i=n("HhXV"),a={CommentCount:r.CommentCount,CommentEmbed:o.CommentEmbed,DiscussionEmbed:i.DiscussionEmbed};t.default=a},"Bp/N":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommentEmbed=void 0;var r=i(n("q1tI")),o=i(n("17x9"));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function u(e,t){return(u=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function s(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=p(e);if(t){var o=p(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return d(this,n)}}function d(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function p(e){return(p=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var f=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(n,e);var t=s(n);function n(){return c(this,n),t.apply(this,arguments)}return function(e,t,n){t&&l(e.prototype,t),n&&l(e,n)}(n,[{key:"getSrc",value:function(){var e=Number(this.props.commentId).toString(36),t=this.props.showParentComment?"1":"0",n=this.props.showMedia?"1":"0";return"https://embed.disqus.com/p/".concat(e,"?p=").concat(t,"&m=").concat(n)}},{key:"render",value:function(){return r.default.createElement("iframe",{src:this.getSrc(),width:this.props.width,height:this.props.height,seamless:"seamless",scrolling:"no",frameBorder:"0"})}}]),n}(r.default.Component);t.CommentEmbed=f,f.defaultProps={showMedia:!0,showParentComment:!0,width:420,height:320},f.propTypes={commentId:o.default.string.isRequired,showMedia:o.default.bool,showParentComment:o.default.bool,width:o.default.number,height:o.default.number}},HhXV:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DiscussionEmbed=void 0;var r=a(n("q1tI")),o=a(n("17x9")),i=n("ZMnY");function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function d(e,t){return(d=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return f(this,n)}}function f(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=["preData","preInit","onInit","onReady","afterRender","preReset","onIdentify","beforeComment","onNewComment","onPaginate"],g=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&d(e,t)}(n,e);var t=p(n);function n(){return u(this,n),t.apply(this,arguments)}return function(e,t,n){t&&s(e.prototype,t),n&&s(e,n)}(n,[{key:"componentDidMount",value:function(){"undefined"!=typeof window&&window.disqus_shortname&&window.disqus_shortname!==this.props.shortname&&this.cleanInstance(),this.loadInstance()}},{key:"shouldComponentUpdate",value:function(e){return this.props!==e&&(0,i.shallowComparison)(this.props,e)}},{key:"componentDidUpdate",value:function(e){this.props.shortname!==e.shortname&&this.cleanInstance(),this.loadInstance()}},{key:"loadInstance",value:function(){var e=window.document;window&&window.DISQUS&&e.getElementById("dsq-embed-scr")?window.DISQUS.reset({reload:!0,config:this.getDisqusConfig(this.props.config)}):(window.disqus_config=this.getDisqusConfig(this.props.config),window.disqus_shortname=this.props.shortname,(0,i.insertScript)("https://".concat(this.props.shortname,".disqus.com/embed.js"),"dsq-embed-scr",e.body))}},{key:"cleanInstance",value:function(){var e=window.document;(0,i.removeScript)("dsq-embed-scr",e.body),window&&window.DISQUS&&window.DISQUS.reset({});try{delete window.DISQUS}catch(e){window.DISQUS=void 0}var t=e.getElementById("disqus_thread");if(t)for(;t.hasChildNodes();)t.removeChild(t.firstChild)}},{key:"getDisqusConfig",value:function(e){return function(){var t=this;this.page.identifier=e.identifier,this.page.url=e.url,this.page.title=e.title,this.page.category_id=e.categoryID,this.page.remote_auth_s3=e.remoteAuthS3,this.page.api_key=e.apiKey,e.language&&(this.language=e.language),m.forEach((function(n){t.callbacks[n]=[e[n]]}))}}},{key:"render",value:function(){return r.default.createElement("div",l({},this.props,{id:"disqus_thread"}))}}]),n}(r.default.Component);t.DiscussionEmbed=g,g.propTypes={shortname:o.default.string.isRequired,config:o.default.shape({identifier:o.default.string,url:o.default.string,title:o.default.string,language:o.default.string,categoryID:o.default.string,remoteAuthS3:o.default.string,apiKey:o.default.string,preData:o.default.func,preInit:o.default.func,onInit:o.default.func,onReady:o.default.func,afterRender:o.default.func,preReset:o.default.func,onIdentify:o.default.func,beforeComment:o.default.func,onNewComment:o.default.func,onPaginate:o.default.func}).isRequired}},KkRY:function(e,t,n){"use strict";n.d(t,"a",(function(){return c})),n.d(t,"b",(function(){return l}));var r=n("gLav"),o=n.n(r),i=n("u2yT"),a=n("mVLl"),c=o.a.div.withConfig({displayName:"styles__GridWrapper",componentId:"sc-1cclt51-0"})(["","{display:grid;grid-template-columns:minmax(0,700px) 1fr;grid-column-gap:80px;}","{display:grid;grid-template-columns:minmax(0,2fr) 1fr;grid-column-gap:80px;}"],i.a.DESKTOP,i.a.LARGE),l=o()(a.h).withConfig({displayName:"styles__SectionHeader",componentId:"sc-1cclt51-1"})(["margin:80px 0 15px;"])},NBH1:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/article/[id]",function(){return n("63sL")}])},TwOF:function(e,t,n){"use strict";var r=n("wx14"),o=n("Ff2n"),i=n("q1tI"),a=n.n(i),c=n("gLav"),l=n.n(c),u=n("cZi2"),s=l.a.img.withConfig({displayName:"styles__AvatarImage",componentId:"y6qh63-0"})(["width:","px;height:","px;border-radius:50%;position:relative;"],(function(e){return e.size}),(function(e){return e.size})),d=l.a.div.withConfig({displayName:"styles__PlaceholderAvatar",componentId:"y6qh63-1"})(["width:","px;height:","px;border-radius:50%;font-size:20px;font-weight:600;color:white;background-color:",";line-height:","px;text-align:center;"],(function(e){return e.size}),(function(e){return e.size}),u.o.secondary,(function(e){return e.size})),p=a.a.createElement,f=function(e){e.children;var t=e.size,n=e.src,i=e.username,a=Object(o.a)(e,["children","size","src","username"]);return n?p(s,Object(r.a)({width:t,height:t,src:n},a)):p(d,Object(r.a)({size:t},a),null==i?void 0:i.charAt(0))};f.defaultProps={size:36,username:" "};t.a=f},UZsz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CommentCount=void 0;var r=a(n("q1tI")),o=a(n("17x9")),i=n("ZMnY");function a(e){return e&&e.__esModule?e:{default:e}}function c(e){return(c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function d(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=f(e);if(t){var o=f(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return p(this,n)}}function p(e,t){return!t||"object"!==c(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var h=(0,i.debounce)((function(){window.DISQUSWIDGETS&&window.DISQUSWIDGETS.getCount({reset:!0})}),300,!1),m=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(n,e);var t=d(n);function n(){return l(this,n),t.apply(this,arguments)}return function(e,t,n){t&&u(e.prototype,t),n&&u(e,n)}(n,[{key:"componentDidMount",value:function(){this.loadInstance()}},{key:"shouldComponentUpdate",value:function(e){return this.props!==e&&(0,i.shallowComparison)(this.props,e)}},{key:"componentDidUpdate",value:function(e){this.props.shortname!==e.shortname&&this.cleanInstance(),this.loadInstance()}},{key:"loadInstance",value:function(){var e=window.document;e.getElementById("dsq-count-scr")?h():(0,i.insertScript)("https://".concat(this.props.shortname,".disqus.com/count.js"),"dsq-count-scr",e.body)}},{key:"cleanInstance",value:function(){var e=window.document.body;(0,i.removeScript)("dsq-count-scr",e),window.DISQUSWIDGETS=void 0}},{key:"render",value:function(){return r.default.createElement("span",{className:"disqus-comment-count","data-disqus-identifier":this.props.config.identifier,"data-disqus-url":this.props.config.url},this.props.children)}}]),n}(r.default.Component);t.CommentCount=m,m.propTypes={shortname:o.default.string.isRequired,config:o.default.shape({identifier:o.default.string,url:o.default.string,title:o.default.string}).isRequired}},V11O:function(e,t,n){"use strict";var r=n("q1tI"),o=n.n(r),i=n("gLav"),a=n.n(i).a.img.withConfig({displayName:"styles__LogoImage",componentId:"sc-17uc39t-0"})(["width:",";height:",";border-radius:4px;position:relative;"],(function(e){return e.width}),(function(e){return e.height})),c=o.a.createElement,l=function(e){return c("svg",e,c("rect",{x:"10",y:"10",width:"44",height:"44",rx:"10",fill:"#53B9B0"}),c("path",{d:"M27.554 24.632V42m0 0H42V27.921L27.554 22v5.921H21V42h6.554z",stroke:"#fff",strokeOpacity:".7",strokeWidth:"1.829",strokeMiterlimit:"10",strokeLinecap:"round",strokeLinejoin:"round"}))};l.defaultProps={width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var u=function(e){var t=e.logo,n=e.name,r=e.size;return t?c(a,{width:r,height:r,src:t.url,alt:n}):c(l,{width:64,height:64})};u.defaultProps={size:65};t.a=u},ZMnY:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.insertScript=function(e,t,n){var r=window.document.createElement("script");return r.async=!0,r.src=e,r.id=t,n.appendChild(r),r},t.removeScript=function(e,t){var n=window.document.getElementById(e);n&&t.removeChild(n)},t.debounce=function(e,t,n){var r;return function(){var o=this,i=arguments,a=function(){r=null,n||e.apply(o,i)},c=n&&!r;window.clearTimeout(r),r=setTimeout(a,t),c&&e.apply(o,i)}},t.isReactElement=a,t.shallowComparison=function e(t,n){var r,c=function(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e))){var t=0,n=function(){};return{s:n,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:n}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,o,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw o}}}}(new Set(Object.keys(t),Object.keys(n)));try{for(c.s();!(r=c.n()).done;){var l=r.value;if("object"===o(t[l])){if(e(t[l],n[l]))return!0}else if(t[l]!==n[l]&&!a(t[l]))return!0}}catch(e){c.e(e)}finally{c.f()}return!1};var r=function(e){return e&&e.__esModule?e:{default:e}}(n("q1tI"));function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function a(e){return!!r.default.isValidElement(e)||!!Array.isArray(e)&&e.some((function(e){return r.default.isValidElement(e)}))}},"Zxk+":function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var r=/^__(\d*)$/},qO0x:function(e,t,n){"use strict";n.d(t,"a",(function(){return x}));var r=n("q1tI"),o=n.n(r),i=n("HqwZ"),a=n("Y/pV"),c=n("gLav"),l=n.n(c),u=n("cZi2"),s=l.a.div.withConfig({displayName:"styles__ContentWrapper",componentId:"sc-1gbfee8-0"})(["background-color:",";min-width:170px;"],u.o.white),d=l.a.div.withConfig({displayName:"styles__PointerWrapper",componentId:"sc-1gbfee8-1"})(["cursor:pointer;display:flex;align-items:center;justify-content:center;"]),p=l.a.div.withConfig({displayName:"styles__ShareTitle",componentId:"sc-1gbfee8-2"})(["font-family:",";font-style:normal;font-weight:600;font-size:14px;line-height:16px;color:",";margin:15px 20px 8px;"],u.q.montserrat,u.o.black),f=l.a.a.withConfig({displayName:"styles__ListItemWrapper",componentId:"sc-1gbfee8-3"})(["display:flex;align-items:center;cursor:pointer;padding:8px 20px;:hover{background-color:",";svg{path{fill:",";}}}"],u.o.lightBlue200,u.o.primary),h=l.a.div.withConfig({displayName:"styles__ListItemTitle",componentId:"sc-1gbfee8-4"})(["font-family:",";font-style:normal;font-weight:normal;font-size:12px;line-height:16px;color:",";margin-left:15px;"],u.q.openSans,u.o.black),m=l.a.a.withConfig({displayName:"styles__IconWrapper",componentId:"sc-1gbfee8-5"})(["cursor:pointer;:hover{svg{path{fill:",";}}}"],u.o.primary),g=n("nOHt"),y=o.a.createElement,v=function(e){return y("svg",e,y("path",{d:"M2.528.5A2.037 2.037 0 0 0 .5 2.528v10.948c0 1.109.915 2.024 2.028 2.024h10.948a2.035 2.035 0 0 0 2.024-2.024V2.528A2.036 2.036 0 0 0 13.476.5H2.528zm0 1.154h10.948c.487 0 .87.383.87.874v10.948c0 .487-.383.87-.87.87H2.528a.863.863 0 0 1-.874-.87V2.528c0-.491.383-.874.874-.874zm1.434 1.154c-.636 0-1.154.518-1.154 1.154 0 .635.518 1.153 1.154 1.153.635 0 1.153-.518 1.153-1.153 0-.636-.518-1.154-1.153-1.154zM2.808 6.269v6.923h2.307V6.27H2.808zm3.461 0v6.923h2.308V10.1c0-.96.09-1.82 1.244-1.82 1.136 0 1.064 1.032 1.064 1.884v3.028h2.307V9.776c0-1.983-.414-3.507-2.664-3.507-1.081 0-1.627.433-1.924 1.01h-.027v-1.01H6.269z",fill:"#7E8487"}))};v.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var w=function(e){return y("svg",e,y("path",{d:"M2.375.5A1.885 1.885 0 0 0 .5 2.375v11.25c0 1.028.847 1.875 1.875 1.875h11.25a1.884 1.884 0 0 0 1.875-1.875V2.375A1.884 1.884 0 0 0 13.625.5H2.375zm0 1.25h11.25c.352 0 .625.273.625.625v11.25a.617.617 0 0 1-.625.625H2.375a.617.617 0 0 1-.625-.625V2.375c0-.352.273-.625.625-.625zm7.793 2.5a1.91 1.91 0 0 0-1.91 1.91c0 .195.07.327.07.458-1.58-.066-2.893-.854-3.814-1.972-.198.263-.264.591-.264.92 0 .657.256 1.184.784 1.645-.35-.047-.52-.132-.784-.263 0 .921.587 1.644 1.443 1.843 0 0-.33.066-.527.066-.15 0-.33-.066-.33-.066.264.724.921 1.316 1.777 1.316-.657.461-1.514.789-2.37.789H3.78c.625.542 1.562.854 2.896.854 3.489 0 5.4-2.893 5.4-5.393v-.264c.33-.263.658-.592.923-.989-.395.2-.724.264-1.12.33.394-.262.725-.592.856-1.052-.328.196-.723.393-1.184.459-.33-.394-.857-.591-1.384-.591z",fill:"#7E8487"}))};w.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var b=function(e){return y("svg",e,y("path",{d:"M3.385.5A2.893 2.893 0 0 0 .5 3.385v9.23A2.893 2.893 0 0 0 3.385 15.5h9.23a2.893 2.893 0 0 0 2.885-2.885v-9.23A2.893 2.893 0 0 0 12.615.5h-9.23zm0 1.154h9.23c.964 0 1.731.767 1.731 1.73v9.231c0 .964-.767 1.731-1.73 1.731h-1.842V9.692h1.612l.24-1.857h-1.852V6.652c0-.537.15-.903.926-.903h.992V4.088c-.172-.023-.76-.072-1.445-.072-1.428 0-2.404.864-2.404 2.452v1.367l-1.42-.004v1.857l1.42.004v4.654H3.385c-.964 0-1.731-.767-1.731-1.73V3.384c0-.964.767-1.731 1.73-1.731z",fill:"#7E8487"}))};b.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"};var x,O=function(e){return y("svg",e,y("path",{d:"M12.475.5c-.803 0-1.56.316-2.124.884L8.263 3.467a2.99 2.99 0 0 0-.798 2.774l1.154-1.15c.081-.298.23-.577.46-.807l2.088-2.088a1.854 1.854 0 0 1 1.308-.542c.496 0 .96.194 1.33.564a1.842 1.842 0 0 1 0 2.62l-2.083 2.088c-.221.221-.501.37-.794.451L9.76 8.545a2.981 2.981 0 0 0 2.778-.803L14.62 5.66a3.017 3.017 0 0 0-.018-4.275A2.988 2.988 0 0 0 12.475.5zm-2.178 4.613a.585.585 0 0 0-.397.176L5.282 9.907a.577.577 0 0 0 0 .816c.225.226.59.226.82 0l4.618-4.618a.574.574 0 0 0 .127-.64.57.57 0 0 0-.55-.352zM5.588 7.386c-.803 0-1.556.311-2.125.88l-2.087 2.087c-1.173 1.173-1.173 3.08.022 4.276.586.586 1.357.879 2.124.879.771 0 1.542-.293 2.129-.88l2.083-2.083a2.988 2.988 0 0 0 .803-2.773l-1.155 1.15c-.08.293-.23.572-.46.802l-2.088 2.088a1.863 1.863 0 0 1-2.642-.022 1.838 1.838 0 0 1-.541-1.313c0-.491.19-.956.54-1.307l2.089-2.088c.225-.226.505-.38.802-.465l1.16-1.154a3.125 3.125 0 0 0-.654-.077z",fill:"#7E8487"}))};O.defaultProps={width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},function(e){e.FULL="FULL",e.MINI="MINI"}(x||(x={}));var _=function(e){var t=e.contentIconSize,n=e.encodedURI,r=e.copyLink;return y(s,null,y(p,null,"Share via"),y(f,{rel:"noopener noreferrer",target:"_blank",href:"http://www.linkedin.com/shareArticle?mini=true&url=".concat(n)},y(v,{width:t,height:t}),y(h,null,"LinkedIn")),y(f,{rel:"noopener noreferrer",target:"_blank",href:"http://www.twitter.com/share?url=".concat(n)},y(w,{width:t,height:t}),y(h,null,"Twitter")),y(f,{rel:"noopener noreferrer",target:"_blank",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(n)},y(b,{width:t,height:t}),y(h,null,"Facebook")),y(f,{onClick:r,rel:"noopener noreferrer",target:"_blank"},y(O,{width:t,height:t}),y(h,null,"Copy link")))},k=function(e){var t=e.contentIconSize,n=e.encodedURI,r=e.copyLink;return y(s,null,y(p,null,"Share via"),y(u.c,{padding:"0 20px 10px",justifyContent:"space-between"},y(m,{rel:"noopener noreferrer",target:"_blank",href:"http://www.linkedin.com/shareArticle?mini=true&url=".concat(n)},y(v,{width:t,height:t})),y(m,{rel:"noopener noreferrer",target:"_blank",href:"http://www.twitter.com/share?url=".concat(n)},y(w,{width:t,height:t})),y(m,{rel:"noopener noreferrer",target:"_blank",href:"https://www.facebook.com/sharer/sharer.php?u=".concat(n)},y(b,{width:t,height:t})),y(m,{onClick:r,rel:"noopener noreferrer",target:"_blank"},y(O,{width:t,height:t}))))},C=function(e){var t=e.type,n=e.contentIconSize,r=e.children,o=Object(g.useRouter)().asPath,c=encodeURIComponent("https://knowledge-hub.circle-lab.com"+o),l=function(){!function(){var e=document.createElement("input"),t=window.location.href;document.body.appendChild(e),e.value=t,e.select(),document.execCommand("copy"),document.body.removeChild(e)}(),i.toastr.success("","Copied!")},u=t===x.FULL?y(_,{contentIconSize:n,encodedURI:c,copyLink:l}):y(k,{contentIconSize:n,encodedURI:c,copyLink:l});return y(a.a,{dropdownContent:u},y(d,null,r))};C.defaultProps={contentIconSize:15};t.b=C}},[["NBH1",1,0,2,3,4,5,6,7,8,9,10,14,16,19,26]]]);