PageSourceSearch

https://b4ukraine.org/_app/immutable/nodes/51.d34deb74.js

js b4ukraine.org collected 2026-10-02 11:10:47 UTC 6,353 bytes, 1 lines download raw bytes

1import{S as X,i as Y,s as Z,m as V,a as S,e as _,t as J,p as q,g as N,c as p,b as k,d as K,f as u,r as c,u as B,h as v,j as h,v as E,w as y,x as C,l as x,o as I,C as ee,D as te,E as re,k as ae,F as se,G as H,n as Q}from"../chunks/index.31eff074.js";import{S as ie,w as ne,b as le}from"../chunks/index.476fba7f.js";import{P as oe}from"../chunks/preview.722e43e5.js";import{B as ce}from"../chunks/index.7343a974.js";import{p as fe,P as ue,n as U,a as W}from"../chunks/next.375990c0.js";import{p as he}from"../chunks/stores.74aed31f.js";function O(l,e,a){const r=l.slice();return r[8]=e[a],r}function _e(l){let e=[],a=new Map,r,s,t=l[1];const i=n=>n[8].path;for(let n=0;n<t.length;n+=1){let o=O(l,t,n),m=i(o);a.set(m,e[n]=T(m,o))}return{c(){for(let n=0;n<e.length;n+=1)e[n].c();r=I()},l(n){for(let o=0;o<e.length;o+=1)e[o].l(n);r=I()},m(n,o){for(let m=0;m<e.length;m+=1)e[m]&&e[m].m(n,o);v(n,r,o),s=!0},p(n,o){o&2&&(t=n[1],ee(),e=te(e,o,i,1,n,t,a,r.parentNode,se,T,r,O),re())},i(n){if(!s){for(let o=0;o<t.length;o+=1)E(e[o]);s=!0}},o(n){for(let o=0;o<e.length;o+=1)y(e[o]);s=!1},d(n){for(let o=0;o<e.length;o+=1)e[o].d(n);n&&u(r)}}}function T(l,e){let a,r,s;return r=new oe({props:{post:e[8]}}),{key:l,first:null,c(){a=I(),V(r.$$.fragment),this.h()},l(t){a=I(),q(r.$$.fragment,t),this.h()},h(){this.first=a},m(t,i){v(t,a,i),B(r,t,i),s=!0},p(t,i){e=t;const n={};i&2&&(n.post=e[8]),r.$set(n)},i(t){s||(E(r.$$.fragment,t),s=!0)},o(t){y(r.$$.fragment,t),s=!1},d(t){t&&u(a),C(r,t)}}}function pe(l){let e,a;return e=new ue({props:{totalItems:l[3],pageSize:M,currentPage:l[0],limit:1,showStepOptions:!0,$$slots:{prev:[be,({value:r})=>({7:r}),({value:r})=>r?128:0],next:[ve,({value:r})=>({7:r}),({value:r})=>r?128:0],number:[me,({value:r})=>({7:r}),({value:r})=>r?128:0]},$$scope:{ctx:l}}}),{c(){V(e.$$.fragment)},l(r){q(e.$$.fragment,r)},m(r,s){B(e,r,s),a=!0},p(r,s){const t={};s&1&&(t.currentPage=r[0]),s&2177&&(t.$$scope={dirty:s,ctx:r}),e.$set(t)},i(r){a||(E(e.$$.fragment,r),a=!0)},o(r){y(e.$$.fragment,r),a=!1},d(r){C(e,r)}}}function me(l){let e,a=l[7]+"",r,s;return{c(){e=_("a"),r=J(a),this.h()},l(t){e=p(t,"A",{class:!0,slot:!0,href:!0});var i=k(e);r=K(i,a),i.forEach(u),this.h()},h(){c(e,"class","img-wrapper"),c(e,"slot","number"),c(e,"href",s=l[7]===1?"/take-action":`/take-action/${l[7]}`)},m(t,i){v(t,e,i),h(e,r)},p(t,i){i&128&&a!==(a=t[7]+"")&&ae(r,a),i&128&&s!==(s=t[7]===1?"/take-action":`/take-action/${t[7]}`)&&c(e,"href",s)},d(t){t&&u(e)}}}function ge(l){let e,a,r;return{c(){e=_("span"),a=_("img"),this.h()},l(s){e=p(s,"SPAN",{class:!0});var t=k(e);a=p(t,"IMG",{alt:!0,src:!0,width:!0,height:!0}),t.forEach(u),this.h()},h(){c(a,"alt","next"),H(a.src,r=U)||c(a,"src",r),c(a,"width","24"),c(a,"height","24"),c(e,"class","img-wrapper")},m(s,t){v(s,e,t),h(e,a)},p:Q,d(s){s&&u(e)}}}function de(l){let e,a,r,s;return{c(){e=_("a"),a=_("img"),this.h()},l(t){e=p(t,"A",{class:!0,href:!0});var i=k(e);a=p(i,"IMG",{alt:!0,src:!0,width:!0,height:!0}),i.forEach(u),this.h()},h(){c(a,"alt","next"),H(a.src,r=U)||c(a,"src",r),c(a,"width","24"),c(a,"height","24"),c(e,"class","img-wrapper"),c(e,"href",s=`/take-action/${l[0]+1}`)},m(t,i){v(t,e,i),h(e,a)},p(t,i){i&1&&s!==(s=`/take-action/${t[0]+1}`)&&c(e,"href",s)},d(t){t&&u(e)}}}function ve(l){let e,a;function r(i,n){return n&1&&(e=null),e==null&&(e=i[0]<Math.ceil(i[3]/M)),e?de:ge}let s=r(l,-1),t=s(l);return{c(){t.c(),a=I()},l(i){t.l(i),a=I()},m(i,n){t.m(i,n),v(i,a,n)},p(i,n){s===(s=r(i,n))&&t?t.p(i,n):(t.d(1),t=s(i),t&&(t.c(),t.m(a.parentNode,a)))},d(i){t.d(i),i&&u(a)}}}function ke(l){let e,a,r;return{c(){e=_("span"),a=_("img"),this.h()},l(s){e=p(s,"SPAN",{class:!0});var t=k(e);a=p(t,"IMG",{alt:!0,src:!0,width:!0,height:!0}),t.forEach(u),this.h()},h(){c(a,"alt","prev"),H(a.src,r=W)||c(a,"src",r),c(a,"width","24"),c(a,"height","24"),c(e,"class","img-wrapper")},m(s,t){v(s,e,t),h(e,a)},p:Q,d(s){s&&u(e)}}}function $e(l){let e,a,r,s;return{c(){e=_("a"),a=_("img"),this.h()},l(t){e=p(t,"A",{class:!0,href:!0});var i=k(e);a=p(i,"IMG",{alt:!0,src:!0,width:!0,height:!0}),i.forEach(u),this.h()},h(){c(a,"alt","prev"),H(a.src,r=W)||c(a,"src",r),c(a,"width","24"),c(a,"height","24"),c(e,"class","img-wrapper"),c(e,"href",s=l[0]===2?"/take-action":`/take-action/${l[0]-1}`)},m(t,i){v(t,e,i),h(e,a)},p(t,i){i&1&&s!==(s=t[0]===2?"/take-action":`/take-action/${t[0]-1}`)&&c(e,"href",s)},d(t){t&&u(e)}}}function be(l){let e;function a(t,i){return t[0]>1?$e:ke}let r=a(l),s=r(l);return{c(){s.c(),e=I()}
1,l(t){s.l(t),e=I()},m(t,i){s.m(t,i),v(t,e,i)},p(t,i){r===(r=a(t))&&s?s.p(t,i):(s.d(1),s=r(t),s&&(s.c(),s.m(e.parentNode,e)))},d(t){s.d(t),t&&u(e)}}}function we(l){let e,a,r,s,t,i,n,o,m,b,R,j,P,z,G;e=new ie({props:{description:l[4],title:A,schemas:[ne,{...le,name:A,description:l[4]}]}}),t=new ce({props:{current:A}});let g=l[2]&&_e(l),d=l[3]/M>1&&pe(l);return{c(){V(e.$$.fragment),a=S(),r=_("main"),s=_("div"),V(t.$$.fragment),i=S(),n=_("div"),o=_("h1"),m=J(A),b=S(),R=_("hr"),j=S(),P=_("div"),g&&g.c(),z=S(),d&&d.c(),this.h()},l(f){q(e.$$.fragment,f),a=N(f),r=p(f,"MAIN",{class:!0});var $=k(r);s=p($,"DIV",{class:!0});var D=k(s);q(t.$$.fragment,D),i=N(D),n=p(D,"DIV",{class:!0});var w=k(n);o=p(w,"H1",{class:!0});var F=k(o);m=K(F,A),F.forEach(u),b=N(w),R=p(w,"HR",{}),j=N(w),P=p(w,"DIV",{class:!0});var L=k(P);g&&g.l(L),L.forEach(u),z=N(w),d&&d.l(w),w.forEach(u),D.forEach(u),$.forEach(u),this.h()},h(){c(o,"class","text-2"),c(P,"class","list"),c(n,"class","content"),c(s,"class","container"),c(r,"class","take-action page")},m(f,$){B(e,f,$),v(f,a,$),v(f,r,$),h(r,s),B(t,s,null),h(s,i),h(s,n),h(n,o),h(o,m),h(n,b),h(n,R),h(n,j),h(n,P),g&&g.m(P,null),h(n,z),d&&d.m(n,null),G=!0},p(f,[$]){f[2]&&g.p(f,$),f[3]/M>1&&d.p(f,$)},i(f){G||(E(e.$$.fragment,f),E(t.$$.fragment,f),E(g),E(d),G=!0)},o(f){y(e.$$.fragment,f),y(t.$$.fragment,f),y(g),y(d),G=!1},d(f){C(e,f),f&&u(a),f&&u(r),C(t),g&&g.d(),d&&d.d()}}}const M=9,A="Take Action";function Ie(l,e,a){let r,s,t;x(l,he,b=>a(6,t=b));let{data:i}=e;const{posts:n,totalItems:o}=i,m="Learn more about the companies who still work in Russia and their contribution to the ongoing aggression";return l.$$set=b=>{"data"in b&&a(5,i=b.data)},l.$$.update=()=>{l.$$.dirty&64&&a(0,r=Number(t.params.page)||1),l.$$.dirty&1&&a(1,s=fe({items:n,pageSize:M,currentPage:r}))},[r,s,n,o,m,i,t]}class Me extends X{constructor(e){super(),Y(this,e,Ie,we,Z,{data:5})}}export{Me as component};

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.