import{r as registerInstance,h,H as Host}from"./index-b7735e0d.js";import{D as DataApiImpl}from"./dataApi-82558134.js";import{S as SozlukApi,L as Logger}from"./index-1e9f4c53.js";import{g as getSessionData}from"./index-c7307038.js";import{C as CookieStorage}from"./cookie-1686830b.js";import{K as KimlikApiMentornity,U as UyeApiMentornity}from"./uye-e958de1c.js";import{d as dataApiEndpoint,m as mentornityApiEndpoint}from"./env-52322014.js";import"./apiBase-d573f009.js";import"./data-transfer-field-918730a3.js";import"./BaseField-461b6d0c.js";import"./filter-cbaa3d7d.js";import"./kimlikApi-0d7e6ce7.js";import"./_commonjsHelpers-27f122dd.js";import"./utils-00b62373.js";import"./User-1ef5a482.js";import"./data-model-f7ccf826.js";import"./membership-e92743d1.js";import"./table-config-0c06fb1f.js";import"./FieldModelGenerator-020f4a04.js";import"./reference-field-0e7cd534.js";import"./index-7b119e61.js";import"./index-403101cb.js";import"./date-ce777316.js";import"./index-1d3efe49.js";import"./index-eb14fd2d.js";import"./index-80ec23ef.js";import"./index-4c39b6a6.js";import"./string-3065a411.js";import"./app-config-5d14e7bf.js";import"./spaces-9bcb3731.js";import"./ValidatorRegex-20b5a564.js";import"./InterceptorHandler-6474bcf4.js";import"./detail-view-config-59c98d8d.js";import"./view-config-dfb61752.js";import"./index-774783ee.js";import"./attachment-32decf79.js";import"./models-22fcdeab.js";import"./ModifierTrimmer-2f77f917.js";import"./ValidatorLength-f56a7c14.js";import"./form-view-config-16052dc8.js";import"./actions-b9a0f808.js";import"./instance-7b02ef1d.js";import"./nested-395a4cd4.js";import"./index-a1075948.js";import"./list-fetch-state-d8c2f8ef.js";import"./ValidatorEmail-df7a1b77.js";import"./table-list-view-config-99e5c0fd.js";import"./DvnDataAdapter-536a3258.js";import"./time-zones-cf1e6113.js";var MentornityConsoleApp=function(){function i(i){var t=this;registerInstance(this,i);this.path="/";this.navigate=function(i){t.logger.debugGroup("navigate",{from:t.path,to:i.path});t.path=i.path}}i.prototype.componentWillLoad=function(){var i={"Session-Token":"NTdiMzY3NjBlNjNiY2UxZWViMDAwMDA0"};if(getSessionData().token){i["Authorization"]="Bearer ".concat(getSessionData().token)}this.path=location.pathname;this.apiSozluk=new SozlukApi;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,i);this.apiUye=new UyeApiMentornity(mentornityApiEndpoint,i);this.apiSozluk=new SozlukApi};i.prototype.render=function(){return h(Host,null,h("dvn-app-root",{apiAtama:this.apiAtama,apiData:this.apiData,apiKimlik:this.apiKimlik,apiSozluk:this.apiSozluk,apiUye:this.apiUye,navigate:this.navigate,path:this.path,logger:this.logger,storage:this.storage}))};Object.defineProperty(i,"assetsDirs",{get:function(){return["assets"]},enumerable:false,configurable:true});return i}();export{MentornityConsoleApp as mentornity_console_app};