import{r as registerInstance,h,H as Host}from"./index-55faf181.js";import{D as DataApiImpl}from"./dataApi-abfa358d.js";import{L as Logger}from"./utils-ee3626ab.js";import{g as getSessionData}from"./index-36f6c00a.js";import{C as CookieStorage}from"./cookie-93ea205f.js";import{d as dataApiEndpoint,K as KimlikApiMentornity,m as mentornityApiEndpoint,U as UyeApiMentornity}from"./uye-9ce5cbf6.js";import"./kimlikApi-7350588e.js";import"./data-transfer-field-918730a3.js";import"./BaseField-461b6d0c.js";import"./filter-cbaa3d7d.js";import"./_commonjsHelpers-27f122dd.js";import"./User-d2ee8b71.js";import"./data-model-f5160369.js";import"./membership-61c4a2f7.js";import"./membership-config-a51a5232.js";import"./table-config-5c917348.js";import"./FieldModelGenerator-1ee7fda2.js";import"./index-6a1cf9c1.js";import"./index-403e215e.js";import"./date-ce777316.js";import"./index-083a6906.js";import"./index-fa1db470.js";import"./string-3065a411.js";import"./app-config-d490f9ae.js";import"./spaces-460b4232.js";import"./table-list-view-config-8e775e94.js";import"./index-ebde6a66.js";import"./attachment-32decf79.js";import"./InterceptorHandler-6474bcf4.js";import"./view-config-39fd369a.js";import"./detail-view-config-dafcc086.js";import"./models-22fcdeab.js";import"./form-view-config-00abddd1.js";import"./ValidatorLength-f56a7c14.js";import"./actions-b9a0f808.js";import"./instance-46ab1e99.js";import"./list-fetch-state-623a5ba4.js";import"./index-da37d89d.js";import"./nested-395a4cd4.js";import"./time-zones-cf1e6113.js";var MentornityConsoleApp=function(){function t(t){var i=this;registerInstance(this,t);this.path="/";this.navigate=function(t){i.logger.debugGroup("navigate",{from:i.path,to:t.path});i.path=t.path}}t.prototype.componentWillLoad=function(){var t={"Session-Token":"NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0"};if(getSessionData().token){t["Authorization"]="Bearer "+getSessionData().token}this.path=location.pathname;this.storage=new CookieStorage;this.logger=new Logger("MentornityConsoleApp").setLevel("debug");this.logger.infoGroup("componentWillLoad");this.apiData=new DataApiImpl(dataApiEndpoint);this.apiKimlik=new KimlikApiMentornity(mentornityApiEndpoint,t);this.apiUye=new UyeApiMentornity(mentornityApiEndpoint,t)};t.prototype.render=function(){return h(Host,null,h("dvn-app-root",{apiAtama:this.apiAtama,apiData:this.apiData,apiKimlik:this.apiKimlik,apiUye:this.apiUye,navigate:this.navigate,path:this.path,logger:this.logger,storage:this.storage}))};Object.defineProperty(t,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return t}();export{MentornityConsoleApp as mentornity_console_app};