PageSourceSearch

https://www.homify.com.eg/assets/webpack/headerMedia.42756eaa8e2ae28c00f7.js

js homify.com.eg collected 2026-10-01 14:53:30 UTC 3,507 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkhomify_de=self.webpackChunkhomify_de||[]).push([[7372],{493:function(e,t,n){var r=n(6540),o=n(5556),i=n.n(o),a=n(6540);function c(e){return c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c(e)}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,l(r.key),r)}}function l(e){var t=function(e){if("object"!=c(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=c(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==c(t)?t:t+""}function s(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(s=function(){return!!e})()}function f(e){return f=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},f(e)}function p(e,t){return p=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},p(e,t)}var d=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,n){return t=f(t),function(e,t){if(t&&("object"==c(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,s()?Reflect.construct(t,n||[],f(e).constructor):t.apply(e,n))}(this,t,[e])).state={isTablet:!1},n.getDimension=n.getDimension.bind(n),n.isDisplayed=n.isDisplayed.bind(n),n.handleClick=n.handleClick.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&p(e,t)}(t,e),n=t,(r=[{key:"componentDidMount",value:function(){this.getDimension(),window.addEventListener("resize",this.getDimension)}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.getDimension)}},{key:"getDimension",value:function(){this.setState({isTablet:window.innerWidth<=1267})}},{key:"isDisplayed",value:function(e){var t=$("html").hasClass("-".concat(e,"-"));return this.handleDisplay(t&&this.state.isTablet?"none":"block"),t}},{key:"handleDisplay",value:function(e){$(".banner-spaced").css({display:"".concat(e)})}},{key:"handleClick",value:function(){var e;window.trackGA("event","Sponsored Campaign","clicked on headerbanner",null===(e=this.props.headerAd)||void 0===e?void 0:e.name,0)}},{key:"render",value:function(){var e=this.props.headerAd;if(null==e||!e.visible)return null;var t=e.image,n=e.link,r=e.name;return this.isDisplayed("logged-in")&&this.state.isTablet?null:a.createElement("a",{href:n,className:"header-media",onClick:this.handleClick},a.createElement("img",{src:t.url,className:"header-media__icon",alt:r}))}}])&&u(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n;var n,r}(r.Component);d.propTypes={locale:i().string.isRequired};var y=d;window.HeaderMedia=y}},function(e){e.O(0,[4644,4121],function(){return e(e.s=493)}),e.O()}]);

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.