X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Fstatic%2Fpacks%2Ffeatures%2Fpublic_timeline.js;h=eb800e73e8af996ede65e47b01e626a7afc8e85d;hb=edb659dc579fe56227adef0b0704ff13b6ef717e;hp=348ecba534e4b1116e9ef9e932cbffa64feb5742;hpb=0fe165165f971e66be8870bfa3fc7dc95049b2d2;p=akkoma diff --git a/priv/static/packs/features/public_timeline.js b/priv/static/packs/features/public_timeline.js index 348ecba53..eb800e73e 100644 --- a/priv/static/packs/features/public_timeline.js +++ b/priv/static/packs/features/public_timeline.js @@ -1,2 +1,2 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{701:function(e,n,t){"use strict";t.r(n);var o,i,c,a=t(0),l=t.n(a),r=t(6),d=t.n(r),s=t(3),u=t.n(s),p=t(7),h=t.n(p),m=t(1),f=t.n(m),g=t(12),y=t(4),M=t(2),b=t.n(M),I=t(88),v=t(62),j=t(60),O=t(19),C=t(113),w=t(699),U=t(33),k=Object(g.connect)(function(e,n){var t=n.columnId,o=e.getIn(["settings","columns"]),i=o.findIndex(function(e){return e.get("uuid")===t});return{settings:t&&i>=0?o.get(i).get("params"):e.getIn(["settings","public"])}},function(e,n){var t=n.columnId;return{onChange:function(n,o){e(t?Object(C.f)(t,n,o):Object(U.c)(["public"].concat(n),o))}}})(w.a),P=t(63);t.d(n,"default",function(){return S});var x=Object(y.f)({title:{id:"column.public",defaultMessage:"Federated timeline"}}),S=Object(g.connect)(function(e,n){var t=n.onlyMedia,o=n.columnId,i=o,c=e.getIn(["settings","columns"]),a=c.findIndex(function(e){return e.get("uuid")===i});return{hasUnread:e.getIn(["timelines","public"+(t?":media":""),"unread"])>0,onlyMedia:o&&a>=0?c.get(a).getIn(["params","other","onlyMedia"]):e.getIn(["settings","public","other","onlyMedia"])}})(o=Object(y.g)((c=i=function(e){function n(){var t,o,i;d()(this,n);for(var c=arguments.length,a=Array(c),l=0;l=0?o.get(i).get("params"):e.getIn(["settings","public"])}}),(function(e,t){var n=t.columnId;return{onChange:function(t,o){e(n?Object(M.f)(n,t,o):Object(v.c)(["public"].concat(t),o))}}}))(y.a),w=n(740);n.d(t,"default",(function(){return U}));var C=Object(b.f)({title:{id:"column.public",defaultMessage:"Federated timeline"}}),U=Object(p.connect)((function(e,t){var n=t.columnId,o=n,i=e.getIn(["settings","columns"]),c=i.findIndex((function(e){return e.get("uuid")===o})),a=n&&c>=0?i.get(c).getIn(["params","other","onlyMedia"]):e.getIn(["settings","public","other","onlyMedia"]),l=e.getIn(["timelines","public"+(a?":media":"")]);return{hasUnread:!!l&&l.get("unread")>0,onlyMedia:a}}))(o=Object(b.g)((c=i=function(e){function t(){for(var t,n=arguments.length,o=new Array(n),i=0;i