PageSourceSearch

https://pervouralsk.ru/static/bundle/widget_comments-f9bbf72dca7037e97c0d.js

js pervouralsk.ru collected 2026-10-02 06:41:10 UTC 3,407 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[45],{0:function(t,e,s){"use strict";s.d(e,"a",(function(){return c})),s.d(e,"b",(function(){return i}));var n=s(6),a=s.n(n),c=a.a.create({baseURL:"/api/v1",xsrfHeaderName:"X-CSRFToken",xsrfCookieName:"csrftoken"}),i=a.a.create({headers:{"Content-Type":"application/jsonp"}})},182:function(t,e,s){"use strict";s.d(e,"a",(function(){return a}));s(18);var n=s(0),a={getCommentsList:function(t,e){return n.a.get("/comments/".concat(t,"/").concat(e,"/"))},addCommentPost:function(t,e,s){return n.a.post("/comments/".concat(t,"/").concat(e,"/add/"),s)},getCommentId:function(t){return n.a.get("/comments/user/post/".concat(t,"/"))},putCommentId:function(t,e){return n.a.put("/comments/user/post/".concat(t,"/"),e)},postCommentRep:function(t,e){return n.a.post("/comments/reputation/".concat(t,"/"),e)},getCommentsLast:function(){return n.a.get("/comments/last/")},getUserCommentsList:function(t,e){return n.a.get("/comments/user/".concat(t,"/").concat(e))}}},254:function(t,e,s){"use strict";var n=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"widget"},[t._m(0),s("div",{staticClass:"widget__content"},[s("div",{staticClass:"comments-last"},t._l(t.comments,(function(e,n){return s("div",{key:n,staticClass:"comments-last__item"},[null===e.user?[s("a",{staticClass:"comments-last__ava",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.clickUrlProfile(e.user.id)}}},[s("img",{staticClass:"img--object",attrs:{src:"/static/img/cap/cap_photo.svg"}})]),s("div",{staticClass:"comments-last__content"},[s("div",{staticClass:"content"},[s("div",{staticClass:"content__name"},[s("a",{attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.clickUrlProfile(e.user.id)}}},[t._v(t._s(e.user_name))])]),s("div",{staticClass:"content__text"},[s("a",{attrs:{href:e.url}},[t._v(t._s(e.clear_text))])])])])]:[s("a",{staticClass:"comments-last__ava",attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.clickUrlProfile(e.user.id)}}},[null===e.user.avatar?s("img",{staticClass:"img--object",attrs:{src:"/static/img/cap/cap_photo.svg"}}):s("img",{staticClass:"img--object",attrs:{src:e.user.avatar}})]),s("div",{staticClass:"comments-last__content"},[s("div",{staticClass:"content"},[s("div",{staticClass:"content__name"},[s("a",{attrs:{href:"#"},on:{click:function(s){return s.preventDefault(),t.clickUrlProfile(e.user.id)}}},[t._v(t._s(e.user_name))])]),s("div",{staticClass:"content__text"},[s("a",{attrs:{href:e.url}},[t._v(t._s(e.clear_text))])])])])]],2)})),0)])])};n._withStripped=!0;var a=s(182),c={name:"comments_last",data:function(){return{comments:[]}},created:function(){this.getCommentsLast()},methods:{getCommentsLast:function(){var t=this;a.a.getCommentsLast().then((function(e){t.comments=e.data}))},clickUrlProfile:function(t){window.location.href="/accounts/profile/".concat(t)}}},i=s(1),o=Object(i.a)(c,n,[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"widget__heading"},[e("div",{staticClass:"heading"},[e("span",{staticClass:"title--h6"},[this._v("Последние комментарии")])])])}],!1,null,null,null);o.options.__file="source/app/comments/comments_last.vue";e.a=o.exports},434:function(t,e,s){"use strict";s.r(e);var n=s(3),a=s(254);new n.default({el:"#widget_comments",components:{comments_last:a.a}})}},[[434,1,0]]]);

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.