System.register(["./p-343b3b10.system.js","./p-031ec8fa.system.js","./p-76f5a5d2.system.js","./p-83b75450.system.js","./p-36ea68a3.system.js","./p-d309ff13.system.js","./p-398e3ad9.system.js","./p-891e647b.system.js","./p-1e21bde6.system.js","./p-92c6e714.system.js","./p-f7334209.system.js","./p-91d59198.system.js","./p-e847e88b.system.js","./p-b195a819.system.js","./p-5f7bc72e.system.js","./p-a56cdd14.system.js","./p-da593370.system.js","./p-cb044807.system.js","./p-ea3ce2c4.system.js","./p-6e7162e6.system.js","./p-6e679e9d.system.js","./p-abcb59d4.system.js","./p-ebdd1444.system.js","./p-6c3e6bdc.system.js","./p-356c131c.system.js","./p-d65f6afe.system.js","./p-0aeb0fcc.system.js","./p-dd468f04.system.js","./p-97c19fd0.system.js","./p-90b7d919.system.js","./p-58d55c18.system.js","./p-66d9c61b.system.js","./p-fe1f76a3.system.js","./p-d3ef0b9c.system.js","./p-41012daa.system.js","./p-09202c6e.system.js","./p-461943f5.system.js","./p-96d13b6e.system.js","./p-bbc2ae3f.system.js","./p-5a92fdf2.system.js","./p-93d5c6db.system.js","./p-cd60ed59.system.js","./p-d86a8e66.system.js","./p-e1b18076.system.js","./p-dfb1d72b.system.js","./p-acc35c29.system.js","./p-87c8155f.system.js","./p-a0c1f16a.system.js","./p-1708d7ff.system.js","./p-bb2becab.system.js","./p-e23f9637.system.js","./p-70552f4e.system.js","./p-4785c63b.system.js","./p-a5b88a1e.system.js","./p-fed348c1.system.js","./p-553220e0.system.js","./p-daa1f26a.system.js"],(function(s){"use strict";var t,e,n,i,o,p,c,f,u,m,a,r,y,j,d,h,b,l;return{setters:[function(s){t=s.r;e=s.h;n=s.H},function(s){i=s.i},function(s){o=s.D},function(s){p=s.L;c=s.S},function(s){f=s.A},function(s){u=s.M},function(s){m=s.g},function(s){a=s.g;r=s.i},function(s){y=s.C},function(s){j=s.T},function(s){d=s.K;h=s.U},function(s){b=s.d;l=s.m},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){},function(){}],execute:function(){var g=s("mentornity_console_app_context_injector",function(){function s(s){t(this,s)}s.prototype.componentWillLoad=function(){var s={"Session-Token":"NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0"};if(a().token){s["Authorization"]="Bearer ".concat(a().token)}this.storage=new y;this.logger=new p("MentornityConsoleAppContextInjector").setLevel("debug");this.logger.infoGroup("componentWillLoad");this.apiData=new o(b,{Authorization:s["Authorization"]});this.apiKimlik=new d(l,s);this.apiUye=new h(l,s);this.apiSozluk=new c};s.prototype.componentDidLoad=function(){var s=this;if(!r()){return}var t=m(location.pathname).membershipId;var e=function(t){return s.apiUye.getAppConfigOfMembership(t).then((function(t){s.appConfig=f.decode(t)}))};this.apiKimlik.getSession().then((function(n){s.user=n.user;s.apiUye.getMembershipsOfUser(n.user._id).then((function(n){var i=n.results;s.memberships=i;if(!i||i.length===0){return}if(t){s.membership=i.find((function(s){return s._id===t}));e(s.membership.config._id);return}s.membership=u.decode(i[0]);e(i[0].config._id)}))}))};s.prototype.invalidateAppContext=function(){this.logger.debug("invalidateAppContext")};s.prototype.render=function(){var s=this;return e(n,null,e(j.Provider,{state:{apiAtama:this.apiAtama,apiData:this.apiData,apiKimlik:this.apiKimlik,apiUye:this.apiUye,apiSozluk:this.apiSozluk,logger:this.logger,storage:this.storage,appContextInvalidator:function(){return s.invalidateAppContext()},appConfig:this.appConfig,membership:this.membership,memberships:this.memberships,notifier:this.notifier,user:this.user,theme:this.theme}},e("slot",null)))};return s}());i(g)}}}));