/*!*  filename: sf-switch.min.js 
*     version : 33.2.6 
*     Copyright Syncfusion Inc. 2001 - 2026. All rights reserved. 
*     Use of this code is subject to the terms of our license.
*     A copy of the current license can be obtained at any time by e-mailing 
*     licensing@syncfusion.com. Any infringement will be prosecuted under 
*     applicable laws. 
*/
(window.webpackJsonp=window.webpackJsonp||[]).push([[72],{"./bundles/sf-switch.js":function(e,n,t){"use strict";t.r(n);t("./modules/sf-switch.js")},"./modules/sf-switch.js":function(e,n){window.sfBlazor=window.sfBlazor||{},window.sfBlazor.Switch=function(){"use strict";var e=function(){function e(e,n){this.element=e,this.container=n,this.element.blazor_input_instance=this}return e.prototype.initialize=function(){sf.base.EventHandler.add(this.element,"focus",this.focusHandler,this),sf.base.EventHandler.add(this.element,"blur",this.blurHandler,this),this.container&&(sf.base.EventHandler.add(this.container,"keyup",this.keyUpHandler,this),sf.base.EventHandler.add(this.container,"mousedown",this.mouseDownHandler,this))},e.prototype.focusHandler=function(){this.container&&this.container.classList.add("e-focus")},e.prototype.keyUpHandler=function(e){this.container&&"Space"===e.code&&this.container.classList.remove("e-focus")},e.prototype.mouseDownHandler=function(){this.container&&this.container.classList.remove("e-focus")},e.prototype.blurHandler=function(){this.container&&this.container.classList.remove("e-focus")},e.prototype.destroy=function(){sf.base.EventHandler.remove(this.element,"focus",this.focusHandler),sf.base.EventHandler.remove(this.element,"blur",this.blurHandler),this.container&&(sf.base.EventHandler.remove(this.container,"keyup",this.keyUpHandler),sf.base.EventHandler.remove(this.container,"mousedown",this.mouseDownHandler))},e}();return{initialize:function(n,t){n&&(new e(n,t),n&&n.blazor_input_instance&&n.blazor_input_instance.initialize())},destroy:function(e){e&&e.blazor_input_instance&&e.blazor_input_instance.destroy()}}}()}}]);(async()=>{await import(`${document.baseURI}_content/Syncfusion.Blazor/scripts/syncfusion-blazor-base.min.js`).then(()=>{sfBlazor.loadDependencies('sfswitch');})})();