!function(){function e(e){return function(e){if(Array.isArray(e))return n(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(e,n){(null==n||n>e.length)&&(n=e.length);for(var t=0,r=new Array(n);t<n;t++)r[t]=e[t];return r}var t=document.createElement("style");t.innerHTML="._toolbarMenuIconItem_6cejb_1{width:43px;padding:0!important}._localeTabPane_6cejb_5{border:none!important;padding:2px!important;margin-bottom:0!important}._localeTabPane_6cejb_5>:last-child{margin-bottom:0!important}\n",document.head.appendChild(t),System.register(["./vendor-legacy.046e8265.js","./index-legacy.b746a8e2.js"],(function(n){"use strict";var t,r,a,o,c,i,l,u;return{setters:[function(e){t=e.j,r=e._,a=e.h,o=e.M,c=e.$,i=e.D},function(e){l=e.u,u=e.i}],execute:function(){var m="_toolbarMenuIconItem_6cejb_1",s="_localeTabPane_6cejb_5";n("L",(function(n){var d=l("language");return t(r,{className:n.className,activeIndex:n.locales.indexOf(n.activeLocale),onTabChange:function(e,t){var r=t.activeIndex;return r!==n.locales.length&&n.onSetActiveLocale(n.locales[r])},menu:{pointing:!0},panes:[].concat(e(n.locales.map((function(e,r){return{menuItem:a(o.Item,{children:[t(c,{name:u[e].flag}),d(".".concat(e))]},e),pane:{key:e,className:s,content:n.item(e,0===r,1===n.locales.length)}}}))),[{menuItem:t(i,{item:!0,icon:"add",active:"",disabled:n.locales.length===Object.keys(u).length,className:"icon ".concat(m),children:t(i.Menu,{children:Object.keys(u).filter((function(e){return!n.locales.includes(e)})).map((function(e){return t(i.Item,{flag:u[e].flag,text:d(".".concat(e)),onClick:function(){return n.onAddLocale(e)}},e)}))})},"add"),pane:{key:"add",content:null}}]),renderActiveOnly:!1})}))}}}))}();
