PageSourceSearch

https://hotline.ua/frontend/_nuxt/5.9c268b9.modern.js

js hotline.ua collected 2026-10-01 10:12:49 UTC 35,021 bytes, 1 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[5,323],{1212:function(e,t,i){var a=i(1776);a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);(0,i(14).default)("1f8404f2",a,!0,{sourceMap:!1})},1775:function(e,t,i){"use strict";i(1212)},1776:function(e,t,i){var a=i(13)(!1);a.push([e.i,'.review[data-v-45082dd4]{display:-webkit-box;display:-moz-box;display:flex}.review__box-user-avatar[data-v-45082dd4]{margin-right:10px}@media(max-width:800px){.review__box-user-avatar[data-v-45082dd4]{display:none}}.review__col-content[data-v-45082dd4]{-webkit-box-flex:1;-moz-box-flex:1;flex-grow:1}.review__img-user-avatar[data-v-45082dd4]{border-radius:50%;width:65px;height:65px;object-fit:cover;object-position:center}.review__icon-experienced-user[data-v-45082dd4]{fill:#f29000;margin-bottom:-5px;width:24px;margin-left:3px}.review__label-moderation[data-v-45082dd4]{color:#e57373;display:inline-block;font-size:13px;font-weight:600;margin-left:10px;text-transform:uppercase}.review__row-header[data-v-45082dd4]{-webkit-box-align:center;-moz-box-align:center;align-items:center;margin-bottom:10px}.review__moderation-date-box[data-v-45082dd4],.review__row-header[data-v-45082dd4]{display:-webkit-box;display:-moz-box;display:flex}.review__moderation-date-box--profile[data-v-45082dd4]{margin-top:10px}@media(max-width:642px){.review__user-name-box[data-v-45082dd4]{margin-bottom:3px}}.review__user-name[data-v-45082dd4]{color:var(--link-color-blue);font-size:18px}.review__user-title[data-v-45082dd4]{display:-webkit-box;display:-moz-box;display:flex;-webkit-box-align:start;-moz-box-align:start;align-items:flex-start}@media(max-width:642px){.review__user-title[data-v-45082dd4]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-moz-box-orient:vertical;-moz-box-direction:normal;flex-direction:column;margin-bottom:8px}}.review__date[data-v-45082dd4]{color:#888}.review__edit[data-v-45082dd4]{-webkit-box-align:center;-moz-box-align:center;align-items:center;color:var(--gray-icon);display:-webkit-box;display:-moz-box;display:flex;margin-bottom:10px}.review__edit-icon[data-v-45082dd4]{fill:var(--graphite-icon);width:18px;margin-right:5px;margin-bottom:1px;height:18px}.review__row-rating[data-v-45082dd4]{display:-webkit-box;display:-moz-box;display:flex;flex-wrap:wrap;margin-bottom:6px}@media(max-width:642px){.review__row-rating[data-v-45082dd4]{margin-bottom:10px}}.review__recommend[data-v-45082dd4]{font-weight:600;letter-spacing:var(--letter-spacing-bold);margin-left:9px}.review__recommend .svg-icon[data-v-45082dd4]{width:21px;height:21px;vertical-align:middle}.review__recommend--like[data-v-45082dd4]{color:#7cb342;fill:#7cb342}.review__recommend--like .svg-icon[data-v-45082dd4]{fill:#7cb342}.review__recommend--dislike[data-v-45082dd4]{color:#e57373;fill:#e57373}.review__recommend--dislike .svg-icon[data-v-45082dd4]{fill:#e57373}@media(max-width:642px){.review__recommend[data-v-45082dd4]{margin:0}}.review__criteria-rating-row[data-v-45082dd4]{display:-webkit-box;display:-moz-box;display:flex;margin-bottom:5px}.review__criteria-rating-stars[data-v-45082dd4]{margin-right:5px}.review__experience-row[data-v-45082dd4]{margin-bottom:7px}.review__experience-name[data-v-45082dd4]{flex-shrink:0;margin-right:5px}.review__row-comment[data-v-45082dd4]{line-height:1.4;margin:10px 0}.review__media[data-v-45082dd4]{display:-webkit-box;display:-moz-box;display:flex;flex-wrap:wrap;margin-right:-20px}@media(max-width:642px){.review__media[data-v-45082dd4]{margin-right:-10px}}.review__media-item[data-v-45082dd4]{-webkit-box-align:center;-moz-box-align:center;align-items:center;border:1px solid var(--border-color-gray-dark);cursor:pointer;display:-webkit-box;display:-moz-box;display:flex;height:100px;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;margin-bottom:10px;margin-right:20px;padding:10px;position:relative;width:calc(25% - 20px)}@media(max-width:642px){.review__media-item[data-v-45082dd4]{margin-right:10px;width:calc(50% - 10px)}}.review__media-item--video .svg-icon[data-v-45082dd4]{fill:#fff;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:45px;height:45px;z-index:2}.review__media-img[data-v-45082dd4]{max-height:100%;max-width:100%}:root.dark-mode .review__media-img[data-v-45082dd4]{border-radius:4px}.review__row-rate-review[data-v-45082dd4]{margin-bottom:20px}.review__rate-review-text[data-v-45082dd4]{margin-right:20px}@media(max-width:502px){.review__rate-review-text[data-v-45082dd4]{display:block;margin-bottom:5px;margin-right:0}}.review__rate-review-counter[data-v-45082dd4]{-webkit-box-align:center;-moz-box-align:center;align-items:center;border:1px solid var(--border-color-gray);border-radius:2px;display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex;-webkit-box-pack:center;-moz-box-pack:center;justify-content:center;margin-left:10px;padding:8px 15px;position:relative}.review__rate-review-counter[data-v-45082dd4]:after,.review__rate-review-counter[data-v-45082dd4]:before{background-color:transparent;border:solid transparent;content:"";height:0;position:absolute;width:0}.review__rate-review-counter[data-v-45082dd4]:after{border-right-color:var(--darkest-panel-background);border-width:6px 6px 6px 0;left:-6px;top:calc(50% - 6px)}.review__rate-review-counter[data-v-45082dd4]:before{border-right-color:var(--border-color-gray);border-width:7px 7px 7px 0;left:-7px;top:calc(50% - 7px)}.review__modal-video-box[data-v-45082dd4]{height:0;margin-top:35px;overflow:hidden;padding-bottom:56.25%;position:relative}.review__modal-video-iframe[data-v-45082dd4]{height:100%;left:0;position:absolute;top:0;width:100%}',""]),e.exports=a},671:function(e,t,i){var a=i(729);
1a.__esModule&&(a=a.default),"string"==typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);(0,i(14).default)("755c93ca",a,!0,{sourceMap:!1})},728:function(e,t,i){"use strict";i(671)},729:function(e,t,i){var a=i(13)(!1);a.push([e.i,".comments__header[data-v-8ec05566]{-webkit-box-align:center;-moz-box-align:center;align-items:center;border-top:1px solid var(--divider-color-gray);display:-webkit-box;display:-moz-box;display:flex;flex-wrap:wrap;-webkit-box-pack:justify;-moz-box-pack:justify;justify-content:space-between;padding:5px 0}@media(max-width:642px){.comments__header[data-v-8ec05566]{padding-top:15px}}.comments__count[data-v-8ec05566]{margin:0 10px}.comments__list[data-v-8ec05566]{border-top:1px solid var(--divider-color-gray);padding-top:10px}.comments__item[data-v-8ec05566]{border-bottom:1px solid var(--divider-color-gray);padding-top:10px;scroll-margin-top:50px}.comments__item-row-1[data-v-8ec05566]{display:-webkit-box;display:-moz-box;display:flex}.comments__item-row-2[data-v-8ec05566]{margin-bottom:10px}.comments__item[data-v-8ec05566]:last-child{border-bottom:0}.comments__item-col-user-avatar[data-v-8ec05566]{flex-shrink:0;margin-right:10px;width:50px}@media(max-width:642px){.comments__item-col-user-avatar[data-v-8ec05566]{display:none}}.comments__item-col-content[data-v-8ec05566]{-webkit-box-flex:1;-moz-box-flex:1;flex-grow:1}.comments__item.blink[data-v-8ec05566]{-webkit-animation-name:blink-data-v-8ec05566;animation-name:blink-data-v-8ec05566;-webkit-animation-iteration-count:1;animation-iteration-count:1;-webkit-animation-duration:2s;animation-duration:2s;-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}@-webkit-keyframes blink-data-v-8ec05566{0%{background-color:transparent}50%{background-color:var(--light-blueish-panel-background)}to{background-color:transparent}}@keyframes blink-data-v-8ec05566{0%{background-color:transparent}50%{background-color:var(--light-blueish-panel-background)}to{background-color:transparent}}.comments__date[data-v-8ec05566]{float:right;color:#888;white-space:nowrap}.comments__user-name-answer-icon[data-v-8ec05566]{cursor:pointer;margin-top:-4px;width:19px;height:19px;vertical-align:middle;fill:var(--graphite-icon);pointer-events:auto}.comments__user-name-answer[data-v-8ec05566]:hover{color:var(--link-color-blue)}.comments__img-user-avatar[data-v-8ec05566]{border-radius:50%;object-fit:cover;object-position:center;width:50px;height:50px}.comments__row-comment[data-v-8ec05566]{line-height:1.4;margin-top:5px}.comments__row-bottom-panel[data-v-8ec05566]{display:-webkit-box;display:-moz-box;display:flex;flex-wrap:wrap;margin:5px 0 10px;grid-gap:10px;gap:10px}.comments__bottom-panel-like[data-v-8ec05566],.comments__row-bottom-panel[data-v-8ec05566]{-webkit-box-align:center;-moz-box-align:center;align-items:center}.comments__bottom-panel-like[data-v-8ec05566]{display:-webkit-inline-box;display:-moz-inline-box;display:inline-flex}.comments__bottom-panel-like-icon.comments__bottom-panel-like-icon[data-v-8ec05566]{margin-right:5px}.comments__bottom-panel-like-icon.comments__bottom-panel-like-icon--active[data-v-8ec05566]{color:#f29000}.comments__bottom-panel-like-icon.comments__bottom-panel-like-icon--active[data-v-8ec05566]  svg{fill:#f29000}.comments__bottom-panel-like-count[data-v-8ec05566]{margin-left:5px}.comments__bottom-panel-answer[data-v-8ec05566],.comments__bottom-panel-like[data-v-8ec05566]{color:#888;cursor:pointer}.comments__box-expand[data-v-8ec05566]{padding:10px 0}.comments__btn-expand[data-v-8ec05566]{cursor:pointer}.comments__btn-expand-icon[data-v-8ec05566]{width:15px;vertical-align:middle;fill:var(--graphite-icon);margin-left:3px;-webkit-transition:.3s;transition:.3s}.comments__btn-expand-icon.active[data-v-8ec05566]{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.comments__images[data-v-8ec05566]{display:-webkit-box;display:-moz-box;display:flex;-webkit-box-align:center;-moz-box-align:center;align-items:center;grid-gap:10px;gap:10px;flex-wrap:wrap;margin:10px 0}.comments__images-item img[data-v-8ec05566]{cursor:pointer;max-height:100px;min-height:50px;width:100%;height:100%}",""]),e.exports=a},814:function(e,t,i){"use strict";i(37),i(202);var a=i(654),o=i(99),n=i(661),r=i.n(n),s={name:"Comments",i18n:{messages:{ru:i(662),ua:i(663)}},components:{IconArrowUp:()=>i.e(67).then(i.t.bind(null,2646,7)),IconEmoticonUp:r.a,IconChevronDownSolid:()=>Promise.resolve().then(i.t.bind(null,42,7)),ButtonWithIcon:()=>i.e(48).then(i.bind(null,665)),DiscussionForm:()=>i.e(314).then(i.bind(null,1526)),ZoomGallery:()=>Promise.all([i.e(3),i.e(14)]).then(i.bind(null,860))},mixins:[a.a],props:{params:{type:Object,default:()=>({})},lineProductId:{type:Number},type:{type:String},userActionsEnabled:{type:Boolean,default:!0},eventTracking:{type:Object,default:()=>({})}},data:()=>({isExpand:!1,listFormAdd:{visible:{},action:{}},busyCommentId:null,isShowZoomGallery:!1,zoomGalleryData:{isGalleryIn:!0,items:[],itemActiveNum:1}}),computed:{idUserCurrent(){return this.$store.state.user._id},userRights(){return this.$store.state.product.userRights},isShowAttachedImages(){return("product"===this.type||"profile"===this.type)&&"ProductReview"===this.params.typename}},watch:{params(){this.listFormAdd.visible={}}}
1,mounted(){var{tab:e,filter:t,questionId:i}=this.$route.query;"product-regular"===this.$store.state.pageType.type&&"Question"===this.params.typename&&e===o.m&&"questions"===t&&i&&this.params.comments.filter((e=>e.node._id.toString()===i)).length&&this.$nextTick((()=>{this.isExpand||this.expandComments(),setTimeout((()=>{this.$refs["item".concat(i)][0]&&this.$refs["item".concat(i)][0].scrollIntoView({behavior:"smooth"})}),200)}))},methods:{getAuthorName(e){var t,i;return(null==e||null===(t=e.author)||void 0===t||null===(i=t.name)||void 0===i?void 0:i.trim())||""},getAuthorDisplayName(e){return this.getAuthorName(e)||this.$t("guest")},canOpenAuthorProfile(e){var t;return Boolean((null==e||null===(t=e.author)||void 0===t?void 0:t._id)&&this.getAuthorName(e))},isOnModeration(e){var{approved:t,status:i,__typename:a}=e;return"Comment"===a&&"disabled"===i||"Question"===a&&!1===t},scrollToComment(e){var t,i=null===(t=this.$refs["item".concat(e)])||void 0===t?void 0:t[0];i&&(i.classList.add("blink"),i.scrollIntoView({behavior:"smooth",block:"center"}),setTimeout((()=>{i.classList.remove("blink")}),2e3))},expandComments(){this.isExpand=!this.isExpand},goToPageLogin(){this.$router.push(this.localePath("/login/"))},toggleFormComment(e,t){this.idUserCurrent?(this.$set(this.listFormAdd.action,e,t),this.$set(this.listFormAdd.visible,e,!this.listFormAdd.visible[e])):this.goToPageLogin()},addedComment(e){var t,i,a,o,n,r;this.$emit("on-comment-add",e);var s=e.replyId||(null===(t=e.comment)||void 0===t?void 0:t.replyId)||(null===(i=e.comment)||void 0===i||null===(a=i.node)||void 0===a?void 0:a.replyId),d=e._id||(null===(o=e.comment)||void 0===o?void 0:o._id)||(null===(n=e.comment)||void 0===n||null===(r=n.node)||void 0===r?void 0:r._id);s&&this.toggleFormComment(s),this.isExpand||this.expandComments(),setTimeout((()=>{this.scrollToComment(d)}),200)},editedComment(e){this.$emit("on-comment-edit",e)},addLike(e){if(this.idUserCurrent){if(!e.isLiked)if(this.busyCommentId=e.idComment,"ProductReview"===this.params.typename){var t={idComment:e.idComment,reviewId:this.params.reviewId};this.$store.dispatch("product/userReviews/addCommentLike",{data:t}).then((i=>{if(i){switch(this.type){case"product":this.$store.commit("product/userReviews/addCommentLike",t);break;case"catalog":this.$store.commit("catalog/feedback/addCommentLike",t);break;case"brand":this.$store.commit("brands/singleBrand/addCommentLike",t);break;case"allProducts":this.$store.commit("productReviews/allReviews/addCommentLike",t);break;default:this.$store.commit("product/userReviews/addCommentLike",t)}this.$emit("on-add-comment-like",e.idComment)}})).catch((()=>{this.$popupInit({isWarning:!0,message:this.$t("g.errorTryAgain")})})).finally((()=>{this.busyCommentId=null}))}else if("GuideArticle"===this.params.typename)this.$store.dispatch("guides/addGuideArticleCommentLike",{data:{_id:e.idComment}}).then((()=>{this.$emit("on-add-comment-like",e.idComment)})).catch((()=>{this.$popupInit({isWarning:!0,message:"ua"===this.$i18n.locale?"Ви вже проголосували":"Вы уже проголосовали"})})).finally((()=>{this.busyCommentId=null}));else{var i={idComment:e.idComment,reviewId:this.params.reviewId};this.$store.dispatch("product/questions/addCommentLike",{data:i}).then((t=>{if(t){switch(this.type){case"product":this.$store.commit("product/questions/addCommentLike",i);break;case"catalog":this.$store.commit("catalog/feedback/addCommentLike",i);break;case"allQuestions":this.$store.commit("productQuestions/allQuestions/addCommentLike",i);break;default:this.$store.commit("product/questions/addCommentLike",i)}this.$emit("on-add-comment-like",e.idComment)}})).catch((()=>{this.$popupInit({isWarning:!0,message:"ua"===this.$i18n.locale?"Ви вже проголосували":"Вы уже проголосовали"})})).finally((()=>{this.busyCommentId=null}))}}else this.goToPageLogin()},showZoomGallery(e,t){var i=t.findIndex((t=>t.linkId===e));this.zoomGalleryData.items=t.map((e=>({imageThumb:e.thumbFile,imageBig:e.originalFile,type:"image"}))),this.zoomGalleryData.itemActiveNum=i,this.isShowZoomGallery=!0}}},d=(i(728),i(7)),m=Object(d.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"comments"},[e.params.comments.length?i("div",{staticClass:"comments__header"},[i("div",{staticClass:"comments__count"},[e._v("\n      "+e._s(["ProductReview","GuideArticle"].includes(e.params.typename)?e.$t("comments"):e.$t("answers"))+"\n      ("+e._s(e.params.comments.length)+")\n    ")])]):e._e(
1),e._v(" "),e.params.comments.length?i("div",{staticClass:"comments__list"},e._l(e.params.comments,(function(t,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:!(a>2)||e.isExpand,expression:"index > 2 ? isExpand : true"}],key:a,ref:"item"+t.node._id,refInFor:!0,staticClass:"comments__item"},[i("div",{staticClass:"comments__item-row-1"},[i("div",{staticClass:"comments__item-col-user-avatar"},[i("img",{staticClass:"comments__img-user-avatar",attrs:{loading:"lazy",alt:"фото "+e.$t("user"),src:t.node.author&&t.node.author.pic?t.node.author.pic:"/public/i/img-user.gif"}})]),e._v(" "),i("div",{staticClass:"comments__item-col-content"},[i("div",{staticClass:"comments__row-info"},[t.node.vendorRepresentative?[t.node.replyUserName?[e._v("\n                "+e._s(e.$t("vendorRepresentative"))+" "+e._s(t.node.vendorRepresentative)+"\n              ")]:[e._v("\n                "+e._s(e.$t("vendorRepresentativeReply"))+" "+e._s(t.node.vendorRepresentative)+"\n              ")]]:[e.canOpenAuthorProfile(t.node)?i("nuxt-link",{key:t.node._id,staticClass:"comments__user-name",attrs:{"data-tracking-id":e.eventTracking.nameUserId,to:e.localePath("/profile/"+t.node.author._id+"/")}},[e._v("\n                "+e._s(e.getAuthorDisplayName(t.node))+"\n              ")]):i("span",{staticClass:"text-bold"},[e._v("\n                "+e._s(e.getAuthorDisplayName(t.node))+"\n              ")])],e._v(" "),t.node.replyUserName?i("span",[e._v("\n              "+e._s(e._f("lowerCase")(e.$t("repliedToComment")))+"\n              "),i("nuxt-link",{staticClass:"comments__user-name-answer",attrs:{to:e.localePath("/profile/"+t.node.replyUserId+"/"),"data-tracking-id":e.eventTracking.nameUserId}},[e._v("\n                "+e._s(t.node.replyUserName)+"\n              ")]),e._v(" "),i("IconArrowUp",{staticClass:"svg-icon comments__user-name-answer-icon",on:{click:function(i){return e.scrollToComment(t.node.replyId)}}})],1):e._e(),e._v(" "),e.userRights.isReviewsId?i("span",{staticClass:"admin-text"},[e._v("id "+e._s(t.node._id))]):e._e(),e._v(" "),e.isOnModeration(t.node)?i("br"):e._e(),e._v(" "),e.isOnModeration(t.node)?i("span",{staticClass:"comments__label-moderation label-moderation"},[e._v("\n              "+e._s(e.$t("onModeration"))+"\n            ")]):e._e()],2),e._v(" "),i("div",{staticClass:"comments__row-comment",domProps:{innerHTML:e._s(e.formatTextToHTML(t.node.text))}}),e._v(" "),e.isShowAttachedImages&&t.node.images&&t.node.images.length?i("div",{staticClass:"comments__images"},e._l(t.node.images,(function(a){return i("div",{key:a.linkId,staticClass:"comments__images-item"},[i("img",{staticClass:"rounded-border--sm",attrs:{src:a.thumbFile,alt:""},on:{click:function(i){return e.showZoomGallery(a.linkId,t.node.images)}}})])})),0):e._e(),e._v(" "),t.node.author&&e.idUserCurrent!=t.node.author._id?i("div",{staticClass:"comments__row-bottom-panel"},[i("span",{staticClass:"comments__date"},[e._v("\n              "+e._s(e.formatDate(t.node.date,!1))+"\n            ")]),e._v(" "),e.userActionsEnabled?[i("button",{staticClass:"comments__bottom-panel-answer",on:{click:function(i){return e.toggleFormComment(t.node._id,"add-comment")}}},[e._v("\n                "+e._s(e.$t("g.reply"))+"\n              ")]),e._v(" "),i("ButtonWithIcon",{staticClass:"comments__bottom-panel-like-icon",class:{"comments__bottom-panel-like-icon--active":t.node.isLiked,busy:t.node._id===e.busyCommentId},on:{click:function(i){return e.addLike({idComment:t.node._id,isLiked:t.node.isLiked})}},scopedSlots:e._u([{key:"icon",fn:function(){return[i("IconEmoticonUp",{staticClass:"svg-icon"})]},proxy:!0},{key:"title",fn:function(){return[e._v("\n                  "+e._s(e.$t("g.thank"))+"!\n                  "),t.node.ratingQuantity||t.node.utilities?i("span",{staticClass:"comments__bottom-panel-like-count"},[e._v("("+e._s(t.node.ratingQuantity||t.node.utilities)+")")]):e._e()]},proxy:!0}],null,!0)})]:e._e()],2):i("div",{staticClass:"comments__row-bottom-panel"},[i("span",{staticClass:"comments__date"},[e._v("\n              "+e._s(e.formatDate(t.node.date,!1))+"\n            ")]),e._v(" "),e.userActionsEnabled?[i("button",{staticClass:"comments__bottom-panel-answer",on:{click:function(i){return e.toggleFormComment(t.no
1de._id,"edit-comment")}}},[e._v("\n                "+e._s(e.$t("g.edit"))+"\n              ")]),e._v(" "),i("span",{staticClass:"comments__bottom-panel-like"},[e._v("\n                "+e._s(e.$t("utility"))+"\n                ("+e._s(t.node.ratingQuantity||t.node.utilities||0)+")\n              ")])]:e._e()],2),e._v(" "),e.userRights.isReviewsRetuen&&!e.isOnModeration(t.node)&&"Question"!==e.params.typename?i("a",{staticClass:"link link--black",attrs:{target:"_blank",href:"https://hotline.ua/comments/tomoderation/?comment_id="+t.node._id}},[e._v(e._s(e.$t("returnModeration")))]):e._e()])]),e._v(" "),i("div",{staticClass:"comments__item-row-2"},[e.listFormAdd.visible[t.node._id]?i("DiscussionForm",{attrs:{"event-tracking":e.eventTracking,action:e.listFormAdd.action[t.node._id],params:t.node,"line-product-id":e.lineProductId,type:e.type,typename:e.params.typename,"review-id":e.params.reviewId},on:{"discussion-form:added-comment":function(t){return e.addedComment(t)},"discussion-form:edited-comment":function(t){return e.editedComment(t)},"discussion-form:hide":function(i){return e.toggleFormComment(t.node._id)}}}):e._e()],1)])})),0):e._e(),e._v(" "),e.params.comments.length>3?i("div",{staticClass:"comments__box-expand"},[i("span",{staticClass:"comments__btn-expand",attrs:{"data-tracking-id":e.eventTracking.btnShowAllId},on:{click:function(t){return e.expandComments()}}},[e._v("\n      "+e._s(e.isExpand?e.$t("hide"):e.$t("showAll"))+"\n      "+e._s(e._f("lowerCase")(["ProductReview","GuideArticle"].includes(e.params.typename)?e.$t("comments"):e.$t("answers")))+"\n\n      "),i("IconChevronDownSolid",{staticClass:"svg-icon comments__btn-expand-icon",class:{active:e.isExpand}})],1)]):e._e(),e._v(" "),e.idUserCurrent&&e.userActionsEnabled?i("DiscussionForm",{attrs:{action:"add-comment",params:{},"line-product-id":e.lineProductId,type:e.type,"review-id":e.params.reviewId,typename:e.params.typename,"event-tracking":e.eventTracking},on:{"discussion-form:added-comment":function(t){return e.addedComment(t)}}}):e._e(),e._v(" "),e.isShowZoomGallery?i("ZoomGallery",{attrs:{data:e.zoomGalleryData},on:{close:function(t){e.isShowZoomGallery=!1}}}):e._e()],1)}),[],!1,null,"8ec05566",null);t.a=m.exports},862:function(e,t,i){"use strict";i.r(t);i(202),i(21);var a=i(814),o=i(654),n=i(701),r=i(99),s={name:"Review",i18n:{messages:{ru:i(662),ua:i(663)}},components:{ButtonWithIcon:()=>i.e(48).then(i.bind(null,665)),ZoomGallery:()=>Promise.all([i.e(3),i.e(14)]).then(i.bind(null,860)),ModalProductReviewForm:()=>Promise.all([i.e(0),i.e(22),i.e(329)]).then(i.bind(null,2845)),ModalShare:()=>i.e(41).then(i.bind(null,791)),StarRating:n.a,Comments:a.a,IconEvents:()=>i.e(367).then(i.t.bind(null,2647,7)),IconEdit:()=>i.e(69).then(i.t.bind(null,717,7)),IconShare2:()=>i.e(30).then(i.t.bind(null,651,7)),IconPencilSolid:()=>i.e(72).then(i.t.bind(null,795,7)),IconEmoticonUp:()=>Promise.resolve().then(i.t.bind(null,661,7)),IconEmoticonDown:()=>i.e(370).then(i.t.bind(null,805,7)),IconPlay:()=>i.e(373).then(i.t.bind(null,1258,7))},mixins:[o.a],props:{params:{type:Object,required:!0},eventTracking:{type:Object,default:()=>({})},type:{type:String},edit:{type:Boolean,default:!1},userActionsEnabled:{type:Boolean,default:!0}},data:()=>({busy:!1,isShowZoomGallery:!1,zoomGalleryData:void 0,showEditModal:!1,showShareModal:!1,shareData:void 0}),computed:{reviewAuthorName(){var e,t;return(null===(e=this.params.author)||void 0===e||null===(t=e.name)||void 0===t?void 0:t.trim())||""},reviewAuthorDisplayName(){return this.reviewAuthorName||this.$t("guest")},canOpenReviewAuthorProfile(){var e;return Boolean(this.reviewAuthorName&&(null===(e=this.params.author)||void 0===e?void 0:e._id))},userRights(){return this.$store.state.product.userRights},idUserCurrent(){return this.$store.state.user._id},reviewIsEditable(){if(this.params.date&&!Number.isNaN(this.params.date.valueOf())){return(new Date-this.params.date)/864e5<=40}return!1}},created(){this.edit&&(this.showEditModal=!0)},mounted(){var e=this.params.images,t=this.params.video,i=[];e.length&&(i=e.map((e=>({imageThumb:e.file,imageBig:e.originalFile,type:"image"}))));var a=[];t.length&&(a=t.map((e=>({type:"video",videoId:e})))),this.zoomGalleryData={isGalleryIn:!0,videoPlayerId:"zoom-gallery-player-review",items:[...i,...a]}},methods:{setExperienceText(e){var t;switch(e){case"first_impression":t=this.$t("fewHours");break;case"days":t=this.$t("fewDays");break;case"weeks":t=this.$t("fewWeeks");break;case"month":t=this.$t("fewMonths");break;case"years":t=this.$t("fewYears")}return t.toLowerCase()},setProductNameText(){var{title:e="",type:t="",vendor:i={}}=this.$store.state.product;return"".concat(t," ").concat(i.title," ").concat(e)},addReviewLike(){!this.params.wasHelpful&&this.idUserCurrent?(this.busy=!0,this.$store.dispatch("product/userReviews/addReviewLike",{reviewId:this.params._id}).catch((e=>{console.error(e),this.$popupInit({isWarning:!0,message:this.$t("g.errorTryAgain")})})).then((e=>{if(e)switch(this.type){case"product":this.$store.commit("product/userReviews/addReviewLike",this.params._id);break;case"catalog":this.$store.commit("catalog/feedback/addReviewLike",this.params._id);break;case"brand":this.$store.commit("brands/singleBrand/addReviewLike",this.params._id);break;case"allProducts":this.$store.commit("productReviews/allReviews/addReviewLike",this.params._id);break;default:this.$store.commit("product/userReviews/addReviewLike",this.params._id)}})).finally((()=>{this.$emit("on-add-review-like"),this.busy=!1}))):this.goToPageLogin()},showZoomGallery(e){this.zoomGalleryData.itemActiveNum=e,this.isShowZoomGallery=!0},goToPageLogin(){this.$router.push(this.localePath("/login/"))},editReview(){var e=this.$route.name.split("___")[0];"brands-brand"===e||"reviews-products"===e||"profile"===this.type?this.params.productInfo&&this.$router.push({path:this.localePath(this.params.productInfo.path),query:{tab:r.m,edit:this.params._id}}):this.showEditModal=!0},openShareModal(){this.showShareModal=!0;var{productInfo:e,reviewComment:t,strengths:i,weaknesses:a,_id:o}=this.params,n=this.$t("shareTitle",{product:e.title}),r="".concat(this.$config.HOTLINE_HOST).concat(this.localePath("/reviews/".concat(o,"/"))),s=t?"".concat(this.$t("shareText.comment")," ").concat(t,"."):"",d=this.$t("shareText.strengthsAndWeaknesses",{strengths:i,weaknesses:a}),m="".concat(s," ").concat(d).trim();this.shareData={title:n,url:r,mailtoQuery:"subject=".concat(encodeURIComponent(n),"&body=").concat(encodeURIComponent(m)," - ").concat(encodeURIComponent(r))}}}},d=(i(1775),i(7)),m=Object(d.a)(s,(function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"review-"+e.params._id,staticClass:"review"},[i("div",{staticClass:"review__col-content"},[i("div",{staticClass:"review__row-header"},[i("div",{staticClass:"review__box-user-avatar"},[i("img",{staticClass:"review__img-user-avatar",attrs:{loading:"lazy",alt:"фото "+e.$t("user"),src:e.params.author?e.params.author.pic:"/public/i/img-user.gif"}})]),e._v(" "),i("div",{staticClass:"review__user-info"},[i("div",{staticClass:"review__user-title"},[i("div",{staticClass:"review__user-name-box"},[e.canOpenReviewAuthorProfile?i("nuxt-link",{staticClass:"review__user-name",attrs:{"data-tracking-id":e.eventTracking.nameUserId,to:e.localePath("/profile/"+e.params.author._id+"/")}},[e._v("\n              "+e._s(e.reviewAuthorName)+"\n            ")]):i("span",{staticClass:"text-lg"},[e._v("\n              "+e._s(e.reviewAuthorDisplayName)+"\n            ")]),e._v(" "),e.params.author&&e.params.author.isExperiencedUser?i("IconEvents",{staticClass:"svg-icon review__icon-experienced-user"}):e._e()],1),e._v(" "),!0===e.params.isRecommended?i("div",{staticClass:"review__recommend review__recommend--like"},[i("IconEmoticonUp",{staticClass:"svg-icon review__recommend-icon"}),e._v("\n            "+e._s(e._f("lowerCase")(e.$t("recommendProduct")))+"\n          ")],1):!1===e.params.isRecommended?i("div",{staticClass:"review__recommend review__recommend--dislike"},[i("IconEmoticonDown",{staticClass:"svg-icon review__recommend-icon"}),e._v("\n            "+e._s(e._f("lowerCase")(e.$t("unRecommendProduct")))+"\n          ")],1):e._e(
1)]),e._v(" "),e.userRights.isReviewsModeration?i("span",{staticClass:"reviews__moderation"},[e._v("\n          | "),i("span",{staticClass:"admin-text"},[e._v("id "+e._s(e.params._id))]),e._v(" |\n          "),i("a",{attrs:{target:"_blank",href:"https://adm.hotline.ua/Admin/moderation-product-reviews?review="+e.params._id}},[e._v("\n            "+e._s(e.$t("moderation"))+"\n          ")])]):e._e(),e._v(" "),i("div",{staticClass:"review__moderation-date-box",class:{"review__moderation-date-box--profile":"profile"===e.type}},[i("div",{staticClass:"review__date"},[e._v("\n            "+e._s(e.formatDate(e.params.date,!1))+"\n          ")]),e._v(" "),e.params.isConfirmed?e._e():i("div",{staticClass:"review__label-moderation"},[e._v("\n            "+e._s(e.$t("moderation"))+"\n          ")])])])]),e._v(" "),i("div",{staticClass:"review__row-rating"},[e.params.specificationRatings&&e.params.specificationRatings.length?i("div",{staticClass:"review__criteria-rating"},e._l(e.params.specificationRatings,(function(t,a){return i("div",{key:a,staticClass:"review__criteria-rating-row"},[i("StarRating",{staticClass:"review__criteria-rating-stars",attrs:{rating:t.rating}}),e._v(" "),i("div",{staticClass:"review__criteria-rating-name"},[e._v("\n            "+e._s("ru"==e.$i18n.locale?t.name:t.nameUk)+"\n          ")])],1)})),0):i("div",{staticClass:"review__criteria-rating"},[i("div",{staticClass:"review__criteria-rating-row"},[i("StarRating",{staticClass:"review__criteria-rating-stars",attrs:{rating:e.params.averageRating/10}}),e._v(" "),i("div",{staticClass:"review__criteria-rating-name"},[e._v("\n            "+e._s(e.$t("ratingProduct"))+"\n          ")])],1)])]),e._v(" "),i("div",{staticClass:"review__row-experience"},[i("div",{staticClass:"review__experience"},[i("div",{staticClass:"review__experience-row"},[i("span",{staticClass:"review__experience-name text-bold"},[e._v("\n            "+e._s(e.$t("liked"))+":\n          ")]),e._v(" "),i("span",{domProps:{innerHTML:e._s(e.formatTextToHTML(e.params.strengths))}})]),e._v(" "),i("div",{staticClass:"review__experience-row"},[i("span",{staticClass:"review__experience-name text-bold"},[e._v("\n            "+e._s(e.$t("disliked"))+":\n          ")]),e._v(" "),i("span",{domProps:{innerHTML:e._s(e.formatTextToHTML(e.params.weaknesses))}})]),e._v(" "),e.params.experience?i("div",{staticClass:"review__experience-row"},[i("span",{staticClass:"review__experience-name text-bold"},[e._v("\n            "+e._s(e.$t("experienceOfUse"))+":\n          ")]),e._v("\n          "+e._s(e.setExperienceText(e.params.experience))+"\n        ")]):e._e()])]),e._v(" "),i("div",{staticClass:"review__row-comment"},[i("div",{staticClass:"review__comment",domProps:{innerHTML:e._s(e.formatTextToHTML(e.params.reviewComment))}})]),e._v(" "),e.params.images.length||e.params.video.length?i("div",{staticClass:"review__row-media"},[i("div",{staticClass:"review__media"},[e._l(e.params.images,(function(t,a){return i("div",{key:a,staticClass:"review__media-item rounded-border--md",on:{click:function(t){return e.showZoomGallery(a)}}},[i("img",{staticClass:"review__media-img",attrs:{loading:"lazy",src:t.file,alt:t.description||"Фото "+e.setProductNameText()+" "+e.$t("fromUser").toLowerCase()+" "+(e.params.author?e.params.author.name:""),title:t.description||"Фото' "+e.setProductNameText()+" "+e.$t("fromUser").toLowerCase()+" "+(e.params.author?e.params.author.name:"")}})])})),e._v(" "),e._l(e.params.video,(function(t,a){return i("div",{key:a+"video",staticClass:"review__media-item review__media-item--video rounded-border--md",on:{click:function(t){return e.showZoomGallery(e.params.images.length+a)}}},[i("IconPlay",{staticClass:"svg-icon"}),e._v(" "),i("img",{staticClass:"review__media-img",attrs:{loading:"lazy",src:"https://img.youtube.com/vi/"+t+"/2.jpg",alt:e.$t("video")+" "+e.setProductNameText()+" "+e.$t("fromUser").toLowerCase()+" "+(e.params.author?e.params.author.name:""),title:e.$t("video")+" "+e.setProductNameText()+" "+e.$t("fromUser").toLowerCase()+" "+(e.params.author?e.params.author.name:"")}})],1)})),e._v(" "),e.isShowZoomGallery?i("ZoomGallery",{attrs:{data:e.zoomGalleryData},on:{close:function(t){e.isShowZoomGallery=!1}}}
1):e._e()],2)]):e._e(),e._v(" "),i("div",{staticClass:"review__row-rate-review"},[i("span",{staticClass:"review__rate-review-text"},[e._v("\n        "+e._s(e.$t("reviewHelpful"))+"\n      ")]),e._v(" "),i("button",{class:["review__rate-review-btn btn btn--graphite",{disabled:e.params.wasHelpful||e.params.author&&e.params.author._id===e.idUserCurrent},{busy:e.busy}],attrs:{"data-tracking-id":e.eventTracking.btnYesId},on:{click:function(t){return e.addReviewLike()}}},[e._v("\n        "+e._s(e.$t("g.yes"))+"\n      ")]),e._v(" "),i("span",{staticClass:"review__rate-review-counter"},[e._v("\n        "+e._s(e.params.utilityQuantity)+"\n      ")])]),e._v(" "),i("client-only",[e.params.author&&e.idUserCurrent==e.params.author._id&&"profile"!==e.type&&e.reviewIsEditable?i("button",{staticClass:"link review__edit",on:{click:e.editReview}},[i("IconPencilSolid",{staticClass:"svg-icon review__edit-icon"}),e._v("\n        "+e._s(e.$t("g.edit"))+"\n      ")],1):e.params.author&&e.idUserCurrent==e.params.author._id&&"profile"===e.type?i("div",{staticClass:"flex middle-xs gap-10 m_b-10"},[i("ButtonWithIcon",{on:{click:e.openShareModal},scopedSlots:e._u([{key:"icon",fn:function(){return[i("IconShare2",{staticClass:"svg-icon"})]},proxy:!0},{key:"title",fn:function(){return[e._v("\n            "+e._s(e.$t("share"))+"\n          ")]},proxy:!0}])}),e._v(" "),e.showShareModal?i("ModalShare",{attrs:{"link-text":e.shareData.title,"mailto-query":e.shareData.mailtoQuery,url:e.shareData.url},on:{"modal-invisible":function(t){e.showShareModal=!1}}}):e._e(),e._v(" "),e.reviewIsEditable?i("ButtonWithIcon",{on:{click:e.editReview},scopedSlots:e._u([{key:"icon",fn:function(){return[i("IconEdit",{staticClass:"svg-icon"})]},proxy:!0},{key:"title",fn:function(){return[e._v("\n            "+e._s(e.$t("g.edit"))+"\n          ")]},proxy:!0}],null,!1,3885749451)}):e._e()],1):e._e()]),e._v(" "),i("div",{staticClass:"review__row-header-subcomments"},[i("Comments",{attrs:{"event-tracking":e.eventTracking,params:{comments:e.params.reviewComments.edges,reviewId:e.params._id,typename:e.params.__typename},type:e.type,"user-actions-enabled":e.userActionsEnabled},on:{"on-add-comment-like":function(t){return e.$emit("on-add-comment-like",t)},"on-comment-add":function(t){return e.$emit("on-comment-add",t)},"on-comment-edit":function(t){return e.$emit("on-comment-edit",t)},"on-toggle-subscribe-on-comments":function(t){return e.$emit("on-toggle-subscribe-on-comments",t)}}})],1)],1),e._v(" "),e.showEditModal?i("ModalProductReviewForm",{attrs:{action:"edit","review-data":e.params},on:{"modal-invisible":function(t){e.showEditModal=!1},"on-product-review-edited":function(t){return e.$emit("on-review-edited")}}}):e._e()],1)}),[],!1,null,"45082dd4",null);t.default=m.exports}}]);

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.