International voice artists

To present our website in the best way possible, Brilliant Voice® uses cookies. By further using our website, you agree to the use of cookies. For more detailed information, please see our Data Protection Declaration.`, beforeMounted() { this.isDark = document.documentElement.getAttribute('data-bs-theme') === 'dark'; }, mounted() { //this.envStore.eventBus.on('all-widgets-mounted', () => { setTimeout(() => { this.loadLegacyScripts(); }, 1000); //}); this.scrollPos = window.pageYOffset; this.width = window.innerWidth; this.handleScroll(); }, async created() { const isClient = typeof window !== 'undefined' && typeof window.location !== 'undefined'; // To improve performance, get all widget positions and prefetch them in one single query if (Object.keys(this.widgetsStore.positionsLoaded).length < 1) { console.debug(`Created prefetch all widgets for all positions`); await this.widgetsStore.fetchAllWidgets(this.$options.template); } if (this.my.id > 0 && !this.usersStore.users[this.my.id]) { //console.debug('Created prefetch my own profile') await this.usersStore.fetchProfile(this.my.id); } if (!this.bookmarksStore.listsData) { //console.debug('Created prefetch bookmark lists') await this.bookmarksStore.fetchBookmarkLists(); } }, async serverPrefetch() { // To improve performance, get all widget positions and prefetch them in one single query if (Object.keys(this.widgetsStore.positionsLoaded).length < 1) { console.debug(`Server prefetch all widgets for all positions`); await this.widgetsStore.fetchAllWidgets(template); } if (this.my.id > 0 && !this.usersStore.users[this.my.id]) { console.debug('Server prefetch my own profile') await this.usersStore.fetchProfile(this.my.id); } if (!this.bookmarksStore.listsData) { console.debug('Server prefetch bookmark lists') await this.bookmarksStore.fetchBookmarkLists(); } }, computed: { ...mapStores(vueStores.useUsersStore, vueStores.useBookmarksStore, vueStores.useWidgetsStore), domain() { return this.envStore.window.config.properties[this.envStore.window.config.propertyId].domain; }, lang() { return this.envStore.window.config.languages[this.envStore.window.config.currentLanguagteId].lang; }, templatePath() { return this.envStore.window.config.template.path; }, }, methods: { loadLegacyScripts() { if (!this.legacyScriptsExecuted) { this.legacyScriptsExecuted = true; console.log('Execute legacy scripts...'); setUploadToolbarPosition(); $('.playerItemElement').novoPlayer(); $( ".accordion" ).accordion({ active: true, autoHeight: false, clearStyle: true, heightStyle: "content", navigation: true, collapsible: true }); var allAdaptiveBG = $('.adaptiveBG'); allAdaptiveBG.each(function(){ responsiveBackgroundImageResolution( $(this) ); }); var allAdaptiveSRC = $('.adaptiveSRC'); allAdaptiveSRC.each(function(){ responsiveImageResolution( $(this) ); }); $(".datepickerUI").datepicker({ firstDay: 1, dateFormat: "dd.mm.yy" }); $(".datepickerUI_autoTrigger").datepicker({ dateFormat: "dd.mm.yy", onSelect: function (dateText, inst) { var e = jQuery.Event("keyup"); e.which = 13; e.keyCode = 13; $(this).trigger(e); } }); $(".datepickerUI_HM").datetimepicker({ firstDay: 1, dateFormat: "dd.mm.yy", timeFormat: "hh:mm" }); $(".datepickerUI_HMS").datetimepicker({ firstDay: 1, dateFormat: "dd.mm.yy", timeFormat: "hh:mm:ss" }); $('.ui-tabs').not('.ui-tabs .ui-tabs').tabs({ beforeActivate: function (event, ui) { window.location.hash = ui.newPanel.selector; } }); $(window).on('hashchange', function () { if (!location.hash) { $('.ui-tabs').not('.ui-tabs .ui-tabs').tabs('option', 'active', 0); return; } $('.ui-tabs > ul > li > a').not('.ui-tabs .ui-tabs > ul > li > a').each(function (index, a) { if( $(a).attr('href') == location.hash ){ $('.ui-tabs').not('.ui-tabs .ui-tabs').tabs('option', 'active', index); } }); }); } }, handleScroll() { window.onscroll = () => { this.updateScroll(); }; window.onresize = () => { this.updateScroll(); }; }, updateScroll() { clearTimeout(this.updating); this.updating = setTimeout(() => { this.scrollPos = window.pageYOffset; this.width = window.innerWidth; }, 100); }, }, } , true); rootApp.mount('#vueApp'); });