pixelfed/public/js/rempos.js

1 line
70 KiB
JavaScript
Raw Normal View History

2020-12-18 06:35:50 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[20],{23:function(t,e,s){t.exports=s("hxkz")},"2Jpm":function(t,e,s){"use strict";s.r(e);var a={props:["status"],methods:{playOrPause:function(t){var e=t.target;1==e.getAttribute("playing")?(e.removeAttribute("playing"),e.pause()):(e.setAttribute("playing",1),e.play())}}},i=s("KHd+"),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("div",{staticClass:"embed-responsive embed-responsive-1by1"},[s("video",{staticClass:"video",attrs:{preload:"none",loop:"",poster:t.status.media_attachments[0].preview_url,"data-id":t.status.id},on:{click:function(e){return t.playOrPause(e)}}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])])]):s("div",{staticClass:"embed-responsive embed-responsive-16by9"},[s("video",{staticClass:"video",attrs:{controls:"",preload:"metadata",loop:"",poster:t.status.media_attachments[0].preview_url,"data-id":t.status.id}},[s("source",{attrs:{src:t.status.media_attachments[0].url,type:t.status.media_attachments[0].mime}})])])}),[],!1,null,null,null);e.default=n.exports},"5Rxn":function(t,e,s){(t.exports=s("I1BE")(!1)).push([t.i,"\n.status-comments[data-v-25d454e1],\n.reactions[data-v-25d454e1] {\n background: #fff;\n}\n.postPresenterContainer[data-v-25d454e1] {\n background: #fff;\n}\n@media(min-width: 720px) {\n.postPresenterContainer[data-v-25d454e1] { \n min-height: 600px;\n}\n}\n[data-v-25d454e1]::-webkit-scrollbar {\n width: 0px;\n background: transparent;\n}\n.reply-btn[data-v-25d454e1] {\n position: absolute;\n bottom: 12px;\n right: 20px;\n width: 60px;\n text-align: center;\n border-radius: 0 3px 3px 0;\n}\n.text-lighter[data-v-25d454e1] {\n color:#B8C2CC !important;\n}\n.text-break[data-v-25d454e1] {\n overflow-wrap: break-word;\n}\n.comments p[data-v-25d454e1] {\n margin-bottom: 0;\n}\n.comment-reaction[data-v-25d454e1] {\n font-size: 80%;\n}\n.show-reply-bar[data-v-25d454e1] {\n display: inline-block;\n border-bottom: 1px solid #999;\n height: 0;\n margin-right: 16px;\n vertical-align: middle;\n width: 24px;\n}\n.comment-thread[data-v-25d454e1] {\n margin-top: 1rem;\n}\n.emoji-reactions .nav-item[data-v-25d454e1] {\n font-size: 1.2rem;\n padding: 9px;\n cursor: pointer;\n}\n.emoji-reactions[data-v-25d454e1]::-webkit-scrollbar {\n width: 0px;\n height: 0px;\n background: transparent;\n}\n@media (min-width: 1200px) {\n.container[data-v-25d454e1] {\n max-width: 1100px;\n}\n}\n\n",""])},"9S4p":function(t,e,s){"use strict";var a=s("DBJi");s.n(a).a},"9tPo":function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var s=e.protocol+"//"+e.host,a=s+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,(function(t,e){var i,n=e.trim().replace(/^"(.*)"$/,(function(t,e){return e})).replace(/^'(.*)'$/,(function(t,e){return e}));return/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/|\s*$)/i.test(n)?t:(i=0===n.indexOf("//")?n:0===n.indexOf("/")?s+n:a+n.replace(/^\.\//,""),"url("+JSON.stringify(i)+")")}))}},"9wGH":function(t,e,s){"use strict";s.r(e);var a={props:["status"]},i=s("KHd+"),n=Object(i.a)(a,(function(){var t=this,e=t.$createElement,s=t._self._c||e;return 1==t.status.sensitive?s("div",[s("details",{staticClass:"details-animated"},[s("summary",[s("p",{staticClass:"mb-0 lead font-weight-bold"},[t._v(t._s(t.status.spoiler_text?t.status.spoiler_text:"CW / NSFW / Hidden Media"))]),t._v(" "),s("p",{staticClass:"font-weight-light"},[t._v("(click to show)")])]),t._v(" "),s("b-carousel",{staticStyle:{"text-shadow":"1px 1px 2px #333","background-color":"#000"},attr