PageSourceSearch

https://www.flombu.com/packs/js/owner_profiles_show_app-389cc598919547240a35.chunk.js

js flombu.com collected 2026-10-06 12:36:22 UTC 4,855 bytes, 2 lines download raw bytes

1(window.webpackJsonp=window.webpackJsonp||[]).push([[19],{393:function(e,t,r){"use strict";r.r(t);var n=r(17),o=r(23),a=r(401),i=r(29);function s(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?s(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var l={template:"#owner-profiles-show-deals-collection-vue-template",components:{"deal-hz-item":u(u({},a.a),{},{template:"#estate-deals-item-hz-vue-template"}),"deal-item":u(u({},a.a),{},{template:"#estate-deals-item-tile-vue-template"})},props:{collectionPath:{type:String,required:!0}},data:function(){return{resourceData:null}},computed:{page:function(){return this.resourceData&&this.resourceData.meta.page},pages:function(){return this.resourceData&&this.resourceData.meta.pages},deals:function(){return this.resourceData&&this.resourceData.data||[]},dealsCount:function(){return this.resourceData&&this.resourceData.meta.count},isShowPagination:function(){return this.pages>1},dealsCountLabel:function(){var e=I18n.t("activerecord.models.estate_deal",{count:this.dealsCount});return this.dealsCount?"".concat(this.dealsCount," ").concat(e):""}},methods:{onPageInput:function(e){this.getCollection({page:e}).then((function(){document.scrollingElement.scroll({top:0,left:0})}))},getCollection:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.page,n=function(t){var r=i.a.parseUrlSearch(window.location.search),n=i.a.qsStringify(u(u({},r),{},{deals_page:t}));e.$webLocation.replaceWith({search:n})},o=function(){var e=i.a.parseUrlSearch(window.location.search).deals_page;return r||e};return this.$newAjaxController().get(this.collectionPath,{params:{page:o()}}).then((function(t){var o=t.data;e.resourceData=o,r&&n(r)}))}},created:function(){this.getCollection()}},p={template:"#owner-profiles-show-page-vue-template",components:{"deals-collection":l},props:{resourceJson:{type:String,required:!0}},data:function(){return{ownerPhoneNumberHuman:null}},computed:{resource:function(){return JSON.parse(this.resourceJson)},ownerPhotoUrl:function(){return this.resource.data.attributes.photoUrl},ownerInitials:function(){return this.resource.data.attributes.initials},ownerFullName:function(){return this.resource.data.attributes.fullName},ownerTypeLabel:function(){return I18n.t("estate_deals.show.owner_type.".concat("agent"))},ownerPhone:function(){var e=this,t=null;return this.resource.data.relationships.phoneNumbers.data.find((function(r){return!!e.resource.included.find((function(e){if(r.id==e.id&&r.type==e.type&&!e.attributes.unconfirmed&&e.attributes.e164Format&&e.attributes.numberHuman)return t=e,!0}))})),t},ownerPhoneNumberMask:function(){return this.ownerPhone&&this.ownerPhone.attributes.numberHumanMask},facebookUrl:function(){return this.resource.data.attributes.facebookUrl},instagramUrl:function(){return this.resource.data.attributes.instagramUrl},tiktokUrl:function(){return this.resource.data.attributes.tiktokUrl},isSocialUrls:function(){return!!(this.facebookUrl||this.instagramUrl||this.tiktokUrl)}},methods:{phoneNumberCall:function(){window.open("tel:".concat(this.ownerPhone.attributes.e164Format))},phoneNumberShow:function(){this.ownerPhoneNumberHuman&&this.$q.screen.lt.md&&this.phoneNumberCall(),this.ownerPhoneNumberHuman=this.ownerPhone.attributes.numberHuman}}},h=r(415);function f(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function b(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var m=Object(n.a)({name:"owner-profiles-show-app",template:"#owner-profiles-show-app-vue-template",components:{"show-page":p}}),d=Object(o.a)({components:function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
1t%2?f(Object(r),!0).forEach((function(t){b(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):f(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},h)});m.use(d),m.mount("#owner-profiles-show")}}]);
2//# sourceMappingURL=owner_profiles_show_app-389cc598919547240a35.chunk.js.map

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.