'use strict';

Object.defineProperty(exports, '__esModule', { value: true });

const index = require('./index-1141a245.js');
const kimlikApi = require('./kimlik-api-663f4884.js');
require('./apiBase-6c66ff1b.js');
require('./data-transfer-field-e8417d5f.js');
require('./BaseField-381327a9.js');
require('./filter-d5040f65.js');

const KhanguruUiTestMembershipActivation5 = class {
  constructor(hostRef) {
    index.registerInstance(this, hostRef);
  }
  render() {
    const assetsPath = index.getAssetPath(`./assets`);
    const space = {
      _id: 'acme-summer-camp',
      _created: new Date(),
      _updated: new Date(),
      name: 'Acme Summer Camp',
      logoUrl: `${assetsPath}/img/spaces/hexadrop.png`,
    };
    const teachersConfig = {
      _id: 'teachers',
      agreements: [],
      base: 'khanguru',
      fields: [],
      name: 'teachers-table',
      roleName: 'teacher',
      space,
    };
    const user = {
      _id: 'user_1',
      email: 'ata.turk@acme.com',
      firstName: 'Ata',
      lastName: 'Türk',
      status: 'active'
    };
    const database = {
      uyeMembershipConfigs: {
        'teachers': teachersConfig,
      },
      'teachers-table': {
        'teacher-1': {
          _id: 'teacher-1',
          config: teachersConfig,
          status: 'active',
          user,
        }
      },
      kimlikUsers: {
        'user_1': user
      },
      dvnAppConfigs: {
        'app-config-1': {
          mainContent: {
            centered: true,
          },
          mainNavigation: {
            items: []
          },
          membership: {
            _id: 'teachers'
          }
        }
      }
    };
    return (index.h(index.Host, { style: { overflow: 'auto' } }, index.h("khanguru-ui-test-wrapper", { database: database, initialPath: "/acme-summer-camp/teachers/invalid-membership-id", testKey: "khanguru-ui-test-membership-activation-5", storageData: {
        [kimlikApi.STORAGE_KEY_KIMLIK_TOKEN]: `${user._id}-token`
      } })));
  }
  static get assetsDirs() { return ["assets"]; }
};

exports.khanguru_ui_test_membership_activation_5 = KhanguruUiTestMembershipActivation5;
