index of
/
home
/
thefkyzp
/
hulmvisaadvisor.com
/
wp-content
/
plugins
/
surecart
/
dist
/
File: /home/thefkyzp/hulmvisaadvisor.com/wp-content/plugins/surecart/dist/4269.js
"use strict";(self.webpackChunk_surecart_surecart=self.webpackChunk_surecart_surecart||[]).push([[4269],{4269:function(t,e,r){r.r(e),r.d(e,{sc_consumer:function(){return a}});var n=r(5861),i=r(5671),s=r(3144),o=r(1284),u=r.n(o),c=r(8860),a=function(){function t(e){var r=this;(0,i.Z)(this,t),(0,c.r)(this,e),this.mountEmitter=(0,c.c)(this,"mountConsumer",7),this.setContext=function(){var t=(0,n.Z)(u().mark((function t(e){return u().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r.context=e,t.abrupt("return",r.promise);case 2:case"end":return t.stop()}}),t)})));return function(_x){return t.apply(this,arguments)}}(),this.renderer=void 0,this.context=void 0,this.promise=void 0,this.resolvePromise=void 0,this.promise=new Promise((function(t){r.resolvePromise=t}))}return(0,s.Z)(t,[{key:"componentWillLoad",value:function(){this.mountEmitter.emit(this.setContext)}},{key:"disconnectedCallback",value:function(){this.resolvePromise()}},{key:"render",value:function(){return this.context?this.renderer(this.context):null}}]),t}()}}]);