PageSourceSearch

https://extranet.101hotels.com/build/4014.50ac347a319321030cb6.1790689811587.js

js 101hotels.com collected 2026-10-02 03:49:16 UTC 7,009 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[4014],{98169:(t,s,i)=>{i.d(s,{Z:()=>d});var e=i(20629),a=i(88720),o=i(94549),l=i(6322),n=i(11592),r={name:"ClassifiedHotel",components:{Button:a.Z,ClassifiedModalContainer:o.Z,ContentCard:l.Z},props:{masterPage:{type:Boolean,default:!1},isShowNotification:{type:Boolean,default:!1}},data:()=>({currentClassified:{}}),computed:{...(0,e.rn)("hotel",["currentHotelId"]),...(0,e.rn)("classified",["classified"]),...(0,e.rn)("auth",["serverTimeDate"]),...(0,e.Se)("hotel",["currentShortHotel"]),recordLink(){return`https://tourism.fsa.gov.ru/ru/resorts/hotels/${this.currentClassified?.inner_id}/about-resort`},statusNameText(){return this.currentClassified?.end_date?"Действует":this.currentClassified.status_name},statusNameTextColor(){return this.classifiedEndDateText?"orange":""},classifiedEndDateText(){let t="";if(this.currentClassified?.end_date){let s=new Date(this.currentClassified?.end_date.split(".").reverse().join("-"));t=Math.round((s-new Date(this.serverTimeDate))/864e5)}return!!(t&&t<60)&&(t>=1?`Срок действия классификации заканчивается через ${t} ${(0,n.Ak)(t,["день","дня","дней"])}`:"Срок действия классификации закончился")},showClassificationBlock(){return Object.hasOwn(this.currentShortHotel,"classified_status")&&-1!==this.currentShortHotel.classified_status},statusClasses(){return{"hotel-info__number-status":!0,"hotel-info__number-status--error":!this.currentClassified?.end_date}}},mounted(){this.fetchClassified(this.currentHotelId).then((()=>{this.setCurrentClassified()}))},mounted(){this.fetchClassified(this.currentHotelId).then((()=>{this.setCurrentClassified()}))},methods:{...(0,e.nv)("classified",["fetchClassified"]),...(0,e.nv)("hotel",["fetchShortHotels"]),showModal(){this.$refs.classified?.restart(),this.$refs.classified?.showModal()},onSubmitModal(t){this.fetchShortHotels(),this.fetchClassified(this.currentHotelId).then((()=>{this.setCurrentClassified()})),this.$refs.classified?.closeModal()},setCurrentClassified(){this.currentClassified=this.classified[this.currentHotelId]},goToRecord(){window.open(this.recordLink,"_blank")}}},d=(0,i(51900).Z)(r,(function(){var t=this,s=t._self._c;return t.showClassificationBlock?s("ContentCard",{staticClass:"classified",scopedSlots:t._u([{key:"title",fn:function(){return[0!==t.currentShortHotel.classified_status&&-2!==t.currentShortHotel.classified_status?s("span",{staticClass:"classified__title"},[t._v("Классификация объекта")]):t._e()]},proxy:!0}],null,!1,3052866255)},[t._v(" "),0!==t.currentShortHotel.classified_status&&-2!==t.currentShortHotel.classified_status?s("div",[s("div",{staticClass:"hotel-info"},[s("div",{staticClass:"hotel-info__number"},[s("div",{staticClass:"hotel-info__number-info"},[s("div",{staticClass:"hotel-info__number-info-label"},[t._v("\n                        Номер реестровой записи\n                        "),s("Button",{attrs:{"only-icon":"",size:"xs",color:"black",hierarchy:t.masterPage?"primary":"tertiary","start-icon":"new-tab"},on:{action:t.goToRecord}})],1),t._v(" "),s("div",{staticClass:"hotel-info__number-value"},[t._v("\n                        "+t._s(t.currentClassified.register_record)+"\n                        "),s("span",{class:t.statusClasses},[t._v(t._s(t.statusNameText))])])]),t._v(" "),s("Button",{staticClass:"hotel-info__number-edit-button",attrs:{hierarchy:t.masterPage?"primary":"tertiary","start-icon":"edit",size:"s",color:"black",text:t.masterPage?"Заполнить":"Редактировать"},on:{action:t.showModal}})],1),t._v(" "),s("div",{staticClass:"hotel-info__additional"},[s("div",{staticClass:"hotel-info__additional-block hotel-info__additional-block--full-width"},[s("span",{staticClass:"hotel-info__additional-label"},[t._v("Наименование объекта")]),t._v(" "),s("span",{staticClass:"hotel-info__additional-value"},[t._v(t._s(t.currentClassified.full_name))])]),t._v(" "),s("div",{staticClass:"hotel-info__additional-block"},[s("span",{staticClass:"hotel-info__additional-label"},[t._v("Звездность")]),t._v(" "),s("span",{staticClass:"hotel-info__additional-value"},[t._v(t._s(t.currentClassified.stars_name))])]),t._v(" "),s("div",{staticClass:"hotel-info__additional-block"},[s("span",{staticClass:"hotel-info__additional-label"},[t._v("Адрес объекта")]),t._v(" "),s("span",{staticClass:"hotel-info__additional-value"},[t._v(t._s(t.currentClassified.address))])])]),t._v(" "),t.classifiedEndDateText?s("div",{staticClass:"hotel-info__notification hotel-info__notification--warning"},[s("div",{staticClass:"hotel-info__notification-icon"},[s("icon",{attrs:{data:i(56369)}})],1),t._v(" "),s("div",{staticClass:"hotel-info__notification-text"},[t._v("\n                    "+t._s(t.classifiedEndDateText)+"\n                ")])]):t._e(),t._v(" "),3===t.currentClassified.status?s("div",{staticClass:"hotel-info__notification hotel-info__notification--warning"},[s("div",{staticClass:"hotel-info__notification-icon"},[s("icon",{attrs:{data:i(4902),width:"24",color:"#FF6900",height:"24"}})],1),t._v(" "),s("div",{staticClass:"hotel-info__notification-text"},[t._v("\n                    На размещении: данные обновятся в течении 2-3 дней\n                ")])]):t._e()])]):s("div",[s("div",{staticClass:"empty-block"},[s("div",{staticClass:"empty-block__image"}),t._v(" "),s("div",{staticClass:"empty-block__text"},[s("div",{staticClass:"empty-block__title"},[t._v("\n                    Классификация объекта\n                ")]),t._v(" "),s("div",{staticClass:"empty-block__sub-title"},[t._v("\n                    Вам необходимо предоставить номер из "),s("a",{staticClass:"empty-block__sub-title empty-block__sub-title--link",attrs:{href:"https://tourism.fsa.gov.ru/ru/resorts/showcase/hotels"}},[t._v("реестра классифицированных объектов")]),t._v(", в противном случае вы не сможете начать продажи\n                ")]),t._v(" "),s("Button",{staticClass:"empty-block__button",attrs:{text:"Заполнить"},on:{action:t.showModal}})],1)])]),t._v(" "),s("ClassifiedModalContainer",{ref:"classified",attrs:{"current-id":t.currentHotelId},on:{submitModal:t.onSubmitModal}})],1):t._e()}),[],!1,null,"0158bb6c",null).exports},94014:(t,s,i)=>{i.r(s),i.d(s,{default:()=>o});var e=i(20629),a={name:"ClassifiedInfo",components:{ClassifiedHotel:i(98169).Z}
1,computed:{...(0,e.rn)("hotel",["currentHotelId"]),...(0,e.rn)("layout",["title"])},mounted(){Promise.all([this.fetchClassified(this.currentHotelId)]).then((()=>{this.$emit("loaded"),this.scrollToTop()}))},methods:{...(0,e.nv)("classified",["fetchClassified"])}},o=(0,i(51900).Z)(a,(function(){return(0,this._self._c)("ClassifiedHotel")}),[],!1,null,null,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.