System.register(["./p-fa844f8f.system.js"],function(e){"use strict";var t,r,n,i,a;return{setters:[function(e){t=e.r;r=e.c;n=e.h;i=e.H;a=e.g}],execute:function(){var o=function(){function e(e){t(this,e);this.change=r(this,"change",7)}e.prototype.componentDidLoad=function(){var e=this;var t=this.host.querySelector("materials-radio[checked]");this.value=t?t.value:null;this.materialsRadioNodes=Array.from(this.host.querySelectorAll("materials-radio"));this.materialsRadioNodes.forEach(function(t){t.addEventListener("change",function(t){return e.handleEvent(t)})})};e.prototype.handleEvent=function(e){e.stopPropagation();this.value=e.detail;this.cleanNeighbors(this.value);this.change.emit(this.value)};e.prototype.cleanNeighbors=function(e){this.materialsRadioNodes.filter(function(t){return!e||t.value!==e}).forEach(function(e){return e.checked=false})};e.prototype.render=function(){return n(i,{class:{linebreak:this.linebreak}},this.label&&n("span",null,this.label),n("slot",null))};Object.defineProperty(e.prototype,"host",{get:function(){return a(this)},enumerable:true,configurable:true});Object.defineProperty(e,"style",{get:function(){return":host linebreak{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column}"},enumerable:true,configurable:true});return e}();e("materials_radio_group",o)}}});