PageSourceSearch

https://extranet.101hotels.com/build/9593.03a583220e359fe9d45a.1790689811587.js

js 101hotels.com collected 2026-10-02 03:50:32 UTC 4,281 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[9593],{19593:(e,t,s)=>{s.r(t),s.d(t,{default:()=>d});var a=s(20629),i=s(58901),n=s(6322),o=s(82556),l=s(27141),r={name:"ChannelManagerTopicDetail",components:{ContentCard:n.Z,Chat:i.Z,EllipsisText:o.Z,TitlePage:l.Z},props:{hotelId:{type:[String,Number],default:""},topicId:{type:[String,Number],default:""}},data:()=>({isSendingMessage:!1,message:"",messageData:{},isShowModal:!1}),computed:{...(0,a.rn)("channelManager",["errorComments","error","topic","comments"]),...(0,a.rn)("layout",["loading"]),...(0,a.rn)("hotel",["currentHotelId"]),messages(){const e={};for(const t of this.comments){let s=t.datetime.split(" ")[0];-1===Object.keys(e).indexOf(s)&&(e[s]=[]),e[s].push(t)}return e},dateFinal(){return`от ${this.topic.datetime.split(" ")[0]}г.`}},watch:{lMD(e){this.toggleModal(e)}},created(){this.setTitle(`Обращение №${this.topicId}`),this.clearErrorState()},mounted(){Promise.all([this.fetchTopic(this.topicId),this.fetchComments(this.topicId)]).then((()=>{this.$emit("loaded"),this.scrollToTop(),this.lMD&&this.toggleModal(!0)}))},methods:{...(0,a.nv)("channelManager",["fetchTopic","fetchComments","createComment","clearErrorState"]),...(0,a.nv)("layout",["setTitle"]),sendMessage(){this.messageData={id:this.topic.id,text:this.message},this.isSendingMessage=!0,this.message="",this.createComment(this.messageData).then((()=>{this.isSendingMessage=!1,this.messageData={}}))},toggleModal(e){this.isShowModal=e??!!this.isShowModal},goToSupportPageAndClearBackFunc(){this.$router.push({name:"channel-manager",params:{hotelId:this.currentHotelId}}),this.toggleModal(!1)}}},d=(0,s(51900).Z)(r,(function(){var e=this,t=e._self._c;return e.loading?e._e():t("div",{staticClass:"channel-manage-detail"},[t("TitlePage",{scopedSlots:e._u([{key:"right",fn:function(){return[t("div",{staticClass:"channel-manage-detail-date"},[e._v("\n                "+e._s(e.dateFinal)+"\n            ")])]},proxy:!0}],null,!1,4164179592)}),e._v(" "),t("ContentCard",{staticClass:"text-center",scopedSlots:e._u([{key:"title",fn:function(){return[t("h3",{staticClass:"channel-manage-detail__title"},[t("EllipsisText",{attrs:{name:e.topic.title,"line-clamp":2}})],1)]},proxy:!0},{key:"subtitle",fn:function(){return[t("div",{staticClass:"chat-header"},[t("div",{staticClass:"chat-header__description"},[t("span",{staticClass:"chat-header__description-type"},[e._v("Тип обращения: "),t("span",{staticClass:"chat-header__description-type-value"},[e._v(e._s(e.topic.type_name))])])])])]},proxy:!0}],null,!1,3833310644)},[e._v(" "),e._v(" "),t("div",{staticClass:"chat-wrapper"},[t("Chat",{attrs:{"messages-state":e.messages,"is-controls-disabled":e.isSendingMessage,"is-loading":e.isSendingMessage,"has-error":null!==e.error,"modal-title":`Обращение №${e.topic.id}`,"is-show-modal":e.isShowModal,"message-data":e.messageData,"error-messages":e.errorComments,"left-message-sender-preview-name":"Менеджер техподдержки","right-message-sender-preview-name":"Вы","right-message-sender-role":"my","sender-role-param-name-on-message-data":"comment_type","default-message-date-time":e.topic.datetime,"has-back-control":"","has-hide-control":!1},on:{submit:e.sendMessage,closeModal:e.goToSupportPageAndClearBackFunc,showModal:function(t){return e.toggleModal(!0)}},scopedSlots:e._u([{key:"defaultMessage",fn:function(){return[t("div",[t("div",[t("span",{staticClass:"text-semi-bold"},[e._v("Обращение № "+e._s(e.topic.id))]),e._v(" от "+e._s(e.topic.datetime.split(" ")[0])+"г.\n                        ")]),e._v(" "),t("div",[e._v("\n                            Тип обращения: "+e._s(e.topic.type_name)+"\n                        ")]),e._v(" "),t("div",[e._v("\n                            Тема обращения: "+e._s(e.topic.title)+"\n                        ")]),e._v(" "),t("br"),e._v(" "),t("div",[t("span",{staticClass:"text-semi-bold"},[e._v("Текст обращения:")]),t("br"),e._v("\n                            "+e._s(e.topic.description)+"\n                        ")])])]},proxy:!0}],null,!1,2878566792),model:{value:e.message,callback:function(t){e.message=t},expression:"message"}})],1)])],1)}),[],!1,null,"cf98eada",null).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.