window.es={};vartransform,__awaiter=this&&this.__awaiter||function(t,e,n,i){returnnew(n||(n=Promise))(function(r,o){functions(t){try{c(i.next(t))}catch(t){o(t)}}functiona(t){try{c(i.throw(t))}catch(t){o(t)}}functionc(t){t.done?r(t.value):newn(function(e){e(t.value)}).then(s,a)}c((i=i.apply(t,e||[])).next())})},__generator=this&&this.__generator||function(t,e){varn,i,r,o,s={label:0,sent:function(){if(1&r[0])throwr[1];returnr[1]},trys:[],ops:[]};returno={next:a(0),throw:a(1),return:a(2)},"function"==typeofSymbol&&(o[Symbol.iterator]=function(){returnthis}),o;functiona(o){returnfunction(a){returnfunction(o){if(n)thrownewTypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=2&o[0]?i.return:o[0]?i.throw||((r=i.return)&&r.call(i),0):i.next)&&!(r=r.call(i,o[1])).done)returnr;switch(i=0,r&&(o=[2&o[0],r.value]),o[0]){case0:case1:r=o;break;case4:returns.label++,{value:o[1],done:!1};case5:s.label++,i=o[1],o=[0];continue;case7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]<r[3])){s.label=o[1];break}if(6===o[0]&&s.label<r[1]){s.label=r[1],r=o;break}if(r&&s.label<r[2]){s.label=r[2],s.ops.push(o);break}r[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(t){o=[6,t],i=0}finally{n=r=0}if(5&o[0])throwo[1];return{value:o[0]?o[1]:void0,done:!0}}([o,a])}}};window.__extends=this&&this.__extends||function(){vart=Object.setPrototypeOf||{__proto__:[]}instanceofArray&&function(t,e){t.__proto__=e}||function(t,e){for(varnine)e.hasOwnProperty(n)&&(t[n]=e[n])};returnfunction(e,n){functioni(){this.constructor=e}t(e,n),e.prototype=null===n?Object.create(n):(i.prototype=n.prototype,newi)}}(),Array.prototype.findIndex=function(t){returnfunction(t,e){for(varn=0,i=t.length;n<i;n++)if(e.call(arguments[2],t[n],n,t))returnn;return-1}(this,t)},Array.prototype.any=function(t){returnfunction(t,e){returnt.findIndex(e)>-1}(this,t)},Array.prototype.firstOrDefault=function(t){returnfunction(t,e){varn=t.findIndex(e);return-1==n?null:t[n]}(this,t)},Array.prototype.find=function(t){returnfunction(t,e){returnt.firstOrDefault(e)}(this,t)},Array.prototype.where=function(t){returnfunction(t,e){if("function"==typeoft.reduce)returnt.reduce(function(n,i,r){returne.call(arguments[2],i,r,t)&&n.push(i),n},[]);for(varn=[],i=0,r=t.length;i<r;i++){varo=t[i];e.call(arguments[2],o,i,t)&&n.push(o)}returnn}(this,t)},Array.prototype.count=function(t){returnfunction(t,e){returnt.where(e).length}(this,t)},Array.prototype.findAll=function(t){returnfunction(t,e){returnt.where(e)}(this,t)},Array.prototype.contains=function(t){returnfunction(t,e){for(varn=0,i=t.length;n<i;n++)if(t[n]==e)return!0;return!1}(this,t)},Array.prototype.removeAll=function(t){!function(t,e){varn;do{(n=t.findIndex(e))>=0&&t.splice(n,1)}while(n>=0)}(this,t)},Array.prototype.remove=function(t){returnfunction(t,e){varn=t.findIndex(function(t){returnt===e});returnn>=0&&(t.splice(n,1),!0)}(this,t)},Array.prototype.removeAt=function(t){returnfunction(t,e){t.splice(e,1)}(this,t)},Array.prototype.removeRange=function(t,e){returnfunction(t,e,n){t.splice(e,n)}(this,t,e)},Array.prototype.select=function(t){returnfunction(t,e){if("function"==typeoft.reduce)returnt.reduce(function(n,i,r){returnn.push(e.call(arguments[2],i,r,t)),n},[]);for(varn=[],i=0,r=t.length;i<r;i++)n.push(e.call(arguments[2],t[i],i,t));returnn}(this,t)},Array.prototype.orderBy=function(t,e){returnfunction(t,e,n){returnt.sort(function(t,i){varr=e(t),o=e(i);returnn?n(r,o):r>o?1:-1}),t}(this,t,e)},Array.prototype.orderByDescending=function(t,e){returnfunction(t,e,n){returnt.sort(function(t,i){varr=e(t),o=e(i);returnn?-n(r,o):r<o?1:-1}),t}(this,t,e)},Array.prototype.groupBy=function(t){returnfunction(t,e){if("function"==typeoft.reduce){varn=[];returnt.reduce(function(i,r,o){vars=JSON.stringify(e.call(arguments[1],r,o,t)),a=n.findIndex(function(t){returnt===s});returna<0&&(a=n.push(s)-1),i[a]||(i[a]=[]),i[a].push(r),i},[])}for(vari=[],r=[],o=function