1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2427],{12427:function(i,t,n){n.r(t);var e,a,s=n(48564),o=n(18007),r=n(53304),l=n(67294),d=n(67162),c=n(65753),h=n(14380),u=n(51323),b=function(i){(0,o._)(VisibilityManager,i);var t=(0,r._)(VisibilityManager);function VisibilityManager(){var i;return(0,s._)(this,VisibilityManager),i=t.apply(this,arguments),i.state={isVisible:!0},i.handleVisibilityChange=function(){if(document[e])return i.setVisibility(!1);if(!h.Z.getState().profile.username){var t=h.Z.getState().cart.token_id;t&&(0,d.gm)(t).then(function(i){h.Z.dispatch({type:c.Ll,data:i.data}),i.data.lms_order&&i.data.city&&(0,u.F6)(i.data.city),window.location.href.includes("cart")&&i.data.items.length<1&&(window.location.href=window.location.origin)}).catch(function(i){console.log(i),window.location.href=window.location.origin})}return i.setVisibility(!0)},i.setVisibility=function(t){i.setState(function(i){return i.isVisible===t?null:{isVisible:t}})},i}var n=VisibilityManager.prototype;return n.componentDidMount=function(){void 0!==document.hidden&&(e="hidden",a="visibilitychange"),document.addEventListener(a,this.handleVisibilityChange,!1),window.addEventListener("focus",this.handleVisibilityChange,!1),window.addEventListener("blur",this.handleVisibilityChange,!1)},n.componentWillUnmount=function(){document.removeEventListener(a,this.handleVisibilityChange),window.removeEventListener("focus",this.handleVisibilityChange,!1),window.removeEventListener("blur",this.handleVisibilityChange,!1)},n.render=function(){return"function"==typeof this.props.children&&this.props.children(this.state.isVisible)},VisibilityManager}(l.Component);t.default=b}}]); 2//# sourceMappingURL=2427.9a8723404916f4da.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.