{"version":3,"file":"js/app.3c458429c50921de29d4.js","mappings":"yvBASe,8BAAc,EAAAA,IAAd,c,oBAIL,KAAAC,SAAwC,KACxC,KAAAC,gBAA0B,EA0BpC,CAxBUC,UACN,IAAKC,OAAOC,qBAEV,YADAC,KAAKJ,gBAAkBI,KAAKC,eAU9BD,KAAKL,SAAW,IAAII,sBAAqB,EAAEG,MACrCA,GAASA,EAAMC,iBACjBH,KAAKJ,gBAAkBI,KAAKC,c,GARhB,CACdG,KAAM,KACNC,WAAY,oBACZC,UAAW,IASbN,KAAKL,SAASY,QAAQP,KAAKQ,IAC7B,CAEQC,YACNT,KAAKL,SAASe,YAChB,GA7BA,IAAC,IAAAC,Q,6DACD,IAAC,IAAAA,MAAK,CAACC,QAAS,KAAM,CAAG,K,qDAFZ,MALd,IAAAC,WAAU,CACTC,KAAM,YACNC,YAAY,eAAmBC,mB,sMCYjC,SAXgB,E,QAAA,GACd,UACA,IACA,KACA,EACA,KACA,KACA,MAI8B,O,iJClBkL,QAAe,G,uDCAjO,IAAIC,EAAS,SAASA,SAAS,IAAIC,EAAIlB,KAAKmB,EAAGD,EAAIE,MAAMD,GAAUD,EAAIE,MAAMC,YAAY,OAAOF,EAAG,UAAU,CAACA,EAAGD,EAAItB,gBAAgBsB,EAAII,GAAG,CAACC,IAAI,aAAa,YAAYL,EAAIM,OAAM,KAAS,EAC7L,EACIC,EAAkB,E","sources":["webpack:///./resources/area/web/default/js/components/LazyLoad.vue?6b77","webpack:///./resources/area/web/default/js/components/LazyLoad.vue","webpack:///./resources/area/web/default/js/components/LazyLoad.vue?f87a","webpack:///./resources/area/web/default/js/components/LazyLoad.vue?c241"],"sourcesContent":["\nimport {Component, Vue, Prop} from 'vue-property-decorator';\nimport ServiceContainer from '@flashpointbv/solar-service-container';\n\n@Component({\n name: 'lazy-load',\n components: ServiceContainer().getComponents()\n})\n\nexport default class extends Vue {\n @Prop() private componentName: string;\n @Prop({default: () => ({})}) private props!: object;\n\n private observer: IntersectionObserver | null = null;\n private componentToLoad: string = '';\n\n private mounted(): void {\n if (!window.IntersectionObserver) {\n this.componentToLoad = this.componentName;\n return;\n }\n\n const options = {\n root: null,\n rootMargin: '0px 0px 200px 0px',\n threshold: 0\n };\n\n this.observer = new IntersectionObserver(([entry]) => {\n if (entry && entry.isIntersecting) {\n this.componentToLoad = this.componentName;\n }\n }, options);\n\n this.observer.observe(this.$el);\n }\n\n private destroyed(): void {\n this.observer.disconnect();\n }\n}\n","import { render, staticRenderFns } from \"./LazyLoad.vue?vue&type=template&id=15af9ecf&\"\nimport script from \"./LazyLoad.vue?vue&type=script&lang=ts&\"\nexport * from \"./LazyLoad.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LazyLoad.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../../../node_modules/ts-loader/index.js??clonedRuleSet-6.use[0]!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./LazyLoad.vue?vue&type=script&lang=ts&\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('section',[_c(_vm.componentToLoad,_vm._b({tag:\"component\"},'component',_vm.props,false))],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }"],"names":["Vue","observer","componentToLoad","mounted","window","IntersectionObserver","this","componentName","entry","isIntersecting","root","rootMargin","threshold","observe","$el","destroyed","disconnect","Prop","default","Component","name","components","getComponents","render","_vm","_c","_self","_setupProxy","_b","tag","props","staticRenderFns"],"sourceRoot":""}