{"version":3,"file":"index-Sx5-e1Yy.js","sources":["../../../app/javascript/src/explore/hocs/withLazyLoadSkeleton/index.jsx"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React, { Component } from 'react';\n\nconst withLazyLoadSkeleton = ( WrappedComponent, SkeletonComponent ) => {\n const componentName = WrappedComponent.displayName || WrappedComponent.name;\n\n // eslint-disable-next-line react/prefer-stateless-function\n class EnhancedComponent extends Component {\n render() {\n const { across, pristine, products, skeletonClass } = this.props;\n\n if ( pristine ) {\n return ;\n }\n\n return ;\n }\n }\n\n EnhancedComponent.displayName = `withLazyLoadSkeleton(${componentName})`;\n\n return EnhancedComponent;\n};\n\nexport default withLazyLoadSkeleton;\n"],"names":["withLazyLoadSkeleton","WrappedComponent","SkeletonComponent","componentName","EnhancedComponent","Component","across","pristine","products","skeletonClass","React"],"mappings":"+CAGM,MAAAA,EAAuB,CAAEC,EAAkBC,IAAuB,CAChE,MAAAC,EAAgBF,EAAiB,aAAeA,EAAiB,KAGvE,MAAMG,UAA0BC,EAAAA,SAAU,CACxC,QAAS,CACP,KAAM,CAAE,OAAAC,EAAQ,SAAAC,EAAU,SAAAC,EAAU,cAAAC,CAAA,EAAkB,KAAK,MAE3D,OAAKF,EACKG,EAAA,cAAAR,EAAA,CAAkB,OAAAI,EAAgB,UAAWG,EAAe,EAG9DC,EAAA,cAAAT,EAAA,CAAkB,GAAG,KAAK,MAAO,CAAA,CAC3C,CAGgB,OAAAG,EAAA,YAAc,wBAAwBD,CAAa,IAE9DC,CACT"}