
class Widget1 {
constructor() {
this.defaultTransition = "all 0s ease 0s;";
this.fontSizeStep = 0;
this.maxFontSizeStep = 4;
this.incrementFontSize = 12;
this.isFontBold = false;
this.isLinkHighlighted = false;
this.isTitleHighlighted = false;
this.isRemoveImages = false;
this.isWhiteTheme = false;
this.speechCont = false;
this.audioFunc = false;
this.magFunc = false;
this.initialize();
}

initialize() {
this.createStyle();
this.createContainer();
this.eventBindings();
}

createStyle() {
const styleTag = document.createElement('style');
styleTag.innerHTML = `:focus{outline:0}*,::after,::before{box-sizing:border-box}.acc-reader div{display:none!important}.acc-reader div#reader-content{display:block!important}body.acc-reader>*{display:none}#acc-reader-container{display:none}body.acc-reader #acc-reader-container{max-width:800px;margin:0 auto}body.acc-reader #acc-reader-container,body.acc-reader #accessability_container{display:block}body.acc-reader{padding:0 15px}.acc-initialized{position:relative}.acc-initialized::after{position:fixed;content:"";background:0 0;transition:all .6s ease;-webkit-transition:all .6s ease;z-index:-1;right:0;top:0;bottom:0;left:0;width:100%;transition-delay:50ms}.acc-initialized.acc-bg-light::after{background:#fcf2dc;left:0;transition:all .6s ease}.acc-initialized.acc-bg-black::after{background:#000;left:0}.acc-initialized.acc-bg-white::after{background:#fff;left:0}.acc-bg-black{color:#f6f6f6}@-webkit-keyframes menu-animation{0%{opacity:0;-webkit-transform:scale(.04) translateY(300%);transform:scale(.04) translateY(300%)}40%{-webkit-transform:scale(.04) translateY(0);transform:scale(.04) translateY(0);-webkit-transition:ease-out;transition:ease-out}40%{-webkit-transform:scale(.04) translateY(0);transform:scale(.04) translateY(0)}60%{opacity:1;-webkit-transform:scale(.02) translateY(0);transform:scale(.02) translateY(0)}61%{-webkit-transform:scale(.04);transform:scale(.04)}99.9%{height:0;padding-bottom:100%;border-radius:100%}100%{-webkit-transform:scale(2);transform:scale(2);height:100%;padding-bottom:0;border-radius:0}}@keyframes menu-animation{0%{opacity:0;-webkit-transform:scale(.04) translateY(300%);transform:scale(.04) translateY(300%)}40%{-webkit-transform:scale(.04) translateY(0);transform:scale(.04) translateY(0);-webkit-transition:ease-out;transition:ease-out}40%{-webkit-transform:scale(.04) translateY(0);transform:scale(.04) translateY(0)}60%{opacity:1;-webkit-transform:scale(.02) translateY(0);transform:scale(.02) translateY(0)}61%{-webkit-transform:scale(.04);transform:scale(.04)}99.9%{height:0;padding-bottom:100%;border-radius:100%}100%{-webkit-transform:scale(2);transform:scale(2);height:100%;padding-bottom:0;border-radius:0}}@-webkit-keyframes anim-rotate{0%{transform:rotate(0);-webkit-transform:rotate(0)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg)}}@keyframes anim-rotate{0%{transform:rotate(0);-webkit-transform:rotate(0)}100%{transform:rotate(359deg);-webkit-transform:rotate(359deg)}}.acc-bg-black .acs_control_sec,.acc-bg-light .acs_control_sec,.acc-bg-white .acs_control_sec,.acs_control_sec{width:350px;height:780px;min-height:400px;max-height:90vh;background:rgba(255,255,255,.9)!important;position:fixed;transform:translateY(-50%);right:-350px;top:50%;transition:all .65s ease;-webkit-transition:all .65s ease;padding:20px 30px 20px;box-shadow:-4px 14px 40px 0 rgba(19,21,27,.02);-webkit-box-shadow:-4px 14px 40px 0 rgba(19,21,27,.02);-ms-box-shadow:-4px 14px 40px 0 rgba(19,21,27,.02);z-index:99999;transition-delay:50ms;-webkit-transition-delay:50ms;border-radius:8px 0 0 8px;-webkit-border-radius:8px 0px 0px 8px;background:rgba(0,0,0,.8);-webkit-backdrop-filter:saturate(140%) blur(10px);backdrop-filter:saturate(140%) blur(10px);font-family:Arial,Helvetica,Gadget,sans-serif!important}@supports ((-webkit-backdrop-filter:blur(2em)) or (backdrop-filter:blur(2em))){.acs_control_sec{background-color:rgba(255,255,255,.5);-webkit-backdrop-filter:saturate(140%) blur(10px);backdrop-filter:saturate(140%) blur(10px)}}.acc-infolist-active .ac-open.acs_control_sec{transition-delay:50ms;-webkit-transition-delay:50ms}.ac-open.acs_control_sec{right:0;box-shadow:-4px 10px 30px 0 rgba(19,21,27,.45);-webkit-box-shadow:-4px 10px 30px 0 rgba(19,21,27,.45);-ms-box-shadow:-4px 10px 30px 0 rgba(19,21,27,.45)}.ac_ctl_btn,.acc-bg-black .acs_control_sec .ac_ctl_btn,.acc-bg-light .acs_control_sec .ac_ctl_btn,.acc-bg-white .acs_control_sec .ac_ctl_btn,.acs_control_sec .ac_ctl_btn{width:60px;height:60px;background-color:#0045e2!important;display:block;border-radius:50%;bottom:90px;position:absolute;left:-80px;padding:14px;transition:all .8s ease;-webkit-transition:all .8s ease;cursor:pointer;opacity:1!important;line-height:1!important}.ac-open .ac_ctl_btn,.acc-bg-black .ac-open .ac_ctl_btn,.acc-bg-light .ac-open .ac_ctl_btn,.acc-bg-white .ac-open .ac_ctl_btn{left:-30px}.ac_ctl_btn.ac_buy_btn,.acc-bg-black .acs_control_sec .ac_ctl_btn.ac_buy_btn,.acc-bg-light .acs_control_sec .ac_ctl_btn.ac_buy_btn,.acc-bg-white .acs_control_sec .ac_ctl_btn.ac_buy_btn,.acs_control_sec .ac_ctl_btn.ac_buy_btn{bottom:170px}.ac_ctl_btn .ac_ctrl-open,.acc-bg-black .ac_ctl_btn .ac_ctrl-open,.acc-bg-light .ac_ctl_btn .ac_ctrl-open,.acc-bg-white .ac_ctl_btn .ac_ctrl-open{background:url(https://service.demowebsitelinks.com/ada_plugin/images/ic_accessibility.svg) scroll center no-repeat!important;display:block;width:100%;height:100%;background-size:contain!important;opacity:1;visibility:visible;transform:scale(1);transition:all .6s ease;-webkit-transition:all .6s ease}.ac_ctl_btn.close .ac_ctrl-open{opacity:0;visibility:hidden;transform:scale(0);-moz-transform:scale(0)}.ac_ctl_btn .ac_anim_icon,.acc-bg-black .ac_ctl_btn .ac_anim_icon,.acc-bg-light .ac_ctl_btn .ac_anim_icon,.acc-bg-white .ac_ctl_btn .ac_anim_icon{background:url(https://service.demowebsitelinks.com/ada_plugin/images/xa-logo.png) center no-repeat!important;background-size:contain!important;display:block;width:100%;height:100%;position:absolute;left:0;top:0;border-radius:100%;content:"UXT";background-size:contain;animation:scale-anim 14s ease-out forwards infinite;-webkit-animation:scale-anim 14s ease-out forwards infinite}.ac-open .ac_ctl_btn .ac_anim_icon,.acc-bg-black .ac-open .ac_ctl_btn .ac_anim_icon,.acc-bg-light .ac-open .ac_ctl_btn .ac_anim_icon,.acc-bg-white .ac-open .ac_ctl_btn .ac_anim_icon{display:none}@keyframes scale-anim{100%,30%{opacity:0;transform:scale(0);-webkit-transform:scale(0);transition:all 1.4s ease}0%{opacity:0;transform:scale(0);-webkit-transform:scale(0)}15%{opacity:1;transform:scale(1);-webkit-transform:scale(1)}}@-webkit-keyframes scale-anim{100%,20%{opacity:0;transform:scale(0);-webkit-transform:scale(0);transition:all 1.4s ease}0%{opacity:0;transform:scale(0);-webkit-transform:scale(0)}10%{opacity:1;transform:scale(1);-webkit-transform:scale(1)}}.ac_ctl_btn .ac_ctrl-close{position:absolute;top:22px;transition:all .6s ease;-webkit-transition:all .6s ease;opacity:0;visibility:hidden;transform:scale(0);-moz-transform:scale(0);width:24px;height:24px;left:20px}.ac_ctl_btn .ac_ctrl-close:after{position:absolute;content:"";width:15px;height:15px;border-right:2px solid #fff;border-top:2px solid #fff;transform:rotate(45deg);-moz-transform:rotate(45deg);background:0 0;top:0;left:0}.ac_ctl_btn.close .ac_ctrl-close{opacity:1;visibility:visible;transform:scale(1);-moz-transform:scale(1);background:0 0}.acc-controls-wrapper{height:calc(100% - 40px);position:absolute;width:calc(100% - 60px);transition:all .6s ease!important;-webkit-transition:all .6s ease!important;transform:translateX(40px);-webkit-transform:translateX(40px);opacity:0;visibility:hidden;z-index:-9}.control-open .acc-controls-wrapper{opacity:1;visibility:visible;transform:translateX(0);-webkit-transform:translateX(0);z-index:9}.acs_control_sec h2{font-size:34px;font-weight:600;color:#222;line-height:1;margin:0;font-family:"Arial Black","Arial Bold",Gadget,sans-serif!important;transition:all .6s ease;-webkit-transition:all .6s ease;padding:0 0 15px}.ac_ctl_btn .explore,.acc-bg-black .ac_ctl_btn .explore,.acc-bg-light .ac_ctl_btn .explore,.acc-bg-white .ac_ctl_btn .explore{position:absolute;width:210px;right:-35px;top:50%;transform:translateY(-50%) translateX(100%);-webkit-transform:translateY(-50%) translateX(100%);transition:all .6s ease;-webkit-transition:all .6s ease;padding:12px 0;background:#000!important;z-index:-1;border-radius:10px 0 0 10px}.acc-bg-light.acc-blue-theme .ac_ctl_btn .explore,.acc-blue-theme .ac_ctl_btn .explore{background:rgba(0,69,226,.98)!important}.acc-bg-white .ac_ctl_btn .explore{background:#000!important}.acc-bg-white .ac_ctl_btn .explore span.exp_txt{color:#fff!important}.acc-bg-black .ac_ctl_btn .explore{background:#000!important;transition:all .6s ease;-webkit-transition:all .6s ease}.ac_ctl_btn:hover .explore{transform:translateY(-50%) translateX(0);-webkit-transform:translateY(-50%) translateX(0);opacity:1;visibility:visible;transition:all .6s ease;-webkit-transition:all .6s ease;right:-30px}.acc-bg-black .uxt,.uxt{content:"UXT";position:absolute;left:50%;bottom:8px;color:#fff!important;font-size:12px!important;font-family:"Arial Black","Arial Bold",Gadget,sans-serif!important;background:#000!important;padding:3px 4px 3px;border-radius:3px;z-index:98;line-height:1.1;transform:translateX(-50%);-webkit-transform:translateX(-50%)}.ac-open .ac_ctl_btn .explore,.ac-open .ac_ctl_btn:hover .explore{opacity:0;visibility:hidden}.ac_ctl_btn .explore span.exp_txt{width:60%;display:inline-block;padding-left:10px;color:#fff!important;font-size:16px!important;font-weight:400!important;font-family:Arial,Helvetica,Gadget,sans-serif!important}.acs-controls{display:flex;flex-wrap:wrap;margin:30px 0 30px}.acs-controls ul.ctrl-lst{width:100%;padding:0;margin:0;display:flex;flex-wrap:wrap;justify-content:space-between;list-style:none}.acs-controls{display:flex;flex-wrap:wrap;margin:20px 0 15px}.acs-controls ul.ctrl-lst{width:100%;padding:0;margin:10px 0 15px;display:flex;flex-wrap:wrap;justify-content:space-around;list-style:none}.acs-controls ul.ctrl-lst li{display:block;width:55px;height:55px;border-radius:50%;box-shadow:0 1px 1px 0 transparent;-webkit-box-shadow:0 1px 1px 0 transparent;border:1px solid #c5c5c5!important;cursor:pointer;line-height:55px;text-align:center;position:relative;transition:all .6s ease;-webkit-transition:all .6s ease;transform:scale(.95);-webkit-transform:scale(.95)}.acs-controls ul.ctrl-lst li:hover{transform:scale(1.1)}.acs-controls ul.ctrl-lst li.acc-images>svg,.acs-controls ul.ctrl-lst li.acc-links>svg{top:50%;position:absolute;left:50%;transform:translateX(-50%) translateY(-50%);width:50%}.acs-controls ul.ctrl-lst li.acc-images>svg{fill:#0045e2}.acs-controls ul.ctrl-lst li.acc-headings{font-size:2rem;font-weight:800!important}.ctrl-lst li.txt-sm{font-size:1.2rem;display:block;text-align:center}.ctrl-lst li.txt-lg{font-size:2rem}.ctrl-lst li.bg-txt{font-size:2rem;font-weight:700}.reset-button{width:36px;display:inline-block}.reset-button svg{width:100%}.acs-controls ul.acc-lst-bg li{font-size:0}.acs-controls ul.acc-lst-bg li.bg_white{background:#fff!important}.acs-controls ul.acc-lst-bg li.bg_light{background:#fcf2dc!important}.acs-controls ul.acc-lst-bg li.bg_black{background:#000!important}.acs-controls ul.ctrl-lst li:before{position:absolute;content:""}.acs-controls ul.ctrl-lst li.active:before{width:12px;height:12px;background:#0045e2;border-radius:50%;left:50%;margin-left:-6px;bottom:-20px}.acs-controls ul.ctrl-lst.acc-lst-bg li:after,.acs-controls ul.ctrl-lst.acc-lst-bg li:before{position:absolute;content:"";transform:rotate(0) scale(0);-webkit-transform:rotate(0) scale(0);transition:all .4s ease;-webkit-transition:all .4s ease}.acs-controls ul.ctrl-lst.acc-lst-bg li.active:before{width:20px;height:10px;border-left:2px solid #000;border-bottom:2px solid #000;background:0 0;transition:all .4s ease;transform:rotate(-40deg) scale(1);-webkit-transform:rotate(-40deg) scale(1);left:18px;top:18px;border-radius:0;margin-left:0}.acs-controls ul.acc-lst-bg li.bg_black.active:before{border-left:2px solid #fff;border-bottom:2px solid #fff}.bottom-button-wrap{margin:20px 0 0;display:flex;flex-wrap:wrap;justify-content:space-between}.info-button{width:36px;height:36px;border-radius:50%;background:#0045e2;text-align:center;padding:8px;line-height:1}.info-button svg{width:100%;height:100%;object-fit:contain;-webkit-object-fit:contain}.acc-lst-font li{width:18px;height:18px}.acc-lst-font li a{top:3px;left:3px;width:12px;height:12px;background-color:#c44d48;-webkit-transition:opacity .3s ease;transition:opacity .3s ease}.acc-lst-font li.txt-lg svg{z-index:10;position:absolute;left:0;top:0;transform:rotate(-90deg);-webkit-transform:rotate(-90deg)}.acc-lst-font li svg circle{opacity:0;fill:none;stroke:#000;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:48 48;stroke-dashoffset:48;-webkit-transition:stroke-dashoffset .3s,stroke-dasharray .4s,opacity .3s;transition:stroke-dashoffset .3s,stroke-dasharray .4s,opacity .3s}.acc-blue-theme .acc-lst-font li svg circle{stroke:#fff}.acc-lst-font li a:focus,.acc-lst-font li a:hover,.acc-lst-font li.active a{opacity:.5}.acc-lst-font li.active svg circle{opacity:1;stroke-dashoffset:0}.acc-font-1x .acc-lst-font li.active svg circle{stroke-dasharray:12 48}.acc-font-2x .acc-lst-font li.active svg circle{stroke-dasharray:24 48}.acc-font-3x .acc-lst-font li.active svg circle{stroke-dasharray:36 48}.acc-font-4x .acc-lst-font li.active svg circle{stroke-dasharray:48 48}.acs-audio-control{text-align:center;display:flex;align-items:center;justify-content:center}.acc-bg-black .acs-audio-control .acs-audio,.acc-bg-light .acs-audio-control .acs-audio,.acc-bg-white .acs-audio-control .acs-audio,.acs-audio-control .acs-audio{display:flex;width:110px;height:110px;text-align:center;background:#fff!important;border-radius:50%;line-height:110px;justify-content:center;align-items:center;box-shadow:1px 1.4px 5px 0 rgba(0,0,0,.05);border:1px solid #c5c5c5!important;padding:30px;border:1px solid #fff;transition:all .6s ease;-webkit-transition:all .6s ease;cursor:pointer;position:relative}.acs-audio-control .acs-audio span{line-height:1;position:absolute;display:flex;width:100%;height:100%;left:0;right:0;top:0;bottom:0;align-items:center;justify-content:center}.acs-audio-control .acs-audio svg{transform:scale(.65);-webkit-transform:scale(.65);transition:all .6s ease;-webkit-transition:all .6s ease;fill:#0045e2;width:100%}.acs-audio-control .acs-audio span.pause svg{padding:12px 5px;margin:-3px 0 0 2px}.acs-audio-control .acs-audio span.play svg{margin:-4px 0 0 5px}.acs-audio-control .acs-audio:hover svg{transform:scale(.8);-webkit-transform:scale(.8)}.acs-audio-control .acs-audio svg path{fill:#0045e2;transition:all .6s ease;-webkit-transition:all .6s ease}.color-mode-wrap{display:flex;justify-content:center;flex-wrap:wrap;align-items:center;margin:30px 0 0;transition:all .6s ease;-webkit-transition:all .6s ease}.color-mode-wrap h4{width:100%;text-align:center;margin:0 6px 0 0;transition:all .6s ease;-webkit-transition:all .6s ease;font-size:12px!important;font-family:"Arial Black","Arial Bold",Gadget,sans-serif!important}.acs-help-lst ul.acs-bg-blue{margin:0;padding:10px 10px 10px 20px;list-style:none}.acs-help-lst ul li h4{font-size:16px!important;font-family:"Arial Black","Arial Bold",Gadget,sans-serif!important}.close-info{position:absolute;font-size:0px;text-indent:-9999px}.acc-infolist-active .ac_ctl_btn.close-info:hover{transform:rotate(360deg) scale(1)}.close-info:before{content:"";width:30px!important;height:30px!important;border-left:2px solid #fff!important;position:absolute;left:25px;top:5px;transform:rotate(-45deg);transition:all .4s ease}.close-info:after{content:"";width:30px!important;height:30px!important;border-left:2px solid #fff!important;position:absolute;left:25px;top:25px;transform:rotate(45deg);transition:all .4s ease}.acs-help-lst ul.acs-bg-blue li{display:flex;flex-wrap:wrap;align-items:center;height:58px}.acs-help-lst ul.acs-bg-blue li span.acs-icon{display:inline-block;width:70px;height:45px;margin-right:22px;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-text{background-position:0 0!important;background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/text-size-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-text{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/text-size-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-bold{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/bold-font-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-bold{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/bold-font-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-links{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/link-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-links{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/link-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-titles{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/title-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-titles{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/title-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-reader{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/reader-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-reader{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/image-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-colors{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/color-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-colors{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/color-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-play{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/play-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-play{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/play-dark.svg) center no-repeat!important;background-size:contain!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-mode{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/light/mode-light.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-mode{background:url(https://service.demowebsitelinks.com/ada_plugin/images/icons/dark/mode-dark.svg) center no-repeat!important}.acs-help-lst ul.acs-bg-blue li span.acs-icon-reset{background:url(https://service.demowebsitelinks.com/ada_plugin/images/ac-reset.svg) center no-repeat!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li span.acs-icon-reset{background:url(https://service.demowebsitelinks.com/ada_plugin/images/ac-reset-wt.svg) center no-repeat!important;height:34px;margin-top:8px}.acc-infolist-active .ac_ctl_btn{transform:scale(0)}.acc-infolist-active .ac_ctl_btn.close-info{transform:rotate(0) scale(1)}.acc-infolist-active .ac_ctl_btn.close-info:hover{transform:rotate(180deg) scale(1)}.can-toggle{width:200px;position:relative}.can-toggle *,.can-toggle :after,.can-toggle :before{box-sizing:border-box}.can-toggle input[type=checkbox]{opacity:0;position:absolute;top:0;left:0}.can-toggle input[type=checkbox][disabled]~label{pointer-events:none}.can-toggle input[type=checkbox][disabled]~label .can-toggle__switch{opacity:.4}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:before{content:attr(data-unchecked);left:0}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:after{content:attr(data-checked);background:#fff}.can-toggle label{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;position:relative;display:flex;align-items:center}.can-toggle label .can-toggle__label-text{flex:1;padding-left:32px}.can-toggle label .can-toggle__switch{position:relative}.can-toggle label .can-toggle__switch:before{content:attr(data-checked);position:absolute;top:0;text-transform:uppercase;text-align:center}.can-toggle label .can-toggle__switch:after{content:attr(data-unchecked);position:absolute;z-index:5;text-transform:uppercase;text-align:center;background:#0045e2;-webkit-transform:translate3d(0,0,0);transform:translate3d(0,0,0)}.can-toggle input[type=checkbox][disabled]~label{color:rgba(119,119,119,.5)}.can-toggle input[type=checkbox]:focus~label .can-toggle__switch,.can-toggle input[type=checkbox]:hover~label .can-toggle__switch{background-color:#fff}.can-toggle input[type=checkbox]:focus~label .can-toggle__switch:after,.can-toggle input[type=checkbox]:hover~label .can-toggle__switch:after{color:#5e5e5e}.can-toggle input[type=checkbox]:hover~label{color:#6a6a6a}.can-toggle input[type=checkbox]:checked~label:hover{color:#55bc49}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch{background-color:transparent!important;border:1px solid #fff}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:after{color:#4fb743}.can-toggle input[type=checkbox]:checked:focus~label .can-toggle__switch,.can-toggle input[type=checkbox]:checked:hover~label .can-toggle__switch{background-color:transparent}.can-toggle input[type=checkbox]:checked:focus~label .can-toggle__switch:after,.can-toggle input[type=checkbox]:checked:hover~label .can-toggle__switch:after{color:#47a43d}.can-toggle label .can-toggle__label-text{flex:1}.acc-bg-black .can-toggle label .can-toggle__switch,.acc-bg-light .can-toggle label .can-toggle__switch,.can-toggle label .can-toggle__switch{transition:background-color .3s cubic-bezier(0, 1, .5, 1);background:#fff!important}.can-toggle label .can-toggle__switch:before{color:rgba(255,255,255,.5)}.can-toggle label .can-toggle__switch:after{transition:-webkit-transform .3s cubic-bezier(0, 1, .5, 1);transition:transform .3s cubic-bezier(0, 1, .5, 1);transition:transform .3s cubic-bezier(0, 1, .5, 1),-webkit-transform .3s cubic-bezier(0, 1, .5, 1);color:#777}.can-toggle input[type=checkbox]:focus~label .can-toggle__switch:after,.can-toggle input[type=checkbox]:hover~label .can-toggle__switch:after{box-shadow:0 3px 3px rgba(0,0,0,.4)}.can-toggle input[type=checkbox]:checked~label .can-toggle__switch:after{-webkit-transform:translate3d(65px,0,0);transform:translate3d(65px,0,0)}.can-toggle input[type=checkbox]:checked:focus~label .can-toggle__switch:after,.can-toggle input[type=checkbox]:checked:hover~label .can-toggle__switch:after{box-shadow:0 3px 3px rgba(0,0,0,.4)}.can-toggle label{font-size:14px}.can-toggle label .can-toggle__switch{height:36px;flex:0 0 134px;border-radius:4px}.can-toggle label .can-toggle__switch:before{left:67px;font-size:12px;line-height:35px;width:67px;padding:0 12px}.can-toggle label .can-toggle__switch:after{top:2px;left:2px;border-radius:2px;width:65px;line-height:32px;font-size:12px}.can-toggle label .can-toggle__switch:hover:after{box-shadow:0 3px 3px rgba(0,0,0,.15)}.can-toggle.can-toggle--size-small input[type=checkbox]:focus~label .can-toggle__switch:after,.can-toggle.can-toggle--size-small input[type=checkbox]:hover~label .can-toggle__switch:after{box-shadow:0 2px 2px rgba(0,0,0,.4)}.can-toggle.can-toggle--size-small input[type=checkbox]:checked~label .can-toggle__switch:after{-webkit-transform:translate3d(44px,0,0);transform:translate3d(44px,0,0)}.can-toggle.can-toggle--size-small input[type=checkbox]:checked:focus~label .can-toggle__switch:after,.can-toggle.can-toggle--size-small input[type=checkbox]:checked:hover~label .can-toggle__switch:after{box-shadow:0 2px 2px rgba(0,0,0,.4)}.can-toggle.can-toggle--size-small label{font-size:13px}.can-toggle.can-toggle--size-small label .can-toggle__switch{height:28px;flex:0 0 90px;border-radius:2px}.can-toggle.can-toggle--size-small label .can-toggle__switch:before{left:45px;font-size:10px;line-height:28px;width:45px;padding:0 12px}.can-toggle.can-toggle--size-small label .can-toggle__switch:after{top:1px;left:1px;border-radius:1px;width:44px;line-height:26px;font-size:10px}.can-toggle.can-toggle--size-small label .can-toggle__switch:hover:after{box-shadow:0 2px 2px rgba(0,0,0,.25)}.can-toggle.can-toggle--size-large input[type=checkbox]:focus~label .can-toggle__switch:after,.can-toggle.can-toggle--size-large input[type=checkbox]:hover~label .can-toggle__switch:after{box-shadow:0 4px 4px rgba(0,0,0,.15)}.can-toggle.can-toggle--size-large input[type=checkbox]:checked~label .can-toggle__switch:after{-webkit-transform:translate3d(100px,0,0);transform:translate3d(100px,0,0)}.can-toggle.can-toggle--size-large input[type=checkbox]:checked:focus~label .can-toggle__switch:after,.can-toggle.can-toggle--size-large input[type=checkbox]:checked:hover~label .can-toggle__switch:after{box-shadow:0 4px 4px rgba(0,0,0,.1)}.can-toggle.can-toggle--size-large label{font-size:14px}.can-toggle.can-toggle--size-large label .can-toggle__switch{height:32px;flex:0 0 200px;border-radius:4px;box-shadow:0 6px 30px 0 rgba(0,0,0,.15)}.can-toggle.can-toggle--size-large label .can-toggle__switch:before{left:80px;font-size:0px;line-height:30px;width:100px;padding:0 12px}.can-toggle.can-toggle--size-large label .can-toggle__switch:after{top:-2px;left:0;border-radius:4px;width:100px;line-height:35px;font-size:0}.can-toggle.can-toggle--size-large label .can-toggle__switch:hover:after{box-shadow:0 4px 4px rgba(0,0,0,.1)}.can-toggle.demo-rebrand-1 input[type=checkbox][disabled]~label{color:rgba(181,62,116,.5)}.can-toggle.demo-rebrand-1 input[type=checkbox]:focus~label .can-toggle__switch,.can-toggle.demo-rebrand-1 input[type=checkbox]:hover~label .can-toggle__switch{background-color:#b53e74}.can-toggle.demo-rebrand-1 input[type=checkbox]:focus~label .can-toggle__switch:after,.can-toggle.demo-rebrand-1 input[type=checkbox]:hover~label .can-toggle__switch:after{color:#8f315c}.can-toggle.demo-rebrand-1 input[type=checkbox]:hover~label{color:#a23768}.can-toggle.demo-rebrand-1 input[type=checkbox]:checked~label:hover{color:#39916a}.can-toggle.demo-rebrand-1 input[type=checkbox]:checked~label .can-toggle__switch{background-color:#44ae7f}.can-toggle.demo-rebrand-1 input[type=checkbox]:checked~label .can-toggle__switch:after{color:#368a65}.can-toggle.demo-rebrand-1 input[type=checkbox]:checked:focus~label .can-toggle__switch,.can-toggle.demo-rebrand-1 input[type=checkbox]:checked:hover~label .can-toggle__switch{background-color:#3d9c72}.can-toggle.demo-rebrand-1 input[type=checkbox]:checked:focus~label .can-toggle__switch:after,.can-toggle.demo-rebrand-1 input[type=checkbox]:checked:hover~label .can-toggle__switch:after{color:#2f7757}.acc-bg-black .acs-help-lst,.acc-bg-light .acs-help-lst,.acc-bg-white .acs-help-lst,.acs-help-lst{opacity:0;visibility:hidden;position:absolute;width:100%;height:100%;top:0;left:300px;padding:30px 25px 30px;background:rgba(255,255,255,.98)!important;box-shadow:-4px 14px 40px 0 rgba(19,21,27,.05);transition:all .6s ease!important;-webkit-transition:all .6s ease!important;transition-delay:50ms;-webkit-transition-delay:50ms;z-index:99;border-radius:6px 0 0 6px}.acc-infolist-active .acs-help-lst{left:0;opacity:1;visibility:visible}.acc-infolist-active .acs-help-lst .acc-scroll-wrap{height:calc(100% - 40px)!important}.acc-bg-black.acc-infolist-active .acs-help-lst,.acc-bg-light.acc-infolist-active .acs-help-lst,.acc-bg-white.acc-infolist-active .acs-help-lst,.acc-infolist-active .acs-help-lst{background:rgba(255,255,255,.99)!important}.acc-infolist-active.acc-blue-theme .acs-help-lst{background:rgba(0,69,226,.99)!important}.acc-infolist-active.acc-blue-theme .acs-help-lst .acs-bg-blue{color:#fff}.acc-blue-theme .acs_control_sec{background:rgba(0,69,226,.9)!important}.acc-blue-theme .acs-help-lst ul.acs-bg-blue li,.acc-blue-theme .acs-help-lst ul.acs-bg-blue li h4,.acc-blue-theme .acs_control_sec h2,.acc-blue-theme .color-mode-wrap,.acc-blue-theme .color-mode-wrap h4{color:#fff!important}.acc-blue-theme .acs-audio-control .acs-audio svg,.acc-blue-theme .acs-audio-control .acs-audio svg path,.acc-blue-theme .acs-controls ul.ctrl-lst li,.acc-blue-theme .acs-controls ul.ctrl-lst li>svg path,.acc-blue-theme .reset-button svg path{color:#fff!important;fill:#fff!important}.acc-blue-theme .acs-audio-control .acs-audio{background:0 0!important}.acc-blue-theme .info-button{background:0 0!important;border:1px solid #fff!important}.acc-blue-theme .acs_control_sec .ac_ctl_btn{background:#000!important}.acc-blue-theme.acc-bg-black .acs_control_sec .ac_ctl_btn{border:1px solid #fff}.acc-blue-theme.acc-bg-black .ac_ctl_btn .ac_ctrl-close:after{left:-1px}.acc-blue-theme .acs-controls ul.ctrl-lst li.active:before{background:#fff!important}.acc-blue-theme .acs-controls ul.ctrl-lst.acc-lst-bg li.active:before{background:0 0!important}.acc-controls-container{height:100%}.acs-controls-wrap{height:calc(100% - 100px)}.acs-controls-wrap .mCustomScrollBox{height:auto;padding:0 0 10px}.acs-controls-wrap .mCSB_container{height:100%;padding:0 0 30px}.acc-initialized .pause,.acc-initialized .play{transition:all .6s ease;-webkit-transition:all .6s ease}.acc-initialized .play{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.acc-initialized .pause{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.acc-initialized .speech-0 .pause,.acc-initialized .speech-1 .pause{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.acc-initialized .speech-0 .play,.acc-initialized .speech-1 .play{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.ac_ctl_btn .explore span.exp_txt a{color:#fff;margin:2px 6px;font-size:13px;font-weight:800;border-bottom:2px solid #fff}body.acc-reader.acc-font-bold #acc-reader-container,body.acc-reader.acc-font-bold #acc-reader-container ol li,body.acc-reader.acc-font-bold #acc-reader-container p,body.acc-reader.acc-font-bold #acc-reader-container ul li{font-family:Raleway,sans-serif!important;font-weight:700!important}.acc-font-bold a,.acc-font-bold abbr,.acc-font-bold acronym,.acc-font-bold address,.acc-font-bold applet,.acc-font-bold big,.acc-font-bold blockquote,.acc-font-bold caption,.acc-font-bold cite,.acc-font-bold code,.acc-font-bold dd,.acc-font-bold del,.acc-font-bold dfn,.acc-font-bold div,.acc-font-bold dl,.acc-font-bold dt,.acc-font-bold em,.acc-font-bold fieldset,.acc-font-bold font,.acc-font-bold form,.acc-font-bold h1,.acc-font-bold h2,.acc-font-bold h3,.acc-font-bold h4,.acc-font-bold h5,.acc-font-bold h6,.acc-font-bold iframe,.acc-font-bold ins,.acc-font-bold kbd,.acc-font-bold label,.acc-font-bold legend,.acc-font-bold li,.acc-font-bold object,.acc-font-bold ol,.acc-font-bold p,.acc-font-bold pre,.acc-font-bold q,.acc-font-bold s,.acc-font-bold samp,.acc-font-bold acblty-plugin,.acc-font-bold small,.acc-font-bold span,.acc-font-bold strike,.acc-font-bold strong,.acc-font-bold sub,.acc-font-bold sup,.acc-font-bold table,.acc-font-bold tbody,.acc-font-bold td,.acc-font-bold tfoot,.acc-font-bold th,.acc-font-bold thead,.acc-font-bold tr,.acc-font-bold tt,.acc-font-bold ul,.acc-font-bold var{font-weight:700!important}.acc-font-bold .acs_control_sec abbr,.acc-font-bold .acs_control_sec acronym,.acc-font-bold .acs_control_sec address,.acc-font-bold .acs_control_sec applet,.acc-font-bold .acs_control_sec big,.acc-font-bold .acs_control_sec blockquote,.acc-font-bold .acs_control_sec caption,.acc-font-bold .acs_control_sec cite,.acc-font-bold .acs_control_sec code,.acc-font-bold .acs_control_sec dd,.acc-font-bold .acs_control_sec del,.acc-font-bold .acs_control_sec dfn,.acc-font-bold .acs_control_sec div,.acc-font-bold .acs_control_sec dl,.acc-font-bold .acs_control_sec dt,.acc-font-bold .acs_control_sec em,.acc-font-bold .acs_control_sec fieldset,.acc-font-bold .acs_control_sec font,.acc-font-bold .acs_control_sec form,.acc-font-bold .acs_control_sec iframe,.acc-font-bold .acs_control_sec ins,.acc-font-bold .acs_control_sec kbd,.acc-font-bold .acs_control_sec label,.acc-font-bold .acs_control_sec legend,.acc-font-bold .acs_control_sec li,.acc-font-bold .acs_control_sec object,.acc-font-bold .acs_control_sec ol,.acc-font-bold .acs_control_sec p,.acc-font-bold .acs_control_sec pre,.acc-font-bold .acs_control_sec acblty-plugin,.acc-font-bold .acs_control_sec small,.acc-font-bold .acs_control_sec span,.acc-font-bold .acs_control_sec strike,.acc-font-bold .acs_control_sec sub,.acc-font-bold .acs_control_sec sup,.acc-font-bold .acs_control_sec table,.acc-font-bold .acs_control_sec tbody,.acc-font-bold .acs_control_sec td,.acc-font-bold .acs_control_sec tfoot,.acc-font-bold .acs_control_sec th,.acc-font-bold .acs_control_sec thead,.acc-font-bold .acs_control_sec tr,.acc-font-bold .acs_control_sec tt,.acc-font-bold .acs_control_sec ul,.acc-font-bold .acs_control_sec var,.acc-font-bold q,.acc-font-bold s,.acc-font-bold samp,.acc-font-bold strong{font-weight:initial!important}.acc-highlighted-link a{outline:2px dashed #0045e2;position:relative;outline-offset:3px}.acc-highlighted-link a:before{left:-4px;bottom:-4px;border-left:2px dashed #0045e2;border-bottom:2px dashed #0045e2;transition:all .6s ease}.acc-highlighted-link a:after{right:-4px;top:-4px;border-right:2px dashed #0045e2;border-top:2px dashed #0045e2;transition:all .6s ease}.acc-bg-black.acc-highlighted-link a:after,.acc-bg-black.acc-highlighted-link a:before{border-color:#fffa14}.acc-highlighted-link .acs_control_sec a{outline:0}.acc-highlighted-link .acs_control_sec a:after,.acc-highlighted-link .acs_control_sec a:before{border:none}.acc-initialized .main-acblty a{position:relative}.acc-initialized .main-acblty a:after,.acc-initialized .main-acblty a:before{position:absolute;content:"";transition:all .8s ease;-webkit-transition:all .8s ease;width:0;height:0;overflow:hidden}.acc-initialized h1::after,.acc-initialized h2::after,.acc-initialized h3::after,.acc-initialized h4::after,.acc-initialized h5::after,.acc-initialized h6::after{content:"";position:absolute;height:2px;width:0%;background:#0045e2;transition:all .6s ease;-webkit-transition:all .6s ease;left:0;bottom:-5px}.acs_control_sec h1::after,.acs_control_sec h2::after,.acs_control_sec h3::after,.acs_control_sec h4::after,.acs_control_sec h5::after,.acs_control_sec h6::after{height:0}.acc-highlighted-title h1,.acc-highlighted-title h2,.acc-highlighted-title h3,.acc-highlighted-title h4,.acc-highlighted-title h5,.acc-highlighted-title h6,.acc-initialized h1,.acc-initialized h2,.acc-initialized h3,.acc-initialized h4,.acc-initialized h5,.acc-initialized h6{width:fit-content;width:-moz-fit-content;position:relative}.acc-initialized.acc-highlighted-title h1::after,.acc-initialized.acc-highlighted-title h2::after,.acc-initialized.acc-highlighted-title h3::after,.acc-initialized.acc-highlighted-title h4::after,.acc-initialized.acc-highlighted-title h5::after,.acc-initialized.acc-highlighted-title h6::after{width:100%}.acc-highlighted-title .acs_control_sec h1,.acc-highlighted-title .acs_control_sec h2,.acc-highlighted-title .acs_control_sec h3,.acc-highlighted-title .acs_control_sec h4,.acc-highlighted-title .acs_control_sec h5,.acc-highlighted-title .acs_control_sec h6{border:0 dotted transparent}body.acc-reader #acc-reader-container,body.acc-reader #acc-reader-container ol li,body.acc-reader #acc-reader-container p,body.acc-reader #acc-reader-container ul li{font-family:Raleway,sans-serif!important;font-weight:500!important;line-height:1.6!important}body.acc-reader #acc-reader-container .reader-domain{padding:10px 4px 20px;border-bottom:1px solid #eaeaea!important;margin:40px 0 30px}body.acc-reader #acc-reader-container .reader-domain a{color:#005ed6}body.acc-reader.acc-bg-black #acc-reader-container .reader-domain{border-bottom:1px solid #fffa2c!important}body.acc-reader.acc-bg-light #acc-reader-container .reader-domain{border-bottom:1px solid #e4d7b6!important}body.acc-reader.acc-bg-light #acc-reader-container .reader-domain a{color:#b98421}body.acc-reader.acc-bg-black #acc-reader-container .reader-domain a{color:#fffa2c!important}body.acc-reader #acc-reader-container img{max-width:100%}body.acc-reader #acc-reader-container,body.acc-reader #acc-reader-container h1,body.acc-reader #acc-reader-container h2,body.acc-reader #acc-reader-container h3,body.acc-reader #acc-reader-container h4,body.acc-reader #acc-reader-container h5,body.acc-reader #acc-reader-container h6{font-family:"Open Sans",sans-serif;font-weight:700}.removeImg{display:none!important}.addWhiteBg{background:#fff!important;color:#000}.addLightBg{background:#fafad2!important;color:#000}.addBlackBg{background:#000!important;color:#fff}.intiatespeech .talkify-highlight{transition:.3s;border:2px dashed transparent}.intiatespeech .talkify-highlight:hover{border-color:#0045e2}.pause,.play{transition:all .6s ease;-webkit-transition:all .6s ease}.play{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.pause{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.speech-0 .pause,.speech-1 .pause,.speech-3 .pause{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.speech-0 .play,.speech-1 .play,.speech-3 .play{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.speech-2 .play{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.speech-2 .pause{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.acs-magnifying-control{text-align:center;display:flex;align-items:center;justify-content:center}.acc-bg-black .acs-magnifying-control .acs-magnifying,.acc-bg-light .acs-magnifying-control .acs-magnifying,.acc-bg-white .acs-magnifying-control .acs-magnifying,.acs-magnifying-control .acs-magnifying{display:flex;width:110px;height:110px;text-align:center;background:#fff!important;border-radius:50%;line-height:110px;justify-content:center;align-items:center;box-shadow:1px 1.4px 5px 0 rgba(0,0,0,.05);border:1px solid #c5c5c5!important;padding:30px;border:1px solid #fff;transition:all .6s ease;-webkit-transition:all .6s ease;cursor:pointer;position:relative}.acs-magnifying-control .acs-magnifying span{line-height:1;position:absolute;display:flex;width:100%;height:100%;left:0;right:0;top:0;bottom:0;align-items:center;justify-content:center}.acs-magnifying-control .acs-magnifying svg{transform:scale(.65);-webkit-transform:scale(.65);transition:all .6s ease;-webkit-transition:all .6s ease;fill:#0045e2;width:100%}.acs-magnifying-control .acs-magnifying span.pauseMag svg{padding:12px 5px;margin:17px 0 0 0}.acs-magnifying-control .acs-magnifying span.playMag svg{margin:-1px 0 0 0}.acs-magnifying-control .acs-magnifying:hover svg{transform:scale(.8);-webkit-transform:scale(.8)}.acs-magnifying-control .acs-magnifying svg path{fill:#0045e2;transition:all .6s ease;-webkit-transition:all .6s ease}.acc-blue-theme .acs-magnifying-control .acs-magnifying svg,.acc-blue-theme .acs-magnifying-control .acs-magnifying svg path,.acc-blue-theme .reset-button svg path{color:#fff!important;fill:#fff!important}.acc-blue-theme .acs-magnifying-control .acs-magnifying{background:0 0!important}.acc-initialized .pauseMag,.acc-initialized .playMag{transition:all .6s ease;-webkit-transition:all .6s ease}.acc-initialized .playMag{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.acc-initialized .pauseMag{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.acc-initialized .magnifying-0 .pauseMag,.acc-initialized .magnifying-1 .pauseMag{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.acc-initialized .magnifying-0 .playMag,.acc-initialized .magnifying-1 .playMag{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.pauseMag,.playMag{transition:all .6s ease;-webkit-transition:all .6s ease}.playMag{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.pauseMag{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.magnifying-0 .pauseMag,.magnifying-1 .pauseMag,.magnifying-3 .pauseMag{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.magnifying-0 .playMag,.magnifying-1 .playMag,.magnifying-3 .playMag{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.magnifying-2 .playMag{visibility:visible;opacity:1;transform:scale(1);-webkit-transform:scale(1)}.magnifying-2 .pauseMag{visibility:hidden;opacity:0;transform:scale(0);-webkit-transform:scale(0)}.magnifier{position:absolute;pointer-events:none;width:150px;height:150px;border:2px solid #000;border-radius:50%;background-color:rgba(255,255,255,.9);overflow:hidden;display:none;justify-content:center;align-items:center;box-shadow:0 0 10px rgba(0,0,0,.3)}.magnifier-text{font-size:2rem;font-weight:700;color:#333;text-align:center;white-space:nowrap}`;

document.head.appendChild(styleTag);
}

createContainer() {
const container = document.createElement('div');
container.id = "ada-widget";
container.innerHTML = `<div class="magnifier">
    <div class="magnifier-text"></div>
</div>
<div data-num="0" class="acc-client-752807 acc-initialized acc-blue-theme">
    <acblty-plugin class="main-acblty">
        <div class="acs_control_sec">
            <div class="ac_ctl_btn">
                <span class="ac_ctrl-open"></span>
                <span class="ac_anim_icon"></span>
                <span class="ac_ctrl-close"></span>
                <span class="explore">
                    <span class="exp_txt">Explore Accessibility Options </span>
                </span>
            </div>
            <div class="acc-controls-container">
                <div class="acc-controls-wrapper">
                    <h2>Accessibility</h2>
                    <div class="acs-controls-wrap">
                        <div class="acc-scroll-wrap"
                             style="position: relative; overflow: hidden; width: 100%; height: 100%;">
                            <div
                                    style="position: absolute; inset: 0px; overflow: scroll; margin-right: -17px; margin-bottom: -17px;">
                                <div class="acs-controls">
                                    <ul class="ctrl-lst acc-lst-font">
                                        <li class="txt-sm" id="decrease">A</li>
                                        <li class="txt-lg" id="increase">A<svg height="100%" preserveaspectratio="none" version="1.1"
                                                                               viewbox="0 0 16 16" width="100%" xmlns="http://www.w3.org/2000/svg">
                                                <circle cx="8" cy="8" r="7.585"></circle>
                                            </svg>
                                        </li>
                                        <li class="bg-txt" id="BoldFont">B</li>
                                    </ul>
                                    <ul class="ctrl-lst">
                                        <li class="acc-links" id="highlightAnchorTags">
                                            <svg height="35" viewbox="0 0 35 35" width="35" fill="#fff"
                                                 xmlns="http://www.w3.org/2000/svg">
                                                <path clip-rule="evenodd"
                                                      d="M28.686 18.7121L32.4329 14.9653C32.6372 14.7596 32.8313 14.544 33.0144 14.3192C36.0967 10.5352 35.5278 4.96899 31.7436 1.88677C28.1054 -0.910882 22.9534 -0.562375 19.7252 2.69976L16.1903 6.2345C14.1228 8.30456 14.1228 11.6581 16.1903 13.7281C16.8797 14.4134 17.993 14.4134 18.6824 13.7281L23.6842 8.79718C23.8222 8.57608 24.0073 8.38822 24.2264 8.24707C25.047 7.71841 26.1407 7.95502 26.6694 8.77555C27.1981 9.59608 26.9615 10.6898 26.1409 11.2185L21.1391 16.2201C20.4683 16.924 20.492 18.0375 21.1921 18.7121C23.2622 20.7796 26.6159 20.7796 28.686 18.7121ZM16.1903 21.1688C16.8797 20.4835 17.993 20.4835 18.6824 21.1688C20.7499 23.2388 20.7499 26.5923 18.6824 28.6624L14.9354 32.4092C14.7315 32.6133 14.5176 32.8074 14.2946 32.9906C10.5237 36.0889 4.95496 35.5438 1.8565 31.773C-0.922752 28.1176 -0.543852 22.9645 2.74022 19.7549L6.27506 16.2201C8.34519 14.1526 11.6988 14.1526 13.7689 16.2201C14.4542 16.9095 14.4542 18.0228 13.7689 18.7121L8.76713 23.7138C8.6076 23.8237 8.46723 23.9591 8.35165 24.1146C7.76929 24.898 7.93225 26.0051 8.71563 26.5874C9.49901 27.1697 10.6061 27.0068 11.1885 26.2234L16.1903 21.1688Z"
                                                      fill="#0045E2" fill-rule="evenodd"></path>
                                            </svg>
                                        </li>
                                        <li class="acc-headings" id="headingUnderline">H</li>
                                        <li class="acc-images" id="remove-images">
                                            <svg baseprofile="tiny" version="1.2" viewbox="0 0 24 24"
                                                 xmlns="http://www.w3.org/2000/svg">
                                                <path
                                                        d="M19,17H5c-1.103,0-2,0.897-2,2s0.897,2,2,2h14c1.103,0,2-0.897,2-2S20.103,17,19,17z">
                                                </path>
                                                <path
                                                        d="M19,10H5c-1.103,0-2,0.897-2,2s0.897,2,2,2h14c1.103,0,2-0.897,2-2S20.103,10,19,10z">
                                                </path>
                                                <path
                                                        d="M19,3H5C3.897,3,3,3.897,3,5s0.897,2,2,2h14c1.103,0,2-0.897,2-2S20.103,3,19,3z">
                                                </path>
                                            </svg>
                                        </li>
                                    </ul>
                                    <ul class="ctrl-lst acc-lst-bg">
                                        <li class="bg_white acc-color-changer" id="white"></li>
                                        <li class="bg_light acc-color-changer" id="light"></li>
                                        <li class="bg_black acc-color-changer" id="black"></li>
                                    </ul>
                                </div>
                                <div class="acs-audio-control" id="audioControl">
                                    <div class="acs-audio">
                                        <span class="play"><svg height="69" viewbox="0 0 68 69" width="68"
                                                                xmlns="http://www.w3.org/2000/svg">
                                                <path clip-rule="evenodd"
                                                      d="M0 60.8078L0.407834 8.06791C0.518177 3.50211 4.27363 -0.108873 8.79586 0.00250894C10.042 0.0332074 11.2647 0.350658 12.371 0.930677L63.5882 27.4551C67.5205 29.4305 69.1222 34.2503 67.1656 38.2206C66.3943 39.7856 65.1382 41.0537 63.5882 41.8324L11.8952 68.0823H11.8952C7.89142 70.167 2.97189 68.58 0.907126 64.5376C0.317823 63.3839 0.00699534 62.1059 9.78247e-07 60.8078L0 60.8078Z"
                                                      fill="#0045E2" fill-rule="evenodd"></path>
                                            </svg>
                                        </span>
                                        <span class="pause"><svg height="69" viewbox="0 0 38.96 51.39" width="68"
                                                                 xmlns="http://www.w3.org/2000/svg">
                                                <g>
                                                    <g>
                                                        <rect height="51.39" rx="3" width="14"></rect>
                                                        <rect height="51.39" rx="3" width="14" x="24.96"></rect>
                                                    </g>
                                                </g>
                                            </svg>
                                        </span>
                                    </div>
                                </div>

                                <div id="acc-talkify-audio-control"></div>

                                <div class="acs-magnifying-control" id="magnifyingControl">
                                    <div class="acs-magnifying">
                                      <span class="playMag">
                                        <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="110" height="110" fill="none">
  <circle cx="27" cy="27" r="16" stroke="white" stroke-width="4" />
  <line x1="38.6" y1="38.6" x2="54" y2="54" stroke="white" stroke-width="4" stroke-linecap="round" />
</svg>

                                      </span>
                                        <span class="pauseMag">
                                        <svg height="69" viewBox="0 0 38.96 51.39" width="68" xmlns="http://www.w3.org/2000/svg">
                                          <g>
                                            <g>
                                              <rect height="51.39" rx="3" width="14"></rect>
                                              <rect height="51.39" rx="3" width="14" x="24.96"></rect>
                                            </g>
                                          </g>
                                        </svg>
                                      </span>
                                    </div>
                                </div>

                                <div class="color-mode-wrap">
                                    <h4>Color Mode</h4>
                                    <div class="can-toggle can-toggle--size-large">
                                        <input id="color_mode" type="checkbox" checked>
                                        <label for="color_mode" id="change-theme-btn">
                                            <div class="can-toggle__switch" data-checked="On" data-unchecked="Off">
                                            </div>
                                            <div class="can-toggle__label-text"></div>
                                        </label>
                                    </div>
                                </div>
                            </div>
                            <div
                                    style="position: absolute; height: 6px; right: 2px; bottom: 2px; left: 2px; border-radius: 3px;">
                                <div
                                        style="position: relative; display: block; height: 100%; cursor: pointer; border-radius: inherit; background-color: rgba(0, 0, 0, 0.2); width: 0px;">
                                </div>
                            </div>
                            <div
                                    style="position: absolute; width: 6px; right: 2px; bottom: 2px; top: 2px; border-radius: 3px;">
                                <div
                                        style="position: relative; display: block; width: 100%; cursor: pointer; border-radius: inherit; background-color: rgba(0, 0, 0, 0.2); height: 0px;">
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="bottom-button-wrap">
                        <a class="disabled-link reset-button" id="reset-button" href="#">
                            <svg height="36" viewbox="0 0 53 36" width="53" xmlns="http://www.w3.org/2000/svg">
                                <path clip-rule="evenodd"
                                      d="M25.7271 0.411285C26.7536 -0.249256 28.1196 0.049877 28.7782 1.07942C29.0059 1.43525 29.1272 1.84898 29.1279 2.27175V13.3459L49.5102 0.411285C50.5034 -0.298583 51.8823 -0.0664904 52.5901 0.929678C52.8679 1.32072 53.0115 1.79173 52.9993 2.27175V33.7888C52.9973 35.012 52.0069 36.002 50.7874 36C50.3658 35.9993 49.9533 35.8776 49.5986 35.6493L29.2162 22.5596V33.7888C29.2142 35.012 28.2239 36.002 27.0043 36C26.5828 35.9993 26.1703 35.8776 25.8155 35.6493L1.01666 19.7689C-0.0100337 19.1087 -0.308715 17.7387 0.349541 16.709C0.526019 16.4329 0.761421 16.1996 1.03875 16.0259L25.7271 0.411285Z"
                                      fill="black" fill-rule="evenodd"></path>
                            </svg>
                        </a>
                        <a class="info-button" style="display:none;" href="#">
                            <svg height="30" viewbox="0 0 21 30" width="21" xmlns="http://www.w3.org/2000/svg">
                                <path clip-rule="evenodd"
                                      d="M7.55921 30H13.7515V24.1773H7.55921V30ZM0 9.67093H5.98525C5.98525 8.55618 6.31916 7.48163 6.98698 6.44729C7.65479 5.41294 8.78785 4.8958 10.3862 4.89589C12.0111 4.89589 13.1302 5.31564 13.7433 6.15516C14.3564 6.99467 14.6629 7.92483 14.6627 8.94565C14.6627 9.83212 14.3874 10.6447 13.8369 11.3835C13.5339 11.8135 13.1347 12.2097 12.6393 12.5722L11.1316 13.7207C9.64503 14.8489 8.7228 15.8462 8.3649 16.7126C8.007 17.579 7.78674 19.1471 7.70412 21.4171H13.3166C13.3302 20.3426 13.4197 19.5501 13.5851 19.0397C13.8467 18.2337 14.3768 17.5285 15.1756 16.924L16.6417 15.816C18.1291 14.6877 19.1342 13.7609 19.6573 13.0356C20.5525 11.8403 21 10.3695 21 8.62319C21 5.77584 19.9679 3.62679 17.9038 2.17603C15.8397 0.725282 13.2475 -6.24543e-05 10.1273 0C7.75248 0 5.7505 0.510439 4.12141 1.53132C1.53942 3.1299 0.165608 5.8431 0 9.67093Z"
                                      fill="white" fill-rule="evenodd">
                                </path>
                            </svg>
                        </a>
                    </div>
                </div>
                <div class="acs-help-lst">
                    <h2>Guide</h2>
                    <div class="acc-scroll-wrap"
                         style="position: relative; overflow: hidden; width: 100%; height: 100%;">
                        <div
                                style="position: absolute; inset: 0px; overflow: scroll; margin-right: -17px; margin-bottom: -17px;">
                            <ul class="acs-bg-blue">
                                <li>
                                    <span class="acs-icon acs-icon-text"></span>
                                    <h4>Text Size</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-bold"></span>
                                    <h4>Bold Font</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-links"></span>
                                    <h4>Links</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-titles"></span>
                                    <h4>Titles</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-reader"></span>
                                    <h4>Reader</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-colors"></span>
                                    <h4>Colors</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-play"></span>
                                    <h4>Play</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-mode"></span>
                                    <h4>Mode</h4>
                                </li>
                                <li>
                                    <span class="acs-icon acs-icon-reset"></span>
                                    <h4>Reset</h4>
                                </li>
                            </ul>
                        </div>
                        <div
                                style="position: absolute; height: 6px; right: 2px; bottom: 2px; left: 2px; border-radius: 3px;">
                            <div
                                    style="position: relative; display: block; height: 100%; cursor: pointer; border-radius: inherit; background-color: rgba(0, 0, 0, 0.2); width: 0px;">
                            </div>
                        </div>
                        <div
                                style="position: absolute; width: 6px; right: 2px; bottom: 2px; top: 2px; border-radius: 3px;">
                            <div
                                    style="position: relative; display: block; width: 100%; cursor: pointer; border-radius: inherit; background-color: rgba(0, 0, 0, 0.2); height: 0px;">
                            </div>
                        </div>
                    </div>
                    <a class="close-info close ac_ctl_btn" href="#">Close</a>
                </div>
            </div>
        </div>
    </acblty-plugin>
</div>`;

document.body.appendChild(container);
document.body.classList.add('acc-initialized')
}

eventBindings() {
const openClosebtn = document.body.querySelector('#ada-widget .ac_ctl_btn');
openClosebtn.addEventListener('click', this.toggleOpenCloseBtn.bind(this));

document.querySelector('#ada-widget #increase').addEventListener('click', this.increaseFontSize.bind(this));
document.querySelector('#ada-widget #decrease').addEventListener('click', this.decreaseFontSize.bind(this));
document.querySelector('#ada-widget #BoldFont').addEventListener('click', this.boldFont.bind(this));
document.querySelector('#ada-widget #highlightAnchorTags').addEventListener('click', this.highlightedLinkFont.bind(this));
document.querySelector('#ada-widget #headingUnderline').addEventListener('click', this.highlightTitle.bind(this));
document.querySelector('#ada-widget #remove-images').addEventListener('click', this.RemoveImages.bind(this));
document.querySelector('#ada-widget #white').addEventListener('click', this.ChangeBgColorToWhite.bind(this));
document.querySelector('#ada-widget #light').addEventListener('click', this.ChangeBgColorToLight.bind(this));
document.querySelector('#ada-widget #black').addEventListener('click', this.ChangeBgColorToBlack.bind(this));
document.querySelector('#ada-widget #audioControl').addEventListener('click', this.ToggleAudio.bind(this));
document.querySelector('#ada-widget #magnifyingControl').addEventListener('click', this.ToggleMagnifying.bind(this));
document.querySelector('#ada-widget #reset-button').addEventListener('click', this.ResettoDefault.bind(this));
document.querySelector('#ada-widget #change-theme-btn').addEventListener('click', this.changeTheme.bind(this));
document.addEventListener("mouseover", this.getTheDomElementText.bind(this));


const magnifier = document.querySelector('.magnifier');
const magnifierText = document.querySelector('.magnifier-text');
const playButton = document.querySelector('.playMag');
const pauseButton = document.querySelector('.pauseMag');

let isMagnifierActive = false;

// Toggle magnifier activation
const toggleMagnifier = () => {
isMagnifierActive = !isMagnifierActive;

if (isMagnifierActive) {
playButton.style.display = 'none';
pauseButton.style.display = 'block';
} else {
playButton.style.display = 'block';
pauseButton.style.display = 'none';
magnifier.style.display = 'none'; // Ensure magnifier is hidden
}
};

playButton.addEventListener('click', toggleMagnifier);
pauseButton.addEventListener('click', toggleMagnifier);

document.body.addEventListener('mousemove', (event) => {
if (!isMagnifierActive) return; // Exit if magnifier is deactivated

const target = document.elementFromPoint(event.clientX, event.clientY);

// Ensure the target is a valid text-containing node
if (target && target.nodeType === 1 && target !== magnifier) {
const caretRange = document.caretRangeFromPoint
? document.caretRangeFromPoint(event.clientX, event.clientY)
: document.caretPositionFromPoint(event.clientX, event.clientY);

if (caretRange && caretRange.startContainer.nodeType === 3) {
const textNode = caretRange.startContainer;
const hoveredText = textNode.textContent;

// Extract the word under the mouse pointer
const offset = caretRange.startOffset;
const words = hoveredText.split(/\s+/);
let wordUnderPointer = '';

// Find the word at the caret position
let charCount = 0;
for (let word of words) {
charCount += word.length + 1; // +1 for the space
if (offset < charCount) {
wordUnderPointer = word;
break;
}
}

if (wordUnderPointer) {
magnifierText.textContent = wordUnderPointer;

// Update magnifier position
magnifier.style.left = `${event.pageX - magnifier.offsetWidth / 2}px`;
magnifier.style.top = `${event.pageY - magnifier.offsetHeight / 2}px`;
magnifier.style.display = 'flex';
return;
}
}
}

// Hide the magnifier if no valid text is detected
magnifier.style.display = 'none';
});

document.body.addEventListener('mouseleave', () => {
magnifier.style.display = 'none';
});
}

toggleOpenCloseBtn(event) {
event.preventDefault();
const buttonCont = event.currentTarget.closest('.ac_ctl_btn');
if (buttonCont.classList.contains('close')) {
buttonCont.classList.remove('close');
buttonCont.parentNode.classList.remove('control-open', 'ac-open')
} else {
buttonCont.classList.add('close');
buttonCont.parentElement.classList.add('control-open', 'ac-open')
}
}

increaseFontSize(event) {
if (this.fontSizeStep < this.maxFontSizeStep) {
if (!event.currentTarget.closest('#increase').classList.contains('active'))
event.currentTarget.closest('#increase').classList.add('active')
document.body.classList.remove('acc-font-' + this.fontSizeStep + 'x')
this.fontSizeStep++;
document.body.classList.add('acc-font-' + this.fontSizeStep + 'x')

const self = this;
let headings = document.querySelectorAll('h1, h2, h3, h4, h5, h6, p, div, td, li, a');
let filtered = [];

headings.forEach(item => {
if (!item.closest('#ada-widget')) {
if (!item.hasAttribute('data-act-size')) {
let size = window.getComputedStyle(item).getPropertyValue('font-size').replace('px', '');
item.setAttribute('data-act-size', size)
}
filtered.push(item)
}
});

filtered.forEach(item => {
let size = item.style.fontSize ? item.style.fontSize : item.getAttribute('data-act-size');
item.style.fontSize = (parseFloat(size) + self.incrementFontSize) + "px";
})
}
}

decreaseFontSize(event) {
if (this.fontSizeStep >= 1) {
document.body.classList.remove('acc-font-' + this.fontSizeStep + 'x')
this.fontSizeStep--;
if (this.fontSizeStep > 0)
document.body.classList.add('acc-font-' + this.fontSizeStep + 'x')
else if (event.currentTarget.closest('.ctrl-lst').querySelector('#increase').classList.contains('active'))
event.currentTarget.closest('.ctrl-lst').querySelector('#increase').classList.remove('active')

const self = this;
let headings = document.querySelectorAll('h1, h2, h3, h4, h5, h6, p, div, td, li, a');

headings.forEach(item => {
if (!item.closest('#ada-widget')) {
let size = window.getComputedStyle(item).getPropertyValue('font-size').replace('px', '');

if (this.fontSizeStep == 0)
item.style.fontSize = parseFloat(item.getAttribute('data-act-size')) + 'px';
else
item.style.fontSize = (parseFloat(size) - self.incrementFontSize) + "px";
}
});
}
}

boldFont(event) {
this.isFontBold = !this.isFontBold
if (this.isFontBold) {
event.currentTarget.classList.add('active')
document.body.classList.add('acc-font-bold')
} else {
event.currentTarget.classList.remove('active')
document.body.classList.remove('acc-font-bold')
}
}

highlightedLinkFont(event) {
this.isLinkHighlighted = !this.isLinkHighlighted
if (this.isLinkHighlighted) {
event.currentTarget.classList.add('active')
document.body.classList.add('acc-highlighted-link')
} else {
event.currentTarget.classList.remove('active')
document.body.classList.remove('acc-highlighted-link')
}
}

highlightTitle(event) {
this.isTitleHighlighted = !this.isTitleHighlighted
if (this.isTitleHighlighted) {
event.currentTarget.classList.add('active')
document.body.classList.add('acc-highlighted-title')
} else {
event.currentTarget.classList.remove('active')
document.body.classList.remove('acc-highlighted-title')
}
}

RemoveImages(event) {
this.isRemoveImages = !this.isRemoveImages
if (this.isRemoveImages)
event.currentTarget.classList.add('active')
else
event.currentTarget.classList.remove('active')


var imgs = document.getElementsByTagName('img');
for (let index = 0; index < imgs.length; index++) {
if (imgs[index].classList.contains('removeImg')) {
imgs[index].classList.remove('removeImg');
} else {
imgs[index].classList.add('removeImg');
}
}
var allElements = document.querySelectorAll('div, acblty-plugin, header, footer');

for (var i = 0, length = allElements.length; i < length; i++) {
if (allElements[i].classList.contains('removeBgImg')) {
allElements[i].classList.remove('removeBgImg');
} else {

allElements[i].classList.add('removeBgImg');
}
}
}

ChangeBgColorToWhite(event) {
var body = document.body;

this.removeColorChangerActive()

if (body.classList.contains('addLightBg')) {
body.classList.remove('addLightBg');
}
if (body.classList.contains('addBlackBg')) {
body.classList.remove('addBlackBg');
}

if (body.classList.contains('addWhiteBg')) {
body.classList.remove('addWhiteBg')
} else {
event.currentTarget.classList.add('active')
body.classList.add('addWhiteBg');
}
}

ChangeBgColorToLight(event) {
var body = document.body;

this.removeColorChangerActive()

if (body.classList.contains('addWhiteBg')) {
body.classList.remove('addLightBg');
}
if (body.classList.contains('addBlackBg')) {
body.classList.remove('addBlackBg');
}

if (body.classList.contains('addLightBg')) {
body.classList.remove('addLightBg')
} else {
event.currentTarget.classList.add('active')
body.classList.add('addLightBg');
}
}

ChangeBgColorToBlack(event) {
var body = document.body;

this.removeColorChangerActive()

if (body.classList.contains('addLightBg')) {
body.classList.remove('addLightBg');
}
if (body.classList.contains('addWhiteBg')) {
body.classList.remove('addWhiteBg');
}

if (body.classList.contains('addBlackBg')) {
body.classList.remove('addBlackBg')
} else {
event.currentTarget.classList.add('active')
body.classList.add('addBlackBg');
}
}

removeColorChangerActive() {
const sel = document.body.getElementsByClassName('acc-color-changer')
for (let i = 0; i < sel.length; i++) {
sel[i].classList.remove('active')
}
}

ControlAudio(text) {

this.cancelAudio();
this.speechCont = new SpeechSynthesisUtterance();

// var theText = this.getVisibleText(document.body);
var theText = text;
var allText = theText.replace(/^\s+|\s+$/gm, '');
this.speechCont.text = allText;

this.speechCont.volume = 1;
this.speechCont.rate = 1;
this.speechCont.pitch = 1;
this.speechCont.lang = "en";


window.speechSynthesis.speak(this.speechCont);


//  else {

//     if (window.speechSynthesis.paused) {
//         document.body.classList.remove('speech-2')
//         document.body.classList.add('intiatespeech', 'speech-3')
//         window.speechSynthesis.resume();
//     }
//     else {
//         document.body.classList.remove('speech-3')
//         document.body.classList.add('intiatespeech', 'speech-2')
//         window.speechSynthesis.pause(this.speechCont);
//     }
// }
}

ToggleAudio() {
this.audioFunc = !this.audioFunc;
document.body.classList.remove('speech-2')

if (this.audioFunc) {
document.body.classList.add('intiatespeech', 'speech-3')
} else {
this.cancelAudio();
document.body.classList.remove('intiatespeech', 'speech-3')
}
}

ToggleMagnifying() {
this.magFunc = !this.magFunc;
document.body.classList.remove('magnifying-2')

if (this.magFunc) {
document.body.classList.add('intiatemagnifying', 'magnifying-3')
} else {
this.cancelAudio();
document.body.classList.remove('intiatemagnifying', 'magnifying-3')
}
}

cancelAudio() {
window.speechSynthesis.cancel(this.speechCont)
}

changeTheme(event) {
this.isWhiteTheme = !this.isWhiteTheme
document.querySelector('#ada-widget #color_mode').checked = this.isWhiteTheme
if (this.isWhiteTheme)
document.querySelector('#ada-widget > div').classList.remove('acc-blue-theme')
else
document.querySelector('#ada-widget > div').classList.add('acc-blue-theme')
}

ResettoDefault(event) {
event.preventDefault()

// audio reset
document.body.classList.remove('speech-3')
document.body.classList.add('intiatespeech', 'speech-2')
window.speechSynthesis.pause(this.speechCont);

// color reset
this.removeColorChangerActive()
document.body.classList.remove('addLightBg', 'addBlackBg');
document.body.classList.add('addWhiteBg');

// reset remove images
this.isRemoveImages = false
document.querySelector('#ada-widget #remove-images').classList.remove('active')
var imgs = document.getElementsByTagName('img');
for (let index = 0; index < imgs.length; index++) {
imgs[index].classList.remove('removeImg');
}
var allElements = document.querySelectorAll('div, acblty-plugin, header, footer');

for (var i = 0, length = allElements.length; i < length; i++) {
allElements[i].classList.remove('removeBgImg');
}

// reset highlight title
this.isTitleHighlighted = false;
document.querySelector('#ada-widget #headingUnderline').classList.remove('active')
document.body.classList.remove('acc-highlighted-title')

// reset highlighted link
this.isLinkHighlighted = false
document.querySelector('#ada-widget #highlightAnchorTags').classList.remove('active')
document.body.classList.remove('acc-highlighted-link')

// reset bold font
this.isFontBold = false
document.querySelector('#ada-widget #BoldFont').classList.remove('active')
document.body.classList.remove('acc-font-bold')

// reset font size
document.querySelector('#ada-widget #increase').classList.remove('active')
document.body.classList.remove('acc-font-' + this.fontSizeStep + 'x')
this.fontSizeStep = 0

const self = this;
let headings = document.querySelectorAll('h1, h2, h3, h4, h5, h6, p, div, td, li, a');

headings.forEach(item => {
if (!item.closest('#ada-widget')) {
item.style.fontSize = parseFloat(item.getAttribute('data-act-size')) + 'px';
}
});

}

getVisibleText(element) {
window.getSelection().removeAllRanges();

let range = document.createRange();
range.selectNode(element);
window.getSelection().addRange(range);

let visibleText = window.getSelection().toString().trim();
window.getSelection().removeAllRanges();

return visibleText;
}

getTheDomElementText(event) {
//Checked the play button
if (this.audioFunc) {
let acceptElements = ['p', 'span', 'li', 'b', 'i', 'a', 'small', 'button', 'td', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'u'];

if (
acceptElements.indexOf(event.target.localName) != -1
) {
// const nodeList = document.querySelectorAll("*");
// for (let i = 0; i < nodeList.length; i++) {
//     nodeList[i].classList.remove('current');
// }
// event.target.classList.add('current')


if (event.target.innerText != '') {
this.ControlAudio(event.target.innerText)
}
}
}

}
}

new Widget1();