// import { once_ready } from 'once_ready';
//
// once_ready(function(){
//   // ↓ still jQuery - waiting v5: https://github.com/twbs/bootstrap/pull/23586 ↓
//   $('#welcomeModal').modal('show');
//   // ↑ still jQuery - waiting v5: https://github.com/twbs/bootstrap/pull/23586 ↑
// });

// var welcomeModal = document.getElementById('welcomeModal')
// welcomeModal.modal('show');

console.log(bootstrap.Tooltip.VERSION);

let welcomeModal = new bootstrap.Modal(document.getElementById('welcomeModal'));
welcomeModal.show();
// welcomeModal.focus();
// var welcomeModal = document.getElementById('welcomeModal');
// myModal.show(modalToggle);
// var welcomeModal = document.getElementById('welcomeModal');
// welcomeModal.addEventListener('show.bs.modal', function (event) {
//   show();
// })

@@ -1,11 +1,8 @@
-// 
 import %7B
@@ -38,14 +38,9 @@
 y';%0A
-//%0A// 
+%0A
 once
@@ -62,725 +62,182 @@
 ()%7B%0A
-//   // %E2%86%93 still jQuery - waiting v5: https://github.com/twbs/bootstrap/pull/23586 %E2%86%93%0A//   $('#welcomeModal').modal('show');%0A//   // %E2%86%91 still jQuery - waiting v5: https://github.com/twbs/bootstrap/pull/23586 %E2%86%91%0A// %7D);%0A%0A// var welcomeModal = document.getElementById('welcomeModal')%0A// welcomeModal.modal('show');%0A%0Aconsole.log(bootstrap.Tooltip.VERSION);%0A%0Alet welcomeModal = new bootstrap.Modal(document.getElementById('welcomeModal'));%0AwelcomeModal.show();%0A// welcomeModal.focus();%0A// var welcomeModal = document.getElementById('welcomeModal');%0A// myModal.show(modalToggle);%0A// var welcomeModal = document.getElementById('welcomeModal');%0A// welcomeModal.addEventListener('show.bs.modal', function (event) %7B%0A//   show();%0A// %7D)
+  if (document.getElementById('welcomeModal') !== null ) %7B%0A    let welcomeModal = new bootstrap.Modal(document.getElementById('welcomeModal'));%0A    welcomeModal.show();%0A  %7D;%0A%7D);
 %0A

fix js error