text: function initializeOptionsEditor(t,e,u,l,r){new Vue({components:{optionsTable:{name:"options-table",template:"#options-table",props:["data","defaultValue","selectedValue","list"],data:function(){return{defaultCulture:this.defaultValue,selectedCulture:void 0!==this.selectedValue?this.selectedValue:l,allCultures:this.list}},methods:{add:function(){if(!this.data.includes(this.selectedCulture)){this.data.push(this.selectedCulture);var t=this.selectedCulture,e=this.allCultures.filter((function(e){return e.Name==t}));e.length>0&&(e[0].Supported=!0);var u=this.allCultures.filter((function(t){return 0==t.Supported}));u.length>0&&(this.selectedCulture=u[0].Name)}},remove:function(t){var e=this.data[t];cultureRemoved=this.list.filter((function(t){return t.Name==e})),cultureRemoved.length>0&&(cultureRemoved[0].Supported=!1),this.data.splice(t,1);var u=this.allCultures.filter((function(t){return 0==t.Supported}));u.length>0&&(this.selectedCulture=u[0].Name)},getSupportedCultures:function(){return JSON.stringify(this.data)},getDefaultCulture:function(){var t=u;return null!=this.defaultCulture&&(t=this.defaultCulture),t},getAllCultures:function(){return this.AllCultures}}}},data:{allCultures:r,supportedCultures:e,defaultCulture:u,selectedCulture:l},el:t})}
  