PageSourceSearch

https://iampho.ru/var/cache/asset20_ae30ec0ec177c58af9359dffb6b5b2ac.js

js iampho.ru collected 2026-10-07 18:10:18 UTC 1,438 bytes, 2 lines download raw bytes

1app.itemComponent={props:['index','selectedid','item'],methods:{toggleCompany:function(e){PubSub.publish('changePhonesSelectedId',{newId:this.item.id});var activeElem=document.querySelector('.header__tab--active');activeElem&&activeElem.classList.remove('header__tab--active');e.target.closest('.header__tab').classList.add('header__tab--active')},},template:'#item__template',};app.phonesComponent={inject:['store'],computed:{phones:function(){var _this=this;var data=this.store.companies.filter(function(item){return item.id===_this.store.activeCompany});return data[0].phones},},template:'#phones__template',};app.addModule(function(){var vr;var vm;var showWindow=function(){vr=app.viewer({'class':'vr--phone vr--modal',header:app.store.state.loc['site/header/phone'],html:'<div id="phone__form"></div>'});vr.loading(!0);startVm()};var startVm=function(){vm=new Vue({components:{'phone-items':app.phonesComponent,'vr-companies':app.vrCompaniesComponent},provide:function(){return{store:this.store}},data:{store:{companies:[],activeCompany:0}},created:function(){this.fetch()},methods:{fetch:function(){app.fetch('/phone/get',{},function(response){if(response.error){app.growl(response.message,'danger');vr.loading(!1);return}
2vm.store.companies=response.companies;vm.store.activeCompany=response.activeCompany;vr.loading(!1)})},},el:'#phone__form',template:'#phone__template',})};PubSub.subscribe('showPhonesModalWindow',showWindow)});

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.