PageSourceSearch

https://progressive.international/component---src-layouts-wire-article-layout-tsx-c2c6aff6fed388a5a514.js

js progressive.international collected 2026-10-02 02:43:01 UTC 8,333 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkprogressive_international_website=self.webpackChunkprogressive_international_website||[]).push([[7589],{6081:function(t,e,r){r.d(e,{r:function(){return l}});var n=r(6540),o=r(7437);const l=({value:t})=>{if(0===t.length)return null;if(1===t.length)return(0,o.Y)(n.Fragment,null,t);const e=t.slice(0,t.length-1),r=t[t.length-1];return(0,o.Y)(n.Fragment,null,e.join(", ")," and ",r)}},6300:function(t,e,r){r.r(e);var n=r(2531),o=r(6835),l=r(6540),i=r(6484),a=r(2522),s=r(6081),p=r(2022),d=r(9397),c=r(8661),u=r(6478),h=r(3497),m=r(9524),f=r(7304),g=r(1937);function v(){return v=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},v.apply(null,arguments)}e.default=({data:{node:t,wireDonationBanner:e,movementDonationBanner:r},location:b,pageContext:{locale:x,locales:Y},location:{pathname:y}})=>{var w,U,C,R,k,A,O,T,I,j,S,L,D;const{t:P}=(0,p.Bd)();(0,d.Tn)(x,Y);const $=(0,d.TM)(t,x),_=(0,d.TM)(t.frontmatter.topic,x),z=(0,d.ol)(t.frontmatter.secondaryTopics,x);let B,F;$.anLink&&$.anIdentifier&&$.anSize&&$.anType&&(F=new m.n8($.anLink,$.anIdentifier,$.anSize,$.anType));const E=b.pathname.split("/")[1];B="movement"===E?(0,d.TM)(r,x):(0,d.TM)(e,x);const M=(0,h.mC)(x);let N;if("wire"===E&&null!=b&&b.href&&($.shortAbstract||$.abstract)&&$.title){const t=$.shortAbstract?$.shortAbstract:$.abstract;N=new f._6(t||"",null==b?void 0:b.href,$.title)}return(0,l.useEffect)(()=>{"ru"==x&&(0,g.GA)()},[x]),(0,n.Y)(h.et,{locale:x},(0,n.Y)(o.az,{sx:{textAlign:M.defaultDir}},(0,n.Y)(c.A,{path:y,lang:$.locale,title:$.title,description:$.shortAbstract||$.abstract,imageUrl:null===(w=t.frontmatter.featuredImage)||void 0===w?void 0:w.publicURL,locales:Y}),(0,n.Y)(i.w1,{mono:!0,node:t,alt:$.featuredImageAlt},(0,n.Y)(i.pn,v({className:"article-content"},$,{mono:!0,content:t}))),(0,n.Y)(i.NE,v({},$,{content:t,anData:F||void 0,donationBanner:B.html,meta:(0,n.Y)(i.lx,{color:t.fields.themeColor},(null==Y?void 0:Y.length)&&(0,n.Y)(i.Qu,{locale:x,locales:Y}),!(null===(U=t.frontmatter.authors)||void 0===U||!U.length)&&(0,n.Y)(i.UR,{label:t.frontmatter.authors.length>1?P("Authors"):P("Author")},(0,n.Y)(s.r,{value:t.frontmatter.authors.map(t=>null===t?" ":t.frontmatter.title)})),!(null===(C=$.translators)||void 0===C||!C.length)&&(0,n.Y)(i.UR,{label:(0,n.Y)("span",null,(null===(R=$.translators)||void 0===R?void 0:R.length)>1?P("Translators"):P("Translator"))},(0,n.Y)(s.r,{value:null===(k=$.translators)||void 0===k?void 0:k.map(t=>null===t?" ":t.frontmatter.title)})),(0,n.Y)(i.UR,{label:P("Date")},(0,n.Y)(a.k3,{value:t.frontmatter.publishDate})),(null===(A=t.frontmatter.source)||void 0===A?void 0:A.frontmatter)&&(0,n.Y)(i.UR,{label:P("Source")},(0,n.Y)(u.N_,{to:null===t.frontmatter.originalURL||void 0===t.frontmatter.originalURL?" ":t.frontmatter.originalURL},(null===(O=t.frontmatter.source)||void 0===O||null===(T=O.frontmatter)||void 0===T||null===(I=T.logo)||void 0===I?void 0:I.publicURL)&&(0,n.Y)("img",{src:null===(j=t.frontmatter.source)||void 0===j||null===(S=j.frontmatter.logo)||void 0===S?void 0:S.publicURL,alt:null===(L=t.frontmatter.source)||void 0===L?void 0:L.frontmatter.title,sx:{width:"100%",mixBlendMode:"multiply",filter:"grayscale()",opacity:.5}}),(0,n.Y)("span",{id:"original-article-link"},(0,n.Y)("span",null,null!==(D=t.frontmatter.source)&&void 0!==D&&D.frontmatter.title||t.frontmatter.originalURL?(0,n.Y)(p.x6,null,"Original article"):null),t.frontmatter.originalURL&&(0,n.Y)("span",{sx:{ml:2}},"🔗")))),N&&(0,n.Y)(o.az,{id:"social-sharer"},(0,n.Y)(f.zp,{shareData:N,type:t.frontmatter.pillar||t.fields.type,sx:{paddingTop:"15px",paddingBottom:"25px"}})),z&&z.length>0&&(0,n.Y)(o.az,null,(0,n.Y)(i.IV,{mainTopic:_,topics:z,type:t.frontmatter.pillar||t.fields.type,sx:{paddingTop:"15px",paddingBottom:"25px"}})))}))))}},7304:function(t,e,r){r.d(e,{_6:function(){return g},zp:function(){return y}});var n=r(7875),o=r(7897),l=r(2337),i=r(2531),a=r(1937);const s=["shareUrl","type","message"],p=["shareUrl","type","title","message"],d=["shareUrl","type","message"],c=["shareUrl","type","message"],u=["shareData","type"];function h(){return h=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)({}
1).hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},h.apply(null,arguments)}function m(t,e){if(null==t)return{};var r,n,o=function(t,e){if(null==t)return{};var r={};for(var n in t)if({}.hasOwnProperty.call(t,n)){if(-1!==e.indexOf(n))continue;r[n]=t[n]}return r}(t,e);if(Object.getOwnPropertySymbols){var l=Object.getOwnPropertySymbols(t);for(n=0;n<l.length;n++)r=l[n],-1===e.indexOf(r)&&{}.propertyIsEnumerable.call(t,r)&&(o[r]=t[r])}return o}function f(t,e,r){return(e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class g{constructor(t,e,r){f(this,"message",void 0),f(this,"url",void 0),f(this,"title",void 0),this.message=t,this.url=e,this.title=r}}const v=t=>{let{shareUrl:e,type:r,message:o=""}=t,p=m(t,s);const d=`https://twitter.com/intent/tweet?url=${e}`+(o&&""!=o?`&text=${encodeURIComponent(o)}`:"");return(0,i.Y)("div",{sx:{display:"inline-block",margin:"2.5px",verticalAlign:"top"}},e&&(0,i.Y)("a",{href:d},(0,i.Y)("div",h({sx:{height:["45px","45px","30px"],width:["45px","45px","30px"],display:"inline-block",borderRadius:"100%",borderWidth:["2px","2px","1px"],borderStyle:"solid",borderColor:r?(0,a.CY)(r):"#1d9cf0",svg:{color:r?(0,a.CY)(r):"#1d9cf0",width:"75%",height:"75%",margin:"12.5%"}}},p),(0,i.Y)(l.gc,{icon:n.HQ1}))))},b=t=>{let{shareUrl:e,type:r,title:n="",message:s=""}=t,d=m(t,p);const c=`mailto:?body=${encodeURIComponent(s)+" "+encodeURIComponent(e)}&subject=${encodeURIComponent(n)}`;return(0,i.Y)("div",{sx:{display:"inline-block",margin:"2.5px",verticalAlign:"top"}},e&&(0,i.Y)("a",{href:c},(0,i.Y)("div",h({sx:{height:["45px","45px","30px"],width:["45px","45px","30px"],display:"inline-block",borderRadius:"100%",borderWidth:["2px","2px","1px"],borderStyle:"solid",borderColor:r?(0,a.CY)(r):"#1d9cf0",svg:{color:r?(0,a.CY)(r):"#1d9cf0",width:"70%",height:"70%",margin:"15%"}}},d),(0,i.Y)(l.gc,{icon:o.y_8}))))},x=t=>{let{shareUrl:e,type:r,message:o=""}=t,s=m(t,d);const p=`https://wa.me/?text=${e}`+(o&&""!=o?`%20${encodeURIComponent(o)}`:"");return(0,i.Y)("div",{sx:{display:"inline-block",margin:"2.5px",verticalAlign:"top"}},e&&(0,i.Y)("a",{href:p},(0,i.Y)("div",h({sx:{height:["45px","45px","30px"],width:["45px","45px","30px"],display:"inline-block",borderRadius:"100%",borderWidth:["2px","2px","1px"],borderStyle:"solid",borderColor:r?(0,a.CY)(r):"#1d9cf0",svg:{color:r?(0,a.CY)(r):"#1d9cf0",width:"75%",height:"75%",margin:"12.5%"}}},s),(0,i.Y)(l.gc,{icon:n.EYA}))))},Y=t=>{let{shareUrl:e,type:r,message:o=""}=t,s=m(t,c);const p=`https://t.me/share/url?url=${e}`+(o&&""!=o?`&text=${encodeURIComponent(o)}`:"");return(0,i.Y)("div",h({sx:{display:"inline-block",background:"transparent",height:["45px","45px","30px"],width:["45px","45px","30px"],margin:"2.5px",borderRadius:"100%",borderWidth:["2px","2px","1px"],borderStyle:"solid",borderColor:r?(0,a.CY)(r):"#1d9cf0",position:"relative",overflow:"hidden",verticalAlign:"top","> a":{position:"absolute",display:"block",height:"100%",width:"100%"},"> a > svg":{color:"#F7F4F1",height:"130%",width:"130%",position:"absolute",top:"-15%",left:"-15%"}}},s),(0,i.Y)("div",{sx:{position:"absolute",backgroundColor:r?(0,a.CY)(r):"#1d9cf0",borderRadius:"100%",top:"0",bottom:"0",left:"0",right:"0"}}),e&&(0,i.Y)("a",{href:p},(0,i.Y)(l.gc,{icon:n.NFJ})))},y=t=>{let{shareData:e,type:r}=t,n=m(t,u);return(0,i.Y)("div",n,(0,i.Y)(v,{shareUrl:e.url,message:e.message,type:r}),(0,i.Y)(Y,{shareUrl:e.url,message:e.message,type:r}),(0,i.Y)(x,{shareUrl:e.url,message:e.message,type:r}),(0,i.Y)(b,{shareUrl:e.url,message:e.message,title:e.title,type:r}))}}}]);
2//# sourceMappingURL=component---src-layouts-wire-article-layout-tsx-c2c6aff6fed388a5a514.js.map

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.