PageSourceSearch

https://toffeeshare.com/static/js/6.18cb30c0.chunk.js

js toffeeshare.com collected 2026-10-01 10:28:45 UTC 5,092 bytes, 1 lines download raw bytes

1(this.webpackJsonptoffeeshare=this.webpackJsonptoffeeshare||[]).push([[6],{145:function(e,t,n){"use strict";n.d(t,"a",(function(){return b}));var c=n(2),a=n(5),i=n.n(a),s=n(9),o=n(21),r=n(1),l=n(22),d=n(30),u=n(27),m=n(39),f=n(3),j=["en","es","nl"];function b(e){var t=e.color,n=e.children,a=e.title,b=e.description,h=e.image,p=e.onRendered,g=Object(d.b)(),x=Object(l.b)().i18n,O=Object(u.useHistory)(),w=Object(u.useLocation)(),v=Object(u.useParams)().lang,k=Object(d.c)((function(e){return e.settings})).language,N=Object(r.useState)(!1),y=Object(o.a)(N,2),_=y[0],E=y[1];Object(r.useEffect)((function(){v&&j.includes(v)&&(x.changeLanguage(v),g(Object(m.d)(v)))}),[v]),Object(r.useEffect)((function(){L(),C()}),[w]),Object(r.useEffect)((function(){var e=function(){var e=Object(s.a)(i.a.mark((function e(){var t,n;return i.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(k||v){e.next=7;break}if("en"===(n=null===(t=navigator.language)||void 0===t?void 0:t.split("-")[0])||!j.includes(n)){e.next=7;break}return x.changeLanguage(n),e.next=6,g(Object(m.d)(n));case 6:L(n);case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();e()}),[]);var L=function(e){var t="toffeesha.re"===window.location.hostname;if(e)e!==window.location.pathname.split("/")[1]&&O.push("/".concat(e).concat(window.location.pathname));else if(!t&&k&&"en"!==k&&j.includes(k)){var n=window.location.pathname.split("/")[1];v!==n&&O.push("/".concat(k).concat(window.location.pathname))}},C=function(){document.documentElement.setAttribute("lang",v||"en"),j.map((function(e){var t,n="link-".concat(e),c=window.location.pathname.replace("/".concat(v),""),a=document.createElement("link");a.rel="alternate",a.hreflang=e,a.href="https://".concat(window.location.host,"/").concat(e).concat(c),a.id=n,null===(t=document.getElementById(n))||void 0===t||t.remove(),document.head.appendChild(a)}))};return Object(r.useEffect)((function(){document.title=a,document.getElementsByTagName("meta").description.content=b,document.body.className=f.C?"dark":t||"body",E(!0),p&&p()}),[a,b]),Object(c.jsxs)("div",{className:"container-main",children:[Object(c.jsxs)(c.Fragment,{children:[Object(c.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),Object(c.jsx)("meta",{name:"twitter:title",content:a}),Object(c.jsx)("meta",{name:"twitter:description",content:b}),Object(c.jsx)("meta",{name:"twitter:domain",content:"https://toffeeshare.com"}),h&&Object(c.jsx)("meta",{name:"og:image",content:"https://cms.toffeeshare.com".concat(h.url)}),h&&Object(c.jsx)("meta",{name:"twitter:image",content:"https://cms.toffeeshare.com".concat(h.url)})]}),_&&n]})}},178:function(e,t,n){},179:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/xkcd-file-transfer.3163e4b0.png"},180:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/xkcd-file-transfer-dark.171d52bc.png"},181:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/normal-solution.9d2a4793.png"},182:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/normal-solution-dark.944ec5be.png"},183:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/toffeeshare-solution.4b1f7404.png"},184:function(e,t,n){"use strict";n.r(t),t.default=n.p+"static/media/toffeeshare-solution-dark.51de5b82.png"},236:function(e,t,n){"use strict";n.r(t),n.d(t,"default",(function(){return o}));var c=n(2),a=(n(1),n(22)),i=n(145),s=n(3);n(178);function o(){var e=Object(a.b)().t,t=n(179).default,o=n(180).default,r=n(181).default,l=n(182).default,d=n(183).default,u=n(184).default;return Object(c.jsx)(i.a,{color:"white",title:e("info.pageTitle"),description:e("info.pageDescription"),children:Object(c.jsxs)("div",{className:"container-informative view-info",children:[Object(c.jsxs)("div",{className:"container-top",children:[Object(c.jsx)("div",{className:"banner-row",children:Object(c.jsx)("div",{className:"container-circle-icon-big",children:Object(c.jsx)("img",{alt:"Making sharing sweet",className:"banner-img",src:n(88).default})})}),Object(c.jsx)("div",{className:"banner-row",children:Object(c.jsx)("h1",{children:"Making sharing sweet"})})]}),Object(c.jsxs)("div",{className:"container-story-content",children:[Object(c.jsx)("div",{className:"container-intro",children:Object(c.jsx)("p",{dangerouslySetInnerHTML:{__html:e("info.problem")}})}),Object(c.jsx)("a",{className:"container-img-xkcd",href:"https://xkcd.com/949/",target:"_blank",children:Object(c.jsx)("img",{className:"img-xkcd",src:s.C?o:t,alt:"Xkcd comic explaining the issue with file transfers"})}),Object(c.jsxs)("div",{className:"text-block",children:[Object(c.jsx)("h2",{children:e("info.research.title")}),Object(c.jsx)("p",{dangerouslySetInnerHTML:{__html:e("info.research.text")}})]}),Object(c.jsx)("img",{className:"img-explained",src:s.C?l:r}),Object(c.jsxs)("div",{className:"text-block",children:[Object(c.jsx)("h2",{children:e("info.solution.title")}),Object(c.jsx)("p",{dangerouslySetInnerHTML:{__html:e("info.solution.text")}})]}),Object(c.jsx)("img",{className:"img-explained",src:s.C?u:d})]})]})})}}}]);

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.