var __awaiter=this&&this.__awaiter||function(t,n,r,e){function i(t){return t instanceof r?t:new r((function(n){n(t)}))}return new(r||(r=Promise))((function(r,u){function c(t){try{o(e.next(t))}catch(t){u(t)}}function a(t){try{o(e["throw"](t))}catch(t){u(t)}}function o(t){t.done?r(t.value):i(t.value).then(c,a)}o((e=e.apply(t,n||[])).next())}))};var __generator=this&&this.__generator||function(t,n){var r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},e,i,u,c;return c={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(c[Symbol.iterator]=function(){return this}),c;function a(t){return function(n){return o([t,n])}}function o(a){if(e)throw new TypeError("Generator is already executing.");while(c&&(c=0,a[0]&&(r=0)),r)try{if(e=1,i&&(u=a[0]&2?i["return"]:a[0]?i["throw"]||((u=i["return"])&&u.call(i),0):i.next)&&!(u=u.call(i,a[1])).done)return u;if(i=0,u)a=[a[0]&2,u.value];switch(a[0]){case 0:case 1:u=a;break;case 4:r.label++;return{value:a[1],done:false};case 5:r.label++;i=a[1];a=[0];continue;case 7:a=r.ops.pop();r.trys.pop();continue;default:if(!(u=r.trys,u=u.length>0&&u[u.length-1])&&(a[0]===6||a[0]===2)){r=0;continue}if(a[0]===3&&(!u||a[1]>u[0]&&a[1]<u[3])){r.label=a[1];break}if(a[0]===6&&r.label<u[1]){r.label=u[1];u=a;break}if(u&&r.label<u[2]){r.label=u[2];r.ops.push(a);break}if(u[2])r.ops.pop();r.trys.pop();continue}a=n.call(t,r)}catch(t){a=[6,t];i=0}finally{e=u=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};System.register([],(function(t){"use strict";return{execute:function(){var n=this;var r=t("o",(function(t,n,r){if(typeof MutationObserver==="undefined"){return}var e=new MutationObserver((function(t){t=t.filter((function(t){return t.target.nodeName===n.toLocaleUpperCase()}));if(t.length>0){r()}}));e.observe(t,{childList:true,subtree:true,attributes:true,characterData:true});return e}));var e=t("r",(function(t,r){return __awaiter(n,void 0,void 0,(function(){var n,e,i,u,c,a;return __generator(this,(function(o){switch(o.label){case 0:n=Array.from(t.querySelectorAll(r));e=[];i=0,u=n;o.label=1;case 1:if(!(i<u.length))return[3,4];c=u[i];return[4,c.getLevelInfo()];case 2:a=o.sent();e.push(a);o.label=3;case 3:i++;return[3,1];case 4:return[2,e]}}))}))}))}}}));