import{r as t,h as s,H as i}from"./p-9f21f85f.js";import{L as p,S as a}from"./p-c2c9e896.js";import{I as o,a as r,D as e,K as h,T as m,U as j}from"./p-858f99b1.js";import"./p-7737f905.js";import"./p-91c9569a.js";import"./p-e78d5616.js";import"./p-3968aca6.js";import"./p-105f7627.js";import"./p-d343a062.js";import"./p-902ec37a.js";import"./p-03b520ca.js";import"./p-74e6e642.js";import"./p-f2484f8a.js";import"./p-3c7a3a90.js";import"./p-0ff0ee91.js";import"./p-62d6b6a7.js";import"./p-0563ceba.js";import"./p-1e47e7bd.js";import"./p-31e77e7b.js";import"./p-825ab276.js";import"./p-6c8be41c.js";import"./p-9f31253b.js";import"./p-1187cc7c.js";import"./p-881a2bb8.js";import"./p-968ee2ec.js";import"./p-d27cb594.js";const c=class{constructor(s){t(this,s),this.path="/",this.navigate=t=>{this.logger.infoGroup("navigate",{from:this.path,to:t.path}),this.path=t.path}}componentWillLoad(){const{database:t,testKey:s}=this;this.logger=new p(s).setLevel("debug"),this.logger.infoGroup("componentWillLoad",{storageKey:this.storageKey}),this.storage=new o(this.storageKey,this.logger),Object.entries(this.storageData||{}).map((([t,s])=>{this.storage.save(t,s)})),this.apiAtama=new r(t,this.logger),this.apiData=new e(t,this.logger),this.apiKimlik=new h(t,this.storage,this.logger),this.apiTakvim=new m(t,this.storage,this.logger),this.apiUye=new j(t,this.storage,this.logger),this.apiSozluk=new a,this.path=this.initialPath}render(){return s(i,null,s("dvn-app-root",{apiAtama:this.apiAtama,apiData:this.apiData,apiKimlik:this.apiKimlik,apiSozluk:this.apiSozluk,apiTakvim:this.apiTakvim,apiUye:this.apiUye,navigate:this.navigate,path:this.path,logger:this.logger,storage:this.storage}))}};c.style="khanguru-ui-test-wrapper{display:block}";export{c as khanguru_ui_test_wrapper}